12345678 |
- /**
- * @ag-grid-enterprise/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
- * @version v28.2.1
- * @link https://www.ag-grid.com/
- * @license Commercial
- */
- // @ag-grid-enterprise/all-modules v28.2.1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.agGrid=t():e.agGrid=t()}(window,(function(){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=215)}([function(e,t,r){"use strict";r.r(t),function(e){var o=r(194);r.d(t,"ColumnFactory",(function(){return o.a}));var n=r(117);r.d(t,"ColumnModel",(function(){return n.a}));var i=r(116);r.d(t,"ColumnKeyCreator",(function(){return i.a}));var a=r(119);r.d(t,"ColumnUtils",(function(){return a.a}));var s=r(120);r.d(t,"DisplayedGroupCreator",(function(){return s.a}));var l=r(118);r.d(t,"GroupInstanceIdCreator",(function(){return l.a}));var c=r(113);r.d(t,"ComponentUtil",(function(){return c.a}));var u=r(121);r.d(t,"AgStackComponentsRegistry",(function(){return u.a}));var p=r(112);r.d(t,"ColDefUtil",(function(){return p.a}));var d=r(191);r.d(t,"UserComponentRegistry",(function(){return d.a}));var g=r(130);r.d(t,"UserComponentFactory",(function(){return g.a}));var h=r(6);r.d(t,"BeanStub",(function(){return h.a}));var f=r(1);r.d(t,"Context",(function(){return f.c})),r.d(t,"Autowired",(function(){return f.a})),r.d(t,"PostConstruct",(function(){return f.e})),r.d(t,"PreConstruct",(function(){return f.f})),r.d(t,"Optional",(function(){return f.d})),r.d(t,"Bean",(function(){return f.b})),r.d(t,"Qualifier",(function(){return f.h})),r.d(t,"PreDestroy",(function(){return f.g}));var v=r(7);r.d(t,"QuerySelector",(function(){return v.a})),r.d(t,"RefSelector",(function(){return v.b}));var y=r(89);r.d(t,"ExcelFactoryMode",(function(){return y.a}));var m=r(20);r.d(t,"DragAndDropService",(function(){return m.a})),r.d(t,"DragSourceType",(function(){return m.b})),r.d(t,"HorizontalDirection",(function(){return m.c})),r.d(t,"VerticalDirection",(function(){return m.d}));var b=r(132);r.d(t,"DragService",(function(){return b.a}));var w=r(19);r.d(t,"Column",(function(){return w.a}));var C=r(33);r.d(t,"ColumnGroup",(function(){return C.a}));var O=r(31);r.d(t,"ProvidedColumnGroup",(function(){return O.a}));var S=r(22);r.d(t,"RowNode",(function(){return S.b})),r.d(t,"RowHighlightPosition",(function(){return S.a}));var E=r(133);r.d(t,"FilterManager",(function(){return E.a}));var x=r(62);r.d(t,"ProvidedFilter",(function(){return x.a}));var R=r(29);r.d(t,"SimpleFilter",(function(){return R.b}));var T=r(35);r.d(t,"ScalarFilter",(function(){return T.a}));var A=r(75);r.d(t,"NumberFilter",(function(){return A.a}));var P=r(64);r.d(t,"TextFilter",(function(){return P.a}));var _=r(74);r.d(t,"DateFilter",(function(){return _.a}));var D=r(123);r.d(t,"TextFloatingFilter",(function(){return D.a}));var M=r(134);r.d(t,"HeaderFilterCellComp",(function(){return M.a}));var N=r(131);r.d(t,"FloatingFilterMapper",(function(){return N.a}));var I=r(135);r.d(t,"GridBodyComp",(function(){return I.a}));var L=r(60);r.d(t,"GridBodyCtrl",(function(){return L.d})),r.d(t,"RowAnimationCssClasses",(function(){return L.e}));var k=r(137);r.d(t,"ScrollVisibleService",(function(){return k.a}));var F=r(138);r.d(t,"MouseEventService",(function(){return F.a}));var G=r(139);r.d(t,"NavigationService",(function(){return G.a}));var j=r(195);r.d(t,"RowContainerComp",(function(){return j.a}));var z=r(26);r.d(t,"RowContainerName",(function(){return z.b})),r.d(t,"RowContainerCtrl",(function(){return z.a})),r.d(t,"RowContainerType",(function(){return z.c})),r.d(t,"getRowContainerTypeForName",(function(){return z.d}));var B=r(142);r.d(t,"BodyDropPivotTarget",(function(){return B.a}));var V=r(143);r.d(t,"BodyDropTarget",(function(){return V.a}));var W=r(79);r.d(t,"CssClassApplier",(function(){return W.a}));var H=r(93);r.d(t,"HeaderRowContainerComp",(function(){return H.a}));var U=r(147);r.d(t,"GridHeaderComp",(function(){return U.a}));var K=r(148);r.d(t,"GridHeaderCtrl",(function(){return K.a}));var Y=r(40);r.d(t,"HeaderRowComp",(function(){return Y.a})),r.d(t,"HeaderRowType",(function(){return Y.b}));var X=r(94);r.d(t,"HeaderRowCtrl",(function(){return X.a}));var q=r(192);r.d(t,"HeaderCellCtrl",(function(){return q.a}));var Q=r(65);r.d(t,"SortIndicatorComp",(function(){return Q.a}));var Z=r(146);r.d(t,"HeaderFilterCellCtrl",(function(){return Z.a}));var J=r(193);r.d(t,"HeaderGroupCellCtrl",(function(){return J.a}));var $=r(56);r.d(t,"AbstractHeaderCellCtrl",(function(){return $.a}));var ee=r(145);r.d(t,"HeaderRowContainerCtrl",(function(){return ee.a}));var te=r(149);r.d(t,"HorizontalResizeService",(function(){return te.a}));var re=r(144);r.d(t,"MoveColumnFeature",(function(){return re.a}));var oe=r(150);r.d(t,"StandardMenuFactory",(function(){return oe.a}));var ne=r(206);r.d(t,"TabbedLayout",(function(){return ne.a}));var ie=r(207);r.d(t,"simpleHttpRequest",(function(){return ie.a}));var ae=r(151);r.d(t,"ResizeObserverService",(function(){return ae.a}));var se=r(152);r.d(t,"AnimationFrameService",(function(){return se.a}));var le=r(124);r.d(t,"LargeTextCellEditor",(function(){return le.a}));var ce=r(141);r.d(t,"PopupEditorWrapper",(function(){return ce.a}));var ue=r(125);r.d(t,"PopupSelectCellEditor",(function(){return ue.a}));var pe=r(126);r.d(t,"PopupTextCellEditor",(function(){return pe.a}));var de=r(76);r.d(t,"SelectCellEditor",(function(){return de.a}));var ge=r(71);r.d(t,"TextCellEditor",(function(){return ge.a}));var he=r(78);r.d(t,"Beans",(function(){return he.a}));var fe=r(127);r.d(t,"AnimateShowChangeCellRenderer",(function(){return fe.a}));var ve=r(128);r.d(t,"AnimateSlideCellRenderer",(function(){return ve.a}));var ye=r(114);r.d(t,"GroupCellRenderer",(function(){return ye.a}));var me=r(129);r.d(t,"GroupCellRendererCtrl",(function(){return me.a}));var be=r(66);r.d(t,"SetLeftFeature",(function(){return be.a}));var we=r(153);r.d(t,"PositionableFeature",(function(){return we.a}));var Ce=r(154);r.d(t,"AutoWidthCalculator",(function(){return Ce.a}));var Oe=r(77);r.d(t,"CheckboxSelectionComponent",(function(){return Oe.a}));var Se=r(140);r.d(t,"CellComp",(function(){return Se.a}));var Ee=r(43);r.d(t,"CellCtrl",(function(){return Ee.a}));var xe=r(47);r.d(t,"RowCtrl",(function(){return xe.a}));var Re=r(196);r.d(t,"RowRenderer",(function(){return Re.a}));var Te=r(155);r.d(t,"ValueFormatterService",(function(){return Te.a}));var Ae=r(122);r.d(t,"CssClassManager",(function(){return Ae.a}));var Pe=r(156);r.d(t,"PinnedRowModel",(function(){return Pe.a}));var _e=r(208);r.d(t,"ServerSideTransactionResultStatus",(function(){return _e.a}));var De=r(81);r.d(t,"ChangedPath",(function(){return De.a}));var Me=r(115);r.d(t,"RowNodeBlock",(function(){return Me.a}));var Ne=r(157);r.d(t,"RowNodeBlockLoader",(function(){return Ne.a}));var Ie=r(158);r.d(t,"PaginationProxy",(function(){return Ie.a}));var Le=r(49);r.d(t,"ClientSideRowModelSteps",(function(){return Le.a}));var ke=r(159);r.d(t,"StylingService",(function(){return ke.a}));var Fe=r(32);r.d(t,"LayoutCssClasses",(function(){return Fe.a}));var Ge=r(41);r.d(t,"AgAbstractField",(function(){return Ge.a}));var je=r(55);r.d(t,"AgCheckbox",(function(){return je.a}));var ze=r(160);r.d(t,"AgRadioButton",(function(){return ze.a}));var Be=r(161);r.d(t,"AgToggleButton",(function(){return Be.a}));var Ve=r(82);r.d(t,"AgInputTextField",(function(){return Ve.a}));var We=r(162);r.d(t,"AgInputTextArea",(function(){return We.a}));var He=r(163);r.d(t,"AgInputNumberField",(function(){return He.a}));var Ue=r(164);r.d(t,"AgInputRange",(function(){return Ue.a}));var Ke=r(85);r.d(t,"AgSelect",(function(){return Ke.a}));var Ye=r(165);r.d(t,"AgSlider",(function(){return Ye.a}));var Xe=r(166);r.d(t,"AgAngleSelect",(function(){return Xe.a}));var qe=r(197);r.d(t,"AgColorPicker",(function(){return qe.a}));var Qe=r(167);r.d(t,"AgGroupComponent",(function(){return Qe.a}));var Ze=r(67);r.d(t,"AgMenuItemComponent",(function(){return Ze.a}));var Je=r(168);r.d(t,"AgMenuList",(function(){return Je.a}));var $e=r(170);r.d(t,"AgMenuPanel",(function(){return $e.a}));var et=r(83);r.d(t,"AgDialog",(function(){return et.a}));var tt=r(84);r.d(t,"AgPanel",(function(){return tt.a}));var rt=r(15);r.d(t,"Component",(function(){return rt.a}));var ot=r(39);r.d(t,"ManagedFocusFeature",(function(){return ot.a}));var nt=r(57);r.d(t,"TabGuardComp",(function(){return nt.a}));var it=r(169);r.d(t,"TabGuardCtrl",(function(){return it.a}));var at=r(52);r.d(t,"PopupComponent",(function(){return at.a}));var st=r(171);r.d(t,"PopupService",(function(){return st.a}));var lt=r(36);r.d(t,"TouchListener",(function(){return lt.a}));var ct=r(209);r.d(t,"VirtualList",(function(){return ct.a}));var ut=r(59);r.d(t,"CellRangeType",(function(){return ut.a})),r.d(t,"SelectionHandleType",(function(){return ut.b}));var pt=r(136);r.d(t,"AutoScrollService",(function(){return pt.a}));var dt=r(172);r.d(t,"VanillaFrameworkOverrides",(function(){return dt.a}));var gt=r(173);r.d(t,"CellNavigationService",(function(){return gt.a}));var ht=r(174);r.d(t,"AlignedGridsService",(function(){return ht.a}));var ft=r(3);r.d(t,"Constants",(function(){return ft.a}));var vt=r(8);r.d(t,"KeyCode",(function(){return vt.a}));var yt=r(205);r.d(t,"Grid",(function(){return yt.a})),r.d(t,"GridCoreCreator",(function(){return yt.b}));var mt=r(80);r.d(t,"GridApi",(function(){return mt.a}));var bt=r(9);r.d(t,"Events",(function(){return bt.a}));var wt=r(58);r.d(t,"FocusService",(function(){return wt.a}));var Ct=r(210);r.d(t,"defaultGroupComparator",(function(){return Ct.a}));var Ot=r(12);r.d(t,"GridOptionsWrapper",(function(){return Ot.a}));var St=r(38);r.d(t,"EventService",(function(){return St.a}));var Et=r(185);r.d(t,"SelectableService",(function(){return Et.a}));var xt=r(189);r.d(t,"RowNodeSorter",(function(){return xt.a}));var Rt=r(190);r.d(t,"CtrlsService",(function(){return Rt.a}));var Tt=r(180);r.d(t,"GridComp",(function(){return Tt.a}));var At=r(181);r.d(t,"GridCtrl",(function(){return At.a}));var Pt=r(72);r.d(t,"Logger",(function(){return Pt.a})),r.d(t,"LoggerFactory",(function(){return Pt.b}));var _t=r(175);r.d(t,"SelectionService",(function(){return _t.a}));var Dt=r(182);r.d(t,"SortController",(function(){return Dt.a}));var Mt=r(179);r.d(t,"TemplateService",(function(){return Mt.a}));var Nt=r(24);r.d(t,"Color",(function(){return Nt.c})),r.d(t,"stringToArray",(function(){return Nt.g})),r.d(t,"_",(function(){return Nt.f})),r.d(t,"NumberSequence",(function(){return Nt.d})),r.d(t,"AgPromiseStatus",(function(){return Nt.b})),r.d(t,"AgPromise",(function(){return Nt.a})),r.d(t,"Timer",(function(){return Nt.e}));var It=r(177);r.d(t,"ValueService",(function(){return It.a}));var Lt=r(183);r.d(t,"ValueCache",(function(){return Lt.a}));var kt=r(178);r.d(t,"ExpressionService",(function(){return kt.a}));var Ft=r(187);r.d(t,"CellPositionUtils",(function(){return Ft.a}));var Gt=r(186);r.d(t,"RowPositionUtils",(function(){return Gt.a}));var jt=r(188);r.d(t,"HeaderPositionUtils",(function(){return jt.a}));var zt=r(53);r.d(t,"HeaderNavigationService",(function(){return zt.b})),r.d(t,"HeaderNavigationDirection",(function(){return zt.a}));var Bt=r(48);r.d(t,"PropertyKeys",(function(){return Bt.a}));var Vt=r(176);r.d(t,"ColumnApi",(function(){return Vt.a}));var Wt=r(211);r.d(t,"BaseComponentWrapper",(function(){return Wt.a}));var Ht=r(184);r.d(t,"Environment",(function(){return Ht.a}));var Ut=r(63);r.d(t,"CustomTooltipFeature",(function(){return Ut.a}));var Kt=r(212);r.d(t,"DEFAULT_CHART_GROUPS",(function(){return Kt.d})),r.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return Kt.b})),r.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return Kt.a})),r.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return Kt.c}));var Yt=r(213);r.d(t,"BarColumnLabelPlacement",(function(){return Yt.a}));var Xt=r(16);r.d(t,"ModuleNames",(function(){return Xt.a}));var qt=r(17);r.d(t,"ModuleRegistry",(function(){return qt.a}));r(4);var Qt=void 0===e?{}:e;Qt.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,Qt.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,Qt.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,Qt.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,Qt.Node="undefined"==typeof Node?{}:Node,Qt.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent}.call(this,r(216))},function(e,t,r){"use strict";r.d(t,"c",(function(){return a})),r.d(t,"f",(function(){return s})),r.d(t,"e",(function(){return l})),r.d(t,"g",(function(){return c})),r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return p})),r.d(t,"d",(function(){return d})),r.d(t,"h",(function(){return h}));var o=r(2),n=r(14),i=r(13),a=function(){function e(e,t){if(this.beanWrappers={},this.destroyed=!1,e&&e.beanClasses){this.contextParams=e,this.logger=t,this.logger.log(">> creating ag-Application Context"),this.createBeans();var r=this.getBeanInstances();this.wireBeans(r),this.logger.log(">> ag-Application Context ready - component is alive")}}return e.prototype.getBeanInstances=function(){return Object(o.values)(this.beanWrappers).map((function(e){return e.beanInstance}))},e.prototype.createBean=function(e,t){if(!e)throw Error("Can't wire to bean since it is null");return this.wireBeans([e],t),e},e.prototype.wireBeans=function(e,t){this.autoWireBeans(e),this.methodWireBeans(e),this.callLifeCycleMethods(e,"preConstructMethods"),Object(o.exists)(t)&&e.forEach(t),this.callLifeCycleMethods(e,"postConstructMethods")},e.prototype.createBeans=function(){var e=this;this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),Object(n.iterateObject)(this.beanWrappers,(function(t,r){var o;r.bean.__agBeanMetaData&&r.bean.__agBeanMetaData.autowireMethods&&r.bean.__agBeanMetaData.autowireMethods.agConstructor&&(o=r.bean.__agBeanMetaData.autowireMethods.agConstructor);var n,i,a=e.getBeansForParameters(o,r.bean.name),s=(n=r.bean,i=[null].concat(a),new(n.bind.apply(n,i)));r.beanInstance=s}));var t=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+t)},e.prototype.createBeanWrapper=function(e){var t=e.__agBeanMetaData;if(!t){var r=void 0;return r=e.prototype.constructor?Object(i.getFunctionName)(e.prototype.constructor):""+e,void console.error("Context item "+r+" is not a bean")}var o={bean:e,beanInstance:null,beanName:t.beanName};this.beanWrappers[t.beanName]=o},e.prototype.autoWireBeans=function(e){var t=this;e.forEach((function(e){t.forEachMetaDataInHierarchy(e,(function(r,o){var n=r.agClassAttributes;n&&n.forEach((function(r){var n=t.lookupBeanInstance(o,r.beanName,r.optional);e[r.attributeName]=n}))}))}))},e.prototype.methodWireBeans=function(e){var t=this;e.forEach((function(e){t.forEachMetaDataInHierarchy(e,(function(r,o){Object(n.iterateObject)(r.autowireMethods,(function(r,n){if("agConstructor"!==r){var i=t.getBeansForParameters(n,o);e[r].apply(e,i)}}))}))}))},e.prototype.forEachMetaDataInHierarchy=function(e,t){for(var r=Object.getPrototypeOf(e);null!=r;){var o=r.constructor;if(o.hasOwnProperty("__agBeanMetaData"))t(o.__agBeanMetaData,this.getBeanName(o));r=Object.getPrototypeOf(r)}},e.prototype.getBeanName=function(e){if(e.__agBeanMetaData&&e.__agBeanMetaData.beanName)return e.__agBeanMetaData.beanName;var t=e.toString();return t.substring(9,t.indexOf("("))},e.prototype.getBeansForParameters=function(e,t){var r=this,o=[];return e&&Object(n.iterateObject)(e,(function(e,n){var i=r.lookupBeanInstance(t,n);o[Number(e)]=i})),o},e.prototype.lookupBeanInstance=function(e,t,r){if(void 0===r&&(r=!1),"context"===t)return this;if(this.contextParams.providedBeanInstances&&this.contextParams.providedBeanInstances.hasOwnProperty(t))return this.contextParams.providedBeanInstances[t];var o=this.beanWrappers[t];return o?o.beanInstance:(r||console.error("AG Grid: unable to find bean reference "+t+" while initialising "+e),null)},e.prototype.callLifeCycleMethods=function(e,t){var r=this;e.forEach((function(e){return r.callLifeCycleMethodsOnBean(e,t)}))},e.prototype.callLifeCycleMethodsOnBean=function(e,t,r){var o={};this.forEachMetaDataInHierarchy(e,(function(e){var n=e[t];n&&n.forEach((function(e){e!=r&&(o[e]=!0)}))})),Object.keys(o).forEach((function(t){return e[t]()}))},e.prototype.getBean=function(e){return this.lookupBeanInstance("getBean",e,!0)},e.prototype.destroy=function(){if(!this.destroyed){this.logger.log(">> Shutting down ag-Application Context");var e=this.getBeanInstances();this.destroyBeans(e),this.contextParams.providedBeanInstances=null,this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead")}},e.prototype.destroyBean=function(e){e&&this.destroyBeans([e])},e.prototype.destroyBeans=function(e){var t=this;return e?(e.forEach((function(e){t.callLifeCycleMethodsOnBean(e,"preDestroyMethods","destroy");var r=e;"function"==typeof r.destroy&&r.destroy()})),[]):[]},e}();function s(e,t,r){var o=f(e.constructor);o.preConstructMethods||(o.preConstructMethods=[]),o.preConstructMethods.push(t)}function l(e,t,r){var o=f(e.constructor);o.postConstructMethods||(o.postConstructMethods=[]),o.postConstructMethods.push(t)}function c(e,t,r){var o=f(e.constructor);o.preDestroyMethods||(o.preDestroyMethods=[]),o.preDestroyMethods.push(t)}function u(e){return function(t){f(t).beanName=e}}function p(e){return function(t,r,o){g(t,e,!1,t,r,null)}}function d(e){return function(t,r,o){g(t,e,!0,t,r,null)}}function g(e,t,r,o,n,i){if(null!==t)if("number"!=typeof i){var a=f(e.constructor);a.agClassAttributes||(a.agClassAttributes=[]),a.agClassAttributes.push({attributeName:n,beanName:t,optional:r})}else console.error("AG Grid: Autowired should be on an attribute");else console.error("AG Grid: Autowired name should not be null")}function h(e){return function(t,r,o){var n,i="function"==typeof t?t:t.constructor;if("number"==typeof o){var a=void 0;r?(n=f(i),a=r):(n=f(i),a="agConstructor"),n.autowireMethods||(n.autowireMethods={}),n.autowireMethods[a]||(n.autowireMethods[a]={}),n.autowireMethods[a][o]=e}}}function f(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}},function(e,t,r){"use strict";function o(e){return null==e||""===e?null:e}function n(e,t){return void 0===t&&(t=!1),null!=e&&(""!==e||t)}function i(e){return!n(e)}function a(e){return null==e||0===e.length}function s(e){return null!=e&&"function"==typeof e.toString?e.toString():null}function l(e){if(void 0!==e){if(null===e||""===e)return null;if("number"==typeof e)return isNaN(e)?void 0:e;var t=parseInt(e,10);return isNaN(t)?void 0:t}}function c(e){if(void 0!==e)return null!==e&&""!==e&&("boolean"==typeof e?e:/true/i.test(e))}function u(e){if(null!=e&&""!==e)return e}function p(e,t){return null==e&&null==t||(null!=e||null==t)&&((null==e||null!=t)&&e===t)}function d(e,t){return(e?JSON.stringify(e):null)===(t?JSON.stringify(t):null)}function g(e,t,r){void 0===r&&(r=!1);var o=null==e,n=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),o&&n)return 0;if(o)return-1;if(n)return 1;function i(e,t){return e>t?1:e<t?-1:0}if("string"!=typeof e)return i(e,t);if(!r)return i(e,t);try{return e.localeCompare(t)}catch(r){return i(e,t)}}function h(e){if(e instanceof Set||e instanceof Map){var t=[];return e.forEach((function(e){return t.push(e)})),t}return Object.values(e)}r.r(t),r.d(t,"makeNull",(function(){return o})),r.d(t,"exists",(function(){return n})),r.d(t,"missing",(function(){return i})),r.d(t,"missingOrEmpty",(function(){return a})),r.d(t,"toStringOrNull",(function(){return s})),r.d(t,"attrToNumber",(function(){return l})),r.d(t,"attrToBoolean",(function(){return c})),r.d(t,"attrToString",(function(){return u})),r.d(t,"referenceCompare",(function(){return p})),r.d(t,"jsonEquals",(function(){return d})),r.d(t,"defaultComparator",(function(){return g})),r.d(t,"values",(function(){return h}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(){}return e.ROW_BUFFER_SIZE=10,e.LAYOUT_INTERVAL=500,e.BATCH_WAIT_MILLIS=50,e.EXPORT_TYPE_DRAG_COPY="dragCopy",e.EXPORT_TYPE_CLIPBOARD="clipboard",e.EXPORT_TYPE_EXCEL="excel",e.EXPORT_TYPE_CSV="csv",e.ROW_MODEL_TYPE_INFINITE="infinite",e.ROW_MODEL_TYPE_VIEWPORT="viewport",e.ROW_MODEL_TYPE_CLIENT_SIDE="clientSide",e.ROW_MODEL_TYPE_SERVER_SIDE="serverSide",e.ALWAYS="always",e.ONLY_WHEN_GROUPING="onlyWhenGrouping",e.PINNED_TOP="top",e.PINNED_BOTTOM="bottom",e.DOM_LAYOUT_NORMAL="normal",e.DOM_LAYOUT_PRINT="print",e.DOM_LAYOUT_AUTO_HEIGHT="autoHeight",e.GROUP_AUTO_COLUMN_ID="ag-Grid-AutoColumn",e.SOURCE_PASTE="paste",e.PINNED_RIGHT="right",e.PINNED_LEFT="left",e.SORT_ASC="asc",e.SORT_DESC="desc",e.INPUT_SELECTOR="input, select, button, textarea",e.FOCUSABLE_SELECTOR="[tabindex], input, select, button, textarea",e.FOCUSABLE_EXCLUDE=".ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *",e}()},function(e,t,r){"use strict";var o=r(9);r.d(t,"a",(function(){return o.a}))},function(e,t,r){"use strict";r.r(t),r.d(t,"radioCssClass",(function(){return c})),r.d(t,"isFocusableFormField",(function(){return u})),r.d(t,"setDisplayed",(function(){return p})),r.d(t,"setVisible",(function(){return d})),r.d(t,"setDisabled",(function(){return g})),r.d(t,"isElementChildOfClass",(function(){return h})),r.d(t,"getElementSize",(function(){return f})),r.d(t,"getInnerHeight",(function(){return v})),r.d(t,"getInnerWidth",(function(){return y})),r.d(t,"getAbsoluteHeight",(function(){return m})),r.d(t,"getAbsoluteWidth",(function(){return b})),r.d(t,"isRtlNegativeScroll",(function(){return w})),r.d(t,"getScrollLeft",(function(){return C})),r.d(t,"setScrollLeft",(function(){return O})),r.d(t,"clearElement",(function(){return S})),r.d(t,"removeElement",(function(){return E})),r.d(t,"removeFromParent",(function(){return x})),r.d(t,"isVisible",(function(){return R})),r.d(t,"loadTemplate",(function(){return T})),r.d(t,"appendHtml",(function(){return A})),r.d(t,"getElementAttribute",(function(){return P})),r.d(t,"offsetHeight",(function(){return _})),r.d(t,"offsetWidth",(function(){return D})),r.d(t,"ensureDomOrder",(function(){return M})),r.d(t,"setDomChildOrder",(function(){return N})),r.d(t,"insertWithDomOrder",(function(){return I})),r.d(t,"prependDC",(function(){return L})),r.d(t,"addStylesToElement",(function(){return k})),r.d(t,"isHorizontalScrollShowing",(function(){return F})),r.d(t,"isVerticalScrollShowing",(function(){return G})),r.d(t,"setElementWidth",(function(){return j})),r.d(t,"setFixedWidth",(function(){return z})),r.d(t,"setElementHeight",(function(){return B})),r.d(t,"setFixedHeight",(function(){return V})),r.d(t,"formatSize",(function(){return W})),r.d(t,"isNode",(function(){return H})),r.d(t,"isElement",(function(){return U})),r.d(t,"isNodeOrElement",(function(){return K})),r.d(t,"copyNodeList",(function(){return Y})),r.d(t,"iterateNamedNodeMap",(function(){return X})),r.d(t,"setCheckboxState",(function(){return q})),r.d(t,"addOrRemoveAttribute",(function(){return Q})),r.d(t,"nodeListForEach",(function(){return Z}));var o,n=r(18),i=r(2),a=r(14),s=r(30),l=r(3);function c(e,t,r){for(var o=e.parentElement,n=o&&o.firstChild;n;)t&&n.classList.toggle(t,n===e),r&&n.classList.toggle(r,n!==e),n=n.nextSibling}function u(e){var t=Element.prototype.matches||Element.prototype.msMatchesSelector,r=t.call(e,l.a.INPUT_SELECTOR),o=t.call(e,l.a.FOCUSABLE_EXCLUDE),n=R(e);return r&&!o&&n}function p(e,t){e.classList.toggle("ag-hidden",!t)}function d(e,t){e.classList.toggle("ag-invisible",!t)}function g(e,t){var r=t?function(e){return e.setAttribute("disabled","")}:function(e){return e.removeAttribute("disabled")};r(e),Z(e.querySelectorAll("input"),(function(e){return r(e)}))}function h(e,t,r){for(var o=0;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,"number"==typeof r){if(++o>r)break}else if(e===r)break}return!1}function f(e){var t=window.getComputedStyle(e),r=t.height,o=t.width,n=t.paddingTop,i=t.paddingRight,a=t.paddingBottom,s=t.paddingLeft,l=t.marginTop,c=t.marginRight,u=t.marginBottom,p=t.marginLeft,d=t.boxSizing;return{height:parseFloat(r),width:parseFloat(o),paddingTop:parseFloat(n),paddingRight:parseFloat(i),paddingBottom:parseFloat(a),paddingLeft:parseFloat(s),marginTop:parseFloat(l),marginRight:parseFloat(c),marginBottom:parseFloat(u),marginLeft:parseFloat(p),boxSizing:d}}function v(e){var t=f(e);return"border-box"===t.boxSizing?t.height-t.paddingTop-t.paddingBottom:t.height}function y(e){var t=f(e);return"border-box"===t.boxSizing?t.width-t.paddingLeft-t.paddingRight:t.width}function m(e){var t=f(e),r=t.marginBottom+t.marginTop;return Math.ceil(e.offsetHeight+r)}function b(e){var t=f(e),r=t.marginLeft+t.marginRight;return Math.ceil(e.offsetWidth+r)}function w(){if("boolean"==typeof o)return o;var e=document.createElement("div");return e.style.direction="rtl",e.style.width="1px",e.style.height="1px",e.style.position="fixed",e.style.top="0px",e.style.overflow="hidden",e.dir="rtl",e.innerHTML='<div style="width: 2px">\n <span style="display: inline-block; width: 1px"></span>\n <span style="display: inline-block; width: 1px"></span>\n </div>',document.body.appendChild(e),e.scrollLeft=1,o=0===Math.floor(e.scrollLeft),document.body.removeChild(e),o}function C(e,t){var r=e.scrollLeft;return t&&(r=Math.abs(r),Object(n.isBrowserChrome)()&&!w()&&(r=e.scrollWidth-e.clientWidth-r)),r}function O(e,t,r){r&&(w()?t*=-1:(Object(n.isBrowserSafari)()||Object(n.isBrowserChrome)())&&(t=e.scrollWidth-e.clientWidth-t)),e.scrollLeft=t}function S(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function E(e,t){x(e.querySelector(t))}function x(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function R(e){return null!==e.offsetParent}function T(e){var t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function A(e,t){e.lastChild?e.insertAdjacentHTML("afterbegin",t):e.innerHTML=t}function P(e,t){return e.attributes&&e.attributes[t]?e.attributes[t].value:null}function _(e){return e&&e.clientHeight?e.clientHeight:0}function D(e){return e&&e.clientWidth?e.clientWidth:0}function M(e,t,r){if(!r||r.nextSibling!==t){var o=document.activeElement,i=t.contains(o);r?r.nextSibling?e.insertBefore(t,r.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.insertAdjacentElement("afterbegin",t),i&&o&&Object(n.browserSupportsPreventScroll)()&&o.focus({preventScroll:!0})}}function N(e,t){for(var r=0;r<t.length;r++){var o=t[r],n=e.children[r];n!==o&&e.insertBefore(o,n)}}function I(e,t,r){r?r.insertAdjacentElement("afterend",t):e.firstChild?e.insertAdjacentElement("afterbegin",t):e.appendChild(t)}function L(e,t){Object(i.exists)(e.firstChild)?e.insertBefore(t,e.firstChild):e.appendChild(t)}function k(e,t){t&&Object.keys(t).forEach((function(r){var o=Object(s.hyphenToCamelCase)(r);o&&(e.style[o]=t[r])}))}function F(e){return e.clientWidth<e.scrollWidth}function G(e){return e.clientHeight<e.scrollHeight}function j(e,t){"flex"===t?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):z(e,t)}function z(e,t){t=W(t),e.style.width=t.toString(),e.style.maxWidth=t.toString(),e.style.minWidth=t.toString()}function B(e,t){"flex"===t?(e.style.removeProperty("height"),e.style.removeProperty("minHeight"),e.style.removeProperty("maxHeight"),e.style.flex="1 1 auto"):V(e,t)}function V(e,t){t=W(t),e.style.height=t.toString(),e.style.maxHeight=t.toString(),e.style.minHeight=t.toString()}function W(e){return"number"==typeof e?e+"px":e}function H(e){return"function"==typeof Node?e instanceof Node:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName}function U(e){return"function"==typeof HTMLElement?e instanceof HTMLElement:e&&Object(a.isNonNullObject)(e)&&1===e.nodeType&&"string"==typeof e.nodeName}function K(e){return H(e)||U(e)}function Y(e){if(null==e)return[];var t=[];return Z(e,(function(e){return t.push(e)})),t}function X(e,t){if(e)for(var r=0;r<e.length;r++){var o=e[r];t(o.name,o.value)}}function q(e,t){"boolean"==typeof t?(e.checked=t,e.indeterminate=!1):e.indeterminate=!0}function Q(e,t,r){null==r?e.removeAttribute(t):e.setAttribute(t,r.toString())}function Z(e,t){if(null!=e)for(var r=0;r<e.length;r++)t(e[r])}},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o=r(38),n=r(1),i=r(28),a=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},s=function(){function e(){var e=this;this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.isAlive=function(){return!e.destroyed}}return e.prototype.getFrameworkOverrides=function(){return this.frameworkOverrides},e.prototype.getContext=function(){return this.context},e.prototype.destroy=function(){this.destroyFunctions.forEach((function(e){return e()})),this.destroyFunctions.length=0,this.destroyed=!0,this.dispatchEvent({type:e.EVENT_DESTROYED})},e.prototype.addEventListener=function(e,t){this.localEventService||(this.localEventService=new o.a),this.localEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.localEventService&&this.localEventService.removeEventListener(e,t)},e.prototype.dispatchEventAsync=function(e){var t=this;window.setTimeout((function(){return t.dispatchEvent(e)}),0)},e.prototype.dispatchEvent=function(e){this.localEventService&&this.localEventService.dispatchEvent(e)},e.prototype.addManagedListener=function(e,t,r){var o=this;if(!this.destroyed){e instanceof HTMLElement?Object(i.addSafePassiveEventListener)(this.getFrameworkOverrides(),e,t,r):e.addEventListener(t,r);var n=function(){return e.removeEventListener(t,r),o.destroyFunctions=o.destroyFunctions.filter((function(e){return e!==n})),null};return this.destroyFunctions.push(n),n}},e.prototype.addDestroyFunc=function(e){this.isAlive()?this.destroyFunctions.push(e):e()},e.prototype.createManagedBean=function(e,t){var r=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),r},e.prototype.createBean=function(e,t,r){return(t||this.getContext()).createBean(e,r)},e.prototype.destroyBean=function(e,t){return(t||this.getContext()).destroyBean(e)},e.prototype.destroyBeans=function(e,t){var r=this;return e&&e.forEach((function(e){return r.destroyBean(e,t)})),[]},e.EVENT_DESTROYED="destroyed",a([Object(n.a)("frameworkOverrides")],e.prototype,"frameworkOverrides",void 0),a([Object(n.a)("context")],e.prototype,"context",void 0),a([Object(n.a)("eventService")],e.prototype,"eventService",void 0),a([Object(n.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),a([n.g],e.prototype,"destroy",null),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var o=r(13);function n(e){return a.bind(this,e,void 0)}function i(e){return a.bind(this,"[ref="+e+"]",e)}function a(e,t,r,n,i){null!==e?"number"!=typeof i?function(e,t,r){var n=function(e,t){e.__agComponentMetaData||(e.__agComponentMetaData={});e.__agComponentMetaData[t]||(e.__agComponentMetaData[t]={});return e.__agComponentMetaData[t]}(e,Object(o.getFunctionName)(e.constructor));n[t]||(n[t]=[]);n[t].push(r)}(r,"querySelectors",{attributeName:n,querySelector:e,refSelector:t}):console.error("AG Grid: QuerySelector should be on an attribute"):console.error("AG Grid: QuerySelector selector should not be null")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(){}return e.BACKSPACE="Backspace",e.TAB="Tab",e.ENTER="Enter",e.ESCAPE="Escape",e.SPACE=" ",e.LEFT="ArrowLeft",e.UP="ArrowUp",e.RIGHT="ArrowRight",e.DOWN="ArrowDown",e.DELETE="Delete",e.F2="F2",e.PAGE_UP="PageUp",e.PAGE_DOWN="PageDown",e.PAGE_HOME="Home",e.PAGE_END="End",e.A="KeyA",e.C="KeyC",e.V="KeyV",e.D="KeyD",e.Z="KeyZ",e.Y="KeyY",e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(){}return e.EVENT_COLUMN_EVERYTHING_CHANGED="columnEverythingChanged",e.EVENT_NEW_COLUMNS_LOADED="newColumnsLoaded",e.EVENT_COLUMN_PIVOT_MODE_CHANGED="columnPivotModeChanged",e.EVENT_COLUMN_ROW_GROUP_CHANGED="columnRowGroupChanged",e.EVENT_EXPAND_COLLAPSE_ALL="expandOrCollapseAll",e.EVENT_COLUMN_PIVOT_CHANGED="columnPivotChanged",e.EVENT_GRID_COLUMNS_CHANGED="gridColumnsChanged",e.EVENT_COLUMN_VALUE_CHANGED="columnValueChanged",e.EVENT_COLUMN_MOVED="columnMoved",e.EVENT_COLUMN_VISIBLE="columnVisible",e.EVENT_COLUMN_PINNED="columnPinned",e.EVENT_COLUMN_GROUP_OPENED="columnGroupOpened",e.EVENT_COLUMN_RESIZED="columnResized",e.EVENT_DISPLAYED_COLUMNS_CHANGED="displayedColumnsChanged",e.EVENT_VIRTUAL_COLUMNS_CHANGED="virtualColumnsChanged",e.EVENT_ASYNC_TRANSACTIONS_FLUSHED="asyncTransactionsFlushed",e.EVENT_ROW_GROUP_OPENED="rowGroupOpened",e.EVENT_ROW_DATA_CHANGED="rowDataChanged",e.EVENT_ROW_DATA_UPDATED="rowDataUpdated",e.EVENT_PINNED_ROW_DATA_CHANGED="pinnedRowDataChanged",e.EVENT_RANGE_SELECTION_CHANGED="rangeSelectionChanged",e.EVENT_CHART_CREATED="chartCreated",e.EVENT_CHART_RANGE_SELECTION_CHANGED="chartRangeSelectionChanged",e.EVENT_CHART_OPTIONS_CHANGED="chartOptionsChanged",e.EVENT_CHART_DESTROYED="chartDestroyed",e.EVENT_TOOL_PANEL_VISIBLE_CHANGED="toolPanelVisibleChanged",e.EVENT_TOOL_PANEL_SIZE_CHANGED="toolPanelSizeChanged",e.EVENT_COLUMN_PANEL_ITEM_DRAG_START="columnPanelItemDragStart",e.EVENT_COLUMN_PANEL_ITEM_DRAG_END="columnPanelItemDragEnd",e.EVENT_MODEL_UPDATED="modelUpdated",e.EVENT_PASTE_START="pasteStart",e.EVENT_PASTE_END="pasteEnd",e.EVENT_FILL_START="fillStart",e.EVENT_FILL_END="fillEnd",e.EVENT_KEY_SHORTCUT_CHANGED_CELL_START="keyShortcutChangedCellStart",e.EVENT_KEY_SHORTCUT_CHANGED_CELL_END="keyShortcutChangedCellEnd",e.EVENT_CELL_CLICKED="cellClicked",e.EVENT_CELL_DOUBLE_CLICKED="cellDoubleClicked",e.EVENT_CELL_MOUSE_DOWN="cellMouseDown",e.EVENT_CELL_CONTEXT_MENU="cellContextMenu",e.EVENT_CELL_VALUE_CHANGED="cellValueChanged",e.EVENT_CELL_EDIT_REQUEST="cellEditRequest",e.EVENT_ROW_VALUE_CHANGED="rowValueChanged",e.EVENT_CELL_FOCUSED="cellFocused",e.EVENT_FULL_WIDTH_ROW_FOCUSED="fullWidthRowFocused",e.EVENT_ROW_SELECTED="rowSelected",e.EVENT_SELECTION_CHANGED="selectionChanged",e.EVENT_CELL_KEY_DOWN="cellKeyDown",e.EVENT_CELL_KEY_PRESS="cellKeyPress",e.EVENT_CELL_MOUSE_OVER="cellMouseOver",e.EVENT_CELL_MOUSE_OUT="cellMouseOut",e.EVENT_FILTER_CHANGED="filterChanged",e.EVENT_FILTER_MODIFIED="filterModified",e.EVENT_FILTER_OPENED="filterOpened",e.EVENT_SORT_CHANGED="sortChanged",e.EVENT_VIRTUAL_ROW_REMOVED="virtualRowRemoved",e.EVENT_ROW_CLICKED="rowClicked",e.EVENT_ROW_DOUBLE_CLICKED="rowDoubleClicked",e.EVENT_GRID_READY="gridReady",e.EVENT_GRID_SIZE_CHANGED="gridSizeChanged",e.EVENT_VIEWPORT_CHANGED="viewportChanged",e.EVENT_SCROLLBAR_WIDTH_CHANGED="scrollbarWidthChanged",e.EVENT_FIRST_DATA_RENDERED="firstDataRendered",e.EVENT_DRAG_STARTED="dragStarted",e.EVENT_DRAG_STOPPED="dragStopped",e.EVENT_CHECKBOX_CHANGED="checkboxChanged",e.EVENT_ROW_EDITING_STARTED="rowEditingStarted",e.EVENT_ROW_EDITING_STOPPED="rowEditingStopped",e.EVENT_CELL_EDITING_STARTED="cellEditingStarted",e.EVENT_CELL_EDITING_STOPPED="cellEditingStopped",e.EVENT_BODY_SCROLL="bodyScroll",e.EVENT_BODY_SCROLL_END="bodyScrollEnd",e.EVENT_HEIGHT_SCALE_CHANGED="heightScaleChanged",e.EVENT_PAGINATION_CHANGED="paginationChanged",e.EVENT_COMPONENT_STATE_CHANGED="componentStateChanged",e.EVENT_BODY_HEIGHT_CHANGED="bodyHeightChanged",e.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED="displayedColumnsWidthChanged",e.EVENT_SCROLL_VISIBILITY_CHANGED="scrollVisibilityChanged",e.EVENT_COLUMN_HOVER_CHANGED="columnHoverChanged",e.EVENT_FLASH_CELLS="flashCells",e.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED="paginationPixelOffsetChanged",e.EVENT_DISPLAYED_ROWS_CHANGED="displayedRowsChanged",e.EVENT_LEFT_PINNED_WIDTH_CHANGED="leftPinnedWidthChanged",e.EVENT_RIGHT_PINNED_WIDTH_CHANGED="rightPinnedWidthChanged",e.EVENT_ROW_CONTAINER_HEIGHT_CHANGED="rowContainerHeightChanged",e.EVENT_HEADER_HEIGHT_CHANGED="headerHeightChanged",e.EVENT_COLUMN_HEADER_HEIGHT_CHANGED="columnHeaderHeightChanged",e.EVENT_ROW_DRAG_ENTER="rowDragEnter",e.EVENT_ROW_DRAG_MOVE="rowDragMove",e.EVENT_ROW_DRAG_LEAVE="rowDragLeave",e.EVENT_ROW_DRAG_END="rowDragEnd",e.EVENT_POPUP_TO_FRONT="popupToFront",e.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST="columnRowGroupChangeRequest",e.EVENT_COLUMN_PIVOT_CHANGE_REQUEST="columnPivotChangeRequest",e.EVENT_COLUMN_VALUE_CHANGE_REQUEST="columnValueChangeRequest",e.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST="columnAggFuncChangeRequest",e.EVENT_KEYBOARD_FOCUS="keyboardFocus",e.EVENT_MOUSE_FOCUS="mouseFocus",e.EVENT_STORE_UPDATED="storeUpdated",e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"firstExistingValue",(function(){return n})),r.d(t,"existsAndNotEmpty",(function(){return i})),r.d(t,"last",(function(){return a})),r.d(t,"areEqual",(function(){return s})),r.d(t,"compareArrays",(function(){return l})),r.d(t,"shallowCompare",(function(){return c})),r.d(t,"sortNumerically",(function(){return u})),r.d(t,"removeRepeatsFromArray",(function(){return p})),r.d(t,"removeFromArray",(function(){return d})),r.d(t,"removeAllFromArray",(function(){return g})),r.d(t,"insertIntoArray",(function(){return h})),r.d(t,"insertArrayIntoArray",(function(){return f})),r.d(t,"moveInArray",(function(){return v})),r.d(t,"includes",(function(){return y})),r.d(t,"flatten",(function(){return m})),r.d(t,"pushAll",(function(){return b})),r.d(t,"toStrings",(function(){return w})),r.d(t,"forEachReverse",(function(){return C}));var o=r(2);function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0;r<e.length;r++){var n=e[r];if(Object(o.exists)(n))return n}return null}function i(e){return null!=e&&e.length>0}function a(e){if(e&&e.length)return e[e.length-1]}function s(e,t,r){return null==e&&null==t||null!=e&&null!=t&&e.length===t.length&&e.every((function(e,o){return r?r(e,t[o]):t[o]===e}))}function l(e,t){return s(e,t)}function c(e,t){return s(e,t)}function u(e){return e.sort((function(e,t){return e-t}))}function p(e,t){if(e)for(var r=e.length-2;r>=0;r--){var o=e[r]===t,n=e[r+1]===t;o&&n&&e.splice(r+1,1)}}function d(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function g(e,t){t.forEach((function(t){return d(e,t)}))}function h(e,t,r){e.splice(r,0,t)}function f(e,t,r){if(null!=e&&null!=t)for(var o=t.length-1;o>=0;o--){h(e,t[o],r)}}function v(e,t,r){g(e,t),t.slice().reverse().forEach((function(t){return h(e,t,r)}))}function y(e,t){return e.indexOf(t)>-1}function m(e){return[].concat.apply([],e)}function b(e,t){null!=t&&null!=e&&t.forEach((function(t){return e.push(t)}))}function w(e){return e.map(o.toStringOrNull)}function C(e,t){if(null!=e)for(var r=e.length-1;r>=0;r--)t(e[r],r)}},function(e,t,r){"use strict";function o(e,t,r){e.setAttribute(i(t),r.toString())}function n(e,t){e.removeAttribute(i(t))}function i(e){return"aria-"+e}function a(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function s(e){return e.isSortAscending()?"ascending":e.isSortDescending()?"descending":"none"}function l(e){return parseInt(e.getAttribute("aria-level"),10)}function c(e){return parseInt(e.getAttribute("aria-posinset"),10)}function u(e){return e.getAttribute("aria-describedby")||""}function p(e,t){null!=t&&""!==t?o(e,"label",t):n(e,"label")}function d(e,t){var r="labelledby";t?o(e,r,t):n(e,r)}function g(e,t){var r="description";t?o(e,r,t):n(e,r)}function h(e,t){var r="describedby";t?o(e,r,t):n(e,r)}function f(e,t){o(e,"level",t)}function v(e,t){o(e,"disabled",t)}function y(e,t){t?o(e,"hidden",!0):n(e,"hidden")}function m(e,t){o(e,"expanded",t)}function b(e){n(e,"expanded")}function w(e,t){o(e,"setsize",t)}function C(e,t){o(e,"posinset",t)}function O(e,t){o(e,"multiselectable",t)}function S(e,t){o(e,"rowcount",t)}function E(e,t){o(e,"rowindex",t)}function x(e,t){o(e,"colcount",t)}function R(e,t){o(e,"colindex",t)}function T(e,t){o(e,"colspan",t)}function A(e,t){o(e,"sort",t)}function P(e){n(e,"sort")}function _(e,t){t?o(e,"selected",t):n(e,"selected")}function D(e,t){o(e,"checked",void 0===t?"mixed":t)}r.r(t),r.d(t,"setAriaRole",(function(){return a})),r.d(t,"getAriaSortState",(function(){return s})),r.d(t,"getAriaLevel",(function(){return l})),r.d(t,"getAriaPosInSet",(function(){return c})),r.d(t,"getAriaDescribedBy",(function(){return u})),r.d(t,"setAriaLabel",(function(){return p})),r.d(t,"setAriaLabelledBy",(function(){return d})),r.d(t,"setAriaDescription",(function(){return g})),r.d(t,"setAriaDescribedBy",(function(){return h})),r.d(t,"setAriaLevel",(function(){return f})),r.d(t,"setAriaDisabled",(function(){return v})),r.d(t,"setAriaHidden",(function(){return y})),r.d(t,"setAriaExpanded",(function(){return m})),r.d(t,"removeAriaExpanded",(function(){return b})),r.d(t,"setAriaSetSize",(function(){return w})),r.d(t,"setAriaPosInSet",(function(){return C})),r.d(t,"setAriaMultiSelectable",(function(){return O})),r.d(t,"setAriaRowCount",(function(){return S})),r.d(t,"setAriaRowIndex",(function(){return E})),r.d(t,"setAriaColCount",(function(){return x})),r.d(t,"setAriaColIndex",(function(){return R})),r.d(t,"setAriaColSpan",(function(){return T})),r.d(t,"setAriaSort",(function(){return A})),r.d(t,"removeAriaSort",(function(){return P})),r.d(t,"setAriaSelected",(function(){return _})),r.d(t,"setAriaChecked",(function(){return D}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return A}));var o=r(112),n=r(113),i=r(3),a=r(1),s=r(198),l=r(9),c=r(38),u=r(16),p=r(17),d=r(48),g=r(18),h=r(13),f=r(199),v=r(2),y=r(42),m=r(14),b=r(30),w=function(){return(w=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},C=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},O=function(e,t){return function(r,o){t(r,o,e)}},S=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},E=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(S(arguments[t]));return e};function x(e){return!0===e||"true"===e}function R(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function T(e,t){var r=parseInt(e,10);return Object(y.isNumeric)(r)&&r>0?r:t}var A=function(){function e(){this.propertyEventService=new c.a,this.domDataKey="__AG_"+Math.random().toString(),this.destroyed=!1}var t;return t=e,e.prototype.agWire=function(e,t){this.gridOptions.api=e,this.gridOptions.columnApi=t,this.checkForDeprecated(),this.checkForViolations()},e.prototype.destroy=function(){this.gridOptions.api=null,this.gridOptions.columnApi=null,this.destroyed=!0},e.prototype.init=function(){var e=this;!0!==this.gridOptions.suppressPropertyNamesCheck&&(this.checkGridOptionsProperties(),this.checkColumnDefProperties()),null!=this.gridOptions.sideBar&&(this.gridOptions.sideBar=s.a.parse(this.gridOptions.sideBar));var t=this.useAsyncEvents();if(this.eventService.addGlobalListener(this.globalEventHandler.bind(this),t),this.isGroupSelectsChildren()&&this.isSuppressParentsInRowNodes()&&console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work"),this.isGroupSelectsChildren()&&(this.isRowSelectionMulti()||console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense"),this.isRowModelServerSide()&&console.warn("AG Grid: group selects children is NOT support for Server Side Row Model. This is because the rows are lazy loaded, so selecting a group is not possible asthe grid has no way of knowing what the children are.")),this.isGroupRemoveSingleChildren()&&this.isGroupHideOpenParents()&&console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!"),this.isRowModelServerSide()){var r=function(e){return"AG Grid: '"+e+"' is not supported on the Server-Side Row Model"};Object(v.exists)(this.gridOptions.groupDefaultExpanded)&&console.warn(r("groupDefaultExpanded")),Object(v.exists)(this.gridOptions.groupDefaultExpanded)&&console.warn(r("groupIncludeFooter")),Object(v.exists)(this.gridOptions.groupDefaultExpanded)&&console.warn(r("groupIncludeTotalFooter"))}x(this.gridOptions.enableRangeSelection)?p.a.assertRegistered(u.a.RangeSelectionModule,"enableRangeSelection"):(this.isEnableRangeHandle()||this.isEnableFillHandle())&&console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true"),this.isGroupRowsSticky()&&(this.isGroupHideOpenParents()&&console.warn("AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one."),this.isMasterDetail()&&console.warn("AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one."),this.isPagination()&&console.warn("AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one."));var o=function(t){e.gridOptions.icons&&e.gridOptions.icons[t]&&console.warn("gridOptions.icons."+t+" is no longer supported. For information on how to style checkboxes and radio buttons, see https://www.ag-grid.com/javascript-grid-icons/")};o("radioButtonOff"),o("radioButtonOn"),o("checkboxChecked"),o("checkboxUnchecked"),o("checkboxIndeterminate"),this.getScrollbarWidth()},e.prototype.checkColumnDefProperties=function(){var e=this;null!=this.gridOptions.columnDefs&&this.gridOptions.columnDefs.forEach((function(t){var r=Object.getOwnPropertyNames(t),n=E(o.a.ALL_PROPERTIES,o.a.FRAMEWORK_PROPERTIES);e.checkProperties(r,n,n,"colDef","https://www.ag-grid.com/javascript-grid-column-properties/")}))},e.prototype.checkGridOptionsProperties=function(){var e=Object.getOwnPropertyNames(this.gridOptions),t=E(d.a.ALL_PROPERTIES,d.a.FRAMEWORK_PROPERTIES,Object(v.values)(l.a).map((function(e){return n.a.getCallbackForEvent(e)}))),r=E(t,["api","columnApi"]);this.checkProperties(e,r,t,"gridOptions","https://www.ag-grid.com/javascript-data-grid/grid-options/")},e.prototype.checkProperties=function(e,t,r,o,n){var i=Object(f.fuzzyCheckStrings)(e,t,r);Object(m.iterateObject)(i,(function(e,t){console.warn("ag-grid: invalid "+o+" property '"+e+"' did you mean any of these: "+t.slice(0,8).join(", "))})),Object.keys(i).length>0&&console.warn("ag-grid: to see all the valid "+o+" properties please check: "+n)},e.prototype.mergeGridCommonParams=function(e){var t=this;if(e){return function(r){var o=w(w({},r),{api:t.getApi(),columnApi:t.getColumnApi(),context:t.getContext()});return e(o)}}return e},e.prototype.getDomDataKey=function(){return this.domDataKey},e.prototype.getDomData=function(e,t){var r=e[this.getDomDataKey()];return r?r[t]:void 0},e.prototype.setDomData=function(e,t,r){var o=this.getDomDataKey(),n=e[o];Object(v.missing)(n)&&(n={},e[o]=n),n[t]=r},e.prototype.isRowSelection=function(){return"single"===this.gridOptions.rowSelection||"multiple"===this.gridOptions.rowSelection},e.prototype.isSuppressRowDeselection=function(){return x(this.gridOptions.suppressRowDeselection)},e.prototype.isRowSelectionMulti=function(){return"multiple"===this.gridOptions.rowSelection},e.prototype.isRowMultiSelectWithClick=function(){return x(this.gridOptions.rowMultiSelectWithClick)},e.prototype.getContext=function(){return this.gridOptions.context},e.prototype.isPivotMode=function(){return x(this.gridOptions.pivotMode)},e.prototype.isSuppressExpandablePivotGroups=function(){return x(this.gridOptions.suppressExpandablePivotGroups)},e.prototype.getPivotColumnGroupTotals=function(){return this.gridOptions.pivotColumnGroupTotals},e.prototype.getPivotRowTotals=function(){return this.gridOptions.pivotRowTotals},e.prototype.isRowModelInfinite=function(){return this.gridOptions.rowModelType===i.a.ROW_MODEL_TYPE_INFINITE},e.prototype.isRowModelViewport=function(){return this.gridOptions.rowModelType===i.a.ROW_MODEL_TYPE_VIEWPORT},e.prototype.isRowModelServerSide=function(){return this.gridOptions.rowModelType===i.a.ROW_MODEL_TYPE_SERVER_SIDE},e.prototype.isRowModelDefault=function(){return Object(v.missing)(this.gridOptions.rowModelType)||this.gridOptions.rowModelType===i.a.ROW_MODEL_TYPE_CLIENT_SIDE},e.prototype.isFullRowEdit=function(){return"fullRow"===this.gridOptions.editType},e.prototype.isSuppressFocusAfterRefresh=function(){return x(this.gridOptions.suppressFocusAfterRefresh)},e.prototype.isSuppressBrowserResizeObserver=function(){return x(this.gridOptions.suppressBrowserResizeObserver)},e.prototype.isSuppressMaintainUnsortedOrder=function(){return x(this.gridOptions.suppressMaintainUnsortedOrder)},e.prototype.isSuppressClearOnFillReduction=function(){return x(this.gridOptions.suppressClearOnFillReduction)},e.prototype.isShowToolPanel=function(){return x(this.gridOptions.sideBar&&Array.isArray(this.getSideBar().toolPanels))},e.prototype.getSideBar=function(){return this.gridOptions.sideBar},e.prototype.isSuppressTouch=function(){return x(this.gridOptions.suppressTouch)},e.prototype.isMaintainColumnOrder=function(){return x(this.gridOptions.maintainColumnOrder)},e.prototype.isSuppressRowTransform=function(){return x(this.gridOptions.suppressRowTransform)},e.prototype.isSuppressColumnStateEvents=function(){return x(this.gridOptions.suppressColumnStateEvents)},e.prototype.isAllowDragFromColumnsToolPanel=function(){return x(this.gridOptions.allowDragFromColumnsToolPanel)},e.prototype.useAsyncEvents=function(){return!x(this.gridOptions.suppressAsyncEvents)},e.prototype.isEnableCellChangeFlash=function(){return x(this.gridOptions.enableCellChangeFlash)},e.prototype.getCellFlashDelay=function(){return this.gridOptions.cellFlashDelay||500},e.prototype.getCellFadeDelay=function(){return this.gridOptions.cellFadeDelay||1e3},e.prototype.isGroupSelectsChildren=function(){return x(this.gridOptions.groupSelectsChildren)},e.prototype.isSuppressRowHoverHighlight=function(){return x(this.gridOptions.suppressRowHoverHighlight)},e.prototype.isColumnHoverHighlight=function(){return x(this.gridOptions.columnHoverHighlight)},e.prototype.isGroupSelectsFiltered=function(){return x(this.gridOptions.groupSelectsFiltered)},e.prototype.isGroupHideOpenParents=function(){return x(this.gridOptions.groupHideOpenParents)},e.prototype.isGroupMaintainOrder=function(){return x(this.gridOptions.groupMaintainOrder)},e.prototype.getAutoGroupColumnDef=function(){return this.gridOptions.autoGroupColumnDef},e.prototype.isColumnsSortingCoupledToGroup=function(){var e,t=this.getAutoGroupColumnDef();return this.isRowModelDefault()&&!(null===(e=t)||void 0===e?void 0:e.comparator)},e.prototype.isGroupMultiAutoColumn=function(){return this.gridOptions.groupDisplayType?this.matchesGroupDisplayType("multipleColumns",this.gridOptions.groupDisplayType):x(this.gridOptions.groupHideOpenParents)},e.prototype.isGroupUseEntireRow=function(e){return!e&&(!!this.gridOptions.groupDisplayType&&this.matchesGroupDisplayType("groupRows",this.gridOptions.groupDisplayType))},e.prototype.isRowGroupPanelSuppressSort=function(){return x(this.gridOptions.rowGroupPanelSuppressSort)},e.prototype.isGroupRowsSticky=function(){return x(this.gridOptions.groupRowsSticky)},e.prototype.isGroupSuppressAutoColumn=function(){return!(!this.gridOptions.groupDisplayType||!this.matchesGroupDisplayType("custom",this.gridOptions.groupDisplayType))||!!this.gridOptions.treeDataDisplayType&&this.matchesTreeDataDisplayType("custom",this.gridOptions.treeDataDisplayType)},e.prototype.isGroupRemoveSingleChildren=function(){return x(this.gridOptions.groupRemoveSingleChildren)},e.prototype.isGroupRemoveLowestSingleChildren=function(){return x(this.gridOptions.groupRemoveLowestSingleChildren)},e.prototype.isGroupIncludeFooter=function(){return x(this.gridOptions.groupIncludeFooter)},e.prototype.isGroupIncludeTotalFooter=function(){return x(this.gridOptions.groupIncludeTotalFooter)},e.prototype.isGroupSuppressBlankHeader=function(){return x(this.gridOptions.groupSuppressBlankHeader)},e.prototype.isSuppressRowClickSelection=function(){return x(this.gridOptions.suppressRowClickSelection)},e.prototype.isSuppressCellFocus=function(){return x(this.gridOptions.suppressCellFocus)},e.prototype.isSuppressMultiSort=function(){return x(this.gridOptions.suppressMultiSort)},e.prototype.isAlwaysMultiSort=function(){return x(this.gridOptions.alwaysMultiSort)},e.prototype.isMultiSortKeyCtrl=function(){return"ctrl"===this.gridOptions.multiSortKey},e.prototype.isPivotSuppressAutoColumn=function(){return x(this.gridOptions.pivotSuppressAutoColumn)},e.prototype.isSuppressDragLeaveHidesColumns=function(){return x(this.gridOptions.suppressDragLeaveHidesColumns)},e.prototype.isSuppressRowGroupHidesColumns=function(){return x(this.gridOptions.suppressRowGroupHidesColumns)},e.prototype.isSuppressScrollOnNewData=function(){return x(this.gridOptions.suppressScrollOnNewData)},e.prototype.isSuppressScrollWhenPopupsAreOpen=function(){return x(this.gridOptions.suppressScrollWhenPopupsAreOpen)},e.prototype.isRowDragEntireRow=function(){return x(this.gridOptions.rowDragEntireRow)},e.prototype.getRowDragText=function(e){if(e){var t=e.getColDef();if(t.rowDragText)return t.rowDragText}return this.gridOptions.rowDragText},e.prototype.isSuppressRowDrag=function(){return x(this.gridOptions.suppressRowDrag)},e.prototype.isRowDragManaged=function(){return x(this.gridOptions.rowDragManaged)},e.prototype.isSuppressMoveWhenRowDragging=function(){return x(this.gridOptions.suppressMoveWhenRowDragging)},e.prototype.isRowDragMultiRow=function(){return x(this.gridOptions.rowDragMultiRow)},e.prototype.getDomLayout=function(){var e=this.gridOptions.domLayout||i.a.DOM_LAYOUT_NORMAL;return-1===[i.a.DOM_LAYOUT_PRINT,i.a.DOM_LAYOUT_AUTO_HEIGHT,i.a.DOM_LAYOUT_NORMAL].indexOf(e)?(Object(h.doOnce)((function(){return console.warn("AG Grid: "+e+" is not valid for DOM Layout, valid values are "+i.a.DOM_LAYOUT_NORMAL+", "+i.a.DOM_LAYOUT_AUTO_HEIGHT+" and "+i.a.DOM_LAYOUT_PRINT)}),"warn about dom layout values"),i.a.DOM_LAYOUT_NORMAL):e},e.prototype.isSuppressHorizontalScroll=function(){return x(this.gridOptions.suppressHorizontalScroll)},e.prototype.isSuppressMaxRenderedRowRestriction=function(){return x(this.gridOptions.suppressMaxRenderedRowRestriction)},e.prototype.isExcludeChildrenWhenTreeDataFiltering=function(){return x(this.gridOptions.excludeChildrenWhenTreeDataFiltering)},e.prototype.isAlwaysShowHorizontalScroll=function(){return x(this.gridOptions.alwaysShowHorizontalScroll)},e.prototype.isAlwaysShowVerticalScroll=function(){return x(this.gridOptions.alwaysShowVerticalScroll)},e.prototype.isDebounceVerticalScrollbar=function(){return x(this.gridOptions.debounceVerticalScrollbar)},e.prototype.isSuppressLoadingOverlay=function(){return x(this.gridOptions.suppressLoadingOverlay)},e.prototype.isSuppressNoRowsOverlay=function(){return x(this.gridOptions.suppressNoRowsOverlay)},e.prototype.isSuppressFieldDotNotation=function(){return x(this.gridOptions.suppressFieldDotNotation)},e.prototype.getPinnedTopRowData=function(){return this.gridOptions.pinnedTopRowData},e.prototype.getPinnedBottomRowData=function(){return this.gridOptions.pinnedBottomRowData},e.prototype.isFunctionsPassive=function(){return x(this.gridOptions.functionsPassive)},e.prototype.isSuppressChangeDetection=function(){return x(this.gridOptions.suppressChangeDetection)},e.prototype.isSuppressAnimationFrame=function(){return x(this.gridOptions.suppressAnimationFrame)},e.prototype.getQuickFilterText=function(){return this.gridOptions.quickFilterText},e.prototype.isCacheQuickFilter=function(){return x(this.gridOptions.cacheQuickFilter)},e.prototype.isUnSortIcon=function(){return x(this.gridOptions.unSortIcon)},e.prototype.isSuppressMenuHide=function(){return x(this.gridOptions.suppressMenuHide)},e.prototype.isEnterMovesDownAfterEdit=function(){return x(this.gridOptions.enterMovesDownAfterEdit)},e.prototype.isEnterMovesDown=function(){return x(this.gridOptions.enterMovesDown)},e.prototype.isUndoRedoCellEditing=function(){return x(this.gridOptions.undoRedoCellEditing)},e.prototype.getUndoRedoCellEditingLimit=function(){return R(this.gridOptions.undoRedoCellEditingLimit)},e.prototype.isEnableCellEditingOnBackspace=function(){return x(this.gridOptions.enableCellEditingOnBackspace)},e.prototype.getRowStyle=function(){return this.gridOptions.rowStyle},e.prototype.getRowClass=function(){return this.gridOptions.rowClass},e.prototype.getRowStyleFunc=function(){return this.mergeGridCommonParams(this.gridOptions.getRowStyle)},e.prototype.getRowClassFunc=function(){return this.mergeGridCommonParams(this.gridOptions.getRowClass)},e.prototype.rowClassRules=function(){return this.gridOptions.rowClassRules},e.prototype.isServerSideInfiniteScroll=function(){return x(this.gridOptions.serverSideInfiniteScroll)},e.prototype.getServerSideGroupLevelParamsFunc=function(){return this.mergeGridCommonParams(this.gridOptions.getServerSideGroupLevelParams)},e.prototype.getCreateChartContainerFunc=function(){return this.mergeGridCommonParams(this.gridOptions.createChartContainer)},e.prototype.getPopupParent=function(){return this.gridOptions.popupParent},e.prototype.getBlockLoadDebounceMillis=function(){return this.gridOptions.blockLoadDebounceMillis},e.prototype.getPostProcessPopupFunc=function(){return this.mergeGridCommonParams(this.gridOptions.postProcessPopup)},e.prototype.getPaginationNumberFormatterFunc=function(){return this.mergeGridCommonParams(this.gridOptions.paginationNumberFormatter)},e.prototype.getChildCountFunc=function(){return this.gridOptions.getChildCount},e.prototype.getIsApplyServerSideTransactionFunc=function(){return this.mergeGridCommonParams(this.gridOptions.isApplyServerSideTransaction)},e.prototype.getInitialGroupOrderComparator=function(){var e=this.gridOptions,t=e.initialGroupOrderComparator,r=e.defaultGroupOrderComparator;return t?this.mergeGridCommonParams(t):r?function(e){return r(e.nodeA,e.nodeB)}:void 0},e.prototype.getIsFullWidthCellFunc=function(){var e=this.gridOptions,t=e.isFullWidthRow,r=e.isFullWidthCell;return t?this.mergeGridCommonParams(t):r?function(e){return r(e.rowNode)}:void 0},e.prototype.getFullWidthCellRendererParams=function(){return this.gridOptions.fullWidthCellRendererParams},e.prototype.isEmbedFullWidthRows=function(){return x(this.gridOptions.embedFullWidthRows)||x(this.gridOptions.deprecatedEmbedFullWidthRows)},e.prototype.isDetailRowAutoHeight=function(){return x(this.gridOptions.detailRowAutoHeight)},e.prototype.getSuppressKeyboardEventFunc=function(){return this.gridOptions.suppressKeyboardEvent},e.prototype.getBusinessKeyForNodeFunc=function(){return this.gridOptions.getBusinessKeyForNode},e.prototype.getApi=function(){return this.gridOptions.api},e.prototype.getColumnApi=function(){return this.gridOptions.columnApi},e.prototype.isReadOnlyEdit=function(){return x(this.gridOptions.readOnlyEdit)},e.prototype.isImmutableData=function(){var e=null!=this.gridOptions.getRowId,t=x(this.gridOptions.immutableData);return!x(this.gridOptions.resetRowDataOnUpdate)&&(e||t)},e.prototype.isEnsureDomOrder=function(){return x(this.gridOptions.ensureDomOrder)},e.prototype.isEnableCharts=function(){return!!x(this.gridOptions.enableCharts)&&p.a.assertRegistered(u.a.GridChartsModule,"enableCharts")},e.prototype.isEnableChartToolPanelsButton=function(){return x(this.gridOptions.enableChartToolPanelsButton)},e.prototype.getColResizeDefault=function(){return this.gridOptions.colResizeDefault},e.prototype.isSingleClickEdit=function(){return x(this.gridOptions.singleClickEdit)},e.prototype.isSuppressClickEdit=function(){return x(this.gridOptions.suppressClickEdit)},e.prototype.isStopEditingWhenCellsLoseFocus=function(){return x(this.gridOptions.stopEditingWhenCellsLoseFocus)},e.prototype.getGroupDefaultExpanded=function(){return this.gridOptions.groupDefaultExpanded},e.prototype.getMaxConcurrentDatasourceRequests=function(){var e=R(this.gridOptions.maxConcurrentDatasourceRequests);return null==e?2:e<=0?void 0:e},e.prototype.getMaxBlocksInCache=function(){return this.gridOptions.maxBlocksInCache},e.prototype.getCacheOverflowSize=function(){return this.gridOptions.cacheOverflowSize},e.prototype.getPaginationPageSize=function(){return R(this.gridOptions.paginationPageSize)},e.prototype.isPaginateChildRows=function(){return!(!this.isGroupRemoveSingleChildren()&&!this.isGroupRemoveLowestSingleChildren())||x(this.gridOptions.paginateChildRows)},e.prototype.getCacheBlockSize=function(){return T(this.gridOptions.cacheBlockSize)},e.prototype.getInfiniteInitialRowCount=function(){return this.gridOptions.infiniteInitialRowCount},e.prototype.getServerSideInitialRowCount=function(){var e=this.gridOptions.serverSideInitialRowCount;return"number"==typeof e&&e>0?e:1},e.prototype.isPurgeClosedRowNodes=function(){return x(this.gridOptions.purgeClosedRowNodes)},e.prototype.isSuppressPaginationPanel=function(){return x(this.gridOptions.suppressPaginationPanel)},e.prototype.getRowData=function(){return this.gridOptions.rowData},e.prototype.isEnableRtl=function(){return x(this.gridOptions.enableRtl)},e.prototype.getRowGroupPanelShow=function(){return this.gridOptions.rowGroupPanelShow},e.prototype.getPivotPanelShow=function(){return this.gridOptions.pivotPanelShow},e.prototype.isAngularCompileRows=function(){return x(this.gridOptions.angularCompileRows)},e.prototype.isAngularCompileFilters=function(){return x(this.gridOptions.angularCompileFilters)},e.prototype.isDebug=function(){return x(this.gridOptions.debug)},e.prototype.getColumnDefs=function(){return this.gridOptions.columnDefs},e.prototype.getColumnTypes=function(){return this.gridOptions.columnTypes},e.prototype.getDatasource=function(){return this.gridOptions.datasource},e.prototype.getViewportDatasource=function(){return this.gridOptions.viewportDatasource},e.prototype.getServerSideDatasource=function(){return this.gridOptions.serverSideDatasource},e.prototype.isAccentedSort=function(){return x(this.gridOptions.accentedSort)},e.prototype.isEnableBrowserTooltips=function(){return x(this.gridOptions.enableBrowserTooltips)},e.prototype.isEnableCellExpressions=function(){return x(this.gridOptions.enableCellExpressions)},e.prototype.isEnableGroupEdit=function(){return x(this.gridOptions.enableGroupEdit)},e.prototype.isSuppressMiddleClickScrolls=function(){return x(this.gridOptions.suppressMiddleClickScrolls)},e.prototype.isPreventDefaultOnContextMenu=function(){return x(this.gridOptions.preventDefaultOnContextMenu)},e.prototype.isSuppressPreventDefaultOnMouseWheel=function(){return x(this.gridOptions.suppressPreventDefaultOnMouseWheel)},e.prototype.isSuppressColumnVirtualisation=function(){return x(this.gridOptions.suppressColumnVirtualisation)},e.prototype.isSuppressRowVirtualisation=function(){return x(this.gridOptions.suppressRowVirtualisation)},e.prototype.isSuppressContextMenu=function(){return x(this.gridOptions.suppressContextMenu)},e.prototype.isAllowContextMenuWithControlKey=function(){return x(this.gridOptions.allowContextMenuWithControlKey)},e.prototype.isSuppressCopyRowsToClipboard=function(){return x(this.gridOptions.suppressCopyRowsToClipboard)},e.prototype.isSuppressCopySingleCellRanges=function(){return x(this.gridOptions.suppressCopySingleCellRanges)},e.prototype.isCopyHeadersToClipboard=function(){return x(this.gridOptions.copyHeadersToClipboard)},e.prototype.isCopyGroupHeadersToClipboard=function(){return x(this.gridOptions.copyGroupHeadersToClipboard)},e.prototype.isSuppressClipboardPaste=function(){return x(this.gridOptions.suppressClipboardPaste)},e.prototype.isSuppressLastEmptyLineOnPaste=function(){return x(this.gridOptions.suppressLastEmptyLineOnPaste)},e.prototype.isPagination=function(){return x(this.gridOptions.pagination)},e.prototype.isSuppressEnterpriseResetOnNewColumns=function(){return x(this.gridOptions.suppressEnterpriseResetOnNewColumns)},e.prototype.getProcessDataFromClipboardFunc=function(){return this.mergeGridCommonParams(this.gridOptions.processDataFromClipboard)},e.prototype.getAsyncTransactionWaitMillis=function(){return Object(v.exists)(this.gridOptions.asyncTransactionWaitMillis)?this.gridOptions.asyncTransactionWaitMillis:i.a.BATCH_WAIT_MILLIS},e.prototype.isSuppressMovableColumns=function(){return x(this.gridOptions.suppressMovableColumns)},e.prototype.isAnimateRows=function(){return!this.isEnsureDomOrder()&&x(this.gridOptions.animateRows)},e.prototype.isSuppressColumnMoveAnimation=function(){return x(this.gridOptions.suppressColumnMoveAnimation)},e.prototype.isSuppressAggFuncInHeader=function(){return x(this.gridOptions.suppressAggFuncInHeader)},e.prototype.isSuppressAggAtRootLevel=function(){return x(this.gridOptions.suppressAggAtRootLevel)},e.prototype.isSuppressAggFilteredOnly=function(){return void 0!==this.getGroupAggFiltering()||x(this.gridOptions.suppressAggFilteredOnly)},e.prototype.isRemovePivotHeaderRowWhenSingleValueColumn=function(){return x(this.gridOptions.removePivotHeaderRowWhenSingleValueColumn)},e.prototype.isShowOpenedGroup=function(){return x(this.gridOptions.showOpenedGroup)},e.prototype.isReactUi=function(){return x(this.gridOptions.reactUi)},e.prototype.isSuppressReactUi=function(){return x(this.gridOptions.suppressReactUi)},e.prototype.isEnableRangeSelection=function(){return p.a.isRegistered(u.a.RangeSelectionModule)&&x(this.gridOptions.enableRangeSelection)},e.prototype.isEnableRangeHandle=function(){return x(this.gridOptions.enableRangeHandle)},e.prototype.isEnableFillHandle=function(){return x(this.gridOptions.enableFillHandle)},e.prototype.getFillHandleDirection=function(){var e=this.gridOptions.fillHandleDirection;return e?"x"!==e&&"y"!==e&&"xy"!==e?(Object(h.doOnce)((function(){return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'.")}),"warn invalid fill direction"),"xy"):e:"xy"},e.prototype.getFillOperation=function(){return this.mergeGridCommonParams(this.gridOptions.fillOperation)},e.prototype.isSuppressMultiRangeSelection=function(){return x(this.gridOptions.suppressMultiRangeSelection)},e.prototype.isPaginationAutoPageSize=function(){return x(this.gridOptions.paginationAutoPageSize)},e.prototype.isRememberGroupStateWhenNewData=function(){return x(this.gridOptions.rememberGroupStateWhenNewData)},e.prototype.getIcons=function(){return this.gridOptions.icons},e.prototype.getGroupAggFiltering=function(){var e=this.gridOptions.groupAggFiltering;return"function"==typeof e?this.mergeGridCommonParams(e):x(e)?function(){return!0}:void 0},e.prototype.getAggFuncs=function(){return this.gridOptions.aggFuncs},e.prototype.getSortingOrder=function(){return this.gridOptions.sortingOrder},e.prototype.getAlignedGrids=function(){return this.gridOptions.alignedGrids},e.prototype.isMasterDetail=function(){return!!x(this.gridOptions.masterDetail)&&p.a.assertRegistered(u.a.MasterDetailModule,"masterDetail")},e.prototype.isKeepDetailRows=function(){return x(this.gridOptions.keepDetailRows)},e.prototype.getKeepDetailRowsCount=function(){var e=this.gridOptions.keepDetailRowsCount;return Object(v.exists)(e)&&e>0?this.gridOptions.keepDetailRowsCount:10},e.prototype.getIsRowMasterFunc=function(){return this.gridOptions.isRowMaster},e.prototype.getIsRowSelectableFunc=function(){return this.gridOptions.isRowSelectable},e.prototype.getGroupRowRendererParams=function(){return this.gridOptions.groupRowRendererParams},e.prototype.getOverlayLoadingTemplate=function(){return this.gridOptions.overlayLoadingTemplate},e.prototype.getOverlayNoRowsTemplate=function(){return this.gridOptions.overlayNoRowsTemplate},e.prototype.isSuppressAutoSize=function(){return x(this.gridOptions.suppressAutoSize)},e.prototype.isEnableCellTextSelection=function(){return x(this.gridOptions.enableCellTextSelection)},e.prototype.isSuppressParentsInRowNodes=function(){return x(this.gridOptions.suppressParentsInRowNodes)},e.prototype.isSuppressClipboardApi=function(){return x(this.gridOptions.suppressClipboardApi)},e.prototype.isFunctionsReadOnly=function(){return x(this.gridOptions.functionsReadOnly)},e.prototype.isEnableCellTextSelect=function(){return x(this.gridOptions.enableCellTextSelection)},e.prototype.getDefaultColDef=function(){return this.gridOptions.defaultColDef},e.prototype.getDefaultColGroupDef=function(){return this.gridOptions.defaultColGroupDef},e.prototype.getDefaultExportParams=function(e){return this.gridOptions.defaultExportParams?(console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default"+Object(b.capitalise)(e)+"ExportParams`'"),this.gridOptions.defaultExportParams):"csv"===e&&this.gridOptions.defaultCsvExportParams?this.gridOptions.defaultCsvExportParams:"excel"===e&&this.gridOptions.defaultExcelExportParams?this.gridOptions.defaultExcelExportParams:void 0},e.prototype.isSuppressCsvExport=function(){return x(this.gridOptions.suppressCsvExport)},e.prototype.isAllowShowChangeAfterFilter=function(){return x(this.gridOptions.allowShowChangeAfterFilter)},e.prototype.isSuppressExcelExport=function(){return x(this.gridOptions.suppressExcelExport)},e.prototype.isSuppressMakeColumnVisibleAfterUnGroup=function(){return x(this.gridOptions.suppressMakeColumnVisibleAfterUnGroup)},e.prototype.getDataPathFunc=function(){return this.gridOptions.getDataPath},e.prototype.getIsServerSideGroupFunc=function(){return this.gridOptions.isServerSideGroup},e.prototype.getIsServerSideGroupOpenByDefaultFunc=function(){return this.mergeGridCommonParams(this.gridOptions.isServerSideGroupOpenByDefault)},e.prototype.getIsGroupOpenByDefaultFunc=function(){return this.mergeGridCommonParams(this.gridOptions.isGroupOpenByDefault)},e.prototype.getServerSideGroupKeyFunc=function(){return this.gridOptions.getServerSideGroupKey},e.prototype.getGroupRowAggFunc=function(){var e=this.gridOptions,t=e.getGroupRowAgg,r=e.groupRowAggNodes;return t?this.mergeGridCommonParams(t):r?function(e){return r(e.nodes)}:void 0},e.prototype.getContextMenuItemsFunc=function(){return this.mergeGridCommonParams(this.gridOptions.getContextMenuItems)},e.prototype.getMainMenuItemsFunc=function(){return this.mergeGridCommonParams(this.gridOptions.getMainMenuItems)},e.prototype.getRowIdFunc=function(){var e=this.gridOptions,t=e.getRowId,r=e.getRowNodeId;return t?this.mergeGridCommonParams(t):r?function(e){return r(e.data)}:void 0},e.prototype.getNavigateToNextHeaderFunc=function(){return this.mergeGridCommonParams(this.gridOptions.navigateToNextHeader)},e.prototype.getTabToNextHeaderFunc=function(){return this.mergeGridCommonParams(this.gridOptions.tabToNextHeader)},e.prototype.getNavigateToNextCellFunc=function(){return this.mergeGridCommonParams(this.gridOptions.navigateToNextCell)},e.prototype.getTabToNextCellFunc=function(){return this.mergeGridCommonParams(this.gridOptions.tabToNextCell)},e.prototype.getGridTabIndex=function(){return(this.gridOptions.tabIndex||0).toString()},e.prototype.isTreeData=function(){return!!x(this.gridOptions.treeData)&&p.a.assertRegistered(u.a.RowGroupingModule,"Tree Data")},e.prototype.isValueCache=function(){return x(this.gridOptions.valueCache)},e.prototype.isValueCacheNeverExpires=function(){return x(this.gridOptions.valueCacheNeverExpires)},e.prototype.isDeltaSort=function(){return x(this.gridOptions.deltaSort)},e.prototype.isAggregateOnlyChangedColumns=function(){return x(this.gridOptions.aggregateOnlyChangedColumns)},e.prototype.getProcessPivotResultColDefFunc=function(){return this.gridOptions.processPivotResultColDef||this.gridOptions.processSecondaryColDef},e.prototype.getProcessPivotResultColGroupDefFunc=function(){return this.gridOptions.processPivotResultColGroupDef||this.gridOptions.processSecondaryColGroupDef},e.prototype.getSendToClipboardFunc=function(){return this.mergeGridCommonParams(this.gridOptions.sendToClipboard)},e.prototype.getProcessRowPostCreateFunc=function(){return this.mergeGridCommonParams(this.gridOptions.processRowPostCreate)},e.prototype.getProcessCellForClipboardFunc=function(){return this.mergeGridCommonParams(this.gridOptions.processCellForClipboard)},e.prototype.getProcessHeaderForClipboardFunc=function(){return this.mergeGridCommonParams(this.gridOptions.processHeaderForClipboard)},e.prototype.getProcessGroupHeaderForClipboardFunc=function(){return this.mergeGridCommonParams(this.gridOptions.processGroupHeaderForClipboard)},e.prototype.getProcessCellFromClipboardFunc=function(){return this.mergeGridCommonParams(this.gridOptions.processCellFromClipboard)},e.prototype.getViewportRowModelPageSize=function(){return T(this.gridOptions.viewportRowModelPageSize,5)},e.prototype.getViewportRowModelBufferSize=function(){return e=this.gridOptions.viewportRowModelBufferSize,t=5,e>=0?e:t;var e,t},e.prototype.isServerSideSortAllLevels=function(){var e=x(this.gridOptions.serverSideSortAllLevels);return!this.isRowModelServerSide()&&e?(Object(h.doOnce)((function(){return console.warn("AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.")}),"serverSideSortAllLevels"),!1):e},e.prototype.isServerSideFilterAllLevels=function(){var e=x(this.gridOptions.serverSideFilterAllLevels);return!this.isRowModelServerSide()&&e?(Object(h.doOnce)((function(){return console.warn("AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.")}),"serverSideFilterAllLevels"),!1):e},e.prototype.isServerSideSortOnServer=function(){var e=x(this.gridOptions.serverSideSortOnServer);return!this.isRowModelServerSide()&&e?(Object(h.doOnce)((function(){return console.warn("AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.")}),"serverSideSortOnServerRowModel"),!1):this.isTreeData()&&e?(Object(h.doOnce)((function(){return console.warn("AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.")}),"serverSideSortOnServerTreeData"),!1):e},e.prototype.isServerSideFilterOnServer=function(){var e=x(this.gridOptions.serverSideFilterOnServer);return!this.isRowModelServerSide()&&e?(Object(h.doOnce)((function(){return console.warn("AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.")}),"serverSideFilterOnServerRowModel"),!1):this.isTreeData()&&e?(Object(h.doOnce)((function(){return console.warn("AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.")}),"serverSideFilterOnServerTreeData"),!1):e},e.prototype.getPostSortFunc=function(){var e=this.gridOptions,t=e.postSortRows,r=e.postSort;return t?this.mergeGridCommonParams(t):r?function(e){return r(e.nodes)}:void 0},e.prototype.getChartToolbarItemsFunc=function(){return this.mergeGridCommonParams(this.gridOptions.getChartToolbarItems)},e.prototype.getChartThemeOverrides=function(){return this.gridOptions.chartThemeOverrides},e.prototype.getCustomChartThemes=function(){return this.gridOptions.customChartThemes},e.prototype.getChartThemes=function(){return this.gridOptions.chartThemes||["ag-default","ag-material","ag-pastel","ag-vivid","ag-solar"]},e.prototype.getChartToolPanelsDef=function(){return this.gridOptions.chartToolPanelsDef},e.prototype.getClipboardDelimiter=function(){return Object(v.exists)(this.gridOptions.clipboardDelimiter)?this.gridOptions.clipboardDelimiter:"\t"},e.prototype.setProperty=function(e,t,r){void 0===r&&(r=!1);var o=this.gridOptions[e];if(r||o!==t){this.gridOptions[e]=t;var n={type:e,currentValue:t,previousValue:o};this.propertyEventService.dispatchEvent(n)}},e.prototype.addEventListener=function(e,t){this.propertyEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.propertyEventService.removeEventListener(e,t)},e.prototype.isSkipHeaderOnAutoSize=function(){return!!this.gridOptions.skipHeaderOnAutoSize},e.prototype.getAutoSizePadding=function(){var e=this.gridOptions.autoSizePadding;return null!=e&&e>=0?e:20},e.prototype.getHeaderHeight=function(){return"number"==typeof this.gridOptions.headerHeight?this.gridOptions.headerHeight:this.getFromTheme(25,"headerHeight")},e.prototype.getFloatingFiltersHeight=function(){return"number"==typeof this.gridOptions.floatingFiltersHeight?this.gridOptions.floatingFiltersHeight:this.getFromTheme(25,"headerHeight")},e.prototype.getGroupHeaderHeight=function(){return"number"==typeof this.gridOptions.groupHeaderHeight?this.gridOptions.groupHeaderHeight:this.getHeaderHeight()},e.prototype.getPivotHeaderHeight=function(){return"number"==typeof this.gridOptions.pivotHeaderHeight?this.gridOptions.pivotHeaderHeight:this.getHeaderHeight()},e.prototype.getPivotGroupHeaderHeight=function(){return"number"==typeof this.gridOptions.pivotGroupHeaderHeight?this.gridOptions.pivotGroupHeaderHeight:this.getGroupHeaderHeight()},e.prototype.isExternalFilterPresent=function(){return"function"==typeof this.gridOptions.isExternalFilterPresent&&this.gridOptions.isExternalFilterPresent({api:this.getApi(),columnApi:this.getColumnApi(),context:this.getContext()})},e.prototype.doesExternalFilterPass=function(e){return"function"==typeof this.gridOptions.doesExternalFilterPass&&this.gridOptions.doesExternalFilterPass(e)},e.prototype.getTooltipDelay=function(e){var t=this.gridOptions,r=t.tooltipShowDelay,o=t.tooltipHideDelay,n="show"===e?r:o,i=Object(b.capitalise)(e);return Object(v.exists)(n)?(n<0&&Object(h.doOnce)((function(){return console.warn("ag-grid: tooltip"+i+"Delay should not be lower than 0")}),"tooltip"+i+"DelayWarn"),Math.max(200,n)):null},e.prototype.isTooltipMouseTrack=function(){return x(this.gridOptions.tooltipMouseTrack)},e.prototype.isSuppressModelUpdateAfterUpdateTransaction=function(){return x(this.gridOptions.suppressModelUpdateAfterUpdateTransaction)},e.prototype.getDocument=function(){var e=null;return this.gridOptions.getDocument&&Object(v.exists)(this.gridOptions.getDocument)?e=this.gridOptions.getDocument():this.eGridDiv&&(e=this.eGridDiv.ownerDocument),e&&Object(v.exists)(e)?e:document},e.prototype.getMinColWidth=function(){var e=this.gridOptions.minColWidth;if(Object(v.exists)(e)&&e>t.MIN_COL_WIDTH)return this.gridOptions.minColWidth;var r=this.getFromTheme(null,"headerCellMinWidth");return Object(v.exists)(r)?Math.max(r,t.MIN_COL_WIDTH):t.MIN_COL_WIDTH},e.prototype.getMaxColWidth=function(){return this.gridOptions.maxColWidth&&this.gridOptions.maxColWidth>t.MIN_COL_WIDTH?this.gridOptions.maxColWidth:null},e.prototype.getColWidth=function(){return"number"!=typeof this.gridOptions.colWidth||this.gridOptions.colWidth<t.MIN_COL_WIDTH?200:this.gridOptions.colWidth},e.prototype.getRowBuffer=function(){var e=this.gridOptions.rowBuffer;return"number"==typeof e?e<0&&(Object(h.doOnce)((function(){return console.warn("AG Grid: rowBuffer should not be negative")}),"warn rowBuffer negative"),this.gridOptions.rowBuffer=e=0):e=i.a.ROW_BUFFER_SIZE,e},e.prototype.getRowBufferInPixels=function(){return this.getRowBuffer()*this.getRowHeightAsNumber()},e.prototype.getScrollbarWidth=function(){if(null==this.scrollbarWidth){var e="number"==typeof this.gridOptions.scrollbarWidth&&this.gridOptions.scrollbarWidth>=0?this.gridOptions.scrollbarWidth:Object(g.getScrollbarWidth)();null!=e&&(this.scrollbarWidth=e,this.eventService.dispatchEvent({type:l.a.EVENT_SCROLLBAR_WIDTH_CHANGED}))}return this.scrollbarWidth},e.prototype.checkForDeprecated=function(){var e=this.gridOptions;e.deprecatedEmbedFullWidthRows&&console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows."),e.rowDeselection&&console.warn("AG Grid: since v24.x, rowDeselection is deprecated and the behaviour is true by default. Please use `suppressRowDeselection` to prevent rows from being deselected."),e.enableMultiRowDragging&&(e.rowDragMultiRow=!0,delete e.enableMultiRowDragging,console.warn("AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`."));var t=function(t,r,o){null!=e[t]&&(console.warn("AG Grid: since version "+o+", '"+t+"' is deprecated / renamed, please use the new property name '"+r+"' instead."),null==e[r]&&(e[r]=e[t]))};if(t("batchUpdateWaitMillis","asyncTransactionWaitMillis","23.1.x"),t("deltaRowDataMode","immutableData","23.1.x"),t("serverSideFilteringAlwaysResets","serverSideFilterAllLevels","28.0.0"),t("serverSideSortingAlwaysResets","serverSideSortAllLevels","28.0.0"),(e.immutableColumns||e.deltaColumnMode)&&console.warn("AG Grid: since v24.0, immutableColumns and deltaColumnMode properties are gone. The grid now works like this as default. To keep column order maintained, set grid property applyColumnDefOrder=true"),t("suppressSetColumnStateEvents","suppressColumnStateEvents","24.0.x"),e.groupRowInnerRenderer||e.groupRowInnerRendererParams||e.groupRowInnerRendererFramework){console.warn("AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used."),console.warn(" Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams."),console.warn(" For example instead of this:"),console.warn(' groupRowInnerRenderer: "myRenderer"'),console.warn(" groupRowInnerRendererParams: {x: a}"),console.warn(" Replace with this:"),console.warn(" groupRowRendererParams: {"),console.warn(' innerRenderer: "myRenderer",'),console.warn(" innerRendererParams: {x: a}"),console.warn(" }"),console.warn(" We have copied the properties over for you. However to stop this error message, please change your application code."),e.groupRowRendererParams||(e.groupRowRendererParams={});var r=e.groupRowRendererParams;e.groupRowInnerRenderer&&(r.innerRenderer=e.groupRowInnerRenderer),e.groupRowInnerRendererParams&&(r.innerRendererParams=e.groupRowInnerRendererParams),e.groupRowInnerRendererFramework&&(r.innerRendererFramework=e.groupRowInnerRendererFramework)}if(e.rememberGroupStateWhenNewData&&console.warn("AG Grid: since v24.0, grid property rememberGroupStateWhenNewData is deprecated. This feature was provided before Transaction Updates worked (which keep group state). Now that transaction updates are possible and they keep group state, this feature is no longer needed."),e.detailCellRendererParams&&e.detailCellRendererParams.autoHeight&&(console.warn("AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer"),e.detailRowAutoHeight=!0),e.suppressKeyboardEvent&&console.warn("AG Grid: since v24.1 suppressKeyboardEvent in the gridOptions has been deprecated and will be removed in\n future versions of AG Grid. If you need this to be set for every column use the defaultColDef property."),e.suppressEnterpriseResetOnNewColumns&&console.warn("AG Grid: since v25, grid property suppressEnterpriseResetOnNewColumns is deprecated. This was a temporary property to allow changing columns in Server Side Row Model without triggering a reload. Now that it is possible to dynamically change columns in the grid, this is no longer needed."),e.suppressColumnStateEvents&&console.warn('AG Grid: since v25, grid property suppressColumnStateEvents no longer works due to a refactor that we did. It should be possible to achieve similar using event.source, which would be "api" if the event was due to setting column state via the API'),e.defaultExportParams&&console.warn("AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`."),e.stopEditingWhenGridLosesFocus&&(console.warn("AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`."),e.stopEditingWhenCellsLoseFocus=!0),e.applyColumnDefOrder&&console.warn("AG Grid: since v26.0, the grid property `applyColumnDefOrder` is no longer needed, as this is the default behaviour. To turn this behaviour off, set maintainColumnOrder=true"),e.groupMultiAutoColumn&&(console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`"),e.groupDisplayType="multipleColumns"),e.groupUseEntireRow&&(console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`"),e.groupDisplayType="groupRows"),e.groupSuppressAutoColumn){var o=e.treeData?"treeDataDisplayType":"groupDisplayType";console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `"+o+" = 'custom'`"),e.groupDisplayType="custom"}e.defaultGroupOrderComparator&&console.warn("AG Grid: since v27.2, the grid property `defaultGroupOrderComparator` is deprecated and has been replaced by `initialGroupOrderComparator` and now receives a single params object."),e.defaultGroupSortComparator&&(console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`"),e.defaultGroupOrderComparator=e.defaultGroupSortComparator),e.groupRowAggNodes&&console.warn("AG Grid: since v27.2, the grid property `groupRowAggNodes` is deprecated and has been replaced by `getGroupRowAgg` and now receives a single params object."),e.postSort&&console.warn("AG Grid: since v27.2, the grid property `postSort` is deprecated and has been replaced by `postSortRows` and now receives a single params object."),e.isFullWidthCell&&console.warn("AG Grid: since v27.2, the grid property `isFullWidthCell` is deprecated and has been replaced by `isFullWidthRow` and now receives a single params object."),e.localeTextFunc&&console.warn("AG Grid: since v27.2, the grid property `localeTextFunc` is deprecated and has been replaced by `getLocaleText` and now receives a single params object."),e.colWidth&&console.warn("AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`."),e.minColWidth&&console.warn("AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`."),e.maxColWidth&&console.warn("AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`."),e.reactUi&&console.warn("AG Grid: since v27.0, React UI is on by default, so no need for reactUi=true. To turn it off, set suppressReactUi=true."),e.suppressReactUi&&console.warn("AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid."),e.suppressCellSelection&&(console.warn("AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`."),e.suppressCellFocus=e.suppressCellSelection),e.getRowNodeId&&console.warn("AG Grid: since v27.1, `getRowNodeId` is deprecated and has been replaced by `getRowId`. The difference: if getRowId() is implemented then immutable data is enabled by default."),e.immutableData&&(e.getRowId?console.warn("AG Grid: since v27.1, `immutableData` is deprecated. With the `getRowId` callback implemented, immutable data is enabled by default so you can remove `immutableData=true`."):console.warn("AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.")),e.clipboardDeliminator&&(console.warn("AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`."),e.clipboardDelimiter=e.clipboardDeliminator),t("processSecondaryColDef","processPivotResultColDef","28.0.x"),t("processSecondaryColGroupDef","processPivotResultColGroupDef","28.0.x"),e.serverSideStoreType&&(console.warn("AG Grid: since v28.0, `serverSideStoreType` has been replaced by `serverSideInfiniteScroll`. Set to true to use Partial Store, and false to use Full Store."),e.serverSideInfiniteScroll="partial"===e.serverSideStoreType),t("getServerSideStoreParams","getServerSideGroupLevelParams","28.0.x")},e.prototype.checkForViolations=function(){this.isTreeData()&&this.treeDataViolations()},e.prototype.treeDataViolations=function(){this.isRowModelDefault()&&Object(v.missing)(this.getDataPathFunc())&&console.warn("AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not provide getDataPath function, please provide getDataPath function if using tree data."),this.isRowModelServerSide()&&(Object(v.missing)(this.getIsServerSideGroupFunc())&&console.warn("AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide isServerSideGroup function, please provide isServerSideGroup function if using tree data."),Object(v.missing)(this.getServerSideGroupKeyFunc())&&console.warn("AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data."))},e.prototype.getLocaleTextFunc=function(){var e=this,t=this.gridOptions,r=t.localeText,o=t.getLocaleText,n=t.localeTextFunc;return o?function(t,r,n){var i={key:t,defaultValue:r,variableValues:n,api:e.getApi(),columnApi:e.getColumnApi(),context:e.getContext()};return o(i)}:n||function(e,t,o){var n=r&&r[e];if(n&&o&&o.length)for(var i=0;!(i>=o.length);){if(-1===n.indexOf("${variable}"))break;n=n.replace("${variable}",o[i++])}return null!=n?n:t}},e.prototype.globalEventHandler=function(e,t){if(!this.destroyed){var r=n.a.getCallbackForEvent(e);"function"==typeof this.gridOptions[r]&&this.gridOptions[r](t)}},e.prototype.setRowHeightVariable=function(e){var t=e+"px";this.eGridDiv.style.getPropertyValue("--ag-line-height").trim()!=t&&this.eGridDiv.style.setProperty("--ag-line-height",t)},e.prototype.getRowHeightAsNumber=function(){if(!this.gridOptions.rowHeight||Object(v.missing)(this.gridOptions.rowHeight))return this.getDefaultRowHeight();var e=this.gridOptions.rowHeight;return e&&this.isNumeric(e)?(this.setRowHeightVariable(e),e):(console.warn("AG Grid row height must be a number if not using standard row model"),this.getDefaultRowHeight())},e.prototype.isGetRowHeightFunction=function(){return"function"==typeof this.gridOptions.getRowHeight},e.prototype.getRowHeightForNode=function(e,t,r){if(void 0===t&&(t=!1),null==r&&(r=this.getDefaultRowHeight()),this.isGetRowHeightFunction()){if(t)return{height:r,estimated:!0};var o={node:e,data:e.data},n=this.mergeGridCommonParams(this.gridOptions.getRowHeight)(o);if(this.isNumeric(n))return 0===n&&Object(h.doOnce)((function(){return console.warn("AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.")}),"invalidRowHeight"),{height:Math.max(1,n),estimated:!1}}return e.detail&&this.isMasterDetail()?this.isDetailRowAutoHeight()?{height:1,estimated:!1}:this.isNumeric(this.gridOptions.detailRowHeight)?{height:this.gridOptions.detailRowHeight,estimated:!1}:{height:300,estimated:!1}:{height:this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:r,estimated:!1}},e.prototype.isDynamicRowHeight=function(){return"function"==typeof this.gridOptions.getRowHeight},e.prototype.getListItemHeight=function(){return this.getFromTheme(20,"listItemHeight")},e.prototype.chartMenuPanelWidth=function(){return this.environment.chartMenuPanelWidth()},e.prototype.isNumeric=function(e){return!isNaN(e)&&"number"==typeof e&&isFinite(e)},e.prototype.getFromTheme=function(e,t){var r=this.environment.getTheme().theme;return r&&0===r.indexOf("ag-theme")?this.environment.getSassVariable(r,t):e},e.prototype.getDefaultRowHeight=function(){return this.getFromTheme(25,"rowHeight")},e.prototype.matchesGroupDisplayType=function(e,t){var r=["groupRows","multipleColumns","custom","singleColumn"];return r.indexOf(t)<0?(console.warn("AG Grid: '"+t+"' is not a valid groupDisplayType value - possible values are: '"+r.join("', '")+"'"),!1):t===e},e.prototype.matchesTreeDataDisplayType=function(e,t){var r=["auto","custom"];return r.indexOf(t)<0?(console.warn("AG Grid: '"+t+"' is not a valid treeDataDisplayType value - possible values are: '"+r.join("', '")+"'"),!1):t===e},e.MIN_COL_WIDTH=10,e.PROP_HEADER_HEIGHT="headerHeight",e.PROP_GROUP_REMOVE_SINGLE_CHILDREN="groupRemoveSingleChildren",e.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN="groupRemoveLowestSingleChildren",e.PROP_GROUP_DISPLAY_TYPE="groupDisplayType",e.PROP_PIVOT_HEADER_HEIGHT="pivotHeaderHeight",e.PROP_SUPPRESS_CLIPBOARD_PASTE="suppressClipboardPaste",e.PROP_GROUP_HEADER_HEIGHT="groupHeaderHeight",e.PROP_PIVOT_GROUP_HEADER_HEIGHT="pivotGroupHeaderHeight",e.PROP_NAVIGATE_TO_NEXT_CELL="navigateToNextCell",e.PROP_TAB_TO_NEXT_CELL="tabToNextCell",e.PROP_NAVIGATE_TO_NEXT_HEADER="navigateToNextHeader",e.PROP_TAB_TO_NEXT_HEADER="tabToNextHeader",e.PROP_IS_EXTERNAL_FILTER_PRESENT="isExternalFilterPresent",e.PROP_DOES_EXTERNAL_FILTER_PASS="doesExternalFilterPass",e.PROP_FLOATING_FILTERS_HEIGHT="floatingFiltersHeight",e.PROP_SUPPRESS_ROW_CLICK_SELECTION="suppressRowClickSelection",e.PROP_SUPPRESS_ROW_DRAG="suppressRowDrag",e.PROP_SUPPRESS_MOVE_WHEN_ROW_DRAG="suppressMoveWhenRowDragging",e.PROP_GET_ROW_CLASS="getRowClass",e.PROP_GET_ROW_STYLE="getRowStyle",e.PROP_GET_ROW_HEIGHT="getRowHeight",e.PROP_POPUP_PARENT="popupParent",e.PROP_DOM_LAYOUT="domLayout",e.PROP_ROW_CLASS="rowClass",e.PROP_FILL_HANDLE_DIRECTION="fillHandleDirection",e.PROP_GROUP_ROW_AGG_NODES="groupRowAggNodes",e.PROP_GET_GROUP_ROW_AGG="getGroupRowAgg",e.PROP_GET_BUSINESS_KEY_FOR_NODE="getBusinessKeyForNode",e.PROP_GET_CHILD_COUNT="getChildCount",e.PROP_PROCESS_ROW_POST_CREATE="processRowPostCreate",e.PROP_GET_ROW_NODE_ID="getRowNodeId",e.PROP_GET_ROW_ID="getRowId",e.PROP_IS_FULL_WIDTH_CELL="isFullWidthCell",e.PROP_IS_FULL_WIDTH_ROW="isFullWidthRow",e.PROP_IS_ROW_SELECTABLE="isRowSelectable",e.PROP_IS_ROW_MASTER="isRowMaster",e.PROP_POST_SORT="postSort",e.PROP_POST_SORT_ROWS="postSortRows",e.PROP_GET_DOCUMENT="getDocument",e.PROP_POST_PROCESS_POPUP="postProcessPopup",e.PROP_DEFAULT_GROUP_ORDER_COMPARATOR="defaultGroupOrderComparator",e.PROP_INITIAL_GROUP_ORDER_COMPARATOR="initialGroupOrderComparator",e.PROP_PAGINATION_NUMBER_FORMATTER="paginationNumberFormatter",e.PROP_GET_CONTEXT_MENU_ITEMS="getContextMenuItems",e.PROP_GET_MAIN_MENU_ITEMS="getMainMenuItems",e.PROP_PROCESS_CELL_FOR_CLIPBOARD="processCellForClipboard",e.PROP_PROCESS_CELL_FROM_CLIPBOARD="processCellFromClipboard",e.PROP_SEND_TO_CLIPBOARD="sendToClipboard",e.PROP_PROCESS_PIVOT_RESULT_COL_DEF="processPivotResultColDef",e.PROP_PROCESS_PIVOT_RESULT_COL_GROUP_DEF="processPivotResultColGroupDef",e.PROP_GET_CHART_TOOLBAR_ITEMS="getChartToolbarItems",e.PROP_GET_SERVER_SIDE_GROUP_PARAMS="getServerSideGroupLevelParams",e.PROP_IS_SERVER_SIDE_GROUPS_OPEN_BY_DEFAULT="isServerSideGroupOpenByDefault",e.PROP_IS_APPLY_SERVER_SIDE_TRANSACTION="isApplyServerSideTransaction",e.PROP_IS_SERVER_SIDE_GROUP="isServerSideGroup",e.PROP_GET_SERVER_SIDE_GROUP_KEY="getServerSideGroupKey",e.PROP_AUTO_GROUP_COLUMN_DEF="autoGroupColumnDef",e.PROP_DEFAULT_COL_DEF="defaultColDef",C([Object(a.a)("gridOptions")],e.prototype,"gridOptions",void 0),C([Object(a.a)("eventService")],e.prototype,"eventService",void 0),C([Object(a.a)("environment")],e.prototype,"environment",void 0),C([Object(a.a)("eGridDiv")],e.prototype,"eGridDiv",void 0),C([O(0,Object(a.h)("gridApi")),O(1,Object(a.h)("columnApi"))],e.prototype,"agWire",null),C([a.g],e.prototype,"destroy",null),C([a.e],e.prototype,"init",null),e=t=C([Object(a.b)("gridOptionsWrapper")],e)}()},function(e,t,r){"use strict";r.r(t),r.d(t,"doOnce",(function(){return n})),r.d(t,"getFunctionName",(function(){return i})),r.d(t,"isFunction",(function(){return a})),r.d(t,"executeInAWhile",(function(){return s})),r.d(t,"executeNextVMTurn",(function(){return u})),r.d(t,"executeAfter",(function(){return p})),r.d(t,"debounce",(function(){return d})),r.d(t,"throttle",(function(){return g})),r.d(t,"waitUntil",(function(){return h})),r.d(t,"compose",(function(){return f})),r.d(t,"callIfPresent",(function(){return v})),r.d(t,"noop",(function(){return y}));var o={};function n(e,t){o[t]||(e(),o[t]=!0)}function i(e){if(e.name)return e.name;var t=/function\s+([^\(]+)/.exec(e.toString());return t&&2===t.length?t[1].trim():null}function a(e){return!!(e&&e.constructor&&e.call&&e.apply)}function s(e){p(e,400)}var l=[],c=!1;function u(e){l.push(e),c||(c=!0,window.setTimeout((function(){var e=l.slice();l.length=0,c=!1,e.forEach((function(e){return e()}))}),0))}function p(e,t){void 0===t&&(t=0),e.length>0&&window.setTimeout((function(){return e.forEach((function(e){return e()}))}),t)}function d(e,t,r){var o;return void 0===r&&(r=!1),function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=this,s=r&&!o;window.clearTimeout(o),o=window.setTimeout((function(){o=null,r||e.apply(a,n)}),t),s&&e.apply(a,n)}}function g(e,t){var r=0;return function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=this,a=(new Date).getTime();a-r<t||(r=a,e.apply(i,o))}}function h(e,t,r,o){void 0===r&&(r=100);var n=(new Date).getTime(),i=null,a=!1,s=function(){var s=(new Date).getTime()-n>r;(e()||s)&&(t(),a=!0,null!=i&&(window.clearInterval(i),i=null),s&&o&&console.warn(o))};s(),a||(i=window.setInterval(s,10))}function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.reduce((function(e,t){return t(e)}),t)}}function v(e){e&&e()}var y=function(){}},function(e,t,r){"use strict";r.r(t),r.d(t,"iterateObject",(function(){return n})),r.d(t,"cloneObject",(function(){return i})),r.d(t,"deepCloneObject",(function(){return a})),r.d(t,"deepCloneDefinition",(function(){return s})),r.d(t,"getProperty",(function(){return l})),r.d(t,"setProperty",(function(){return c})),r.d(t,"copyPropertiesIfPresent",(function(){return u})),r.d(t,"copyPropertyIfPresent",(function(){return p})),r.d(t,"getAllKeysInObjects",(function(){return d})),r.d(t,"getAllValuesInObject",(function(){return g})),r.d(t,"mergeDeep",(function(){return h})),r.d(t,"missingOrEmptyObject",(function(){return f})),r.d(t,"get",(function(){return v})),r.d(t,"set",(function(){return y})),r.d(t,"deepFreeze",(function(){return m})),r.d(t,"getValueUsingField",(function(){return b})),r.d(t,"removeAllReferences",(function(){return w})),r.d(t,"isNonNullObject",(function(){return C}));var o=r(2);function n(e,t){null!=e&&(Array.isArray(e)?e.forEach((function(e,r){return t(""+r,e)})):Object.keys(e).forEach((function(r){return t(r,e[r])})))}function i(e){for(var t={},r=Object.keys(e),o=0;o<r.length;o++){var n=r[o],i=e[n];t[n]=i}return t}function a(e){return JSON.parse(JSON.stringify(e))}function s(e,t){if(e){var r=e,o={};return Object.keys(r).forEach((function(e){if(!(t&&t.indexOf(e)>=0)){var n=r[e],i=C(n)&&n.constructor===Object;o[e]=i?s(n):n}})),o}}function l(e,t){return e[t]}function c(e,t,r){e[t]=r}function u(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];r.forEach((function(r){return p(e,t,r)}))}function p(e,t,r,o){var n=l(e,r);void 0!==n&&c(t,r,o?o(n):n)}function d(e){var t={};return e.filter((function(e){return null!=e})).forEach((function(e){Object.keys(e).forEach((function(e){return t[e]=null}))})),Object.keys(t)}function g(e){if(!e)return[];var t=Object;if("function"==typeof t.values)return t.values(e);var r=[];for(var o in e)e.hasOwnProperty(o)&&e.propertyIsEnumerable(o)&&r.push(e[o]);return r}function h(e,t,r,i){void 0===r&&(r=!0),void 0===i&&(i=!1),Object(o.exists)(t)&&n(t,(function(t,o){var n=e[t];if(n!==o){if(i)if(null==n&&null!=o)"object"==typeof o&&o.constructor===Object&&(n={},e[t]=n);C(o)&&C(n)&&!Array.isArray(n)?h(n,o,r,i):(r||void 0!==o)&&(e[t]=o)}}))}function f(e){return Object(o.missing)(e)||0===Object.keys(e).length}function v(e,t,r){if(null==e)return r;for(var o=t.split("."),n=e;o.length>1;)if(null==(n=n[o.shift()]))return r;var i=n[o[0]];return null!=i?i:r}function y(e,t,r){if(null!=e){for(var o=t.split("."),n=e;o.length>1;)if(null==(n=n[o.shift()]))return;n[o[0]]=r}}function m(e){return Object.freeze(e),Object(o.values)(e).forEach((function(e){(C(e)||"function"==typeof e)&&m(e)})),e}function b(e,t,r){if(t&&e){if(!r)return e[t];for(var o=t.split("."),n=e,i=0;i<o.length;i++){if(null==n)return;n=n[o[i]]}return n}}function w(e,t){Object.keys(e).forEach((function(t){"object"==typeof e[t]&&(e[t]=void 0)}));var r=Object.getPrototypeOf(e),o={};Object.keys(r).forEach((function(e){if("function"==typeof r[e]){o[e]={value:function(){console.warn("AG Grid: "+t+" function "+e+"() cannot be called as the grid has been destroyed.\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\n be keeping the API reference, your application has a memory leak! Remove the API reference\n when the grid is destroyed.")},writable:!0}}})),Object.defineProperties(e,o)}function C(e){return"object"==typeof e&&null!==e}},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(1),i=r(6),a=r(24),s=r(5),l=r(13),c=r(63),u=r(122),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=new a.d,h=function(e){function t(t){var r=e.call(this)||this;return r.displayed=!0,r.visible=!0,r.compId=g.next(),r.cssClassManager=new u.a((function(){return r.eGui})),t&&r.setTemplate(t),r}return p(t,e),t.prototype.preConstructOnComponent=function(){this.usingBrowserTooltips=this.gridOptionsWrapper.isEnableBrowserTooltips()},t.prototype.getCompId=function(){return this.compId},t.prototype.getTooltipParams=function(){return{value:this.tooltipText,location:"UNKNOWN"}},t.prototype.setTooltip=function(e){var t=this;this.tooltipText!=e&&(this.tooltipText&&(t.usingBrowserTooltips?t.getGui().removeAttribute("title"):t.tooltipFeature=t.destroyBean(t.tooltipFeature)),null!=e&&(this.tooltipText=e,this.tooltipText&&(t.usingBrowserTooltips?t.getGui().setAttribute("title",t.tooltipText):t.tooltipFeature=t.createBean(new c.a(t)))))},t.prototype.createChildComponentsFromTags=function(e,t){var r=this;Object(s.copyNodeList)(e.childNodes).forEach((function(o){if(o instanceof HTMLElement){var n=r.createComponentFromElement(o,(function(e){e.getGui()&&r.copyAttributesFromNode(o,e.getGui())}),t);if(n){if(n.addItems&&o.children.length){r.createChildComponentsFromTags(o,t);var i=Array.prototype.slice.call(o.children);n.addItems(i)}r.swapComponentForNode(n,e,o)}else o.childNodes&&r.createChildComponentsFromTags(o,t)}}))},t.prototype.createComponentFromElement=function(e,r,o){var n=e.nodeName,i=o?o[e.getAttribute("ref")]:void 0,a=this.agStackComponentsRegistry.getComponentClass(n);if(a){t.elementGettingCreated=e;var s=new a(i);return s.setParentComponent(this),this.createBean(s,null,r),s}return null},t.prototype.copyAttributesFromNode=function(e,t){Object(s.iterateNamedNodeMap)(e.attributes,(function(e,r){return t.setAttribute(e,r)}))},t.prototype.swapComponentForNode=function(e,t,r){var o=e.getGui();t.replaceChild(o,r),t.insertBefore(document.createComment(r.nodeName),o),this.addDestroyFunc(this.destroyBean.bind(this,e)),this.swapInComponentForQuerySelectors(e,r)},t.prototype.swapInComponentForQuerySelectors=function(e,t){var r=this;this.iterateOverQuerySelectors((function(o){r[o.attributeName]===t&&(r[o.attributeName]=e)}))},t.prototype.iterateOverQuerySelectors=function(e){for(var t=Object.getPrototypeOf(this);null!=t;){var r=t.__agComponentMetaData,o=Object(l.getFunctionName)(t.constructor);r&&r[o]&&r[o].querySelectors&&r[o].querySelectors.forEach((function(t){return e(t)})),t=Object.getPrototypeOf(t)}},t.prototype.setTemplate=function(e,t){var r=Object(s.loadTemplate)(e);this.setTemplateFromElement(r,t)},t.prototype.setTemplateFromElement=function(e,t){this.eGui=e,this.eGui.__agComponent=this,this.wireQuerySelectors(),this.getContext()&&this.createChildComponentsFromTags(this.getGui(),t)},t.prototype.createChildComponentsPreConstruct=function(){this.getGui()&&this.createChildComponentsFromTags(this.getGui())},t.prototype.wireQuerySelectors=function(){var e=this;if(this.eGui){var t=this;this.iterateOverQuerySelectors((function(r){var o=function(e){return t[r.attributeName]=e};if(r.refSelector&&e.eGui.getAttribute("ref")===r.refSelector)o(e.eGui);else{var n=e.eGui.querySelector(r.querySelector);n&&o(n.__agComponent||n)}}))}},t.prototype.getGui=function(){return this.eGui},t.prototype.getFocusableElement=function(){return this.eGui},t.prototype.setParentComponent=function(e){this.parentComponent=e},t.prototype.getParentComponent=function(){return this.parentComponent},t.prototype.setGui=function(e){this.eGui=e},t.prototype.queryForHtmlElement=function(e){return this.eGui.querySelector(e)},t.prototype.queryForHtmlInputElement=function(e){return this.eGui.querySelector(e)},t.prototype.appendChild=function(e,t){if(null!=e)if(t||(t=this.eGui),Object(s.isNodeOrElement)(e))t.appendChild(e);else{var r=e;t.appendChild(r.getGui())}},t.prototype.isDisplayed=function(){return this.displayed},t.prototype.setVisible=function(e){e!==this.visible&&(this.visible=e,Object(s.setVisible)(this.eGui,e))},t.prototype.setDisplayed=function(e){if(e!==this.displayed){this.displayed=e,Object(s.setDisplayed)(this.eGui,e);var r={type:t.EVENT_DISPLAYED_CHANGED,visible:this.displayed};this.dispatchEvent(r)}},t.prototype.destroy=function(){this.tooltipFeature&&(this.tooltipFeature=this.destroyBean(this.tooltipFeature)),e.prototype.destroy.call(this)},t.prototype.addGuiEventListener=function(e,t){var r=this;this.eGui.addEventListener(e,t),this.addDestroyFunc((function(){return r.eGui.removeEventListener(e,t)}))},t.prototype.addCssClass=function(e){this.cssClassManager.addCssClass(e)},t.prototype.removeCssClass=function(e){this.cssClassManager.removeCssClass(e)},t.prototype.containsCssClass=function(e){return this.cssClassManager.containsCssClass(e)},t.prototype.addOrRemoveCssClass=function(e,t){this.cssClassManager.addOrRemoveCssClass(e,t)},t.prototype.getAttribute=function(e){var t=this.eGui;return t?t.getAttribute(e):null},t.prototype.getRefElement=function(e){return this.queryForHtmlElement('[ref="'+e+'"]')},t.EVENT_DISPLAYED_CHANGED="displayedChanged",d([Object(n.a)("agStackComponentsRegistry")],t.prototype,"agStackComponentsRegistry",void 0),d([n.f],t.prototype,"preConstructOnComponent",null),d([n.f],t.prototype,"createChildComponentsPreConstruct",null),t}(i.a)},function(e,t,r){"use strict";var o;r.d(t,"a",(function(){return o})),function(e){e.CommunityCoreModule="@ag-grid-community/core",e.CommunityAllModules="@ag-grid-community/all",e.InfiniteRowModelModule="@ag-grid-community/infinite-row-model",e.ClientSideRowModelModule="@ag-grid-community/client-side-row-model",e.CsvExportModule="@ag-grid-community/csv-export",e.EnterpriseCoreModule="@ag-grid-enterprise/core",e.EnterpriseAllModules="@ag-grid-enterprise/all",e.RowGroupingModule="@ag-grid-enterprise/row-grouping",e.ColumnToolPanelModule="@ag-grid-enterprise/column-tool-panel",e.FiltersToolPanelModule="@ag-grid-enterprise/filter-tool-panel",e.MenuModule="@ag-grid-enterprise/menu",e.SetFilterModule="@ag-grid-enterprise/set-filter",e.MultiFilterModule="@ag-grid-enterprise/multi-filter",e.StatusBarModule="@ag-grid-enterprise/status-bar",e.SideBarModule="@ag-grid-enterprise/side-bar",e.RangeSelectionModule="@ag-grid-enterprise/range-selection",e.MasterDetailModule="@ag-grid-enterprise/master-detail",e.RichSelectModule="@ag-grid-enterprise/rich-select",e.GridChartsModule="@ag-grid-enterprise/charts",e.ViewportRowModelModule="@ag-grid-enterprise/viewport-row-model",e.ServerSideRowModelModule="@ag-grid-enterprise/server-side-row-model",e.ExcelExportModule="@ag-grid-enterprise/excel-export",e.ClipboardModule="@ag-grid-enterprise/clipboard",e.SparklinesModule="@ag-grid-enterprise/sparklines",e.AngularModule="@ag-grid-community/angular",e.ReactModule="@ag-grid-community/react",e.VueModule="@ag-grid-community/vue",e.PolymerModule="@ag-grid-community/polymer"}(o||(o={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var o=r(13),n=r(2),i=function(){function e(){}return e.register=function(t,r){void 0===r&&(r=!0),e.modulesMap[t.moduleName]=t,void 0===e.moduleBased?e.moduleBased=r:e.moduleBased!==r&&Object(o.doOnce)((function(){console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms."),console.warn("Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.")}),"ModulePackageCheck")},e.registerModules=function(t,r){void 0===r&&(r=!0),t&&t.forEach((function(t){return e.register(t,r)}))},e.assertRegistered=function(t,r){if(this.isRegistered(t))return!0;var n,i=r+t;return n=e.moduleBased?"AG Grid: unable to use "+r+" as module "+t+" is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/":"AG Grid: unable to use "+r+" as package 'ag-grid-enterprise' is not present. Please see: https://www.ag-grid.com/javascript-grid/packages/",Object(o.doOnce)((function(){console.warn(n)}),i),!1},e.isRegistered=function(t){return!!e.modulesMap[t]},e.getRegisteredModules=function(){return Object(n.values)(e.modulesMap)},e.isPackageBased=function(){return!e.moduleBased},e.modulesMap={},e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"getBrowserInfo",(function(){return h})),r.d(t,"isBrowserEdge",(function(){return f})),r.d(t,"isBrowserSafari",(function(){return v})),r.d(t,"isBrowserChrome",(function(){return y})),r.d(t,"isBrowserFirefox",(function(){return m})),r.d(t,"isMacOsUserAgent",(function(){return b})),r.d(t,"isIOSUserAgent",(function(){return w})),r.d(t,"browserSupportsPreventScroll",(function(){return C})),r.d(t,"getTabIndex",(function(){return O})),r.d(t,"getMaxDivHeight",(function(){return S})),r.d(t,"getScrollbarWidth",(function(){return E})),r.d(t,"isInvisibleScrollbar",(function(){return R})),r.d(t,"hasOverflowScrolling",(function(){return T})),r.d(t,"getBodyWidth",(function(){return A})),r.d(t,"getBodyHeight",(function(){return P}));var o,n,i,a,s,l,c,u,p,d,g=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function h(){if(d)return d;var e,t,r=navigator.userAgent,o=r.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(o[1]))return{name:"IE",version:t=null!=(e=/\brv[ :]+(\d+)/g.exec(r)||[])[1]?parseFloat(e[1]):0};if("Chrome"===o[1]&&null!=(e=r.match(/\bOPR|Edge\/(\d+)/)))return{name:"Opera",version:t=null!=e[1]?parseFloat(e[1]):0};o=o[2]?[o[1],o[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=r.match(/version\/(\d+)/i))&&o.splice(1,1,e[1]);var n=o[0];return t=null!=o[1]?parseFloat(o[1]):0,d={name:n,version:t}}function f(){return void 0===i&&(i=!(void 0===n&&(n=!!document.documentMode),n||!window.StyleMedia)),i}function v(){return void 0===o&&(o=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),o}function y(){if(void 0===a){var e=window;a=!!e.chrome&&(!!e.chrome.webstore||!!e.chrome.runtime)||/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}return a}function m(){if(void 0===s){var e=window;s=void 0!==e.InstallTrigger}return s}function b(){return void 0===l&&(l=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),l}function w(){return void 0===c&&(c=(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream),c}function C(){return!v()||h().version>=15}function O(e){if(!e)return null;var t=e.tabIndex,r=e.getAttribute("tabIndex");return-1!==t||null!==r&&(""!==r||m())?t.toString():null}function S(){if(!document.body)return-1;var e=1e6,t=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,r=document.createElement("div");for(document.body.appendChild(r);;){var o=2*e;if(r.style.height=o+"px",o>t||r.clientHeight!==o)break;e=o}return document.body.removeChild(r),e}function E(){return null==p&&x(),p}function x(){var e=document.body,t=document.createElement("div");t.style.width=t.style.height="100px",t.style.opacity="0",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",t.style.position="absolute",e.appendChild(t);var r=t.offsetWidth-t.clientWidth;0===r&&0===t.clientWidth&&(r=null),t.parentNode&&t.parentNode.removeChild(t),null!=r&&(p=r,u=0===r)}function R(){return null==u&&x(),u}function T(){var e,t,r=["webkit","moz","o","ms"],o=document.createElement("div"),n=!1;document.getElementsByTagName("body")[0].appendChild(o),o.setAttribute("style",r.map((function(e){return"-"+e+"-overflow-scrolling: touch"})).concat("overflow-scrolling: touch").join(";"));var i=window.getComputedStyle(o);if("touch"===i.overflowScrolling&&(n=!0),!n)try{for(var a=g(r),s=a.next();!s.done;s=a.next())if("touch"===i[s.value+"OverflowScrolling"]){n=!0;break}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return o.parentNode&&o.parentNode.removeChild(o),n}function A(){return document.body?document.body.clientWidth:window.innerHeight?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:-1}function P(){return document.body?document.body.clientHeight:window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:-1}},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o=r(38),n=r(1),i=r(3),a=r(16),s=r(17),l=r(2),c=r(13),u=r(14),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=0,g=function(){function e(e,t,r,n){this.instanceId=d++,this.autoHeaderHeight=null,this.moving=!1,this.menuVisible=!1,this.filterActive=!1,this.eventService=new o.a,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=e,this.userProvidedColDef=t,this.colId=r,this.primary=n,this.setState(e)}return e.prototype.getInstanceId=function(){return this.instanceId},e.prototype.setState=function(e){void 0!==e.sort?e.sort!==i.a.SORT_ASC&&e.sort!==i.a.SORT_DESC||(this.sort=e.sort):e.initialSort!==i.a.SORT_ASC&&e.initialSort!==i.a.SORT_DESC||(this.sort=e.initialSort);var t=Object(l.attrToNumber)(e.sortIndex),r=Object(l.attrToNumber)(e.initialSortIndex);void 0!==t?null!==t&&(this.sortIndex=t):null!==r&&(this.sortIndex=r);var o=Object(l.attrToBoolean)(e.hide),n=Object(l.attrToBoolean)(e.initialHide);this.visible=void 0!==o?!o:!n,void 0!==e.pinned?this.setPinned(e.pinned):this.setPinned(e.initialPinned);var a=Object(l.attrToNumber)(e.flex),s=Object(l.attrToNumber)(e.initialFlex);void 0!==a?this.flex=a:void 0!==s&&(this.flex=s)},e.prototype.setColDef=function(t,r){this.colDef=t,this.userProvidedColDef=r,this.initMinAndMaxWidths(),this.initDotNotation(),this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_COL_DEF_CHANGED,"api"))},e.prototype.getUserProvidedColDef=function(){return this.userProvidedColDef},e.prototype.setParent=function(e){this.parent=e},e.prototype.getParent=function(){return this.parent},e.prototype.setOriginalParent=function(e){this.originalParent=e},e.prototype.getOriginalParent=function(){return this.originalParent},e.prototype.initialise=function(){this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.validate()},e.prototype.initDotNotation=function(){var e=this.gridOptionsWrapper.isSuppressFieldDotNotation();this.fieldContainsDots=Object(l.exists)(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!e,this.tooltipFieldContainsDots=Object(l.exists)(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(".")>=0&&!e},e.prototype.initMinAndMaxWidths=function(){var e=this.colDef;this.minWidth=this.columnUtils.calculateColMinWidth(e),this.maxWidth=this.columnUtils.calculateColMaxWidth(e)},e.prototype.resetActualWidth=function(e){void 0===e&&(e="api");var t=this.columnUtils.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)},e.prototype.isEmptyGroup=function(){return!1},e.prototype.isRowGroupDisplayed=function(e){if(Object(l.missing)(this.colDef)||Object(l.missing)(this.colDef.showRowGroup))return!1;var t=!0===this.colDef.showRowGroup,r=this.colDef.showRowGroup===e;return t||r},e.prototype.isPrimary=function(){return this.primary},e.prototype.isFilterAllowed=function(){return!!this.colDef.filter||!!this.colDef.filterFramework},e.prototype.isFieldContainsDots=function(){return this.fieldContainsDots},e.prototype.isTooltipFieldContainsDots=function(){return this.tooltipFieldContainsDots},e.prototype.validate=function(){var e=this.colDef;function t(e,t,r){Object(c.doOnce)((function(){r?console.warn(e,r):Object(c.doOnce)((function(){return console.warn(e)}),t)}),t)}if(this.gridOptionsWrapper.isRowModelDefault()&&!s.a.isRegistered(a.a.RowGroupingModule)){["enableRowGroup","rowGroup","rowGroupIndex","enablePivot","enableValue","pivot","pivotIndex","aggFunc"].forEach((function(r){Object(l.exists)(e[r])&&(s.a.isPackageBased()?t("AG Grid: "+r+" is only valid in ag-grid-enterprise, your column definition should not have "+r,"ColumnRowGroupingMissing"+r):t("AG Grid: "+r+" is only valid with AG Grid Enterprise Module "+a.a.RowGroupingModule+" - your column definition should not have "+r,"ColumnRowGroupingMissing"+r))}))}if(s.a.isRegistered(a.a.RichSelectModule)||"agRichSelect"!==this.colDef.cellEditor&&"agRichSelectCellEditor"!==this.colDef.cellEditor||(s.a.isPackageBased()?t("AG Grid: "+this.colDef.cellEditor+" can only be used with ag-grid-enterprise","ColumnRichSelectMissing"):t("AG Grid: "+this.colDef.cellEditor+" can only be used with AG Grid Enterprise Module "+a.a.RichSelectModule,"ColumnRichSelectMissing")),this.gridOptionsWrapper.isTreeData()){["rowGroup","rowGroupIndex","pivot","pivotIndex"].forEach((function(r){Object(l.exists)(e[r])&&t("AG Grid: "+r+" is not possible when doing tree data, your column definition should not have "+r,"TreeDataCannotRowGroup")}))}Object(l.exists)(this.colDef.width)&&"number"!=typeof this.colDef.width&&t("AG Grid: colDef.width should be a number, not "+typeof this.colDef.width,"ColumnCheck_asdfawef"),e.pinnedRowCellRenderer&&t("AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column","colDef.pinnedRowCellRenderer-deprecated"),e.pinnedRowCellRendererParams&&t("AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column","colDef.pinnedRowCellRenderer-deprecated"),e.pinnedRowCellRendererFramework&&t("AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column","colDef.pinnedRowCellRenderer-deprecated"),e.pinnedRowValueGetter&&t("AG Grid: pinnedRowCellRenderer is deprecated, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue.","colDef.pinnedRowCellRenderer-deprecated")},e.prototype.addEventListener=function(e,t){this.eventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventService.removeEventListener(e,t)},e.prototype.createColumnFunctionCallbackParams=function(e){return{node:e,data:e.data,column:this,colDef:this.colDef,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()}},e.prototype.isSuppressNavigable=function(e){if("boolean"==typeof this.colDef.suppressNavigable)return this.colDef.suppressNavigable;if("function"==typeof this.colDef.suppressNavigable){var t=this.createColumnFunctionCallbackParams(e);return(0,this.colDef.suppressNavigable)(t)}return!1},e.prototype.isCellEditable=function(e){return!(e.group&&!this.gridOptionsWrapper.isEnableGroupEdit())&&this.isColumnFunc(e,this.colDef.editable)},e.prototype.isSuppressFillHandle=function(){return!!Object(l.attrToBoolean)(this.colDef.suppressFillHandle)},e.prototype.isAutoHeight=function(){return!!Object(l.attrToBoolean)(this.colDef.autoHeight)},e.prototype.isAutoHeaderHeight=function(){return!!Object(l.attrToBoolean)(this.colDef.autoHeaderHeight)},e.prototype.isRowDrag=function(e){return this.isColumnFunc(e,this.colDef.rowDrag)},e.prototype.isDndSource=function(e){return this.isColumnFunc(e,this.colDef.dndSource)},e.prototype.isCellCheckboxSelection=function(e){return this.isColumnFunc(e,this.colDef.checkboxSelection)},e.prototype.isSuppressPaste=function(e){return this.isColumnFunc(e,this.colDef?this.colDef.suppressPaste:null)},e.prototype.isResizable=function(){return!!Object(l.attrToBoolean)(this.colDef.resizable)},e.prototype.isColumnFunc=function(e,t){return"boolean"==typeof t?t:"function"==typeof t&&t(this.createColumnFunctionCallbackParams(e))},e.prototype.setMoving=function(t,r){void 0===r&&(r="api"),this.moving=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_MOVING_CHANGED,r))},e.prototype.createColumnEvent=function(e,t){return{type:e,column:this,columns:[this],source:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}},e.prototype.isMoving=function(){return this.moving},e.prototype.getSort=function(){return this.sort},e.prototype.setSort=function(t,r){void 0===r&&(r="api"),this.sort!==t&&(this.sort=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_SORT_CHANGED,r)))},e.prototype.setMenuVisible=function(t,r){void 0===r&&(r="api"),this.menuVisible!==t&&(this.menuVisible=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_MENU_VISIBLE_CHANGED,r)))},e.prototype.isMenuVisible=function(){return this.menuVisible},e.prototype.isSortAscending=function(){return this.sort===i.a.SORT_ASC},e.prototype.isSortDescending=function(){return this.sort===i.a.SORT_DESC},e.prototype.isSortNone=function(){return Object(l.missing)(this.sort)},e.prototype.isSorting=function(){return Object(l.exists)(this.sort)},e.prototype.getSortIndex=function(){return this.sortIndex},e.prototype.setSortIndex=function(e){this.sortIndex=e},e.prototype.setAggFunc=function(e){this.aggFunc=e},e.prototype.getAggFunc=function(){return this.aggFunc},e.prototype.getLeft=function(){return this.left},e.prototype.getOldLeft=function(){return this.oldLeft},e.prototype.getRight=function(){return this.left+this.actualWidth},e.prototype.setLeft=function(t,r){void 0===r&&(r="api"),this.oldLeft=this.left,this.left!==t&&(this.left=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_LEFT_CHANGED,r)))},e.prototype.isFilterActive=function(){return this.filterActive},e.prototype.setFilterActive=function(t,r,o){void 0===r&&(r="api"),this.filterActive!==t&&(this.filterActive=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_FILTER_ACTIVE_CHANGED,r)));var n=this.createColumnEvent(e.EVENT_FILTER_CHANGED,r);o&&Object(u.mergeDeep)(n,o),this.eventService.dispatchEvent(n)},e.prototype.setPinned=function(e){!0===e||e===i.a.PINNED_LEFT?this.pinned=i.a.PINNED_LEFT:e===i.a.PINNED_RIGHT?this.pinned=i.a.PINNED_RIGHT:this.pinned=null},e.prototype.setFirstRightPinned=function(t,r){void 0===r&&(r="api"),this.firstRightPinned!==t&&(this.firstRightPinned=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_FIRST_RIGHT_PINNED_CHANGED,r)))},e.prototype.setLastLeftPinned=function(t,r){void 0===r&&(r="api"),this.lastLeftPinned!==t&&(this.lastLeftPinned=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_LAST_LEFT_PINNED_CHANGED,r)))},e.prototype.isFirstRightPinned=function(){return this.firstRightPinned},e.prototype.isLastLeftPinned=function(){return this.lastLeftPinned},e.prototype.isPinned=function(){return this.pinned===i.a.PINNED_LEFT||this.pinned===i.a.PINNED_RIGHT},e.prototype.isPinnedLeft=function(){return this.pinned===i.a.PINNED_LEFT},e.prototype.isPinnedRight=function(){return this.pinned===i.a.PINNED_RIGHT},e.prototype.getPinned=function(){return this.pinned},e.prototype.setVisible=function(t,r){void 0===r&&(r="api");var o=!0===t;this.visible!==o&&(this.visible=o,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_VISIBLE_CHANGED,r)))},e.prototype.isVisible=function(){return this.visible},e.prototype.getColDef=function(){return this.colDef},e.prototype.getColumnGroupShow=function(){return this.colDef.columnGroupShow},e.prototype.getColId=function(){return this.colId},e.prototype.getId=function(){return this.getColId()},e.prototype.getUniqueId=function(){return this.getId()},e.prototype.getDefinition=function(){return this.colDef},e.prototype.getActualWidth=function(){return this.actualWidth},e.prototype.getAutoHeaderHeight=function(){return this.autoHeaderHeight},e.prototype.setAutoHeaderHeight=function(e){var t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t},e.prototype.createBaseColDefParams=function(e){return{node:e,data:e.data,colDef:this.colDef,column:this,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}},e.prototype.getColSpan=function(e){if(Object(l.missing)(this.colDef.colSpan))return 1;var t=this.createBaseColDefParams(e),r=this.colDef.colSpan(t);return Math.max(r,1)},e.prototype.getRowSpan=function(e){if(Object(l.missing)(this.colDef.rowSpan))return 1;var t=this.createBaseColDefParams(e),r=this.colDef.rowSpan(t);return Math.max(r,1)},e.prototype.setActualWidth=function(e,t,r){void 0===t&&(t="api"),void 0===r&&(r=!1),null!=this.minWidth&&(e=Math.max(e,this.minWidth)),null!=this.maxWidth&&(e=Math.min(e,this.maxWidth)),this.actualWidth!==e&&(this.actualWidth=e,this.flex&&"flex"!==t&&"gridInitializing"!==t&&(this.flex=null),r||this.fireColumnWidthChangedEvent(t))},e.prototype.fireColumnWidthChangedEvent=function(t){this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_WIDTH_CHANGED,t))},e.prototype.isGreaterThanMax=function(e){return null!=this.maxWidth&&e>this.maxWidth},e.prototype.getMinWidth=function(){return this.minWidth},e.prototype.getMaxWidth=function(){return this.maxWidth},e.prototype.getFlex=function(){return this.flex||0},e.prototype.setFlex=function(e){this.flex!==e&&(this.flex=e)},e.prototype.setMinimum=function(e){void 0===e&&(e="api"),Object(l.exists)(this.minWidth)&&this.setActualWidth(this.minWidth,e)},e.prototype.setRowGroupActive=function(t,r){void 0===r&&(r="api"),this.rowGroupActive!==t&&(this.rowGroupActive=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_ROW_GROUP_CHANGED,r)))},e.prototype.isRowGroupActive=function(){return this.rowGroupActive},e.prototype.setPivotActive=function(t,r){void 0===r&&(r="api"),this.pivotActive!==t&&(this.pivotActive=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_PIVOT_CHANGED,r)))},e.prototype.isPivotActive=function(){return this.pivotActive},e.prototype.isAnyFunctionActive=function(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()},e.prototype.isAnyFunctionAllowed=function(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()},e.prototype.setValueActive=function(t,r){void 0===r&&(r="api"),this.aggregationActive!==t&&(this.aggregationActive=t,this.eventService.dispatchEvent(this.createColumnEvent(e.EVENT_VALUE_CHANGED,r)))},e.prototype.isValueActive=function(){return this.aggregationActive},e.prototype.isAllowPivot=function(){return!0===this.colDef.enablePivot},e.prototype.isAllowValue=function(){return!0===this.colDef.enableValue},e.prototype.isAllowRowGroup=function(){return!0===this.colDef.enableRowGroup},e.prototype.getMenuTabs=function(e){var t=this.getColDef().menuTabs;return null==t&&(t=e),t},e.prototype.isLockPosition=function(){return console.warn("AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead."),!!this.colDef&&!!this.colDef.lockPosition},e.prototype.isLockVisible=function(){return console.warn("AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead."),!!this.colDef&&!!this.colDef.lockVisible},e.prototype.isLockPinned=function(){return console.warn("AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead."),!!this.colDef&&!!this.colDef.lockPinned},e.EVENT_MOVING_CHANGED="movingChanged",e.EVENT_LEFT_CHANGED="leftChanged",e.EVENT_WIDTH_CHANGED="widthChanged",e.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",e.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",e.EVENT_VISIBLE_CHANGED="visibleChanged",e.EVENT_FILTER_CHANGED="filterChanged",e.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",e.EVENT_SORT_CHANGED="sortChanged",e.EVENT_COL_DEF_CHANGED="colDefChanged",e.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",e.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",e.EVENT_PIVOT_CHANGED="columnPivotChanged",e.EVENT_VALUE_CHANGED="columnValueChanged",p([Object(n.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),p([Object(n.a)("columnUtils")],e.prototype,"columnUtils",void 0),p([n.e],e.prototype,"initialise",null),e}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"d",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return m}));var o,n,i,a,s=r(6),l=r(1),c=r(30),u=r(23),p=r(10),d=r(18),g=r(5),h=r(13),f=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(e){e[e.ToolPanel=0]="ToolPanel",e[e.HeaderCell=1]="HeaderCell",e[e.RowDrag=2]="RowDrag",e[e.ChartPanel=3]="ChartPanel"}(n||(n={})),function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(i||(i={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(a||(a={}));var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dragSourceAndParamsList=[],t.dropTargets=[],t}var r;return f(t,e),r=t,t.prototype.init=function(){this.ePinnedIcon=Object(u.createIcon)("columnMovePin",this.gridOptionsWrapper,null),this.eHideIcon=Object(u.createIcon)("columnMoveHide",this.gridOptionsWrapper,null),this.eMoveIcon=Object(u.createIcon)("columnMoveMove",this.gridOptionsWrapper,null),this.eLeftIcon=Object(u.createIcon)("columnMoveLeft",this.gridOptionsWrapper,null),this.eRightIcon=Object(u.createIcon)("columnMoveRight",this.gridOptionsWrapper,null),this.eGroupIcon=Object(u.createIcon)("columnMoveGroup",this.gridOptionsWrapper,null),this.eAggregateIcon=Object(u.createIcon)("columnMoveValue",this.gridOptionsWrapper,null),this.ePivotIcon=Object(u.createIcon)("columnMovePivot",this.gridOptionsWrapper,null),this.eDropNotAllowedIcon=Object(u.createIcon)("dropNotAllowed",this.gridOptionsWrapper,null)},t.prototype.addDragSource=function(e,t){void 0===t&&(t=!1);var r={eElement:e.eElement,dragStartPixels:e.dragStartPixels,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this)};this.dragSourceAndParamsList.push({params:r,dragSource:e}),this.dragService.addDragSource(r,t)},t.prototype.removeDragSource=function(e){var t=this.dragSourceAndParamsList.find((function(t){return t.dragSource===e}));t&&(this.dragService.removeDragSource(t.params),Object(p.removeFromArray)(this.dragSourceAndParamsList,t))},t.prototype.clearDragSourceParamsList=function(){var e=this;this.dragSourceAndParamsList.forEach((function(t){return e.dragService.removeDragSource(t.params)})),this.dragSourceAndParamsList.length=0},t.prototype.nudge=function(){this.dragging&&this.onDragging(this.eventLastTime,!0)},t.prototype.onDragStart=function(e,t){this.dragging=!0,this.dragSource=e,this.eventLastTime=t,this.dragItem=this.dragSource.getDragItem(),this.lastDropTarget=this.dragSource.dragSourceDropTarget,this.dragSource.onDragStarted&&this.dragSource.onDragStarted(),this.createGhost()},t.prototype.onDragStop=function(e){if(this.eventLastTime=null,this.dragging=!1,this.dragSource.onDragStopped&&this.dragSource.onDragStopped(),this.lastDropTarget&&this.lastDropTarget.onDragStop){var t=this.createDropTargetEvent(this.lastDropTarget,e,null,null,!1);this.lastDropTarget.onDragStop(t)}this.lastDropTarget=null,this.dragItem=null,this.removeGhost()},t.prototype.onDragging=function(e,t){var r,o,n,i,a=this,s=this.getHorizontalDirection(e),l=this.getVerticalDirection(e);this.eventLastTime=e,this.positionGhost(e);var c=this.dropTargets.filter((function(t){return a.isMouseOnDropTarget(e,t)})),u=this.findCurrentDropTarget(e,c);if(u!==this.lastDropTarget)this.leaveLastTargetIfExists(e,s,l,t),null!==this.lastDropTarget&&null===u&&(null===(o=(r=this.dragSource).onGridExit)||void 0===o||o.call(r,this.dragItem)),null===this.lastDropTarget&&null!==u&&(null===(i=(n=this.dragSource).onGridEnter)||void 0===i||i.call(n,this.dragItem)),this.enterDragTargetIfExists(u,e,s,l,t),this.lastDropTarget=u;else if(u&&u.onDragging){var p=this.createDropTargetEvent(u,e,s,l,t);u.onDragging(p)}},t.prototype.getAllContainersFromDropTarget=function(e){var t=e.getSecondaryContainers?e.getSecondaryContainers():null,r=[[e.getContainer()]];return t?r.concat(t):r},t.prototype.allContainersIntersect=function(e,t){var r,o;try{for(var n=y(t),i=n.next();!i.done;i=n.next()){var a=i.value.getBoundingClientRect();if(0===a.width||0===a.height)return!1;var s=e.clientX>=a.left&&e.clientX<a.right,l=e.clientY>=a.top&&e.clientY<a.bottom;if(!s||!l)return!1}}catch(e){r={error:e}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}return!0},t.prototype.isMouseOnDropTarget=function(e,t){var r,o,n=this.getAllContainersFromDropTarget(t),i=!1;try{for(var a=y(n),s=a.next();!s.done;s=a.next()){var l=s.value;if(this.allContainersIntersect(e,l)){i=!0;break}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return!(t.targetContainsSource&&!t.getContainer().contains(this.dragSource.eElement))&&(i&&t.isInterestedIn(this.dragSource.type,this.dragSource.eElement))},t.prototype.findCurrentDropTarget=function(e,t){var r,o,n,i,a=t.length;if(0===a)return null;if(1===a)return t[0];var s=this.gridOptionsWrapper.getDocument().elementsFromPoint(e.clientX,e.clientY);try{for(var l=y(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{for(var d=(n=void 0,y(t)),g=d.next();!g.done;g=d.next()){var h=g.value;if(-1!==Object(p.flatten)(this.getAllContainersFromDropTarget(h)).indexOf(u))return h}}catch(e){n={error:e}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return null},t.prototype.enterDragTargetIfExists=function(e,t,r,o,n){if(e){if(e.onDragEnter){var i=this.createDropTargetEvent(e,t,r,o,n);e.onDragEnter(i)}this.setGhostIcon(e.getIconName?e.getIconName():null)}},t.prototype.leaveLastTargetIfExists=function(e,t,r,o){if(this.lastDropTarget){if(this.lastDropTarget.onDragLeave){var n=this.createDropTargetEvent(this.lastDropTarget,e,t,r,o);this.lastDropTarget.onDragLeave(n)}this.setGhostIcon(null)}},t.prototype.addDropTarget=function(e){this.dropTargets.push(e)},t.prototype.removeDropTarget=function(e){this.dropTargets=this.dropTargets.filter((function(t){return t.getContainer()!==e.getContainer()}))},t.prototype.hasExternalDropZones=function(){return this.dropTargets.some((function(e){return e.external}))},t.prototype.findExternalZone=function(e){return this.dropTargets.filter((function(e){return e.external})).find((function(t){return t.getContainer()===e.getContainer()}))||null},t.prototype.getHorizontalDirection=function(e){var t=this.eventLastTime&&this.eventLastTime.clientX,r=e.clientX;return t===r?null:t>r?a.Left:a.Right},t.prototype.getVerticalDirection=function(e){var t=this.eventLastTime&&this.eventLastTime.clientY,r=e.clientY;return t===r?null:t>r?i.Up:i.Down},t.prototype.createDropTargetEvent=function(e,t,r,o,n){var i=e.getContainer(),a=i.getBoundingClientRect(),s=this.gridApi,l=this.columnApi,c=this.dragItem,u=this.dragSource;return{event:t,x:t.clientX-a.left,y:t.clientY-a.top,vDirection:o,hDirection:r,dragSource:u,fromNudge:n,dragItem:c,api:s,columnApi:l,dropZoneTarget:i}},t.prototype.positionGhost=function(e){var t=this.eGhost;if(t){var r=t.getBoundingClientRect().height,o=Object(d.getBodyWidth)()-2,n=Object(d.getBodyHeight)()-2,i=e.pageY-r/2,a=e.pageX-10,s=this.gridOptionsWrapper.getDocument(),l=s.defaultView||window,c=l.pageYOffset||s.documentElement.scrollTop,u=l.pageXOffset||s.documentElement.scrollLeft;o>0&&a+t.clientWidth>o+u&&(a=o+u-t.clientWidth),a<0&&(a=0),n>0&&i+t.clientHeight>n+c&&(i=n+c-t.clientHeight),i<0&&(i=0),t.style.left=a+"px",t.style.top=i+"px"}},t.prototype.removeGhost=function(){this.eGhost&&this.eGhostParent&&this.eGhostParent.removeChild(this.eGhost),this.eGhost=null},t.prototype.createGhost=function(){this.eGhost=Object(g.loadTemplate)(r.GHOST_TEMPLATE),this.mouseEventService.stampTopLevelGridCompWithGridInstance(this.eGhost);var e=this.environment.getTheme().theme;e&&this.eGhost.classList.add(e),this.eGhostIcon=this.eGhost.querySelector(".ag-dnd-ghost-icon"),this.setGhostIcon(null);var t=this.eGhost.querySelector(".ag-dnd-ghost-label"),o=this.dragSource.dragItemName;Object(h.isFunction)(o)&&(o=o()),t.innerHTML=Object(c.escapeString)(o)||"",this.eGhost.style.height="25px",this.eGhost.style.top="20px",this.eGhost.style.left="20px";var n=this.gridOptionsWrapper.getDocument(),i=null;try{i=n.fullscreenElement}catch(e){}finally{i||(i=n.querySelector("body"))}this.eGhostParent=i,this.eGhostParent?this.eGhostParent.appendChild(this.eGhost):console.warn("AG Grid: could not find document body, it is needed for dragging columns")},t.prototype.setGhostIcon=function(e,t){void 0===t&&(t=!1),Object(g.clearElement)(this.eGhostIcon);var o=null;switch(e||(e=this.dragSource.defaultIconName||r.ICON_NOT_ALLOWED),e){case r.ICON_PINNED:o=this.ePinnedIcon;break;case r.ICON_MOVE:o=this.eMoveIcon;break;case r.ICON_LEFT:o=this.eLeftIcon;break;case r.ICON_RIGHT:o=this.eRightIcon;break;case r.ICON_GROUP:o=this.eGroupIcon;break;case r.ICON_AGGREGATE:o=this.eAggregateIcon;break;case r.ICON_PIVOT:o=this.ePivotIcon;break;case r.ICON_NOT_ALLOWED:o=this.eDropNotAllowedIcon;break;case r.ICON_HIDE:o=this.eHideIcon}this.eGhostIcon.classList.toggle("ag-shake-left-to-right",t),o===this.eHideIcon&&this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns()||o&&this.eGhostIcon.appendChild(o)},t.ICON_PINNED="pinned",t.ICON_MOVE="move",t.ICON_LEFT="left",t.ICON_RIGHT="right",t.ICON_GROUP="group",t.ICON_AGGREGATE="aggregate",t.ICON_PIVOT="pivot",t.ICON_NOT_ALLOWED="notAllowed",t.ICON_HIDE="hide",t.GHOST_TEMPLATE='<div class="ag-dnd-ghost ag-unselectable">\n <span class="ag-dnd-ghost-icon ag-shake-left-to-right"></span>\n <div class="ag-dnd-ghost-label"></div>\n </div>',v([Object(l.a)("dragService")],t.prototype,"dragService",void 0),v([Object(l.a)("mouseEventService")],t.prototype,"mouseEventService",void 0),v([Object(l.a)("environment")],t.prototype,"environment",void 0),v([Object(l.a)("columnApi")],t.prototype,"columnApi",void 0),v([Object(l.a)("gridApi")],t.prototype,"gridApi",void 0),v([l.e],t.prototype,"init",null),v([l.g],t.prototype,"clearDragSourceParamsList",null),t=r=v([Object(l.b)("dragAndDropService")],t)}(s.a)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return RedrawType})),__webpack_require__.d(__webpack_exports__,"c",(function(){return SceneChangeDetection})),__webpack_require__.d(__webpack_exports__,"a",(function(){return ChangeDetectable}));var _util_window__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(68),RedrawType;function evalAvailable(){try{return eval(""),!0}catch(e){return!1}}!function(e){e[e.NONE=0]="NONE",e[e.TRIVIAL=1]="TRIVIAL",e[e.MINOR=2]="MINOR",e[e.MAJOR=3]="MAJOR"}(RedrawType||(RedrawType={}));var EVAL_USEABLE=evalAvailable();function SceneChangeDetection(opts){var _a=opts||{},_b=_a.redraw,redraw=void 0===_b?RedrawType.TRIVIAL:_b,_c=_a.type,type=void 0===_c?"normal":_c,changeCb=_a.changeCb,convertor=_a.convertor,_d=_a.checkDirtyOnAssignment,checkDirtyOnAssignment=void 0!==_d&&_d,debug=null!=Object(_util_window__WEBPACK_IMPORTED_MODULE_0__.a)("agChartsSceneChangeDetectionDebug");return function(target,key){var privateKey="__"+key;if(!target[key])if(EVAL_USEABLE){var setterJs="\n "+(debug?"var setCount = 0;":"")+"\n function set_"+key+"(value) {\n const oldValue = this."+privateKey+";\n "+(convertor?"value = convertor(value);":"")+"\n if (value !== oldValue) {\n this."+privateKey+" = value;\n "+(debug?"console.log({ t: this, property: '"+key+"', oldValue, value, stack: new Error().stack });":"")+"\n "+("normal"===type?"this.markDirty(this, "+redraw+");":"")+"\n "+("transform"===type?"this.markDirtyTransform("+redraw+");":"")+"\n "+("path"===type?"if (!this._dirtyPath) { this._dirtyPath = true; this.markDirty(this, "+redraw+"); }":"")+"\n "+("font"===type?"if (!this._dirtyFont) { this._dirtyFont = true; this.markDirty(this, "+redraw+"); }":"")+"\n "+(changeCb?"changeCb(this);":"")+"\n }\n "+(checkDirtyOnAssignment?"if (value != null && value._dirty > "+RedrawType.NONE+") { this.markDirty(value, value._dirty); }":"")+"\n };\n set_"+key+";\n ",getterJs="\n function get_"+key+"() {\n return this."+privateKey+";\n };\n get_"+key+";\n ";Object.defineProperty(target,key,{set:eval(setterJs),get:eval(getterJs),enumerable:!0,configurable:!0})}else{var setter=function(e){var t=this[privateKey];(e=convertor?convertor(e):e)!==t&&(this[privateKey]=e,"normal"===type&&this.markDirty(this,redraw),"transform"===type&&this.markDirtyTransform(redraw),"path"!==type||this._dirtyPath||(this._dirtyPath=!0,this.markDirty(this,redraw)),"font"!==type||this._dirtyFont||(this._dirtyFont=!0,this.markDirty(this,redraw)),changeCb&&changeCb(this)),checkDirtyOnAssignment&&null!=e&&e._dirty>RedrawType.NONE&&this.markDirty(e,e._dirty)},getter=function(){return this[privateKey]};Object.defineProperty(target,key,{set:setter,get:getter,enumerable:!0,configurable:!0})}}}var ChangeDetectable=function(){function e(){this._dirty=RedrawType.MAJOR}return e.prototype.markDirty=function(e,t){void 0===t&&(t=RedrawType.TRIVIAL),this._dirty>t||(this._dirty=t)},e.prototype.markClean=function(e){this._dirty=RedrawType.NONE},e.prototype.isDirty=function(){return this._dirty>RedrawType.NONE},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return u}));var o,n=r(38),i=r(4),a=r(3),s=r(2),l=r(14),c=r(13);!function(e){e[e.Above=0]="Above",e[e.Below=1]="Below"}(o||(o={}));var u=function(){function e(t){this.rowIndex=null,this.key=null,this.childrenMapped={},this.displayed=!1,this.rowTop=null,this.oldRowTop=null,this.selectable=!0,this.__objectId=e.OBJECT_ID_SEQUENCE++,this.__autoHeights={},this.alreadyRendered=!1,this.highlighted=null,this.selected=!1,this.beans=t}return e.prototype.setData=function(e){this.setDataCommon(e,!1)},e.prototype.updateData=function(e){this.setDataCommon(e,!0)},e.prototype.setDataCommon=function(e,t){var r=this.data;this.data=e,this.beans.valueCache.onDataChanged(),this.updateDataOnDetailNode(),this.checkRowSelectable();var o=this.createDataChangedEvent(e,r,t);this.dispatchLocalEvent(o)},e.prototype.updateDataOnDetailNode=function(){this.detailNode&&(this.detailNode.data=this.data)},e.prototype.createDataChangedEvent=function(t,r,o){return{type:e.EVENT_DATA_CHANGED,node:this,oldData:r,newData:t,update:o}},e.prototype.createLocalRowEvent=function(e){return{type:e,node:this}},e.prototype.getRowIndexString=function(){return this.rowPinned===a.a.PINNED_TOP?"t-"+this.rowIndex:this.rowPinned===a.a.PINNED_BOTTOM?"b-"+this.rowIndex:this.rowIndex.toString()},e.prototype.createDaemonNode=function(){var t=new e(this.beans);return t.id=this.id,t.data=this.data,t.daemon=!0,t.selected=this.selected,t.level=this.level,t},e.prototype.setDataAndId=function(e,t){var r=Object(s.exists)(this.id)?this.createDaemonNode():null,o=this.data;this.data=e,this.updateDataOnDetailNode(),this.setId(t),this.beans.selectionService.syncInRowNode(this,r),this.checkRowSelectable();var n=this.createDataChangedEvent(e,o,!1);this.dispatchLocalEvent(n)},e.prototype.checkRowSelectable=function(){var e=this.beans.gridOptionsWrapper.getIsRowSelectableFunc();this.setRowSelectable(!e||e(this))},e.prototype.setRowSelectable=function(t){if(this.selectable!==t&&(this.selectable=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_SELECTABLE_CHANGED)),this.beans.gridOptionsWrapper.isGroupSelectsChildren())){var r=this.calculateSelectedFromChildren();this.setSelected(null!=r&&r)}},e.prototype.setId=function(t){var r=this.beans.gridOptionsWrapper.getRowIdFunc();if(r)if(this.data){var o=this.getGroupKeys(!0);this.id=r({data:this.data,parentKeys:o.length>0?o:void 0,level:this.level}),null!==this.id&&"string"==typeof this.id&&this.id.startsWith(e.ID_PREFIX_ROW_GROUP)&&console.error("AG Grid: Row IDs cannot start with "+e.ID_PREFIX_ROW_GROUP+", this is a reserved prefix for AG Grid's row grouping feature."),null!==this.id&&"string"!=typeof this.id&&(this.id=""+this.id)}else this.id=void 0;else this.id=t},e.prototype.getGroupKeys=function(e){void 0===e&&(e=!1);var t=[],r=this;for(e&&(r=r.parent);r&&r.level>=0;)t.push(r.key),r=r.parent;return t.reverse(),t},e.prototype.isPixelInRange=function(e){return!(!Object(s.exists)(this.rowTop)||!Object(s.exists)(this.rowHeight))&&(e>=this.rowTop&&e<this.rowTop+this.rowHeight)},e.prototype.setFirstChild=function(t){this.firstChild!==t&&(this.firstChild=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_FIRST_CHILD_CHANGED)))},e.prototype.setLastChild=function(t){this.lastChild!==t&&(this.lastChild=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_LAST_CHILD_CHANGED)))},e.prototype.setChildIndex=function(t){this.childIndex!==t&&(this.childIndex=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_CHILD_INDEX_CHANGED)))},e.prototype.setRowTop=function(t){this.oldRowTop=this.rowTop,this.rowTop!==t&&(this.rowTop=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_TOP_CHANGED)),this.setDisplayed(null!==t))},e.prototype.clearRowTopAndRowIndex=function(){this.oldRowTop=null,this.setRowTop(null),this.setRowIndex(null)},e.prototype.setDisplayed=function(t){this.displayed!==t&&(this.displayed=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_DISPLAYED_CHANGED)))},e.prototype.setDragging=function(t){this.dragging!==t&&(this.dragging=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_DRAGGING_CHANGED)))},e.prototype.setHighlighted=function(t){t!==this.highlighted&&(this.highlighted=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_HIGHLIGHT_CHANGED)))},e.prototype.setAllChildrenCount=function(t){this.allChildrenCount!==t&&(this.allChildrenCount=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_ALL_CHILDREN_COUNT_CHANGED)))},e.prototype.setMaster=function(t){this.master!==t&&(this.master&&!t&&(this.expanded=!1),this.master=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_MASTER_CHANGED)))},e.prototype.setGroup=function(t){this.group!==t&&(this.group&&!t&&(this.expanded=!1),this.group=t,this.updateHasChildren(),this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_GROUP_CHANGED)))},e.prototype.setRowHeight=function(t,r){void 0===r&&(r=!1),this.rowHeight=t,this.rowHeightEstimated=r,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_HEIGHT_CHANGED))},e.prototype.setRowAutoHeight=function(e,t){this.__autoHeights||(this.__autoHeights={}),this.__autoHeights[t.getId()]=e,null!=e&&(null==this.checkAutoHeightsDebounced&&(this.checkAutoHeightsDebounced=Object(c.debounce)(this.checkAutoHeights.bind(this),1)),this.checkAutoHeightsDebounced())},e.prototype.checkAutoHeights=function(){var e=!1,t=!0,r=0,o=this.__autoHeights;if(null!=o&&(this.beans.columnModel.getAllDisplayedAutoHeightCols().forEach((function(n){var i=o[n.getId()];null!=i?(t=!1,i>r&&(r=i)):e=!0})),!e&&((t||r<10)&&(r=this.beans.gridOptionsWrapper.getRowHeightForNode(this).height),r!=this.rowHeight))){this.setRowHeight(r);var n=this.beans.rowModel;n.onRowHeightChangedDebounced&&n.onRowHeightChangedDebounced()}},e.prototype.setRowIndex=function(t){this.rowIndex!==t&&(this.rowIndex=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_ROW_INDEX_CHANGED)))},e.prototype.setUiLevel=function(t){this.uiLevel!==t&&(this.uiLevel=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_UI_LEVEL_CHANGED)))},e.prototype.setExpanded=function(t,r){if(this.expanded!==t){this.expanded=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_EXPANDED_CHANGED));var o=Object.assign({},this.createGlobalRowEvent(i.a.EVENT_ROW_GROUP_OPENED),{expanded:t,event:r||null});this.beans.rowNodeEventThrottle.dispatchExpanded(o),this.beans.gridOptionsWrapper.isGroupIncludeFooter()&&this.beans.rowRenderer.refreshCells({rowNodes:[this]})}},e.prototype.createGlobalRowEvent=function(e){return{type:e,node:this,data:this.data,rowIndex:this.rowIndex,rowPinned:this.rowPinned,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi()}},e.prototype.dispatchLocalEvent=function(e){this.eventService&&this.eventService.dispatchEvent(e)},e.prototype.setDataValue=function(e,t,r){var o=this.beans.columnModel.getPrimaryColumn(e),n=this.beans.valueService.getValue(o,this),i=this.beans.valueService.setValue(this,o,t,r);return this.dispatchCellChangedEvent(o,t,n),this.checkRowSelectable(),i},e.prototype.setGroupValue=function(e,t){var r=this.beans.columnModel.getGridColumn(e);Object(s.missing)(this.groupData)&&(this.groupData={});var o=r.getColId(),n=this.groupData[o];n!==t&&(this.groupData[o]=t,this.dispatchCellChangedEvent(r,t,n))},e.prototype.setAggData=function(e){var t=this,r=Object(l.getAllKeysInObjects)([this.aggData,e]),o=this.aggData;this.aggData=e,this.eventService&&r.forEach((function(e){var r=t.beans.columnModel.getGridColumn(e),n=t.aggData?t.aggData[e]:void 0,i=o?o[e]:void 0;t.dispatchCellChangedEvent(r,n,i)}))},e.prototype.updateHasChildren=function(){var t=this.group&&!this.footer||this.childrenAfterGroup&&this.childrenAfterGroup.length>0;t!==this.__hasChildren&&(this.__hasChildren=!!t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(e.EVENT_HAS_CHILDREN_CHANGED)))},e.prototype.hasChildren=function(){return null==this.__hasChildren&&this.updateHasChildren(),this.__hasChildren},e.prototype.isEmptyRowGroupNode=function(){return this.group&&Object(s.missingOrEmpty)(this.childrenAfterGroup)},e.prototype.dispatchCellChangedEvent=function(t,r,o){var n={type:e.EVENT_CELL_CHANGED,node:this,column:t,newValue:r,oldValue:o};this.dispatchLocalEvent(n)},e.prototype.resetQuickFilterAggregateText=function(){this.quickFilterAggregateText=null},e.prototype.isExpandable=function(){return!!(this.hasChildren()&&!this.footer||this.master)},e.prototype.isSelected=function(){return this.footer?this.sibling.isSelected():this.selected},e.prototype.depthFirstSearch=function(e){this.childrenAfterGroup&&this.childrenAfterGroup.forEach((function(t){return t.depthFirstSearch(e)})),e(this)},e.prototype.calculateSelectedFromChildren=function(){var e,t=!1,r=!1,o=!1;if(!(null===(e=this.childrenAfterGroup)||void 0===e?void 0:e.length))return this.selectable?this.selected:null;for(var n=0;n<this.childrenAfterGroup.length;n++){var i=this.childrenAfterGroup[n],a=i.isSelected();if(!i.selectable){var s=i.calculateSelectedFromChildren();if(null===s)continue;a=s}switch(a){case!0:t=!0;break;case!1:r=!0;break;default:o=!0}}return o||t&&r?void 0:!!t||!r&&(this.selectable?this.selected:null)},e.prototype.setSelectedInitialValue=function(e){this.selected=e},e.prototype.setSelected=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1),this.setSelectedParams({newValue:e,clearSelection:t,suppressFinishActions:r,rangeSelect:!1})},e.prototype.isRowPinned=function(){return this.rowPinned===a.a.PINNED_TOP||this.rowPinned===a.a.PINNED_BOTTOM},e.prototype.setSelectedParams=function(e){var t,r=this.beans.gridOptionsWrapper.isGroupSelectsChildren(),o=!0===e.newValue,n=!0===e.clearSelection,a=!0===e.suppressFinishActions,s=!0===e.rangeSelect,l=r&&!0===e.groupSelectsFiltered;if(void 0===this.id)return console.warn("AG Grid: cannot select node until id for node is known"),0;if(this.rowPinned)return console.warn("AG Grid: cannot select pinned rows"),0;if(this.footer)return this.sibling.setSelectedParams(e);if(s&&this.beans.selectionService.getLastSelectedNode()){var c=this.beans.selectionService.getLastSelectedNode()!==this,u=this.beans.gridOptionsWrapper.isRowSelectionMulti();if(c&&u){var p=this.doRowRangeSelection(e.newValue);return this.beans.selectionService.setLastSelectedNode(this),p}}var d=0;l&&this.group||this.selectThisNode(o,e.event)&&d++;if(r&&(null===(t=this.childrenAfterGroup)||void 0===t?void 0:t.length)&&(d+=this.selectChildNodes(o,l)),!a){if(o&&(n||!this.beans.gridOptionsWrapper.isRowSelectionMulti())&&(d+=this.beans.selectionService.clearOtherNodes(this)),d>0){this.beans.selectionService.updateGroupsFromChildrenSelections();var g={type:i.a.EVENT_SELECTION_CHANGED};this.beans.eventService.dispatchEvent(g)}o&&this.beans.selectionService.setLastSelectedNode(this)}return d},e.prototype.doRowRangeSelection=function(e){var t=this;void 0===e&&(e=!0);var r=this.beans.gridOptionsWrapper.isGroupSelectsChildren(),o=this.beans.selectionService.getLastSelectedNode(),n=this.beans.rowModel.getNodesInRangeForSelection(this,o),a=0;n.forEach((function(o){o.group&&r||!1===e&&t===o||o.selectThisNode(e)&&a++})),this.beans.selectionService.updateGroupsFromChildrenSelections();var s={type:i.a.EVENT_SELECTION_CHANGED};return this.beans.eventService.dispatchEvent(s),a},e.prototype.isParentOfNode=function(e){for(var t=this.parent;t;){if(t===e)return!0;t=t.parent}return!1},e.prototype.selectThisNode=function(t,r){var o=!this.selectable&&t,n=this.selected===t;if(o||n)return!1;this.selected=t,this.eventService&&this.dispatchLocalEvent(this.createLocalRowEvent(e.EVENT_ROW_SELECTED));var a=Object.assign({},this.createGlobalRowEvent(i.a.EVENT_ROW_SELECTED),{event:r||null});return this.beans.eventService.dispatchEvent(a),!0},e.prototype.selectChildNodes=function(e,t){var r=t?this.childrenAfterAggFilter:this.childrenAfterGroup;if(Object(s.missing)(r))return 0;for(var o=0,n=0;n<r.length;n++)o+=r[n].setSelectedParams({newValue:e,clearSelection:!1,suppressFinishActions:!0,groupSelectsFiltered:t});return o},e.prototype.addEventListener=function(e,t){this.eventService||(this.eventService=new n.a),this.eventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventService&&(this.eventService.removeEventListener(e,t),this.eventService.noRegisteredListenersExist()&&(this.eventService=null))},e.prototype.onMouseEnter=function(){this.dispatchLocalEvent(this.createLocalRowEvent(e.EVENT_MOUSE_ENTER))},e.prototype.onMouseLeave=function(){this.dispatchLocalEvent(this.createLocalRowEvent(e.EVENT_MOUSE_LEAVE))},e.prototype.getFirstChildOfFirstChild=function(e){for(var t=this,r=!0,o=!1,n=null;r&&!o;){var i=t.parent;Object(s.exists)(i)&&t.firstChild?i.rowGroupColumn===e&&(o=!0,n=i):r=!1,t=i}return o?n:null},e.prototype.isFullWidthCell=function(){var e=this.beans.gridOptionsWrapper.getIsFullWidthCellFunc();return!!e&&e({rowNode:this})},e.prototype.getRoute=function(){if(null!=this.key){for(var e=[],t=this;null!=t.key;)e.push(t.key),t=t.parent;return e.reverse()}},e.ID_PREFIX_ROW_GROUP="row-group-",e.ID_PREFIX_TOP_PINNED="t-",e.ID_PREFIX_BOTTOM_PINNED="b-",e.OBJECT_ID_SEQUENCE=0,e.EVENT_ROW_SELECTED="rowSelected",e.EVENT_DATA_CHANGED="dataChanged",e.EVENT_CELL_CHANGED="cellChanged",e.EVENT_ALL_CHILDREN_COUNT_CHANGED="allChildrenCountChanged",e.EVENT_MASTER_CHANGED="masterChanged",e.EVENT_GROUP_CHANGED="groupChanged",e.EVENT_MOUSE_ENTER="mouseEnter",e.EVENT_MOUSE_LEAVE="mouseLeave",e.EVENT_HEIGHT_CHANGED="heightChanged",e.EVENT_TOP_CHANGED="topChanged",e.EVENT_DISPLAYED_CHANGED="displayedChanged",e.EVENT_FIRST_CHILD_CHANGED="firstChildChanged",e.EVENT_LAST_CHILD_CHANGED="lastChildChanged",e.EVENT_CHILD_INDEX_CHANGED="childIndexChanged",e.EVENT_ROW_INDEX_CHANGED="rowIndexChanged",e.EVENT_EXPANDED_CHANGED="expandedChanged",e.EVENT_HAS_CHILDREN_CHANGED="hasChildrenChanged",e.EVENT_SELECTABLE_CHANGED="selectableChanged",e.EVENT_UI_LEVEL_CHANGED="uiLevelChanged",e.EVENT_HIGHLIGHT_CHANGED="rowHighlightChanged",e.EVENT_DRAGGING_CHANGED="draggingChanged",e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"iconNameClassMap",(function(){return i})),r.d(t,"createIcon",(function(){return a})),r.d(t,"createIconNoSpan",(function(){return s}));var o=r(5),n=r(11),i={columnGroupOpened:"expanded",columnGroupClosed:"contracted",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",columnSelectIndeterminate:"tree-indeterminate",columnMovePin:"pin",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",groupContracted:"tree-closed",groupExpanded:"tree-open",chart:"chart",close:"cross",cancel:"cancel",check:"tick",first:"first",previous:"previous",next:"next",last:"last",linked:"linked",unlinked:"unlinked",colorPicker:"color-picker",groupLoading:"loading",menu:"menu",filter:"filter",columns:"columns",maximize:"maximize",minimize:"minimize",menuPin:"pin",menuValue:"aggregation",menuAddRowGroup:"group",menuRemoveRowGroup:"group",clipboardCopy:"copy",clipboardPaste:"paste",pivotPanel:"pivot",rowGroupPanel:"group",valuePanel:"aggregation",columnDrag:"grip",rowDrag:"grip",save:"save",csvExport:"csv",excelExport:"excel",smallDown:"small-down",smallLeft:"small-left",smallRight:"small-right",smallUp:"small-up",sortAscending:"asc",sortDescending:"desc",sortUnSort:"none"};function a(e,t,r){var o=s(e,t,r);if(o&&o.className.indexOf("ag-icon")>-1)return o;var n=document.createElement("span");return n.appendChild(o),n}function s(e,t,r,a){var s=null,l=r&&r.getColDef().icons;if(l&&(s=l[e]),t&&!s){var c=t.getIcons();c&&(s=c[e])}if(!s){var u=document.createElement("span"),p=i[e];return p||(a?p=e:(console.warn("AG Grid: Did not find icon "+e),p="")),u.setAttribute("class","ag-icon ag-icon-"+p),u.setAttribute("unselectable","on"),Object(n.setAriaRole)(u,"presentation"),u}var d=void 0;if("function"==typeof s)d=s();else{if("string"!=typeof s)throw new Error("icon from grid options needs to be a string or a function");d=s}return"string"==typeof d?Object(o.loadTemplate)(d):Object(o.isNodeOrElement)(d)?d:void console.warn("AG Grid: iconRenderer should return back a string or a dom object")}},function(e,t,r){"use strict";r.d(t,"c",(function(){return s})),r.d(t,"g",(function(){return l})),r.d(t,"f",(function(){return L})),r.d(t,"d",(function(){return k})),r.d(t,"b",(function(){return M})),r.d(t,"a",(function(){return F})),r.d(t,"e",(function(){return G}));var o={};r.r(o),r.d(o,"stringToArray",(function(){return l}));var n={};r.r(n),r.d(n,"getNameOfClass",(function(){return d})),r.d(n,"findLineByLeastSquares",(function(){return g})),r.d(n,"cssStyleObjectToMarkup",(function(){return h})),r.d(n,"message",(function(){return f})),r.d(n,"bindCellRendererToHtmlElement",(function(){return v}));var i={};r.r(i),r.d(i,"sortRowNodesByOrder",(function(){return _})),r.d(i,"traverseNodesWithKey",(function(){return D}));var a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},s=function(){function e(e,t,r,o){void 0===o&&(o=1),this.r=Math.min(1,Math.max(0,e||0)),this.g=Math.min(1,Math.max(0,t||0)),this.b=Math.min(1,Math.max(0,r||0)),this.a=Math.min(1,Math.max(0,o||0))}return e.fromString=function(t){if(t.indexOf("#")>=0)return e.fromHexString(t);var r=e.nameToHex[t];if(r)return e.fromHexString(r);if(t.indexOf("rgb")>=0)return e.fromRgbaString(t);throw new Error("Invalid color string: '"+t+"'")},e.parseHex=function(e){var t;switch((e=e.replace(/ /g,"").slice(1)).length){case 6:case 8:t=[];for(var r=0;r<e.length;r+=2)t.push(parseInt(""+e[r]+e[r+1],16));break;case 3:case 4:t=e.split("").map((function(e){return parseInt(e,16)})).map((function(e){return e+16*e}))}if(t.length>=3&&t.every((function(e){return e>=0})))return 3===t.length&&t.push(255),t},e.fromHexString=function(t){var r=e.parseHex(t);if(r){var o=a(r,4);return new e(o[0]/255,o[1]/255,o[2]/255,o[3]/255)}throw new Error("Malformed hexadecimal color string: '"+t+"'")},e.stringToRgba=function(e){for(var t=a([NaN,NaN],2),r=t[0],o=t[1],n=0;n<e.length;n++){var i=e[n];if(r||"("!==i){if(")"===i){o=n;break}}else r=n}var s=r&&o&&e.substring(r+1,o);if(s){var l=s.split(","),c=[];for(n=0;n<l.length;n++){var u=l[n],p=parseFloat(u);if(isNaN(p))return;u.indexOf("%")>=0?(p=Math.max(0,Math.min(100,p)),p/=100):3===n?p=Math.max(0,Math.min(1,p)):(p=Math.max(0,Math.min(255,p)),p/=255),c.push(p)}return c}},e.fromRgbaString=function(t){var r=e.stringToRgba(t);if(r){if(3===r.length)return new e(r[0],r[1],r[2]);if(4===r.length)return new e(r[0],r[1],r[2],r[3])}throw new Error("Malformed rgb/rgba color string: '"+t+"'")},e.fromArray=function(t){if(4===t.length)return new e(t[0],t[1],t[2],t[3]);if(3===t.length)return new e(t[0],t[1],t[2]);throw new Error("The given array should contain 3 or 4 color components (numbers).")},e.fromHSB=function(t,r,o,n){void 0===n&&(n=1);var i=e.HSBtoRGB(t,r,o);return new e(i[0],i[1],i[2],n)},e.padHex=function(e){return 1===e.length?"0"+e:e},e.prototype.toHexString=function(){var t="#"+e.padHex(Math.round(255*this.r).toString(16))+e.padHex(Math.round(255*this.g).toString(16))+e.padHex(Math.round(255*this.b).toString(16));return this.a<1&&(t+=e.padHex(Math.round(255*this.a).toString(16))),t},e.prototype.toRgbaString=function(e){void 0===e&&(e=3);var t=[Math.round(255*this.r),Math.round(255*this.g),Math.round(255*this.b)],r=Math.pow(10,e);return 1!==this.a?(t.push(Math.round(this.a*r)/r),"rgba("+t.join(", ")+")"):"rgb("+t.join(", ")+")"},e.prototype.toString=function(){return 1===this.a?this.toHexString():this.toRgbaString()},e.prototype.toHSB=function(){return e.RGBtoHSB(this.r,this.g,this.b)},e.RGBtoHSB=function(e,t,r){var o=Math.min(e,t,r),n=Math.max(e,t,r),i=NaN;if(o!==n){var a=n-o,s=(n-e)/a,l=(n-t)/a,c=(n-r)/a;i=e===n?c-l:t===n?2+s-c:4+l-s,(i/=6)<0&&(i+=1)}return[360*i,0!==n?(n-o)/n:0,n]},e.HSBtoRGB=function(e,t,r){isNaN(e)&&(e=0),e=(e%360+360)%360/360;var o=0,n=0,i=0;if(0===t)o=n=i=r;else{var a=6*(e-Math.floor(e)),s=a-Math.floor(a),l=r*(1-t),c=r*(1-t*s),u=r*(1-t*(1-s));switch(a>>0){case 0:o=r,n=u,i=l;break;case 1:o=c,n=r,i=l;break;case 2:o=l,n=r,i=u;break;case 3:o=l,n=c,i=r;break;case 4:o=u,n=l,i=r;break;case 5:o=r,n=l,i=c}}return[o,n,i]},e.prototype.derive=function(t,r,o,n){var i=e.RGBtoHSB(this.r,this.g,this.b),a=i[2];0==a&&o>1&&(a=.05);var s=((i[0]+t)%360+360)%360,l=Math.max(Math.min(i[1]*r,1),0);a=Math.max(Math.min(a*o,1),0);var c=Math.max(Math.min(this.a*n,1),0),u=e.HSBtoRGB(s,l,a);return u.push(c),e.fromArray(u)},e.prototype.brighter=function(){return this.derive(0,1,1/.7,1)},e.prototype.darker=function(){return this.derive(0,1,.7,1)},e.nameToHex=Object.freeze({aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"}),e}();function l(e,t){void 0===t&&(t=",");var r=[],o=function(e){return"\r"===e||"\n"===e},n=!1;if(""===e)return[[""]];for(var i,a,s,l=function(l,c,u){var p=e[u-1],d=e[u],g=e[u+1],h=function(){r[l]||(r[l]=[]),r[l][c]||(r[l][c]="")};if(h(),'"'===d){if(n)return'"'===g?(r[l][c]+='"',u++):n=!1,i=l,a=c,s=u,"continue";if(void 0===p||p===t||o(p))return n=!0,i=l,a=c,s=u,"continue"}if(!n){if(d===t)return c++,h(),i=l,a=c,s=u,"continue";if(o(d))return c=0,l++,h(),"\r"===d&&"\n"===g&&u++,i=l,a=c,s=u,"continue"}r[l][c]+=d,i=l,a=c,s=u},c=0,u=0,p=0;p<e.length;p++)l(c,u,p),c=i,u=a,p=s;return r}var c=r(5),u=r(30),p=r(14);function d(e){var t=e.toString(),r=/function (.{1,})\(/.exec(t);return r&&r.length>1?r[1]:""}function g(e){var t=e.length,r=0;if(t<=1)return e;for(var o=0;o<e.length;o++){var n=e[o],i=n.toString().split("e-");i.length>1?r=Math.max(r,parseInt(i[1],10)):Math.floor(n)!==n&&(r=Math.max(r,n.toString().split(".")[1].length))}for(var a=0,s=0,l=0,c=0,u=0,p=0;p<t;p++)a+=p,s+=u=e[p],c+=p*p,l+=p*u;var d=(t*l-a*s)/(t*c-a*a),g=s/t-d*a/t,h=[];for(p=0;p<=t;p++)h.push(parseFloat((p*d+g).toFixed(r)));return h}function h(e){if(!e)return"";var t=[];return Object(p.iterateObject)(e,(function(e,r){var o=Object(u.camelCaseToHyphen)(e);t.push(o+": "+r+";")})),t.join(" ")}function f(e){var t=document.createElement("div"),r=document.querySelector("#__ag__message");if(t.innerHTML=e,!r){r=Object(c.loadTemplate)('<div id="__ag__message" style="display: inline-block; position: absolute; top: 0px; left: 0px; color: white; background-color: black; z-index: 20; padding: 2px; border: 1px solid darkred; height: 200px; overflow-y: auto;"></div>'),document.body&&document.body.appendChild(r)}r.insertBefore(t,r.children[0])}function v(e,t){e.then((function(e){var r=e.getGui();null!=r&&("object"==typeof r?t.appendChild(r):t.innerHTML=r)}))}var y=r(11),m=r(10),b=r(18),w=r(37),C=r(28),O=r(13),S=r(199),E=r(2),x=r(23),R=r(44),T=r(54),A=r(86),P=r(42);function _(e,t){if(!e)return!1;for(var r=function(e,r){var o=t[e.id],n=t[r.id],i=void 0!==o,a=void 0!==n;return i&&a?o-n:!i&&!a?e.__objectId-r.__objectId:i?1:-1},o=!1,n=0;n<e.length-1;n++)if(r(e[n],e[n+1])>0){o=!0;break}return!!o&&(e.sort(r),!0)}function D(e,t){var r=[];!function e(o){if(!o)return;o.forEach((function(o){if(o.group||o.hasChildren()){r.push(o.key);var n=r.join("|");t(o,n),e(o.childrenAfterGroup),r.pop()}}))}(e)}var M,N=r(87),I=function(){return(I=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},L=I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I(I({},n),y),m),b),o),w),c),C),O),S),E),x),R),T),A),P),p),i),N),u),k=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=1),this.nextValue=e,this.step=t}return e.prototype.next=function(){var e=this.nextValue;return this.nextValue+=this.step,e},e.prototype.peek=function(){return this.nextValue},e.prototype.skip=function(e){this.nextValue+=e},e}();!function(e){e[e.IN_PROGRESS=0]="IN_PROGRESS",e[e.RESOLVED=1]="RESOLVED"}(M||(M={}));var F=function(){function e(e){var t=this;this.status=M.IN_PROGRESS,this.resolution=null,this.waiters=[],e((function(e){return t.onDone(e)}),(function(e){return t.onReject(e)}))}return e.all=function(t){return new e((function(e){var r=t.length,o=new Array(r);t.forEach((function(t,n){t.then((function(t){o[n]=t,0===--r&&e(o)}))}))}))},e.resolve=function(t){return void 0===t&&(t=null),new e((function(e){return e(t)}))},e.prototype.then=function(t){var r=this;return new e((function(e){r.status===M.RESOLVED?e(t(r.resolution)):r.waiters.push((function(r){return e(t(r))}))}))},e.prototype.resolveNow=function(e,t){return this.status===M.RESOLVED?t(this.resolution):e},e.prototype.onDone=function(e){this.status=M.RESOLVED,this.resolution=e,this.waiters.forEach((function(t){return t(e)}))},e.prototype.onReject=function(e){console.warn("TBI")},e}(),G=function(){function e(){this.timestamp=(new Date).getTime()}return e.prototype.print=function(e){var t=(new Date).getTime()-this.timestamp;console.info(e+" = "+t),this.timestamp=(new Date).getTime()},e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"BaseCreator",(function(){return i})),r.d(t,"BaseGridSerializingSession",(function(){return a})),r.d(t,"CsvCreator",(function(){return g})),r.d(t,"CsvExportModule",(function(){return y})),r.d(t,"Downloader",(function(){return l})),r.d(t,"GridSerializer",(function(){return v})),r.d(t,"RowType",(function(){return n})),r.d(t,"XmlFactory",(function(){return m})),r.d(t,"ZipContainer",(function(){return C}));var o,n,i=function(){function e(){}return e.prototype.setBeans=function(e){this.beans=e},e.prototype.getFileName=function(e){var t=this.getDefaultFileExtension();return null!=e&&e.length||(e=this.getDefaultFileName()),-1===e.indexOf(".")?e+"."+t:e},e.prototype.getData=function(e){var t=this.createSerializingSession(e);return this.beans.gridSerializer.serialize(t,e)},e}(),a=function(){function e(e){this.groupColumns=[];var t=e.columnModel,r=e.valueService,o=e.gridOptionsWrapper,n=e.processCellCallback,i=e.processHeaderCallback,a=e.processGroupHeaderCallback,s=e.processRowGroupCallback;this.columnModel=t,this.valueService=r,this.gridOptionsWrapper=o,this.processCellCallback=n,this.processHeaderCallback=i,this.processGroupHeaderCallback=a,this.processRowGroupCallback=s}return e.prototype.prepare=function(e){this.groupColumns=e.filter((function(e){return!!e.getColDef().showRowGroup}))},e.prototype.extractHeaderValue=function(e){var t=this.getHeaderName(this.processHeaderCallback,e);return null!=t?t:""},e.prototype.extractRowCellValue=function(e,t,r,o,n){var i=!this.gridOptionsWrapper.isGroupHideOpenParents()&&this.shouldRenderGroupSummaryCell(n,e,t)?this.createValueForGroupNode(n):this.valueService.getValue(e,n),a=this.processCell({accumulatedRowIndex:r,rowNode:n,column:e,value:i,processCellCallback:this.processCellCallback,type:o});return null!=a?a:""},e.prototype.shouldRenderGroupSummaryCell=function(e,t,r){var o;if(!(e&&e.group))return!1;if(-1!==this.groupColumns.indexOf(t)&&(null===(o=e.groupData)||void 0===o?void 0:o[t.getId()]))return!0;var n=this.gridOptionsWrapper.isGroupUseEntireRow(this.columnModel.isPivotMode());return 0===r&&n},e.prototype.getHeaderName=function(e,t){return e?e({column:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}):this.columnModel.getDisplayNameForColumn(t,"csv",!0)},e.prototype.createValueForGroupNode=function(e){if(this.processRowGroupCallback)return this.processRowGroupCallback({node:e,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()});var t=[e.key];if(!this.gridOptionsWrapper.isGroupMultiAutoColumn())for(;e.parent;)e=e.parent,t.push(e.key);return t.reverse().join(" -> ")},e.prototype.processCell=function(e){var t=e.accumulatedRowIndex,r=e.rowNode,o=e.column,n=e.value,i=e.processCellCallback,a=e.type;return i?i({accumulatedRowIndex:t,column:o,node:r,value:n,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),type:a}):null!=n?n:""},e}(),s=r(0),l=function(){function e(){}return e.download=function(e,t){var r=document.defaultView||window;if(r){var o=document.createElement("a"),n=r.URL.createObjectURL(t);o.setAttribute("href",n),o.setAttribute("download",e),o.style.display="none",document.body.appendChild(o),o.dispatchEvent(new MouseEvent("click",{bubbles:!1,cancelable:!0,view:r})),document.body.removeChild(o),r.setTimeout((function(){r.URL.revokeObjectURL(n)}),0)}else console.warn("AG Grid: There is no `window` associated with the current `document`")},e}(),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e){function t(t){var r=e.call(this,t)||this;r.isFirstLine=!0,r.result="";var o=t.suppressQuotes,n=t.columnSeparator;return r.suppressQuotes=o,r.columnSeparator=n,r}return c(t,e),t.prototype.addCustomContent=function(e){var t=this;e&&("string"==typeof e?(/^\s*\n/.test(e)||this.beginNewLine(),e=e.replace(/\r?\n/g,"\r\n"),this.result+=e):e.forEach((function(e){t.beginNewLine(),e.forEach((function(e,r){0!==r&&(t.result+=t.columnSeparator),t.result+=t.putInQuotes(e.data.value||""),e.mergeAcross&&t.appendEmptyCells(e.mergeAcross)}))})))},t.prototype.onNewHeaderGroupingRow=function(){return this.beginNewLine(),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}},t.prototype.onNewHeaderGroupingRowColumn=function(e,t,r,o){0!=r&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t),this.appendEmptyCells(o)},t.prototype.appendEmptyCells=function(e){for(var t=1;t<=e;t++)this.result+=this.columnSeparator+this.putInQuotes("")},t.prototype.onNewHeaderRow=function(){return this.beginNewLine(),{onColumn:this.onNewHeaderRowColumn.bind(this)}},t.prototype.onNewHeaderRowColumn=function(e,t){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e))},t.prototype.onNewBodyRow=function(){return this.beginNewLine(),{onColumn:this.onNewBodyRowColumn.bind(this)}},t.prototype.onNewBodyRowColumn=function(e,t,r){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractRowCellValue(e,t,t,s.Constants.EXPORT_TYPE_CSV,r))},t.prototype.putInQuotes=function(e){return this.suppressQuotes?e:null==e?'""':("string"==typeof e?t=e:"function"==typeof e.toString?t=e.toString():(console.warn("AG Grid: unknown value type during csv conversion"),t=""),'"'+t.replace(/"/g,'""')+'"');var t},t.prototype.parse=function(){return this.result},t.prototype.beginNewLine=function(){this.isFirstLine||(this.result+="\r\n"),this.isFirstLine=!1},t}(a),p=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.postConstruct=function(){this.setBeans({gridSerializer:this.gridSerializer,gridOptionsWrapper:this.gridOptionsWrapper})},t.prototype.getMergedParams=function(e){var t=this.gridOptionsWrapper.getDefaultExportParams("csv");return Object.assign({},t,e)},t.prototype.export=function(e){if(this.isExportSuppressed())return console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration."),"";var t=this.getMergedParams(e),r=this.getData(t),o=new Blob(["\ufeff",r],{type:"text/plain"});return l.download(this.getFileName(t.fileName),o),r},t.prototype.exportDataAsCsv=function(e){return this.export(e)},t.prototype.getDataAsCsv=function(e,t){void 0===t&&(t=!1);var r=t?Object.assign({},e):this.getMergedParams(e);return this.getData(r)},t.prototype.getDefaultFileName=function(){return"export.csv"},t.prototype.getDefaultFileExtension=function(){return"csv"},t.prototype.createSerializingSession=function(e){var t=this.columnModel,r=this.valueService,o=this.gridOptionsWrapper,n=e,i=n.processCellCallback,a=n.processHeaderCallback,s=n.processGroupHeaderCallback,l=n.processRowGroupCallback,c=n.suppressQuotes,p=n.columnSeparator;return new u({columnModel:t,valueService:r,gridOptionsWrapper:o,processCellCallback:i||void 0,processHeaderCallback:a||void 0,processGroupHeaderCallback:s||void 0,processRowGroupCallback:l||void 0,suppressQuotes:c||!1,columnSeparator:p||","})},t.prototype.isExportSuppressed=function(){return this.gridOptionsWrapper.isSuppressCsvExport()},d([Object(s.Autowired)("columnModel")],t.prototype,"columnModel",void 0),d([Object(s.Autowired)("valueService")],t.prototype,"valueService",void 0),d([Object(s.Autowired)("gridSerializer")],t.prototype,"gridSerializer",void 0),d([Object(s.Autowired)("gridOptionsWrapper")],t.prototype,"gridOptionsWrapper",void 0),d([s.PostConstruct],t.prototype,"postConstruct",null),t=d([Object(s.Bean)("csvCreator")],t)}(i),h=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),f=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.HEADER_GROUPING=0]="HEADER_GROUPING",e[e.HEADER=1]="HEADER",e[e.BODY=2]="BODY"}(n||(n={}));var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.serialize=function(e,t){void 0===t&&(t={});var r=this.getColumnsToExport(t.allColumns,t.columnKeys);return s._.compose(this.prepareSession(r),this.prependContent(t),this.exportColumnGroups(t,r),this.exportHeaders(t,r),this.processPinnedTopRows(t,r),this.processRows(t,r),this.processPinnedBottomRows(t,r),this.appendContent(t))(e).parse()},t.prototype.processRow=function(e,t,r,o){var n=t.shouldRowBeSkipped||function(){return!1},i=this.gridOptionsWrapper,a=i.getContext(),l=i.getApi(),c=i.getColumnApi(),u=i.isGroupRemoveSingleChildren(),p=i.isGroupRemoveLowestSingleChildren(),d=null!=t.rowPositions,g=d||!!t.onlySelected,h=i.isGroupHideOpenParents()&&!g,f=this.columnModel.isPivotMode()?o.leafGroup:!o.group,v=t.skipGroups||t.skipRowGroups,y=p&&o.leafGroup,m=1===o.allChildrenCount&&(u||y);if((v&&t.skipGroups&&s._.doOnce((function(){return console.warn("AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.")}),"gridSerializer-skipGroups"),!(!f&&(t.skipRowGroups||m||h)||t.onlySelected&&!o.isSelected()||t.skipPinnedTop&&"top"===o.rowPinned||t.skipPinnedBottom&&"bottom"===o.rowPinned))&&((!(-1===o.level)||o.leafGroup||o.footer&&d)&&!n({node:o,api:l,columnApi:c,context:a}))){var b=e.onNewBodyRow();if(r.forEach((function(e,t){b.onColumn(e,t,o)})),t.getCustomContentBelowRow){var w=t.getCustomContentBelowRow({node:o,api:l,columnApi:c,context:a});w&&e.addCustomContent(w)}}},t.prototype.appendContent=function(e){return function(t){var r=e.customFooter||e.appendContent;return r&&(e.customFooter&&s._.doOnce((function(){return console.warn("AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.")}),"gridSerializer-customFooter"),t.addCustomContent(r)),t}},t.prototype.prependContent=function(e){return function(t){var r=e.customHeader||e.prependContent;return r&&(e.customHeader&&s._.doOnce((function(){return console.warn("AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.")}),"gridSerializer-customHeader"),t.addCustomContent(r)),t}},t.prototype.prepareSession=function(e){return function(t){return t.prepare(e),t}},t.prototype.exportColumnGroups=function(e,t){var r=this;return function(o){if(e.skipColumnGroupHeaders)e.columnGroups&&s._.doOnce((function(){return console.warn("AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.")}),"gridSerializer-columnGroups");else{var n=new s.GroupInstanceIdCreator,i=r.displayedGroupCreator.createDisplayedGroups(t,r.columnModel.getGridBalancedTree(),n,null);r.recursivelyAddHeaderGroups(i,o,e.processGroupHeaderCallback)}return o}},t.prototype.exportHeaders=function(e,t){return function(r){if(e.skipHeader||e.skipColumnHeaders)e.skipHeader&&s._.doOnce((function(){return console.warn("AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.")}),"gridSerializer-skipHeader");else{var o=r.onNewHeaderRow();t.forEach((function(e,t){o.onColumn(e,t,void 0)}))}return r}},t.prototype.processPinnedTopRows=function(e,t){var r=this;return function(o){var n=r.processRow.bind(r,o,e,t);return e.rowPositions?e.rowPositions.filter((function(e){return"top"===e.rowPinned})).sort((function(e,t){return e.rowIndex-t.rowIndex})).map((function(e){return r.pinnedRowModel.getPinnedTopRow(e.rowIndex)})).forEach(n):r.pinnedRowModel.forEachPinnedTopRow(n),o}},t.prototype.processRows=function(e,t){var r=this;return function(o){var n=r.rowModel,i=n.getType(),a=i===s.Constants.ROW_MODEL_TYPE_CLIENT_SIDE,l=i===s.Constants.ROW_MODEL_TYPE_SERVER_SIDE,c=!a&&e.onlySelected,u=r.processRow.bind(r,o,e,t),p=e.exportedRows,d=void 0===p?"filteredAndSorted":p;if(e.rowPositions)e.rowPositions.filter((function(e){return null==e.rowPinned})).sort((function(e,t){return e.rowIndex-t.rowIndex})).map((function(e){return n.getRow(e.rowIndex)})).forEach(u);else if(r.columnModel.isPivotMode())a?n.forEachPivotNode(u):n.forEachNode(u);else{if(e.onlySelectedAllPages||c)r.selectionService.getSelectedNodes().forEach(u);else"all"===d?n.forEachNode(u):a||l?n.forEachNodeAfterFilterAndSort(u):n.forEachNode(u)}return o}},t.prototype.processPinnedBottomRows=function(e,t){var r=this;return function(o){var n=r.processRow.bind(r,o,e,t);return e.rowPositions?e.rowPositions.filter((function(e){return"bottom"===e.rowPinned})).sort((function(e,t){return e.rowIndex-t.rowIndex})).map((function(e){return r.pinnedRowModel.getPinnedBottomRow(e.rowIndex)})).forEach(n):r.pinnedRowModel.forEachPinnedBottomRow(n),o}},t.prototype.getColumnsToExport=function(e,t){void 0===e&&(e=!1);var r=this.columnModel.isPivotMode();return t&&t.length?this.columnModel.getGridColumns(t):e&&!r?(this.gridOptionsWrapper.isTreeData()?this.columnModel.getGridColumns([s.Constants.GROUP_AUTO_COLUMN_ID]):[]).concat(this.columnModel.getAllPrimaryColumns()||[]):this.columnModel.getAllDisplayedColumns()},t.prototype.recursivelyAddHeaderGroups=function(e,t,r){var o=[];e.forEach((function(e){var t=e;t.getChildren&&t.getChildren().forEach((function(e){return o.push(e)}))})),e.length>0&&e[0]instanceof s.ColumnGroup&&this.doAddHeaderHeader(t,e,r),o&&o.length>0&&this.recursivelyAddHeaderGroups(o,t,r)},t.prototype.doAddHeaderHeader=function(e,t,r){var o=this,n=e.onNewHeaderGroupingRow(),i=0;t.forEach((function(e){var t,a=e;t=r?r({columnGroup:a,api:o.gridOptionsWrapper.getApi(),columnApi:o.gridOptionsWrapper.getColumnApi(),context:o.gridOptionsWrapper.getContext()}):o.columnModel.getDisplayNameForColumnGroup(a,"header");var l=a.getLeafColumns().reduce((function(e,t,r,o){var n=s._.last(e);return"open"===t.getColumnGroupShow()?n&&null==n[1]||(n=[r],e.push(n)):n&&null==n[1]&&(n[1]=r-1),r===o.length-1&&n&&null==n[1]&&(n[1]=r),e}),[]);n.onColumn(a,t||"",i++,a.getLeafColumns().length-1,l)}))},f([Object(s.Autowired)("displayedGroupCreator")],t.prototype,"displayedGroupCreator",void 0),f([Object(s.Autowired)("columnModel")],t.prototype,"columnModel",void 0),f([Object(s.Autowired)("rowModel")],t.prototype,"rowModel",void 0),f([Object(s.Autowired)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),f([Object(s.Autowired)("selectionService")],t.prototype,"selectionService",void 0),f([Object(s.Autowired)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),t=f([Object(s.Bean)("gridSerializer")],t)}(s.BeanStub),y={moduleName:s.ModuleNames.CsvExportModule,beans:[g,v]},m=function(){function e(){}return e.createHeader=function(e){void 0===e&&(e={});var t=["version"];return e.version||(e.version="1.0"),e.encoding&&t.push("encoding"),e.standalone&&t.push("standalone"),"<?xml "+t.map((function(t){return t+'="'+e[t]+'"'})).join(" ")+" ?>"},e.createXml=function(e,t){var r=this,o="";e.properties&&(e.properties.prefixedAttributes&&e.properties.prefixedAttributes.forEach((function(e){Object.keys(e.map).forEach((function(n){o+=r.returnAttributeIfPopulated(e.prefix+n,e.map[n],t)}))})),e.properties.rawMap&&Object.keys(e.properties.rawMap).forEach((function(n){o+=r.returnAttributeIfPopulated(n,e.properties.rawMap[n],t)})));var n="<"+e.name+o;return e.children||null!=e.textNode?null!=e.textNode?n+">"+e.textNode+"</"+e.name+">\r\n":(n+=">\r\n",e.children&&e.children.forEach((function(e){n+=r.createXml(e,t)})),n+"</"+e.name+">\r\n"):n+"/>\r\n"},e.returnAttributeIfPopulated=function(e,t,r){if(!t&&""!==t&&0!==t)return"";var o=t;return"boolean"==typeof t&&r&&(o=r(t))," "+e+'="'+o+'"'},e}(),b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),C=function(){function e(){}return e.addFolders=function(e){e.forEach(this.addFolder.bind(this))},e.addFolder=function(e){this.folders.push({path:e,created:new Date,isBase64:!1})},e.addFile=function(e,t,r){void 0===r&&(r=!1),this.files.push({path:e,created:new Date,content:t,isBase64:r})},e.getContent=function(e){void 0===e&&(e="application/zip");var t=this.buildFileStream(),r=this.buildUint8Array(t);return this.clearStream(),new Blob([r],{type:e})},e.clearStream=function(){this.folders=[],this.files=[]},e.buildFileStream=function(e){var t,r;void 0===e&&(e="");var o=this.folders.concat(this.files),n=o.length,i="",a=0,s=0;try{for(var l=b(o),c=l.next();!c.done;c=l.next()){var u=c.value,p=this.getHeader(u,a),d=p.fileHeader,g=p.folderHeader,h=p.content;a+=d.length+h.length,s+=g.length,e+=d+h,i+=g}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return e+i+this.buildFolderEnd(n,s,a)},e.getHeader=function(e,t){var r=e.content,o=e.path,n=e.created,i=e.isBase64,a=s._.utf8_encode,l=s._.decToHex,c=a(o),u=c!==o,p=this.convertTime(n),d=this.convertDate(n),g="";if(u){var h=l(1,1)+l(this.getFromCrc32Table(c),4)+c;g="up"+l(h.length,2)+h}var f=r?this.getConvertedContent(r,i):{size:0,content:""},v=f.size,y=f.content,m="\n\0"+(u?"\0\b":"\0\0")+"\0\0"+l(p,2)+l(d,2)+l(v?this.getFromCrc32Table(y):0,4)+l(v,4)+l(v,4)+l(c.length,2)+l(g.length,2);return{fileHeader:"PK"+m+c+g,folderHeader:"PK\0"+m+"\0\0\0\0\0\0"+(r?"\0\0\0\0":"\0\0\0")+l(t,4)+c+g,content:y||""}},e.getConvertedContent=function(e,t){return void 0===t&&(t=!1),t&&(e=e.split(";base64,")[1]),{size:(e=t?atob(e):e).length,content:e}},e.buildFolderEnd=function(e,t,r){var o=s._.decToHex;return"PK\0\0\0\0"+o(e,2)+o(e,2)+o(t,4)+o(r,4)+"\0\0"},e.buildUint8Array=function(e){for(var t=new Uint8Array(e.length),r=0;r<t.length;r++)t[r]=e.charCodeAt(r);return t},e.getFromCrc32Table=function(e){if(!e.length)return 0;for(var t=e.length,r=new Uint8Array(t),o=0;o<t;o++)r[o]=e.charCodeAt(o);var n=-1,i=0;for(o=0;o<t;o++)i=r[o],n=n>>>8^w[255&(n^i)];return-1^n},e.convertTime=function(e){var t=e.getHours();return t<<=6,t|=e.getMinutes(),t<<=5,t|=e.getSeconds()/2},e.convertDate=function(e){var t=e.getFullYear()-1980;return t<<=4,t|=e.getMonth()+1,t<<=5,t|=e.getDate()},e.folders=[],e.files=[],e}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return q})),r.d(t,"a",(function(){return $}));var o,n,i,a=r(6),s=r(1),l=r(9),c=r(28),u=r(47),p=r(18),d=r(36),g=r(44),h=r(4),f=r(8),v=r(3),y=r(2),m=r(10),b=r(17),w=r(16),C=r(43),O=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),S=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},E=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},x=function(e){function t(t){var r=e.call(this)||this;return r.element=t,r}return O(t,e),t.prototype.postConstruct=function(){this.addMouseListeners(),this.mockContextMenuForIPad(),this.addKeyboardEvents()},t.prototype.addKeyboardEvents=function(){var e=this;["keydown","keypress"].forEach((function(t){var r=e.processKeyboardEvent.bind(e,t);e.addManagedListener(e.element,t,r)}))},t.prototype.addMouseListeners=function(){var e=this;["dblclick","contextmenu","mouseover","mouseout","click",Object(c.isEventSupported)("touchstart")?"touchstart":"mousedown"].forEach((function(t){var r=e.processMouseEvent.bind(e,t);e.addManagedListener(e.element,t,r)}))},t.prototype.processMouseEvent=function(e,t){if(this.mouseEventService.isEventFromThisGrid(t)&&!Object(c.isStopPropagationForAgGrid)(t)){var r=this.getRowForEvent(t),o=this.mouseEventService.getRenderedCellForEvent(t);"contextmenu"===e?this.handleContextMenuMouseEvent(t,null,r,o):(o&&o.onMouseEvent(e,t),r&&r.onMouseEvent(e,t))}},t.prototype.mockContextMenuForIPad=function(){var e=this;if(Object(p.isIOSUserAgent)()){var t=new d.a(this.element);this.addManagedListener(t,d.a.EVENT_LONG_TAP,(function(t){var r=e.getRowForEvent(t.touchEvent),o=e.mouseEventService.getRenderedCellForEvent(t.touchEvent);e.handleContextMenuMouseEvent(null,t.touchEvent,r,o)})),this.addDestroyFunc((function(){return t.destroy()}))}},t.prototype.getRowForEvent=function(e){for(var t=e.target;t;){var r=this.gridOptionsWrapper.getDomData(t,u.a.DOM_DATA_KEY_ROW_CTRL);if(r)return r;t=t.parentElement}return null},t.prototype.handleContextMenuMouseEvent=function(e,t,r,o){var n=r?r.getRowNode():null,i=o?o.getColumn():null,a=null;if(i){var s=e||t;o.dispatchCellContextMenuEvent(s),a=this.valueService.getValue(i,n)}var l=this.ctrlsService.getGridBodyCtrl(),c=o?o.getGui():l.getGridBodyElement();this.contextMenuFactory&&this.contextMenuFactory.onContextMenu(e,t,n,i,a,c)},t.prototype.processKeyboardEvent=function(e,t){var r=Object(c.getCtrlForEvent)(this.gridOptionsWrapper,t,C.a.DOM_DATA_KEY_CELL_CTRL),o=Object(c.getCtrlForEvent)(this.gridOptionsWrapper,t,u.a.DOM_DATA_KEY_ROW_CTRL);t.defaultPrevented||(r?this.processCellKeyboardEvent(r,e,t):o&&o.isFullWidth()&&this.processFullWidthRowKeyboardEvent(o,e,t))},t.prototype.processCellKeyboardEvent=function(e,t,r){var o=e.getRowNode(),n=e.getColumn(),i=e.isEditing();if(!Object(g.isUserSuppressingKeyboardEvent)(this.gridOptionsWrapper,r,o,n,i))switch(t){case"keydown":!i&&this.navigationService.handlePageScrollingKey(r)||e.onKeyDown(r),this.doGridOperations(r,e.isEditing());break;case"keypress":e.onKeyPress(r)}if("keydown"===t){var a=e.createEvent(r,h.a.EVENT_CELL_KEY_DOWN);this.eventService.dispatchEvent(a)}if("keypress"===t){var s=e.createEvent(r,h.a.EVENT_CELL_KEY_PRESS);this.eventService.dispatchEvent(s)}},t.prototype.processFullWidthRowKeyboardEvent=function(e,t,r){var o=e.getRowNode(),n=this.focusService.getFocusedCell(),i=n&&n.column;if(!Object(g.isUserSuppressingKeyboardEvent)(this.gridOptionsWrapper,r,o,i,!1)){var a=r.key;if("keydown"===t)switch(a){case f.a.UP:case f.a.DOWN:e.onKeyboardNavigate(r);break;case f.a.TAB:e.onTabKeyDown(r)}}if("keydown"===t){var s=e.createRowEvent(h.a.EVENT_CELL_KEY_DOWN,r);this.eventService.dispatchEvent(s)}if("keypress"===t){var l=e.createRowEvent(h.a.EVENT_CELL_KEY_PRESS,r);this.eventService.dispatchEvent(l)}},t.prototype.doGridOperations=function(e,t){if((e.ctrlKey||e.metaKey)&&!t&&this.mouseEventService.isEventFromThisGrid(e)){var r=Object(g.normaliseQwertyAzerty)(e);return r===f.a.A?this.onCtrlAndA(e):r===f.a.C?this.onCtrlAndC(e):r===f.a.V?this.onCtrlAndV():r===f.a.D?this.onCtrlAndD(e):r===f.a.Z?this.onCtrlAndZ(e):r===f.a.Y?this.onCtrlAndY():void 0}},t.prototype.onCtrlAndA=function(e){var t=this.pinnedRowModel,r=this.paginationProxy,o=this.rangeService,n=v.a.PINNED_BOTTOM,i=v.a.PINNED_TOP;if(o&&r.isRowsToRender()){var a=E([t.isEmpty(i),t.isEmpty(n)],2),s=a[0]?null:i,l=void 0,c=void 0;a[1]?(l=null,c=this.paginationProxy.getRowCount()-1):(l=n,c=t.getPinnedBottomRowData().length-1);var u=this.columnModel.getAllDisplayedColumns();if(Object(y.missingOrEmpty)(u))return;o.setCellRange({rowStartIndex:0,rowStartPinned:s,rowEndIndex:c,rowEndPinned:l,columnStart:u[0],columnEnd:Object(m.last)(u)})}e.preventDefault()},t.prototype.onCtrlAndC=function(e){this.clipboardService&&!this.gridOptionsWrapper.isEnableCellTextSelection()&&(this.clipboardService.copyToClipboard(),e.preventDefault())},t.prototype.onCtrlAndV=function(){b.a.isRegistered(w.a.ClipboardModule)&&!this.gridOptionsWrapper.isSuppressClipboardPaste()&&this.clipboardService.pasteFromClipboard()},t.prototype.onCtrlAndD=function(e){b.a.isRegistered(w.a.ClipboardModule)&&!this.gridOptionsWrapper.isSuppressClipboardPaste()&&this.clipboardService.copyRangeDown(),e.preventDefault()},t.prototype.onCtrlAndZ=function(e){this.gridOptionsWrapper.isUndoRedoCellEditing()&&(e.preventDefault(),e.shiftKey?this.undoRedoService.redo():this.undoRedoService.undo())},t.prototype.onCtrlAndY=function(){this.undoRedoService.redo()},S([Object(s.a)("mouseEventService")],t.prototype,"mouseEventService",void 0),S([Object(s.a)("valueService")],t.prototype,"valueService",void 0),S([Object(s.d)("contextMenuFactory")],t.prototype,"contextMenuFactory",void 0),S([Object(s.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),S([Object(s.a)("navigationService")],t.prototype,"navigationService",void 0),S([Object(s.a)("focusService")],t.prototype,"focusService",void 0),S([Object(s.a)("undoRedoService")],t.prototype,"undoRedoService",void 0),S([Object(s.a)("columnModel")],t.prototype,"columnModel",void 0),S([Object(s.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),S([Object(s.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),S([Object(s.d)("rangeService")],t.prototype,"rangeService",void 0),S([Object(s.d)("clipboardService")],t.prototype,"clipboardService",void 0),S([s.e],t.prototype,"postConstruct",null),t}(a.a),R=r(5),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),A=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},P=function(e){function t(t){var r=e.call(this)||this;return r.centerContainerCtrl=t,r}return T(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(){e.gridBodyCtrl=e.ctrlsService.getGridBodyCtrl(),e.listenForResize()})),this.addManagedListener(this.eventService,h.a.EVENT_SCROLLBAR_WIDTH_CHANGED,this.onScrollbarWidthChanged.bind(this))},t.prototype.listenForResize=function(){var e=this,t=function(){return e.onCenterViewportResized()};this.centerContainerCtrl.registerViewportResizeListener(t),this.gridBodyCtrl.registerBodyViewportResizeListener(t)},t.prototype.onScrollbarWidthChanged=function(){this.checkViewportAndScrolls()},t.prototype.onCenterViewportResized=function(){if(this.centerContainerCtrl.isViewportVisible()){this.checkViewportAndScrolls();var e=this.centerContainerCtrl.getCenterWidth();e!==this.centerWidth&&(this.centerWidth=e,this.columnModel.refreshFlexedColumns({viewportWidth:this.centerWidth,updateBodyWidths:!0,fireResizedEvent:!0}))}else this.bodyHeight=0},t.prototype.checkViewportAndScrolls=function(){this.updateScrollVisibleService(),this.checkBodyHeight(),this.onHorizontalViewportChanged(),this.gridBodyCtrl.getScrollFeature().checkScrollLeft()},t.prototype.getBodyHeight=function(){return this.bodyHeight},t.prototype.checkBodyHeight=function(){var e=this.gridBodyCtrl.getBodyViewportElement(),t=Object(R.getInnerHeight)(e);if(this.bodyHeight!==t){this.bodyHeight=t;var r={type:h.a.EVENT_BODY_HEIGHT_CHANGED};this.eventService.dispatchEvent(r)}},t.prototype.updateScrollVisibleService=function(){this.updateScrollVisibleServiceImpl(),setTimeout(this.updateScrollVisibleServiceImpl.bind(this),500)},t.prototype.updateScrollVisibleServiceImpl=function(){var e={horizontalScrollShowing:this.isHorizontalScrollShowing(),verticalScrollShowing:this.gridBodyCtrl.isVerticalScrollShowing()};this.scrollVisibleService.setScrollsVisible(e),this.gridBodyCtrl.setVerticalScrollPaddingVisible(e.verticalScrollShowing)},t.prototype.isHorizontalScrollShowing=function(){return this.gridOptionsWrapper.isAlwaysShowHorizontalScroll()||this.centerContainerCtrl.isViewportHScrollShowing()},t.prototype.onHorizontalViewportChanged=function(){var e=this.centerContainerCtrl.getCenterWidth(),t=this.centerContainerCtrl.getViewportScrollLeft();this.columnModel.setViewportPosition(e,t)},A([Object(s.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),A([Object(s.a)("columnModel")],t.prototype,"columnModel",void 0),A([Object(s.a)("scrollVisibleService")],t.prototype,"scrollVisibleService",void 0),A([s.e],t.prototype,"postConstruct",null),t}(a.a),_=r(54),D=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),M=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},N=function(e){function t(t){var r=e.call(this)||this;return r.element=t,r}return D(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.eventService,l.a.EVENT_LEFT_PINNED_WIDTH_CHANGED,this.onPinnedLeftWidthChanged.bind(this))},t.prototype.onPinnedLeftWidthChanged=function(){var e=this.pinnedWidthService.getPinnedLeftWidth(),t=e>0;Object(R.setDisplayed)(this.element,t),t&&Object(R.setFixedWidth)(this.element,e)},M([Object(s.a)("pinnedWidthService")],t.prototype,"pinnedWidthService",void 0),M([s.e],t.prototype,"postConstruct",null),t}(a.a),I=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),L=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},k=function(e){function t(t){var r=e.call(this)||this;return r.element=t,r}return I(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.eventService,l.a.EVENT_RIGHT_PINNED_WIDTH_CHANGED,this.onPinnedRightWidthChanged.bind(this))},t.prototype.onPinnedRightWidthChanged=function(){var e=this.pinnedWidthService.getPinnedRightWidth(),t=e>0;Object(R.setDisplayed)(this.element,t),t&&Object(R.setFixedWidth)(this.element,e)},L([Object(s.a)("pinnedWidthService")],t.prototype,"pinnedWidthService",void 0),L([s.e],t.prototype,"postConstruct",null),t}(a.a),F=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),G=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},j=function(e){function t(t,r){var o=e.call(this)||this;return o.eContainer=t,o.eWrapper=r,o}return F(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.eventService,l.a.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,this.onHeightChanged.bind(this))},t.prototype.onHeightChanged=function(){var e=this.maxDivHeightScaler.getUiContainerHeight(),t=null!=e?e+"px":"";this.eContainer.style.height=t,this.eWrapper&&(this.eWrapper.style.height=t)},G([Object(s.a)("rowContainerHeightService")],t.prototype,"maxDivHeightScaler",void 0),G([s.e],t.prototype,"postConstruct",null),t}(a.a),z=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),B=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},V=function(e){function t(t){var r=e.call(this)||this;return r.eContainer=t,r}return z(t,e),t.prototype.postConstruct=function(){var e=this;if(this.gridOptionsWrapper.isEnableRangeSelection()&&!Object(y.missing)(this.rangeService)){var t={eElement:this.eContainer,onDragStart:this.rangeService.onDragStart.bind(this.rangeService),onDragStop:this.rangeService.onDragStop.bind(this.rangeService),onDragging:this.rangeService.onDragging.bind(this.rangeService)};this.dragService.addDragSource(t),this.addDestroyFunc((function(){return e.dragService.removeDragSource(t)}))}},B([Object(s.d)("rangeService")],t.prototype,"rangeService",void 0),B([Object(s.a)("dragService")],t.prototype,"dragService",void 0),B([s.e],t.prototype,"postConstruct",null),t}(a.a),W=r(92),H=r(12),U=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),K=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Y=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},X=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Y(arguments[t]));return e};function q(e){switch(e){case n.CENTER:case n.TOP_CENTER:case n.STICKY_TOP_CENTER:case n.BOTTOM_CENTER:return i.CENTER;case n.LEFT:case n.TOP_LEFT:case n.STICKY_TOP_LEFT:case n.BOTTOM_LEFT:return i.LEFT;case n.RIGHT:case n.TOP_RIGHT:case n.STICKY_TOP_RIGHT:case n.BOTTOM_RIGHT:return i.RIGHT;case n.FULL_WIDTH:case n.TOP_FULL_WIDTH:case n.STICKY_TOP_FULL_WIDTH:case n.BOTTOM_FULL_WIDTH:return i.FULL_WIDTH;default:throw Error("Invalid Row Container Type")}}!function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.FULL_WIDTH="fullWidth",e.TOP_LEFT="topLeft",e.TOP_RIGHT="topRight",e.TOP_CENTER="topCenter",e.TOP_FULL_WIDTH="topFullWidth",e.STICKY_TOP_LEFT="stickyTopLeft",e.STICKY_TOP_RIGHT="stickyTopRight",e.STICKY_TOP_CENTER="stickyTopCenter",e.STICKY_TOP_FULL_WIDTH="stickyTopFullWidth",e.BOTTOM_LEFT="bottomLeft",e.BOTTOM_RIGHT="bottomRight",e.BOTTOM_CENTER="bottomCenter",e.BOTTOM_FULL_WIDTH="bottomFullWidth"}(n||(n={})),function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.FULL_WIDTH="fullWidth"}(i||(i={}));var Q=Object(_.convertToMap)([[n.CENTER,"ag-center-cols-container"],[n.LEFT,"ag-pinned-left-cols-container"],[n.RIGHT,"ag-pinned-right-cols-container"],[n.FULL_WIDTH,"ag-full-width-container"],[n.TOP_CENTER,"ag-floating-top-container"],[n.TOP_LEFT,"ag-pinned-left-floating-top"],[n.TOP_RIGHT,"ag-pinned-right-floating-top"],[n.TOP_FULL_WIDTH,"ag-floating-top-full-width-container"],[n.STICKY_TOP_CENTER,"ag-sticky-top-container"],[n.STICKY_TOP_LEFT,"ag-pinned-left-sticky-top"],[n.STICKY_TOP_RIGHT,"ag-pinned-right-sticky-top"],[n.STICKY_TOP_FULL_WIDTH,"ag-sticky-top-full-width-container"],[n.BOTTOM_CENTER,"ag-floating-bottom-container"],[n.BOTTOM_LEFT,"ag-pinned-left-floating-bottom"],[n.BOTTOM_RIGHT,"ag-pinned-right-floating-bottom"],[n.BOTTOM_FULL_WIDTH,"ag-floating-bottom-full-width-container"]]),Z=Object(_.convertToMap)([[n.CENTER,"ag-center-cols-viewport"],[n.TOP_CENTER,"ag-floating-top-viewport"],[n.STICKY_TOP_CENTER,"ag-sticky-top-viewport"],[n.BOTTOM_CENTER,"ag-floating-bottom-viewport"]]),J=Object(_.convertToMap)([[n.CENTER,"ag-center-cols-clipper"]]),$=function(e){function t(t){var r=e.call(this)||this;return r.name=t,r}return U(t,e),t.getRowContainerCssClasses=function(e){return{container:Q.get(e),viewport:Z.get(e),wrapper:J.get(e)}},t.getPinned=function(e){switch(e){case n.BOTTOM_LEFT:case n.TOP_LEFT:case n.STICKY_TOP_LEFT:case n.LEFT:return v.a.PINNED_LEFT;case n.BOTTOM_RIGHT:case n.TOP_RIGHT:case n.STICKY_TOP_RIGHT:case n.RIGHT:return v.a.PINNED_RIGHT;default:return null}},t.prototype.postConstruct=function(){var e=this;this.enableRtl=this.gridOptionsWrapper.isEnableRtl(),this.embedFullWidthRows=this.gridOptionsWrapper.isEmbedFullWidthRows(),this.forContainers([n.CENTER],(function(){return e.viewportSizeFeature=e.createManagedBean(new P(e))}))},t.prototype.registerWithCtrlsService=function(){switch(this.name){case n.CENTER:this.ctrlsService.registerCenterRowContainerCtrl(this);break;case n.LEFT:this.ctrlsService.registerLeftRowContainerCtrl(this);break;case n.RIGHT:this.ctrlsService.registerRightRowContainerCtrl(this);break;case n.TOP_CENTER:this.ctrlsService.registerTopCenterRowContainerCtrl(this);break;case n.TOP_LEFT:this.ctrlsService.registerTopLeftRowContainerCon(this);break;case n.TOP_RIGHT:this.ctrlsService.registerTopRightRowContainerCtrl(this);break;case n.STICKY_TOP_CENTER:this.ctrlsService.registerStickyTopCenterRowContainerCtrl(this);break;case n.STICKY_TOP_LEFT:this.ctrlsService.registerStickyTopLeftRowContainerCon(this);break;case n.STICKY_TOP_RIGHT:this.ctrlsService.registerStickyTopRightRowContainerCtrl(this);break;case n.BOTTOM_CENTER:this.ctrlsService.registerBottomCenterRowContainerCtrl(this);break;case n.BOTTOM_LEFT:this.ctrlsService.registerBottomLeftRowContainerCtrl(this);break;case n.BOTTOM_RIGHT:this.ctrlsService.registerBottomRightRowContainerCtrl(this)}},t.prototype.forContainers=function(e,t){e.indexOf(this.name)>=0&&t()},t.prototype.getContainerElement=function(){return this.eContainer},t.prototype.getViewportSizeFeature=function(){return this.viewportSizeFeature},t.prototype.setComp=function(e,t,r,o){var i=this;this.comp=e,this.eContainer=t,this.eViewport=r,this.eWrapper=o,this.createManagedBean(new x(this.eContainer)),this.addPreventScrollWhileDragging(),this.listenOnDomOrder(),this.stopHScrollOnPinnedRows();var a=[n.TOP_CENTER,n.TOP_LEFT,n.TOP_RIGHT],s=[n.STICKY_TOP_CENTER,n.STICKY_TOP_LEFT,n.STICKY_TOP_RIGHT],l=[n.BOTTOM_CENTER,n.BOTTOM_LEFT,n.BOTTOM_RIGHT],c=[n.CENTER,n.LEFT,n.RIGHT],u=X(a,l,c,s),p=[n.CENTER,n.LEFT,n.RIGHT,n.FULL_WIDTH],d=[n.CENTER,n.TOP_CENTER,n.STICKY_TOP_CENTER,n.BOTTOM_CENTER],g=[n.LEFT,n.BOTTOM_LEFT,n.TOP_LEFT,n.STICKY_TOP_LEFT],h=[n.RIGHT,n.BOTTOM_RIGHT,n.TOP_RIGHT,n.STICKY_TOP_RIGHT];this.forContainers(g,(function(){return i.createManagedBean(new N(i.eContainer))})),this.forContainers(h,(function(){return i.createManagedBean(new k(i.eContainer))})),this.forContainers(p,(function(){return i.createManagedBean(new j(i.eContainer,i.eWrapper))})),this.forContainers(u,(function(){return i.createManagedBean(new V(i.eContainer))})),this.forContainers(d,(function(){return i.createManagedBean(new W.a((function(e){return i.comp.setContainerWidth(e+"px")})))})),this.addListeners(),this.registerWithCtrlsService()},t.prototype.addListeners=function(){var e=this;this.addManagedListener(this.eventService,l.a.EVENT_SCROLL_VISIBILITY_CHANGED,(function(){return e.onScrollVisibilityChanged()})),this.addManagedListener(this.eventService,l.a.EVENT_DISPLAYED_COLUMNS_CHANGED,(function(){return e.onDisplayedColumnsChanged()})),this.addManagedListener(this.eventService,l.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,(function(){return e.onDisplayedColumnsWidthChanged()})),this.addManagedListener(this.eventService,l.a.EVENT_DISPLAYED_ROWS_CHANGED,(function(){return e.onDisplayedRowsChanged()})),this.onScrollVisibilityChanged(),this.onDisplayedColumnsChanged(),this.onDisplayedColumnsWidthChanged(),this.onDisplayedRowsChanged()},t.prototype.listenOnDomOrder=function(){var e=this;if([n.STICKY_TOP_CENTER,n.STICKY_TOP_LEFT,n.STICKY_TOP_RIGHT,n.STICKY_TOP_FULL_WIDTH].indexOf(this.name)>=0)this.comp.setDomOrder(!0);else{var t=function(){return e.comp.setDomOrder(e.gridOptionsWrapper.isEnsureDomOrder())};this.addManagedListener(this.gridOptionsWrapper,H.a.PROP_DOM_LAYOUT,t),t()}},t.prototype.stopHScrollOnPinnedRows=function(){var e=this;this.forContainers([n.TOP_CENTER,n.STICKY_TOP_CENTER,n.BOTTOM_CENTER],(function(){e.addManagedListener(e.eViewport,"scroll",(function(){return e.eViewport.scrollLeft=0}))}))},t.prototype.onDisplayedColumnsChanged=function(){var e=this;this.forContainers([n.CENTER],(function(){return e.onHorizontalViewportChanged()}))},t.prototype.onDisplayedColumnsWidthChanged=function(){var e=this;this.forContainers([n.CENTER],(function(){return e.onHorizontalViewportChanged()}))},t.prototype.onScrollVisibilityChanged=function(){if(this.name===n.CENTER){var e=this.scrollVisibleService.isHorizontalScrollShowing()&&this.gridOptionsWrapper.getScrollbarWidth()||0,t=0==e?"100%":"calc(100% + "+e+"px)";this.comp.setViewportHeight(t)}},t.prototype.addPreventScrollWhileDragging=function(){var e=this,t=function(t){e.dragService.isDragging()&&t.cancelable&&t.preventDefault()};this.eContainer.addEventListener("touchmove",t,{passive:!1}),this.addDestroyFunc((function(){return e.eContainer.removeEventListener("touchmove",t)}))},t.prototype.onHorizontalViewportChanged=function(){var e=this.getCenterWidth(),t=this.getCenterViewportScrollLeft();this.columnModel.setViewportPosition(e,t)},t.prototype.getCenterWidth=function(){return Object(R.getInnerWidth)(this.eViewport)},t.prototype.getCenterViewportScrollLeft=function(){return Object(R.getScrollLeft)(this.eViewport,this.enableRtl)},t.prototype.registerViewportResizeListener=function(e){var t=this.resizeObserverService.observeResize(this.eViewport,e);this.addDestroyFunc((function(){return t()}))},t.prototype.isViewportVisible=function(){return Object(R.isVisible)(this.eViewport)},t.prototype.isViewportHScrollShowing=function(){return Object(R.isHorizontalScrollShowing)(this.eViewport)},t.prototype.getViewportScrollLeft=function(){return Object(R.getScrollLeft)(this.eViewport,this.enableRtl)},t.prototype.isHorizontalScrollShowing=function(){return this.gridOptionsWrapper.isAlwaysShowHorizontalScroll()||Object(R.isHorizontalScrollShowing)(this.eViewport)},t.prototype.getViewportElement=function(){return this.eViewport},t.prototype.setContainerTranslateX=function(e){this.eContainer.style.transform="translateX("+e+"px)"},t.prototype.getHScrollPosition=function(){return{left:this.eViewport.scrollLeft,right:this.eViewport.scrollLeft+this.eViewport.offsetWidth}},t.prototype.setCenterViewportScrollLeft=function(e){Object(R.setScrollLeft)(this.eViewport,e,this.enableRtl)},t.prototype.onDisplayedRowsChanged=function(){var e=this,t=this.name===n.TOP_FULL_WIDTH||this.name===n.STICKY_TOP_FULL_WIDTH||this.name===n.BOTTOM_FULL_WIDTH||this.name===n.FULL_WIDTH,r=this.getRowCtrls().filter((function(r){var o=r.isFullWidth(),n=e.gridOptionsWrapper.getDomLayout()===v.a.DOM_LAYOUT_PRINT,i=e.embedFullWidthRows||n;return t?!i&&o:i||!o}));this.comp.setRowCtrls(r)},t.prototype.getRowCtrls=function(){switch(this.name){case n.TOP_CENTER:case n.TOP_LEFT:case n.TOP_RIGHT:case n.TOP_FULL_WIDTH:return this.rowRenderer.getTopRowCtrls();case n.STICKY_TOP_CENTER:case n.STICKY_TOP_LEFT:case n.STICKY_TOP_RIGHT:case n.STICKY_TOP_FULL_WIDTH:return this.rowRenderer.getStickyTopRowCtrls();case n.BOTTOM_CENTER:case n.BOTTOM_LEFT:case n.BOTTOM_RIGHT:case n.BOTTOM_FULL_WIDTH:return this.rowRenderer.getBottomRowCtrls();default:return this.rowRenderer.getRowCtrls()}},K([Object(s.a)("scrollVisibleService")],t.prototype,"scrollVisibleService",void 0),K([Object(s.a)("dragService")],t.prototype,"dragService",void 0),K([Object(s.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),K([Object(s.a)("columnModel")],t.prototype,"columnModel",void 0),K([Object(s.a)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),K([Object(s.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),K([s.e],t.prototype,"postConstruct",null),t}(a.a)},function(e,t,r){"use strict";r.r(t),r.d(t,"EnterpriseCoreModule",(function(){return f})),r.d(t,"LicenseManager",(function(){return l}));var o,n=r(0),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},s=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.watermarkMessage=void 0,t}var r;return i(t,e),r=t,t.prototype.validateLicense=function(){if(n._.missingOrEmpty(r.licenseKey))this.outputMissingLicenseKey();else if(r.licenseKey.length>32){var e=r.extractLicenseComponents(r.licenseKey),t=e.md5,o=e.license,i=e.version,a=e.isTrial;t===this.md5.md5(o)?n._.exists(i)&&i?this.validateLicenseKeyForVersion(i,!!a,o):this.validateLegacyKey(o):this.outputInvalidLicenseKey()}else this.outputInvalidLicenseKey()},t.extractExpiry=function(e){var t=e.substring(e.lastIndexOf("_")+1,e.length);return new Date(parseInt(r.decode(t),10))},t.extractLicenseComponents=function(e){var t=e.replace(/[\u200B-\u200D\uFEFF]/g,""),o=(t=t.replace(/\r?\n|\r/g,"")).length-32,n=t.substring(o),i=t.substring(0,o),a=s(r.extractBracketedInformation(t),2);return{md5:n,license:i,version:a[0],isTrial:a[1]}},t.prototype.getLicenseDetails=function(e){var t=r.extractLicenseComponents(e),o=t.md5,n=t.license,i=t.version,a=t.isTrial,s=o===this.md5.md5(n),l=null;return s&&(l=r.extractExpiry(n),s=!isNaN(l.getTime())),{licenseKey:e,valid:s,expiry:s?r.formatDate(l):null,version:i||"legacy",isTrial:a}},t.prototype.isDisplayWatermark=function(){return!n._.missingOrEmpty(this.watermarkMessage)},t.prototype.getWatermarkMessage=function(){return this.watermarkMessage||""},t.formatDate=function(e){var t=e.getDate(),r=e.getMonth(),o=e.getFullYear();return t+" "+["January","February","March","April","May","June","July","August","September","October","November","December"][r]+" "+o},t.getGridReleaseDate=function(){return new Date(parseInt(r.decode(r.RELEASE_INFORMATION),10))},t.decode=function(e){for(var t,o,n,i,a,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0,p=e.replace(/[^A-Za-z0-9+/=]/g,"");u<p.length;)t=l.indexOf(p.charAt(u++))<<2|(i=l.indexOf(p.charAt(u++)))>>4,o=(15&i)<<4|(a=l.indexOf(p.charAt(u++)))>>2,n=(3&a)<<6|(s=l.indexOf(p.charAt(u++))),c+=String.fromCharCode(t),64!=a&&(c+=String.fromCharCode(o)),64!=s&&(c+=String.fromCharCode(n));return c=r.utf8_decode(c)},t.utf8_decode=function(e){e=e.replace(/rn/g,"n");for(var t="",r=0;r<e.length;r++){var o=e.charCodeAt(r);o<128?t+=String.fromCharCode(o):o>127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t},t.setLicenseKey=function(e){r.licenseKey=e},t.extractBracketedInformation=function(e){var t=e.split("[").filter((function(e){return e.indexOf("]")>-1})).map((function(e){return e.split("]")[0]}));if(!t||0===t.length)return[null,null];var r=1===t.filter((function(e){return"TRIAL"===e})).length;return[t.filter((function(e){return 0===e.indexOf("v")})).map((function(e){return e.replace(/^v/,"")}))[0],r]},t.prototype.validateLicenseKeyForVersion=function(e,t,r){"2"===e&&(t?this.validateForTrial(r):this.validateLegacyKey(r))},t.prototype.validateLegacyKey=function(e){var t=r.getGridReleaseDate(),o=r.extractExpiry(e),n=!1,i=!1;if(isNaN(o.getTime())||(n=!0,i=t<o),n){if(!i){var a=r.formatDate(o),s=r.formatDate(t);this.outputIncompatibleVersion(a,s)}}else this.outputInvalidLicenseKey()},t.prototype.validateForTrial=function(e){var t=r.extractExpiry(e),o=new Date,n=!1,i=!1;if(isNaN(t.getTime())||(n=!0,i=t>o),n){if(!i){var a=r.formatDate(t);this.outputExpiredTrialKey(a)}}else this.outputInvalidLicenseKey()},t.prototype.outputInvalidLicenseKey=function(){console.error("*****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License ********************************************"),console.error("********************************************* Invalid License ***************************************************"),console.error("* Your license for AG Grid Enterprise is not valid - please contact info@ag-grid.com to obtain a valid license. *"),console.error("*****************************************************************************************************************"),console.error("*****************************************************************************************************************"),this.watermarkMessage="Invalid License"},t.prototype.outputExpiredTrialKey=function(e){console.error("****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License *******************************************"),console.error("***************************************** Trial Period Expired. *******************************************"),console.error("* Your license for AG Grid Enterprise expired on "+e+". *"),console.error("* Please email info@ag-grid.com to purchase a license. *"),console.error("****************************************************************************************************************"),console.error("****************************************************************************************************************"),this.watermarkMessage="Trial Period Expired"},t.prototype.outputMissingLicenseKey=function(){console.error("****************************************************************************************************************"),console.error("***************************************** AG Grid Enterprise License *******************************************"),console.error("****************************************** License Key Not Found ***********************************************"),console.error("* All AG Grid Enterprise features are unlocked. *"),console.error("* This is an evaluation only version, it is not licensed for development projects intended for production. *"),console.error("* If you want to hide the watermark, please email info@ag-grid.com for a trial license. *"),console.error("****************************************************************************************************************"),console.error("****************************************************************************************************************"),this.watermarkMessage="For Trial Use Only"},t.prototype.outputIncompatibleVersion=function(e,t){console.error("****************************************************************************************************************************"),console.error("****************************************************************************************************************************"),console.error("* AG Grid Enterprise License *"),console.error("* License not compatible with installed version of AG Grid Enterprise. *"),console.error("* *"),console.error("* Your AG Grid License entitles you to all versions of AG Grid that we release within the time covered by your license *"),console.error("* - typically we provide one year licenses which entitles you to all releases / updates of AG Grid within that year. *"),console.error("* Your license has an end (expiry) date which stops the license key working with versions of AG Grid released after the *"),console.error("* license end date. The license key that you have expires on "+e+", however the version of AG Grid you *"),console.error("* are trying to use was released on "+t+". *"),console.error("* *"),console.error("* Please contact info@ag-grid.com to renew your subscription to new versions and get a new license key to work with this *"),console.error("* version of AG Grid. *"),console.error("****************************************************************************************************************************"),console.error("****************************************************************************************************************************"),this.watermarkMessage="License Expired"},t.RELEASE_INFORMATION="MTY2NzI0NjAxNTYyNw==",a([Object(n.Autowired)("md5")],t.prototype,"md5",void 0),a([n.PreConstruct],t.prototype,"validateLicense",null),t=r=a([Object(n.Bean)("licenseManager")],t)}(n.BeanStub),c=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ieCompatibility=!1,t}return c(t,e),t.prototype.init=function(){this.ieCompatibility="5d41402abc4b2a76b9719d911017c592"!=this.md5("hello")},t.prototype.md5cycle=function(e,t){var r=e[0],o=e[1],n=e[2],i=e[3];r=this.ff(r,o,n,i,t[0],7,-680876936),i=this.ff(i,r,o,n,t[1],12,-389564586),n=this.ff(n,i,r,o,t[2],17,606105819),o=this.ff(o,n,i,r,t[3],22,-1044525330),r=this.ff(r,o,n,i,t[4],7,-176418897),i=this.ff(i,r,o,n,t[5],12,1200080426),n=this.ff(n,i,r,o,t[6],17,-1473231341),o=this.ff(o,n,i,r,t[7],22,-45705983),r=this.ff(r,o,n,i,t[8],7,1770035416),i=this.ff(i,r,o,n,t[9],12,-1958414417),n=this.ff(n,i,r,o,t[10],17,-42063),o=this.ff(o,n,i,r,t[11],22,-1990404162),r=this.ff(r,o,n,i,t[12],7,1804603682),i=this.ff(i,r,o,n,t[13],12,-40341101),n=this.ff(n,i,r,o,t[14],17,-1502002290),o=this.ff(o,n,i,r,t[15],22,1236535329),r=this.gg(r,o,n,i,t[1],5,-165796510),i=this.gg(i,r,o,n,t[6],9,-1069501632),n=this.gg(n,i,r,o,t[11],14,643717713),o=this.gg(o,n,i,r,t[0],20,-373897302),r=this.gg(r,o,n,i,t[5],5,-701558691),i=this.gg(i,r,o,n,t[10],9,38016083),n=this.gg(n,i,r,o,t[15],14,-660478335),o=this.gg(o,n,i,r,t[4],20,-405537848),r=this.gg(r,o,n,i,t[9],5,568446438),i=this.gg(i,r,o,n,t[14],9,-1019803690),n=this.gg(n,i,r,o,t[3],14,-187363961),o=this.gg(o,n,i,r,t[8],20,1163531501),r=this.gg(r,o,n,i,t[13],5,-1444681467),i=this.gg(i,r,o,n,t[2],9,-51403784),n=this.gg(n,i,r,o,t[7],14,1735328473),o=this.gg(o,n,i,r,t[12],20,-1926607734),r=this.hh(r,o,n,i,t[5],4,-378558),i=this.hh(i,r,o,n,t[8],11,-2022574463),n=this.hh(n,i,r,o,t[11],16,1839030562),o=this.hh(o,n,i,r,t[14],23,-35309556),r=this.hh(r,o,n,i,t[1],4,-1530992060),i=this.hh(i,r,o,n,t[4],11,1272893353),n=this.hh(n,i,r,o,t[7],16,-155497632),o=this.hh(o,n,i,r,t[10],23,-1094730640),r=this.hh(r,o,n,i,t[13],4,681279174),i=this.hh(i,r,o,n,t[0],11,-358537222),n=this.hh(n,i,r,o,t[3],16,-722521979),o=this.hh(o,n,i,r,t[6],23,76029189),r=this.hh(r,o,n,i,t[9],4,-640364487),i=this.hh(i,r,o,n,t[12],11,-421815835),n=this.hh(n,i,r,o,t[15],16,530742520),o=this.hh(o,n,i,r,t[2],23,-995338651),r=this.ii(r,o,n,i,t[0],6,-198630844),i=this.ii(i,r,o,n,t[7],10,1126891415),n=this.ii(n,i,r,o,t[14],15,-1416354905),o=this.ii(o,n,i,r,t[5],21,-57434055),r=this.ii(r,o,n,i,t[12],6,1700485571),i=this.ii(i,r,o,n,t[3],10,-1894986606),n=this.ii(n,i,r,o,t[10],15,-1051523),o=this.ii(o,n,i,r,t[1],21,-2054922799),r=this.ii(r,o,n,i,t[8],6,1873313359),i=this.ii(i,r,o,n,t[15],10,-30611744),n=this.ii(n,i,r,o,t[6],15,-1560198380),o=this.ii(o,n,i,r,t[13],21,1309151649),r=this.ii(r,o,n,i,t[4],6,-145523070),i=this.ii(i,r,o,n,t[11],10,-1120210379),n=this.ii(n,i,r,o,t[2],15,718787259),o=this.ii(o,n,i,r,t[9],21,-343485551),e[0]=this.add32(r,e[0]),e[1]=this.add32(o,e[1]),e[2]=this.add32(n,e[2]),e[3]=this.add32(i,e[3])},t.prototype.cmn=function(e,t,r,o,n,i){return t=this.add32(this.add32(t,e),this.add32(o,i)),this.add32(t<<n|t>>>32-n,r)},t.prototype.ff=function(e,t,r,o,n,i,a){return this.cmn(t&r|~t&o,e,t,n,i,a)},t.prototype.gg=function(e,t,r,o,n,i,a){return this.cmn(t&o|r&~o,e,t,n,i,a)},t.prototype.hh=function(e,t,r,o,n,i,a){return this.cmn(t^r^o,e,t,n,i,a)},t.prototype.ii=function(e,t,r,o,n,i,a){return this.cmn(r^(t|~o),e,t,n,i,a)},t.prototype.md51=function(e){var t,r=e.length,o=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)this.md5cycle(o,this.md5blk(e.substring(t-64,t)));e=e.substring(t-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)n[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(this.md5cycle(o,n),t=0;t<16;t++)n[t]=0;return n[14]=8*r,this.md5cycle(o,n),o},t.prototype.md5blk=function(e){for(var t=[],r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t},t.prototype.rhex=function(e){for(var t="0123456789abcdef".split(""),r="",o=0;o<4;o++)r+=t[e>>8*o+4&15]+t[e>>8*o&15];return r},t.prototype.hex=function(e){for(var t=0;t<e.length;t++)e[t]=this.rhex(e[t]);return e.join("")},t.prototype.md5=function(e){return this.hex(this.md51(e))},t.prototype.add32=function(e,t){return this.ieCompatibility?this.add32Compat(e,t):this.add32Std(e,t)},t.prototype.add32Std=function(e,t){return e+t&4294967295},t.prototype.add32Compat=function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r},u([n.PostConstruct],t.prototype,"init",null),t=u([Object(n.Bean)("md5")],t)}(n.BeanStub),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){return e.call(this,'<div class="ag-watermark">\n <div ref="eLicenseTextRef" class="ag-watermark-text"></div>\n </div>')||this}return d(t,e),t.prototype.postConstruct=function(){var e=this,t=this.shouldDisplayWatermark();this.addOrRemoveCssClass("ag-hidden",!t),t&&(this.eLicenseTextRef.innerText=this.licenseManager.getWatermarkMessage(),window.setTimeout((function(){return e.addCssClass("ag-opacity-zero")}),0),window.setTimeout((function(){return e.addCssClass("ag-hidden")}),5e3))},t.prototype.shouldDisplayWatermark=function(){var e=(this.gridOptionsWrapper.getDocument().defaultView||window).location,t=e.hostname,r=void 0===t?"":t,o=e.pathname,n=this.licenseManager.isDisplayWatermark(),i=null!=r.match("^(?:127.0.0.1|localhost|(?:w+.)?ag-grid.com)$");return!!o&&-1!==o.indexOf("forceWatermark")||n&&!i},g([Object(n.Autowired)("licenseManager")],t.prototype,"licenseManager",void 0),g([Object(n.RefSelector)("eLicenseTextRef")],t.prototype,"eLicenseTextRef",void 0),g([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),f={moduleName:n.ModuleNames.EnterpriseCoreModule,beans:[l,p],agStackComponents:[{componentName:"AgWatermark",componentClass:h}]}},function(e,t,r){"use strict";r.r(t),r.d(t,"stopPropagationForAgGrid",(function(){return a})),r.d(t,"isStopPropagationForAgGrid",(function(){return s})),r.d(t,"isEventSupported",(function(){return c})),r.d(t,"getCtrlForEvent",(function(){return u})),r.d(t,"addChangeListener",(function(){return p})),r.d(t,"isElementInEventPath",(function(){return d})),r.d(t,"createEventPath",(function(){return g})),r.d(t,"addAgGridEventPath",(function(){return h})),r.d(t,"getEventPath",(function(){return f})),r.d(t,"addSafePassiveEventListener",(function(){return v}));var o=r(10),n=["touchstart","touchend","touchmove","touchcancel"],i={};function a(e){e.__ag_Grid_Stop_Propagation=!0}function s(e){return!0===e.__ag_Grid_Stop_Propagation}var l,c=(l={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(e){if("boolean"==typeof i[e])return i[e];var t=document.createElement(l[e]||"div");return i[e="on"+e]=e in t});function u(e,t,r){for(var o=t.target;o;){var n=e.getDomData(o,r);if(n)return n;o=o.parentElement}return null}function p(e,t){e.addEventListener("changed",t),e.addEventListener("paste",t),e.addEventListener("input",t)}function d(e,t){return!(!t||!e)&&f(t).indexOf(e)>=0}function g(e){for(var t=[],r=e.target;r;)t.push(r),r=r.parentElement;return t}function h(e){e.__agGridEventPath=f(e)}function f(e){var t=e;return t.path?t.path:t.composedPath?t.composedPath():t.__agGridEventPath?t.__agGridEventPath:g(e)}function v(e,t,r,i){var a=Object(o.includes)(n,r)?{passive:!0}:void 0;e&&e.addEventListener&&e.addEventListener(t,r,i,a)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return y}));var o,n,i=r(7),a=r(201),s=r(62),l=r(24),c=r(85),u=r(10),p=r(5),d=r(15),g=r(46),h=r(13),f=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.One=0]="One",e[e.Two=1]="Two"}(n||(n={}));var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.getNumberOfInputs=function(e){var r=this.optionsFactory.getCustomOption(e);if(r){var o=r.numberOfInputs;return null!=o?o:1}var n=[t.EMPTY,t.NOT_BLANK,t.BLANK];return e&&n.indexOf(e)>=0?0:e===t.IN_RANGE?2:1},t.prototype.onFloatingFilterChanged=function(e,t){this.setTypeFromFloatingFilter(e),this.setValueFromFloatingFilter(t),this.onUiChanged(!0)},t.prototype.setTypeFromFloatingFilter=function(e){this.eType1.setValue(e),this.eType2.setValue(this.optionsFactory.getDefaultOption()),(this.isDefaultOperator("AND")?this.eJoinOperatorAnd:this.eJoinOperatorOr).setValue(!0)},t.prototype.getModelFromUi=function(){return this.isConditionUiComplete(n.One)?this.isAllowTwoConditions()&&this.isConditionUiComplete(n.Two)?{filterType:this.getFilterType(),operator:this.getJoinOperator(),condition1:this.createCondition(n.One),condition2:this.createCondition(n.Two)}:this.createCondition(n.One):null},t.prototype.getConditionTypes=function(){return[this.eType1.getValue(),this.eType2.getValue()]},t.prototype.getJoinOperator=function(){return!0===this.eJoinOperatorOr.getValue()?"OR":"AND"},t.prototype.areModelsEqual=function(e,t){if(!e&&!t)return!0;if(!e&&t||e&&!t)return!1;var r,o=!e.operator,n=!t.operator;if(!o&&n||o&&!n)return!1;if(o){var i=e,a=t;r=this.areSimpleModelsEqual(i,a)}else{var s=e,l=t;r=s.operator===l.operator&&this.areSimpleModelsEqual(s.condition1,l.condition1)&&this.areSimpleModelsEqual(s.condition2,l.condition2)}return r},t.prototype.setModelIntoUi=function(e){if(e.operator){var t=e,r="OR"===t.operator;this.eJoinOperatorAnd.setValue(!r),this.eJoinOperatorOr.setValue(r),this.eType1.setValue(t.condition1.type),this.eType2.setValue(t.condition2.type),this.setConditionIntoUi(t.condition1,n.One),this.setConditionIntoUi(t.condition2,n.Two)}else{var o=e;this.eJoinOperatorAnd.setValue(this.isDefaultOperator("AND")),this.eJoinOperatorOr.setValue(this.isDefaultOperator("OR")),this.eType1.setValue(o.type),this.eType2.setValue(this.optionsFactory.getDefaultOption()),this.setConditionIntoUi(o,n.One),this.setConditionIntoUi(null,n.Two)}return l.a.resolve()},t.prototype.doesFilterPass=function(e){var t=this,r=this.getModel();if(null==r)return!0;var o=r.operator,n=[];if(o){var i=r;n.push(i.condition1,i.condition2)}else n.push(r);return n[o&&"OR"===o?"some":"every"]((function(r){return t.individualConditionPasses(e,r)}))},t.prototype.setParams=function(t){e.prototype.setParams.call(this,t),this.optionsFactory=new a.a,this.optionsFactory.init(t,this.getDefaultFilterOptions()),this.allowTwoConditions=!t.suppressAndOrCondition,this.alwaysShowBothConditions=!!t.alwaysShowBothConditions,this.defaultJoinOperator=this.getDefaultJoinOperator(t.defaultJoinOperator),this.filterPlaceholder=t.filterPlaceholder,this.putOptionsIntoDropdown(),this.addChangedListeners()},t.prototype.getDefaultJoinOperator=function(e){return Object(u.includes)(["AND","OR"],e)?e:"AND"},t.prototype.putOptionsIntoDropdown=function(){var e=this,t=this.optionsFactory.getFilterOptions(),r=[this.eType1,this.eType2];t.forEach((function(t){var o="string"==typeof t?e.createBoilerplateListOption(t):e.createCustomListOption(t);r.forEach((function(e){return e.addOption(o)}))})),r.forEach((function(e){return e.setDisabled(t.length<=1)}))},t.prototype.createBoilerplateListOption=function(e){return{value:e,text:this.translate(e)}},t.prototype.createCustomListOption=function(e){var t=e.displayKey,r=this.optionsFactory.getCustomOption(e.displayKey);return{value:t,text:r?this.gridOptionsWrapper.getLocaleTextFunc()(r.displayKey,r.displayName):this.translate(t)}},t.prototype.isAllowTwoConditions=function(){return this.allowTwoConditions},t.prototype.createBodyTemplate=function(){return'\n <ag-select class="ag-filter-select" ref="eOptions1"></ag-select>\n '+this.createValueTemplate(n.One)+'\n <div class="ag-filter-condition" ref="eJoinOperatorPanel">\n <ag-radio-button ref="eJoinOperatorAnd" class="ag-filter-condition-operator ag-filter-condition-operator-and"></ag-radio-button>\n <ag-radio-button ref="eJoinOperatorOr" class="ag-filter-condition-operator ag-filter-condition-operator-or"></ag-radio-button>\n </div>\n <ag-select class="ag-filter-select" ref="eOptions2"></ag-select>\n '+this.createValueTemplate(n.Two)},t.prototype.getCssIdentifier=function(){return"simple-filter"},t.prototype.updateUiVisibility=function(){var e=this,t=[[this.eType1],[this.eType2,this.eJoinOperatorPanel,this.eJoinOperatorAnd,this.eJoinOperatorOr]],r=[this.eCondition1Body,this.eCondition2Body];t.forEach((function(t,r){var o=e.isConditionVisible(r),n=e.isConditionDisabled(r);t.forEach((function(e){e instanceof g.a||e instanceof c.a?(e.setDisabled(n),e.setDisplayed(o)):(Object(p.setDisabled)(e,n),Object(p.setDisplayed)(e,o))}))})),r.forEach((function(t,r){Object(p.setDisplayed)(t,e.isConditionBodyVisible(r))})),this.forEachInput((function(t,r,o,n){e.setElementDisplayed(t,r<n),e.setElementDisabled(t,e.isConditionDisabled(o))})),this.resetPlaceholder()},t.prototype.afterGuiAttached=function(t){if(e.prototype.afterGuiAttached.call(this,t),this.resetPlaceholder(),!t||!t.suppressFocus&&!this.isReadOnly()){var r=this.getInputs()[0][0];if(!r)return;r instanceof g.a&&r.getInputElement().focus()}},t.prototype.getPlaceholderText=function(e,t){var r=this.translate(e);if(Object(h.isFunction)(this.filterPlaceholder)){var o=this.filterPlaceholder,n=0===t?this.eType1.getValue():this.eType2.getValue();r=o({filterOptionKey:n,filterOption:this.translate(n),placeholder:r})}else"string"==typeof this.filterPlaceholder&&(r=this.filterPlaceholder);return r},t.prototype.resetPlaceholder=function(){var e=this,t=this.gridOptionsWrapper.getLocaleTextFunc();this.forEachInput((function(r,o,n,i){if(r instanceof g.a){var a=0===o&&i>1?"inRangeStart":0===o?"filterOoo":"inRangeEnd",s=0===o&&i>1?t("ariaFilterFromValue","Filter from value"):0===o?t("ariaFilterValue","Filter Value"):t("ariaFilterToValue","Filter to Value");r.setInputPlaceholder(e.getPlaceholderText(a,n)),r.setInputAriaLabel(s)}}))},t.prototype.setElementValue=function(e,t,r){e instanceof g.a&&e.setValue(null!=t?String(t):null,r)},t.prototype.setElementDisplayed=function(e,t){e instanceof d.a&&Object(p.setDisplayed)(e.getGui(),t)},t.prototype.setElementDisabled=function(e,t){e instanceof d.a&&Object(p.setDisabled)(e.getGui(),t)},t.prototype.attachElementOnChange=function(e,t){e instanceof g.a&&e.onValueChange(t)},t.prototype.forEachInput=function(e){var t=this,r=this.getInputs();this.getConditionTypes().forEach((function(o,n){for(var i=t.getNumberOfInputs(o),a=0;a<r[n].length;a++){var s=r[n][a];null!=s&&e(s,a,n,i)}}))},t.prototype.isConditionVisible=function(e){return 0===e||!!this.allowTwoConditions&&(this.isReadOnly()?this.isConditionUiComplete(e):!!this.alwaysShowBothConditions||this.isConditionUiComplete(e-1))},t.prototype.isConditionDisabled=function(e){return!!this.isReadOnly()||(!this.isConditionVisible(e)||0!==e&&!this.isConditionUiComplete(e-1))},t.prototype.isConditionBodyVisible=function(e){if(!this.isConditionVisible(e))return!1;var t=this.getConditionTypes()[e];return this.getNumberOfInputs(t)>0},t.prototype.isConditionUiComplete=function(e){return this.getConditionTypes()[e]!==t.EMPTY&&!this.getValues(e).some((function(e){return null==e}))},t.prototype.resetUiToDefaults=function(e){var t=this,r=this.gridOptionsWrapper.getLocaleTextFunc()("ariaFilteringOperator","Filtering operator"),o="ag-simple-filter-and-or-"+this.getCompId(),n=this.optionsFactory.getDefaultOption();return this.eType1.setValue(n,e).setAriaLabel(r).setDisabled(this.isReadOnly()),this.eType2.setValue(this.optionsFactory.getDefaultOption(),e).setAriaLabel(r).setDisabled(this.isReadOnly()),this.eJoinOperatorAnd.setValue(this.isDefaultOperator("AND"),e).setName(o).setLabel(this.translate("andCondition")).setDisabled(this.isReadOnly()),this.eJoinOperatorOr.setValue(this.isDefaultOperator("OR"),e).setName(o).setLabel(this.translate("orCondition")).setDisabled(this.isReadOnly()),this.forEachInput((function(r){t.setElementValue(r,null,e),t.setElementDisabled(r,t.isReadOnly())})),this.resetPlaceholder(),l.a.resolve()},t.prototype.setConditionIntoUi=function(e,t){var r=this,o=this.mapValuesFromModel(e);this.forEachInput((function(e,n,i,a){i===t&&r.setElementValue(e,null!=o[n]?o[n]:null)}))},t.prototype.setValueFromFloatingFilter=function(e){var t=this;this.forEachInput((function(r,o,n,i){t.setElementValue(r,0===o&&0===n?e:null)}))},t.prototype.isDefaultOperator=function(e){return e===this.defaultJoinOperator},t.prototype.addChangedListeners=function(){var e=this;if(!this.isReadOnly()){var t=function(){return e.onUiChanged()};this.eType1.onValueChange(t),this.eType2.onValueChange(t),this.eJoinOperatorOr.onValueChange(t),this.eJoinOperatorAnd.onValueChange(t),this.forEachInput((function(r){e.attachElementOnChange(r,t)}))}},t.prototype.individualConditionPasses=function(e,t){var r=this.getCellValue(e.node),o=this.mapValuesFromModel(t),n=this.optionsFactory.getCustomOption(t.type),i=this.evaluateCustomFilter(n,o,r);return null!=i?i:null==r?this.evaluateNullValue(t.type):this.evaluateNonNullValue(o,r,t,e)},t.prototype.evaluateCustomFilter=function(e,t,r){if(null!=e){var o=e.predicate;return null==o||t.some((function(e){return null==e}))?void 0:o(t,r)}},t.prototype.isBlank=function(e){return null==e||"string"==typeof e&&0===e.trim().length},t.EMPTY="empty",t.BLANK="blank",t.NOT_BLANK="notBlank",t.EQUALS="equals",t.NOT_EQUAL="notEqual",t.LESS_THAN="lessThan",t.LESS_THAN_OR_EQUAL="lessThanOrEqual",t.GREATER_THAN="greaterThan",t.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",t.IN_RANGE="inRange",t.CONTAINS="contains",t.NOT_CONTAINS="notContains",t.STARTS_WITH="startsWith",t.ENDS_WITH="endsWith",v([Object(i.b)("eOptions1")],t.prototype,"eType1",void 0),v([Object(i.b)("eOptions2")],t.prototype,"eType2",void 0),v([Object(i.b)("eJoinOperatorPanel")],t.prototype,"eJoinOperatorPanel",void 0),v([Object(i.b)("eJoinOperatorAnd")],t.prototype,"eJoinOperatorAnd",void 0),v([Object(i.b)("eJoinOperatorOr")],t.prototype,"eJoinOperatorOr",void 0),v([Object(i.b)("eCondition1Body")],t.prototype,"eCondition1Body",void 0),v([Object(i.b)("eCondition2Body")],t.prototype,"eCondition2Body",void 0),t}(s.a)},function(e,t,r){"use strict";r.r(t),r.d(t,"utf8_encode",(function(){return i})),r.d(t,"camelCaseToHyphen",(function(){return a})),r.d(t,"hyphenToCamelCase",(function(){return s})),r.d(t,"capitalise",(function(){return l})),r.d(t,"escapeString",(function(){return c})),r.d(t,"camelCaseToHumanText",(function(){return u}));var o=/[&<>"']/g,n={"&":"&","<":"<",">":">",'"':""","'":"'"};function i(e){var t=String.fromCharCode;function r(e,r){return t(e>>r&63|128)}function o(e){if(e>=0&&e<=31&&10!==e)return"_x"+e.toString(16).toUpperCase().padStart(4,"0")+"_";if(0==(4294967168&e))return t(e);var o="";return 0==(4294965248&e)?o=t(e>>6&31|192):0==(4294901760&e)?(!function(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}(e),o=t(e>>12&15|224),o+=r(e,6)):0==(4292870144&e)&&(o=t(e>>18&7|240),o+=r(e,12),o+=r(e,6)),o+=t(63&e|128)}for(var n=function(e){var t=[];if(!e)return[];for(var r,o,n=e.length,i=0;i<n;)(r=e.charCodeAt(i++))>=55296&&r<=56319&&i<n?56320==(64512&(o=e.charCodeAt(i++)))?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),i--):t.push(r);return t}(e),i=n.length,a=-1,s="";++a<i;)s+=o(n[a]);return s}function a(e){return null==e?null:e.replace(/([A-Z])/g,(function(e){return"-"+e[0].toLowerCase()}))}function s(e){return null==e?null:e.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))}function l(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()}function c(e,t){if(null==e)return null;var r=e.toString().toString();return t?r:r.replace(o,(function(e){return n[e]}))}function u(e){if(!e||null==e)return null;return e.replace(/([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g,"$1$4 $2$3$5").replace("."," ").split(" ").map((function(e){return e.substring(0,1).toUpperCase()+(e.length>1?e.substring(1,e.length):"")})).join(" ")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(33),n=r(19),i=r(38),a=function(){function e(e,t,r,o){this.localEventService=new i.a,this.expandable=!1,this.colGroupDef=e,this.groupId=t,this.expanded=!!e&&!!e.openByDefault,this.padding=r,this.level=o}return e.prototype.reset=function(e,t){this.colGroupDef=e,this.level=t,this.originalParent=null,this.children=void 0,this.expandable=void 0},e.prototype.setOriginalParent=function(e){this.originalParent=e},e.prototype.getOriginalParent=function(){return this.originalParent},e.prototype.getLevel=function(){return this.level},e.prototype.isVisible=function(){return!!this.children&&this.children.some((function(e){return e.isVisible()}))},e.prototype.isPadding=function(){return this.padding},e.prototype.setExpanded=function(t){this.expanded=void 0!==t&&t;var r={type:e.EVENT_EXPANDED_CHANGED};this.localEventService.dispatchEvent(r)},e.prototype.isExpandable=function(){return this.expandable},e.prototype.isExpanded=function(){return this.expanded},e.prototype.getGroupId=function(){return this.groupId},e.prototype.getId=function(){return this.getGroupId()},e.prototype.setChildren=function(e){this.children=e},e.prototype.getChildren=function(){return this.children},e.prototype.getColGroupDef=function(){return this.colGroupDef},e.prototype.getLeafColumns=function(){var e=[];return this.addLeafColumns(e),e},e.prototype.addLeafColumns=function(t){this.children&&this.children.forEach((function(r){r instanceof n.a?t.push(r):r instanceof e&&r.addLeafColumns(t)}))},e.prototype.getColumnGroupShow=function(){var e=this.colGroupDef;if(e)return e.columnGroupShow},e.prototype.setupExpandable=function(){var e=this;this.setExpandable(),this.getLeafColumns().forEach((function(t){return t.addEventListener(n.a.EVENT_VISIBLE_CHANGED,e.onColumnVisibilityChanged.bind(e))}))},e.prototype.setExpandable=function(){if(!this.isPadding()){for(var t=!1,r=!1,n=!1,i=this.findChildrenRemovingPadding(),a=0,s=i.length;a<s;a++){var l=i[a];if(l.isVisible()){var c=l.getColumnGroupShow();c===o.a.HEADER_GROUP_SHOW_OPEN?(t=!0,n=!0):c===o.a.HEADER_GROUP_SHOW_CLOSED?(r=!0,n=!0):(t=!0,r=!0)}}var u=t&&r&&n;if(this.expandable!==u){this.expandable=u;var p={type:e.EVENT_EXPANDABLE_CHANGED};this.localEventService.dispatchEvent(p)}}},e.prototype.findChildrenRemovingPadding=function(){var t=[],r=function(o){o.forEach((function(o){o instanceof e&&o.isPadding()?r(o.children):t.push(o)}))};return r(this.children),t},e.prototype.onColumnVisibilityChanged=function(){this.setExpandable()},e.prototype.addEventListener=function(e,t){this.localEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.localEventService.removeEventListener(e,t)},e.EVENT_EXPANDED_CHANGED="expandedChanged",e.EVENT_EXPANDABLE_CHANGED="expandableChanged",e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return p}));var o,n,i=r(3),a=r(1),s=r(12),l=r(6),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e.AUTO_HEIGHT="ag-layout-auto-height",e.NORMAL="ag-layout-normal",e.PRINT="ag-layout-print"}(n||(n={}));var p=function(e){function t(t){var r=e.call(this)||this;return r.view=t,r}return c(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.gridOptionsWrapper,s.a.PROP_DOM_LAYOUT,this.updateLayoutClasses.bind(this)),this.updateLayoutClasses()},t.prototype.updateLayoutClasses=function(){var e=this.gridOptionsWrapper.getDomLayout(),t={autoHeight:e===i.a.DOM_LAYOUT_AUTO_HEIGHT,normal:e===i.a.DOM_LAYOUT_NORMAL,print:e===i.a.DOM_LAYOUT_PRINT},r=t.autoHeight?n.AUTO_HEIGHT:t.print?n.PRINT:n.NORMAL;this.view.updateLayoutClasses(r,t)},u([Object(a.a)("gridOptionsWrapper")],t.prototype,"gridOptionsWrapper",void 0),u([a.e],t.prototype,"postConstruct",null),t}(l.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o=r(19),n=r(38),i=r(1),a=r(10),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(){function e(e,t,r,o){this.displayedChildren=[],this.localEventService=new n.a,this.groupId=t,this.instanceId=r,this.providedColumnGroup=e,this.pinned=o}return e.createUniqueId=function(e,t){return e+"_"+t},e.prototype.reset=function(){this.parent=null,this.children=null,this.displayedChildren=null},e.prototype.getParent=function(){return this.parent},e.prototype.setParent=function(e){this.parent=e},e.prototype.getUniqueId=function(){return e.createUniqueId(this.groupId,this.instanceId)},e.prototype.isEmptyGroup=function(){return 0===this.displayedChildren.length},e.prototype.isMoving=function(){var e=this.getProvidedColumnGroup().getLeafColumns();return!(!e||0===e.length)&&e.every((function(e){return e.isMoving()}))},e.prototype.checkLeft=function(){if(this.displayedChildren.forEach((function(t){t instanceof e&&t.checkLeft()})),this.displayedChildren.length>0)if(this.gridOptionsWrapper.isEnableRtl()){var t=Object(a.last)(this.displayedChildren).getLeft();this.setLeft(t)}else{var r=this.displayedChildren[0].getLeft();this.setLeft(r)}else this.setLeft(null)},e.prototype.getLeft=function(){return this.left},e.prototype.getOldLeft=function(){return this.oldLeft},e.prototype.setLeft=function(t){this.oldLeft=t,this.left!==t&&(this.left=t,this.localEventService.dispatchEvent(this.createAgEvent(e.EVENT_LEFT_CHANGED)))},e.prototype.getPinned=function(){return this.pinned},e.prototype.createAgEvent=function(e){return{type:e}},e.prototype.addEventListener=function(e,t){this.localEventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.localEventService.removeEventListener(e,t)},e.prototype.getGroupId=function(){return this.groupId},e.prototype.getInstanceId=function(){return this.instanceId},e.prototype.isChildInThisGroupDeepSearch=function(t){var r=!1;return this.children.forEach((function(o){t===o&&(r=!0),o instanceof e&&o.isChildInThisGroupDeepSearch(t)&&(r=!0)})),r},e.prototype.getActualWidth=function(){var e=0;return this.displayedChildren&&this.displayedChildren.forEach((function(t){e+=t.getActualWidth()})),e},e.prototype.isResizable=function(){if(!this.displayedChildren)return!1;var e=!1;return this.displayedChildren.forEach((function(t){t.isResizable()&&(e=!0)})),e},e.prototype.getMinWidth=function(){var e=0;return this.displayedChildren.forEach((function(t){e+=t.getMinWidth()||0})),e},e.prototype.addChild=function(e){this.children||(this.children=[]),this.children.push(e)},e.prototype.getDisplayedChildren=function(){return this.displayedChildren},e.prototype.getLeafColumns=function(){var e=[];return this.addLeafColumns(e),e},e.prototype.getDisplayedLeafColumns=function(){var e=[];return this.addDisplayedLeafColumns(e),e},e.prototype.getDefinition=function(){return this.providedColumnGroup.getColGroupDef()},e.prototype.getColGroupDef=function(){return this.providedColumnGroup.getColGroupDef()},e.prototype.isPadding=function(){return this.providedColumnGroup.isPadding()},e.prototype.isExpandable=function(){return this.providedColumnGroup.isExpandable()},e.prototype.isExpanded=function(){return this.providedColumnGroup.isExpanded()},e.prototype.setExpanded=function(e){this.providedColumnGroup.setExpanded(e)},e.prototype.addDisplayedLeafColumns=function(t){this.displayedChildren.forEach((function(r){r instanceof o.a?t.push(r):r instanceof e&&r.addDisplayedLeafColumns(t)}))},e.prototype.addLeafColumns=function(t){this.children.forEach((function(r){r instanceof o.a?t.push(r):r instanceof e&&r.addLeafColumns(t)}))},e.prototype.getChildren=function(){return this.children},e.prototype.getColumnGroupShow=function(){return this.providedColumnGroup.getColumnGroupShow()},e.prototype.getProvidedColumnGroup=function(){return this.providedColumnGroup},e.prototype.getOriginalColumnGroup=function(){return console.warn("AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead"),this.getProvidedColumnGroup()},e.prototype.getPaddingLevel=function(){var e=this.getParent();return this.isPadding()&&e&&e.isPadding()?1+e.getPaddingLevel():0},e.prototype.calculateDisplayedColumns=function(){var t=this;this.displayedChildren=[];for(var r=this;null!=r&&r.isPadding();)r=r.getParent();if(!(!!r&&r.providedColumnGroup.isExpandable()))return this.displayedChildren=this.children,void this.localEventService.dispatchEvent(this.createAgEvent(e.EVENT_DISPLAYED_CHILDREN_CHANGED));this.children.forEach((function(o){if(!(o instanceof e&&(!o.displayedChildren||!o.displayedChildren.length)))switch(o.getColumnGroupShow()){case e.HEADER_GROUP_SHOW_OPEN:r.providedColumnGroup.isExpanded()&&t.displayedChildren.push(o);break;case e.HEADER_GROUP_SHOW_CLOSED:r.providedColumnGroup.isExpanded()||t.displayedChildren.push(o);break;default:t.displayedChildren.push(o)}})),this.localEventService.dispatchEvent(this.createAgEvent(e.EVENT_DISPLAYED_CHILDREN_CHANGED))},e.HEADER_GROUP_SHOW_OPEN="open",e.HEADER_GROUP_SHOW_CLOSED="closed",e.EVENT_LEFT_CHANGED="leftChanged",e.EVENT_DISPLAYED_CHILDREN_CHANGED="displayedChildrenChanged",s([Object(i.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),e}()},function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"j",(function(){return n})),r.d(t,"k",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s})),r.d(t,"l",(function(){return l})),r.d(t,"m",(function(){return c})),r.d(t,"n",(function(){return u})),r.d(t,"q",(function(){return p})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return g})),r.d(t,"p",(function(){return h})),r.d(t,"o",(function(){return f})),r.d(t,"f",(function(){return v})),r.d(t,"i",(function(){return y})),r.d(t,"h",(function(){return m})),r.d(t,"g",(function(){return b}));var o={propertyName:"dateComponent",cellRenderer:!1},n={propertyName:"headerComponent",cellRenderer:!1},i={propertyName:"headerGroupComponent",cellRenderer:!1},a={propertyName:"cellRenderer",cellRenderer:!0},s={propertyName:"cellEditor",cellRenderer:!1},l={propertyName:"innerRenderer",cellRenderer:!0},c={propertyName:"loadingOverlayComponent",cellRenderer:!1},u={propertyName:"noRowsOverlayComponent",cellRenderer:!1},p={propertyName:"tooltipComponent",cellRenderer:!1},d={propertyName:"filter",cellRenderer:!1},g={propertyName:"floatingFilterComponent",cellRenderer:!1},h={propertyName:"toolPanel",cellRenderer:!1},f={propertyName:"statusPanel",cellRenderer:!1},v={propertyName:"fullWidthCellRenderer",cellRenderer:!0},y={propertyName:"loadingCellRenderer",cellRenderer:!0},m={propertyName:"groupRowRenderer",cellRenderer:!0},b={propertyName:"detailCellRenderer",cellRenderer:!0}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o,n=r(29),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setParams=function(t){e.prototype.setParams.call(this,t),this.scalarFilterParams=t},t.prototype.evaluateNullValue=function(e){switch(e){case t.EQUALS:case t.NOT_EQUAL:if(this.scalarFilterParams.includeBlanksInEquals)return!0;break;case t.GREATER_THAN:case t.GREATER_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInGreaterThan)return!0;break;case t.LESS_THAN:case t.LESS_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInLessThan)return!0;break;case t.IN_RANGE:if(this.scalarFilterParams.includeBlanksInRange)return!0;break;case t.BLANK:return!0;case t.NOT_BLANK:return!1}return!1},t.prototype.evaluateNonNullValue=function(e,r,o){var n=this.comparator(),i=null!=e[0]?n(e[0],r):0;switch(o.type){case t.EQUALS:return 0===i;case t.NOT_EQUAL:return 0!==i;case t.GREATER_THAN:return i>0;case t.GREATER_THAN_OR_EQUAL:return i>=0;case t.LESS_THAN:return i<0;case t.LESS_THAN_OR_EQUAL:return i<=0;case t.IN_RANGE:var a=n(e[1],r);return this.scalarFilterParams.inRangeInclusive?i>=0&&a<=0:i>0&&a<0;case t.BLANK:return this.isBlank(r);case t.NOT_BLANK:return!this.isBlank(r);default:return console.warn('AG Grid: Unexpected type of filter "'+o.type+'", it looks like the filter was configured with incorrect Filter Options'),!0}},t}(n.b)},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var o=r(38),n=r(86),i=function(){function e(e,t){var r=this;void 0===t&&(t=!1),this.destroyFuncs=[],this.touching=!1,this.eventService=new o.a,this.eElement=e,this.preventMouseClick=t;var n=this.onTouchStart.bind(this),i=this.onTouchMove.bind(this),a=this.onTouchEnd.bind(this);this.eElement.addEventListener("touchstart",n,{passive:!0}),this.eElement.addEventListener("touchmove",i,{passive:!0}),this.eElement.addEventListener("touchend",a,{passive:!1}),this.destroyFuncs.push((function(){r.eElement.removeEventListener("touchstart",n,{passive:!0}),r.eElement.removeEventListener("touchmove",i,{passive:!0}),r.eElement.removeEventListener("touchend",a,{passive:!1})}))}return e.prototype.getActiveTouch=function(e){for(var t=0;t<e.length;t++){if(e[t].identifier===this.touchStart.identifier)return e[t]}return null},e.prototype.addEventListener=function(e,t){this.eventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventService.removeEventListener(e,t)},e.prototype.onTouchStart=function(t){var r=this;if(!this.touching){this.touchStart=t.touches[0],this.touching=!0,this.moved=!1;var o=this.touchStart;window.setTimeout((function(){var n=r.touchStart===o;if(r.touching&&n&&!r.moved){r.moved=!0;var i={type:e.EVENT_LONG_TAP,touchStart:r.touchStart,touchEvent:t};r.eventService.dispatchEvent(i)}}),500)}},e.prototype.onTouchMove=function(e){if(this.touching){var t=this.getActiveTouch(e.touches);if(t)!Object(n.areEventsNear)(t,this.touchStart,4)&&(this.moved=!0)}},e.prototype.onTouchEnd=function(t){if(this.touching){if(!this.moved){var r={type:e.EVENT_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(r),this.checkForDoubleTap()}this.preventMouseClick&&t.cancelable&&t.preventDefault(),this.touching=!1}},e.prototype.checkForDoubleTap=function(){var t=(new Date).getTime();if(this.lastTapTime&&this.lastTapTime>0)if(t-this.lastTapTime>e.DOUBLE_TAP_MILLIS){var r={type:e.EVENT_DOUBLE_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(r),this.lastTapTime=null}else this.lastTapTime=t;else this.lastTapTime=t},e.prototype.destroy=function(){this.destroyFuncs.forEach((function(e){return e()}))},e.EVENT_TAP="tap",e.EVENT_DOUBLE_TAP="doubleTap",e.EVENT_LONG_TAP="longTap",e.DOUBLE_TAP_MILLIS=500,e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"serialiseDate",(function(){return i})),r.d(t,"dateToFormattedString",(function(){return s})),r.d(t,"parseDateTimeFromString",(function(){return l}));var o=r(42),n=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a};function i(e,t,r){if(void 0===t&&(t=!0),void 0===r&&(r="-"),!e)return null;var n=[e.getFullYear(),e.getMonth()+1,e.getDate()].map((function(e){return Object(o.padStartWidthZeros)(e,2)})).join(r);return t&&(n+=" "+[e.getHours(),e.getMinutes(),e.getSeconds()].map((function(e){return Object(o.padStartWidthZeros)(e,2)})).join(":")),n}var a=function(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"};function s(e,t){void 0===t&&(t="YYYY-MM-DD");var r=Object(o.padStartWidthZeros)(e.getFullYear(),4),n=["January","February","March","April","May","June","July","August","September","October","November","December"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],s={YYYY:function(){return r.slice(r.length-4,r.length)},YY:function(){return r.slice(r.length-2,r.length)},Y:function(){return""+e.getFullYear()},MMMM:function(){return n[e.getMonth()]},MMM:function(){return n[e.getMonth()].slice(0,3)},MM:function(){return Object(o.padStartWidthZeros)(e.getMonth()+1,2)},Mo:function(){return""+(e.getMonth()+1)+a(e.getMonth()+1)},M:function(){return""+(e.getMonth()+1)},Do:function(){return""+e.getDate()+a(e.getDate())},DD:function(){return Object(o.padStartWidthZeros)(e.getDate(),2)},D:function(){return""+e.getDate()},dddd:function(){return i[e.getDay()]},ddd:function(){return i[e.getDay()].slice(0,3)},dd:function(){return i[e.getDay()].slice(0,2)},do:function(){return""+e.getDay()+a(e.getDay())},d:function(){return""+e.getDay()}},l=new RegExp(Object.keys(s).join("|"),"g");return t.replace(l,(function(e){return e in s?s[e]():e}))}function l(e){if(!e)return null;var t=n(e.split(" "),2),r=t[0],o=t[1];if(!r)return null;var i=r.split("-").map((function(e){return parseInt(e,10)}));if(3!==i.filter((function(e){return!isNaN(e)})).length)return null;var a=n(i,3),s=a[0],l=a[1],c=a[2],u=new Date(s,l-1,c);if(u.getFullYear()!==s||u.getMonth()!==l-1||u.getDate()!==c)return null;if(!o||"00:00:00"===o)return u;var p=n(o.split(":").map((function(e){return parseInt(e,10)})),3),d=p[0],g=p[1],h=p[2];return d>=0&&d<24&&u.setHours(d),g>=0&&g<60&&u.setMinutes(g),h>=0&&h<60&&u.setSeconds(h),u}},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o=r(1),n=function(){return(n=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},i=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},a=function(e,t){return function(r,o){t(r,o,e)}},s=function(){function e(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}return e.prototype.setBeans=function(e,t,r,o){if(void 0===o&&(o=null),this.frameworkOverrides=r,this.gridOptionsWrapper=t,o){var n=t.useAsyncEvents();this.addGlobalListener(o,n)}},e.prototype.getListeners=function(e,t,r){var o=t?this.allAsyncListeners:this.allSyncListeners,n=o.get(e);return!n&&r&&(n=new Set,o.set(e,n)),n},e.prototype.noRegisteredListenersExist=function(){return 0===this.allSyncListeners.size&&0===this.allAsyncListeners.size&&0===this.globalSyncListeners.size&&0===this.globalAsyncListeners.size},e.prototype.addEventListener=function(e,t,r){void 0===r&&(r=!1),this.getListeners(e,r,!0).add(t)},e.prototype.removeEventListener=function(e,t,r){void 0===r&&(r=!1);var o=this.getListeners(e,r,!1);o&&(o.delete(t),0===o.size&&(r?this.allAsyncListeners:this.allSyncListeners).delete(e))},e.prototype.addGlobalListener=function(e,t){void 0===t&&(t=!1),(t?this.globalAsyncListeners:this.globalSyncListeners).add(e)},e.prototype.removeGlobalListener=function(e,t){void 0===t&&(t=!1),(t?this.globalAsyncListeners:this.globalSyncListeners).delete(e)},e.prototype.dispatchEvent=function(e){var t=e;this.gridOptionsWrapper&&(t=n(n({},e),{api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()})),this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0},e.prototype.dispatchEventOnce=function(e){this.firedEvents[e.type]||this.dispatchEvent(e)},e.prototype.dispatchToListeners=function(e,t){var r=this,o=e.type,n=this.getListeners(o,t,!1);n&&function(o){o.forEach((function(o){t?r.dispatchAsync((function(){return o(e)})):o(e)}))}(n),(t?this.globalAsyncListeners:this.globalSyncListeners).forEach((function(n){t?r.dispatchAsync((function(){return r.frameworkOverrides.dispatchEvent(o,(function(){return n(o,e)}),!0)})):r.frameworkOverrides.dispatchEvent(o,(function(){return n(o,e)}),!0)}))},e.prototype.dispatchAsync=function(e){this.asyncFunctionsQueue.push(e),this.scheduled||(window.setTimeout(this.flushAsyncQueue.bind(this),0),this.scheduled=!0)},e.prototype.flushAsyncQueue=function(){this.scheduled=!1;var e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],e.forEach((function(e){return e()}))},i([a(0,Object(o.h)("loggerFactory")),a(1,Object(o.h)("gridOptionsWrapper")),a(2,Object(o.h)("frameworkOverrides")),a(3,Object(o.h)("globalEventListener"))],e.prototype,"setBeans",null),e=i([Object(o.b)("eventService")],e)}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(1),i=r(8),a=r(28),s=r(6),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(){return(c=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(t,r){void 0===r&&(r={});var o=e.call(this)||this;return o.eFocusableElement=t,o.callbacks=r,o.callbacks=c({shouldStopEventPropagation:function(){return!1},onTabKeyDown:function(e){if(!e.defaultPrevented){var t=o.focusService.findNextFocusableElement(o.eFocusableElement,!1,e.shiftKey);t&&(t.focus(),e.preventDefault())}}},r),o}return l(t,e),t.prototype.postConstruct=function(){this.eFocusableElement.classList.add(t.FOCUS_MANAGED_CLASS),this.addKeyDownListeners(this.eFocusableElement),this.callbacks.onFocusIn&&this.addManagedListener(this.eFocusableElement,"focusin",this.callbacks.onFocusIn),this.callbacks.onFocusOut&&this.addManagedListener(this.eFocusableElement,"focusout",this.callbacks.onFocusOut)},t.prototype.addKeyDownListeners=function(e){var t=this;this.addManagedListener(e,"keydown",(function(e){e.defaultPrevented||Object(a.isStopPropagationForAgGrid)(e)||(t.callbacks.shouldStopEventPropagation(e)?Object(a.stopPropagationForAgGrid)(e):e.key===i.a.TAB?t.callbacks.onTabKeyDown(e):t.callbacks.handleKeyDown&&t.callbacks.handleKeyDown(e))}))},t.FOCUS_MANAGED_CLASS="ag-focus-managed",u([Object(n.a)("focusService")],t.prototype,"focusService",void 0),u([n.e],t.prototype,"postConstruct",null),t}(s.a)},function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return C}));var o,n,i=r(1),a=r(11),s=r(5),l=r(14),c=r(15),u=r(7),p=r(90),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(r){var o=e.call(this,t.TEMPLATE,r)||this;return o.headerCompVersion=0,o.column=r.getColumnGroupChild(),o.pinned=r.getPinned(),o}return d(t,e),t.prototype.postConstruct=function(){var e=this,t=this.getGui(),r=function(e,r,o){var n=o||t;null!=r&&""!=r?n.setAttribute(e,r):n.removeAttribute(e)},o={setWidth:function(e){return t.style.width=e},addOrRemoveCssClass:function(t,r){return e.addOrRemoveCssClass(t,r)},setColId:function(e){return r("col-id",e)},setTitle:function(e){return r("title",e)},setAriaDescription:function(e){return Object(a.setAriaDescription)(t,e)},setAriaSort:function(e){return e?Object(a.setAriaSort)(t,e):Object(a.removeAriaSort)(t)},setUserCompDetails:function(t){return e.setUserCompDetails(t)},getUserCompInstance:function(){return e.headerComp}};this.ctrl.setComp(o,this.getGui(),this.eResize,this.eHeaderCompWrapper);var n=this.ctrl.getSelectAllGui();this.eResize.insertAdjacentElement("afterend",n)},t.prototype.destroyHeaderComp=function(){this.headerComp&&(this.eHeaderCompWrapper.removeChild(this.headerCompGui),this.headerComp=this.destroyBean(this.headerComp),this.headerCompGui=void 0)},t.prototype.setUserCompDetails=function(e){var t=this;this.headerCompVersion++;var r=this.headerCompVersion;e.newAgStackInstance().then((function(e){return t.afterCompCreated(r,e)}))},t.prototype.afterCompCreated=function(e,t){e==this.headerCompVersion&&this.isAlive()?(this.destroyHeaderComp(),this.headerComp=t,this.headerCompGui=t.getGui(),this.eHeaderCompWrapper.appendChild(this.headerCompGui),this.ctrl.setDragSource(this.getGui())):this.destroyBean(t)},t.TEMPLATE='<div class="ag-header-cell" role="columnheader" tabindex="-1">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n <div ref="eHeaderCompWrapper" class="ag-header-cell-comp-wrapper" role="presentation"></div>\n </div>',g([Object(u.b)("eResize")],t.prototype,"eResize",void 0),g([Object(u.b)("eHeaderCompWrapper")],t.prototype,"eHeaderCompWrapper",void 0),g([i.e],t.prototype,"postConstruct",null),g([i.g],t.prototype,"destroyHeaderComp",null),t}(p.a),f=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(r){return e.call(this,t.TEMPLATE,r)||this}return f(t,e),t.prototype.postConstruct=function(){var e=this,t=this.getGui(),r=function(e,r){return null!=r?t.setAttribute(e,r):t.removeAttribute(e)},o={addOrRemoveCssClass:function(t,r){return e.addOrRemoveCssClass(t,r)},addOrRemoveResizableCssClass:function(t,r){return e.eResize.classList.toggle(t,r)},setWidth:function(e){return t.style.width=e},setColId:function(e){return t.setAttribute("col-id",e)},setAriaExpanded:function(e){return r("aria-expanded",e)},setTitle:function(e){return r("title",e)},setUserCompDetails:function(t){return e.setUserCompDetails(t)}};this.ctrl.setComp(o,t,this.eResize)},t.prototype.setUserCompDetails=function(e){var t=this;e.newAgStackInstance().then((function(e){return t.afterHeaderCompCreated(e)}))},t.prototype.afterHeaderCompCreated=function(e){var t=this,r=function(){return t.destroyBean(e)};this.isAlive()?(this.getGui().appendChild(e.getGui()),this.addDestroyFunc(r),this.ctrl.setDragSource(e.getGui())):r()},t.TEMPLATE='<div class="ag-header-group-cell" role="columnheader" tabindex="-1">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n </div>',v([Object(i.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),v([Object(u.b)("eResize")],t.prototype,"eResize",void 0),v([i.e],t.prototype,"postConstruct",null),t}(p.a),m=r(134),b=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),w=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e.COLUMN_GROUP="group",e.COLUMN="column",e.FLOATING_FILTER="filter"}(n||(n={}));var C=function(e){function t(t){var r=e.call(this)||this;r.headerComps={};var o=t.getType()==n.COLUMN_GROUP?"ag-header-row-column-group":t.getType()==n.FLOATING_FILTER?"ag-header-row-column-filter":"ag-header-row-column";return r.setTemplate('<div class="ag-header-row '+o+'" role="row"></div>'),r.ctrl=t,r}return b(t,e),t.prototype.init=function(){var e=this,t={setTransform:function(t){return e.getGui().style.transform=t},setHeight:function(t){return e.getGui().style.height=t},setTop:function(t){return e.getGui().style.top=t},setHeaderCtrls:function(t){return e.setHeaderCtrls(t)},setWidth:function(t){return e.getGui().style.width=t},setAriaRowIndex:function(t){return Object(a.setAriaRowIndex)(e.getGui(),t)}};this.ctrl.setComp(t)},t.prototype.destroyHeaderCtrls=function(){this.setHeaderCtrls([])},t.prototype.setHeaderCtrls=function(e){var t=this;if(this.isAlive()){var r=this.headerComps;if(this.headerComps={},e.forEach((function(e){var o=e.getInstanceId(),n=r[o];delete r[o],null==n&&(n=t.createHeaderComp(e),t.getGui().appendChild(n.getGui())),t.headerComps[o]=n})),Object(l.iterateObject)(r,(function(e,r){t.getGui().removeChild(r.getGui()),t.destroyBean(r)})),this.gridOptionsWrapper.isEnsureDomOrder()){var o=Object(l.getAllValuesInObject)(this.headerComps);o.sort((function(e,t){return e.getCtrl().getColumnGroupChild().getLeft()-t.getCtrl().getColumnGroupChild().getLeft()}));var n=o.map((function(e){return e.getGui()}));Object(s.setDomChildOrder)(this.getGui(),n)}}},t.prototype.createHeaderComp=function(e){var t;switch(this.ctrl.getType()){case n.COLUMN_GROUP:t=new y(e);break;case n.FLOATING_FILTER:t=new m.a(e);break;default:t=new h(e)}return this.createBean(t),t.setParentComponent(this),t},w([i.e],t.prototype,"init",null),w([i.g],t.prototype,"destroyHeaderCtrls",null),t}(c.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(88),i=r(5),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(t,r,o){var n=e.call(this,t,r)||this;return n.className=o,n}return a(t,e),t.prototype.postConstruct=function(){e.prototype.postConstruct.call(this),this.className&&this.addCssClass(this.className)},t.prototype.onValueChange=function(e){var r=this;return this.addManagedListener(this,t.EVENT_CHANGED,(function(){return e(r.getValue())})),this},t.prototype.getWidth=function(){return this.getGui().clientWidth},t.prototype.setWidth=function(e){return Object(i.setFixedWidth)(this.getGui(),e),this},t.prototype.getPreviousValue=function(){return this.previousValue},t.prototype.getValue=function(){return this.value},t.prototype.setValue=function(e,r){return this.value===e||(this.previousValue=this.value,this.value=e,r||this.dispatchEvent({type:t.EVENT_CHANGED})),this},t.EVENT_CHANGED="valueChange",t}(n.a)},function(e,t,r){"use strict";function o(e,t){return e.toString().padStart(t,"0")}function n(e,t){for(var r=[],o=e;o<=t;o++)r.push(o);return r}function i(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function a(e){return"string"==typeof e&&(e=parseInt(e,10)),"number"==typeof e?Math.floor(e):null}function s(e,t){for(var r="",o=0;o<t;o++)r+=String.fromCharCode(255&e),e>>>=8;return r}function l(e,t,r){return"number"!=typeof e?"":c(Math.round(100*e)/100,t,r)}function c(e,t,r){return"number"!=typeof e?"":e.toString().replace(".",r).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+t)}function u(e){return null==e?null:e.reduce((function(e,t){return e+t}),0)}r.r(t),r.d(t,"padStartWidthZeros",(function(){return o})),r.d(t,"createArrayOfNumbers",(function(){return n})),r.d(t,"isNumeric",(function(){return i})),r.d(t,"cleanNumber",(function(){return a})),r.d(t,"decToHex",(function(){return s})),r.d(t,"formatNumberTwoDecimalPlacesAndCommas",(function(){return l})),r.d(t,"formatNumberCommas",(function(){return c})),r.d(t,"sum",(function(){return u}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return V}));var o,n=r(4),i=r(10),a=r(59),s=r(2),l=r(11),c=function(){function e(e,t){this.beans=e,this.cellCtrl=t}return e.prototype.setComp=function(e,t){this.cellComp=e,this.eGui=t,this.onRangeSelectionChanged()},e.prototype.onRangeSelectionChanged=function(){this.cellComp&&(this.rangeCount=this.beans.rangeService.getCellRangeCount(this.cellCtrl.getCellPosition()),this.hasChartRange=this.getHasChartRange(),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected",0!==this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-1",1===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-2",2===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-3",3===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-4",this.rangeCount>=4),this.cellComp.addOrRemoveCssClass("ag-cell-range-chart",this.hasChartRange),Object(l.setAriaSelected)(this.eGui,this.rangeCount>0||void 0),this.cellComp.addOrRemoveCssClass("ag-cell-range-single-cell",this.isSingleCell()),this.updateRangeBorders(),this.refreshHandle())},e.prototype.updateRangeBorders=function(){var e=this.getRangeBorders(),t=this.isSingleCell(),r=!t&&e.top,o=!t&&e.right,n=!t&&e.bottom,i=!t&&e.left;this.cellComp.addOrRemoveCssClass("ag-cell-range-top",r),this.cellComp.addOrRemoveCssClass("ag-cell-range-right",o),this.cellComp.addOrRemoveCssClass("ag-cell-range-bottom",n),this.cellComp.addOrRemoveCssClass("ag-cell-range-left",i)},e.prototype.isSingleCell=function(){var e=this.beans.rangeService;return 1===this.rangeCount&&e&&!e.isMoreThanOneCell()},e.prototype.getHasChartRange=function(){var e=this.beans.rangeService;if(!this.rangeCount||!e)return!1;var t=e.getCellRanges();return t.length>0&&t.every((function(e){return Object(i.includes)([a.a.DIMENSION,a.a.VALUE],e.type)}))},e.prototype.updateRangeBordersIfRangeCount=function(){this.rangeCount>0&&(this.updateRangeBorders(),this.refreshHandle())},e.prototype.getRangeBorders=function(){var e,t,r=this,o=this.beans.gridOptionsWrapper.isEnableRtl(),n=!1,i=!1,a=!1,s=!1,l=this.cellCtrl.getCellPosition().column,c=this.beans,u=c.rangeService,p=c.columnModel;o?(e=p.getDisplayedColAfter(l),t=p.getDisplayedColBefore(l)):(e=p.getDisplayedColBefore(l),t=p.getDisplayedColAfter(l));var d=u.getCellRanges().filter((function(e){return u.isCellInSpecificRange(r.cellCtrl.getCellPosition(),e)}));e||(s=!0),t||(i=!0);for(var g=0;g<d.length&&!(n&&i&&a&&s);g++){var h=d[g],f=u.getRangeStartRow(h),v=u.getRangeEndRow(h);!n&&this.beans.rowPositionUtils.sameRow(f,this.cellCtrl.getCellPosition())&&(n=!0),!a&&this.beans.rowPositionUtils.sameRow(v,this.cellCtrl.getCellPosition())&&(a=!0),!s&&e&&h.columns.indexOf(e)<0&&(s=!0),!i&&t&&h.columns.indexOf(t)<0&&(i=!0)}return{top:n,right:i,bottom:a,left:s}},e.prototype.refreshHandle=function(){if(this.beans.rangeService){var e=this.shouldHaveSelectionHandle();this.selectionHandle&&!e&&(this.selectionHandle=this.beans.context.destroyBean(this.selectionHandle)),e&&this.addSelectionHandle(),this.cellComp.addOrRemoveCssClass("ag-cell-range-handle",!!this.selectionHandle)}},e.prototype.shouldHaveSelectionHandle=function(){var e=this.beans,t=e.gridOptionsWrapper,r=e.rangeService,o=r.getCellRanges(),n=o.length;if(this.rangeCount<1||n<1)return!1;var s=Object(i.last)(o),l=this.cellCtrl.getCellPosition(),c=t.isEnableFillHandle()&&!this.cellCtrl.isSuppressFillHandle(),u=t.isEnableRangeHandle(),p=1===n&&!this.cellCtrl.isEditing()&&(c||u);if(this.hasChartRange){var d=o[0].type===a.a.DIMENSION&&r.isCellInSpecificRange(l,o[0]);this.cellComp.addOrRemoveCssClass("ag-cell-range-chart-category",d),p=s.type===a.a.VALUE}return p&&null!=s.endRow&&r.isContiguousRange(s)&&r.isBottomRightCell(s,l)},e.prototype.addSelectionHandle=function(){var e=this.beans,t=e.gridOptionsWrapper,r=e.rangeService,o=Object(i.last)(r.getCellRanges()).type,n=t.isEnableFillHandle()&&Object(s.missing)(o)?a.b.FILL:a.b.RANGE;this.selectionHandle&&this.selectionHandle.getType()!==n&&(this.selectionHandle=this.beans.context.destroyBean(this.selectionHandle)),this.selectionHandle||(this.selectionHandle=this.beans.selectionHandleFactory.createSelectionHandle(n)),this.selectionHandle.refresh(this.cellCtrl)},e.prototype.destroy=function(){this.beans.context.destroyBean(this.selectionHandle)},e}(),u=r(6),p=r(9),d=r(3),g=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e){function t(t,r){var o=e.call(this)||this;return o.cellCtrl=t,o.beans=r,o.column=t.getColumn(),o.rowNode=t.getRowNode(),o.setupColSpan(),o.setupRowSpan(),o}return g(t,e),t.prototype.setupRowSpan=function(){this.rowSpan=this.column.getRowSpan(this.rowNode)},t.prototype.setComp=function(e){this.eGui=e,this.onLeftChanged(),this.onWidthChanged(),this.applyRowSpan()},t.prototype.onDisplayColumnsChanged=function(){var e=this.getColSpanningList();Object(i.areEqual)(this.colsSpanning,e)||(this.colsSpanning=e,this.onWidthChanged(),this.onLeftChanged())},t.prototype.setupColSpan=function(){null!=this.column.getColDef().colSpan&&(this.colsSpanning=this.getColSpanningList(),this.addManagedListener(this.beans.eventService,p.a.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayColumnsChanged.bind(this)),this.addManagedListener(this.beans.eventService,p.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onWidthChanged.bind(this)))},t.prototype.onWidthChanged=function(){if(this.eGui){var e=this.getCellWidth();this.eGui.style.width=e+"px"}},t.prototype.getCellWidth=function(){return this.colsSpanning?this.colsSpanning.reduce((function(e,t){return e+t.getActualWidth()}),0):this.column.getActualWidth()},t.prototype.getColSpanningList=function(){var e=this.column.getColSpan(this.rowNode),t=[];if(1===e)t.push(this.column);else for(var r=this.column,o=this.column.getPinned(),n=0;r&&n<e&&(t.push(r),(r=this.beans.columnModel.getDisplayedColAfter(r))&&!Object(s.missing)(r))&&o===r.getPinned();n++);return t},t.prototype.onLeftChanged=function(){if(this.eGui){var e=this.modifyLeftForPrintLayout(this.getCellLeft());this.eGui.style.left=e+"px"}},t.prototype.getCellLeft=function(){return(this.beans.gridOptionsWrapper.isEnableRtl()&&this.colsSpanning?Object(i.last)(this.colsSpanning):this.column).getLeft()},t.prototype.modifyLeftForPrintLayout=function(e){if(!this.cellCtrl.isPrintLayout()||this.column.getPinned()===d.a.PINNED_LEFT)return e;var t=this.beans.columnModel.getDisplayedColumnsLeftWidth();return this.column.getPinned()===d.a.PINNED_RIGHT?t+this.beans.columnModel.getBodyContainerWidth()+(e||0):t+(e||0)},t.prototype.applyRowSpan=function(){if(1!==this.rowSpan){var e=this.beans.gridOptionsWrapper.getRowHeightAsNumber()*this.rowSpan;this.eGui.style.height=e+"px",this.eGui.style.zIndex="1"}},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(u.a),f=r(30),v=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),y=function(e){function t(t,r){var o=e.call(this)||this;return o.staticClasses=[],o.cellCtrl=t,o.beans=r,o.column=t.getColumn(),o.rowNode=t.getRowNode(),o}return v(t,e),t.prototype.setComp=function(e){this.cellComp=e,this.applyUserStyles(),this.applyCellClassRules(),this.applyClassesFromColDef()},t.prototype.applyCellClassRules=function(){var e=this,t=this.column.getColDef(),r={value:this.cellCtrl.getValue(),data:this.rowNode.data,node:this.rowNode,colDef:t,column:this.column,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()};this.beans.stylingService.processClassRules(t.cellClassRules,r,(function(t){return e.cellComp.addOrRemoveCssClass(t,!0)}),(function(t){return e.cellComp.addOrRemoveCssClass(t,!1)}))},t.prototype.applyUserStyles=function(){var e=this.column.getColDef();if(e.cellStyle){var t;if("function"==typeof e.cellStyle){var r={column:this.column,value:this.cellCtrl.getValue(),colDef:e,data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()};t=(0,e.cellStyle)(r)}else t=e.cellStyle;this.cellComp.setUserStyles(t)}},t.prototype.applyClassesFromColDef=function(){var e=this,t=this.column.getColDef(),r={value:this.cellCtrl.getValue(),data:this.rowNode.data,node:this.rowNode,column:this.column,colDef:t,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()};this.staticClasses.length&&this.staticClasses.forEach((function(t){return e.cellComp.addOrRemoveCssClass(t,!1)})),this.staticClasses=this.beans.stylingService.getStaticCellClasses(t,r),this.staticClasses.length&&this.staticClasses.forEach((function(t){return e.cellComp.addOrRemoveCssClass(t,!0)}))},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(u.a),m=r(91),b=r(18),w=r(5),C=r(28),O=r(78),S=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),E=function(e){function t(t,r,o){var n=e.call(this)||this;return n.cellCtrl=t,n.beans=r,n.column=o,n}return S(t,e),t.prototype.onMouseEvent=function(e,t){if(!Object(C.isStopPropagationForAgGrid)(t))switch(e){case"click":this.onCellClicked(t);break;case"mousedown":case"touchstart":this.onMouseDown(t);break;case"dblclick":this.onCellDoubleClicked(t);break;case"mouseout":this.onMouseOut(t);break;case"mouseover":this.onMouseOver(t)}},t.prototype.onCellClicked=function(e){if(this.isDoubleClickOnIPad())return this.onCellDoubleClicked(e),void e.preventDefault();var t=this.beans,r=t.eventService,o=t.rangeService,i=t.gridOptionsWrapper,a=e.ctrlKey||e.metaKey;o&&a&&o.getCellRangeCount(this.cellCtrl.getCellPosition())>1&&o.intersectLastRange(!0);var s=this.cellCtrl.createEvent(e,n.a.EVENT_CELL_CLICKED);r.dispatchEvent(s);var l=this.column.getColDef();l.onCellClicked&&window.setTimeout((function(){return l.onCellClicked(s)}),0),(i.isSingleClickEdit()||l.singleClickEdit)&&!i.isSuppressClickEdit()&&this.cellCtrl.startRowOrCellEdit()},t.prototype.isDoubleClickOnIPad=function(){if(!Object(b.isIOSUserAgent)()||Object(C.isEventSupported)("dblclick"))return!1;var e=(new Date).getTime(),t=e-this.lastIPadMouseClickEvent<200;return this.lastIPadMouseClickEvent=e,t},t.prototype.onCellDoubleClicked=function(e){var t=this.column.getColDef(),r=this.cellCtrl.createEvent(e,n.a.EVENT_CELL_DOUBLE_CLICKED);this.beans.eventService.dispatchEvent(r),"function"==typeof t.onCellDoubleClicked&&window.setTimeout((function(){return t.onCellDoubleClicked(r)}),0),!this.beans.gridOptionsWrapper.isSingleClickEdit()&&!this.beans.gridOptionsWrapper.isSuppressClickEdit()&&this.cellCtrl.startRowOrCellEdit(null,null,e)},t.prototype.onMouseDown=function(e){var t=e.ctrlKey,r=e.metaKey,o=e.shiftKey,i=e.target,a=this.beans,s=a.eventService,l=a.rangeService;if(!this.isRightClickInExistingRange(e)){var c=l&&0!=l.getCellRanges().length;if(!o||!c){var u=(Object(b.isBrowserEdge)()||Object(b.isBrowserSafari)())&&!this.cellCtrl.isEditing()&&!Object(w.isFocusableFormField)(i);this.cellCtrl.focusCell(u)}if(o&&c&&e.preventDefault(),!this.containsWidget(i)){if(l){var p=this.cellCtrl.getCellPosition();if(o)l.extendLatestRangeToCell(p);else{var d=t||r;l.setRangeToCell(p,d)}}s.dispatchEvent(this.cellCtrl.createEvent(e,n.a.EVENT_CELL_MOUSE_DOWN))}}},t.prototype.isRightClickInExistingRange=function(e){var t=this.beans.rangeService;if(t&&(t.isCellInAnyRange(this.cellCtrl.getCellPosition())&&2===e.button))return!0;return!1},t.prototype.containsWidget=function(e){return Object(w.isElementChildOfClass)(e,"ag-selection-checkbox",3)},t.prototype.onMouseOut=function(e){if(!this.mouseStayingInsideCell(e)){var t=this.cellCtrl.createEvent(e,n.a.EVENT_CELL_MOUSE_OUT);this.beans.eventService.dispatchEvent(t),this.beans.columnHoverService.clearMouseOver()}},t.prototype.onMouseOver=function(e){if(!this.mouseStayingInsideCell(e)){var t=this.cellCtrl.createEvent(e,n.a.EVENT_CELL_MOUSE_OVER);this.beans.eventService.dispatchEvent(t),this.beans.columnHoverService.setMouseOver([this.column])}},t.prototype.mouseStayingInsideCell=function(e){if(!e.target||!e.relatedTarget)return!1;var t=this.cellCtrl.getGui(),r=t.contains(e.target),o=t.contains(e.relatedTarget);return r&&o},t.prototype.destroy=function(){},t}(O.a),x=r(8),R=r(44),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),A=function(e){function t(t,r,o,n,i){var a=e.call(this)||this;return a.cellCtrl=t,a.beans=r,a.rowNode=n,a.rowCtrl=i,a}return T(t,e),t.prototype.setComp=function(e){this.eGui=e},t.prototype.onKeyDown=function(e){var t=e.key;switch(t){case x.a.ENTER:this.onEnterKeyDown(e);break;case x.a.F2:this.onF2KeyDown(e);break;case x.a.ESCAPE:this.onEscapeKeyDown(e);break;case x.a.TAB:this.onTabKeyDown(e);break;case x.a.BACKSPACE:case x.a.DELETE:this.onBackspaceOrDeleteKeyPressed(t,e);break;case x.a.DOWN:case x.a.UP:case x.a.RIGHT:case x.a.LEFT:this.onNavigationKeyPressed(e,t)}},t.prototype.onNavigationKeyPressed=function(e,t){this.cellCtrl.isEditing()||(e.shiftKey&&this.cellCtrl.isRangeSelectionEnabled()?this.onShiftRangeSelect(e):this.beans.navigationService.navigateToNextCell(e,t,this.cellCtrl.getCellPosition(),!0),e.preventDefault())},t.prototype.onShiftRangeSelect=function(e){if(this.beans.rangeService){var t=this.beans.rangeService.extendLatestRangeInDirection(e);t&&this.beans.navigationService.ensureCellVisible(t)}},t.prototype.onTabKeyDown=function(e){this.beans.navigationService.onTabKeyDown(this.cellCtrl,e)},t.prototype.onBackspaceOrDeleteKeyPressed=function(e,t){var r=this.cellCtrl,o=this.beans,n=this.rowNode,i=o.gridOptionsWrapper,a=o.rangeService,s=o.eventService;r.isEditing()||(s.dispatchEvent({type:p.a.EVENT_KEY_SHORTCUT_CHANGED_CELL_START}),Object(R.isDeleteKey)(e,i.isEnableCellEditingOnBackspace())?a&&i.isEnableRangeSelection()?a.clearCellRangeCellValues():r.isCellEditable()&&n.setDataValue(r.getColumn(),null,"cellKeyboardListenerFeature"):r.startRowOrCellEdit(e,void 0,t),s.dispatchEvent({type:p.a.EVENT_KEY_SHORTCUT_CHANGED_CELL_END}))},t.prototype.onEnterKeyDown=function(e){this.cellCtrl.isEditing()||this.rowCtrl.isEditing()?this.cellCtrl.stopEditingAndFocus():this.beans.gridOptionsWrapper.isEnterMovesDown()?this.beans.navigationService.navigateToNextCell(null,x.a.DOWN,this.cellCtrl.getCellPosition(),!1):(this.cellCtrl.startRowOrCellEdit(x.a.ENTER,void 0,e),this.cellCtrl.isEditing()&&e.preventDefault())},t.prototype.onF2KeyDown=function(e){this.cellCtrl.isEditing()||this.cellCtrl.startRowOrCellEdit(x.a.F2,void 0,e)},t.prototype.onEscapeKeyDown=function(e){this.cellCtrl.isEditing()&&(this.cellCtrl.stopRowOrCellEdit(!0),this.cellCtrl.focusCell(!0))},t.prototype.onKeyPress=function(e){if(!(e.target!==this.eGui)&&!this.cellCtrl.isEditing()){var t=String.fromCharCode(e.charCode);" "===t?this.onSpaceKeyPressed(e):Object(R.isEventFromPrintableCharacter)(e)&&(this.cellCtrl.startRowOrCellEdit(null,t,e),e.preventDefault())}},t.prototype.onSpaceKeyPressed=function(e){var t=this.beans.gridOptionsWrapper;if(!this.cellCtrl.isEditing()&&t.isRowSelection()){var r=this.rowNode.isSelected(),o=!r;if(o||!t.isSuppressRowDeselection()){var n=this.beans.gridOptionsWrapper.isGroupSelectsFiltered(),i=this.rowNode.setSelectedParams({newValue:o,rangeSelect:e.shiftKey,groupSelectsFiltered:n});void 0===r&&0===i&&this.rowNode.setSelectedParams({newValue:!1,rangeSelect:e.shiftKey,groupSelectsFiltered:n})}}e.preventDefault()},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(u.a),P=r(77),_=r(15),D=r(1),M=r(23),N=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),I=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},L=function(e){function t(t,r,o,n){var i=e.call(this,'<div class="ag-drag-handle ag-row-drag" draggable="true"></div>')||this;return i.rowNode=t,i.column=r,i.beans=o,i.eCell=n,i}return N(t,e),t.prototype.postConstruct=function(){this.getGui().appendChild(Object(M.createIconNoSpan)("rowDrag",this.beans.gridOptionsWrapper,null)),this.addGuiEventListener("mousedown",(function(e){e.stopPropagation()})),this.addDragSource(),this.checkVisibility()},t.prototype.addDragSource=function(){this.addGuiEventListener("dragstart",this.onDragStart.bind(this))},t.prototype.onDragStart=function(e){var t=this,r=this.column.getColDef().dndSourceOnRowDrag;e.dataTransfer.setDragImage(this.eCell,0,0);r?r({rowNode:this.rowNode,dragEvent:e,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}):function(){try{var r=JSON.stringify(t.rowNode.data);e.dataTransfer.setData("application/json",r),e.dataTransfer.setData("text/plain",r)}catch(e){}}()},t.prototype.checkVisibility=function(){var e=this.column.isDndSource(this.rowNode);this.setDisplayed(e)},I([D.e],t.prototype,"postConstruct",null),t}(_.a),k=r(13),F=r(73),G=r(14),j=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),z=function(){return(z=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},B=0,V=function(e){function t(t,r,o,n){var i=e.call(this)||this;return i.suppressRefreshCell=!1,i.onCellCompAttachedFuncs=[],i.column=t,i.rowNode=r,i.beans=o,i.rowCtrl=n,i.instanceId=t.getId()+"-"+B++,i.createCellPosition(),i.addFeatures(),i}return j(t,e),t.prototype.addFeatures=function(){var e=this;this.cellPositionFeature=new h(this,this.beans),this.addDestroyFunc((function(){return e.cellPositionFeature.destroy()})),this.cellCustomStyleFeature=new y(this,this.beans),this.addDestroyFunc((function(){return e.cellCustomStyleFeature.destroy()})),this.cellMouseListenerFeature=new E(this,this.beans,this.column),this.addDestroyFunc((function(){return e.cellMouseListenerFeature.destroy()})),this.cellKeyboardListenerFeature=new A(this,this.beans,this.column,this.rowNode,this.rowCtrl),this.addDestroyFunc((function(){return e.cellKeyboardListenerFeature.destroy()})),this.beans.rangeService&&this.beans.gridOptionsWrapper.isEnableRangeSelection()&&(this.cellRangeFeature=new c(this.beans,this),this.addDestroyFunc((function(){return e.cellRangeFeature.destroy()}))),this.addTooltipFeature()},t.prototype.addTooltipFeature=function(){var e=this,t={getColumn:function(){return e.column},getColDef:function(){return e.column.getColDef()},getRowIndex:function(){return e.cellPosition.rowIndex},getRowNode:function(){return e.rowNode},getGui:function(){return e.getGui()},getLocation:function(){return"cell"},getTooltipValue:function(){var t=e.column.getColDef(),r=e.rowNode.data;if(t.tooltipField&&Object(s.exists)(r))return Object(G.getValueUsingField)(r,t.tooltipField,e.column.isTooltipFieldContainsDots());var o=t.tooltipValueGetter;return o?o({location:"cell",api:e.beans.gridOptionsWrapper.getApi(),columnApi:e.beans.gridOptionsWrapper.getColumnApi(),context:e.beans.gridOptionsWrapper.getContext(),colDef:e.column.getColDef(),column:e.column,rowIndex:e.cellPosition.rowIndex,node:e.rowNode,data:e.rowNode.data,value:e.value,valueFormatted:e.valueFormatted}):null},getValueFormatted:function(){return e.valueFormatted}};this.tooltipFeature=new m.a(t,this.beans),this.addDestroyFunc((function(){return e.tooltipFeature.destroy()}))},t.prototype.setComp=function(e,t,r,o,n){this.cellComp=e,this.gow=this.beans.gridOptionsWrapper,this.eGui=t,this.printLayout=o,this.updateAndFormatValue(!0),this.addDomData(),this.onCellFocused(),this.applyStaticCssClasses(),this.setWrapText(),this.onFirstRightPinnedChanged(),this.onLastLeftPinnedChanged(),this.onColumnHover(),this.setupControlComps(),r&&this.setupAutoHeight(r),this.setAriaColIndex(),this.gow.isSuppressCellFocus()||this.cellComp.setTabIndex(-1);var i=Object(f.escapeString)(this.column.getId());this.cellComp.setColId(i),this.cellComp.setRole("gridcell"),this.cellPositionFeature.setComp(t),this.cellCustomStyleFeature.setComp(e),this.tooltipFeature.setComp(e),this.cellKeyboardListenerFeature.setComp(this.eGui),this.cellRangeFeature&&this.cellRangeFeature.setComp(e,t),n&&this.isCellEditable()?this.startEditing():this.showValue(),this.onCellCompAttachedFuncs.length&&(this.onCellCompAttachedFuncs.forEach((function(e){return e()})),this.onCellCompAttachedFuncs=[])},t.prototype.setupAutoHeight=function(e){var t=this;if(this.column.isAutoHeight()){var r=e.parentElement,o=this.beans.gridOptionsWrapper.getRowHeightForNode(this.rowNode).height,n=function(i){if(!t.editing&&t.isAlive()){var a=Object(w.getElementSize)(r),s=a.paddingTop,l=a.paddingBottom,c=e.offsetHeight+s+l;if(i<5){var u=t.beans.gridOptionsWrapper.getDocument();if(!u||!u.contains(e)||0==c)return void t.beans.frameworkOverrides.setTimeout((function(){return n(i+1)}),0)}var p=Math.max(c,o);t.rowNode.setRowAutoHeight(p,t.column)}},i=function(){return n(0)};i();var a=this.beans.resizeObserverService.observeResize(e,i);this.addDestroyFunc((function(){a(),t.rowNode.setRowAutoHeight(void 0,t.column)}))}},t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.showValue=function(e){void 0===e&&(e=!1);var t=null!=this.valueFormatted?this.valueFormatted:this.value,r=this.createCellRendererParams(),o=this.beans.userComponentFactory.getCellRendererDetails(this.column.getColDef(),r);this.cellComp.setRenderDetails(o,t,e),this.refreshHandle()},t.prototype.setupControlComps=function(){var e=this.column.getColDef();this.includeSelection=this.isIncludeControl(e.checkboxSelection),this.includeRowDrag=this.isIncludeControl(e.rowDrag),this.includeDndSource=this.isIncludeControl(e.dndSource),this.cellComp.setIncludeSelection(this.includeSelection),this.cellComp.setIncludeDndSource(this.includeDndSource),this.cellComp.setIncludeRowDrag(this.includeRowDrag)},t.prototype.isForceWrapper=function(){return this.beans.gridOptionsWrapper.isEnableCellTextSelection()||this.column.isAutoHeight()},t.prototype.isIncludeControl=function(e){return!(null!=this.rowNode.rowPinned)&&("function"==typeof e||!0===e)},t.prototype.refreshShouldDestroy=function(){var e=this.column.getColDef(),t=this.includeSelection!=this.isIncludeControl(e.checkboxSelection),r=this.includeRowDrag!=this.isIncludeControl(e.rowDrag),o=this.includeDndSource!=this.isIncludeControl(e.dndSource);return t||r||o},t.prototype.startEditing=function(e,t,r,o){var i,a,s=this;if(void 0===e&&(e=null),void 0===t&&(t=null),void 0===r&&(r=!1),void 0===o&&(o=null),this.isCellEditable()&&!this.editing)if(this.cellComp){var l=this.createCellEditorParams(e,t,r),c=this.column.getColDef(),u=this.beans.userComponentFactory.getCellEditorDetails(c,l),p=null!=(null===(i=u)||void 0===i?void 0:i.popupFromSelector)?u.popupFromSelector:!!c.cellEditorPopup,d=null!=(null===(a=u)||void 0===a?void 0:a.popupPositionFromSelector)?u.popupPositionFromSelector:c.cellEditorPopupPosition;this.setEditing(!0,p),this.cellComp.setEditDetails(u,p,d);var g=this.createEvent(o,n.a.EVENT_CELL_EDITING_STARTED);this.beans.eventService.dispatchEvent(g)}else this.onCellCompAttachedFuncs.push((function(){s.startEditing(e,t,r,o)}))},t.prototype.setEditing=function(e,t){void 0===t&&(t=!1),this.editing!==e&&(this.editing=e,this.editingInPopup=t,this.setInlineEditingClass(),this.refreshHandle())},t.prototype.stopRowOrCellEdit=function(e){void 0===e&&(e=!1),this.beans.gridOptionsWrapper.isFullRowEdit()?this.rowCtrl.stopRowEditing(e):this.stopEditing(e)},t.prototype.onPopupEditorClosed=function(){this.isEditing()&&this.stopEditingAndFocus()},t.prototype.takeValueFromCellEditor=function(e){var t={newValueExists:!1};if(e)return t;var r=this.cellComp.getCellEditor();return r?r.isCancelAfterEnd&&r.isCancelAfterEnd()?t:{newValue:r.getValue(),newValueExists:!0}:t},t.prototype.saveNewValue=function(e,t){if(t===e)return!1;if(this.beans.gridOptionsWrapper.isReadOnlyEdit())return this.dispatchEventForSaveValueReadOnly(e,t),!1;this.suppressRefreshCell=!0;var r=this.rowNode.setDataValue(this.column,t);return this.suppressRefreshCell=!1,r},t.prototype.dispatchEventForSaveValueReadOnly=function(e,t){var r=this.rowNode,o={type:n.a.EVENT_CELL_EDIT_REQUEST,event:null,rowIndex:r.rowIndex,rowPinned:r.rowPinned,column:this.column,api:this.beans.gridApi,columnApi:this.beans.columnApi,colDef:this.column.getColDef(),context:this.beans.gridOptionsWrapper.getContext(),data:r.data,node:r,oldValue:e,newValue:t,value:t,source:void 0};this.beans.eventService.dispatchEvent(o)},t.prototype.stopEditing=function(e){if(void 0===e&&(e=!1),!this.editing)return!1;var t=this.takeValueFromCellEditor(e),r=t.newValue,o=t.newValueExists,n=this.getValueFromValueService(),i=!1;return o&&(i=this.saveNewValue(n,r)),this.setEditing(!1),this.cellComp.setEditDetails(),this.updateAndFormatValue(),this.refreshCell({forceRefresh:!0,suppressFlash:!0}),this.dispatchEditingStoppedEvent(n,r,!e&&!!i),i},t.prototype.dispatchEditingStoppedEvent=function(e,t,r){var o=z(z({},this.createEvent(null,n.a.EVENT_CELL_EDITING_STOPPED)),{oldValue:e,newValue:t,valueChanged:r});this.beans.eventService.dispatchEvent(o)},t.prototype.setInlineEditingClass=function(){var e=this;if(this.isAlive())if(this.cellComp){var t=this.editing&&!this.editingInPopup,r=this.editing&&this.editingInPopup;this.cellComp.addOrRemoveCssClass("ag-cell-inline-editing",t),this.cellComp.addOrRemoveCssClass("ag-cell-not-inline-editing",!t),this.cellComp.addOrRemoveCssClass("ag-cell-popup-editing",r),this.rowCtrl.setInlineEditingCss(this.editing)}else this.onCellCompAttachedFuncs.push((function(){e.setInlineEditingClass()}))},t.prototype.hackSayEditingInPopup=function(){this.editingInPopup||(this.editingInPopup=!0,this.setInlineEditingClass())},t.prototype.createCellEditorParams=function(e,t,r){return{value:this.getValueFromValueService(),key:e,eventKey:e,charPress:t,column:this.column,colDef:this.column.getColDef(),rowIndex:this.getCellPosition().rowIndex,node:this.rowNode,data:this.rowNode.data,api:this.beans.gridOptionsWrapper.getApi(),cellStartedEdit:r,columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),onKeyDown:this.onKeyDown.bind(this),stopEditing:this.stopEditingAndFocus.bind(this),eGridCell:this.getGui(),parseValue:this.parseValue.bind(this),formatValue:this.formatValue.bind(this)}},t.prototype.createCellRendererParams=function(){var e=this;return{value:this.value,valueFormatted:this.valueFormatted,getValue:this.getValueFromValueService.bind(this),setValue:function(t){return e.beans.valueService.setValue(e.rowNode,e.column,t)},formatValue:this.formatValue.bind(this),data:this.rowNode.data,node:this.rowNode,pinned:this.column.getPinned(),colDef:this.column.getColDef(),column:this.column,rowIndex:this.getCellPosition().rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),refreshCell:this.refreshCell.bind(this),eGridCell:this.getGui(),eParentOfValue:this.cellComp.getParentOfValue(),registerRowDragger:function(t,r,o,n){return e.registerRowDragger(t,r,n)},addRowCompListener:function(t,r){console.warn("AG Grid: since AG Grid v26, params.addRowCompListener() is deprecated. If you need this functionality, please contact AG Grid support and advise why so that we can revert with an appropriate workaround, as we dont have any valid use cases for it. This method was originally provided as a work around to know when cells were destroyed in AG Grid before custom Cell Renderers could be provided."),e.rowCtrl.addEventListener(t,r)}}},t.prototype.parseValue=function(e){var t=this.column.getColDef(),r={node:this.rowNode,data:this.rowNode.data,oldValue:this.getValue(),newValue:e,colDef:t,column:this.column,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()},o=t.valueParser;return Object(s.exists)(o)?this.beans.expressionService.evaluate(o,r):e},t.prototype.setFocusOutOnEditor=function(){if(this.editing){var e=this.cellComp.getCellEditor();e&&e.focusOut&&e.focusOut()}},t.prototype.setFocusInOnEditor=function(){if(this.editing){var e=this.cellComp.getCellEditor();e&&e.focusIn?e.focusIn():this.focusCell(!0)}},t.prototype.onCellChanged=function(e){this.cellComp&&(e.column===this.column&&this.refreshCell({}))},t.prototype.refreshCell=function(e){if(!this.suppressRefreshCell&&!this.editing&&this.cellComp){var t=this.column.getColDef(),r=null!=e&&!!e.newData,o=null!=e&&!!e.suppressFlash||!!t.suppressCellFlash,n=null==t.field&&null==t.valueGetter&&null==t.showRowGroup,i=e&&e.forceRefresh||n||r,a=this.updateAndFormatValue();if(i||a){this.showValue(r);var s=this.beans.filterManager.isSuppressFlashingCellsBecauseFiltering();!o&&!s&&(this.beans.gridOptionsWrapper.isEnableCellChangeFlash()||t.enableCellChangeFlash)&&this.flashCell(),this.cellCustomStyleFeature.applyUserStyles(),this.cellCustomStyleFeature.applyClassesFromColDef()}this.refreshToolTip(),this.cellCustomStyleFeature.applyCellClassRules()}},t.prototype.stopEditingAndFocus=function(e){void 0===e&&(e=!1),this.stopRowOrCellEdit(),this.focusCell(!0),e||this.navigateAfterEdit()},t.prototype.navigateAfterEdit=function(){this.beans.gridOptionsWrapper.isFullRowEdit()||this.beans.gridOptionsWrapper.isEnterMovesDownAfterEdit()&&this.beans.navigationService.navigateToNextCell(null,x.a.DOWN,this.getCellPosition(),!1)},t.prototype.flashCell=function(e){var t=e&&e.flashDelay,r=e&&e.fadeDelay;this.animateCell("data-changed",t,r)},t.prototype.animateCell=function(e,t,r){var o=this,n="ag-cell-"+e,i="ag-cell-"+e+"-animation",a=this.beans.gridOptionsWrapper;t||(t=a.getCellFlashDelay()),Object(s.exists)(r)||(r=a.getCellFadeDelay()),this.cellComp.addOrRemoveCssClass(n,!0),this.cellComp.addOrRemoveCssClass(i,!1),window.setTimeout((function(){o.isAlive()&&(o.cellComp.addOrRemoveCssClass(n,!1),o.cellComp.addOrRemoveCssClass(i,!0),o.eGui.style.transition="background-color "+r+"ms",window.setTimeout((function(){o.isAlive()&&(o.cellComp.addOrRemoveCssClass(i,!1),o.eGui.style.transition="")}),r))}),t)},t.prototype.onFlashCells=function(e){if(this.cellComp){var t=this.beans.cellPositionUtils.createId(this.getCellPosition());e.cells[t]&&this.animateCell("highlight")}},t.prototype.isCellEditable=function(){return this.column.isCellEditable(this.rowNode)},t.prototype.isSuppressFillHandle=function(){return this.column.isSuppressFillHandle()},t.prototype.formatValue=function(e){var t=this.callValueFormatter(e);return null!=t?t:e},t.prototype.callValueFormatter=function(e){return this.beans.valueFormatterService.formatValue(this.column,this.rowNode,e)},t.prototype.updateAndFormatValue=function(e){void 0===e&&(e=!1);var t=this.value,r=this.valueFormatted;return this.value=this.getValueFromValueService(),this.valueFormatted=this.callValueFormatter(this.value),!!e||(!this.valuesAreEqual(t,this.value)||this.valueFormatted!=r)},t.prototype.valuesAreEqual=function(e,t){var r=this.column.getColDef();return r.equals?r.equals(e,t):e===t},t.prototype.getComp=function(){return this.cellComp},t.prototype.getValueFromValueService=function(){var e=this.rowNode.leafGroup&&this.beans.columnModel.isPivotMode(),t=this.rowNode.group&&this.rowNode.expanded&&!this.rowNode.footer&&!e,r=this.beans.gridOptionsWrapper.isGroupIncludeFooter(),o=this.beans.gridOptionsWrapper.isGroupSuppressBlankHeader(),n=t&&r&&!o;return this.beans.valueService.getValue(this.column,this.rowNode,!1,n)},t.prototype.getValue=function(){return this.value},t.prototype.getValueFormatted=function(){return this.valueFormatted},t.prototype.addDomData=function(){var e=this,r=this.getGui();this.beans.gridOptionsWrapper.setDomData(r,t.DOM_DATA_KEY_CELL_CTRL,this),this.addDestroyFunc((function(){return e.beans.gridOptionsWrapper.setDomData(r,t.DOM_DATA_KEY_CELL_CTRL,null)}))},t.prototype.createEvent=function(e,t){return{type:t,node:this.rowNode,data:this.rowNode.data,value:this.value,column:this.column,colDef:this.column.getColDef(),context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridApi,columnApi:this.beans.columnApi,rowPinned:this.rowNode.rowPinned,event:e,rowIndex:this.rowNode.rowIndex}},t.prototype.onKeyPress=function(e){this.cellKeyboardListenerFeature.onKeyPress(e)},t.prototype.onKeyDown=function(e){this.cellKeyboardListenerFeature.onKeyDown(e)},t.prototype.onMouseEvent=function(e,t){this.cellMouseListenerFeature.onMouseEvent(e,t)},t.prototype.getGui=function(){return this.eGui},t.prototype.refreshToolTip=function(){this.tooltipFeature.refreshToolTip()},t.prototype.getColSpanningList=function(){return this.cellPositionFeature.getColSpanningList()},t.prototype.onLeftChanged=function(){this.cellComp&&this.cellPositionFeature.onLeftChanged()},t.prototype.onDisplayedColumnsChanged=function(){this.eGui&&this.setAriaColIndex()},t.prototype.setAriaColIndex=function(){var e=this.beans.columnModel.getAriaColumnIndex(this.column);Object(l.setAriaColIndex)(this.getGui(),e)},t.prototype.isSuppressNavigable=function(){return this.column.isSuppressNavigable(this.rowNode)},t.prototype.onWidthChanged=function(){return this.cellPositionFeature.onWidthChanged()},t.prototype.getColumn=function(){return this.column},t.prototype.getRowNode=function(){return this.rowNode},t.prototype.getBeans=function(){return this.beans},t.prototype.isPrintLayout=function(){return this.printLayout},t.prototype.appendChild=function(e){this.eGui.appendChild(e)},t.prototype.refreshHandle=function(){this.cellRangeFeature&&this.cellRangeFeature.refreshHandle()},t.prototype.getCellPosition=function(){return this.cellPosition},t.prototype.isEditing=function(){return this.editing},t.prototype.startRowOrCellEdit=function(e,t,r){void 0===r&&(r=null),this.cellComp&&(this.beans.gridOptionsWrapper.isFullRowEdit()?this.rowCtrl.startRowEditing(e,t,this):this.startEditing(e,t,!0,r))},t.prototype.getRowCtrl=function(){return this.rowCtrl},t.prototype.getRowPosition=function(){return{rowIndex:this.cellPosition.rowIndex,rowPinned:this.cellPosition.rowPinned}},t.prototype.updateRangeBordersIfRangeCount=function(){this.cellComp&&this.cellRangeFeature&&this.cellRangeFeature.updateRangeBordersIfRangeCount()},t.prototype.onRangeSelectionChanged=function(){this.cellComp&&this.cellRangeFeature&&this.cellRangeFeature.onRangeSelectionChanged()},t.prototype.isRangeSelectionEnabled=function(){return null!=this.cellRangeFeature},t.prototype.focusCell=function(e){void 0===e&&(e=!1),this.beans.focusService.setFocusedCell({rowIndex:this.getCellPosition().rowIndex,column:this.column,rowPinned:this.rowNode.rowPinned,forceBrowserFocus:e})},t.prototype.onRowIndexChanged=function(){this.createCellPosition(),this.onCellFocused(),this.cellRangeFeature&&this.cellRangeFeature.onRangeSelectionChanged()},t.prototype.onFirstRightPinnedChanged=function(){if(this.cellComp){var e=this.column.isFirstRightPinned();this.cellComp.addOrRemoveCssClass("ag-cell-first-right-pinned",e)}},t.prototype.onLastLeftPinnedChanged=function(){if(this.cellComp){var e=this.column.isLastLeftPinned();this.cellComp.addOrRemoveCssClass("ag-cell-last-left-pinned",e)}},t.prototype.onCellFocused=function(e){if(this.cellComp&&!this.gow.isSuppressCellFocus()){var t=this.beans.focusService.isCellFocused(this.cellPosition);if(this.cellComp.addOrRemoveCssClass("ag-cell-focus",t),t&&e&&e.forceBrowserFocus)this.cellComp.getFocusableElement().focus({preventScroll:!!e.preventScrollOnBrowserFocus});var r=this.beans.gridOptionsWrapper.isFullRowEdit();t||r||!this.editing||this.stopRowOrCellEdit()}},t.prototype.createCellPosition=function(){this.cellPosition={rowIndex:this.rowNode.rowIndex,rowPinned:Object(s.makeNull)(this.rowNode.rowPinned),column:this.column}},t.prototype.applyStaticCssClasses=function(){this.cellComp.addOrRemoveCssClass("ag-cell",!0),this.cellComp.addOrRemoveCssClass("ag-cell-not-inline-editing",!0);var e=1==this.column.isAutoHeight();this.cellComp.addOrRemoveCssClass("ag-cell-auto-height",e),this.cellComp.addOrRemoveCssClass("ag-cell-normal-height",!e)},t.prototype.onColumnHover=function(){if(this.cellComp&&this.beans.gridOptionsWrapper.isColumnHoverHighlight()){var e=this.beans.columnHoverService.isHovered(this.column);this.cellComp.addOrRemoveCssClass("ag-column-hover",e)}},t.prototype.onColDefChanged=function(){this.cellComp&&(this.setWrapText(),this.editing||this.refreshCell({forceRefresh:!0,suppressFlash:!0}))},t.prototype.setWrapText=function(){var e=1==this.column.getColDef().wrapText;this.cellComp.addOrRemoveCssClass("ag-cell-wrap-text",e)},t.prototype.dispatchCellContextMenuEvent=function(e){var t=this.column.getColDef(),r=this.createEvent(e,n.a.EVENT_CELL_CONTEXT_MENU);this.beans.eventService.dispatchEvent(r),t.onCellContextMenu&&window.setTimeout((function(){return t.onCellContextMenu(r)}),0)},t.prototype.getCellRenderer=function(){return this.cellComp?this.cellComp.getCellRenderer():null},t.prototype.getCellEditor=function(){return this.cellComp?this.cellComp.getCellEditor():null},t.prototype.destroy=function(){this.onCellCompAttachedFuncs=[],e.prototype.destroy.call(this)},t.prototype.createSelectionCheckbox=function(){var e=new P.a;return this.beans.context.createBean(e),e.init({rowNode:this.rowNode,column:this.column}),e},t.prototype.createDndSource=function(){var e=new L(this.rowNode,this.column,this.beans,this.eGui);return this.beans.context.createBean(e),e},t.prototype.registerRowDragger=function(e,t,r){var o=this;if(this.customRowDragComp)this.customRowDragComp.setDragElement(e,t);else{var n=this.createRowDragComp(e,t,r);n&&(this.customRowDragComp=n,this.addDestroyFunc((function(){return o.beans.context.destroyBean(n)})))}},t.prototype.createRowDragComp=function(e,t,r){var o=this,n=this.beans.gridOptionsWrapper.isPagination(),i=this.beans.gridOptionsWrapper.isRowDragManaged(),a=this.beans.gridOptionsWrapper.isRowModelDefault();if(i){if(!a)return void Object(k.doOnce)((function(){return console.warn("AG Grid: managed row dragging is only allowed in the Client Side Row Model")}),"CellComp.addRowDragging");if(n)return void Object(k.doOnce)((function(){return console.warn("AG Grid: managed row dragging is not possible when doing pagination")}),"CellComp.addRowDragging")}var s=new F.a((function(){return o.value}),this.rowNode,this.column,e,t,r);return this.beans.context.createBean(s),s},t.DOM_DATA_KEY_CELL_CTRL="cellCtrl",t}(u.a)},function(e,t,r){"use strict";r.r(t),r.d(t,"isEventFromPrintableCharacter",(function(){return a})),r.d(t,"isUserSuppressingKeyboardEvent",(function(){return s})),r.d(t,"isUserSuppressingHeaderKeyboardEvent",(function(){return l})),r.d(t,"normaliseQwertyAzerty",(function(){return c})),r.d(t,"isDeleteKey",(function(){return u}));var o=r(18),n=r(2),i=r(8);function a(e){if(e.altKey||e.ctrlKey||e.metaKey)return!1;var t=1===e.key.length,r=function(e){return Object(o.isBrowserEdge)()&&"Del"===e.key&&46===e.charCode}(e);return t||r}function s(e,t,r,o,n){var i=e.getSuppressKeyboardEventFunc(),a=o?o.getColDef().suppressKeyboardEvent:void 0;if(!i&&!a)return!1;var s={event:t,editing:n,column:o,api:e.getApi(),node:r,data:r.data,colDef:o.getColDef(),context:e.getContext(),columnApi:e.getColumnApi()};if(a&&a(s))return!0;return!!i&&i(s)}function l(e,t,r,o){var i=o.getDefinition(),a=i&&i.suppressHeaderKeyboardEvent;return!!Object(n.exists)(a)&&!!a({api:e.getApi(),columnApi:e.getColumnApi(),context:e.getContext(),colDef:i,column:o,headerRowIndex:r,event:t})}function c(e){var t;switch(e.keyCode){case 65:t=i.a.A;break;case 67:t=i.a.C;break;case 86:t=i.a.V;break;case 68:t=i.a.D;break;case 90:t=i.a.Z;break;case 89:t=i.a.Y;break;default:t=e.code}return t}function u(e,t){return void 0===t&&(t=!1),e===i.a.DELETE||!t&&e===i.a.BACKSPACE&&Object(o.isMacOsUserAgent)()}},function(e,t,r){"use strict";r.r(t),r.d(t,"RowGroupingModule",(function(){return re})),r.d(t,"RowGroupDropZonePanel",(function(){return K})),r.d(t,"ValuesDropZonePanel",(function(){return ie})),r.d(t,"PivotDropZonePanel",(function(){return q}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.execute=function(e){var t=n._.missingOrEmpty(this.columnModel.getValueColumns()),r=!this.gridOptionsWrapper.getGroupRowAggFunc(),o=e.changedPath&&e.changedPath.isActive();if(!(t&&r&&o)){var i=this.createAggDetails(e);this.recursivelyCreateAggData(i)}},t.prototype.createAggDetails=function(e){var t=this.columnModel.isPivotActive(),r=this.columnModel.getValueColumns(),o=t?this.columnModel.getPivotColumns():[];return{changedPath:e.changedPath,valueColumns:r,pivotColumns:o}},t.prototype.recursivelyCreateAggData=function(e){var t=this;this.filteredOnly=!this.gridOptionsWrapper.isSuppressAggFilteredOnly();e.changedPath.forEachChangedNodeDepthFirst((function(r){if(!r.hasChildren())r.aggData&&r.setAggData(null);else{if(-1===r.level){var o=!t.columnModel.isPivotMode();if(t.gridOptionsWrapper.isSuppressAggAtRootLevel()&&o)return}t.aggregateRowNode(r,e)}}),!0)},t.prototype.aggregateRowNode=function(e,t){var r,o=0===t.valueColumns.length,n=0===t.pivotColumns.length,i=this.gridOptionsWrapper.getGroupRowAggFunc();i?r=i({nodes:e.childrenAfterFilter}):r=o?null:n?this.aggregateRowNodeUsingValuesOnly(e,t):this.aggregateRowNodeUsingValuesAndPivot(e);e.setAggData(r),e.sibling&&e.sibling.setAggData(r)},t.prototype.aggregateRowNodeUsingValuesAndPivot=function(e){var t=this,r={},o=this.pivotStage.getPivotColumnDefs();return o.filter((function(e){return!n._.exists(e.pivotTotalColumnIds)})).forEach((function(o){var n,i=o.pivotKeys||[],a=o.pivotValueColumn,s=o.colId;n=e.leafGroup?t.getValuesFromMappedSet(e.childrenMapped,i,a):t.getValuesPivotNonLeaf(e,s),r[s]=t.aggregateValues(n,a.getAggFunc(),a,e)})),o.filter((function(e){return n._.exists(e.pivotTotalColumnIds)})).forEach((function(o){var n=[],i=o.pivotValueColumn,a=o.pivotTotalColumnIds,s=o.colId;a&&a.length&&(a.forEach((function(e){n.push(r[e])})),r[s]=t.aggregateValues(n,i.getAggFunc(),i,e))})),r},t.prototype.aggregateRowNodeUsingValuesOnly=function(e,t){var r=this,o={},n=t.changedPath.isActive()?t.changedPath.getValueColumnsForNode(e,t.valueColumns):t.valueColumns,i=t.changedPath.isActive()?t.changedPath.getNotValueColumnsForNode(e,t.valueColumns):null,a=this.getValuesNormal(e,n),s=e.aggData;return n.forEach((function(t,n){o[t.getId()]=r.aggregateValues(a[n],t.getAggFunc(),t,e)})),i&&s&&i.forEach((function(e){o[e.getId()]=s[e.getId()]})),o},t.prototype.getValuesPivotNonLeaf=function(e,t){var r=[];return e.childrenAfterFilter.forEach((function(e){var o=e.aggData[t];r.push(o)})),r},t.prototype.getValuesFromMappedSet=function(e,t,r){var o=this,n=e;if(t.forEach((function(e){return n=n?n[e]:null})),!n)return[];var i=[];return n.forEach((function(e){var t=o.valueService.getValue(r,e);i.push(t)})),i},t.prototype.getValuesNormal=function(e,t){var r=[];t.forEach((function(){return r.push([])}));for(var o=t.length,n=this.filteredOnly?e.childrenAfterFilter:e.childrenAfterGroup,i=n.length,a=0;a<i;a++)for(var s=n[a],l=0;l<o;l++){var c=t[l],u=this.valueService.getValue(c,s);r[l].push(u)}return r},t.prototype.aggregateValues=function(e,t,r,o){var n="string"==typeof t?this.aggFuncService.getAggFunc(t):t;if("function"!=typeof n)return console.error("AG Grid: unrecognised aggregation function "+t),null;return n({values:e,column:r,colDef:r?r.getColDef():void 0,rowNode:o,data:o?o.data:void 0,api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()})},s([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),s([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),s([Object(n.Autowired)("pivotStage")],t.prototype,"pivotStage",void 0),s([Object(n.Autowired)("aggFuncService")],t.prototype,"aggFuncService",void 0),s([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),s([Object(n.Autowired)("columnApi")],t.prototype,"columnApi",void 0),t=s([Object(n.Bean)("aggregationStage")],t)}(n.BeanStub),c=function(){function e(){this.allSets={},this.allParents=[]}return e.prototype.removeFromChildrenAfterGroup=function(e,t){this.getSet(e).removeFromChildrenAfterGroup[t.id]=!0},e.prototype.removeFromAllLeafChildren=function(e,t){this.getSet(e).removeFromAllLeafChildren[t.id]=!0},e.prototype.getSet=function(e){return this.allSets[e.id]||(this.allSets[e.id]={removeFromAllLeafChildren:{},removeFromChildrenAfterGroup:{}},this.allParents.push(e)),this.allSets[e.id]},e.prototype.getAllParents=function(){return this.allParents},e.prototype.flush=function(){var e=this;this.allParents.forEach((function(t){var r=e.allSets[t.id];t.childrenAfterGroup=t.childrenAfterGroup.filter((function(e){return!r.removeFromChildrenAfterGroup[e.id]})),t.allLeafChildren=t.allLeafChildren.filter((function(e){return!r.removeFromAllLeafChildren[e.id]})),t.updateHasChildren(),t.sibling&&(t.sibling.childrenAfterGroup=t.childrenAfterGroup,t.sibling.allLeafChildren=t.allLeafChildren)})),this.allSets={},this.allParents.length=0},e}(),u=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},g=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));return e},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.groupIdSequence=new n.NumberSequence,t}return u(t,e),t.prototype.postConstruct=function(){this.usingTreeData=this.gridOptionsWrapper.isTreeData(),this.usingTreeData&&(this.getDataPath=this.gridOptionsWrapper.getDataPathFunc())},t.prototype.execute=function(e){var t=this.createGroupingDetails(e);if(t.transactions)this.handleTransaction(t);else{var r=!0===e.afterColumnsChanged;this.shotgunResetEverything(t,r)}this.positionLeafsAboveGroups(e.changedPath),this.orderGroups(t.rootNode),this.selectableService.updateSelectableAfterGrouping(t.rootNode)},t.prototype.positionLeafsAboveGroups=function(e){this.usingTreeData||e.forEachChangedNodeDepthFirst((function(e){if(e.childrenAfterGroup){var t=[],r=[];e.childrenAfterGroup.forEach((function(e){var o;(null===(o=e.childrenAfterGroup)||void 0===o?void 0:o.length)?r.push(e):t.push(e)})),e.childrenAfterGroup=g(t,r)}}),!1)},t.prototype.createGroupingDetails=function(e){var t=e.rowNode,r=e.changedPath,o=e.rowNodeTransactions,n=e.rowNodeOrder,i=this.usingTreeData?null:this.columnModel.getRowGroupColumns();return{includeParents:!this.gridOptionsWrapper.isSuppressParentsInRowNodes(),expandByDefault:this.gridOptionsWrapper.getGroupDefaultExpanded(),groupedCols:i,rootNode:t,pivotMode:this.columnModel.isPivotMode(),groupedColCount:this.usingTreeData||!i?0:i.length,rowNodeOrder:n,transactions:o,changedPath:r}},t.prototype.handleTransaction=function(e){var t=this;e.transactions.forEach((function(r){var o=t.usingTreeData?void 0:new c;if(n._.existsAndNotEmpty(r.remove)&&t.removeNodes(r.remove,e,o),n._.existsAndNotEmpty(r.update)&&t.moveNodesInWrongPath(r.update,e,o),n._.existsAndNotEmpty(r.add)&&t.insertNodes(r.add,e,!1),o){var i=o.getAllParents().slice();o.flush(),t.removeEmptyGroups(i,e)}})),e.rowNodeOrder&&this.sortChildren(e)},t.prototype.sortChildren=function(e){e.changedPath.forEachChangedNodeDepthFirst((function(t){t.childrenAfterGroup&&(n._.sortRowNodesByOrder(t.childrenAfterGroup,e.rowNodeOrder)&&e.changedPath.addParentNode(t))}),!1,!0)},t.prototype.orderGroups=function(e){if(!this.usingTreeData){var t=this.gridOptionsWrapper.getInitialGroupOrderComparator();n._.exists(t)&&function e(r){n._.exists(r.childrenAfterGroup)&&!r.leafGroup&&(r.childrenAfterGroup.sort((function(e,r){return t({nodeA:e,nodeB:r})})),r.childrenAfterGroup.forEach((function(t){return e(t)})))}(e)}},t.prototype.getExistingPathForNode=function(e,t){for(var r=[],o=this.usingTreeData?e:e.parent;o&&o!==t.rootNode;)r.push({key:o.key,rowGroupColumn:o.rowGroupColumn,field:o.field}),o=o.parent;return r.reverse(),r},t.prototype.moveNodesInWrongPath=function(e,t,r){var o=this;e.forEach((function(e){t.changedPath.isActive()&&t.changedPath.addParentNode(e.parent);var i=function(e){return e.key},a=o.getExistingPathForNode(e,t).map(i),s=o.getGroupInfo(e,t).map(i);n._.areEqual(a,s)||o.moveNode(e,t,r)}))},t.prototype.moveNode=function(e,t,r){if(this.removeNodesInStages([e],t,r),this.insertOneNode(e,t,!0),e.setData(e.data),t.changedPath.isActive()){var o=e.parent;t.changedPath.addParentNode(o)}},t.prototype.removeNodes=function(e,t,r){this.removeNodesInStages(e,t,r),t.changedPath.isActive()&&e.forEach((function(e){return t.changedPath.addParentNode(e.parent)}))},t.prototype.removeNodesInStages=function(e,t,r){if(this.removeNodesFromParents(e,t,r),this.usingTreeData){this.postRemoveCreateFillerNodes(e,t);var o=e.map((function(e){return e.parent}));this.removeEmptyGroups(o,t)}},t.prototype.forEachParentGroup=function(e,t,r){for(var o=t;o&&o!==e.rootNode;)r(o),o=o.parent},t.prototype.removeNodesFromParents=function(e,t,r){var o=this,n=null==r,i=r||new c;e.forEach((function(e){o.removeFromParent(e,i),o.forEachParentGroup(t,e.parent,(function(t){i.removeFromAllLeafChildren(t,e)}))})),n&&i.flush()},t.prototype.postRemoveCreateFillerNodes=function(e,t){var r=this;e.forEach((function(e){if(e.hasChildren()){var o=r.getExistingPathForNode(e,t),n=r.findParentForNode(e,o,t);n.expanded=e.expanded,n.allLeafChildren=e.allLeafChildren,n.childrenAfterGroup=e.childrenAfterGroup,n.childrenMapped=e.childrenMapped,n.updateHasChildren(),n.childrenAfterGroup.forEach((function(e){return e.parent=n}))}}))},t.prototype.removeEmptyGroups=function(e,t){for(var r=this,o=!0,n=function(){o=!1;var n=new c;e.forEach((function(e){r.forEachParentGroup(t,e,(function(e){(function(e){var t=r.getChildrenMappedKey(e.key,e.rowGroupColumn),o=e.parent;return!(!o||!o.childrenMapped||!o.childrenMapped[t])&&!!e.isEmptyRowGroupNode()})(e)&&(o=!0,r.removeFromParent(e,n),e.setSelected(!1))}))})),n.flush()};o;)n()},t.prototype.removeFromParent=function(e,t){e.parent&&(t?t.removeFromChildrenAfterGroup(e.parent,e):(n._.removeFromArray(e.parent.childrenAfterGroup,e),e.parent.updateHasChildren()));var r=this.getChildrenMappedKey(e.key,e.rowGroupColumn);e.parent&&e.parent.childrenMapped&&(e.parent.childrenMapped[r]=void 0),e.setRowTop(null),e.setRowIndex(null)},t.prototype.addToParent=function(e,t){var r=this.getChildrenMappedKey(e.key,e.rowGroupColumn);t&&(null!=t.childrenMapped&&(t.childrenMapped[r]=e),t.childrenAfterGroup.push(e),t.updateHasChildren())},t.prototype.areGroupColsEqual=function(e,t){return null!=e&&null!=t&&e.pivotMode===t.pivotMode&&n._.areEqual(e.groupedCols,t.groupedCols)},t.prototype.checkAllGroupDataAfterColsChanged=function(e){var t=this,r=function(e){e&&e.forEach((function(e){if(!(!t.usingTreeData&&!e.group)){var o={field:e.field,key:e.key,rowGroupColumn:e.rowGroupColumn};t.setGroupData(e,o),r(e.childrenAfterGroup)}}))};r(e.rootNode.childrenAfterGroup)},t.prototype.shotgunResetEverything=function(e,t){if(!this.noChangeInGroupingColumns(e,t)){this.selectionService.removeGroupsFromSelection();var r=e.rootNode,o=e.groupedCols;r.leafGroup=!this.usingTreeData&&0===o.length,r.childrenAfterGroup=[],r.childrenMapped={},r.updateHasChildren();var n=r.sibling;n&&(n.childrenAfterGroup=r.childrenAfterGroup,n.childrenMapped=r.childrenMapped),this.insertNodes(r.allLeafChildren,e,!1)}},t.prototype.noChangeInGroupingColumns=function(e,t){var r=!1,o=this.columnModel.getGroupDisplayColumns(),n=o?o.map((function(e){return e.getId()})).join("-"):"";return t&&(r=this.usingTreeData||this.areGroupColsEqual(e,this.oldGroupingDetails),this.oldGroupDisplayColIds!==n&&this.checkAllGroupDataAfterColsChanged(e)),this.oldGroupingDetails=e,this.oldGroupDisplayColIds=n,r},t.prototype.insertNodes=function(e,t,r){var o=this;e.forEach((function(e){o.insertOneNode(e,t,r),t.changedPath.isActive()&&t.changedPath.addParentNode(e.parent)}))},t.prototype.insertOneNode=function(e,t,r){var o=this.getGroupInfo(e,t),n=this.findParentForNode(e,o,t);n.group||console.warn("AG Grid: duplicate group keys for row data, keys should be unique",[n.data,e.data]),this.usingTreeData?this.swapGroupWithUserNode(n,e,r):(e.parent=n,e.level=o.length,n.childrenAfterGroup.push(e),n.updateHasChildren())},t.prototype.findParentForNode=function(e,t,r){var o=this,n=r.rootNode;return t.forEach((function(t,i){(n=o.getOrCreateNextNode(n,t,i,r)).allLeafChildren.push(e)})),n},t.prototype.swapGroupWithUserNode=function(e,t,r){t.parent=e.parent,t.key=e.key,t.field=e.field,t.groupData=e.groupData,t.level=e.level,r||(t.expanded=e.expanded),t.leafGroup=e.leafGroup,t.rowGroupIndex=e.rowGroupIndex,t.allLeafChildren=e.allLeafChildren,t.childrenAfterGroup=e.childrenAfterGroup,t.childrenMapped=e.childrenMapped,t.updateHasChildren(),this.removeFromParent(e),t.childrenAfterGroup.forEach((function(e){return e.parent=t})),this.addToParent(t,e.parent)},t.prototype.getOrCreateNextNode=function(e,t,r,o){var n=this.getChildrenMappedKey(t.key,t.rowGroupColumn),i=e.childrenMapped?e.childrenMapped[n]:void 0;return i||(i=this.createGroup(t,e,r,o),this.addToParent(i,e)),i},t.prototype.createGroup=function(e,t,r,o){var i=new n.RowNode(this.beans);return i.group=!0,i.field=e.field,i.rowGroupColumn=e.rowGroupColumn,this.setGroupData(i,e),i.id=n.RowNode.ID_PREFIX_ROW_GROUP+this.groupIdSequence.next(),i.key=e.key,i.level=r,i.leafGroup=!this.usingTreeData&&r===o.groupedColCount-1,i.allLeafChildren=[],i.setAllChildrenCount(0),i.rowGroupIndex=this.usingTreeData?null:r,i.childrenAfterGroup=[],i.childrenMapped={},i.updateHasChildren(),i.parent=o.includeParents?t:null,this.setExpandedInitialValue(o,i),i},t.prototype.setGroupData=function(e,t){var r=this;e.groupData={},this.columnModel.getGroupDisplayColumns().forEach((function(o){(r.usingTreeData||!!e.rowGroupColumn&&o.isRowGroupDisplayed(e.rowGroupColumn.getId()))&&(e.groupData[o.getColId()]=t.key)}))},t.prototype.getChildrenMappedKey=function(e,t){return t?t.getId()+"-"+e:e},t.prototype.setExpandedInitialValue=function(e,t){if(e.pivotMode&&t.leafGroup)t.expanded=!1;else{var r=this.gridOptionsWrapper.getIsGroupOpenByDefaultFunc();if(r){var o={rowNode:t,field:t.field,key:t.key,level:t.level,rowGroupColumn:t.rowGroupColumn};t.expanded=1==r(o)}else{var n=e.expandByDefault;-1!==e.expandByDefault?t.expanded=t.level<n:t.expanded=!0}}},t.prototype.getGroupInfo=function(e,t){return this.usingTreeData?this.getGroupInfoFromCallback(e):this.getGroupInfoFromGroupColumns(e,t)},t.prototype.getGroupInfoFromCallback=function(e){var t=this.getDataPath?this.getDataPath(e.data):null;null!=t&&0!==t.length||n._.doOnce((function(){return console.warn("AG Grid: getDataPath() should not return an empty path for data",e.data)}),"groupStage.getGroupInfoFromCallback");return t?t.map((function(e){return{key:e,field:null,rowGroupColumn:null}})):[]},t.prototype.getGroupInfoFromGroupColumns=function(e,t){var r=this,o=[];return t.groupedCols.forEach((function(n){var i=r.valueService.getKeyForNode(n,e),a=null!=i;if(t.pivotMode&&!a&&(i=" ",a=!0),a){var s={key:i,field:n.getColDef().field,rowGroupColumn:n};o.push(s)}})),o},p([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),p([Object(n.Autowired)("selectableService")],t.prototype,"selectableService",void 0),p([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),p([Object(n.Autowired)("beans")],t.prototype,"beans",void 0),p([Object(n.Autowired)("selectionService")],t.prototype,"selectionService",void 0),p([n.PostConstruct],t.prototype,"postConstruct",null),t=p([Object(n.Bean)("groupStage")],t)}(n.BeanStub),f=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),v=function(){return(v=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},y=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},m=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},b=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return f(t,e),r=t,t.prototype.createPivotColumnDefs=function(e){var t=this.columnModel.getPivotColumns(),r=this.columnModel.getValueColumns(),o=t.length,i=this.recursiveBuildGroup(0,e,[],o,t);var a=function e(t,r){return void 0===r&&(r=[]),t.forEach((function(t){void 0!==t.children?e(t.children,r):r.push(t)})),r}(i);return this.addRowGroupTotals(i,a,r),this.addExpandablePivotGroups(i,a),this.addPivotTotalsToGroups(i,a),{pivotColumnGroupDefs:i,pivotColumnDefs:a.map((function(e){return n._.cloneObject(e)}))}},t.prototype.recursiveBuildGroup=function(e,t,r,o,i){var a=this,s=this.columnModel.getValueColumns();if(e>=o)return this.buildMeasureCols(r);var l=i[e].getColDef(),c=this.headerNameComparator.bind(this,l.pivotComparator);if(1===s.length&&this.gridOptionsWrapper.isRemovePivotHeaderRowWhenSingleValueColumn()&&e===o-1){var u=[];return n._.iterateObject(t,(function(e){var t=b(r,[e]);u.push(v(v({},a.createColDef(s[0],e,t)),{columnGroupShow:"open"}))})),u.sort(c),u}var p=[];return n._.iterateObject(t,(function(t,n){var s=b(r,[t]);p.push({children:a.recursiveBuildGroup(e+1,n,s,o,i),headerName:t,pivotKeys:s,columnGroupShow:"open",groupId:a.generateColumnGroupId(s)})})),p.sort(c),p},t.prototype.buildMeasureCols=function(e){var t=this,r=this.columnModel.getValueColumns();return 0===r.length?[this.createColDef(null,"-",e)]:r.map((function(r){var o=t.columnModel.getDisplayNameForColumn(r,"header");return v(v({},t.createColDef(r,o,e)),{columnGroupShow:"open"})}))},t.prototype.addExpandablePivotGroups=function(e,t){var r=this;if(!this.gridOptionsWrapper.isSuppressExpandablePivotGroups()&&!this.gridOptionsWrapper.getPivotColumnGroupTotals()){var o=function(e,t,n){var i=e;if(i.children){var a=new Map;i.children.forEach((function(e){o(e,t,a)}));var s=!i.children.some((function(e){return e.children}));r.columnModel.getValueColumns().forEach((function(o){var n=r.columnModel.getDisplayNameForColumn(o,"header"),i=r.createColDef(o,n,e.pivotKeys);(i.pivotTotalColumnIds=a.get(o.getColId()),i.columnGroupShow="closed",i.aggFunc=o.getAggFunc(),s)||(e.children.push(i),t.push(i))})),r.merge(n,a)}else{var l=e;if(!l.pivotValueColumn)return;var c=l.pivotValueColumn.getColId(),u=n.has(c)?n.get(c):[];u.push(l.colId),n.set(c,u)}};e.forEach((function(e){o(e,t,new Map)}))}},t.prototype.addPivotTotalsToGroups=function(e,t){var r=this;if(this.gridOptionsWrapper.getPivotColumnGroupTotals()){var o="after"===this.gridOptionsWrapper.getPivotColumnGroupTotals(),n=this.columnModel.getValueColumns(),i=n.map((function(e){return e.getAggFunc()}));if(i&&!(i.length<1)&&this.sameAggFuncs(i)){var a=n[0];e.forEach((function(e){r.recursivelyAddPivotTotal(e,t,a,o)}))}}},t.prototype.recursivelyAddPivotTotal=function(e,t,r,o){var n=this,i=e;if(!i.children){var a=e;return a.colId?[a.colId]:null}var s=[];if(i.children.forEach((function(e){var i=n.recursivelyAddPivotTotal(e,t,r,o);i&&(s=s.concat(i))})),i.children.length>1){var l=this.gridOptionsWrapper.getLocaleTextFunc()("pivotColumnGroupTotals","Total"),c=this.createColDef(r,l,e.pivotKeys,!0);c.pivotTotalColumnIds=s,c.aggFunc=r.getAggFunc();var u=e.children;o?u.push(c):u.unshift(c),t.push(c)}return s},t.prototype.addRowGroupTotals=function(e,t,r){var o=this;if(this.gridOptionsWrapper.getPivotRowTotals())for(var n="after"===this.gridOptionsWrapper.getPivotRowTotals(),i=n?r.slice():r.slice().reverse(),a=function(r){var a=i[r],l=[];e.forEach((function(e){l=l.concat(o.extractColIdsForValueColumn(e,a))}));var c=i.length>1||!s.gridOptionsWrapper.isRemovePivotHeaderRowWhenSingleValueColumn();s.createRowGroupTotal(e,t,a,l,n,c)},s=this,l=0;l<i.length;l++)a(l)},t.prototype.extractColIdsForValueColumn=function(e,t){var r=this,o=e;if(!o.children){var n=o;return n.pivotValueColumn===t&&n.colId?[n.colId]:[]}var i=[];return o.children.forEach((function(e){r.extractColIdsForValueColumn(e,t);var o=r.extractColIdsForValueColumn(e,t);i=i.concat(o)})),i},t.prototype.createRowGroupTotal=function(e,t,o,n,i,a){var s;if(0===this.columnModel.getValueColumns().length)s=this.createColDef(null,"-",[]);else{var l=this.columnModel.getDisplayNameForColumn(o,"header");(s=this.createColDef(o,l,[])).pivotTotalColumnIds=n}s.colId=r.PIVOT_ROW_TOTAL_PREFIX+s.colId,t.push(s);var c=a?{children:[s],pivotKeys:[],groupId:r.PIVOT_ROW_TOTAL_PREFIX+"_pivotGroup_"+o.getColId()}:s;i?e.push(c):e.unshift(c)},t.prototype.createColDef=function(e,t,r,o){void 0===o&&(o=!1);var n={};if(e){var i=e.getColDef();Object.assign(n,i),n.hide=!1}return n.headerName=t,n.colId=this.generateColumnId(r||[],e&&!o?e.getColId():""),n.field=n.colId,n.valueGetter=function(e){var t;return null===(t=e.data)||void 0===t?void 0:t[e.colDef.field]},n.pivotKeys=r,n.pivotValueColumn=e,!0===n.filter&&(n.filter="agNumberColumnFilter"),n},t.prototype.sameAggFuncs=function(e){if(1==e.length)return!0;for(var t=1;t<e.length;t++)if(e[t]!==e[0])return!1;return!0},t.prototype.headerNameComparator=function(e,t,r){return e?e(t.headerName,r.headerName):t.headerName&&!r.headerName?1:!t.headerName&&r.headerName?-1:t.headerName&&r.headerName?t.headerName<r.headerName?-1:t.headerName>r.headerName?1:0:0},t.prototype.merge=function(e,t){t.forEach((function(t,r,o){var n=e.has(r)?e.get(r):[],i=b(n,t);e.set(r,i)}))},t.prototype.generateColumnGroupId=function(e){return"pivotGroup_"+this.columnModel.getPivotColumns().map((function(e){return e.getColId()})).join("-")+"_"+e.join("-")},t.prototype.generateColumnId=function(e,t){return"pivot_"+this.columnModel.getPivotColumns().map((function(e){return e.getColId()})).join("-")+"_"+e.join("-")+"_"+t},t.PIVOT_ROW_TOTAL_PREFIX="PivotRowTotal_",y([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t=r=y([Object(n.Bean)("pivotColDefService")],t)}(n.BeanStub),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),O=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uniqueValues={},t}return C(t,e),t.prototype.execute=function(e){var t=e.rowNode,r=e.changedPath;this.columnModel.isPivotActive()?this.executePivotOn(t,r):this.executePivotOff(r)},t.prototype.executePivotOff=function(e){this.aggregationColumnsHashLastTime=null,this.uniqueValues={},this.columnModel.isSecondaryColumnsPresent()&&(this.columnModel.setSecondaryColumns(null,"rowModelUpdated"),e&&e.setInactive())},t.prototype.executePivotOn=function(e,t){var r=this.bucketUpRowNodes(e),o=this.setUniqueValues(r),n=this.columnModel.getValueColumns(),i=n.map((function(e){return e.getId()+"-"+e.getColDef().headerName})).join("#"),a=n.map((function(e){return e.getAggFunc().toString()})).join("#"),s=this.aggregationColumnsHashLastTime!==i,l=this.aggregationFuncsHashLastTime!==a;this.aggregationColumnsHashLastTime=i,this.aggregationFuncsHashLastTime=a;var c=this.columnModel.getRowGroupColumns().map((function(e){return e.getId()})).join("#"),u=c!==this.groupColumnsHashLastTime;if(this.groupColumnsHashLastTime=c,o||s||u||l){var p=this.pivotColDefService.createPivotColumnDefs(this.uniqueValues),d=p.pivotColumnGroupDefs,g=p.pivotColumnDefs;this.pivotColumnDefs=g,this.columnModel.setSecondaryColumns(d,"rowModelUpdated"),t&&t.setInactive()}},t.prototype.setUniqueValues=function(e){return!!(JSON.stringify(e)!==JSON.stringify(this.uniqueValues))&&(this.uniqueValues=e,!0)},t.prototype.bucketUpRowNodes=function(e){var t=this,r={},o=function(e){e.leafGroup?t.bucketRowNode(e,r):e.childrenAfterFilter.forEach((function(e){o(e)}))};return o(e),r},t.prototype.bucketRowNode=function(e,t){var r=this.columnModel.getPivotColumns();0===r.length?e.childrenMapped=null:e.childrenMapped=this.bucketChildren(e.childrenAfterFilter,r,0,t),e.sibling&&(e.sibling.childrenMapped=e.childrenMapped)},t.prototype.bucketChildren=function(e,t,r,o){var i=this,a={},s=t[r];if(e.forEach((function(e){var t=i.valueService.getKeyForNode(s,e);n._.missing(t)&&(t=""),o[t]||(o[t]={}),a[t]||(a[t]=[]),a[t].push(e)})),r===t.length-1)return a;var l={};return n._.iterateObject(a,(function(e,n){l[e]=i.bucketChildren(n,t,r+1,o[e])})),l},t.prototype.getPivotColumnDefs=function(){return this.pivotColumnDefs},O([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),O([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),O([Object(n.Autowired)("pivotColDefService")],t.prototype,"pivotColDefService",void 0),t=O([Object(n.Bean)("pivotStage")],t)}(n.BeanStub),E=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),x=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},R="undefined"==typeof BigInt?null:BigInt,T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.aggFuncsMap={},t.initialised=!1,t}var r;return E(t,e),r=t,t.prototype.init=function(){this.initialised||(this.initialiseWithDefaultAggregations(),this.addAggFuncs(this.gridOptionsWrapper.getAggFuncs()))},t.prototype.initialiseWithDefaultAggregations=function(){this.aggFuncsMap[r.AGG_SUM]=A,this.aggFuncsMap[r.AGG_FIRST]=P,this.aggFuncsMap[r.AGG_LAST]=_,this.aggFuncsMap[r.AGG_MIN]=D,this.aggFuncsMap[r.AGG_MAX]=M,this.aggFuncsMap[r.AGG_COUNT]=N,this.aggFuncsMap[r.AGG_AVG]=I,this.initialised=!0},t.prototype.isAggFuncPossible=function(e,t){var r=this.getFuncNames(e),o=n._.includes(r,t),i=n._.exists(this.aggFuncsMap[t]);return o&&i},t.prototype.getDefaultAggFunc=function(e){var t=e.getColDef().defaultAggFunc;if(n._.exists(t)&&this.isAggFuncPossible(e,t))return t;if(this.isAggFuncPossible(e,r.AGG_SUM))return r.AGG_SUM;var o=this.getFuncNames(e);return n._.existsAndNotEmpty(o)?o[0]:null},t.prototype.addAggFuncs=function(e){n._.iterateObject(e,this.addAggFunc.bind(this))},t.prototype.addAggFunc=function(e,t){this.init(),this.aggFuncsMap[e]=t},t.prototype.getAggFunc=function(e){return this.init(),this.aggFuncsMap[e]},t.prototype.getFuncNames=function(e){var t=e.getColDef().allowedAggFuncs;return null==t?Object.keys(this.aggFuncsMap).sort():t},t.prototype.clear=function(){this.aggFuncsMap={}},t.AGG_SUM="sum",t.AGG_FIRST="first",t.AGG_LAST="last",t.AGG_MIN="min",t.AGG_MAX="max",t.AGG_COUNT="count",t.AGG_AVG="avg",x([n.PostConstruct],t.prototype,"init",null),t=r=x([Object(n.Bean)("aggFuncService")],t)}(n.BeanStub);function A(e){for(var t=e.values,r=null,o=0;o<t.length;o++){var n=t[o];"number"==typeof n?null===r?r=n:r+=R?"number"==typeof r?n:R(n):n:"bigint"==typeof n&&(r=null===r?n:("bigint"==typeof r?r:R(r))+n)}return r}function P(e){return e.values.length>0?e.values[0]:null}function _(e){return e.values.length>0?n._.last(e.values):null}function D(e){for(var t=e.values,r=null,o=0;o<t.length;o++){var n=t[o];"number"!=typeof n&&"bigint"!=typeof n||!(null===r||r>n)||(r=n)}return r}function M(e){for(var t=e.values,r=null,o=0;o<t.length;o++){var n=t[o];"number"!=typeof n&&"bigint"!=typeof n||!(null===r||r<n)||(r=n)}return r}function N(e){for(var t=e.values,r=0,o=0;o<t.length;o++){var n=t[o];r+=null!=n&&"number"==typeof n.value?n.value:1}return r}function I(e){for(var t,r,o,n=e.values,i=0,a=0,s=0;s<n.length;s++){var l=n[s],c=null;"number"==typeof l||"bigint"==typeof l?(c=l,a++):null==l||"number"!=typeof l.value&&"bigint"!=typeof l.value||"number"!=typeof l.count||(c=R?l.value*("number"==typeof l.value?l.count:R(l.count)):l.value*l.count,a+=l.count),"number"==typeof c?i+=R?"number"==typeof i?c:R(c):c:"bigint"==typeof c&&(i=("bigint"==typeof i?i:R(i))+c)}var u=null;a>0&&(u=R?i/("number"==typeof i?a:R(a)):i/a);var p=null===(r=null===(t=e.rowNode)||void 0===t?void 0:t.aggData)||void 0===r?void 0:r[null===(o=e.column)||void 0===o?void 0:o.getColId()];return p&&p.count===a&&p.value===u?p:{count:a,value:u,toString:function(){return"number"==typeof this.value||"bigint"==typeof this.value?this.value.toString():""},toNumber:function(){return this.value}}}var L=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),k=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},F=function(e){function t(t,r,o,n,i){var a=e.call(this)||this;return a.column=t,a.dragSourceDropTarget=r,a.ghost=o,a.dropZonePurpose=n,a.horizontal=i,a.popupShowing=!1,a}return L(t,e),t.prototype.init=function(){var e=this;this.setTemplate(t.TEMPLATE);var r=this.getGui(),o=this.gridOptionsWrapper.isFunctionsReadOnly();this.addElementClasses(r),this.addElementClasses(this.eDragHandle,"drag-handle"),this.addElementClasses(this.eText,"text"),this.addElementClasses(this.eButton,"button"),this.eDragHandle.appendChild(n._.createIconNoSpan("columnDrag",this.gridOptionsWrapper)),this.eButton.appendChild(n._.createIconNoSpan("cancel",this.gridOptionsWrapper)),this.setupSort(),this.displayName=this.columnModel.getDisplayNameForColumn(this.column,"columnDrop"),this.setupComponents(),this.ghost||o||this.addDragSource(),this.setupAria(),this.addManagedListener(this.column,n.Column.EVENT_SORT_CHANGED,(function(){e.setupAria()})),this.setupTooltip()},t.prototype.setupAria=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=this.getColumnAndAggFuncName(),r=t.name,o=t.aggFuncName,i=e("ariaDropZoneColumnComponentAggFuncSeperator"," of "),a={asc:e("ariaDropZoneColumnComponentSortAscending","ascending"),desc:e("ariaDropZoneColumnComponentSortDescending","descending")},s=this.column.getSort(),l=this.gridOptionsWrapper.isRowGroupPanelSuppressSort(),c=[[o&&""+o+i,r,this.isGroupingZone()&&!l&&s&&", "+a[s]].filter((function(e){return!!e})).join("")],u=this.gridOptionsWrapper.isFunctionsReadOnly();if(this.isAggregationZone()&&!u){var p=e("ariaDropZoneColumnValueItemDescription","Press ENTER to change the aggregation type");c.push(p)}if(this.isGroupingZone()&&this.column.getColDef().sortable&&!l){var d=e("ariaDropZoneColumnGroupItemDescription","Press ENTER to sort");c.push(d)}var g=e("ariaDropZoneColumnComponentDescription","Press DELETE to remove");c.push(g),n._.setAriaLabel(this.getGui(),c.join(". "))},t.prototype.setupTooltip=function(){var e=this,t=function(){var t=e.column.getColDef().headerTooltip;e.setTooltip(t)};t(),this.addManagedListener(this.eventService,n.Events.EVENT_NEW_COLUMNS_LOADED,t)},t.prototype.setupSort=function(){var e=this,t=this.column.getColDef().sortable,r=this.isGroupingZone();if(t&&r&&!this.gridOptionsWrapper.isRowGroupPanelSuppressSort()){this.eSortIndicator.setupSort(this.column,!0);var o=function(t){t.preventDefault();var r=e.gridOptionsWrapper.isMultiSortKeyCtrl()?t.ctrlKey||t.metaKey:t.shiftKey;e.sortController.progressSort(e.column,r,"uiColumnSorted")};this.addGuiEventListener("click",o),this.addGuiEventListener("keydown",(function(t){t.key===n.KeyCode.ENTER&&e.isGroupingZone()&&o(t)}))}},t.prototype.addDragSource=function(){var e=this,t={type:n.DragSourceType.ToolPanel,eElement:this.eDragHandle,defaultIconName:n.DragAndDropService.ICON_HIDE,getDragItem:function(){return e.createDragItem()},dragItemName:this.displayName,dragSourceDropTarget:this.dragSourceDropTarget};this.dragAndDropService.addDragSource(t,!0),this.addDestroyFunc((function(){return e.dragAndDropService.removeDragSource(t)}))},t.prototype.createDragItem=function(){var e={};return e[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:e}},t.prototype.setupComponents=function(){this.setTextValue(),this.setupRemove(),this.ghost&&this.addCssClass("ag-column-drop-cell-ghost"),this.isAggregationZone()&&!this.gridOptionsWrapper.isFunctionsReadOnly()&&this.addGuiEventListener("click",this.onShowAggFuncSelection.bind(this))},t.prototype.setupRemove=function(){var e=this;n._.setDisplayed(this.eButton,!this.gridOptionsWrapper.isFunctionsReadOnly());var r={type:t.EVENT_COLUMN_REMOVE};this.addGuiEventListener("keydown",(function(t){var o=t.key===n.KeyCode.ENTER;t.key===n.KeyCode.DELETE&&(t.preventDefault(),e.dispatchEvent(r)),o&&e.isAggregationZone()&&!e.gridOptionsWrapper.isFunctionsReadOnly()&&(t.preventDefault(),e.onShowAggFuncSelection())})),this.addManagedListener(this.eButton,"click",(function(t){e.dispatchEvent(r),t.stopPropagation()}));var o=new n.TouchListener(this.eButton);this.addManagedListener(o,n.TouchListener.EVENT_TAP,(function(){e.dispatchEvent(r)})),this.addDestroyFunc(o.destroy.bind(o))},t.prototype.getColumnAndAggFuncName=function(){var e=this.displayName,t="";if(this.isAggregationZone()){var r=this.column.getAggFunc(),o="string"==typeof r?r:"agg";t=this.gridOptionsWrapper.getLocaleTextFunc()(o,o)}return{name:e,aggFuncName:t}},t.prototype.setTextValue=function(){var e=this.getColumnAndAggFuncName(),t=e.name,r=e.aggFuncName,o=this.isAggregationZone()?r+"("+t+")":t,i=n._.escapeString(o);this.eText.innerHTML=i},t.prototype.onShowAggFuncSelection=function(){var e=this;if(!this.popupShowing){this.popupShowing=!0;var t=new n.VirtualList("select-agg-func"),r=this.aggFuncService.getFuncNames(this.column),o=this.getGui(),i=t.getGui();t.setModel({getRow:function(e){return r[e]},getRowCount:function(){return r.length}}),this.getContext().createBean(t);var a=n._.loadTemplate('<div class="ag-select-agg-func-popup"></div>');a.style.top="0px",a.style.left="0px",a.appendChild(i),a.style.width=o.clientWidth+"px";var s=this.gridOptionsWrapper.getLocaleTextFunc(),l=this.popupService.addPopup({modal:!0,eChild:a,closeOnEsc:!0,closedCallback:function(){e.destroyBean(t),e.popupShowing=!1,o.focus()},ariaLabel:s("ariaLabelAggregationFunction","Aggregation Function")});l&&t.setComponentCreator(this.createAggSelect.bind(this,l.hideFunc)),t.addGuiEventListener("keydown",(function(e){if(e.key===n.KeyCode.ENTER||e.key===n.KeyCode.SPACE){var r=t.getLastFocusedRow();if(null==r)return;var o=t.getComponentAt(r);o&&o.selectItem()}})),this.popupService.positionPopupUnderComponent({type:"aggFuncSelect",eventSource:o,ePopup:a,keepWithinBounds:!0,column:this.column}),t.refresh();var c=r.findIndex((function(t){return t===e.column.getAggFunc()}));-1===c&&(c=0),t.focusRow(c)}},t.prototype.createAggSelect=function(e,t){var r=this,o=this.gridOptionsWrapper.getLocaleTextFunc(),i=t.toString(),a=o(i,i);return new G((function(){if(e(),r.gridOptionsWrapper.isFunctionsPassive()){var o={type:n.Events.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST,columns:[r.column],aggFunc:t};r.eventService.dispatchEvent(o)}else r.columnModel.setColumnAggFunc(r.column,t,"toolPanelDragAndDrop")}),a)},t.prototype.addElementClasses=function(e,t){t=t?"-"+t:"";var r=this.horizontal?"horizontal":"vertical";e.classList.add("ag-column-drop-cell"+t,"ag-column-drop-"+r+"-cell"+t)},t.prototype.isAggregationZone=function(){return"aggregation"===this.dropZonePurpose},t.prototype.isGroupingZone=function(){return"rowGroup"===this.dropZonePurpose},t.EVENT_COLUMN_REMOVE="columnRemove",t.TEMPLATE='<span role="option" tabindex="0">\n <span ref="eDragHandle" class="ag-drag-handle ag-column-drop-cell-drag-handle" role="presentation"></span>\n <span ref="eText" class="ag-column-drop-cell-text" aria-hidden="true"></span>\n <ag-sort-indicator ref="eSortIndicator"></ag-sort-indicator>\n <span ref="eButton" class="ag-column-drop-cell-button" role="presentation"></span>\n </span>',k([Object(n.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),k([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),k([Object(n.Autowired)("popupService")],t.prototype,"popupService",void 0),k([Object(n.Optional)("aggFuncService")],t.prototype,"aggFuncService",void 0),k([Object(n.Autowired)("sortController")],t.prototype,"sortController",void 0),k([Object(n.RefSelector)("eText")],t.prototype,"eText",void 0),k([Object(n.RefSelector)("eDragHandle")],t.prototype,"eDragHandle",void 0),k([Object(n.RefSelector)("eButton")],t.prototype,"eButton",void 0),k([Object(n.RefSelector)("eSortIndicator")],t.prototype,"eSortIndicator",void 0),k([n.PostConstruct],t.prototype,"init",null),t}(n.Component),G=function(e){function t(t,r){var o=e.call(this,'<div class="ag-select-agg-func-item"/>')||this;return o.selectItem=t,o.getGui().innerText=r,o.addGuiEventListener("click",o.selectItem),o}return L(t,e),t}(n.Component),j=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),z=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},B=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},V=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(B(arguments[t]));return e},W=function(e){function t(r,o){var i=e.call(this,'<div class="ag-unselectable" role="presentation"></div>')||this;return i.horizontal=r,i.dropZonePurpose=o,i.state=t.STATE_NOT_DRAGGING,i.guiDestroyFunctions=[],i.childColumnComponents=[],i.resizeEnabled=!1,i.addElementClasses(i.getGui()),i.eColumnDropList=document.createElement("div"),i.addElementClasses(i.eColumnDropList,"list"),n._.setAriaRole(i.eColumnDropList,"listbox"),i}return j(t,e),t.prototype.isHorizontal=function(){return this.horizontal},t.prototype.toggleResizable=function(e){this.positionableFeature.setResizable(!!e&&{bottom:!0}),this.resizeEnabled=e},t.prototype.setBeans=function(e){this.beans=e},t.prototype.destroy=function(){this.destroyGui(),e.prototype.destroy.call(this)},t.prototype.destroyGui=function(){this.guiDestroyFunctions.forEach((function(e){return e()})),this.guiDestroyFunctions.length=0,this.childColumnComponents.length=0,n._.clearElement(this.getGui()),n._.clearElement(this.eColumnDropList)},t.prototype.init=function(e){this.params=e,this.createManagedBean(new n.ManagedFocusFeature(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)})),this.addManagedListener(this.beans.eventService,n.Events.EVENT_NEW_COLUMNS_LOADED,this.refreshGui.bind(this)),this.addManagedListener(this.beans.gridOptionsWrapper,"functionsReadOnly",this.refreshGui.bind(this)),this.setupDropTarget(),this.positionableFeature=new n.PositionableFeature(this.getGui(),{minHeight:100}),this.createManagedBean(this.positionableFeature),this.refreshGui(),n._.setAriaLabel(this.eColumnDropList,this.getAriaLabel())},t.prototype.handleKeyDown=function(e){var t=!this.horizontal,r=e.key===n.KeyCode.DOWN,o=e.key===n.KeyCode.UP;if(!t){var i=this.gridOptionsWrapper.isEnableRtl();r=!i&&e.key===n.KeyCode.RIGHT||i&&e.key===n.KeyCode.LEFT,o=!i&&e.key===n.KeyCode.LEFT||i&&e.key===n.KeyCode.RIGHT}if(r||o){var a=this.focusService.findNextFocusableElement(this.getFocusableElement(),!1,o);a&&(e.preventDefault(),a.focus())}},t.prototype.addElementClasses=function(e,t){t=t?"-"+t:"";var r=this.horizontal?"horizontal":"vertical";e.classList.add("ag-column-drop"+t,"ag-column-drop-"+r+t)},t.prototype.setupDropTarget=function(){this.dropTarget={getContainer:this.getGui.bind(this),getIconName:this.getIconName.bind(this),onDragging:this.onDragging.bind(this),onDragEnter:this.onDragEnter.bind(this),onDragLeave:this.onDragLeave.bind(this),onDragStop:this.onDragStop.bind(this),isInterestedIn:this.isInterestedIn.bind(this)},this.beans.dragAndDropService.addDropTarget(this.dropTarget)},t.prototype.isInterestedIn=function(e){return e===n.DragSourceType.HeaderCell||e===n.DragSourceType.ToolPanel},t.prototype.checkInsertIndex=function(e){var t=this.getNewInsertIndex(e);if(t<0)return!1;var r=t!==this.insertIndex;return r&&(this.insertIndex=t),r},t.prototype.getNewInsertIndex=function(e){var t=this,r=e.event,o=this.horizontal?r.clientX:r.clientY,n=this.childColumnComponents.map((function(e){return e.getGui().getBoundingClientRect()})),i=n.findIndex((function(e){return t.horizontal?e.right>o&&e.left<o:e.top<o&&e.bottom>o}));if(-1===i){var a=this.beans.gridOptionsWrapper.isEnableRtl();return n.every((function(e){return o>(t.horizontal?e.right:e.bottom)}))?a&&this.horizontal?0:this.childColumnComponents.length:n.every((function(e){return o<(t.horizontal?e.left:e.top)}))?a&&this.horizontal?this.childColumnComponents.length:0:this.insertIndex}return this.insertIndex<=i?i+1:i},t.prototype.checkDragStartedBySelf=function(e){this.state===t.STATE_NOT_DRAGGING&&(this.state=t.STATE_REARRANGE_COLUMNS,this.potentialDndColumns=e.dragSource.getDragItem().columns||[],this.refreshGui(),this.checkInsertIndex(e),this.refreshGui())},t.prototype.onDragging=function(e){this.checkDragStartedBySelf(e),this.checkInsertIndex(e)&&this.refreshGui()},t.prototype.onDragEnter=function(e){var r=e.dragSource.getDragItem().columns||[];this.state=t.STATE_NEW_COLUMNS_IN;var o=r.filter(this.isColumnDroppable.bind(this));if(o.length>0){if(this.isRowGroupPanel()&&!this.gridOptionsWrapper.isSuppressRowGroupHidesColumns()&&!e.fromNudge){var n=e.dragSource.getDragItem().columns;this.setColumnsVisible(n,!1,"uiColumnDragged")}this.potentialDndColumns=o,this.checkInsertIndex(e),this.refreshGui()}},t.prototype.setColumnsVisible=function(e,t,r){if(void 0===r&&(r="api"),e){var o=e.filter((function(e){return!e.getColDef().lockVisible}));this.colModel.setColumnsVisible(o,t,r)}},t.prototype.isPotentialDndColumns=function(){return n._.existsAndNotEmpty(this.potentialDndColumns)},t.prototype.isRowGroupPanel=function(){return"rowGroup"===this.dropZonePurpose},t.prototype.onDragLeave=function(e){if(this.state===t.STATE_REARRANGE_COLUMNS){var r=e.dragSource.getDragItem().columns||[];this.removeColumns(r)}if(this.isPotentialDndColumns()){if(this.isRowGroupPanel()&&!this.gridOptionsWrapper.isSuppressMakeColumnVisibleAfterUnGroup()&&!e.fromNudge){var o=e.dragSource.getDragItem();this.setColumnsVisible(o.columns,!0,"uiColumnDragged")}this.potentialDndColumns=[],this.refreshGui()}this.state=t.STATE_NOT_DRAGGING},t.prototype.onDragStop=function(){if(this.isPotentialDndColumns()){var e=!1;this.state===t.STATE_NEW_COLUMNS_IN?(this.addColumns(this.potentialDndColumns),e=!0):e=this.rearrangeColumns(this.potentialDndColumns),this.potentialDndColumns=[],this.beans.gridOptionsWrapper.isFunctionsPassive()&&e||this.refreshGui()}this.state=t.STATE_NOT_DRAGGING},t.prototype.removeColumns=function(e){var t=this.getExistingColumns().filter((function(t){return!n._.includes(e,t)}));this.updateColumns(t)},t.prototype.addColumns=function(e){if(e){var t=this.getExistingColumns().slice(),r=e.filter((function(e){return t.indexOf(e)<0}));n._.insertArrayIntoArray(t,r,this.insertIndex),this.updateColumns(t)}},t.prototype.rearrangeColumns=function(e){var t=this.getNonGhostColumns().slice();return n._.insertArrayIntoArray(t,e,this.insertIndex),!n._.areEqual(t,this.getExistingColumns())&&(this.updateColumns(t),!0)},t.prototype.refreshGui=function(){var e=this.eColumnDropList.scrollTop,t=this.resizeEnabled,r=this.getFocusedItem(),o=this.focusService.findNextFocusableElement();o||(o=this.focusService.findNextFocusableElement(void 0,!1,!0)),this.toggleResizable(!1),this.destroyGui(),this.addIconAndTitleToGui(),this.addEmptyMessageToGui(),this.addColumnsToGui(),this.isHorizontal()||(this.eColumnDropList.scrollTop=e),t&&this.toggleResizable(t),this.restoreFocus(r,o)},t.prototype.getFocusedItem=function(){var e=this.getGui(),t=this.gridOptionsWrapper.getDocument().activeElement;return e.contains(t)?Array.from(e.querySelectorAll(".ag-column-drop-cell")).indexOf(t):-1},t.prototype.restoreFocus=function(e,t){var r=this.getGui(),o=Array.from(r.querySelectorAll(".ag-column-drop-cell"));if(-1!==e){0===o.length&&t.focus();var n=o[Math.min(o.length-1,e)];n&&n.focus()}},t.prototype.getNonGhostColumns=function(){var e=this,t=this.getExistingColumns();return this.isPotentialDndColumns()?t.filter((function(t){return!n._.includes(e.potentialDndColumns,t)})):t},t.prototype.addColumnsToGui=function(){var e=this,t=this.getNonGhostColumns().map((function(t){return e.createColumnComponent(t,!1)}));if(this.isPotentialDndColumns()){var r=this.potentialDndColumns.map((function(t){return e.createColumnComponent(t,!0)}));this.insertIndex>=t.length?t.push.apply(t,V(r)):t.splice.apply(t,V([this.insertIndex,0],r))}this.appendChild(this.eColumnDropList),t.forEach((function(t,r){r>0&&e.addArrow(e.eColumnDropList),e.eColumnDropList.appendChild(t.getGui())})),this.addAriaLabelsToComponents()},t.prototype.addAriaLabelsToComponents=function(){var e=this;this.childColumnComponents.forEach((function(t,r){var o=t.getGui();n._.setAriaPosInSet(o,r+1),n._.setAriaSetSize(o,e.childColumnComponents.length)}))},t.prototype.createColumnComponent=function(e,t){var r=this,o=new F(e,this.dropTarget,t,this.dropZonePurpose,this.horizontal);return o.addEventListener(F.EVENT_COLUMN_REMOVE,this.removeColumns.bind(this,[e])),this.beans.context.createBean(o),this.guiDestroyFunctions.push((function(){return r.destroyBean(o)})),t||this.childColumnComponents.push(o),o},t.prototype.addIconAndTitleToGui=function(){var e=this.params.icon,t=document.createElement("div");if(t.setAttribute("aria-hidden","true"),this.addElementClasses(t,"title-bar"),this.addElementClasses(e,"icon"),this.addOrRemoveCssClass("ag-column-drop-empty",this.isExistingColumnsEmpty()),t.appendChild(e),!this.horizontal){var r=document.createElement("span");this.addElementClasses(r,"title"),r.innerHTML=this.params.title,t.appendChild(r)}this.appendChild(t)},t.prototype.isExistingColumnsEmpty=function(){return 0===this.getExistingColumns().length},t.prototype.addEmptyMessageToGui=function(){if(this.isExistingColumnsEmpty()&&!this.isPotentialDndColumns()){var e=document.createElement("span");e.innerHTML=this.params.emptyMessage,this.addElementClasses(e,"empty-message"),this.eColumnDropList.appendChild(e)}},t.prototype.addArrow=function(e){if(this.horizontal){var t=this.beans.gridOptionsWrapper.isEnableRtl(),r=n._.createIconNoSpan(t?"smallLeft":"smallRight",this.beans.gridOptionsWrapper);this.addElementClasses(r,"cell-separator"),e.appendChild(r)}},t.STATE_NOT_DRAGGING="notDragging",t.STATE_NEW_COLUMNS_IN="newColumnsIn",t.STATE_REARRANGE_COLUMNS="rearrangeColumns",z([Object(n.Autowired)("columnModel")],t.prototype,"colModel",void 0),z([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),t}(n.Component),H=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),U=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},K=function(e){function t(t){return e.call(this,t,"rowGroup")||this}return H(t,e),t.prototype.passBeansUp=function(){e.prototype.setBeans.call(this,{gridOptionsWrapper:this.gridOptionsWrapper,eventService:this.eventService,context:this.getContext(),loggerFactory:this.loggerFactory,dragAndDropService:this.dragAndDropService});var t=this.gridOptionsWrapper.getLocaleTextFunc(),r=t("rowGroupColumnsEmptyMessage","Drag here to set row groups"),o=t("groups","Row Groups");e.prototype.init.call(this,{dragAndDropIcon:n.DragAndDropService.ICON_GROUP,icon:n._.createIconNoSpan("rowGroupPanel",this.gridOptionsWrapper,null),emptyMessage:r,title:o}),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.refreshGui.bind(this))},t.prototype.getAriaLabel=function(){return this.gridOptionsWrapper.getLocaleTextFunc()("ariaRowGroupDropZonePanelLabel","Row Groups")},t.prototype.getTooltipParams=function(){var t=e.prototype.getTooltipParams.call(this);return t.location="rowGroupColumnsList",t},t.prototype.isColumnDroppable=function(e){return!(this.gridOptionsWrapper.isFunctionsReadOnly()||!e.isPrimary())&&(e.isAllowRowGroup()&&!e.isRowGroupActive())},t.prototype.updateColumns=function(e){if(this.gridOptionsWrapper.isFunctionsPassive()){var t={type:n.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST,columns:e};this.eventService.dispatchEvent(t)}else this.columnModel.setRowGroupColumns(e,"toolPanelUi")},t.prototype.getIconName=function(){return this.isPotentialDndColumns()?n.DragAndDropService.ICON_GROUP:n.DragAndDropService.ICON_NOT_ALLOWED},t.prototype.getExistingColumns=function(){return this.columnModel.getRowGroupColumns()},U([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),U([Object(n.Autowired)("loggerFactory")],t.prototype,"loggerFactory",void 0),U([Object(n.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),U([n.PostConstruct],t.prototype,"passBeansUp",null),t}(W),Y=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),X=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},q=function(e){function t(t){return e.call(this,t,"pivot")||this}return Y(t,e),t.prototype.passBeansUp=function(){e.prototype.setBeans.call(this,{gridOptionsWrapper:this.gridOptionsWrapper,eventService:this.eventService,context:this.getContext(),loggerFactory:this.loggerFactory,dragAndDropService:this.dragAndDropService});var t=this.gridOptionsWrapper.getLocaleTextFunc(),r=t("pivotColumnsEmptyMessage","Drag here to set column labels"),o=t("pivots","Column Labels");e.prototype.init.call(this,{dragAndDropIcon:n.DragAndDropService.ICON_GROUP,icon:n._.createIconNoSpan("pivotPanel",this.gridOptionsWrapper,null),emptyMessage:r,title:o}),this.addManagedListener(this.eventService,n.Events.EVENT_NEW_COLUMNS_LOADED,this.refresh.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refresh.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.checkVisibility.bind(this)),this.refresh()},t.prototype.getAriaLabel=function(){return this.gridOptionsWrapper.getLocaleTextFunc()("ariaPivotDropZonePanelLabel","Column Labels")},t.prototype.getTooltipParams=function(){var t=e.prototype.getTooltipParams.call(this);return t.location="pivotColumnsList",t},t.prototype.refresh=function(){this.checkVisibility(),this.refreshGui()},t.prototype.checkVisibility=function(){var e=this.columnModel.isPivotMode();if(this.isHorizontal())switch(this.gridOptionsWrapper.getPivotPanelShow()){case"always":this.setDisplayed(e);break;case"onlyWhenPivoting":var t=this.columnModel.isPivotActive();this.setDisplayed(e&&t);break;default:this.setDisplayed(!1)}else this.setDisplayed(e)},t.prototype.isColumnDroppable=function(e){return!(this.gridOptionsWrapper.isFunctionsReadOnly()||!e.isPrimary())&&(e.isAllowPivot()&&!e.isPivotActive())},t.prototype.updateColumns=function(e){if(this.gridOptionsWrapper.isFunctionsPassive()){var t={type:n.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST,columns:e};this.eventService.dispatchEvent(t)}else this.columnModel.setPivotColumns(e,"toolPanelUi")},t.prototype.getIconName=function(){return this.isPotentialDndColumns()?n.DragAndDropService.ICON_PIVOT:n.DragAndDropService.ICON_NOT_ALLOWED},t.prototype.getExistingColumns=function(){return this.columnModel.getPivotColumns()},X([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),X([Object(n.Autowired)("loggerFactory")],t.prototype,"loggerFactory",void 0),X([Object(n.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),X([n.PostConstruct],t.prototype,"passBeansUp",null),t}(W),Q=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Z=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},J=function(e){function t(){return e.call(this)||this}return Q(t,e),t.prototype.postConstruct=function(){this.setGui(this.createNorthPanel()),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_NEW_COLUMNS_LOADED,this.onRowGroupChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,"rowGroupPanelShow",this.onRowGroupChanged.bind(this)),this.onRowGroupChanged()},t.prototype.createNorthPanel=function(){var e=document.createElement("div"),t=this.onDropPanelVisible.bind(this);return e.classList.add("ag-column-drop-wrapper"),n._.setAriaRole(e,"presentation"),this.rowGroupComp=new K(!0),this.createManagedBean(this.rowGroupComp),this.pivotComp=new q(!0),this.createManagedBean(this.pivotComp),e.appendChild(this.rowGroupComp.getGui()),e.appendChild(this.pivotComp.getGui()),this.addManagedListener(this.rowGroupComp,n.Component.EVENT_DISPLAYED_CHANGED,t),this.addManagedListener(this.pivotComp,n.Component.EVENT_DISPLAYED_CHANGED,t),this.onDropPanelVisible(),e},t.prototype.onDropPanelVisible=function(){var e=this.rowGroupComp.isDisplayed()&&this.pivotComp.isDisplayed();this.rowGroupComp.addOrRemoveCssClass("ag-column-drop-horizontal-half-width",e),this.pivotComp.addOrRemoveCssClass("ag-column-drop-horizontal-half-width",e)},t.prototype.onRowGroupChanged=function(){if(this.rowGroupComp){var e=this.gridOptionsWrapper.getRowGroupPanelShow();if(e===n.Constants.ALWAYS)this.rowGroupComp.setDisplayed(!0);else if(e===n.Constants.ONLY_WHEN_GROUPING){var t=!this.columnModel.isRowGroupEmpty();this.rowGroupComp.setDisplayed(t)}else this.rowGroupComp.setDisplayed(!1)}},Z([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),Z([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),$=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ee=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype.execute=function(e){var t=this,r=this.columnModel.isPivotMode(),o=this.filterManager.isAggregateFilterPresent(),n=this.gridOptionsWrapper.getGroupAggFiltering()||(r?function(e){return e.node.leafGroup}:function(e){return!e.node.group}),i=e.changedPath,a=function(e,r){void 0===r&&(r=!1),e.childrenAfterFilter&&(e.childrenAfterAggFilter=e.childrenAfterFilter,r&&e.childrenAfterAggFilter.forEach((function(e){return a(e,r)})),t.setAllChildrenCount(e)),e.sibling&&(e.sibling.childrenAfterAggFilter=e.childrenAfterAggFilter)};i.forEachChangedNodeDepthFirst(o?function(e){var r;e.childrenAfterAggFilter=(null===(r=e.childrenAfterFilter)||void 0===r?void 0:r.filter((function(e){var r;if(n({node:e})&&t.filterManager.doesRowPassAggregateFilters({rowNode:e}))return a(e,!0),!0;return null===(r=e.childrenAfterAggFilter)||void 0===r?void 0:r.length})))||null,t.setAllChildrenCount(e),e.sibling&&(e.sibling.childrenAfterAggFilter=e.childrenAfterAggFilter)}:a,!0)},t.prototype.setAllChildrenCountTreeData=function(e){var t=0;e.childrenAfterAggFilter.forEach((function(e){t++,t+=e.allChildrenCount})),e.setAllChildrenCount(t)},t.prototype.setAllChildrenCountGridGrouping=function(e){var t=0;e.childrenAfterAggFilter.forEach((function(e){e.group?t+=e.allChildrenCount:t++})),e.setAllChildrenCount(t)},t.prototype.setAllChildrenCount=function(e){e.hasChildren()?this.gridOptionsWrapper.isTreeData()?this.setAllChildrenCountTreeData(e):this.setAllChildrenCountGridGrouping(e):e.setAllChildrenCount(null)},ee([Object(n.Autowired)("filterManager")],t.prototype,"filterManager",void 0),ee([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t=ee([Object(n.Bean)("filterAggregatesStage")],t)}(n.BeanStub),re={moduleName:n.ModuleNames.RowGroupingModule,beans:[l,te,h,w,S,T],agStackComponents:[{componentName:"AgGridHeaderDropZones",componentClass:J}],dependantModules:[i.EnterpriseCoreModule]},oe=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ne=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ie=function(e){function t(t){return e.call(this,t,"aggregation")||this}return oe(t,e),t.prototype.passBeansUp=function(){e.prototype.setBeans.call(this,{gridOptionsWrapper:this.gridOptionsWrapper,eventService:this.eventService,context:this.getContext(),loggerFactory:this.loggerFactory,dragAndDropService:this.dragAndDropService});var t=this.gridOptionsWrapper.getLocaleTextFunc(),r=t("valueColumnsEmptyMessage","Drag here to aggregate"),o=t("values","Values");e.prototype.init.call(this,{dragAndDropIcon:n.DragAndDropService.ICON_AGGREGATE,icon:n._.createIconNoSpan("valuePanel",this.gridOptionsWrapper,null),emptyMessage:r,title:o}),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_VALUE_CHANGED,this.refreshGui.bind(this))},t.prototype.getAriaLabel=function(){return this.gridOptionsWrapper.getLocaleTextFunc()("ariaValuesDropZonePanelLabel","Values")},t.prototype.getTooltipParams=function(){var t=e.prototype.getTooltipParams.call(this);return t.location="valueColumnsList",t},t.prototype.getIconName=function(){return this.isPotentialDndColumns()?n.DragAndDropService.ICON_AGGREGATE:n.DragAndDropService.ICON_NOT_ALLOWED},t.prototype.isColumnDroppable=function(e){return!(this.gridOptionsWrapper.isFunctionsReadOnly()||!e.isPrimary())&&(e.isAllowValue()&&!e.isValueActive())},t.prototype.updateColumns=function(e){if(this.gridOptionsWrapper.isFunctionsPassive()){var t={type:n.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST,columns:e};this.eventService.dispatchEvent(t)}else this.columnModel.setValueColumns(e,"toolPanelUi")},t.prototype.getExistingColumns=function(){return this.columnModel.getValueColumns()},ne([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),ne([Object(n.Autowired)("loggerFactory")],t.prototype,"loggerFactory",void 0),ne([Object(n.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),ne([n.PostConstruct],t.prototype,"passBeansUp",null),t}(W)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(7),i=r(41),a=r(5),s=r(11),l=r(2),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(t,r,o,n){void 0===o&&(o="text"),void 0===n&&(n="input");var i=e.call(this,t,'\n <div role="presentation">\n <div ref="eLabel" class="ag-input-field-label"></div>\n <div ref="eWrapper" class="ag-wrapper ag-input-wrapper" role="presentation">\n <'+n+' ref="eInput" class="ag-input-field-input"></'+n+">\n </div>\n </div>",r)||this;return i.inputType=o,i.displayFieldTag=n,i}return c(t,e),t.prototype.postConstruct=function(){e.prototype.postConstruct.call(this),this.setInputType(),this.eLabel.classList.add(this.className+"-label"),this.eWrapper.classList.add(this.className+"-input-wrapper"),this.eInput.classList.add(this.className+"-input"),this.addCssClass("ag-input-field"),this.eInput.id=this.eInput.id||"ag-"+this.getCompId()+"-input";var t=this.config,r=t.width,o=t.value;null!=r&&this.setWidth(r),null!=o&&this.setValue(o),this.addInputListeners()},t.prototype.refreshLabel=function(){Object(l.exists)(this.getLabel())?Object(s.setAriaLabelledBy)(this.eInput,this.getLabelId()):this.eInput.removeAttribute("aria-labelledby"),e.prototype.refreshLabel.call(this)},t.prototype.addInputListeners=function(){var e=this;this.addManagedListener(this.eInput,"input",(function(t){return e.setValue(t.target.value)}))},t.prototype.setInputType=function(){"input"===this.displayFieldTag&&this.eInput.setAttribute("type",this.inputType)},t.prototype.getInputElement=function(){return this.eInput},t.prototype.setInputWidth=function(e){return Object(a.setElementWidth)(this.eWrapper,e),this},t.prototype.setInputName=function(e){return this.getInputElement().setAttribute("name",e),this},t.prototype.getFocusableElement=function(){return this.eInput},t.prototype.setMaxLength=function(e){return this.eInput.maxLength=e,this},t.prototype.setInputPlaceholder=function(e){return Object(a.addOrRemoveAttribute)(this.eInput,"placeholder",e),this},t.prototype.setInputAriaLabel=function(e){return Object(s.setAriaLabel)(this.eInput,e),this},t.prototype.setDisabled=function(t){return Object(a.setDisabled)(this.eInput,t),e.prototype.setDisabled.call(this,t)},u([Object(n.b)("eLabel")],t.prototype,"eLabel",void 0),u([Object(n.b)("eWrapper")],t.prototype,"eWrapper",void 0),u([Object(n.b)("eInput")],t.prototype,"eInput",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return x}));var o,n,i=r(3),a=r(6),s=r(22),l=r(4),c=r(26),u=r(16),p=r(17),d=r(11),g=r(5),h=r(28),f=r(13),v=r(2),y=r(30),m=r(43),b=r(73),w=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),C=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},O=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},S=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(O(arguments[t]));return e};!function(e){e.Normal="Normal",e.FullWidth="FullWidth",e.FullWidthLoading="FullWidthLoading",e.FullWidthGroup="FullWidthGroup",e.FullWidthDetail="FullWidthDetail"}(n||(n={}));var E=0,x=function(e){function t(t,r,o,n,i){var a=e.call(this)||this;return a.allRowGuis=[],a.active=!0,a.centerCellCtrls={list:[],map:{}},a.leftCellCtrls={list:[],map:{}},a.rightCellCtrls={list:[],map:{}},a.lastMouseDownOnDragger=!1,a.updateColumnListsPending=!1,a.beans=r,a.rowNode=t,a.paginationPage=a.beans.paginationProxy.getCurrentPage(),a.useAnimationFrameForCreate=n,a.printLayout=i,a.instanceId=t.id+"-"+E++,a.setAnimateFlags(o),a.rowFocused=a.beans.focusService.isRowFocused(a.rowNode.rowIndex,a.rowNode.rowPinned),a.rowLevel=a.beans.rowCssClassCalculator.calculateRowLevel(a.rowNode),a.setRowType(),a.addListeners(),a}return w(t,e),t.prototype.isSticky=function(){return this.rowNode.sticky},t.prototype.getBeans=function(){return this.beans},t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.setComp=function(e,t,r){var o={rowComp:e,element:t,containerType:r};this.allRowGuis.push(o),r===c.c.LEFT?this.leftGui=o:r===c.c.RIGHT?this.rightGui=o:r===c.c.FULL_WIDTH?this.fullWidthGui=o:this.centerGui=o;var n=null!=this.leftGui&&null!=this.rightGui&&null!=this.centerGui,i=null!=this.fullWidthGui;(n||i)&&this.initialiseRowComps(),"FullWidthLoading"!==this.rowType&&this.beans.rowRenderer.dispatchFirstDataRenderedEvent()},t.prototype.isCacheable=function(){return this.rowType===n.FullWidthDetail&&this.beans.gridOptionsWrapper.isKeepDetailRows()},t.prototype.setCached=function(e){var t=e?"none":"";this.allRowGuis.forEach((function(e){return e.element.style.display=t}))},t.prototype.initialiseRowComps=function(){var e=this,r=this.beans.gridOptionsWrapper;this.onRowHeightChanged(),this.updateRowIndexes(),this.setFocusedClasses(),this.setStylesFromGridOptions(),r.isRowSelection()&&this.rowNode.selectable&&this.onRowSelected(),this.updateColumnLists(!this.useAnimationFrameForCreate),this.slideRowIn&&Object(f.executeNextVMTurn)(this.onTopChanged.bind(this)),this.fadeRowIn&&Object(f.executeNextVMTurn)((function(){e.allRowGuis.forEach((function(e){return e.rowComp.addOrRemoveCssClass("ag-opacity-zero",!1)}))}));var o=this.getRowBusinessKey(),n=Object(y.escapeString)(this.rowNode.id),i=Object(y.escapeString)(o);this.allRowGuis.forEach((function(o){var a=o.rowComp;a.setRole("row"),e.getInitialRowClasses(o.containerType).forEach((function(e){return a.addOrRemoveCssClass(e,!0)})),e.rowNode.group&&Object(d.setAriaExpanded)(o.element,1==e.rowNode.expanded),null!=n&&a.setRowId(n),null!=i&&a.setRowBusinessKey(i),e.isFullWidth()&&!e.beans.gridOptionsWrapper.isSuppressCellFocus()&&a.setTabIndex(-1),r.setDomData(o.element,t.DOM_DATA_KEY_ROW_CTRL,e),e.addDestroyFunc((function(){return r.setDomData(o.element,t.DOM_DATA_KEY_ROW_CTRL,null)})),e.useAnimationFrameForCreate?e.beans.animationFrameService.createTask(e.addHoverFunctionality.bind(e,o.element),e.rowNode.rowIndex,"createTasksP2"):e.addHoverFunctionality(o.element),e.isFullWidth()&&e.setupFullWidth(o),r.isRowDragEntireRow()&&e.addRowDraggerToRow(o),e.useAnimationFrameForCreate&&e.beans.animationFrameService.addDestroyTask((function(){e.isAlive()&&o.rowComp.addOrRemoveCssClass("ag-after-created",!0)}))})),this.executeProcessRowPostCreateFunc()},t.prototype.addRowDraggerToRow=function(e){var t=this.beans.gridOptionsWrapper;if(t.isEnableRangeSelection())Object(f.doOnce)((function(){console.warn("AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn't work with `enableRangeSelection: true`")}),"rowDragAndRangeSelectionEnabled");else{var r=t.getLocaleTextFunc(),o=new b.a((function(){return"1 "+r("rowDragRow","row")}),this.rowNode,void 0,e.element,void 0,!0);this.createManagedBean(o,this.beans.context)}},t.prototype.setupFullWidth=function(e){var t=this.getPinnedForContainer(e.containerType),r=this.createFullWidthParams(e.element,t),o=p.a.isRegistered(u.a.MasterDetailModule);if(this.rowType!=n.FullWidthDetail||o){var i;switch(this.rowType){case n.FullWidthDetail:i=this.beans.userComponentFactory.getFullWidthDetailCellRendererDetails(r);break;case n.FullWidthGroup:i=this.beans.userComponentFactory.getFullWidthGroupCellRendererDetails(r);break;case n.FullWidthLoading:i=this.beans.userComponentFactory.getFullWidthLoadingCellRendererDetails(r);break;default:i=this.beans.userComponentFactory.getFullWidthCellRendererDetails(r)}e.rowComp.showFullWidth(i)}else p.a.isPackageBased()?console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package."):console.warn("AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module "+u.a.MasterDetailModule)},t.prototype.isPrintLayout=function(){return this.printLayout},t.prototype.getCellElement=function(e){var t=this.getCellCtrl(e);return t?t.getGui():null},t.prototype.executeProcessRowPostCreateFunc=function(){var e=this.beans.gridOptionsWrapper.getProcessRowPostCreateFunc();e&&e({eRow:this.centerGui?this.centerGui.element:void 0,ePinnedLeftRow:this.leftGui?this.leftGui.element:void 0,ePinnedRightRow:this.rightGui?this.rightGui.element:void 0,node:this.rowNode,rowIndex:this.rowNode.rowIndex,addRenderedRowListener:this.addEventListener.bind(this)})},t.prototype.setRowType=function(){var e=this.rowNode.stub,t=this.rowNode.isFullWidthCell(),r=this.beans.doingMasterDetail&&this.rowNode.detail,o=this.beans.columnModel.isPivotMode(),i=!!this.rowNode.group&&!this.rowNode.footer&&this.beans.gridOptionsWrapper.isGroupUseEntireRow(o);this.rowType=e?n.FullWidthLoading:r?n.FullWidthDetail:t?n.FullWidth:i?n.FullWidthGroup:n.Normal},t.prototype.updateColumnLists=function(e){var t=this;(void 0===e&&(e=!1),this.isFullWidth())||(e||this.beans.gridOptionsWrapper.isSuppressAnimationFrame()||this.printLayout?this.updateColumnListsImpl():this.updateColumnListsPending||(this.beans.animationFrameService.createTask((function(){t.active&&t.updateColumnListsImpl()}),this.rowNode.rowIndex,"createTasksP1"),this.updateColumnListsPending=!0))},t.prototype.createCellCtrls=function(e,t,r){var o=this;void 0===r&&(r=null);var n={list:[],map:{}},i=function(e,t){n.list.push(t),n.map[e]=t};return t.forEach((function(t){var r=t.getInstanceId(),n=e.map[r];n||(n=new m.a(t,o.rowNode,o.beans,o)),i(r,n)})),e.list.forEach((function(e){null!=n.map[e.getColumn().getInstanceId()]||(!o.isCellEligibleToBeRemoved(e,r)?i(e.getColumn().getInstanceId(),e):e.destroy())})),n},t.prototype.updateColumnListsImpl=function(){var e=this;this.updateColumnListsPending=!1;var t=this.beans.columnModel;if(this.printLayout)this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,t.getAllDisplayedColumns()),this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}};else{var r=t.getViewportCenterColumnsForRow(this.rowNode);this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,r);var o=t.getDisplayedLeftColumnsForRow(this.rowNode);this.leftCellCtrls=this.createCellCtrls(this.leftCellCtrls,o,i.a.PINNED_LEFT);var n=t.getDisplayedRightColumnsForRow(this.rowNode);this.rightCellCtrls=this.createCellCtrls(this.rightCellCtrls,n,i.a.PINNED_RIGHT)}this.allRowGuis.forEach((function(t){var r=t.containerType===c.c.LEFT?e.leftCellCtrls:t.containerType===c.c.RIGHT?e.rightCellCtrls:e.centerCellCtrls;t.rowComp.setCellCtrls(r.list)}))},t.prototype.isCellEligibleToBeRemoved=function(e,t){if(e.getColumn().getPinned()!=t)return!0;var r=e.isEditing(),o=this.beans.focusService.isCellFocused(e.getCellPosition());if(r||o){var n=e.getColumn();return!(this.beans.columnModel.getAllDisplayedColumns().indexOf(n)>=0)}return!0},t.prototype.setAnimateFlags=function(e){if(!this.isSticky()&&e){var t=Object(v.exists)(this.rowNode.oldRowTop);this.slideRowIn=t,this.fadeRowIn=!t}else this.slideRowIn=!1,this.fadeRowIn=!1},t.prototype.isEditing=function(){return this.editingRow},t.prototype.stopRowEditing=function(e){this.stopEditing(e)},t.prototype.isFullWidth=function(){return this.rowType!==n.Normal},t.prototype.getRowType=function(){return this.rowType},t.prototype.refreshFullWidth=function(){var e=this,t=function(t,r){if(!t)return!0;var o=t.rowComp.getFullWidthCellRenderer();if(!o)return!1;if(!o.refresh)return!1;var n=e.createFullWidthParams(t.element,r);return o.refresh(n)},r=t(this.fullWidthGui,null),o=t(this.centerGui,null),n=t(this.leftGui,i.a.PINNED_LEFT),a=t(this.rightGui,i.a.PINNED_RIGHT);return r&&o&&n&&a},t.prototype.addListeners=function(){this.addManagedListener(this.rowNode,s.b.EVENT_HEIGHT_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_ROW_SELECTED,this.onRowSelected.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_TOP_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_EXPANDED_CHANGED,this.updateExpandedCss.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_HAS_CHILDREN_CHANGED,this.updateExpandedCss.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_DATA_CHANGED,this.onRowNodeDataChanged.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_CELL_CHANGED,this.onRowNodeCellChanged.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_HIGHLIGHT_CHANGED,this.onRowNodeHighlightChanged.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_DRAGGING_CHANGED,this.onRowNodeDraggingChanged.bind(this)),this.addManagedListener(this.rowNode,s.b.EVENT_UI_LEVEL_CHANGED,this.onUiLevelChanged.bind(this));var e=this.beans.eventService;this.addManagedListener(e,l.a.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,this.onPaginationPixelOffsetChanged.bind(this)),this.addManagedListener(e,l.a.EVENT_HEIGHT_SCALE_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(e,l.a.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(e,l.a.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(e,l.a.EVENT_CELL_FOCUSED,this.onCellFocusChanged.bind(this)),this.addManagedListener(e,l.a.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addManagedListener(e,l.a.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addManagedListener(e,l.a.EVENT_COLUMN_MOVED,this.onColumnMoved.bind(this)),this.addListenersForCellComps()},t.prototype.onColumnMoved=function(){this.updateColumnLists()},t.prototype.addListenersForCellComps=function(){var e=this;this.addManagedListener(this.rowNode,s.b.EVENT_ROW_INDEX_CHANGED,(function(){e.getAllCellCtrls().forEach((function(e){return e.onRowIndexChanged()}))})),this.addManagedListener(this.rowNode,s.b.EVENT_CELL_CHANGED,(function(t){e.getAllCellCtrls().forEach((function(e){return e.onCellChanged(t)}))}))},t.prototype.onRowNodeDataChanged=function(e){this.getAllCellCtrls().forEach((function(t){return t.refreshCell({suppressFlash:!e.update,newData:!e.update})})),this.onRowSelected(),this.postProcessCss()},t.prototype.onRowNodeCellChanged=function(){this.postProcessCss()},t.prototype.postProcessCss=function(){this.setStylesFromGridOptions(),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.postProcessRowDragging()},t.prototype.onRowNodeHighlightChanged=function(){var e=this.rowNode.highlighted;this.allRowGuis.forEach((function(t){var r=e===s.a.Above,o=e===s.a.Below;t.rowComp.addOrRemoveCssClass("ag-row-highlight-above",r),t.rowComp.addOrRemoveCssClass("ag-row-highlight-below",o)}))},t.prototype.onRowNodeDraggingChanged=function(){this.postProcessRowDragging()},t.prototype.postProcessRowDragging=function(){var e=this.rowNode.dragging;this.allRowGuis.forEach((function(t){return t.rowComp.addOrRemoveCssClass("ag-row-dragging",e)}))},t.prototype.updateExpandedCss=function(){var e=this.rowNode.isExpandable(),t=1==this.rowNode.expanded;this.allRowGuis.forEach((function(r){r.rowComp.addOrRemoveCssClass("ag-row-group",e),r.rowComp.addOrRemoveCssClass("ag-row-group-expanded",e&&t),r.rowComp.addOrRemoveCssClass("ag-row-group-contracted",e&&!t),Object(d.setAriaExpanded)(r.element,e&&t)}))},t.prototype.onDisplayedColumnsChanged=function(){this.updateColumnLists(!0),this.beans.columnModel.wasAutoRowHeightEverActive()&&this.rowNode.checkAutoHeights()},t.prototype.onVirtualColumnsChanged=function(){this.updateColumnLists()},t.prototype.getRowPosition=function(){return{rowPinned:Object(v.makeNull)(this.rowNode.rowPinned),rowIndex:this.rowNode.rowIndex}},t.prototype.onKeyboardNavigate=function(e){var t=this.allRowGuis.find((function(t){return t.element.contains(e.target)}));if((t?t.element:null)===e.target){var r=this.rowNode,o=this.beans.focusService.getFocusedCell(),n={rowIndex:r.rowIndex,rowPinned:r.rowPinned,column:o&&o.column};this.beans.navigationService.navigateToNextCell(e,e.key,n,!0),e.preventDefault()}},t.prototype.onTabKeyDown=function(e){if(!e.defaultPrevented&&!Object(h.isStopPropagationForAgGrid)(e)){var t=this.allRowGuis.find((function(t){return t.element.contains(e.target)})),r=t?t.element:null,o=r===e.target,n=null;o||(n=this.beans.focusService.findNextFocusableElement(r,!1,e.shiftKey)),(this.isFullWidth()&&o||!n)&&this.beans.navigationService.onTabKeyDown(this,e)}},t.prototype.onFullWidthRowFocused=function(e){var t,r=this.rowNode,o=this.isFullWidth()&&e.rowIndex===r.rowIndex&&e.rowPinned==r.rowPinned,n=this.fullWidthGui?this.fullWidthGui.element:null===(t=this.centerGui)||void 0===t?void 0:t.element;n&&(n.classList.toggle("ag-full-width-focus",o),o&&n.focus({preventScroll:!0}))},t.prototype.refreshCell=function(e){this.centerCellCtrls=this.removeCellCtrl(this.centerCellCtrls,e),this.leftCellCtrls=this.removeCellCtrl(this.leftCellCtrls,e),this.rightCellCtrls=this.removeCellCtrl(this.rightCellCtrls,e),this.updateColumnLists()},t.prototype.removeCellCtrl=function(e,t){var r={list:[],map:{}};return e.list.forEach((function(e){e!==t&&(r.list.push(e),r.map[e.getInstanceId()]=e)})),r},t.prototype.onMouseEvent=function(e,t){switch(e){case"dblclick":this.onRowDblClick(t);break;case"click":this.onRowClick(t);break;case"touchstart":case"mousedown":this.onRowMouseDown(t)}},t.prototype.createRowEvent=function(e,t){return{type:e,node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,rowPinned:this.rowNode.rowPinned,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),event:t}},t.prototype.createRowEventWithSource=function(e,t){var r=this.createRowEvent(e,t);return r.source=this,r},t.prototype.onRowDblClick=function(e){if(!Object(h.isStopPropagationForAgGrid)(e)){var t=this.createRowEventWithSource(l.a.EVENT_ROW_DOUBLE_CLICKED,e);this.beans.eventService.dispatchEvent(t)}},t.prototype.onRowMouseDown=function(e){if(this.lastMouseDownOnDragger=Object(g.isElementChildOfClass)(e.target,"ag-row-drag",3),this.isFullWidth()){var t=this.rowNode,r=this.beans.columnModel;this.beans.rangeService&&this.beans.rangeService.removeAllCellRanges(),this.beans.focusService.setFocusedCell({rowIndex:t.rowIndex,column:r.getAllDisplayedColumns()[0],rowPinned:t.rowPinned,forceBrowserFocus:!0})}},t.prototype.onRowClick=function(e){if(!(Object(h.isStopPropagationForAgGrid)(e)||this.lastMouseDownOnDragger)){var t=this.createRowEventWithSource(l.a.EVENT_ROW_CLICKED,e);this.beans.eventService.dispatchEvent(t);var r=e.ctrlKey||e.metaKey,o=e.shiftKey;if(!(this.beans.gridOptionsWrapper.isGroupSelectsChildren()&&this.rowNode.group||!this.rowNode.selectable||this.rowNode.rowPinned||!this.beans.gridOptionsWrapper.isRowSelection()||this.beans.gridOptionsWrapper.isSuppressRowClickSelection())){var n=this.beans.gridOptionsWrapper.isRowMultiSelectWithClick(),i=!this.beans.gridOptionsWrapper.isSuppressRowDeselection();if(this.rowNode.isSelected())n?this.rowNode.setSelectedParams({newValue:!1,event:e}):r?i&&this.rowNode.setSelectedParams({newValue:!1,event:e}):this.rowNode.setSelectedParams({newValue:!0,clearSelection:!o,rangeSelect:o,event:e});else{var a=!n&&!r;this.rowNode.setSelectedParams({newValue:!0,clearSelection:a,rangeSelect:o,event:e})}}}},t.prototype.setupDetailRowAutoHeight=function(e){var t=this;if(this.rowType===n.FullWidthDetail&&this.beans.gridOptionsWrapper.isDetailRowAutoHeight()){var r=function(){var r=e.clientHeight;if(null!=r&&r>0){t.beans.frameworkOverrides.setTimeout((function(){t.rowNode.setRowHeight(r),t.beans.clientSideRowModel?t.beans.clientSideRowModel.onRowHeightChanged():t.beans.serverSideRowModel&&t.beans.serverSideRowModel.onRowHeightChanged()}),0)}},o=this.beans.resizeObserverService.observeResize(e,r);this.addDestroyFunc(o),r()}},t.prototype.createFullWidthParams=function(e,t){var r=this;return{fullWidth:!0,data:this.rowNode.data,node:this.rowNode,value:this.rowNode.key,valueFormatted:this.rowNode.key,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),eGridCell:e,eParentOfValue:e,pinned:t,addRenderedRowListener:this.addEventListener.bind(this),registerRowDragger:function(e,t,o,n){return r.addFullWidthRowDragging(e,t,o,n)}}},t.prototype.addFullWidthRowDragging=function(e,t,r,o){if(void 0===r&&(r=""),this.isFullWidth()){var n=new b.a((function(){return r}),this.rowNode,void 0,e,t,o);this.createManagedBean(n,this.beans.context)}},t.prototype.onUiLevelChanged=function(){var e=this.beans.rowCssClassCalculator.calculateRowLevel(this.rowNode);if(this.rowLevel!=e){var t="ag-row-level-"+e,r="ag-row-level-"+this.rowLevel;this.allRowGuis.forEach((function(e){e.rowComp.addOrRemoveCssClass(t,!0),e.rowComp.addOrRemoveCssClass(r,!1)}))}this.rowLevel=e},t.prototype.isFirstRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageFirstRow()},t.prototype.isLastRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageLastRow()},t.prototype.onModelUpdated=function(){this.refreshFirstAndLastRowStyles()},t.prototype.refreshFirstAndLastRowStyles=function(){var e=this.isFirstRowOnPage(),t=this.isLastRowOnPage();this.firstRowOnPage!==e&&(this.firstRowOnPage=e,this.allRowGuis.forEach((function(t){return t.rowComp.addOrRemoveCssClass("ag-row-first",e)}))),this.lastRowOnPage!==t&&(this.lastRowOnPage=t,this.allRowGuis.forEach((function(e){return e.rowComp.addOrRemoveCssClass("ag-row-last",t)})))},t.prototype.stopEditing=function(e){var t,r;if(void 0===e&&(e=!1),!this.stoppingRowEdit){var o=this.getAllCellCtrls(),n=this.editingRow;this.stoppingRowEdit=!0;var i=!1;try{for(var a=C(o),s=a.next();!s.done;s=a.next()){var c=s.value.stopEditing(e);n&&!e&&!i&&c&&(i=!0)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}if(i){var u=this.createRowEvent(l.a.EVENT_ROW_VALUE_CHANGED);this.beans.eventService.dispatchEvent(u)}n&&this.setEditingRow(!1),this.stoppingRowEdit=!1}},t.prototype.setInlineEditingCss=function(e){this.allRowGuis.forEach((function(t){t.rowComp.addOrRemoveCssClass("ag-row-inline-editing",e),t.rowComp.addOrRemoveCssClass("ag-row-not-inline-editing",!e)}))},t.prototype.setEditingRow=function(e){this.editingRow=e,this.allRowGuis.forEach((function(t){return t.rowComp.addOrRemoveCssClass("ag-row-editing",e)}));var t=e?this.createRowEvent(l.a.EVENT_ROW_EDITING_STARTED):this.createRowEvent(l.a.EVENT_ROW_EDITING_STOPPED);this.beans.eventService.dispatchEvent(t)},t.prototype.startRowEditing=function(e,t,r,o){(void 0===e&&(e=null),void 0===t&&(t=null),void 0===r&&(r=null),void 0===o&&(o=null),this.editingRow)||this.getAllCellCtrls().reduce((function(n,i){var a=i===r;return a?i.startEditing(e,t,a,o):i.startEditing(null,null,a,o),!!n||i.isEditing()}),!1)&&this.setEditingRow(!0)},t.prototype.getAllCellCtrls=function(){return S(this.centerCellCtrls.list,this.leftCellCtrls.list,this.rightCellCtrls.list)},t.prototype.postProcessClassesFromGridOptions=function(){var e=this,t=this.beans.rowCssClassCalculator.processClassesFromGridOptions(this.rowNode);t&&t.length&&t.forEach((function(t){e.allRowGuis.forEach((function(e){return e.rowComp.addOrRemoveCssClass(t,!0)}))}))},t.prototype.postProcessRowClassRules=function(){var e=this;this.beans.rowCssClassCalculator.processRowClassRules(this.rowNode,(function(t){e.allRowGuis.forEach((function(e){return e.rowComp.addOrRemoveCssClass(t,!0)}))}),(function(t){e.allRowGuis.forEach((function(e){return e.rowComp.addOrRemoveCssClass(t,!1)}))}))},t.prototype.setStylesFromGridOptions=function(){var e=this.processStylesFromGridOptions();this.allRowGuis.forEach((function(t){return t.rowComp.setUserStyles(e)}))},t.prototype.getRowBusinessKey=function(){var e=this.beans.gridOptionsWrapper.getBusinessKeyForNodeFunc();if("function"==typeof e)return e(this.rowNode)},t.prototype.getPinnedForContainer=function(e){return e===c.c.LEFT?i.a.PINNED_LEFT:e===c.c.RIGHT?i.a.PINNED_RIGHT:null},t.prototype.getInitialRowClasses=function(e){var t=this.getPinnedForContainer(e),r={rowNode:this.rowNode,rowFocused:this.rowFocused,fadeRowIn:this.fadeRowIn,rowIsEven:this.rowNode.rowIndex%2==0,rowLevel:this.rowLevel,fullWidthRow:this.isFullWidth(),firstRowOnPage:this.isFirstRowOnPage(),lastRowOnPage:this.isLastRowOnPage(),printLayout:this.printLayout,expandable:this.rowNode.isExpandable(),pinned:t};return this.beans.rowCssClassCalculator.getInitialRowClasses(r)},t.prototype.processStylesFromGridOptions=function(){var e=this.beans.gridOptionsWrapper.getRowStyle();if(!e||"function"!=typeof e){var t,r=this.beans.gridOptionsWrapper.getRowStyleFunc();if(r)t=r({data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex});return Object.assign({},e,t)}console.warn("AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead")},t.prototype.onRowSelected=function(){var e=this,t=!!this.rowNode.isSelected();this.allRowGuis.forEach((function(r){r.rowComp.addOrRemoveCssClass("ag-row-selected",t),Object(d.setAriaSelected)(r.element,!!t||void 0);var o=e.createAriaLabel();Object(d.setAriaLabel)(r.element,null==o?"":o)}))},t.prototype.createAriaLabel=function(){var e=this.rowNode.isSelected();if(!e||!this.beans.gridOptionsWrapper.isSuppressRowDeselection())return this.beans.gridOptionsWrapper.getLocaleTextFunc()(e?"ariaRowDeselect":"ariaRowSelect","Press SPACE to "+(e?"deselect":"select")+" this row.")},t.prototype.isUseAnimationFrameForCreate=function(){return this.useAnimationFrameForCreate},t.prototype.addHoverFunctionality=function(e){var t=this;this.active&&(this.addManagedListener(e,"mouseenter",(function(){return t.rowNode.onMouseEnter()})),this.addManagedListener(e,"mouseleave",(function(){return t.rowNode.onMouseLeave()})),this.addManagedListener(this.rowNode,s.b.EVENT_MOUSE_ENTER,(function(){t.beans.gridOptionsWrapper.isSuppressRowHoverHighlight()||e.classList.add("ag-row-hover")})),this.addManagedListener(this.rowNode,s.b.EVENT_MOUSE_LEAVE,(function(){e.classList.remove("ag-row-hover")})))},t.prototype.roundRowTopToBounds=function(e){var t=this.beans.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),r=this.applyPaginationOffset(t.top,!0)-100,o=this.applyPaginationOffset(t.bottom,!0)+100;return Math.min(Math.max(r,e),o)},t.prototype.getFrameworkOverrides=function(){return this.beans.frameworkOverrides},t.prototype.onRowHeightChanged=function(){if(null!=this.rowNode.rowHeight){var e=this.rowNode.rowHeight,t=this.beans.gridOptionsWrapper.getDefaultRowHeight(),r=this.beans.gridOptionsWrapper.isGetRowHeightFunction()?this.beans.gridOptionsWrapper.getRowHeightForNode(this.rowNode).height:void 0,o=r?Math.min(t,r)-2+"px":void 0;this.allRowGuis.forEach((function(t){t.element.style.height=e+"px",o&&t.element.style.setProperty("--ag-line-height",o)}))}},t.prototype.addEventListener=function(t,r){"renderedRowRemoved"!==t&&"rowRemoved"!==t||(t=l.a.EVENT_VIRTUAL_ROW_REMOVED,console.warn("AG Grid: Since version 11, event renderedRowRemoved is now called "+l.a.EVENT_VIRTUAL_ROW_REMOVED)),e.prototype.addEventListener.call(this,t,r)},t.prototype.removeEventListener=function(t,r){"renderedRowRemoved"!==t&&"rowRemoved"!==t||(t=l.a.EVENT_VIRTUAL_ROW_REMOVED,console.warn("AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called "+l.a.EVENT_VIRTUAL_ROW_REMOVED)),e.prototype.removeEventListener.call(this,t,r)},t.prototype.destroyFirstPass=function(){this.active=!1,this.setupRemoveAnimation();var t=this.createRowEvent(l.a.EVENT_VIRTUAL_ROW_REMOVED);this.dispatchEvent(t),this.beans.eventService.dispatchEvent(t),e.prototype.destroy.call(this)},t.prototype.setupRemoveAnimation=function(){if(!this.isSticky())if(null!=this.rowNode.rowTop){var e=this.roundRowTopToBounds(this.rowNode.rowTop);this.setRowTop(e)}else this.allRowGuis.forEach((function(e){return e.rowComp.addOrRemoveCssClass("ag-opacity-zero",!0)}))},t.prototype.destroySecondPass=function(){this.allRowGuis.length=0;var e=function(e){return e.list.forEach((function(e){return e.destroy()})),{list:[],map:{}}};this.centerCellCtrls=e(this.centerCellCtrls),this.leftCellCtrls=e(this.leftCellCtrls),this.rightCellCtrls=e(this.rightCellCtrls)},t.prototype.setFocusedClasses=function(){var e=this;this.allRowGuis.forEach((function(t){t.rowComp.addOrRemoveCssClass("ag-row-focus",e.rowFocused),t.rowComp.addOrRemoveCssClass("ag-row-no-focus",!e.rowFocused)}))},t.prototype.onCellFocusChanged=function(){var e=this.beans.focusService.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);e!==this.rowFocused&&(this.rowFocused=e,this.setFocusedClasses()),!e&&this.editingRow&&this.stopEditing(!1)},t.prototype.onPaginationChanged=function(){var e=this.beans.paginationProxy.getCurrentPage();this.paginationPage!==e&&(this.paginationPage=e,this.onTopChanged()),this.refreshFirstAndLastRowStyles()},t.prototype.onTopChanged=function(){this.setRowTop(this.rowNode.rowTop)},t.prototype.onPaginationPixelOffsetChanged=function(){this.onTopChanged()},t.prototype.applyPaginationOffset=function(e,t){return void 0===t&&(t=!1),this.rowNode.isRowPinned()?e:e+this.beans.paginationProxy.getPixelOffset()*(t?1:-1)},t.prototype.setRowTop=function(e){if(!this.printLayout&&Object(v.exists)(e)){var t=this.applyPaginationOffset(e),r=(this.rowNode.isRowPinned()?t:this.beans.rowContainerHeightService.getRealPixelPosition(t))+"px";this.setRowTopStyle(r)}},t.prototype.getInitialRowTop=function(){return this.beans.gridOptionsWrapper.isSuppressRowTransform()?this.getInitialRowTopShared():void 0},t.prototype.getInitialTransform=function(){return this.beans.gridOptionsWrapper.isSuppressRowTransform()?void 0:"translateY("+this.getInitialRowTopShared()+")"},t.prototype.getInitialRowTopShared=function(){if(this.printLayout)return"";var e;if(this.isSticky())e=this.rowNode.stickyRowTop;else{var t=this.slideRowIn?this.roundRowTopToBounds(this.rowNode.oldRowTop):this.rowNode.rowTop,r=this.applyPaginationOffset(t);e=this.rowNode.isRowPinned()?r:this.beans.rowContainerHeightService.getRealPixelPosition(r)}return e+"px"},t.prototype.setRowTopStyle=function(e){var t=this.beans.gridOptionsWrapper.isSuppressRowTransform();this.allRowGuis.forEach((function(r){return t?r.rowComp.setTop(e):r.rowComp.setTransform("translateY("+e+")")}))},t.prototype.getRowNode=function(){return this.rowNode},t.prototype.getCellCtrl=function(e){var t=null;return this.getAllCellCtrls().forEach((function(r){r.getColumn()==e&&(t=r)})),null!=t||this.getAllCellCtrls().forEach((function(r){r.getColSpanningList().indexOf(e)>=0&&(t=r)})),t},t.prototype.onRowIndexChanged=function(){null!=this.rowNode.rowIndex&&(this.onCellFocusChanged(),this.updateRowIndexes(),this.postProcessCss())},t.prototype.updateRowIndexes=function(){var e=this.rowNode.getRowIndexString(),t=this.beans.headerNavigationService.getHeaderRowCount(),r=this.rowNode.rowIndex%2==0,o=t+this.rowNode.rowIndex+1;this.allRowGuis.forEach((function(t){t.rowComp.setRowIndex(e),t.rowComp.addOrRemoveCssClass("ag-row-even",r),t.rowComp.addOrRemoveCssClass("ag-row-odd",!r),Object(d.setAriaRowIndex)(t.element,o)}))},t.prototype.getPinnedLeftRowElement=function(){return this.leftGui?this.leftGui.element:void 0},t.prototype.getPinnedRightRowElement=function(){return this.rightGui?this.rightGui.element:void 0},t.prototype.getBodyRowElement=function(){return this.centerGui?this.centerGui.element:void 0},t.prototype.getFullWidthRowElement=function(){return this.fullWidthGui?this.fullWidthGui.element:void 0},t.DOM_DATA_KEY_ROW_CTRL="renderedRow",t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var o=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},n=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e},i=function(){function e(){}return e.STRING_PROPERTIES=["rowSelection","overlayLoadingTemplate","overlayNoRowsTemplate","quickFilterText","rowModelType","editType","domLayout","clipboardDelimiter","rowGroupPanelShow","multiSortKey","pivotColumnGroupTotals","pivotRowTotals","pivotPanelShow","fillHandleDirection","serverSideStoreType","groupDisplayType","treeDataDisplayType","colResizeDefault"],e.OBJECT_PROPERTIES=["components","frameworkComponents","rowStyle","context","autoGroupColumnDef","localeText","icons","datasource","serverSideDatasource","viewportDatasource","groupRowRendererParams","aggFuncs","fullWidthCellRendererParams","defaultColGroupDef","defaultColDef","defaultExportParams","defaultCsvExportParams","defaultExcelExportParams","columnTypes","rowClassRules","detailCellRendererParams","loadingCellRendererParams","loadingOverlayComponentParams","noRowsOverlayComponentParams","popupParent","statusBar","sideBar","chartThemeOverrides","customChartThemes","chartToolPanelsDef"],e.ARRAY_PROPERTIES=["sortingOrder","alignedGrids","rowData","columnDefs","excelStyles","pinnedTopRowData","pinnedBottomRowData","chartThemes","rowClass"],e.NUMBER_PROPERTIES=["rowHeight","detailRowHeight","rowBuffer","colWidth","headerHeight","groupHeaderHeight","floatingFiltersHeight","pivotHeaderHeight","pivotGroupHeaderHeight","groupDefaultExpanded","minColWidth","maxColWidth","viewportRowModelPageSize","viewportRowModelBufferSize","autoSizePadding","maxBlocksInCache","maxConcurrentDatasourceRequests","tooltipShowDelay","tooltipHideDelay","cacheOverflowSize","paginationPageSize","cacheBlockSize","infiniteInitialRowCount","serverSideInitialRowCount","scrollbarWidth","batchUpdateWaitMillis","asyncTransactionWaitMillis","blockLoadDebounceMillis","keepDetailRowsCount","undoRedoCellEditingLimit","cellFlashDelay","cellFadeDelay","tabIndex"],e.BOOLEAN_PROPERTIES=["suppressMakeColumnVisibleAfterUnGroup","suppressRowClickSelection","suppressCellSelection","suppressCellFocus","suppressHorizontalScroll","alwaysShowHorizontalScroll","alwaysShowVerticalScroll","debug","enableBrowserTooltips","enableCellExpressions","angularCompileRows","angularCompileFilters","groupSuppressAutoColumn","groupSelectsChildren","groupIncludeFooter","groupIncludeTotalFooter","groupUseEntireRow","groupSuppressBlankHeader","suppressMenuHide","suppressRowDeselection","unSortIcon","suppressMultiSort","alwaysMultiSort","singleClickEdit","suppressLoadingOverlay","suppressNoRowsOverlay","suppressAutoSize","skipHeaderOnAutoSize","suppressParentsInRowNodes","suppressColumnMoveAnimation","suppressMovableColumns","suppressFieldDotNotation","enableRangeSelection","enableRangeHandle","enableFillHandle","suppressClearOnFillReduction","deltaSort","suppressTouch","suppressAsyncEvents","allowContextMenuWithControlKey","suppressContextMenu","rememberGroupStateWhenNewData","enableCellChangeFlash","suppressDragLeaveHidesColumns","suppressRowGroupHidesColumns","suppressMiddleClickScrolls","suppressPreventDefaultOnMouseWheel","suppressCopyRowsToClipboard","copyHeadersToClipboard","copyGroupHeadersToClipboard","pivotMode","suppressAggFuncInHeader","suppressColumnVirtualisation","suppressAggAtRootLevel","suppressFocusAfterRefresh","functionsPassive","functionsReadOnly","animateRows","groupSelectsFiltered","groupRemoveSingleChildren","groupRemoveLowestSingleChildren","enableRtl","suppressClickEdit","rowDragEntireRow","rowDragManaged","suppressRowDrag","suppressMoveWhenRowDragging","rowDragMultiRow","enableGroupEdit","embedFullWidthRows","deprecatedEmbedFullWidthRows","suppressPaginationPanel","groupHideOpenParents","groupMultiAutoColumn","pagination","stopEditingWhenGridLosesFocus","paginationAutoPageSize","suppressScrollOnNewData","suppressScrollWhenPopupsAreOpen","purgeClosedRowNodes","cacheQuickFilter","deltaRowDataMode","ensureDomOrder","accentedSort","suppressChangeDetection","valueCache","valueCacheNeverExpires","aggregateOnlyChangedColumns","suppressAnimationFrame","suppressExcelExport","suppressCsvExport","treeData","masterDetail","suppressMultiRangeSelection","enterMovesDownAfterEdit","enterMovesDown","suppressPropertyNamesCheck","rowMultiSelectWithClick","suppressEnterpriseResetOnNewColumns","suppressRowHoverHighlight","suppressRowTransform","suppressClipboardPaste","suppressLastEmptyLineOnPaste","suppressSetColumnStateEvents","suppressColumnStateEvents","enableCharts","enableChartToolPanelsButton","deltaColumnMode","suppressMaintainUnsortedOrder","enableCellTextSelection","suppressBrowserResizeObserver","suppressMaxRenderedRowRestriction","excludeChildrenWhenTreeDataFiltering","tooltipMouseTrack","keepDetailRows","paginateChildRows","preventDefaultOnContextMenu","undoRedoCellEditing","allowDragFromColumnsToolPanel","immutableData","immutableColumns","pivotSuppressAutoColumn","suppressExpandablePivotGroups","applyColumnDefOrder","debounceVerticalScrollbar","detailRowAutoHeight","serverSideFilteringAlwaysResets","serverSideSortingAlwaysResets","serverSideSortAllLevels","serverSideFilterAllLevels","serverSideSortOnServer","serverSideFilterOnServer","suppressAggFilteredOnly","showOpenedGroup","suppressClipboardApi","suppressModelUpdateAfterUpdateTransaction","stopEditingWhenCellsLoseFocus","maintainColumnOrder","groupMaintainOrder","columnHoverHighlight","reactUi","suppressReactUi","readOnlyEdit","suppressRowVirtualisation","enableCellEditingOnBackspace","resetRowDataOnUpdate","removePivotHeaderRowWhenSingleValueColumn","suppressCopySingleCellRanges","groupRowsSticky","serverSideInfiniteScroll","rowGroupPanelSuppressSort","allowShowChangeAfterFilter"],e.FUNCTIONAL_PROPERTIES=["localeTextFunc","doesExternalFilterPass","groupRowAggNodes","isFullWidthCell","processSecondaryColDef","processSecondaryColGroupDef","processPivotResultColDef","processPivotResultColGroupDef","getBusinessKeyForNode","isRowSelectable","postSort","defaultGroupSortComparator","defaultGroupOrderComparator","rowDragText","groupRowInnerRenderer","groupRowInnerRendererFramework","groupRowRenderer","groupRowRendererFramework","fullWidthCellRenderer","fullWidthCellRendererFramework","loadingCellRenderer","loadingCellRendererFramework","loadingOverlayComponent","loadingOverlayComponentFramework","noRowsOverlayComponent","noRowsOverlayComponentFramework","detailCellRenderer","detailCellRendererFramework"],e.CALLBACK_PROPERTIES=["getLocaleText","isExternalFilterPresent","getRowHeight","getRowClass","getRowStyle","getContextMenuItems","getMainMenuItems","processRowPostCreate","processCellForClipboard","getGroupRowAgg","getRowNodeId","isFullWidthRow","sendToClipboard","navigateToNextHeader","tabToNextHeader","navigateToNextCell","tabToNextCell","processCellFromClipboard","getDocument","postProcessPopup","getChildCount","getDataPath","isRowMaster","postSortRows","processHeaderForClipboard","processGroupHeaderForClipboard","paginationNumberFormatter","processDataFromClipboard","getServerSideGroupKey","isServerSideGroup","suppressKeyboardEvent","createChartContainer","getChartToolbarItems","fillOperation","isApplyServerSideTransaction","getServerSideStoreParams","getServerSideGroupLevelParams","isServerSideGroupOpenByDefault","isGroupOpenByDefault","initialGroupOrderComparator","loadingCellRendererSelector","getRowId","groupAggFiltering"],e.FUNCTION_PROPERTIES=n(e.FUNCTIONAL_PROPERTIES,e.CALLBACK_PROPERTIES),e.ALL_PROPERTIES=n(e.ARRAY_PROPERTIES,e.OBJECT_PROPERTIES,e.STRING_PROPERTIES,e.NUMBER_PROPERTIES,e.FUNCTION_PROPERTIES,e.BOOLEAN_PROPERTIES),e.FRAMEWORK_PROPERTIES=["__ob__","__v_skip","__metadata__","mappedColumnProperties","hasChildColumns","toColDef","createColDefFromGridColumn"],e}()},function(e,t,r){"use strict";var o;r.d(t,"a",(function(){return o})),function(e){e.EVERYTHING="group",e.FILTER="filter",e.SORT="sort",e.MAP="map",e.AGGREGATE="aggregate",e.FILTER_AGGREGATES="filter_aggregates",e.PIVOT="pivot",e.NOTHING="nothing"}(o||(o={}))},function(e,t,r){"use strict";var o,n=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function s(e){for(var t=-1,r=0;r<a.length;r++)if(a[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},o=[],n=0;n<e.length;n++){var i=e[n],l=t.base?i[0]+t.base:i[0],c=r[l]||0,u="".concat(l," ").concat(c);r[l]=c+1;var p=s(u),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(a[p].references++,a[p].updater(d)):a.push({identifier:u,updater:v(d,t),references:1}),o.push(u)}return o}function c(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var n=r.nc;n&&(o.nonce=n)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,p=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,r,o){var n=r?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(t,n);else{var i=document.createTextNode(n),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function g(e,t,r){var o=r.css,n=r.media,i=r.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var h=null,f=0;function v(e,t){var r,o,n;if(t.singleton){var i=f++;r=h||(h=c(t)),o=d.bind(null,r,i,!1),n=d.bind(null,r,i,!0)}else r=c(t),o=g.bind(null,r,t),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=n());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<r.length;o++){var n=s(r[o]);a[n].references--}for(var i=l(e,t),c=0;c<r.length;c++){var u=s(r[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}r=i}}}},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var n=(a=o,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(i).concat([n]).join("\n")}var a,s,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(n[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);o&&n[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o,n=r(15),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.isPopup=function(){return!0},t.prototype.setParentComponent=function(t){t.addCssClass("ag-has-popup"),e.prototype.setParentComponent.call(this,t)},t.prototype.destroy=function(){var t=this.parentComponent;t&&t.isAlive()&&t.getGui().classList.remove("ag-has-popup"),e.prototype.destroy.call(this)},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return d}));var o,n,i=r(6),a=r(1),s=r(33),l=r(10),c=r(40),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e[e.LEFT=2]="LEFT",e[e.RIGHT=3]="RIGHT"}(n||(n={}));var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){e.gridBodyCon=t.gridBodyCtrl}))},t.prototype.getHeaderRowCount=function(){var e=this.ctrlsService.getHeaderRowContainerCtrl();return e?e.getRowCount():0},t.prototype.getHeaderRowType=function(e){var t=this.ctrlsService.getHeaderRowContainerCtrl();if(t)return t.getRowType(e)},t.prototype.navigateVertically=function(e,t,r){if(t||(t=this.focusService.getFocusedHeader()),!t)return!1;var o=t.headerRowIndex,i=t.column,a=this.getHeaderRowCount(),s=e===n.UP,l=s?o-1:o+1,u=null,p=!1;l<0&&(l=0,u=i,p=!0),l>=a&&(l=-1);var d=this.getHeaderRowType(o);if(!p){if(d===c.b.COLUMN_GROUP){var g=i;u=s?i.getParent():g.getDisplayedChildren()[0]}else if(d===c.b.FLOATING_FILTER)u=i;else{g=i;u=s?g.getParent():g}if(!u)return!1}return this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:l,column:u},allowUserOverride:!0,event:r})},t.prototype.navigateHorizontally=function(e,t,r){void 0===t&&(t=!1);var o,i,a=this.focusService.getFocusedHeader();return e===n.LEFT!==this.gridOptionsWrapper.isEnableRtl()?(i="Before",o=this.headerPositionUtils.findHeader(a,i)):(i="After",o=this.headerPositionUtils.findHeader(a,i)),o||!t?this.focusService.focusHeaderPosition({headerPosition:o,direction:i,fromTab:t,allowUserOverride:!0,event:r}):this.focusNextHeaderRow(a,i,r)},t.prototype.focusNextHeaderRow=function(e,t,r){var o,n=e.headerRowIndex,i=null;return"Before"===t?n>0&&(o=n-1,i=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"end")):(o=n+1,i=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"start")),this.focusService.focusHeaderPosition({headerPosition:i,direction:t,fromTab:!0,allowUserOverride:!0,event:r})},t.prototype.scrollToColumn=function(e,t){if(void 0===t&&(t="After"),!e.getPinned()){var r;if(e instanceof s.a){var o=e.getDisplayedLeafColumns();r="Before"===t?Object(l.last)(o):o[0]}else r=e;this.gridBodyCon.getScrollFeature().ensureColumnVisible(r)}},p([Object(a.a)("focusService")],t.prototype,"focusService",void 0),p([Object(a.a)("headerPositionUtils")],t.prototype,"headerPositionUtils",void 0),p([Object(a.a)("animationFrameService")],t.prototype,"animationFrameService",void 0),p([Object(a.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),p([a.e],t.prototype,"postConstruct",null),t=p([Object(a.b)("headerNavigationService")],t)}(i.a)},function(e,t,r){"use strict";function o(e){var t=new Map;return e.forEach((function(e){return t.set(e[0],e[1])})),t}function n(e,t){var r=new Map;return e.forEach((function(e){return r.set(t(e),e)})),r}function i(e){var t=[];return e.forEach((function(e,r){return t.push(r)})),t}r.r(t),r.d(t,"convertToMap",(function(){return o})),r.d(t,"mapById",(function(){return n})),r.d(t,"keys",(function(){return i}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(4),i=r(46),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(t,r,o){void 0===r&&(r="ag-checkbox"),void 0===o&&(o="checkbox");var n=e.call(this,t,r,o)||this;return n.labelAlignment="right",n.selected=!1,n.readOnly=!1,n.passive=!1,n}return a(t,e),t.prototype.addInputListeners=function(){this.addManagedListener(this.eInput,"click",this.onCheckboxClick.bind(this)),this.addManagedListener(this.eLabel,"click",this.toggle.bind(this))},t.prototype.getNextValue=function(){return void 0===this.selected||!this.selected},t.prototype.setPassive=function(e){this.passive=e},t.prototype.isReadOnly=function(){return this.readOnly},t.prototype.setReadOnly=function(e){this.eWrapper.classList.toggle("ag-disabled",e),this.eInput.disabled=e,this.readOnly=e},t.prototype.setDisabled=function(t){return this.eWrapper.classList.toggle("ag-disabled",t),e.prototype.setDisabled.call(this,t)},t.prototype.toggle=function(){if(!this.eInput.disabled){var e=this.isSelected(),t=this.getNextValue();this.passive?this.dispatchChange(t,e):this.setValue(t)}},t.prototype.getValue=function(){return this.isSelected()},t.prototype.setValue=function(e,t){return this.refreshSelectedClass(e),this.setSelected(e,t),this},t.prototype.setName=function(e){return this.getInputElement().name=e,this},t.prototype.isSelected=function(){return this.selected},t.prototype.setSelected=function(e,t){this.isSelected()!==e&&(this.previousValue=this.isSelected(),e=this.selected="boolean"==typeof e?e:void 0,this.eInput.checked=e,this.eInput.indeterminate=void 0===e,t||this.dispatchChange(this.selected,this.previousValue))},t.prototype.dispatchChange=function(e,r,o){this.dispatchEvent({type:t.EVENT_CHANGED,selected:e,previousValue:r,event:o});var i=this.getInputElement(),a={type:n.a.EVENT_CHECKBOX_CHANGED,id:i.id,name:i.name,selected:e,previousValue:r};this.eventService.dispatchEvent(a)},t.prototype.onCheckboxClick=function(e){if(!this.passive&&!this.eInput.disabled){var t=this.isSelected(),r=this.selected=e.target.checked;this.refreshSelectedClass(r),this.dispatchChange(r,t,e)}},t.prototype.refreshSelectedClass=function(e){this.eWrapper.classList.toggle("ag-checked",!0===e),this.eWrapper.classList.toggle("ag-indeterminate",null==e)},t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(6),i=r(1),a=r(44),s=r(8),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=0,p=function(e){function t(t,r){var o=e.call(this)||this;return o.lastFocusEvent=null,o.columnGroupChild=t,o.parentRowCtrl=r,o.instanceId=t.getUniqueId()+"-"+u++,o}return l(t,e),t.prototype.shouldStopEventPropagation=function(e){var t=this.focusService.getFocusedHeader(),r=t.headerRowIndex,o=t.column;return Object(a.isUserSuppressingHeaderKeyboardEvent)(this.gridOptionsWrapper,e,r,o)},t.prototype.getWrapperHasFocus=function(){return this.gridOptionsWrapper.getDocument().activeElement===this.eGui},t.prototype.setGui=function(e){this.eGui=e,this.addDomData()},t.prototype.handleKeyDown=function(e){var t=this.getWrapperHasFocus();switch(e.key){case s.a.PAGE_DOWN:case s.a.PAGE_UP:case s.a.PAGE_HOME:case s.a.PAGE_END:t&&e.preventDefault()}},t.prototype.addDomData=function(){var e=this,r=t.DOM_DATA_KEY_HEADER_CTRL;this.gridOptionsWrapper.setDomData(this.eGui,r,this),this.addDestroyFunc((function(){return e.gridOptionsWrapper.setDomData(e.eGui,r,null)}))},t.prototype.getGui=function(){return this.eGui},t.prototype.focus=function(e){return!!this.eGui&&(this.lastFocusEvent=e||null,this.eGui.focus(),!0)},t.prototype.getRowIndex=function(){return this.parentRowCtrl.getRowIndex()},t.prototype.getParentRowCtrl=function(){return this.parentRowCtrl},t.prototype.getPinned=function(){return this.parentRowCtrl.getPinned()},t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.getColumnGroupChild=function(){return this.columnGroupChild},t.DOM_DATA_KEY_HEADER_CTRL="headerCtrl",c([Object(i.a)("focusService")],t.prototype,"focusService",void 0),c([Object(i.a)("beans")],t.prototype,"beans",void 0),c([Object(i.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(15),i=r(5),a=r(169),s=r(11),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},u=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.initialiseTabGuard=function(e){this.eTopGuard=this.createTabGuard("top"),this.eBottomGuard=this.createTabGuard("bottom"),this.eFocusableElement=this.getFocusableElement();var t=[this.eTopGuard,this.eBottomGuard],r={setTabIndex:function(e){t.forEach((function(t){return null!=e?t.setAttribute("tabIndex",e):t.removeAttribute("tabIndex")}))}};this.addTabGuards(this.eTopGuard,this.eBottomGuard),this.tabGuardCtrl=this.createManagedBean(new a.a({comp:r,eTopGuard:this.eTopGuard,eBottomGuard:this.eBottomGuard,eFocusableElement:this.eFocusableElement,onFocusIn:e.onFocusIn,onFocusOut:e.onFocusOut,focusInnerElement:e.focusInnerElement,handleKeyDown:e.handleKeyDown,onTabKeyDown:e.onTabKeyDown,shouldStopEventPropagation:e.shouldStopEventPropagation}))},t.prototype.createTabGuard=function(e){var t=document.createElement("div");return t.classList.add("ag-tab-guard","ag-tab-guard-"+e),Object(s.setAriaRole)(t,"presentation"),t},t.prototype.addTabGuards=function(e,t){this.eFocusableElement.insertAdjacentElement("afterbegin",e),this.eFocusableElement.insertAdjacentElement("beforeend",t)},t.prototype.removeAllChildrenExceptTabGuards=function(){var e=[this.eTopGuard,this.eBottomGuard];Object(i.clearElement)(this.getFocusableElement()),this.addTabGuards.apply(this,u(e))},t.prototype.forceFocusOutOfContainer=function(e){void 0===e&&(e=!1),this.tabGuardCtrl.forceFocusOutOfContainer(e)},t.prototype.appendChild=function(t,r){Object(i.isNodeOrElement)(t)||(t=t.getGui());var o=this.eBottomGuard;o?o.insertAdjacentElement("beforebegin",t):e.prototype.appendChild.call(this,t,r)},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var o,n=r(1),i=r(6),a=r(4),s=r(39),l=r(18),c=r(2),u=r(3),p=r(47),d=r(56),g=r(10),h=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},y=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return h(t,e),r=t,t.addKeyboardModeEvents=function(e,t){var o=r.instancesMonitored.get(e);o&&o.length>0?-1===o.indexOf(t)&&o.push(t):(r.instancesMonitored.set(e,[t]),e.addEventListener("keydown",r.toggleKeyboardMode),e.addEventListener("mousedown",r.toggleKeyboardMode))},t.removeKeyboardModeEvents=function(e,t){var o=r.instancesMonitored.get(e),n=[];o&&o.length&&(n=y(o).filter((function(e){return e!==t})),r.instancesMonitored.set(e,n)),0===n.length&&(e.removeEventListener("keydown",r.toggleKeyboardMode),e.removeEventListener("mousedown",r.toggleKeyboardMode))},t.toggleKeyboardMode=function(e){var t=r.keyboardModeActive,o="keydown"===e.type;if(!(o&&(e.ctrlKey||e.metaKey||e.altKey)||t&&o||!t&&!o)){r.keyboardModeActive=o;var n=e.target.ownerDocument;if(n){var i=r.instancesMonitored.get(n);i&&i.forEach((function(e){e.dispatchEvent({type:o?a.a.EVENT_KEYBOARD_FOCUS:a.a.EVENT_MOUSE_FOCUS})}))}}},t.prototype.init=function(){var e=this,t=this.clearFocusedCell.bind(this);this.addManagedListener(this.eventService,a.a.EVENT_COLUMN_PIVOT_MODE_CHANGED,t),this.addManagedListener(this.eventService,a.a.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverythingChanged.bind(this)),this.addManagedListener(this.eventService,a.a.EVENT_COLUMN_GROUP_OPENED,t),this.addManagedListener(this.eventService,a.a.EVENT_COLUMN_ROW_GROUP_CHANGED,t),this.ctrlsService.whenReady((function(t){e.gridCtrl=t.gridCtrl;var o=e.gridOptionsWrapper.getDocument();r.addKeyboardModeEvents(o,e.gridCtrl),e.addDestroyFunc((function(){return e.unregisterGridCompController(e.gridCtrl)}))}))},t.prototype.unregisterGridCompController=function(e){var t=this.gridOptionsWrapper.getDocument();r.removeKeyboardModeEvents(t,e)},t.prototype.onColumnEverythingChanged=function(){if(this.focusedCellPosition){var e=this.focusedCellPosition.column,t=this.columnModel.getGridColumn(e.getId());e!==t&&this.clearFocusedCell()}},t.prototype.isKeyboardMode=function(){return r.keyboardModeActive},t.prototype.getFocusCellToUseAfterRefresh=function(){var e=this.gridOptionsWrapper.getDocument();return this.gridOptionsWrapper.isSuppressFocusAfterRefresh()||!this.focusedCellPosition||this.isDomDataMissingInHierarchy(e.activeElement,p.a.DOM_DATA_KEY_ROW_CTRL)?null:this.focusedCellPosition},t.prototype.getFocusHeaderToUseAfterRefresh=function(){var e=this.gridOptionsWrapper.getDocument();return this.gridOptionsWrapper.isSuppressFocusAfterRefresh()||!this.focusedHeaderPosition||this.isDomDataMissingInHierarchy(e.activeElement,d.a.DOM_DATA_KEY_HEADER_CTRL)?null:this.focusedHeaderPosition},t.prototype.isDomDataMissingInHierarchy=function(e,t){for(var r=e;r;){if(this.gridOptionsWrapper.getDomData(r,t))return!1;r=r.parentNode}return!0},t.prototype.clearFocusedCell=function(){this.focusedCellPosition=null,this.onCellFocused(!1,!1)},t.prototype.getFocusedCell=function(){return this.focusedCellPosition},t.prototype.setFocusedCell=function(e){var t=e.column,r=e.rowIndex,o=e.rowPinned,n=e.forceBrowserFocus,i=void 0!==n&&n,a=e.preventScrollOnBrowserFocus,s=void 0!==a&&a,l=this.columnModel.getGridColumn(t);l?(this.focusedCellPosition=l?{rowIndex:r,rowPinned:Object(c.makeNull)(o),column:l}:null,this.onCellFocused(i,s)):this.focusedCellPosition=null},t.prototype.isCellFocused=function(e){return null!=this.focusedCellPosition&&(this.focusedCellPosition.column===e.column&&this.isRowFocused(e.rowIndex,e.rowPinned))},t.prototype.isRowNodeFocused=function(e){return this.isRowFocused(e.rowIndex,e.rowPinned)},t.prototype.isHeaderWrapperFocused=function(e){if(null==this.focusedHeaderPosition)return!1;var t=e.getColumnGroupChild(),r=e.getRowIndex(),o=e.getPinned(),n=this.focusedHeaderPosition,i=n.column,a=n.headerRowIndex;return t===i&&r===a&&o==i.getPinned()},t.prototype.clearFocusedHeader=function(){this.focusedHeaderPosition=null},t.prototype.getFocusedHeader=function(){return this.focusedHeaderPosition},t.prototype.setFocusedHeader=function(e,t){this.focusedHeaderPosition={headerRowIndex:e,column:t}},t.prototype.focusHeaderPosition=function(e){var t=e.direction,r=e.fromTab,o=e.allowUserOverride,n=e.event,i=e.headerPosition;if(o){var a,s=this.gridOptionsWrapper,l=this.getFocusedHeader(),c=this.headerNavigationService.getHeaderRowCount();if(r){if(a=s.getTabToNextHeaderFunc())i=a({backwards:"Before"===t,previousHeaderPosition:l,nextHeaderPosition:i,headerRowCount:c})}else if((a=s.getNavigateToNextHeaderFunc())&&n)i=a({key:n.key,previousHeaderPosition:l,nextHeaderPosition:i,headerRowCount:c,event:n})}return!!i&&(-1===i.headerRowIndex?this.focusGridView(i.column):(this.headerNavigationService.scrollToColumn(i.column,t),this.ctrlsService.getHeaderRowContainerCtrl(i.column.getPinned()).focusHeader(i.headerRowIndex,i.column,n)))},t.prototype.focusFirstHeader=function(){var e=this.columnModel.getAllDisplayedColumns()[0];return!!e&&(e.getParent()&&(e=this.columnModel.getColumnGroupAtLevel(e,0)),this.focusHeaderPosition({headerPosition:{headerRowIndex:0,column:e}}))},t.prototype.focusLastHeader=function(e){var t=this.headerNavigationService.getHeaderRowCount()-1,r=Object(g.last)(this.columnModel.getAllDisplayedColumns());return this.focusHeaderPosition({headerPosition:{headerRowIndex:t,column:r},event:e})},t.prototype.isAnyCellFocused=function(){return!!this.focusedCellPosition},t.prototype.isRowFocused=function(e,t){return null!=this.focusedCellPosition&&(this.focusedCellPosition.rowIndex===e&&this.focusedCellPosition.rowPinned===Object(c.makeNull)(t))},t.prototype.findFocusableElements=function(e,t,r){void 0===r&&(r=!1);var o=u.a.FOCUSABLE_SELECTOR,n=u.a.FOCUSABLE_EXCLUDE;t&&(n+=", "+t),r&&(n+=', [tabindex="-1"]');var i=Array.prototype.slice.apply(e.querySelectorAll(o)),a=Array.prototype.slice.apply(e.querySelectorAll(n));if(!a.length)return i;var s;return s=a,i.filter((function(e){return-1===s.indexOf(e)}))},t.prototype.focusInto=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=this.findFocusableElements(e,null,r),n=t?Object(g.last)(o):o[0];return!!n&&(n.focus(),!0)},t.prototype.findNextFocusableElement=function(e,t,r){void 0===e&&(e=this.eGridDiv);var o=this.findFocusableElements(e,t?':not([tabindex="-1"])':null),n=this.gridOptionsWrapper.getDocument().activeElement,i=(t?o.findIndex((function(e){return e.contains(n)})):o.indexOf(n))+(r?-1:1);return i<0||i>=o.length?null:o[i]},t.prototype.isFocusUnderManagedComponent=function(e){var t=this.gridOptionsWrapper.getDocument(),r=e.querySelectorAll("."+s.a.FOCUS_MANAGED_CLASS);if(!r.length)return!1;for(var o=0;o<r.length;o++)if(r[o].contains(t.activeElement))return!0;return!1},t.prototype.findTabbableParent=function(e,t){void 0===t&&(t=5);for(var r=0;e&&null===Object(l.getTabIndex)(e)&&++r<=t;)e=e.parentElement;return null===Object(l.getTabIndex)(e)?null:e},t.prototype.onCellFocused=function(e,t){var r={type:a.a.EVENT_CELL_FOCUSED,forceBrowserFocus:e,preventScrollOnBrowserFocus:t,rowIndex:null,column:null,floating:null,rowPinned:null,isFullWidthCell:!1};if(this.focusedCellPosition){var o=r.rowIndex=this.focusedCellPosition.rowIndex,n=r.rowPinned=this.focusedCellPosition.rowPinned;r.column=this.focusedCellPosition.column;var i=this.rowRenderer.getRowByPosition({rowIndex:o,rowPinned:n});i&&(r.isFullWidthCell=i.isFullWidth())}this.eventService.dispatchEvent(r)},t.prototype.focusGridView=function(e,t){if(this.gridOptionsWrapper.isSuppressCellFocus())return t?this.focusLastHeader():this.focusNextGridCoreContainer(!1);var r=t?this.rowPositionUtils.getLastRow():this.rowPositionUtils.getFirstRow();if(!r)return!1;var o=r.rowIndex,n=r.rowPinned,i=this.getFocusedHeader();if(!e&&i&&(e=i.column),null==o||!e)return!1;if(this.navigationService.ensureCellVisible({rowIndex:o,column:e,rowPinned:n}),this.setFocusedCell({rowIndex:o,column:e,rowPinned:Object(c.makeNull)(n),forceBrowserFocus:!0}),this.rangeService){var a={rowIndex:o,rowPinned:n,column:e};this.rangeService.setRangeToCell(a)}return!0},t.prototype.focusNextGridCoreContainer=function(e){return!!this.gridCtrl.focusNextInnerContainer(e)||(e||this.gridCtrl.isDetailGrid()||this.gridCtrl.forceFocusOutOfContainer(),!1)},t.AG_KEYBOARD_FOCUS="ag-keyboard-focus",t.keyboardModeActive=!1,t.instancesMonitored=new Map,f([Object(n.a)("eGridDiv")],t.prototype,"eGridDiv",void 0),f([Object(n.a)("columnModel")],t.prototype,"columnModel",void 0),f([Object(n.a)("headerNavigationService")],t.prototype,"headerNavigationService",void 0),f([Object(n.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),f([Object(n.a)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),f([Object(n.d)("rangeService")],t.prototype,"rangeService",void 0),f([Object(n.a)("navigationService")],t.prototype,"navigationService",void 0),f([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),f([n.e],t.prototype,"init",null),t=r=f([Object(n.b)("focusService")],t)}(i.a)},function(e,t,r){"use strict";var o,n;r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return n})),function(e){e[e.FILL=0]="FILL",e[e.RANGE=1]="RANGE"}(o||(o={})),function(e){e[e.VALUE=0]="VALUE",e[e.DIMENSION=1]="DIMENSION"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"e",(function(){return n})),r.d(t,"a",(function(){return _})),r.d(t,"c",(function(){return D})),r.d(t,"b",(function(){return M})),r.d(t,"d",(function(){return N}));var o,n,i=r(6),a=r(1),s=r(32),l=r(9),c=r(5),u=r(13),p=r(18),d=r(3),g=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(t){var r=e.call(this)||this;return r.scrollLeft=-1,r.nextScrollTop=-1,r.scrollTop=-1,r.eBodyViewport=t,r.resetLastHorizontalScrollElementDebounced=Object(u.debounce)(r.resetLastHorizontalScrollElement.bind(r),500),r}return g(t,e),t.prototype.postConstruct=function(){var e=this;this.enableRtl=this.gridOptionsWrapper.isEnableRtl(),this.addManagedListener(this.eventService,l.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this)),this.ctrlsService.whenReady((function(t){e.centerRowContainerCtrl=t.centerRowContainerCtrl,e.onDisplayedColumnsWidthChanged(),e.addScrollListener()}))},t.prototype.addScrollListener=function(){var e=this.ctrlsService.getFakeHScrollCtrl();this.addManagedListener(this.centerRowContainerCtrl.getViewportElement(),"scroll",this.onCenterViewportScroll.bind(this)),this.addManagedListener(e.getViewport(),"scroll",this.onFakeHorizontalScroll.bind(this));var t=this.gridOptionsWrapper.isDebounceVerticalScrollbar()?Object(u.debounce)(this.onVerticalScroll.bind(this),100):this.onVerticalScroll.bind(this);this.addManagedListener(this.eBodyViewport,"scroll",t)},t.prototype.onDisplayedColumnsWidthChanged=function(){this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloatingCenter()},t.prototype.horizontallyScrollHeaderCenterAndFloatingCenter=function(e){if(!(null==this.centerRowContainerCtrl)){void 0===e&&(e=this.centerRowContainerCtrl.getCenterViewportScrollLeft());var t=this.enableRtl?e:-e,r=this.ctrlsService.getTopCenterRowContainerCtrl(),o=this.ctrlsService.getStickyTopCenterRowContainerCtrl(),n=this.ctrlsService.getBottomCenterRowContainerCtrl(),i=this.ctrlsService.getFakeHScrollCtrl();this.ctrlsService.getHeaderRowContainerCtrl().setHorizontalScroll(t),n.setContainerTranslateX(t),r.setContainerTranslateX(t),o.setContainerTranslateX(t);var a=this.centerRowContainerCtrl.getViewportElement(),s=this.lastHorizontalScrollElement===a?i.getViewport():this.centerRowContainerCtrl.getViewportElement();Object(c.setScrollLeft)(s,Math.abs(e),this.enableRtl)}},t.prototype.isControllingScroll=function(e){return this.lastHorizontalScrollElement?e===this.lastHorizontalScrollElement:(this.lastHorizontalScrollElement=e,!0)},t.prototype.onFakeHorizontalScroll=function(){var e=this.ctrlsService.getFakeHScrollCtrl().getViewport();this.isControllingScroll(e)&&this.onBodyHorizontalScroll(e)},t.prototype.onCenterViewportScroll=function(){var e=this.centerRowContainerCtrl.getViewportElement();this.isControllingScroll(e)&&this.onBodyHorizontalScroll(e)},t.prototype.onBodyHorizontalScroll=function(e){var t=this.centerRowContainerCtrl.getViewportElement().scrollLeft;this.shouldBlockScrollUpdate("horizontal",t,!0)||(this.doHorizontalScroll(Math.round(Object(c.getScrollLeft)(e,this.enableRtl))),this.resetLastHorizontalScrollElementDebounced())},t.prototype.onVerticalScroll=function(){var e=this.eBodyViewport.scrollTop;this.shouldBlockScrollUpdate("vertical",e,!0)||(this.animationFrameService.setScrollTop(e),this.nextScrollTop=e,this.gridOptionsWrapper.isSuppressAnimationFrame()?(this.scrollTop=this.nextScrollTop,this.redrawRowsAfterScroll()):this.animationFrameService.schedule())},t.prototype.resetLastHorizontalScrollElement=function(){this.lastHorizontalScrollElement=null},t.prototype.doHorizontalScroll=function(e){var t=this.ctrlsService.getFakeHScrollCtrl().getViewport(),r=Object(c.getScrollLeft)(t,this.enableRtl);this.scrollLeft===e&&e===r||(this.scrollLeft=e,this.fireScrollEvent("horizontal"),this.horizontallyScrollHeaderCenterAndFloatingCenter(e),this.onHorizontalViewportChanged())},t.prototype.fireScrollEvent=function(e){var t=this,r={type:l.a.EVENT_BODY_SCROLL,direction:e,left:this.scrollLeft,top:this.scrollTop};this.eventService.dispatchEvent(r),window.clearTimeout(this.scrollTimer),this.scrollTimer=void 0,this.scrollTimer=window.setTimeout((function(){var e=Object.assign({},r,{type:l.a.EVENT_BODY_SCROLL_END});t.eventService.dispatchEvent(e)}),100)},t.prototype.shouldBlockScrollUpdate=function(e,t,r){if(void 0===r&&(r=!1),r&&!Object(p.isIOSUserAgent)())return!1;if("vertical"===e){var o=Object(c.getInnerHeight)(this.eBodyViewport),n=this.eBodyViewport.scrollHeight;if(t<0||t+o>n)return!0}if("horizontal"===e){var i=this.centerRowContainerCtrl.getCenterWidth(),a=this.centerRowContainerCtrl.getViewportElement().scrollWidth;if(this.enableRtl&&Object(c.isRtlNegativeScroll)()){if(t>0)return!0}else if(t<0)return!0;if(Math.abs(t)+i>a)return!0}return!1},t.prototype.redrawRowsAfterScroll=function(){this.fireScrollEvent("vertical")},t.prototype.onHorizontalViewportChanged=function(){this.centerRowContainerCtrl.onHorizontalViewportChanged()},t.prototype.checkScrollLeft=function(){this.scrollLeft!==this.centerRowContainerCtrl.getCenterViewportScrollLeft()&&this.onBodyHorizontalScroll(this.centerRowContainerCtrl.getViewportElement())},t.prototype.executeAnimationFrameScroll=function(){var e=this.scrollTop!=this.nextScrollTop;return e&&(this.scrollTop=this.nextScrollTop,this.redrawRowsAfterScroll()),e},t.prototype.setHorizontalScrollPosition=function(e){var t=this.centerRowContainerCtrl.getViewportElement().scrollWidth-this.centerRowContainerCtrl.getCenterWidth();this.shouldBlockScrollUpdate("horizontal",e)&&(e=this.enableRtl&&Object(c.isRtlNegativeScroll)()?e>0?0:t:Math.min(Math.max(e,0),t)),Object(c.setScrollLeft)(this.centerRowContainerCtrl.getViewportElement(),Math.abs(e),this.enableRtl),this.doHorizontalScroll(e)},t.prototype.setVerticalScrollPosition=function(e){this.eBodyViewport.scrollTop=e},t.prototype.getVScrollPosition=function(){return{top:this.eBodyViewport.scrollTop,bottom:this.eBodyViewport.scrollTop+this.eBodyViewport.offsetHeight}},t.prototype.getHScrollPosition=function(){return this.centerRowContainerCtrl.getHScrollPosition()},t.prototype.isHorizontalScrollShowing=function(){return this.centerRowContainerCtrl.isHorizontalScrollShowing()},t.prototype.scrollHorizontally=function(e){var t=this.centerRowContainerCtrl.getViewportElement().scrollLeft;return this.setHorizontalScrollPosition(t+e),this.centerRowContainerCtrl.getViewportElement().scrollLeft-t},t.prototype.scrollToTop=function(){this.eBodyViewport.scrollTop=0},t.prototype.ensureNodeVisible=function(e,t){void 0===t&&(t=null);for(var r=this.rowModel.getRowCount(),o=-1,n=0;n<r;n++){var i=this.rowModel.getRow(n);if("function"==typeof e){if(i&&e(i)){o=n;break}}else if(e===i||e===i.data){o=n;break}}o>=0&&this.ensureIndexVisible(o,t)},t.prototype.ensureIndexVisible=function(e,t){if(this.gridOptionsWrapper.getDomLayout()!==d.a.DOM_LAYOUT_PRINT){var r=this.paginationProxy.getRowCount();if("number"!=typeof e||e<0||e>=r)console.warn("invalid row index for ensureIndexVisible: "+e);else{this.gridOptionsWrapper.isPagination()&&!this.gridOptionsWrapper.isSuppressPaginationPanel()||this.paginationProxy.goToPageWithIndex(e);var o,n=this.ctrlsService.getGridBodyCtrl().getStickyTopHeight(),i=this.paginationProxy.getRow(e);do{var a=i.rowTop,s=i.rowHeight,l=this.paginationProxy.getPixelOffset(),c=i.rowTop-l,u=c+i.rowHeight,p=this.getVScrollPosition(),g=this.heightScaler.getDivStretchOffset(),h=p.top+g,f=p.bottom+g,v=f-h,y=this.heightScaler.getScrollPositionForPixel(c),m=this.heightScaler.getScrollPositionForPixel(u-v),b=Math.min((y+m)/2,c),w=null;"top"===t?w=y:"bottom"===t?w=m:"middle"===t?w=b:h+n>c?w=y-n:f<u&&(w=m),null!==w&&(this.eBodyViewport.scrollTop=w,this.rowRenderer.redrawAfterScroll()),o=a!==i.rowTop||s!==i.rowHeight}while(o);this.animationFrameService.flushAllFrames()}}},t.prototype.ensureColumnVisible=function(e,t){void 0===t&&(t="auto");var r=this.columnModel.getGridColumn(e);if(r&&!r.isPinned()&&this.columnModel.isColumnDisplayed(r)){var o=this.getPositionedHorizontalScroll(r,t);null!==o&&this.centerRowContainerCtrl.setCenterViewportScrollLeft(o),this.centerRowContainerCtrl.onHorizontalViewportChanged(),this.animationFrameService.flushAllFrames()}},t.prototype.getPositionedHorizontalScroll=function(e,t){var r=this.isColumnOutsideViewport(e),o=r.columnBeforeStart,n=r.columnAfterEnd,i=this.centerRowContainerCtrl.getCenterWidth()<e.getActualWidth(),a=this.centerRowContainerCtrl.getCenterWidth(),s=this.enableRtl,l=(s?o:n)||i,c=s?n:o;"auto"!==t&&(l="start"===t,c="end"===t);var u="middle"===t;if(l||c||u){var p=this.getColumnBounds(e),d=p.colLeft,g=p.colMiddle,h=p.colRight;return u?g-a/2:l?s?h:d:s?d-a:h-a}return null},t.prototype.isColumnOutsideViewport=function(e){var t=this.getViewportBounds(),r=t.start,o=t.end,n=this.getColumnBounds(e),i=n.colLeft,a=n.colRight,s=this.enableRtl;return{columnBeforeStart:s?r>a:o<a,columnAfterEnd:s?o<i:r>i}},t.prototype.getColumnBounds=function(e){var t=this.enableRtl,r=this.columnModel.getBodyContainerWidth(),o=e.getActualWidth(),n=e.getLeft(),i=t?-1:1,a=t?r-n:n;return{colLeft:a,colMiddle:a+o/2*i,colRight:a+o*i}},t.prototype.getViewportBounds=function(){var e=this.centerRowContainerCtrl.getCenterWidth(),t=this.centerRowContainerCtrl.getCenterViewportScrollLeft();return{start:t,end:e+t,width:e}},h([Object(a.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),h([Object(a.a)("animationFrameService")],t.prototype,"animationFrameService",void 0),h([Object(a.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),h([Object(a.a)("rowModel")],t.prototype,"rowModel",void 0),h([Object(a.a)("rowContainerHeightService")],t.prototype,"heightScaler",void 0),h([Object(a.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),h([Object(a.a)("columnModel")],t.prototype,"columnModel",void 0),h([a.e],t.prototype,"postConstruct",null),t}(i.a),v=r(20),y=r(22),m=r(10),b=r(2),w=r(136),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),O=function(){return(O=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},S=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},E=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},x=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(E(arguments[t]));return e},R=function(e){function t(t){var r=e.call(this)||this;return r.isMultiRowDrag=!1,r.isGridSorted=!1,r.isGridFiltered=!1,r.isRowGroupActive=!1,r.eContainer=t,r}return C(t,e),t.prototype.postConstruct=function(){var e=this;this.gridOptionsWrapper.isRowModelDefault()&&(this.clientSideRowModel=this.rowModel);var t=function(){e.onSortChanged(),e.onFilterChanged(),e.onRowGroupChanged()};this.addManagedListener(this.eventService,l.a.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_MODEL_UPDATED,(function(){t()})),t(),this.ctrlsService.whenReady((function(){var t=e.ctrlsService.getGridBodyCtrl();e.autoScrollService=new w.a({scrollContainer:t.getBodyViewportElement(),scrollAxis:"y",getVerticalPosition:function(){return t.getScrollFeature().getVScrollPosition().top},setVerticalPosition:function(e){return t.getScrollFeature().setVerticalScrollPosition(e)},onScrollCallback:function(){e.onDragging(e.lastDraggingEvent)}})}))},t.prototype.onSortChanged=function(){this.isGridSorted=this.sortController.isSortActive()},t.prototype.onFilterChanged=function(){this.isGridFiltered=this.filterManager.isAnyFilterPresent()},t.prototype.onRowGroupChanged=function(){var e=this.columnModel.getRowGroupColumns();this.isRowGroupActive=!Object(b.missingOrEmpty)(e)},t.prototype.getContainer=function(){return this.eContainer},t.prototype.isInterestedIn=function(e){return e===v.b.RowDrag},t.prototype.getIconName=function(){return this.gridOptionsWrapper.isRowDragManaged()&&this.shouldPreventRowMove()?v.a.ICON_NOT_ALLOWED:v.a.ICON_MOVE},t.prototype.shouldPreventRowMove=function(){return this.isGridSorted||this.isGridFiltered||this.isRowGroupActive},t.prototype.getRowNodes=function(e){var t=this;if(!this.isFromThisGrid(e))return e.dragItem.rowNodes||[];var r=this.gridOptionsWrapper.isRowDragMultiRow(),o=x(this.selectionService.getSelectedNodes()).sort((function(e,r){return null==e.rowIndex||null==r.rowIndex?0:t.getRowIndexNumber(e)-t.getRowIndexNumber(r)})),n=e.dragItem.rowNode;return r&&-1!==o.indexOf(n)?(this.isMultiRowDrag=!0,o):(this.isMultiRowDrag=!1,[n])},t.prototype.onDragEnter=function(e){e.dragItem.rowNodes=this.getRowNodes(e),this.dispatchGridEvent(l.a.EVENT_ROW_DRAG_ENTER,e),this.getRowNodes(e).forEach((function(e){e.setDragging(!0)})),this.onEnterOrDragging(e)},t.prototype.onDragging=function(e){this.onEnterOrDragging(e)},t.prototype.isFromThisGrid=function(e){return e.dragSource.dragSourceDomDataKey===this.gridOptionsWrapper.getDomDataKey()},t.prototype.isDropZoneWithinThisGrid=function(e){var t=this.ctrlsService.getGridBodyCtrl().getGui(),r=e.dropZoneTarget;return!t.contains(r)},t.prototype.onEnterOrDragging=function(e){this.dispatchGridEvent(l.a.EVENT_ROW_DRAG_MOVE,e),this.lastDraggingEvent=e;var t=this.mouseEventService.getNormalisedPosition(e).y;this.gridOptionsWrapper.isRowDragManaged()&&this.doManagedDrag(e,t),this.autoScrollService.check(e.event)},t.prototype.doManagedDrag=function(e,t){var r=this.isFromThisGrid(e),o=this.gridOptionsWrapper.isRowDragManaged(),n=e.dragItem.rowNodes;o&&this.shouldPreventRowMove()||(this.gridOptionsWrapper.isSuppressMoveWhenRowDragging()||!r?this.isDropZoneWithinThisGrid(e)||this.clientSideRowModel.highlightRowAtPixel(n[0],t):this.moveRows(n,t))},t.prototype.getRowIndexNumber=function(e){return parseInt(Object(m.last)(e.getRowIndexString().split("-")),10)},t.prototype.moveRowAndClearHighlight=function(e){var t=this,r=this.clientSideRowModel.getLastHighlightedRowNode(),o=r&&r.highlighted===y.a.Below,n=this.mouseEventService.getNormalisedPosition(e).y,i=e.dragItem.rowNodes,a=o?1:0;if(this.isFromThisGrid(e))i.forEach((function(e){e.rowTop<n&&(a-=1)})),this.moveRows(i,n,a);else{var s=this.gridOptionsWrapper.getRowIdFunc(),l=this.clientSideRowModel.getRowIndexAtPixel(n)+1;this.clientSideRowModel.getHighlightPosition(n)===y.a.Above&&l--,this.clientSideRowModel.updateRowData({add:i.map((function(e){return e.data})).filter((function(e){return!t.clientSideRowModel.getRowNode(s?s({data:e,level:0}):e.id)})),addIndex:l})}this.clearRowHighlight()},t.prototype.clearRowHighlight=function(){this.clientSideRowModel.highlightRowAtPixel(null)},t.prototype.moveRows=function(e,t,r){void 0===r&&(r=0),this.clientSideRowModel.ensureRowsAtPixel(e,t,r)&&(this.focusService.clearFocusedCell(),this.rangeService&&this.rangeService.removeAllCellRanges())},t.prototype.addRowDropZone=function(e){var t=this;if(e.getContainer())if(this.dragAndDropService.findExternalZone(e))console.warn("AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.");else{var r={getContainer:e.getContainer};e.fromGrid?(e.fromGrid=void 0,r=e):(e.onDragEnter&&(r.onDragEnter=function(r){e.onDragEnter(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_ENTER,r))}),e.onDragLeave&&(r.onDragLeave=function(r){e.onDragLeave(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_LEAVE,r))}),e.onDragging&&(r.onDragging=function(r){e.onDragging(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_MOVE,r))}),e.onDragStop&&(r.onDragStop=function(r){e.onDragStop(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_END,r))})),this.dragAndDropService.addDropTarget(O({isInterestedIn:function(e){return e===v.b.RowDrag},getIconName:function(){return v.a.ICON_MOVE},external:!0},r))}else Object(u.doOnce)((function(){return console.warn("AG Grid: addRowDropZone - A container target needs to be provided")}),"add-drop-zone-empty-target")},t.prototype.getRowDropZone=function(e){var t=this,r=this.getContainer.bind(this),o=this.onDragEnter.bind(this),n=this.onDragLeave.bind(this),i=this.onDragging.bind(this),a=this.onDragStop.bind(this);return e?{getContainer:r,onDragEnter:e.onDragEnter?function(r){o(r),e.onDragEnter(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_ENTER,r))}:o,onDragLeave:e.onDragLeave?function(r){n(r),e.onDragLeave(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_LEAVE,r))}:n,onDragging:e.onDragging?function(r){i(r),e.onDragging(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_MOVE,r))}:i,onDragStop:e.onDragStop?function(r){a(r),e.onDragStop(t.draggingToRowDragEvent(l.a.EVENT_ROW_DRAG_END,r))}:a,fromGrid:!0}:{getContainer:r,onDragEnter:o,onDragLeave:n,onDragging:i,onDragStop:a,fromGrid:!0}},t.prototype.draggingToRowDragEvent=function(e,t){var r,o,n=this.mouseEventService.getNormalisedPosition(t).y,i=-1;switch(n>this.paginationProxy.getCurrentPageHeight()||(i=this.rowModel.getRowIndexAtPixel(n),r=this.rowModel.getRow(i)),t.vDirection){case v.d.Down:o="down";break;case v.d.Up:o="up";break;default:o=null}return{type:e,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),event:t.event,node:t.dragItem.rowNode,nodes:t.dragItem.rowNodes,overIndex:i,overNode:r,y:n,vDirection:o}},t.prototype.dispatchGridEvent=function(e,t){var r=this.draggingToRowDragEvent(e,t);this.eventService.dispatchEvent(r)},t.prototype.onDragLeave=function(e){this.dispatchGridEvent(l.a.EVENT_ROW_DRAG_LEAVE,e),this.stopDragging(e),this.gridOptionsWrapper.isRowDragManaged()&&this.clearRowHighlight(),this.isFromThisGrid(e)&&(this.isMultiRowDrag=!1)},t.prototype.onDragStop=function(e){this.dispatchGridEvent(l.a.EVENT_ROW_DRAG_END,e),this.stopDragging(e),!this.gridOptionsWrapper.isRowDragManaged()||!this.gridOptionsWrapper.isSuppressMoveWhenRowDragging()&&this.isFromThisGrid(e)||this.isDropZoneWithinThisGrid(e)||this.moveRowAndClearHighlight(e)},t.prototype.stopDragging=function(e){this.autoScrollService.ensureCleared(),this.getRowNodes(e).forEach((function(e){e.setDragging(!1)}))},S([Object(a.a)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),S([Object(a.a)("rowModel")],t.prototype,"rowModel",void 0),S([Object(a.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),S([Object(a.a)("columnModel")],t.prototype,"columnModel",void 0),S([Object(a.a)("focusService")],t.prototype,"focusService",void 0),S([Object(a.a)("sortController")],t.prototype,"sortController",void 0),S([Object(a.a)("filterManager")],t.prototype,"filterManager",void 0),S([Object(a.a)("selectionService")],t.prototype,"selectionService",void 0),S([Object(a.a)("mouseEventService")],t.prototype,"mouseEventService",void 0),S([Object(a.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),S([Object(a.d)("rangeService")],t.prototype,"rangeService",void 0),S([a.e],t.prototype,"postConstruct",null),t}(i.a),T=r(36),A=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),P=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e.ANIMATION_ON="ag-row-animation",e.ANIMATION_OFF="ag-row-no-animation"}(n||(n={}));var _="ag-selectable",D="ag-force-vertical-scroll",M="ag-column-moving",N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.stickyTopHeight=0,t}return A(t,e),t.prototype.getScrollFeature=function(){return this.bodyScrollFeature},t.prototype.getBodyViewportElement=function(){return this.eBodyViewport},t.prototype.setComp=function(e,t,r,o,n,i){this.comp=e,this.eGridBody=t,this.eBodyViewport=r,this.eTop=o,this.eBottom=n,this.eStickyTop=i,this.setCellTextSelection(this.gridOptionsWrapper.isEnableCellTextSelect()),this.createManagedBean(new s.b(this.comp)),this.bodyScrollFeature=this.createManagedBean(new f(this.eBodyViewport)),this.addRowDragListener(),this.setupRowAnimationCssClass(),this.addEventListeners(),this.addFocusListeners([o,r,n,i]),this.onGridColumnsChanged(),this.addBodyViewportListener(),this.setFloatingHeights(),this.disableBrowserDragging(),this.addStopEditingWhenGridLosesFocus(),this.ctrlsService.registerGridBodyCtrl(this)},t.prototype.getComp=function(){return this.comp},t.prototype.addEventListeners=function(){this.addManagedListener(this.eventService,l.a.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_HEADER_HEIGHT_CHANGED,this.onHeaderHeightChanged.bind(this))},t.prototype.addFocusListeners=function(e){var t=this;e.forEach((function(e){t.addManagedListener(e,"focusin",(function(t){var r=t.target,o=Object(c.isElementChildOfClass)(r,"ag-root",e);e.classList.toggle("ag-has-focus",!o)})),t.addManagedListener(e,"focusout",(function(t){var r=t.target,o=t.relatedTarget,n=e.contains(o),i=Object(c.isElementChildOfClass)(o,"ag-root",e);Object(c.isElementChildOfClass)(r,"ag-root",e)||n&&!i||e.classList.remove("ag-has-focus")}))}))},t.prototype.setColumnMovingCss=function(e){this.comp.setColumnMovingCss(e?M:null,e)},t.prototype.setCellTextSelection=function(e){void 0===e&&(e=!1);var t=e?_:null;this.comp.setCellSelectableCss(t,e)},t.prototype.onScrollVisibilityChanged=function(){var e=this.scrollVisibleService.isVerticalScrollShowing();this.setVerticalScrollPaddingVisible(e),this.setStickyTopWidth(e)},t.prototype.onGridColumnsChanged=function(){var e=this.columnModel.getAllGridColumns();this.comp.setColumnCount(e?e.length:0)},t.prototype.disableBrowserDragging=function(){this.addManagedListener(this.eGridBody,"dragstart",(function(e){if(e.target instanceof HTMLImageElement)return e.preventDefault(),!1}))},t.prototype.addStopEditingWhenGridLosesFocus=function(){var e=this;if(this.gridOptionsWrapper.isStopEditingWhenCellsLoseFocus()){var t=function(t){var o=t.relatedTarget;if(null!==Object(p.getTabIndex)(o)){var n=r.some((function(e){return e.contains(o)}))&&e.mouseEventService.isElementInThisGrid(o);if(!n){var i=e.popupService;n=i.getActivePopups().some((function(e){return e.contains(o)}))||i.isElementWithinCustomPopup(o)}n||e.rowRenderer.stopEditing()}else e.rowRenderer.stopEditing()},r=[this.eBodyViewport,this.eBottom,this.eTop,this.eStickyTop];r.forEach((function(r){return e.addManagedListener(r,"focusout",t)}))}},t.prototype.updateRowCount=function(){var e=this.headerNavigationService.getHeaderRowCount(),t=this.rowModel.isLastRowIndexKnown()?this.rowModel.getRowCount():-1,r=-1===t?-1:e+t;this.comp.setRowCount(r)},t.prototype.registerBodyViewportResizeListener=function(e){this.comp.registerBodyViewportResizeListener(e)},t.prototype.setVerticalScrollPaddingVisible=function(e){var t=e?"scroll":"hidden";this.comp.setPinnedTopBottomOverflowY(t)},t.prototype.isVerticalScrollShowing=function(){var e=this.gridOptionsWrapper.isAlwaysShowVerticalScroll(),t=e?D:null,r=this.gridOptionsWrapper.getDomLayout()===d.a.DOM_LAYOUT_NORMAL;return this.comp.setAlwaysVerticalScrollClass(t,e),e||r&&Object(c.isVerticalScrollShowing)(this.eBodyViewport)},t.prototype.setupRowAnimationCssClass=function(){var e=this,t=function(){var t=e.gridOptionsWrapper.isAnimateRows()&&!e.rowContainerHeightService.isStretching(),r=t?n.ANIMATION_ON:n.ANIMATION_OFF;e.comp.setRowAnimationCssOnBodyViewport(r,t)};t(),this.addManagedListener(this.eventService,l.a.EVENT_HEIGHT_SCALE_CHANGED,t)},t.prototype.getGridBodyElement=function(){return this.eGridBody},t.prototype.addBodyViewportListener=function(){var e=this,t=function(t,r,o){if(t||o){if(e.gridOptionsWrapper.isPreventDefaultOnContextMenu())(t||o).preventDefault();var n=(t||r).target;n!==e.eBodyViewport&&n!==e.ctrlsService.getCenterRowContainerCtrl().getViewportElement()||e.contextMenuFactory&&(t?e.contextMenuFactory.onContextMenu(t,null,null,null,null,e.eGridBody):o&&e.contextMenuFactory.onContextMenu(null,o,null,null,null,e.eGridBody))}};this.addManagedListener(this.eBodyViewport,"contextmenu",t),this.mockContextMenuForIPad(t),this.addManagedListener(this.eBodyViewport,"wheel",this.onBodyViewportWheel.bind(this)),this.addManagedListener(this.eStickyTop,"wheel",this.onStickyTopWheel.bind(this))},t.prototype.mockContextMenuForIPad=function(e){if(Object(p.isIOSUserAgent)()){var t=new T.a(this.eBodyViewport);this.addManagedListener(t,T.a.EVENT_LONG_TAP,(function(t){e(void 0,t.touchStart,t.touchEvent)})),this.addDestroyFunc((function(){return t.destroy()}))}},t.prototype.onBodyViewportWheel=function(e){this.gridOptionsWrapper.isSuppressScrollWhenPopupsAreOpen()&&this.popupService.hasAnchoredPopup()&&e.preventDefault()},t.prototype.onStickyTopWheel=function(e){e.preventDefault(),e.offsetY&&this.scrollVertically(e.deltaY)},t.prototype.getGui=function(){return this.eGridBody},t.prototype.scrollVertically=function(e){var t=this.eBodyViewport.scrollTop;return this.bodyScrollFeature.setVerticalScrollPosition(t+e),this.eBodyViewport.scrollTop-t},t.prototype.addRowDragListener=function(){this.rowDragFeature=this.createManagedBean(new R(this.eBodyViewport)),this.dragAndDropService.addDropTarget(this.rowDragFeature)},t.prototype.getRowDragFeature=function(){return this.rowDragFeature},t.prototype.onPinnedRowDataChanged=function(){this.setFloatingHeights()},t.prototype.setFloatingHeights=function(){var e=this.pinnedRowModel,t=e.getPinnedTopTotalHeight();t&&(t+=1);var r=e.getPinnedBottomTotalHeight();r&&(r+=1),this.comp.setTopHeight(t),this.comp.setBottomHeight(r),this.comp.setTopDisplay(t?"inherit":"none"),this.comp.setBottomDisplay(r?"inherit":"none"),this.setStickyTopOffsetTop()},t.prototype.setStickyTopHeight=function(e){void 0===e&&(e=0),this.comp.setStickyTopHeight(e+"px"),this.stickyTopHeight=e},t.prototype.getStickyTopHeight=function(){return this.stickyTopHeight},t.prototype.setStickyTopWidth=function(e){if(e){var t=this.gridOptionsWrapper.getScrollbarWidth();this.comp.setStickyTopWidth("calc(100% - "+t+"px)")}else this.comp.setStickyTopWidth("100%")},t.prototype.onHeaderHeightChanged=function(){this.setStickyTopOffsetTop()},t.prototype.setStickyTopOffsetTop=function(){var e=this.ctrlsService.getGridHeaderCtrl().getHeaderHeight(),t=this.pinnedRowModel.getPinnedTopTotalHeight(),r=0;e>0&&(r+=e+1),t>0&&(r+=t+1),this.comp.setStickyTopTop(r+"px")},t.prototype.sizeColumnsToFit=function(e,t){var r=this,o=this.isVerticalScrollShowing()?this.gridOptionsWrapper.getScrollbarWidth():0,n=Object(c.getInnerWidth)(this.eBodyViewport)-o;n>0?this.columnModel.sizeColumnsToFit(n,"sizeColumnsToFit",!1,e):void 0===t?window.setTimeout((function(){r.sizeColumnsToFit(e,100)}),0):100===t?window.setTimeout((function(){r.sizeColumnsToFit(e,500)}),100):500===t?window.setTimeout((function(){r.sizeColumnsToFit(e,-1)}),500):console.warn("AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?")},t.prototype.addScrollEventListener=function(e){this.eBodyViewport.addEventListener("scroll",e)},t.prototype.removeScrollEventListener=function(e){this.eBodyViewport.removeEventListener("scroll",e)},P([Object(a.a)("rowContainerHeightService")],t.prototype,"rowContainerHeightService",void 0),P([Object(a.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),P([Object(a.a)("columnModel")],t.prototype,"columnModel",void 0),P([Object(a.a)("scrollVisibleService")],t.prototype,"scrollVisibleService",void 0),P([Object(a.d)("contextMenuFactory")],t.prototype,"contextMenuFactory",void 0),P([Object(a.a)("headerNavigationService")],t.prototype,"headerNavigationService",void 0),P([Object(a.a)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),P([Object(a.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),P([Object(a.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),P([Object(a.a)("popupService")],t.prototype,"popupService",void 0),P([Object(a.a)("mouseEventService")],t.prototype,"mouseEventService",void 0),P([Object(a.a)("rowModel")],t.prototype,"rowModel",void 0),t}(i.a)},function(e,t,r){"use strict";r.r(t),r.d(t,"SideBarModule",(function(){return E})),r.d(t,"ToolPanelColDefService",(function(){return S}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){var t=e.call(this,'<div class="ag-tool-panel-horizontal-resize"></div>')||this;return t.minWidth=100,t.maxWidth=null,t}return a(t,e),t.prototype.setElementToResize=function(e){this.elementToResize=e},t.prototype.postConstruct=function(){var e=this.horizontalResizeService.addResizeBar({eResizeBar:this.getGui(),dragStartPixels:1,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this),onResizeEnd:this.onResizeEnd.bind(this)});this.addDestroyFunc(e),this.setInverted(this.gridOptionsWrapper.isEnableRtl())},t.prototype.dispatchResizeEvent=function(e,t,r){var o={type:n.Events.EVENT_TOOL_PANEL_SIZE_CHANGED,width:r,started:e,ended:t};this.eventService.dispatchEvent(o)},t.prototype.onResizeStart=function(){this.startingWidth=this.elementToResize.offsetWidth,this.dispatchResizeEvent(!0,!1,this.startingWidth)},t.prototype.onResizeEnd=function(e){return this.onResizing(e,!0)},t.prototype.onResizing=function(e,t){void 0===t&&(t=!1);var r=this.inverted?-1:1,o=Math.max(this.minWidth,Math.floor(this.startingWidth-e*r));null!=this.maxWidth&&(o=Math.min(this.maxWidth,o)),this.elementToResize.style.width=o+"px",this.dispatchResizeEvent(!1,t,o)},t.prototype.setInverted=function(e){this.inverted=e},t.prototype.setMaxWidth=function(e){this.maxWidth=e},t.prototype.setMinWidth=function(e){this.minWidth=null!=e?e:100},s([Object(n.Autowired)("horizontalResizeService")],t.prototype,"horizontalResizeService",void 0),s([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),c=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(t){var r=e.call(this)||this;return r.toolPanelDef=t,r}return c(t,e),t.prototype.getToolPanelId=function(){return this.toolPanelDef.id},t.prototype.postConstruct=function(){var e=this.createTemplate();this.setTemplate(e),this.setLabel(),this.setIcon(),this.addManagedListener(this.eToggleButton,"click",this.onButtonPressed.bind(this))},t.prototype.createTemplate=function(){return'<div class="ag-side-button" role="presentation">\n <button type="button" ref="eToggleButton" tabindex="-1" role="tab" class="ag-side-button-button">\n <div ref="eIconWrapper" class="ag-side-button-icon-wrapper" aria-hidden="true"></div>\n <span ref ="eLabel" class="ag-side-button-label"></span>\n </button>\n </div>'},t.prototype.setLabel=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=this.toolPanelDef,r=e(t.labelKey,t.labelDefault);this.eLabel.innerText=r},t.prototype.setIcon=function(){this.eIconWrapper.insertAdjacentElement("afterbegin",n._.createIconNoSpan(this.toolPanelDef.iconKey,this.gridOptionsWrapper))},t.prototype.onButtonPressed=function(){this.dispatchEvent({type:t.EVENT_TOGGLE_BUTTON_CLICKED})},t.prototype.setSelected=function(e){this.addOrRemoveCssClass("ag-selected",e)},t.EVENT_TOGGLE_BUTTON_CLICKED="toggleButtonClicked",u([Object(n.RefSelector)("eToggleButton")],t.prototype,"eToggleButton",void 0),u([Object(n.RefSelector)("eIconWrapper")],t.prototype,"eIconWrapper",void 0),u([Object(n.RefSelector)("eLabel")],t.prototype,"eLabel",void 0),u([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.buttonComps=[],r}return d(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.getFocusableElement(),"keydown",this.handleKeyDown.bind(this))},t.prototype.handleKeyDown=function(e){if(e.key===n.KeyCode.TAB&&e.shiftKey){var t=n._.last(this.columnModel.getAllDisplayedColumns());this.focusService.focusGridView(t,!0)&&e.preventDefault()}},t.prototype.setToolPanelDefs=function(e){e.forEach(this.addButtonComp.bind(this))},t.prototype.setActiveButton=function(e){this.buttonComps.forEach((function(t){t.setSelected(e===t.getToolPanelId())}))},t.prototype.addButtonComp=function(e){var r=this,o=this.createBean(new p(e));this.buttonComps.push(o),this.appendChild(o),o.addEventListener(p.EVENT_TOGGLE_BUTTON_CLICKED,(function(){r.dispatchEvent({type:t.EVENT_SIDE_BAR_BUTTON_CLICKED,toolPanelId:e.id})}))},t.prototype.clearButtons=function(){this.buttonComps=this.destroyBeans(this.buttonComps),n._.clearElement(this.getGui())},t.EVENT_SIDE_BAR_BUTTON_CLICKED="sideBarButtonClicked",t.TEMPLATE='<div class="ag-side-buttons" role="tablist"></div>',g([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),g([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),g([n.PostConstruct],t.prototype,"postConstruct",null),g([n.PreDestroy],t.prototype,"clearButtons",null),t}(n.Component),f=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return f(t,e),t.prototype.setupResize=function(){var e=this.getGui(),t=this.resizeBar=this.createManagedBean(new l);t.setElementToResize(e),this.appendChild(t)},t.prototype.getToolPanelId=function(){return this.toolPanelId},t.prototype.setToolPanelDef=function(e){var t=e.id,r=e.minWidth,o=e.maxWidth,n=e.width;this.toolPanelId=t,this.width=n;var i=this.userComponentFactory.getToolPanelCompDetails(e,{}).newAgStackInstance();null!=i?(i.then(this.setToolPanelComponent.bind(this)),null!=r&&this.resizeBar.setMinWidth(r),null!=o&&this.resizeBar.setMaxWidth(o)):console.warn("AG Grid: error processing tool panel component "+t+". You need to specify either 'toolPanel' or 'toolPanelFramework'")},t.prototype.setToolPanelComponent=function(e){var t=this;this.toolPanelCompInstance=e,this.appendChild(e.getGui()),this.addDestroyFunc((function(){t.destroyBean(e)})),this.width&&(this.getGui().style.width=this.width+"px")},t.prototype.getToolPanelInstance=function(){return this.toolPanelCompInstance},t.prototype.setResizerSizerSide=function(e){var t="left"===e,r=this.gridOptionsWrapper.isEnableRtl()?t:!t;this.resizeBar.setInverted(r)},t.prototype.refresh=function(){this.toolPanelCompInstance.refresh()},t.TEMPLATE='<div class="ag-tool-panel-wrapper"/>',v([Object(n.Autowired)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),v([n.PostConstruct],t.prototype,"setupResize",null),t}(n.Component),m=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.toolPanelWrappers=[],r}return m(t,e),t.prototype.postConstruct=function(){var e=this;this.sideBarButtonsComp.addEventListener(h.EVENT_SIDE_BAR_BUTTON_CLICKED,this.onToolPanelButtonClicked.bind(this)),this.setSideBarDef(),this.gridOptionsWrapper.addEventListener("sideBar",(function(){e.clearDownUi(),e.setSideBarDef()})),this.gridApi.registerSideBarComp(this),this.createManagedBean(new n.ManagedFocusFeature(this.getFocusableElement(),{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this)}))},t.prototype.onTabKeyDown=function(e){if(!e.defaultPrevented){var t=this.focusService,r=this.sideBarButtonsComp,o=this.getGui(),n=r.getGui(),i=this.gridOptionsWrapper.getDocument().activeElement,a=o.querySelector(".ag-tool-panel-wrapper:not(.ag-hidden)");if(a)if(n.contains(i))t.focusInto(a,e.shiftKey)&&e.preventDefault();else if(!t.isFocusUnderManagedComponent(a)&&e.shiftKey){var s=t.findFocusableElements(a)[0];if(this.gridOptionsWrapper.getDocument().activeElement===s){var l=n.querySelector(".ag-selected button");l&&(e.preventDefault(),l.focus())}}}},t.prototype.handleKeyDown=function(e){var t=this.gridOptionsWrapper.getDocument();if(this.sideBarButtonsComp.getGui().contains(t.activeElement)){var r=this.sideBarButtonsComp.getGui(),o=Array.prototype.slice.call(r.querySelectorAll(".ag-side-button")),i=t.activeElement,a=o.findIndex((function(e){return e.contains(i)})),s=null;switch(e.key){case n.KeyCode.LEFT:case n.KeyCode.UP:s=Math.max(0,a-1);break;case n.KeyCode.RIGHT:case n.KeyCode.DOWN:s=Math.min(a+1,o.length-1)}if(null!==s){var l=o[s].querySelector("button");l&&(l.focus(),e.preventDefault())}}},t.prototype.onToolPanelButtonClicked=function(e){var t=e.toolPanelId;this.openedItem()===t?this.openToolPanel(void 0):this.openToolPanel(t)},t.prototype.clearDownUi=function(){this.sideBarButtonsComp.clearButtons(),this.destroyToolPanelWrappers()},t.prototype.setSideBarDef=function(){this.setDisplayed(!1);var e=this.gridOptionsWrapper.getSideBar(),t=!!e&&!!e.toolPanels;if(t){var r=t&&!e.hiddenByDefault;this.setDisplayed(r);var o=e.toolPanels;this.sideBarButtonsComp.setToolPanelDefs(o),this.setupToolPanels(o),this.setSideBarPosition(e.position),e.hiddenByDefault||this.openToolPanel(e.defaultToolPanel)}},t.prototype.setSideBarPosition=function(e){e||(e="right");var t="left"===e,r=t?"right":"left";return this.addOrRemoveCssClass("ag-side-bar-left",t),this.addOrRemoveCssClass("ag-side-bar-right",!t),this.toolPanelWrappers.forEach((function(e){e.setResizerSizerSide(r)})),this},t.prototype.setupToolPanels=function(e){var t=this;e.forEach((function(e){if(null!=e.id){if("agColumnsToolPanel"===e.toolPanel)if(!n.ModuleRegistry.assertRegistered(n.ModuleNames.ColumnToolPanelModule,"Column Tool Panel"))return;if("agFiltersToolPanel"===e.toolPanel)if(!n.ModuleRegistry.assertRegistered(n.ModuleNames.FiltersToolPanelModule,"Filters Tool Panel"))return;var r=new y;t.getContext().createBean(r),r.setToolPanelDef(e),r.setDisplayed(!1),t.getGui().appendChild(r.getGui()),t.toolPanelWrappers.push(r)}else console.warn("AG Grid: please review all your toolPanel components, it seems like at least one of them doesn't have an id")}))},t.prototype.refresh=function(){this.toolPanelWrappers.forEach((function(e){return e.refresh()}))},t.prototype.openToolPanel=function(e){var t=this.openedItem();t!==e&&(this.toolPanelWrappers.forEach((function(t){var r=e===t.getToolPanelId();t.setDisplayed(r)})),t!==this.openedItem()&&(this.sideBarButtonsComp.setActiveButton(e),this.raiseToolPanelVisibleEvent(e)))},t.prototype.getToolPanelInstance=function(e){var t=this.toolPanelWrappers.filter((function(t){return t.getToolPanelId()===e}))[0];if(t)return t.getToolPanelInstance();console.warn("AG Grid: unable to lookup Tool Panel as invalid key supplied: "+e)},t.prototype.raiseToolPanelVisibleEvent=function(e){var t={type:n.Events.EVENT_TOOL_PANEL_VISIBLE_CHANGED,source:e};this.eventService.dispatchEvent(t)},t.prototype.close=function(){this.openToolPanel(void 0)},t.prototype.isToolPanelShowing=function(){return!!this.openedItem()},t.prototype.openedItem=function(){var e=null;return this.toolPanelWrappers.forEach((function(t){t.isDisplayed()&&(e=t.getToolPanelId())})),e},t.prototype.destroyToolPanelWrappers=function(){var e=this;this.toolPanelWrappers.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)})),this.toolPanelWrappers.length=0},t.prototype.destroy=function(){this.destroyToolPanelWrappers(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-side-bar ag-unselectable">\n <ag-side-bar-buttons ref="sideBarButtons"></ag-side-bar-buttons>\n </div>',b([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),b([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),b([Object(n.RefSelector)("sideBarButtons")],t.prototype,"sideBarButtonsComp",void 0),b([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),O=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isColGroupDef=function(e){return e&&void 0!==e.children},t.getId=function(e){return t.isColGroupDef(e)?e.groupId:e.colId},t}return C(t,e),t.prototype.createColumnTree=function(e){var t=this,r=[],o=function(e,i){if(t.isColGroupDef(e)){var a=e,s=void 0!==a.groupId?a.groupId:a.headerName,l=new n.ProvidedColumnGroup(a,s,!1,i),c=[];return a.children.forEach((function(e){var t=o(e,i+1);t&&c.push(t)})),l.setChildren(c),l}var u=e,p=u.colId?u.colId:u.field,d=t.columnModel.getPrimaryColumn(p);return d||r.push(u),d},i=[];return e.forEach((function(e){var t=o(e,0);t&&i.push(t)})),r.length>0&&console.warn("AG Grid: unable to find grid columns for the supplied colDef(s):",r),i},t.prototype.syncLayoutWithGrid=function(e){var t=this.getLeafPathTrees();e(this.mergeLeafPathTrees(t))},t.prototype.getLeafPathTrees=function(){var e=function(t,r){var o;if(t instanceof n.ProvidedColumnGroup)if(t.isPadding())o=r;else{var i=Object.assign({},t.getColGroupDef());i.groupId=t.getGroupId(),i.children=[r],o=i}else{var a=Object.assign({},t.getColDef());a.colId=t.getColId(),o=a}var s=t.getOriginalParent();return s?e(s,o):o};return this.columnModel.getAllGridColumns().filter((function(e){var t=e.getColDef();return e.isPrimary()&&!t.showRowGroup})).map((function(t){return e(t,t.getColDef())}))},t.prototype.mergeLeafPathTrees=function(e){for(var t,r,o=this,n=function(e,t){if(!o.isColGroupDef(t))return e;var r=e,i=t;if(i.children&&i.groupId&&o.addChildrenToGroup(r,i.groupId,i.children[0]))return r;return i.children.forEach((function(e){return n(r,e)})),r},i=[],a=1;a<=e.length;a++){var s=e[a-1],l=e[a];t=s,r=l,o.isColGroupDef(t)&&o.isColGroupDef(r)&&o.getId(t)===o.getId(r)?e[a]=n(s,l):i.push(s)}return i},t.prototype.addChildrenToGroup=function(e,t,r){var o=this;if(!this.isColGroupDef(e))return!0;var i=e,a=r;if(function(e,t){var r=e.children.map(o.getId),i=n._.includes(r,o.getId(t)),a=n._.last(e.children),s=a&&o.getId(a)!==o.getId(t);return i&&s}(i,a))return i.children.push(a),!0;if(i.groupId===t){var s=i.children.map(this.getId);if(!n._.includes(s,this.getId(a)))return i.children.push(a),!0}return i.children.forEach((function(e){return o.addChildrenToGroup(e,t,r)})),!1},O([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t=O([Object(n.Bean)("toolPanelColDefService")],t)}(n.BeanStub),E={moduleName:n.ModuleNames.SideBarModule,beans:[S],agStackComponents:[{componentName:"AgHorizontalResize",componentClass:l},{componentName:"AgSideBar",componentClass:w},{componentName:"AgSideBarButtons",componentClass:h}],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(1),i=r(5),a=r(13),s={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose One",equals:"Equals",notEqual:"Not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"In range",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equals",greaterThanOrEqual:"Greater than or equals",contains:"Contains",notContains:"Not contains",startsWith:"Starts with",endsWith:"Ends with",blank:"Blank",notBlank:"Not blank",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd"},l=r(39),c=r(87),u=r(15),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(t){var r=e.call(this)||this;return r.filterNameKey=t,r.applyActive=!1,r.hidePopup=null,r.appliedModel=null,r}return p(t,e),t.prototype.postConstruct=function(){this.resetTemplate(),this.createManagedBean(new l.a(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)}))},t.prototype.handleKeyDown=function(e){},t.prototype.getFilterTitle=function(){return this.translate(this.filterNameKey)},t.prototype.isFilterActive=function(){return!!this.appliedModel},t.prototype.resetTemplate=function(e){var t=this.getGui();t&&t.removeEventListener("submit",this.onFormSubmit);var r='\n <form class="ag-filter-wrapper">\n <div class="ag-filter-body-wrapper ag-'+this.getCssIdentifier()+'-body-wrapper">\n '+this.createBodyTemplate()+"\n </div>\n </form>";this.setTemplate(r,e),(t=this.getGui())&&t.addEventListener("submit",this.onFormSubmit)},t.prototype.isReadOnly=function(){return!!this.providedFilterParams.readOnly},t.prototype.init=function(e){var t=this;this.setParams(e),this.resetUiToDefaults(!0).then((function(){t.updateUiVisibility(),t.setupOnBtApplyDebounce()}))},t.prototype.setParams=function(e){this.providedFilterParams=e,this.applyActive=t.isUseApplyButton(e),this.createButtonPanel()},t.prototype.createButtonPanel=function(){var e=this,t=this.providedFilterParams.buttons;if(!(!t||t.length<1||this.isReadOnly())){var r=document.createElement("div");r.classList.add("ag-filter-apply-panel");Object(c.convertToSet)(t).forEach((function(t){return function(t){var o,n;switch(t){case"apply":o=e.translate("applyFilter"),n=function(t){return e.onBtApply(!1,!1,t)};break;case"clear":o=e.translate("clearFilter"),n=function(){return e.onBtClear()};break;case"reset":o=e.translate("resetFilter"),n=function(){return e.onBtReset()};break;case"cancel":o=e.translate("cancelFilter"),n=function(t){e.onBtCancel(t)};break;default:return void console.warn("AG Grid: Unknown button type specified")}var a="apply"===t?"submit":"button",s=Object(i.loadTemplate)('<button\n type="'+a+'"\n ref="'+t+'FilterButton"\n class="ag-standard-button ag-filter-apply-panel-button"\n >'+o+"\n </button>");r.appendChild(s),e.addManagedListener(s,"click",n)}(t)})),this.getGui().appendChild(r)}},t.prototype.getDefaultDebounceMs=function(){return 0},t.prototype.setupOnBtApplyDebounce=function(){var e=t.getDebounceMs(this.providedFilterParams,this.getDefaultDebounceMs());this.onBtApplyDebounce=Object(a.debounce)(this.onBtApply.bind(this),e)},t.prototype.getModel=function(){return this.appliedModel?this.appliedModel:null},t.prototype.setModel=function(e){var t=this;return(null!=e?this.setModelIntoUi(e):this.resetUiToDefaults()).then((function(){t.updateUiVisibility(),t.applyModel()}))},t.prototype.onBtCancel=function(e){var t=this,r=this.getModel(),o=function(){t.onUiChanged(!1,"prevent"),t.providedFilterParams.closeOnApply&&t.close(e)};null!=r?this.setModelIntoUi(r).then(o):this.resetUiToDefaults().then(o)},t.prototype.onBtClear=function(){var e=this;this.resetUiToDefaults().then((function(){return e.onUiChanged()}))},t.prototype.onBtReset=function(){this.onBtClear(),this.onBtApply()},t.prototype.applyModel=function(){var e=this.getModelFromUi();if(!this.isModelValid(e))return!1;var t=this.appliedModel;return this.appliedModel=e,!this.areModelsEqual(t,e)},t.prototype.isModelValid=function(e){return!0},t.prototype.onFormSubmit=function(e){e.preventDefault()},t.prototype.onBtApply=function(e,t,r){void 0===e&&(e=!1),void 0===t&&(t=!1),r&&r.preventDefault(),this.applyModel()&&this.providedFilterParams.filterChangedCallback({afterFloatingFilter:e,afterDataChange:t}),this.providedFilterParams.closeOnApply&&this.applyActive&&!e&&!t&&this.close(r)},t.prototype.onNewRowsLoaded=function(){},t.prototype.close=function(e){if(this.hidePopup){var t,r=e,o=r&&r.key;"Enter"!==o&&"Space"!==o||(t={keyboardEvent:r}),this.hidePopup(t),this.hidePopup=null}},t.prototype.onUiChanged=function(e,t){if(void 0===e&&(e=!1),this.updateUiVisibility(),this.providedFilterParams.filterModifiedCallback(),this.applyActive&&!this.isReadOnly){var r=this.isModelValid(this.getModelFromUi());Object(i.setDisabled)(this.getRefElement("applyFilterButton"),!r)}e&&!t||"immediately"===t?this.onBtApply(e):(this.applyActive||t)&&"debounce"!==t||this.onBtApplyDebounce()},t.prototype.afterGuiAttached=function(e){null!=e&&(this.hidePopup=e.hidePopup)},t.getDebounceMs=function(e,r){return t.isUseApplyButton(e)?(null!=e.debounceMs&&console.warn("AG Grid: debounceMs is ignored when apply button is present"),0):null!=e.debounceMs?e.debounceMs:r},t.isUseApplyButton=function(e){return!!e.buttons&&e.buttons.indexOf("apply")>=0},t.prototype.destroy=function(){var t=this.getGui();t&&t.removeEventListener("submit",this.onFormSubmit),this.hidePopup=null,e.prototype.destroy.call(this)},t.prototype.translate=function(e){return this.gridOptionsWrapper.getLocaleTextFunc()(e,s[e])},t.prototype.getCellValue=function(e){var t=this.providedFilterParams,r=t.api,o=t.colDef,n=t.column,i=t.columnApi,a=t.context;return this.providedFilterParams.valueGetter({api:r,colDef:o,column:n,columnApi:i,context:a,data:e.data,getValue:function(t){return e.data[t]},node:e})},d([Object(n.a)("rowModel")],t.prototype,"rowModel",void 0),d([n.e],t.prototype,"postConstruct",null),t}(u.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n,i=r(1),a=r(6),s=r(2),l=r(18),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(){return(u=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.NOTHING=0]="NOTHING",e[e.WAITING_TO_SHOW=1]="WAITING_TO_SHOW",e[e.SHOWING=2]="SHOWING"}(n||(n={}));var d=function(e){function t(t){var r=e.call(this)||this;return r.DEFAULT_SHOW_TOOLTIP_DELAY=2e3,r.DEFAULT_HIDE_TOOLTIP_DELAY=1e4,r.SHOW_QUICK_TOOLTIP_DIFF=1e3,r.FADE_OUT_TOOLTIP_TIMEOUT=1e3,r.state=n.NOTHING,r.tooltipInstanceCount=0,r.tooltipMouseTrack=!1,r.parentComp=t,r}return c(t,e),t.prototype.postConstruct=function(){this.tooltipShowDelay=this.gridOptionsWrapper.getTooltipDelay("show")||this.DEFAULT_SHOW_TOOLTIP_DELAY,this.tooltipHideDelay=this.gridOptionsWrapper.getTooltipDelay("hide")||this.DEFAULT_HIDE_TOOLTIP_DELAY,this.tooltipMouseTrack=this.gridOptionsWrapper.isTooltipMouseTrack();var e=this.parentComp.getGui();this.addManagedListener(e,"mouseenter",this.onMouseEnter.bind(this)),this.addManagedListener(e,"mouseleave",this.onMouseLeave.bind(this)),this.addManagedListener(e,"mousemove",this.onMouseMove.bind(this)),this.addManagedListener(e,"mousedown",this.onMouseDown.bind(this)),this.addManagedListener(e,"keydown",this.onKeyDown.bind(this))},t.prototype.destroy=function(){this.setToDoNothing(),e.prototype.destroy.call(this)},t.prototype.onMouseEnter=function(e){if(!Object(l.isIOSUserAgent)()&&this.state==n.NOTHING){var t=this.isLastTooltipHiddenRecently()?200:this.tooltipShowDelay;this.showTooltipTimeoutId=window.setTimeout(this.showTooltip.bind(this),t),this.lastMouseEvent=e,this.state=n.WAITING_TO_SHOW}},t.prototype.onMouseLeave=function(){this.setToDoNothing()},t.prototype.onKeyDown=function(){this.setToDoNothing()},t.prototype.setToDoNothing=function(){this.state===n.SHOWING&&this.hideTooltip(),this.clearTimeouts(),this.state=n.NOTHING},t.prototype.onMouseMove=function(e){this.lastMouseEvent=e,this.tooltipMouseTrack&&this.state===n.SHOWING&&this.tooltipComp&&this.positionTooltipUnderLastMouseEvent()},t.prototype.onMouseDown=function(){this.setToDoNothing()},t.prototype.hideTooltip=function(){this.tooltipComp&&(this.destroyTooltipComp(),t.lastTooltipHideTime=(new Date).getTime()),this.state=n.NOTHING},t.prototype.destroyTooltipComp=function(){var e=this;this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");var t=this.tooltipPopupDestroyFunc,r=this.tooltipComp;window.setTimeout((function(){t(),e.getContext().destroyBean(r)}),this.FADE_OUT_TOOLTIP_TIMEOUT),this.tooltipPopupDestroyFunc=void 0,this.tooltipComp=void 0},t.prototype.isLastTooltipHiddenRecently=function(){return(new Date).getTime()-t.lastTooltipHideTime<this.SHOW_QUICK_TOOLTIP_DIFF},t.prototype.showTooltip=function(){var e=u({},this.parentComp.getTooltipParams());if(Object(s.exists)(e.value)){this.state=n.SHOWING,this.tooltipInstanceCount++;var t=this.newTooltipComponentCallback.bind(this,this.tooltipInstanceCount);this.userComponentFactory.getTooltipCompDetails(e).newAgStackInstance().then(t)}else this.setToDoNothing()},t.prototype.newTooltipComponentCallback=function(e,t){if(this.state!==n.SHOWING||this.tooltipInstanceCount!==e)this.getContext().destroyBean(t);else{var r=t.getGui();this.tooltipComp=t,r.classList.contains("ag-tooltip")||r.classList.add("ag-tooltip-custom");var o=this.gridOptionsWrapper.getLocaleTextFunc(),i=this.popupService.addPopup({eChild:r,ariaLabel:o("ariaLabelTooltip","Tooltip")});i&&(this.tooltipPopupDestroyFunc=i.hideFunc),this.positionTooltipUnderLastMouseEvent(),this.hideTooltipTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.tooltipHideDelay)}},t.prototype.positionTooltipUnderLastMouseEvent=function(){this.popupService.positionPopupUnderMouseEvent({type:"tooltip",mouseEvent:this.lastMouseEvent,ePopup:this.tooltipComp.getGui(),nudgeY:18,skipObserver:this.tooltipMouseTrack})},t.prototype.clearTimeouts=function(){this.showTooltipTimeoutId&&(window.clearTimeout(this.showTooltipTimeoutId),this.showTooltipTimeoutId=void 0),this.hideTooltipTimeoutId&&(window.clearTimeout(this.hideTooltipTimeoutId),this.hideTooltipTimeoutId=void 0)},p([Object(i.a)("popupService")],t.prototype,"popupService",void 0),p([Object(i.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),p([Object(i.a)("columnApi")],t.prototype,"columnApi",void 0),p([Object(i.a)("gridApi")],t.prototype,"gridApi",void 0),p([i.e],t.prototype,"postConstruct",null),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(7),i=r(29),a=r(2),s=r(24),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(){return(c=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return e.call(this,"textFilter")||this}return l(t,e),t.trimInput=function(e){var t=e&&e.trim();return""===t?e:t},t.prototype.getDefaultDebounceMs=function(){return 500},t.prototype.setParams=function(r){e.prototype.setParams.call(this,r),this.textFilterParams=r,this.matcher=this.getTextMatcher(),this.formatter=this.textFilterParams.textFormatter||(this.textFilterParams.caseSensitive?t.DEFAULT_FORMATTER:t.DEFAULT_LOWERCASE_FORMATTER)},t.prototype.getTextMatcher=function(){var e=this.textFilterParams.textCustomComparator;return e?(s.f.doOnce((function(){return console.warn("AG Grid - textCustomComparator is deprecated, use textMatcher instead.")}),"textCustomComparator.deprecated"),function(t){var r=t.filterOption,o=t.value,n=t.filterText;return e(r,o,n)}):this.textFilterParams.textMatcher||t.DEFAULT_MATCHER},t.prototype.createCondition=function(e){var t=this.getConditionTypes()[e],r={filterType:this.getFilterType(),type:t},o=this.getValues(e);return o.length>0&&(r.filter=o[0]),o.length>1&&(r.filterTo=o[1]),r},t.prototype.getFilterType=function(){return"text"},t.prototype.areSimpleModelsEqual=function(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type},t.prototype.getInputs=function(){return[[this.eValueFrom1,this.eValueTo1],[this.eValueFrom2,this.eValueTo2]]},t.prototype.getValues=function(e){var r=this,o=[];return this.forEachInput((function(n,i,s,l){if(e===s&&i<l){var c=Object(a.makeNull)(n.getValue()),u=(r.textFilterParams.trimInput?t.trimInput(c):c)||null;o.push(u),n.setValue(u,!0)}})),o},t.prototype.getDefaultFilterOptions=function(){return t.DEFAULT_FILTER_OPTIONS},t.prototype.createValueTemplate=function(e){var t=e===i.a.One?"1":"2";return'\n <div class="ag-filter-body" ref="eCondition'+t+'Body" role="presentation">\n <ag-input-text-field class=".ag-filter-from ag-filter-filter" ref="eValue-index0-'+t+'"></ag-input-text-field>\n <ag-input-text-field class="ag-filter-to ag-filter-filter" ref="eValue-index1-'+t+'"></ag-input-text-field>\n </div>'},t.prototype.mapValuesFromModel=function(e){var t=e||{},r=t.filter,o=t.filterTo,n=t.type;return[r||null,o||null].slice(0,this.getNumberOfInputs(n))},t.prototype.evaluateNullValue=function(e){var t=[i.b.NOT_EQUAL,i.b.NOT_CONTAINS,i.b.BLANK];return!!e&&t.indexOf(e)>=0},t.prototype.evaluateNonNullValue=function(e,t,r,o){var n=this,a=e.map((function(e){return n.formatter(e)}))||[],s=this.formatter(t),l=this.textFilterParams,u=l.api,p=l.colDef,d=l.column,g=l.columnApi,h=l.context,f=l.textFormatter;if(r.type===i.b.BLANK)return this.isBlank(t);if(r.type===i.b.NOT_BLANK)return!this.isBlank(t);var v={api:u,colDef:p,column:d,columnApi:g,context:h,node:o.node,data:o.data,filterOption:r.type,value:s,textFormatter:f};return a.some((function(e){return n.matcher(c(c({},v),{filterText:e}))}))},t.DEFAULT_FILTER_OPTIONS=[i.b.CONTAINS,i.b.NOT_CONTAINS,i.b.EQUALS,i.b.NOT_EQUAL,i.b.STARTS_WITH,i.b.ENDS_WITH,i.b.BLANK,i.b.NOT_BLANK],t.DEFAULT_FORMATTER=function(e){return e},t.DEFAULT_LOWERCASE_FORMATTER=function(e){return null==e?null:e.toString().toLowerCase()},t.DEFAULT_MATCHER=function(e){var r=e.filterOption,o=e.value,n=e.filterText;if(null==n)return!1;switch(r){case t.CONTAINS:return o.indexOf(n)>=0;case t.NOT_CONTAINS:return o.indexOf(n)<0;case t.EQUALS:return o===n;case t.NOT_EQUAL:return o!=n;case t.STARTS_WITH:return 0===o.indexOf(n);case t.ENDS_WITH:var i=o.lastIndexOf(n);return i>=0&&i===o.length-n.length;default:return!1}},u([Object(n.b)("eValue-index0-1")],t.prototype,"eValueFrom1",void 0),u([Object(n.b)("eValue-index1-1")],t.prototype,"eValueTo1",void 0),u([Object(n.b)("eValue-index0-2")],t.prototype,"eValueFrom2",void 0),u([Object(n.b)("eValue-index1-2")],t.prototype,"eValueTo2",void 0),t}(i.b)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(9),i=r(5),a=r(1),s=r(7),l=r(15),c=r(23),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(r){var o=e.call(this)||this;return r||o.setTemplate(t.TEMPLATE),o}return u(t,e),t.prototype.attachCustomElements=function(e,t,r,o,n){this.eSortOrder=e,this.eSortAsc=t,this.eSortDesc=r,this.eSortMixed=o,this.eSortNone=n},t.prototype.setupSort=function(e,t){var r=this;void 0===t&&(t=!1),this.column=e,this.suppressOrder=t,this.setupMultiSortIndicator(),!!this.column.getColDef().sortable&&(this.addInIcon("sortAscending",this.eSortAsc,e),this.addInIcon("sortDescending",this.eSortDesc,e),this.addInIcon("sortUnSort",this.eSortNone,e),this.addManagedListener(this.eventService,n.a.EVENT_SORT_CHANGED,(function(){return r.onSortChanged()})),this.addManagedListener(this.eventService,n.a.EVENT_COLUMN_ROW_GROUP_CHANGED,(function(){return r.onSortChanged()})),this.onSortChanged())},t.prototype.addInIcon=function(e,t,r){if(null!=t){var o=Object(c.createIconNoSpan)(e,this.gridOptionsWrapper,r);o&&t.appendChild(o)}},t.prototype.onSortChanged=function(){this.updateIcons(),this.suppressOrder||this.updateSortOrder()},t.prototype.updateIcons=function(){var e=this.sortController.getDisplaySortForColumn(this.column);if(this.eSortAsc){var t="asc"===e;this.eSortAsc.classList.toggle("ag-hidden",!t)}if(this.eSortDesc){var r="desc"===e;this.eSortDesc.classList.toggle("ag-hidden",!r)}if(this.eSortNone){var o=!this.column.getColDef().unSortIcon&&!this.gridOptionsWrapper.isUnSortIcon(),n=null==e;this.eSortNone.classList.toggle("ag-hidden",o||!n)}},t.prototype.setupMultiSortIndicator=function(){var e=this;this.addInIcon("sortUnSort",this.eSortMixed,this.column);var t=this.column.getColDef().showRowGroup;this.gridOptionsWrapper.isColumnsSortingCoupledToGroup()&&t&&(this.addManagedListener(this.eventService,n.a.EVENT_SORT_CHANGED,(function(){return e.updateMultiSortIndicator()})),this.addManagedListener(this.eventService,n.a.EVENT_COLUMN_ROW_GROUP_CHANGED,(function(){return e.updateMultiSortIndicator()})),this.updateMultiSortIndicator())},t.prototype.updateMultiSortIndicator=function(){if(this.eSortMixed){var e="mixed"===this.sortController.getDisplaySortForColumn(this.column);this.eSortMixed.classList.toggle("ag-hidden",!e)}},t.prototype.updateSortOrder=function(){var e,t=this;if(this.eSortOrder){var r=this.sortController.getColumnsWithSortingOrdered(),o=null!=(e=this.sortController.getDisplaySortIndexForColumn(this.column))?e:-1,n=r.some((function(e){var r;return null!=(r=t.sortController.getDisplaySortIndexForColumn(e))&&r})),a=o>=0&&n;Object(i.setDisplayed)(this.eSortOrder,a),o>=0?this.eSortOrder.innerHTML=(o+1).toString():Object(i.clearElement)(this.eSortOrder)}},t.TEMPLATE='<span class="ag-sort-indicator-container">\n <span ref="eSortOrder" class="ag-sort-indicator-icon ag-sort-order ag-hidden" aria-hidden="true"></span>\n <span ref="eSortAsc" class="ag-sort-indicator-icon ag-sort-ascending-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortDesc" class="ag-sort-indicator-icon ag-sort-descending-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortMixed" class="ag-sort-indicator-icon ag-sort-mixed-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortNone" class="ag-sort-indicator-icon ag-sort-none-icon ag-hidden" aria-hidden="true"></span>\n </span>',p([Object(s.b)("eSortOrder")],t.prototype,"eSortOrder",void 0),p([Object(s.b)("eSortAsc")],t.prototype,"eSortAsc",void 0),p([Object(s.b)("eSortDesc")],t.prototype,"eSortDesc",void 0),p([Object(s.b)("eSortMixed")],t.prototype,"eSortMixed",void 0),p([Object(s.b)("eSortNone")],t.prototype,"eSortNone",void 0),p([Object(a.a)("columnModel")],t.prototype,"columnModel",void 0),p([Object(a.a)("sortController")],t.prototype,"sortController",void 0),t}(l.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var o,n=r(19),i=r(6),a=r(3),s=r(1),l=r(11),c=r(10),u=r(2),p=r(9),d=r(12),g=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(t,r,o,n){var i=e.call(this)||this;return i.columnOrGroup=t,i.eCell=r,i.ariaEl=i.eCell.querySelector("[role=columnheader]")||i.eCell,i.colsSpanning=n,i.beans=o,i}return g(t,e),t.prototype.setColsSpanning=function(e){this.colsSpanning=e,this.onLeftChanged()},t.prototype.getColumnOrGroup=function(){return this.beans.gridOptionsWrapper.isEnableRtl()&&this.colsSpanning?Object(c.last)(this.colsSpanning):this.columnOrGroup},t.prototype.postConstruct=function(){this.addManagedListener(this.columnOrGroup,n.a.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.setLeftFirstTime(),this.addManagedListener(this.eventService,p.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onLeftChanged.bind(this)),this.addManagedListener(this.beans.gridOptionsWrapper,d.a.PROP_DOM_LAYOUT,this.onLeftChanged.bind(this))},t.prototype.setLeftFirstTime=function(){var e=this.beans.gridOptionsWrapper.isSuppressColumnMoveAnimation(),t=Object(u.exists)(this.columnOrGroup.getOldLeft());this.beans.columnAnimationService.isActive()&&t&&!e?this.animateInLeft():this.onLeftChanged()},t.prototype.animateInLeft=function(){var e=this,t=this.getColumnOrGroup(),r=t.getLeft(),o=t.getOldLeft(),n=this.modifyLeftForPrintLayout(t,o),i=this.modifyLeftForPrintLayout(t,r);this.setLeft(n),this.actualLeft=i,this.beans.columnAnimationService.executeNextVMTurn((function(){e.actualLeft===i&&e.setLeft(i)}))},t.prototype.onLeftChanged=function(){var e=this.getColumnOrGroup(),t=e.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(e,t),this.setLeft(this.actualLeft)},t.prototype.modifyLeftForPrintLayout=function(e,t){if(!(this.beans.gridOptionsWrapper.getDomLayout()===a.a.DOM_LAYOUT_PRINT))return t;if(e.getPinned()===a.a.PINNED_LEFT)return t;var r=this.beans.columnModel.getDisplayedColumnsLeftWidth();return e.getPinned()===a.a.PINNED_RIGHT?r+this.beans.columnModel.getBodyContainerWidth()+t:r+t},t.prototype.setLeft=function(e){var t;if(Object(u.exists)(e)&&(this.eCell.style.left=e+"px"),this.columnOrGroup instanceof n.a)t=this.columnOrGroup;else{var r=this.columnOrGroup.getLeafColumns();if(!r.length)return;r.length>1&&Object(l.setAriaColSpan)(this.ariaEl,r.length),t=r[0]}var o=this.beans.columnModel.getAriaColumnIndex(t);Object(l.setAriaColIndex)(this.ariaEl,o)},h([s.e],t.prototype,"postConstruct",null),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var o,n=r(1),i=r(168),a=r(170),s=r(15),l=r(8),c=r(23),u=r(5),p=r(63),d=r(11),g=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(t){var r=e.call(this)||this;return r.params=t,r.isActive=!1,r.subMenuIsOpen=!1,r.setTemplate('<div class="'+r.getClassName()+'" tabindex="-1" role="treeitem"></div>'),r}return g(t,e),t.prototype.init=function(){var e=this;this.addIcon(),this.addName(),this.addShortcut(),this.addSubMenu(),this.addTooltip();var t=this.getGui();this.params.disabled?(this.addCssClass(this.getClassName("disabled")),Object(d.setAriaDisabled)(t,!0)):(this.addGuiEventListener("click",(function(t){return e.onItemSelected(t)})),this.addGuiEventListener("keydown",(function(t){t.key!==l.a.ENTER&&t.key!==l.a.SPACE||(t.preventDefault(),e.onItemSelected(t))})),this.addGuiEventListener("mousedown",(function(e){e.stopPropagation(),e.preventDefault()})),this.addGuiEventListener("mouseenter",(function(){return e.onMouseEnter()})),this.addGuiEventListener("mouseleave",(function(){return e.onMouseLeave()}))),this.params.cssClasses&&this.params.cssClasses.forEach((function(t){return e.addCssClass(t)}))},t.prototype.isDisabled=function(){return!!this.params.disabled},t.prototype.openSubMenu=function(e){var r=this;if(void 0===e&&(e=!1),this.closeSubMenu(),this.params.subMenu){var o,n=Object(u.loadTemplate)('<div class="ag-menu" role="presentation"></div>');if(this.params.subMenu instanceof Array){var s=Object(d.getAriaLevel)(this.getGui()),l=isNaN(s)?1:s+1,c=this.createBean(new i.a(l));c.setParentComponent(this),c.addMenuItems(this.params.subMenu),n.appendChild(c.getGui()),this.addManagedListener(c,t.EVENT_MENU_ITEM_SELECTED,(function(e){return r.dispatchEvent(e)})),c.addGuiEventListener("mouseenter",(function(){return r.cancelDeactivate()})),o=function(){return r.destroyBean(c)},e&&setTimeout((function(){return c.activateFirstItem()}),0)}else{var p=this.params.subMenu,g=this.createBean(new a.a(p));g.setParentComponent(this);var h=g.getGui(),f=function(){return r.cancelDeactivate()};h.addEventListener("mouseenter",f),o=function(){return h.removeEventListener("mouseenter",f)},n.appendChild(h),p.afterGuiAttached&&setTimeout((function(){return p.afterGuiAttached()}),0)}var v=this.getGui(),y=this.popupService.positionPopupForMenu.bind(this.popupService,{eventSource:v,ePopup:n}),m=this.gridOptionsWrapper.getLocaleTextFunc(),b=this.popupService.addPopup({modal:!0,eChild:n,positionCallback:y,anchorToElement:v,ariaLabel:m("ariaLabelSubMenu","SubMenu")});this.subMenuIsOpen=!0,Object(d.setAriaExpanded)(v,!0),this.hideSubMenu=function(){b&&b.hideFunc(),r.subMenuIsOpen=!1,Object(d.setAriaExpanded)(v,!1),o()}}},t.prototype.closeSubMenu=function(){this.hideSubMenu&&(this.hideSubMenu(),this.hideSubMenu=null,Object(d.setAriaExpanded)(this.getGui(),!1))},t.prototype.isSubMenuOpen=function(){return this.subMenuIsOpen},t.prototype.activate=function(e){var t=this;this.cancelActivate(),this.params.disabled||(this.isActive=!0,this.addCssClass(this.getClassName("active")),this.getGui().focus(),e&&this.params.subMenu&&window.setTimeout((function(){t.isAlive()&&t.isActive&&t.openSubMenu()}),300),this.onItemActivated())},t.prototype.deactivate=function(){this.cancelDeactivate(),this.removeCssClass(this.getClassName("active")),this.isActive=!1,this.subMenuIsOpen&&this.hideSubMenu()},t.prototype.addIcon=function(){if(this.params.checked||this.params.icon||!this.params.isCompact){var e=Object(u.loadTemplate)('<span ref="eIcon" class="'+this.getClassName("part")+" "+this.getClassName("icon")+'" role="presentation"></span>');this.params.checked?e.appendChild(Object(c.createIconNoSpan)("check",this.gridOptionsWrapper)):this.params.icon&&(Object(u.isNodeOrElement)(this.params.icon)?e.appendChild(this.params.icon):"string"==typeof this.params.icon?e.innerHTML=this.params.icon:console.warn("AG Grid: menu item icon must be DOM node or string")),this.getGui().appendChild(e)}},t.prototype.addName=function(){if(this.params.name||!this.params.isCompact){var e=Object(u.loadTemplate)('<span ref="eName" class="'+this.getClassName("part")+" "+this.getClassName("text")+'">'+(this.params.name||"")+"</span>");this.getGui().appendChild(e)}},t.prototype.addTooltip=function(){this.params.tooltip&&(this.tooltip=this.params.tooltip,this.gridOptionsWrapper.isEnableBrowserTooltips()?this.getGui().setAttribute("title",this.tooltip):this.createManagedBean(new p.a(this)))},t.prototype.getTooltipParams=function(){return{location:"menu",value:this.tooltip}},t.prototype.addShortcut=function(){if(this.params.shortcut||!this.params.isCompact){var e=Object(u.loadTemplate)('<span ref="eShortcut" class="'+this.getClassName("part")+" "+this.getClassName("shortcut")+'">'+(this.params.shortcut||"")+"</span>");this.getGui().appendChild(e)}},t.prototype.addSubMenu=function(){if(this.params.subMenu||!this.params.isCompact){var e=Object(u.loadTemplate)('<span ref="ePopupPointer" class="'+this.getClassName("part")+" "+this.getClassName("popup-pointer")+'"></span>'),t=this.getGui();if(this.params.subMenu){var r=this.gridOptionsWrapper.isEnableRtl()?"smallLeft":"smallRight";Object(d.setAriaExpanded)(t,!1),e.appendChild(Object(c.createIconNoSpan)(r,this.gridOptionsWrapper))}t.appendChild(e)}},t.prototype.onItemSelected=function(e){if(this.params.action?this.params.action():this.openSubMenu(e&&"keydown"===e.type),!this.params.subMenu||this.params.action){var r={type:t.EVENT_MENU_ITEM_SELECTED,action:this.params.action,checked:this.params.checked,cssClasses:this.params.cssClasses,disabled:this.params.disabled,icon:this.params.icon,name:this.params.name,shortcut:this.params.shortcut,subMenu:this.params.subMenu,tooltip:this.params.tooltip,event:e};this.dispatchEvent(r)}},t.prototype.onItemActivated=function(){var e={type:t.EVENT_MENU_ITEM_ACTIVATED,menuItem:this};this.dispatchEvent(e)},t.prototype.cancelActivate=function(){this.activateTimeoutId&&(window.clearTimeout(this.activateTimeoutId),this.activateTimeoutId=0)},t.prototype.cancelDeactivate=function(){this.deactivateTimeoutId&&(window.clearTimeout(this.deactivateTimeoutId),this.deactivateTimeoutId=0)},t.prototype.onMouseEnter=function(){var e=this;this.cancelDeactivate(),this.params.isAnotherSubMenuOpen()?this.activateTimeoutId=window.setTimeout((function(){return e.activate(!0)}),t.ACTIVATION_DELAY):this.activate(!0)},t.prototype.onMouseLeave=function(){var e=this;this.cancelActivate(),this.isSubMenuOpen()?this.deactivateTimeoutId=window.setTimeout((function(){return e.deactivate()}),t.ACTIVATION_DELAY):this.deactivate()},t.prototype.getClassName=function(e){var t=this.params.isCompact?"ag-compact-menu-option":"ag-menu-option";return e?t+"-"+e:t},t.EVENT_MENU_ITEM_SELECTED="menuItemSelected",t.EVENT_MENU_ITEM_ACTIVATED="menuItemActivated",t.ACTIVATION_DELAY=80,h([Object(n.a)("popupService")],t.prototype,"popupService",void 0),h([n.e],t.prototype,"init",null),t}(s.a)},function(e,t,r){"use strict";function o(e){var t;return null===(t="undefined"!=typeof window?window:void 0)||void 0===t?void 0:t[e]}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";r.r(t),r.d(t,"ColumnsToolPanelModule",(function(){return U})),r.d(t,"PrimaryColsPanel",(function(){return F}));var o,n,i=r(0),a=r(27),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.EXPANDED=0]="EXPANDED",e[e.COLLAPSED=1]="COLLAPSED",e[e.INDETERMINATE=2]="INDETERMINATE"}(n||(n={}));var c=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return s(t,e),t.prototype.postConstruct=function(){var e=this;this.createExpandIcons(),this.addManagedListener(this.eExpand,"click",this.onExpandClicked.bind(this)),this.addManagedListener(this.eExpand,"keydown",(function(t){t.key===i.KeyCode.SPACE&&e.onExpandClicked()})),this.addManagedListener(this.eSelect.getInputElement(),"click",this.onSelectClicked.bind(this)),this.eFilterTextField.onValueChange((function(){return e.onFilterTextChanged()})),this.addManagedListener(this.eFilterTextField.getInputElement(),"keypress",this.onMiniFilterKeyPress.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,this.showOrHideOptions.bind(this));var t=this.gridOptionsWrapper.getLocaleTextFunc();this.eSelect.setInputAriaLabel(t("ariaColumnSelectAll","Toggle Select All Columns")),this.eFilterTextField.setInputAriaLabel(t("ariaFilterColumnsInput","Filter Columns Input"))},t.prototype.init=function(e){this.params=e,this.columnModel.isReady()&&this.showOrHideOptions()},t.prototype.createExpandIcons=function(){this.eExpand.appendChild(this.eExpandChecked=i._.createIconNoSpan("columnSelectOpen",this.gridOptionsWrapper)),this.eExpand.appendChild(this.eExpandUnchecked=i._.createIconNoSpan("columnSelectClosed",this.gridOptionsWrapper)),this.eExpand.appendChild(this.eExpandIndeterminate=i._.createIconNoSpan("columnSelectIndeterminate",this.gridOptionsWrapper)),this.setExpandState(n.EXPANDED)},t.prototype.showOrHideOptions=function(){var e=!this.params.suppressColumnFilter,t=!this.params.suppressColumnSelectAll,r=!this.params.suppressColumnExpandAll,o=this.columnModel.isPrimaryColumnGroupsPresent(),n=this.gridOptionsWrapper.getLocaleTextFunc();this.eFilterTextField.setInputPlaceholder(n("searchOoo","Search...")),i._.setDisplayed(this.eFilterTextField.getGui(),e),i._.setDisplayed(this.eSelect.getGui(),t),i._.setDisplayed(this.eExpand,r&&o)},t.prototype.onFilterTextChanged=function(){var e=this;this.onFilterTextChangedDebounced||(this.onFilterTextChangedDebounced=i._.debounce((function(){var t=e.eFilterTextField.getValue();e.dispatchEvent({type:"filterChanged",filterText:t})}),t.DEBOUNCE_DELAY)),this.onFilterTextChangedDebounced()},t.prototype.onMiniFilterKeyPress=function(e){var r=this;e.key===i.KeyCode.ENTER&&setTimeout((function(){return r.onSelectClicked()}),t.DEBOUNCE_DELAY)},t.prototype.onSelectClicked=function(){this.dispatchEvent({type:this.selectState?"unselectAll":"selectAll"})},t.prototype.onExpandClicked=function(){this.dispatchEvent({type:this.expandState===n.EXPANDED?"collapseAll":"expandAll"})},t.prototype.setExpandState=function(e){this.expandState=e,i._.setDisplayed(this.eExpandChecked,this.expandState===n.EXPANDED),i._.setDisplayed(this.eExpandUnchecked,this.expandState===n.COLLAPSED),i._.setDisplayed(this.eExpandIndeterminate,this.expandState===n.INDETERMINATE)},t.prototype.setSelectionState=function(e){this.selectState=e,this.eSelect.setValue(this.selectState)},t.DEBOUNCE_DELAY=300,t.TEMPLATE='<div class="ag-column-select-header" role="presentation" tabindex="-1">\n <div ref="eExpand" class="ag-column-select-header-icon" tabindex="0"></div>\n <ag-checkbox ref="eSelect" class="ag-column-select-header-checkbox"></ag-checkbox>\n <ag-input-text-field class="ag-column-select-header-filter-wrapper" ref="eFilterTextField"></ag-input-text-field>\n </div>',l([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),l([Object(i.RefSelector)("eExpand")],t.prototype,"eExpand",void 0),l([Object(i.RefSelector)("eSelect")],t.prototype,"eSelect",void 0),l([Object(i.RefSelector)("eFilterTextField")],t.prototype,"eFilterTextField",void 0),l([i.PostConstruct],t.prototype,"postConstruct",null),t}(i.Component),u=function(){function e(e,t,r,o,n){void 0===o&&(o=!1),this.eventService=new i.EventService,this.displayName=e,this.dept=r,this.group=o,o?(this.columnGroup=t,this.expanded=n,this.children=[]):this.column=t}return e.prototype.isGroup=function(){return this.group},e.prototype.getDisplayName=function(){return this.displayName},e.prototype.getColumnGroup=function(){return this.columnGroup},e.prototype.getColumn=function(){return this.column},e.prototype.getDept=function(){return this.dept},e.prototype.isExpanded=function(){return!!this.expanded},e.prototype.getChildren=function(){return this.children},e.prototype.isPassesFilter=function(){return this.passesFilter},e.prototype.setExpanded=function(t){t!==this.expanded&&(this.expanded=t,this.eventService.dispatchEvent({type:e.EVENT_EXPANDED_CHANGED}))},e.prototype.setPassesFilter=function(e){this.passesFilter=e},e.prototype.addEventListener=function(e,t){this.eventService.addEventListener(e,t)},e.prototype.removeEventListener=function(e,t){this.eventService.removeEventListener(e,t)},e.EVENT_EXPANDED_CHANGED="expandedChanged",e}(),p=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},h=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e},f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(e){function t(t,r,o){var n=e.call(this,'<div class="ag-menu"></div>')||this;return n.column=t,n.mouseEvent=r,n.parentEl=o,n.displayName=null,n}return p(t,e),t.prototype.postConstruct=function(){this.initializeProperties(this.column),this.buildMenuItemMap(),this.column instanceof i.Column?this.displayName=this.columnModel.getDisplayNameForColumn(this.column,"columnToolPanel"):this.displayName=this.columnModel.getDisplayNameForProvidedColumnGroup(null,this.column,"columnToolPanel"),this.isActive()&&(this.mouseEvent.preventDefault(),this.displayContextMenu())},t.prototype.initializeProperties=function(e){e instanceof i.ProvidedColumnGroup?this.columns=e.getLeafColumns():this.columns=[e],this.allowGrouping=this.columns.some((function(e){return e.isPrimary()&&e.isAllowRowGroup()})),this.allowValues=this.columns.some((function(e){return e.isPrimary()&&e.isAllowValue()})),this.allowPivoting=this.columnModel.isPivotMode()&&this.columns.some((function(e){return e.isPrimary()&&e.isAllowPivot()}))},t.prototype.buildMenuItemMap=function(){var e=this,t=this.gridOptionsWrapper.getLocaleTextFunc();this.menuItemMap=new Map,this.menuItemMap.set("rowGroup",{allowedFunction:function(e){return e.isPrimary()&&e.isAllowRowGroup()},activeFunction:function(e){return e.isRowGroupActive()},activateLabel:function(){return t("groupBy","Group by")+" "+e.displayName},deactivateLabel:function(){return t("ungroupBy","Un-Group by")+" "+e.displayName},activateFunction:function(){var t=e.columnModel.getRowGroupColumns();e.columnModel.setRowGroupColumns(e.addColumnsToList(t),"toolPanelUi")},deActivateFunction:function(){var t=e.columnModel.getRowGroupColumns();e.columnModel.setRowGroupColumns(e.removeColumnsFromList(t),"toolPanelUi")},addIcon:"menuAddRowGroup",removeIcon:"menuRemoveRowGroup"}),this.menuItemMap.set("value",{allowedFunction:function(e){return e.isPrimary()&&e.isAllowValue()},activeFunction:function(e){return e.isValueActive()},activateLabel:function(){return t("addToValues","Add "+e.displayName+" to values",[e.displayName])},deactivateLabel:function(){return t("removeFromValues","Remove "+e.displayName+" from values",[e.displayName])},activateFunction:function(){var t=e.columnModel.getValueColumns();e.columnModel.setValueColumns(e.addColumnsToList(t),"toolPanelUi")},deActivateFunction:function(){var t=e.columnModel.getValueColumns();e.columnModel.setValueColumns(e.removeColumnsFromList(t),"toolPanelUi")},addIcon:"valuePanel",removeIcon:"valuePanel"}),this.menuItemMap.set("pivot",{allowedFunction:function(t){return e.columnModel.isPivotMode()&&t.isPrimary()&&t.isAllowPivot()},activeFunction:function(e){return e.isPivotActive()},activateLabel:function(){return t("addToLabels","Add "+e.displayName+" to labels",[e.displayName])},deactivateLabel:function(){return t("removeFromLabels","Remove "+e.displayName+" from labels",[e.displayName])},activateFunction:function(){var t=e.columnModel.getPivotColumns();e.columnModel.setPivotColumns(e.addColumnsToList(t),"toolPanelUi")},deActivateFunction:function(){var t=e.columnModel.getPivotColumns();e.columnModel.setPivotColumns(e.removeColumnsFromList(t),"toolPanelUi")},addIcon:"pivotPanel",removeIcon:"pivotPanel"})},t.prototype.addColumnsToList=function(e){return h(e).concat(this.columns.filter((function(t){return-1===e.indexOf(t)})))},t.prototype.removeColumnsFromList=function(e){var t=this;return e.filter((function(e){return-1===t.columns.indexOf(e)}))},t.prototype.displayContextMenu=function(){var e=this,t=this.getGui(),r=this.createBean(new i.AgMenuList),o=this.getMappedMenuItems(),n=this.gridOptionsWrapper.getLocaleTextFunc(),a=function(){};t.appendChild(r.getGui()),r.addMenuItems(o),r.addManagedListener(r,i.AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED,(function(){e.parentEl.focus(),a()}));var s=this.popupService.addPopup({modal:!0,eChild:t,closeOnEsc:!0,afterGuiAttached:function(){return e.focusService.focusInto(r.getGui())},ariaLabel:n("ariaLabelContextMenu","Context Menu"),closedCallback:function(t){t instanceof KeyboardEvent&&e.parentEl.focus(),e.destroyBean(r)}});s&&(a=s.hideFunc),this.popupService.positionPopupUnderMouseEvent({type:"columnContextMenu",mouseEvent:this.mouseEvent,ePopup:t})},t.prototype.isActive=function(){return this.allowGrouping||this.allowValues||this.allowPivoting},t.prototype.getMappedMenuItems=function(){var e,t,r=[],o=function(e){var t=n.columns.some((function(t){return e.allowedFunction(t)&&!e.activeFunction(t)})),o=n.columns.some((function(t){return e.allowedFunction(t)&&e.activeFunction(t)}));t&&r.push({name:e.activateLabel(n.displayName),icon:i._.createIconNoSpan(e.addIcon,n.gridOptionsWrapper,null),action:function(){return e.activateFunction()}}),o&&r.push({name:e.deactivateLabel(n.displayName),icon:i._.createIconNoSpan(e.removeIcon,n.gridOptionsWrapper,null),action:function(){return e.deActivateFunction()}})},n=this;try{for(var a=f(this.menuItemMap.values()),s=a.next();!s.done;s=a.next()){o(s.value)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return r},d([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),d([Object(i.Autowired)("popupService")],t.prototype,"popupService",void 0),d([Object(i.Autowired)("focusService")],t.prototype,"focusService",void 0),d([i.PostConstruct],t.prototype,"postConstruct",null),t}(i.Component),y=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),m=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},b=function(e){function t(t,r,o,n){var i=e.call(this)||this;return i.modelItem=t,i.allowDragging=r,i.eventType=o,i.focusWrapper=n,i.processingColumnStateChange=!1,i.modelItem=t,i.columnGroup=t.getColumnGroup(),i.columnDept=t.getDept(),i.allowDragging=r,i}return y(t,e),t.prototype.init=function(){var e=this;this.setTemplate(t.TEMPLATE),this.eDragHandle=i._.createIconNoSpan("columnDrag",this.gridOptionsWrapper),this.eDragHandle.classList.add("ag-drag-handle","ag-column-select-column-group-drag-handle");var r=this.cbSelect.getGui(),o=this.cbSelect.getInputElement();r.insertAdjacentElement("afterend",this.eDragHandle),o.setAttribute("tabindex","-1"),this.displayName=this.columnModel.getDisplayNameForProvidedColumnGroup(null,this.columnGroup,this.eventType),i._.missing(this.displayName)&&(this.displayName=">>"),this.eLabel.innerHTML=this.displayName?this.displayName:"",this.setupExpandContract(),this.addCssClass("ag-column-select-indent-"+this.columnDept),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onColumnStateChanged.bind(this)),this.addManagedListener(this.eLabel,"click",this.onLabelClicked.bind(this)),this.addManagedListener(this.cbSelect,i.AgCheckbox.EVENT_CHANGED,this.onCheckboxChanged.bind(this)),this.addManagedListener(this.modelItem,u.EVENT_EXPANDED_CHANGED,this.onExpandChanged.bind(this)),this.addManagedListener(this.focusWrapper,"keydown",this.handleKeyDown.bind(this)),this.addManagedListener(this.focusWrapper,"contextmenu",this.onContextMenu.bind(this)),this.setOpenClosedIcons(),this.setupDragging(),this.onColumnStateChanged(),this.addVisibilityListenersToAllChildren(),this.refreshAriaExpanded(),this.refreshAriaLabel(),this.setupTooltip(),i.CssClassApplier.getToolPanelClassesFromColDef(this.columnGroup.getColGroupDef(),this.gridOptionsWrapper,null,this.columnGroup).forEach((function(t){return e.addOrRemoveCssClass(t,!0)}))},t.prototype.getColumns=function(){return this.columnGroup.getLeafColumns()},t.prototype.setupTooltip=function(){var e=this,t=this.columnGroup.getColGroupDef();if(t){var r=function(){var r=t.headerTooltip;e.setTooltip(r)};r(),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,r)}},t.prototype.getTooltipParams=function(){var t=e.prototype.getTooltipParams.call(this);return t.location="columnToolPanelColumnGroup",t},t.prototype.handleKeyDown=function(e){switch(e.key){case i.KeyCode.LEFT:e.preventDefault(),this.modelItem.setExpanded(!1);break;case i.KeyCode.RIGHT:e.preventDefault(),this.modelItem.setExpanded(!0);break;case i.KeyCode.SPACE:e.preventDefault(),this.isSelectable()&&this.onSelectAllChanged(!this.isSelected())}},t.prototype.onContextMenu=function(e){var t=this,r=this.columnGroup;if(!this.gridOptionsWrapper.isFunctionsReadOnly()){var o=this.createBean(new v(r,e,this.focusWrapper));this.addDestroyFunc((function(){o.isAlive()&&t.destroyBean(o)}))}},t.prototype.addVisibilityListenersToAllChildren=function(){var e=this;this.columnGroup.getLeafColumns().forEach((function(t){e.addManagedListener(t,i.Column.EVENT_VISIBLE_CHANGED,e.onColumnStateChanged.bind(e)),e.addManagedListener(t,i.Column.EVENT_VALUE_CHANGED,e.onColumnStateChanged.bind(e)),e.addManagedListener(t,i.Column.EVENT_PIVOT_CHANGED,e.onColumnStateChanged.bind(e)),e.addManagedListener(t,i.Column.EVENT_ROW_GROUP_CHANGED,e.onColumnStateChanged.bind(e))}))},t.prototype.setupDragging=function(){var e=this;if(this.allowDragging){var t=!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns(),r={type:i.DragSourceType.ToolPanel,eElement:this.eDragHandle,dragItemName:this.displayName,defaultIconName:t?i.DragAndDropService.ICON_HIDE:i.DragAndDropService.ICON_NOT_ALLOWED,getDragItem:function(){return e.createDragItem()},onDragStarted:function(){var t={type:i.Events.EVENT_COLUMN_PANEL_ITEM_DRAG_START,column:e.columnGroup};e.eventService.dispatchEvent(t)},onDragStopped:function(){var t={type:i.Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END};e.eventService.dispatchEvent(t)},onGridEnter:function(){t&&e.onChangeCommon(!0)},onGridExit:function(){t&&e.onChangeCommon(!1)}};this.dragAndDropService.addDragSource(r,!0),this.addDestroyFunc((function(){return e.dragAndDropService.removeDragSource(r)}))}else i._.setDisplayed(this.eDragHandle,!1)},t.prototype.createDragItem=function(){var e={};return this.columnGroup.getLeafColumns().forEach((function(t){e[t.getId()]=t.isVisible()})),{columns:this.columnGroup.getLeafColumns(),visibleState:e}},t.prototype.setupExpandContract=function(){this.eGroupClosedIcon.appendChild(i._.createIcon("columnSelectClosed",this.gridOptionsWrapper,null)),this.eGroupOpenedIcon.appendChild(i._.createIcon("columnSelectOpen",this.gridOptionsWrapper,null)),this.addManagedListener(this.eGroupClosedIcon,"click",this.onExpandOrContractClicked.bind(this)),this.addManagedListener(this.eGroupOpenedIcon,"click",this.onExpandOrContractClicked.bind(this));var e=new i.TouchListener(this.eColumnGroupIcons,!0);this.addManagedListener(e,i.TouchListener.EVENT_TAP,this.onExpandOrContractClicked.bind(this)),this.addDestroyFunc(e.destroy.bind(e))},t.prototype.onLabelClicked=function(){var e=!this.cbSelect.getValue();this.onChangeCommon(e)},t.prototype.onCheckboxChanged=function(e){this.onChangeCommon(e.selected)},t.prototype.getVisibleLeafColumns=function(){var e=[],t=function(r){r.forEach((function(r){r.isPassesFilter()&&(r.isGroup()?t(r.getChildren()):e.push(r.getColumn()))}))};return t(this.modelItem.getChildren()),e},t.prototype.onChangeCommon=function(e){this.refreshAriaLabel(),this.processingColumnStateChange||this.modelItemUtils.selectAllChildren(this.modelItem.getChildren(),e,this.eventType)},t.prototype.refreshAriaLabel=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=e("ariaColumnGroup","Column Group"),r=this.cbSelect.getValue()?e("ariaVisible","visible"):e("ariaHidden","hidden"),o=e("ariaToggleVisibility","Press SPACE to toggle visibility");i._.setAriaLabel(this.focusWrapper,this.displayName+" "+t),this.cbSelect.setInputAriaLabel(o+" ("+r+")"),i._.setAriaDescribedBy(this.focusWrapper,this.cbSelect.getInputElement().id)},t.prototype.onColumnStateChanged=function(){var e=this.workOutSelectedValue(),t=this.workOutReadOnlyValue();this.processingColumnStateChange=!0,this.cbSelect.setValue(e),this.cbSelect.setReadOnly(t),this.addOrRemoveCssClass("ag-column-select-column-group-readonly",t),this.processingColumnStateChange=!1},t.prototype.workOutSelectedValue=function(){var e=this,t=this.columnModel.isPivotMode(),r=this.getVisibleLeafColumns(),o=0,n=0;if(r.forEach((function(r){!t&&r.getColDef().lockVisible||(e.isColumnChecked(r,t)?o++:n++)})),!(o>0&&n>0))return o>0},t.prototype.workOutReadOnlyValue=function(){var e=this.columnModel.isPivotMode(),t=0;return this.columnGroup.getLeafColumns().forEach((function(r){e?r.isAnyFunctionAllowed()&&t++:r.getColDef().lockVisible||t++})),0===t},t.prototype.isColumnChecked=function(e,t){if(t){var r=e.isPivotActive(),o=e.isRowGroupActive(),n=e.isValueActive();return r||o||n}return e.isVisible()},t.prototype.onExpandOrContractClicked=function(){var e=this.modelItem.isExpanded();this.modelItem.setExpanded(!e)},t.prototype.onExpandChanged=function(){this.setOpenClosedIcons(),this.refreshAriaExpanded()},t.prototype.setOpenClosedIcons=function(){var e=this.modelItem.isExpanded();i._.setDisplayed(this.eGroupClosedIcon,!e),i._.setDisplayed(this.eGroupOpenedIcon,e)},t.prototype.refreshAriaExpanded=function(){i._.setAriaExpanded(this.focusWrapper,this.modelItem.isExpanded())},t.prototype.getDisplayName=function(){return this.displayName},t.prototype.onSelectAllChanged=function(e){var t=this.cbSelect.getValue();!this.cbSelect.isReadOnly()&&(e&&!t||!e&&t)&&this.cbSelect.toggle()},t.prototype.isSelected=function(){return this.cbSelect.getValue()},t.prototype.isSelectable=function(){return!this.cbSelect.isReadOnly()},t.prototype.setSelected=function(e){this.cbSelect.setValue(e,!0)},t.TEMPLATE='<div class="ag-column-select-column-group" aria-hidden="true">\n <span class="ag-column-group-icons" ref="eColumnGroupIcons" >\n <span class="ag-column-group-closed-icon" ref="eGroupClosedIcon"></span>\n <span class="ag-column-group-opened-icon" ref="eGroupOpenedIcon"></span>\n </span>\n <ag-checkbox ref="cbSelect" class="ag-column-select-checkbox"></ag-checkbox>\n <span class="ag-column-select-column-label" ref="eLabel"></span>\n </div>',m([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),m([Object(i.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),m([Object(i.Autowired)("modelItemUtils")],t.prototype,"modelItemUtils",void 0),m([Object(i.RefSelector)("cbSelect")],t.prototype,"cbSelect",void 0),m([Object(i.RefSelector)("eLabel")],t.prototype,"eLabel",void 0),m([Object(i.RefSelector)("eGroupOpenedIcon")],t.prototype,"eGroupOpenedIcon",void 0),m([Object(i.RefSelector)("eGroupClosedIcon")],t.prototype,"eGroupClosedIcon",void 0),m([Object(i.RefSelector)("eColumnGroupIcons")],t.prototype,"eColumnGroupIcons",void 0),m([i.PostConstruct],t.prototype,"init",null),t}(i.Component),w=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),C=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},O="ag-list-item-hovered",S=function(e){function t(t,r){var o=e.call(this)||this;return o.comp=t,o.virtualList=r,o.currentDragColumn=null,o.lastHoveredColumnItem=null,o}return w(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PANEL_ITEM_DRAG_START,this.columnPanelItemDragStart.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END,this.columnPanelItemDragEnd.bind(this)),this.createDropTarget(),this.createAutoScrollService()},t.prototype.columnPanelItemDragStart=function(e){var t=e.column;this.currentDragColumn=t,this.getCurrentColumns().find((function(e){var t=e.getColDef();return!!t.suppressMovable||!!t.lockPosition}))&&(this.moveBlocked=!0)},t.prototype.columnPanelItemDragEnd=function(){var e=this;window.setTimeout((function(){e.currentDragColumn=null,e.moveBlocked=!1}),10)},t.prototype.createDropTarget=function(){var e=this,t={isInterestedIn:function(e){return e===i.DragSourceType.ToolPanel},getIconName:function(){return i.DragAndDropService[e.moveBlocked?"ICON_NOT_ALLOWED":"ICON_MOVE"]},getContainer:function(){return e.comp.getGui()},onDragging:function(t){return e.onDragging(t)},onDragStop:function(){return e.onDragStop()},onDragLeave:function(){return e.onDragLeave()}};this.dragAndDropService.addDropTarget(t)},t.prototype.createAutoScrollService=function(){var e=this.virtualList.getGui();this.autoScrollService=new i.AutoScrollService({scrollContainer:e,scrollAxis:"y",getVerticalPosition:function(){return e.scrollTop},setVerticalPosition:function(t){return e.scrollTop=t}})},t.prototype.onDragging=function(e){if(this.currentDragColumn&&!this.moveBlocked){var t=this.getDragColumnItem(e),r=this.virtualList.getComponentAt(t.rowIndex);if(r){var o=r.getGui().parentElement;this.lastHoveredColumnItem&&this.lastHoveredColumnItem.rowIndex===t.rowIndex&&this.lastHoveredColumnItem.position===t.position||(this.autoScrollService.check(e.event),this.clearHoveredItems(),this.lastHoveredColumnItem=t,i._.radioCssClass(o,""+O),i._.radioCssClass(o,"ag-item-highlight-"+t.position))}}},t.prototype.getDragColumnItem=function(e){var t=this.virtualList.getGui(),r=parseFloat(window.getComputedStyle(t).paddingTop),o=this.virtualList.getRowHeight(),n=this.virtualList.getScrollTop(),i=Math.max(0,(e.y-r+n)/o),a=this.comp.getDisplayedColsList().length-1,s=0|Math.min(a,i);return{rowIndex:s,position:Math.round(i)>i||i>a?"bottom":"top",component:this.virtualList.getComponentAt(s)}},t.prototype.onDragStop=function(){if(!this.moveBlocked){var e=this.getTargetIndex(),t=this.getCurrentColumns();null!=e&&this.columnModel.moveColumns(t,e),this.clearHoveredItems(),this.autoScrollService.ensureCleared()}},t.prototype.getMoveDiff=function(e){var t=this.columnModel.getAllGridColumns(),r=this.getCurrentColumns(),o=r[0],n=r.length;return t.indexOf(o)<e?n:0},t.prototype.getCurrentColumns=function(){return this.currentDragColumn instanceof i.ProvidedColumnGroup?this.currentDragColumn.getLeafColumns():[this.currentDragColumn]},t.prototype.getTargetIndex=function(){if(!this.lastHoveredColumnItem)return null;var e,t=this.lastHoveredColumnItem.component,r="top"===this.lastHoveredColumnItem.position;t instanceof b?(e=t.getColumns()[0],r=!0):e=t.getColumn();var o=this.columnModel.getAllGridColumns().indexOf(e),n=r?o:o+1;return n-this.getMoveDiff(n)},t.prototype.onDragLeave=function(){this.clearHoveredItems(),this.autoScrollService.ensureCleared()},t.prototype.clearHoveredItems=function(){this.virtualList.getGui().querySelectorAll("."+O).forEach((function(e){[O,"ag-item-highlight-top","ag-item-highlight-bottom"].forEach((function(t){e.classList.remove(t)}))})),this.lastHoveredColumnItem=null},C([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),C([Object(i.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),C([i.PostConstruct],t.prototype,"postConstruct",null),t}(i.BeanStub),E=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),x=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},R=function(e){function t(t,r,o,n,i){var a=e.call(this)||this;return a.column=t,a.columnDept=r,a.allowDragging=o,a.groupsExist=n,a.focusWrapper=i,a.processingColumnStateChange=!1,a}return E(t,e),t.prototype.init=function(){var e=this;this.setTemplate(t.TEMPLATE),this.eDragHandle=i._.createIconNoSpan("columnDrag",this.gridOptionsWrapper),this.eDragHandle.classList.add("ag-drag-handle","ag-column-select-column-drag-handle");var r=this.cbSelect.getGui(),o=this.cbSelect.getInputElement();r.insertAdjacentElement("afterend",this.eDragHandle),o.setAttribute("tabindex","-1"),this.displayName=this.columnModel.getDisplayNameForColumn(this.column,"columnToolPanel");var n=i._.escapeString(this.displayName);this.eLabel.innerHTML=n;var a=this.columnDept;this.groupsExist&&this.addCssClass("ag-column-select-add-group-indent"),this.addCssClass("ag-column-select-indent-"+a),this.setupDragging(),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onColumnStateChanged.bind(this)),this.addManagedListener(this.column,i.Column.EVENT_VALUE_CHANGED,this.onColumnStateChanged.bind(this)),this.addManagedListener(this.column,i.Column.EVENT_PIVOT_CHANGED,this.onColumnStateChanged.bind(this)),this.addManagedListener(this.column,i.Column.EVENT_ROW_GROUP_CHANGED,this.onColumnStateChanged.bind(this)),this.addManagedListener(this.column,i.Column.EVENT_VISIBLE_CHANGED,this.onColumnStateChanged.bind(this)),this.addManagedListener(this.focusWrapper,"keydown",this.handleKeyDown.bind(this)),this.addManagedListener(this.focusWrapper,"contextmenu",this.onContextMenu.bind(this)),this.addManagedListener(this.gridOptionsWrapper,"functionsReadOnly",this.onColumnStateChanged.bind(this)),this.addManagedListener(this.cbSelect,i.AgCheckbox.EVENT_CHANGED,this.onCheckboxChanged.bind(this)),this.addManagedListener(this.eLabel,"click",this.onLabelClicked.bind(this)),this.onColumnStateChanged(),this.refreshAriaLabel(),this.setupTooltip(),i.CssClassApplier.getToolPanelClassesFromColDef(this.column.getColDef(),this.gridOptionsWrapper,this.column,null).forEach((function(t){return e.addOrRemoveCssClass(t,!0)}))},t.prototype.getColumn=function(){return this.column},t.prototype.setupTooltip=function(){var e=this,t=function(){var t=e.column.getColDef().headerTooltip;e.setTooltip(t)};t(),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,t)},t.prototype.getTooltipParams=function(){var t=e.prototype.getTooltipParams.call(this);return t.location="columnToolPanelColumn",t.colDef=this.column.getColDef(),t},t.prototype.onContextMenu=function(e){var t=this,r=this.column;if(!this.gridOptionsWrapper.isFunctionsReadOnly()){var o=this.createBean(new v(r,e,this.focusWrapper));this.addDestroyFunc((function(){o.isAlive()&&t.destroyBean(o)}))}},t.prototype.handleKeyDown=function(e){e.key===i.KeyCode.SPACE&&(e.preventDefault(),this.isSelectable()&&this.onSelectAllChanged(!this.isSelected()))},t.prototype.onLabelClicked=function(){if(!this.gridOptionsWrapper.isFunctionsReadOnly()){var e=!this.cbSelect.getValue();this.onChangeCommon(e)}},t.prototype.onCheckboxChanged=function(e){this.onChangeCommon(e.selected)},t.prototype.onChangeCommon=function(e){this.cbSelect.isReadOnly()||(this.refreshAriaLabel(),this.processingColumnStateChange||this.modelItemUtils.setColumn(this.column,e,"toolPanelUi"))},t.prototype.refreshAriaLabel=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=e("ariaColumn","Column"),r=this.cbSelect.getValue()?e("ariaVisible","visible"):e("ariaHidden","hidden"),o=e("ariaToggleVisibility","Press SPACE to toggle visibility");i._.setAriaLabel(this.focusWrapper,this.displayName+" "+t),this.cbSelect.setInputAriaLabel(o+" ("+r+")"),i._.setAriaDescribedBy(this.focusWrapper,this.cbSelect.getInputElement().id)},t.prototype.setupDragging=function(){var e=this;if(this.allowDragging){var t=!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns(),r={type:i.DragSourceType.ToolPanel,eElement:this.eDragHandle,dragItemName:this.displayName,defaultIconName:t?i.DragAndDropService.ICON_HIDE:i.DragAndDropService.ICON_NOT_ALLOWED,getDragItem:function(){return e.createDragItem()},onDragStarted:function(){var t={type:i.Events.EVENT_COLUMN_PANEL_ITEM_DRAG_START,column:e.column};e.eventService.dispatchEvent(t)},onDragStopped:function(){var t={type:i.Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END};e.eventService.dispatchEvent(t)},onGridEnter:function(){t&&e.onChangeCommon(!0)},onGridExit:function(){t&&e.onChangeCommon(!1)}};this.dragAndDropService.addDragSource(r,!0),this.addDestroyFunc((function(){return e.dragAndDropService.removeDragSource(r)}))}else i._.setDisplayed(this.eDragHandle,!1)},t.prototype.createDragItem=function(){var e={};return e[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:e}},t.prototype.onColumnStateChanged=function(){this.processingColumnStateChange=!0;var e=this.columnModel.isPivotMode();if(e){var t=this.column.isAnyFunctionActive();this.cbSelect.setValue(t)}else this.cbSelect.setValue(this.column.isVisible());var r=!0,o=!0;if(e){var n=this.gridOptionsWrapper.isFunctionsReadOnly(),i=!this.column.isAnyFunctionAllowed();o=r=!n&&!i}else{var a=this.column.getColDef(),s=a.enableRowGroup,l=a.enableValue,c=a.lockPosition,u=a.suppressMovable;r=!a.lockVisible,o=!!s||!!l||!(!!c||!!u)}this.cbSelect.setReadOnly(!r),this.eDragHandle.classList.toggle("ag-column-select-column-readonly",!o),this.addOrRemoveCssClass("ag-column-select-column-readonly",!o&&!r);var p=e&&this.gridOptionsWrapper.isFunctionsPassive();this.cbSelect.setPassive(p),this.processingColumnStateChange=!1},t.prototype.getDisplayName=function(){return this.displayName},t.prototype.onSelectAllChanged=function(e){e!==this.cbSelect.getValue()&&(this.cbSelect.isReadOnly()||this.cbSelect.toggle())},t.prototype.isSelected=function(){return this.cbSelect.getValue()},t.prototype.isSelectable=function(){return!this.cbSelect.isReadOnly()},t.prototype.isExpandable=function(){return!1},t.prototype.setExpanded=function(e){console.warn("AG Grid: can not expand a column item that does not represent a column group header")},t.TEMPLATE='<div class="ag-column-select-column" aria-hidden="true">\n <ag-checkbox ref="cbSelect" class="ag-column-select-checkbox"></ag-checkbox>\n <span class="ag-column-select-column-label" ref="eLabel"></span>\n </div>',x([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),x([Object(i.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),x([Object(i.Autowired)("modelItemUtils")],t.prototype,"modelItemUtils",void 0),x([Object(i.RefSelector)("eLabel")],t.prototype,"eLabel",void 0),x([Object(i.RefSelector)("cbSelect")],t.prototype,"cbSelect",void 0),x([i.PostConstruct],t.prototype,"init",null),t}(i.Component),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),A=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},P=function(){function e(e){this.items=e}return e.prototype.getRowCount=function(){return this.items.length},e.prototype.getRow=function(e){return this.items[e]},e}(),_=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.destroyColumnItemFuncs=[],r}return T(t,e),t.prototype.destroyColumnTree=function(){this.allColsTree=[],this.destroyColumnItemFuncs.forEach((function(e){return e()})),this.destroyColumnItemFuncs=[]},t.prototype.init=function(e,t,r){var o=this;this.params=e,this.allowDragging=t,this.eventType=r,this.params.suppressSyncLayoutWithGrid||this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_MOVED,this.onColumnsChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,this.onColumnsChanged.bind(this)),[i.Events.EVENT_COLUMN_PIVOT_CHANGED,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,i.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,i.Events.EVENT_COLUMN_VALUE_CHANGED,i.Events.EVENT_COLUMN_VISIBLE,i.Events.EVENT_NEW_COLUMNS_LOADED].forEach((function(e){o.addManagedListener(o.eventService,e,o.fireSelectionChangedEvent.bind(o))})),this.expandGroupsByDefault=!this.params.contractColumnSelection;var n=this.gridOptionsWrapper.getLocaleTextFunc()("ariaColumnList","Column List");this.virtualList=this.createManagedBean(new i.VirtualList("column-select","tree",n)),this.appendChild(this.virtualList.getGui()),this.virtualList.setComponentCreator((function(e,t){return i._.setAriaLevel(t,e.getDept()+1),o.createComponentFromItem(e,t)})),this.columnModel.isReady()&&this.onColumnsChanged(),e.suppressColumnMove||this.gridOptionsWrapper.isSuppressMovableColumns()||this.createManagedBean(new S(this,this.virtualList))},t.prototype.createComponentFromItem=function(e,t){if(e.isGroup()){var r=new b(e,this.allowDragging,this.eventType,t);return this.getContext().createBean(r),r}var o=new R(e.getColumn(),e.getDept(),this.allowDragging,this.groupsExist,t);return this.getContext().createBean(o),o},t.prototype.onColumnsChanged=function(){var e=this.getExpandedStates(),t=this.columnModel.isPivotMode();!this.params.suppressSyncLayoutWithGrid&&!t?this.buildTreeFromWhatGridIsDisplaying():this.buildTreeFromProvidedColumnDefs(),this.setExpandedStates(e),this.markFilteredColumns(),this.flattenAndFilterModel()},t.prototype.getDisplayedColsList=function(){return this.displayedColsList},t.prototype.getExpandedStates=function(){if(!this.allColsTree)return{};var e={};return this.forEachItem((function(t){if(t.isGroup()){var r=t.getColumnGroup();r&&(e[r.getId()]=t.isExpanded())}})),e},t.prototype.setExpandedStates=function(e){this.allColsTree&&this.forEachItem((function(t){if(t.isGroup()){var r=t.getColumnGroup();if(r){var o=e[r.getId()];null!=o&&t.setExpanded(o)}}}))},t.prototype.buildTreeFromWhatGridIsDisplaying=function(){this.colDefService.syncLayoutWithGrid(this.setColumnLayout.bind(this))},t.prototype.setColumnLayout=function(e){var t=this.colDefService.createColumnTree(e);this.buildListModel(t),this.groupsExist=e.some((function(e){return e&&void 0!==e.children})),this.markFilteredColumns(),this.flattenAndFilterModel()},t.prototype.buildTreeFromProvidedColumnDefs=function(){this.buildListModel(this.columnModel.getPrimaryColumnTree()),this.groupsExist=this.columnModel.isPrimaryColumnGroupsPresent()},t.prototype.buildListModel=function(e){var t=this,r=this.onColumnExpanded.bind(this),o=function(e,t,r){e.forEach((function(e){e instanceof i.ProvidedColumnGroup?n(e,t,r):a(e,t,r)}))},n=function(e,n,i){var a=e.getColGroupDef();if(!(a&&a.suppressColumnsToolPanel))if(e.isPadding())o(e.getChildren(),n,i);else{var s=t.columnModel.getDisplayNameForProvidedColumnGroup(null,e,t.eventType),l=new u(s,e,n,!0,t.expandGroupsByDefault);i.push(l),function(e){e.addEventListener(u.EVENT_EXPANDED_CHANGED,r);var o=e.removeEventListener.bind(e,u.EVENT_EXPANDED_CHANGED,r);t.destroyColumnItemFuncs.push(o)}(l),o(e.getChildren(),n+1,l.getChildren())}},a=function(e,r,o){if(!(e.getColDef()&&e.getColDef().suppressColumnsToolPanel)){var n=t.columnModel.getDisplayNameForColumn(e,"columnToolPanel");o.push(new u(n,e,r))}};this.destroyColumnTree(),o(e,0,this.allColsTree)},t.prototype.onColumnExpanded=function(){this.flattenAndFilterModel()},t.prototype.flattenAndFilterModel=function(){var e=this;this.displayedColsList=[];var t=function(r){r.isPassesFilter()&&(e.displayedColsList.push(r),r.isGroup()&&r.isExpanded()&&r.getChildren().forEach(t))};this.allColsTree.forEach(t),this.virtualList.setModel(new P(this.displayedColsList));var r=this.virtualList.getLastFocusedRow();this.virtualList.refresh(),null!=r&&this.focusRowIfAlive(r),this.notifyListeners()},t.prototype.focusRowIfAlive=function(e){var t=this;window.setTimeout((function(){t.isAlive()&&t.virtualList.focusRow(e)}),0)},t.prototype.forEachItem=function(e){var t=function(r){r.forEach((function(r){e(r),r.isGroup()&&t(r.getChildren())}))};t(this.allColsTree)},t.prototype.doSetExpandedAll=function(e){this.forEachItem((function(t){t.isGroup()&&t.setExpanded(e)}))},t.prototype.setGroupsExpanded=function(e,t){if(t){var r=[];this.forEachItem((function(o){if(o.isGroup()){var n=o.getColumnGroup().getId();t.indexOf(n)>=0&&(o.setExpanded(e),r.push(n))}}));var o=t.filter((function(e){return!i._.includes(r,e)}));o.length>0&&console.warn("AG Grid: unable to find group(s) for supplied groupIds:",o)}else this.doSetExpandedAll(e)},t.prototype.getExpandState=function(){var e=0,t=0;return this.forEachItem((function(r){r.isGroup()&&(r.isExpanded()?e++:t++)})),e>0&&t>0?n.INDETERMINATE:t>0?n.COLLAPSED:n.EXPANDED},t.prototype.doSetSelectedAll=function(e){this.modelItemUtils.selectAllChildren(this.allColsTree,e,this.eventType)},t.prototype.getSelectionState=function(){var e=0,t=0,r=this.columnModel.isPivotMode();if(this.forEachItem((function(o){if(!o.isGroup()&&o.isPassesFilter()){var n,i=o.getColumn(),a=i.getColDef();if(r){if(!i.isAllowPivot()&&!i.isAllowRowGroup()&&!i.isAllowValue())return;n=i.isValueActive()||i.isPivotActive()||i.isRowGroupActive()}else{if(a.lockVisible)return;n=i.isVisible()}n?e++:t++}})),!(e>0&&t>0))return!(0===e||t>0)},t.prototype.setFilterText=function(e){this.filterText=i._.exists(e)?e.toLowerCase():null,this.markFilteredColumns(),this.flattenAndFilterModel()},t.prototype.markFilteredColumns=function(){var e=this,t=function(t){if(!i._.exists(e.filterText))return!0;var r=t.getDisplayName();return null==r||-1!==r.toLowerCase().indexOf(e.filterText)},r=function(e,o){var n=!1;if(e.isGroup()){var i=t(e);e.getChildren().forEach((function(e){var t=r(e,i||o);t&&(n=t)}))}var a=!(!o&&!n)||t(e);return e.setPassesFilter(a),a};this.allColsTree.forEach((function(e){return r(e,!1)}))},t.prototype.notifyListeners=function(){this.fireGroupExpandedEvent(),this.fireSelectionChangedEvent()},t.prototype.fireGroupExpandedEvent=function(){var e=this.getExpandState();this.dispatchEvent({type:"groupExpanded",state:e})},t.prototype.fireSelectionChangedEvent=function(){var e=this.getSelectionState();this.dispatchEvent({type:"selectionChanged",state:e})},t.TEMPLATE='<div class="ag-column-select-list" role="presentation"></div>',A([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),A([Object(i.Autowired)("toolPanelColDefService")],t.prototype,"colDefService",void 0),A([Object(i.Autowired)("modelItemUtils")],t.prototype,"modelItemUtils",void 0),A([i.PreDestroy],t.prototype,"destroyColumnTree",null),t}(i.Component),D=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),M=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.createTemplate=function(){return'<div class="ag-pivot-mode-panel">\n <ag-toggle-button ref="cbPivotMode" class="ag-pivot-mode-select"></ag-toggle-button>\n </div>'},t.prototype.init=function(){this.setTemplate(this.createTemplate()),this.cbPivotMode.setValue(this.columnModel.isPivotMode());var e=this.gridOptionsWrapper.getLocaleTextFunc();this.cbPivotMode.setLabel(e("pivotMode","Pivot Mode")),this.addManagedListener(this.cbPivotMode,i.AgCheckbox.EVENT_CHANGED,this.onBtPivotMode.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,this.onPivotModeChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this))},t.prototype.onBtPivotMode=function(){var e=!!this.cbPivotMode.getValue();if(e!==this.columnModel.isPivotMode()){this.columnModel.setPivotMode(e,"toolPanelUi");var t=this.gridOptionsWrapper.getApi();t&&t.refreshHeader()}},t.prototype.onPivotModeChanged=function(){var e=this.columnModel.isPivotMode();this.cbPivotMode.setValue(e)},M([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),M([Object(i.RefSelector)("cbPivotMode")],t.prototype,"cbPivotMode",void 0),M([i.PreConstruct],t.prototype,"init",null),t}(i.Component),I=r(45),L=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),k=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},F=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return L(t,e),t.prototype.postConstruct=function(){this.initialiseTabGuard({})},t.prototype.init=function(e,t,r){this.allowDragging=e,this.params=t,this.eventType=r,this.primaryColsHeaderPanel.init(this.params);var o=this.params.suppressColumnFilter,n=this.params.suppressColumnSelectAll;this.params.suppressColumnExpandAll&&o&&n&&this.primaryColsHeaderPanel.setDisplayed(!1),this.addManagedListener(this.primaryColsListPanel,"groupExpanded",this.onGroupExpanded.bind(this)),this.addManagedListener(this.primaryColsListPanel,"selectionChanged",this.onSelectionChange.bind(this)),this.primaryColsListPanel.init(this.params,this.allowDragging,this.eventType),this.addManagedListener(this.primaryColsHeaderPanel,"expandAll",this.onExpandAll.bind(this)),this.addManagedListener(this.primaryColsHeaderPanel,"collapseAll",this.onCollapseAll.bind(this)),this.addManagedListener(this.primaryColsHeaderPanel,"selectAll",this.onSelectAll.bind(this)),this.addManagedListener(this.primaryColsHeaderPanel,"unselectAll",this.onUnselectAll.bind(this)),this.addManagedListener(this.primaryColsHeaderPanel,"filterChanged",this.onFilterChanged.bind(this)),this.positionableFeature=new i.PositionableFeature(this.getGui(),{minHeight:100}),this.createManagedBean(this.positionableFeature)},t.prototype.toggleResizable=function(e){this.positionableFeature.setResizable(!!e&&{bottom:!0})},t.prototype.onExpandAll=function(){this.primaryColsListPanel.doSetExpandedAll(!0)},t.prototype.onCollapseAll=function(){this.primaryColsListPanel.doSetExpandedAll(!1)},t.prototype.expandGroups=function(e){this.primaryColsListPanel.setGroupsExpanded(!0,e)},t.prototype.collapseGroups=function(e){this.primaryColsListPanel.setGroupsExpanded(!1,e)},t.prototype.setColumnLayout=function(e){this.primaryColsListPanel.setColumnLayout(e)},t.prototype.onFilterChanged=function(e){this.primaryColsListPanel.setFilterText(e.filterText)},t.prototype.syncLayoutWithGrid=function(){this.primaryColsListPanel.onColumnsChanged()},t.prototype.onSelectAll=function(){this.primaryColsListPanel.doSetSelectedAll(!0)},t.prototype.onUnselectAll=function(){this.primaryColsListPanel.doSetSelectedAll(!1)},t.prototype.onGroupExpanded=function(e){this.primaryColsHeaderPanel.setExpandState(e.state)},t.prototype.onSelectionChange=function(e){this.primaryColsHeaderPanel.setSelectionState(e.state)},t.TEMPLATE='<div class="ag-column-select">\n <ag-primary-cols-header ref="primaryColsHeaderPanel"></ag-primary-cols-header>\n <ag-primary-cols-list ref="primaryColsListPanel"></ag-primary-cols-list>\n </div>',k([Object(i.RefSelector)("primaryColsHeaderPanel")],t.prototype,"primaryColsHeaderPanel",void 0),k([Object(i.RefSelector)("primaryColsListPanel")],t.prototype,"primaryColsListPanel",void 0),k([i.PostConstruct],t.prototype,"postConstruct",null),t}(i.TabGuardComp),G=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),j=function(){return(j=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},z=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},B=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.initialised=!1,r.childDestroyFuncs=[],r}return G(t,e),t.prototype.setVisible=function(t){e.prototype.setDisplayed.call(this,t),t&&!this.initialised&&this.init(this.params)},t.prototype.init=function(e){var t=this,r={suppressColumnMove:!1,suppressColumnSelectAll:!1,suppressColumnFilter:!1,suppressColumnExpandAll:!1,contractColumnSelection:!1,suppressPivotMode:!1,suppressRowGroups:!1,suppressValues:!1,suppressPivots:!1,suppressSyncLayoutWithGrid:!1,api:this.gridApi,columnApi:this.columnApi};if(this.params=j(j(j({},r),e),{context:this.gridOptionsWrapper.getContext()}),this.isRowGroupingModuleLoaded()&&!this.params.suppressPivotMode&&(this.pivotModePanel=this.createBean(new N),this.childDestroyFuncs.push((function(){return t.destroyBean(t.pivotModePanel)})),this.appendChild(this.pivotModePanel)),this.primaryColsPanel=this.createBean(new F),this.childDestroyFuncs.push((function(){return t.destroyBean(t.primaryColsPanel)})),this.primaryColsPanel.init(!0,this.params,"toolPanelUi"),this.primaryColsPanel.addCssClass("ag-column-panel-column-select"),this.appendChild(this.primaryColsPanel),this.isRowGroupingModuleLoaded()){this.params.suppressRowGroups||(this.rowGroupDropZonePanel=this.createBean(new I.RowGroupDropZonePanel(!1)),this.childDestroyFuncs.push((function(){return t.destroyBean(t.rowGroupDropZonePanel)})),this.appendChild(this.rowGroupDropZonePanel)),this.params.suppressValues||(this.valuesDropZonePanel=this.createBean(new I.ValuesDropZonePanel(!1)),this.childDestroyFuncs.push((function(){return t.destroyBean(t.valuesDropZonePanel)})),this.appendChild(this.valuesDropZonePanel)),this.params.suppressPivots||(this.pivotDropZonePanel=this.createBean(new I.PivotDropZonePanel(!1)),this.childDestroyFuncs.push((function(){return t.destroyBean(t.pivotDropZonePanel)})),this.appendChild(this.pivotDropZonePanel)),this.setLastVisible();var o=this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,(function(){t.resetChildrenHeight(),t.setLastVisible()}));this.childDestroyFuncs.push((function(){return o()}))}this.initialised=!0},t.prototype.setPivotModeSectionVisible=function(e){var t=this;this.isRowGroupingModuleLoaded()&&(this.pivotModePanel?this.pivotModePanel.setDisplayed(e):e&&(this.pivotModePanel=this.createBean(new N),this.getGui().insertBefore(this.pivotModePanel.getGui(),this.getGui().firstChild),this.childDestroyFuncs.push((function(){return t.destroyBean(t.pivotModePanel)}))),this.setLastVisible())},t.prototype.setRowGroupsSectionVisible=function(e){this.isRowGroupingModuleLoaded()&&(this.rowGroupDropZonePanel?this.rowGroupDropZonePanel.setDisplayed(e):e&&(this.rowGroupDropZonePanel=this.createManagedBean(new I.RowGroupDropZonePanel(!1)),this.appendChild(this.rowGroupDropZonePanel)),this.setLastVisible())},t.prototype.setValuesSectionVisible=function(e){this.isRowGroupingModuleLoaded()&&(this.valuesDropZonePanel?this.valuesDropZonePanel.setDisplayed(e):e&&(this.valuesDropZonePanel=this.createManagedBean(new I.ValuesDropZonePanel(!1)),this.appendChild(this.valuesDropZonePanel)),this.setLastVisible())},t.prototype.setPivotSectionVisible=function(e){this.isRowGroupingModuleLoaded()&&(this.pivotDropZonePanel?this.pivotDropZonePanel.setDisplayed(e):e&&(this.pivotDropZonePanel=this.createManagedBean(new I.PivotDropZonePanel(!1)),this.appendChild(this.pivotDropZonePanel),this.pivotDropZonePanel.setDisplayed(e)),this.setLastVisible())},t.prototype.setResizers=function(){[this.primaryColsPanel,this.rowGroupDropZonePanel,this.valuesDropZonePanel,this.pivotDropZonePanel].forEach((function(e){if(e){var t=e.getGui();e.toggleResizable(!t.classList.contains("ag-last-column-drop")&&!t.classList.contains("ag-hidden"))}}))},t.prototype.setLastVisible=function(){var e=this.getGui();Array.prototype.slice.call(e.querySelectorAll(".ag-column-drop")).forEach((function(e){return e.classList.remove("ag-last-column-drop")}));var t=e.querySelectorAll(".ag-column-drop:not(.ag-hidden)"),r=i._.last(t);r&&r.classList.add("ag-last-column-drop"),this.setResizers()},t.prototype.resetChildrenHeight=function(){for(var e=this.getGui().children,t=0;t<e.length;t++){var r=e[t];r.style.removeProperty("height"),r.style.removeProperty("flex")}},t.prototype.isRowGroupingModuleLoaded=function(){return i.ModuleRegistry.assertRegistered(i.ModuleNames.RowGroupingModule,"Row Grouping")},t.prototype.expandColumnGroups=function(e){this.primaryColsPanel.expandGroups(e)},t.prototype.collapseColumnGroups=function(e){this.primaryColsPanel.collapseGroups(e)},t.prototype.setColumnLayout=function(e){this.primaryColsPanel.setColumnLayout(e)},t.prototype.syncLayoutWithGrid=function(){this.primaryColsPanel.syncLayoutWithGrid()},t.prototype.destroyChildren=function(){this.childDestroyFuncs.forEach((function(e){return e()})),this.childDestroyFuncs.length=0,i._.clearElement(this.getGui())},t.prototype.refresh=function(){this.destroyChildren(),this.init(this.params)},t.prototype.destroy=function(){this.destroyChildren(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-column-panel"></div>',z([Object(i.Autowired)("gridApi")],t.prototype,"gridApi",void 0),z([Object(i.Autowired)("columnApi")],t.prototype,"columnApi",void 0),t}(i.Component),V=r(61),W=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},H=function(){function e(){}return e.prototype.selectAllChildren=function(e,t,r){var o=this.extractAllLeafColumns(e);this.setAllColumns(o,t,r)},e.prototype.setColumn=function(e,t,r){this.setAllColumns([e],t,r)},e.prototype.setAllColumns=function(e,t,r){this.columnModel.isPivotMode()?this.setAllPivot(e,t,r):this.setAllVisible(e,t,r)},e.prototype.extractAllLeafColumns=function(e){var t=[],r=function(e){e.forEach((function(e){e.isPassesFilter()&&(e.isGroup()?r(e.getChildren()):t.push(e.getColumn()))}))};return r(e),t},e.prototype.setAllVisible=function(e,t,r){var o=[];e.forEach((function(e){e.getColDef().lockVisible||e.isVisible()!=t&&o.push({colId:e.getId(),hide:!t})})),o.length>0&&this.columnModel.applyColumnState({state:o},r)},e.prototype.setAllPivot=function(e,t,r){this.gridOptionsWrapper.isFunctionsPassive()?this.setAllPivotPassive(e,t):this.setAllPivotActive(e,t,r)},e.prototype.setAllPivotPassive=function(e,t){var r=this.columnModel.getPivotColumns().slice(),o=this.columnModel.getValueColumns().slice(),n=this.columnModel.getRowGroupColumns().slice(),a=!1,s=!1,l=!1,c=t?function(e){e.isAnyFunctionActive()||(e.isAllowValue()?(o.push(e),s=!0):e.isAllowRowGroup()?(n.push(e),a=!0):e.isAllowPivot()&&(r.push(e),l=!0))}:function(e){e.isAnyFunctionActive()&&(r.indexOf(e)>=0&&(i._.removeFromArray(r,e),a=!0),o.indexOf(e)>=0&&(i._.removeFromArray(o,e),s=!0),n.indexOf(e)>=0&&(i._.removeFromArray(n,e),l=!0))};if(e.forEach(c),a){var u={type:i.Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST,columns:r};this.eventService.dispatchEvent(u)}if(l){var p={type:i.Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST,columns:n};this.eventService.dispatchEvent(p)}if(s){var d={type:i.Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST,columns:n};this.eventService.dispatchEvent(d)}},e.prototype.setAllPivotActive=function(e,t,r){var o=this,n=[],i=t?function(e){if(!e.isAnyFunctionActive())if(e.isAllowValue()){var t="string"==typeof e.getAggFunc()?e.getAggFunc():o.aggFuncService.getDefaultAggFunc(e);n.push({colId:e.getId(),aggFunc:t})}else e.isAllowRowGroup()?n.push({colId:e.getId(),rowGroup:!0}):e.isAllowPivot()&&n.push({colId:e.getId(),pivot:!0})}:function(e){(e.isPivotActive()||e.isRowGroupActive()||e.isValueActive())&&n.push({colId:e.getId(),pivot:!1,rowGroup:!1,aggFunc:null})};e.forEach(i),n.length>0&&this.columnModel.applyColumnState({state:n},r)},W([Object(i.Autowired)("aggFuncService")],e.prototype,"aggFuncService",void 0),W([Object(i.Autowired)("columnModel")],e.prototype,"columnModel",void 0),W([Object(i.Autowired)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),W([Object(i.Autowired)("eventService")],e.prototype,"eventService",void 0),e=W([Object(i.Bean)("modelItemUtils")],e)}(),U={moduleName:i.ModuleNames.ColumnToolPanelModule,beans:[H],agStackComponents:[{componentName:"AgPrimaryColsHeader",componentClass:c},{componentName:"AgPrimaryColsList",componentClass:_},{componentName:"AgPrimaryCols",componentClass:F}],userComponents:[{componentName:"agColumnsToolPanel",componentClass:B}],dependantModules:[a.EnterpriseCoreModule,I.RowGroupingModule,V.SideBarModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"RangeSelectionModule",(function(){return A}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(){return(s=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},u=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e},p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellRanges=[],t.bodyScrollListener=t.onBodyScroll.bind(t),t.dragging=!1,t.intersectionRange=!1,t}return a(t,e),t.prototype.init=function(){var e=this;this.addManagedListener(this.eventService,n.Events.EVENT_NEW_COLUMNS_LOADED,(function(){return e.onColumnsChanged()})),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_VISIBLE,this.onColumnsChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_VALUE_CHANGED,this.onColumnsChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,(function(){return e.removeAllCellRanges()})),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,(function(){return e.removeAllCellRanges()})),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_PIVOT_CHANGED,(function(){return e.removeAllCellRanges()})),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_GROUP_OPENED,this.refreshLastRangeStart.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_MOVED,this.refreshLastRangeStart.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_PINNED,this.refreshLastRangeStart.bind(this)),this.ctrlsService.whenReady((function(){var t=e.ctrlsService.getGridBodyCtrl();e.autoScrollService=new n.AutoScrollService({scrollContainer:t.getBodyViewportElement(),scrollAxis:"xy",getVerticalPosition:function(){return t.getScrollFeature().getVScrollPosition().top},setVerticalPosition:function(e){return t.getScrollFeature().setVerticalScrollPosition(e)},getHorizontalPosition:function(){return t.getScrollFeature().getHScrollPosition().left},setHorizontalPosition:function(e){return t.getScrollFeature().setHorizontalScrollPosition(e)},shouldSkipVerticalScroll:function(){return e.gridOptionsWrapper.getDomLayout()!==n.Constants.DOM_LAYOUT_NORMAL},shouldSkipHorizontalScroll:function(){return t.getScrollFeature().isHorizontalScrollShowing()}})}))},t.prototype.onColumnsChanged=function(){var e=this;this.refreshLastRangeStart();var t=this.columnModel.getAllDisplayedColumns();this.cellRanges.forEach((function(r){var o=r.columns;r.columns=r.columns.filter((function(e){return e.isVisible()&&-1!==t.indexOf(e)})),!n._.areEqual(o,r.columns)&&e.dispatchChangedEvent(!1,!0,r.id)}));var r=this.cellRanges.length;this.cellRanges=this.cellRanges.filter((function(e){return e.columns.length>0})),r>this.cellRanges.length&&this.dispatchChangedEvent(!1,!0)},t.prototype.refreshLastRangeStart=function(){var e=n._.last(this.cellRanges);e&&this.refreshRangeStart(e)},t.prototype.isContiguousRange=function(e){var t=e.columns;if(!t.length)return!1;var r=this.columnModel.getAllDisplayedColumns(),o=t.map((function(e){return r.indexOf(e)})).sort((function(e,t){return e-t}));return n._.last(o)-o[0]+1===t.length},t.prototype.getRangeStartRow=function(e){return e.startRow&&e.endRow?this.rowPositionUtils.before(e.startRow,e.endRow)?e.startRow:e.endRow:{rowIndex:0,rowPinned:this.pinnedRowModel.getPinnedTopRowCount()>0?n.Constants.PINNED_TOP:null}},t.prototype.getRangeEndRow=function(e){if(e.startRow&&e.endRow)return this.rowPositionUtils.before(e.startRow,e.endRow)?e.endRow:e.startRow;var t=this.pinnedRowModel.getPinnedBottomRowCount();return t>0?{rowIndex:t-1,rowPinned:n.Constants.PINNED_BOTTOM}:{rowIndex:this.rowModel.getRowCount()-1,rowPinned:null}},t.prototype.setRangeToCell=function(e,t){if(void 0===t&&(t=!1),this.gridOptionsWrapper.isEnableRangeSelection()){var r=this.calculateColumnsBetween(e.column,e.column);if(r){(this.gridOptionsWrapper.isSuppressMultiRangeSelection()||!t||n._.missing(this.cellRanges))&&this.removeAllCellRanges(!0);var o={rowIndex:e.rowIndex,rowPinned:e.rowPinned},i={startRow:o,endRow:o,columns:r,startColumn:e.column};this.cellRanges.push(i),this.setNewestRangeStartCell(e),this.onDragStop(),this.dispatchChangedEvent(!0,!0)}}},t.prototype.extendLatestRangeToCell=function(e){if(!this.isEmpty()&&this.newestRangeStartCell){var t=n._.last(this.cellRanges);this.updateRangeEnd(t,e)}},t.prototype.updateRangeEnd=function(e,t,r){void 0===r&&(r=!1);var o=t.column,n=this.calculateColumnsBetween(e.startColumn,o);n&&!this.isLastCellOfRange(e,t)&&(e.columns=n,e.endRow={rowIndex:t.rowIndex,rowPinned:t.rowPinned},r||this.dispatchChangedEvent(!0,!0,e.id))},t.prototype.refreshRangeStart=function(e){var t=e.startColumn,r=e.columns,o=function(t,r){var o=e.columns.filter((function(e){return e!==t}));t?(e.startColumn=t,e.columns=r?u([t],o):u(o,[t])):e.columns=o},i=this.getRangeEdgeColumns(e),a=i.left,s=i.right;t===r[0]&&t!==a?o(a,!0):t===n._.last(r)&&t===s&&o(s,!1)},t.prototype.getRangeEdgeColumns=function(e){var t=this.columnModel.getAllDisplayedColumns(),r=e.columns.map((function(e){return t.indexOf(e)})).filter((function(e){return e>-1})).sort((function(e,t){return e-t}));return{left:t[r[0]],right:t[n._.last(r)]}},t.prototype.extendLatestRangeInDirection=function(e){if(!this.isEmpty()&&this.newestRangeStartCell){var t=e.key,r=e.ctrlKey||e.metaKey,o=n._.last(this.cellRanges),i=this.newestRangeStartCell,a=o.columns[0],s=n._.last(o.columns),l=o.endRow.rowIndex,c=o.endRow.rowPinned,u={column:i.column===a?s:a,rowIndex:l,rowPinned:c},p=this.cellNavigationService.getNextCellToFocus(t,u,r);if(p)return this.setCellRange({rowStartIndex:i.rowIndex,rowStartPinned:i.rowPinned,rowEndIndex:p.rowIndex,rowEndPinned:p.rowPinned,columnStart:i.column,columnEnd:p.column}),p}},t.prototype.setCellRange=function(e){this.gridOptionsWrapper.isEnableRangeSelection()&&(this.removeAllCellRanges(!0),this.addCellRange(e))},t.prototype.setCellRanges=function(e){var t=this;n._.shallowCompare(this.cellRanges,e)||(this.removeAllCellRanges(!0),e.forEach((function(e){e.columns&&e.startRow&&t.setNewestRangeStartCell({rowIndex:e.startRow.rowIndex,rowPinned:e.startRow.rowPinned,column:e.columns[0]}),t.cellRanges.push(e)})),this.dispatchChangedEvent(!1,!0))},t.prototype.setNewestRangeStartCell=function(e){this.newestRangeStartCell=e},t.prototype.clearCellRangeCellValues=function(e){var t=this;e||(e=this.cellRanges),e.forEach((function(e){t.forEachRowInRange(e,(function(r){var o=t.rowPositionUtils.getRowNode(r);if(o)for(var n=0;n<e.columns.length;n++){var i=t.columnModel.getGridColumn(e.columns[n]);if(!i||!i.isCellEditable(o))return;o.setDataValue(i,null,"rangeService")}}))}))},t.prototype.createCellRangeFromCellRangeParams=function(e){var t,r=this,o=!1;if(e.columns)t=e.columns.map((function(e){return r.columnModel.getColumnWithValidation(e)})).filter((function(e){return e}));else{var i=this.columnModel.getColumnWithValidation(e.columnStart),a=this.columnModel.getColumnWithValidation(e.columnEnd);if(!i||!a)return;(t=this.calculateColumnsBetween(i,a))&&t.length&&(o=t[0]!==i)}if(t)return{startRow:null!=e.rowStartIndex?{rowIndex:e.rowStartIndex,rowPinned:e.rowStartPinned||null}:void 0,endRow:null!=e.rowEndIndex?{rowIndex:e.rowEndIndex,rowPinned:e.rowEndPinned||null}:void 0,columns:t,startColumn:o?n._.last(t):t[0]}},t.prototype.addCellRange=function(e){if(this.gridOptionsWrapper.isEnableRangeSelection()){var t=this.createCellRangeFromCellRangeParams(e);t&&(t.startRow&&this.setNewestRangeStartCell({rowIndex:t.startRow.rowIndex,rowPinned:t.startRow.rowPinned,column:t.startColumn}),this.cellRanges.push(t),this.dispatchChangedEvent(!1,!0,t.id))}},t.prototype.getCellRanges=function(){return this.cellRanges},t.prototype.isEmpty=function(){return 0===this.cellRanges.length},t.prototype.isMoreThanOneCell=function(){var e=this.cellRanges.length;if(0===e)return!1;if(e>1)return!0;var t=this.cellRanges[0],r=this.getRangeStartRow(t),o=this.getRangeEndRow(t);return r.rowPinned!==o.rowPinned||r.rowIndex!==o.rowIndex||1!==t.columns.length},t.prototype.areAllRangesAbleToMerge=function(){var e,t,r,o=this,n=new Map;if(this.cellRanges.length<=1)return!0;this.cellRanges.forEach((function(e){o.forEachRowInRange(e,(function(t){var r=(t.rowPinned||"normal")+"_"+t.rowIndex,o=n.get(r),i=e.columns.map((function(e){return e.getId()}));if(o){var a=i.filter((function(e){return-1===o.indexOf(e)}));o.push.apply(o,u(a))}else n.set(r,i)}))}));try{for(var i=p(n.values()),a=i.next();!a.done;a=i.next()){var s=a.value.sort().join();if(void 0!==r){if(r!==s)return!1}else r=s}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return!0},t.prototype.forEachRowInRange=function(e,t){for(var r=this.getRangeStartRow(e),o=this.getRangeEndRow(e),n=r;n&&(t(n),!this.rowPositionUtils.sameRow(n,o));)n=this.cellNavigationService.getRowBelow(n)},t.prototype.removeAllCellRanges=function(e){this.isEmpty()||(this.onDragStop(),this.cellRanges.length=0,e||this.dispatchChangedEvent(!1,!0))},t.prototype.onBodyScroll=function(){this.dragging&&this.lastMouseEvent&&this.onDragging(this.lastMouseEvent)},t.prototype.isCellInAnyRange=function(e){return this.getCellRangeCount(e)>0},t.prototype.isCellInSpecificRange=function(e,t){var r=null!==t.columns&&n._.includes(t.columns,e.column),o=this.isRowInRange(e.rowIndex,e.rowPinned,t);return r&&o},t.prototype.isLastCellOfRange=function(e,t){var r=e.startRow,o=e.endRow,i=this.rowPositionUtils.before(r,o)?o:r,a=t.rowIndex===i.rowIndex&&t.rowPinned===i.rowPinned,s=e.columns[0],l=n._.last(e.columns),c=e.startColumn===s?l:s;return t.column===c&&a},t.prototype.isBottomRightCell=function(e,t){var r=this.columnModel.getAllDisplayedColumns(),o=e.columns.map((function(e){return r.indexOf(e)})).sort((function(e,t){return e-t})),i=e.startRow,a=e.endRow,s=this.rowPositionUtils.before(i,a)?a:i,l=r.indexOf(t.column)===n._.last(o),c=t.rowIndex===s.rowIndex&&n._.makeNull(t.rowPinned)===n._.makeNull(s.rowPinned);return l&&c},t.prototype.getCellRangeCount=function(e){var t=this;return this.isEmpty()?0:this.cellRanges.filter((function(r){return t.isCellInSpecificRange(e,r)})).length},t.prototype.isRowInRange=function(e,t,r){var o=this.getRangeStartRow(r),n=this.getRangeEndRow(r),i={rowIndex:e,rowPinned:t||null},a=i.rowIndex===o.rowIndex&&i.rowPinned==o.rowPinned,s=i.rowIndex===n.rowIndex&&i.rowPinned==n.rowPinned;if(a||s)return!0;var l=!this.rowPositionUtils.before(i,o),c=this.rowPositionUtils.before(i,n);return l&&c},t.prototype.getDraggingRange=function(){return this.draggingRange},t.prototype.onDragStart=function(e){if(this.gridOptionsWrapper.isEnableRangeSelection()){var t=e.ctrlKey,r=e.metaKey,o=e.shiftKey,i=t||r,a=!!!this.gridOptionsWrapper.isSuppressMultiRangeSelection()&&i,s=o&&n._.existsAndNotEmpty(this.cellRanges);if(a||s&&!n._.exists(n._.last(this.cellRanges).type)||this.removeAllCellRanges(!0),this.cellHoverListener=this.addManagedListener(this.ctrlsService.getGridCtrl().getGui(),"mousemove",this.updateValuesOnMove.bind(this)),this.updateValuesOnMove(e),this.lastCellHovered){if(this.dragging=!0,this.lastMouseEvent=e,this.intersectionRange=a&&this.getCellRangeCount(this.lastCellHovered)>1,s||this.setNewestRangeStartCell(this.lastCellHovered),this.cellRanges.length>0)this.draggingRange=n._.last(this.cellRanges);else{var l={rowIndex:this.lastCellHovered.rowIndex,rowPinned:this.lastCellHovered.rowPinned};this.draggingRange={startRow:l,endRow:l,columns:[this.lastCellHovered.column],startColumn:this.newestRangeStartCell.column},this.cellRanges.push(this.draggingRange)}this.ctrlsService.getGridBodyCtrl().addScrollEventListener(this.bodyScrollListener),this.dispatchChangedEvent(!0,!1,this.draggingRange.id)}}},t.prototype.intersectLastRange=function(e){var t=this;if(!(e&&this.dragging||this.gridOptionsWrapper.isSuppressMultiRangeSelection()||this.isEmpty())){var r=n._.last(this.cellRanges),o=this.getRangeStartRow(r),i=this.getRangeEndRow(r),a=[];this.cellRanges.slice(0,-1).forEach((function(e){var l=t.getRangeStartRow(e),c=t.getRangeEndRow(e),p=e.columns,d=p.filter((function(e){return-1===r.columns.indexOf(e)}));if(d.length!==p.length)if(t.rowPositionUtils.before(i,l)||t.rowPositionUtils.before(c,o))a.push(e);else{var g=a.length;if(t.rowPositionUtils.before(l,o)){var h={columns:u(p),startColumn:r.startColumn,startRow:s({},l),endRow:t.cellNavigationService.getRowAbove(o)};a.push(h)}if(d.length>0){var f={columns:d,startColumn:n._.includes(d,r.startColumn)?r.startColumn:d[0],startRow:t.rowPositionUtils.rowMax([s({},o),s({},l)]),endRow:t.rowPositionUtils.rowMin([s({},i),s({},c)])};a.push(f)}t.rowPositionUtils.before(i,c)&&a.push({columns:u(p),startColumn:r.startColumn,startRow:t.cellNavigationService.getRowBelow(i),endRow:s({},c)}),a.length-g==1&&(a[a.length-1].id=e.id)}else a.push(e)})),this.cellRanges=a,e&&this.dispatchChangedEvent(!1,!0)}},t.prototype.updateValuesOnMove=function(e){var t=this.mouseEventService.getCellPositionForEvent(e);this.cellHasChanged=!1,!t||this.lastCellHovered&&this.cellPositionUtils.equals(t,this.lastCellHovered)||(this.lastCellHovered&&(this.cellHasChanged=!0),this.lastCellHovered=t)},t.prototype.onDragging=function(e){var t=this;if(this.dragging&&e){this.lastMouseEvent=e;var r=this.lastCellHovered,o=function(e){return r&&r.rowPinned===e&&t.newestRangeStartCell.rowPinned===e},n=o("top")||o("bottom");if(this.autoScrollService.check(e,n),this.cellHasChanged){var i=this.calculateColumnsBetween(this.newestRangeStartCell.column,r.column);i&&(this.draggingRange.endRow={rowIndex:r.rowIndex,rowPinned:r.rowPinned},this.draggingRange.columns=i,this.dispatchChangedEvent(!1,!1,this.draggingRange.id))}}},t.prototype.onDragStop=function(){if(this.cellHoverListener&&(this.cellHoverListener(),this.cellHoverListener=void 0),this.dragging){var e=this.draggingRange.id;this.autoScrollService.ensureCleared(),this.ctrlsService.getGridBodyCtrl().removeScrollEventListener(this.bodyScrollListener),this.lastMouseEvent=null,this.dragging=!1,this.draggingRange=void 0,this.lastCellHovered=void 0,this.intersectionRange&&(this.intersectionRange=!1,this.intersectLastRange()),this.dispatchChangedEvent(!1,!0,e)}},t.prototype.dispatchChangedEvent=function(e,t,r){var o=Object.freeze({type:n.Events.EVENT_RANGE_SELECTION_CHANGED,started:e,finished:t,id:r});this.eventService.dispatchEvent(o)},t.prototype.calculateColumnsBetween=function(e,t){var r=this.columnModel.getAllDisplayedColumns(),o=e===t,n=r.indexOf(e);if(n<0)console.warn("AG Grid: column "+e.getId()+" is not visible");else{var i=o?n:r.indexOf(t);if(!(i<0)){if(o)return[e];for(var a=Math.min(n,i),s=a===n?i:n,l=[],c=a;c<=s;c++)l.push(r[c]);return l}console.warn("AG Grid: column "+t.getId()+" is not visible")}},l([Object(n.Autowired)("rowModel")],t.prototype,"rowModel",void 0),l([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),l([Object(n.Autowired)("mouseEventService")],t.prototype,"mouseEventService",void 0),l([Object(n.Autowired)("cellNavigationService")],t.prototype,"cellNavigationService",void 0),l([Object(n.Autowired)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),l([Object(n.Autowired)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),l([Object(n.Autowired)("cellPositionUtils")],t.prototype,"cellPositionUtils",void 0),l([Object(n.Autowired)("ctrlsService")],t.prototype,"ctrlsService",void 0),l([n.PostConstruct],t.prototype,"init",null),t=l([Object(n.Bean)("rangeService")],t)}(n.BeanStub),g=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.changedCalculatedValues=!1,t.dragging=!1,t.shouldDestroyOnEndDragging=!1,t}return g(t,e),t.prototype.init=function(){var e=this;this.dragService.addDragSource({dragStartPixels:0,eElement:this.getGui(),onDragStart:this.onDragStart.bind(this),onDragging:function(t){e.dragging=!0,e.rangeService.autoScrollService.check(t),e.changedCalculatedValues&&(e.onDrag(t),e.changedCalculatedValues=!1)},onDragStop:function(t){e.dragging=!1,e.onDragEnd(t),e.clearValues(),e.rangeService.autoScrollService.ensureCleared(),document.body.classList.remove(e.getDraggingCssClass()),e.shouldDestroyOnEndDragging&&e.destroy()}}),this.addManagedListener(this.getGui(),"mousedown",this.preventRangeExtension.bind(this))},t.prototype.isDragging=function(){return this.dragging},t.prototype.getCellCtrl=function(){return this.cellCtrl},t.prototype.setCellCtrl=function(e){this.cellCtrl=e},t.prototype.getCellRange=function(){return this.cellRange},t.prototype.setCellRange=function(e){this.cellRange=e},t.prototype.getRangeStartRow=function(){return this.rangeStartRow},t.prototype.setRangeStartRow=function(e){this.rangeStartRow=e},t.prototype.getRangeEndRow=function(){return this.rangeEndRow},t.prototype.setRangeEndRow=function(e){this.rangeEndRow=e},t.prototype.getLastCellHovered=function(){return this.lastCellHovered},t.prototype.preventRangeExtension=function(e){e.preventDefault(),e.stopPropagation()},t.prototype.onDragStart=function(e){this.cellHoverListener=this.addManagedListener(this.ctrlsService.getGridCtrl().getGui(),"mousemove",this.updateValuesOnMove.bind(this)),document.body.classList.add(this.getDraggingCssClass())},t.prototype.getDraggingCssClass=function(){return"ag-dragging-"+(this.type===n.SelectionHandleType.FILL?"fill":"range")+"-handle"},t.prototype.updateValuesOnMove=function(e){var t=this.mouseEventService.getCellPositionForEvent(e);!t||this.lastCellHovered&&this.cellPositionUtils.equals(t,this.lastCellHovered)||(this.lastCellHovered=t,this.changedCalculatedValues=!0)},t.prototype.getType=function(){return this.type},t.prototype.refresh=function(e){var t=this.getCellCtrl(),r=this.getGui(),o=n._.last(this.rangeService.getCellRanges()),i=o.startRow,a=o.endRow;i&&a&&(this.rowPositionUtils.before(a,i)?(this.setRangeStartRow(a),this.setRangeEndRow(i)):(this.setRangeStartRow(i),this.setRangeEndRow(a)));if(t!==e||!n._.isVisible(r)){this.setCellCtrl(e);var s=e.getComp().getParentOfValue();s&&s.appendChild(r)}this.setCellRange(o)},t.prototype.clearValues=function(){this.lastCellHovered=void 0,this.removeListeners()},t.prototype.removeListeners=function(){this.cellHoverListener&&(this.cellHoverListener(),this.cellHoverListener=void 0)},t.prototype.destroy=function(){if(!this.shouldDestroyOnEndDragging&&this.isDragging())return n._.setDisplayed(this.getGui(),!1),void(this.shouldDestroyOnEndDragging=!0);this.shouldDestroyOnEndDragging=!1,e.prototype.destroy.call(this),this.removeListeners();var t=this.getGui();t.parentElement&&t.parentElement.removeChild(t)},h([Object(n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),h([Object(n.Autowired)("dragService")],t.prototype,"dragService",void 0),h([Object(n.Autowired)("rangeService")],t.prototype,"rangeService",void 0),h([Object(n.Autowired)("mouseEventService")],t.prototype,"mouseEventService",void 0),h([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),h([Object(n.Autowired)("cellNavigationService")],t.prototype,"cellNavigationService",void 0),h([Object(n.Autowired)("navigationService")],t.prototype,"navigationService",void 0),h([Object(n.Autowired)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),h([Object(n.Autowired)("cellPositionUtils")],t.prototype,"cellPositionUtils",void 0),h([Object(n.Autowired)("ctrlsService")],t.prototype,"ctrlsService",void 0),h([n.PostConstruct],t.prototype,"init",null),t}(n.Component),v=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),y=function(){return(y=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},m=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},b=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},w=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e},C=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.markedCells=[],r.cellValues=[],r.isUp=!1,r.isLeft=!1,r.isReduce=!1,r.type=n.SelectionHandleType.FILL,r}return v(t,e),t.prototype.updateValuesOnMove=function(t){e.prototype.updateValuesOnMove.call(this,t),this.initialXY||(this.initialXY=this.mouseEventService.getNormalisedPosition(t));var r,o=this.initialXY,n=o.x,i=o.y,a=this.mouseEventService.getNormalisedPosition(t),s=a.x,l=a.y,c=Math.abs(n-s),u=Math.abs(i-l),p=this.gridOptionsWrapper.getFillHandleDirection();(r="xy"===p?c>u?"x":"y":p)!==this.dragAxis&&(this.dragAxis=r,this.changedCalculatedValues=!0)},t.prototype.onDrag=function(e){if(!this.initialPosition){var t=this.getCellCtrl();if(!t)return;this.initialPosition=t.getCellPosition()}var r=this.getLastCellHovered();r&&this.markPathFrom(this.initialPosition,r)},t.prototype.onDragEnd=function(e){if(this.initialXY=null,this.markedCells.length){var t,r="x"===this.dragAxis,o=this.getCellRange(),n=o.columns.length,i=this.getRangeStartRow(),a=this.getRangeEndRow();if(this.isUp||this.isLeft){var s=r?i:this.lastCellMarked;t=this.rangeService.createCellRangeFromCellRangeParams({rowStartIndex:s.rowIndex,rowStartPinned:s.rowPinned,columnStart:r?this.lastCellMarked.column:o.columns[0],rowEndIndex:a.rowIndex,rowEndPinned:a.rowPinned,columnEnd:o.columns[n-1]})}else t=this.rangeService.createCellRangeFromCellRangeParams({rowStartIndex:i.rowIndex,rowStartPinned:i.rowPinned,columnStart:o.columns[0],rowEndIndex:r?a.rowIndex:this.lastCellMarked.rowIndex,rowEndPinned:r?a.rowPinned:this.lastCellMarked.rowPinned,columnEnd:r?this.lastCellMarked.column:o.columns[n-1]});t&&(this.raiseFillStartEvent(),this.handleValueChanged(o,t,e),this.rangeService.setCellRanges([t]),this.raiseFillEndEvent(o,t))}},t.prototype.raiseFillStartEvent=function(){var e={type:n.Events.EVENT_FILL_START};this.eventService.dispatchEvent(e)},t.prototype.raiseFillEndEvent=function(e,t){var r={type:n.Events.EVENT_FILL_END,initialRange:e,finalRange:t};this.eventService.dispatchEvent(r)},t.prototype.handleValueChanged=function(e,t,r){var o=this,i=this.rangeService.getRangeEndRow(e),a=this.rangeService.getRangeStartRow(e),s=this.rangeService.getRangeEndRow(t),l=this.rangeService.getRangeStartRow(t),c="y"===this.dragAxis;if(!this.isReduce||this.gridOptionsWrapper.isSuppressClearOnFillReduction()){var u=!0,p=[],d=[],g=0,h=function(){p.length=0,d.length=0,g=0},f=function(t,r){var d=o.isUp?i:a,g=!1;c&&(u=!0,h());for(var f=function(){var f=o.rowPositionUtils.getRowNode(d);if(!f)return"break";c&&t?v(p,t,f,(function(){return!o.rowPositionUtils.sameRow(d,o.isUp?a:i)})):r&&(u=!0,h(),r.forEach((function(t){return v(p,t,f,(function(){return t!==(o.isLeft?e.columns[0]:n._.last(e.columns))}))}))),g=o.rowPositionUtils.sameRow(d,o.isUp?l:s),d=o.isUp?o.cellNavigationService.getRowAbove(d):o.cellNavigationService.getRowBelow(d)};!g&&d;){if("break"===f())break}},v=function(e,t,n,i){var a,s=!1;if(u)a=o.getValueFromObject(o.valueService.getValue(t,n)),d.push(a),u=i();else{var l=o.processValues(r,e,d,t,n,g++),c=l.value,p=l.fromUserFunction;if(a=c,t.isCellEditable(n)){var h=o.getValueFromObject(o.valueService.getValue(t,n));p&&h===a?s=!0:n.setDataValue(t,a,"rangeService")}}s||e.push(a)};if(c)e.columns.forEach((function(e){f(e)}));else{y=this.isLeft?w(t.columns).reverse():t.columns;f(void 0,y)}}else{var y=c?e.columns:e.columns.filter((function(e){return t.columns.indexOf(e)<0})),m=c?this.cellNavigationService.getRowBelow(s):l;m&&this.clearCellsInRange(m,i,y)}},t.prototype.clearCellsInRange=function(e,t,r){var o={startRow:e,endRow:t,columns:r,startColumn:r[0]};this.rangeService.clearCellRangeCellValues([o])},t.prototype.processValues=function(e,t,r,o,i,a){var s,l=this.gridOptionsWrapper.getFillOperation();if(s="y"===this.dragAxis?this.isUp?"up":"down":this.isLeft?"left":"right",l){var c=l({event:e,values:t,initialValues:r,currentIndex:a,currentCellValue:this.valueService.getValue(o,i),direction:s,column:o,rowNode:i});if(!1!==c)return{value:c,fromUserFunction:!0}}var u=t.map(this.getValueFromObject),p=!u.some((function(e){var t=parseFloat(e);return isNaN(t)||t.toString()!==e.toString()}));if(e.altKey||!p){if(p&&1===r.length){var d=this.isUp||this.isLeft?-1:1;return{value:parseFloat(n._.last(u))+1*d,fromUserFunction:!1}}return{value:u[a%u.length],fromUserFunction:!1}}return{value:n._.last(n._.findLineByLeastSquares(u.map(Number))),fromUserFunction:!1}},t.prototype.getValueFromObject=function(e){return null!=e&&"object"==typeof e?e.toString():e},t.prototype.clearValues=function(){this.clearMarkedPath(),this.clearCellValues(),this.lastCellMarked=void 0,e.prototype.clearValues.call(this)},t.prototype.clearMarkedPath=function(){this.markedCells.forEach((function(e){if(e.isAlive()){var t=e.getComp();t.addOrRemoveCssClass("ag-selection-fill-top",!1),t.addOrRemoveCssClass("ag-selection-fill-right",!1),t.addOrRemoveCssClass("ag-selection-fill-bottom",!1),t.addOrRemoveCssClass("ag-selection-fill-left",!1)}})),this.markedCells.length=0,this.isUp=!1,this.isLeft=!1,this.isReduce=!1},t.prototype.clearCellValues=function(){this.cellValues.length=0},t.prototype.markPathFrom=function(e,t){if(this.clearMarkedPath(),this.clearCellValues(),"y"===this.dragAxis){if(this.rowPositionUtils.sameRow(t,e))return;var r=this.rowPositionUtils.before(t,e),o=this.getRangeStartRow(),n=this.getRangeEndRow();r&&(t.rowPinned==o.rowPinned&&t.rowIndex>=o.rowIndex||o.rowPinned!=n.rowPinned&&t.rowPinned==n.rowPinned&&t.rowIndex<=n.rowIndex)?(this.reduceVertical(e,t),this.isReduce=!0):(this.extendVertical(e,t,r),this.isReduce=!1)}else{var i=e.column,a=t.column;if(i===a)return;var s=this.columnModel.getAllDisplayedColumns(),l=s.indexOf(i),c=s.indexOf(a);c<=l&&c>=s.indexOf(this.getCellRange().columns[0])?(this.reduceHorizontal(e,t),this.isReduce=!0):(this.extendHorizontal(e,t,c<l),this.isReduce=!1)}this.lastCellMarked=t},t.prototype.extendVertical=function(e,t,r){var o=this.navigationService,n=this.rangeService,i=e;do{for(var a=this.getCellRange(),s=a.columns.length,l=0;l<s;l++){var c=a.columns[l],u={rowIndex:i.rowIndex,rowPinned:i.rowPinned},p=y(y({},u),{column:c}),d=n.isCellInSpecificRange(p,a),g=this.rowPositionUtils.sameRow(i,e);if(r&&(this.isUp=!0),!g){var h=o.getCellByPosition(p);if(h){this.markedCells.push(h);var f=h.getComp();d||(f.addOrRemoveCssClass("ag-selection-fill-left",0===l),f.addOrRemoveCssClass("ag-selection-fill-right",l===s-1)),f.addOrRemoveCssClass(r?"ag-selection-fill-top":"ag-selection-fill-bottom",this.rowPositionUtils.sameRow(i,t))}}}if(this.rowPositionUtils.sameRow(i,t))break}while(i=r?this.cellNavigationService.getRowAbove(i):this.cellNavigationService.getRowBelow(i))},t.prototype.reduceVertical=function(e,t){var r=e;do{for(var o=this.getCellRange(),n=o.columns.length,i=this.rowPositionUtils.sameRow(r,t),a=0;a<n;a++){var s={rowIndex:r.rowIndex,rowPinned:r.rowPinned},l=y(y({},s),{column:o.columns[a]}),c=this.navigationService.getCellByPosition(l);if(c)this.markedCells.push(c),c.getComp().addOrRemoveCssClass("ag-selection-fill-bottom",this.rowPositionUtils.sameRow(r,t))}if(i)break}while(r=this.cellNavigationService.getRowAbove(r))},t.prototype.extendHorizontal=function(e,t,r){var o=this,i=this.columnModel.getAllDisplayedColumns(),a=i.indexOf(r?t.column:e.column),s=i.indexOf(r?this.getCellRange().columns[0]:t.column),l=r?0:1,c=i.slice(a+l,s+l),u=this.getRangeStartRow(),p=this.getRangeEndRow();c.forEach((function(e){var t=u,i=!1;do{i=o.rowPositionUtils.sameRow(t,p);var a=o.navigationService.getCellByPosition({rowIndex:t.rowIndex,rowPinned:t.rowPinned,column:e});if(a){o.markedCells.push(a);var s=a.getComp();s.addOrRemoveCssClass("ag-selection-fill-top",o.rowPositionUtils.sameRow(t,u)),s.addOrRemoveCssClass("ag-selection-fill-bottom",o.rowPositionUtils.sameRow(t,p)),r?(o.isLeft=!0,s.addOrRemoveCssClass("ag-selection-fill-left",e===c[0])):s.addOrRemoveCssClass("ag-selection-fill-right",e===n._.last(c))}t=o.cellNavigationService.getRowBelow(t)}while(!i)}))},t.prototype.reduceHorizontal=function(e,t){var r=this,o=this.columnModel.getAllDisplayedColumns(),n=o.indexOf(t.column),i=o.indexOf(e.column),a=o.slice(n,i),s=this.getRangeStartRow(),l=this.getRangeEndRow();a.forEach((function(e){var t=s,o=!1;do{o=r.rowPositionUtils.sameRow(t,l);var n=r.navigationService.getCellByPosition({rowIndex:t.rowIndex,rowPinned:t.rowPinned,column:e});if(n)r.markedCells.push(n),n.getComp().addOrRemoveCssClass("ag-selection-fill-right",e===a[0]);t=r.cellNavigationService.getRowBelow(t)}while(!o)}))},t.prototype.refresh=function(t){var r=this.rangeService.getCellRanges()[0];r.startRow&&r.endRow?e.prototype.refresh.call(this,t):this.destroy()},t.TEMPLATE='<div class="ag-fill-handle"></div>',m([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),t}(f),O=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),S=function(){return(S=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},E=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.type=n.SelectionHandleType.RANGE,r.rangeFixed=!1,r}return O(t,e),t.prototype.onDrag=function(e){var t=this.getLastCellHovered();if(t){var r=this.rangeService.getCellRanges(),o=n._.last(r);if(this.rangeFixed||(this.fixRangeStartEnd(o),this.rangeFixed=!0),this.endPosition={rowIndex:t.rowIndex,rowPinned:t.rowPinned,column:t.column},2===r.length&&r[0].type===n.CellRangeType.DIMENSION&&o.type===n.CellRangeType.VALUE)!this.rowPositionUtils.sameRow(this.endPosition,this.rangeService.getRangeEndRow(o))&&this.rangeService.updateRangeEnd(r[0],S(S({},this.endPosition),{column:r[0].columns[0]}),!0);this.rangeService.extendLatestRangeToCell(this.endPosition)}},t.prototype.onDragEnd=function(e){var t=n._.last(this.rangeService.getCellRanges());this.fixRangeStartEnd(t),this.rangeFixed=!1},t.prototype.fixRangeStartEnd=function(e){var t=this.rangeService.getRangeStartRow(e),r=this.rangeService.getRangeEndRow(e),o=e.columns[0];e.startRow=t,e.endRow=r,e.startColumn=o},t.TEMPLATE='<div class="ag-range-handle"></div>',t}(f),x=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),R=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return x(t,e),t.prototype.createSelectionHandle=function(e){return this.createBean(e===n.SelectionHandleType.RANGE?new E:new C)},t=R([Object(n.Bean)("selectionHandleFactory")],t)}(n.BeanStub),A={moduleName:n.ModuleNames.RangeSelectionModule,beans:[d,T],agStackComponents:[{componentName:"AgFillHandle",componentClass:C},{componentName:"AgRangeHandle",componentClass:E}],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(52),i=r(7),a=r(2),s=r(18),l=r(8),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return c(t,e),t.prototype.init=function(e){this.params=e;var t,r=this.eInput;e.cellStartedEdit?(this.focusAfterAttached=!0,e.eventKey===l.a.BACKSPACE||e.eventKey===l.a.DELETE?t="":e.charPress?t=e.charPress:(t=this.getStartValue(e),e.eventKey!==l.a.F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,t=this.getStartValue(e)),null!=t&&r.setValue(t,!0),null!=e.maxLength&&r.setMaxLength(e.maxLength),this.addManagedListener(r.getGui(),"keydown",(function(e){var t=e.key;t!==l.a.PAGE_UP&&t!==l.a.PAGE_DOWN||e.preventDefault()}))},t.prototype.afterGuiAttached=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=this.eInput;if(t.setInputAriaLabel(e("ariaInputEditor","Input Editor")),this.focusAfterAttached){Object(s.isBrowserSafari)()||t.getFocusableElement().focus();var r=t.getInputElement();if(this.highlightAllOnFocus)r.select();else{var o=t.getValue(),n=Object(a.exists)(o)&&o.length||0;n&&r.setSelectionRange(n,n)}}},t.prototype.focusIn=function(){var e=this.eInput,t=e.getFocusableElement(),r=e.getInputElement();t.focus(),r.select()},t.prototype.getValue=function(){var e=this.eInput;return this.params.parseValue(e.getValue())},t.prototype.getStartValue=function(e){return e.useFormatter||e.column.getColDef().refData?e.formatValue(e.value):e.value},t.prototype.isPopup=function(){return!1},t.TEMPLATE='<div class="ag-cell-edit-wrapper">\n <ag-input-text-field class="ag-cell-editor" ref="eInput"></ag-input-text-field>\n </div>',u([Object(i.b)("eInput")],t.prototype,"eInput",void 0),t}(n.a)},function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"a",(function(){return u}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e,t){return function(r,o){t(r,o,e)}},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.setBeans=function(e){this.logging=e.isDebug()},t.prototype.create=function(e){return new u(e,this.isLogging.bind(this))},t.prototype.isLogging=function(){return this.logging},s([l(0,Object(n.h)("gridOptionsWrapper"))],t.prototype,"setBeans",null),t=s([Object(n.b)("loggerFactory")],t)}(i.a),u=function(){function e(e,t){this.name=e,this.isLoggingFunc=t}return e.prototype.isLogging=function(){return this.isLoggingFunc()},e.prototype.log=function(e){this.isLoggingFunc()&&console.log("AG Grid."+this.name+": "+e)},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(15),i=r(1),a=r(22),s=r(20),l=r(9),c=r(6),u=r(23),p=r(13),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(t,r,o,n,i,a){var s=e.call(this)||this;return s.cellValueFn=t,s.rowNode=r,s.column=o,s.customGui=n,s.dragStartPixels=i,s.suppressVisibilityChange=a,s.dragSource=null,s}return d(t,e),t.prototype.isCustomGui=function(){return null!=this.customGui},t.prototype.postConstruct=function(){if(this.customGui?this.setDragElement(this.customGui,this.dragStartPixels):(this.setTemplate('<div class="ag-drag-handle ag-row-drag" aria-hidden="true"></div>'),this.getGui().appendChild(Object(u.createIconNoSpan)("rowDrag",this.beans.gridOptionsWrapper,null)),this.addDragSource()),this.checkCompatibility(),!this.suppressVisibilityChange){var e=this.beans.gridOptionsWrapper.isRowDragManaged()?new y(this,this.beans,this.rowNode,this.column):new v(this,this.beans,this.rowNode,this.column);this.createManagedBean(e,this.beans.context)}},t.prototype.setDragElement=function(e,t){this.setTemplateFromElement(e),this.addDragSource(t)},t.prototype.getSelectedNodes=function(){if(!this.beans.gridOptionsWrapper.isRowDragMultiRow())return[this.rowNode];var e=this.beans.selectionService.getSelectedNodes();return-1!==e.indexOf(this.rowNode)?e:[this.rowNode]},t.prototype.checkCompatibility=function(){var e=this.beans.gridOptionsWrapper.isRowDragManaged();this.beans.gridOptionsWrapper.isTreeData()&&e&&Object(p.doOnce)((function(){return console.warn("AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true")}),"RowDragComp.managedAndTreeData")},t.prototype.getDragItem=function(){return{rowNode:this.rowNode,rowNodes:this.getSelectedNodes(),columns:this.column?[this.column]:void 0,defaultTextValue:this.cellValueFn()}},t.prototype.addDragSource=function(e){var t=this;void 0===e&&(e=4),this.dragSource&&this.removeDragSource();var r=this.gridOptionsWrapper.getRowDragText(this.column),o=this.gridOptionsWrapper.getLocaleTextFunc();this.dragSource={type:s.b.RowDrag,eElement:this.getGui(),dragItemName:function(){var e,n=t.getDragItem(),i=(null===(e=n.rowNodes)||void 0===e?void 0:e.length)||1;return r?r(n,i):1===i?t.cellValueFn():i+" "+o("rowDragRows","rows")},getDragItem:function(){return t.getDragItem()},dragStartPixels:e,dragSourceDomDataKey:this.beans.gridOptionsWrapper.getDomDataKey()},this.beans.dragAndDropService.addDragSource(this.dragSource,!0)},t.prototype.removeDragSource=function(){this.dragSource&&this.beans.dragAndDropService.removeDragSource(this.dragSource),this.dragSource=null},g([Object(i.a)("beans")],t.prototype,"beans",void 0),g([i.e],t.prototype,"postConstruct",null),g([i.g],t.prototype,"removeDragSource",null),t}(n.a),f=function(e){function t(t,r,o){var n=e.call(this)||this;return n.parent=t,n.rowNode=r,n.column=o,n}return d(t,e),t.prototype.setDisplayedOrVisible=function(e){if(e)this.parent.setDisplayed(!1);else{var t=!0,r=!1;this.column&&(t=this.column.isRowDrag(this.rowNode)||this.parent.isCustomGui(),r=Object(p.isFunction)(this.column.getColDef().rowDrag)),r?(this.parent.setDisplayed(!0),this.parent.setVisible(t)):(this.parent.setDisplayed(t),this.parent.setVisible(!0))}},t}(c.a),v=function(e){function t(t,r,o,n){var i=e.call(this,t,o,n)||this;return i.beans=r,i}return d(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.addManagedListener(this.rowNode,a.b.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,a.b.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,a.b.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,l.a.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.workOutVisibility()},t.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},t.prototype.workOutVisibility=function(){var e=this.beans.gridOptionsWrapper.isSuppressRowDrag();this.setDisplayedOrVisible(e)},g([i.e],t.prototype,"postConstruct",null),t}(f),y=function(e){function t(t,r,o,n){var i=e.call(this,t,o,n)||this;return i.beans=r,i}return d(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.beans.eventService,l.a.EVENT_SORT_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,l.a.EVENT_FILTER_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,l.a.EVENT_COLUMN_ROW_GROUP_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,l.a.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,a.b.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,a.b.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.workOutVisibility()},t.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},t.prototype.workOutVisibility=function(){var e=this.beans.ctrlsService.getGridBodyCtrl().getRowDragFeature(),t=e&&e.shouldPreventRowMove(),r=this.beans.gridOptionsWrapper.isSuppressRowDrag(),o=this.beans.dragAndDropService.hasExternalDropZones(),n=t&&!o||r;this.setDisplayedOrVisible(n)},g([i.e],t.prototype,"postConstruct",null),t}(f)},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(7),i=r(1),a=r(200),s=r(29),l=r(35),c=r(37),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(){return(p=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var t=e.call(this,"dateFilter")||this;return t.minValidYear=1e3,t.maxValidYear=1/0,t}return u(t,e),t.prototype.afterGuiAttached=function(t){e.prototype.afterGuiAttached.call(this,t),this.dateCondition1FromComp.afterGuiAttached(t)},t.prototype.mapValuesFromModel=function(e){var t=e||{},r=t.dateFrom,o=t.dateTo,n=t.type;return[r&&Object(c.parseDateTimeFromString)(r)||null,o&&Object(c.parseDateTimeFromString)(o)||null].slice(0,this.getNumberOfInputs(n))},t.prototype.comparator=function(){return this.dateFilterParams.comparator?this.dateFilterParams.comparator:this.defaultComparator.bind(this)},t.prototype.defaultComparator=function(e,t){return null==t||t<e?-1:t>e?1:0},t.prototype.setParams=function(t){e.prototype.setParams.call(this,t),this.dateFilterParams=t;var r=function(e,r){if(null!=t[e]){if(!isNaN(t[e]))return null==t[e]?r:Number(t[e]);console.warn("AG Grid: DateFilter "+e+" is not a number")}return r};this.minValidYear=r("minValidYear",1e3),this.maxValidYear=r("maxValidYear",1/0),this.minValidYear>this.maxValidYear&&console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear"),this.createDateComponents()},t.prototype.createDateComponents=function(){var e=this,t=function(t){return new a.a(e.getContext(),e.userComponentFactory,{onDateChanged:function(){return e.onUiChanged()},filterParams:e.dateFilterParams},t)};this.dateCondition1FromComp=t(this.eCondition1PanelFrom),this.dateCondition1ToComp=t(this.eCondition1PanelTo),this.dateCondition2FromComp=t(this.eCondition2PanelFrom),this.dateCondition2ToComp=t(this.eCondition2PanelTo),this.addDestroyFunc((function(){e.forEachInput((function(e){return e.destroy()}))}))},t.prototype.setElementValue=function(e,t,r){e.setDate(t)},t.prototype.setElementDisplayed=function(e,t){e.setDisplayed(t)},t.prototype.setElementDisabled=function(e,t){e.setDisabled(t)},t.prototype.getDefaultFilterOptions=function(){return t.DEFAULT_FILTER_OPTIONS},t.prototype.createValueTemplate=function(e){var t=e===s.a.One?"1":"2";return'\n <div class="ag-filter-body" ref="eCondition'+t+'Body">\n <div class="ag-filter-from ag-filter-date-from" ref="eCondition'+t+'PanelFrom"></div>\n <div class="ag-filter-to ag-filter-date-to" ref="eCondition'+t+'PanelTo"></div>\n </div>'},t.prototype.isConditionUiComplete=function(t){var r=this;if(!e.prototype.isConditionUiComplete.call(this,t))return!1;var o=!0;return this.forEachInput((function(e,n,i,a){var s;i!==t||!o||n>=a||(o=o&&(null!=(s=e.getDate())&&s.getUTCFullYear()>=r.minValidYear&&s.getUTCFullYear()<=r.maxValidYear))})),o},t.prototype.areSimpleModelsEqual=function(e,t){return e.dateFrom===t.dateFrom&&e.dateTo===t.dateTo&&e.type===t.type},t.prototype.getFilterType=function(){return"date"},t.prototype.createCondition=function(e){var t=this.getConditionTypes()[e],r={},o=this.getValues(e);return o.length>0&&(r.dateFrom=Object(c.serialiseDate)(o[0])),o.length>1&&(r.dateTo=Object(c.serialiseDate)(o[1])),p({dateFrom:null,dateTo:null,filterType:this.getFilterType(),type:t},r)},t.prototype.resetPlaceholder=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=this.translate("dateFormatOoo"),r=e("ariaFilterValue","Filter Value");this.forEachInput((function(e){e.setInputPlaceholder(t),e.setInputAriaLabel(r)}))},t.prototype.getInputs=function(){return[[this.dateCondition1FromComp,this.dateCondition1ToComp],[this.dateCondition2FromComp,this.dateCondition2ToComp]]},t.prototype.getValues=function(e){var t=[];return this.forEachInput((function(r,o,n,i){e===n&&o<i&&t.push(r.getDate())})),t},t.DEFAULT_FILTER_OPTIONS=[l.a.EQUALS,l.a.GREATER_THAN,l.a.LESS_THAN,l.a.NOT_EQUAL,l.a.IN_RANGE,l.a.BLANK,l.a.NOT_BLANK],d([Object(n.b)("eCondition1PanelFrom")],t.prototype,"eCondition1PanelFrom",void 0),d([Object(n.b)("eCondition1PanelTo")],t.prototype,"eCondition1PanelTo",void 0),d([Object(n.b)("eCondition2PanelFrom")],t.prototype,"eCondition2PanelFrom",void 0),d([Object(n.b)("eCondition2PanelTo")],t.prototype,"eCondition2PanelTo",void 0),d([Object(i.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),t}(l.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(7),i=r(29),a=r(35),s=r(2),l=r(18),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return e.call(this,"numberFilter")||this}return c(t,e),t.prototype.mapValuesFromModel=function(e){var t=e||{},r=t.filter,o=t.filterTo,n=t.type;return[null==r?null:r,null==o?null:o].slice(0,this.getNumberOfInputs(n))},t.prototype.getDefaultDebounceMs=function(){return 500},t.prototype.comparator=function(){return function(e,t){return e===t?0:e<t?1:-1}},t.prototype.setParams=function(t){this.numberFilterParams=t;var r=this.getAllowedCharPattern();if(r){var o={allowedCharPattern:r};this.resetTemplate({"eValue-index0-1":o,"eValue-index1-1":o,"eValue-index0-2":o,"eValue-index1-2":o})}e.prototype.setParams.call(this,t)},t.prototype.getDefaultFilterOptions=function(){return t.DEFAULT_FILTER_OPTIONS},t.prototype.createValueTemplate=function(e){var t=e===i.a.One?"1":"2",r=this.getAllowedCharPattern()?"ag-input-text-field":"ag-input-number-field";return'\n <div class="ag-filter-body" ref="eCondition'+t+'Body" role="presentation">\n <'+r+' class="ag-filter-from ag-filter-filter" ref="eValue-index0-'+t+'"></'+r+">\n <"+r+' class="ag-filter-to ag-filter-filter" ref="eValue-index1-'+t+'"></'+r+">\n </div>"},t.prototype.getValues=function(e){var t=this,r=[];return this.forEachInput((function(o,n,i,a){e===i&&n<a&&r.push(t.stringToFloat(o.getValue()))})),r},t.prototype.areSimpleModelsEqual=function(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type},t.prototype.getFilterType=function(){return"number"},t.prototype.stringToFloat=function(e){if("number"==typeof e)return e;var t=Object(s.makeNull)(e);return null!=t&&""===t.trim()&&(t=null),this.numberFilterParams.numberParser?this.numberFilterParams.numberParser(t):null==t||"-"===t.trim()?null:parseFloat(t)},t.prototype.createCondition=function(e){var t=this.getConditionTypes()[e],r={filterType:this.getFilterType(),type:t},o=this.getValues(e);return o.length>0&&(r.filter=o[0]),o.length>1&&(r.filterTo=o[1]),r},t.prototype.getInputs=function(){return[[this.eValueFrom1,this.eValueTo1],[this.eValueFrom2,this.eValueTo2]]},t.prototype.getAllowedCharPattern=function(){var e=(this.numberFilterParams||{}).allowedCharPattern;return e||(Object(l.isBrowserChrome)()||Object(l.isBrowserEdge)()?null:"\\d\\-\\.")},t.DEFAULT_FILTER_OPTIONS=[a.a.EQUALS,a.a.NOT_EQUAL,a.a.LESS_THAN,a.a.LESS_THAN_OR_EQUAL,a.a.GREATER_THAN,a.a.GREATER_THAN_OR_EQUAL,a.a.IN_RANGE,a.a.BLANK,a.a.NOT_BLANK],u([Object(n.b)("eValue-index0-1")],t.prototype,"eValueFrom1",void 0),u([Object(n.b)("eValue-index1-1")],t.prototype,"eValueTo1",void 0),u([Object(n.b)("eValue-index0-2")],t.prototype,"eValueFrom2",void 0),u([Object(n.b)("eValue-index1-2")],t.prototype,"eValueTo2",void 0),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(1),i=r(52),a=r(7),s=r(2),l=r(8),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){var t=e.call(this,'<div class="ag-cell-edit-wrapper"><ag-select class="ag-cell-editor" ref="eSelect"></ag-select></div>')||this;return t.startedByEnter=!1,t}return c(t,e),t.prototype.init=function(e){var t=this;if(this.focusAfterAttached=e.cellStartedEdit,Object(s.missing)(e.values))console.warn("AG Grid: no values found for select cellEditor");else{this.startedByEnter=null!=e.eventKey&&e.eventKey===l.a.ENTER;var r=!1;e.values.forEach((function(o){var n={value:o},i=t.valueFormatterService.formatValue(e.column,null,o),a=null!=i;n.text=a?i:o,t.eSelect.addOption(n),r=r||e.value===o})),r?this.eSelect.setValue(e.value,!0):e.values.length&&this.eSelect.setValue(e.values[0],!0),this.gridOptionsWrapper.isFullRowEdit()||this.eSelect.onValueChange((function(){return e.stopEditing()}))}},t.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.eSelect.getFocusableElement().focus(),this.startedByEnter&&this.eSelect.showPicker()},t.prototype.focusIn=function(){this.eSelect.getFocusableElement().focus()},t.prototype.getValue=function(){return this.eSelect.getValue()},t.prototype.isPopup=function(){return!1},u([Object(n.a)("valueFormatterService")],t.prototype,"valueFormatterService",void 0),u([Object(a.b)("eSelect")],t.prototype,"eSelect",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(1),i=r(15),a=r(4),s=r(7),l=r(22),c=r(28),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(){return(p=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){return e.call(this,'\n <div class="ag-selection-checkbox" role="presentation">\n <ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>\n </div>')||this}return u(t,e),t.prototype.postConstruct=function(){this.eCheckbox.setPassive(!0)},t.prototype.getCheckboxId=function(){return this.eCheckbox.getInputElement().id},t.prototype.onDataChanged=function(){this.onSelectionChanged()},t.prototype.onSelectableChanged=function(){this.showOrHideSelect()},t.prototype.onSelectionChanged=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=this.rowNode.isSelected(),r=void 0===t?e("ariaIndeterminate","indeterminate"):!0===t?e("ariaChecked","checked"):e("ariaUnchecked","unchecked"),o=e("ariaRowToggleSelection","Press Space to toggle row selection");this.eCheckbox.setValue(t,!0),this.eCheckbox.setInputAriaLabel(o+" ("+r+")")},t.prototype.onCheckedClicked=function(e){var t=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!1,rangeSelect:e.shiftKey,groupSelectsFiltered:t})},t.prototype.onUncheckedClicked=function(e){var t=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!0,rangeSelect:e.shiftKey,groupSelectsFiltered:t})},t.prototype.init=function(e){var t=this;if(this.rowNode=e.rowNode,this.column=e.column,this.overrides=e.overrides,this.onSelectionChanged(),this.addManagedListener(this.eCheckbox.getInputElement(),"dblclick",(function(e){Object(c.stopPropagationForAgGrid)(e)})),this.addManagedListener(this.eCheckbox.getInputElement(),"click",(function(e){Object(c.stopPropagationForAgGrid)(e);var r=t.eCheckbox.getValue();void 0===t.eCheckbox.getPreviousValue()||void 0===r?0===t.onUncheckedClicked(e||{})&&t.onCheckedClicked(e):r?t.onCheckedClicked(e):t.onUncheckedClicked(e||{})})),this.addManagedListener(this.rowNode,l.b.EVENT_ROW_SELECTED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.rowNode,l.b.EVENT_DATA_CHANGED,this.onDataChanged.bind(this)),this.addManagedListener(this.rowNode,l.b.EVENT_SELECTABLE_CHANGED,this.onSelectableChanged.bind(this)),this.gridOptionsWrapper.getIsRowSelectableFunc()||"function"==typeof this.getIsVisible()){var r=this.showOrHideSelect.bind(this);this.addManagedListener(this.eventService,a.a.EVENT_DISPLAYED_COLUMNS_CHANGED,r),this.addManagedListener(this.rowNode,l.b.EVENT_DATA_CHANGED,r),this.addManagedListener(this.rowNode,l.b.EVENT_CELL_CHANGED,r),this.showOrHideSelect()}this.eCheckbox.getInputElement().setAttribute("tabindex","-1")},t.prototype.showOrHideSelect=function(){var e,t,r,o,n=this.rowNode.selectable,i=this.getIsVisible();if(n)if("function"==typeof i){var a=null===(e=this.overrides)||void 0===e?void 0:e.callbackParams,s=null===(t=this.column)||void 0===t?void 0:t.createColumnFunctionCallbackParams(this.rowNode);n=!!s&&i(p(p({},a),s))}else n=null!=i&&i;if(null===(r=this.column)||void 0===r?void 0:r.getColDef().showDisabledCheckboxes)return this.eCheckbox.setDisabled(!n),this.setVisible(!0),void this.setDisplayed(!0);(null===(o=this.overrides)||void 0===o?void 0:o.removeHidden)?this.setDisplayed(n):this.setVisible(n)},t.prototype.getIsVisible=function(){var e,t;return this.overrides?this.overrides.isVisible:null===(t=null===(e=this.column)||void 0===e?void 0:e.getColDef())||void 0===t?void 0:t.checkboxSelection},d([Object(s.b)("eCheckbox")],t.prototype,"eCheckbox",void 0),d([n.e],t.prototype,"postConstruct",null),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var o=r(1),n=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},i=function(){function e(){}return e.prototype.postConstruct=function(){this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail(),this.gridOptionsWrapper.isRowModelDefault()&&(this.clientSideRowModel=this.rowModel),this.gridOptionsWrapper.isRowModelServerSide()&&(this.serverSideRowModel=this.rowModel)},n([Object(o.a)("resizeObserverService")],e.prototype,"resizeObserverService",void 0),n([Object(o.a)("paginationProxy")],e.prototype,"paginationProxy",void 0),n([Object(o.a)("context")],e.prototype,"context",void 0),n([Object(o.a)("columnApi")],e.prototype,"columnApi",void 0),n([Object(o.a)("gridApi")],e.prototype,"gridApi",void 0),n([Object(o.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),n([Object(o.a)("expressionService")],e.prototype,"expressionService",void 0),n([Object(o.a)("rowRenderer")],e.prototype,"rowRenderer",void 0),n([Object(o.a)("templateService")],e.prototype,"templateService",void 0),n([Object(o.a)("valueService")],e.prototype,"valueService",void 0),n([Object(o.a)("eventService")],e.prototype,"eventService",void 0),n([Object(o.a)("columnModel")],e.prototype,"columnModel",void 0),n([Object(o.a)("headerNavigationService")],e.prototype,"headerNavigationService",void 0),n([Object(o.a)("navigationService")],e.prototype,"navigationService",void 0),n([Object(o.a)("columnAnimationService")],e.prototype,"columnAnimationService",void 0),n([Object(o.d)("rangeService")],e.prototype,"rangeService",void 0),n([Object(o.a)("focusService")],e.prototype,"focusService",void 0),n([Object(o.d)("contextMenuFactory")],e.prototype,"contextMenuFactory",void 0),n([Object(o.a)("popupService")],e.prototype,"popupService",void 0),n([Object(o.a)("valueFormatterService")],e.prototype,"valueFormatterService",void 0),n([Object(o.a)("stylingService")],e.prototype,"stylingService",void 0),n([Object(o.a)("columnHoverService")],e.prototype,"columnHoverService",void 0),n([Object(o.a)("userComponentFactory")],e.prototype,"userComponentFactory",void 0),n([Object(o.a)("userComponentRegistry")],e.prototype,"userComponentRegistry",void 0),n([Object(o.a)("animationFrameService")],e.prototype,"animationFrameService",void 0),n([Object(o.a)("dragAndDropService")],e.prototype,"dragAndDropService",void 0),n([Object(o.a)("sortController")],e.prototype,"sortController",void 0),n([Object(o.a)("filterManager")],e.prototype,"filterManager",void 0),n([Object(o.a)("rowContainerHeightService")],e.prototype,"rowContainerHeightService",void 0),n([Object(o.a)("frameworkOverrides")],e.prototype,"frameworkOverrides",void 0),n([Object(o.a)("cellPositionUtils")],e.prototype,"cellPositionUtils",void 0),n([Object(o.a)("rowPositionUtils")],e.prototype,"rowPositionUtils",void 0),n([Object(o.a)("selectionService")],e.prototype,"selectionService",void 0),n([Object(o.d)("selectionHandleFactory")],e.prototype,"selectionHandleFactory",void 0),n([Object(o.a)("rowCssClassCalculator")],e.prototype,"rowCssClassCalculator",void 0),n([Object(o.a)("rowModel")],e.prototype,"rowModel",void 0),n([Object(o.a)("ctrlsService")],e.prototype,"ctrlsService",void 0),n([Object(o.a)("ctrlsFactory")],e.prototype,"ctrlsFactory",void 0),n([Object(o.a)("agStackComponentsRegistry")],e.prototype,"agStackComponentsRegistry",void 0),n([Object(o.a)("valueCache")],e.prototype,"valueCache",void 0),n([Object(o.a)("rowNodeEventThrottle")],e.prototype,"rowNodeEventThrottle",void 0),n([o.e],e.prototype,"postConstruct",null),e=n([Object(o.b)("beans")],e)}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(2),n=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},i=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(n(arguments[t]));return e},a=function(){function e(){}return e.getHeaderClassesFromColDef=function(e,t,r,n){return Object(o.missing)(e)?[]:this.getColumnClassesFromCollDef(e.headerClass,e,t,r,n)},e.getToolPanelClassesFromColDef=function(e,t,r,n){return Object(o.missing)(e)?[]:this.getColumnClassesFromCollDef(e.toolPanelClass,e,t,r,n)},e.getClassParams=function(e,t,r,o){return{colDef:e,column:r,columnGroup:o,api:t.getApi(),columnApi:t.getColumnApi(),context:t.getContext()}},e.getColumnClassesFromCollDef=function(e,t,r,n,a){if(Object(o.missing)(e))return[];var s;"function"==typeof e?s=e(this.getClassParams(t,r,n,a)):s=e;return"string"==typeof s?[s]:Array.isArray(s)?i(s):[]},e}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return v})),r.d(t,"a",(function(){return y}));var o=r(3),n=r(1),i=r(198),a=r(12),s=r(49),l=r(89),c=r(16),u=r(17),p=r(13),d=r(2),g=r(14),h=r(30),f=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function v(e){var t=e;return null!=t&&null!=t.getFrameworkComponentInstance?t.getFrameworkComponentInstance():e}var y=function(){function e(){this.detailGridInfoMap={},this.destroyCalled=!1}return e.prototype.registerOverlayWrapperComp=function(e){this.overlayWrapperComp=e},e.prototype.registerSideBarComp=function(e){this.sideBarComp=e},e.prototype.init=function(){var e=this;switch(this.rowModel.getType()){case o.a.ROW_MODEL_TYPE_CLIENT_SIDE:this.clientSideRowModel=this.rowModel;break;case o.a.ROW_MODEL_TYPE_INFINITE:this.infiniteRowModel=this.rowModel;break;case o.a.ROW_MODEL_TYPE_SERVER_SIDE:this.serverSideRowModel=this.rowModel}this.ctrlsService.whenReady((function(){e.gridBodyCtrl=e.ctrlsService.getGridBodyCtrl()}))},e.prototype.__getAlignedGridService=function(){return this.alignedGridsService},e.prototype.__getContext=function(){return this.context},e.prototype.addDetailGridInfo=function(e,t){this.detailGridInfoMap[e]=t},e.prototype.removeDetailGridInfo=function(e){this.detailGridInfoMap[e]=void 0},e.prototype.getDetailGridInfo=function(e){return this.detailGridInfoMap[e]},e.prototype.forEachDetailGridInfo=function(e){var t=0;Object(g.iterateObject)(this.detailGridInfoMap,(function(r,o){Object(d.exists)(o)&&(e(o,t),t++)}))},e.prototype.getDataAsCsv=function(e){if(u.a.assertRegistered(c.a.CsvExportModule,"api.getDataAsCsv"))return this.csvCreator.getDataAsCsv(e)},e.prototype.exportDataAsCsv=function(e){u.a.assertRegistered(c.a.CsvExportModule,"api.exportDataAsCSv")&&this.csvCreator.exportDataAsCsv(e)},e.prototype.getExcelExportMode=function(e){var t=this.gridOptionsWrapper.getDefaultExportParams("excel");return Object.assign({exportMode:"xlsx"},t,e).exportMode},e.prototype.getDataAsExcel=function(e){if(u.a.assertRegistered(c.a.ExcelExportModule,"api.getDataAsExcel")){var t=this.getExcelExportMode(e);if(this.excelCreator.getFactoryMode(t)!==l.a.MULTI_SHEET)return this.excelCreator.getDataAsExcel(e);console.warn("AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`")}},e.prototype.exportDataAsExcel=function(e){if(u.a.assertRegistered(c.a.ExcelExportModule,"api.exportDataAsExcel")){var t=this.getExcelExportMode(e);this.excelCreator.getFactoryMode(t)!==l.a.MULTI_SHEET?this.excelCreator.exportDataAsExcel(e):console.warn("AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`")}},e.prototype.getSheetDataForExcel=function(e){if(u.a.assertRegistered(c.a.ExcelExportModule,"api.getSheetDataForExcel")){var t=this.getExcelExportMode(e);return this.excelCreator.setFactoryMode(l.a.MULTI_SHEET,t),this.excelCreator.getSheetDataForExcel(e)}},e.prototype.getMultipleSheetsAsExcel=function(e){if(u.a.assertRegistered(c.a.ExcelExportModule,"api.getMultipleSheetsAsExcel"))return this.excelCreator.getMultipleSheetsAsExcel(e)},e.prototype.exportMultipleSheetsAsExcel=function(e){if(u.a.assertRegistered(c.a.ExcelExportModule,"api.exportMultipleSheetsAsExcel"))return this.excelCreator.exportMultipleSheetsAsExcel(e)},e.prototype.setEnterpriseDatasource=function(e){console.warn("AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()"),this.setServerSideDatasource(e)},e.prototype.setGridAriaProperty=function(e,t){if(e){var r=this.ctrlsService.getGridBodyCtrl().getGui(),o="aria-"+e;null===t?r.removeAttribute(o):r.setAttribute(o,t)}},e.prototype.setServerSideDatasource=function(e){this.serverSideRowModel?this.serverSideRowModel.setDatasource(e):console.warn("AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '"+o.a.ROW_MODEL_TYPE_SERVER_SIDE+"'")},e.prototype.setCacheBlockSize=function(e){this.serverSideRowModel?(this.gridOptionsWrapper.setProperty("cacheBlockSize",e),this.serverSideRowModel.resetRootStore()):console.warn("AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '"+o.a.ROW_MODEL_TYPE_SERVER_SIDE+"'")},e.prototype.setDatasource=function(e){this.gridOptionsWrapper.isRowModelInfinite()?this.rowModel.setDatasource(e):console.warn("AG Grid: you can only use a datasource when gridOptions.rowModelType is '"+o.a.ROW_MODEL_TYPE_INFINITE+"'")},e.prototype.setViewportDatasource=function(e){this.gridOptionsWrapper.isRowModelViewport()?this.rowModel.setViewportDatasource(e):console.warn("AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '"+o.a.ROW_MODEL_TYPE_VIEWPORT+"'")},e.prototype.setRowData=function(e){null==this.immutableService?console.warn("AG Grid: you can only set rowData when using the Client Side Row Model"):this.immutableService.isActive()?this.immutableService.setRowData(e):(this.selectionService.reset(),this.clientSideRowModel.setRowData(e))},e.prototype.setFloatingTopRowData=function(e){console.warn("AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()"),this.setPinnedTopRowData(e)},e.prototype.setFloatingBottomRowData=function(e){console.warn("AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()"),this.setPinnedBottomRowData(e)},e.prototype.getFloatingTopRowCount=function(){return console.warn("AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()"),this.getPinnedTopRowCount()},e.prototype.getFloatingBottomRowCount=function(){return console.warn("AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()"),this.getPinnedBottomRowCount()},e.prototype.getFloatingTopRow=function(e){return console.warn("AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()"),this.getPinnedTopRow(e)},e.prototype.getFloatingBottomRow=function(e){return console.warn("AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()"),this.getPinnedBottomRow(e)},e.prototype.setPinnedTopRowData=function(e){this.pinnedRowModel.setPinnedTopRowData(e)},e.prototype.setPinnedBottomRowData=function(e){this.pinnedRowModel.setPinnedBottomRowData(e)},e.prototype.getPinnedTopRowCount=function(){return this.pinnedRowModel.getPinnedTopRowCount()},e.prototype.getPinnedBottomRowCount=function(){return this.pinnedRowModel.getPinnedBottomRowCount()},e.prototype.getPinnedTopRow=function(e){return this.pinnedRowModel.getPinnedTopRow(e)},e.prototype.getPinnedBottomRow=function(e){return this.pinnedRowModel.getPinnedBottomRow(e)},e.prototype.setColumnDefs=function(e,t){void 0===t&&(t="api"),this.columnModel.setColumnDefs(e,t)},e.prototype.setAutoGroupColumnDef=function(e,t){void 0===t&&(t="api"),this.gridOptionsWrapper.setProperty(a.a.PROP_AUTO_GROUP_COLUMN_DEF,e,!0)},e.prototype.setDefaultColDef=function(e,t){void 0===t&&(t="api"),this.gridOptionsWrapper.setProperty(a.a.PROP_DEFAULT_COL_DEF,e,!0)},e.prototype.expireValueCache=function(){this.valueCache.expire()},e.prototype.getVerticalPixelRange=function(){return this.gridBodyCtrl.getScrollFeature().getVScrollPosition()},e.prototype.getHorizontalPixelRange=function(){return this.gridBodyCtrl.getScrollFeature().getHScrollPosition()},e.prototype.setAlwaysShowHorizontalScroll=function(e){this.gridOptionsWrapper.setProperty("alwaysShowHorizontalScroll",e)},e.prototype.setAlwaysShowVerticalScroll=function(e){this.gridOptionsWrapper.setProperty("alwaysShowVerticalScroll",e)},e.prototype.refreshToolPanel=function(){this.sideBarComp&&this.sideBarComp.refresh()},e.prototype.refreshCells=function(e){void 0===e&&(e={}),Array.isArray(e)?console.warn("since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation."):this.rowRenderer.refreshCells(e)},e.prototype.flashCells=function(e){void 0===e&&(e={}),this.rowRenderer.flashCells(e)},e.prototype.redrawRows=function(e){void 0===e&&(e={});var t=e?e.rowNodes:void 0;this.rowRenderer.redrawRows(t)},e.prototype.setFunctionsReadOnly=function(e){this.gridOptionsWrapper.setProperty("functionsReadOnly",e)},e.prototype.refreshHeader=function(){this.ctrlsService.getHeaderRowContainerCtrls().forEach((function(e){return e.refresh()}))},e.prototype.isAnyFilterPresent=function(){return this.filterManager.isAnyFilterPresent()},e.prototype.isColumnFilterPresent=function(){return this.filterManager.isColumnFilterPresent()||this.filterManager.isAggregateFilterPresent()},e.prototype.isQuickFilterPresent=function(){return this.filterManager.isQuickFilterPresent()},e.prototype.getModel=function(){return this.rowModel},e.prototype.setRowNodeExpanded=function(e,t){e&&e.setExpanded(t)},e.prototype.onGroupExpandedOrCollapsed=function(e){Object(d.missing)(this.clientSideRowModel)&&console.warn("AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model"),Object(d.exists)(e)&&console.warn("AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows"),this.clientSideRowModel.refreshModel({step:s.a.MAP})},e.prototype.refreshInMemoryRowModel=function(e){console.warn("AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()"),this.refreshClientSideRowModel(e)},e.prototype.refreshClientSideRowModel=function(e){Object(d.missing)(this.clientSideRowModel)&&console.warn("cannot call refreshClientSideRowModel unless using normal row model");var t=s.a.EVERYTHING,r={everything:s.a.EVERYTHING,group:s.a.EVERYTHING,filter:s.a.FILTER,map:s.a.MAP,aggregate:s.a.AGGREGATE,sort:s.a.SORT,pivot:s.a.PIVOT};if(Object(d.exists)(e)&&(t=r[e]),Object(d.missing)(t))console.error("AG Grid: invalid step "+e+", available steps are "+Object.keys(r).join(", "));else{var o={step:t,keepRenderedRows:!0,keepEditingRows:!0,animate:!this.gridOptionsWrapper.isSuppressAnimationFrame()};this.clientSideRowModel.refreshModel(o)}},e.prototype.isAnimationFrameQueueEmpty=function(){return this.animationFrameService.isQueueEmpty()},e.prototype.flushAllAnimationFrames=function(){this.animationFrameService.flushAllFrames()},e.prototype.getRowNode=function(e){return this.rowModel.getRowNode(e)},e.prototype.getSizesForCurrentTheme=function(){return{rowHeight:this.gridOptionsWrapper.getRowHeightAsNumber(),headerHeight:this.gridOptionsWrapper.getHeaderHeight()}},e.prototype.expandAll=function(){this.clientSideRowModel?this.clientSideRowModel.expandOrCollapseAll(!0):this.serverSideRowModel?this.serverSideRowModel.expandAll(!0):console.warn("AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model")},e.prototype.collapseAll=function(){this.clientSideRowModel?this.clientSideRowModel.expandOrCollapseAll(!1):this.serverSideRowModel?this.serverSideRowModel.expandAll(!1):console.warn("AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model")},e.prototype.getToolPanelInstance=function(e){if(this.sideBarComp)return v(this.sideBarComp.getToolPanelInstance(e));console.warn("AG Grid: toolPanel is only available in AG Grid Enterprise")},e.prototype.addVirtualRowListener=function(e,t,r){"string"!=typeof e&&console.warn("AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener."),this.addRenderedRowListener(e,t,r)},e.prototype.addRenderedRowListener=function(e,t,r){"virtualRowSelected"===e&&console.warn("AG Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node."),this.rowRenderer.addRenderedRowListener(e,t,r)},e.prototype.setQuickFilter=function(e){this.filterManager.setQuickFilter(e)},e.prototype.selectIndex=function(e,t,r){console.warn("AG Grid: do not use api for selection, call rowNode.setSelected(value) instead"),r&&console.warn("AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),this.selectionService.selectIndex(e,t)},e.prototype.deselectIndex=function(e,t){void 0===t&&(t=!1),console.warn("AG Grid: do not use api for selection, call rowNode.setSelected(value) instead"),t&&console.warn("AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),this.selectionService.deselectIndex(e)},e.prototype.selectNode=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1),console.warn("AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead"),r&&console.warn("AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),e.setSelectedParams({newValue:!0,clearSelection:!t})},e.prototype.deselectNode=function(e,t){void 0===t&&(t=!1),console.warn("AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead"),t&&console.warn("AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),e.setSelectedParams({newValue:!1})},e.prototype.selectAll=function(){this.selectionService.selectAllRowNodes()},e.prototype.deselectAll=function(){this.selectionService.deselectAllRowNodes()},e.prototype.selectAllFiltered=function(){this.selectionService.selectAllRowNodes(!0)},e.prototype.deselectAllFiltered=function(){this.selectionService.deselectAllRowNodes(!0)},e.prototype.recomputeAggregates=function(){Object(d.missing)(this.clientSideRowModel)&&console.warn("cannot call recomputeAggregates unless using normal row model"),console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead"),this.clientSideRowModel.refreshModel({step:s.a.AGGREGATE})},e.prototype.sizeColumnsToFit=function(e){this.gridBodyCtrl.sizeColumnsToFit(e)},e.prototype.showLoadingOverlay=function(){this.overlayWrapperComp.showLoadingOverlay()},e.prototype.showNoRowsOverlay=function(){this.overlayWrapperComp.showNoRowsOverlay()},e.prototype.hideOverlay=function(){this.overlayWrapperComp.hideOverlay()},e.prototype.isNodeSelected=function(e){return console.warn("AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead"),e.isSelected()},e.prototype.getSelectedNodesById=function(){return console.error("AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead"),null},e.prototype.getSelectedNodes=function(){return this.selectionService.getSelectedNodes()},e.prototype.getSelectedRows=function(){return this.selectionService.getSelectedRows()},e.prototype.getBestCostNodeSelection=function(){return this.selectionService.getBestCostNodeSelection()},e.prototype.getRenderedNodes=function(){return this.rowRenderer.getRenderedNodes()},e.prototype.ensureColIndexVisible=function(e){console.warn("AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.")},e.prototype.ensureColumnVisible=function(e,t){void 0===t&&(t="auto"),this.gridBodyCtrl.getScrollFeature().ensureColumnVisible(e,t)},e.prototype.ensureIndexVisible=function(e,t){this.gridBodyCtrl.getScrollFeature().ensureIndexVisible(e,t)},e.prototype.ensureNodeVisible=function(e,t){void 0===t&&(t=null),this.gridBodyCtrl.getScrollFeature().ensureNodeVisible(e,t)},e.prototype.forEachLeafNode=function(e){Object(d.missing)(this.clientSideRowModel)&&console.warn("cannot call forEachNode unless using normal row model"),this.clientSideRowModel.forEachLeafNode(e)},e.prototype.forEachNode=function(e){this.rowModel.forEachNode(e)},e.prototype.forEachNodeAfterFilter=function(e){Object(d.missing)(this.clientSideRowModel)&&console.warn("cannot call forEachNodeAfterFilter unless using normal row model"),this.clientSideRowModel.forEachNodeAfterFilter(e)},e.prototype.forEachNodeAfterFilterAndSort=function(e){Object(d.missing)(this.clientSideRowModel)&&console.warn("cannot call forEachNodeAfterFilterAndSort unless using normal row model"),this.clientSideRowModel.forEachNodeAfterFilterAndSort(e)},e.prototype.getFilterInstance=function(e,t){var r=this.getFilterInstanceImpl(e,(function(e){if(t){var r=v(e);t(r)}}));return v(r)},e.prototype.getFilterInstanceImpl=function(e,t){var r=this.columnModel.getPrimaryColumn(e);if(r){var o=this.filterManager.getFilterComponent(r,"NO_UI"),n=o&&o.resolveNow(null,(function(e){return e}));return n?setTimeout(t,0,n):o&&o.then((function(e){t(e)})),n}},e.prototype.destroyFilter=function(e){var t=this.columnModel.getPrimaryColumn(e);if(t)return this.filterManager.destroyFilter(t,"filterDestroyed")},e.prototype.getStatusPanel=function(e){if(this.statusBarService)return v(this.statusBarService.getStatusPanel(e))},e.prototype.getColumnDef=function(e){var t=this.columnModel.getPrimaryColumn(e);return t?t.getColDef():null},e.prototype.getColumnDefs=function(){return this.columnModel.getColumnDefs()},e.prototype.onFilterChanged=function(){this.filterManager.onFilterChanged()},e.prototype.onSortChanged=function(){this.sortController.onSortChanged("api")},e.prototype.setFilterModel=function(e){this.filterManager.setFilterModel(e)},e.prototype.getFilterModel=function(){return this.filterManager.getFilterModel()},e.prototype.getFocusedCell=function(){return this.focusService.getFocusedCell()},e.prototype.clearFocusedCell=function(){return this.focusService.clearFocusedCell()},e.prototype.setFocusedCell=function(e,t,r){this.focusService.setFocusedCell({rowIndex:e,column:t,rowPinned:r,forceBrowserFocus:!0})},e.prototype.setSuppressRowDrag=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_SUPPRESS_ROW_DRAG,e)},e.prototype.setSuppressMoveWhenRowDragging=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_SUPPRESS_MOVE_WHEN_ROW_DRAG,e)},e.prototype.setSuppressRowClickSelection=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_SUPPRESS_ROW_CLICK_SELECTION,e)},e.prototype.addRowDropZone=function(e){this.gridBodyCtrl.getRowDragFeature().addRowDropZone(e)},e.prototype.removeRowDropZone=function(e){var t=this.dragAndDropService.findExternalZone(e);t&&this.dragAndDropService.removeDropTarget(t)},e.prototype.getRowDropZoneParams=function(e){return this.gridBodyCtrl.getRowDragFeature().getRowDropZone(e)},e.prototype.setHeaderHeight=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_HEADER_HEIGHT,e)},e.prototype.setDomLayout=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_DOM_LAYOUT,e)},e.prototype.setEnableCellTextSelection=function(e){this.gridBodyCtrl.setCellTextSelection(e)},e.prototype.setFillHandleDirection=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_FILL_HANDLE_DIRECTION,e)},e.prototype.setGroupHeaderHeight=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GROUP_HEADER_HEIGHT,e)},e.prototype.setFloatingFiltersHeight=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_FLOATING_FILTERS_HEIGHT,e)},e.prototype.setPivotHeaderHeight=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PIVOT_HEADER_HEIGHT,e)},e.prototype.setPivotGroupHeaderHeight=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PIVOT_GROUP_HEADER_HEIGHT,e)},e.prototype.setIsExternalFilterPresent=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_EXTERNAL_FILTER_PRESENT,e)},e.prototype.setDoesExternalFilterPass=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_DOES_EXTERNAL_FILTER_PASS,e)},e.prototype.setNavigateToNextCell=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_NAVIGATE_TO_NEXT_CELL,e)},e.prototype.setTabToNextCell=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_TAB_TO_NEXT_CELL,e)},e.prototype.setTabToNextHeader=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_TAB_TO_NEXT_HEADER,e)},e.prototype.setNavigateToNextHeader=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_NAVIGATE_TO_NEXT_HEADER,e)},e.prototype.setRowGroupPanelShow=function(e){this.gridOptionsWrapper.setProperty("rowGroupPanelShow",e)},e.prototype.setGroupRowAggNodes=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GROUP_ROW_AGG_NODES,e)},e.prototype.setGetGroupRowAgg=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_GROUP_ROW_AGG,e)},e.prototype.setGetBusinessKeyForNode=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_BUSINESS_KEY_FOR_NODE,e)},e.prototype.setGetChildCount=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_CHILD_COUNT,e)},e.prototype.setProcessRowPostCreate=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PROCESS_ROW_POST_CREATE,e)},e.prototype.setGetRowNodeId=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_ROW_NODE_ID,e)},e.prototype.setGetRowId=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_ROW_ID,e)},e.prototype.setGetRowClass=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_ROW_CLASS,e)},e.prototype.setIsFullWidthCell=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_FULL_WIDTH_CELL,e)},e.prototype.setIsFullWidthRow=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_FULL_WIDTH_ROW,e)},e.prototype.setIsRowSelectable=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_ROW_SELECTABLE,e)},e.prototype.setIsRowMaster=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_ROW_MASTER,e)},e.prototype.setPostSort=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_POST_SORT,e)},e.prototype.setPostSortRows=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_POST_SORT_ROWS,e)},e.prototype.setGetDocument=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_DOCUMENT,e)},e.prototype.setGetContextMenuItems=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_CONTEXT_MENU_ITEMS,e)},e.prototype.setGetMainMenuItems=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_MAIN_MENU_ITEMS,e)},e.prototype.setProcessCellForClipboard=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PROCESS_CELL_FOR_CLIPBOARD,e)},e.prototype.setSendToClipboard=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_SEND_TO_CLIPBOARD,e)},e.prototype.setProcessCellFromClipboard=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PROCESS_CELL_FROM_CLIPBOARD,e)},e.prototype.setProcessSecondaryColDef=function(e){console.warn("AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead"),this.setProcessPivotResultColDef(e)},e.prototype.setProcessSecondaryColGroupDef=function(e){console.warn("AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead"),this.setProcessPivotResultColGroupDef(e)},e.prototype.setProcessPivotResultColDef=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PROCESS_PIVOT_RESULT_COL_DEF,e)},e.prototype.setProcessPivotResultColGroupDef=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PROCESS_PIVOT_RESULT_COL_GROUP_DEF,e)},e.prototype.setPostProcessPopup=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_POST_PROCESS_POPUP,e)},e.prototype.setDefaultGroupOrderComparator=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_DEFAULT_GROUP_ORDER_COMPARATOR,e)},e.prototype.setInitialGroupOrderComparator=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_INITIAL_GROUP_ORDER_COMPARATOR,e)},e.prototype.setGetChartToolbarItems=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_CHART_TOOLBAR_ITEMS,e)},e.prototype.setPaginationNumberFormatter=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_PAGINATION_NUMBER_FORMATTER,e)},e.prototype.setGetServerSideStoreParams=function(e){this.setGetServerSideGroupLevelParams(e)},e.prototype.setGetServerSideGroupLevelParams=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_SERVER_SIDE_GROUP_PARAMS,e)},e.prototype.setIsServerSideGroupOpenByDefault=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_SERVER_SIDE_GROUPS_OPEN_BY_DEFAULT,e)},e.prototype.setIsApplyServerSideTransaction=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_APPLY_SERVER_SIDE_TRANSACTION,e)},e.prototype.setIsServerSideGroup=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_IS_SERVER_SIDE_GROUP,e)},e.prototype.setGetServerSideGroupKey=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_SERVER_SIDE_GROUP_KEY,e)},e.prototype.setGetRowStyle=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_ROW_STYLE,e)},e.prototype.setGetRowHeight=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GET_ROW_HEIGHT,e)},e.prototype.isSideBarVisible=function(){return!!this.sideBarComp&&this.sideBarComp.isDisplayed()},e.prototype.setSideBarVisible=function(e){this.sideBarComp?this.sideBarComp.setDisplayed(e):e&&console.warn("AG Grid: sideBar is not loaded")},e.prototype.setSideBarPosition=function(e){this.sideBarComp?this.sideBarComp.setSideBarPosition(e):console.warn("AG Grid: sideBar is not loaded")},e.prototype.openToolPanel=function(e){this.sideBarComp?this.sideBarComp.openToolPanel(e):console.warn("AG Grid: toolPanel is only available in AG Grid Enterprise")},e.prototype.closeToolPanel=function(){this.sideBarComp?this.sideBarComp.close():console.warn("AG Grid: toolPanel is only available in AG Grid Enterprise")},e.prototype.getOpenedToolPanel=function(){return this.sideBarComp?this.sideBarComp.openedItem():null},e.prototype.getSideBar=function(){return this.gridOptionsWrapper.getSideBar()},e.prototype.setSideBar=function(e){this.gridOptionsWrapper.setProperty("sideBar",i.a.parse(e))},e.prototype.setSuppressClipboardPaste=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_SUPPRESS_CLIPBOARD_PASTE,e)},e.prototype.isToolPanelShowing=function(){return this.sideBarComp.isToolPanelShowing()},e.prototype.doLayout=function(){Object(p.doOnce)((function(){return console.warn("AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically")}),"doLayoutDeprecated")},e.prototype.resetRowHeights=function(){if(Object(d.exists)(this.clientSideRowModel)){if(this.columnModel.isAutoRowHeightActive())return void console.warn("AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.");this.clientSideRowModel.resetRowHeights()}},e.prototype.setGroupRemoveSingleChildren=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GROUP_REMOVE_SINGLE_CHILDREN,e)},e.prototype.setGroupRemoveLowestSingleChildren=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN,e)},e.prototype.setGroupDisplayType=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_GROUP_DISPLAY_TYPE,e)},e.prototype.onRowHeightChanged=function(){this.clientSideRowModel?this.clientSideRowModel.onRowHeightChanged():this.serverSideRowModel&&this.serverSideRowModel.onRowHeightChanged()},e.prototype.getValue=function(e,t){var r=this.columnModel.getPrimaryColumn(e);return Object(d.missing)(r)&&(r=this.columnModel.getGridColumn(e)),Object(d.missing)(r)?null:this.valueService.getValue(r,t)},e.prototype.addEventListener=function(e,t){var r=this.gridOptionsWrapper.useAsyncEvents();this.eventService.addEventListener(e,t,r)},e.prototype.addGlobalListener=function(e){var t=this.gridOptionsWrapper.useAsyncEvents();this.eventService.addGlobalListener(e,t)},e.prototype.removeEventListener=function(e,t){var r=this.gridOptionsWrapper.useAsyncEvents();this.eventService.removeEventListener(e,t,r)},e.prototype.removeGlobalListener=function(e){var t=this.gridOptionsWrapper.useAsyncEvents();this.eventService.removeGlobalListener(e,t)},e.prototype.dispatchEvent=function(e){this.eventService.dispatchEvent(e)},e.prototype.destroy=function(){if(!this.destroyCalled){this.destroyCalled=!0;var e=this.ctrlsService.getGridCtrl();e&&e.destroyGridUi(),this.context.destroy()}},e.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid=function(){setTimeout(g.removeAllReferences.bind(window,this,"Grid API"),100)},e.prototype.warnIfDestroyed=function(e){return this.destroyCalled&&console.warn("AG Grid: Grid API method "+e+" was called on a grid that was destroyed."),this.destroyCalled},e.prototype.resetQuickFilter=function(){this.warnIfDestroyed("resetQuickFilter")||this.rowModel.forEachNode((function(e){return e.quickFilterAggregateText=null}))},e.prototype.getRangeSelections=function(){return console.warn("AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\n getCellRanges() is a bit different, please check the AG Grid documentation."),null},e.prototype.getCellRanges=function(){return this.rangeService?this.rangeService.getCellRanges():(console.warn("AG Grid: cell range selection is only available in AG Grid Enterprise"),null)},e.prototype.camelCaseToHumanReadable=function(e){return Object(h.camelCaseToHumanText)(e)},e.prototype.addRangeSelection=function(e){console.warn("AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()")},e.prototype.addCellRange=function(e){this.rangeService||console.warn("AG Grid: cell range selection is only available in AG Grid Enterprise"),this.rangeService.addCellRange(e)},e.prototype.clearRangeSelection=function(){this.rangeService||console.warn("AG Grid: cell range selection is only available in AG Grid Enterprise"),this.rangeService.removeAllCellRanges()},e.prototype.undoCellEditing=function(){this.undoRedoService.undo()},e.prototype.redoCellEditing=function(){this.undoRedoService.redo()},e.prototype.getCurrentUndoSize=function(){return this.undoRedoService.getCurrentUndoStackSize()},e.prototype.getCurrentRedoSize=function(){return this.undoRedoService.getCurrentRedoStackSize()},e.prototype.getChartModels=function(){if(u.a.assertRegistered(c.a.RangeSelectionModule,"api.getChartModels")&&u.a.assertRegistered(c.a.GridChartsModule,"api.getChartModels"))return this.chartService.getChartModels()},e.prototype.getChartRef=function(e){if(u.a.assertRegistered(c.a.RangeSelectionModule,"api.getChartRef")&&u.a.assertRegistered(c.a.GridChartsModule,"api.getChartRef"))return this.chartService.getChartRef(e)},e.prototype.getChartImageDataURL=function(e){if(u.a.assertRegistered(c.a.GridChartsModule,"api.getChartImageDataURL"))return this.chartService.getChartImageDataURL(e)},e.prototype.downloadChart=function(e){if(u.a.assertRegistered(c.a.GridChartsModule,"api.downloadChart"))return this.chartService.downloadChart(e)},e.prototype.openChartToolPanel=function(e){if(u.a.assertRegistered(c.a.GridChartsModule,"api.openChartToolPanel"))return this.chartService.openChartToolPanel(e)},e.prototype.closeChartToolPanel=function(e){if(u.a.assertRegistered(c.a.GridChartsModule,"api.closeChartToolPanel"))return this.chartService.closeChartToolPanel(e.chartId)},e.prototype.createRangeChart=function(e){if(u.a.assertRegistered(c.a.RangeSelectionModule,"api.createRangeChart")&&u.a.assertRegistered(c.a.GridChartsModule,"api.createRangeChart"))return this.chartService.createRangeChart(e)},e.prototype.createCrossFilterChart=function(e){if(u.a.assertRegistered(c.a.RangeSelectionModule,"api.createCrossFilterChart")&&u.a.assertRegistered(c.a.GridChartsModule,"api.createCrossFilterChart"))return this.chartService.createCrossFilterChart(e)},e.prototype.restoreChart=function(e,t){if(u.a.assertRegistered(c.a.RangeSelectionModule,"api.restoreChart")&&u.a.assertRegistered(c.a.GridChartsModule,"api.restoreChart"))return this.chartService.restoreChart(e,t)},e.prototype.createPivotChart=function(e){if(u.a.assertRegistered(c.a.RangeSelectionModule,"api.createPivotChart")&&u.a.assertRegistered(c.a.GridChartsModule,"api.createPivotChart"))return this.chartService.createPivotChart(e)},e.prototype.copyToClipboard=function(e){this.clipboardService||console.warn("AG Grid: clipboard is only available in AG Grid Enterprise"),this.clipboardService.copyToClipboard(e)},e.prototype.copySelectedRowsToClipboard=function(e){this.clipboardService||console.warn("AG Grid: clipboard is only available in AG Grid Enterprise"),this.clipboardService.copySelectedRowsToClipboard(e)},e.prototype.copySelectedRangeToClipboard=function(e){this.clipboardService||console.warn("AG Grid: clipboard is only available in AG Grid Enterprise"),this.clipboardService.copySelectedRangeToClipboard(e)},e.prototype.copySelectedRangeDown=function(){this.clipboardService||console.warn("AG Grid: clipboard is only available in AG Grid Enterprise"),this.clipboardService.copyRangeDown()},e.prototype.showColumnMenuAfterButtonClick=function(e,t){var r=this.columnModel.getGridColumn(e);this.menuFactory.showMenuAfterButtonClick(r,t,"columnMenu")},e.prototype.showColumnMenuAfterMouseClick=function(e,t){var r=this.columnModel.getGridColumn(e);r||(r=this.columnModel.getPrimaryColumn(e)),r?this.menuFactory.showMenuAfterMouseEvent(r,t):console.error("AG Grid: column '"+e+"' not found")},e.prototype.hidePopupMenu=function(){this.contextMenuFactory&&this.contextMenuFactory.hideActiveMenu(),this.menuFactory.hideActiveMenu()},e.prototype.setPopupParent=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_POPUP_PARENT,e)},e.prototype.tabToNextCell=function(e){return this.navigationService.tabToNextCell(!1,e)},e.prototype.tabToPreviousCell=function(e){return this.navigationService.tabToNextCell(!0,e)},e.prototype.getCellRendererInstances=function(e){return void 0===e&&(e={}),this.rowRenderer.getCellRendererInstances(e).map(v)},e.prototype.getCellEditorInstances=function(e){return void 0===e&&(e={}),this.rowRenderer.getCellEditorInstances(e).map(v)},e.prototype.getEditingCells=function(){return this.rowRenderer.getEditingCells()},e.prototype.stopEditing=function(e){void 0===e&&(e=!1),this.rowRenderer.stopEditing(e)},e.prototype.startEditingCell=function(e){var t=this.columnModel.getGridColumn(e.colKey);if(t){var r={rowIndex:e.rowIndex,rowPinned:e.rowPinned||null,column:t};null==e.rowPinned&&this.gridBodyCtrl.getScrollFeature().ensureIndexVisible(e.rowIndex);var o=this.navigationService.getCellByPosition(r);o&&o.startRowOrCellEdit(e.key,e.charPress)}else console.warn("AG Grid: no column found for "+e.colKey)},e.prototype.addAggFunc=function(e,t){this.aggFuncService&&this.aggFuncService.addAggFunc(e,t)},e.prototype.addAggFuncs=function(e){this.aggFuncService&&this.aggFuncService.addAggFuncs(e)},e.prototype.clearAggFuncs=function(){this.aggFuncService&&this.aggFuncService.clear()},e.prototype.applyServerSideTransaction=function(e){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.applyTransaction(e);console.warn("AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.")},e.prototype.applyServerSideTransactionAsync=function(e,t){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.applyTransactionAsync(e,t);console.warn("AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.")},e.prototype.retryServerSideLoads=function(){this.serverSideRowModel?this.serverSideRowModel.retryLoads():console.warn("AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.")},e.prototype.flushServerSideAsyncTransactions=function(){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.flushAsyncTransactions();console.warn("AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.")},e.prototype.applyTransaction=function(e){if(this.clientSideRowModel){var t=this.clientSideRowModel.updateRowData(e);return this.rowRenderer.refreshFullWidthRows(t.update),this.gridOptionsWrapper.isSuppressChangeDetection()||this.rowRenderer.refreshCells(),t}console.error("AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1")},e.prototype.setDeltaSort=function(e){this.gridOptionsWrapper.setProperty("deltaSort",e)},e.prototype.updateRowData=function(e){return Object(p.doOnce)((function(){return console.warn("AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). updateRowData is deprecated and will be removed in a future major release.")}),"updateRowData deprecated"),this.applyTransaction(e)},e.prototype.applyTransactionAsync=function(e,t){this.clientSideRowModel?this.clientSideRowModel.batchUpdateRowData(e,t):console.error("AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.")},e.prototype.flushAsyncTransactions=function(){this.clientSideRowModel?this.clientSideRowModel.flushAsyncTransactions():console.error("AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.")},e.prototype.batchUpdateRowData=function(e,t){Object(p.doOnce)((function(){return console.warn("AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). batchUpdateRowData is deprecated and will be removed in a future major release.")}),"batchUpdateRowData deprecated"),this.applyTransactionAsync(e,t)},e.prototype.insertItemsAtIndex=function(e,t,r){void 0===r&&(r=!1),console.warn("AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead."),this.updateRowData({add:t,addIndex:e,update:null,remove:null})},e.prototype.removeItems=function(e,t){void 0===t&&(t=!1),console.warn("AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.");var r=e.map((function(e){return e.data}));this.updateRowData({add:null,addIndex:null,update:null,remove:r})},e.prototype.addItems=function(e,t){void 0===t&&(t=!1),console.warn("AG Grid: addItems() is deprecated, use updateRowData(transaction) instead."),this.updateRowData({add:e,addIndex:null,update:null,remove:null})},e.prototype.refreshVirtualPageCache=function(){console.warn("AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead"),this.refreshInfiniteCache()},e.prototype.refreshInfinitePageCache=function(){console.warn("AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead"),this.refreshInfiniteCache()},e.prototype.refreshInfiniteCache=function(){this.infiniteRowModel?this.infiniteRowModel.refreshCache():console.warn("AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.")},e.prototype.purgeVirtualPageCache=function(){console.warn("AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead"),this.purgeInfinitePageCache()},e.prototype.purgeInfinitePageCache=function(){console.warn("AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead"),this.purgeInfiniteCache()},e.prototype.purgeInfiniteCache=function(){this.infiniteRowModel?this.infiniteRowModel.purgeCache():console.warn("AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.")},e.prototype.purgeEnterpriseCache=function(e){console.warn("AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})"),this.purgeServerSideCache(e)},e.prototype.purgeServerSideCache=function(e){void 0===e&&(e=[]),this.serverSideRowModel?(console.warn("AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead."),this.refreshServerSide({route:e,purge:!0})):console.warn("AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.")},e.prototype.refreshServerSide=function(e){this.serverSideRowModel?this.serverSideRowModel.refreshStore(e):console.warn("AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.")},e.prototype.refreshServerSideStore=function(e){return Object(p.doOnce)((function(){return console.warn("AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0")}),"refreshServerSideStore-renamed"),this.refreshServerSide(e)},e.prototype.getServerSideStoreState=function(){return Object(p.doOnce)((function(){return console.warn("AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0")}),"getServerSideStoreState-renamed"),this.getServerSideGroupLevelState()},e.prototype.getServerSideGroupLevelState=function(){return this.serverSideRowModel?this.serverSideRowModel.getStoreState():(console.warn("AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'."),[])},e.prototype.getVirtualRowCount=function(){return console.warn("AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead"),this.getInfiniteRowCount()},e.prototype.getInfiniteRowCount=function(){if(this.infiniteRowModel)return this.infiniteRowModel.getRowCount();console.warn("AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.")},e.prototype.isMaxRowFound=function(){return console.warn("AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()"),this.isLastRowIndexKnown()},e.prototype.isLastRowIndexKnown=function(){if(this.infiniteRowModel)return this.infiniteRowModel.isLastRowIndexKnown();console.warn("AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.")},e.prototype.setVirtualRowCount=function(e,t){console.warn("AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead"),this.setRowCount(e,t)},e.prototype.setInfiniteRowCount=function(e,t){console.warn("AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead"),this.setRowCount(e,t)},e.prototype.setRowCount=function(e,t){this.infiniteRowModel?this.infiniteRowModel.setRowCount(e,t):console.warn("AG Grid: api.setRowCount is only available for Infinite Row Model.")},e.prototype.getVirtualPageState=function(){return console.warn("AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead"),this.getCacheBlockState()},e.prototype.getInfinitePageState=function(){return console.warn("AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead"),this.getCacheBlockState()},e.prototype.getCacheBlockState=function(){return this.rowNodeBlockLoader.getBlockState()},e.prototype.checkGridSize=function(){console.warn("In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.")},e.prototype.getFirstRenderedRow=function(){return console.warn("In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()"),this.getFirstDisplayedRow()},e.prototype.getFirstDisplayedRow=function(){return this.rowRenderer.getFirstVirtualRenderedRow()},e.prototype.getLastRenderedRow=function(){return console.warn("in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()"),this.getLastDisplayedRow()},e.prototype.getLastDisplayedRow=function(){return this.rowRenderer.getLastVirtualRenderedRow()},e.prototype.getDisplayedRowAtIndex=function(e){return this.rowModel.getRow(e)},e.prototype.getDisplayedRowCount=function(){return this.rowModel.getRowCount()},e.prototype.paginationIsLastPageFound=function(){return this.paginationProxy.isLastPageFound()},e.prototype.paginationGetPageSize=function(){return this.paginationProxy.getPageSize()},e.prototype.paginationSetPageSize=function(e){this.gridOptionsWrapper.setProperty("paginationPageSize",e)},e.prototype.paginationGetCurrentPage=function(){return this.paginationProxy.getCurrentPage()},e.prototype.paginationGetTotalPages=function(){return this.paginationProxy.getTotalPages()},e.prototype.paginationGetRowCount=function(){return this.paginationProxy.getMasterRowCount()},e.prototype.paginationGoToNextPage=function(){this.paginationProxy.goToNextPage()},e.prototype.paginationGoToPreviousPage=function(){this.paginationProxy.goToPreviousPage()},e.prototype.paginationGoToFirstPage=function(){this.paginationProxy.goToFirstPage()},e.prototype.paginationGoToLastPage=function(){this.paginationProxy.goToLastPage()},e.prototype.paginationGoToPage=function(e){this.paginationProxy.goToPage(e)},e.prototype.setRowClass=function(e){this.gridOptionsWrapper.setProperty(a.a.PROP_ROW_CLASS,e)},f([Object(n.d)("immutableService")],e.prototype,"immutableService",void 0),f([Object(n.d)("csvCreator")],e.prototype,"csvCreator",void 0),f([Object(n.d)("excelCreator")],e.prototype,"excelCreator",void 0),f([Object(n.a)("rowRenderer")],e.prototype,"rowRenderer",void 0),f([Object(n.a)("navigationService")],e.prototype,"navigationService",void 0),f([Object(n.a)("filterManager")],e.prototype,"filterManager",void 0),f([Object(n.a)("columnModel")],e.prototype,"columnModel",void 0),f([Object(n.a)("selectionService")],e.prototype,"selectionService",void 0),f([Object(n.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),f([Object(n.a)("valueService")],e.prototype,"valueService",void 0),f([Object(n.a)("alignedGridsService")],e.prototype,"alignedGridsService",void 0),f([Object(n.a)("eventService")],e.prototype,"eventService",void 0),f([Object(n.a)("pinnedRowModel")],e.prototype,"pinnedRowModel",void 0),f([Object(n.a)("context")],e.prototype,"context",void 0),f([Object(n.a)("rowModel")],e.prototype,"rowModel",void 0),f([Object(n.a)("sortController")],e.prototype,"sortController",void 0),f([Object(n.a)("paginationProxy")],e.prototype,"paginationProxy",void 0),f([Object(n.a)("focusService")],e.prototype,"focusService",void 0),f([Object(n.a)("dragAndDropService")],e.prototype,"dragAndDropService",void 0),f([Object(n.d)("rangeService")],e.prototype,"rangeService",void 0),f([Object(n.d)("clipboardService")],e.prototype,"clipboardService",void 0),f([Object(n.d)("aggFuncService")],e.prototype,"aggFuncService",void 0),f([Object(n.a)("menuFactory")],e.prototype,"menuFactory",void 0),f([Object(n.d)("contextMenuFactory")],e.prototype,"contextMenuFactory",void 0),f([Object(n.a)("valueCache")],e.prototype,"valueCache",void 0),f([Object(n.a)("animationFrameService")],e.prototype,"animationFrameService",void 0),f([Object(n.d)("statusBarService")],e.prototype,"statusBarService",void 0),f([Object(n.d)("chartService")],e.prototype,"chartService",void 0),f([Object(n.d)("undoRedoService")],e.prototype,"undoRedoService",void 0),f([Object(n.d)("rowNodeBlockLoader")],e.prototype,"rowNodeBlockLoader",void 0),f([Object(n.d)("ssrmTransactionManager")],e.prototype,"serverSideTransactionManager",void 0),f([Object(n.a)("ctrlsService")],e.prototype,"ctrlsService",void 0),f([Object(n.d)("frameworkComponentWrapper")],e.prototype,"frameworkComponentWrapper",void 0),f([n.e],e.prototype,"init",null),f([n.g],e.prototype,"cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid",null),e=f([Object(n.b)("gridApi")],e)}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(e,t){this.active=!0,this.nodeIdsToColumns={},this.mapToItems={},this.keepingColumns=e,this.pathRoot={rowNode:t,children:null},this.mapToItems[t.id]=this.pathRoot}return e.prototype.setInactive=function(){this.active=!1},e.prototype.isActive=function(){return this.active},e.prototype.depthFirstSearchChangedPath=function(e,t){if(e.children)for(var r=0;r<e.children.length;r++)this.depthFirstSearchChangedPath(e.children[r],t);t(e.rowNode)},e.prototype.depthFirstSearchEverything=function(e,t,r){if(e.childrenAfterGroup)for(var o=0;o<e.childrenAfterGroup.length;o++){var n=e.childrenAfterGroup[o];n.childrenAfterGroup?this.depthFirstSearchEverything(e.childrenAfterGroup[o],t,r):r&&t(n)}t(e)},e.prototype.forEachChangedNodeDepthFirst=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1),this.active&&!r?this.depthFirstSearchChangedPath(this.pathRoot,e):this.depthFirstSearchEverything(this.pathRoot.rowNode,e,t)},e.prototype.executeFromRootNode=function(e){e(this.pathRoot.rowNode)},e.prototype.createPathItems=function(e){for(var t=e,r=0;!this.mapToItems[t.id];){var o={rowNode:t,children:null};this.mapToItems[t.id]=o,r++,t=t.parent}return r},e.prototype.populateColumnsMap=function(e,t){var r=this;if(this.keepingColumns&&t)for(var o=e;o;)this.nodeIdsToColumns[o.id]||(this.nodeIdsToColumns[o.id]={}),t.forEach((function(e){return r.nodeIdsToColumns[o.id][e.getId()]=!0})),o=o.parent},e.prototype.linkPathItems=function(e,t){for(var r=e,o=0;o<t;o++){var n=this.mapToItems[r.id],i=this.mapToItems[r.parent.id];i.children||(i.children=[]),i.children.push(n),r=r.parent}},e.prototype.addParentNode=function(e,t){if(e&&!e.isRowPinned()){var r=this.createPathItems(e);this.linkPathItems(e,r),this.populateColumnsMap(e,t)}},e.prototype.canSkip=function(e){return this.active&&!this.mapToItems[e.id]},e.prototype.getValueColumnsForNode=function(e,t){if(!this.keepingColumns)return t;var r=this.nodeIdsToColumns[e.id];return t.filter((function(e){return r[e.getId()]}))},e.prototype.getNotValueColumnsForNode=function(e,t){if(!this.keepingColumns)return null;var r=this.nodeIdsToColumns[e.id];return t.filter((function(e){return!r[e.getId()]}))},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(46),i=r(2),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(t,r,o){return void 0===r&&(r="ag-text-field"),void 0===o&&(o="text"),e.call(this,t,r,o)||this}return a(t,e),t.prototype.postConstruct=function(){e.prototype.postConstruct.call(this),this.config.allowedCharPattern&&this.preventDisallowedCharacters()},t.prototype.setValue=function(t,r){var o=e.prototype.setValue.call(this,t,r);return this.eInput.value!==t&&(this.eInput.value=Object(i.exists)(t)?t:""),o},t.prototype.preventDisallowedCharacters=function(){var e=new RegExp("["+this.config.allowedCharPattern+"]");this.addManagedListener(this.eInput,"keypress",(function(t){t.key&&!e.test(t.key)&&t.preventDefault()})),this.addManagedListener(this.eInput,"paste",(function(t){var r,o=null===(r=t.clipboardData)||void 0===r?void 0:r.getData("text");o&&o.split("").some((function(t){return!e.test(t)}))&&t.preventDefault()}))},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(1),i=r(84),a=r(15),s=r(5),l=r(23),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(){return(u=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(t){var r=e.call(this,u(u({},t),{popup:!0}))||this;return r.isMaximizable=!1,r.isMaximized=!1,r.maximizeListeners=[],r.resizeListenerDestroy=null,r.lastPosition={x:0,y:0,width:0,height:0},r}return c(t,e),t.prototype.postConstruct=function(){var t=this,r=this.getGui(),o=this.config,n=o.movable,i=o.resizable,a=o.maximizable;this.addCssClass("ag-dialog"),e.prototype.postConstruct.call(this),this.addManagedListener(r,"focusin",(function(e){r.contains(e.relatedTarget)||t.popupService.bringPopupToFront(r)})),n&&this.setMovable(n),a&&this.setMaximizable(a),i&&this.setResizable(i)},t.prototype.renderComponent=function(){var e=this.getGui(),t=this.config,r=t.alwaysOnTop,o=t.modal,n=t.title,i=this.gridOptionsWrapper.getLocaleTextFunc(),a=this.popupService.addPopup({modal:o,eChild:e,closeOnEsc:!0,closedCallback:this.destroy.bind(this),alwaysOnTop:r,ariaLabel:n||i("ariaLabelDialog","Dialog")});a&&(this.close=a.hideFunc)},t.prototype.toggleMaximize=function(){var e=this.positionableFeature.getPosition();if(this.isMaximized){var t=this.lastPosition,r=t.x,o=t.y,n=t.width,i=t.height;this.setWidth(n),this.setHeight(i),this.positionableFeature.offsetElement(r,o)}else this.lastPosition.width=this.getWidth(),this.lastPosition.height=this.getHeight(),this.lastPosition.x=e.x,this.lastPosition.y=e.y,this.positionableFeature.offsetElement(0,0),this.setHeight("100%"),this.setWidth("100%");this.isMaximized=!this.isMaximized,this.refreshMaximizeIcon()},t.prototype.refreshMaximizeIcon=function(){Object(s.setDisplayed)(this.maximizeIcon,!this.isMaximized),Object(s.setDisplayed)(this.minimizeIcon,this.isMaximized)},t.prototype.clearMaximizebleListeners=function(){this.maximizeListeners.length&&(this.maximizeListeners.forEach((function(e){return e()})),this.maximizeListeners.length=0),this.resizeListenerDestroy&&(this.resizeListenerDestroy(),this.resizeListenerDestroy=null)},t.prototype.destroy=function(){this.maximizeButtonComp=this.destroyBean(this.maximizeButtonComp),this.clearMaximizebleListeners(),e.prototype.destroy.call(this)},t.prototype.setResizable=function(e){this.positionableFeature.setResizable(e)},t.prototype.setMovable=function(e){this.positionableFeature.setMovable(e,this.eTitleBar)},t.prototype.setMaximizable=function(e){var t=this;if(!e)return this.clearMaximizebleListeners(),void(this.maximizeButtonComp&&(this.destroyBean(this.maximizeButtonComp),this.maximizeButtonComp=this.maximizeIcon=this.minimizeIcon=void 0));var r=this.eTitleBar;if(r&&e!==this.isMaximizable){var o=this.maximizeButtonComp=this.createBean(new a.a('<div class="ag-dialog-button"></span>')),n=o.getGui();n.appendChild(this.maximizeIcon=Object(l.createIconNoSpan)("maximize",this.gridOptionsWrapper)),this.maximizeIcon.classList.add("ag-panel-title-bar-button-icon"),n.appendChild(this.minimizeIcon=Object(l.createIconNoSpan)("minimize",this.gridOptionsWrapper)),this.minimizeIcon.classList.add("ag-panel-title-bar-button-icon","ag-hidden"),o.addManagedListener(n,"click",this.toggleMaximize.bind(this)),this.addTitleBarButton(o,0),this.maximizeListeners.push(this.addManagedListener(r,"dblclick",this.toggleMaximize.bind(this))),this.resizeListenerDestroy=this.addManagedListener(this,"resize",(function(){t.isMaximized=!1,t.refreshMaximizeIcon()}))}},p([Object(n.a)("popupService")],t.prototype,"popupService",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(7),i=r(1),a=r(15),s=r(5),l=r(23),c=r(153),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(r){var o=e.call(this,t.getTemplate(r))||this;return o.closable=!0,o.config=r,o}return u(t,e),t.getTemplate=function(e){var t=e&&e.cssIdentifier||"default";return'<div class="ag-panel ag-'+t+'-panel" tabindex="-1">\n <div ref="eTitleBar" class="ag-panel-title-bar ag-'+t+'-panel-title-bar ag-unselectable">\n <span ref="eTitle" class="ag-panel-title-bar-title ag-'+t+'-panel-title-bar-title"></span>\n <div ref="eTitleBarButtons" class="ag-panel-title-bar-buttons ag-'+t+'-panel-title-bar-buttons"></div>\n </div>\n <div ref="eContentWrapper" class="ag-panel-content-wrapper ag-'+t+'-panel-content-wrapper"></div>\n </div>'},t.prototype.postConstruct=function(){var e=this,t=this.config,r=t.component,o=t.closable,n=t.hideTitleBar,i=t.title,a=t.minWidth,s=void 0===a?250:a,l=t.width,u=t.minHeight,p=void 0===u?250:u,d=t.height,g=t.centered,h=t.popup,f=t.x,v=t.y;this.positionableFeature=new c.a(this.getGui(),{minWidth:s,width:l,minHeight:p,height:d,centered:g,x:f,y:v,popup:h,calculateTopBuffer:function(){return e.positionableFeature.getHeight()-e.getBodyHeight()}}),this.createManagedBean(this.positionableFeature);var y=this.getGui();r&&this.setBodyComponent(r),n?this.eTitleBar.classList.add("ag-hidden"):(i&&this.setTitle(i),this.setClosable(null!=o?o:this.closable)),this.addManagedListener(this.eTitleBar,"mousedown",(function(t){var r=e.gridOptionsWrapper.getDocument();if(y.contains(t.relatedTarget)||y.contains(r.activeElement)||e.eTitleBarButtons.contains(t.target))t.preventDefault();else{var o=e.eContentWrapper.querySelector("button, [href], input, select, textarea, [tabindex]");o&&o.focus()}})),h&&this.positionableFeature.isPositioned()||(this.renderComponent&&this.renderComponent(),this.positionableFeature.initialisePosition(),this.eContentWrapper.style.height="0")},t.prototype.renderComponent=function(){var e=this,t=this.getGui();t.focus(),this.close=function(){t.parentElement.removeChild(t),e.destroy()}},t.prototype.getHeight=function(){return this.positionableFeature.getHeight()},t.prototype.setHeight=function(e){this.positionableFeature.setHeight(e)},t.prototype.getWidth=function(){return this.positionableFeature.getWidth()},t.prototype.setWidth=function(e){this.positionableFeature.setWidth(e)},t.prototype.setClosable=function(e){if(e!==this.closable&&(this.closable=e),e){var r=this.closeButtonComp=new a.a(t.CLOSE_BTN_TEMPLATE);this.getContext().createBean(r);var o=r.getGui(),n=Object(l.createIconNoSpan)("close",this.gridOptionsWrapper);n.classList.add("ag-panel-title-bar-button-icon"),o.appendChild(n),this.addTitleBarButton(r),r.addManagedListener(o,"click",this.onBtClose.bind(this))}else if(this.closeButtonComp){(o=this.closeButtonComp.getGui()).parentElement.removeChild(o),this.closeButtonComp=this.destroyBean(this.closeButtonComp)}},t.prototype.setBodyComponent=function(e){e.setParentComponent(this),this.eContentWrapper.appendChild(e.getGui())},t.prototype.addTitleBarButton=function(e,t){var r=this.eTitleBarButtons,o=r.children,n=o.length;null==t&&(t=n),t=Math.max(0,Math.min(t,n)),e.addCssClass("ag-panel-title-bar-button");var i=e.getGui();0===t?r.insertAdjacentElement("afterbegin",i):t===n?r.insertAdjacentElement("beforeend",i):o[t-1].insertAdjacentElement("afterend",i),e.setParentComponent(this)},t.prototype.getBodyHeight=function(){return Object(s.getInnerHeight)(this.eContentWrapper)},t.prototype.getBodyWidth=function(){return Object(s.getInnerWidth)(this.eContentWrapper)},t.prototype.setTitle=function(e){this.eTitle.innerText=e},t.prototype.onBtClose=function(){this.close()},t.prototype.destroy=function(){this.closeButtonComp&&(this.closeButtonComp=this.destroyBean(this.closeButtonComp));var t=this.getGui();t&&t.offsetParent&&this.close(),e.prototype.destroy.call(this)},t.CLOSE_BTN_TEMPLATE='<div class="ag-button"></div>',p([Object(n.b)("eContentWrapper")],t.prototype,"eContentWrapper",void 0),p([Object(n.b)("eTitleBar")],t.prototype,"eTitleBar",void 0),p([Object(n.b)("eTitleBarButtons")],t.prototype,"eTitleBarButtons",void 0),p([Object(n.b)("eTitle")],t.prototype,"eTitle",void 0),p([i.e],t.prototype,"postConstruct",null),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var o,n=r(41),i=r(202),a=r(15),s=r(1),l=r(30),c=r(8),u=r(11),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(t){void 0===t&&(t="default");var r=e.call(this,'<div class="ag-list ag-'+t+'-list" role="listbox"></div>')||this;return r.cssIdentifier=t,r.options=[],r.itemEls=[],r}return p(t,e),t.prototype.init=function(){this.addManagedListener(this.getGui(),"keydown",this.handleKeyDown.bind(this))},t.prototype.handleKeyDown=function(e){var t=e.key;switch(t){case c.a.ENTER:if(this.highlightedEl){var r=this.itemEls.indexOf(this.highlightedEl);this.setValueByIndex(r)}else this.setValue(this.getValue());break;case c.a.DOWN:case c.a.UP:var o=t===c.a.DOWN,n=void 0;if(e.preventDefault(),this.highlightedEl){var i=this.itemEls.indexOf(this.highlightedEl)+(o?1:-1);i=Math.min(Math.max(i,0),this.itemEls.length-1),n=this.itemEls[i]}else n=this.itemEls[o?0:this.itemEls.length-1];this.highlightItem(n)}},t.prototype.addOptions=function(e){var t=this;return e.forEach((function(e){return t.addOption(e)})),this},t.prototype.addOption=function(e){var t=e.value,r=e.text,o=Object(l.escapeString)(r||t);return this.options.push({value:t,text:o}),this.renderOption(t,o),this.updateIndices(),this},t.prototype.updateIndices=function(){var e=this.getGui().querySelectorAll(".ag-list-item");e.forEach((function(t,r){Object(u.setAriaPosInSet)(t,r+1),Object(u.setAriaSetSize)(t,e.length)}))},t.prototype.renderOption=function(e,t){var r=this,o=document.createElement("div");Object(u.setAriaRole)(o,"option"),o.classList.add("ag-list-item","ag-"+this.cssIdentifier+"-list-item"),o.innerHTML="<span>"+t+"</span>",o.tabIndex=-1,this.itemEls.push(o),this.addManagedListener(o,"mouseover",(function(){return r.highlightItem(o)})),this.addManagedListener(o,"mouseleave",(function(){return r.clearHighlighted()})),this.addManagedListener(o,"click",(function(){return r.setValue(e)})),this.getGui().appendChild(o)},t.prototype.setValue=function(e,t){if(this.value===e)return this.fireItemSelected(),this;if(null==e)return this.reset(),this;var r=this.options.findIndex((function(t){return t.value===e}));if(-1!==r){var o=this.options[r];this.value=o.value,this.displayValue=null!=o.text?o.text:o.value,this.highlightItem(this.itemEls[r]),t||this.fireChangeEvent()}return this},t.prototype.setValueByIndex=function(e){return this.setValue(this.options[e].value)},t.prototype.getValue=function(){return this.value},t.prototype.getDisplayValue=function(){return this.displayValue},t.prototype.refreshHighlighted=function(){var e=this;this.clearHighlighted();var t=this.options.findIndex((function(t){return t.value===e.value}));-1!==t&&this.highlightItem(this.itemEls[t])},t.prototype.reset=function(){this.value=null,this.displayValue=null,this.clearHighlighted(),this.fireChangeEvent()},t.prototype.highlightItem=function(e){e.offsetParent&&(this.clearHighlighted(),this.highlightedEl=e,this.highlightedEl.classList.add(t.ACTIVE_CLASS),Object(u.setAriaSelected)(this.highlightedEl,!0),this.highlightedEl.focus())},t.prototype.clearHighlighted=function(){this.highlightedEl&&this.highlightedEl.offsetParent&&(this.highlightedEl.classList.remove(t.ACTIVE_CLASS),Object(u.setAriaSelected)(this.highlightedEl,!1),this.highlightedEl=null)},t.prototype.fireChangeEvent=function(){this.dispatchEvent({type:n.a.EVENT_CHANGED}),this.fireItemSelected()},t.prototype.fireItemSelected=function(){this.dispatchEvent({type:t.EVENT_ITEM_SELECTED})},t.EVENT_ITEM_SELECTED="selectedItem",t.ACTIVE_CLASS="ag-active-item",d([s.e],t.prototype,"init",null),t}(a.a),h=r(5),f=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(t){return e.call(this,t,"ag-select","smallDown","listbox")||this}return f(t,e),t.prototype.init=function(){var e=this;this.listComponent=this.createBean(new g("select")),this.listComponent.setParentComponent(this),this.eWrapper.tabIndex=0,this.listComponent.addManagedListener(this.listComponent,g.EVENT_ITEM_SELECTED,(function(){e.hideList&&e.hideList()})),this.listComponent.addManagedListener(this.listComponent,n.a.EVENT_CHANGED,(function(){e.setValue(e.listComponent.getValue(),!1,!0),e.hideList&&e.hideList()}))},t.prototype.showPicker=function(){var e=this,t=this.listComponent.getGui(),r=this.gridOptionsWrapper.getDocument(),o=this.addManagedListener(r.body,"wheel",(function(r){!t.contains(r.target)&&e.hideList&&e.hideList()})),n=this.addManagedListener(t,"focusout",(function(r){!t.contains(r.relatedTarget)&&e.hideList&&e.hideList()})),i=this.gridOptionsWrapper.getLocaleTextFunc(),a=this.popupService.addPopup({modal:!0,eChild:t,closeOnEsc:!0,closedCallback:function(){e.hideList=null,e.isPickerDisplayed=!1,n(),o(),e.isAlive()&&(Object(u.setAriaExpanded)(e.eWrapper,!1),e.getFocusableElement().focus())},ariaLabel:i("ariaLabelSelectField","Select Field")});return a&&(this.hideList=a.hideFunc),this.isPickerDisplayed=!0,Object(h.setElementWidth)(t,Object(h.getAbsoluteWidth)(this.eWrapper)),Object(u.setAriaExpanded)(this.eWrapper,!0),t.style.maxHeight=Object(h.getInnerHeight)(this.popupService.getPopupParent())+"px",t.style.position="absolute",this.popupService.positionPopupUnderComponent({type:"ag-list",eventSource:this.eWrapper,ePopup:t,keepWithinBounds:!0}),this.listComponent.refreshHighlighted(),this.listComponent},t.prototype.addOptions=function(e){var t=this;return e.forEach((function(e){return t.addOption(e)})),this},t.prototype.addOption=function(e){return this.listComponent.addOption(e),this},t.prototype.setValue=function(t,r,o){return this.value===t?this:(o||this.listComponent.setValue(t,!0),this.listComponent.getValue()===this.getValue()?this:(this.eDisplayField.innerHTML=this.listComponent.getDisplayValue(),e.prototype.setValue.call(this,t,r)))},t.prototype.destroy=function(){this.hideList&&this.hideList(),this.destroyBean(this.listComponent),e.prototype.destroy.call(this)},v([Object(s.a)("popupService")],t.prototype,"popupService",void 0),v([s.e],t.prototype,"init",null),t}(i.a)},function(e,t,r){"use strict";function o(e,t,r){if(0===r)return!1;var o=Math.abs(e.clientX-t.clientX),n=Math.abs(e.clientY-t.clientY);return Math.max(o,n)<=r}r.r(t),r.d(t,"areEventsNear",(function(){return o}))},function(e,t,r){"use strict";function o(e){var t=new Set;return e.forEach((function(e){return t.add(e)})),t}r.r(t),r.d(t,"convertToSet",(function(){return o}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(15),i=r(1),a=r(5),s=r(11),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(t,r){var o=e.call(this,r)||this;return o.labelSeparator="",o.labelAlignment="left",o.disabled=!1,o.label="",o.config=t||{},o}return l(t,e),t.prototype.postConstruct=function(){this.addCssClass("ag-labeled"),this.eLabel.classList.add("ag-label");var e=this.config,t=e.labelSeparator,r=e.label,o=e.labelWidth,n=e.labelAlignment;null!=t&&this.setLabelSeparator(t),null!=r&&this.setLabel(r),null!=o&&this.setLabelWidth(o),this.setLabelAlignment(n||this.labelAlignment),this.refreshLabel()},t.prototype.refreshLabel=function(){Object(a.clearElement)(this.eLabel),"string"==typeof this.label?this.eLabel.innerText=this.label+this.labelSeparator:this.label&&this.eLabel.appendChild(this.label),""===this.label?(this.eLabel.classList.add("ag-hidden"),Object(s.setAriaRole)(this.eLabel,"presentation")):(this.eLabel.classList.remove("ag-hidden"),Object(s.setAriaRole)(this.eLabel,null))},t.prototype.setLabelSeparator=function(e){return this.labelSeparator===e||(this.labelSeparator=e,null!=this.label&&this.refreshLabel()),this},t.prototype.getLabelId=function(){return this.eLabel.id=this.eLabel.id||"ag-"+this.getCompId()+"-label",this.eLabel.id},t.prototype.getLabel=function(){return this.label},t.prototype.setLabel=function(e){return this.label===e||(this.label=e,this.refreshLabel()),this},t.prototype.setLabelAlignment=function(e){var t=this.getGui().classList;return t.toggle("ag-label-align-left","left"===e),t.toggle("ag-label-align-right","right"===e),t.toggle("ag-label-align-top","top"===e),this},t.prototype.setLabelWidth=function(e){return null==this.label||Object(a.setElementWidth)(this.eLabel,e),this},t.prototype.setDisabled=function(e){e=!!e;var t=this.getGui();return Object(a.setDisabled)(t,e),t.classList.toggle("ag-disabled",e),this.disabled=e,this},t.prototype.isDisabled=function(){return!!this.disabled},c([i.e],t.prototype,"postConstruct",null),t}(n.a)},function(e,t,r){"use strict";var o;r.d(t,"a",(function(){return o})),function(e){e[e.SINGLE_SHEET=0]="SINGLE_SHEET",e[e.MULTI_SHEET=1]="MULTI_SHEET"}(o||(o={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o,n=r(15),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(t,r){var o=e.call(this,t)||this;return o.ctrl=r,o}return i(t,e),t.prototype.getCtrl=function(){return this.ctrl},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(6),i=r(63),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(t,r){var o=e.call(this)||this;return o.ctrl=t,o.beans=r,o}return a(t,e),t.prototype.setComp=function(e){this.comp=e,this.setupTooltip()},t.prototype.setupTooltip=function(){this.browserTooltips=this.beans.gridOptionsWrapper.isEnableBrowserTooltips(),this.updateTooltipText(),this.browserTooltips?this.comp.setTitle(null!=this.tooltip?this.tooltip:void 0):this.createTooltipFeatureIfNeeded()},t.prototype.updateTooltipText=function(){this.tooltip=this.ctrl.getTooltipValue()},t.prototype.createTooltipFeatureIfNeeded=function(){var e=this;if(null==this.genericTooltipFeature){var t={getTooltipParams:function(){return e.getTooltipParams()},getGui:function(){return e.ctrl.getGui()}};this.genericTooltipFeature=this.createManagedBean(new i.a(t),this.beans.context)}},t.prototype.refreshToolTip=function(){this.updateTooltipText(),this.browserTooltips&&this.comp.setTitle(null!=this.tooltip?this.tooltip:void 0)},t.prototype.getTooltipParams=function(){var e=this.ctrl,t=e.getColumn?e.getColumn():void 0,r=e.getColDef?e.getColDef():void 0,o=e.getRowNode?e.getRowNode():void 0;return{location:e.getLocation(),colDef:r,column:t,rowIndex:e.getRowIndex?e.getRowIndex():void 0,node:o,data:o?o.data:void 0,value:this.getTooltipText(),valueFormatted:e.getValueFormatted?e.getValueFormatted():void 0}},t.prototype.getTooltipText=function(){return this.tooltip},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(6),i=r(1),a=r(12),s=r(3),l=r(9),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(t){var r=e.call(this)||this;return r.callback=t,r}return c(t,e),t.prototype.postConstruct=function(){var e=this.setWidth.bind(this);this.addManagedListener(this.gridOptionsWrapper,a.a.PROP_DOM_LAYOUT,e),this.addManagedListener(this.eventService,l.a.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,l.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.setWidth()},t.prototype.setWidth=function(){var e=this.columnModel,t=this.gridOptionsWrapper.getDomLayout()===s.a.DOM_LAYOUT_PRINT,r=e.getBodyContainerWidth(),o=e.getDisplayedColumnsLeftWidth(),n=e.getDisplayedColumnsRightWidth(),i=t?r+o+n:r;this.callback(i)},u([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),u([i.e],t.prototype,"postConstruct",null),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(3),i=r(1),a=r(5),s=r(14),l=r(15),c=r(7),u=r(40),p=r(145),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(t){var r=e.call(this)||this;return r.headerRowComps={},r.rowCompsList=[],r.pinned=t,r}return d(t,e),t.prototype.init=function(){var e=this;this.selectAndSetTemplate();var t={addOrRemoveCssClass:function(t,r){return e.addOrRemoveCssClass(t,r)},setCtrls:function(t){return e.setCtrls(t)},setCenterWidth:function(t){return e.eCenterContainer.style.width=t},setContainerTransform:function(t){return e.eCenterContainer.style.transform=t},setPinnedContainerWidth:function(t){var r=e.getGui();r.style.width=t,r.style.maxWidth=t,r.style.minWidth=t}};this.createManagedBean(new p.a(this.pinned)).setComp(t,this.getGui())},t.prototype.selectAndSetTemplate=function(){var e=this.pinned==n.a.PINNED_LEFT,r=this.pinned==n.a.PINNED_RIGHT,o=e?t.PINNED_LEFT_TEMPLATE:r?t.PINNED_RIGHT_TEMPLATE:t.CENTER_TEMPLATE;this.setTemplate(o),this.eRowContainer=this.eCenterContainer?this.eCenterContainer:this.getGui()},t.prototype.destroyRowComps=function(){this.setCtrls([])},t.prototype.destroyRowComp=function(e){this.destroyBean(e),this.eRowContainer.removeChild(e.getGui())},t.prototype.setCtrls=function(e){var t,r=this,o=this.headerRowComps;this.headerRowComps={},this.rowCompsList=[];e.forEach((function(e){var n=e.getInstanceId(),i=o[n];delete o[n];var s=i||r.createBean(new u.a(e));r.headerRowComps[n]=s,r.rowCompsList.push(s),function(e){var o=e.getGui();o.parentElement!=r.eRowContainer&&r.eRowContainer.appendChild(o),t&&Object(a.ensureDomOrder)(r.eRowContainer,o,t),t=o}(s)})),Object(s.getAllValuesInObject)(o).forEach((function(e){return r.destroyRowComp(e)}))},t.PINNED_LEFT_TEMPLATE='<div class="ag-pinned-left-header" role="presentation"/>',t.PINNED_RIGHT_TEMPLATE='<div class="ag-pinned-right-header" role="presentation"/>',t.CENTER_TEMPLATE='<div class="ag-header-viewport" role="presentation">\n <div class="ag-header-container" ref="eCenterContainer" role="rowgroup"></div>\n </div>',g([Object(c.b)("eCenterContainer")],t.prototype,"eCenterContainer",void 0),g([i.e],t.prototype,"init",null),g([i.g],t.prototype,"destroyRowComps",null),t}(l.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return b}));var o,n=r(3),i=r(6),a=r(1),s=r(9),l=r(12),c=r(18),u=r(14),p=r(146),d=r(192),g=r(193),h=r(40),f=r(2),v=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),y=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},m=0,b=function(e){function t(t,r,o){var n=e.call(this)||this;return n.instanceId=m++,n.headerCellCtrls={},n.rowIndex=t,n.pinned=r,n.type=o,n}return v(t,e),t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.setComp=function(e){this.comp=e,this.onRowHeightChanged(),this.onVirtualColumnsChanged(),this.setWidth(),this.addEventListeners(),Object(c.isBrowserSafari)()&&this.comp.setTransform("translateZ(0)"),e.setAriaRowIndex(this.rowIndex+1)},t.prototype.addEventListeners=function(){this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_DOM_LAYOUT,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,s.a.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,s.a.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_PIVOT_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_PIVOT_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_FLOATING_FILTERS_HEIGHT,this.onRowHeightChanged.bind(this))},t.prototype.getHeaderCellCtrl=function(e){return Object(f.values)(this.headerCellCtrls).find((function(t){return t.getColumnGroupChild()===e}))},t.prototype.onDisplayedColumnsChanged=function(){this.onVirtualColumnsChanged(),this.setWidth(),this.onRowHeightChanged()},t.prototype.getType=function(){return this.type},t.prototype.onColumnResized=function(){this.setWidth()},t.prototype.setWidth=function(){var e=this.getWidthForRow();this.comp.setWidth(e+"px")},t.prototype.getWidthForRow=function(){return this.gridOptionsWrapper.getDomLayout()===n.a.DOM_LAYOUT_PRINT?null!=this.pinned?0:this.columnModel.getContainerWidth(n.a.PINNED_RIGHT)+this.columnModel.getContainerWidth(n.a.PINNED_LEFT)+this.columnModel.getContainerWidth(null):this.columnModel.getContainerWidth(this.pinned)},t.prototype.onRowHeightChanged=function(){var e=this.columnModel.getHeaderRowCount(),t=[],r=0;this.columnModel.hasFloatingFilters()&&(e++,r=1);for(var o=this.columnModel.getColumnGroupHeaderRowHeight(),n=this.columnModel.getColumnHeaderRowHeight(),i=e-(1+r),a=0;a<i;a++)t.push(o);t.push(n);for(a=0;a<r;a++)t.push(this.gridOptionsWrapper.getFloatingFiltersHeight());var s=0;for(a=0;a<this.rowIndex;a++)s+=t[a];var l=t[this.rowIndex]+"px";this.comp.setTop(s+"px"),this.comp.setHeight(l)},t.prototype.getPinned=function(){return this.pinned},t.prototype.getRowIndex=function(){return this.rowIndex},t.prototype.onVirtualColumnsChanged=function(){var e=this,t=this.headerCellCtrls;this.headerCellCtrls={},this.getColumnsInViewport().forEach((function(r){if(!r.isEmptyGroup()){var o=r.getUniqueId(),n=t[o];if(delete t[o],n&&n.getColumnGroupChild()!=r&&(e.destroyBean(n),n=void 0),null==n)switch(e.type){case h.b.FLOATING_FILTER:n=e.createBean(new p.a(r,e));break;case h.b.COLUMN_GROUP:n=e.createBean(new g.a(r,e));break;default:n=e.createBean(new d.a(r,e))}e.headerCellCtrls[o]=n}}));Object(u.iterateObject)(t,(function(t,r){var o;(o=r,!!e.focusService.isHeaderWrapperFocused(o)&&e.columnModel.isDisplayed(o.getColumnGroupChild()))?e.headerCellCtrls[t]=r:e.destroyBean(r)}));var r=Object(u.getAllValuesInObject)(this.headerCellCtrls);this.comp.setHeaderCtrls(r)},t.prototype.destroyCtrls=function(){var e=this;Object(u.iterateObject)(this.headerCellCtrls,(function(t,r){e.destroyBean(r)})),this.headerCellCtrls={}},t.prototype.getColumnsInViewport=function(){return this.gridOptionsWrapper.getDomLayout()===n.a.DOM_LAYOUT_PRINT?this.getColumnsInViewportPrintLayout():this.getColumnsInViewportNormalLayout()},t.prototype.getColumnsInViewportPrintLayout=function(){var e=this;if(null!=this.pinned)return[];var t=[],r=this.getActualDepth();return[n.a.PINNED_LEFT,null,n.a.PINNED_RIGHT].forEach((function(o){var n=e.columnModel.getVirtualHeaderGroupRow(o,r);t=t.concat(n)})),t},t.prototype.getActualDepth=function(){return this.type==h.b.FLOATING_FILTER?this.rowIndex-1:this.rowIndex},t.prototype.getColumnsInViewportNormalLayout=function(){return this.columnModel.getVirtualHeaderGroupRow(this.pinned,this.getActualDepth())},t.prototype.focusHeader=function(e,t){var r=Object(u.getAllValuesInObject)(this.headerCellCtrls).find((function(t){return t.getColumnGroupChild()==e}));return!!r&&(r.focus(t),!0)},y([Object(a.a)("columnModel")],t.prototype,"columnModel",void 0),y([Object(a.a)("focusService")],t.prototype,"focusService",void 0),y([a.g],t.prototype,"destroyCtrls",null),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(6),i=r(1),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(t,r){var o=e.call(this)||this;return o.columns=t,o.element=r,o}return a(t,e),t.prototype.postConstruct=function(){this.gridOptionsWrapper.isColumnHoverHighlight()&&this.addMouseHoverListeners()},t.prototype.addMouseHoverListeners=function(){this.addManagedListener(this.element,"mouseout",this.onMouseOut.bind(this)),this.addManagedListener(this.element,"mouseover",this.onMouseOver.bind(this))},t.prototype.onMouseOut=function(){this.columnHoverService.clearMouseOver()},t.prototype.onMouseOver=function(){this.columnHoverService.setMouseOver(this.columns)},s([Object(i.a)("columnHoverService")],t.prototype,"columnHoverService",void 0),s([i.e],t.prototype,"postConstruct",null),t}(n.a)},function(e,t,r){"use strict";r.r(t),r.d(t,"AllCommunityModules",(function(){return s}));var o=r(101),n=r(105),i=r(25);r.d(t,"ClientSideRowModelModule",(function(){return o.ClientSideRowModelModule})),r.d(t,"BaseCreator",(function(){return i.BaseCreator})),r.d(t,"BaseGridSerializingSession",(function(){return i.BaseGridSerializingSession})),r.d(t,"CsvCreator",(function(){return i.CsvCreator})),r.d(t,"CsvExportModule",(function(){return i.CsvExportModule})),r.d(t,"Downloader",(function(){return i.Downloader})),r.d(t,"GridSerializer",(function(){return i.GridSerializer})),r.d(t,"RowType",(function(){return i.RowType})),r.d(t,"XmlFactory",(function(){return i.XmlFactory})),r.d(t,"ZipContainer",(function(){return i.ZipContainer})),r.d(t,"InfiniteRowModelModule",(function(){return n.InfiniteRowModelModule}));var a=r(0);r.d(t,"ColumnFactory",(function(){return a.ColumnFactory})),r.d(t,"ColumnModel",(function(){return a.ColumnModel})),r.d(t,"ColumnKeyCreator",(function(){return a.ColumnKeyCreator})),r.d(t,"ColumnUtils",(function(){return a.ColumnUtils})),r.d(t,"DisplayedGroupCreator",(function(){return a.DisplayedGroupCreator})),r.d(t,"GroupInstanceIdCreator",(function(){return a.GroupInstanceIdCreator})),r.d(t,"ComponentUtil",(function(){return a.ComponentUtil})),r.d(t,"AgStackComponentsRegistry",(function(){return a.AgStackComponentsRegistry})),r.d(t,"ColDefUtil",(function(){return a.ColDefUtil})),r.d(t,"UserComponentRegistry",(function(){return a.UserComponentRegistry})),r.d(t,"UserComponentFactory",(function(){return a.UserComponentFactory})),r.d(t,"BeanStub",(function(){return a.BeanStub})),r.d(t,"Context",(function(){return a.Context})),r.d(t,"Autowired",(function(){return a.Autowired})),r.d(t,"PostConstruct",(function(){return a.PostConstruct})),r.d(t,"PreConstruct",(function(){return a.PreConstruct})),r.d(t,"Optional",(function(){return a.Optional})),r.d(t,"Bean",(function(){return a.Bean})),r.d(t,"Qualifier",(function(){return a.Qualifier})),r.d(t,"PreDestroy",(function(){return a.PreDestroy})),r.d(t,"QuerySelector",(function(){return a.QuerySelector})),r.d(t,"RefSelector",(function(){return a.RefSelector})),r.d(t,"ExcelFactoryMode",(function(){return a.ExcelFactoryMode})),r.d(t,"DragAndDropService",(function(){return a.DragAndDropService})),r.d(t,"DragSourceType",(function(){return a.DragSourceType})),r.d(t,"HorizontalDirection",(function(){return a.HorizontalDirection})),r.d(t,"VerticalDirection",(function(){return a.VerticalDirection})),r.d(t,"DragService",(function(){return a.DragService})),r.d(t,"Column",(function(){return a.Column})),r.d(t,"ColumnGroup",(function(){return a.ColumnGroup})),r.d(t,"ProvidedColumnGroup",(function(){return a.ProvidedColumnGroup})),r.d(t,"RowNode",(function(){return a.RowNode})),r.d(t,"RowHighlightPosition",(function(){return a.RowHighlightPosition})),r.d(t,"FilterManager",(function(){return a.FilterManager})),r.d(t,"ProvidedFilter",(function(){return a.ProvidedFilter})),r.d(t,"SimpleFilter",(function(){return a.SimpleFilter})),r.d(t,"ScalarFilter",(function(){return a.ScalarFilter})),r.d(t,"NumberFilter",(function(){return a.NumberFilter})),r.d(t,"TextFilter",(function(){return a.TextFilter})),r.d(t,"DateFilter",(function(){return a.DateFilter})),r.d(t,"TextFloatingFilter",(function(){return a.TextFloatingFilter})),r.d(t,"HeaderFilterCellComp",(function(){return a.HeaderFilterCellComp})),r.d(t,"FloatingFilterMapper",(function(){return a.FloatingFilterMapper})),r.d(t,"GridBodyComp",(function(){return a.GridBodyComp})),r.d(t,"GridBodyCtrl",(function(){return a.GridBodyCtrl})),r.d(t,"RowAnimationCssClasses",(function(){return a.RowAnimationCssClasses})),r.d(t,"ScrollVisibleService",(function(){return a.ScrollVisibleService})),r.d(t,"MouseEventService",(function(){return a.MouseEventService})),r.d(t,"NavigationService",(function(){return a.NavigationService})),r.d(t,"RowContainerComp",(function(){return a.RowContainerComp})),r.d(t,"RowContainerName",(function(){return a.RowContainerName})),r.d(t,"RowContainerCtrl",(function(){return a.RowContainerCtrl})),r.d(t,"RowContainerType",(function(){return a.RowContainerType})),r.d(t,"getRowContainerTypeForName",(function(){return a.getRowContainerTypeForName})),r.d(t,"BodyDropPivotTarget",(function(){return a.BodyDropPivotTarget})),r.d(t,"BodyDropTarget",(function(){return a.BodyDropTarget})),r.d(t,"CssClassApplier",(function(){return a.CssClassApplier})),r.d(t,"HeaderRowContainerComp",(function(){return a.HeaderRowContainerComp})),r.d(t,"GridHeaderComp",(function(){return a.GridHeaderComp})),r.d(t,"GridHeaderCtrl",(function(){return a.GridHeaderCtrl})),r.d(t,"HeaderRowComp",(function(){return a.HeaderRowComp})),r.d(t,"HeaderRowType",(function(){return a.HeaderRowType})),r.d(t,"HeaderRowCtrl",(function(){return a.HeaderRowCtrl})),r.d(t,"HeaderCellCtrl",(function(){return a.HeaderCellCtrl})),r.d(t,"SortIndicatorComp",(function(){return a.SortIndicatorComp})),r.d(t,"HeaderFilterCellCtrl",(function(){return a.HeaderFilterCellCtrl})),r.d(t,"HeaderGroupCellCtrl",(function(){return a.HeaderGroupCellCtrl})),r.d(t,"AbstractHeaderCellCtrl",(function(){return a.AbstractHeaderCellCtrl})),r.d(t,"HeaderRowContainerCtrl",(function(){return a.HeaderRowContainerCtrl})),r.d(t,"HorizontalResizeService",(function(){return a.HorizontalResizeService})),r.d(t,"MoveColumnFeature",(function(){return a.MoveColumnFeature})),r.d(t,"StandardMenuFactory",(function(){return a.StandardMenuFactory})),r.d(t,"TabbedLayout",(function(){return a.TabbedLayout})),r.d(t,"simpleHttpRequest",(function(){return a.simpleHttpRequest})),r.d(t,"ResizeObserverService",(function(){return a.ResizeObserverService})),r.d(t,"AnimationFrameService",(function(){return a.AnimationFrameService})),r.d(t,"LargeTextCellEditor",(function(){return a.LargeTextCellEditor})),r.d(t,"PopupEditorWrapper",(function(){return a.PopupEditorWrapper})),r.d(t,"PopupSelectCellEditor",(function(){return a.PopupSelectCellEditor})),r.d(t,"PopupTextCellEditor",(function(){return a.PopupTextCellEditor})),r.d(t,"SelectCellEditor",(function(){return a.SelectCellEditor})),r.d(t,"TextCellEditor",(function(){return a.TextCellEditor})),r.d(t,"Beans",(function(){return a.Beans})),r.d(t,"AnimateShowChangeCellRenderer",(function(){return a.AnimateShowChangeCellRenderer})),r.d(t,"AnimateSlideCellRenderer",(function(){return a.AnimateSlideCellRenderer})),r.d(t,"GroupCellRenderer",(function(){return a.GroupCellRenderer})),r.d(t,"GroupCellRendererCtrl",(function(){return a.GroupCellRendererCtrl})),r.d(t,"SetLeftFeature",(function(){return a.SetLeftFeature})),r.d(t,"PositionableFeature",(function(){return a.PositionableFeature})),r.d(t,"AutoWidthCalculator",(function(){return a.AutoWidthCalculator})),r.d(t,"CheckboxSelectionComponent",(function(){return a.CheckboxSelectionComponent})),r.d(t,"CellComp",(function(){return a.CellComp})),r.d(t,"CellCtrl",(function(){return a.CellCtrl})),r.d(t,"RowCtrl",(function(){return a.RowCtrl})),r.d(t,"RowRenderer",(function(){return a.RowRenderer})),r.d(t,"ValueFormatterService",(function(){return a.ValueFormatterService})),r.d(t,"CssClassManager",(function(){return a.CssClassManager})),r.d(t,"PinnedRowModel",(function(){return a.PinnedRowModel})),r.d(t,"ServerSideTransactionResultStatus",(function(){return a.ServerSideTransactionResultStatus})),r.d(t,"ChangedPath",(function(){return a.ChangedPath})),r.d(t,"RowNodeBlock",(function(){return a.RowNodeBlock})),r.d(t,"RowNodeBlockLoader",(function(){return a.RowNodeBlockLoader})),r.d(t,"PaginationProxy",(function(){return a.PaginationProxy})),r.d(t,"ClientSideRowModelSteps",(function(){return a.ClientSideRowModelSteps})),r.d(t,"StylingService",(function(){return a.StylingService})),r.d(t,"LayoutCssClasses",(function(){return a.LayoutCssClasses})),r.d(t,"AgAbstractField",(function(){return a.AgAbstractField})),r.d(t,"AgCheckbox",(function(){return a.AgCheckbox})),r.d(t,"AgRadioButton",(function(){return a.AgRadioButton})),r.d(t,"AgToggleButton",(function(){return a.AgToggleButton})),r.d(t,"AgInputTextField",(function(){return a.AgInputTextField})),r.d(t,"AgInputTextArea",(function(){return a.AgInputTextArea})),r.d(t,"AgInputNumberField",(function(){return a.AgInputNumberField})),r.d(t,"AgInputRange",(function(){return a.AgInputRange})),r.d(t,"AgSelect",(function(){return a.AgSelect})),r.d(t,"AgSlider",(function(){return a.AgSlider})),r.d(t,"AgAngleSelect",(function(){return a.AgAngleSelect})),r.d(t,"AgColorPicker",(function(){return a.AgColorPicker})),r.d(t,"AgGroupComponent",(function(){return a.AgGroupComponent})),r.d(t,"AgMenuItemComponent",(function(){return a.AgMenuItemComponent})),r.d(t,"AgMenuList",(function(){return a.AgMenuList})),r.d(t,"AgMenuPanel",(function(){return a.AgMenuPanel})),r.d(t,"AgDialog",(function(){return a.AgDialog})),r.d(t,"AgPanel",(function(){return a.AgPanel})),r.d(t,"Component",(function(){return a.Component})),r.d(t,"ManagedFocusFeature",(function(){return a.ManagedFocusFeature})),r.d(t,"TabGuardComp",(function(){return a.TabGuardComp})),r.d(t,"TabGuardCtrl",(function(){return a.TabGuardCtrl})),r.d(t,"PopupComponent",(function(){return a.PopupComponent})),r.d(t,"PopupService",(function(){return a.PopupService})),r.d(t,"TouchListener",(function(){return a.TouchListener})),r.d(t,"VirtualList",(function(){return a.VirtualList})),r.d(t,"CellRangeType",(function(){return a.CellRangeType})),r.d(t,"SelectionHandleType",(function(){return a.SelectionHandleType})),r.d(t,"AutoScrollService",(function(){return a.AutoScrollService})),r.d(t,"VanillaFrameworkOverrides",(function(){return a.VanillaFrameworkOverrides})),r.d(t,"CellNavigationService",(function(){return a.CellNavigationService})),r.d(t,"AlignedGridsService",(function(){return a.AlignedGridsService})),r.d(t,"Constants",(function(){return a.Constants})),r.d(t,"KeyCode",(function(){return a.KeyCode})),r.d(t,"Grid",(function(){return a.Grid})),r.d(t,"GridCoreCreator",(function(){return a.GridCoreCreator})),r.d(t,"GridApi",(function(){return a.GridApi})),r.d(t,"Events",(function(){return a.Events})),r.d(t,"FocusService",(function(){return a.FocusService})),r.d(t,"defaultGroupComparator",(function(){return a.defaultGroupComparator})),r.d(t,"GridOptionsWrapper",(function(){return a.GridOptionsWrapper})),r.d(t,"EventService",(function(){return a.EventService})),r.d(t,"SelectableService",(function(){return a.SelectableService})),r.d(t,"RowNodeSorter",(function(){return a.RowNodeSorter})),r.d(t,"CtrlsService",(function(){return a.CtrlsService})),r.d(t,"GridComp",(function(){return a.GridComp})),r.d(t,"GridCtrl",(function(){return a.GridCtrl})),r.d(t,"Logger",(function(){return a.Logger})),r.d(t,"LoggerFactory",(function(){return a.LoggerFactory})),r.d(t,"SelectionService",(function(){return a.SelectionService})),r.d(t,"SortController",(function(){return a.SortController})),r.d(t,"TemplateService",(function(){return a.TemplateService})),r.d(t,"Color",(function(){return a.Color})),r.d(t,"stringToArray",(function(){return a.stringToArray})),r.d(t,"_",(function(){return a._})),r.d(t,"NumberSequence",(function(){return a.NumberSequence})),r.d(t,"AgPromiseStatus",(function(){return a.AgPromiseStatus})),r.d(t,"AgPromise",(function(){return a.AgPromise})),r.d(t,"Timer",(function(){return a.Timer})),r.d(t,"ValueService",(function(){return a.ValueService})),r.d(t,"ValueCache",(function(){return a.ValueCache})),r.d(t,"ExpressionService",(function(){return a.ExpressionService})),r.d(t,"CellPositionUtils",(function(){return a.CellPositionUtils})),r.d(t,"RowPositionUtils",(function(){return a.RowPositionUtils})),r.d(t,"HeaderPositionUtils",(function(){return a.HeaderPositionUtils})),r.d(t,"HeaderNavigationService",(function(){return a.HeaderNavigationService})),r.d(t,"HeaderNavigationDirection",(function(){return a.HeaderNavigationDirection})),r.d(t,"PropertyKeys",(function(){return a.PropertyKeys})),r.d(t,"ColumnApi",(function(){return a.ColumnApi})),r.d(t,"BaseComponentWrapper",(function(){return a.BaseComponentWrapper})),r.d(t,"Environment",(function(){return a.Environment})),r.d(t,"CustomTooltipFeature",(function(){return a.CustomTooltipFeature})),r.d(t,"DEFAULT_CHART_GROUPS",(function(){return a.DEFAULT_CHART_GROUPS})),r.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return a.CHART_TOOL_PANEL_ALLOW_LIST})),r.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return a.CHART_TOOLBAR_ALLOW_LIST})),r.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return a.CHART_TOOL_PANEL_MENU_OPTIONS})),r.d(t,"BarColumnLabelPlacement",(function(){return a.BarColumnLabelPlacement})),r.d(t,"ModuleNames",(function(){return a.ModuleNames})),r.d(t,"ModuleRegistry",(function(){return a.ModuleRegistry}));var s=[o.ClientSideRowModelModule,n.InfiniteRowModelModule,i.CsvExportModule]},function(e,t,r){"use strict";r.r(t),r.d(t,"GridChartsModule",(function(){return Tf})),r.d(t,"agCharts",(function(){return Af}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getData=function(e){if(e.crossFiltering){if(e.grouping)return console.warn("AG Grid: crossing filtering with row grouping is not supported."),{chartData:[],columnNames:{}};if(!this.gridOptionsWrapper.isRowModelDefault())return console.warn("AG Grid: crossing filtering is only supported in the client side row model."),{chartData:[],columnNames:{}}}this.gridOptionsWrapper.isRowModelServerSide()&&e.pivoting&&this.updatePivotKeysForSSRM();var t=this.extractRowsFromGridRowModel(e);return t.chartData=this.aggregateRowsByDimension(e,t.chartData),t},t.prototype.extractRowsFromGridRowModel=function(e){var r,o=this,i=[],a={},s={},l={},c={},u=[];if(e.crossFiltering)c=this.getFilteredRowNodes(),r=(u=this.getAllRowNodes()).length;else{var p=this.gridRowModel.getRowCount()-1;r=(e.endRow>=0?Math.min(e.endRow,p):p)-e.startRow+1}for(var d=function(r){var n={},p=e.crossFiltering?u[r]:h.gridRowModel.getRow(r+e.startRow);e.dimensionCols.forEach((function(i){var a=i.colId,c=o.columnModel.getGridColumn(a);if(c){var u=o.valueService.getValue(c,p);if(e.grouping){var d=u&&u.toString?String(u.toString()):"",h=t.getGroupLabels(p,d);n[a]={labels:h,toString:function(){return this.labels.filter((function(e){return!!e})).reverse().join(" - ")}},p.group&&(s[h.toString()]=r);var f=h.slice(1,h.length).toString();f&&(l[f]=s[f])}else n[a]=u}else n[g.DEFAULT_CATEGORY]=r+1})),e.valueCols.forEach((function(t){var r=[],i=t.getColDef().pivotKeys;i&&(r=i.slice());var s=t.getColDef().headerName;s&&r.push(s),r.length>0&&(a[t.getId()]=r);var l=t.getColId();if(e.crossFiltering){var u=l+"-filtered-out",d=null!=(g=o.valueService.getValue(t,p))&&"function"==typeof g.toNumber?g.toNumber():g;c[p.id]?(n[l]=d,n[u]=e.aggFunc||e.isScatter?void 0:0):(n[l]=e.aggFunc||e.isScatter?void 0:0,n[u]=d)}else{var g;(g=o.valueService.getValue(t,p))&&g.hasOwnProperty("toString")&&(g=parseFloat(g.toString())),n[l]=null!=g&&"function"==typeof g.toNumber?g.toNumber():g}})),p.footer&&(n.footer=!0),i.push(n)},h=this,f=0;f<r;f++)d(f);if(e.grouping){var v=n._.values(l);i=i.filter((function(e,t){return!e.footer&&!n._.includes(v,t)}))}return{chartData:i,columnNames:a}},t.prototype.aggregateRowsByDimension=function(e,t){var r=this,o=e.dimensionCols;if(!e.aggFunc||0===o.length)return t;var i=n._.last(o),a=i&&i.colId,s={},l=[];return t.forEach((function(e){var t=s;o.forEach((function(r){var n=r.colId,i=e[n];if(n===a){var s=t[i];s||(s={__children:[]},o.forEach((function(t){var r=t.colId;s[r]=e[r]})),t[i]=s,l.push(s)),s.__children.push(e)}else t[i]||(t[i]={}),t=t[i]}))})),n.ModuleRegistry.assertRegistered(n.ModuleNames.RowGroupingModule,"Charting Aggregation")&&l.forEach((function(t){return e.valueCols.forEach((function(o){if(e.crossFiltering)e.valueCols.forEach((function(o){var n=o.getColId(),i=t.__children.filter((function(e){return void 0!==e[n]})).map((function(e){return e[n]})),a=r.aggregationStage.aggregateValues(i,e.aggFunc);t[o.getId()]=a&&void 0!==a.value?a.value:a;var s=n+"-filtered-out",l=t.__children.filter((function(e){return void 0!==e[s]})).map((function(e){return e[s]})),c=r.aggregationStage.aggregateValues(l,e.aggFunc);t[s]=c&&void 0!==c.value?c.value:c}));else{var i=t.__children.map((function(e){return e[o.getId()]})),a=0;n.ModuleRegistry.assertRegistered(n.ModuleNames.RowGroupingModule,"Charting Aggregation")&&(a=r.aggregationStage.aggregateValues(i,e.aggFunc)),t[o.getId()]=a&&void 0!==a.value?a.value:a}}))})),l},t.prototype.updatePivotKeysForSSRM=function(){var e=this.columnModel.getSecondaryColumns();if(e){var t=this.extractPivotKeySeparator(e);e.forEach((function(e){if(""===t)e.getColDef().pivotKeys=[];else{var r=e.getColId().split(t);e.getColDef().pivotKeys=r.slice(0,r.length-1)}}))}},t.prototype.extractPivotKeySeparator=function(e){if(0===e.length)return"";var t=function(e,r){var o=e.getGroupId();return e.getParent()?t(e.getParent(),o):r.split(o)[1][0]},r=e[0];return null==r.getParent()?"":t(r.getParent(),r.getColId())},t.getGroupLabels=function(e,t){for(var r=[t];e&&0!==e.level;)(e=e.parent)&&r.push(e.key);return r},t.prototype.getFilteredRowNodes=function(){var e={};return this.gridRowModel.forEachNodeAfterFilterAndSort((function(t){e[t.id]=t})),e},t.prototype.getAllRowNodes=function(){var e=[];return this.gridRowModel.forEachNode((function(t){e.push(t)})),this.sortRowNodes(e)},t.prototype.sortRowNodes=function(e){var t=this.sortController.getSortOptions();return!t||0==t.length?e:this.rowNodeSorter.doFullSort(e,t)},s([Object(n.Autowired)("rowModel")],t.prototype,"gridRowModel",void 0),s([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),s([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),s([Object(n.Autowired)("rowNodeSorter")],t.prototype,"rowNodeSorter",void 0),s([Object(n.Autowired)("sortController")],t.prototype,"sortController",void 0),s([Object(n.Optional)("aggregationStage")],t.prototype,"aggregationStage",void 0),t}(n.BeanStub),c=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},d=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e},g=function(e){function t(t){var r=e.call(this)||this;return r.unlinked=!1,r.chartData=[],r.valueColState=[],r.dimensionColState=[],r.columnNames={},r.grouping=!1,r.crossFiltering=!1,r.suppressComboChartWarnings=!1,r.chartId=t.chartId,r.chartType=t.chartType,r.pivotChart=t.pivotChart,r.chartThemeName=t.chartThemeName,r.aggFunc=t.aggFunc,r.referenceCellRange=t.cellRange,r.suppliedCellRange=t.cellRange,r.suppressChartRanges=t.suppressChartRanges,r.unlinked=!!t.unlinkChart,r.crossFiltering=!!t.crossFiltering,r.seriesChartTypes=t.seriesChartTypes||[],r.initComboCharts(t),r}return c(t,e),t.prototype.initComboCharts=function(e){var t=this.seriesChartTypes&&this.seriesChartTypes.length>0;("customCombo"===e.chartType||t)&&(this.chartType="customCombo",this.savedCustomSeriesChartTypes=this.seriesChartTypes||[])},t.prototype.init=function(){this.datasource=this.createManagedBean(new l),this.updateCellRanges()},t.prototype.updateCellRanges=function(e){this.valueCellRange&&(this.referenceCellRange=this.valueCellRange);var t=this.getAllChartColumns(),r=t.dimensionCols,o=t.valueCols,n=this.getAllColumnsFromRanges();e&&this.updateColumnState(e),this.setDimensionCellRange(r,n,e),this.setValueCellRange(o,n,e),e||(this.resetColumnState(),this.syncDimensionCellRange()),this.updateSeriesChartTypes(),this.updateData()},t.prototype.updateSeriesChartTypes=function(){this.isComboChart()&&(this.seriesChartTypes=this.seriesChartTypes.map((function(e){var t=["groupedColumn","stackedColumn","stackedArea"].includes(e.chartType);return e.secondaryAxis=!t&&e.secondaryAxis,e})),"customCombo"!==this.chartType?this.updateChartSeriesTypesForBuiltInCombos():this.updateSeriesChartTypesForCustomCombo())},t.prototype.updateSeriesChartTypesForCustomCombo=function(){var e=this;this.seriesChartTypes&&this.seriesChartTypes.length>0||this.suppressComboChartWarnings||console.warn("AG Grid: 'seriesChartTypes' are required when the 'customCombo' chart type is specified."),this.seriesChartTypes=this.seriesChartTypes.map((function(e){return t.SUPPORTED_COMBO_CHART_TYPES.includes(e.chartType)||(console.warn("AG Grid: invalid chartType '"+e.chartType+"' supplied in 'seriesChartTypes', converting to 'line' instead."),e.chartType="line"),e}));var r=this.valueColState.map((function(t){e.savedCustomSeriesChartTypes&&0!==e.savedCustomSeriesChartTypes.length||(e.savedCustomSeriesChartTypes=e.seriesChartTypes);var r=e.savedCustomSeriesChartTypes.find((function(e){return e.colId===t.colId}));return r||(t.selected&&!e.suppressComboChartWarnings&&console.warn("AG Grid: no 'seriesChartType' found for colId = '"+t.colId+"', defaulting to 'line'."),{colId:t.colId,chartType:"line",secondaryAxis:!1})}));this.seriesChartTypes=r,this.savedCustomSeriesChartTypes=r,this.suppressComboChartWarnings=!0},t.prototype.updateChartSeriesTypesForBuiltInCombos=function(){var e="columnLineCombo"===this.chartType?"groupedColumn":"stackedArea",t="columnLineCombo"===this.chartType?"line":"groupedColumn",r=this.valueColState.filter((function(e){return e.selected})),o=Math.ceil(r.length/2);this.seriesChartTypes=r.map((function(r,n){var i=n>=o?t:e;return{colId:r.colId,chartType:i,secondaryAxis:!1}}))},t.prototype.updateData=function(){var e=this.getRowIndexes(),t=e.startRow,r=e.endRow;this.pivotChart&&this.resetColumnState(),this.grouping=this.isGrouping();var o={aggFunc:this.aggFunc,dimensionCols:[this.getSelectedDimension()],grouping:this.grouping,pivoting:this.isPivotActive(),crossFiltering:this.crossFiltering,valueCols:this.getSelectedValueCols(),startRow:t,endRow:r,isScatter:n._.includes(["scatter","bubble"],this.chartType)},i=this.datasource.getData(o),a=i.chartData,s=i.columnNames;this.chartData=a,this.columnNames=s},t.prototype.isGrouping=function(){var e=this.gridOptionsWrapper.isTreeData(),t=e?null:this.columnModel.getRowGroupColumns(),r=e||t&&t.length>0,o=this.getSelectedDimension().colId,n=this.columnModel.getGroupDisplayColumns().map((function(e){return e.getColId()})).some((function(e){return e===o}));return!!r&&n},t.prototype.getSelectedValueCols=function(){return this.valueColState.filter((function(e){return e.selected})).map((function(e){return e.column}))},t.prototype.getSelectedDimension=function(){return this.dimensionColState.filter((function(e){return e.selected}))[0]},t.prototype.getColDisplayName=function(e){return this.columnModel.getDisplayNameForColumn(e,"chart")},t.prototype.isPivotMode=function(){return this.columnModel.isPivotMode()},t.prototype.getChartDataType=function(e){var t=this.columnModel.getPrimaryColumn(e);return t?t.getColDef().chartDataType:void 0},t.prototype.isPivotActive=function(){return this.columnModel.isPivotActive()},t.prototype.createCellRange=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return{id:this.chartId,startRow:this.referenceCellRange.startRow,endRow:this.referenceCellRange.endRow,columns:t,startColumn:e===n.CellRangeType.DIMENSION?t[0]:this.referenceCellRange.startColumn,type:e}},t.prototype.getAllColumnsFromRanges=function(){if(this.pivotChart)return n._.convertToSet(this.columnModel.getAllDisplayedColumns());var e=this.dimensionCellRange||this.valueCellRange?[]:this.referenceCellRange.columns;return this.dimensionCellRange&&e.push.apply(e,d(this.dimensionCellRange.columns)),this.valueCellRange&&e.push.apply(e,d(this.valueCellRange.columns)),n._.convertToSet(e)},t.prototype.getRowIndexes=function(){var e=0,t=0,r=this.rangeService,o=this.valueCellRange;if(r&&o){e=r.getRangeStartRow(o).rowIndex;var i=r.getRangeEndRow(o);t=i.rowPinned===n.Constants.PINNED_BOTTOM?-1:i.rowIndex}return{startRow:e,endRow:t}},t.prototype.getAllChartColumns=function(){var e=this,t=this.columnModel.getAllDisplayedColumns(),r=new Set,o=new Set;return t.forEach((function(t){var n=t.getColDef(),i=n.chartDataType;if(i)switch(i){case"category":case"time":return void r.add(t);case"series":return void o.add(t);case"excluded":return;default:console.warn("AG Grid: unexpected chartDataType value '"+i+"' supplied, instead use 'category', 'series' or 'excluded'")}"ag-Grid-AutoColumn"!==n.colId?t.isPrimary()?(e.isNumberCol(t)?o:r).add(t):o.add(t):r.add(t)})),{dimensionCols:r,valueCols:o}},t.prototype.isNumberCol=function(e){if("ag-Grid-AutoColumn"===e.getColId())return!1;var t=this.rowRenderer.getRowNode({rowIndex:0,rowPinned:null});if(!t)return!1;var r=this.valueService.getValue(e,t);return null==r&&(r=this.extractLeafData(t,e)),null!=r&&"function"==typeof r.toNumber&&(r=r.toNumber()),"number"==typeof r},t.prototype.extractLeafData=function(e,t){if(!e.allLeafChildren)return null;for(var r=0;r<e.allLeafChildren.length;r++){var o=e.allLeafChildren[r],n=this.valueService.getValue(t,o);if(null!=n)return n}return null},t.prototype.resetColumnState=function(){var e=this,r=this.getAllChartColumns(),o=r.dimensionCols,i=r.valueCols,a=this.getAllColumnsFromRanges(),s=this.valueColState.length<1;this.dimensionColState=[],this.valueColState=[];var l=!1,c=1,u=this.suppliedCellRange.columns[0];o.forEach((function(t){var r="ag-Grid-AutoColumn"===t.getColId(),o=!1;e.crossFiltering&&e.aggFunc?u.getColId()===t.getColId()&&(o=!0):o=!!r||!l&&a.has(t),e.dimensionColState.push({column:t,colId:t.getColId(),displayName:e.getColDisplayName(t),selected:o,order:c++}),o&&(l=!0)}));var p={colId:t.DEFAULT_CATEGORY,displayName:this.chartTranslationService.translate("defaultCategory"),selected:!l,order:0};this.dimensionColState.unshift(p);var d=this.referenceCellRange.columns.filter((function(e){return i.has(e)}));i.forEach((function(t){s&&n._.includes(e.referenceCellRange.columns,t)&&(t=d.shift()),e.valueColState.push({column:t,colId:t.getColId(),displayName:e.getColDisplayName(t),selected:a.has(t),order:c++})}))},t.prototype.updateColumnState=function(e){var t=function(t){return t.colId===e.colId},r=this.dimensionColState,o=this.valueColState;r.filter(t).length>0?r.forEach((function(e){return e.selected=t(e)})):o.filter(t).forEach((function(t){return t.selected=e.selected}));var n=d(r,o),i=[];n.forEach((function(t,r){r===e.order&&i.push(e.colId),t.colId!==e.colId&&i.push(t.colId)})),n.forEach((function(e){var t=i.indexOf(e.colId);e.order=t>=0?i.indexOf(e.colId):n.length-1})),this.reorderColState()},t.prototype.reorderColState=function(){var e=function(e,t){return e.order-t.order};this.dimensionColState.sort(e),this.valueColState.sort(e)},t.prototype.setDimensionCellRange=function(e,r,o){var i=this;if(this.dimensionCellRange=void 0,o||this.dimensionColState.length){var a=o;if(this.crossFiltering&&this.aggFunc){var s=this.suppliedCellRange.columns[0];a=this.dimensionColState.filter((function(e){return e.colId===s.getColId()}))[0]}else a&&e.has(a.column)||(a=this.dimensionColState.filter((function(e){return e.selected}))[0]);a&&a.colId!==t.DEFAULT_CATEGORY&&(this.dimensionCellRange=this.createCellRange(n.CellRangeType.DIMENSION,a.column))}else e.forEach((function(e){!i.dimensionCellRange&&r.has(e)&&(i.dimensionCellRange=i.createCellRange(n.CellRangeType.DIMENSION,e))}))},t.prototype.setValueCellRange=function(e,t,r){this.valueCellRange=void 0;var o=[];if(e.forEach((function(e){r&&r.colId===e.getColId()?r.selected&&o.push(r.column):t.has(e)&&o.push(e)})),o.length>0){var i=[];this.valueColState.length>0?i=this.valueColState.map((function(e){return e.colId})):t.forEach((function(e){return i.push(e.getColId())})),o.sort((function(e,t){return i.indexOf(e.getColId())-i.indexOf(t.getColId())})),this.valueCellRange=this.createCellRange.apply(this,d([n.CellRangeType.VALUE],o))}},t.prototype.syncDimensionCellRange=function(){var e=this.getSelectedDimension();e&&e.column&&(this.dimensionCellRange=this.createCellRange(n.CellRangeType.DIMENSION,e.column))},t.prototype.isComboChart=function(){return["columnLineCombo","areaColumnCombo","customCombo"].includes(this.chartType)},t.DEFAULT_CATEGORY="AG-GRID-DEFAULT-CATEGORY",t.SUPPORTED_COMBO_CHART_TYPES=["line","groupedColumn","stackedColumn","area","stackedArea"],u([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),u([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),u([Object(n.Autowired)("rangeService")],t.prototype,"rangeService",void 0),u([Object(n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),u([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),u([n.PostConstruct],t.prototype,"init",null),t}(n.BeanStub),h=function(){function e(e,t,r,o){this.x=e,this.y=t,this.width=r,this.height=o}return e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.equals=function(e){return this.x===e.x&&this.y===e.y&&this.width===e.width&&this.height===e.height},e.prototype.isValid=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.dilate=function(e){this.x-=e,this.y-=e,this.width+=2*e,this.height+=2*e},e.prototype.containsPoint=function(e,t){return e>=this.x&&e<=this.x+this.width&&t>=this.y&&t<=this.y+this.height},e.prototype.render=function(t,r){void 0===r&&(r=e.noParams),t.save(),r.resetTransform&&t.setTransform(1,0,0,1,0,0),t.strokeStyle=r.strokeStyle||"cyan",t.lineWidth=r.lineWidth||1,t.strokeRect(this.x,this.y,this.width,this.height),r.label&&(t.fillStyle=r.fillStyle||"black",t.textBaseline="bottom",t.fillText(r.label,this.x,this.y)),t.restore()},e.noParams={},e}(),f=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},v=function(){function e(e){void 0===e&&(e=[1,0,0,1,0,0]),this.elements=e}return e.prototype.setElements=function(e){var t=this.elements;return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],this},e.prototype.setIdentityElements=function(){var e=this.elements;return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,this},Object.defineProperty(e.prototype,"identity",{get:function(){var e=this.elements;return 1===e[0]&&0===e[1]&&0===e[2]&&1===e[3]&&0===e[4]&&0===e[5]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"a",{get:function(){return this.elements[0]},set:function(e){this.elements[0]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"b",{get:function(){return this.elements[1]},set:function(e){this.elements[1]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"c",{get:function(){return this.elements[2]},set:function(e){this.elements[2]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"d",{get:function(){return this.elements[3]},set:function(e){this.elements[3]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"e",{get:function(){return this.elements[4]},set:function(e){this.elements[4]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"f",{get:function(){return this.elements[5]},set:function(e){this.elements[5]=e},enumerable:!0,configurable:!0}),e.prototype.AxB=function(e,t,r){var o=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],a=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];(r=r||e)[0]=o,r[1]=n,r[2]=i,r[3]=a,r[4]=s,r[5]=l},e.prototype.multiplySelf=function(e){return this.AxB(this.elements,e.elements),this},e.prototype.multiply=function(t){var r=new Array(6);return this.AxB(this.elements,t.elements,r),new e(r)},e.prototype.preMultiplySelf=function(e){return this.AxB(e.elements,this.elements,this.elements),this},e.prototype.inverse=function(){var t=f(this.elements,6),r=t[0],o=t[1],n=t[2],i=t[3],a=t[4],s=t[5],l=1/(r*i-o*n);return new e([i*=l,-(o*=l),-(n*=l),r*=l,n*s-i*a,o*a-r*s])},e.prototype.inverseTo=function(e){var t=f(this.elements,6),r=t[0],o=t[1],n=t[2],i=t[3],a=t[4],s=t[5],l=1/(r*i-o*n);return r*=l,o*=l,n*=l,i*=l,e.setElements([i,-o,-n,r,n*s-i*a,o*a-r*s]),this},e.prototype.invertSelf=function(){var e=this.elements,t=e[0],r=e[1],o=e[2],n=e[3],i=e[4],a=e[5],s=1/(t*n-r*o);return t*=s,r*=s,o*=s,n*=s,e[0]=n,e[1]=-r,e[2]=-o,e[3]=t,e[4]=o*a-n*i,e[5]=r*i-t*a,this},e.prototype.clone=function(){return new e(this.elements.slice())},e.prototype.transformPoint=function(e,t){var r=this.elements;return{x:e*r[0]+t*r[2]+r[4],y:e*r[1]+t*r[3]+r[5]}},e.prototype.transformBBox=function(e,t,r){void 0===t&&(t=0);var o,n,i=this.elements,a=i[0],s=i[1],l=i[2],c=i[3],u=.5*e.width,p=.5*e.height,d=e.x+u,g=e.y+p;if(t){u-=t,p-=t;var f=Math.sqrt(a*a+l*l),v=Math.sqrt(s*s+c*c);o=Math.abs(u*a)+Math.abs(p*l)+Math.abs(f*t),n=Math.abs(u*s)+Math.abs(p*c)+Math.abs(v*t)}else o=Math.abs(u*a)+Math.abs(p*l),n=Math.abs(u*s)+Math.abs(p*c);return r||(r=new h(0,0,0,0)),r.x=d*a+g*l+i[4]-o,r.y=d*s+g*c+i[5]-n,r.width=o+o,r.height=n+n,r},e.prototype.toContext=function(e){if(!this.identity){var t=this.elements;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}},e.flyweight=function(t){return t?t instanceof e?e.matrix.setElements(t.elements):e.matrix.setElements(t):e.matrix.setIdentityElements(),e.matrix},e.updateTransformMatrix=function(e,t,r,o,n,i,a){var s,l,c,u,p,d,g,h,v,y,m=f([0,0],2),b=m[0],w=m[1],C=t,O=r;1===C&&1===O?(v=0,y=0):(v=null==(null===(s=a)||void 0===s?void 0:s.scalingCenterX)?b:null===(l=a)||void 0===l?void 0:l.scalingCenterX,y=null==(null===(c=a)||void 0===c?void 0:c.scalingCenterY)?w:null===(u=a)||void 0===u?void 0:u.scalingCenterY);var S,E,x=o,R=Math.cos(x),T=Math.sin(x);0===x?(S=0,E=0):(S=null==(null===(p=a)||void 0===p?void 0:p.rotationCenterX)?b:null===(d=a)||void 0===d?void 0:d.rotationCenterX,E=null==(null===(g=a)||void 0===g?void 0:g.rotationCenterY)?w:null===(h=a)||void 0===h?void 0:h.rotationCenterY);var A=n,P=i,_=v*(1-C)-S,D=y*(1-O)-E;return e.setElements([R*C,T*C,-T*O,R*O,R*_-T*D+S+A,T*_+R*D+E+P]),e},e.matrix=new e,e}(),y={};function m(e){var t,r=e.constructor,o=r.hasOwnProperty("className")?r.className:r.name;if(!o)throw new Error("The "+r+" is missing the 'className' property.");var n=(null!=(t=y[o])?t:0)+1;return y[o]=n,o+"-"+n}var b,w=r(21),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),O=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},S=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(e){e[e.All=0]="All",e[e.None=1]="None"}(b||(b={}));var E=function(e){e.parent&&(e.parent.dirtyZIndex=!0),e.zIndexChanged()},x=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.serialNumber=t._nextSerialNumber++,r.id=m(r),r.tag=NaN,r.isContainerNode=!1,r._children=[],r.childSet={},r.matrix=new v,r.inverseMatrix=new v,r._dirtyTransform=!1,r.scalingX=1,r.scalingY=1,r.scalingCenterX=null,r.scalingCenterY=null,r.rotationCenterX=null,r.rotationCenterY=null,r.rotation=0,r.translationX=0,r.translationY=0,r.visible=!0,r.dirtyZIndex=!1,r.zIndex=0,r.zIndexSubOrder=void 0,r.pointerEvents=b.All,r}return C(t,e),t.isNode=function(e){return!!e&&void 0!==e.matrix},t.prototype._setScene=function(e){var t,r,o;this._scene=e,this._debug=null===(o=e)||void 0===o?void 0:o.debug;try{for(var n=S(this.children),i=n.next();!i.done;i=n.next()){i.value._setScene(e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Object.defineProperty(t.prototype,"scene",{get:function(){return this._scene},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._children},enumerable:!0,configurable:!0}),t.prototype.countChildren=function(e){if(void 0===e&&(e=t.MAX_SAFE_INTEGER),e<=0)return 0;for(var r=this.children,o=r.length,n=o,i=0;i<o;i++)n+=r[i].countChildren(e-1);return n},t.prototype.append=function(e){var r,o;t.isNode(e)&&(e=[e]);try{for(var n=S(e),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.parent)throw new Error(a+" already belongs to another parent: "+a.parent+".");if(a.scene)throw new Error(a+" already belongs to a scene: "+a.scene+".");if(this.childSet[a.id])throw new Error("Duplicate "+a.constructor.name+" node: "+a);this._children.push(a),this.childSet[a.id]=!0,a._parent=this,a._setScene(this.scene)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}this.dirtyZIndex=!0,this.markDirty(this,w.b.MAJOR)},t.prototype.appendChild=function(e){return this.append(e),e},t.prototype.removeChild=function(e){if(e.parent===this){var t=this.children.indexOf(e);if(t>=0)return this._children.splice(t,1),delete this.childSet[e.id],e._parent=void 0,e._setScene(),this.dirtyZIndex=!0,this.markDirty(e,w.b.MAJOR),e}throw new Error("The node to be removed is not a child of this node.")},t.prototype.insertBefore=function(e,t){var r=e.parent;if(e.parent&&e.parent.removeChild(e),t&&t.parent===this){var o=this.children.indexOf(t);if(!(o>=0))throw new Error(t+" has "+r+" as the parent, but is not in its list of children.");this._children.splice(o,0,e),this.childSet[e.id]=!0,e._parent=this,e._setScene(this.scene),this.dirtyZIndex=!0,this.markDirty(e,w.b.MAJOR)}else this.append(e);return e},Object.defineProperty(t.prototype,"nextSibling",{get:function(){var e=this.parent;if(e){var t=e.children,r=t.indexOf(this);if(r>=0&&r<=t.length-1)return t[r+1]}},enumerable:!0,configurable:!0}),t.prototype.transformPoint=function(e,t){for(var r=v.flyweight(this.matrix),o=this.parent;o;)r.preMultiplySelf(o.matrix),o=o.parent;return r.invertSelf().transformPoint(e,t)},t.prototype.inverseTransformPoint=function(e,t){for(var r=v.flyweight(this.matrix),o=this.parent;o;)r.preMultiplySelf(o.matrix),o=o.parent;return r.transformPoint(e,t)},t.prototype.markDirtyTransform=function(){this._dirtyTransform=!0,this.markDirty(this,w.b.MAJOR)},Object.defineProperty(t.prototype,"rotationDeg",{get:function(){return this.rotation/Math.PI*180},set:function(e){this.rotation=e/180*Math.PI},enumerable:!0,configurable:!0}),t.prototype.containsPoint=function(e,t){return!1},t.prototype.pickNode=function(e,t){var r;if(this.visible&&this.pointerEvents!==b.None&&this.containsPoint(e,t)){var o=this.children;if(o.length>1e3)for(var n=o.length-1;n>=0;n--){if(i=(null===(r=o[n].computeBBox())||void 0===r?void 0:r.containsPoint(e,t))?o[n].pickNode(e,t):void 0)return i}else if(o.length)for(n=o.length-1;n>=0;n--){var i;if(i=o[n].pickNode(e,t))return i}else if(!this.isContainerNode)return this}},t.prototype.computeBBox=function(){},t.prototype.computeTransformedBBox=function(){var e=this.computeBBox();if(e){this.computeTransformMatrix();for(var t=v.flyweight(this.matrix),r=this.parent;r;)r.computeTransformMatrix(),t.preMultiplySelf(r.matrix),r=r.parent;return t.transformBBox(e,0,e),e}},t.prototype.computeBBoxCenter=function(){var e=this.computeBBox&&this.computeBBox();return e?[e.x+.5*e.width,e.y+.5*e.height]:[0,0]},t.prototype.computeTransformMatrix=function(){if(this._dirtyTransform){var e=this,t=e.matrix,r=e.scalingX,o=e.scalingY,n=e.rotation,i=e.translationX,a=e.translationY,s=e.scalingCenterX,l=e.scalingCenterY,c=e.rotationCenterX,u=e.rotationCenterY;v.updateTransformMatrix(t,r,o,n,i,a,{scalingCenterX:s,scalingCenterY:l,rotationCenterX:c,rotationCenterY:u}),t.inverseTo(this.inverseMatrix),this._dirtyTransform=!1}},t.prototype.render=function(e){var t=e.stats;this._dirty=w.b.NONE,t&&t.nodesRendered++},t.prototype.clearBBox=function(e){var t=this.computeBBox();if(null!=t){var r=t.x,o=t.y,n=t.width,i=t.height,a=this.transformPoint(r,o),s=this.transformPoint(r+n,o+i);e.clearRect(a.x,a.y,s.x-a.x,s.y-a.y)}},t.prototype.markDirty=function(e,t,r){void 0===t&&(t=w.b.TRIVIAL),void 0===r&&(r=t),this._dirty>t||this._dirty===t&&t===r||(this._dirty=t,this.parent?this.parent.markDirty(this,r):this.scene&&this.scene.markDirty())},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t.prototype.markClean=function(e){var t,r,o=e||{},n=o.force,i=void 0!==n&&n,a=o.recursive,s=void 0===a||a;if((this._dirty!==w.b.NONE||i)&&(this._dirty=w.b.NONE,s))try{for(var l=S(this.children),c=l.next();!c.done;c=l.next()){c.value.markClean()}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}},t.prototype.visibilityChanged=function(){},Object.defineProperty(t.prototype,"nodeCount",{get:function(){var e,t,r=1,o=this._dirty>=w.b.NONE||this._dirtyTransform?1:0,n=this.visible?1:0;try{for(var i=S(this._children),a=i.next();!a.done;a=i.next()){var s=a.value.nodeCount,l=s.count,c=s.visibleCount,u=s.dirtyCount;r+=l,n+=c,o+=u}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{count:r,visibleCount:n,dirtyCount:o}},enumerable:!0,configurable:!0}),t.prototype.zIndexChanged=function(){},t._nextSerialNumber=0,t.MAX_SAFE_INTEGER=Math.pow(2,53)-1,O([Object(w.c)({type:"transform"})],t.prototype,"scalingX",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"scalingY",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"scalingCenterX",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"scalingCenterY",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"rotationCenterX",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"rotationCenterY",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"rotation",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"translationX",void 0),O([Object(w.c)({type:"transform"})],t.prototype,"translationY",void 0),O([Object(w.c)({redraw:w.b.MAJOR,changeCb:function(e){return e.visibilityChanged()}})],t.prototype,"visible",void 0),O([Object(w.c)({redraw:w.b.TRIVIAL,changeCb:E})],t.prototype,"zIndex",void 0),O([Object(w.c)({redraw:w.b.TRIVIAL,changeCb:E})],t.prototype,"zIndexSubOrder",void 0),t}(w.a);function R(e,t){var r=Object.create(e);for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);return r}function T(e,t){return!1!==t.clone&&t.isMergeableObject(e)?N(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function A(e,t,r){return e.concat(t).map((function(e){return T(e,r)}))}function P(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function _(e,t){try{return t in e}catch(e){return!1}}function D(e,t,r){var o={};return r.isMergeableObject(e)&&P(e).forEach((function(t){o[t]=T(e[t],r)})),P(t).forEach((function(n){(function(e,t){return _(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(_(e,n)&&r.isMergeableObject(t[n])?o[n]=function(e,t){if(!t.customMerge)return N;var r=t.customMerge(e);return"function"==typeof r?r:N}(n,r)(e[n],t[n],r):o[n]=T(t[n],r))})),o}function M(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t}(e)}function N(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||A,r.isMergeableObject=r.isMergeableObject||M,r.cloneUnlessOtherwiseSpecified=T;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):D(e,t,r):T(t,r)}var I=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),L=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},k=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.lastInstanceId=0,r.fillOpacity=1,r.strokeOpacity=1,r.fill=t.defaultStyles.fill,r.stroke=t.defaultStyles.stroke,r.strokeWidth=t.defaultStyles.strokeWidth,r.lineDash=t.defaultStyles.lineDash,r.lineDashOffset=t.defaultStyles.lineDashOffset,r.lineCap=t.defaultStyles.lineCap,r.lineJoin=t.defaultStyles.lineJoin,r.opacity=t.defaultStyles.opacity,r.fillShadow=t.defaultStyles.fillShadow,r}return I(t,e),t.createInstance=function(e){var t=Object.create(e);return t._setParent(void 0),t.id=e.id+"-Instance-"+String(++e.lastInstanceId),t},t.prototype.restoreOwnStyles=function(){for(var e=this.constructor.defaultStyles,t=Object.getOwnPropertyNames(e),r=0,o=t.length;r<o;r++){var n=t[r];this[n]=e[n]}},t.prototype.restoreAllStyles=function(){var e=this.constructor.defaultStyles;for(var t in e)this[t]=e[t]},t.prototype.restoreOverriddenStyles=function(){var e=this.constructor.defaultStyles,t=Object.getPrototypeOf(e);for(var r in e)e.hasOwnProperty(r)&&t.hasOwnProperty(r)&&(this[r]=e[r])},t.prototype.align=function(e,t){var r,o,n,i=null!=(n=null===(o=null===(r=this.scene)||void 0===r?void 0:r.canvas)||void 0===o?void 0:o.pixelRatio)?n:1,a=Math.round(e*i)/i;return null==t?a:0===t?0:t<1?Math.ceil(t*i)/i:Math.round((t+e)*i)/i-a},t.prototype.fillStroke=function(e){if(this.scene){var t=this.scene.canvas.pixelRatio||1,r=e.globalAlpha;if(this.fill){e.fillStyle=this.fill,e.globalAlpha=r*this.opacity*this.fillOpacity;var o=this.fillShadow;o&&o.enabled&&(e.shadowColor=o.color,e.shadowOffsetX=o.xOffset*t,e.shadowOffsetY=o.yOffset*t,e.shadowBlur=o.blur*t),e.fill()}e.shadowColor="rgba(0, 0, 0, 0)",this.stroke&&this.strokeWidth&&(e.strokeStyle=this.stroke,e.globalAlpha=r*this.opacity*this.strokeOpacity,e.lineWidth=this.strokeWidth,this.lineDash&&e.setLineDash(this.lineDash),this.lineDashOffset&&(e.lineDashOffset=this.lineDashOffset),this.lineCap&&(e.lineCap=this.lineCap),this.lineJoin&&(e.lineJoin=this.lineJoin),e.stroke())}},t.prototype.containsPoint=function(e,t){return this.isPointInPath(e,t)},t.defaultStyles=R({},{fill:"black",stroke:void 0,strokeWidth:0,lineDash:void 0,lineDashOffset:0,lineCap:void 0,lineJoin:void 0,opacity:1,fillShadow:void 0}),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"fillOpacity",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"strokeOpacity",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"fill",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"stroke",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"strokeWidth",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"lineDash",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"lineDashOffset",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"lineCap",void 0),L([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"lineJoin",void 0),L([Object(w.c)({redraw:w.b.MINOR,convertor:function(e){return Math.min(1,Math.max(0,e))}})],t.prototype,"opacity",void 0),L([Object(w.c)({redraw:w.b.MINOR,checkDirtyOnAssignment:!0})],t.prototype,"fillShadow",void 0),t}(x),F=function(){function e(e){var t=e.document,r=void 0===t?window.document:t,o=e.width,n=void 0===o?600:o,i=e.height,a=void 0===i?300:i,s=e.domLayer,l=void 0!==s&&s,c=e.zIndex,u=void 0===c?0:c,p=e.name,d=void 0===p?void 0:p,g=e.overrideDevicePixelRatio,h=void 0===g?void 0:g;this._container=void 0,this._enabled=!0,this._opacity=1,this._pixelRatio=NaN,this._width=0,this._height=0,this.document=r,this.element=r.createElement("canvas"),this.context=this.element.getContext("2d"),this.imageSource=this.context.canvas;var f=this.element.style;f.userSelect="none",f.display="block",l&&(f.position="absolute",f.zIndex=String(u),f.top="0",f.left="0",f.pointerEvents="none",f.opacity="1",d&&(this.element.id=d)),this.setPixelRatio(h),this.resize(n,a)}return Object.defineProperty(e.prototype,"container",{get:function(){return this._container},set:function(e){this._container!==e&&(this.remove(),e&&e.appendChild(this.element),this._container=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this.element.style.display=e?"block":"none",this._enabled=!!e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this._opacity},set:function(e){this.element.style.opacity=""+e,this._opacity=e},enumerable:!0,configurable:!0}),e.prototype.remove=function(){var e=this.element.parentNode;null!=e&&e.removeChild(this.element)},e.prototype.destroy=function(){this.element.remove(),this._canvas=void 0,Object.freeze(this)},e.prototype.snapshot=function(){},e.prototype.clear=function(){this.context.save(),this.context.resetTransform(),this.context.clearRect(0,0,this.width,this.height),this.context.restore()},e.prototype.toImage=function(){var e=this.document.createElement("img");return e.src=this.getDataURL(),e},e.prototype.getDataURL=function(e){return this.element.toDataURL(e)},e.prototype.download=function(e,t){void 0===t&&(t="image/png"),e=(e||"").trim()||"image";var r=this.getDataURL(t),o=this.document,n=o.createElement("a");n.href=r,n.download=e,n.style.display="none",o.body.appendChild(n),n.click(),o.body.removeChild(n)},Object.defineProperty(e.prototype,"pixelRatio",{get:function(){return this._pixelRatio},enumerable:!0,configurable:!0}),e.prototype.setPixelRatio=function(t){var r=t||window.devicePixelRatio;r!==this.pixelRatio&&(e.overrideScale(this.context,r),this._pixelRatio=r,this.resize(this.width,this.height))},Object.defineProperty(e.prototype,"pixelated",{get:function(){return"pixelated"===this.element.style.imageRendering},set:function(e){this.element.style.imageRendering=e?"pixelated":"auto"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){if(e>0&&t>0){var r=this.element,o=this.context,n=this.pixelRatio;r.width=Math.round(e*n),r.height=Math.round(t*n),r.style.width=e+"px",r.style.height=t+"px",o.resetTransform(),this._width=e,this._height=t}},Object.defineProperty(e,"textMeasuringContext",{get:function(){if(this._textMeasuringContext)return this._textMeasuringContext;var e=document.createElement("canvas");return this._textMeasuringContext=e.getContext("2d"),this._textMeasuringContext},enumerable:!0,configurable:!0}),Object.defineProperty(e,"svgText",{get:function(){if(this._svgText)return this._svgText;var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("width","100"),t.setAttribute("height","100"),t.classList?t.classList.add("text-measuring-svg"):t.setAttribute("class","text-measuring-svg"),t.style.position="absolute",t.style.top="-1000px",t.style.visibility="hidden";var r=document.createElementNS(e,"text");return r.setAttribute("x","0"),r.setAttribute("y","30"),r.setAttribute("text","black"),t.appendChild(r),document.body.appendChild(t),this._svgText=r,r},enumerable:!0,configurable:!0}),Object.defineProperty(e,"has",{get:function(){if(this._has)return this._has;var e=navigator.userAgent.indexOf("Chrome")>-1,t=navigator.userAgent.indexOf("Firefox")>-1,r=!e&&navigator.userAgent.indexOf("Safari")>-1;return this._has=Object.freeze({textMetrics:void 0!==this.textMeasuringContext.measureText("test").actualBoundingBoxDescent&&!t&&!r,getTransform:void 0!==this.textMeasuringContext.getTransform}),this._has},enumerable:!0,configurable:!0}),e.measureText=function(e,t,r,o){var n=this.textMeasuringContext;return n.font=t,n.textBaseline=r,n.textAlign=o,n.measureText(e)},e.getTextSize=function(e,t){if(this.has.textMetrics){var r=this.textMeasuringContext;r.font=t;var o=r.measureText(e);return{width:o.width,height:o.actualBoundingBoxAscent+o.actualBoundingBoxDescent}}return this.measureSvgText(e,t)},e.measureSvgText=function(e,t){var r=this.textSizeCache,o=r[t];if(o){var n=o[e];if(n)return n}else r[t]={};var i=this.svgText;i.style.font=t,i.textContent=e;var a=i.getBBox(),s={width:a.width,height:a.height};return r[t][e]=s,s},e.overrideScale=function(e,t){var r=0,o={save:function(){this.$save(),r++},restore:function(){if(!(r>0))throw new Error("Unable to restore() past depth 0");this.$restore(),r--},setTransform:function(e,r,o,n,i,a){"object"==typeof e?this.$setTransform(e):this.$setTransform(e*t,r*t,o*t,n*t,i*t,a*t)},resetTransform:function(){this.$setTransform(t,0,0,t,0,0)}};for(var n in o)o.hasOwnProperty(n)&&(e["$"+n]||(e["$"+n]=e[n]),e[n]=o[n])},e.textSizeCache={},e}(),G=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),j=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function z(e){var t=e||{},r=t.redraw,o=void 0===r?w.b.MAJOR:r,n=t.changeCb;return Object(w.c)({redraw:o,type:"font",changeCb:n})}var B=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.x=0,r.y=0,r.lines=[],r.text="",r._dirtyFont=!0,r.fontSize=10,r.fontFamily="sans-serif",r.textAlign=t.defaultStyles.textAlign,r.textBaseline=t.defaultStyles.textBaseline,r.lineHeight=14,r}return G(t,e),t.prototype._splitText=function(){this.lines="string"==typeof this.text?this.text.split(/\r?\n/g):[]},Object.defineProperty(t.prototype,"font",{get:function(){return this._dirtyFont&&(this._dirtyFont=!1,this._font=V(this.fontSize,this.fontFamily,this.fontStyle,this.fontWeight)),this._font},enumerable:!0,configurable:!0}),t.prototype.computeBBox=function(){return F.has.textMetrics?this.getPreciseBBox():this.getApproximateBBox()},t.prototype.getPreciseBBox=function(){var e=F.measureText(this.text,this.font,this.textBaseline,this.textAlign);return new h(this.x-e.actualBoundingBoxLeft,this.y-e.actualBoundingBoxAscent,e.width,e.actualBoundingBoxAscent+e.actualBoundingBoxDescent)},t.prototype.getApproximateBBox=function(){var e=F.getTextSize(this.text,this.font),t=this.x,r=this.y;switch(this.textAlign){case"end":case"right":t-=e.width;break;case"center":t-=e.width/2}switch(this.textBaseline){case"alphabetic":r-=.7*e.height;break;case"middle":r-=.45*e.height;break;case"ideographic":r-=e.height;break;case"hanging":r-=.2*e.height;break;case"bottom":r-=e.height}return new h(t,r,e.width,e.height)},t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t),o=this.computeBBox();return!!o&&o.containsPoint(r.x,r.y)},t.prototype.render=function(t){var r=t.ctx,o=t.forceRender,n=t.stats;if(this.dirty!==w.b.NONE||o)if(this.lines.length&&this.scene){this.computeTransformMatrix(),this.matrix.toContext(r);var i=this.fill,a=this.stroke,s=this.strokeWidth;r.font=this.font,r.textAlign=this.textAlign,r.textBaseline=this.textBaseline;var l=this.scene.canvas.pixelRatio||1,c=r.globalAlpha;if(i){r.fillStyle=i,r.globalAlpha=c*this.opacity*this.fillOpacity;var u=this.fillShadow,p=this.text,d=this.x,g=this.y;u&&u.enabled&&(r.shadowColor=u.color,r.shadowOffsetX=u.xOffset*l,r.shadowOffsetY=u.yOffset*l,r.shadowBlur=u.blur*l),r.fillText(p,d,g)}if(a&&s){r.strokeStyle=a,r.lineWidth=s,r.globalAlpha=c*this.opacity*this.strokeOpacity;var h=this,f=h.lineDash,v=h.lineDashOffset,y=h.lineCap,m=h.lineJoin;p=h.text,d=h.x,g=h.y;f&&r.setLineDash(f),v&&(r.lineDashOffset=v),y&&(r.lineCap=y),m&&(r.lineJoin=m),r.strokeText(p,d,g)}e.prototype.render.call(this,t)}else n&&(n.nodesSkipped+=this.nodeCount.count);else n&&(n.nodesSkipped+=this.nodeCount.count)},t.className="Text",t.defaultStyles=R(k.defaultStyles,{textAlign:"start",fontStyle:void 0,fontWeight:void 0,fontSize:10,fontFamily:"sans-serif",textBaseline:"alphabetic"}),j([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"x",void 0),j([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"y",void 0),j([Object(w.c)({redraw:w.b.MAJOR,changeCb:function(e){return e._splitText()}})],t.prototype,"text",void 0),j([z()],t.prototype,"fontStyle",void 0),j([z()],t.prototype,"fontWeight",void 0),j([z()],t.prototype,"fontSize",void 0),j([z()],t.prototype,"fontFamily",void 0),j([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"textAlign",void 0),j([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"textBaseline",void 0),j([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"lineHeight",void 0),t}(k);function V(e,t,r,o){return[r||"",o||"",e+"px",t].join(" ").trim()}var W=function(){function e(){this.allPropertyListeners=new Map,this.allEventListeners=new Map}return e.prototype.addPropertyListener=function(e,t,r){void 0===r&&(r=this);var o=this.allPropertyListeners,n=o.get(e);if(n||(n=new Map,o.set(e,n)),!n.has(t)){var i=new Set;n.set(t,i)}var a=n.get(t);a&&a.add(r)},e.prototype.removePropertyListener=function(e,t,r){void 0===r&&(r=this);var o=this.allPropertyListeners.get(e);if(o)if(t){var n=o.get(t);n&&(n.delete(r),n.size||o.delete(t))}else o.clear()},e.prototype.notifyPropertyListeners=function(e,t,r){var o=this,n=this.allPropertyListeners.get(e);n&&n.forEach((function(n,i){n.forEach((function(n){return i.call(n,{type:e,source:o,value:r,oldValue:t})}))}))},e.prototype.addEventListener=function(e,t,r){void 0===r&&(r=this);var o=this.allEventListeners,n=o.get(e);if(n||(n=new Map,o.set(e,n)),!n.has(t)){var i=new Set;n.set(t,i)}var a=n.get(t);a&&a.add(r)},e.prototype.removeEventListener=function(e,t,r){void 0===r&&(r=this);var o=this.allEventListeners.get(e);if(o)if(t){var n=o.get(t);n&&(n.delete(r),n.size||o.delete(t))}else o.clear()},e.prototype.clearEventListeners=function(){this.allEventListeners=new Map},e.prototype.notifyEventListeners=function(e){var t=this,r=this.allEventListeners;e.forEach((function(e){var o=r.get(e);o&&o.forEach((function(r,o){r.forEach((function(r){return o.call(r,{type:e,source:t})}))}))}))},e.prototype.fireEvent=function(e){var t=this.allEventListeners.get(e.type);if(t){var r=Object.assign(e,{source:this});t.forEach((function(e,t){e.forEach((function(e){return t.call(e,r)}))}))}},e.privateKeyPrefix="_",e}(),H=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},U=function(){function e(e,t,r,o){void 0===o&&(o=1),this.r=Math.min(1,Math.max(0,e||0)),this.g=Math.min(1,Math.max(0,t||0)),this.b=Math.min(1,Math.max(0,r||0)),this.a=Math.min(1,Math.max(0,o||0))}return e.validColorString=function(t){return t.indexOf("#")>=0?!!e.parseHex(t):t.indexOf("rgb")>=0?!!e.stringToRgba(t):!!e.nameToHex[t.toLowerCase()]},e.fromString=function(t){if(t.indexOf("#")>=0)return e.fromHexString(t);var r=e.nameToHex[t.toLowerCase()];if(r)return e.fromHexString(r);if(t.indexOf("rgb")>=0)return e.fromRgbaString(t);throw new Error("Invalid color string: '"+t+"'")},e.parseHex=function(e){var t,r;switch((e=e.replace(/ /g,"").slice(1)).length){case 6:case 8:r=[];for(var o=0;o<e.length;o+=2)r.push(parseInt(""+e[o]+e[o+1],16));break;case 3:case 4:r=e.split("").map((function(e){return parseInt(e,16)})).map((function(e){return e+16*e}))}if((null===(t=r)||void 0===t?void 0:t.length)>=3&&r.every((function(e){return e>=0})))return 3===r.length&&r.push(255),r},e.fromHexString=function(t){var r=e.parseHex(t);if(r){var o=H(r,4);return new e(o[0]/255,o[1]/255,o[2]/255,o[3]/255)}throw new Error("Malformed hexadecimal color string: '"+t+"'")},e.stringToRgba=function(e){for(var t=H([NaN,NaN],2),r=t[0],o=t[1],n=0;n<e.length;n++){var i=e[n];if(r||"("!==i){if(")"===i){o=n;break}}else r=n}var a=r&&o&&e.substring(r+1,o);if(a){var s=a.split(","),l=[];for(n=0;n<s.length;n++){var c=s[n],u=parseFloat(c);if(isNaN(u))return;c.indexOf("%")>=0?(u=Math.max(0,Math.min(100,u)),u/=100):3===n?u=Math.max(0,Math.min(1,u)):(u=Math.max(0,Math.min(255,u)),u/=255),l.push(u)}return l}},e.fromRgbaString=function(t){var r=e.stringToRgba(t);if(r){if(3===r.length)return new e(r[0],r[1],r[2]);if(4===r.length)return new e(r[0],r[1],r[2],r[3])}throw new Error("Malformed rgb/rgba color string: '"+t+"'")},e.fromArray=function(t){if(4===t.length)return new e(t[0],t[1],t[2],t[3]);if(3===t.length)return new e(t[0],t[1],t[2]);throw new Error("The given array should contain 3 or 4 color components (numbers).")},e.fromHSB=function(t,r,o,n){void 0===n&&(n=1);var i=e.HSBtoRGB(t,r,o);return new e(i[0],i[1],i[2],n)},e.padHex=function(e){return 1===e.length?"0"+e:e},e.prototype.toHexString=function(){var t="#"+e.padHex(Math.round(255*this.r).toString(16))+e.padHex(Math.round(255*this.g).toString(16))+e.padHex(Math.round(255*this.b).toString(16));return this.a<1&&(t+=e.padHex(Math.round(255*this.a).toString(16))),t},e.prototype.toRgbaString=function(e){void 0===e&&(e=3);var t=[Math.round(255*this.r),Math.round(255*this.g),Math.round(255*this.b)],r=Math.pow(10,e);return 1!==this.a?(t.push(Math.round(this.a*r)/r),"rgba("+t.join(", ")+")"):"rgb("+t.join(", ")+")"},e.prototype.toString=function(){return 1===this.a?this.toHexString():this.toRgbaString()},e.prototype.toHSB=function(){return e.RGBtoHSB(this.r,this.g,this.b)},e.RGBtoHSB=function(e,t,r){var o=Math.min(e,t,r),n=Math.max(e,t,r),i=NaN;if(o!==n){var a=n-o,s=(n-e)/a,l=(n-t)/a,c=(n-r)/a;i=e===n?c-l:t===n?2+s-c:4+l-s,(i/=6)<0&&(i+=1)}return[360*i,0!==n?(n-o)/n:0,n]},e.HSBtoRGB=function(e,t,r){isNaN(e)&&(e=0),e=(e%360+360)%360/360;var o=0,n=0,i=0;if(0===t)o=n=i=r;else{var a=6*(e-Math.floor(e)),s=a-Math.floor(a),l=r*(1-t),c=r*(1-t*s),u=r*(1-t*(1-s));switch(a>>0){case 0:o=r,n=u,i=l;break;case 1:o=c,n=r,i=l;break;case 2:o=l,n=r,i=u;break;case 3:o=l,n=c,i=r;break;case 4:o=u,n=l,i=r;break;case 5:o=r,n=l,i=c}}return[o,n,i]},e.prototype.derive=function(t,r,o,n){var i=e.RGBtoHSB(this.r,this.g,this.b),a=i[2];0==a&&o>1&&(a=.05);var s=((i[0]+t)%360+360)%360,l=Math.max(Math.min(i[1]*r,1),0);a=Math.max(Math.min(a*o,1),0);var c=Math.max(Math.min(this.a*n,1),0),u=e.HSBtoRGB(s,l,a);return u.push(c),e.fromArray(u)},e.prototype.brighter=function(){return this.derive(0,1,1/.7,1)},e.prototype.darker=function(){return this.derive(0,1,.7,1)},e.nameToHex=Object.freeze({aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",transparent:"#00000000",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"}),e}();function K(e){return function(t,r){var o,n,i="__"+r,a=Object.getOwnPropertyDescriptor(t,r);n=null===(o=a)||void 0===o?void 0:o.set;Object.defineProperty(t,r,{set:function(o){var a,s,l,c;if(e(o,{target:this}))n?n.call(this,o):this[i]=o;else{var u=r.replace(/^_*/,""),p=null!=(s=null===(a=t.constructor)||void 0===a?void 0:a.className)?s:null===(l=t.constructor)||void 0===l?void 0:l.name;(null===(c=p)||void 0===c?void 0:c.length)<3&&(p=null),e.message?console.warn("AG Charts - Property ["+u+"] "+(p?"of ["+p+"] ":"")+"cannot be set to ["+JSON.stringify(o)+"]; "+e.message+", ignoring."):console.warn("AG Charts - Property ["+u+"] "+(p?"of ["+p+"] ":"")+"cannot be set to ["+JSON.stringify(o)+"], ignoring.")}},get:function(){return this[i]},enumerable:!0,configurable:!1})}}function Y(e,t){return e.message=t,e}var X=function(e,t,r){return void 0===e||r(e,t)},q=function(e,t){return Y((function(r,o){return Array.isArray(r)&&(!e||r.length===e)&&(!t||r.every((function(e){return t(e,o)})))}),"expecting an Array")},Q=function(e){return Y((function(t,r){return X(t,r,q(e))}),"expecting an optional Array")},Z=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Y((function(t,r){return e.every((function(e){return e(t,r)}))}),e.map((function(e){return e.message})).filter((function(e){return null!=e})).join(" AND "))},J=function(e){return null!=e&&!isNaN(e)},$=function(e){return Y((function(t,r){return!J(t)||!J(r.target[e])||t<r.target[e]}),"expected to be less than "+e)},ee=function(e){return Y((function(t,r){return!J(t)||!J(r.target[e])||t>r.target[e]}),"expected to be greater than "+e)},te=Y((function(e){return"function"==typeof e}),"expecting a Function"),re=Y((function(e,t){return X(e,t,te)}),"expecting an optional Function"),oe=Y((function(e){return!0===e||!1===e}),"expecting a Boolean"),ne=Y((function(e,t){return X(e,t,oe)}),"expecting an optional Boolean"),ie=Y((function(e){return"string"==typeof e}),"expecting a String"),ae=Y((function(e,t){return X(e,t,ie)}),"expecting an optional String"),se=Y((function(e){return e instanceof Date&&!isNaN(+e)}),"expecting a Date object"),le=Y((function(e,t){return X(e,t,se)}),"expecting an optional Date"),ce=(Y(q(void 0,se),"expecting an Array of Date objects"),fe(0)),ue=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Y((function(t,r){return e.some((function(e){return e(t,r)}))}),e.map((function(e){return e.message})).filter((function(e){return null!=e})).join(" OR "))}(le,Y((function(e,t){return X(e,t,ce)}),"expecting an optional number")),pe="A color string can be in one of the following formats to be valid: #rgb, #rrggbb, rgb(r, g, b), rgba(r, g, b, a) or a CSS color name such as 'white', 'orange', 'cyan', etc",de=Y((function(e){return"string"==typeof e&&U.validColorString(e)}),"expecting a color String. "+pe),ge=Y((function(e,t){return X(e,t,de)}),"expecting an optional color String. "+pe),he=Y(q(void 0,de),"expecting an Array of color strings. "+pe);Y((function(e,t){return X(e,t,he)}),"expecting an optional Array of color strings. "+pe);function fe(e,t){return Y((function(r){return"number"==typeof r&&Number.isFinite(r)&&(void 0===e||r>=e)&&(void 0===t||r<=t)}),"expecting a finite Number"+(void 0!==e?", more than or equal to "+e:"")+(void 0!==t?", less than or equal to "+t:""))}function ve(e,t){return Y((function(r,o){return X(r,o,fe(e,t))}),"expecting an optional finite Number"+(void 0!==e?", more than or equal to "+e:"")+(void 0!==t?", less than or equal to "+t:""))}var ye=Y(q(void 0,fe()),"expecting an Array of numbers"),me=Y((function(e,t){return X(e,t,ye)}),"expecting an optional Array of numbers"),be=Y(q(void 0,ie),"expecting an Array of strings"),we=(Y((function(e,t){return X(e,t,be)}),"expecting an optional Array of strings"),Y(q(void 0,oe),"expecting an Array of boolean values")),Ce=(Y((function(e,t){return X(e,t,we)}),"expecting an optional Array of boolean values"),["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"]),Oe=Y((function(e){return"normal"===e||"italic"===e||"oblique"===e}),"expecting a font style keyword such as 'normal', 'italic' or 'oblique'"),Se=Y((function(e,t){return X(e,t,Oe)}),"expecting an optional font style keyword such as 'normal', 'italic' or 'oblique'"),Ee=Y((function(e){return Ce.includes(e)}),"expecting a font weight keyword such as 'normal', 'bold' or 'bolder' or a numeric value such as 100, 300 or 600"),xe=Y((function(e,t){return X(e,t,Ee)}),"expecting an optional font weight keyword such as 'normal', 'bold' or 'bolder' or a numeric value such as 100, 300 or 600"),Re=Y(q(void 0,fe(0)),"expecting an Array of numbers specifying the length in pixels of alternating dashes and gaps, for example, [6, 3] means dashes with a length of 6 pixels with gaps between of 3 pixels."),Te=Y((function(e,t){return X(e,t,Re)}),"expecting an optional Array of numbers specifying the length in pixels of alternating dashes and gaps, for example, [6, 3] means dashes with a length of 6 pixels with gaps between of 3 pixels."),Ae=["butt","round","square"],Pe=Y((function(e){return Ae.includes(e)}),"expecting a line cap keyword such as 'butt', 'round' or 'square'"),_e=(Y((function(e,t){return X(e,t,Pe)}),"expecting an optional line cap keyword such as 'butt', 'round' or 'square'"),["round","bevel","miter"]),De=Y((function(e){return _e.includes(e)}),"expecting a line join keyword such as 'round', 'bevel' or 'miter'"),Me=(Y((function(e,t){return X(e,t,De)}),"expecting an optional line join keyword such as 'round', 'bevel' or 'miter'"),["top","right","bottom","left"]),Ne=Y((function(e){return Me.includes(e)}),"expecting a position keyword such as 'top', 'right', 'bottom' or 'left"),Ie=function(e){var t=e.sceneChangeDetectionOpts,r=e.validatePredicate,o=Object(w.c)(t),n=K(r);return function(e,t){o(e,t),n(e,t)}},Le=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ke=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Fe=function(e){function t(){var t=e.call(this)||this;t.node=new B,t.enabled=!1,t._text="",t._fontSize=10,t._fontFamily="sans-serif";var r=t.node;return r.textAlign="center",r.textBaseline="top",r.pointerEvents=b.None,t}return Le(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e,this.node.text=this._text},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontStyle",{get:function(){return this._fontStyle},set:function(e){this._fontStyle=e,this.node.fontStyle=this._fontStyle},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontWeight",{get:function(){return this._fontWeight},set:function(e){this._fontWeight=e,this.node.fontWeight=this._fontWeight},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSize",{get:function(){return this._fontSize},set:function(e){this._fontSize=e,this.node.fontSize=this._fontSize},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontFamily",{get:function(){return this._fontFamily},set:function(e){this._fontFamily=e,this.node.fontFamily=this._fontFamily},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e,this.node.fill=this._color},enumerable:!0,configurable:!0}),t.PADDING=10,ke([K(oe)],t.prototype,"enabled",void 0),ke([K(ie)],t.prototype,"_text",void 0),ke([K(Se)],t.prototype,"_fontStyle",void 0),ke([K(xe)],t.prototype,"_fontWeight",void 0),ke([K(fe(0))],t.prototype,"_fontSize",void 0),ke([K(ie)],t.prototype,"_fontFamily",void 0),ke([K(ge)],t.prototype,"_color",void 0),t}(W),Ge=function(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}},je=function(e,t){if("string"==typeof e)try{e=U.fromString(e)}catch(t){e=U.fromArray([0,0,0])}if("string"==typeof t)try{t=U.fromString(t)}catch(e){t=U.fromArray([0,0,0])}var r=Ge(e.r,t.r),o=Ge(e.g,t.g),n=Ge(e.b,t.b),i=Ge(e.a,t.a);return function(e){return U.fromArray([r(e),o(e),n(e),i(e)]).toRgbaString()}},ze=function(e,t){var r,o,n=typeof t;if(null==t||"boolean"===n)return o=t,function(){return o};if("number"===n)return Ge(e,t);if("string"===n)try{return r=U.fromString(t),je(e,t=r)}catch(e){}return t instanceof U?je(e,t):t instanceof Date?function(e,t){var r=new Date,o=+e,n=+t;return function(e){return r.setTime(o*(1-e)+n*e),r}}(e,t):Array.isArray(t)?function(e,t){var r,o=t?t.length:0,n=e?Math.min(o,e.length):0,i=new Array(n),a=new Array(o);for(r=0;r<n;++r)i[r]=ze(e[r],t[r]);for(;r<o;++r)a[r]=t[r];return function(e){for(r=0;r<n;++r)a[r]=i[r](e);return a}}(e,t):"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,o={},n={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?o[r]=ze(e[r],t[r]):n[r]=t[r];return function(e){for(r in o)n[r]=o[r](e);return n}}(e,t):Ge(e,t)};function Be(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Ve(e,t){var r=0;return"number"==typeof e&&"number"==typeof t?r=e-t:"string"==typeof e&&"string"==typeof t?r=e.localeCompare(t):null==e&&null==t||(r=null==e?-1:null==t?1:String(e).localeCompare(String(t))),r}function We(e,t,r){for(var o in e){var n=r(e[o],t[o]);if(0!==n)return n}return 0}function He(e,t,r,o,n){void 0===o&&(o=0),void 0===n&&(n=e.length);for(var i=function(e){return function(t,r){return Be(e(t),r)}}(r);o<n;){var a=o+n>>>1;i(e[a],t)<0?o=a+1:n=a}return o}var Ue=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Ke=function(e){return e};function Ye(e){var t,r=e[0],o=e[e.length-1];return r>o&&(t=Ue([o,r],2),r=t[0],o=t[1]),function(e){return Math.max(r,Math.min(o,e))}}function Xe(e){var t,r=e[0],o=e[e.length-1];return r>o&&(t=Ue([o,r],2),r=t[0],o=t[1]),function(e){return e>=r&&e<=o?e:NaN}}var qe=function(){function e(){this.unknown=void 0,this.clamper=Ye,this._clamp=Ke,this._domain=[0,1],this._range=[0,1],this.transform=Ke,this.untransform=Ke,this._interpolate=ze,this.rescale()}return Object.defineProperty(e.prototype,"clamp",{get:function(){return this._clamp!==Ke},set:function(e){this._clamp=e?this.clamper(this.domain):Ke},enumerable:!0,configurable:!0}),e.prototype.setDomain=function(e){this._domain=e.map((function(e){return+e})),this._clamp!==Ke&&(this._clamp=this.clamper(this.domain)),this.rescale()},e.prototype.getDomain=function(){return this._domain.slice()},Object.defineProperty(e.prototype,"domain",{get:function(){return this.getDomain()},set:function(e){this.setDomain(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return this._range.slice()},set:function(e){this._range=e.slice(),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"interpolate",{get:function(){return this._interpolate},set:function(e){this._interpolate=e,this.rescale()},enumerable:!0,configurable:!0}),e.prototype.rescale=function(){Math.min(this.domain.length,this.range.length)>2?this.piecewise=this.polymap:this.piecewise=this.bimap,this.output=void 0,this.input=void 0},e.prototype.normalize=function(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r});var r},e.prototype.bimap=function(e,t,r){var o,n,i=e[0],a=e[1],s=t[0],l=t[1];return a<i?(o=this.normalize(a,i),n=r(l,s)):(o=this.normalize(i,a),n=r(s,l)),function(e){return n(o(e))}},e.prototype.polymap=function(e,t,r){var o=this,n=Math.min(e.length,t.length)-1;e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());var i=Array.from({length:n},(function(t,r){return o.normalize(e[r],e[r+1])})),a=Array.from({length:n},(function(e,o){return r(t[o],t[o+1])}));return function(t){var r=function(e,t,r,o,n){for(void 0===o&&(o=0),void 0===n&&(n=e.length);o<n;){var i=o+n>>>1;r(e[i],t)>0?n=i:o=i+1}return o}(e,t,Be,1,n)-1;return a[r](i[r](t))}},e.prototype.convert=function(e,t){if(e=+e,isNaN(e))return this.unknown;this.output||(this.output=this.piecewise(this.domain.map(this.transform),this.range,this.interpolate));var r=t?t(this.domain):this._clamp;return this.output(this.transform(r(e)))},e.prototype.invert=function(e){return this.input||(this.input=this.piecewise(this.range,this.domain.map(this.transform),Ge)),this._clamp(this.untransform(this.input(e)))},e}(),Qe=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ze=function(e,t,r){var o=tt(e,t,r);return function(e,t,r){void 0===r&&(r=1);for(var o=Math.abs(r),n=o>0&&o<1?Math.abs(Math.floor(Math.log(o)/Math.LN10)):0,i=Math.pow(10,n),a=Math.max(0,Math.ceil((t-e)/r))||0,s=new ot(n),l=0;l<a;l++){var c=e+r*l;s[l]=Math.round(c*i)/i}return s}(e=Math.ceil(e/o)*o,t=Math.floor(t/o)*o+o/2,o)},Je=Math.sqrt(50),$e=Math.sqrt(10),et=Math.sqrt(2);function tt(e,t,r){var o=Math.abs(t-e)/Math.max(0,r),n=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),i=o/n;return i>=Je?n*=10:i>=$e?n*=5:i>=et&&(n*=2),t<e?-n:n}function rt(e,t,r){var o=(t-e)/Math.max(0,r),n=Math.floor(Math.log(o)/Math.LN10),i=o/Math.pow(10,n);return n>=0?(i>=Je?10:i>=$e?5:i>=et?2:1)*Math.pow(10,n):-Math.pow(10,-n)/(i>=Je?10:i>=$e?5:i>=et?2:1)}var ot=function(e){function t(t,r){var o=e.call(this)||this;if(r)for(var n=0,i=r.length;n<i;n++)o[n]=r[n];return o.fractionDigits=t,o}return Qe(t,e),t}(Array);var nt,it,at,st,lt={"":function(e,t){for(var r=e.toPrecision(t),o=-1,n=0,i=!1,a=r.length,s=1;!i&&s<a;++s)switch(r[s]){case".":o=n=s;break;case"0":0===o&&(o=s),n=s;break;case"e":i=!0;break;default:o>0&&(o=0)}return o>0?r.slice(0,o)+r.slice(n+1):r},"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return String(e)},d:function(e){return e=Math.round(e),Math.abs(e)>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return ft(100*e,t)},r:ft,s:function(e,t){void 0===t&&(t=0);var r=vt(e,t);if(!r)return String(e);var o=r[0],n=r[1];nt=3*Math.max(-8,Math.min(8,Math.floor(n/3)));var i=n-nt+1,a=o.length;if(i===a)return o;if(i>a)return o+new Array(i-a+1).join("0");if(i>0)return o.slice(0,i)+"."+o.slice(i);var s=vt(e,Math.max(0,t+i-1));return"0."+new Array(1-i).join("0")+s[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},ct=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],ut=function e(t){t instanceof e?(this.fill=t.fill,this.align=t.align,this.sign=t.sign,this.symbol=t.symbol,this.zero=t.zero,this.width=t.width,this.comma=t.comma,this.precision=t.precision,this.trim=t.trim,this.type=t.type,this.string=t.string):(this.fill=void 0===t.fill?" ":String(t.fill),this.align=void 0===t.align?">":String(t.align),this.sign=void 0===t.sign?"-":String(t.sign),this.symbol=void 0===t.symbol?"":String(t.symbol),this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":String(t.type),this.string=t.string)},pt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i,dt=/(#\{(.*?)\})/g;function gt(e){if(e instanceof ut)return new ut(e);var t=!1,r=e.replace(dt,(function(){return t||(e=arguments[2],t=!0),"#{}"})),o=pt.exec(e);if(!o)throw new Error("Invalid format: "+e);return new ut({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&o[8].slice(1),trim:o[9],type:o[10],string:t?r:void 0})}function ht(e,t,r,o){var n,i=tt(e,t,r),a=gt(null==o?",f":o);switch(a.type){case"s":var s=Math.max(Math.abs(e),Math.abs(t));return null==a.precision&&(n=function(e,t){var r=Math.floor(mt(t)/3);return r=Math.min(8,r),r=Math.max(-8,r),Math.max(0,3*r-mt(Math.abs(e)))}(i,s),isNaN(n)||(a.precision=n)),st(a,s);case"":case"e":case"g":case"p":case"r":null==a.precision&&(n=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,mt(t)-mt(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))),isNaN(n)||(a.precision=n-+("e"===a.type)));break;case"f":case"%":null==a.precision&&(n=function(e){return Math.max(0,-mt(Math.abs(e)))}(i),isNaN(n)||(a.precision=n-2*+("%"===a.type)))}return at(a)}function ft(e,t){var r=vt(e,t);if(!r)return String(e);var o=r[0],n=r[1];return n<0?"0."+new Array(-n).join("0")+o:o.length>n+1?o.slice(0,n+1)+"."+o.slice(n+1):o+new Array(n-o.length+2).join("0")}function vt(e,t){var r=t?e.toExponential(t-1):e.toExponential(),o=r.indexOf("e");if(!(o<0)){var n=r.slice(0,o);return[n.length>1?n[0]+n.slice(2):n,+r.slice(o+1)]}}function yt(e){return e}function mt(e){var t=vt(Math.abs(e));return t?t[1]:NaN}it=function(e){var t,r,o=void 0===e.grouping||void 0===e.thousands?yt:(t=e.grouping.map(Number),r=String(e.thousands),function(e,o){for(var n=[],i=e.length,a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>o&&(s=Math.max(1,o-l)),i-=s,n.push(e.substring(i,i+s)),!((l+=s+1)>o));)a=(a+1)%t.length,s=t[a];return n.reverse(),n.join(r)}),n=void 0===e.currency?"":String(e.currency[0]),i=void 0===e.currency?"":String(e.currency[1]),a=void 0===e.decimal?".":String(e.decimal),s=void 0===e.numerals?yt:function(e){return function(t){return t.replace(/\d/g,(function(t){return e[+t]}))}}(e.numerals.map(String)),l=void 0===e.percent?"%":String(e.percent),c=void 0===e.minus?"−":String(e.minus),u=void 0===e.nan?"NaN":String(e.nan);function p(e){var t=gt(e),r=t.fill,p=t.align,d=t.sign,g=t.symbol,h=t.zero,f=t.width,v=t.comma,y=t.precision,m=t.trim,b=t.type;"n"===b?(v=!0,b="g"):lt[b]||(void 0===y&&(y=12),m=!0,b="g"),(h||"0"===r&&"="===p)&&(h=!0,r="0",p="=");var w="$"===g?n:"#"===g&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",C="$"===g?i:/[%p]/.test(b)?l:"",O=lt[b],S=/[defgprs%]/.test(b);return y=void 0===y?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),function(e){var n,i=w,l=C;if("c"===b)l=O(+e)+l,n="";else{var g=+e,E=e<0||1/g<0;if(n=isNaN(g)?u:O(Math.abs(g),y),m&&(n=function(e){for(var t=-1,r=0,o=!1,n=e.length,i=1;!o&&i<n;++i)switch(e[i]){case".":t=r=i;break;case"0":0===t&&(t=i),r=i;break;default:if(!+e[i]){o=!0;break}t>0&&(t=0)}return t>0?e.slice(0,t)+e.slice(r+1):e}(n)),E&&0==+n&&"+"!==d&&(E=!1),i=(E?"("===d?d:c:"-"===d||"("===d?"":d)+i,l=("s"===b?ct[8+nt/3]:"")+l+(E&&"("===d?")":""),S)for(var x=0,R=n.length;x<R;x++){var T=n.charCodeAt(x);if(48>T||T>57){l=(46===T?a+n.slice(x+1):n.slice(x))+l,n=n.slice(0,x);break}}}v&&!h&&(n=o(n,1/0));var A=i.length+n.length+l.length,P=A<f?new Array(f-A+1).join(r):"";switch(v&&h&&(n=o(P+n,P.length?f-l.length:1/0),P=""),p){case"<":n=i+n+l+P;break;case"=":n=i+P+n+l;break;case"^":n=P.slice(0,A=P.length>>1)+i+n+l+P.slice(A);break;default:n=P+i+n+l}var _=t.string;return _?_.replace(dt,(function(){return s(n)})):s(n)}}return{format:p,formatPrefix:function(e,t){var r=gt(e);r.type="f";var o=p(r),n=3*Math.max(-8,Math.min(8,Math.floor(mt(t)/3))),i=Math.pow(10,-n),a=ct[8+n/3];return function(e){return o(i*+e)+a}}}}({thousands:",",grouping:[3],currency:["$",""]}),at=it.format,st=it.formatPrefix;var bt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),wt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="linear",t}return bt(t,e),t.prototype.ticks=function(e,t){void 0===e&&(e=10);var r=this._domain;return e=Math.max(0,e-(null!=t?t:0)),Ze(r[0],r[r.length-1],e)},t.prototype.nice=function(e){void 0===e&&(e=10);var t,r=this.domain,o=0,n=r.length-1,i=r[o],a=r[n];a<i&&(t=i,i=a,a=t,t=o,o=n,n=t),(t=rt(i,a,e))>0?t=rt(i=Math.floor(i/t)*t,a=Math.ceil(a/t)*t,e):t<0&&(t=rt(i=Math.ceil(i*t)/t,a=Math.floor(a*t)/t,e)),t>0?(r[o]=Math.floor(i/t)*t,r[n]=Math.ceil(a/t)*t,this.domain=r):t<0&&(r[o]=Math.ceil(i*t)/t,r[n]=Math.floor(a*t)/t,this.domain=r)},t.prototype.tickFormat=function(e){var t=e.count,r=e.specifier,o=this.domain;return ht(o[0],o[o.length-1],null==t?10:t,r)},t}(qe),Ct=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Ot(e,t){for(var r=0;r<e.length;r++){var o=e[r];if(t(o,r,e))return o}}function St(e){return e}function Et(e,t,r){for(var o,n,i,a=r||St,s=e.length,l=-1;++l<s;)if(t(o=e[l]))for(n=i=o;++l<s;)t(o=e[l])&&(n>o&&(n=o),i<o&&(i=o));return void 0===n||void 0===i?void 0:[a(n),a(i)]}function xt(e){return"number"==typeof e&&Number.isFinite(e)}function Rt(e){return xt(e)||function(e){return!!e&&e.hasOwnProperty("valueOf")&&xt(e.valueOf())}(e)}function Tt(e){return"string"==typeof e}function At(e){return Tt(e)||function(e){return!!e&&e.hasOwnProperty("toString")&&Tt(e.toString())}(e)}function Pt(e){return Rt(e)||function(e){return e instanceof Date&&!isNaN(+e)}(e)}function _t(e,t){return t&&Pt(e)?e:t?void 0:At(e)?e:String(e)}var Dt=Math.sign?Math.sign:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1};function Mt(e,t,r,o){if(0===e)return function(e,t,r){if(0===e)return function(e,t){var r=-t/e;return 0!==e&&r>=0&&r<=1?[r]:[]}(t,r);var o=t*t-4*e*r,n=[];if(0===o){var i=-t/(2*e);i>=0&&i<=1&&n.push(i)}else if(o>0){var a=Math.sqrt(o),s=(-t-a)/(2*e),l=(-t+a)/(2*e);s>=0&&s<=1&&n.push(s),l>=0&&l<=1&&n.push(l)}return n}(t,r,o);var n=t/e,i=r/e,a=(3*i-n*n)/9,s=(9*n*i-27*(o/e)-2*n*n*n)/54,l=a*a*a+s*s,c=[];if(l>=0){var u=Math.sqrt(l),p=Dt(s+u)*Math.pow(Math.abs(s+u),1/3),d=Dt(s-u)*Math.pow(Math.abs(s-u),1/3),g=Math.abs(Math.sqrt(3)*(p-d)/2),h=-1/3*n+(p+d);if(h>=0&&h<=1&&c.push(h),0===g){var f=-1/3*n-(p+d)/2;f>=0&&f<=1&&c.push(f)}}else{var v=Math.acos(s/Math.sqrt(-a*a*a)),y=1/3*n,m=2*Math.sqrt(-a),b=m*Math.cos(1/3*v)-y,w=m*Math.cos(1/3*(v+2*Math.PI))-y,C=m*Math.cos(1/3*(v+4*Math.PI))-y;b>=0&&b<=1&&c.push(b),w>=0&&w<=1&&c.push(w),C>=0&&C<=1&&c.push(C)}return c}var Nt=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function It(e,t,r,o,n,i,a,s){var l=(r-e)*(s-i)-(o-t)*(a-n);if(0===l)return null;var c=((a-n)*(t-i)-(e-n)*(s-i))/l,u=((r-e)*(t-i)-(o-t)*(e-n))/l;return c>=0&&c<=1&&u>=0&&u<=1?{x:e+c*(r-e),y:t+c*(o-t)}:null}function Lt(e,t,r,o,n,i,a,s,l,c,u,p){var d,g,h=[],f=c-p,v=u-l,y=l*(p-c)-c*(u-l),m=kt(e,r,n,a),b=kt(t,o,i,s),w=Mt(f*m[0]+v*b[0],f*m[1]+v*b[1],f*m[2]+v*b[2],f*m[3]+v*b[3]+y);try{for(var C=Nt(w),O=C.next();!O.done;O=C.next()){var S=O.value,E=S*S,x=S*E,R=m[0]*x+m[1]*E+m[2]*S+m[3],T=b[0]*x+b[1]*E+b[2]*S+b[3],A=void 0;(A=l!==u?(R-l)/(u-l):(T-c)/(p-c))>=0&&A<=1&&h.push({x:R,y:T})}}catch(e){d={error:e}}finally{try{O&&!O.done&&(g=C.return)&&g.call(C)}finally{if(d)throw d.error}}return h}function kt(e,t,r,o){return[3*t-e-3*r+o,3*e-6*t+3*r,-3*e+3*t,e]}var Ft=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Gt=function(){function e(){this.previousCommands=[],this.previousParams=[],this.previousClosedPath=!1,this.commands=[],this.params=[],this._closedPath=!1}return e.prototype.isDirty=function(){if(this._closedPath!==this.previousClosedPath)return!0;if(this.previousCommands.length!==this.commands.length)return!0;if(this.previousParams.length!==this.params.length)return!0;for(var e=0;e<this.commands.length;e++)if(this.commands[e]!==this.previousCommands[e])return!0;for(e=0;e<this.params.length;e++)if(this.params[e]!==this.previousParams[e])return!0;return!1},e.prototype.draw=function(e){var t,r,o=this.commands,n=this.params,i=0;e.beginPath();try{for(var a=Ft(o),s=a.next();!s.done;s=a.next()){switch(s.value){case"M":e.moveTo(n[i++],n[i++]);break;case"L":e.lineTo(n[i++],n[i++]);break;case"C":e.bezierCurveTo(n[i++],n[i++],n[i++],n[i++],n[i++],n[i++]);break;case"Z":e.closePath()}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}0===o.length&&e.closePath()},e.prototype.moveTo=function(e,t){this.xy?(this.xy[0]=e,this.xy[1]=t):this.xy=[e,t],this.commands.push("M"),this.params.push(e,t)},e.prototype.lineTo=function(e,t){this.xy?(this.commands.push("L"),this.params.push(e,t),this.xy[0]=e,this.xy[1]=t):this.moveTo(e,t)},e.prototype.rect=function(e,t,r,o){this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+o),this.lineTo(e,t+o),this.closePath()},e.prototype.arcTo=function(e,t,r,o,n,i,a){var s=this.xy;if(s){e<0&&(e=-e),t<0&&(t=-t);var l=s[0],c=s[1],u=(l-i)/2,p=(c-a)/2,d=Math.sin(r),g=Math.cos(r),h=g*u+d*p,f=-d*u+g*p,v=h/e,y=f/t,m=v*v+y*y,b=(l+i)/2,w=(c+a)/2,C=0,O=0;m>=1?(e*=m=Math.sqrt(m),t*=m):(m=Math.sqrt(1/m-1),o===n&&(m=-m),b+=g*(C=m*e*y)-d*(O=-m*t*v),w+=d*C+g*O);var S=Math.atan2((f-O)/t,(h-C)/e),E=Math.atan2((-f-O)/t,(-h-C)/e)-S;this.cubicArc(b,w,e,t,r,S,S+E,1-n)}},e.cubicArc=function(e,t,r,o,n,i,a,s,l,c){if(c){var u=s;s=l,l=u}var p=t.length,d=.5522847498307935,g=Math.sin(s),h=Math.cos(s),f=Math.sin(a),v=Math.cos(a),y=Math.PI/2,m=v*h*n-f*g*i,b=f*h*n+v*g*i,w=-v*g*n-f*h*i,C=-f*g*n+v*h*i;for((l-=s)<0&&(l+=2*Math.PI),e.push("M"),t.push(m+r,b+o);l>=y;){l-=y,e.push("C");var O=w+r;t.push(m+w*d+r,b+C*d+o,m*d+w+r,b*d+C+o,Math.abs(O)<1e-8?0:O,C+o);u=m;m=w,w=-u,u=b,b=C,C=-u}if(l){var S=4/3*Math.tan(l/4),E=Math.sin(l),x=Math.cos(l),R=x+S*E,T=E-S*x;e.push("C");O=m*x+w*E+r;t.push(m+w*S+r,b+C*S+o,m*R+w*T+r,b*R+C*T+o,Math.abs(O)<1e-8?0:O,b*x+C*E+o)}if(c)for(var A=p,P=t.length-2;A<P;A+=2,P-=2){u=t[A];t[A]=t[P],t[P]=u,u=t[A+1],t[A+1]=t[P+1],t[P+1]=u}},e.prototype.cubicArc=function(t,r,o,n,i,a,s,l){var c=this.commands,u=this.params,p=c.length;e.cubicArc(c,u,t,r,o,n,i,a,s,l);var d=u[u.length-2],g=u[u.length-1];this.xy?(c[p]="L",this.xy[0]=d,this.xy[1]=g):this.xy=[d,g]},e.prototype.deCasteljau=function(e,t){var r=e.length;if(r<2||r%2==1)throw new Error("Fewer than two points or not an even count.");if(2===r||0===t)return e.slice(0,2);if(1===t)return e.slice(-2);for(var o=[],n=r-2,i=0;i<n;i+=2)o.push((1-t)*e[i]+t*e[i+2],(1-t)*e[i+1]+t*e[i+3]);return this.deCasteljau(o,t)},e.prototype.approximateCurve=function(e,t){var r=this.deCasteljau(e,0);this.moveTo(r[0],r[1]);for(var o=1/t,n=o;n<=1;n+=o){var i=this.deCasteljau(e,n);this.lineTo(i[0],i[1])}},e.prototype.quadraticCurveTo=function(e,t,r,o){this.xy||this.moveTo(e,t),this.cubicCurveTo((this.xy[0]+2*e)/3,(this.xy[1]+2*t)/3,(2*e+r)/3,(2*t+o)/3,r,o)},e.prototype.cubicCurveTo=function(e,t,r,o,n,i){this.xy||this.moveTo(e,t),this.commands.push("C"),this.params.push(e,t,r,o,n,i),this.xy[0]=n,this.xy[1]=i},Object.defineProperty(e.prototype,"closedPath",{get:function(){return this._closedPath},enumerable:!0,configurable:!0}),e.prototype.closePath=function(){this.xy&&(this.xy=void 0,this.commands.push("Z"),this._closedPath=!0)},e.prototype.clear=function(e){(void 0===e?{trackChanges:!1}:e).trackChanges?(this.previousCommands=this.commands,this.previousParams=this.params,this.previousClosedPath=this._closedPath,this.commands=[],this.params=[]):(this.commands.length=0,this.params.length=0),this.xy=void 0,this._closedPath=!1},e.prototype.isPointInPath=function(e,t){for(var r=this.commands,o=this.params,n=r.length,i=-1e4,a=-1e4,s=NaN,l=NaN,c=0,u=0,p=0,d=0,g=0;d<n;d++)switch(r[d]){case"M":isNaN(s)||It(s,l,c,u,i,a,e,t)&&p++,s=c=o[g++],l=u=o[g++];break;case"L":It(c,u,o[g++],o[g++],i,a,e,t)&&p++,c=o[g-2],u=o[g-1];break;case"C":p+=Lt(c,u,o[g++],o[g++],o[g++],o[g++],o[g++],o[g++],i,a,e,t).length,c=o[g-2],u=o[g-1];break;case"Z":isNaN(s)||It(s,l,c,u,i,a,e,t)&&p++}return p%2==1},e.prototype.toCubicPaths=function(){var e,t,r,o,n=[],i=this.params,a=0;return this.commands.forEach((function(s){switch(s){case"M":r=i[a++],o=i[a++],e=r,t=o,n.push([e,t]);break;case"L":var l=i[a++],c=i[a++];(void 0).push((r+r+l)/3,(o+o+c)/3,(r+l+l)/3,(o+c+c)/3,l,c),r=l,o=c;break;case"C":(void 0).push(i[a++],i[a++],i[a++],i[a++],i[a++],i[a++]),r=i[a-2],o=i[a-1];break;case"Z":(void 0).push((r+r+e)/3,(o+o+t)/3,(r+e+e)/3,(o+t+t)/3,e,t),r=e,o=t}})),n},e.cubicPathToString=function(e){var t=e.length;if(!(t%2==0&&(t/2-1)/2>=1))throw new Error("Invalid path.");return"M"+e.slice(0,2).join(",")+"C"+e.slice(2).join(",")},e}(),jt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),zt=function(){return(zt=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Bt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Vt=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Wt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Ht=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Wt(arguments[t]));return e},Ut=function(e){function t(t){var r,o,n=e.call(this)||this;n.opts=t,n.clipPath=new Gt,n.opacity=1,n.lastBBox=void 0;var i=t||{},a=i.zIndex,s=i.zIndexSubOrder;return n.isContainerNode=!0,void 0!==a&&(n.zIndex=a),void 0!==s&&(n.zIndexSubOrder=s),(null===(r=n.opts)||void 0===r?void 0:r.optimiseDirtyTracking)&&(n.visibleChildren={},n.dirtyChildren={}),n.name=null===(o=n.opts)||void 0===o?void 0:o.name,n}return jt(t,e),t.prototype.opacityChanged=function(){this.layer&&(this.layer.opacity=this.opacity)},t.prototype.zIndexChanged=function(){var e;this.layer&&(null===(e=this._scene)||void 0===e||e.moveLayer(this.layer,this.zIndex,this.zIndexSubOrder))},t.prototype.isLayer=function(){return null!=this.layer},t.prototype.append=function(t){var r,o;if(e.prototype.append.call(this,t),this.dirtyChildren){t=t instanceof Array?t:[t];try{for(var n=Vt(t),i=n.next();!i.done;i=n.next()){var a=i.value;this.dirtyChildren[a.id]=a}}catch(e){r={error:e}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}}},t.prototype._setScene=function(t){var r;if(this._scene&&this.layer&&(this._scene.removeLayer(this.layer),this.layer=void 0),this.layer)throw new Error("AG Charts - unable to deregister scene rendering layer!");if(e.prototype._setScene.call(this,t),t&&(null===(r=this.opts)||void 0===r?void 0:r.layer)){var o=this.opts||{},n=o.zIndex,i=o.zIndexSubOrder,a=o.name;this.layer=t.addLayer({zIndex:n,zIndexSubOrder:i,name:a})}},t.prototype.visibilityChanged=function(){this.layer&&(this.layer.enabled=this.visible)},t.prototype.removeChild=function(t){return e.prototype.removeChild.call(this,t),this.dirtyChildren&&this.visibleChildren&&(delete this.dirtyChildren[t.id],delete this.visibleChildren[t.id]),t},t.prototype.markDirty=function(t,r){void 0===r&&(r=w.b.TRIVIAL);var o=r<=w.b.MINOR?w.b.TRIVIAL:r;e.prototype.markDirty.call(this,t,r,o),t!==this&&this.dirtyChildren&&(this.dirtyChildren[t.id]=t)},t.prototype.markClean=function(t){var r,o;this.syncChildVisibility();var n=this.dirtyChildren,i=void 0===n?{}:n;try{for(var a=Vt(Object.keys(i)),s=a.next();!s.done;s=a.next()){delete i[s.value]}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}e.prototype.markClean.call(this,t)},t.prototype.containsPoint=function(e,t){return!0},t.prototype.computeBBox=function(){var e=1/0,t=-1/0,r=1/0,o=-1/0;return this.computeTransformMatrix(),this.children.forEach((function(n){if(n.visible){var i=n.computeTransformedBBox();if(i){var a=i.x,s=i.y;a<e&&(e=a),s<r&&(r=s),a+i.width>t&&(t=a+i.width),s+i.height>o&&(o=s+i.height)}}})),new h(e,r,t-e,o-r)},t.prototype.computeTransformedBBox=function(){return this.computeBBox()},t.prototype.render=function(e){var t;this.layer&&(null===(t=this.opts)||void 0===t?void 0:t.optimiseDirtyTracking)?this.optimisedRender(e):this.basicRender(e)},t.prototype.basicRender=function(t){var r,o,n=this.opts,i=(void 0===n?{}:n).name,a=void 0===i?void 0:i,s=this._debug,l=(void 0===s?{}:s).consoleLog,c=void 0!==l&&l,u=this,p=u.dirty,d=u.dirtyZIndex,g=u.clipPath,h=u.layer,f=u.children,v=t.ctx,y=t.forceRender,m=t.clipBBox,b=t.resized,C=t.stats,O=p>=w.b.MINOR||d||b,S=O||f.some((function(e){return e.dirty>=w.b.TRIVIAL}));if(a&&c&&console.log({name:a,group:this,isDirty:O,isChildDirty:S,renderCtx:t,forceRender:y}),h){y=!1;var E=this.computeBBox();void 0!==this.lastBBox&&this.lastBBox.equals(E)||(y=!0,this.lastBBox=E)}if(!O&&!S&&!y){if(a&&c&&C){var x=this.nodeCount;console.log({name:a,result:"skipping",renderCtx:t,counts:x,group:this})}return h&&C&&(C.layersSkipped++,C.nodesSkipped+=this.nodeCount.count),void e.prototype.markClean.call(this,{recursive:!1})}var R=this.visible;if(h){if((v=h.context).save(),v.setTransform(t.ctx.getTransform()),y=!0,h.clear(),m){var T=m.width,A=m.height,P=m.x,_=m.y;c&&console.log({name:a,clipBBox:m,ctxTransform:v.getTransform(),renderCtx:t,group:this}),g.clear(),g.rect(P,_,T,A),g.draw(v),v.clip()}}else v.globalAlpha*=this.opacity;this.computeTransformMatrix(),this.matrix.toContext(v),m=m?this.matrix.inverse().transformBBox(m):void 0,d&&(this.sortChildren(),y=!0);var D=y!==t.forceRender||m!==t.clipBBox||v!==t.ctx?zt(zt({},t),{ctx:v,forceRender:y,clipBBox:m}):t,M=0;try{for(var N=Vt(f),I=N.next();!I.done;I=N.next()){var L=I.value;L.visible&&R?y||L.dirty!==w.b.NONE?(v.save(),L.render(D),v.restore()):C&&(M+=L.nodeCount.count):(L.markClean(),C&&(M+=L.nodeCount.count))}}catch(e){r={error:e}}finally{try{I&&!I.done&&(o=N.return)&&o.call(N)}finally{if(r)throw r.error}}if(C&&(C.nodesSkipped+=M),e.prototype.render.call(this,t),h&&(C&&C.layersRendered++,v.restore(),h.snapshot()),a&&c&&C){x=this.nodeCount;console.log({name:a,result:"rendered",skipped:M,renderCtx:t,counts:x,group:this})}},t.prototype.optimisedRender=function(t){var r,o,n,i,a=this._debug,s=(void 0===a?{}:a).consoleLog,l=void 0!==s&&s,c=this,u=c.name,p=c.dirty,d=c.dirtyZIndex,g=c.clipPath,h=c.layer,f=c.dirtyChildren,v=void 0===f?{}:f,y=c.visibleChildren,m=void 0===y?{}:y,b=c.visible,C=t.ctx,O=t.clipBBox,S=t.resized,E=t.stats;if(h){var x=p>=w.b.MINOR||d||S,R=Object.keys(v).length>0;if(u&&l&&console.log({name:u,group:this,isDirty:x,isChildDirty:R,renderCtx:t}),!x&&!R){if(u&&l&&E){var T=this.nodeCount;console.log({name:u,result:"skipping",renderCtx:t,counts:T,group:this})}return E&&(E.layersSkipped++,E.nodesSkipped+=this.nodeCount.count),void e.prototype.markClean.call(this,{recursive:!1})}if((C=h.context).save(),C.setTransform(t.ctx.getTransform()),h.clear(),O){var A=O.width,P=O.height,_=O.x,D=O.y;l&&console.log({name:u,clipBBox:O,ctxTransform:C.getTransform(),renderCtx:t,group:this}),g.clear(),g.rect(_,D,A,P),g.draw(C),C.clip()}this.syncChildVisibility(),this.computeTransformMatrix(),this.matrix.toContext(C),O=O?this.matrix.inverse().transformBBox(O):void 0,d&&this.sortChildren();var M=!0!==t.forceRender||O!==t.clipBBox||C!==t.ctx?zt(zt({},t),{ctx:C,forceRender:!0,clipBBox:O}):t;l&&console.log({name:u,visibleChildren:m,dirtyChildren:v});if(b)try{for(var N=Vt(Object.values(m)),I=N.next();!I.done;I=N.next()){var L=I.value;C.save(),L.render(M),C.restore()}}catch(e){r={error:e}}finally{try{I&&!I.done&&(o=N.return)&&o.call(N)}finally{if(r)throw r.error}}this.markClean({recursive:!1});try{for(var k=Vt(Object.values(v)),F=k.next();!F.done;F=k.next()){(L=F.value).markClean(),delete v[L.id]}}catch(e){n={error:e}}finally{try{F&&!F.done&&(i=k.return)&&i.call(k)}finally{if(n)throw n.error}}if(E&&(E.nodesSkipped+=0),E&&E.layersRendered++,C.restore(),h.snapshot(),u&&l&&E){T=this.nodeCount;console.log({name:u,result:"rendered",skipped:0,renderCtx:t,counts:T,group:this})}}},t.prototype.syncChildVisibility=function(){var e,t,r=this.dirtyChildren,o=this.visibleChildren;if(r&&o)try{for(var n=Vt(Object.values(r)),i=n.next();!i.done;i=n.next()){var a=i.value;!a.visible&&o[a.id]?delete o[a.id]:a.visible&&!o[a.id]&&(o[a.id]=a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.sortChildren=function(){this.dirtyZIndex=!1,this.children.sort((function(e,t){var r,o;return We(Ht([e.zIndex],null!=(r=e.zIndexSubOrder)?r:[void 0,void 0],[e.serialNumber]),Ht([t.zIndex],null!=(o=t.zIndexSubOrder)?o:[void 0,void 0],[t.serialNumber]),Ve)}))},t.className="Group",Bt([Object(w.c)({convertor:function(e){return Math.min(1,Math.max(0,e))},changeCb:function(e){return e.opacityChanged()}})],t.prototype,"opacity",void 0),t}(x),Kt=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Yt=function(){function e(e,t){this.next=null,this.scene=e.scene,this.parent=e,this.datum=t}return e.prototype.appendChild=function(e){if(null===this.next)return this.parent.insertBefore(e,null);if(!x.isNode(this.next))throw new Error(this.next+" is not a Node.");return this.parent.insertBefore(e,this.next)},e.prototype.insertBefore=function(e,t){return this.parent.insertBefore(e,t)},e}(),Xt=function(){function e(e,t){this.groups=e,this.parents=t}return e.select=function(t){return new e([["function"==typeof t?t():t]],[void 0])},e.selectAll=function(t){return new e([null==t?[]:t],[void 0])},e.prototype.append=function(e){return this.select((function(t){return t.appendChild(new e)}))},e.prototype.select=function(t){for(var r=this.groups,o=r.length,n=[],i=0;i<o;i++)for(var a=r[i],s=a.length,l=n[i]=new Array(s),c=0;c<s;c++){var u=a[c];if(u){var p=t(u,u.datum,c,a);p&&(p.datum=u.datum),l[c]=p}}return new e(n,this.parents)},e.prototype.selectByClass=function(e){return this.select((function(t){if(x.isNode(t))for(var r=t.children,o=r.length,n=0;n<o;n++){var i=r[n];if(i instanceof e)return i}}))},e.prototype.selectByTag=function(e){return this.select((function(t){if(x.isNode(t))for(var r=t.children,o=r.length,n=0;n<o;n++){var i=r[n];if(i.tag===e)return i}}))},e.prototype.selectAllByClass=function(e){return this.selectAll((function(t){var r=[];if(x.isNode(t))for(var o=t.children,n=o.length,i=0;i<n;i++){var a=o[i];a instanceof e&&r.push(a)}return r}))},e.prototype.selectAllByTag=function(e){return this.selectAll((function(t){var r=[];if(x.isNode(t))for(var o=t.children,n=o.length,i=0;i<n;i++){var a=o[i];a.tag===e&&r.push(a)}return r}))},e.prototype.selectNone=function(){return[]},e.prototype.selectAll=function(t){t||(t=this.selectNone);for(var r=[],o=[],n=this.groups,i=n.length,a=0;a<i;a++)for(var s=n[a],l=s.length,c=0;c<l;c++){var u=s[c];u&&(r.push(t(u,u.datum,c,s)),o.push(u))}return new e(r,o)},e.prototype.each=function(e){var t,r,o,n;try{for(var i=Kt(this.groups),a=i.next();!a.done;a=i.next()){var s=a.value,l=0;try{for(var c=(o=void 0,Kt(s)),u=c.next();!u.done;u=c.next()){var p=u.value;p&&e(p,p.datum,l,s),l++}}catch(e){o={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(o)throw o.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return this},e.prototype.remove=function(){return this.each((function(e){if(x.isNode(e)){var t=e.parent;t&&t.removeChild(e)}}))},e.prototype.merge=function(t){for(var r=this.groups,o=t.groups,n=r.length,i=o.length,a=Math.min(n,i),s=new Array(n),l=0;l<a;l++)for(var c=r[l],u=o[l],p=c.length,d=s[l]=new Array(p),g=0;g<p;g++){var h=c[g]||u[g];d[g]=h||void 0}for(;l<n;l++)s[l]=r[l];return new e(s,this.parents)},e.prototype.node=function(){for(var e=this.groups,t=e.length,r=0;r<t;r++)for(var o=e[r],n=o.length,i=0;i<n;i++){var a=o[i];if(a)return a}return null},e.prototype.attr=function(e,t){return this.each((function(r){r[e]=t})),this},e.prototype.attrFn=function(e,t){return this.each((function(r,o,n,i){r[e]=t(r,o,n,i)})),this},e.prototype.call=function(e){return e(this),this},Object.defineProperty(e.prototype,"size",{get:function(){var e,t,r,o,n=0;try{for(var i=Kt(this.groups),a=i.next();!a.done;a=i.next()){var s=a.value;try{for(var l=(r=void 0,Kt(s)),c=l.next();!c.done;c=l.next()){c.value&&n++}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){var e,t,r,o,n=new Array(this.size),i=0;try{for(var a=Kt(this.groups),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var c=(r=void 0,Kt(l)),u=c.next();!u.done;u=c.next()){var p=u.value;p&&(n[i++]=p.datum)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enter",{get:function(){return new e(this.enterGroups?this.enterGroups:[[]],this.parents)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exit",{get:function(){return new e(this.exitGroups?this.exitGroups:[[]],this.parents)},enumerable:!0,configurable:!0}),e.prototype.setDatum=function(e){return this.each((function(t){t.datum=e}))},Object.defineProperty(e.prototype,"datum",{get:function(){var e=this.node();return e?e.datum:null},enumerable:!0,configurable:!0}),e.prototype.setData=function(t,r){if("function"!=typeof t){var o=t;t=function(){return o}}for(var n=this.groups,i=this.parents,a=n.length,s=new Array(a),l=new Array(a),c=new Array(a),u=0;u<a;u++){var p=n[u],d=i[u];if(!d)throw new Error("Group #"+u+" has no parent: "+p);var g=p.length,h=t(d,d.datum,u,i),f=h.length,v=l[u]=new Array(f),y=s[u]=new Array(f),m=c[u]=new Array(g);r?this.bindKey(d,p,v,y,m,h,r):this.bindIndex(d,p,v,y,m,h);for(var b=0,w=0;b<f;b++){var C=v[b];if(C){b>=w&&(w=b+1);for(var O=y[w];!O&&w<f;)O=y[++w];C.next=O||null}}}var S=new e(s,i);return S.enterGroups=l,S.exitGroups=c,S},e.prototype.bindIndex=function(e,t,r,o,n,i){for(var a=t.length,s=i.length,l=0;l<s;l++){(c=t[l])?(c.datum=i[l],o[l]=c):r[l]=new Yt(e,i[l])}for(;l<a;l++){var c;(c=t[l])&&(n[l]=c)}},e.prototype.bindKey=function(t,r,o,n,i,a,s){for(var l=r.length,c=a.length,u=new Array(l),p={},d=0;d<l;d++){if(h=r[d])(g=u[d]=e.keyPrefix+s(h,h.datum,d,r))in p?i[d]=h:p[g]=h}for(d=0;d<c;d++){var g;(h=p[g=e.keyPrefix+s(t,a[d],d,a)])?(n[d]=h,h.datum=a[d],p[g]=void 0):o[d]=new Yt(t,a[d])}for(d=0;d<l;d++){var h;(h=r[d])&&p[u[d]]===h&&(i[d]=h)}},e.keyPrefix="$",e}(),qt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Qt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Zt=function(e){function t(){var t=e.call(this)||this;return t.x1=0,t.y1=0,t.x2=0,t.y2=0,t.restoreOwnStyles(),t}return qt(t,e),t.prototype.computeBBox=function(){return new h(this.x1,this.y1,this.x2-this.x1,this.y2-this.y1)},t.prototype.isPointInPath=function(e,t){return!1},t.prototype.render=function(t){var r,o=t.ctx,n=t.forceRender,i=t.stats;if(this.dirty!==w.b.NONE||n){this.computeTransformMatrix(),this.matrix.toContext(o);var a=this.x1,s=this.y1,l=this.x2,c=this.y2;if(a===l){var u=Math.round(a)+Math.floor(this.strokeWidth)%2/2;a=u,l=u}else if(s===c){var p=Math.round(s)+Math.floor(this.strokeWidth)%2/2;s=p,c=p}o.beginPath(),o.moveTo(a,s),o.lineTo(l,c),this.fillStroke(o),null===(r=this.fillShadow)||void 0===r||r.markClean(),e.prototype.render.call(this,t)}else i&&(i.nodesSkipped+=this.nodeCount.count)},t.className="Line",t.defaultStyles=R(k.defaultStyles,{fill:void 0,strokeWidth:1}),Qt([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"x1",void 0),Qt([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"y1",void 0),Qt([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"x2",void 0),Qt([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"y2",void 0),t}(k),Jt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),$t=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function er(e){var t=e||{},r=t.redraw,o=void 0===r?w.b.MAJOR:r,n=t.changeCb,i=t.convertor;return Object(w.c)({redraw:o,type:"path",convertor:i,changeCb:n})}var tr=function(e){function t(t){var r=e.call(this)||this;return r.renderOverride=t,r.path=new Gt,r._dirtyPath=!0,r}return Jt(t,e),Object.defineProperty(t.prototype,"dirtyPath",{get:function(){return this._dirtyPath},set:function(e){this._dirtyPath!==e&&(this._dirtyPath=e,e&&this.markDirty(this,w.b.MAJOR))},enumerable:!0,configurable:!0}),t.prototype.checkPathDirty=function(){var e,t;this._dirtyPath||(this.dirtyPath=this.path.isDirty()||null!=(t=null===(e=this.fillShadow)||void 0===e?void 0:e.isDirty())&&t)},t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t);return this.path.closedPath&&this.path.isPointInPath(r.x,r.y)},t.prototype.isDirtyPath=function(){},t.prototype.updatePath=function(){},t.prototype.render=function(t){var r,o,n=t.ctx,i=t.forceRender,a=t.stats;if(this.dirty!==w.b.NONE||i){if(this.computeTransformMatrix(),this.matrix.toContext(n),(this.dirtyPath||this.isDirtyPath())&&(this.updatePath(),this.dirtyPath=!1),this.clipPath){if(n.save(),"normal"===this.clipMode&&(this.clipPath.draw(n),n.clip()),this.renderOverride?this.renderOverride(n):(this.path.draw(n),this.fillStroke(n)),"punch-out"===this.clipMode){this.clipPath.draw(n),n.clip();var s=null!=(r=this.computeBBox())?r:{},l=s.x,c=void 0===l?-1e4:l,u=s.y,p=void 0===u?-1e4:u,d=s.width,g=void 0===d?2e4:d,h=s.height,f=void 0===h?2e4:h;n.clearRect(c,p,g,f)}n.restore()}else this.renderOverride?this.renderOverride(n):(this.path.draw(n),this.fillStroke(n));null===(o=this.fillShadow)||void 0===o||o.markClean(),e.prototype.render.call(this,t)}else a&&(a.nodesSkipped+=this.nodeCount.count)},t.className="Path",$t([er()],t.prototype,"clipPath",void 0),$t([er()],t.prototype,"clipMode",void 0),t}(k),rr=2*Math.PI;function or(e){return e%=rr,e+=rr,e%=rr}function nr(e){return e/180*Math.PI}function ir(e,t,r){return void 0===r&&(r=1e-10),Math.abs(e-t)<r}function ar(e,t){void 0===t&&(t=2);var r=Math.floor(Math.log(Math.abs(e))/Math.LN10);return r>=0||!isFinite(r)?e.toFixed(t):e.toFixed(Math.abs(r)-1+t)}Number.EPSILON||Math.pow(2,-52);var sr,lr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),cr=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.Open=0]="Open",e[e.Chord=1]="Chord",e[e.Round=2]="Round"}(sr||(sr={}));var ur=function(e){function t(){var t=e.call(this)||this;return t.centerX=0,t.centerY=0,t.radiusX=10,t.radiusY=10,t.startAngle=0,t.endAngle=2*Math.PI,t.counterClockwise=!1,t.type=sr.Open,t.restoreOwnStyles(),t}return lr(t,e),Object.defineProperty(t.prototype,"fullPie",{get:function(){return ir(or(this.startAngle),or(this.endAngle))},enumerable:!0,configurable:!0}),t.prototype.updatePath=function(){var e=this.path;e.clear(),e.cubicArc(this.centerX,this.centerY,this.radiusX,this.radiusY,0,this.startAngle,this.endAngle,this.counterClockwise?1:0),this.type===sr.Chord?e.closePath():this.type!==sr.Round||this.fullPie||(e.lineTo(this.centerX,this.centerY),e.closePath())},t.prototype.computeBBox=function(){return new h(this.centerX-this.radiusX,this.centerY-this.radiusY,2*this.radiusX,2*this.radiusY)},t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t),o=this.computeBBox();return this.type!==sr.Open&&o.containsPoint(r.x,r.y)&&this.path.isPointInPath(r.x,r.y)},t.className="Arc",t.defaultStyles=R(k.defaultStyles,{lineWidth:1,fillStyle:null}),cr([er()],t.prototype,"centerX",void 0),cr([er()],t.prototype,"centerY",void 0),cr([er()],t.prototype,"radiusX",void 0),cr([er()],t.prototype,"radiusY",void 0),cr([er()],t.prototype,"startAngle",void 0),cr([er()],t.prototype,"endAngle",void 0),cr([er()],t.prototype,"counterClockwise",void 0),cr([er()],t.prototype,"type",void 0),t}(tr),pr={};function dr(e,t){pr[t]||(e(),pr[t]=!0)}var gr,hr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),fr=new Date,vr=new Date,yr=function(){function e(e,t){this._floor=e,this._offset=t}return e.prototype.floor=function(e){return e=new Date(+e),this._floor(e),e},e.prototype.ceil=function(e){return e=new Date(+e-1),this._floor(e),this._offset(e,1),this._floor(e),e},e.prototype.round=function(e){var t=this.floor(e),r=this.ceil(e),o=+e;return o-t.getTime()<r.getTime()-o?t:r},e.prototype.offset=function(e,t){return void 0===t&&(t=1),e=new Date(+e),this._offset(e,Math.floor(t)),e},e.prototype.range=function(e,t,r){void 0===r&&(r=1);var o,n=[];if(e=this.ceil(e),r=Math.floor(r),e>t||r<=0)return n;do{o=new Date(+e),n.push(o),this._offset(e,r),this._floor(e)}while(o<e&&e<t);return n},e.prototype.filter=function(t){var r=this;return new e((function(e){if(e>=e)for(r._floor(e);!t(e);)e.setTime(e.getTime()-1),r._floor(e);return e}),(function(e,o){if(e>=e)if(o<0)for(;++o<=0;)do{r._offset(e,-1)}while(!t(e));else for(;--o>=0;)do{r._offset(e,1)}while(!t(e));return e}))},e}(),mr=function(e){function t(t,r,o,n){var i=e.call(this,t,r)||this;return i._count=o,i._field=n,i}return hr(t,e),t.prototype.count=function(e,t){return fr.setTime(+e),vr.setTime(+t),this._floor(fr),this._floor(vr),Math.floor(this._count(fr,vr))},t.prototype.every=function(e){var t,r=this;if(e=Math.floor(e),isFinite(e)&&e>0)if(e>1){var o=this._field;t=o?this.filter((function(t){return o(t)%e==0})):this.filter((function(t){return r.count(0,t)%e==0}))}else t=this;return t},t}(yr);function br(e,t,r,o,n){var i=e.x<t?t:e.x>t+o?t+o:e.x,a=e.y<r?r:e.y>r+n?r+n:e.y,s=e.x-i,l=e.y-a;return Math.sqrt(s*s+l*l)<=.5*e.size}function wr(e,t,r,o,n){var i=e.x+e.width>t&&e.x<t+o,a=e.y+e.height>r&&e.y<r+n;return i&&a}function Cr(e,t){for(var r=[],o=function(o){var n=e[o],i=n.point,a=i.x,s=i.y,l=n.label,c=l.width,u=l.height,p=l.text;if(c+=null!=t?t:0,u+=null!=t?t:0,r.some((function(e){return wr(e,a,s,c,u)})))return{value:!0};r.push({index:o,text:p,x:a,y:s,width:c,height:u,datum:n})},n=0;n<e.length;n++){var i=o(n);if("object"==typeof i)return i.value}return!1}!function(e){e[e.SERIES_BACKGROUND_ZINDEX=-10]="SERIES_BACKGROUND_ZINDEX",e[e.AXIS_GRIDLINES_ZINDEX=0]="AXIS_GRIDLINES_ZINDEX",e[e.SERIES_CROSSLINE_RANGE_ZINDEX=10]="SERIES_CROSSLINE_RANGE_ZINDEX",e[e.AXIS_ZINDEX=20]="AXIS_ZINDEX",e[e.SERIES_LAYER_ZINDEX=500]="SERIES_LAYER_ZINDEX",e[e.SERIES_LABEL_ZINDEX=1e3]="SERIES_LABEL_ZINDEX",e[e.SERIES_CROSSLINE_LINE_ZINDEX=2500]="SERIES_CROSSLINE_LINE_ZINDEX",e[e.LEGEND_ZINDEX=3e3]="LEGEND_ZINDEX"}(gr||(gr={}));var Or,Sr=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Er=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},xr=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Er(arguments[t]));return e},Rr=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Tr=Y((function(e,t){return fe(0)(e,t)||e instanceof yr}),"expecting a tick count Number value or, for a time axis, a Time Interval such as 'agCharts.time.month'"),Ar=Y((function(e,t){return X(e,t,Tr)}),"expecting an optional tick count Number value or, for a time axis, a Time Interval such as 'agCharts.time.month'"),Pr=["stroke","lineDash"],_r=Y(q(void 0,(function(e){for(var t in e)if(!Pr.includes(t))return!1;return!0})),"expecting an Array of objects with gridline style properties such as 'stroke' and 'lineDash'");!function(e){e[e.Tick=0]="Tick",e[e.GridLine=1]="GridLine"}(Or||(Or={}));var Dr,Mr,Nr=function(){function e(){this.width=1,this.color="rgba(195, 195, 195, 1)"}return Sr([K(fe(0))],e.prototype,"width",void 0),Sr([K(ge)],e.prototype,"color",void 0),e}(),Ir=function(){function e(){this.width=1,this.size=6,this.color="rgba(195, 195, 195, 1)",this.count=void 0}return Sr([K(fe(0))],e.prototype,"width",void 0),Sr([K(fe(0))],e.prototype,"size",void 0),Sr([K(ge)],e.prototype,"color",void 0),Sr([K(Ar)],e.prototype,"count",void 0),e}(),Lr=function(){function e(){this.fontStyle=void 0,this.fontWeight=void 0,this.fontSize=12,this.fontFamily="Verdana, sans-serif",this.padding=5,this.color="rgba(87, 87, 87, 1)",this.rotation=void 0,this.autoRotate=void 0,this.autoRotateAngle=335,this.mirrored=!1,this.parallel=!1,this.formatter=void 0,this.format=void 0}return Sr([K(Se)],e.prototype,"fontStyle",void 0),Sr([K(xe)],e.prototype,"fontWeight",void 0),Sr([K(fe(1))],e.prototype,"fontSize",void 0),Sr([K(ie)],e.prototype,"fontFamily",void 0),Sr([K(fe(0))],e.prototype,"padding",void 0),Sr([K(ge)],e.prototype,"color",void 0),Sr([K(ve(-360,360))],e.prototype,"rotation",void 0),Sr([K(ne)],e.prototype,"autoRotate",void 0),Sr([K(fe(-360,360))],e.prototype,"autoRotateAngle",void 0),Sr([K(oe)],e.prototype,"mirrored",void 0),Sr([K(oe)],e.prototype,"parallel",void 0),Sr([K(ae)],e.prototype,"format",void 0),e}(),kr=function(){function e(e){this.id=m(this),this.nice=!0,this.dataDomain=[],this.axisGroup=new Ut({name:this.id+"-axis",layer:!0,zIndex:gr.AXIS_ZINDEX}),this.crossLineGroup=new Ut({name:this.id+"-CrossLines"}),this.lineGroup=this.axisGroup.appendChild(new Ut({name:this.id+"-Line"})),this.tickGroup=this.axisGroup.appendChild(new Ut({name:this.id+"-Tick"})),this.titleGroup=this.axisGroup.appendChild(new Ut({name:this.id+"-Title"})),this.tickGroupSelection=Xt.select(this.tickGroup).selectAll(),this.lineNode=this.lineGroup.appendChild(new Zt),this.gridlineGroup=new Ut({name:this.id+"-gridline",layer:!0,zIndex:gr.AXIS_GRIDLINES_ZINDEX}),this.gridlineGroupSelection=Xt.select(this.gridlineGroup).selectAll(),this._crossLines=[],this.line=new Nr,this.tick=new Ir,this.label=new Lr,this.translation={x:0,y:0},this.rotation=0,this.requestedRange=[0,1],this._visibleRange=[0,1],this._title=void 0,this._gridLength=0,this.gridStyle=[{stroke:"rgba(219, 219, 219, 1)",lineDash:[4,2]}],this._radialGrid=!1,this.fractionDigits=0,this.gridPadding=0,this.thickness=0,this._scale=e,this.refreshScale()}return Object.defineProperty(e.prototype,"scale",{get:function(){return this._scale},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"crossLines",{get:function(){return this._crossLines},set:function(e){var t,r,o=this;null===(t=this._crossLines)||void 0===t||t.forEach((function(e){return o.detachCrossLine(e)})),this._crossLines=e,null===(r=this._crossLines)||void 0===r||r.forEach((function(e){o.attachCrossLine(e),o.initCrossLine(e)}))},enumerable:!0,configurable:!0}),e.prototype.attachCrossLine=function(e){this.crossLineGroup.appendChild(e.group)},e.prototype.detachCrossLine=function(e){this.crossLineGroup.removeChild(e.group)},e.prototype.getMeta=function(){},e.prototype.refreshScale=function(){var e,t=this;this.requestedRange=this.scale.range.slice(),null===(e=this.crossLines)||void 0===e||e.forEach((function(e){t.initCrossLine(e)}))},e.prototype.updateRange=function(){var e,t=this.requestedRange,r=this.visibleRange,o=this.scale,n=(t[1]-t[0])/(r[1]-r[0]),i=n*r[0],a=t[0]-i;o.range=[a,a+n],null===(e=this.crossLines)||void 0===e||e.forEach((function(e){e.clippedRange=[t[0],t[1]]}))},e.prototype.inRange=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),0===this.inRangeEx(e,t,r)},e.prototype.inRangeEx=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=0);var o=this.range,n=Math.min(o[0],o[1]),i=Math.max(o[0],o[1]);return e+t<n-r?-1:e>i+r?1:0},Object.defineProperty(e.prototype,"range",{get:function(){return this.requestedRange},set:function(e){this.requestedRange=e.slice(),this.updateRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleRange",{get:function(){return this._visibleRange.slice()},set:function(e){if(e&&2===e.length){var t=Er(e,2),r=t[0],o=t[1];r=Math.max(0,r),o=Math.min(1,o),r=Math.min(r,o),o=Math.max(r,o),this._visibleRange=[r,o],this.updateRange()}},enumerable:!0,configurable:!0}),e.prototype.onLabelFormatChange=function(e,t){var r=this.scale;if(t&&r&&r.tickFormat)try{this.labelFormatter=r.tickFormat({ticks:e,count:e.length,specifier:t})}catch(e){this.labelFormatter=void 0,dr((function(){return console.warn("AG Charts - the axis label format string "+t+" is invalid. No formatting will be applied")}),"invalid axis label format string "+t)}else this.labelFormatter=void 0},Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(e){var t=this._title;t!==e&&(t&&this.titleGroup.removeChild(t.node),e&&(e.node.rotation=-Math.PI/2,this.titleGroup.appendChild(e.node)),this._title=e,this.updateTitle({ticks:this.scale.ticks(this.tick.count)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridLength",{get:function(){return this._gridLength},set:function(e){var t,r=this;(this._gridLength&&!e||!this._gridLength&&e)&&(this.gridlineGroupSelection=this.gridlineGroupSelection.remove().setData([])),this._gridLength=e,null===(t=this.crossLines)||void 0===t||t.forEach((function(e){r.initCrossLine(e)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radialGrid",{get:function(){return this._radialGrid},set:function(e){this._radialGrid!==e&&(this._radialGrid=e,this.gridlineGroupSelection=this.gridlineGroupSelection.remove().setData([]))},enumerable:!0,configurable:!0}),e.prototype.update=function(e){var t,r;this.calculateDomain();var o=this,n=o.scale,i=o.gridLength,a=o.tick,s=o.label,l=o.requestedRange,c=Math.min.apply(Math,xr(l)),u=Math.max.apply(Math,xr(l)),p=nr(this.rotation),d=s.parallel,g=this.isAnySeriesActive(),h=s.mirrored?1:-1,f=or(p),v=or(p-Math.PI/2),y=(n.bandwidth||0)/2;this.updatePosition(),this.updateLine();var m=0,b=!0,w=[],C=void 0!==this.tick.count,O=this.nice&&n.nice,S=n instanceof qe,E=void 0!==e,x=!E&&!C&&O;for(n.domain=this.dataDomain,O&&n.nice(this.tick.count);b;){for(var R=!0,T=function(){if(m>=10)return"break";x&&(n.domain=A.dataDomain,n.nice(10-m));var r=w,o=S&&!C||0===m?void 0:w.filter((function(e,t){return t%2==0})),a=void 0;E&&(a=A.updateSecondaryAxisTicks(e)),w=null!=(t=null!=o?o:a)?t:A.scale.ticks(A.tick.count,m),A.updateSelections({halfBandwidth:y,gridLength:i,ticks:w}),!E&&w.length>0&&(e=w.length),R=w.every((function(e,t){return e===r[t]})),m++},A=this;R;){if("break"===T())break}if(R)break;this.onLabelFormatChange(w,this.label.format);var P=this.updateLabels({parallelFlipRotation:f,regularFlipRotation:v,sideFlag:h,tickLineGroupSelection:this.tickGroupSelection,ticks:w});b=Cr(P.labelData,P.rotated?0:10)}this.updateGridLines({gridLength:i,halfBandwidth:y,sideFlag:h});var _=!1,D=function(e){var t=Math.floor(c),r=Math.ceil(u),o=t!==r&&e.translationY>=t&&e.translationY<=r;return _=o||_,o},M=this.gridlineGroupSelection,N=this.tickGroupSelection;return M.attrFn("visible",D),N.attrFn("visible",D),this.tickGroup.visible=_,this.gridlineGroup.visible=_,null===(r=this.crossLines)||void 0===r||r.forEach((function(e){e.sideFlag=-h,e.direction=p===-Math.PI/2?Dr.X:Dr.Y,e.label.parallel=void 0!==e.label.parallel?e.label.parallel:d,e.parallelFlipRotation=f,e.regularFlipRotation=v,e.update(g)})),this.updateTitle({ticks:w}),N.selectByTag(Or.Tick).each((function(e){e.strokeWidth=a.width,e.stroke=a.color,e.visible=_})).attr("x1",h*a.size).attr("x2",0).attr("y1",0).attr("y2",0),e},e.prototype.calculateDomain=function(){},e.prototype.updatePosition=function(){var e=this,t=e.label,r=e.axisGroup,o=e.gridlineGroup,n=e.crossLineGroup,i=e.translation,a=e.gridlineGroupSelection,s=e.gridPadding,l=e.gridLength,c=nr(this.rotation),u=t.mirrored?1:-1,p=Math.floor(i.x),d=Math.floor(i.y);n.translationX=p,n.translationY=d,n.rotation=c,r.translationX=p,r.translationY=d,r.rotation=c,o.translationX=p,o.translationY=d,o.rotation=c,a.selectByTag(Or.GridLine).each((function(e){e.x1=s,e.x2=-u*l+s,e.y1=0,e.y2=0}))},e.prototype.updateSecondaryAxisTicks=function(e){throw new Error("AG Charts - unexpected call to updateSecondaryAxisTicks() - check axes configuration.")},e.prototype.updateTickGroupSelection=function(e){var t=e.data,r=this.tickGroupSelection.setData(t);r.exit.remove();var o=r.enter.append(Ut);return o.append(Zt).each((function(e){return e.tag=Or.Tick})),o.append(B),r.merge(o)},e.prototype.updateGridLineGroupSelection=function(e){var t=e.gridLength,r=e.data,o=this.gridlineGroupSelection.setData(t?r:[]);o.exit.remove();var n=o;if(t){var i=function(e){return e.tag=Or.GridLine},a=o.enter.append(Ut);this.radialGrid?a.append(ur).each(i):a.append(Zt).each(i),n=o.merge(a)}return n},e.prototype.updateSelections=function(e){var t=e.ticks,r=e.halfBandwidth,o=e.gridLength,n=this.scale,i=t.map((function(e){return{tick:e,translationY:n.convert(e)+r}})),a=this.updateGridLineGroupSelection({gridLength:o,data:i}),s=this.updateTickGroupSelection({data:i});a.attrFn("translationY",(function(e,t){return Math.round(t.translationY)})),s.attrFn("translationY",(function(e,t){return Math.round(t.translationY)})),this.tickGroupSelection=s,this.gridlineGroupSelection=a},e.prototype.updateGridLines=function(e){var t,r=e.gridLength,o=e.halfBandwidth,n=e.sideFlag,i=this.gridStyle,a=this.scale,s=this.tick,l=this.gridPadding;if(r&&i.length){var c=i.length,u=void 0;if(this.radialGrid){var p=(t=nr(r),t%=rr,(t+=rr)!==rr&&(t%=rr),t);u=this.gridlineGroupSelection.selectByTag(Or.GridLine).each((function(e,t){var r=Math.round(a.convert(t)+o);e.centerX=0,e.centerY=a.range[0]-r,e.endAngle=p,e.radiusX=r,e.radiusY=r}))}else u=this.gridlineGroupSelection.selectByTag(Or.GridLine).each((function(e){e.x1=l,e.x2=-n*r+l,e.y1=0,e.y2=0,e.visible=Math.abs(e.parent.translationY-a.range[0])>1}));u.each((function(e,t,r){var o=i[r%c];e.stroke=o.stroke,e.strokeWidth=s.width,e.lineDash=o.lineDash,e.fill=void 0}))}},e.prototype.updateLabels=function(e){var t=this,r=e.ticks,o=e.tickLineGroupSelection,n=e.sideFlag,i=e.parallelFlipRotation,a=e.regularFlipRotation,s=this,l=s.label,c=s.label.parallel,u=s.scale,p=s.tick,d=s.requestedRange,g=Math.min.apply(Math,xr(d)),f=Math.max.apply(Math,xr(d)),y=0,m=l.rotation?or(nr(l.rotation)):0,b=!m&&i>=0&&i<=Math.PI?-1:1,w=!m&&a>=0&&a<=Math.PI?-1:1;this.fractionDigits=r.fractionDigits>=0?r.fractionDigits:0;var C=new Map,O=0,S=!1,E=!1,x=f-g,R=o.selectByClass(B).each((function(e,o,n){var i=o.tick;e.fontStyle=l.fontStyle,e.fontWeight=l.fontWeight,e.fontSize=l.fontSize,e.fontFamily=l.fontFamily,e.fill=l.color,e.text=t.formatTickDatum(i,n);var a=""===e.text||null==e.text;C.set(n,a?null:e.computeBBox()),a||(O++,0===n&&e.translationY===u.range[0]?S=!0:n===r.length-1&&e.translationY===u.range[1]&&(E=!0))})),T=n*(p.size+l.padding),A=x/O,P=function(e,t){var r,o,n=!1,i=e.size-1;try{for(var a=Rr(e.entries()),s=a.next();!s.done;s=a.next()){var l=Er(s.value,2),c=l[0],u=l[1];if(null!=u){var p=0===c&&S||c===i&&E?2:1,d=t?u.width/p:u.height/p;(d<=0?0:d+12)>A&&(n=!0)}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return n}(C,c);void 0===l.rotation&&!0===l.autoRotate&&P&&(y=or(nr(l.autoRotateAngle)));var _=c?b*Math.PI/2:-1===w?Math.PI:0,D=c&&!m?n*b==-1?"hanging":"bottom":"middle",M=m>0&&m<=Math.PI||y>0&&y<=Math.PI?-1:1,N=c?m||y?n*M==-1?"end":"start":"center":n*w==-1?"end":"start",I=[],L=_+m+y,k=new v;return L&&v.updateTransformMatrix(k,1,1,L,0,0),R.each((function(e,t){if(""!==e.text&&null!=e.text){if(e.textBaseline=D,e.textAlign=N,e.x=T,e.rotationCenterX=T,e.rotation=L,!(""===e.text||null==e.text)){var r=e.computeBBox(),o=r.width,n=void 0===o?0:o,i=r.height,a=void 0===i?0:i,s=t.translationY,l=new h(T,s,0,0);k.transformBBox(l,0,r);var c=r.x,u=void 0===c?0:c,p=r.y,d=void 0===p?0:p;I.push({point:{x:u,y:d,size:0},label:{width:n,height:a,text:e.text}})}}else e.visible=!1})),{labelData:I,rotated:!(!m&&!y)}},e.prototype.updateLine=function(){var e=this.lineNode,t=this.requestedRange;e.x1=0,e.x2=0,e.y1=t[0],e.y2=t[1],e.strokeWidth=this.line.width,e.stroke=this.line.color,e.visible=!0},e.prototype.updateTitle=function(e){var t,r=e.ticks,o=this,n=o.label,i=o.rotation,a=o.title,s=o.lineNode,l=o.requestedRange,c=o.tickGroup,u=o.lineGroup;if(a){var p=!1;if(a.enabled&&s.visible){p=!0;var d=n.mirrored?1:-1,g=or(i),h=Fe.PADDING,f=a.node,v=-1===d&&g>Math.PI&&g<2*Math.PI?-1:1;f.rotation=v*d*Math.PI/2,f.x=Math.floor(v*d*(l[0]+l[1])/2);var y=u.computeBBox(),m=0===i?y.width:y.height;if((null===(t=r)||void 0===t?void 0:t.length)>0){var b=c.computeBBox(),w=0===i?b.width:b.height;Math.abs(w)<1/0&&(m+=w)}f.y=-1===d?Math.floor(v*(-h-m)):Math.floor(-h-m),f.textBaseline=1===v?"bottom":"top"}a.node.visible=p}},e.prototype.formatTickDatum=function(e,t){var r=this.label,o=this.labelFormatter,n=this.fractionDigits,i=this.getMeta();return r.formatter?r.formatter({value:n>=0?e:String(e),index:t,fractionDigits:n,formatter:o,axis:i}):o?o(e):"number"==typeof e&&n>=0?e.toFixed(n):String(e)},e.prototype.formatDatum=function(e){return String(e)},e.prototype.computeBBox=function(){return this.axisGroup.computeBBox()},e.prototype.initCrossLine=function(e){e.scale=this.scale,e.gridLength=this.gridLength},e.prototype.isAnySeriesActive=function(){return!1},Sr([K(oe)],e.prototype,"nice",void 0),Sr([K(_r)],e.prototype,"gridStyle",void 0),Sr([K(fe(0))],e.prototype,"thickness",void 0),e}(),Fr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Gr=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},jr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},zr=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(jr(arguments[t]));return e};function Br(e){return e===Dr.X?Dr.Y:Dr.X}!function(e){e.X="x",e.Y="y"}(Dr||(Dr={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e.Angle="angle",e.Radius="radius"}(Mr||(Mr={}));var Vr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.keys=[],t.direction=Dr.Y,t.boundSeries=[],t.includeInvisibleDomains=!1,t._position=Mr.Left,t}return Fr(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return this.constructor.type||""},enumerable:!0,configurable:!0}),t.prototype.getMeta=function(){return{id:this.id,direction:this.direction,boundSeries:this.boundSeries}},t.prototype.useCalculatedTickCount=function(){return this.scale instanceof wt},Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(e){if(this._position!==e)switch(this._position=e,e){case Mr.Top:this.direction=Dr.X,this.rotation=-90,this.label.mirrored=!0,this.label.parallel=!0;break;case Mr.Right:this.direction=Dr.Y,this.rotation=0,this.label.mirrored=!0,this.label.parallel=!1;break;case Mr.Bottom:this.direction=Dr.X,this.rotation=-90,this.label.mirrored=!1,this.label.parallel=!0;break;case Mr.Left:this.direction=Dr.Y,this.rotation=0,this.label.mirrored=!1,this.label.parallel=!1}},enumerable:!0,configurable:!0}),t.prototype.calculateDomain=function(){var e,t=this.direction,r=this.boundSeries,o=this.includeInvisibleDomains;if(this.linkedTo)this.dataDomain=this.linkedTo.dataDomain;else{var n=[];r.filter((function(e){return o||e.isEnabled()})).forEach((function(e){n.push(e.getDomain(t))}));var i=(e=new Array).concat.apply(e,zr(n));this.dataDomain=this.normaliseDataDomain(i)}},t.prototype.normaliseDataDomain=function(e){return e},t.prototype.isAnySeriesActive=function(){var e=this;return this.boundSeries.some((function(t){return e.includeInvisibleDomains||t.isEnabled()}))},Gr([K(be)],t.prototype,"keys",void 0),Gr([K(Ne)],t.prototype,"_position",void 0),t}(kr);function Wr(e,t){var r,o,n,i,a,s,l=Math.floor(e[0]),c=e[1];r=l,o=c,n=t,i=Math.abs(o-r)/(n-1),a=Math.floor(Math.log10(i)),s=Math.pow(10,a);var u=function(e,t,r){return function(e){var t=Math.floor(Math.log10(e)),r=Math.pow(10,t),o=e/r*10;if(o>0&&o<=1)return r/10;if(o>1&&o<=2)return 2*r/10;if(o>1&&o<=5)return 5*r/10;if(o>5&&o<=10)return 10*r/10;if(o>10&&o<=20)return 20*r/10;if(o>20&&o<=40)return 40*r/10;if(o>40&&o<=50)return 50*r/10;if(o>50&&o<=100)return 100*r/10;return o}((t-e)/(r-1))}(l=Math.floor(r/s)*s,c,t);return[[l,c=l+(t-1)*u],function(e,t,r){for(var o=Math.floor(Math.log10(t)),n=t>0&&t<1?Math.abs(o):0,i=Math.pow(10,n),a=new ot(n),s=0;s<r;s++){var l=e+t*s;a[s]=Math.round(l*i)/i}return a}(l,u,t)]}var Hr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ur=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Kr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a};function Yr(e,t){return Y((function(r){return"number"==typeof r&&(isNaN(r)||Number.isFinite(r))&&(void 0===e||r>=e)&&(void 0===t||r<=t)}),"expecting a finite Number"+(void 0!==e?", more than or equal to "+e:"")+(void 0!==t?", less than or equal to "+t:""))}var Xr=function(e){function t(t){void 0===t&&(t=new wt);var r=e.call(this,t)||this;return r.min=NaN,r.max=NaN,r.scale.clamper=Xe,r}return Hr(t,e),t.prototype.normaliseDataDomain=function(e){var t=this.min,r=this.max;return e.length>2&&(e=Et(e,Pt,Number)||[NaN,NaN]),isNaN(t)||(e=[t,e[1]]),isNaN(r)||(e=[e[0],r]),e[0]>e[1]&&(e=[]),this.scale.clamp=!0,e},t.prototype.formatDatum=function(e){return"number"==typeof e?e.toFixed(2):(dr((function(){return console.warn("AG Charts - Data contains Date objects which are being plotted against a number axis, please only use a number axis for numbers.")}),"number axis config used with Date objects"),String(e))},t.prototype.updateSecondaryAxisTicks=function(e){if(null==this.dataDomain)throw new Error("AG Charts - dataDomain not calculated, cannot perform tick calculation.");var t=Kr(Wr(this.dataDomain,null!=e?e:0),2),r=t[0],o=t[1];return this.scale.domain=r,o},t.className="NumberAxis",t.type="number",Ur([K(Z(Yr(),$("max")))],t.prototype,"min",void 0),Ur([K(Z(Yr(),ee("min")))],t.prototype,"max",void 0),t}(Vr),qr=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Qr=function(){function e(){this.type="band",this.index=new Map,this.ordinalRange=[],this._domain=[],this._range=[0,1],this._bandwidth=1,this._rawBandwidth=1,this._paddingInner=0,this._paddingOuter=0,this._round=!1,this._align=.5}return Object.defineProperty(e.prototype,"domain",{get:function(){return this._domain},set:function(e){var t=this._domain;t.length=0,this.index=new Map;var r=this.index;e.forEach((function(e){void 0===r.get(e)&&r.set(e,t.push(e)-1)})),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return this._range},set:function(e){this._range[0]=e[0],this._range[1]=e[1],this.rescale()},enumerable:!0,configurable:!0}),e.prototype.ticks=function(){return this._domain},e.prototype.convert=function(e){var t=this.index.get(e);if(void 0===t)return NaN;var r=this.ordinalRange[t];return void 0===r?NaN:r},Object.defineProperty(e.prototype,"bandwidth",{get:function(){return this._bandwidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rawBandwidth",{get:function(){return this._rawBandwidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this._paddingInner},set:function(e){e=Math.max(0,Math.min(1,e)),this._paddingInner=e,this._paddingOuter=e,this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingInner",{get:function(){return this._paddingInner},set:function(e){this._paddingInner=Math.max(0,Math.min(1,e)),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingOuter",{get:function(){return this._paddingOuter},set:function(e){this._paddingOuter=Math.max(0,Math.min(1,e)),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{get:function(){return this._round},set:function(e){this._round=e,this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this._align},set:function(e){this._align=Math.max(0,Math.min(1,e)),this.rescale()},enumerable:!0,configurable:!0}),e.prototype.rescale=function(){var e,t=this._domain.length;if(t){var r=qr(this._range,2),o=r[0],n=r[1],i=n<o;i&&(o=(e=qr([n,o],2))[0],n=e[1]);var a=(n-o)/Math.max(1,t-this._paddingInner+2*this._paddingOuter),s=a;this._round&&(s=Math.floor(s)),o+=(n-o-s*(t-this._paddingInner))*this._align,this._bandwidth=s*(1-this._paddingInner),this._rawBandwidth=a*(1-this._paddingInner),this._round&&(o=Math.round(o),this._bandwidth=Math.round(this._bandwidth));for(var l=[],c=0;c<t;c++)l.push(o+s*c);i&&l.reverse(),this.ordinalRange=l}},e}(),Zr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Jr=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},$r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},eo=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($r(arguments[t]));return e},to=function(e){function t(){var t=e.call(this,new Qr)||this;return t._paddingOverrideEnabled=!1,t.groupPaddingInner=.1,t.includeInvisibleDomains=!0,t}return Zr(t,e),Object.defineProperty(t.prototype,"paddingInner",{get:function(){return this._paddingOverrideEnabled=!0,this.scale.paddingInner},set:function(e){this._paddingOverrideEnabled=!0,this.scale.paddingInner=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paddingOuter",{get:function(){return this.scale.paddingOuter},set:function(e){this.scale.paddingOuter=e},enumerable:!0,configurable:!0}),t.prototype.normaliseDataDomain=function(e){var t=new Set(e);return new(Array.bind.apply(Array,eo([void 0],t.values())))},t.prototype.calculateDomain=function(){this._paddingOverrideEnabled||(this.boundSeries.some((function(e){return["bar","column"].includes(e.type)}))?(this.scale.paddingInner=.2,this.scale.paddingOuter=.3):(this.scale.paddingInner=1,this.scale.paddingOuter=0));return e.prototype.calculateDomain.call(this)},t.className="CategoryAxis",t.type="category",Jr([K(fe(0,1))],t.prototype,"groupPaddingInner",void 0),t}(Vr),ro=function(){function e(e,t,r){void 0===e&&(e=""),void 0===r&&(r=0),this.x=0,this.y=0,this.subtreeLeft=NaN,this.subtreeRight=NaN,this.screenX=0,this.screenY=0,this.children=[],this.leafCount=0,this.prelim=0,this.mod=0,this.ancestor=this,this.change=0,this.shift=0,this.label=e,this.parent=t,this.depth=t?t.depth+1:0,this.number=r}return e.prototype.getLeftSibling=function(){return this.number>0&&this.parent?this.parent.children[this.number-1]:void 0},e.prototype.getLeftmostSibling=function(){return this.number>0&&this.parent?this.parent.children[0]:void 0},e.prototype.nextLeft=function(){return this.children?this.children[0]:this.thread},e.prototype.nextRight=function(){return this.children?this.children[this.children.length-1]:this.thread},e.prototype.getSiblings=function(){var e=this;return this.parent?this.parent.children.filter((function(t,r){return r!==e.number})):[]},e}();function oo(e,t){void 0===t&&(t=!0);var r=new ro,o=0;return t&&e.forEach((function(e){return o=Math.max(o,e.labels.length)})),e.forEach((function(e){if(t)for(;e.labels.length<o;)e.labels.unshift("");!function(e,t){var r=t.labels.slice().reverse(),o=r.length-1;r.forEach((function(t,r){var n=e.children,i=Ot(n,(function(e){return e.label===t})),a=r!==o;if(i&&a)e=i;else{var s=new ro(t,e);s.number=n.length,n.push(s),a&&(e=s)}}))}(r,e)})),r}function no(e,t,r){var o=r/(t.number-e.number);t.change-=o,t.shift+=r,e.change+=o,t.prelim+=r,t.mod+=r}function io(e,t,r){return t.getSiblings().indexOf(e.ancestor)>=0?e.ancestor:r}function ao(e,t){var r=e.children;if(r.length){var o=r[0];r.forEach((function(e){ao(e,t),o=function(e,t,r){var o=e.getLeftSibling();if(o){for(var n=e,i=e,a=o,s=i.getLeftmostSibling(),l=i.mod,c=n.mod,u=a.mod,p=s.mod;a.nextRight()&&i.nextLeft();){a=a.nextRight(),i=i.nextLeft(),s=s.nextLeft(),(n=n.nextRight()).ancestor=e;var d=a.prelim+u-(i.prelim+l)+r;d>0&&(no(io(a,e,t),e,d),l+=d,c+=d),u+=a.mod,l+=i.mod,p+=s.mod,c+=n.mod}a.nextRight()&&!n.nextRight()?(n.thread=a.nextRight(),n.mod+=u-c):(i.nextLeft()&&!s.nextLeft()&&(s.thread=i.nextLeft(),s.mod+=l-p),t=e)}return t}(e,o,t)})),function(e){var t=e.children;if(t)for(var r=0,o=0,n=t.length-1;n>=0;n--){var i=t[n];i.prelim+=r,i.mod+=r,o+=i.change,r+=i.shift+o}}(e);var n=(r[0].prelim+r[r.length-1].prelim)/2;(i=e.getLeftSibling())?(e.prelim=i.prelim+t,e.mod=e.prelim-n):e.prelim=n}else{var i=e.getLeftSibling();e.prelim=i?i.prelim+t:0}}var so=function(){function e(){this.top=1/0,this.right=-1/0,this.bottom=-1/0,this.left=1/0}return e.prototype.update=function(e,t){var r=t(e),o=r.x,n=r.y;o>this.right&&(this.right=o),o<this.left&&(this.left=o),n>this.bottom&&(this.bottom=n),n<this.top&&(this.top=n)},e}();function lo(e){var t=new co;return ao(e,1),function e(t,r,o){t.x=t.prelim+r,t.y=t.depth,o.update(t),t.children.forEach((function(n){return e(n,r+t.mod,o)}))}(e,-e.prelim,t),function e(t){var r=t.children,o=0;r.forEach((function(t){e(t),t.children.length?o+=t.leafCount:o++})),t.leafCount=o,r.length?(t.subtreeLeft=r[0].subtreeLeft,t.subtreeRight=r[t.children.length-1].subtreeRight,t.x=(t.subtreeLeft+t.subtreeRight)/2):(t.subtreeLeft=t.x,t.subtreeRight=t.x)}(e),t}var co=function(){function e(){this.dimensions=new so,this.leafCount=0,this.nodes=[],this.leafNodes=[],this.nonLeafNodes=[],this.depth=0}return e.prototype.update=function(e){this.dimensions.update(e,(function(e){return{x:e.x,y:e.y}})),e.children.length?this.nonLeafNodes.push(e):(this.leafCount++,this.leafNodes.push(e)),e.depth>this.depth&&(this.depth=e.depth),this.nodes.push(e)},e.prototype.resize=function(e,t,r,o,n){void 0===r&&(r=0),void 0===o&&(o=0),void 0===n&&(n=!1);var i=this.leafCount-1,a=this.depth,s=this.dimensions,l=1,c=1;if(e>0&&i){var u=(s.right-s.left)/i;l=e/i/u,n&&(l=-l)}if(t>0&&a){var p=(s.bottom-s.top)/a;c=t/a/p}var d=new so;this.nodes.forEach((function(e){e.screenX=e.x*l,e.screenY=e.y*c,d.update(e,(function(e){return{x:e.screenX,y:e.screenY}}))}));var g=-d.left,h=-d.top;this.nodes.forEach((function(e){e.screenX+=g+r,e.screenY+=h+o}))},e}(),uo=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),po=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},go=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},ho=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(go(arguments[t]));return e},fo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.grid=!1,t}return uo(t,e),po([K(oe)],t.prototype,"grid",void 0),t}(Lr),vo=function(e){function t(){var t=e.call(this,new Qr)||this;t.tickScale=new Qr,t.translation={x:0,y:0},t.line=new Nr,t.label=new fo,t.labelColor="rgba(87, 87, 87, 1)",t.includeInvisibleDomains=!0;var r=t,o=r.axisGroup,n=r.gridlineGroup,i=r.tickScale,a=r.scale;return a.paddingOuter=.1,a.paddingInner=2*a.paddingOuter,t.requestedRange=a.range.slice(),t.refreshScale(),i.paddingInner=1,i.paddingOuter=0,t.gridLineSelection=Xt.select(n).selectAll(),t.axisLineSelection=Xt.select(o).selectAll(),t.separatorSelection=Xt.select(o).selectAll(),t.labelSelection=Xt.select(o).selectAll(),t}return uo(t,e),Object.defineProperty(t.prototype,"range",{get:function(){return this.requestedRange.slice()},set:function(e){this.requestedRange=e.slice(),this.updateRange()},enumerable:!0,configurable:!0}),t.prototype.updateRange=function(){var e=this.requestedRange,t=this.visibleRange,r=this.scale,o=(e[1]-e[0])/(t[1]-t[0]),n=o*t[0],i=e[0]-n;this.tickScale.range=r.range=[i,i+o],this.resizeTickTree()},t.prototype.resizeTickTree=function(){var e=this.scale,t=e.domain.length?[e.convert(e.domain[0]),e.convert(e.domain[e.domain.length-1])]:e.range,r=this.tickTreeLayout,o=this.lineHeight;r&&r.resize(Math.abs(t[1]-t[0]),r.depth*o,(Math.min(t[0],t[1])||0)+(e.bandwidth||0)/2,-r.depth*o,t[1]-t[0]<0)},Object.defineProperty(t.prototype,"lineHeight",{get:function(){return 1.5*this.label.fontSize},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"gridLength",{get:function(){return this._gridLength},set:function(e){(this._gridLength&&!e||!this._gridLength&&e)&&(this.gridLineSelection=this.gridLineSelection.remove().setData([]),this.labelSelection=this.labelSelection.remove().setData([])),this._gridLength=e},enumerable:!0,configurable:!0}),t.prototype.calculateDomain=function(){var e,t=this.direction,r=this.boundSeries,o=[],n=void 0;r.filter((function(e){return e.visible})).forEach((function(e){if(t===Dr.X)if(void 0===n){var r=e.getDomain(t);o.push(r),n="number"==typeof r[0]}else n&&o.push(e.getDomain(t));else o.push(e.getDomain(t))}));var i=(e=new Array).concat.apply(e,ho(o)),a=Et(i,Pt)||i;this.dataDomain=this.normaliseDataDomain(a)},t.prototype.normaliseDataDomain=function(e){var t=e.filter((function(e,t,r){return r.indexOf(e)===t})),r=oo(t);this.tickTreeLayout=lo(r);var o=t.slice();return o.push(""),this.tickScale.domain=o,this.resizeTickTree(),t},t.prototype.update=function(e){var t=this;this.calculateDomain();var r=this.scale,o=this.label,n=this.tickScale,i=this.requestedRange;r.domain=this.dataDomain;var a=r.range[0],s=r.range[1],l=Math.abs(s-a)/r.domain.length||0,c=o.parallel,u=nr(this.rotation),p=Math.abs(Math.cos(u))<1e-8,d=this.label.rotation?or(nr(this.label.rotation)):0;this.updatePosition();var g=this.title;g&&(g.node.visible=!1);var h=this.lineHeight,f=this.tickTreeLayout,v=r.ticks(),y=f?f.nodes:[],m=!!f&&f.depth>1,b=n.ticks(),w=o.mirrored?1:-1,C=or(u),O=!d&&C>=0&&C<=Math.PI?-1:1,S=or(u-Math.PI/2),E=!d&&S>=0&&S<=Math.PI?-1:1,x=this.gridLineSelection.setData(this.gridLength?b:[]);x.exit.remove();var R=x.enter.append(Zt),T=x.merge(R),A=this.labelSelection.setData(y);A.exit.remove();var P=A.enter.append(B),_=A.merge(P),D=o.formatter,M=new Map,N=0;_.each((function(e,t,r){e.fontStyle=o.fontStyle,e.fontWeight=o.fontWeight,e.fontSize=o.fontSize,e.fontFamily=o.fontFamily,e.fill=o.color,e.textBaseline=-1===O?"bottom":"hanging",e.textAlign="center",e.translationX=t.screenY-.25*o.fontSize,e.translationY=t.screenX,0===r?g&&g.enabled&&v.length>0?(e.visible=!0,e.text=g.text,e.fontSize=g.fontSize,e.fontStyle=g.fontStyle,e.fontWeight=g.fontWeight,e.fontFamily=g.fontFamily,e.textBaseline="hanging"):e.visible=!1:(e.text=D?D({value:String(t.label),index:r}):String(t.label),e.visible=t.screenX>=i[0]&&t.screenX<=i[1]);var n=e.computeBBox();M.set(e.id,n),n.width>N&&(N=n.width)}));var I=w*o.padding,L=c?O*Math.PI/2:-1===E?Math.PI:0,k=this.label.grid,F=[];_.each((function(e,r,o){if(e.x=I,e.rotationCenterX=I,r.children.length){e.translationX-=N-h+t.label.padding;var n=r.leafCount*l;(i=M.get(e.id))&&i.width>n?e.visible=!1:e.rotation=p?L:-Math.PI/2}else{var i;e.rotation=d,e.textAlign="end",e.textBaseline="middle",(i=M.get(e.id))&&i.height>l&&(e.visible=!1)}if(r.parent&&m){var a=r.children.length?r.screenX-r.leafCount*l/2:r.screenX-l/2;if(r.children.length){var s=-N-2*t.label.padding+r.screenY;F.push({y:a,x1:s+h,x2:s,toString:function(){return String(o)}})}else(r.number!==r.children.length-1||k)&&F.push({y:a,x1:0,x2:-N-2*t.label.padding,toString:function(){return String(o)}})}}));var G=0;F.forEach((function(e){return G=Math.min(G,e.x2)})),F.push({y:Math.max(a,s),x1:0,x2:G,toString:function(){return String(F.length)}});var j=this.separatorSelection.setData(F);j.exit.remove();var z=j.enter.append(Zt),V=j.merge(z);this.separatorSelection=V;V.each((function(e,r){e.x1=r.x1,e.x2=r.x2,e.y1=r.y,e.y2=r.y,e.visible=r.y>=i[0]-1e-7&&r.y<=i[1]+1e-7,e.stroke=t.tick.color,e.fill=void 0,e.strokeWidth=1})),this.gridLineSelection=T,this.labelSelection=_;for(var W=f?f.depth+1:1,H=[],U=0;U<W;U++)H.push(U);var K=this.axisLineSelection.setData(H);K.exit.remove();var Y=K.enter.append(Zt),X=K.merge(Y);if(this.axisLineSelection=X,X.each((function(e,r,o){var n=o>0?-N-2*t.label.padding-(o-1)*h:0;e.x1=n,e.x2=n,e.y1=i[0],e.y2=i[1],e.strokeWidth=t.line.width,e.stroke=t.line.color,e.visible=v.length>0&&(0===o||k&&m)})),this.gridLength){var q=this.gridStyle,Q=q.length;T.each((function(e,r,o){var s=Math.round(n.convert(r));e.x1=0,e.x2=-w*t.gridLength,e.y1=s,e.y2=s,e.visible=s>=i[0]&&s<=i[1]&&Math.abs(e.parent.translationY-a)>1;var l=q[o%Q];e.stroke=l.stroke,e.strokeWidth=t.tick.width,e.lineDash=l.lineDash,e.fill=void 0}))}return e},t.className="GroupedCategoryAxis",t.type="groupedCategory",po([K(ge)],t.prototype,"labelColor",void 0),t}(Vr);var yo=new mr((function(e){return e}),(function(e,t){e.setTime(e.getTime()+t)}),(function(e,t){return t.getTime()-e.getTime()})),mo=yo,bo=new Date(0).getFullYear();var wo=new mr((function(e){e.setTime(e.getTime()-e.getMilliseconds())}),(function(e,t){e.setTime(e.getTime()+1e3*t)}),(function(e,t){return(t.getTime()-e.getTime())/1e3})),Co=wo;var Oo=new mr((function(e){e.setTime(e.getTime()-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(e.getTime()+6e4*t)}),(function(e,t){return(t.getTime()-e.getTime())/6e4}),(function(e){return Math.floor(e.getTime()/6e4)})),So=Oo;var Eo=new mr((function(e){e.setTime(e.getTime()-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())}),(function(e,t){e.setTime(e.getTime()+36e5*t)}),(function(e,t){return(t.getTime()-e.getTime())/36e5}),(function(e){return Math.floor(e.getTime()/36e5)})),xo=Eo;var Ro=new mr((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){var r=t.getTimezoneOffset()-e.getTimezoneOffset();return(t.getTime()-e.getTime()-6e4*r)/864e5}),(function(e){return Math.floor(e.getTime()/864e5)})),To=Ro;function Ao(e){return new mr((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t.getTime()-e.getTime()-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5}))}var Po=Ao(0),_o=Ao(1),Do=Ao(2),Mo=Ao(3),No=Ao(4),Io=Ao(5),Lo=Ao(6),ko=Po;var Fo=new mr((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return 12*(e.getFullYear()-bo)+e.getMonth()})),Go=Fo;var jo=new mr((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()-bo})),zo=jo;var Bo=new mr((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return e.getUTCDate()-1})),Vo=Bo;var Wo=new mr((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})),Ho=Wo;function Uo(e){return new mr((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t.getTime()-e.getTime())/6048e5}))}var Ko=Uo(0),Yo=Uo(1),Xo=(Uo(2),Uo(3),Uo(4)),qo=(Uo(5),Uo(6),Ko);function Qo(e){if(e.y>=0&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Zo(e){if(e.y>=0&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Jo(e){for(var t={},r=0,o=e.length;r<o;r++)t[e[r].toLowerCase()]=r;return t}function $o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var en,tn=/^\s*\d+/,rn=/^%/,on=/[\\^$*+?|[\]().{}]/g,nn=function(e){return e.replace(on,"\\$&")},an=function(e){return new RegExp("^(?:"+e.map(nn).join("|")+")","i")},sn={"-":"",_:" ",0:"0"};function ln(e,t,r){var o=e<0?"-":"",n=String(o?-e:e),i=n.length;return o+(i<r?new Array(r-i+1).join(t)+n:n)}!function(e){en=function(e){var t=e.dateTime,r=e.date,o=e.time,n=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=an(n),u=Jo(n),p=an(i),d=Jo(i),g=an(a),h=Jo(a),f=an(s),v=Jo(s),y=an(l),m=Jo(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:void 0,d:R,e:R,f:function(e,t){return x(e,t)+"000"},H:function(e,t){return ln(e.getHours(),t,2)},I:function(e,t){return ln(e.getHours()%12||12,t,2)},j:function(e,t){return ln(1+To.count(zo.floor(e),e),t,3)},L:x,m:function(e,t){return ln(e.getMonth()+1,t,2)},M:function(e,t){return ln(e.getMinutes(),t,2)},p:function(e){return n[e.getHours()>=12?1:0]},Q:_,s:D,S:function(e,t){return ln(e.getSeconds(),t,2)},u:function(e){var t=e.getDay();return 0===t?7:t},U:function(e,t){return ln(Po.count(zo.floor(e),e),t,2)},V:function(e,t){var r=e.getDay();e=r>=4||0===r?No.floor(e):No.ceil(e);var o=zo.floor(e);return ln(No.count(o,e)+(4===o.getDay()?1:0),t,2)},w:function(e){return e.getDay()},W:function(e,t){return ln(_o.count(zo.floor(e),e),t,2)},x:void 0,X:void 0,y:function(e,t){return ln(e.getFullYear()%100,t,2)},Y:function(e,t){return ln(e.getFullYear()%1e4,t,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ln(Math.floor(t/60),"0",2)+ln(t%60,"0",2)},"%":P},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:void 0,d:A,e:A,f:function(e,t){return T(e,t)+"000"},H:function(e,t){return ln(e.getUTCHours(),t,2)},I:function(e,t){return ln(e.getUTCHours()%12||12,t,2)},j:function(e,t){return ln(1+Vo.count(Ho.floor(e),e),t,3)},L:T,m:function(e,t){return ln(e.getUTCMonth()+1,t,2)},M:function(e,t){return ln(e.getUTCMinutes(),t,2)},p:function(e){return n[e.getUTCHours()>=12?1:0]},Q:_,s:D,S:function(e,t){return ln(e.getUTCSeconds(),t,2)},u:function(e){var t=e.getUTCDay();return 0===t?7:t},U:function(e,t){return ln(qo.count(Ho.floor(e),e),t,2)},V:function(e,t){var r=e.getUTCDay();e=r>=4||0===r?Xo.floor(e):Xo.ceil(e);var o=Ho.floor(e);return ln(Xo.count(o,e)+(4===o.getUTCDay()?1:0),t,4)},w:function(e){return e.getUTCDay()},W:function(e,t){return ln(Yo.count(Ho.floor(e),e),t,2)},x:void 0,X:void 0,y:function(e,t){return ln(e.getUTCFullYear()%100,t,2)},Y:function(e,t){return ln(e.getUTCFullYear()%1e4,t,4)},Z:function(){return"+0000"},"%":P},C={a:function(e,t,r){var o=g.exec(t.slice(r));return o?(e.w=h[o[0].toLowerCase()],r+o[0].length):-1},A:function(e,t,r){var o=p.exec(t.slice(r));return o?(e.w=d[o[0].toLowerCase()],r+o[0].length):-1},b:function(e,t,r){var o=y.exec(t.slice(r));return o?(e.m=m[o[0].toLowerCase()],r+o[0].length):-1},B:function(e,t,r){var o=f.exec(t.slice(r));return o?(e.m=v[o[0].toLowerCase()],r+o[0].length):-1},c:function(e,r,o){return E(e,t,r,o)},d:N,e:N,f:function(e,t,r){var o=tn.exec(t.slice(r,r+6));return o?(e.L=Math.floor(parseFloat(o[0])/1e3),r+o[0].length):-1},H:M,I:M,j:function(e,t,r){var o=tn.exec(t.slice(r,r+3));return o?(e.m=0,e.d=+o[0],r+o[0].length):-1},L:function(e,t,r){var o=tn.exec(t.slice(r,r+3));return o?(e.L=+o[0],r+o[0].length):-1},m:function(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.m=parseFloat(o[0])-1,r+o[0].length):-1},M:function(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.M=+o[0],r+o[0].length):-1},p:function(e,t,r){var o=c.exec(t.slice(r));return o?(e.p=u[o[0].toLowerCase()],r+o[0].length):-1},Q:function(e,t,r){var o=tn.exec(t.slice(r));return o?(e.Q=+o[0],r+o[0].length):-1},s:function(e,t,r){var o=tn.exec(t.slice(r));return o?(e.Q=1e3*+o[0],r+o[0].length):-1},S:function(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.S=+o[0],r+o[0].length):-1},u:function(e,t,r){var o=tn.exec(t.slice(r,r+1));return o?(e.u=+o[0],r+o[0].length):-1},U:function(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.U=+o[0],r+o[0].length):-1},V:function(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.V=+o[0],r+o[0].length):-1},w:function(e,t,r){var o=tn.exec(t.slice(r,r+1));return o?(e.w=+o[0],r+o[0].length):-1},W:function(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.W=+o[0],r+o[0].length):-1},x:function(e,t,o){return E(e,r,t,o)},X:function(e,t,r){return E(e,o,t,r)},y:function(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.y=+o[0]+(+o[0]>68?1900:2e3),r+o[0].length):-1},Y:function(e,t,r){var o=tn.exec(t.slice(r,r+4));return o?(e.y=+o[0],r+o[0].length):-1},Z:function(e,t,r){var o=/^(Z)|^([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return o?(e.Z=o[1]?0:-(o[2]+(o[3]||"00")),r+o[0].length):-1},"%":function(e,t,r){var o=rn.exec(t.slice(r,r+1));return o?r+o[0].length:-1}};function O(e,t){return function(r){var o=$o(1900);if(E(o,e,r+="",0)==r.length){if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return;if("w"in o||(o.w=1),"Z"in o){var n=(i=Zo($o(o.y))).getUTCDay();i=n>4||0===n?Yo.ceil(i):Yo.floor(i),i=Vo.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7}else{var i;n=(i=t($o(o.y))).getDay();i=n>4||0===n?_o.ceil(i):_o.floor(i),i=To.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7}}else if("W"in o||"U"in o){"w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0);n="Z"in o?Zo($o(o.y)).getUTCDay():t($o(o.y)).getDay();o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(n+5)%7:o.w+7*o.U-(n+6)%7}return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Zo(o)):t(o)}}}function S(e,t){return function(r){var o=[],n=e.length,i=-1,a=0;for(r instanceof Date||(r=new Date(+r));++i<n;)if(37===e.charCodeAt(i)){o.push(e.slice(a,i));var s=e.charAt(++i),l=sn[s];null!=l?s=e.charAt(++i):l="e"===s?" ":"0";var c=t[s];c&&(s=c(r,l)),o.push(s),a=i+1}return o.push(e.slice(a,i)),o.join("")}}function E(e,t,r,o){for(var n=0,i=t.length,a=r.length;n<i;){if(o>=a)return-1;var s=t.charCodeAt(n++);if(37===s){var l=t.charAt(n++),c=C[l in sn?t.charAt(n++):l];if(!c||(o=c(e,r,o))<0)return-1}else if(s!=r.charCodeAt(o++))return-1}return o}function x(e,t){return ln(e.getMilliseconds(),t,3)}function R(e,t){return ln(e.getDate(),t,2)}function T(e,t){return ln(e.getUTCMilliseconds(),t,3)}function A(e,t){return ln(e.getUTCDate(),t,2)}function P(){return"%"}function _(e){return e.getTime()}function D(e){return Math.floor(e.getTime()/1e3)}function M(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.H=+o[0],r+o[0].length):-1}function N(e,t,r){var o=tn.exec(t.slice(r,r+2));return o?(e.d=+o[0],r+o[0].length):-1}return b.x=S(r,b),b.X=S(o,b),b.c=S(t,b),w.x=S(r,w),w.X=S(o,w),w.c=S(t,w),{format:function(e){var t=S(e,b);return t.toString=function(){return e},t},parse:function(e){var t=O(e,Qo);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e,w);return t.toString=function(){return e},t},utcParse:function(e){var t=O(e,Zo);return t.toString=function(){return e},t}}}(e)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var cn,un,pn=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),dn=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},gn=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},hn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(gn(arguments[t]));return e};!function(e){e[e.MILLISECOND=0]="MILLISECOND",e[e.SECOND=1]="SECOND",e[e.MINUTE=2]="MINUTE",e[e.HOUR=3]="HOUR",e[e.SHORT_MONTH=4]="SHORT_MONTH",e[e.MONTH=5]="MONTH",e[e.YEAR=6]="YEAR"}(un||(un={}));var fn=((cn={})[un.MILLISECOND]=".%L",cn[un.SECOND]=":%S",cn[un.MINUTE]="%I:%M",cn[un.HOUR]="%I %p",cn[un.SHORT_MONTH]="%b %d",cn[un.MONTH]="%B",cn[un.YEAR]="%Y",cn),vn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="time",t.year=zo,t.month=Go,t.week=ko,t.day=To,t.hour=xo,t.minute=So,t.second=Co,t.millisecond=mo,t.format=en.format,t.tickIntervals=[[t.second,1,1e3],[t.second,5,5e3],[t.second,15,15e3],[t.second,30,3e4],[t.minute,1,6e4],[t.minute,5,3e5],[t.minute,15,9e5],[t.minute,30,18e5],[t.hour,1,36e5],[t.hour,3,108e5],[t.hour,6,216e5],[t.hour,12,432e5],[t.day,1,864e5],[t.day,2,1728e5],[t.week,1,6048e5],[t.month,1,2592e6],[t.month,3,7776e6],[t.year,1,31536e6]],t._domain=[new Date(2e3,0,1),new Date(2e3,0,2)],t}return pn(t,e),t.prototype.calculateDefaultTickFormat=function(t){var r,o,n=un.YEAR,i=function(e){e<n&&(n=e)};try{for(var a=dn(null!=t?t:[]),s=a.next();!s.done;s=a.next()){var l=s.value;this.second.floor(l)<l?i(un.MILLISECOND):this.minute.floor(l)<l?i(un.SECOND):this.hour.floor(l)<l?i(un.MINUTE):this.day.floor(l)<l?i(un.HOUR):this.month.floor(l)<l?i(un.SHORT_MONTH):this.year.floor(l)<l?i(un.MONTH):i(un.YEAR)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}var c=e.prototype.getDomain.call(this),u=Math.min.apply(Math,hn(c)),p=Math.max.apply(Math,hn(c))-u,d=[fn[n]],g=0;switch(n){case un.SECOND:p/6e4>1&&d.push(fn[un.MINUTE]);case un.MINUTE:p/36e5>1&&d.push(fn[un.HOUR]);case un.HOUR:g=d.length,p/864e5>1&&d.push(fn[un.SHORT_MONTH]);case un.SHORT_MONTH:case un.MONTH:p/31536e6>1&&d.push(fn[un.YEAR])}return g<d.length&&(d=hn(d.slice(0,g),[d.slice(g).join(" ")])),g>0&&g<(d=hn(d.slice(0,g).reverse(),d.slice(g))).length&&d.splice(g,0," "),d.join("")},t.prototype.defaultTickFormat=function(e){var t=this,r=this.calculateDefaultTickFormat(e);return function(e){return t.format(r)(e)}},t.prototype.tickInterval=function(e){var t,r=e.interval,o=e.start,n=e.stop,i=e.step,a=e.offset;if("number"==typeof r){var s=Math.max(0,r-(null!=a?a:0)),l=this.tickIntervals,c=Math.abs(n-o)/s,u=He(l,c,(function(e){return e[2]}));u===l.length?(i=tt(o/31536e6,n/31536e6,s),r=this.year):u?(r=(t=gn(l[c/l[u-1][2]<l[u][2]/c?u-1:u],2))[0],i=t[1]):(i=Math.max(tt(o,n,r),1),r=this.millisecond)}return null==i?r:r.every(i)},Object.defineProperty(t.prototype,"domain",{get:function(){return e.prototype.getDomain.call(this).map((function(e){return new Date(e)}))},set:function(t){e.prototype.setDomain.call(this,t.map((function(e){return e instanceof Date?+e:+new Date(+e)})))},enumerable:!0,configurable:!0}),t.prototype.invert=function(t){return new Date(e.prototype.invert.call(this,t))},t.prototype.ticks=function(t,r){void 0===t&&(t=10);var o=e.prototype.getDomain.call(this),n=o[0],i=o[o.length-1],a=i<n;if(a){var s=n;n=i,i=s}var l=this.tickInterval({interval:t,start:n,stop:i,offset:r}),c=l?l.range(n,i+1):[];return a?c.reverse():c},t.prototype.tickFormat=function(e){var t=e.ticks,r=e.specifier;return null==r?this.defaultTickFormat(t):this.format(r)},t.prototype.nice=function(t){void 0===t&&(t=10);var r=e.prototype.getDomain.call(this),o=this.tickInterval({interval:t,start:r[0],stop:r[r.length-1]});o&&(this.domain=this._nice(r,o))},t.prototype._nice=function(e,t){var r,o,n=0,i=(e=e.slice()).length-1,a=e[n],s=e[i];return s<a&&(n=(r=gn([i,n],2))[0],i=r[1],a=(o=gn([s,a],2))[0],s=o[1]),e[n]=t.floor(a),e[i]=t.ceil(s),e},t}(qe),yn=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),mn=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},bn=function(e){function t(){var t=e.call(this,new vn)||this;t.datumFormat="%m/%d/%y, %H:%M:%S",t.min=void 0,t.max=void 0;var r=t.scale;return r.clamp=!0,r.clamper=Xe,t.refreshScale(),t.datumFormatter=r.tickFormat({specifier:t.datumFormat}),t}return yn(t,e),t.prototype.normaliseDataDomain=function(e){var t=this.min,r=this.max;return"number"==typeof t&&(t=new Date(t)),"number"==typeof r&&(r=new Date(r)),e.length>2&&(e=(Et(e,Pt,Number)||[0,1e3]).map((function(e){return new Date(e)}))),t instanceof Date&&(e=[t,e[1]]),r instanceof Date&&(e=[e[0],r]),e[0]>e[1]&&(e=[]),e},t.prototype.onLabelFormatChange=function(t,r){r?e.prototype.onLabelFormatChange.call(this,t,r):this.labelFormatter=this.scale.tickFormat({ticks:t})},t.prototype.formatDatum=function(e){return this.datumFormatter(e)},t.className="TimeAxis",t.type="time",mn([K(Z(ue,$("max")))],t.prototype,"min",void 0),mn([K(Z(ue,ee("min")))],t.prototype,"max",void 0),t}(Vr),wn=function(){function e(e){var t=e.width,r=void 0===t?600:t,o=e.height,n=void 0===o?300:o,i=e.overrideDevicePixelRatio,a=void 0===i?void 0:i;this.enabled=!0,this.opacity=1,this._pixelRatio=NaN,this._width=0,this._height=0,this.canvas=new OffscreenCanvas(r,n),this.context=this.canvas.getContext("2d"),this.imageSource=this.canvas.transferToImageBitmap(),this.setPixelRatio(a),this.resize(r,n)}return e.isSupported=function(){return null!=window.OffscreenCanvas},e.prototype.snapshot=function(){this.imageSource.close(),this.imageSource=this.canvas.transferToImageBitmap()},e.prototype.destroy=function(){this.imageSource.close()},e.prototype.clear=function(){this.context.save(),this.context.resetTransform(),this.context.clearRect(0,0,this.width,this.height),this.context.restore()},Object.defineProperty(e.prototype,"pixelRatio",{get:function(){return this._pixelRatio},enumerable:!0,configurable:!0}),e.prototype.setPixelRatio=function(e){var t=e||window.devicePixelRatio;t!==this.pixelRatio&&(F.overrideScale(this.context,t),this._pixelRatio=t,this.resize(this.width,this.height))},Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){if(e>0&&t>0){var r=this.canvas,o=this.context,n=this.pixelRatio;r.width=Math.round(e*n),r.height=Math.round(t*n),o.resetTransform(),this._width=e,this._height=t}},e}(),Cn=r(68),On=function(){return(On=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Sn=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},En=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},xn=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Rn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(xn(arguments[t]));return e},Tn=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},An=function(){function e(e){var t,r;this.id=m(this),this.layers=[],this._nextZIndex=0,this._nextLayerId=0,this._dirty=!1,this._root=null,this.debug={dirtyTree:!1,stats:!1,renderBoundingBoxes:!1,consoleLog:!1};var o=e.document,n=void 0===o?window.document:o,i=e.mode,a=void 0===i?Object(Cn.a)("agChartsSceneRenderModel")||"adv-composite":i,s=e.width,l=e.height,c=e.overrideDevicePixelRatio,u=void 0===c?void 0:c;this.overrideDevicePixelRatio=u,this.opts={document:n,mode:a},this.debug.stats=null!=(t=Object(Cn.a)("agChartsSceneStats"))&&t,this.debug.dirtyTree=null!=(r=Object(Cn.a)("agChartsSceneDirtyTree"))&&r,this.canvas=new F({document:n,width:s,height:l,overrideDevicePixelRatio:u}),this.ctx=this.canvas.context}return Object.defineProperty(e.prototype,"container",{get:function(){return this.canvas.container},set:function(e){this.canvas.container=e},enumerable:!0,configurable:!0}),e.prototype.download=function(e,t){this.canvas.download(e,t)},e.prototype.getDataURL=function(e){return this.canvas.getDataURL(e)},Object.defineProperty(e.prototype,"width",{get:function(){return this.pendingSize?this.pendingSize[0]:this.canvas.width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.pendingSize?this.pendingSize[1]:this.canvas.height},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){e=Math.round(e),t=Math.round(t);var r=e<=0||t<=0;return!(e===this.width&&t===this.height||r)&&(this.pendingSize=[e,t],this.markDirty(),!0)},e.prototype.addLayer=function(e){var t,r=this.opts.mode;if(["composite","dom-composite","adv-composite"].includes(r)){var o=e||{},n=o.zIndex,i=void 0===n?this._nextZIndex++:n,a=o.name,s=o.zIndexSubOrder,l=this.width,c=this.height,u=this.overrideDevicePixelRatio,p="dom-composite"===r,d="adv-composite"===r&&wn.isSupported()?new wn({width:l,height:c,overrideDevicePixelRatio:u}):new F({document:this.opts.document,width:l,height:c,domLayer:p,zIndex:i,name:a,overrideDevicePixelRatio:u}),g={id:this._nextLayerId++,name:a,zIndex:i,zIndexSubOrder:s,canvas:d};if(i>=this._nextZIndex&&(this._nextZIndex=i+1),this.layers.push(g),this.sortLayers(),p){var h=this.layers.map((function(e){return e.canvas})).filter((function(e){return e instanceof F})),f=h.findIndex((function(e){return e===d}));(null!=(t=h[f-1])?t:this.canvas).element.insertAdjacentElement("afterend",d.element)}return this.debug.consoleLog&&console.log({layers:this.layers}),g.canvas}},e.prototype.removeLayer=function(e){var t=this.layers.findIndex((function(t){return t.canvas===e}));t>=0&&(this.layers.splice(t,1),e.destroy(),this.markDirty(),this.debug.consoleLog&&console.log({layers:this.layers}))},e.prototype.moveLayer=function(e,t,r){var o=this.layers.find((function(t){return t.canvas===e}));o&&(o.zIndex=t,o.zIndexSubOrder=r,this.sortLayers(),this.markDirty(),this.debug.consoleLog&&console.log({layers:this.layers}))},e.prototype.sortLayers=function(){this.layers.sort((function(e,t){var r,o;return We(Rn([e.zIndex],null!=(r=e.zIndexSubOrder)?r:[void 0,void 0],[e.id]),Rn([t.zIndex],null!=(o=t.zIndexSubOrder)?o:[void 0,void 0],[t.id]),Ve)}))},e.prototype.markDirty=function(){this._dirty=!0},Object.defineProperty(e.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(e){e!==this._root&&(this._root&&this._root._setScene(),this._root=e,e&&(null===e.parent&&e.scene&&e.scene!==this&&(e.scene.root=null),e._setScene(this)),this.markDirty())},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e,t;this.container=void 0;var r=this.layers;try{for(var o=Tn(r),n=o.next();!n.done;n=o.next()){var i=n.value;i.canvas.destroy(),delete i.canvas}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}r.splice(0,r.length)},e.prototype.render=function(e){return Sn(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m;return En(this,(function(b){return r=(t=e||{}).debugSplitTimes,o=void 0===r?[performance.now()]:r,n=t.extraDebugStats,i=void 0===n?{}:n,s=(a=this).canvas,l=a.ctx,c=a.root,u=a.layers,p=a.pendingSize,d=a.opts.mode,p&&((m=this.canvas).resize.apply(m,Rn(p)),this.layers.forEach((function(e){var t;return(t=e.canvas).resize.apply(t,Rn(p))})),this.pendingSize=void 0),c&&!c.visible?(this._dirty=!1,[2]):c&&!this.dirty?(this.debug.consoleLog&&console.log("no-op",{redrawType:w.b[c.dirty],tree:this.buildTree(c)}),this.debugStats(o,l,void 0,i),[2]):(g={ctx:l,forceRender:!0,resized:!!p},"detailed"===this.debug.stats&&(g.stats={layersRendered:0,layersSkipped:0,nodesRendered:0,nodesSkipped:0}),h=!1,(!c||c.dirty>=w.b.TRIVIAL)&&(h=!0,s.clear()),c&&this.debug.dirtyTree&&(f=this.buildDirtyTree(c),v=f.dirtyTree,y=f.paths,console.log({dirtyTree:v,paths:y})),c&&h&&(this.debug.consoleLog&&console.log("before",{redrawType:w.b[c.dirty],canvasCleared:h,tree:this.buildTree(c)}),c.visible&&(l.save(),c.render(g),l.restore())),"dom-composite"!==d&&u.length>0&&h&&(l.save(),l.setTransform(1/s.pixelRatio,0,0,1/s.pixelRatio,0,0),u.forEach((function(e){var t=e.canvas,r=t.imageSource,o=t.enabled,n=t.opacity;o&&(l.globalAlpha=n,l.drawImage(r,0,0))})),l.restore()),this._dirty=!1,this.debugStats(o,l,g.stats,i),c&&this.debug.consoleLog&&console.log("after",{redrawType:w.b[c.dirty],canvasCleared:h,tree:this.buildTree(c)}),[2])}))}))},e.prototype.debugStats=function(e,t,r,o){var n,i;void 0===o&&(o={});var a=performance.now();if(this.debug.stats){var s=e[0];e.push(a);var l=function(e,t){var r=e+t;return e+" / "+r+" ("+Math.round(100*e/r)+"%)"},c=function(e,t){return Math.round(100*(t-e))/100+"ms"},u=null!=r?r:{},p=u.layersRendered,d=void 0===p?0:p,g=u.layersSkipped,h=void 0===g?0:g,f=u.nodesRendered,v=void 0===f?0:f,y=u.nodesSkipped,m=void 0===y?0:y,b=e.map((function(t,r){return r>0?c(e[r-1],t):null})).filter((function(e){return null!=e})).join(" + "),w=Object.entries(o).map((function(e){var t=xn(e,2);return t[0]+": "+t[1]})).join(" ; "),C=[c(s,a)+" ("+b+")",""+w,"detailed"===this.debug.stats?"Layers: "+l(d,h):null,"detailed"===this.debug.stats?"Nodes: "+l(v,m):null].filter((function(e){return null!=e}));t.save(),t.fillStyle="white",t.fillRect(0,0,200,10+15*C.length),t.fillStyle="black";var O=0;try{for(var S=Tn(C),E=S.next();!E.done;E=S.next()){var x=E.value;t.fillText(x,2,10+15*O++)}}catch(e){n={error:e}}finally{try{E&&!E.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}t.restore()}},e.prototype.buildTree=function(e){var t,r=this,o=null!=(t=e instanceof Ut?e.name:null)?t:e.id;return On({name:o,node:e,dirty:w.b[e.dirty]},e.children.map((function(e){return r.buildTree(e)})).reduce((function(t,r){var o=r.name,n=r.node,i=n.visible,a=n.opacity,s=n.zIndex,l=n.zIndexSubOrder;return(!i||a<=0)&&(o="( "+o+" )"),e instanceof Ut&&e.isLayer()&&(o="[ "+o+" ]"),t[[""+(null!=o?o:"<unknown>"),"z: "+s,l&&"zo: "+l.join(" / ")].filter((function(e){return!!e})).join(" ")]=r,t}),{}))},e.prototype.buildDirtyTree=function(e){var t,r=this;if(e.dirty===w.b.NONE)return{dirtyTree:{},paths:[]};var o=e.children.map((function(e){return r.buildDirtyTree(e)})).filter((function(e){return e.paths.length>0})),n=null!=(t=e instanceof Ut?e.name:null)?t:e.id,i=0===o.length?[n]:o.map((function(e){return e.paths})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return n+"."+e}));return{dirtyTree:On({name:n,node:e,dirty:w.b[e.dirty]},o.map((function(e){return e.dirtyTree})).filter((function(e){return void 0!==e.dirty})).reduce((function(e,t){return e[t.name||"<unknown>"]=t,e}),{})),paths:i}},e.className="Scene",e}();function Pn(){var e=!1;return function(t,r){if(!e){var o=["AG Charts - Property ["+t+"] is deprecated.",r].filter((function(e){return null!=e})).join(" ");console.warn(o),e=!0}}}function _n(e,t){var r,o=null===(r=t)||void 0===r?void 0:r.default,n=Pn();return function(t,r){if(!t.hasOwnProperty(r)){var i=Symbol("__"+r+"__");Object.defineProperty(t,r,{get:function(){return this[i]},set:function(t){t!==o&&n(r,e),this[i]=t},enumerable:!0,configurable:!1})}}}function Dn(e){var t=Pn();return function(r,o){if(!r.hasOwnProperty(o)){var n=function(){return t(o,"Use ["+e+"] instead.")};Object.defineProperty(r,o,{get:function(){return n(),this[e]},set:function(t){t!==this[e]&&(n(),this[e]=t)},enumerable:!0,configurable:!1})}}}var Mn,Nn=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),In=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ln=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},kn=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ln(arguments[t]));return e},Fn=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(e){e[e.EXACT_SHAPE_MATCH=0]="EXACT_SHAPE_MATCH",e[e.NEAREST_BY_MAIN_AXIS_FIRST=1]="NEAREST_BY_MAIN_AXIS_FIRST",e[e.NEAREST_BY_MAIN_CATEGORY_AXIS_FIRST=2]="NEAREST_BY_MAIN_CATEGORY_AXIS_FIRST",e[e.NEAREST_NODE=3]="NEAREST_NODE"}(Mn||(Mn={}));var Gn,jn=Pn(),zn=function(){function e(e,t,r){this.type="nodeClick",this.event=e,this.datum=t.datum,this.seriesId=r.id,this._series=r}return Object.defineProperty(e.prototype,"series",{get:function(){return jn("series","Use seriesId to get the series ID"),this._series},enumerable:!0,configurable:!0}),e}(),Bn=function(){function e(){this.fill="yellow",this.fillOpacity=void 0,this.stroke=void 0,this.strokeWidth=void 0}return In([K(ge)],e.prototype,"fill",void 0),In([K(ve(0,1))],e.prototype,"fillOpacity",void 0),In([K(ge)],e.prototype,"stroke",void 0),In([K(ve(0))],e.prototype,"strokeWidth",void 0),e}(),Vn=function(){function e(){this.strokeWidth=void 0,this.dimOpacity=void 0,this.enabled=void 0}return In([K(ve(0))],e.prototype,"strokeWidth",void 0),In([K(ve(0,1))],e.prototype,"dimOpacity",void 0),In([K(ne)],e.prototype,"enabled",void 0),e}(),Wn=function(){function e(){this.fill=void 0,this.stroke=void 0,this.strokeWidth=void 0,this.item=new Bn,this.series=new Vn}return In([_n("Use item.fill instead.")],e.prototype,"fill",void 0),In([_n("Use item.stroke instead.")],e.prototype,"stroke",void 0),In([_n("Use item.strokeWidth instead.")],e.prototype,"strokeWidth",void 0),e}(),Hn=function(){function e(){this.enabled=!0}return In([K(oe)],e.prototype,"enabled",void 0),e}(),Un=function(e){function t(t){var r=void 0===t?{}:t,o=r.useSeriesGroupLayer,n=void 0===o||o,i=r.useLabelLayer,a=void 0!==i&&i,s=r.pickModes,l=void 0===s?[Mn.NEAREST_BY_MAIN_AXIS_FIRST]:s,c=e.call(this)||this;c.id=m(c),c.group=new Ut,c.directions=[Dr.X,Dr.Y],c.directionKeys={},c.nodeDataRefresh=!0,c._data=void 0,c._visible=!0,c.showInLegend=!0,c.cursor="default",c.highlightStyle=new Wn;var u=c.group;return c.backgroundGroup=u.appendChild(new Ut({name:c.id+"-background",layer:n,zIndex:gr.SERIES_BACKGROUND_ZINDEX})),c.seriesGroup=u.appendChild(new Ut({name:c.id+"-series",layer:n,zIndex:gr.SERIES_LAYER_ZINDEX})),c.pickGroup=c.seriesGroup.appendChild(new Ut),c.highlightGroup=u.appendChild(new Ut({name:c.id+"-highlight",layer:!0,zIndex:gr.SERIES_LAYER_ZINDEX,zIndexSubOrder:[c.id,15e3],optimiseDirtyTracking:!0})),c.highlightNode=c.highlightGroup.appendChild(new Ut),c.highlightLabel=c.highlightGroup.appendChild(new Ut),c.highlightNode.zIndex=0,c.highlightLabel.zIndex=10,c.pickModes=l,a&&(c.labelGroup=u.appendChild(new Ut({name:c.id+"-series-labels",layer:!0,zIndex:gr.SERIES_LABEL_ZINDEX}))),c}return Nn(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return this.constructor.type||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,this.nodeDataRefresh=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e,this.visibleChanged()},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"grouped",{set:function(e){if(!0===e)throw new Error("AG Charts - grouped: true is unsupported for series of type: "+this.type)},enumerable:!0,configurable:!0}),t.prototype.setColors=function(e,t){},t.prototype.getKeys=function(e){var t=this,r=this.directionKeys,o=r&&r[e],n=[];return o&&o.forEach((function(e){var r=t[e];r&&(Array.isArray(r)?n.push.apply(n,kn(r)):n.push(r))})),n},t.prototype.markNodeDataDirty=function(){this.nodeDataRefresh=!0},t.prototype.visibleChanged=function(){},t.prototype.getOpacity=function(e){var t=this.highlightStyle.series,r=t.dimOpacity,o=void 0===r?1:r,n=t.enabled;if(!1===(void 0===n||n)||1===o)return 1;switch(this.isItemIdHighlighted(e)){case"no-highlight":case"highlighted":return 1;case"peer-highlighted":case"other-highlighted":return o}},t.prototype.getStrokeWidth=function(e,t){var r=this.highlightStyle.series,o=r.strokeWidth,n=r.enabled;if(!1===(void 0===n||n)||void 0===o)return e;switch(this.isItemIdHighlighted(t)){case"highlighted":return o;case"no-highlight":case"other-highlighted":case"peer-highlighted":return e}},t.prototype.isItemIdHighlighted=function(e){var t=this.chart,r=void 0===t?{}:t,o=r.highlightedDatum,n=void 0===o?{}:o,i=n.series,a=void 0===i?void 0:i,s=n.itemId,l=void 0===s?void 0:s,c=r.highlightedDatum;return null!=a?a!==this?"other-highlighted":void 0===l?"highlighted":e&&(void 0===c?void 0:c)!==e&&l!==e.itemId?"peer-highlighted":"highlighted":"no-highlight"},t.prototype.pickNode=function(e,t){var r,o,n=this.pickModes,i=this.visible,a=this.group;if(i&&a.visible)try{for(var s=Fn(n),l=s.next();!l.done;l=s.next()){var c=l.value;if(!t||t.includes(c)){var u=void 0;switch(c){case Mn.EXACT_SHAPE_MATCH:u=this.pickNodeExactShape(e);break;case Mn.NEAREST_BY_MAIN_AXIS_FIRST:case Mn.NEAREST_BY_MAIN_CATEGORY_AXIS_FIRST:u=this.pickNodeMainAxisFirst(e,c===Mn.NEAREST_BY_MAIN_CATEGORY_AXIS_FIRST);break;case Mn.NEAREST_NODE:u=this.pickNodeClosestDatum(e)}if(u)return{pickMode:c,match:u.datum,distance:u.distance}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},t.prototype.pickNodeExactShape=function(e){var t=this.pickGroup.pickNode(e.x,e.y);if(t)return{datum:t.datum,distance:0}},t.prototype.pickNodeClosestDatum=function(e){throw new Error("AG Charts - Series.pickNodeClosestDatum() not implemented")},t.prototype.pickNodeMainAxisFirst=function(e,t){throw new Error("AG Charts - Series.pickNodeMainAxisFirst() not implemented")},t.prototype.fireNodeClickEvent=function(e,t){var r=this.getNodeClickEvent(e,t);this.fireEvent(r)},t.prototype.getNodeClickEvent=function(e,t){return new zn(e,t,this)},t.prototype.toggleSeriesItem=function(e,t){this.visible=t,this.nodeDataRefresh=!0},t.prototype.isEnabled=function(){return this.visible},t.prototype.fixNumericExtent=function(e,t){if(void 0===e)return[];var r=Ln(e,2),o=r[0],n=r[1];if(n=+n,0===(o=+o)&&0===n)return[0,1];if(o===1/0&&n===-1/0)return[];if(o===1/0&&(o=0),n===-1/0&&(n=0),o===n)if(t instanceof bn)o-=1,n+=1;else{var i=Math.abs(.01*o);o-=i,n+=i}return xt(o)&&xt(n)?[o,n]:[]},t.highlightedZIndex=1e12,In([K(ie)],t.prototype,"id",void 0),In([K(oe)],t.prototype,"_visible",void 0),In([K(oe)],t.prototype,"showInLegend",void 0),In([K(ie)],t.prototype,"cursor",void 0),t}(W),Kn=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Yn=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Xn=function(e){function t(t,r,o,n){void 0===t&&(t=0),void 0===r&&(r=t),void 0===o&&(o=t),void 0===n&&(n=r);var i=e.call(this)||this;return i.top=t,i.right=r,i.bottom=o,i.left=n,i}return Kn(t,e),t.prototype.clear=function(){this.top=this.right=this.bottom=this.left=0},Yn([K(fe(0))],t.prototype,"top",void 0),Yn([K(fe(0))],t.prototype,"right",void 0),Yn([K(fe(0))],t.prototype,"bottom",void 0),Yn([K(fe(0))],t.prototype,"left",void 0),t}(W),qn=function(){this.stops=[]},Qn=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Zn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.angle=0,t}return Qn(t,e),t.prototype.createGradient=function(e,t){var r=this.stops,o=this.angle%360*Math.PI/180,n=Math.cos(o),i=Math.sin(o),a=t.width,s=t.height,l=t.x+.5*a,c=t.y+.5*s;if(a>0&&s>0){var u=Math.sqrt(s*s+a*a)*Math.abs(Math.cos(o-Math.atan(s/a)))/2,p=e.createLinearGradient(l+n*u,c+i*u,l-n*u,c-i*u);return r.forEach((function(e){p.addColorStop(e.offset,e.color)})),p}return"black"},t}(qn),Jn=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),$n=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.Content=0]="Content",e[e.Border=1]="Border"}(Gn||(Gn={}));var ei=function(e){function t(){var t=e.call(this,(function(e){return t.renderRect(e)}))||this;return t.borderPath=new Gt,t.x=0,t.y=0,t.width=10,t.height=10,t.radius=0,t.crisp=!1,t.gradient=!1,t.lastUpdatePathStrokeWidth=k.defaultStyles.strokeWidth,t.effectiveStrokeWidth=k.defaultStyles.strokeWidth,t.microPixelEffectOpacity=1,t}return Jn(t,e),t.prototype.updateGradientInstance=function(){var e=this.fill;if(this.gradient){if(e){var t=new Zn;t.angle=270,t.stops=[{offset:0,color:U.fromString(e).brighter().toString()},{offset:1,color:U.fromString(e).darker().toString()}],this.gradientInstance=t}}else this.gradientInstance=void 0;this.gradientFill=e},t.prototype.isDirtyPath=function(){var e;return this.lastUpdatePathStrokeWidth!==this.strokeWidth||!!(this.path.isDirty()||this.borderPath.isDirty()||(null===(e=this.clipPath)||void 0===e?void 0:e.isDirty()))},t.prototype.updatePath=function(){var e,t,r,o=this.path,n=this.borderPath,i=this.crisp,a=this,s=a.x,l=a.y,c=a.width,u=a.height,p=a.strokeWidth,d=1/(null!=(t=null===(e=this.scene)||void 0===e?void 0:e.canvas.pixelRatio)?t:1),g=1;if(o.clear({trackChanges:!0}),n.clear({trackChanges:!0}),i&&(c<=d&&(g*=c/d),u<=d&&(g*=u/d),c=this.align(s,c),u=this.align(l,u),s=this.align(s),l=this.align(l)),p)if(c<d){var h=s+d/2;n.moveTo(h,l),n.lineTo(h,l+u),p=d,this.borderClipPath=void 0}else if(u<d){var f=l+d/2;n.moveTo(s,f),n.lineTo(s+c,f),p=d,this.borderClipPath=void 0}else if(p<c&&p<u){var v=p/2;s+=v,l+=v,c-=p,u-=p,this.borderClipPath=void 0,o.rect(s,l,c,u),n.rect(s,l,c,u)}else this.borderClipPath=null!=(r=this.borderClipPath)?r:new Gt,this.borderClipPath.clear({trackChanges:!0}),this.borderClipPath.rect(s,l,c,u),n.rect(s,l,c,u);else this.borderClipPath=void 0,o.rect(s,l,c,u);this.effectiveStrokeWidth=p,this.lastUpdatePathStrokeWidth=p,this.microPixelEffectOpacity=g},t.prototype.computeBBox=function(){var e=this.x,t=this.y,r=this.width,o=this.height;return new h(e,t,r,o)},t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t);return this.computeBBox().containsPoint(r.x,r.y)},t.prototype.renderRect=function(e){var t,r,o=this,n=o.stroke,i=o.effectiveStrokeWidth,a=o.fill,s=o.path,l=o.borderPath,c=o.borderClipPath,u=o.opacity,p=o.microPixelEffectOpacity,d=!!n&&!!i;if(a){var g=this.gradientFill,h=this.fillOpacity,f=this.fillShadow;a!==g&&this.updateGradientInstance();var v=this.gradientInstance;if(e.fillStyle=v?v.createGradient(e,this.computeBBox()):a,e.globalAlpha=u*h*p,f&&f.enabled){var y=null!=(r=null===(t=this.scene)||void 0===t?void 0:t.canvas.pixelRatio)?r:1;e.shadowColor=f.color,e.shadowOffsetX=f.xOffset*y,e.shadowOffsetY=f.yOffset*y,e.shadowBlur=f.blur*y}s.draw(e),e.fill(),e.shadowColor="rgba(0, 0, 0, 0)"}if(d){var m=this,b=m.strokeOpacity,w=m.lineDash,C=m.lineDashOffset,O=m.lineCap,S=m.lineJoin;c&&(c.draw(e),e.clip()),l.draw(e),e.strokeStyle=n,e.globalAlpha=u*b*p,e.lineWidth=i,w&&e.setLineDash(w),C&&(e.lineDashOffset=C),O&&(e.lineCap=O),S&&(e.lineJoin=S),e.stroke()}},t.className="Rect",$n([er()],t.prototype,"x",void 0),$n([er()],t.prototype,"y",void 0),$n([er()],t.prototype,"width",void 0),$n([er()],t.prototype,"height",void 0),$n([er()],t.prototype,"radius",void 0),$n([er()],t.prototype,"crisp",void 0),$n([er({changeCb:function(e){return e.updateGradientInstance()}})],t.prototype,"gradient",void 0),t}(tr),ti=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ri=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},oi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.node=new ei,t._visible=!0,t}return ti(t,e),Object.defineProperty(t.prototype,"width",{get:function(){return this.node.width},set:function(e){this.node.width=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.node.height},set:function(e){this.node.height=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible=e,this.node.visible=this._visible},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fill",{get:function(){return this._fill},set:function(e){this._fill=e,this.node.fill=this._fill},enumerable:!0,configurable:!0}),ri([K(oe)],t.prototype,"_visible",void 0),ri([K(ge)],t.prototype,"_fill",void 0),t}(W),ni=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ii=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ai=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.x=0,t.y=0,t.size=12,t}return ni(t,e),t.prototype.computeBBox=function(){var e=this.x,t=this.y,r=this.size,o=r/2;return new h(e-o,t-o,r,r)},t.prototype.applyPath=function(e,t){var r,o,n=this.path,i=this.x,a=this.y;n.clear();try{for(var s=ai(t),l=s.next();!l.done;l=s.next()){var c=l.value,u=c.x,p=c.y,d=c.t;i+=u*e,a+=p*e,"move"===d?n.moveTo(i,a):n.lineTo(i,a)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}n.closePath()},ii([er()],t.prototype,"x",void 0),ii([er()],t.prototype,"y",void 0),ii([er({convertor:Math.abs})],t.prototype,"size",void 0),t}(tr),li=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return li(t,e),t.prototype.updatePath=function(){var e=this.path,t=this.x,r=this.y,o=this.size/2;e.clear(),e.moveTo(this.align(t-o),this.align(r-o)),e.lineTo(this.align(t+o),this.align(r-o)),e.lineTo(this.align(t+o),this.align(r+o)),e.lineTo(this.align(t-o),this.align(r+o)),e.closePath()},t.className="Square",t}(si),ui=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),pi=function(e){function t(){var t=e.call(this)||this;t.label=new B,t._marker=new ci,t._markerSize=15,t._spacing=8;var r=t.label;return r.textBaseline="middle",r.fontSize=12,r.fontFamily="Verdana, sans-serif",r.fill="black",r.y=F.has.textMetrics?1:0,t.append([t.marker,r]),t.update(),t}return ui(t,e),Object.defineProperty(t.prototype,"text",{get:function(){return this.label.text},set:function(e){this.label.text=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontStyle",{get:function(){return this.label.fontStyle},set:function(e){this.label.fontStyle=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontWeight",{get:function(){return this.label.fontWeight},set:function(e){this.label.fontWeight=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSize",{get:function(){return this.label.fontSize},set:function(e){this.label.fontSize=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontFamily",{get:function(){return this.label.fontFamily},set:function(e){this.label.fontFamily=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this.label.fill},set:function(e){this.label.fill=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"marker",{get:function(){return this._marker},set:function(e){this._marker!==e&&(this.removeChild(this._marker),this._marker=e,this.appendChild(e),this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerSize",{get:function(){return this._markerSize},set:function(e){this._markerSize!==e&&(this._markerSize=e,this.update())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerFill",{get:function(){return this.marker.fill},set:function(e){this.marker.fill=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerStroke",{get:function(){return this.marker.stroke},set:function(e){this.marker.stroke=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerStrokeWidth",{get:function(){return this.marker.strokeWidth},set:function(e){this.marker.strokeWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerFillOpacity",{get:function(){return this.marker.fillOpacity},set:function(e){this.marker.fillOpacity=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markerStrokeOpacity",{get:function(){return this.marker.strokeOpacity},set:function(e){this.marker.strokeOpacity=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"spacing",{get:function(){return this._spacing},set:function(e){this._spacing!==e&&(this._spacing=e,this.update())},enumerable:!0,configurable:!0}),t.prototype.update=function(){var e=this.marker,t=this.markerSize;e.size=t,this.label.x=t/2+this.spacing},t.prototype.render=function(t){this.marker.opacity=this.opacity,this.label.opacity=this.opacity,e.prototype.render.call(this,t)},t.className="MarkerLabel",t}(Ut),di=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),gi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return di(t,e),t.prototype.updatePath=function(){var e=this.x,t=this.y,r=this.path,o=this.size/2;r.clear(),r.cubicArc(e,t,o,o,0,0,2*Math.PI,0),r.closePath()},t.className="Circle",t}(si),hi=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),fi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return hi(t,e),t.prototype.updatePath=function(){var r=this.size/4.2;e.prototype.applyPath.call(this,r,t.moves)},t.className="Cross",t.moves=[{x:-1,y:0,t:"move"},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1},{x:1,y:1},{x:-1,y:1},{x:-1,y:-1},{x:-1,y:1},{x:-1,y:-1}],t}(si),vi=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),yi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return vi(t,e),t.prototype.updatePath=function(){var r=this.size/2;e.prototype.applyPath.call(this,r,t.moves)},t.className="Diamond",t.moves=[{x:0,y:-1,t:"move"},{x:1,y:1},{x:-1,y:1},{x:-1,y:-1},{x:1,y:-1}],t}(si),mi=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),bi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mi(t,e),t.prototype.rad=function(e){return e/180*Math.PI},t.prototype.updatePath=function(){var e=this.x,t=this.path,r=this.size,o=this.rad,n=r/4,i=this.y+n/2;t.clear(),t.cubicArc(e-n,i-n,n,n,0,o(130),o(330),0),t.cubicArc(e+n,i-n,n,n,0,o(220),o(50),0),t.lineTo(e,i+n),t.closePath()},t.className="Heart",t}(si),wi=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return wi(t,e),t.prototype.updatePath=function(){var r=this.size/3;e.prototype.applyPath.call(this,r,t.moves)},t.className="Plus",t.moves=[{x:-.5,y:-.5,t:"move"},{x:0,y:-1},{x:1,y:0},{x:0,y:1},{x:1,y:0},{x:0,y:1},{x:-1,y:0},{x:0,y:1},{x:-1,y:0},{x:0,y:-1},{x:-1,y:0},{x:0,y:-1}],t}(si),Oi=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Si=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Oi(t,e),t.prototype.updatePath=function(){var r=1.1*this.size;e.prototype.applyPath.call(this,r,t.moves)},t.className="Triangle",t.moves=[{x:0,y:-.48,t:"move"},{x:.5,y:.87},{x:-1,y:0}],t}(si);function Ei(e){if(void 0===e&&(e=ci),"string"==typeof e)switch(e){case"circle":return gi;case"cross":return fi;case"diamond":return yi;case"heart":return bi;case"plus":return Ci;case"triangle":return Si;default:return ci}return"function"==typeof e?e:ci}var xi,Ri,Ti=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ai=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Pi=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ai(arguments[t]));return e},_i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(e){e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal"}(xi||(xi={})),function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left"}(Ri||(Ri={}));var Di=function(){function e(){this.maxLength=void 0,this.color="black",this.fontStyle=void 0,this.fontWeight=void 0,this.fontSize=12,this.fontFamily="Verdana, sans-serif",this.formatter=void 0}return e.prototype.getFont=function(){return V(this.fontSize,this.fontFamily,this.fontStyle,this.fontWeight)},Ti([K(ve(0))],e.prototype,"maxLength",void 0),Ti([K(de)],e.prototype,"color",void 0),Ti([K(Se)],e.prototype,"fontStyle",void 0),Ti([K(xe)],e.prototype,"fontWeight",void 0),Ti([K(fe(0))],e.prototype,"fontSize",void 0),Ti([K(ie)],e.prototype,"fontFamily",void 0),Ti([K(re)],e.prototype,"formatter",void 0),e}(),Mi=function(){function e(){this.size=15,this._shape=void 0,this.padding=8,this.strokeWidth=1}return Object.defineProperty(e.prototype,"shape",{get:function(){return this._shape},set:function(e){var t;this._shape=e,null===(t=this.parent)||void 0===t||t.onMarkerShapeChange()},enumerable:!0,configurable:!0}),Ti([K(fe(0))],e.prototype,"size",void 0),Ti([K(fe(0))],e.prototype,"padding",void 0),Ti([K(fe(0))],e.prototype,"strokeWidth",void 0),e}(),Ni=function(){function e(){this.marker=new Mi,this.label=new Di,this.maxWidth=void 0,this.paddingX=16,this.paddingY=8}return Ti([K(ve(0))],e.prototype,"maxWidth",void 0),Ti([K(fe(0))],e.prototype,"paddingX",void 0),Ti([K(fe(0))],e.prototype,"paddingY",void 0),e}(),Ii=function(){},Li=function(){function e(){this.legendItemClick=Ii}return Ti([K(te)],e.prototype,"legendItemClick",void 0),e}(),ki=function(){function e(){this.id=m(this),this.group=new Ut({name:"legend",layer:!0,zIndex:gr.LEGEND_ZINDEX}),this.itemSelection=Xt.select(this.group).selectAll(),this.oldSize=[0,0],this.item=new Ni,this.listeners=new Li,this.truncatedItems=new Set,this._data=[],this._enabled=!0,this.orientation=xi.Vertical,this._position=Ri.Right,this.reverseOrder=void 0,this.spacing=20,this.characterWidths=new Map,this.size=[0,0],this.item.marker.parent=this}return Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,this.group.visible=e.length>0&&this.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this.group.visible=e&&this.data.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this._position},set:function(e){switch(this._position=e,e){case"right":case"left":this.orientation=xi.Vertical;break;case"bottom":case"top":this.orientation=xi.Horizontal}},enumerable:!0,configurable:!0}),e.prototype.onMarkerShapeChange=function(){this.itemSelection=this.itemSelection.setData([]),this.itemSelection.exit.remove(),this.group.markDirty(this.group,w.b.MINOR)},e.prototype.getCharacterWidths=function(e){var t=this.characterWidths;if(t.has(e))return t.get(e);var r={"...":F.getTextSize("...",e).width};return t.set(e,r),r},e.prototype.performLayout=function(e,t){var r=this,o=this.item,n=o.paddingX,i=o.paddingY,a=o.label,s=o.maxWidth,l=o.marker,c=l.size,u=l.padding,p=l.shape,d=o.label,g=d.maxLength,h=void 0===g?1/0:g,f=d.fontStyle,v=d.fontWeight,y=d.fontSize,m=d.fontFamily,b=Pi(this.data);this.reverseOrder&&b.reverse();var w=this.itemSelection.setData(b,(function(e,t){var r=Ei(p||t.marker.shape);return t.id+"-"+t.itemId+"-"+r.name}));w.exit.remove();var C=w.enter.append(pi).each((function(e,t){var r=Ei(p||t.marker.shape);e.marker=new r})),O=this.itemSelection=w.merge(C),S=O.size,E=[],x=a.getFont(),R=null!=s?s:.8*e;O.each((function(e,t){var o,n,i,a=null!=(i=t.label.text)?i:"<unknown>";e.markerSize=c,e.spacing=u,e.fontStyle=f,e.fontWeight=v,e.fontSize=y,e.fontFamily=m;var s=a.split(""),l=!1;if(a.length>h&&(a=""+a.substring(0,h),l=!0),c+u+F.getTextSize(a,x).width>R){var p="",d=r.getCharacterWidths(x),g=d["..."];try{for(var b=_i(s),w=b.next();!w.done;w=b.next()){var C=w.value;if(d[C]||(d[C]=F.getTextSize(C,x).width),(g+=d[C])>R)break;p+=C}}catch(e){o={error:e}}finally{try{w&&!w.done&&(n=b.return)&&n.call(b)}finally{if(o)throw o.error}}a=p,l=!0}var O=t.itemId||t.id;l?(a+="...",r.truncatedItems.add(O)):r.truncatedItems.delete(O),e.text=a,E.push(e.computeBBox())}));var T=E.length&&E[0].height,A=0,P=0,_=0,D=0;switch(e=Math.max(1,e),t=Math.max(1,t),this.orientation){case xi.Horizontal:if(!(isFinite(e)&&e>0))return!1;A=0;var M=0;do{var N=0;M=0,P=0,A++;for(var I=0;I<S;){(G=E[I]).width>P&&(P=G.width),++I%A==0&&(N+=P,P=0,M++)}I%A!=0&&(N+=P,M++),_=N+(M-1)*n}while(_>e&&M>1);D=T*A+(A-1)*i;break;case xi.Vertical:if(!(isFinite(t)&&t>0))return!1;A=2*S;do{A=(A>>1)+A%2,P=0;N=0;var L=0,k=0;for(I=0;I<S;){var G=E[I];k||(L+=G.height),G.width>P&&(P=G.width),++I%A==0&&(N+=P,P=0,k++)}I%A!=0&&(N+=P,k++),_=N+(k-1)*n,D=L+(A-1)*i}while(D>t&&A>1)}var j=(e-_)/2,z=(t-D)/2,B=0,V=0;P=0,O.each((function(e,t,r){e.translationX=Math.floor(j+B),e.translationY=Math.floor(z+V);var o=E[r];o.width>P&&(P=o.width),(r+1)%A==0?(B+=P+n,V=0,P=0):V+=o.height+i})),this.update();var W=this.size,H=this.oldSize;W[0]=_,W[1]=D,W[0]===H[0]&&W[1]===H[1]||(H[0]=W[0],H[1]=W[1])},e.prototype.update=function(){var e=this.item,t=e.marker.strokeWidth,r=e.label.color;this.itemSelection.each((function(e,o){var n=o.marker;e.markerFill=n.fill,e.markerStroke=n.stroke,e.markerStrokeWidth=t,e.markerFillOpacity=n.fillOpacity,e.markerStrokeOpacity=n.strokeOpacity,e.opacity=o.enabled?1:.5,e.color=r}))},e.prototype.getDatumForPoint=function(e,t){var r=this.group.pickNode(e,t);if(r&&r.parent)return r.parent.datum},e.className="Legend",Ti([K(oe)],e.prototype,"_enabled",void 0),Ti([K(Ne)],e.prototype,"_position",void 0),Ti([K(ne)],e.prototype,"reverseOrder",void 0),Ti([K(fe(0))],e.prototype,"spacing",void 0),e}(),Fi=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Gi=function(){function e(){}return e.init=function(){var e=this,t=window.ResizeObserver;if(t)this.resizeObserver=new t((function(t){var r,o;try{for(var n=Fi(t),i=n.next();!i.done;i=n.next()){var a=i.value,s=a.contentRect,l=s.width,c=s.height;e.checkSize(e.elements.get(a.target),a.target,l,c)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}}));else{window.setInterval((function(){e.elements.forEach((function(t,r){e.checkClientSize(r,t)}))}),100)}this.ready=!0},e.checkSize=function(e,t,r,o){e&&(e.size&&r===e.size.width&&o===e.size.height||(e.size={width:r,height:o},e.cb(e.size,t)))},e.observe=function(e,t){this.ready||this.init(),this.unobserve(e),this.resizeObserver&&this.resizeObserver.observe(e),this.elements.set(e,{cb:t}),this.checkClientSize(e,{cb:t})},e.unobserve=function(e){this.resizeObserver&&this.resizeObserver.unobserve(e),this.elements.delete(e)},e.checkClientSize=function(e,t){var r=e.clientWidth?e.clientWidth:0,o=e.clientHeight?e.clientHeight:0;this.checkSize(t,e,r,o)},e.elements=new Map,e.ready=!1,e}(),ji=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},zi=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};function Bi(e,t){var r,o,n=0,i=!1,a=function(){return i},s=function(){var t;i=!1,null===(t=o)||void 0===t||t(),o=void 0,r=void 0,n>0&&e(l)},l=function(){var e=n;n=0,i=!0;var r=t({count:e});r?r.then(s).catch(s):s()};return{schedule:function(){0!==n||a()||e(l),n++},await:function(){return ji(this,void 0,void 0,(function(){return zi(this,(function(e){switch(e.label){case 0:if(!a())return[2];r||(r=new Promise((function(e){o=e}))),e.label=1;case 1:return a()?[4,r]:[3,3];case 2:return e.sent(),[3,1];case 3:return[2]}}))}))}}}var Vi=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Wi=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Hi=["circle","cross","diamond","heart","plus","square","triangle"],Ui=Y((function(e){return Hi.includes(e)||Object.getPrototypeOf(e)===si}),"expecting a marker shape keyword such as 'circle', 'diamond' or 'square' or an object extending the Marker class"),Ki=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.enabled=!0,t.shape=gi,t.size=6,t.maxSize=30,t.domain=void 0,t.fill=void 0,t.stroke=void 0,t.strokeWidth=1,t.fillOpacity=void 0,t.strokeOpacity=void 0,t}return Vi(t,e),Wi([Ie({validatePredicate:oe,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"enabled",void 0),Wi([Ie({validatePredicate:Ui,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"shape",void 0),Wi([Ie({validatePredicate:fe(0),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"size",void 0),Wi([Ie({validatePredicate:fe(0),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"maxSize",void 0),Wi([Ie({validatePredicate:me,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"domain",void 0),Wi([Ie({validatePredicate:ge,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"fill",void 0),Wi([Ie({validatePredicate:ge,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"stroke",void 0),Wi([Ie({validatePredicate:ve(0),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"strokeWidth",void 0),Wi([Ie({validatePredicate:ve(0,1),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"fillOpacity",void 0),Wi([Ie({validatePredicate:ve(0,1),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"strokeOpacity",void 0),t}(w.a),Yi=function(){return(Yi=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Xi=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},qi=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Xi(arguments[t]));return e},Qi=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Zi(e,t){var r,o,n=ra(e),i=ra(t);if("array"===i)return"array"!==n||e.length!==t.length||t.some((function(t,r){var o;return null!=Zi(null===(o=e)||void 0===o?void 0:o[r],t)}))?qi(t):null;if("primitive"===i)return"primitive"!==n?Yi({},t):e!==t?t:null;var a=e||{},s=t||{},l=new Set(qi(Object.keys(a),Object.keys(s))),c=0,u={},p=function(e){if(a[e]===s[e])return"continue";var t=function(t){u[e]=t,c++},r=ra(a[e]),o=ra(s[e]);if(r!==o)return t(s[e]),"continue";if("primitive"===o||null===o)return t(s[e]),"continue";if("array"===o&&a[e].length!==s[e].length)return t(s[e]),"continue";if("class-instance"===o)return t(s[e]),"continue";if("function"===o&&a[e]!==s[e])return t(s[e]),"continue";var n=Zi(a[e],s[e]);null!==n&&t(n)};try{for(var d=Qi(l),g=d.next();!g.done;g=d.next()){p(g.value)}}catch(e){r={error:e}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}return 0===c?null:u}var Ji=Symbol("<delete-property>"),$i=Symbol("<unspecified-property>");function ea(e,t){var r,o,n,i=(null===(n=t)||void 0===n?void 0:n.avoidDeepClone)||[];if(e.map((function(e){return ra(e)})).some((function(e){return"array"===e}))){var a=e[e.length-1];return a instanceof Array?a.map((function(e){var r=ra(e);return"array"===r?ea([[],e],t):"object"===r?ea([{},e],t):e})):a}var s={},l=new Set(e.map((function(e){return null!=e?Object.keys(e):[]})).reduce((function(e,t){return e.concat(t)}),[])),c=function(r){var o=e.map((function(e){return null!=e&&r in e?e[r]:$i})).filter((function(e){return e!==$i}));if(0===o.length)return"continue";var n=o[o.length-1];if(n===Ji)return"continue";var a=o.map((function(e){return ra(e)})),l=a[0];if(a.some((function(e){return e!==l&&null!==e})))return s[r]=n,"continue";"array"!==l&&"object"!==l||i.includes(r)?s[r]="array"===l?qi(n):n:s[r]=ea(o,t)};try{for(var u=Qi(l),p=u.next();!p.done;p=u.next()){c(p.value)}}catch(e){r={error:e}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return s}function ta(e,t,r){var o,n,i,a;void 0===r&&(r={});var s=r.path,l=void 0===s?void 0:s,c=r.matcherPath,u=void 0===c?l?l.replace(/(\[[0-9+]+\])/i,"[]"):void 0:c,p=r.skip,d=void 0===p?[]:p,g=r.constructors,h=void 0===g?{}:g,f=r.allowedTypes,v=void 0===f?{}:f;if(null==e)throw new Error("AG Charts - target is uninitialised: "+(l||"<root>"));if(null==t)return e;var y=ra(e),m=function(s){var c=(u?u+".":"")+s;if(d.indexOf(c)>=0)return"continue";var p=t[s],g=(l?l+".":"")+s,f=e,m=f.constructor,b=f[s],w=null!=(o=h[s])?o:h[c];try{var C=ra(b),O=ra(p);if("class-instance"===y&&!(s in e)&&!f.hasOwnProperty(s))return console.warn("AG Charts - unable to set ["+g+"] in "+(null===(n=m)||void 0===n?void 0:n.name)+" - property is unknown"),"continue";var S=v[c]||[C];if("class-instance"===C&&"object"===O);else if(null!=C&&null!=O&&!S.includes(O))return console.warn("AG Charts - unable to set ["+g+"] in "+(null===(i=m)||void 0===i?void 0:i.name)+" - can't apply type of ["+O+"], allowed types are: ["+S+"]"),"continue";if("array"===O)if(null!=(w=null!=w?w:h[c+"[]"])){var E=p;f[s]=E.map((function(e){return ta(new w,e,Yi(Yi({},r),{path:g,matcherPath:c+"[]"}))}))}else f[s]=p;else"class-instance"===O?f[s]=p:"object"===O?null!=b?ta(b,p,Yi(Yi({},r),{path:g,matcherPath:c})):f[s]=null!=w?ta(new w,p,Yi(Yi({},r),{path:g,matcherPath:c})):p:f[s]=p}catch(e){return console.warn("AG Charts - unable to set ["+g+"] in ["+(null===(a=m)||void 0===a?void 0:a.name)+"]; nested error is: "+e.message),"continue"}};for(var b in t)m(b);return e}function ra(e){return null==e?null:e instanceof HTMLElement?"primitive":e instanceof Array?"array":e instanceof Date?"primitive":"object"==typeof e&&e.constructor===Object?"object":"function"==typeof e?"function":"object"==typeof e&&null!=e.constructor?"class-instance":"primitive"}var oa=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),na=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ia=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},aa=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},sa=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},la=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(sa(arguments[t]));return e},ca=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ua=function(e){function t(t,r,o,n,i){var a=e.call(this,o,n,i)||this;return a.xKey=t,a.yKey=r,a}return oa(t,e),t}(zn),pa=function(e){function t(t){var r;void 0===t&&(t={});var o=e.call(this,{useSeriesGroupLayer:!0,pickModes:t.pickModes})||this;o._contextNodeData=[],o.nodeDataDependencies={},o.highlightSelection=Xt.select(o.highlightNode).selectAll(),o.highlightLabelSelection=Xt.select(o.highlightLabel).selectAll(),o.subGroups=[],o.subGroupId=0,o.seriesItemEnabled=new Map,o.directionKeys=((r={})[Dr.X]=["xKey"],r[Dr.Y]=["yKey"],r);var n=t.pickGroupIncludes,i=void 0===n?["datumNodes"]:n,a=t.pathsPerSeries,s=void 0===a?1:a,l=t.features,c=void 0===l?[]:l,u=t.pathsZIndexSubOrderOffset,p=void 0===u?[]:u,d=t.renderLayerPerSubSeries,g=void 0===d||d;return o.opts={pickGroupIncludes:i,pathsPerSeries:s,features:c,pathsZIndexSubOrderOffset:p,renderLayerPerSubSeries:g},o}return oa(t,e),Object.defineProperty(t.prototype,"contextNodeData",{get:function(){var e;return null===(e=this._contextNodeData)||void 0===e?void 0:e.slice()},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){e.prototype.destroy.call(this),this._contextNodeData.splice(0,this._contextNodeData.length),this.subGroups.splice(0,this.subGroups.length)},t.prototype.checkDomainXY=function(e,t,r,o){return(r&&Pt(e)||!r&&At(e))&&(o&&Pt(t)||!o&&At(t))?[e,t]:void 0},t.prototype.checkRangeXY=function(e,t,r,o){return!isNaN(e)&&!isNaN(t)&&r.inRange(e)&&o.inRange(t)},t.prototype.update=function(e){var t,r,o=e.seriesRect;return ia(this,void 0,void 0,(function(){var e,n,i,a,s,l,c,u,p,d;return aa(this,(function(g){switch(g.label){case 0:return n=(e=this).seriesItemEnabled,i=e.visible,a=e.chart,s=(void 0===a?{}:a).highlightedDatum,l=(void 0===s?{}:s).series,u=(c=void 0===l?void 0:l)?c===this:void 0,p=i&&0===n.size||la(n.values()).some((function(e){return!0===e})),d={seriesRectWidth:null===(t=o)||void 0===t?void 0:t.width,seriesRectHeight:null===(r=o)||void 0===r?void 0:r.height},null!=Zi(this.nodeDataDependencies,d)&&(this.nodeDataDependencies=d,this.markNodeDataDirty()),[4,this.updateSelections(u,p)];case 1:return g.sent(),[4,this.updateNodes(u,p)];case 2:return g.sent(),[2]}}))}))},t.prototype.updateSelections=function(e,t){return ia(this,void 0,void 0,(function(){var r,o=this;return aa(this,(function(n){switch(n.label){case 0:return[4,this.updateHighlightSelection(e)];case 1:return n.sent(),t?this.nodeDataRefresh||this.isPathOrSelectionDirty()?this.nodeDataRefresh?(this.nodeDataRefresh=!1,r=this,[4,this.createNodeData()]):[3,4]:[2]:[2];case 2:return r._contextNodeData=n.sent(),[4,this.updateSeriesGroups()];case 3:n.sent(),n.label=4;case 4:return[4,Promise.all(this.subGroups.map((function(t,r){return o.updateSeriesGroupSelections(t,r,e)})))];case 5:return n.sent(),[2]}}))}))},t.prototype.updateSeriesGroupSelections=function(e,t,r){return ia(this,void 0,void 0,(function(){var o,n,i,a,s,l,c,u,p,d,g;return aa(this,(function(h){switch(h.label){case 0:return o=e.datumSelection,n=e.labelSelection,i=e.markerSelection,a=e.paths,s=this._contextNodeData[t],l=s.nodeData,c=s.labelData,u=s.itemId,[4,this.updatePaths({seriesHighlighted:r,itemId:u,contextData:s,paths:a,seriesIdx:t})];case 1:return h.sent(),p=e,[4,this.updateDatumSelection({nodeData:l,datumSelection:o,seriesIdx:t})];case 2:return p.datumSelection=h.sent(),d=e,[4,this.updateLabelSelection({labelData:c,labelSelection:n,seriesIdx:t})];case 3:return d.labelSelection=h.sent(),i?(g=e,[4,this.updateMarkerSelection({nodeData:l,markerSelection:i,seriesIdx:t})]):[3,5];case 4:g.markerSelection=h.sent(),h.label=5;case 5:return[2]}}))}))},t.prototype.updateSeriesGroups=function(){var e;return ia(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O;return aa(this,(function(S){if(r=(t=this)._contextNodeData,o=t.seriesGroup,n=t.subGroups,i=t.opts,a=i.pickGroupIncludes,s=i.pathsPerSeries,l=i.features,c=i.pathsZIndexSubOrderOffset,u=i.renderLayerPerSubSeries,r.length===n.length)return[2];for(r.length<n.length&&n.splice(r.length).forEach((function(e){var t,r,n=e.group,i=e.markerGroup,s=e.paths;if(o.removeChild(n),i&&o.removeChild(i),!a.includes("mainPath"))try{for(var l=ca(s),c=l.next();!c.done;c=l.next()){var u=c.value;o.removeChild(u)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}})),p=r.length;p>n.length;){for(d=u,g=this.subGroupId++,h=g,f=new Ut({name:this.id+"-series-sub"+g,layer:d,zIndex:gr.SERIES_LAYER_ZINDEX,zIndexSubOrder:[this.id,h]}),v=l.includes("markers")?new Ut({name:this.id+"-series-sub"+this.subGroupId+++"-markers",layer:d,zIndex:gr.SERIES_LAYER_ZINDEX,zIndexSubOrder:[this.id,1e4+g]}):void 0,y=new Ut({name:this.id+"-series-sub"+this.subGroupId+++"-labels",layer:d,zIndex:gr.SERIES_LABEL_ZINDEX,zIndexSubOrder:[this.id,g]}),m=new Ut({name:this.id+"-series-sub"+this.subGroupId+++"-pickGroup",zIndex:gr.SERIES_LAYER_ZINDEX,zIndexSubOrder:[this.id,1e4+g]}),b=a.includes("mainPath")?m:u?f:o,w=a.includes("datumNodes")?m:f,o.appendChild(f),o.appendChild(y),v&&o.appendChild(v),C=[],O=0;O<s;O++)C[O]=new tr,C[O].zIndex=gr.SERIES_LAYER_ZINDEX,C[O].zIndexSubOrder=[this.id,(e=c[O],(null!=e?e:0)+h)],b.appendChild(C[O]);f.appendChild(m),n.push({paths:C,group:f,pickGroup:m,markerGroup:v,labelGroup:y,labelSelection:Xt.select(y).selectAll(),datumSelection:Xt.select(w).selectAll(),markerSelection:v?Xt.select(v).selectAll():void 0})}return[2]}))}))},t.prototype.updateNodes=function(e,t){var r;return ia(this,void 0,void 0,(function(){var o,n,i,a,s,l,c,u,p=this;return aa(this,(function(d){switch(d.label){case 0:return n=(o=this).highlightSelection,i=o.highlightLabelSelection,a=o._contextNodeData,s=o.seriesItemEnabled,l=o.opts.features,c=l.includes("markers"),u=this.visible&&(null===(r=this._contextNodeData)||void 0===r?void 0:r.length)>0&&t,this.group.visible=u,this.seriesGroup.visible=u,this.highlightGroup.visible=u&&!!e,this.seriesGroup.opacity=this.getOpacity(),c?[4,this.updateMarkerNodes({markerSelection:n,isHighlight:!0,seriesIdx:-1})]:[3,2];case 1:return d.sent(),[3,4];case 2:return[4,this.updateDatumNodes({datumSelection:n,isHighlight:!0,seriesIdx:-1})];case 3:d.sent(),d.label=4;case 4:return[4,this.updateLabelNodes({labelSelection:i,seriesIdx:-1})];case 5:return d.sent(),[4,Promise.all(this.subGroups.map((function(t,r){return ia(p,void 0,void 0,(function(){var o,n,i,l,p,d,g,h,f,v,y,m,b,w,C,O,S;return aa(this,(function(E){switch(E.label){case 0:o=t.group,n=t.markerGroup,i=t.datumSelection,l=t.labelSelection,p=t.markerSelection,d=t.paths,g=t.labelGroup,h=t.pickGroup,f=a[r].itemId,v=u&&(null==(S=s.get(f))||S),y=this.getOpacity({itemId:f}),o.opacity=y,o.visible=v,h.visible=v,g.visible=v,n&&(n.opacity=y,n.zIndex=o.zIndex>=gr.SERIES_LAYER_ZINDEX?o.zIndex:o.zIndex+1,n.visible=v);try{for(m=ca(d),b=m.next();!b.done;b=m.next())(w=b.value).parent!==o&&(w.opacity=y,w.visible=v)}catch(e){C={error:e}}finally{try{b&&!b.done&&(O=m.return)&&O.call(m)}finally{if(C)throw C.error}}return o.visible?[4,this.updatePathNodes({seriesHighlighted:e,itemId:f,paths:d,seriesIdx:r})]:[2];case 1:return E.sent(),[4,this.updateDatumNodes({datumSelection:i,isHighlight:!1,seriesIdx:r})];case 2:return E.sent(),[4,this.updateLabelNodes({labelSelection:l,seriesIdx:r})];case 3:return E.sent(),c&&p?[4,this.updateMarkerNodes({markerSelection:p,isHighlight:!1,seriesIdx:r})]:[3,5];case 4:E.sent(),E.label=5;case 5:return[2]}}))}))})))];case 6:return d.sent(),[2]}}))}))},t.prototype.updateHighlightSelection=function(e){return ia(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O;return aa(this,(function(S){switch(S.label){case 0:return r=(t=this).chart,n=(o=void 0===r?{}:r).highlightedDatum,i=(void 0===n?{}:n).datum,a=void 0===i?void 0:i,s=o.highlightedDatum,l=void 0===s?void 0:s,c=t.highlightSelection,u=t.highlightLabelSelection,p=t._contextNodeData,d=e&&l&&a?l:void 0,g=this,[4,this.updateHighlightSelectionItem({item:d,highlightSelection:c})];case 1:if(g.highlightSelection=S.sent(),this.isLabelEnabled()&&null!=d){f=d.itemId,v=void 0===f?void 0:f;try{for(y=ca(p),m=y.next();!m.done&&(b=m.value.labelData,null==(h=b.find((function(e){return e.datum===d.datum&&e.itemId===v}))));m=y.next());}catch(e){C={error:e}}finally{try{m&&!m.done&&(O=y.return)&&O.call(y)}finally{if(C)throw C.error}}}return w=this,[4,this.updateHighlightSelectionLabel({item:h,highlightLabelSelection:u})];case 2:return w.highlightLabelSelection=S.sent(),[2]}}))}))},t.prototype.pickNodeExactShape=function(t){var r,o,n,i=e.prototype.pickNodeExactShape.call(this,t);if(i)return i;var a=t.x,s=t.y,l=this.opts.pickGroupIncludes.includes("markers");try{for(var c=ca(this.subGroups),u=c.next();!u.done;u=c.next()){var p=u.value,d=p.pickGroup,g=p.markerGroup,h=d.pickNode(a,s);if(!h&&l&&(h=null===(n=g)||void 0===n?void 0:n.pickNode(a,s)),h)return{datum:h.datum,distance:0}}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}},t.prototype.pickNodeClosestDatum=function(e){var t,r,o,n,i,a,s,l,c,u=e.x,p=e.y,d=this.xAxis,g=this.yAxis,h=this.group,f=this._contextNodeData,v=h.transformPoint(u,p),y=1/0;try{for(var m=ca(f),b=m.next();!b.done;b=m.next()){var w=b.value;try{for(var C=(o=void 0,ca(w.nodeData)),O=C.next();!O.done;O=C.next()){var S,E=O.value,x=E.point,R=void 0===x?{}:x,T=R.x,A=void 0===T?NaN:T,P=R.y,_=void 0===P?NaN:P;if(!isNaN(A)&&!isNaN(_))if((null===(i=d)||void 0===i?void 0:i.inRange(A))&&(null===(a=g)||void 0===a?void 0:a.inRange(_)))(S=Math.max(Math.pow(v.x-A,2)+Math.pow(v.y-_,2),0))<y&&(y=S,c=E)}}catch(e){o={error:e}}finally{try{O&&!O.done&&(n=C.return)&&n.call(C)}finally{if(o)throw o.error}}}}catch(e){t={error:e}}finally{try{b&&!b.done&&(r=m.return)&&r.call(m)}finally{if(t)throw t.error}}if(c)return{datum:c,distance:S=Math.max(Math.sqrt(y)-(null!=(l=null===(s=c.point)||void 0===s?void 0:s.size)?l:0),0)}},t.prototype.pickNodeMainAxisFirst=function(e,t){var r,o,n,i,a,s,l,c,u=e.x,p=e.y,d=this.xAxis,g=this.yAxis,h=this.group,f=this._contextNodeData,v=[d,g].filter((function(e){return e instanceof to})).map((function(e){return e.direction}));if(!t||0!==v.length){var y=sa(v,1)[0],m=void 0===y?Dr.X:y,b=h.transformPoint(u,p),w=m===Dr.X?[b.x,b.y]:[b.y,b.x],C=[1/0,1/0],O=void 0;try{for(var S=ca(f),E=S.next();!E.done;E=S.next()){var x=E.value;try{for(var R=(n=void 0,ca(x.nodeData)),T=R.next();!T.done;T=R.next()){var A=T.value,P=A.point,_=void 0===P?{}:P,D=_.x,M=void 0===D?NaN:D,N=_.y,I=void 0===N?NaN:N;if(!isNaN(M)&&!isNaN(I))if((null===(a=d)||void 0===a?void 0:a.inRange(M))&&(null===(s=g)||void 0===s?void 0:s.inRange(I))){for(var L=m===Dr.X?[M,I]:[I,M],k=!0,F=0;F<L.length;F++){var G=Math.abs(L[F]-w[F]);if(G>C[F]){k=!1;break}G<C[F]&&(C[F]=G,C.fill(1/0,F+1,C.length))}k&&(O=A)}}}catch(e){n={error:e}}finally{try{T&&!T.done&&(i=R.return)&&i.call(R)}finally{if(n)throw n.error}}}}catch(e){r={error:e}}finally{try{E&&!E.done&&(o=S.return)&&o.call(S)}finally{if(r)throw r.error}}if(O)return{datum:O,distance:Math.max(Math.sqrt(Math.pow(C[0],2)+Math.pow(C[1],2))-(null!=(c=null===(l=O.point)||void 0===l?void 0:l.size)?c:0),0)}}},t.prototype.toggleSeriesItem=function(t,r){this.seriesItemEnabled.size>0?(this.seriesItemEnabled.set(t,r),this.nodeDataRefresh=!0):e.prototype.toggleSeriesItem.call(this,t,r)},t.prototype.isEnabled=function(){var t,r;if(this.seriesItemEnabled.size>0){try{for(var o=ca(this.seriesItemEnabled),n=o.next();!n.done;n=o.next()){if(sa(n.value,2)[1])return!0}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!1}return e.prototype.isEnabled.call(this)},t.prototype.isPathOrSelectionDirty=function(){return!1},t.prototype.getLabelData=function(){return[]},t.prototype.updatePaths=function(e){return ia(this,void 0,void 0,(function(){return aa(this,(function(t){return e.paths.forEach((function(e){return e.visible=!1})),[2]}))}))},t.prototype.updatePathNodes=function(e){return ia(this,void 0,void 0,(function(){return aa(this,(function(e){return[2]}))}))},t.prototype.updateHighlightSelectionItem=function(e){return ia(this,void 0,void 0,(function(){var t,r,o,n,i,a;return aa(this,(function(s){return t=this.opts.features,r=t.includes("markers"),o=e.item,n=e.highlightSelection,i=o?[o]:[],r?(a=n,[2,this.updateMarkerSelection({nodeData:i,markerSelection:a,seriesIdx:-1})]):[2,this.updateDatumSelection({nodeData:i,datumSelection:n,seriesIdx:-1})]}))}))},t.prototype.updateHighlightSelectionLabel=function(e){return ia(this,void 0,void 0,(function(){var t,r,o;return aa(this,(function(n){return t=e.item,r=e.highlightLabelSelection,o=t?[t]:[],[2,this.updateLabelSelection({labelData:o,labelSelection:r,seriesIdx:-1})]}))}))},t.prototype.updateDatumSelection=function(e){return ia(this,void 0,void 0,(function(){return aa(this,(function(t){return[2,e.datumSelection]}))}))},t.prototype.updateDatumNodes=function(e){return ia(this,void 0,void 0,(function(){return aa(this,(function(e){return[2]}))}))},t.prototype.updateMarkerSelection=function(e){return ia(this,void 0,void 0,(function(){return aa(this,(function(t){return[2,e.markerSelection]}))}))},t.prototype.updateMarkerNodes=function(e){return ia(this,void 0,void 0,(function(){return aa(this,(function(e){return[2]}))}))},t}(Un),da=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.formatter=void 0,t}return oa(t,e),na([Ie({validatePredicate:re,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"formatter",void 0),t}(Ki);function ga(e){return new Promise((function(t){setTimeout((function(){return t(void 0)}),e)}))}var ha=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},fa=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function va(e,t){if("string"==typeof e)return e;t=t||{};var r=e.content,o=void 0===r?t.content||"":r,n=e.title,i=void 0===n?t.title||void 0:n,a=e.color,s=void 0===a?t.color||"white":a,l=e.backgroundColor,c=void 0===l?t.backgroundColor||"#888":l;return(i?'<div class="ag-chart-tooltip-title"\n style="color: '+s+"; background-color: "+c+'">'+i+"</div>":"")+'<div class="ag-chart-tooltip-content">'+o+"</div>"}var ya,ma=function(){function e(t,r,o){var n=this;this.enabled=!0,this.class=void 0,this.lastClass=void 0,this.delay=0,this.tracking=!0,this.showTimeout=0,this.constrained=!1;var i=r.body,a=r.createElement("div");if(this.element=i.appendChild(a),this.element.classList.add("ag-chart-tooltip"),this.container=o,this.observedElement=t,window.IntersectionObserver){var s=new IntersectionObserver((function(e){var t,r;try{for(var o=fa(e),i=o.next();!i.done;i=o.next()){var a=i.value;a.target===n.observedElement()&&0===a.intersectionRatio&&n.toggle(!1)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}),{root:i});s.observe(this.observedElement()),this.observer=s}if(e.tooltipDocuments.indexOf(r)<0){var l=r.createElement("style");l.innerHTML='\n.ag-chart-tooltip {\n transition: transform 0.1s ease;\n display: table;\n position: absolute;\n left: 0px;\n top: 0px;\n user-select: none;\n pointer-events: none;\n white-space: nowrap;\n z-index: 99999;\n font: 12px Verdana, sans-serif;\n color: black;\n background: rgb(244, 244, 244);\n border-radius: 5px;\n box-shadow: 0 0 1px rgba(3, 3, 3, 0.7), 0.5vh 0.5vh 1vh rgba(3, 3, 3, 0.25);\n}\n\n.ag-chart-tooltip-no-animation {\n transition: none !important;\n}\n\n.ag-chart-tooltip-hidden {\n visibility: hidden;\n}\n\n.ag-chart-tooltip-title {\n font-weight: bold;\n padding: 7px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n color: white;\n background-color: #888888;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n}\n\n.ag-chart-tooltip-content {\n padding: 7px;\n line-height: 1.7em;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n overflow: hidden;\n}\n\n.ag-chart-tooltip-content:empty {\n padding: 0;\n height: 7px;\n}\n\n.ag-chart-tooltip-arrow::before {\n content: "";\n\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n\n border: 6px solid #989898;\n\n border-left-color: transparent;\n border-right-color: transparent;\n border-top-color: #989898;\n border-bottom-color: transparent;\n\n width: 0;\n height: 0;\n\n margin: 0 auto;\n}\n\n.ag-chart-tooltip-arrow::after {\n content: "";\n\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n\n border: 5px solid black;\n\n border-left-color: transparent;\n border-right-color: transparent;\n border-top-color: rgb(244, 244, 244);\n border-bottom-color: transparent;\n\n width: 0;\n height: 0;\n\n margin: 0 auto;\n}\n\n.ag-chart-wrapper {\n box-sizing: border-box;\n overflow: hidden;\n}\n',r.head.insertBefore(l,r.head.querySelector("style")),e.tooltipDocuments.push(r)}}return e.prototype.destroy=function(){var e=this.element.parentNode;e&&e.removeChild(this.element),this.observer&&this.observer.unobserve(this.observedElement())},e.prototype.isVisible=function(){return!this.element.classList.contains("ag-chart-tooltip-hidden")},e.prototype.updateClass=function(e,t){var r=this.element,o=this.class,n=this.lastClass,i=function(e,t){var o="ag-chart-tooltip-"+e;t?r.classList.add(o):r.classList.remove(o)};i("no-animation",!!r.classList.contains("ag-chart-tooltip-hidden")&&!!e),i("hidden",!e),i("arrow",!t),o!==n&&(n&&r.classList.remove(n),o&&r.classList.add(o),this.lastClass=o)},e.prototype.show=function(e,t,r){var o=this;void 0===r&&(r=!1);var n=this.element;if(void 0!==t)n.innerHTML=t;else if(!n.innerHTML)return;var i=e.pageX-n.clientWidth/2,a=e.pageY-n.clientHeight-8;if(this.constrained=!1,this.container()){var s=n.getBoundingClientRect().width,l=window.innerWidth-s-1;i<0?(i=0,this.constrained=!0):i>l&&(i=l,this.constrained=!0),a<window.scrollY&&(a=e.pageY+20,this.constrained=!0)}if(n.style.transform="translate("+Math.round(i)+"px, "+Math.round(a)+"px)",this.delay>0&&!r)return this.toggle(!1),void(this.showTimeout=window.setTimeout((function(){o.toggle(!0)}),this.delay));this.toggle(!0)},e.prototype.toggle=function(e){e||window.clearTimeout(this.showTimeout),this.updateClass(e,this.constrained)},e.tooltipDocuments=[],ha([K(oe)],e.prototype,"enabled",void 0),ha([K(ae)],e.prototype,"class",void 0),ha([K(fe(0))],e.prototype,"delay",void 0),ha([K(oe)],e.prototype,"tracking",void 0),e}(),ba=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),wa=function(){return(wa=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Ca=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Oa=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},Sa=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ea=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},xa=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Ra=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(xa(arguments[t]));return e};!function(e){e[e.FULL=0]="FULL",e[e.PROCESS_DATA=1]="PROCESS_DATA",e[e.PERFORM_LAYOUT=2]="PERFORM_LAYOUT",e[e.SERIES_UPDATE=3]="SERIES_UPDATE",e[e.SCENE_RENDER=4]="SCENE_RENDER",e[e.NONE=5]="NONE"}(ya||(ya={}));var Ta=function(e){function t(t,r){void 0===t&&(t=window.document);var o=e.call(this)||this;o.id=m(o),o.options={},o.userOptions={},o.background=new oi,o.legend=new ki,o.legendAutoPadding=new Xn,o._debug=!1,o.extraDebugStats={},o._container=void 0,o._data=[],o._autoSize=!1,o.padding=new Xn(20),o._title=void 0,o._subtitle=void 0,o._destroyed=!1,o._pendingFactoryUpdates=[],o._performUpdateNoRenderCount=0,o._performUpdateType=ya.NONE,o.seriesToUpdate=new Set,o.performUpdateTrigger=Bi((function(e){return setTimeout(e,0)}),(function(e){var t=e.count;return Oa(o,void 0,void 0,(function(){var e;return Sa(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.performUpdate(t)];case 1:return r.sent(),[3,3];case 2:return e=r.sent(),this._lastPerformUpdateError=e,console.error(e),[3,3];case 3:return[2]}}))}))})),o._axes=[],o._series=[],o.legendBBox=new h(0,0,0,0),o._onMouseDown=o.onMouseDown.bind(o),o._onMouseMove=o.onMouseMove.bind(o),o._onMouseUp=o.onMouseUp.bind(o),o._onMouseOut=o.onMouseOut.bind(o),o._onClick=o.onClick.bind(o),o.lastPointerMeta=void 0,o.pointerScheduler=function(e){return Bi((function(e){return requestAnimationFrame(e)}),e)}((function(){o.handlePointer(o.lastPointerMeta),o.lastPointerMeta=void 0})),o.pointerInsideLegend=!1,o.pointerOverLegendDatum=!1;var n=new Ut({name:"root"}),i=o.background;i.fill="white",n.appendChild(i.node);var a=o.element=t.createElement("div");return a.classList.add("ag-chart-wrapper"),a.style.position="relative",o.scene=new An({document:t,overrideDevicePixelRatio:r}),o.scene.debug.consoleLog=o._debug,o.scene.root=n,o.scene.container=a,o.autoSize=!0,Gi.observe(o.element,(function(e){var t=e.width,r=e.height;o.autoSize&&(0===t&&0===r||t===o.width&&r===o.height||(o._lastAutoSize=[t,r],o.resize(t,r)))})),o.tooltip=new ma((function(){return o.scene.canvas.element}),t,(function(){return o.container})),o.setupDomListeners(o.scene.canvas.element),o}return ba(t,e),Object.defineProperty(t.prototype,"debug",{get:function(){return this._debug},set:function(e){this._debug=e,this.scene.debug.consoleLog=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(e){if(this._container!==e){var t=this.element.parentNode;null!=t&&t.removeChild(this.element),e&&!this.destroyed&&e.appendChild(this.element),this._container=e}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,this.series.forEach((function(t){return t.data=e}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.scene.width},set:function(e){this.autoSize=!1,this.width!==e&&this.resize(e,this.height)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.scene.height},set:function(e){this.autoSize=!1,this.height!==e&&this.resize(this.width,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoSize",{get:function(){return this._autoSize},set:function(e){if(this._autoSize!==e){this._autoSize=e;var t=this.element.style;if(e){if(t.display="block",t.width="100%",t.height="100%",!this._lastAutoSize)return;this.resize(this._lastAutoSize[0],this._lastAutoSize[1])}else t.display="inline-block",t.width="auto",t.height="auto"}},enumerable:!0,configurable:!0}),t.prototype.download=function(e,t){this.scene.download(e,t)},Object.defineProperty(t.prototype,"title",{get:function(){return this._title},set:function(e){var t,r,o=this.scene.root;null!=this._title&&(null===(t=o)||void 0===t||t.removeChild(this._title.node)),this._title=e,null!=this._title&&(null===(r=o)||void 0===r||r.appendChild(this._title.node))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitle",{get:function(){return this._subtitle},set:function(e){var t,r,o=this.scene.root;null!=this._subtitle&&(null===(t=o)||void 0===t||t.removeChild(this._subtitle.node)),this._subtitle=e,null!=this._subtitle&&(null===(r=o)||void 0===r||r.appendChild(this._subtitle.node))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._performUpdateType=ya.NONE,this._pendingFactoryUpdates.splice(0),this.tooltip.destroy(),Gi.unobserve(this.element),this.container=void 0,this.cleanupDomListeners(this.scene.canvas.element),this.scene.destroy(),this.series.forEach((function(e){return e.destroy()})),this.series=[],this._destroyed=!0},t.prototype.log=function(e){this.debug&&console.log(e)},t.prototype.togglePointer=function(e){this.tooltip.enabled?this.tooltip.toggle(e):this.lastPick&&this.changeHighlightDatum()},t.prototype.requestFactoryUpdate=function(e){var t=this._pendingFactoryUpdates,r=t.length;0===r?(t.push(e),this._processCallbacks()):t.splice(1,r-1,e)},t.prototype._processCallbacks=function(){return Oa(this,void 0,void 0,(function(){var e,t;return Sa(this,(function(r){switch(r.label){case 0:e=this._pendingFactoryUpdates,r.label=1;case 1:return e.length>0?this.updatePending?[4,ga(1)]:[3,3]:[3,7];case 2:return r.sent(),[3,1];case 3:return r.trys.push([3,5,,6]),[4,e[0]()];case 4:return r.sent(),[3,6];case 5:return t=r.sent(),console.error(t),[3,6];case 6:return e.shift(),[3,1];case 7:return[2]}}))}))},Object.defineProperty(t.prototype,"performUpdateType",{get:function(){return this._performUpdateType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updatePending",{get:function(){return this._performUpdateType!==ya.NONE||null!=this.lastPointerMeta},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastPerformUpdateError",{get:function(){return this._lastPerformUpdateError},enumerable:!0,configurable:!0}),t.prototype.awaitUpdateCompletion=function(){return Oa(this,void 0,void 0,(function(){return Sa(this,(function(e){switch(e.label){case 0:return[4,this.performUpdateTrigger.await()];case 1:return e.sent(),[2]}}))}))},t.prototype.update=function(e,t){var r,o;void 0===e&&(e=ya.FULL);var n=t||{},i=n.forceNodeDataRefresh,a=void 0!==i&&i,s=n.seriesToUpdate,l=void 0===s?this.series:s;a&&this.series.forEach((function(e){return e.markNodeDataDirty()}));try{for(var c=Ea(l),u=c.next();!u.done;u=c.next()){var p=u.value;this.seriesToUpdate.add(p)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}e<this._performUpdateType&&(this._performUpdateType=e,this.performUpdateTrigger.schedule())},t.prototype.performUpdate=function(e){return Oa(this,void 0,void 0,(function(){var t,r,o,n,i,a,s;return Sa(this,(function(l){switch(l.label){case 0:switch(r=(t=this)._performUpdateType,o=t.extraDebugStats,n=[performance.now()],r){case ya.FULL:case ya.PROCESS_DATA:return[3,1];case ya.PERFORM_LAYOUT:return[3,3];case ya.SERIES_UPDATE:return[3,5];case ya.SCENE_RENDER:return[3,7];case ya.NONE:return[3,9]}return[3,10];case 1:return[4,this.processData()];case 2:l.sent(),n.push(performance.now()),this.disablePointer({updateProcessing:!1}),l.label=3;case 3:return this._autoSize&&!this._lastAutoSize&&this._performUpdateNoRenderCount++<5?(this._performUpdateType=ya.PERFORM_LAYOUT,this.performUpdateTrigger.schedule(),[3,10]):(this._performUpdateNoRenderCount=0,[4,this.performLayout()]);case 4:l.sent(),n.push(performance.now()),l.label=5;case 5:return i=this.seriesRect,a=Ra(this.seriesToUpdate).map((function(e){return e.update({seriesRect:i})})),this.seriesToUpdate.clear(),[4,Promise.all(a)];case 6:l.sent(),n.push(performance.now()),l.label=7;case 7:return[4,this.scene.render({debugSplitTimes:n,extraDebugStats:o})];case 8:l.sent(),this.extraDebugStats={},l.label=9;case 9:this._performUpdateType=ya.NONE,l.label=10;case 10:return s=performance.now(),this.log({chart:this,durationMs:Math.round(100*(s-n[0]))/100,count:e,performUpdateType:ya[r]}),[2]}}))}))},Object.defineProperty(t.prototype,"axes",{get:function(){return this._axes},set:function(e){var t=this;this._axes.forEach((function(e){return t.detachAxis(e)})),this._axes=e.filter((function(e){return!e.linkedTo})).concat(e.filter((function(e){return e.linkedTo}))),this._axes.forEach((function(e){return t.attachAxis(e)}))},enumerable:!0,configurable:!0}),t.prototype.attachAxis=function(e){this.scene.root.insertBefore(e.gridlineGroup,this.seriesRoot),this.scene.root.insertBefore(e.axisGroup,this.seriesRoot),this.scene.root.insertBefore(e.crossLineGroup,this.seriesRoot)},t.prototype.detachAxis=function(e){this.scene.root.removeChild(e.axisGroup),this.scene.root.removeChild(e.gridlineGroup),this.scene.root.removeChild(e.crossLineGroup)},Object.defineProperty(t.prototype,"series",{get:function(){return this._series},set:function(e){var t=this;this.removeAllSeries(),e.forEach((function(e){return t.addSeries(e)}))},enumerable:!0,configurable:!0}),t.prototype.addSeries=function(e,t){var r=this.series,o=this.seriesRoot;if(r.indexOf(e)<0){var n=t?r.indexOf(t):-1;return n>=0?(r.splice(n,0,e),o.insertBefore(e.group,t.group)):(r.push(e),o.append(e.group)),this.initSeries(e),!0}return!1},t.prototype.initSeries=function(e){e.chart=this,e.data||(e.data=this.data),e.addEventListener("nodeClick",this.onSeriesNodeClick,this)},t.prototype.freeSeries=function(e){e.chart=void 0,e.removeEventListener("nodeClick",this.onSeriesNodeClick,this)},t.prototype.addSeriesAfter=function(e,t){var r=this.series,o=this.seriesRoot;if(r.indexOf(e)<0){var n=t?this.series.indexOf(t):-1;n>=0?(n+1<r.length?o.insertBefore(e.group,r[n+1].group):o.append(e.group),this.initSeries(e),r.splice(n+1,0,e)):(r.length>0?o.insertBefore(e.group,r[0].group):o.append(e.group),this.initSeries(e),r.unshift(e))}return!1},t.prototype.removeSeries=function(e){var t=this.series.indexOf(e);return t>=0&&(this.series.splice(t,1),this.freeSeries(e),this.seriesRoot.removeChild(e.group),!0)},t.prototype.removeAllSeries=function(){var e=this;this.series.forEach((function(t){e.freeSeries(t),e.seriesRoot.removeChild(t.group)})),this._series=[]},t.prototype.assignSeriesToAxes=function(){var e=this;this.axes.forEach((function(t){t.boundSeries=e.series.filter((function(e){return(t.direction===Dr.X?e.xAxis:e.yAxis)===t}))}))},t.prototype.assignAxesToSeries=function(e){var t=this;void 0===e&&(e=!1);var r={};this.axes.forEach((function(e){var t=e.direction;(r[t]||(r[t]=[])).push(e)})),this.series.forEach((function(o){o.directions.forEach((function(n){if(!(n===Dr.X?o.xAxis:o.yAxis)||e){var i=r[n];if(i){var a=o.getKeys(n),s=t.findMatchingAxis(i,o.getKeys(n));s?n===Dr.X?o.xAxis=s:o.yAxis=s:console.warn("AG Charts - no matching axis for direction ["+n+"] and keys ["+a+"]; check series and axes configuration.")}else console.warn("AG Charts - no available axis for direction ["+n+"]; check series and axes configuration.")}}))}))},t.prototype.findMatchingAxis=function(e,t){var r,o,n,i;try{for(var a=Ea(e),s=a.next();!s.done;s=a.next()){var l=s.value,c=l.keys;if(!c.length)return l;if(t)try{for(var u=(n=void 0,Ea(t)),p=u.next();!p.done;p=u.next()){var d=p.value;if(c.indexOf(d)>=0)return l}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},t.prototype.resize=function(e,t){this.scene.resize(e,t)&&(this.background.width=this.width,this.background.height=this.height,this.update(ya.PERFORM_LAYOUT,{forceNodeDataRefresh:!0}))},t.prototype.processData=function(){return Oa(this,void 0,void 0,(function(){return Sa(this,(function(e){switch(e.label){case 0:return(this.axes.length>0||this.series.some((function(e){return e instanceof pa})))&&(this.assignAxesToSeries(!0),this.assignSeriesToAxes()),[4,Promise.all(this.series.map((function(e){return e.processData()})))];case 1:return e.sent(),[4,this.updateLegend()];case 2:return e.sent(),[2]}}))}))},t.prototype.placeLabels=function(){var e,t,r,o=[],n=[];try{for(var i=Ea(this.series),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.visible){var l=s.getLabelData();l&&(null!=(r=l[0])&&"object"==typeof r.point&&"object"==typeof r.label)&&(n.push(l),o.push(s))}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}var c=this.seriesRect,u=c&&n.length>0?function(e,t,r){void 0===r&&(r=5);var o=[];e=e.map((function(e){return e.slice().sort((function(e,t){return t.point.size-e.point.size}))}));for(var n=0;n<e.length;n++){var i=o[n]=[],a=e[n];if(a&&a.length&&a[0].label)for(var s=function(n,s){var l,c,u,p,d=a[n],g=d.label,h=.5*d.point.size,f=d.point.x-.5*g.width,v=d.point.y-h-g.height-r,y=g.width,m=g.height;return!t||(u=v,p=m,(c=f)+y<(l=t).x+l.width&&c>l.x&&u>l.y&&u+p<l.y+l.height)?e.some((function(e){return e.some((function(e){return br(e.point,f,v,y,m)}))}))||o.some((function(e){return e.some((function(e){return wr(e,f,v,y,m)}))}))?"continue":void i.push({index:n,text:g.text,x:f,y:v,width:y,height:m,datum:d}):"continue"},l=0,c=a.length;l<c;l++)s(l)}return o}(n,{x:0,y:0,width:c.width,height:c.height}):[];return new Map(u.map((function(e,t){return[o[t],e]})))},t.prototype.updateLegend=function(){return Oa(this,void 0,void 0,(function(){var e,t;return Sa(this,(function(r){return e=[],this.series.filter((function(e){return e.showInLegend})).forEach((function(t){e.push.apply(e,Ra(t.getLegendData()))})),(t=this.legend.item.label.formatter)&&e.forEach((function(e){return e.label.text=t({get id(){return dr((function(){return console.warn("AG Charts - LegendLabelFormatterParams.id is deprecated, use seriesId instead",e)}),"LegendLabelFormatterParams.id deprecated"),e.seriesId},itemId:e.itemId,value:e.label.text,seriesId:e.seriesId})})),this.legend.data=e,[2]}))}))},t.prototype.positionCaptions=function(){var e=this._title,t=this._subtitle,r=10;if(!e)return{};if(e.node.visible=e.enabled,e.enabled){e.node.x=this.width/2,e.node.y=r;var o=e.node.computeBBox();o&&(r=o.y+o.height)}if(!t)return{};if(t.node.visible=e.enabled&&t.enabled,e.enabled&&t.enabled){t.node.x=this.width/2,t.node.y=r+10;var n=t.node.computeBBox();n&&(r=n.y+n.height)}return{captionAutoPadding:Math.floor(r)}},t.prototype.positionLegend=function(e){var t=this.legend,r=this.legendAutoPadding;if(r.clear(),t.enabled&&t.data.length){var o,n=this.width,i=this.height-e,a=t.group,s=t.spacing,l=0,c=0;switch(t.position){case"bottom":t.performLayout(n-2*s,0),o=a.computeBBox(),a.visible=o.height<Math.floor(.5*i),a.visible?(l=(n-o.width)/2-o.x,c=e+i-o.height-o.y-s,r.bottom=o.height):r.bottom=0;break;case"top":t.performLayout(n-2*s,0),o=a.computeBBox(),a.visible=o.height<Math.floor(.5*i),a.visible?(l=(n-o.width)/2-o.x,c=e+s-o.y,r.top=o.height):r.top=0;break;case"left":t.performLayout(n,i-2*s),o=a.computeBBox(),a.visible=o.width<Math.floor(.5*n),a.visible?(l=s-o.x,c=e+(i-o.height)/2-o.y,r.left=o.width):r.left=0;break;default:t.performLayout(n,i-2*s),o=a.computeBBox(),a.visible=o.width<Math.floor(.5*n),a.visible?(l=n-o.width-o.x-s,c=e+(i-o.height)/2-o.y,r.right=o.width):r.right=0}a.visible&&(a.translationX=Math.floor(l+a.translationX),a.translationY=Math.floor(c+a.translationY),this.legendBBox=a.computeBBox())}},t.prototype.setupDomListeners=function(e){e.addEventListener("mousedown",this._onMouseDown),e.addEventListener("mousemove",this._onMouseMove),e.addEventListener("mouseup",this._onMouseUp),e.addEventListener("mouseout",this._onMouseOut),e.addEventListener("click",this._onClick)},t.prototype.cleanupDomListeners=function(e){e.removeEventListener("mousedown",this._onMouseDown),e.removeEventListener("mousemove",this._onMouseMove),e.removeEventListener("mouseup",this._onMouseUp),e.removeEventListener("mouseout",this._onMouseOut),e.removeEventListener("click",this._onClick)},t.prototype.getSeriesRect=function(){return this.seriesRect},t.prototype.pickSeriesNode=function(e){var t,r,o,n,i=this.tooltip.tracking,a=performance.now(),s=i?void 0:[Mn.EXACT_SHAPE_MATCH],l=Ra(this.series).reverse(),c=void 0;try{for(var u=Ea(l),p=u.next();!p.done;p=u.next()){var d=p.value;if(d.visible&&d.group.visible){var g=null!=(o=d.pickNode(e,s))?o:{},h=g.match,f=g.distance;if(h&&null!=f&&((!c||c.distance>f)&&(c={series:d,distance:f,datum:h}),0===f))break}}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return this.extraDebugStats.pickSeriesNode=Math.round((null!=(n=this.extraDebugStats.pickSeriesNode)?n:0)+(performance.now()-a)),c},t.prototype.onMouseMove=function(e){this.handleLegendMouseMove(e),this.tooltip.enabled&&this.tooltip.delay>0&&this.togglePointer(!1),this.lastPointerMeta={pageX:e.pageX,pageY:e.pageY,offsetX:e.offsetX,offsetY:e.offsetY,event:e},this.pointerScheduler.schedule(),this.extraDebugStats.mouseX=e.offsetX,this.extraDebugStats.mouseY=e.offsetY,this.update(ya.SCENE_RENDER)},t.prototype.disablePointer=function(e){var t=(void 0===e?{}:e).updateProcessing,r=void 0===t||t;this.changeHighlightDatum(void 0,{updateProcessing:r}),this.togglePointer(!1)},t.prototype.handlePointer=function(e){var t=this,r=this.lastPick,o=e.offsetX,n=e.offsetY,i=function(){r&&t.disablePointer()};if(this.seriesRect&&this.seriesRect.containsPoint(o,n)){var a=this.pickSeriesNode({x:o,y:n});a?r&&r.datum===a.datum?(r.event=e.event,this.tooltip.enabled&&a.series.tooltip.enabled&&this.tooltip.show(this.mergePointerDatum(e,a.datum))):this.onSeriesDatumPick(e,a.datum):i()}else i()},t.prototype.onMouseDown=function(e){},t.prototype.onMouseUp=function(e){},t.prototype.onMouseOut=function(e){this.togglePointer(!1)},t.prototype.onClick=function(e){this.checkSeriesNodeClick()?this.update(ya.SERIES_UPDATE):this.checkLegendClick(e)?this.update(ya.PROCESS_DATA,{forceNodeDataRefresh:!0}):this.fireEvent({type:"click",event:e})},t.prototype.checkSeriesNodeClick=function(){var e=this.lastPick;if(e&&e.event){var t=e.event,r=e.datum;return r.series.fireNodeClickEvent(t,r),!0}return!1},t.prototype.onSeriesNodeClick=function(e){var t=wa(wa({},e),{type:"seriesNodeClick"});Object.defineProperty(t,"series",{enumerable:!1,get:function(){return e.series}}),this.fireEvent(t)},t.prototype.checkLegendClick=function(e){var t,r=this.legend,o=this.legend.listeners.legendItemClick,n=r.getDatumForPoint(e.offsetX,e.offsetY);if(!n)return!1;var i=n.id,a=n.itemId,s=n.enabled,l=Ot(this.series,(function(e){return e.id===i}));return!!l&&(l.toggleSeriesItem(a,!s),s&&this.togglePointer(!1),s&&(null===(t=this.highlightedDatum)||void 0===t?void 0:t.series)===l&&(this.highlightedDatum=void 0),s||(this.highlightedDatum={series:l,itemId:a,datum:void 0}),o({enabled:!s,itemId:a,seriesId:l.id}),!0)},t.prototype.handleLegendMouseMove=function(e){if(this.legend.enabled){var t=e.offsetX,r=e.offsetY,o=this.legend.getDatumForPoint(t,r),n=this.legendBBox.containsPoint(t,r),i=n&&void 0!==o;if(!n&&this.pointerInsideLegend)return this.pointerInsideLegend=!1,this.element.style.cursor="default",void this.changeHighlightDatum();i&&!this.pointerOverLegendDatum&&(this.element.style.cursor="pointer",o&&this.legend.truncatedItems.has(o.itemId||o.id)?this.element.title=o.label.text:this.element.title=""),!i&&this.pointerOverLegendDatum&&(this.element.style.cursor="default"),this.pointerInsideLegend=n,this.pointerOverLegendDatum=i;var a=this.highlightedDatum;if(o){var s=o.id,l=o.itemId;if(o.enabled){var c=Ot(this.series,(function(e){return e.id===s}));c&&(this.highlightedDatum={series:c,itemId:l,datum:void 0})}else this.highlightedDatum=void 0}(this.highlightedDatum&&!a||!this.highlightedDatum&&a||this.highlightedDatum&&a&&(this.highlightedDatum.series!==a.series||this.highlightedDatum.itemId!==a.itemId))&&this.update(ya.SERIES_UPDATE)}},t.prototype.onSeriesDatumPick=function(e,t){var r=this.lastPick;if(!r||r.datum!==t){this.changeHighlightDatum({datum:t,event:e.event}),t&&(e=this.mergePointerDatum(e,t));var o=this.tooltip.enabled&&t.series.tooltip.enabled&&t.series.getTooltipHtml(t);o&&this.tooltip.show(e,o)}},t.prototype.mergePointerDatum=function(e,t){if(t.point){var r=t.point,o=r.x,n=r.y,i=this.scene.canvas,a=t.series.group.inverseTransformPoint(o,n),s=i.element.getBoundingClientRect();return wa(wa({},e),{pageX:Math.round(s.left+window.scrollX+a.x),pageY:Math.round(s.top+window.scrollY+a.y),offsetX:Math.round(s.left+a.y),offsetY:Math.round(s.top+a.y)})}return e},t.prototype.changeHighlightDatum=function(e,t){var r=(null!=t?t:{}).updateProcessing,o=void 0===r||r,n=new Set,i=e||{},a=i.datum,s=(void 0===a?{}:a).series,l=void 0===s?void 0:s,c=i.datum,u=void 0===c?void 0:c,p=this.lastPick,d=(void 0===p?{}:p).datum,g=(void 0===d?{}:d).series,h=void 0===g?void 0:g;(h&&n.add(h),l&&(n.add(l),this.element.style.cursor=l.cursor),this.lastPick=e,this.highlightedDatum=u,o)&&(null==l||null==h?this.update(ya.SERIES_UPDATE):this.update(ya.SERIES_UPDATE,{seriesToUpdate:n}))},t.prototype.waitForUpdate=function(e){return void 0===e&&(e=5e3),Oa(this,void 0,void 0,(function(){var t;return Sa(this,(function(r){switch(r.label){case 0:t=performance.now(),r.label=1;case 1:if(!(this._pendingFactoryUpdates.length>0||this.updatePending))return[3,3];if(performance.now()-t>e)throw new Error("waitForUpdate() timeout reached.");return[4,ga(5)];case 2:return r.sent(),[3,1];case 3:return[4,this.awaitUpdateCompletion()];case 4:return r.sent(),[2]}}))}))},Ca([K(oe)],t.prototype,"_autoSize",void 0),t}(W),Aa=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Pa=function(){return(Pa=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},_a=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Da=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ma=function(e){function t(){var t=e.call(this)||this;return t.path=new Gt,t.enabled=!0,t._dirtyPath=!0,t.x=0,t.y=0,t.width=10,t.height=10,t.isContainerNode=!0,t}return Aa(t,e),t.prototype.containsPoint=function(e,t){var r=this.transformPoint(e,t);return r.x>=this.x&&r.x<=this.x+this.width&&r.y>=this.y&&r.y<=this.y+this.height},t.prototype.updatePath=function(){var e=this,t=e.x,r=e.y,o=e.width,n=e.height,i=e.path;i.clear(),i.rect(t,r,o,n),this._dirtyPath=!1},t.prototype.computeBBox=function(){var e=this.x,t=this.y,r=this.width,o=this.height;return new h(e,t,r,o)},t.prototype.render=function(t){var r,o,n=this.enabled,i=this.dirty,a=this._dirtyPath,s=this.children,l=t.ctx,c=t.forceRender,u=t.stats;if(i!==w.b.NONE||c){a&&this.updatePath(),n&&(l.save(),this.path.draw(l),l.clip());var p=n?this.computeBBox():void 0,d=Pa(Pa({},t),{clipBBox:p});try{for(var g=Da(s),h=g.next();!h.done;h=g.next()){var f=h.value;f.visible&&(c||f.dirty>w.b.NONE)?(l.save(),f.render(d),l.restore()):f.visible||f.markClean()}}catch(e){r={error:e}}finally{try{h&&!h.done&&(o=g.return)&&o.call(g)}finally{if(r)throw r.error}}e.prototype.render.call(this,t),n&&l.restore()}else u&&(u.nodesSkipped+=this.nodeCount.count)},t.className="ClipRect",_a([Object(w.c)({redraw:w.b.MAJOR})],t.prototype,"enabled",void 0),_a([er()],t.prototype,"x",void 0),_a([er()],t.prototype,"y",void 0),_a([er()],t.prototype,"width",void 0),_a([er()],t.prototype,"height",void 0),t}(x),Na=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ia=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},La=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._fill="#f2f2f2",t._stroke="#999999",t._strokeWidth=1,t._lineCap="square",t._centerX=0,t._centerY=0,t._width=8,t._gripLineGap=2,t._gripLineLength=8,t._height=16,t}return Na(t,e),Object.defineProperty(t.prototype,"centerX",{get:function(){return this._centerX},set:function(e){this._centerX!==e&&(this._centerX=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"centerY",{get:function(){return this._centerY},set:function(e){this._centerY!==e&&(this._centerY=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(e){this._width!==e&&(this._width=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"gripLineGap",{get:function(){return this._gripLineGap},set:function(e){this._gripLineGap!==e&&(this._gripLineGap=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"gripLineLength",{get:function(){return this._gripLineLength},set:function(e){this._gripLineLength!==e&&(this._gripLineLength=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(e){this._height!==e&&(this._height=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),t.prototype.computeBBox=function(){var e=this.centerX,t=this.centerY,r=this.width,o=this.height;return new h(e-r/2,t-o/2,r,o)},t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t);return this.computeBBox().containsPoint(r.x,r.y)},t.prototype.updatePath=function(){var e=this,t=e.path,r=e.centerX,o=e.centerY,n=e.width,i=e.height;t.clear();var a=r-n/2,s=o-i/2,l=this.align(a),c=this.align(s),u=l+this.align(a,n),p=c+this.align(s,i);t.moveTo(l,c),t.lineTo(u,c),t.lineTo(u,p),t.lineTo(l,p),t.lineTo(l,c);var d=this.gripLineGap/2,g=this.gripLineLength/2;t.moveTo(this.align(r-d),this.align(o-g)),t.lineTo(this.align(r-d),this.align(o+g)),t.moveTo(this.align(r+d),this.align(o-g)),t.lineTo(this.align(r+d),this.align(o+g))},t.className="RangeHandle",Ia([K(de)],t.prototype,"_fill",void 0),Ia([K(de)],t.prototype,"_stroke",void 0),Ia([K(fe(0))],t.prototype,"_strokeWidth",void 0),Ia([K(Pe)],t.prototype,"_lineCap",void 0),Ia([K(fe(0))],t.prototype,"_width",void 0),Ia([K(fe(0))],t.prototype,"_gripLineGap",void 0),Ia([K(fe(0))],t.prototype,"_gripLineLength",void 0),Ia([K(fe(0))],t.prototype,"_height",void 0),t}(tr),ka=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Fa=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ga=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._stroke="#999999",t._strokeWidth=1,t._fill="#999999",t._fillOpacity=.2,t._lineCap="square",t._x=0,t._y=0,t._width=200,t._height=30,t.minRange=.05,t._min=0,t._max=1,t}return ka(t,e),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(e){this._x!==e&&(this._x=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(e){this._y!==e&&(this._y=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(e){this._width!==e&&(this._width=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(e){this._height!==e&&(this._height=e,this.dirtyPath=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this._min},set:function(e){var t;e=Math.min(Math.max(e,0),this.max-this.minRange),isNaN(e)||this._min!==e&&(this._min=e,this.dirtyPath=!0,null===(t=this.onRangeChange)||void 0===t||t.call(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(e){var t;e=Math.max(Math.min(e,1),this.min+this.minRange),isNaN(e)||this._max!==e&&(this._max=e,this.dirtyPath=!0,null===(t=this.onRangeChange)||void 0===t||t.call(this))},enumerable:!0,configurable:!0}),t.prototype.computeBBox=function(){var e=this.x,t=this.y,r=this.width,o=this.height;return new h(e,t,r,o)},t.prototype.computeVisibleRangeBBox=function(){var e=this,t=e.x,r=e.y,o=e.width,n=e.height,i=e.min,a=e.max,s=t+o*i;return new h(s,r,t+o*a-s,n)},t.prototype.updatePath=function(){var e=this,t=e.path,r=e.x,o=e.y,n=e.width,i=e.height,a=e.min,s=e.max;t.clear();var l=this.align(r),c=this.align(o),u=l+this.align(r,n),p=c+this.align(o,i);t.moveTo(l,c),t.lineTo(u,c),t.lineTo(u,p),t.lineTo(l,p),t.lineTo(l,c);var d=this.align(r+n*a),g=this.align(r+n*s);t.moveTo(d,c),t.lineTo(d,p),t.lineTo(g,p),t.lineTo(g,c),t.lineTo(d,c)},t.className="RangeMask",Fa([K(de)],t.prototype,"_stroke",void 0),Fa([K(fe(0))],t.prototype,"_strokeWidth",void 0),Fa([K(de)],t.prototype,"_fill",void 0),Fa([K(fe(0,1))],t.prototype,"_fillOpacity",void 0),Fa([K(Pe)],t.prototype,"_lineCap",void 0),Fa([K(fe(0))],t.prototype,"_width",void 0),Fa([K(fe(0))],t.prototype,"_height",void 0),Fa([K(fe())],t.prototype,"_min",void 0),Fa([K(fe())],t.prototype,"_max",void 0),t}(tr),ja=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),za=function(){return(za=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Ba=function(e){function t(){var r=e.call(this)||this;return r.minHandle=new La,r.maxHandle=new La,r.mask=function(){var e=t.defaults,o=e.x,n=e.y,i=e.width,a=e.height,s=e.min,l=e.max,c=new Ga;c.x=o,c.y=n,c.width=i,c.height=a,c.min=s,c.max=l;var u=r,p=u.minHandle,d=u.maxHandle;return p.centerX=o,d.centerX=o+i,p.centerY=d.centerY=n+a/2,r.append([c,p,d]),c.onRangeChange=function(){var e,t;r.updateHandles(),null===(t=(e=r).onRangeChange)||void 0===t||t.call(e)},c}(),r._x=t.defaults.x,r._y=t.defaults.y,r._width=t.defaults.width,r._height=t.defaults.height,r._min=t.defaults.min,r._max=t.defaults.max,r.isContainerNode=!0,r}return ja(t,e),Object.defineProperty(t.prototype,"x",{get:function(){return this.mask.x},set:function(e){this.mask.x=e,this.updateHandles()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this.mask.y},set:function(e){this.mask.y=e,this.updateHandles()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.mask.width},set:function(e){this.mask.width=e,this.updateHandles()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.mask.height},set:function(e){this.mask.height=e,this.updateHandles()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this.mask.min},set:function(e){this.mask.min=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this.mask.max},set:function(e){this.mask.max=e},enumerable:!0,configurable:!0}),t.prototype.updateHandles=function(){var e=this,t=e.minHandle,r=e.maxHandle,o=e.x,n=e.y,i=e.width,a=e.height,s=e.mask;t.centerX=o+i*s.min,r.centerX=o+i*s.max,t.centerY=r.centerY=n+a/2},t.prototype.computeBBox=function(){return this.mask.computeBBox()},t.prototype.computeVisibleRangeBBox=function(){return this.mask.computeVisibleRangeBBox()},t.prototype.render=function(e){var t=e.ctx,r=e.forceRender,o=e.stats;if(this.dirty!==w.b.NONE||r){this.computeTransformMatrix(),this.matrix.toContext(t);[this.mask,this.minHandle,this.maxHandle].forEach((function(o){o.visible&&(r||o.dirty>w.b.NONE)&&(t.save(),o.render(za(za({},e),{ctx:t,forceRender:r})),t.restore())})),this.markClean({force:!0}),o&&o.nodesRendered++}else o&&o.nodesSkipped++},t.className="Range",t.defaults={x:0,y:0,width:200,height:30,min:0,max:1},t}(Ut),Va=function(){function e(e){this.rm=e}return Object.defineProperty(e.prototype,"fill",{get:function(){return this.rm.fill},set:function(e){this.rm.fill=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.rm.stroke},set:function(e){this.rm.stroke=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.rm.strokeWidth},set:function(e){this.rm.strokeWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.rm.fillOpacity},set:function(e){this.rm.fillOpacity=e},enumerable:!0,configurable:!0}),e}(),Wa=function(){function e(e){this.rh=e}return Object.defineProperty(e.prototype,"fill",{get:function(){return this.rh.fill},set:function(e){this.rh.fill=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.rh.stroke},set:function(e){this.rh.stroke=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.rh.strokeWidth},set:function(e){this.rh.strokeWidth=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.rh.width},set:function(e){this.rh.width=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.rh.height},set:function(e){this.rh.height=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gripLineGap",{get:function(){return this.rh.gripLineGap},set:function(e){this.rh.gripLineGap=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gripLineLength",{get:function(){return this.rh.gripLineLength},set:function(e){this.rh.gripLineLength=e},enumerable:!0,configurable:!0}),e}(),Ha=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ua=function(){function e(e){this.rs=new Ba,this.mask=new Va(this.rs.mask),this.minHandle=new Wa(this.rs.minHandle),this.maxHandle=new Wa(this.rs.maxHandle),this.minHandleDragging=!1,this.maxHandleDragging=!1,this.panHandleOffset=NaN,this.changedCursor=!1,this._margin=10,this.chart=e,e.scene.root.append(this.rs),this.rs.onRangeChange=function(){return e.update(ya.PERFORM_LAYOUT,{forceNodeDataRefresh:!0})}}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this.rs.visible},set:function(e){this.rs.visible=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this.rs.x},set:function(e){this.rs.x=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.rs.y},set:function(e){this.rs.y=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.rs.width},set:function(e){this.rs.width=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.rs.height},set:function(e){this.rs.height=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this._margin},set:function(e){this._margin=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this.rs.min},set:function(e){this.rs.min=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this.rs.max},set:function(e){this.rs.max=e},enumerable:!0,configurable:!0}),e.prototype.onDragStart=function(e){if(this.enabled){var t=e.offsetX,r=e.offsetY,o=this.rs,n=o.minHandle,i=o.maxHandle,a=o.x,s=o.width,l=o.min,c=o.computeVisibleRangeBBox();this.minHandleDragging||this.maxHandleDragging||(n.containsPoint(t,r)?this.minHandleDragging=!0:i.containsPoint(t,r)?this.maxHandleDragging=!0:c.containsPoint(t,r)&&(this.panHandleOffset=(t-a)/s-l))}},e.prototype.onDrag=function(e){if(this.enabled){var t=this.rs,r=this.panHandleOffset,o=t.x,n=t.y,i=t.width,a=t.height,s=t.minHandle,l=t.maxHandle,c=this.chart.element.style,u=e.offsetX,p=e.offsetY,d=o+i*t.min,g=o+i*t.max,f=new h(d,n,g-d,a);if(s.containsPoint(u,p)||l.containsPoint(u,p)?(this.changedCursor=!0,c.cursor="ew-resize"):f.containsPoint(u,p)?(this.changedCursor=!0,c.cursor="grab"):this.changedCursor&&(this.changedCursor=!1,c.cursor="default"),this.minHandleDragging)t.min=m();else if(this.maxHandleDragging)t.max=m();else if(!isNaN(r)){var v=t.max-t.min,y=Math.min(m()-r,1-v);y<=t.min?(t.min=y,t.max=t.min+v):(t.max=y+v,t.min=t.max-v)}}function m(){return Math.min(Math.max((u-o)/i,0),1)}},e.prototype.onDragStop=function(){this.stopHandleDragging()},e.prototype.stopHandleDragging=function(){this.minHandleDragging=this.maxHandleDragging=!1,this.panHandleOffset=NaN},Ha([K(fe(0))],e.prototype,"_margin",void 0),e}(),Ka=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ya=function(){return(Ya=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Xa=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},qa=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Qa=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Za=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Ja=function(e){function t(t,r){var o;void 0===t&&(t=window.document);var n=e.call(this,t,r)||this;n.seriesRoot=new Ma,n.navigator=new Ua(n),n._lastAxisWidths=((o={})[Mr.Top]=0,o[Mr.Bottom]=0,o[Mr.Left]=0,o[Mr.Right]=0,o),n.scene.root.visible=!1;var i=n.scene.root;return i.append(n.seriesRoot),i.append(n.legend.group),n.navigator.enabled=!1,n}return Ka(t,e),t.prototype.performLayout=function(){return Xa(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g;return qa(this,(function(f){if(this.scene.root.visible=!0,t=(e=this).width,r=e.height,o=e.legend,n=e.navigator,i=new h(0,0,t,r),a=this.positionCaptions().captionAutoPadding,s=void 0===a?0:a,this.positionLegend(s),o.enabled&&o.data.length)switch(l=this.legendAutoPadding,c=this.legend.spacing,i.x+=l.left,i.y+=l.top,i.width-=l.left+l.right,i.height-=l.top+l.bottom,this.legend.position){case"right":i.width-=c;break;case"bottom":i.height-=c;break;case"left":i.x+=c,i.width-=c;break;case"top":i.y+=c,i.height-=c}return u=this.padding,i.x+=u.left,i.width-=u.left+u.right,i.y+=u.top+s,i.height-=u.top+s+u.bottom,n.enabled&&(p=n.height+n.margin,i.height-=p,n.x=i.x,n.y=i.y+i.height+n.margin,n.width=i.width),d=this.updateAxes(i).seriesRect,this.seriesRect=d,this.series.forEach((function(e){e.group.translationX=Math.floor(d.x),e.group.translationY=Math.floor(d.y)})),(g=this.seriesRoot).x=d.x,g.y=d.y,g.width=d.width,g.height=d.height,[2]}))}))},t.prototype.setupDomListeners=function(t){e.prototype.setupDomListeners.call(this,t),this._onTouchStart=this.onTouchStart.bind(this),this._onTouchMove=this.onTouchMove.bind(this),this._onTouchEnd=this.onTouchEnd.bind(this),this._onTouchCancel=this.onTouchCancel.bind(this),t.addEventListener("touchstart",this._onTouchStart,{passive:!0}),t.addEventListener("touchmove",this._onTouchMove,{passive:!0}),t.addEventListener("touchend",this._onTouchEnd,{passive:!0}),t.addEventListener("touchcancel",this._onTouchCancel,{passive:!0})},t.prototype.cleanupDomListeners=function(t){e.prototype.cleanupDomListeners.call(this,t),t.removeEventListener("touchstart",this._onTouchStart),t.removeEventListener("touchmove",this._onTouchMove),t.removeEventListener("touchend",this._onTouchEnd),t.removeEventListener("touchcancel",this._onTouchCancel)},t.prototype.getTouchOffset=function(e){var t=this.scene.canvas.element.getBoundingClientRect(),r=e.touches[0];return r?{offsetX:r.clientX-t.left,offsetY:r.clientY-t.top}:void 0},t.prototype.onTouchStart=function(e){var t=this.getTouchOffset(e);t&&this.navigator.onDragStart(t)},t.prototype.onTouchMove=function(e){var t=this.getTouchOffset(e);t&&this.navigator.onDrag(t)},t.prototype.onTouchEnd=function(e){this.navigator.onDragStop()},t.prototype.onTouchCancel=function(e){this.navigator.onDragStop()},t.prototype.onMouseDown=function(t){e.prototype.onMouseDown.call(this,t),this.navigator.onDragStart(t)},t.prototype.onMouseMove=function(t){e.prototype.onMouseMove.call(this,t),this.navigator.onDrag(t)},t.prototype.onMouseUp=function(t){e.prototype.onMouseUp.call(this,t),this.navigator.onDragStop()},t.prototype.onMouseOut=function(t){e.prototype.onMouseOut.call(this,t),this.navigator.onDragStop()},t.prototype.updateAxes=function(e){var t,r,o,n=Ya({},this._lastAxisWidths),i=this._axes.map((function(e){return e.position})).reduce((function(e,t){return e.add(t)}),new Set);try{for(var a=Qa(Object.keys(n)),s=a.next();!s.done;s=a.next()){var l=s.value;i.has(l)||delete n[l]}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}var c,u=function(e){return Object.entries(n).every((function(t){var r=Za(t,2),o=r[0],n=r[1],i=e[o];return null==n&&null==i||n===i}))},p={},d=!1,g=null===(o=this.seriesRect)||void 0===o?void 0:o.clone(),h=0;do{Object.assign(n,p);var f=this.updateAxesPass(n,e.clone(),g);if(c=f.axisWidths,p=Object.entries(c).reduce((function(e,t){var r=Za(t,2),o=r[0],n=r[1];return n&&Math.abs(n)===1/0&&(n=0),e[o]=null!=n?Math.ceil(n):n,e}),{}),d=f.clipSeries,g=f.seriesRect,h++>10){console.warn("AG Charts - unable to find stable axis layout.");break}}while(!u(p));return this.seriesRoot.enabled=d,this._lastAxisWidths=n,{seriesRect:g}},t.prototype.updateAxesPass=function(e,t,r){var o=this,n=this.axes,i={},a={},s=!1,l={},c=r?this.buildCrossLinePadding(r,e):{},u=this.buildAxisBound(t,c),p=this.buildSeriesRect(u,e);return n.forEach((function(t){var r,n,c=t.position,d=o.calculateAxisDimensions({axis:t,seriesRect:p,axisWidths:e,newAxisWidths:a,primaryTickCounts:l,clipSeries:s,addInterAxisPadding:(r=i[c],(null!=r?r:0)>0)}),g=d.clipSeries,h=d.axisThickness,f=d.axisOffset;i[c]=(null!=(n=i[c])?n:0)+1,s=s||g,o.positionAxis({axis:t,axisBound:u,axisOffset:f,axisThickness:h,axisWidths:e,primaryTickCounts:l,seriesRect:p})})),{clipSeries:s,seriesRect:p,axisWidths:a}},t.prototype.buildCrossLinePadding=function(e,t){var r,o,n,i={};this.axes.forEach((function(t){t.crossLines&&t.crossLines.forEach((function(t){t.calculatePadding(i,e)}))}));try{for(var a=Qa(Object.entries(i)),s=a.next();!s.done;s=a.next()){var l=Za(s.value,2),c=l[0],u=l[1],p=void 0===u?0:u;i[c]=Math.max(p-(null!=(n=t[c])?n:0),0)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return i},t.prototype.buildAxisBound=function(e,t){var r=e.clone(),o=t.top,n=void 0===o?0:o,i=t.right,a=void 0===i?0:i,s=t.bottom,l=void 0===s?0:s,c=t.left,u=void 0===c?0:c;return r.x+=u,r.y+=n,r.width-=u+a,r.height-=n+l,r},t.prototype.buildSeriesRect=function(e,t){var r=e.clone(),o=t.top,n=t.bottom,i=t.left,a=t.right;return r.x+=null!=i?i:0,r.y+=null!=o?o:0,r.width-=(null!=i?i:0)+(null!=a?a:0),r.height-=(null!=o?o:0)+(null!=n?n:0),r.width=Math.max(0,r.width),r.height=Math.max(0,r.height),r},t.prototype.clampToOutsideSeriesRect=function(e,t,r,o){var n=e.x,i=e.y,a=[n,i,n+e.width,i+e.height];return(1===o?Math.min:Math.max)(t,a[("x"===r?0:1)+(1===o?0:2)])},t.prototype.calculateAxisDimensions=function(e){var t,r,o,n,i,a=e.axis,s=e.seriesRect,l=e.axisWidths,c=e.newAxisWidths,u=e.primaryTickCounts,p=e.addInterAxisPadding,d=e.clipSeries,g=this.navigator,h=a.position,f=a.direction;a.label.mirrored=["top","right"].includes(h);var v=null!=(t=c[h])?t:0;switch(h){case Mr.Top:case Mr.Bottom:a.range=[0,s.width],a.gridLength=s.height;break;case Mr.Right:case Mr.Left:a.range=function(e){return e instanceof to||e instanceof vo?[0,s.height]:[s.height,0]}(a),a.gridLength=s.width}if(a.direction===Dr.X){var y=g.min,m=g.max,b=g.enabled;a.visibleRange=b?[y,m]:[0,1]}!d&&(a.visibleRange[0]>0||a.visibleRange[1]<1)&&(d=!0);var w=a.nice?u[f]:void 0;w=a.update(w),u[f]=null!=(r=u[f])?r:w;var C=0;if(a.thickness)C=a.thickness;else{var O=a.computeBBox();C=f===Dr.X?O.height:O.width}return p&&(C+=15),C=Math.ceil(C),c[h]=(null!=(o=c[h])?o:0)+C,a.gridPadding=(null!=(n=l[h])?n:0)-(null!=(i=c[h])?i:0),{clipSeries:d,axisThickness:C,axisOffset:v}},t.prototype.positionAxis=function(e){var t,r,o,n,i=e.axis,a=e.axisBound,s=e.axisWidths,l=e.seriesRect,c=e.axisOffset,u=e.axisThickness;switch(i.position){case Mr.Top:i.translation.x=a.x+(null!=(t=s.left)?t:0),i.translation.y=this.clampToOutsideSeriesRect(l,a.y+1+c+u,"y",1);break;case Mr.Bottom:i.translation.x=a.x+(null!=(r=s.left)?r:0),i.translation.y=this.clampToOutsideSeriesRect(l,a.y+a.height+1-u-c,"y",-1);break;case Mr.Left:i.translation.y=a.y+(null!=(o=s.top)?o:0),i.translation.x=this.clampToOutsideSeriesRect(l,a.x+c+u,"x",1);break;case Mr.Right:i.translation.y=a.y+(null!=(n=s.top)?n:0),i.translation.x=this.clampToOutsideSeriesRect(l,a.x+a.width-u-c,"x",-1)}i.updatePosition()},t.className="CartesianChart",t.type="cartesian",t}(Ta),$a=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),es=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},ts=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},rs=function(e){function t(t,r){void 0===t&&(t=window.document);var o=e.call(this,t,r)||this;o._data={},o._seriesRoot=new Ma,o.scene.root.visible=!1;var n=o.scene.root;return n.append(o.seriesRoot),n.append(o.legend.group),o}return $a(t,e),Object.defineProperty(t.prototype,"seriesRoot",{get:function(){return this._seriesRoot},enumerable:!0,configurable:!0}),t.prototype.performLayout=function(){return es(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u;return ts(this,(function(p){if(this.scene.root.visible=!0,t=(e=this).width,r=e.height,o=e.legend,n=new h(0,0,t,r),i=this.positionCaptions().captionAutoPadding,a=void 0===i?0:i,this.positionLegend(a),o.enabled&&o.data.length)switch(s=this.legendAutoPadding,l=this.legend.spacing,n.x+=s.left,n.y+=s.top,n.width-=s.left+s.right,n.height-=s.top+s.bottom,this.legend.position){case"right":n.width-=l;break;case"bottom":n.height-=l;break;case"left":n.x+=l,n.width-=l;break;case"top":n.y+=l,n.height-=l}return c=this.padding,n.x+=c.left,n.width-=c.left+c.right,n.y+=c.top+a,n.height-=c.top+a+c.bottom,this.seriesRect=n,this.series.forEach((function(e){e.group.translationX=Math.floor(n.x),e.group.translationY=Math.floor(n.y),e.update({seriesRect:n})})),(u=this.seriesRoot).x=n.x,u.y=n.y,u.width=n.width,u.height=n.height,[2]}))}))},t.className="HierarchyChart",t.type="hierarchy",t}(Ta),os=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ns=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return os(t,e),t.className="GroupedCategoryChart",t.type="groupedCategory",t}(Ja),is=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),as=function(e){function t(t){var r,o=t.useLabelLayer,n=void 0!==o&&o,i=e.call(this,{useLabelLayer:n,pickModes:[Mn.EXACT_SHAPE_MATCH]})||this;return i.directionKeys=((r={})[Dr.X]=["angleKey"],r[Dr.Y]=["radiusKey"],r),i.centerX=0,i.centerY=0,i.radius=0,i}return is(t,e),t.prototype.getLabelData=function(){return[]},t}(Un),ss=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ls=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},cs=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},us=function(e){function t(t,r){void 0===t&&(t=window.document);var o=e.call(this,t,r)||this;return o.padding=new Xn(40),o.scene.root.append(o.legend.group),o}return ss(t,e),Object.defineProperty(t.prototype,"seriesRoot",{get:function(){return this.scene.root},enumerable:!0,configurable:!0}),t.prototype.performLayout=function(){return ls(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l;return cs(this,(function(c){if(e=new h(0,0,this.width,this.height),t=this.positionCaptions().captionAutoPadding,r=void 0===t?0:t,this.positionLegend(r),e.y+=r,e.height-=r,this.legend.enabled&&this.legend.data.length)switch(o=this.legendAutoPadding,e.x+=o.left,e.y+=o.top,e.width-=o.left+o.right,e.height-=o.top+o.bottom,n=this.legend.spacing,this.legend.position){case"right":e.width-=n;break;case"bottom":e.height-=n;break;case"left":e.x+=n,e.width-=n;break;case"top":e.y+=n,e.height-=n}return i=this.padding,e.x+=i.left,e.y+=i.top,e.width-=i.left+i.right,e.height-=i.top+i.bottom,this.seriesRect=e,a=e.x+e.width/2,s=e.y+e.height/2,l=Math.max(0,Math.min(e.width,e.height)/2),this.series.forEach((function(e){e instanceof as&&(e.centerX=a,e.centerY=s,e.radius=l)})),[2]}))}))},t.className="PolarChart",t.type="polar",t}(Ta);function ps(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var r,o=void 0;if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(o=r;0!=o--;)if(!ps(e[o],t[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e);if((r=n.length)!==Object.keys(t).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return!1;for(o=r;0!=o--;){var i=n[o];if(!ps(e[i],t[i]))return!1}return!0}return e!=e&&t!=t}var ds=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},gs=/(#\{(.*?)\})/g;function hs(e,t,r){return e.replace(gs,(function(){var e=arguments[2],o=ds(e.split(":"),2),n=o[0],i=o[1],a=t[n];if("number"==typeof a){if(u=i&&r&&r[i]){var s=u,l=s.locales,c=s.options;return a.toLocaleString(l,c)}return String(a)}if(a instanceof Date){var u;if("string"==typeof(u=i&&r&&r[i])){var p=en.format(u);return p(a)}return a.toDateString()}return"string"==typeof a||a&&a.toString?String(a):""}))}var fs=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},vs=function(){function e(){this.enabled=!0,this.fontSize=12,this.fontFamily="Verdana, sans-serif",this.fontStyle=void 0,this.fontWeight=void 0,this.color="rgba(70, 70, 70, 1)"}return e.prototype.getFont=function(){return V(this.fontSize,this.fontFamily,this.fontStyle,this.fontWeight)},fs([K(oe)],e.prototype,"enabled",void 0),fs([K(fe(0))],e.prototype,"fontSize",void 0),fs([K(ie)],e.prototype,"fontFamily",void 0),fs([K(Se)],e.prototype,"fontStyle",void 0),fs([K(xe)],e.prototype,"fontWeight",void 0),fs([K(de)],e.prototype,"color",void 0),e}(),ys=null;function ms(e){return ys=ys||document.createElement("div"),e?(ys.textContent=e,ys.innerHTML):""}var bs,ws=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Cs=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Os=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},Ss=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Es=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},xs=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Rs=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(xs(arguments[t]));return e},Ts=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.formatter=void 0,t}return ws(t,e),Cs([K(re)],t.prototype,"formatter",void 0),t}(vs),As=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderer=void 0,t.format=void 0,t}return ws(t,e),Cs([K(re)],t.prototype,"renderer",void 0),Cs([K(ae)],t.prototype,"format",void 0),t}(Hn);!function(e){e[e.Fill=0]="Fill",e[e.Stroke=1]="Stroke",e[e.Marker=2]="Marker",e[e.Label=3]="Label"}(bs||(bs={}));var Ps,_s,Ds=function(e){function t(){var t=e.call(this,{pathsPerSeries:2,pathsZIndexSubOrderOffset:[0,1e3],pickGroupIncludes:["markers"],features:["markers"],renderLayerPerSubSeries:!1})||this;t.tooltip=new As,t.xData=[],t.yData=[],t.yDomain=[],t.xDomain=[],t.directionKeys={x:["xKey"],y:["yKeys"]},t.marker=new da,t.label=new Ts,t.fills=["#c16068","#a2bf8a","#ebcc87","#80a0c3","#b58dae","#85c0d1"],t.strokes=["#874349","#718661","#a48f5f","#5a7088","#7f637a","#5d8692"],t.fillOpacity=1,t.strokeOpacity=1,t.lineDash=[0],t.lineDashOffset=0,t._xKey="",t.xName="",t._yKeys=[],t._visibles=[],t.yNames=[],t.strokeWidth=2,t.shadow=void 0;var r=t,o=r.marker,n=r.label;return o.enabled=!1,n.enabled=!1,t}return ws(t,e),Object.defineProperty(t.prototype,"xKey",{get:function(){return this._xKey},set:function(e){this._xKey=e,this.xData=[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yKeys",{get:function(){return this._yKeys},set:function(e){ps(this._yKeys,e)||(this._yKeys=e,this.yData=[],this.processSeriesItemEnabled())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visibles",{get:function(){return this._visibles},set:function(e){this._visibles=e,this.processSeriesItemEnabled()},enumerable:!0,configurable:!0}),t.prototype.processSeriesItemEnabled=function(){var e=this.seriesItemEnabled,t=this._visibles,r=void 0===t?[]:t;e.clear(),this._yKeys.forEach((function(t,o){var n;return e.set(t,null==(n=r[o])||n)}))},t.prototype.setColors=function(e,t){this.fills=e,this.strokes=t},Object.defineProperty(t.prototype,"normalizedTo",{get:function(){return this._normalizedTo},set:function(e){var t=e?Math.abs(e):void 0;this._normalizedTo!==t&&(this._normalizedTo=t)},enumerable:!0,configurable:!0}),t.prototype.processData=function(){return Os(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_,D,M,N,I,L,k,F;return Ss(this,(function(G){if(t=(e=this).xKey,r=e.yKeys,o=e.seriesItemEnabled,n=e.xAxis,i=e.yAxis,a=e.normalizedTo,s=t&&r.length&&this.data?this.data:[],!n||!i)return[2];l=n.scale instanceof qe,c=i.scale instanceof qe,u=a&&isFinite(a),p=[],d=[],g=[],h=new Set(r),f=function(e){if(!(t in e))return dr((function(){return console.warn("AG Charts - The key '"+t+"' was not found in the data: ",e)}),t+" not found in data"),"continue";var n=_t(e[t],l);if(l&&void 0===n)return"continue";g.push(n),d.push({xDatum:n,seriesDatum:e}),r.forEach((function(t,r){var n=p[r]||(p[r]=[]);if(t in e){h.delete(t);var i=e[t];if(o.get(t)){var a=_t(i,c);n.push(a)}else n.push(NaN)}else n.push(NaN)}))};try{for(v=Es(s),y=v.next();!y.done;y=v.next())m=y.value,f(m)}catch(e){M={error:e}}finally{try{y&&!y.done&&(N=v.return)&&N.call(v)}finally{if(M)throw M.error}}for(h.size>0&&dr((function(){return console.log("AG Charts - yKeys "+b+" were not found in the data.")}),(b=JSON.stringify(Rs(h)))+" not found in data."),this.yData=p,this.xData=d,this.xDomain=l?this.fixNumericExtent(Et(g,Pt),n):g,w=void 0,C=void 0,O=0;O<d.length;O++){S={sum:0,absSum:0};try{for(I=void 0,E=Es(p),x=E.next();!x.done;x=E.next())void 0===(_=x.value)[O]||isNaN(_[O])||(R=+_[O],S.absSum+=Math.abs(R),S.sum+=R,S.sum>=(null!=C?C:0)?C=S.sum:S.sum<=(null!=w?w:0)&&(w=S.sum))}catch(e){I={error:e}}finally{try{x&&!x.done&&(L=E.return)&&L.call(E)}finally{if(I)throw I.error}}if(u&&a){T=void 0;try{for(k=void 0,A=Es(p),P=A.next();!P.done;P=A.next())_=P.value,D=+_[O]/S.absSum*a,_[O]=D,isNaN(D)||((T=(null!=T?T:0)+D)>=(null!=C?C:0)?C=T:T<=(null!=w?w:0)&&(w=T))}catch(e){k={error:e}}finally{try{P&&!P.done&&(F=A.return)&&F.call(A)}finally{if(k)throw k.error}}}}return u&&a&&(.5,w=(null!=w?w:0)<.5*-a?-a:w,C=(null!=C?C:0)>.5*a?a:C),this.yDomain=this.fixNumericExtent(void 0===w&&void 0===C?void 0:[null!=w?w:0,null!=C?C:0],i),[2]}))}))},t.prototype.getDomain=function(e){return e===Dr.X?this.xDomain:this.yDomain},t.prototype.createNodeData=function(){return Os(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O=this;return Ss(this,(function(S){return t=(e=this).data,r=e.xAxis,o=e.yAxis,n=e.xData,i=e.yData,t&&r&&o&&n.length&&i.length?(a=[],l=(s=this).yKeys,c=s.marker,u=s.label,p=s.fills,d=s.strokes,g=s.id,h=r.scale,f=o.scale,v=f instanceof qe,y=(h.bandwidth||0)/2,m=new Array(n.length).fill(null).map((function(){return{left:0,right:0}})),b=new Array(n.length).fill(0),w=function(e,t,r,o){var n=h.convert(e)+y,i=m[r][o],a=m[r][o]+t,s=f.convert(i,v?Ye:void 0),l=f.convert(a,v?Ye:void 0);return m[r][o]=a,[{x:n,y:l,size:c.size},{x:n,y:s,size:c.size}]},C=function(e,t,r,o){var n,i=O.normalizedTo&&isFinite(O.normalizedTo),a=i&&v&&Pt(o);return(!i&&!isNaN(o)||a)&&(n=b[r]+=t),{x:h.convert(e)+y,y:f.convert(n,v?Ye:void 0),size:c.size}},i.forEach((function(e,t){var r=l[t],o=[],i=[],s={itemId:r,points:[],yValues:[]},h={itemId:r,points:[]};if(a[t]={itemId:r,fillSelectionData:h,labelData:o,nodeData:i,strokeSelectionData:s},O.seriesItemEnabled.get(r)){var f=h.points,v=[],y=s.points,m=s.yValues;e.forEach((function(a,s){var l,h,b=isNaN(a)?void 0:a,S=n[s],E=S.xDatum,x=S.seriesDatum,R=null===(l=n[s+1])||void 0===l?void 0:l.xDatum,T=e[s+1],A=isNaN(T)?void 0:T,P=C(E,+b,s,x[r]);c&&i.push({index:s,series:O,itemId:r,datum:x,yValue:b,yKey:r,point:P,fill:p[t%p.length],stroke:d[t%d.length]}),h=u.formatter?u.formatter({value:b,seriesId:g}):xt(b)?Number(b).toFixed(2):String(b),u&&o.push({index:s,itemId:r,point:P,label:O.seriesItemEnabled.get(r)&&h?{text:h,fontStyle:u.fontStyle,fontWeight:u.fontWeight,fontSize:u.fontSize,fontFamily:u.fontFamily,textAlign:"center",textBaseline:"bottom",fill:u.color}:void 0});var _=[E,R],D=[b,A];if(!_.some((function(e){return null==e}))){D.some((function(e){return null==e}))&&(D[0]=0,D[1]=0);var M=w(_[0],+D[0],s,"right");f.push(M[0]),v.push(M[1]);var N=w(_[1],+D[1],s,"left");f.push(N[0]),v.push(N[1]),y.push({x:NaN,y:NaN}),m.push(void 0),y.push(M[0]),m.push(b),void 0!==A&&(y.push(N[0]),m.push(b))}}));for(var b=v.length-1;b>=0;b--)f.push(v[b])}})),[2,a]):[2,[]]}))}))},t.prototype.isPathOrSelectionDirty=function(){return this.marker.isDirty()},t.prototype.updatePaths=function(e){return Os(this,void 0,void 0,(function(){var t,r,o,n,i,a;return Ss(this,(function(s){return t=e.contextData,r=t.fillSelectionData,o=t.strokeSelectionData,n=xs(e.paths,2),i=n[0],a=n[1],i.datum=r,i.tag=bs.Fill,i.lineJoin="round",i.stroke=void 0,i.pointerEvents=b.None,a.datum=o,a.tag=bs.Stroke,a.fill=void 0,a.lineJoin=a.lineCap="round",a.pointerEvents=b.None,[2]}))}))},t.prototype.updatePathNodes=function(e){return Os(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T;return Ss(this,(function(A){t=xs(e.paths,2),r=t[0],o=t[1],n=e.seriesIdx,i=e.itemId,s=(a=this).strokes,l=a.fills,c=a.fillOpacity,u=a.strokeOpacity,p=a.strokeWidth,d=a.shadow,v=r.datum.points,r.fill=l[n%l.length],r.fillOpacity=c,r.strokeOpacity=u,r.strokeWidth=p,r.lineDash=this.lineDash,r.lineDashOffset=this.lineDashOffset,r.fillShadow=d,(b=r.path).clear({trackChanges:!0}),w=0;try{for(g=Es(v),h=g.next();!h.done;h=g.next())S=h.value,w++>0?b.lineTo(S.x,S.y):b.moveTo(S.x,S.y)}catch(e){E={error:e}}finally{try{h&&!h.done&&(x=g.return)&&x.call(g)}finally{if(E)throw E.error}}b.closePath(),r.checkPathDirty(),f=o.datum,v=f.points,y=f.yValues,m=!0,o.stroke=s[n%s.length],o.strokeWidth=this.getStrokeWidth(this.strokeWidth,{itemId:i}),o.strokeOpacity=u,o.lineDash=this.lineDash,o.lineDashOffset=this.lineDashOffset,(b=o.path).clear({trackChanges:!0}),w=0;try{for(C=Es(v),O=C.next();!O.done;O=C.next())S=O.value,void 0===y[w++]?m=!0:m?(b.moveTo(S.x,S.y),m=!1):b.lineTo(S.x,S.y)}catch(e){R={error:e}}finally{try{O&&!O.done&&(T=C.return)&&T.call(C)}finally{if(R)throw R.error}}return o.checkPathDirty(),[2]}))}))},t.prototype.updateMarkerSelection=function(e){return Os(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c;return Ss(this,(function(u){return t=e.nodeData,r=e.markerSelection,o=this.marker,n=o.enabled,i=o.shape,a=n&&t?t:[],s=Ei(i),this.marker.isDirty()&&(r=r.setData([])).exit.remove(),(l=r.setData(a)).exit.remove(),c=l.enter.append(s).each((function(e){e.tag=bs.Marker})),[2,l.merge(c)]}))}))},t.prototype.updateMarkerNodes=function(e){return Os(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_;return Ss(this,(function(D){return t=e.markerSelection,r=e.isHighlight,n=(o=this).id,i=o.xKey,a=o.marker,s=o.seriesItemEnabled,l=o.yKeys,c=o.fills,u=o.strokes,p=o.fillOpacity,d=o.marker.fillOpacity,g=void 0===d?p:d,h=o.strokeOpacity,f=o.highlightStyle,v=f.fill,y=f.stroke,m=f.strokeWidth,b=f.item,w=b.fill,C=void 0===w?v:w,O=b.fillOpacity,S=void 0===O?g:O,E=b.stroke,x=void 0===E?y:E,R=b.strokeWidth,T=void 0===R?m:R,A=a.size,P=a.formatter,_=void 0!==a.strokeWidth?a.strokeWidth:this.strokeWidth,t.each((function(e,t){var o,p,d=l.indexOf(t.yKey),f=r&&void 0!==C?C:a.fill||c[d%c.length],v=r?S:g,y=r&&void 0!==x?x:a.stroke||u[d%c.length],m=r&&void 0!==T?T:_,b=void 0;P&&(b=P({datum:t.datum,xKey:i,yKey:t.yKey,fill:f,stroke:y,strokeWidth:m,size:A,highlighted:r,seriesId:n})),e.fill=b&&b.fill||f,e.stroke=b&&b.stroke||y,e.strokeWidth=b&&void 0!==b.strokeWidth?b.strokeWidth:m,e.fillOpacity=null!=v?v:1,e.strokeOpacity=null!=(p=null!=(o=a.strokeOpacity)?o:h)?p:1,e.size=b&&void 0!==b.size?b.size:A,e.translationX=t.point.x,e.translationY=t.point.y,e.visible=e.size>0&&!!s.get(t.yKey)&&!isNaN(t.point.x)&&!isNaN(t.point.y)})),r||this.marker.markClean(),[2]}))}))},t.prototype.updateLabelSelection=function(e){return Os(this,void 0,void 0,(function(){var t,r,o,n;return Ss(this,(function(i){return t=e.labelData,r=e.labelSelection,(o=r.setData(t)).exit.remove(),n=o.enter.append(B).each((function(e){e.tag=bs.Label})),[2,o.merge(n)]}))}))},t.prototype.updateLabelNodes=function(e){return Os(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l;return Ss(this,(function(c){return t=e.labelSelection,r=this.label,o=r.enabled,n=r.fontStyle,i=r.fontWeight,a=r.fontSize,s=r.fontFamily,l=r.color,t.each((function(e,t){var r=t.point,c=t.label;c&&o?(e.fontStyle=n,e.fontWeight=i,e.fontSize=a,e.fontFamily=s,e.textAlign=c.textAlign,e.textBaseline=c.textBaseline,e.text=c.text,e.x=r.x,e.y=r.y-10,e.fill=l,e.visible=!0):e.visible=!1})),[2]}))}))},t.prototype.getNodeClickEvent=function(e,t){return new ua(this.xKey,t.yKey,e,t,this)},t.prototype.getTooltipHtml=function(e){var t=this.xKey,r=this.id,o=e.yKey;if(!t||!o||!this.seriesItemEnabled.get(o))return"";var n=e.datum,i=n[t],a=n[o],s=this.xAxis,l=this.yAxis;if(!(s&&l&&xt(a)))return"";var c=this,u=c.xName,p=c.yKeys,d=c.yNames,g=c.yData,h=c.fills,f=c.strokes,v=c.tooltip,y=c.marker,m=y.size,b=y.formatter,w=y.strokeWidth,C=y.fill,O=y.stroke,S=s.formatDatum(i),E=l.formatDatum(a),x=p.indexOf(o),R=g[x][e.index],T=d[x],A=ms(T),P=ms(S+": "+E),_=void 0!==w?w:this.strokeWidth,D=C||h[x%h.length],M=O||f[x%h.length],N=void 0;b&&(N=b({datum:n,xKey:t,yKey:o,fill:D,stroke:M,strokeWidth:_,size:m,highlighted:!1,seriesId:r}));var I=N&&N.fill||D,L={title:A,backgroundColor:I,content:P},k=v.renderer,F=v.format;if(F||k){var G={datum:n,xKey:t,xName:u,xValue:i,yKey:o,yValue:a,processedYValue:R,yName:T,color:I,title:A,seriesId:r};if(F)return va({content:hs(F,G)},L);if(k)return va(k(G),L)}return va(L)},t.prototype.getLegendData=function(){var e,t,r=this,o=r.data,n=r.id,i=r.xKey,a=r.yKeys,s=r.yNames,l=r.seriesItemEnabled,c=r.marker,u=r.fills,p=r.strokes,d=r.fillOpacity,g=r.strokeOpacity;if(!(o&&o.length&&i&&a.length))return[];for(var h=[],f=a.length-1;f>=0;f--){var v=a[f];h.push({id:n,itemId:v,seriesId:n,enabled:l.get(v)||!1,label:{text:s[f]||a[f]},marker:{shape:c.shape,fill:c.fill||u[f%u.length],stroke:c.stroke||p[f%p.length],fillOpacity:(e=c.fillOpacity,null!=e?e:d),strokeOpacity:(t=c.strokeOpacity,null!=t?t:g)}})}return h},t.prototype.isLabelEnabled=function(){return this.label.enabled},t.className="AreaSeries",t.type="area",Cs([K(he)],t.prototype,"fills",void 0),Cs([K(he)],t.prototype,"strokes",void 0),Cs([K(fe(0,1))],t.prototype,"fillOpacity",void 0),Cs([K(fe(0,1))],t.prototype,"strokeOpacity",void 0),Cs([K(Te)],t.prototype,"lineDash",void 0),Cs([K(fe(0))],t.prototype,"lineDashOffset",void 0),Cs([K(ie)],t.prototype,"_xKey",void 0),Cs([K(ie)],t.prototype,"xName",void 0),Cs([K(be)],t.prototype,"_yKeys",void 0),Cs([K(we)],t.prototype,"_visibles",void 0),Cs([K(be)],t.prototype,"yNames",void 0),Cs([K(fe())],t.prototype,"_normalizedTo",void 0),Cs([K(fe(0))],t.prototype,"strokeWidth",void 0),t}(pa),Ms=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ns=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Is=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},Ls=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},ks=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Fs=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ks(arguments[t]));return e},Gs=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},js=["inside","outside"],zs=function(e,t){return X(e,t,(function(e){return js.includes(e)}))};!function(e){e[e.Bar=0]="Bar",e[e.Label=1]="Label"}(Ps||(Ps={})),function(e){e.Inside="inside",e.Outside="outside"}(_s||(_s={}));var Bs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.formatter=void 0,t.placement=_s.Inside,t}return Ms(t,e),Ns([K(re)],t.prototype,"formatter",void 0),Ns([K(zs)],t.prototype,"placement",void 0),t}(vs),Vs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderer=void 0,t}return Ms(t,e),Ns([K(re)],t.prototype,"renderer",void 0),t}(Hn);var Ws,Hs=function(e){function t(){var t,r=e.call(this,{pickGroupIncludes:["datumNodes"],pickModes:[Mn.EXACT_SHAPE_MATCH],pathsPerSeries:0})||this;return r.xData=[],r.yData=[],r.yDomain=[],r.label=new Bs,r.tooltip=new Vs,r.flipXY=!1,r.fills=["#c16068","#a2bf8a","#ebcc87","#80a0c3","#b58dae","#85c0d1"],r.strokes=["#874349","#718661","#a48f5f","#5a7088","#7f637a","#5d8692"],r.fillOpacity=1,r.strokeOpacity=1,r.lineDash=[0],r.lineDashOffset=0,r.formatter=void 0,r.groupScale=new Qr,r.directionKeys=((t={})[Dr.X]=["xKey"],t[Dr.Y]=["yKeys"],t),r._xKey="",r.xName="",r.cumYKeyCount=[],r.flatYKeys=void 0,r.hideInLegend=[],r._yKeys=[],r._visibles=[],r._grouped=!1,r._yNames={},r.strokeWidth=1,r.shadow=void 0,r.smallestDataInterval=void 0,r.label.enabled=!1,r}return Ms(t,e),t.prototype.getKeys=function(e){var t=this,r=this.directionKeys,o=r&&r[this.flipXY?Br(e):e],n=[];return o&&o.forEach((function(e){var r=t[e];r&&(Array.isArray(r)?n=n.concat(function e(t,r){return void 0===r&&(r=[]),t.forEach((function(t){Array.isArray(t)?e(t,r):r.push(t)})),r}(r)):n.push(r))})),n},Object.defineProperty(t.prototype,"xKey",{get:function(){return this._xKey},set:function(e){this._xKey=e,this.xData=[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yKeys",{get:function(){return this._yKeys},set:function(e){var t=this,r=void 0;if(function(e){return e.length>0&&Array.isArray(e[0])}(e)||(r=e,e=this.grouped?r.map((function(e){return[e]})):[r]),!ps(this._yKeys,e)){this.flatYKeys=r||void 0,this._yKeys=e;var o=0;this.cumYKeyCount=[];var n=[];e.forEach((function(e,r){e.length>0&&n.push(String(r)),t.cumYKeyCount.push(o),o+=e.length})),this.yData=[],this.processSeriesItemEnabled(),this.groupScale.domain=n}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visibles",{get:function(){return this._visibles},set:function(e){this._visibles=e.reduce((function(e,t){return e.concat.apply(e,Fs(Array.isArray(t)?t:[t]))}),[]),this.processSeriesItemEnabled()},enumerable:!0,configurable:!0}),t.prototype.processSeriesItemEnabled=function(){var e=this.seriesItemEnabled,t=this._visibles,r=void 0===t?[]:t;e.clear();var o=0;this._yKeys.forEach((function(t){t.forEach((function(t){var n,i;return e.set(t,null==(i=null===(n=r)||void 0===n?void 0:n[o++])||i)}))}))},Object.defineProperty(t.prototype,"grouped",{get:function(){return this._grouped},set:function(e){this._grouped!==e&&(this._grouped=e,this.flatYKeys&&(this.yKeys=this.flatYKeys))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yNames",{get:function(){return this._yNames},set:function(e){if(Array.isArray(e)&&this.flatYKeys){var t={};this.flatYKeys.forEach((function(r,o){t[r]=e[o]})),e=t}this._yNames=e},enumerable:!0,configurable:!0}),t.prototype.setColors=function(e,t){this.fills=e,this.strokes=t},Object.defineProperty(t.prototype,"normalizedTo",{get:function(){return this._normalizedTo},set:function(e){var t=e?Math.abs(e):void 0;this._normalizedTo=t},enumerable:!0,configurable:!0}),t.prototype.processData=function(){return Is(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w=this;return Ls(this,(function(C){return t=(e=this).xKey,r=e.yKeys,o=e.seriesItemEnabled,n=t&&r.length&&this.data?this.data:[],i=this.getCategoryAxis(),a=this.getValueAxis(),i&&a?(s=function(e,t){void 0===w.smallestDataInterval&&(w.smallestDataInterval={x:1/0,y:1/0});var r=w.smallestDataInterval.x,o=Math.abs(e-t);o>0&&o<r&&(w.smallestDataInterval.x=o)},l=i.scale instanceof qe,c=a.scale instanceof qe,u=!0,p=1/0,this.xData=n.map((function(e){u&&!(t in e)&&(u=!1,console.warn("The key '"+t+"' was not found in the data: ",e));var r=_t(e[t],l);return l&&s(r,p),p=r,r})),this.yData=n.map((function(e){return r.map((function(t){return t.map((function(t){u&&!(t in e)&&(u=!1,console.warn("The key '"+t+"' was not found in the data: ",e));var r=_t(e[t],c);return o.get(t)&&void 0!==r?r:NaN}))}))})),d=this.yData.map((function(e){return e.map((function(e){return function(e){var t,r,o=void 0,n=void 0;try{for(var i=Ct(e),a=i.next();!a.done;a=i.next()){var s=a.value;s<0?o=(null!=o?o:0)+s:s>=0&&(n=(null!=n?n:0)+s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return{min:o,max:n}}(e)}))})),h=(g=this).yData,f=g.normalizedTo,v=this.yData.map((function(e){return e.map((function(e){return e.reduce((function(e,t){return e+=isNaN(t)?0:Math.abs(t)}),0)}))})),y=this.findLargestMinMax(d),m=y.min,b=y.max,m===1/0&&b===-1/0?(this.yDomain=[],[2]):(f&&isFinite(f)&&(m=m<0?-f:0,b=b>0?f:0,h.forEach((function(e,t){e.forEach((function(e,r){e.forEach((function(o,n){e[n]=o/v[t][r]*f}))}))}))),this.yDomain=this.fixNumericExtent([m,b],this.yAxis),[2])):[2]}))}))},t.prototype.findLargestMinMax=function(e){var t,r,o,n,i=1/0,a=-1/0;try{for(var s=Gs(e),l=s.next();!l.done;l=s.next()){var c=l.value;try{for(var u=(o=void 0,Gs(c)),p=u.next();!p.done;p=u.next()){var d=p.value,g=d.min,h=void 0===g?1/0:g,f=d.max,v=void 0===f?-1/0:f;h<i&&(i=h),v>a&&(a=v)}}catch(e){o={error:e}}finally{try{p&&!p.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return{min:i,max:a}},t.prototype.getDomain=function(e){var t,r,o,n,i,a=this.flipXY;if(this.flipXY&&(e=Br(e)),e===Dr.X){if(!((null===(t=this.getCategoryAxis())||void 0===t?void 0:t.scale)instanceof qe))return this.xData;var s=Et(this.xData,Pt,Number)||[NaN,NaN];return a?s[0]=s[0]-(null!=(o=null===(r=this.smallestDataInterval)||void 0===r?void 0:r.x)?o:0):s[1]=s[1]+(null!=(i=null===(n=this.smallestDataInterval)||void 0===n?void 0:n.x)?i:0),s}return this.yDomain},t.prototype.getNodeClickEvent=function(e,t){return new ua(this.xKey,t.yKey,e,t,this)},t.prototype.getCategoryAxis=function(){return this.flipXY?this.yAxis:this.xAxis},t.prototype.getValueAxis=function(){return this.flipXY?this.xAxis:this.yAxis},t.prototype.calculateStep=function(e){var t,r,o=this.smallestDataInterval,n=this.getCategoryAxis();if(n){var i=(n.dataDomain[1]-n.dataDomain[0])/(null!=(r=null===(t=o)||void 0===t?void 0:t.x)?r:1)+1,a=Math.floor(e),s=Math.min(i,a);return e/Math.max(1,s)}},t.prototype.createNodeData=function(){return Is(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_,D,M,N=this;return Ls(this,(function(I){return t=(e=this).chart,r=e.data,o=e.visible,n=this.getCategoryAxis(),i=this.getValueAxis(),t&&r&&o&&n&&i?(a=n.scale,s=i.scale,c=(l=this).groupScale,u=l.yKeys,p=l.cumYKeyCount,d=l.fills,g=l.strokes,h=l.strokeWidth,f=l.seriesItemEnabled,v=l.xData,y=l.yData,m=l.label,b=l.flipXY,w=l.id,C=m.fontStyle,O=m.fontWeight,S=m.fontSize,E=m.fontFamily,x=m.color,R=m.formatter,T=m.placement,A=a.bandwidth,a instanceof qe&&(P=Math.max(n.range[0],n.range[1]),_=this.calculateStep(P),A=_),c.range=[0,A],c.padding=n instanceof to?n.groupPaddingInner:n instanceof vo?.1:0,0===c.padding?c.round=!1:c.round=!0,D=c.bandwidth>=1?c.bandwidth:c.rawBandwidth,M=[],v.forEach((function(e,t){for(var o,i,l=r[t],v=a.convert(e),m=y[t],A=0;A<m.length;A++){var P=m[A];M[A]=null!=(o=M[A])?o:[];for(var _=0,I=0,L=0;L<P.length;L++){var k=+P[L],F=u[A][L],G=v+c.convert(String(A));if(M[A][L]=null!=(i=M[A][L])?i:{itemId:F,nodeData:[],labelData:[]},n.inRange(G,D)&&!isNaN(k)){var j=k<0?_:I,z=s instanceof qe,B=s.convert(j+k,z?Ye:void 0),V=s.convert(j,z?Ye:void 0),W=l[F],H=void 0;H=R?R({value:xt(W)?W:void 0,seriesId:w}):xt(W)?W.toFixed(2):"";var U=void 0,K=void 0;b?(K=G+D/2,U=T===_s.Inside?B+(W>=0?-1:1)*Math.abs(V-B)/2:B+4*(W>=0?1:-1)):(U=G+D/2,K=T===_s.Inside?B+(W>=0?1:-1)*Math.abs(V-B)/2:B+(W>=0?-3:4));var Y=void 0,X=void 0;T===_s.Inside?(Y="center",X="middle"):(Y=b?W>=0?"start":"end":"center",X=b?"middle":W>=0?"bottom":"top");var q=p[A]+L,Q={index:t,series:N,itemId:F,datum:l,yValue:W,yKey:F,x:b?Math.min(B,V):G,y:b?G:Math.min(B,V),width:b?Math.abs(V-B):D,height:b?D:Math.abs(V-B),colorIndex:q,fill:d[q%d.length],stroke:g[q%g.length],strokeWidth:h,label:f.get(F)&&H?{text:H,fontStyle:C,fontWeight:O,fontSize:S,fontFamily:E,textAlign:Y,textBaseline:X,fill:x,x:U,y:K}:void 0};M[A][L].nodeData.push(Q),M[A][L].labelData.push(Q),k<0?_+=k:I+=k}}}})),[2,M.reduce((function(e,t){return e.concat.apply(e,Fs(t))}),[])]):[2,[]]}))}))},t.prototype.updateDatumSelection=function(e){return Is(this,void 0,void 0,(function(){var t,r,o,n;return Ls(this,(function(i){return t=e.nodeData,r=e.datumSelection,(o=r.setData(t)).exit.remove(),n=o.enter.append(ei).each((function(e){e.tag=Ps.Bar})),[2,o.merge(n)]}))}))},t.prototype.updateDatumNodes=function(e){var t,r;return Is(this,void 0,void 0,(function(){var o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_,D,M=this;return Ls(this,(function(N){return o=e.datumSelection,n=e.isHighlight,a=(i=this).fills,s=i.strokes,l=i.fillOpacity,c=i.strokeOpacity,u=i.shadow,p=i.formatter,d=i.xKey,g=i.flipXY,h=i.highlightStyle,f=h.fill,v=h.stroke,y=h.strokeWidth,m=h.item,b=m.fill,w=void 0===b?f:b,C=m.fillOpacity,O=void 0===C?l:C,S=m.stroke,E=void 0===S?v:S,x=m.strokeWidth,R=void 0===x?y:x,T=i.id,A=ks(null!=(r=null===(t=this.xAxis)||void 0===t?void 0:t.visibleRange)?r:[],2),P=A[0],_=A[1],D=!(0!==P||1!==_),o.each((function(e,t){var r=t.colorIndex,o=n&&void 0!==w?w:a[r%a.length],i=n&&void 0!==E?E:s[r%a.length],h=n&&void 0!==R?R:M.getStrokeWidth(M.strokeWidth,t),f=n?O:l,v=void 0;p&&(v=p({datum:t.datum,fill:o,stroke:i,strokeWidth:h,highlighted:n,xKey:d,yKey:t.yKey,seriesId:T})),e.crisp=D,e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e.fill=v&&v.fill||o,e.stroke=v&&v.stroke||i,e.strokeWidth=v&&void 0!==v.strokeWidth?v.strokeWidth:h,e.fillOpacity=f,e.strokeOpacity=c,e.lineDash=M.lineDash,e.lineDashOffset=M.lineDashOffset,e.fillShadow=u,e.visible=g?t.width>0:t.height>0})),[2]}))}))},t.prototype.updateLabelSelection=function(e){return Is(this,void 0,void 0,(function(){var t,r,o,n,i,a;return Ls(this,(function(s){return t=e.labelData,r=e.labelSelection,o=this.label.enabled,n=o?t:[],(i=r.setData(n)).exit.remove(),a=i.enter.append(B).each((function(e){e.tag=Ps.Label,e.pointerEvents=b.None})),[2,i.merge(a)]}))}))},t.prototype.updateLabelNodes=function(e){return Is(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l;return Ls(this,(function(c){return t=e.labelSelection,r=this.label,o=r.enabled,n=r.fontStyle,i=r.fontWeight,a=r.fontSize,s=r.fontFamily,l=r.color,t.each((function(e,t){var r=t.label;r&&o?(e.fontStyle=n,e.fontWeight=i,e.fontSize=a,e.fontFamily=s,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline,e.text=r.text,e.x=r.x,e.y=r.y,e.fill=l,e.visible=!0):e.visible=!1})),[2]}))}))},t.prototype.getTooltipHtml=function(e){var t=this.xKey,r=this.yKeys,o=this.yData,n=this.getCategoryAxis(),i=this.getValueAxis(),a=e.yKey;if(!(o.length&&t&&a&&n&&i))return"";for(var s=o[e.index],l=0,c=0,u=0;u<r.length;u++){var p=r[u];if((c=p.indexOf(a))>=0){l+=c;break}l+=p.length}var d=this,g=d.xName,h=d.yNames,f=d.fills,v=d.strokes,y=d.tooltip,m=d.formatter,b=d.id,w=y.renderer,C=e.datum,O=h[a],S=f[l%f.length],E=v[l%f.length],x=this.getStrokeWidth(this.strokeWidth),R=C[t],T=C[a],A=s[u][c],P=ms(n.formatDatum(R)),_=ms(i.formatDatum(T)),D=ms(O),M=P+": "+_,N=void 0;m&&(N=m({datum:C,fill:S,stroke:E,strokeWidth:x,highlighted:!1,xKey:t,yKey:a,seriesId:b}));var I=N&&N.fill||S,L={title:D,backgroundColor:I,content:M};return w?va(w({datum:C,xKey:t,xValue:R,xName:g,yKey:a,yValue:T,processedYValue:A,yName:O,color:I,title:D,seriesId:b}),L):va(L)},t.prototype.getLegendData=function(){var e=this,t=e.id,r=e.data,o=e.xKey,n=e.yKeys,i=e.yNames,a=e.cumYKeyCount,s=e.seriesItemEnabled,l=e.hideInLegend,c=e.fills,u=e.strokes,p=e.fillOpacity,d=e.strokeOpacity,g=e.flipXY;if(!(r&&r.length&&o&&n.length))return[];var h=[];return this.yKeys.forEach((function(e,r){for(var o=g?0:e.length-1,n=g?1:-1,f=o,v=0;v<e.length;f+=n,v++){var y=e[f];if(l.indexOf(y)>=0)return;var m=a[r]+f;h.push({id:t,itemId:y,seriesId:t,enabled:s.get(y)||!1,label:{text:i[y]||y},marker:{fill:c[m%c.length],stroke:u[m%u.length],fillOpacity:p,strokeOpacity:d}})}})),h},t.prototype.toggleSeriesItem=function(t,r){e.prototype.toggleSeriesItem.call(this,t,r);var o=this.yKeys.map((function(e){return e.slice()}));this.seriesItemEnabled.forEach((function(e,t){e||o.forEach((function(e){var r=e.indexOf(t);r>=0&&e.splice(r,1)}))}));var n=[];o.forEach((function(e,t){e.length>0&&n.push(String(t))})),this.groupScale.domain=n,this.nodeDataRefresh=!0},t.prototype.isLabelEnabled=function(){return this.label.enabled},t.className="BarSeries",t.type="bar",Ns([K(oe)],t.prototype,"flipXY",void 0),Ns([K(he)],t.prototype,"fills",void 0),Ns([K(he)],t.prototype,"strokes",void 0),Ns([K(fe(0,1))],t.prototype,"fillOpacity",void 0),Ns([K(fe(0,1))],t.prototype,"strokeOpacity",void 0),Ns([K(Te)],t.prototype,"lineDash",void 0),Ns([K(fe(0))],t.prototype,"lineDashOffset",void 0),Ns([K(re)],t.prototype,"formatter",void 0),Ns([K(ie)],t.prototype,"_xKey",void 0),Ns([K(ie)],t.prototype,"xName",void 0),Ns([K(be)],t.prototype,"hideInLegend",void 0),Ns([K(we)],t.prototype,"_visibles",void 0),Ns([K(oe)],t.prototype,"_grouped",void 0),Ns([K(ve())],t.prototype,"_normalizedTo",void 0),Ns([K(fe(0))],t.prototype,"strokeWidth",void 0),t}(pa),Us=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ks=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ys=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},Xs=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},qs=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Qs=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Zs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.formatter=void 0,t}return Us(t,e),Ks([K(re)],t.prototype,"formatter",void 0),t}(vs),Js=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderer=void 0,t.format=void 0,t}return Us(t,e),Ks([K(re)],t.prototype,"renderer",void 0),Ks([K(ae)],t.prototype,"format",void 0),t}(Hn),$s=function(e){function t(){var t=e.call(this,{pickGroupIncludes:["markers"],features:["markers"],pickModes:[Mn.NEAREST_BY_MAIN_CATEGORY_AXIS_FIRST,Mn.NEAREST_NODE,Mn.EXACT_SHAPE_MATCH]})||this;t.xDomain=[],t.yDomain=[],t.pointsData=[],t.marker=new da,t.label=new Zs,t.title=void 0,t.stroke="#874349",t.lineDash=[0],t.lineDashOffset=0,t.strokeWidth=2,t.strokeOpacity=1,t.tooltip=new Js,t._xKey="",t.xName="",t._yKey="",t.yName="";var r=t,o=r.marker,n=r.label;return o.fill="#c16068",o.stroke="#874349",n.enabled=!1,t}return Us(t,e),t.prototype.setColors=function(e,t){this.stroke=e[0],this.marker.stroke=t[0],this.marker.fill=e[0]},Object.defineProperty(t.prototype,"xKey",{get:function(){return this._xKey},set:function(e){this._xKey=e,this.pointsData.splice(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yKey",{get:function(){return this._yKey},set:function(e){this._yKey=e,this.pointsData.splice(0)},enumerable:!0,configurable:!0}),t.prototype.getDomain=function(e){return e===Dr.X?this.xDomain:this.yDomain},t.prototype.processData=function(){return Ys(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b;return Xs(this,(function(w){if(t=(e=this).xAxis,r=e.yAxis,o=e.xKey,n=e.yKey,i=e.pointsData,a=o&&n&&this.data?this.data:[],!t||!r)return[2];s=t.scale instanceof qe,l=r.scale instanceof qe,c=[],u=[],i.splice(0);try{for(p=qs(a),d=p.next();!d.done;d=p.next())g=d.value,h=g[o],f=g[n],v=_t(h,s),s&&void 0===v||(y=_t(f,l),c.push(v),u.push(y),i.push({xDatum:v,yDatum:y,datum:g}))}catch(e){m={error:e}}finally{try{d&&!d.done&&(b=p.return)&&b.call(p)}finally{if(m)throw m.error}}return this.xDomain=s?this.fixNumericExtent(Et(c,Pt),t):c,this.yDomain=l?this.fixNumericExtent(Et(u,Pt),r):u,[2]}))}))},t.prototype.createNodeData=function(){var e;return Ys(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_,D,M,N,I;return Xs(this,(function(L){if(r=(t=this).data,o=t.xAxis,n=t.yAxis,i=t.marker,a=i.enabled,s=i.size,l=i.strokeWidth,!r||!o||!n)return[2,[]];for(u=(c=this).pointsData,p=c.label,d=c.yKey,g=c.id,h=o.scale,f=n.scale,v=(h.bandwidth||0)/2,y=(f.bandwidth||0)/2,m=new Array(r.length),b=a?s:0,w=!0,C=void 0,O=void 0,S=0,E=0;E<u.length;E++)if(void 0===(x=O||u[E]).yDatum)C=void 0,w=!0;else{if(R=x.xDatum,T=x.yDatum,A=x.datum,P=h.convert(R)+v,isNaN(P)){C=void 0,w=!0;continue}if(_=(h.bandwidth||.5*s+(l||0))+1,O=void 0===(null===(e=u[E+1])||void 0===e?void 0:e.yDatum)?void 0:u[E+1],D=o.inRangeEx(P,0,_),M=O&&o.inRangeEx(h.convert(O.xDatum)+v,0,_),-1===D&&-1===M){w=!0;continue}if(1===D&&1===C){w=!0;continue}C=D,N=f.convert(T)+y,I=void 0,I=p.formatter?p.formatter({value:T,seriesId:g}):"number"==typeof T&&isFinite(T)?T.toFixed(2):T?String(T):"",m[S++]={series:this,datum:A,point:{x:P,y:N,moveTo:w,size:b},label:I?{text:I,fontStyle:p.fontStyle,fontWeight:p.fontWeight,fontSize:p.fontSize,fontFamily:p.fontFamily,textAlign:"center",textBaseline:"bottom",fill:p.color}:void 0},w=!1}return m.length=S,[2,[{itemId:d,nodeData:m,labelData:m}]]}))}))},t.prototype.isPathOrSelectionDirty=function(){return this.marker.isDirty()},t.prototype.updatePaths=function(e){return Ys(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c;return Xs(this,(function(u){t=e.contextData.nodeData,r=Qs(e.paths,1),o=r[0],n=o.path,o.fill=void 0,o.lineJoin="round",o.pointerEvents=b.None,n.clear({trackChanges:!0});try{for(i=qs(t),a=i.next();!a.done;a=i.next())(s=a.value).point.moveTo?n.moveTo(s.point.x,s.point.y):n.lineTo(s.point.x,s.point.y)}catch(e){l={error:e}}finally{try{a&&!a.done&&(c=i.return)&&c.call(i)}finally{if(l)throw l.error}}return o.checkPathDirty(),[2]}))}))},t.prototype.updatePathNodes=function(e){return Ys(this,void 0,void 0,(function(){var t,r;return Xs(this,(function(o){return t=Qs(e.paths,1),(r=t[0]).stroke=this.stroke,r.strokeWidth=this.getStrokeWidth(this.strokeWidth),r.strokeOpacity=this.strokeOpacity,r.lineDash=this.lineDash,r.lineDashOffset=this.lineDashOffset,[2]}))}))},t.prototype.updateMarkerSelection=function(e){return Ys(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l;return Xs(this,(function(c){return t=e.nodeData,r=e.markerSelection,o=this.marker,n=o.shape,i=o.enabled,t=n&&i?t:[],a=Ei(n),this.marker.isDirty()&&(r=r.setData([])).exit.remove(),(s=r.setData(t)).exit.remove(),l=s.enter.append(a),[2,s.merge(l)]}))}))},t.prototype.updateMarkerNodes=function(e){return Ys(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R;return Xs(this,(function(T){return t=e.markerSelection,r=e.isHighlight,n=(o=this).marker,i=o.marker.fillOpacity,a=o.xKey,s=o.yKey,l=o.stroke,c=o.strokeOpacity,u=o.highlightStyle,p=u.fill,d=u.stroke,g=u.strokeWidth,h=u.item,f=h.fill,v=void 0===f?p:f,y=h.fillOpacity,m=void 0===y?i:y,b=h.stroke,w=void 0===b?d:b,C=h.strokeWidth,O=void 0===C?g:C,S=o.id,E=n.size,x=n.formatter,R=void 0!==n.strokeWidth?n.strokeWidth:this.strokeWidth,t.each((function(e,t){var o,u,p=r&&void 0!==v?v:n.fill,d=r?m:i,g=r&&void 0!==w?w:n.stroke||l,h=r&&void 0!==O?O:R,f=void 0;x&&(f=x({datum:t.datum,xKey:a,yKey:s,fill:p,stroke:g,strokeWidth:h,size:E,highlighted:r,seriesId:S})),e.fill=f&&f.fill||p,e.stroke=f&&f.stroke||g,e.strokeWidth=f&&void 0!==f.strokeWidth?f.strokeWidth:h,e.fillOpacity=null!=d?d:1,e.strokeOpacity=null!=(u=null!=(o=n.strokeOpacity)?o:c)?u:1,e.size=f&&void 0!==f.size?f.size:E,e.translationX=t.point.x,e.translationY=t.point.y,e.visible=e.size>0&&!isNaN(t.point.x)&&!isNaN(t.point.y)})),r||this.marker.markClean(),[2]}))}))},t.prototype.updateLabelSelection=function(e){return Ys(this,void 0,void 0,(function(){var t,r,o,n,i,a,s;return Xs(this,(function(l){return t=e.labelData,r=e.labelSelection,o=this.marker,n=o.shape,i=o.enabled,t=n&&i?t:[],(a=r.setData(t)).exit.remove(),s=a.enter.append(B),[2,a.merge(s)]}))}))},t.prototype.updateLabelNodes=function(e){return Ys(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l;return Xs(this,(function(c){return t=e.labelSelection,r=this.label,o=r.enabled,n=r.fontStyle,i=r.fontWeight,a=r.fontSize,s=r.fontFamily,l=r.color,t.each((function(e,t){var r=t.point,c=t.label;t&&c&&o?(e.fontStyle=n,e.fontWeight=i,e.fontSize=a,e.fontFamily=s,e.textAlign=c.textAlign,e.textBaseline=c.textBaseline,e.text=c.text,e.x=r.x,e.y=r.y-10,e.fill=l,e.visible=!0):e.visible=!1})),[2]}))}))},t.prototype.getNodeClickEvent=function(e,t){return new ua(this.xKey,this.yKey,e,t,this)},t.prototype.getTooltipHtml=function(e){var t=this.xKey,r=this.yKey,o=this.xAxis,n=this.yAxis;if(!(t&&r&&o&&n))return"";var i=this,a=i.xName,s=i.yName,l=i.tooltip,c=i.marker,u=i.id,p=l.renderer,d=l.format,g=e.datum,h=g[t],f=g[r],v=o.formatDatum(h),y=n.formatDatum(f),m=ms(this.title||s),b=ms(v+": "+y),w=c.formatter,C=c.fill,O=c.stroke,S=c.strokeWidth,E=c.size,x=void 0!==S?S:this.strokeWidth,R=void 0;w&&(R=w({datum:g,xKey:t,yKey:r,fill:C,stroke:O,strokeWidth:x,size:E,highlighted:!1,seriesId:u}));var T=R&&R.fill||C,A={title:m,backgroundColor:T,content:b};if(d||p){var P={datum:g,xKey:t,xValue:h,xName:a,yKey:r,yValue:f,yName:s,title:m,color:T,seriesId:u};if(d)return va({content:hs(d,P)},A);if(p)return va(p(P),A)}return va(A)},t.prototype.getLegendData=function(){var e,t,r,o=this,n=o.id,i=o.data,a=o.xKey,s=o.yKey,l=o.yName,c=o.visible,u=o.title,p=o.marker,d=o.stroke,g=o.strokeOpacity;return i&&i.length&&a&&s?[{id:n,itemId:s,seriesId:n,enabled:c,label:{text:u||l||s},marker:{shape:p.shape,fill:p.fill||"rgba(0, 0, 0, 0)",stroke:p.stroke||d||"rgba(0, 0, 0, 0)",fillOpacity:(e=p.fillOpacity,null!=e?e:1),strokeOpacity:(t=p.strokeOpacity,r=null!=t?t:g,null!=r?r:1)}}]:[]},t.prototype.isLabelEnabled=function(){return this.label.enabled},t.className="LineSeries",t.type="line",Ks([K(ae)],t.prototype,"title",void 0),Ks([K(ge)],t.prototype,"stroke",void 0),Ks([K(Te)],t.prototype,"lineDash",void 0),Ks([K(fe(0))],t.prototype,"lineDashOffset",void 0),Ks([K(fe(0))],t.prototype,"strokeWidth",void 0),Ks([K(fe(0,1))],t.prototype,"strokeOpacity",void 0),Ks([K(ie)],t.prototype,"_xKey",void 0),Ks([K(ie)],t.prototype,"xName",void 0),Ks([K(ie)],t.prototype,"_yKey",void 0),Ks([K(ie)],t.prototype,"yName",void 0),t}(pa),el=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),tl=function(){return(tl=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},rl=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ol=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},nl=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},il=function(e){function t(t,r,o,n,i,a){var s=e.call(this,r,o,n,i,a)||this;return s.sizeKey=t,s}return el(t,e),t}(ua),al=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderer=void 0,t}return el(t,e),rl([K(re)],t.prototype,"renderer",void 0),t}(Hn),sl=function(e){function t(){var t=e.call(this,{pickGroupIncludes:["markers"],pickModes:[Mn.NEAREST_BY_MAIN_CATEGORY_AXIS_FIRST,Mn.NEAREST_NODE,Mn.EXACT_SHAPE_MATCH],pathsPerSeries:0,features:["markers"]})||this;return t.xDomain=[],t.yDomain=[],t.xData=[],t.yData=[],t.validData=[],t.sizeData=[],t.sizeScale=new wt,t.marker=new da,t.label=new vs,t.fill="#c16068",t.stroke="#874349",t.strokeWidth=2,t.fillOpacity=1,t.strokeOpacity=1,t.title=void 0,t.labelKey=void 0,t.xName="",t.yName="",t.sizeName="Size",t.labelName="Label",t._xKey="",t._yKey="",t._sizeKey=void 0,t.tooltip=new al,t.label.enabled=!1,t}return el(t,e),Object.defineProperty(t.prototype,"xKey",{get:function(){return this._xKey},set:function(e){this._xKey=e,this.xData=[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yKey",{get:function(){return this._yKey},set:function(e){this._yKey=e,this.yData=[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sizeKey",{get:function(){return this._sizeKey},set:function(e){this._sizeKey=e,this.sizeData=[]},enumerable:!0,configurable:!0}),t.prototype.setColors=function(e,t){this.marker.fill=e[0],this.marker.stroke=t[0]},t.prototype.processData=function(){return ol(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p;return nl(this,(function(d){return t=(e=this).xKey,r=e.yKey,o=e.sizeKey,n=e.xAxis,i=e.yAxis,a=e.marker,n&&i?(s=t&&r&&this.data?this.data:[],l=n.scale,c=i.scale,u=l instanceof qe,p=c instanceof qe,this.validData=s.filter((function(e){return void 0!==_t(e[t],u)&&void 0!==_t(e[r],p)})),this.xData=this.validData.map((function(e){return e[t]})),this.yData=this.validData.map((function(e){return e[r]})),this.sizeData=o?this.validData.map((function(e){return e[o]})):[],this.sizeScale.domain=a.domain?a.domain:Et(this.sizeData,Pt)||[1,1],n.scale instanceof qe?this.xDomain=this.fixNumericExtent(Et(this.xData,Pt),n):this.xDomain=this.xData,i.scale instanceof qe?this.yDomain=this.fixNumericExtent(Et(this.yData,Pt),i):this.yDomain=this.yData,[2]):[2]}))}))},t.prototype.getDomain=function(e){return e===Dr.X?this.xDomain:this.yDomain},t.prototype.getNodeClickEvent=function(e,t){return new il(this.sizeKey,this.xKey,this.yKey,e,t,this)},t.prototype.createNodeData=function(){return ol(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_,D;return nl(this,(function(M){if(t=(e=this).chart,r=e.data,o=e.visible,n=e.xAxis,i=e.yAxis,a=e.yKey,s=e.label,l=e.labelKey,!(t&&r&&o&&n&&i))return[2,[]];for(c=n.scale,u=i.scale,p=c instanceof qe,d=u instanceof qe,g=(c.bandwidth||0)/2,h=(u.bandwidth||0)/2,v=(f=this).xData,y=f.yData,m=f.validData,b=f.sizeData,w=f.sizeScale,C=f.marker,O=new Array(v.length),w.range=[C.size,C.maxSize],S=s.getFont(),E=0,x=0;x<v.length;x++)(R=this.checkDomainXY(v[x],y[x],p,d))&&(T=c.convert(R[0])+g,A=u.convert(R[1])+h,this.checkRangeXY(T,A,n,i)&&(P=l?String(m[x][l]):"",_=F.getTextSize(P,S),D=b.length?w.convert(b[x]):C.size,O[E++]={series:this,itemId:a,datum:m[x],point:{x:T,y:A,size:D},label:tl({text:P},_)}));return O.length=E,[2,[{itemId:this.yKey,nodeData:O,labelData:O}]]}))}))},t.prototype.isPathOrSelectionDirty=function(){return this.marker.isDirty()},t.prototype.getLabelData=function(){var e;return null===(e=this.contextNodeData)||void 0===e?void 0:e.reduce((function(e,t){return e.concat(t.labelData)}),[])},t.prototype.updateMarkerSelection=function(e){return ol(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c;return nl(this,(function(u){return t=e.nodeData,r=e.markerSelection,o=this.marker,n=o.enabled,i=o.shape,a=Ei(i),this.marker.isDirty()&&(r=r.setData([])).exit.remove(),s=n?t:[],(l=r.setData(s)).exit.remove(),c=l.enter.append(a),[2,l.merge(c)]}))}))},t.prototype.updateMarkerNodes=function(e){return ol(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_,D,M,N;return nl(this,(function(I){return t=e.markerSelection,r=e.isHighlight,n=(o=this).marker,i=o.xKey,a=o.yKey,s=o.strokeWidth,l=o.fillOpacity,c=o.strokeOpacity,u=o.fill,p=o.stroke,d=o.sizeScale,g=o.marker,h=g.fillOpacity,f=void 0===h?l:h,v=g.strokeOpacity,y=void 0===v?c:v,m=o.highlightStyle,b=m.fill,w=m.stroke,C=m.strokeWidth,O=m.item,S=O.fill,E=void 0===S?b:S,x=O.fillOpacity,R=void 0===x?f:x,T=O.stroke,A=void 0===T?w:T,P=O.strokeWidth,_=void 0===P?C:P,D=o.id,M=void 0!==n.strokeWidth?n.strokeWidth:s,N=n.formatter,d.range=[n.size,n.maxSize],t.each((function(e,t){var o,s,l,c,d,g,h=r&&void 0!==E?E:n.fill||u,v=r?R:f,m=r&&void 0!==A?A:n.stroke||p,b=y,w=r&&void 0!==_?_:M,C=null!=(s=null===(o=t.point)||void 0===o?void 0:o.size)?s:0,O=void 0;N&&(O=N({datum:t.datum,xKey:i,yKey:a,fill:h,stroke:m,strokeWidth:w,size:C,highlighted:r,seriesId:D})),e.fill=O&&O.fill||h,e.stroke=O&&O.stroke||m,e.strokeWidth=O&&void 0!==O.strokeWidth?O.strokeWidth:w,e.size=O&&void 0!==O.size?O.size:C,e.fillOpacity=null!=v?v:1,e.strokeOpacity=null!=b?b:1,e.translationX=null!=(c=null===(l=t.point)||void 0===l?void 0:l.x)?c:0,e.translationY=null!=(g=null===(d=t.point)||void 0===d?void 0:d.y)?g:0,e.visible=e.size>0})),r||this.marker.markClean(),[2]}))}))},t.prototype.updateLabelSelection=function(e){var t,r;return ol(this,void 0,void 0,(function(){var o,n,i,a,s,l;return nl(this,(function(c){return o=e.labelSelection,n=this.label.enabled,i=n?null!=(r=null===(t=this.chart)||void 0===t?void 0:t.placeLabels().get(this))?r:[]:[],a=i.map((function(e){return tl(tl({},e.datum),{point:{x:e.x,y:e.y,size:e.datum.point.size}})})),(s=o.setData(a)).exit.remove(),l=s.enter.append(B),[2,s.merge(l)]}))}))},t.prototype.updateLabelNodes=function(e){return ol(this,void 0,void 0,(function(){var t,r;return nl(this,(function(o){return t=e.labelSelection,r=this.label,t.each((function(e,t){var o,n,i,a;e.text=t.label.text,e.fill=r.color,e.x=null!=(n=null===(o=t.point)||void 0===o?void 0:o.x)?n:0,e.y=null!=(a=null===(i=t.point)||void 0===i?void 0:i.y)?a:0,e.fontStyle=r.fontStyle,e.fontWeight=r.fontWeight,e.fontSize=r.fontSize,e.fontFamily=r.fontFamily,e.textAlign="left",e.textBaseline="top"})),[2]}))}))},t.prototype.getTooltipHtml=function(e){var t,r,o,n,i=this.xKey,a=this.yKey,s=this.xAxis,l=this.yAxis;if(!(i&&a&&s&&l))return"";var c=this,u=c.fill,p=c.stroke,d=c.marker,g=c.tooltip,h=c.xName,f=c.yName,v=c.sizeKey,y=c.sizeName,m=c.labelKey,b=c.labelName,w=c.id,C=null!=(t=d.fill)?t:u,O=null!=(r=d.stroke)?r:p,S=this.getStrokeWidth(d.strokeWidth||this.strokeWidth),E=this.marker.formatter,x=void 0;E&&(x=E({datum:e,xKey:i,yKey:a,fill:C,stroke:O,strokeWidth:S,size:(n=null===(o=e.point)||void 0===o?void 0:o.size,null!=n?n:0),highlighted:!1,seriesId:w}));var R=x&&x.fill||C||"gray",T=this.title||f,A=e.datum,P=A[i],_=A[a],D=ms(s.formatDatum(P)),M=ms(l.formatDatum(_)),N="<b>"+ms(h||i)+"</b>: "+D+"<br><b>"+ms(f||a)+"</b>: "+M;v&&(N+="<br><b>"+ms(y||v)+"</b>: "+ms(A[v])),m&&(N="<b>"+ms(b||m)+"</b>: "+ms(A[m])+"<br>"+N);var I={title:T,backgroundColor:R,content:N},L=g.renderer;return L?va(L({datum:A,xKey:i,xValue:P,xName:h,yKey:a,yValue:_,yName:f,sizeKey:v,sizeName:y,labelKey:m,labelName:b,title:T,color:R,seriesId:w}),I):va(I)},t.prototype.getLegendData=function(){var e=this,t=e.id,r=e.data,o=e.xKey,n=e.yKey,i=e.yName,a=e.title,s=e.visible,l=e.marker,c=e.fill,u=e.stroke,p=e.fillOpacity,d=e.strokeOpacity;return r&&r.length&&o&&n?[{id:t,itemId:n,seriesId:t,enabled:s,label:{text:a||i||n},marker:{shape:l.shape,fill:l.fill||c||"rgba(0, 0, 0, 0)",stroke:l.stroke||u||"rgba(0, 0, 0, 0)",fillOpacity:void 0!==l.fillOpacity?l.fillOpacity:p,strokeOpacity:void 0!==l.strokeOpacity?l.strokeOpacity:d}}]:[]},t.prototype.isLabelEnabled=function(){return this.label.enabled},t.className="ScatterSeries",t.type="scatter",rl([_n("Use marker.fill instead.",{default:"#c16068"})],t.prototype,"fill",void 0),rl([_n("Use marker.stroke instead.",{default:"#874349"})],t.prototype,"stroke",void 0),rl([_n("Use marker.strokeWidth instead.",{default:2})],t.prototype,"strokeWidth",void 0),rl([_n("Use marker.fillOpacity instead.",{default:1})],t.prototype,"fillOpacity",void 0),rl([_n("Use marker.strokeOpacity instead.",{default:1})],t.prototype,"strokeOpacity",void 0),rl([K(ae)],t.prototype,"title",void 0),rl([K(ae)],t.prototype,"labelKey",void 0),rl([K(ie)],t.prototype,"xName",void 0),rl([K(ie)],t.prototype,"yName",void 0),rl([K(ae)],t.prototype,"sizeName",void 0),rl([K(ae)],t.prototype,"labelName",void 0),rl([K(ie)],t.prototype,"_xKey",void 0),rl([K(ie)],t.prototype,"_yKey",void 0),rl([K(ae)],t.prototype,"_sizeKey",void 0),t}(pa),ll=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),cl=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ul=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},pl=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},dl=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},gl=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(dl(arguments[t]));return e},hl=["count","sum","mean"],fl=Y((function(e){return hl.includes(e)}),"expecting a histogram aggregation keyword such as 'count', 'sum' or 'mean");!function(e){e[e.Bin=0]="Bin",e[e.Label=1]="Label"}(Ws||(Ws={}));var vl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.formatter=void 0,t}return ll(t,e),cl([K(re)],t.prototype,"formatter",void 0),t}(vs),yl={count:function(e){return e.data.length},sum:function(e,t){return e.data.reduce((function(e,r){return e+r[t]}),0)},mean:function(e,t){return yl.sum(e,t)/yl.count(e,t)}},ml=function(){function e(e){var t=dl(e,2),r=t[0],o=t[1];this.data=[],this.aggregatedValue=0,this.frequency=0,this.domain=[r,o]}return e.prototype.addDatum=function(e){this.data.push(e),this.frequency++},Object.defineProperty(e.prototype,"domainWidth",{get:function(){var e=dl(this.domain,2),t=e[0];return e[1]-t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeHeight",{get:function(){return this.aggregatedValue/this.domainWidth},enumerable:!0,configurable:!0}),e.prototype.calculateAggregatedValue=function(e,t){t||(e="count");var r=yl[e];this.aggregatedValue=r(this,t)},e.prototype.getY=function(e){return e?this.relativeHeight:this.aggregatedValue},e}(),bl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderer=void 0,t}return ll(t,e),cl([K(re)],t.prototype,"renderer",void 0),t}(Hn),wl=function(e){function t(){var t,r=e.call(this,{pickModes:[Mn.EXACT_SHAPE_MATCH]})||this;return r.binnedData=[],r.xDomain=[],r.yDomain=[],r.label=new vl,r.tooltip=new bl,r.fill=void 0,r.stroke=void 0,r.fillOpacity=1,r.strokeOpacity=1,r.lineDash=[0],r.lineDashOffset=0,r.directionKeys=((t={})[Dr.X]=["xKey"],t[Dr.Y]=["yKey"],t),r.xKey="",r.areaPlot=!1,r.bins=void 0,r.aggregation="count",r.binCount=void 0,r.xName="",r.yKey="",r.yName="",r.strokeWidth=1,r.shadow=void 0,r.label.enabled=!1,r}return ll(t,e),t.prototype.getKeys=function(e){var t=this,r=this.directionKeys,o=r&&r[e],n=[];return o&&o.forEach((function(e){var r=t[e];r&&(Array.isArray(r)?n.push.apply(n,gl(r)):n.push(r))})),n},t.prototype.setColors=function(e,t){this.fill=e[0],this.stroke=t[0]},t.prototype.deriveBins=function(){var e=this,t=this.bins;if(!this.data)return[];var r=this.data.map((function(t){return t[e.xKey]})),o=this.fixNumericExtent(Et(r,Pt));if(void 0===this.binCount){if(t)return t;var n=Ze(o[0],o[1],10),i=tt(o[0],o[1],10),a=n[0];return gl([[a-i,a]],n.map((function(e){return[e,e+i]})))}return this.calculateNiceBins(o,this.binCount)},t.prototype.calculateNiceBins=function(e,t){var r,o,n=Math.floor(e[0]),i=e[1],a=t||1;return n=(r=this.calculateNiceStart(n,i,a)).start,o=r.binSize,this.getBins(n,i,o,a)},t.prototype.getBins=function(e,t,r,o){for(var n=[],i=0;i<o;i++){var a=Math.round(10*(e+i*r))/10,s=Math.round(10*(e+(i+1)*r))/10;i===o-1&&(s=Math.max(s,t)),n[i]=[a,s]}return n},t.prototype.calculateNiceStart=function(e,t,r){var o=Math.abs(t-e)/r,n=Math.floor(Math.log10(o)),i=Math.pow(10,n);return{start:Math.floor(e/i)*i,binSize:o}},t.prototype.placeDataInBins=function(e){var t=this,r=this.xKey,o=this.deriveBins();this.bins=o;for(var n=e.slice().sort((function(e,t){return e[r]<t[r]?-1:e[r]>t[r]?1:0})),i=[new ml(o[0])],a=0,s=0;s<n.length&&a<o.length;s++){for(var l=n[s];l[r]>o[a][1]&&a<o.length;)a++,i.push(new ml(o[a]));a<o.length&&i[a].addDatum(l)}return i.forEach((function(e){return e.calculateAggregatedValue(t.aggregation,t.yKey)})),i},Object.defineProperty(t.prototype,"xMax",{get:function(){var e=this;return this.data&&this.data.reduce((function(t,r){return Math.max(t,r[e.xKey])}),Number.NEGATIVE_INFINITY)},enumerable:!0,configurable:!0}),t.prototype.processData=function(){return ul(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c=this;return pl(this,(function(u){return t=(e=this).xKey,r=e.data,this.binnedData=this.placeDataInBins(t&&r?r:[]),o=this.binnedData.map((function(e){return e.getY(c.areaPlot)})),n=Et(o,Pt),this.yDomain=this.fixNumericExtent([0,n?n[1]:1]),i=this.binnedData[0],a=this.binnedData[this.binnedData.length-1],s=i.domain[0],l=a.domain[1],this.xDomain=[s,l],[2]}))}))},t.prototype.getDomain=function(e){return e===Dr.X?this.xDomain:this.yDomain},t.prototype.getNodeClickEvent=function(e,t){return new ua(this.xKey,this.yKey,e,t,this)},t.prototype.createNodeData=function(){return ul(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w=this;return pl(this,(function(C){return t=(e=this).xAxis,r=e.yAxis,this.seriesItemEnabled&&t&&r?(o=t.scale,n=r.scale,a=(i=this).fill,s=i.stroke,l=i.strokeWidth,c=i.id,u=[],p=function(e){return String(e.value)},d=this.label,g=d.formatter,h=void 0===g?p:g,f=d.fontStyle,v=d.fontWeight,y=d.fontSize,m=d.fontFamily,b=d.color,this.binnedData.forEach((function(e){var t=e.aggregatedValue,r=e.frequency,i=dl(e.domain,2),p=i[0],d=i[1],g=e.relativeHeight,C=o.convert(p),O=o.convert(d),S=w.areaPlot?g:w.yKey?t:r,E=n.convert(0),x=n.convert(S),R=O-C,T=Math.abs(x-E),A=0!==S?{text:h({value:e.aggregatedValue,seriesId:c}),fontStyle:f,fontWeight:v,fontSize:y,fontFamily:m,fill:b,x:C+R/2,y:x+T/2}:void 0;u.push({series:w,datum:e,x:C,y:x,width:R,height:T,fill:a,stroke:s,strokeWidth:l,label:A})})),[2,[{itemId:this.yKey,nodeData:u,labelData:u}]]):[2,[]]}))}))},t.prototype.updateDatumSelection=function(e){return ul(this,void 0,void 0,(function(){var t,r,o,n;return pl(this,(function(i){return t=e.nodeData,r=e.datumSelection,(o=r.setData(t)).exit.remove(),n=o.enter.append(ei).each((function(e){e.tag=Ws.Bin,e.crisp=!0})),[2,o.merge(n)]}))}))},t.prototype.updateDatumNodes=function(e){return ul(this,void 0,void 0,(function(){var t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w=this;return pl(this,(function(C){return t=e.datumSelection,r=e.isHighlight,n=(o=this).fillOpacity,i=o.strokeOpacity,a=o.shadow,s=o.highlightStyle,l=s.fill,c=s.stroke,u=s.strokeWidth,p=s.item,d=p.fill,g=void 0===d?l:d,h=p.fillOpacity,f=void 0===h?n:h,v=p.stroke,y=void 0===v?c:v,m=p.strokeWidth,b=void 0===m?u:m,t.each((function(e,t,o){var s=r&&void 0!==b?b:t.strokeWidth,l=r?f:n;e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e.fill=r&&void 0!==g?g:t.fill,e.stroke=r&&void 0!==y?y:t.stroke,e.fillOpacity=l,e.strokeOpacity=i,e.strokeWidth=s,e.lineDash=w.lineDash,e.lineDashOffset=w.lineDashOffset,e.fillShadow=a,e.zIndex=r?Un.highlightedZIndex:o,e.visible=t.height>0})),[2]}))}))},t.prototype.updateLabelSelection=function(e){return ul(this,void 0,void 0,(function(){var t,r,o,n;return pl(this,(function(i){return t=e.labelData,r=e.labelSelection,(o=r.setData(t)).exit.remove(),n=o.enter.append(B).each((function(e){e.tag=Ws.Label,e.pointerEvents=b.None,e.textAlign="center",e.textBaseline="middle"})),[2,o.merge(n)]}))}))},t.prototype.updateLabelNodes=function(e){return ul(this,void 0,void 0,(function(){var t,r;return pl(this,(function(o){return t=e.labelSelection,r=this.label.enabled,t.each((function(e,t){var o=t.label;o&&r?(e.text=o.text,e.x=o.x,e.y=o.y,e.fontStyle=o.fontStyle,e.fontWeight=o.fontWeight,e.fontSize=o.fontSize,e.fontFamily=o.fontFamily,e.fill=o.fill,e.visible=!0):e.visible=!1})),[2]}))}))},t.prototype.getTooltipHtml=function(e){var t=this.xKey,r=this.yKey,o=this.xAxis,n=this.yAxis;if(!t||!o||!n)return"";var i=this,a=i.xName,s=i.yName,l=i.fill,c=i.tooltip,u=i.aggregation,p=i.id,d=c.renderer,g=e.datum,h=g.aggregatedValue,f=g.frequency,v=dl(g.domain,2),y=v[0],m=v[1],b=ms(a||t)+": "+o.formatDatum(y)+" - "+o.formatDatum(m),w=r?"<b>"+ms(s||r)+" ("+u+")</b>: "+n.formatDatum(h)+"<br>":"",C={title:b,backgroundColor:l,content:w+="<b>Frequency</b>: "+f};return d?va(d({datum:g,xKey:t,xValue:g.domain,xName:a,yKey:r,yValue:g.aggregatedValue,yName:s,color:l,title:b,seriesId:p}),C):va(C)},t.prototype.getLegendData=function(){var e=this,t=e.id,r=e.data,o=e.xKey,n=e.yName,i=e.visible,a=e.fill,s=e.stroke,l=e.fillOpacity,c=e.strokeOpacity;return r&&0!==r.length?[{id:t,itemId:o,seriesId:t,enabled:i,label:{text:n||o||"Frequency"},marker:{fill:a||"rgba(0, 0, 0, 0)",stroke:s||"rgba(0, 0, 0, 0)",fillOpacity:l,strokeOpacity:c}}]:[]},t.prototype.isLabelEnabled=function(){return this.label.enabled},t.className="HistogramSeries",t.type="histogram",cl([K(ge)],t.prototype,"fill",void 0),cl([K(ge)],t.prototype,"stroke",void 0),cl([K(fe(0,1))],t.prototype,"fillOpacity",void 0),cl([K(fe(0,1))],t.prototype,"strokeOpacity",void 0),cl([K(Te)],t.prototype,"lineDash",void 0),cl([K(fe(0))],t.prototype,"lineDashOffset",void 0),cl([K(ie)],t.prototype,"xKey",void 0),cl([K(oe)],t.prototype,"areaPlot",void 0),cl([K(Q())],t.prototype,"bins",void 0),cl([K(fl)],t.prototype,"aggregation",void 0),cl([K(ve(0))],t.prototype,"binCount",void 0),cl([K(ie)],t.prototype,"xName",void 0),cl([K(ie)],t.prototype,"yKey",void 0),cl([K(ie)],t.prototype,"yName",void 0),cl([K(fe(0))],t.prototype,"strokeWidth",void 0),t}(pa),Cl=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ol=function(e){function t(){return e.call(this,{pickModes:[Mn.EXACT_SHAPE_MATCH]})||this}return Cl(t,e),t.prototype.getLabelData=function(){return[]},t}(Un),Sl=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),El=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},xl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.enabled=!0,t.color="rgba(0, 0, 0, 0.5)",t.xOffset=0,t.yOffset=0,t.blur=5,t}return Sl(t,e),El([Ie({validatePredicate:oe,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"enabled",void 0),El([Ie({validatePredicate:de,sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"color",void 0),El([Ie({validatePredicate:fe(),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"xOffset",void 0),El([Ie({validatePredicate:fe(),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"yOffset",void 0),El([Ie({validatePredicate:fe(0),sceneChangeDetectionOpts:{redraw:w.b.MAJOR}})],t.prototype,"blur",void 0),t}(w.a);function Rl(e,t,r,o,n){var i=e.children,a=e.value&&(n-r)/e.value;i.forEach((function(e){e.x0=t,e.x1=o,e.y0=r,e.y1=r+=e.value*a}))}function Tl(e,t,r,o,n){var i=e.children,a=e.value&&(o-t)/e.value;i.forEach((function(e){e.x0=t,e.x1=t+=e.value*a,e.y0=r,e.y1=n}))}function Al(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}var Pl=function e(t){function r(e,r,o,n,i){!function(e,t,r,o,n,i){for(var a,s,l,c,u,p,d,g,h,f,v=[],y=t.children,m=y.length,b=t.value,w=0,C=0;w<m;){a=n-r,s=i-o;do{c=y[C++].value}while(!c&&C<m);for(u=p=c,f=c*c*(h=Math.max(s/a,a/s)/(b*e)),g=Math.max(p/f,f/u);C<m;++C){if((l=y[C].value)<u&&(u=l),l>p&&(p=l),f=(c+=l)*c*h,(d=Math.max(p/f,f/u))>g){c-=l;break}g=d}var O={value:c,dice:a<s,children:y.slice(w,C)};if(v.push(O),O.dice){var S=o,E=i;b&&(E=o+=s*c/b),Tl(O,r,S,n,E)}else{var x=r,R=n;b&&(R=r+=a*c/b),Rl(O,x,o,R,i)}b-=c,w=C}}(t,e,r,o,n,i)}return r.ratio=function(t){return e((t=+t)>1?t:1)},r}((1+Math.sqrt(5))/2),_l=function(){function e(){this.paddingStack=[0],this.dx=1,this.dy=1,this.round=!0,this.tile=Pl,this.paddingInner=function(e){return 0},this.paddingTop=function(e){return 0},this.paddingRight=function(e){return 0},this.paddingBottom=function(e){return 0},this.paddingLeft=function(e){return 0}}return Object.defineProperty(e.prototype,"size",{get:function(){return[this.dx,this.dy]},set:function(e){this.dx=e[0],this.dy=e[1]},enumerable:!0,configurable:!0}),e.prototype.processData=function(e){return e.x0=0,e.y0=0,e.x1=this.dx,e.y1=this.dy,e.eachBefore(this.positionNode.bind(this)),this.paddingStack=[0],this.round&&e.eachBefore(Al),e},e.prototype.positionNode=function(e){var t=this.paddingStack[e.depth],r=e.x0+t,o=e.y0+t,n=e.x1-t,i=e.y1-t;n<r&&(r=n=(r+n)/2),i<o&&(o=i=(o+i)/2),e.x0=r,e.y0=o,e.x1=n,e.y1=i,e.children&&(t=this.paddingStack[e.depth+1]=this.paddingInner(e)/2,r+=this.paddingLeft(e)-t,o+=this.paddingTop(e)-t,(n-=this.paddingRight(e)-t)<r&&(r=n=(r+n)/2),(i-=this.paddingBottom(e)-t)<o&&(o=i=(o+i)/2),this.tile(e,r,o,n,i))},e}(),Dl=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ml=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Nl=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ml(arguments[t]));return e},Il=function(){function e(e){this.value=0,this.depth=0,this.height=0,this.parent=void 0,this.children=void 0,this.datum=e}return e.prototype.countFn=function(e){var t=0,r=e.children;if(r&&r.length)for(var o=r.length;--o>=0;)t+=r[o].value;else t=1;e.value=t},e.prototype.count=function(){return this.eachAfter(this.countFn)},e.prototype.each=function(e,t){var r=this,o=-1;return this.iterator((function(n){e.call(t,n,++o,r)})),this},e.prototype.eachAfter=function(e,t){for(var r=this,o=[r],n=[];r=o.pop();){n.push(r);var i=r.children;if(i)for(var a=0,s=i.length;a<s;++a)o.push(i[a])}for(var l=-1;r=n.pop();)e.call(t,r,++l,this);return this},e.prototype.eachBefore=function(e,t){for(var r=this,o=[r],n=-1;r=o.pop();){e.call(t,r,++n,this);var i=r.children;if(i)for(var a=i.length-1;a>=0;--a){var s=i[a];o.push(s)}}return this},e.prototype.find=function(e,t){var r,o=this,n=-1;return this.iterator((function(i){if(e.call(t,i,++n,o))return r=i,!1})),r},e.prototype.sum=function(e){return this.eachAfter((function(t){var r=+e(t.datum)||0,o=t.children;if(o)for(var n=o.length;--n>=0;)r+=o[n].value;t.value=r}))},e.prototype.sort=function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},e.prototype.path=function(e){for(var t=this,r=function(e,t){if(!e||!t)return;if(e===t)return e;var r=e.ancestors(),o=t.ancestors(),n=void 0;e=r.pop(),t=o.pop();for(;e===t;)n=e,e=r.pop(),t=o.pop();return n}(t,e),o=[t];t!==r;)t=t.parent,o.push(t);for(var n=o.length;e!==r;)o.splice(n,0,e),e=e.parent;return o},e.prototype.ancestors=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},e.prototype.descendants=function(){var e=[];return this.iterator((function(t){return e.push(t)})),e},e.prototype.leaves=function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},e.prototype.links=function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},e.prototype.iterator=function(e){var t,r,o=this.children,n=void 0===o?[]:o;if(!1===e(this))return!1;try{for(var i=Dl(n),a=i.next();!a.done;a=i.next()){if(!1===a.value.iterator(e))return!1}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!0},e}();function Ll(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Fl)):void 0===t&&(t=Gl);for(var r=new Il(e),o=[r],n=function(){var e=o.pop(),r=t(e.datum);if(!r)return"continue";var n=Array.from(r).map((function(e){return new Il(e)}));n.forEach((function(t){t.parent=e,t.depth=e.depth+1})),e.children=n,o.push.apply(o,Nl(n))};o.length>0;)n();return r.eachBefore(kl)}function kl(e){var t=0;do{e.height=t,e=e.parent}while(e&&e.height<++t)}function Fl(e){return Array.isArray(e)?e[1]:void 0}function Gl(e){return e.children}var jl,zl=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Bl=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Vl=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},Wl=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Hl=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ul=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderer=void 0,t}return zl(t,e),Bl([K(re)],t.prototype,"renderer",void 0),t}(Hn),Kl=function(e){function t(t,r,o,n,i,a){var s=e.call(this,n,i,a)||this;return s.labelKey=t,s.sizeKey=r,s.colorKey=o,s}return zl(t,e),t}(zn),Yl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.padding=10,t}return zl(t,e),Bl([K(fe(0))],t.prototype,"padding",void 0),t}(vs);!function(e){e[e.Name=0]="Name",e[e.Value=1]="Value"}(jl||(jl={}));var Xl,ql=function(e){function t(){var t,r,o=null!==e&&e.apply(this,arguments)||this;return o.groupSelection=Xt.select(o.pickGroup).selectAll(),o.highlightSelection=Xt.select(o.highlightGroup).selectAll(),o.layout=new _l,o.title=((t=new Yl).color="white",t.fontWeight="bold",t.fontSize=12,t.fontFamily="Verdana, sans-serif",t.padding=15,t),o.subtitle=function(){var e=new Yl;return e.color="white",e.fontSize=9,e.fontFamily="Verdana, sans-serif",e.padding=13,e}(),o.labels={large:function(){var e=new vs;return e.color="white",e.fontWeight="bold",e.fontSize=18,e}(),medium:function(){var e=new vs;return e.color="white",e.fontWeight="bold",e.fontSize=14,e}(),small:function(){var e=new vs;return e.color="white",e.fontWeight="bold",e.fontSize=10,e}(),color:function(){var e=new vs;return e.color="white",e}()},o._nodePadding=2,o.labelKey="label",o.sizeKey="size",o.colorKey="color",o.colorDomain=[-5,5],o.colorRange=["#cb4b3f","#6acb64"],o.colorParents=!1,o.gradient=!0,o.formatter=void 0,o.colorName="Change",o.rootName="Root",o.shadow=((r=new xl).color="rgba(0, 0, 0, 0.4)",r.xOffset=1.5,r.yOffset=1.5,r),o.tooltip=new Ul,o}return zl(t,e),Object.defineProperty(t.prototype,"nodePadding",{get:function(){return this._nodePadding},set:function(e){this._nodePadding!==e&&(this._nodePadding=e,this.updateLayoutPadding())},enumerable:!0,configurable:!0}),t.prototype.updateLayoutPadding=function(){var e=this.title,t=this.subtitle,r=this.nodePadding,o=this.labelKey;this.layout.paddingRight=function(e){return r},this.layout.paddingBottom=function(e){return r},this.layout.paddingLeft=function(e){return r},this.layout.paddingTop=function(n){var i=n.datum[o]||"";n.children&&(i=i.toUpperCase());var a=n.depth>1?t:e,s=F.getTextSize(i,[a.fontWeight,a.fontSize+"px",a.fontFamily].join(" ").trim()),l=n.x1-n.x0-2*r,c=n.depth>0&&n.children&&s.width<=l;return n.hasTitle=!!c,c?s.height+2*r:r}},t.prototype.processData=function(){return Vl(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u;return Wl(this,(function(p){return this.data?(t=(e=this).data,r=e.sizeKey,o=e.labelKey,n=e.colorKey,i=e.colorDomain,a=e.colorRange,s=e.colorParents,l=r?Ll(t).sum((function(e){return e.children?1:e[r]})):Ll(t).sum((function(e){return e.children?0:1})),this.dataRoot=l,(c=new wt).domain=i,c.range=a,u=this,function e(t,r){void 0===r&&(r=0);var i=t.children,a=t.datum,l=a[o],p=n?a[n]:r;Object.assign(t,{series:u}),t.fill=!i||s?c.convert(p):"#272931",t.colorValue=p,t.label=l?i?l.toUpperCase():l:"",i&&i.forEach((function(t){return e(t,r+1)}))}(this.dataRoot),[2]):[2]}))}))},t.prototype.getLabelCenterX=function(e){return(e.x0+e.x1)/2},t.prototype.getLabelCenterY=function(e){return(e.y0+e.y1)/2+2},t.prototype.createNodeData=function(){return Vl(this,void 0,void 0,(function(){return Wl(this,(function(e){return[2,[]]}))}))},t.prototype.update=function(){return Vl(this,void 0,void 0,(function(){return Wl(this,(function(e){switch(e.label){case 0:return[4,this.updateSelections()];case 1:return e.sent(),[4,this.updateNodes()];case 2:return e.sent(),[2]}}))}))},t.prototype.updateSelections=function(){return Vl(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l;return Wl(this,(function(c){return this.nodeDataRefresh?(this.nodeDataRefresh=!1,t=(e=this).chart,r=e.dataRoot,t&&r&&(o=t.getSeriesRect())?(this.layout.size=[o.width,o.height],this.updateLayoutPadding(),n=this.layout.processData(r).descendants(),a=(i=this).groupSelection,s=i.highlightSelection,l=function(e){var t=e.setData(n);t.exit.remove();var r=t.enter.append(Ut);return r.append(ei),r.append(B).each((function(e){return e.tag=jl.Name})),r.append(B).each((function(e){return e.tag=jl.Value})),t.merge(r)},this.groupSelection=l(a),this.highlightSelection=l(s),[2]):[2]):[2]}))}))},t.prototype.updateNodes=function(){return Vl(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R=this;return Wl(this,(function(T){return this.chart?(t=(e=this).nodePadding,r=e.labels,o=e.shadow,n=e.gradient,i=e.chart.highlightedDatum,a=e.highlightStyle,s=a.fill,l=a.stroke,c=a.strokeWidth,u=a.item,p=u.fill,d=void 0===p?s:p,g=u.fillOpacity,h=u.stroke,f=void 0===h?l:h,v=u.strokeWidth,y=void 0===v?c:v,m=e.formatter,b=e.colorKey,w=e.labelKey,C=e.sizeKey,O=this.buildLabelMeta(this.groupSelection.data),S=function(e,t,r){var o,i,a,s,l,c,u,p,h,v,O,S,E=r&&void 0!==d?d:t.fill,x=null!=(o=r?g:1)?o:1,T=r&&void 0!==f?f:t.depth<2?void 0:"black",A=r&&void 0!==y?y:1;if(m&&(S=m({datum:t.datum,colorKey:b,sizeKey:C,labelKey:w,fill:E,stroke:T,strokeWidth:A,gradient:n,highlighted:r})),e.fill=null!=(a=null===(i=S)||void 0===i?void 0:i.fill)?a:E,e.fillOpacity=null!=(l=null===(s=S)||void 0===s?void 0:s.fillOpacity)?l:x,e.stroke=null!=(u=null===(c=S)||void 0===c?void 0:c.stroke)?u:T,e.strokeWidth=null!=(h=null===(p=S)||void 0===p?void 0:p.strokeWidth)?h:A,e.gradient=null!=(O=null===(v=S)||void 0===v?void 0:v.gradient)?O:n,e.crisp=!0,e.x=t.x0,e.y=t.y0,e.width=t.x1-t.x0,e.height=t.y1-t.y0,r&&t.children){var P=t.x0,_=t.x1,D=t.y0,M=t.y1,N=R.layout.paddingLeft(t),I=R.layout.paddingRight(t),L=R.layout.paddingTop(t),k=R.layout.paddingBottom(t);e.clipPath?e.clipPath.clear():e.clipPath=new Gt,e.clipMode="punch-out",e.clipPath.moveTo(P+N,D+L),e.clipPath.lineTo(_-I,D+L),e.clipPath.lineTo(_-I,M-k),e.clipPath.lineTo(P+N,M-k),e.clipPath.lineTo(P+N,D+L),e.clipPath.closePath()}},this.groupSelection.selectByClass(ei).each((function(e,t){return S(e,t,!1)})),this.highlightSelection.selectByClass(ei).each((function(e,t){var r=t===i;e.visible=r,e.visible&&S(e,t,r)})),E=function(e,r,n,i){var a,s=r.hasTitle,l=null!=(a=O[n])?a:{},c=l.label,u=l.nodeBaseline;null!=c&&null!=u?(e.textBaseline=u,e.fontWeight=c.fontWeight,e.fontSize=c.fontSize,e.fontFamily=c.fontFamily,e.textAlign=s?"left":"center",e.text=r.label,e.fill=i?"black":c.color,e.fillShadow=i?void 0:o,e.visible=!0):e.visible=!1,s?(e.x=r.x0+t,e.y=r.y0+t):(e.x=R.getLabelCenterX(r),e.y=R.getLabelCenterY(r))},this.groupSelection.selectByTag(jl.Name).each((function(e,t,r){return E(e,t,r,!1)})),this.highlightSelection.selectByTag(jl.Name).each((function(e,t,r){var o=t===i;e.visible=o,e.visible&&E(e,t,r,o)})),x=function(e,t,n,i){var a,s=null!=(a=O[n])?a:{},l=s.valueBaseline,c=s.valueText,u=r.color;u.enabled&&null!=l&&c?(e.fontSize=u.fontSize,e.fontFamily=u.fontFamily,e.fontStyle=u.fontStyle,e.fontWeight=u.fontWeight,e.textBaseline=l,e.textAlign="center",e.text=c,e.fill=i?"black":u.color,e.fillShadow=i?void 0:o,e.visible=!0,e.x=R.getLabelCenterX(t),e.y=R.getLabelCenterY(t)):e.visible=!1},this.groupSelection.selectByTag(jl.Value).each((function(e,t,r){return x(e,t,r,!1)})),this.highlightSelection.selectByTag(jl.Value).each((function(e,t,r){var o=t===i;e.visible=o,e.visible&&x(e,t,r,o)})),[2]):[2]}))}))},t.prototype.buildLabelMeta=function(e){var t,r,o=this,n=o.labels,i=o.title,a=o.subtitle,s=o.nodePadding,l=o.colorKey,c=[];c.length=this.groupSelection.data.length;var u=new B,p=0;try{for(var d=Hl(e),g=d.next();!g.done;g=d.next()){var h=g.value,f=h.value,v=!h.children,y=h.x1-h.x0-2*s,m=h.y1-h.y0-2*s,b=h.hasTitle,w=void 0;if((w=v?y>40&&m>40?n.large:y>20&&m>20?n.medium:n.small:h.depth>1?a:i).enabled){u.fontWeight=w.fontWeight,u.fontSize=w.fontSize,u.fontFamily=w.fontFamily,u.textAlign=b?"left":"center",u.text=h.label;var C=u.computeBBox(),O=v&&!!C&&C.width<=y&&2*C.height+8<=m,S="number"==typeof f&&isFinite(f)?String(ar(h.colorValue))+"%":"";u.fontSize=n.color.fontSize,u.fontFamily=n.color.fontFamily,u.fontStyle=n.color.fontStyle,u.fontWeight=n.color.fontWeight,u.text=S;var E=u.computeBBox(),x=v&&!!l&&O&&!!E&&E.width<y,R=x?"bottom":v?"middle":b?"top":"middle";c[p++]={label:w,nodeBaseline:b||O?R:void 0,valueBaseline:x?"top":void 0,valueText:S}}else c[p++]=void 0}}catch(e){t={error:e}}finally{try{g&&!g.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return c},t.prototype.getDomain=function(e){return[0,1]},t.prototype.getNodeClickEvent=function(e,t){return new Kl(this.labelKey,this.sizeKey,this.colorKey,e,t,this)},t.prototype.getTooltipHtml=function(e){var t=this,r=t.tooltip,o=t.sizeKey,n=t.labelKey,i=t.colorKey,a=t.colorName,s=t.rootName,l=t.id,c=e.datum,u=r.renderer,p=e.depth?c[n]:s||c[n],d=void 0,g=e.fill||"gray";if(i&&a){var h=c[i];"number"==typeof h&&isFinite(h)&&(d="<b>"+a+"</b>: "+ar(c[i]))}var f={title:p,backgroundColor:g,content:d};return u?va(u({datum:e,sizeKey:o,labelKey:n,colorKey:i,title:p,color:g,seriesId:l}),f):va(f)},t.prototype.getLegendData=function(){return[]},t.className="TreemapSeries",t.type="treemap",Bl([K(ie)],t.prototype,"labelKey",void 0),Bl([K(ae)],t.prototype,"sizeKey",void 0),Bl([K(ae)],t.prototype,"colorKey",void 0),Bl([K(ye)],t.prototype,"colorDomain",void 0),Bl([K(he)],t.prototype,"colorRange",void 0),Bl([K(oe)],t.prototype,"colorParents",void 0),Bl([K(oe)],t.prototype,"gradient",void 0),Bl([K(re)],t.prototype,"formatter",void 0),Bl([K(ie)],t.prototype,"colorName",void 0),Bl([K(ie)],t.prototype,"rootName",void 0),t}(Ol),Ql=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Zl=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Jl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.centerX=0,t.centerY=0,t.centerOffset=0,t.innerRadius=10,t.outerRadius=20,t.startAngle=0,t.endAngle=2*Math.PI,t.angleOffset=0,t}return Ql(t,e),t.prototype.computeBBox=function(){var e=this.outerRadius;return new h(this.centerX-e,this.centerY-e,2*e,2*e)},t.prototype.isFullPie=function(){return ir(or(this.startAngle),or(this.endAngle))},t.prototype.updatePath=function(){var e=this.path,t=this.angleOffset,r=Math.min(this.startAngle,this.endAngle)+t,o=Math.max(this.startAngle,this.endAngle)+t,n=.5*(r+o),i=Math.min(this.innerRadius,this.outerRadius),a=Math.max(this.innerRadius,this.outerRadius),s=this.centerOffset,l=this.isFullPie(),c=this.centerX,u=this.centerY;if(e.clear(),s&&(c+=s*Math.cos(n),u+=s*Math.sin(n)),l||(e.moveTo(c+i*Math.cos(r),u+i*Math.sin(r)),e.lineTo(c+a*Math.cos(r),u+a*Math.sin(r))),e.cubicArc(c,u,a,a,0,r,o,0),l)e.moveTo(c+i*Math.cos(o),u+i*Math.sin(o));else{var p=c+i*Math.cos(o);e.lineTo(Math.abs(p)<1e-8?0:p,u+i*Math.sin(o))}e.cubicArc(c,u,i,i,0,o,r,1),e.closePath(),this.dirtyPath=!1},t.className="Sector",Zl([er()],t.prototype,"centerX",void 0),Zl([er()],t.prototype,"centerY",void 0),Zl([er()],t.prototype,"centerOffset",void 0),Zl([er()],t.prototype,"innerRadius",void 0),Zl([er()],t.prototype,"outerRadius",void 0),Zl([er()],t.prototype,"startAngle",void 0),Zl([er()],t.prototype,"endAngle",void 0),Zl([er()],t.prototype,"angleOffset",void 0),t}(tr),$l=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ec=function(){return(ec=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},tc=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},rc=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},oc=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},nc=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},ic=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(nc(arguments[t]));return e},ac=function(e){function t(t,r,o,n,i,a,s){var l=e.call(this,i,a,s)||this;return l.angleKey=t,l.calloutLabelKey=r,l.sectorLabelKey=o,l.radiusKey=n,l}return $l(t,e),tc([Dn("calloutLabelKey")],t.prototype,"labelKey",void 0),t}(zn),sc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $l(t,e),tc([K(ve(0))],t.prototype,"centerOffset",void 0),t}(Wn);!function(e){e[e.Sector=0]="Sector",e[e.Callout=1]="Callout",e[e.Label=2]="Label"}(Xl||(Xl={}));var lc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.offset=3,t.minAngle=20,t.formatter=void 0,t}return $l(t,e),tc([K(fe(0))],t.prototype,"offset",void 0),tc([K(fe(0))],t.prototype,"minAngle",void 0),tc([K(re)],t.prototype,"formatter",void 0),t}(vs),cc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.positionOffset=0,t.positionRatio=.5,t.formatter=void 0,t}return $l(t,e),tc([K(fe())],t.prototype,"positionOffset",void 0),tc([K(fe(0,1))],t.prototype,"positionRatio",void 0),tc([K(re)],t.prototype,"formatter",void 0),t}(vs),uc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.colors=["#874349","#718661","#a48f5f","#5a7088","#7f637a","#5d8692"],t.length=10,t.strokeWidth=1,t}return $l(t,e),tc([K(he)],t.prototype,"colors",void 0),tc([K(fe(0))],t.prototype,"length",void 0),tc([K(fe(0))],t.prototype,"strokeWidth",void 0),t}(W),pc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderer=void 0,t}return $l(t,e),tc([K(re)],t.prototype,"renderer",void 0),t}(Hn),dc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.showInLegend=!1,t}return $l(t,e),tc([K(oe)],t.prototype,"showInLegend",void 0),t}(Fe),gc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.text="",t.margin=2,t}return $l(t,e),tc([K(ie)],t.prototype,"text",void 0),tc([K(fe())],t.prototype,"margin",void 0),t}(vs),hc=function(){function e(){this.fill="transparent",this.fillOpacity=1}return tc([K(de)],e.prototype,"fill",void 0),tc([K(ve(0,1))],e.prototype,"fillOpacity",void 0),e}();var fc=function(e){function t(){var t,r=e.call(this,{useLabelLayer:!0})||this;r.radiusScale=new wt,r.groupSelection=Xt.select(r.pickGroup).selectAll(),r.highlightSelection=Xt.select(r.highlightGroup).selectAll(),r.groupSelectionData=[],r.sectorFormatData=[],r.angleScale=((t=new wt).domain=[0,1],t.range=[-Math.PI,Math.PI].map((function(e){return e+Math.PI/2})),t),r.seriesItemEnabled=[],r.calloutLabel=new lc,r.label=r.calloutLabel,r.sectorLabel=new cc,r.calloutLine=new uc,r.callout=r.calloutLine,r.tooltip=new pc,r.angleKey="",r.angleName="",r.innerLabels=[],r.radiusKey=void 0,r.radiusName=void 0,r.radiusMin=void 0,r.radiusMax=void 0,r.calloutLabelKey=void 0,r.calloutLabelName=void 0,r.labelKey=void 0,r.labelName=void 0,r.sectorLabelKey=void 0,r.sectorLabelName=void 0,r.fills=["#c16068","#a2bf8a","#ebcc87","#80a0c3","#b58dae","#85c0d1"],r.strokes=["#874349","#718661","#a48f5f","#5a7088","#7f637a","#5d8692"],r.fillOpacity=1,r.strokeOpacity=1,r.lineDash=[0],r.lineDashOffset=0,r.formatter=void 0,r.rotation=0,r.outerRadiusOffset=0,r.outerRadiusRatio=1,r.innerRadiusOffset=0,r.innerRadiusRatio=1,r.strokeWidth=1,r.shadow=void 0,r.highlightStyle=new sc,r.datumSectorRefs=new WeakMap;var o=new Ut,n=new Ut,i=new Ut;return r.labelGroup.append(o),r.labelGroup.append(n),r.labelGroup.append(i),r.calloutSelection=Xt.select(o).selectAll(),r.sectorLabelSelection=Xt.select(n).selectAll(),r.innerLabelsSelection=Xt.select(i).selectAll(),r}return $l(t,e),Object.defineProperty(t.prototype,"title",{get:function(){return this._title},set:function(e){var t,r,o=this._title;o!==e&&(o&&(null===(t=this.labelGroup)||void 0===t||t.removeChild(o.node)),e&&(e.node.textBaseline="bottom",null===(r=this.labelGroup)||void 0===r||r.appendChild(e.node)),this._title=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,this.processSeriesItemEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerCircle",{get:function(){return this._innerCircleConfig},set:function(e){var t;if(this._innerCircleConfig!==e){var r=this._innerCircleNode,o=void 0;r&&this.backgroundGroup.removeChild(r),e&&((o=new gi).fill=e.fill,o.fillOpacity=null!=(t=e.fillOpacity)?t:1,this.backgroundGroup.appendChild(o)),this._innerCircleConfig=e,this._innerCircleNode=o}},enumerable:!0,configurable:!0}),t.prototype.visibleChanged=function(){this.processSeriesItemEnabled()},t.prototype.processSeriesItemEnabled=function(){var e,t=this.data,r=this.visible;this.seriesItemEnabled=(null===(e=t)||void 0===e?void 0:e.map((function(){return r})))||[]},t.prototype.setColors=function(e,t){this.fills=e,this.strokes=t,this.calloutLine.colors=t},t.prototype.getDomain=function(e){return e===Dr.X?this.angleScale.domain:this.radiusScale.domain},t.prototype.processData=function(){return rc(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w,C,O,S,E,x,R,T,A,P,_,D,M,N,I,L=this;return oc(this,(function(k){var F;return t=(e=this).angleKey,r=e.radiusKey,o=e.seriesItemEnabled,n=e.angleScale,i=e.groupSelectionData,a=e.sectorFormatData,s=e.calloutLabel,l=e.sectorLabel,c=e.id,u=t&&this.data?this.data:[],p=u.map((function(e,r){return o[r]&&Math.abs(+e[t])||0})),d=p.reduce((function(e,t){return e+t}),0),F=0,g=p.map((function(e){return F+=e/d})),h=s.formatter,f=s.enabled?this.calloutLabelKey:void 0,v=l.enabled?this.sectorLabelKey:void 0,y=[],m=[],b=[],w=function(e){return{datum:e,angleKey:t,angleValue:e[t],angleName:L.angleName,radiusKey:r,radiusValue:r?e[r]:void 0,radiusName:L.radiusName,labelKey:f,labelValue:f?e[f]:void 0,labelName:L.calloutLabelName,calloutLabelKey:f,calloutLabelValue:f?e[f]:void 0,calloutLabelName:L.calloutLabelName,sectorLabelKey:v,sectorLabelValue:v?e[v]:void 0,sectorLabelName:L.sectorLabelName,seriesId:c}},f&&(h?(C=function(){return dr((function(){return console.warn("AG Charts - the use of { value } in the pie chart label formatter function is deprecated. Please use { datum, labelKey, ... } instead.")}),'deprecated use of "value" property in pie chart label formatter')},y=u.map((function(e){var t=e[f],r=ec(ec({},w(e)),{get value(){return C(),t},set value(e){C(),t=e}});return h(r)}))):y=u.map((function(e){return String(e[f])}))),O=l.formatter,v&&(m=O?u.map((function(e){var t=w(e);return O(t)})):u.map((function(e){return String(e[v])}))),r&&(E=(S=this).radiusMin,x=S.radiusMax,R=u.map((function(e){return Math.abs(e[r])})),T=null!=E?E:0,A=x||Math.max.apply(Math,ic(R)),P=A-T,b=R.map((function(e){return P?(e-T)/P:1}))),i.length=0,a.length=0,a.push.apply(a,ic(u.map((function(e,t){return L.getSectorFormat(e,t,t,!1)})))),_=nr(this.rotation),D=Math.PI/2,M=0,N=[{textAlign:"center",textBaseline:"bottom"},{textAlign:"left",textBaseline:"middle"},{textAlign:"center",textBaseline:"hanging"},{textAlign:"right",textBaseline:"middle"}],I=0,g.forEach((function(e){if(!isNaN(e)){var t,o,l,c=r?b[M]:1,p=n.convert(e)+_,d=n.convert(I)+_,g=(p+d)/2,h=Math.abs(d-p),w=Math.cos(g),C=Math.sin(g),O=nr(s.minAngle),S=f&&h>O,E=(t=g,(t%=rr)<-Math.PI?t+=rr:t>=Math.PI&&(t-=rr),t)- -3*Math.PI/4,x=Math.floor(E/D),R=(l=x%(o=N.length))>=0?l:l+o,T=N[R],A=T.textAlign,P=T.textBaseline,k=u[M],F=M;i.push({series:L,datum:k,itemId:F,index:M,radius:c,startAngle:p,endAngle:d,midAngle:g,midCos:w,midSin:C,calloutLabel:S?{text:y[M],textAlign:A,textBaseline:P}:void 0,sectorLabel:v?{text:m[M]}:void 0,sectorFormat:a[M]}),M++,I=e}})),[2]}))}))},t.prototype.getSectorFormat=function(e,t,r,o){var n,i,a,s,l,c,u,p,d,g,h,f,v,y,m=this,b=m.angleKey,w=m.radiusKey,C=m.fills,O=m.strokes,S=m.fillOpacity,E=m.formatter,x=m.id,R=this.chart.highlightedDatum,T=o&&(null===(n=R)||void 0===n?void 0:n.series)===this&&t===R.itemId,A=T?this.highlightStyle.item:null,P=(null===(i=A)||void 0===i?void 0:i.fill)||C[r%C.length],_=null!=(s=null===(a=A)||void 0===a?void 0:a.fillOpacity)?s:S,D=(null===(l=A)||void 0===l?void 0:l.stroke)||O[r%O.length],M=null!=(u=null===(c=A)||void 0===c?void 0:c.strokeWidth)?u:this.getStrokeWidth(this.strokeWidth);return E&&(y=E({datum:e,angleKey:b,radiusKey:w,fill:P,stroke:D,strokeWidth:M,highlighted:T,seriesId:x})),{fill:(null===(p=y)||void 0===p?void 0:p.fill)||P,fillOpacity:(g=null===(d=y)||void 0===d?void 0:d.fillOpacity,null!=g?g:_),stroke:(null===(h=y)||void 0===h?void 0:h.stroke)||D,strokeWidth:(v=null===(f=y)||void 0===f?void 0:f.strokeWidth,null!=v?v:M)}},t.prototype.createNodeData=function(){return rc(this,void 0,void 0,(function(){return oc(this,(function(e){return[2,[]]}))}))},t.prototype.getInnerRadius=function(){var e=this.radius,t=this.innerRadiusRatio,r=this.innerRadiusOffset,o=e*(null!=t?t:1)+(r||0);return o===e||o<0?0:o},t.prototype.getOuterRadius=function(){var e=this.radius,t=this.outerRadiusRatio,r=this.outerRadiusOffset,o=e*(null!=t?t:1)+(r||0);return o<0?0:o},t.prototype.update=function(){return rc(this,void 0,void 0,(function(){var e,t,r,o;return oc(this,(function(n){switch(n.label){case 0:return e=this.title,t=this.getInnerRadius(),r=this.getOuterRadius(),this.radiusScale.range=[t,r],this.group.translationX=this.centerX,this.group.translationY=this.centerY,e&&(0===(o=Math.max(0,this.radiusScale.range[1]))?e.node.visible=!1:(2,e.node.translationY=-o-2,e.node.visible=e.enabled)),[4,this.updateSelections()];case 1:return n.sent(),[4,this.updateNodes()];case 2:return n.sent(),[2]}}))}))},t.prototype.updateSelections=function(){return rc(this,void 0,void 0,(function(){return oc(this,(function(e){switch(e.label){case 0:return[4,this.updateGroupSelection()];case 1:return e.sent(),[2]}}))}))},t.prototype.updateGroupSelection=function(){return rc(this,void 0,void 0,(function(){var e,t,r,o,n,i,a,s,l,c,u,p,d,g=this;return oc(this,(function(h){return t=(e=this).groupSelection,r=e.highlightSelection,o=e.calloutSelection,n=e.sectorLabelSelection,i=e.innerLabelsSelection,a=function(e){var t=e.setData(g.groupSelectionData);t.exit.remove();var r=t.enter.append(Ut);return r.append(Jl).each((function(e){return e.tag=Xl.Sector})),t.merge(r)},this.groupSelection=a(t),this.highlightSelection=a(r),(s=o.setData(this.groupSelectionData)).exit.remove(),(l=s.enter.append(Ut)).append(Zt).each((function(e){e.tag=Xl.Callout,e.pointerEvents=b.None})),l.append(B).each((function(e){e.tag=Xl.Label,e.pointerEvents=b.None})),this.calloutSelection=s.merge(l),(c=n.setData(this.groupSelectionData)).exit.remove(),(u=c.enter.append(B)).each((function(e){e.pointerEvents=b.None})),this.sectorLabelSelection=c.merge(u),(p=i.setData(this.innerLabels)).exit.remove(),(d=p.enter.append(B)).each((function(e){e.pointerEvents=b.None})),this.innerLabelsSelection=p.merge(d),[2]}))}))},t.prototype.updateNodes=function(){var e,t;return rc(this,void 0,void 0,(function(){var r,o,n,i,a,s,l,c,u,p,d,g,h,f,v,y,m,b,w=this;return oc(this,(function(C){return this.chart?(r=this.seriesItemEnabled.indexOf(!0)>=0,this.group.visible=r,this.backgroundGroup.visible=r,this.seriesGroup.visible=r,this.highlightGroup.visible=r&&(null===(t=null===(e=this.chart)||void 0===e?void 0:e.highlightedDatum)||void 0===t?void 0:t.series)===this,this.labelGroup.visible=r,this.seriesGroup.opacity=this.getOpacity(),this.updateInnerCircle(),n=(o=this).radiusScale,i=o.calloutLine,a=o.chart.highlightedDatum,s=[],l=n.convert(0),c=function(e,t,r,o){var i,a=n.convert(t.radius,Ye),c=e.parent,u=null===(i=c)||void 0===i?void 0:i.parent;o&&c&&u&&(u.removeChild(c),u.appendChild(c)),e.innerRadius=Math.max(0,l),e.outerRadius=Math.max(0,a),e.startAngle=t.startAngle,e.endAngle=t.endAngle;var p=w.getSectorFormat(t.datum,t.itemId,r,o);e.fill=p.fill,e.stroke=p.stroke,e.strokeWidth=p.strokeWidth,e.fillOpacity=p.fillOpacity,e.strokeOpacity=w.strokeOpacity,e.lineDash=w.lineDash,e.lineDashOffset=w.lineDashOffset,e.fillShadow=w.shadow,e.lineJoin="round",s.push(e.centerOffset),w.datumSectorRefs.set(t,e)},this.groupSelection.selectByTag(Xl.Sector).each((function(e,t,r){return c(e,t,r,!1)})),this.highlightSelection.selectByTag(Xl.Sector).each((function(e,t,r){var o,n=(null===(o=a)||void 0===o?void 0:o.series)===w&&t.itemId===a.itemId;e.visible=n,e.visible&&c(e,t,r,n)})),u=i.colors,p=i.length,d=i.strokeWidth,this.calloutSelection.selectByTag(Xl.Callout).each((function(e,t,r){var o=n.convert(t.radius,Ye),i=Math.max(0,o);t.calloutLabel&&0!==i?(e.strokeWidth=d,e.stroke=u[r%u.length],e.x1=t.midCos*i,e.y1=t.midSin*i,e.x2=t.midCos*(i+p),e.y2=t.midSin*(i+p)):e.stroke=void 0})),g=this.calloutLabel,h=g.offset,f=g.fontStyle,v=g.fontWeight,y=g.fontSize,m=g.fontFamily,b=g.color,this.calloutSelection.selectByTag(Xl.Label).each((function(e,t,r){var o=t.calloutLabel,i=n.convert(t.radius,Ye),a=Math.max(0,i);if(o&&0!==a){var l=s[r]+a+p+h;e.fontStyle=f,e.fontWeight=v,e.fontSize=y,e.fontFamily=m,e.text=o.text,e.x=t.midCos*l,e.y=t.midSin*l,e.fill=b,e.textAlign=o.textAlign,e.textBaseline=o.textBaseline}else e.fill=void 0})),this.updateSectorLabelNodes(),this.updateInnerLabelNodes(),[2]):[2]}))}))},t.prototype.updateSectorLabelNodes=function(){var e=this,t=this.radiusScale,r=t.convert(0),o=this.sectorLabel,n=o.fontSize,i=o.fontStyle,a=o.fontWeight,s=o.fontFamily,l=o.positionOffset,c=o.positionRatio,u=o.color,p=r>0,d=1===this.seriesItemEnabled.filter(Boolean).length;this.sectorLabelSelection.each((function(o,g){var h=g.sectorLabel,f=t.convert(g.radius,Ye),v=Math.max(0,f),y=!1;if(h&&0!==v){var m=r*(1-c)+f*c+l;if(o.fill=u,o.fontStyle=i,o.fontWeight=a,o.fontSize=n,o.fontFamily=s,o.text=h.text,!p&&d?(o.x=0,o.y=0):(o.x=g.midCos*m,o.y=g.midSin*m),o.textAlign="center",o.textBaseline="middle",e.datumSectorRefs.get(g)){var b=o.computeBBox(),w=[[b.x,b.y],[b.x+b.width,b.y],[b.x+b.width,b.y+b.height],[b.x,b.y+b.height]],C={startAngle:g.startAngle,endAngle:g.endAngle,innerRadius:r,outerRadius:v};w.every((function(e){var t=nc(e,2);return function(e,t,r){var o=Math.sqrt(Math.pow(e,2)+Math.pow(t,2)),n=r.innerRadius,i=r.outerRadius;if(o<Math.min(n,i)||o>Math.max(n,i))return!1;var a=Math.atan2(t,e);a<-Math.PI/2&&(a+=2*Math.PI);var s=r.startAngle,l=r.endAngle;return l===-Math.PI/2?a<s:s===3*Math.PI/2?a>l:a>=l&&a<=s}(t[0],t[1],C)}))&&(y=!0)}}o.visible=y}))},t.prototype.updateInnerCircle=function(){var e=this._innerCircleNode;if(e){var t=this.getInnerRadius();if(0===t)e.size=0;else{var r=Math.min(t,this.getOuterRadius());e.size=Math.ceil(2*r+1)}}},t.prototype.updateInnerLabelNodes=function(){var e=[],t=[];this.innerLabelsSelection.each((function(r,o){var n=o.fontStyle,i=o.fontWeight,a=o.fontSize,s=o.fontFamily,l=o.color;r.fontStyle=n,r.fontWeight=i,r.fontSize=a,r.fontFamily=s,r.text=o.text,r.x=0,r.y=0,r.fill=l,r.textAlign="center",r.textBaseline="alphabetic",e.push(r.computeBBox()),t.push(o.margin)}));for(var r=function(e){return 0===e?0:t[e]},o=function(e){return e===t.length-1?0:t[e]},n=e.reduce((function(e,t,n){return e+t.height+r(n)+o(n)}),0),i=Math.max.apply(Math,ic(e.map((function(e){return e.width})))),a=this.getInnerRadius(),s=Math.sqrt(Math.pow(i/2,2)+Math.pow(n/2,2))<=(a>0?a:this.getOuterRadius()),l=[],c=0,u=-n/2;c<e.length;c++){var p=e[c].height+u+r(c);l.push(p),u=p+o(c)}this.innerLabelsSelection.each((function(e,t,r){e.y=l[r],e.visible=s}))},t.prototype.getNodeClickEvent=function(e,t){return new ac(this.angleKey,this.calloutLabelKey,this.sectorLabelKey,this.radiusKey,e,t,this)},t.prototype.getTooltipHtml=function(e){var t=this.angleKey;if(!t)return"";var r=this,o=r.tooltip,n=r.angleName,i=r.radiusKey,a=r.radiusName,s=r.calloutLabelKey,l=r.sectorLabelKey,c=r.calloutLabelName,u=r.sectorLabelName,p=r.id,d=o.renderer,g=e.sectorFormat.fill,h=e.datum,f=s?h[s]+": ":"",v=h[t],y="number"==typeof v?ar(v):v.toString(),m=this.title?this.title.text:void 0,b={title:m,backgroundColor:g,content:f+y};return d?va(d({datum:h,angleKey:t,angleValue:v,angleName:n,radiusKey:i,radiusValue:i?h[i]:void 0,radiusName:a,labelKey:s,labelName:c,calloutLabelKey:s,calloutLabelName:c,sectorLabelKey:l,sectorLabelName:u,title:m,color:g,seriesId:p}),b):va(b)},t.prototype.getLegendData=function(){var e=this,t=this.calloutLabelKey,r=this.data,o=this.sectorFormatData;if(r&&r.length&&t){var n=this.id,i=[],a=this.title&&this.title.showInLegend&&this.title.text;return r.forEach((function(r,s){var l=[];a&&l.push(a),l.push(String(r[t])),i.push({id:n,itemId:s,seriesId:n,enabled:e.seriesItemEnabled[s],label:{text:l.join(" - ")},marker:{fill:o[s].fill,stroke:o[s].stroke,fillOpacity:e.fillOpacity,strokeOpacity:e.strokeOpacity}})})),i}return[]},t.prototype.toggleSeriesItem=function(e,t){this.seriesItemEnabled[e]=t,this.nodeDataRefresh=!0},t.className="PieSeries",t.type="pie",tc([Dn("calloutLabel")],t.prototype,"label",void 0),tc([Dn("calloutLine")],t.prototype,"callout",void 0),tc([K(ie)],t.prototype,"angleKey",void 0),tc([K(ie)],t.prototype,"angleName",void 0),tc([K(ae)],t.prototype,"radiusKey",void 0),tc([K(ae)],t.prototype,"radiusName",void 0),tc([K(ve(0))],t.prototype,"radiusMin",void 0),tc([K(ve(0))],t.prototype,"radiusMax",void 0),tc([K(ae)],t.prototype,"calloutLabelKey",void 0),tc([K(ae)],t.prototype,"calloutLabelName",void 0),tc([Dn("calloutLabelKey")],t.prototype,"labelKey",void 0),tc([Dn("calloutLabelName")],t.prototype,"labelName",void 0),tc([K(ae)],t.prototype,"sectorLabelKey",void 0),tc([K(ae)],t.prototype,"sectorLabelName",void 0),tc([K(he)],t.prototype,"fills",void 0),tc([K(he)],t.prototype,"strokes",void 0),tc([K(fe(0,1))],t.prototype,"fillOpacity",void 0),tc([K(fe(0,1))],t.prototype,"strokeOpacity",void 0),tc([K(Te)],t.prototype,"lineDash",void 0),tc([K(fe(0))],t.prototype,"lineDashOffset",void 0),tc([K(re)],t.prototype,"formatter",void 0),tc([K(fe(-360,360))],t.prototype,"rotation",void 0),tc([K(fe())],t.prototype,"outerRadiusOffset",void 0),tc([K(fe(0))],t.prototype,"outerRadiusRatio",void 0),tc([K(fe())],t.prototype,"innerRadiusOffset",void 0),tc([K(fe(0))],t.prototype,"innerRadiusRatio",void 0),tc([K(fe(0))],t.prototype,"strokeWidth",void 0),t}(as);var vc=new mr((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(e.getTime()+6e4*t)}),(function(e,t){return(t.getTime()-e.getTime())/6e4}),(function(e){return e.getUTCMinutes()}));var yc=new mr((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(e.getTime()+36e5*t)}),(function(e,t){return(t.getTime()-e.getTime())/36e5}),(function(e){return e.getUTCHours()}));var mc=new mr((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),bc=function(){return(bc=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},wc=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Cc={fills:["#f3622d","#fba71b","#57b757","#41a9c9","#4258c9","#9a42c8","#c84164","#888888"],strokes:["#aa4520","#b07513","#3d803d","#2d768d","#2e3e8d","#6c2e8c","#8c2d46","#5f5f5f"]};var Oc={arrayMerge:function(e,t,r){return t},isMergeableObject:function(e){return M(e)&&!(e instanceof yr)}},Sc=function(){function e(t){var r=(t=N({},t||{},Oc)).overrides,o=void 0===r?null:r,n=t.palette,i=void 0===n?null:n,a=this.createChartConfigPerSeries(this.getDefaults());if(o){var s=o.common,l=o.cartesian,c=o.polar,u=o.hierarchy,p=function(e,t,r){r&&(a[e]=N(a[e],r,Oc),t.forEach((function(e){a[e]=N(a[e],r,Oc)})))};p("common",Object.keys(a),s),p("cartesian",e.cartesianSeriesTypes,l),p("polar",e.polarSeriesTypes,c),p("hierarchy",e.hierarchySeriesTypes,u);var d={};e.seriesTypes.forEach((function(e){var t=o[e];t&&(t.series&&(d[e]=t.series,t.series=d),a[e]=N(a[e],t,Oc))}))}this.palette=null!=i?i:this.getPalette(),this.config=Object.freeze(a)}return e.prototype.getPalette=function(){return Cc},e.getAxisDefaults=function(){return{top:{},right:{},bottom:{},left:{},thickness:0,title:{enabled:!1,text:"Axis Title",fontStyle:void 0,fontWeight:"bold",fontSize:12,fontFamily:this.fontFamily,color:"rgb(70, 70, 70)"},label:{fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:this.fontFamily,padding:5,rotation:void 0,color:"rgb(87, 87, 87)",formatter:void 0,autoRotate:!1},line:{width:1,color:"rgb(195, 195, 195)"},tick:{width:1,size:6,color:"rgb(195, 195, 195)"},gridStyle:[{stroke:"rgb(219, 219, 219)",lineDash:[4,2]}],crossLines:{enabled:!1,fill:"rgb(187,221,232)",stroke:"rgb(70,162,192)",strokeWidth:1,label:{enabled:!1,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:this.fontFamily,padding:5,color:"rgb(87, 87, 87)",rotation:void 0}}}},e.getSeriesDefaults=function(){return{tooltip:{enabled:!0,renderer:void 0},visible:!0,showInLegend:!0,cursor:"default",highlightStyle:{item:{fill:"yellow",fillOpacity:1},series:{dimOpacity:1}}}},e.getBarSeriesDefaults=function(){return bc(bc({},this.getSeriesDefaults()),{flipXY:!1,fillOpacity:1,strokeOpacity:1,xKey:"",xName:"",normalizedTo:void 0,strokeWidth:1,lineDash:[0],lineDashOffset:0,label:{enabled:!1,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:this.fontFamily,color:"rgb(70, 70, 70)",formatter:void 0,placement:"inside"},shadow:{enabled:!1,color:"rgba(0, 0, 0, 0.5)",xOffset:3,yOffset:3,blur:5}})},e.getLineSeriesDefaults=function(){var e=this.getSeriesDefaults();return bc(bc({},e),{tooltip:bc(bc({},e.tooltip),{format:void 0})})},e.getCartesianSeriesMarkerDefaults=function(){return{enabled:!0,shape:"circle",size:6,maxSize:30,strokeWidth:1,formatter:void 0}},e.getChartDefaults=function(){return{background:{visible:!0,fill:"white"},padding:{top:20,right:20,bottom:20,left:20},title:{enabled:!1,text:"Title",fontStyle:void 0,fontWeight:"bold",fontSize:16,fontFamily:this.fontFamily,color:"rgb(70, 70, 70)"},subtitle:{enabled:!1,text:"Subtitle",fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:this.fontFamily,color:"rgb(140, 140, 140)"},legend:{enabled:!0,position:"right",spacing:20,item:{paddingX:16,paddingY:8,marker:{shape:void 0,size:15,strokeWidth:1,padding:8},label:{color:"black",fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:this.fontFamily,formatter:void 0}},reverseOrder:!1},tooltip:{enabled:!0,tracking:!0,delay:0,class:"ag-chart-tooltip"}}},e.prototype.createChartConfigPerSeries=function(t){var r={cartesian:e.cartesianSeriesTypes,polar:e.polarSeriesTypes,hierarchy:e.hierarchySeriesTypes,groupedCategory:[]};return Object.entries(r).forEach((function(e){var r=wc(e,2),o=r[0];r[1].forEach((function(e){t[e]||(t[e]=N({},t[o],Oc))}))})),t},e.prototype.getConfig=function(e,t){var r=function(e,t,r){var o=Array.isArray(t)?t:t.split("."),n=e;try{o.forEach((function(e){n=n[e]}))}catch(e){if(3!==arguments.length)throw e;n=r}return n}(this.config,e,t);return Array.isArray(r)?N([],r,Oc):function(e){return e&&"object"==typeof e}(r)?N({},r,Oc):r},e.prototype.getDefaults=function(){return N({},e.defaults,Oc)},e.prototype.mergeWithParentDefaults=function(e,t){return N(e,t,Oc)},e.fontFamily="Verdana, sans-serif",e.cartesianDefaults=bc(bc({},e.getChartDefaults()),{axes:{number:bc({},e.getAxisDefaults()),log:bc(bc({},e.getAxisDefaults()),{base:10}),category:bc(bc({},e.getAxisDefaults()),{groupPaddingInner:.1,label:bc(bc({},e.getAxisDefaults().label),{autoRotate:!0})}),groupedCategory:bc({},e.getAxisDefaults()),time:bc({},e.getAxisDefaults())},series:{column:bc(bc({},e.getBarSeriesDefaults()),{flipXY:!1}),bar:bc(bc({},e.getBarSeriesDefaults()),{flipXY:!0}),line:bc(bc({},e.getLineSeriesDefaults()),{title:void 0,xKey:"",xName:"",yKey:"",yName:"",strokeWidth:2,strokeOpacity:1,lineDash:[0],lineDashOffset:0,marker:bc(bc({},e.getCartesianSeriesMarkerDefaults()),{fillOpacity:1,strokeOpacity:1}),label:{enabled:!1,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)",formatter:void 0}}),scatter:bc(bc({},e.getSeriesDefaults()),{title:void 0,xKey:"",yKey:"",sizeKey:void 0,labelKey:void 0,xName:"",yName:"",sizeName:"Size",labelName:"Label",strokeWidth:2,fillOpacity:1,strokeOpacity:1,marker:bc({},e.getCartesianSeriesMarkerDefaults()),label:{enabled:!1,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)"}}),area:bc(bc({},e.getSeriesDefaults()),{xKey:"",xName:"",normalizedTo:void 0,fillOpacity:.8,strokeOpacity:1,strokeWidth:2,lineDash:[0],lineDashOffset:0,shadow:{enabled:!1,color:"rgba(0, 0, 0, 0.5)",xOffset:3,yOffset:3,blur:5},marker:bc(bc({},e.getCartesianSeriesMarkerDefaults()),{fillOpacity:1,strokeOpacity:1,enabled:!1}),label:{enabled:!1,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)",formatter:void 0}}),histogram:bc(bc({},e.getSeriesDefaults()),{xKey:"",yKey:"",xName:"",yName:"",strokeWidth:1,fillOpacity:1,strokeOpacity:1,lineDash:[0],lineDashOffset:0,areaPlot:!1,bins:void 0,aggregation:"sum",label:{enabled:!1,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)",formatter:void 0},shadow:{enabled:!0,color:"rgba(0, 0, 0, 0.5)",xOffset:0,yOffset:0,blur:5}})},navigator:{enabled:!1,height:30,mask:{fill:"#999999",stroke:"#999999",strokeWidth:1,fillOpacity:.2},minHandle:{fill:"#f2f2f2",stroke:"#999999",strokeWidth:1,width:8,height:16,gripLineGap:2,gripLineLength:8},maxHandle:{fill:"#f2f2f2",stroke:"#999999",strokeWidth:1,width:8,height:16,gripLineGap:2,gripLineLength:8}}}),e.polarDefaults=bc(bc({},e.getChartDefaults()),{series:{pie:bc(bc({},e.getSeriesDefaults()),{title:{enabled:!0,text:"",fontStyle:void 0,fontWeight:"bold",fontSize:14,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)"},angleKey:"",angleName:"",radiusKey:void 0,radiusName:void 0,calloutLabelKey:void 0,calloutLabelName:void 0,sectorLabelKey:void 0,sectorLabelName:void 0,calloutLabel:{enabled:!0,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)",offset:3,minAngle:20},sectorLabel:{enabled:!0,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)",positionOffset:0,positionRatio:.5},calloutLine:{length:10,strokeWidth:2},fillOpacity:1,strokeOpacity:1,strokeWidth:1,lineDash:[0],lineDashOffset:0,rotation:0,outerRadiusOffset:0,innerRadiusOffset:0,shadow:{enabled:!1,color:"rgba(0, 0, 0, 0.5)",xOffset:3,yOffset:3,blur:5},innerLabels:{fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:e.fontFamily,color:"rgb(70, 70, 70)",margin:2}})}}),e.hierarchyDefaults=bc(bc({},e.getChartDefaults()),{series:{treemap:bc(bc({},e.getSeriesDefaults()),{showInLegend:!1,labelKey:"label",sizeKey:"size",colorKey:"color",colorDomain:[-5,5],colorRange:["#cb4b3f","#6acb64"],colorParents:!1,gradient:!0,nodePadding:2,title:{enabled:!0,color:"white",fontStyle:void 0,fontWeight:"bold",fontSize:12,fontFamily:"Verdana, sans-serif",padding:15},subtitle:{enabled:!0,color:"white",fontStyle:void 0,fontWeight:void 0,fontSize:9,fontFamily:"Verdana, sans-serif",padding:13},labels:{large:{enabled:!0,fontStyle:void 0,fontWeight:"bold",fontSize:18,fontFamily:"Verdana, sans-serif",color:"white"},medium:{enabled:!0,fontStyle:void 0,fontWeight:"bold",fontSize:14,fontFamily:"Verdana, sans-serif",color:"white"},small:{enabled:!0,fontStyle:void 0,fontWeight:"bold",fontSize:10,fontFamily:"Verdana, sans-serif",color:"white"},color:{enabled:!0,fontStyle:void 0,fontWeight:void 0,fontSize:12,fontFamily:"Verdana, sans-serif",color:"white"}}})}}),e.defaults={cartesian:e.cartesianDefaults,groupedCategory:e.cartesianDefaults,polar:e.polarDefaults,hierarchy:e.hierarchyDefaults},e.cartesianSeriesTypes=["line","area","bar","column","scatter","histogram"],e.polarSeriesTypes=["pie"],e.hierarchySeriesTypes=["treemap"],e.seriesTypes=e.cartesianSeriesTypes.concat(e.polarSeriesTypes).concat(e.hierarchySeriesTypes),e}(),Ec=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),xc=function(){return(xc=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Rc=function(e){function t(t){return e.call(this,t)||this}return Ec(t,e),t.prototype.getDefaults=function(){var t="rgb(200, 200, 200)",r={title:{color:t},label:{color:t},gridStyle:[{stroke:"rgb(88, 88, 88)",lineDash:[4,2]}]},o={label:{color:t}},n={axes:{number:xc({},r),category:xc({},r),time:xc({},r)}},i={background:{fill:"rgb(34, 38, 41)"},title:{color:t},subtitle:{color:"rgb(150, 150, 150)"},legend:{item:{label:{color:t}}}};return this.mergeWithParentDefaults(e.prototype.getDefaults.call(this),{cartesian:xc(xc(xc({},i),n),{series:{bar:xc({},o),column:xc({},o),histogram:xc({},o)}}),groupedCategory:xc(xc(xc({},i),n),{series:{bar:xc({},o),column:xc({},o),histogram:xc({},o)}}),polar:xc(xc({},i),{series:{pie:{calloutLabel:{color:t},sectorLabel:{color:t},title:{color:t},innerLabels:{color:t}}}}),hierarchy:xc(xc({},i),{series:{treemap:{title:{color:t},subtitle:{color:"rgb(150, 150, 150)"},labels:{large:{color:t},medium:{color:t},small:{color:t},color:{color:t}}}}})})},t}(Sc),Tc=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ac={fills:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722"],strokes:["#ab2f26","#a31545","#6d1b7b","#482980","#2c397f","#1769aa","#0276ab","#008494","#00695f","#357a38","#618834","#909a28","#b3a429","#b38705","#b36a00","#b33d18"]},Pc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Tc(t,e),t.prototype.getPalette=function(){return Ac},t}(Sc),_c=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Dc={fills:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722"],strokes:["#ab2f26","#a31545","#6d1b7b","#482980","#2c397f","#1769aa","#0276ab","#008494","#00695f","#357a38","#618834","#909a28","#b3a429","#b38705","#b36a00","#b33d18"]},Mc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _c(t,e),t.prototype.getPalette=function(){return Dc},t}(Rc),Nc=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ic={fills:["#c16068","#a2bf8a","#ebcc87","#80a0c3","#b58dae","#85c0d1"],strokes:["#874349","#718661","#a48f5f","#5a7088","#7f637a","#5d8692"]},Lc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Nc(t,e),t.prototype.getPalette=function(){return Ic},t}(Sc),kc=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Fc={fills:["#c16068","#a2bf8a","#ebcc87","#80a0c3","#b58dae","#85c0d1"],strokes:["#874349","#718661","#a48f5f","#5a7088","#7f637a","#5d8692"]},Gc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return kc(t,e),t.prototype.getPalette=function(){return Fc},t}(Rc),jc=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),zc={fills:["#febe76","#ff7979","#badc58","#f9ca23","#f0932b","#eb4c4b","#6ab04c","#7ed6df","#e056fd","#686de0"],strokes:["#b28553","#b35555","#829a3e","#ae8d19","#a8671e","#a43535","#4a7b35","#58969c","#9d3cb1","#494c9d"]},Bc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return jc(t,e),t.prototype.getPalette=function(){return zc},t}(Sc),Vc=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Wc={fills:["#febe76","#ff7979","#badc58","#f9ca23","#f0932b","#eb4c4b","#6ab04c","#7ed6df","#e056fd","#686de0"],strokes:["#b28553","#b35555","#829a3e","#ae8d19","#a8671e","#a43535","#4a7b35","#58969c","#9d3cb1","#494c9d"]},Hc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Vc(t,e),t.prototype.getPalette=function(){return Wc},t}(Rc),Uc=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Kc={fills:["#5BC0EB","#FDE74C","#9BC53D","#E55934","#FA7921","#fa3081"],strokes:["#4086a4","#b1a235","#6c8a2b","#a03e24","#af5517","#af225a"]},Yc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Uc(t,e),t.prototype.getPalette=function(){return Kc},t}(Sc),Xc=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),qc={fills:["#5BC0EB","#FDE74C","#9BC53D","#E55934","#FA7921","#fa3081"],strokes:["#4086a4","#b1a235","#6c8a2b","#a03e24","#af5517","#af225a"]},Qc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xc(t,e),t.prototype.getPalette=function(){return qc},t}(Rc),Zc=function(){return(Zc=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Jc=new Sc,$c=new Rc,eu={undefined:Jc,null:Jc,"ag-default":Jc,"ag-material":new Pc,"ag-pastel":new Lc,"ag-solar":new Bc,"ag-vivid":new Yc},tu={undefined:$c,null:$c,"ag-default-dark":$c,"ag-material-dark":new Mc,"ag-pastel-dark":new Gc,"ag-solar-dark":new Hc,"ag-vivid-dark":new Qc},ru=Zc(Zc({},tu),eu);function ou(e){if(e instanceof Sc)return e;var t=ru[e];return t||((e=e).baseTheme||e.overrides||e.palette?new(ou(e.baseTheme).constructor)(e):Jc)}function nu(e){var t=ou(e),r=t.config;for(var o in r){var n=r[o].axes;for(var i in n)delete n[i].crossLines}return t}var iu=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),au=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},su=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},lu=function(e){return e},cu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t._domain=[1,10],t.baseLog=lu,t.basePow=lu,t._base=10,t}return iu(t,e),t.prototype.setDomain=function(t){var r=t[0],o=t[t.length-1];(0===r||0===o||r<0&&o>0||r>0&&o<0)&&(console.warn("Log scale domain should not start at, end at or cross zero."),0===r&&o>0?r=Number.EPSILON:0===o&&r<0?o=-Number.EPSILON:r<0&&o>0?Math.abs(o)>=Math.abs(r)?r=Number.EPSILON:o=-Number.EPSILON:r>0&&o<0&&(Math.abs(o)>=Math.abs(r)?r=-Number.EPSILON:o=Number.EPSILON),(t=t.slice())[0]=r,t[t.length-1]=o),e.prototype.setDomain.call(this,t)},t.prototype.getDomain=function(){return e.prototype.getDomain.call(this)},Object.defineProperty(t.prototype,"base",{get:function(){return this._base},set:function(e){this._base!==e&&(this._base=e,this.rescale())},enumerable:!0,configurable:!0}),t.prototype.rescale=function(){var r=this.base,o=t.makeLogFn(r),n=t.makePowFn(r);this.domain[0]<0?(o=this.reflect(o),n=this.reflect(n),this.transform=function(e){return-Math.log(-e)},this.untransform=function(e){return-Math.exp(-e)}):(this.transform=function(e){return Math.log(e)},this.untransform=function(e){return Math.exp(e)}),this.baseLog=o,this.basePow=n,e.prototype.rescale.call(this)},t.prototype.reflect=function(e){return function(t){return-e(-t)}},t.prototype.nice=function(){var e,t,r=this.domain,o=0,n=r.length-1,i=r[o],a=r[n];a<i&&(o=(e=su([n,o],2))[0],n=e[1],i=(t=su([a,i],2))[0],a=t[1]),r[o]=this.basePow(Math.floor(this.baseLog(i))),r[n]=this.basePow(Math.ceil(this.baseLog(a))),this.domain=r},t.pow10=function(e){return isFinite(e)?+("1e"+e):e<0?0:e},t.makePowFn=function(e){return 10===e?t.pow10:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}},t.makeLogFn=function(e){if(e===Math.E)return Math.log;if(10===e)return Math.log10;if(2===e)return Math.log2;var t=Math.log(e);return function(e){return Math.log(e)/t}},t.prototype.ticks=function(e){var t;void 0===e&&(e=10);var r=null==e?10:+e,o=this.base,n=this.domain,i=n[0],a=n[n.length-1],s=a<i;s&&(i=(t=su([a,i],2))[0],a=t[1]);var l=this.baseLog(i),c=this.baseLog(a),u=[];if(!(o%1)&&c-l<r){if(l=Math.round(l)-1,c=Math.round(c)+1,i>0)for(;l<c;++l)for(var p=1,d=this.basePow(l);p<o;++p){if(!((g=d*p)<i)){if(g>a)break;u.push(g)}}else for(;l<c;++l)for(p=o-1,d=this.basePow(l);p>=1;--p){var g;if(!((g=d*p)<i)){if(g>a)break;u.push(g)}}2*u.length<r&&(u=Ze(i,a,r))}else u=Ze(l,c,Math.min(c-l,r)).map(this.basePow);return s?u.reverse():u},t.prototype.tickFormat=function(e){var t=this,r=e.count,o=e.specifier,n=this.base;if(null==o&&(o=10===n?".0e":","),"function"!=typeof o&&(o=at(o)),r===1/0)return o;null==r&&(r=10);var i=Math.max(1,n*r/this.ticks().length);return function(e){var r=e/t.basePow(Math.round(t.baseLog(e)));return r*n<n-.5&&(r*=n),r<=i?o(e):""}},au([K(fe(0))],t.prototype,"_base",void 0),t}(qe),uu=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),pu=function(e){function t(){var t=e.call(this,new cu)||this;return t.scale.clamper=Xe,t}return uu(t,e),Object.defineProperty(t.prototype,"base",{get:function(){return this.scale.base},set:function(e){this.scale.base=e},enumerable:!0,configurable:!0}),t.className="LogAxis",t.type="log",t}(Xr),du={type:"cartesian",axes:[{type:Xr.type,position:Mr.Left},{type:to.type,position:Mr.Bottom}]},gu={axes:[{type:"number",position:Mr.Bottom},{type:"category",position:Mr.Left}]},hu={axes:[{type:"number",position:Mr.Bottom},{type:"number",position:Mr.Left}]},fu=function(){return(fu=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function vu(e){return null!=e&&e instanceof Array&&e[0]instanceof Array}function yu(e,t){if(null==e)return{};if(!(e instanceof Array))return e;var r=t.yKeys;if(null==r||vu(r))throw new Error("AG Charts - yNames and yKeys mismatching configuration.");var o={};return r.forEach((function(t,r){o[t]=e[r]})),o}function mu(e,t){return null==e?[[]]:vu(e)?e:t.grouped?e.map((function(e){return[e]})):[e]}function bu(e){if(null!=e){var t=e.placement;return fu(fu({},e),{placement:"inside"===t?_s.Inside:"outside"===t?_s.Outside:void 0})}}function wu(e){var t=fu(fu({},e),{yKeys:e.yKeys||[e.yKey]});return delete t.yKey,function(e,t){var r={};for(var o in e){var n=t[o]||function(e){return e};r[o]=n(e[o],e)}return r}(t,{yNames:yu,yKeys:mu,label:bu})}function Cu(e){return e}var Ou={area:Cu,bar:wu,column:wu,histogram:Cu,line:Cu,pie:Cu,scatter:Cu,treemap:Cu};function Su(e){var t=e.type;return(0,Ou[t||"line"])(e)}var Eu=function(){return(Eu=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},xu=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ru=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Tu=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ru(arguments[t]));return e};var Au,Pu,_u=Symbol(),Du=Symbol(),Mu=function(e){return function(t,r){var o;return t.concat.apply(t,Tu(null!=(o=r[e])?o:[]))}},Nu=function(e,t){return function(r,o,n,i){var a,s=t===Du||t===_u,l=null!=(a=o[e])?a:t;if(l===_u)throw new Error("AG Charts - missing value for property ["+e+"] on series config.");if(l===Du)return r;if(0===r.length&&!s)for(;r.length<i;)r=r.concat(t);return s?r.concat(l):(r[n]=l,r)}},Iu={yKeys:{outputProp:"yKeys",reducer:Mu("yKeys"),start:[]},fills:{outputProp:"fills",reducer:Mu("fills"),start:[]},strokes:{outputProp:"strokes",reducer:Mu("strokes"),start:[]},yNames:{outputProp:"yNames",reducer:Mu("yNames"),start:[]},hideInChart:{outputProp:"hideInChart",reducer:Mu("hideInChart"),start:[]},hideInLegend:{outputProp:"hideInLegend",reducer:Mu("hideInLegend"),start:[]},yKey:{outputProp:"yKeys",reducer:Nu("yKey",Du),start:[]},fill:{outputProp:"fills",reducer:Nu("fill",Du),start:[]},stroke:{outputProp:"strokes",reducer:Nu("stroke",Du),start:[]},yName:{outputProp:"yNames",reducer:Nu("yName",Du),start:[]},visible:{outputProp:"visibles",reducer:Nu("visible",!0),start:[]},grouped:{outputProp:"grouped",reducer:(Au="grouped",function(e,t){return"boolean"==typeof t[Au]?null!=e&&e||t[Au]:null!=e?e:Pu}),seriesType:["bar","column"],start:void 0},showInLegend:{outputProp:"hideInLegend",reducer:function(e,t){return function(r,o){return o[e]===t?r.concat.apply(r,Tu(o.yKey?[o.yKey]:o.yKeys)):r}}("showInLegend",!1),seriesType:["bar","column"],start:[]}};function Lu(e){var t={};return e.forEach((function(r,o){Object.keys(r).forEach((function(n){var i,a=Iu[n],s=function(){var e,o;t[n]=null!=(o=null!=(e=r[n])?e:t[n])?o:void 0};if(a){var l=a.outputProp,c=a.reducer,u=a.start,p=void 0===u?void 0:u,d=a.seriesType;if((void 0===d?[r.type]:d).includes(r.type)){var g=c(null!=(i=t[l])?i:p,r,o,e.length);void 0!==g&&(t[l]=g)}else s()}else s()}))})),t}function ku(e){var t,r,o=[],n=e.map((function(e){return"bar"!==e.type&&"column"!==e.type||null==e.yKey||e.stacked?e:Eu(Eu({},e),{grouped:null==e.grouped||e.grouped})}));try{for(var i=xu(function(e){var t,r,o={},n=[];try{for(var i=xu(e),a=i.next();!a.done;a=i.next()){var s=a.value;if("column"===s.type||"bar"===s.type||"area"===s.type&&!0===s.stacked){var l=s.type||"line",c=s.stacked?"stacked":s.grouped?"grouped":s.yKeys?"stacked":"grouped",u=l+"-"+s.xKey+"-"+c;null==o[u]&&(o[u]=[],n.push(o[u])),o[u].push(s)}else n.push([s])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(n)),a=i.next();!a.done;a=i.next()){var s=a.value;switch(s[0].type){case"column":case"bar":case"area":o.push(Lu(s));break;case"line":default:s.length>1&&console.warn("AG Charts - unexpected grouping of series type: "+s[0].type),o.push(s[0])}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return o}var Fu=function(){return(Fu=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Gu=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ju=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},zu=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ju(arguments[t]));return e};function Bu(e){var t,r,o,n;return null!=(n=null!=(t=e.type)?t:null===(o=null===(r=e.series)||void 0===r?void 0:r[0])||void 0===o?void 0:o.type)?n:"line"}function Vu(e){var t=Bu(e);if(null==t)return!0;switch(t){case"cartesian":case"area":case"bar":case"column":case"groupedCategory":case"histogram":case"line":case"scatter":return!0;default:return!1}}function Wu(e){if(null==Bu(e))return!1;switch(e.type){case"hierarchy":case"treemap":return!0;default:return!1}}function Hu(e){if(null==Bu(e))return!1;switch(e.type){case"polar":case"pie":return!0;default:return!1}}function Uu(e){return null!=e&&["line","bar","column","histogram","scatter","area","pie","treemap"].indexOf(e)>=0}function Ku(e,t,r){for(var o=[],n=0;n<r;n++)o.push(t[(n+e.colourIndex)%t.length]);return o}var Yu={avoidDeepClone:["data"]};function Xu(e){for(var t,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var n=ea(zu(r,[e]),Yu);qu(n);var i=n.type,a=Bu(n),s=Vu(n=Fu(Fu({},n),{type:a}))?"line":Wu(n)?"treemap":Hu(n)?"pie":"line",l="bar"===a?gu:"scatter"===a||"histogram"===a?hu:Vu(n)?du:{},c=Qu(l,n),u=c.context,p=c.mergedOptions,d=c.axesThemes,g=c.seriesThemes;return p.series=ku((p.series||[]).map((function(e){var t=e.type?e.type:Uu(i)?i:s,r=ea([g[t]||{},Fu(Fu({},e),{type:t})],Yu);return"pie"===t&&tp(g.pie,e,r),r}))).map((function(e){return Zu(u,e)})),Vu(p)&&(p.axes=null===(t=p.axes)||void 0===t?void 0:t.map((function(e){var t,r=null!=(t=e.type)?t:"number";return $u(Fu(Fu({},e),{type:r}),ea([d[r],d[r][e.position||"unknown"]||{}]))}))),ep(n,p),p}function qu(e){var t,r;(null===(t=e.series)||void 0===t?void 0:t.some((function(e){return null!=e.yKeys&&null!=e.yKey})))&&console.warn("AG Charts - series options yKeys and yKey are mutually exclusive, please only use yKey for future compatibility."),(null===(r=e.series)||void 0===r?void 0:r.some((function(e){return null!=e.yNames&&null!=e.yName})))&&console.warn("AG Charts - series options yNames and yName are mutually exclusive, please only use yName for future compatibility.")}function Qu(e,t){var r=function(e){var t=ou(e.theme),r=t.getConfig(Bu(e)||"cartesian");return{theme:t,axesThemes:r.axes||{},seriesThemes:r.series||{},cleanedTheme:ea([r,{axes:Ji,series:Ji}])}}(t),o=r.theme,n=r.cleanedTheme,i=r.axesThemes,a=r.seriesThemes;return{context:{colourIndex:0,palette:o.palette},mergedOptions:ea([e,n,t],Yu),axesThemes:i,seriesThemes:a}}function Zu(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=Ju(e,t),i={stacked:Ji},a=ea(zu(r,[n,t,i]),Yu);return Su(a)}function Ju(e,t){var r={},o=e.palette,n=o.fills,i=o.strokes,a=function e(t){var r,o,n=0;try{for(var i=Gu(t),a=i.next();!a.done;a=i.next()){var s=a.value;s instanceof Array&&(n+=e(s)),null!=s&&n++}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return n}(t.yKeys||[])||1;switch(t.type){case"pie":a=Math.max(n.length,i.length);case"area":case"bar":case"column":r.fills=Ku(e,n,a),r.strokes=Ku(e,i,a);break;case"histogram":r.fill=Ku(e,n,1)[0],r.stroke=Ku(e,i,1)[0];break;case"scatter":r.marker={stroke:Ku(e,i,1)[0],fill:Ku(e,n,1)[0]};break;case"line":r.stroke=Ku(e,n,1)[0],r.marker={stroke:Ku(e,i,1)[0],fill:Ku(e,n,1)[0]};break;case"treemap":break;default:throw new Error("AG Charts - unknown series type: "+t.type)}return e.colourIndex+=a,r}function $u(e,t){var r={top:Ji,bottom:Ji,left:Ji,right:Ji};if(e.crossLines){Array.isArray(e.crossLines)||(console.warn("AG Charts - axis[].crossLines should be an array."),e.crossLines=[]);var o=t.crossLines;e.crossLines=e.crossLines.map((function(e){return ea([o,e])}))}return ea([t,{crossLines:Ji},e,r],Yu)}function ep(e,t){!function e(t,r,o){for(var n,i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var s=ra(t),l=o.skip||[];if("array"!==s){if("object"===s){r.apply(void 0,qi([s,t],i));var c=function(a){if(l.indexOf(a)>=0)return"continue";var s=t[a],c=null===(n=i)||void 0===n?void 0:n.map((function(e){var t;return null===(t=e)||void 0===t?void 0:t[a]})),u=ra(s);"object"!==u&&"array"!==u||e.apply(void 0,qi([s,r,o],c))};for(var u in t)c(u)}}else t.forEach((function(t,n){var a;e.apply(void 0,qi([t,r,o],null===(a=i)||void 0===a?void 0:a.map((function(e){var t;return null===(t=e)||void 0===t?void 0:t[n]}))))}))}(e,(function(e,t,r){r&&"enabled"in r&&null==t.enabled&&(r.enabled=!0)}),{skip:["data"]},t)}function tp(e,t,r){Array.isArray(t.innerLabels)?r.innerLabels=t.innerLabels.map((function(t){return ea([e.innerLabels,t])})):r.innerLabels=Ji}var rp={top:{xTranslationDirection:0,yTranslationDirection:-1},bottom:{xTranslationDirection:0,yTranslationDirection:1},left:{xTranslationDirection:-1,yTranslationDirection:0},right:{xTranslationDirection:1,yTranslationDirection:0},topLeft:{xTranslationDirection:1,yTranslationDirection:-1},topRight:{xTranslationDirection:-1,yTranslationDirection:-1},bottomLeft:{xTranslationDirection:1,yTranslationDirection:1},bottomRight:{xTranslationDirection:-1,yTranslationDirection:1},inside:{xTranslationDirection:0,yTranslationDirection:0},insideLeft:{xTranslationDirection:1,yTranslationDirection:0},insideRight:{xTranslationDirection:-1,yTranslationDirection:0},insideTop:{xTranslationDirection:0,yTranslationDirection:1},insideBottom:{xTranslationDirection:0,yTranslationDirection:-1},insideTopLeft:{xTranslationDirection:1,yTranslationDirection:1},insideBottomLeft:{xTranslationDirection:1,yTranslationDirection:-1},insideTopRight:{xTranslationDirection:-1,yTranslationDirection:1},insideBottomRight:{xTranslationDirection:-1,yTranslationDirection:-1}},op={top:{xTranslationDirection:1,yTranslationDirection:0},bottom:{xTranslationDirection:-1,yTranslationDirection:0},left:{xTranslationDirection:0,yTranslationDirection:-1},right:{xTranslationDirection:0,yTranslationDirection:1},topLeft:{xTranslationDirection:-1,yTranslationDirection:-1},topRight:{xTranslationDirection:-1,yTranslationDirection:1},bottomLeft:{xTranslationDirection:1,yTranslationDirection:-1},bottomRight:{xTranslationDirection:1,yTranslationDirection:1},inside:{xTranslationDirection:0,yTranslationDirection:0},insideLeft:{xTranslationDirection:0,yTranslationDirection:1},insideRight:{xTranslationDirection:0,yTranslationDirection:-1},insideTop:{xTranslationDirection:-1,yTranslationDirection:0},insideBottom:{xTranslationDirection:1,yTranslationDirection:0},insideTopLeft:{xTranslationDirection:-1,yTranslationDirection:1},insideBottomLeft:{xTranslationDirection:1,yTranslationDirection:1},insideTopRight:{xTranslationDirection:-1,yTranslationDirection:-1},insideBottomRight:{xTranslationDirection:1,yTranslationDirection:-1}},np=function(e){var t=e.yDirection,r=e.xEnd,o=e.yStart,n=e.yEnd;return t?{x:r/2,y:o}:{x:r,y:isNaN(n)?o:(o+n)/2}},ip=function(e){var t=e.yDirection,r=e.xStart,o=e.xEnd,n=e.yStart,i=e.yEnd;return t?{x:r,y:isNaN(i)?n:(n+i)/2}:{x:o/2,y:n}},ap=function(e){var t=e.yDirection,r=e.xEnd,o=e.yStart,n=e.yEnd;return t?{x:r,y:isNaN(n)?o:(o+n)/2}:{x:r/2,y:isNaN(n)?o:n}},sp=function(e){var t=e.yDirection,r=e.xStart,o=e.xEnd,n=e.yStart,i=e.yEnd;return t?{x:o/2,y:isNaN(i)?n:i}:{x:r,y:isNaN(i)?n:(n+i)/2}},lp=function(e){var t=e.yDirection,r=e.xStart,o=e.xEnd,n=e.yStart;return t?{x:r/2,y:n}:{x:o,y:n}},cp=function(e){var t=e.yDirection,r=e.xStart,o=e.yStart,n=e.yEnd;return t?{x:r,y:isNaN(n)?o:n}:{x:r,y:o}},up=function(e){var t=e.yDirection,r=e.xEnd,o=e.yStart,n=e.yEnd;return t?{x:r,y:o}:{x:r,y:isNaN(n)?o:n}},pp=function(e){var t=e.yDirection,r=e.xStart,o=e.xEnd,n=e.yStart,i=e.yEnd;return t?{x:o,y:isNaN(i)?n:i}:{x:r,y:isNaN(i)?n:i}},dp={top:{c:np},bottom:{c:sp},left:{c:ip},right:{c:ap},topLeft:{c:lp},topRight:{c:up},bottomLeft:{c:cp},bottomRight:{c:pp},inside:{c:function(e){var t=e.xEnd,r=e.yStart,o=e.yEnd;return{x:t/2,y:isNaN(o)?r:(r+o)/2}}},insideLeft:{c:ip},insideRight:{c:ap},insideTop:{c:np},insideBottom:{c:sp},insideTopLeft:{c:lp},insideBottomLeft:{c:cp},insideTopRight:{c:up},insideBottomRight:{c:pp}},gp=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),hp=function(){return(hp=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},fp=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},vp=function(e){function t(){var t=e.call(this)||this;return t.x1=0,t.y1=0,t.x2=0,t.y2=0,t.startLine=!1,t.endLine=!1,t.isRange=!1,t.restoreOwnStyles(),t}return gp(t,e),t.prototype.computeBBox=function(){return new h(this.x1,this.y1,this.x2-this.x1,this.y2-this.y1)},t.prototype.isPointInPath=function(e,t){return!1},t.prototype.render=function(t){var r,o=t.ctx,n=t.forceRender,i=t.stats;if(this.dirty!==w.b.NONE||n){this.computeTransformMatrix(),this.matrix.toContext(o);var a=this.x1,s=this.y1,l=this.x2,c=this.y2;a=this.align(a),s=this.align(s),l=this.align(l),c=this.align(c);var u=this.fill,p=this.opacity;if(!(!this.isRange||!u)){var d=this.fillOpacity;o.fillStyle=u,o.globalAlpha=p*d,o.beginPath(),o.moveTo(a,s),o.lineTo(l,s),o.lineTo(l,c),o.lineTo(a,c),o.closePath(),o.fill()}var g=this.stroke,h=this.strokeWidth,f=this.startLine,v=this.endLine;if(!(!f&&!v||!g||!h)){var y=this,m=y.strokeOpacity,b=y.lineDash,C=y.lineDashOffset,O=y.lineCap,S=y.lineJoin;o.strokeStyle=g,o.globalAlpha=p*m,o.lineWidth=h,b&&o.setLineDash(b),C&&(o.lineDashOffset=C),O&&(o.lineCap=O),S&&(o.lineJoin=S),o.beginPath(),f&&(o.moveTo(a,s),o.lineTo(l,s)),v&&(o.moveTo(l,c),o.lineTo(a,c)),o.stroke()}null===(r=this.fillShadow)||void 0===r||r.markClean(),e.prototype.render.call(this,t)}else i&&(i.nodesSkipped+=this.nodeCount.count)},t.className="Range",t.defaultStyles=hp(hp({},k.defaultStyles),{strokeWidth:1}),fp([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"x1",void 0),fp([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"y1",void 0),fp([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"x2",void 0),fp([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"y2",void 0),fp([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"startLine",void 0),fp([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"endLine",void 0),fp([Object(w.c)({redraw:w.b.MINOR})],t.prototype,"isRange",void 0),t}(k),yp=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},mp=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},bp=["top","left","right","bottom","topLeft","topRight","bottomLeft","bottomRight","inside","insideLeft","insideRight","insideTop","insideBottom","insideTopLeft","insideBottomLeft","insideTopRight","insideBottomRight"],wp=Y((function(e,t){return X(e,t,(function(e){return bp.includes(e)}))}),"expecting an optional crossLine label position keyword such as 'topLeft', 'topRight' or 'inside'"),Cp=Y((function(e,t){return X(e,t,(function(e){return"range"===e||"line"===e}))}),"expecting a crossLine type keyword such as 'range' or 'line'"),Op=function(){function e(){this.enabled=void 0,this.text=void 0,this.fontStyle=void 0,this.fontWeight=void 0,this.fontSize=14,this.fontFamily="Verdana, sans-serif",this.padding=5,this.color="rgba(87, 87, 87, 1)",this.position=void 0,this.rotation=void 0,this.parallel=void 0}return yp([K(ne)],e.prototype,"enabled",void 0),yp([K(ae)],e.prototype,"text",void 0),yp([K(Se)],e.prototype,"fontStyle",void 0),yp([K(xe)],e.prototype,"fontWeight",void 0),yp([K(fe(0))],e.prototype,"fontSize",void 0),yp([K(ie)],e.prototype,"fontFamily",void 0),yp([K(fe(0))],e.prototype,"padding",void 0),yp([K(ge)],e.prototype,"color",void 0),yp([K(wp)],e.prototype,"position",void 0),yp([K(ve(-360,360))],e.prototype,"rotation",void 0),yp([K(ne)],e.prototype,"parallel",void 0),e}(),Sp=function(){function e(){this.id=m(this),this.enabled=void 0,this.type=void 0,this.range=void 0,this.value=void 0,this.fill=void 0,this.fillOpacity=void 0,this.stroke=void 0,this.strokeWidth=void 0,this.strokeOpacity=void 0,this.lineDash=void 0,this.label=new Op,this.scale=void 0,this.clippedRange=[-1/0,1/0],this.gridLength=0,this.sideFlag=-1,this.parallelFlipRotation=0,this.regularFlipRotation=0,this.direction=Dr.X,this.group=new Ut({name:""+this.id,layer:!0,zIndex:e.LINE_LAYER_ZINDEX}),this.crossLineRange=new vp,this.crossLineLabel=new B,this.labelPoint=void 0,this.data=[],this.startLine=!1,this.endLine=!1,this.isRange=!1;var t=this.group,r=this.crossLineRange,o=this.crossLineLabel;t.append([r,o]),r.pointerEvents=b.None}return e.prototype.update=function(e){this.enabled&&(this.group.visible=e,e&&(this.createNodeData()?(this.updateNodes(),this.group.zIndex=this.getZIndex(this.isRange)):this.group.visible=!1))},e.prototype.updateNodes=function(){this.updateRangeNode(),this.label.enabled&&(this.updateLabel(),this.positionLabel())},e.prototype.createNodeData=function(){var e,t,r,o,n,i,a,s,l=this,c=l.scale,u=l.gridLength,p=l.sideFlag,d=l.direction,g=l.label.position,h=void 0===g?"top":g,f=l.clippedRange,v=l.strokeWidth,y=void 0===v?0:v;if(!c)return!1;var m,b,w,C,O,S,E=c instanceof qe,x=null!=(a=c.bandwidth)?a:0,R=Ye(f);m=(e=mp([0,p*u],2))[0],b=e[1],w=(t=mp(this.getRange(),2))[0],C=t[1],O=(r=mp([Number(c.convert(w,E?Ye:void 0)),c.convert(C,E?Ye:void 0)+x],2))[0],S=r[1],O=R(O),S=R(S),w=(o=mp([Number(c.convert(w)),c.convert(C)+x],2))[0],C=o[1];var T=!isNaN(O)&&!isNaN(S)&&(w===O||C===S||O!==S)&&Math.abs(S-O)>0;T&&(O!==Math.min(O,S)&&(O=(n=mp([Math.min(O,S),Math.max(O,S)],2))[0],S=n[1],w=(i=mp([C,w],2))[0],C=i[1]));if(this.isRange=T,this.startLine=!isNaN(w)&&y>0&&w===O,this.endLine=!isNaN(C)&&y>0&&C===S,!T&&!this.startLine&&!this.endLine)return!1;if(this.data=[O,S],this.label.enabled){var A=d===Dr.Y,P=(s=dp[h],null!=s?s:{}).c,_=(void 0===P?np:P)({yDirection:A,xStart:m,xEnd:b,yStart:O,yEnd:S}),D=_.x,M=_.y;this.labelPoint={x:D,y:M}}return!0},e.prototype.updateRangeNode=function(){var e,t=this,r=t.crossLineRange,o=t.sideFlag,n=t.gridLength,i=t.data,a=t.startLine,s=t.endLine,l=t.isRange,c=t.fill,u=t.fillOpacity,p=t.stroke,d=t.strokeWidth,g=t.lineDash;r.x1=0,r.x2=o*n,r.y1=i[0],r.y2=i[1],r.startLine=a,r.endLine=s,r.isRange=l,r.fill=c,r.fillOpacity=null!=u?u:1,r.stroke=p,r.strokeWidth=null!=d?d:1,r.strokeOpacity=null!=(e=this.strokeOpacity)?e:1,r.lineDash=g},e.prototype.updateLabel=function(){var e=this.crossLineLabel,t=this.label;t.text&&(e.fontStyle=t.fontStyle,e.fontWeight=t.fontWeight,e.fontSize=t.fontSize,e.fontFamily=t.fontFamily,e.fill=t.color,e.text=t.text)},e.prototype.positionLabel=function(){var e=this,t=e.crossLineLabel,r=e.labelPoint,o=void 0===r?{}:r,n=o.x,i=void 0===n?void 0:n,a=o.y,s=void 0===a?void 0:a,l=e.label,c=l.parallel,u=l.rotation,p=l.position,d=void 0===p?"top":p,g=l.padding,h=void 0===g?0:g,f=e.direction,v=e.parallelFlipRotation,y=e.regularFlipRotation;if(void 0!==i&&void 0!==s){var m=u?or(nr(u)):0,b=!m&&v>=0&&v<=Math.PI?-1:1,w=!m&&y>=0&&y<=Math.PI?-1:1,C=c?b*Math.PI/2:-1===w?Math.PI:0;t.rotation=C+m,t.textBaseline="middle",t.textAlign="center";var O=this.computeLabelBBox();if(O){var S=function(e){var t,r=e.yDirection,o=e.padding,n=void 0===o?0:o,i=e.position,a=e.bbox,s=r?rp:op,l=null!=(t=s[i])?t:s.top,c=l.xTranslationDirection,u=l.yTranslationDirection;return{xTranslation:c*(n+(r?a.width:a.height)/2),yTranslation:u*(n+(r?a.height:a.width)/2)}}({yDirection:f===Dr.Y,padding:h,position:d,bbox:O}),E=S.xTranslation,x=S.yTranslation;t.translationX=i+E,t.translationY=s+x}}},e.prototype.getZIndex=function(t){return void 0===t&&(t=!1),t?e.RANGE_LAYER_ZINDEX:e.LINE_LAYER_ZINDEX},e.prototype.getRange=function(){var e,t=this.value,r=this.range,o=this.scale instanceof qe,n=mp(null!=r?r:[t,void 0],2),i=n[0],a=n[1];return o||void 0!==a||(a=i),i=(e=mp([_t(i,o),_t(a,o)],2))[0],a=e[1],o&&i===a&&(a=void 0),void 0===i&&void 0!==a&&(i=a,a=void 0),[i,a]},e.prototype.computeLabelBBox=function(){return this.crossLineLabel.computeTransformedBBox()},e.prototype.calculatePadding=function(e,t){var r,o,n,i,a,s,l,c,u,p,d=this.isRange,g=this.startLine,h=this.endLine;if(d||g||h){var f=this.computeLabelBBox(),v=null===(r=f)||void 0===r?void 0:r.x,y=null===(o=f)||void 0===o?void 0:o.y;if(null!=v&&null!=y){var m=null!=(i=null===(n=f)||void 0===n?void 0:n.width)?i:0,b=null!=(s=null===(a=f)||void 0===a?void 0:a.height)?s:0;if(v+m>=t.x+t.width){var w=v+m-(t.x+t.width);e.right=(null!=(l=e.right)?l:0)>=w?e.right:w}else if(v<=t.x){var C=t.x-v;e.left=(null!=(c=e.left)?c:0)>=C?e.left:C}if(y+b>=t.y+t.height){var O=y+b-(t.y+t.height);e.bottom=(null!=(u=e.bottom)?u:0)>=O?e.bottom:O}else if(y<=t.y){var S=t.y-y;e.top=(null!=(p=e.top)?p:0)>=S?e.top:S}}}},e.LINE_LAYER_ZINDEX=gr.SERIES_CROSSLINE_LINE_ZINDEX,e.RANGE_LAYER_ZINDEX=gr.SERIES_CROSSLINE_RANGE_ZINDEX,e.className="CrossLine",yp([K(ne)],e.prototype,"enabled",void 0),yp([K(Cp)],e.prototype,"type",void 0),yp([K(Q(2))],e.prototype,"range",void 0),yp([K(ge)],e.prototype,"fill",void 0),yp([K(ve(0,1))],e.prototype,"fillOpacity",void 0),yp([K(ge)],e.prototype,"stroke",void 0),yp([K(ve())],e.prototype,"strokeWidth",void 0),yp([K(ve(0,1))],e.prototype,"strokeOpacity",void 0),yp([K(Te)],e.prototype,"lineDash",void 0),e}(),Ep=function(){return(Ep=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},xp=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},Rp=function(e,t){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Tp=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Ap=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Tp(arguments[t]));return e},Pp=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function _p(e){if(Vu(e))return"cartesian";if(Hu(e))return"polar";if(Wu(e))return"hierarchy";throw new Error("AG Chart - unknown type of chart for options with type: "+e.type)}var Dp=function(){function e(){}return e.createComponent=function(e,t){return t.indexOf(".series")>=0?Ip([Ep(Ep({},e),{type:e.type||t.split(".")[0]})])[0]:null},e.create=function(e,t,r){return Mp.create(e)},e.update=function(e,t,r,o){return Mp.update(e,t)},e.download=function(e,t){return Mp.download(e,t)},e}(),Mp=function(){function e(){}return e.create=function(t){var r=this;Np("user options",t);var o={};e.DEBUG()&&(o.debug=!0);var n=t.overrideDevicePixelRatio;delete t.overrideDevicePixelRatio;var i=Xu(t,o),a=Vu(i)?"groupedCategory"===i.type?new ns(document,n):new Ja(document,n):Wu(i)?new rs(document,n):Hu(i)?new us(document,n):void 0;if(!a)throw new Error("AG Charts - couldn't apply configuration, check type of options: "+i.type);return a.requestFactoryUpdate((function(){return xp(r,void 0,void 0,(function(){return Rp(this,(function(r){switch(r.label){case 0:return a.destroyed?[2]:[4,e.updateDelta(a,i,t)];case 1:return r.sent(),[2]}}))}))})),a},e.update=function(t,r){var o=this;Np("user options",r);var n={};e.DEBUG()&&(n.debug=!0),t.requestFactoryUpdate((function(){return xp(o,void 0,void 0,(function(){var o,i;return Rp(this,(function(a){switch(a.label){case 0:return t.destroyed?[2]:_p(o=Xu(r,t.userOptions,n))!==_p(t.options)?(t.destroy(),console.warn("AG Charts - options supplied require a different type of chart, please recreate the chart."),[2]):null==(i=Zi(t.options,o))?[2]:[4,e.updateDelta(t,i,r)];case 1:return a.sent(),[2]}}))}))}))},e.download=function(t,r){var o=r||{},n=o.width,i=o.height,a=o.fileName,s=o.fileFormat,l=t.width,c=t.height;if(void 0===n&&void 0===i||1===t.scene.canvas.pixelRatio&&l===n&&c===i)t.scene.download(a,s);else{n=null!=n?n:l,i=null!=i?i:c;var u=Ep(Ep({},t.userOptions),{container:document.createElement("div"),width:n,height:i,autoSize:!1,overrideDevicePixelRatio:1}),p=e.create(u);p.waitForUpdate().then((function(){p.scene.download(a,s),p.destroy()}))}},e.updateDelta=function(e,t,r){return xp(this,void 0,void 0,(function(){return Rp(this,(function(o){switch(o.label){case 0:return null==t.type&&(t=Ep(Ep({},t),{type:e.options.type||Bu(t)})),Np("delta update",t),[4,e.awaitUpdateCompletion()];case 1:return o.sent(),function(e,t,r){var o,n;if(Vu(t))Fp(e,t,{skip:["type","data","series","axes","autoSize","listeners","theme"]});else if(Hu(t))Fp(e,t,{skip:["type","data","series","autoSize","listeners","theme"]});else{if(!Wu(t))throw new Error("AG Charts - couldn't apply configuration, check type of options and chart: "+t.type);Fp(e,t,{skip:["type","data","series","autoSize","listeners","theme"]})}var i=!1;t.series&&t.series.length>0&&(!function(e,t){var r=t.series;if(!r)return;if(e.series.length===r.length&&e.series.every((function(e,t){var o;return e.type===(null===(o=r[t])||void 0===o?void 0:o.type)})))return void e.series.forEach((function(t,o){var n,i,a=Zi((null===(i=null===(n=e.options)||void 0===n?void 0:n.series)||void 0===i?void 0:i[o])||{},r[o]||{});a&&(Np("applying series diff idx "+o,a),Gp(t,a,{path:"series["+o+"]"}),t.markNodeDataDirty())}));e.series=Ip(r)}(e,t),i=!0);if(Vu(t)&&t.axes){(function(e,t){var r=t.axes;if(!r)return!1;if(e.axes.length===r.length&&e.axes.every((function(e,t){return e.type===r[t].type}))){var o=e.options;if(Vu(o))return e.axes.forEach((function(e,t){var n,i=Zi((null===(n=o.axes)||void 0===n?void 0:n[t])||{},r[t]);Np("applying axis diff idx "+t,i);Fp(e,i,{path:"axes["+t+"]",skip:["axes[].type"]})})),!0}return e.axes=function(e){var t,r,o=[],n=0;try{for(var i=Pp(e||[]),a=i.next();!a.done;a=i.next()){var s=a.value,l="axes["+n+++"]",c=["axes[].type"];switch(s.type){case"number":o.push(Fp(new Xr,s,{path:l,skip:c}));break;case pu.type:o.push(Fp(new pu,s,{path:l,skip:c}));break;case to.type:o.push(Fp(new to,s,{path:l,skip:c}));break;case vo.type:o.push(Fp(new vo,s,{path:l,skip:c}));break;case bn.type:o.push(Fp(new bn,s,{path:l,skip:c}));break;default:throw new Error("AG Charts - unknown axis type: "+s.type)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return o}(r),!0})(e,t)&&(i=!0)}var a=t.series,s=!!t.data||(null===(o=a)||void 0===o?void 0:o.some((function(e){return null!=e.data}))),l=t.legend||t.title||t.subtitle;i=i||s||!!l,t.data&&(e.data=t.data);null!=t.autoSize&&(e.autoSize=t.autoSize);t.listeners&&Lp(e,t.listeners);(null===(n=t.legend)||void 0===n?void 0:n.listeners)&&Object.assign(e.legend.listeners,t.legend.listeners);e.options=ea([e.options||{},t],Yu),e.userOptions=ea([e.userOptions||{},r],Yu);var c=i?ya.PROCESS_DATA:ya.PERFORM_LAYOUT;e.update(c,{forceNodeDataRefresh:i})}(e,t,r),[2]}}))}))},e.DEBUG=function(){var e;return null!=(e=Object(Cn.a)("agChartsDebug"))&&e},e}();function Np(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];Mp.DEBUG()&&console.log.apply(console,Ap([e],t))}function Ip(e){var t,r,o=[],n=0;try{for(var i=Pp(e||[]),a=i.next();!a.done;a=i.next()){var s=a.value,l="series["+n+++"]";switch(s.type){case"area":o.push(Gp(new Ds,s,{path:l}));break;case"bar":case"column":o.push(Gp(new Hs,s,{path:l}));break;case"histogram":o.push(Gp(new wl,s,{path:l}));break;case"line":o.push(Gp(new $s,s,{path:l}));break;case"scatter":o.push(Gp(new sl,s,{path:l}));break;case"pie":o.push(Gp(new fc,s,{path:l}));break;case"treemap":o.push(Gp(new ql,s,{path:l}));break;default:throw new Error("AG Charts - unknown series type: "+s.type)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return o}function Lp(e,t){for(var r in e.clearEventListeners(),t)e.addEventListener(r,t[r])}var kp={constructors:{title:Fe,subtitle:Fe,shadow:xl,innerCircle:hc,"axes[].crossLines[]":Sp,"series[].innerLabels[]":gc},allowedTypes:{"series[].marker.shape":["primitive","function"],"axis[].tick.count":["primitive","class-instance"]}};function Fp(e,t,r){var o=void 0===r?{}:r,n=o.skip,i=o.path;return ta(e,t,Ep(Ep(Ep({},kp),{skip:n}),i?{path:i}:{}))}function Gp(e,t,r){var o,n,i=(void 0===r?{}:r).path,a=(null===(o=kp)||void 0===o?void 0:o.constructors)||{},s={constructors:Ep(Ep({},a),{title:"pie"===e.type?dc:a.title})},l=ta(e,t,Ep(Ep(Ep(Ep({},kp),s),{skip:Ap(["series[].type"],["series[].listeners"]||[])}),i?{path:i}:{})),c=null===(n=t)||void 0===n?void 0:n.listeners;return null!=c&&Lp(e,c),l}var jp={millisecond:yo,second:wo,minute:Oo,hour:Eo,day:Ro,sunday:Po,monday:_o,tuesday:Do,wednesday:Mo,thursday:No,friday:Io,saturday:Lo,month:Fo,year:jo,utcMinute:vc,utcHour:yc,utcDay:Bo,utcMonth:mc,utcYear:Wo};function zp(e){switch(e){case"bar":case"groupedBar":case"stackedBar":case"normalizedBar":return"bar";case"column":case"groupedColumn":case"stackedColumn":case"normalizedColumn":return"column";case"line":return"line";case"area":case"stackedArea":case"normalizedArea":return"area";case"scatter":case"bubble":return"scatter";case"histogram":return"histogram";case"pie":case"doughnut":return"pie";default:return"cartesian"}}var Bp=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Vp=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Wp=function(e){function t(t){var r=e.call(this)||this;return r.model=t,r}return Bp(t,e),t.prototype.init=function(){var e=this;this.setChartRange(),this.addManagedListener(this.eventService,n.Events.EVENT_RANGE_SELECTION_CHANGED,(function(t){t.id&&t.id===e.model.chartId&&e.updateForRangeChange()})),this.model.unlinked&&this.rangeService&&this.rangeService.setCellRanges([]),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_MOVED,this.updateForGridChange.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_PINNED,this.updateForGridChange.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_VISIBLE,this.updateForGridChange.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.updateForGridChange.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_MODEL_UPDATED,this.updateForGridChange.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_CELL_VALUE_CHANGED,this.updateForDataChange.bind(this))},t.prototype.updateForGridChange=function(){this.model.unlinked||(this.model.updateCellRanges(),this.setChartRange())},t.prototype.updateForDataChange=function(){this.model.unlinked||(this.model.updateData(),this.raiseChartModelUpdateEvent())},t.prototype.updateForRangeChange=function(){this.updateForGridChange(),this.raiseChartRangeSelectionChangedEvent()},t.prototype.updateForPanelChange=function(e){this.model.updateCellRanges(e),this.setChartRange(),this.raiseChartRangeSelectionChangedEvent()},t.prototype.getChartUpdateParams=function(){var e=this.getSelectedValueColState().map((function(e){return{colId:e.colId,displayName:e.displayName}})),t=this.getChartData(),r=this.getSelectedDimension();return{data:t,grouping:this.isGrouping(),category:{id:r.colId,name:r.displayName,chartDataType:this.model.getChartDataType(r.colId)},fields:e,chartId:this.getChartId(),getCrossFilteringContext:function(){return{lastSelectedChartId:"xxx"}},seriesChartTypes:this.getSeriesChartTypes()}},t.prototype.getChartModel=function(){var e=this.model.pivotChart?"pivot":"range",t=this.isComboChart()?this.model.seriesChartTypes:void 0;return{modelType:e,chartId:this.model.chartId,chartType:this.model.chartType,chartThemeName:this.model.chartThemeName,chartOptions:this.chartProxy.getChartOptions(),chartPalette:this.chartProxy.getChartPalette(),cellRange:this.getCellRangeParams(),suppressChartRanges:this.model.suppressChartRanges,aggFunc:this.model.aggFunc,unlinkChart:this.model.unlinked,seriesChartTypes:t}},t.prototype.getChartId=function(){return this.model.chartId},t.prototype.getChartData=function(){return this.model.chartData},t.prototype.getChartType=function(){return this.model.chartType},t.prototype.setChartType=function(e){this.model.chartType=e,this.model.updateSeriesChartTypes(),this.raiseChartModelUpdateEvent(),this.raiseChartOptionsChangedEvent()},t.prototype.setChartThemeName=function(e){this.model.chartThemeName=e,this.raiseChartModelUpdateEvent(),this.raiseChartOptionsChangedEvent()},t.prototype.getChartThemeName=function(){return this.model.chartThemeName},t.prototype.isPivotChart=function(){return this.model.pivotChart},t.prototype.isPivotMode=function(){return this.model.isPivotMode()},t.prototype.isGrouping=function(){return this.model.isGrouping()},t.prototype.getThemes=function(){return this.gridOptionsWrapper.getChartThemes()},t.prototype.getPalettes=function(){var e=this;return this.gridOptionsWrapper.getChartThemes().map((function(t){return ou(e.chartProxy.isStockTheme(t)?t:e.chartProxy.lookupCustomChartTheme(t)).palette}))},t.prototype.getValueColState=function(){return this.model.valueColState.map(this.displayNameMapper.bind(this))},t.prototype.getSelectedValueColState=function(){return this.getValueColState().filter((function(e){return e.selected}))},t.prototype.getDimensionColState=function(){return this.model.dimensionColState},t.prototype.getSelectedDimension=function(){return this.model.getSelectedDimension()},t.prototype.displayNameMapper=function(e){var t=this.model.columnNames[e.colId];return e.displayName=t?t.join(" - "):this.model.getColDisplayName(e.column),e},t.prototype.getColStateForMenu=function(){return{dimensionCols:this.model.dimensionColState,valueCols:this.getValueColState()}},t.prototype.isDefaultCategorySelected=function(){return this.model.getSelectedDimension().colId===g.DEFAULT_CATEGORY},t.prototype.setChartRange=function(e){void 0===e&&(e=!1),!this.rangeService||this.model.suppressChartRanges||this.model.unlinked||this.rangeService.setCellRanges(this.getCellRanges()),e||this.raiseChartModelUpdateEvent()},t.prototype.detachChartRange=function(){this.model.unlinked=!this.model.unlinked,this.model.unlinked?this.rangeService&&this.rangeService.setCellRanges([]):this.updateForGridChange()},t.prototype.setChartProxy=function(e){this.chartProxy=e},t.prototype.getChartProxy=function(){return this.chartProxy},t.prototype.isActiveXYChart=function(){return n._.includes(["scatter","bubble"],this.getChartType())},t.prototype.isChartLinked=function(){return!this.model.unlinked},t.prototype.customComboExists=function(){return this.model.savedCustomSeriesChartTypes&&this.model.savedCustomSeriesChartTypes.length>0},t.prototype.getSeriesChartTypes=function(){return this.model.seriesChartTypes},t.prototype.isComboChart=function(){return this.model.isComboChart()},t.prototype.updateSeriesChartType=function(e,r,o){var n=this.model.seriesChartTypes.find((function(t){return t.colId===e}));if(n){var i="customCombo"!==this.model.chartType;i&&(this.model.chartType="customCombo");var a=n.chartType;null!=r&&(n.chartType=r),null!=o&&(n.secondaryAxis=o),this.model.savedCustomSeriesChartTypes=this.model.seriesChartTypes,this.model.updateSeriesChartTypes(),this.updateForDataChange(),i&&this.dispatchEvent(Object.freeze({type:t.EVENT_CHART_TYPE_CHANGED})),a!==r&&this.dispatchEvent(Object.freeze({type:t.EVENT_CHART_SERIES_CHART_TYPE_CHANGED}))}},t.prototype.getActiveSeriesChartTypes=function(){var e=this.getSelectedValueColState().map((function(e){return e.colId}));return this.getSeriesChartTypes().filter((function(t){return e.includes(t.colId)}))},t.prototype.getChartSeriesTypes=function(){return this.isComboChart()?["line","column","area"]:[zp(this.getChartType())]},t.prototype.getCellRanges=function(){return[this.model.dimensionCellRange,this.model.valueCellRange].filter((function(e){return e}))},t.prototype.getCellRangeParams=function(){var e=this.getCellRanges(),t=e[0],r=t&&t.startRow||null,o=t&&t.endRow||null;return{rowStartIndex:r&&r.rowIndex,rowStartPinned:r&&r.rowPinned,rowEndIndex:o&&o.rowIndex,rowEndPinned:o&&o.rowPinned,columns:e.reduce((function(e,t){return e.concat(t.columns.map((function(e){return e.getId()})))}),[])}},t.prototype.raiseChartModelUpdateEvent=function(){var e=Object.freeze({type:t.EVENT_CHART_MODEL_UPDATE});this.dispatchEvent(e)},t.prototype.raiseChartUpdatedEvent=function(){var e=Object.freeze({type:t.EVENT_CHART_UPDATED});this.dispatchEvent(e)},t.prototype.raiseChartOptionsChangedEvent=function(){var e=this.getChartModel(),t=e.chartId,r=e.chartType,o=Object.freeze({type:n.Events.EVENT_CHART_OPTIONS_CHANGED,chartId:t,chartType:r,chartThemeName:this.model.chartThemeName,chartOptions:this.chartProxy.getChartOptions()});this.eventService.dispatchEvent(o)},t.prototype.raiseChartRangeSelectionChangedEvent=function(){var e=Object.freeze({type:n.Events.EVENT_CHART_RANGE_SELECTION_CHANGED,id:this.model.chartId,chartId:this.model.chartId,cellRange:this.getCellRangeParams()});this.eventService.dispatchEvent(e)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.rangeService&&this.rangeService.setCellRanges([])},t.EVENT_CHART_UPDATED="chartUpdated",t.EVENT_CHART_MODEL_UPDATE="chartModelUpdate",t.EVENT_CHART_TYPE_CHANGED="chartTypeChanged",t.EVENT_CHART_SERIES_CHART_TYPE_CHANGED="chartSeriesChartTypeChanged",Vp([Object(n.Autowired)("rangeService")],t.prototype,"rangeService",void 0),Vp([n.PostConstruct],t.prototype,"init",null),t}(n.BeanStub),Hp=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Up=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Kp=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Yp=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Kp(arguments[t]));return e},Xp=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},qp=function(e){function t(r,o){var n=e.call(this,t.TEMPLATE)||this;return n.chartController=r,n.chartOptionsService=o,n.columnComps=new Map,n}return Hp(t,e),t.prototype.init=function(){this.updatePanels(),this.addManagedListener(this.chartController,Wp.EVENT_CHART_MODEL_UPDATE,this.updatePanels.bind(this)),this.createAutoScrollService()},t.prototype.destroy=function(){this.clearComponents(),e.prototype.destroy.call(this)},t.prototype.updatePanels=function(){var e=this,t=this.chartType,r=this.chartController.getColStateForMenu(),o=r.dimensionCols,i=r.valueCols,a=o.map((function(e){return e.colId})).concat(i.map((function(e){return e.colId})));this.chartType=this.chartController.getChartType();var s=this.getGroupExpandedState();if(n._.areEqual(n._.keys(this.columnComps),a)&&this.chartType===t){if(Yp(o,i).forEach((function(t){e.columnComps.get(t.colId).setValue(t.selected,!0)})),this.chartController.isActiveXYChart()){var l=this.generateGetSeriesLabel();i.forEach((function(t){e.columnComps.get(t.colId).setLabel(l(t))}))}n._.removeFromParent(this.getGui().querySelector("#seriesChartTypeGroup")),this.seriesChartTypeGroupComp=this.destroyBean(this.seriesChartTypeGroupComp),this.createSeriesChartTypeGroup(i)}else this.clearComponents(),this.createCategoriesGroup(o),this.createSeriesGroup(i),this.createSeriesChartTypeGroup(i);this.restoreGroupExpandedState(s)},t.prototype.getGroupExpandedState=function(){return[this.categoriesGroupComp,this.seriesGroupComp,this.seriesChartTypeGroupComp].map((function(e){return!e||e.isExpanded()}))},t.prototype.restoreGroupExpandedState=function(e){[this.categoriesGroupComp,this.seriesGroupComp,this.seriesChartTypeGroupComp].forEach((function(t,r){t&&t.toggleGroupExpand(e[r])}))},t.prototype.createAutoScrollService=function(){var e=this.getGui();this.autoScrollService=new n.AutoScrollService({scrollContainer:e,scrollAxis:"y",getVerticalPosition:function(){return e.scrollTop},setVerticalPosition:function(t){return e.scrollTop=t}})},t.prototype.addComponent=function(e,t,r){var o=document.createElement("div");o.id=r,o.className="ag-chart-data-section",o.appendChild(t.getGui()),e.appendChild(o)},t.prototype.addChangeListener=function(e,t){var r=this;this.addManagedListener(e,n.AgAbstractField.EVENT_CHANGED,(function(){t.selected=e.getValue(),r.chartController.updateForPanelChange(t)}))},t.prototype.createCategoriesGroup=function(e){var t=this;this.categoriesGroupComp=this.createBean(new n.AgGroupComponent({title:this.getCategoryGroupTitle(),enabled:!0,suppressEnabledCheckbox:!0,suppressOpenCloseIcons:!1,cssIdentifier:"charts-data"}));var r="chartDimension"+this.getCompId();e.forEach((function(e){var o=t.categoriesGroupComp.createManagedBean(new n.AgRadioButton);o.setLabel(n._.escapeString(e.displayName)),o.setValue(e.selected),o.setInputName(r),t.addChangeListener(o,e),t.categoriesGroupComp.addItem(o),t.columnComps.set(e.colId,o)})),this.addComponent(this.getGui(),this.categoriesGroupComp,"categoriesGroup")},t.prototype.createSeriesGroup=function(e){var t=this;if(this.seriesGroupComp=this.createManagedBean(new n.AgGroupComponent({title:this.getSeriesGroupTitle(),enabled:!0,suppressEnabledCheckbox:!0,suppressOpenCloseIcons:!1,cssIdentifier:"charts-data"})),this.chartController.isActiveXYChart()){var r=this.seriesGroupComp.createManagedBean(new n.AgToggleButton);r.setLabel(this.chartTranslationService.translate("paired")).setLabelAlignment("left").setLabelWidth("flex").setInputWidth(45).setValue(this.chartOptionsService.getPairedMode()).onValueChange((function(e){t.chartOptionsService.setPairedMode(!!e),t.chartController.updateForGridChange()})),this.seriesGroupComp.addItem(r)}var o=this.generateGetSeriesLabel();e.forEach((function(e){var r=t.seriesGroupComp.createManagedBean(new n.AgCheckbox);r.addCssClass("ag-data-select-checkbox");var i=o(e);r.setLabel(i),r.setValue(e.selected),t.addChangeListener(r,e),t.seriesGroupComp.addItem(r),t.columnComps.set(e.colId,r),t.addDragHandle(r,e)})),this.addComponent(this.getGui(),this.seriesGroupComp,"seriesGroup");var i={getIconName:function(){return n.DragAndDropService.ICON_MOVE},getContainer:function(){return t.seriesGroupComp.getGui()},onDragging:function(e){return t.onDragging(e)},onDragLeave:function(){return t.onDragLeave()},isInterestedIn:this.isInterestedIn.bind(this),targetContainsSource:!0};this.dragAndDropService.addDropTarget(i)},t.prototype.createSeriesChartTypeGroup=function(e){var t=this;if(this.chartController.isComboChart()){this.seriesChartTypeGroupComp=this.createManagedBean(new n.AgGroupComponent({title:this.chartTranslationService.translate("seriesChartType"),enabled:!0,suppressEnabledCheckbox:!0,suppressOpenCloseIcons:!1,cssIdentifier:"charts-data"}));var r=this.chartController.getSeriesChartTypes();e.forEach((function(e){if(e.selected){var o=r.filter((function(t){return t.colId===e.colId}))[0];if(o){var i=t.seriesChartTypeGroupComp.createManagedBean(new n.AgGroupComponent({title:e.displayName,enabled:!0,suppressEnabledCheckbox:!0,suppressOpenCloseIcons:!0,cssIdentifier:"charts-format-sub-level"})),a=t.seriesChartTypeGroupComp.createManagedBean(new n.AgCheckbox).setLabel(t.chartTranslationService.translate("secondaryAxis")).setLabelWidth("flex").setDisabled(["groupedColumn","stackedColumn","stackedArea"].includes(o.chartType)).setValue(!!o.secondaryAxis).onValueChange((function(r){return t.chartController.updateSeriesChartType(e.colId,void 0,r)}));i.addItem(a);var s=function(e,r){return t.chartTranslationService.translate(e,r)},l=[{value:"line",text:s("line","Line")},{value:"area",text:s("area","Area")},{value:"stackedArea",text:s("stackedArea","StackedArea")},{value:"groupedColumn",text:s("groupedColumn","Grouped Column")},{value:"stackedColumn",text:s("stackedColumn","Stacked Column")}],c=i.createManagedBean(new n.AgSelect);c.setLabelAlignment("left").setLabelWidth("flex").addOptions(l).setValue(o.chartType).onValueChange((function(r){return t.chartController.updateSeriesChartType(e.colId,r)})),i.addItem(c),t.seriesChartTypeGroupComp.addItem(i)}}})),this.addComponent(this.getGui(),this.seriesChartTypeGroupComp,"seriesChartTypeGroup")}},t.prototype.addDragHandle=function(e,t){var r=this,o=n._.createIconNoSpan("columnDrag",this.gridOptionsWrapper);o.classList.add("ag-drag-handle","ag-chart-data-column-drag-handle"),e.getGui().insertAdjacentElement("beforeend",o);var i={type:n.DragSourceType.ChartPanel,eElement:o,dragItemName:t.displayName,getDragItem:function(){return{columns:[t.column]}},onDragStopped:function(){return r.onDragStop()}};this.dragAndDropService.addDragSource(i,!0),this.addDestroyFunc((function(){return r.dragAndDropService.removeDragSource(i)}))},t.prototype.generateGetSeriesLabel=function(){if(!this.chartController.isActiveXYChart())return function(e){return n._.escapeString(e.displayName)};var e="bubble"===this.chartType,t=this.isInPairedMode(),r=0,o=new Map;return o.set(0,"X"),o.set(1,"Y"),o.set(2,"size"),function(i){var a,s=n._.escapeString(i.displayName);return i.selected?(a=t?o.get(r%(e?3:2)):0===r?"X":e&&r%2==0?"size":"Y",r++,s+" ("+a+")"):s}},t.prototype.getCategoryGroupTitle=function(){return this.chartTranslationService.translate(this.chartController.isActiveXYChart()?"labels":"categories")},t.prototype.getSeriesGroupTitle=function(){return this.chartTranslationService.translate(this.chartController.isActiveXYChart()?"xyValues":"series")},t.prototype.isInPairedMode=function(){return this.chartController.isActiveXYChart()&&this.chartOptionsService.getSeriesOption("paired","scatter")},t.prototype.clearComponents=function(){n._.clearElement(this.getGui()),this.categoriesGroupComp=this.destroyBean(this.categoriesGroupComp),this.seriesGroupComp=this.destroyBean(this.seriesGroupComp),this.seriesChartTypeGroupComp=this.destroyBean(this.seriesChartTypeGroupComp),this.columnComps.clear()},t.prototype.onDragging=function(e){var t=this.checkHoveredItem(e);if(t){this.lastDraggedColumn=e.dragItem.columns[0];var r=t.comp,o=t.position,n=this.lastHoveredItem||{},i=n.comp,a=n.position;if(r!==i||o!==a)this.autoScrollService.check(e.event),this.clearHoveredItems(),this.lastHoveredItem={comp:r,position:o},r.getGui().classList.add("ag-list-item-hovered","ag-item-highlight-"+o)}},t.prototype.checkHoveredItem=function(e){var t,r;if(n._.missing(e.vDirection))return null;var o=e.event;try{for(var i=Xp(this.columnComps.values()),a=i.next();!a.done;a=i.next()){var s=a.value,l=s.getGui();if(l.querySelector(".ag-chart-data-column-drag-handle")){var c=l.getBoundingClientRect();if(o.clientY>=c.top&&o.clientY<=c.bottom){var u=l.clientHeight;return{comp:s,position:o.clientY>c.top+u/2?"bottom":"top"}}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return null},t.prototype.onDragLeave=function(){this.clearHoveredItems()},t.prototype.onDragStop=function(){var e=this;if(this.lastHoveredItem){var t=this.chartController.getColStateForMenu(),r=t.dimensionCols,o=t.valueCols,n=Yp(r,o).find((function(t){return t.column===e.lastDraggedColumn}));if(n){var i=Array.from(this.columnComps.values()).indexOf(this.lastHoveredItem.comp);"bottom"===this.lastHoveredItem.position&&i++,n.order=i,this.chartController.updateForPanelChange(n)}}this.clearHoveredItems(),this.lastDraggedColumn=void 0,this.autoScrollService.ensureCleared()},t.prototype.clearHoveredItems=function(){this.columnComps.forEach((function(e){e.getGui().classList.remove("ag-list-item-hovered","ag-item-highlight-top","ag-item-highlight-bottom")})),this.lastHoveredItem=void 0},t.prototype.isInterestedIn=function(e){return e===n.DragSourceType.ChartPanel},t.TEMPLATE='<div class="ag-chart-data-wrapper ag-scrollable-container"></div>',Up([Object(n.Autowired)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),Up([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Up([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Qp=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Zp=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Jp=function(e){function t(t){var r=e.call(this)||this;return r.activeComps=[],r.params=t,r}return Qp(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{fontGroup:{cssIdentifier:"charts-format-sub-level",direction:"vertical",suppressOpenCloseIcons:!0}}),this.initGroup(),this.initFontFamilySelect(),this.initFontWeightStyleSelect(),this.initFontSizeSelect(),this.initFontColorPicker()},t.prototype.addCompToPanel=function(e){this.fontGroup.addItem(e),this.activeComps.push(e)},t.prototype.setEnabled=function(e){this.fontGroup.setEnabled(e)},t.prototype.initGroup=function(){var e=this;this.fontGroup.setTitle(this.params.name||this.chartTranslationService.translate("font")).setEnabled(this.params.enabled).hideEnabledCheckbox(!!this.params.suppressEnabledCheckbox).hideOpenCloseIcons(!0).onEnableChange((function(t){e.params.setEnabled&&e.params.setEnabled(t)}))},t.prototype.initFontFamilySelect=function(){var e=this,t=["Arial, sans-serif","Aria Black, sans-serif","Book Antiqua, serif","Charcoal, sans-serif","Comic Sans MS, cursive","Courier, monospace","Courier New, monospace","Gadget, sans-serif","Geneva, sans-serif","Helvetica, sans-serif","Impact, sans-serif","Lucida Console, monospace","Lucida Grande, sans-serif","Lucida Sans Unicode, sans-serif","Monaco, monospace","Palatino Linotype, serif","Palatino, serif","Times New Roman, serif","Times, serif","Verdana, sans-serif"],r=this.params.initialFont.family,o=t[0];if(r){var i=t.map((function(e){return e.toLowerCase()})).indexOf(r.toLowerCase());if(i>=0)o=t[i];else{var a=n._.capitalise(r);t.push(a),o=a}}var s=t.sort().map((function(e){return{value:e,text:e}}));this.familySelect.addOptions(s).setInputWidth("flex").setValue(""+o).onValueChange((function(t){return e.params.setFont({family:t})}))},t.prototype.initFontSizeSelect=function(){var e=this,t=[8,10,12,14,16,18,20,22,24,26,28,30,32,34,36],r=this.params.initialFont.size;n._.includes(t,r)||t.push(r);var o=t.sort((function(e,t){return e-t})).map((function(e){return{value:""+e,text:""+e}}));this.sizeSelect.addOptions(o).setInputWidth("flex").setValue(""+r).onValueChange((function(t){return e.params.setFont({size:parseInt(t,10)})})),this.sizeSelect.setLabel(this.chartTranslationService.translate("size"))},t.prototype.initFontWeightStyleSelect=function(){var e=this,t=this.params.initialFont,r=t.weight,o=void 0===r?"normal":r,n=t.style,i=void 0===n?"normal":n,a=[{name:"normal",weight:"normal",style:"normal"},{name:"bold",weight:"bold",style:"normal"},{name:"italic",weight:"normal",style:"italic"},{name:"boldItalic",weight:"bold",style:"italic"}],s=a.find((function(e){return e.weight===o&&e.style===i}));s||(s={name:"predefined",weight:o,style:i},a.unshift(s));var l=a.map((function(t){return{value:t.name,text:e.chartTranslationService.translate(t.name)}}));this.weightStyleSelect.addOptions(l).setInputWidth("flex").setValue(s.name).onValueChange((function(t){var r=a.find((function(e){return e.name===t}));e.params.setFont({weight:r.weight,style:r.style})}))},t.prototype.initFontColorPicker=function(){var e=this;this.colorPicker.setLabel(this.chartTranslationService.translate("color")).setInputWidth(45).setValue(""+this.params.initialFont.color).onValueChange((function(t){return e.params.setFont({color:t})}))},t.prototype.destroyActiveComps=function(){var e=this;this.activeComps.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)}))},t.prototype.destroy=function(){this.destroyActiveComps(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-font-panel">\n <ag-group-component ref="fontGroup">\n <ag-select ref="familySelect"></ag-select>\n <ag-select ref="weightStyleSelect"></ag-select>\n <div class="ag-charts-font-size-color">\n <ag-select ref="sizeSelect"></ag-select>\n <ag-color-picker ref="colorPicker"></ag-color-picker>\n </div>\n </ag-group-component>\n </div>',Zp([Object(n.RefSelector)("fontGroup")],t.prototype,"fontGroup",void 0),Zp([Object(n.RefSelector)("familySelect")],t.prototype,"familySelect",void 0),Zp([Object(n.RefSelector)("weightStyleSelect")],t.prototype,"weightStyleSelect",void 0),Zp([Object(n.RefSelector)("sizeSelect")],t.prototype,"sizeSelect",void 0),Zp([Object(n.RefSelector)("colorPicker")],t.prototype,"colorPicker",void 0),Zp([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Zp([n.PostConstruct],t.prototype,"init",null),t}(n.Component),$p=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ed=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},td=function(e){function t(t){var r=t.chartOptionsService,o=t.isExpandedOnInit,n=void 0!==o&&o,i=e.call(this)||this;return i.activePanels=[],i.chartOptionsService=r,i.isExpandedOnInit=n,i}return $p(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{legendGroup:{cssIdentifier:"charts-format-top-level",direction:"vertical"}}),this.initLegendGroup(),this.initLegendPosition(),this.initLegendPadding(),this.initLegendItems(),this.initLabelPanel()},t.prototype.initLegendGroup=function(){var e=this;this.legendGroup.setTitle(this.chartTranslationService.translate("legend")).hideEnabledCheckbox(!1).setEnabled(this.chartOptionsService.getChartOption("legend.enabled")||!1).toggleGroupExpand(this.isExpandedOnInit).onEnableChange((function(t){e.chartOptionsService.setChartOption("legend.enabled",t),e.legendGroup.toggleGroupExpand(!0)}))},t.prototype.initLegendPosition=function(){var e=this,t=[Ri.Top,Ri.Right,Ri.Bottom,Ri.Left];this.legendPositionSelect.setLabel(this.chartTranslationService.translate("position")).setLabelWidth("flex").setInputWidth(80).addOptions(t.map((function(t){return{value:t,text:e.chartTranslationService.translate(t)}}))).setValue(this.chartOptionsService.getChartOption("legend.position")).onValueChange((function(t){return e.chartOptionsService.setChartOption("legend.position",t)}))},t.prototype.initLegendPadding=function(){var e=this,t=this.chartOptionsService.getChartOption("legend.spacing");this.legendPaddingSlider.setLabel(this.chartTranslationService.translate("spacing")).setMaxValue(Fd(t,200)).setValue(""+t).setTextFieldWidth(45).onValueChange((function(t){return e.chartOptionsService.setChartOption("legend.spacing",t)}))},t.prototype.initLegendItems=function(){var e=this,t=function(t,r,o,n){var i=e.chartOptionsService.getChartOption("legend."+t);o.setLabel(e.chartTranslationService.translate(r)).setMaxValue(Fd(i,n)).setValue(""+i).setTextFieldWidth(45).onValueChange((function(r){e.chartOptionsService.setChartOption("legend."+t,r)}))};t("item.marker.size","markerSize",this.markerSizeSlider,40),t("item.marker.strokeWidth","markerStroke",this.markerStrokeSlider,10),t("item.marker.padding","itemSpacing",this.markerPaddingSlider,20),t("item.paddingX","layoutHorizontalSpacing",this.itemPaddingXSlider,50),t("item.paddingY","layoutVerticalSpacing",this.itemPaddingYSlider,50)},t.prototype.initLabelPanel=function(){var e=this,t=this.chartOptionsService,r={enabled:!0,suppressEnabledCheckbox:!0,initialFont:{family:t.getChartOption("legend.item.label.fontFamily"),style:t.getChartOption("legend.item.label.fontStyle"),weight:t.getChartOption("legend.item.label.fontWeight"),size:t.getChartOption("legend.item.label.fontSize"),color:t.getChartOption("legend.item.label.color")},setFont:function(t){var r=e.chartOptionsService;t.family&&r.setChartOption("legend.item.label.fontFamily",t.family),t.weight&&r.setChartOption("legend.item.label.fontWeight",t.weight),t.style&&r.setChartOption("legend.item.label.fontStyle",t.style),t.size&&r.setChartOption("legend.item.label.fontSize",t.size),t.color&&r.setChartOption("legend.item.label.color",t.color)}},o=this.createBean(new Jp(r));this.legendGroup.addItem(o),this.activePanels.push(o)},t.prototype.destroyActivePanels=function(){var e=this;this.activePanels.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)}))},t.prototype.destroy=function(){this.destroyActivePanels(),e.prototype.destroy.call(this)},t.TEMPLATE='<div>\n <ag-group-component ref="legendGroup">\n <ag-select ref="legendPositionSelect"></ag-select>\n <ag-slider ref="legendPaddingSlider"></ag-slider>\n <ag-slider ref="markerSizeSlider"></ag-slider>\n <ag-slider ref="markerStrokeSlider"></ag-slider>\n <ag-slider ref="markerPaddingSlider"></ag-slider>\n <ag-slider ref="itemPaddingXSlider"></ag-slider>\n <ag-slider ref="itemPaddingYSlider"></ag-slider>\n </ag-group-component>\n </div>',ed([Object(n.RefSelector)("legendGroup")],t.prototype,"legendGroup",void 0),ed([Object(n.RefSelector)("legendPositionSelect")],t.prototype,"legendPositionSelect",void 0),ed([Object(n.RefSelector)("legendPaddingSlider")],t.prototype,"legendPaddingSlider",void 0),ed([Object(n.RefSelector)("markerSizeSlider")],t.prototype,"markerSizeSlider",void 0),ed([Object(n.RefSelector)("markerStrokeSlider")],t.prototype,"markerStrokeSlider",void 0),ed([Object(n.RefSelector)("markerPaddingSlider")],t.prototype,"markerPaddingSlider",void 0),ed([Object(n.RefSelector)("itemPaddingXSlider")],t.prototype,"itemPaddingXSlider",void 0),ed([Object(n.RefSelector)("itemPaddingYSlider")],t.prototype,"itemPaddingYSlider",void 0),ed([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),ed([n.PostConstruct],t.prototype,"init",null),t}(n.Component),rd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),od=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},nd=function(e){function t(t){var r=e.call(this)||this;return r.chartOptionsService=t,r}return rd(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{axisTicksGroup:{cssIdentifier:"charts-format-sub-level",direction:"vertical",suppressOpenCloseIcons:!0}}),this.initAxisTicks()},t.prototype.initAxisTicks=function(){var e=this;this.axisTicksGroup.setTitle(this.chartTranslationService.translate("ticks")).hideOpenCloseIcons(!0).hideEnabledCheckbox(!0),this.axisTicksColorPicker.setLabel(this.chartTranslationService.translate("color")).setLabelWidth("flex").setInputWidth(45).setValue(this.chartOptionsService.getAxisProperty("tick.color")).onValueChange((function(t){return e.chartOptionsService.setAxisProperty("tick.color",t)}));var t=function(t,r,o,n){var i=e.chartOptionsService.getAxisProperty(t);r.setLabel(o).setMaxValue(Fd(i,n)).setValue(""+i).setTextFieldWidth(45).onValueChange((function(r){return e.chartOptionsService.setAxisProperty(t,r)}))};t("tick.width",this.axisTicksWidthSlider,this.chartTranslationService.translate("width"),10),t("tick.size",this.axisTicksSizeSlider,this.chartTranslationService.translate("length"),30)},t.TEMPLATE='<div>\n <ag-group-component ref="axisTicksGroup">\n <ag-color-picker ref="axisTicksColorPicker"></ag-color-picker>\n <ag-slider ref="axisTicksWidthSlider"></ag-slider>\n <ag-slider ref="axisTicksSizeSlider"></ag-slider>\n </ag-group-component>\n </div>',od([Object(n.RefSelector)("axisTicksGroup")],t.prototype,"axisTicksGroup",void 0),od([Object(n.RefSelector)("axisTicksColorPicker")],t.prototype,"axisTicksColorPicker",void 0),od([Object(n.RefSelector)("axisTicksWidthSlider")],t.prototype,"axisTicksWidthSlider",void 0),od([Object(n.RefSelector)("axisTicksSizeSlider")],t.prototype,"axisTicksSizeSlider",void 0),od([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),od([n.PostConstruct],t.prototype,"init",null),t}(n.Component),id=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ad=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},sd=function(e){function t(t){var r=t.chartController,o=t.chartOptionsService,n=t.isExpandedOnInit,i=void 0!==n&&n,a=e.call(this)||this;return a.activePanels=[],a.axisLabelUpdateFuncs=[],a.prevXRotation=0,a.prevYRotation=0,a.chartController=r,a.chartOptionsService=o,a.isExpandedOnInit=i,a}return id(t,e),t.prototype.init=function(){var e=this;this.setTemplate(t.TEMPLATE,{axisGroup:{cssIdentifier:"charts-format-top-level",direction:"vertical"}}),this.initAxis(),this.initAxisTicks(),this.initAxisLabels();this.addManagedListener(this.chartController,Wp.EVENT_CHART_UPDATED,(function(){return e.axisLabelUpdateFuncs.forEach((function(e){return e()}))}))},t.prototype.initAxis=function(){var e=this;this.axisGroup.setTitle(this.translate("axis")).toggleGroupExpand(this.isExpandedOnInit).hideEnabledCheckbox(!0),this.axisColorInput.setLabel(this.translate("color")).setLabelWidth("flex").setInputWidth(45).setValue(this.chartOptionsService.getAxisProperty("line.color")).onValueChange((function(t){return e.chartOptionsService.setAxisProperty("line.color",t)}));var t=this.chartOptionsService.getAxisProperty("line.width");this.axisLineWidthSlider.setMaxValue(Fd(t,10)).setLabel(this.translate("thickness")).setTextFieldWidth(45).setValue(""+t).onValueChange((function(t){return e.chartOptionsService.setAxisProperty("line.width",t)}))},t.prototype.initAxisTicks=function(){var e=this.createBean(new nd(this.chartOptionsService));this.axisGroup.addItem(e),this.activePanels.push(e)},t.prototype.initAxisLabels=function(){var e=this,t={family:this.chartOptionsService.getAxisProperty("label.fontFamily"),style:this.chartOptionsService.getAxisProperty("label.fontStyle"),weight:this.chartOptionsService.getAxisProperty("label.fontWeight"),size:this.chartOptionsService.getAxisProperty("label.fontSize"),color:this.chartOptionsService.getAxisProperty("label.color")},r={name:this.translate("labels"),enabled:!0,suppressEnabledCheckbox:!0,initialFont:t,setFont:function(t){t.family&&e.chartOptionsService.setAxisProperty("label.fontFamily",t.family),t.weight&&e.chartOptionsService.setAxisProperty("label.fontWeight",t.weight),t.style&&e.chartOptionsService.setAxisProperty("label.fontStyle",t.style),t.size&&e.chartOptionsService.setAxisProperty("label.fontSize",t.size),t.color&&e.chartOptionsService.setAxisProperty("label.color",t.color)}},o=this.createBean(new Jp(r));this.axisGroup.addItem(o),this.activePanels.push(o),this.addAdditionalLabelComps(o)},t.prototype.addAdditionalLabelComps=function(e){this.addLabelPadding(e);var t=this.createRotationWidgets(),r=t.xRotationComp,o=t.yRotationComp,n=this.initLabelRotations(r,o);e.addCompToPanel(n),e.addCompToPanel(r),e.addCompToPanel(o)},t.prototype.initLabelRotations=function(e,t){var r,o,i=this,a=function(e){return i.chartOptionsService.getLabelRotation(e)},s=function(e,t){i.chartOptionsService.setLabelRotation(e,t)},l=(r=a("xAxis"),o=a("yAxis"),null==r&&null==o&&i.chartOptionsService.getAxisProperty("label.autoRotate")),c=this.createBean(new n.AgCheckbox).setLabel(this.translate("autoRotate")).setValue(l).onValueChange((function(r){i.chartOptionsService.setAxisProperty("label.autoRotate",r),r?(i.prevXRotation=a("xAxis"),i.prevYRotation=a("yAxis"),s("xAxis",void 0),s("yAxis",void 0)):(s("xAxis",i.prevXRotation),s("yAxis",i.prevYRotation)),e.setDisabled(r),t.setDisabled(r)}));return e.setDisabled(l),t.setDisabled(l),c},t.prototype.createRotationWidgets=function(){var e=this,t=String.fromCharCode(176),r=function(r,o){var i=e.chartTranslationService.translate(r)+" "+t,a=e.chartOptionsService.getLabelRotation(o),s=(new n.AgAngleSelect).setLabel(i).setLabelWidth("flex").setValue(a||0).onValueChange((function(t){return e.chartOptionsService.setLabelRotation(o,t)}));return e.axisLabelUpdateFuncs.push((function(){var t=e.chartOptionsService.getLabelRotation(o);s.setValue(t||0)})),e.createBean(s)};return{xRotationComp:r("xRotation","xAxis"),yRotationComp:r("yRotation","yAxis")}},t.prototype.addLabelPadding=function(e){var t=this,r=this.createBean(new n.AgSlider),o=this.chartOptionsService.getAxisProperty("label.padding");r.setLabel(this.chartTranslationService.translate("padding")).setMaxValue(Fd(o,30)).setValue(""+o).setTextFieldWidth(45).onValueChange((function(e){return t.chartOptionsService.setAxisProperty("label.padding",e)})),e.addCompToPanel(r)},t.prototype.translate=function(e,t){return this.chartTranslationService.translate(e,t)},t.prototype.destroyActivePanels=function(){var e=this;this.activePanels.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)}))},t.prototype.destroy=function(){this.destroyActivePanels(),e.prototype.destroy.call(this)},t.TEMPLATE='<div>\n <ag-group-component ref="axisGroup">\n <ag-color-picker ref="axisColorInput"></ag-color-picker>\n <ag-slider ref="axisLineWidthSlider"></ag-slider>\n </ag-group-component>\n </div>',ad([Object(n.RefSelector)("axisGroup")],t.prototype,"axisGroup",void 0),ad([Object(n.RefSelector)("axisColorInput")],t.prototype,"axisColorInput",void 0),ad([Object(n.RefSelector)("axisLineWidthSlider")],t.prototype,"axisLineWidthSlider",void 0),ad([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),ad([n.PostConstruct],t.prototype,"init",null),t}(n.Component),ld=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),cd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ud=function(e){function t(t){var r=t.chartOptionsService,o=t.isExpandedOnInit,n=void 0!==o&&o,i=e.call(this)||this;return i.chartOptionsService=r,i.isExpandedOnInit=n,i}return ld(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{navigatorGroup:{cssIdentifier:"charts-format-top-level",direction:"vertical"}}),this.initNavigator()},t.prototype.initNavigator=function(){var e=this,t=this.chartTranslationService;this.navigatorGroup.setTitle(t.translate("navigator")).hideEnabledCheckbox(!1).setEnabled(this.chartOptionsService.getChartOption("navigator.enabled")||!1).onEnableChange((function(t){e.chartOptionsService.setChartOption("navigator.enabled",t),e.navigatorGroup.toggleGroupExpand(!0)})).toggleGroupExpand(this.isExpandedOnInit);var r=this.chartOptionsService.getChartOption("navigator.height");this.navigatorHeightSlider.setLabel(t.translate("height")).setMinValue(10).setMaxValue(Fd(r,60)).setTextFieldWidth(45).setValue(""+(r||30)).onValueChange((function(t){return e.chartOptionsService.setChartOption("navigator.height",t)}))},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.TEMPLATE='<div>\n <ag-group-component ref="navigatorGroup">\n <ag-slider ref="navigatorHeightSlider"></ag-slider>\n </ag-group-component>\n </div>',cd([Object(n.RefSelector)("navigatorGroup")],t.prototype,"navigatorGroup",void 0),cd([Object(n.RefSelector)("navigatorHeightSlider")],t.prototype,"navigatorHeightSlider",void 0),cd([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),cd([n.PostConstruct],t.prototype,"init",null),t}(n.Component),pd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),dd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},gd=function(e){function t(t){var r=e.call(this)||this;return r.chartOptionsService=t,r}return pd(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{chartPaddingGroup:{cssIdentifier:"charts-format-sub-level",direction:"vertical",suppressOpenCloseIcons:!0}}),this.initGroup(),this.initChartPaddingItems()},t.prototype.initGroup=function(){this.chartPaddingGroup.setTitle(this.chartTranslationService.translate("padding")).hideOpenCloseIcons(!0).hideEnabledCheckbox(!0)},t.prototype.initChartPaddingItems=function(){var e=this,t=function(t,r){var o=e.chartOptionsService.getChartOption("padding."+t);r.setLabel(e.chartTranslationService.translate(t)).setMaxValue(Fd(o,200)).setValue(""+o).setTextFieldWidth(45).onValueChange((function(r){return e.chartOptionsService.setChartOption("padding."+t,r)}))};t("top",this.paddingTopSlider),t("right",this.paddingRightSlider),t("bottom",this.paddingBottomSlider),t("left",this.paddingLeftSlider)},t.TEMPLATE='<div>\n <ag-group-component ref="chartPaddingGroup">\n <ag-slider ref="paddingTopSlider"></ag-slider>\n <ag-slider ref="paddingRightSlider"></ag-slider>\n <ag-slider ref="paddingBottomSlider"></ag-slider>\n <ag-slider ref="paddingLeftSlider"></ag-slider>\n </ag-group-component>\n <div>',dd([Object(n.RefSelector)("chartPaddingGroup")],t.prototype,"chartPaddingGroup",void 0),dd([Object(n.RefSelector)("paddingTopSlider")],t.prototype,"paddingTopSlider",void 0),dd([Object(n.RefSelector)("paddingRightSlider")],t.prototype,"paddingRightSlider",void 0),dd([Object(n.RefSelector)("paddingBottomSlider")],t.prototype,"paddingBottomSlider",void 0),dd([Object(n.RefSelector)("paddingLeftSlider")],t.prototype,"paddingLeftSlider",void 0),dd([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),dd([n.PostConstruct],t.prototype,"init",null),t}(n.Component),hd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),fd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},vd=function(e){function t(t){var r=e.call(this)||this;return r.chartOptionsService=t,r}return hd(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{chartBackgroundGroup:{cssIdentifier:"charts-format-sub-level",direction:"vertical",suppressOpenCloseIcons:!0}}),this.initGroup(),this.initColorPicker()},t.prototype.initGroup=function(){var e=this;this.group.setTitle(this.chartTranslationService.translate("background")).setEnabled(this.chartOptionsService.getChartOption("background.visible")).hideOpenCloseIcons(!0).hideEnabledCheckbox(!1).onEnableChange((function(t){return e.chartOptionsService.setChartOption("background.visible",t)}))},t.prototype.initColorPicker=function(){var e=this;this.colorPicker.setLabel(this.chartTranslationService.translate("color")).setLabelWidth("flex").setInputWidth(45).setValue(this.chartOptionsService.getChartOption("background.fill")).onValueChange((function(t){return e.chartOptionsService.setChartOption("background.fill",t)}))},t.TEMPLATE='<div>\n <ag-group-component ref="chartBackgroundGroup">\n <ag-color-picker ref="colorPicker"></ag-color-picker>\n </ag-group-component>\n <div>',fd([Object(n.RefSelector)("chartBackgroundGroup")],t.prototype,"group",void 0),fd([Object(n.RefSelector)("colorPicker")],t.prototype,"colorPicker",void 0),fd([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),fd([n.PostConstruct],t.prototype,"init",null),t}(n.Component),yd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),md=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},bd=function(e){function t(r){var o=e.call(this,t.TEMPLATE)||this;return o.chartOptionsService=r,o.activePanels=[],o}return yd(t,e),t.prototype.init=function(){this.initFontPanel(),this.titlePlaceholder=this.chartTranslationService.translate("titlePlaceholder")},t.prototype.hasTitle=function(){var e=this.getOption("title");return e&&e.enabled&&e.text&&e.text.length>0},t.prototype.initFontPanel=function(){var e=this,t=this.hasTitle,r=function(t){t.family&&e.setOption("title.fontFamily",t.family),t.weight&&e.setOption("title.fontWeight",t.weight),t.style&&e.setOption("title.fontStyle",t.style),t.size&&e.setOption("title.fontSize",t.size),t.color&&e.setOption("title.color",t.color)},o={family:this.getOption("title.fontFamily"),style:this.getOption("title.fontStyle"),weight:this.getOption("title.fontWeight"),size:this.getOption("title.fontSize"),color:this.getOption("title.color")};t||r(o);var n={name:this.chartTranslationService.translate("title"),enabled:this.hasTitle(),suppressEnabledCheckbox:!1,initialFont:o,setFont:r,setEnabled:function(t){e.setOption("title.enabled",t);var r=e.getOption("title.text");t&&"Title"===r&&e.setOption("title.text",e.titlePlaceholder)}},i=this.createBean(new Jp(n));this.getGui().appendChild(i.getGui()),this.activePanels.push(i),this.addManagedListener(this.eventService,"chartTitleEdit",(function(){i.setEnabled(e.hasTitle())}))},t.prototype.getOption=function(e){return this.chartOptionsService.getChartOption(e)},t.prototype.setOption=function(e,t){this.chartOptionsService.setChartOption(e,t)},t.prototype.destroyActivePanels=function(){var e=this;this.activePanels.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)}))},t.prototype.destroy=function(){this.destroyActivePanels(),e.prototype.destroy.call(this)},t.TEMPLATE="<div></div>",md([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),md([n.PostConstruct],t.prototype,"init",null),t}(n.Component),wd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Cd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Od=function(e){function t(t){var r=t.chartOptionsService,o=t.isExpandedOnInit,n=void 0!==o&&o,i=e.call(this)||this;return i.activePanels=[],i.chartOptionsService=r,i.isExpandedOnInit=n,i}return wd(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{chartGroup:{cssIdentifier:"charts-format-top-level",direction:"vertical"}}),this.initGroup(),this.initTitles(),this.initPaddingPanel(),this.initBackgroundPanel()},t.prototype.initGroup=function(){this.chartGroup.setTitle(this.chartTranslationService.translate("chart")).toggleGroupExpand(this.isExpandedOnInit).hideEnabledCheckbox(!0)},t.prototype.initTitles=function(){var e=this.createBean(new bd(this.chartOptionsService));this.chartGroup.addItem(e),this.activePanels.push(e)},t.prototype.initPaddingPanel=function(){var e=this.createBean(new gd(this.chartOptionsService));this.chartGroup.addItem(e),this.activePanels.push(e)},t.prototype.initBackgroundPanel=function(){var e=this.createBean(new vd(this.chartOptionsService));this.chartGroup.addItem(e),this.activePanels.push(e)},t.prototype.destroyActivePanels=function(){var e=this;this.activePanels.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)}))},t.prototype.destroy=function(){this.destroyActivePanels(),e.prototype.destroy.call(this)},t.TEMPLATE='<div>\n <ag-group-component ref="chartGroup"></ag-group-component>\n </div>',Cd([Object(n.RefSelector)("chartGroup")],t.prototype,"chartGroup",void 0),Cd([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Cd([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Sd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ed=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},xd=function(e){function t(t,r){var o=e.call(this)||this;return o.chartOptionsService=t,o.getSelectedSeries=r,o}return Sd(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{shadowGroup:{cssIdentifier:"charts-format-sub-level",direction:"vertical",suppressOpenCloseIcons:!0}}),this.shadowBlurSlider.setTextFieldWidth(45),this.shadowXOffsetSlider.setTextFieldWidth(45),this.shadowYOffsetSlider.setTextFieldWidth(45),this.initSeriesShadow()},t.prototype.initSeriesShadow=function(){var e=this;this.shadowGroup.setTitle(this.chartTranslationService.translate("shadow")).setEnabled(this.chartOptionsService.getSeriesOption("shadow.enabled",this.getSelectedSeries())).hideOpenCloseIcons(!0).hideEnabledCheckbox(!1).onEnableChange((function(t){return e.chartOptionsService.setSeriesOption("shadow.enabled",t,e.getSelectedSeries())})),this.shadowColorPicker.setLabel(this.chartTranslationService.translate("color")).setLabelWidth("flex").setInputWidth(45).setValue(this.chartOptionsService.getSeriesOption("shadow.color",this.getSelectedSeries())).onValueChange((function(t){return e.chartOptionsService.setSeriesOption("shadow.color",t,e.getSelectedSeries())}));var t=function(t,r,o,n){var i=e.chartOptionsService.getSeriesOption("shadow."+r,e.getSelectedSeries());t.setLabel(e.chartTranslationService.translate(r)).setMinValue(o).setMaxValue(Fd(i,n)).setValue(""+i).onValueChange((function(t){return e.chartOptionsService.setSeriesOption("shadow."+r,t,e.getSelectedSeries())}))};t(this.shadowBlurSlider,"blur",0,20),t(this.shadowXOffsetSlider,"xOffset",-10,10),t(this.shadowYOffsetSlider,"yOffset",-10,10)},t.TEMPLATE='<div>\n <ag-group-component ref="shadowGroup">\n <ag-color-picker ref="shadowColorPicker"></ag-color-picker>\n <ag-slider ref="shadowBlurSlider"></ag-slider>\n <ag-slider ref="shadowXOffsetSlider"></ag-slider>\n <ag-slider ref="shadowYOffsetSlider"></ag-slider>\n </ag-group-component>\n </div>',Ed([Object(n.RefSelector)("shadowGroup")],t.prototype,"shadowGroup",void 0),Ed([Object(n.RefSelector)("shadowColorPicker")],t.prototype,"shadowColorPicker",void 0),Ed([Object(n.RefSelector)("shadowBlurSlider")],t.prototype,"shadowBlurSlider",void 0),Ed([Object(n.RefSelector)("shadowXOffsetSlider")],t.prototype,"shadowXOffsetSlider",void 0),Ed([Object(n.RefSelector)("shadowYOffsetSlider")],t.prototype,"shadowYOffsetSlider",void 0),Ed([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Ed([n.PostConstruct],t.prototype,"init",null),t}(n.Component);var Rd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Td=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ad=function(e){function t(t,r){var o=e.call(this)||this;return o.chartOptionsService=t,o.getSelectedSeries=r,o}return Rd(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{seriesMarkersGroup:{cssIdentifier:"charts-format-sub-level",direction:"vertical"}}),this.initMarkers()},t.prototype.initMarkers=function(){var e=this;this.seriesMarkerShapeSelect.addOptions([{value:"square",text:"Square"},{value:"circle",text:"Circle"},{value:"cross",text:"Cross"},{value:"diamond",text:"Diamond"},{value:"plus",text:"Plus"},{value:"triangle",text:"Triangle"},{value:"heart",text:"Heart"}]).setLabel(this.chartTranslationService.translate("shape")).setValue(this.getSeriesOption("marker.shape")).onValueChange((function(t){return e.setSeriesOption("marker.shape",t)}));var t=this.chartOptionsService.getChartType(),r=n._.includes(["scatter","bubble"],t);this.seriesMarkersGroup.setTitle(this.chartTranslationService.translate("markers")).hideEnabledCheckbox(r).setEnabled(this.getSeriesOption("marker.enabled")||!1).hideOpenCloseIcons(!0).onEnableChange((function(t){return e.setSeriesOption("marker.enabled",t)}));var o=function(t,r,o,n){var i=e.getSeriesOption(t);r.setLabel(e.chartTranslationService.translate(o)).setMaxValue(Fd(i,n)).setValue(""+i).setTextFieldWidth(45).onValueChange((function(r){return e.setSeriesOption(t,r)}))};"bubble"===t?(o("marker.maxSize",this.seriesMarkerMinSizeSlider,"maxSize",60),o("marker.size",this.seriesMarkerSizeSlider,"minSize",60)):(this.seriesMarkerMinSizeSlider.setDisplayed(!1),o("marker.size",this.seriesMarkerSizeSlider,"size",60)),o("marker.strokeWidth",this.seriesMarkerStrokeWidthSlider,"strokeWidth",10)},t.prototype.getSeriesOption=function(e){return this.chartOptionsService.getSeriesOption(e,this.getSelectedSeries())},t.prototype.setSeriesOption=function(e,t){this.chartOptionsService.setSeriesOption(e,t,this.getSelectedSeries())},t.TEMPLATE='<div>\n <ag-group-component ref="seriesMarkersGroup">\n <ag-select ref="seriesMarkerShapeSelect"></ag-select>\n <ag-slider ref="seriesMarkerMinSizeSlider"></ag-slider>\n <ag-slider ref="seriesMarkerSizeSlider"></ag-slider>\n <ag-slider ref="seriesMarkerStrokeWidthSlider"></ag-slider>\n </ag-group-component>\n </div>',Td([Object(n.RefSelector)("seriesMarkersGroup")],t.prototype,"seriesMarkersGroup",void 0),Td([Object(n.RefSelector)("seriesMarkerShapeSelect")],t.prototype,"seriesMarkerShapeSelect",void 0),Td([Object(n.RefSelector)("seriesMarkerSizeSlider")],t.prototype,"seriesMarkerSizeSlider",void 0),Td([Object(n.RefSelector)("seriesMarkerMinSizeSlider")],t.prototype,"seriesMarkerMinSizeSlider",void 0),Td([Object(n.RefSelector)("seriesMarkerStrokeWidthSlider")],t.prototype,"seriesMarkerStrokeWidthSlider",void 0),Td([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Td([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Pd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),_d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Dd=function(e){function t(t,r){var o=e.call(this)||this;return o.chartOptionsService=t,o.getSelectedSeries=r,o}return Pd(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{calloutGroup:{cssIdentifier:"charts-format-sub-level",direction:"vertical"}}),this.initCalloutOptions()},t.prototype.initCalloutOptions=function(){var e=this;this.calloutGroup.setTitle(this.chartTranslationService.translate("callout")).setEnabled(!0).hideOpenCloseIcons(!0).hideEnabledCheckbox(!0);var t=function(t,r,o,n){var i=e.chartOptionsService.getSeriesOption(t,e.getSelectedSeries());r.setLabel(e.chartTranslationService.translate(o)).setMaxValue(Fd(i,n)).setValue(""+i).setTextFieldWidth(45).onValueChange((function(r){return e.chartOptionsService.setSeriesOption(t,r,e.getSelectedSeries())}))};t("calloutLine.length",this.calloutLengthSlider,"length",40),t("calloutLine.strokeWidth",this.calloutStrokeWidthSlider,"strokeWidth",10),t("calloutLabel.offset",this.labelOffsetSlider,"offset",30)},t.TEMPLATE='<div>\n <ag-group-component ref="calloutGroup">\n <ag-slider ref="calloutLengthSlider"></ag-slider>\n <ag-slider ref="calloutStrokeWidthSlider"></ag-slider>\n <ag-slider ref="labelOffsetSlider"></ag-slider>\n </ag-group-component>\n </div>',_d([Object(n.RefSelector)("calloutGroup")],t.prototype,"calloutGroup",void 0),_d([Object(n.RefSelector)("calloutLengthSlider")],t.prototype,"calloutLengthSlider",void 0),_d([Object(n.RefSelector)("calloutStrokeWidthSlider")],t.prototype,"calloutStrokeWidthSlider",void 0),_d([Object(n.RefSelector)("labelOffsetSlider")],t.prototype,"labelOffsetSlider",void 0),_d([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),_d([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Md=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Nd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Id=function(e){function t(t){var r=t.chartController,o=t.chartOptionsService,n=t.seriesType,i=t.isExpandedOnInit,a=void 0!==i&&i,s=e.call(this)||this;return s.activePanels=[],s.widgetFuncs={lineWidth:function(){return s.initLineWidth()},strokeWidth:function(){return s.initStrokeWidth()},lineDash:function(){return s.initLineDash()},lineOpacity:function(){return s.initLineOpacity()},fillOpacity:function(){return s.initFillOpacity()},markers:function(){return s.initMarkers()},labels:function(){return s.initLabels()},shadow:function(){return s.initShadow()},tooltips:function(){return s.initTooltips()},bins:function(){return s.initBins()}},s.seriesWidgetMappings={area:["tooltips","lineWidth","lineDash","lineOpacity","fillOpacity","markers","labels","shadow"],bar:["tooltips","strokeWidth","lineDash","lineOpacity","fillOpacity","labels","shadow"],column:["tooltips","strokeWidth","lineDash","lineOpacity","fillOpacity","labels","shadow"],line:["tooltips","lineWidth","lineDash","lineOpacity","markers","labels"],histogram:["tooltips","bins","strokeWidth","lineDash","lineOpacity","fillOpacity","labels","shadow"],scatter:["tooltips","markers","labels"],pie:["tooltips","strokeWidth","lineOpacity","fillOpacity","labels","shadow"]},s.chartController=r,s.chartOptionsService=o,s.seriesType=n||s.getChartSeriesType(),s.isExpandedOnInit=a,s}return Md(t,e),t.prototype.init=function(){this.setTemplate(t.TEMPLATE,{seriesGroup:{cssIdentifier:"charts-format-top-level",direction:"vertical"}}),this.seriesGroup.setTitle(this.translate("series")).toggleGroupExpand(this.isExpandedOnInit).hideEnabledCheckbox(!0),this.addManagedListener(this.chartController,Wp.EVENT_CHART_SERIES_CHART_TYPE_CHANGED,this.refreshWidgets.bind(this)),this.refreshWidgets()},t.prototype.refreshWidgets=function(){var e=this;this.destroyActivePanels(),this.chartController.getChartProxy().getChart().waitForUpdate().then((function(){e.chartController.isComboChart()&&(e.updateSeriesType(),e.initSeriesSelect()),e.seriesWidgetMappings[e.seriesType].forEach((function(t){return e.widgetFuncs[t]()}))}))},t.prototype.initSeriesSelect=function(){var e=this,t=this.seriesGroup.createManagedBean(new n.AgSelect);t.setLabel(this.translate("seriesType")).setLabelAlignment("left").setLabelWidth("flex").setInputWidth(100).addOptions(this.getSeriesSelectOptions()).setValue(""+this.seriesType).onValueChange((function(t){e.seriesType=t,e.refreshWidgets()})),this.seriesGroup.addItem(t),this.activePanels.push(t)},t.prototype.initTooltips=function(){var e=this,t=this.createBean(new n.AgToggleButton);t.setLabel(this.translate("tooltips")).setLabelAlignment("left").setLabelWidth("flex").setInputWidth(45).setValue(this.getSeriesOption("tooltip.enabled")||!1).onValueChange((function(t){return e.setSeriesOption("tooltip.enabled",t)})),this.addWidget(t)},t.prototype.initStrokeWidth=function(){var e=this,t=this.getSeriesOption("strokeWidth"),r=this.createBean(new n.AgSlider);r.setLabel(this.translate("strokeWidth")).setMaxValue(Fd(t,10)).setTextFieldWidth(45).setValue(""+t).onValueChange((function(t){return e.setSeriesOption("strokeWidth",t)})),this.addWidget(r)},t.prototype.initLineWidth=function(){var e=this,t=this.getSeriesOption("strokeWidth"),r=this.createBean(new n.AgSlider);r.setLabel(this.translate("lineWidth")).setMaxValue(Fd(t,10)).setTextFieldWidth(45).setValue(""+t).onValueChange((function(t){return e.setSeriesOption("strokeWidth",t)})),this.addWidget(r)},t.prototype.initLineDash=function(){var e=this,t=this.getSeriesOption("lineDash"),r=t?t[0]:0,o=this.createBean(new n.AgSlider);o.setLabel(this.translate("lineDash")).setMaxValue(Fd(r,30)).setTextFieldWidth(45).setValue(""+r).onValueChange((function(t){return e.setSeriesOption("lineDash",[t])})),this.addWidget(o)},t.prototype.initLineOpacity=function(){var e=this,t=this.getSeriesOption("strokeOpacity"),r=this.createBean(new n.AgSlider);r.setLabel(this.translate("strokeOpacity")).setStep(.05).setMaxValue(Fd(t,1)).setTextFieldWidth(45).setValue(""+t).onValueChange((function(t){return e.setSeriesOption("strokeOpacity",t)})),this.addWidget(r)},t.prototype.initFillOpacity=function(){var e=this,t=this.getSeriesOption("fillOpacity"),r=this.createBean(new n.AgSlider);r.setLabel(this.translate("fillOpacity")).setStep(.05).setMaxValue(Fd(t,1)).setTextFieldWidth(45).setValue(""+t).onValueChange((function(t){return e.setSeriesOption("fillOpacity",t)})),this.addWidget(r)},t.prototype.initLabels=function(){var e,t,r,o,n,i,a,s=this,l=(e=this.chartTranslationService,t=this.chartOptionsService,r=function(){return s.seriesType},o=function(e){return("pie"===r()?"calloutLabel":"label")+"."+e},i=function(e,n){var i=o(e);t.setSeriesOption(i,n,r())},a={family:(n=function(e){var n=o(e);return t.getSeriesOption(n,r())})("fontFamily"),style:n("fontStyle"),weight:n("fontWeight"),size:n("fontSize"),color:n("color")},{name:e.translate("labels"),enabled:n("enabled")||!1,setEnabled:function(e){return i("enabled",e)},suppressEnabledCheckbox:!1,initialFont:a,setFont:function(e){e.family&&i("fontFamily",e.family),e.weight&&i("fontWeight",e.weight),e.style&&i("fontStyle",e.style),e.size&&i("fontSize",e.size),e.color&&i("color",e.color)}}),c=this.createBean(new Jp(l));if("pie"===this.seriesType){var u=this.createBean(new Dd(this.chartOptionsService,(function(){return s.seriesType})));c.addCompToPanel(u),this.activePanels.push(u)}this.addWidget(c)},t.prototype.initShadow=function(){var e=this,t=this.createBean(new xd(this.chartOptionsService,(function(){return e.seriesType})));this.addWidget(t)},t.prototype.initMarkers=function(){var e=this,t=this.createBean(new Ad(this.chartOptionsService,(function(){return e.seriesType})));this.addWidget(t)},t.prototype.initBins=function(){var e=this,t=this.getSeriesOption("bins").length,r=this.createBean(new n.AgSlider);r.setLabel(this.translate("histogramBinCount")).setMinValue(0).setMaxValue(Fd(t,20)).setTextFieldWidth(45).setValue(""+t).onValueChange((function(t){return e.setSeriesOption("binCount",t)})),this.addWidget(r)},t.prototype.addWidget=function(e){this.seriesGroup.addItem(e),this.activePanels.push(e)},t.prototype.getSeriesOption=function(e){return this.chartOptionsService.getSeriesOption(e,this.seriesType)},t.prototype.setSeriesOption=function(e,t){this.chartOptionsService.setSeriesOption(e,t,this.seriesType)},t.prototype.getChartSeriesType=function(){if(0===this.chartController.getSeriesChartTypes().length)return"column";var e=this.chartController.getSeriesChartTypes()[0].chartType;return"columnLineCombo"===e?"column":"areaColumnCombo"===e?"area":zp(e)},t.prototype.getSeriesSelectOptions=function(){var e=this;this.seriesSelectOptions||(this.seriesSelectOptions=new Map([["area",{value:"area",text:this.translate("area","Area")}],["bar",{value:"bar",text:this.translate("bar","Bar")}],["column",{value:"column",text:this.translate("column","Column")}],["line",{value:"line",text:this.translate("line","Line")}],["scatter",{value:"scatter",text:this.translate("scatter","Scatter")}],["histogram",{value:"histogram",text:this.translate("histogram","Histogram")}],["pie",{value:"pie",text:this.translate("pie","Pie")}]]));var t=new Set;return this.chartController.getActiveSeriesChartTypes().forEach((function(r){var o=zp(r.chartType);t.add(e.seriesSelectOptions.get(o))})),Array.from(t)},t.prototype.updateSeriesType=function(){var e=this.chartController.getActiveSeriesChartTypes().map((function(e){return zp(e.chartType)}));!e.includes(this.seriesType)&&e.length>0&&(this.seriesType=e[0])},t.prototype.translate=function(e,t){return this.chartTranslationService.translate(e,t)},t.prototype.destroyActivePanels=function(){var e=this;this.activePanels.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)}))},t.prototype.destroy=function(){this.destroyActivePanels(),e.prototype.destroy.call(this)},t.TEMPLATE='<div>\n <ag-group-component ref="seriesGroup">\n </ag-group-component>\n </div>',Nd([Object(n.RefSelector)("seriesGroup")],t.prototype,"seriesGroup",void 0),Nd([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Nd([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Ld=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),kd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function Fd(e,t){return Math.max(e,t)}var Gd={groups:[{type:"chart"},{type:"legend"},{type:"series"},{type:"axis"},{type:"navigator"}]},jd=function(e){function t(r,o){var n=e.call(this,t.TEMPLATE)||this;return n.chartController=r,n.chartOptionsService=o,n.panels=[],n.isGroupPanelShownInSeries=function(e,t){if(["chart","legend","series"].includes(e))return!0;return!(!["axis","navigator"].includes(e)||!["bar","column","line","area","scatter","histogram","cartesian"].includes(t))},n}return Ld(t,e),t.prototype.init=function(){this.createPanels(),this.addManagedListener(this.chartController,Wp.EVENT_CHART_UPDATED,this.createPanels.bind(this))},t.prototype.createPanels=function(){var e,t=this,r=this.chartController.getChartType(),o=this.chartController.isGrouping(),n=zp(r);r===this.chartType&&o===this.isGrouping||(this.destroyPanels(),null===(e=this.getFormatPanelDef().groups)||void 0===e||e.forEach((function(e){var r=e.type;if(t.isGroupPanelShownInSeries(r,n)){var o={chartController:t.chartController,chartOptionsService:t.chartOptionsService,isExpandedOnInit:e.isOpen,seriesType:n};"chart"===r?t.addComponent(new Od(o)):"legend"===r?t.addComponent(new td(o)):"axis"===r?t.addComponent(new sd(o)):"series"===r?t.addComponent(new Id(o)):"navigator"===r?t.addComponent(new ud(o)):console.warn("AG Grid: invalid charts format panel group name supplied: '"+e.type+"'")}})),this.chartType=r,this.isGrouping=o)},t.prototype.getFormatPanelDef=function(){var e,t=null===(e=this.gridOptionsWrapper.getChartToolPanelsDef())||void 0===e?void 0:e.formatPanel;return t||Gd},t.prototype.addComponent=function(e){this.createBean(e),this.panels.push(e),e.addCssClass("ag-chart-format-section"),this.getGui().appendChild(e.getGui())},t.prototype.destroyPanels=function(){var e=this;this.panels.forEach((function(t){n._.removeFromParent(t.getGui()),e.destroyBean(t)}))},t.prototype.destroy=function(){this.destroyPanels(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-chart-format-wrapper"></div>',kd([n.PostConstruct],t.prototype,"init",null),t}(n.Component),zd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Bd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Vd=function(e){function t(t,r){var o=e.call(this)||this;o.size=58,o.padding=5,o.root=new Ut;var n=new An({document:window.document,width:o.size,height:o.size});return n.canvas.element.classList.add("ag-chart-mini-thumbnail-canvas"),n.root=o.root,n.container=t,o.scene=n,o.tooltipName=r,o}return zd(t,e),t.prototype.init=function(){this.scene.canvas.element.title=this.chartTranslationService.translate(this.tooltipName),this.scene.render()},Bd([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Bd([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Wd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Hd=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ud=function(e){function t(t,r){var o=e.call(this,t,r)||this;return o.stroke="gray",o.axisOvershoot=3,o}return Wd(t,e),t.prototype.addAxes=function(){var e=this.size,t=this.padding,r=new Zt;r.x1=t,r.y1=t,r.x2=t,r.y2=e-t+this.axisOvershoot,r.stroke=this.stroke;var o=new Zt;o.x1=t-this.axisOvershoot+1,o.y1=e-t,o.x2=e-t+1,o.y2=e-t,o.stroke=this.stroke;var n=this.root;n.append(r),n.append(o)},Hd([n.PostConstruct],t.prototype,"addAxes",null),t}(Vd);function Kd(e){var t=e.stacked,r=e.size,o=e.padding,n=e.xScalePadding,i=e.xScaleDomain,a=e.yScaleDomain,s=new Qr;s.domain=i,s.range=[o,r-o],s.paddingInner=n,s.paddingOuter=n;var l=new wt;l.domain=a,l.range=[r-o,o];var c=function(e,t,r){return e.map((function(e,o){var n=r.convert(e),i=new ei;return i.x=t.convert(o),i.y=n,i.width=t.bandwidth,i.height=r.convert(0)-n,i.strokeWidth=1,i.crisp=!0,i}))};return t?e.data.map((function(e){return c(e,s,l)})):c(e.data,s,l)}function Yd(e,t,r,o){var n=new wt;n.domain=[0,4],n.range=[o,r-o];var i=new wt;i.domain=[0,10],i.range=[r-o,o];var a=t.map((function(e){var t=new tr;return t.strokeWidth=3,t.lineCap="round",t.fill=void 0,e.forEach((function(e,r){t.path[r>0?"lineTo":"moveTo"](n.convert(r),i.convert(e))})),t})),s=new Ma;return s.x=s.y=o,s.width=s.height=r-2*o,s.append(a),e.append(s),a}var Xd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),qd=function(e){function t(t,r,o){var n=e.call(this,t,"groupedColumnTooltip")||this;n.columnData=[2,3,4];var i=n,a=i.root,s=i.columnData,l=i.size,c=i.padding;return n.columns=Kd({stacked:!1,root:a,data:s,size:l,padding:c,xScaleDomain:[0,1,2],yScaleDomain:[0,4],xScalePadding:.3}),a.append(n.columns),n.updateColors(r,o),n}return Xd(t,e),t.prototype.updateColors=function(e,t){this.columns.forEach((function(r,o){r.fill=e[o],r.stroke=t[o]}))},t.chartType="groupedColumn",t}(Ud),Qd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Zd=function(e){function t(r,o,n,i,a,s){void 0===i&&(i=t.data),void 0===a&&(a=[0,16]),void 0===s&&(s="stackedColumnTooltip");var l=e.call(this,r,s)||this,c=l,u=c.root,p=c.size,d=c.padding;return l.stackedColumns=Kd({stacked:!0,root:u,data:i,size:p,padding:d,xScaleDomain:[0,1,2],yScaleDomain:a,xScalePadding:.3}),u.append([].concat.apply([],l.stackedColumns)),l.updateColors(o,n),l}return Qd(t,e),t.prototype.updateColors=function(e,t){this.stackedColumns.forEach((function(r,o){return r.forEach((function(r){r.fill=e[o],r.stroke=t[o]}))}))},t.chartType="stackedColumn",t.data=[[8,12,16],[6,9,12],[2,3,4]],t}(Ud),Jd=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),$d=function(e){function t(r,o,n){return e.call(this,r,o,n,t.data,[0,10],"normalizedColumnTooltip")||this}return Jd(t,e),t.chartType="normalizedColumn",t.data=[[10,10,10],[6,7,8],[2,4,6]],t}(Zd),eg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),tg=function(e){function t(t,r,o){var n=e.call(this,t,"groupedBarTooltip")||this,i=n.padding,a=n.size,s=new Qr;s.domain=[0,1,2],s.range=[i,a-i],s.paddingInner=.3,s.paddingOuter=.3;var l=new wt;l.domain=[0,4],l.range=[a-i,i];var c=l.convert(0),u=s.bandwidth;return n.bars=[2,3,4].map((function(e,t){var r=new ei;return r.x=i,r.y=s.convert(t),r.width=c-l.convert(e),r.height=u,r.strokeWidth=1,r.crisp=!0,r})),n.updateColors(r,o),n.root.append(n.bars),n}return eg(t,e),t.prototype.updateColors=function(e,t){this.bars.forEach((function(r,o){r.fill=e[o],r.stroke=t[o]}))},t.chartType="groupedBar",t}(Ud),rg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),og=function(e){function t(r,o,n,i,a,s){void 0===i&&(i=t.data),void 0===a&&(a=[0,16]),void 0===s&&(s="stackedBarTooltip");var l=e.call(this,r,s)||this,c=l.size,u=l.padding,p=new Qr;p.domain=[0,1,2],p.range=[u,c-u],p.paddingInner=.3,p.paddingOuter=.3;var d=new wt;d.domain=a,d.range=[c-u,u];var g=d.convert(0),h=p.bandwidth;return l.bars=i.map((function(e){return e.map((function(e,t){var r=new ei;return r.x=u,r.y=p.convert(t),r.width=g-d.convert(e),r.height=h,r.strokeWidth=1,r.crisp=!0,r}))})),l.updateColors(o,n),l.root.append([].concat.apply([],l.bars)),l}return rg(t,e),t.prototype.updateColors=function(e,t){this.bars.forEach((function(r,o){return r.forEach((function(r){r.fill=e[o],r.stroke=t[o]}))}))},t.chartType="stackedBar",t.data=[[8,12,16],[6,9,12],[2,3,4]],t}(Ud),ng=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ig=function(e){function t(r,o,n){return e.call(this,r,o,n,t.data,[0,10],"normalizedBarTooltip")||this}return ng(t,e),t.chartType="normalizedBar",t.data=[[10,10,10],[6,7,8],[2,4,6]],t}(og),ag=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),sg=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},lg=function(e){function t(t,r,o,n,i){void 0===n&&(n=.6),void 0===i&&(i="doughnutTooltip");var a=e.call(this,t,i)||this,s=(a.size-2*a.padding)/2,l=s+a.padding,c=[[nr(-90),nr(30)],[nr(30),nr(120)],[nr(120),nr(180)],[nr(180),nr(210)],[nr(210),nr(240)],[nr(240),nr(270)]];return a.sectors=c.map((function(e){var t=sg(e,2),r=t[0],o=t[1],i=new Jl;return i.centerX=l,i.centerY=l,i.innerRadius=s*n,i.outerRadius=s,i.startAngle=r,i.endAngle=o,i.stroke=void 0,i.strokeWidth=1,i})),a.updateColors(r,o),a.root.append(a.sectors),a}return ag(t,e),t.prototype.updateColors=function(e,t){this.sectors.forEach((function(r,o){r.fill=e[o%e.length],r.stroke=t[o%t.length]}))},t.chartType="doughnut",t}(Vd),cg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ug=function(e){function t(t,r,o){return e.call(this,t,r,o,0,"pieTooltip")||this}return cg(t,e),t.chartType="pie",t}(lg),pg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),dg=function(e){function t(t,r,o){var n=e.call(this,t,"lineTooltip")||this;return n.data=[[9,7,8,5,6],[5,6,3,4,1],[1,3,4,8,7]],n.lines=Yd(n.root,n.data,n.size,n.padding),n.updateColors(r,o),n}return pg(t,e),t.prototype.updateColors=function(e,t){this.lines.forEach((function(t,r){t.stroke=e[r]}))},t.chartType="line",t}(Ud),gg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),hg=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},fg=function(e){function t(t,r,o){var n=e.call(this,t,"scatterTooltip")||this,i=n.size,a=n.padding,s=new wt;s.domain=[-.5,4],s.range=[2*a,i-a];var l=new wt;l.domain=[-.5,3.5],l.range=[i-a,a];var c=[];[[[.3,3],[1.1,.9],[2,.4],[3.4,2.4]],[[0,.3],[1,2],[2.4,1.4],[3,0]]].forEach((function(e){e.forEach((function(e){var t=hg(e,2),r=t[0],o=t[1],n=new ur;n.strokeWidth=1,n.centerX=s.convert(r),n.centerY=l.convert(o),n.radiusX=n.radiusY=2.5,c.push(n)}))})),n.points=c,n.updateColors(r,o);var u=new Ma;return u.x=u.y=a,u.width=u.height=i-2*a,u.append(n.points),n.root.append(u),n}return gg(t,e),t.prototype.updateColors=function(e,t){this.points.forEach((function(r,o){r.stroke=t[o%t.length],r.fill=e[o%e.length]}))},t.chartType="scatter",t}(Ud),vg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),yg=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},mg=function(e){function t(t,r,o){var n=e.call(this,t,"bubbleTooltip")||this,i=n.size,a=n.padding,s=new wt;s.domain=[0,1],s.range=[2*a,i-a];var l=new wt;l.domain=[0,1],l.range=[i-a,a];var c=[];[[[.1,.3,5],[.5,.4,7],[.2,.8,7]],[[.8,.7,5],[.7,.3,9]]].forEach((function(e){e.forEach((function(e){var t=yg(e,3),r=t[0],o=t[1],n=t[2],i=new ur;i.strokeWidth=1,i.centerX=s.convert(r),i.centerY=l.convert(o),i.radiusX=i.radiusY=n,i.fillOpacity=.7,c.push(i)}))})),n.points=c,n.updateColors(r,o);var u=new Ma;return u.x=a,u.y=a,u.width=i-2*a,u.height=i-2*a,u.append(n.points),n.root.append(u),n}return vg(t,e),t.prototype.updateColors=function(e,t){this.points.forEach((function(r,o){r.stroke=t[o%t.length],r.fill=e[o%e.length]}))},t.chartType="bubble",t}(Ud),bg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),wg=function(e){function t(r,o,n,i){void 0===i&&(i=t.data);var a=e.call(this,r,"groupedAreaTooltip")||this,s=a.size,l=a.padding,c=new Qr;c.domain=[0,1,2],c.paddingInner=1,c.paddingOuter=0,c.range=[l+.5,s-l-.5];var u=new wt;u.domain=[0,6],u.range=[s-l+.5,l];var p=2*i.length-1,d=[],g=u.convert(0);return i.forEach((function(e,t){var r=c.convert(t);e.forEach((function(e,o){var n=u.convert(e),i=d[o]||(d[o]=[]);i[t]={x:r,y:n},i[p-t]={x:r,y:g}}))})),a.areas=d.reverse().map((function(e){var t=new tr;t.strokeWidth=1,t.fillOpacity=.7;var r=t.path;return r.clear(),e.forEach((function(e,t){return r[t>0?"lineTo":"moveTo"](e.x,e.y)})),r.closePath(),t})),a.updateColors(o,n),a.root.append(a.areas),a}return bg(t,e),t.prototype.updateColors=function(e,t){this.areas.forEach((function(r,o){r.fill=e[o],r.stroke=t[o]}))},t.chartType="area",t.data=[[1,3,5],[2,6,4],[5,3,1]],t}(Ud),Cg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Og=function(e){function t(r,o,n,i,a){void 0===i&&(i=t.data),void 0===a&&(a="stackedAreaTooltip");var s=e.call(this,r,a)||this,l=s.size,c=s.padding,u=new Qr;u.domain=[0,1,2],u.paddingInner=1,u.paddingOuter=0,u.range=[c+.5,l-c-.5];var p=new wt;p.domain=[0,16],p.range=[l-c+.5,c+.5];var d=2*i.length-1,g=[];return i.forEach((function(e,t){var r=u.convert(t),o=0;e.forEach((function(e,n){var i=p.convert(o+e),a=g[n]||(g[n]=[]);a[t]={x:r,y:i},a[d-t]={x:r,y:p.convert(o)},o+=e}))})),s.areas=g.map((function(e){var t=new tr;t.strokeWidth=1;var r=t.path;return r.clear(),e.forEach((function(e,t){return r[t>0?"lineTo":"moveTo"](e.x,e.y)})),r.closePath(),t})),s.updateColors(o,n),s.root.append(s.areas),s}return Cg(t,e),t.prototype.updateColors=function(e,t){this.areas.forEach((function(r,o){r.fill=e[o],r.stroke=t[o]}))},t.chartType="stackedArea",t.data=[[2,3,2],[3,6,5],[6,2,2]],t}(Ud),Sg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Eg=function(e){function t(r,o,n,i){return void 0===i&&(i=t.data),e.call(this,r,o,n,i,"normalizedAreaTooltip")||this}return Sg(t,e),t.chartType="normalizedArea",t.data=Og.data.map((function(e){var t=e.reduce((function(e,t){return e+t}),0);return e.map((function(e){return e/t*16}))})),t}(Og),xg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Rg=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Tg=function(e){function t(t,r,o){var n=e.call(this,t,"histogramTooltip")||this,i=n.padding,a=n.size,s=[2,5,11,13,10,6,1],l=new wt;l.domain=[0,s.length],l.range=[i,a-i];var c=new wt;c.domain=[0,s.reduce((function(e,t){return Math.max(e,t)}),0)],c.range=[a-i,i];var u=c.convert(0);return n.bars=s.map((function(e,t){var r=c.convert(e),o=l.convert(t),n=l.convert(t+1),i=new ei;return i.x=o,i.y=r,i.width=n-o,i.height=u-r,i.strokeWidth=1,i.crisp=!0,i})),n.updateColors(r,o),n.root.append(n.bars),n}return xg(t,e),t.prototype.updateColors=function(e,t){var r=Rg(e,1)[0],o=Rg(t,1)[0];this.bars.forEach((function(e){e.fill=r,e.stroke=o}))},t.chartType="histogram",t}(Ud),Ag=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Pg=function(e){function t(t,r,o){var n=e.call(this,t,"columnLineComboTooltip")||this;n.columnData=[3,4],n.lineData=[[5,4,6,5,4]];var i=n,a=i.root,s=i.columnData,l=i.lineData,c=i.size,u=i.padding;return n.columns=Kd({stacked:!1,root:a,data:s,size:c,padding:u,xScaleDomain:[0,1],yScaleDomain:[0,4],xScalePadding:.5}),a.append(n.columns),n.lines=Yd(a,l,c,u),n.updateColors(r,o),n}return Ag(t,e),t.prototype.updateColors=function(e,t){this.columns.forEach((function(r,o){r.fill=e[o],r.stroke=t[o]})),this.lines.forEach((function(t,r){t.stroke=e[r+2]}))},t.chartType="columnLineCombo",t}(Ud),_g=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Dg=function(e){function t(t,r,o){var n=e.call(this,t,"areaColumnComboTooltip")||this;n.columnData=[3,4.5],n.areaData=[[5,4,6,5,4]];var i=n,a=i.root,s=i.columnData,l=i.areaData,c=i.size,u=i.padding;n.columns=Kd({stacked:!1,root:a,data:s,size:c,padding:u,xScaleDomain:[0,1],yScaleDomain:[0,6],xScalePadding:.5});var p=new Qr;p.range=[u,c-u],p.domain=[0,1,2,3,4],p.paddingInner=1,p.paddingOuter=0;var d=new wt;d.range=[c-u,u],d.domain=[0,6];var g=[],h=d.convert(0),f=p.convert(0);return l.forEach((function(e,t){var r=g[t]||(g[t]=[]);e.forEach((function(e,t){var o=e,n=t,i=p.convert(n),a=d.convert(o);r[t]={x:i,y:a}}));var o=p.convert(e.length-1);g[t].push({x:o,y:h},{x:f,y:h})})),n.areas=g.map((function(e){var t=new tr;t.strokeWidth=1,t.fillOpacity=.8;var r=t.path;return e.forEach((function(e,t){return r[t>0?"lineTo":"moveTo"](e.x,e.y)})),t})),a.append(n.areas),a.append([].concat.apply([],n.columns)),n.updateColors(r,o),n}return _g(t,e),t.prototype.updateColors=function(e,t){this.areas.forEach((function(r,o){r.fill=e[o],r.stroke=t[o]})),this.columns.forEach((function(r,o){r.fill=e[o+1],r.stroke=t[o+1]}))},t.chartType="areaColumnCombo",t}(Ud),Mg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ng=function(e){function t(t,r,o){var n=e.call(this,t,"customComboTooltip")||this;n.columnData=[3,4],n.lineData=[[5,4,6,5,4]];var i=n,a=i.root,s=i.columnData,l=i.lineData,c=i.size,u=i.padding;n.columns=Kd({stacked:!1,root:a,data:s,size:c,padding:u,xScaleDomain:[0,1],yScaleDomain:[0,4],xScalePadding:.5}),a.append(n.columns),n.lines=Yd(a,l,c,u);var p=new Zt;p.x1=u,p.y1=u,p.x2=u,p.y2=c-u+3,p.stroke="grey";var d=new Zt;d.x1=u-3+1,d.y1=c-u,d.x2=c-u+1,d.y2=c-u,d.stroke="grey";var g=new tr;return n.buildPenIconPath(g),g.fill="whitesmoke",g.stroke="darkslategrey",g.strokeWidth=1,a.append([d,p,g]),n.updateColors(r,o),n}return Mg(t,e),t.prototype.updateColors=function(e,t){this.columns.forEach((function(r,o){r.fill=e[o],r.stroke=t[o]})),this.lines.forEach((function(t,r){t.stroke=e[r+2]}))},t.prototype.buildPenIconPath=function(e){var t=e.path;t.moveTo(25.76,43.46),t.lineTo(31.27,48.53),t.moveTo(49.86,22),t.lineTo(49.86,22),t.cubicCurveTo(49.01994659053345,21.317514933510974,47.89593834348529,21.09645997825817,46.86,21.41),t.lineTo(46.86,21.41),t.cubicCurveTo(45.55460035985361,21.77260167850787,44.38777081121966,22.517979360321792,43.51,23.55),t.lineTo(25.51,43.8),t.lineTo(25.43,43.89),t.lineTo(23.01,51.89),t.lineTo(22.83,52.46),t.lineTo(31.02,48.86),t.lineTo(49.02,28.52),t.lineTo(49.02,28.52),t.cubicCurveTo(49.940716461596224,27.521914221246085,50.54302631059587,26.2720342455763,50.75,24.93),t.lineTo(50.75,24.93),t.cubicCurveTo(50.95363374988308,23.866379846512814,50.62080640232334,22.77066734274871,49.86,22),t.closePath(),t.moveTo(41.76,25.5),t.lineTo(47.34,30.5),t.moveTo(40.74,26.65),t.lineTo(46.25,31.71)},t.chartType="customCombo",t}(Vd),Ig=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Lg=function(){return(Lg=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},kg=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Fg={columnGroup:{column:qd,stackedColumn:Zd,normalizedColumn:$d},barGroup:{bar:tg,stackedBar:og,normalizedBar:ig},pieGroup:{pie:ug,doughnut:lg},lineGroup:{line:dg},scatterGroup:{scatter:fg,bubble:mg},areaGroup:{area:wg,stackedArea:Og,normalizedArea:Eg},histogramGroup:{histogram:Tg},combinationGroup:{columnLineCombo:Pg,areaColumnCombo:Dg,customCombo:Ng}},Gg=function(e){function t(r,o,i,a){void 0===a&&(a=n.DEFAULT_CHART_GROUPS);var s=e.call(this,t.TEMPLATE)||this;return s.wrappers={},s.chartController=r,s.fills=o,s.strokes=i,s.chartGroups=Lg({},a),s}return Ig(t,e),t.prototype.init=function(){var e=this;!this.chartController.customComboExists()&&this.chartGroups.combinationGroup&&(this.chartGroups.combinationGroup=this.chartGroups.combinationGroup.filter((function(e){return"customCombo"!==e})));var t=this.getGui();Object.keys(this.chartGroups).forEach((function(r){var o=e.chartGroups[r],i=e.createBean(new n.AgGroupComponent({title:e.chartTranslationService.translate(r),suppressEnabledCheckbox:!0,enabled:!0,suppressOpenCloseIcons:!0,cssIdentifier:"charts-settings",direction:"horizontal"}));o.forEach((function(t){var o=Fg[r][t];if(o){var n=document.createElement("div");n.classList.add("ag-chart-mini-thumbnail");var a=o.chartType;e.addManagedListener(n,"click",(function(){e.chartController.setChartType(a),e.updateSelectedMiniChart()})),e.wrappers[a]=n,e.createBean(new o(n,e.fills,e.strokes)),i.addItem(n)}else console.warn("AG Grid - invalid chart type '"+t+"' in group '"+r+"'")})),t.appendChild(i.getGui())})),this.updateSelectedMiniChart()},t.prototype.updateSelectedMiniChart=function(){var e=this.chartController.getChartType();for(var t in this.wrappers){var r=t===e;this.wrappers[t].classList.toggle("ag-selected",r)}},t.TEMPLATE='<div class="ag-chart-settings-mini-wrapper"></div>',kg([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),kg([n.PostConstruct],t.prototype,"init",null),t}(n.Component),jg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),zg=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Bg=function(e){function t(r){var o=e.call(this,t.TEMPLATE)||this;return o.miniCharts=[],o.cardItems=[],o.activePaletteIndex=0,o.palettes=[],o.themes=[],o.chartController=r,o}return jg(t,e),t.prototype.postConstruct=function(){var e=this;this.resetPalettes(),this.ePrevBtn.insertAdjacentElement("afterbegin",n._.createIconNoSpan("previous",this.gridOptionsWrapper)),this.eNextBtn.insertAdjacentElement("afterbegin",n._.createIconNoSpan("next",this.gridOptionsWrapper)),this.addManagedListener(this.ePrevBtn,"click",(function(){return e.setActivePalette(e.getPrev(),"left")})),this.addManagedListener(this.eNextBtn,"click",(function(){return e.setActivePalette(e.getNext(),"right")})),this.addManagedListener(this.chartController,Wp.EVENT_CHART_TYPE_CHANGED,(function(){return e.resetPalettes(!0)})),this.scrollSelectedIntoView()},t.prototype.scrollSelectedIntoView=function(){var e=this;setTimeout((function(){var t=e.miniCharts.find((function(e){return!e.getGui().classList.contains("ag-hidden")})).getGui().querySelector(".ag-selected");t&&t.scrollIntoView({block:"nearest"})}),250)},t.prototype.resetPalettes=function(e){var t,r,o=this,i=this.chartController.getPalettes(),a=null===(r=null===(t=this.gridOptionsWrapper.getChartToolPanelsDef())||void 0===t?void 0:t.settingsPanel)||void 0===r?void 0:r.chartGroupsDef;n._.shallowCompare(i,this.palettes)&&!e||this.isAnimating||(this.palettes=i,this.themes=this.chartController.getThemes(),this.activePaletteIndex=this.themes.findIndex((function(e){return e===o.chartController.getChartThemeName()})),this.cardItems=[],n._.clearElement(this.eCardSelector),this.destroyMiniCharts(),this.palettes.forEach((function(e,t){var r=o.activePaletteIndex===t,n=e.fills,i=e.strokes,s=o.createBean(new Gg(o.chartController,n,i,a));o.miniCharts.push(s),o.eMiniChartsContainer.appendChild(s.getGui()),o.addCardLink(t),r?s.updateSelectedMiniChart():s.addCssClass("ag-hidden")})),this.eNavBar.classList.toggle("ag-hidden",this.palettes.length<=1),n._.radioCssClass(this.cardItems[this.activePaletteIndex],"ag-selected","ag-not-selected"))},t.prototype.addCardLink=function(e){var t=this,r=document.createElement("div");r.classList.add("ag-chart-settings-card-item"),this.addManagedListener(r,"click",(function(){t.setActivePalette(e,e<t.activePaletteIndex?"left":"right")})),this.eCardSelector.appendChild(r),this.cardItems.push(r)},t.prototype.getPrev=function(){var e=this.activePaletteIndex-1;return e<0&&(e=this.palettes.length-1),e},t.prototype.getNext=function(){var e=this.activePaletteIndex+1;return e>=this.palettes.length&&(e=0),e},t.prototype.setActivePalette=function(e,t){var r=this;if(!this.isAnimating&&this.activePaletteIndex!==e){n._.radioCssClass(this.cardItems[e],"ag-selected","ag-not-selected");var o=this.miniCharts[this.activePaletteIndex],i=o.getGui(),a=this.miniCharts[e],s=a.getGui();o.updateSelectedMiniChart(),a.updateSelectedMiniChart();var l="left"===t?-1:1,c=s.style.left=n._.getAbsoluteWidth(this.getGui())*l+"px";this.activePaletteIndex=e,this.isAnimating=!0;a.removeCssClass("ag-hidden"),o.addCssClass("ag-animating"),a.addCssClass("ag-animating"),this.chartController.setChartThemeName(this.themes[e]),window.setTimeout((function(){i.style.left=-parseFloat(c)+"px",s.style.left="0px"}),0),window.setTimeout((function(){r.isAnimating=!1,o.removeCssClass("ag-animating"),a.removeCssClass("ag-animating"),o.addCssClass("ag-hidden")}),300)}},t.prototype.destroyMiniCharts=function(){n._.clearElement(this.eMiniChartsContainer),this.miniCharts=this.destroyBeans(this.miniCharts)},t.prototype.destroy=function(){this.destroyMiniCharts(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-chart-settings-wrapper">\n <div ref="eMiniChartsContainer" class="ag-chart-settings-mini-charts-container ag-scrollable-container"></div>\n <div ref="eNavBar" class="ag-chart-settings-nav-bar">\n <div ref="ePrevBtn" class="ag-chart-settings-prev">\n <button type="button" class="ag-chart-settings-prev-button"></button>\n </div>\n <div ref="eCardSelector" class="ag-chart-settings-card-selector"></div>\n <div ref="eNextBtn" class="ag-chart-settings-next">\n <button type="button" class="ag-chart-settings-next-button"></button>\n </div>\n </div>\n </div>',zg([Object(n.Autowired)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),zg([Object(n.RefSelector)("eMiniChartsContainer")],t.prototype,"eMiniChartsContainer",void 0),zg([Object(n.RefSelector)("eNavBar")],t.prototype,"eNavBar",void 0),zg([Object(n.RefSelector)("eCardSelector")],t.prototype,"eCardSelector",void 0),zg([Object(n.RefSelector)("ePrevBtn")],t.prototype,"ePrevBtn",void 0),zg([Object(n.RefSelector)("eNextBtn")],t.prototype,"eNextBtn",void 0),zg([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),Vg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Wg=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Hg=function(e){function t(t){var r=e.call(this)||this;r.tabs=[];var o=t.controller,n=t.panels,i=t.chartOptionsService;return r.chartController=o,r.chartOptionsService=i,r.panels=n,r}return Vg(t,e),t.prototype.init=function(){var e=this;this.panels.forEach((function(t){var r=t.replace("chart","").toLowerCase(),o=e.createTab(t,r,e.getPanelClass(r)),n=o.comp,i=o.tab;e.tabs.push(i),e.addDestroyFunc((function(){return e.destroyBean(n)}))})),this.tabbedLayout=new n.TabbedLayout({items:this.tabs,cssClass:"ag-chart-tabbed-menu",keepScrollPosition:!0}),this.getContext().createBean(this.tabbedLayout)},t.prototype.createTab=function(e,t,r){var o=document.createElement("div");o.classList.add("ag-chart-tab","ag-chart-"+t);var i=new r(this.chartController,this.chartOptionsService);this.getContext().createBean(i),o.appendChild(i.getGui());var a=document.createElement("div"),s=this.chartTranslationService.translate(t);return a.innerText=s,{comp:i,tab:{title:a,titleLabel:s,bodyPromise:n.AgPromise.resolve(o),getScrollableContainer:function(){return o.querySelector(".ag-scrollable-container")||o},name:e}}},t.prototype.showTab=function(e){var t=this.tabs[e];this.tabbedLayout.showItem(t)},t.prototype.getGui=function(){return this.tabbedLayout&&this.tabbedLayout.getGui()},t.prototype.destroy=function(){this.parentComponent&&this.parentComponent.isAlive()&&this.destroyBean(this.parentComponent),e.prototype.destroy.call(this)},t.prototype.getPanelClass=function(e){switch(e){case t.TAB_DATA:return qp;case t.TAB_FORMAT:return jd;default:return Bg}},t.TAB_DATA="data",t.TAB_FORMAT="format",Wg([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Wg([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Ug=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Kg=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Yg=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Xg=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Yg(arguments[t]));return e},qg=function(e){function t(r,o,n,i){var a=e.call(this,t.TEMPLATE)||this;return a.eChartContainer=r,a.eMenuPanelContainer=o,a.chartController=n,a.chartOptionsService=i,a.buttons={chartSettings:["menu",function(){return a.showMenu(a.defaultPanel)}],chartData:["menu",function(){return a.showMenu("chartData")}],chartFormat:["menu",function(){return a.showMenu("chartFormat")}],chartLink:["linked",function(e){return a.toggleDetached(e)}],chartUnlink:["unlinked",function(e){return a.toggleDetached(e)}],chartDownload:["save",function(){return a.saveChart()}]},a.panels=[],a.menuVisible=!1,a}return Ug(t,e),t.prototype.postConstruct=function(){var e=this;this.createButtons(),this.addManagedListener(this.eventService,n.Events.EVENT_CHART_CREATED,(function(t){var r;t.chartId===e.chartController.getChartId()&&(Boolean(null===(r=e.gridOptionsWrapper.getChartToolPanelsDef())||void 0===r?void 0:r.defaultToolPanel)&&e.showMenu(e.defaultPanel,!1))})),this.refreshMenuClasses(),this.gridOptionsWrapper.isEnableChartToolPanelsButton()&&(this.getGui().classList.add("ag-chart-tool-panel-button-enable"),this.addManagedListener(this.eHideButton,"click",this.toggleMenu.bind(this)))},t.prototype.isVisible=function(){return this.menuVisible},t.prototype.getToolbarOptions=function(){var e,t,r,o=this;if(Boolean(this.gridOptionsWrapper.getChartToolPanelsDef())){var i=[this.chartController.isChartLinked()?"chartLink":"chartUnlink","chartDownload"],a={defaultItems:i},s=(u=this.gridOptionsWrapper.getChartToolbarItemsFunc())?u(a).filter((function(e){if(!n.CHART_TOOLBAR_ALLOW_LIST.includes(e)){var t=n.CHART_TOOL_PANEL_ALLOW_LIST.includes(e)?"AG Grid: '"+e+"' is a Chart Tool Panel option and will be ignored since 'chartToolPanelsDef' is used. Please use 'chartToolPanelsDef.panels' grid option instead":"AG Grid: '"+e+"' is not a valid Chart Toolbar Option";return console.warn(t),!1}return!0})):i,l=null===(t=null===(e=this.gridOptionsWrapper.getChartToolPanelsDef())||void 0===e?void 0:e.panels)||void 0===t?void 0:t.map((function(e){var t=n.CHART_TOOL_PANEL_MENU_OPTIONS[e];return t||console.warn("AG Grid - invalid panel in chartToolPanelsDef.panels: '"+e+"'"),t})).filter((function(e){return Boolean(e)}));this.panels=l||Object.values(n.CHART_TOOL_PANEL_MENU_OPTIONS),this.chartController.isPivotChart()&&(this.panels=this.panels.filter((function(e){return"chartData"!==e})));var c=null===(r=this.gridOptionsWrapper.getChartToolPanelsDef())||void 0===r?void 0:r.defaultToolPanel;return this.defaultPanel=c&&n.CHART_TOOL_PANEL_MENU_OPTIONS[c]||this.panels[0],this.panels.length>0?Xg([this.panels[0]],s):s}var u,p=["chartSettings","chartData","chartFormat",this.chartController.isChartLinked()?"chartLink":"chartUnlink","chartDownload"];(u=this.gridOptionsWrapper.getChartToolbarItemsFunc())&&(p=u(a={defaultItems:p}).filter((function(e){return!!o.buttons[e]||(console.warn("AG Grid: '"+e+"' is not a valid Chart Toolbar Option"),!1)}))),this.chartController.isPivotChart()&&(p=p.filter((function(e){return"chartData"!==e})));var d=["chartUnlink","chartLink","chartDownload"];return this.panels=p.filter((function(e){return-1===d.indexOf(e)})),this.defaultPanel=this.panels[0],p.filter((function(e){return-1!==d.indexOf(e)||o.panels.length&&e===o.panels[0]}))},t.prototype.toggleDetached=function(e){var t=e.target,r=t.classList.contains("ag-icon-linked");t.classList.toggle("ag-icon-linked",!r),t.classList.toggle("ag-icon-unlinked",r);var o=r?"chartUnlinkToolbarTooltip":"chartLinkToolbarTooltip",n=this.chartTranslationService.translate(o);n&&(t.title=n),this.chartController.detachChartRange()},t.prototype.createButtons=function(){var e=this,t=this.getToolbarOptions(),r=this.eMenu;t.forEach((function(t){var o=e.buttons[t],i=Yg(o,2),a=i[0],s=i[1],l=n._.createIconNoSpan(a,e.gridOptionsWrapper,void 0,!0);l.classList.add("ag-chart-menu-icon");var c=e.chartTranslationService.translate(t+"ToolbarTooltip");c&&(l.title=c),e.addManagedListener(l,"click",s),r.appendChild(l)}))},t.prototype.saveChart=function(){var e={type:t.EVENT_DOWNLOAD_CHART};this.dispatchEvent(e)},t.prototype.createMenuPanel=function(e){var t=this,r=this.gridOptionsWrapper.chartMenuPanelWidth(),o=this.menuPanel=this.createBean(new n.AgPanel({minWidth:r,width:r,height:"100%",closable:!0,hideTitleBar:!0,cssIdentifier:"chart-menu"}));return o.setParentComponent(this),this.eMenuPanelContainer.appendChild(o.getGui()),this.tabbedMenu=this.createBean(new Hg({controller:this.chartController,type:this.chartController.getChartType(),panels:this.panels,chartOptionsService:this.chartOptionsService})),this.addManagedListener(o,n.Component.EVENT_DESTROYED,(function(){return t.destroyBean(t.tabbedMenu)})),new n.AgPromise((function(r){window.setTimeout((function(){o.setBodyComponent(t.tabbedMenu),t.tabbedMenu.showTab(e),t.addManagedListener(t.eChartContainer,"click",(function(e){t.getGui().contains(e.target)||t.menuVisible&&t.hideMenu()})),r(o)}),100)}))},t.prototype.showContainer=function(){this.menuPanel&&(this.menuVisible=!0,this.showParent(this.menuPanel.getWidth()),this.refreshMenuClasses())},t.prototype.toggleMenu=function(){this.menuVisible?this.hideMenu():this.showMenu()},t.prototype.showMenu=function(e,t){var r=this;void 0===t&&(t=!0),t||this.eMenuPanelContainer.classList.add("ag-no-transition");var o=e||this.defaultPanel,n=this.panels.indexOf(o);n<0&&(console.warn("AG Grid: '"+e+"' is not a valid Chart Tool Panel name"),n=this.panels.indexOf(this.defaultPanel)),this.menuPanel?(this.tabbedMenu.showTab(n),this.showContainer()):this.createMenuPanel(n).then(this.showContainer.bind(this)),t||setTimeout((function(){r.isAlive()&&r.eMenuPanelContainer.classList.remove("ag-no-transition")}),500)},t.prototype.hideMenu=function(){var e=this;this.hideParent(),window.setTimeout((function(){e.menuVisible=!1,e.refreshMenuClasses()}),500)},t.prototype.refreshMenuClasses=function(){this.eChartContainer.classList.toggle("ag-chart-menu-visible",this.menuVisible),this.eChartContainer.classList.toggle("ag-chart-menu-hidden",!this.menuVisible),this.gridOptionsWrapper.isEnableChartToolPanelsButton()&&(this.eHideButtonIcon.classList.toggle("ag-icon-contracted",this.menuVisible),this.eHideButtonIcon.classList.toggle("ag-icon-expanded",!this.menuVisible))},t.prototype.showParent=function(e){this.eMenuPanelContainer.style.minWidth=e+"px"},t.prototype.hideParent=function(){this.eMenuPanelContainer.style.minWidth="0"},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.menuPanel&&this.menuPanel.isAlive()&&this.destroyBean(this.menuPanel)},t.EVENT_DOWNLOAD_CHART="downloadChart",t.TEMPLATE='<div>\n <div class="ag-chart-menu" ref="eMenu"></div>\n <button class="ag-chart-menu-close" ref="eHideButton">\n <span class="ag-icon ag-icon-contracted" ref="eHideButtonIcon"></span>\n </button>\n </div>',Kg([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Kg([Object(n.RefSelector)("eMenu")],t.prototype,"eMenu",void 0),Kg([Object(n.RefSelector)("eHideButton")],t.prototype,"eHideButton",void 0),Kg([Object(n.RefSelector)("eHideButtonIcon")],t.prototype,"eHideButtonIcon",void 0),Kg([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),Qg=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Zg=function(){return(Zg=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Jg=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},$g=function(e){function t(r){var o=e.call(this,t.TEMPLATE)||this;return o.chartMenu=r,o}return Qg(t,e),t.prototype.init=function(){var e=this;this.addManagedListener(this.getGui(),"keypress",(function(t){"Enter"===t.key&&e.endEditing()})),this.addManagedListener(this.getGui(),"blur",this.endEditing.bind(this))},t.prototype.refreshTitle=function(e,t){var r=this;this.chartController=e,this.chartOptionsService=t;var o=this.chartController.getChartProxy();if(o){for(var n=0;n++;n<this.destroyableChartListeners.length)this.destroyableChartListeners[n]();this.destroyableChartListeners=[]}var i=o.getChart(),a=i.scene.canvas.element,s=this.addManagedListener(a,"dblclick",(function(e){var t=i.title;if(t&&t.node.containsPoint(e.offsetX,e.offsetY)){var o=t.node.computeBBox(),n=t.node.inverseTransformPoint(o.x,o.y);r.startEditing(Zg(Zg({},o),n))}})),l=!1,c=this.addManagedListener(a,"mousemove",(function(e){var t=i.title,r=!!(t&&t.enabled&&t.node.containsPoint(e.offsetX,e.offsetY));l!==r&&(a.style.cursor=r?"pointer":""),l=r}));this.destroyableChartListeners=[s,c]},t.prototype.startEditing=function(e){if(!this.chartMenu||!this.chartMenu.isVisible()){var t=this.chartController.getChartProxy().getChart().width,r=Math.max(Math.min(e.width+20,t),300),o=this.getGui();o.classList.add("currently-editing");var n=o.style;n.fontFamily=this.chartOptionsService.getChartOption("title.fontFamily"),n.fontWeight=this.chartOptionsService.getChartOption("title.fontWeight"),n.fontStyle=this.chartOptionsService.getChartOption("title.fontStyle"),n.fontSize=this.chartOptionsService.getChartOption("title.fontSize")+"px",n.color=this.chartOptionsService.getChartOption("title.color");var i=this.chartOptionsService.getChartOption("title.text"),a=i===this.chartTranslationService.translate("titlePlaceholder");o.value=a?"":i;var s=o.getBoundingClientRect();n.left=Math.round(e.x+e.width/2-r/2)+"px",n.top=Math.round(e.y+e.height/2-s.height/2)+"px",n.width=Math.round(r)+"px",o.focus()}},t.prototype.endEditing=function(){var e=this.getGui().value;this.chartOptionsService.setChartOption("title.text",e),this.eventService.dispatchEvent({type:"chartTitleEdit"}),this.getGui().classList.remove("currently-editing")},t.TEMPLATE='<input\n class="ag-chart-title-edit"\n style="padding:0; border:none; border-radius: 0; min-height: 0; text-align: center;" />\n ',Jg([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Jg([n.PostConstruct],t.prototype,"init",null),t}(n.Component);function eh(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ah(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function th(e,t,r){return e.concat(t).map((function(e){return eh(e,r)}))}function rh(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function oh(e,t){try{return t in e}catch(e){return!1}}function nh(e,t,r){var o={};return r.isMergeableObject(e)&&rh(e).forEach((function(t){o[t]=eh(e[t],r)})),rh(t).forEach((function(n){(function(e,t){return oh(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(oh(e,n)&&r.isMergeableObject(t[n])?o[n]=function(e,t){if(!t.customMerge)return ah;var r=t.customMerge(e);return"function"==typeof r?r:ah}(n,r)(e[n],t[n],r):o[n]=eh(t[n],r))})),o}function ih(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t}(e)}function ah(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||th,r.isMergeableObject=r.isMergeableObject||ih,r.cloneUnlessOtherwiseSpecified=eh;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):nh(e,t,r):eh(t,r)}var sh=function(){return(sh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},lh=function(){function e(e){if(this.chartProxyParams=e,this.chartType=e.chartType,this.crossFiltering=e.crossFiltering,this.crossFilterCallback=e.crossFilterCallback,this.standaloneChartType=zp(this.chartType),this.chartProxyParams.chartOptionsToRestore){this.chartOptions=this.chartProxyParams.chartOptionsToRestore,this.chartPalette=this.chartProxyParams.chartPaletteToRestore;var t={overrides:this.chartOptions,palette:this.chartPalette};this.chartTheme=nu(sh({baseTheme:this.getSelectedTheme()},t))}else this.chartTheme=this.createChartTheme(),this.chartOptions=this.convertConfigToOverrides(this.chartTheme.config),this.chartPalette=this.chartTheme.palette}return e.prototype.recreateChart=function(){var e=this;if(this.chart&&this.destroyChart(),this.chart=this.createChart(),this.crossFiltering){this.chart.addEventListener("click",(function(t){return e.crossFilterCallback(t,!0)}))}},e.prototype.getChart=function(){return this.chart},e.prototype.createChartTheme=function(){var t=this,r=this.getSelectedTheme(),o=this.isStockTheme(r),n=this.chartProxyParams.getGridOptionsChartThemeOverrides(),i=this.chartProxyParams.apiChartThemeOverrides;if(n||i){var a={overrides:e.mergeThemeOverrides(n,i)};return nu(o?sh({baseTheme:r},a):ah(t.lookupCustomChartTheme(r),a))}return nu(o?r:this.lookupCustomChartTheme(r))},e.prototype.isStockTheme=function(e){return n._.includes(Object.keys(ru),e)},e.prototype.getSelectedTheme=function(){var e=this.chartProxyParams.getChartThemeName(),t=this.chartProxyParams.getChartThemes();return n._.includes(t,e)||(e=t[0]),e},e.prototype.lookupCustomChartTheme=function(e){var t=this.chartProxyParams.customChartThemes,r=t&&t[e];return r||console.warn("AG Grid: no stock theme exists with the name '"+e+"' and no custom chart theme with that name was supplied to 'customChartThemes'"),r},e.mergeThemeOverrides=function(e,t){return e?t?ah(e,t):e:t},e.prototype.downloadChart=function(e,t,r){var o=this.chart,n=t||(o.title?o.title.text:"chart"),i=e||{},a=i.width,s=i.height;Dp.download(o,{width:a,height:s,fileName:n,fileFormat:r})},e.prototype.getChartImageDataURL=function(e){return this.chart.scene.getDataURL(e)},e.prototype.getChartOptions=function(){return this.chartOptions},e.prototype.getChartPalette=function(){return this.chartPalette},e.prototype.transformData=function(e,t,r){return r?e.map((function(e,r){var o=e[t],n=o&&o.toString?o.toString():"",i=sh({},e);return i[t]={id:r,value:o,toString:function(){return n}},i})):e},e.prototype.getCommonChartOptions=function(){var e=this,t=function(t){return n._.get(e.chartOptions,e.standaloneChartType+"."+t,void 0)};return{padding:t("padding"),background:t("background"),title:t("title"),subtitle:t("subtitle"),tooltip:t("tooltip"),legend:t("legend"),navigator:t("navigator")}},e.prototype.convertConfigToOverrides=function(e){var t=["columnLineCombo","areaColumnCombo","customCombo"].includes(this.chartType)?["line","area","column","cartesian"]:[this.standaloneChartType],r={};return t.forEach((function(t){var o=ah({},e[t]);o.series=o.series[t],"scatter"===t&&(o.paired=!0),r[t]=o})),r},e.prototype.destroy=function(){this.destroyChart()},e.prototype.destroyChart=function(){this.chart&&(this.chart.destroy(),this.chart=void 0)},e}(),ch=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),uh=function(){return(uh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},ph=function(e){function t(t){var r=e.call(this,t)||this;return r.supportsAxesUpdates=!0,r.axisTypeToClassMap={number:Xr,category:to,groupedCategory:vo,time:bn},r.crossFilteringAllPoints=new Set,r.crossFilteringSelectedPoints=[],r}return ch(t,e),t.prototype.createChart=function(){return Dp.create({container:this.chartProxyParams.parentElement,theme:this.chartTheme})},t.prototype.update=function(e){this.supportsAxesUpdates&&this.updateAxes(e);var t=uh(uh({},this.getCommonChartOptions()),{data:this.getData(e),axes:this.getAxes(e),series:this.getSeries(e)});this.crossFiltering&&(t=this.addCrossFilterOptions(t)),Dp.update(this.chart,t)},t.prototype.getDataTransformedData=function(e){var t="category"===this.xAxisType;return this.transformData(e.data,e.category.id,t)},t.prototype.addCrossFilterOptions=function(e){var t=this,r=this.extractSeriesOverrides();return e.tooltip=uh(uh({},e.tooltip),{delay:500}),e.legend=uh(uh(uh({},e.legend),r.legend),{listeners:{legendItemClick:function(e){t.chart.series.forEach((function(t){t.toggleSeriesItem(e.itemId,e.enabled),t.toggleSeriesItem(e.itemId+"-filtered-out",e.enabled)}))}}}),e},t.prototype.extractSeriesOverrides=function(e){var t=this.chartOptions[e||this.standaloneChartType].series;return delete t.yKeys,delete t.yNames,t},t.prototype.updateAxes=function(e){if(e.grouping)this.axisTypeToClassMap[this.xAxisType]!==vo&&(this.xAxisType="groupedCategory",this.recreateChart());else{var r=t.isTimeAxis(e)?"time":"category";r!==this.xAxisType&&(this.xAxisType=r,this.recreateChart())}},t.prototype.getAxesOptions=function(e){return void 0===e&&(e=this.standaloneChartType),this.chartOptions[e].axes},t.isTimeAxis=function(e){if(e.category&&e.category.chartDataType)return"time"===e.category.chartDataType;var t=e.data[0];return(t&&t[e.category.id])instanceof Date},t.prototype.crossFilteringReset=function(){this.crossFilteringSelectedPoints=[],this.crossFilteringAllPoints.clear()},t.prototype.crossFilteringPointSelected=function(e){return 0==this.crossFilteringSelectedPoints.length||this.crossFilteringSelectedPoints.includes(e)},t.prototype.crossFilteringDeselectedPoints=function(){return this.crossFilteringSelectedPoints.length>0&&this.crossFilteringAllPoints.size!==this.crossFilteringSelectedPoints.length},t.prototype.extractLineAreaCrossFilterSeries=function(e,t){var r=this;return e.map((function(e){var o,n=r.extractSeriesOverrides();return e.yKey=(o=e.yKey,"area"===r.standaloneChartType?t.getCrossFilteringContext().lastSelectedChartId===t.chartId?o+"-total":o:o+"-total"),e.listeners=uh(uh({},n.listeners),{nodeClick:function(t){var o=t.datum[e.xKey],n=t.event.metaKey||t.event.ctrlKey;r.crossFilteringAddSelectedPoint(n,o),r.crossFilterCallback(t)}}),e.marker={formatter:function(e){var o=e.datum[t.category.id];return{fill:e.highlighted?"yellow":e.fill,size:e.highlighted?14:r.crossFilteringPointSelected(o)?8:0}}},"area"===r.standaloneChartType&&(e.fillOpacity=r.crossFilteringDeselectedPoints()?.3:1),"line"===r.standaloneChartType&&(e.strokeOpacity=r.crossFilteringDeselectedPoints()?.3:1),e}))},t.prototype.getLineAreaCrossFilterData=function(e){var t=this;this.crossFilteringAllPoints.clear();var r=e.fields[0].colId,o=r+"-filtered-out",n=e.getCrossFilteringContext().lastSelectedChartId;return e.data.map((function(i){var a=i[e.category.id];t.crossFilteringAllPoints.add(a);var s=t.crossFilteringPointSelected(a);return"area"===t.standaloneChartType&&n===e.chartId&&(i[r+"-total"]=s?i[r]:i[r]+i[o]),"line"===t.standaloneChartType&&(i[r+"-total"]=s?i[r]:i[r]+i[o]),i}))},t.prototype.crossFilteringAddSelectedPoint=function(e,t){e?this.crossFilteringSelectedPoints.push(t):this.crossFilteringSelectedPoints=[t]},t}(lh);function dh(e,t){var r=parseInt(e.slice(1,3),16),o=parseInt(e.slice(3,5),16),n=parseInt(e.slice(5,7),16);return t?"rgba("+r+", "+o+", "+n+", "+t+")":"rgba("+r+", "+o+", "+n+")"}function gh(e,t){return e.map((function(e){var r=n.Color.fromString(e);return new n.Color(r.r,r.g,r.b,t).toHexString()}))}var hh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),fh=function(){return(fh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},vh=function(e){function t(t){var r=e.call(this,t)||this;return r.xAxisType=t.grouping?"groupedCategory":"category",r.yAxisType="number",r.recreateChart(),r}return hh(t,e),t.prototype.getData=function(e){return this.getDataTransformedData(e)},t.prototype.getAxes=function(){var e="bar"===this.standaloneChartType,t=this.getAxesOptions(),r=[fh(fh({},ah(t[this.xAxisType],t[this.xAxisType].bottom)),{type:this.xAxisType,position:e?Mr.Left:Mr.Bottom}),fh(fh({},ah(t[this.yAxisType],t[this.yAxisType].left)),{type:this.yAxisType,position:e?Mr.Bottom:Mr.Left})];if(this.isNormalised()){var o=r[1];o.label=fh(fh({},o.label),{formatter:function(e){return Math.round(e.value)+"%"}})}return r},t.prototype.getSeries=function(e){var t=this,r=!this.crossFiltering&&n._.includes(["groupedColumn","groupedBar"],this.chartType),o=e.fields.map((function(o){return fh(fh({},t.extractSeriesOverrides()),{type:t.standaloneChartType,grouped:r,normalizedTo:t.isNormalised()?100:void 0,xKey:e.category.id,xName:e.category.name,yKey:o.colId,yName:o.displayName})}));return this.crossFiltering?this.extractCrossFilterSeries(o):o},t.prototype.extractCrossFilterSeries=function(e){for(var t,r,o=this,n=this.chartTheme.palette,i=function(e){var t=e.yKey+"-filtered-out";return fh(fh({},ah({},e)),{yKey:t,fill:dh(e.fill,"0.3"),stroke:dh(e.stroke,"0.3"),hideInLegend:[t]})},a=[],s=0;s<e.length;s++){var l=(t=e[s],r=s,fh(fh({},t),{highlightStyle:{item:{fill:void 0}},fill:n.fills[r],stroke:n.strokes[r],listeners:fh(fh({},o.extractSeriesOverrides().listeners),{nodeClick:o.crossFilterCallback})}));a.push(l),a.push(i(l))}return a},t.prototype.isNormalised=function(){return!this.crossFiltering&&n._.includes(["normalizedColumn","normalizedBar"],this.chartType)},t}(ph),yh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),mh=function(){return(mh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},bh=function(e){function t(t){var r=e.call(this,t)||this;return r.xAxisType=t.grouping?"groupedCategory":"category",r.yAxisType="number",r.recreateChart(),r}return yh(t,e),t.prototype.getData=function(e){return this.crossFiltering?this.getLineAreaCrossFilterData(e):this.getDataTransformedData(e)},t.prototype.getAxes=function(){var e=this.getAxesOptions();return[mh(mh({},ah(e[this.xAxisType],e[this.xAxisType].bottom)),{type:this.xAxisType,position:Mr.Bottom}),mh(mh({},ah(e[this.yAxisType],e[this.yAxisType].left)),{type:this.yAxisType,position:Mr.Left})]},t.prototype.getSeries=function(e){var t=this,r=e.fields.map((function(r){return mh(mh({},t.extractSeriesOverrides()),{type:t.standaloneChartType,xKey:e.category.id,xName:e.category.name,yKey:r.colId,yName:r.displayName,normalizedTo:"normalizedArea"===t.chartType?100:void 0,stacked:["normalizedArea","stackedArea"].includes(t.chartType)})}));return this.crossFiltering?this.extractLineAreaCrossFilterSeries(r,e):r},t}(ph),wh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ch=function(){return(Ch=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Oh=function(e){function t(t){var r=e.call(this,t)||this;return r.xAxisType=t.grouping?"groupedCategory":"category",r.yAxisType="number",r.recreateChart(),r}return wh(t,e),t.prototype.getData=function(e){return this.crossFiltering?this.getLineAreaCrossFilterData(e):this.getDataTransformedData(e)},t.prototype.getAxes=function(){var e=this.getAxesOptions();return[Ch(Ch({},ah(e[this.xAxisType],e[this.xAxisType].bottom)),{type:this.xAxisType,position:Mr.Bottom}),Ch(Ch({},ah(e[this.yAxisType],e[this.yAxisType].left)),{type:this.yAxisType,position:Mr.Left})]},t.prototype.getSeries=function(e){var t=this,r=e.fields.map((function(r){return Ch(Ch({},t.extractSeriesOverrides()),{type:t.standaloneChartType,xKey:e.category.id,xName:e.category.name,yKey:r.colId,yName:r.displayName})}));return this.crossFiltering?this.extractLineAreaCrossFilterSeries(r,e):r},t}(ph),Sh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Eh=function(){return(Eh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},xh=function(e){function t(t){var r=e.call(this,t)||this;return r.recreateChart(),r}return Sh(t,e),t.prototype.createChart=function(){return Dp.create({type:"pie",container:this.chartProxyParams.parentElement,theme:this.chartTheme})},t.prototype.update=function(e){var t=e.data,r=e.category,o=Eh(Eh({},this.getCommonChartOptions()),{data:this.crossFiltering?this.getCrossFilterData(e):this.transformData(t,r.id),series:this.getSeries(e)});this.crossFiltering&&(o=this.getCrossFilterChartOptions(o)),Dp.update(this.chart,o)},t.prototype.getSeries=function(e){var r=this,o=e.fields.length,n={currentOffset:0,offsetAmount:o>1?20:40},i=this.getFields(e).map((function(i){var a=r.extractSeriesOverrides(),s=Eh(Eh({},a),{type:r.standaloneChartType,angleKey:i.colId,angleName:i.displayName,calloutLabelKey:e.category.id,calloutLabelName:e.category.name});if("doughnut"===r.chartType){var l=t.calculateOffsets(n),c=l.outerRadiusOffset,u=l.innerRadiusOffset;return Eh(Eh({},s),{outerRadiusOffset:c,innerRadiusOffset:u,title:Eh(Eh({},a.title),{text:a.title.text||i.displayName,showInLegend:o>1}),calloutLine:Eh(Eh({},a.calloutLine),{colors:r.chartTheme.palette.strokes})})}return s}));return this.crossFiltering?this.extractCrossFilterSeries(i):i},t.prototype.getCrossFilterChartOptions=function(e){var t=this,r=this.extractSeriesOverrides();return Eh(Eh({},e),{tooltip:Eh(Eh({},r.tooltip),{delay:500}),legend:Eh(Eh({},r.legend),{listeners:{legendItemClick:function(e){t.chart.series.forEach((function(t){return t.toggleSeriesItem(e.itemId,e.enabled)}))}}})})},t.prototype.getCrossFilterData=function(e){var t=e.fields[0].colId,r=t+"-filtered-out";return e.data.map((function(e){var o=e[t]+e[r];return e[t+"-total"]=o,e[r]=1,e[t]=e[t]/o,e}))},t.prototype.extractCrossFilterSeries=function(e){var t,r=this,o=this.chartTheme.palette,n=this.extractSeriesOverrides(),i=e[0],a=i.angleKey,s=Eh(Eh({},t=i),{calloutLabel:{enabled:!1},highlightStyle:{item:{fill:void 0}},radiusKey:t.angleKey,angleKey:t.angleKey+"-total",radiusMin:0,radiusMax:1,listeners:Eh(Eh({},n.listeners),{nodeClick:r.crossFilterCallback}),tooltip:Eh(Eh({},n.tooltip),{renderer:r.getCrossFilterTooltipRenderer(""+t.angleName)})});return[function(e,t){var r,i,a;return Eh(Eh({},ah({},s)),{radiusKey:t+"-filtered-out",calloutLabel:n.calloutLabel,calloutLine:n.calloutLine&&Eh(Eh({},n.calloutLine),{colors:(r=n.calloutLine.colors,null!=r?r:o.strokes)}),fills:gh((i=e.fills,null!=i?i:o.fills),.3),strokes:gh((a=e.strokes,null!=a?a:o.strokes),.3),showInLegend:!1})}(i,a),s]},t.calculateOffsets=function(e){var t=e.currentOffset;e.currentOffset-=e.offsetAmount;var r=e.currentOffset;return e.currentOffset-=e.offsetAmount,{outerRadiusOffset:t,innerRadiusOffset:r}},t.prototype.getFields=function(e){return"pie"===this.chartType?e.fields.slice(0,1):e.fields},t.prototype.getCrossFilterTooltipRenderer=function(e){return function(t){var r=t.datum[t.calloutLabelKey],o=t.datum[t.radiusKey],n=t.angleValue;return{title:e,content:r+": "+n*o}}},t.prototype.extractSeriesOverrides=function(){return this.chartOptions[this.standaloneChartType].series},t.prototype.crossFilteringReset=function(){},t}(lh),Rh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Th=function(){return(Th=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Ah=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ph=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},_h=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ph(arguments[t]));return e},Dh=function(e){function t(t){var r=e.call(this,t)||this;return r.supportsAxesUpdates=!1,r.xAxisType="number",r.yAxisType="number",r.recreateChart(),r}return Rh(t,e),t.prototype.getData=function(e){return this.getDataTransformedData(e)},t.prototype.getAxes=function(){var e=this.getAxesOptions();return[Th(Th({},ah(e[this.xAxisType],e[this.xAxisType].bottom)),{type:this.xAxisType,position:Mr.Bottom}),Th(Th({},ah(e[this.yAxisType],e[this.yAxisType].left)),{type:this.yAxisType,position:Mr.Left})]},t.prototype.getSeries=function(e){var t=this,r=this.chartOptions[this.standaloneChartType].paired,o=this.getSeriesDefinitions(e.fields,r),n=e.category.id===g.DEFAULT_CATEGORY?void 0:e.category,i=o.map((function(e){return Th(Th({},t.extractSeriesOverrides()),{type:t.standaloneChartType,xKey:e.xField.colId,xName:e.xField.displayName,yKey:e.yField.colId,yName:e.yField.displayName,title:e.yField.displayName+" vs "+e.xField.displayName,sizeKey:e.sizeField?e.sizeField.colId:void 0,sizeName:e.sizeField?e.sizeField.displayName:void 0,labelKey:n?n.id:e.yField.colId,labelName:n?n.name:void 0})}));return this.crossFiltering?this.extractCrossFilterSeries(i,e):i},t.prototype.extractCrossFilterSeries=function(e,t){var r=this,o=t.data,n=this.chartTheme.palette,i=function(e){return e+"-filtered-out"},a=e.map((function(e,t){var a=e.sizeKey,s=n.fills[t],l=n.strokes[t],c=function(e,t){var r,o,n,a=[1/0,-1/0];if(null!=t)try{for(var s=Ah(e),l=s.next();!l.done;l=s.next()){var c=l.value,u=null!=(n=c[t])?n:c[i(t)];u<a[0]&&(a[0]=u),u>a[1]&&(a[1]=u)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}if(a[0]<=a[1])return a}(o,a),u=Th(Th({},e.marker),{fill:s,stroke:l,domain:c});return Th(Th({},e),{marker:u,highlightStyle:{item:{fill:"yellow"}},listeners:Th(Th({},e.listeners),{nodeClick:r.crossFilterCallback})})}));return _h(a,a.map((function(e){var t=e.sizeKey,o=e.yKey,n=e.xKey;return null!=t&&(t=i(t)),Th(Th({},e),{yKey:i(o),xKey:i(n),marker:Th(Th({},e.marker),{fillOpacity:.3,strokeOpacity:.3}),sizeKey:t,showInLegend:!1,listeners:Th(Th({},e.listeners),{nodeClick:function(e){var t,o=e.datum[i(n)],a=Th(Th({},e),{xKey:n,datum:Th(Th({},e.datum),(t={},t[n]=o,t))});r.crossFilterCallback(a)}})})})))},t.prototype.getSeriesDefinitions=function(e,t){if(e.length<2)return[];var r="bubble"===this.chartType;if(t)return r?e.map((function(t,r){return r%3==0?{xField:t,yField:e[r+1],sizeField:e[r+2]}:null})).filter((function(e){return e&&e.yField&&e.sizeField})):e.map((function(t,r){return r%2==0?{xField:t,yField:e[r+1]}:null})).filter((function(e){return e&&e.yField}));var o=e[0];return r?e.map((function(t,r){return r%2==1?{xField:o,yField:t,sizeField:e[r+1]}:null})).filter((function(e){return e&&e.sizeField})):e.filter((function(e,t){return t>0})).map((function(e){return{xField:o,yField:e}}))},t}(ph),Mh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Nh=function(){return(Nh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Ih=function(e){function t(t){var r=e.call(this,t)||this;return r.supportsAxesUpdates=!1,r.xAxisType="number",r.yAxisType="number",r.recreateChart(),r}return Mh(t,e),t.prototype.getData=function(e){return this.getDataTransformedData(e)},t.prototype.getSeries=function(e){var t=e.fields[0];return[Nh(Nh({},this.extractSeriesOverrides()),{type:this.standaloneChartType,xKey:t.colId,xName:t.displayName,yName:this.chartProxyParams.translate("histogramFrequency"),areaPlot:!1})]},t.prototype.getAxes=function(){var e=this.getAxesOptions();return[Nh(Nh({},ah(e[this.xAxisType],e[this.xAxisType].bottom)),{type:this.xAxisType,position:Mr.Bottom}),Nh(Nh({},ah(e[this.yAxisType],e[this.yAxisType].left)),{type:this.yAxisType,position:Mr.Left})]},t}(ph),Lh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),kh=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Fh=function(e){function t(t){var r=e.call(this)||this;return r.chartController=t,r}return Lh(t,e),t.prototype.getChartOption=function(e){return n._.get(this.getChart(),e,void 0)},t.prototype.setChartOption=function(e,t){var r=this,o=this.chartController.getChartSeriesTypes();this.chartController.isComboChart()&&o.push("cartesian"),o.forEach((function(o){var i=n._.get(r.getChartOptions(),""+o,void 0);n._.set(i,e,t)})),this.updateChart(),this.raiseChartOptionsChangedEvent()},t.prototype.getAxisProperty=function(e){return n._.get(this.getChart().axes[0],e,void 0)},t.prototype.setAxisProperty=function(e,t){var r=this;this.getChart().axes.forEach((function(o){r.updateAxisOptions(o,e,t)})),this.updateChart(),this.raiseChartOptionsChangedEvent()},t.prototype.getLabelRotation=function(e){var t=this.getAxis(e);return n._.get(t,"label.rotation",void 0)},t.prototype.setLabelRotation=function(e,t){var r=this.getAxis(e);r&&(this.updateAxisOptions(r,"label.rotation",t),this.updateChart(),this.raiseChartOptionsChangedEvent())},t.prototype.getSeriesOption=function(e,r){var o=this.getChart().series.find((function(e){return t.isMatchingSeries(r,e)}));return n._.get(o,e,void 0)},t.prototype.setSeriesOption=function(e,t,r){var o=this.getChartOptions();o[r]||(o[r]={}),n._.set(o[r].series,e,t),this.updateChart(),this.raiseChartOptionsChangedEvent()},t.prototype.getPairedMode=function(){var e=zp(this.getChartType());return n._.get(this.getChartOptions(),e+".paired",void 0)},t.prototype.setPairedMode=function(e){var t=zp(this.getChartType()),r=n._.get(this.getChartOptions(),""+t,void 0);n._.set(r,"paired",e)},t.prototype.getAxis=function(e){var t=this.getChart();if(t.axes&&!(t.axes.length<1))return"xAxis"===e?t.axes&&"x"===t.axes[0].direction?t.axes[0]:t.axes[1]:t.axes&&"y"===t.axes[1].direction?t.axes[1]:t.axes[0]},t.prototype.updateAxisOptions=function(e,t,r){var o=zp(this.getChartType()),i=this.getChartOptions()[o].axes;e instanceof Xr?n._.set(i.number,t,r):e instanceof to?n._.set(i.category,t,r):e instanceof bn?n._.set(i.time,t,r):e instanceof vo&&n._.set(i.groupedCategory,t,r)},t.prototype.getChartType=function(){return this.chartController.getChartType()},t.prototype.getChart=function(){return this.chartController.getChartProxy().getChart()},t.prototype.getChartOptions=function(){return this.chartController.getChartProxy().getChartOptions()},t.prototype.updateChart=function(){var e=this.chartController.getChartUpdateParams();this.chartController.getChartProxy().update(e)},t.prototype.raiseChartOptionsChangedEvent=function(){var e=this.chartController.getChartModel(),t=Object.freeze({type:n.Events.EVENT_CHART_OPTIONS_CHANGED,chartId:e.chartId,chartType:e.chartType,chartThemeName:e.chartThemeName,chartOptions:e.chartOptions});this.eventService.dispatchEvent(t)},t.isMatchingSeries=function(e,t){return"area"===e&&t instanceof Ds||("bar"===e&&t instanceof Hs||("column"===e&&t instanceof Hs||("histogram"===e&&t instanceof wl||("line"===e&&t instanceof $s||("pie"===e&&t instanceof fc||"scatter"===e&&t instanceof sl)))))},t.prototype.destroy=function(){e.prototype.destroy.call(this)},kh([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),kh([Object(n.Autowired)("columnApi")],t.prototype,"columnApi",void 0),t}(n.BeanStub),Gh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),jh=function(){return(jh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},zh=function(e){function t(t){var r=e.call(this,t)||this;return r.xAxisType=t.grouping?"groupedCategory":"category",r.yAxisType="number",r.recreateChart(),r}return Gh(t,e),t.prototype.getData=function(e){return this.getDataTransformedData(e)},t.prototype.getAxes=function(e){var t,r=this,o=e?e.fields:[],n=new Map(o.map((function(e){return[e.colId,e]}))),i=this.getYKeys(o,e.seriesChartTypes),a=i.primaryYKeys,s=i.secondaryYKeys,l=this.getAxisOptions(),c=l.bottomOptions,u=l.leftOptions,p=l.rightOptions,d=[jh(jh({},c),{type:this.xAxisType,position:Mr.Bottom,gridStyle:[{stroke:void 0}]})];return a.length>0&&d.push(jh(jh({},u),{type:this.yAxisType,keys:a,position:Mr.Left,title:jh({},ah(u.title,{enabled:null===(t=u.title)||void 0===t?void 0:t.enabled,text:a.map((function(e){var t=n.get(e);return t?t.displayName:e})).join(" / ")}))})),s.length>0&&s.forEach((function(e,t){var o,i=n.get(e);if(i&&i.colId===e){var l=jh(jh({},p),{type:r.yAxisType,keys:[e],position:Mr.Right,title:jh({},ah(p.title,{enabled:null===(o=p.title)||void 0===o?void 0:o.enabled,text:i?i.displayName:e}))}),c=a.some((function(e){return!!n.get(e)})),u=t===s.length-1;!c&&u||(l.gridStyle=[{stroke:void 0}]),d.push(l)}})),d},t.prototype.getSeries=function(e){var t=this,r=e.fields,o=e.category,n=e.seriesChartTypes;return r.map((function(e){var r=n.find((function(t){return t.colId===e.colId}));if(r){var i=r.chartType;return jh(jh({},t.extractSeriesOverrides(zp(r.chartType))),{type:zp(i),xKey:o.id,yKey:e.colId,yName:e.displayName,grouped:["groupedColumn","groupedBar","groupedArea"].includes(i),stacked:["stackedArea","stackedColumn"].includes(i)})}}))},t.prototype.getAxisOptions=function(){var e=this.getAxesOptions("cartesian");return{bottomOptions:ah(e[this.xAxisType],e[this.xAxisType].bottom),leftOptions:ah(e[this.yAxisType],e[this.yAxisType].left),rightOptions:ah(e[this.yAxisType],e[this.yAxisType].right)}},t.prototype.getYKeys=function(e,t){var r=[],o=[];return e.forEach((function(e){var n=e.colId,i=t.find((function(e){return e.colId===n}));i&&(i.secondaryAxis?o.push(n):r.push(n))})),{primaryYKeys:r,secondaryYKeys:o}},t}(ph),Bh=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Vh=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Wh=function(e){function t(r){var o=e.call(this,t.TEMPLATE)||this;return o.params=r,o}return Bh(t,e),t.prototype.init=function(){var e=this,t=this.gridOptionsWrapper.getChartThemes();if(t.length<1)throw new Error("Cannot create chart: no chart themes are available to be used.");var r=this.params.chartThemeName;n._.includes(t,r)||(r=t[0]);var o={chartId:this.params.chartId,pivotChart:this.params.pivotChart,chartType:this.params.chartType,chartThemeName:r,aggFunc:this.params.aggFunc,cellRange:this.params.cellRange,suppressChartRanges:this.params.suppressChartRanges,unlinkChart:this.params.unlinkChart,crossFiltering:this.params.crossFiltering,seriesChartTypes:this.params.seriesChartTypes},i=this.gridOptionsWrapper.isEnableRtl();this.addCssClass(i?"ag-rtl":"ag-ltr");var a=this.createBean(new g(o));this.chartController=this.createManagedBean(new Wp(a)),this.validateCustomThemes(),this.createChart(),this.params.insideDialog&&this.addDialog(),this.addMenu(),this.addTitleEditComp(),this.addManagedListener(this.getGui(),"focusin",this.setActiveChartCellRange.bind(this)),this.addManagedListener(this.chartController,Wp.EVENT_CHART_MODEL_UPDATE,this.update.bind(this)),this.chartMenu&&this.addManagedListener(this.chartMenu,qg.EVENT_DOWNLOAD_CHART,(function(){return e.downloadChart()})),this.update(),this.raiseChartCreatedEvent()},t.prototype.validateCustomThemes=function(){var e=this.gridOptionsWrapper.getChartThemes(),t=this.gridOptionsWrapper.getCustomChartThemes();t&&n._.getAllKeysInObjects([t]).forEach((function(t){n._.includes(e,t)||console.warn("AG Grid: a custom chart theme with the name '"+t+"' has been supplied but not added to the 'chartThemes' list")}))},t.prototype.createChart=function(){var e=this;this.chartProxy&&this.chartProxy.destroy();var r=this.chartController.getChartType(),o={chartType:r,getChartThemeName:this.getChartThemeName.bind(this),getChartThemes:this.getChartThemes.bind(this),customChartThemes:this.gridOptionsWrapper.getCustomChartThemes(),getGridOptionsChartThemeOverrides:this.getGridOptionsChartThemeOverrides.bind(this),apiChartThemeOverrides:this.params.chartThemeOverrides,crossFiltering:this.params.crossFiltering,crossFilterCallback:function(t,r){e.params.crossFilteringContext.lastSelectedChartId=r?"":e.chartController.getChartId(),r&&e.params.crossFilteringResetCallback(),e.crossFilterService.filter(t,r)},parentElement:this.eChart,grouping:this.chartController.isGrouping(),chartOptionsToRestore:this.params.chartOptionsToRestore,chartPaletteToRestore:this.params.chartPaletteToRestore,seriesChartTypes:this.chartController.getSeriesChartTypes(),translate:function(t,r){return e.chartTranslationService.translate(t,r)}};if(this.params.chartOptionsToRestore=void 0,this.chartType=r,this.chartThemeName=this.chartController.getChartThemeName(),this.chartProxy=t.createChartProxy(o),this.chartProxy){var n=this.eChart.querySelector("canvas");n&&n.classList.add("ag-charts-canvas"),this.chartController.setChartProxy(this.chartProxy),this.chartOptionsService=this.createBean(new Fh(this.chartController)),this.titleEdit&&this.titleEdit.refreshTitle(this.chartController,this.chartOptionsService)}else console.warn("AG Grid: invalid chart type supplied: ",o.chartType)},t.prototype.getChartThemeName=function(){return this.chartController.getChartThemeName()},t.prototype.getChartThemes=function(){return this.chartController.getThemes()},t.prototype.getGridOptionsChartThemeOverrides=function(){return this.gridOptionsWrapper.getChartThemeOverrides()},t.createChartProxy=function(e){switch(e.chartType){case"column":case"bar":case"groupedColumn":case"stackedColumn":case"normalizedColumn":case"groupedBar":case"stackedBar":case"normalizedBar":return new vh(e);case"pie":case"doughnut":return new xh(e);case"area":case"stackedArea":case"normalizedArea":return new bh(e);case"line":return new Oh(e);case"scatter":case"bubble":return new Dh(e);case"histogram":return new Ih(e);case"columnLineCombo":case"areaColumnCombo":case"customCombo":return new zh(e);default:throw"AG Grid: Unable to create chart as an invalid chartType = '"+e.chartType+"' was supplied."}},t.prototype.addDialog=function(){var e=this,t=this.chartTranslationService.translate(this.params.pivotChart?"pivotChartTitle":"rangeChartTitle"),r=this.getBestDialogSize(),o=r.width,i=r.height;this.chartDialog=new n.AgDialog({resizable:!0,movable:!0,maximizable:!0,title:t,width:o,height:i,component:this,centered:!0,closable:!0}),this.getContext().createBean(this.chartDialog),this.chartDialog.addEventListener(n.AgDialog.EVENT_DESTROYED,(function(){return e.destroy()}))},t.prototype.getBestDialogSize=function(){var e=this.popupService.getPopupParent(),t=.75*n._.getAbsoluteWidth(e),r=.75*n._.getAbsoluteHeight(e),o=this.chartProxy.getChart(),i=this.params.insideDialog?850:o.width,a=this.params.insideDialog?470:o.height;return(i>t||a>r)&&(i=Math.min(i,t),(a=Math.round(.553*i))>r&&(a=r,i=Math.min(i,Math.round(a/.553)))),{width:i,height:a}},t.prototype.addMenu=function(){this.params.crossFiltering||(this.chartMenu=this.createBean(new qg(this.eChartContainer,this.eMenuContainer,this.chartController,this.chartOptionsService)),this.eChartContainer.appendChild(this.chartMenu.getGui()))},t.prototype.addTitleEditComp=function(){this.titleEdit=this.createBean(new $g(this.chartMenu)),this.eTitleEditContainer.appendChild(this.titleEdit.getGui()),this.chartProxy&&this.titleEdit.refreshTitle(this.chartController,this.chartOptionsService)},t.prototype.update=function(){this.shouldRecreateChart()&&this.createChart(),this.updateChart()},t.prototype.shouldRecreateChart=function(){return this.chartType!==this.chartController.getChartType()||this.chartThemeName!==this.chartController.getChartThemeName()},t.prototype.getCurrentChartType=function(){return this.chartType},t.prototype.getChartModel=function(){return this.chartController.getChartModel()},t.prototype.getChartImageDataURL=function(e){return this.chartProxy.getChartImageDataURL(e)},t.prototype.updateChart=function(){var e=this,t=this.chartProxy,r=this.chartController.getSelectedValueColState().map((function(e){return{colId:e.colId,displayName:e.displayName}})),o=this.chartController.getChartData();if(!this.handleEmptyChart(o,r)){var n=this.chartController.getChartUpdateParams();t.update(n),this.chartProxy.getChart().waitForUpdate().then((function(){e.chartController.raiseChartUpdatedEvent()})),this.titleEdit.refreshTitle(this.chartController,this.chartOptionsService)}},t.prototype.handleEmptyChart=function(e,t){var r=this.chartController.isPivotChart()&&!this.chartController.isPivotMode(),o=1;this.chartController.isActiveXYChart()&&(o="bubble"===this.chartController.getChartType()?3:2);var i=t.length<o||0===e.length;if(this.eChart){var a=r||i;n._.setDisplayed(this.eChart,!a),n._.setDisplayed(this.eEmpty,a)}return r?(this.eEmpty.innerText=this.chartTranslationService.translate("pivotChartRequiresPivotMode"),!0):!!i&&(this.eEmpty.innerText=this.chartTranslationService.translate("noDataToChart"),!0)},t.prototype.downloadChart=function(e,t,r){this.chartProxy.downloadChart(e,t,r)},t.prototype.openChartToolPanel=function(e){var t=e?n.CHART_TOOL_PANEL_MENU_OPTIONS[e]:e;this.chartMenu.showMenu(t)},t.prototype.closeChartToolPanel=function(){this.chartMenu.hideMenu()},t.prototype.getChartId=function(){return this.chartController.getChartId()},t.prototype.getUnderlyingChart=function(){return this.chartProxy.getChart()},t.prototype.crossFilteringReset=function(){this.chartProxy.crossFilteringReset()},t.prototype.setActiveChartCellRange=function(e){this.getGui().contains(e.relatedTarget)||(this.chartController.setChartRange(!0),this.gridApi.focusService.clearFocusedCell())},t.prototype.raiseChartCreatedEvent=function(){var e=this,t=Object.freeze({type:n.Events.EVENT_CHART_CREATED,chartId:this.chartController.getChartId()});this.chartProxy.getChart().waitForUpdate().then((function(){e.eventService.dispatchEvent(t)}))},t.prototype.raiseChartDestroyedEvent=function(){var e=Object.freeze({type:n.Events.EVENT_CHART_DESTROYED,chartId:this.chartController.getChartId()});this.eventService.dispatchEvent(e)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.chartProxy&&this.chartProxy.destroy(),this.destroyBean(this.chartMenu),this.chartDialog&&this.chartDialog.isAlive()&&this.destroyBean(this.chartDialog);var t=this.getGui();n._.clearElement(t),n._.removeFromParent(t),this.raiseChartDestroyedEvent()},t.TEMPLATE='<div class="ag-chart" tabindex="-1">\n <div ref="eChartContainer" tabindex="-1" class="ag-chart-components-wrapper">\n <div ref="eChart" class="ag-chart-canvas-wrapper"></div>\n <div ref="eEmpty" class="ag-chart-empty-text ag-unselectable"></div>\n </div>\n <div ref="eTitleEditContainer"></div>\n <div ref="eMenuContainer" class="ag-chart-docked-container"></div>\n </div>',Vh([Object(n.RefSelector)("eChart")],t.prototype,"eChart",void 0),Vh([Object(n.RefSelector)("eChartContainer")],t.prototype,"eChartContainer",void 0),Vh([Object(n.RefSelector)("eMenuContainer")],t.prototype,"eMenuContainer",void 0),Vh([Object(n.RefSelector)("eEmpty")],t.prototype,"eEmpty",void 0),Vh([Object(n.RefSelector)("eTitleEditContainer")],t.prototype,"eTitleEditContainer",void 0),Vh([Object(n.Autowired)("chartCrossFilterService")],t.prototype,"crossFilterService",void 0),Vh([Object(n.Autowired)("chartTranslationService")],t.prototype,"chartTranslationService",void 0),Vh([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),Vh([Object(n.Autowired)("popupService")],t.prototype,"popupService",void 0),Vh([n.PostConstruct],t.prototype,"init",null),t}(n.Component),Hh=["number","category","groupedCategory","log","time"];var Uh=function(){return(Uh=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Kh=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},Yh=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Xh=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function qh(e){e.version;return null==e.version&&(e.version=function(e){var t,r,o,n,i,a,s,l,c=e;if(null!=e.version)return e.version;var u=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Object.keys(e||{}).some((function(e){return t.includes(e)}))},p=c.chartOptions,d=u(p,"seriesDefaults")?null===(t=p)||void 0===t?void 0:t.seriesDefaults:null===(r=p)||void 0===r?void 0:r[Object.keys(p)[0]],g={"27.0.0":u(c,"seriesChartTypes"),"26.2.0":!u(p,"seriesDefaults"),"26.1.0":u(null===(o=d)||void 0===o?void 0:o.highlightStyle,"item"),"26.0.0":u(null===(n=d)||void 0===n?void 0:n.highlightStyle,"series"),"25.1.0":u(null===(i=d)||void 0===i?void 0:i.label,"minAngle"),"25.0.0":u(c,"modelType","aggFunc","unlinkChart","suppressChartRanges")||u(d,"lineDash","lineDashOffset"),"24.0.0":u(c,"chartThemeName","chart")||u(p,"series"),"23.2.0":u(p,"navigator"),"23.0.0":u(null===(l=null===(s=null===(a=p)||void 0===a?void 0:a.legend)||void 0===s?void 0:s.item)||void 0===l?void 0:l.marker,"shape"),"22.1.0":u(c,"chartPalette","chartType")},h=Object.entries(g).filter((function(e){var t=Yh(e,2);t[0];return t[1]}));0;var f=Yh(h[0],1)[0],v=void 0===f?"27.1.0":f;0;return v}(e)),e=nf("23.0.0",e,Qh),e=nf("24.0.0",e,Zh),e=nf("25.1.0",e,Jh),e=nf("26.0.0",e,$h),e=nf("26.1.0",e,ef),e=nf("26.2.0",e,tf),e=nf("28.0.0",e,rf),e=nf("28.2.0",e,of),e=nf("28.2.0",e=function(e){return e=pf("chartOptions.*.width",e),e=lf("chartOptions.*.axes.category.label.autoRotate",!0,e=pf("chartOptions.*.height",e))}(e),(function(e){return e}))}function Qh(e){return e=uf("chartOptions.legend.item.marker.type","shape",e),e=uf("chartOptions.seriesDefaults.marker.type","shape",e),e=uf("chartOptions.legend.padding","spacing",e)}function Zh(e){var t,r,o=e=pf("chartOptions.seriesDefaults.marker.minSize",e),n=o.chartType,i=o.chartPalette,a=o.chartOptions,s=a.xAxis,l=a.yAxis,c=Kh(a,["xAxis","yAxis"]),u=Kh(o,["chartType","chartPalette","chartOptions"]),p=null===(t=function(e){switch(e){case"bar":case"stackedBar":case"normalizedBar":return["number","category"];case"groupedBar":return["number","groupedCategory"];case"column":case"stackedColumn":case"normalizedColumn":case"line":case"area":case"stackedArea":case"normalizedArea":case"histogram":return["category","number"];case"groupedColumn":return["groupedCategory","number"];case"scatter":case"bubble":return["number","number"];default:return}}(n))||void 0===t?void 0:t.map((function(e,t){return Uh({type:e},0===t?s:l)}));return Uh({chartType:n,chartThemeName:(r=ff[i],null!=r?r:"ag-default"),chartOptions:Uh(Uh({},c),{axes:p,xAxis:s,yAxis:l})},u)}function Jh(e){return e=uf("chartOptions.seriesDefaults.label.minRequiredAngle","minAngle",e)}function $h(e){return e=pf("chart",e=gf("chartOptions.seriesDefaults.highlightStyle",e,(function(e){var t=e.dimOpacity,r=Kh(e,["dimOpacity"]);return Uh(Uh({},r),null!=t?{series:{dimOpacity:t}}:{})}))),e=pf("chartOptions.seriesDefaults.tooltipClass",e),e=sf("chartOptions.axes[].label.rotation",0,e=pf("chartOptions.seriesDefaults.tooltipTracking",e)),e=sf("chartOptions.axes[].label.rotation",335,e)}function ef(e){var t=function(e){var t=e.item,r=e.series,o=Kh(e,["item","series"]);return Uh({item:Uh(Uh({},o),t)},r?{series:r}:{})};return e=gf("chartOptions.seriesDefaults.highlightStyle",e,t),e=gf("chartOptions.series[].highlightStyle",e,t)}function tf(e){e=cf("chartOptions.seriesDefaults.fill.opacity","chartOptions.seriesDefaults.fillOpacity",e),e=cf("chartOptions.seriesDefaults.stroke.opacity","chartOptions.seriesDefaults.strokeOpacity",e),e=pf("chartOptions.seriesDefaults.fill",e=cf("chartOptions.seriesDefaults.stroke.width","chartOptions.seriesDefaults.strokeWidth",e)),e=pf("chartOptions.seriesDefaults.stroke",e),e=pf("chartOptions.seriesDefaults.callout.colors",e),e=pf("chartOptions.xAxis",e);var t=e=pf("chartOptions.yAxis",e),r=t.chartType,o=t.chartOptions,n=o.axes,i=(o.series,o.seriesDefaults),a=Kh(o,["axes","series","seriesDefaults"]),s=Kh(t,["chartType","chartOptions"]),l=[zp(r)],c={};if(!l.includes("pie")){var u={top:{},bottom:{},left:{},right:{}},p=n.map((function(e){var t,r=e.type,o=Kh(e,["type"]);return(t={})[r]=Uh(Uh({},u),o),t})).reduce(hf,{});Hh.filter((function(e){return null==p[e]})).forEach((function(e){p[e]=Uh({},u)})),c.axes=p}var d=l.map((function(e){var t;return(t={})[e]=Uh(Uh(Uh({},c),{series:i}),a),t})).reduce(hf,{});return e=Uh(Uh({},s),{chartType:r,chartOptions:d})}function rf(e){return e=pf("chartOptions.*.title.padding",e),e=pf("chartOptions.*.subtitle.padding",e),e=lf("chartOptions.*.axes.*.title.enabled",!1,e=pf("chartOptions.*.axes.*.title.padding",e))}function of(e){return e=uf("chartOptions.pie.series.callout","calloutLine",e),e=uf("chartOptions.pie.series.label","calloutLabel",e)}function nf(e,t,r){if(af(e)>af(t.version)){0;var o=r(t);return o.version=e,o}return t}function af(e){var t=function(e){var t="string"==typeof e?e.split(".").map((function(e){return Number(e)})):[];if(3!==t.length||t.some((function(e){return isNaN(e)})))throw new Error("AG Grid - Illegal version string: "+e);return{major:t[0],minor:t[1],patch:t[2]}}(e);return 1e4*t.major+100*t.minor+t.patch}function sf(e,t,r){return df(e,!0,r,(function(e,r){e[r]===t&&delete e[r]}))}function lf(e,t,r){return df(e,!1,r,(function(e,r){null==e[r]&&(e[r]=t)}))}function cf(e,t,r){var o=void 0,n=!1;return r=df(e,!0,r,(function(e,t){n=!0,o=e[t],delete e[t]})),n?df(t,!1,r,(function(e,t){e[t]=o})):r}function uf(e,t,r){return df(e,!0,r,(function(e,r){e[t]=e[r],delete e[r]}))}function pf(e,t){return df(e,!0,t,(function(e,t){return delete e[t]}))}function df(e,t,r,o){var n=e instanceof Array?e:e.split("."),i=n.slice(0,n.length-1),a=n[n.length-1];return gf(i,r,(function(e){var r=Object.keys(e).includes(a);if(t&&!r)return e;var n=Uh({},e);return o(n,a),n}))}function gf(e,t,r){var o,n,i=e instanceof Array?e:e.split(".");if(t=Uh({},t),0===i.length)return r(t);if(i[0].startsWith("{")){var a=i[0].substring(1,i[0].lastIndexOf("}")).split(",");try{for(var s=Xh(a),l=s.next();!l.done;l=s.next()){var c=l.value;null!=t[c]&&(t[c]=gf(i.slice(1),t[c],r))}}catch(e){o={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(o)throw o.error}}}else if(i[0].endsWith("[]")){var u=i[0].substring(0,e[0].indexOf("["));t[u]instanceof Array&&(t[u]=t[u].map((function(e){return gf(i.slice(1),e,r)})))}else if("*"===i[0])for(var p in t)t[p]=gf(i.slice(1),t[p],r);else null!=t[i[0]]&&(t[i[0]]=gf(i.slice(1),t[i[0]],r));return t}var hf=function(e,t){return Uh(Uh({},e),t)},ff={borneo:"ag-default",material:"ag-material",pastel:"ag-pastel",bright:"ag-vivid",flat:"ag-solar"},vf=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),yf=function(){return(yf=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},mf=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},bf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.activeCharts=new Set,t.activeChartComps=new Set,t.crossFilteringContext={lastSelectedChartId:""},t}return vf(t,e),t.prototype.getChartModels=function(){var e=[];return this.activeChartComps.forEach((function(t){return e.push(function(e){return yf(yf({},e),{version:"28.2.0"})}(t.getChartModel()))})),e},t.prototype.getChartRef=function(e){var t;return this.activeCharts.forEach((function(r){r.chartId===e&&(t=r)})),t},t.prototype.getChartImageDataURL=function(e){var t;return this.activeChartComps.forEach((function(r){r.getChartId()===e.chartId&&(t=r.getChartImageDataURL(e.fileFormat))})),t},t.prototype.downloadChart=function(e){var t;null===(t=Array.from(this.activeChartComps).find((function(t){return t.getChartId()===e.chartId})))||void 0===t||t.downloadChart(e.dimensions,e.fileName,e.fileFormat)},t.prototype.openChartToolPanel=function(e){var t;null===(t=Array.from(this.activeChartComps).find((function(t){return t.getChartId()===e.chartId})))||void 0===t||t.openChartToolPanel(e.panel)},t.prototype.closeChartToolPanel=function(e){var t;null===(t=Array.from(this.activeChartComps).find((function(t){return t.getChartId()===e})))||void 0===t||t.closeChartToolPanel()},t.prototype.createChartFromCurrentRange=function(e){void 0===e&&(e="groupedColumn");var t=this.getSelectedRange();return this.createChart(t,e)},t.prototype.restoreChart=function(e,t){var r=this;if(e){"28.2.0"!==e.version&&(e=qh(e));var o={cellRange:e.cellRange,chartType:e.chartType,chartThemeName:e.chartThemeName,chartContainer:t,suppressChartRanges:e.suppressChartRanges,aggFunc:e.aggFunc,unlinkChart:e.unlinkChart,seriesChartTypes:e.seriesChartTypes},n=function(e){return r.rangeService?r.rangeService.createCellRangeFromCellRangeParams(e):void 0};if("pivot"===e.modelType){this.columnModel.isPivotMode()||this.columnModel.setPivotMode(!0,"pivotChart");var i=n({rowStartIndex:null,rowStartPinned:void 0,rowEndIndex:null,rowEndPinned:void 0,columns:this.columnModel.getAllDisplayedColumns().map((function(e){return e.getColId()}))});return i?this.createChart(i,o.chartType,o.chartThemeName,!0,!0,o.chartContainer,void 0,void 0,o.unlinkChart,!1,e.chartOptions):void console.warn("AG Grid - unable to create chart as there are no columns in the grid.")}var a=n(o.cellRange);if(a)return this.createChart(a,o.chartType,o.chartThemeName,!1,o.suppressChartRanges,o.chartContainer,o.aggFunc,void 0,o.unlinkChart,!1,e.chartOptions,e.chartPalette,o.seriesChartTypes);console.warn("AG Grid - unable to create chart as no range is selected")}else console.warn("AG Grid - unable to restore chart as no chart model is provided")},t.prototype.createRangeChart=function(e){var t=this.rangeService?this.rangeService.createCellRangeFromCellRangeParams(e.cellRange):void 0;if(t)return this.createChart(t,e.chartType,e.chartThemeName,!1,e.suppressChartRanges,e.chartContainer,e.aggFunc,e.chartThemeOverrides,e.unlinkChart,void 0,void 0,void 0,e.seriesChartTypes);console.warn("AG Grid - unable to create chart as no range is selected")},t.prototype.createPivotChart=function(e){this.columnModel.isPivotMode()||this.columnModel.setPivotMode(!0,"pivotChart");var t={rowStartIndex:null,rowStartPinned:void 0,rowEndIndex:null,rowEndPinned:void 0,columns:this.columnModel.getAllDisplayedColumns().map((function(e){return e.getColId()}))},r=this.rangeService?this.rangeService.createCellRangeFromCellRangeParams(t):void 0;if(r)return this.createChart(r,e.chartType,e.chartThemeName,!0,!0,e.chartContainer,void 0,e.chartThemeOverrides,e.unlinkChart);console.warn("AG Grid - unable to create chart as there are no columns in the grid.")},t.prototype.createCrossFilterChart=function(e){var t=this.rangeService?this.rangeService.createCellRangeFromCellRangeParams(e.cellRange):void 0;if(t){var r=!(void 0!==e.suppressChartRanges&&null!==e.suppressChartRanges)||e.suppressChartRanges;return this.createChart(t,e.chartType,e.chartThemeName,!1,r,e.chartContainer,e.aggFunc,e.chartThemeOverrides,e.unlinkChart,!0)}console.warn("AG Grid - unable to create chart as no range is selected")},t.prototype.createChart=function(e,t,r,o,n,i,a,s,l,c,u,p,d){var g=this;void 0===o&&(o=!1),void 0===n&&(n=!1),void 0===l&&(l=!1),void 0===c&&(c=!1);var h=this.gridOptionsWrapper.getCreateChartContainerFunc(),f={chartId:this.generateId(),pivotChart:o,cellRange:e,chartType:t,chartThemeName:r,insideDialog:!(i||h),suppressChartRanges:n,aggFunc:a,chartThemeOverrides:s,unlinkChart:l,crossFiltering:c,crossFilteringContext:this.crossFilteringContext,chartOptionsToRestore:u,chartPaletteToRestore:p,seriesChartTypes:d,crossFilteringResetCallback:function(){return g.activeChartComps.forEach((function(e){return e.crossFilteringReset()}))}},v=new Wh(f);this.context.createBean(v);var y=this.createChartRef(v);if(i){i.appendChild(v.getGui());var m=this.environment.getTheme();m.el&&!m.el.contains(i)&&i.classList.add(m.theme)}else h?h(y):v.addEventListener(Wh.EVENT_DESTROYED,(function(){g.activeChartComps.delete(v),g.activeCharts.delete(y)}));return y},t.prototype.createChartRef=function(e){var t=this,r={destroyChart:function(){t.activeCharts.has(r)&&(t.context.destroyBean(e),t.activeChartComps.delete(e),t.activeCharts.delete(r))},chartElement:e.getGui(),chart:e.getUnderlyingChart(),chartId:e.getChartModel().chartId};return this.activeCharts.add(r),this.activeChartComps.add(e),r},t.prototype.getSelectedRange=function(){var e=this.rangeService.getCellRanges();return e.length>0?e[0]:{}},t.prototype.generateId=function(){return"id-"+Math.random().toString(36).substr(2,16)},t.prototype.destroyAllActiveCharts=function(){this.activeCharts.forEach((function(e){return e.destroyChart()}))},mf([Object(n.Optional)("rangeService")],t.prototype,"rangeService",void 0),mf([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),mf([Object(n.Autowired)("environment")],t.prototype,"environment",void 0),mf([n.PreDestroy],t.prototype,"destroyAllActiveCharts",null),t=mf([Object(n.Bean)("chartService")],t)}(n.BeanStub),wf=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Cf=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Of=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return wf(t,e),r=t,t.prototype.translate=function(e,t){return this.gridOptionsWrapper.getLocaleTextFunc()(e,r.DEFAULT_TRANSLATIONS[e]||t)},t.DEFAULT_TRANSLATIONS={pivotChartTitle:"Pivot Chart",rangeChartTitle:"Range Chart",settings:"Settings",data:"Data",format:"Format",categories:"Categories",defaultCategory:"(None)",series:"Series",xyValues:"X Y Values",paired:"Paired Mode",axis:"Axis",navigator:"Navigator",color:"Color",thickness:"Thickness",xType:"X Type",automatic:"Automatic",category:"Category",number:"Number",time:"Time",autoRotate:"Auto Rotate",xRotation:"X Rotation",yRotation:"Y Rotation",ticks:"Ticks",width:"Width",height:"Height",length:"Length",padding:"Padding",spacing:"Spacing",chart:"Chart",title:"Title",titlePlaceholder:"Chart title - double click to edit",background:"Background",font:"Font",top:"Top",right:"Right",bottom:"Bottom",left:"Left",labels:"Labels",size:"Size",shape:"Shape",minSize:"Minimum Size",maxSize:"Maximum Size",legend:"Legend",position:"Position",markerSize:"Marker Size",markerStroke:"Marker Stroke",markerPadding:"Marker Padding",itemSpacing:"Item Spacing",itemPaddingX:"Item Padding X",itemPaddingY:"Item Padding Y",layoutHorizontalSpacing:"Horizontal Spacing",layoutVerticalSpacing:"Vertical Spacing",strokeWidth:"Stroke Width",offset:"Offset",offsets:"Offsets",tooltips:"Tooltips",callout:"Callout",markers:"Markers",shadow:"Shadow",blur:"Blur",xOffset:"X Offset",yOffset:"Y Offset",lineWidth:"Line Width",lineDash:"Line Dash",normal:"Normal",bold:"Bold",italic:"Italic",boldItalic:"Bold Italic",predefined:"Predefined",fillOpacity:"Fill Opacity",strokeOpacity:"Line Opacity",histogramBinCount:"Bin count",columnGroup:"Column",barGroup:"Bar",pieGroup:"Pie",lineGroup:"Line",scatterGroup:"X Y (Scatter)",areaGroup:"Area",histogramGroup:"Histogram",combinationGroup:"Combination",groupedColumnTooltip:"Grouped",stackedColumnTooltip:"Stacked",normalizedColumnTooltip:"100% Stacked",groupedBarTooltip:"Grouped",stackedBarTooltip:"Stacked",normalizedBarTooltip:"100% Stacked",pieTooltip:"Pie",doughnutTooltip:"Doughnut",lineTooltip:"Line",groupedAreaTooltip:"Area",stackedAreaTooltip:"Stacked",normalizedAreaTooltip:"100% Stacked",scatterTooltip:"Scatter",bubbleTooltip:"Bubble",histogramTooltip:"Histogram",columnLineComboTooltip:"Column & Line",areaColumnComboTooltip:"Area & Column",customComboTooltip:"Custom Combination",noDataToChart:"No data available to be charted.",pivotChartRequiresPivotMode:"Pivot Chart requires Pivot Mode enabled.",chartSettingsToolbarTooltip:"Menu",chartLinkToolbarTooltip:"Linked to Grid",chartUnlinkToolbarTooltip:"Unlinked from Grid",chartDownloadToolbarTooltip:"Download Chart",histogramFrequency:"Frequency",seriesChartType:"Series Chart Type",seriesType:"Series Type",secondaryAxis:"Secondary Axis"},t=r=Cf([Object(n.Bean)("chartTranslationService")],t)}(n.BeanStub),Sf=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ef=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},xf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return Sf(t,e),r=t,t.prototype.filter=function(e,t){void 0===t&&(t=!1);var o=this.gridApi.getFilterModel();if(t)this.resetFilters(o);else{var n=r.extractFilterColId(e);this.isValidColumnFilter(n)?this.updateFilters(o,e,n):console.warn("AG Grid: cross filtering requires a 'agSetColumnFilter' or 'agMultiColumnFilter' to be defined on the column with id: '"+n+"'")}},t.prototype.resetFilters=function(e){Object.keys(e).length>0&&(this.gridApi.setFilterModel(null),this.gridApi.onFilterChanged())},t.prototype.updateFilters=function(e,t,o){var i,a=r.extractFilterColId(t),s=t.datum[a];if(void 0!==s){var l=s.toString();if(t.event.metaKey||t.event.ctrlKey){var c=this.getCurrentGridValuesForCategory(o),u=void 0;n._.includes(c,l)?u=c.filter((function(e){return e!==l})):(u=c).push(l),e[o]=this.getUpdatedFilterModel(o,u)}else{u=[l];(i={})[o]=this.getUpdatedFilterModel(o,u),e=i}this.gridApi.setFilterModel(e)}},t.prototype.getUpdatedFilterModel=function(e,t){return"agMultiColumnFilter"===this.getColumnFilterType(e)?{filterType:"multi",filterModels:[null,{filterType:"set",values:t}]}:{filterType:"set",values:t}},t.prototype.getCurrentGridValuesForCategory=function(e){var t=this,r=[],o=this.getColumnById(e);return this.gridApi.forEachNodeAfterFilter((function(e){if(o&&!e.group){var n=t.valueService.getValue(o,e)+"";r.includes(n)||r.push(n)}})),r},t.extractFilterColId=function(e){return e.xKey||e.calloutLabelKey},t.prototype.isValidColumnFilter=function(e){e.indexOf("-filtered-out")&&(e=e.replace("-filtered-out",""));var t=this.getColumnFilterType(e);return"boolean"==typeof t?t:n._.includes(["agSetColumnFilter","agMultiColumnFilter"],t)},t.prototype.getColumnFilterType=function(e){var t=this.getColumnById(e);if(t){var r=t.getColDef();return null!=r.filter?r.filter:r.filterFramework}},t.prototype.getColumnById=function(e){return this.columnModel.getGridColumn(e)},Ef([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),Ef([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),Ef([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),t=r=Ef([Object(n.Bean)("chartCrossFilterService")],t)}(n.BeanStub),Rf=r(70),Tf={moduleName:n.ModuleNames.GridChartsModule,beans:[bf,Of,xf],dependantModules:[Rf.RangeSelectionModule,i.EnterpriseCoreModule]},Af={time:jp}},function(e,t,r){"use strict";r.r(t),r.d(t,"SparklinesModule",(function(){return Cr}));var o=r(0),n=r(27),i=function(){function e(e,t,r,o){this.x=e,this.y=t,this.width=r,this.height=o}return e.prototype.isValid=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.dilate=function(e){this.x-=e,this.y-=e,this.width+=2*e,this.height+=2*e},e.prototype.containsPoint=function(e,t){return e>=this.x&&e<=this.x+this.width&&t>=this.y&&t<=this.y+this.height},e.prototype.render=function(t,r){void 0===r&&(r=e.noParams),t.save(),r.resetTransform&&t.setTransform(1,0,0,1,0,0),t.strokeStyle=r.strokeStyle||"cyan",t.lineWidth=r.lineWidth||1,t.strokeRect(this.x,this.y,this.width,this.height),r.label&&(t.fillStyle=r.fillStyle||"black",t.textBaseline="bottom",t.fillText(r.label,this.x,this.y)),t.restore()},e.noParams={},e}(),a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},s=function(){function e(e){void 0===e&&(e=[1,0,0,1,0,0]),this.elements=e}return e.prototype.setElements=function(e){var t=this.elements;return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],this},e.prototype.setIdentityElements=function(){var e=this.elements;return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,this},Object.defineProperty(e.prototype,"identity",{get:function(){var e=this.elements;return 1===e[0]&&0===e[1]&&0===e[2]&&1===e[3]&&0===e[4]&&0===e[5]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"a",{get:function(){return this.elements[0]},set:function(e){this.elements[0]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"b",{get:function(){return this.elements[1]},set:function(e){this.elements[1]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"c",{get:function(){return this.elements[2]},set:function(e){this.elements[2]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"d",{get:function(){return this.elements[3]},set:function(e){this.elements[3]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"e",{get:function(){return this.elements[4]},set:function(e){this.elements[4]=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"f",{get:function(){return this.elements[5]},set:function(e){this.elements[5]=e},enumerable:!0,configurable:!0}),e.prototype.AxB=function(e,t,r){var o=a(e,6),n=o[0],i=o[1],s=o[2],l=o[3],c=o[4],u=o[5],p=a(t,6),d=p[0],g=p[1],h=p[2],f=p[3],v=p[4],y=p[5];(r=r||e)[0]=n*d+s*g,r[1]=i*d+l*g,r[2]=n*h+s*f,r[3]=i*h+l*f,r[4]=n*v+s*y+c,r[5]=i*v+l*y+u},e.prototype.multiplySelf=function(e){return this.AxB(this.elements,e.elements),this},e.prototype.multiply=function(t){var r=new Array(6);return this.AxB(this.elements,t.elements,r),new e(r)},e.prototype.preMultiplySelf=function(e){return this.AxB(e.elements,this.elements,this.elements),this},e.prototype.inverse=function(){var t=a(this.elements,6),r=t[0],o=t[1],n=t[2],i=t[3],s=t[4],l=t[5],c=1/(r*i-o*n);return new e([i*=c,-(o*=c),-(n*=c),r*=c,n*l-i*s,o*s-r*l])},e.prototype.inverseTo=function(e){var t=a(this.elements,6),r=t[0],o=t[1],n=t[2],i=t[3],s=t[4],l=t[5],c=1/(r*i-o*n);return r*=c,o*=c,n*=c,i*=c,e.setElements([i,-o,-n,r,n*l-i*s,o*s-r*l]),this},e.prototype.invertSelf=function(){var e=this.elements,t=a(e,6),r=t[0],o=t[1],n=t[2],i=t[3],s=t[4],l=t[5],c=1/(r*i-o*n);return r*=c,o*=c,n*=c,i*=c,e[0]=i,e[1]=-o,e[2]=-n,e[3]=r,e[4]=n*l-i*s,e[5]=o*s-r*l,this},e.prototype.clone=function(){return new e(this.elements.slice())},e.prototype.transformPoint=function(e,t){var r=this.elements;return{x:e*r[0]+t*r[2]+r[4],y:e*r[1]+t*r[3]+r[5]}},e.prototype.transformBBox=function(e,t,r){void 0===t&&(t=0);var o,n,a=this.elements,s=a[0],l=a[1],c=a[2],u=a[3],p=.5*e.width,d=.5*e.height,g=e.x+p,h=e.y+d;if(t){p-=t,d-=t;var f=Math.sqrt(s*s+c*c),v=Math.sqrt(l*l+u*u);o=Math.abs(p*s)+Math.abs(d*c)+Math.abs(f*t),n=Math.abs(p*l)+Math.abs(d*u)+Math.abs(v*t)}else o=Math.abs(p*s)+Math.abs(d*c),n=Math.abs(p*l)+Math.abs(d*u);return r||(r=new i(0,0,0,0)),r.x=g*s+h*c+a[4]-o,r.y=g*l+h*u+a[5]-n,r.width=o+o,r.height=n+n,r},e.prototype.toContext=function(e){if(!this.identity){var t=this.elements;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}},e.flyweight=function(t){return t?t instanceof e?e.matrix.setElements(t.elements):e.matrix.setElements(t):e.matrix.setIdentityElements(),e.matrix},e.matrix=new e,e}();function l(e){var t=e.constructor,r=t.className;if(!r)throw new Error("The "+t+" is missing the 'className' property.");return r+"-"+(t.id=(t.id||0)+1)}var c,u=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a};!function(e){e[e.All=0]="All",e[e.None=1]="None"}(c||(c={}));var p,d=function(){function e(){this.id=l(this),this.tag=NaN,this.isContainerNode=!1,this._children=[],this.childSet={},this.matrix=new s,this.inverseMatrix=new s,this._dirtyTransform=!1,this._scalingX=1,this._scalingY=1,this._scalingCenterX=null,this._scalingCenterY=null,this._rotationCenterX=null,this._rotationCenterY=null,this._rotation=0,this._translationX=0,this._translationY=0,this._dirty=!0,this._visible=!0,this.pointerEvents=c.All}return e.isNode=function(e){return!!e&&void 0!==e.matrix},e.prototype._setScene=function(e){this._scene=e;for(var t=this.children,r=t.length,o=0;o<r;o++)t[o]._setScene(e)},Object.defineProperty(e.prototype,"scene",{get:function(){return this._scene},enumerable:!0,configurable:!0}),e.prototype._setParent=function(e){this._parent=e},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._children},enumerable:!0,configurable:!0}),e.prototype.countChildren=function(t){if(void 0===t&&(t=e.MAX_SAFE_INTEGER),t<=0)return 0;for(var r=this.children,o=r.length,n=o,i=0;i<o;i++)n+=r[i].countChildren(t-1);return n},e.prototype.append=function(t){e.isNode(t)&&(t=[t]);for(var r=t.length,o=0;o<r;o++){var n=t[o];if(n.parent)throw new Error(n+" already belongs to another parent: "+n.parent+".");if(n.scene)throw new Error(n+" already belongs a scene: "+n.scene+".");if(this.childSet[n.id])throw new Error("Duplicate "+n.constructor.name+" node: "+n);this._children.push(n),this.childSet[n.id]=!0,n._setParent(this),n._setScene(this.scene)}this.dirty=!0},e.prototype.appendChild=function(e){if(e.parent)throw new Error(e+" already belongs to another parent: "+e.parent+".");if(e.scene)throw new Error(e+" already belongs to a scene: "+e.scene+".");if(this.childSet[e.id])throw new Error("Duplicate "+e.constructor.name+" node: "+e);return this._children.push(e),this.childSet[e.id]=!0,e._setParent(this),e._setScene(this.scene),this.dirty=!0,e},e.prototype.removeChild=function(e){if(e.parent===this){var t=this.children.indexOf(e);if(t>=0)return this._children.splice(t,1),delete this.childSet[e.id],e._setParent(),e._setScene(),this.dirty=!0,e}throw new Error("The node to be removed is not a child of this node.")},e.prototype.insertBefore=function(e,t){var r=e.parent;if(e.parent&&e.parent.removeChild(e),t&&t.parent===this){var o=this.children.indexOf(t);if(!(o>=0))throw new Error(t+" has "+r+" as the parent, but is not in its list of children.");this._children.splice(o,0,e),this.childSet[e.id]=!0,e._setParent(this),e._setScene(this.scene),this.dirty=!0}else this.append(e);return e},Object.defineProperty(e.prototype,"nextSibling",{get:function(){var e=this.parent;if(e){var t=e.children,r=t.indexOf(this);if(r>=0&&r<=t.length-1)return t[r+1]}},enumerable:!0,configurable:!0}),e.prototype.transformPoint=function(e,t){for(var r=s.flyweight(this.matrix),o=this.parent;o;)r.preMultiplySelf(o.matrix),o=o.parent;return r.invertSelf().transformPoint(e,t)},e.prototype.inverseTransformPoint=function(e,t){for(var r=s.flyweight(this.matrix),o=this.parent;o;)r.preMultiplySelf(o.matrix),o=o.parent;return r.transformPoint(e,t)},Object.defineProperty(e.prototype,"dirtyTransform",{get:function(){return this._dirtyTransform},set:function(e){this._dirtyTransform=e,e&&(this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scalingX",{get:function(){return this._scalingX},set:function(e){this._scalingX!==e&&(this._scalingX=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scalingY",{get:function(){return this._scalingY},set:function(e){this._scalingY!==e&&(this._scalingY=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scalingCenterX",{get:function(){return this._scalingCenterX},set:function(e){this._scalingCenterX!==e&&(this._scalingCenterX=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scalingCenterY",{get:function(){return this._scalingCenterY},set:function(e){this._scalingCenterY!==e&&(this._scalingCenterY=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotationCenterX",{get:function(){return this._rotationCenterX},set:function(e){this._rotationCenterX!==e&&(this._rotationCenterX=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotationCenterY",{get:function(){return this._rotationCenterY},set:function(e){this._rotationCenterY!==e&&(this._rotationCenterY=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this._rotation},set:function(e){this._rotation!==e&&(this._rotation=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotationDeg",{get:function(){return this.rotation/Math.PI*180},set:function(e){this.rotation=e/180*Math.PI},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"translationX",{get:function(){return this._translationX},set:function(e){this._translationX!==e&&(this._translationX=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"translationY",{get:function(){return this._translationY},set:function(e){this._translationY!==e&&(this._translationY=e,this.dirtyTransform=!0)},enumerable:!0,configurable:!0}),e.prototype.containsPoint=function(e,t){return!1},e.prototype.pickNode=function(e,t){if(this.visible&&this.pointerEvents!==c.None&&this.containsPoint(e,t)){var r=this.children;if(r.length)for(var o=r.length-1;o>=0;o--){var n=r[o].pickNode(e,t);if(n)return n}else if(!this.isContainerNode)return this}},e.prototype.computeBBox=function(){},e.prototype.computeBBoxCenter=function(){var e=this.computeBBox&&this.computeBBox();return e?[e.x+.5*e.width,e.y+.5*e.height]:[0,0]},e.prototype.computeTransformMatrix=function(){var e,t,r=u([0,0],2),o=r[0],n=r[1],i=this.scalingX,a=this.scalingY;1===i&&1===a?(e=0,t=0):(e=null===this.scalingCenterX?o:this.scalingCenterX,t=null===this.scalingCenterY?n:this.scalingCenterY);var s,l,c=this.rotation,p=Math.cos(c),d=Math.sin(c);0===c?(s=0,l=0):(s=null===this.rotationCenterX?o:this.rotationCenterX,l=null===this.rotationCenterY?n:this.rotationCenterY);var g=this.translationX,h=this.translationY,f=e*(1-i)-s,v=t*(1-a)-l;this.dirtyTransform=!1,this.matrix.setElements([p*i,d*i,-d*a,p*a,p*f-d*v+s+g,d*f+p*v+l+h]).inverseTo(this.inverseMatrix)},Object.defineProperty(e.prototype,"dirty",{get:function(){return this._dirty},set:function(e){this._dirty=e,e&&(this.parent?this.parent.dirty=!0:this.scene&&(this.scene.dirty=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this._visible},set:function(e){this._visible!==e&&(this._visible=e,this.dirty=!0)},enumerable:!0,configurable:!0}),e.MAX_SAFE_INTEGER=Math.pow(2,53)-1,e}(),g=(p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isContainerNode=!0,t._opacity=1,t}return g(t,e),Object.defineProperty(t.prototype,"opacity",{get:function(){return this._opacity},set:function(e){e=Math.min(1,Math.max(0,e)),this._opacity!==e&&(this._opacity=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.containsPoint=function(e,t){return!0},t.prototype.computeBBox=function(){var e=1/0,r=-1/0,o=1/0,n=-1/0;return this.dirtyTransform&&this.computeTransformMatrix(),this.children.forEach((function(i){if(i.visible){var a=i.computeBBox();if(a){if(!(i instanceof t)){i.dirtyTransform&&i.computeTransformMatrix();for(var l=s.flyweight(i.matrix),c=i.parent;c;)l.preMultiplySelf(c.matrix),c=c.parent;l.transformBBox(a,0,a)}var u=a.x,p=a.y;u<e&&(e=u),p<o&&(o=p),u+a.width>r&&(r=u+a.width),p+a.height>n&&(n=p+a.height)}}})),new i(e,o,r-e,n-o)},t.prototype.render=function(e){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this.children,r=t.length;e.globalAlpha*=this.opacity;for(var o=0;o<r;o++){var n=t[o];n.visible&&(e.save(),n.render(e),e.restore())}},t.className="Group",t}(d);function f(e,t){var r=Object.create(e);for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);return r}var v=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),y=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.lastInstanceId=0,r._fillOpacity=1,r._strokeOpacity=1,r._fill=t.defaultStyles.fill,r._stroke=t.defaultStyles.stroke,r._strokeWidth=t.defaultStyles.strokeWidth,r._lineDash=t.defaultStyles.lineDash,r._lineDashOffset=t.defaultStyles.lineDashOffset,r._lineCap=t.defaultStyles.lineCap,r._lineJoin=t.defaultStyles.lineJoin,r._opacity=t.defaultStyles.opacity,r.onShadowChange=function(){r.dirty=!0},r._fillShadow=t.defaultStyles.fillShadow,r._strokeShadow=t.defaultStyles.strokeShadow,r}return v(t,e),t.createInstance=function(e){var t=Object.create(e);return t._setParent(void 0),t.id=e.id+"-Instance-"+String(++e.lastInstanceId),t},t.prototype.restoreOwnStyles=function(){for(var e=this.constructor.defaultStyles,t=Object.getOwnPropertyNames(e),r=0,o=t.length;r<o;r++){var n=t[r];this[n]=e[n]}},t.prototype.restoreAllStyles=function(){var e=this.constructor.defaultStyles;for(var t in e)this[t]=e[t]},t.prototype.restoreOverriddenStyles=function(){var e=this.constructor.defaultStyles,t=Object.getPrototypeOf(e);for(var r in e)e.hasOwnProperty(r)&&t.hasOwnProperty(r)&&(this[r]=e[r])},Object.defineProperty(t.prototype,"fillOpacity",{get:function(){return this._fillOpacity},set:function(e){this._fillOpacity!==e&&(this._fillOpacity=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strokeOpacity",{get:function(){return this._strokeOpacity},set:function(e){this._strokeOpacity!==e&&(this._strokeOpacity=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fill",{get:function(){return this._fill},set:function(e){this._fill!==e&&(this._fill=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stroke",{get:function(){return this._stroke},set:function(e){this._stroke!==e&&(this._stroke=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strokeWidth",{get:function(){return this._strokeWidth},set:function(e){this._strokeWidth!==e&&(this._strokeWidth=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alignment",{get:function(){return Math.floor(this.strokeWidth)%2/2},enumerable:!0,configurable:!0}),t.prototype.align=function(e,t,r){return null!=r?Math.floor(r)+Math.floor(t%1+r%1):Math.floor(t)+e},Object.defineProperty(t.prototype,"lineDash",{get:function(){return this._lineDash},set:function(e){var t=this._lineDash;if(t!==e){if(t&&e&&t.length===e.length){for(var r=!0,o=e.length,n=0;n<o;n++)if(t[n]!==e[n]){r=!1;break}if(r)return}this._lineDash=e,this.dirty=!0}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineDashOffset",{get:function(){return this._lineDashOffset},set:function(e){this._lineDashOffset!==e&&(this._lineDashOffset=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineCap",{get:function(){return this._lineCap},set:function(e){this._lineCap!==e&&(this._lineCap=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineJoin",{get:function(){return this._lineJoin},set:function(e){this._lineJoin!==e&&(this._lineJoin=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"opacity",{get:function(){return this._opacity},set:function(e){e=Math.min(1,Math.max(0,e)),this._opacity!==e&&(this._opacity=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fillShadow",{get:function(){return this._fillShadow},set:function(e){var t=this._fillShadow;t!==e&&(t&&t.removeEventListener("change",this.onShadowChange),e&&e.addEventListener("change",this.onShadowChange),this._fillShadow=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strokeShadow",{get:function(){return this._strokeShadow},set:function(e){var t=this._strokeShadow;t!==e&&(t&&t.removeEventListener("change",this.onShadowChange),e&&e.addEventListener("change",this.onShadowChange),this._strokeShadow=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.fillStroke=function(e){if(this.scene){var t=this.scene.canvas.pixelRatio||1,r=e.globalAlpha;if(this.fill){e.fillStyle=this.fill,e.globalAlpha=r*this.opacity*this.fillOpacity;var o=this.fillShadow;o&&o.enabled&&(e.shadowColor=o.color,e.shadowOffsetX=o.xOffset*t,e.shadowOffsetY=o.yOffset*t,e.shadowBlur=o.blur*t),e.fill()}if(e.shadowColor="rgba(0, 0, 0, 0)",this.stroke&&this.strokeWidth){e.strokeStyle=this.stroke,e.globalAlpha=r*this.opacity*this.strokeOpacity,e.lineWidth=this.strokeWidth,this.lineDash&&e.setLineDash(this.lineDash),this.lineDashOffset&&(e.lineDashOffset=this.lineDashOffset),this.lineCap&&(e.lineCap=this.lineCap),this.lineJoin&&(e.lineJoin=this.lineJoin);var n=this.strokeShadow;n&&n.enabled&&(e.shadowColor=n.color,e.shadowOffsetX=n.xOffset*t,e.shadowOffsetY=n.yOffset*t,e.shadowBlur=n.blur*t),e.stroke()}}},t.prototype.containsPoint=function(e,t){return this.isPointInPath(e,t)},t.defaultStyles=f({},{fill:"black",stroke:void 0,strokeWidth:0,lineDash:void 0,lineDashOffset:0,lineCap:void 0,lineJoin:void 0,opacity:1,fillShadow:void 0,strokeShadow:void 0}),t}(d),m=Math.sign?Math.sign:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1};function b(e,t,r,o){if(0===e)return function(e,t,r){if(0===e)return function(e,t){var r=-t/e;return 0!==e&&r>=0&&r<=1?[r]:[]}(t,r);var o=t*t-4*e*r,n=[];if(0===o){var i=-t/(2*e);i>=0&&i<=1&&n.push(i)}else if(o>0){var a=Math.sqrt(o),s=(-t-a)/(2*e),l=(-t+a)/(2*e);s>=0&&s<=1&&n.push(s),l>=0&&l<=1&&n.push(l)}return n}(t,r,o);var n=t/e,i=r/e,a=(3*i-n*n)/9,s=(9*n*i-27*(o/e)-2*n*n*n)/54,l=a*a*a+s*s,c=[];if(l>=0){var u=Math.sqrt(l),p=m(s+u)*Math.pow(Math.abs(s+u),1/3),d=m(s-u)*Math.pow(Math.abs(s-u),1/3),g=Math.abs(Math.sqrt(3)*(p-d)/2),h=-1/3*n+(p+d);if(h>=0&&h<=1&&c.push(h),0===g){var f=-1/3*n-(p+d)/2;f>=0&&f<=1&&c.push(f)}}else{var v=Math.acos(s/Math.sqrt(-a*a*a)),y=1/3*n,b=2*Math.sqrt(-a),w=b*Math.cos(1/3*v)-y,C=b*Math.cos(1/3*(v+2*Math.PI))-y,O=b*Math.cos(1/3*(v+4*Math.PI))-y;w>=0&&w<=1&&c.push(w),C>=0&&C<=1&&c.push(C),O>=0&&O<=1&&c.push(O)}return c}function w(e,t,r,o,n,i,a,s){var l=(r-e)*(s-i)-(o-t)*(a-n);if(0===l)return null;var c=((a-n)*(t-i)-(e-n)*(s-i))/l,u=((r-e)*(t-i)-(o-t)*(e-n))/l;return c>=0&&c<=1&&u>=0&&u<=1?{x:e+c*(r-e),y:t+c*(o-t)}:null}function C(e,t,r,o,n,i,a,s,l,c,u,p){for(var d=[],g=c-p,h=u-l,f=l*(p-c)-c*(u-l),v=O(e,r,n,a),y=O(t,o,i,s),m=b(g*v[0]+h*y[0],g*v[1]+h*y[1],g*v[2]+h*y[2],g*v[3]+h*y[3]+f),w=0;w<m.length;w++){var C=m[w],S=C*C,E=C*S,x=v[0]*E+v[1]*S+v[2]*C+v[3],R=y[0]*E+y[1]*S+y[2]*C+y[3],T=void 0;(T=l!==u?(x-l)/(u-l):(R-c)/(p-c))>=0&&T<=1&&d.push({x:x,y:R})}return d}function O(e,t,r,o){return[3*t-e-3*r+o,3*e-6*t+3*r,-3*e+3*t,e]}var S=function(){function e(){this.commands=[],this.params=[],this._closedPath=!1}return e.prototype.moveTo=function(e,t){this.xy?(this.xy[0]=e,this.xy[1]=t):this.xy=[e,t],this.commands.push("M"),this.params.push(e,t)},e.prototype.lineTo=function(e,t){this.xy?(this.commands.push("L"),this.params.push(e,t),this.xy[0]=e,this.xy[1]=t):this.moveTo(e,t)},e.prototype.rect=function(e,t,r,o){this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+o),this.lineTo(e,t+o),this.closePath()},e.prototype.arcTo=function(e,t,r,o,n,i,a){var s=this.xy;if(s){e<0&&(e=-e),t<0&&(t=-t);var l=s[0],c=s[1],u=(l-i)/2,p=(c-a)/2,d=Math.sin(r),g=Math.cos(r),h=g*u+d*p,f=-d*u+g*p,v=h/e,y=f/t,m=v*v+y*y,b=(l+i)/2,w=(c+a)/2,C=0,O=0;m>=1?(e*=m=Math.sqrt(m),t*=m):(m=Math.sqrt(1/m-1),o===n&&(m=-m),b+=g*(C=m*e*y)-d*(O=-m*t*v),w+=d*C+g*O);var S=Math.atan2((f-O)/t,(h-C)/e),E=Math.atan2((-f-O)/t,(-h-C)/e)-S;this.cubicArc(b,w,e,t,r,S,S+E,1-n)}},e.cubicArc=function(e,t,r,o,n,i,a,s,l,c){if(c){var u=s;s=l,l=u}var p=t.length,d=.5522847498307935,g=Math.sin(s),h=Math.cos(s),f=Math.sin(a),v=Math.cos(a),y=Math.PI/2,m=v*h*n-f*g*i,b=f*h*n+v*g*i,w=-v*g*n-f*h*i,C=-f*g*n+v*h*i;for((l-=s)<0&&(l+=2*Math.PI),e.push("M"),t.push(m+r,b+o);l>=y;){l-=y,e.push("C");var O=w+r;t.push(m+w*d+r,b+C*d+o,m*d+w+r,b*d+C+o,Math.abs(O)<1e-8?0:O,C+o);u=m;m=w,w=-u,u=b,b=C,C=-u}if(l){var S=4/3*Math.tan(l/4),E=Math.sin(l),x=Math.cos(l),R=x+S*E,T=E-S*x;e.push("C");O=m*x+w*E+r;t.push(m+w*S+r,b+C*S+o,m*R+w*T+r,b*R+C*T+o,Math.abs(O)<1e-8?0:O,b*x+C*E+o)}if(c)for(var A=p,P=t.length-2;A<P;A+=2,P-=2){u=t[A];t[A]=t[P],t[P]=u,u=t[A+1],t[A+1]=t[P+1],t[P+1]=u}},e.prototype.cubicArc=function(t,r,o,n,i,a,s,l){var c=this.commands,u=this.params,p=c.length;e.cubicArc(c,u,t,r,o,n,i,a,s,l);var d=u[u.length-2],g=u[u.length-1];this.xy?(c[p]="L",this.xy[0]=d,this.xy[1]=g):this.xy=[d,g]},e.prototype.deCasteljau=function(e,t){var r=e.length;if(r<2||r%2==1)throw new Error("Fewer than two points or not an even count.");if(2===r||0===t)return e.slice(0,2);if(1===t)return e.slice(-2);for(var o=[],n=r-2,i=0;i<n;i+=2)o.push((1-t)*e[i]+t*e[i+2],(1-t)*e[i+1]+t*e[i+3]);return this.deCasteljau(o,t)},e.prototype.approximateCurve=function(e,t){var r=this.deCasteljau(e,0);this.moveTo(r[0],r[1]);for(var o=1/t,n=o;n<=1;n+=o){var i=this.deCasteljau(e,n);this.lineTo(i[0],i[1])}},e.prototype.quadraticCurveTo=function(e,t,r,o){this.xy||this.moveTo(e,t),this.cubicCurveTo((this.xy[0]+2*e)/3,(this.xy[1]+2*t)/3,(2*e+r)/3,(2*t+o)/3,r,o)},e.prototype.cubicCurveTo=function(e,t,r,o,n,i){this.xy||this.moveTo(e,t),this.commands.push("C"),this.params.push(e,t,r,o,n,i),this.xy[0]=n,this.xy[1]=i},Object.defineProperty(e.prototype,"closedPath",{get:function(){return this._closedPath},enumerable:!0,configurable:!0}),e.prototype.closePath=function(){this.xy&&(this.xy=void 0,this.commands.push("Z"),this._closedPath=!0)},e.prototype.clear=function(){this.commands.length=0,this.params.length=0,this.xy=void 0,this._closedPath=!1},e.prototype.isPointInPath=function(e,t){for(var r=this.commands,o=this.params,n=r.length,i=-1e4,a=-1e4,s=NaN,l=NaN,c=0,u=0,p=0,d=0,g=0;d<n;d++)switch(r[d]){case"M":isNaN(s)||w(s,l,c,u,i,a,e,t)&&p++,s=c=o[g++],l=u=o[g++];break;case"L":w(c,u,c=o[g++],u=o[g++],i,a,e,t)&&p++;break;case"C":p+=C(c,u,o[g++],o[g++],o[g++],o[g++],c=o[g++],u=o[g++],i,a,e,t).length;break;case"Z":isNaN(s)||w(s,l,c,u,i,a,e,t)&&p++}return p%2==1},e.fromString=function(t){var r=new e;return r.setFromString(t),r},e.parseSvgPath=function(t){return t.trim().split(e.splitCommandsRe).map((function(t){var r=t.match(e.matchParamsRe);return{command:t.substr(0,1),params:r?r.map(parseFloat):[]}}))},e.prettifySvgPath=function(t){return e.parseSvgPath(t).map((function(e){return e.command+e.params.join(",")})).join("\n")},e.prototype.setFromString=function(t){var r,o,n,i,a,s=this;function l(){a.match(e.quadraticCommandRe)||(n=r,i=o)}function c(){a.match(e.cubicCommandRe)||(n=r,i=o)}this.clear(),e.parseSvgPath(t).forEach((function(e){var t=e.params,u=t.length,p=0;switch(e.command){case"M":for(s.moveTo(r=t[p++],o=t[p++]);p<u;)s.lineTo(r=t[p++],o=t[p++]);break;case"m":for(s.moveTo(r+=t[p++],o+=t[p++]);p<u;)s.lineTo(r+=t[p++],o+=t[p++]);break;case"L":for(;p<u;)s.lineTo(r=t[p++],o=t[p++]);break;case"l":for(;p<u;)s.lineTo(r+=t[p++],o+=t[p++]);break;case"C":for(;p<u;)s.cubicCurveTo(t[p++],t[p++],n=t[p++],i=t[p++],r=t[p++],o=t[p++]);break;case"c":for(;p<u;)s.cubicCurveTo(r+t[p++],o+t[p++],n=r+t[p++],i=o+t[p++],r+=t[p++],o+=t[p++]);break;case"S":for(c();p<u;)s.cubicCurveTo(r+r-n,o+o-i,n=t[p++],i=t[p++],r=t[p++],o=t[p++]);break;case"s":for(c();p<u;)s.cubicCurveTo(r+r-n,o+o-i,n=r+t[p++],i=o+t[p++],r+=t[p++],o+=t[p++]);break;case"Q":for(;p<u;)s.quadraticCurveTo(n=t[p++],i=t[p++],r=t[p++],o=t[p++]);break;case"q":for(;p<u;)s.quadraticCurveTo(n=r+t[p++],i=o+t[p++],r+=t[p++],o+=t[p++]);break;case"T":for(l();p<u;)s.quadraticCurveTo(n=r+r-n,i=o+o-i,r=t[p++],o=t[p++]);break;case"t":for(l();p<u;)s.quadraticCurveTo(n=r+r-n,i=o+o-i,r+=t[p++],o+=t[p++]);break;case"A":for(;p<u;)s.arcTo(t[p++],t[p++],t[p++]*Math.PI/180,t[p++],t[p++],r=t[p++],o=t[p++]);break;case"a":for(;p<u;)s.arcTo(t[p++],t[p++],t[p++]*Math.PI/180,t[p++],t[p++],r+=t[p++],o+=t[p++]);break;case"Z":case"z":s.closePath();break;case"H":for(;p<u;)s.lineTo(r=t[p++],o);break;case"h":for(;p<u;)s.lineTo(r+=t[p++],o);break;case"V":for(;p<u;)s.lineTo(r,o=t[p++]);break;case"v":for(;p<u;)s.lineTo(r,o+=t[p++])}a=e.command}))},e.prototype.toString=function(){for(var e=this.commands,t=this.params,r=e.length,o=[],n=0,i=0;n<r;n++)switch(e[n]){case"M":o.push("M"+t[i++]+","+t[i++]);break;case"L":o.push("L"+t[i++]+","+t[i++]);break;case"C":o.push("C"+t[i++]+","+t[i++]+" "+t[i++]+","+t[i++]+" "+t[i++]+","+t[i++]);break;case"Z":o.push("Z")}return o.join("")},e.prototype.toPrettyString=function(){return e.prettifySvgPath(this.toString())},e.prototype.toSvg=function(){return e.xmlDeclaration+'\n<svg width="100%" height="100%" viewBox="0 0 50 50" version="1.1" xmlns="'+e.xmlns+'">\n <path d="'+this.toString()+'" style="fill:none;stroke:#000;stroke-width:0.5;"/>\n</svg>'},e.prototype.toDebugSvg=function(){var t=e.prettifySvgPath(this.toString());return e.xmlDeclaration+'\n<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="'+e.xmlns+'">\n <path d="'+t+'" style="fill:none;stroke:#000;stroke-width:0.5;"/>\n</svg>'},e.prototype.toCubicPaths=function(){var e,t,r,o,n,i=[],a=this.params,s=0;return this.commands.forEach((function(l){switch(l){case"M":e=[t=o=a[s++],r=n=a[s++]],i.push(e);break;case"L":var c=a[s++],u=a[s++];e.push((o+o+c)/3,(n+n+u)/3,(o+c+c)/3,(n+u+u)/3,o=c,n=u);break;case"C":e.push(a[s++],a[s++],a[s++],a[s++],o=a[s++],n=a[s++]);break;case"Z":e.push((o+o+t)/3,(n+n+r)/3,(o+t+t)/3,(n+r+r)/3,o=t,n=r)}})),i},e.cubicPathToString=function(e){var t=e.length;if(!(t%2==0&&(t/2-1)/2>=1))throw new Error("Invalid path.");return"M"+e.slice(0,2).join(",")+"C"+e.slice(2).join(",")},e.splitCommandsRe=/(?=[AaCcHhLlMmQqSsTtVvZz])/g,e.matchParamsRe=/-?[0-9]*\.?\d+/g,e.quadraticCommandRe=/[QqTt]/,e.cubicCommandRe=/[CcSs]/,e.xmlDeclaration='<?xml version="1.0" encoding="UTF-8"?>',e.xmlns="http://www.w3.org/2000/svg",e}(),E=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.path=new S,t._dirtyPath=!0,t._svgPath="",t}return E(t,e),Object.defineProperty(t.prototype,"dirtyPath",{get:function(){return this._dirtyPath},set:function(e){this._dirtyPath!==e&&(this._dirtyPath=e,e&&(this.dirty=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"svgPath",{get:function(){return this._svgPath},set:function(e){this._svgPath!==e&&(this._svgPath=e,this.path.setFromString(e),this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t);return this.path.closedPath&&this.path.isPointInPath(r.x,r.y)},t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.updatePath=function(){},t.prototype.render=function(e){var t=this.scene;this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e),this.dirtyPath&&(this.updatePath(),this.dirtyPath=!1),t.appendPath(this.path),this.fillStroke(e),this.dirty=!1},t.className="Path",t}(y),R=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),T=function(e){function t(){var t=e.call(this)||this;return t._x1=0,t._y1=0,t._x2=0,t._y2=0,t.restoreOwnStyles(),t}return R(t,e),Object.defineProperty(t.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1!==e&&(this._x1=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1!==e&&(this._y1=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2!==e&&(this._x2=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2!==e&&(this._y2=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.computeBBox=function(){return new i(this.x1,this.y1,this.x2-this.x1,this.y2-this.y1)},t.prototype.isPointInPath=function(e,t){return!1},t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.render=function(e){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this.x1,r=this.y1,o=this.x2,n=this.y2;if(t===o){var i=Math.round(t)+Math.floor(this.strokeWidth)%2/2;t=i,o=i}else if(r===n){var a=Math.round(r)+Math.floor(this.strokeWidth)%2/2;r=a,n=a}e.beginPath(),e.moveTo(t,r),e.lineTo(o,n),this.fillStroke(e),this.dirty=!1},t.className="Line",t.defaultStyles=f(y.defaultStyles,{fill:void 0,strokeWidth:1}),t}(y),A=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},P=function(){function e(){this.type="band",this.index=new Map,this.ordinalRange=[],this._domain=[],this._range=[0,1],this._bandwidth=1,this._paddingInner=0,this._paddingOuter=0,this._round=!1,this._align=.5}return Object.defineProperty(e.prototype,"domain",{get:function(){return this._domain},set:function(e){var t=this._domain;t.length=0,this.index=new Map;var r=this.index;e.forEach((function(e){void 0===r.get(e)&&r.set(e,t.push(e)-1)})),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return this._range},set:function(e){this._range[0]=e[0],this._range[1]=e[1],this.rescale()},enumerable:!0,configurable:!0}),e.prototype.ticks=function(){return this._domain},e.prototype.convert=function(e){var t=this.index.get(e);if(void 0===t)return NaN;var r=this.ordinalRange[t];return void 0===r?NaN:r},Object.defineProperty(e.prototype,"bandwidth",{get:function(){return this._bandwidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"padding",{get:function(){return this._paddingInner},set:function(e){e=Math.max(0,Math.min(1,e)),this._paddingInner=e,this._paddingOuter=e,this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingInner",{get:function(){return this._paddingInner},set:function(e){this._paddingInner=Math.max(0,Math.min(1,e)),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingOuter",{get:function(){return this._paddingOuter},set:function(e){this._paddingOuter=Math.max(0,Math.min(1,e)),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{get:function(){return this._round},set:function(e){this._round=e,this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this._align},set:function(e){this._align=Math.max(0,Math.min(1,e)),this.rescale()},enumerable:!0,configurable:!0}),e.prototype.rescale=function(){var e,t=this._domain.length;if(t){var r=A(this._range,2),o=r[0],n=r[1],i=n<o;i&&(o=(e=A([n,o],2))[0],n=e[1]);var a=(n-o)/Math.max(1,t-this._paddingInner+2*this._paddingOuter);this._round&&(a=Math.floor(a)),o+=(n-o-a*(t-this._paddingInner))*this._align,this._bandwidth=a*(1-this._paddingInner),this._round&&(o=Math.round(o),this._bandwidth=Math.round(this._bandwidth));for(var s=[],l=0;l<t;l++)s.push(o+a*l);this.ordinalRange=i?s.reverse():s}},e}(),_=function(){function e(e,t){this.next=null,this.scene=e.scene,this.parent=e,this.datum=t}return e.prototype.appendChild=function(e){if(null===this.next)return this.parent.insertBefore(e,null);if(!d.isNode(this.next))throw new Error(this.next+" is not a Node.");return this.parent.insertBefore(e,this.next)},e.prototype.insertBefore=function(e,t){return this.parent.insertBefore(e,t)},e}(),D=function(){function e(e,t){this.groups=e,this.parents=t}return e.select=function(t){return new e([["function"==typeof t?t():t]],[void 0])},e.selectAll=function(t){return new e([null==t?[]:t],[void 0])},e.prototype.append=function(e){return this.select((function(t){return t.appendChild(new e)}))},e.prototype.appendFn=function(e){return this.select((function(t,r,o,n){return t.appendChild(e(t,r,o,n))}))},e.prototype.select=function(t){for(var r=this.groups,o=r.length,n=[],i=0;i<o;i++)for(var a=r[i],s=a.length,l=n[i]=new Array(s),c=0;c<s;c++){var u=a[c];if(u){var p=t(u,u.datum,c,a);p&&(p.datum=u.datum),l[c]=p}}return new e(n,this.parents)},e.prototype.selectByClass=function(e){return this.select((function(t){if(d.isNode(t))for(var r=t.children,o=r.length,n=0;n<o;n++){var i=r[n];if(i instanceof e)return i}}))},e.prototype.selectByTag=function(e){return this.select((function(t){if(d.isNode(t))for(var r=t.children,o=r.length,n=0;n<o;n++){var i=r[n];if(i.tag===e)return i}}))},e.prototype.selectAllByClass=function(e){return this.selectAll((function(t){var r=[];if(d.isNode(t))for(var o=t.children,n=o.length,i=0;i<n;i++){var a=o[i];a instanceof e&&r.push(a)}return r}))},e.prototype.selectAllByTag=function(e){return this.selectAll((function(t){var r=[];if(d.isNode(t))for(var o=t.children,n=o.length,i=0;i<n;i++){var a=o[i];a.tag===e&&r.push(a)}return r}))},e.prototype.selectNone=function(){return[]},e.prototype.selectAll=function(t){t||(t=this.selectNone);for(var r=[],o=[],n=this.groups,i=n.length,a=0;a<i;a++)for(var s=n[a],l=s.length,c=0;c<l;c++){var u=s[c];u&&(r.push(t(u,u.datum,c,s)),o.push(u))}return new e(r,o)},e.prototype.each=function(e){for(var t=this.groups,r=t.length,o=0;o<r;o++)for(var n=t[o],i=n.length,a=0;a<i;a++){var s=n[a];s&&e(s,s.datum,a,n)}return this},e.prototype.remove=function(){return this.each((function(e){if(d.isNode(e)){var t=e.parent;t&&t.removeChild(e)}}))},e.prototype.merge=function(t){for(var r=this.groups,o=t.groups,n=r.length,i=o.length,a=Math.min(n,i),s=new Array(n),l=0;l<a;l++)for(var c=r[l],u=o[l],p=c.length,d=s[l]=new Array(p),g=0;g<p;g++){var h=c[g]||u[g];d[g]=h||void 0}for(;l<n;l++)s[l]=r[l];return new e(s,this.parents)},e.prototype.node=function(){for(var e=this.groups,t=e.length,r=0;r<t;r++)for(var o=e[r],n=o.length,i=0;i<n;i++){var a=o[i];if(a)return a}return null},e.prototype.attr=function(e,t){return this.each((function(r){r[e]=t})),this},e.prototype.attrFn=function(e,t){return this.each((function(r,o,n,i){r[e]=t(r,o,n,i)})),this},e.prototype.call=function(e){return e(this),this},Object.defineProperty(e.prototype,"size",{get:function(){var e=0;return this.each((function(){return e++})),e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){var e=[];return this.each((function(t,r){return e.push(r)})),e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enter",{get:function(){return new e(this.enterGroups?this.enterGroups:[[]],this.parents)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exit",{get:function(){return new e(this.exitGroups?this.exitGroups:[[]],this.parents)},enumerable:!0,configurable:!0}),e.prototype.setDatum=function(e){return this.each((function(t){t.datum=e}))},Object.defineProperty(e.prototype,"datum",{get:function(){var e=this.node();return e?e.datum:null},enumerable:!0,configurable:!0}),e.prototype.setData=function(t,r){if("function"!=typeof t){var o=t;t=function(){return o}}for(var n=this.groups,i=this.parents,a=n.length,s=new Array(a),l=new Array(a),c=new Array(a),u=0;u<a;u++){var p=n[u],d=i[u];if(!d)throw new Error("Group #"+u+" has no parent: "+p);var g=p.length,h=t(d,d.datum,u,i),f=h.length,v=l[u]=new Array(f),y=s[u]=new Array(f),m=c[u]=new Array(g);r?this.bindKey(d,p,v,y,m,h,r):this.bindIndex(d,p,v,y,m,h);for(var b=0,w=0;b<f;b++){var C=v[b];if(C){b>=w&&(w=b+1);for(var O=void 0;!(O=y[w])&&w<f;)w++;C.next=O||null}}}var S=new e(s,i);return S.enterGroups=l,S.exitGroups=c,S},e.prototype.bindIndex=function(e,t,r,o,n,i){for(var a=t.length,s=i.length,l=0;l<s;l++){(c=t[l])?(c.datum=i[l],o[l]=c):r[l]=new _(e,i[l])}for(;l<a;l++){var c;(c=t[l])&&(n[l]=c)}},e.prototype.bindKey=function(t,r,o,n,i,a,s){for(var l=r.length,c=a.length,u=new Array(l),p={},d=0;d<l;d++){if(h=r[d])(g=u[d]=e.keyPrefix+s(h,h.datum,d,r))in p?i[d]=h:p[g]=h}for(d=0;d<c;d++){var g;(h=p[g=e.keyPrefix+s(t,a[d],d,a)])?(n[d]=h,h.datum=a[d],p[g]=void 0):o[d]=new _(t,a[d])}for(d=0;d<l;d++){var h;(h=r[d])&&p[u[d]]===h&&(i[d]=h)}},e.keyPrefix="$",e}(),M=function(){function e(e,t,r){void 0===e&&(e=window.document),void 0===t&&(t=600),void 0===r&&(r=300),this._container=void 0,this._pixelRatio=NaN,this._width=100,this._height=100,this.document=e,this.element=e.createElement("canvas"),this.context=this.element.getContext("2d"),this.element.style.userSelect="none",this.element.style.display="block",this.setPixelRatio(),this.resize(t,r)}return Object.defineProperty(e.prototype,"container",{get:function(){return this._container},set:function(e){this._container!==e&&(this.remove(),e&&e.appendChild(this.element),this._container=e)},enumerable:!0,configurable:!0}),e.prototype.remove=function(){var e=this.element.parentNode;null!=e&&e.removeChild(this.element)},e.prototype.destroy=function(){this.element.remove(),this._canvas=void 0,Object.freeze(this)},e.prototype.clear=function(){this.context.save(),this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.element.width,this.element.height),this.context.restore()},e.prototype.toImage=function(){var e=this.document.createElement("img");return e.src=this.getDataURL(),e},e.prototype.getDataURL=function(e){return this.element.toDataURL(e)},e.prototype.download=function(e){e=((e||"").trim()||"image")+".png";var t=this.getDataURL("image/png"),r=this.document,o=r.createElement("a");o.href=t,o.download=e,o.style.display="none",r.body.appendChild(o),o.click(),r.body.removeChild(o)},Object.defineProperty(e.prototype,"pixelRatio",{get:function(){return this._pixelRatio},enumerable:!0,configurable:!0}),e.prototype.setPixelRatio=function(t){var r=t||window.devicePixelRatio;r!==this.pixelRatio&&(e.overrideScale(this.context,r),this._pixelRatio=r,this.resize(this.width,this.height))},Object.defineProperty(e.prototype,"pixelated",{get:function(){return"pixelated"===this.element.style.imageRendering},set:function(e){this.element.style.imageRendering=e?"pixelated":"auto"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){if(e>0&&t>0){var r=this.element,o=this.context,n=this.pixelRatio;r.width=Math.round(e*n),r.height=Math.round(t*n),r.style.width=e+"px",r.style.height=t+"px",o.resetTransform(),this._width=e,this._height=t}},Object.defineProperty(e,"textMeasuringContext",{get:function(){if(this._textMeasuringContext)return this._textMeasuringContext;var e=document.createElement("canvas");return this._textMeasuringContext=e.getContext("2d"),this._textMeasuringContext},enumerable:!0,configurable:!0}),Object.defineProperty(e,"svgText",{get:function(){if(this._svgText)return this._svgText;var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("width","100"),t.setAttribute("height","100"),t.classList?t.classList.add("text-measuring-svg"):t.setAttribute("class","text-measuring-svg"),t.style.position="absolute",t.style.top="-1000px",t.style.visibility="hidden";var r=document.createElementNS(e,"text");return r.setAttribute("x","0"),r.setAttribute("y","30"),r.setAttribute("text","black"),t.appendChild(r),document.body.appendChild(t),this._svgText=r,r},enumerable:!0,configurable:!0}),Object.defineProperty(e,"has",{get:function(){if(this._has)return this._has;var e=navigator.userAgent.indexOf("Chrome")>-1,t=navigator.userAgent.indexOf("Firefox")>-1,r=!e&&navigator.userAgent.indexOf("Safari")>-1;return this._has=Object.freeze({textMetrics:void 0!==this.textMeasuringContext.measureText("test").actualBoundingBoxDescent&&!t&&!r,getTransform:void 0!==this.textMeasuringContext.getTransform}),this._has},enumerable:!0,configurable:!0}),e.measureText=function(e,t,r,o){var n=this.textMeasuringContext;return n.font=t,n.textBaseline=r,n.textAlign=o,n.measureText(e)},e.getTextSize=function(e,t){if(this.has.textMetrics){var r=this.textMeasuringContext;r.font=t;var o=r.measureText(e);return{width:o.width,height:o.actualBoundingBoxAscent+o.actualBoundingBoxDescent}}return this.measureSvgText(e,t)},e.measureSvgText=function(e,t){var r=this.textSizeCache,o=r[t];if(o){var n=o[e];if(n)return n}else r[t]={};var i=this.svgText;i.style.font=t,i.textContent=e;var a=i.getBBox(),s={width:a.width,height:a.height};return r[t][e]=s,s},e.overrideScale=function(e,t){var r=0,o={save:function(){this.$save(),r++},restore:function(){r>0&&(this.$restore(),r--)},setTransform:function(e,r,o,n,i,a){this.$setTransform(e*t,r*t,o*t,n*t,i*t,a*t)},resetTransform:function(){this.$setTransform(t,0,0,t,0,0),this.save(),r=0}};for(var n in o)o.hasOwnProperty(n)&&(e["$"+n]||(e["$"+n]=e[n]),e[n]=o[n])},e.textSizeCache={},e}(),N=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},I=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(N(arguments[t]));return e},L=function(){function e(e,t,r){var o=this;void 0===e&&(e=window.document),this.id=l(this),this._dirty=!1,this.animationFrameId=0,this._root=null,this.debug={renderFrameIndex:!1,renderBoundingBoxes:!1},this._frameIndex=0,this.render=function(){var e,t=o,r=t.canvas,n=t.ctx,i=t.root,a=t.pendingSize;o.animationFrameId=0,a&&((e=o.canvas).resize.apply(e,I(a)),o.pendingSize=void 0),!i||i.visible?(r.clear(),i&&(n.save(),i.visible&&i.render(n),n.restore()),o._frameIndex++,o.debug.renderFrameIndex&&(n.fillStyle="white",n.fillRect(0,0,40,15),n.fillStyle="black",n.fillText(o.frameIndex.toString(),2,10)),o.dirty=!1):o.dirty=!1},this.canvas=new M(e,t,r),this.ctx=this.canvas.context}return Object.defineProperty(e.prototype,"container",{get:function(){return this.canvas.container},set:function(e){this.canvas.container=e},enumerable:!0,configurable:!0}),e.prototype.download=function(e){this.canvas.download(e)},e.prototype.getDataURL=function(e){return this.canvas.getDataURL(e)},Object.defineProperty(e.prototype,"width",{get:function(){return this.pendingSize?this.pendingSize[0]:this.canvas.width},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.pendingSize?this.pendingSize[1]:this.canvas.height},enumerable:!0,configurable:!0}),e.prototype.resize=function(e,t){e=Math.round(e),t=Math.round(t),e===this.width&&t===this.height||(this.pendingSize=[e,t],this.dirty=!0)},Object.defineProperty(e.prototype,"dirty",{get:function(){return this._dirty},set:function(e){e&&!this._dirty&&(this.animationFrameId=requestAnimationFrame(this.render)),this._dirty=e},enumerable:!0,configurable:!0}),e.prototype.cancelRender=function(){this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=0,this._dirty=!1)},Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(e){e!==this._root&&(this._root&&this._root._setScene(),this._root=e,e&&(null===e.parent&&e.scene&&e.scene!==this&&(e.scene.root=null),e._setScene(this)),this.dirty=!0)},enumerable:!0,configurable:!0}),e.prototype.appendPath=function(e){var t=this.ctx,r=e.commands,o=e.params,n=r.length,i=0;t.beginPath();for(var a=0;a<n;a++)switch(r[a]){case"M":t.moveTo(o[i++],o[i++]);break;case"L":t.lineTo(o[i++],o[i++]);break;case"C":t.bezierCurveTo(o[i++],o[i++],o[i++],o[i++],o[i++],o[i++]);break;case"Z":t.closePath()}},Object.defineProperty(e.prototype,"frameIndex",{get:function(){return this._frameIndex},enumerable:!0,configurable:!0}),e.className="Scene",e}(),k=function(){return(k=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},F=function(){function e(){this.allPropertyListeners=new Map,this.allEventListeners=new Map}return e.prototype.addPropertyListener=function(e,t,r){void 0===r&&(r=this);var o=this.allPropertyListeners,n=o.get(e);if(n||(n=new Map,o.set(e,n)),!n.has(t)){var i=new Set;n.set(t,i)}var a=n.get(t);a&&a.add(r)},e.prototype.removePropertyListener=function(e,t,r){void 0===r&&(r=this);var o=this.allPropertyListeners.get(e);if(o)if(t){var n=o.get(t);n&&(n.delete(r),n.size||o.delete(t))}else o.clear()},e.prototype.notifyPropertyListeners=function(e,t,r){var o=this,n=this.allPropertyListeners.get(e);n&&n.forEach((function(n,i){n.forEach((function(n){return i.call(n,{type:e,source:o,value:r,oldValue:t})}))}))},e.prototype.addEventListener=function(e,t,r){void 0===r&&(r=this);var o=this.allEventListeners,n=o.get(e);if(n||(n=new Map,o.set(e,n)),!n.has(t)){var i=new Set;n.set(t,i)}var a=n.get(t);a&&a.add(r)},e.prototype.removeEventListener=function(e,t,r){void 0===r&&(r=this);var o=this.allEventListeners.get(e);if(o)if(t){var n=o.get(t);n&&(n.delete(r),n.size||o.delete(t))}else o.clear()},e.prototype.notifyEventListeners=function(e){var t=this,r=this.allEventListeners;e.forEach((function(e){var o=r.get(e);o&&o.forEach((function(r,o){r.forEach((function(r){return o.call(r,{type:e,source:t})}))}))}))},e.prototype.fireEvent=function(e){var t=this,r=this.allEventListeners.get(e.type);r&&r.forEach((function(r,o){r.forEach((function(r){return o.call(r,k(k({},e),{source:t}))}))}))},e.privateKeyPrefix="_",e}();function G(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.indexOf("debugger");return function(t,r){var o=F.privateKeyPrefix+r,n=o+"Events";t[r]||(e&&(t[n]=e),Object.defineProperty(t,r,{set:function(e){var t=this[o];if(e!==t||"object"==typeof e&&null!==e){this[o]=e,this.notifyPropertyListeners(r,t,e);var i=this[n];i&&this.notifyEventListeners(i)}},get:function(){return this[o]},enumerable:!0,configurable:!0}))}}var j=function(){function e(e,t,r,o){void 0===e&&(e=0),void 0===t&&(t=e),void 0===r&&(r=e),void 0===o&&(o=t),this.top=e,this.right=t,this.bottom=r,this.left=o}return e.prototype.clear=function(){this.top=this.right=this.bottom=this.left=0},e}();function z(e){return"number"==typeof e&&Number.isFinite(e)}function B(e){return z(e)||function(e){return!!e&&e.hasOwnProperty("valueOf")&&z(e.valueOf())}(e)}function V(e){return e instanceof Date&&!isNaN(+e)}function W(e){return"string"==typeof e}function H(e){return!!e&&e.hasOwnProperty("toString")&&W(e.toString())}function U(e){return B(e)||V(e)}var K=function(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}},Y=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},X=function(){function e(e,t,r,o){void 0===o&&(o=1),this.r=Math.min(1,Math.max(0,e||0)),this.g=Math.min(1,Math.max(0,t||0)),this.b=Math.min(1,Math.max(0,r||0)),this.a=Math.min(1,Math.max(0,o||0))}return e.fromString=function(t){if(t.indexOf("#")>=0)return e.fromHexString(t);var r=e.nameToHex[t];if(r)return e.fromHexString(r);if(t.indexOf("rgb")>=0)return e.fromRgbaString(t);throw new Error("Invalid color string: '"+t+"'")},e.parseHex=function(e){var t;switch((e=e.replace(/ /g,"").slice(1)).length){case 6:case 8:t=[];for(var r=0;r<e.length;r+=2)t.push(parseInt(""+e[r]+e[r+1],16));break;case 3:case 4:t=e.split("").map((function(e){return parseInt(e,16)})).map((function(e){return e+16*e}))}if(t.length>=3&&t.every((function(e){return e>=0})))return 3===t.length&&t.push(255),t},e.fromHexString=function(t){var r=e.parseHex(t);if(r){var o=Y(r,4);return new e(o[0]/255,o[1]/255,o[2]/255,o[3]/255)}throw new Error("Malformed hexadecimal color string: '"+t+"'")},e.stringToRgba=function(e){for(var t=Y([NaN,NaN],2),r=t[0],o=t[1],n=0;n<e.length;n++){var i=e[n];if(r||"("!==i){if(")"===i){o=n;break}}else r=n}var a=r&&o&&e.substring(r+1,o);if(a){var s=a.split(","),l=[];for(n=0;n<s.length;n++){var c=s[n],u=parseFloat(c);if(isNaN(u))return;c.indexOf("%")>=0?(u=Math.max(0,Math.min(100,u)),u/=100):3===n?u=Math.max(0,Math.min(1,u)):(u=Math.max(0,Math.min(255,u)),u/=255),l.push(u)}return l}},e.fromRgbaString=function(t){var r=e.stringToRgba(t);if(r){if(3===r.length)return new e(r[0],r[1],r[2]);if(4===r.length)return new e(r[0],r[1],r[2],r[3])}throw new Error("Malformed rgb/rgba color string: '"+t+"'")},e.fromArray=function(t){if(4===t.length)return new e(t[0],t[1],t[2],t[3]);if(3===t.length)return new e(t[0],t[1],t[2]);throw new Error("The given array should contain 3 or 4 color components (numbers).")},e.fromHSB=function(t,r,o,n){void 0===n&&(n=1);var i=e.HSBtoRGB(t,r,o);return new e(i[0],i[1],i[2],n)},e.padHex=function(e){return 1===e.length?"0"+e:e},e.prototype.toHexString=function(){var t="#"+e.padHex(Math.round(255*this.r).toString(16))+e.padHex(Math.round(255*this.g).toString(16))+e.padHex(Math.round(255*this.b).toString(16));return this.a<1&&(t+=e.padHex(Math.round(255*this.a).toString(16))),t},e.prototype.toRgbaString=function(e){void 0===e&&(e=3);var t=[Math.round(255*this.r),Math.round(255*this.g),Math.round(255*this.b)],r=Math.pow(10,e);return 1!==this.a?(t.push(Math.round(this.a*r)/r),"rgba("+t.join(", ")+")"):"rgb("+t.join(", ")+")"},e.prototype.toString=function(){return 1===this.a?this.toHexString():this.toRgbaString()},e.prototype.toHSB=function(){return e.RGBtoHSB(this.r,this.g,this.b)},e.RGBtoHSB=function(e,t,r){var o=Math.min(e,t,r),n=Math.max(e,t,r),i=NaN;if(o!==n){var a=n-o,s=(n-e)/a,l=(n-t)/a,c=(n-r)/a;i=e===n?c-l:t===n?2+s-c:4+l-s,(i/=6)<0&&(i+=1)}return[360*i,0!==n?(n-o)/n:0,n]},e.HSBtoRGB=function(e,t,r){isNaN(e)&&(e=0),e=(e%360+360)%360/360;var o=0,n=0,i=0;if(0===t)o=n=i=r;else{var a=6*(e-Math.floor(e)),s=a-Math.floor(a),l=r*(1-t),c=r*(1-t*s),u=r*(1-t*(1-s));switch(a>>0){case 0:o=r,n=u,i=l;break;case 1:o=c,n=r,i=l;break;case 2:o=l,n=r,i=u;break;case 3:o=l,n=c,i=r;break;case 4:o=u,n=l,i=r;break;case 5:o=r,n=l,i=c}}return[o,n,i]},e.prototype.derive=function(t,r,o,n){var i=e.RGBtoHSB(this.r,this.g,this.b),a=i[2];0==a&&o>1&&(a=.05);var s=((i[0]+t)%360+360)%360,l=Math.max(Math.min(i[1]*r,1),0);a=Math.max(Math.min(a*o,1),0);var c=Math.max(Math.min(this.a*n,1),0),u=e.HSBtoRGB(s,l,a);return u.push(c),e.fromArray(u)},e.prototype.brighter=function(){return this.derive(0,1,1/.7,1)},e.prototype.darker=function(){return this.derive(0,1,.7,1)},e.nameToHex=Object.freeze({aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"}),e}(),q=function(e,t){if("string"==typeof e)try{e=X.fromString(e)}catch(t){e=X.fromArray([0,0,0])}if("string"==typeof t)try{t=X.fromString(t)}catch(e){t=X.fromArray([0,0,0])}var r=K(e.r,t.r),o=K(e.g,t.g),n=K(e.b,t.b),i=K(e.a,t.a);return function(e){return X.fromArray([r(e),o(e),n(e),i(e)]).toRgbaString()}},Q=function(e,t){var r,o,n=typeof t;if(null==t||"boolean"===n)return o=t,function(){return o};if("number"===n)return K(e,t);if("string"===n)try{return r=X.fromString(t),q(e,t=r)}catch(e){}return t instanceof X?q(e,t):t instanceof Date?function(e,t){var r=new Date,o=+e,n=+t;return function(e){return r.setTime(o*(1-e)+n*e),r}}(e,t):Array.isArray(t)?function(e,t){var r,o=t?t.length:0,n=e?Math.min(o,e.length):0,i=new Array(n),a=new Array(o);for(r=0;r<n;++r)i[r]=Q(e[r],t[r]);for(;r<o;++r)a[r]=t[r];return function(e){for(r=0;r<n;++r)a[r]=i[r](e);return a}}(e,t):"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,o={},n={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?o[r]=Q(e[r],t[r]):n[r]=t[r];return function(e){for(r in o)n[r]=o[r](e);return n}}(e,t):K(e,t)},Z=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},J=function(e){return e};function $(e){var t,r=e[0],o=e[e.length-1];return r>o&&(t=Z([o,r],2),r=t[0],o=t[1]),function(e){return Math.max(r,Math.min(o,e))}}var ee=function(){function e(){this.unknown=void 0,this._clamp=J,this._domain=[0,1],this._range=[0,1],this.transform=J,this.untransform=J,this._interpolate=Q,this.rescale()}return Object.defineProperty(e.prototype,"clamp",{get:function(){return this._clamp!==J},set:function(e){this._clamp=e?$(this.domain):J},enumerable:!0,configurable:!0}),e.prototype.setDomain=function(e){this._domain=Array.prototype.map.call(e,(function(e){return+e})),this._clamp!==J&&(this._clamp=$(this.domain)),this.rescale()},e.prototype.getDomain=function(){return this._domain.slice()},Object.defineProperty(e.prototype,"domain",{get:function(){return this.getDomain()},set:function(e){this.setDomain(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return this._range.slice()},set:function(e){this._range=Array.prototype.slice.call(e),this.rescale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"interpolate",{get:function(){return this._interpolate},set:function(e){this._interpolate=e,this.rescale()},enumerable:!0,configurable:!0}),e.prototype.rescale=function(){this.piecewise=this.bimap,this.output=void 0,this.input=void 0},e.prototype.normalize=function(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r});var r},e.prototype.bimap=function(e,t,r){var o,n,i=e[0],a=e[1],s=t[0],l=t[1];return a<i?(o=this.normalize(a,i),n=r(l,s)):(o=this.normalize(i,a),n=r(s,l)),function(e){return n(o(e))}},e.prototype.convert=function(e){return e=+e,isNaN(e)?this.unknown:(this.output||(this.output=this.piecewise(this.domain.map(this.transform),this.range,this.interpolate)),this.output(this.transform(this._clamp(e))))},e.prototype.invert=function(e){return this.input||(this.input=this.piecewise(this.range,this.domain.map(this.transform),K)),this._clamp(this.untransform(this.input(e)))},e}(),te=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),re=function(e,t,r){var o=ae(e,t,r);return function(e,t,r){void 0===r&&(r=1);for(var o=Math.abs(r),n=o>0&&o<1?Math.abs(Math.floor(Math.log(o)/Math.LN10)):0,i=Math.pow(10,n),a=Math.max(0,Math.ceil((t-e)/r))||0,s=new le(n),l=0;l<a;l++){var c=e+r*l;s[l]=Math.round(c*i)/i}return s}(e=Math.ceil(e/o)*o,t=Math.floor(t/o)*o+o/2,o)},oe=Math.sqrt(50),ne=Math.sqrt(10),ie=Math.sqrt(2);function ae(e,t,r){var o=Math.abs(t-e)/Math.max(0,r),n=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),i=o/n;return i>=oe?n*=10:i>=ne?n*=5:i>=ie&&(n*=2),t<e?-n:n}function se(e,t,r){var o=(t-e)/Math.max(0,r),n=Math.floor(Math.log(o)/Math.LN10),i=o/Math.pow(10,n);return n>=0?(i>=oe?10:i>=ne?5:i>=ie?2:1)*Math.pow(10,n):-Math.pow(10,-n)/(i>=oe?10:i>=ne?5:i>=ie?2:1)}var le=function(e){function t(t,r){var o=e.call(this)||this;if(r)for(var n=0,i=r.length;n<i;n++)o[n]=r[n];return o.fractionDigits=t,o}return te(t,e),t}(Array);var ce,ue,pe,de,ge={"":function(e,t){var r=e.toPrecision(t);e:for(var o=r.length,n=1,i=-1,a=0;n<o;++n)switch(r[n]){case".":i=a=n;break;case"0":0===i&&(i=n),a=n;break;case"e":break e;default:i>0&&(i=0)}return i>0?r.slice(0,i)+r.slice(a+1):r},"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return String(e)},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return we(100*e,t)},r:we,s:function(e,t){void 0===t&&(t=0);var r=Ce(e,t);if(!r)return String(e);var o=r[0],n=r[1];ce=3*Math.max(-8,Math.min(8,Math.floor(n/3)));var i=n-ce+1,a=o.length;if(i===a)return o;if(i>a)return o+new Array(i-a+1).join("0");if(i>0)return o.slice(0,i)+"."+o.slice(i);var s=Ce(e,Math.max(0,t+i-1));return"0."+new Array(1-i).join("0")+s[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},he=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],fe=function e(t){t instanceof e?(this.fill=t.fill,this.align=t.align,this.sign=t.sign,this.symbol=t.symbol,this.zero=t.zero,this.width=t.width,this.comma=t.comma,this.precision=t.precision,this.trim=t.trim,this.type=t.type,this.string=t.string):(this.fill=void 0===t.fill?" ":String(t.fill),this.align=void 0===t.align?">":String(t.align),this.sign=void 0===t.sign?"-":String(t.sign),this.symbol=void 0===t.symbol?"":String(t.symbol),this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":String(t.type),this.string=t.string)},ve=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i,ye=/(#\{(.*?)\})/g;function me(e){if(e instanceof fe)return new fe(e);var t=!1,r=e.replace(ye,(function(){return t||(e=arguments[2],t=!0),"#{}"})),o=ve.exec(e);if(!o)throw new Error("Invalid format: "+e);return new fe({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&o[8].slice(1),trim:o[9],type:o[10],string:t?r:void 0})}function be(e,t,r,o){var n,i=ae(e,t,r),a=me(null==o?",f":o);switch(a.type){case"s":var s=Math.max(Math.abs(e),Math.abs(t));return null!=a.precision||isNaN(n=function(e,t){var r=Math.floor(Se(t)/3);return r=Math.min(8,r),r=Math.max(-8,r),Math.max(0,3*r-Se(Math.abs(e)))}(i,s))||(a.precision=n),de(a,s);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(n=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Se(t)-Se(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(a.precision=n-+("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(n=function(e){return Math.max(0,-Se(Math.abs(e)))}(i))||(a.precision=n-2*+("%"===a.type))}return pe(a)}function we(e,t){var r=Ce(e,t);if(!r)return String(e);var o=r[0],n=r[1];return n<0?"0."+new Array(-n).join("0")+o:o.length>n+1?o.slice(0,n+1)+"."+o.slice(n+1):o+new Array(n-o.length+2).join("0")}function Ce(e,t){var r=t?e.toExponential(t-1):e.toExponential(),o=r.indexOf("e");if(!(o<0)){var n=r.slice(0,o);return[n.length>1?n[0]+n.slice(2):n,+r.slice(o+1)]}}function Oe(e){return e}function Se(e){var t=Ce(Math.abs(e));return t?t[1]:NaN}ue=function(e){var t,r,o=void 0===e.grouping||void 0===e.thousands?Oe:(t=Array.prototype.map.call(e.grouping,Number),r=String(e.thousands),function(e,o){for(var n=[],i=e.length,a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>o&&(s=Math.max(1,o-l)),n.push(e.substring(i-=s,i+s)),!((l+=s+1)>o));)s=t[a=(a+1)%t.length];return n.reverse().join(r)}),n=void 0===e.currency?"":String(e.currency[0]),i=void 0===e.currency?"":String(e.currency[1]),a=void 0===e.decimal?".":String(e.decimal),s=void 0===e.numerals?Oe:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Array.prototype.map.call(e.numerals,String)),l=void 0===e.percent?"%":String(e.percent),c=void 0===e.minus?"−":String(e.minus),u=void 0===e.nan?"NaN":String(e.nan);function p(e){var t=me(e),r=t.fill,p=t.align,d=t.sign,g=t.symbol,h=t.zero,f=t.width,v=t.comma,y=t.precision,m=t.trim,b=t.type;"n"===b?(v=!0,b="g"):ge[b]||(void 0===y&&(y=12),m=!0,b="g"),(h||"0"===r&&"="===p)&&(h=!0,r="0",p="=");var w="$"===g?n:"#"===g&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",C="$"===g?i:/[%p]/.test(b)?l:"",O=ge[b],S=/[defgprs%]/.test(b);return y=void 0===y?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),function(e){var n,i=w,l=C;if("c"===b)l=O(+e)+l,n="";else{var g=+e,E=e<0||1/g<0;if(n=isNaN(g)?u:O(Math.abs(g),y),m&&(n=function(e){e:for(var t=e.length,r=1,o=-1,n=0;r<t;++r)switch(e[r]){case".":o=n=r;break;case"0":0===o&&(o=r),n=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(n+1):e}(n)),E&&0==+n&&"+"!==d&&(E=!1),i=(E?"("===d?d:c:"-"===d||"("===d?"":d)+i,l=("s"===b?he[8+ce/3]:"")+l+(E&&"("===d?")":""),S)for(var x=0,R=n.length;x<R;x++){var T=n.charCodeAt(x);if(48>T||T>57){l=(46===T?a+n.slice(x+1):n.slice(x))+l,n=n.slice(0,x);break}}}v&&!h&&(n=o(n,1/0));var A=i.length+n.length+l.length,P=A<f?new Array(f-A+1).join(r):"";switch(v&&h&&(n=o(P+n,P.length?f-l.length:1/0),P=""),p){case"<":n=i+n+l+P;break;case"=":n=i+P+n+l;break;case"^":n=P.slice(0,A=P.length>>1)+i+n+l+P.slice(A);break;default:n=P+i+n+l}var _=t.string;return _?_.replace(ye,(function(){return s(n)})):s(n)}}return{format:p,formatPrefix:function(e,t){var r=me(e);r.type="f";var o=p(r),n=3*Math.max(-8,Math.min(8,Math.floor(Se(t)/3))),i=Math.pow(10,-n),a=he[8+n/3];return function(e){return o(i*+e)+a}}}}({thousands:",",grouping:[3],currency:["$",""]}),pe=ue.format,de=ue.formatPrefix;var Ee=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),xe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="linear",t}return Ee(t,e),t.prototype.ticks=function(e){void 0===e&&(e=10);var t=this._domain;return re(t[0],t[t.length-1],e)},t.prototype.nice=function(e){void 0===e&&(e=10);var t,r=this.domain,o=0,n=r.length-1,i=r[o],a=r[n];a<i&&(t=i,i=a,a=t,t=o,o=n,n=t),(t=se(i,a,e))>0?t=se(i=Math.floor(i/t)*t,a=Math.ceil(a/t)*t,e):t<0&&(t=se(i=Math.ceil(i*t)/t,a=Math.floor(a*t)/t,e)),t>0?(r[o]=Math.floor(i/t)*t,r[n]=Math.ceil(a/t)*t,this.domain=r):t<0&&(r[o]=Math.ceil(i*t)/t,r[n]=Math.floor(a*t)/t,this.domain=r)},t.prototype.tickFormat=function(e,t){var r=this.domain;return be(r[0],r[r.length-1],null==e?10:e,t)},t}(ee),Re=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Te=new Date,Ae=new Date,Pe=function(e){function t(t,r,o,n){var i=e.call(this,t,r)||this;return i._count=o,i._field=n,i}return Re(t,e),t.prototype.count=function(e,t){return Te.setTime(+e),Ae.setTime(+t),this._floor(Te),this._floor(Ae),Math.floor(this._count(Te,Ae))},t.prototype.every=function(e){var t,r=this;if(e=Math.floor(e),isFinite(e)&&e>0)if(e>1){var o=this._field;t=o?this.filter((function(t){return o(t)%e==0})):this.filter((function(t){return r.count(0,t)%e==0}))}else t=this;return t},t}(function(){function e(e,t){this._floor=e,this._offset=t}return e.prototype.floor=function(e){return e=new Date(+e),this._floor(e),e},e.prototype.ceil=function(e){return e=new Date(+e-1),this._floor(e),this._offset(e,1),this._floor(e),e},e.prototype.round=function(e){var t=this.floor(e),r=this.ceil(e),o=+e;return o-t.getTime()<r.getTime()-o?t:r},e.prototype.offset=function(e,t){return void 0===t&&(t=1),e=new Date(+e),this._offset(e,Math.floor(t)),e},e.prototype.range=function(e,t,r){void 0===r&&(r=1);var o,n=[];if(e=this.ceil(e),r=Math.floor(r),e>t||r<=0)return n;do{o=new Date(+e),n.push(o),this._offset(e,r),this._floor(e)}while(o<e&&e<t);return n},e.prototype.filter=function(t){var r=this;return new e((function(e){if(e instanceof Date)for(r._floor(e);!t(e);)e.setTime(e.getTime()-1),r._floor(e);return e}),(function(e,o){if(e instanceof Date)if(o<0)for(;++o<=0;)do{r._offset(e,-1)}while(!t(e));else for(;--o>=0;)do{r._offset(e,1)}while(!t(e));return e}))},e}());var _e=new Pe((function(e){return e}),(function(e,t){e.setTime(e.getTime()+t)}),(function(e,t){return t.getTime()-e.getTime()}));var De=new Pe((function(e){e.setTime(e.getTime()-e.getMilliseconds())}),(function(e,t){e.setTime(e.getTime()+1e3*t)}),(function(e,t){return(t.getTime()-e.getTime())/1e3}));var Me=new Pe((function(e){e.setTime(e.getTime()-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(e.getTime()+6e4*t)}),(function(e,t){return(t.getTime()-e.getTime())/6e4}),(function(e){return e.getMinutes()}));var Ne=new Pe((function(e){e.setTime(e.getTime()-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())}),(function(e,t){e.setTime(e.getTime()+36e5*t)}),(function(e,t){return(t.getTime()-e.getTime())/36e5}),(function(e){return e.getHours()}));var Ie=new Pe((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){var r=t.getTimezoneOffset()-e.getTimezoneOffset();return(t.getTime()-e.getTime()-6e4*r)/864e5}),(function(e){return e.getDate()-1}));function Le(e){return new Pe((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t.getTime()-e.getTime()-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5}))}var ke=Le(0),Fe=Le(1),Ge=(Le(2),Le(3),Le(4)),je=(Le(5),Le(6),ke);var ze=new Pe((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));var Be=new Pe((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));function Ve(e){return function(t,r){return(o=e(t))<(n=r)?-1:o>n?1:o>=n?0:NaN;var o,n}}var We=new Pe((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return e.getUTCDate()-1}));var He=new Pe((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function Ue(e){return new Pe((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t.getTime()-e.getTime())/6048e5}))}var Ke=Ue(0),Ye=Ue(1),Xe=(Ue(2),Ue(3),Ue(4)),qe=(Ue(5),Ue(6),Ke);function Qe(e){if(e.y>=0&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Ze(e){if(e.y>=0&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Je(e){for(var t={},r=0,o=e.length;r<o;r++)t[e[r].toLowerCase()]=r;return t}function $e(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var et,tt=/^\s*\d+/,rt=/^%/,ot=/[\\^$*+?|[\]().{}]/g,nt=function(e){return e.replace(ot,"\\$&")},it=function(e){return new RegExp("^(?:"+e.map(nt).join("|")+")","i")},at={"-":"",_:" ",0:"0"};function st(e,t,r){var o=e<0?"-":"",n=String(o?-e:e),i=n.length;return o+(i<r?new Array(r-i+1).join(t)+n:n)}!function(e){et=function(e){var t=e.dateTime,r=e.date,o=e.time,n=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=it(n),u=Je(n),p=it(i),d=Je(i),g=it(a),h=Je(a),f=it(s),v=Je(s),y=it(l),m=Je(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:void 0,d:R,e:R,f:function(e,t){return x(e,t)+"000"},H:function(e,t){return st(e.getHours(),t,2)},I:function(e,t){return st(e.getHours()%12||12,t,2)},j:function(e,t){return st(1+Ie.count(Be.floor(e),e),t,3)},L:x,m:function(e,t){return st(e.getMonth()+1,t,2)},M:function(e,t){return st(e.getMinutes(),t,2)},p:function(e){return n[e.getHours()>=12?1:0]},Q:_,s:D,S:function(e,t){return st(e.getSeconds(),t,2)},u:function(e){var t=e.getDay();return 0===t?7:t},U:function(e,t){return st(ke.count(Be.floor(e),e),t,2)},V:function(e,t){var r=e.getDay();e=r>=4||0===r?Ge.floor(e):Ge.ceil(e);var o=Be.floor(e);return st(Ge.count(o,e)+(4===o.getDay()?1:0),t,2)},w:function(e){return e.getDay()},W:function(e,t){return st(Fe.count(Be.floor(e),e),t,2)},x:void 0,X:void 0,y:function(e,t){return st(e.getFullYear()%100,t,2)},Y:function(e,t){return st(e.getFullYear()%1e4,t,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+st(Math.floor(t/60),"0",2)+st(t%60,"0",2)},"%":P},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:void 0,d:A,e:A,f:function(e,t){return T(e,t)+"000"},H:function(e,t){return st(e.getUTCHours(),t,2)},I:function(e,t){return st(e.getUTCHours()%12||12,t,2)},j:function(e,t){return st(1+We.count(He.floor(e),e),t,3)},L:T,m:function(e,t){return st(e.getUTCMonth()+1,t,2)},M:function(e,t){return st(e.getUTCMinutes(),t,2)},p:function(e){return n[e.getUTCHours()>=12?1:0]},Q:_,s:D,S:function(e,t){return st(e.getUTCSeconds(),t,2)},u:function(e){var t=e.getUTCDay();return 0===t?7:t},U:function(e,t){return st(qe.count(He.floor(e),e),t,2)},V:function(e,t){var r=e.getUTCDay();e=r>=4||0===r?Xe.floor(e):Xe.ceil(e);var o=He.floor(e);return st(Xe.count(o,e)+(4===o.getUTCDay()?1:0),t,4)},w:function(e){return e.getUTCDay()},W:function(e,t){return st(Ye.count(He.floor(e),e),t,2)},x:void 0,X:void 0,y:function(e,t){return st(e.getUTCFullYear()%100,t,2)},Y:function(e,t){return st(e.getUTCFullYear()%1e4,t,4)},Z:function(){return"+0000"},"%":P},C={a:function(e,t,r){var o=g.exec(t.slice(r));return o?(e.w=h[o[0].toLowerCase()],r+o[0].length):-1},A:function(e,t,r){var o=p.exec(t.slice(r));return o?(e.w=d[o[0].toLowerCase()],r+o[0].length):-1},b:function(e,t,r){var o=y.exec(t.slice(r));return o?(e.m=m[o[0].toLowerCase()],r+o[0].length):-1},B:function(e,t,r){var o=f.exec(t.slice(r));return o?(e.m=v[o[0].toLowerCase()],r+o[0].length):-1},c:function(e,r,o){return E(e,t,r,o)},d:N,e:N,f:function(e,t,r){var o=tt.exec(t.slice(r,r+6));return o?(e.L=Math.floor(parseFloat(o[0])/1e3),r+o[0].length):-1},H:M,I:M,j:function(e,t,r){var o=tt.exec(t.slice(r,r+3));return o?(e.m=0,e.d=+o[0],r+o[0].length):-1},L:function(e,t,r){var o=tt.exec(t.slice(r,r+3));return o?(e.L=+o[0],r+o[0].length):-1},m:function(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.m=parseFloat(o[0])-1,r+o[0].length):-1},M:function(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.M=+o[0],r+o[0].length):-1},p:function(e,t,r){var o=c.exec(t.slice(r));return o?(e.p=u[o[0].toLowerCase()],r+o[0].length):-1},Q:function(e,t,r){var o=tt.exec(t.slice(r));return o?(e.Q=+o[0],r+o[0].length):-1},s:function(e,t,r){var o=tt.exec(t.slice(r));return o?(e.Q=1e3*+o[0],r+o[0].length):-1},S:function(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.S=+o[0],r+o[0].length):-1},u:function(e,t,r){var o=tt.exec(t.slice(r,r+1));return o?(e.u=+o[0],r+o[0].length):-1},U:function(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.U=+o[0],r+o[0].length):-1},V:function(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.V=+o[0],r+o[0].length):-1},w:function(e,t,r){var o=tt.exec(t.slice(r,r+1));return o?(e.w=+o[0],r+o[0].length):-1},W:function(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.W=+o[0],r+o[0].length):-1},x:function(e,t,o){return E(e,r,t,o)},X:function(e,t,r){return E(e,o,t,r)},y:function(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.y=+o[0]+(+o[0]>68?1900:2e3),r+o[0].length):-1},Y:function(e,t,r){var o=tt.exec(t.slice(r,r+4));return o?(e.y=+o[0],r+o[0].length):-1},Z:function(e,t,r){var o=/^(Z)|^([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return o?(e.Z=o[1]?0:-(o[2]+(o[3]||"00")),r+o[0].length):-1},"%":function(e,t,r){var o=rt.exec(t.slice(r,r+1));return o?r+o[0].length:-1}};function O(e,t){return function(r){var o=$e(1900);if(E(o,e,r+="",0)==r.length){if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return;if("w"in o||(o.w=1),"Z"in o){var n=(i=Ze($e(o.y))).getUTCDay();i=n>4||0===n?Ye.ceil(i):Ye.floor(i),i=We.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7}else{var i;n=(i=t($e(o.y))).getDay();i=n>4||0===n?Fe.ceil(i):Fe.floor(i),i=Ie.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7}}else if("W"in o||"U"in o){"w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0);n="Z"in o?Ze($e(o.y)).getUTCDay():t($e(o.y)).getDay();o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(n+5)%7:o.w+7*o.U-(n+6)%7}return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Ze(o)):t(o)}}}function S(e,t){return function(r){var o=[],n=e.length,i=-1,a=0;for(r instanceof Date||(r=new Date(+r));++i<n;)if(37===e.charCodeAt(i)){o.push(e.slice(a,i));var s=e.charAt(++i),l=at[s];null!=l?s=e.charAt(++i):l="e"===s?" ":"0";var c=t[s];c&&(s=c(r,l)),o.push(s),a=i+1}return o.push(e.slice(a,i)),o.join("")}}function E(e,t,r,o){for(var n=0,i=t.length,a=r.length;n<i;){if(o>=a)return-1;var s=t.charCodeAt(n++);if(37===s){var l=t.charAt(n++),c=C[l in at?t.charAt(n++):l];if(!c||(o=c(e,r,o))<0)return-1}else if(s!=r.charCodeAt(o++))return-1}return o}function x(e,t){return st(e.getMilliseconds(),t,3)}function R(e,t){return st(e.getDate(),t,2)}function T(e,t){return st(e.getUTCMilliseconds(),t,3)}function A(e,t){return st(e.getUTCDate(),t,2)}function P(e){return"%"}function _(e){return e.getTime()}function D(e){return Math.floor(e.getTime()/1e3)}function M(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.H=+o[0],r+o[0].length):-1}function N(e,t,r){var o=tt.exec(t.slice(r,r+2));return o?(e.d=+o[0],r+o[0].length):-1}return b.x=S(r,b),b.X=S(o,b),b.c=S(t,b),w.x=S(r,w),w.X=S(o,w),w.c=S(t,w),{format:function(e){var t=S(e,b);return t.toString=function(){return e},t},parse:function(e){var t=O(e,Qe);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e,w);return t.toString=function(){return e},t},utcParse:function(e){var t=O(e,Ze);return t.toString=function(){return e},t}}}(e)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var lt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ct=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},ut=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="time",t.year=Be,t.month=ze,t.week=je,t.day=Ie,t.hour=Ne,t.minute=Me,t.second=De,t.millisecond=_e,t.format=et.format,t.tickIntervals=[[t.second,1,1e3],[t.second,5,5e3],[t.second,15,15e3],[t.second,30,3e4],[t.minute,1,6e4],[t.minute,5,3e5],[t.minute,15,9e5],[t.minute,30,18e5],[t.hour,1,36e5],[t.hour,3,108e5],[t.hour,6,216e5],[t.hour,12,432e5],[t.day,1,864e5],[t.day,2,1728e5],[t.week,1,6048e5],[t.month,1,2592e6],[t.month,3,7776e6],[t.year,1,31536e6]],t.formatMillisecond=t.format(".%L"),t.formatSecond=t.format(":%S"),t.formatMinute=t.format("%I:%M"),t.formatHour=t.format("%I %p"),t.formatDay=t.format("%a %d"),t.formatWeek=t.format("%b %d"),t.formatMonth=t.format("%B"),t.formatYear=t.format("%Y"),t._domain=[new Date(2e3,0,1),new Date(2e3,0,2)],t}return lt(t,e),t.prototype.defaultTickFormat=function(e){return(this.second.floor(e)<e?this.formatMillisecond:this.minute.floor(e)<e?this.formatSecond:this.hour.floor(e)<e?this.formatMinute:this.day.floor(e)<e?this.formatHour:this.month.floor(e)<e?this.week.floor(e)<e?this.formatDay:this.formatWeek:this.year.floor(e)<e?this.formatMonth:this.formatYear)(e)},t.prototype.tickInterval=function(e,t,r,o){var n;if("number"==typeof e){var i=e,a=this.tickIntervals,s=Math.abs(r-t)/i,l=function(e,t,r,o,n){void 0===o&&(o=0),void 0===n&&(n=e.length);for(var i=Ve(r);o<n;){var a=o+n>>>1;i(e[a],t)<0?o=a+1:n=a}return o}(a,s,(function(e){return e[2]}));l===a.length?(o=ae(t/31536e6,r/31536e6,i),e=this.year):l?(e=(n=ct(a[s/a[l-1][2]<a[l][2]/s?l-1:l],2))[0],o=n[1]):(o=Math.max(ae(t,r,e),1),e=this.millisecond)}return null==o?e:e.every(o)},Object.defineProperty(t.prototype,"domain",{get:function(){return e.prototype.getDomain.call(this).map((function(e){return new Date(e)}))},set:function(t){e.prototype.setDomain.call(this,Array.prototype.map.call(t,(function(e){return e instanceof Date?+e:+new Date(+e)})))},enumerable:!0,configurable:!0}),t.prototype.invert=function(t){return new Date(e.prototype.invert.call(this,t))},t.prototype.ticks=function(t){void 0===t&&(t=10);var r=e.prototype.getDomain.call(this),o=r[0],n=r[r.length-1],i=n<o;if(i){var a=o;o=n,n=a}var s=this.tickInterval(t,o,n),l=s?s.range(o,n+1):[];return i?l.reverse():l},t.prototype.tickFormat=function(e,t){return null==t?this.defaultTickFormat.bind(this):this.format(t)},t.prototype.nice=function(t){void 0===t&&(t=10);var r=e.prototype.getDomain.call(this),o=this.tickInterval(t,r[0],r[r.length-1]);o&&(this.domain=this._nice(r,o))},t.prototype._nice=function(e,t){var r,o,n=0,i=(e=e.slice()).length-1,a=e[n],s=e[i];return s<a&&(n=(r=ct([i,n],2))[0],i=r[1],a=(o=ct([s,a],2))[0],s=o[1]),e[n]=t.floor(a),e[i]=t.ceil(s),e},t}(ee);function pt(e){return e}function dt(e,t,r){for(var o,n,i,a=r||pt,s=e.length,l=-1;++l<s;)if(t(o=e[l]))for(n=i=o;++l<s;)t(o=e[l])&&(n>o&&(n=o),i<o&&(i=o));return void 0===n||void 0===i?void 0:[a(n),a(i)]}var gt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ht=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ft=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="category",t.stroke="rgb(204, 214, 235)",t.strokeWidth=1,t}return gt(t,e),t}(F),vt=function(e){function t(){var r=e.call(this)||this;r.id=l(r),r.seriesRect={x:0,y:0,width:0,height:0},r._context=void 0,r._container=void 0,r._data=void 0,r.padding=new j(3),r.xKey="x",r.yKey="y",r.dataType=void 0,r.xData=[],r.yData=[],r.min=void 0,r.max=void 0,r.yScale=new xe,r.axis=new ft,r.highlightStyle={size:6,fill:"yellow",stroke:"silver",strokeWidth:1},r._width=100,r._height=100,r.smallestInterval=void 0,r.layoutId=0,r.defaultDateFormatter=et.format("%m/%d/%y, %H:%M:%S"),r._onMouseMove=r.onMouseMove.bind(r),r._onMouseOut=r.onMouseOut.bind(r);var o=new h;r.rootGroup=o;var n=document.createElement("div");n.setAttribute("class","ag-sparkline-wrapper");var i=new L(document);if(r.scene=i,r.canvasElement=i.canvas.element,i.root=o,i.container=n,i.resize(r.width,r.height),r.seriesRect.width=r.width,r.seriesRect.height=r.height,-1===t.tooltipDocuments.indexOf(document)){var a=document.createElement("style");a.innerHTML="\n.ag-sparkline-tooltip-wrapper {\n position: absolute;\n user-select: none;\n pointer-events: none;\n}\n\n.ag-sparkline-tooltip {\n position: relative;\n font: 12px arial,sans-serif;\n border-radius: 2px;\n box-shadow: 0 1px 3px rgb(0 0 0 / 20%), 0 1px 1px rgb(0 0 0 / 14%);\n line-height: 1.7em;\n overflow: hidden;\n white-space: nowrap;\n z-index: 99999;\n background-color: rgb(255, 255, 255);\n color: rgba(0,0,0, 0.67);\n}\n\n.ag-sparkline-tooltip-content {\n padding: 0 7px;\n}\n\n.ag-sparkline-tooltip-title {\n padding-left: 7px;\n}\n\n.ag-sparkline-tooltip-wrapper-hidden {\n top: -10000px !important;\n}\n\n.ag-sparkline-wrapper {\n box-sizing: border-box;\n overflow: hidden;\n}\n",document.head.insertBefore(a,document.head.querySelector("style")),t.tooltipDocuments.push(document)}return r.setupDomEventListeners(r.scene.canvas.element),r}return gt(t,e),Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(e){this._context!==e&&(this._context=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(e){if(this._container!==e){var t=this.canvasElement.parentNode;null!=t&&t.removeChild(this.canvasElement),e&&e.appendChild(this.canvasElement),this._container=e}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._data},set:function(e){this._data!==e&&(this._data=e,this.processData())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(e){this._width!==e&&(this._width=e,this.scene.resize(e,this.height),this.scheduleLayout())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(e){this._height!==e&&(this._height=e,this.scene.resize(this.width,e),this.scheduleLayout())},enumerable:!0,configurable:!0}),t.prototype.update=function(){},t.prototype.updateYScale=function(){this.updateYScaleRange(),this.updateYScaleDomain()},t.prototype.updateYScaleDomain=function(){},t.prototype.updateYScaleRange=function(){var e=this.yScale,t=this.seriesRect;e.range=[t.height,0]},t.prototype.updateXScale=function(){var e=this.axis.type;this.xScale=this.getXScale(e),this.updateXScaleRange(),this.updateXScaleDomain()},t.prototype.updateXScaleRange=function(){this.xScale.range=[0,this.seriesRect.width]},t.prototype.updateXScaleDomain=function(){var e,t=this.xData,r=this.xScale;r instanceof xe?e=dt(t,z):r instanceof ut&&(e=dt(t,U)),this.xScale.domain=e?e.slice():t},t.prototype.getXScale=function(e){switch(void 0===e&&(e="category"),e){case"number":return new xe;case"time":return new ut;case"category":default:return new P}},t.prototype.updateAxisLine=function(){},t.prototype.updateAxes=function(){this.updateYScale(),this.updateXScale(),this.updateAxisLine()},t.prototype.updateCrosshairs=function(){this.updateXCrosshairLine(),this.updateYCrosshairLine()},t.prototype.generateNodeData=function(){return[]},t.prototype.getNodeData=function(){return[]},t.prototype.updateNodes=function(){},t.prototype.updateXCrosshairLine=function(){},t.prototype.updateYCrosshairLine=function(){},t.prototype.highlightDatum=function(e){this.updateNodes()},t.prototype.dehighlightDatum=function(){this.highlightedDatum=void 0,this.updateNodes(),this.updateCrosshairs()},t.prototype.onMouseMove=function(e){var t=this.pickClosestSeriesNodeDatum(e.offsetX,e.offsetY);if(t){var r=this.highlightedDatum;this.highlightedDatum=t,(this.highlightedDatum&&!r||this.highlightedDatum&&r&&this.highlightedDatum!==r)&&(this.highlightDatum(t),this.updateCrosshairs()),this.tooltip.enabled&&this.handleTooltip(e,t)}},t.prototype.onMouseOut=function(e){this.dehighlightDatum(),this.tooltip.toggle(!1)},t.prototype.processData=function(){var e=this,t=this.data,r=this.yData,o=this.xData;if(t&&!this.invalidData(this.data)){r.length=0,o.length=0;var n=t.length,i=this.getDataType(t);this.dataType=i;var a,s=this.axis.type,l="number"!==s&&"time"!==s?"category":s,c="number"===l||"time"===l,u=function(t,r){null==e.smallestInterval&&(e.smallestInterval={x:1/0,y:1/0});var o=e.smallestInterval.x,n=Math.abs(t-r);n>0&&n<o&&(e.smallestInterval.x=n)};if("number"===i)for(var p=0;p<n;p++){var d=p,g=t[p],h=this.getDatum(d,l),f=this.getDatum(g,"number");c&&u(h,a),o.push(h),r.push(f),a=h}else if("array"===i)for(p=0;p<n;p++){var v=t[p];if(Array.isArray(v)){d=v[0],g=v[1],h=this.getDatum(d,l),f=this.getDatum(g,"number");if(null==h)continue;c&&u(h,a),o.push(h),r.push(f),a=h}}else if("object"===i){var y=this.yKey,m=this.xKey;for(p=0;p<n;p++){if("object"==typeof(v=t[p])&&!Array.isArray(v)){d=v[m],g=v[y],h=this.getDatum(d,l),f=this.getDatum(g,"number");if(null==h)continue;c&&u(h,a),o.push(h),r.push(f),a=h}}}this.updateAxes(),this.update()}},t.prototype.getDataType=function(e){var t,r;try{for(var o=ht(e),n=o.next();!n.done;n=o.next()){var i=n.value;if(null!=i){if(z(i))return"number";if(Array.isArray(i))return"array";if("object"==typeof i)return"object"}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},t.prototype.getDatum=function(e,t){if("number"===t&&z(e)||"time"===t&&(z(e)||V(e)))return e;if("category"===t){if(W(e)||V(e)||z(e))return{toString:function(){return String(e)}};if(H(e))return e}},Object.defineProperty(t.prototype,"layoutScheduled",{get:function(){return!!this.layoutId},enumerable:!0,configurable:!0}),t.prototype.scheduleLayout=function(){var e=this;this.layoutId&&cancelAnimationFrame(this.layoutId),this.layoutId=requestAnimationFrame((function(){e.setSparklineDimensions(),e.invalidData(e.data)||(e.updateXScaleRange(),e.updateYScaleRange(),e.updateAxisLine(),e.update(),e.layoutId=0)}))},t.prototype.setSparklineDimensions=function(){var e=this,t=e.width,r=e.height,o=e.padding,n=e.seriesRect,i=e.rootGroup,a=t-o.left-o.right,s=r-o.top-o.bottom;n.width=a,n.height=s,n.x=o.left,n.y=o.top,i.translationX=n.x,i.translationY=n.y},t.prototype.pickClosestSeriesNodeDatum=function(e,t){for(var r,o=1/0,n=this.rootGroup.transformPoint(e,t),i=this.getNodeData(),a=0;a<i.length;a++){var s=i[a];if(!s.point)return;var l=this.getDistance(n,s.point);l<=o&&(o=l,r=s)}return r},t.prototype.getDistance=function(e,t){return Math.abs(e.x-t.x)},t.prototype.handleTooltip=function(e,t){var r=t.seriesDatum,o=this.canvasElement,n=e.clientX,i=e.clientY;null==this.tooltip.container&&(this.tooltip.container=o);var a={pageX:n,pageY:i},s=r.y,l=r.x,c=this.tooltip.enabled;if(this.tooltip.renderer){var u=this.tooltip.renderer({context:this.context,datum:r,yValue:s,xValue:l});c="string"!=typeof u&&void 0!==u.enabled?u.enabled:c}var p=c&&void 0!==r.y&&this.getTooltipHtml(t);p&&this.tooltip.show(a,p)},t.prototype.formatNumericDatum=function(e){return String(Math.round(10*e)/10)},t.prototype.formatDatum=function(e){var t=this.axis.type||"category";return"number"===t&&"number"==typeof e?this.formatNumericDatum(e):"time"===t&&(e instanceof Date||z(e))?this.defaultDateFormatter(e):String(e)},t.prototype.setupDomEventListeners=function(e){e.addEventListener("mousemove",this._onMouseMove),e.addEventListener("mouseout",this._onMouseOut)},t.prototype.cleanupDomEventListeners=function(e){e.removeEventListener("mousemove",this._onMouseMove),e.removeEventListener("mouseout",this._onMouseOut)},t.prototype.invalidData=function(e){return!e||!Array.isArray(e)||0===e.length},t.prototype.destroy=function(){this.scene.container=void 0,this.container=void 0,this.cleanupDomEventListeners(this.scene.canvas.element)},t.tooltipDocuments=[],t}(F),yt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();function mt(e,t){if("string"==typeof e)return e;t=t||{};var r,o,n=e.content,i=void 0===n?t.content||"":n,a=e.title,s=void 0===a?t.title||void 0:a,l=e.color,c=void 0===l?t.color:l,u=e.backgroundColor,p=void 0===u?t.backgroundColor:u,d=e.opacity,g=void 0===d?t.opacity||1:d;if(c?(r=s?'<span class="'+bt.class+'-title"; style="color: '+c+'">'+s+"</span>":"",o='<span class="'+bt.class+'-content" style="color: '+c+'">'+i+"</span>"):(r=s?'<span class="'+bt.class+'-title">'+s+"</span>":"",o='<span class="'+bt.class+'-content">'+i+"</span>"),p){var h=X.fromString(p.toLowerCase()),f=h.r,v=h.g,y=h.b,m=(h.a,g),b=X.fromArray([f,v,y,m]).toRgbaString();return'<div class="'+bt.class+'" style="background-color: '+b+'">\n '+r+"\n "+o+"\n </div>"}return'<div class="'+bt.class+'">\n '+r+"\n "+o+"\n </div>"}var bt=function(e){function t(){var t=e.call(this)||this;return t.element=document.createElement("div"),t.enabled=!0,t.container=void 0,t.xOffset=10,t.yOffset=0,t.renderer=void 0,document.body.appendChild(t.element),t}return yt(t,e),t.prototype.isVisible=function(){var e=this.element;if(e.classList)return!e.classList.contains(t.class+"-wrapper-hidden");var r=e.getAttribute("class");return!!r&&r.split(" ").indexOf(t.class+"-wrapper-hidden")<0},t.prototype.updateClass=function(e){var r=[t.class+"-wrapper"];!0!==e&&r.push(t.class+"-wrapper-hidden"),this.element.setAttribute("class",r.join(" "))},t.prototype.show=function(e,t){this.toggle(!1);var r=this.element;if(void 0!==t)r.innerHTML=t;else if(!r.innerHTML)return;var o=e.pageX+this.xOffset,n=e.pageY+this.yOffset,i=r.getBoundingClientRect(),a=window.innerWidth-i.width;if(this.container){var s=this.container.getBoundingClientRect();a=s.left+(s.width-i.width)}o>a&&(o=e.pageX-r.clientWidth-this.xOffset),r.style.left=Math.round(o)+"px",r.style.top=Math.round(n)+"px",this.toggle(!0)},t.prototype.toggle=function(e){this.updateClass(e)},t.prototype.destroy=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.class="ag-sparkline-tooltip",t}(F),wt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ct=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._x=0,t._y=0,t._size=3,t}return wt(t,e),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(e){this._x!==e&&(this._x=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(e){this._y!==e&&(this._y=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this._size},set:function(e){this._size!==e&&(this._size=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t}(y),Ot=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),St=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ot(t,e),t.prototype.isPointInPath=function(e,t){return!1},t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.render=function(e){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this.x,r=this.y,o=this.size/2;e.beginPath(),e.arc(t,r,o,0,2*Math.PI,!1),this.fillStroke(e),this.dirty=!1},t.className="Circle",t}(Ct),Et=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),xt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Et(t,e),t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.isPointInPath=function(e,t){return!1},t.prototype.render=function(e){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this.x,r=this.y,o=this.size/2;e.beginPath(),e.moveTo(t,r-=o),e.lineTo(t+=o,r+=o),e.lineTo(t-=o,r+=o),e.lineTo(t-=o,r-=o),e.lineTo(t+o,r-o),e.closePath(),this.fillStroke(e),this.dirty=!1},t.className="Diamond",t}(Ct),Rt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Rt(t,e),t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.isPointInPath=function(e,t){return!1},t.prototype.render=function(e){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this.x,r=this.y,o=this.size,n=o/2;e.beginPath(),e.moveTo(t-=n,r-=n),e.lineTo(t+=o,r),e.lineTo(t,r+=o),e.lineTo(t-=o,r),e.lineTo(t,r-=o),e.closePath(),this.fillStroke(e),this.dirty=!1},t.className="Square",t}(Ct);function At(e){switch(e){case"circle":return St;case"square":return Tt;case"diamond":return xt;default:return St}}function Pt(e,t){void 0===t&&(t="solid");var r={solid:[],dash:[4,3],dot:[1,3],dashDot:[4,3,1,3],dashDotDot:[4,3,1,3,1,3],shortDot:[1,1],shortDash:[3,1],shortDashDot:[3,1,1,1],shortDashDotDot:[3,1,1,1,1,1],longDash:[8,3],longDashDot:[8,3,1,3],longDashDotDot:[8,3,1,3,1,3]},o={solid:[],dash:[3,3],dot:[0,3],dashDot:[3,3,0,3],dashDotDot:[3,3,0,3,0,3],shortDot:[0,2],shortDash:[2,2],shortDashDot:[2,2,0,2],shortDashDotDot:[2,2,0,2,0,2],longDash:[7,3],longDashDot:[7,3,0,3],longDashDotDot:[7,3,0,3,0,3]};return"round"===e||"square"===e?null==o[t]?(console.warn("'"+t+"' is not a valid 'lineDash' option."),o.solid):o[t]:null==r[t]?(console.warn("'"+t+"' is not a valid 'lineDash' option."),r.solid):r[t]}var _t=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Dt=function(){this.enabled=!0,this.shape="circle",this.size=0,this.fill="rgb(124, 181, 236)",this.stroke="rgb(124, 181, 236)",this.strokeWidth=1,this.formatter=void 0},Mt=function(){this.stroke="rgb(124, 181, 236)",this.strokeWidth=1},Nt=function(){this.xLine={enabled:!0,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0},this.yLine={enabled:!1,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0}},It=function(e){function t(){var t=e.call(this)||this;return t.fill="rgba(124, 181, 236, 0.25)",t.strokePath=new x,t.fillPath=new x,t.xCrosshairLine=new T,t.yCrosshairLine=new T,t.areaSparklineGroup=new h,t.fillPathData=[],t.strokePathData=[],t.xAxisLine=new T,t.markers=new h,t.markerSelection=D.select(t.markers).selectAll(),t.markerSelectionData=[],t.marker=new Dt,t.line=new Mt,t.crosshairs=new Nt,t.rootGroup.append(t.areaSparklineGroup),t.areaSparklineGroup.append([t.fillPath,t.xAxisLine,t.strokePath,t.xCrosshairLine,t.yCrosshairLine,t.markers]),t}return _t(t,e),t.prototype.getNodeData=function(){return this.markerSelectionData},t.prototype.onMarkerShapeChange=function(){this.markerSelection=this.markerSelection.setData([]),this.markerSelection.exit.remove(),this.scheduleLayout()},t.prototype.update=function(){var e=this.generateNodeData();if(e){var t=e.nodeData,r=e.fillData,o=e.strokeData;this.markerSelectionData=t,this.fillPathData=r,this.strokePathData=o,this.updateSelection(t),this.updateNodes(),this.updateStroke(o),this.updateFill(r)}},t.prototype.updateYScaleDomain=function(){var e=this.yData,t=this.yScale,r=dt(e,z),o=0,n=1;void 0!==r&&(o=this.min=r[0],n=this.max=r[1]),o=o<0?o:0,n=n<0?0:n,t.domain=[o,n]},t.prototype.generateNodeData=function(){var e=this,t=e.data,r=e.yData,o=e.xData,n=e.xScale,i=e.yScale;if(t){for(var a,s,l,c,u=n instanceof P?n.bandwidth/2:0,p=r.length,d=[],g=[],h=[],f=i.convert(0),v=0;v<p;v++){var y=r[v],m=o[v],b=n.convert(m)+u,w=i.convert(y);v+1<p&&(c=n.convert(o[v+1])+u),h.push({seriesDatum:{x:m,y:y},point:{x:b,y:w}}),void 0===y&&void 0!==l?(g.push({seriesDatum:void 0,point:{x:l,y:f}}),void 0!==c&&g.push({seriesDatum:void 0,point:{x:c,y:f}})):void 0!==y&&(g.push({seriesDatum:{x:m,y:y},point:{x:b,y:w}}),d.push({seriesDatum:{x:m,y:y},point:{x:b,y:w}}),a=void 0!==a?a:b,s=b),l=b}return g.push({seriesDatum:void 0,point:{x:s,y:f}},{seriesDatum:void 0,point:{x:a,y:f}}),{nodeData:d,fillData:g,strokeData:h}}},t.prototype.updateAxisLine=function(){var e=this.xScale,t=this.yScale,r=this.axis,o=this.xAxisLine;o.x1=e.range[0],o.x2=e.range[1],o.y1=o.y2=0,o.stroke=r.stroke,o.strokeWidth=r.strokeWidth;var n=t.convert(0);o.translationY=n},t.prototype.updateSelection=function(e){var t=At(this.marker.shape),r=this.markerSelection.setData(e),o=r.enter.append(t);r.exit.remove(),this.markerSelection=r.merge(o)},t.prototype.updateNodes=function(){var e=this,t=this.highlightedDatum,r=this.highlightStyle,o=this.marker,n=r.size,i=r.fill,a=r.stroke,s=r.strokeWidth,l=o.formatter;this.markerSelection.each((function(r,c,u){var p=c.point,d=c.seriesDatum;if(p){var g,h=c===t,f=h&&void 0!==i?i:o.fill,v=h&&void 0!==a?a:o.stroke,y=h&&void 0!==s?s:o.strokeWidth,m=h&&void 0!==n?n:o.size;if(l){var b=0===u,w=u===e.markerSelectionData.length-1,C=d.y===e.min,O=d.y===e.max;g=l({datum:c,xValue:d.x,yValue:d.y,min:C,max:O,first:b,last:w,fill:f,stroke:v,strokeWidth:y,size:m,highlighted:h})}r.size=g&&null!=g.size?g.size:m,r.fill=g&&null!=g.fill?g.fill:f,r.stroke=g&&null!=g.stroke?g.stroke:v,r.strokeWidth=g&&null!=g.strokeWidth?g.strokeWidth:y,r.translationX=p.x,r.translationY=p.y,r.visible=g&&null!=g.enabled?g.enabled:o.enabled&&r.size>0}}))},t.prototype.updateStroke=function(e){var t=this.strokePath,r=this.yData,o=this.line;if(!(r.length<2)){var n=t.path,i=e.length,a=!0;n.clear();for(var s=0;s<i;s++){var l=e[s],c=l.point,u=l.seriesDatum,p=c.x,d=c.y;null==u.y?a=!0:a?(n.moveTo(p,d),a=!1):n.lineTo(p,d)}t.lineJoin=t.lineCap="round",t.fill=void 0,t.stroke=o.stroke,t.strokeWidth=o.strokeWidth}},t.prototype.updateFill=function(e){var t=this.fillPath,r=this.yData,o=this.fill,n=t.path,i=e.length;if(n.clear(),!(r.length<2)){for(var a=0;a<i;a++){var s=e[a].point,l=s.x,c=s.y;a>0?n.lineTo(l,c):n.moveTo(l,c)}n.closePath(),t.lineJoin="round",t.stroke=void 0,t.fill=o}},t.prototype.updateXCrosshairLine=function(){var e=this.yScale,t=this.xCrosshairLine,r=this.highlightedDatum,o=this.crosshairs.xLine;if(o.enabled&&null!=r){t.y1=e.range[0],t.y2=e.range[1],t.x1=t.x2=0,t.stroke=o.stroke,t.strokeWidth=o.strokeWidth||1,t.lineCap="round"===o.lineCap||"square"===o.lineCap?o.lineCap:void 0;var n=o.lineDash;t.lineDash=Array.isArray(n)?n:Pt(t.lineCap,o.lineDash),t.translationX=r.point.x}else t.strokeWidth=0},t.prototype.updateYCrosshairLine=function(){var e=this.xScale,t=this.yCrosshairLine,r=this.highlightedDatum,o=this.crosshairs.yLine;if(o.enabled&&null!=r){t.x1=e.range[0],t.x2=e.range[1],t.y1=t.y2=0,t.stroke=o.stroke,t.strokeWidth=o.strokeWidth||1,t.lineCap="round"===o.lineCap||"square"===o.lineCap?o.lineCap:void 0;var n=o.lineDash;t.lineDash=Array.isArray(n)?n:Pt(t.lineCap,o.lineDash),t.translationY=r.point.y}else t.strokeWidth=0},t.prototype.getTooltipHtml=function(e){var t=this.dataType,r=e.seriesDatum,o=r.y,n=r.x,i={content:this.formatNumericDatum(o),title:"array"===t||"object"===t?this.formatDatum(n):void 0};return this.tooltip.renderer?mt(this.tooltip.renderer({context:this.context,datum:r,yValue:o,xValue:n}),i):mt(i)},t.className="AreaSparkline",t}(vt),Lt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),kt=function(){this.enabled=!0,this.shape="circle",this.size=0,this.fill="rgb(124, 181, 236)",this.stroke="rgb(124, 181, 236)",this.strokeWidth=1,this.formatter=void 0},Ft=function(){this.stroke="rgb(124, 181, 236)",this.strokeWidth=1},Gt=function(){this.xLine={enabled:!0,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0},this.yLine={enabled:!1,stroke:"rgba(0,0,0, 0.54)",strokeWidth:1,lineDash:"solid",lineCap:void 0}},jt=function(e){function t(){var t=e.call(this)||this;return t.linePath=new x,t.xCrosshairLine=new T,t.yCrosshairLine=new T,t.lineSparklineGroup=new h,t.markers=new h,t.markerSelection=D.select(t.markers).selectAll(),t.markerSelectionData=[],t.marker=new kt,t.line=new Ft,t.crosshairs=new Gt,t.rootGroup.append(t.lineSparklineGroup),t.lineSparklineGroup.append([t.linePath,t.xCrosshairLine,t.yCrosshairLine,t.markers]),t}return Lt(t,e),t.prototype.getNodeData=function(){return this.markerSelectionData},t.prototype.onMarkerShapeChange=function(){this.markerSelection=this.markerSelection.setData([]),this.markerSelection.exit.remove(),this.scheduleLayout()},t.prototype.update=function(){var e=this.generateNodeData();e&&(this.markerSelectionData=e,this.updateSelection(e),this.updateNodes(),this.updateLine())},t.prototype.updateYScaleDomain=function(){var e=this.yData,t=this.yScale,r=dt(e,z),o=0,n=1;if(void 0!==r&&(o=this.min=r[0],n=this.max=r[1]),o===n){var i=Math.abs(.01*o);o-=i,n+=i}t.domain=[o,n]},t.prototype.generateNodeData=function(){var e=this,t=e.data,r=e.yData,o=e.xData,n=e.xScale,i=e.yScale;if(t){for(var a=n instanceof P?n.bandwidth/2:0,s=[],l=0;l<r.length;l++){var c=r[l],u=o[l];if(null!=c){var p=n.convert(u)+a,d=i.convert(c);s.push({seriesDatum:{x:u,y:c},point:{x:p,y:d}})}}return s}},t.prototype.updateSelection=function(e){var t=At(this.marker.shape),r=this.markerSelection.setData(e),o=r.enter.append(t);r.exit.remove(),this.markerSelection=r.merge(o)},t.prototype.updateNodes=function(){var e=this,t=this.highlightedDatum,r=this.highlightStyle,o=this.marker,n=r.size,i=r.fill,a=r.stroke,s=r.strokeWidth,l=o.formatter;this.markerSelection.each((function(r,c,u){var p,d=c===t,g=d&&void 0!==i?i:o.fill,h=d&&void 0!==a?a:o.stroke,f=d&&void 0!==s?s:o.strokeWidth,v=d&&void 0!==n?n:o.size,y=c.seriesDatum,m=c.point;if(l){var b=0===u,w=u===e.markerSelectionData.length-1,C=y.y===e.min,O=y.y===e.max;p=l({datum:c,xValue:y.x,yValue:y.y,min:C,max:O,first:b,last:w,fill:g,stroke:h,strokeWidth:f,size:v,highlighted:d})}r.size=p&&null!=p.size?p.size:v,r.fill=p&&null!=p.fill?p.fill:g,r.stroke=p&&null!=p.stroke?p.stroke:h,r.strokeWidth=p&&null!=p.strokeWidth?p.strokeWidth:f,r.translationX=m.x,r.translationY=m.y,r.visible=p&&null!=p.enabled?p.enabled:o.enabled&&r.size>0}))},t.prototype.updateLine=function(){var e=this,t=e.linePath,r=e.yData,o=e.xData,n=e.xScale,i=e.yScale,a=e.line;if(!(r.length<2)){var s=t.path,l=r.length,c=n instanceof P?n.bandwidth/2:0,u=!0;s.clear();for(var p=0;p<l;p++){var d=o[p],g=r[p],h=n.convert(d)+c,f=i.convert(g);null==g?u=!0:u?(s.moveTo(h,f),u=!1):s.lineTo(h,f)}t.fill=void 0,t.stroke=a.stroke,t.strokeWidth=a.strokeWidth}},t.prototype.updateXCrosshairLine=function(){var e=this.yScale,t=this.xCrosshairLine,r=this.highlightedDatum,o=this.crosshairs.xLine;if(o.enabled&&null!=r){t.y1=e.range[0],t.y2=e.range[1],t.x1=t.x2=0,t.stroke=o.stroke,t.strokeWidth=o.strokeWidth||1,t.lineCap="round"===o.lineCap||"square"===o.lineCap?o.lineCap:void 0;var n=o.lineDash;t.lineDash=Array.isArray(n)?n:Pt(t.lineCap,o.lineDash),t.translationX=r.point.x}else t.strokeWidth=0},t.prototype.updateYCrosshairLine=function(){var e=this.xScale,t=this.yCrosshairLine,r=this.highlightedDatum,o=this.crosshairs.yLine;if(o.enabled&&null!=r){t.x1=e.range[0],t.x2=e.range[1],t.y1=t.y2=0,t.stroke=o.stroke,t.strokeWidth=o.strokeWidth||1,t.lineCap="round"===o.lineCap||"square"===o.lineCap?o.lineCap:void 0;var n=o.lineDash;t.lineDash=Array.isArray(n)?n:Pt(t.lineCap,o.lineDash),t.translationY=r.point.y}else t.strokeWidth=0},t.prototype.getTooltipHtml=function(e){var t=this.dataType,r=e.seriesDatum,o=r.y,n=r.x,i={content:this.formatNumericDatum(o),title:"array"===t||"object"===t?this.formatDatum(n):void 0};return this.tooltip.renderer?mt(this.tooltip.renderer({context:this.context,datum:r,yValue:o,xValue:n}),i):mt(i)},t.className="LineSparkline",t}(vt),zt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Bt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._x=0,t._y=0,t._width=0,t._height=0,t._crisp=!1,t}return zt(t,e),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(e){this._x!==e&&(this._x=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(e){this._y!==e&&(this._y=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this._width},set:function(e){this._width!==e&&(this._width=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this._height},set:function(e){this._height!==e&&(this._height=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"crisp",{get:function(){return this._crisp},set:function(e){this._crisp!==e&&(this._crisp=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.isPointInPath=function(e,t){return!1},t.prototype.render=function(e){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this,r=t.x,o=t.y,n=t.width,i=t.height,a=t.crisp;if(e.beginPath(),a){var s=this.alignment,l=this.align;e.rect(l(s,r),l(s,o),l(s,r,n),l(s,o,i))}else e.rect(r,o,n,i);this.fillStroke(e),this.dirty=!1},t.className="Column",t}(y),Vt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();!function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r._x=0,r._y=0,r.lineBreakRegex=/\r?\n/g,r.lines=[],r._text="",r._dirtyFont=!0,r._fontSize=10,r._fontFamily="sans-serif",r._textAlign=t.defaultStyles.textAlign,r._textBaseline=t.defaultStyles.textBaseline,r._lineHeight=14,r}Vt(t,e),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(e){this._x!==e&&(this._x=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(e){this._y!==e&&(this._y=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.splitText=function(){this.lines=this._text.split(this.lineBreakRegex)},Object.defineProperty(t.prototype,"text",{get:function(){return this._text},set:function(e){var t=String(e);this._text!==t&&(this._text=t,this.splitText(),this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){return this.dirtyFont&&(this.dirtyFont=!1,this._font=Wt(this.fontSize,this.fontFamily,this.fontStyle,this.fontWeight)),this._font},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirtyFont",{get:function(){return this._dirtyFont},set:function(e){this._dirtyFont!==e&&(this._dirtyFont=e,e&&(this.dirty=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontStyle",{get:function(){return this._fontStyle},set:function(e){this._fontStyle!==e&&(this._fontStyle=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontWeight",{get:function(){return this._fontWeight},set:function(e){this._fontWeight!==e&&(this._fontWeight=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSize",{get:function(){return this._fontSize},set:function(e){isFinite(e)||(e=10),this._fontSize!==e&&(this._fontSize=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontFamily",{get:function(){return this._fontFamily},set:function(e){this._fontFamily!==e&&(this._fontFamily=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textAlign",{get:function(){return this._textAlign},set:function(e){this._textAlign!==e&&(this._textAlign=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textBaseline",{get:function(){return this._textBaseline},set:function(e){this._textBaseline!==e&&(this._textBaseline=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineHeight",{get:function(){return this._lineHeight},set:function(e){this._lineHeight!==e&&(this._lineHeight=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.computeBBox=function(){return M.has.textMetrics?this.getPreciseBBox():this.getApproximateBBox()},t.prototype.getPreciseBBox=function(){var e=M.measureText(this.text,this.font,this.textBaseline,this.textAlign);return new i(this.x-e.actualBoundingBoxLeft,this.y-e.actualBoundingBoxAscent,e.width,e.actualBoundingBoxAscent+e.actualBoundingBoxDescent)},t.prototype.getApproximateBBox=function(){var e=M.getTextSize(this.text,this.font),t=this.x,r=this.y;switch(this.textAlign){case"end":case"right":t-=e.width;break;case"center":t-=e.width/2}switch(this.textBaseline){case"alphabetic":r-=.7*e.height;break;case"middle":r-=.45*e.height;break;case"ideographic":r-=e.height;break;case"hanging":r-=.2*e.height;break;case"bottom":r-=e.height}return new i(t,r,e.width,e.height)},t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t),o=this.computeBBox();return!!o&&o.containsPoint(r.x,r.y)},t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.render=function(e){if(this.lines.length&&this.scene){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this.fill,r=this.stroke,o=this.strokeWidth;e.font=this.font,e.textAlign=this.textAlign,e.textBaseline=this.textBaseline;var n=this.scene.canvas.pixelRatio||1,i=e.globalAlpha;if(t){e.fillStyle=t,e.globalAlpha=i*this.opacity*this.fillOpacity;var a=this.fillShadow,s=this.text,l=this.x,c=this.y;a&&a.enabled&&(e.shadowColor=a.color,e.shadowOffsetX=a.xOffset*n,e.shadowOffsetY=a.yOffset*n,e.shadowBlur=a.blur*n),e.fillText(s,l,c)}if(r&&o){e.strokeStyle=r,e.lineWidth=o,e.globalAlpha=i*this.opacity*this.strokeOpacity;var u=this,p=u.lineDash,d=u.lineDashOffset,g=u.lineCap,h=u.lineJoin,f=u.strokeShadow;s=u.text,l=u.x,c=u.y;p&&e.setLineDash(p),d&&(e.lineDashOffset=d),g&&(e.lineCap=g),h&&(e.lineJoin=h),f&&f.enabled&&(e.shadowColor=f.color,e.shadowOffsetX=f.xOffset*n,e.shadowOffsetY=f.yOffset*n,e.shadowBlur=f.blur*n),e.strokeText(s,l,c)}this.dirty=!1}},t.className="Text",t.defaultStyles=f(y.defaultStyles,{textAlign:"start",fontStyle:void 0,fontWeight:void 0,fontSize:10,fontFamily:"sans-serif",textBaseline:"alphabetic"})}(y);function Wt(e,t,r,o){return[r||"",o||"",e+"px",t].join(" ").trim()}var Ht=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ut=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Kt=function(e){function t(){var t=e.call(this)||this;return t.enabled=!0,t.fontSize=8,t.fontFamily="Verdana, sans-serif",t.color="rgba(70, 70, 70, 1)",t}return Ht(t,e),t.prototype.getFont=function(){return Wt(this.fontSize,this.fontFamily,this.fontStyle,this.fontWeight)},Ut([G("change","dataChange")],t.prototype,"enabled",void 0),Ut([G("change")],t.prototype,"fontSize",void 0),Ut([G("change")],t.prototype,"fontFamily",void 0),Ut([G("change")],t.prototype,"fontStyle",void 0),Ut([G("change")],t.prototype,"fontWeight",void 0),Ut([G("change")],t.prototype,"color",void 0),t}(F),Yt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Xt=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r._x=0,r._y=0,r.lineBreakRegex=/\r?\n/g,r.lines=[],r._text="",r._dirtyFont=!0,r._fontSize=10,r._fontFamily="sans-serif",r._textAlign=t.defaultStyles.textAlign,r._textBaseline=t.defaultStyles.textBaseline,r._lineHeight=14,r}return Yt(t,e),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(e){this._x!==e&&(this._x=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(e){this._y!==e&&(this._y=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.splitText=function(){this.lines=this._text.split(this.lineBreakRegex)},Object.defineProperty(t.prototype,"text",{get:function(){return this._text},set:function(e){var t=String(e);this._text!==t&&(this._text=t,this.splitText(),this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"font",{get:function(){var e,t,r,o;return this.dirtyFont&&(this.dirtyFont=!1,this._font=(e=this.fontSize,t=this.fontFamily,r=this.fontStyle,o=this.fontWeight,[r||"",o||"",e+"px",t].join(" ").trim())),this._font},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirtyFont",{get:function(){return this._dirtyFont},set:function(e){this._dirtyFont!==e&&(this._dirtyFont=e,e&&(this.dirty=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontStyle",{get:function(){return this._fontStyle},set:function(e){this._fontStyle!==e&&(this._fontStyle=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontWeight",{get:function(){return this._fontWeight},set:function(e){this._fontWeight!==e&&(this._fontWeight=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSize",{get:function(){return this._fontSize},set:function(e){isFinite(e)||(e=10),this._fontSize!==e&&(this._fontSize=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontFamily",{get:function(){return this._fontFamily},set:function(e){this._fontFamily!==e&&(this._fontFamily=e,this.dirtyFont=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textAlign",{get:function(){return this._textAlign},set:function(e){this._textAlign!==e&&(this._textAlign=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textBaseline",{get:function(){return this._textBaseline},set:function(e){this._textBaseline!==e&&(this._textBaseline=e,this.dirty=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lineHeight",{get:function(){return this._lineHeight},set:function(e){this._lineHeight!==e&&(this._lineHeight=e,this.dirty=!0)},enumerable:!0,configurable:!0}),t.prototype.computeBBox=function(){return M.has.textMetrics?this.getPreciseBBox():this.getApproximateBBox()},t.prototype.getPreciseBBox=function(){var e=M.measureText(this.text,this.font,this.textBaseline,this.textAlign);return new i(this.x-e.actualBoundingBoxLeft,this.y-e.actualBoundingBoxAscent,e.width,e.actualBoundingBoxAscent+e.actualBoundingBoxDescent)},t.prototype.getApproximateBBox=function(){var e=M.getTextSize(this.text,this.font),t=this.x,r=this.y;switch(this.textAlign){case"end":case"right":t-=e.width;break;case"center":t-=e.width/2}switch(this.textBaseline){case"alphabetic":r-=.7*e.height;break;case"middle":r-=.45*e.height;break;case"ideographic":r-=e.height;break;case"hanging":r-=.2*e.height;break;case"bottom":r-=e.height}return new i(t,r,e.width,e.height)},t.prototype.isPointInPath=function(e,t){var r=this.transformPoint(e,t),o=this.computeBBox();return!!o&&o.containsPoint(r.x,r.y)},t.prototype.isPointInStroke=function(e,t){return!1},t.prototype.render=function(e){if(this.lines.length&&this.scene){this.dirtyTransform&&this.computeTransformMatrix(),this.matrix.toContext(e);var t=this.fill,r=this.stroke,o=this.strokeWidth;e.font=this.font,e.textAlign=this.textAlign,e.textBaseline=this.textBaseline;var n=this.scene.canvas.pixelRatio||1,i=e.globalAlpha;if(t){e.fillStyle=t,e.globalAlpha=i*this.opacity*this.fillOpacity;var a=this.fillShadow,s=this.text,l=this.x,c=this.y;a&&a.enabled&&(e.shadowColor=a.color,e.shadowOffsetX=a.xOffset*n,e.shadowOffsetY=a.yOffset*n,e.shadowBlur=a.blur*n),e.fillText(s,l,c)}if(r&&o){e.strokeStyle=r,e.lineWidth=o,e.globalAlpha=i*this.opacity*this.strokeOpacity;var u=this,p=u.lineDash,d=u.lineDashOffset,g=u.lineCap,h=u.lineJoin,f=u.strokeShadow;s=u.text,l=u.x,c=u.y;p&&e.setLineDash(p),d&&(e.lineDashOffset=d),g&&(e.lineCap=g),h&&(e.lineJoin=h),f&&f.enabled&&(e.shadowColor=f.color,e.shadowOffsetX=f.xOffset*n,e.shadowOffsetY=f.yOffset*n,e.shadowBlur=f.blur*n),e.strokeText(s,l,c)}this.dirty=!1}},t.className="Text",t.defaultStyles=f(y.defaultStyles,{textAlign:"start",fontStyle:void 0,fontWeight:void 0,fontSize:10,fontFamily:"sans-serif",textBaseline:"alphabetic"}),t}(y);var qt,Qt,Zt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();!function(e){e[e.Rect=0]="Rect",e[e.Label=1]="Label"}(qt||(qt={})),function(e){e.InsideBase="insideBase",e.InsideEnd="insideEnd",e.Center="center",e.OutsideEnd="outsideEnd"}(Qt||(Qt={}));var Jt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.formatter=void 0,t.placement=Qt.InsideEnd,t}return Zt(t,e),t}(Kt),$t=function(e){function t(){var t=e.call(this)||this;return t.fill="rgb(124, 181, 236)",t.stroke="silver",t.strokeWidth=0,t.paddingInner=.1,t.paddingOuter=.2,t.valueAxisDomain=void 0,t.formatter=void 0,t.axisLine=new T,t.bandWidth=0,t.sparklineGroup=new h,t.rectGroup=new h,t.labelGroup=new h,t.rectSelection=D.select(t.rectGroup).selectAll(),t.labelSelection=D.select(t.labelGroup).selectAll(),t.nodeSelectionData=[],t.label=new Jt,t.rootGroup.append(t.sparklineGroup),t.sparklineGroup.append([t.rectGroup,t.axisLine,t.labelGroup]),t.axisLine.lineCap="round",t.label.enabled=!1,t}return Zt(t,e),t.prototype.getNodeData=function(){return this.nodeSelectionData},t.prototype.update=function(){this.updateSelections(),this.updateNodes()},t.prototype.updateSelections=function(){var e=this.generateNodeData();e&&(this.nodeSelectionData=e,this.updateRectSelection(e),this.updateLabelSelection(e))},t.prototype.updateNodes=function(){this.updateRectNodes(),this.updateLabelNodes()},t.prototype.calculateStep=function(e){var t,r,o=this.xScale,n=this.paddingInner,i=this.paddingOuter,a=this.smallestInterval,s=(o.domain[1]-o.domain[0])/(null!=(r=null===(t=a)||void 0===t?void 0:t.x)?r:1)+1,l=Math.min(s,50),c=l-1;return e/Math.max(1,2*i+c*n+l)},t.prototype.updateYScaleDomain=function(){var e=this.yScale,t=this.yData,r=this.valueAxisDomain,o=dt(t,z),n=0,i=1;void 0!==o&&(n=this.min=o[0],i=this.max=o[1]),n=n<0?n:0,i=i<0?0:i,r&&(r[1]<i&&(r[1]=i),r[0]>n&&(r[0]=n)),e.domain=r||[n,i]},t.prototype.updateRectSelection=function(e){var t=this.rectSelection.setData(e),r=t.enter.append(Bt);t.exit.remove(),this.rectSelection=t.merge(r)},t.prototype.updateRectNodes=function(){var e=this,t=this,r=t.highlightedDatum,o=t.formatter,n=t.fill,i=t.stroke,a=t.strokeWidth,s=this.highlightStyle,l=s.fill,c=s.stroke,u=s.strokeWidth;this.rectSelection.each((function(t,s,p){var d,g=s===r,h=g&&void 0!==l?l:n,f=g&&void 0!==c?c:i,v=g&&void 0!==u?u:a,y=s.x,m=s.y,b=s.width,w=s.height,C=s.seriesDatum;if(o){var O=0===p,S=p===e.nodeSelectionData.length-1,E=C.y===e.min,x=C.y===e.max;d=o({datum:s,xValue:C.x,yValue:C.y,width:b,height:w,min:E,max:x,first:O,last:S,fill:h,stroke:f,strokeWidth:v,highlighted:g})}t.fill=d&&d.fill||h,t.stroke=d&&d.stroke||f,t.strokeWidth=d&&d.strokeWidth||v,t.x=t.y=0,t.width=b,t.height=w,t.visible=t.height>0,t.translationX=y,t.translationY=m}))},t.prototype.updateLabelSelection=function(e){var t=this.labelSelection.setData(e),r=t.enter.append(Xt).each((function(e){e.tag=qt.Label,e.pointerEvents=c.None}));t.exit.remove(),this.labelSelection=t.merge(r)},t.prototype.updateLabelNodes=function(){var e=this.label,t=e.enabled,r=e.fontStyle,o=e.fontWeight,n=e.fontSize,i=e.fontFamily,a=e.color;this.labelSelection.each((function(e,s){var l=s.label;l&&t?(e.fontStyle=r,e.fontWeight=o,e.fontSize=n,e.fontFamily=i,e.textAlign=l.textAlign,e.textBaseline=l.textBaseline,e.text=l.text,e.x=l.x,e.y=l.y,e.fill=a,e.visible=!0):e.visible=!1}))},t.prototype.getTooltipHtml=function(e){var t=this.dataType,r=e.seriesDatum,o=r.y,n=r.x,i={content:this.formatNumericDatum(o),title:"array"===t||"object"===t?this.formatDatum(n):void 0};return this.tooltip.renderer?mt(this.tooltip.renderer({context:this.context,datum:r,yValue:o,xValue:n}),i):mt(i)},t.prototype.formatLabelValue=function(e){return e%1!=0?e.toFixed(1):e.toFixed(0)},t}(vt),er=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),tr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return er(t,e),t.prototype.updateYScaleRange=function(){var e=this.seriesRect;this.yScale.range=[0,e.width]},t.prototype.updateXScaleRange=function(){var e=this.xScale,t=this.seriesRect,r=this.paddingOuter,o=this.paddingInner;if(e instanceof P)e.range=[0,t.height],e.paddingInner=o,e.paddingOuter=r;else{var n=this.calculateStep(t.height),i=n*r;this.bandWidth=n*(1-o),e.range=[i,t.height-i-this.bandWidth]}},t.prototype.updateAxisLine=function(){var e=this.yScale,t=this.axis,r=this.axisLine,o=this.seriesRect,n=t.strokeWidth;r.x1=0,r.x2=0,r.y1=0,r.y2=o.height,r.stroke=t.stroke,r.strokeWidth=n+(n%2==1?1:0);var i=e.convert(0);r.translationX=i},t.prototype.generateNodeData=function(){var e=this,t=e.data,r=e.yData,o=e.xData,n=e.xScale,i=e.yScale,a=e.fill,s=e.stroke,l=e.strokeWidth,c=e.label;if(t){for(var u=c.fontStyle,p=c.fontWeight,d=c.fontSize,g=c.fontFamily,h=c.color,f=c.formatter,v=c.placement,y=[],m=i.convert(0),b=0,w=r.length;b<w;b++){var C=r[b],O=o[b],S=void 0===C;S&&(C=0);var E=n.convert(O),x=Math.min(i.convert(C),m),R=Math.max(i.convert(C),m),T=n instanceof P?n.bandwidth:this.bandWidth,A=R-x,_={x:m,y:E},D=void 0;D=f?f({value:C}):void 0!==C&&z(C)?this.formatLabelValue(C):"";var N=E+T/2,I=void 0,L=void 0,k=void 0!==C&&C>=0;if(v===Qt.Center)I=x+A/2,L="center";else if(v===Qt.OutsideEnd)I=x+(k?A+4:-4),L=k?"start":"end";else if(v===Qt.InsideEnd){I=x+(k?A-4:4),L=k?"end":"start";var F=M.getTextSize(D,g).width||20;(k&&I<m+F||!k&&I>m-F)&&(I=m+4*(k?1:-1),L=k?"start":"end")}else I=m+4*(k?1:-1),L=k?"start":"end";y.push({x:x,y:E,width:A,height:T,fill:a,stroke:s,strokeWidth:l,seriesDatum:{x:O,y:S?void 0:C},point:_,label:{x:I,y:N,text:D,fontStyle:u,fontWeight:p,fontSize:d,fontFamily:g,textAlign:L,textBaseline:"middle",fill:h}})}return y}},t.prototype.getDistance=function(e,t){return Math.abs(e.y-t.y)},t.className="BarSparkline",t}($t),rr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),or=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return rr(t,e),t.prototype.updateYScaleRange=function(){var e=this.seriesRect;this.yScale.range=[e.height,0]},t.prototype.updateXScaleRange=function(){var e=this.xScale,t=this.seriesRect,r=this.paddingOuter,o=this.paddingInner;if(e instanceof P)e.range=[0,t.width],e.paddingInner=o,e.paddingOuter=r;else{var n=this.calculateStep(t.width),i=n*r;this.bandWidth=n*(1-o),e.range=[i,t.width-i-this.bandWidth]}},t.prototype.updateAxisLine=function(){var e=this.yScale,t=this.axis,r=this.axisLine,o=this.seriesRect,n=t.strokeWidth;r.x1=0,r.x2=o.width,r.y1=0,r.y2=0,r.stroke=t.stroke,r.strokeWidth=n+(n%2==1?1:0);var i=e.convert(0);r.translationY=i},t.prototype.generateNodeData=function(){var e=this,t=e.data,r=e.yData,o=e.xData,n=e.xScale,i=e.yScale,a=e.fill,s=e.stroke,l=e.strokeWidth,c=e.label;if(t){for(var u=c.fontStyle,p=c.fontWeight,d=c.fontSize,g=c.fontFamily,h=c.color,f=c.formatter,v=c.placement,y=[],m=i.convert(0),b=0,w=r.length;b<w;b++){var C=r[b],O=o[b],S=void 0===C;S&&(C=0);var E=Math.min(i.convert(C),m),x=n.convert(O),R=Math.max(i.convert(C),m),T=n instanceof P?n.bandwidth:this.bandWidth,A=R-E,_={x:x+T/2,y:m},D=void 0;D=f?f({value:C}):void 0!==C&&z(C)?this.formatLabelValue(C):"";var N=x+T/2,I=void 0,L=void 0,k=void 0!==C&&C>=0;if(v===Qt.Center)I=E+A/2,L="middle";else if(v===Qt.OutsideEnd)I=E+(k?-2:A+2),L=k?"bottom":"top";else if(v===Qt.InsideEnd){I=E+(k?2:A-2),L=k?"top":"bottom";var F=M.getTextSize(D,g).height||10;(k&&I>m-F||!k&&I<m+F)&&(I=m+2*(k?-1:1),L=k?"bottom":"top")}else I=m+2*(k?-1:1),L=k?"bottom":"top";y.push({x:x,y:E,width:T,height:A,fill:a,stroke:s,strokeWidth:l,seriesDatum:{x:O,y:S?void 0:C},point:_,label:{x:N,y:I,text:D,fontStyle:u,fontWeight:p,fontSize:d,fontFamily:g,textAlign:"center",textBaseline:L,fill:h}})}return y}},t.className="ColumnSparkline",t}($t),nr=function(){function e(){}return e.create=function(e,t){var r=function(e){void 0===e&&(e="line");switch(e){case"column":return new or;case"bar":return new tr;case"area":return new It;case"line":default:return new jt}}((e=Object.create(e)).type);return t&&(r.tooltip=t),function(e,t){gr(e,"context",t.context,t),gr(e,"width",t.width,t),gr(e,"height",t.height,t),gr(e,"container",t.container,t),gr(e,"xKey",t.xKey,t),gr(e,"yKey",t.yKey,t),t.padding&&function(e,t){gr(e,"top",t.top,t),gr(e,"right",t.right,t),gr(e,"bottom",t.bottom,t),gr(e,"left",t.left,t)}(e.padding,t.padding);t.axis&&function(e,t){gr(e,"type",t.type,t),gr(e,"stroke",t.stroke,t),gr(e,"strokeWidth",t.strokeWidth,t)}(e.axis,t.axis);t.highlightStyle&&function(e,t){gr(e,"fill",t.fill,t),gr(e,"size",t.size,t),gr(e,"stroke",t.stroke,t),gr(e,"strokeWidth",t.strokeWidth,t)}(e.highlightStyle,t.highlightStyle);t.tooltip&&e.tooltip&&function(e,t){gr(e,"enabled",t.enabled,t),gr(e,"container",t.container,t),gr(e,"xOffset",t.xOffset,t),gr(e,"yOffset",t.yOffset,t),gr(e,"renderer",t.renderer,t)}(e.tooltip,t.tooltip)}(r,e),function(e,t){switch(t.type){case"bar":case"column":ir(e,t);break;case"area":!function(e,t){gr(e,"fill",t.fill,t),t.marker&&ar(e.marker,t.marker);t.line&&sr(e.line,t.line);t.crosshairs&&lr(e.crosshairs,t.crosshairs)}(e,t);break;case"line":default:!function(e,t){t.marker&&ar(e.marker,t.marker);t.line&&sr(e.line,t.line);t.crosshairs&&lr(e.crosshairs,t.crosshairs)}(e,t)}}(r,e),e.data&&(r.data=e.data),r},e}();function ir(e,t){gr(e,"valueAxisDomain",t.valueAxisDomain,t),gr(e,"fill",t.fill,t),gr(e,"stroke",t.stroke,t),gr(e,"strokeWidth",t.strokeWidth,t),gr(e,"paddingInner",t.paddingInner,t),gr(e,"paddingOuter",t.paddingOuter,t),gr(e,"formatter",t.formatter,t),t.label&&function(e,t){gr(e,"enabled",t.enabled,t),gr(e,"fontStyle",t.fontStyle,t),gr(e,"fontWeight",t.fontWeight,t),gr(e,"fontSize",t.fontSize,t),gr(e,"fontFamily",t.fontFamily,t),gr(e,"textAlign",t.textAlign,t),gr(e,"textBaseline",t.textBaseline,t),gr(e,"color",t.color,t),gr(e,"formatter",t.formatter,t),gr(e,"placement",t.placement,t)}(e.label,t.label)}function ar(e,t){gr(e,"enabled",t.enabled,t),gr(e,"size",t.size,t),gr(e,"shape",t.shape,t),gr(e,"fill",t.fill,t),gr(e,"stroke",t.stroke,t),gr(e,"strokeWidth",t.strokeWidth,t),gr(e,"formatter",t.formatter,t)}function sr(e,t){gr(e,"stroke",t.stroke,t),gr(e,"strokeWidth",t.strokeWidth,t)}function lr(e,t){e.xLine&&t.xLine&&cr(e.xLine,t.xLine),e.yLine&&t.yLine&&cr(e.yLine,t.yLine)}function cr(e,t){gr(e,"enabled",t.enabled,t),gr(e,"stroke",t.stroke,t),gr(e,"strokeWidth",t.strokeWidth,t),gr(e,"lineDash",t.lineDash,t),gr(e,"lineCap",t.lineCap,t)}var ur={};var pr=function(e,t,r){if(z(t))return!0;var o,n,i="AG Charts: "+e+" must be a number, the value you provided is not a valid number. Using the default of "+r+"px.";return o=function(){return console.warn(i)},ur[n=e+" not a number"]||(o(),ur[n]=!0),!1},dr={xOffset:pr,yOffset:pr};function gr(e,t,r,o){if(t in o)if(t in e){var n=dr[t];(!n||n(t,r,e[t]))&&e[t]!==r&&(e[t]=r)}else console.warn("Property "+t+" does not exist on the target object.")}var hr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),fr=function(){return(fr=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},vr=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},yr=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return hr(t,e),t.prototype.init=function(e){var t=this,r=!0,o=this.resizeObserverService.observeResize(this.getGui(),(function(){var o=t.getGui(),n=o.clientWidth,i=o.clientHeight;if(0!==n&&0!==i)if(r){var a=fr({data:e.value,width:n,height:i,context:{data:e.data}},e.sparklineOptions);t.sparkline=nr.create(a,t.sparklineTooltipSingleton.getSparklineTooltip()),t.eSparkline.appendChild(t.sparkline.canvasElement),r=!1}else t.sparkline.width=n,t.sparkline.height=i}));this.addDestroyFunc((function(){return o()}))},t.prototype.refresh=function(e){return!!this.sparkline&&(this.sparkline.data=e.value,!0)},t.prototype.destroy=function(){this.sparkline&&this.sparkline.destroy(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-sparkline-wrapper">\n <span ref="eSparkline"></span>\n </div>',vr([Object(o.RefSelector)("eSparkline")],t.prototype,"eSparkline",void 0),vr([Object(o.Autowired)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),vr([Object(o.Autowired)("sparklineTooltipSingleton")],t.prototype,"sparklineTooltipSingleton",void 0),t}(o.Component),mr=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),br=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},wr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return mr(t,e),t.prototype.postConstruct=function(){this.tooltip=new bt},t.prototype.getSparklineTooltip=function(){return this.tooltip},t.prototype.destroyTooltip=function(){this.tooltip&&this.tooltip.destroy()},br([o.PostConstruct],t.prototype,"postConstruct",null),br([o.PreDestroy],t.prototype,"destroyTooltip",null),t=br([Object(o.Bean)("sparklineTooltipSingleton")],t)}(o.BeanStub),Cr={moduleName:o.ModuleNames.SparklinesModule,beans:[wr],userComponents:[{componentName:"agSparklineCellRenderer",componentClass:yr}],dependantModules:[n.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"ExcelExportModule",(function(){return Pt})),r.d(t,"getMultipleSheetsAsExcel",(function(){return xt})),r.d(t,"exportMultipleSheetsAsExcel",(function(){return Rt}));var o,n,i,a,s,l,c,u,p,d,g=r(0),h=r(27),f={getTemplate:function(){return{name:"Workbook",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",html:"http://www.w3.org/TR/REC-html40"}}],rawMap:{xmlns:"urn:schemas-microsoft-com:office:spreadsheet"}}}}},v={getTemplate:function(){return{name:"ExcelWorkbook",properties:{rawMap:{xmlns:"urn:schemas-microsoft-com:office:excel"}},children:[{name:"WindowHeight",textNode:"8130"},{name:"WindowWidth",textNode:"15135"},{name:"WindowHeight",textNode:"8130"},{name:"WindowTopX",textNode:"120"},{name:"WindowTopY",textNode:"45"},{name:"ProtectStructure",textNode:"False"},{name:"ProtectWindow",textNode:"False"}]}}},y={getTemplate:function(e){return{name:"Column",properties:{prefixedAttributes:[{prefix:"ss:",map:{Width:e.width}}]}}}},m={getTemplate:function(e){var t,r,o=e.mergeAcross,n=e.styleId,i=e.data,a={};return o&&(a.MergeAcross=o),n&&(a.StyleID=n),{name:"Cell",properties:{prefixedAttributes:[{prefix:"ss:",map:a}]},children:[{name:"Data",properties:{prefixedAttributes:[{prefix:"ss:",map:{Type:null===(t=i)||void 0===t?void 0:t.type}}]},textNode:null===(r=i)||void 0===r?void 0:r.value}]}}},b={getTemplate:function(e){return{name:"Row",children:e.cells.map((function(e){return m.getTemplate(e)}))}}},w=b,C={getTemplate:function(e){var t=e.table,r=e.name,o=t.columns,n=t.rows,i=o.map((function(e){return y.getTemplate(e)})),a=n.map((function(e){return w.getTemplate(e)}));return{name:"Worksheet",children:[{name:"Table",children:i.concat(a)}],properties:{prefixedAttributes:[{prefix:"ss:",map:{Name:r}}]}}}},O=C,S={getTemplate:function(){return{name:"DocumentProperties",properties:{rawMap:{xmlns:"urn:schemas-microsoft-com:office:office"}},children:[{name:"Version",textNode:"12.00"}]}}},E={getTemplate:function(e){var t=e.alignment;return{name:"Alignment",properties:{prefixedAttributes:[{prefix:"ss:",map:{Vertical:t.vertical,Horizontal:t.horizontal,Indent:t.indent,ReadingOrder:t.readingOrder,Rotate:t.rotate,ShrinkToFit:t.shrinkToFit,VerticalText:t.verticalText,WrapText:t.wrapText}}]}}}},x={getTemplate:function(e){var t=e.borders;return{name:"Borders",children:[t.borderBottom,t.borderLeft,t.borderRight,t.borderTop].map((function(e,t){return{name:"Border",properties:{prefixedAttributes:[{prefix:"ss:",map:{Position:0==t?"Bottom":1==t?"Left":2==t?"Right":"Top",LineStyle:e.lineStyle,Weight:e.weight,Color:e.color}}]}}}))}}},R={getTemplate:function(e){var t=e.font;return{name:"Font",properties:{prefixedAttributes:[{prefix:"ss:",map:{Bold:t.bold,FontName:t.fontName,Italic:t.italic,Color:t.color,Outline:t.outline,Shadow:t.shadow,Size:t.size,StrikeThrough:t.strikeThrough,Underline:t.underline,VerticalAlign:t.verticalAlign}},{prefix:"x:",map:{CharSet:t.charSet,Family:t.family}}]}}}},T={getTemplate:function(e){var t=e.interior;return{name:"Interior",properties:{prefixedAttributes:[{prefix:"ss:",map:{Color:t.color,Pattern:t.pattern,PatternColor:t.patternColor}}]}}}},A={getTemplate:function(e){return{name:"Protection",properties:{prefixedAttributes:[{prefix:"ss:",map:{Protected:e.protection.protected,HideFormula:e.protection.hideFormula}}]}}}},P={getTemplate:function(e){return{name:"NumberFormat",properties:{prefixedAttributes:[{prefix:"ss:",map:{Format:e.numberFormat.format}}]}}}},_={getTemplate:function(e){var t=e.id,r=e.name;return{name:"Style",properties:{prefixedAttributes:[{prefix:"ss:",map:{ID:t,Name:r||t}}]}}}},D=r(25),M=function(){function e(){}return e.createExcel=function(e,t){var r=this.excelXmlHeader(),o=S.getTemplate(),n=v.getTemplate(),i=this.workbook(o,n,e,t);return""+r+D.XmlFactory.createXml(i,(function(e){return e?"1":"0"}))},e.workbook=function(e,t,r,o){var n=[e,t,this.stylesXmlElement(r)].concat(O.getTemplate(o));return Object.assign({},f.getTemplate(),{children:n})},e.excelXmlHeader=function(){return'<?xml version="1.0" ?>\n <?mso-application progid="Excel.Sheet" ?>\n '},e.stylesXmlElement=function(e){var t=this;return{name:"Styles",children:e?e.map((function(e){return t.styleXmlElement(e)})):[]}},e.styleXmlElement=function(e){var t=g._.compose(this.addProperty("alignment",e),this.addProperty("borders",e),this.addProperty("font",e),this.addProperty("interior",e),this.addProperty("protection",e),this.addProperty("numberFormat",e))([]);return Object.assign({},_.getTemplate(e),{children:t})},e.addProperty=function(e,t){return function(r){if(!t[e])return r;var o={alignment:E,borders:x,font:R,interior:T,numberFormat:P,protection:A};return r.concat(o[e].getTemplate(t))}},e.factoryMode=g.ExcelFactoryMode.SINGLE_SHEET,e}(),N={0:1,"0.00":2,"#,##0":3,"#,##0.00":4,"0%":9,"0.00%":10,"0.00E+00":11,"# ?/?":12,"# ??/??":13,"mm-dd-yy":14,"d-mmm-yy":15,"d-mmm":16,"mmm-yy":17,"h:mm AM/PM":18,"h:mm:ss AM/PM":19,"h:mm":20,"h:mm:ss":21,"m/d/yy h:mm":22,"#,##0 ;(#,##0)":37,"#,##0 ;[Red](#,##0)":38,"#,##0.00;(#,##0.00)":39,"#,##0.00;[Red](#,##0.00)":40,"mm:ss":45,"[h]:mm:ss":46,"mmss.0":47,"##0.0E+0":48,"@":49},I=function(e){return Math.ceil(9525*e)},L=function(e,t){if(t){var r,o;if("number"==typeof t)r=t;else r=t({rowIndex:e});return o=r,Math.round(72*o/96)}},k=function(e){return""+D.XmlFactory.createHeader({encoding:"UTF-8",standalone:"yes"})+D.XmlFactory.createXml(e)},F=function(e){var t=String.fromCharCode,r=Math.floor(e/26),o=e%26;return r&&26!==e?o?r<26?t(65+r-1)+t(65+o-1):F(r)+t(65+o-1):F(r-1)+"Z":t(65+e-1)},G=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),j=function(){return(j=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},z=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},B=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(z(arguments[t]));return e},V=function(e){function t(t){var r=e.call(this,t)||this;return r.mixedStyles={},r.mixedStyleCounter=0,r.rows=[],r.config=Object.assign({},t),r.stylesByIds={},r.config.baseExcelStyles.forEach((function(e){r.stylesByIds[e.id]=e})),r.excelStyles=B(r.config.baseExcelStyles),r}return G(t,e),t.prototype.addCustomContent=function(e){var t=this;e.forEach((function(e){var r=t.rows.length+1,o={height:L(r,e.height||t.config.rowHeight),cells:(e.cells||[]).map((function(e,o){var n,i=t.addImage(r,t.columnsToExport[o],null===(n=e.data)||void 0===n?void 0:n.value),a=j({},e);return i&&(a.data={},null!=i.value?a.data.value=i.value:(a.data.type="e",a.data.value=null)),a})),outlineLevel:e.outlineLevel||void 0};null!=e.collapsed&&(o.collapsed=e.collapsed),null!=e.hidden&&(o.hidden=e.hidden),t.rows.push(o)}))},t.prototype.onNewHeaderGroupingRow=function(){var e=this,t=[];return this.rows.push({cells:t,height:L(this.rows.length+1,this.config.headerRowHeight)}),{onColumn:function(r,o,n,i,a){var s=e.config.styleLinker({rowType:D.RowType.HEADER_GROUPING,rowIndex:1,value:"grouping-"+o,columnGroup:r});t.push(j(j({},e.createMergedCell(e.getStyleId(s),e.getDataTypeForValue("string"),o,i)),{collapsibleRanges:a}))}}},t.prototype.onNewHeaderRow=function(){return this.onNewRow(this.onNewHeaderColumn,this.config.headerRowHeight)},t.prototype.onNewBodyRow=function(){return this.onNewRow(this.onNewBodyColumn,this.config.rowHeight)},t.prototype.prepare=function(t){var r=this;e.prototype.prepare.call(this,t),this.columnsToExport=B(t),this.cols=t.map((function(e,t){return r.convertColumnToExcel(e,t)}))},t.prototype.parse=function(){for(var e=this.rows.reduce((function(e,t){return Math.max(e,t.cells.length)}),0);this.cols.length<e;)this.cols.push(this.convertColumnToExcel(null,this.cols.length+1));var t={name:this.config.sheetName,table:{columns:this.cols,rows:this.rows}};return this.createExcel(t)},t.prototype.isFormula=function(e){return null!=e&&(this.config.autoConvertFormulas&&e.toString().startsWith("="))},t.prototype.getStyleById=function(e){return null==e?null:this.stylesByIds[e]||null},t.prototype.convertColumnToExcel=function(e,t){var r=this.config.columnWidth;if(r)return"number"==typeof r?{width:r}:{width:r({column:e,index:t})};if(e){return{width:Math.max(e.getActualWidth(),75)}}return{}},t.prototype.onNewHeaderColumn=function(e,t){var r=this;return function(o,n){var i=r.extractHeaderValue(o),a=r.config.styleLinker({rowType:D.RowType.HEADER,rowIndex:e,value:i,column:o});t.push(r.createCell(r.getStyleId(a),r.getDataTypeForValue("string"),i))}},t.prototype.onNewRow=function(e,t){var r=[];return this.rows.push({cells:r,height:L(this.rows.length+1,t)}),{onColumn:e.bind(this,this.rows.length,r)()}},t.prototype.onNewBodyColumn=function(e,t){var r=this,o=0;return function(n,i,a){if(o>0)o-=1;else{!r.config.gridOptionsWrapper.isGroupHideOpenParents()&&a.level&&(g._.last(r.rows).outlineLevel=a.level);var s=r.extractRowCellValue(n,i,e,g.Constants.EXPORT_TYPE_EXCEL,a),l=r.config.styleLinker({rowType:D.RowType.BODY,rowIndex:e,value:s,column:n,node:a}),c=r.getStyleId(l),u=n.getColSpan(a),p=r.addImage(e,n,s);p?t.push(r.createCell(c,r.getDataTypeForValue(p.value),null==p.value?"":p.value)):u>1?(o=u-1,t.push(r.createMergedCell(c,r.getDataTypeForValue(s),s,u-1))):t.push(r.createCell(c,r.getDataTypeForValue(s),s))}}},t.prototype.getStyleId=function(e){if(!e||!e.length)return null;if(1===e.length)return e[0];var t=e.join("-");return this.mixedStyles[t]||this.addNewMixedStyle(e),this.mixedStyles[t].excelID},t.prototype.addNewMixedStyle=function(e){var t=this;this.mixedStyleCounter+=1;var r="mixedStyle"+this.mixedStyleCounter,o={};e.forEach((function(e){t.excelStyles.forEach((function(t){t.id===e&&g._.mergeDeep(o,g._.deepCloneObject(t))}))})),o.id=r,o.name=r;var n=e.join("-");this.mixedStyles[n]={excelID:r,key:n,result:o},this.excelStyles.push(o),this.stylesByIds[r]=o},t}(D.BaseGridSerializingSession),W=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return W(t,e),t.prototype.createExcel=function(e){return M.createExcel(this.excelStyles,e)},t.prototype.getDataTypeForValue=function(e){return g._.isNumeric(e)?"Number":"String"},t.prototype.getType=function(e,t,r){if(this.isFormula(r))return"Formula";if(t&&t.dataType)switch(t.dataType.toLocaleLowerCase()){case"string":return"Formula";case"number":return"Number";case"datetime":return"DateTime";case"error":return"Error";case"boolean":return"Boolean";default:console.warn("AG Grid: Unrecognized data type for excel export ["+t.id+".dataType="+t.dataType+"]")}return e},t.prototype.addImage=function(){},t.prototype.createCell=function(e,t,r){var o=this.getStyleById(e),n=this.getType(t,o,r)||t;return{styleId:o?e:void 0,data:{type:n,value:this.getValueTransformed(n,r)}}},t.prototype.getValueTransformed=function(e,t){var r,o=this;switch(e){case"String":return function(e){if(o.config.suppressTextAsCDATA)return g._.escapeString(e);var t=new RegExp("]]>","g");return"<![CDATA["+String(e).replace(t,"]]]]><![CDATA[>")+"]]>"}(t);case"Number":return Number(t).valueOf()+"";case"Boolean":return(r=t)&&"0"!==r&&"false"!==r?"1":"0";default:return t}},t.prototype.createMergedCell=function(e,t,r,o){return{styleId:this.getStyleById(e)?e:void 0,data:{type:t,value:r},mergeAcross:o}},t}(V),U={getTemplate:function(e){var t=(new Date).toJSON();return{name:"cp:coreProperties",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"}}]},children:[{name:"dc:creator",textNode:e},{name:"dc:title",textNode:"Workbook"},{name:"dcterms:created",properties:{rawMap:{"xsi:type":"dcterms:W3CDTF"}},textNode:t},{name:"dcterms:modified",properties:{rawMap:{"xsi:type":"dcterms:W3CDTF"}},textNode:t}]}}},K={getTemplate:function(e){var t=e.name,r=e.ContentType;return{name:t,properties:{rawMap:{Extension:e.Extension,PartName:e.PartName,ContentType:r}}}}},Y=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},X=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Y(arguments[t]));return e},q={getTemplate:function(e){var t=new Array(e).fill(void 0).map((function(e,t){return{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",PartName:"/xl/worksheets/sheet"+(t+1)+".xml"}})),r=bt.worksheetImages.size,o={};bt.workbookImageIds.forEach((function(e){o[e.type]=!0}));var n=new Array(r).fill(void 0).map((function(e,t){return{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml",PartName:"/xl/drawings/drawing"+(t+1)+".xml"}})),i=Object.keys(o).map((function(e){return{name:"Default",ContentType:"image/"+e,Extension:e}}));return{name:"Types",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"}},children:X(i,[{name:"Default",Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"},{name:"Default",ContentType:"application/xml",Extension:"xml"},{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",PartName:"/xl/workbook.xml"}],t,[{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml",PartName:"/xl/theme/theme1.xml"},{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",PartName:"/xl/styles.xml"},{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",PartName:"/xl/sharedStrings.xml"}],n,[{name:"Override",ContentType:"application/vnd.openxmlformats-package.core-properties+xml",PartName:"/docProps/core.xml"}]).map((function(e){return K.getTemplate(e)}))}}},Q=function(e,t){return{name:"xdr:"+e,children:[{name:"xdr:col",textNode:t.col.toString()},{name:"xdr:colOff",textNode:t.offsetX.toString()},{name:"xdr:row",textNode:t.row.toString()},{name:"xdr:rowOff",textNode:t.offsetY.toString()}]}},Z=function(e){var t=[{name:"a:ext",properties:{rawMap:{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}},children:[{name:"a16:creationId",properties:{rawMap:{id:"{822E6D20-D7BC-2841-A643-D49A6EF008A2}","xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main"}}}]}];switch(e.recolor&&e.recolor.toLowerCase()){case"grayscale":case"sepia":case"washout":t.push({name:"a:ext",properties:{rawMap:{uri:"{C183D7F6-B498-43B3-948B-1728B52AA6E4}"}},children:[{name:"adec:decorative",properties:{rawMap:{val:"0","xmlns:adec":"http://schemas.microsoft.com/office/drawing/2017/decorative"}}}]})}return{name:"a:extLst",children:t}},J=function(e,t){return{name:"xdr:nvPicPr",children:[{name:"xdr:cNvPr",properties:{rawMap:{id:t,name:e.id,descr:null!=e.altText?e.altText:void 0}},children:[Z(e)]},{name:"xdr:cNvPicPr",properties:{rawMap:{preferRelativeResize:"0"}},children:[{name:"a:picLocks"}]}]}},$=function(e){if(e.saturation||e.tint){var t=[];return e.saturation&&t.push({name:"a:satMod",properties:{rawMap:{val:1e3*e.saturation}}}),e.tint&&t.push({name:"a:tint",properties:{rawMap:{val:1e3*e.tint}}}),t}},ee=function(e,t){var r,o,n;if(e.transparency){var i=Math.min(Math.max(e.transparency,0),100);r=[{name:"a:alphaModFix",properties:{rawMap:{amt:1e5-Math.round(1e3*i)}}}]}if(e.recolor)switch(r||(r=[]),e.recolor.toLocaleLowerCase()){case"grayscale":r.push({name:"a:grayscl"});break;case"sepia":r.push((n={color:"D9C3A5",tint:50,saturation:180},{name:"a:duotone",children:[{name:"a:prstClr",properties:{rawMap:{val:(o={color:"black"}).color}},children:$(o)},{name:"a:srgbClr",properties:{rawMap:{val:n.color}},children:$(n)}]}));break;case"washout":r.push({name:"a:lum",properties:{rawMap:{bright:"70000",contrast:"-70000"}}})}return{name:"xdr:blipFill",children:[{name:"a:blip",properties:{rawMap:{cstate:"print","r:embed":"rId"+t,"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships"}},children:r},{name:"a:stretch",children:[{name:"a:fillRect"}]}]}},te=function(e,t){var r={name:"a:xfrm",children:[{name:"a:off",properties:{rawMap:{x:0,y:0}}},{name:"a:ext",properties:{rawMap:{cx:t.width,cy:t.height}}}]};if(e.rotation){var o=e.rotation;r.properties={rawMap:{rot:6e4*Math.min(Math.max(o,0),360)}}}return{name:"xdr:spPr",children:[r,{name:"a:prstGeom",properties:{rawMap:{prst:"rect"}},children:[{name:"a:avLst"}]}]}},re=function(e,t,r,o){return{name:"xdr:pic",children:[J(e,t+1),ee(e,r+1),te(e,o)]}},oe={getTemplate:function(e){var t=e.sheetIndex,r=bt.worksheetImages.get(t),o=bt.worksheetImageIds.get(t);return{name:"xdr:wsDr",properties:{rawMap:{"xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main","xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"}},children:r.map((function(e,t){var r=function(e){e.fitCell=!!e.fitCell||!e.width||!e.height;var t=e.position,r=void 0===t?{}:t,o=e.fitCell,n=e.width,i=void 0===n?0:n,a=e.height,s=void 0===a?0:a,l=e.totalHeight,c=e.totalWidth,u=r.offsetX,p=void 0===u?0:u,d=r.offsetY,g=void 0===d?0:d,h=r.row,f=void 0===h?1:h,v=r.rowSpan,y=void 0===v?1:v,m=r.column,b=void 0===m?1:m,w=r.colSpan,C=void 0===w?1:w;return{from:{row:f-1,col:b-1,offsetX:I(p),offsetY:I(g)},to:{row:f-1+(o?1:y-1),col:b-1+(o?1:C-1),offsetX:I(i+p),offsetY:I(s+g)},height:I(l||s),width:I(c||i)}}(e);return{name:"xdr:twoCellAnchor",properties:{rawMap:{editAs:"absolute"}},children:[Q("from",r.from),Q("to",r.to),re(e,t,o.get(e.id).index,r),{name:"xdr:clientData"}]}}))}}},ne=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},ie=function(e){var t=ne(e,4);return{name:"a:"+t[0],children:[{name:"a:"+t[1],properties:{rawMap:{val:t[2],lastClr:t[3]}}}]}},ae={getTemplate:function(){return{name:"a:clrScheme",properties:{rawMap:{name:"Office"}},children:[ie(["dk1","sysClr","windowText","000000"]),ie(["lt1","sysClr","window","FFFFFF"]),ie(["dk2","srgbClr","44546A"]),ie(["lt2","srgbClr","E7E6E6"]),ie(["accent1","srgbClr","4472C4"]),ie(["accent2","srgbClr","ED7D31"]),ie(["accent3","srgbClr","A5A5A5"]),ie(["accent4","srgbClr","FFC000"]),ie(["accent5","srgbClr","5B9BD5"]),ie(["accent6","srgbClr","70AD47"]),ie(["hlink","srgbClr","0563C1"]),ie(["folHlink","srgbClr","954F72"])]}}},se=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},le=function(e){var t=se(e,4),r=t[0],o=t[1];return{name:"a:"+r,properties:{rawMap:{script:t[2],typeface:o,panose:t[3]}}}},ce={getTemplate:function(){var e=g._.utf8_encode;return{name:"a:fontScheme",properties:{rawMap:{name:"Office"}},children:[{name:"a:majorFont",children:[le(["latin","Calibri Light",void 0,"020F0302020204030204"]),le(["ea",""]),le(["cs",""]),le(["font",e("游ゴシック Light"),"Jpan"]),le(["font",e("맑은 고딕"),"Hang"]),le(["font",e("等线 Light"),"Hans"]),le(["font",e("新細明體"),"Hant"]),le(["font","Times New Roman","Arab"]),le(["font","Times New Roman","Hebr"]),le(["font","Tahoma","Thai"]),le(["font","Nyala","Ethi"]),le(["font","Vrinda","Beng"]),le(["font","Shruti","Gujr"]),le(["font","MoolBoran","Khmr"]),le(["font","Tunga","Knda"]),le(["font","Raavi","Guru"]),le(["font","Euphemia","Cans"]),le(["font","Plantagenet Cherokee","Cher"]),le(["font","Microsoft Yi Baiti","Yiii"]),le(["font","Microsoft Himalaya","Tibt"]),le(["font","MV Boli","Thaa"]),le(["font","Mangal","Deva"]),le(["font","Gautami","Telu"]),le(["font","Latha","Taml"]),le(["font","Estrangelo Edessa","Syrc"]),le(["font","Kalinga","Orya"]),le(["font","Kartika","Mlym"]),le(["font","DokChampa","Laoo"]),le(["font","Iskoola Pota","Sinh"]),le(["font","Mongolian Baiti","Mong"]),le(["font","Times New Roman","Viet"]),le(["font","Microsoft Uighur","Uigh"]),le(["font","Sylfaen","Geor"]),le(["font","Arial","Armn"]),le(["font","Leelawadee UI","Bugi"]),le(["font","Microsoft JhengHei","Bopo"]),le(["font","Javanese Text","Java"]),le(["font","Segoe UI","Lisu"]),le(["font","Myanmar Text","Mymr"]),le(["font","Ebrima","Nkoo"]),le(["font","Nirmala UI","Olck"]),le(["font","Ebrima","Osma"]),le(["font","Phagspa","Phag"]),le(["font","Estrangelo Edessa","Syrn"]),le(["font","Estrangelo Edessa","Syrj"]),le(["font","Estrangelo Edessa","Syre"]),le(["font","Nirmala UI","Sora"]),le(["font","Microsoft Tai Le","Tale"]),le(["font","Microsoft New Tai Lue","Talu"]),le(["font","Ebrima","Tfng"])]},{name:"a:minorFont",children:[le(["latin","Calibri",void 0,"020F0502020204030204"]),le(["ea",""]),le(["cs",""]),le(["font",e("游ゴシック"),"Jpan"]),le(["font",e("맑은 고딕"),"Hang"]),le(["font",e("等线"),"Hans"]),le(["font",e("新細明體"),"Hant"]),le(["font","Arial","Arab"]),le(["font","Arial","Hebr"]),le(["font","Tahoma","Thai"]),le(["font","Nyala","Ethi"]),le(["font","Vrinda","Beng"]),le(["font","Shruti","Gujr"]),le(["font","DaunPenh","Khmr"]),le(["font","Tunga","Knda"]),le(["font","Raavi","Guru"]),le(["font","Euphemia","Cans"]),le(["font","Plantagenet Cherokee","Cher"]),le(["font","Microsoft Yi Baiti","Yiii"]),le(["font","Microsoft Himalaya","Tibt"]),le(["font","MV Boli","Thaa"]),le(["font","Mangal","Deva"]),le(["font","Gautami","Telu"]),le(["font","Latha","Taml"]),le(["font","Estrangelo Edessa","Syrc"]),le(["font","Kalinga","Orya"]),le(["font","Kartika","Mlym"]),le(["font","DokChampa","Laoo"]),le(["font","Iskoola Pota","Sinh"]),le(["font","Mongolian Baiti","Mong"]),le(["font","Arial","Viet"]),le(["font","Microsoft Uighur","Uigh"]),le(["font","Sylfaen","Geor"]),le(["font","Arial","Armn"]),le(["font","Leelawadee UI","Bugi"]),le(["font","Microsoft JhengHei","Bopo"]),le(["font","Javanese Text","Java"]),le(["font","Segoe UI","Lisu"]),le(["font","Myanmar Text","Mymr"]),le(["font","Ebrima","Nkoo"]),le(["font","Nirmala UI","Olck"]),le(["font","Ebrima","Osma"]),le(["font","Phagspa","Phag"]),le(["font","Estrangelo Edessa","Syrn"]),le(["font","Estrangelo Edessa","Syrj"]),le(["font","Estrangelo Edessa","Syre"]),le(["font","Nirmala UI","Sora"]),le(["font","Microsoft Tai Le","Tale"]),le(["font","Microsoft New Tai Lue","Talu"]),le(["font","Ebrima","Tfng"])]}]}}},ue=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},pe=function(e,t,r){return{name:"a:"+e,properties:{rawMap:{val:t}},children:r}},de=function(e){var t=ue(e,6),r=t[0],o=t[1],n=t[2],i=t[3],a=t[4],s=t[5],l=[];return l.push(pe("satMod",n)),i&&l.push(pe("lumMod",i)),a&&l.push(pe("tint",a)),s&&l.push(pe("shade",s)),{name:"a:gs",properties:{rawMap:{pos:r}},children:[{name:"a:schemeClr",properties:{rawMap:{val:o}},children:l}]}},ge=function(e,t){return{name:"a:solidFill",children:[pe("schemeClr",e,t)]}},he=function(e){var t=ue(e,5),r=t[0],o=t[1],n=t[2],i=t[3],a=t[4],s=ue(a,2),l=s[0],c=s[1];return{name:"a:gradFill",properties:{rawMap:{rotWithShape:r}},children:[{name:"a:gsLst",children:[de(o),de(n),de(i)]},{name:"a:lin",properties:{rawMap:{ang:l,scaled:c}}}]}},fe=function(e){var t=ue(e,4);return{name:"a:ln",properties:{rawMap:{w:t[0],cap:t[1],cmpd:t[2],algn:t[3]}},children:[ge("phClr"),pe("prstDash","solid"),{name:"a:miter",properties:{rawMap:{lim:"800000"}}}]}},ve=function(e){var t=[];if(e){var r=ue(e,5),o=r[0],n=r[1],i=r[2],a=r[3],s=r[4];t.push({name:"a:outerShdw",properties:{rawMap:{blurRad:o,dist:n,dir:i,algn:a,rotWithShape:s}},children:[pe("srgbClr","000000",[pe("alpha","63000")])]})}return{name:"a:effectStyle",children:[Object.assign({},{name:"a:effectLst"},t.length?{children:t}:{})]}},ye={getTemplate:function(){return{name:"a:fmtScheme",properties:{rawMap:{name:"Office"}},children:[{name:"a:fillStyleLst",children:[ge("phClr"),he(["1",["0","phClr","105000","110000","67000"],["50000","phClr","103000","105000","73000"],["100000","phClr","109000","105000","81000"],["5400000","0"]]),he(["1",["0","phClr","103000","102000","94000"],["50000","phClr","110000","100000",void 0,"100000"],["100000","phClr","120000","99000",void 0,"78000"],["5400000","0"]])]},{name:"a:lnStyleLst",children:[fe(["6350","flat","sng","ctr"]),fe(["12700","flat","sng","ctr"]),fe(["19050","flat","sng","ctr"])]},{name:"a:effectStyleLst",children:[ve(),ve(),ve(["57150","19050","5400000","ctr","0"])]},{name:"a:bgFillStyleLst",children:[ge("phClr"),ge("phClr",[pe("tint","95000"),pe("satMod","170000")]),he(["1",["0","phClr","150000","102000","93000","98000"],["50000","phClr","130000","103000","98000","90000"],["100000","phClr","120000",void 0,void 0,"63000"],["5400000","0"]])]}]}}},me={getTemplate:function(){return{name:"a:themeElements",children:[ae.getTemplate(),ce.getTemplate(),ye.getTemplate()]}}},be={getTemplate:function(){return{name:"a:theme",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{a:"http://schemas.openxmlformats.org/drawingml/2006/main"}}],rawMap:{name:"Office Theme"}},children:[me.getTemplate(),{name:"a:objectDefaults"},{name:"a:extraClrSchemeLst"}]}}},we={getTemplate:function(e){return{name:"sst",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:e.size,uniqueCount:e.size}},children:(t=e,r=[],t.forEach((function(e,t){var o=t.toString(),n={name:"t",textNode:g._.utf8_encode(g._.escapeString(o))};o.trim().length!==o.length&&(n.properties={rawMap:{"xml:space":"preserve"}}),r.push({name:"si",children:[n]})})),r)};var t,r}},Ce={getTemplate:function(e){return{name:"numFmt",properties:{rawMap:{formatCode:e.formatCode,numFmtId:e.numFmtId}}}}},Oe={getTemplate:function(e){return{name:"numFmts",properties:{rawMap:{count:e.length}},children:e.map((function(e){return Ce.getTemplate(e)}))}}},Se={getTemplate:function(e){var t=e.size,r=e.colorTheme,o=e.color,n=void 0===o?"FF000000":o,i=e.fontName,a=void 0===i?"Calibri":i,s=e.family,l=e.scheme,c=e.italic,u=e.bold,p=e.strikeThrough,d=e.outline,g=e.shadow,h=e.underline,f=e.verticalAlign,v=[{name:"sz",properties:{rawMap:{val:t}}},{name:"color",properties:{rawMap:{theme:r,rgb:n}}},{name:"name",properties:{rawMap:{val:a}}}];return s&&v.push({name:"family",properties:{rawMap:{val:s}}}),l&&v.push({name:"scheme",properties:{rawMap:{val:l}}}),c&&v.push({name:"i"}),u&&v.push({name:"b"}),p&&v.push({name:"strike"}),d&&v.push({name:"outline"}),g&&v.push({name:"shadow"}),h&&v.push({name:"u",properties:{rawMap:{val:h}}}),f&&v.push({name:"vertAlign",properties:{rawMap:{val:f}}}),{name:"font",children:v}}},Ee={getTemplate:function(e){return{name:"fonts",properties:{rawMap:{count:e.length}},children:e.map((function(e){return Se.getTemplate(e)}))}}},xe={getTemplate:function(e){var t=e.patternType,r=e.fgTheme,o=e.fgTint,n=e.fgRgb,i=e.bgRgb,a=e.bgIndexed,s={name:"patternFill",properties:{rawMap:{patternType:t}}};return(r||o||n)&&(s.children=[{name:"fgColor",properties:{rawMap:{theme:r,tint:o,rgb:n}}}]),(a||i)&&(s.children||(s.children=[]),s.children.push({name:"bgColor",properties:{rawMap:{indexed:a,rgb:i}}})),{name:"fill",children:[s]}}},Re={getTemplate:function(e){return{name:"fills",properties:{rawMap:{count:e.length}},children:e.map((function(e){return xe.getTemplate(e)}))}}},Te={None:"None",Dot:"Dotted",Dash:"Dashed",Double:"Double",DashDot:"DashDot",DashDotDot:"DashDotDot",SlantDashDot:"SlantDashDot"},Ae=["Dashed","DashDot","DashDotDot"],Pe={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinDiagStripe:"lightUp",ThinHorzCross:"lightGrid",ThinDiagCross:"lightTrellis",Gray125:"gray125",Gray0625:"gray0625"},_e={Automatic:"general",Left:"left",Center:"center",Right:"right",Fill:"fill",Justify:"justify",CenterAcrossSelection:"centerContinuous",Distributed:"distributed",JustifyDistributed:"justify"},De={Automatic:void 0,Top:"top",Bottom:"bottom",Center:"center",Justify:"justify",Distributed:"distributed",JustifyDistributed:"justify"},Me=function(e){return null==e?e:("#"===e.charAt(0)&&(e=e.substr(1)),6===e.length?"FF"+e:e)},Ne=function(e,t){if(!e)return"thin";var r=function(e){switch(e){case 1:return"thin";case 2:return"medium";case 3:return"thick";default:return"hair"}}(t),o=Te[e];return"Continuous"===e?r:"medium"===r&&-1!==Ae.indexOf(o)?"medium"+o:o.charAt(0).toLowerCase()+o.substr(1)},Ie=function(e){return _e[e]||"general"},Le=function(e){return De[e]||void 0},ke=function(e){return{name:"color",properties:{rawMap:{rgb:Me(e||"#000000")}}}},Fe={getTemplate:function(e){var t=e.left,r=e.right,o=e.top,n=e.bottom,i=e.diagonal,a=t?[ke(t.color)]:void 0,s=r?[ke(r.color)]:void 0,l=o?[ke(o.color)]:void 0,c=n?[ke(n.color)]:void 0,u=i?[ke(i.color)]:void 0;return{name:"border",children:[{name:"left",properties:{rawMap:{style:t&&t.style}},children:a},{name:"right",properties:{rawMap:{style:r&&r.style}},children:s},{name:"top",properties:{rawMap:{style:o&&o.style}},children:l},{name:"bottom",properties:{rawMap:{style:n&&n.style}},children:c},{name:"diagonal",properties:{rawMap:{style:i&&i.style}},children:u}]}}},Ge={getTemplate:function(e){return{name:"borders",properties:{rawMap:{count:e.length}},children:e.map((function(e){return Fe.getTemplate(e)}))}}},je=function(e){var t=["Context","LeftToRight","RightToLeft"].indexOf(e);return Math.max(t,0)},ze={getTemplate:function(e){var t=e.horizontal,r=e.indent,o=e.readingOrder,n=e.rotate,i=e.shrinkToFit,a=e.vertical,s=e.wrapText;return{name:"alignment",properties:{rawMap:{horizontal:t&&Ie(t),indent:r,readingOrder:o&&je(o),textRotation:n,shrinkToFit:i,vertical:a&&Le(a),wrapText:s}}}}},Be={getTemplate:function(e){var t=!1===e.protected?0:1;return{name:"protection",properties:{rawMap:{hidden:!0===e.hideFormula?1:0,locked:t}}}}},Ve={getTemplate:function(e){var t=e.alignment,r=e.borderId,o=e.fillId,n=e.fontId,i=e.numFmtId,a=e.protection,s=e.xfId,l=[];return t&&l.push(ze.getTemplate(t)),a&&l.push(Be.getTemplate(a)),{name:"xf",properties:{rawMap:{applyAlignment:t?1:void 0,applyProtection:a?1:void 0,applyBorder:r?1:void 0,applyFill:o?1:void 0,borderId:r,fillId:o,applyFont:n?1:void 0,fontId:n,applyNumberFormat:i?1:void 0,numFmtId:i,xfId:s}},children:l.length?l:void 0}}},We={getTemplate:function(e){return{name:"cellStyleXfs",properties:{rawMap:{count:e.length}},children:e.map((function(e){return Ve.getTemplate(e)}))}}},He={getTemplate:function(e){return{name:"cellXfs",properties:{rawMap:{count:e.length}},children:e.map((function(e){return Ve.getTemplate(e)}))}}},Ue={getTemplate:function(e){return{name:"cellStyle",properties:{rawMap:{builtinId:e.builtinId,name:e.name,xfId:e.xfId}}}}},Ke={getTemplate:function(e){return{name:"cellStyles",properties:{rawMap:{count:e.length}},children:e.map((function(e){return Ue.getTemplate(e)}))}}},Ye=function(){return(Ye=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Xe=function(e,t){return-1!==e.indexOf("mixedStyle")&&t>1&&(e+="_"+t),e},qe=function(){n={base:0},i=[],a=[{fontName:"Calibri",colorTheme:"1",family:"2",scheme:"minor"}],s=[{patternType:"none"},{patternType:"gray125"}],l=[{left:void 0,right:void 0,top:void 0,bottom:void 0,diagonal:void 0}],c=[{borderId:0,fillId:0,fontId:0,numFmtId:0}],u=[{borderId:0,fillId:0,fontId:0,numFmtId:0,xfId:0}],p=[{builtinId:0,name:"Normal",xfId:0}]},Qe=function(e){var t,r=(t=e.pattern)?Pe[t]||t:"none",o=Me(e.color),n=Me(e.patternColor),i=s.findIndex((function(e){var t=e.patternType,i=e.fgRgb,a=e.bgRgb;return t==r&&i==o&&a==n}));return-1===i&&(i=s.length,s.push({patternType:r,fgRgb:o,bgRgb:n})),i},Ze=function(e){var t=e.fontName,r=void 0===t?"Calibri":t,o=e.color,n=e.size,i=e.bold,s=e.italic,l=e.outline,c=e.shadow,u=e.strikeThrough,p=e.underline,d=e.family,h=e.verticalAlign,f=r?g._.utf8_encode(r):r,v=Me(o),y=function(e){if(void 0!==e){var t=["Automatic","Roman","Swiss","Modern","Script","Decorative"].indexOf(e||"Automatic");return Math.max(t,0)}}(d),m=p?p.toLocaleLowerCase():void 0,b=h?h.toLocaleLowerCase():void 0,w=a.findIndex((function(e){return e.fontName==f&&e.color==v&&e.size==n&&e.bold==i&&e.italic==s&&e.outline==l&&e.shadow==c&&e.strikeThrough==u&&e.underline==m&&e.verticalAlign==b&&e.family==y}));return-1===w&&(w=a.length,a.push({fontName:f,color:v,size:n,bold:i,italic:s,outline:l,shadow:c,strikeThrough:u,underline:m,verticalAlign:b,family:null!=y?y.toString():void 0})),w},Je=function(e){var t=e.alignment,r=e.borders,o=e.font,a=e.interior,s=e.numberFormat,c=e.protection,p=e.id,h=0,f=0,v=0,y=0;p&&(p=Xe(p,d),null==n[p]&&(a&&(h=Qe(a)),r&&(f=function(e){var t,r,o,n,i,a,s,c,u=e.borderBottom,p=e.borderTop,d=e.borderLeft,g=e.borderRight;d&&(o=Ne(d.lineStyle,d.weight),s=Me(d.color)),g&&(n=Ne(g.lineStyle,g.weight),c=Me(g.color)),u&&(t=Ne(u.lineStyle,u.weight),i=Me(u.color)),p&&(r=Ne(p.lineStyle,p.weight),a=Me(p.color));var h=l.findIndex((function(e){var l=e.left,u=e.right,p=e.top,d=e.bottom;if(!l&&(o||s))return!1;if(!u&&(n||c))return!1;if(!p&&(r||a))return!1;if(!d&&(t||i))return!1;var g=l||{},h=g.style,f=g.color,v=u||{},y=v.style,m=v.color,b=p||{},w=b.style,C=b.color,O=d||{},S=O.style,E=O.color;return h==o&&f==s&&(y==n&&m==c&&(w==r&&C==a&&(S==t&&E==i)))}));return-1===h&&(h=l.length,l.push({left:{style:o,color:s},right:{style:n,color:c},top:{style:r,color:a},bottom:{style:t,color:i},diagonal:{style:void 0,color:void 0}})),h}(r)),o&&(v=Ze(o)),s&&(y=function(e){if(e=g._.utf8_encode(e),N[e])return N[e];var t=i.findIndex((function(t){return t.formatCode===e}));return-1===t?(t=i.length+164,i.push({formatCode:e,numFmtId:t})):t=i[t].numFmtId,t}(s.format)),n[p]=u.length,u.push({alignment:t,borderId:f||0,fillId:h||0,fontId:v||0,numFmtId:y||0,protection:c,xfId:0})))},$e=function(e,t){return n[Xe(e,t)]||0},et={getTemplate:function(e){var t=Oe.getTemplate(i),r=Ee.getTemplate(a.map((function(t){return Ye(Ye({},t),{size:null!=t.size?t.size:e})}))),o=Re.getTemplate(s),n=Ge.getTemplate(l),d=We.getTemplate(c),g=He.getTemplate(u),h=Ke.getTemplate(p);return qe(),{name:"styleSheet",properties:{rawMap:{"mc:Ignorable":"x14ac x16r2 xr",xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision"}},children:[t,r,o,n,d,g,h,{name:"tableStyles",properties:{rawMap:{count:0,defaultPivotStyle:"PivotStyleLight16",defaultTableStyle:"TableStyleMedium2"}}}]}}},tt={getTemplate:function(e,t){var r=(t+1).toString();return{name:"sheet",properties:{rawMap:{name:e,sheetId:r,"r:id":"rId"+r}}}}},rt={getTemplate:function(e){return{name:"sheets",children:e.map((function(e,t){return tt.getTemplate(e,t)}))}}},ot={getTemplate:function(e){return{name:"workbook",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"}}],rawMap:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},children:[rt.getTemplate(e)]}}},nt={getTemplate:function(e){var t=e.min,r=e.max,o=e.outlineLevel,n=e.s,i=e.width,a=e.hidden,s=e.bestFit,l=1,c="0";return i>1&&(l=function(e){return Math.ceil((e-12)/7+1)}(i),c="1"),{name:"col",properties:{rawMap:{min:t,max:r,outlineLevel:null!=o?o:void 0,width:l,style:n,hidden:a?"1":"0",bestFit:s?"1":"0",customWidth:c}}}}},it={getTemplate:function(e,t,r){var o=e.ref,n=e.data,i=e.styleId,a=n||{type:"empty",value:null},s=a.type,l=a.value,c=s;"f"===s?c="str":s.charAt(0)===s.charAt(0).toUpperCase()&&(c=function(e){var t=e.charAt(0).toLowerCase();return"s"===t?"inlineStr":t}(s));var u,p={name:"c",properties:{rawMap:{r:o,t:"empty"===c?void 0:c,s:i?$e(i,r):void 0}}};return"empty"===c?p:(u="str"===c&&"f"===s?[{name:"f",textNode:g._.escapeString(g._.utf8_encode(l))}]:"inlineStr"===c?[{name:"is",children:[{name:"t",textNode:g._.escapeString(g._.utf8_encode(l))}]}]:[{name:"v",textNode:l}],Object.assign({},p,{children:u}))}},at=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},st=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(at(arguments[t]));return e},lt=function(e){var t;return""!==(null===(t=e.data)||void 0===t?void 0:t.value)||void 0!==e.styleId},ct={getTemplate:function(e,t,r){var o=e.collapsed,n=e.hidden,i=e.height,a=e.outlineLevel,s=e.cells,l=void 0===s?[]:s;return function(e,t){for(var r=[],o=0,n=0;n<e.length;n++){(a=e[n]).mergeAcross&&(r.push({pos:n,excelPos:o}),o+=a.mergeAcross),o++}if(r.length)for(n=r.length-1;n>=0;n--){for(var i=[],a=e[r[n].pos],s=1;s<=a.mergeAcross;s++)i.push({ref:""+F(r[n].excelPos+1+s)+(t+1),styleId:a.styleId,data:{type:"empty",value:null}});i.length&&e.splice.apply(e,st([r[n].pos+1,0],i))}}(l,t),{name:"row",properties:{rawMap:{r:t+1,collapsed:o,hidden:n?"1":"0",ht:i,customHeight:null!=i?"1":"0",spans:"1:1",outlineLevel:a||void 0}},children:l.filter(lt).map((function(e,t){return it.getTemplate(e,t,r)}))}}},ut={getTemplate:function(e){return{name:"mergeCell",properties:{rawMap:{ref:e}}}}},pt=function(e){if(null==e)return 1;var t=["Letter","Letter Small","Tabloid","Ledger","Legal","Statement","Executive","A3","A4","A4 Small","A5","A6","B4","B5","Folio","Envelope","Envelope DL","Envelope C5","Envelope B5","Envelope C3","Envelope C4","Envelope C6","Envelope Monarch","Japanese Postcard","Japanese Double Postcard"].indexOf(e);return-1===t?1:t+1},dt=function(e){return e.reduce((function(e,t){var r,o,n,i,a="Center"===(r=t.position)?"C":"Right"===r?"R":"L";return""+(o=e+"&"+a,(n=t.font)?(o+="&"",o+=n.fontName||"Calibri",n.bold!==n.italic?o+=n.bold?",Bold":",Italic":n.bold?o+=",Bold Italic":o+=",Regular",o+=""",n.size&&(o+="&"+n.size),n.strikeThrough&&(o+="&S"),n.underline&&(o+="&"+("Double"===n.underline?"E":"U")),n.color&&(o+="&K"+n.color.replace("#","").toUpperCase()),o):o)+g._.escapeString((i=t.value,g._.iterateObject({"&[Page]":"&P","&[Pages]":"&N","&[Date]":"&D","&[Time]":"&T","&[Tab]":"&A","&[Path]":"&Z","&[File]":"&F"},(function(e,t){i=i.replace(e,t)})),i))}),"")},gt=function(e){var t=[];return["all","first","even"].forEach((function(r){var o=e[r],n="all"===r?"odd":r;o&&(o.header||o.footer)&&g._.iterateObject(o,(function(e,r){var o=""+e.charAt(0).toUpperCase()+e.slice(1);r&&t.push({name:""+n+o,properties:{rawMap:{"xml:space":"preserve"}},textNode:dt(r)})}))})),t},ht={getTemplate:function(e){var t,r=e.worksheet,o=e.currentSheet,n=e.margins,i=void 0===n?{}:n,a=e.pageSetup,s=e.headerFooterConfig,l=r.table,c=l.rows,u=l.columns,p=u&&u.length?function(e,t){var r=[],o=[];e.forEach((function(e,n){var i,a=e.cells,s=0;a.forEach((function(e,a){var l=a+s+1,c=F(l),u=n+1;if(e.mergeAcross){s+=e.mergeAcross;var p=F(a+s+1);r.push(""+c+u+":"+p+u)}t[l-1]||(t[l-1]={});var d=e.collapsibleRanges;d&&d.forEach((function(e){o.push([l+e[0],l+e[1]])})),(i=t[l-1]).min=l,i.max=l,e.ref=""+c+u}))})),o.sort((function(e,t){return e[0]!==t[0]?e[0]-t[0]:t[1]-e[1]}));var n=new Map,i=new Map;return o.filter((function(e){var t=e.toString();return!n.get(t)&&(n.set(t,!0),!0)})).forEach((function(e){var r=t.find((function(t){return t.min==e[0]&&t.max==e[1]})),o=i.get(e[0]);t.push({min:e[0],max:e[1],outlineLevel:o||1,width:(r||{width:100}).width}),i.set(e[0],(o||0)+1)})),r}(c,u):[];return{name:"worksheet",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"}}],rawMap:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},children:g._.compose((function(e){return e.push({name:"sheetPr",children:[{name:"outlinePr",properties:{rawMap:{summaryBelow:0}}}]}),e}),function(e){return function(t){var r=e.reduce((function(e,t){return t.outlineLevel&&t.outlineLevel>e?t.outlineLevel:e}),0);return t.push({name:"sheetFormatPr",properties:{rawMap:{baseColWidth:10,defaultRowHeight:16,outlineLevelRow:r||void 0}}}),t}}(c),function(e){return function(t){return e.length&&t.push({name:"cols",children:e.map((function(e){return nt.getTemplate(e)}))}),t}}(u),function(e,t){return function(r){return e.length&&r.push({name:"sheetData",children:e.map((function(e,r){return ct.getTemplate(e,r,t)}))}),r}}(c,o+1),(t=p,function(e){return t.length&&e.push({name:"mergeCells",properties:{rawMap:{count:t.length}},children:t.map((function(e){return ut.getTemplate(e)}))}),e}),function(e){return function(t){var r=e.top,o=void 0===r?.75:r,n=e.right,i=void 0===n?.7:n,a=e.bottom,s=void 0===a?.75:a,l=e.left,c=void 0===l?.7:l,u=e.header,p=void 0===u?.3:u,d=e.footer,g=void 0===d?.3:d;return t.push({name:"pageMargins",properties:{rawMap:{bottom:s,footer:g,header:p,left:c,right:i,top:o}}}),t}}(i),function(e){return function(t){var r;return e&&t.push({name:"pageSetup",properties:{rawMap:{horizontalDpi:0,verticalDpi:0,orientation:(r=e.orientation,!r||"Portrait"!==r&&"Landscape"!==r?"portrait":r.toLocaleLowerCase()),paperSize:pt(e.pageSize)}}}),t}}(a),function(e){return function(t){if(!e)return t;var r=null!=e.first?1:0,o=null!=e.even?1:0;return t.push({name:"headerFooter",properties:{rawMap:{differentFirst:r,differentOddEven:o}},children:gt(e)}),t}}(s),function(e){return function(t){return bt.worksheetImages.get(e)&&t.push({name:"drawing",properties:{rawMap:{"r:id":"rId1"}}}),t}}(o))([])}}},ft={getTemplate:function(e){return{name:"Relationship",properties:{rawMap:{Id:e.Id,Type:e.Type,Target:e.Target}}}}},vt={getTemplate:function(e){return{name:"Relationships",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}},children:e.map((function(e){return ft.getTemplate(e)}))}}},yt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},mt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(yt(arguments[t]));return e},bt=function(){function e(){}return e.createExcel=function(e,t,r,o,n){return this.addSheetName(t),function(e,t){1===(d=t)&&qe(),e.forEach(Je)}(e,this.sheetNames.length),this.createWorksheet(t,r,o,n)},e.buildImageMap=function(e,t,r,o,n){var i=this.sheetNames.length,a=this.images.get(e.id);e.position&&e.position.row&&e.position.column||(e.position||(e.position={}),e.position=Object.assign({},e.position,{row:t,column:o.indexOf(r)+1}));var s=e;if(function(e,t){var r=e.position,o=r.colSpan,n=r.column;if(e.width)if(o)for(var i=t.slice(n-1,n+o-1),a=0,s=0;s<i.length;s++){var l=i[s].getActualWidth();if(e.width<a+l){e.position.colSpan=s+1,e.totalWidth=e.width,e.width=e.totalWidth-a;break}a+=l}else e.totalWidth=e.width}(s,o),function(e,t){var r,o=e.position,n=o.rowSpan,i=o.row;if(e.height)if(n)for(var a=0,s=0,l=i;l<i+n;l++){var c=(r=L(l,t)||20,Math.round(96*r/72));if(e.height<a+c){e.position.rowSpan=s+1,e.totalHeight=e.height,e.height=e.totalHeight-a;break}a+=c,s++}else e.totalHeight=e.height}(s,n),a){var l=a.find((function(e){return e.sheetId===i}));l?l.image.push(s):a.push({sheetId:i,image:[s]})}else this.images.set(s.id,[{sheetId:i,image:[s]}]),this.workbookImageIds.set(s.id,{type:s.imageType,index:this.workbookImageIds.size});this.buildSheetImageMap(i,s)},e.buildSheetImageMap=function(e,t){var r=this.worksheetImageIds.get(e);r||(r=new Map,this.worksheetImageIds.set(e,r));var o=this.worksheetImages.get(e);o?(o.push(t),r.get(t.id)||r.set(t.id,{index:r.size,type:t.imageType})):(this.worksheetImages.set(e,[t]),r.set(t.id,{index:0,type:t.imageType}))},e.addSheetName=function(e){for(var t=g._.escapeString(e.name)||"",r="";-1!==this.sheetNames.indexOf(""+t+r);)if(""===r)r="_1";else{var o=parseInt(r.slice(1),10);r="_"+(o+1)}e.name=""+t+r,this.sheetNames.push(e.name)},e.getStringPosition=function(e){return this.sharedStrings.has(e)?this.sharedStrings.get(e):(this.sharedStrings.set(e,this.sharedStrings.size),this.sharedStrings.size-1)},e.resetFactory=function(){this.sharedStrings=new Map,this.images=new Map,this.worksheetImages=new Map,this.workbookImageIds=new Map,this.worksheetImageIds=new Map,this.sheetNames=[],this.factoryMode=g.ExcelFactoryMode.SINGLE_SHEET},e.createWorkbook=function(){return k(ot.getTemplate(this.sheetNames))},e.createStylesheet=function(e){return k(et.getTemplate(e))},e.createSharedStrings=function(){return k(we.getTemplate(this.sharedStrings))},e.createCore=function(e){return k(U.getTemplate(e))},e.createContentTypes=function(e){return k(q.getTemplate(e))},e.createRels=function(){var e=vt.getTemplate([{Id:"rId1",Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Target:"xl/workbook.xml"},{Id:"rId2",Type:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",Target:"docProps/core.xml"}]);return k(e)},e.createTheme=function(){return k(be.getTemplate())},e.createWorkbookRels=function(e){var t=new Array(e).fill(void 0).map((function(e,t){return{Id:"rId"+(t+1),Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",Target:"worksheets/sheet"+(t+1)+".xml"}})),r=vt.getTemplate(mt(t,[{Id:"rId"+(e+1),Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Target:"theme/theme1.xml"},{Id:"rId"+(e+2),Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Target:"styles.xml"},{Id:"rId"+(e+3),Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Target:"sharedStrings.xml"}]));return k(r)},e.createDrawing=function(e){return k(oe.getTemplate({sheetIndex:e}))},e.createDrawingRel=function(e){var t=this,r=this.worksheetImageIds.get(e),o=[];return r.forEach((function(e,r){o.push({Id:"rId"+(e.index+1),Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:"../media/image"+(t.workbookImageIds.get(r).index+1)+"."+e.type})})),k(vt.getTemplate(o))},e.createWorksheetDrawingRel=function(e){var t=vt.getTemplate([{Id:"rId1",Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:"../drawings/drawing"+(e+1)+".xml"}]);return k(t)},e.createWorksheet=function(e,t,r,o){return k(ht.getTemplate({worksheet:e,currentSheet:this.sheetNames.length-1,margins:t,pageSetup:r,headerFooterConfig:o}))},e.sharedStrings=new Map,e.sheetNames=[],e.images=new Map,e.worksheetImages=new Map,e.workbookImageIds=new Map,e.worksheetImageIds=new Map,e.factoryMode=g.ExcelFactoryMode.SINGLE_SHEET,e}(),wt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return wt(t,e),t.prototype.createExcel=function(e){var t=this.excelStyles,r=this.config,o=r.margins,n=r.pageSetup,i=r.headerFooterConfig;return bt.createExcel(t,e,o,n,i)},t.prototype.getDataTypeForValue=function(e){return void 0===e?"empty":g._.isNumeric(e)?"n":"s"},t.prototype.getType=function(e,t,r){if(this.isFormula(r))return"f";if(t&&t.dataType)switch(t.dataType.toLocaleLowerCase()){case"formula":return"f";case"string":return"s";case"number":return"n";case"datetime":return"d";case"error":return"e";case"boolean":return"b";default:console.warn("AG Grid: Unrecognized data type for excel export ["+t.id+".dataType="+t.dataType+"]")}return e},t.prototype.addImage=function(e,t,r){if(this.config.addImageToCell){var o=this.config.addImageToCell(e,t,r);if(o)return bt.buildImageMap(o.image,e,t,this.columnsToExport,this.config.rowHeight),o}},t.prototype.createCell=function(e,t,r){var o=this.getStyleById(e),n=this.getType(t,o,r)||t;return{styleId:o?e:void 0,data:{type:n,value:this.getCellValue(n,r)}}},t.prototype.createMergedCell=function(e,t,r,o){var n=null==r?"":r;return{styleId:this.getStyleById(e)?e:void 0,data:{type:t,value:"s"===t?bt.getStringPosition(n).toString():r},mergeAcross:o}},t.prototype.getCellValue=function(e,t){if(null==t)return bt.getStringPosition("").toString();switch(e){case"s":return""===t?"":bt.getStringPosition(t).toString();case"f":return t.slice(1);case"n":return Number(t).toString();default:return t}},t}(V),Ot=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),St=function(){return(St=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},Et=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},xt=function(e){var t=e.data,r=e.fontSize,o=void 0===r?11:r,n=e.author,i=void 0===n?"AG Grid":n,a=bt.images.size>0;if(D.ZipContainer.addFolders(["_rels/","docProps/","xl/","xl/theme/","xl/_rels/","xl/worksheets/"]),a){D.ZipContainer.addFolders(["xl/worksheets/_rels","xl/drawings/","xl/drawings/_rels","xl/media/"]);var s=0;bt.images.forEach((function(e){var t=e[0].image[0],r=t.imageType;D.ZipContainer.addFile("xl/media/image"+ ++s+"."+r,t.base64,!0)}))}if(!t||0===t.length)return console.warn("AG Grid: Invalid params supplied to getMultipleSheetsAsExcel() - `ExcelExportParams.data` is empty."),void bt.resetFactory();var l=t.length,c=0;t.forEach((function(e,t){D.ZipContainer.addFile("xl/worksheets/sheet"+(t+1)+".xml",e),a&&bt.worksheetImages.get(t)&&Tt(t,c++)})),D.ZipContainer.addFile("xl/workbook.xml",bt.createWorkbook()),D.ZipContainer.addFile("xl/styles.xml",bt.createStylesheet(o)),D.ZipContainer.addFile("xl/sharedStrings.xml",bt.createSharedStrings()),D.ZipContainer.addFile("xl/theme/theme1.xml",bt.createTheme()),D.ZipContainer.addFile("xl/_rels/workbook.xml.rels",bt.createWorkbookRels(l)),D.ZipContainer.addFile("docProps/core.xml",bt.createCore(i)),D.ZipContainer.addFile("[Content_Types].xml",bt.createContentTypes(l)),D.ZipContainer.addFile("_rels/.rels",bt.createRels()),bt.resetFactory();var u=e.mimeType||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return D.ZipContainer.getContent(u)},Rt=function(e){var t=e.fileName,r=void 0===t?"export.xlsx":t,o=xt(e);o&&D.Downloader.download(r,o)},Tt=function(e,t){var r="xl/drawings/drawing"+(t+1)+".xml",o="xl/drawings/_rels/drawing"+(t+1)+".xml.rels",n="xl/worksheets/_rels/sheet"+(e+1)+".xml.rels";D.ZipContainer.addFile(o,bt.createDrawingRel(e)),D.ZipContainer.addFile(r,bt.createDrawing(e)),D.ZipContainer.addFile(n,bt.createWorksheetDrawingRel(t))},At=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.exportMode="xlsx",t}return Ot(t,e),t.prototype.postConstruct=function(){this.setBeans({gridSerializer:this.gridSerializer,gridOptionsWrapper:this.gridOptionsWrapper})},t.prototype.getMergedParams=function(e){var t=this.gridOptionsWrapper.getDefaultExportParams("excel");return Object.assign({},t,e)},t.prototype.getData=function(t){return this.setExportMode(t.exportMode||"xlsx"),e.prototype.getData.call(this,t)},t.prototype.export=function(e){if(this.isExportSuppressed())return console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration."),"";var t=this.getMergedParams(e),r=this.getData(t),o={data:[r],fontSize:t.fontSize,author:t.author,mimeType:t.mimeType},n=this.packageFile(o);return n&&D.Downloader.download(this.getFileName(t.fileName),n),r},t.prototype.exportDataAsExcel=function(e){return this.export(e)},t.prototype.getDataAsExcel=function(e){var t=this.getMergedParams(e),r=this.getData(t);if(e&&"xml"===e.exportMode)return r;var o={data:[r],fontSize:t.fontSize,author:t.author,mimeType:t.mimeType};return this.packageFile(o)},t.prototype.setFactoryMode=function(e,t){void 0===t&&(t="xlsx"),("xlsx"===t?bt:M).factoryMode=e},t.prototype.getFactoryMode=function(e){return("xlsx"===e?bt:M).factoryMode},t.prototype.getSheetDataForExcel=function(e){var t=this.getMergedParams(e);return this.getData(t)},t.prototype.getMultipleSheetsAsExcel=function(e){return xt(e)},t.prototype.exportMultipleSheetsAsExcel=function(e){return Rt(e)},t.prototype.getDefaultFileName=function(){return"export."+this.getExportMode()},t.prototype.getDefaultFileExtension=function(){return this.getExportMode()},t.prototype.createSerializingSession=function(e){var t=this.columnModel,r=this.valueService,o=this.gridOptionsWrapper,n="xlsx"===this.getExportMode(),i="ag-grid";null!=e.sheetName&&(i=g._.utf8_encode(e.sheetName.toString().substr(0,31)));var a=St(St({},e),{sheetName:i,columnModel:t,valueService:r,gridOptionsWrapper:o,headerRowHeight:e.headerRowHeight||e.rowHeight,baseExcelStyles:this.gridOptions.excelStyles||[],styleLinker:this.styleLinker.bind(this)});return new(n?Ct:H)(a)},t.prototype.styleLinker=function(e){var t=e.rowType,r=e.rowIndex,o=e.value,n=e.column,i=e.columnGroup,a=e.node,s=t===D.RowType.HEADER,l=t===D.RowType.HEADER_GROUPING,c=s?n:i,u=[];if(s||l)return u.push("header"),l&&u.push("headerGroup"),c&&(u=u.concat(g.CssClassApplier.getHeaderClassesFromColDef(c.getDefinition(),this.gridOptionsWrapper,n||null,i||null))),u;var p=this.gridOptions.excelStyles,d=["cell"];if(!p||!p.length)return d;var h=p.map((function(e){return e.id}));return this.stylingService.processAllCellClasses(n.getDefinition(),{value:o,data:a.data,node:a,colDef:n.getDefinition(),column:n,rowIndex:r,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()},(function(e){h.indexOf(e)>-1&&d.push(e)})),d.sort((function(e,t){return h.indexOf(e)<h.indexOf(t)?-1:1}))},t.prototype.isExportSuppressed=function(){return this.gridOptionsWrapper.isSuppressExcelExport()},t.prototype.setExportMode=function(e){this.exportMode=e},t.prototype.getExportMode=function(){return this.exportMode},t.prototype.packageFile=function(e){if("xml"===this.getExportMode()){var t=e.mimeType||"application/vnd.ms-excel";return new Blob(["\ufeff",e.data[0]],{type:t})}return xt(e)},Et([Object(g.Autowired)("columnModel")],t.prototype,"columnModel",void 0),Et([Object(g.Autowired)("valueService")],t.prototype,"valueService",void 0),Et([Object(g.Autowired)("gridOptions")],t.prototype,"gridOptions",void 0),Et([Object(g.Autowired)("stylingService")],t.prototype,"stylingService",void 0),Et([Object(g.Autowired)("gridSerializer")],t.prototype,"gridSerializer",void 0),Et([Object(g.Autowired)("gridOptionsWrapper")],t.prototype,"gridOptionsWrapper",void 0),Et([g.PostConstruct],t.prototype,"postConstruct",null),t=Et([Object(g.Bean)("excelCreator")],t)}(D.BaseCreator),Pt={moduleName:g.ModuleNames.ExcelExportModule,beans:[At,D.GridSerializer,D.CsvCreator],dependantModules:[D.CsvExportModule,h.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"ServerSideRowModelModule",(function(){return K}));var o,n,i=r(0),a=r(27),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onRowHeightChanged_debounced=i._.debounce(t.onRowHeightChanged.bind(t),100),t.pauseStoreUpdateListening=!1,t.started=!1,t}return s(t,e),t.prototype.ensureRowHeightsValid=function(){return!1},t.prototype.start=function(){this.started=!0;var e=this.gridOptionsWrapper.getServerSideDatasource();e&&this.setDatasource(e)},t.prototype.destroyDatasource=function(){this.datasource&&(this.datasource.destroy&&this.datasource.destroy(),this.rowRenderer.datasourceChanged(),this.datasource=void 0)},t.prototype.addEventListeners=function(){this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverything.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_STORE_UPDATED,this.onStoreUpdated.bind(this));var e=this.resetRootStore.bind(this);this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_VALUE_CHANGED,e),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_CHANGED,e),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,e),this.verifyProps()},t.prototype.verifyProps=function(){if(null!=this.gridOptionsWrapper.getInitialGroupOrderComparator()){i._.doOnce((function(){return console.warn("AG Grid: initialGroupOrderComparator cannot be used with Server Side Row Model. If using Full Store, then provide the rows to the grid in the desired sort order. If using Infinite Scroll, then sorting is done on the server side, nothing to do with the client.")}),"SSRM.InitialGroupOrderComparator")}if(this.gridOptionsWrapper.isRowSelection()&&null==this.gridOptionsWrapper.getRowIdFunc()){i._.doOnce((function(){return console.warn("AG Grid: getRowId callback must be provided for Server Side Row Model selection to work correctly.")}),"SSRM.SelectionNeedsRowNodeIdFunc")}},t.prototype.setDatasource=function(e){this.started&&(this.destroyDatasource(),this.datasource=e,this.resetRootStore())},t.prototype.isLastRowIndexKnown=function(){var e=this.getRootStore();return!!e&&e.isLastRowIndexKnown()},t.prototype.onColumnEverything=function(){if(!this.gridOptionsWrapper.isSuppressEnterpriseResetOnNewColumns())if(this.storeParams){var e=this.columnsToValueObjects(this.columnModel.getRowGroupColumns()),t=this.columnsToValueObjects(this.columnModel.getValueColumns()),r=this.columnsToValueObjects(this.columnModel.getPivotColumns()),o=!i._.jsonEquals(this.storeParams.sortModel,this.sortController.getSortModel()),n=!i._.jsonEquals(this.storeParams.rowGroupCols,e),a=!i._.jsonEquals(this.storeParams.pivotCols,r),s=!i._.jsonEquals(this.storeParams.valueCols,t);(o||n||a||s)&&this.resetRootStore()}else this.resetRootStore()},t.prototype.destroyRootStore=function(){this.rootNode&&this.rootNode.childStore&&(this.rootNode.childStore=this.destroyBean(this.rootNode.childStore),this.nodeManager.clear())},t.prototype.refreshAfterSort=function(e,t){this.storeParams&&(this.storeParams.sortModel=e);var r=this.getRootStore();r&&(r.refreshAfterSort(t),this.onStoreUpdated())},t.prototype.resetRootStore=function(){this.destroyRootStore(),this.rootNode=new i.RowNode(this.beans),this.rootNode.group=!0,this.rootNode.level=-1,this.datasource&&(this.storeParams=this.createStoreParams(),this.rootNode.childStore=this.createBean(this.storeFactory.createStore(this.storeParams,this.rootNode)),this.updateRowIndexesAndBounds());var e={type:i.Events.EVENT_ROW_DATA_UPDATED};this.eventService.dispatchEvent(e),this.dispatchModelUpdated(!0)},t.prototype.columnsToValueObjects=function(e){var t=this;return e.map((function(e){return{id:e.getId(),aggFunc:e.getAggFunc(),displayName:t.columnModel.getDisplayNameForColumn(e,"model"),field:e.getColDef().field}}))},t.prototype.createStoreParams=function(){var e=this.columnsToValueObjects(this.columnModel.getRowGroupColumns()),t=this.columnsToValueObjects(this.columnModel.getValueColumns()),r=this.columnsToValueObjects(this.columnModel.getPivotColumns()),o=this.gridOptionsWrapper.isDynamicRowHeight();return{valueCols:t,rowGroupCols:e,pivotCols:r,pivotMode:this.columnModel.isPivotMode(),filterModel:this.filterManager.getFilterModel(),sortModel:this.sortListener.extractSortModel(),datasource:this.datasource,lastAccessedSequence:new i.NumberSequence,dynamicRowHeight:o}},t.prototype.getParams=function(){return this.storeParams},t.prototype.dispatchModelUpdated=function(e){void 0===e&&(e=!1);var t={type:i.Events.EVENT_MODEL_UPDATED,animate:!e,keepRenderedRows:!e,newPage:!1,newData:!1};this.eventService.dispatchEvent(t)},t.prototype.onStoreUpdated=function(){this.pauseStoreUpdateListening||(this.updateRowIndexesAndBounds(),this.dispatchModelUpdated())},t.prototype.onRowHeightChangedDebounced=function(){this.onRowHeightChanged_debounced()},t.prototype.onRowHeightChanged=function(){this.updateRowIndexesAndBounds(),this.dispatchModelUpdated()},t.prototype.updateRowIndexesAndBounds=function(){var e=this.getRootStore();e&&e.setDisplayIndexes(new i.NumberSequence,{value:0})},t.prototype.retryLoads=function(){var e=this.getRootStore();e&&(e.retryLoads(),this.onStoreUpdated())},t.prototype.getRow=function(e){var t=this.getRootStore();if(t)return t.getRowUsingDisplayIndex(e)},t.prototype.expandAll=function(e){this.pauseStoreUpdateListening=!0,this.forEachNode((function(t){t.group&&!t.stub&&t.setExpanded(e)})),this.pauseStoreUpdateListening=!1,this.onStoreUpdated()},t.prototype.refreshAfterFilter=function(e,t){this.storeParams&&(this.storeParams.filterModel=e);var r=this.getRootStore();r&&(r.refreshAfterFilter(t),this.onStoreUpdated())},t.prototype.getRootStore=function(){if(this.rootNode&&this.rootNode.childStore)return this.rootNode.childStore},t.prototype.getRowCount=function(){var e=this.getRootStore();return e?e.getDisplayIndexEnd():0},t.prototype.getTopLevelRowCount=function(){var e=this.getRootStore();return e?e.getRowCount():1},t.prototype.getTopLevelRowDisplayedIndex=function(e){var t=this.getRootStore();return t?t.getTopLevelRowDisplayedIndex(e):e},t.prototype.getRowBounds=function(e){var t=this.getRootStore();return t?t.getRowBounds(e):{rowTop:0,rowHeight:this.gridOptionsWrapper.getRowHeightAsNumber()}},t.prototype.getRowIndexAtPixel=function(e){var t=this.getRootStore();return e<=0||!t?0:t.getRowIndexAtPixel(e)},t.prototype.isEmpty=function(){return!1},t.prototype.isRowsToRender=function(){return null!=this.getRootStore()&&this.getRowCount()>0},t.prototype.getType=function(){return i.Constants.ROW_MODEL_TYPE_SERVER_SIDE},t.prototype.forEachNode=function(e){var t=this.getRootStore();t&&t.forEachNodeDeep(e)},t.prototype.forEachNodeAfterFilterAndSort=function(e){var t=this.getRootStore();t&&t.forEachNodeDeepAfterFilterAndSort(e)},t.prototype.executeOnStore=function(e,t){var r=this.getRootStore();if(r){var o=r.getChildStore(e);o&&t(o)}},t.prototype.refreshStore=function(e){void 0===e&&(e={});var t=e.route?e.route:[];this.executeOnStore(t,(function(t){return t.refreshStore(1==e.purge)}))},t.prototype.getStoreState=function(){var e=[],t=this.getRootStore();return t&&t.addStoreStates(e),e},t.prototype.getNodesInRangeForSelection=function(e,t){return i._.exists(t)&&e.parent!==t.parent?[]:e.parent.childStore.getRowNodesInRange(t,e)},t.prototype.getRowNode=function(e){var t;return this.forEachNode((function(r){r.id===e&&(t=r),r.detailNode&&r.detailNode.id===e&&(t=r.detailNode)})),t},t.prototype.isRowPresent=function(e){return!!this.getRowNode(e.id)},l([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),l([Object(i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),l([Object(i.Autowired)("sortController")],t.prototype,"sortController",void 0),l([Object(i.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),l([Object(i.Autowired)("ssrmSortService")],t.prototype,"sortListener",void 0),l([Object(i.Autowired)("ssrmNodeManager")],t.prototype,"nodeManager",void 0),l([Object(i.Autowired)("ssrmStoreFactory")],t.prototype,"storeFactory",void 0),l([Object(i.Autowired)("beans")],t.prototype,"beans",void 0),l([i.PreDestroy],t.prototype,"destroyDatasource",null),l([i.PostConstruct],t.prototype,"addEventListeners",null),l([i.PreDestroy],t.prototype,"destroyRootStore",null),t=l([Object(i.Bean)("rowModel")],t)}(i.BeanStub),u=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.loadFromDatasource=function(e){var t=e.storeParams,r=e.parentBlock,o=e.parentNode.getGroupKeys();if(t.datasource){var n={startRow:e.startRow,endRow:e.endRow,rowGroupCols:t.rowGroupCols,valueCols:t.valueCols,pivotCols:t.pivotCols,pivotMode:t.pivotMode,groupKeys:o,filterModel:t.filterModel,sortModel:t.sortModel},i={successCallback:e.successCallback,success:e.success,failCallback:e.failCallback,fail:e.fail,request:n,parentNode:e.parentNode,api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()};window.setTimeout((function(){t.datasource&&r.isAlive()?t.datasource.getRows(i):e.failCallback()}),0)}},t.prototype.getChildStore=function(e,t,r){if(i._.missingOrEmpty(e))return t;var o=r(e[0]);if(o){var n=e.slice(1,e.length),a=o.childStore;return a?a.getChildStore(n):null}return null},t.prototype.isServerRefreshNeeded=function(e,t,r){if(r.valueColChanged||r.secondaryColChanged)return!0;var o=e.level+1;if(!(o<t.length))return!0;var n=t[o].id;return r.changedColumns.indexOf(n)>-1||this.columnModel.getAllGridColumns().filter((function(e){return e.getColDef().showRowGroup&&r.changedColumns.includes(e.getId())})).map((function(e){return e.getColDef().showRowGroup})).some((function(e){return!0===e||e===n}))},p([Object(i.Autowired)("columnApi")],t.prototype,"columnApi",void 0),p([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),p([Object(i.Autowired)("gridApi")],t.prototype,"gridApi",void 0),t=p([Object(i.Bean)("ssrmStoreUtils")],t)}(i.BeanStub),g=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.prototype.postConstruct=function(){this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.usingTreeData=this.gridOptionsWrapper.isTreeData(),this.usingMasterDetail=this.gridOptionsWrapper.isMasterDetail()},t.prototype.createRowNode=function(e){var t=new i.RowNode(this.beans),r=null!=e.rowHeight?e.rowHeight:this.rowHeight;return t.setRowHeight(r),t.group=e.group,t.leafGroup=e.leafGroup,t.level=e.level,t.uiLevel=e.level,t.parent=e.parent,t.stub=!0,t.group&&(t.expanded=!1,t.field=e.field,t.rowGroupColumn=e.rowGroupColumn),t},t.prototype.destroyRowNodes=function(e){var t=this;e&&e.forEach((function(e){return t.destroyRowNode(e)}))},t.prototype.destroyRowNode=function(e,t){void 0===t&&(t=!1),e.childStore&&!t&&(this.destroyBean(e.childStore),e.childStore=null),e.clearRowTopAndRowIndex(),null!=e.id&&this.nodeManager.removeNode(e)},t.prototype.setTreeGroupInfo=function(e){var t=this.gridOptionsWrapper.getIsServerSideGroupFunc(),r=this.gridOptionsWrapper.getServerSideGroupKeyFunc();null!=t&&(e.setGroup(t(e.data)),e.group&&null!=r&&(e.key=r(e.data))),e.group||null==e.childStore||(this.destroyBean(e.childStore),e.childStore=null)},t.prototype.setRowGroupInfo=function(e){e.key=this.valueService.getValue(e.rowGroupColumn,e),null!==e.key&&void 0!==e.key||i._.doOnce((function(){console.warn("AG Grid: null and undefined values are not allowed for server side row model keys"),e.rowGroupColumn&&console.warn("column = "+e.rowGroupColumn.getId()),console.warn("data is ",e.data)}),"ServerSideBlock-CannotHaveNullOrUndefinedForKey")},t.prototype.setMasterDetailInfo=function(e){var t=this.gridOptionsWrapper.getIsRowMasterFunc();e.master=null==t||t(e.data)},t.prototype.updateDataIntoRowNode=function(e,t){e.updateData(t),this.usingTreeData?this.setTreeGroupInfo(e):e.group||this.usingMasterDetail},t.prototype.setDataIntoRowNode=function(e,t,r,o){e.stub=!1,i._.exists(t)?(e.setDataAndId(t,r),this.usingTreeData?this.setTreeGroupInfo(e):e.group?this.setRowGroupInfo(e):this.usingMasterDetail&&this.setMasterDetailInfo(e)):(e.setDataAndId(void 0,void 0),e.key=null),(this.usingTreeData||e.group)&&(this.setGroupDataIntoRowNode(e),this.setChildCountIntoRowNode(e)),i._.exists(t)&&e.setRowHeight(this.gridOptionsWrapper.getRowHeightForNode(e,!1,o).height)},t.prototype.setChildCountIntoRowNode=function(e){var t=this.gridOptionsWrapper.getChildCountFunc();t&&(e.allChildrenCount=t(e.data))},t.prototype.setGroupDataIntoRowNode=function(e){var t=this,r=this.columnModel.getGroupDisplayColumns(),o=this.gridOptionsWrapper.isTreeData();r.forEach((function(r){if(null==e.groupData&&(e.groupData={}),o)e.groupData[r.getColId()]=e.key;else if(r.isRowGroupDisplayed(e.rowGroupColumn.getId())){var n=t.valueService.getValue(e.rowGroupColumn,e);e.groupData[r.getColId()]=n}}))},t.prototype.clearDisplayIndex=function(e){(e.clearRowTopAndRowIndex(),e.group&&i._.exists(e.childStore))&&e.childStore.clearDisplayIndexes();e.master&&e.detailNode&&e.detailNode.clearRowTopAndRowIndex()},t.prototype.setDisplayIndex=function(e,t,r){if(e.setRowIndex(t.next()),e.setRowTop(r.value),r.value+=e.rowHeight,e.master&&(e.expanded&&e.detailNode?(e.detailNode.setRowIndex(t.next()),e.detailNode.setRowTop(r.value),r.value+=e.detailNode.rowHeight):e.detailNode&&e.detailNode.clearRowTopAndRowIndex()),e.group&&i._.exists(e.childStore)){var o=e.childStore;e.expanded?o.setDisplayIndexes(t,r):o.clearDisplayIndexes()}},t.prototype.binarySearchForDisplayIndex=function(e,t){var r=0,o=t.length-1;if(i._.missing(o)||i._.missing(r))console.warn("AG Grid: error: topPointer = "+o+", bottomPointer = "+r);else for(;;){var n=Math.floor((r+o)/2),a=t[n];if(a.rowIndex===e)return a;var s=a.master&&a.expanded,l=a.detailNode;if(s&&l&&l.rowIndex===e)return a.detailNode;var c=a.childStore;if(a.expanded&&c&&c.isDisplayIndexInStore(e))return c.getRowUsingDisplayIndex(e);if(a.rowIndex<e)r=n+1;else{if(!(a.rowIndex>e))return void console.warn("AG Grid: error: unable to locate rowIndex = "+e+" in cache");o=n-1}}},t.prototype.extractRowBounds=function(e,t){var r=function(e){return{rowHeight:e.rowHeight,rowTop:e.rowTop}};if(e.rowIndex===t)return r(e);if(e.group&&e.expanded&&i._.exists(e.childStore)){var o=e.childStore;if(o.isDisplayIndexInStore(t))return o.getRowBounds(t)}else if(e.master&&e.expanded&&i._.exists(e.detailNode)&&e.detailNode.rowIndex===t)return r(e.detailNode)},t.prototype.getIndexAtPixel=function(e,t){if(e.isPixelInRange(t))return e.rowIndex;var r=e.master&&e.expanded,o=e.detailNode;if(r&&o&&o.isPixelInRange(t))return e.detailNode.rowIndex;if(e.group&&e.expanded&&i._.exists(e.childStore)){var n=e.childStore;if(n.isPixelInRange(t))return n.getRowIndexAtPixel(t)}return null},t.prototype.createNodeIdPrefix=function(e){for(var t=[],r=e;r&&r.level>=0;)t.push(r.key),r=r.parent;if(t.length>0)return t.reverse().join("-")},t.prototype.checkOpenByDefault=function(e){if(e.isExpandable()){var t=this.gridOptionsWrapper.getIsServerSideGroupOpenByDefaultFunc();if(t)t({data:e.data,rowNode:e})&&window.setTimeout((function(){return e.setExpanded(!0)}),0)}},h([Object(i.Autowired)("valueService")],t.prototype,"valueService",void 0),h([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),h([Object(i.Autowired)("ssrmNodeManager")],t.prototype,"nodeManager",void 0),h([Object(i.Autowired)("beans")],t.prototype,"beans",void 0),h([i.PostConstruct],t.prototype,"postConstruct",null),t=h([Object(i.Bean)("ssrmBlockUtils")],t)}(i.BeanStub),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(){function e(){this.rowNodes={}}return e.prototype.addRowNode=function(e){var t=e.id;this.rowNodes[t]&&(console.warn("AG Grid: Duplicate node id "+e.id+". Row ID's are provided via the getRowId() callback. Please modify the getRowId() callback code to provide unique row id values."),console.warn("first instance",this.rowNodes[t].data),console.warn("second instance",e.data)),this.rowNodes[t]=e},e.prototype.removeNode=function(e){var t=e.id;this.rowNodes[t]&&(this.rowNodes[t]=void 0)},e.prototype.clear=function(){this.rowNodes={}},v([i.PreDestroy],e.prototype,"clear",null),e=v([Object(i.Bean)("ssrmNodeManager")],e)}(),m=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.asyncTransactions=[],t}return m(t,e),t.prototype.postConstruct=function(){this.gridOptionsWrapper.isRowModelServerSide()},t.prototype.applyTransactionAsync=function(e,t){null==this.asyncTransactionsTimeout&&this.scheduleExecuteAsync(),this.asyncTransactions.push({transaction:e,callback:t})},t.prototype.scheduleExecuteAsync=function(){var e=this,t=this.gridOptionsWrapper.getAsyncTransactionWaitMillis();this.asyncTransactionsTimeout=window.setTimeout((function(){e.executeAsyncTransactions()}),t)},t.prototype.executeAsyncTransactions=function(){var e=this;if(this.asyncTransactions){var t=[],r=[],o=[],n=!1;if(this.asyncTransactions.forEach((function(a){var s;e.serverSideRowModel.executeOnStore(a.transaction.route,(function(e){s=e.applyTransaction(a.transaction)})),null==s&&(s={status:i.ServerSideTransactionResultStatus.StoreNotFound}),r.push(s),s.status==i.ServerSideTransactionResultStatus.StoreLoading?o.push(a):(a.callback&&t.push((function(){return a.callback(s)})),s.status===i.ServerSideTransactionResultStatus.Applied&&(n=!0))})),t.length>0&&window.setTimeout((function(){t.forEach((function(e){return e()}))}),0),this.asyncTransactionsTimeout=void 0,this.asyncTransactions=o,n&&(this.valueCache.onDataChanged(),this.eventService.dispatchEvent({type:i.Events.EVENT_STORE_UPDATED})),r.length>0){var a={type:i.Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED,results:r};this.eventService.dispatchEvent(a)}}},t.prototype.flushAsyncTransactions=function(){null!=this.asyncTransactionsTimeout&&clearTimeout(this.asyncTransactionsTimeout),this.executeAsyncTransactions()},t.prototype.applyTransaction=function(e){var t,r=this;return this.serverSideRowModel.executeOnStore(e.route,(function(r){t=r.applyTransaction(e)})),t?(this.valueCache.onDataChanged(),this.eventService.dispatchEvent({type:i.Events.EVENT_STORE_UPDATED}),t.update&&t.update.length&&setTimeout((function(){r.rowRenderer.refreshFullWidthRows(t.update)}),0),t):{status:i.ServerSideTransactionResultStatus.StoreNotFound}},b([Object(i.Autowired)("rowNodeBlockLoader")],t.prototype,"rowNodeBlockLoader",void 0),b([Object(i.Autowired)("valueCache")],t.prototype,"valueCache",void 0),b([Object(i.Autowired)("rowModel")],t.prototype,"serverSideRowModel",void 0),b([Object(i.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),b([i.PostConstruct],t.prototype,"postConstruct",null),t=b([Object(i.Bean)("ssrmTransactionManager")],t)}(i.BeanStub),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),O=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.postConstruct=function(){this.gridOptionsWrapper.isRowModelServerSide()&&this.addManagedListener(this.eventService,i.Events.EVENT_ROW_GROUP_OPENED,this.onRowGroupOpened.bind(this))},t.prototype.onRowGroupOpened=function(e){var t=e.node;if(t.expanded){if(t.master)this.createDetailNode(t);else if(i._.missing(t.childStore)){var r=this.serverSideRowModel.getParams();t.childStore=this.createBean(this.storeFactory.createStore(r,t))}}else this.gridOptionsWrapper.isPurgeClosedRowNodes()&&i._.exists(t.childStore)&&(t.childStore=this.destroyBean(t.childStore));var o={type:i.Events.EVENT_STORE_UPDATED};this.eventService.dispatchEvent(o)},t.prototype.createDetailNode=function(e){if(i._.exists(e.detailNode))return e.detailNode;var t=new i.RowNode(this.beans);t.detail=!0,t.selectable=!1,t.parent=e,i._.exists(e.id)&&(t.id="detail_"+e.id),t.data=e.data,t.level=e.level+1;var r=this.gridOptionsWrapper.getRowHeightForNode(t).height;return t.rowHeight=r||200,e.detailNode=t,t},O([Object(i.Autowired)("rowModel")],t.prototype,"serverSideRowModel",void 0),O([Object(i.Autowired)("ssrmStoreFactory")],t.prototype,"storeFactory",void 0),O([Object(i.Autowired)("beans")],t.prototype,"beans",void 0),O([i.PostConstruct],t.prototype,"postConstruct",null),t=O([Object(i.Bean)("ssrmExpandListener")],t)}(i.BeanStub),E=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),x=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.postConstruct=function(){this.gridOptionsWrapper.isRowModelServerSide()&&this.addManagedListener(this.eventService,i.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this))},t.prototype.extractSortModel=function(){var e=this.sortController.getSortModel();return this.gridOptionsWrapper.isTreeData()||(this.replaceAutoGroupColumnWithActualRowGroupColumns(e),this.removeMultiColumnPrefixOnColumnIds(e)),e},t.prototype.removeMultiColumnPrefixOnColumnIds=function(e){if(this.gridOptionsWrapper.isGroupMultiAutoColumn())for(var t=i.Constants.GROUP_AUTO_COLUMN_ID+"-",r=0;r<e.length;++r)e[r].colId.indexOf(t)>-1&&(e[r].colId=e[r].colId.substr(t.length))},t.prototype.replaceAutoGroupColumnWithActualRowGroupColumns=function(e){var t=e.find((function(e){return e.colId==i.Constants.GROUP_AUTO_COLUMN_ID}));if(t){var r=e.indexOf(t);i._.removeFromArray(e,t);var o=this.columnModel.getRowGroupColumns().filter((function(t){return 0==e.filter((function(e){return e.colId===t.getColId()})).length})).map((function(e){return{colId:e.getId(),sort:t.sort}}));i._.insertArrayIntoArray(e,o,r)}},t.prototype.onSortChanged=function(){var e=this.serverSideRowModel.getParams();if(e){var t=this.extractSortModel(),r=e.sortModel,o=this.findChangedColumnsInSort(t,r),n={valueColChanged:this.listenerUtils.isSortingWithValueColumn(o),secondaryColChanged:this.listenerUtils.isSortingWithSecondaryColumn(o),changedColumns:o};this.serverSideRowModel.refreshAfterSort(t,n)}},t.prototype.findChangedColumnsInSort=function(e,t){var r=[];[e,t].forEach((function(e){if(e){var t=e.map((function(e){return e.colId}));r=r.concat(t)}}));return r.filter((function(r){var o=t.find((function(e){return e.colId===r})),n=e.find((function(e){return e.colId===r}));return function(e,t){return(e?e.sort:null)!==(t?t.sort:null)}(o,n)||function(r,o){return(r?t.indexOf(r):-1)!==(o?e.indexOf(o):-1)}(o,n)}))},x([Object(i.Autowired)("sortController")],t.prototype,"sortController",void 0),x([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),x([Object(i.Autowired)("rowModel")],t.prototype,"serverSideRowModel",void 0),x([Object(i.Autowired)("ssrmListenerUtils")],t.prototype,"listenerUtils",void 0),x([i.PostConstruct],t.prototype,"postConstruct",null),t=x([Object(i.Bean)("ssrmSortService")],t)}(i.BeanStub),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),A=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.postConstruct=function(){this.gridOptionsWrapper.isRowModelServerSide()&&this.addManagedListener(this.eventService,i.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this))},t.prototype.onFilterChanged=function(){var e=this.serverSideRowModel.getParams();if(e){var t=this.filterManager.getFilterModel(),r=e?e.filterModel:{},o=this.findChangedColumns(t,r),n={valueColChanged:this.listenerUtils.isSortingWithValueColumn(o),secondaryColChanged:this.listenerUtils.isSortingWithSecondaryColumn(o),changedColumns:o};this.serverSideRowModel.refreshAfterFilter(t,n)}},t.prototype.findChangedColumns=function(e,t){var r={};Object.keys(e).forEach((function(e){return r[e]=!0})),Object.keys(t).forEach((function(e){return r[e]=!0}));var o=[];return Object.keys(r).forEach((function(r){JSON.stringify(e[r])!=JSON.stringify(t[r])&&o.push(r)})),o},A([Object(i.Autowired)("rowModel")],t.prototype,"serverSideRowModel",void 0),A([Object(i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),A([Object(i.Autowired)("ssrmListenerUtils")],t.prototype,"listenerUtils",void 0),A([i.PostConstruct],t.prototype,"postConstruct",null),t=A([Object(i.Bean)("ssrmFilterListener")],t)}(i.BeanStub),_=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),D=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},M=function(e,t){return function(r,o){t(r,o,e)}},N=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},I=function(e){function t(t,r,o,n,i){var a=e.call(this,t)||this;return a.ssrmParams=o,a.storeParams=n,a.parentRowNode=r,a.startRow=t*n.cacheBlockSize,a.parentStore=i,a.level=r.level+1,a.groupLevel=o.rowGroupCols?a.level<o.rowGroupCols.length:void 0,a.leafGroup=!!o.rowGroupCols&&a.level===o.rowGroupCols.length-1,a}return _(t,e),t.prototype.postConstruct=function(){if(this.usingTreeData=this.gridOptionsWrapper.isTreeData(),!this.usingTreeData&&this.groupLevel){var e=this.ssrmParams.rowGroupCols[this.level];this.groupField=e.field,this.rowGroupColumn=this.columnModel.getRowGroupColumns()[this.level]}this.nodeIdPrefix=this.blockUtils.createNodeIdPrefix(this.parentRowNode),this.setData([])},t.prototype.isDisplayIndexInBlock=function(e){return e>=this.displayIndexStart&&e<this.displayIndexEnd},t.prototype.isBlockBefore=function(e){return e>=this.displayIndexEnd},t.prototype.getDisplayIndexStart=function(){return this.displayIndexStart},t.prototype.getDisplayIndexEnd=function(){return this.displayIndexEnd},t.prototype.getBlockHeightPx=function(){return this.blockHeightPx},t.prototype.getBlockTopPx=function(){return this.blockTopPx},t.prototype.isGroupLevel=function(){return this.groupLevel},t.prototype.getGroupField=function(){return this.groupField},t.prototype.prefixId=function(e){return null!=this.nodeIdPrefix?this.nodeIdPrefix+"-"+e:e.toString()},t.prototype.getBlockStateJson=function(){return{id:this.prefixId(this.getId()),state:{blockNumber:this.getId(),startRow:this.startRow,endRow:this.startRow+this.storeParams.cacheBlockSize,pageStatus:this.getState()}}},t.prototype.isAnyNodeOpen=function(){return this.rowNodes.filter((function(e){return e.expanded})).length>0},t.prototype.forEachNode=function(e,t,r,o){void 0===t&&(t=new i.NumberSequence),this.rowNodes.forEach((function(n){if(e(n,t.next()),r&&n.childStore){var i=n.childStore;o?i.forEachNodeDeepAfterFilterAndSort(e,t):i.forEachNodeDeep(e,t)}}))},t.prototype.forEachNodeDeep=function(e,t){this.forEachNode(e,t,!0,!1)},t.prototype.forEachNodeAfterFilterAndSort=function(e,t){this.forEachNode(e,t,!0,!0)},t.prototype.forEachNodeShallow=function(e,t){this.forEachNode(e,t,!1,!1)},t.prototype.getLastAccessed=function(){return this.lastAccessed},t.prototype.getRowUsingLocalIndex=function(e){return this.rowNodes[e-this.startRow]},t.prototype.touchLastAccessed=function(){this.lastAccessed=this.ssrmParams.lastAccessedSequence.next()},t.prototype.processServerFail=function(){this.parentStore.onBlockLoadFailed(this)},t.prototype.retryLoads=function(){this.getState()===i.RowNodeBlock.STATE_FAILED&&(this.setStateWaitingToLoad(),this.rowNodeBlockLoader.checkBlockToLoad(),this.setData()),this.forEachNodeShallow((function(e){e.childStore&&e.childStore.retryLoads()}))},t.prototype.processServerResult=function(e){this.parentStore.onBlockLoaded(this,e)},t.prototype.setData=function(e,t){var r=this;void 0===e&&(e=[]),void 0===t&&(t=!1),this.destroyRowNodes();for(var o=this.parentStore.getRowCount(),n=this.getId()*this.storeParams.cacheBlockSize,i=Math.min(n+this.storeParams.cacheBlockSize,o)-n,a=this.columnModel.getAllDisplayedAutoHeightCols().length>0?this.parentStore.getCachedBlockHeight(this.getId()):void 0,s=a?Math.round(a/i):void 0,l=function(o){var n=o<e.length,i=function(i){var a=null!=i?i:r.blockUtils.createRowNode({field:r.groupField,group:r.groupLevel,leafGroup:r.leafGroup,level:r.level,parent:r.parentRowNode,rowGroupColumn:r.rowGroupColumn,rowHeight:s});if(n){var l=e[o];if(i)r.blockUtils.updateDataIntoRowNode(a,l);else{var c=r.prefixId(r.startRow+o);r.blockUtils.setDataIntoRowNode(a,l,c,s),r.blockUtils.checkOpenByDefault(a)}r.parentStore.removeDuplicateNode(a.id),r.nodeManager.addRowNode(a),r.allNodesMap[a.id]=a}return t&&(a.failedLoad=!0),a},a=c.gridOptionsWrapper.getRowIdFunc(),l=void 0;if(a&&n){var u=e[o],p=c.parentRowNode.getGroupKeys(),d=a({data:u,level:c.level,parentKeys:p.length>0?p:void 0});l=i(c.parentStore.retrieveNodeFromCache(d))}l||(l=i()),c.rowNodes.push(l)},c=this,u=0;u<i;u++)l(u)},t.prototype.removeDuplicateNode=function(e){if(this.getState()!=i.RowNodeBlock.STATE_LOADED){var t=this.allNodesMap[e];if(t){this.blockUtils.destroyRowNode(t);var r=this.rowNodes.indexOf(t),o=this.blockUtils.createRowNode({field:this.groupField,group:this.groupLevel,leafGroup:this.leafGroup,level:this.level,parent:this.parentRowNode,rowGroupColumn:this.rowGroupColumn});this.rowNodes[r]=o}}},t.prototype.refresh=function(){this.getState()!==i.RowNodeBlock.STATE_WAITING_TO_LOAD&&this.setStateWaitingToLoad()},t.prototype.destroyRowNodes=function(){var e,t=this;null===(e=this.rowNodes)||void 0===e||e.forEach((function(e){var r=t.parentStore.isNodeCached(e.id);t.blockUtils.destroyRowNode(e,r)})),this.rowNodes=[],this.allNodesMap={}},t.prototype.setBeans=function(e){this.logger=e.create("ServerSideBlock")},t.prototype.getRowUsingDisplayIndex=function(e){return this.touchLastAccessed(),this.blockUtils.binarySearchForDisplayIndex(e,this.rowNodes)},t.prototype.loadFromDatasource=function(){this.storeUtils.loadFromDatasource({startRow:this.startRow,endRow:this.startRow+this.storeParams.cacheBlockSize,parentBlock:this,parentNode:this.parentRowNode,storeParams:this.ssrmParams,successCallback:this.pageLoaded.bind(this,this.getVersion()),success:this.success.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this,this.getVersion()),fail:this.pageLoadFailed.bind(this,this.getVersion())})},t.prototype.isPixelInRange=function(e){return e>=this.blockTopPx&&e<this.blockTopPx+this.blockHeightPx},t.prototype.getRowBounds=function(e){var t,r,o;this.touchLastAccessed();try{for(var n=N(this.rowNodes),i=n.next();!i.done;i=n.next()){var a=i.value;if(null!=(o=this.blockUtils.extractRowBounds(a,e)))break}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return o},t.prototype.getRowIndexAtPixel=function(e){var t,r;this.touchLastAccessed();var o=null;try{for(var n=N(this.rowNodes),i=n.next();!i.done;i=n.next()){var a=i.value;if(null!=(o=this.blockUtils.getIndexAtPixel(a,e)))break}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return o},t.prototype.clearDisplayIndexes=function(){var e=this;this.displayIndexEnd=void 0,this.displayIndexStart=void 0,this.rowNodes.forEach((function(t){return e.blockUtils.clearDisplayIndex(t)}))},t.prototype.setDisplayIndexes=function(e,t){var r=this;this.displayIndexStart=e.peek(),this.blockTopPx=t.value,this.rowNodes.forEach((function(o){return r.blockUtils.setDisplayIndex(o,e,t)})),this.displayIndexEnd=e.peek(),this.blockHeightPx=t.value-this.blockTopPx},D([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),D([Object(i.Autowired)("ssrmStoreUtils")],t.prototype,"storeUtils",void 0),D([Object(i.Autowired)("ssrmBlockUtils")],t.prototype,"blockUtils",void 0),D([Object(i.Autowired)("ssrmNodeManager")],t.prototype,"nodeManager",void 0),D([Object(i.Autowired)("rowNodeBlockLoader")],t.prototype,"rowNodeBlockLoader",void 0),D([i.PostConstruct],t.prototype,"postConstruct",null),D([i.PreDestroy],t.prototype,"destroyRowNodes",null),D([M(0,Object(i.Qualifier)("loggerFactory"))],t.prototype,"setBeans",null),t}(i.RowNodeBlock),L=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),k=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},F=function(e,t){return function(r,o){t(r,o,e)}};!function(e){e[e.FOUND=0]="FOUND",e[e.CONTINUE_FIND=1]="CONTINUE_FIND",e[e.BREAK_FIND=2]="BREAK_FIND"}(n||(n={}));var G=function(e){function t(t,r,o){var n=e.call(this)||this;return n.blocks={},n.blockHeights={},n.lastRowIndexKnown=!1,n.displayIndexStart=0,n.displayIndexEnd=0,n.cacheTopPixel=0,n.info={},n.refreshedNodeCache={},n.ssrmParams=t,n.storeParams=r,n.parentRowNode=o,n}return L(t,e),t.prototype.postConstruct=function(){this.defaultRowHeight=this.gridOptionsWrapper.getRowHeightAsNumber();var e=-1===this.parentRowNode.level?this.gridOptionsWrapper.getServerSideInitialRowCount():t.INITIAL_ROW_COUNT;this.rowCount=e},t.prototype.destroyAllBlocks=function(){var e=this;this.getBlocksInOrder().forEach((function(t){return e.destroyBlock(t)})),this.blockUtils.destroyRowNodes(Object.values(this.refreshedNodeCache))},t.prototype.setBeans=function(e){this.logger=e.create("ServerSideCache")},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.isLastRowIndexKnown=function(){return this.lastRowIndexKnown},t.prototype.retryLoads=function(){this.getBlocksInOrder().forEach((function(e){return e.retryLoads()}))},t.prototype.onBlockLoadFailed=function(e){e.setData([],!0),this.fireCacheUpdatedEvent()},t.prototype.onBlockLoaded=function(e,t){this.logger.log("onPageLoaded: page = "+e.getId()+", lastRow = "+t.rowCount);var r=t.storeInfo||t.groupLevelInfo;if(r&&Object.assign(this.info,r),!t.rowData){i._.doOnce((function(){return console.warn('AG Grid: "params.rowData" is missing from Server-Side Row Model success() callback. Please use the "rowData" attribute. If no data is returned, set an empty list.',t)}),"InfiniteStore.noData")}var o=null!=t.rowCount&&t.rowCount>=0?t.rowCount:void 0;this.isAlive()&&(this.checkRowCount(e,o),e.setData(t.rowData),this.destroyAllBlocksPastVirtualRowCount(),this.fireCacheUpdatedEvent())},t.prototype.purgeBlocksIfNeeded=function(e){var r=this,o=this.getBlocksInOrder().filter((function(t){return t!=e}));o.sort((function(e,t){return t.getLastAccessed()-e.getLastAccessed()}));var n=this.storeParams.maxBlocksInCache>0,i=n?this.storeParams.maxBlocksInCache-1:null,a=t.MAX_EMPTY_BLOCKS_TO_KEEP-1;o.forEach((function(e,t){if(e.getState()===I.STATE_WAITING_TO_LOAD&&t>=a||!!n&&t>=i){if(e.isAnyNodeOpen())return;if(r.isBlockCurrentlyDisplayed(e))return;if(r.isBlockFocused(e))return;r.destroyBlock(e)}}))},t.prototype.isBlockFocused=function(e){var t=this.focusService.getFocusCellToUseAfterRefresh();if(!t)return!1;if(null!=t.rowPinned)return!1;var r=e.getDisplayIndexStart(),o=e.getDisplayIndexEnd();return null!=o&&null!=r&&(t.rowIndex>=r&&t.rowIndex<o)},t.prototype.isBlockCurrentlyDisplayed=function(e){var t=e.getDisplayIndexStart(),r=e.getDisplayIndexEnd()-1;return this.rowRenderer.isRangeInRenderedViewport(t,r)},t.prototype.removeDuplicateNode=function(e){this.getBlocksInOrder().forEach((function(t){return t.removeDuplicateNode(e)}))},t.prototype.checkRowCount=function(e,r){if("number"==typeof r&&r>=0)this.rowCount=r,this.lastRowIndexKnown=!0;else if(!this.lastRowIndexKnown){var o=(e.getId()+1)*this.storeParams.cacheBlockSize+t.OVERFLOW_SIZE;this.rowCount<o&&(this.rowCount=o)}},t.prototype.forEachNodeDeep=function(e,t){void 0===t&&(t=new i.NumberSequence),this.getBlocksInOrder().forEach((function(r){return r.forEachNodeDeep(e,t)}))},t.prototype.forEachNodeDeepAfterFilterAndSort=function(e,t){void 0===t&&(t=new i.NumberSequence),this.getBlocksInOrder().forEach((function(r){return r.forEachNodeAfterFilterAndSort(e,t)}))},t.prototype.getBlocksInOrder=function(){return i._.getAllValuesInObject(this.blocks).sort((function(e,t){return e.getId()-t.getId()}))},t.prototype.destroyBlock=function(e){delete this.blocks[e.getId()],this.destroyBean(e),this.rowNodeBlockLoader.removeBlock(e)},t.prototype.fireCacheUpdatedEvent=function(){var e={type:i.Events.EVENT_STORE_UPDATED};this.eventService.dispatchEvent(e)},t.prototype.destroyAllBlocksPastVirtualRowCount=function(){var e=this,t=[];this.getBlocksInOrder().forEach((function(r){r.getId()*e.storeParams.cacheBlockSize>=e.rowCount&&t.push(r)})),t.length>0&&t.forEach((function(t){return e.destroyBlock(t)}))},t.prototype.refreshStore=function(e){0==this.getRowCount()||e?this.resetStore():this.refreshBlocks(),this.fireCacheUpdatedEvent()},t.prototype.isNodeCached=function(e){return!!this.refreshedNodeCache[e]},t.prototype.retrieveNodeFromCache=function(e){var t=this.refreshedNodeCache[e];return t&&delete this.refreshedNodeCache[e],t},t.prototype.buildRowNodeCache=function(){var e={};this.getBlocksInOrder().forEach((function(t){t.rowNodes.forEach((function(t){t.group&&(e[t.id]=t)}))})),this.refreshedNodeCache=e},t.prototype.refreshBlocks=function(){this.buildRowNodeCache(),this.getBlocksInOrder().forEach((function(e){e.refresh()})),this.lastRowIndexKnown=!1,this.rowNodeBlockLoader.checkBlockToLoad()},t.prototype.resetStore=function(){this.destroyAllBlocks(),this.lastRowIndexKnown=!1,(this.columnModel.isAutoRowHeightActive()||0===this.rowCount)&&(this.rowCount=t.INITIAL_ROW_COUNT)},t.prototype.getRowNodesInRange=function(e,t){var r=[],o=-1,n=!1;i._.missing(e)&&(n=!0);var a=!1;return this.getBlocksInOrder().forEach((function(i){a||(n&&o+1!==i.getId()?a=!0:(o=i.getId(),i.forEachNodeShallow((function(o){var i=o===e||o===t;(n||i)&&r.push(o),i&&(n=!n)}))))})),a||n?[]:r},t.prototype.findBlockAndExecute=function(e,t,r){var o,i=!1,a=!1,s=null;return this.getBlocksInOrder().forEach((function(r){if(!i&&!a){var l=e(r);l==n.FOUND?(o=t(r),i=!0):l==n.CONTINUE_FIND?s=r:l==n.BREAK_FIND&&(a=!0)}})),i||(o=r(s)),o},t.prototype.getRowBounds=function(e){var t=this;return this.findBlockAndExecute((function(t){return t.isDisplayIndexInBlock(e)?n.FOUND:t.isBlockBefore(e)?n.CONTINUE_FIND:n.BREAK_FIND}),(function(t){return t.getRowBounds(e)}),(function(r){var o,n;null!==r?(o=r.getBlockTopPx()+r.getBlockHeightPx(),n=r.getDisplayIndexEnd()):(o=t.cacheTopPixel,n=t.displayIndexStart);var i=e-n;return{rowHeight:t.defaultRowHeight,rowTop:o+i*t.defaultRowHeight}}))},t.prototype.getRowIndexAtPixel=function(e){var t=this,r=this.findBlockAndExecute((function(t){return t.isPixelInRange(e)?n.FOUND:t.getBlockTopPx()<e?n.CONTINUE_FIND:n.BREAK_FIND}),(function(t){return t.getRowIndexAtPixel(e)}),(function(r){var o,n;r?(o=r.getBlockTopPx()+r.getBlockHeightPx(),n=r.getDisplayIndexEnd()):(o=t.cacheTopPixel,n=t.displayIndexStart);for(var i=t.storeParams.cacheBlockSize,a=t.defaultRowHeight*i,s=r?r.getId()+1:0,l=function(r){var n=t.getCachedBlockHeight(r),i=null!=n?n:a;return{height:i,pixelInBlock:e<=i+o}},c=l(s);!c.pixelInBlock;)o+=c.height,n+=i,c=l(++s);var u=e-o,p=c.height/i;return n+(0|Math.floor(u/p))})),o=this.getDisplayIndexEnd()-1;return r=Math.min(r,o)},t.prototype.clearDisplayIndexes=function(){this.displayIndexStart=void 0,this.displayIndexEnd=void 0,this.getBlocksInOrder().forEach((function(e){return e.clearDisplayIndexes()}))},t.prototype.setDisplayIndexes=function(e,t){var r=this;this.displayIndexStart=e.peek(),this.cacheTopPixel=t.value;var o=-1,n=this.storeParams.cacheBlockSize;this.getBlocksInOrder().forEach((function(a){var s=a.getId(),l=s-o-1,c=l*n;c>0&&e.skip(c);for(var u=1;u<=l;u++){var p=s-u;i._.exists(r.blockHeights[p])?t.value+=r.blockHeights[p]:t.value+=n*r.defaultRowHeight}o=s,a.setDisplayIndexes(e,t),r.blockHeights[s]=a.getBlockHeightPx()}));var a=(o+1)*n-1,s=this.getRowCount()-a-1;s>0&&(e.skip(s),t.value+=s*this.defaultRowHeight),this.displayIndexEnd=e.peek(),this.cacheHeightPixels=t.value-this.cacheTopPixel},t.prototype.getRowUsingDisplayIndex=function(e,t){var r=this;if(void 0===t&&(t=!1),this.isDisplayIndexInStore(e)){return this.findBlockAndExecute((function(t){return t.isDisplayIndexInBlock(e)?n.FOUND:t.isBlockBefore(e)?n.CONTINUE_FIND:n.BREAK_FIND}),(function(t){return t.getRowUsingDisplayIndex(e)}),(function(o){if(!t){var n,a,s,l=r.storeParams.cacheBlockSize;if(o){n=o.getId()+1,a=o.getDisplayIndexEnd(),s=o.getBlockHeightPx()+o.getBlockTopPx();for(;!(e>=a&&e<a+l);){a+=l;var c=r.blockHeights[n];i._.exists(c)?s+=c:s+=r.defaultRowHeight*l,n++}}else{var u=e-r.displayIndexStart;n=Math.floor(u/l),a=r.displayIndexStart+n*l,s=r.cacheTopPixel+n*l*r.defaultRowHeight}return r.logger.log("block missing, rowIndex = "+e+", creating #"+n+", displayIndexStart = "+a),r.createBlock(n,a,{value:s}).getRowUsingDisplayIndex(e)}}))}},t.prototype.getTopLevelRowDisplayedIndex=function(e){var t=this.storeParams.cacheBlockSize,r=Math.floor(e/t);return this.findBlockAndExecute((function(e){return e.getId()===r?n.FOUND:e.getId()<r?n.CONTINUE_FIND:n.BREAK_FIND}),(function(t){return t.getRowUsingLocalIndex(e).rowIndex}),(function(r){if(!r)return e;var o,n=t*(r.getId()+1)-1,i=r.getRowUsingLocalIndex(n);i.expanded&&i.childStore?o=i.childStore.getDisplayIndexEnd()-1:o=i.expanded&&i.detailNode?i.detailNode.rowIndex:i.rowIndex;return o+(e-n)}))},t.prototype.addStoreStates=function(e){e.push({infiniteScroll:!0,route:this.parentRowNode.getGroupKeys(),rowCount:this.rowCount,lastRowIndexKnown:this.lastRowIndexKnown,info:this.info,maxBlocksInCache:this.storeParams.maxBlocksInCache,cacheBlockSize:this.storeParams.cacheBlockSize}),this.forEachChildStoreShallow((function(t){return t.addStoreStates(e)}))},t.prototype.getCachedBlockHeight=function(e){return this.blockHeights[e]},t.prototype.createBlock=function(e,t,r){var o=this.createBean(new I(e,this.parentRowNode,this.ssrmParams,this.storeParams,this));return o.setDisplayIndexes(new i.NumberSequence(t),r),this.blocks[o.getId()]=o,this.purgeBlocksIfNeeded(o),this.rowNodeBlockLoader.addBlock(o),o},t.prototype.getDisplayIndexEnd=function(){return this.displayIndexEnd},t.prototype.isDisplayIndexInStore=function(e){return 0!==this.getRowCount()&&(e>=this.displayIndexStart&&e<this.displayIndexEnd)},t.prototype.applyTransaction=function(e){return{status:i.ServerSideTransactionResultStatus.StoreWrongType}},t.prototype.getChildStore=function(e){var t=this;return this.storeUtils.getChildStore(e,this,(function(e){var r=null;return t.getBlocksInOrder().forEach((function(t){t.forEachNodeShallow((function(t){t.key==e&&(r=t)}),new i.NumberSequence)})),r}))},t.prototype.isPixelInRange=function(e){return 0!==this.getRowCount()&&(e>=this.cacheTopPixel&&e<this.cacheTopPixel+this.cacheHeightPixels)},t.prototype.refreshAfterFilter=function(e){this.gridOptionsWrapper.isServerSideFilterAllLevels()||this.storeUtils.isServerRefreshNeeded(this.parentRowNode,this.ssrmParams.rowGroupCols,e)?this.resetStore():this.forEachChildStoreShallow((function(t){return t.refreshAfterFilter(e)}))},t.prototype.refreshAfterSort=function(e){this.gridOptionsWrapper.isServerSideSortAllLevels()||this.storeUtils.isServerRefreshNeeded(this.parentRowNode,this.ssrmParams.rowGroupCols,e)?this.resetStore():this.forEachChildStoreShallow((function(t){return t.refreshAfterSort(e)}))},t.prototype.forEachChildStoreShallow=function(e){this.getBlocksInOrder().forEach((function(t){if(t.isGroupLevel()){t.forEachNodeShallow((function(t){var r=t.childStore;r&&e(r)}),new i.NumberSequence)}}))},t.MAX_EMPTY_BLOCKS_TO_KEEP=2,t.INITIAL_ROW_COUNT=1,t.OVERFLOW_SIZE=1,k([Object(i.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),k([Object(i.Autowired)("rowNodeBlockLoader")],t.prototype,"rowNodeBlockLoader",void 0),k([Object(i.Autowired)("ssrmStoreUtils")],t.prototype,"storeUtils",void 0),k([Object(i.Autowired)("focusService")],t.prototype,"focusService",void 0),k([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),k([Object(i.Autowired)("ssrmBlockUtils")],t.prototype,"blockUtils",void 0),k([i.PostConstruct],t.prototype,"postConstruct",null),k([i.PreDestroy],t.prototype,"destroyAllBlocks",null),k([F(0,Object(i.Qualifier)("loggerFactory"))],t.prototype,"setBeans",null),t}(i.BeanStub),j=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),z=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},B=function(e){function t(t,r,o){var n=e.call(this,0)||this;return n.nodeIdSequence=new i.NumberSequence,n.info={},n.ssrmParams=t,n.parentRowNode=o,n.level=o.level+1,n.groupLevel=t.rowGroupCols?n.level<t.rowGroupCols.length:void 0,n.leafGroup=!!t.rowGroupCols&&n.level===t.rowGroupCols.length-1,n}return j(t,e),t.prototype.postConstruct=function(){var e=this;if(this.usingTreeData=this.gridOptionsWrapper.isTreeData(),this.nodeIdPrefix=this.blockUtils.createNodeIdPrefix(this.parentRowNode),!this.usingTreeData&&this.groupLevel){var t=this.ssrmParams.rowGroupCols[this.level];this.groupField=t.field,this.rowGroupColumn=this.columnModel.getRowGroupColumns()[this.level]}var r=1,o=-1===this.parentRowNode.level,n=this.gridOptionsWrapper.getServerSideInitialRowCount();o&&void 0!==n&&(r=n),this.initialiseRowNodes(r),this.rowNodeBlockLoader.addBlock(this),this.addDestroyFunc((function(){return e.rowNodeBlockLoader.removeBlock(e)}))},t.prototype.destroyRowNodes=function(){this.blockUtils.destroyRowNodes(this.allRowNodes),this.allRowNodes=[],this.nodesAfterSort=[],this.nodesAfterFilter=[],this.allNodesMap={}},t.prototype.initialiseRowNodes=function(e,t){void 0===t&&(t=!1),this.destroyRowNodes();for(var r=0;r<e;r++){var o=this.blockUtils.createRowNode({field:this.groupField,group:this.groupLevel,leafGroup:this.leafGroup,level:this.level,parent:this.parentRowNode,rowGroupColumn:this.rowGroupColumn});t&&(o.failedLoad=!0),this.allRowNodes.push(o),this.nodesAfterFilter.push(o),this.nodesAfterSort.push(o)}},t.prototype.getBlockStateJson=function(){return{id:this.nodeIdPrefix?this.nodeIdPrefix:"",state:this.getState()}},t.prototype.loadFromDatasource=function(){this.storeUtils.loadFromDatasource({startRow:void 0,endRow:void 0,parentBlock:this,parentNode:this.parentRowNode,storeParams:this.ssrmParams,successCallback:this.pageLoaded.bind(this,this.getVersion()),success:this.success.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this,this.getVersion()),fail:this.pageLoadFailed.bind(this,this.getVersion())})},t.prototype.getStartRow=function(){return 0},t.prototype.getEndRow=function(){return this.nodesAfterSort.length},t.prototype.createDataNode=function(e,t){var r=this.blockUtils.createRowNode({field:this.groupField,group:this.groupLevel,leafGroup:this.leafGroup,level:this.level,parent:this.parentRowNode,rowGroupColumn:this.rowGroupColumn});null!=t?i._.insertIntoArray(this.allRowNodes,r,t):this.allRowNodes.push(r);var o=this.prefixId(this.nodeIdSequence.next());return this.blockUtils.setDataIntoRowNode(r,e,o,void 0),this.nodeManager.addRowNode(r),this.blockUtils.checkOpenByDefault(r),this.allNodesMap[r.id]=r,r},t.prototype.prefixId=function(e){return this.nodeIdPrefix?this.nodeIdPrefix+"-"+e:e.toString()},t.prototype.processServerFail=function(){this.initialiseRowNodes(1,!0),this.fireStoreUpdatedEvent(),this.flushAsyncTransactions()},t.prototype.processServerResult=function(e){if(this.isAlive()){var t=e.storeInfo||e.groupLevelInfo;t&&Object.assign(this.info,t);var r=this.allRowNodes.length>0?this.allNodesMap:void 0;if(this.allRowNodes=[],this.nodesAfterSort=[],this.nodesAfterFilter=[],this.allNodesMap={},!e.rowData){i._.doOnce((function(){return console.warn('AG Grid: "params.data" is missing from Server-Side Row Model success() callback. Please use the "data" attribute. If no data is returned, set an empty list.',e)}),"FullStore.noData")}this.createOrRecycleNodes(r,e.rowData),r&&this.blockUtils.destroyRowNodes(i._.getAllValuesInObject(r)),this.filterAndSortNodes(),this.fireStoreUpdatedEvent(),this.flushAsyncTransactions()}},t.prototype.createOrRecycleNodes=function(e,t){var r=this;if(t){t.forEach((function(t){var o=function(t){if(e){var o=r.gridOptionsWrapper.getRowIdFunc();if(o){var n=r.parentRowNode.getGroupKeys(),i=r.level,a=o({data:t,parentKeys:n.length>0?n:void 0,level:i}),s=e[a];if(s)return delete e[a],s}}}(t);o?function(e,t){r.allNodesMap[e.id]=e,r.blockUtils.updateDataIntoRowNode(e,t),r.allRowNodes.push(e)}(o,t):r.createDataNode(t)}))}},t.prototype.flushAsyncTransactions=function(){var e=this;window.setTimeout((function(){return e.transactionManager.flushAsyncTransactions()}),0)},t.prototype.filterAndSortNodes=function(){this.filterRowNodes(),this.sortRowNodes()},t.prototype.sortRowNodes=function(){var e=this.gridOptionsWrapper.isServerSideSortAllLevels()||this.gridOptionsWrapper.isServerSideSortOnServer(),t=this.sortController.getSortOptions(),r=!t||0==t.length;this.nodesAfterSort=e||r?this.nodesAfterFilter:this.rowNodeSorter.doFullSort(this.nodesAfterFilter,t)},t.prototype.filterRowNodes=function(){var e=this,t=this.gridOptionsWrapper.isServerSideFilterAllLevels()||this.gridOptionsWrapper.isServerSideFilterOnServer(),r=this.groupLevel;this.nodesAfterFilter=t||r?this.allRowNodes:this.allRowNodes.filter((function(t){return e.filterManager.doesRowPassFilter({rowNode:t})}))},t.prototype.clearDisplayIndexes=function(){var e=this;this.displayIndexStart=void 0,this.displayIndexEnd=void 0,this.allRowNodes.forEach((function(t){return e.blockUtils.clearDisplayIndex(t)}))},t.prototype.getDisplayIndexEnd=function(){return this.displayIndexEnd},t.prototype.isDisplayIndexInStore=function(e){return 0!==this.getRowCount()&&(e>=this.displayIndexStart&&e<this.displayIndexEnd)},t.prototype.setDisplayIndexes=function(e,t){var r=this;this.displayIndexStart=e.peek(),this.topPx=t.value;var o={};this.nodesAfterSort.forEach((function(n){r.blockUtils.setDisplayIndex(n,e,t),o[n.id]=!0})),this.allRowNodes.forEach((function(e){o[e.id]||r.blockUtils.clearDisplayIndex(e)})),this.displayIndexEnd=e.peek(),this.heightPx=t.value-this.topPx},t.prototype.forEachNodeDeep=function(e,t){void 0===t&&(t=new i.NumberSequence),this.allRowNodes.forEach((function(r){e(r,t.next());var o=r.childStore;o&&o.forEachNodeDeep(e,t)}))},t.prototype.forEachNodeDeepAfterFilterAndSort=function(e,t){void 0===t&&(t=new i.NumberSequence),this.nodesAfterSort.forEach((function(r){e(r,t.next());var o=r.childStore;o&&o.forEachNodeDeepAfterFilterAndSort(e,t)}))},t.prototype.getRowUsingDisplayIndex=function(e){if(this.isDisplayIndexInStore(e))return this.blockUtils.binarySearchForDisplayIndex(e,this.nodesAfterSort)},t.prototype.getRowBounds=function(e){for(var t=0;t<this.nodesAfterSort.length;t++){var r=this.nodesAfterSort[t],o=this.blockUtils.extractRowBounds(r,e);if(o)return o}return null},t.prototype.isPixelInRange=function(e){return e>=this.topPx&&e<this.topPx+this.heightPx},t.prototype.getRowIndexAtPixel=function(e){var t=this;if(e<=this.topPx)return this.nodesAfterSort[0].rowIndex;if(e>=this.topPx+this.heightPx){var r=this.nodesAfterSort[this.nodesAfterSort.length-1],o=r.rowTop+r.rowHeight;if(e>=o&&r.expanded){if(r.childStore&&r.childStore.getRowCount()>0)return r.childStore.getRowIndexAtPixel(e);if(r.detailNode)return r.detailNode.rowIndex}return r.rowIndex}var n=null;return this.nodesAfterSort.forEach((function(r){var o=t.blockUtils.getIndexAtPixel(r,e);null!=o&&(n=o)})),null==n?this.displayIndexEnd-1:n},t.prototype.getChildStore=function(e){var t=this;return this.storeUtils.getChildStore(e,this,(function(e){return t.allRowNodes.find((function(t){return t.key==e}))}))},t.prototype.forEachChildStoreShallow=function(e){this.allRowNodes.forEach((function(t){var r=t.childStore;r&&e(r)}))},t.prototype.refreshAfterFilter=function(e){var t=this.gridOptionsWrapper.isServerSideFilterOnServer(),r=this.storeUtils.isServerRefreshNeeded(this.parentRowNode,this.ssrmParams.rowGroupCols,e);if(this.gridOptionsWrapper.isServerSideFilterAllLevels()||t&&r)return this.refreshStore(!0),void this.sortRowNodes();this.filterRowNodes(),this.sortRowNodes(),this.forEachChildStoreShallow((function(t){return t.refreshAfterFilter(e)}))},t.prototype.refreshAfterSort=function(e){var t=this.gridOptionsWrapper.isServerSideSortOnServer(),r=this.storeUtils.isServerRefreshNeeded(this.parentRowNode,this.ssrmParams.rowGroupCols,e);if(this.gridOptionsWrapper.isServerSideSortAllLevels()||t&&r)return this.refreshStore(!0),void this.filterRowNodes();this.filterRowNodes(),this.sortRowNodes(),this.forEachChildStoreShallow((function(t){return t.refreshAfterSort(e)}))},t.prototype.applyTransaction=function(e){switch(this.getState()){case i.RowNodeBlock.STATE_FAILED:return{status:i.ServerSideTransactionResultStatus.StoreLoadingFailed};case i.RowNodeBlock.STATE_LOADING:return{status:i.ServerSideTransactionResultStatus.StoreLoading};case i.RowNodeBlock.STATE_WAITING_TO_LOAD:return{status:i.ServerSideTransactionResultStatus.StoreWaitingToLoad}}var t=this.gridOptionsWrapper.getIsApplyServerSideTransactionFunc();if(t&&!t({transaction:e,parentNode:this.parentRowNode,storeInfo:this.info,groupLevelInfo:this.info}))return{status:i.ServerSideTransactionResultStatus.Cancelled};var r={status:i.ServerSideTransactionResultStatus.Applied,remove:[],update:[],add:[]},o=[];return this.executeAdd(e,r),this.executeRemove(e,r,o),this.executeUpdate(e,r,o),this.filterAndSortNodes(),this.updateSelection(o),r},t.prototype.updateSelection=function(e){if(e.length>0){e.forEach((function(e){e.setSelected(!1,!1,!0)}));var t={type:i.Events.EVENT_SELECTION_CHANGED};this.eventService.dispatchEvent(t)}},t.prototype.executeAdd=function(e,t){var r=this,o=e.add,n=e.addIndex;i._.missingOrEmpty(o)||("number"==typeof n&&n>=0?o.reverse().forEach((function(e){var o=r.createDataNode(e,n);t.add.push(o)})):o.forEach((function(e){var o=r.createDataNode(e);t.add.push(o)})))},t.prototype.executeRemove=function(e,t,r){var o=this,n=e.remove;if(null!=n){var i={};n.forEach((function(e){var n=o.lookupRowNode(e);n&&(n.isSelected()&&r.push(n),n.clearRowTopAndRowIndex(),i[n.id]=!0,delete o.allNodesMap[n.id],t.remove.push(n),o.nodeManager.removeNode(n))})),this.allRowNodes=this.allRowNodes.filter((function(e){return!i[e.id]}))}},t.prototype.executeUpdate=function(e,t,r){var o=this,n=e.update;null!=n&&n.forEach((function(e){var n=o.lookupRowNode(e);n&&(n.updateData(e),!n.selectable&&n.isSelected()&&r.push(n),t.update.push(n))}))},t.prototype.lookupRowNode=function(e){var t,r=this.gridOptionsWrapper.getRowIdFunc();if(null!=r){var o=this.level,n=this.parentRowNode.getGroupKeys(),i=r({data:e,parentKeys:n.length>0?n:void 0,level:o});if(!(t=this.allNodesMap[i]))return console.error("AG Grid: could not find row id="+i+", data item was not found for this id"),null}else if(!(t=this.allRowNodes.find((function(t){return t.data===e}))))return console.error("AG Grid: could not find data item as object was not found",e),null;return t},t.prototype.addStoreStates=function(e){e.push({infiniteScroll:!1,route:this.parentRowNode.getGroupKeys(),rowCount:this.allRowNodes.length,info:this.info}),this.forEachChildStoreShallow((function(t){return t.addStoreStates(e)}))},t.prototype.refreshStore=function(e){if(e){var t=this.nodesAfterSort?this.nodesAfterSort.length:1;this.initialiseRowNodes(t)}this.scheduleLoad(),this.fireStoreUpdatedEvent()},t.prototype.retryLoads=function(){this.getState()===i.RowNodeBlock.STATE_FAILED&&(this.initialiseRowNodes(1),this.scheduleLoad()),this.forEachChildStoreShallow((function(e){return e.retryLoads()}))},t.prototype.scheduleLoad=function(){this.setStateWaitingToLoad(),this.rowNodeBlockLoader.checkBlockToLoad()},t.prototype.fireStoreUpdatedEvent=function(){var e={type:i.Events.EVENT_STORE_UPDATED};this.eventService.dispatchEvent(e)},t.prototype.getRowCount=function(){return this.nodesAfterSort.length},t.prototype.getTopLevelRowDisplayedIndex=function(e){return this.nodesAfterSort[e].rowIndex},t.prototype.isLastRowIndexKnown=function(){return this.getState()==i.RowNodeBlock.STATE_LOADED},t.prototype.getRowNodesInRange=function(e,t){var r=[],o=!1;return i._.missing(e)&&(o=!0),this.nodesAfterSort.forEach((function(n){var i=n===e||n===t;(o||i)&&r.push(n),i&&(o=!o)})),o?[]:r},z([Object(i.Autowired)("ssrmStoreUtils")],t.prototype,"storeUtils",void 0),z([Object(i.Autowired)("ssrmBlockUtils")],t.prototype,"blockUtils",void 0),z([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),z([Object(i.Autowired)("rowNodeBlockLoader")],t.prototype,"rowNodeBlockLoader",void 0),z([Object(i.Autowired)("rowNodeSorter")],t.prototype,"rowNodeSorter",void 0),z([Object(i.Autowired)("sortController")],t.prototype,"sortController",void 0),z([Object(i.Autowired)("ssrmNodeManager")],t.prototype,"nodeManager",void 0),z([Object(i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),z([Object(i.Autowired)("ssrmTransactionManager")],t.prototype,"transactionManager",void 0),z([i.PostConstruct],t.prototype,"postConstruct",null),z([i.PreDestroy],t.prototype,"destroyRowNodes",null),t}(i.RowNodeBlock),V=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},W=function(){function e(){}return e.prototype.createStore=function(e,t){var r=this.getStoreParams(e,t);return new(r.infiniteScroll?G:B)(e,r,t)},e.prototype.getStoreParams=function(e,t){var r=this.getLevelSpecificParams(t),o=this.isInfiniteScroll(r);return{infiniteScroll:o,cacheBlockSize:this.getBlockSize(o,r),maxBlocksInCache:this.getMaxBlocksInCache(o,e,r)}},e.prototype.getMaxBlocksInCache=function(e,t,r){if(e){var o=r&&null!=r.maxBlocksInCache?r.maxBlocksInCache:this.gridOptionsWrapper.getMaxBlocksInCache();if(null!=o&&o>=0)if(t.dynamicRowHeight){i._.doOnce((function(){return console.warn("AG Grid: Server Side Row Model does not support Dynamic Row Height and Cache Purging. Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.")}),"storeFactory.maxBlocksInCache.dynamicRowHeight")}else{if(!this.columnModel.isAutoRowHeightActive())return o;i._.doOnce((function(){return console.warn("AG Grid: Server Side Row Model does not support Auto Row Height and Cache Purging. Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.")}),"storeFactory.maxBlocksInCache.autoRowHeightActive")}}},e.prototype.getBlockSize=function(e,t){if(e){var r=t&&null!=t.cacheBlockSize?t.cacheBlockSize:this.gridOptionsWrapper.getCacheBlockSize();return null!=r&&r>0?r:100}},e.prototype.getLevelSpecificParams=function(e){var t=this.gridOptionsWrapper.getServerSideGroupLevelParamsFunc();if(t){var r=t({level:e.level+1,parentRowNode:e.level>=0?e:void 0,rowGroupColumns:this.columnModel.getRowGroupColumns(),pivotColumns:this.columnModel.getPivotColumns(),pivotMode:this.columnModel.isPivotMode()});return null!=r.storeType&&(r.infiniteScroll="partial"===r.storeType),r}},e.prototype.isInfiniteScroll=function(e){return e&&null!=e.infiniteScroll?e.infiniteScroll:this.gridOptionsWrapper.isServerSideInfiniteScroll()},V([Object(i.Autowired)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),V([Object(i.Autowired)("columnModel")],e.prototype,"columnModel",void 0),e=V([Object(i.Bean)("ssrmStoreFactory")],e)}(),H=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},U=function(){function e(){}return e.prototype.isSortingWithValueColumn=function(e){for(var t=this.columnModel.getValueColumns().map((function(e){return e.getColId()})),r=0;r<e.length;r++)if(t.indexOf(e[r])>-1)return!0;return!1},e.prototype.isSortingWithSecondaryColumn=function(e){if(!this.columnModel.getSecondaryColumns())return!1;for(var t=this.columnModel.getSecondaryColumns().map((function(e){return e.getColId()})),r=0;r<e.length;r++)if(t.indexOf(e[r])>-1)return!0;return!1},H([Object(i.Autowired)("columnModel")],e.prototype,"columnModel",void 0),e=H([Object(i.Bean)("ssrmListenerUtils")],e)}(),K={moduleName:i.ModuleNames.ServerSideRowModelModule,rowModels:{serverSide:c},beans:[S,R,d,f,y,w,P,W,U],dependantModules:[a.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"ClientSideRowModelModule",(function(){return D}));var o,n,i=r(0),a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},s=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e},l=function(){function e(t,r,o,n,i,a){this.nextId=0,this.allNodesMap={},this.rootNode=t,this.gridOptionsWrapper=r,this.eventService=o,this.columnModel=n,this.beans=a,this.selectionService=i,this.rootNode.group=!0,this.rootNode.level=-1,this.rootNode.id=e.ROOT_NODE_ID,this.rootNode.allLeafChildren=[],this.rootNode.childrenAfterGroup=[],this.rootNode.childrenAfterSort=[],this.rootNode.childrenAfterAggFilter=[],this.rootNode.childrenAfterFilter=[],this.postConstruct()}return e.prototype.postConstruct=function(){this.suppressParentsInRowNodes=this.gridOptionsWrapper.isSuppressParentsInRowNodes(),this.isRowMasterFunc=this.gridOptionsWrapper.getIsRowMasterFunc(),this.doingTreeData=this.gridOptionsWrapper.isTreeData(),this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail()},e.prototype.getCopyOfNodesMap=function(){return i._.cloneObject(this.allNodesMap)},e.prototype.getRowNode=function(e){return this.allNodesMap[e]},e.prototype.setRowData=function(t){var r=this;if("string"!=typeof t){var o=this.rootNode,n=this.rootNode.sibling;o.childrenAfterFilter=null,o.childrenAfterGroup=null,o.childrenAfterAggFilter=null,o.childrenAfterSort=null,o.childrenMapped=null,o.updateHasChildren(),this.nextId=0,this.allNodesMap={},t?o.allLeafChildren=t.map((function(t){return r.createNode(t,r.rootNode,e.TOP_LEVEL)})):(o.allLeafChildren=[],o.childrenAfterGroup=[]),n&&(n.childrenAfterFilter=o.childrenAfterFilter,n.childrenAfterGroup=o.childrenAfterGroup,n.childrenAfterAggFilter=o.childrenAfterAggFilter,n.childrenAfterSort=o.childrenAfterSort,n.childrenMapped=o.childrenMapped,n.allLeafChildren=o.allLeafChildren)}else console.warn("AG Grid: rowData must be an array, however you passed in a string. If you are loading JSON, make sure you convert the JSON string to JavaScript objects first")},e.prototype.updateRowData=function(e,t){var r={remove:[],update:[],add:[]},o=[];return this.executeRemove(e,r,o),this.executeUpdate(e,r,o),this.executeAdd(e,r),this.updateSelection(o),t&&i._.sortRowNodesByOrder(this.rootNode.allLeafChildren,t),r},e.prototype.updateSelection=function(e){var t=e.length>0;if(t&&e.forEach((function(e){e.setSelected(!1,!1,!0)})),this.selectionService.updateGroupsFromChildrenSelections(),t){var r={type:i.Events.EVENT_SELECTION_CHANGED};this.eventService.dispatchEvent(r)}},e.prototype.executeAdd=function(t,r){var o=this,n=t.add,a=t.addIndex;if(!i._.missingOrEmpty(n)){var l,c,u=n.map((function(t){return o.createNode(t,o.rootNode,e.TOP_LEVEL)}));if("number"==typeof a&&a>=0){var p=this.rootNode.allLeafChildren,d=0===a?0:p.reduce((function(e,t,r){var o,n=t.rowIndex,i=null===(o=p[e])||void 0===o?void 0:o.rowIndex;return null!=n&&null!=i&&n<a&&n>i?r:e}),0)+1;l=p.slice(0,d),c=p.slice(d,p.length)}else l=this.rootNode.allLeafChildren,c=[];this.rootNode.allLeafChildren=s(l,u,c),this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren),r.add=u}},e.prototype.executeRemove=function(e,t,r){var o=this,n=e.remove;if(!i._.missingOrEmpty(n)){var a={};n.forEach((function(e){var n=o.lookupRowNode(e);n&&(n.isSelected()&&r.push(n),n.clearRowTopAndRowIndex(),a[n.id]=!0,delete o.allNodesMap[n.id],t.remove.push(n))})),this.rootNode.allLeafChildren=this.rootNode.allLeafChildren.filter((function(e){return!a[e.id]})),this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren)}},e.prototype.executeUpdate=function(t,r,o){var n=this,a=t.update;i._.missingOrEmpty(a)||a.forEach((function(t){var i=n.lookupRowNode(t);i&&(i.updateData(t),!i.selectable&&i.isSelected()&&o.push(i),n.setMasterForRow(i,t,e.TOP_LEVEL,!1),r.update.push(i))}))},e.prototype.lookupRowNode=function(e){var t,r=this.gridOptionsWrapper.getRowIdFunc();if(r){var o=r({data:e,level:0});if(!(t=this.allNodesMap[o]))return console.error("AG Grid: could not find row id="+o+", data item was not found for this id"),null}else if(!(t=this.rootNode.allLeafChildren.find((function(t){return t.data===e}))))return console.error("AG Grid: could not find data item as object was not found",e),console.error("Consider using getRowId to help the Grid find matching row data"),null;return t||null},e.prototype.createNode=function(e,t,r){var o=new i.RowNode(this.beans);return o.group=!1,this.setMasterForRow(o,e,r,!0),t&&!this.suppressParentsInRowNodes&&(o.parent=t),o.level=r,o.setDataAndId(e,this.nextId.toString()),this.allNodesMap[o.id]&&console.warn("AG Grid: duplicate node id '"+o.id+"' detected from getRowId callback, this could cause issues in your grid."),this.allNodesMap[o.id]=o,this.nextId++,o},e.prototype.setMasterForRow=function(e,t,r,o){if(this.doingTreeData)e.setMaster(!1),o&&(e.expanded=!1);else if(this.doingMasterDetail?this.isRowMasterFunc?e.setMaster(this.isRowMasterFunc(t)):e.setMaster(!0):e.setMaster(!1),o){var n=this.columnModel.getRowGroupColumns(),i=r+(n?n.length:0);e.expanded=!!e.master&&this.isExpanded(i)}},e.prototype.isExpanded=function(e){var t=this.gridOptionsWrapper.getGroupDefaultExpanded();return-1===t||e<t},e.TOP_LEVEL=0,e.ROOT_NODE_ID="ROOT_NODE_ID",e}(),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.Normal=0]="Normal",e[e.AfterFilter=1]="AfterFilter",e[e.AfterFilterAndSort=2]="AfterFilterAndSort",e[e.PivotNodes=3]="PivotNodes"}(n||(n={}));var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onRowHeightChanged_debounced=i._.debounce(t.onRowHeightChanged.bind(t),100),t.rowsToDisplay=[],t}return c(t,e),t.prototype.init=function(){var e=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.EVERYTHING}),t=!this.gridOptionsWrapper.isSuppressAnimationFrame(),r=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.EVERYTHING,afterColumnsChanged:!0,keepRenderedRows:!0,animate:t});this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,r),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.PIVOT})),this.addManagedListener(this.eventService,i.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,e);var o=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,animate:t});this.addManagedListener(this.gridOptionsWrapper,i.GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN,o),this.addManagedListener(this.gridOptionsWrapper,i.GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN,o),this.rootNode=new i.RowNode(this.beans),this.nodeManager=new l(this.rootNode,this.gridOptionsWrapper,this.eventService,this.columnModel,this.selectionService,this.beans)},t.prototype.start=function(){var e=this.gridOptionsWrapper.getRowData();e&&this.setRowData(e)},t.prototype.ensureRowHeightsValid=function(e,t,r,o){var n,i=!1;do{n=!1;for(var a=this.getRowIndexAtPixel(e),s=this.getRowIndexAtPixel(t),l=Math.max(a,r),c=Math.min(s,o),u=l;u<=c;u++){var p=this.getRow(u);if(p.rowHeightEstimated){var d=this.gridOptionsWrapper.getRowHeightForNode(p);p.setRowHeight(d.height),n=!0,i=!0}}n&&this.setRowTopAndRowIndex()}while(n);return i},t.prototype.setRowTopAndRowIndex=function(){for(var e=this.gridOptionsWrapper.getDefaultRowHeight(),t=0,r=new Set,o=this.gridOptionsWrapper.getDomLayout()===i.Constants.DOM_LAYOUT_NORMAL,n=0;n<this.rowsToDisplay.length;n++){var a=this.rowsToDisplay[n];if(null!=a.id&&r.add(a.id),null==a.rowHeight){var s=this.gridOptionsWrapper.getRowHeightForNode(a,o,e);a.setRowHeight(s.height,s.estimated)}a.setRowTop(t),a.setRowIndex(n),t+=a.rowHeight}return r},t.prototype.clearRowTopAndRowIndex=function(e,t){var r=e.isActive(),o=function(e){e&&null!=e.id&&!t.has(e.id)&&e.clearRowTopAndRowIndex()},n=function(e){if(o(e),o(e.detailNode),o(e.sibling),e.hasChildren()&&e.childrenAfterGroup){var t=-1==e.level;r&&!t&&!e.expanded||e.childrenAfterGroup.forEach(n)}};n(this.rootNode)},t.prototype.ensureRowsAtPixel=function(e,t,r){var o=this;void 0===r&&(r=0);var n=this.getRowIndexAtPixel(t),a=this.getRow(n),s=!this.gridOptionsWrapper.isSuppressAnimationFrame();return a!==e[0]&&(e.forEach((function(e){i._.removeFromArray(o.rootNode.allLeafChildren,e)})),e.forEach((function(e,t){i._.insertIntoArray(o.rootNode.allLeafChildren,e,Math.max(n+r,0)+t)})),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,keepRenderedRows:!0,keepEditingRows:!0,animate:s}),!0)},t.prototype.highlightRowAtPixel=function(e,t){var r=null!=t?this.getRowIndexAtPixel(t):null,o=null!=r?this.getRow(r):null;if(o&&e&&o!==e&&null!=t){var n=this.getHighlightPosition(t,o);this.lastHighlightedRow&&this.lastHighlightedRow!==o&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null),o.setHighlighted(n),this.lastHighlightedRow=o}else this.lastHighlightedRow&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null)},t.prototype.getHighlightPosition=function(e,t){if(!t){var r=this.getRowIndexAtPixel(e);if(!(t=this.getRow(r||0)))return i.RowHighlightPosition.Below}return e-t.rowTop<t.rowHeight/2?i.RowHighlightPosition.Above:i.RowHighlightPosition.Below},t.prototype.getLastHighlightedRowNode=function(){return this.lastHighlightedRow},t.prototype.isLastRowIndexKnown=function(){return!0},t.prototype.getRowCount=function(){return this.rowsToDisplay?this.rowsToDisplay.length:0},t.prototype.getTopLevelRowCount=function(){if(this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode)return 1;var e=this.rootNode.childrenAfterAggFilter;return e?e.length:0},t.prototype.getTopLevelRowDisplayedIndex=function(e){if(this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode)return e;var t=this.rootNode.childrenAfterSort[e];if(this.gridOptionsWrapper.isGroupHideOpenParents())for(;t.expanded&&t.childrenAfterSort&&t.childrenAfterSort.length>0;)t=t.childrenAfterSort[0];return t.rowIndex},t.prototype.getRowBounds=function(e){if(i._.missing(this.rowsToDisplay))return null;var t=this.rowsToDisplay[e];return t?{rowTop:t.rowTop,rowHeight:t.rowHeight}:null},t.prototype.onRowGroupOpened=function(){var e=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,animate:e})},t.prototype.onFilterChanged=function(e){if(!e.afterDataChange){var t=this.gridOptionsWrapper.isAnimateRows(),r=0===e.columns.length||e.columns.some((function(e){return e.isPrimary()}))?i.ClientSideRowModelSteps.FILTER:i.ClientSideRowModelSteps.FILTER_AGGREGATES;this.refreshModel({step:r,keepRenderedRows:!0,animate:t})}},t.prototype.onSortChanged=function(){var e=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:i.ClientSideRowModelSteps.SORT,keepRenderedRows:!0,animate:e,keepEditingRows:!0})},t.prototype.getType=function(){return i.Constants.ROW_MODEL_TYPE_CLIENT_SIDE},t.prototype.onValueChanged=function(){this.columnModel.isPivotActive()?this.refreshModel({step:i.ClientSideRowModelSteps.PIVOT}):this.refreshModel({step:i.ClientSideRowModelSteps.AGGREGATE})},t.prototype.createChangePath=function(e){var t=i._.missingOrEmpty(e),r=new i.ChangedPath(!1,this.rootNode);return(t||this.gridOptionsWrapper.isTreeData())&&r.setInactive(),r},t.prototype.isSuppressModelUpdateAfterUpdateTransaction=function(e){if(!this.gridOptionsWrapper.isSuppressModelUpdateAfterUpdateTransaction())return!1;if(null==e.rowNodeTransactions)return!1;var t=e.rowNodeTransactions.filter((function(e){return null!=e.add&&e.add.length>0||null!=e.remove&&e.remove.length>0}));return null==t||0==t.length},t.prototype.refreshModel=function(e){if(!this.isSuppressModelUpdateAfterUpdateTransaction(e)){var t=this.createChangePath(e.rowNodeTransactions);switch(e.step){case i.ClientSideRowModelSteps.EVERYTHING:this.doRowGrouping(e.groupState,e.rowNodeTransactions,e.rowNodeOrder,t,!!e.afterColumnsChanged);case i.ClientSideRowModelSteps.FILTER:this.doFilter(t);case i.ClientSideRowModelSteps.PIVOT:this.doPivot(t);case i.ClientSideRowModelSteps.AGGREGATE:this.doAggregate(t);case i.ClientSideRowModelSteps.FILTER_AGGREGATES:this.doFilterAggregates(t);case i.ClientSideRowModelSteps.SORT:this.doSort(e.rowNodeTransactions,t);case i.ClientSideRowModelSteps.MAP:this.doRowsToDisplay()}var r=this.setRowTopAndRowIndex();this.clearRowTopAndRowIndex(t,r);var o={type:i.Events.EVENT_MODEL_UPDATED,animate:e.animate,keepRenderedRows:e.keepRenderedRows,newData:e.newData,newPage:!1,keepUndoRedoStack:e.keepUndoRedoStack};this.eventService.dispatchEvent(o)}},t.prototype.isEmpty=function(){var e=i._.missing(this.rootNode.allLeafChildren)||0===this.rootNode.allLeafChildren.length;return i._.missing(this.rootNode)||e||!this.columnModel.isReady()},t.prototype.isRowsToRender=function(){return i._.exists(this.rowsToDisplay)&&this.rowsToDisplay.length>0},t.prototype.getNodesInRangeForSelection=function(e,t){var r,o=!t,n=!1,i=[],a=this.gridOptionsWrapper.isGroupSelectsChildren();return this.forEachNodeAfterFilterAndSort((function(s){var l=o&&!n;if(o||s!==t&&s!==e||(o=!0),!(s.group&&a)){var c=o&&!n,u=s.isParentOfNode(r);(c||u)&&i.push(s)}l&&(s!==t&&s!==e||(n=!0,r=s===t?t:e))})),i},t.prototype.setDatasource=function(e){console.error("AG Grid: should never call setDatasource on clientSideRowController")},t.prototype.getTopLevelNodes=function(){return this.rootNode?this.rootNode.childrenAfterGroup:null},t.prototype.getRootNode=function(){return this.rootNode},t.prototype.getRow=function(e){return this.rowsToDisplay[e]},t.prototype.isRowPresent=function(e){return this.rowsToDisplay.indexOf(e)>=0},t.prototype.getRowIndexAtPixel=function(e){if(this.isEmpty()||0===this.rowsToDisplay.length)return-1;var t=0,r=this.rowsToDisplay.length-1;if(e<=0)return 0;if(i._.last(this.rowsToDisplay).rowTop<=e)return this.rowsToDisplay.length-1;for(var o=-1,n=-1;;){var a=Math.floor((t+r)/2),s=this.rowsToDisplay[a];if(this.isRowInPixel(s,e))return a;if(s.rowTop<e?t=a+1:s.rowTop>e&&(r=a-1),o===t&&n===r)return a;o=t,n=r}},t.prototype.isRowInPixel=function(e,t){var r=e.rowTop,o=e.rowTop+e.rowHeight;return r<=t&&o>t},t.prototype.forEachLeafNode=function(e){this.rootNode.allLeafChildren&&this.rootNode.allLeafChildren.forEach((function(t,r){return e(t,r)}))},t.prototype.forEachNode=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterGroup,e,n.Normal,0)},t.prototype.forEachNodeAfterFilter=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterAggFilter,e,n.AfterFilter,0)},t.prototype.forEachNodeAfterFilterAndSort=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterSort,e,n.AfterFilterAndSort,0)},t.prototype.forEachPivotNode=function(e){this.recursivelyWalkNodesAndCallback([this.rootNode],e,n.PivotNodes,0)},t.prototype.recursivelyWalkNodesAndCallback=function(e,t,r,o){if(!e)return o;for(var i=0;i<e.length;i++){var a=e[i];if(t(a,o++),a.hasChildren()){var s=null;switch(r){case n.Normal:s=a.childrenAfterGroup;break;case n.AfterFilter:s=a.childrenAfterAggFilter;break;case n.AfterFilterAndSort:s=a.childrenAfterSort;break;case n.PivotNodes:s=a.leafGroup?null:a.childrenAfterSort}s&&(o=this.recursivelyWalkNodesAndCallback(s,t,r,o))}}return o},t.prototype.doAggregate=function(e){this.aggregationStage&&this.aggregationStage.execute({rowNode:this.rootNode,changedPath:e})},t.prototype.doFilterAggregates=function(e){this.filterAggregatesStage?this.filterAggregatesStage.execute({rowNode:this.rootNode,changedPath:e}):this.rootNode.childrenAfterAggFilter=this.rootNode.childrenAfterFilter},t.prototype.expandOrCollapseAll=function(e){var t=this.gridOptionsWrapper.isTreeData(),r=this.columnModel.isPivotActive(),o=function(n){n&&n.forEach((function(n){var a=function(){n.expanded=e,o(n.childrenAfterGroup)};t?i._.exists(n.childrenAfterGroup)&&a():r?!n.leafGroup&&a():n.group&&a()}))};this.rootNode&&o(this.rootNode.childrenAfterGroup),this.refreshModel({step:i.ClientSideRowModelSteps.MAP});var n=e?"expandAll":"collapseAll",a={type:i.Events.EVENT_EXPAND_COLLAPSE_ALL,source:n};this.eventService.dispatchEvent(a)},t.prototype.doSort=function(e,t){this.sortStage.execute({rowNode:this.rootNode,rowNodeTransactions:e,changedPath:t})},t.prototype.doRowGrouping=function(e,t,r,o,n){this.groupStage?(t?this.groupStage.execute({rowNode:this.rootNode,rowNodeTransactions:t,rowNodeOrder:r,changedPath:o}):(this.groupStage.execute({rowNode:this.rootNode,changedPath:o,afterColumnsChanged:n}),this.restoreGroupState(e)),this.gridOptionsWrapper.isGroupSelectsChildren()&&this.selectionService.updateGroupsFromChildrenSelections(o)):(this.rootNode.childrenAfterGroup=this.rootNode.allLeafChildren,this.rootNode.sibling&&(this.rootNode.sibling.childrenAfterGroup=this.rootNode.childrenAfterGroup),this.rootNode.updateHasChildren())},t.prototype.restoreGroupState=function(e){e&&i._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(t,r){"boolean"==typeof e[r]&&(t.expanded=e[r])}))},t.prototype.doFilter=function(e){this.filterStage.execute({rowNode:this.rootNode,changedPath:e})},t.prototype.doPivot=function(e){this.pivotStage&&this.pivotStage.execute({rowNode:this.rootNode,changedPath:e})},t.prototype.getGroupState=function(){if(!this.rootNode.childrenAfterGroup||!this.gridOptionsWrapper.isRememberGroupStateWhenNewData())return null;var e={};return i._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(t,r){return e[r]=t.expanded})),e},t.prototype.getCopyOfNodesMap=function(){return this.nodeManager.getCopyOfNodesMap()},t.prototype.getRowNode=function(e){if("string"==typeof e&&0==e.indexOf(i.RowNode.ID_PREFIX_ROW_GROUP)){var t=void 0;return this.forEachNode((function(r){r.id===e&&(t=r)})),t}return this.nodeManager.getRowNode(e)},t.prototype.setRowData=function(e){var t=this.getGroupState();this.nodeManager.setRowData(e),this.selectionService.reset(),this.filterManager.onNewRowsLoaded("rowDataUpdated");var r={type:i.Events.EVENT_ROW_DATA_UPDATED};this.eventService.dispatchEvent(r),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,groupState:t,newData:!0})},t.prototype.batchUpdateRowData=function(e,t){var r=this;if(null==this.applyAsyncTransactionsTimeout){this.rowDataTransactionBatch=[];var o=this.gridOptionsWrapper.getAsyncTransactionWaitMillis();this.applyAsyncTransactionsTimeout=window.setTimeout((function(){r.executeBatchUpdateRowData()}),o)}this.rowDataTransactionBatch.push({rowDataTransaction:e,callback:t})},t.prototype.flushAsyncTransactions=function(){null!=this.applyAsyncTransactionsTimeout&&(clearTimeout(this.applyAsyncTransactionsTimeout),this.executeBatchUpdateRowData())},t.prototype.executeBatchUpdateRowData=function(){var e=this;this.valueCache.onDataChanged();var t=[],r=[],o=!1;if(this.rowDataTransactionBatch&&this.rowDataTransactionBatch.forEach((function(n){var i=e.nodeManager.updateRowData(n.rowDataTransaction,void 0);r.push(i),n.callback&&t.push(n.callback.bind(null,i)),"number"==typeof n.rowDataTransaction.addIndex&&(o=!0)})),this.commonUpdateRowData(r,void 0,o),t.length>0&&window.setTimeout((function(){t.forEach((function(e){return e()}))}),0),r.length>0){var n={type:i.Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED,results:r};this.eventService.dispatchEvent(n)}this.rowDataTransactionBatch=null,this.applyAsyncTransactionsTimeout=void 0},t.prototype.updateRowData=function(e,t){this.valueCache.onDataChanged();var r=this.nodeManager.updateRowData(e,t),o="number"==typeof e.addIndex;return this.commonUpdateRowData([r],t,o),r},t.prototype.createRowNodeOrder=function(){if(!this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder()){var e={};if(this.rootNode&&this.rootNode.allLeafChildren)for(var t=0;t<this.rootNode.allLeafChildren.length;t++){e[this.rootNode.allLeafChildren[t].id]=t}return e}},t.prototype.commonUpdateRowData=function(e,t,r){var o=!this.gridOptionsWrapper.isSuppressAnimationFrame();r&&(t=this.createRowNodeOrder()),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,rowNodeTransactions:e,rowNodeOrder:t,keepRenderedRows:!0,keepEditingRows:!0,animate:o}),this.filterManager.onNewRowsLoaded("rowDataUpdated");var n={type:i.Events.EVENT_ROW_DATA_UPDATED};this.eventService.dispatchEvent(n)},t.prototype.doRowsToDisplay=function(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})},t.prototype.onRowHeightChanged=function(){this.refreshModel({step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,keepEditingRows:!0,keepUndoRedoStack:!0})},t.prototype.onRowHeightChangedDebounced=function(){this.onRowHeightChanged_debounced()},t.prototype.resetRowHeights=function(){var e=!1;this.forEachNode((function(t){t.setRowHeight(t.rowHeight,!0);var r=t.detailNode;r&&r.setRowHeight(r.rowHeight,!0),e=!0})),e&&this.onRowHeightChanged()},u([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),u([Object(i.Autowired)("selectionService")],t.prototype,"selectionService",void 0),u([Object(i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),u([Object(i.Autowired)("valueCache")],t.prototype,"valueCache",void 0),u([Object(i.Autowired)("beans")],t.prototype,"beans",void 0),u([Object(i.Autowired)("filterStage")],t.prototype,"filterStage",void 0),u([Object(i.Autowired)("sortStage")],t.prototype,"sortStage",void 0),u([Object(i.Autowired)("flattenStage")],t.prototype,"flattenStage",void 0),u([Object(i.Optional)("groupStage")],t.prototype,"groupStage",void 0),u([Object(i.Optional)("aggregationStage")],t.prototype,"aggregationStage",void 0),u([Object(i.Optional)("pivotStage")],t.prototype,"pivotStage",void 0),u([Object(i.Optional)("filterAggregatesStage")],t.prototype,"filterAggregatesStage",void 0),u([i.PostConstruct],t.prototype,"init",null),t=u([Object(i.Bean)("rowModel")],t)}(i.BeanStub),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.execute=function(e){var t=e.changedPath;this.filterService.filter(t)},g([Object(i.Autowired)("filterService")],t.prototype,"filterService",void 0),t=g([Object(i.Bean)("filterStage")],t)}(i.BeanStub),f=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.execute=function(e){var t=this,r=this.sortController.getSortOptions(),o=i._.exists(r)&&r.length>0,n=o&&i._.exists(e.rowNodeTransactions)&&this.gridOptionsWrapper.isDeltaSort(),a=r.some((function(e){return!!t.columnModel.getGroupDisplayColumnForGroup(e.column.getId())}));this.sortService.sort(r,o,n,e.rowNodeTransactions,e.changedPath,a)},v([Object(i.Autowired)("sortService")],t.prototype,"sortService",void 0),v([Object(i.Autowired)("sortController")],t.prototype,"sortController",void 0),v([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t=v([Object(i.Bean)("sortStage")],t)}(i.BeanStub),m=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.execute=function(e){var t=e.rowNode,r=[],o={value:0},n=this.columnModel.isPivotMode(),i=n&&t.leafGroup,a=i?[t]:t.childrenAfterSort;return this.recursivelyAddToRowsToDisplay(a,r,o,n,0),!i&&r.length>0&&this.gridOptionsWrapper.isGroupIncludeTotalFooter()&&(this.ensureFooterNodeExists(t),this.addRowNodeToRowsToDisplay(t.sibling,r,o,0)),r},t.prototype.recursivelyAddToRowsToDisplay=function(e,t,r,o,n){if(!i._.missingOrEmpty(e))for(var a=this.gridOptionsWrapper.isGroupHideOpenParents(),s=this.gridOptionsWrapper.isGroupRemoveSingleChildren(),l=!s&&this.gridOptionsWrapper.isGroupRemoveLowestSingleChildren(),c=0;c<e.length;c++){var u=e[c],p=u.hasChildren(),d=o&&!p,g=s&&p&&1===u.childrenAfterGroup.length,h=l&&p&&u.leafGroup&&1===u.childrenAfterGroup.length,f=o&&u.leafGroup,v=a&&u.expanded&&!u.master&&!f;if(!(d||v||g||h)&&this.addRowNodeToRowsToDisplay(u,t,r,n),!o||!u.leafGroup)if(p){var y=g||h;if(u.expanded||y){var m=y?n:n+1;this.recursivelyAddToRowsToDisplay(u.childrenAfterSort,t,r,o,m),this.gridOptionsWrapper.isGroupIncludeFooter()&&(this.ensureFooterNodeExists(u),this.addRowNodeToRowsToDisplay(u.sibling,t,r,n))}}else if(u.master&&u.expanded){var b=this.createDetailNode(u);this.addRowNodeToRowsToDisplay(b,t,r,n)}}},t.prototype.addRowNodeToRowsToDisplay=function(e,t,r,o){var n=this.gridOptionsWrapper.isGroupMultiAutoColumn();t.push(e),e.setUiLevel(n?0:o)},t.prototype.ensureFooterNodeExists=function(e){if(!i._.exists(e.sibling)){var t=new i.RowNode(this.beans);Object.keys(e).forEach((function(r){t[r]=e[r]})),t.footer=!0,t.setRowTop(null),t.setRowIndex(null),t.oldRowTop=null,i._.exists(t.id)&&(t.id="rowGroupFooter_"+t.id),t.sibling=e,e.sibling=t}},t.prototype.createDetailNode=function(e){if(i._.exists(e.detailNode))return e.detailNode;var t=new i.RowNode(this.beans);return t.detail=!0,t.selectable=!1,t.parent=e,i._.exists(e.id)&&(t.id="detail_"+e.id),t.data=e.data,t.level=e.level+1,e.detailNode=t,t},b([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),b([Object(i.Autowired)("beans")],t.prototype,"beans",void 0),t=b([Object(i.Bean)("flattenStage")],t)}(i.BeanStub),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),O=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.init=function(){this.postSortFunc=this.gridOptionsWrapper.getPostSortFunc()},t.prototype.sort=function(e,t,r,o,n,i){var a=this,s=this.gridOptionsWrapper.isGroupMaintainOrder(),l=this.columnModel.getAllGridColumns().some((function(e){return e.isRowGroupActive()})),c={};r&&o&&(c=this.calculateDirtyNodes(o));var u=this.columnModel.isPivotMode();n&&n.forEachChangedNodeDepthFirst((function(o){a.pullDownGroupDataForHideOpenParents(o.childrenAfterAggFilter,!0);var p=u&&o.leafGroup,d=s&&l&&!o.leafGroup&&!i;if(!t||d||p){var g=o.childrenAfterAggFilter.slice(0);if(s&&o.childrenAfterSort){var h=o.childrenAfterSort.reduce((function(e,t,r){return e[t.id]=r,e}),{});g.sort((function(e,t){return(h[e.id]||0)-(h[t.id]||0)}))}o.childrenAfterSort=g}else o.childrenAfterSort=r?a.doDeltaSort(o,c,n,e):a.rowNodeSorter.doFullSort(o.childrenAfterAggFilter,e);if(o.sibling&&(o.sibling.childrenAfterSort=o.childrenAfterSort),a.updateChildIndexes(o),a.postSortFunc){var f={nodes:o.childrenAfterSort};a.postSortFunc(f)}})),this.updateGroupDataForHideOpenParents(n)},t.prototype.calculateDirtyNodes=function(e){var t={},r=function(e){e&&e.forEach((function(e){return t[e.id]=!0}))};return e&&e.forEach((function(e){r(e.add),r(e.update),r(e.remove)})),t},t.prototype.doDeltaSort=function(e,t,r,o){var n=this,i=e.childrenAfterAggFilter,a=e.childrenAfterSort;if(!a)return this.rowNodeSorter.doFullSort(i,o);var s={},l=[];i.forEach((function(e){t[e.id]||!r.canSkip(e)?l.push(e):s[e.id]=!0}));var c=a.filter((function(e){return s[e.id]})),u=function(e,t){return{currentPos:t,rowNode:e}},p=l.map(u).sort((function(e,t){return n.rowNodeSorter.compareRowNodes(o,e,t)}));return this.mergeSortedArrays(o,p,c.map(u)).map((function(e){return e.rowNode}))},t.prototype.mergeSortedArrays=function(e,t,r){for(var o=[],n=0,i=0;n<t.length&&i<r.length;){this.rowNodeSorter.compareRowNodes(e,t[n],r[i])<0?o.push(t[n++]):o.push(r[i++])}for(;n<t.length;)o.push(t[n++]);for(;i<r.length;)o.push(r[i++]);return o},t.prototype.updateChildIndexes=function(e){if(!i._.missing(e.childrenAfterSort))for(var t=e.childrenAfterSort,r=0;r<t.length;r++){var o=t[r],n=0===r,a=r===e.childrenAfterSort.length-1;o.setFirstChild(n),o.setLastChild(a),o.setChildIndex(r)}},t.prototype.updateGroupDataForHideOpenParents=function(e){var t=this;if(this.gridOptionsWrapper.isGroupHideOpenParents()){if(this.gridOptionsWrapper.isTreeData()){return i._.doOnce((function(){return console.warn("AG Grid: The property hideOpenParents dose not work with Tree Data. This is because Tree Data has values at the group level, it doesn't make sense to hide them (as opposed to Row Grouping, which only has Aggregated Values at the group level).")}),"sortService.hideOpenParentsWithTreeData"),!1}var r=function(e){t.pullDownGroupDataForHideOpenParents(e.childrenAfterSort,!1),e.childrenAfterSort.forEach((function(e){e.hasChildren()&&r(e)}))};e&&e.executeFromRootNode((function(e){return r(e)}))}},t.prototype.pullDownGroupDataForHideOpenParents=function(e,t){var r=this;this.gridOptionsWrapper.isGroupHideOpenParents()&&!i._.missing(e)&&e.forEach((function(e){r.columnModel.getGroupDisplayColumns().forEach((function(o){var n=o.getColDef().showRowGroup;if("string"==typeof n){var i=n,a=r.columnModel.getPrimaryColumn(i);if(!(a===e.rowGroupColumn))if(t)e.setGroupValue(o.getId(),void 0);else{var s=e.getFirstChildOfFirstChild(a);s&&e.setGroupValue(o.getId(),s.key)}}else console.error("AG Grid: groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup")}))}))},O([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),O([Object(i.Autowired)("rowNodeSorter")],t.prototype,"rowNodeSorter",void 0),O([i.PostConstruct],t.prototype,"init",null),t=O([Object(i.Bean)("sortService")],t)}(i.BeanStub),E=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),x=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.filter=function(e){var t=this.filterManager.isColumnFilterPresent()||this.filterManager.isQuickFilterPresent()||this.filterManager.isExternalFilterPresent();this.filterNodes(t,e)},t.prototype.filterNodes=function(e,t){var r=this,o=function(t,o){t.hasChildren()?t.childrenAfterFilter=e&&!o?t.childrenAfterGroup.filter((function(e){var t=e.childrenAfterFilter&&e.childrenAfterFilter.length>0,o=e.data&&r.filterManager.doesRowPassFilter({rowNode:e});return t||o})):t.childrenAfterGroup:t.childrenAfterFilter=t.childrenAfterGroup,t.sibling&&(t.sibling.childrenAfterFilter=t.childrenAfterFilter)};if(this.doingTreeDataFiltering()){var n=function(e,t){if(e.childrenAfterGroup)for(var i=0;i<e.childrenAfterGroup.length;i++){var a=e.childrenAfterGroup[i],s=t||r.filterManager.doesRowPassFilter({rowNode:a});a.childrenAfterGroup?n(e.childrenAfterGroup[i],s):o(a,s)}o(e,t)};t.executeFromRootNode((function(e){return n(e,!1)}))}else{t.forEachChangedNodeDepthFirst((function(e){return o(e,!1)}),!0)}},t.prototype.doingTreeDataFiltering=function(){return this.gridOptionsWrapper.isTreeData()&&!this.gridOptionsWrapper.isExcludeChildrenWhenTreeDataFiltering()},x([Object(i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),t=x([Object(i.Bean)("filterService")],t)}(i.BeanStub),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),A=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},P=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.postConstruct=function(){this.rowModel.getType()===i.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel)},t.prototype.isActive=function(){return this.gridOptionsWrapper.isImmutableData()},t.prototype.setRowData=function(e){var t=this.createTransactionForRowData(e);if(t){var r=P(t,2),o=r[0],n=r[1],i=this.clientSideRowModel.updateRowData(o,n);i&&this.rowRenderer.refreshFullWidthRows(i.update)}},t.prototype.createTransactionForRowData=function(e){if(i._.missing(this.clientSideRowModel))console.error("AG Grid: ImmutableService only works with ClientSideRowModel");else{var t=this.gridOptionsWrapper.getRowIdFunc();if(null!=t){var r={remove:[],update:[],add:[]},o=this.clientSideRowModel.getCopyOfNodesMap(),n=this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder()?void 0:{};return i._.exists(e)&&e.forEach((function(e,i){var a=t({data:e,level:0}),s=o[a];(n&&(n[a]=i),s)?(s.data!==e&&r.update.push(e),o[a]=void 0):r.add.push(e)})),i._.iterateObject(o,(function(e,t){t&&r.remove.push(t.data)})),[r,n]}console.error("AG Grid: ImmutableService requires getRowId() callback to be implemented, your row data needs IDs!")}},A([Object(i.Autowired)("rowModel")],t.prototype,"rowModel",void 0),A([Object(i.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),A([Object(i.Autowired)("columnApi")],t.prototype,"columnApi",void 0),A([Object(i.Autowired)("gridApi")],t.prototype,"gridApi",void 0),A([Object(i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),A([i.PostConstruct],t.prototype,"postConstruct",null),t=A([Object(i.Bean)("immutableService")],t)}(i.BeanStub),D={moduleName:i.ModuleNames.ClientSideRowModelModule,beans:[h,y,w,S,R,_],rowModels:{clientSide:p}}},function(e,t,r){"use strict";r.r(t),r.d(t,"StatusBarModule",(function(){return _}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){var t=e.call(this)||this;return t.allComponents={},t}return a(t,e),t.prototype.registerStatusPanel=function(e,t){this.allComponents[e]=t},t.prototype.getStatusPanel=function(e){return this.allComponents[e]},t=s([Object(n.Bean)("statusBarService")],t)}(n.BeanStub),c=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return c(t,e),t.prototype.postConstruct=function(){if(this.gridOptions.statusBar&&this.gridOptions.statusBar.statusPanels){var e=this.gridOptions.statusBar.statusPanels.filter((function(e){return"left"===e.align}));this.createAndRenderComponents(e,this.eStatusBarLeft);var t=this.gridOptions.statusBar.statusPanels.filter((function(e){return"center"===e.align}));this.createAndRenderComponents(t,this.eStatusBarCenter);var r=this.gridOptions.statusBar.statusPanels.filter((function(e){return!e.align||"right"===e.align}));this.createAndRenderComponents(r,this.eStatusBarRight)}else this.setDisplayed(!1)},t.prototype.createAndRenderComponents=function(e,t){var r=this,o=[];e.forEach((function(e){var t=r.userComponentFactory.getStatusPanelCompDetails(e,{}).newAgStackInstance();t&&o.push({key:e.key||e.statusPanel,promise:t})})),n.AgPromise.all(o.map((function(e){return e.promise}))).then((function(){o.forEach((function(e){e.promise.then((function(o){var n=function(){r.getContext().destroyBean(o)};r.isAlive()?(r.statusBarService.registerStatusPanel(e.key,o),t.appendChild(o.getGui()),r.addDestroyFunc(n)):n()}))}))}))},t.TEMPLATE='<div class="ag-status-bar">\n <div ref="eStatusBarLeft" class="ag-status-bar-left" role="status"></div>\n <div ref="eStatusBarCenter" class="ag-status-bar-center" role="status"></div>\n <div ref="eStatusBarRight" class="ag-status-bar-right" role="status"></div>\n </div>',u([Object(n.Autowired)("gridOptions")],t.prototype,"gridOptions",void 0),u([Object(n.Autowired)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),u([Object(n.Autowired)("statusBarService")],t.prototype,"statusBarService",void 0),u([Object(n.RefSelector)("eStatusBarLeft")],t.prototype,"eStatusBarLeft",void 0),u([Object(n.RefSelector)("eStatusBarCenter")],t.prototype,"eStatusBarCenter",void 0),u([Object(n.RefSelector)("eStatusBarRight")],t.prototype,"eStatusBarRight",void 0),u([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return d(t,e),t.prototype.setLabel=function(e,t){this.setDisplayed(!1);var r=this.gridOptionsWrapper.getLocaleTextFunc();this.eLabel.innerHTML=r(e,t)},t.prototype.setValue=function(e){this.eValue.innerHTML=e},t.TEMPLATE='<div class="ag-status-name-value">\n <span ref="eLabel"></span>: \n <span ref="eValue" class="ag-status-name-value-value"></span>\n </div>',g([Object(n.RefSelector)("eLabel")],t.prototype,"eLabel",void 0),g([Object(n.RefSelector)("eValue")],t.prototype,"eValue",void 0),t}(n.Component),f=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.postConstruct=function(){"clientSide"===this.gridApi.getModel().getType()?(this.setLabel("totalAndFilteredRows","Rows"),this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-total-and-filtered-row-count"),this.setDisplayed(!0),this.addManagedListener(this.eventService,n.Events.EVENT_MODEL_UPDATED,this.onDataChanged.bind(this)),this.onDataChanged()):console.warn("AG Grid: agTotalAndFilteredRowCountComponent should only be used with the client side row model.")},t.prototype.onDataChanged=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=e("thousandSeparator",","),r=e("decimalSeparator","."),o=n._.formatNumberCommas(this.getFilteredRowCountValue(),t,r),i=n._.formatNumberCommas(this.getTotalRowCount(),t,r);if(o===i)this.setValue(o);else{var a=this.gridOptionsWrapper.getLocaleTextFunc();this.setValue(o+" "+a("of","of")+" "+i)}},t.prototype.getFilteredRowCountValue=function(){var e=0;return this.gridApi.forEachNodeAfterFilter((function(t){t.group||e++})),e},t.prototype.getTotalRowCount=function(){var e=0;return this.gridApi.forEachNode((function(t){t.group||e++})),e},t.prototype.init=function(){},t.prototype.destroy=function(){e.prototype.destroy.call(this)},v([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),v([n.PostConstruct],t.prototype,"postConstruct",null),t}(h),m=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.postConstruct=function(){if(this.setLabel("filteredRows","Filtered"),"clientSide"===this.gridApi.getModel().getType()){this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-filtered-row-count"),this.setDisplayed(!0);var e=this.onDataChanged.bind(this);this.addManagedListener(this.eventService,n.Events.EVENT_MODEL_UPDATED,e),e()}else console.warn("AG Grid: agFilteredRowCountComponent should only be used with the client side row model.")},t.prototype.onDataChanged=function(){var e=this.getTotalRowCountValue(),t=this.getFilteredRowCountValue(),r=this.gridOptionsWrapper.getLocaleTextFunc(),o=r("thousandSeparator",","),i=r("decimalSeparator",".");this.setValue(n._.formatNumberCommas(t,o,i)),this.setDisplayed(e!==t)},t.prototype.getTotalRowCountValue=function(){var e=0;return this.gridApi.forEachNode((function(t){return e+=1})),e},t.prototype.getFilteredRowCountValue=function(){var e=0;return this.gridApi.forEachNodeAfterFilter((function(t){t.group||(e+=1)})),e},t.prototype.init=function(){},t.prototype.destroy=function(){e.prototype.destroy.call(this)},b([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),b([n.PostConstruct],t.prototype,"postConstruct",null),t}(h),C=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),O=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.postConstruct=function(){this.setLabel("totalRows","Total Rows"),"clientSide"===this.gridApi.getModel().getType()?(this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-total-row-count"),this.setDisplayed(!0),this.addManagedListener(this.eventService,n.Events.EVENT_MODEL_UPDATED,this.onDataChanged.bind(this)),this.onDataChanged()):console.warn("AG Grid: agTotalRowCountComponent should only be used with the client side row model.")},t.prototype.onDataChanged=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=e("thousandSeparator",","),r=e("decimalSeparator",".");this.setValue(n._.formatNumberCommas(this.getRowCountValue(),t,r))},t.prototype.getRowCountValue=function(){var e=0;return this.gridApi.forEachLeafNode((function(t){return e+=1})),e},t.prototype.init=function(){},t.prototype.destroy=function(){e.prototype.destroy.call(this)},O([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),O([n.PostConstruct],t.prototype,"postConstruct",null),t}(h),E=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),x=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.postConstruct=function(){if(this.isValidRowModel()){this.setLabel("selectedRows","Selected"),this.addCssClass("ag-status-panel"),this.addCssClass("ag-status-panel-selected-row-count");var e=this.gridApi.getSelectedRows().length,t=this.gridOptionsWrapper.getLocaleTextFunc(),r=t("thousandSeparator",","),o=t("decimalSeparator",".");this.setValue(n._.formatNumberCommas(e,r,o)),this.setDisplayed(e>0);var i=this.onRowSelectionChanged.bind(this);this.addManagedListener(this.eventService,n.Events.EVENT_MODEL_UPDATED,i),this.addManagedListener(this.eventService,n.Events.EVENT_SELECTION_CHANGED,i)}else console.warn("AG Grid: agSelectedRowCountComponent should only be used with the client and server side row model.")},t.prototype.isValidRowModel=function(){var e=this.gridApi.getModel().getType();return"clientSide"===e||"serverSide"===e},t.prototype.onRowSelectionChanged=function(){var e=this.gridApi.getSelectedRows().length,t=this.gridOptionsWrapper.getLocaleTextFunc(),r=t("thousandSeparator",","),o=t("decimalSeparator",".");this.setValue(n._.formatNumberCommas(e,r,o)),this.setDisplayed(e>0)},t.prototype.init=function(){},t.prototype.destroy=function(){e.prototype.destroy.call(this)},x([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),x([n.PostConstruct],t.prototype,"postConstruct",null),t}(h),T=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),A=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},P=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return T(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.postConstruct=function(){this.isValidRowModel()?(this.avgAggregationComp.setLabel("avg","Average"),this.countAggregationComp.setLabel("count","Count"),this.minAggregationComp.setLabel("min","Min"),this.maxAggregationComp.setLabel("max","Max"),this.sumAggregationComp.setLabel("sum","Sum"),this.addManagedListener(this.eventService,n.Events.EVENT_RANGE_SELECTION_CHANGED,this.onRangeSelectionChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_MODEL_UPDATED,this.onRangeSelectionChanged.bind(this))):console.warn("AG Grid: agAggregationComponent should only be used with the client and server side row model.")},t.prototype.isValidRowModel=function(){var e=this.gridApi.getModel().getType();return"clientSide"===e||"serverSide"===e},t.prototype.init=function(){},t.prototype.setAggregationComponentValue=function(e,t,r){var o=this.getAggregationValueComponent(e);if(n._.exists(o)&&o){var i=this.gridOptionsWrapper.getLocaleTextFunc(),a=i("thousandSeparator",","),s=i("decimalSeparator",".");o.setValue(n._.formatNumberTwoDecimalPlacesAndCommas(t,a,s)),o.setDisplayed(r)}},t.prototype.getAggregationValueComponent=function(e){var t=e+"AggregationComp",r=null,o=n._.exists(this.gridOptions.statusBar)&&this.gridOptions.statusBar?this.gridOptions.statusBar.statusPanels.find((function(e){return"agAggregationComponent"===e.statusPanel})):null;return n._.exists(o)&&o?(!n._.exists(o.statusPanelParams)||n._.exists(o.statusPanelParams)&&n._.exists(o.statusPanelParams.aggFuncs)&&n._.exists(o.statusPanelParams.aggFuncs.find((function(t){return t===e}))))&&(r=this[t]):r=this[t],r},t.prototype.onRangeSelectionChanged=function(){var e=this,t=this.rangeService?this.rangeService.getCellRanges():void 0,r=0,o=0,i=0,a=null,s=null,l={};t&&!n._.missingOrEmpty(t)&&t.forEach((function(t){for(var c=e.rangeService.getRangeStartRow(t),u=e.rangeService.getRangeEndRow(t);;){if(n._.missing(c)||!c||e.rowPositionUtils.before(u,c)||!c||!t.columns)break;t.columns.forEach((function(t){if(null!==c){var u=e.cellPositionUtils.createId({rowPinned:c.rowPinned,column:t,rowIndex:c.rowIndex});if(!l[u]){l[u]=!0;var p=e.rowRenderer.getRowNode(c);if(!n._.missing(p)){var d=e.valueService.getValue(t,p);n._.missing(d)||""===d||("object"==typeof d&&"value"in d&&(d=d.value),"string"==typeof d&&(d=Number(d)),"number"!=typeof d||isNaN(d)||(r+=d,(null===s||d>s)&&(s=d),(null===a||d<a)&&(a=d),i++),o++)}}}})),c=e.cellNavigationService.getRowBelow(c)}}));var c=o>1,u=i>1;this.setAggregationComponentValue("count",o,c),this.setAggregationComponentValue("sum",r,u),this.setAggregationComponentValue("min",a,u),this.setAggregationComponentValue("max",s,u),this.setAggregationComponentValue("avg",r/i,u)},t.TEMPLATE='<div class="ag-status-panel ag-status-panel-aggregations">\n <ag-name-value ref="avgAggregationComp"></ag-name-value>\n <ag-name-value ref="countAggregationComp"></ag-name-value>\n <ag-name-value ref="minAggregationComp"></ag-name-value>\n <ag-name-value ref="maxAggregationComp"></ag-name-value>\n <ag-name-value ref="sumAggregationComp"></ag-name-value>\n </div>',A([Object(n.Optional)("rangeService")],t.prototype,"rangeService",void 0),A([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),A([Object(n.Autowired)("cellNavigationService")],t.prototype,"cellNavigationService",void 0),A([Object(n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),A([Object(n.Autowired)("gridOptions")],t.prototype,"gridOptions",void 0),A([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),A([Object(n.Autowired)("cellPositionUtils")],t.prototype,"cellPositionUtils",void 0),A([Object(n.Autowired)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),A([Object(n.RefSelector)("sumAggregationComp")],t.prototype,"sumAggregationComp",void 0),A([Object(n.RefSelector)("countAggregationComp")],t.prototype,"countAggregationComp",void 0),A([Object(n.RefSelector)("minAggregationComp")],t.prototype,"minAggregationComp",void 0),A([Object(n.RefSelector)("maxAggregationComp")],t.prototype,"maxAggregationComp",void 0),A([Object(n.RefSelector)("avgAggregationComp")],t.prototype,"avgAggregationComp",void 0),A([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.Component),_={moduleName:n.ModuleNames.StatusBarModule,beans:[l],agStackComponents:[{componentName:"AgStatusBar",componentClass:p},{componentName:"AgNameValue",componentClass:h}],userComponents:[{componentName:"agAggregationComponent",componentClass:P},{componentName:"agSelectedRowCountComponent",componentClass:R},{componentName:"agTotalRowCountComponent",componentClass:S},{componentName:"agFilteredRowCountComponent",componentClass:w},{componentName:"agTotalAndFilteredRowCountComponent",componentClass:y}],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"SetFilterModule",(function(){return C})),r.d(t,"SetFilter",(function(){return f}));var o,n=r(0),i=r(27),a=function(){function e(e,t,r){this.rowModel=e,this.filterParams=t,this.caseFormat=r}return e.prototype.extractUniqueValues=function(e){var t=this,r={},o=this.filterParams.colDef.keyCreator,i=function(e){var o=null!=e?t.caseFormat(e):"__<ag-grid-pseudo-null>__";o&&null==r[o]&&(r[o]=e)};return this.rowModel.forEachLeafNode((function(r){if(r.data&&e(r)){var a=t.filterParams,s=a.api,l=a.colDef,c=a.column,u=a.columnApi,p=a.context,d=t.filterParams.valueGetter({api:s,colDef:l,column:c,columnApi:u,context:p,data:r.data,getValue:function(e){return r.data[e]},node:r});if(o){var g={value:d,colDef:t.filterParams.colDef,column:t.filterParams.column,node:r,data:r.data,api:t.filterParams.api,columnApi:t.filterParams.columnApi,context:t.filterParams.context};d=o(g)}null!=(d=n._.makeNull(d))&&Array.isArray(d)?d.forEach((function(e){var t=n._.toStringOrNull(n._.makeNull(e));i(t)})):i(n._.toStringOrNull(d))}})),n._.values(r)},e}();!function(e){e[e.PROVIDED_LIST=0]="PROVIDED_LIST",e[e.PROVIDED_CALLBACK=1]="PROVIDED_CALLBACK",e[e.TAKEN_FROM_GRID_VALUES=2]="TAKEN_FROM_GRID_VALUES"}(o||(o={}));var s,l=function(){function e(e,t,r,i,s){var l=this;this.filterParams=e,this.setIsLoading=t,this.valueFormatterService=r,this.translate=i,this.caseFormat=s,this.localEventService=new n.EventService,this.miniFilterText=null,this.providedValues=null,this.allValues=[],this.availableValues=new Set,this.displayedValues=[],this.selectedValues=new Set,this.initialised=!1;var c=e.column,u=e.colDef,p=e.textFormatter,d=e.doesRowPassOtherFilter,g=e.suppressSorting,h=e.comparator,f=e.rowModel,v=e.values;e.caseSensitive;this.column=c,this.formatter=p||n.TextFilter.DEFAULT_FORMATTER,this.doesRowPassOtherFilters=d,this.suppressSorting=g||!1,this.comparator=h||u.comparator||n._.defaultComparator,f.getType()===n.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideValuesExtractor=new a(f,this.filterParams,this.caseFormat)),null==v?this.valuesType=o.TAKEN_FROM_GRID_VALUES:(this.valuesType=Array.isArray(v)?o.PROVIDED_LIST:o.PROVIDED_CALLBACK,this.providedValues=v),this.updateAllValues().then((function(e){return l.resetSelectionState(e||[])}))}return e.prototype.addEventListener=function(e,t,r){this.localEventService.addEventListener(e,t,r)},e.prototype.removeEventListener=function(e,t,r){this.localEventService.removeEventListener(e,t,r)},e.prototype.refreshValues=function(){var e=this.getModel();return this.updateAllValues(),this.setModel(e)},e.prototype.overrideValues=function(e){var t=this;return new n.AgPromise((function(r){t.allValuesPromise.then((function(){t.valuesType=o.PROVIDED_LIST,t.providedValues=e,t.refreshValues().then((function(){return r()}))}))}))},e.prototype.refreshAfterAnyFilterChanged=function(){var e=this;return this.showAvailableOnly()?this.allValuesPromise.then((function(t){return e.updateAvailableValues(t||[])})):n.AgPromise.resolve()},e.prototype.isInitialised=function(){return this.initialised},e.prototype.updateAllValues=function(){var e=this;return this.allValuesPromise=new n.AgPromise((function(t){switch(e.valuesType){case o.TAKEN_FROM_GRID_VALUES:case o.PROVIDED_LIST:var r=e.valuesType===o.TAKEN_FROM_GRID_VALUES?e.getValuesFromRows(!1):e.uniqueUnsortedStringArray(e.providedValues),n=e.sortValues(r||[]);e.allValues=n,t(n);break;case o.PROVIDED_CALLBACK:e.setIsLoading(!0);var i=e.providedValues,a=e.filterParams,s=a.columnApi,l=a.api,c=a.context,u=a.column,p={success:function(r){var o=e.uniqueUnsortedStringArray(r||[]);e.setIsLoading(!1);var n=e.sortValues(o||[]);e.allValues=n,t(n)},colDef:a.colDef,column:u,columnApi:s,api:l,context:c};window.setTimeout((function(){return i(p)}),0);break;default:throw new Error("Unrecognised valuesType")}})),this.allValuesPromise.then((function(t){return e.updateAvailableValues(t||[])})).then((function(){return e.initialised=!0})),this.allValuesPromise},e.prototype.setValuesType=function(e){this.valuesType=e},e.prototype.getValuesType=function(){return this.valuesType},e.prototype.isValueAvailable=function(e){return this.availableValues.has(e)},e.prototype.showAvailableOnly=function(){return this.valuesType===o.TAKEN_FROM_GRID_VALUES},e.prototype.updateAvailableValues=function(t){var r=this.showAvailableOnly()?this.sortValues(this.getValuesFromRows(!0)):t;this.availableValues=n._.convertToSet(r),this.localEventService.dispatchEvent({type:e.EVENT_AVAILABLE_VALUES_CHANGED}),this.updateDisplayedValues()},e.prototype.sortValues=function(e){return this.suppressSorting?e:!this.filterParams.excelMode||e.indexOf(null)<0?e.sort(this.comparator):e.filter((function(e){return null!=e})).sort(this.comparator).concat(null)},e.prototype.getValuesFromRows=function(e){var t=this;if(void 0===e&&(e=!1),!this.clientSideValuesExtractor)return console.error("AG Grid: Set Filter cannot initialise because you are using a row model that does not contain all rows in the browser. Either use a different filter type, or configure Set Filter such that you provide it with values"),[];return this.clientSideValuesExtractor.extractUniqueValues((function(r){return!e||t.doesRowPassOtherFilters(r)}))},e.prototype.setMiniFilter=function(e){return e=n._.makeNull(e),this.miniFilterText!==e&&(this.miniFilterText=e,this.updateDisplayedValues(),!0)},e.prototype.getMiniFilter=function(){return this.miniFilterText},e.prototype.updateDisplayedValues=function(){var e=this;if(null!=this.miniFilterText){this.displayedValues=[];var t=this.caseFormat(this.formatter(this.miniFilterText)||""),r=function(r){return null!=r&&e.caseFormat(r).indexOf(t)>=0};this.availableValues.forEach((function(t){if(null==t)e.filterParams.excelMode&&r(e.translate("blanks"))&&e.displayedValues.push(t);else{var o=e.formatter(t),n=e.valueFormatterService.formatValue(e.column,null,o,e.filterParams.valueFormatter,!1);(r(o)||r(n))&&e.displayedValues.push(t)}}))}else this.displayedValues=n._.values(this.availableValues)},e.prototype.getDisplayedValueCount=function(){return this.displayedValues.length},e.prototype.getDisplayedValue=function(e){return this.displayedValues[e]},e.prototype.hasSelections=function(){return this.filterParams.defaultToNothingSelected?this.selectedValues.size>0:this.allValues.length!==this.selectedValues.size},e.prototype.getValues=function(){return this.allValues.slice()},e.prototype.selectAllMatchingMiniFilter=function(e){var t=this;void 0===e&&(e=!1),null==this.miniFilterText?this.selectedValues=n._.convertToSet(this.allValues):(e&&this.selectedValues.clear(),this.displayedValues.forEach((function(e){return t.selectedValues.add(e)})))},e.prototype.deselectAllMatchingMiniFilter=function(){var e=this;null==this.miniFilterText?this.selectedValues.clear():this.displayedValues.forEach((function(t){return e.selectedValues.delete(t)}))},e.prototype.selectValue=function(e){this.selectedValues.add(e)},e.prototype.deselectValue=function(e){this.filterParams.excelMode&&this.isEverythingVisibleSelected()&&this.resetSelectionState(this.displayedValues),this.selectedValues.delete(e)},e.prototype.isValueSelected=function(e){return this.selectedValues.has(e)},e.prototype.isEverythingVisibleSelected=function(){var e=this;return this.displayedValues.filter((function(t){return e.isValueSelected(t)})).length===this.displayedValues.length},e.prototype.isNothingVisibleSelected=function(){var e=this;return 0===this.displayedValues.filter((function(t){return e.isValueSelected(t)})).length},e.prototype.getModel=function(){return this.hasSelections()?n._.values(this.selectedValues):null},e.prototype.setModel=function(e){var t=this;return this.allValuesPromise.then((function(r){if(null==e)t.resetSelectionState(r||[]);else{t.selectedValues.clear();var o=t.uniqueValues(r||[]);e.forEach((function(e){var r=o[t.uniqueKey(e)];void 0!==r&&t.selectedValues.add(r)}))}}))},e.prototype.uniqueUnsortedStringArray=function(e){var t=this,r=n._.toStrings(e);if(!r)return[];var o=this.uniqueValues(r);return r.map(n._.makeNull).filter((function(e){var r=t.uniqueKey(e);return r in o&&(delete o[r],!0)}))},e.prototype.uniqueValues=function(e){var t=this,r={};return(e||[]).forEach((function(e){var o=n._.makeNull(e),i=t.uniqueKey(o);void 0===r[i]&&(r[i]=o)})),r},e.prototype.uniqueKey=function(e){return null==e?"__<ag-grid-pseudo-null>__":this.caseFormat(e)},e.prototype.resetSelectionState=function(e){this.filterParams.defaultToNothingSelected?this.selectedValues.clear():this.selectedValues=n._.convertToSet(e||[])},e.EVENT_AVAILABLE_VALUES_CHANGED="availableValuesChanged",e}(),c=(s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(r,o,n,i){var a=e.call(this,t.TEMPLATE)||this;return a.value=r,a.params=o,a.translate=n,a.isSelected=i,a}return c(t,e),t.prototype.init=function(){var e=this;this.render(),this.eCheckbox.setValue(this.isSelected,!0),this.eCheckbox.setDisabled(!!this.params.readOnly),this.params.readOnly||this.eCheckbox.onValueChange((function(r){var o=r||!1;e.isSelected=o;var n={type:t.EVENT_SELECTION_CHANGED,isSelected:o};e.dispatchEvent(n)}))},t.prototype.toggleSelected=function(){this.params.readOnly||(this.isSelected=!this.isSelected,this.eCheckbox.setValue(this.isSelected))},t.prototype.render=function(){var e=this.params.column,t=this.value,r=null;if("function"==typeof t?t=t():r=this.getFormattedValue(this.params,e,t),this.params.showTooltips){var o=null!=r?r:t;this.setTooltip(o)}var n={value:t,valueFormatted:r,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),colDef:this.params.colDef,column:this.params.column};this.renderCell(n)},t.prototype.getTooltipParams=function(){var t=e.prototype.getTooltipParams.call(this);return t.location="setFilterValue",t.colDef=this.getComponentHolder(),t},t.prototype.getFormattedValue=function(e,t,r){var o=e&&e.valueFormatter;return this.valueFormatterService.formatValue(t,null,r,o,!1)},t.prototype.renderCell=function(e){var t=this,r=this.userComponentFactory.getSetFilterCellRendererDetails(this.params,e),o=r?r.newAgStackInstance():void 0;if(null!=o)o.then((function(e){e&&(t.eCheckbox.setLabel(e.getGui()),t.addDestroyFunc((function(){return t.destroyBean(e)})))}));else{var n=null==e.valueFormatted?e.value:e.valueFormatted;this.eCheckbox.setLabel(null==n?this.translate("blanks"):n)}},t.prototype.getComponentHolder=function(){return this.params.column.getColDef()},t.EVENT_SELECTION_CHANGED="selectionChanged",t.TEMPLATE='\n <div class="ag-set-filter-item">\n <ag-checkbox ref="eCheckbox" class="ag-set-filter-item-checkbox"></ag-checkbox>\n </div>',u([Object(n.Autowired)("valueFormatterService")],t.prototype,"valueFormatterService",void 0),u([Object(n.Autowired)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),u([Object(n.RefSelector)("eCheckbox")],t.prototype,"eCheckbox",void 0),u([n.PostConstruct],t.prototype,"init",null),t}(n.Component),d={loadingOoo:"Loading...",blanks:"(Blanks)",searchOoo:"Search...",selectAll:"(Select All)",selectAllSearchResults:"(Select All Search Results)",noMatches:"No matches."},g=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(){var t=e.call(this,"setFilter")||this;return t.valueModel=null,t.setFilterParams=null,t.virtualList=null,t.caseSensitive=!1,t.appliedModelValues=null,t}return g(t,e),t.prototype.postConstruct=function(){e.prototype.postConstruct.call(this),this.positionableFeature=new n.PositionableFeature(this.eSetFilterList,{forcePopupParentAsOffsetParent:!0}),this.createBean(this.positionableFeature)},t.prototype.updateUiVisibility=function(){},t.prototype.createBodyTemplate=function(){return'\n <div class="ag-set-filter">\n <div ref="eFilterLoading" class="ag-filter-loading ag-hidden">'+this.translateForSetFilter("loadingOoo")+'</div>\n <ag-input-text-field class="ag-mini-filter" ref="eMiniFilter"></ag-input-text-field>\n <div ref="eFilterNoMatches" class="ag-filter-no-matches ag-hidden">'+this.translateForSetFilter("noMatches")+'</div>\n <div ref="eSetFilterList" class="ag-set-filter-list" role="presentation"></div>\n </div>'},t.prototype.handleKeyDown=function(t){if(e.prototype.handleKeyDown.call(this,t),!t.defaultPrevented)switch(t.key){case n.KeyCode.SPACE:this.handleKeySpace(t);break;case n.KeyCode.ENTER:this.handleKeyEnter(t)}},t.prototype.handleKeySpace=function(e){var t=this.gridOptionsWrapper.getDocument();if(this.eSetFilterList.contains(t.activeElement)&&this.virtualList){var r=this.virtualList.getLastFocusedRow();if(null!=r){var o=this.virtualList.getComponentAt(r);if(null!=o)e.preventDefault(),(this.setFilterParams||{}).readOnly||o.toggleSelected()}}},t.prototype.handleKeyEnter=function(e){if(this.setFilterParams){var t=this.setFilterParams||{},r=t.excelMode,o=t.readOnly;r&&!o&&(e.preventDefault(),this.onBtApply(!1,!1,e),"mac"===this.setFilterParams.excelMode&&this.eMiniFilter.getInputElement().select())}},t.prototype.getCssIdentifier=function(){return"set-filter"},t.prototype.setModelAndRefresh=function(e){var t=this;return this.valueModel?this.valueModel.setModel(e).then((function(){return t.refresh()})):n.AgPromise.resolve()},t.prototype.resetUiToDefaults=function(){return this.setMiniFilter(null),this.setModelAndRefresh(null)},t.prototype.setModelIntoUi=function(e){this.setMiniFilter(null);var t=null==e?null:e.values;return this.setModelAndRefresh(t)},t.prototype.getModelFromUi=function(){if(!this.valueModel)throw new Error("Value model has not been created.");var e=this.valueModel.getModel();return e?{values:e,filterType:this.getFilterType()}:null},t.prototype.getFilterType=function(){return"set"},t.prototype.getValueModel=function(){return this.valueModel},t.prototype.areModelsEqual=function(e,t){return null==e&&null==t||null!=e&&null!=t&&n._.areEqual(e.values,t.values)},t.prototype.setParams=function(t){var r=this;this.applyExcelModeOptions(t),e.prototype.setParams.call(this,t),this.setFilterParams=t,this.caseSensitive=t.caseSensitive||!1,this.valueModel=new l(t,(function(e){return r.showOrHideLoadingScreen(e)}),this.valueFormatterService,(function(e){return r.translateForSetFilter(e)}),(function(e){return r.caseFormat(e)})),this.initialiseFilterBodyUi(),this.addEventListenersForDataChanges()},t.prototype.applyExcelModeOptions=function(e){"windows"===e.excelMode?(e.buttons||(e.buttons=["apply","cancel"]),null==e.closeOnApply&&(e.closeOnApply=!0)):"mac"===e.excelMode&&(e.buttons||(e.buttons=["reset"]),null==e.applyMiniFilterWhileTyping&&(e.applyMiniFilterWhileTyping=!0),null==e.debounceMs&&(e.debounceMs=500))},t.prototype.addEventListenersForDataChanges=function(){var e=this;this.isValuesTakenFromGrid()&&this.addManagedListener(this.eventService,n.Events.EVENT_CELL_VALUE_CHANGED,(function(t){e.setFilterParams&&t.column===e.setFilterParams.column&&e.syncAfterDataChange()}))},t.prototype.syncAfterDataChange=function(){var e=this;if(!this.valueModel)throw new Error("Value model has not been created.");return this.valueModel.refreshValues().then((function(){e.refresh(),e.onBtApply(!1,!0)}))},t.prototype.showOrHideLoadingScreen=function(e){n._.setDisplayed(this.eFilterLoading,e)},t.prototype.initialiseFilterBodyUi=function(){this.initVirtualList(),this.initMiniFilter()},t.prototype.initVirtualList=function(){var e=this;if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");if(!this.valueModel)throw new Error("Value model has not been created.");var t=this.gridOptionsWrapper.getLocaleTextFunc()("ariaFilterList","Filter List"),r=this.virtualList=this.createBean(new n.VirtualList("filter","listbox",t)),o=this.getRefElement("eSetFilterList");o&&o.appendChild(r.getGui());var i,a=this.setFilterParams.cellHeight;null!=a&&r.setRowHeight(a),r.setComponentCreator((function(t){return e.createSetListItem(t)})),i=this.setFilterParams.suppressSelectAll?new v(this.valueModel):new y(this.valueModel,(function(){return e.isSelectAllSelected()})),r.setModel(i)},t.prototype.getSelectAllLabel=function(){if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");if(!this.valueModel)throw new Error("Value model has not been created.");var e=null!=this.valueModel.getMiniFilter()&&this.setFilterParams.excelMode?"selectAllSearchResults":"selectAll";return this.translateForSetFilter(e)},t.prototype.createSetListItem=function(e){var r,o=this;if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");if(!this.valueModel)throw new Error("Value model has not been created.");return e===t.SELECT_ALL_VALUE?((r=this.createBean(new p((function(){return o.getSelectAllLabel()}),this.setFilterParams,(function(e){return o.translateForSetFilter(e)}),this.isSelectAllSelected()))).addEventListener(p.EVENT_SELECTION_CHANGED,(function(e){return o.onSelectAll(e.isSelected)})),r):((r=this.createBean(new p(e,this.setFilterParams,(function(e){return o.translateForSetFilter(e)}),this.valueModel.isValueSelected(e)))).addEventListener(p.EVENT_SELECTION_CHANGED,(function(t){return o.onItemSelected(e,t.isSelected)})),r)},t.prototype.initMiniFilter=function(){var e=this;if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");if(!this.valueModel)throw new Error("Value model has not been created.");var t=this.eMiniFilter,r=this.gridOptionsWrapper.getLocaleTextFunc();t.setDisplayed(!this.setFilterParams.suppressMiniFilter),t.setValue(this.valueModel.getMiniFilter()),t.onValueChange((function(){return e.onMiniFilterInput()})),t.setInputAriaLabel(r("ariaSearchFilterValues","Search filter values")),this.addManagedListener(t.getInputElement(),"keypress",(function(t){return e.onMiniFilterKeyPress(t)}))},t.prototype.afterGuiAttached=function(t){if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");e.prototype.afterGuiAttached.call(this,t),this.setFilterParams.excelMode&&(this.resetUiToActiveModel(),this.showOrHideResults()),this.refreshVirtualList();var r=this.eMiniFilter;r.setInputPlaceholder(this.translateForSetFilter("searchOoo")),t&&t.suppressFocus||r.getFocusableElement().focus();var o,n=!(!t||"floatingFilter"!==t.container);o=this.gridOptionsWrapper.isEnableRtl()?{bottom:!0,bottomLeft:!0,left:!0}:{bottom:!0,bottomRight:!0,right:!0},n?(this.positionableFeature.restoreLastSize(),this.positionableFeature.setResizable(o)):(this.positionableFeature.removeSizeFromEl(),this.positionableFeature.setResizable(!1))},t.prototype.applyModel=function(){var t=this;if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");if(!this.valueModel)throw new Error("Value model has not been created.");this.setFilterParams.excelMode&&this.valueModel.isEverythingVisibleSelected()&&this.valueModel.selectAllMatchingMiniFilter();var r=e.prototype.applyModel.call(this),o=this.getModel();return this.appliedModelValues=o?o.values.reduce((function(e,r){return e[t.caseFormat(String(r))]=!0,e}),{}):null,r},t.prototype.isModelValid=function(e){return!this.setFilterParams||!this.setFilterParams.excelMode||(null==e||e.values.length>0)},t.prototype.doesFilterPass=function(e){var t=this;if(!this.setFilterParams||!this.valueModel||!this.appliedModelValues)return!0;var r=e.node,o=e.data,i=this.setFilterParams,a=i.valueGetter,s=i.colDef.keyCreator,l=i.api,c=i.colDef,u=i.column,p=i.columnApi,d=i.context,g=a({api:l,colDef:c,column:u,columnApi:p,context:d,data:o,getValue:function(e){return o[e]},node:r});s&&(g=s({value:g,colDef:c,column:u,node:r,data:o,api:l,columnApi:p,context:d}));return g=n._.makeNull(g),Array.isArray(g)?g.some((function(e){return!0===t.appliedModelValues[t.caseFormat(String(n._.makeNull(e)))]})):!0===this.appliedModelValues[this.caseFormat(String(g))]},t.prototype.onNewRowsLoaded=function(){this.isValuesTakenFromGrid()&&this.syncAfterDataChange()},t.prototype.isValuesTakenFromGrid=function(){return!!this.valueModel&&this.valueModel.getValuesType()===o.TAKEN_FROM_GRID_VALUES},t.prototype.setFilterValues=function(e){var t=this;if(!this.valueModel)throw new Error("Value model has not been created.");this.valueModel.overrideValues(e).then((function(){t.refresh(),t.onUiChanged()}))},t.prototype.resetFilterValues=function(){if(!this.valueModel)throw new Error("Value model has not been created.");this.valueModel.setValuesType(o.TAKEN_FROM_GRID_VALUES),this.syncAfterDataChange()},t.prototype.refreshFilterValues=function(){var e=this;if(!this.valueModel)throw new Error("Value model has not been created.");this.valueModel.isInitialised()&&this.valueModel.refreshValues().then((function(){e.refresh(),e.onUiChanged()}))},t.prototype.onAnyFilterChanged=function(){var e=this;setTimeout((function(){if(e.isAlive()){if(!e.valueModel)throw new Error("Value model has not been created.");e.valueModel.refreshAfterAnyFilterChanged().then((function(){return e.refresh()}))}}),0)},t.prototype.onMiniFilterInput=function(){if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");if(!this.valueModel)throw new Error("Value model has not been created.");if(this.valueModel.setMiniFilter(this.eMiniFilter.getValue())){var e=this.setFilterParams||{},t=e.applyMiniFilterWhileTyping;!e.readOnly&&t?this.filterOnAllVisibleValues(!1):this.updateUiAfterMiniFilterChange()}},t.prototype.updateUiAfterMiniFilterChange=function(){if(!this.setFilterParams)throw new Error("Set filter params have not been provided.");if(!this.valueModel)throw new Error("Value model has not been created.");var e=this.setFilterParams||{},t=e.excelMode,r=e.readOnly;null==t||r?this.refresh():null==this.valueModel.getMiniFilter()?this.resetUiToActiveModel():(this.valueModel.selectAllMatchingMiniFilter(!0),this.refresh(),this.onUiChanged()),this.showOrHideResults()},t.prototype.showOrHideResults=function(){if(!this.valueModel)throw new Error("Value model has not been created.");var e=null!=this.valueModel.getMiniFilter()&&this.valueModel.getDisplayedValueCount()<1;n._.setDisplayed(this.eNoMatches,e),n._.setDisplayed(this.eSetFilterList,!e)},t.prototype.resetUiToActiveModel=function(){var e=this;if(!this.valueModel)throw new Error("Value model has not been created.");this.eMiniFilter.setValue(null,!0),this.valueModel.setMiniFilter(null),this.setModelIntoUi(this.getModel()).then((function(){return e.onUiChanged(!1,"prevent")}))},t.prototype.onMiniFilterKeyPress=function(e){var t=this.setFilterParams||{},r=t.excelMode,o=t.readOnly;e.key!==n.KeyCode.ENTER||r||o||this.filterOnAllVisibleValues()},t.prototype.filterOnAllVisibleValues=function(e){void 0===e&&(e=!0);var t=(this.setFilterParams||{}).readOnly;if(!this.valueModel)throw new Error("Value model has not been created.");if(t)throw new Error("Unable to filter in readOnly mode.");this.valueModel.selectAllMatchingMiniFilter(!0),this.refresh(),this.onUiChanged(!1,e?"immediately":"debounce"),this.showOrHideResults()},t.prototype.focusRowIfAlive=function(e){var t=this;null!=e&&window.setTimeout((function(){if(!t.virtualList)throw new Error("Virtual list has not been created.");t.isAlive()&&t.virtualList.focusRow(e)}),0)},t.prototype.onSelectAll=function(e){if(!this.valueModel)throw new Error("Value model has not been created.");if(!this.virtualList)throw new Error("Virtual list has not been created.");e?this.valueModel.selectAllMatchingMiniFilter():this.valueModel.deselectAllMatchingMiniFilter();var t=this.virtualList.getLastFocusedRow();this.refresh(),this.onUiChanged(),this.focusRowIfAlive(t)},t.prototype.onItemSelected=function(e,t){if(!this.valueModel)throw new Error("Value model has not been created.");if(!this.virtualList)throw new Error("Virtual list has not been created.");t?this.valueModel.selectValue(e):this.valueModel.deselectValue(e);var r=this.virtualList.getLastFocusedRow();this.refresh(),this.onUiChanged(),this.focusRowIfAlive(r)},t.prototype.setMiniFilter=function(e){this.eMiniFilter.setValue(e),this.onMiniFilterInput()},t.prototype.getMiniFilter=function(){return this.valueModel?this.valueModel.getMiniFilter():null},t.prototype.refresh=function(){if(!this.virtualList)throw new Error("Virtual list has not been created.");this.virtualList.refresh()},t.prototype.getValues=function(){return this.valueModel?this.valueModel.getValues():[]},t.prototype.refreshVirtualList=function(){this.setFilterParams&&this.setFilterParams.refreshValuesOnOpen?this.refreshFilterValues():this.refresh()},t.prototype.translateForSetFilter=function(e){return this.gridOptionsWrapper.getLocaleTextFunc()(e,d[e])},t.prototype.isSelectAllSelected=function(){if(!this.setFilterParams||!this.valueModel)return!1;if(this.setFilterParams.defaultToNothingSelected){if(this.valueModel.hasSelections()&&this.valueModel.isEverythingVisibleSelected())return!0;if(this.valueModel.isNothingVisibleSelected())return!1}else{if(this.valueModel.hasSelections()&&this.valueModel.isNothingVisibleSelected())return!1;if(this.valueModel.isEverythingVisibleSelected())return!0}},t.prototype.destroy=function(){null!=this.virtualList&&(this.virtualList.destroy(),this.virtualList=null),e.prototype.destroy.call(this)},t.prototype.caseFormat=function(e){return null==e||"string"!=typeof e||this.caseSensitive?e:e.toUpperCase()},t.SELECT_ALL_VALUE="__AG_SELECT_ALL__",h([Object(n.RefSelector)("eMiniFilter")],t.prototype,"eMiniFilter",void 0),h([Object(n.RefSelector)("eFilterLoading")],t.prototype,"eFilterLoading",void 0),h([Object(n.RefSelector)("eSetFilterList")],t.prototype,"eSetFilterList",void 0),h([Object(n.RefSelector)("eFilterNoMatches")],t.prototype,"eNoMatches",void 0),h([Object(n.Autowired)("valueFormatterService")],t.prototype,"valueFormatterService",void 0),t}(n.ProvidedFilter),v=function(){function e(e){this.model=e}return e.prototype.getRowCount=function(){return this.model.getDisplayedValueCount()},e.prototype.getRow=function(e){return this.model.getDisplayedValue(e)},e.prototype.isRowSelected=function(e){return this.model.isValueSelected(this.getRow(e))},e}(),y=function(){function e(e,t){this.model=e,this.isSelectAllSelected=t}return e.prototype.getRowCount=function(){return this.model.getDisplayedValueCount()+1},e.prototype.getRow=function(e){return 0===e?f.SELECT_ALL_VALUE:this.model.getDisplayedValue(e-1)},e.prototype.isRowSelected=function(e){return 0===e?this.isSelectAllSelected():this.model.isValueSelected(this.getRow(e))},e}(),m=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e){function t(){var t=e.call(this,'\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eFloatingFilterText"></ag-input-text-field>\n </div>')||this;return t.availableValuesListenerAdded=!1,t}return m(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.init=function(e){var t=this.columnModel.getDisplayNameForColumn(e.column,"header",!0),r=this.gridOptionsWrapper.getLocaleTextFunc();this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(t+" "+r("ariaFilterInput","Filter Input")).addGuiEventListener("click",(function(){return e.showParentFilter()})),this.params=e},t.prototype.onParentModelChanged=function(e){this.updateFloatingFilterText(e)},t.prototype.parentSetFilterInstance=function(e){this.params.parentFilterInstance((function(t){if(!(t instanceof f))throw new Error("AG Grid - SetFloatingFilter expects SetFilter as it's parent");e(t)}))},t.prototype.addAvailableValuesListener=function(){var e=this;this.parentSetFilterInstance((function(t){var r=t.getValueModel();r&&e.addManagedListener(r,l.EVENT_AVAILABLE_VALUES_CHANGED,(function(){return e.updateFloatingFilterText()}))})),this.availableValuesListenerAdded=!0},t.prototype.updateFloatingFilterText=function(e){var t=this;this.availableValuesListenerAdded||this.addAvailableValuesListener(),this.parentSetFilterInstance((function(r){var o=(e||r.getModel()||{}).values,n=r.getValueModel();if(null!=o&&null!=n){var i=t.gridOptionsWrapper.getLocaleTextFunc(),a=o.filter((function(e){return n.isValueAvailable(e)})).map((function(e){var r=t.params,o=r.column,n=r.filterParams,a=t.valueFormatterService.formatValue(o,null,e,n.valueFormatter,!1),s=null!=a?a:e;return null==s?i("blanks",d.blanks):s})),s=a.length>10?a.slice(0,10).concat("..."):a,l="("+a.length+") "+s.join(",");t.eFloatingFilterText.setValue(l)}else t.eFloatingFilterText.setValue("")}))},b([Object(n.RefSelector)("eFloatingFilterText")],t.prototype,"eFloatingFilterText",void 0),b([Object(n.Autowired)("valueFormatterService")],t.prototype,"valueFormatterService",void 0),b([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t}(n.Component),C={moduleName:n.ModuleNames.SetFilterModule,beans:[],userComponents:[{componentName:"agSetColumnFilter",componentClass:f},{componentName:"agSetColumnFloatingFilter",componentClass:w}],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"FiltersToolPanelModule",(function(){return E}));var o,n,i=r(0),a=r(27),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.EXPANDED=0]="EXPANDED",e[e.COLLAPSED=1]="COLLAPSED",e[e.INDETERMINATE=2]="INDETERMINATE"}(n||(n={}));var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.preConstruct=function(){this.setTemplate('<div class="ag-filter-toolpanel-search" role="presentation">\n <div ref="eExpand" class="ag-filter-toolpanel-expand"></div>\n <ag-input-text-field ref="eFilterTextField" class="ag-filter-toolpanel-search-input"></ag-input-text-field>\n </div>')},t.prototype.postConstruct=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.eFilterTextField.onValueChange(this.onSearchTextChanged.bind(this)),this.eFilterTextField.setInputAriaLabel(e("ariaFilterColumnsInput","Filter Columns Input")),this.createExpandIcons(),this.setExpandState(n.EXPANDED),this.addManagedListener(this.eExpand,"click",this.onExpandClicked.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,this.showOrHideOptions.bind(this))},t.prototype.init=function(e){this.params=e,this.columnModel.isReady()&&this.showOrHideOptions()},t.prototype.createExpandIcons=function(){this.eExpand.appendChild(this.eExpandChecked=i._.createIconNoSpan("columnSelectOpen",this.gridOptionsWrapper)),this.eExpand.appendChild(this.eExpandUnchecked=i._.createIconNoSpan("columnSelectClosed",this.gridOptionsWrapper)),this.eExpand.appendChild(this.eExpandIndeterminate=i._.createIconNoSpan("columnSelectIndeterminate",this.gridOptionsWrapper))},t.prototype.showOrHideOptions=function(){var e=!this.params.suppressFilterSearch,t=!this.params.suppressExpandAll,r=this.gridOptionsWrapper.getLocaleTextFunc();this.eFilterTextField.setInputPlaceholder(r("searchOoo","Search..."));var o=this.columnModel.getAllGridColumns().some((function(e){return e.getOriginalParent()&&e.isFilterAllowed()}));i._.setDisplayed(this.eFilterTextField.getGui(),e),i._.setDisplayed(this.eExpand,t&&o)},t.prototype.onSearchTextChanged=function(){var e=this;this.onSearchTextChangedDebounced||(this.onSearchTextChangedDebounced=i._.debounce((function(){e.dispatchEvent({type:"searchChanged",searchText:e.eFilterTextField.getValue()})}),300)),this.onSearchTextChangedDebounced()},t.prototype.onExpandClicked=function(){var e=this.currentExpandState===n.EXPANDED?{type:"collapseAll"}:{type:"expandAll"};this.dispatchEvent(e)},t.prototype.setExpandState=function(e){this.currentExpandState=e,i._.setDisplayed(this.eExpandChecked,this.currentExpandState===n.EXPANDED),i._.setDisplayed(this.eExpandUnchecked,this.currentExpandState===n.COLLAPSED),i._.setDisplayed(this.eExpandIndeterminate,this.currentExpandState===n.INDETERMINATE)},l([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),l([Object(i.RefSelector)("eExpand")],t.prototype,"eExpand",void 0),l([Object(i.RefSelector)("eFilterTextField")],t.prototype,"eFilterTextField",void 0),l([i.PreConstruct],t.prototype,"preConstruct",null),l([i.PostConstruct],t.prototype,"postConstruct",null),t}(i.Component),u=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(r){void 0===r&&(r=!1);var o=e.call(this,t.TEMPLATE)||this;return o.expanded=!1,o.hideHeader=r,o}return u(t,e),t.prototype.postConstruct=function(){this.eExpandChecked=i._.createIconNoSpan("columnSelectOpen",this.gridOptionsWrapper),this.eExpandUnchecked=i._.createIconNoSpan("columnSelectClosed",this.gridOptionsWrapper),this.eExpand.appendChild(this.eExpandChecked),this.eExpand.appendChild(this.eExpandUnchecked)},t.prototype.setColumn=function(e){var t=this;this.column=e,this.eFilterName.innerText=this.columnModel.getDisplayNameForColumn(this.column,"filterToolPanel",!1)||"",this.addManagedListener(this.eFilterToolPanelHeader,"click",this.toggleExpanded.bind(this)),this.addManagedListener(this.eFilterToolPanelHeader,"keydown",(function(e){e.key===i.KeyCode.ENTER&&t.toggleExpanded()})),this.addManagedListener(this.eventService,i.Events.EVENT_FILTER_OPENED,this.onFilterOpened.bind(this)),this.addInIcon("filter",this.eFilterIcon,this.column),this.eFilterIcon.classList.toggle("ag-hidden",!this.isFilterActive()),this.eExpandChecked.classList.add("ag-hidden"),this.hideHeader?(this.eFilterToolPanelHeader.classList.toggle("ag-hidden",!0),this.eFilterToolPanelHeader.removeAttribute("tabindex")):this.eFilterToolPanelHeader.setAttribute("tabindex","0"),this.addManagedListener(this.column,i.Column.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this))},t.prototype.getColumn=function(){return this.column},t.prototype.getColumnFilterName=function(){return this.columnModel.getDisplayNameForColumn(this.column,"filterToolPanel",!1)},t.prototype.addCssClassToTitleBar=function(e){this.eFilterToolPanelHeader.classList.add(e)},t.prototype.addInIcon=function(e,t,r){if(null!=t){var o=i._.createIconNoSpan(e,this.gridOptionsWrapper,r);t.appendChild(o)}},t.prototype.isFilterActive=function(){return this.filterManager.isFilterActive(this.column)},t.prototype.onFilterChanged=function(){this.eFilterIcon.classList.toggle("ag-hidden",!this.isFilterActive()),this.dispatchEvent({type:i.Column.EVENT_FILTER_CHANGED})},t.prototype.toggleExpanded=function(){this.expanded?this.collapse():this.expand()},t.prototype.expand=function(){var e,t=this;if(!this.expanded){this.expanded=!0,i._.setAriaExpanded(this.eFilterToolPanelHeader,!0);var r=i._.loadTemplate('<div class="ag-filter-toolpanel-instance-filter"></div>'),o=null===(e=this.filterManager.getOrCreateFilterWrapper(this.column,"TOOLBAR"))||void 0===e?void 0:e.filterPromise;o&&o.then((function(e){t.underlyingFilter=e,e&&(r.appendChild(e.getGui()),t.agFilterToolPanelBody.appendChild(r),e.afterGuiAttached&&e.afterGuiAttached({container:"toolPanel"}))})),i._.setDisplayed(this.eExpandChecked,!0),i._.setDisplayed(this.eExpandUnchecked,!1)}},t.prototype.collapse=function(){this.expanded&&(this.expanded=!1,i._.setAriaExpanded(this.eFilterToolPanelHeader,!1),this.agFilterToolPanelBody.removeChild(this.agFilterToolPanelBody.children[0]),i._.setDisplayed(this.eExpandChecked,!1),i._.setDisplayed(this.eExpandUnchecked,!0))},t.prototype.refreshFilter=function(){if(this.expanded){var e=this.underlyingFilter;e&&"function"==typeof e.refreshVirtualList&&e.refreshVirtualList()}},t.prototype.onFilterOpened=function(e){"COLUMN_MENU"===e.source&&e.column===this.column&&this.expanded&&this.collapse()},t.TEMPLATE='\n <div class="ag-filter-toolpanel-instance">\n <div class="ag-filter-toolpanel-header ag-filter-toolpanel-instance-header" ref="eFilterToolPanelHeader" role="button" aria-expanded="false">\n <div ref="eExpand" class="ag-filter-toolpanel-expand"></div>\n <span ref="eFilterName" class="ag-header-cell-text"></span>\n <span ref="eFilterIcon" class="ag-header-icon ag-filter-icon ag-filter-toolpanel-instance-header-icon" aria-hidden="true"></span>\n </div>\n <div class="ag-filter-toolpanel-instance-body ag-filter" ref="agFilterToolPanelBody"></div>\n </div>',p([Object(i.RefSelector)("eFilterToolPanelHeader")],t.prototype,"eFilterToolPanelHeader",void 0),p([Object(i.RefSelector)("eFilterName")],t.prototype,"eFilterName",void 0),p([Object(i.RefSelector)("agFilterToolPanelBody")],t.prototype,"agFilterToolPanelBody",void 0),p([Object(i.RefSelector)("eFilterIcon")],t.prototype,"eFilterIcon",void 0),p([Object(i.RefSelector)("eExpand")],t.prototype,"eExpand",void 0),p([Object(i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),p([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),p([i.PostConstruct],t.prototype,"postConstruct",null),t}(i.Component),g=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(t,r,o,n,i){var a=e.call(this)||this;return a.columnGroup=t,a.childFilterComps=r,a.depth=n,a.expandedCallback=o,a.showingColumn=i,a}return g(t,e),t.prototype.preConstruct=function(){this.setTemplate(t.TEMPLATE,{filterGroupComp:{cssIdentifier:"filter-toolpanel",direction:"vertical"}})},t.prototype.init=function(){var e=this;this.setGroupTitle(),this.filterGroupComp.setAlignItems("stretch"),this.filterGroupComp.addCssClass("ag-filter-toolpanel-group-level-"+this.depth),this.filterGroupComp.addCssClassToTitleBar("ag-filter-toolpanel-group-level-"+this.depth+"-header"),this.childFilterComps.forEach((function(t){e.filterGroupComp.addItem(t),t.addCssClassToTitleBar("ag-filter-toolpanel-group-level-"+(e.depth+1)+"-header")})),this.refreshFilterClass(),this.addExpandCollapseListeners(),this.addFilterChangedListeners(),this.setupTooltip()},t.prototype.setupTooltip=function(){var e=this;if(this.showingColumn){var t=function(){var t=e.columnGroup.getColDef().headerTooltip;e.setTooltip(t)};t(),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,t)}},t.prototype.getTooltipParams=function(){var t=e.prototype.getTooltipParams.call(this);return t.location="filterToolPanelColumnGroup",t},t.prototype.addCssClassToTitleBar=function(e){this.filterGroupComp.addCssClassToTitleBar(e)},t.prototype.refreshFilters=function(){this.childFilterComps.forEach((function(e){e instanceof t?e.refreshFilters():e.refreshFilter()}))},t.prototype.isColumnGroup=function(){return this.columnGroup instanceof i.ProvidedColumnGroup},t.prototype.isExpanded=function(){return this.filterGroupComp.isExpanded()},t.prototype.getChildren=function(){return this.childFilterComps},t.prototype.getFilterGroupName=function(){return this.filterGroupName?this.filterGroupName:""},t.prototype.getFilterGroupId=function(){return this.columnGroup.getId()},t.prototype.hideGroupItem=function(e,t){this.filterGroupComp.hideItem(e,t)},t.prototype.hideGroup=function(e){this.addOrRemoveCssClass("ag-hidden",e)},t.prototype.forEachToolPanelFilterChild=function(e){this.childFilterComps.forEach((function(t){t instanceof d&&e(t)}))},t.prototype.addExpandCollapseListeners=function(){var e=this,t=this.isColumnGroup()?function(){return e.expandedCallback()}:function(){return e.forEachToolPanelFilterChild((function(e){return e.expand()}))},r=this.isColumnGroup()?function(){return e.expandedCallback()}:function(){return e.forEachToolPanelFilterChild((function(e){return e.collapse()}))};this.addManagedListener(this.filterGroupComp,i.AgGroupComponent.EVENT_EXPANDED,t),this.addManagedListener(this.filterGroupComp,i.AgGroupComponent.EVENT_COLLAPSED,r)},t.prototype.getColumns=function(){return this.columnGroup instanceof i.ProvidedColumnGroup?this.columnGroup.getLeafColumns():[this.columnGroup]},t.prototype.addFilterChangedListeners=function(){var e=this;this.getColumns().forEach((function(t){e.addManagedListener(t,i.Column.EVENT_FILTER_CHANGED,(function(){return e.refreshFilterClass()}))})),this.columnGroup instanceof i.ProvidedColumnGroup||this.addManagedListener(this.eventService,i.Events.EVENT_FILTER_OPENED,this.onFilterOpened.bind(this))},t.prototype.refreshFilterClass=function(){var e=this.getColumns();this.filterGroupComp.addOrRemoveCssClass("ag-has-filter",e.some((function(e){return e.isFilterActive()})))},t.prototype.onFilterOpened=function(e){"COLUMN_MENU"===e.source&&e.column===this.columnGroup&&this.isExpanded()&&this.collapse()},t.prototype.expand=function(){this.filterGroupComp.toggleGroupExpand(!0)},t.prototype.collapse=function(){this.filterGroupComp.toggleGroupExpand(!1)},t.prototype.setGroupTitle=function(){this.filterGroupName=this.columnGroup instanceof i.ProvidedColumnGroup?this.getColumnGroupName(this.columnGroup):this.getColumnName(this.columnGroup),this.filterGroupComp.setTitle(this.filterGroupName||"")},t.prototype.getColumnGroupName=function(e){return this.columnModel.getDisplayNameForProvidedColumnGroup(null,e,"filterToolPanel")},t.prototype.getColumnName=function(e){return this.columnModel.getDisplayNameForColumn(e,"filterToolPanel",!1)},t.prototype.destroyFilters=function(){this.childFilterComps=this.destroyBeans(this.childFilterComps),i._.clearElement(this.getGui())},t.prototype.destroy=function(){this.destroyFilters(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-filter-toolpanel-group-wrapper">\n <ag-group-component ref="filterGroupComp"></ag-group-component>\n </div>',h([Object(i.RefSelector)("filterGroupComp")],t.prototype,"filterGroupComp",void 0),h([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),h([i.PreConstruct],t.prototype,"preConstruct",null),h([i.PostConstruct],t.prototype,"init",null),t}(i.Component),v=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),y=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},m=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.initialised=!1,r.filterGroupComps=[],r}return v(t,e),t.prototype.init=function(e){var t=this;this.initialised=!0;var r={suppressExpandAll:!1,suppressFilterSearch:!1,suppressSyncLayoutWithGrid:!1,api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()};i._.mergeDeep(r,e),this.params=r,this.params.suppressSyncLayoutWithGrid||this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_MOVED,(function(){return t.onColumnsChanged()})),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,(function(){return t.onColumnsChanged()})),this.addManagedListener(this.eventService,i.Events.EVENT_TOOL_PANEL_VISIBLE_CHANGED,(function(e){"filters"===e.source&&t.refreshFilters()})),this.columnModel.isReady()&&this.onColumnsChanged()},t.prototype.onColumnsChanged=function(){var e=this.columnModel.isPivotMode();!this.params.suppressSyncLayoutWithGrid&&!e?this.syncFilterLayout():this.buildTreeFromProvidedColumnDefs()},t.prototype.syncFilterLayout=function(){this.toolPanelColDefService.syncLayoutWithGrid(this.setFiltersLayout.bind(this))},t.prototype.buildTreeFromProvidedColumnDefs=function(){var e=this;this.destroyFilters();var t=this.columnModel.getPrimaryColumnTree();this.filterGroupComps=this.recursivelyAddComps(t,0);var r=this.filterGroupComps.length;r&&(this.filterGroupComps.forEach((function(t){return e.appendChild(t)})),this.setFirstAndLastVisible(0,r-1)),i._.exists(this.searchFilterText)&&this.searchFilters(this.searchFilterText),this.fireExpandedEvent()},t.prototype.setFiltersLayout=function(e){var t=this;this.destroyFilters();var r=this.toolPanelColDefService.createColumnTree(e);this.filterGroupComps=this.recursivelyAddComps(r,0);var o=this.filterGroupComps.length;o&&(this.filterGroupComps.forEach((function(e){return t.appendChild(e)})),this.setFirstAndLastVisible(0,o-1)),i._.exists(this.searchFilterText)&&this.searchFilters(this.searchFilterText),this.fireExpandedEvent()},t.prototype.recursivelyAddComps=function(e,t){var r=this;return i._.flatten(e.map((function(e){if(e instanceof i.ProvidedColumnGroup)return i._.flatten(r.recursivelyAddFilterGroupComps(e,t));var o=e;if(!r.shouldDisplayFilter(o))return[];var n=new d(0===t);if(r.createBean(n),n.setColumn(o),t>0)return n;var a=r.createBean(new f(o,[n],r.onGroupExpanded.bind(r),t,!0));return a.addCssClassToTitleBar("ag-filter-toolpanel-header"),a.collapse(),a})))},t.prototype.recursivelyAddFilterGroupComps=function(e,t){if(this.filtersExistInChildren(e.getChildren())){var r=e.getColGroupDef();if(r&&r.suppressFiltersToolPanel)return[];var o=e.isPadding()?t:t+1,n=i._.flatten(this.recursivelyAddComps(e.getChildren(),o));if(e.isPadding())return n;var a=new f(e,n,this.onGroupExpanded.bind(this),t,!1);return this.createBean(a),a.addCssClassToTitleBar("ag-filter-toolpanel-header"),[a]}},t.prototype.filtersExistInChildren=function(e){var t=this;return e.some((function(e){return e instanceof i.ProvidedColumnGroup?t.filtersExistInChildren(e.getChildren()):t.shouldDisplayFilter(e)}))},t.prototype.shouldDisplayFilter=function(e){var t=e.getColDef()&&e.getColDef().suppressFiltersToolPanel;return e.isFilterAllowed()&&!t},t.prototype.refresh=function(){},t.prototype.setVisible=function(t){e.prototype.setDisplayed.call(this,t),t&&!this.initialised&&this.init(this.params)},t.prototype.expandFilterGroups=function(e,t){var r=[],o=function(n){var a=n.getFilterGroupId();(!t||i._.includes(t,a))&&(e&&n.isColumnGroup()?n.expand():n.collapse(),r.push(a)),n.getChildren().forEach((function(e){e instanceof f&&o(e)}))};if(this.filterGroupComps.forEach(o),this.onGroupExpanded(),t){var n=t.filter((function(e){return r.indexOf(e)<0}));n.length>0&&console.warn("AG Grid: unable to find groups for these supplied groupIds:",n)}},t.prototype.expandFilters=function(e,t){var r=[],o=function(n){if(n instanceof f){var a=!1;return n.getChildren().forEach((function(t){o(t)&&(e?(n.expand(),a=!0):n.isColumnGroup()||n.collapse())})),a}var s=n.getColumn().getColId(),l=!t||i._.includes(t,s);return l&&(e?n.expand():n.collapse(),r.push(s)),l};if(this.filterGroupComps.forEach(o),this.onGroupExpanded(),t){var n=t.filter((function(e){return r.indexOf(e)<0}));n.length>0&&console.warn("AG Grid: unable to find columns for these supplied colIds:",n)}},t.prototype.onGroupExpanded=function(){this.fireExpandedEvent()},t.prototype.fireExpandedEvent=function(){var e,t=0,r=0,o=function(e){e.isColumnGroup()&&(e.isExpanded()?t++:r++,e.getChildren().forEach((function(e){e instanceof f&&o(e)})))};this.filterGroupComps.forEach(o),e=t>0&&r>0?n.INDETERMINATE:r>0?n.COLLAPSED:n.EXPANDED,this.dispatchEvent({type:"groupExpanded",state:e})},t.prototype.performFilterSearch=function(e){this.searchFilterText=i._.exists(e)?e.toLowerCase():null,this.searchFilters(this.searchFilterText)},t.prototype.searchFilters=function(e){var t,r,o=function(t){return!i._.exists(e)||-1!==t.toLowerCase().indexOf(e)},n=function(e,t){if(!(e instanceof f))return o(e.getColumnFilterName()||"");var r=e.getChildren(),i=o(e.getFilterGroupName()),a=t||i;if(a){e.hideGroup(!1);for(var s=0;s<r.length;s++)n(r[s],a),e.hideGroupItem(!1,s);return!0}var l=!1;return r.forEach((function(r,o){var i=n(r,t);e.hideGroupItem(!i,o),i&&(l=!0)})),e.hideGroup(!l),l};this.filterGroupComps.forEach((function(e,o){n(e,!1),void 0===t?e.containsCssClass("ag-hidden")||(t=o,r=o):e.containsCssClass("ag-hidden")||r===o||(r=o)})),this.setFirstAndLastVisible(t,r)},t.prototype.setFirstAndLastVisible=function(e,t){this.filterGroupComps.forEach((function(r,o){r.removeCssClass("ag-first-group-visible"),r.removeCssClass("ag-last-group-visible"),o===e&&r.addCssClass("ag-first-group-visible"),o===t&&r.addCssClass("ag-last-group-visible")}))},t.prototype.refreshFilters=function(){this.filterGroupComps.forEach((function(e){return e.refreshFilters()}))},t.prototype.destroyFilters=function(){this.filterGroupComps=this.destroyBeans(this.filterGroupComps),i._.clearElement(this.getGui())},t.prototype.destroy=function(){this.destroyFilters(),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-filter-list-panel"></div>',y([Object(i.Autowired)("gridApi")],t.prototype,"gridApi",void 0),y([Object(i.Autowired)("columnApi")],t.prototype,"columnApi",void 0),y([Object(i.Autowired)("toolPanelColDefService")],t.prototype,"toolPanelColDefService",void 0),y([Object(i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t}(i.Component),b=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),w=function(){return(w=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},C=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},O=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.initialised=!1,r.listenerDestroyFuncs=[],r}return b(t,e),t.prototype.init=function(e){this.initialised&&(this.listenerDestroyFuncs.forEach((function(e){return e()})),this.listenerDestroyFuncs=[]),this.initialised=!0;var t={suppressExpandAll:!1,suppressFilterSearch:!1,suppressSyncLayoutWithGrid:!1,api:this.gridApi,columnApi:this.columnApi};this.params=w(w(w({},t),this.params),{context:this.gridOptionsWrapper.getContext()}),this.filtersToolPanelHeaderPanel.init(this.params),this.filtersToolPanelListPanel.init(this.params);var r=this.params.suppressExpandAll,o=this.params.suppressFilterSearch;r&&o&&this.filtersToolPanelHeaderPanel.setDisplayed(!1),this.listenerDestroyFuncs.push(this.addManagedListener(this.filtersToolPanelHeaderPanel,"expandAll",this.onExpandAll.bind(this)),this.addManagedListener(this.filtersToolPanelHeaderPanel,"collapseAll",this.onCollapseAll.bind(this)),this.addManagedListener(this.filtersToolPanelHeaderPanel,"searchChanged",this.onSearchChanged.bind(this)),this.addManagedListener(this.filtersToolPanelListPanel,"groupExpanded",this.onGroupExpanded.bind(this)))},t.prototype.setVisible=function(t){e.prototype.setDisplayed.call(this,t),t&&!this.initialised&&this.init(this.params)},t.prototype.onExpandAll=function(){this.filtersToolPanelListPanel.expandFilterGroups(!0)},t.prototype.onCollapseAll=function(){this.filtersToolPanelListPanel.expandFilterGroups(!1)},t.prototype.onSearchChanged=function(e){this.filtersToolPanelListPanel.performFilterSearch(e.searchText)},t.prototype.setFilterLayout=function(e){this.filtersToolPanelListPanel.setFiltersLayout(e)},t.prototype.onGroupExpanded=function(e){this.filtersToolPanelHeaderPanel.setExpandState(e.state)},t.prototype.expandFilterGroups=function(e){this.filtersToolPanelListPanel.expandFilterGroups(!0,e)},t.prototype.collapseFilterGroups=function(e){this.filtersToolPanelListPanel.expandFilterGroups(!1,e)},t.prototype.expandFilters=function(e){this.filtersToolPanelListPanel.expandFilters(!0,e)},t.prototype.collapseFilters=function(e){this.filtersToolPanelListPanel.expandFilters(!1,e)},t.prototype.syncLayoutWithGrid=function(){this.filtersToolPanelListPanel.syncFilterLayout()},t.prototype.refresh=function(){this.init(this.params)},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-filter-toolpanel">\n <ag-filters-tool-panel-header ref="filtersToolPanelHeaderPanel"></ag-filters-tool-panel-header>\n <ag-filters-tool-panel-list ref="filtersToolPanelListPanel"></ag-filters-tool-panel-list>\n </div>',C([Object(i.RefSelector)("filtersToolPanelHeaderPanel")],t.prototype,"filtersToolPanelHeaderPanel",void 0),C([Object(i.RefSelector)("filtersToolPanelListPanel")],t.prototype,"filtersToolPanelListPanel",void 0),C([Object(i.Autowired)("gridApi")],t.prototype,"gridApi",void 0),C([Object(i.Autowired)("columnApi")],t.prototype,"columnApi",void 0),t}(i.Component),S=r(61),E={moduleName:i.ModuleNames.FiltersToolPanelModule,beans:[],agStackComponents:[{componentName:"AgFiltersToolPanelHeader",componentClass:c},{componentName:"AgFiltersToolPanelList",componentClass:m}],userComponents:[{componentName:"agFiltersToolPanel",componentClass:O}],dependantModules:[S.SideBarModule,a.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"InfiniteRowModelModule",(function(){return f}));var o,n=r(0),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},s=function(e){function t(t,r,o){var n=e.call(this,t)||this;return n.parentCache=r,n.params=o,n.startRow=t*o.blockSize,n.endRow=n.startRow+o.blockSize,n}return i(t,e),t.prototype.postConstruct=function(){this.createRowNodes()},t.prototype.getBlockStateJson=function(){return{id:""+this.getId(),state:{blockNumber:this.getId(),startRow:this.getStartRow(),endRow:this.getEndRow(),pageStatus:this.getState()}}},t.prototype.setDataAndId=function(e,t,r){!e.id&&e.alreadyRendered&&(e.alreadyRendered=!1),n._.exists(t)?e.setDataAndId(t,r.toString()):e.setDataAndId(void 0,void 0)},t.prototype.loadFromDatasource=function(){var e=this,t=this.createLoadParams();n._.missing(this.params.datasource.getRows)?console.warn("AG Grid: datasource is missing getRows method"):window.setTimeout((function(){e.params.datasource.getRows(t)}),0)},t.prototype.processServerFail=function(){},t.prototype.createLoadParams=function(){return{startRow:this.getStartRow(),endRow:this.getEndRow(),successCallback:this.pageLoaded.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this,this.getVersion()),sortModel:this.params.sortModel,filterModel:this.params.filterModel,context:this.gridOptionsWrapper.getContext()}},t.prototype.forEachNode=function(e,t,r){var o=this;this.rowNodes.forEach((function(n,i){o.startRow+i<r&&e(n,t.next())}))},t.prototype.getLastAccessed=function(){return this.lastAccessed},t.prototype.getRow=function(e,t){void 0===t&&(t=!1),t||(this.lastAccessed=this.params.lastAccessedSequence.next());var r=e-this.startRow;return this.rowNodes[r]},t.prototype.getStartRow=function(){return this.startRow},t.prototype.getEndRow=function(){return this.endRow},t.prototype.createRowNodes=function(){this.rowNodes=[];for(var e=0;e<this.params.blockSize;e++){var t=this.startRow+e,r=new n.RowNode(this.beans);r.setRowHeight(this.params.rowHeight),r.uiLevel=0,r.setRowIndex(t),r.setRowTop(this.params.rowHeight*t),this.rowNodes.push(r)}},t.prototype.processServerResult=function(e){var t=this;this.rowNodes.forEach((function(r,o){var n=e.rowData?e.rowData[o]:void 0;t.setDataAndId(r,n,t.startRow+o)}));var r=null!=e.rowCount&&e.rowCount>=0?e.rowCount:void 0;this.parentCache.pageLoaded(this,r)},t.prototype.destroyRowNodes=function(){this.rowNodes.forEach((function(e){e.clearRowTopAndRowIndex()}))},a([Object(n.Autowired)("beans")],t.prototype,"beans",void 0),a([n.PostConstruct],t.prototype,"postConstruct",null),a([n.PreDestroy],t.prototype,"destroyRowNodes",null),t}(n.RowNodeBlock),l=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e,t){return function(r,o){t(r,o,e)}},p=function(e){function t(t){var r=e.call(this)||this;return r.lastRowIndexKnown=!1,r.blocks={},r.blockCount=0,r.rowCount=t.initialRowCount,r.params=t,r}return l(t,e),t.prototype.setBeans=function(e){this.logger=e.create("InfiniteCache")},t.prototype.getRow=function(e,t){void 0===t&&(t=!1);var r=Math.floor(e/this.params.blockSize),o=this.blocks[r];if(!o){if(t)return;o=this.createBlock(r)}return o.getRow(e)},t.prototype.createBlock=function(e){var t=this.createBean(new s(e,this,this.params));return this.blocks[t.getId()]=t,this.blockCount++,this.purgeBlocksIfNeeded(t),this.params.rowNodeBlockLoader.addBlock(t),t},t.prototype.refreshCache=function(){0==this.blockCount?this.purgeCache():(this.getBlocksInOrder().forEach((function(e){return e.setStateWaitingToLoad()})),this.params.rowNodeBlockLoader.checkBlockToLoad())},t.prototype.destroyAllBlocks=function(){var e=this;this.getBlocksInOrder().forEach((function(t){return e.destroyBlock(t)}))},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.isLastRowIndexKnown=function(){return this.lastRowIndexKnown},t.prototype.pageLoaded=function(e,t){this.isAlive()&&(this.logger.log("onPageLoaded: page = "+e.getId()+", lastRow = "+t),this.checkRowCount(e,t),this.onCacheUpdated())},t.prototype.purgeBlocksIfNeeded=function(e){var r=this,o=this.getBlocksInOrder().filter((function(t){return t!=e}));o.sort((function(e,t){return t.getLastAccessed()-e.getLastAccessed()}));var n=this.params.maxBlocksInCache>0,i=n?this.params.maxBlocksInCache-1:null,a=t.MAX_EMPTY_BLOCKS_TO_KEEP-1;o.forEach((function(e,t){if(e.getState()===s.STATE_WAITING_TO_LOAD&&t>=a||!!n&&t>=i){if(r.isBlockCurrentlyDisplayed(e))return;if(r.isBlockFocused(e))return;r.removeBlockFromCache(e)}}))},t.prototype.isBlockFocused=function(e){var t=this.focusService.getFocusCellToUseAfterRefresh();if(!t)return!1;if(null!=t.rowPinned)return!1;var r=e.getStartRow(),o=e.getEndRow();return t.rowIndex>=r&&t.rowIndex<o},t.prototype.isBlockCurrentlyDisplayed=function(e){var t=e.getStartRow(),r=e.getEndRow()-1;return this.rowRenderer.isRangeInRenderedViewport(t,r)},t.prototype.removeBlockFromCache=function(e){e&&this.destroyBlock(e)},t.prototype.checkRowCount=function(e,t){if("number"==typeof t&&t>=0)this.rowCount=t,this.lastRowIndexKnown=!0;else if(!this.lastRowIndexKnown){var r=(e.getId()+1)*this.params.blockSize+this.params.overflowSize;this.rowCount<r&&(this.rowCount=r)}},t.prototype.setRowCount=function(e,t){this.rowCount=e,n._.exists(t)&&(this.lastRowIndexKnown=t),this.lastRowIndexKnown||this.rowCount%this.params.blockSize==0&&this.rowCount++,this.onCacheUpdated()},t.prototype.forEachNodeDeep=function(e){var t=this,r=new n.NumberSequence;this.getBlocksInOrder().forEach((function(o){return o.forEachNode(e,r,t.rowCount)}))},t.prototype.getBlocksInOrder=function(){return n._.getAllValuesInObject(this.blocks).sort((function(e,t){return e.getId()-t.getId()}))},t.prototype.destroyBlock=function(e){delete this.blocks[e.getId()],this.destroyBean(e),this.blockCount--,this.params.rowNodeBlockLoader.removeBlock(e)},t.prototype.onCacheUpdated=function(){if(this.isAlive()){this.destroyAllBlocksPastVirtualRowCount();var e={type:n.Events.EVENT_STORE_UPDATED};this.eventService.dispatchEvent(e)}},t.prototype.destroyAllBlocksPastVirtualRowCount=function(){var e=this,t=[];this.getBlocksInOrder().forEach((function(r){r.getId()*e.params.blockSize>=e.rowCount&&t.push(r)})),t.length>0&&t.forEach((function(t){return e.destroyBlock(t)}))},t.prototype.purgeCache=function(){var e=this;this.getBlocksInOrder().forEach((function(t){return e.removeBlockFromCache(t)})),this.lastRowIndexKnown=!1,0===this.rowCount&&(this.rowCount=this.params.initialRowCount),this.onCacheUpdated()},t.prototype.getRowNodesInRange=function(e,t){var r=this,o=[],i=-1,a=!1,s=new n.NumberSequence;n._.missing(e)&&(a=!0);var l=!1;return this.getBlocksInOrder().forEach((function(n){l||(a&&i+1!==n.getId()?l=!0:(i=n.getId(),n.forEachNode((function(r){var n=r===e||r===t;(a||n)&&o.push(r),n&&(a=!a)}),s,r.rowCount)))})),l||a?[]:o},t.MAX_EMPTY_BLOCKS_TO_KEEP=2,c([Object(n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),c([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),c([u(0,Object(n.Qualifier)("loggerFactory"))],t.prototype,"setBeans",null),c([n.PreDestroy],t.prototype,"destroyAllBlocks",null),t}(n.BeanStub),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.getRowBounds=function(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}},t.prototype.ensureRowHeightsValid=function(e,t,r,o){return!1},t.prototype.init=function(){var e=this;this.gridOptionsWrapper.isRowModelInfinite()&&(this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.addEventListeners(),this.addDestroyFunc((function(){return e.destroyCache()})),this.verifyProps())},t.prototype.verifyProps=function(){if(null!=this.gridOptionsWrapper.getInitialGroupOrderComparator()){n._.doOnce((function(){return console.warn("AG Grid: initialGroupOrderComparator cannot be used with Infinite Row Model. If using Infinite Row Model, then sorting is done on the server side, nothing to do with the client.")}),"IRM.InitialGroupOrderComparator")}},t.prototype.start=function(){this.setDatasource(this.gridOptionsWrapper.getDatasource())},t.prototype.destroyDatasource=function(){this.datasource&&(this.getContext().destroyBean(this.datasource),this.rowRenderer.datasourceChanged(),this.datasource=null)},t.prototype.addEventListeners=function(){this.addManagedListener(this.eventService,n.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverything.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_STORE_UPDATED,this.onCacheUpdated.bind(this))},t.prototype.onFilterChanged=function(){this.reset()},t.prototype.onSortChanged=function(){this.reset()},t.prototype.onColumnEverything=function(){(!this.cacheParams||this.isSortModelDifferent())&&this.reset()},t.prototype.isSortModelDifferent=function(){return!n._.jsonEquals(this.cacheParams.sortModel,this.sortController.getSortModel())},t.prototype.getType=function(){return n.Constants.ROW_MODEL_TYPE_INFINITE},t.prototype.setDatasource=function(e){this.destroyDatasource(),this.datasource=e,e&&this.reset()},t.prototype.isEmpty=function(){return!this.infiniteCache},t.prototype.isRowsToRender=function(){return!!this.infiniteCache},t.prototype.getNodesInRangeForSelection=function(e,t){return this.infiniteCache?this.infiniteCache.getRowNodesInRange(e,t):[]},t.prototype.reset=function(){if(this.datasource){null!=this.gridOptionsWrapper.getRowIdFunc()||this.selectionService.reset(),this.resetCache();var e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)}},t.prototype.createModelUpdatedEvent=function(){return{type:n.Events.EVENT_MODEL_UPDATED,newPage:!1,newData:!1,keepRenderedRows:!0,animate:!1}},t.prototype.resetCache=function(){this.destroyCache(),this.cacheParams={datasource:this.datasource,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel(),rowNodeBlockLoader:this.rowNodeBlockLoader,initialRowCount:this.defaultIfInvalid(this.gridOptionsWrapper.getInfiniteInitialRowCount(),1),maxBlocksInCache:this.gridOptionsWrapper.getMaxBlocksInCache(),rowHeight:this.gridOptionsWrapper.getRowHeightAsNumber(),overflowSize:this.defaultIfInvalid(this.gridOptionsWrapper.getCacheOverflowSize(),1),blockSize:this.defaultIfInvalid(this.gridOptionsWrapper.getCacheBlockSize(),100),lastAccessedSequence:new n.NumberSequence},this.infiniteCache=this.createBean(new p(this.cacheParams))},t.prototype.defaultIfInvalid=function(e,t){return e>0?e:t},t.prototype.destroyCache=function(){this.infiniteCache&&(this.infiniteCache=this.destroyBean(this.infiniteCache))},t.prototype.onCacheUpdated=function(){var e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)},t.prototype.getRow=function(e){if(this.infiniteCache&&!(e>=this.infiniteCache.getRowCount()))return this.infiniteCache.getRow(e)},t.prototype.getRowNode=function(e){var t;return this.forEachNode((function(r){r.id===e&&(t=r)})),t},t.prototype.forEachNode=function(e){this.infiniteCache&&this.infiniteCache.forEachNodeDeep(e)},t.prototype.getTopLevelRowCount=function(){return this.getRowCount()},t.prototype.getTopLevelRowDisplayedIndex=function(e){return e},t.prototype.getRowIndexAtPixel=function(e){if(0!==this.rowHeight){var t=Math.floor(e/this.rowHeight),r=this.getRowCount()-1;return t>r?r:t}return 0},t.prototype.getRowCount=function(){return this.infiniteCache?this.infiniteCache.getRowCount():0},t.prototype.isRowPresent=function(e){return!!this.getRowNode(e.id)},t.prototype.refreshCache=function(){this.infiniteCache&&this.infiniteCache.refreshCache()},t.prototype.purgeCache=function(){this.infiniteCache&&this.infiniteCache.purgeCache()},t.prototype.isLastRowIndexKnown=function(){return!!this.infiniteCache&&this.infiniteCache.isLastRowIndexKnown()},t.prototype.setRowCount=function(e,t){this.infiniteCache&&this.infiniteCache.setRowCount(e,t)},g([Object(n.Autowired)("filterManager")],t.prototype,"filterManager",void 0),g([Object(n.Autowired)("sortController")],t.prototype,"sortController",void 0),g([Object(n.Autowired)("selectionService")],t.prototype,"selectionService",void 0),g([Object(n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),g([Object(n.Autowired)("rowNodeBlockLoader")],t.prototype,"rowNodeBlockLoader",void 0),g([n.PostConstruct],t.prototype,"init",null),g([n.PreDestroy],t.prototype,"destroyDatasource",null),t=g([Object(n.Bean)("rowModel")],t)}(n.BeanStub),f={moduleName:n.ModuleNames.InfiniteRowModelModule,rowModels:{infinite:h}}},function(e,t,r){"use strict";r.r(t),r.d(t,"MenuModule",(function(){return m}));var o,n=r(0),i=r(27),a=r(69),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.hideActiveMenu=function(){this.destroyBean(this.activeMenu)},t.prototype.showMenuAfterMouseEvent=function(e,t,r){var o=this;this.showMenu(e,(function(n){var i=n.getGui();o.popupService.positionPopupUnderMouseEvent({type:"columnMenu",column:e,mouseEvent:t,ePopup:i}),r&&n.showTab(r)}),"columnMenu",r,void 0,t.target)},t.prototype.showMenuAfterButtonClick=function(e,t,r,o,n){var i=this,a=-1,s="left";this.gridOptionsWrapper.isEnableRtl()&&(a=1,s="right"),this.showMenu(e,(function(n){var l=n.getGui();i.popupService.positionPopupUnderComponent({type:r,column:e,eventSource:t,ePopup:l,alignSide:s,nudgeX:9*a,nudgeY:-23,keepWithinBounds:!0}),o&&n.showTab(o)}),r,o,n,t)},t.prototype.showMenu=function(e,t,r,o,i,a){var s=this,l=this.createBean(new u(e,this.lastSelectedTab,i)),c=l.getGui(),p=this.focusService.getFocusedHeader(),d=this.columnModel.getAllDisplayedColumns().indexOf(e),g=a||this.ctrlsService.getGridBodyCtrl().getGui(),h=[];h.push((function(t){if(s.destroyBean(l),e.setMenuVisible(!1,"contextMenu"),t instanceof KeyboardEvent&&a)if(n._.isVisible(a)){var r=s.focusService.findTabbableParent(a);r&&(e&&s.headerNavigationService.scrollToColumn(e),r.focus())}else if(p&&-1!==d){var o=s.columnModel.getAllDisplayedColumns(),i=o[d]||n._.last(o);i&&s.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:p.headerRowIndex,column:i}})}}));var f=this.gridOptionsWrapper.getLocaleTextFunc(),v=this.popupService.addPopup({modal:!0,eChild:c,closeOnEsc:!0,closedCallback:function(e){h.forEach((function(t){return t(e)}))},afterGuiAttached:function(e){return l.afterGuiAttached(Object.assign({},{container:r},e))},positionCallback:function(){return t(l)},anchorToElement:g,ariaLabel:f("ariaLabelColumnMenu","Column Menu")});if(v){var y=v.stopAnchoringPromise;y&&y.then((function(t){e.addEventListener(n.Column.EVENT_LEFT_CHANGED,t),e.addEventListener(n.Column.EVENT_VISIBLE_CHANGED,t),h.push((function(){e.removeEventListener(n.Column.EVENT_LEFT_CHANGED,t),e.removeEventListener(n.Column.EVENT_VISIBLE_CHANGED,t)}))}))}o||(l.showTabBasedOnPreviousSelection(),t(l)),l.addEventListener(u.EVENT_TAB_SELECTED,(function(e){s.lastSelectedTab=e.key})),e.setMenuVisible(!0,"contextMenu"),this.activeMenu=l,l.addEventListener(n.BeanStub.EVENT_DESTROYED,(function(){s.activeMenu===l&&(s.activeMenu=null)}))},t.prototype.isMenuEnabled=function(e){return e.getMenuTabs(u.TABS_DEFAULT).length>0},l([Object(n.Autowired)("popupService")],t.prototype,"popupService",void 0),l([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),l([Object(n.Autowired)("headerNavigationService")],t.prototype,"headerNavigationService",void 0),l([Object(n.Autowired)("ctrlsService")],t.prototype,"ctrlsService",void 0),l([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t=l([Object(n.Bean)("menuFactory")],t)}(n.BeanStub),u=function(e){function t(r,o,n){var i=e.call(this)||this;return i.tabFactories={},i.includeChecks={},i.column=r,i.initialSelection=o,i.tabFactories[t.TAB_GENERAL]=i.createMainPanel.bind(i),i.tabFactories[t.TAB_FILTER]=i.createFilterPanel.bind(i),i.tabFactories[t.TAB_COLUMNS]=i.createColumnsPanel.bind(i),i.includeChecks[t.TAB_GENERAL]=function(){return!0},i.includeChecks[t.TAB_FILTER]=function(){return r.isFilterAllowed()},i.includeChecks[t.TAB_COLUMNS]=function(){return!0},i.restrictTo=n,i}return s(t,e),t.prototype.init=function(){var e=this,t=this.getTabsToCreate().map((function(t){return e.createTab(t)}));this.tabbedLayout=new n.TabbedLayout({items:t,cssClass:"ag-menu",onActiveItemClicked:this.onHidePopup.bind(this),onItemClicked:this.onTabItemClicked.bind(this)}),this.createBean(this.tabbedLayout),this.mainMenuList&&this.mainMenuList.setParentComponent(this.tabbedLayout)},t.prototype.getTabsToCreate=function(){var e=this;return this.restrictTo?this.restrictTo:this.column.getMenuTabs(t.TABS_DEFAULT).filter((function(t){return e.isValidMenuTabItem(t)})).filter((function(t){return e.isNotSuppressed(t)})).filter((function(t){return e.isModuleLoaded(t)}))},t.prototype.isModuleLoaded=function(e){return e!==t.TAB_COLUMNS||n.ModuleRegistry.isRegistered(n.ModuleNames.ColumnToolPanelModule)},t.prototype.isValidMenuTabItem=function(e){var r=!0,o=t.TABS_DEFAULT;return null!=this.restrictTo&&(r=this.restrictTo.indexOf(e)>-1,o=this.restrictTo),(r=r&&t.TABS_DEFAULT.indexOf(e)>-1)||console.warn("AG Grid: Trying to render an invalid menu item '"+e+"'. Check that your 'menuTabs' contains one of ["+o+"]"),r},t.prototype.isNotSuppressed=function(e){return this.includeChecks[e]()},t.prototype.createTab=function(e){return this.tabFactories[e]()},t.prototype.showTabBasedOnPreviousSelection=function(){this.showTab(this.initialSelection)},t.prototype.showTab=function(e){this.tabItemColumns&&e===t.TAB_COLUMNS?this.tabbedLayout.showItem(this.tabItemColumns):this.tabItemFilter&&e===t.TAB_FILTER?this.tabbedLayout.showItem(this.tabItemFilter):this.tabItemGeneral&&e===t.TAB_GENERAL?this.tabbedLayout.showItem(this.tabItemGeneral):this.tabbedLayout.showFirstItem()},t.prototype.onTabItemClicked=function(e){var r=null;switch(e.item){case this.tabItemColumns:r=t.TAB_COLUMNS;break;case this.tabItemFilter:r=t.TAB_FILTER;break;case this.tabItemGeneral:r=t.TAB_GENERAL}r&&this.activateTab(r)},t.prototype.activateTab=function(e){var r={type:t.EVENT_TAB_SELECTED,key:e};this.dispatchEvent(r)},t.prototype.getMenuItems=function(){var e,r=this.getDefaultMenuOptions(),o=this.gridOptionsWrapper.getMainMenuItemsFunc();return e=o?o({column:this.column,defaultItems:r}):r,n._.removeRepeatsFromArray(e,t.MENU_ITEM_SEPARATOR),e},t.prototype.getDefaultMenuOptions=function(){var e=[],r=!this.column.getColDef().lockPinned,o=this.columnModel.getRowGroupColumns().length,i=o>0,a=this.columnModel.getRowGroupColumns().indexOf(this.column)>=0,s=this.column.isAllowValue(),l=this.column.isAllowRowGroup(),c=this.column.isPrimary(),u=this.columnModel.isPivotMode(),p=this.rowModel.getType()===n.Constants.ROW_MODEL_TYPE_CLIENT_SIDE,d=this.gridOptionsWrapper.isTreeData(),g=c&&i&&s||!c;return r&&e.push("pinSubMenu"),g&&e.push("valueAggSubMenu"),(r||g)&&e.push(t.MENU_ITEM_SEPARATOR),e.push("autoSizeThis"),e.push("autoSizeAll"),e.push(t.MENU_ITEM_SEPARATOR),l&&this.column.isPrimary()&&(a?e.push("rowUnGroup"):e.push("rowGroup")),e.push(t.MENU_ITEM_SEPARATOR),e.push("resetColumns"),p&&(d||o>(u?1:0))&&(e.push("expandAll"),e.push("contractAll")),e},t.prototype.createMainPanel=function(){this.mainMenuList=this.createManagedBean(new n.AgMenuList);var e=this.getMenuItems(),r=this.menuItemMapper.mapWithStockItems(e,this.column);return this.mainMenuList.addMenuItems(r),this.mainMenuList.addEventListener(n.AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED,this.onHidePopup.bind(this)),this.tabItemGeneral={title:n._.createIconNoSpan("menu",this.gridOptionsWrapper,this.column),titleLabel:t.TAB_GENERAL.replace("MenuTab",""),bodyPromise:n.AgPromise.resolve(this.mainMenuList.getGui()),name:t.TAB_GENERAL},this.tabItemGeneral},t.prototype.onHidePopup=function(e){var t;e&&e.event&&e.event instanceof KeyboardEvent&&(t=e.event),this.hidePopupFunc(t&&{keyboardEvent:t});var r=this.focusService.getFocusedCell(),o=this.gridOptionsWrapper.getDocument();if(o.activeElement===o.body&&r){var n=r.rowIndex,i=r.rowPinned,a=r.column;this.focusService.setFocusedCell({rowIndex:n,column:a,rowPinned:i,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})}},t.prototype.createFilterPanel=function(){var e,r=this.filterManager.getOrCreateFilterWrapper(this.column,"COLUMN_MENU");if(!r)throw new Error("AG Grid - Unable to instantiate filter");return this.tabItemFilter={title:n._.createIconNoSpan("filter",this.gridOptionsWrapper,this.column),titleLabel:t.TAB_FILTER.replace("MenuTab",""),bodyPromise:null===(e=r)||void 0===e?void 0:e.guiPromise,afterAttachedCallback:function(e){var t;(null===(t=r)||void 0===t?void 0:t.filterPromise)&&r.filterPromise.then((function(t){t&&t.afterGuiAttached&&t.afterGuiAttached(e)}))},name:t.TAB_FILTER},this.tabItemFilter},t.prototype.createColumnsPanel=function(){var e=document.createElement("div");e.classList.add("ag-menu-column-select-wrapper"),this.columnSelectPanel=this.createManagedBean(new a.PrimaryColsPanel);var r=this.column.getColDef().columnsMenuParams;r||(r={}),this.columnSelectPanel.init(!1,{suppressColumnMove:!1,suppressValues:!1,suppressPivots:!1,suppressRowGroups:!1,suppressPivotMode:!1,contractColumnSelection:!!r.contractColumnSelection,suppressColumnExpandAll:!!r.suppressColumnExpandAll,suppressColumnFilter:!!r.suppressColumnFilter,suppressColumnSelectAll:!!r.suppressColumnSelectAll,suppressSyncLayoutWithGrid:!!r.suppressSyncLayoutWithGrid,api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()},"columnMenu");var o=this.columnSelectPanel.getGui();return o.classList.add("ag-menu-column-select"),e.appendChild(o),this.tabItemColumns={title:n._.createIconNoSpan("columns",this.gridOptionsWrapper,this.column),titleLabel:t.TAB_COLUMNS.replace("MenuTab",""),bodyPromise:n.AgPromise.resolve(e),name:t.TAB_COLUMNS},this.tabItemColumns},t.prototype.afterGuiAttached=function(e){var t=e.container,r=e.hidePopup;this.tabbedLayout.setAfterAttachedParams({container:t,hidePopup:r}),r&&(this.hidePopupFunc=r,this.addDestroyFunc(r))},t.prototype.getGui=function(){return this.tabbedLayout.getGui()},t.EVENT_TAB_SELECTED="tabSelected",t.TAB_FILTER="filterMenuTab",t.TAB_GENERAL="generalMenuTab",t.TAB_COLUMNS="columnsMenuTab",t.TABS_DEFAULT=[t.TAB_GENERAL,t.TAB_FILTER,t.TAB_COLUMNS],t.MENU_ITEM_SEPARATOR="separator",l([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),l([Object(n.Autowired)("filterManager")],t.prototype,"filterManager",void 0),l([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),l([Object(n.Autowired)("columnApi")],t.prototype,"columnApi",void 0),l([Object(n.Autowired)("menuItemMapper")],t.prototype,"menuItemMapper",void 0),l([Object(n.Autowired)("rowModel")],t.prototype,"rowModel",void 0),l([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),l([n.PostConstruct],t.prototype,"init",null),t}(n.BeanStub),p=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.hideActiveMenu=function(){this.destroyBean(this.activeMenu)},t.prototype.getMenuItems=function(e,t,r){var o=[];if(n._.exists(e)&&n.ModuleRegistry.isRegistered(n.ModuleNames.ClipboardModule)&&t&&o.push("copy","copyWithHeaders","copyWithGroupHeaders","paste","separator"),this.gridOptionsWrapper.isEnableCharts()&&n.ModuleRegistry.isRegistered(n.ModuleNames.RangeSelectionModule)&&n.ModuleRegistry.isRegistered(n.ModuleNames.GridChartsModule)&&(this.columnModel.isPivotMode()&&o.push("pivotChart"),this.rangeService&&!this.rangeService.isEmpty()&&o.push("chartRange")),n._.exists(e)){var i=!n.ModuleRegistry.isRegistered(n.ModuleNames.CsvExportModule),a=!n.ModuleRegistry.isRegistered(n.ModuleNames.ExcelExportModule),s=this.gridOptionsWrapper.isSuppressExcelExport()||a,l=this.gridOptionsWrapper.isSuppressCsvExport()||i;!(n._.isIOSUserAgent()||s&&l)&&o.push("export")}if(this.gridOptionsWrapper.getContextMenuItemsFunc()){var c=this.gridOptionsWrapper.getContextMenuItemsFunc(),u={node:e,column:t,value:r,defaultItems:o.length?o:void 0};return c?c(u):void 0}return o},t.prototype.onContextMenu=function(e,t,r,o,n,i){if((this.gridOptionsWrapper.isAllowContextMenuWithControlKey()||!e||!e.ctrlKey&&!e.metaKey)&&(e&&this.blockMiddleClickScrollsIfNeeded(e),!this.gridOptionsWrapper.isSuppressContextMenu())){var a=e||t.touches[0];if(this.showMenu(r,o,n,a,i))(e||t).preventDefault()}},t.prototype.blockMiddleClickScrollsIfNeeded=function(e){var t=this.gridOptionsWrapper,r=e.which;t.isSuppressMiddleClickScrolls()&&2===r&&e.preventDefault()},t.prototype.showMenu=function(e,t,r,o,i){var a=this,s=this.getMenuItems(e,t,r),l=this.ctrlsService.getGridBodyCtrl().getGui();if(void 0===s||n._.missingOrEmpty(s))return!1;var c=new h(s);this.createBean(c);var u=c.getGui(),p={column:t,rowNode:e,type:"contextMenu",mouseEvent:o,ePopup:u,nudgeY:1},d=this.gridOptionsWrapper.getLocaleTextFunc(),g=this.popupService.addPopup({modal:!0,eChild:u,closeOnEsc:!0,closedCallback:function(){l.classList.remove("ag-context-menu-open"),a.destroyBean(c)},click:o,positionCallback:function(){a.popupService.positionPopupUnderMouseEvent(Object.assign({},{nudgeX:a.gridOptionsWrapper.isEnableRtl()?-1*(u.offsetWidth+1):1},p))},anchorToElement:i,ariaLabel:d("ariaLabelContextMenu","Context Menu")});return g&&(l.classList.add("ag-context-menu-open"),c.afterGuiAttached({container:"contextMenu",hidePopup:g.hideFunc})),this.activeMenu&&this.hideActiveMenu(),this.activeMenu=c,c.addEventListener(n.BeanStub.EVENT_DESTROYED,(function(){a.activeMenu===c&&(a.activeMenu=null)})),g&&c.addEventListener(n.AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED,g.hideFunc),!0},d([Object(n.Autowired)("popupService")],t.prototype,"popupService",void 0),d([Object(n.Optional)("rangeService")],t.prototype,"rangeService",void 0),d([Object(n.Autowired)("ctrlsService")],t.prototype,"ctrlsService",void 0),d([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),t=d([Object(n.Bean)("contextMenuFactory")],t)}(n.BeanStub),h=function(e){function t(t){var r=e.call(this,'<div class="ag-menu" role="presentation"></div>')||this;return r.menuList=null,r.focusedCell=null,r.menuItems=t,r}return p(t,e),t.prototype.addMenuItems=function(){var e=this,t=this.createManagedBean(new n.AgMenuList),r=this.menuItemMapper.mapWithStockItems(this.menuItems,null);t.addMenuItems(r),this.appendChild(t),this.menuList=t,t.addEventListener(n.AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED,(function(t){return e.dispatchEvent(t)}))},t.prototype.afterGuiAttached=function(e){e.hidePopup&&this.addDestroyFunc(e.hidePopup),this.focusedCell=this.focusService.getFocusedCell(),this.menuList&&this.focusService.focusInto(this.menuList.getGui())},t.prototype.restoreFocusedCell=function(){var e=this.focusService.getFocusedCell();if(e&&this.focusedCell&&this.cellPositionUtils.equals(e,this.focusedCell)){var t=this.focusedCell,r=t.rowIndex,o=t.rowPinned,n=t.column,i=this.gridOptionsWrapper.getDocument();i.activeElement===i.body&&this.focusService.setFocusedCell({rowIndex:r,column:n,rowPinned:o,forceBrowserFocus:!0})}},t.prototype.destroy=function(){this.restoreFocusedCell(),e.prototype.destroy.call(this)},d([Object(n.Autowired)("menuItemMapper")],t.prototype,"menuItemMapper",void 0),d([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),d([Object(n.Autowired)("cellPositionUtils")],t.prototype,"cellPositionUtils",void 0),d([n.PostConstruct],t.prototype,"addMenuItems",null),t}(n.Component),f=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.mapWithStockItems=function(e,t){var r=this;if(!e)return[];var o=[];return e.forEach((function(e){var n;if(n="string"==typeof e?r.getStockMenuItem(e,t):e){var i=n,a=i.subMenu;a&&a instanceof Array&&(i.subMenu=r.mapWithStockItems(i.subMenu,t)),null!=n&&o.push(n)}})),o},t.prototype.getStockMenuItem=function(e,t){var r=this,o=this.gridOptionsWrapper.getLocaleTextFunc(),i=this.gridOptionsWrapper.isSkipHeaderOnAutoSize();switch(e){case"pinSubMenu":return{name:o("pinColumn","Pin Column"),icon:n._.createIconNoSpan("menuPin",this.gridOptionsWrapper,null),subMenu:["pinLeft","pinRight","clearPinned"]};case"pinLeft":return{name:o("pinLeft","Pin Left"),action:function(){return r.columnModel.setColumnPinned(t,n.Constants.PINNED_LEFT,"contextMenu")},checked:!!t&&t.isPinnedLeft()};case"pinRight":return{name:o("pinRight","Pin Right"),action:function(){return r.columnModel.setColumnPinned(t,n.Constants.PINNED_RIGHT,"contextMenu")},checked:!!t&&t.isPinnedRight()};case"clearPinned":return{name:o("noPin","No Pin"),action:function(){return r.columnModel.setColumnPinned(t,null,"contextMenu")},checked:!!t&&!t.isPinned()};case"valueAggSubMenu":return n.ModuleRegistry.assertRegistered(n.ModuleNames.RowGroupingModule,"Aggregation from Menu")?{name:o("valueAggregation","Value Aggregation"),icon:n._.createIconNoSpan("menuValue",this.gridOptionsWrapper,null),subMenu:this.createAggregationSubMenu(t)}:null;case"autoSizeThis":return{name:o("autosizeThiscolumn","Autosize This Column"),action:function(){return r.columnModel.autoSizeColumn(t,i,"contextMenu")}};case"autoSizeAll":return{name:o("autosizeAllColumns","Autosize All Columns"),action:function(){return r.columnModel.autoSizeAllColumns(i,"contextMenu")}};case"rowGroup":return{name:o("groupBy","Group by")+" "+n._.escapeString(this.columnModel.getDisplayNameForColumn(t,"header")),action:function(){return r.columnModel.addRowGroupColumn(t,"contextMenu")},icon:n._.createIconNoSpan("menuAddRowGroup",this.gridOptionsWrapper,null)};case"rowUnGroup":return{name:o("ungroupBy","Un-Group by")+" "+n._.escapeString(this.columnModel.getDisplayNameForColumn(t,"header")),action:function(){return r.columnModel.removeRowGroupColumn(t,"contextMenu")},icon:n._.createIconNoSpan("menuRemoveRowGroup",this.gridOptionsWrapper,null)};case"resetColumns":return{name:o("resetColumns","Reset Columns"),action:function(){return r.columnModel.resetColumnState("contextMenu")}};case"expandAll":return{name:o("expandAll","Expand All"),action:function(){return r.gridApi.expandAll()}};case"contractAll":return{name:o("collapseAll","Collapse All"),action:function(){return r.gridApi.collapseAll()}};case"copy":return n.ModuleRegistry.assertRegistered(n.ModuleNames.ClipboardModule,"Copy from Menu")?{name:o("copy","Copy"),shortcut:o("ctrlC","Ctrl+C"),icon:n._.createIconNoSpan("clipboardCopy",this.gridOptionsWrapper,null),action:function(){return r.clipboardService.copyToClipboard()}}:null;case"copyWithHeaders":return n.ModuleRegistry.assertRegistered(n.ModuleNames.ClipboardModule,"Copy with Headers from Menu")?{name:o("copyWithHeaders","Copy with Headers"),icon:n._.createIconNoSpan("clipboardCopy",this.gridOptionsWrapper,null),action:function(){return r.clipboardService.copyToClipboard({includeHeaders:!0})}}:null;case"copyWithGroupHeaders":return n.ModuleRegistry.assertRegistered(n.ModuleNames.ClipboardModule,"Copy with Group Headers from Menu")?{name:o("copyWithGroupHeaders","Copy with Group Headers"),icon:n._.createIconNoSpan("clipboardCopy",this.gridOptionsWrapper,null),action:function(){return r.clipboardService.copyToClipboard({includeHeaders:!0,includeGroupHeaders:!0})}}:null;case"paste":return n.ModuleRegistry.assertRegistered(n.ModuleNames.ClipboardModule,"Paste from Clipboard")?{name:o("paste","Paste"),shortcut:o("ctrlV","Ctrl+V"),disabled:!0,icon:n._.createIconNoSpan("clipboardPaste",this.gridOptionsWrapper,null),action:function(){return r.clipboardService.pasteFromClipboard()}}:null;case"export":var a=[],s=n.ModuleRegistry.isRegistered(n.ModuleNames.CsvExportModule),l=n.ModuleRegistry.isRegistered(n.ModuleNames.ExcelExportModule);return!this.gridOptionsWrapper.isSuppressCsvExport()&&s&&a.push("csvExport"),!this.gridOptionsWrapper.isSuppressExcelExport()&&l&&a.push("excelExport"),{name:o("export","Export"),subMenu:a,icon:n._.createIconNoSpan("save",this.gridOptionsWrapper,null)};case"csvExport":return{name:o("csvExport","CSV Export"),icon:n._.createIconNoSpan("csvExport",this.gridOptionsWrapper,null),action:function(){return r.gridApi.exportDataAsCsv({})}};case"excelExport":return{name:o("excelExport","Excel Export"),icon:n._.createIconNoSpan("excelExport",this.gridOptionsWrapper,null),action:function(){return r.gridApi.exportDataAsExcel()}};case"separator":return"separator";default:var c=this.getChartItems(e);return c||(console.warn("AG Grid: unknown menu item type "+e),null)}},t.prototype.getChartItems=function(e){var t=this,r=this.gridOptionsWrapper.getLocaleTextFunc(),o=function(e,o,n){return{name:r(e,o),action:function(){return t.chartService.createPivotChart({chartType:n})}}},i=function(e,o,n){return{name:r(e,o),action:function(){return t.chartService.createChartFromCurrentRange(n)}}};switch(e){case"pivotChart":return{name:r("pivotChart","Pivot Chart"),subMenu:["pivotColumnChart","pivotBarChart","pivotPieChart","pivotLineChart","pivotXYChart","pivotAreaChart"],icon:n._.createIconNoSpan("chart",this.gridOptionsWrapper,null)};case"chartRange":return{name:r("chartRange","Chart Range"),subMenu:["rangeColumnChart","rangeBarChart","rangePieChart","rangeLineChart","rangeXYChart","rangeAreaChart","rangeHistogramChart","rangeCombinationChart"],icon:n._.createIconNoSpan("chart",this.gridOptionsWrapper,null)};case"pivotColumnChart":return{name:r("columnChart","Column"),subMenu:["pivotGroupedColumn","pivotStackedColumn","pivotNormalizedColumn"]};case"pivotGroupedColumn":return o("groupedColumn","Grouped‎","groupedColumn");case"pivotStackedColumn":return o("stackedColumn","Stacked‎","stackedColumn");case"pivotNormalizedColumn":return o("normalizedColumn","100% Stacked‎","normalizedColumn");case"rangeColumnChart":return{name:r("columnChart","Column"),subMenu:["rangeGroupedColumn","rangeStackedColumn","rangeNormalizedColumn"]};case"rangeGroupedColumn":return i("groupedColumn","Grouped‎","groupedColumn");case"rangeStackedColumn":return i("stackedColumn","Stacked‎","stackedColumn");case"rangeNormalizedColumn":return i("normalizedColumn","100% Stacked‎","normalizedColumn");case"pivotBarChart":return{name:r("barChart","Bar"),subMenu:["pivotGroupedBar","pivotStackedBar","pivotNormalizedBar"]};case"pivotGroupedBar":return o("groupedBar","Grouped‎","groupedBar");case"pivotStackedBar":return o("stackedBar","Stacked‎","stackedBar");case"pivotNormalizedBar":return o("normalizedBar","100% Stacked‎","normalizedBar");case"rangeBarChart":return{name:r("barChart","Bar"),subMenu:["rangeGroupedBar","rangeStackedBar","rangeNormalizedBar"]};case"rangeGroupedBar":return i("groupedBar","Grouped‎","groupedBar");case"rangeStackedBar":return i("stackedBar","Stacked‎","stackedBar");case"rangeNormalizedBar":return i("normalizedBar","100% Stacked‎","normalizedBar");case"pivotPieChart":return{name:r("pieChart","Pie"),subMenu:["pivotPie","pivotDoughnut"]};case"pivotPie":return o("pie","Pie‎","pie");case"pivotDoughnut":return o("doughnut","Doughnut‎","doughnut");case"rangePieChart":return{name:r("pieChart","Pie"),subMenu:["rangePie","rangeDoughnut"]};case"rangePie":return i("pie","Pie‎","pie");case"rangeDoughnut":return i("doughnut","Doughnut‎","doughnut");case"pivotLineChart":return o("line","Line‎","line");case"rangeLineChart":return i("line","Line‎","line");case"pivotXYChart":return{name:r("xyChart","X Y (Scatter)"),subMenu:["pivotScatter","pivotBubble"]};case"pivotScatter":return o("scatter","Scatter‎","scatter");case"pivotBubble":return o("bubble","Bubble‎","bubble");case"rangeXYChart":return{name:r("xyChart","X Y (Scatter)"),subMenu:["rangeScatter","rangeBubble"]};case"rangeScatter":return i("scatter","Scatter‎","scatter");case"rangeBubble":return i("bubble","Bubble‎","bubble");case"pivotAreaChart":return{name:r("areaChart","Area"),subMenu:["pivotArea","pivotStackedArea","pivotNormalizedArea"]};case"pivotArea":return o("area","Area‎","area");case"pivotStackedArea":return o("stackedArea","Stacked‎","stackedArea");case"pivotNormalizedArea":return o("normalizedArea","100% Stacked‎","normalizedArea");case"rangeAreaChart":return{name:r("areaChart","Area"),subMenu:["rangeArea","rangeStackedArea","rangeNormalizedArea"]};case"rangeArea":return i("area","Area‎","area");case"rangeStackedArea":return i("stackedArea","Stacked‎","stackedArea");case"rangeNormalizedArea":return i("normalizedArea","100% Stacked‎","normalizedArea");case"rangeHistogramChart":return i("histogramChart","Histogram‎","histogram");case"rangeColumnLineCombo":return i("columnLineCombo","Column & Line‎","columnLineCombo");case"rangeAreaColumnCombo":return i("AreaColumnCombo","Area & Column‎","areaColumnCombo");case"rangeCombinationChart":return{name:r("combinationChart","Combination"),subMenu:["rangeColumnLineCombo","rangeAreaColumnCombo"]};default:return null}},t.prototype.createAggregationSubMenu=function(e){var t,r=this,o=this.gridOptionsWrapper.getLocaleTextFunc();if(e.isPrimary())t=e;else{var i=e.getColDef().pivotValueColumn;t=n._.exists(i)?i:void 0}var a=[];if(t){var s=t.isValueActive();this.aggFuncService.getFuncNames(t).forEach((function(e){a.push({name:o(e,e),action:function(){r.columnModel.setColumnAggFunc(t,e,"contextMenu"),r.columnModel.addValueColumn(t,"contextMenu")},checked:s&&t.getAggFunc()===e})}))}return a},v([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),v([Object(n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),v([Object(n.Optional)("clipboardService")],t.prototype,"clipboardService",void 0),v([Object(n.Optional)("aggFuncService")],t.prototype,"aggFuncService",void 0),v([Object(n.Optional)("chartService")],t.prototype,"chartService",void 0),t=v([Object(n.Bean)("menuItemMapper")],t)}(n.BeanStub),m={moduleName:n.ModuleNames.MenuModule,beans:[c,g,y],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"MasterDetailModule",(function(){return g}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(){return(s=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.loadRowDataVersion=0,t.needRefresh=!1,t}return a(t,e),t.prototype.init=function(e,t){var r=this;this.params=t,this.comp=e,null!=t.pinned||(this.setAutoHeightClasses(),this.setupRefreshStrategy(),this.addThemeToDetailGrid(),this.createDetailGrid(),this.loadRowData(),this.addManagedListener(t.node.parent,n.RowNode.EVENT_DATA_CHANGED,(function(){r.needRefresh=!0})),this.addManagedListener(this.eventService,n.Events.EVENT_FULL_WIDTH_ROW_FOCUSED,this.onFullWidthRowFocused.bind(this)))},t.prototype.onFullWidthRowFocused=function(e){var t=this.params,r={rowIndex:t.node.rowIndex,rowPinned:t.node.rowPinned},o={rowIndex:e.rowIndex,rowPinned:e.rowPinned};this.rowPositionUtils.sameRow(r,o)&&this.focusService.focusInto(this.comp.getGui(),e.fromBelow)},t.prototype.setAutoHeightClasses=function(){var e=this.gridOptionsWrapper.isDetailRowAutoHeight(),t=e?"ag-details-row-auto-height":"ag-details-row-fixed-height",r=e?"ag-details-grid-auto-height":"ag-details-grid-fixed-height";this.comp.addOrRemoveCssClass(t,!0),this.comp.addOrRemoveDetailGridCssClass(r,!0)},t.prototype.setupRefreshStrategy=function(){if(this.params.suppressRefresh)return console.warn("AG Grid: as of v23.2.0, cellRendererParams.suppressRefresh for Detail Cell Renderer is no longer used. Please set cellRendererParams.refreshStrategy = 'nothing' instead."),void(this.refreshStrategy="nothing");var e=this.params.refreshStrategy;"everything"==e||"nothing"==e||"rows"==e?this.refreshStrategy=e:(null!=e&&console.warn("AG Grid: invalid cellRendererParams.refreshStrategy = '"+e+"' supplied, defaulting to refreshStrategy = 'rows'."),this.refreshStrategy="rows")},t.prototype.addThemeToDetailGrid=function(){var e=this.environment.getTheme().theme;e&&this.comp.addOrRemoveDetailGridCssClass(e,!0)},t.prototype.createDetailGrid=function(){if(n._.missing(this.params.detailGridOptions))console.warn("AG Grid: could not find detail grid options for master detail, please set gridOptions.detailCellRendererParams.detailGridOptions");else{var e=this.gridOptionsWrapper.isDetailRowAutoHeight(),t=s({},this.params.detailGridOptions);e&&(t.domLayout="autoHeight"),this.comp.setDetailGrid(t)}},t.prototype.registerDetailWithMaster=function(e,t){var r=this.params.node.id,o=this.params.api,n={id:r,api:e,columnApi:t},i=this.params.node;o.addDetailGridInfo(r,n),i.detailGridInfo=n,this.addDestroyFunc((function(){i.detailGridInfo===n&&(o.removeDetailGridInfo(r),i.detailGridInfo=null)}))},t.prototype.loadRowData=function(){var e=this;this.loadRowDataVersion++;var t=this.loadRowDataVersion,r=this.params.getDetailRowData;if(r){r({node:this.params.node,data:this.params.node.data,successCallback:function(r){e.loadRowDataVersion===t&&e.comp.setRowData(r)},context:this.gridOptionsWrapper.getContext()})}else console.warn("AG Grid: could not find getDetailRowData for master / detail, please set gridOptions.detailCellRendererParams.getDetailRowData")},t.prototype.refresh=function(){return!this.needRefresh||"nothing"===this.refreshStrategy||(this.needRefresh=!1,"everything"!==this.refreshStrategy&&(this.loadRowData(),!0))},l([Object(n.Autowired)("environment")],t.prototype,"environment",void 0),l([Object(n.Autowired)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),l([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),t}(n.BeanStub),u=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.init=function(e){var t=this;this.params=e,this.selectAndSetTemplate();var r={addOrRemoveCssClass:function(e,r){return t.addOrRemoveCssClass(e,r)},addOrRemoveDetailGridCssClass:function(e,r){return t.eDetailGrid.classList.toggle(e,r)},setDetailGrid:function(e){return t.setDetailGrid(e)},setRowData:function(e){return t.setRowData(e)},getGui:function(){return t.eDetailGrid}};this.ctrl=this.createManagedBean(new c),this.ctrl.init(r,e)},t.prototype.refresh=function(){return this.ctrl&&this.ctrl.refresh()},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.selectAndSetTemplate=function(){var e=this;if(this.params.pinned)this.setTemplate('<div class="ag-details-row"></div>');else{var r=function(){e.setTemplate(t.TEMPLATE)};if(n._.missing(this.params.template))r();else if("string"==typeof this.params.template)this.setTemplate(this.params.template);else if("function"==typeof this.params.template){var o=(0,this.params.template)(this.params);this.setTemplate(o)}else console.warn("AG Grid: detailCellRendererParams.template should be function or string"),r();null==this.eDetailGrid&&console.warn('AG Grid: reference to eDetailGrid was missing from the details template. Please add ref="eDetailGrid" to the template.')}},t.prototype.setDetailGrid=function(e){if(this.eDetailGrid){var t=this.context.getBean("agGridReact"),r=t?n._.cloneObject(t):void 0,o=this.context.getBean("frameworkComponentWrapper"),i=this.getFrameworkOverrides();new n.Grid(this.eDetailGrid,e,{frameworkOverrides:i,providedBeanInstances:{agGridReact:r,frameworkComponentWrapper:o}}),this.detailApi=e.api,this.ctrl.registerDetailWithMaster(e.api,e.columnApi),this.addDestroyFunc((function(){e.api&&e.api.destroy()}))}},t.prototype.setRowData=function(e){this.detailApi&&this.detailApi.setRowData(e)},t.TEMPLATE='<div class="ag-details-row" role="gridcell">\n <div ref="eDetailGrid" class="ag-details-grid" role="presentation"></div>\n </div>',p([Object(n.RefSelector)("eDetailGrid")],t.prototype,"eDetailGrid",void 0),t}(n.Component),g={moduleName:n.ModuleNames.MasterDetailModule,beans:[],userComponents:[{componentName:"agDetailCellRenderer",componentClass:d}],controllers:[{controllerName:"detailCellRenderer",controllerClass:c}],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"MultiFilterModule",(function(){return h})),r.d(t,"MultiFilter",(function(){return c}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(){return(s=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){var t=e.call(this,'<div class="ag-multi-filter ag-menu-list-compact"></div>')||this;return t.filterDefs=[],t.filters=[],t.guiDestroyFuncs=[],t.activeFilterIndices=[],t.lastActivatedMenuItem=null,t.afterFiltersReadyFuncs=[],t}return a(t,e),t.prototype.postConstruct=function(){var e=this;this.initialiseTabGuard({onFocusIn:function(t){return e.onFocusIn(t)}})},t.getFilterDefs=function(e){var t=e.filters;return t&&t.length>0?t:[{filter:"agTextColumnFilter"},{filter:"agSetColumnFilter"}]},t.prototype.init=function(e){var r=this;this.params=e,this.filterDefs=t.getFilterDefs(e);var o=e.column,i=e.filterChangedCallback;this.column=o,this.filterChangedCallback=i;var a=[];return this.filterDefs.forEach((function(e,t){var o=r.createFilter(e,t);null!=o&&a.push(o)})),n.AgPromise.all(a).then((function(e){r.filters=e,r.refreshGui("columnMenu"),r.afterFiltersReadyFuncs.forEach((function(e){return e()})),r.afterFiltersReadyFuncs.length=0}))},t.prototype.refreshGui=function(e){var t=this;e!==this.lastOpenedInContainer&&(this.removeAllChildrenExceptTabGuards(),this.destroyChildren(),this.filters.forEach((function(r,o){o>0&&t.appendChild(n._.loadTemplate('<div class="ag-filter-separator"></div>'));var i,a=t.filterDefs[o],s=t.getFilterTitle(r,a);if("subMenu"===a.display&&"toolPanel"!==e)i=t.insertFilterMenu(r,s).getGui();else if("subMenu"===a.display||"accordion"===a.display){i=t.insertFilterGroup(r,s).getGui()}else i=r.getGui();t.appendChild(i)})),this.lastOpenedInContainer=e)},t.prototype.getFilterTitle=function(e,t){if(null!=t.title)return t.title;var r=e;return"function"==typeof r.getFilterTitle?r.getFilterTitle():"Filter"},t.prototype.destroyChildren=function(){this.guiDestroyFuncs.forEach((function(e){return e()})),this.guiDestroyFuncs.length=0},t.prototype.insertFilterMenu=function(e,t){var r=this,o=this.createBean(new n.AgMenuItemComponent({name:t,subMenu:e,cssClasses:["ag-multi-filter-menu-item"],isCompact:!0,isAnotherSubMenuOpen:function(){return!1}}));return o.setParentComponent(this),this.guiDestroyFuncs.push((function(){return r.destroyBean(o)})),this.addManagedListener(o,n.AgMenuItemComponent.EVENT_MENU_ITEM_ACTIVATED,(function(e){r.lastActivatedMenuItem&&r.lastActivatedMenuItem!==e.menuItem&&r.lastActivatedMenuItem.deactivate(),r.lastActivatedMenuItem=e.menuItem})),o.addGuiEventListener("focusin",(function(){return o.activate()})),o.addGuiEventListener("focusout",(function(){o.isSubMenuOpen()||o.deactivate()})),o},t.prototype.insertFilterGroup=function(e,t){var r=this,o=this.createBean(new n.AgGroupComponent({title:t,cssIdentifier:"multi-filter"}));if(this.guiDestroyFuncs.push((function(){return r.destroyBean(o)})),o.addItem(e.getGui()),o.toggleGroupExpand(!1),e.afterGuiAttached){var i={container:this.lastOpenedInContainer,suppressFocus:!0};o.addManagedListener(o,n.AgGroupComponent.EVENT_EXPANDED,(function(){return e.afterGuiAttached(i)}))}return o},t.prototype.isFilterActive=function(){return this.filters.some((function(e){return e.isFilterActive()}))},t.prototype.getLastActiveFilterIndex=function(){return this.activeFilterIndices.length>0?this.activeFilterIndices[this.activeFilterIndices.length-1]:null},t.prototype.doesFilterPass=function(e,t){var r=!0;return this.filters.forEach((function(o){r&&o!==t&&o.isFilterActive()&&(r=o.doesFilterPass(e))})),r},t.prototype.getFilterType=function(){return"multi"},t.prototype.getModelFromUi=function(){return{filterType:this.getFilterType(),filterModels:this.filters.map((function(e){var t=e;return"function"==typeof t.getModelFromUi?t.getModelFromUi():null}))}},t.prototype.getModel=function(){return this.isFilterActive()?{filterType:this.getFilterType(),filterModels:this.filters.map((function(e){return e.isFilterActive()?e.getModel():null}))}:null},t.prototype.setModel=function(e){var t=this,r=function(e,t){return new n.AgPromise((function(r){var o=e.setModel(t);o?o.then((function(){return r()})):r()}))},o=[];return null==e?o=this.filters.map((function(e,o){var n=r(e,null);return t.updateActiveList(o),n})):this.filters.forEach((function(n,i){var a=e.filterModels.length>i?e.filterModels[i]:null,s=r(n,a);o.push(s),t.updateActiveList(i)})),n.AgPromise.all(o).then((function(){}))},t.prototype.applyModel=function(){var e=!1;return this.filters.forEach((function(t){t instanceof n.ProvidedFilter&&(e=t.applyModel()||e)})),e},t.prototype.getChildFilterInstance=function(e){return this.filters[e]},t.prototype.afterGuiAttached=function(e){e&&this.refreshGui(e.container);var t=this.params.filters,r=t&&t.some((function(e){return e.display&&"inline"!==e.display}));this.executeFunctionIfExists("afterGuiAttached",s(s({},e||{}),{suppressFocus:r}));var o=this.gridOptionsWrapper.getDocument(),n=o.activeElement;r&&(n===o.body||this.getGui().contains(n))&&this.forceFocusOutOfContainer(!0)},t.prototype.onAnyFilterChanged=function(){this.executeFunctionIfExists("onAnyFilterChanged")},t.prototype.onNewRowsLoaded=function(){this.executeFunctionIfExists("onNewRowsLoaded")},t.prototype.destroy=function(){var t=this;this.filters.forEach((function(e){e.setModel(null),t.destroyBean(e)})),this.filters.length=0,this.destroyChildren(),e.prototype.destroy.call(this)},t.prototype.executeFunctionIfExists=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];n._.forEachReverse(this.filters,(function(r){var o=r[e];"function"==typeof o&&o.apply(r,t)}))},t.prototype.createFilter=function(e,t){var r,o=this,n=this.params,i=n.filterModifiedCallback,a=n.doesRowPassOtherFilter,l=s(s({},this.filterManager.createFilterParams(this.column,this.column.getColDef())),{filterModifiedCallback:i,filterChangedCallback:function(e){o.executeWhenAllFiltersReady((function(){return o.filterChanged(t,e)}))},doesRowPassOtherFilter:function(e){return a(e)&&o.doesFilterPass({node:e,data:e.data},r)}}),c=this.userComponentFactory.getFilterDetails(e,l,"agTextColumnFilter");if(!c)return null;var u=c.newAgStackInstance();return u&&u.then((function(e){return r=e})),u},t.prototype.executeWhenAllFiltersReady=function(e){this.filters&&this.filters.length>0?e():this.afterFiltersReadyFuncs.push(e)},t.prototype.updateActiveList=function(e){var t=this.filters[e];n._.removeFromArray(this.activeFilterIndices,e),t.isFilterActive()&&this.activeFilterIndices.push(e)},t.prototype.filterChanged=function(e,t){this.updateActiveList(e),this.filterChangedCallback(t);var r=this.filters[e];this.filters.forEach((function(e){e!==r&&"function"==typeof e.onAnyFilterChanged&&e.onAnyFilterChanged()}))},t.prototype.onFocusIn=function(e){return null==this.lastActivatedMenuItem||this.lastActivatedMenuItem.getGui().contains(e.target)||(this.lastActivatedMenuItem.deactivate(),this.lastActivatedMenuItem=null),!0},l([Object(n.Autowired)("filterManager")],t.prototype,"filterManager",void 0),l([Object(n.Autowired)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),l([n.PostConstruct],t.prototype,"postConstruct",null),t}(n.TabGuardComp),u=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),p=function(){return(p=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var t=e.call(this,'<div class="ag-multi-floating-filter ag-floating-filter-input"></div>')||this;return t.floatingFilters=[],t}return u(t,e),t.prototype.init=function(e){var t=this;this.params=e;var r=e.filterParams,o=[];return c.getFilterDefs(r).forEach((function(r,n){var i=p(p({},e),{parentFilterInstance:function(e){t.parentMultiFilterInstance((function(t){var r=t.getChildFilterInstance(n);null!=r&&e(r)}))}}),a=t.createFloatingFilter(r,i);null!=a&&o.push(a)})),n.AgPromise.all(o).then((function(e){e.forEach((function(e,r){t.floatingFilters.push(e);var o=e.getGui();t.appendChild(o),r>0&&n._.setDisplayed(o,!1)}))}))},t.prototype.onParentModelChanged=function(e,t){var r=this;t&&t.afterFloatingFilter||this.parentMultiFilterInstance((function(o){if(null==e)r.floatingFilters.forEach((function(e,r){e.onParentModelChanged(null,t),n._.setDisplayed(e.getGui(),0===r)}));else{var i=o.getLastActiveFilterIndex();r.floatingFilters.forEach((function(r,o){var a=e.filterModels.length>o?e.filterModels[o]:null;r.onParentModelChanged(a,t);var s=null==i?0===o:o===i;n._.setDisplayed(r.getGui(),s)}))}}))},t.prototype.destroy=function(){this.destroyBeans(this.floatingFilters),this.floatingFilters.length=0,e.prototype.destroy.call(this)},t.prototype.createFloatingFilter=function(e,t){var r=this.userComponentFactory.getDefaultFloatingFilterType(e)||"agTextColumnFloatingFilter",o=this.userComponentFactory.getFloatingFilterCompDetails(e,t,r);return o?o.newAgStackInstance():null},t.prototype.parentMultiFilterInstance=function(e){this.params.parentFilterInstance((function(t){if(!(t instanceof c))throw new Error("AG Grid - MultiFloatingFilterComp expects MultiFilter as it's parent");e(t)}))},d([Object(n.Autowired)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),t}(n.Component),h={moduleName:n.ModuleNames.MultiFilterModule,beans:[],userComponents:[{componentName:"agMultiColumnFilter",componentClass:c},{componentName:"agMultiColumnFloatingFilter",componentClass:g}],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"RichSelectModule",(function(){return d}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(t){var r=e.call(this,'<div class="ag-rich-select-row" role="presentation"></div>')||this;return r.params=t,r}return a(t,e),t.prototype.setState=function(e,t,r){this.populateWithRenderer(e,t)||this.populateWithoutRenderer(e,t),this.updateSelected(r)},t.prototype.updateSelected=function(e){this.addOrRemoveCssClass("ag-rich-select-row-selected",e)},t.prototype.populateWithoutRenderer=function(e,t){var r=null!=t?t:e;n._.exists(r)&&""!==r?this.getGui().textContent=r.toString():this.getGui().innerHTML=" "},t.prototype.populateWithRenderer=function(e,t){var r=this,o={value:e,valueFormatted:t,api:this.gridOptionsWrapper.getApi()},i=this.userComponentFactory.getCellRendererDetails(this.params,o),a=i?i.newAgStackInstance():void 0;return null!=a?n._.bindCellRendererToHtmlElement(a,this.getGui()):this.getGui().innerText=null!=o.valueFormatted?o.valueFormatted:o.value,!!a&&(a.then((function(e){r.addDestroyFunc((function(){r.getContext().destroyBean(e)}))})),!0)},s([Object(n.Autowired)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),t}(n.Component),c=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.selectionConfirmed=!1,r.searchString="",r}return c(t,e),t.prototype.init=function(e){this.params=e,this.selectedValue=e.value,this.originalSelectedValue=e.value,this.focusAfterAttached=e.cellStartedEdit;var t=n._.createIconNoSpan("smallDown",this.gridOptionsWrapper);if(t.classList.add("ag-rich-select-value-icon"),this.eValue.appendChild(t),this.virtualList=this.createManagedBean(new n.VirtualList("rich-select")),this.virtualList.setComponentCreator(this.createRowComponent.bind(this)),this.eList.appendChild(this.virtualList.getGui()),n._.exists(this.params.cellHeight)&&this.virtualList.setRowHeight(this.params.cellHeight),this.renderSelectedValue(),n._.missing(e.values))console.warn("AG Grid: richSelectCellEditor requires values for it to work");else{var r=e.values;this.virtualList.setModel({getRowCount:function(){return r.length},getRow:function(e){return r[e]}}),this.addGuiEventListener("keydown",this.onKeyDown.bind(this));var o=this.virtualList.getGui();this.addManagedListener(o,"click",this.onClick.bind(this)),this.addManagedListener(o,"mousemove",this.onMouseMove.bind(this));var i=n._.exists(e.searchDebounceDelay)?e.searchDebounceDelay:300;this.clearSearchString=n._.debounce(this.clearSearchString,i),n._.exists(e.charPress)&&this.searchText(e.charPress)}},t.prototype.onKeyDown=function(e){var t=e.key;switch(e.preventDefault(),t){case n.KeyCode.ENTER:this.onEnterKeyDown();break;case n.KeyCode.TAB:this.confirmSelection();break;case n.KeyCode.DOWN:case n.KeyCode.UP:this.onNavigationKeyPressed(e,t);break;default:this.searchText(e)}},t.prototype.confirmSelection=function(){this.selectionConfirmed=!0},t.prototype.onEnterKeyDown=function(){this.confirmSelection(),this.params.stopEditing()},t.prototype.onNavigationKeyPressed=function(e,t){e.preventDefault();var r=this.params.values.indexOf(this.selectedValue),o=t===n.KeyCode.UP?r-1:r+1;if(o>=0&&o<this.params.values.length){var i=this.params.values[o];this.setSelectedValue(i)}},t.prototype.searchText=function(e){if("string"==typeof e)this.searchString+=e,this.runSearch(),this.clearSearchString();else{var t=e.key;if(t===n.KeyCode.BACKSPACE)this.searchString=this.searchString.slice(0,-1),t="";else if(!n._.isEventFromPrintableCharacter(e))return;this.searchText(t)}},t.prototype.runSearch=function(){var e,t=this,r=this.params.values;if("number"!=typeof r[0]&&"string"!=typeof r[0]||(e=r.map(String)),"object"==typeof r[0]&&this.params.colDef.keyCreator&&(e=r.map((function(e){var r={value:e,colDef:t.params.colDef,column:t.params.column,node:t.params.node,data:t.params.data,api:t.gridOptionsWrapper.getApi(),columnApi:t.gridOptionsWrapper.getColumnApi(),context:t.gridOptionsWrapper.getContext()};return t.params.colDef.keyCreator(r)}))),e){var o=n._.fuzzySuggestions(this.searchString,e,!0,!0)[0];if(o){var i=r[e.indexOf(o)];this.setSelectedValue(i)}}},t.prototype.clearSearchString=function(){this.searchString=""},t.prototype.renderSelectedValue=function(){var e=this,t=this.params.formatValue(this.selectedValue),r=this.eValue,o={value:this.selectedValue,valueFormatted:t,api:this.gridOptionsWrapper.getApi()},i=this.userComponentFactory.getCellRendererDetails(this.params,o),a=i?i.newAgStackInstance():void 0;a?(n._.bindCellRendererToHtmlElement(a,r),a.then((function(t){e.addDestroyFunc((function(){return e.getContext().destroyBean(t)}))}))):n._.exists(this.selectedValue)?r.innerText=t:n._.clearElement(r)},t.prototype.setSelectedValue=function(e){if(this.selectedValue!==e){var t=this.params.values.indexOf(e);-1!==t&&(this.selectedValue=e,this.virtualList.ensureIndexVisible(t),this.virtualList.forEachRenderedRow((function(e,r){e.updateSelected(t===r)})),this.virtualList.focusRow(t))}},t.prototype.createRowComponent=function(e){var t=this.params.formatValue(e),r=new l(this.params);return this.getContext().createBean(r),r.setState(e,t,e===this.selectedValue),r},t.prototype.onMouseMove=function(e){var t=this.virtualList.getGui().getBoundingClientRect(),r=this.virtualList.getScrollTop(),o=e.clientY-t.top+r,n=Math.floor(o/this.virtualList.getRowHeight()),i=this.params.values[n];void 0!==i&&this.setSelectedValue(i)},t.prototype.onClick=function(){this.confirmSelection(),this.params.stopEditing()},t.prototype.afterGuiAttached=function(){var e=this.params.values.indexOf(this.selectedValue);if(this.virtualList.refresh(),e>=0&&this.virtualList.ensureIndexVisible(e),this.virtualList.refresh(),this.focusAfterAttached){var t=-1!==e?e:0;this.params.values.length?this.virtualList.focusRow(t):this.getGui().focus()}},t.prototype.getValue=function(){return this.selectionConfirmed?this.selectedValue:this.originalSelectedValue},t.TEMPLATE='<div class="ag-rich-select" tabindex="-1">\n <div ref="eValue" class="ag-rich-select-value"></div>\n <div ref="eList" class="ag-rich-select-list"></div>\n </div>',u([Object(n.Autowired)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),u([Object(n.RefSelector)("eValue")],t.prototype,"eValue",void 0),u([Object(n.RefSelector)("eList")],t.prototype,"eList",void 0),t}(n.PopupComponent),d={moduleName:n.ModuleNames.RichSelectModule,beans:[],userComponents:[{componentName:"agRichSelect",componentClass:p},{componentName:"agRichSelectCellEditor",componentClass:p}],dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"ClipboardModule",(function(){return u}));var o,n=r(0),i=r(27),a=r(25),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastPasteOperationTime=0,t.navigatorApiFailed=!1,t}return s(t,e),t.prototype.init=function(){var e=this;this.logger=this.loggerFactory.create("ClipboardService"),this.rowModel.getType()===n.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel),this.ctrlsService.whenReady((function(t){e.gridCtrl=t.gridCtrl}))},t.prototype.pasteFromClipboard=function(){var e=this;this.logger.log("pasteFromClipboard"),!this.gridOptionsWrapper.isSuppressClipboardApi()&&!this.navigatorApiFailed&&navigator.clipboard&&navigator.clipboard.readText?navigator.clipboard.readText().then(this.processClipboardData.bind(this)).catch((function(t){n._.doOnce((function(){console.warn(t),console.warn("AG Grid: Unable to use the Clipboard API (navigator.clipboard.readText()). The reason why it could not be used has been logged in the previous line. For this reason the grid has defaulted to using a workaround which doesn't perform as well. Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API")}),"clipboardApiError"),e.navigatorApiFailed=!0,e.pasteFromClipboardLegacy()})):this.pasteFromClipboardLegacy()},t.prototype.pasteFromClipboardLegacy=function(){var e=this,t=!1,r=function(r){var o=(new Date).getTime();o-e.lastPasteOperationTime<50&&(t=!0,r.preventDefault()),e.lastPasteOperationTime=o};this.executeOnTempElement((function(e){e.addEventListener("paste",r),e.focus({preventScroll:!0})}),(function(o){var n=o.value;t?e.refocusLastFocusedCell():e.processClipboardData(n),o.removeEventListener("paste",r)}))},t.prototype.refocusLastFocusedCell=function(){var e=this.focusService.getFocusedCell();e&&this.focusService.setFocusedCell({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0})},t.prototype.processClipboardData=function(e){var t=this;if(null!=e){var r=n._.stringToArray(e,this.gridOptionsWrapper.getClipboardDelimiter()),o=this.gridOptionsWrapper.getProcessDataFromClipboardFunc();if(o&&(r=o({data:r})),null!=r){this.gridOptionsWrapper.isSuppressLastEmptyLineOnPaste()&&this.removeLastLineIfBlank(r);this.doPasteOperation((function(e,o,n,i){t.rangeService&&t.rangeService.isMoreThanOneCell()&&!t.hasOnlyOneValueToPaste(r)?t.pasteIntoActiveRange(r,e,o,i):t.pasteStartingFromFocusedCell(r,e,o,n,i)}))}}},t.prototype.doPasteOperation=function(e){var t,r=this.gridOptionsWrapper.getApi(),o=this.gridOptionsWrapper.getColumnApi();if(this.eventService.dispatchEvent({type:n.Events.EVENT_PASTE_START,api:r,columnApi:o,source:"clipboard"}),this.clientSideRowModel){var i=this.gridOptionsWrapper.isAggregateOnlyChangedColumns();t=new n.ChangedPath(i,this.clientSideRowModel.getRootNode())}var a={},s=[];e(a,s,this.focusService.getFocusedCell(),t),t&&this.clientSideRowModel.doAggregate(t),this.rowRenderer.refreshCells(),this.dispatchFlashCells(a),this.fireRowChanged(s),this.refocusLastFocusedCell();var l={type:n.Events.EVENT_PASTE_END,source:"clipboard"};this.eventService.dispatchEvent(l)},t.prototype.pasteIntoActiveRange=function(e,t,r,o){var i=this,a=this.getRangeSize()%e.length!=0,s=0,l=0;this.iterateActiveRanges(!1,(function(c,u,p,d){if(d-s>=e.length){if(a)return;s+=l,l=0}var g=e[d-s];r.push(u);var h=i.gridOptionsWrapper.getProcessCellFromClipboardFunc();p.forEach((function(e,r){if(e.isCellEditable(u)&&!e.isSuppressPaste(u)){r>=g.length&&(r%=g.length);var a=i.processCell(u,e,g[r],n.Constants.EXPORT_TYPE_DRAG_COPY,h);u.setDataValue(e,a,n.Constants.SOURCE_PASTE),o&&o.addParentNode(u.parent,[e]);var s=i.cellPositionUtils.createIdFromValues(c.rowIndex,e,c.rowPinned);t[s]=!0}})),l++}))},t.prototype.pasteStartingFromFocusedCell=function(e,t,r,o,i){if(o){var a={rowIndex:o.rowIndex,rowPinned:o.rowPinned},s=this.columnModel.getDisplayedColumnsStartingAt(o.column);this.isPasteSingleValueIntoRange(e)?this.pasteSingleValueIntoRange(e,r,t,i):this.pasteMultipleValues(e,a,r,s,t,n.Constants.EXPORT_TYPE_CLIPBOARD,i)}},t.prototype.isPasteSingleValueIntoRange=function(e){return this.hasOnlyOneValueToPaste(e)&&null!=this.rangeService&&!this.rangeService.isEmpty()},t.prototype.pasteSingleValueIntoRange=function(e,t,r,o){var i=this,a=e[0][0];this.iterateActiveRanges(!1,(function(e,s,l){t.push(s),l.forEach((function(e){return i.updateCellValue(s,e,a,r,n.Constants.EXPORT_TYPE_CLIPBOARD,o)}))}))},t.prototype.hasOnlyOneValueToPaste=function(e){return 1===e.length&&1===e[0].length},t.prototype.copyRangeDown=function(){var e=this;if(this.rangeService&&!this.rangeService.isEmpty()){var t=[];this.doPasteOperation((function(r,o,i,a){var s=e.gridOptionsWrapper.getProcessCellForClipboardFunc(),l=e.gridOptionsWrapper.getProcessCellFromClipboardFunc();e.iterateActiveRanges(!0,(function(i,c,u){t.length?(o.push(c),u.forEach((function(o,s){if(o.isCellEditable(c)&&!o.isSuppressPaste(c)){var u=e.processCell(c,o,t[s],n.Constants.EXPORT_TYPE_DRAG_COPY,l);c.setDataValue(o,u,n.Constants.SOURCE_PASTE),a&&a.addParentNode(c.parent,[o]);var p=e.cellPositionUtils.createIdFromValues(i.rowIndex,o,i.rowPinned);r[p]=!0}}))):u.forEach((function(r){var o=e.processCell(c,r,e.valueService.getValue(r,c),n.Constants.EXPORT_TYPE_DRAG_COPY,s);t.push(o)}))}))}))}},t.prototype.removeLastLineIfBlank=function(e){var t=n._.last(e);if(t&&1===t.length&&""===t[0]){if(1===e.length)return;n._.removeFromArray(e,t)}},t.prototype.fireRowChanged=function(e){var t=this;this.gridOptionsWrapper.isFullRowEdit()&&e.forEach((function(e){var r={type:n.Events.EVENT_ROW_VALUE_CHANGED,node:e,data:e.data,rowIndex:e.rowIndex,rowPinned:e.rowPinned};t.eventService.dispatchEvent(r)}))},t.prototype.pasteMultipleValues=function(e,t,r,o,n,i,a){var s=this,l=t,c=null!=this.clientSideRowModel&&!this.gridOptionsWrapper.isTreeData();e.forEach((function(e){var t=function(){for(;;){if(!l)return null;var e=s.rowPositionUtils.getRowNode(l);if(l=s.cellNavigationService.getRowBelow({rowPinned:l.rowPinned,rowIndex:l.rowIndex}),null==e)return null;if(!(e.detail||e.footer||c&&e.group))return e}}();t&&(e.forEach((function(e,r){return s.updateCellValue(t,o[r],e,n,i,a)})),r.push(t))}))},t.prototype.updateCellValue=function(e,t,r,o,i,a){if(e&&t&&t.isCellEditable(e)&&!t.isSuppressPaste(e)){var s=this.processCell(e,t,r,i,this.gridOptionsWrapper.getProcessCellFromClipboardFunc());e.setDataValue(t,s,n.Constants.SOURCE_PASTE),o[this.cellPositionUtils.createIdFromValues(e.rowIndex,t,e.rowPinned)]=!0,a&&a.addParentNode(e.parent,[t])}},t.prototype.copyToClipboard=function(e){void 0===e&&(e={});var t=e.includeHeaders,r=e.includeGroupHeaders;this.logger.log("copyToClipboard: includeHeaders = "+t),null==t&&(t=this.gridOptionsWrapper.isCopyHeadersToClipboard()),null==r&&(r=this.gridOptionsWrapper.isCopyGroupHeadersToClipboard());var o={includeHeaders:t,includeGroupHeaders:r},n=!this.gridOptionsWrapper.isSuppressCopyRowsToClipboard();!this.rangeService||this.rangeService.isEmpty()||this.shouldSkipSingleCellRange()?n&&!this.selectionService.isEmpty()?this.copySelectedRowsToClipboard(o):this.focusService.isAnyCellFocused()&&this.copyFocusedCellToClipboard(o):this.copySelectedRangeToClipboard(o)},t.prototype.shouldSkipSingleCellRange=function(){return this.gridOptionsWrapper.isSuppressCopySingleCellRanges()&&!this.rangeService.isMoreThanOneCell()},t.prototype.iterateActiveRanges=function(e,t,r){var o=this;if(this.rangeService&&!this.rangeService.isEmpty()){var n=this.rangeService.getCellRanges();e?this.iterateActiveRange(n[0],t,r,!0):n.forEach((function(e,i){return o.iterateActiveRange(e,t,r,i===n.length-1)}))}},t.prototype.iterateActiveRange=function(e,t,r,o){if(this.rangeService){var n=this.rangeService.getRangeStartRow(e),i=this.rangeService.getRangeEndRow(e);r&&e.columns&&r(e.columns);for(var a=0,s=!1;!s&&null!=n;){var l=this.rowPositionUtils.getRowNode(n);s=this.rowPositionUtils.sameRow(n,i),t(n,l,e.columns,a++,s&&o),n=this.cellNavigationService.getRowBelow(n)}}},t.prototype.copySelectedRangeToClipboard=function(e){if(void 0===e&&(e={}),this.rangeService&&!this.rangeService.isEmpty()){var t=this.rangeService.areAllRangesAbleToMerge()?this.buildDataFromMergedRanges(e):this.buildDataFromRanges(e),r=t.data,o=t.cellsToFlash;this.copyDataToClipboard(r),this.dispatchFlashCells(o)}},t.prototype.buildDataFromMergedRanges=function(e){var t=this,r=new Set,o=this.rangeService.getCellRanges(),n=new Map,i=[],a={};o.forEach((function(e){e.columns.forEach((function(e){return r.add(e)}));var o=t.getRangeRowPositionsAndCellsToFlash(e),s=o.rowPositions,l=o.cellsToFlash;s.forEach((function(e){var t=e.rowIndex+"-"+(e.rowPinned||"null");n.get(t)||(n.set(t,!0),i.push(e))})),Object.assign(a,l)}));var s=this.columnModel.getAllDisplayedColumns(),l=Array.from(r);return l.sort((function(e,t){return s.indexOf(e)-s.indexOf(t)})),{data:this.buildExportParams({columns:l,rowPositions:i,includeHeaders:e.includeHeaders,includeGroupHeaders:e.includeGroupHeaders}),cellsToFlash:a}},t.prototype.buildDataFromRanges=function(e){var t=this,r=this.rangeService.getCellRanges(),o=[],n={};return r.forEach((function(r){var i=t.getRangeRowPositionsAndCellsToFlash(r),a=i.rowPositions,s=i.cellsToFlash;Object.assign(n,s),o.push(t.buildExportParams({columns:r.columns,rowPositions:a,includeHeaders:e.includeHeaders,includeGroupHeaders:e.includeGroupHeaders}))})),{data:o.join("\n"),cellsToFlash:n}},t.prototype.getRangeRowPositionsAndCellsToFlash=function(e){for(var t=this,r=[],o={},n=this.rangeService.getRangeStartRow(e),i=this.rangeService.getRangeEndRow(e),a=n;a&&(r.push(a),e.columns.forEach((function(e){var r=t.cellPositionUtils.createIdFromValues(a.rowIndex,e,a.rowPinned);o[r]=!0})),!this.rowPositionUtils.sameRow(a,i));)a=this.cellNavigationService.getRowBelow(a);return{rowPositions:r,cellsToFlash:o}},t.prototype.copyFocusedCellToClipboard=function(e){var t;void 0===e&&(e={});var r=this.focusService.getFocusedCell();if(null!=r){var o=this.cellPositionUtils.createId(r),n={rowPinned:r.rowPinned,rowIndex:r.rowIndex},i=r.column,a=this.buildExportParams({columns:[i],rowPositions:[n],includeHeaders:e.includeHeaders,includeGroupHeaders:e.includeGroupHeaders});this.copyDataToClipboard(a),this.dispatchFlashCells(((t={})[o]=!0,t))}},t.prototype.copySelectedRowsToClipboard=function(e){void 0===e&&(e={});var t=e.columnKeys,r=e.includeHeaders,o=e.includeGroupHeaders,n=this.buildExportParams({columns:t,includeHeaders:r,includeGroupHeaders:o});this.copyDataToClipboard(n)},t.prototype.buildExportParams=function(e){var t=e.columns,r=e.rowPositions,o=e.includeHeaders,n=void 0!==o&&o,i=e.includeGroupHeaders,a={columnKeys:t,rowPositions:r,skipColumnHeaders:!n,skipColumnGroupHeaders:!(void 0!==i&&i),suppressQuotes:!0,columnSeparator:this.gridOptionsWrapper.getClipboardDelimiter(),onlySelected:!r,processCellCallback:this.gridOptionsWrapper.getProcessCellForClipboardFunc(),processRowGroupCallback:function(e){return e.node.key},processHeaderCallback:this.gridOptionsWrapper.getProcessHeaderForClipboardFunc(),processGroupHeaderCallback:this.gridOptionsWrapper.getProcessGroupHeaderForClipboardFunc()};return this.csvCreator.getDataAsCsv(a,!0)},t.prototype.dispatchFlashCells=function(e){var t=this;window.setTimeout((function(){var r={type:n.Events.EVENT_FLASH_CELLS,cells:e};t.eventService.dispatchEvent(r)}),0)},t.prototype.processCell=function(e,t,r,o,n){return n?n({column:t,node:e,value:r,type:o}):r},t.prototype.copyDataToClipboard=function(e){var t=this,r=this.gridOptionsWrapper.getSendToClipboardFunc();r?r({data:e}):!this.gridOptionsWrapper.isSuppressClipboardApi()&&navigator.clipboard?navigator.clipboard.writeText(e).catch((function(r){n._.doOnce((function(){console.warn(r),console.warn("AG Grid: Unable to use the Clipboard API (navigator.clipboard.writeText()). The reason why it could not be used has been logged in the previous line. For this reason the grid has defaulted to using a workaround which doesn't perform as well. Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.")}),"clipboardApiError"),t.copyDataToClipboardLegacy(e)})):this.copyDataToClipboardLegacy(e)},t.prototype.copyDataToClipboardLegacy=function(e){var t=this;this.executeOnTempElement((function(r){var o=t.gridOptionsWrapper.getDocument(),n=o.activeElement;r.value=e||" ",r.select(),r.focus({preventScroll:!0}),o.execCommand("copy")||console.warn("AG Grid: Browser did not allow document.execCommand('copy'). Ensure api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise the browser will prevent it for security reasons."),null!=n&&null!=n.focus&&n.focus({preventScroll:!0})}))},t.prototype.executeOnTempElement=function(e,t){var r=this.gridOptionsWrapper.getDocument(),o=r.createElement("textarea");o.style.width="1px",o.style.height="1px",o.style.top=r.documentElement.scrollTop+"px",o.style.left=r.documentElement.scrollLeft+"px",o.style.position="absolute",o.style.opacity="0";var n=this.gridCtrl.getGui();n.appendChild(o);try{e(o)}catch(e){console.warn("AG Grid: Browser does not support document.execCommand('copy') for clipboard operations")}t?window.setTimeout((function(){t(o),n.removeChild(o)}),100):n.removeChild(o)},t.prototype.getRangeSize=function(){var e=this.rangeService.getCellRanges(),t=0,r=0;return e.length>0&&(t=this.rangeService.getRangeStartRow(e[0]).rowIndex,r=this.rangeService.getRangeEndRow(e[0]).rowIndex),t-r+1},l([Object(n.Autowired)("csvCreator")],t.prototype,"csvCreator",void 0),l([Object(n.Autowired)("loggerFactory")],t.prototype,"loggerFactory",void 0),l([Object(n.Autowired)("selectionService")],t.prototype,"selectionService",void 0),l([Object(n.Optional)("rangeService")],t.prototype,"rangeService",void 0),l([Object(n.Autowired)("rowModel")],t.prototype,"rowModel",void 0),l([Object(n.Autowired)("ctrlsService")],t.prototype,"ctrlsService",void 0),l([Object(n.Autowired)("valueService")],t.prototype,"valueService",void 0),l([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),l([Object(n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),l([Object(n.Autowired)("columnModel")],t.prototype,"columnModel",void 0),l([Object(n.Autowired)("cellNavigationService")],t.prototype,"cellNavigationService",void 0),l([Object(n.Autowired)("cellPositionUtils")],t.prototype,"cellPositionUtils",void 0),l([Object(n.Autowired)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),l([n.PostConstruct],t.prototype,"init",null),t=l([Object(n.Bean)("clipboardService")],t)}(n.BeanStub),u={moduleName:n.ModuleNames.ClipboardModule,beans:[c],dependantModules:[i.EnterpriseCoreModule,a.CsvExportModule]}},function(e,t,r){"use strict";r.r(t),r.d(t,"ViewportRowModelModule",(function(){return c}));var o,n=r(0),i=r(27),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.firstRow=-1,t.lastRow=-1,t.rowCount=-1,t.rowNodesByIndex={},t}return a(t,e),t.prototype.ensureRowHeightsValid=function(e,t,r,o){return!1},t.prototype.init=function(){this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.addManagedListener(this.eventService,n.Events.EVENT_VIEWPORT_CHANGED,this.onViewportChanged.bind(this))},t.prototype.start=function(){this.gridOptionsWrapper.getViewportDatasource()&&this.setViewportDatasource(this.gridOptionsWrapper.getViewportDatasource())},t.prototype.isLastRowIndexKnown=function(){return!0},t.prototype.destroyDatasource=function(){this.viewportDatasource&&(this.viewportDatasource.destroy&&this.viewportDatasource.destroy(),this.rowRenderer.datasourceChanged(),this.firstRow=-1,this.lastRow=-1)},t.prototype.calculateFirstRow=function(e){var t=this.gridOptionsWrapper.getViewportRowModelBufferSize(),r=this.gridOptionsWrapper.getViewportRowModelPageSize(),o=e-t;return o<0?0:Math.floor(o/r)*r},t.prototype.calculateLastRow=function(e){if(-1===e)return e;var t=this.gridOptionsWrapper.getViewportRowModelBufferSize(),r=this.gridOptionsWrapper.getViewportRowModelPageSize(),o=e+t,n=Math.ceil(o/r)*r,i=this.rowCount-1;return Math.min(n,i)},t.prototype.onViewportChanged=function(e){var t=this.calculateFirstRow(e.firstRow),r=this.calculateLastRow(e.lastRow);this.firstRow===t&&this.lastRow===r||(this.firstRow=t,this.lastRow=r,this.purgeRowsNotInViewport(),this.viewportDatasource&&this.viewportDatasource.setViewportRange(this.firstRow,this.lastRow))},t.prototype.purgeRowsNotInViewport=function(){var e=this;Object.keys(this.rowNodesByIndex).forEach((function(t){var r=parseInt(t,10);if(r<e.firstRow||r>e.lastRow){if(e.isRowFocused(r))return;delete e.rowNodesByIndex[r]}}))},t.prototype.isRowFocused=function(e){var t=this.focusService.getFocusCellToUseAfterRefresh();return!!t&&(null==t.rowPinned&&t.rowIndex===e)},t.prototype.setViewportDatasource=function(e){this.destroyDatasource(),this.viewportDatasource=e,this.rowCount=0,e.init?e.init({setRowCount:this.setRowCount.bind(this),setRowData:this.setRowData.bind(this),getRow:this.getRow.bind(this)}):console.warn("AG Grid: viewport is missing init method.")},t.prototype.getType=function(){return n.Constants.ROW_MODEL_TYPE_VIEWPORT},t.prototype.getRow=function(e){return this.rowNodesByIndex[e]||(this.rowNodesByIndex[e]=this.createBlankRowNode(e)),this.rowNodesByIndex[e]},t.prototype.getRowNode=function(e){var t;return this.forEachNode((function(r){r.id===e&&(t=r)})),t},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowIndexAtPixel=function(e){return 0!==this.rowHeight?Math.floor(e/this.rowHeight):0},t.prototype.getRowBounds=function(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}},t.prototype.getTopLevelRowCount=function(){return this.getRowCount()},t.prototype.getTopLevelRowDisplayedIndex=function(e){return e},t.prototype.isEmpty=function(){return this.rowCount>0},t.prototype.isRowsToRender=function(){return this.rowCount>0},t.prototype.getNodesInRangeForSelection=function(e,t){var r=n._.missing(e)?0:e.rowIndex,o=t.rowIndex,i=r<this.firstRow||r>this.lastRow,a=o<this.firstRow||o>this.lastRow;if(i||a)return[];for(var s=[],l=r<=o?o:r,c=r<=o?r:o;c<=l;c++)s.push(this.rowNodesByIndex[c]);return s},t.prototype.forEachNode=function(e){var t=this,r=0;Object.keys(this.rowNodesByIndex).forEach((function(o){var n=parseInt(o,10),i=t.rowNodesByIndex[n];e(i,r),r++}))},t.prototype.setRowData=function(e){var t=this;n._.iterateObject(e,(function(e,r){var o=parseInt(e,10);if(o>=t.firstRow&&o<=t.lastRow){var i=t.rowNodesByIndex[o];n._.missing(i)&&(i=t.createBlankRowNode(o),t.rowNodesByIndex[o]=i),i.setDataAndId(r,o.toString())}}))},t.prototype.createBlankRowNode=function(e){var t=new n.RowNode(this.beans);return t.setRowHeight(this.rowHeight),t.setRowTop(this.rowHeight*e),t.setRowIndex(e),t},t.prototype.setRowCount=function(e,t){if(void 0===t&&(t=!1),e!==this.rowCount){this.rowCount=e;var r={type:n.Events.EVENT_MODEL_UPDATED,newData:!1,newPage:!1,keepRenderedRows:t,animate:!1};this.eventService.dispatchEvent(r)}},t.prototype.isRowPresent=function(e){return!!this.getRowNode(e.id)},s([Object(n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),s([Object(n.Autowired)("focusService")],t.prototype,"focusService",void 0),s([Object(n.Autowired)("beans")],t.prototype,"beans",void 0),s([n.PostConstruct],t.prototype,"init",null),s([n.PreDestroy],t.prototype,"destroyDatasource",null),t=s([Object(n.Bean)("rowModel")],t)}(n.BeanStub),c={moduleName:n.ModuleNames.ViewportRowModelModule,rowModels:{viewport:l},dependantModules:[i.EnterpriseCoreModule]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var o=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},n=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e},i=function(){function e(){}return e.STRING_PROPERTIES=["headerName","columnGroupShow","headerClass","toolPanelClass","headerValueGetter","pivotKeys","groupId","colId","sort","initialSort","field","type","tooltipComponent","tooltipField","headerTooltip","cellClass","showRowGroup","filter","initialAggFunc","defaultAggFunc","aggFunc","pinned","initialPinned","chartDataType","cellEditorPopupPosition"],e.OBJECT_PROPERTIES=["headerGroupComponent","headerGroupComponentFramework","headerGroupComponentParams","cellStyle","cellRenderer","cellRendererParams","cellRendererFramework","cellEditor","cellEditorFramework","cellEditorParams","pinnedRowCellRendererFramework","pinnedRowCellRendererParams","filterFramework","filterParams","pivotValueColumn","headerComponent","headerComponentFramework","headerComponentParams","floatingFilterComponent","floatingFilterComponentParams","floatingFilterComponentFramework","tooltipComponent","tooltipComponentParams","tooltipComponentFramework","refData","columnsMenuParams"],e.ARRAY_PROPERTIES=["children","sortingOrder","allowedAggFuncs","menuTabs","pivotTotalColumnIds","cellClassRules","icons"],e.NUMBER_PROPERTIES=["sortedAt","sortIndex","initialSortIndex","flex","initialFlex","width","initialWidth","minWidth","maxWidth","rowGroupIndex","initialRowGroupIndex","pivotIndex","initialPivotIndex"],e.BOOLEAN_PROPERTIES=["suppressCellFlash","suppressColumnsToolPanel","suppressFiltersToolPanel","openByDefault","marryChildren","hide","initialHide","rowGroup","initialRowGroup","pivot","initialPivot","checkboxSelection","showDisabledCheckboxes","headerCheckboxSelection","headerCheckboxSelectionFilteredOnly","suppressMenu","suppressMovable","lockPosition","lockVisible","lockPinned","unSortIcon","suppressSizeToFit","suppressAutoSize","enableRowGroup","enablePivot","enableValue","editable","suppressPaste","suppressNavigable","enableCellChangeFlash","rowDrag","dndSource","autoHeight","wrapText","sortable","resizable","singleClickEdit","floatingFilter","cellEditorPopup","suppressFillHandle","wrapHeaderText","autoHeaderHeight"],e.FUNCTION_PROPERTIES=["dndSourceOnRowDrag","valueGetter","valueSetter","filterValueGetter","keyCreator","pinnedRowCellRenderer","valueFormatter","pinnedRowValueFormatter","valueParser","comparator","equals","pivotComparator","suppressKeyboardEvent","suppressHeaderKeyboardEvent","colSpan","rowSpan","getQuickFilterText","newValueHandler","onCellValueChanged","onCellClicked","onCellDoubleClicked","onCellContextMenu","rowDragText","tooltipValueGetter","tooltipComponent","tooltipComponentFramework","cellRendererSelector","cellEditorSelector"],e.ALL_PROPERTIES=n(e.ARRAY_PROPERTIES,e.OBJECT_PROPERTIES,e.STRING_PROPERTIES,e.NUMBER_PROPERTIES,e.FUNCTION_PROPERTIES,e.BOOLEAN_PROPERTIES),e.FRAMEWORK_PROPERTIES=["__ob__","__v_skip","__metadata__","mappedColumnProperties","hasChildColumns","toColDef","createColDefFromGridColumn"],e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o=r(4),n=r(48),i=r(14),a=r(10),s=r(2),l=function(){return(l=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},c=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},u=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e},p=function(){function e(){}return e.getEventCallbacks=function(){return e.EVENT_CALLBACKS||(e.EVENT_CALLBACKS=e.EVENTS.map((function(t){return e.getCallbackForEvent(t)}))),e.EVENT_CALLBACKS},e.copyAttributesToGridOptions=function(t,r,o){void 0===o&&(o=!1),"object"!=typeof t&&(t={});var n=t,i=function(e){return void 0!==r[e]};return i("groupAggFiltering")&&"function"!=typeof r.groupAggFiltering&&(n.groupAggFiltering=e.toBoolean(r.groupAggFiltering),delete r.groupAggFiltering),u(e.ARRAY_PROPERTIES,e.STRING_PROPERTIES,e.OBJECT_PROPERTIES,e.FUNCTION_PROPERTIES,e.getEventCallbacks()).filter(i).forEach((function(e){return n[e]=r[e]})),e.BOOLEAN_PROPERTIES.filter(i).forEach((function(t){return n[t]=e.toBoolean(r[t])})),e.NUMBER_PROPERTIES.filter(i).forEach((function(t){return n[t]=e.toNumber(r[t])})),t},e.getCallbackForEvent=function(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substr(1)},e.processOnChange=function(t,r,n,a){if(t){var s=l({},t),c=r,p=function(e){return s[e]};p("groupAggFiltering")&&("function"==typeof s.groupAggFiltering?c.groupAggFiltering=s.groupAggFiltering:c.groupAggFiltering=e.toBoolean(s.groupAggFiltering),delete s.groupAggFiltering),p("groupDisplayType")&&"string"==typeof s.groupDisplayType.currentValue&&(n.setGroupDisplayType(s.groupDisplayType.currentValue),delete s.groupDisplayType),s.domLayout&&(n.setDomLayout(s.domLayout.currentValue),delete s.domLayout),s.rowClass&&(n.setRowClass(s.rowClass.currentValue),delete s.rowClass),s.paginationPageSize&&(n.paginationSetPageSize(e.toNumber(s.paginationPageSize.currentValue)),delete s.paginationPageSize),s.rowGroupPanelShow&&(n.setRowGroupPanelShow(s.rowGroupPanelShow.currentValue),delete s.rowGroupPanelShow),s.groupRemoveSingleChildren&&(n.setGroupRemoveSingleChildren(e.toBoolean(s.groupRemoveSingleChildren.currentValue)),delete s.groupRemoveSingleChildren),s.groupRemoveLowestSingleChildren&&(n.setGroupRemoveLowestSingleChildren(e.toBoolean(s.groupRemoveLowestSingleChildren.currentValue)),delete s.groupRemoveLowestSingleChildren),s.suppressRowDrag&&(n.setSuppressRowDrag(e.toBoolean(s.suppressRowDrag.currentValue)),delete s.suppressRowDrag),s.suppressMoveWhenRowDragging&&(n.setSuppressMoveWhenRowDragging(e.toBoolean(s.suppressMoveWhenRowDragging.currentValue)),delete s.suppressMoveWhenRowDragging),s.suppressRowClickSelection&&(n.setSuppressRowClickSelection(e.toBoolean(s.suppressRowClickSelection.currentValue)),delete s.suppressRowClickSelection),s.suppressClipboardPaste&&(n.setSuppressClipboardPaste(e.toBoolean(s.suppressClipboardPaste.currentValue)),delete s.suppressClipboardPaste),s.headerHeight&&(n.setHeaderHeight(e.toNumber(s.headerHeight.currentValue)),delete s.headerHeight),s.pivotHeaderHeight&&(n.setPivotHeaderHeight(e.toNumber(s.pivotHeaderHeight.currentValue)),delete s.pivotHeaderHeight),s.groupHeaderHeight&&(n.setGroupHeaderHeight(e.toNumber(s.groupHeaderHeight.currentValue)),delete s.groupHeaderHeight),s.pivotGroupHeaderHeight&&(n.setPivotGroupHeaderHeight(e.toNumber(s.pivotGroupHeaderHeight.currentValue)),delete s.pivotGroupHeaderHeight),s.floatingFiltersHeight&&(n.setFloatingFiltersHeight(e.toNumber(s.floatingFiltersHeight.currentValue)),delete s.floatingFiltersHeight),s.functionsReadOnly&&(n.setFunctionsReadOnly(e.toBoolean(s.functionsReadOnly.currentValue)),delete s.functionsReadOnly),u(e.ARRAY_PROPERTIES,e.OBJECT_PROPERTIES,e.STRING_PROPERTIES,e.getEventCallbacks()).filter(p).forEach((function(e){return c[e]=s[e].currentValue})),e.BOOLEAN_PROPERTIES.filter(p).forEach((function(t){return c[t]=e.toBoolean(s[t].currentValue)})),e.NUMBER_PROPERTIES.filter(p).forEach((function(t){return c[t]=e.toNumber(s[t].currentValue)})),s.enableCellTextSelection&&(n.setEnableCellTextSelection(e.toBoolean(s.enableCellTextSelection.currentValue)),delete s.enableCellTextSelection),s.quickFilterText&&(n.setQuickFilter(s.quickFilterText.currentValue),delete s.quickFilterText),s.autoGroupColumnDef&&(n.setAutoGroupColumnDef(s.autoGroupColumnDef.currentValue,"gridOptionsChanged"),delete s.autoGroupColumnDef),s.columnDefs&&(n.setColumnDefs(s.columnDefs.currentValue,"gridOptionsChanged"),delete s.columnDefs),s.defaultColDef&&(n.setDefaultColDef(s.defaultColDef.currentValue,"gridOptionsChanged"),delete s.defaultColDef),s.pivotMode&&(a.setPivotMode(e.toBoolean(s.pivotMode.currentValue)),delete s.pivotMode);var d=n;Object.keys(s).forEach((function(e){var r="set"+e.charAt(0).toUpperCase()+e.substring(1);d[r]&&d[r](t[e].currentValue)}));var g={type:o.a.EVENT_COMPONENT_STATE_CHANGED};Object(i.iterateObject)(t,(function(e,t){g[e]=t})),n.dispatchEvent(g)}},e.toBoolean=function(e){return"boolean"==typeof e?e:"string"==typeof e&&("TRUE"===e.toUpperCase()||""==e)},e.toNumber=function(e){return"number"==typeof e?e:"string"==typeof e?Number(e):void 0},e.EVENTS=[],e.PUBLIC_EVENTS=[],e.EXCLUDED_INTERNAL_EVENTS=[],e.STRING_PROPERTIES=n.a.STRING_PROPERTIES,e.OBJECT_PROPERTIES=n.a.OBJECT_PROPERTIES,e.ARRAY_PROPERTIES=n.a.ARRAY_PROPERTIES,e.NUMBER_PROPERTIES=n.a.NUMBER_PROPERTIES,e.BOOLEAN_PROPERTIES=n.a.BOOLEAN_PROPERTIES,e.FUNCTION_PROPERTIES=n.a.FUNCTION_PROPERTIES,e.ALL_PROPERTIES=n.a.ALL_PROPERTIES,e}();p.EVENTS=Object(s.values)(o.a),p.EXCLUDED_INTERNAL_EVENTS=[o.a.EVENT_SCROLLBAR_WIDTH_CHANGED,o.a.EVENT_CHECKBOX_CHANGED,o.a.EVENT_HEIGHT_SCALE_CHANGED,o.a.EVENT_BODY_HEIGHT_CHANGED,o.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,o.a.EVENT_SCROLL_VISIBILITY_CHANGED,o.a.EVENT_COLUMN_HOVER_CHANGED,o.a.EVENT_FLASH_CELLS,o.a.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,o.a.EVENT_DISPLAYED_ROWS_CHANGED,o.a.EVENT_LEFT_PINNED_WIDTH_CHANGED,o.a.EVENT_RIGHT_PINNED_WIDTH_CHANGED,o.a.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,o.a.EVENT_POPUP_TO_FRONT,o.a.EVENT_KEYBOARD_FOCUS,o.a.EVENT_MOUSE_FOCUS,o.a.EVENT_STORE_UPDATED,o.a.EVENT_COLUMN_PANEL_ITEM_DRAG_START,o.a.EVENT_COLUMN_PANEL_ITEM_DRAG_END,o.a.EVENT_FILL_START,o.a.EVENT_FILL_END,o.a.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,o.a.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,o.a.EVENT_FULL_WIDTH_ROW_FOCUSED,o.a.EVENT_HEADER_HEIGHT_CHANGED,o.a.EVENT_COLUMN_HEADER_HEIGHT_CHANGED],p.PUBLIC_EVENTS=p.EVENTS.filter((function(e){return!Object(a.includes)(p.EXCLUDED_INTERNAL_EVENTS,e)}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(11),i=r(5),a=r(15),s=r(7),l=r(129),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return c(t,e),t.prototype.init=function(e){var t=this,r={setInnerRenderer:function(e,r){return t.setRenderDetails(e,r)},setChildCount:function(e){return t.eChildCount.innerHTML=e},addOrRemoveCssClass:function(e,r){return t.addOrRemoveCssClass(e,r)},setContractedDisplayed:function(e){return Object(i.setDisplayed)(t.eContracted,e)},setExpandedDisplayed:function(e){return Object(i.setDisplayed)(t.eExpanded,e)},setCheckboxVisible:function(e){return t.eCheckbox.classList.toggle("ag-invisible",!e)}},o=this.createManagedBean(new l.a),a=!e.colDef,s=this.getGui();o.init(r,s,this.eCheckbox,this.eExpanded,this.eContracted,this.constructor,e),a&&Object(n.setAriaRole)(s,"gridcell")},t.prototype.setRenderDetails=function(e,t){var r=this;if(e){var o=e.newAgStackInstance();if(!o)return;o.then((function(e){if(e){var t=function(){return r.context.destroyBean(e)};r.isAlive()?(r.eValue.appendChild(e.getGui()),r.addDestroyFunc(t)):t()}}))}else this.eValue.innerText=t},t.prototype.destroy=function(){this.getContext().destroyBean(this.innerCellRenderer),e.prototype.destroy.call(this)},t.prototype.refresh=function(){return!1},t.TEMPLATE='<span class="ag-cell-wrapper">\n <span class="ag-group-expanded" ref="eExpanded"></span>\n <span class="ag-group-contracted" ref="eContracted"></span>\n <span class="ag-group-checkbox ag-invisible" ref="eCheckbox"></span>\n <span class="ag-group-value" ref="eValue"></span>\n <span class="ag-group-child-count" ref="eChildCount"></span>\n </span>',u([Object(s.b)("eExpanded")],t.prototype,"eExpanded",void 0),u([Object(s.b)("eContracted")],t.prototype,"eContracted",void 0),u([Object(s.b)("eCheckbox")],t.prototype,"eCheckbox",void 0),u([Object(s.b)("eValue")],t.prototype,"eValue",void 0),u([Object(s.b)("eChildCount")],t.prototype,"eChildCount",void 0),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o,n=r(6),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(r){var o=e.call(this)||this;return o.state=t.STATE_WAITING_TO_LOAD,o.version=0,o.id=r,o}return i(t,e),t.prototype.getId=function(){return this.id},t.prototype.load=function(){this.state=t.STATE_LOADING,this.loadFromDatasource()},t.prototype.getVersion=function(){return this.version},t.prototype.setStateWaitingToLoad=function(){this.version++,this.state=t.STATE_WAITING_TO_LOAD},t.prototype.getState=function(){return this.state},t.prototype.pageLoadFailed=function(e){this.isRequestMostRecentAndLive(e)&&(this.state=t.STATE_FAILED,this.processServerFail()),this.dispatchLoadCompleted(!1)},t.prototype.success=function(e,t){this.successCommon(e,t)},t.prototype.pageLoaded=function(e,t,r){this.successCommon(e,{rowData:t,rowCount:r})},t.prototype.isRequestMostRecentAndLive=function(e){var t=e===this.version,r=this.isAlive();return t&&r},t.prototype.successCommon=function(e,r){this.dispatchLoadCompleted(),this.isRequestMostRecentAndLive(e)&&(this.state=t.STATE_LOADED,this.processServerResult(r))},t.prototype.dispatchLoadCompleted=function(e){void 0===e&&(e=!0);var r={type:t.EVENT_LOAD_COMPLETE,success:e,block:this};this.dispatchEvent(r)},t.EVENT_LOAD_COMPLETE="loadComplete",t.STATE_WAITING_TO_LOAD="needsLoading",t.STATE_LOADING="loading",t.STATE_LOADED="loaded",t.STATE_FAILED="failed",t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(2),n=function(){function e(){this.existingKeys={}}return e.prototype.addExistingKeys=function(e){for(var t=0;t<e.length;t++)this.existingKeys[e[t]]=!0},e.prototype.getUniqueKey=function(e,t){e=Object(o.toStringOrNull)(e);for(var r=0;;){var n=void 0;if(e?(n=e,0!==r&&(n+="_"+r)):t?(n=t,0!==r&&(n+="_"+r)):n=""+r,!this.existingKeys[n])return this.existingKeys[n]=!0,n;r++}},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return x}));var o,n=r(33),i=r(19),a=r(4),s=r(6),l=r(31),c=r(118),u=r(1),p=r(3),d=r(10),g=r(2),h=r(30),f=r(54),v=r(13),y=r(12),m=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e,t){return function(r,o){t(r,o,e)}},C=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},O=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},E=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(S(arguments[t]));return e},x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.primaryHeaderRowCount=0,t.secondaryHeaderRowCount=0,t.gridHeaderRowCount=0,t.displayedColumnsLeft=[],t.displayedColumnsRight=[],t.displayedColumnsCenter=[],t.displayedColumns=[],t.displayedColumnsAndGroupsMap={},t.viewportColumns=[],t.viewportColumnsHash="",t.headerViewportColumns=[],t.viewportColumnsCenter=[],t.headerViewportColumnsCenter=[],t.autoHeightActiveAtLeastOnce=!1,t.rowGroupColumns=[],t.valueColumns=[],t.pivotColumns=[],t.ready=!1,t.autoGroupsNeedBuilding=!1,t.forceRecreateAutoGroups=!1,t.pivotMode=!1,t.bodyWidth=0,t.leftWidth=0,t.rightWidth=0,t.bodyWidthDirty=!0,t.flexColsCalculatedAtLestOnce=!1,t}return m(t,e),t.prototype.init=function(){var e=this;this.suppressColumnVirtualisation=this.gridOptionsWrapper.isSuppressColumnVirtualisation();var t=this.gridOptionsWrapper.isPivotMode();this.isPivotSettingAllowed(t)&&(this.pivotMode=t),this.usingTreeData=this.gridOptionsWrapper.isTreeData(),this.addManagedListener(this.gridOptionsWrapper,y.a.PROP_GROUP_DISPLAY_TYPE,(function(){return e.onAutoGroupColumnDefChanged()})),this.addManagedListener(this.gridOptionsWrapper,y.a.PROP_AUTO_GROUP_COLUMN_DEF,(function(){return e.onAutoGroupColumnDefChanged()})),this.addManagedListener(this.gridOptionsWrapper,y.a.PROP_DEFAULT_COL_DEF,(function(){return e.onDefaultColDefChanged()}))},t.prototype.onAutoGroupColumnDefChanged=function(){this.autoGroupsNeedBuilding=!0,this.forceRecreateAutoGroups=!0,this.updateGridColumns(),this.updateDisplayedColumns("gridOptionsChanged")},t.prototype.onDefaultColDefChanged=function(){this.forceRecreateAutoGroups=!0,this.createColumnsFromColumnDefs(!0)},t.prototype.setColumnDefs=function(e,t){void 0===t&&(t="api");var r=!!this.columnDefs;this.columnDefs=e,this.createColumnsFromColumnDefs(r,t)},t.prototype.createColumnsFromColumnDefs=function(e,t){var r=this;void 0===t&&(t="api");var o=e?this.compareColumnStatesAndRaiseEvents(t):void 0;this.valueCache.expire(),this.autoGroupsNeedBuilding=!0;var n=this.primaryColumns,i=this.primaryColumnTree,a=this.columnFactory.createColumnTree(this.columnDefs,!0,i);this.primaryColumnTree=a.columnTree,this.primaryHeaderRowCount=a.treeDept+1,this.primaryColumns=this.getColumnsFromTree(this.primaryColumnTree),this.primaryColumnsMap={},this.primaryColumns.forEach((function(e){return r.primaryColumnsMap[e.getId()]=e})),this.extractRowGroupColumns(t,n),this.extractPivotColumns(t,n),this.extractValueColumns(t,n),this.ready=!0;var s=void 0===this.gridColsArePrimary;(this.gridColsArePrimary||s)&&(this.updateGridColumns(),e&&!this.gridOptionsWrapper.isMaintainColumnOrder()&&this.orderGridColumnsLikePrimary(),this.updateDisplayedColumns(t),this.checkViewportColumns()),this.dispatchEverythingChanged(t),o&&o(),this.dispatchNewColumnsLoaded()},t.prototype.dispatchNewColumnsLoaded=function(){var e={type:a.a.EVENT_NEW_COLUMNS_LOADED};this.eventService.dispatchEvent(e)},t.prototype.dispatchEverythingChanged=function(e){void 0===e&&(e="api");var t={type:a.a.EVENT_COLUMN_EVERYTHING_CHANGED,source:e};this.eventService.dispatchEvent(t)},t.prototype.orderGridColumnsLikePrimary=function(){var e=this,t=this.primaryColumns;t&&(this.gridColumns.sort((function(r,o){var n=t.indexOf(r),i=t.indexOf(o),a=n>=0,s=i>=0;return a&&s?n-i:a?1:s?-1:e.gridColumns.indexOf(r)-e.gridColumns.indexOf(o)})),this.gridColumns=this.placeLockedColumns(this.gridColumns))},t.prototype.getAllDisplayedAutoHeightCols=function(){return this.displayedAutoHeightCols},t.prototype.setViewport=function(){this.gridOptionsWrapper.isEnableRtl()?(this.viewportLeft=this.bodyWidth-this.scrollPosition-this.scrollWidth,this.viewportRight=this.bodyWidth-this.scrollPosition):(this.viewportLeft=this.scrollPosition,this.viewportRight=this.scrollWidth+this.scrollPosition)},t.prototype.getDisplayedColumnsStartingAt=function(e){for(var t=e,r=[];null!=t;)r.push(t),t=this.getDisplayedColAfter(t);return r},t.prototype.checkViewportColumns=function(){if(null!=this.displayedColumnsCenter&&this.extractViewport()){var e={type:a.a.EVENT_VIRTUAL_COLUMNS_CHANGED};this.eventService.dispatchEvent(e)}},t.prototype.setViewportPosition=function(e,t){(e!==this.scrollWidth||t!==this.scrollPosition||this.bodyWidthDirty)&&(this.scrollWidth=e,this.scrollPosition=t,this.bodyWidthDirty=!0,this.setViewport(),this.ready&&this.checkViewportColumns())},t.prototype.isPivotMode=function(){return this.pivotMode},t.prototype.isPivotSettingAllowed=function(e){return!e||!this.gridOptionsWrapper.isTreeData()||(console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'"),!1)},t.prototype.setPivotMode=function(e,t){if(void 0===t&&(t="api"),e!==this.pivotMode&&this.isPivotSettingAllowed(this.pivotMode)){this.pivotMode=e,this.autoGroupsNeedBuilding=!0,this.updateGridColumns(),this.updateDisplayedColumns(t);var r={type:a.a.EVENT_COLUMN_PIVOT_MODE_CHANGED};this.eventService.dispatchEvent(r)}},t.prototype.getSecondaryPivotColumn=function(e,t){if(Object(g.missing)(this.secondaryColumns))return null;var r=this.getPrimaryColumn(t),o=null;return this.secondaryColumns.forEach((function(t){var n=t.getColDef().pivotKeys,i=t.getColDef().pivotValueColumn;Object(d.areEqual)(n,e)&&i===r&&(o=t)})),o},t.prototype.setBeans=function(e){this.logger=e.create("columnModel")},t.prototype.setFirstRightAndLastLeftPinned=function(e){var t,r;this.gridOptionsWrapper.isEnableRtl()?(t=this.displayedColumnsLeft?this.displayedColumnsLeft[0]:null,r=this.displayedColumnsRight?Object(d.last)(this.displayedColumnsRight):null):(t=this.displayedColumnsLeft?Object(d.last)(this.displayedColumnsLeft):null,r=this.displayedColumnsRight?this.displayedColumnsRight[0]:null),this.gridColumns.forEach((function(o){o.setLastLeftPinned(o===t,e),o.setFirstRightPinned(o===r,e)}))},t.prototype.autoSizeColumns=function(e){var t=this,r=e.columns,o=e.skipHeader,n=e.skipHeaderGroups,i=e.stopAtGroup,a=e.source,s=void 0===a?"api":a;this.animationFrameService.flushAllFrames();for(var l=[],c=-1,u=null!=o?o:this.gridOptionsWrapper.isSkipHeaderOnAutoSize(),p=null!=n?n:u;0!==c;)c=0,this.actionOnGridColumns(r,(function(e){if(l.indexOf(e)>=0)return!1;var r=t.autoWidthCalculator.getPreferredWidthForColumn(e,u);if(r>0){var o=t.normaliseColumnWidth(e,r);e.setActualWidth(o,s),l.push(e),c++}return!0}),s);p||this.autoSizeColumnGroupsByColumns(r,i),this.fireColumnResizedEvent(l,!0,"autosizeColumns")},t.prototype.fireColumnResizedEvent=function(e,t,r,o){if(void 0===o&&(o=null),e&&e.length){var n={type:a.a.EVENT_COLUMN_RESIZED,columns:e,column:1===e.length?e[0]:null,flexColumns:o,finished:t,source:r};this.eventService.dispatchEvent(n)}},t.prototype.autoSizeColumn=function(e,t,r){void 0===r&&(r="api"),e&&this.autoSizeColumns({columns:[e],skipHeader:t,skipHeaderGroups:!0,source:r})},t.prototype.autoSizeColumnGroupsByColumns=function(e,t){var r,o,n,i,a,s=new Set;this.getGridColumns(e).forEach((function(e){for(var r=e.getParent();r&&r!=t;)r.isPadding()||s.add(r),r=r.getParent()}));try{for(var l=O(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{for(var p=(n=void 0,O(this.ctrlsService.getHeaderRowContainerCtrls())),d=p.next();!d.done;d=p.next()){if(a=d.value.getHeaderCtrlForColumn(u))break}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}a&&a.resizeLeafColumnsToFit()}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return[]},t.prototype.autoSizeAllColumns=function(e,t){void 0===t&&(t="api");var r=this.getAllDisplayedColumns();this.autoSizeColumns({columns:r,skipHeader:e,source:t})},t.prototype.getColumnsFromTree=function(e){var t=[],r=function(e){for(var o=0;o<e.length;o++){var n=e[o];n instanceof i.a?t.push(n):n instanceof l.a&&r(n.getChildren())}};return r(e),t},t.prototype.getAllDisplayedTrees=function(){return this.displayedTreeLeft&&this.displayedTreeRight&&this.displayedTreeCentre?this.displayedTreeLeft.concat(this.displayedTreeCentre).concat(this.displayedTreeRight):null},t.prototype.getPrimaryColumnTree=function(){return this.primaryColumnTree},t.prototype.getHeaderRowCount=function(){return this.gridHeaderRowCount},t.prototype.getDisplayedTreeLeft=function(){return this.displayedTreeLeft},t.prototype.getDisplayedTreeRight=function(){return this.displayedTreeRight},t.prototype.getDisplayedTreeCentre=function(){return this.displayedTreeCentre},t.prototype.isColumnDisplayed=function(e){return this.getAllDisplayedColumns().indexOf(e)>=0},t.prototype.getAllDisplayedColumns=function(){return this.displayedColumns},t.prototype.getViewportColumns=function(){return this.viewportColumns},t.prototype.getDisplayedLeftColumnsForRow=function(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsLeft):this.displayedColumnsLeft},t.prototype.getDisplayedRightColumnsForRow=function(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsRight):this.displayedColumnsRight},t.prototype.getDisplayedColumnsForRow=function(e,t,r,o){for(var n,i=[],a=null,s=function(s){var l,c=t[s],u=t.length-s,p=Math.min(c.getColSpan(e),u),d=[c];if(p>1){for(var g=p-1,h=1;h<=g;h++)d.push(t[s+h]);s+=g}if(r?(l=!1,d.forEach((function(e){r(e)&&(l=!0)}))):l=!0,l){if(0===i.length&&a)!!o&&o(c)&&i.push(a);i.push(c)}a=c,n=s},l=0;l<t.length;l++)s(l),l=n;return i},t.prototype.getViewportCenterColumnsForRow=function(e){var t=this;if(!this.colSpanActive)return this.viewportColumnsCenter;var r=this.suppressColumnVirtualisation?null:this.isColumnInRowViewport.bind(this);return this.getDisplayedColumnsForRow(e,this.displayedColumnsCenter,r,(function(e){var r=e.getLeft();return Object(g.exists)(r)&&r>t.viewportLeft}))},t.prototype.getAriaColumnIndex=function(e){return this.getAllGridColumns().indexOf(e)+1},t.prototype.isColumnInHeaderViewport=function(e){return!!e.isAutoHeaderHeight()||this.isColumnInRowViewport(e)},t.prototype.isColumnInRowViewport=function(e){if(e.isAutoHeight())return!0;var t=e.getLeft()||0,r=t+e.getActualWidth(),o=this.viewportLeft-200,n=this.viewportRight+200;return!(t<o&&r<o)&&!(t>n&&r>n)},t.prototype.getDisplayedColumnsLeftWidth=function(){return this.getWidthOfColsInList(this.displayedColumnsLeft)},t.prototype.getDisplayedColumnsRightWidth=function(){return this.getWidthOfColsInList(this.displayedColumnsRight)},t.prototype.updatePrimaryColumnList=function(e,t,r,o,n,i){var a=this;if(void 0===i&&(i="api"),e&&!Object(g.missingOrEmpty)(e)){var s=!1;if(e.forEach((function(e){var n=a.getPrimaryColumn(e);if(n){if(r){if(t.indexOf(n)>=0)return;t.push(n)}else{if(t.indexOf(n)<0)return;Object(d.removeFromArray)(t,n)}o(n),s=!0}})),s){this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(i);var l={type:n,columns:t,column:1===t.length?t[0]:null,source:i};this.eventService.dispatchEvent(l)}}},t.prototype.setRowGroupColumns=function(e,t){void 0===t&&(t="api"),this.autoGroupsNeedBuilding=!0,this.setPrimaryColumnList(e,this.rowGroupColumns,a.a.EVENT_COLUMN_ROW_GROUP_CHANGED,this.setRowGroupActive.bind(this),t)},t.prototype.setRowGroupActive=function(e,t,r){e!==t.isRowGroupActive()&&(t.setRowGroupActive(e,r),e&&!this.gridOptionsWrapper.isSuppressRowGroupHidesColumns()&&this.setColumnVisible(t,!1,r),e||this.gridOptionsWrapper.isSuppressMakeColumnVisibleAfterUnGroup()||this.setColumnVisible(t,!0,r))},t.prototype.addRowGroupColumn=function(e,t){void 0===t&&(t="api"),e&&this.addRowGroupColumns([e],t)},t.prototype.addRowGroupColumns=function(e,t){void 0===t&&(t="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!0,this.setRowGroupActive.bind(this,!0),a.a.EVENT_COLUMN_ROW_GROUP_CHANGED,t)},t.prototype.removeRowGroupColumns=function(e,t){void 0===t&&(t="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!1,this.setRowGroupActive.bind(this,!1),a.a.EVENT_COLUMN_ROW_GROUP_CHANGED,t)},t.prototype.removeRowGroupColumn=function(e,t){void 0===t&&(t="api"),e&&this.removeRowGroupColumns([e],t)},t.prototype.addPivotColumns=function(e,t){void 0===t&&(t="api"),this.updatePrimaryColumnList(e,this.pivotColumns,!0,(function(e){return e.setPivotActive(!0,t)}),a.a.EVENT_COLUMN_PIVOT_CHANGED,t)},t.prototype.setPivotColumns=function(e,t){void 0===t&&(t="api"),this.setPrimaryColumnList(e,this.pivotColumns,a.a.EVENT_COLUMN_PIVOT_CHANGED,(function(e,r){r.setPivotActive(e,t)}),t)},t.prototype.addPivotColumn=function(e,t){void 0===t&&(t="api"),this.addPivotColumns([e],t)},t.prototype.removePivotColumns=function(e,t){void 0===t&&(t="api"),this.updatePrimaryColumnList(e,this.pivotColumns,!1,(function(e){return e.setPivotActive(!1,t)}),a.a.EVENT_COLUMN_PIVOT_CHANGED,t)},t.prototype.removePivotColumn=function(e,t){void 0===t&&(t="api"),this.removePivotColumns([e],t)},t.prototype.setPrimaryColumnList=function(e,t,r,o,n){var i=this;t.length=0,Object(g.exists)(e)&&e.forEach((function(e){var r=i.getPrimaryColumn(e);r&&t.push(r)})),(this.primaryColumns||[]).forEach((function(e){var r=t.indexOf(e)>=0;o(r,e)})),this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(n),this.fireColumnEvent(r,t,n)},t.prototype.setValueColumns=function(e,t){void 0===t&&(t="api"),this.setPrimaryColumnList(e,this.valueColumns,a.a.EVENT_COLUMN_VALUE_CHANGED,this.setValueActive.bind(this),t)},t.prototype.setValueActive=function(e,t,r){if(e!==t.isValueActive()&&(t.setValueActive(e,r),e&&!t.getAggFunc())){var o=this.aggFuncService.getDefaultAggFunc(t);t.setAggFunc(o)}},t.prototype.addValueColumns=function(e,t){void 0===t&&(t="api"),this.updatePrimaryColumnList(e,this.valueColumns,!0,this.setValueActive.bind(this,!0),a.a.EVENT_COLUMN_VALUE_CHANGED,t)},t.prototype.addValueColumn=function(e,t){void 0===t&&(t="api"),e&&this.addValueColumns([e],t)},t.prototype.removeValueColumn=function(e,t){void 0===t&&(t="api"),this.removeValueColumns([e],t)},t.prototype.removeValueColumns=function(e,t){void 0===t&&(t="api"),this.updatePrimaryColumnList(e,this.valueColumns,!1,this.setValueActive.bind(this,!1),a.a.EVENT_COLUMN_VALUE_CHANGED,t)},t.prototype.normaliseColumnWidth=function(e,t){var r=e.getMinWidth();Object(g.exists)(r)&&t<r&&(t=r);var o=e.getMaxWidth();return Object(g.exists)(o)&&e.isGreaterThanMax(t)&&(t=o),t},t.prototype.getPrimaryOrGridColumn=function(e){return this.getPrimaryColumn(e)||this.getGridColumn(e)},t.prototype.setColumnWidths=function(e,t,r,o){var n=this;void 0===o&&(o="api");var i=[];e.forEach((function(e){var r=n.getPrimaryOrGridColumn(e.key);if(r&&(i.push({width:e.newWidth,ratios:[1],columns:[r]}),"shift"===n.gridOptionsWrapper.getColResizeDefault()&&(t=!t),t)){var o=n.getDisplayedColAfter(r);if(!o)return;var a=r.getActualWidth()-e.newWidth,s=o.getActualWidth()+a;i.push({width:s,ratios:[1],columns:[o]})}})),0!==i.length&&this.resizeColumnSets({resizeSets:i,finished:r,source:o})},t.prototype.checkMinAndMaxWidthsForSet=function(e){var t=e.columns,r=e.width,o=0,n=0,i=!0;return t.forEach((function(e){var t=e.getMinWidth();o+=t||0;var r=e.getMaxWidth();Object(g.exists)(r)&&r>0?n+=r:i=!1})),r>=o&&(!i||r<=n)},t.prototype.resizeColumnSets=function(e){var t=this,r=e.resizeSets,o=e.finished,n=e.source;if(!r||r.every((function(e){return t.checkMinAndMaxWidthsForSet(e)}))){var i=[],a=[];r.forEach((function(e){var t=e.width,r=e.columns,o=e.ratios,s={},l={};r.forEach((function(e){return a.push(e)}));for(var c=!0,u=0,p=function(){if(++u>1e3)return console.error("AG Grid: infinite loop in resizeColumnSets"),"break";c=!1;var e=[],n=0,i=t;r.forEach((function(t,r){if(l[t.getId()])i-=s[t.getId()];else{e.push(t);var a=o[r];n+=a}}));var a=1/n;e.forEach((function(r,n){var u;n===e.length-1?u=i:(u=Math.round(o[n]*t*a),i-=u);var p=r.getMinWidth(),d=r.getMaxWidth();Object(g.exists)(p)&&u<p?(u=p,l[r.getId()]=!0,c=!0):Object(g.exists)(d)&&d>0&&u>d&&(u=d,l[r.getId()]=!0,c=!0),s[r.getId()]=u}))};c;){if("break"===p())break}r.forEach((function(e){var t=s[e.getId()];e.getActualWidth()!==t&&(e.setActualWidth(t,n),i.push(e))}))}));var s=i.length>0,l=[];s&&(l=this.refreshFlexedColumns({resizingCols:a,skipSetLeft:!0}),this.setLeftValues(n),this.updateBodyWidths(),this.checkViewportColumns());var c=a.concat(l);(s||o)&&this.fireColumnResizedEvent(c,o,n,l)}else if(o){var u=r&&r.length>0?r[0].columns:null;this.fireColumnResizedEvent(u,o,n)}},t.prototype.setColumnAggFunc=function(e,t,r){if(void 0===r&&(r="api"),e){var o=this.getPrimaryColumn(e);o&&(o.setAggFunc(t),this.fireColumnEvent(a.a.EVENT_COLUMN_VALUE_CHANGED,[o],r))}},t.prototype.fireColumnEvent=function(e,t,r){var o={type:e,columns:t,column:t&&1==t.length?t[0]:null,source:r};this.eventService.dispatchEvent(o)},t.prototype.moveRowGroupColumn=function(e,t,r){void 0===r&&(r="api");var o=this.rowGroupColumns[e];this.rowGroupColumns.splice(e,1),this.rowGroupColumns.splice(t,0,o);var n={type:a.a.EVENT_COLUMN_ROW_GROUP_CHANGED,columns:this.rowGroupColumns,column:1===this.rowGroupColumns.length?this.rowGroupColumns[0]:null,source:r};this.eventService.dispatchEvent(n)},t.prototype.moveColumns=function(e,t,r){if(void 0===r&&(r="api"),this.columnAnimationService.start(),t>this.gridColumns.length-e.length)return console.warn("AG Grid: tried to insert columns in invalid location, toIndex = "+t),void console.warn("AG Grid: remember that you should not count the moving columns when calculating the new index");var o=this.getGridColumns(e);if(!!this.doesMovePassRules(o,t)){Object(d.moveInArray)(this.gridColumns,o,t),this.updateDisplayedColumns(r);var n={type:a.a.EVENT_COLUMN_MOVED,columns:o,column:1===o.length?o[0]:null,toIndex:t,source:r};this.eventService.dispatchEvent(n),this.columnAnimationService.finish()}},t.prototype.doesMovePassRules=function(e,t){var r=this.getProposedColumnOrder(e,t);return this.doesOrderPassRules(r)},t.prototype.doesOrderPassRules=function(e){return!!this.doesMovePassMarryChildren(e)&&!!this.doesMovePassLockedPositions(e)},t.prototype.getProposedColumnOrder=function(e,t){var r=this.gridColumns.slice();return Object(d.moveInArray)(r,e,t),r},t.prototype.sortColumnsLikeGridColumns=function(e){var t=this;!e||e.length<=1||(e.filter((function(e){return t.gridColumns.indexOf(e)<0})).length>0||e.sort((function(e,r){return t.gridColumns.indexOf(e)-t.gridColumns.indexOf(r)})))},t.prototype.doesMovePassLockedPositions=function(e){var t=0,r=!0;return e.forEach((function(e){var o,n=(o=e.getColDef().lockPosition)?!0===o||"left"===o?0:2:1;n<t&&(r=!1),t=n})),r},t.prototype.doesMovePassMarryChildren=function(e){var t=!0;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(r){if(r instanceof l.a){var o=r,n=o.getColGroupDef();if(n&&n.marryChildren){var i=[];o.getLeafColumns().forEach((function(t){var r=e.indexOf(t);i.push(r)})),Math.max.apply(Math,i)-Math.min.apply(Math,i)>o.getLeafColumns().length-1&&(t=!1)}}})),t},t.prototype.moveColumn=function(e,t,r){void 0===r&&(r="api"),this.moveColumns([e],t,r)},t.prototype.moveColumnByIndex=function(e,t,r){void 0===r&&(r="api");var o=this.gridColumns[e];this.moveColumn(o,t,r)},t.prototype.getColumnDefs=function(){var e=this;if(this.primaryColumns){var t=this.primaryColumns.slice();return this.gridColsArePrimary?t.sort((function(t,r){return e.gridColumns.indexOf(t)-e.gridColumns.indexOf(r)})):this.lastPrimaryOrder&&t.sort((function(t,r){return e.lastPrimaryOrder.indexOf(t)-e.lastPrimaryOrder.indexOf(r)})),this.columnDefFactory.buildColumnDefs(t,this.rowGroupColumns,this.pivotColumns)}},t.prototype.getBodyContainerWidth=function(){return this.bodyWidth},t.prototype.getContainerWidth=function(e){switch(e){case p.a.PINNED_LEFT:return this.leftWidth;case p.a.PINNED_RIGHT:return this.rightWidth;default:return this.bodyWidth}},t.prototype.updateBodyWidths=function(){var e=this.getWidthOfColsInList(this.displayedColumnsCenter),t=this.getWidthOfColsInList(this.displayedColumnsLeft),r=this.getWidthOfColsInList(this.displayedColumnsRight);if(this.bodyWidthDirty=this.bodyWidth!==e,this.bodyWidth!==e||this.leftWidth!==t||this.rightWidth!==r){this.bodyWidth=e,this.leftWidth=t,this.rightWidth=r;var o={type:a.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED};this.eventService.dispatchEvent(o)}},t.prototype.getValueColumns=function(){return this.valueColumns?this.valueColumns:[]},t.prototype.getPivotColumns=function(){return this.pivotColumns?this.pivotColumns:[]},t.prototype.isPivotActive=function(){return this.pivotColumns&&this.pivotColumns.length>0&&this.pivotMode},t.prototype.getRowGroupColumns=function(){return this.rowGroupColumns?this.rowGroupColumns:[]},t.prototype.getDisplayedCenterColumns=function(){return this.displayedColumnsCenter},t.prototype.getDisplayedLeftColumns=function(){return this.displayedColumnsLeft},t.prototype.getDisplayedRightColumns=function(){return this.displayedColumnsRight},t.prototype.getDisplayedColumns=function(e){switch(e){case p.a.PINNED_LEFT:return this.getDisplayedLeftColumns();case p.a.PINNED_RIGHT:return this.getDisplayedRightColumns();default:return this.getDisplayedCenterColumns()}},t.prototype.getAllPrimaryColumns=function(){return this.primaryColumns?this.primaryColumns.slice():null},t.prototype.getSecondaryColumns=function(){return this.secondaryColumns?this.secondaryColumns.slice():null},t.prototype.getAllColumnsForQuickFilter=function(){return this.columnsForQuickFilter},t.prototype.getAllGridColumns=function(){return this.gridColumns},t.prototype.isEmpty=function(){return Object(g.missingOrEmpty)(this.gridColumns)},t.prototype.isRowGroupEmpty=function(){return Object(g.missingOrEmpty)(this.rowGroupColumns)},t.prototype.setColumnVisible=function(e,t,r){void 0===r&&(r="api"),this.setColumnsVisible([e],t,r)},t.prototype.setColumnsVisible=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r="api"),this.applyColumnState({state:e.map((function(e){return{colId:"string"==typeof e?e:e.getColId(),hide:!t}}))},r)},t.prototype.setColumnPinned=function(e,t,r){void 0===r&&(r="api"),e&&this.setColumnsPinned([e],t,r)},t.prototype.setColumnsPinned=function(e,t,r){var o;(void 0===r&&(r="api"),"print"!==this.gridOptionsWrapper.getDomLayout())?(this.columnAnimationService.start(),o=!0===t||t===p.a.PINNED_LEFT?p.a.PINNED_LEFT:t===p.a.PINNED_RIGHT?p.a.PINNED_RIGHT:null,this.actionOnGridColumns(e,(function(e){return e.getPinned()!==o&&(e.setPinned(o),!0)}),r,(function(){return{type:a.a.EVENT_COLUMN_PINNED,pinned:o,column:null,columns:null,source:r}})),this.columnAnimationService.finish()):console.warn("Changing the column pinning status is not allowed with domLayout='print'")},t.prototype.actionOnGridColumns=function(e,t,r,o){var n=this;if(!Object(g.missingOrEmpty)(e)){var i=[];if(e.forEach((function(e){var r=n.getGridColumn(e);r&&(!1!==t(r)&&i.push(r))})),i.length&&(this.updateDisplayedColumns(r),Object(g.exists)(o)&&o)){var a=o();a.columns=i,a.column=1===i.length?i[0]:null,this.eventService.dispatchEvent(a)}}},t.prototype.getDisplayedColBefore=function(e){var t=this.getAllDisplayedColumns(),r=t.indexOf(e);return r>0?t[r-1]:null},t.prototype.getDisplayedColAfter=function(e){var t=this.getAllDisplayedColumns(),r=t.indexOf(e);return r<t.length-1?t[r+1]:null},t.prototype.getDisplayedGroupAfter=function(e){return this.getDisplayedGroupAtDirection(e,"After")},t.prototype.getDisplayedGroupBefore=function(e){return this.getDisplayedGroupAtDirection(e,"Before")},t.prototype.getDisplayedGroupAtDirection=function(e,t){for(var r=e.getProvidedColumnGroup().getLevel()+e.getPaddingLevel(),o=e.getDisplayedLeafColumns(),n="After"===t?Object(d.last)(o):o[0],i="getDisplayedCol"+t;;){var a=this[i](n);if(!a)return null;var s=this.getColumnGroupAtLevel(a,r);if(s!==e)return s}},t.prototype.getColumnGroupAtLevel=function(e,t){for(var r=e.getParent();;){if(r.getProvidedColumnGroup().getLevel()+r.getPaddingLevel()<=t)break;r=r.getParent()}return r},t.prototype.isPinningLeft=function(){return this.displayedColumnsLeft.length>0},t.prototype.isPinningRight=function(){return this.displayedColumnsRight.length>0},t.prototype.getPrimaryAndSecondaryAndAutoColumns=function(){var e;return(e=[]).concat.apply(e,E([this.primaryColumns||[],this.groupAutoColumns||[],this.secondaryColumns||[]]))},t.prototype.getPrimaryAndAutoGroupCols=function(){var e;return(e=[]).concat.apply(e,E([this.primaryColumns||[],this.groupAutoColumns||[]]))},t.prototype.getPrimaryAndSecondaryColumns=function(){var e;return(e=[]).concat.apply(e,E([this.primaryColumns||[],this.secondaryColumns||[]]))},t.prototype.createStateItemFromColumn=function(e){var t=e.isRowGroupActive()?this.rowGroupColumns.indexOf(e):null,r=e.isPivotActive()?this.pivotColumns.indexOf(e):null,o=e.isValueActive()?e.getAggFunc():null,n=null!=e.getSort()?e.getSort():null,i=null!=e.getSortIndex()?e.getSortIndex():null,a=null!=e.getFlex()&&e.getFlex()>0?e.getFlex():null;return{colId:e.getColId(),width:e.getActualWidth(),hide:!e.isVisible(),pinned:e.getPinned(),sort:n,sortIndex:i,aggFunc:o,rowGroup:e.isRowGroupActive(),rowGroupIndex:t,pivot:e.isPivotActive(),pivotIndex:r,flex:a}},t.prototype.getColumnState=function(){if(Object(g.missing)(this.primaryColumns)||!this.isAlive())return[];var e=this.getPrimaryAndSecondaryAndAutoColumns().map(this.createStateItemFromColumn.bind(this));return this.orderColumnStateList(e),e},t.prototype.orderColumnStateList=function(e){var t=Object(f.convertToMap)(this.gridColumns.map((function(e,t){return[e.getColId(),t]})));e.sort((function(e,r){return(t.has(e.colId)?t.get(e.colId):-1)-(t.has(r.colId)?t.get(r.colId):-1)}))},t.prototype.resetColumnState=function(e){void 0===e&&(e="api");var t=this.getColumnsFromTree(this.primaryColumnTree),r=[],o=1e3,n=1e3,i=[];this.groupAutoColumns&&(i=i.concat(this.groupAutoColumns)),t&&(i=i.concat(t)),i.forEach((function(e){var t=function(e,t){return null!=e?e:null!=t?t:null},i=e.getColDef(),a=t(i.sort,i.initialSort),s=t(i.sortIndex,i.initialSortIndex),l=t(i.hide,i.initialHide),c=t(i.pinned,i.initialPinned),u=t(i.width,i.initialWidth),p=t(i.flex,i.initialFlex),d=t(i.rowGroupIndex,i.initialRowGroupIndex),h=t(i.rowGroup,i.initialRowGroup);null!=d||null!=h&&0!=h||(d=null,h=null);var f=t(i.pivotIndex,i.initialPivotIndex),v=t(i.pivot,i.initialPivot);null!=f||null!=v&&0!=v||(f=null,v=null);var y=t(i.aggFunc,i.initialAggFunc),m={colId:e.getColId(),sort:a,sortIndex:s,hide:l,pinned:c,width:u,flex:p,rowGroup:h,rowGroupIndex:d,pivot:v,pivotIndex:f,aggFunc:y};Object(g.missing)(d)&&h&&(m.rowGroupIndex=o++),Object(g.missing)(f)&&v&&(m.pivotIndex=n++),r.push(m)})),this.applyColumnState({state:r,applyOrder:!0},e)},t.prototype.applyColumnState=function(e,t){var r=this;if(Object(g.missingOrEmpty)(this.primaryColumns))return!1;if(e&&e.state&&!e.state.forEach)return console.warn("AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state."),!1;var o=function(o,n,i){var a=r.compareColumnStatesAndRaiseEvents(t);r.autoGroupsNeedBuilding=!0;var s=n.slice(),l={},c={},u=[],g=[],h=0,f=r.rowGroupColumns.slice(),v=r.pivotColumns.slice();o.forEach((function(o){var n=o.colId||"";if(n.startsWith(p.a.GROUP_AUTO_COLUMN_ID))return u.push(o),void g.push(o);var a=i(n);a?(r.syncColumnWithStateItem(a,o,e.defaultState,l,c,!1,t),Object(d.removeFromArray)(s,a)):(g.push(o),h+=1)}));var y=function(o){return r.syncColumnWithStateItem(o,null,e.defaultState,l,c,!1,t)};s.forEach(y);var m=function(e,t,r,o){var n=e[r.getId()],i=e[o.getId()],a=null!=n,s=null!=i;if(a&&s)return n-i;if(a)return-1;if(s)return 1;var l=t.indexOf(r),c=t.indexOf(o),u=l>=0;return u&&c>=0?l-c:u?-1:1};r.rowGroupColumns.sort(m.bind(r,l,f)),r.pivotColumns.sort(m.bind(r,c,v)),r.updateGridColumns();var b=r.groupAutoColumns?r.groupAutoColumns.slice():[];return u.forEach((function(o){var n=r.getAutoColumn(o.colId);Object(d.removeFromArray)(b,n),r.syncColumnWithStateItem(n,o,e.defaultState,null,null,!0,t)})),b.forEach(y),r.applyOrderAfterApplyState(e),r.updateDisplayedColumns(t),r.dispatchEverythingChanged(t),a(),{unmatchedAndAutoStates:g,unmatchedCount:h}};this.columnAnimationService.start();var n=o(e.state||[],this.primaryColumns||[],(function(e){return r.getPrimaryColumn(e)})),i=n.unmatchedAndAutoStates,a=n.unmatchedCount;return(i.length>0||Object(g.exists)(e.defaultState))&&(a=o(i,this.secondaryColumns||[],(function(e){return r.getSecondaryColumn(e)})).unmatchedCount),this.columnAnimationService.finish(),0===a},t.prototype.applyOrderAfterApplyState=function(e){var t=this;if(e.applyOrder&&e.state){var r=[],o={};e.state.forEach((function(e){if(e.colId&&!o[e.colId]){var n=t.gridColumnsMap[e.colId];n&&(r.push(n),o[e.colId]=!0)}}));var n=0;this.gridColumns.forEach((function(e){var t=e.getColId();null!=o[t]||(t.startsWith(p.a.GROUP_AUTO_COLUMN_ID)?Object(d.insertIntoArray)(r,e,n++):r.push(e))})),r=this.placeLockedColumns(r),this.doesMovePassMarryChildren(r)?this.gridColumns=r:console.warn("AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.")}},t.prototype.compareColumnStatesAndRaiseEvents=function(e){var t=this,r={rowGroupColumns:this.rowGroupColumns.slice(),pivotColumns:this.pivotColumns.slice(),valueColumns:this.valueColumns.slice()},o=this.getColumnState(),n={};return o.forEach((function(e){n[e.colId]=e})),function(){if(!t.gridOptionsWrapper.isSuppressColumnStateEvents()){var i=t.getPrimaryAndSecondaryAndAutoColumns(),s=function(r,o,n,i){var a=o.map(i),s=n.map(i);if(!Object(d.areEqual)(a,s)){var l={type:r,columns:n,column:1===n.length?n[0]:null,source:e};t.eventService.dispatchEvent(l)}},l=function(e){var t=[];return i.forEach((function(r){var o=n[r.getColId()];o&&e(o,r)&&t.push(r)})),t},c=function(e){return e.getColId()};s(a.a.EVENT_COLUMN_ROW_GROUP_CHANGED,r.rowGroupColumns,t.rowGroupColumns,c),s(a.a.EVENT_COLUMN_PIVOT_CHANGED,r.pivotColumns,t.pivotColumns,c);l((function(e,t){var r=null!=e.aggFunc,o=r!=t.isValueActive(),n=r&&e.aggFunc!=t.getAggFunc();return o||n})).length>0&&t.fireColumnEvent(a.a.EVENT_COLUMN_VALUE_CHANGED,t.valueColumns,e);t.fireColumnResizedEvent(l((function(e,t){return e.width!=t.getActualWidth()})),!0,e);t.raiseColumnPinnedEvent(l((function(e,t){return e.pinned!=t.getPinned()})),e);t.raiseColumnVisibleEvent(l((function(e,t){return e.hide==t.isVisible()})),e);l((function(e,t){return e.sort!=t.getSort()||e.sortIndex!=t.getSortIndex()})).length>0&&t.sortController.dispatchSortChangedEvents(e),t.raiseColumnMovedEvent(o,e)}}},t.prototype.raiseColumnPinnedEvent=function(e,t){if(e.length){var r=1===e.length?e[0]:null,o=this.getCommonValue(e,(function(e){return e.getPinned()})),n={type:a.a.EVENT_COLUMN_PINNED,pinned:null!=o?o:null,columns:e,column:r,source:t};this.eventService.dispatchEvent(n)}},t.prototype.getCommonValue=function(e,t){if(e&&0!=e.length){for(var r=t(e[0]),o=1;o<e.length;o++)if(r!==t(e[o]))return;return r}},t.prototype.raiseColumnVisibleEvent=function(e,t){if(e.length){var r=1===e.length?e[0]:null,o=this.getCommonValue(e,(function(e){return e.isVisible()})),n={type:a.a.EVENT_COLUMN_VISIBLE,visible:o,columns:e,column:r,source:t};this.eventService.dispatchEvent(n)}},t.prototype.raiseColumnMovedEvent=function(e,t){var r=this,o=this.getColumnState(),n={};o.forEach((function(e){return n[e.colId]=e}));var i={};e.forEach((function(e){n[e.colId]&&(i[e.colId]=!0)}));var s=e.filter((function(e){return i[e.colId]})),l=o.filter((function(e){return i[e.colId]})),c=[];if(l.forEach((function(e,t){var o=s&&s[t];if(o&&o.colId!==e.colId){var n=r.getGridColumn(o.colId);n&&c.push(n)}})),c.length){var u={type:a.a.EVENT_COLUMN_MOVED,columns:c,column:null,source:t};this.eventService.dispatchEvent(u)}},t.prototype.syncColumnWithStateItem=function(e,t,r,o,n,i,a){if(e){var s=function(e,o){var n={value1:void 0,value2:void 0},i=!1;return t&&(void 0!==t[e]&&(n.value1=t[e],i=!0),Object(g.exists)(o)&&void 0!==t[o]&&(n.value2=t[o],i=!0)),!i&&r&&(void 0!==r[e]&&(n.value1=r[e]),Object(g.exists)(o)&&void 0!==r[o]&&(n.value2=r[o])),n},l=s("hide").value1;void 0!==l&&e.setVisible(!l,a);var c=s("pinned").value1;void 0!==c&&e.setPinned(c);var u=this.columnUtils.calculateColMinWidth(e.getColDef()),h=s("flex").value1;if(void 0!==h&&e.setFlex(h),e.getFlex()<=0){var f=s("width").value1;null!=f&&null!=u&&f>=u&&e.setActualWidth(f,a)}var v=s("sort").value1;void 0!==v&&(v===p.a.SORT_DESC||v===p.a.SORT_ASC?e.setSort(v,a):e.setSort(void 0,a));var y=s("sortIndex").value1;if(void 0!==y&&e.setSortIndex(y),!i&&e.isPrimary()){var m=s("aggFunc").value1;void 0!==m&&("string"==typeof m?(e.setAggFunc(m),e.isValueActive()||(e.setValueActive(!0,a),this.valueColumns.push(e))):(Object(g.exists)(m)&&console.warn("AG Grid: stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it is intended for the column state to be stored and retrieved as simple JSON."),e.isValueActive()&&(e.setValueActive(!1,a),Object(d.removeFromArray)(this.valueColumns,e))));var b=s("rowGroup","rowGroupIndex"),w=b.value1,C=b.value2;void 0===w&&void 0===C||("number"==typeof C||w?(e.isRowGroupActive()||(e.setRowGroupActive(!0,a),this.rowGroupColumns.push(e)),o&&"number"==typeof C&&(o[e.getId()]=C)):e.isRowGroupActive()&&(e.setRowGroupActive(!1,a),Object(d.removeFromArray)(this.rowGroupColumns,e)));var O=s("pivot","pivotIndex"),S=O.value1,E=O.value2;void 0===S&&void 0===E||("number"==typeof E||S?(e.isPivotActive()||(e.setPivotActive(!0,a),this.pivotColumns.push(e)),n&&"number"==typeof E&&(n[e.getId()]=E)):e.isPivotActive()&&(e.setPivotActive(!1,a),Object(d.removeFromArray)(this.pivotColumns,e)))}}},t.prototype.getGridColumns=function(e){return this.getColumns(e,this.getGridColumn.bind(this))},t.prototype.getColumns=function(e,t){var r=[];return e&&e.forEach((function(e){var o=t(e);o&&r.push(o)})),r},t.prototype.getColumnWithValidation=function(e){if(null==e)return null;var t=this.getGridColumn(e);return t||console.warn("AG Grid: could not find column "+e),t},t.prototype.getPrimaryColumn=function(e){return this.primaryColumns?this.getColumn(e,this.primaryColumns,this.primaryColumnsMap):null},t.prototype.getGridColumn=function(e){return this.getColumn(e,this.gridColumns,this.gridColumnsMap)},t.prototype.getSecondaryColumn=function(e){return this.secondaryColumns?this.getColumn(e,this.secondaryColumns,this.secondaryColumnsMap):null},t.prototype.getColumn=function(e,t,r){if(!e)return null;if("string"==typeof e&&r[e])return r[e];for(var o=0;o<t.length;o++)if(this.columnsMatch(t[o],e))return t[o];return this.getAutoColumn(e)},t.prototype.getSourceColumnsForGroupColumn=function(e){var t=e.getColDef().showRowGroup;if(!t)return null;if(!0===t)return this.rowGroupColumns.slice(0);var r=this.getPrimaryColumn(t);return r?[r]:null},t.prototype.getAutoColumn=function(e){var t=this;return this.groupAutoColumns&&Object(g.exists)(this.groupAutoColumns)&&!Object(g.missing)(this.groupAutoColumns)&&this.groupAutoColumns.find((function(r){return t.columnsMatch(r,e)}))||null},t.prototype.columnsMatch=function(e,t){var r=e===t,o=e.getColDef()===t,n=e.getColId()==t;return r||o||n},t.prototype.getDisplayNameForColumn=function(e,t,r){if(void 0===r&&(r=!1),!e)return null;var o=this.getHeaderName(e.getColDef(),e,null,null,t);return r?this.wrapHeaderNameWithAggFunc(e,o):o},t.prototype.getDisplayNameForProvidedColumnGroup=function(e,t,r){var o=t?t.getColGroupDef():null;return o?this.getHeaderName(o,null,e,t,r):null},t.prototype.getDisplayNameForColumnGroup=function(e,t){return this.getDisplayNameForProvidedColumnGroup(e,e.getProvidedColumnGroup(),t)},t.prototype.getHeaderName=function(e,t,r,o,n){var i=e.headerValueGetter;if(i){var a={colDef:e,column:t,columnGroup:r,providedColumnGroup:o,location:n,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};return"function"==typeof i?i(a):"string"==typeof i?this.expressionService.evaluate(i,a):(console.warn("ag-grid: headerValueGetter must be a function or a string"),"")}return null!=e.headerName?e.headerName:e.field?Object(h.camelCaseToHumanText)(e.field):""},t.prototype.wrapHeaderNameWithAggFunc=function(e,t){if(this.gridOptionsWrapper.isSuppressAggFuncInHeader())return t;var r,o=e.getColDef().pivotValueColumn,n=null;if(Object(g.exists)(o)){var i=this.gridOptionsWrapper.isRemovePivotHeaderRowWhenSingleValueColumn()&&1===this.valueColumns.length,a=void 0!==e.getColDef().pivotTotalColumnIds;if(i&&!a)return t;n=o?o.getAggFunc():null,r=!0}else{var s=e.isValueActive(),l=this.pivotMode||!this.isRowGroupEmpty();s&&l?(n=e.getAggFunc(),r=!0):r=!1}if(r){var c="string"==typeof n?n:"func";return this.gridOptionsWrapper.getLocaleTextFunc()(c,c)+"("+t+")"}return t},t.prototype.getColumnGroup=function(e,t){if(!e)return null;if(e instanceof n.a)return e;var r=this.getAllDisplayedTrees(),o="number"==typeof t,i=null;return this.columnUtils.depthFirstAllColumnTreeSearch(r,(function(r){if(r instanceof n.a){var a=r;(o?e===a.getGroupId()&&t===a.getInstanceId():e===a.getGroupId())&&(i=a)}})),i},t.prototype.isReady=function(){return this.ready},t.prototype.extractValueColumns=function(e,t){this.valueColumns=this.extractColumns(t,this.valueColumns,(function(t,r){return t.setValueActive(r,e)}),(function(){}),(function(){}),(function(e){var t=e.aggFunc;return null===t||""===t?null:void 0!==t?!!t:void 0}),(function(e){return null!=e.initialAggFunc&&""!=e.initialAggFunc})),this.valueColumns.forEach((function(e){var t=e.getColDef();null!=t.aggFunc&&""!=t.aggFunc?e.setAggFunc(t.aggFunc):e.getAggFunc()||e.setAggFunc(t.initialAggFunc)}))},t.prototype.extractRowGroupColumns=function(e,t){this.rowGroupColumns=this.extractColumns(t,this.rowGroupColumns,(function(t,r){return t.setRowGroupActive(r,e)}),(function(e){return e.rowGroupIndex}),(function(e){return e.initialRowGroupIndex}),(function(e){return e.rowGroup}),(function(e){return e.initialRowGroup}))},t.prototype.extractColumns=function(e,t,r,o,n,i,a){void 0===e&&(e=[]),void 0===t&&(t=[]);var s=[],l=[];(this.primaryColumns||[]).forEach((function(r){var c=e.indexOf(r)<0,u=r.getColDef(),p=Object(g.attrToBoolean)(i(u)),d=Object(g.attrToBoolean)(a(u)),h=Object(g.attrToNumber)(o(u)),f=Object(g.attrToNumber)(n(u));(void 0!==p?p:void 0!==h?null!==h&&h>=0:c?void 0!==d?d:!!(void 0!==f)&&(null!=f&&f>=0):t.indexOf(r)>=0)&&((c?null!=h||null!=f:null!=h)?s.push(r):l.push(r))}));var c=function(e){var t=o(e.getColDef()),r=n(e.getColDef());return null!=t?t:r};s.sort((function(e,t){var r=c(e),o=c(t);return r===o?0:r<o?-1:1}));var u=[].concat(s);return t.forEach((function(e){l.indexOf(e)>=0&&u.push(e)})),l.forEach((function(e){u.indexOf(e)<0&&u.push(e)})),t.forEach((function(e){u.indexOf(e)<0&&r(e,!1)})),u.forEach((function(e){t.indexOf(e)<0&&r(e,!0)})),u},t.prototype.extractPivotColumns=function(e,t){this.pivotColumns=this.extractColumns(t,this.pivotColumns,(function(t,r){return t.setPivotActive(r,e)}),(function(e){return e.pivotIndex}),(function(e){return e.initialPivotIndex}),(function(e){return e.pivot}),(function(e){return e.initialPivot}))},t.prototype.resetColumnGroupState=function(e){void 0===e&&(e="api");var t=[];this.columnUtils.depthFirstOriginalTreeSearch(null,this.primaryColumnTree,(function(e){if(e instanceof l.a){var r=e.getColGroupDef(),o={groupId:e.getGroupId(),open:r?r.openByDefault:void 0};t.push(o)}})),this.setColumnGroupState(t,e)},t.prototype.getColumnGroupState=function(){var e=[];return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(t){t instanceof l.a&&e.push({groupId:t.getGroupId(),open:t.isExpanded()})})),e},t.prototype.setColumnGroupState=function(e,t){var r=this;void 0===t&&(t="api"),this.columnAnimationService.start();var o=[];e.forEach((function(e){var t=e.groupId,n=e.open,i=r.getProvidedColumnGroup(t);i&&i.isExpanded()!==n&&(r.logger.log("columnGroupOpened("+i.getGroupId()+","+n+")"),i.setExpanded(n),o.push(i))})),this.updateGroupsAndDisplayedColumns(t),this.setFirstRightAndLastLeftPinned(t),o.forEach((function(e){var t={type:a.a.EVENT_COLUMN_GROUP_OPENED,columnGroup:e};r.eventService.dispatchEvent(t)})),this.columnAnimationService.finish()},t.prototype.setColumnGroupOpened=function(e,t,r){var o;void 0===r&&(r="api"),o=e instanceof l.a?e.getId():e||"",this.setColumnGroupState([{groupId:o,open:t}],r)},t.prototype.getProvidedColumnGroup=function(e){"string"!=typeof e&&console.error("AG Grid: group key must be a string");var t=null;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(r){r instanceof l.a&&r.getId()===e&&(t=r)})),t},t.prototype.calculateColumnsForDisplay=function(){var e=this;return this.pivotMode&&Object(g.missing)(this.secondaryColumns)?this.gridColumns.filter((function(t){var r=e.groupAutoColumns&&Object(d.includes)(e.groupAutoColumns,t),o=e.valueColumns&&Object(d.includes)(e.valueColumns,t);return r||o})):this.gridColumns.filter((function(t){return e.groupAutoColumns&&Object(d.includes)(e.groupAutoColumns,t)||t.isVisible()}))},t.prototype.checkColSpanActiveInCols=function(e){var t=!1;return e.forEach((function(e){Object(g.exists)(e.getColDef().colSpan)&&(t=!0)})),t},t.prototype.calculateColumnsForGroupDisplay=function(){var e=this;this.groupDisplayColumns=[],this.groupDisplayColumnsMap={};var t=function(t){var r=t.getColDef(),o=r.showRowGroup;r&&Object(g.exists)(o)&&(e.groupDisplayColumns.push(t),"string"==typeof o?e.groupDisplayColumnsMap[o]=t:!0===o&&e.getRowGroupColumns().forEach((function(r){e.groupDisplayColumnsMap[r.getId()]=t})))};this.gridColumns.forEach(t),this.groupAutoColumns&&this.groupAutoColumns.forEach(t)},t.prototype.getGroupDisplayColumns=function(){return this.groupDisplayColumns},t.prototype.getGroupDisplayColumnForGroup=function(e){return this.groupDisplayColumnsMap[e]},t.prototype.updateDisplayedColumns=function(e){var t=this.calculateColumnsForDisplay();this.buildDisplayedTrees(t),this.calculateColumnsForGroupDisplay(),this.updateGroupsAndDisplayedColumns(e),this.setFirstRightAndLastLeftPinned(e)},t.prototype.isSecondaryColumnsPresent=function(){return Object(g.exists)(this.secondaryColumns)},t.prototype.setSecondaryColumns=function(e,t){var r=this;void 0===t&&(t="api");var o=e&&e.length>0;if(o||!Object(g.missing)(this.secondaryColumns)){if(o){this.processSecondaryColumnDefinitions(e);var n=this.columnFactory.createColumnTree(e,!1,this.secondaryBalancedTree||this.previousSecondaryColumns||void 0);this.secondaryBalancedTree=n.columnTree,this.secondaryHeaderRowCount=n.treeDept+1,this.secondaryColumns=this.getColumnsFromTree(this.secondaryBalancedTree),this.secondaryColumnsMap={},this.secondaryColumns.forEach((function(e){return r.secondaryColumnsMap[e.getId()]=e})),this.previousSecondaryColumns=null}else this.previousSecondaryColumns=this.secondaryBalancedTree,this.secondaryBalancedTree=null,this.secondaryHeaderRowCount=-1,this.secondaryColumns=null,this.secondaryColumnsMap={};this.updateGridColumns(),this.updateDisplayedColumns(t)}},t.prototype.processSecondaryColumnDefinitions=function(e){var t=this.gridOptionsWrapper.getProcessPivotResultColDefFunc(),r=this.gridOptionsWrapper.getProcessPivotResultColGroupDefFunc();if(t||r){var o=function(e){e.forEach((function(e){if(Object(g.exists)(e.children)){var n=e;r&&r(n),o(n.children)}else{t&&t(e)}}))};e&&o(e)}},t.prototype.updateGridColumns=function(){var e=this,t=this.gridBalancedTree;this.gridColsArePrimary?this.lastPrimaryOrder=this.gridColumns:this.lastSecondaryOrder=this.gridColumns;var r=void 0;if(this.secondaryColumns&&this.secondaryBalancedTree){var o=this.secondaryColumns.every((function(t){return void 0!==e.gridColumnsMap[t.getColId()]}));this.gridBalancedTree=this.secondaryBalancedTree.slice(),this.gridHeaderRowCount=this.secondaryHeaderRowCount,this.gridColumns=this.secondaryColumns.slice(),this.gridColsArePrimary=!1,o&&(r=this.lastSecondaryOrder)}else this.primaryColumns&&(this.gridBalancedTree=this.primaryColumnTree.slice(),this.gridHeaderRowCount=this.primaryHeaderRowCount,this.gridColumns=this.primaryColumns.slice(),this.gridColsArePrimary=!0,r=this.lastPrimaryOrder);if(this.createGroupAutoColumnsIfNeeded()&&r){var n=Object(f.convertToMap)(this.groupAutoColumns.map((function(e){return[e,!0]})));r=r.filter((function(e){return!n.has(e)})),r=E(this.groupAutoColumns,r)}if(this.addAutoGroupToGridColumns(),this.orderGridColsLike(r),this.gridColumns=this.placeLockedColumns(this.gridColumns),this.setupQuickFilterColumns(),this.clearDisplayedAndViewportColumns(),this.colSpanActive=this.checkColSpanActiveInCols(this.gridColumns),this.gridColumnsMap={},this.gridColumns.forEach((function(t){return e.gridColumnsMap[t.getId()]=t})),this.setAutoHeightActive(),!Object(d.areEqual)(t,this.gridBalancedTree)){var i={type:a.a.EVENT_GRID_COLUMNS_CHANGED};this.eventService.dispatchEvent(i)}},t.prototype.setAutoHeightActive=function(){if(this.autoHeightActive=this.gridColumns.filter((function(e){return e.isAutoHeight()})).length>0,this.autoHeightActive){this.autoHeightActiveAtLeastOnce=!0;var e=this.rowModel.getType();if(!(e===p.a.ROW_MODEL_TYPE_CLIENT_SIDE||e===p.a.ROW_MODEL_TYPE_SERVER_SIDE)){Object(v.doOnce)((function(){return console.warn("AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.")}),"autoHeightActive.wrongRowModel")}}},t.prototype.orderGridColsLike=function(e){if(!Object(g.missing)(e)){var t=Object(f.convertToMap)(e.map((function(e,t){return[e,t]}))),r=!0;if(this.gridColumns.forEach((function(e){t.has(e)&&(r=!1)})),!r){var o=Object(f.convertToMap)(this.gridColumns.map((function(e){return[e,!0]}))),n=e.filter((function(e){return o.has(e)})),i=Object(f.convertToMap)(n.map((function(e){return[e,!0]}))),a=this.gridColumns.filter((function(e){return!i.has(e)})),s=n.slice();a.forEach((function(e){var t=e.getOriginalParent();if(t){for(var r=[];!r.length&&t;){t.getLeafColumns().forEach((function(e){var t=s.indexOf(e)>=0,o=r.indexOf(e)<0;t&&o&&r.push(e)})),t=t.getOriginalParent()}if(r.length){var o=r.map((function(e){return s.indexOf(e)})),n=Math.max.apply(Math,E(o));Object(d.insertIntoArray)(s,e,n+1)}else s.push(e)}else s.push(e)})),this.gridColumns=s}}},t.prototype.isPrimaryColumnGroupsPresent=function(){return this.primaryHeaderRowCount>1},t.prototype.setupQuickFilterColumns=function(){this.groupAutoColumns?this.columnsForQuickFilter=(this.primaryColumns||[]).concat(this.groupAutoColumns):this.primaryColumns&&(this.columnsForQuickFilter=this.primaryColumns)},t.prototype.placeLockedColumns=function(e){var t=[],r=[],o=[];return e.forEach((function(e){var n=e.getColDef().lockPosition;"right"===n?o.push(e):"left"===n||!0===n?t.push(e):r.push(e)})),E(t,r,o)},t.prototype.addAutoGroupToGridColumns=function(){if(!Object(g.missing)(this.groupAutoColumns)){this.gridColumns=this.groupAutoColumns?this.groupAutoColumns.concat(this.gridColumns):this.gridColumns;var e=this.columnFactory.createForAutoGroups(this.groupAutoColumns,this.gridBalancedTree);this.gridBalancedTree=e.concat(this.gridBalancedTree)}},t.prototype.clearDisplayedAndViewportColumns=function(){this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={},this.displayedColumnsLeft=[],this.displayedColumnsRight=[],this.displayedColumnsCenter=[],this.displayedColumns=[],this.viewportColumns=[],this.headerViewportColumns=[],this.viewportColumnsHash=""},t.prototype.updateGroupsAndDisplayedColumns=function(e){this.updateOpenClosedVisibilityInColumnGroups(),this.deriveDisplayedColumns(e),this.refreshFlexedColumns(),this.extractViewport(),this.updateBodyWidths();var t={type:a.a.EVENT_DISPLAYED_COLUMNS_CHANGED};this.eventService.dispatchEvent(t)},t.prototype.deriveDisplayedColumns=function(e){this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeLeft,this.displayedColumnsLeft),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeCentre,this.displayedColumnsCenter),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeRight,this.displayedColumnsRight),this.joinDisplayedColumns(),this.setLeftValues(e),this.displayedAutoHeightCols=this.displayedColumns.filter((function(e){return e.isAutoHeight()}))},t.prototype.isAutoRowHeightActive=function(){return this.autoHeightActive},t.prototype.wasAutoRowHeightEverActive=function(){return this.autoHeightActiveAtLeastOnce},t.prototype.joinDisplayedColumns=function(){this.gridOptionsWrapper.isEnableRtl()?this.displayedColumns=this.displayedColumnsRight.concat(this.displayedColumnsCenter).concat(this.displayedColumnsLeft):this.displayedColumns=this.displayedColumnsLeft.concat(this.displayedColumnsCenter).concat(this.displayedColumnsRight)},t.prototype.setLeftValues=function(e){this.setLeftValuesOfColumns(e),this.setLeftValuesOfGroups()},t.prototype.setLeftValuesOfColumns=function(e){var t=this;if(this.primaryColumns){var r=this.primaryColumns.slice(0),o=this.gridOptionsWrapper.isEnableRtl();[this.displayedColumnsLeft,this.displayedColumnsRight,this.displayedColumnsCenter].forEach((function(n){if(o){var i=t.getWidthOfColsInList(n);n.forEach((function(t){i-=t.getActualWidth(),t.setLeft(i,e)}))}else{var a=0;n.forEach((function(t){t.setLeft(a,e),a+=t.getActualWidth()}))}Object(d.removeAllFromArray)(r,n)})),r.forEach((function(t){t.setLeft(null,e)}))}},t.prototype.setLeftValuesOfGroups=function(){[this.displayedTreeLeft,this.displayedTreeRight,this.displayedTreeCentre].forEach((function(e){e.forEach((function(e){e instanceof n.a&&e.checkLeft()}))}))},t.prototype.derivedDisplayedColumnsFromDisplayedTree=function(e,t){t.length=0,this.columnUtils.depthFirstDisplayedColumnTreeSearch(e,(function(e){e instanceof i.a&&t.push(e)}))},t.prototype.extractViewportColumns=function(){this.suppressColumnVirtualisation?(this.viewportColumnsCenter=this.displayedColumnsCenter,this.headerViewportColumnsCenter=this.displayedColumnsCenter):(this.viewportColumnsCenter=this.displayedColumnsCenter.filter(this.isColumnInRowViewport.bind(this)),this.headerViewportColumnsCenter=this.displayedColumnsCenter.filter(this.isColumnInHeaderViewport.bind(this))),this.viewportColumns=this.viewportColumnsCenter.concat(this.displayedColumnsLeft).concat(this.displayedColumnsRight),this.headerViewportColumns=this.headerViewportColumnsCenter.concat(this.displayedColumnsLeft).concat(this.displayedColumnsRight)},t.prototype.getVirtualHeaderGroupRow=function(e,t){var r;switch(e){case p.a.PINNED_LEFT:r=this.viewportRowLeft[t];break;case p.a.PINNED_RIGHT:r=this.viewportRowRight[t];break;default:r=this.viewportRowCenter[t]}return Object(g.missing)(r)&&(r=[]),r},t.prototype.calculateHeaderRows=function(){this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={};var e={};this.headerViewportColumns.forEach((function(t){return e[t.getId()]=!0}));var t=function(r,o,n){for(var a=!1,s=0;s<r.length;s++){var l=r[s],c=!1;if(l instanceof i.a)c=!0===e[l.getId()];else{var u=l.getDisplayedChildren();u&&(c=t(u,o,n+1))}c&&(a=!0,o[n]||(o[n]=[]),o[n].push(l))}return a};t(this.displayedTreeLeft,this.viewportRowLeft,0),t(this.displayedTreeRight,this.viewportRowRight,0),t(this.displayedTreeCentre,this.viewportRowCenter,0)},t.prototype.extractViewport=function(){this.extractViewportColumns();var e=this.viewportColumns.map((function(e){return e.getId()+"-"+(e.getPinned()||"normal")})).join("#"),t=this.viewportColumnsHash!==e;return t&&(this.viewportColumnsHash=e,this.calculateHeaderRows()),t},t.prototype.refreshFlexedColumns=function(e){var t=this;void 0===e&&(e={});var r=e.source?e.source:"flex";if(null!=e.viewportWidth&&(this.flexViewportWidth=e.viewportWidth),!this.flexViewportWidth)return[];var o=-1;e.resizingCols&&e.resizingCols.forEach((function(e){var r=t.displayedColumnsCenter.indexOf(e);o<r&&(o=r)}));var n=function(e){var r=t.displayedColumnsCenter.indexOf(e)>o;return e.getFlex()&&r},i=this.displayedColumnsCenter.filter((function(e){return!n(e)})),a=this.displayedColumnsCenter.filter((function(e){return n(e)})),s=[];if(!a.length)return[];var l,c=[];e:for(;;){var u=a.reduce((function(e,t){return e+t.getFlex()}),0);l=this.flexViewportWidth-this.getWidthOfColsInList(i);for(var p=0;p<a.length;p++){var h=a[p],f=l*h.getFlex()/u,v=0,y=h.getMinWidth(),m=h.getMaxWidth();if(Object(g.exists)(y)&&f<y?v=y:Object(g.exists)(m)&&f>m&&(v=m),v){h.setActualWidth(v,r),Object(d.removeFromArray)(a,h),s.push(h),i.push(h);continue e}c[p]=Math.round(f)}break}var b=l;return a.forEach((function(e,t){e.setActualWidth(Math.min(c[t],b),r),s.push(e),b-=c[t]})),e.skipSetLeft||this.setLeftValues(r),e.updateBodyWidths&&this.updateBodyWidths(),e.fireResizedEvent&&this.fireColumnResizedEvent(s,!0,r,a),this.flexColsCalculatedAtLestOnce||(this.gridOptionsWrapper.isRowModelDefault()&&this.rowModel.resetRowHeights(),this.flexColsCalculatedAtLestOnce=!0),a},t.prototype.sizeColumnsToFit=function(e,t,r,o){var n,i,a,s,l,c,u,p,h,f,v;void 0===t&&(t="sizeColumnsToFit");var y={};o&&(null===(i=null===(n=o)||void 0===n?void 0:n.columnLimits)||void 0===i||i.forEach((function(e){var t=e.key,r=C(e,["key"]);y["string"==typeof t?t:t.getColId()]=r})));var m=this.getAllDisplayedColumns(),b=e===this.getWidthOfColsInList(m);if(!(e<=0||!m.length||b)){var w=[],O=[];m.forEach((function(e){!0===e.getColDef().suppressSizeToFit?O.push(e):w.push(e)}));var S=w.slice(0),E=!1,x=function(e){Object(d.removeFromArray)(w,e),O.push(e)};for(w.forEach((function(e){return e.resetActualWidth(t)}));!E;){E=!0;var R=e-this.getWidthOfColsInList(O);if(R<=0)w.forEach((function(e){var r,n,i,a,s=null!=(i=null===(n=null===(r=y)||void 0===r?void 0:r[e.getId()])||void 0===n?void 0:n.minWidth)?i:null===(a=o)||void 0===a?void 0:a.defaultMinWidth;"number"!=typeof s?e.setMinimum(t):e.setActualWidth(s)}));else for(var T=R/this.getWidthOfColsInList(w),A=R,P=w.length-1;P>=0;P--){var _=w[P],D=null===(a=y)||void 0===a?void 0:a[_.getId()],M=null!=(l=null===(s=D)||void 0===s?void 0:s.minWidth)?l:null===(c=o)||void 0===c?void 0:c.defaultMinWidth,N=null!=(p=null===(u=D)||void 0===u?void 0:u.maxWidth)?p:null===(h=o)||void 0===h?void 0:h.defaultMaxWidth,I=null!=(f=_.getMinWidth())?f:0,L=null!=(v=_.getMaxWidth())?v:Number.MAX_VALUE,k="number"==typeof M&&M>I?M:_.getMinWidth(),F="number"==typeof N&&N<L?N:_.getMaxWidth(),G=Math.round(_.getActualWidth()*T);Object(g.exists)(k)&&G<k?(G=k,x(_),E=!1):Object(g.exists)(F)&&G>F?(G=F,x(_),E=!1):0===P&&(G=A),_.setActualWidth(G,t,!0),A-=G}}S.forEach((function(e){e.fireColumnWidthChangedEvent(t)})),this.setLeftValues(t),this.updateBodyWidths(),r||this.fireColumnResizedEvent(S,!0,t)}},t.prototype.buildDisplayedTrees=function(e){var t=[],r=[],o=[];e.forEach((function(e){switch(e.getPinned()){case"left":t.push(e);break;case"right":r.push(e);break;default:o.push(e)}}));var n=new c.a;this.displayedTreeLeft=this.displayedGroupCreator.createDisplayedGroups(t,this.gridBalancedTree,n,p.a.PINNED_LEFT,this.displayedTreeLeft),this.displayedTreeRight=this.displayedGroupCreator.createDisplayedGroups(r,this.gridBalancedTree,n,p.a.PINNED_RIGHT,this.displayedTreeRight),this.displayedTreeCentre=this.displayedGroupCreator.createDisplayedGroups(o,this.gridBalancedTree,n,null,this.displayedTreeCentre),this.updateDisplayedMap()},t.prototype.updateDisplayedMap=function(){var e=this;this.displayedColumnsAndGroupsMap={};var t=function(t){e.displayedColumnsAndGroupsMap[t.getUniqueId()]=t};this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeCentre,t),this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeLeft,t),this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeRight,t)},t.prototype.isDisplayed=function(e){return this.displayedColumnsAndGroupsMap[e.getUniqueId()]===e},t.prototype.updateOpenClosedVisibilityInColumnGroups=function(){var e=this.getAllDisplayedTrees();this.columnUtils.depthFirstAllColumnTreeSearch(e,(function(e){e instanceof n.a&&e.calculateDisplayedColumns()}))},t.prototype.getGroupAutoColumns=function(){return this.groupAutoColumns},t.prototype.createGroupAutoColumnsIfNeeded=function(){if(!this.autoGroupsNeedBuilding)return!1;this.autoGroupsNeedBuilding=!1;var e=this.gridOptionsWrapper.isGroupUseEntireRow(this.pivotMode),t=this.pivotMode?this.gridOptionsWrapper.isPivotSuppressAutoColumn():this.gridOptionsWrapper.isGroupSuppressAutoColumn();if((this.rowGroupColumns.length>0||this.usingTreeData)&&!t&&!e){var r=this.groupAutoColumns||[],o=this.autoGroupColService.createAutoGroupColumns(r,this.rowGroupColumns);if(!this.autoColsEqual(o,this.groupAutoColumns)||this.forceRecreateAutoGroups)return this.groupAutoColumns=o,!0}else this.groupAutoColumns=null;return!1},t.prototype.autoColsEqual=function(e,t){return Object(d.areEqual)(e,t,(function(e,t){return e.getColId()===t.getColId()}))},t.prototype.getWidthOfColsInList=function(e){return e.reduce((function(e,t){return e+t.getActualWidth()}),0)},t.prototype.getGridBalancedTree=function(){return this.gridBalancedTree},t.prototype.hasFloatingFilters=function(){return!!this.gridColumns&&this.gridColumns.some((function(e){return e.getColDef().floatingFilter}))},t.prototype.getFirstDisplayedColumn=function(){var e=this.gridOptionsWrapper.isEnableRtl(),t=["getDisplayedLeftColumns","getDisplayedCenterColumns","getDisplayedRightColumns"];e&&t.reverse();for(var r=0;r<t.length;r++){var o=this[t[r]]();if(o.length)return e?Object(d.last)(o):o[0]}return null},t.prototype.setColumnHeaderHeight=function(e,t){if(e.setAutoHeaderHeight(t)){var r={type:a.a.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,column:e,columns:[e],source:"autosizeColumnHeaderHeight"};this.eventService.dispatchEvent(r)}},t.prototype.getColumnGroupHeaderRowHeight=function(){return this.isPivotMode()?this.gridOptionsWrapper.getPivotGroupHeaderHeight():this.gridOptionsWrapper.getGroupHeaderHeight()},t.prototype.getColumnHeaderRowHeight=function(){var e=this.isPivotMode()?this.gridOptionsWrapper.getPivotHeaderHeight():this.gridOptionsWrapper.getHeaderHeight(),t=this.getAllDisplayedColumns().filter((function(e){return e.isAutoHeaderHeight()})).map((function(e){return e.getAutoHeaderHeight()||0}));return Math.max.apply(Math,E([e],t))},b([Object(u.a)("expressionService")],t.prototype,"expressionService",void 0),b([Object(u.a)("columnFactory")],t.prototype,"columnFactory",void 0),b([Object(u.a)("displayedGroupCreator")],t.prototype,"displayedGroupCreator",void 0),b([Object(u.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),b([Object(u.a)("autoWidthCalculator")],t.prototype,"autoWidthCalculator",void 0),b([Object(u.a)("columnUtils")],t.prototype,"columnUtils",void 0),b([Object(u.a)("columnAnimationService")],t.prototype,"columnAnimationService",void 0),b([Object(u.a)("autoGroupColService")],t.prototype,"autoGroupColService",void 0),b([Object(u.d)("aggFuncService")],t.prototype,"aggFuncService",void 0),b([Object(u.d)("valueCache")],t.prototype,"valueCache",void 0),b([Object(u.d)("animationFrameService")],t.prototype,"animationFrameService",void 0),b([Object(u.a)("rowModel")],t.prototype,"rowModel",void 0),b([Object(u.a)("sortController")],t.prototype,"sortController",void 0),b([Object(u.a)("columnDefFactory")],t.prototype,"columnDefFactory",void 0),b([u.e],t.prototype,"init",null),b([w(0,Object(u.h)("loggerFactory"))],t.prototype,"setBeans",null),t=b([Object(u.b)("columnModel")],t)}(s.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(){this.existingIds={}}return e.prototype.getInstanceIdForKey=function(e){var t,r=this.existingIds[e];return t="number"!=typeof r?0:r+1,this.existingIds[e]=t,t},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(33),i=r(31),a=r(1),s=r(6),l=r(2),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.calculateColMinWidth=function(e){return null!=e.minWidth?e.minWidth:this.gridOptionsWrapper.getMinColWidth()},t.prototype.calculateColMaxWidth=function(e){return null!=e.maxWidth?e.maxWidth:this.gridOptionsWrapper.getMaxColWidth()||Number.MAX_SAFE_INTEGER},t.prototype.calculateColInitialWidth=function(e){var t,r=this.calculateColMinWidth(e),o=this.calculateColMaxWidth(e),n=Object(l.attrToNumber)(e.width),i=Object(l.attrToNumber)(e.initialWidth);return t=null!=n?n:null!=i?i:this.gridOptionsWrapper.getColWidth(),Math.max(Math.min(t,o),r)},t.prototype.getOriginalPathForColumn=function(e,t){var r=[],o=!1,n=function(t,a){for(var s=0;s<t.length;s++){if(o)return;var l=t[s];if(l instanceof i.a)n(l.getChildren(),a+1),r[a]=l;else l===e&&(o=!0)}};return n(t,0),o?r:null},t.prototype.depthFirstOriginalTreeSearch=function(e,t,r){var o=this;t&&t.forEach((function(t){t instanceof i.a&&o.depthFirstOriginalTreeSearch(t,t.getChildren(),r),r(t,e)}))},t.prototype.depthFirstAllColumnTreeSearch=function(e,t){var r=this;e&&e.forEach((function(e){e instanceof n.a&&r.depthFirstAllColumnTreeSearch(e.getChildren(),t),t(e)}))},t.prototype.depthFirstDisplayedColumnTreeSearch=function(e,t){var r=this;e&&e.forEach((function(e){e instanceof n.a&&r.depthFirstDisplayedColumnTreeSearch(e.getDisplayedChildren(),t),t(e)}))},t=u([Object(a.b)("columnUtils")],t)}(s.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(33),i=r(31),a=r(1),s=r(6),l=r(10),c=r(2),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.createDisplayedGroups=function(e,t,r,o,n){var i,a,s=this,c=[],u=this.mapOldGroupsById(n);return e.forEach((function(e){for(var n=s.getOriginalPathForColumn(t,e),p=[],d=!a,g=0;g<n.length;g++)if(d||n[g]!==a[g]){var h=s.createColumnGroup(n[g],r,u,o);p[g]=h,0==g?c.push(h):p[g-1].addChild(h)}else p[g]=i[g];0===p.length?c.push(e):Object(l.last)(p).addChild(e);i=p,a=n})),this.setupParentsIntoColumns(c,null),c},t.prototype.createColumnGroup=function(e,t,r,o){var i=e.getGroupId(),a=t.getInstanceIdForKey(i),s=r[n.a.createUniqueId(i,a)];return s&&s.getProvidedColumnGroup()!==e&&(s=null),Object(c.exists)(s)?s.reset():(s=new n.a(e,i,a,o),this.context.createBean(s)),s},t.prototype.mapOldGroupsById=function(e){var t={},r=function(e){e.forEach((function(e){if(e instanceof n.a){var o=e;t[e.getUniqueId()]=o,r(o.getChildren())}}))};return e&&r(e),t},t.prototype.setupParentsIntoColumns=function(e,t){var r=this;e.forEach((function(e){if(e.setParent(t),e instanceof n.a){var o=e;r.setupParentsIntoColumns(o.getChildren(),o)}}))},t.prototype.getOriginalPathForColumn=function(e,t){var r=[],o=!1,n=function(e,a){for(var s=0;s<e.length;s++){if(o)return;var l=e[s];l instanceof i.a?(n(l.getChildren(),a+1),r[a]=l):l===t&&(o=!0)}};return n(e,0),o?r:(console.warn("AG Grid: could not get path"),null)},t=p([Object(a.b)("displayedGroupCreator")],t)}(s.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.componentsMappedByName={},t}return a(t,e),t.prototype.setupComponents=function(e){var t=this;e&&e.forEach((function(e){return t.addComponent(e)}))},t.prototype.addComponent=function(e){var t=e.componentName.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().toUpperCase();this.componentsMappedByName[t]=e.componentClass},t.prototype.getComponentClass=function(e){return this.componentsMappedByName[e]},t=s([Object(n.b)("agStackComponentsRegistry")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(e){this.cssClassStates={},this.getGui=e}return e.prototype.addCssClass=function(e){var t=this,r=(e||"").split(" ");if(r.length>1)r.forEach((function(e){return t.addCssClass(e)}));else if(!0!==this.cssClassStates[e]&&e.length){var o=this.getGui();o&&o.classList.add(e),this.cssClassStates[e]=!0}},e.prototype.removeCssClass=function(e){var t=this,r=(e||"").split(" ");if(r.length>1)r.forEach((function(e){return t.removeCssClass(e)}));else if(!1!==this.cssClassStates[e]&&e.length){var o=this.getGui();o&&o.classList.remove(e),this.cssClassStates[e]=!1}},e.prototype.containsCssClass=function(e){var t=this.getGui();return!!t&&t.classList.contains(e)},e.prototype.addOrRemoveCssClass=function(e,t){var r=this;if(e){if(e.indexOf(" ")>=0){var o=(e||"").split(" ");if(o.length>1)return void o.forEach((function(e){return r.addOrRemoveCssClass(e,t)}))}if(this.cssClassStates[e]!==t&&e.length){var n=this.getGui();n&&n.classList.toggle(e,t),this.cssClassStates[e]=t}}},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(64),i=r(204),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getDefaultFilterOptions=function(){return n.a.DEFAULT_FILTER_OPTIONS},t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(52),i=r(7),a=r(2),s=r(8),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return l(t,e),t.prototype.init=function(e){this.params=e,this.focusAfterAttached=e.cellStartedEdit,this.eTextArea.setMaxLength(e.maxLength||200).setCols(e.cols||60).setRows(e.rows||10),Object(a.exists)(e.value)&&this.eTextArea.setValue(e.value.toString(),!0),this.addGuiEventListener("keydown",this.onKeyDown.bind(this))},t.prototype.onKeyDown=function(e){var t=e.key;(t===s.a.LEFT||t===s.a.UP||t===s.a.RIGHT||t===s.a.DOWN||e.shiftKey&&t===s.a.ENTER)&&e.stopPropagation()},t.prototype.afterGuiAttached=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.eTextArea.setInputAriaLabel(e("ariaInputEditor","Input Editor")),this.focusAfterAttached&&this.eTextArea.getFocusableElement().focus()},t.prototype.getValue=function(){return this.params.parseValue(this.eTextArea.getValue())},t.TEMPLATE='<div class="ag-large-text" tabindex="0">\n <ag-input-text-area ref="eTextArea" class="ag-large-text-input"></ag-input-text-area>\n </div>',c([Object(i.b)("eTextArea")],t.prototype,"eTextArea",void 0),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(13),i=r(76),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(){var t=e.call(this)||this;return Object(n.doOnce)((function(){return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: "agSelectCellEditor", cellEditorPopup: true} ')}),"PopupSelectCellEditor.deprecated"),t}return a(t,e),t.prototype.isPopup=function(){return!0},t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(13),i=r(71),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(){var t=e.call(this)||this;return Object(n.doOnce)((function(){return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: "agTextCellEditor", cellEditorPopup: true} ')}),"PopupTextCellEditor.deprecated"),t}return a(t,e),t.prototype.isPopup=function(){return!0},t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(1),i=r(15),a=r(2),s=r(5),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.refreshCount=0,r}return l(t,e),t.prototype.init=function(e){this.eValue=this.queryForHtmlElement(".ag-value-change-value"),this.eDelta=this.queryForHtmlElement(".ag-value-change-delta"),this.refresh(e)},t.prototype.showDelta=function(e,t){var r=Math.abs(t),o=e.formatValue(r),n=Object(a.exists)(o)?o:r,i=t>=0;this.eDelta.innerHTML=i?"↑"+n:"↓"+n,this.eDelta.classList.toggle("ag-value-change-delta-up",i),this.eDelta.classList.toggle("ag-value-change-delta-down",!i)},t.prototype.setTimerToRemoveDelta=function(){var e=this;this.refreshCount++;var t=this.refreshCount;window.setTimeout((function(){t===e.refreshCount&&e.hideDeltaValue()}),2e3)},t.prototype.hideDeltaValue=function(){this.eValue.classList.remove("ag-value-change-value-highlight"),Object(s.clearElement)(this.eDelta)},t.prototype.refresh=function(e){var t=e.value;if(t===this.lastValue)return!1;if(Object(a.exists)(e.valueFormatted)?this.eValue.innerHTML=e.valueFormatted:Object(a.exists)(e.value)?this.eValue.innerHTML=t:Object(s.clearElement)(this.eValue),this.filterManager.isSuppressFlashingCellsBecauseFiltering())return!1;if("number"==typeof t&&"number"==typeof this.lastValue){var r=t-this.lastValue;this.showDelta(e,r)}return this.lastValue&&this.eValue.classList.add("ag-value-change-value-highlight"),this.setTimerToRemoveDelta(),this.lastValue=t,!0},t.TEMPLATE='<span><span class="ag-value-change-delta"></span><span class="ag-value-change-value"></span></span>',c([Object(n.a)("filterManager")],t.prototype,"filterManager",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(1),i=r(15),a=r(5),s=r(2),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.refreshCount=0,r.eCurrent=r.queryForHtmlElement(".ag-value-slide-current"),r}return l(t,e),t.prototype.init=function(e){this.refresh(e)},t.prototype.addSlideAnimation=function(){var e=this;this.refreshCount++;var t=this.refreshCount;this.ePrevious&&this.getGui().removeChild(this.ePrevious),this.ePrevious=Object(a.loadTemplate)('<span class="ag-value-slide-previous ag-value-slide-out"></span>'),this.ePrevious.innerHTML=this.eCurrent.innerHTML,this.getGui().insertBefore(this.ePrevious,this.eCurrent),window.setTimeout((function(){t===e.refreshCount&&e.ePrevious.classList.add("ag-value-slide-out-end")}),50),window.setTimeout((function(){t===e.refreshCount&&(e.getGui().removeChild(e.ePrevious),e.ePrevious=null)}),3e3)},t.prototype.refresh=function(e){var t=e.value;return Object(s.missing)(t)&&(t=""),t!==this.lastValue&&(!this.filterManager.isSuppressFlashingCellsBecauseFiltering()&&(this.addSlideAnimation(),this.lastValue=t,Object(s.exists)(e.valueFormatted)?this.eCurrent.innerHTML=e.valueFormatted:Object(s.exists)(e.value)?this.eCurrent.innerHTML=t:Object(a.clearElement)(this.eCurrent),!0))},t.TEMPLATE='<span>\n <span class="ag-value-slide-current"></span>\n </span>',c([Object(n.a)("filterManager")],t.prototype,"filterManager",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));var o,n=r(3),i=r(8),a=r(6),s=r(1),l=r(22),c=r(28),u=r(11),p=r(13),d=r(2),g=r(23),h=r(14),f=r(77),v=r(73),y=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),m=function(){return(m=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.init=function(e,t,r,o,n,i,a){this.params=a,this.eGui=t,this.eCheckbox=r,this.eExpanded=o,this.eContracted=n,this.comp=e,this.compClass=i;var s=this.isTopLevelFooter(),l=this.isEmbeddedRowMismatch(),c=null==a.value,u=!1;if(this.gridOptionsWrapper.isGroupIncludeFooter()&&this.gridOptionsWrapper.isGroupHideOpenParents()){var p=a.node;if(p.footer)u=(a.colDef&&a.colDef.showRowGroup)!==(p.rowGroupColumn&&p.rowGroupColumn.getColId())}this.cellIsBlank=!s&&(l||c||u),this.cellIsBlank||(this.setupShowingValueForOpenedParent(),this.findDisplayedGroupNode(),this.addFullWidthRowDraggerIfNeeded(),this.addExpandAndContract(),this.addCheckboxIfNeeded(),this.addValueElement(),this.setupIndent(),this.refreshAriaExpanded())},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.expandListener=null},t.prototype.refreshAriaExpanded=function(){var e=this.params,t=e.node,r=e.eParentOfValue;if(this.expandListener&&(this.expandListener=this.expandListener()),this.isExpandable()){var o=function(){Object(u.setAriaExpanded)(r,!!t.expanded)};this.expandListener=this.addManagedListener(t,l.b.EVENT_EXPANDED_CHANGED,o)||null,o()}else Object(u.removeAriaExpanded)(r)},t.prototype.isTopLevelFooter=function(){if(!this.gridOptionsWrapper.isGroupIncludeTotalFooter())return!1;if(null!=this.params.value||-1!=this.params.node.level)return!1;var e=this.params.colDef;if(null==e)return!0;if(!0===e.showRowGroup)return!0;var t=this.columnModel.getRowGroupColumns();return!t||0===t.length||t[0].getId()===e.showRowGroup},t.prototype.isEmbeddedRowMismatch=function(){if(!this.params.fullWidth||!this.gridOptionsWrapper.isEmbedFullWidthRows())return!1;var e=this.params.pinned===n.a.PINNED_LEFT,t=this.params.pinned===n.a.PINNED_RIGHT,r=!e&&!t;return this.gridOptionsWrapper.isEnableRtl()?this.columnModel.isPinningLeft()?!t:!r:this.columnModel.isPinningLeft()?!e:!r},t.prototype.findDisplayedGroupNode=function(){var e=this.params.column,t=this.params.node;if(this.showingValueForOpenedParent)for(var r=t.parent;null!=r;){if(r.rowGroupColumn&&e.isRowGroupDisplayed(r.rowGroupColumn.getId())){this.displayedGroupNode=r;break}r=r.parent}Object(d.missing)(this.displayedGroupNode)&&(this.displayedGroupNode=t)},t.prototype.setupShowingValueForOpenedParent=function(){var e=this.params.node,t=this.params.column;if(this.gridOptionsWrapper.isGroupHideOpenParents())if(e.groupData){if(null!=e.rowGroupColumn){var r=e.rowGroupColumn.getId();if(t.isRowGroupDisplayed(r))return void(this.showingValueForOpenedParent=!1)}var o=null!=e.groupData[t.getId()];this.showingValueForOpenedParent=o}else this.showingValueForOpenedParent=!1;else this.showingValueForOpenedParent=!1},t.prototype.addValueElement=function(){this.displayedGroupNode.footer?this.addFooterValue():(this.addGroupValue(),this.addChildCount())},t.prototype.addGroupValue=function(){var e=this.adjustParamsWithDetailsFromRelatedColumn(),t=this.getInnerCompDetails(e),r=e.valueFormatted,o=e.value,n=null!=r?r:o;this.comp.setInnerRenderer(t,n)},t.prototype.adjustParamsWithDetailsFromRelatedColumn=function(){var e=this.displayedGroupNode.rowGroupColumn,t=this.params.column;if(!e)return this.params;if(null!=t&&!t.isRowGroupDisplayed(e.getId()))return this.params;var r=this.params,o=this.params,n=o.value,i=o.node,a=this.valueFormatterService.formatValue(e,i,n);return m(m({},r),{valueFormatted:a})},t.prototype.addFooterValue=function(){var e=this.params.footerValueGetter,t="";if(e){var r=Object(h.cloneObject)(this.params);r.value=this.params.value,"function"==typeof e?t=e(r):"string"==typeof e?t=this.expressionService.evaluate(e,r):console.warn("AG Grid: footerValueGetter should be either a function or a string (expression)")}else t="Total "+(null!=this.params.value?this.params.value:"");var o=this.getInnerCompDetails(this.params);this.comp.setInnerRenderer(o,t)},t.prototype.getInnerCompDetails=function(e){var t=this;if(e.fullWidth)return this.userComponentFactory.getFullWidthGroupRowInnerCellRenderer(this.gridOptions.groupRowRendererParams,e);var r=this.userComponentFactory.getInnerRendererDetails(e,e),o=function(e){return e&&e.componentClass==t.compClass};if(r&&!o(r))return r;var n=this.displayedGroupNode.rowGroupColumn,i=n?n.getColDef():void 0;if(i){var a=this.userComponentFactory.getCellRendererDetails(i,e);if(a&&!o(a))return a;if(o(a)&&i.cellRendererParams&&i.cellRendererParams.innerRenderer)return this.userComponentFactory.getInnerRendererDetails(i.cellRendererParams,e)}},t.prototype.addChildCount=function(){this.params.suppressCount||(this.addManagedListener(this.displayedGroupNode,l.b.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.updateChildCount.bind(this)),this.updateChildCount())},t.prototype.updateChildCount=function(){var e=this.displayedGroupNode.allChildrenCount,t=this.isShowRowGroupForThisRow()&&null!=e&&e>=0?"("+e+")":"";this.comp.setChildCount(t)},t.prototype.isShowRowGroupForThisRow=function(){if(this.gridOptionsWrapper.isTreeData())return!0;var e=this.displayedGroupNode.rowGroupColumn;if(!e)return!1;var t=this.params.column;return null==t||t.isRowGroupDisplayed(e.getId())},t.prototype.addExpandAndContract=function(){var e=this.params,t=Object(g.createIconNoSpan)("groupExpanded",this.gridOptionsWrapper,null),r=Object(g.createIconNoSpan)("groupContracted",this.gridOptionsWrapper,null);t&&this.eExpanded.appendChild(t),r&&this.eContracted.appendChild(r);var o=e.eGridCell;this.gridOptionsWrapper.isEnableGroupEdit()||!this.isExpandable()||e.suppressDoubleClickExpand||this.addManagedListener(o,"dblclick",this.onCellDblClicked.bind(this)),this.addManagedListener(this.eExpanded,"click",this.onExpandClicked.bind(this)),this.addManagedListener(this.eContracted,"click",this.onExpandClicked.bind(this)),this.addManagedListener(o,"keydown",this.onKeyDown.bind(this)),this.addManagedListener(e.node,l.b.EVENT_EXPANDED_CHANGED,this.showExpandAndContractIcons.bind(this)),this.showExpandAndContractIcons();var n=this.onRowNodeIsExpandableChanged.bind(this);this.addManagedListener(this.displayedGroupNode,l.b.EVENT_ALL_CHILDREN_COUNT_CHANGED,n),this.addManagedListener(this.displayedGroupNode,l.b.EVENT_MASTER_CHANGED,n),this.addManagedListener(this.displayedGroupNode,l.b.EVENT_GROUP_CHANGED,n),this.addManagedListener(this.displayedGroupNode,l.b.EVENT_HAS_CHILDREN_CHANGED,n)},t.prototype.onExpandClicked=function(e){Object(c.isStopPropagationForAgGrid)(e)||(Object(c.stopPropagationForAgGrid)(e),this.onExpandOrContract(e))},t.prototype.onExpandOrContract=function(e){var t=this.displayedGroupNode,r=!t.expanded;!r&&t.sticky&&this.scrollToStickyNode(t),t.setExpanded(r,e)},t.prototype.scrollToStickyNode=function(e){this.ctrlsService.getGridBodyCtrl().getScrollFeature().setVerticalScrollPosition(e.rowTop-e.stickyRowTop)},t.prototype.isExpandable=function(){if(this.showingValueForOpenedParent)return!0;var e=this.displayedGroupNode,t=this.columnModel.isPivotMode()&&e.leafGroup;if(!(e.isExpandable()&&!e.footer&&!t))return!1;var r=this.params.column;return null==r||"string"!=typeof r.getColDef().showRowGroup||this.isShowRowGroupForThisRow()},t.prototype.showExpandAndContractIcons=function(){var e=this.params,t=this.displayedGroupNode,r=this.columnModel,o=e.node,n=this.isExpandable();if(n){var i=!!this.showingValueForOpenedParent||o.expanded;this.comp.setExpandedDisplayed(i),this.comp.setContractedDisplayed(!i)}else this.comp.setExpandedDisplayed(!1),this.comp.setContractedDisplayed(!1);var a=r.isPivotMode(),s=a&&t.leafGroup,l=n&&!s,c=o.footer&&-1===o.level;this.comp.addOrRemoveCssClass("ag-cell-expandable",l),this.comp.addOrRemoveCssClass("ag-row-group",l),a?this.comp.addOrRemoveCssClass("ag-pivot-leaf-group",s):c||this.comp.addOrRemoveCssClass("ag-row-group-leaf-indent",!l)},t.prototype.onRowNodeIsExpandableChanged=function(){this.showExpandAndContractIcons(),this.setIndent(),this.refreshAriaExpanded()},t.prototype.setupIndent=function(){var e=this.params.node;this.params.suppressPadding||(this.addManagedListener(e,l.b.EVENT_UI_LEVEL_CHANGED,this.setIndent.bind(this)),this.setIndent())},t.prototype.setIndent=function(){if(!this.gridOptionsWrapper.isGroupHideOpenParents()){var e=this.params,t=e.node,r=!!e.colDef,o=this.gridOptionsWrapper.isTreeData(),n=!r||o||!0===e.colDef.showRowGroup?t.uiLevel:0;e.padding>=0&&Object(p.doOnce)((function(){return console.warn("AG Grid: cellRendererParams.padding no longer works, it was deprecated in since v14.2 and removed in v26, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the AG Grid documentation page for Themes, in particular the property $row-group-indent-size.")}),"groupCellRenderer->doDeprecatedWay"),this.indentClass&&this.comp.addOrRemoveCssClass(this.indentClass,!1),this.indentClass="ag-row-group-indent-"+n,this.comp.addOrRemoveCssClass(this.indentClass,!0)}},t.prototype.addFullWidthRowDraggerIfNeeded=function(){var e=this;if(this.params.fullWidth&&this.params.rowDrag){var t=new v.a((function(){return e.params.value}),this.params.node);this.createManagedBean(t,this.context),this.eGui.insertAdjacentElement("afterbegin",t.getGui())}},t.prototype.isUserWantsSelected=function(){var e=this.params.checkbox;return"function"==typeof e||!0===e},t.prototype.addCheckboxIfNeeded=function(){var e=this,t=this.displayedGroupNode,r=this.isUserWantsSelected()&&!t.footer&&!t.rowPinned&&!t.detail;if(r){var o=new f.a;this.getContext().createBean(o),o.init({rowNode:t,column:this.params.column,overrides:{isVisible:this.params.checkbox,callbackParams:this.params,removeHidden:!0}}),this.eCheckbox.appendChild(o.getGui()),this.addDestroyFunc((function(){return e.getContext().destroyBean(o)}))}this.comp.setCheckboxVisible(r)},t.prototype.onKeyDown=function(e){e.key!==i.a.ENTER||this.params.suppressEnterExpand||(this.params.column&&this.params.column.isCellEditable(this.params.node)||this.onExpandOrContract(e))},t.prototype.onCellDblClicked=function(e){Object(c.isStopPropagationForAgGrid)(e)||(Object(c.isElementInEventPath)(this.eExpanded,e)||Object(c.isElementInEventPath)(this.eContracted,e)||this.onExpandOrContract(e))},b([Object(s.a)("expressionService")],t.prototype,"expressionService",void 0),b([Object(s.a)("valueFormatterService")],t.prototype,"valueFormatterService",void 0),b([Object(s.a)("columnModel")],t.prototype,"columnModel",void 0),b([Object(s.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),b([Object(s.a)("gridOptions")],t.prototype,"gridOptions",void 0),b([Object(s.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var o,n=r(6),i=r(1),a=r(24),s=r(14),l=r(34),c=r(131),u=r(16),p=r(17),d=r(13),g=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),h=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.prototype.getHeaderCompDetails=function(e,t){return this.getCompDetails(e,l.j,"agColumnHeader",t)},t.prototype.getHeaderGroupCompDetails=function(e){var t=e.columnGroup.getColGroupDef();return this.getCompDetails(t,l.k,"agColumnGroupHeader",e)},t.prototype.getFullWidthCellRendererDetails=function(e){return this.getCompDetails(this.gridOptions,l.f,null,e,!0)},t.prototype.getFullWidthLoadingCellRendererDetails=function(e){return this.getCompDetails(this.gridOptions,l.i,"agLoadingCellRenderer",e,!0)},t.prototype.getFullWidthGroupCellRendererDetails=function(e){return this.getCompDetails(this.gridOptions,l.h,"agGroupRowRenderer",e,!0)},t.prototype.getFullWidthDetailCellRendererDetails=function(e){return this.getCompDetails(this.gridOptions,l.g,"agDetailCellRenderer",e,!0)},t.prototype.getInnerRendererDetails=function(e,t){return this.getCompDetails(e,l.l,null,t)},t.prototype.getFullWidthGroupRowInnerCellRenderer=function(e,t){return this.getCompDetails(e,l.l,null,t)},t.prototype.getCellRendererDetails=function(e,t){return this.getCompDetails(e,l.b,null,t)},t.prototype.getCellEditorDetails=function(e,t){return this.getCompDetails(e,l.a,"agCellEditor",t,!0)},t.prototype.getFilterDetails=function(e,t,r){return this.getCompDetails(e,l.d,r,t,!0)},t.prototype.getDateCompDetails=function(e){return this.getCompDetails(this.gridOptions,l.c,"agDateInput",e,!0)},t.prototype.getLoadingOverlayCompDetails=function(e){return this.getCompDetails(this.gridOptions,l.m,"agLoadingOverlay",e,!0)},t.prototype.getNoRowsOverlayCompDetails=function(e){return this.getCompDetails(this.gridOptions,l.n,"agNoRowsOverlay",e,!0)},t.prototype.getTooltipCompDetails=function(e){return this.getCompDetails(e.colDef,l.q,"agTooltipComponent",e,!0)},t.prototype.getSetFilterCellRendererDetails=function(e,t){return this.getCompDetails(e,l.b,null,t)},t.prototype.getFloatingFilterCompDetails=function(e,t,r){return this.getCompDetails(e,l.e,r,t)},t.prototype.getToolPanelCompDetails=function(e,t){return this.getCompDetails(e,l.p,null,t,!0)},t.prototype.getStatusPanelCompDetails=function(e,t){return this.getCompDetails(e,l.o,null,t,!0)},t.prototype.getCompDetails=function(e,t,r,o,n){var i=this;void 0===n&&(n=!1);var a=t.propertyName,s=t.cellRenderer,l=this.getCompKeys(e,t,o),c=l.compName,u=l.jsComp,p=l.fwComp,d=l.paramsFromSelector,g=l.popupFromSelector,h=l.popupPositionFromSelector,f=function(e){var t=i.userComponentRegistry.retrieve(e);t&&(u=t.componentFromFramework?void 0:t.component,p=t.componentFromFramework?t.component:void 0)};if(null!=c&&f(c),null==u&&null==p&&null!=r&&f(r),u&&s&&!this.agComponentUtils.doesImplementIComponent(u)&&(u=this.agComponentUtils.adaptFunction(a,u)),u||p){var v=this.mergeParamsWithApplicationProvidedParams(e,t,o,d),y=null==u,m=u||p;return{componentFromFramework:y,componentClass:m,params:v,type:t,popupFromSelector:g,popupPositionFromSelector:h,newAgStackInstance:function(){return i.newAgStackInstance(m,y,v,t)}}}n&&console.error("Could not find component "+c+", did you forget to configure this component?")},t.prototype.getCompKeys=function(e,t,r){var o,n,i,a,s,l,c=this,u=t.propertyName;if(e){var p=e,g=p[u+"Selector"],h=g?g(r):null,f=function(e,t){var r=function(){var e="AG Grid: As of v27, the property "+u+"Framework is deprecated. The property "+u+" can now be used for JavaScript AND Framework Components.";Object(d.doOnce)((function(){return console.warn(e)}),"UserComponentFactory."+u+"FrameworkDeprecated")};if("string"==typeof e)o=e;else if("string"==typeof t)r(),o=t;else if(null!=e&&!0!==e){c.getFrameworkOverrides().isFrameworkComponent(e)?i=e:n=e}else null!=t&&(r(),i=t)};if(h){if(null!=h.frameworkComponent){var v="AG Grid: As of v27, the return for "+u+"Selector has attributes [component, params] only. The attribute frameworkComponent is deprecated. You should now return back Framework Components using the 'component' attribute and the grid works out if it's a framework component or not.";Object(d.doOnce)((function(){return console.warn(v)}),"UserComponentFactory."+u+"FrameworkSelectorDeprecated"),f(h.frameworkComponent,void 0)}else f(h.component,void 0);a=h.params,s=h.popup,l=h.popupPosition}else f(p[u],p[u+"Framework"])}return{compName:o,jsComp:n,fwComp:i,paramsFromSelector:a,popupFromSelector:s,popupPositionFromSelector:l}},t.prototype.newAgStackInstance=function(e,t,r,o){var n,i=o.propertyName;if(!t)n=new e;else{var s=this.componentMetadataProvider.retrieve(i);n=this.frameworkComponentWrapper.wrap(e,s.mandatoryMethodList,s.optionalMethodList,o)}var l=this.initComponent(n,r);return null==l?a.a.resolve(n):l.then((function(){return n}))},t.prototype.mergeParamsWithApplicationProvidedParams=function(e,t,r,o){void 0===o&&(o=null);var n={context:this.gridOptionsWrapper.getContext(),columnApi:this.gridOptionsWrapper.getColumnApi(),api:this.gridOptionsWrapper.getApi()};Object(s.mergeDeep)(n,r);var i=e&&e[t.propertyName+"Params"];if("function"==typeof i){var a=i(r);Object(s.mergeDeep)(n,a)}else"object"==typeof i&&Object(s.mergeDeep)(n,i);return Object(s.mergeDeep)(n,o),n},t.prototype.initComponent=function(e,t){if(this.context.createBean(e),null!=e.init)return e.init(t)},t.prototype.getDefaultFloatingFilterType=function(e){if(null==e)return null;var t=null,r=this.getCompKeys(e,l.d),o=r.compName,n=r.jsComp,i=r.fwComp;o?t=c.a.getFloatingFilterType(o):null==n&&null==i&&!0===e.filter&&(t=p.a.isRegistered(u.a.SetFilterModule)?"agSetColumnFloatingFilter":"agTextColumnFloatingFilter");return t},h([Object(i.a)("gridOptions")],t.prototype,"gridOptions",void 0),h([Object(i.a)("agComponentUtils")],t.prototype,"agComponentUtils",void 0),h([Object(i.a)("componentMetadataProvider")],t.prototype,"componentMetadataProvider",void 0),h([Object(i.a)("userComponentRegistry")],t.prototype,"userComponentRegistry",void 0),h([Object(i.d)("frameworkComponentWrapper")],t.prototype,"frameworkComponentWrapper",void 0),t=h([Object(i.b)("userComponentFactory")],t)}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(){}return e.getFloatingFilterType=function(e){return this.filterToFloatingFilterMapping[e]},e.filterToFloatingFilterMapping={set:"agSetColumnFloatingFilter",agSetColumnFilter:"agSetColumnFloatingFilter",multi:"agMultiColumnFloatingFilter",agMultiColumnFilter:"agMultiColumnFloatingFilter",number:"agNumberColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",date:"agDateColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",text:"agTextColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(1),i=r(4),a=r(6),s=r(2),l=r(10),c=r(86),u=r(18),p=r(5),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dragEndFunctions=[],t.dragSources=[],t}return d(t,e),t.prototype.init=function(){this.logger=this.loggerFactory.create("DragService")},t.prototype.removeAllListeners=function(){this.dragSources.forEach(this.removeListener.bind(this)),this.dragSources.length=0},t.prototype.removeListener=function(e){var t=e.dragSource.eElement,r=e.mouseDownListener;if(t.removeEventListener("mousedown",r),e.touchEnabled){var o=e.touchStartListener;t.removeEventListener("touchstart",o,{passive:!0})}},t.prototype.removeDragSource=function(e){var t=this.dragSources.find((function(t){return t.dragSource===e}));t&&(this.removeListener(t),Object(l.removeFromArray)(this.dragSources,t))},t.prototype.isDragging=function(){return this.dragging},t.prototype.addDragSource=function(e,t){var r=this;void 0===t&&(t=!1);var o=this.onMouseDown.bind(this,e);e.eElement.addEventListener("mousedown",o);var n=null,i=this.gridOptionsWrapper.isSuppressTouch();t&&!i&&(n=function(t){Object(p.isFocusableFormField)(t.target)||(t.cancelable&&t.preventDefault(),r.onTouchStart(e,t))},e.eElement.addEventListener("touchstart",n,{passive:!1})),this.dragSources.push({dragSource:e,mouseDownListener:o,touchStartListener:n,touchEnabled:t})},t.prototype.onTouchStart=function(e,t){var r=this;this.currentDragParams=e,this.dragging=!1;var o=t.touches[0];this.touchLastTime=o,this.touchStart=o;var n=function(t){return r.onTouchUp(t,e.eElement)},i=t.target,a=[{target:document,type:"touchmove",listener:function(e){e.cancelable&&e.preventDefault()},options:{passive:!1}},{target:i,type:"touchmove",listener:function(t){return r.onTouchMove(t,e.eElement)},options:{passive:!0}},{target:i,type:"touchend",listener:n,options:{passive:!0}},{target:i,type:"touchcancel",listener:n,options:{passive:!0}}];this.addTemporaryEvents(a),0===e.dragStartPixels&&this.onCommonMove(o,this.touchStart,e.eElement)},t.prototype.onMouseDown=function(e,t){var r=this,o=t;if(!(e.skipMouseEvent&&e.skipMouseEvent(t)||o._alreadyProcessedByDragService||(o._alreadyProcessedByDragService=!0,0!==t.button))){this.currentDragParams=e,this.dragging=!1,this.mouseStartEvent=t;var n=this.gridOptionsWrapper.getDocument(),i=[{target:n,type:"mousemove",listener:function(t){return r.onMouseMove(t,e.eElement)}},{target:n,type:"mouseup",listener:function(t){return r.onMouseUp(t,e.eElement)}},{target:n,type:"contextmenu",listener:function(e){return e.preventDefault()}}];this.addTemporaryEvents(i),0===e.dragStartPixels&&this.onMouseMove(t,e.eElement)}},t.prototype.addTemporaryEvents=function(e){e.forEach((function(e){var t=e.target,r=e.type,o=e.listener,n=e.options;t.addEventListener(r,o,n)})),this.dragEndFunctions.push((function(){e.forEach((function(e){var t=e.target,r=e.type,o=e.listener,n=e.options;t.removeEventListener(r,o,n)}))}))},t.prototype.isEventNearStartEvent=function(e,t){var r=this.currentDragParams.dragStartPixels,o=Object(s.exists)(r)?r:4;return Object(c.areEventsNear)(e,t,o)},t.prototype.getFirstActiveTouch=function(e){for(var t=0;t<e.length;t++)if(e[t].identifier===this.touchStart.identifier)return e[t];return null},t.prototype.onCommonMove=function(e,t,r){if(!this.dragging){if(!this.dragging&&this.isEventNearStartEvent(e,t))return;this.dragging=!0;var o={type:i.a.EVENT_DRAG_STARTED,target:r};this.eventService.dispatchEvent(o),this.currentDragParams.onDragStart(t),this.currentDragParams.onDragging(t)}this.currentDragParams.onDragging(e)},t.prototype.onTouchMove=function(e,t){var r=this.getFirstActiveTouch(e.touches);r&&this.onCommonMove(r,this.touchStart,t)},t.prototype.onMouseMove=function(e,t){(this.gridOptionsWrapper.isEnableCellTextSelect()||Object(u.isBrowserSafari)())&&"mousemove"===e.type&&e.cancelable&&this.mouseEventService.isEventFromThisGrid(e)&&!this.isOverFormFieldElement(e)&&e.preventDefault(),this.onCommonMove(e,this.mouseStartEvent,t)},t.prototype.isOverFormFieldElement=function(e){var t,r;return!!(null===(r=null===(t=e.target)||void 0===t?void 0:t.tagName.toLocaleLowerCase())||void 0===r?void 0:r.match("^a$|textarea|input|select|button"))},t.prototype.onTouchUp=function(e,t){var r=this.getFirstActiveTouch(e.changedTouches);r||(r=this.touchLastTime),this.onUpCommon(r,t)},t.prototype.onMouseUp=function(e,t){this.onUpCommon(e,t)},t.prototype.onUpCommon=function(e,t){if(this.dragging){this.dragging=!1,this.currentDragParams.onDragStop(e);var r={type:i.a.EVENT_DRAG_STOPPED,target:t};this.eventService.dispatchEvent(r)}this.mouseStartEvent=null,this.touchStart=null,this.touchLastTime=null,this.currentDragParams=null,this.dragEndFunctions.forEach((function(e){return e()})),this.dragEndFunctions.length=0},g([Object(n.a)("loggerFactory")],t.prototype,"loggerFactory",void 0),g([Object(n.a)("mouseEventService")],t.prototype,"mouseEventService",void 0),g([n.e],t.prototype,"init",null),g([n.g],t.prototype,"removeAllListeners",null),t=g([Object(n.b)("dragService")],t)}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var o,n=r(24),i=r(1),a=r(4),s=r(16),l=r(17),c=r(6),u=r(87),p=r(2),d=r(14),g=r(5),h=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(){return(f=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allColumnFilters=new Map,t.activeAggregateFilters=[],t.activeColumnFilters=[],t.quickFilter=null,t.quickFilterParts=null,t.processingFilterChange=!1,t}var r;return h(t,e),r=t,t.prototype.init=function(){var e=this;this.addManagedListener(this.eventService,a.a.EVENT_GRID_COLUMNS_CHANGED,(function(){return e.onColumnsChanged()})),this.addManagedListener(this.eventService,a.a.EVENT_COLUMN_VALUE_CHANGED,(function(){return e.refreshFiltersForAggregations()})),this.addManagedListener(this.eventService,a.a.EVENT_COLUMN_PIVOT_CHANGED,(function(){return e.refreshFiltersForAggregations()})),this.addManagedListener(this.eventService,a.a.EVENT_COLUMN_PIVOT_MODE_CHANGED,(function(){return e.refreshFiltersForAggregations()})),this.quickFilter=this.parseQuickFilter(this.gridOptionsWrapper.getQuickFilterText()),this.setQuickFilterParts(),this.allowShowChangeAfterFilter=this.gridOptionsWrapper.isAllowShowChangeAfterFilter(),this.externalFilterPresent=this.gridOptionsWrapper.isExternalFilterPresent()},t.prototype.setQuickFilterParts=function(){this.quickFilterParts=this.quickFilter?this.quickFilter.split(" "):null},t.prototype.setFilterModel=function(e){var t=this,r=[],o=this.getFilterModel();if(e){var i=Object(u.convertToSet)(Object.keys(e));this.allColumnFilters.forEach((function(o,n){var a=e[n];r.push(t.setModelOnFilterWrapper(o.filterPromise,a)),i.delete(n)})),i.forEach((function(o){var n=t.columnModel.getPrimaryColumn(o)||t.columnModel.getGridColumn(o);if(n)if(n.isFilterAllowed()){var i=t.getOrCreateFilterWrapper(n,"NO_UI");i?r.push(t.setModelOnFilterWrapper(i.filterPromise,e[o])):console.warn("AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: "+o)}else console.warn("AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: "+o);else console.warn("AG Grid: setFilterModel() - no column found for colId: "+o)}))}else this.allColumnFilters.forEach((function(e){r.push(t.setModelOnFilterWrapper(e.filterPromise,null))}));n.a.all(r).then((function(){var e=t.getFilterModel(),r=[];t.allColumnFilters.forEach((function(t,i){var a=o?o[i]:null,s=e?e[i]:null;n.f.jsonEquals(a,s)||r.push(t.column)})),r.length>0&&t.onFilterChanged({columns:r})}))},t.prototype.setModelOnFilterWrapper=function(e,t){return new n.a((function(r){e.then((function(e){"function"!=typeof e.setModel&&(console.warn("AG Grid: filter missing setModel method, which is needed for setFilterModel"),r()),(e.setModel(t)||n.a.resolve()).then((function(){return r()}))}))}))},t.prototype.getFilterModel=function(){var e={};return this.allColumnFilters.forEach((function(t,r){var o=t.filterPromise.resolveNow(null,(function(e){return e}));if(null==o)return null;if("function"==typeof o.getModel){var n=o.getModel();Object(p.exists)(n)&&(e[r]=n)}else console.warn("AG Grid: filter API missing getModel method, which is needed for getFilterModel")})),e},t.prototype.isColumnFilterPresent=function(){return this.activeColumnFilters.length>0},t.prototype.isAggregateFilterPresent=function(){return!!this.activeAggregateFilters.length},t.prototype.isExternalFilterPresent=function(){return this.externalFilterPresent},t.prototype.doAggregateFiltersPass=function(e,t){return this.doColumnFiltersPass(e,t,!0)},t.prototype.updateActiveFilters=function(){var e=this;this.activeColumnFilters.length=0,this.activeAggregateFilters.length=0;var t=function(e){return!!e&&(e.isFilterActive?e.isFilterActive():(console.warn("AG Grid: Filter is missing isFilterActive() method"),!1))},r=!!this.gridOptionsWrapper.getGroupAggFiltering();this.allColumnFilters.forEach((function(o){if(o.filterPromise.resolveNow(!1,t)){var n=o.filterPromise.resolveNow(null,(function(e){return e}));!function(t){if(!t.isPrimary())return!0;var o=!e.columnModel.isPivotActive();return!(!t.isValueActive()||!o)&&(!!e.columnModel.isPivotMode()||r)}(o.column)?e.activeColumnFilters.push(n):e.activeAggregateFilters.push(n)}}))},t.prototype.updateFilterFlagInColumns=function(e,t){this.allColumnFilters.forEach((function(r){var o=r.filterPromise.resolveNow(!1,(function(e){return e.isFilterActive()}));r.column.setFilterActive(o,e,t)}))},t.prototype.isAnyFilterPresent=function(){return this.isQuickFilterPresent()||this.isColumnFilterPresent()||this.isAggregateFilterPresent()||this.isExternalFilterPresent()},t.prototype.doColumnFiltersPass=function(e,t,r){for(var o=e.data,n=e.aggData,i=r?this.activeAggregateFilters:this.activeColumnFilters,a=r?n:o,s=0;s<i.length;s++){var l=i[s];if(null!=l&&l!==t){if("function"!=typeof l.doesFilterPass)throw new Error("Filter is missing method doesFilterPass");if(!l.doesFilterPass({node:e,data:a}))return!1}}return!0},t.prototype.parseQuickFilter=function(e){return Object(p.exists)(e)?this.gridOptionsWrapper.isRowModelDefault()?e.toUpperCase():(console.warn("AG Grid - Quick filtering only works with the Client-Side Row Model"),null):null},t.prototype.setQuickFilter=function(e){if(null==e||"string"==typeof e){var t=this.parseQuickFilter(e);this.quickFilter!==t&&(this.quickFilter=t,this.setQuickFilterParts(),this.onFilterChanged())}else console.warn("AG Grid - setQuickFilter() only supports string inputs, received: "+typeof e)},t.prototype.refreshFiltersForAggregations=function(){this.gridOptionsWrapper.getGroupAggFiltering()&&this.onFilterChanged()},t.prototype.callOnFilterChangedOutsideRenderCycle=function(e){var t=this;void 0===e&&(e={});var r=function(){return t.onFilterChanged(e)};this.rowRenderer.isRefreshInProgress()?setTimeout(r,0):r()},t.prototype.onFilterChanged=function(e){void 0===e&&(e={});var t=e.filterInstance,r=e.additionalEventAttributes,o=e.columns;this.updateActiveFilters(),this.updateFilterFlagInColumns("filterChanged",r),this.externalFilterPresent=this.gridOptionsWrapper.isExternalFilterPresent(),this.allColumnFilters.forEach((function(e){e.filterPromise&&e.filterPromise.then((function(e){e&&e!==t&&e.onAnyFilterChanged&&e.onAnyFilterChanged()}))}));var n={type:a.a.EVENT_FILTER_CHANGED,columns:o||[]};r&&Object(d.mergeDeep)(n,r),this.processingFilterChange=!0,this.eventService.dispatchEvent(n),this.processingFilterChange=!1},t.prototype.isSuppressFlashingCellsBecauseFiltering=function(){return!this.allowShowChangeAfterFilter&&this.processingFilterChange},t.prototype.isQuickFilterPresent=function(){return null!==this.quickFilter},t.prototype.doesRowPassOtherFilters=function(e,t){return this.doesRowPassFilter({rowNode:t,filterInstanceToSkip:e})},t.prototype.doesRowPassQuickFilterNoCache=function(e,t){var r=this;return this.columnModel.getAllColumnsForQuickFilter().some((function(o){var n=r.getQuickFilterTextForColumn(o,e);return Object(p.exists)(n)&&n.indexOf(t)>=0}))},t.prototype.doesRowPassQuickFilterCache=function(e,t){return e.quickFilterAggregateText||this.aggregateRowForQuickFilter(e),e.quickFilterAggregateText.indexOf(t)>=0},t.prototype.doesRowPassQuickFilter=function(e){var t=this,r=this.gridOptionsWrapper.isCacheQuickFilter();return this.quickFilterParts.every((function(o){return r?t.doesRowPassQuickFilterCache(e,o):t.doesRowPassQuickFilterNoCache(e,o)}))},t.prototype.doesRowPassAggregateFilters=function(e){return!(this.isAggregateFilterPresent()&&!this.doAggregateFiltersPass(e.rowNode,e.filterInstanceToSkip))},t.prototype.doesRowPassFilter=function(e){return!(this.isQuickFilterPresent()&&!this.doesRowPassQuickFilter(e.rowNode))&&(!(this.isExternalFilterPresent()&&!this.gridOptionsWrapper.doesExternalFilterPass(e.rowNode))&&!(this.isColumnFilterPresent()&&!this.doColumnFiltersPass(e.rowNode,e.filterInstanceToSkip)))},t.prototype.getQuickFilterTextForColumn=function(e,t){var r=this.valueService.getValue(e,t,!0),o=e.getColDef();if(o.getQuickFilterText){var n={value:r,node:t,data:t.data,column:e,colDef:o,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};r=o.getQuickFilterText(n)}return Object(p.exists)(r)?r.toString().toUpperCase():null},t.prototype.aggregateRowForQuickFilter=function(e){var t=this,o=[];this.columnModel.getAllColumnsForQuickFilter().forEach((function(r){var n=t.getQuickFilterTextForColumn(r,e);Object(p.exists)(n)&&o.push(n)})),e.quickFilterAggregateText=o.join(r.QUICK_FILTER_SEPARATOR)},t.prototype.onNewRowsLoaded=function(e){this.allColumnFilters.forEach((function(e){e.filterPromise.then((function(e){e.onNewRowsLoaded&&e.onNewRowsLoaded()}))})),this.updateFilterFlagInColumns(e),this.updateActiveFilters()},t.prototype.createValueGetter=function(e){var t=this;return function(r){var o=r.node;return t.valueService.getValue(e,o,!0)}},t.prototype.getFilterComponent=function(e,t,r){var o;if(void 0===r&&(r=!0),r)return(null===(o=this.getOrCreateFilterWrapper(e,t))||void 0===o?void 0:o.filterPromise)||null;var n=this.cachedFilter(e);return n?n.filterPromise:null},t.prototype.isFilterActive=function(e){var t=this.cachedFilter(e);return!!t&&t.filterPromise.resolveNow(!1,(function(e){return e.isFilterActive()}))},t.prototype.getOrCreateFilterWrapper=function(e,t){if(!e.isFilterAllowed())return null;var r=this.cachedFilter(e);return r?"NO_UI"!==t&&this.putIntoGui(r,t):(r=this.createFilterWrapper(e,t),this.allColumnFilters.set(e.getColId(),r)),r},t.prototype.cachedFilter=function(e){return this.allColumnFilters.get(e.getColId())},t.prototype.createFilterInstance=function(e){var t,r=this,o=l.a.isRegistered(s.a.SetFilterModule)?"agSetColumnFilter":"agTextColumnFilter",n=e.getColDef(),i=f(f({},this.createFilterParams(e,n)),{filterModifiedCallback:function(){var o={type:a.a.EVENT_FILTER_MODIFIED,column:e,filterInstance:t};r.eventService.dispatchEvent(o)},filterChangedCallback:function(o){var n={filterInstance:t,additionalEventAttributes:o,columns:[e]};r.callOnFilterChangedOutsideRenderCycle(n)},doesRowPassOtherFilter:function(e){return r.doesRowPassOtherFilters(t,e)}}),c=this.userComponentFactory.getFilterDetails(n,i,o);if(!c)return null;var u=c.newAgStackInstance();return u&&u.then((function(e){return t=e})),u},t.prototype.createFilterParams=function(e,t){return{api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),column:e,colDef:Object(d.cloneObject)(t),rowModel:this.rowModel,filterChangedCallback:function(){},filterModifiedCallback:function(){},valueGetter:this.createValueGetter(e),context:this.gridOptionsWrapper.getContext(),doesRowPassOtherFilter:function(){return!0}}},t.prototype.createFilterWrapper=function(e,t){var r={column:e,filterPromise:null,compiledElement:null,guiPromise:n.a.resolve(null)};return r.filterPromise=this.createFilterInstance(e),r.filterPromise&&this.putIntoGui(r,t),r},t.prototype.putIntoGui=function(e,t){var r=this,o=document.createElement("div");o.className="ag-filter",e.guiPromise=new n.a((function(n){e.filterPromise.then((function(i){var s=i.getGui();Object(p.exists)(s)||console.warn("AG Grid: getGui method from filter returned "+s+", it should be a DOM element or an HTML template string."),"string"==typeof s&&(s=Object(g.loadTemplate)(s)),o.appendChild(s),n(o);var l={type:a.a.EVENT_FILTER_OPENED,column:e.column,source:t,eGui:o};r.eventService.dispatchEvent(l)}))}))},t.prototype.onColumnsChanged=function(){var e=this,t=[];this.allColumnFilters.forEach((function(r,o){(r.column.isPrimary()?e.columnModel.getPrimaryColumn(o):e.columnModel.getGridColumn(o))||(t.push(r.column),e.disposeFilterWrapper(r,"filterDestroyed"))})),t.length>0&&this.onFilterChanged({columns:t})},t.prototype.destroyFilter=function(e,t){void 0===t&&(t="api");var r=this.allColumnFilters.get(e.getColId());r&&(this.disposeFilterWrapper(r,t),this.onFilterChanged({columns:[e]}))},t.prototype.disposeFilterWrapper=function(e,t){var r=this;e.filterPromise.then((function(o){(o.setModel(null)||n.a.resolve()).then((function(){r.getContext().destroyBean(o),e.column.setFilterActive(!1,t),r.allColumnFilters.delete(e.column.getColId())}))}))},t.prototype.destroy=function(){var t=this;e.prototype.destroy.call(this),this.allColumnFilters.forEach((function(e){return t.disposeFilterWrapper(e,"filterDestroyed")}))},t.QUICK_FILTER_SEPARATOR="\n",v([Object(i.a)("valueService")],t.prototype,"valueService",void 0),v([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),v([Object(i.a)("rowModel")],t.prototype,"rowModel",void 0),v([Object(i.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),v([Object(i.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),v([i.e],t.prototype,"init",null),v([i.g],t.prototype,"destroy",null),t=r=v([Object(i.b)("filterManager")],t)}(c.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(1),i=r(7),a=r(90),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(r){return e.call(this,t.TEMPLATE,r)||this}return s(t,e),t.prototype.postConstruct=function(){var e=this,t=this.getGui(),r={addOrRemoveCssClass:function(t,r){return e.addOrRemoveCssClass(t,r)},addOrRemoveBodyCssClass:function(t,r){return e.eFloatingFilterBody.classList.toggle(t,r)},addOrRemoveButtonWrapperCssClass:function(t,r){return e.eButtonWrapper.classList.toggle(t,r)},setCompDetails:function(t){return e.setCompDetails(t)},getFloatingFilterComp:function(){return e.compPromise},setWidth:function(e){return t.style.width=e},setMenuIcon:function(t){return e.eButtonShowMainFilter.appendChild(t)}};this.ctrl.setComp(r,t,this.eButtonShowMainFilter,this.eFloatingFilterBody)},t.prototype.setCompDetails=function(e){var t=this;this.compPromise=e.newAgStackInstance(),this.compPromise.then((function(e){return t.afterCompCreated(e)}))},t.prototype.afterCompCreated=function(e){var t=this;e&&(this.addDestroyFunc((function(){return t.context.destroyBean(e)})),this.isAlive()&&(this.eFloatingFilterBody.appendChild(e.getGui()),e.afterGuiAttached&&e.afterGuiAttached()))},t.TEMPLATE='<div class="ag-header-cell ag-floating-filter" role="gridcell" tabindex="-1">\n <div ref="eFloatingFilterBody" role="presentation"></div>\n <div class="ag-floating-filter-button ag-hidden" ref="eButtonWrapper" role="presentation">\n <button type="button" aria-label="Open Filter Menu" class="ag-floating-filter-button-button" ref="eButtonShowMainFilter" tabindex="-1"></button>\n </div>\n </div>',l([Object(i.b)("eFloatingFilterBody")],t.prototype,"eFloatingFilterBody",void 0),l([Object(i.b)("eButtonWrapper")],t.prototype,"eButtonWrapper",void 0),l([Object(i.b)("eButtonShowMainFilter")],t.prototype,"eButtonShowMainFilter",void 0),l([n.e],t.prototype,"postConstruct",null),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(1),i=r(32),a=r(11),s=r(15),l=r(7),c=r(60),u=r(26),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g='<div class="ag-root ag-unselectable" role="grid">\n <ag-header-root ref="gridHeader"></ag-header-root>\n <div class="ag-floating-top" ref="eTop" role="presentation">\n <ag-row-container ref="topLeftContainer" name="'+u.b.TOP_LEFT+'"></ag-row-container>\n <ag-row-container ref="topCenterContainer" name="'+u.b.TOP_CENTER+'"></ag-row-container>\n <ag-row-container ref="topRightContainer" name="'+u.b.TOP_RIGHT+'"></ag-row-container>\n <ag-row-container ref="topFullWidthContainer" name="'+u.b.TOP_FULL_WIDTH+'"></ag-row-container>\n </div>\n <div class="ag-body-viewport" ref="eBodyViewport" role="presentation">\n <ag-row-container ref="leftContainer" name="'+u.b.LEFT+'"></ag-row-container>\n <ag-row-container ref="centerContainer" name="'+u.b.CENTER+'"></ag-row-container>\n <ag-row-container ref="rightContainer" name="'+u.b.RIGHT+'"></ag-row-container>\n <ag-row-container ref="fullWidthContainer" name="'+u.b.FULL_WIDTH+'"></ag-row-container>\n </div>\n <div class="ag-sticky-top" ref="eStickyTop" role="presentation">\n <ag-row-container ref="stickyTopLeftContainer" name="'+u.b.STICKY_TOP_LEFT+'"></ag-row-container>\n <ag-row-container ref="stickyTopCenterContainer" name="'+u.b.STICKY_TOP_CENTER+'"></ag-row-container>\n <ag-row-container ref="stickyTopRightContainer" name="'+u.b.STICKY_TOP_RIGHT+'"></ag-row-container>\n <ag-row-container ref="stickyTopFullWidthContainer" name="'+u.b.STICKY_TOP_FULL_WIDTH+'"></ag-row-container>\n </div>\n <div class="ag-floating-bottom" ref="eBottom" role="presentation">\n <ag-row-container ref="bottomLeftContainer" name="'+u.b.BOTTOM_LEFT+'"></ag-row-container>\n <ag-row-container ref="bottomCenterContainer" name="'+u.b.BOTTOM_CENTER+'"></ag-row-container>\n <ag-row-container ref="bottomRightContainer" name="'+u.b.BOTTOM_RIGHT+'"></ag-row-container>\n <ag-row-container ref="bottomFullWidthContainer" name="'+u.b.BOTTOM_FULL_WIDTH+'"></ag-row-container>\n </div>\n <ag-fake-horizontal-scroll></ag-fake-horizontal-scroll>\n <ag-overlay-wrapper></ag-overlay-wrapper>\n </div>',h=function(e){function t(){return e.call(this,g)||this}return p(t,e),t.prototype.init=function(){var e=this,t=function(e,t){var r=e+"px";t.style.minHeight=r,t.style.height=r},r={setRowAnimationCssOnBodyViewport:function(t,r){return e.setRowAnimationCssOnBodyViewport(t,r)},setColumnCount:function(t){return Object(a.setAriaColCount)(e.getGui(),t)},setRowCount:function(t){return Object(a.setAriaRowCount)(e.getGui(),t)},setTopHeight:function(r){return t(r,e.eTop)},setBottomHeight:function(r){return t(r,e.eBottom)},setTopDisplay:function(t){return e.eTop.style.display=t},setBottomDisplay:function(t){return e.eBottom.style.display=t},setStickyTopHeight:function(t){return e.eStickyTop.style.height=t},setStickyTopTop:function(t){return e.eStickyTop.style.top=t},setStickyTopWidth:function(t){return e.eStickyTop.style.width=t},setColumnMovingCss:function(t,r){return e.addOrRemoveCssClass(c.b,r)},updateLayoutClasses:function(t,r){var o=e.eBodyViewport.classList;o.toggle(i.a.AUTO_HEIGHT,r.autoHeight),o.toggle(i.a.NORMAL,r.normal),o.toggle(i.a.PRINT,r.print),e.addOrRemoveCssClass(i.a.AUTO_HEIGHT,r.autoHeight),e.addOrRemoveCssClass(i.a.NORMAL,r.normal),e.addOrRemoveCssClass(i.a.PRINT,r.print)},setAlwaysVerticalScrollClass:function(t,r){return e.eBodyViewport.classList.toggle(c.c,r)},registerBodyViewportResizeListener:function(t){var r=e.resizeObserverService.observeResize(e.eBodyViewport,t);e.addDestroyFunc((function(){return r()}))},setPinnedTopBottomOverflowY:function(t){return e.eTop.style.overflowY=e.eBottom.style.overflowY=t},setCellSelectableCss:function(t,r){[e.eTop,e.eBodyViewport,e.eBottom].forEach((function(e){return e.classList.toggle(c.a,r)}))}};this.ctrl=this.createManagedBean(new c.d),this.ctrl.setComp(r,this.getGui(),this.eBodyViewport,this.eTop,this.eBottom,this.eStickyTop),(this.rangeService||this.gridOptionsWrapper.isRowSelectionMulti())&&Object(a.setAriaMultiSelectable)(this.getGui(),!0)},t.prototype.setRowAnimationCssOnBodyViewport=function(e,t){var r=this.eBodyViewport.classList;r.toggle(c.e.ANIMATION_ON,t),r.toggle(c.e.ANIMATION_OFF,!t)},t.prototype.getFloatingTopBottom=function(){return[this.eTop,this.eBottom]},d([Object(n.a)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),d([Object(n.d)("rangeService")],t.prototype,"rangeService",void 0),d([Object(l.b)("eBodyViewport")],t.prototype,"eBodyViewport",void 0),d([Object(l.b)("eStickyTop")],t.prototype,"eStickyTop",void 0),d([Object(l.b)("eTop")],t.prototype,"eTop",void 0),d([Object(l.b)("eBottom")],t.prototype,"eBottom",void 0),d([Object(l.b)("gridHeader")],t.prototype,"headerRootComp",void 0),d([n.e],t.prototype,"init",null),t}(s.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(e){this.tickingInterval=null,this.onScrollCallback=null,this.scrollContainer=e.scrollContainer,this.scrollHorizontally=-1!==e.scrollAxis.indexOf("x"),this.scrollVertically=-1!==e.scrollAxis.indexOf("y"),this.scrollByTick=null!=e.scrollByTick?e.scrollByTick:20,e.onScrollCallback&&(this.onScrollCallback=e.onScrollCallback),this.scrollVertically&&(this.getVerticalPosition=e.getVerticalPosition,this.setVerticalPosition=e.setVerticalPosition),this.scrollHorizontally&&(this.getHorizontalPosition=e.getHorizontalPosition,this.setHorizontalPosition=e.setHorizontalPosition),this.shouldSkipVerticalScroll=e.shouldSkipVerticalScroll||function(){return!1},this.shouldSkipHorizontalScroll=e.shouldSkipHorizontalScroll||function(){return!1}}return e.prototype.check=function(e,t){void 0===t&&(t=!1);var r=t||this.shouldSkipVerticalScroll();if(!r||!this.shouldSkipHorizontalScroll()){var o=this.scrollContainer.getBoundingClientRect(),n=this.scrollByTick;this.tickLeft=e.clientX<o.left+n,this.tickRight=e.clientX>o.right-n,this.tickUp=e.clientY<o.top+n&&!r,this.tickDown=e.clientY>o.bottom-n&&!r,this.tickLeft||this.tickRight||this.tickUp||this.tickDown?this.ensureTickingStarted():this.ensureCleared()}},e.prototype.ensureTickingStarted=function(){null===this.tickingInterval&&(this.tickingInterval=window.setInterval(this.doTick.bind(this),100),this.tickCount=0)},e.prototype.doTick=function(){var e;if(this.tickCount++,e=this.tickCount>20?200:this.tickCount>10?80:40,this.scrollVertically){var t=this.getVerticalPosition();this.tickUp&&this.setVerticalPosition(t-e),this.tickDown&&this.setVerticalPosition(t+e)}if(this.scrollHorizontally){var r=this.getHorizontalPosition();this.tickLeft&&this.setHorizontalPosition(r-e),this.tickRight&&this.setHorizontalPosition(r+e)}this.onScrollCallback&&this.onScrollCallback()},e.prototype.ensureCleared=function(){this.tickingInterval&&(window.clearInterval(this.tickingInterval),this.tickingInterval=null)},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(1),i=r(6),a=r(4),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.postConstruct=function(){this.addManagedListener(this.eventService,a.a.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,a.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this))},t.prototype.onDisplayedColumnsChanged=function(){this.update()},t.prototype.onDisplayedColumnsWidthChanged=function(){this.update()},t.prototype.update=function(){this.updateImpl(),setTimeout(this.updateImpl.bind(this),500)},t.prototype.updateImpl=function(){var e=this.ctrlsService.getCenterRowContainerCtrl();if(e){var t={horizontalScrollShowing:e.isHorizontalScrollShowing(),verticalScrollShowing:this.isVerticalScrollShowing()};this.setScrollsVisible(t)}},t.prototype.setScrollsVisible=function(e){if(this.horizontalScrollShowing!==e.horizontalScrollShowing||this.verticalScrollShowing!==e.verticalScrollShowing){this.horizontalScrollShowing=e.horizontalScrollShowing,this.verticalScrollShowing=e.verticalScrollShowing;var t={type:a.a.EVENT_SCROLL_VISIBILITY_CHANGED};this.eventService.dispatchEvent(t)}},t.prototype.isHorizontalScrollShowing=function(){return this.horizontalScrollShowing},t.prototype.isVerticalScrollShowing=function(){return this.verticalScrollShowing},l([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),l([n.e],t.prototype,"postConstruct",null),t=l([Object(n.b)("scrollVisibleService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(1),i=r(24),a=r(3),s=r(6),l=r(28),c=r(2),u=r(43),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.gridInstanceId=r.gridInstanceSequence.next(),t}var r;return p(t,e),r=t,t.prototype.stampTopLevelGridCompWithGridInstance=function(e){e[r.GRID_DOM_KEY]=this.gridInstanceId},t.prototype.getRenderedCellForEvent=function(e){return Object(l.getCtrlForEvent)(this.gridOptionsWrapper,e,u.a.DOM_DATA_KEY_CELL_CTRL)},t.prototype.isEventFromThisGrid=function(e){return this.isElementInThisGrid(e.target)},t.prototype.isElementInThisGrid=function(e){for(var t=e;t;){var o=t[r.GRID_DOM_KEY];if(Object(c.exists)(o))return o===this.gridInstanceId;t=t.parentElement}return!1},t.prototype.getCellPositionForEvent=function(e){var t=this.getRenderedCellForEvent(e);return t?t.getCellPosition():null},t.prototype.getNormalisedPosition=function(e){var t,r,o=this.gridOptionsWrapper.getDomLayout()===a.a.DOM_LAYOUT_NORMAL,n=e;if(null!=n.clientX||null!=n.clientY?(t=n.clientX,r=n.clientY):(t=n.x,r=n.y),o){var i=this.ctrlsService.getGridBodyCtrl(),s=i.getScrollFeature().getVScrollPosition();t+=i.getScrollFeature().getHScrollPosition().left,r+=s.top}return{x:t,y:r}},t.gridInstanceSequence=new i.d,t.GRID_DOM_KEY="__ag_grid_instance",d([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),t=r=d([Object(n.b)("mouseEventService")],t)}(s.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var o,n=r(1),i=r(6),a=r(2),s=r(10),l=r(8),c=r(43),u=r(47),p=r(13),d=r(3),g=r(9),h=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(){return(f=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var t=e.call(this)||this;return t.onPageDown=Object(p.throttle)(t.onPageDown,100),t.onPageUp=Object(p.throttle)(t.onPageUp,100),t}return h(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){e.gridBodyCon=t.gridBodyCtrl}))},t.prototype.handlePageScrollingKey=function(e){var t=e.key,r=e.altKey,o=e.ctrlKey||e.metaKey,n=!!this.rangeService&&e.shiftKey,i=this.mouseEventService.getCellPositionForEvent(e);if(!i)return!1;var a=!1;switch(t){case l.a.PAGE_HOME:case l.a.PAGE_END:o||r||(this.onHomeOrEndKey(t),a=!0);break;case l.a.LEFT:case l.a.RIGHT:case l.a.UP:case l.a.DOWN:!o||r||n||(this.onCtrlUpDownLeftRight(t,i),a=!0);break;case l.a.PAGE_DOWN:o||r||(this.onPageDown(i),a=!0);break;case l.a.PAGE_UP:o||r||(this.onPageUp(i),a=!0)}return a&&e.preventDefault(),a},t.prototype.navigateTo=function(e){var t=e.scrollIndex,r=e.scrollType,o=e.scrollColumn,n=e.focusIndex,i=e.focusColumn;if(Object(a.exists)(o)&&!o.isPinned()&&this.gridBodyCon.getScrollFeature().ensureColumnVisible(o),Object(a.exists)(t)&&this.gridBodyCon.getScrollFeature().ensureIndexVisible(t,r),e.isAsync||this.gridBodyCon.getScrollFeature().ensureIndexVisible(n),this.focusService.setFocusedCell({rowIndex:n,column:i,rowPinned:null,forceBrowserFocus:!0}),this.rangeService){var s={rowIndex:n,rowPinned:null,column:i};this.rangeService.setRangeToCell(s)}},t.prototype.onPageDown=function(e){var t=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),r=this.getViewportHeight(),o=this.paginationProxy.getPixelOffset(),n=t.top+r,i=this.paginationProxy.getRowIndexAtPixel(n+o);this.columnModel.isAutoRowHeightActive()?this.navigateToNextPageWithAutoHeight(e,i):this.navigateToNextPage(e,i)},t.prototype.onPageUp=function(e){var t=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),r=this.paginationProxy.getPixelOffset(),o=t.top,n=this.paginationProxy.getRowIndexAtPixel(o+r);this.columnModel.isAutoRowHeightActive()?this.navigateToNextPageWithAutoHeight(e,n,!0):this.navigateToNextPage(e,n,!0)},t.prototype.navigateToNextPage=function(e,t,r){var o,n;void 0===r&&(r=!1);var i,a=this.getViewportHeight(),s=this.paginationProxy.getPageFirstRow(),l=this.paginationProxy.getPageLastRow(),c=this.paginationProxy.getPixelOffset(),u=this.paginationProxy.getRow(e.rowIndex),p=r?(null===(o=u)||void 0===o?void 0:o.rowHeight)-a-c:a-c,d=(null===(n=u)||void 0===n?void 0:n.rowTop)+p,g=this.paginationProxy.getRowIndexAtPixel(d+c);if(g===e.rowIndex){var h=r?-1:1;t=g=e.rowIndex+h}r?(i="bottom",g<s&&(g=s),t<s&&(t=s)):(i="top",g>l&&(g=l),t>l&&(t=l)),this.isRowTallerThanView(g)&&(t=g,i="top"),this.navigateTo({scrollIndex:t,scrollType:i,scrollColumn:null,focusIndex:g,focusColumn:e.column})},t.prototype.navigateToNextPageWithAutoHeight=function(e,t,r){var o=this;void 0===r&&(r=!1),this.navigateTo({scrollIndex:t,scrollType:r?"bottom":"top",scrollColumn:null,focusIndex:t,focusColumn:e.column}),setTimeout((function(){var n=o.getNextFocusIndexForAutoHeight(e,r);o.navigateTo({scrollIndex:t,scrollType:r?"bottom":"top",scrollColumn:null,focusIndex:n,focusColumn:e.column,isAsync:!0})}),50)},t.prototype.getNextFocusIndexForAutoHeight=function(e,t){var r;void 0===t&&(t=!1);for(var o=t?-1:1,n=this.getViewportHeight(),i=this.paginationProxy.getPageLastRow(),a=0,s=e.rowIndex;s>=0&&s<=i;){var l=this.paginationProxy.getRow(s);if(l){var c=null!=(r=l.rowHeight)?r:0;if(a+c>n)break;a+=c}s+=o}return Math.max(0,Math.min(s,i))},t.prototype.getViewportHeight=function(){var e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),t=this.gridOptionsWrapper.getScrollbarWidth(),r=e.bottom-e.top;return this.ctrlsService.getCenterRowContainerCtrl().isHorizontalScrollShowing()&&(r-=t),r},t.prototype.isRowTallerThanView=function(e){var t=this.paginationProxy.getRow(e);if(!t)return!1;var r=t.rowHeight;return"number"==typeof r&&r>this.getViewportHeight()},t.prototype.onCtrlUpDownLeftRight=function(e,t){var r=this.cellNavigationService.getNextCellToFocus(e,t,!0),o=r.rowIndex,n=r.column;this.navigateTo({scrollIndex:o,scrollType:null,scrollColumn:n,focusIndex:o,focusColumn:n})},t.prototype.onHomeOrEndKey=function(e){var t=e===l.a.PAGE_HOME,r=this.columnModel.getAllDisplayedColumns(),o=t?r[0]:Object(s.last)(r),n=t?this.paginationProxy.getPageFirstRow():this.paginationProxy.getPageLastRow();this.navigateTo({scrollIndex:n,scrollType:null,scrollColumn:o,focusIndex:n,focusColumn:o})},t.prototype.onTabKeyDown=function(e,t){var r=t.shiftKey;if(this.tabToNextCellCommon(e,r,t))t.preventDefault();else if(r){var o=e.getRowPosition(),n=o.rowIndex;(o.rowPinned?0===n:n===this.paginationProxy.getPageFirstRow())&&(t.preventDefault(),this.focusService.focusLastHeader(t))}else e instanceof c.a&&e.focusCell(!0),this.focusService.focusNextGridCoreContainer(r)&&t.preventDefault()},t.prototype.tabToNextCell=function(e,t){var r=this.focusService.getFocusedCell();if(!r)return!1;var o=this.getCellByPosition(r);return!!(o||(o=this.rowRenderer.getRowByPosition(r))&&o.isFullWidth())&&this.tabToNextCellCommon(o,e,t)},t.prototype.tabToNextCellCommon=function(e,t,r){var o=e.isEditing();if(!o&&e instanceof c.a){var n=e.getRowCtrl();n&&(o=n.isEditing())}return(o?this.gridOptionsWrapper.isFullRowEdit()?this.moveToNextEditingRow(e,t,r):this.moveToNextEditingCell(e,t,r):this.moveToNextCellNotEditing(e,t))||!!this.focusService.getFocusedHeader()},t.prototype.moveToNextEditingCell=function(e,t,r){void 0===r&&(r=null);var o=e.getCellPosition();e.getGui().focus(),e.stopEditing();var n=this.findNextCellToFocusOn(o,t,!0);return null!=n&&(n.startEditing(null,null,!0,r),n.focusCell(!1),!0)},t.prototype.moveToNextEditingRow=function(e,t,r){void 0===r&&(r=null);var o=e.getCellPosition(),n=this.findNextCellToFocusOn(o,t,!0);if(null==n)return!1;var i=n.getCellPosition(),a=this.isCellEditable(o),s=this.isCellEditable(i),l=i&&o.rowIndex===i.rowIndex&&o.rowPinned===i.rowPinned;(a&&e.setFocusOutOnEditor(),l)||(e.getRowCtrl().stopEditing(),n.getRowCtrl().startRowEditing(void 0,void 0,void 0,r));return s?(n.setFocusInOnEditor(),n.focusCell()):n.focusCell(!0),!0},t.prototype.moveToNextCellNotEditing=function(e,t){var r,o=this.columnModel.getAllDisplayedColumns();r=e instanceof u.a?f(f({},e.getRowPosition()),{column:t?o[0]:Object(s.last)(o)}):e.getCellPosition();var n=this.findNextCellToFocusOn(r,t,!1);if(n instanceof c.a)n.focusCell(!0);else if(n)return this.tryToFocusFullWidthRow(n.getRowPosition(),t);return Object(a.exists)(n)},t.prototype.findNextCellToFocusOn=function(e,t,r){for(var o=e;;){e!==o&&(e=o),t||(o=this.getLastCellOfColSpan(o)),o=this.cellNavigationService.getNextTabbedCell(o,t);var n=this.gridOptionsWrapper.getTabToNextCellFunc();if(Object(a.exists)(n)){var i=n({backwards:t,editing:r,previousCellPosition:e,nextCellPosition:o||null});Object(a.exists)(i)?(i.floating&&(Object(p.doOnce)((function(){console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?")}),"no floating in userCell"),i.rowPinned=i.floating),o={rowIndex:i.rowIndex,column:i.column,rowPinned:i.rowPinned}):o=null}if(!o)return null;if(o.rowIndex<0){var s=this.headerNavigationService.getHeaderRowCount();return this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:s+o.rowIndex,column:o.column}}),null}var l=this.gridOptionsWrapper.isFullRowEdit();if(r&&!l)if(!this.isCellEditable(o))continue;this.ensureCellVisible(o);var c=this.getCellByPosition(o);if(c){if(!c.isSuppressNavigable())return this.rangeService&&this.rangeService.setRangeToCell(o),c}else{var u=this.rowRenderer.getRowByPosition(o);if(u&&u.isFullWidth())return u}}},t.prototype.isCellEditable=function(e){var t=this.lookupRowNodeForCell(e);return!!t&&e.column.isCellEditable(t)},t.prototype.getCellByPosition=function(e){var t=this.rowRenderer.getRowByPosition(e);return t?t.getCellCtrl(e.column):null},t.prototype.lookupRowNodeForCell=function(e){return e.rowPinned===d.a.PINNED_TOP?this.pinnedRowModel.getPinnedTopRow(e.rowIndex):e.rowPinned===d.a.PINNED_BOTTOM?this.pinnedRowModel.getPinnedBottomRow(e.rowIndex):this.paginationProxy.getRow(e.rowIndex)},t.prototype.navigateToNextCell=function(e,t,r,o){for(var n=r,i=!1;n&&(n===r||!this.isValidNavigateCell(n));)this.gridOptionsWrapper.isEnableRtl()?t===l.a.LEFT&&(n=this.getLastCellOfColSpan(n)):t===l.a.RIGHT&&(n=this.getLastCellOfColSpan(n)),n=this.cellNavigationService.getNextCellToFocus(t,n),i=Object(a.missing)(n);if(i&&e&&e.key===l.a.UP&&(n={rowIndex:-1,rowPinned:null,column:r.column}),o){var s=this.gridOptionsWrapper.getNavigateToNextCellFunc();if(Object(a.exists)(s)){var c=s({key:t,previousCellPosition:r,nextCellPosition:n||null,event:e});Object(a.exists)(c)?(c.floating&&(Object(p.doOnce)((function(){console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?")}),"no floating in userCell"),c.rowPinned=c.floating),n={rowPinned:c.rowPinned,rowIndex:c.rowIndex,column:c.column}):n=null}}if(n)if(n.rowIndex<0){var u=this.headerNavigationService.getHeaderRowCount();this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:u+n.rowIndex,column:r.column},event:e||void 0})}else{var d=this.getNormalisedPosition(n);d?this.focusPosition(d):this.tryToFocusFullWidthRow(n)}},t.prototype.getNormalisedPosition=function(e){this.ensureCellVisible(e);var t=this.getCellByPosition(e);return t?(e=t.getCellPosition(),this.ensureCellVisible(e),e):null},t.prototype.tryToFocusFullWidthRow=function(e,t){void 0===t&&(t=!1);var r=this.columnModel.getAllDisplayedColumns(),o=this.rowRenderer.getRowByPosition(e);if(!o||!o.isFullWidth())return!1;var n=this.focusService.getFocusedCell(),i={rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:e.column||(t?Object(s.last)(r):r[0])};this.focusPosition(i);var a=null!=n&&this.rowPositionUtils.before(i,n),l={type:g.a.EVENT_FULL_WIDTH_ROW_FOCUSED,rowIndex:i.rowIndex,rowPinned:i.rowPinned,column:i.column,isFullWidthCell:!0,floating:i.rowPinned,fromBelow:a};return this.eventService.dispatchEvent(l),!0},t.prototype.focusPosition=function(e){this.focusService.setFocusedCell({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0}),this.rangeService&&this.rangeService.setRangeToCell(e)},t.prototype.isValidNavigateCell=function(e){return!!this.rowPositionUtils.getRowNode(e)},t.prototype.getLastCellOfColSpan=function(e){var t=this.getCellByPosition(e);if(!t)return e;var r=t.getColSpanningList();return 1===r.length?e:{rowIndex:e.rowIndex,column:Object(s.last)(r),rowPinned:e.rowPinned}},t.prototype.ensureCellVisible=function(e){var t,r=this.gridOptionsWrapper.isGroupRowsSticky(),o=this.rowModel.getRow(e.rowIndex);!(r&&(null===(t=o)||void 0===t?void 0:t.sticky))&&Object(a.missing)(e.rowPinned)&&this.gridBodyCon.getScrollFeature().ensureIndexVisible(e.rowIndex),e.column.isPinned()||this.gridBodyCon.getScrollFeature().ensureColumnVisible(e.column)},v([Object(n.a)("mouseEventService")],t.prototype,"mouseEventService",void 0),v([Object(n.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),v([Object(n.a)("focusService")],t.prototype,"focusService",void 0),v([Object(n.d)("rangeService")],t.prototype,"rangeService",void 0),v([Object(n.a)("columnModel")],t.prototype,"columnModel",void 0),v([Object(n.a)("rowModel")],t.prototype,"rowModel",void 0),v([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),v([Object(n.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),v([Object(n.a)("headerNavigationService")],t.prototype,"headerNavigationService",void 0),v([Object(n.a)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),v([Object(n.a)("cellNavigationService")],t.prototype,"cellNavigationService",void 0),v([Object(n.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),v([n.e],t.prototype,"postConstruct",null),t=v([Object(n.b)("navigationService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(15),i=r(141),a=r(11),s=r(30),l=r(2),c=r(5),u=r(18),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e){function t(t,r,o,n,i){var s=e.call(this)||this;s.rendererVersion=0,s.editorVersion=0,s.beans=t,s.column=r.getColumn(),s.rowNode=r.getRowNode(),s.rowCtrl=r.getRowCtrl(),s.eRow=n,s.setTemplate('<div comp-id="'+s.getCompId()+'"/>');var l=s.getGui();s.forceWrapper=r.isForceWrapper(),s.refreshWrapper(!1);var u=function(e,t,r){var o=r||l;null!=t&&""!=t?o.setAttribute(e,t):o.removeAttribute(e)},p={addOrRemoveCssClass:function(e,t){return s.addOrRemoveCssClass(e,t)},setUserStyles:function(e){return Object(c.addStylesToElement)(l,e)},getFocusableElement:function(){return s.getFocusableElement()},setTabIndex:function(e){return u("tabindex",e.toString())},setRole:function(e){return Object(a.setAriaRole)(l,e)},setColId:function(e){return u("col-id",e)},setTitle:function(e){return u("title",e)},setIncludeSelection:function(e){return s.includeSelection=e},setIncludeRowDrag:function(e){return s.includeRowDrag=e},setIncludeDndSource:function(e){return s.includeDndSource=e},setRenderDetails:function(e,t,r){return s.setRenderDetails(e,t,r)},setEditDetails:function(e,t,r){return s.setEditDetails(e,t,r)},getCellEditor:function(){return s.cellEditor||null},getCellRenderer:function(){return s.cellRenderer||null},getParentOfValue:function(){return s.getParentOfValue()}};return s.cellCtrl=r,r.setComp(p,s.getGui(),s.eCellWrapper,o,i),s}return p(t,e),t.prototype.getParentOfValue=function(){return this.eCellValue?this.eCellValue:this.eCellWrapper?this.eCellWrapper:this.getGui()},t.prototype.setRenderDetails=function(e,t,r){if(!(this.cellEditor&&!this.cellEditorPopupWrapper)){this.firstRender=null==this.firstRender;var o=this.refreshWrapper(!1);if(e)!(r||o)&&this.refreshCellRenderer(e)||(this.destroyRenderer(),this.createCellRendererInstance(e));else this.destroyRenderer(),this.insertValueWithoutCellRenderer(t)}},t.prototype.setEditDetails=function(e,t,r){e?this.createCellEditorInstance(e,t,r):this.destroyEditor()},t.prototype.removeControls=function(){this.checkboxSelectionComp=this.beans.context.destroyBean(this.checkboxSelectionComp),this.dndSourceComp=this.beans.context.destroyBean(this.dndSourceComp),this.rowDraggingComp=this.beans.context.destroyBean(this.rowDraggingComp)},t.prototype.refreshWrapper=function(e){var t=this.includeRowDrag||this.includeDndSource||this.includeSelection,r=t||this.forceWrapper,o=r&&null==this.eCellWrapper;o&&(this.eCellWrapper=Object(c.loadTemplate)('<div class="ag-cell-wrapper" role="presentation"></div>'),this.getGui().appendChild(this.eCellWrapper));var n=!r&&null!=this.eCellWrapper;n&&(Object(c.removeFromParent)(this.eCellWrapper),this.eCellWrapper=void 0),this.addOrRemoveCssClass("ag-cell-value",!r);var i=!e&&r,a=i&&null==this.eCellValue;a&&(this.eCellValue=Object(c.loadTemplate)('<span class="ag-cell-value" role="presentation"></span>'),this.eCellWrapper.appendChild(this.eCellValue));var s=!i&&null!=this.eCellValue;s&&(Object(c.removeFromParent)(this.eCellValue),this.eCellValue=void 0);var l=o||n||a||s;return l&&this.removeControls(),!e&&t&&this.addControls(),l},t.prototype.addControls=function(){var e=this.eCellValue.id="cell-"+this.getCompId(),t=[];Object(a.setAriaHidden)(this.eCellWrapper,!0),this.includeRowDrag&&null==this.rowDraggingComp&&(this.rowDraggingComp=this.cellCtrl.createRowDragComp(),this.rowDraggingComp&&this.eCellWrapper.insertBefore(this.rowDraggingComp.getGui(),this.eCellValue)),this.includeDndSource&&null==this.dndSourceComp&&(this.dndSourceComp=this.cellCtrl.createDndSource(),this.eCellWrapper.insertBefore(this.dndSourceComp.getGui(),this.eCellValue)),this.includeSelection&&(null==this.checkboxSelectionComp&&(this.checkboxSelectionComp=this.cellCtrl.createSelectionCheckbox(),this.eCellWrapper.insertBefore(this.checkboxSelectionComp.getGui(),this.eCellValue)),t.push(this.checkboxSelectionComp.getCheckboxId())),t.push(e),Object(a.setAriaDescribedBy)(this.getGui(),t.join(" "))},t.prototype.createCellEditorInstance=function(e,t,r){var o=this,n=this.editorVersion,i=e.newAgStackInstance();if(i){var a=e.params;i.then((function(e){return o.afterCellEditorCreated(n,e,a,t,r)})),Object(l.missing)(this.cellEditor)&&a.cellStartedEdit&&this.cellCtrl.focusCell(!0)}},t.prototype.insertValueWithoutCellRenderer=function(e){var t=this.getParentOfValue();Object(c.clearElement)(t);var r=null!=e?Object(s.escapeString)(e):null;null!=r&&(t.innerHTML=r)},t.prototype.destroyEditorAndRenderer=function(){this.destroyRenderer(),this.destroyEditor()},t.prototype.destroyRenderer=function(){var e=this.beans.context;this.cellRenderer=e.destroyBean(this.cellRenderer),Object(c.removeFromParent)(this.cellRendererGui),this.cellRendererGui=null,this.rendererVersion++},t.prototype.destroyEditor=function(){var e=this.beans.context;this.hideEditorPopup&&this.hideEditorPopup(),this.hideEditorPopup=void 0,this.cellEditor=e.destroyBean(this.cellEditor),this.cellEditorPopupWrapper=e.destroyBean(this.cellEditorPopupWrapper),Object(c.removeFromParent)(this.cellEditorGui),this.cellEditorGui=null,this.editorVersion++},t.prototype.refreshCellRenderer=function(e){if(null==this.cellRenderer||null==this.cellRenderer.refresh)return!1;if(this.cellRendererClass!==e.componentClass)return!1;var t=this.cellRenderer.refresh(e.params);return!0===t||void 0===t},t.prototype.createCellRendererInstance=function(e){var t=this,r=this.beans.gridOptionsWrapper.isAngularCompileRows(),o=this.beans.gridOptionsWrapper.isSuppressAnimationFrame(),n=!r&&!o,i=this.rendererVersion,a=e.componentClass,s=function(){if(!(t.rendererVersion!==i||!t.isAlive())){var r=e.newAgStackInstance(),o=t.afterCellRendererCreated.bind(t,i,a);r&&r.then(o)}};n&&this.firstRender?this.beans.animationFrameService.createTask(s,this.rowNode.rowIndex,"createTasksP2"):s()},t.prototype.getCtrl=function(){return this.cellCtrl},t.prototype.getRowCtrl=function(){return this.rowCtrl},t.prototype.getCellRenderer=function(){return this.cellRenderer},t.prototype.getCellEditor=function(){return this.cellEditor},t.prototype.afterCellRendererCreated=function(e,t,r){if(!this.isAlive()||e!==this.rendererVersion)this.beans.context.destroyBean(r);else if(this.cellRenderer=r,this.cellRendererClass=t,this.cellRendererGui=this.cellRenderer.getGui(),null!=this.cellRendererGui){var o=this.getParentOfValue();Object(c.clearElement)(o),o.appendChild(this.cellRendererGui)}},t.prototype.afterCellEditorCreated=function(e,t,r,o,n){if(e!==this.editorVersion)this.beans.context.destroyBean(t);else{if(t.isCancelBeforeStart&&t.isCancelBeforeStart())return this.beans.context.destroyBean(t),void this.cellCtrl.stopEditing();if(!t.getGui)return console.warn("AG Grid: cellEditor for column "+this.column.getId()+" is missing getGui() method"),void this.beans.context.destroyBean(t);this.cellEditor=t,this.cellEditorGui=t.getGui(),o||void 0!==t.isPopup&&t.isPopup()?(o||this.cellCtrl.hackSayEditingInPopup(),this.addPopupCellEditor(r,n)):this.addInCellEditor(),t.afterGuiAttached&&t.afterGuiAttached()}},t.prototype.addInCellEditor=function(){var e=this.getGui(),t=this.beans.gridOptionsWrapper.getDocument();(e.contains(t.activeElement)&&e.focus(),this.destroyRenderer(),this.refreshWrapper(!0),this.clearParentOfValue(),this.cellEditorGui)&&this.getParentOfValue().appendChild(this.cellEditorGui)},t.prototype.addPopupCellEditor=function(e,t){var r=this;this.beans.gridOptionsWrapper.isFullRowEdit()&&console.warn("AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both - either turn off fullRowEdit, or stop using popup editors.");var o=this.cellEditor;this.cellEditorPopupWrapper=this.beans.context.createBean(new i.a(e));var n=this.cellEditorPopupWrapper.getGui();this.cellEditorGui&&n.appendChild(this.cellEditorGui);var a=this.beans.popupService,s=this.beans.gridOptionsWrapper.isStopEditingWhenCellsLoseFocus(),l=null!=t?t:o.getPopupPosition?o.getPopupPosition():"over",c={column:this.column,rowNode:this.rowNode,type:"popupCellEditor",eventSource:this.getGui(),ePopup:n,keepWithinBounds:!0},u="under"===l?a.positionPopupUnderComponent.bind(a,c):a.positionPopupOverComponent.bind(a,c),p=this.beans.gridOptionsWrapper.getLocaleTextFunc(),d=a.addPopup({modal:s,eChild:n,closeOnEsc:!0,closedCallback:function(){r.cellCtrl.onPopupEditorClosed()},anchorToElement:this.getGui(),positionCallback:u,ariaLabel:p("ariaLabelCellEditor","Cell Editor")});d&&(this.hideEditorPopup=d.hideFunc)},t.prototype.detach=function(){this.eRow.removeChild(this.getGui())},t.prototype.destroy=function(){this.cellCtrl.stopEditing(),this.destroyEditorAndRenderer(),this.removeControls(),e.prototype.destroy.call(this)},t.prototype.clearParentOfValue=function(){var e=this.getGui(),t=this.beans.gridOptionsWrapper.getDocument();e.contains(t.activeElement)&&Object(u.browserSupportsPreventScroll)()&&e.focus({preventScroll:!0}),Object(c.clearElement)(this.getParentOfValue())},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(52),i=r(44),a=r(1),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(t){var r=e.call(this,'<div class="ag-popup-editor" tabindex="-1"/>')||this;return r.params=t,r}return s(t,e),t.prototype.postConstruct=function(){this.gridOptionsWrapper.setDomData(this.getGui(),t.DOM_KEY_POPUP_EDITOR_WRAPPER,!0),this.addKeyDownListener()},t.prototype.addKeyDownListener=function(){var e=this,t=this.getGui(),r=this.params;this.addManagedListener(t,"keydown",(function(t){Object(i.isUserSuppressingKeyboardEvent)(e.gridOptionsWrapper,t,r.node,r.column,!0)||r.onKeyDown(t)}))},t.DOM_KEY_POPUP_EDITOR_WRAPPER="popupEditorWrapper",l([a.e],t.prototype,"postConstruct",null),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(20),n=r(1),i=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},a=function(){function e(e){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=e}return e.prototype.onDragEnter=function(e){var t=this;if(this.clearColumnsList(),!this.gridOptionsWrapper.isFunctionsReadOnly()){var r=e.dragItem.columns;r&&r.forEach((function(e){e.isPrimary()&&(e.isAnyFunctionActive()||(e.isAllowValue()?t.columnsToAggregate.push(e):e.isAllowRowGroup()?t.columnsToGroup.push(e):e.isAllowPivot()&&t.columnsToPivot.push(e)))}))}},e.prototype.getIconName=function(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?o.a.ICON_PINNED:o.a.ICON_MOVE:null},e.prototype.onDragLeave=function(e){this.clearColumnsList()},e.prototype.clearColumnsList=function(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0},e.prototype.onDragging=function(e){},e.prototype.onDragStop=function(e){this.columnsToAggregate.length>0&&this.columnModel.addValueColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&this.columnModel.addRowGroupColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&this.columnModel.addPivotColumns(this.columnsToPivot,"toolPanelDragAndDrop")},i([Object(n.a)("columnModel")],e.prototype,"columnModel",void 0),i([Object(n.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(20),i=r(1),a=r(144),s=r(142),l=r(3),c=r(6),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(t,r){var o=e.call(this)||this;return o.pinned=t,o.eContainer=r,o}return u(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){switch(e.pinned){case l.a.PINNED_LEFT:e.eSecondaryContainers=[[t.gridBodyCtrl.getBodyViewportElement(),t.leftRowContainerCtrl.getContainerElement()],[t.bottomLeftRowContainerCtrl.getContainerElement()],[t.topLeftRowContainerCtrl.getContainerElement()]];break;case l.a.PINNED_RIGHT:e.eSecondaryContainers=[[t.gridBodyCtrl.getBodyViewportElement(),t.rightRowContainerCtrl.getContainerElement()],[t.bottomRightRowContainerCtrl.getContainerElement()],[t.topRightRowContainerCtrl.getContainerElement()]];break;default:e.eSecondaryContainers=[[t.gridBodyCtrl.getBodyViewportElement(),t.centerRowContainerCtrl.getViewportElement()],[t.bottomCenterRowContainerCtrl.getViewportElement()],[t.topCenterRowContainerCtrl.getViewportElement()]]}}))},t.prototype.isInterestedIn=function(e){return e===n.b.HeaderCell||e===n.b.ToolPanel&&this.gridOptionsWrapper.isAllowDragFromColumnsToolPanel()},t.prototype.getSecondaryContainers=function(){return this.eSecondaryContainers},t.prototype.getContainer=function(){return this.eContainer},t.prototype.init=function(){this.moveColumnFeature=this.createManagedBean(new a.a(this.pinned,this.eContainer)),this.bodyDropPivotTarget=this.createManagedBean(new s.a(this.pinned)),this.dragAndDropService.addDropTarget(this)},t.prototype.getIconName=function(){return this.currentDropListener.getIconName()},t.prototype.isDropColumnInPivotMode=function(e){return this.columnModel.isPivotMode()&&e.dragSource.type===n.b.ToolPanel},t.prototype.onDragEnter=function(e){this.currentDropListener=this.isDropColumnInPivotMode(e)?this.bodyDropPivotTarget:this.moveColumnFeature,this.currentDropListener.onDragEnter(e)},t.prototype.onDragLeave=function(e){this.currentDropListener.onDragLeave(e)},t.prototype.onDragging=function(e){this.currentDropListener.onDragging(e)},t.prototype.onDragStop=function(e){this.currentDropListener.onDragStop(e)},p([Object(i.a)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),p([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),p([Object(i.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),p([i.e],t.prototype,"postConstruct",null),p([i.e],t.prototype,"init",null),t}(c.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o=r(1),n=r(3),i=r(20),a=r(2),s=r(10),l=r(24),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},p=function(){function e(e,t){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.pinned=e,this.eContainer=t,this.centerContainer=!Object(a.exists)(e)}return e.prototype.init=function(){var e=this;this.ctrlsService.whenReady((function(){e.gridBodyCon=e.ctrlsService.getGridBodyCtrl()}))},e.prototype.getIconName=function(){return this.pinned?i.a.ICON_PINNED:i.a.ICON_MOVE},e.prototype.onDragEnter=function(e){var t=e.dragItem.columns;if(e.dragSource.type===i.b.ToolPanel)this.setColumnsVisible(t,!0,"uiColumnDragged");else{var r=e.dragItem.visibleState,o=(t||[]).filter((function(e){return r[e.getId()]}));this.setColumnsVisible(o,!0,"uiColumnDragged")}this.setColumnsPinned(t,this.pinned,"uiColumnDragged"),this.onDragging(e,!0,!0)},e.prototype.onDragLeave=function(e){this.ensureIntervalCleared()},e.prototype.setColumnsVisible=function(e,t,r){if(void 0===r&&(r="api"),e){var o=e.filter((function(e){return!e.getColDef().lockVisible}));this.columnModel.setColumnsVisible(o,t,r)}},e.prototype.setColumnsPinned=function(e,t,r){if(void 0===r&&(r="api"),e){var o=e.filter((function(e){return!e.getColDef().lockPinned}));this.columnModel.setColumnsPinned(o,t,r)}},e.prototype.onDragStop=function(){this.ensureIntervalCleared()},e.prototype.normaliseX=function(e){this.gridOptionsWrapper.isEnableRtl()&&(e=this.eContainer.clientWidth-e);return this.centerContainer&&(e+=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft()),e},e.prototype.checkCenterForScrolling=function(e){if(this.centerContainer){var t=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft(),r=t+this.ctrlsService.getCenterRowContainerCtrl().getCenterWidth();this.gridOptionsWrapper.isEnableRtl()?(this.needToMoveRight=e<t+50,this.needToMoveLeft=e>r-50):(this.needToMoveLeft=e<t+50,this.needToMoveRight=e>r-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}},e.prototype.onDragging=function(e,t,r){var o=this;if(void 0===t&&(t=!1),void 0===r&&(r=!1),this.lastDraggingEvent=e,!Object(a.missing)(e.hDirection)){var n=this.normaliseX(e.x);t||this.checkCenterForScrolling(n);var i=this.normaliseDirection(e.hDirection),s=e.dragSource.type,l=e.dragSource.getDragItem().columns;l=l.filter((function(e){return!e.getColDef().lockPinned||e.getPinned()==o.pinned})),this.attemptMoveColumns(s,l,i,n,t,r)}},e.prototype.normaliseDirection=function(e){if(!this.gridOptionsWrapper.isEnableRtl())return e;switch(e){case i.c.Left:return i.c.Right;case i.c.Right:return i.c.Left;default:console.error("AG Grid: Unknown direction "+e)}},e.prototype.calculateOldIndex=function(e){var t=this.columnModel.getAllGridColumns(),r=Object(s.sortNumerically)(e.map((function(e){return t.indexOf(e)}))),o=r[0];return Object(s.last)(r)-o!==r.length-1?null:o},e.prototype.attemptMoveColumns=function(e,t,r,o,n,a){var s=r===i.c.Left,c=r===i.c.Right;if(e===i.b.HeaderCell){var u=[];t.forEach((function(e){for(var t=null,r=e.getParent();null!=r&&1===r.getDisplayedLeafColumns().length;)t=r,r=r.getParent();null!=t?t.getLeafColumns().forEach((function(e){u.includes(e)||u.push(e)})):u.includes(e)||u.push(e)})),t=u}var p=t.slice();this.columnModel.sortColumnsLikeGridColumns(p);var d=this.calculateValidMoves(p,c,o),g=this.calculateOldIndex(p);if(0!==d.length){var h=d[0],f=null!==g&&!n;if(e==i.b.HeaderCell&&(f=null!==g),f&&!a){if(s&&h>=g)return;if(c&&h<=g)return}for(var v=this.columnModel.getAllDisplayedColumns(),y=[],m=null,b=0;b<d.length;b++){var w=d[b],C=this.columnModel.getProposedColumnOrder(p,w);if(this.columnModel.doesOrderPassRules(C)){var O=C.filter((function(e){return v.includes(e)}));if(null===m)m=O;else if(!l.f.areEqual(O,m))break;var S=this.groupFragCount(C);y.push({move:w,fragCount:S})}}if(0!==y.length){y.sort((function(e,t){return e.fragCount-t.fragCount}));var E=y[0].move;this.columnModel.moveColumns(p,E,"uiColumnDragged")}}},e.prototype.groupFragCount=function(e){function t(e){for(var t=[],r=e.getOriginalParent();null!=r;)t.push(r),r=r.getOriginalParent();return t}for(var r=0,o=function(o){var n,i=t(e[o]),a=t(e[o+1]);i=(n=u(i.length>a.length?[i,a]:[a,i],2))[0],a=n[1],i.forEach((function(e){-1===a.indexOf(e)&&r++}))},n=0;n<e.length-1;n++)o(n);return r},e.prototype.calculateValidMoves=function(e,t,r){if(this.gridOptionsWrapper.isSuppressMovableColumns()||e.some((function(e){return e.getColDef().suppressMovable})))return[];var o,n=this.columnModel.getDisplayedColumns(this.pinned),i=this.columnModel.getAllGridColumns(),a=n.filter((function(t){return Object(s.includes)(e,t)})),l=n.filter((function(t){return!Object(s.includes)(e,t)})),c=i.filter((function(t){return!Object(s.includes)(e,t)})),u=0,p=r;if(t){var d=0;a.forEach((function(e){return d+=e.getActualWidth()})),p-=d}if(p>0){for(var g=0;g<l.length;g++){if((p-=l[g].getActualWidth())<0)break;u++}t&&u++}if(u>0){var h=l[u-1];o=c.indexOf(h)+1}else-1===(o=c.indexOf(l[0]))&&(o=0);var f=[o],v=function(e,t){return e-t};if(t){for(var y=o+1,m=i.length-1;y<=m;)f.push(y),y++;f.sort(v)}else{y=o,m=i.length-1;for(var b=i[y];y<=m&&this.isColumnHidden(n,b);)y++,f.push(y),b=i[y];y=o-1;for(;y>=0;)f.push(y),y--;f.sort(v).reverse()}return f},e.prototype.isColumnHidden=function(e,t){return e.indexOf(t)<0},e.prototype.ensureIntervalStarted=function(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100),this.needToMoveLeft?this.dragAndDropService.setGhostIcon(i.a.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(i.a.ICON_RIGHT,!0))},e.prototype.ensureIntervalCleared=function(){this.movingIntervalId&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(i.a.ICON_MOVE))},e.prototype.moveInterval=function(){var e;this.intervalCount++,(e=10+5*this.intervalCount)>100&&(e=100);var t=null,r=this.gridBodyCon.getScrollFeature();if(this.needToMoveLeft?t=r.scrollHorizontally(-e):this.needToMoveRight&&(t=r.scrollHorizontally(e)),0!==t)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;var o=this.lastDraggingEvent.dragItem.columns.filter((function(e){return!e.getColDef().lockPinned}));if(o.length>0&&(this.dragAndDropService.setGhostIcon(i.a.ICON_PINNED),this.failedMoveAttempts>7)){var a=this.needToMoveLeft?n.a.PINNED_LEFT:n.a.PINNED_RIGHT;this.setColumnsPinned(o,a,"uiColumnDragged"),this.dragAndDropService.nudge()}}},c([Object(o.a)("columnModel")],e.prototype,"columnModel",void 0),c([Object(o.a)("dragAndDropService")],e.prototype,"dragAndDropService",void 0),c([Object(o.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),c([Object(o.a)("ctrlsService")],e.prototype,"ctrlsService",void 0),c([o.e],e.prototype,"init",null),e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var o,n=r(3),i=r(6),a=r(1),s=r(19),l=r(9),c=r(92),u=r(24),p=r(143),d=r(40),g=r(94),h=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},y=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e},m=function(e){function t(t){var r=e.call(this)||this;return r.groupsRowCtrls=[],r.pinned=t,r}return h(t,e),t.prototype.setComp=function(e,t){this.comp=e,this.eViewport=t,this.setupCenterWidth(),this.setupPinnedWidth(),this.setupDragAndDrop(this.eViewport),this.addManagedListener(this.eventService,l.a.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addManagedListener(this.eViewport,"scroll",this.resetScrollLeft.bind(this)),this.ctrlsService.registerHeaderContainer(this,this.pinned),this.columnModel.isReady()&&this.refresh()},t.prototype.setupDragAndDrop=function(e){var t=new p.a(this.pinned,e);this.createManagedBean(t)},t.prototype.refresh=function(e){var t=this;void 0===e&&(e=!1);var r,o=new u.d,n=this.focusService.getFocusHeaderToUseAfterRefresh();!function(){var e=t.columnModel.getHeaderRowCount()-1;t.groupsRowCtrls=t.destroyBeans(t.groupsRowCtrls);for(var r=0;r<e;r++){var n=t.createBean(new g.a(o.next(),t.pinned,d.b.COLUMN_GROUP));t.groupsRowCtrls.push(n)}}(),r=o.next(),(null==t.columnsRowCtrl||!e||t.columnsRowCtrl.getRowIndex()!==r)&&(t.destroyBean(t.columnsRowCtrl),t.columnsRowCtrl=t.createBean(new g.a(r,t.pinned,d.b.COLUMN))),function(){var r=function(){t.filtersRowCtrl=t.destroyBean(t.filtersRowCtrl)};if(t.columnModel.hasFloatingFilters()){var n=o.next();if(t.filtersRowCtrl){var i=t.filtersRowCtrl.getRowIndex()!==n;e&&!i||r()}t.filtersRowCtrl||(t.filtersRowCtrl=t.createBean(new g.a(n,t.pinned,d.b.FLOATING_FILTER)))}else r()}();var i=this.getAllCtrls();this.comp.setCtrls(i),this.restoreFocusOnHeader(n)},t.prototype.restoreFocusOnHeader=function(e){null!=e&&e.column.getPinned()==this.pinned&&this.focusService.focusHeaderPosition({headerPosition:e})},t.prototype.getAllCtrls=function(){var e=y(this.groupsRowCtrls,[this.columnsRowCtrl]);return this.filtersRowCtrl&&e.push(this.filtersRowCtrl),e},t.prototype.onGridColumnsChanged=function(){this.refresh(!0)},t.prototype.setupCenterWidth=function(){var e=this;null==this.pinned&&this.createManagedBean(new c.a((function(t){return e.comp.setCenterWidth(t+"px")})))},t.prototype.setHorizontalScroll=function(e){this.comp.setContainerTransform("translateX("+e+"px)")},t.prototype.resetScrollLeft=function(){this.eViewport.scrollLeft=0},t.prototype.setupPinnedWidth=function(){var e=this;if(null!=this.pinned){var t=this.pinned===n.a.PINNED_LEFT,r=this.pinned===n.a.PINNED_RIGHT,o=function(){var o=t?e.pinnedWidthService.getPinnedLeftWidth():e.pinnedWidthService.getPinnedRightWidth();if(null!=o){var n=0==o,i=e.gridOptionsWrapper.isEnableRtl(),a=e.gridOptionsWrapper.getScrollbarWidth(),s=e.scrollVisibleService.isVerticalScrollShowing()&&(i&&t||!i&&r)?o+a:o;e.comp.setPinnedContainerWidth(s+"px"),e.comp.addOrRemoveCssClass("ag-hidden",n)}};this.addManagedListener(this.eventService,l.a.EVENT_LEFT_PINNED_WIDTH_CHANGED,o),this.addManagedListener(this.eventService,l.a.EVENT_RIGHT_PINNED_WIDTH_CHANGED,o),this.addManagedListener(this.eventService,l.a.EVENT_SCROLL_VISIBILITY_CHANGED,o),this.addManagedListener(this.eventService,l.a.EVENT_SCROLLBAR_WIDTH_CHANGED,o)}},t.prototype.getHeaderCtrlForColumn=function(e){if(e instanceof s.a){if(!this.columnsRowCtrl)return;return this.columnsRowCtrl.getHeaderCellCtrl(e)}if(0!==this.groupsRowCtrls.length)for(var t=0;t<this.groupsRowCtrls.length;t++){var r=this.groupsRowCtrls[t].getHeaderCellCtrl(e);if(r)return r}},t.prototype.getHtmlElementForColumnHeader=function(e){var t=this.getHeaderCtrlForColumn(e);return t?t.getGui():null},t.prototype.getRowType=function(e){var t=this.getAllCtrls()[e];return t?t.getType():void 0},t.prototype.focusHeader=function(e,t,r){var o=this.getAllCtrls()[e];return!!o&&o.focusHeader(t,r)},t.prototype.getRowCount=function(){return this.getAllCtrls().length},f([Object(a.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),f([Object(a.a)("scrollVisibleService")],t.prototype,"scrollVisibleService",void 0),f([Object(a.a)("pinnedWidthService")],t.prototype,"pinnedWidthService",void 0),f([Object(a.a)("columnModel")],t.prototype,"columnModel",void 0),f([Object(a.a)("focusService")],t.prototype,"focusService",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var o,n=r(56),i=r(8),a=r(1),s=r(19),l=r(4),c=r(80),u=r(66),p=r(5),d=r(23),g=r(39),h=r(95),f=r(34),v=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),y=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},m=function(e){function t(t,r){var o=e.call(this,t,r)||this;return o.column=t,o}return v(t,e),t.prototype.setComp=function(t,r,o,n){e.prototype.setGui.call(this,r),this.comp=t,this.eButtonShowMainFilter=o,this.eFloatingFilterBody=n;var i=this.column.getColDef(),a=!!i.filter||!!i.filterFramework,s=!!i.floatingFilter;this.active=a&&s,this.setupWidth(),this.setupLeft(),this.setupHover(),this.setupFocus(),this.setupUserComp(),this.setupSyncWithFilter(),this.setupUi(),this.addManagedListener(this.eButtonShowMainFilter,"click",this.showParentFilter.bind(this))},t.prototype.setupUi=function(){if(this.comp.addOrRemoveButtonWrapperCssClass("ag-hidden",!this.active||this.suppressFilterButton),this.active){this.comp.addOrRemoveBodyCssClass("ag-floating-filter-full-body",this.suppressFilterButton),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-body",!this.suppressFilterButton);var e=Object(d.createIconNoSpan)("filter",this.gridOptionsWrapper,this.column);e&&this.eButtonShowMainFilter.appendChild(e)}},t.prototype.setupFocus=function(){this.createManagedBean(new g.a(this.eGui,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))},t.prototype.onTabKeyDown=function(e){if(!(this.gridOptionsWrapper.getDocument().activeElement===this.eGui)){var t=this.focusService.findNextFocusableElement(this.eGui,null,e.shiftKey);if(t)return this.beans.headerNavigationService.scrollToColumn(this.column),e.preventDefault(),void t.focus();var r=this.findNextColumnWithFloatingFilter(e.shiftKey);r&&this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:this.getParentRowCtrl().getRowIndex(),column:r},event:e})&&e.preventDefault()}},t.prototype.findNextColumnWithFloatingFilter=function(e){var t=this.beans.columnModel,r=this.column;do{if(!(r=e?t.getDisplayedColBefore(r):t.getDisplayedColAfter(r)))break}while(!r.getColDef().filter||!r.getColDef().floatingFilter);return r},t.prototype.handleKeyDown=function(t){e.prototype.handleKeyDown.call(this,t);var r=this.getWrapperHasFocus();switch(t.key){case i.a.UP:case i.a.DOWN:r||t.preventDefault();case i.a.LEFT:case i.a.RIGHT:if(r)return;t.stopPropagation();case i.a.ENTER:r&&this.focusService.focusInto(this.eGui)&&t.preventDefault();break;case i.a.ESCAPE:r||this.eGui.focus()}},t.prototype.onFocusIn=function(e){if(!this.eGui.contains(e.relatedTarget)){var t=!!e.relatedTarget&&!e.relatedTarget.classList.contains("ag-floating-filter"),r=!!e.relatedTarget&&Object(p.isElementChildOfClass)(e.relatedTarget,"ag-floating-filter");if(t&&r&&e.target===this.eGui){var o=this.lastFocusEvent,n=!(!o||o.key!==i.a.TAB);if(o&&n){var a=o.shiftKey;this.focusService.focusInto(this.eGui,a)}}var s=this.getRowIndex();this.beans.focusService.setFocusedHeader(s,this.column)}},t.prototype.setupHover=function(){var e=this;this.createManagedBean(new h.a([this.column],this.eGui));var t=function(){if(e.gridOptionsWrapper.isColumnHoverHighlight()){var t=e.columnHoverService.isHovered(e.column);e.comp.addOrRemoveCssClass("ag-column-hover",t)}};this.addManagedListener(this.eventService,l.a.EVENT_COLUMN_HOVER_CHANGED,t),t()},t.prototype.setupLeft=function(){var e=new u.a(this.column,this.eGui,this.beans);this.createManagedBean(e)},t.prototype.setupUserComp=function(){var e=this;if(this.active){var t=this.column.getColDef(),r=this.filterManager.createFilterParams(this.column,t),o=this.userComponentFactory.mergeParamsWithApplicationProvidedParams(t,f.d,r),n=this.userComponentFactory.getDefaultFloatingFilterType(t);null==n&&(n="agReadOnlyFloatingFilter");var i={column:this.column,filterParams:o,currentParentModel:function(){return e.currentParentModel()},parentFilterInstance:function(t){return e.parentFilterInstance(t)},showParentFilter:function(){return e.showParentFilter()},suppressFilterButton:!1};this.suppressFilterButton=!!t.floatingFilterComponentParams&&!!t.floatingFilterComponentParams.suppressFilterButton;var a=this.userComponentFactory.getFloatingFilterCompDetails(t,i,n);a&&this.comp.setCompDetails(a)}},t.prototype.currentParentModel=function(){var e=this.getFilterComponent(!1);return e?e.resolveNow(null,(function(e){return e&&e.getModel()})):null},t.prototype.getFilterComponent=function(e){return void 0===e&&(e=!0),this.filterManager.getFilterComponent(this.column,"NO_UI",e)},t.prototype.parentFilterInstance=function(e){var t=this.getFilterComponent();null!=t&&t.then((function(t){e(Object(c.b)(t))}))},t.prototype.showParentFilter=function(){var e=this.suppressFilterButton?this.eFloatingFilterBody:this.eButtonShowMainFilter;this.menuFactory.showMenuAfterButtonClick(this.column,e,"floatingFilter","filterMenuTab",["filterMenuTab"])},t.prototype.setupSyncWithFilter=function(){var e=this;if(this.active){var t=function(t){var r=e.comp.getFloatingFilterComp();if(r){var o=e.currentParentModel();r.then((function(e){e&&e.onParentModelChanged(o,t)}))}};this.addManagedListener(this.column,s.a.EVENT_FILTER_CHANGED,t),this.filterManager.isFilterActive(this.column)&&t(null)}},t.prototype.setupWidth=function(){var e=this,t=function(){var t=e.column.getActualWidth()+"px";e.comp.setWidth(t)};this.addManagedListener(this.column,s.a.EVENT_WIDTH_CHANGED,t),t()},y([Object(a.a)("filterManager")],t.prototype,"filterManager",void 0),y([Object(a.a)("columnHoverService")],t.prototype,"columnHoverService",void 0),y([Object(a.a)("menuFactory")],t.prototype,"menuFactory",void 0),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(3),i=r(1),a=r(15),s=r(148),l=r(93),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return c(t,e),t.prototype.postConstruct=function(){var e=this,t={addOrRemoveCssClass:function(t,r){return e.addOrRemoveCssClass(t,r)},setHeightAndMinHeight:function(t){e.getGui().style.height=t,e.getGui().style.minHeight=t}};this.createManagedBean(new s.a).setComp(t,this.getGui(),this.getFocusableElement());var r=function(t){e.createManagedBean(t),e.appendChild(t)};r(new l.a(n.a.PINNED_LEFT)),r(new l.a(null)),r(new l.a(n.a.PINNED_RIGHT))},t.TEMPLATE='<div class="ag-header" role="presentation"/>',u([i.e],t.prototype,"postConstruct",null),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(8),i=r(6),a=r(1),s=r(9),l=r(12),c=r(2),u=r(39),p=r(53),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.setComp=function(e,t,r){this.comp=e,this.eGui=t,this.createManagedBean(new u.a(r,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this)),this.onPivotModeChanged(),this.setupHeaderHeight(),this.ctrlsService.registerGridHeaderCtrl(this)},t.prototype.setupHeaderHeight=function(){var e=this.setHeaderHeight.bind(this);e(),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_PIVOT_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_GROUP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_PIVOT_GROUP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,l.a.PROP_FLOATING_FILTERS_HEIGHT,e),this.addManagedListener(this.eventService,s.a.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,e)},t.prototype.getHeaderHeight=function(){return this.headerHeight},t.prototype.setHeaderHeight=function(){var e,t=this.columnModel,r=this.gridOptionsWrapper,o=0,n=t.getHeaderRowCount();t.hasFloatingFilters()&&(n++,o=1);var i=this.columnModel.getColumnGroupHeaderRowHeight(),a=this.columnModel.getColumnHeaderRowHeight(),l=n-(1+o);if(e=o*r.getFloatingFiltersHeight(),e+=l*i,e+=a,this.headerHeight!==e){this.headerHeight=e;var c=e+1+"px";this.comp.setHeightAndMinHeight(c),this.eventService.dispatchEvent({type:s.a.EVENT_HEADER_HEIGHT_CHANGED})}},t.prototype.onPivotModeChanged=function(){var e=this.columnModel.isPivotMode();this.comp.addOrRemoveCssClass("ag-pivot-on",e),this.comp.addOrRemoveCssClass("ag-pivot-off",!e)},t.prototype.onTabKeyDown=function(e){var t=this.gridOptionsWrapper.isEnableRtl(),r=e.shiftKey!==t?p.a.LEFT:p.a.RIGHT;(this.headerNavigationService.navigateHorizontally(r,!0,e)||this.focusService.focusNextGridCoreContainer(e.shiftKey))&&e.preventDefault()},t.prototype.handleKeyDown=function(e){var t=null;switch(e.key){case n.a.LEFT:t=p.a.LEFT;case n.a.RIGHT:Object(c.exists)(t)||(t=p.a.RIGHT),this.headerNavigationService.navigateHorizontally(t,!1,e);break;case n.a.UP:t=p.a.UP;case n.a.DOWN:Object(c.exists)(t)||(t=p.a.DOWN),this.headerNavigationService.navigateVertically(t,null,e)&&e.preventDefault();break;default:return}},t.prototype.onFocusOut=function(e){var t=this.gridOptionsWrapper.getDocument(),r=e.relatedTarget;!r&&this.eGui.contains(t.activeElement)||this.eGui.contains(r)||this.focusService.clearFocusedHeader()},g([Object(a.a)("headerNavigationService")],t.prototype,"headerNavigationService",void 0),g([Object(a.a)("focusService")],t.prototype,"focusService",void 0),g([Object(a.a)("columnModel")],t.prototype,"columnModel",void 0),g([Object(a.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.addResizeBar=function(e){var t=this,r={dragStartPixels:e.dragStartPixels||0,eElement:e.eResizeBar,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this,e),onDragging:this.onDragging.bind(this,e)};this.dragService.addDragSource(r,!0);return function(){return t.dragService.removeDragSource(r)}},t.prototype.onDragStart=function(e,t){this.dragStartX=t.clientX,this.setResizeIcons();var r=t instanceof MouseEvent&&!0===t.shiftKey;e.onResizeStart(r)},t.prototype.setResizeIcons=function(){var e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!0),e.disableUserSelect(!0)},t.prototype.onDragStop=function(e,t){e.onResizeEnd(this.resizeAmount),this.resetIcons()},t.prototype.resetIcons=function(){var e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!1),e.disableUserSelect(!1)},t.prototype.onDragging=function(e,t){this.resizeAmount=t.clientX-this.dragStartX,e.onResizing(this.resizeAmount)},s([Object(n.a)("dragService")],t.prototype,"dragService",void 0),s([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),t=s([Object(n.b)("horizontalResizeService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(1),i=r(6),a=r(5),s=r(8),l=r(11),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.hideActiveMenu=function(){this.hidePopup&&this.hidePopup()},t.prototype.showMenuAfterMouseEvent=function(e,t){var r=this;this.showPopup(e,(function(o){r.popupService.positionPopupUnderMouseEvent({column:e,type:"columnMenu",mouseEvent:t,ePopup:o})}),t.target)},t.prototype.showMenuAfterButtonClick=function(e,t,r){var o=this;this.showPopup(e,(function(n){o.popupService.positionPopupUnderComponent({type:r,eventSource:t,ePopup:n,keepWithinBounds:!0,column:e})}),t)},t.prototype.showPopup=function(e,t,r){var o=this,n=this.filterManager.getOrCreateFilterWrapper(e,"COLUMN_MENU");if(!n)throw new Error("AG Grid - unable to show popup filter, filter instantiation failed");var i,s=document.createElement("div");Object(l.setAriaRole)(s,"presentation"),s.classList.add("ag-menu"),this.tabListener=this.addManagedListener(s,"keydown",(function(e){return o.trapFocusWithin(e,s)})),n.guiPromise.then((function(e){return s.appendChild(e)}));var c=r||this.ctrlsService.getGridBodyCtrl().getGui(),u=this.gridOptionsWrapper.getLocaleTextFunc(),p=this.popupService.addPopup({modal:!0,eChild:s,closeOnEsc:!0,closedCallback:function(t){e.setMenuVisible(!1,"contextMenu");var n=t instanceof KeyboardEvent;if(o.tabListener&&(o.tabListener=o.tabListener()),n&&r&&Object(a.isVisible)(r)){var i=o.focusService.findTabbableParent(r);i&&i.focus()}},positionCallback:function(){return t(s)},anchorToElement:c,ariaLabel:u("ariaLabelColumnMenu","Column Menu")});p&&(this.hidePopup=i=p.hideFunc),n.filterPromise.then((function(e){t(s),e.afterGuiAttached&&e.afterGuiAttached({container:"columnMenu",hidePopup:i})})),e.setMenuVisible(!0,"contextMenu")},t.prototype.trapFocusWithin=function(e,t){e.key!==s.a.TAB||e.defaultPrevented||this.focusService.findNextFocusableElement(t,!1,e.shiftKey)||(e.preventDefault(),this.focusService.focusInto(t,e.shiftKey))},t.prototype.isMenuEnabled=function(e){return e.isFilterAllowed()},u([Object(n.a)("filterManager")],t.prototype,"filterManager",void 0),u([Object(n.a)("popupService")],t.prototype,"popupService",void 0),u([Object(n.a)("focusService")],t.prototype,"focusService",void 0),u([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),t=u([Object(n.b)("menuFactory")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(1),i=r(6),a=r(13),s=r(5),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.polyfillFunctions=[],t}return l(t,e),t.prototype.observeResize=function(e,t){var r,o,n,i,l,c=this,u=this.gridOptionsWrapper.getDocument().defaultView||window,p=Object(a.debounce)(t,50),d=this.gridOptionsWrapper.isSuppressBrowserResizeObserver();return!!u.ResizeObserver&&!d?((r=new u.ResizeObserver(p)).observe(e),function(){return r.disconnect()}):(o=Object(s.offsetWidth)(e),n=Object(s.offsetHeight)(e),i=!0,(l=function(){if(i){var r=Object(s.offsetWidth)(e),a=Object(s.offsetHeight)(e);(r!==o||a!==n)&&(o=r,n=a,t()),c.doNextPolyfillTurn(l)}})(),function(){return i=!1})},t.prototype.doNextPolyfillTurn=function(e){this.polyfillFunctions.push(e),this.schedulePolyfill()},t.prototype.schedulePolyfill=function(){var e=this;if(!this.polyfillScheduled){this.polyfillScheduled=!0,this.getFrameworkOverrides().setTimeout((function(){var t=e.polyfillFunctions;e.polyfillScheduled=!1,e.polyfillFunctions=[],t.forEach((function(e){return e()}))}),50)}},t=c([Object(n.b)("resizeObserverService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createTasksP1={list:[],sorted:!1},t.createTasksP2={list:[],sorted:!1},t.destroyTasks=[],t.ticking=!1,t.scrollGoingDown=!0,t.lastScrollTop=0,t.taskCount=0,t.cancelledTasks=new Set,t}return a(t,e),t.prototype.setScrollTop=function(e){this.scrollGoingDown=e>this.lastScrollTop,this.lastScrollTop=e},t.prototype.init=function(){this.useAnimationFrame=!this.gridOptionsWrapper.isSuppressAnimationFrame()},t.prototype.isOn=function(){return this.useAnimationFrame},t.prototype.verifyAnimationFrameOn=function(e){!1===this.useAnimationFrame&&console.warn("AG Grid: AnimationFrameService."+e+" called but animation frames are off")},t.prototype.createTask=function(e,t,r){this.verifyAnimationFrameOn(r);var o={task:e,index:t,createOrder:++this.taskCount};this.addTaskToList(this[r],o),this.schedule()},t.prototype.cancelTask=function(e){this.cancelledTasks.add(e)},t.prototype.addTaskToList=function(e,t){e.list.push(t),e.sorted=!1},t.prototype.sortTaskList=function(e){if(!e.sorted){var t=this.scrollGoingDown?1:-1;e.list.sort((function(e,r){return e.index!==r.index?t*(r.index-e.index):r.createOrder-e.createOrder})),e.sorted=!0}},t.prototype.addDestroyTask=function(e){this.verifyAnimationFrameOn("createTasksP3"),this.destroyTasks.push(e),this.schedule()},t.prototype.executeFrame=function(e){this.verifyAnimationFrameOn("executeFrame");for(var t=this.createTasksP1,r=t.list,o=this.createTasksP2,n=o.list,i=this.destroyTasks,a=(new Date).getTime(),s=(new Date).getTime()-a,l=e<=0,c=this.ctrlsService.getGridBodyCtrl();l||s<e;){if(!c.getScrollFeature().executeAnimationFrameScroll()){var u=void 0;if(r.length)this.sortTaskList(t),u=r.pop().task;else if(n.length)this.sortTaskList(o),u=n.pop().task;else{if(!i.length){this.cancelledTasks.clear();break}u=i.pop()}this.cancelledTasks.has(u)||u()}s=(new Date).getTime()-a}r.length||n.length||i.length?this.requestFrame():this.stopTicking()},t.prototype.stopTicking=function(){this.ticking=!1},t.prototype.flushAllFrames=function(){this.useAnimationFrame&&this.executeFrame(-1)},t.prototype.schedule=function(){this.useAnimationFrame&&(this.ticking||(this.ticking=!0,this.requestFrame()))},t.prototype.requestFrame=function(){var e=this.executeFrame.bind(this,60),t=this.gridOptionsWrapper.getDocument().defaultView||window;t.requestAnimationFrame?t.requestAnimationFrame(e):t.webkitRequestAnimationFrame?t.webkitRequestAnimationFrame(e):t.setTimeout(e,0)},t.prototype.isQueueEmpty=function(){return!this.ticking},t.prototype.debounce=function(e){var t=this,r=!1;return function(){t.isOn()?r||(r=!0,t.addDestroyTask((function(){r=!1,e()}))):t.getFrameworkOverrides().setTimeout(e,0)}},s([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),s([n.e],t.prototype,"init",null),t=s([Object(n.b)("animationFrameService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(6),i=r(1),a=r(5),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(t,r){var o=e.call(this)||this;return o.element=t,o.dragStartPosition={x:0,y:0},o.position={x:0,y:0},o.lastSize={width:-1,height:-1},o.positioned=!1,o.resizersAdded=!1,o.resizeListeners=[],o.boundaryEl=null,o.isResizing=!1,o.isMoving=!1,o.resizable={},o.movable=!1,o.currentResizer=null,o.config=Object.assign({},{popup:!1},r),o}return s(t,e),t.prototype.center=function(){var e=this.offsetParent,t=e.clientHeight,r=e.clientWidth/2-this.getWidth()/2,o=t/2-this.getHeight()/2;this.offsetElement(r,o)},t.prototype.initialisePosition=function(){var e=this.config,t=e.centered,r=e.forcePopupParentAsOffsetParent,o=e.minWidth,n=e.width,i=e.minHeight,a=e.height,s=e.x,l=e.y;this.offsetParent||this.setOffsetParent();var c=0,u=0,p=!!this.element.offsetParent;if(p){var d=this.findBoundaryElement(),g=window.getComputedStyle(d);if(null!=g.minWidth){var h=d.offsetWidth-this.element.offsetWidth;u=parseInt(g.minWidth,10)-h}if(null!=g.minHeight){var f=d.offsetHeight-this.element.offsetHeight;c=parseInt(g.minHeight,10)-f}}if(this.minHeight=i||c,this.minWidth=o||u,n&&this.setWidth(n),a&&this.setHeight(a),n&&a||this.refreshSize(),t)this.center();else if(s||l)this.offsetElement(s,l);else if(p&&r&&this.boundaryEl){var v=parseFloat(this.boundaryEl.style.top),y=parseFloat(this.boundaryEl.style.left);this.offsetElement(isNaN(y)?0:y,isNaN(v)?0:v)}this.positioned=!!this.offsetParent},t.prototype.isPositioned=function(){return this.positioned},t.prototype.getPosition=function(){return this.position},t.prototype.setMovable=function(e,t){if(this.config.popup&&e!==this.movable){this.movable=e;var r=this.moveElementDragListener||{eElement:t,onDragStart:this.onMoveStart.bind(this),onDragging:this.onMove.bind(this),onDragStop:this.onMoveEnd.bind(this)};e?(this.dragService.addDragSource(r),this.moveElementDragListener=r):(this.dragService.removeDragSource(r),this.moveElementDragListener=void 0)}},t.prototype.setResizable=function(e){var t=this;if(this.clearResizeListeners(),e?this.addResizers():this.removeResizers(),"boolean"==typeof e){if(!1===e)return;e={topLeft:e,top:e,topRight:e,right:e,bottomRight:e,bottom:e,bottomLeft:e,left:e}}Object.keys(e).forEach((function(r){var o=!!e[r],n=t.getResizerElement(r),i={dragStartPixels:0,eElement:n,onDragStart:function(e){return t.onResizeStart(e,r)},onDragging:t.onResize.bind(t),onDragStop:function(e){return t.onResizeEnd(e,r)}};!!t.resizable[r]===o&&(t.isAlive()||o)||(o?(t.dragService.addDragSource(i),t.resizeListeners.push(i),n.style.pointerEvents="all"):n.style.pointerEvents="none",t.resizable[r]=o)}))},t.prototype.removeSizeFromEl=function(){this.element.style.removeProperty("height"),this.element.style.removeProperty("width"),this.element.style.removeProperty("flex")},t.prototype.restoreLastSize=function(){this.element.style.flex="0 0 auto";var e=this.lastSize,t=e.height,r=e.width;-1!==r&&(this.element.style.width=r+"px"),-1!==t&&(this.element.style.height=t+"px")},t.prototype.getHeight=function(){return this.element.offsetHeight},t.prototype.setHeight=function(e){var t=this.config.popup,r=this.element,o=!1;if("string"==typeof e&&-1!==e.indexOf("%"))Object(a.setFixedHeight)(r,e),e=Object(a.getAbsoluteHeight)(r),o=!0;else if(this.positioned){var n=this.element.getBoundingClientRect(),i=this.offsetParent.getBoundingClientRect();e=Math.max(this.minHeight,e);var s=this.offsetParent.clientHeight,l=t?this.position.y:n.top,c=t?0:i.top;s&&e+l>s+c&&(e=s-l)}this.getHeight()!==e&&(o?(r.style.maxHeight="unset",r.style.minHeight="unset"):t?Object(a.setFixedHeight)(r,e):(r.style.height=e+"px",r.style.flex="0 0 auto",this.lastSize.height="number"==typeof e?e:parseFloat(e)))},t.prototype.getWidth=function(){return this.element.offsetWidth},t.prototype.setWidth=function(e){var t=this.element,r=this.config.popup,o=!1;if("string"==typeof e&&-1!==e.indexOf("%"))Object(a.setFixedWidth)(t,e),e=Object(a.getAbsoluteWidth)(t),o=!0;else if(this.positioned){e=Math.max(this.minWidth,e);var n=this.offsetParent.clientWidth,i=r?this.position.x:this.element.getBoundingClientRect().left;n&&e+i>n&&(e=n-i)}this.getWidth()!==e&&(o?(t.style.maxWidth="unset",t.style.minWidth="unset"):this.config.popup?Object(a.setFixedWidth)(t,e):(t.style.width=e+"px",t.style.flex=" unset",this.lastSize.width="number"==typeof e?e:parseFloat(e)))},t.prototype.offsetElement=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var r=this.config.forcePopupParentAsOffsetParent?this.boundaryEl:this.element;this.popupService.positionPopup({ePopup:r,x:e,y:t,keepWithinBounds:!0,skipObserver:this.movable||this.isResizable()}),this.setPosition(parseFloat(r.style.left),parseFloat(r.style.top))},t.prototype.setPosition=function(e,t){this.position.x=e,this.position.y=t},t.prototype.updateDragStartPosition=function(e,t){this.dragStartPosition={x:e,y:t}},t.prototype.calculateMouseMovement=function(e){var t=e.e,r=e.isLeft,o=e.isTop,n=e.anywhereWithin,i=e.topBuffer,a=t.clientX-this.dragStartPosition.x,s=t.clientY-this.dragStartPosition.y;return{movementX:this.shouldSkipX(t,!!r,!!n,a)?0:a,movementY:this.shouldSkipY(t,!!o,i,s)?0:s}},t.prototype.shouldSkipX=function(e,t,r,o){var n=this.element.getBoundingClientRect(),i=this.offsetParent.getBoundingClientRect(),a=this.boundaryEl.getBoundingClientRect(),s=this.config.popup?this.position.x:n.left,l=s<=0&&i.left>=e.clientX||i.right<=e.clientX&&i.right<=a.right;return!!l||(l=t?o<0&&e.clientX>s+i.left||o>0&&e.clientX<s+i.left:r?o<0&&e.clientX>a.right||o>0&&e.clientX<s+i.left:o<0&&e.clientX>a.right||o>0&&e.clientX<a.right)},t.prototype.shouldSkipY=function(e,t,r,o){void 0===r&&(r=0);var n=this.element.getBoundingClientRect(),i=this.offsetParent.getBoundingClientRect(),a=this.boundaryEl.getBoundingClientRect(),s=this.config.popup?this.position.y:n.top,l=s<=0&&i.top>=e.clientY||i.bottom<=e.clientY&&i.bottom<=a.bottom;return!!l||(l=t?o<0&&e.clientY>s+i.top+r||o>0&&e.clientY<s+i.top:o<0&&e.clientY>a.bottom||o>0&&e.clientY<a.bottom)},t.prototype.createResizeMap=function(){var e=this.element;this.resizerMap={topLeft:{element:e.querySelector("[ref=eTopLeftResizer]")},top:{element:e.querySelector("[ref=eTopResizer]")},topRight:{element:e.querySelector("[ref=eTopRightResizer]")},right:{element:e.querySelector("[ref=eRightResizer]")},bottomRight:{element:e.querySelector("[ref=eBottomRightResizer]")},bottom:{element:e.querySelector("[ref=eBottomResizer]")},bottomLeft:{element:e.querySelector("[ref=eBottomLeftResizer]")},left:{element:e.querySelector("[ref=eLeftResizer]")}}},t.prototype.addResizers=function(){if(!this.resizersAdded){var e=this.element;if(e){var t=(new DOMParser).parseFromString('<div class="ag-resizer-wrapper">\n <div ref="eTopLeftResizer" class="ag-resizer ag-resizer-topLeft"></div>\n <div ref="eTopResizer" class="ag-resizer ag-resizer-top"></div>\n <div ref="eTopRightResizer" class="ag-resizer ag-resizer-topRight"></div>\n <div ref="eRightResizer" class="ag-resizer ag-resizer-right"></div>\n <div ref="eBottomRightResizer" class="ag-resizer ag-resizer-bottomRight"></div>\n <div ref="eBottomResizer" class="ag-resizer ag-resizer-bottom"></div>\n <div ref="eBottomLeftResizer" class="ag-resizer ag-resizer-bottomLeft"></div>\n <div ref="eLeftResizer" class="ag-resizer ag-resizer-left"></div>\n </div>',"text/html").body;e.appendChild(t.firstChild),this.createResizeMap(),this.resizersAdded=!0}}},t.prototype.removeResizers=function(){this.resizerMap=void 0;var e=this.element.querySelector(".ag-resizer-wrapper");e&&this.element.removeChild(e),this.resizersAdded=!1},t.prototype.getResizerElement=function(e){return this.resizerMap[e].element},t.prototype.onResizeStart=function(e,t){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.currentResizer={isTop:!!t.match(/top/i),isRight:!!t.match(/right/i),isBottom:!!t.match(/bottom/i),isLeft:!!t.match(/left/i)},this.element.classList.add("ag-resizing"),this.resizerMap[t].element.classList.add("ag-active");var r=this.config,o=r.popup,n=r.forcePopupParentAsOffsetParent;o||n||this.applySizeToSiblings(this.currentResizer.isBottom||this.currentResizer.isTop),this.isResizing=!0,this.updateDragStartPosition(e.clientX,e.clientY)},t.prototype.getSiblings=function(){var e=this.element.parentElement;return e?Array.prototype.slice.call(e.children).filter((function(e){return!e.classList.contains("ag-hidden")})):null},t.prototype.getMinSizeOfSiblings=function(){for(var e=this.getSiblings()||[],t=0,r=0,o=0;o<e.length;o++){var n=e[o],i=!!n.style.flex&&"0 0 auto"!==n.style.flex;if(n!==this.element){var a=this.minHeight||0,s=this.minWidth||0;if(i){var l=window.getComputedStyle(n);l.minHeight&&(a=parseInt(l.minHeight,10)),l.minWidth&&(s=parseInt(l.minWidth,10))}else a=n.offsetHeight,s=n.offsetWidth;t+=a,r+=s}}return{height:t,width:r}},t.prototype.applySizeToSiblings=function(e){var t=null,r=this.getSiblings();if(r){for(var o=0;o<r.length;o++){var n=r[o];n!==t&&(e?n.style.height=n.offsetHeight+"px":n.style.width=n.offsetWidth+"px",n.style.flex="0 0 auto",n===this.element&&(t=r[o+1]))}t&&(t.style.removeProperty("height"),t.style.removeProperty("min-height"),t.style.removeProperty("max-height"),t.style.flex="1 1 auto")}},t.prototype.isResizable=function(){return Object.values(this.resizable).some((function(e){return e}))},t.prototype.onResize=function(e){if(this.isResizing&&this.currentResizer){var t=this.config,r=t.popup,o=t.forcePopupParentAsOffsetParent,n=this.currentResizer,i=n.isTop,a=n.isRight,s=n.isBottom,l=n.isLeft,c=a||l,u=s||i,p=this.calculateMouseMovement({e:e,isLeft:l,isTop:i}),d=p.movementX,g=p.movementY,h=this.position.x,f=this.position.y,v=0,y=0;if(c&&d){var m=l?-1:1,b=this.getWidth(),w=b+d*m,C=!1;l&&(h+(v=b-w)<=0||w<=this.minWidth)&&(C=!0,v=0),C||this.setWidth(w)}if(u&&g){m=i?-1:1;var O=this.getHeight(),S=O+g*m,E=!1;i?(f+(y=O-S)<=0||S<=this.minHeight)&&(E=!0,y=0):!this.config.popup&&!this.config.forcePopupParentAsOffsetParent&&O<S&&this.getMinSizeOfSiblings().height+S>this.element.parentElement.offsetHeight&&(E=!0),E||this.setHeight(S)}this.updateDragStartPosition(e.clientX,e.clientY),((r||o)&&v||y)&&this.offsetElement(h+v,f+y)}},t.prototype.onResizeEnd=function(e,t){this.isResizing=!1,this.currentResizer=null,this.boundaryEl=null;var r={type:"resize",api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()};this.element.classList.remove("ag-resizing"),this.resizerMap[t].element.classList.remove("ag-active"),this.dispatchEvent(r)},t.prototype.refreshSize=function(){var e=this.element;this.config.popup&&(this.config.width||this.setWidth(e.offsetWidth),this.config.height||this.setHeight(e.offsetHeight))},t.prototype.onMoveStart=function(e){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.isMoving=!0,this.element.classList.add("ag-moving"),this.updateDragStartPosition(e.clientX,e.clientY)},t.prototype.onMove=function(e){if(this.isMoving){var t,r=this.position,o=r.x,n=r.y;this.config.calculateTopBuffer&&(t=this.config.calculateTopBuffer());var i=this.calculateMouseMovement({e:e,isTop:!0,anywhereWithin:!0,topBuffer:t}),a=i.movementX,s=i.movementY;this.offsetElement(o+a,n+s),this.updateDragStartPosition(e.clientX,e.clientY)}},t.prototype.onMoveEnd=function(){this.isMoving=!1,this.boundaryEl=null,this.element.classList.remove("ag-moving")},t.prototype.setOffsetParent=function(){this.config.forcePopupParentAsOffsetParent?this.offsetParent=this.popupService.getPopupParent():this.offsetParent=this.element.offsetParent},t.prototype.findBoundaryElement=function(){for(var e=this.element;e;){if("static"!==window.getComputedStyle(e).position)return e;e=e.parentElement}return this.element},t.prototype.clearResizeListeners=function(){for(;this.resizeListeners.length;){var e=this.resizeListeners.pop();this.dragService.removeDragSource(e)}},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.moveElementDragListener&&this.dragService.removeDragSource(this.moveElementDragListener),this.clearResizeListeners(),this.removeResizers()},l([Object(i.a)("popupService")],t.prototype,"popupService",void 0),l([Object(i.a)("dragService")],t.prototype,"dragService",void 0),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){e.centerRowContainerCtrl=t.centerRowContainerCtrl}))},t.prototype.getPreferredWidthForColumn=function(e,t){var r=this.getHeaderCellForColumn(e);if(!r)return-1;var o=this.rowRenderer.getAllCellsForColumn(e);return t||o.push(r),this.addElementsToContainerAndGetWidth(o)},t.prototype.getPreferredWidthForColumnGroup=function(e){var t=this.getHeaderCellForColumn(e);return t?this.addElementsToContainerAndGetWidth([t]):-1},t.prototype.addElementsToContainerAndGetWidth=function(e){var t=this,r=document.createElement("form");r.style.position="fixed";var o=this.centerRowContainerCtrl.getContainerElement();o.appendChild(r),e.forEach((function(e){return t.cloneItemIntoDummy(e,r)}));var n=r.offsetWidth;return o.removeChild(r),n+this.gridOptionsWrapper.getAutoSizePadding()},t.prototype.getHeaderCellForColumn=function(e){var t=null;return this.ctrlsService.getHeaderRowContainerCtrls().forEach((function(r){var o=r.getHtmlElementForColumnHeader(e);null!=o&&(t=o)})),t},t.prototype.cloneItemIntoDummy=function(e,t){var r=e.cloneNode(!0);r.style.width="",r.style.position="static",r.style.left="";var o=document.createElement("div"),n=o.classList;["ag-header-cell","ag-header-group-cell"].some((function(e){return r.classList.contains(e)}))?(n.add("ag-header","ag-header-row"),o.style.position="static"):n.add("ag-row");for(var i=e.parentElement;i;){if(["ag-header-row","ag-row"].some((function(e){return i.classList.contains(e)}))){for(var a=0;a<i.classList.length;a++){var s=i.classList[a];"ag-row-position-absolute"!=s&&n.add(s)}break}i=i.parentElement}o.appendChild(r),t.appendChild(o)},s([Object(n.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),s([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),s([Object(n.a)("rowCssClassCalculator")],t.prototype,"rowCssClassCalculator",void 0),s([n.e],t.prototype,"postConstruct",null),t=s([Object(n.b)("autoWidthCalculator")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.formatValue=function(e,t,r,o,n){void 0===n&&(n=!0);var i,a=null,s=e.getColDef();if(o?i=o:n&&(i=t&&t.rowPinned&&s.pinnedRowValueFormatter?s.pinnedRowValueFormatter:s.valueFormatter),i){var l={value:r,node:t,data:t?t.data:null,colDef:s,column:e,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};a=this.expressionService.evaluate(i,l)}else if(s.refData)return s.refData[r]||"";return null==a&&Array.isArray(r)&&(a=r.join(", ")),a},s([Object(n.a)("expressionService")],t.prototype,"expressionService",void 0),t=s([Object(n.b)("valueFormatterService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(22),i=r(1),a=r(4),s=r(3),l=r(6),c=r(2),u=r(10),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.init=function(){this.setPinnedTopRowData(this.gridOptionsWrapper.getPinnedTopRowData()),this.setPinnedBottomRowData(this.gridOptionsWrapper.getPinnedBottomRowData())},t.prototype.isEmpty=function(e){var t=e===s.a.PINNED_TOP?this.pinnedTopRows:this.pinnedBottomRows;return Object(c.missingOrEmpty)(t)},t.prototype.isRowsToRender=function(e){return!this.isEmpty(e)},t.prototype.getRowAtPixel=function(e,t){var r=t===s.a.PINNED_TOP?this.pinnedTopRows:this.pinnedBottomRows;if(Object(c.missingOrEmpty)(r))return 0;for(var o=0;o<r.length;o++){var n=r[o];if(n.rowTop+n.rowHeight-1>=e)return o}return r.length-1},t.prototype.setPinnedTopRowData=function(e){this.pinnedTopRows=this.createNodesFromData(e,!0);var t={type:a.a.EVENT_PINNED_ROW_DATA_CHANGED};this.eventService.dispatchEvent(t)},t.prototype.setPinnedBottomRowData=function(e){this.pinnedBottomRows=this.createNodesFromData(e,!1);var t={type:a.a.EVENT_PINNED_ROW_DATA_CHANGED};this.eventService.dispatchEvent(t)},t.prototype.createNodesFromData=function(e,t){var r=this,o=[];if(e){var i=0;e.forEach((function(e,a){var l=new n.b(r.beans);l.data=e;var c=t?n.b.ID_PREFIX_TOP_PINNED:n.b.ID_PREFIX_BOTTOM_PINNED;l.id=c+a,l.rowPinned=t?s.a.PINNED_TOP:s.a.PINNED_BOTTOM,l.setRowTop(i),l.setRowHeight(r.gridOptionsWrapper.getRowHeightForNode(l).height),l.setRowIndex(a),i+=l.rowHeight,o.push(l)}))}return o},t.prototype.getPinnedTopRowData=function(){return this.pinnedTopRows},t.prototype.getPinnedBottomRowData=function(){return this.pinnedBottomRows},t.prototype.getPinnedTopTotalHeight=function(){return this.getTotalHeight(this.pinnedTopRows)},t.prototype.getPinnedTopRowCount=function(){return this.pinnedTopRows?this.pinnedTopRows.length:0},t.prototype.getPinnedBottomRowCount=function(){return this.pinnedBottomRows?this.pinnedBottomRows.length:0},t.prototype.getPinnedTopRow=function(e){return this.pinnedTopRows[e]},t.prototype.getPinnedBottomRow=function(e){return this.pinnedBottomRows[e]},t.prototype.forEachPinnedTopRow=function(e){Object(c.missingOrEmpty)(this.pinnedTopRows)||this.pinnedTopRows.forEach(e)},t.prototype.forEachPinnedBottomRow=function(e){Object(c.missingOrEmpty)(this.pinnedBottomRows)||this.pinnedBottomRows.forEach(e)},t.prototype.getPinnedBottomTotalHeight=function(){return this.getTotalHeight(this.pinnedBottomRows)},t.prototype.getTotalHeight=function(e){if(!e||0===e.length)return 0;var t=Object(u.last)(e);return t.rowTop+t.rowHeight},d([Object(i.a)("beans")],t.prototype,"beans",void 0),d([i.e],t.prototype,"init",null),t=d([Object(i.b)("pinnedRowModel")],t)}(l.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(115),i=r(1),a=r(6),s=r(24),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e,t){return function(r,o){t(r,o,e)}},p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.activeBlockLoadsCount=0,t.blocks=[],t.active=!0,t}var r;return l(t,e),r=t,t.prototype.postConstruct=function(){this.maxConcurrentRequests=this.gridOptionsWrapper.getMaxConcurrentDatasourceRequests();var e=this.gridOptionsWrapper.getBlockLoadDebounceMillis();e&&e>0&&(this.checkBlockToLoadDebounce=s.f.debounce(this.performCheckBlocksToLoad.bind(this),e))},t.prototype.setBeans=function(e){this.logger=e.create("RowNodeBlockLoader")},t.prototype.addBlock=function(e){this.blocks.push(e),e.addEventListener(n.a.EVENT_LOAD_COMPLETE,this.loadComplete.bind(this)),this.checkBlockToLoad()},t.prototype.removeBlock=function(e){s.f.removeFromArray(this.blocks,e)},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.active=!1},t.prototype.loadComplete=function(){this.activeBlockLoadsCount--,this.checkBlockToLoad(),0==this.activeBlockLoadsCount&&this.dispatchEvent({type:r.BLOCK_LOADER_FINISHED_EVENT})},t.prototype.checkBlockToLoad=function(){this.checkBlockToLoadDebounce?this.checkBlockToLoadDebounce():this.performCheckBlocksToLoad()},t.prototype.performCheckBlocksToLoad=function(){if(this.active)if(this.printCacheStatus(),null!=this.maxConcurrentRequests&&this.activeBlockLoadsCount>=this.maxConcurrentRequests)this.logger.log("checkBlockToLoad: max loads exceeded");else{var e=void 0!==this.maxConcurrentRequests?this.maxConcurrentRequests-this.activeBlockLoadsCount:void 0,t=this.blocks.filter((function(e){return e.getState()===n.a.STATE_WAITING_TO_LOAD})).slice(0,e);this.activeBlockLoadsCount+=t.length,t.forEach((function(e){return e.load()})),this.printCacheStatus()}},t.prototype.getBlockState=function(){var e={};return this.blocks.forEach((function(t){var r=t.getBlockStateJson(),o=r.id,n=r.state;e[o]=n})),e},t.prototype.printCacheStatus=function(){this.logger.isLogging()&&this.logger.log("printCacheStatus: activePageLoadsCount = "+this.activeBlockLoadsCount+", blocks = "+JSON.stringify(this.getBlockState()))},t.prototype.isLoading=function(){return this.activeBlockLoadsCount>0},t.BLOCK_LOADER_FINISHED_EVENT="blockLoaderFinished",c([i.e],t.prototype,"postConstruct",null),c([u(0,Object(i.h)("loggerFactory"))],t.prototype,"setBeans",null),t=r=c([Object(i.b)("rowNodeBlockLoader")],t)}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var o,n=r(6),i=r(4),a=r(1),s=r(2),l=r(42),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentPage=0,t.topDisplayedRowIndex=0,t.bottomDisplayedRowIndex=0,t.pixelOffset=0,t.masterRowCount=0,t}return c(t,e),t.prototype.postConstruct=function(){this.active=this.gridOptionsWrapper.isPagination(),this.paginateChildRows=this.gridOptionsWrapper.isPaginateChildRows(),this.addManagedListener(this.eventService,i.a.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addManagedListener(this.gridOptionsWrapper,"paginationPageSize",this.onPaginationPageSizeChanged.bind(this)),this.onModelUpdated()},t.prototype.ensureRowHeightsValid=function(e,t,r,o){var n=this.rowModel.ensureRowHeightsValid(e,t,this.getPageFirstRow(),this.getPageLastRow());return n&&this.calculatePages(),n},t.prototype.onModelUpdated=function(e){this.calculatePages();var t={type:i.a.EVENT_PAGINATION_CHANGED,animate:!!e&&e.animate,newData:!!e&&e.newData,newPage:!!e&&e.newPage,keepRenderedRows:!!e&&e.keepRenderedRows};this.eventService.dispatchEvent(t)},t.prototype.onPaginationPageSizeChanged=function(){this.calculatePages();var e={type:i.a.EVENT_PAGINATION_CHANGED,animate:!1,newData:!1,newPage:!1,keepRenderedRows:!0};this.eventService.dispatchEvent(e)},t.prototype.goToPage=function(e){if(this.active&&this.currentPage!==e){this.currentPage=e;var t={type:i.a.EVENT_MODEL_UPDATED,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!0};this.onModelUpdated(t)}},t.prototype.getPixelOffset=function(){return this.pixelOffset},t.prototype.getRow=function(e){return this.rowModel.getRow(e)},t.prototype.getRowNode=function(e){return this.rowModel.getRowNode(e)},t.prototype.getRowIndexAtPixel=function(e){return this.rowModel.getRowIndexAtPixel(e)},t.prototype.getCurrentPageHeight=function(){return Object(s.missing)(this.topRowBounds)||Object(s.missing)(this.bottomRowBounds)?0:Math.max(this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight-this.topRowBounds.rowTop,0)},t.prototype.getCurrentPagePixelRange=function(){return{pageFirstPixel:this.topRowBounds?this.topRowBounds.rowTop:0,pageLastPixel:this.bottomRowBounds?this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight:0}},t.prototype.isRowPresent=function(e){return!!this.rowModel.isRowPresent(e)&&(e.rowIndex>=this.topDisplayedRowIndex&&e.rowIndex<=this.bottomDisplayedRowIndex)},t.prototype.isEmpty=function(){return this.rowModel.isEmpty()},t.prototype.isRowsToRender=function(){return this.rowModel.isRowsToRender()},t.prototype.getNodesInRangeForSelection=function(e,t){return this.rowModel.getNodesInRangeForSelection(e,t)},t.prototype.forEachNode=function(e){return this.rowModel.forEachNode(e)},t.prototype.getType=function(){return this.rowModel.getType()},t.prototype.getRowBounds=function(e){var t=this.rowModel.getRowBounds(e);return t.rowIndex=e,t},t.prototype.getPageFirstRow=function(){return this.topRowBounds?this.topRowBounds.rowIndex:-1},t.prototype.getPageLastRow=function(){return this.bottomRowBounds?this.bottomRowBounds.rowIndex:-1},t.prototype.getRowCount=function(){return this.rowModel.getRowCount()},t.prototype.getPageForIndex=function(e){return Math.floor(e/this.pageSize)},t.prototype.goToPageWithIndex=function(e){if(this.active){var t=this.getPageForIndex(e);this.goToPage(t)}},t.prototype.isRowInPage=function(e){return!this.active||this.getPageForIndex(e.rowIndex)===this.currentPage},t.prototype.isLastPageFound=function(){return this.rowModel.isLastRowIndexKnown()},t.prototype.getCurrentPage=function(){return this.currentPage},t.prototype.goToNextPage=function(){this.goToPage(this.currentPage+1)},t.prototype.goToPreviousPage=function(){this.goToPage(this.currentPage-1)},t.prototype.goToFirstPage=function(){this.goToPage(0)},t.prototype.goToLastPage=function(){var e=this.rowModel.getRowCount(),t=Math.floor(e/this.pageSize);this.goToPage(t)},t.prototype.getPageSize=function(){return this.pageSize},t.prototype.getTotalPages=function(){return this.totalPages},t.prototype.setPageSize=function(){this.pageSize=this.gridOptionsWrapper.getPaginationPageSize(),(null==this.pageSize||this.pageSize<1)&&(this.pageSize=100)},t.prototype.calculatePages=function(){this.active?(this.setPageSize(),this.paginateChildRows?this.calculatePagesAllRows():this.calculatePagesMasterRowsOnly()):this.calculatedPagesNotActive(),this.topRowBounds=this.rowModel.getRowBounds(this.topDisplayedRowIndex),this.topRowBounds&&(this.topRowBounds.rowIndex=this.topDisplayedRowIndex),this.bottomRowBounds=this.rowModel.getRowBounds(this.bottomDisplayedRowIndex),this.bottomRowBounds&&(this.bottomRowBounds.rowIndex=this.bottomDisplayedRowIndex),this.setPixelOffset(Object(s.exists)(this.topRowBounds)?this.topRowBounds.rowTop:0)},t.prototype.setPixelOffset=function(e){this.pixelOffset!==e&&(this.pixelOffset=e,this.eventService.dispatchEvent({type:i.a.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED}))},t.prototype.setZeroRows=function(){this.masterRowCount=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=-1,this.currentPage=0,this.totalPages=0},t.prototype.calculatePagesMasterRowsOnly=function(){if(this.masterRowCount=this.rowModel.getTopLevelRowCount(),this.masterRowCount<=0)this.setZeroRows();else{var e=this.masterRowCount-1;this.totalPages=Math.floor(e/this.pageSize)+1,this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1),(!Object(l.isNumeric)(this.currentPage)||this.currentPage<0)&&(this.currentPage=0);var t=this.pageSize*this.currentPage,r=this.pageSize*(this.currentPage+1)-1;if(r>e&&(r=e),this.topDisplayedRowIndex=this.rowModel.getTopLevelRowDisplayedIndex(t),r===e)this.bottomDisplayedRowIndex=this.rowModel.getRowCount()-1;else{var o=this.rowModel.getTopLevelRowDisplayedIndex(r+1);this.bottomDisplayedRowIndex=o-1}}},t.prototype.getMasterRowCount=function(){return this.masterRowCount},t.prototype.calculatePagesAllRows=function(){if(this.masterRowCount=this.rowModel.getRowCount(),0!==this.masterRowCount){var e=this.masterRowCount-1;this.totalPages=Math.floor(e/this.pageSize)+1,this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1),(!Object(l.isNumeric)(this.currentPage)||this.currentPage<0)&&(this.currentPage=0),this.topDisplayedRowIndex=this.pageSize*this.currentPage,this.bottomDisplayedRowIndex=this.pageSize*(this.currentPage+1)-1,this.bottomDisplayedRowIndex>e&&(this.bottomDisplayedRowIndex=e)}else this.setZeroRows()},t.prototype.calculatedPagesNotActive=function(){this.pageSize=this.rowModel.getRowCount(),this.totalPages=1,this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=this.rowModel.getRowCount()-1},u([Object(a.a)("rowModel")],t.prototype,"rowModel",void 0),u([a.e],t.prototype,"postConstruct",null),t=u([Object(a.b)("paginationProxy")],t)}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.processAllCellClasses=function(e,t,r,o){this.processClassRules(e.cellClassRules,t,r,o),this.processStaticCellClasses(e,t,r)},t.prototype.processClassRules=function(e,t,r,o){if(null!=e){for(var n=Object.keys(e),i={},a={},s=function(r){var o,s=n[r],c=e[s];"string"==typeof c?o=l.expressionService.evaluate(c,t):"function"==typeof c&&(o=c(t)),s.split(" ").forEach((function(e){null!=e&&""!=e.trim()&&(o?i[e]=!0:a[e]=!0)}))},l=this,c=0;c<n.length;c++)s(c);o&&Object.keys(a).forEach(o),Object.keys(i).forEach(r)}},t.prototype.getStaticCellClasses=function(e,t){var r,o=e.cellClass;if(!o)return[];"function"==typeof o?r=o(t):r=o;return"string"==typeof r&&(r=[r]),r||[]},t.prototype.processStaticCellClasses=function(e,t,r){this.getStaticCellClasses(e,t).forEach((function(e){r(e)}))},s([Object(n.a)("expressionService")],t.prototype,"expressionService",void 0),t=s([Object(n.b)("stylingService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(55),i=r(9),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(t){return e.call(this,t,"ag-radio-button","radio")||this}return a(t,e),t.prototype.isSelected=function(){return this.eInput.checked},t.prototype.toggle=function(){this.eInput.disabled||this.isSelected()||this.setValue(!0)},t.prototype.addInputListeners=function(){e.prototype.addInputListeners.call(this),this.addManagedListener(this.eventService,i.a.EVENT_CHECKBOX_CHANGED,this.onChange.bind(this))},t.prototype.onChange=function(e){e.selected&&e.name&&this.eInput.name&&this.eInput.name===e.name&&e.id&&this.eInput.id!==e.id&&this.setValue(!1,!0)},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o,n=r(55),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(t){return e.call(this,t,"ag-toggle-button")||this}return i(t,e),t.prototype.setValue=function(t,r){return e.prototype.setValue.call(this,t,r),this.addOrRemoveCssClass("ag-selected",this.getValue()),this},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o,n=r(46),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(t){return e.call(this,t,"ag-text-area",null,"textarea")||this}return i(t,e),t.prototype.setValue=function(t,r){var o=e.prototype.setValue.call(this,t,r);return this.eInput.value=t,o},t.prototype.setCols=function(e){return this.eInput.cols=e,this},t.prototype.setRows=function(e){return this.eInput.rows=e,this},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o,n=r(82),i=r(5),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(t){return e.call(this,t,"ag-number-field","number")||this}return a(t,e),t.prototype.postConstruct=function(){var t=this;e.prototype.postConstruct.call(this),this.addManagedListener(this.eInput,"blur",(function(){var e=parseFloat(t.eInput.value),r=isNaN(e)?"":t.normalizeValue(e.toString());t.value!==r&&t.setValue(r)})),this.addManagedListener(this.eInput,"wheel",this.onWheel.bind(this)),this.eInput.step="any"},t.prototype.onWheel=function(e){document.activeElement===this.eInput&&e.preventDefault()},t.prototype.normalizeValue=function(e){if(""===e)return"";this.precision&&(e=this.adjustPrecision(e));var t=parseFloat(e);return null!=this.min&&t<this.min?e=this.min.toString():null!=this.max&&t>this.max&&(e=this.max.toString()),e},t.prototype.adjustPrecision=function(e){if(this.precision){var t=parseFloat(e).toFixed(this.precision);e=parseFloat(t).toString()}return e},t.prototype.setMin=function(e){return this.min===e||(this.min=e,Object(i.addOrRemoveAttribute)(this.eInput,"min",e)),this},t.prototype.setMax=function(e){return this.max===e||(this.max=e,Object(i.addOrRemoveAttribute)(this.eInput,"max",e)),this},t.prototype.setPrecision=function(e){return this.precision=e,this},t.prototype.setStep=function(e){return this.step===e||(this.step=e,Object(i.addOrRemoveAttribute)(this.eInput,"step",e)),this},t.prototype.setValue=function(t,r){return(t=this.adjustPrecision(t))!=this.normalizeValue(t)?this:e.prototype.setValue.call(this,t,r)},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o,n=r(46),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(e){function t(t){return e.call(this,t,"ag-range-field","range")||this}return i(t,e),t.prototype.postConstruct=function(){e.prototype.postConstruct.call(this);var t=this.config,r=t.min,o=t.max,n=t.step;null!=r&&this.setMinValue(r),null!=o&&this.setMaxValue(o),this.setStep(n||1)},t.prototype.addInputListeners=function(){var e=this;this.addManagedListener(this.eInput,"input",(function(t){var r=t.target.value;e.setValue(r)}))},t.prototype.setMinValue=function(e){return this.min=e,this.eInput.setAttribute("min",e.toString()),this},t.prototype.setMaxValue=function(e){return this.max=e,this.eInput.setAttribute("max",e.toString()),this},t.prototype.setStep=function(e){return this.eInput.setAttribute("step",e.toString()),this},t.prototype.setValue=function(t,r){null!=this.min&&(t=Math.max(parseFloat(t),this.min).toString()),null!=this.max&&(t=Math.min(parseFloat(t),this.max).toString());var o=e.prototype.setValue.call(this,t,r);return this.eInput.value=t,o},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(7),i=r(88),a=r(41),s=r(1),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(r){var o=e.call(this,r,t.TEMPLATE)||this;return o.labelAlignment="top",o}return l(t,e),t.prototype.init=function(){this.eSlider.addCssClass("ag-slider-field")},t.prototype.onValueChange=function(e){var t=this,r=a.a.EVENT_CHANGED;return this.addManagedListener(this.eText,r,(function(){var r=parseFloat(t.eText.getValue());t.eSlider.setValue(r.toString(),!0),e(r||0)})),this.addManagedListener(this.eSlider,r,(function(){var r=t.eSlider.getValue();t.eText.setValue(r,!0),e(parseFloat(r))})),this},t.prototype.setSliderWidth=function(e){return this.eSlider.setWidth(e),this},t.prototype.setTextFieldWidth=function(e){return this.eText.setWidth(e),this},t.prototype.setMinValue=function(e){return this.eSlider.setMinValue(e),this.eText.setMin(e),this},t.prototype.setMaxValue=function(e){return this.eSlider.setMaxValue(e),this.eText.setMax(e),this},t.prototype.getValue=function(){return this.eText.getValue()},t.prototype.setValue=function(e){return this.getValue()===e||(this.eText.setValue(e,!0),this.eSlider.setValue(e,!0),this.dispatchEvent({type:a.a.EVENT_CHANGED})),this},t.prototype.setStep=function(e){return this.eSlider.setStep(e),this.eText.setStep(e),this},t.TEMPLATE='<div class="ag-slider">\n <label ref="eLabel"></label>\n <div class="ag-wrapper ag-slider-wrapper">\n <ag-input-range ref="eSlider"></ag-input-range>\n <ag-input-number-field ref="eText"></ag-input-number-field>\n </div>\n </div>',c([Object(n.b)("eLabel")],t.prototype,"eLabel",void 0),c([Object(n.b)("eSlider")],t.prototype,"eSlider",void 0),c([Object(n.b)("eText")],t.prototype,"eText",void 0),c([s.e],t.prototype,"init",null),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(88),i=r(7),a=r(1),s=r(41),l=r(2),c=r(5),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(r){var o=e.call(this,r,t.TEMPLATE)||this;return o.radius=0,o.offsetX=0,o.offsetY=0,o}return u(t,e),t.prototype.postConstruct=function(){var t=this;e.prototype.postConstruct.call(this),this.dragListener={eElement:this.eParentCircle,dragStartPixels:0,onDragStart:function(e){t.parentCircleRect=t.eParentCircle.getBoundingClientRect()},onDragging:function(e){return t.calculateAngleDrag(e)},onDragStop:function(){}},this.dragService.addDragSource(this.dragListener),this.eAngleValue.setLabel("").setLabelWidth(5).setInputWidth(45).setMin(0).setMax(360).setValue(""+this.degrees).onValueChange((function(e){null!=e&&""!==e||(e="0"),e=t.eAngleValue.normalizeValue(e);var r=parseFloat(e);r>180&&(r-=360),t.setValue(r)})),this.updateNumberInput(),Object(l.exists)(this.getValue())&&this.eAngleValue.setValue(this.normalizeNegativeValue(this.getValue()).toString()),this.addManagedListener(this,s.a.EVENT_CHANGED,(function(){var e=t.gridOptionsWrapper.getDocument();t.eAngleValue.getInputElement().contains(e.activeElement)||t.updateNumberInput()}))},t.prototype.updateNumberInput=function(){var e=this.normalizeNegativeValue(this.getValue());this.eAngleValue.setValue(e.toString())},t.prototype.positionChildCircle=function(e){var t=this.parentCircleRect||{width:24,height:24},r=this.eChildCircle,o=t.width/2,n=t.height/2;r.style.left=o+8*Math.cos(e)+"px",r.style.top=n+8*Math.sin(e)+"px"},t.prototype.calculatePolar=function(){var e=this.offsetX,t=this.offsetY,r=Math.atan2(t,e);this.degrees=this.toDegrees(r),this.radius=Math.sqrt(e*e+t*t),this.positionChildCircle(r)},t.prototype.calculateCartesian=function(){var e=this.toRadians(this.getValue()),t=this.getRadius();this.setOffsetX(Math.cos(e)*t).setOffsetY(Math.sin(e)*t)},t.prototype.setOffsetX=function(e){return this.offsetX!==e&&(this.offsetX=e,this.calculatePolar()),this},t.prototype.setOffsetY=function(e){return this.offsetY!==e&&(this.offsetY=e,this.calculatePolar()),this},t.prototype.calculateAngleDrag=function(e){var t=this.parentCircleRect,r=t.width/2,o=t.height/2,n=e.clientX-t.left-r,i=e.clientY-t.top-o,a=Math.atan2(i,n);this.setValue(a,!0)},t.prototype.toDegrees=function(e){return e/Math.PI*180},t.prototype.toRadians=function(e){return e/180*Math.PI},t.prototype.normalizeNegativeValue=function(e){return e<0?360+e:e},t.prototype.normalizeAngle180=function(e){return(e%=2*Math.PI)<-Math.PI?e+=2*Math.PI:e>=Math.PI&&(e-=2*Math.PI),e},t.prototype.getRadius=function(){return this.radius},t.prototype.setRadius=function(e){return this.radius===e||(this.radius=e,this.calculateCartesian()),this},t.prototype.onValueChange=function(e){var t=this;return this.addManagedListener(this,s.a.EVENT_CHANGED,(function(){e(t.degrees)})),this},t.prototype.getValue=function(e){return e?this.toRadians(this.degrees):this.degrees},t.prototype.setValue=function(e,t){var r;return r=t?e:this.normalizeAngle180(this.toRadians(e)),e=this.toDegrees(r),this.degrees!==e&&(this.degrees=Math.floor(e),this.calculateCartesian(),this.positionChildCircle(r),this.dispatchEvent({type:s.a.EVENT_CHANGED})),this},t.prototype.setWidth=function(e){return Object(c.setFixedWidth)(this.getGui(),e),this},t.prototype.setDisabled=function(t){return e.prototype.setDisabled.call(this,t),this.eAngleValue.setDisabled(t),this},t.prototype.destroy=function(){this.dragService.removeDragSource(this.dragListener),e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-angle-select">\n <div ref="eLabel"></div>\n <div class="ag-wrapper ag-angle-select-wrapper">\n <div ref="eAngleSelectField" class="ag-angle-select-field">\n <div ref="eParentCircle" class="ag-angle-select-parent-circle">\n <div ref="eChildCircle" class="ag-angle-select-child-circle"></div>\n </div>\n </div>\n <ag-input-number-field ref="eAngleValue"></ag-input-number-field>\n </div>\n </div>',p([Object(i.b)("eLabel")],t.prototype,"eLabel",void 0),p([Object(i.b)("eParentCircle")],t.prototype,"eParentCircle",void 0),p([Object(i.b)("eChildCircle")],t.prototype,"eChildCircle",void 0),p([Object(i.b)("eAngleValue")],t.prototype,"eAngleValue",void 0),p([Object(a.a)("dragService")],t.prototype,"dragService",void 0),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(15),i=r(7),a=r(1),s=r(23),l=r(5),c=r(8),u=r(11),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(r){void 0===r&&(r={});var o=e.call(this,t.getTemplate(r))||this;o.suppressEnabledCheckbox=!0,o.suppressOpenCloseIcons=!1;var n=r.title,i=r.enabled,a=r.items,s=r.suppressEnabledCheckbox,l=r.suppressOpenCloseIcons;return o.title=n,o.cssIdentifier=r.cssIdentifier||"default",o.enabled=null==i||i,o.items=a||[],o.alignItems=r.alignItems||"center",null!=s&&(o.suppressEnabledCheckbox=s),null!=l&&(o.suppressOpenCloseIcons=l),o}return p(t,e),t.getTemplate=function(e){var t=e.cssIdentifier||"default";return'<div class="ag-group ag-'+t+'-group" role="presentation">\n <div class="ag-group-title-bar ag-'+t+'-group-title-bar ag-unselectable" ref="eTitleBar" role="button">\n <span class="ag-group-title-bar-icon ag-'+t+'-group-title-bar-icon" ref="eGroupOpenedIcon" role="presentation"></span>\n <span class="ag-group-title-bar-icon ag-'+t+'-group-title-bar-icon" ref="eGroupClosedIcon" role="presentation"></span>\n <span ref="eTitle" class="ag-group-title ag-'+t+'-group-title"></span>\n </div>\n <div ref="eToolbar" class="ag-group-toolbar ag-'+t+'-group-toolbar">\n <ag-checkbox ref="cbGroupEnabled"></ag-checkbox>\n </div>\n <div ref="eContainer" class="ag-group-container ag-group-container-'+(e.direction||"vertical")+" ag-"+t+'-group-container"></div>\n </div>'},t.prototype.postConstruct=function(){if(this.items.length){var e=this.items;this.items=[],this.addItems(e)}var t=this.gridOptionsWrapper.getLocaleTextFunc();this.cbGroupEnabled.setLabel(t("enabled","Enabled")),this.title&&this.setTitle(this.title),this.enabled&&this.setEnabled(this.enabled),this.setAlignItems(this.alignItems),this.hideEnabledCheckbox(this.suppressEnabledCheckbox),this.hideOpenCloseIcons(this.suppressOpenCloseIcons),this.setupExpandContract(),this.refreshAriaStatus(),this.refreshChildDisplay()},t.prototype.setupExpandContract=function(){var e=this;this.eGroupClosedIcon.appendChild(Object(s.createIcon)("columnSelectClosed",this.gridOptionsWrapper,null)),this.eGroupOpenedIcon.appendChild(Object(s.createIcon)("columnSelectOpen",this.gridOptionsWrapper,null)),this.addManagedListener(this.eTitleBar,"click",(function(){return e.toggleGroupExpand()})),this.addManagedListener(this.eTitleBar,"keydown",(function(t){switch(t.key){case c.a.ENTER:case c.a.SPACE:t.preventDefault(),e.toggleGroupExpand();break;case c.a.RIGHT:case c.a.LEFT:t.preventDefault(),e.toggleGroupExpand(t.key===c.a.RIGHT)}}))},t.prototype.refreshAriaStatus=function(){this.suppressOpenCloseIcons||Object(u.setAriaExpanded)(this.eTitleBar,this.expanded)},t.prototype.refreshChildDisplay=function(){var e=!this.suppressOpenCloseIcons;Object(l.setDisplayed)(this.eToolbar,this.expanded&&!this.suppressEnabledCheckbox),Object(l.setDisplayed)(this.eGroupOpenedIcon,e&&this.expanded),Object(l.setDisplayed)(this.eGroupClosedIcon,e&&!this.expanded)},t.prototype.isExpanded=function(){return this.expanded},t.prototype.setAlignItems=function(e){this.alignItems!==e&&this.removeCssClass("ag-group-item-alignment-"+this.alignItems),this.alignItems=e;var t="ag-group-item-alignment-"+this.alignItems;return this.addCssClass(t),this},t.prototype.toggleGroupExpand=function(e){return this.suppressOpenCloseIcons?(this.expanded=!0,this.refreshChildDisplay(),Object(l.setDisplayed)(this.eContainer,!0),this):(e=null!=e?e:!this.expanded,this.expanded===e||(this.expanded=e,this.refreshAriaStatus(),this.refreshChildDisplay(),Object(l.setDisplayed)(this.eContainer,e),this.dispatchEvent({type:this.expanded?t.EVENT_EXPANDED:t.EVENT_COLLAPSED})),this)},t.prototype.addItems=function(e){var t=this;e.forEach((function(e){return t.addItem(e)}))},t.prototype.addItem=function(e){var t=this.eContainer,r=e instanceof n.a?e.getGui():e;r.classList.add("ag-group-item","ag-"+this.cssIdentifier+"-group-item"),t.appendChild(r),this.items.push(r)},t.prototype.hideItem=function(e,t){this.items[t].classList.toggle("ag-hidden",e)},t.prototype.setTitle=function(e){return this.eTitle.innerText=e,this},t.prototype.addCssClassToTitleBar=function(e){this.eTitleBar.classList.add(e)},t.prototype.setEnabled=function(e,t){return this.enabled=e,this.refreshDisabledStyles(),this.toggleGroupExpand(e),t||this.cbGroupEnabled.setValue(e),this},t.prototype.isEnabled=function(){return this.enabled},t.prototype.onEnableChange=function(e){var t=this;return this.cbGroupEnabled.onValueChange((function(r){t.setEnabled(r,!0),e(r)})),this},t.prototype.hideEnabledCheckbox=function(e){return this.suppressEnabledCheckbox=e,this.refreshChildDisplay(),this.refreshDisabledStyles(),this},t.prototype.hideOpenCloseIcons=function(e){return this.suppressOpenCloseIcons=e,e&&this.toggleGroupExpand(!0),this},t.prototype.refreshDisabledStyles=function(){this.addOrRemoveCssClass("ag-disabled",!this.enabled),this.suppressEnabledCheckbox&&!this.enabled?(this.eTitleBar.classList.add("ag-disabled-group-title-bar"),this.eTitleBar.removeAttribute("tabindex")):(this.eTitleBar.classList.remove("ag-disabled-group-title-bar"),this.eTitleBar.setAttribute("tabindex","0")),this.eContainer.classList.toggle("ag-disabled-group-container",!this.enabled)},t.EVENT_EXPANDED="expanded",t.EVENT_COLLAPSED="collapsed",d([Object(i.b)("eTitleBar")],t.prototype,"eTitleBar",void 0),d([Object(i.b)("eGroupOpenedIcon")],t.prototype,"eGroupOpenedIcon",void 0),d([Object(i.b)("eGroupClosedIcon")],t.prototype,"eGroupClosedIcon",void 0),d([Object(i.b)("eToolbar")],t.prototype,"eToolbar",void 0),d([Object(i.b)("cbGroupEnabled")],t.prototype,"cbGroupEnabled",void 0),d([Object(i.b)("eTitle")],t.prototype,"eTitle",void 0),d([Object(i.b)("eContainer")],t.prototype,"eContainer",void 0),d([a.e],t.prototype,"postConstruct",null),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(1),i=r(67),a=r(57),s=r(8),l=r(5),c=r(10),u=r(11),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(){return(d=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(t){void 0===t&&(t=1);var r=e.call(this,'<div class="ag-menu-list" role="tree"></div>')||this;return r.level=t,r.menuItems=[],r}return p(t,e),t.prototype.postConstruct=function(){var e=this;this.initialiseTabGuard({onTabKeyDown:function(t){return e.onTabKeyDown(t)},handleKeyDown:function(t){return e.handleKeyDown(t)}})},t.prototype.onTabKeyDown=function(e){var t=this.getParentComponent(),r=t&&t.getGui();r&&r.classList.contains("ag-focus-managed")||e.preventDefault(),e.shiftKey&&this.closeIfIsChild(e)},t.prototype.handleKeyDown=function(e){switch(e.key){case s.a.UP:case s.a.RIGHT:case s.a.DOWN:case s.a.LEFT:e.preventDefault(),this.handleNavKey(e.key);break;case s.a.ESCAPE:var t=this.findTopMenu();t&&this.focusService.focusInto(t.getGui())}},t.prototype.clearActiveItem=function(){this.activeMenuItem&&(this.activeMenuItem.deactivate(),this.activeMenuItem=null)},t.prototype.addMenuItems=function(e){var t=this;null!=e&&e.forEach((function(e){"separator"===e?t.addSeparator():"string"==typeof e?console.warn("AG Grid: unrecognised menu item "+e):t.addItem(e)}))},t.prototype.addItem=function(e){var t=this,r=this.createManagedBean(new i.a(d(d({},e),{isAnotherSubMenuOpen:function(){return t.menuItems.some((function(e){return e.isSubMenuOpen()}))}})));r.setParentComponent(this),Object(u.setAriaLevel)(r.getGui(),this.level),this.menuItems.push(r),this.appendChild(r.getGui()),this.addManagedListener(r,i.a.EVENT_MENU_ITEM_SELECTED,(function(e){t.dispatchEvent(e)})),this.addManagedListener(r,i.a.EVENT_MENU_ITEM_ACTIVATED,(function(e){t.activeMenuItem&&t.activeMenuItem!==e.menuItem&&t.activeMenuItem.deactivate(),t.activeMenuItem=e.menuItem}))},t.prototype.activateFirstItem=function(){var e=this.menuItems.filter((function(e){return!e.isDisabled()}))[0];e&&e.activate()},t.prototype.addSeparator=function(){this.appendChild(Object(l.loadTemplate)('\n <div class="ag-menu-separator" aria-hidden="true">\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n </div>'))},t.prototype.findTopMenu=function(){var e=this.getParentComponent();if(!e&&this instanceof t)return this;for(;;){var r=e&&e.getParentComponent&&e.getParentComponent();if(!r||!(r instanceof t||r instanceof i.a))break;e=r}return e instanceof t?e:void 0},t.prototype.handleNavKey=function(e){switch(e){case s.a.UP:case s.a.DOWN:var t=this.findNextItem(e===s.a.UP);return void(t&&t!==this.activeMenuItem&&t.activate())}e===(this.gridOptionsWrapper.isEnableRtl()?s.a.RIGHT:s.a.LEFT)?this.closeIfIsChild():this.openChild()},t.prototype.closeIfIsChild=function(e){var t=this.getParentComponent();t&&t instanceof i.a&&(e&&e.preventDefault(),t.closeSubMenu(),t.getGui().focus())},t.prototype.openChild=function(){this.activeMenuItem&&this.activeMenuItem.openSubMenu(!0)},t.prototype.findNextItem=function(e){var t=this.menuItems.filter((function(e){return!e.isDisabled()}));if(t.length){if(!this.activeMenuItem)return e?Object(c.last)(t):t[0];var r;e&&t.reverse();for(var o=!1,n=0;n<t.length;n++){var i=t[n];if(o){r=i;break}i===this.activeMenuItem&&(o=!0)}return r||this.activeMenuItem}},t.prototype.destroy=function(){this.clearActiveItem(),e.prototype.destroy.call(this)},g([Object(n.a)("focusService")],t.prototype,"focusService",void 0),g([n.e],t.prototype,"postConstruct",null),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(6),i=r(1),a=r(39),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(t){var r=e.call(this)||this;r.skipTabGuardFocus=!1;var o=t.comp,n=t.eTopGuard,i=t.eBottomGuard,a=t.focusInnerElement,s=t.onFocusIn,l=t.onFocusOut,c=t.shouldStopEventPropagation,u=t.onTabKeyDown,p=t.handleKeyDown,d=t.eFocusableElement;return r.comp=o,r.eTopGuard=n,r.eBottomGuard=i,r.providedFocusInnerElement=a,r.eFocusableElement=d,r.providedFocusIn=s,r.providedFocusOut=l,r.providedShouldStopEventPropagation=c,r.providedOnTabKeyDown=u,r.providedHandleKeyDown=p,r}return s(t,e),t.prototype.postConstruct=function(){var e=this;this.createManagedBean(new a.a(this.eFocusableElement,{shouldStopEventPropagation:function(){return e.shouldStopEventPropagation()},onTabKeyDown:function(t){return e.onTabKeyDown(t)},handleKeyDown:function(t){return e.handleKeyDown(t)},onFocusIn:function(t){return e.onFocusIn(t)},onFocusOut:function(t){return e.onFocusOut(t)}})),this.activateTabGuards(),[this.eTopGuard,this.eBottomGuard].forEach((function(t){return e.addManagedListener(t,"focus",e.onFocus.bind(e))}))},t.prototype.handleKeyDown=function(e){this.providedHandleKeyDown&&this.providedHandleKeyDown(e)},t.prototype.tabGuardsAreActive=function(){return!!this.eTopGuard&&this.eTopGuard.hasAttribute("tabIndex")},t.prototype.shouldStopEventPropagation=function(){return!!this.providedShouldStopEventPropagation&&this.providedShouldStopEventPropagation()},t.prototype.activateTabGuards=function(){this.comp.setTabIndex(this.getGridTabIndex())},t.prototype.deactivateTabGuards=function(){this.comp.setTabIndex()},t.prototype.onFocus=function(e){if(this.skipTabGuardFocus)this.skipTabGuardFocus=!1;else{var t=e.target===this.eBottomGuard;this.providedFocusInnerElement?this.providedFocusInnerElement(t):this.focusInnerElement(t)}},t.prototype.onFocusIn=function(e){this.providedFocusIn&&this.providedFocusIn(e)||this.deactivateTabGuards()},t.prototype.onFocusOut=function(e){this.providedFocusOut&&this.providedFocusOut(e)||this.eFocusableElement.contains(e.relatedTarget)||this.activateTabGuards()},t.prototype.onTabKeyDown=function(e){var t=this;if(this.providedOnTabKeyDown)this.providedOnTabKeyDown(e);else if(!e.defaultPrevented){var r=this.tabGuardsAreActive();r&&this.deactivateTabGuards();var o=this.getNextFocusableElement(e.shiftKey);r&&setTimeout((function(){return t.activateTabGuards()}),0),o&&(o.focus(),e.preventDefault())}},t.prototype.getGridTabIndex=function(){return this.gridOptionsWrapper.getGridTabIndex()},t.prototype.focusInnerElement=function(e){void 0===e&&(e=!1);var t=this.focusService.findFocusableElements(this.eFocusableElement);this.tabGuardsAreActive()&&(t.splice(0,1),t.splice(t.length-1,1)),t.length&&t[e?t.length-1:0].focus()},t.prototype.getNextFocusableElement=function(e){return this.focusService.findNextFocusableElement(this.eFocusableElement,!1,e)},t.prototype.forceFocusOutOfContainer=function(e){void 0===e&&(e=!1);var t=e?this.eTopGuard:this.eBottomGuard;this.activateTabGuards(),this.skipTabGuardFocus=!0,t.focus()},l([Object(i.a)("focusService")],t.prototype,"focusService",void 0),l([i.e],t.prototype,"postConstruct",null),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(1),i=r(8),a=r(57),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(t){var r=e.call(this)||this;return r.wrappedComponent=t,r.setTemplateFromElement(t.getGui()),r}return s(t,e),t.prototype.postConstruct=function(){var e=this;this.initialiseTabGuard({onTabKeyDown:function(t){return e.onTabKeyDown(t)},handleKeyDown:function(t){return e.handleKeyDown(t)}})},t.prototype.handleKeyDown=function(e){e.key===i.a.ESCAPE&&this.closePanel()},t.prototype.onTabKeyDown=function(e){e.defaultPrevented||(this.closePanel(),e.preventDefault())},t.prototype.closePanel=function(){var e=this.parentComponent;e.closeSubMenu(),setTimeout((function(){return e.getGui().focus()}),0)},l([n.e],t.prototype,"postConstruct",null),t}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));var o,n,i=r(1),a=r(4),s=r(6),l=r(5),c=r(10),u=r(28),p=r(8),d=r(58),g=r(24),h=r(11),f=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},m=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal"}(n||(n={}));var b=0,w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popupList=[],t}var r;return f(t,e),r=t,t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){e.gridCtrl=t.gridCtrl,e.addManagedListener(e.gridCtrl,a.a.EVENT_KEYBOARD_FOCUS,(function(){e.popupList.forEach((function(e){return e.element.classList.add(d.a.AG_KEYBOARD_FOCUS)}))})),e.addManagedListener(e.gridCtrl,a.a.EVENT_MOUSE_FOCUS,(function(){e.popupList.forEach((function(e){return e.element.classList.remove(d.a.AG_KEYBOARD_FOCUS)}))}))}))},t.prototype.getPopupParent=function(){var e=this.gridOptionsWrapper.getPopupParent();return e||this.gridCtrl.getGui()},t.prototype.positionPopupForMenu=function(e){var t=e.eventSource.getBoundingClientRect(),r=this.getParentRect(),o=this.keepXYWithinBounds(e.ePopup,t.top-r.top,n.vertical),i=e.ePopup.clientWidth>0?e.ePopup.clientWidth:200;e.ePopup.style.minWidth=i+"px";var a,s=r.right-r.left-i;function l(){return t.right-r.left-2}function c(){return t.left-r.left-i}this.gridOptionsWrapper.isEnableRtl()?((a=c())<0&&(a=l()),a>s&&(a=0)):((a=l())>s&&(a=c()),a<0&&(a=0)),e.ePopup.style.left=a+"px",e.ePopup.style.top=o+"px"},t.prototype.positionPopupUnderMouseEvent=function(e){var t=e.ePopup,r=e.nudgeX,o=e.nudgeY,n=e.skipObserver,i=this.calculatePointerAlign(e.mouseEvent),a=i.x,s=i.y;this.positionPopup({ePopup:t,x:a,y:s,nudgeX:r,nudgeY:o,keepWithinBounds:!0,skipObserver:n}),this.callPostProcessPopup(e.type,e.ePopup,null,e.mouseEvent,e.column,e.rowNode)},t.prototype.calculatePointerAlign=function(e){var t=this.getParentRect();return{x:e.clientX-t.left,y:e.clientY-t.top}},t.prototype.positionPopupUnderComponent=function(e){var t=e.eventSource.getBoundingClientRect(),r=e.alignSide||"left",o=this.getParentRect(),n=t.left-o.left;"right"===r&&(n-=e.ePopup.offsetWidth-t.width),this.positionPopup({ePopup:e.ePopup,nudgeX:e.nudgeX,nudgeY:e.nudgeY,x:n,y:t.top-o.top+t.height,keepWithinBounds:e.keepWithinBounds}),this.callPostProcessPopup(e.type,e.ePopup,e.eventSource,null,e.column,e.rowNode)},t.prototype.positionPopupOverComponent=function(e){var t=e.eventSource.getBoundingClientRect(),r=this.getParentRect();this.positionPopup({ePopup:e.ePopup,nudgeX:e.nudgeX,nudgeY:e.nudgeY,x:t.left-r.left,y:t.top-r.top,keepWithinBounds:e.keepWithinBounds}),this.callPostProcessPopup(e.type,e.ePopup,e.eventSource,null,e.column,e.rowNode)},t.prototype.callPostProcessPopup=function(e,t,r,o,n,i){var a=this.gridOptionsWrapper.getPostProcessPopupFunc();a&&a({column:n,rowNode:i,ePopup:t,type:e,eventSource:r,mouseEvent:o})},t.prototype.positionPopup=function(e){var t=this,o=e.x,i=e.y,a=e.ePopup,s=e.keepWithinBounds,l=e.nudgeX,c=e.nudgeY,u=e.skipObserver,p=o,d=i;l&&(p+=l),c&&(d+=c);var g=function(){s&&(p=t.keepXYWithinBounds(a,p,n.horizontal),d=t.keepXYWithinBounds(a,d,n.vertical)),a.style.left=p+"px",a.style.top=d+"px"};if(g(),!u){var h=this.resizeObserverService.observeResize(a,g);setTimeout((function(){return h()}),r.WAIT_FOR_POPUP_CONTENT_RESIZE)}},t.prototype.getActivePopups=function(){return this.popupList.map((function(e){return e.element}))},t.prototype.getPopupList=function(){return this.popupList},t.prototype.getParentRect=function(){var e=this.gridOptionsWrapper.getDocument(),t=this.getPopupParent();t===e.body?t=e.documentElement:"static"===getComputedStyle(t).position&&(t=t.offsetParent);var r=getComputedStyle(t),o=t.getBoundingClientRect();return{top:o.top+parseFloat(r.borderTopWidth)||0,left:o.left+parseFloat(r.borderLeftWidth)||0,right:o.right+parseFloat(r.borderRightWidth)||0,bottom:o.bottom+parseFloat(r.borderBottomWidth)||0}},t.prototype.keepXYWithinBounds=function(e,t,r){var o=r===n.vertical,i=o?"clientHeight":"clientWidth",a=o?"top":"left",s=o?"offsetHeight":"offsetWidth",c=o?"scrollTop":"scrollLeft",u=this.gridOptionsWrapper.getDocument(),p=u.documentElement,d=this.getPopupParent(),g=d.getBoundingClientRect(),h=u.documentElement.getBoundingClientRect(),f=d===u.body,v=e[s],y=o?l.getAbsoluteHeight:l.getAbsoluteWidth,m=f?y(p)+p[c]:d[i];f&&(m-=Math.abs(h[a]-g[a]));var b=m-v;return Math.min(Math.max(t,0),Math.abs(b))},t.prototype.keepPopupPositionedRelativeTo=function(e){var t=this,r=this.getPopupParent(),o=r.getBoundingClientRect(),i=e.element.getBoundingClientRect(),a=o.top-i.top,s=o.left-i.left,l=a,c=s,u=e.ePopup.style.top,p=parseInt(u.substring(0,u.length-1),10),d=e.ePopup.style.left,h=parseInt(d.substring(0,d.length-1),10);return new g.a((function(o){t.getFrameworkOverrides().setInterval((function(){var o=r.getBoundingClientRect(),i=e.element.getBoundingClientRect();if(0==i.top&&0==i.left&&0==i.height&&0==i.width)e.hidePopup();else{var u=o.top-i.top;if(u!=l){var d=t.keepXYWithinBounds(e.ePopup,p+a-u,n.vertical);e.ePopup.style.top=d+"px"}l=u;var g=o.left-i.left;if(g!=c){var f=t.keepXYWithinBounds(e.ePopup,h+s-g,n.horizontal);e.ePopup.style.left=f+"px"}c=g}}),200).then((function(e){o((function(){null!=e&&window.clearInterval(e)}))}))}))},t.prototype.addPopup=function(e){var t,r=this,o=e.modal,n=e.eChild,i=e.closeOnEsc,s=e.closedCallback,l=e.click,c=e.alwaysOnTop,u=e.afterGuiAttached,f=e.positionCallback,v=e.anchorToElement,y=e.ariaLabel,w=this.gridOptionsWrapper.getDocument(),C=new g.a((function(e){return e((function(){}))}));if(!w)return console.warn("ag-grid: could not find the document, document is empty"),{hideFunc:function(){},stopAnchoringPromise:C};var O=this.popupList.findIndex((function(e){return e.element===n}));if(-1!==O){var S=this.popupList[O];return{hideFunc:S.hideFunc,stopAnchoringPromise:S.stopAnchoringPromise}}var E=this.getPopupParent();null==n.style.top&&(n.style.top="0px"),null==n.style.left&&(n.style.left="0px");var x=document.createElement("div"),R=this.environment.getTheme().allThemes;R.length&&(t=x.classList).add.apply(t,m(R)),x.classList.add("ag-popup"),n.classList.add(this.gridOptionsWrapper.isEnableRtl()?"ag-rtl":"ag-ltr","ag-popup-child"),n.hasAttribute("role")||Object(h.setAriaRole)(n,"dialog"),Object(h.setAriaLabel)(n,y),this.focusService.isKeyboardMode()&&n.classList.add(d.a.AG_KEYBOARD_FOCUS),x.appendChild(n),E.appendChild(x),c?this.setAlwaysOnTop(x,!0):this.bringPopupToFront(x);var T=!1,A=function(e){x.contains(w.activeElement)&&(e.key===p.a.ESCAPE&&D({keyboardEvent:e}))},P=function(e){return D({mouseEvent:e})},_=function(e){return D({touchEvent:e})},D=function(e){void 0===e&&(e={});var t=e.mouseEvent,o=e.touchEvent,i=e.keyboardEvent;r.isEventFromCurrentPopup({mouseEvent:t,touchEvent:o},n)||r.isEventSameChainAsOriginalEvent({originalMouseEvent:l,mouseEvent:t,touchEvent:o})||T||(T=!0,E.removeChild(x),w.removeEventListener("keydown",A),w.removeEventListener("mousedown",P),w.removeEventListener("touchstart",_),w.removeEventListener("contextmenu",P),r.eventService.removeEventListener(a.a.EVENT_DRAG_STARTED,P),s&&s(t||o||i),r.popupList=r.popupList.filter((function(e){return e.element!==n})),C&&C.then((function(e){return e&&e()})))};return u&&u({hidePopup:D}),window.setTimeout((function(){i&&w.addEventListener("keydown",A),o&&(w.addEventListener("mousedown",P),r.eventService.addEventListener(a.a.EVENT_DRAG_STARTED,P),w.addEventListener("touchstart",_),w.addEventListener("contextmenu",P))}),0),f&&f(),v&&(C=this.keepPopupPositionedRelativeTo({element:v,ePopup:n,hidePopup:D})),this.popupList.push({element:n,wrapper:x,hideFunc:D,stopAnchoringPromise:C,instanceId:b++,isAnchored:!!v}),{hideFunc:D,stopAnchoringPromise:C}},t.prototype.hasAnchoredPopup=function(){return this.popupList.some((function(e){return e.isAnchored}))},t.prototype.isEventFromCurrentPopup=function(e,t){var r=e.mouseEvent,o=e.touchEvent,n=r||o;if(!n)return!1;var i=this.popupList.findIndex((function(e){return e.element===t}));if(-1===i)return!1;for(var a=i;a<this.popupList.length;a++){var s=this.popupList[a];if(Object(u.isElementInEventPath)(s.element,n))return!0}return this.isElementWithinCustomPopup(n.target)},t.prototype.isElementWithinCustomPopup=function(e){for(var t=this.gridOptionsWrapper.getDocument();e&&e!==t.body;){if(e.classList.contains("ag-custom-component-popup")||null===e.parentElement)return!0;e=e.parentElement}return!1},t.prototype.isEventSameChainAsOriginalEvent=function(e){var t=e.originalMouseEvent,r=e.mouseEvent,o=e.touchEvent,n=null;if(r?n=r:o&&(n=o.touches[0]),n&&t){var i=r?r.screenX:0,a=r?r.screenY:0,s=Math.abs(t.screenX-i)<5,l=Math.abs(t.screenY-a)<5;if(s&&l)return!0}return!1},t.prototype.getWrapper=function(e){for(;!e.classList.contains("ag-popup")&&e.parentElement;)e=e.parentElement;return e.classList.contains("ag-popup")?e:null},t.prototype.setAlwaysOnTop=function(e,t){var r=this.getWrapper(e);r&&(r.classList.toggle("ag-always-on-top",!!t),t&&this.bringPopupToFront(r))},t.prototype.bringPopupToFront=function(e){var t=this.getPopupParent(),r=Array.prototype.slice.call(t.querySelectorAll(".ag-popup")),o=r.length,n=Array.prototype.slice.call(t.querySelectorAll(".ag-popup.ag-always-on-top")),i=n.length,a=this.getWrapper(e);if(a&&!(o<=1)&&t.contains(e)){var s=r.indexOf(a),l=a.querySelectorAll("div"),u=[];if(l.forEach((function(e){0!==e.scrollTop&&u.push([e,e.scrollTop])})),i)a.classList.contains("ag-always-on-top")?s!==o-1&&Object(c.last)(n).insertAdjacentElement("afterend",a):s!==o-i-1&&n[0].insertAdjacentElement("beforebegin",a);else s!==o-1&&Object(c.last)(r).insertAdjacentElement("afterend",a);for(;u.length;){var p=u.pop();p[0].scrollTop=p[1]}var d={type:"popupToFront",api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),eWrapper:a};this.eventService.dispatchEvent(d)}},t.WAIT_FOR_POPUP_CONTENT_RESIZE=200,v([Object(i.a)("environment")],t.prototype,"environment",void 0),v([Object(i.a)("focusService")],t.prototype,"focusService",void 0),v([Object(i.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),v([Object(i.a)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),v([Object(i.a)("gridOptionsWrapper")],t.prototype,"gridOptionsWrapper",void 0),v([i.e],t.prototype,"postConstruct",null),t=r=v([Object(i.b)("popupService")],t)}(s.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o=r(10),n=r(24),i=["mouseover","mouseout","mouseenter","mouseleave"],a=["touchstart","touchend","touchmove","touchcancel"],s=function(){function e(){this.isOutsideAngular=function(e){return Object(o.includes)(i,e)}}return e.prototype.setTimeout=function(e,t){window.setTimeout(e,t)},e.prototype.setInterval=function(e,t){return new n.a((function(r){r(window.setInterval(e,t))}))},e.prototype.addEventListener=function(e,t,r,n){var i=Object(o.includes)(a,t);e.addEventListener(t,r,{capture:!!n,passive:i})},e.prototype.dispatchEvent=function(e,t,r){void 0===r&&(r=!1),t()},e.prototype.frameworkComponent=function(e){return null},e.prototype.isFrameworkComponent=function(e){return!1},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(1),i=r(6),a=r(3),s=r(2),l=r(10),c=r(8),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},g=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));return e},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.getNextCellToFocus=function(e,t,r){return void 0===r&&(r=!1),r?this.getNextCellToFocusWithCtrlPressed(e,t):this.getNextCellToFocusWithoutCtrlPressed(e,t)},t.prototype.getNextCellToFocusWithCtrlPressed=function(e,t){var r,o,n=e===c.a.UP,i=e===c.a.DOWN,a=e===c.a.LEFT;if(n||i)o=n?this.paginationProxy.getPageFirstRow():this.paginationProxy.getPageLastRow(),r=t.column;else{var s=this.columnModel.getAllDisplayedColumns(),u=this.gridOptionsWrapper.isEnableRtl();o=t.rowIndex,r=a!==u?s[0]:Object(l.last)(s)}return{rowIndex:o,rowPinned:null,column:r}},t.prototype.getNextCellToFocusWithoutCtrlPressed=function(e,t){for(var r=t,o=!1;!o;){switch(e){case c.a.UP:r=this.getCellAbove(r);break;case c.a.DOWN:r=this.getCellBelow(r);break;case c.a.RIGHT:r=this.gridOptionsWrapper.isEnableRtl()?this.getCellToLeft(r):this.getCellToRight(r);break;case c.a.LEFT:r=this.gridOptionsWrapper.isEnableRtl()?this.getCellToRight(r):this.getCellToLeft(r);break;default:r=null,console.warn("AG Grid: unknown key for navigation "+e)}o=!r||this.isCellGoodToFocusOn(r)}return r},t.prototype.isCellGoodToFocusOn=function(e){var t,r=e.column;switch(e.rowPinned){case a.a.PINNED_TOP:t=this.pinnedRowModel.getPinnedTopRow(e.rowIndex);break;case a.a.PINNED_BOTTOM:t=this.pinnedRowModel.getPinnedBottomRow(e.rowIndex);break;default:t=this.rowModel.getRow(e.rowIndex)}return!!t&&!r.isSuppressNavigable(t)},t.prototype.getCellToLeft=function(e){if(!e)return null;var t=this.columnModel.getDisplayedColBefore(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null},t.prototype.getCellToRight=function(e){if(!e)return null;var t=this.columnModel.getDisplayedColAfter(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null},t.prototype.getRowBelow=function(e){var t=e.rowIndex,r=e.rowPinned;if(this.isLastRowInContainer(e))switch(r){case a.a.PINNED_BOTTOM:return null;case a.a.PINNED_TOP:return this.rowModel.isRowsToRender()?{rowIndex:this.paginationProxy.getPageFirstRow(),rowPinned:null}:this.pinnedRowModel.isRowsToRender(a.a.PINNED_BOTTOM)?{rowIndex:0,rowPinned:a.a.PINNED_BOTTOM}:null;default:return this.pinnedRowModel.isRowsToRender(a.a.PINNED_BOTTOM)?{rowIndex:0,rowPinned:a.a.PINNED_BOTTOM}:null}var o=this.rowModel.getRow(e.rowIndex),n=this.getNextStickyPosition(o);return n||{rowIndex:t+1,rowPinned:r}},t.prototype.getNextStickyPosition=function(e,t){if(this.gridOptionsWrapper.isGroupRowsSticky()&&e&&e.sticky){var r=g(this.rowRenderer.getStickyTopRowCtrls()).sort((function(e,t){return e.getRowNode().rowIndex-t.getRowNode().rowIndex})),o=t?-1:1,n=r.findIndex((function(t){return t.getRowNode().rowIndex===e.rowIndex})),i=r[n+o];return i?{rowIndex:i.getRowNode().rowIndex,rowPinned:null}:void 0}},t.prototype.getCellBelow=function(e){if(!e)return null;var t=this.getRowBelow(e);return t?{rowIndex:t.rowIndex,column:e.column,rowPinned:t.rowPinned}:null},t.prototype.isLastRowInContainer=function(e){var t=e.rowPinned,r=e.rowIndex;return t===a.a.PINNED_TOP?this.pinnedRowModel.getPinnedTopRowData().length-1<=r:t===a.a.PINNED_BOTTOM?this.pinnedRowModel.getPinnedBottomRowData().length-1<=r:this.paginationProxy.getPageLastRow()<=r},t.prototype.getRowAbove=function(e){var t=e.rowIndex,r=e.rowPinned;if(r?0===t:t===this.paginationProxy.getPageFirstRow())return r===a.a.PINNED_TOP?null:r&&this.rowModel.isRowsToRender()?this.getLastBodyCell():this.pinnedRowModel.isRowsToRender(a.a.PINNED_TOP)?this.getLastFloatingTopRow():null;var o=this.rowModel.getRow(e.rowIndex),n=this.getNextStickyPosition(o,!0);return n||{rowIndex:t-1,rowPinned:r}},t.prototype.getCellAbove=function(e){if(!e)return null;var t=this.getRowAbove({rowIndex:e.rowIndex,rowPinned:e.rowPinned});return t?{rowIndex:t.rowIndex,column:e.column,rowPinned:t.rowPinned}:null},t.prototype.getLastBodyCell=function(){return{rowIndex:this.paginationProxy.getPageLastRow(),rowPinned:null}},t.prototype.getLastFloatingTopRow=function(){return{rowIndex:this.pinnedRowModel.getPinnedTopRowData().length-1,rowPinned:a.a.PINNED_TOP}},t.prototype.getNextTabbedCell=function(e,t){return t?this.getNextTabbedCellBackwards(e):this.getNextTabbedCellForwards(e)},t.prototype.getNextTabbedCellForwards=function(e){var t=this.columnModel.getAllDisplayedColumns(),r=e.rowIndex,o=e.rowPinned,n=this.columnModel.getDisplayedColAfter(e.column);if(!n){n=t[0];var i=this.getRowBelow(e);if(Object(s.missing)(i))return null;if(!i.rowPinned&&!this.paginationProxy.isRowInPage(i))return null;r=i?i.rowIndex:null,o=i?i.rowPinned:null}return{rowIndex:r,column:n,rowPinned:o}},t.prototype.getNextTabbedCellBackwards=function(e){var t=this.columnModel.getAllDisplayedColumns(),r=e.rowIndex,o=e.rowPinned,n=this.columnModel.getDisplayedColBefore(e.column);if(!n){n=Object(l.last)(t);var i=this.getRowAbove({rowIndex:e.rowIndex,rowPinned:e.rowPinned});if(Object(s.missing)(i))return null;if(!i.rowPinned&&!this.paginationProxy.isRowInPage(i))return null;r=i?i.rowIndex:null,o=i?i.rowPinned:null}return{rowIndex:r,column:n,rowPinned:o}},p([Object(n.a)("columnModel")],t.prototype,"columnModel",void 0),p([Object(n.a)("rowModel")],t.prototype,"rowModel",void 0),p([Object(n.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),p([Object(n.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),p([Object(n.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),t=p([Object(n.b)("cellNavigationService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(4),i=r(1),a=r(6),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e,t){return function(r,o){t(r,o,e)}},u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.consuming=!1,t}return s(t,e),t.prototype.setBeans=function(e){this.logger=e.create("AlignedGridsService")},t.prototype.init=function(){this.addManagedListener(this.eventService,n.a.EVENT_COLUMN_MOVED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,n.a.EVENT_COLUMN_VISIBLE,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,n.a.EVENT_COLUMN_PINNED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,n.a.EVENT_COLUMN_GROUP_OPENED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,n.a.EVENT_COLUMN_RESIZED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,n.a.EVENT_BODY_SCROLL,this.fireScrollEvent.bind(this))},t.prototype.fireEvent=function(e){if(!this.consuming){var t=this.gridOptionsWrapper.getAlignedGrids();t&&t.forEach((function(t){if(t.api){var r=t.api.__getAlignedGridService();e(r)}}))}},t.prototype.onEvent=function(e){this.consuming=!0,e(),this.consuming=!1},t.prototype.fireColumnEvent=function(e){this.fireEvent((function(t){t.onColumnEvent(e)}))},t.prototype.fireScrollEvent=function(e){"horizontal"===e.direction&&this.fireEvent((function(t){t.onScrollEvent(e)}))},t.prototype.onScrollEvent=function(e){var t=this;this.onEvent((function(){t.ctrlsService.getGridBodyCtrl().getScrollFeature().setHorizontalScrollPosition(e.left)}))},t.prototype.getMasterColumns=function(e){var t=[];return e.columns?e.columns.forEach((function(e){t.push(e)})):e.column&&t.push(e.column),t},t.prototype.getColumnIds=function(e){var t=[];return e.columns?e.columns.forEach((function(e){t.push(e.getColId())})):e.column&&t.push(e.column.getColId()),t},t.prototype.onColumnEvent=function(e){var t=this;this.onEvent((function(){switch(e.type){case n.a.EVENT_COLUMN_MOVED:case n.a.EVENT_COLUMN_VISIBLE:case n.a.EVENT_COLUMN_PINNED:case n.a.EVENT_COLUMN_RESIZED:var r=e;t.processColumnEvent(r);break;case n.a.EVENT_COLUMN_GROUP_OPENED:var o=e;t.processGroupOpenedEvent(o);break;case n.a.EVENT_COLUMN_PIVOT_CHANGED:console.warn("AG Grid: pivoting is not supported with aligned grids. You can only use one of these features at a time in a grid.")}}))},t.prototype.processGroupOpenedEvent=function(e){var t=e.columnGroup,r=null;if(t){var o=t.getGroupId();r=this.columnModel.getProvidedColumnGroup(o)}t&&!r||(this.logger.log("onColumnEvent-> processing "+e+" expanded = "+t.isExpanded()),this.columnModel.setColumnGroupOpened(r,t.isExpanded(),"alignedGridChanged"))},t.prototype.processColumnEvent=function(e){var t,r=this,o=e.column,i=null;if(o&&(i=this.columnModel.getPrimaryColumn(o.getColId())),!o||i){var a=this.getMasterColumns(e);switch(e.type){case n.a.EVENT_COLUMN_MOVED:var s=e,l=e.columnApi.getColumnState().map((function(e){return{colId:e.colId}}));this.columnModel.applyColumnState({state:l,applyOrder:!0},"alignedGridChanged"),this.logger.log("onColumnEvent-> processing "+e.type+" toIndex = "+s.toIndex);break;case n.a.EVENT_COLUMN_VISIBLE:var c=e;l=e.columnApi.getColumnState().map((function(e){return{colId:e.colId,hide:e.hide}}));this.columnModel.applyColumnState({state:l},"alignedGridChanged"),this.logger.log("onColumnEvent-> processing "+e.type+" visible = "+c.visible);break;case n.a.EVENT_COLUMN_PINNED:var u=e;l=e.columnApi.getColumnState().map((function(e){return{colId:e.colId,pinned:e.pinned}}));this.columnModel.applyColumnState({state:l},"alignedGridChanged"),this.logger.log("onColumnEvent-> processing "+e.type+" pinned = "+u.pinned);break;case n.a.EVENT_COLUMN_RESIZED:var p=e,d={};a.forEach((function(t){r.logger.log("onColumnEvent-> processing "+e.type+" actualWidth = "+t.getActualWidth()),d[t.getId()]={key:t.getColId(),newWidth:t.getActualWidth()}})),null===(t=p.flexColumns)||void 0===t||t.forEach((function(e){d[e.getId()]&&delete d[e.getId()]})),this.columnModel.setColumnWidths(Object.values(d),!1,p.finished,"alignedGridChanged")}var g=this.ctrlsService.getGridBodyCtrl().isVerticalScrollShowing(),h=this.gridOptionsWrapper.getAlignedGrids();h&&h.forEach((function(e){e.api&&e.api.setAlwaysShowVerticalScroll(g)}))}},l([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),l([Object(i.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),l([c(0,Object(i.h)("loggerFactory"))],t.prototype,"setBeans",null),l([i.e],t.prototype,"init",null),t=l([Object(i.b)("alignedGridsService")],t)}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(1),i=r(6),a=r(4),s=r(3),l=r(81),c=r(14),u=r(2),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e,t){return function(r,o){t(r,o,e)}},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.setBeans=function(e){this.logger=e.create("selectionService"),this.reset()},t.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.addManagedListener(this.eventService,a.a.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))},t.prototype.setLastSelectedNode=function(e){this.lastSelectedNode=e},t.prototype.getLastSelectedNode=function(){return this.lastSelectedNode},t.prototype.getSelectedNodes=function(){var e=[];return Object(c.iterateObject)(this.selectedNodes,(function(t,r){r&&e.push(r)})),e},t.prototype.getSelectedRows=function(){var e=[];return Object(c.iterateObject)(this.selectedNodes,(function(t,r){r&&r.data&&e.push(r.data)})),e},t.prototype.removeGroupsFromSelection=function(){var e=this;Object(c.iterateObject)(this.selectedNodes,(function(t,r){r&&r.group&&(e.selectedNodes[r.id]=void 0)}))},t.prototype.updateGroupsFromChildrenSelections=function(e){if(this.gridOptionsWrapper.isGroupSelectsChildren()&&this.rowModel.getType()===s.a.ROW_MODEL_TYPE_CLIENT_SIDE){var t=this.rowModel.getRootNode();e||(e=new l.a(!0,t)).setInactive(),e.forEachChangedNodeDepthFirst((function(e){if(e!==t){var r=e.calculateSelectedFromChildren();e.selectThisNode(null!==r&&r)}}))}},t.prototype.getNodeForIdIfSelected=function(e){return this.selectedNodes[e]},t.prototype.clearOtherNodes=function(e){var t=this,r={},o=0;return Object(c.iterateObject)(this.selectedNodes,(function(n,i){if(i&&i.id!==e.id){var a=t.selectedNodes[i.id];o+=a.setSelectedParams({newValue:!1,clearSelection:!1,suppressFinishActions:!0}),t.groupSelectsChildren&&i.parent&&(r[i.parent.id]=i.parent)}})),Object(c.iterateObject)(r,(function(e,t){var r=t.calculateSelectedFromChildren();t.selectThisNode(null!==r&&r)})),o},t.prototype.onRowSelected=function(e){var t=e.node;this.groupSelectsChildren&&t.group||(t.isSelected()?this.selectedNodes[t.id]=t:this.selectedNodes[t.id]=void 0)},t.prototype.syncInRowNode=function(e,t){this.syncInOldRowNode(e,t),this.syncInNewRowNode(e)},t.prototype.syncInOldRowNode=function(e,t){if(Object(u.exists)(t)&&e.id!==t.id&&t){var r=t.id;this.selectedNodes[r]==e&&(this.selectedNodes[t.id]=t)}},t.prototype.syncInNewRowNode=function(e){Object(u.exists)(this.selectedNodes[e.id])?(e.setSelectedInitialValue(!0),this.selectedNodes[e.id]=e):e.setSelectedInitialValue(!1)},t.prototype.reset=function(){this.logger.log("reset"),this.selectedNodes={},this.lastSelectedNode=null},t.prototype.getBestCostNodeSelection=function(){if(this.rowModel.getType()===s.a.ROW_MODEL_TYPE_CLIENT_SIDE){var e=this.rowModel.getTopLevelNodes();if(null!==e){var t=[];return function e(r){for(var o=0,n=r.length;o<n;o++){var i=r[o];if(i.isSelected())t.push(i);else{var a=i;a.group&&a.children&&e(a.children)}}}(e),t}console.warn("AG Grid: `selectAll` not available doing `rowModel=virtual`")}else console.warn("AG Grid: `getBestCostNodeSelection` is only available when using normal row model")},t.prototype.setRowModel=function(e){this.rowModel=e},t.prototype.isEmpty=function(){var e=0;return Object(c.iterateObject)(this.selectedNodes,(function(t,r){r&&e++})),0===e},t.prototype.deselectAllRowNodes=function(e){void 0===e&&(e=!1);var t=function(e){return e.selectThisNode(!1)},r=this.rowModel.getType()===s.a.ROW_MODEL_TYPE_CLIENT_SIDE;if(e){if(!r)return void console.error("AG Grid: selecting just filtered only works with In Memory Row Model");this.rowModel.forEachNodeAfterFilter(t)}else Object(c.iterateObject)(this.selectedNodes,(function(e,r){r&&t(r)})),this.reset();r&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var o={type:a.a.EVENT_SELECTION_CHANGED};this.eventService.dispatchEvent(o)},t.prototype.selectAllRowNodes=function(e){if(void 0===e&&(e=!1),this.rowModel.getType()!==s.a.ROW_MODEL_TYPE_CLIENT_SIDE)throw new Error("selectAll only available with normal row model, ie not "+this.rowModel.getType());var t=this.rowModel,r=function(e){return e.selectThisNode(!0)};e?t.forEachNodeAfterFilter(r):t.forEachNode(r),this.rowModel.getType()===s.a.ROW_MODEL_TYPE_CLIENT_SIDE&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var o={type:a.a.EVENT_SELECTION_CHANGED};this.eventService.dispatchEvent(o)},t.prototype.selectNode=function(e,t){e&&e.setSelectedParams({newValue:!0,clearSelection:!t})},t.prototype.deselectIndex=function(e){var t=this.rowModel.getRow(e);this.deselectNode(t)},t.prototype.deselectNode=function(e){e&&e.setSelectedParams({newValue:!1,clearSelection:!1})},t.prototype.selectIndex=function(e,t){var r=this.rowModel.getRow(e);this.selectNode(r,t)},d([Object(n.a)("rowModel")],t.prototype,"rowModel",void 0),d([g(0,Object(n.h)("loggerFactory"))],t.prototype,"setBeans",null),d([n.e],t.prototype,"init",null),t=d([Object(n.b)("selectionService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(1),n=r(24),i=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},a=function(){function e(){}return e.prototype.sizeColumnsToFit=function(e){void 0===e&&console.error("AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)"),this.columnModel.sizeColumnsToFit(e,"api")},e.prototype.setColumnGroupOpened=function(e,t){this.columnModel.setColumnGroupOpened(e,t,"api")},e.prototype.getColumnGroup=function(e,t){return this.columnModel.getColumnGroup(e,t)},e.prototype.getProvidedColumnGroup=function(e){return this.columnModel.getProvidedColumnGroup(e)},e.prototype.getDisplayNameForColumn=function(e,t){return this.columnModel.getDisplayNameForColumn(e,t)||""},e.prototype.getDisplayNameForColumnGroup=function(e,t){return this.columnModel.getDisplayNameForColumnGroup(e,t)||""},e.prototype.getColumn=function(e){return this.columnModel.getPrimaryColumn(e)},e.prototype.getColumns=function(){return this.columnModel.getAllPrimaryColumns()},e.prototype.applyColumnState=function(e){return this.columnModel.applyColumnState(e,"api")},e.prototype.getColumnState=function(){return this.columnModel.getColumnState()},e.prototype.resetColumnState=function(){this.columnModel.resetColumnState("api")},e.prototype.getColumnGroupState=function(){return this.columnModel.getColumnGroupState()},e.prototype.setColumnGroupState=function(e){this.columnModel.setColumnGroupState(e,"api")},e.prototype.resetColumnGroupState=function(){this.columnModel.resetColumnGroupState("api")},e.prototype.isPinning=function(){return this.columnModel.isPinningLeft()||this.columnModel.isPinningRight()},e.prototype.isPinningLeft=function(){return this.columnModel.isPinningLeft()},e.prototype.isPinningRight=function(){return this.columnModel.isPinningRight()},e.prototype.getDisplayedColAfter=function(e){return this.columnModel.getDisplayedColAfter(e)},e.prototype.getDisplayedColBefore=function(e){return this.columnModel.getDisplayedColBefore(e)},e.prototype.setColumnVisible=function(e,t){this.columnModel.setColumnVisible(e,t,"api")},e.prototype.setColumnsVisible=function(e,t){this.columnModel.setColumnsVisible(e,t,"api")},e.prototype.setColumnPinned=function(e,t){this.columnModel.setColumnPinned(e,t,"api")},e.prototype.setColumnsPinned=function(e,t){this.columnModel.setColumnsPinned(e,t,"api")},e.prototype.getAllGridColumns=function(){return this.columnModel.getAllGridColumns()},e.prototype.getDisplayedLeftColumns=function(){return this.columnModel.getDisplayedLeftColumns()},e.prototype.getDisplayedCenterColumns=function(){return this.columnModel.getDisplayedCenterColumns()},e.prototype.getDisplayedRightColumns=function(){return this.columnModel.getDisplayedRightColumns()},e.prototype.getAllDisplayedColumns=function(){return this.columnModel.getAllDisplayedColumns()},e.prototype.getAllDisplayedVirtualColumns=function(){return this.columnModel.getViewportColumns()},e.prototype.moveColumn=function(e,t){"number"==typeof e?(console.warn("AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead"),this.columnModel.moveColumnByIndex(e,t,"api")):this.columnModel.moveColumn(e,t,"api")},e.prototype.moveColumnByIndex=function(e,t){this.columnModel.moveColumnByIndex(e,t,"api")},e.prototype.moveColumns=function(e,t){this.columnModel.moveColumns(e,t,"api")},e.prototype.moveRowGroupColumn=function(e,t){this.columnModel.moveRowGroupColumn(e,t)},e.prototype.setColumnAggFunc=function(e,t){this.columnModel.setColumnAggFunc(e,t)},e.prototype.setColumnWidth=function(e,t,r,o){void 0===r&&(r=!0),this.columnModel.setColumnWidths([{key:e,newWidth:t}],!1,r,o)},e.prototype.setColumnWidths=function(e,t,r){void 0===t&&(t=!0),this.columnModel.setColumnWidths(e,!1,t,r)},e.prototype.setPivotMode=function(e){this.columnModel.setPivotMode(e)},e.prototype.isPivotMode=function(){return this.columnModel.isPivotMode()},e.prototype.getSecondaryPivotColumn=function(e,t){return console.warn("AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead"),this.getPivotResultColumn(e,t)},e.prototype.getPivotResultColumn=function(e,t){return this.columnModel.getSecondaryPivotColumn(e,t)},e.prototype.setValueColumns=function(e){this.columnModel.setValueColumns(e,"api")},e.prototype.getValueColumns=function(){return this.columnModel.getValueColumns()},e.prototype.removeValueColumn=function(e){this.columnModel.removeValueColumn(e,"api")},e.prototype.removeValueColumns=function(e){this.columnModel.removeValueColumns(e,"api")},e.prototype.addValueColumn=function(e){this.columnModel.addValueColumn(e,"api")},e.prototype.addValueColumns=function(e){this.columnModel.addValueColumns(e,"api")},e.prototype.setRowGroupColumns=function(e){this.columnModel.setRowGroupColumns(e,"api")},e.prototype.removeRowGroupColumn=function(e){this.columnModel.removeRowGroupColumn(e,"api")},e.prototype.removeRowGroupColumns=function(e){this.columnModel.removeRowGroupColumns(e,"api")},e.prototype.addRowGroupColumn=function(e){this.columnModel.addRowGroupColumn(e,"api")},e.prototype.addRowGroupColumns=function(e){this.columnModel.addRowGroupColumns(e,"api")},e.prototype.getRowGroupColumns=function(){return this.columnModel.getRowGroupColumns()},e.prototype.setPivotColumns=function(e){this.columnModel.setPivotColumns(e,"api")},e.prototype.removePivotColumn=function(e){this.columnModel.removePivotColumn(e,"api")},e.prototype.removePivotColumns=function(e){this.columnModel.removePivotColumns(e,"api")},e.prototype.addPivotColumn=function(e){this.columnModel.addPivotColumn(e,"api")},e.prototype.addPivotColumns=function(e){this.columnModel.addPivotColumns(e,"api")},e.prototype.getPivotColumns=function(){return this.columnModel.getPivotColumns()},e.prototype.getLeftDisplayedColumnGroups=function(){return this.columnModel.getDisplayedTreeLeft()},e.prototype.getCenterDisplayedColumnGroups=function(){return this.columnModel.getDisplayedTreeCentre()},e.prototype.getRightDisplayedColumnGroups=function(){return this.columnModel.getDisplayedTreeRight()},e.prototype.getAllDisplayedColumnGroups=function(){return this.columnModel.getAllDisplayedTrees()},e.prototype.autoSizeColumn=function(e,t){return this.columnModel.autoSizeColumn(e,t,"api")},e.prototype.autoSizeColumns=function(e,t){this.columnModel.autoSizeColumns({columns:e,skipHeader:t})},e.prototype.autoSizeAllColumns=function(e){this.columnModel.autoSizeAllColumns(e,"api")},e.prototype.setSecondaryColumns=function(e){console.warn("AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead"),this.setPivotResultColumns(e)},e.prototype.setPivotResultColumns=function(e){this.columnModel.setSecondaryColumns(e,"api")},e.prototype.getSecondaryColumns=function(){return console.warn("AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead"),this.getPivotResultColumns()},e.prototype.getPivotResultColumns=function(){return this.columnModel.getSecondaryColumns()},e.prototype.getPrimaryColumns=function(){return console.warn("AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead"),this.getColumns()},e.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid=function(){setTimeout(n.f.removeAllReferences.bind(window,this,"Column API"),100)},e.prototype.getAllColumns=function(){return console.warn("AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead"),this.getColumns()},e.prototype.columnGroupOpened=function(e,t){console.error("AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened"),this.setColumnGroupOpened(e,t)},e.prototype.hideColumns=function(e,t){console.error("AG Grid: hideColumns is deprecated, use setColumnsVisible"),this.columnModel.setColumnsVisible(e,!t,"api")},e.prototype.hideColumn=function(e,t){console.error("AG Grid: hideColumn is deprecated, use setColumnVisible"),this.columnModel.setColumnVisible(e,!t,"api")},e.prototype.setState=function(e){return console.error("AG Grid: setState is deprecated, use setColumnState"),this.setColumnState(e)},e.prototype.getState=function(){return console.error("AG Grid: getState is deprecated, use getColumnState"),this.getColumnState()},e.prototype.resetState=function(){console.error("AG Grid: resetState is deprecated, use resetColumnState"),this.resetColumnState()},e.prototype.getAggregationColumns=function(){return console.error("AG Grid: getAggregationColumns is deprecated, use getValueColumns"),this.columnModel.getValueColumns()},e.prototype.removeAggregationColumn=function(e){console.error("AG Grid: removeAggregationColumn is deprecated, use removeValueColumn"),this.columnModel.removeValueColumn(e,"api")},e.prototype.removeAggregationColumns=function(e){console.error("AG Grid: removeAggregationColumns is deprecated, use removeValueColumns"),this.columnModel.removeValueColumns(e,"api")},e.prototype.addAggregationColumn=function(e){console.error("AG Grid: addAggregationColumn is deprecated, use addValueColumn"),this.columnModel.addValueColumn(e,"api")},e.prototype.addAggregationColumns=function(e){console.error("AG Grid: addAggregationColumns is deprecated, use addValueColumns"),this.columnModel.addValueColumns(e,"api")},e.prototype.setColumnAggFunction=function(e,t){console.error("AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc"),this.columnModel.setColumnAggFunc(e,t,"api")},e.prototype.getDisplayNameForCol=function(e){return console.error("AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn"),this.getDisplayNameForColumn(e,null)},e.prototype.setColumnState=function(e){return console.error("AG Grid: setColumnState is deprecated, use applyColumnState"),this.columnModel.applyColumnState({state:e,applyOrder:!0},"api")},e.prototype.getOriginalColumnGroup=function(e){return console.error("AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup"),this.columnModel.getProvidedColumnGroup(e)},i([Object(o.a)("columnModel")],e.prototype,"columnModel",void 0),i([o.g],e.prototype,"cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid",null),e=i([Object(o.b)("columnApi")],e)}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(1),i=r(4),a=r(6),s=r(14),l=r(2),c=r(13),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.initialised=!1,t}return u(t,e),t.prototype.init=function(){var e=this;this.cellExpressions=this.gridOptionsWrapper.isEnableCellExpressions(),this.initialised=!0,this.eventService.addEventListener(i.a.EVENT_CELL_VALUE_CHANGED,(function(t){return e.callColumnCellValueChangedHandler(t)}),this.gridOptionsWrapper.useAsyncEvents())},t.prototype.getValue=function(e,t,r,o){if(void 0===r&&(r=!1),void 0===o&&(o=!1),this.initialised||this.init(),t){var n,i=e.getColDef(),a=i.field,l=e.getId(),c=t.data,u=t.groupData&&void 0!==t.groupData[l],p=!o&&t.aggData&&void 0!==t.aggData[l];if(r&&i.filterValueGetter?n=this.executeFilterValueGetter(i.filterValueGetter,c,e,t):this.gridOptionsWrapper.isTreeData()&&p?n=t.aggData[l]:this.gridOptionsWrapper.isTreeData()&&i.valueGetter?n=this.executeValueGetter(i.valueGetter,c,e,t):this.gridOptionsWrapper.isTreeData()&&a&&c?n=Object(s.getValueUsingField)(c,a,e.isFieldContainsDots()):u?n=t.groupData[l]:p?n=t.aggData[l]:i.valueGetter?n=this.executeValueGetter(i.valueGetter,c,e,t):a&&c&&(n=Object(s.getValueUsingField)(c,a,e.isFieldContainsDots())),this.cellExpressions&&"string"==typeof n&&0===n.indexOf("=")){var d=n.substring(1);n=this.executeValueGetter(d,c,e,t)}if(null==n){var g=this.getOpenedGroup(t,e);if(null!=g)return g}return n}},t.prototype.getOpenedGroup=function(e,t){if(this.gridOptionsWrapper.isShowOpenedGroup()&&t.getColDef().showRowGroup)for(var r=t.getColDef().showRowGroup,o=e.parent;null!=o;){if(o.rowGroupColumn&&(!0===r||r===o.rowGroupColumn.getId()))return o.key;o=o.parent}},t.prototype.setValue=function(e,t,r,o){var n=this.columnModel.getPrimaryColumn(t);if(!e||!n)return!1;Object(l.missing)(e.data)&&(e.data={});var a=n.getColDef(),s=a.field,c=a.newValueHandler,u=a.valueSetter;if(Object(l.missing)(s)&&Object(l.missing)(c)&&Object(l.missing)(u))return console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work"),!1;var p,d={node:e,data:e.data,oldValue:this.getValue(n,e),newValue:r,colDef:n.getColDef(),column:n,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};if(d.newValue=r,void 0===(p=c&&Object(l.exists)(c)?c(d):Object(l.exists)(u)?this.expressionService.evaluate(u,d):this.setValueUsingField(e.data,s,r,n.isFieldContainsDots()))&&(p=!0),!p)return!1;e.resetQuickFilterAggregateText(),this.valueCache.onDataChanged(),d.newValue=this.getValue(n,e);var g={type:i.a.EVENT_CELL_VALUE_CHANGED,event:null,rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:d.column,api:d.api,columnApi:d.columnApi,colDef:d.colDef,context:d.context,data:e.data,node:e,oldValue:d.oldValue,newValue:d.newValue,value:d.newValue,source:o};return this.eventService.dispatchEvent(g),!0},t.prototype.callColumnCellValueChangedHandler=function(e){var t=e.colDef.onCellValueChanged;"function"==typeof t&&t({node:e.node,data:e.data,oldValue:e.oldValue,newValue:e.newValue,colDef:e.colDef,column:e.column,api:e.api,columnApi:e.columnApi,context:e.context})},t.prototype.setValueUsingField=function(e,t,r,o){if(!t)return!1;var n=!1;if(o)for(var i=t.split("."),a=e;i.length>0&&a;){var s=i.shift();0===i.length?(n=a[s]==r)||(a[s]=r):a=a[s]}else(n=e[t]==r)||(e[t]=r);return!n},t.prototype.executeFilterValueGetter=function(e,t,r,o){var n={data:t,node:o,column:r,colDef:r.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,o)};return this.expressionService.evaluate(e,n)},t.prototype.executeValueGetter=function(e,t,r,o){var n=r.getId(),i=this.valueCache.getValue(o,n);if(void 0!==i)return i;var a={data:t,node:o,column:r,colDef:r.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,o)},s=this.expressionService.evaluate(e,a);return this.valueCache.setValue(o,n,s),s},t.prototype.getValueCallback=function(e,t){var r=this.columnModel.getPrimaryColumn(t);return r?this.getValue(r,e):null},t.prototype.getKeyForNode=function(e,t){var r=this.getValue(e,t),o=e.getColDef().keyCreator,n=r;o&&(n=o({value:r,colDef:e.getColDef(),column:e,node:t,data:t.data,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}));return"string"==typeof n||null==n||"[object Object]"===(n=String(n))&&Object(c.doOnce)((function(){console.warn("AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key")}),"getKeyForNode - warn about [object,object]"),n},p([Object(n.a)("expressionService")],t.prototype,"expressionService",void 0),p([Object(n.a)("columnModel")],t.prototype,"columnModel",void 0),p([Object(n.a)("valueCache")],t.prototype,"valueCache",void 0),p([n.e],t.prototype,"init",null),t=p([Object(n.b)("valueService")],t)}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e,t){return function(r,o){t(r,o,e)}},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.expressionToFunctionCache={},t}return a(t,e),t.prototype.setBeans=function(e){this.logger=e.create("ExpressionService")},t.prototype.evaluate=function(e,t){if("function"==typeof e)return e(t);if("string"==typeof e){var r=e;return this.evaluateExpression(r,t)}console.error("AG Grid: value should be either a string or a function",e)},t.prototype.evaluateExpression=function(e,t){try{return this.createExpressionFunction(e)(t.value,t.context,t.oldValue,t.newValue,t.value,t.node,t.data,t.colDef,t.rowIndex,t.api,t.columnApi,t.getValue,t.column,t.columnGroup)}catch(r){return console.log("Processing of the expression failed"),console.log("Expression = "+e),console.log("Params =",t),console.log("Exception = "+r),null}},t.prototype.createExpressionFunction=function(e){if(this.expressionToFunctionCache[e])return this.expressionToFunctionCache[e];var t=this.createFunctionBody(e),r=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, columnApi, getValue, column, columnGroup",t);return this.expressionToFunctionCache[e]=r,r},t.prototype.createFunctionBody=function(e){return e.indexOf("return")>=0?e:"return "+e+";"},s([l(0,Object(n.h)("loggerFactory"))],t.prototype,"setBeans",null),t=s([Object(n.b)("expressionService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.templateCache={},t.waitingCallbacks={},t}return a(t,e),t.prototype.getTemplate=function(e,t){var r=this.templateCache[e];if(r)return r;var o=this.waitingCallbacks[e],n=this;if(!o){o=[],this.waitingCallbacks[e]=o;var i=new XMLHttpRequest;i.onload=function(){n.handleHttpResult(this,e)},i.open("GET",e),i.send()}return t&&o.push(t),null},t.prototype.handleHttpResult=function(e,t){if(200===e.status&&null!==e.response){this.templateCache[t]=e.response||e.responseText;for(var r=this.waitingCallbacks[t],o=0;o<r.length;o++){(0,r[o])()}}else console.warn("AG Grid: Unable to get template error "+e.status+" - "+t)},t=s([Object(n.b)("templateService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(1),i=r(7),a=r(5),s=r(58),l=r(181),c=r(32),u=r(57),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(t){var r=e.call(this,void 0)||this;return r.eGridDiv=t,r}return p(t,e),t.prototype.postConstruct=function(){var e=this;this.logger=this.loggerFactory.create("GridComp");var t={destroyGridUi:function(){return e.destroyBean(e)},setRtlClass:function(t){return e.addCssClass(t)},addOrRemoveKeyboardFocusClass:function(t){return e.addOrRemoveCssClass(s.a.AG_KEYBOARD_FOCUS,t)},forceFocusOutOfContainer:this.forceFocusOutOfContainer.bind(this),updateLayoutClasses:this.updateLayoutClasses.bind(this),getFocusableContainers:this.getFocusableContainers.bind(this),setUserSelect:function(t){e.getGui().style.userSelect=null!=t?t:"",e.getGui().style.webkitUserSelect=null!=t?t:""},setCursor:function(t){e.getGui().style.cursor=null!=t?t:""}};this.ctrl=this.createManagedBean(new l.a);var r=this.createTemplate();this.setTemplate(r),this.ctrl.setComp(t,this.eGridDiv,this.getGui()),this.insertGridIntoDom(),this.initialiseTabGuard({onTabKeyDown:function(){},focusInnerElement:function(t){return e.ctrl.focusInnerElement(t)}})},t.prototype.insertGridIntoDom=function(){var e=this,t=this.getGui();this.eGridDiv.appendChild(t),this.addDestroyFunc((function(){e.eGridDiv.removeChild(t),e.logger.log("Grid removed from DOM")}))},t.prototype.updateLayoutClasses=function(e,t){var r=this.eRootWrapperBody.classList;r.toggle(c.a.AUTO_HEIGHT,t.autoHeight),r.toggle(c.a.NORMAL,t.normal),r.toggle(c.a.PRINT,t.print),this.addOrRemoveCssClass(c.a.AUTO_HEIGHT,t.autoHeight),this.addOrRemoveCssClass(c.a.NORMAL,t.normal),this.addOrRemoveCssClass(c.a.PRINT,t.print)},t.prototype.createTemplate=function(){return'<div class="ag-root-wrapper" role="presentation">\n '+(this.ctrl.showDropZones()?"<ag-grid-header-drop-zones></ag-grid-header-drop-zones>":"")+'\n <div class="ag-root-wrapper-body" ref="rootWrapperBody" role="presentation">\n <ag-grid-body ref="gridBody"></ag-grid-body>\n '+(this.ctrl.showSideBar()?'<ag-side-bar ref="sideBar"></ag-side-bar>':"")+"\n </div>\n "+(this.ctrl.showStatusBar()?'<ag-status-bar ref="statusBar"></ag-status-bar>':"")+"\n <ag-pagination></ag-pagination>\n "+(this.ctrl.showWatermark()?"<ag-watermark></ag-watermark>":"")+"\n </div>"},t.prototype.getFocusableElement=function(){return this.eRootWrapperBody},t.prototype.getFocusableContainers=function(){var e=[this.gridBodyComp.getGui()];return this.sideBarComp&&e.push(this.sideBarComp.getGui()),e.filter((function(e){return Object(a.isVisible)(e)}))},d([Object(n.a)("loggerFactory")],t.prototype,"loggerFactory",void 0),d([Object(i.b)("gridBody")],t.prototype,"gridBodyComp",void 0),d([Object(i.b)("sideBar")],t.prototype,"sideBarComp",void 0),d([Object(i.b)("rootWrapperBody")],t.prototype,"eRootWrapperBody",void 0),d([n.e],t.prototype,"postConstruct",null),t}(u.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(1),i=r(6),a=r(17),s=r(16),l=r(32),c=r(9),u=r(10),p=r(20),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.setComp=function(e,t,r){var o=this;this.view=e,this.eGridHostDiv=t,this.eGui=r,this.dragAndDropService.addDropTarget({getContainer:function(){return o.eGui},isInterestedIn:function(e){return e===p.b.HeaderCell||e===p.b.ToolPanel},getIconName:function(){return p.a.ICON_NOT_ALLOWED}}),this.mouseEventService.stampTopLevelGridCompWithGridInstance(t),this.createManagedBean(new l.b(this.view)),this.addRtlSupport(),this.addManagedListener(this,c.a.EVENT_KEYBOARD_FOCUS,(function(){o.view.addOrRemoveKeyboardFocusClass(!0)})),this.addManagedListener(this,c.a.EVENT_MOUSE_FOCUS,(function(){o.view.addOrRemoveKeyboardFocusClass(!1)}));var n=this.resizeObserverService.observeResize(this.eGridHostDiv,this.onGridSizeChanged.bind(this));this.addDestroyFunc((function(){return n()})),this.ctrlsService.registerGridCtrl(this)},t.prototype.isDetailGrid=function(){var e,t;return(null===(t=null===(e=this.focusService.findTabbableParent(this.getGui()))||void 0===e?void 0:e.getAttribute("row-id"))||void 0===t?void 0:t.startsWith("detail"))||!1},t.prototype.showDropZones=function(){return a.a.isRegistered(s.a.RowGroupingModule)},t.prototype.showSideBar=function(){return a.a.isRegistered(s.a.SideBarModule)},t.prototype.showStatusBar=function(){return a.a.isRegistered(s.a.StatusBarModule)},t.prototype.showWatermark=function(){return a.a.isRegistered(s.a.EnterpriseCoreModule)},t.prototype.onGridSizeChanged=function(){var e={type:c.a.EVENT_GRID_SIZE_CHANGED,clientWidth:this.eGridHostDiv.clientWidth,clientHeight:this.eGridHostDiv.clientHeight};this.eventService.dispatchEvent(e)},t.prototype.addRtlSupport=function(){var e=this.gridOptionsWrapper.isEnableRtl()?"ag-rtl":"ag-ltr";this.view.setRtlClass(e)},t.prototype.destroyGridUi=function(){this.view.destroyGridUi()},t.prototype.getGui=function(){return this.eGui},t.prototype.setResizeCursor=function(e){this.view.setCursor(e?"ew-resize":null)},t.prototype.disableUserSelect=function(e){this.view.setUserSelect(e?"none":null)},t.prototype.focusNextInnerContainer=function(e){var t=this.gridOptionsWrapper.getDocument(),r=this.view.getFocusableContainers(),o=r.findIndex((function(e){return e.contains(t.activeElement)}))+(e?-1:1);return!(o<=0||o>=r.length)&&this.focusService.focusInto(r[o])},t.prototype.focusInnerElement=function(e){var t=this.view.getFocusableContainers();if(e){if(t.length>1)return this.focusService.focusInto(Object(u.last)(t),!0);var r=Object(u.last)(this.columnModel.getAllDisplayedColumns());if(this.focusService.focusGridView(r,!0))return!0}return this.focusService.focusFirstHeader()},t.prototype.forceFocusOutOfContainer=function(e){void 0===e&&(e=!1),this.view.forceFocusOutOfContainer(e)},g([Object(n.a)("focusService")],t.prototype,"focusService",void 0),g([Object(n.a)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),g([Object(n.a)("columnModel")],t.prototype,"columnModel",void 0),g([Object(n.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),g([Object(n.a)("mouseEventService")],t.prototype,"mouseEventService",void 0),g([Object(n.a)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),t}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(1),i=r(6),a=r(3),s=r(4),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},p=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return l(t,e),r=t,t.prototype.progressSort=function(e,t,r){var o=this.getNextSortDirection(e);this.setSortForColumn(e,o,t,r)},t.prototype.setSortForColumn=function(e,t,r,o){var n;t!==a.a.SORT_ASC&&t!==a.a.SORT_DESC&&(t=null);var i=[e];if(this.gridOptionsWrapper.isColumnsSortingCoupledToGroup()&&e.getColDef().showRowGroup){var s=null===(n=this.columnModel.getSourceColumnsForGroupColumn(e))||void 0===n?void 0:n.filter((function(e){return e.getColDef().sortable}));s&&(i=p([e],s))}i.forEach((function(e){return e.setSort(t,o)})),(r||this.gridOptionsWrapper.isAlwaysMultiSort())&&!this.gridOptionsWrapper.isSuppressMultiSort()||this.clearSortBarTheseColumns(i,o),this.updateSortIndex(e),this.dispatchSortChangedEvents(o)},t.prototype.updateSortIndex=function(e){var t=this.gridOptionsWrapper.isColumnsSortingCoupledToGroup(),r=this.columnModel.getGroupDisplayColumnForGroup(e.getId()),o=t&&r||e,n=this.getIndexableColumnsOrdered();this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach((function(e){return e.setSortIndex(null)}));var i=n.filter((function(e){return e!==o}));(o.getSort()?p(i,[o]):i).forEach((function(e,t){return e.setSortIndex(t)}))},t.prototype.onSortChanged=function(e){this.dispatchSortChangedEvents(e)},t.prototype.isSortActive=function(){var e=this.columnModel.getPrimaryAndSecondaryAndAutoColumns().filter((function(e){return!!e.getSort()}));return e&&e.length>0},t.prototype.dispatchSortChangedEvents=function(e){var t={type:s.a.EVENT_SORT_CHANGED,source:e};this.eventService.dispatchEvent(t)},t.prototype.clearSortBarTheseColumns=function(e,t){this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach((function(r){e.includes(r)||r.setSort(void 0,t)}))},t.prototype.getNextSortDirection=function(e){var t;if(t=e.getColDef().sortingOrder?e.getColDef().sortingOrder:this.gridOptionsWrapper.getSortingOrder()?this.gridOptionsWrapper.getSortingOrder():r.DEFAULT_SORTING_ORDER,!Array.isArray(t)||t.length<=0)return console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's "+t),null;var o,n=t.indexOf(e.getSort()),i=n<0,a=n==t.length-1;return o=i||a?t[0]:t[n+1],r.DEFAULT_SORTING_ORDER.indexOf(o)<0?(console.warn("AG Grid: invalid sort type "+o),null):o},t.prototype.getColumnsOrderedForSort=function(){var e=this.columnModel.getPrimaryAndSecondaryAndAutoColumns(),t={};return e.forEach((function(e,r){return t[e.getId()]=r})),e.sort((function(e,r){var o=e.getSortIndex(),n=r.getSortIndex();return null!=o&&null!=n?o-n:null==o&&null==n?t[e.getId()]>t[r.getId()]?1:-1:null==n?-1:1})),e},t.prototype.getIndexableColumnsOrdered=function(){var e=this;return this.gridOptionsWrapper.isColumnsSortingCoupledToGroup()?this.getColumnsOrderedForSort().filter((function(t){var r;return t.getColDef().showRowGroup?!(!t.getColDef().field||!t.getSort())||(null===(r=e.columnModel.getSourceColumnsForGroupColumn(t))||void 0===r?void 0:r.some((function(e){return!!e.getSort()}))):!!t.getSort()})):this.getColumnsWithSortingOrdered()},t.prototype.getColumnsWithSortingOrdered=function(){return this.getColumnsOrderedForSort().filter((function(e){return!!e.getSort()}))},t.prototype.getSortModel=function(){return this.getColumnsWithSortingOrdered().map((function(e){return{sort:e.getSort(),colId:e.getId()}}))},t.prototype.getSortOptions=function(){return this.getColumnsWithSortingOrdered().map((function(e){return{sort:e.getSort(),column:e}}))},t.prototype.canColumnDisplayMixedSort=function(e){var t=this.gridOptionsWrapper.isColumnsSortingCoupledToGroup(),r=!!e.getColDef().showRowGroup;return t&&r},t.prototype.getDisplaySortForColumn=function(e){var t,r=this.columnModel.getSourceColumnsForGroupColumn(e);if(!this.canColumnDisplayMixedSort(e)||!(null===(t=r)||void 0===t?void 0:t.length))return e.getSort();var o=!!e.getColDef().field?p([e],r):r,n=o[0].getSort();return o.every((function(e){return e.getSort()==n}))?n:"mixed"},t.prototype.getDisplaySortIndexForColumn=function(e){var t=this;if(!this.gridOptionsWrapper.isColumnsSortingCoupledToGroup())return this.getColumnsWithSortingOrdered().indexOf(e);var r=this.columnModel.getGroupDisplayColumnForGroup(e.getId());return r?e.getSort()?this.getDisplaySortIndexForColumn(r):null:this.getIndexableColumnsOrdered().filter((function(e){return!t.columnModel.getGroupDisplayColumnForGroup(e.getId())})).indexOf(e)},t.DEFAULT_SORTING_ORDER=[a.a.SORT_ASC,a.a.SORT_DESC,null],c([Object(n.a)("columnModel")],t.prototype,"columnModel",void 0),t=r=c([Object(n.b)("sortController")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cacheVersion=0,t}return a(t,e),t.prototype.init=function(){this.active=this.gridOptionsWrapper.isValueCache(),this.neverExpires=this.gridOptionsWrapper.isValueCacheNeverExpires()},t.prototype.onDataChanged=function(){this.neverExpires||this.expire()},t.prototype.expire=function(){this.cacheVersion++},t.prototype.setValue=function(e,t,r){this.active&&(e.__cacheVersion!==this.cacheVersion&&(e.__cacheVersion=this.cacheVersion,e.__cacheData={}),e.__cacheData[t]=r)},t.prototype.getValue=function(e,t){if(this.active&&e.__cacheVersion===this.cacheVersion)return e.__cacheData[t]},s([n.e],t.prototype,"init",null),t=s([Object(n.b)("valueCache")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(1),i=r(6),a=r(13),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c={"ag-theme-custom":{headerHeight:25,headerCellMinWidth:24,listItemHeight:20,rowHeight:25,chartMenuPanelWidth:220},"ag-theme-material":{headerHeight:56,headerCellMinWidth:48,listItemHeight:32,rowHeight:48,chartMenuPanelWidth:240},"ag-theme-balham":{headerHeight:32,headerCellMinWidth:24,listItemHeight:24,rowHeight:28,chartMenuPanelWidth:220},"ag-theme-alpine":{headerHeight:48,headerCellMinWidth:36,listItemHeight:24,rowHeight:42,chartMenuPanelWidth:240}},u={headerHeight:["ag-header-row"],headerCellMinWidth:["ag-header-cell"],listItemHeight:["ag-virtual-list-item"],rowHeight:["ag-row"],chartMenuPanelWidth:["ag-chart-docked-container"]},p={},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.getSassVariable=function(e,t){var r="ag-theme-"+(e.match("material")?"material":e.match("balham")?"balham":e.match("alpine")?"alpine":"custom"),o=c[r][t],n=0;p[e]||(p[e]={});var i=p[e][t];if(null!=i)return i;if(u[t]){var a=u[t],s=document.createElement("div");s.classList.add(e),s.style.position="absolute";var l=a.reduce((function(e,t){var r=document.createElement("div");return r.style.position="static",r.classList.add(t),e.appendChild(r),r}),s);if(document.body){document.body.appendChild(s);var d=-1!==t.toLowerCase().indexOf("height")?"height":"width";n=parseInt(window.getComputedStyle(l)[d],10),document.body.removeChild(s)}}return p[e][t]=n||o,p[e][t]},t.prototype.isThemeDark=function(){var e=this.getTheme().theme;return!!e&&e.indexOf("dark")>=0},t.prototype.chartMenuPanelWidth=function(){var e=this.getTheme().themeFamily;return this.getSassVariable(e,"chartMenuPanelWidth")},t.prototype.getTheme=function(){for(var e=/\bag-(material|(?:theme-([\w\-]*)))\b/g,t=this.eGridDiv,r=null,o=[];t;){if(r=e.exec(t.className)){var n=t.className.match(e);n&&(o=n);break}t=t.parentElement||void 0}if(!r)return{allThemes:o};var i=r[0];if(void 0===r[2]){var s=i.replace("ag-","ag-theme-");Object(a.doOnce)((function(){return console.warn("AG Grid: As of v19 old theme are no longer provided. Please replace "+i+" with "+s+".")}),"using-old-theme")}return{theme:i,el:t,themeFamily:i.replace(/-dark$/,""),allThemes:o}},l([Object(n.a)("eGridDiv")],t.prototype,"eGridDiv",void 0),t=l([Object(n.b)("environment")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(1),i=r(6),a=r(2),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.isRowSelectableFunc=this.gridOptionsWrapper.getIsRowSelectableFunc()},t.prototype.updateSelectableAfterGrouping=function(e){if(this.isRowSelectableFunc){this.recurseDown(e.childrenAfterGroup,(function(e){return e.childrenAfterGroup}))}},t.prototype.recurseDown=function(e,t){var r=this;e&&e.forEach((function(e){if(e.group){var o;if(e.hasChildren()&&r.recurseDown(t(e),t),r.groupSelectsChildren){var n=(t(e)||[]).find((function(e){return!0===e.selectable}));o=Object(a.exists)(n)}else o=!!r.isRowSelectableFunc&&r.isRowSelectableFunc(e);e.setRowSelectable(o)}}))},l([n.e],t.prototype,"init",null),t=l([Object(n.b)("selectableService")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(1),i=r(6),a=r(3),s=r(2),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.getFirstRow=function(){var e,t=0;return this.pinnedRowModel.getPinnedTopRowCount()?e=a.a.PINNED_TOP:this.rowModel.getRowCount()?(e=null,t=this.paginationProxy.getPageFirstRow()):this.pinnedRowModel.getPinnedBottomRowCount()&&(e=a.a.PINNED_BOTTOM),void 0===e?null:{rowIndex:t,rowPinned:e}},t.prototype.getLastRow=function(){var e,t=null,r=this.pinnedRowModel.getPinnedBottomRowCount(),o=this.pinnedRowModel.getPinnedTopRowCount();return r?(t=a.a.PINNED_BOTTOM,e=r-1):this.rowModel.getRowCount()?(t=null,e=this.paginationProxy.getPageLastRow()):o&&(t=a.a.PINNED_TOP,e=o-1),void 0===e?null:{rowIndex:e,rowPinned:t}},t.prototype.getRowNode=function(e){switch(e.rowPinned){case a.a.PINNED_TOP:return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case a.a.PINNED_BOTTOM:return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}},t.prototype.sameRow=function(e,t){return!e&&!t||!(e&&!t||!e&&t)&&(e.rowIndex===t.rowIndex&&e.rowPinned==t.rowPinned)},t.prototype.before=function(e,t){switch(e.rowPinned){case a.a.PINNED_TOP:if(t.rowPinned!==a.a.PINNED_TOP)return!0;break;case a.a.PINNED_BOTTOM:if(t.rowPinned!==a.a.PINNED_BOTTOM)return!1;break;default:if(Object(s.exists)(t.rowPinned))return t.rowPinned!==a.a.PINNED_TOP}return e.rowIndex<t.rowIndex},t.prototype.rowMax=function(e){var t,r=this;return e.forEach((function(e){(void 0===t||r.before(t,e))&&(t=e)})),t},t.prototype.rowMin=function(e){var t,r=this;return e.forEach((function(e){(void 0===t||r.before(e,t))&&(t=e)})),t},c([Object(n.a)("rowModel")],t.prototype,"rowModel",void 0),c([Object(n.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),c([Object(n.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),t=c([Object(n.b)("rowPositionUtils")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(1),i=r(6),a=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.createId=function(e){var t=e.rowIndex,r=e.rowPinned,o=e.column;return this.createIdFromValues(t,o,r)},t.prototype.createIdFromValues=function(e,t,r){return e+"."+(null==r?"null":r)+"."+t.getId()},t.prototype.equals=function(e,t){var r=e.column===t.column,o=e.rowPinned===t.rowPinned,n=e.rowIndex===t.rowIndex;return r&&o&&n},t=s([Object(n.b)("cellPositionUtils")],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var o,n=r(6),i=r(1),a=r(33),s=r(40),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.findHeader=function(e,t){var r,o,n;if(e.column instanceof a.a?(o="getDisplayedGroup"+t,r=this.columnModel[o](e.column)):(n="getDisplayedCol"+t,r=this.columnModel[n](e.column)),r)return{column:r,headerRowIndex:e.headerRowIndex}},t.prototype.findColAtEdgeForHeaderRow=function(e,t){var r=this.columnModel.getAllDisplayedColumns(),o=r["start"===t?0:r.length-1];if(o){var n=this.ctrlsService.getHeaderRowContainerCtrl(o.getPinned()).getRowType(e);return n==s.b.COLUMN_GROUP?{headerRowIndex:e,column:this.columnModel.getColumnGroupAtLevel(o,e)}:{headerRowIndex:null==n?-1:e,column:o}}},c([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),c([Object(i.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),t=c([Object(i.b)("headerPositionUtils")],t)}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var o=r(1),n=r(24),i=r(3),a=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},s=function(){function e(){}return e.prototype.doFullSort=function(e,t){var r=e.map((function(e,t){return{currentPos:t,rowNode:e}}));return r.sort(this.compareRowNodes.bind(this,t)),r.map((function(e){return e.rowNode}))},e.prototype.compareRowNodes=function(e,t,r){for(var o=t.rowNode,a=r.rowNode,s=0,l=e.length;s<l;s++){var c=e[s],u=c.sort===i.a.SORT_DESC,p=this.getValue(o,c.column),d=this.getValue(a,c.column),g=void 0,h=this.getComparator(c,o);if(g=h?h(p,d,o,a,u):n.f.defaultComparator(p,d,this.gridOptionsWrapper.isAccentedSort()),!isNaN(g)&&0!==g)return c.sort===i.a.SORT_ASC?g:-1*g}return t.currentPos-r.currentPos},e.prototype.getComparator=function(e,t){var r=e.column,o=r.getColDef().comparator;if(null!=o)return o;if(r.getColDef().showRowGroup){var n=!t.group&&r.getColDef().field;if(n){var i=this.columnModel.getPrimaryColumn(n);if(i)return i.getColDef().comparator}}},e.prototype.getValue=function(e,t){var r,o;if(!this.gridOptionsWrapper.isColumnsSortingCoupledToGroup())return this.valueService.getValue(t,e,!1,!1);if(e.rowGroupColumn===t){if(this.gridOptionsWrapper.isGroupUseEntireRow(this.columnModel.isPivotActive())){if(t.getColDef().keyCreator)return e.key;var n=null===(r=e.allLeafChildren)||void 0===r?void 0:r[0];return n?this.valueService.getValue(t,n,!1,!1):void 0}var i=this.columnModel.getGroupDisplayColumnForGroup(t.getId());if(!i)return;return null===(o=e.groupData)||void 0===o?void 0:o[i.getId()]}return e.group&&t.getColDef().showRowGroup?void 0:this.valueService.getValue(t,e,!1,!1)},a([Object(o.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),a([Object(o.a)("valueService")],e.prototype,"valueService",void 0),a([Object(o.a)("columnModel")],e.prototype,"columnModel",void 0),e=a([Object(o.b)("rowNodeSorter")],e)}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o,n=r(1),i=r(6),a=r(3),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ready=!1,t.readyCallbacks=[],t}var r;return s(t,e),r=t,t.prototype.checkReady=function(){if(this.ready=null!=this.gridCtrl&&null!=this.gridBodyCtrl&&null!=this.centerRowContainerCtrl&&null!=this.leftRowContainerCtrl&&null!=this.rightRowContainerCtrl&&null!=this.bottomCenterRowContainerCtrl&&null!=this.bottomLeftRowContainerCtrl&&null!=this.bottomRightRowContainerCtrl&&null!=this.topCenterRowContainerCtrl&&null!=this.topLeftRowContainerCtrl&&null!=this.topRightRowContainerCtrl&&null!=this.stickyTopCenterRowContainerCtrl&&null!=this.stickyTopLeftRowContainerCtrl&&null!=this.stickyTopRightRowContainerCtrl&&null!=this.centerHeaderRowContainerCtrl&&null!=this.leftHeaderRowContainerCtrl&&null!=this.rightHeaderRowContainerCtrl&&null!=this.fakeHScrollCtrl&&null!=this.gridHeaderCtrl,this.ready){var e=this.createReadyParams();this.readyCallbacks.forEach((function(t){return t(e)})),this.readyCallbacks.length=0}},t.prototype.whenReady=function(e){this.ready?e(this.createReadyParams()):this.readyCallbacks.push(e)},t.prototype.createReadyParams=function(){return{centerRowContainerCtrl:this.centerRowContainerCtrl,leftRowContainerCtrl:this.leftRowContainerCtrl,rightRowContainerCtrl:this.rightRowContainerCtrl,bottomCenterRowContainerCtrl:this.bottomCenterRowContainerCtrl,bottomLeftRowContainerCtrl:this.bottomLeftRowContainerCtrl,bottomRightRowContainerCtrl:this.bottomRightRowContainerCtrl,topCenterRowContainerCtrl:this.topCenterRowContainerCtrl,topLeftRowContainerCtrl:this.topLeftRowContainerCtrl,topRightRowContainerCtrl:this.topRightRowContainerCtrl,stickyTopCenterRowContainerCtrl:this.stickyTopCenterRowContainerCtrl,stickyTopLeftRowContainerCtrl:this.stickyTopLeftRowContainerCtrl,stickyTopRightRowContainerCtrl:this.stickyTopRightRowContainerCtrl,centerHeaderRowContainerCtrl:this.centerHeaderRowContainerCtrl,leftHeaderRowContainerCtrl:this.leftHeaderRowContainerCtrl,rightHeaderRowContainerCtrl:this.rightHeaderRowContainerCtrl,fakeHScrollCtrl:this.fakeHScrollCtrl,gridBodyCtrl:this.gridBodyCtrl,gridCtrl:this.gridCtrl,gridHeaderCtrl:this.gridHeaderCtrl}},t.prototype.registerFakeHScrollCtrl=function(e){this.fakeHScrollCtrl=e,this.checkReady()},t.prototype.registerGridHeaderCtrl=function(e){this.gridHeaderCtrl=e,this.checkReady()},t.prototype.registerCenterRowContainerCtrl=function(e){this.centerRowContainerCtrl=e,this.checkReady()},t.prototype.registerLeftRowContainerCtrl=function(e){this.leftRowContainerCtrl=e,this.checkReady()},t.prototype.registerRightRowContainerCtrl=function(e){this.rightRowContainerCtrl=e,this.checkReady()},t.prototype.registerTopCenterRowContainerCtrl=function(e){this.topCenterRowContainerCtrl=e,this.checkReady()},t.prototype.registerTopLeftRowContainerCon=function(e){this.topLeftRowContainerCtrl=e,this.checkReady()},t.prototype.registerTopRightRowContainerCtrl=function(e){this.topRightRowContainerCtrl=e,this.checkReady()},t.prototype.registerStickyTopCenterRowContainerCtrl=function(e){this.stickyTopCenterRowContainerCtrl=e,this.checkReady()},t.prototype.registerStickyTopLeftRowContainerCon=function(e){this.stickyTopLeftRowContainerCtrl=e,this.checkReady()},t.prototype.registerStickyTopRightRowContainerCtrl=function(e){this.stickyTopRightRowContainerCtrl=e,this.checkReady()},t.prototype.registerBottomCenterRowContainerCtrl=function(e){this.bottomCenterRowContainerCtrl=e,this.checkReady()},t.prototype.registerBottomLeftRowContainerCtrl=function(e){this.bottomLeftRowContainerCtrl=e,this.checkReady()},t.prototype.registerBottomRightRowContainerCtrl=function(e){this.bottomRightRowContainerCtrl=e,this.checkReady()},t.prototype.registerHeaderContainer=function(e,t){switch(t){case a.a.PINNED_LEFT:this.leftHeaderRowContainerCtrl=e;break;case a.a.PINNED_RIGHT:this.rightHeaderRowContainerCtrl=e;break;default:this.centerHeaderRowContainerCtrl=e}this.checkReady()},t.prototype.registerGridBodyCtrl=function(e){this.gridBodyCtrl=e,this.checkReady()},t.prototype.registerGridCtrl=function(e){this.gridCtrl=e,this.checkReady()},t.prototype.getFakeHScrollCtrl=function(){return this.fakeHScrollCtrl},t.prototype.getGridHeaderCtrl=function(){return this.gridHeaderCtrl},t.prototype.getGridCtrl=function(){return this.gridCtrl},t.prototype.getCenterRowContainerCtrl=function(){return this.centerRowContainerCtrl},t.prototype.getTopCenterRowContainerCtrl=function(){return this.topCenterRowContainerCtrl},t.prototype.getBottomCenterRowContainerCtrl=function(){return this.bottomCenterRowContainerCtrl},t.prototype.getStickyTopCenterRowContainerCtrl=function(){return this.stickyTopCenterRowContainerCtrl},t.prototype.getGridBodyCtrl=function(){return this.gridBodyCtrl},t.prototype.getHeaderRowContainerCtrls=function(){return[this.leftHeaderRowContainerCtrl,this.rightHeaderRowContainerCtrl,this.centerHeaderRowContainerCtrl]},t.prototype.getHeaderRowContainerCtrl=function(e){switch(e){case a.a.PINNED_LEFT:return this.leftHeaderRowContainerCtrl;case a.a.PINNED_RIGHT:return this.rightHeaderRowContainerCtrl;default:return this.centerHeaderRowContainerCtrl}},t.NAME="ctrlsService",t=r=l([Object(n.b)(r.NAME)],t)}(i.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return fe}));var o,n=r(6),i=r(1),a=r(15),s=r(7),l=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(e){function t(){return e.call(this,'\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eFloatingFilterText"></ag-input-text-field>\n </div>')||this}return l(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.init=function(e){this.params=e;var t=this.columnModel.getDisplayNameForColumn(e.column,"header",!0),r=this.gridOptionsWrapper.getLocaleTextFunc();this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(t+" "+r("ariaFilterInput","Filter Input"))},t.prototype.onParentModelChanged=function(e){var t=this;e?this.params.parentFilterInstance((function(r){if(r.getModelAsString){var o=r.getModelAsString(e);t.eFloatingFilterText.setValue(o)}})):this.eFloatingFilterText.setValue("")},c([Object(s.b)("eFloatingFilterText")],t.prototype,"eFloatingFilterText",void 0),c([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),t}(a.a),p=r(74),d=r(200),g=r(29),h=r(203),f=r(62),v=r(5),y=r(37),m=r(13),b=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),w=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},C=function(e){function t(){return e.call(this,'\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eReadOnlyText"></ag-input-text-field>\n <div ref="eDateWrapper" style="display: flex;"></div>\n </div>')||this}return b(t,e),t.prototype.getDefaultFilterOptions=function(){return p.a.DEFAULT_FILTER_OPTIONS},t.prototype.conditionToString=function(e,t){var r=e.type,o=(t||{}).numberOfInputs,n=r==g.b.IN_RANGE||2===o,i=Object(y.parseDateTimeFromString)(e.dateFrom),a=Object(y.parseDateTimeFromString)(e.dateTo),s=this.filterParams.inRangeFloatingFilterDateFormat;return n?(null!==i?Object(y.dateToFormattedString)(i,s):"null")+"-"+(null!==a?Object(y.dateToFormattedString)(a,s):"null"):null!=i?Object(y.dateToFormattedString)(i,s):""+r},t.prototype.init=function(t){e.prototype.init.call(this,t),this.params=t,this.filterParams=t.filterParams,this.createDateComponent();var r=this.gridOptionsWrapper.getLocaleTextFunc();this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(r("ariaDateFilterInput","Date Filter Input"))},t.prototype.setEditable=function(e){Object(v.setDisplayed)(this.eDateWrapper,e),Object(v.setDisplayed)(this.eReadOnlyText.getGui(),!e)},t.prototype.onParentModelChanged=function(t,r){if(!this.isEventFromFloatingFilter(r)){e.prototype.setLastTypeFromModel.call(this,t);var o=!this.isReadOnly()&&this.canWeEditAfterModelFromParentFilter(t);if(this.setEditable(o),o){if(t){var n=t;this.dateComp.setDate(Object(y.parseDateTimeFromString)(n.dateFrom))}else this.dateComp.setDate(null);this.eReadOnlyText.setValue("")}else this.eReadOnlyText.setValue(this.getTextFromModel(t)),this.dateComp.setDate(null)}},t.prototype.onDateChanged=function(){var e=this,t=this.dateComp.getDate(),r=Object(y.serialiseDate)(t);this.params.parentFilterInstance((function(t){if(t){var o=Object(y.parseDateTimeFromString)(r);t.onFloatingFilterChanged(e.getLastType()||null,o)}}))},t.prototype.createDateComponent=function(){var e=this,t=f.a.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),r={onDateChanged:Object(m.debounce)(this.onDateChanged.bind(this),t),filterParams:this.params.column.getColDef().filterParams};this.dateComp=new d.a(this.getContext(),this.userComponentFactory,r,this.eDateWrapper),this.addDestroyFunc((function(){return e.dateComp.destroy()}))},w([Object(i.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),w([Object(s.b)("eReadOnlyText")],t.prototype,"eReadOnlyText",void 0),w([Object(s.b)("eDateWrapper")],t.prototype,"eDateWrapper",void 0),t}(h.a),O=r(18),S=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),E=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},x=function(e){function t(){return e.call(this,'\n <div class="ag-filter-filter">\n <ag-input-text-field class="ag-date-filter" ref="eDateInput"></ag-input-text-field>\n </div>')||this}return S(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.init=function(e){var t=this,r=this.gridOptionsWrapper.getDocument(),o=this.eDateInput.getInputElement();this.shouldUseBrowserDatePicker(e)&&(o.type="date"),this.addManagedListener(o,"mousedown",(function(){t.eDateInput.isDisabled()||o.focus()})),this.addManagedListener(o,"input",(function(o){o.target===r.activeElement&&(t.eDateInput.isDisabled()||e.onDateChanged())}));var n=e.filterParams||{},i=n.minValidYear,a=n.maxValidYear;i&&(o.min=i+"-01-01"),a&&(o.max=a+"-12-31")},t.prototype.getDate=function(){return Object(y.parseDateTimeFromString)(this.eDateInput.getValue())},t.prototype.setDate=function(e){this.eDateInput.setValue(Object(y.serialiseDate)(e,!1))},t.prototype.setInputPlaceholder=function(e){this.eDateInput.setInputPlaceholder(e)},t.prototype.setDisabled=function(e){this.eDateInput.setDisabled(e)},t.prototype.afterGuiAttached=function(e){e&&e.suppressFocus||this.eDateInput.getInputElement().focus()},t.prototype.shouldUseBrowserDatePicker=function(e){return e.filterParams&&null!=e.filterParams.browserDatePicker?e.filterParams.browserDatePicker:Object(O.isBrowserChrome)()||Object(O.isBrowserFirefox)()},E([Object(s.b)("eDateInput")],t.prototype,"eDateInput",void 0),t}(a.a),R=r(75),T=r(204),A=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.getDefaultFilterOptions=function(){return R.a.DEFAULT_FILTER_OPTIONS},t}(T.a),_=r(64),D=r(123),M=r(19),N=r(10),I=r(2),L=r(23),k=r(30),F=r(36),G=r(65),j=r(9),z=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),B=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.lastMovingChanged=0,t}return z(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.refresh=function(e){return this.params=e,this.workOutTemplate()==this.currentTemplate&&(this.workOutShowMenu()==this.currentShowMenu&&(this.workOutSort()==this.currentSort&&(this.setDisplayName(e),!0)))},t.prototype.workOutTemplate=function(){var e=Object(N.firstExistingValue)(this.params.template,t.TEMPLATE);return e=e&&e.trim?e.trim():e},t.prototype.init=function(e){this.params=e,this.currentTemplate=this.workOutTemplate(),this.setTemplate(this.currentTemplate),this.setupTap(),this.setupIcons(e.column),this.setMenu(),this.setupSort(),this.setupFilterIcon(),this.setDisplayName(e)},t.prototype.setDisplayName=function(e){if(this.currentDisplayName!=e.displayName){this.currentDisplayName=e.displayName;var t=Object(k.escapeString)(this.currentDisplayName);this.eText&&(this.eText.innerHTML=t)}},t.prototype.setupIcons=function(e){this.addInIcon("menu",this.eMenu,e),this.addInIcon("filter",this.eFilter,e)},t.prototype.addInIcon=function(e,t,r){if(null!=t){var o=Object(L.createIconNoSpan)(e,this.gridOptionsWrapper,r);o&&t.appendChild(o)}},t.prototype.setupTap=function(){var e=this,t=this.gridOptionsWrapper;if(!t.isSuppressTouch()){var r=new F.a(this.getGui(),!0),o=t.isSuppressMenuHide(),n=o&&Object(I.exists)(this.eMenu),i=n?new F.a(this.eMenu,!0):r;if(this.params.enableMenu){var a=n?"EVENT_TAP":"EVENT_LONG_TAP";this.addManagedListener(i,F.a[a],(function(r){t.getApi().showColumnMenuAfterMouseClick(e.params.column,r.touchStart)}))}if(this.params.enableSorting){this.addManagedListener(r,F.a.EVENT_TAP,(function(t){var r=t.touchStart.target;o&&e.eMenu.contains(r)||e.sortController.progressSort(e.params.column,!1,"uiColumnSorted")}))}this.addDestroyFunc((function(){return r.destroy()})),n&&this.addDestroyFunc((function(){return i.destroy()}))}},t.prototype.workOutShowMenu=function(){var e=!this.gridOptionsWrapper.isSuppressMenuHide(),t=Object(O.isIOSUserAgent)()&&e;return this.params.enableMenu&&!t},t.prototype.setMenu=function(){var e=this;if(this.eMenu)if(this.currentShowMenu=this.workOutShowMenu(),this.currentShowMenu){var t=this.gridOptionsWrapper.isSuppressMenuHide();this.addManagedListener(this.eMenu,"click",(function(){return e.showMenu(e.eMenu)})),this.eMenu.classList.toggle("ag-header-menu-always-show",t)}else Object(v.removeFromParent)(this.eMenu)},t.prototype.showMenu=function(e){e||(e=this.eMenu),this.menuFactory.showMenuAfterButtonClick(this.params.column,e,"columnMenu")},t.prototype.workOutSort=function(){return this.params.enableSorting},t.prototype.setupSort=function(){var e=this;if(this.currentSort=this.params.enableSorting,this.eSortIndicator||(this.eSortIndicator=this.context.createBean(new G.a(!0)),this.eSortIndicator.attachCustomElements(this.eSortOrder,this.eSortAsc,this.eSortDesc,this.eSortMixed,this.eSortNone)),this.eSortIndicator.setupSort(this.params.column),this.currentSort){var t=this.gridOptionsWrapper.isMultiSortKeyCtrl();this.addManagedListener(this.params.column,M.a.EVENT_MOVING_CHANGED,(function(){e.lastMovingChanged=(new Date).getTime()})),this.eLabel&&this.addManagedListener(this.eLabel,"click",(function(r){var o=e.params.column.isMoving(),n=(new Date).getTime()-e.lastMovingChanged<50;if(!(o||n)){var i=t?r.ctrlKey||r.metaKey:r.shiftKey;e.params.progressSort(i)}}));var r=function(){var t;if(e.addOrRemoveCssClass("ag-header-cell-sorted-asc",e.params.column.isSortAscending()),e.addOrRemoveCssClass("ag-header-cell-sorted-desc",e.params.column.isSortDescending()),e.addOrRemoveCssClass("ag-header-cell-sorted-none",e.params.column.isSortNone()),e.params.column.getColDef().showRowGroup){var r=!(null===(t=e.columnModel.getSourceColumnsForGroupColumn(e.params.column))||void 0===t?void 0:t.every((function(t){return e.params.column.getSort()==t.getSort()})));e.addOrRemoveCssClass("ag-header-cell-sorted-mixed",r)}};this.addManagedListener(this.eventService,j.a.EVENT_SORT_CHANGED,r),this.addManagedListener(this.eventService,j.a.EVENT_COLUMN_ROW_GROUP_CHANGED,r)}},t.prototype.setupFilterIcon=function(){this.eFilter&&(this.addManagedListener(this.params.column,M.a.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())},t.prototype.onFilterChanged=function(){var e=this.params.column.isFilterActive();this.eFilter.classList.toggle("ag-hidden",!e)},t.TEMPLATE='<div class="ag-cell-label-container" role="presentation">\n <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button" aria-hidden="true"></span>\n <div ref="eLabel" class="ag-header-cell-label" role="presentation">\n <span ref="eText" class="ag-header-cell-text"></span>\n <span ref="eFilter" class="ag-header-icon ag-header-label-icon ag-filter-icon" aria-hidden="true"></span>\n <ag-sort-indicator ref="eSortIndicator"></ag-sort-indicator>\n </div>\n </div>',B([Object(i.a)("sortController")],t.prototype,"sortController",void 0),B([Object(i.a)("menuFactory")],t.prototype,"menuFactory",void 0),B([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),B([Object(s.b)("eFilter")],t.prototype,"eFilter",void 0),B([Object(s.b)("eSortIndicator")],t.prototype,"eSortIndicator",void 0),B([Object(s.b)("eMenu")],t.prototype,"eMenu",void 0),B([Object(s.b)("eLabel")],t.prototype,"eLabel",void 0),B([Object(s.b)("eText")],t.prototype,"eText",void 0),B([Object(s.b)("eSortOrder")],t.prototype,"eSortOrder",void 0),B([Object(s.b)("eSortAsc")],t.prototype,"eSortAsc",void 0),B([Object(s.b)("eSortDesc")],t.prototype,"eSortDesc",void 0),B([Object(s.b)("eSortMixed")],t.prototype,"eSortMixed",void 0),B([Object(s.b)("eSortNone")],t.prototype,"eSortNone",void 0),t}(a.a),W=r(31),H=r(28),U=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),K=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Y=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return U(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.init=function(e){this.params=e,this.checkWarnings(),this.setupLabel(),this.addGroupExpandIcon(),this.setupExpandIcons()},t.prototype.checkWarnings=function(){if(this.params.template){Object(m.doOnce)((function(){return console.warn("AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)")}),"HeaderGroupComp.templateNotSupported")}},t.prototype.setupExpandIcons=function(){var e=this;this.addInIcon("columnGroupOpened","agOpened"),this.addInIcon("columnGroupClosed","agClosed");var t=function(t){if(!Object(H.isStopPropagationForAgGrid)(t)){var r=!e.params.columnGroup.isExpanded();e.columnModel.setColumnGroupOpened(e.params.columnGroup.getProvidedColumnGroup(),r,"uiColumnExpanded")}};this.addTouchAndClickListeners(this.eCloseIcon,t),this.addTouchAndClickListeners(this.eOpenIcon,t);var r=function(e){Object(H.stopPropagationForAgGrid)(e)};this.addManagedListener(this.eCloseIcon,"dblclick",r),this.addManagedListener(this.eOpenIcon,"dblclick",r),this.addManagedListener(this.getGui(),"dblclick",t),this.updateIconVisibility();var o=this.params.columnGroup.getProvidedColumnGroup();this.addManagedListener(o,W.a.EVENT_EXPANDED_CHANGED,this.updateIconVisibility.bind(this)),this.addManagedListener(o,W.a.EVENT_EXPANDABLE_CHANGED,this.updateIconVisibility.bind(this))},t.prototype.addTouchAndClickListeners=function(e,t){var r=new F.a(e,!0);this.addManagedListener(r,F.a.EVENT_TAP,t),this.addDestroyFunc((function(){return r.destroy()})),this.addManagedListener(e,"click",t)},t.prototype.updateIconVisibility=function(){if(this.params.columnGroup.isExpandable()){var e=this.params.columnGroup.isExpanded();Object(v.setDisplayed)(this.eOpenIcon,e),Object(v.setDisplayed)(this.eCloseIcon,!e)}else Object(v.setDisplayed)(this.eOpenIcon,!1),Object(v.setDisplayed)(this.eCloseIcon,!1)},t.prototype.addInIcon=function(e,t){var r=Object(L.createIconNoSpan)(e,this.gridOptionsWrapper,null);r&&this.getRefElement(t).appendChild(r)},t.prototype.addGroupExpandIcon=function(){if(!this.params.columnGroup.isExpandable())return Object(v.setDisplayed)(this.eOpenIcon,!1),void Object(v.setDisplayed)(this.eCloseIcon,!1)},t.prototype.setupLabel=function(){var e=this.params.displayName;if(Object(I.exists)(e)){var t=Object(k.escapeString)(e);this.getRefElement("agLabel").innerHTML=t}},t.TEMPLATE='<div class="ag-header-group-cell-label" ref="agContainer" role="presentation">\n <span ref="agLabel" class="ag-header-group-text" role="presentation"></span>\n <span ref="agOpened" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"></span>\n <span ref="agClosed" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"></span>\n </div>',K([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),K([Object(s.b)("agOpened")],t.prototype,"eOpenIcon",void 0),K([Object(s.b)("agClosed")],t.prototype,"eCloseIcon",void 0),t}(a.a),X=r(124),q=r(125),Q=r(126),Z=r(76),J=r(71),$=r(127),ee=r(128),te=r(114),re=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),oe=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ne=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return re(t,e),t.prototype.init=function(e){e.node.failedLoad?this.setupFailed():this.setupLoading()},t.prototype.setupFailed=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.eLoadingText.innerText=e("loadingError","ERR")},t.prototype.setupLoading=function(){var e=Object(L.createIconNoSpan)("groupLoading",this.gridOptionsWrapper,null);e&&this.eLoadingIcon.appendChild(e);var t=this.gridOptionsWrapper.getLocaleTextFunc();this.eLoadingText.innerText=t("loadingOoo","Loading")},t.prototype.refresh=function(e){return!1},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.TEMPLATE='<div class="ag-loading">\n <span class="ag-loading-icon" ref="eLoadingIcon"></span>\n <span class="ag-loading-text" ref="eLoadingText"></span>\n </div>',oe([Object(s.b)("eLoadingIcon")],t.prototype,"eLoadingIcon",void 0),oe([Object(s.b)("eLoadingText")],t.prototype,"eLoadingText",void 0),t}(a.a),ie=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ae=function(e){function t(){return e.call(this)||this}return ie(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.init=function(e){var r=this.gridOptionsWrapper.getOverlayLoadingTemplate()?this.gridOptionsWrapper.getOverlayLoadingTemplate():t.DEFAULT_LOADING_OVERLAY_TEMPLATE,o=this.gridOptionsWrapper.getLocaleTextFunc(),n=r.replace("[LOADING...]",o("loadingOoo","Loading..."));this.setTemplate(n)},t.DEFAULT_LOADING_OVERLAY_TEMPLATE='<span class="ag-overlay-loading-center">[LOADING...]</span>',t}(a.a),se=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),le=function(e){function t(){return e.call(this)||this}return se(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.init=function(e){var r=this.gridOptionsWrapper.getOverlayNoRowsTemplate()?this.gridOptionsWrapper.getOverlayNoRowsTemplate():t.DEFAULT_NO_ROWS_TEMPLATE,o=this.gridOptionsWrapper.getLocaleTextFunc(),n=r.replace("[NO_ROWS_TO_SHOW]",o("noRowsToShow","No Rows To Show"));this.setTemplate(n)},t.DEFAULT_NO_ROWS_TEMPLATE='<span class="ag-overlay-no-rows-center">[NO_ROWS_TO_SHOW]</span>',t}(a.a),ce=r(52),ue=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),pe=function(e){function t(){return e.call(this,'<div class="ag-tooltip"></div>')||this}return ue(t,e),t.prototype.init=function(e){var t=e.value;this.getGui().innerHTML=Object(k.escapeString)(t)},t}(ce.a),de=r(14),ge=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),he=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},fe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.agGridDefaults={agDateInput:x,agColumnHeader:V,agColumnGroupHeader:Y,agSortIndicator:G.a,agTextColumnFloatingFilter:D.a,agNumberColumnFloatingFilter:P,agDateColumnFloatingFilter:C,agReadOnlyFloatingFilter:u,agAnimateShowChangeCellRenderer:$.a,agAnimateSlideCellRenderer:ee.a,agGroupCellRenderer:te.a,agGroupRowRenderer:te.a,agLoadingCellRenderer:ne,agCellEditor:J.a,agTextCellEditor:J.a,agSelectCellEditor:Z.a,agPopupTextCellEditor:Q.a,agPopupSelectCellEditor:q.a,agLargeTextCellEditor:X.a,agTextColumnFilter:_.a,agNumberColumnFilter:R.a,agDateColumnFilter:p.a,agLoadingOverlay:ae,agNoRowsOverlay:le,agTooltipComponent:pe},t.agDeprecatedNames={set:{newComponentName:"agSetColumnFilter",propertyHolder:"filter"},text:{newComponentName:"agTextColumnFilter",propertyHolder:"filter"},number:{newComponentName:"agNumberColumnFilter",propertyHolder:"filter"},date:{newComponentName:"agDateColumnFilter",propertyHolder:"filter"},group:{newComponentName:"agGroupCellRenderer",propertyHolder:"cellRenderer"},animateShowChange:{newComponentName:"agAnimateShowChangeCellRenderer",propertyHolder:"cellRenderer"},animateSlide:{newComponentName:"agAnimateSlideCellRenderer",propertyHolder:"cellRenderer"},select:{newComponentName:"agSelectCellEditor",propertyHolder:"cellEditor"},largeText:{newComponentName:"agLargeTextCellEditor",propertyHolder:"cellEditor"},popupSelect:{newComponentName:"agPopupSelectCellEditor",propertyHolder:"cellEditor"},popupText:{newComponentName:"agPopupTextCellEditor",propertyHolder:"cellEditor"},richSelect:{newComponentName:"agRichSelectCellEditor",propertyHolder:"cellEditor"},headerComponent:{newComponentName:"agColumnHeader",propertyHolder:"headerComponent"}},t.jsComps={},t.fwComps={},t}return ge(t,e),t.prototype.init=function(){var e=this;null!=this.gridOptions.components&&Object(de.iterateObject)(this.gridOptions.components,(function(t,r){return e.registerJsComponent(t,r)})),null!=this.gridOptions.frameworkComponents&&Object(de.iterateObject)(this.gridOptions.frameworkComponents,(function(t,r){return e.registerFwComponent(t,r)}))},t.prototype.registerDefaultComponent=function(e,t){var r=this.translateIfDeprecated(e);this.agGridDefaults[r]?console.error("Trying to overwrite a default component. You should call registerComponent"):this.agGridDefaults[r]=t},t.prototype.registerJsComponent=function(e,t){var r=this.translateIfDeprecated(e);this.fwComps[r]?console.error("Trying to register a component that you have already registered for frameworks: "+r):this.jsComps[r]=t},t.prototype.registerFwComponent=function(e,t){Object(m.doOnce)((function(){return console.warn("AG Grid: As of v27, registering components via grid property frameworkComponents is deprecated. Instead register both JavaScript AND Framework Components via the components property.")}),"UserComponentRegistry.frameworkComponentsDeprecated");var r=this.translateIfDeprecated(e);this.fwComps[r]=t},t.prototype.retrieve=function(e){var t=this.translateIfDeprecated(e),r=function(e,t){return{componentFromFramework:t,component:e}},o=this.getFrameworkOverrides().frameworkComponent(t,this.gridOptions.components);if(null!=o)return r(o,!0);var n=this.fwComps[t];if(n)return r(n,!0);var i=this.jsComps[t];if(i)return r(i,this.getFrameworkOverrides().isFrameworkComponent(i));var a=this.agGridDefaults[t];return a?r(a,!1):(Object.keys(this.agGridDefaults).indexOf(t)<0&&console.warn("AG Grid: Looking for component ["+t+"] but it wasn't found."),null)},t.prototype.translateIfDeprecated=function(e){var t=this.agDeprecatedNames[e];return null!=t?(Object(m.doOnce)((function(){console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename "+t.propertyHolder+":"+e+" to "+t.propertyHolder+":"+t.newComponentName)}),"DEPRECATE_COMPONENT_"+e),t.newComponentName):e},he([Object(i.a)("gridOptions")],t.prototype,"gridOptions",void 0),he([Object(i.a)("agComponentUtils")],t.prototype,"agComponentUtils",void 0),he([i.e],t.prototype,"init",null),t=he([Object(i.b)("userComponentRegistry")],t)}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return _}));var o,n=r(8),i=r(1),a=r(20),s=r(19),l=r(9),c=r(66),u=r(11),p=r(39),d=r(91),g=r(56),h=r(79),f=r(95),v=r(3),y=r(6),m=r(5),b=r(36),w=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),C=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},O=function(e){function t(t,r,o,n,i){var a=e.call(this)||this;return a.pinned=t,a.column=r,a.eResize=o,a.comp=n,a.ctrl=i,a}return w(t,e),t.prototype.postConstruct=function(){var e,t,r=this,o=this.column.getColDef(),n=[],i=function(){n.forEach((function(e){return e()})),n.length=0},a=function(){var a=r.column.isResizable(),s=!r.gridOptionsWrapper.isSuppressAutoSize()&&!o.suppressAutoSize;(a!==e||s!==t)&&(e=a,t=s,i(),function(){if(Object(m.setDisplayed)(r.eResize,e),e){var o=r.horizontalResizeService.addResizeBar({eResizeBar:r.eResize,onResizeStart:r.onResizeStart.bind(r),onResizing:r.onResizing.bind(r,!1),onResizeEnd:r.onResizing.bind(r,!0)});if(n.push(o),t){var i=r.gridOptionsWrapper.isSkipHeaderOnAutoSize(),a=function(){r.columnModel.autoSizeColumn(r.column,i,"uiColumnResized")};r.eResize.addEventListener("dblclick",a);var s=new b.a(r.eResize);s.addEventListener(b.a.EVENT_DOUBLE_TAP,a),r.addDestroyFunc((function(){r.eResize.removeEventListener("dblclick",a),s.removeEventListener(b.a.EVENT_DOUBLE_TAP,a),s.destroy()}))}}}())};a(),this.addDestroyFunc(i),this.ctrl.addRefreshFunction(a)},t.prototype.onResizing=function(e,t){var r=this.normaliseResizeAmount(t),o=[{key:this.column,newWidth:this.resizeStartWidth+r}];this.columnModel.setColumnWidths(o,this.resizeWithShiftKey,e,"uiColumnDragged"),e&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)},t.prototype.onResizeStart=function(e){this.resizeStartWidth=this.column.getActualWidth(),this.resizeWithShiftKey=e,this.comp.addOrRemoveCssClass("ag-column-resizing",!0)},t.prototype.normaliseResizeAmount=function(e){var t=e,r=this.pinned!==v.a.PINNED_LEFT,o=this.pinned===v.a.PINNED_RIGHT;return this.gridOptionsWrapper.isEnableRtl()?r&&(t*=-1):o&&(t*=-1),t},C([Object(i.a)("horizontalResizeService")],t.prototype,"horizontalResizeService",void 0),C([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),C([i.e],t.prototype,"postConstruct",null),t}(y.a),S=r(55),E=r(4),x=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),R=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},T=function(e){function t(t){var r=e.call(this)||this;r.cbSelectAllVisible=!1,r.processingEventFromCheckbox=!1,r.column=t;var o=t.getColDef();return r.filteredOnly=!!o&&!!o.headerCheckboxSelectionFilteredOnly,r}return x(t,e),t.prototype.onSpaceKeyPressed=function(e){var t=this.cbSelectAll,r=this.gridOptionsWrapper.getDocument();t.isDisplayed()&&!t.getGui().contains(r.activeElement)&&(e.preventDefault(),t.setValue(!t.getValue()))},t.prototype.getCheckboxGui=function(){return this.cbSelectAll.getGui()},t.prototype.setComp=function(e){this.headerCellCtrl=e,this.cbSelectAll=this.createManagedBean(new S.a),this.cbSelectAll.addCssClass("ag-header-select-all"),Object(u.setAriaRole)(this.cbSelectAll.getGui(),"presentation"),this.showOrHideSelectAll(),this.addManagedListener(this.eventService,E.a.EVENT_NEW_COLUMNS_LOADED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,E.a.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,E.a.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.eventService,E.a.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addManagedListener(this.cbSelectAll,S.a.EVENT_CHANGED,this.onCbSelectAll.bind(this)),Object(u.setAriaHidden)(this.cbSelectAll.getGui(),!0),this.cbSelectAll.getInputElement().setAttribute("tabindex","-1"),this.refreshSelectAllLabel()},t.prototype.showOrHideSelectAll=function(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setDisplayed(this.cbSelectAllVisible),this.cbSelectAllVisible&&(this.checkRightRowModelType(),this.updateStateOfCheckbox()),this.refreshSelectAllLabel()},t.prototype.onModelChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},t.prototype.onSelectionChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},t.prototype.getNextCheckboxState=function(e){return(0!==e.selected||0!==e.notSelected)&&(e.selected>0&&e.notSelected>0?null:e.selected>0)},t.prototype.updateStateOfCheckbox=function(){if(!this.processingEventFromCheckbox){this.processingEventFromCheckbox=!0;var e=this.getSelectionCount(),t=this.getNextCheckboxState(e);this.cbSelectAll.setValue(t),this.refreshSelectAllLabel(),this.processingEventFromCheckbox=!1}},t.prototype.refreshSelectAllLabel=function(){if(this.cbSelectAllVisible){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=this.cbSelectAll.getValue()?e("ariaChecked","checked"):e("ariaUnchecked","unchecked"),r=e("ariaRowSelectAll","Press Space to toggle all rows selection");this.headerCellCtrl.setAriaDescriptionProperty("selectAll",r+" ("+t+")"),this.cbSelectAll.setInputAriaLabel(r+" ("+t+")")}else this.headerCellCtrl.setAriaDescriptionProperty("selectAll",null),this.cbSelectAll.setInputAriaLabel(null);this.headerCellCtrl.refreshAriaDescription()},t.prototype.getSelectionCount=function(){var e=this,t=0,r=0,o=function(o){e.gridOptionsWrapper.isGroupSelectsChildren()&&o.group||(o.isSelected()?t++:o.selectable&&r++)};return this.filteredOnly?this.gridApi.forEachNodeAfterFilter(o):this.gridApi.forEachNode(o),{notSelected:r,selected:t}},t.prototype.checkRightRowModelType=function(){var e=this.rowModel.getType();e===v.a.ROW_MODEL_TYPE_CLIENT_SIDE||console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using "+e)},t.prototype.onCbSelectAll=function(){this.processingEventFromCheckbox||this.cbSelectAllVisible&&(this.cbSelectAll.getValue()?this.selectionService.selectAllRowNodes(this.filteredOnly):this.selectionService.deselectAllRowNodes(this.filteredOnly))},t.prototype.isCheckboxSelection=function(){var e=this.column.getColDef().headerCheckboxSelection;"function"==typeof e&&(e=e({column:this.column,colDef:this.column.getColDef(),columnApi:this.columnApi,api:this.gridApi,context:this.gridOptionsWrapper.getContext()}));return!!e&&(this.gridOptionsWrapper.isRowModelServerSide()?(console.warn("AG Grid: headerCheckboxSelection is not supported for Server Side Row Model"),!1):this.gridOptionsWrapper.isRowModelInfinite()?(console.warn("AG Grid: headerCheckboxSelection is not supported for Infinite Row Model"),!1):!this.gridOptionsWrapper.isRowModelViewport()||(console.warn("AG Grid: headerCheckboxSelection is not supported for Viewport Row Model"),!1))},R([Object(i.a)("gridApi")],t.prototype,"gridApi",void 0),R([Object(i.a)("columnApi")],t.prototype,"columnApi",void 0),R([Object(i.a)("rowModel")],t.prototype,"rowModel",void 0),R([Object(i.a)("selectionService")],t.prototype,"selectionService",void 0),t}(y.a),A=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),P=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},_=function(e){function t(t,r){var o=e.call(this,t,r)||this;return o.refreshFunctions=[],o.userHeaderClasses=new Set,o.ariaDescriptionProperties=new Map,o.column=t,o}return A(t,e),t.prototype.setComp=function(t,r,o,n){var i=this;e.prototype.setGui.call(this,r),this.comp=t,this.updateState(),this.setupWidth(),this.setupMovingCss(),this.setupMenuClass(),this.setupSortableClass(),this.setupWrapTextClass(),this.setupAutoHeight(n),this.addColumnHoverListener(),this.setupFilterCss(),this.setupColId(),this.setupClassesFromColDef(),this.setupTooltip(),this.addActiveHeaderMouseListeners(),this.setupSelectAll(),this.setupUserComp(),this.refreshAria(),this.createManagedBean(new O(this.getPinned(),this.column,o,t,this)),this.createManagedBean(new f.a([this.column],r)),this.createManagedBean(new c.a(this.column,r,this.beans)),this.createManagedBean(new p.a(r,{shouldStopEventPropagation:function(e){return i.shouldStopEventPropagation(e)},onTabKeyDown:function(){return null},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.column,s.a.EVENT_COL_DEF_CHANGED,this.onColDefChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,l.a.EVENT_COLUMN_PIVOT_CHANGED,this.onColumnPivotChanged.bind(this))},t.prototype.setupUserComp=function(){var e=this.lookupUserCompDetails();this.setCompDetails(e)},t.prototype.setCompDetails=function(e){this.userCompDetails=e,this.comp.setUserCompDetails(e)},t.prototype.lookupUserCompDetails=function(){var e=this.createParams(),t=this.column.getColDef();return this.userComponentFactory.getHeaderCompDetails(t,e)},t.prototype.createParams=function(){var e=this,t=this.column.getColDef();return{column:this.column,displayName:this.displayName,enableSorting:t.sortable,enableMenu:this.menuEnabled,showColumnMenu:function(t){e.gridApi.showColumnMenuAfterButtonClick(e.column,t)},progressSort:function(t){e.sortController.progressSort(e.column,!!t,"uiColumnSorted")},setSort:function(t,r){e.sortController.setSortForColumn(e.column,t,!!r,"uiColumnSorted")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext(),eGridHeader:this.getGui()}},t.prototype.setupSelectAll=function(){this.selectAllFeature=this.createManagedBean(new T(this.column)),this.selectAllFeature.setComp(this)},t.prototype.getSelectAllGui=function(){return this.selectAllFeature.getCheckboxGui()},t.prototype.handleKeyDown=function(t){e.prototype.handleKeyDown.call(this,t),t.key===n.a.SPACE&&this.selectAllFeature.onSpaceKeyPressed(t),t.key===n.a.ENTER&&this.onEnterKeyPressed(t)},t.prototype.onEnterKeyPressed=function(e){var t=this.comp.getUserCompInstance();if(t)if(e.ctrlKey||e.metaKey)this.menuEnabled&&t.showMenu&&(e.preventDefault(),t.showMenu());else if(this.sortable){var r=e.shiftKey;this.sortController.progressSort(this.column,r,"uiColumnSorted")}},t.prototype.isMenuEnabled=function(){return this.menuEnabled},t.prototype.onFocusIn=function(e){if(!this.getGui().contains(e.relatedTarget)){var t=this.getRowIndex();this.focusService.setFocusedHeader(t,this.column)}this.setActiveHeader(!0)},t.prototype.onFocusOut=function(e){this.getGui().contains(e.relatedTarget)||this.setActiveHeader(!1)},t.prototype.setupTooltip=function(){var e=this,t={getColumn:function(){return e.column},getColDef:function(){return e.column.getColDef()},getGui:function(){return e.eGui},getLocation:function(){return"header"},getTooltipValue:function(){return e.column.getColDef().headerTooltip}},r=this.createManagedBean(new d.a(t,this.beans));r.setComp(this.comp),this.refreshFunctions.push((function(){return r.refreshToolTip()}))},t.prototype.setupClassesFromColDef=function(){var e=this,t=function(){var t=e.column.getColDef(),r=e.gridOptionsWrapper,o=h.a.getHeaderClassesFromColDef(t,r,e.column,null),n=e.userHeaderClasses;e.userHeaderClasses=new Set(o),o.forEach((function(t){n.has(t)?n.delete(t):e.comp.addOrRemoveCssClass(t,!0)})),n.forEach((function(t){return e.comp.addOrRemoveCssClass(t,!1)}))};this.refreshFunctions.push(t),t()},t.prototype.setDragSource=function(e){var t=this;if(this.dragSourceElement=e,this.removeDragSource(),e&&this.draggable){var r=!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns();this.moveDragSource={type:a.b.HeaderCell,eElement:e,defaultIconName:r?a.a.ICON_HIDE:a.a.ICON_NOT_ALLOWED,getDragItem:function(){return t.createDragItem()},dragItemName:this.displayName,onDragStarted:function(){return t.column.setMoving(!0,"uiColumnMoved")},onDragStopped:function(){return t.column.setMoving(!1,"uiColumnMoved")},onGridEnter:function(e){var o,n;if(r){var i=(null===(n=null===(o=e)||void 0===o?void 0:o.columns)||void 0===n?void 0:n.filter((function(e){return!e.getColDef().lockVisible})))||[];t.columnModel.setColumnsVisible(i,!0,"uiColumnMoved")}},onGridExit:function(e){var o,n;if(r){var i=(null===(n=null===(o=e)||void 0===o?void 0:o.columns)||void 0===n?void 0:n.filter((function(e){return!e.getColDef().lockVisible})))||[];t.columnModel.setColumnsVisible(i,!1,"uiColumnMoved")}}},this.dragAndDropService.addDragSource(this.moveDragSource,!0)}},t.prototype.createDragItem=function(){var e={};return e[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:e}},t.prototype.removeDragSource=function(){this.moveDragSource&&(this.dragAndDropService.removeDragSource(this.moveDragSource),this.moveDragSource=void 0)},t.prototype.onColDefChanged=function(){this.refresh()},t.prototype.updateState=function(){var e=this.column.getColDef();this.menuEnabled=this.menuFactory.isMenuEnabled(this.column)&&!e.suppressMenu,this.sortable=e.sortable,this.displayName=this.calculateDisplayName(),this.draggable=this.workOutDraggable()},t.prototype.addRefreshFunction=function(e){this.refreshFunctions.push(e)},t.prototype.refresh=function(){this.updateState(),this.refreshHeaderComp(),this.refreshAria(),this.refreshFunctions.forEach((function(e){return e()}))},t.prototype.refreshHeaderComp=function(){var e=this.lookupUserCompDetails();!!(null!=this.comp.getUserCompInstance()&&this.userCompDetails.componentClass==e.componentClass)&&this.attemptHeaderCompRefresh(e.params)?this.setDragSource(this.dragSourceElement):this.setCompDetails(e)},t.prototype.attemptHeaderCompRefresh=function(e){var t=this.comp.getUserCompInstance();return!!t&&(!!t.refresh&&t.refresh(e))},t.prototype.calculateDisplayName=function(){return this.columnModel.getDisplayNameForColumn(this.column,"header",!0)},t.prototype.checkDisplayName=function(){this.displayName!==this.calculateDisplayName()&&this.refresh()},t.prototype.workOutDraggable=function(){var e=this.column.getColDef();return!!(!this.gridOptionsWrapper.isSuppressMovableColumns()&&!e.suppressMovable&&!e.lockPosition)||!!e.enableRowGroup||!!e.enablePivot},t.prototype.onColumnRowGroupChanged=function(){this.checkDisplayName()},t.prototype.onColumnPivotChanged=function(){this.checkDisplayName()},t.prototype.onColumnValueChanged=function(){this.checkDisplayName()},t.prototype.setupWidth=function(){var e=this,t=function(){e.comp.setWidth(e.column.getActualWidth()+"px")};this.addManagedListener(this.column,s.a.EVENT_WIDTH_CHANGED,t),t()},t.prototype.setupMovingCss=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-header-cell-moving",e.column.isMoving())};this.addManagedListener(this.column,s.a.EVENT_MOVING_CHANGED,t),t()},t.prototype.setupMenuClass=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-column-menu-visible",e.column.isMenuVisible())};this.addManagedListener(this.column,s.a.EVENT_MENU_VISIBLE_CHANGED,t),t()},t.prototype.setupSortableClass=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-header-cell-sortable",!!e.sortable)};t(),this.addRefreshFunction(t),this.addManagedListener(this.column,s.a.EVENT_SORT_CHANGED,this.refreshAriaSort.bind(this))},t.prototype.setupWrapTextClass=function(){var e=this,t=function(){var t=!!e.column.getColDef().wrapHeaderText;e.comp.addOrRemoveCssClass("ag-header-cell-wrap-text",t)};t(),this.addRefreshFunction(t)},t.prototype.setupAutoHeight=function(e){var t,r=this,o=function(t){if(r.isAlive()){var n=Object(m.getElementSize)(r.getGui()),i=n.paddingTop,a=n.paddingBottom,s=e.offsetHeight+i+a;if(t<5){var l=r.beans.gridOptionsWrapper.getDocument();if(!l||!l.contains(e)||0==s)return void r.beans.frameworkOverrides.setTimeout((function(){return o(t+1)}),0)}r.columnModel.setColumnHeaderHeight(r.column,s)}},n=!1,i=function(){var e=r.column.isAutoHeaderHeight();e&&!n&&a(),!e&&n&&l()},a=function(){n=!0,o(0),r.comp.addOrRemoveCssClass("ag-header-cell-auto-height",!0),t=r.resizeObserverService.observeResize(e,(function(){return o(0)}))},l=function(){n=!1,t&&t(),r.comp.addOrRemoveCssClass("ag-header-cell-auto-height",!1),t=void 0};i(),this.addDestroyFunc((function(){return l()})),this.addManagedListener(this.column,s.a.EVENT_WIDTH_CHANGED,(function(){return n&&o(0)})),this.addManagedListener(this.column,s.a.EVENT_SORT_CHANGED,(function(){n&&r.beans.frameworkOverrides.setTimeout((function(){return o(0)}))})),this.addRefreshFunction(i)},t.prototype.refreshAriaSort=function(){if(this.sortable){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.comp.setAriaSort(Object(u.getAriaSortState)(this.column)),this.setAriaDescriptionProperty("sort",e("ariaSortableColumn","Press ENTER to sort."))}else this.comp.setAriaSort(),this.setAriaDescriptionProperty("sort",null)},t.prototype.refreshAriaMenu=function(){if(this.menuEnabled){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.setAriaDescriptionProperty("menu",e("ariaMenuColumn","Press CTRL ENTER to open column menu."))}else this.setAriaDescriptionProperty("menu",null)},t.prototype.setAriaDescriptionProperty=function(e,t){null!=t?this.ariaDescriptionProperties.set(e,t):this.ariaDescriptionProperties.delete(e)},t.prototype.refreshAriaDescription=function(){var e=Array.from(this.ariaDescriptionProperties.values());this.comp.setAriaDescription(e.length?e.join(" "):void 0)},t.prototype.refreshAria=function(){this.refreshAriaSort(),this.refreshAriaMenu(),this.refreshAriaDescription()},t.prototype.addColumnHoverListener=function(){var e=this,t=function(){if(e.gridOptionsWrapper.isColumnHoverHighlight()){var t=e.columnHoverService.isHovered(e.column);e.comp.addOrRemoveCssClass("ag-column-hover",t)}};this.addManagedListener(this.eventService,l.a.EVENT_COLUMN_HOVER_CHANGED,t),t()},t.prototype.setupFilterCss=function(){var e=this,t=function(){e.comp.addOrRemoveCssClass("ag-header-cell-filtered",e.column.isFilterActive())};this.addManagedListener(this.column,s.a.EVENT_FILTER_ACTIVE_CHANGED,t),t()},t.prototype.setupColId=function(){this.comp.setColId(this.column.getColId())},t.prototype.addActiveHeaderMouseListeners=function(){var e=this,t=function(t){return e.setActiveHeader("mouseenter"===t.type)};this.addManagedListener(this.getGui(),"mouseenter",t),this.addManagedListener(this.getGui(),"mouseleave",t)},t.prototype.setActiveHeader=function(e){this.comp.addOrRemoveCssClass("ag-header-active",e)},P([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),P([Object(i.a)("columnHoverService")],t.prototype,"columnHoverService",void 0),P([Object(i.a)("sortController")],t.prototype,"sortController",void 0),P([Object(i.a)("menuFactory")],t.prototype,"menuFactory",void 0),P([Object(i.a)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),P([Object(i.a)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),P([Object(i.a)("gridApi")],t.prototype,"gridApi",void 0),P([Object(i.a)("columnApi")],t.prototype,"columnApi",void 0),P([i.g],t.prototype,"removeDragSource",null),t}(g.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return T}));var o,n=r(8),i=r(1),a=r(20),s=r(19),l=r(31),c=r(66),u=r(10),p=r(39),d=r(91),g=r(56),h=r(79),f=r(95),v=r(3),y=r(6),m=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),b=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},w=function(e){function t(t,r,o,n){var i=e.call(this)||this;return i.eResize=r,i.comp=t,i.pinned=o,i.columnGroup=n,i}return m(t,e),t.prototype.postConstruct=function(){var e=this;if(this.columnGroup.isResizable()){var t=this.horizontalResizeService.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});if(this.addDestroyFunc(t),!this.gridOptionsWrapper.isSuppressAutoSize()){var r=this.gridOptionsWrapper.isSkipHeaderOnAutoSize();this.eResize.addEventListener("dblclick",(function(){var t=[];e.columnGroup.getDisplayedLeafColumns().forEach((function(e){e.getColDef().suppressAutoSize||t.push(e.getColId())})),t.length>0&&e.columnModel.autoSizeColumns({columns:t,skipHeader:r,stopAtGroup:e.columnGroup,source:"uiColumnResized"}),e.resizeLeafColumnsToFit()}))}}else this.comp.addOrRemoveResizableCssClass("ag-hidden",!0)},t.prototype.onResizeStart=function(e){var t=this;this.calculateInitialValues();var r=null;if(e&&(r=this.columnModel.getDisplayedGroupAfter(this.columnGroup)),r){var o=r.getDisplayedLeafColumns();this.resizeTakeFromCols=o.filter((function(e){return e.isResizable()})),this.resizeTakeFromStartWidth=0,this.resizeTakeFromCols.forEach((function(e){return t.resizeTakeFromStartWidth+=e.getActualWidth()})),this.resizeTakeFromRatios=[],this.resizeTakeFromCols.forEach((function(e){return t.resizeTakeFromRatios.push(e.getActualWidth()/t.resizeTakeFromStartWidth)}))}else this.resizeTakeFromCols=null,this.resizeTakeFromStartWidth=null,this.resizeTakeFromRatios=null;this.comp.addOrRemoveCssClass("ag-column-resizing",!0)},t.prototype.onResizing=function(e,t){var r=this.normaliseDragChange(t),o=this.resizeStartWidth+r;this.resizeColumns(o,e)},t.prototype.resizeLeafColumnsToFit=function(){var e=this.autoWidthCalculator.getPreferredWidthForColumnGroup(this.columnGroup);this.calculateInitialValues(),e>this.resizeStartWidth&&this.resizeColumns(e,!0)},t.prototype.resizeColumns=function(e,t){void 0===t&&(t=!0);var r=[];if(r.push({columns:this.resizeCols,ratios:this.resizeRatios,width:e}),this.resizeTakeFromCols){var o=e-this.resizeStartWidth;r.push({columns:this.resizeTakeFromCols,ratios:this.resizeTakeFromRatios,width:this.resizeTakeFromStartWidth-o})}this.columnModel.resizeColumnSets({resizeSets:r,finished:t,source:"uiColumnDragged"}),t&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)},t.prototype.calculateInitialValues=function(){var e=this,t=this.columnGroup.getDisplayedLeafColumns();this.resizeCols=t.filter((function(e){return e.isResizable()})),this.resizeStartWidth=0,this.resizeCols.forEach((function(t){return e.resizeStartWidth+=t.getActualWidth()})),this.resizeRatios=[],this.resizeCols.forEach((function(t){return e.resizeRatios.push(t.getActualWidth()/e.resizeStartWidth)}))},t.prototype.normaliseDragChange=function(e){var t=e;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==v.a.PINNED_LEFT&&(t*=-1):this.pinned===v.a.PINNED_RIGHT&&(t*=-1),t},b([Object(i.a)("horizontalResizeService")],t.prototype,"horizontalResizeService",void 0),b([Object(i.a)("autoWidthCalculator")],t.prototype,"autoWidthCalculator",void 0),b([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),b([i.e],t.prototype,"postConstruct",null),t}(y.a),C=r(33),O=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),S=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},E=function(e){function t(t,r){var o=e.call(this)||this;return o.removeChildListenersFuncs=[],o.columnGroup=r,o.comp=t,o}return O(t,e),t.prototype.postConstruct=function(){this.addListenersToChildrenColumns(),this.addManagedListener(this.columnGroup,C.a.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this))},t.prototype.addListenersToChildrenColumns=function(){var e=this;this.removeListenersOnChildrenColumns();var t=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach((function(r){r.addEventListener(s.a.EVENT_WIDTH_CHANGED,t),r.addEventListener(s.a.EVENT_VISIBLE_CHANGED,t),e.removeChildListenersFuncs.push((function(){r.removeEventListener(s.a.EVENT_WIDTH_CHANGED,t),r.removeEventListener(s.a.EVENT_VISIBLE_CHANGED,t)}))}))},t.prototype.removeListenersOnChildrenColumns=function(){this.removeChildListenersFuncs.forEach((function(e){return e()})),this.removeChildListenersFuncs=[]},t.prototype.onDisplayedChildrenChanged=function(){this.addListenersToChildrenColumns(),this.onWidthChanged()},t.prototype.onWidthChanged=function(){this.comp.setWidth(this.columnGroup.getActualWidth()+"px")},S([i.e],t.prototype,"postConstruct",null),t}(y.a),x=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),R=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},T=function(e){function t(t,r){var o=e.call(this,t,r)||this;return o.columnGroup=t,o}return x(t,e),t.prototype.setComp=function(t,r,o){e.prototype.setGui.call(this,r),this.comp=t,this.displayName=this.columnModel.getDisplayNameForColumnGroup(this.columnGroup,"header"),this.addClasses(),this.addAttributes(),this.setupMovingCss(),this.setupExpandable(),this.setupTooltip(),this.setupUserComp();var n=this.getParentRowCtrl().getPinned(),i=this.columnGroup.getProvidedColumnGroup().getLeafColumns();this.createManagedBean(new f.a(i,r)),this.createManagedBean(new c.a(this.columnGroup,r,this.beans)),this.createManagedBean(new E(t,this.columnGroup)),this.groupResizeFeature=this.createManagedBean(new w(t,o,n,this.columnGroup)),this.createManagedBean(new p.a(r,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:function(){},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))},t.prototype.resizeLeafColumnsToFit=function(){this.groupResizeFeature.onResizeStart(!1),this.groupResizeFeature.resizeLeafColumnsToFit()},t.prototype.setupUserComp=function(){var e=this,t=this.displayName,r={displayName:this.displayName,columnGroup:this.columnGroup,setExpanded:function(t){e.columnModel.setColumnGroupOpened(e.columnGroup.getProvidedColumnGroup(),t,"gridInitializing")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()};if(!t){for(var o=this.columnGroup,n=o.getLeafColumns();o.getParent()&&o.getParent().getLeafColumns().length===n.length;)o=o.getParent();var i=o.getColGroupDef();i&&(t=i.headerName),t||(t=n?this.columnModel.getDisplayNameForColumn(n[0],"header",!0):"")}var a=this.userComponentFactory.getHeaderGroupCompDetails(r);this.comp.setUserCompDetails(a)},t.prototype.setupTooltip=function(){var e=this,t=this.columnGroup.getColGroupDef(),r={getColumn:function(){return e.columnGroup},getGui:function(){return e.eGui},getLocation:function(){return"headerGroup"},getTooltipValue:function(){return t&&t.headerTooltip}};t&&(r.getColDef=function(){return t}),this.createManagedBean(new d.a(r,this.beans)).setComp(this.comp)},t.prototype.setupExpandable=function(){var e=this.columnGroup.getProvidedColumnGroup();this.refreshExpanded(),this.addManagedListener(e,l.a.EVENT_EXPANDABLE_CHANGED,this.refreshExpanded.bind(this)),this.addManagedListener(e,l.a.EVENT_EXPANDED_CHANGED,this.refreshExpanded.bind(this))},t.prototype.refreshExpanded=function(){var e=this.columnGroup;this.expandable=e.isExpandable();var t=e.isExpanded();this.expandable?this.comp.setAriaExpanded(t?"true":"false"):this.comp.setAriaExpanded(void 0)},t.prototype.addAttributes=function(){this.comp.setColId(this.columnGroup.getUniqueId())},t.prototype.addClasses=function(){var e=this,t=this.columnGroup.getColGroupDef(),r=h.a.getHeaderClassesFromColDef(t,this.gridOptionsWrapper,null,this.columnGroup);r.push(this.columnGroup.isPadding()?"ag-header-group-cell-no-group":"ag-header-group-cell-with-group"),r.forEach((function(t){return e.comp.addOrRemoveCssClass(t,!0)}))},t.prototype.setupMovingCss=function(){var e=this,t=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),r=function(){return e.comp.addOrRemoveCssClass("ag-header-cell-moving",e.columnGroup.isMoving())};t.forEach((function(t){e.addManagedListener(t,s.a.EVENT_MOVING_CHANGED,r)})),r()},t.prototype.onFocusIn=function(e){if(!this.eGui.contains(e.relatedTarget)){var t=this.getRowIndex();this.beans.focusService.setFocusedHeader(t,this.columnGroup)}},t.prototype.handleKeyDown=function(t){e.prototype.handleKeyDown.call(this,t);var r=this.getWrapperHasFocus();if(this.expandable&&r&&t.key===n.a.ENTER){var o=this.columnGroup,i=!o.isExpanded();this.columnModel.setColumnGroupOpened(o.getProvidedColumnGroup(),i,"uiColumnExpanded")}},t.prototype.setDragSource=function(e){var t=this;if(!this.isSuppressMoving()){var r=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),o=!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns(),n={type:a.b.HeaderCell,eElement:e,defaultIconName:o?a.a.ICON_HIDE:a.a.ICON_NOT_ALLOWED,dragItemName:this.displayName,getDragItem:this.getDragItemForGroup.bind(this),onDragStarted:function(){return r.forEach((function(e){return e.setMoving(!0,"uiColumnDragged")}))},onDragStopped:function(){return r.forEach((function(e){return e.setMoving(!1,"uiColumnDragged")}))},onGridEnter:function(e){var r,n;if(o){var i=(null===(n=null===(r=e)||void 0===r?void 0:r.columns)||void 0===n?void 0:n.filter((function(e){return!e.getColDef().lockVisible})))||[];t.columnModel.setColumnsVisible(i,!0,"uiColumnMoved")}},onGridExit:function(e){var r,n;if(o){var i=(null===(n=null===(r=e)||void 0===r?void 0:r.columns)||void 0===n?void 0:n.filter((function(e){return!e.getColDef().lockVisible})))||[];t.columnModel.setColumnsVisible(i,!1,"uiColumnMoved")}}};this.dragAndDropService.addDragSource(n,!0),this.addDestroyFunc((function(){return t.dragAndDropService.removeDragSource(n)}))}},t.prototype.getDragItemForGroup=function(){var e=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),t={};e.forEach((function(e){return t[e.getId()]=e.isVisible()}));var r=[];return this.columnModel.getAllDisplayedColumns().forEach((function(t){e.indexOf(t)>=0&&(r.push(t),Object(u.removeFromArray)(e,t))})),e.forEach((function(e){return r.push(e)})),{columns:r,visibleState:t}},t.prototype.isSuppressMoving=function(){var e=!1;return this.columnGroup.getLeafColumns().forEach((function(t){(t.getColDef().suppressMovable||t.getColDef().lockPosition)&&(e=!0)})),e||this.gridOptionsWrapper.isSuppressMovableColumns()},R([Object(i.a)("columnModel")],t.prototype,"columnModel",void 0),R([Object(i.a)("dragAndDropService")],t.prototype,"dragAndDropService",void 0),R([Object(i.a)("gridApi")],t.prototype,"gridApi",void 0),R([Object(i.a)("columnApi")],t.prototype,"columnApi",void 0),t}(g.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var o,n=r(116),i=r(31),a=r(19),s=r(1),l={numericColumn:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"},rightAligned:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"}},c=r(6),u=r(3),p=r(14),d=r(2),g=r(10),h=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),f=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){return function(r,o){t(r,o,e)}},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.setBeans=function(e){this.logger=e.create("ColumnFactory")},t.prototype.createColumnTree=function(e,t,r){var o=new n.a,a=this.extractExistingTreeData(r),s=a.existingCols,l=a.existingGroups,c=a.existingColKeys;o.addExistingKeys(c);var u=this.recursivelyCreateColumns(e,0,t,s,o,l),p=this.findMaxDept(u,0);this.logger.log("Number of levels for grouped columns is "+p);var d=this.balanceColumnTree(u,0,p,o);return this.columnUtils.depthFirstOriginalTreeSearch(null,d,(function(e,t){e instanceof i.a&&e.setupExpandable(),e.setOriginalParent(t)})),{columnTree:d,treeDept:p}},t.prototype.extractExistingTreeData=function(e){var t=[],r=[],o=[];return e&&this.columnUtils.depthFirstOriginalTreeSearch(null,e,(function(e){if(e instanceof i.a){var n=e;r.push(n)}else{var a=e;o.push(a.getId()),t.push(a)}})),{existingCols:t,existingGroups:r,existingColKeys:o}},t.prototype.createForAutoGroups=function(e,t){var r=this;return e.map((function(e){return r.createAutoGroupTreeItem(t,e)}))},t.prototype.createAutoGroupTreeItem=function(e,t){for(var r=t,o=this.findDepth(e)-1;o>=0;o--){var n=new i.a(null,"FAKE_PATH_"+t.getId()+"}_"+o,!0,o);this.context.createBean(n),n.setChildren([r]),r.setOriginalParent(n),r=n}return r},t.prototype.findDepth=function(e){for(var t=0,r=e;r&&r[0]&&r[0]instanceof i.a;)t++,r=r[0].getChildren();return t},t.prototype.balanceColumnTree=function(e,t,r,o){for(var n=[],a=0;a<e.length;a++){var s=e[a];if(s instanceof i.a){var l=s,c=this.balanceColumnTree(l.getChildren(),t+1,r,o);l.setChildren(c),n.push(l)}else{for(var u=void 0,p=void 0,d=r-1;d>=t;d--){var g=o.getUniqueKey(null,null),h=this.createMergedColGroupDef(null),f=new i.a(h,g,!0,t);this.context.createBean(f),p&&p.setChildren([f]),p=f,u||(u=p)}if(u&&p){if(n.push(u),e.some((function(e){return e instanceof i.a}))){p.setChildren([s]);continue}p.setChildren(e);break}n.push(s)}}return n},t.prototype.findMaxDept=function(e,t){for(var r=t,o=0;o<e.length;o++){var n=e[o];if(n instanceof i.a){var a=n,s=this.findMaxDept(a.getChildren(),t+1);r<s&&(r=s)}}return r},t.prototype.recursivelyCreateColumns=function(e,t,r,o,n,i){var a=this;return(e||[]).map((function(e){return a.isColumnGroup(e)?a.createColumnGroup(r,e,t,o,n,i):a.createColumn(r,e,o,n)}))},t.prototype.createColumnGroup=function(e,t,r,o,n,a){var s,l=this.createMergedColGroupDef(t),c=n.getUniqueKey(l.groupId||null,null),u=this.findExistingGroup(t,a);u?((s=u).reset(l,r),Object(g.removeFromArray)(a,u)):(s=new i.a(l,c,!1,r),this.context.createBean(s));var p=this.recursivelyCreateColumns(l.children,r+1,e,o,n,a);return s.setChildren(p),s},t.prototype.createMergedColGroupDef=function(e){var t={};return Object.assign(t,this.gridOptionsWrapper.getDefaultColGroupDef()),Object.assign(t,e),this.checkForDeprecatedItems(t),t},t.prototype.createColumn=function(e,t,r,o){var n=this.mergeColDefs(t);this.checkForDeprecatedItems(n);var i=this.findExistingColumn(t,r);if(r&&i&&Object(g.removeFromArray)(r,i),i)i.setColDef(n,t),this.applyColumnState(i,n);else{var s=o.getUniqueKey(n.colId,n.field);i=new a.a(n,t,s,e),this.context.createBean(i)}return i},t.prototype.applyColumnState=function(e,t){var r=Object(d.attrToNumber)(t.flex);if(void 0!==r&&e.setFlex(r),e.getFlex()<=0){var o=Object(d.attrToNumber)(t.width);if(null!=o)e.setActualWidth(o);else{var n=e.getActualWidth();e.setActualWidth(n)}}void 0!==t.sort&&(t.sort==u.a.SORT_ASC||t.sort==u.a.SORT_DESC?e.setSort(t.sort):e.setSort(void 0));var i=Object(d.attrToNumber)(t.sortIndex);void 0!==i&&e.setSortIndex(i);var a=Object(d.attrToBoolean)(t.hide);void 0!==a&&e.setVisible(!a),void 0!==t.pinned&&e.setPinned(t.pinned)},t.prototype.findExistingColumn=function(e,t){return(t||[]).find((function(t){var r=t.getUserProvidedColDef();if(!r)return!1;var o=null!=e.colId,n=null!=e.field;return o?t.getId()===e.colId:n?r.field===e.field:r===e}))},t.prototype.findExistingGroup=function(e,t){return t.find((function(t){return!!t.getColGroupDef()&&(!(null==e.groupId)&&t.getId()===e.groupId)}))},t.prototype.mergeColDefs=function(e){var t={},r=this.gridOptionsWrapper.getDefaultColDef();Object(p.mergeDeep)(t,r,!1,!0);var o=e.type;o||(o=r&&r.type),o&&this.assignColumnTypes(o,t),Object(p.mergeDeep)(t,e,!1,!0);var n=this.gridOptionsWrapper.getAutoGroupColumnDef(),i=this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();return e.rowGroup&&n&&i&&Object(p.mergeDeep)(t,{sort:n.sort,initialSort:n.initialSort},!1,!0),t},t.prototype.assignColumnTypes=function(e,t){var r=[];if(e instanceof Array){e.some((function(e){return"string"!=typeof e}))?console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'"):r=e}else{if("string"!=typeof e)return void console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");r=e.split(",")}var o=Object.assign({},l),n=this.gridOptionsWrapper.getColumnTypes()||{};Object(p.iterateObject)(n,(function(e,t){e in o?console.warn("AG Grid: the column type '"+e+"' is a default column type and cannot be overridden."):o[e]=t})),r.forEach((function(e){var r=o[e.trim()];r?Object(p.mergeDeep)(t,r,!1,!0):console.warn("AG Grid: colDef.type '"+e+"' does not correspond to defined gridOptions.columnTypes")}))},t.prototype.checkForDeprecatedItems=function(e){if(e){var t=e;void 0!==t.group&&console.warn("AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3"),void 0!==t.headerGroup&&console.warn("AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3"),void 0!==t.headerGroupShow&&console.warn("AG Grid: colDef.headerGroupShow is invalid, should be columnGroupShow, please check documentation on how to do grouping as it changed in version 3"),void 0!==t.suppressRowGroup&&console.warn("AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead"),void 0!==t.suppressAggregation&&console.warn("AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead"),(t.suppressRowGroup||t.suppressAggregation)&&console.warn("AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead"),t.displayName&&(console.warn("AG Grid: Found displayName "+t.displayName+", please use headerName instead, displayName is deprecated."),t.headerName=t.displayName)}},t.prototype.isColumnGroup=function(e){return void 0!==e.children},f([Object(s.a)("columnUtils")],t.prototype,"columnUtils",void 0),f([v(0,Object(s.h)("loggerFactory"))],t.prototype,"setBeans",null),t=f([Object(s.b)("columnFactory")],t)}(c.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var o,n=r(15),i=r(7),a=r(1),s=r(26),l=r(5),c=r(140),u=r(14),p=r(11),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e){function t(t,r,o){var n=e.call(this)||this;n.cellComps={},n.beans=r,n.rowCtrl=t,n.setTemplate('<div comp-id="'+n.getCompId()+'" style="'+n.getInitialStyle()+'"/>');var i=n.getGui(),a=i.style,s={setDomOrder:function(e){return n.domOrder=e},setCellCtrls:function(e){return n.setCellCtrls(e)},showFullWidth:function(e){return n.showFullWidth(e)},getFullWidthCellRenderer:function(){return n.getFullWidthCellRenderer()},addOrRemoveCssClass:function(e,t){return n.addOrRemoveCssClass(e,t)},setUserStyles:function(e){return Object(l.addStylesToElement)(i,e)},setTop:function(e){return a.top=e},setTransform:function(e){return a.transform=e},setRowIndex:function(e){return i.setAttribute("row-index",e)},setRole:function(e){return Object(p.setAriaRole)(i,e)},setRowId:function(e){return i.setAttribute("row-id",e)},setRowBusinessKey:function(e){return i.setAttribute("row-business-key",e)},setTabIndex:function(e){return i.setAttribute("tabindex",e.toString())}};return t.setComp(s,n.getGui(),o),n}return d(t,e),t.prototype.getInitialStyle=function(){var e=this.rowCtrl.getInitialTransform(),t=this.rowCtrl.getInitialRowTop();return e?"transform: "+e:"top: "+t},t.prototype.showFullWidth=function(e){var t=this,r=e.newAgStackInstance();r&&r.then((function(e){if(t.isAlive()){var r=e.getGui();t.getGui().appendChild(r),t.rowCtrl.setupDetailRowAutoHeight(r),t.setFullWidthRowComp(e)}else t.beans.context.destroyBean(e)}))},t.prototype.setCellCtrls=function(e){var t=this,r=Object.assign({},this.cellComps);e.forEach((function(e){var o=e.getInstanceId();null==t.cellComps[o]?t.newCellComp(e):r[o]=null}));var o=Object(u.getAllValuesInObject)(r).filter((function(e){return null!=e}));this.destroyCells(o),this.ensureDomOrder(e)},t.prototype.ensureDomOrder=function(e){var t=this;if(this.domOrder){var r=[];e.forEach((function(e){var o=t.cellComps[e.getInstanceId()];o&&r.push(o.getGui())})),Object(l.setDomChildOrder)(this.getGui(),r)}},t.prototype.newCellComp=function(e){var t=new c.a(this.beans,e,this.rowCtrl.isPrintLayout(),this.getGui(),this.rowCtrl.isEditing());this.cellComps[e.getInstanceId()]=t,this.getGui().appendChild(t.getGui())},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.destroyAllCells()},t.prototype.destroyAllCells=function(){var e=Object(u.getAllValuesInObject)(this.cellComps).filter((function(e){return null!=e}));this.destroyCells(e)},t.prototype.setFullWidthRowComp=function(e){var t=this;this.fullWidthCellRenderer&&console.error("AG Grid - should not be setting fullWidthRowComponent twice"),this.fullWidthCellRenderer=e,this.addDestroyFunc((function(){t.fullWidthCellRenderer=t.beans.context.destroyBean(t.fullWidthCellRenderer)}))},t.prototype.getFullWidthCellRenderer=function(){return this.fullWidthCellRenderer},t.prototype.destroyCells=function(e){var t=this;e.forEach((function(e){if(e){var r=e.getCtrl().getInstanceId();t.cellComps[r]===e&&(e.detach(),e.destroy(),t.cellComps[r]=null)}}))},t}(n.a),h=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),f=function(){return(f=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},v=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};var y=function(e){function t(){var t,r,o,i,a=e.call(this,(t=n.a.elementGettingCreated.getAttribute("name"),r=s.a.getRowContainerCssClasses(t),o=t===s.b.CENTER,i=t===s.b.TOP_CENTER||t===s.b.STICKY_TOP_CENTER||t===s.b.BOTTOM_CENTER,o?'<div class="'+r.wrapper+'" ref="eWrapper" role="presentation">\n <div class="'+r.viewport+'" ref="eViewport" role="presentation">\n <div class="'+r.container+'" ref="eContainer"></div>\n </div>\n </div>':i?'<div class="'+r.viewport+'" ref="eViewport" role="presentation">\n <div class="'+r.container+'" ref="eContainer"></div>\n </div>':'<div class="'+r.container+'" ref="eContainer"></div>'))||this;return a.rowComps={},a.name=n.a.elementGettingCreated.getAttribute("name"),a.type=Object(s.d)(a.name),a}return h(t,e),t.prototype.postConstruct=function(){var e=this,t={setViewportHeight:function(t){return e.eViewport.style.height=t},setRowCtrls:function(t){return e.setRowCtrls(t)},setDomOrder:function(t){e.domOrder=t},setContainerWidth:function(t){return e.eContainer.style.width=t}};this.createManagedBean(new s.a(this.name)).setComp(t,this.eContainer,this.eViewport,this.eWrapper)},t.prototype.preDestroy=function(){this.setRowCtrls([])},t.prototype.setRowCtrls=function(e){var t=this,r=f({},this.rowComps);this.rowComps={},this.lastPlacedElement=null;e.forEach((function(e){var o=e.getInstanceId(),n=r[o];if(n)t.rowComps[o]=n,delete r[o],t.ensureDomOrder(n.getGui());else{var i=t.newRowComp(e);t.rowComps[o]=i,t.appendRow(i.getGui())}})),Object(u.getAllValuesInObject)(r).forEach((function(e){t.eContainer.removeChild(e.getGui()),e.destroy()})),Object(p.setAriaRole)(this.eContainer,e.length?"rowgroup":"presentation")},t.prototype.appendRow=function(e){this.domOrder?Object(l.insertWithDomOrder)(this.eContainer,e,this.lastPlacedElement):this.eContainer.appendChild(e),this.lastPlacedElement=e},t.prototype.ensureDomOrder=function(e){this.domOrder&&(Object(l.ensureDomOrder)(this.eContainer,e,this.lastPlacedElement),this.lastPlacedElement=e)},t.prototype.newRowComp=function(e){s.a.getPinned(this.name);return new g(e,this.beans,this.type)},v([Object(a.a)("beans")],t.prototype,"beans",void 0),v([Object(i.b)("eViewport")],t.prototype,"eViewport",void 0),v([Object(i.b)("eContainer")],t.prototype,"eContainer",void 0),v([Object(i.b)("eWrapper")],t.prototype,"eWrapper",void 0),v([a.e],t.prototype,"postConstruct",null),v([a.g],t.prototype,"preDestroy",null),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return A}));var o,n=r(12),i=r(47),a=r(19),s=r(4),l=r(3),c=r(1),u=r(6),p=r(2),d=r(14),g=r(42),h=r(13),f=r(43),v=r(10),y=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),m=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},b=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},C=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(w(arguments[t]));return e},O=function(e){function t(t,r){var o=e.call(this)||this;return o.createRowCon=t,o.destroyRowCtrls=r,o.stickyRowCtrls=[],o.containerHeight=0,o}return y(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){e.gridBodyCtrl=t.gridBodyCtrl}))},t.prototype.getStickyRowCtrls=function(){return this.stickyRowCtrls},t.prototype.checkStickyRows=function(){var e=0;if(this.gridOptionsWrapper.isGroupRowsSticky()){for(var t=[],r=this.rowRenderer.getFirstVisibleVerticalPixel(),o=function(o){t.push(o);for(var n=o;n.expanded;)n=Object(v.last)(n.childrenAfterSort);var i=n.rowTop+n.rowHeight,a=r+e+o.rowHeight;o.stickyRowTop=i<a?e+(i-a):e,e=0,t.forEach((function(t){var r=t.stickyRowTop+t.rowHeight;e<r&&(e=r)}))};;){var n=r+e,i=this.rowModel.getRowIndexAtPixel(n),a=this.rowModel.getRow(i);if(null==a)break;if(a.level<0)break;for(var s=[],l=a.parent;l.level>=0;)s.push(l),l=l.parent;var c=s.reverse().find((function(e){return t.indexOf(e)<0&&e.displayed}));if(c)o(c);else{if(!(a.group&&a.expanded&&!a.footer&&a.rowTop<n))break;o(a)}}this.refreshNodesAndContainerHeight(t,e)}else this.refreshNodesAndContainerHeight([],e)},t.prototype.refreshNodesAndContainerHeight=function(e,t){var r,o,n,i=this,a=this.stickyRowCtrls.filter((function(t){return-1===e.indexOf(t.getRowNode())})),s=e.filter((function(e){return-1===i.stickyRowCtrls.findIndex((function(t){return t.getRowNode()===e}))})),l={};a.forEach((function(e){l[e.getRowNode().id]=e,i.stickyRowCtrls=i.stickyRowCtrls.filter((function(t){return t!==e}))}));try{for(var c=b(Object.values(l)),u=c.next();!u.done;u=c.next()){u.value.getRowNode().sticky=!1}}catch(e){r={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}this.destroyRowCtrls(l,!1);var p=s.map((function(e){return e.sticky=!0,i.createRowCon(e,!1,!1)}));(n=this.stickyRowCtrls).push.apply(n,C(p)),this.stickyRowCtrls.forEach((function(e){return e.setRowTop(e.getRowNode().stickyRowTop)})),this.stickyRowCtrls.sort((function(e,t){return t.getRowNode().rowIndex-e.getRowNode().rowIndex})),this.containerHeight!==t&&(this.containerHeight=t,this.gridBodyCtrl.setStickyTopHeight(t))},m([Object(c.a)("rowModel")],t.prototype,"rowModel",void 0),m([Object(c.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),m([Object(c.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),m([c.e],t.prototype,"postConstruct",null),t}(u.a),S=r(18),E=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),x=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},R=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},T=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(R(arguments[t]));return e},A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.destroyFuncsForColumnListeners=[],t.rowCtrlsByRowIndex={},t.zombieRowCtrls={},t.allRowCtrls=[],t.topRowCtrls=[],t.bottomRowCtrls=[],t.refreshInProgress=!1,t.dataFirstRenderedFired=!1,t}return E(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(){e.gridBodyCtrl=e.ctrlsService.getGridBodyCtrl(),e.initialise()}))},t.prototype.initialise=function(){this.addManagedListener(this.eventService,s.a.EVENT_PAGINATION_CHANGED,this.onPageLoaded.bind(this)),this.addManagedListener(this.eventService,s.a.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedListener(this.eventService,s.a.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,s.a.EVENT_BODY_SCROLL,this.redrawAfterScroll.bind(this)),this.addManagedListener(this.eventService,s.a.EVENT_BODY_HEIGHT_CHANGED,this.redrawAfterScroll.bind(this)),this.addManagedListener(this.gridOptionsWrapper,n.a.PROP_DOM_LAYOUT,this.onDomLayoutChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,n.a.PROP_ROW_CLASS,this.redrawRows.bind(this)),this.gridOptionsWrapper.isGroupRowsSticky()&&(this.rowModel.getType()!=l.a.ROW_MODEL_TYPE_CLIENT_SIDE?Object(h.doOnce)((function(){return console.warn("AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model")}),"rowRenderer.stickyWorksWithCsrmOnly"):this.gridOptionsWrapper.isTreeData()?Object(h.doOnce)((function(){return console.warn("AG Grid: The feature Sticky Row Groups does not work with Tree Data.")}),"rowRenderer.stickyDoesNotWorkWithTreeData"):this.stickyRowFeature=this.createManagedBean(new O(this.createRowCon.bind(this),this.destroyRowCtrls.bind(this)))),this.registerCellEventListeners(),this.initialiseCache(),this.printLayout=this.gridOptionsWrapper.getDomLayout()===l.a.DOM_LAYOUT_PRINT,this.embedFullWidthRows=this.printLayout||this.gridOptionsWrapper.isEmbedFullWidthRows(),this.redrawAfterModelUpdate()},t.prototype.initialiseCache=function(){if(this.gridOptionsWrapper.isKeepDetailRows()){var e=this.gridOptionsWrapper.getKeepDetailRowsCount(),t=null!=e?e:3;this.cachedRowCtrls=new P(t)}},t.prototype.getRowCtrls=function(){return this.allRowCtrls},t.prototype.getStickyTopRowCtrls=function(){return this.stickyRowFeature?this.stickyRowFeature.getStickyRowCtrls():[]},t.prototype.updateAllRowCtrls=function(){var e=Object(d.getAllValuesInObject)(this.rowCtrlsByRowIndex);this.gridOptionsWrapper.isEnsureDomOrder()&&e.sort((function(e,t){return e.getRowNode().rowIndex-t.getRowNode.rowIndex}));var t=Object(d.getAllValuesInObject)(this.zombieRowCtrls),r=this.cachedRowCtrls?this.cachedRowCtrls.getEntries():[];this.allRowCtrls=T(e,t,r)},t.prototype.registerCellEventListeners=function(){var e=this;this.addManagedListener(this.eventService,s.a.EVENT_CELL_FOCUSED,(function(t){e.getAllCellCtrls().forEach((function(e){return e.onCellFocused(t)})),e.getFullWidthRowCtrls().forEach((function(e){e.onFullWidthRowFocused(t)}))})),this.addManagedListener(this.eventService,s.a.EVENT_FLASH_CELLS,(function(t){e.getAllCellCtrls().forEach((function(e){return e.onFlashCells(t)}))})),this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_HOVER_CHANGED,(function(){e.getAllCellCtrls().forEach((function(e){return e.onColumnHover()}))})),this.addManagedListener(this.eventService,s.a.EVENT_DISPLAYED_COLUMNS_CHANGED,(function(){e.getAllCellCtrls().forEach((function(e){return e.onDisplayedColumnsChanged()}))})),this.addManagedListener(this.eventService,s.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,(function(){e.printLayout&&e.getAllCellCtrls().forEach((function(e){return e.onLeftChanged()}))})),this.gridOptionsWrapper.isEnableRangeSelection()&&(this.addManagedListener(this.eventService,s.a.EVENT_RANGE_SELECTION_CHANGED,(function(){e.getAllCellCtrls().forEach((function(e){return e.onRangeSelectionChanged()}))})),this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_MOVED,(function(){e.getAllCellCtrls().forEach((function(e){return e.updateRangeBordersIfRangeCount()}))})),this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_PINNED,(function(){e.getAllCellCtrls().forEach((function(e){return e.updateRangeBordersIfRangeCount()}))})),this.addManagedListener(this.eventService,s.a.EVENT_COLUMN_VISIBLE,(function(){e.getAllCellCtrls().forEach((function(e){return e.updateRangeBordersIfRangeCount()}))}))),this.refreshListenersToColumnsForCellComps(),this.addManagedListener(this.eventService,s.a.EVENT_GRID_COLUMNS_CHANGED,this.refreshListenersToColumnsForCellComps.bind(this)),this.addDestroyFunc(this.removeGridColumnListeners.bind(this))},t.prototype.removeGridColumnListeners=function(){this.destroyFuncsForColumnListeners.forEach((function(e){return e()})),this.destroyFuncsForColumnListeners.length=0},t.prototype.refreshListenersToColumnsForCellComps=function(){var e=this;this.removeGridColumnListeners();var t=this.columnModel.getAllGridColumns();t&&t.forEach((function(t){var r=function(r){e.getAllCellCtrls().forEach((function(e){e.getColumn()===t&&r(e)}))},o=function(){r((function(e){return e.onLeftChanged()}))},n=function(){r((function(e){return e.onWidthChanged()}))},i=function(){r((function(e){return e.onFirstRightPinnedChanged()}))},s=function(){r((function(e){return e.onLastLeftPinnedChanged()}))},l=function(){r((function(e){return e.onColDefChanged()}))};t.addEventListener(a.a.EVENT_LEFT_CHANGED,o),t.addEventListener(a.a.EVENT_WIDTH_CHANGED,n),t.addEventListener(a.a.EVENT_FIRST_RIGHT_PINNED_CHANGED,i),t.addEventListener(a.a.EVENT_LAST_LEFT_PINNED_CHANGED,s),t.addEventListener(a.a.EVENT_COL_DEF_CHANGED,l),e.destroyFuncsForColumnListeners.push((function(){t.removeEventListener(a.a.EVENT_LEFT_CHANGED,o),t.removeEventListener(a.a.EVENT_WIDTH_CHANGED,n),t.removeEventListener(a.a.EVENT_FIRST_RIGHT_PINNED_CHANGED,i),t.removeEventListener(a.a.EVENT_LAST_LEFT_PINNED_CHANGED,s),t.removeEventListener(a.a.EVENT_COL_DEF_CHANGED,l)}))}))},t.prototype.onDomLayoutChanged=function(){var e=this.gridOptionsWrapper.getDomLayout()===l.a.DOM_LAYOUT_PRINT,t=e||this.gridOptionsWrapper.isEmbedFullWidthRows(),r=t!==this.embedFullWidthRows||this.printLayout!==e;this.printLayout=e,this.embedFullWidthRows=t,r&&this.redrawAfterModelUpdate()},t.prototype.datasourceChanged=function(){this.firstRenderedRow=0,this.lastRenderedRow=-1;var e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)},t.prototype.onPageLoaded=function(e){var t={recycleRows:e.keepRenderedRows,animate:e.animate,newData:e.newData,newPage:e.newPage,onlyBody:!0};this.redrawAfterModelUpdate(t)},t.prototype.getAllCellsForColumn=function(e){var t=[];return this.getAllRowCtrls().forEach((function(r){var o=r.getCellElement(e);o&&t.push(o)})),t},t.prototype.refreshFloatingRowComps=function(){this.refreshFloatingRows(this.topRowCtrls,this.pinnedRowModel.getPinnedTopRowData()),this.refreshFloatingRows(this.bottomRowCtrls,this.pinnedRowModel.getPinnedBottomRowData())},t.prototype.getTopRowCtrls=function(){return this.topRowCtrls},t.prototype.getBottomRowCtrls=function(){return this.bottomRowCtrls},t.prototype.refreshFloatingRows=function(e,t){var r=this;e.forEach((function(e){e.destroyFirstPass(),e.destroySecondPass()})),e.length=0,t&&t.forEach((function(t){var o=new i.a(t,r.beans,!1,!1,r.printLayout);e.push(o)}))},t.prototype.onPinnedRowDataChanged=function(){this.redrawAfterModelUpdate({recycleRows:!0})},t.prototype.getRenderedIndexesForRowNodes=function(e){var t=[];return Object(p.missing)(e)||Object(d.iterateObject)(this.rowCtrlsByRowIndex,(function(r,o){var n=o.getRowNode();e.indexOf(n)>=0&&t.push(r)})),t},t.prototype.redrawRows=function(e){var t=null!=e&&e.length>0;if(t){var r=this.getRenderedIndexesForRowNodes(e);this.removeRowCtrls(r)}this.redrawAfterModelUpdate({recycleRows:t})},t.prototype.getCellToRestoreFocusToAfterRefresh=function(e){var t,r=(null===(t=e)||void 0===t?void 0:t.suppressKeepFocus)?null:this.focusService.getFocusCellToUseAfterRefresh();if(null==r)return null;var o=this.gridOptionsWrapper.getDocument().activeElement,n=this.gridOptionsWrapper.getDomData(o,f.a.DOM_DATA_KEY_CELL_CTRL),a=this.gridOptionsWrapper.getDomData(o,i.a.DOM_DATA_KEY_ROW_CTRL);return n||a?r:null},t.prototype.redrawAfterModelUpdate=function(e){void 0===e&&(e={}),this.getLockOnRefresh();var t=this.getCellToRestoreFocusToAfterRefresh(e);this.updateContainerHeights(),this.scrollToTopIfNewData(e);var r=!this.printLayout&&!!e.recycleRows,o=e.animate&&this.gridOptionsWrapper.isAnimateRows(),n=r?this.recycleRows():null;r||this.removeAllRowComps();var i=function(){if(null==t||null==n)return!1;var e=!1;return Object(d.iterateObject)(n,(function(r,o){var n=o.getRowNode(),i=n.rowIndex==t.rowIndex,a=n.rowPinned==t.rowPinned;i&&a&&(e=!0)})),e}();this.redraw(n,o),this.gridBodyCtrl.updateRowCount(),e.onlyBody||this.refreshFloatingRowComps(),this.dispatchDisplayedRowsChanged(),i||this.restoreFocusedCell(t),this.releaseLockOnRefresh()},t.prototype.scrollToTopIfNewData=function(e){var t=e.newData||e.newPage,r=this.gridOptionsWrapper.isSuppressScrollOnNewData();t&&!r&&this.gridBodyCtrl.getScrollFeature().scrollToTop()},t.prototype.updateContainerHeights=function(){if(this.printLayout)this.rowContainerHeightService.setModelHeight(null);else{var e=this.paginationProxy.getCurrentPageHeight();0===e&&(e=1),this.rowContainerHeightService.setModelHeight(e)}},t.prototype.getLockOnRefresh=function(){if(this.refreshInProgress)throw new Error("AG Grid: cannot get grid to draw rows when it is in the middle of drawing rows. Your code probably called a grid API method while the grid was in the render stage. To overcome this, put the API call into a timeout, e.g. instead of api.redrawRows(), call setTimeout(function() { api.redrawRows(); }, 0). To see what part of your code that caused the refresh check this stacktrace.");this.refreshInProgress=!0},t.prototype.releaseLockOnRefresh=function(){this.refreshInProgress=!1},t.prototype.isRefreshInProgress=function(){return this.refreshInProgress},t.prototype.restoreFocusedCell=function(e){e&&this.focusService.setFocusedCell({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})},t.prototype.stopEditing=function(e){void 0===e&&(e=!1),this.getAllRowCtrls().forEach((function(t){t.stopEditing(e)}))},t.prototype.getAllCellCtrls=function(){var e=[];return this.getAllRowCtrls().forEach((function(t){return e=e.concat(t.getAllCellCtrls())})),e},t.prototype.getAllRowCtrls=function(){var e=this,t=this.stickyRowFeature&&this.stickyRowFeature.getStickyRowCtrls()||[],r=T(this.topRowCtrls,this.bottomRowCtrls,t);return Object.keys(this.rowCtrlsByRowIndex).forEach((function(t){return r.push(e.rowCtrlsByRowIndex[t])})),r},t.prototype.addRenderedRowListener=function(e,t,r){var o=this.rowCtrlsByRowIndex[t];o&&o.addEventListener(e,r)},t.prototype.flashCells=function(e){void 0===e&&(e={});var t=e.flashDelay,r=e.fadeDelay;this.getCellCtrls(e.rowNodes,e.columns).forEach((function(e){return e.flashCell({flashDelay:t,fadeDelay:r})}))},t.prototype.refreshCells=function(e){void 0===e&&(e={});var t={forceRefresh:e.force,newData:!1,suppressFlash:e.suppressFlash};this.getCellCtrls(e.rowNodes,e.columns).forEach((function(e){if(e.refreshShouldDestroy()){var r=e.getRowCtrl();r&&r.refreshCell(e)}else e.refreshCell(t)})),this.getFullWidthRowCtrls(e.rowNodes).forEach((function(e){e.refreshFullWidth()}))},t.prototype.getCellRendererInstances=function(e){return this.getCellCtrls(e.rowNodes,e.columns).map((function(e){return e.getCellRenderer()})).filter((function(e){return null!=e}))},t.prototype.getCellEditorInstances=function(e){var t=[];return this.getCellCtrls(e.rowNodes,e.columns).forEach((function(e){var r=e.getCellEditor();r&&t.push(r)})),t},t.prototype.getEditingCells=function(){var e=[];return this.getAllCellCtrls().forEach((function(t){if(t.isEditing()){var r=t.getCellPosition();e.push(r)}})),e},t.prototype.mapRowNodes=function(e){if(e){var t={top:{},bottom:{},normal:{}};return e.forEach((function(e){var r=e.id;e.rowPinned===l.a.PINNED_TOP?t.top[r]=e:e.rowPinned===l.a.PINNED_BOTTOM?t.bottom[r]=e:t.normal[r]=e})),t}},t.prototype.isRowInMap=function(e,t){var r=e.id,o=e.rowPinned;return o===l.a.PINNED_BOTTOM?null!=t.bottom[r]:o===l.a.PINNED_TOP?null!=t.top[r]:null!=t.normal[r]},t.prototype.getCellCtrls=function(e,t){var r,o=this,n=this.mapRowNodes(e),i=[];Object(p.exists)(t)&&(r={},t.forEach((function(e){var t=o.columnModel.getGridColumn(e);Object(p.exists)(t)&&(r[t.getId()]=!0)})));var a=function(e){var t=e.getRowNode();(null==n||o.isRowInMap(t,n))&&e.getAllCellCtrls().forEach((function(e){var t=e.getColumn().getId();r&&!r[t]||i.push(e)}))};return Object(d.iterateObject)(this.rowCtrlsByRowIndex,(function(e,t){a(t)})),this.topRowCtrls&&this.topRowCtrls.forEach(a),this.bottomRowCtrls&&this.bottomRowCtrls.forEach(a),i},t.prototype.destroy=function(){this.removeAllRowComps(),e.prototype.destroy.call(this)},t.prototype.removeAllRowComps=function(){var e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)},t.prototype.recycleRows=function(){var e=[];Object(d.iterateObject)(this.rowCtrlsByRowIndex,(function(t,r){null==r.getRowNode().id&&e.push(t)})),this.removeRowCtrls(e);var t={};return Object(d.iterateObject)(this.rowCtrlsByRowIndex,(function(e,r){var o=r.getRowNode();t[o.id]=r})),this.rowCtrlsByRowIndex={},t},t.prototype.removeRowCtrls=function(e){var t=this;e.forEach((function(e){var r=t.rowCtrlsByRowIndex[e];r&&(r.destroyFirstPass(),r.destroySecondPass()),delete t.rowCtrlsByRowIndex[e]}))},t.prototype.redrawAfterScroll=function(){var e;if(this.stickyRowFeature&&Object(S.browserSupportsPreventScroll)()&&(e=this.getCellToRestoreFocusToAfterRefresh()||void 0),this.getLockOnRefresh(),this.redraw(null,!1,!0),this.releaseLockOnRefresh(),this.dispatchDisplayedRowsChanged(),null!=e){var t=this.getCellToRestoreFocusToAfterRefresh();null!=e&&null==t&&(this.animationFrameService.flushAllFrames(),this.restoreFocusedCell(e))}},t.prototype.removeRowCompsNotToDraw=function(e){var t={};e.forEach((function(e){return t[e]=!0}));var r=Object.keys(this.rowCtrlsByRowIndex).filter((function(e){return!t[e]}));this.removeRowCtrls(r)},t.prototype.calculateIndexesToDraw=function(e){var t=this,r=Object(g.createArrayOfNumbers)(this.firstRenderedRow,this.lastRenderedRow),o=function(e,o){var n=o.getRowNode().rowIndex;null!=n&&(n<t.firstRenderedRow||n>t.lastRenderedRow)&&t.doNotUnVirtualiseRow(o)&&r.push(n)};return Object(d.iterateObject)(this.rowCtrlsByRowIndex,o),Object(d.iterateObject)(e,o),r.sort((function(e,t){return e-t})),r=r.filter((function(e){var r=t.paginationProxy.getRow(e);return r&&!r.sticky}))},t.prototype.redraw=function(e,t,r){var o=this;void 0===t&&(t=!1),void 0===r&&(r=!1),this.rowContainerHeightService.updateOffset(),this.workOutFirstAndLastRowsToRender(),this.stickyRowFeature&&this.stickyRowFeature.checkStickyRows();var n=this.calculateIndexesToDraw(e);this.removeRowCompsNotToDraw(n),this.printLayout&&(t=!1);var i=[];(n.forEach((function(n){var a=o.createOrUpdateRowCtrl(n,e,t,r);Object(p.exists)(a)&&i.push(a)})),e)&&(r&&!this.gridOptionsWrapper.isSuppressAnimationFrame()&&!this.printLayout?this.beans.animationFrameService.addDestroyTask((function(){o.destroyRowCtrls(e,t),o.updateAllRowCtrls(),o.dispatchDisplayedRowsChanged()})):this.destroyRowCtrls(e,t));this.updateAllRowCtrls()},t.prototype.dispatchDisplayedRowsChanged=function(){var e={type:s.a.EVENT_DISPLAYED_ROWS_CHANGED};this.eventService.dispatchEvent(e)},t.prototype.onDisplayedColumnsChanged=function(){var e=this.columnModel.isPinningLeft(),t=this.columnModel.isPinningRight();(this.pinningLeft!==e||t!==this.pinningRight)&&(this.pinningLeft=e,this.pinningRight=t,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())},t.prototype.redrawFullWidthEmbeddedRows=function(){var e=[];this.getFullWidthRowCtrls().forEach((function(t){var r=t.getRowNode().rowIndex;e.push(r.toString())})),this.refreshFloatingRowComps(),this.removeRowCtrls(e),this.redrawAfterScroll()},t.prototype.getFullWidthRowCtrls=function(e){var t=this,r=this.mapRowNodes(e);return Object(d.getAllValuesInObject)(this.rowCtrlsByRowIndex).filter((function(e){if(!e.isFullWidth())return!1;var o=e.getRowNode();return!(null!=r&&!t.isRowInMap(o,r))}))},t.prototype.refreshFullWidthRows=function(e){var t=[],r=!!e,o=r?{}:void 0;r&&o&&e.forEach((function(e){return o[e.id]=!0})),this.getFullWidthRowCtrls().forEach((function(e){var n=e.getRowNode();if(r&&o){var i=n.level>0&&n.parent?n.parent.id:void 0;if(!o[n.id]&&!o[i])return}if(!e.refreshFullWidth()){var a=e.getRowNode().rowIndex;t.push(a.toString())}})),this.removeRowCtrls(t),this.redrawAfterScroll()},t.prototype.createOrUpdateRowCtrl=function(e,t,r,o){var n,i=this.rowCtrlsByRowIndex[e];if(i||(n=this.paginationProxy.getRow(e),Object(p.exists)(n)&&Object(p.exists)(t)&&t[n.id]&&n.alreadyRendered&&(i=t[n.id],t[n.id]=null)),!i){if(n||(n=this.paginationProxy.getRow(e)),!Object(p.exists)(n))return;i=this.createRowCon(n,r,o)}return n&&(n.alreadyRendered=!0),this.rowCtrlsByRowIndex[e]=i,i},t.prototype.destroyRowCtrls=function(e,t){var r=this,o=[];Object(d.iterateObject)(e,(function(e,n){n&&(r.cachedRowCtrls&&n.isCacheable()?r.cachedRowCtrls.addRow(n):(n.destroyFirstPass(),t?(r.zombieRowCtrls[n.getInstanceId()]=n,o.push((function(){n.destroySecondPass(),delete r.zombieRowCtrls[n.getInstanceId()]}))):n.destroySecondPass()))})),t&&(o.push((function(){r.updateAllRowCtrls(),r.dispatchDisplayedRowsChanged()})),Object(h.executeInAWhile)(o))},t.prototype.workOutFirstAndLastRowsToRender=function(){var e,t;if(this.paginationProxy.isRowsToRender())if(this.printLayout)e=this.paginationProxy.getPageFirstRow(),t=this.paginationProxy.getPageLastRow();else{var r=this.gridOptionsWrapper.getRowBufferInPixels(),o=this.ctrlsService.getGridBodyCtrl(),n=this.gridOptionsWrapper.isSuppressRowVirtualisation(),i=!1,a=void 0,c=void 0;do{var u=this.paginationProxy.getPixelOffset(),p=this.paginationProxy.getCurrentPagePixelRange(),d=p.pageFirstPixel,g=p.pageLastPixel,h=this.rowContainerHeightService.getDivStretchOffset(),f=o.getScrollFeature().getVScrollPosition(),v=f.top,y=f.bottom;n?(a=d+h,c=g+h):(a=Math.max(v+u-r,d)+h,c=Math.min(y+u+r,g)+h),this.firstVisibleVPixel=Math.max(v+u,d)+h,i=this.ensureAllRowsInRangeHaveHeightsCalculated(a,c)}while(i);var m=this.paginationProxy.getRowIndexAtPixel(a),b=this.paginationProxy.getRowIndexAtPixel(c),w=this.paginationProxy.getPageFirstRow(),C=this.paginationProxy.getPageLastRow();m<w&&(m=w),b>C&&(b=C),e=m,t=b}else e=0,t=-1;var O=this.gridOptionsWrapper.getDomLayout()===l.a.DOM_LAYOUT_NORMAL,S=this.gridOptionsWrapper.isSuppressMaxRenderedRowRestriction(),E=Math.max(this.gridOptionsWrapper.getRowBuffer(),500);O&&!S&&t-e>E&&(t=e+E);var x=e!==this.firstRenderedRow,R=t!==this.lastRenderedRow;if(x||R){this.firstRenderedRow=e,this.lastRenderedRow=t;var T={type:s.a.EVENT_VIEWPORT_CHANGED,firstRow:e,lastRow:t};this.eventService.dispatchEvent(T)}},t.prototype.dispatchFirstDataRenderedEvent=function(){var e=this;if(!this.dataFirstRenderedFired){this.dataFirstRenderedFired=!0;var t={type:s.a.EVENT_FIRST_DATA_RENDERED,firstRow:this.firstRenderedRow,lastRow:this.lastRenderedRow};window.requestAnimationFrame((function(){e.beans.eventService.dispatchEvent(t)}))}},t.prototype.ensureAllRowsInRangeHaveHeightsCalculated=function(e,t){var r=this.paginationProxy.ensureRowHeightsValid(e,t,-1,-1);return r&&this.updateContainerHeights(),r},t.prototype.getFirstVisibleVerticalPixel=function(){return this.firstVisibleVPixel},t.prototype.getFirstVirtualRenderedRow=function(){return this.firstRenderedRow},t.prototype.getLastVirtualRenderedRow=function(){return this.lastRenderedRow},t.prototype.doNotUnVirtualiseRow=function(e){var t=e.getRowNode(),r=this.focusService.isRowNodeFocused(t),o=e.isEditing(),n=t.detail;return!!(r||o||n)&&!!this.paginationProxy.isRowPresent(t)},t.prototype.createRowCon=function(e,t,r){var o=this.cachedRowCtrls?this.cachedRowCtrls.getRow(e):null;if(o)return o;var n=this.gridOptionsWrapper.isSuppressAnimationFrame(),a=r&&!n&&!this.printLayout;return new i.a(e,this.beans,t,a,this.printLayout)},t.prototype.getRenderedNodes=function(){var e=this.rowCtrlsByRowIndex;return Object.keys(e).map((function(t){return e[t].getRowNode()}))},t.prototype.getRowByPosition=function(e){var t,r=e.rowIndex;switch(e.rowPinned){case l.a.PINNED_TOP:t=this.topRowCtrls[r];break;case l.a.PINNED_BOTTOM:t=this.bottomRowCtrls[r];break;default:(t=this.rowCtrlsByRowIndex[r])||(t=this.getStickyTopRowCtrls().find((function(e){return e.getRowNode().rowIndex===r}))||null)}return t},t.prototype.getRowNode=function(e){switch(e.rowPinned){case l.a.PINNED_TOP:return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case l.a.PINNED_BOTTOM:return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}},t.prototype.isRangeInRenderedViewport=function(e,t){if(null==e||null==t)return!1;var r=e>this.lastRenderedRow;return!(t<this.firstRenderedRow)&&!r},x([Object(c.a)("animationFrameService")],t.prototype,"animationFrameService",void 0),x([Object(c.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),x([Object(c.a)("columnModel")],t.prototype,"columnModel",void 0),x([Object(c.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),x([Object(c.a)("rowModel")],t.prototype,"rowModel",void 0),x([Object(c.a)("focusService")],t.prototype,"focusService",void 0),x([Object(c.a)("beans")],t.prototype,"beans",void 0),x([Object(c.a)("rowContainerHeightService")],t.prototype,"rowContainerHeightService",void 0),x([Object(c.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),x([c.e],t.prototype,"postConstruct",null),t=x([Object(c.b)("rowRenderer")],t)}(u.a),P=function(){function e(e){this.entriesMap={},this.entriesList=[],this.maxCount=e}return e.prototype.addRow=function(e){if(this.entriesMap[e.getRowNode().id]=e,this.entriesList.push(e),e.setCached(!0),this.entriesList.length>this.maxCount){var t=this.entriesList[0];t.destroyFirstPass(),t.destroySecondPass(),this.removeFromCache(t)}},e.prototype.getRow=function(e){if(null==e||null==e.id)return null;var t=this.entriesMap[e.id];return t?(this.removeFromCache(t),t.setCached(!1),t.getRowNode()!=e?null:t):null},e.prototype.removeFromCache=function(e){var t=e.getRowNode().id;delete this.entriesMap[t],Object(v.removeFromArray)(this.entriesList,e)},e.prototype.getEntries=function(){return this.entriesList},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var o,n=r(15),i=r(24),a=r(7),s=r(1),l=r(2),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},d=function(e){function t(r){var o=e.call(this,t.TEMPLATE)||this;return o.H=1,o.S=1,o.B=1,o.A=1,o.isSpectrumDragging=!1,o.isSpectrumHueDragging=!1,o.isSpectrumAlphaDragging=!1,o.colorChanged=!1,o.picker=r.picker,o}return c(t,e),t.prototype.postConstruct=function(){var e=this.getGui();this.initRecentColors(),this.addManagedListener(this.spectrumVal,"mousedown",this.onSpectrumDraggerDown.bind(this)),this.addManagedListener(e,"mousemove",this.onSpectrumDraggerMove.bind(this)),this.addManagedListener(this.spectrumHue,"mousedown",this.onSpectrumHueDown.bind(this)),this.addManagedListener(e,"mousemove",this.onSpectrumHueMove.bind(this)),this.addManagedListener(this.spectrumAlpha,"mousedown",this.onSpectrumAlphaDown.bind(this)),this.addManagedListener(e,"mousemove",this.onSpectrumAlphaMove.bind(this)),this.addManagedListener(document,"mouseup",this.onMouseUp.bind(this)),this.addManagedListener(this.recentColors,"click",this.onRecentColorClick.bind(this))},t.prototype.refreshSpectrumRect=function(){return this.spectrumValRect=this.spectrumVal.getBoundingClientRect()},t.prototype.refreshHueRect=function(){return this.spectrumHueRect=this.spectrumHue.getBoundingClientRect()},t.prototype.refreshAlphaRect=function(){return this.spectrumAlphaRect=this.spectrumAlpha.getBoundingClientRect()},t.prototype.onSpectrumDraggerDown=function(e){this.refreshSpectrumRect(),this.isSpectrumDragging=!0,this.moveDragger(e)},t.prototype.onSpectrumDraggerMove=function(e){this.isSpectrumDragging&&this.moveDragger(e)},t.prototype.onSpectrumHueDown=function(e){this.refreshHueRect(),this.isSpectrumHueDragging=!0,this.moveHueSlider(e)},t.prototype.onSpectrumHueMove=function(e){this.isSpectrumHueDragging&&this.moveHueSlider(e)},t.prototype.onSpectrumAlphaDown=function(e){this.refreshAlphaRect(),this.isSpectrumAlphaDragging=!0,this.moveAlphaSlider(e)},t.prototype.onSpectrumAlphaMove=function(e){this.isSpectrumAlphaDragging&&this.moveAlphaSlider(e)},t.prototype.onMouseUp=function(){this.isSpectrumDragging=!1,this.isSpectrumHueDragging=!1,this.isSpectrumAlphaDragging=!1},t.prototype.moveDragger=function(e){var t=this.spectrumValRect;if(t){var r=e.clientX-t.left,o=e.clientY-t.top;r=Math.max(r,0),r=Math.min(r,t.width),o=Math.max(o,0),o=Math.min(o,t.height),this.setSpectrumValue(r/t.width,1-o/t.height)}},t.prototype.moveHueSlider=function(e){var t=this.spectrumHueRect;if(t){var r=this.spectrumHueSlider,o=r.getBoundingClientRect(),n=e.clientX-t.left;n=Math.max(n,0),n=Math.min(n,t.width),this.H=1-n/t.width,r.style.left=n+o.width/2+"px",this.update()}},t.prototype.moveAlphaSlider=function(e){var t=this.spectrumAlphaRect;if(t){var r=this.spectrumAlphaSlider,o=r.getBoundingClientRect(),n=e.clientX-t.left;n=Math.max(n,0),n=Math.min(n,t.width),this.A=n/t.width,r.style.left=n+o.width/2+"px",this.update()}},t.prototype.update=function(){var e=i.c.fromHSB(360*this.H,this.S,this.B,this.A),t=i.c.fromHSB(360*this.H,1,1),r=e.toRgbaString(),o=this.picker;i.c.fromString(o.getValue()).toRgbaString()!==r&&(this.colorChanged=!0),o.setValue(r),this.spectrumColor.style.backgroundColor=t.toRgbaString(),this.spectrumDragger.style.backgroundColor=r},t.prototype.setSpectrumValue=function(e,t){var r=this.spectrumValRect||this.refreshSpectrumRect();if(r){var o=this.spectrumDragger,n=o.getBoundingClientRect();e=Math.max(0,e),e=Math.min(1,e),t=Math.max(0,t),t=Math.min(1,t),this.S=e,this.B=t,o.style.left=e*r.width-n.width/2+"px",o.style.top=(1-t)*r.height-n.height/2+"px",this.update()}},t.prototype.initRecentColors=function(){var e=t.recentColors.map((function(e,t){return'<div class="ag-recent-color" id='+t+' style="background-color: '+e+'; width: 15px; height: 15px;" recent-color="'+e+'"></div>'}));this.recentColors.innerHTML=e.join("")},t.prototype.setValue=function(e){var t=i.c.fromString(e),r=p(t.toHSB(),3),o=r[0],n=r[1],a=r[2];this.H=(isNaN(o)?0:o)/360,this.A=t.a;var s=this.spectrumHueRect||this.refreshHueRect(),l=this.spectrumAlphaRect||this.refreshAlphaRect();this.spectrumHueSlider.style.left=(this.H-1)*-s.width+"px",this.spectrumAlphaSlider.style.left=this.A*l.width+"px",this.setSpectrumValue(n,a)},t.prototype.onRecentColorClick=function(e){var r=e.target;if(Object(l.exists)(r.id)){var o=parseInt(r.id,10);this.setValue(t.recentColors[o]),this.destroy()}},t.prototype.addRecentColor=function(){var e=i.c.fromHSB(360*this.H,this.S,this.B,this.A).toRgbaString(),r=t.recentColors;this.colorChanged&&r[0]!==e&&(r=r.filter((function(t){return t!=e})),(r=[e].concat(r)).length>t.maxRecentColors&&(r=r.slice(0,t.maxRecentColors)),t.recentColors=r)},t.prototype.destroy=function(){this.addRecentColor(),e.prototype.destroy.call(this)},t.maxRecentColors=8,t.recentColors=[],t.TEMPLATE='<div class="ag-color-panel">\n <div ref="spectrumColor" class="ag-spectrum-color">\n <div class="ag-spectrum-sat ag-spectrum-fill">\n <div ref="spectrumVal" class="ag-spectrum-val ag-spectrum-fill">\n <div ref="spectrumDragger" class="ag-spectrum-dragger"></div>\n </div>\n </div>\n </div>\n <div class="ag-spectrum-tools">\n <div ref="spectrumHue" class="ag-spectrum-hue ag-spectrum-tool">\n <div class="ag-spectrum-hue-background"></div>\n <div ref="spectrumHueSlider" class="ag-spectrum-slider"></div>\n </div>\n <div ref="spectrumAlpha" class="ag-spectrum-alpha ag-spectrum-tool">\n <div class="ag-spectrum-alpha-background"></div>\n <div ref="spectrumAlphaSlider" class="ag-spectrum-slider"></div>\n </div>\n <div ref="recentColors" class="ag-recent-colors"></div>\n </div>\n </div>',u([Object(a.b)("spectrumColor")],t.prototype,"spectrumColor",void 0),u([Object(a.b)("spectrumVal")],t.prototype,"spectrumVal",void 0),u([Object(a.b)("spectrumDragger")],t.prototype,"spectrumDragger",void 0),u([Object(a.b)("spectrumHue")],t.prototype,"spectrumHue",void 0),u([Object(a.b)("spectrumHueSlider")],t.prototype,"spectrumHueSlider",void 0),u([Object(a.b)("spectrumAlpha")],t.prototype,"spectrumAlpha",void 0),u([Object(a.b)("spectrumAlphaSlider")],t.prototype,"spectrumAlphaSlider",void 0),u([Object(a.b)("recentColors")],t.prototype,"recentColors",void 0),u([s.e],t.prototype,"postConstruct",null),t}(n.a),g=r(83),h=r(202),f=r(11),v=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),y=function(e){function t(t){var r=e.call(this,t,"ag-color-picker","colorPicker")||this;return t&&t.color&&(r.value=t.color),r}return v(t,e),t.prototype.postConstruct=function(){e.prototype.postConstruct.call(this),this.value&&this.setValue(this.value)},t.prototype.showPicker=function(){var e=this,t=this.getGui().getBoundingClientRect(),r=this.createBean(new g.a({closable:!1,modal:!0,hideTitleBar:!0,minWidth:190,width:190,height:250,x:t.right-190,y:t.top-250}));this.isPickerDisplayed=!0,r.addCssClass("ag-color-dialog"),Object(f.setAriaExpanded)(this.eWrapper,!0);var o=this.createBean(new d({picker:this}));return o.addDestroyFunc((function(){r.isAlive()&&e.destroyBean(r)})),r.setParentComponent(this),r.setBodyComponent(o),o.setValue(this.getValue()),r.addDestroyFunc((function(){e.isDestroyingPicker?e.isDestroyingPicker=!1:(e.isDestroyingPicker=!0,o.isAlive()&&e.destroyBean(o)),e.isAlive()&&(Object(f.setAriaExpanded)(e.eWrapper,!1),e.getFocusableElement().focus()),e.isPickerDisplayed=!1})),r},t.prototype.setValue=function(t){return this.value===t?this:(this.eDisplayField.style.backgroundColor=t,e.prototype.setValue.call(this,t))},t.prototype.getValue=function(){return this.value},t}(h.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(){}return e.parse=function(t){if(!t)return null;if(!0===t)return{toolPanels:[e.DEFAULT_COLUMN_COMP,e.DEFAULT_FILTER_COMP],defaultToolPanel:"columns"};if("string"==typeof t)return e.parse([t]);if(Array.isArray(t)){var r=[];return t.forEach((function(t){var o=e.DEFAULT_BY_KEY[t];o?r.push(o):console.warn("AG Grid: the key "+t+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(e.DEFAULT_BY_KEY).join(","))})),0===r.length?null:{toolPanels:r,defaultToolPanel:r[0].id}}return{toolPanels:e.parseComponents(t.toolPanels),defaultToolPanel:t.defaultToolPanel,hiddenByDefault:t.hiddenByDefault,position:t.position}},e.parseComponents=function(t){var r=[];return t?(t.forEach((function(t){var o=null;if("string"==typeof t){var n=e.DEFAULT_BY_KEY[t];if(!n)return void console.warn("AG Grid: the key "+t+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(e.DEFAULT_BY_KEY).join(","));o=n}else o=t;r.push(o)})),r):r},e.DEFAULT_COLUMN_COMP={id:"columns",labelDefault:"Columns",labelKey:"columns",iconKey:"columns",toolPanel:"agColumnsToolPanel"},e.DEFAULT_FILTER_COMP={id:"filters",labelDefault:"Filters",labelKey:"filters",iconKey:"filter",toolPanel:"agFiltersToolPanel"},e.DEFAULT_BY_KEY={columns:e.DEFAULT_COLUMN_COMP,filters:e.DEFAULT_FILTER_COMP},e}()},function(e,t,r){"use strict";function o(e,t,r){var o={},i=e.filter((function(e){return!t.some((function(t){return t===e}))}));return i.length>0&&i.forEach((function(e){return o[e]=n(e,r)})),o}function n(e,t,r,o){var n=o?s:a,i=t.map((function(t){return{value:t,relevance:n(e.toLowerCase(),t.toLocaleLowerCase())}}));return i.sort((function(e,t){return t.relevance-e.relevance})),r&&(i=i.filter((function(e){return 0!==e.relevance}))),i.map((function(e){return e.value}))}function i(e){var t,r,o,n=e.toLowerCase(),i=new Array(n.length-1);for(t=r=0,o=i.length;r<=o;t=r+=1)i[t]=n.slice(t,t+2);return i}function a(e,t){if(0===e.length&&0===t.length)return 0;var r,o,n=i(e),a=i(t),s=n.length+a.length,l=0;for(r=0,o=n.length;r<o;r++){var c,u=n[r],p=void 0;for(p=0,c=a.length;p<c;p++){u===a[p]&&l++}}return l>0?2*l/s:0}function s(e,t){for(var r=e.replace(/\s/g,""),o=t.replace(/\s/g,""),n=0,i=0,a=0;a<r.length;a++){var s=o.indexOf(r[a],i);-1!==s&&(n+=100-100*(i=s)/1e4*100)}return n}r.r(t),r.d(t,"fuzzyCheckStrings",(function(){return o})),r.d(t,"fuzzySuggestions",(function(){return n})),r.d(t,"get_bigrams",(function(){return i})),r.d(t,"string_distances",(function(){return a})),r.d(t,"string_weighted_distances",(function(){return s}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(5),n=function(){function e(e,t,r,o){var n=this;this.alive=!0,this.context=e,this.eParent=o,t.getDateCompDetails(r).newAgStackInstance().then((function(t){n.alive?(n.dateComp=t,t&&(o.appendChild(t.getGui()),t.afterGuiAttached&&t.afterGuiAttached(),n.tempValue&&t.setDate(n.tempValue),null!=n.disabled&&n.setDateCompDisabled(n.disabled))):e.destroyBean(t)}))}return e.prototype.destroy=function(){this.alive=!1,this.dateComp=this.context.destroyBean(this.dateComp)},e.prototype.getDate=function(){return this.dateComp?this.dateComp.getDate():this.tempValue},e.prototype.setDate=function(e){this.dateComp?this.dateComp.setDate(e):this.tempValue=e},e.prototype.setDisabled=function(e){this.dateComp?this.setDateCompDisabled(e):this.disabled=e},e.prototype.setDisplayed=function(e){Object(o.setDisplayed)(this.eParent,e)},e.prototype.setInputPlaceholder=function(e){this.dateComp&&this.dateComp.setInputPlaceholder&&this.dateComp.setInputPlaceholder(e)},e.prototype.setInputAriaLabel=function(e){this.dateComp&&this.dateComp.setInputAriaLabel&&this.dateComp.setInputAriaLabel(e)},e.prototype.afterGuiAttached=function(e){this.dateComp&&"function"==typeof this.dateComp.afterGuiAttached&&this.dateComp.afterGuiAttached(e)},e.prototype.setDateCompDisabled=function(e){null!=this.dateComp&&null!=this.dateComp.setDisabled&&this.dateComp.setDisabled(e)},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=function(){function e(){this.customFilterOptions={}}return e.prototype.init=function(e,t){this.filterOptions=e.filterOptions||t,this.mapCustomOptions(),this.selectDefaultItem(e),this.checkForDeprecatedParams()},e.prototype.checkForDeprecatedParams=function(){this.filterOptions.some((function(e){return"string"!=typeof e&&null!=e.test}))&&console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate()."),this.filterOptions.some((function(e){return"string"!=typeof e&&null!=e.hideFilterInput}))&&console.warn("AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.")},e.prototype.getFilterOptions=function(){return this.filterOptions},e.prototype.mapCustomOptions=function(){var e=this;this.filterOptions&&this.filterOptions.forEach((function(t){if("string"!=typeof t){if([["displayKey"],["displayName"],["predicate","test"]].every((function(e){return!!e.some((function(e){return null!=t[e]}))||(console.warn("AG Grid: ignoring FilterOptionDef as it doesn't contain one of '"+e+"'"),!1)}))){var r=t.test,n=o({},t);null!=r&&null==t.predicate&&(n.predicate=function(e,t){return r(e[0],t)},delete n.test),n.hideFilterInput&&null==n.numberOfInputs&&(n.numberOfInputs=0,delete n.hideFilterInput),e.customFilterOptions[t.displayKey]=n}else e.filterOptions=e.filterOptions.filter((function(e){return e===t}))||[]}}))},e.prototype.selectDefaultItem=function(e){if(e.defaultOption)this.defaultOption=e.defaultOption;else if(this.filterOptions.length>=1){var t=this.filterOptions[0];"string"==typeof t?this.defaultOption=t:t.displayKey?this.defaultOption=t.displayKey:console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'")}else console.warn("AG Grid: no filter options for filter")},e.prototype.getDefaultOption=function(){return this.defaultOption},e.prototype.getCustomOption=function(e){return this.customFilterOptions[e]},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o,n=r(41),i=r(7),a=r(11),s=r(23),l=r(2),c=r(5),u=r(8),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),d=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},g=function(e){function t(t,r,o,n){var i=e.call(this,t,'<div class="ag-picker-field" role="presentation">\n <div ref="eLabel"></div>\n <div ref="eWrapper"\n class="ag-wrapper ag-picker-field-wrapper"\n tabIndex="-1"\n aria-expanded="false"\n '+(n?'role="'+n+'"':"")+'\n >\n <div ref="eDisplayField" class="ag-picker-field-display"></div>\n <div ref="eIcon" class="ag-picker-field-icon" aria-hidden="true"></div>\n </div>\n </div>',r)||this;return i.pickerIcon=o,i.isPickerDisplayed=!1,i.isDestroyingPicker=!1,i.skipClick=!1,i}return p(t,e),t.prototype.postConstruct=function(){var t=this;e.prototype.postConstruct.call(this);var r=this.getCompId()+"-display";this.eDisplayField.setAttribute("id",r),Object(a.setAriaDescribedBy)(this.eWrapper,r);var o=function(){t.skipClick?t.skipClick=!1:t.isDisabled()||(t.pickerComponent=t.showPicker())},n=this.getGui();if(this.addManagedListener(n,"mousedown",(function(e){!t.skipClick&&t.pickerComponent&&t.pickerComponent.isAlive()&&Object(c.isVisible)(t.pickerComponent.getGui())&&n.contains(e.target)&&(t.skipClick=!0)})),this.addManagedListener(n,"keydown",(function(e){switch(e.key){case u.a.UP:case u.a.DOWN:case u.a.ENTER:case u.a.SPACE:o();case u.a.ESCAPE:t.isPickerDisplayed&&e.preventDefault()}})),this.addManagedListener(this.eWrapper,"click",o),this.addManagedListener(this.eLabel,"click",o),this.pickerIcon){var i=Object(s.createIconNoSpan)(this.pickerIcon,this.gridOptionsWrapper);i&&this.eIcon.appendChild(i)}},t.prototype.refreshLabel=function(){Object(l.exists)(this.getLabel())?Object(a.setAriaLabelledBy)(this.eWrapper,this.getLabelId()):this.eWrapper.removeAttribute("aria-labelledby"),e.prototype.refreshLabel.call(this)},t.prototype.setAriaLabel=function(e){return Object(a.setAriaLabel)(this.eWrapper,e),this},t.prototype.setInputWidth=function(e){return Object(c.setElementWidth)(this.eWrapper,e),this},t.prototype.getFocusableElement=function(){return this.eWrapper},d([Object(i.b)("eLabel")],t.prototype,"eLabel",void 0),d([Object(i.b)("eWrapper")],t.prototype,"eWrapper",void 0),d([Object(i.b)("eDisplayField")],t.prototype,"eDisplayField",void 0),d([Object(i.b)("eIcon")],t.prototype,"eIcon",void 0),t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var o,n=r(15),i=r(29),a=r(201),s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.getDefaultDebounceMs=function(){return 0},t.prototype.destroy=function(){e.prototype.destroy.call(this)},t.prototype.getTextFromModel=function(e){if(!e)return null;if(null!=e.operator){var t=e,r=t||{},o=r.condition1,n=r.condition2,a=this.getTextFromModel(o),s=this.getTextFromModel(n);return[a,t.operator,s].join(" ")}if(e.type===i.b.BLANK||e.type===i.b.NOT_BLANK)return this.gridOptionsWrapper.getLocaleTextFunc()(e.type,e.type);var l=e,c=this.optionsFactory.getCustomOption(l.type),u=c||{},p=u.displayKey,d=u.displayName,g=u.numberOfInputs;return p&&d&&0===g?(this.gridOptionsWrapper.getLocaleTextFunc()(p,d),d):this.conditionToString(l,c)},t.prototype.isEventFromFloatingFilter=function(e){return e&&e.afterFloatingFilter},t.prototype.getLastType=function(){return this.lastType},t.prototype.isReadOnly=function(){return this.readOnly},t.prototype.setLastTypeFromModel=function(e){if(e){var t;if(e.operator)t=e.condition1;else t=e;this.lastType=t.type}else this.lastType=this.optionsFactory.getDefaultOption()},t.prototype.canWeEditAfterModelFromParentFilter=function(e){if(!e)return this.isTypeEditable(this.lastType);if(e.operator)return!1;var t=e;return this.isTypeEditable(t.type)},t.prototype.init=function(e){this.optionsFactory=new a.a,this.optionsFactory.init(e.filterParams,this.getDefaultFilterOptions()),this.lastType=this.optionsFactory.getDefaultOption(),this.readOnly=!!e.filterParams.readOnly;var t=this.isTypeEditable(this.lastType);this.setEditable(t)},t.prototype.doesFilterHaveSingleInput=function(e){var t=(this.optionsFactory.getCustomOption(e)||{}).numberOfInputs;return null==t||1==t},t.prototype.isTypeEditable=function(e){var t=[i.b.IN_RANGE,i.b.EMPTY,i.b.BLANK,i.b.NOT_BLANK];return!!e&&!this.isReadOnly()&&this.doesFilterHaveSingleInput(e)&&t.indexOf(e)<0},t}(n.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(7),i=r(13),a=r(62),s=r(1),l=r(203),c=r(29),u=r(8),p=r(64),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.postConstruct=function(){this.resetTemplate()},t.prototype.resetTemplate=function(e){this.setTemplate('\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eFloatingFilterInput"></ag-input-text-field>\n </div>\n ',e)},t.prototype.getDefaultDebounceMs=function(){return 500},t.prototype.onParentModelChanged=function(e,t){this.isEventFromFloatingFilter(t)||(this.setLastTypeFromModel(e),this.eFloatingFilterInput.setValue(this.getTextFromModel(e)),this.setEditable(this.canWeEditAfterModelFromParentFilter(e)))},t.prototype.init=function(t){e.prototype.init.call(this,t),this.params=t,this.applyActive=a.a.isUseApplyButton(this.params.filterParams);var r=this.params.filterParams.allowedCharPattern;if(null!=r&&this.resetTemplate({eFloatingFilterInput:{allowedCharPattern:r}}),!this.isReadOnly()){var o=a.a.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),n=Object(i.debounce)(this.syncUpWithParentFilter.bind(this),o),s=this.eFloatingFilterInput.getGui();this.addManagedListener(s,"input",n),this.addManagedListener(s,"keypress",n),this.addManagedListener(s,"keydown",n)}var l=t.column.getDefinition();(this.isReadOnly()||l.filterParams&&l.filterParams.filterOptions&&1===l.filterParams.filterOptions.length&&"inRange"===l.filterParams.filterOptions[0])&&this.eFloatingFilterInput.setDisabled(!0);var c=this.columnModel.getDisplayNameForColumn(t.column,"header",!0),u=this.gridOptionsWrapper.getLocaleTextFunc();this.eFloatingFilterInput.setInputAriaLabel(c+" "+u("ariaFilterInput","Filter Input"))},t.prototype.syncUpWithParentFilter=function(e){var t=this,r=e.key===u.a.ENTER;if(!this.applyActive||r){var o=this.eFloatingFilterInput.getValue();this.params.filterParams.trimInput&&(o=p.a.trimInput(o),this.eFloatingFilterInput.setValue(o,!0)),this.params.parentFilterInstance((function(e){e&&e.onFloatingFilterChanged(t.getLastType()||null,o||null)}))}},t.prototype.conditionToString=function(e,t){var r=(t||{}).numberOfInputs;return e.type==c.b.IN_RANGE||2===r?e.filter+"-"+e.filterTo:null!=e.filter?""+e.filter:""+e.type},t.prototype.setEditable=function(e){this.eFloatingFilterInput.setDisabled(!e)},g([Object(s.a)("columnModel")],t.prototype,"columnModel",void 0),g([Object(n.b)("eFloatingFilterInput")],t.prototype,"eFloatingFilterInput",void 0),g([s.e],t.prototype,"postConstruct",null),t}(l.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return qt})),r.d(t,"b",(function(){return Qt}));var o,n,i=r(12),a=r(175),s=r(176),l=r(117),c=r(196),u=r(147),p=r(133),d=r(177),g=r(38),h=r(135),f=r(80),v=r(194),y=r(120),m=r(178),b=r(179),w=r(171),C=r(72),O=r(119),S=r(154),E=r(149),x=r(1),R=r(180),T=r(20),A=r(132),P=r(182),_=r(58),D=r(138),M=r(173),N=r(4),I=r(155),L=r(55),k=r(160),F=r(172),G=r(137),j=r(159),z=r(6),B=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),V=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return B(t,e),t.prototype.setMouseOver=function(e){this.selectedColumns=e;var t={type:N.a.EVENT_COLUMN_HOVER_CHANGED};this.eventService.dispatchEvent(t)},t.prototype.clearMouseOver=function(){this.selectedColumns=null;var e={type:N.a.EVENT_COLUMN_HOVER_CHANGED};this.eventService.dispatchEvent(e)},t.prototype.isHovered=function(e){return!!this.selectedColumns&&this.selectedColumns.indexOf(e)>=0},t=V([Object(x.b)("columnHoverService")],t)}(z.a),H=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),U=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.executeNextFuncs=[],t.executeLaterFuncs=[],t.active=!1,t.animationThreadCount=0,t}return H(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){return e.gridBodyCtrl=t.gridBodyCtrl}))},t.prototype.isActive=function(){return this.active},t.prototype.start=function(){this.active||this.gridOptionsWrapper.isSuppressColumnMoveAnimation()||this.gridOptionsWrapper.isEnableRtl()||(this.ensureAnimationCssClassPresent(),this.active=!0)},t.prototype.finish=function(){this.active&&(this.flush(),this.active=!1)},t.prototype.executeNextVMTurn=function(e){this.active?this.executeNextFuncs.push(e):e()},t.prototype.executeLaterVMTurn=function(e){this.active?this.executeLaterFuncs.push(e):e()},t.prototype.ensureAnimationCssClassPresent=function(){var e=this;this.animationThreadCount++;var t=this.animationThreadCount;this.gridBodyCtrl.setColumnMovingCss(!0),this.executeLaterFuncs.push((function(){e.animationThreadCount===t&&e.gridBodyCtrl.setColumnMovingCss(!1)}))},t.prototype.flush=function(){var e=this.executeNextFuncs;this.executeNextFuncs=[];var t=this.executeLaterFuncs;this.executeLaterFuncs=[],0===e.length&&0===t.length||(window.setTimeout((function(){return e.forEach((function(e){return e()}))}),0),window.setTimeout((function(){return t.forEach((function(e){return e()}))}),300))},U([Object(x.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),U([x.e],t.prototype,"postConstruct",null),t=U([Object(x.b)("columnAnimationService")],t)}(z.a),Y=r(19),X=r(3),q=r(14),Q=r(2),Z=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),J=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var r;return Z(t,e),r=t,t.prototype.createAutoGroupColumns=function(e,t){var r=this,o=[],n=this.gridOptionsWrapper.isTreeData(),i=this.gridOptionsWrapper.isGroupMultiAutoColumn();return n&&i&&(console.warn("AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data"),i=!1),i?t.forEach((function(t,n){o.push(r.createOneAutoGroupColumn(e,t,n))})):o.push(this.createOneAutoGroupColumn(e)),o},t.prototype.createOneAutoGroupColumn=function(e,t,o){var n,i=this.generateDefaultColDef(t);n=t?X.a.GROUP_AUTO_COLUMN_ID+"-"+t.getId():r.GROUP_AUTO_COLUMN_BUNDLE_ID;var a=this.gridOptionsWrapper.getAutoGroupColumnDef();(Object(q.mergeDeep)(i,a),(i=this.columnFactory.mergeColDefs(i)).colId=n,this.gridOptionsWrapper.isTreeData())||Object(Q.missing)(i.field)&&Object(Q.missing)(i.valueGetter)&&Object(Q.missing)(i.filterValueGetter)&&(i.filter=!1);o&&o>0&&(i.headerCheckboxSelection=!1);var s=e.find((function(e){return e.getId()==n}));if(s)return s.setColDef(i,null),this.columnFactory.applyColumnState(s,i),s;var l=new Y.a(i,null,n,!0);return this.context.createBean(l),l},t.prototype.generateDefaultColDef=function(e){var t=this.gridOptionsWrapper.getAutoGroupColumnDef(),r={headerName:this.gridOptionsWrapper.getLocaleTextFunc()("group","Group")};if(t&&(t.cellRenderer||t.cellRendererFramework||t.cellRendererSelector)||(r.cellRenderer="agGroupCellRenderer"),e){var o=e.getColDef();Object.assign(r,{headerName:this.columnModel.getDisplayNameForColumn(e,"header"),headerValueGetter:o.headerValueGetter}),(o.cellRenderer||o.cellRendererFramework)&&Object.assign(r,{cellRendererParams:{innerRenderer:o.cellRenderer,innerRendererFramework:o.cellRendererFramework,innerRendererParams:o.cellRendererParams}}),r.showRowGroup=e.getColId()}else r.showRowGroup=!0;return r},t.GROUP_AUTO_COLUMN_BUNDLE_ID=X.a.GROUP_AUTO_COLUMN_ID,J([Object(x.a)("columnModel")],t.prototype,"columnModel",void 0),J([Object(x.a)("columnFactory")],t.prototype,"columnFactory",void 0),t=r=J([Object(x.b)("autoGroupColService")],t)}(z.a),ee=r(158),te=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),re=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return te(t,e),t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady((function(t){e.centerRowContainerCon=t.centerRowContainerCtrl,e.addManagedListener(e.eventService,N.a.EVENT_BODY_HEIGHT_CHANGED,e.onBodyHeightChanged.bind(e)),e.addManagedListener(e.eventService,N.a.EVENT_SCROLL_VISIBILITY_CHANGED,e.onScrollVisibilityChanged.bind(e)),e.checkPageSize()}))},t.prototype.notActive=function(){return!this.gridOptionsWrapper.isPaginationAutoPageSize()},t.prototype.onScrollVisibilityChanged=function(){this.checkPageSize()},t.prototype.onBodyHeightChanged=function(){this.checkPageSize()},t.prototype.checkPageSize=function(){if(!this.notActive()){var e=this.gridOptionsWrapper.getRowHeightAsNumber(),t=this.centerRowContainerCon.getViewportSizeFeature().getBodyHeight();if(t>0){var r=Math.floor(t/e);this.gridOptionsWrapper.setProperty("paginationPageSize",r)}}},re([Object(x.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),re([x.e],t.prototype,"postConstruct",null),t=re([Object(x.b)("paginationAutoPageSizeService")],t)}(z.a),ne=r(183),ie=r(81),ae=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),se=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ae(t,e),t.prototype.init=function(){this.rowModel.getType()===X.a.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel),this.addManagedListener(this.eventService,N.a.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged.bind(this))},t.prototype.onCellValueChanged=function(e){e.source!==X.a.SOURCE_PASTE&&this.doChangeDetection(e.node,e.column)},t.prototype.doChangeDetection=function(e,t){if(!this.gridOptionsWrapper.isSuppressChangeDetection()){if(this.clientSideRowModel&&!e.isRowPinned()){var r=this.gridOptionsWrapper.isAggregateOnlyChangedColumns(),o=new ie.a(r,this.clientSideRowModel.getRootNode());o.addParentNode(e.parent,[t]),this.clientSideRowModel.doAggregate(o)}this.rowRenderer.refreshCells()}},se([Object(x.a)("rowModel")],t.prototype,"rowModel",void 0),se([Object(x.a)("rowRenderer")],t.prototype,"rowRenderer",void 0),se([x.e],t.prototype,"init",null),t=se([Object(x.b)("changeDetectionService")],t)}(z.a),ce=r(174),ue=r(130),pe=r(191),de=r(5),ge=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),he=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ge(t,e),t.prototype.adaptFunction=function(e,t){var r=this.componentMetadataProvider.retrieve(e);return r&&r.functionAdapter?r.functionAdapter(t):null},t.prototype.adaptCellRendererFunction=function(e){return function(){function t(){}return t.prototype.refresh=function(e){return!1},t.prototype.getGui=function(){return this.eGui},t.prototype.init=function(t){var r=e(t),o=typeof r;this.eGui="string"!==o&&"number"!==o&&"boolean"!==o?null!=r?r:Object(de.loadTemplate)("<span></span>"):Object(de.loadTemplate)("<span>"+r+"</span>")},t}()},t.prototype.doesImplementIComponent=function(e){return!!e&&(e.prototype&&"getGui"in e.prototype)},he([Object(x.a)("componentMetadataProvider")],t.prototype,"componentMetadataProvider",void 0),t=he([Object(x.b)("agComponentUtils")],t)}(z.a),ve=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),ye=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ve(t,e),t.prototype.postConstruct=function(){this.componentMetaData={dateComponent:{mandatoryMethodList:["getDate","setDate"],optionalMethodList:["afterGuiAttached","setInputPlaceholder","setInputAriaLabel"]},detailCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},headerComponent:{mandatoryMethodList:[],optionalMethodList:["refresh"]},headerGroupComponent:{mandatoryMethodList:[],optionalMethodList:[]},loadingCellRenderer:{mandatoryMethodList:[],optionalMethodList:[]},loadingOverlayComponent:{mandatoryMethodList:[],optionalMethodList:[]},noRowsOverlayComponent:{mandatoryMethodList:[],optionalMethodList:[]},floatingFilterComponent:{mandatoryMethodList:["onParentModelChanged"],optionalMethodList:["afterGuiAttached"]},floatingFilterWrapperComponent:{mandatoryMethodList:[],optionalMethodList:[]},cellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},cellEditor:{mandatoryMethodList:["getValue"],optionalMethodList:["isPopup","isCancelBeforeStart","isCancelAfterEnd","getPopupPosition","focusIn","focusOut","afterGuiAttached"]},innerRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},fullWidthCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},pinnedRowCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},groupRowRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},filter:{mandatoryMethodList:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethodList:["afterGuiAttached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged"]},filterComponent:{mandatoryMethodList:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethodList:["afterGuiAttached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged"]},statusPanel:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"]},toolPanel:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"]},tooltipComponent:{mandatoryMethodList:[],optionalMethodList:[]}}},t.prototype.retrieve=function(e){return this.componentMetaData[e]},ye([Object(x.a)("agComponentUtils")],t.prototype,"agComponentUtils",void 0),ye([x.e],t.prototype,"postConstruct",null),t=ye([Object(x.b)("componentMetadataProvider")],t)}(z.a),be=r(78),we=r(184),Ce=r(152),Oe=r(139),Se=r(9),Ee=r(18),xe=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Re=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Te=function(e,t){return function(r,o){t(r,o,e)}},Ae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.scrollY=0,t.uiBodyHeight=0,t}return xe(t,e),t.prototype.agWire=function(e){this.logger=e.create("RowContainerHeightService")},t.prototype.postConstruct=function(){this.addManagedListener(this.eventService,Se.a.EVENT_BODY_HEIGHT_CHANGED,this.updateOffset.bind(this)),this.maxDivHeight=Object(Ee.getMaxDivHeight)(),this.logger.log("maxDivHeight = "+this.maxDivHeight)},t.prototype.isStretching=function(){return this.stretching},t.prototype.getDivStretchOffset=function(){return this.divStretchOffset},t.prototype.updateOffset=function(){if(this.stretching){var e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition().top,t=this.getUiBodyHeight();(e!==this.scrollY||t!==this.uiBodyHeight)&&(this.scrollY=e,this.uiBodyHeight=t,this.calculateOffset())}},t.prototype.calculateOffset=function(){this.setUiContainerHeight(this.maxDivHeight),this.pixelsToShave=this.modelHeight-this.uiContainerHeight,this.maxScrollY=this.uiContainerHeight-this.uiBodyHeight;var e=this.scrollY/this.maxScrollY,t=e*this.pixelsToShave;this.logger.log("Div Stretch Offset = "+t+" ("+this.pixelsToShave+" * "+e+")"),this.setDivStretchOffset(t)},t.prototype.setUiContainerHeight=function(e){e!==this.uiContainerHeight&&(this.uiContainerHeight=e,this.eventService.dispatchEvent({type:Se.a.EVENT_ROW_CONTAINER_HEIGHT_CHANGED}))},t.prototype.clearOffset=function(){this.setUiContainerHeight(this.modelHeight),this.pixelsToShave=0,this.setDivStretchOffset(0)},t.prototype.setDivStretchOffset=function(e){var t="number"==typeof e?Math.floor(e):null;this.divStretchOffset!==t&&(this.divStretchOffset=t,this.eventService.dispatchEvent({type:Se.a.EVENT_HEIGHT_SCALE_CHANGED}))},t.prototype.setModelHeight=function(e){this.modelHeight=e,this.stretching=null!=e&&this.maxDivHeight>0&&e>this.maxDivHeight,this.stretching?this.calculateOffset():this.clearOffset()},t.prototype.getUiContainerHeight=function(){return this.uiContainerHeight},t.prototype.getRealPixelPosition=function(e){return e-this.divStretchOffset},t.prototype.getUiBodyHeight=function(){var e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition();return e.bottom-e.top},t.prototype.getScrollPositionForPixel=function(e){if(this.pixelsToShave<=0)return e;var t=e/(this.modelHeight-this.getUiBodyHeight());return this.maxScrollY*t},Re([Object(x.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),Re([Te(0,Object(x.h)("loggerFactory"))],t.prototype,"agWire",null),Re([x.e],t.prototype,"postConstruct",null),t=Re([Object(x.b)("rowContainerHeightService")],t)}(z.a),Pe=r(185),_e=r(15),De=r(7),Me=r(23),Ne=r(42),Ie=r(11),Le=r(8),ke=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Fe=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ge=function(e){function t(){var t=e.call(this)||this;return t.previousAndFirstButtonsDisabled=!1,t.nextButtonDisabled=!1,t.lastButtonDisabled=!1,t}return ke(t,e),t.prototype.postConstruct=function(){var e=this,t=this.gridOptionsWrapper.isEnableRtl();this.setTemplate(this.getTemplate()),this.btFirst.insertAdjacentElement("afterbegin",Object(Me.createIconNoSpan)(t?"last":"first",this.gridOptionsWrapper)),this.btPrevious.insertAdjacentElement("afterbegin",Object(Me.createIconNoSpan)(t?"next":"previous",this.gridOptionsWrapper)),this.btNext.insertAdjacentElement("afterbegin",Object(Me.createIconNoSpan)(t?"previous":"next",this.gridOptionsWrapper)),this.btLast.insertAdjacentElement("afterbegin",Object(Me.createIconNoSpan)(t?"first":"last",this.gridOptionsWrapper)),this.gridOptionsWrapper.isPagination()&&!this.gridOptionsWrapper.isSuppressPaginationPanel()?(this.addManagedListener(this.eventService,N.a.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),[{el:this.btFirst,fn:this.onBtFirst.bind(this)},{el:this.btPrevious,fn:this.onBtPrevious.bind(this)},{el:this.btNext,fn:this.onBtNext.bind(this)},{el:this.btLast,fn:this.onBtLast.bind(this)}].forEach((function(t){var r=t.el,o=t.fn;e.addManagedListener(r,"click",o),e.addManagedListener(r,"keydown",(function(e){e.key!==Le.a.ENTER&&e.key!==Le.a.SPACE||(e.preventDefault(),o())}))})),this.onPaginationChanged()):this.setDisplayed(!1)},t.prototype.onPaginationChanged=function(){this.enableOrDisableButtons(),this.updateRowLabels(),this.setCurrentPageLabel(),this.setTotalLabels()},t.prototype.onBtFirst=function(){this.previousAndFirstButtonsDisabled||this.paginationProxy.goToFirstPage()},t.prototype.setCurrentPageLabel=function(){var e=this.paginationProxy.getTotalPages()>0,t=this.paginationProxy.getCurrentPage(),r=e?t+1:0;this.lbCurrent.innerHTML=this.formatNumber(r)},t.prototype.formatNumber=function(e){var t=this.gridOptionsWrapper.getPaginationNumberFormatterFunc();if(t)return t({value:e});var r=this.gridOptionsWrapper.getLocaleTextFunc(),o=r("thousandSeparator",","),n=r("decimalSeparator",".");return Object(Ne.formatNumberCommas)(e,o,n)},t.prototype.getTemplate=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),t=e("page","Page"),r=e("to","to"),o=e("of","of"),n=e("firstPage","First Page"),i=e("previousPage","Previous Page"),a=e("nextPage","Next Page"),s=e("lastPage","Last Page"),l=this.getCompId();return'<div class="ag-paging-panel ag-unselectable" id="ag-'+l+'">\n <span class="ag-paging-row-summary-panel" role="status">\n <span id="ag-'+l+'-first-row" ref="lbFirstRowOnPage" class="ag-paging-row-summary-panel-number"></span>\n <span id="ag-'+l+'-to">'+r+'</span>\n <span id="ag-'+l+'-last-row" ref="lbLastRowOnPage" class="ag-paging-row-summary-panel-number"></span>\n <span id="ag-'+l+'-of">'+o+'</span>\n <span id="ag-'+l+'-row-count" ref="lbRecordCount" class="ag-paging-row-summary-panel-number"></span>\n </span>\n <span class="ag-paging-page-summary-panel" role="presentation">\n <div ref="btFirst" class="ag-paging-button" role="button" aria-label="'+n+'"></div>\n <div ref="btPrevious" class="ag-paging-button" role="button" aria-label="'+i+'"></div>\n <span class="ag-paging-description" role="status">\n <span id="ag-'+l+'-start-page">'+t+'</span>\n <span id="ag-'+l+'-start-page-number" ref="lbCurrent" class="ag-paging-number"></span>\n <span id="ag-'+l+'-of-page">'+o+'</span>\n <span id="ag-'+l+'-of-page-number" ref="lbTotal" class="ag-paging-number"></span>\n </span>\n <div ref="btNext" class="ag-paging-button" role="button" aria-label="'+a+'"></div>\n <div ref="btLast" class="ag-paging-button" role="button" aria-label="'+s+'"></div>\n </span>\n </div>'},t.prototype.onBtNext=function(){this.nextButtonDisabled||this.paginationProxy.goToNextPage()},t.prototype.onBtPrevious=function(){this.previousAndFirstButtonsDisabled||this.paginationProxy.goToPreviousPage()},t.prototype.onBtLast=function(){this.lastButtonDisabled||this.paginationProxy.goToLastPage()},t.prototype.enableOrDisableButtons=function(){var e=this.paginationProxy.getCurrentPage(),t=this.paginationProxy.isLastPageFound(),r=this.paginationProxy.getTotalPages();this.previousAndFirstButtonsDisabled=0===e,this.toggleButtonDisabled(this.btFirst,this.previousAndFirstButtonsDisabled),this.toggleButtonDisabled(this.btPrevious,this.previousAndFirstButtonsDisabled);var o=this.isZeroPagesToDisplay(),n=t&&e===r-1;this.nextButtonDisabled=n||o,this.lastButtonDisabled=!t||o||e===r-1,this.toggleButtonDisabled(this.btNext,this.nextButtonDisabled),this.toggleButtonDisabled(this.btLast,this.lastButtonDisabled)},t.prototype.toggleButtonDisabled=function(e,t){Object(Ie.setAriaDisabled)(e,t),e.classList.toggle("ag-disabled",t),t?e.removeAttribute("tabindex"):e.setAttribute("tabindex","0")},t.prototype.updateRowLabels=function(){var e,t,r=this.paginationProxy.getCurrentPage(),o=this.paginationProxy.getPageSize(),n=this.paginationProxy.isLastPageFound(),i=this.paginationProxy.isLastPageFound()?this.paginationProxy.getMasterRowCount():null;this.isZeroPagesToDisplay()?e=t=0:(t=(e=o*r+1)+o-1,n&&t>i&&(t=i)),this.lbFirstRowOnPage.innerHTML=this.formatNumber(e),this.rowNodeBlockLoader.isLoading()?this.lbLastRowOnPage.innerHTML="?":this.lbLastRowOnPage.innerHTML=this.formatNumber(t)},t.prototype.isZeroPagesToDisplay=function(){var e=this.paginationProxy.isLastPageFound(),t=this.paginationProxy.getTotalPages();return e&&0===t},t.prototype.setTotalLabels=function(){var e=this.paginationProxy.isLastPageFound(),t=this.paginationProxy.getTotalPages(),r=e?this.paginationProxy.getMasterRowCount():null;if(1===r){var o=this.paginationProxy.getRow(0);if(o&&o.group&&!(o.groupData||o.aggData))return void this.setTotalLabelsToZero()}if(e)this.lbTotal.innerHTML=this.formatNumber(t),this.lbRecordCount.innerHTML=this.formatNumber(r);else{var n=this.gridOptionsWrapper.getLocaleTextFunc()("more","more");this.lbTotal.innerHTML=n,this.lbRecordCount.innerHTML=n}},t.prototype.setTotalLabelsToZero=function(){this.lbFirstRowOnPage.innerHTML=this.formatNumber(0),this.lbCurrent.innerHTML=this.formatNumber(0),this.lbLastRowOnPage.innerHTML=this.formatNumber(0),this.lbTotal.innerHTML=this.formatNumber(0),this.lbRecordCount.innerHTML=this.formatNumber(0)},Fe([Object(x.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),Fe([Object(x.a)("rowNodeBlockLoader")],t.prototype,"rowNodeBlockLoader",void 0),Fe([Object(De.b)("btFirst")],t.prototype,"btFirst",void 0),Fe([Object(De.b)("btPrevious")],t.prototype,"btPrevious",void 0),Fe([Object(De.b)("btNext")],t.prototype,"btNext",void 0),Fe([Object(De.b)("btLast")],t.prototype,"btLast",void 0),Fe([Object(De.b)("lbRecordCount")],t.prototype,"lbRecordCount",void 0),Fe([Object(De.b)("lbFirstRowOnPage")],t.prototype,"lbFirstRowOnPage",void 0),Fe([Object(De.b)("lbLastRowOnPage")],t.prototype,"lbLastRowOnPage",void 0),Fe([Object(De.b)("lbCurrent")],t.prototype,"lbCurrent",void 0),Fe([Object(De.b)("lbTotal")],t.prototype,"lbTotal",void 0),Fe([x.e],t.prototype,"postConstruct",null),t}(_e.a),je=r(151),ze=r(32),Be=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Ve=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){e[e.Loading=0]="Loading",e[e.NoRows=1]="NoRows"}(n||(n={}));var We=function(e){function t(){var r=e.call(this,t.TEMPLATE)||this;return r.inProgress=!1,r.destroyRequested=!1,r.manuallyDisplayed=!1,r}return Be(t,e),t.prototype.updateLayoutClasses=function(e,t){var r=this.eOverlayWrapper.classList;r.toggle(ze.a.AUTO_HEIGHT,t.autoHeight),r.toggle(ze.a.NORMAL,t.normal),r.toggle(ze.a.PRINT,t.print)},t.prototype.postConstruct=function(){this.createManagedBean(new ze.b(this)),this.setDisplayed(!1),this.addManagedListener(this.eventService,Se.a.EVENT_ROW_DATA_UPDATED,this.onRowDataUpdated.bind(this)),this.addManagedListener(this.eventService,Se.a.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.gridOptionsWrapper.isRowModelDefault()&&!this.gridOptionsWrapper.getRowData()&&this.showLoadingOverlay(),this.gridApi.registerOverlayWrapperComp(this)},t.prototype.setWrapperTypeClass=function(e){var t=this.eOverlayWrapper.classList;t.toggle("ag-overlay-loading-wrapper",e===n.Loading),t.toggle("ag-overlay-no-rows-wrapper",e===n.NoRows)},t.prototype.showLoadingOverlay=function(){if(!this.gridOptionsWrapper.isSuppressLoadingOverlay()){var e=this.userComponentFactory.getLoadingOverlayCompDetails({}).newAgStackInstance();this.showOverlay(e,n.Loading)}},t.prototype.showNoRowsOverlay=function(){if(!this.gridOptionsWrapper.isSuppressNoRowsOverlay()){var e=this.userComponentFactory.getNoRowsOverlayCompDetails({}).newAgStackInstance();this.showOverlay(e,n.NoRows)}},t.prototype.showOverlay=function(e,t){var r=this;this.inProgress||(this.setWrapperTypeClass(t),this.destroyActiveOverlay(),this.inProgress=!0,e&&e.then((function(e){r.inProgress=!1,r.eOverlayWrapper.appendChild(e.getGui()),r.activeOverlay=e,r.destroyRequested&&(r.destroyRequested=!1,r.destroyActiveOverlay())})),this.manuallyDisplayed=this.columnModel.isReady()&&!this.paginationProxy.isEmpty(),this.setDisplayed(!0))},t.prototype.destroyActiveOverlay=function(){this.inProgress?this.destroyRequested=!0:this.activeOverlay&&(this.activeOverlay=this.getContext().destroyBean(this.activeOverlay),Object(de.clearElement)(this.eOverlayWrapper))},t.prototype.hideOverlay=function(){this.manuallyDisplayed=!1,this.destroyActiveOverlay(),this.setDisplayed(!1)},t.prototype.destroy=function(){this.destroyActiveOverlay(),e.prototype.destroy.call(this)},t.prototype.showOrHideOverlay=function(){var e=this.paginationProxy.isEmpty(),t=this.gridOptionsWrapper.isSuppressNoRowsOverlay();e&&!t?this.showNoRowsOverlay():this.hideOverlay()},t.prototype.onRowDataUpdated=function(){this.showOrHideOverlay()},t.prototype.onNewColumnsLoaded=function(){!this.columnModel.isReady()||this.paginationProxy.isEmpty()||this.manuallyDisplayed||this.hideOverlay()},t.TEMPLATE='\n <div class="ag-overlay" aria-hidden="true">\n <div class="ag-overlay-panel">\n <div class="ag-overlay-wrapper" ref="eOverlayWrapper"></div>\n </div>\n </div>',Ve([Object(x.a)("userComponentFactory")],t.prototype,"userComponentFactory",void 0),Ve([Object(x.a)("paginationProxy")],t.prototype,"paginationProxy",void 0),Ve([Object(x.a)("gridApi")],t.prototype,"gridApi",void 0),Ve([Object(x.a)("columnModel")],t.prototype,"columnModel",void 0),Ve([Object(De.b)("eOverlayWrapper")],t.prototype,"eOverlayWrapper",void 0),Ve([x.e],t.prototype,"postConstruct",null),t}(_e.a),He=r(167),Ue=r(83),Ke=r(84),Ye=r(82),Xe=r(162),qe=r(165),Qe=r(197),Ze=r(163),Je=r(164),$e=r(85),et=r(166),tt=r(161),rt=r(186),ot=r(187),nt=r(156),it=r(17),at=r(16),st=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),lt=function(e){this.cellValueChanges=e},ct=function(e){function t(t,r,o,n){var i=e.call(this,t)||this;return i.initialRange=r,i.finalRange=o,i.ranges=n,i}return st(t,e),t}(lt),ut=function(){function e(t){this.actionStack=[],this.maxStackSize=t||e.DEFAULT_STACK_SIZE,this.actionStack=new Array(this.maxStackSize)}return e.prototype.pop=function(){return this.actionStack.pop()},e.prototype.push=function(e){e.cellValueChanges&&e.cellValueChanges.length>0&&(this.actionStack.length===this.maxStackSize&&this.actionStack.shift(),this.actionStack.push(e))},e.prototype.clear=function(){this.actionStack=[]},e.prototype.getCurrentStackSize=function(){return this.actionStack.length},e.DEFAULT_STACK_SIZE=10,e}(),pt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),dt=function(){return(dt=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},gt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ht=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},ft=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(ht(arguments[t]));return e},vt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellValueChanges=[],t.activeCellEdit=null,t.activeRowEdit=null,t.isPasting=!1,t.isRangeInAction=!1,t.onCellValueChanged=function(e){var r={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned},o=null!==t.activeCellEdit&&t.cellPositionUtils.equals(t.activeCellEdit,r),n=null!==t.activeRowEdit&&t.rowPositionUtils.sameRow(t.activeRowEdit,r);if(o||n||t.isPasting||t.isRangeInAction){var i=e.rowPinned,a=e.rowIndex,s=e.column,l=e.oldValue,c=e.value,u={rowPinned:i,rowIndex:a,columnId:s.getColId(),newValue:c,oldValue:l};t.cellValueChanges.push(u)}},t.clearStacks=function(){t.undoStack.clear(),t.redoStack.clear()},t}return pt(t,e),t.prototype.init=function(){var e=this;if(this.gridOptionsWrapper.isUndoRedoCellEditing()){var t=this.gridOptionsWrapper.getUndoRedoCellEditingLimit();t<=0||(this.undoStack=new ut(t),this.redoStack=new ut(t),this.addRowEditingListeners(),this.addCellEditingListeners(),this.addPasteListeners(),this.addFillListeners(),this.addCellKeyListeners(),this.addManagedListener(this.eventService,Se.a.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged),this.addManagedListener(this.eventService,Se.a.EVENT_MODEL_UPDATED,(function(t){t.keepUndoRedoStack||e.clearStacks()})),this.addManagedListener(this.eventService,Se.a.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,Se.a.EVENT_NEW_COLUMNS_LOADED,this.clearStacks),this.addManagedListener(this.eventService,Se.a.EVENT_COLUMN_GROUP_OPENED,this.clearStacks),this.addManagedListener(this.eventService,Se.a.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,Se.a.EVENT_COLUMN_MOVED,this.clearStacks),this.addManagedListener(this.eventService,Se.a.EVENT_COLUMN_PINNED,this.clearStacks),this.addManagedListener(this.eventService,Se.a.EVENT_COLUMN_VISIBLE,this.clearStacks),this.addManagedListener(this.eventService,Se.a.EVENT_ROW_DRAG_END,this.clearStacks),this.ctrlsService.whenReady((function(){e.gridBodyCtrl=e.ctrlsService.getGridBodyCtrl()})))}},t.prototype.getCurrentUndoStackSize=function(){return this.undoStack?this.undoStack.getCurrentStackSize():0},t.prototype.getCurrentRedoStackSize=function(){return this.redoStack?this.redoStack.getCurrentStackSize():0},t.prototype.undo=function(){if(this.undoStack){var e=this.undoStack.pop();e&&e.cellValueChanges&&(this.processAction(e,(function(e){return e.oldValue})),e instanceof ct?this.processRange(e.ranges||[e.initialRange]):this.processCell(e.cellValueChanges),this.redoStack.push(e))}},t.prototype.redo=function(){if(this.redoStack){var e=this.redoStack.pop();e&&e.cellValueChanges&&(this.processAction(e,(function(e){return e.newValue})),e instanceof ct?this.processRange(e.ranges||[e.finalRange]):this.processCell(e.cellValueChanges),this.undoStack.push(e))}},t.prototype.processAction=function(e,t){var r=this;e.cellValueChanges.forEach((function(e){var o,n=e.rowIndex,i=e.rowPinned,a=e.columnId,s={rowIndex:n,rowPinned:i},l=r.getRowNode(s);if(l.displayed){var c=t(e),u="function"==typeof(null===(o=c)||void 0===o?void 0:o.toString)?c.toString():c;l.setDataValue(a,u)}}))},t.prototype.processRange=function(e){var t,r=this;this.rangeService.removeAllCellRanges(!0),e.forEach((function(o,n){if(o){var i=o.startRow,a=o.endRow;n===e.length-1&&(t={rowPinned:i.rowPinned,rowIndex:i.rowIndex,columnId:o.startColumn.getColId()},r.setLastFocusedCell(t));var s={rowStartIndex:i.rowIndex,rowStartPinned:i.rowPinned,rowEndIndex:a.rowIndex,rowEndPinned:a.rowPinned,columnStart:o.startColumn,columns:o.columns};r.rangeService.addCellRange(s)}}))},t.prototype.processCell=function(e){var t=e[0],r={rowIndex:t.rowIndex,rowPinned:t.rowPinned},o=this.getRowNode(r),n={rowPinned:t.rowPinned,rowIndex:o.rowIndex,columnId:t.columnId};this.setLastFocusedCell(n,!0)},t.prototype.setLastFocusedCell=function(e,t){var r=e.rowIndex,o=e.columnId,n=e.rowPinned,i=this.gridBodyCtrl.getScrollFeature(),a=this.columnModel.getGridColumn(o);if(a){i.ensureIndexVisible(r),i.ensureColumnVisible(a);var s={rowIndex:r,column:a,rowPinned:n};this.focusService.setFocusedCell(dt(dt({},s),{forceBrowserFocus:!0})),t&&this.rangeService.setRangeToCell(s)}},t.prototype.addRowEditingListeners=function(){var e=this;this.addManagedListener(this.eventService,Se.a.EVENT_ROW_EDITING_STARTED,(function(t){e.activeRowEdit={rowIndex:t.rowIndex,rowPinned:t.rowPinned}})),this.addManagedListener(this.eventService,Se.a.EVENT_ROW_EDITING_STOPPED,(function(){var t=new lt(e.cellValueChanges);e.pushActionsToUndoStack(t),e.activeRowEdit=null}))},t.prototype.addCellEditingListeners=function(){var e=this;this.addManagedListener(this.eventService,Se.a.EVENT_CELL_EDITING_STARTED,(function(t){e.activeCellEdit={column:t.column,rowIndex:t.rowIndex,rowPinned:t.rowPinned}})),this.addManagedListener(this.eventService,Se.a.EVENT_CELL_EDITING_STOPPED,(function(t){if(e.activeCellEdit=null,t.valueChanged&&!e.activeRowEdit&&!e.isPasting&&!e.isRangeInAction){var r=new lt(e.cellValueChanges);e.pushActionsToUndoStack(r)}}))},t.prototype.addPasteListeners=function(){var e=this;this.addManagedListener(this.eventService,Se.a.EVENT_PASTE_START,(function(){e.isPasting=!0})),this.addManagedListener(this.eventService,Se.a.EVENT_PASTE_END,(function(){var t=new lt(e.cellValueChanges);e.pushActionsToUndoStack(t),e.isPasting=!1}))},t.prototype.addFillListeners=function(){var e=this;this.addManagedListener(this.eventService,Se.a.EVENT_FILL_START,(function(){e.isRangeInAction=!0})),this.addManagedListener(this.eventService,Se.a.EVENT_FILL_END,(function(t){var r=new ct(e.cellValueChanges,t.initialRange,t.finalRange);e.pushActionsToUndoStack(r),e.isRangeInAction=!1}))},t.prototype.addCellKeyListeners=function(){var e=this;this.addManagedListener(this.eventService,Se.a.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,(function(){e.isRangeInAction=!0})),this.addManagedListener(this.eventService,Se.a.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,(function(){var t;t=e.rangeService&&e.gridOptionsWrapper.isEnableRangeSelection()?new ct(e.cellValueChanges,void 0,void 0,ft(e.rangeService.getCellRanges())):new lt(e.cellValueChanges),e.pushActionsToUndoStack(t),e.isRangeInAction=!1}))},t.prototype.pushActionsToUndoStack=function(e){this.undoStack.push(e),this.cellValueChanges=[],this.redoStack.clear()},t.prototype.getRowNode=function(e){switch(e.rowPinned){case X.a.PINNED_TOP:return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case X.a.PINNED_BOTTOM:return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}},gt([Object(x.a)("focusService")],t.prototype,"focusService",void 0),gt([Object(x.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),gt([Object(x.a)("rowModel")],t.prototype,"rowModel",void 0),gt([Object(x.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),gt([Object(x.a)("cellPositionUtils")],t.prototype,"cellPositionUtils",void 0),gt([Object(x.a)("rowPositionUtils")],t.prototype,"rowPositionUtils",void 0),gt([Object(x.a)("columnModel")],t.prototype,"columnModel",void 0),gt([Object(x.d)("rangeService")],t.prototype,"rangeService",void 0),gt([x.e],t.prototype,"init",null),t=gt([Object(x.b)("undoRedoService")],t)}(z.a),yt=r(121),mt=r(188),bt=r(53),wt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ct=function(){function e(){}return e.prototype.buildColumnDefs=function(e,t,r){var o=this,n=[],i={};return e.forEach((function(e){for(var a=!0,s=o.createDefFromColumn(e,t,r),l=e.getOriginalParent();l;){var c=null;if(l.isPadding())l=l.getOriginalParent();else{var u=i[l.getGroupId()];if(u){u.children.push(s),a=!1;break}(c=o.createDefFromGroup(l))&&(c.children=[s],i[c.groupId]=c,s=c,l=l.getOriginalParent())}}a&&n.push(s)})),n},e.prototype.createDefFromGroup=function(e){var t=Object(q.deepCloneDefinition)(e.getColGroupDef(),["children"]);return t&&(t.groupId=e.getGroupId()),t},e.prototype.createDefFromColumn=function(e,t,r){var o=Object(q.deepCloneDefinition)(e.getColDef());return o.colId=e.getColId(),o.width=e.getActualWidth(),o.rowGroup=e.isRowGroupActive(),o.rowGroupIndex=e.isRowGroupActive()?t.indexOf(e):null,o.pivot=e.isPivotActive(),o.pivotIndex=e.isPivotActive()?r.indexOf(e):null,o.aggFunc=e.isValueActive()?e.getAggFunc():null,o.hide=!e.isVisible()||void 0,o.pinned=e.isPinned()?e.getPinned():null,o.sort=e.getSort()?e.getSort():null,o.sortIndex=null!=e.getSortIndex()?e.getSortIndex():null,o},e=wt([Object(x.b)("columnDefFactory")],e)}(),Ot=r(10),St=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Et=function(){function e(){}return e.prototype.getInitialRowClasses=function(e){var t=[];return Object(Q.exists)(e.extraCssClass)&&t.push(e.extraCssClass),t.push("ag-row"),t.push(e.rowFocused?"ag-row-focus":"ag-row-no-focus"),e.fadeRowIn&&t.push("ag-opacity-zero"),t.push(e.rowIsEven?"ag-row-even":"ag-row-odd"),e.rowNode.isRowPinned()&&t.push("ag-row-pinned"),e.rowNode.isSelected()&&t.push("ag-row-selected"),e.rowNode.footer&&t.push("ag-row-footer"),t.push("ag-row-level-"+e.rowLevel),e.rowNode.stub&&t.push("ag-row-loading"),e.fullWidthRow&&t.push("ag-full-width-row"),e.expandable&&(t.push("ag-row-group"),t.push(e.rowNode.expanded?"ag-row-group-expanded":"ag-row-group-contracted")),e.rowNode.dragging&&t.push("ag-row-dragging"),Object(Ot.pushAll)(t,this.processClassesFromGridOptions(e.rowNode)),Object(Ot.pushAll)(t,this.preProcessRowClassRules(e.rowNode)),t.push(e.printLayout?"ag-row-position-relative":"ag-row-position-absolute"),e.firstRowOnPage&&t.push("ag-row-first"),e.lastRowOnPage&&t.push("ag-row-last"),e.fullWidthRow&&(e.pinned===X.a.PINNED_LEFT&&t.push("ag-cell-last-left-pinned"),e.pinned===X.a.PINNED_RIGHT&&t.push("ag-cell-first-right-pinned")),t},e.prototype.processClassesFromGridOptions=function(e){var t=[],r=function(e){"string"==typeof e?t.push(e):Array.isArray(e)&&e.forEach((function(e){return t.push(e)}))},o=this.gridOptionsWrapper.getRowClass();if(o){if("function"==typeof o)return console.warn("AG Grid: rowClass should not be a function, please use getRowClass instead"),[];r(o)}var n=this.gridOptionsWrapper.getRowClassFunc();n&&r(n({data:e.data,node:e,rowIndex:e.rowIndex}));return t},e.prototype.preProcessRowClassRules=function(e){var t=[];return this.processRowClassRules(e,(function(e){t.push(e)}),(function(e){})),t},e.prototype.processRowClassRules=function(e,t,r){var o={data:e.data,node:e,rowIndex:e.rowIndex,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};this.stylingService.processClassRules(this.gridOptionsWrapper.rowClassRules(),o,t,r)},e.prototype.calculateRowLevel=function(e){return e.group?e.level:e.parent?e.parent.level+1:0},St([Object(x.a)("stylingService")],e.prototype,"stylingService",void 0),St([Object(x.a)("gridOptionsWrapper")],e.prototype,"gridOptionsWrapper",void 0),e=St([Object(x.b)("rowCssClassCalculator")],e)}(),xt=r(157),Rt=r(189),Tt=r(190),At=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Pt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},_t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.registry={},t}return At(t,e),t.prototype.register=function(e){this.registry[e.controllerName]=e.controllerClass},t.prototype.getInstance=function(e){var t=this.registry[e];if(null!=t)return new t},t=Pt([Object(x.b)("ctrlsFactory")],t)}(z.a),Dt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Mt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Nt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(t,e),t.prototype.setComp=function(e,t,r,o){this.view=e,this.eViewport=r,this.eContainer=o,this.eGui=t,this.addManagedListener(this.eventService,Se.a.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this));var n=this.setFakeHScrollSpacerWidths.bind(this);this.addManagedListener(this.eventService,Se.a.EVENT_DISPLAYED_COLUMNS_CHANGED,n),this.addManagedListener(this.eventService,Se.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,n),this.addManagedListener(this.gridOptionsWrapper,i.a.PROP_DOM_LAYOUT,n),this.addManagedListener(this.eventService,Se.a.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.onScrollVisibilityChanged(),this.ctrlsService.registerFakeHScrollCtrl(this),this.view.addOrRemoveCssClass("ag-apple-scrollbar",Object(Ee.isMacOsUserAgent)()||Object(Ee.isIOSUserAgent)())},t.prototype.addActiveListenerToggles=function(){var e=this;["mouseenter","mousedown","touchstart"].forEach((function(t){return e.addManagedListener(e.eGui,t,(function(){return e.view.addOrRemoveCssClass("ag-scrollbar-active",!0)}))})),["mouseleave","touchend"].forEach((function(t){return e.addManagedListener(e.eGui,t,(function(){return e.view.addOrRemoveCssClass("ag-scrollbar-active",!1)}))}))},t.prototype.initialiseInvisibleScrollbar=function(){void 0===this.invisibleScrollbar&&(this.enableRtl=this.gridOptionsWrapper.isEnableRtl(),this.invisibleScrollbar=Object(Ee.isInvisibleScrollbar)(),this.invisibleScrollbar&&(this.hideAndShowInvisibleScrollAsNeeded(),this.addActiveListenerToggles(),this.refreshCompBottom()))},t.prototype.onPinnedRowDataChanged=function(){this.refreshCompBottom()},t.prototype.refreshCompBottom=function(){if(this.invisibleScrollbar){var e=this.pinnedRowModel.getPinnedBottomTotalHeight();this.view.setBottom(e)}},t.prototype.onScrollVisibilityChanged=function(){void 0===this.invisibleScrollbar&&this.initialiseInvisibleScrollbar(),this.setScrollVisible(),this.setFakeHScrollSpacerWidths()},t.prototype.hideAndShowInvisibleScrollAsNeeded=function(){var e=this;this.addManagedListener(this.eventService,Se.a.EVENT_BODY_SCROLL,(function(t){"horizontal"===t.direction&&e.view.addOrRemoveCssClass("ag-scrollbar-scrolling",!0)})),this.addManagedListener(this.eventService,Se.a.EVENT_BODY_SCROLL_END,(function(){return e.view.addOrRemoveCssClass("ag-scrollbar-scrolling",!1)}))},t.prototype.setFakeHScrollSpacerWidths=function(){var e=this.scrollVisibleService.isVerticalScrollShowing(),t=this.columnModel.getDisplayedColumnsRightWidth(),r=!this.enableRtl&&e,o=this.gridOptionsWrapper.getScrollbarWidth();r&&(t+=o),this.view.setRightSpacerFixedWidth(t),this.view.includeRightSpacerScrollerCss("ag-scroller-corner",t<=o);var n=this.columnModel.getDisplayedColumnsLeftWidth();this.enableRtl&&e&&(n+=o),this.view.setLeftSpacerFixedWidth(n),this.view.includeLeftSpacerScrollerCss("ag-scroller-corner",n<=o)},t.prototype.setScrollVisible=function(){var e=this.scrollVisibleService.isHorizontalScrollShowing(),t=this.invisibleScrollbar,r=this.gridOptionsWrapper.isSuppressHorizontalScroll(),o=e&&this.gridOptionsWrapper.getScrollbarWidth()||0,n=r?0:0===o&&t?15:o;this.view.addOrRemoveCssClass("ag-scrollbar-invisible",t),this.view.setHeight(n),this.view.setViewportHeight(n),this.view.setContainerHeight(n),this.view.addOrRemoveCssClass("ag-hidden",!e)},t.prototype.getViewport=function(){return this.eViewport},t.prototype.getContainer=function(){return this.eContainer},Mt([Object(x.a)("scrollVisibleService")],t.prototype,"scrollVisibleService",void 0),Mt([Object(x.a)("columnModel")],t.prototype,"columnModel",void 0),Mt([Object(x.a)("ctrlsService")],t.prototype,"ctrlsService",void 0),Mt([Object(x.a)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),t}(z.a),It=r(92),Lt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),kt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ft=function(e){function t(){return e.call(this,t.TEMPLATE)||this}return Lt(t,e),t.prototype.postConstruct=function(){var e=this,t={addOrRemoveCssClass:function(t,r){return e.addOrRemoveCssClass(t,r)},setHeight:function(t){return Object(de.setFixedHeight)(e.getGui(),t)},setBottom:function(t){return e.getGui().style.bottom=t+"px"},setContainerHeight:function(t){return Object(de.setFixedHeight)(e.eContainer,t)},setViewportHeight:function(t){return Object(de.setFixedHeight)(e.eViewport,t)},setRightSpacerFixedWidth:function(t){return Object(de.setFixedWidth)(e.eRightSpacer,t)},setLeftSpacerFixedWidth:function(t){return Object(de.setFixedWidth)(e.eLeftSpacer,t)},includeLeftSpacerScrollerCss:function(t,r){return e.eLeftSpacer.classList.toggle(t,r)},includeRightSpacerScrollerCss:function(t,r){return e.eRightSpacer.classList.toggle(t,r)}};this.createManagedBean(new Nt).setComp(t,this.getGui(),this.eViewport,this.eContainer),this.createManagedBean(new It.a((function(t){return e.eContainer.style.width=t+"px"})))},t.TEMPLATE='<div class="ag-body-horizontal-scroll" aria-hidden="true">\n <div class="ag-horizontal-left-spacer" ref="eLeftSpacer"></div>\n <div class="ag-body-horizontal-scroll-viewport" ref="eViewport">\n <div class="ag-body-horizontal-scroll-container" ref="eContainer"></div>\n </div>\n <div class="ag-horizontal-right-spacer" ref="eRightSpacer"></div>\n </div>',kt([Object(De.b)("eLeftSpacer")],t.prototype,"eLeftSpacer",void 0),kt([Object(De.b)("eRightSpacer")],t.prototype,"eRightSpacer",void 0),kt([Object(De.b)("eViewport")],t.prototype,"eViewport",void 0),kt([Object(De.b)("eContainer")],t.prototype,"eContainer",void 0),kt([x.e],t.prototype,"postConstruct",null),t}(_e.a),Gt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),jt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Gt(t,e),t.prototype.postConstruct=function(){var e=this.checkContainerWidths.bind(this);this.addManagedListener(this.eventService,Se.a.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,Se.a.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.addManagedListener(this.gridOptionsWrapper,i.a.PROP_DOM_LAYOUT,e)},t.prototype.checkContainerWidths=function(){var e=this.gridOptionsWrapper.getDomLayout()===X.a.DOM_LAYOUT_PRINT,t=e?0:this.columnModel.getDisplayedColumnsLeftWidth(),r=e?0:this.columnModel.getDisplayedColumnsRightWidth();t!=this.leftWidth&&(this.leftWidth=t,this.eventService.dispatchEvent({type:Se.a.EVENT_LEFT_PINNED_WIDTH_CHANGED})),r!=this.rightWidth&&(this.rightWidth=r,this.eventService.dispatchEvent({type:Se.a.EVENT_RIGHT_PINNED_WIDTH_CHANGED}))},t.prototype.getPinnedRightWidth=function(){return this.rightWidth},t.prototype.getPinnedLeftWidth=function(){return this.leftWidth},jt([Object(x.a)("columnModel")],t.prototype,"columnModel",void 0),jt([x.e],t.prototype,"postConstruct",null),t=jt([Object(x.b)("pinnedWidthService")],t)}(z.a),Bt=r(195),Vt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),Wt=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ht=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.events=[],t}return Vt(t,e),t.prototype.postConstruct=function(){this.rowModel.getType()==X.a.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel)},t.prototype.dispatchExpanded=function(e){var t=this;if(null!=this.clientSideRowModel){this.events.push(e);null==this.dispatchExpandedDebounced&&(this.dispatchExpandedDebounced=this.animationFrameService.debounce((function(){t.clientSideRowModel&&t.clientSideRowModel.onRowGroupOpened(),t.events.forEach((function(e){return t.eventService.dispatchEvent(e)})),t.events=[]}))),this.dispatchExpandedDebounced()}else this.eventService.dispatchEvent(e)},Wt([Object(x.a)("animationFrameService")],t.prototype,"animationFrameService",void 0),Wt([Object(x.a)("rowModel")],t.prototype,"rowModel",void 0),Wt([x.e],t.prototype,"postConstruct",null),t=Wt([Object(x.b)("rowNodeEventThrottle")],t)}(z.a),Ut=r(150),Kt=r(65),Yt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a},Xt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Yt(arguments[t]));return e},qt=function(){function e(e,t,r){t?(this.gridOptions=t,(new Qt).create(e,t,(function(t){var r=new R.a(e);t.createBean(r)}),void 0,r)):console.error("AG Grid: no gridOptions provided to the grid")}return e.prototype.destroy=function(){this.gridOptions&&this.gridOptions.api&&this.gridOptions.api.destroy()},e}(),Qt=function(){function e(){}return e.prototype.create=function(e,t,r,o,n){var i=this,a=!!t.debug,s=this.getRegisteredModules(n),l=this.createBeansList(t.rowModelType,s),c=this.createProvidedBeans(e,t,n);if(l){var u={providedBeanInstances:c,beanClasses:l,debug:a},p=new C.a("AG Grid",(function(){return t.debug})),d=new C.a("Context",(function(){return u.debug})),g=new x.c(u,d),h=g.getBean("beans");this.registerModuleUserComponents(h,s),this.registerStackComponents(h,s),this.registerControllers(h,s),r(g),h.ctrlsService.whenReady((function(){i.setColumnsAndData(h),i.dispatchGridReadyEvent(h);var e=it.a.isRegistered(at.a.EnterpriseCoreModule);p.log("initialised successfully, enterprise = "+e)})),o&&o(g)}},e.prototype.registerControllers=function(e,t){t.forEach((function(t){t.controllers&&t.controllers.forEach((function(t){return e.ctrlsFactory.register(t)}))}))},e.prototype.registerStackComponents=function(e,t){var r=this.createAgStackComponentsList(t);e.agStackComponentsRegistry.setupComponents(r)},e.prototype.getRegisteredModules=function(e){var t=e?e.modules:null,r=it.a.getRegisteredModules(),o=[],n={};function i(e,t){var r;n[(r=t).moduleName]||(n[r.moduleName]=!0,o.push(r),it.a.register(r,e)),t.dependantModules&&t.dependantModules.forEach(i.bind(null,e))}return t&&t.forEach(i.bind(null,!0)),r&&r.forEach(i.bind(null,!it.a.isPackageBased())),o},e.prototype.registerModuleUserComponents=function(e,t){this.extractModuleEntity(t,(function(e){return e.userComponents?e.userComponents:[]})).forEach((function(t){e.userComponentRegistry.registerDefaultComponent(t.componentName,t.componentClass)}))},e.prototype.createProvidedBeans=function(e,t,r){var o=r?r.frameworkOverrides:null;Object(Q.missing)(o)&&(o=new F.a);var n={gridOptions:t,eGridDiv:e,globalEventListener:r?r.globalEventListener:null,frameworkOverrides:o};return r&&r.providedBeanInstances&&Object.assign(n,r.providedBeanInstances),n},e.prototype.createAgStackComponentsList=function(e){var t=[{componentName:"AgCheckbox",componentClass:L.a},{componentName:"AgRadioButton",componentClass:k.a},{componentName:"AgToggleButton",componentClass:tt.a},{componentName:"AgInputTextField",componentClass:Ye.a},{componentName:"AgInputTextArea",componentClass:Xe.a},{componentName:"AgInputNumberField",componentClass:Ze.a},{componentName:"AgInputRange",componentClass:Je.a},{componentName:"AgSelect",componentClass:$e.a},{componentName:"AgSlider",componentClass:qe.a},{componentName:"AgAngleSelect",componentClass:et.a},{componentName:"AgColorPicker",componentClass:Qe.a},{componentName:"AgGridBody",componentClass:h.a},{componentName:"AgHeaderRoot",componentClass:u.a},{componentName:"AgSortIndicator",componentClass:Kt.a},{componentName:"AgPagination",componentClass:Ge},{componentName:"AgOverlayWrapper",componentClass:We},{componentName:"AgGroupComponent",componentClass:He.a},{componentName:"AgPanel",componentClass:Ke.a},{componentName:"AgDialog",componentClass:Ue.a},{componentName:"AgRowContainer",componentClass:Bt.a},{componentName:"AgFakeHorizontalScroll",componentClass:Ft}],r=this.extractModuleEntity(e,(function(e){return e.agStackComponents?e.agStackComponents:[]}));return t=t.concat(r)},e.prototype.createBeansList=function(e,t){var r=this.getRowModelClass(e,t);if(r){var o=[r,be.a,rt.a,ot.a,mt.a,oe,f.a,pe.a,fe,me,je.a,ue.a,Ae,E.a,nt.a,A.a,y.a,g.a,i.a,w.a,a.a,p.a,l.a,bt.b,ee.a,c.a,m.a,v.a,b.a,ce.a,Oe.a,ne.a,d.a,C.b,O.a,S.a,Ut.a,T.a,s.a,_.a,D.a,we.a,M.a,I.a,j.a,G.a,P.a,W,K,Pe.a,$,le,Ce.a,vt,yt.a,Ct,Et,xt.a,Rt.a,Tt.a,zt,Ht,_t],n=this.extractModuleEntity(t,(function(e){return e.beans?e.beans:[]}));o.push.apply(o,Xt(n));var u=[];return o.forEach((function(e){u.indexOf(e)<0&&u.push(e)})),u}},e.prototype.extractModuleEntity=function(e,t){return[].concat.apply([],Xt(e.map(t)))},e.prototype.setColumnsAndData=function(e){var t=e.gridOptionsWrapper.getColumnDefs();e.columnModel.setColumnDefs(t||[],"gridInitializing"),e.rowModel.start()},e.prototype.dispatchGridReadyEvent=function(e){var t={type:N.a.EVENT_GRID_READY};e.eventService.dispatchEvent(t)},e.prototype.getRowModelClass=function(e,t){e||(e=X.a.ROW_MODEL_TYPE_CLIENT_SIDE);var r={};t.forEach((function(e){Object(q.iterateObject)(e.rowModels,(function(e,t){r[e]=t}))}));var o=r[e];if(Object(Q.exists)(o))return o;it.a.isPackageBased()?[X.a.ROW_MODEL_TYPE_VIEWPORT,X.a.ROW_MODEL_TYPE_SERVER_SIDE].includes(e)?console.error('AG Grid: Row Model "'+e+"\" not found. Please ensure the package 'ag-grid-enterprise' is imported. Please see: https://www.ag-grid.com/javascript-grid/packages/"):console.error("AG Grid: could not find row model for rowModelType "+e):e===X.a.ROW_MODEL_TYPE_INFINITE?console.error('AG Grid: Row Model "Infinite" not found. Please ensure the '+at.a.InfiniteRowModelModule+" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/"):e===X.a.ROW_MODEL_TYPE_VIEWPORT?console.error('AG Grid: Row Model "Viewport" not found. Please ensure the AG Grid Enterprise Module '+at.a.ViewportRowModelModule+" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/"):e===X.a.ROW_MODEL_TYPE_SERVER_SIDE?console.error('AG Grid: Row Model "Server Side" not found. Please ensure the AG Grid Enterprise Module '+at.a.ServerSideRowModelModule+" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/"):e===X.a.ROW_MODEL_TYPE_CLIENT_SIDE?console.error('AG Grid: Row Model "Client Side" not found. Please ensure the '+at.a.ClientSideRowModelModule+" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/"):console.error("AG Grid: could not find row model for rowModelType "+e)},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o,n=r(7),i=r(39),a=r(5),s=r(11),l=r(13),c=r(8),u=r(15),p=r(1),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),g=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},h=function(e){function t(r){var o=e.call(this,t.getTemplate(r.cssClass))||this;return o.items=[],o.tabbedItemScrollMap=new Map,o.params=r,r.items&&r.items.forEach((function(e){return o.addItem(e)})),o}return d(t,e),t.prototype.postConstruct=function(){this.createManagedBean(new i.a(this.getFocusableElement(),{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this)}))},t.getTemplate=function(e){return'<div class="ag-tabs '+e+'">\n <div ref="eHeader" role="tablist" class="ag-tabs-header '+(e?e+"-header":"")+'"></div>\n <div ref="eBody" role="presentation" class="ag-tabs-body '+(e?e+"-body":"")+'"></div>\n </div>'},t.prototype.handleKeyDown=function(e){var t=this.gridOptionsWrapper.getDocument();switch(e.key){case c.a.RIGHT:case c.a.LEFT:if(!this.eHeader.contains(t.activeElement))return;var r=e.key===c.a.RIGHT,o=this.gridOptionsWrapper.isEnableRtl(),n=this.items.indexOf(this.activeItem),i=r!==o?Math.min(n+1,this.items.length-1):Math.max(n-1,0);if(n===i)return;e.preventDefault();var a=this.items[i];this.showItemWrapper(a),a.eHeaderButton.focus();break;case c.a.UP:case c.a.DOWN:e.stopPropagation()}},t.prototype.onTabKeyDown=function(e){if(!e.defaultPrevented){var t=this.focusService,r=this.eHeader,o=this.eBody,n=this.activeItem,i=this.gridOptionsWrapper.getDocument().activeElement;if(e.preventDefault(),r.contains(i))t.focusInto(o,e.shiftKey);else if(t.isFocusUnderManagedComponent(o))n.eHeaderButton.focus();else{var a=t.findNextFocusableElement(o,!1,e.shiftKey);a?a.focus():n.eHeaderButton.focus()}}},t.prototype.setAfterAttachedParams=function(e){this.afterAttachedParams=e},t.prototype.showFirstItem=function(){this.items.length>0&&this.showItemWrapper(this.items[0])},t.prototype.addItem=function(e){var t=document.createElement("span");Object(s.setAriaRole)(t,"tab"),t.setAttribute("tabIndex","-1"),t.appendChild(e.title),t.classList.add("ag-tab"),this.eHeader.appendChild(t),Object(s.setAriaLabel)(t,e.titleLabel);var r={tabbedItem:e,eHeaderButton:t};this.items.push(r),t.addEventListener("click",this.showItemWrapper.bind(this,r))},t.prototype.showItem=function(e){var t=this.items.find((function(t){return t.tabbedItem===e}));t&&this.showItemWrapper(t)},t.prototype.showItemWrapper=function(e){var t=this,r=e.tabbedItem,o=e.eHeaderButton;this.params.onItemClicked&&this.params.onItemClicked({item:r}),this.activeItem!==e?(this.lastScrollListener&&(this.lastScrollListener=this.lastScrollListener()),Object(a.clearElement)(this.eBody),r.bodyPromise.then((function(e){t.eBody.appendChild(e);var o=!t.focusService.isKeyboardMode();if(t.focusService.focusInto(t.eBody,!1,o),r.afterAttachedCallback&&r.afterAttachedCallback(t.afterAttachedParams),t.params.keepScrollPosition){var n=r.getScrollableContainer&&r.getScrollableContainer()||e;t.lastScrollListener=t.addManagedListener(n,"scroll",(function(){t.tabbedItemScrollMap.set(r.name,n.scrollTop)}));var i=t.tabbedItemScrollMap.get(r.name);void 0!==i&&setTimeout((function(){n.scrollTop=i}),0)}})),this.activeItem&&this.activeItem.eHeaderButton.classList.remove("ag-tab-selected"),o.classList.add("ag-tab-selected"),this.activeItem=e):Object(l.callIfPresent)(this.params.onActiveItemClicked)},g([Object(p.a)("focusService")],t.prototype,"focusService",void 0),g([Object(n.b)("eHeader")],t.prototype,"eHeader",void 0),g([Object(n.b)("eBody")],t.prototype,"eBody",void 0),g([p.e],t.prototype,"postConstruct",null),t}(u.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(24);function n(e){return new o.a((function(t){var r=new XMLHttpRequest;r.open("GET",e.url),r.send(),r.onreadystatechange=function(){4===r.readyState&&200===r.status&&t(JSON.parse(r.responseText))}}))}},function(e,t,r){"use strict";var o;r.d(t,"a",(function(){return o})),function(e){e.Applied="Applied",e.StoreNotFound="StoreNotFound",e.StoreLoading="StoreLoading",e.StoreWaitingToLoad="StoreWaitingToLoad",e.StoreLoadingFailed="StoreLoadingFailed",e.StoreWrongType="StoreWrongType",e.Cancelled="Cancelled"}(o||(o={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var o,n=r(1),i=r(7),a=r(11),s=r(8),l=r(13),c=r(57),u=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(r,o,n){void 0===r&&(r="default"),void 0===o&&(o="listbox");var i=e.call(this,t.getTemplate(r))||this;return i.cssIdentifier=r,i.ariaRole=o,i.listName=n,i.renderedRows=new Map,i.rowHeight=20,i}return u(t,e),t.prototype.postConstruct=function(){var e=this;this.addScrollListener(),this.rowHeight=this.getItemHeight(),this.addResizeObserver(),this.initialiseTabGuard({onFocusIn:function(t){return e.onFocusIn(t)},onFocusOut:function(t){return e.onFocusOut(t)},focusInnerElement:function(t){return e.focusInnerElement(t)},onTabKeyDown:function(t){return e.onTabKeyDown(t)},handleKeyDown:function(t){return e.handleKeyDown(t)}}),this.setAriaProperties()},t.prototype.setAriaProperties=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc()("ariaDefaultListName",this.listName||"List"),t=this.eContainer;Object(a.setAriaRole)(t,this.ariaRole),Object(a.setAriaLabel)(t,e)},t.prototype.addResizeObserver=function(){var e=this.drawVirtualRows.bind(this),t=this.resizeObserverService.observeResize(this.getGui(),e);this.addDestroyFunc(t)},t.prototype.focusInnerElement=function(e){this.focusRow(e?this.model.getRowCount()-1:0)},t.prototype.onFocusIn=function(e){var t=e.target;return t.classList.contains("ag-virtual-list-item")&&(this.lastFocusedRowIndex=Object(a.getAriaPosInSet)(t)-1),!1},t.prototype.onFocusOut=function(e){return this.getFocusableElement().contains(e.relatedTarget)||(this.lastFocusedRowIndex=null),!1},t.prototype.handleKeyDown=function(e){switch(e.key){case s.a.UP:case s.a.DOWN:this.navigate(e.key===s.a.UP)&&e.preventDefault()}},t.prototype.onTabKeyDown=function(e){this.navigate(e.shiftKey)?e.preventDefault():this.focusService.focusInto(this.getGui(),!e.shiftKey)},t.prototype.navigate=function(e){if(null==this.lastFocusedRowIndex)return!1;var t=this.lastFocusedRowIndex+(e?-1:1);return!(t<0||t>=this.model.getRowCount())&&(this.focusRow(t),!0)},t.prototype.getLastFocusedRow=function(){return this.lastFocusedRowIndex},t.prototype.focusRow=function(e){var t=this;this.ensureIndexVisible(e),window.setTimeout((function(){if(t.isAlive()){var r=t.renderedRows.get(e);r&&r.eDiv.focus()}}),10)},t.prototype.getComponentAt=function(e){var t=this.renderedRows.get(e);return t&&t.rowComponent},t.prototype.forEachRenderedRow=function(e){this.renderedRows.forEach((function(t,r){return e(t.rowComponent,r)}))},t.getTemplate=function(e){return'\n <div class="ag-virtual-list-viewport ag-'+e+'-virtual-list-viewport" role="presentation">\n <div class="ag-virtual-list-container ag-'+e+'-virtual-list-container" ref="eContainer"></div>\n </div>'},t.prototype.getItemHeight=function(){return this.gridOptionsWrapper.getListItemHeight()},t.prototype.ensureIndexVisible=function(e){var t=this.model.getRowCount();if("number"!=typeof e||e<0||e>=t)console.warn("AG Grid: invalid row index for ensureIndexVisible: "+e);else{var r=e*this.rowHeight,o=r+this.rowHeight,n=this.getGui(),i=n.scrollTop,a=n.offsetHeight,s=i+a<o;if(i>r)n.scrollTop=r;else if(s){var l=o-a;n.scrollTop=l}}},t.prototype.setComponentCreator=function(e){this.componentCreator=e},t.prototype.getRowHeight=function(){return this.rowHeight},t.prototype.getScrollTop=function(){return this.getGui().scrollTop},t.prototype.setRowHeight=function(e){this.rowHeight=e,this.refresh()},t.prototype.refresh=function(){var e=this;if(null!=this.model&&this.isAlive()){var t=this.model.getRowCount();this.eContainer.style.height=t*this.rowHeight+"px",Object(l.waitUntil)((function(){return e.eContainer.clientHeight>=t*e.rowHeight}),(function(){e.isAlive()&&(e.clearVirtualRows(),e.drawVirtualRows())}))}},t.prototype.clearVirtualRows=function(){var e=this;this.renderedRows.forEach((function(t,r){return e.removeRow(r)}))},t.prototype.drawVirtualRows=function(){if(this.isAlive()){var e=this.getGui(),t=e.scrollTop,r=t+e.offsetHeight,o=Math.floor(t/this.rowHeight),n=Math.floor(r/this.rowHeight);this.ensureRowsRendered(o,n)}},t.prototype.ensureRowsRendered=function(e,t){var r=this;this.renderedRows.forEach((function(o,n){(n<e||n>t)&&n!==r.lastFocusedRowIndex&&r.removeRow(n)}));for(var o=e;o<=t;o++)this.renderedRows.has(o)||o<this.model.getRowCount()&&this.insertRow(o)},t.prototype.insertRow=function(e){var t=this,r=this.model.getRow(e),o=document.createElement("div");if(o.classList.add("ag-virtual-list-item","ag-"+this.cssIdentifier+"-virtual-list-item"),Object(a.setAriaRole)(o,"tree"===this.ariaRole?"treeitem":"option"),Object(a.setAriaSetSize)(o,this.model.getRowCount()),Object(a.setAriaPosInSet)(o,e+1),o.setAttribute("tabindex","-1"),"function"==typeof this.model.isRowSelected){var n=this.model.isRowSelected(e);Object(a.setAriaSelected)(o,!!n),Object(a.setAriaChecked)(o,n)}o.style.height=this.rowHeight+"px",o.style.top=this.rowHeight*e+"px";var i=this.componentCreator(r,o);i.addGuiEventListener("focusin",(function(){return t.lastFocusedRowIndex=e})),o.appendChild(i.getGui()),this.renderedRows.has(e-1)?this.renderedRows.get(e-1).eDiv.insertAdjacentElement("afterend",o):this.renderedRows.has(e+1)?this.renderedRows.get(e+1).eDiv.insertAdjacentElement("beforebegin",o):this.eContainer.appendChild(o),this.renderedRows.set(e,{rowComponent:i,eDiv:o})},t.prototype.removeRow=function(e){var t=this.renderedRows.get(e);this.eContainer.removeChild(t.eDiv),this.destroyBean(t.rowComponent),this.renderedRows.delete(e)},t.prototype.addScrollListener=function(){var e=this;this.addGuiEventListener("scroll",(function(){return e.drawVirtualRows()}))},t.prototype.setModel=function(e){this.model=e},t.prototype.destroy=function(){this.isAlive()&&(this.clearVirtualRows(),e.prototype.destroy.call(this))},p([Object(n.a)("resizeObserverService")],t.prototype,"resizeObserverService",void 0),p([Object(n.a)("focusService")],t.prototype,"focusService",void 0),p([Object(i.b)("eContainer")],t.prototype,"eContainer",void 0),p([n.e],t.prototype,"postConstruct",null),t}(c.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var o=r(2);function n(e,t,r,n,i){void 0===i&&(i=!1),console.warn("AG Grid: Since ag-grid 11.0.0 defaultGroupComparator is not necessary. You can remove this from your colDef");var a=Object(o.exists)(r)&&r.group,s=Object(o.exists)(n)&&n.group,l=!a&&!s;return a&&s?Object(o.defaultComparator)(r.key,n.key,i):l?Object(o.defaultComparator)(e,t,i):a?1:-1}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var o=function(){function e(){}return e.prototype.wrap=function(e,t,r,o){var n=this;void 0===r&&(r=[]);var i=this.createWrapper(e,o);return t.forEach((function(e){n.createMethod(i,e,!0)})),r.forEach((function(e){n.createMethod(i,e,!1)})),i},e.prototype.unwrap=function(e){return e},e.prototype.createMethod=function(e,t,r){e.addMethod(t,this.createMethodProxy(e,t,r))},e.prototype.createMethodProxy=function(e,t,r){return function(){return e.hasMethod(t)?e.callMethod(t,arguments):(r&&console.warn("AG Grid: Framework component is missing the method "+t+"()"),null)}},e}()},function(e,t,r){"use strict";r.d(t,"d",(function(){return o})),r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));var o={columnGroup:["column","stackedColumn","normalizedColumn"],barGroup:["bar","stackedBar","normalizedBar"],pieGroup:["pie","doughnut"],lineGroup:["line"],scatterGroup:["scatter","bubble"],areaGroup:["area","stackedArea","normalizedArea"],histogramGroup:["histogram"],combinationGroup:["columnLineCombo","areaColumnCombo","customCombo"]},n=["chartSettings","chartData","chartFormat"],i=["chartUnlink","chartLink","chartDownload"],a={settings:"chartSettings",data:"chartData",format:"chartFormat"}},function(e,t,r){"use strict";var o;r.d(t,"a",(function(){return o})),function(e){e.InsideBase="insideBase",e.InsideEnd="insideEnd",e.Center="center",e.OutsideEnd="outsideEnd"}(o||(o={}))},function(e,t,r){"use strict";r.r(t),r.d(t,"AllEnterpriseModules",(function(){return O})),r.d(t,"AllModules",(function(){return S}));var o=r(96),n=r(110),i=r(69),a=r(99),s=r(104),l=r(97),c=r(107),u=r(106),p=r(108),d=r(70),g=r(109),h=r(45),f=r(100),v=r(103),y=r(61),m=r(102),b=r(111),w=r(98);r.d(t,"AllCommunityModules",(function(){return o.AllCommunityModules})),r.d(t,"ClientSideRowModelModule",(function(){return o.ClientSideRowModelModule})),r.d(t,"BaseCreator",(function(){return o.BaseCreator})),r.d(t,"BaseGridSerializingSession",(function(){return o.BaseGridSerializingSession})),r.d(t,"CsvCreator",(function(){return o.CsvCreator})),r.d(t,"CsvExportModule",(function(){return o.CsvExportModule})),r.d(t,"Downloader",(function(){return o.Downloader})),r.d(t,"GridSerializer",(function(){return o.GridSerializer})),r.d(t,"RowType",(function(){return o.RowType})),r.d(t,"XmlFactory",(function(){return o.XmlFactory})),r.d(t,"ZipContainer",(function(){return o.ZipContainer})),r.d(t,"InfiniteRowModelModule",(function(){return o.InfiniteRowModelModule})),r.d(t,"ColumnFactory",(function(){return o.ColumnFactory})),r.d(t,"ColumnModel",(function(){return o.ColumnModel})),r.d(t,"ColumnKeyCreator",(function(){return o.ColumnKeyCreator})),r.d(t,"ColumnUtils",(function(){return o.ColumnUtils})),r.d(t,"DisplayedGroupCreator",(function(){return o.DisplayedGroupCreator})),r.d(t,"GroupInstanceIdCreator",(function(){return o.GroupInstanceIdCreator})),r.d(t,"ComponentUtil",(function(){return o.ComponentUtil})),r.d(t,"AgStackComponentsRegistry",(function(){return o.AgStackComponentsRegistry})),r.d(t,"ColDefUtil",(function(){return o.ColDefUtil})),r.d(t,"UserComponentRegistry",(function(){return o.UserComponentRegistry})),r.d(t,"UserComponentFactory",(function(){return o.UserComponentFactory})),r.d(t,"BeanStub",(function(){return o.BeanStub})),r.d(t,"Context",(function(){return o.Context})),r.d(t,"Autowired",(function(){return o.Autowired})),r.d(t,"PostConstruct",(function(){return o.PostConstruct})),r.d(t,"PreConstruct",(function(){return o.PreConstruct})),r.d(t,"Optional",(function(){return o.Optional})),r.d(t,"Bean",(function(){return o.Bean})),r.d(t,"Qualifier",(function(){return o.Qualifier})),r.d(t,"PreDestroy",(function(){return o.PreDestroy})),r.d(t,"QuerySelector",(function(){return o.QuerySelector})),r.d(t,"RefSelector",(function(){return o.RefSelector})),r.d(t,"ExcelFactoryMode",(function(){return o.ExcelFactoryMode})),r.d(t,"DragAndDropService",(function(){return o.DragAndDropService})),r.d(t,"DragSourceType",(function(){return o.DragSourceType})),r.d(t,"HorizontalDirection",(function(){return o.HorizontalDirection})),r.d(t,"VerticalDirection",(function(){return o.VerticalDirection})),r.d(t,"DragService",(function(){return o.DragService})),r.d(t,"Column",(function(){return o.Column})),r.d(t,"ColumnGroup",(function(){return o.ColumnGroup})),r.d(t,"ProvidedColumnGroup",(function(){return o.ProvidedColumnGroup})),r.d(t,"RowNode",(function(){return o.RowNode})),r.d(t,"RowHighlightPosition",(function(){return o.RowHighlightPosition})),r.d(t,"FilterManager",(function(){return o.FilterManager})),r.d(t,"ProvidedFilter",(function(){return o.ProvidedFilter})),r.d(t,"SimpleFilter",(function(){return o.SimpleFilter})),r.d(t,"ScalarFilter",(function(){return o.ScalarFilter})),r.d(t,"NumberFilter",(function(){return o.NumberFilter})),r.d(t,"TextFilter",(function(){return o.TextFilter})),r.d(t,"DateFilter",(function(){return o.DateFilter})),r.d(t,"TextFloatingFilter",(function(){return o.TextFloatingFilter})),r.d(t,"HeaderFilterCellComp",(function(){return o.HeaderFilterCellComp})),r.d(t,"FloatingFilterMapper",(function(){return o.FloatingFilterMapper})),r.d(t,"GridBodyComp",(function(){return o.GridBodyComp})),r.d(t,"GridBodyCtrl",(function(){return o.GridBodyCtrl})),r.d(t,"RowAnimationCssClasses",(function(){return o.RowAnimationCssClasses})),r.d(t,"ScrollVisibleService",(function(){return o.ScrollVisibleService})),r.d(t,"MouseEventService",(function(){return o.MouseEventService})),r.d(t,"NavigationService",(function(){return o.NavigationService})),r.d(t,"RowContainerComp",(function(){return o.RowContainerComp})),r.d(t,"RowContainerName",(function(){return o.RowContainerName})),r.d(t,"RowContainerCtrl",(function(){return o.RowContainerCtrl})),r.d(t,"RowContainerType",(function(){return o.RowContainerType})),r.d(t,"getRowContainerTypeForName",(function(){return o.getRowContainerTypeForName})),r.d(t,"BodyDropPivotTarget",(function(){return o.BodyDropPivotTarget})),r.d(t,"BodyDropTarget",(function(){return o.BodyDropTarget})),r.d(t,"CssClassApplier",(function(){return o.CssClassApplier})),r.d(t,"HeaderRowContainerComp",(function(){return o.HeaderRowContainerComp})),r.d(t,"GridHeaderComp",(function(){return o.GridHeaderComp})),r.d(t,"GridHeaderCtrl",(function(){return o.GridHeaderCtrl})),r.d(t,"HeaderRowComp",(function(){return o.HeaderRowComp})),r.d(t,"HeaderRowType",(function(){return o.HeaderRowType})),r.d(t,"HeaderRowCtrl",(function(){return o.HeaderRowCtrl})),r.d(t,"HeaderCellCtrl",(function(){return o.HeaderCellCtrl})),r.d(t,"SortIndicatorComp",(function(){return o.SortIndicatorComp})),r.d(t,"HeaderFilterCellCtrl",(function(){return o.HeaderFilterCellCtrl})),r.d(t,"HeaderGroupCellCtrl",(function(){return o.HeaderGroupCellCtrl})),r.d(t,"AbstractHeaderCellCtrl",(function(){return o.AbstractHeaderCellCtrl})),r.d(t,"HeaderRowContainerCtrl",(function(){return o.HeaderRowContainerCtrl})),r.d(t,"HorizontalResizeService",(function(){return o.HorizontalResizeService})),r.d(t,"MoveColumnFeature",(function(){return o.MoveColumnFeature})),r.d(t,"StandardMenuFactory",(function(){return o.StandardMenuFactory})),r.d(t,"TabbedLayout",(function(){return o.TabbedLayout})),r.d(t,"simpleHttpRequest",(function(){return o.simpleHttpRequest})),r.d(t,"ResizeObserverService",(function(){return o.ResizeObserverService})),r.d(t,"AnimationFrameService",(function(){return o.AnimationFrameService})),r.d(t,"LargeTextCellEditor",(function(){return o.LargeTextCellEditor})),r.d(t,"PopupEditorWrapper",(function(){return o.PopupEditorWrapper})),r.d(t,"PopupSelectCellEditor",(function(){return o.PopupSelectCellEditor})),r.d(t,"PopupTextCellEditor",(function(){return o.PopupTextCellEditor})),r.d(t,"SelectCellEditor",(function(){return o.SelectCellEditor})),r.d(t,"TextCellEditor",(function(){return o.TextCellEditor})),r.d(t,"Beans",(function(){return o.Beans})),r.d(t,"AnimateShowChangeCellRenderer",(function(){return o.AnimateShowChangeCellRenderer})),r.d(t,"AnimateSlideCellRenderer",(function(){return o.AnimateSlideCellRenderer})),r.d(t,"GroupCellRenderer",(function(){return o.GroupCellRenderer})),r.d(t,"GroupCellRendererCtrl",(function(){return o.GroupCellRendererCtrl})),r.d(t,"SetLeftFeature",(function(){return o.SetLeftFeature})),r.d(t,"PositionableFeature",(function(){return o.PositionableFeature})),r.d(t,"AutoWidthCalculator",(function(){return o.AutoWidthCalculator})),r.d(t,"CheckboxSelectionComponent",(function(){return o.CheckboxSelectionComponent})),r.d(t,"CellComp",(function(){return o.CellComp})),r.d(t,"CellCtrl",(function(){return o.CellCtrl})),r.d(t,"RowCtrl",(function(){return o.RowCtrl})),r.d(t,"RowRenderer",(function(){return o.RowRenderer})),r.d(t,"ValueFormatterService",(function(){return o.ValueFormatterService})),r.d(t,"CssClassManager",(function(){return o.CssClassManager})),r.d(t,"PinnedRowModel",(function(){return o.PinnedRowModel})),r.d(t,"ServerSideTransactionResultStatus",(function(){return o.ServerSideTransactionResultStatus})),r.d(t,"ChangedPath",(function(){return o.ChangedPath})),r.d(t,"RowNodeBlock",(function(){return o.RowNodeBlock})),r.d(t,"RowNodeBlockLoader",(function(){return o.RowNodeBlockLoader})),r.d(t,"PaginationProxy",(function(){return o.PaginationProxy})),r.d(t,"ClientSideRowModelSteps",(function(){return o.ClientSideRowModelSteps})),r.d(t,"StylingService",(function(){return o.StylingService})),r.d(t,"LayoutCssClasses",(function(){return o.LayoutCssClasses})),r.d(t,"AgAbstractField",(function(){return o.AgAbstractField})),r.d(t,"AgCheckbox",(function(){return o.AgCheckbox})),r.d(t,"AgRadioButton",(function(){return o.AgRadioButton})),r.d(t,"AgToggleButton",(function(){return o.AgToggleButton})),r.d(t,"AgInputTextField",(function(){return o.AgInputTextField})),r.d(t,"AgInputTextArea",(function(){return o.AgInputTextArea})),r.d(t,"AgInputNumberField",(function(){return o.AgInputNumberField})),r.d(t,"AgInputRange",(function(){return o.AgInputRange})),r.d(t,"AgSelect",(function(){return o.AgSelect})),r.d(t,"AgSlider",(function(){return o.AgSlider})),r.d(t,"AgAngleSelect",(function(){return o.AgAngleSelect})),r.d(t,"AgColorPicker",(function(){return o.AgColorPicker})),r.d(t,"AgGroupComponent",(function(){return o.AgGroupComponent})),r.d(t,"AgMenuItemComponent",(function(){return o.AgMenuItemComponent})),r.d(t,"AgMenuList",(function(){return o.AgMenuList})),r.d(t,"AgMenuPanel",(function(){return o.AgMenuPanel})),r.d(t,"AgDialog",(function(){return o.AgDialog})),r.d(t,"AgPanel",(function(){return o.AgPanel})),r.d(t,"Component",(function(){return o.Component})),r.d(t,"ManagedFocusFeature",(function(){return o.ManagedFocusFeature})),r.d(t,"TabGuardComp",(function(){return o.TabGuardComp})),r.d(t,"TabGuardCtrl",(function(){return o.TabGuardCtrl})),r.d(t,"PopupComponent",(function(){return o.PopupComponent})),r.d(t,"PopupService",(function(){return o.PopupService})),r.d(t,"TouchListener",(function(){return o.TouchListener})),r.d(t,"VirtualList",(function(){return o.VirtualList})),r.d(t,"CellRangeType",(function(){return o.CellRangeType})),r.d(t,"SelectionHandleType",(function(){return o.SelectionHandleType})),r.d(t,"AutoScrollService",(function(){return o.AutoScrollService})),r.d(t,"VanillaFrameworkOverrides",(function(){return o.VanillaFrameworkOverrides})),r.d(t,"CellNavigationService",(function(){return o.CellNavigationService})),r.d(t,"AlignedGridsService",(function(){return o.AlignedGridsService})),r.d(t,"Constants",(function(){return o.Constants})),r.d(t,"KeyCode",(function(){return o.KeyCode})),r.d(t,"Grid",(function(){return o.Grid})),r.d(t,"GridCoreCreator",(function(){return o.GridCoreCreator})),r.d(t,"GridApi",(function(){return o.GridApi})),r.d(t,"Events",(function(){return o.Events})),r.d(t,"FocusService",(function(){return o.FocusService})),r.d(t,"defaultGroupComparator",(function(){return o.defaultGroupComparator})),r.d(t,"GridOptionsWrapper",(function(){return o.GridOptionsWrapper})),r.d(t,"EventService",(function(){return o.EventService})),r.d(t,"SelectableService",(function(){return o.SelectableService})),r.d(t,"RowNodeSorter",(function(){return o.RowNodeSorter})),r.d(t,"CtrlsService",(function(){return o.CtrlsService})),r.d(t,"GridComp",(function(){return o.GridComp})),r.d(t,"GridCtrl",(function(){return o.GridCtrl})),r.d(t,"Logger",(function(){return o.Logger})),r.d(t,"LoggerFactory",(function(){return o.LoggerFactory})),r.d(t,"SelectionService",(function(){return o.SelectionService})),r.d(t,"SortController",(function(){return o.SortController})),r.d(t,"TemplateService",(function(){return o.TemplateService})),r.d(t,"Color",(function(){return o.Color})),r.d(t,"stringToArray",(function(){return o.stringToArray})),r.d(t,"_",(function(){return o._})),r.d(t,"NumberSequence",(function(){return o.NumberSequence})),r.d(t,"AgPromiseStatus",(function(){return o.AgPromiseStatus})),r.d(t,"AgPromise",(function(){return o.AgPromise})),r.d(t,"Timer",(function(){return o.Timer})),r.d(t,"ValueService",(function(){return o.ValueService})),r.d(t,"ValueCache",(function(){return o.ValueCache})),r.d(t,"ExpressionService",(function(){return o.ExpressionService})),r.d(t,"CellPositionUtils",(function(){return o.CellPositionUtils})),r.d(t,"RowPositionUtils",(function(){return o.RowPositionUtils})),r.d(t,"HeaderPositionUtils",(function(){return o.HeaderPositionUtils})),r.d(t,"HeaderNavigationService",(function(){return o.HeaderNavigationService})),r.d(t,"HeaderNavigationDirection",(function(){return o.HeaderNavigationDirection})),r.d(t,"PropertyKeys",(function(){return o.PropertyKeys})),r.d(t,"ColumnApi",(function(){return o.ColumnApi})),r.d(t,"BaseComponentWrapper",(function(){return o.BaseComponentWrapper})),r.d(t,"Environment",(function(){return o.Environment})),r.d(t,"CustomTooltipFeature",(function(){return o.CustomTooltipFeature})),r.d(t,"DEFAULT_CHART_GROUPS",(function(){return o.DEFAULT_CHART_GROUPS})),r.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return o.CHART_TOOL_PANEL_ALLOW_LIST})),r.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return o.CHART_TOOLBAR_ALLOW_LIST})),r.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return o.CHART_TOOL_PANEL_MENU_OPTIONS})),r.d(t,"BarColumnLabelPlacement",(function(){return o.BarColumnLabelPlacement})),r.d(t,"ModuleNames",(function(){return o.ModuleNames})),r.d(t,"ModuleRegistry",(function(){return o.ModuleRegistry})),r.d(t,"ClipboardModule",(function(){return n.ClipboardModule})),r.d(t,"ColumnsToolPanelModule",(function(){return i.ColumnsToolPanelModule})),r.d(t,"PrimaryColsPanel",(function(){return i.PrimaryColsPanel})),r.d(t,"ExcelExportModule",(function(){return a.ExcelExportModule})),r.d(t,"getMultipleSheetsAsExcel",(function(){return a.getMultipleSheetsAsExcel})),r.d(t,"exportMultipleSheetsAsExcel",(function(){return a.exportMultipleSheetsAsExcel})),r.d(t,"FiltersToolPanelModule",(function(){return s.FiltersToolPanelModule})),r.d(t,"GridChartsModule",(function(){return l.GridChartsModule})),r.d(t,"agCharts",(function(){return l.agCharts})),r.d(t,"MasterDetailModule",(function(){return c.MasterDetailModule})),r.d(t,"MenuModule",(function(){return u.MenuModule})),r.d(t,"MultiFilterModule",(function(){return p.MultiFilterModule})),r.d(t,"MultiFilter",(function(){return p.MultiFilter})),r.d(t,"RangeSelectionModule",(function(){return d.RangeSelectionModule})),r.d(t,"RichSelectModule",(function(){return g.RichSelectModule})),r.d(t,"RowGroupingModule",(function(){return h.RowGroupingModule})),r.d(t,"RowGroupDropZonePanel",(function(){return h.RowGroupDropZonePanel})),r.d(t,"ValuesDropZonePanel",(function(){return h.ValuesDropZonePanel})),r.d(t,"PivotDropZonePanel",(function(){return h.PivotDropZonePanel})),r.d(t,"ServerSideRowModelModule",(function(){return f.ServerSideRowModelModule})),r.d(t,"SetFilterModule",(function(){return v.SetFilterModule})),r.d(t,"SetFilter",(function(){return v.SetFilter})),r.d(t,"SideBarModule",(function(){return y.SideBarModule})),r.d(t,"ToolPanelColDefService",(function(){return y.ToolPanelColDefService})),r.d(t,"StatusBarModule",(function(){return m.StatusBarModule})),r.d(t,"ViewportRowModelModule",(function(){return b.ViewportRowModelModule}));var C=r(27);r.d(t,"EnterpriseCoreModule",(function(){return C.EnterpriseCoreModule})),r.d(t,"LicenseManager",(function(){return C.LicenseManager})),r.d(t,"SparklinesModule",(function(){return w.SparklinesModule}));var O=[n.ClipboardModule,i.ColumnsToolPanelModule,a.ExcelExportModule,s.FiltersToolPanelModule,l.GridChartsModule,c.MasterDetailModule,u.MenuModule,p.MultiFilterModule,d.RangeSelectionModule,g.RichSelectModule,h.RowGroupingModule,f.ServerSideRowModelModule,v.SetFilterModule,y.SideBarModule,m.StatusBarModule,b.ViewportRowModelModule,w.SparklinesModule],S=o.AllCommunityModules.concat(O)},function(e,t,r){var o=r(101),n=(r(0),r(25)),i=r(105),a=r(97),s=r(110),l=r(69),c=(r(27),r(99)),u=r(104),p=r(107),d=r(106),g=r(108),h=r(70),f=r(109),v=r(45),y=r(100),m=r(103),b=r(61),w=r(98),C=r(102),O=r(111);r(214);var S=r(214);Object.keys(S).forEach((function(e){t[e]=S[e]}));var E=r(96);Object.keys(E).forEach((function(e){t[e]=E[e]})),E.ModuleRegistry.register(o.ClientSideRowModelModule),E.ModuleRegistry.register(n.CsvExportModule),E.ModuleRegistry.register(i.InfiniteRowModelModule),E.ModuleRegistry.register(a.GridChartsModule),E.ModuleRegistry.register(s.ClipboardModule),E.ModuleRegistry.register(l.ColumnsToolPanelModule),E.ModuleRegistry.register(c.ExcelExportModule),E.ModuleRegistry.register(u.FiltersToolPanelModule),E.ModuleRegistry.register(p.MasterDetailModule),E.ModuleRegistry.register(d.MenuModule),E.ModuleRegistry.register(g.MultiFilterModule),E.ModuleRegistry.register(h.RangeSelectionModule),E.ModuleRegistry.register(f.RichSelectModule),E.ModuleRegistry.register(v.RowGroupingModule),E.ModuleRegistry.register(y.ServerSideRowModelModule),E.ModuleRegistry.register(m.SetFilterModule),E.ModuleRegistry.register(b.SideBarModule),E.ModuleRegistry.register(w.SparklinesModule),E.ModuleRegistry.register(C.StatusBarModule),E.ModuleRegistry.register(O.ViewportRowModelModule),r(217),r(219),r(221),r(223),r(225),r(227),r(229),r(231),r(233),r(235),r(237),r(239)},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var o=r(50),n=r(218);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'.ag-icon{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ag-icon-aggregation:before{content:var(--ag-icon-font-code-aggregation,"\\f101")}.ag-icon-arrows:before{content:var(--ag-icon-font-code-arrows,"\\f102")}.ag-icon-asc:before{content:var(--ag-icon-font-code-asc,"\\f103")}.ag-icon-cancel:before{content:var(--ag-icon-font-code-cancel,"\\f104")}.ag-icon-chart:before{content:var(--ag-icon-font-code-chart,"\\f105")}.ag-icon-checkbox-checked:before{content:var(--ag-icon-font-code-checkbox-checked,"\\f106")}.ag-icon-checkbox-indeterminate:before{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107")}.ag-icon-checkbox-unchecked:before{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108")}.ag-icon-color-picker:before{content:var(--ag-icon-font-code-color-picker,"\\f109")}.ag-icon-columns:before{content:var(--ag-icon-font-code-columns,"\\f10a")}.ag-icon-contracted:before{content:var(--ag-icon-font-code-contracted,"\\f10b")}.ag-icon-copy:before{content:var(--ag-icon-font-code-copy,"\\f10c")}.ag-icon-cross:before{content:var(--ag-icon-font-code-cross,"\\f10d")}.ag-icon-csv:before{content:var(--ag-icon-font-code-csv,"\\f10e")}.ag-icon-desc:before{content:var(--ag-icon-font-code-desc,"\\f10f")}.ag-icon-excel:before{content:var(--ag-icon-font-code-excel,"\\f110")}.ag-icon-expanded:before{content:var(--ag-icon-font-code-expanded,"\\f111")}.ag-icon-eye-slash:before{content:var(--ag-icon-font-code-eye-slash,"\\f112")}.ag-icon-eye:before{content:var(--ag-icon-font-code-eye,"\\f113")}.ag-icon-filter:before{content:var(--ag-icon-font-code-filter,"\\f114")}.ag-icon-first:before{content:var(--ag-icon-font-code-first,"\\f115")}.ag-icon-grip:before{content:var(--ag-icon-font-code-grip,"\\f116")}.ag-icon-group:before{content:var(--ag-icon-font-code-group,"\\f117")}.ag-icon-last:before{content:var(--ag-icon-font-code-last,"\\f118")}.ag-icon-left:before{content:var(--ag-icon-font-code-left,"\\f119")}.ag-icon-linked:before{content:var(--ag-icon-font-code-linked,"\\f11a")}.ag-icon-loading:before{content:var(--ag-icon-font-code-loading,"\\f11b")}.ag-icon-maximize:before{content:var(--ag-icon-font-code-maximize,"\\f11c")}.ag-icon-menu:before{content:var(--ag-icon-font-code-menu,"\\f11d")}.ag-icon-minimize:before{content:var(--ag-icon-font-code-minimize,"\\f11e")}.ag-icon-next:before{content:var(--ag-icon-font-code-next,"\\f11f")}.ag-icon-none:before{content:var(--ag-icon-font-code-none,"\\f120")}.ag-icon-not-allowed:before{content:var(--ag-icon-font-code-not-allowed,"\\f121")}.ag-icon-paste:before{content:var(--ag-icon-font-code-paste,"\\f122")}.ag-icon-pin:before{content:var(--ag-icon-font-code-pin,"\\f123")}.ag-icon-pivot:before{content:var(--ag-icon-font-code-pivot,"\\f124")}.ag-icon-previous:before{content:var(--ag-icon-font-code-previous,"\\f125")}.ag-icon-radio-button-off:before{content:var(--ag-icon-font-code-radio-button-off,"\\f126")}.ag-icon-radio-button-on:before{content:var(--ag-icon-font-code-radio-button-on,"\\f127")}.ag-icon-right:before{content:var(--ag-icon-font-code-right,"\\f128")}.ag-icon-save:before{content:var(--ag-icon-font-code-save,"\\f129")}.ag-icon-small-down:before{content:var(--ag-icon-font-code-small-down,"\\f12a")}.ag-icon-small-left:before{content:var(--ag-icon-font-code-small-left,"\\f12b")}.ag-icon-small-right:before{content:var(--ag-icon-font-code-small-right,"\\f12c")}.ag-icon-small-up:before{content:var(--ag-icon-font-code-small-up,"\\f12d")}.ag-icon-tick:before{content:var(--ag-icon-font-code-tick,"\\f12e")}.ag-icon-tree-closed:before{content:var(--ag-icon-font-code-tree-closed,"\\f12f")}.ag-icon-tree-indeterminate:before{content:var(--ag-icon-font-code-tree-indeterminate,"\\f130")}.ag-icon-tree-open:before{content:var(--ag-icon-font-code-tree-open,"\\f131")}.ag-icon-unlinked:before{content:var(--ag-icon-font-code-unlinked,"\\f132")}.ag-icon-row-drag:before{content:var(--ag-icon-font-code-grip)}.ag-left-arrow:before{content:var(--ag-icon-font-code-left)}.ag-right-arrow:before{content:var(--ag-icon-font-code-right)}[class*=ag-theme-]{--ag-foreground-color:#000;--ag-data-color:var(--ag-foreground-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-header-foreground-color:var(--ag-secondary-foreground-color);--ag-disabled-foreground-color:rgba(0,0,0,0.5);--ag-background-color:#fff;--ag-header-background-color:transparent;--ag-subheader-background-color:transparent;--ag-subheader-toolbar-background-color:transparent;--ag-control-panel-background-color:transparent;--ag-side-button-selected-background-color:var(--ag-control-panel-background-color);--ag-selected-row-background-color:#bbb;--ag-odd-row-background-color:var(--ag-background-color);--ag-modal-overlay-background-color:hsla(0,0%,100%,0.66);--ag-row-hover-color:transparent;--ag-column-hover-color:transparent;--ag-range-selection-border-color:var(--ag-foreground-color);--ag-range-selection-border-style:solid;--ag-range-selection-background-color:rgba(0,0,0,0.2);--ag-range-selection-background-color-2:var(--ag-range-selection-background-color);--ag-range-selection-background-color-3:var(--ag-range-selection-background-color);--ag-range-selection-background-color-4:var(--ag-range-selection-background-color);--ag-range-selection-highlight-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-width:0;--ag-selected-tab-underline-transition-speed:0s;--ag-range-selection-chart-category-background-color:rgba(0,255,132,0.1);--ag-range-selection-chart-background-color:rgba(0,88,255,0.1);--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:var(--ag-background-color);--ag-value-change-value-highlight-background-color:rgba(22,160,133,0.5);--ag-value-change-delta-up-color:#43a047;--ag-value-change-delta-down-color:#e53935;--ag-chip-background-color:transparent;--ag-borders:solid 1px;--ag-border-color:rgba(0,0,0,0.25);--ag-borders-critical:var(--ag-borders);--ag-borders-secondary:var(--ag-borders);--ag-secondary-border-color:var(--ag-border-color);--ag-borders-row:var(--ag-borders-secondary);--ag-cell-horizontal-border:solid transparent;--ag-borders-input:var(--ag-borders-secondary);--ag-input-border-color:var(--ag-secondary-border-color);--ag-borders-input-invalid:solid 2px;--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-borders-side-button:var(--ag-borders);--ag-border-radius:0px;--ag-row-border-color:var(--ag-secondary-border-color);--ag-header-column-separator-display:none;--ag-header-column-separator-height:100%;--ag-header-column-separator-width:1px;--ag-header-column-separator-color:var(--ag-secondary-border-color);--ag-header-column-resize-handle-display:none;--ag-header-column-resize-handle-height:50%;--ag-header-column-resize-handle-width:1px;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-invalid-color:red;--ag-input-disabled-border-color:var(--ag-input-border-color);--ag-input-disabled-background-color:transparent;--ag-checkbox-background-color:transparent;--ag-checkbox-border-radius:var(--ag-border-radius);--ag-checkbox-checked-color:var(--ag-foreground-color);--ag-checkbox-unchecked-color:var(--ag-foreground-color);--ag-checkbox-indeterminate-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-border-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-background-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-on-border-color:var(--ag-checkbox-checked-color);--ag-toggle-button-on-background-color:var(--ag-checkbox-checked-color);--ag-toggle-button-switch-background-color:var(--ag-background-color);--ag-toggle-button-switch-border-color:var(--ag-toggle-button-off-border-color);--ag-toggle-button-border-width:1px;--ag-toggle-button-height:var(--ag-icon-size);--ag-toggle-button-width:calc(var(--ag-toggle-button-height)*2);--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:none;--ag-minichart-selected-chart-color:var(--ag-checkbox-checked-color);--ag-minichart-selected-page-color:var(--ag-checkbox-checked-color);--ag-grid-size:4px;--ag-icon-size:12px;--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:var(--ag-grid-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:var(--ag-cell-horizontal-padding);--ag-row-height:calc(var(--ag-grid-size)*6 + 1px);--ag-header-height:var(--ag-row-height);--ag-list-item-height:calc(var(--ag-grid-size)*5);--ag-column-select-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-row-group-indent-size:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));--ag-filter-tool-panel-group-indent:16px;--ag-tab-min-width:220px;--ag-menu-min-width:181px;--ag-side-bar-panel-width:200px;--ag-font-family:"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-card-radius:var(--ag-border-radius);--ag-card-shadow:none;--ag-popup-shadow:5px 5px 10px rgba(0,0,0,0.3)}.ag-dnd-ghost,.ag-root-wrapper,.ag-sticky-top{background-color:var(--ag-background-color)}[class*=ag-theme-]{-webkit-font-smoothing:antialiased;font-family:var(--ag-font-family);font-size:var(--ag-font-size);line-height:normal;color:var(--ag-foreground-color)}ag-grid,ag-grid-angular,ag-grid-aurelia,ag-grid-ng2,ag-grid-polymer{display:block}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-no-transition{transition:none!important}.ag-drag-handle{cursor:grab}.ag-column-drop-wrapper{display:flex}.ag-column-drop-horizontal-half-width{display:inline-block;width:50%!important}.ag-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}.ag-tab{position:relative}.ag-tab-guard{width:0;height:0;display:block}.ag-select-agg-func-popup,.ag-tab-guard{position:absolute}.ag-input-wrapper,.ag-picker-field-wrapper{display:flex;flex:1 1 auto;align-items:center;line-height:normal;position:relative}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-root-wrapper{cursor:default;position:relative;display:flex;flex-direction:column;overflow:hidden}.ag-root-wrapper.ag-layout-normal{height:100%}.ag-watermark{position:absolute;bottom:20px;right:25px;opacity:.5;transition:opacity 1s ease-out 3s}.ag-watermark:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM1IDQwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMiI+PGcgZmlsbD0iIzE4MWQxZiI+PHBhdGggZD0iTTIwNS45OTMgMjUuNjU4di03Ljk0NmgtMTMuNTQxbC03Ljk0NyA3Ljk0NmgyMS40ODh6TTIyMS4yNSA1Ljk1aC0xNi45NzRsLTguMDEgNy45NDdoMjQuOTg0VjUuOTUxek0xNzYuNjIyIDMzLjYwNWw0LjA3LTQuMDY5aDEzLjczdjcuOTQ3aC0xNy44di0zLjg3OHoiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik0xNzkuNjEgMjEuNzhoOC43NzNsOC4wMS03Ljk0NkgxNzkuNjF2Ny45NDZ6TTE3MC4wMSAzMy42MDVoNi42MTJsNy44ODMtNy45NDdoLTE0LjQ5NHY3Ljk0N3pNMjA0LjI3NiA1Ljk1bC00LjA2OCA0LjA3SDE3NC4yN1YyLjA3MmgzMC4wMDZWNS45NXpNMzMuODQgMzIuMjA2SDIxLjM3OGwtMi4xNjIgNS4zNEgxMy43NWwxMS41MDctMjYuOTU0aDQuNzY4TDQxLjUzIDM3LjU0NmgtNS41M2wtMi4xNjItNS4zNHptLTEuNzE3LTQuMjZMMjcuNjA5IDE2Ljk1bC00LjUxNCAxMC45OThoOS4wMjh6TTExNy40MzcgMjAuNTA5YzEuNTg5LTIuMzUyIDUuNTk0LTIuNjA3IDcuMjQ3LTIuNjA3djQuNTc4Yy0yLjAzNCAwLTQuMDY5LjA2My01LjI3Ny45NTMtMS4yMDcuODktMS44NDMgMi4wOTgtMS44NDMgMy41NnYxMC41NTNoLTQuOTU5VjE3LjkwMmg0Ljc2OGwuMDY0IDIuNjA3eiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTEyNy40MTggMTcuOTAyaDQuOTU4djE5LjY0NGgtNC45NTh6TTEyNy40MTggOS4xM2g0Ljk1OHY1Ljg0OGgtNC45NTh6Ii8+PHBhdGggZD0iTTE1Ni45NzkgOS4xM3YyOC40MTZoLTQuNzY4bC0uMTI3LTIuOTg4YTguMzEgOC4zMSAwIDAxLTIuNjcgMi40OGMtMS4wODEuNTcyLTIuNDE2Ljg5LTMuOTQyLjg5LTEuMzM1IDAtMi42MDYtLjI1NS0zLjY4Ny0uNy0xLjE0NC0uNTA4LTIuMTYyLTEuMTQ0LTIuOTg4LTIuMDM0YTkuNTczIDkuNTczIDAgMDEtMS45Ny0zLjE3OWMtLjUxLTEuMjA3LS43LTIuNjA2LS43LTQuMTMyIDAtMS41MjUuMjU0LTIuOTI0LjctNC4xOTYuNTA4LTEuMjcxIDEuMTQ0LTIuMzUyIDEuOTctMy4yNDIuODI2LS44OSAxLjg0NC0xLjU4OSAyLjk4OC0yLjA5OCAxLjE0NC0uNTA4IDIuMzUyLS43NjIgMy42ODctLjc2MiAxLjUyNiAwIDIuNzk3LjI1NCAzLjg3OC44MjYgMS4wOC41NzIgMS45NyAxLjMzNSAyLjY3IDIuNDE2VjkuMTkzaDQuOTU5di0uMDY0em0tMTAuNDI2IDI0LjUzOGMxLjY1MyAwIDIuOTI0LS41NzIgMy45NDEtMS42NTMgMS4wMTctMS4wOCAxLjUyNi0yLjU0MiAxLjUyNi00LjMyMiAwLTEuNzgtLjUwOS0zLjE4LTEuNTI2LTQuMzIzLTEuMDE3LTEuMDgxLTIuMjg4LTEuNjUzLTMuOTQxLTEuNjUzLTEuNTkgMC0yLjkyNS41NzItMy44NzggMS42NTMtMS4wMTcgMS4wOC0xLjUyNiAyLjU0My0xLjUyNiA0LjMyMyAwIDEuNzguNTA5IDMuMTc4IDEuNTI2IDQuMjU5IDEuMDE3IDEuMTQ0IDIuMjg4IDEuNzE2IDMuODc4IDEuNzE2TTcwLjIwMiAyMi4zNTJINTcuOTMzdjQuMjZoNi45OTNjLS4xOSAyLjE2MS0xLjAxNyAzLjgxNC0yLjQxNiA1LjE1LTEuMzk4IDEuMjctMy4xNzggMS45MDYtNS40NjcgMS45MDYtMS4yNzEgMC0yLjQ4LS4yNTQtMy40OTctLjY5OWE3LjAyNSA3LjAyNSAwIDAxLTIuNzMzLTEuOTdjLS43NjMtLjgyNy0xLjMzNS0xLjg0NC0xLjc4LTMuMDUyLS40NDUtMS4yMDgtLjYzNi0yLjQ4LS42MzYtMy45NDIgMC0xLjQ2Mi4xOS0yLjczMy42MzYtMy45NDEuMzgxLTEuMjA4IDEuMDE3LTIuMTYyIDEuNzgtMy4wNTIuNzYzLS44MjYgMS42NTMtMS40NjIgMi43MzMtMS45N2E5LjExNSA5LjExNSAwIDAxMy41Ni0uN2MyLjY3IDAgNC43MDUuNjM2IDYuMTAzIDEuOTA4bDMuMzA2LTMuMzA2Yy0yLjQ4LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDYuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OSAxLjU4OS00LjM4NiAyLjc5N0ExMi4wNzQgMTIuMDc0IDAgMDA0NC4yIDE4LjIyYy0uNjM1IDEuNzE3LS45NTMgMy42MjQtLjk1MyA1LjY1OCAwIDIuMDM1LjMxOCAzLjk0MiAxLjAxNyA1LjY1OC43IDEuNzE3IDEuNTkgMy4xNzkgMi43OTcgNC4zODdhMTIuMDc0IDEyLjA3NCAwIDAwNC4zODcgMi43OTdjMS43MTYuNyAzLjYyMyAxLjAxNyA1LjY1OCAxLjAxNyAyLjAzNCAwIDMuODc3LS4zMTggNS41My0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3IDEuMTQ0LTEuMjA4IDIuMDM0LTIuNjcgMi42Ny00LjM4Ny42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43TTEwOC45ODIgMjIuMzUyaC0xMi4yN3Y0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjUgNy4wMjUgMCAwMS0yLjczNC0xLjk3Yy0uNzYzLS44MjctMS4zMzUtMS44NDQtMS43OC0zLjA1Mi0uNDQ1LTEuMjA4LS42MzYtMi40OC0uNjM2LTMuOTQyIDAtMS40NjIuMTkxLTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczNC0xLjk3YTkuMTE1IDkuMTE1IDAgMDEzLjU2LS43YzIuNjcgMCA0LjcwNC42MzYgNi4xMDMgMS45MDhsMy4zMDUtMy4zMDZjLTIuNDc5LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDUuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OCAxLjU4OS00LjM4NiAyLjc5N2ExMi4wNzQgMTIuMDc0IDAgMDAtMi43OTggNC4zODZjLS42MzUgMS43MTctLjk1MyAzLjYyNC0uOTUzIDUuNjU4IDAgMi4wMzUuMzE4IDMuOTQyIDEuMDE3IDUuNjU4LjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4wNzQgMTIuMDc0IDAgMDA0LjM4NyAyLjc5N2MxLjcxNi43IDMuNjIzIDEuMDE3IDUuNjU4IDEuMDE3IDIuMDM0IDAgMy44NzgtLjMxOCA1LjUzLTEuMDE3IDEuNjUzLS43IDMuMDUyLTEuNTkgNC4xOTYtMi43OTcgMS4xNDUtMS4yMDggMi4wMzUtMi42NyAyLjY3LTQuMzg3LjYzNi0xLjcxNi45NTQtMy42MjMuOTU0LTUuNjU4di0uODI2Yy0uMTktLjEyNy0uMjU0LS40NDUtLjI1NC0uNyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==);background-repeat:no-repeat;background-size:170px 40px;display:block;height:40px;width:170px;opacity:.5}.ag-watermark-text{opacity:.5;font-weight:700;font-family:Impact,sans-serif;font-size:19px;padding-left:.7rem}.ag-root-wrapper-body{display:flex;flex-direction:row}.ag-root-wrapper-body.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}.ag-root{position:relative;display:flex;flex-direction:column}.ag-root.ag-layout-auto-height,.ag-root.ag-layout-normal{overflow:hidden;flex:1 1 auto;width:0}.ag-root.ag-layout-normal{height:100%}.ag-body-horizontal-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{position:relative;height:100%;min-width:0;overflow:hidden;flex:1 1 auto}.ag-body-viewport{display:flex}.ag-body-viewport.ag-layout-normal{overflow-y:auto;-webkit-overflow-scrolling:touch}.ag-center-cols-viewport{width:100%;overflow-x:auto}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-top-full-width-container{position:absolute;top:0;left:0;pointer-events:none}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;overflow:hidden;height:100%;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-center-cols-clipper{flex:1 1 auto;min-width:0;overflow:hidden;min-height:100%;transform:translateZ(0)}.ag-body-horizontal-scroll{min-height:0;min-width:0;width:100%;display:flex;position:relative}.ag-body-horizontal-scroll.ag-scrollbar-invisible{position:absolute;bottom:0;left:0;right:0}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar{display:none}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling{display:inherit}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll}.ag-horizontal-left-spacer.ag-scroller-corner,.ag-horizontal-right-spacer.ag-scroller-corner{overflow-x:hidden}.ag-header,.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;overflow:hidden;position:relative}.ag-header-cell-sortable{cursor:pointer}.ag-header{display:flex;width:100%;white-space:nowrap}.ag-pinned-left-header,.ag-pinned-right-header{height:100%}.ag-header-cell,.ag-header-row{position:absolute;overflow:hidden}.ag-header-cell{display:inline-flex;align-items:center;height:100%}.ag-header-cell.ag-header-active .ag-header-cell-menu-button{opacity:1}.ag-header-cell-menu-button:not(.ag-header-menu-always-show){transition:opacity .2s;opacity:0}.ag-header-cell-label,.ag-header-group-cell-label{display:flex;flex:1 1 auto;overflow:hidden;align-items:center;text-overflow:ellipsis;align-self:stretch}.ag-header-cell-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper{height:100%;display:flex;align-items:center}.ag-header-cell-comp-wrapper{width:100%;overflow:hidden}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-right-aligned-header .ag-header-cell-label{flex-direction:row-reverse}.ag-header-group-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-header-cell-resize{position:absolute;z-index:2;height:100%;width:8px;top:0;cursor:ew-resize}.ag-ltr .ag-header-cell-resize{right:-4px}.ag-rtl .ag-header-cell-resize{left:-4px}.ag-pinned-left-header .ag-header-cell-resize{right:-4px}.ag-pinned-right-header .ag-header-cell-resize{left:-4px}.ag-header-select-all{display:flex}.ag-column-moving .ag-cell,.ag-column-moving .ag-header-cell{transition:left .2s}.ag-column-moving .ag-header-group-cell{transition:left .2s,width .2s}.ag-column-panel{display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto}.ag-column-select{position:relative;display:flex;flex-direction:column;overflow:hidden;flex:3 1 0px}.ag-column-select-header{position:relative;display:flex;flex:none}.ag-column-select-header-icon{position:relative}.ag-column-select-header-filter-wrapper{flex:1 1 auto}.ag-column-select-header-filter{width:100%}.ag-column-select-list{flex:1 1 0px;overflow:hidden}.ag-column-drop{position:relative;display:inline-flex;align-items:center;overflow:auto;width:100%}.ag-column-drop-cell,.ag-column-drop-list{display:flex;align-items:center}.ag-column-drop-cell{position:relative}.ag-column-drop-cell-text{overflow:hidden;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.ag-column-drop-vertical{display:flex;flex-direction:column;overflow:hidden;align-items:stretch;flex:1 1 0px}.ag-column-drop-vertical-title-bar{display:flex;align-items:center;flex:none}.ag-column-drop-vertical-list{position:relative;align-items:stretch;flex-grow:1;flex-direction:column;overflow-x:auto}.ag-column-drop-vertical-list>*{flex:none}.ag-column-drop-empty .ag-column-drop-vertical-list{overflow:hidden}.ag-column-drop-vertical-empty-message{display:block}.ag-column-drop.ag-column-drop-horizontal{white-space:nowrap;overflow:hidden}.ag-column-drop-cell-button{cursor:pointer}.ag-filter-toolpanel{flex:1 1 0px;min-width:0}.ag-filter-toolpanel-header{position:relative}.ag-filter-toolpanel-header,.ag-filter-toolpanel-header>*,.ag-filter-toolpanel-search,.ag-filter-toolpanel-search>*{display:flex;align-items:center}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden}.ag-row-animation .ag-row{transition:transform .4s,top .4s,background-color .1s,opacity .2s}.ag-row-animation .ag-row.ag-after-created{transition:transform .4s,top .4s,height .4s,background-color .1s,opacity .2s}.ag-row-no-animation .ag-row{transition:background-color .1s}.ag-row{white-space:nowrap;width:100%}.ag-row-loading{display:flex;align-items:center}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{display:flex;align-items:center}.ag-cell{display:inline-block;position:absolute;white-space:nowrap;height:100%}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-all}.ag-cell-wrapper{display:flex;align-items:center}.ag-cell-wrapper.ag-row-group{align-items:flex-start}.ag-sparkline-wrapper{position:absolute;height:100%;width:100%;left:0;top:0}.ag-full-width-row .ag-cell-wrapper.ag-row-group{height:100%;align-items:center}.ag-cell-inline-editing{z-index:1}.ag-cell-inline-editing .ag-cell-edit-wrapper,.ag-cell-inline-editing .ag-cell-editor,.ag-cell-inline-editing .ag-cell-editor .ag-wrapper,.ag-cell-inline-editing .ag-cell-editor input,.ag-cell-inline-editing .ag-cell-wrapper{height:100%;width:100%;line-height:normal}.ag-cell .ag-icon{display:inline-block;vertical-align:middle}.ag-set-filter-item{display:flex;align-items:center;height:100%}.ag-set-filter-item-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-set-filter-item-checkbox{display:flex}.ag-filter-body-wrapper{display:flex;flex-direction:column}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{position:relative;display:flex;flex:1 1 auto;height:100%}.ag-floating-filter-full-body{display:flex;flex:1 1 auto;height:100%;width:100%;align-items:center;overflow:hidden}.ag-floating-filter-full-body>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%}.ag-floating-filter-input>*{flex:1 1 auto}.ag-floating-filter-button{display:flex;flex:none}.ag-dnd-ghost{position:absolute;display:inline-flex;align-items:center;cursor:move;white-space:nowrap;z-index:9999}.ag-overlay{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{flex:none;align-items:center;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-popup-child{z-index:5;top:0}.ag-popup-editor{position:absolute;user-select:none;z-index:1}.ag-large-text-input{display:block}.ag-virtual-list-item{position:absolute;width:100%}.ag-floating-top{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-top,.ag-pinned-right-floating-top{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-floating-bottom{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-bottom,.ag-pinned-right-floating-bottom{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-sticky-top{position:absolute;display:flex;width:100%}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{position:relative;height:100%;overflow:hidden}.ag-sticky-top-full-width-container{overflow:hidden;width:100%;height:100%}.ag-dialog,.ag-panel{display:flex;flex-direction:column;position:relative;overflow:hidden}.ag-panel-title-bar{display:flex;flex:none;align-items:center;cursor:default}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-title-bar-button{cursor:pointer}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;position:relative;overflow:hidden}.ag-dialog,.ag-resizer{position:absolute}.ag-resizer{pointer-events:none;user-select:none;z-index:1}.ag-resizer.ag-resizer-topLeft{top:0;left:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-top{top:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-topRight{top:0;right:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-right{top:5px;right:0;bottom:5px;width:5px;cursor:ew-resize}.ag-resizer.ag-resizer-bottomRight{bottom:0;right:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-bottom{bottom:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-bottomLeft{bottom:0;left:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-left{left:0;top:5px;bottom:5px;width:5px;cursor:ew-resize}.ag-tooltip,.ag-tooltip-custom{position:absolute;pointer-events:none;z-index:99999}.ag-value-slide-out{margin-right:5px;opacity:1;transition:opacity 3s,margin-right 3s;transition-timing-function:linear}.ag-value-slide-out-end{margin-right:10px;opacity:0}.ag-opacity-zero{opacity:0!important}.ag-menu{max-height:100%;overflow-y:auto;position:absolute;user-select:none}.ag-menu-column-select-wrapper{height:265px;overflow:auto}.ag-menu-column-select-wrapper .ag-column-select{height:100%}.ag-menu-list{display:table;width:100%}.ag-menu-option,.ag-menu-separator{display:table-row}.ag-menu-option-part,.ag-menu-separator-part{display:table-cell;vertical-align:middle}.ag-menu-option-text{white-space:nowrap}.ag-compact-menu-option{width:100%;display:flex;flex-wrap:nowrap}.ag-compact-menu-option-text{white-space:nowrap;flex:1 1 auto}.ag-rich-select{cursor:default;outline:none}.ag-rich-select-value{display:flex;align-items:center}.ag-rich-select-value-icon{flex:1 1 auto;order:1}.ag-ltr .ag-rich-select-value-icon{text-align:right}.ag-rtl .ag-rich-select-value-icon{text-align:left}.ag-rich-select-list{position:relative}.ag-rich-select-virtual-list-item{display:flex}.ag-rich-select-row{display:flex;flex:1 1 auto;align-items:center;white-space:nowrap}.ag-paging-panel{justify-content:flex-end}.ag-paging-page-summary-panel,.ag-paging-panel{align-items:center;display:flex}.ag-paging-button{position:relative}.ag-disabled .ag-paging-page-summary-panel{pointer-events:none}.ag-tool-panel-wrapper{display:flex;overflow-y:auto;overflow-x:hidden;cursor:default;user-select:none}.ag-column-select-column,.ag-column-select-column-group,.ag-select-agg-func-item{position:relative;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;text-overflow:ellipsis;white-space:nowrap;height:100%}.ag-column-select-column-group>*,.ag-column-select-column>*,.ag-select-agg-func-item>*{flex:none}.ag-column-select-checkbox{display:flex}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-ltr .ag-side-bar-left .ag-tool-panel-horizontal-resize{right:-3px}.ag-ltr .ag-side-bar-right .ag-tool-panel-horizontal-resize,.ag-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize{left:-3px}.ag-rtl .ag-side-bar-right .ag-tool-panel-horizontal-resize{right:-3px}.ag-details-row{width:100%}.ag-details-row-fixed-height{height:100%}.ag-details-grid{width:100%}.ag-details-grid-fixed-height{height:100%}.ag-header-group-cell{display:flex;align-items:center;height:100%;position:absolute}.ag-cell-label-container{display:flex;justify-content:space-between;flex-direction:row-reverse;align-items:center;height:100%;width:100%;overflow:hidden;padding:5px 0}.ag-right-aligned-header .ag-cell-label-container{flex-direction:row}.ag-side-bar{display:flex;flex-direction:row-reverse}.ag-side-bar-left{order:-1;flex-direction:row}.ag-side-button-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;outline:none;cursor:pointer}.ag-side-button-label{writing-mode:vertical-lr}.ag-status-bar{display:flex;justify-content:space-between;overflow:hidden}.ag-status-panel{display:inline-flex}.ag-status-name-value{white-space:nowrap}.ag-status-bar-center,.ag-status-bar-left,.ag-status-bar-right{display:inline-flex}.ag-icon{display:block;speak:none}.ag-group{position:relative;width:100%}.ag-group-title-bar{display:flex;align-items:center}.ag-group-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ag-group-title-bar .ag-group-title{cursor:default}.ag-group-toolbar{display:flex;align-items:center}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-group-container-horizontal{flex-direction:row;flex-wrap:wrap}.ag-group-container-vertical{flex-direction:column}.ag-column-group-icons{display:block}.ag-column-group-icons>*{cursor:pointer}.ag-group-item-alignment-stretch .ag-group-item{align-items:stretch}.ag-group-item-alignment-start .ag-group-item{align-items:flex-start}.ag-group-item-alignment-end .ag-group-item{align-items:flex-end}.ag-toggle-button-icon{transition:right .3s;position:absolute;top:-1px}.ag-input-field,.ag-select{display:flex;flex-direction:row;align-items:center}.ag-input-field-input{flex:1 1 auto}.ag-floating-filter-input .ag-input-field-input[type=date]{width:1px}.ag-angle-select,.ag-range-field{display:flex;align-items:center}.ag-angle-select-wrapper{display:flex}.ag-angle-select-parent-circle{display:block;position:relative}.ag-angle-select-child-circle{position:absolute}.ag-slider-wrapper{display:flex}.ag-picker-field-display,.ag-slider-wrapper .ag-input-field{flex:1 1 auto}.ag-picker-field{display:flex;align-items:center}.ag-picker-field-icon{display:flex;border:0;padding:0;margin:0;cursor:pointer}.ag-picker-field-wrapper{overflow:hidden}.ag-label-align-right .ag-label{order:1}.ag-label-align-right>*{flex:none}.ag-label-align-top{flex-direction:column;align-items:flex-start}.ag-label-align-top>*{align-self:stretch}.ag-color-panel{width:100%;display:flex;flex-direction:column;text-align:center}.ag-spectrum-color{flex:1 1 auto;position:relative;overflow:hidden;cursor:default}.ag-spectrum-fill{position:absolute;top:0;left:0;right:0;bottom:0}.ag-spectrum-val{cursor:pointer}.ag-spectrum-dragger{position:absolute;pointer-events:none;cursor:pointer}.ag-spectrum-hue{cursor:default;background:linear-gradient(270deg,red 3%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.ag-spectrum-alpha{cursor:default}.ag-spectrum-hue-background{width:100%;height:100%}.ag-spectrum-alpha-background{background-image:linear-gradient(90deg,transparent,#000);width:100%;height:100%}.ag-spectrum-tool{cursor:pointer}.ag-spectrum-slider{position:absolute;pointer-events:none}.ag-recent-colors{display:flex}.ag-recent-color{cursor:pointer}.ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-ltr .ag-row-group-indent-1{padding-left:20px}.ag-rtl .ag-row-group-indent-1{padding-right:20px}.ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-ltr .ag-row-group-indent-2{padding-left:40px}.ag-rtl .ag-row-group-indent-2{padding-right:40px}.ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-ltr .ag-row-group-indent-3{padding-left:60px}.ag-rtl .ag-row-group-indent-3{padding-right:60px}.ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-ltr .ag-row-group-indent-4{padding-left:80px}.ag-rtl .ag-row-group-indent-4{padding-right:80px}.ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-ltr .ag-row-group-indent-5{padding-left:100px}.ag-rtl .ag-row-group-indent-5{padding-right:100px}.ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-ltr .ag-row-group-indent-6{padding-left:120px}.ag-rtl .ag-row-group-indent-6{padding-right:120px}.ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-ltr .ag-row-group-indent-7{padding-left:140px}.ag-rtl .ag-row-group-indent-7{padding-right:140px}.ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-ltr .ag-row-group-indent-8{padding-left:160px}.ag-rtl .ag-row-group-indent-8{padding-right:160px}.ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-ltr .ag-row-group-indent-9{padding-left:180px}.ag-rtl .ag-row-group-indent-9{padding-right:180px}.ag-ltr{direction:ltr}.ag-ltr .ag-body,.ag-ltr .ag-body-horizontal-scroll,.ag-ltr .ag-body-viewport,.ag-ltr .ag-floating-bottom,.ag-ltr .ag-floating-top,.ag-ltr .ag-header{flex-direction:row}.ag-rtl{direction:rtl}.ag-rtl .ag-body,.ag-rtl .ag-body-horizontal-scroll,.ag-rtl .ag-body-viewport,.ag-rtl .ag-floating-bottom,.ag-rtl .ag-floating-top,.ag-rtl .ag-header{flex-direction:row-reverse}.ag-rtl .ag-icon-contracted,.ag-rtl .ag-icon-expanded,.ag-rtl .ag-icon-tree-closed{display:block;transform:rotate(180deg)}.ag-body .ag-body-viewport{-webkit-overflow-scrolling:touch}.ag-layout-print.ag-body-viewport{flex:none}.ag-layout-print.ag-root-wrapper{display:inline-flex}.ag-layout-print .ag-center-cols-clipper{min-width:100%}.ag-layout-print .ag-body-horizontal-scroll{display:none}.ag-layout-print.ag-force-vertical-scroll{overflow-y:visible!important}@media print{.ag-root-wrapper.ag-layout-print{display:table}.ag-root-wrapper.ag-layout-print .ag-body-horizontal-scroll-viewport,.ag-root-wrapper.ag-layout-print .ag-body-viewport,.ag-root-wrapper.ag-layout-print .ag-center-cols-clipper,.ag-root-wrapper.ag-layout-print .ag-center-cols-container,.ag-root-wrapper.ag-layout-print .ag-center-cols-viewport,.ag-root-wrapper.ag-layout-print .ag-root,.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,.ag-root-wrapper.ag-layout-print .ag-virtual-list-viewport{height:auto!important;overflow:hidden!important;display:block!important}.ag-root-wrapper.ag-layout-print .ag-cell,.ag-root-wrapper.ag-layout-print .ag-row{break-inside:avoid}}[class^=ag-],[class^=ag-]:after,[class^=ag-]:before,[class^=ag-]:focus{box-sizing:border-box;outline:none}[class^=ag-]::-ms-clear{display:none}.ag-checkbox .ag-input-wrapper,.ag-radio-button .ag-input-wrapper{overflow:visible}.ag-range-field .ag-input-wrapper{height:100%}.ag-toggle-button{flex:none;width:unset;min-width:unset}.ag-ltr .ag-label-align-right .ag-label{margin-left:var(--ag-grid-size)}.ag-rtl .ag-label-align-right .ag-label{margin-right:var(--ag-grid-size)}input[class^=ag-]{margin:0}input[class^=ag-],select[class^=ag-],textarea[class^=ag-]{background-color:var(--ag-background-color)}input[class^=ag-]:not([type]),input[class^=ag-][type=date],input[class^=ag-][type=datetime-local],input[class^=ag-][type=number],input[class^=ag-][type=tel],input[class^=ag-][type=text],textarea[class^=ag-]{font-size:inherit;line-height:inherit;color:inherit;border:var(--ag-borders-input) var(--ag-input-border-color)}input[class^=ag-]:not([type]):disabled,input[class^=ag-][type=date]:disabled,input[class^=ag-][type=datetime-local]:disabled,input[class^=ag-][type=number]:disabled,input[class^=ag-][type=tel]:disabled,input[class^=ag-][type=text]:disabled,textarea[class^=ag-]:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}input[class^=ag-]:not([type]):focus,input[class^=ag-][type=date]:focus,input[class^=ag-][type=datetime-local]:focus,input[class^=ag-][type=number]:focus,input[class^=ag-][type=tel]:focus,input[class^=ag-][type=text]:focus,textarea[class^=ag-]:focus{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}input[class^=ag-]:not([type]):invalid,input[class^=ag-][type=date]:invalid,input[class^=ag-][type=datetime-local]:invalid,input[class^=ag-][type=number]:invalid,input[class^=ag-][type=tel]:invalid,input[class^=ag-][type=text]:invalid,textarea[class^=ag-]:invalid{border:var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid)}input[class^=ag-][type=number]{-moz-appearance:textfield}input[class^=ag-][type=number]::-webkit-inner-spin-button,input[class^=ag-][type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[class^=ag-][type=range]{padding:0}button[class^=ag-]:focus,input[class^=ag-][type=button]:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-drag-handle{color:var(--ag-secondary-foreground-color)}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-select-list{background-color:var(--ag-background-color);overflow-y:auto;overflow-x:hidden}.ag-list-item{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-list-item.ag-active-item{background-color:var(--ag-row-hover-color)}.ag-select-list-item{padding-left:4px;padding-right:4px;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-select-list-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-select .ag-picker-field-wrapper{background-color:var(--ag-background-color);min-height:var(--ag-list-item-height);cursor:default}.ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-select:not(.ag-cell-editor){height:var(--ag-list-item-height)}.ag-select .ag-picker-field-display{margin:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-select .ag-picker-field-icon{display:flex;align-items:center}.ag-select.ag-disabled{opacity:.5}.ag-rich-select{background-color:var(--ag-control-panel-background-color)}.ag-rich-select-list{width:100%;min-width:200px;height:calc(var(--ag-row-height)*6.5)}.ag-rich-select-value{padding:0 var(--ag-grid-size) 0 var(--ag-cell-horizontal-padding);height:var(--ag-row-height);border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-rich-select-virtual-list-item:focus:after{content:none}.ag-rich-select-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-rich-select-row{padding-left:var(--ag-cell-horizontal-padding)}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-group-contracted,.ag-group-expanded,.ag-row-drag,.ag-selection-checkbox{color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-contracted,.ag-ltr .ag-group-expanded,.ag-ltr .ag-row-drag,.ag-ltr .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-group-contracted,.ag-rtl .ag-group-expanded,.ag-rtl .ag-row-drag,.ag-rtl .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - 2px));--ag-internal-padded-row-height:calc(var(--ag-row-height) - 2px);height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));display:flex;align-items:center;flex:none}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-group-title-bar-icon{cursor:pointer;flex:none;color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-child-count{margin-left:2px}.ag-rtl .ag-group-child-count{margin-right:2px}.ag-group-title-bar{background-color:var(--ag-subheader-background-color);padding:var(--ag-grid-size)}.ag-group-toolbar{padding:var(--ag-grid-size);background-color:var(--ag-subheader-toolbar-background-color)}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.group-item{margin:calc(var(--ag-grid-size)*0.5) 0}.ag-label{white-space:nowrap}.ag-ltr .ag-label{margin-right:var(--ag-grid-size)}.ag-rtl .ag-label{margin-left:var(--ag-grid-size)}.ag-label-align-top .ag-label{margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-angle-select[disabled]{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-angle-select[disabled] .ag-angle-select-field{opacity:.4}.ag-ltr .ag-angle-select-field,.ag-ltr .ag-slider-field{margin-right:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-angle-select-field,.ag-rtl .ag-slider-field{margin-left:calc(var(--ag-grid-size)*2)}.ag-angle-select-parent-circle{width:24px;height:24px;border-radius:12px;border:1px solid;border-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-angle-select-child-circle{top:4px;left:12px;width:6px;height:6px;margin-left:-3px;margin-top:-4px;border-radius:3px;background-color:var(--ag-secondary-foreground-color)}.ag-picker-field-wrapper{border:1px solid;border-color:var(--ag-border-color);border-radius:5px}.ag-picker-field-wrapper:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-picker-field-button{background-color:var(--ag-background-color);color:var(--ag-secondary-foreground-color)}.ag-dialog.ag-color-dialog{border-radius:5px}.ag-color-picker .ag-picker-field-display{height:var(--ag-icon-size)}.ag-color-panel{padding:var(--ag-grid-size)}.ag-spectrum-color{background-color:red;border-radius:2px}.ag-spectrum-tools{padding:10px}.ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,rgba(204,154,129,0))}.ag-spectrum-val{background-image:linear-gradient(0deg,#000,rgba(204,154,129,0))}.ag-spectrum-dragger{border-radius:12px;height:12px;width:12px;border:1px solid #fff;background:#000;box-shadow:0 0 2px 0 rgba(0,0,0,.24)}.ag-spectrum-alpha-background,.ag-spectrum-hue-background{border-radius:2px}.ag-spectrum-tool{margin-bottom:10px;height:11px;border-radius:2px}.ag-spectrum-slider{margin-top:-12px;width:13px;height:13px;border-radius:13px;background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.ag-recent-color{margin:0 3px}.ag-recent-color:first-child{margin-left:0}.ag-recent-color:last-child{margin-right:0}.ag-dnd-ghost{background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);overflow:hidden;text-overflow:ellipsis;border:var(--ag-borders-secondary) var(--ag-secondary-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)!important;line-height:var(--ag-header-height);margin:0;padding:0 calc(var(--ag-grid-size)*2);transform:translateY(calc(var(--ag-grid-size)*2))}.ag-dnd-ghost-icon{margin-right:var(--ag-grid-size);color:var(--ag-foreground-color)}.ag-popup-child:not(.ag-tooltip-custom){box-shadow:var(--ag-popup-shadow)}.ag-dragging-fill-handle .ag-dialog,.ag-dragging-range-handle .ag-dialog{opacity:.7;pointer-events:none}.ag-dialog{border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-panel{background-color:var(--ag-background-color)}.ag-panel-title-bar{background-color:var(--ag-header-background-color);color:var(--ag-header-foreground-color);height:var(--ag-header-height);padding:var(--ag-grid-size) var(--ag-cell-horizontal-padding);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-panel-title-bar-button{margin-left:var(--ag-grid-size)}.ag-rtl .ag-panel-title-bar-button{margin-right:var(--ag-grid-size)}.ag-tooltip{background-color:var(--ag-header-background-color);color:var(--ag-foreground-color);padding:var(--ag-grid-size);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);transition:opacity 1s;white-space:normal}.ag-tooltip.ag-tooltip-hiding{opacity:0}.ag-tooltip-custom{transition:opacity 1s}.ag-tooltip-custom.ag-tooltip-hiding{opacity:0}.ag-ltr .ag-column-select-indent-1{padding-left:calc(var(--ag-column-select-indent-size)*1)}.ag-rtl .ag-column-select-indent-1{padding-right:calc(var(--ag-column-select-indent-size)*1)}.ag-ltr .ag-column-select-indent-2{padding-left:calc(var(--ag-column-select-indent-size)*2)}.ag-rtl .ag-column-select-indent-2{padding-right:calc(var(--ag-column-select-indent-size)*2)}.ag-ltr .ag-column-select-indent-3{padding-left:calc(var(--ag-column-select-indent-size)*3)}.ag-rtl .ag-column-select-indent-3{padding-right:calc(var(--ag-column-select-indent-size)*3)}.ag-ltr .ag-column-select-indent-4{padding-left:calc(var(--ag-column-select-indent-size)*4)}.ag-rtl .ag-column-select-indent-4{padding-right:calc(var(--ag-column-select-indent-size)*4)}.ag-ltr .ag-column-select-indent-5{padding-left:calc(var(--ag-column-select-indent-size)*5)}.ag-rtl .ag-column-select-indent-5{padding-right:calc(var(--ag-column-select-indent-size)*5)}.ag-ltr .ag-column-select-indent-6{padding-left:calc(var(--ag-column-select-indent-size)*6)}.ag-rtl .ag-column-select-indent-6{padding-right:calc(var(--ag-column-select-indent-size)*6)}.ag-ltr .ag-column-select-indent-7{padding-left:calc(var(--ag-column-select-indent-size)*7)}.ag-rtl .ag-column-select-indent-7{padding-right:calc(var(--ag-column-select-indent-size)*7)}.ag-ltr .ag-column-select-indent-8{padding-left:calc(var(--ag-column-select-indent-size)*8)}.ag-rtl .ag-column-select-indent-8{padding-right:calc(var(--ag-column-select-indent-size)*8)}.ag-ltr .ag-column-select-indent-9{padding-left:calc(var(--ag-column-select-indent-size)*9)}.ag-rtl .ag-column-select-indent-9{padding-right:calc(var(--ag-column-select-indent-size)*9)}.ag-column-select-header-icon{cursor:pointer}.ag-keyboard-focus .ag-column-select-header-icon:focus{outline:none}.ag-keyboard-focus .ag-column-select-header-icon:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-ltr .ag-column-group-icons:not(:last-child),.ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-label:not(:last-child),.ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:var(--ag-widget-horizontal-spacing)}.ag-rtl .ag-column-group-icons:not(:last-child),.ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-label:not(:last-child),.ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:var(--ag-widget-horizontal-spacing)}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-column-group:not(:last-child),.ag-column-select-column:not(:last-child){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) 0}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-rtl{text-align:right}.ag-root-wrapper{border:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-group-indent-1{padding-left:calc(var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row-group-indent-1{padding-right:calc(var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-level-1 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-1 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-group-indent-2{padding-left:calc(var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row-group-indent-2{padding-right:calc(var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-level-2 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-2 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-group-indent-3{padding-left:calc(var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row-group-indent-3{padding-right:calc(var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-level-3 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-3 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-group-indent-4{padding-left:calc(var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row-group-indent-4{padding-right:calc(var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-level-4 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-4 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-group-indent-5{padding-left:calc(var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row-group-indent-5{padding-right:calc(var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-level-5 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-5 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-group-indent-6{padding-left:calc(var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row-group-indent-6{padding-right:calc(var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-level-6 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-6 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-group-indent-7{padding-left:calc(var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row-group-indent-7{padding-right:calc(var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-level-7 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-7 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-group-indent-8{padding-left:calc(var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row-group-indent-8{padding-right:calc(var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-level-8 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-8 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-group-indent-9{padding-left:calc(var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row-group-indent-9{padding-right:calc(var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-level-9 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-9 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-group-indent-10{padding-left:calc(var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row-group-indent-10{padding-right:calc(var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-level-10 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-10 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-group-indent-11{padding-left:calc(var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row-group-indent-11{padding-right:calc(var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-level-11 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-11 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-group-indent-12{padding-left:calc(var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row-group-indent-12{padding-right:calc(var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-level-12 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-12 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-group-indent-13{padding-left:calc(var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row-group-indent-13{padding-right:calc(var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-level-13 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-13 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-group-indent-14{padding-left:calc(var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row-group-indent-14{padding-right:calc(var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-level-14 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-14 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-group-indent-15{padding-left:calc(var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row-group-indent-15{padding-right:calc(var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-level-15 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-15 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-group-indent-16{padding-left:calc(var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row-group-indent-16{padding-right:calc(var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-level-16 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-16 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-group-indent-17{padding-left:calc(var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row-group-indent-17{padding-right:calc(var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-level-17 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-17 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-group-indent-18{padding-left:calc(var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row-group-indent-18{padding-right:calc(var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-level-18 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-18 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-group-indent-19{padding-left:calc(var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row-group-indent-19{padding-right:calc(var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-level-19 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-19 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-group-indent-20{padding-left:calc(var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row-group-indent-20{padding-right:calc(var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-level-20 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-20 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-group-indent-21{padding-left:calc(var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row-group-indent-21{padding-right:calc(var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-level-21 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-21 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-group-indent-22{padding-left:calc(var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row-group-indent-22{padding-right:calc(var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-level-22 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-22 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-group-indent-23{padding-left:calc(var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row-group-indent-23{padding-right:calc(var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-level-23 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-23 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-group-indent-24{padding-left:calc(var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row-group-indent-24{padding-right:calc(var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-level-24 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-24 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-group-indent-25{padding-left:calc(var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row-group-indent-25{padding-right:calc(var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-level-25 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-25 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-group-indent-26{padding-left:calc(var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row-group-indent-26{padding-right:calc(var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-level-26 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-26 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-group-indent-27{padding-left:calc(var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row-group-indent-27{padding-right:calc(var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-level-27 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-27 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-group-indent-28{padding-left:calc(var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row-group-indent-28{padding-right:calc(var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-level-28 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-28 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-group-indent-29{padding-left:calc(var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row-group-indent-29{padding-right:calc(var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-level-29 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-29 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-group-indent-30{padding-left:calc(var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row-group-indent-30{padding-right:calc(var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-level-30 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-30 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-group-indent-31{padding-left:calc(var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row-group-indent-31{padding-right:calc(var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-level-31 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-31 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-group-indent-32{padding-left:calc(var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row-group-indent-32{padding-right:calc(var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-level-32 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-32 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-group-indent-33{padding-left:calc(var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row-group-indent-33{padding-right:calc(var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-level-33 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-33 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-group-indent-34{padding-left:calc(var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row-group-indent-34{padding-right:calc(var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-level-34 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-34 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-group-indent-35{padding-left:calc(var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row-group-indent-35{padding-right:calc(var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-level-35 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-35 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-group-indent-36{padding-left:calc(var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row-group-indent-36{padding-right:calc(var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-level-36 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-36 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-group-indent-37{padding-left:calc(var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row-group-indent-37{padding-right:calc(var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-level-37 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-37 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-group-indent-38{padding-left:calc(var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row-group-indent-38{padding-right:calc(var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-level-38 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-38 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-group-indent-39{padding-left:calc(var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row-group-indent-39{padding-right:calc(var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-level-39 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-39 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-group-indent-40{padding-left:calc(var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row-group-indent-40{padding-right:calc(var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-level-40 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-40 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-group-indent-41{padding-left:calc(var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row-group-indent-41{padding-right:calc(var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-level-41 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-41 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-group-indent-42{padding-left:calc(var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row-group-indent-42{padding-right:calc(var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-level-42 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-42 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-group-indent-43{padding-left:calc(var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row-group-indent-43{padding-right:calc(var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-level-43 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-43 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-group-indent-44{padding-left:calc(var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row-group-indent-44{padding-right:calc(var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-level-44 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-44 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-group-indent-45{padding-left:calc(var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row-group-indent-45{padding-right:calc(var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-level-45 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-45 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-group-indent-46{padding-left:calc(var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row-group-indent-46{padding-right:calc(var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-level-46 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-46 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-group-indent-47{padding-left:calc(var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row-group-indent-47{padding-right:calc(var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-level-47 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-47 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-group-indent-48{padding-left:calc(var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row-group-indent-48{padding-right:calc(var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-level-48 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-48 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-group-indent-49{padding-left:calc(var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row-group-indent-49{padding-right:calc(var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-level-49 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-49 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-group-indent-50{padding-left:calc(var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row-group-indent-50{padding-right:calc(var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-level-50 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-50 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-group-indent-51{padding-left:calc(var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row-group-indent-51{padding-right:calc(var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-level-51 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-51 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-group-indent-52{padding-left:calc(var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row-group-indent-52{padding-right:calc(var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-level-52 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-52 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-group-indent-53{padding-left:calc(var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row-group-indent-53{padding-right:calc(var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-level-53 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-53 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-group-indent-54{padding-left:calc(var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row-group-indent-54{padding-right:calc(var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-level-54 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-54 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-group-indent-55{padding-left:calc(var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row-group-indent-55{padding-right:calc(var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-level-55 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-55 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-group-indent-56{padding-left:calc(var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row-group-indent-56{padding-right:calc(var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-level-56 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-56 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-group-indent-57{padding-left:calc(var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row-group-indent-57{padding-right:calc(var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-level-57 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-57 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-group-indent-58{padding-left:calc(var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row-group-indent-58{padding-right:calc(var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-level-58 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-58 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-group-indent-59{padding-left:calc(var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row-group-indent-59{padding-right:calc(var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-level-59 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-59 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-group-indent-60{padding-left:calc(var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row-group-indent-60{padding-right:calc(var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-level-60 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-60 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-group-indent-61{padding-left:calc(var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row-group-indent-61{padding-right:calc(var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-level-61 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-61 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-group-indent-62{padding-left:calc(var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row-group-indent-62{padding-right:calc(var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-level-62 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-62 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-group-indent-63{padding-left:calc(var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row-group-indent-63{padding-right:calc(var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-level-63 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-63 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-group-indent-64{padding-left:calc(var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row-group-indent-64{padding-right:calc(var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-level-64 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-64 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-group-indent-65{padding-left:calc(var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row-group-indent-65{padding-right:calc(var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-level-65 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-65 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-group-indent-66{padding-left:calc(var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row-group-indent-66{padding-right:calc(var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-level-66 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-66 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-group-indent-67{padding-left:calc(var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row-group-indent-67{padding-right:calc(var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-level-67 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-67 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-group-indent-68{padding-left:calc(var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row-group-indent-68{padding-right:calc(var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-level-68 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-68 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-group-indent-69{padding-left:calc(var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row-group-indent-69{padding-right:calc(var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-level-69 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-69 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-group-indent-70{padding-left:calc(var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row-group-indent-70{padding-right:calc(var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-level-70 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-70 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-group-indent-71{padding-left:calc(var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row-group-indent-71{padding-right:calc(var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-level-71 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-71 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-group-indent-72{padding-left:calc(var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row-group-indent-72{padding-right:calc(var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-level-72 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-72 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-group-indent-73{padding-left:calc(var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row-group-indent-73{padding-right:calc(var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-level-73 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-73 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-group-indent-74{padding-left:calc(var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row-group-indent-74{padding-right:calc(var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-level-74 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-74 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-group-indent-75{padding-left:calc(var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row-group-indent-75{padding-right:calc(var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-level-75 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-75 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-group-indent-76{padding-left:calc(var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row-group-indent-76{padding-right:calc(var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-level-76 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-76 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-group-indent-77{padding-left:calc(var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row-group-indent-77{padding-right:calc(var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-level-77 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-77 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-group-indent-78{padding-left:calc(var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row-group-indent-78{padding-right:calc(var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-level-78 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-78 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-group-indent-79{padding-left:calc(var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row-group-indent-79{padding-right:calc(var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-level-79 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-79 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-group-indent-80{padding-left:calc(var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row-group-indent-80{padding-right:calc(var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-level-80 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-80 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-group-indent-81{padding-left:calc(var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row-group-indent-81{padding-right:calc(var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-level-81 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-81 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-group-indent-82{padding-left:calc(var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row-group-indent-82{padding-right:calc(var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-level-82 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-82 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-group-indent-83{padding-left:calc(var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row-group-indent-83{padding-right:calc(var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-level-83 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-83 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-group-indent-84{padding-left:calc(var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row-group-indent-84{padding-right:calc(var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-level-84 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-84 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-group-indent-85{padding-left:calc(var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row-group-indent-85{padding-right:calc(var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-level-85 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-85 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-group-indent-86{padding-left:calc(var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row-group-indent-86{padding-right:calc(var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-level-86 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-86 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-group-indent-87{padding-left:calc(var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row-group-indent-87{padding-right:calc(var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-level-87 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-87 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-group-indent-88{padding-left:calc(var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row-group-indent-88{padding-right:calc(var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-level-88 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-88 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-group-indent-89{padding-left:calc(var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row-group-indent-89{padding-right:calc(var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-level-89 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-89 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-group-indent-90{padding-left:calc(var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row-group-indent-90{padding-right:calc(var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-level-90 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-90 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-group-indent-91{padding-left:calc(var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row-group-indent-91{padding-right:calc(var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-level-91 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-91 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-group-indent-92{padding-left:calc(var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row-group-indent-92{padding-right:calc(var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-level-92 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-92 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-group-indent-93{padding-left:calc(var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row-group-indent-93{padding-right:calc(var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-level-93 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-93 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-group-indent-94{padding-left:calc(var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row-group-indent-94{padding-right:calc(var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-level-94 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-94 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-group-indent-95{padding-left:calc(var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row-group-indent-95{padding-right:calc(var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-level-95 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-95 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-group-indent-96{padding-left:calc(var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row-group-indent-96{padding-right:calc(var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-level-96 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-96 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-group-indent-97{padding-left:calc(var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row-group-indent-97{padding-right:calc(var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-level-97 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-97 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-group-indent-98{padding-left:calc(var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row-group-indent-98{padding-right:calc(var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-level-98 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-98 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-group-indent-99{padding-left:calc(var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row-group-indent-99{padding-right:calc(var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-level-99 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-99 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row-group-leaf-indent{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-group-leaf-indent{margin-right:var(--ag-row-group-indent-size)}.ag-value-change-delta{padding-right:2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color .1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row{height:var(--ag-row-height);background-color:var(--ag-background-color);color:var(--ag-data-color);border-bottom:var(--ag-borders-row) var(--ag-row-border-color)}.ag-row-highlight-above:after,.ag-row-highlight-below:after{content:"";position:absolute;width:calc(100% - 1px);height:1px;background-color:var(--ag-range-selection-border-color);left:1px}.ag-row-highlight-above:after{top:-1px}.ag-row-highlight-above.ag-row-first:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-row-selected:before{content:"";background-color:var(--ag-selected-row-background-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{content:"";background-color:var(--ag-row-hover-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ag-row-hover.ag-full-width-row.ag-row-group>*{position:relative}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-ltr .ag-right-aligned-cell{text-align:right}.ag-rtl .ag-right-aligned-cell{text-align:left}.ag-ltr .ag-right-aligned-cell .ag-cell-value,.ag-ltr .ag-right-aligned-cell .ag-group-value{margin-left:auto}.ag-rtl .ag-right-aligned-cell .ag-cell-value,.ag-rtl .ag-right-aligned-cell .ag-group-value{margin-right:auto}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - 2px));--ag-internal-padded-row-height:calc(var(--ag-row-height) - 2px);border:1px solid transparent;line-height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));-webkit-font-smoothing:subpixel-antialiased}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group,.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:.5}.ag-cell-inline-editing{height:var(--ag-row-height)}.ag-cell-inline-editing,.ag-popup-editor{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0;background-color:var(--ag-control-panel-background-color)}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}.ag-details-row{padding:calc(var(--ag-grid-size)*5);background-color:var(--ag-background-color)}.ag-layout-auto-height .ag-center-cols-clipper,.ag-layout-auto-height .ag-center-cols-container,.ag-layout-print .ag-center-cols-clipper,.ag-layout-print .ag-center-cols-container{min-height:50px}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-overlay-loading-center{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:var(--ag-grid-size)}.ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-loading{display:flex;height:100%;align-items:center}.ag-ltr .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-name:spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-floating-top{border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-floating-bottom{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-cell{border-right:var(--ag-cell-horizontal-border)}.ag-rtl .ag-cell{border-left:var(--ag-cell-horizontal-border)}.ag-ltr .ag-cell{border-right-width:1px}.ag-rtl .ag-cell{border-left-width:1px}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-cell-range-selected:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:var(--ag-range-selection-chart-background-color)!important}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:var(--ag-range-selection-chart-category-background-color)!important}.ag-cell-range-selected-1:not(.ag-cell-focus),.ag-root:not(.ag-context-menu-open) .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-cell-range-selected-2:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-2)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-cell-range-selected-3:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-3)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-cell-range-selected-4:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-4)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:var(--ag-range-selection-border-color);border-top-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:var(--ag-range-selection-border-color);border-right-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:var(--ag-range-selection-border-color);border-bottom-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:var(--ag-range-selection-border-color);border-left-style:var(--ag-range-selection-border-style)}.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-ltr .ag-cell-range-single-cell,.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-rtl .ag-cell-range-single-cell,.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border-color:currentcolor;border-style:solid;border:1px var(--ag-range-selection-border-style) var(--ag-range-selection-border-color);outline:initial}.ag-cell.ag-selection-fill-top,.ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-right,.ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-right,.ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-cell.ag-selection-fill-bottom,.ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-left,.ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-left,.ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-fill-handle,.ag-range-handle{position:absolute;width:6px;height:6px;bottom:-1px;background-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-fill-handle,.ag-ltr .ag-range-handle{right:-1px}.ag-rtl .ag-fill-handle,.ag-rtl .ag-range-handle{left:-1px}.ag-fill-handle{cursor:cell}.ag-range-handle{cursor:nwse-resize}.ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-menu{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0}.ag-menu-list{cursor:default;padding:var(--ag-grid-size) 0}.ag-menu-separator{height:calc(var(--ag-grid-size)*2 + 1px)}.ag-menu-separator-part:after{content:"";display:block;border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-compact-menu-option-active,.ag-menu-option-active{background-color:var(--ag-row-hover-color)}.ag-compact-menu-option-part,.ag-menu-option-part{line-height:var(--ag-icon-size);padding:calc(var(--ag-grid-size) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{opacity:.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}.ag-ltr .ag-compact-menu-option-icon,.ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-compact-menu-option-icon,.ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-grid-size)*2);padding-right:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-compact-menu-option-shortcut,.ag-ltr .ag-menu-option-shortcut{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-shortcut,.ag-rtl .ag-menu-option-shortcut{padding-left:var(--ag-grid-size)}.ag-compact-menu-option-popup-pointer,.ag-menu-option-popup-pointer{padding-right:var(--ag-grid-size)}.ag-tabs{min-width:var(--ag-tab-min-width)}.ag-tabs-header{width:100%;display:flex}.ag-tab{border-bottom:var(--ag-selected-tab-underline-width) solid transparent;transition:border-bottom var(--ag-selected-tab-underline-transition-speed);display:flex;flex:none;align-items:center;justify-content:center;cursor:pointer}.ag-keyboard-focus .ag-tab:focus{outline:none}.ag-keyboard-focus .ag-tab:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-tab-selected{border-bottom-color:var(--ag-selected-tab-underline-color)}.ag-menu-header{color:var(--ag-secondary-foreground-color)}.ag-filter-separator{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-menu:not(.ag-tabs) .ag-filter-select{min-width:calc(var(--ag-menu-min-width) - var(--ag-widget-container-horizontal-padding)*2 - 2px)}.ag-tabs .ag-filter-select{min-width:calc(var(--ag-tab-min-width) - var(--ag-widget-container-horizontal-padding)*2 - 2px)}.ag-filter-select .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}.ag-ltr .ag-filter-condition-operator-or{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-condition-operator-or{margin-right:calc(var(--ag-grid-size)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-set-filter-filter{margin-top:var(--ag-widget-container-vertical-padding);margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-item{margin:0 var(--ag-widget-container-horizontal-padding)}.ag-ltr .ag-set-filter-item-value{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-set-filter-item-value{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-apply-panel{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-filter-apply-panel-button{line-height:1.5}.ag-ltr .ag-filter-apply-panel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-apply-panel-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-simple-filter-body-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-simple-filter-body-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-multi-filter-menu-item{margin:var(--ag-grid-size) 0}.ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*2) var(--ag-grid-size);background-color:transparent}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus{outline:none}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-side-bar{position:relative}.ag-tool-panel-wrapper{width:var(--ag-side-bar-panel-width);background-color:var(--ag-control-panel-background-color)}.ag-side-buttons{padding-top:calc(var(--ag-grid-size)*4);width:calc(var(--ag-icon-size) + 4px);position:relative;color:var(--ag-foreground-color);overflow:hidden}button.ag-side-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:transparent;padding:calc(var(--ag-grid-size)*2) 0 calc(var(--ag-grid-size)*2) 0;width:100%;margin:0;min-height:calc(var(--ag-grid-size)*18);background-position-y:center;background-position-x:center;background-repeat:no-repeat;border:none;border-top:var(--ag-borders-side-button) var(--ag-border-color);border-bottom:var(--ag-borders-side-button) var(--ag-border-color)}button.ag-side-button-button:focus{box-shadow:none}.ag-keyboard-focus .ag-side-button-button:focus{outline:none}.ag-keyboard-focus .ag-side-button-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-selected button.ag-side-button-button{background-color:var(--ag-side-button-selected-background-color)}.ag-side-button-icon-wrapper{margin-bottom:3px}.ag-ltr .ag-side-bar-left,.ag-rtl .ag-side-bar-right{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:var(--ag-selected-tab-underline-width) solid transparent;transition:border-right var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:var(--ag-selected-tab-underline-color)}.ag-ltr .ag-side-bar-right,.ag-rtl .ag-side-bar-left{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:var(--ag-selected-tab-underline-width) solid transparent;transition:border-left var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:var(--ag-selected-tab-underline-color)}.ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*6)}.ag-ltr .ag-filter-toolpanel-header,.ag-ltr .ag-filter-toolpanel-search{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-header,.ag-rtl .ag-filter-toolpanel-search{padding-right:var(--ag-grid-size)}.ag-keyboard-focus .ag-filter-toolpanel-header:focus{outline:none}.ag-keyboard-focus .ag-filter-toolpanel-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--ag-icon-font-code-filter,"\\f114");position:absolute}.ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*8)}.ag-filter-toolpanel-group-item{margin-top:calc(var(--ag-grid-size)*0.5);margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-filter-toolpanel-search{height:var(--ag-header-height)}.ag-filter-toolpanel-search-input{flex-grow:1;height:calc(var(--ag-grid-size)*4)}.ag-ltr .ag-filter-toolpanel-search-input{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-search-input{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-ltr .ag-filter-toolpanel-expand,.ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-expand,.ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:var(--ag-grid-size)}.ag-filter-toolpanel-instance-filter{border-bottom:var(--ag-borders) var(--ag-border-color);border-top:var(--ag-borders) var(--ag-border-color);margin-top:var(--ag-grid-size)}.ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:var(--ag-grid-size)}.ag-pivot-mode-panel{min-height:var(--ag-header-height);height:var(--ag-header-height);display:flex}.ag-pivot-mode-select{display:flex;align-items:center}.ag-ltr .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-keyboard-focus .ag-column-select-header:focus{outline:none}.ag-keyboard-focus .ag-column-select-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-header{height:var(--ag-header-height);align-items:center;padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select,.ag-column-select-header{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-panel-column-select{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-group-icons,.ag-column-select-header-icon{color:var(--ag-secondary-foreground-color)}.ag-column-select-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-column-select-list .ag-item-highlight-top:after{top:0}.ag-column-select-list .ag-item-highlight-bottom:after{bottom:0}.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-row{color:var(--ag-header-foreground-color);height:var(--ag-header-height)}.ag-pinned-right-header{border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-pinned-left-header{border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-header-cell,.ag-header-group-cell{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-header-cell.ag-header-cell-moving,.ag-header-group-cell.ag-header-cell-moving{background-color:var(--ag-header-cell-moving-background-color)}.ag-keyboard-focus .ag-header-cell:focus{outline:none}.ag-keyboard-focus .ag-header-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-keyboard-focus .ag-header-group-cell:focus{outline:none}.ag-keyboard-focus .ag-header-group-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-icon{color:var(--ag-secondary-foreground-color)}.ag-header-expand-icon{cursor:pointer}.ag-ltr .ag-header-expand-icon{padding-left:4px}.ag-rtl .ag-header-expand-icon{padding-right:4px}.ag-header-row:not(:first-child) .ag-header-cell,.ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-cell:not(.ag-column-hover):first-of-type.ag-column-resizing,.ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving):hover,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover,.ag-header-group-cell:first-of-type.ag-column-resizing,.ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover{background-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:after,.ag-header-group-cell:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-separator-display);width:var(--ag-header-column-separator-width);height:var(--ag-header-column-separator-height);top:calc(50% - var(--ag-header-column-separator-height)*0.5);background-color:var(--ag-header-column-separator-color)}.ag-ltr .ag-header-cell:after,.ag-ltr .ag-header-group-cell:after{right:0}.ag-rtl .ag-header-cell:after,.ag-rtl .ag-header-group-cell:after{left:0}.ag-header-cell-resize{display:flex;align-items:center}.ag-header-cell-resize:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-resize-handle-display);left:calc(50% - var(--ag-header-column-resize-handle-width));width:var(--ag-header-column-resize-handle-width);height:var(--ag-header-column-resize-handle-height);top:calc(50% - var(--ag-header-column-resize-handle-height)*0.5);background-color:var(--ag-header-column-resize-handle-color)}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-ltr .ag-header-select-all{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-select-all{margin-left:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-floating-filter-button{margin-left:calc(var(--ag-grid-size)*3)}.ag-rtl .ag-floating-filter-button{margin-right:calc(var(--ag-grid-size)*3)}.ag-floating-filter-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;background:transparent;border:none;height:var(--ag-icon-size);padding:0;width:var(--ag-icon-size)}.ag-filter-loading{background-color:var(--ag-control-panel-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1}.ag-paging-panel{border-top:1px solid;border-top-color:var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-paging-panel>*{margin:0 var(--ag-cell-horizontal-padding)}.ag-paging-button{cursor:pointer}.ag-paging-button.ag-disabled{cursor:default;color:var(--ag-disabled-foreground-color)}.ag-keyboard-focus .ag-paging-button:focus{outline:none}.ag-keyboard-focus .ag-paging-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-paging-button,.ag-paging-description{margin:0 var(--ag-grid-size)}.ag-status-bar{border-top:var(--ag-borders) var(--ag-border-color);color:var(--ag-disabled-foreground-color);padding-right:calc(var(--ag-grid-size)*4);padding-left:calc(var(--ag-grid-size)*4);line-height:1.5}.ag-status-name-value-value{color:var(--ag-foreground-color)}.ag-status-bar-center{text-align:center}.ag-status-name-value{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size);padding-top:calc(var(--ag-grid-size)*2);padding-bottom:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell{background:var(--ag-chip-background-color);border-radius:calc(var(--ag-grid-size)*4);height:calc(var(--ag-grid-size)*4);padding:0 calc(var(--ag-grid-size)*0.5);border:1px solid transparent}.ag-keyboard-focus .ag-column-drop-cell:focus{outline:none}.ag-keyboard-focus .ag-column-drop-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:2px;left:2px;display:block;width:calc(100% - 4px);height:calc(100% - 4px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-drop-cell-text{margin:0 var(--ag-grid-size)}.ag-column-drop-cell-button{min-width:calc(var(--ag-grid-size)*4);margin:0 calc(var(--ag-grid-size)*0.5);color:var(--ag-secondary-foreground-color)}.ag-column-drop-cell-drag-handle{margin-left:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell-ghost{opacity:.5}.ag-column-drop-horizontal{background-color:var(--ag-control-panel-background-color);color:var(--ag-secondary-foreground-color);height:var(--ag-row-height);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-column-drop-horizontal{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:var(--ag-borders) var(--ag-border-color)}.ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:var(--ag-borders) var(--ag-border-color)}.ag-column-drop-horizontal-cell-separator{margin:0 var(--ag-grid-size);color:var(--ag-secondary-foreground-color)}.ag-column-drop-horizontal-empty-message{color:var(--ag-disabled-foreground-color)}.ag-ltr .ag-column-drop-horizontal-icon{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal-icon{margin-left:var(--ag-cell-horizontal-padding)}.ag-column-drop-vertical-list{padding-bottom:var(--ag-grid-size);padding-right:var(--ag-grid-size);padding-left:var(--ag-grid-size)}.ag-column-drop-vertical-cell{margin-top:var(--ag-grid-size)}.ag-column-drop-vertical{min-height:50px;border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-column-drop-vertical-icon{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size)}.ag-column-drop-vertical-empty-message{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;color:var(--ag-disabled-foreground-color);margin-top:var(--ag-grid-size)}.ag-select-agg-func-popup{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background:var(--ag-background-color);height:calc(var(--ag-grid-size)*5*3.5);padding:0}.ag-select-agg-func-virtual-list-item{cursor:default;padding-left:calc(var(--ag-grid-size)*2)}.ag-select-agg-func-virtual-list-item:hover{background-color:var(--ag-selected-row-background-color)}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-sort-indicator-container{display:flex}.ag-ltr .ag-sort-indicator-icon{padding-left:var(--ag-grid-size)}.ag-rtl .ag-sort-indicator-icon{padding-right:var(--ag-grid-size)}.ag-chart{width:100%;height:100%}.ag-chart,.ag-chart-components-wrapper{position:relative;display:flex;overflow:hidden}.ag-chart-components-wrapper{flex:1 1 auto}.ag-chart-title-edit{position:absolute;display:none;top:0;left:0;text-align:center}.ag-chart-title-edit.currently-editing{display:inline-block}.ag-chart-canvas-wrapper{position:relative;flex:1 1 auto;overflow:hidden}.ag-charts-canvas{display:block}.ag-chart-menu{position:absolute;top:10px;width:24px;overflow:hidden;display:flex;flex-direction:column}.ag-ltr .ag-chart-menu{right:20px}.ag-rtl .ag-chart-menu{left:20px}.ag-chart-docked-container{position:relative;width:0;min-width:0;transition:min-width .4s}.ag-chart-menu-hidden~.ag-chart-docked-container{max-width:0;overflow:hidden}.ag-chart-tabbed-menu{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.ag-chart-tabbed-menu-header{flex:none;user-select:none;cursor:default}.ag-chart-tabbed-menu-body{display:flex;flex:1 1 auto;align-items:stretch;overflow:hidden}.ag-chart-tab{width:100%;overflow:hidden;overflow-y:auto}.ag-chart-settings{overflow-x:hidden}.ag-chart-settings-wrapper{position:relative;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.ag-chart-settings-nav-bar{display:flex;align-items:center;width:100%;height:30px;padding:0 10px;user-select:none}.ag-chart-settings-card-selector{display:flex;align-items:center;justify-content:space-around;flex:1 1 auto;height:100%;padding:0 10px}.ag-chart-settings-card-item{cursor:pointer;width:10px;height:10px;background-color:#000;position:relative}.ag-chart-settings-card-item.ag-not-selected{opacity:.2}.ag-chart-settings-card-item:before{content:" ";display:block;position:absolute;background-color:transparent;left:50%;top:50%;margin-left:-10px;margin-top:-10px;width:20px;height:20px}.ag-chart-settings-next,.ag-chart-settings-prev{position:relative;flex:none}.ag-chart-settings-next-button,.ag-chart-settings-prev-button{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.ag-chart-settings-mini-charts-container{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto}.ag-chart-settings-mini-wrapper{position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100%;overflow:hidden}.ag-chart-settings-mini-wrapper.ag-animating{transition:left .3s;transition-timing-function:ease-in-out}.ag-chart-mini-thumbnail{cursor:pointer}.ag-chart-mini-thumbnail-canvas{display:block}.ag-chart-data-wrapper,.ag-chart-format-wrapper{display:flex;flex-direction:column;position:relative;user-select:none}.ag-chart-data-wrapper{height:100%;overflow-y:auto}.ag-chart-empty-text{display:flex;top:0;width:100%;height:100%;align-items:center;justify-content:center}.ag-chart .ag-chart-menu{display:none}.ag-chart-menu-hidden:hover .ag-chart-menu{display:block}.ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{display:flex;flex-direction:row;overflow:auto;top:5px;gap:7px;width:auto}.ag-ltr .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{right:10px;justify-content:right}.ag-rtl .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{left:10px;justify-content:left}.ag-chart-menu-close{display:none}.ag-chart-tool-panel-button-enable .ag-chart-menu-close{position:absolute;top:45%;padding:0;display:block;cursor:pointer;border:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{left:0}.ag-chart-tool-panel-button-enable .ag-chart-menu-close .ag-icon{padding:9px 0}.ag-chart-tool-panel-button-enable .ag-icon-menu{display:none}.ag-charts-font-size-color{display:flex;align-self:stretch;justify-content:space-between}.ag-charts-data-group-item{position:relative}.ag-chart-menu{background:var(--ag-background-color)}.ag-chart-menu,.ag-chart-menu-icon{border-radius:var(--ag-card-radius)}.ag-chart-menu-icon{opacity:.5;line-height:24px;font-size:24px;width:24px;height:24px;margin:2px 0;cursor:pointer;color:var(--ag-secondary-foreground-color)}.ag-chart-menu-icon:hover{opacity:1}.ag-chart-mini-thumbnail{border:1px solid var(--ag-secondary-border-color);border-radius:5px;margin:5px}.ag-chart-mini-thumbnail:nth-last-child(3),.ag-chart-mini-thumbnail:nth-last-child(3)~.ag-chart-mini-thumbnail{margin-left:auto;margin-right:auto}.ag-ltr .ag-chart-mini-thumbnail:first-child{margin-left:0}.ag-ltr .ag-chart-mini-thumbnail:last-child,.ag-rtl .ag-chart-mini-thumbnail:first-child{margin-right:0}.ag-rtl .ag-chart-mini-thumbnail:last-child{margin-left:0}.ag-chart-mini-thumbnail.ag-selected{border-color:var(--ag-minichart-selected-chart-color)}.ag-chart-settings-card-item{background:var(--ag-foreground-color);width:8px;height:8px;border-radius:4px}.ag-chart-settings-card-item.ag-selected{background-color:var(--ag-minichart-selected-page-color)}.ag-chart-data-column-drag-handle{margin-left:var(--ag-grid-size)}.ag-charts-data-group-title-bar,.ag-charts-format-top-level-group-title-bar,.ag-charts-settings-group-title-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-charts-settings-group-container{padding:var(--ag-grid-size)}.ag-charts-data-group-container{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) var(--ag-widget-container-horizontal-padding)}.ag-charts-data-group-container .ag-charts-data-group-item:not(.ag-charts-format-sub-level-group){height:var(--ag-list-item-height)}.ag-charts-data-group-container .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-charts-data-group-container .ag-item-highlight-top:after{top:0}.ag-charts-data-group-container .ag-item-highlight-bottom:after{bottom:0}.ag-charts-format-top-level-group-container{margin-left:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size)}.ag-charts-format-top-level-group-item{margin:var(--ag-grid-size) 0}.ag-charts-format-sub-level-group-container{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-charts-format-sub-level-group-container>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-charts-group-container.ag-group-container-horizontal{padding:var(--ag-grid-size)}.ag-chart-data-section,.ag-chart-format-section{display:flex;margin:0}.ag-chart-menu-panel{background-color:var(--ag-control-panel-background-color)}.ag-ltr .ag-chart-menu-panel{border-left:1px solid var(--ag-border-color)}.ag-rtl .ag-chart-menu-panel{border-right:1px solid var(--ag-border-color)}.ag-date-time-list-page-title-bar{display:flex}.ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-date-time-list-page-column-labels-row,.ag-date-time-list-page-entries-row{display:flex}.ag-date-time-list-page-column-label,.ag-date-time-list-page-entry{flex-basis:0;flex-grow:1}.ag-date-time-list-page-entry{cursor:pointer;text-align:center}.ag-date-time-list-page-column-label{text-align:center}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(220);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'.ag-icon{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ag-icon-aggregation:before{content:var(--ag-icon-font-code-aggregation,"\\f101")}.ag-icon-arrows:before{content:var(--ag-icon-font-code-arrows,"\\f102")}.ag-icon-asc:before{content:var(--ag-icon-font-code-asc,"\\f103")}.ag-icon-cancel:before{content:var(--ag-icon-font-code-cancel,"\\f104")}.ag-icon-chart:before{content:var(--ag-icon-font-code-chart,"\\f105")}.ag-icon-checkbox-checked:before{content:var(--ag-icon-font-code-checkbox-checked,"\\f106")}.ag-icon-checkbox-indeterminate:before{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107")}.ag-icon-checkbox-unchecked:before{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108")}.ag-icon-color-picker:before{content:var(--ag-icon-font-code-color-picker,"\\f109")}.ag-icon-columns:before{content:var(--ag-icon-font-code-columns,"\\f10a")}.ag-icon-contracted:before{content:var(--ag-icon-font-code-contracted,"\\f10b")}.ag-icon-copy:before{content:var(--ag-icon-font-code-copy,"\\f10c")}.ag-icon-cross:before{content:var(--ag-icon-font-code-cross,"\\f10d")}.ag-icon-csv:before{content:var(--ag-icon-font-code-csv,"\\f10e")}.ag-icon-desc:before{content:var(--ag-icon-font-code-desc,"\\f10f")}.ag-icon-excel:before{content:var(--ag-icon-font-code-excel,"\\f110")}.ag-icon-expanded:before{content:var(--ag-icon-font-code-expanded,"\\f111")}.ag-icon-eye-slash:before{content:var(--ag-icon-font-code-eye-slash,"\\f112")}.ag-icon-eye:before{content:var(--ag-icon-font-code-eye,"\\f113")}.ag-icon-filter:before{content:var(--ag-icon-font-code-filter,"\\f114")}.ag-icon-first:before{content:var(--ag-icon-font-code-first,"\\f115")}.ag-icon-grip:before{content:var(--ag-icon-font-code-grip,"\\f116")}.ag-icon-group:before{content:var(--ag-icon-font-code-group,"\\f117")}.ag-icon-last:before{content:var(--ag-icon-font-code-last,"\\f118")}.ag-icon-left:before{content:var(--ag-icon-font-code-left,"\\f119")}.ag-icon-linked:before{content:var(--ag-icon-font-code-linked,"\\f11a")}.ag-icon-loading:before{content:var(--ag-icon-font-code-loading,"\\f11b")}.ag-icon-maximize:before{content:var(--ag-icon-font-code-maximize,"\\f11c")}.ag-icon-menu:before{content:var(--ag-icon-font-code-menu,"\\f11d")}.ag-icon-minimize:before{content:var(--ag-icon-font-code-minimize,"\\f11e")}.ag-icon-next:before{content:var(--ag-icon-font-code-next,"\\f11f")}.ag-icon-none:before{content:var(--ag-icon-font-code-none,"\\f120")}.ag-icon-not-allowed:before{content:var(--ag-icon-font-code-not-allowed,"\\f121")}.ag-icon-paste:before{content:var(--ag-icon-font-code-paste,"\\f122")}.ag-icon-pin:before{content:var(--ag-icon-font-code-pin,"\\f123")}.ag-icon-pivot:before{content:var(--ag-icon-font-code-pivot,"\\f124")}.ag-icon-previous:before{content:var(--ag-icon-font-code-previous,"\\f125")}.ag-icon-radio-button-off:before{content:var(--ag-icon-font-code-radio-button-off,"\\f126")}.ag-icon-radio-button-on:before{content:var(--ag-icon-font-code-radio-button-on,"\\f127")}.ag-icon-right:before{content:var(--ag-icon-font-code-right,"\\f128")}.ag-icon-save:before{content:var(--ag-icon-font-code-save,"\\f129")}.ag-icon-small-down:before{content:var(--ag-icon-font-code-small-down,"\\f12a")}.ag-icon-small-left:before{content:var(--ag-icon-font-code-small-left,"\\f12b")}.ag-icon-small-right:before{content:var(--ag-icon-font-code-small-right,"\\f12c")}.ag-icon-small-up:before{content:var(--ag-icon-font-code-small-up,"\\f12d")}.ag-icon-tick:before{content:var(--ag-icon-font-code-tick,"\\f12e")}.ag-icon-tree-closed:before{content:var(--ag-icon-font-code-tree-closed,"\\f12f")}.ag-icon-tree-indeterminate:before{content:var(--ag-icon-font-code-tree-indeterminate,"\\f130")}.ag-icon-tree-open:before{content:var(--ag-icon-font-code-tree-open,"\\f131")}.ag-icon-unlinked:before{content:var(--ag-icon-font-code-unlinked,"\\f132")}.ag-icon-row-drag:before{content:var(--ag-icon-font-code-grip)}.ag-left-arrow:before{content:var(--ag-icon-font-code-left)}.ag-right-arrow:before{content:var(--ag-icon-font-code-right)}[class*=ag-theme-]{--ag-foreground-color:#000;--ag-data-color:var(--ag-foreground-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-header-foreground-color:var(--ag-secondary-foreground-color);--ag-disabled-foreground-color:rgba(0,0,0,0.5);--ag-background-color:#fff;--ag-header-background-color:transparent;--ag-subheader-background-color:transparent;--ag-subheader-toolbar-background-color:transparent;--ag-control-panel-background-color:transparent;--ag-side-button-selected-background-color:var(--ag-control-panel-background-color);--ag-selected-row-background-color:#bbb;--ag-odd-row-background-color:var(--ag-background-color);--ag-modal-overlay-background-color:hsla(0,0%,100%,0.66);--ag-row-hover-color:transparent;--ag-column-hover-color:transparent;--ag-range-selection-border-color:var(--ag-foreground-color);--ag-range-selection-border-style:solid;--ag-range-selection-background-color:rgba(0,0,0,0.2);--ag-range-selection-background-color-2:var(--ag-range-selection-background-color);--ag-range-selection-background-color-3:var(--ag-range-selection-background-color);--ag-range-selection-background-color-4:var(--ag-range-selection-background-color);--ag-range-selection-highlight-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-width:0;--ag-selected-tab-underline-transition-speed:0s;--ag-range-selection-chart-category-background-color:rgba(0,255,132,0.1);--ag-range-selection-chart-background-color:rgba(0,88,255,0.1);--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:var(--ag-background-color);--ag-value-change-value-highlight-background-color:rgba(22,160,133,0.5);--ag-value-change-delta-up-color:#43a047;--ag-value-change-delta-down-color:#e53935;--ag-chip-background-color:transparent;--ag-borders:solid 1px;--ag-border-color:rgba(0,0,0,0.25);--ag-borders-critical:var(--ag-borders);--ag-borders-secondary:var(--ag-borders);--ag-secondary-border-color:var(--ag-border-color);--ag-borders-row:var(--ag-borders-secondary);--ag-cell-horizontal-border:solid transparent;--ag-borders-input:var(--ag-borders-secondary);--ag-input-border-color:var(--ag-secondary-border-color);--ag-borders-input-invalid:solid 2px;--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-borders-side-button:var(--ag-borders);--ag-border-radius:0px;--ag-row-border-color:var(--ag-secondary-border-color);--ag-header-column-separator-display:none;--ag-header-column-separator-height:100%;--ag-header-column-separator-width:1px;--ag-header-column-separator-color:var(--ag-secondary-border-color);--ag-header-column-resize-handle-display:none;--ag-header-column-resize-handle-height:50%;--ag-header-column-resize-handle-width:1px;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-invalid-color:red;--ag-input-disabled-border-color:var(--ag-input-border-color);--ag-input-disabled-background-color:transparent;--ag-checkbox-background-color:transparent;--ag-checkbox-border-radius:var(--ag-border-radius);--ag-checkbox-checked-color:var(--ag-foreground-color);--ag-checkbox-unchecked-color:var(--ag-foreground-color);--ag-checkbox-indeterminate-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-border-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-background-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-on-border-color:var(--ag-checkbox-checked-color);--ag-toggle-button-on-background-color:var(--ag-checkbox-checked-color);--ag-toggle-button-switch-background-color:var(--ag-background-color);--ag-toggle-button-switch-border-color:var(--ag-toggle-button-off-border-color);--ag-toggle-button-border-width:1px;--ag-toggle-button-height:var(--ag-icon-size);--ag-toggle-button-width:calc(var(--ag-toggle-button-height)*2);--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:none;--ag-minichart-selected-chart-color:var(--ag-checkbox-checked-color);--ag-minichart-selected-page-color:var(--ag-checkbox-checked-color);--ag-grid-size:4px;--ag-icon-size:12px;--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:var(--ag-grid-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:var(--ag-cell-horizontal-padding);--ag-row-height:calc(var(--ag-grid-size)*6 + 1px);--ag-header-height:var(--ag-row-height);--ag-list-item-height:calc(var(--ag-grid-size)*5);--ag-column-select-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-row-group-indent-size:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));--ag-filter-tool-panel-group-indent:16px;--ag-tab-min-width:220px;--ag-menu-min-width:181px;--ag-side-bar-panel-width:200px;--ag-font-family:"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-card-radius:var(--ag-border-radius);--ag-card-shadow:none;--ag-popup-shadow:5px 5px 10px rgba(0,0,0,0.3)}.ag-dnd-ghost,.ag-root-wrapper,.ag-sticky-top{background-color:var(--ag-background-color)}[class*=ag-theme-]{-webkit-font-smoothing:antialiased;font-family:var(--ag-font-family);font-size:var(--ag-font-size);line-height:normal;color:var(--ag-foreground-color)}ag-grid,ag-grid-angular,ag-grid-aurelia,ag-grid-ng2,ag-grid-polymer{display:block}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-no-transition{transition:none!important}.ag-drag-handle{cursor:grab}.ag-column-drop-wrapper{display:flex}.ag-column-drop-horizontal-half-width{display:inline-block;width:50%!important}.ag-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}.ag-tab{position:relative}.ag-tab-guard{width:0;height:0;display:block}.ag-select-agg-func-popup,.ag-tab-guard{position:absolute}.ag-input-wrapper,.ag-picker-field-wrapper{display:flex;flex:1 1 auto;align-items:center;line-height:normal;position:relative}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-root-wrapper{cursor:default;position:relative;display:flex;flex-direction:column;overflow:hidden}.ag-root-wrapper.ag-layout-normal{height:100%}.ag-watermark{position:absolute;bottom:20px;right:25px;opacity:.5;transition:opacity 1s ease-out 3s}.ag-watermark:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM1IDQwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMiI+PGcgZmlsbD0iIzE4MWQxZiI+PHBhdGggZD0iTTIwNS45OTMgMjUuNjU4di03Ljk0NmgtMTMuNTQxbC03Ljk0NyA3Ljk0NmgyMS40ODh6TTIyMS4yNSA1Ljk1aC0xNi45NzRsLTguMDEgNy45NDdoMjQuOTg0VjUuOTUxek0xNzYuNjIyIDMzLjYwNWw0LjA3LTQuMDY5aDEzLjczdjcuOTQ3aC0xNy44di0zLjg3OHoiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik0xNzkuNjEgMjEuNzhoOC43NzNsOC4wMS03Ljk0NkgxNzkuNjF2Ny45NDZ6TTE3MC4wMSAzMy42MDVoNi42MTJsNy44ODMtNy45NDdoLTE0LjQ5NHY3Ljk0N3pNMjA0LjI3NiA1Ljk1bC00LjA2OCA0LjA3SDE3NC4yN1YyLjA3MmgzMC4wMDZWNS45NXpNMzMuODQgMzIuMjA2SDIxLjM3OGwtMi4xNjIgNS4zNEgxMy43NWwxMS41MDctMjYuOTU0aDQuNzY4TDQxLjUzIDM3LjU0NmgtNS41M2wtMi4xNjItNS4zNHptLTEuNzE3LTQuMjZMMjcuNjA5IDE2Ljk1bC00LjUxNCAxMC45OThoOS4wMjh6TTExNy40MzcgMjAuNTA5YzEuNTg5LTIuMzUyIDUuNTk0LTIuNjA3IDcuMjQ3LTIuNjA3djQuNTc4Yy0yLjAzNCAwLTQuMDY5LjA2My01LjI3Ny45NTMtMS4yMDcuODktMS44NDMgMi4wOTgtMS44NDMgMy41NnYxMC41NTNoLTQuOTU5VjE3LjkwMmg0Ljc2OGwuMDY0IDIuNjA3eiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTEyNy40MTggMTcuOTAyaDQuOTU4djE5LjY0NGgtNC45NTh6TTEyNy40MTggOS4xM2g0Ljk1OHY1Ljg0OGgtNC45NTh6Ii8+PHBhdGggZD0iTTE1Ni45NzkgOS4xM3YyOC40MTZoLTQuNzY4bC0uMTI3LTIuOTg4YTguMzEgOC4zMSAwIDAxLTIuNjcgMi40OGMtMS4wODEuNTcyLTIuNDE2Ljg5LTMuOTQyLjg5LTEuMzM1IDAtMi42MDYtLjI1NS0zLjY4Ny0uNy0xLjE0NC0uNTA4LTIuMTYyLTEuMTQ0LTIuOTg4LTIuMDM0YTkuNTczIDkuNTczIDAgMDEtMS45Ny0zLjE3OWMtLjUxLTEuMjA3LS43LTIuNjA2LS43LTQuMTMyIDAtMS41MjUuMjU0LTIuOTI0LjctNC4xOTYuNTA4LTEuMjcxIDEuMTQ0LTIuMzUyIDEuOTctMy4yNDIuODI2LS44OSAxLjg0NC0xLjU4OSAyLjk4OC0yLjA5OCAxLjE0NC0uNTA4IDIuMzUyLS43NjIgMy42ODctLjc2MiAxLjUyNiAwIDIuNzk3LjI1NCAzLjg3OC44MjYgMS4wOC41NzIgMS45NyAxLjMzNSAyLjY3IDIuNDE2VjkuMTkzaDQuOTU5di0uMDY0em0tMTAuNDI2IDI0LjUzOGMxLjY1MyAwIDIuOTI0LS41NzIgMy45NDEtMS42NTMgMS4wMTctMS4wOCAxLjUyNi0yLjU0MiAxLjUyNi00LjMyMiAwLTEuNzgtLjUwOS0zLjE4LTEuNTI2LTQuMzIzLTEuMDE3LTEuMDgxLTIuMjg4LTEuNjUzLTMuOTQxLTEuNjUzLTEuNTkgMC0yLjkyNS41NzItMy44NzggMS42NTMtMS4wMTcgMS4wOC0xLjUyNiAyLjU0My0xLjUyNiA0LjMyMyAwIDEuNzguNTA5IDMuMTc4IDEuNTI2IDQuMjU5IDEuMDE3IDEuMTQ0IDIuMjg4IDEuNzE2IDMuODc4IDEuNzE2TTcwLjIwMiAyMi4zNTJINTcuOTMzdjQuMjZoNi45OTNjLS4xOSAyLjE2MS0xLjAxNyAzLjgxNC0yLjQxNiA1LjE1LTEuMzk4IDEuMjctMy4xNzggMS45MDYtNS40NjcgMS45MDYtMS4yNzEgMC0yLjQ4LS4yNTQtMy40OTctLjY5OWE3LjAyNSA3LjAyNSAwIDAxLTIuNzMzLTEuOTdjLS43NjMtLjgyNy0xLjMzNS0xLjg0NC0xLjc4LTMuMDUyLS40NDUtMS4yMDgtLjYzNi0yLjQ4LS42MzYtMy45NDIgMC0xLjQ2Mi4xOS0yLjczMy42MzYtMy45NDEuMzgxLTEuMjA4IDEuMDE3LTIuMTYyIDEuNzgtMy4wNTIuNzYzLS44MjYgMS42NTMtMS40NjIgMi43MzMtMS45N2E5LjExNSA5LjExNSAwIDAxMy41Ni0uN2MyLjY3IDAgNC43MDUuNjM2IDYuMTAzIDEuOTA4bDMuMzA2LTMuMzA2Yy0yLjQ4LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDYuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OSAxLjU4OS00LjM4NiAyLjc5N0ExMi4wNzQgMTIuMDc0IDAgMDA0NC4yIDE4LjIyYy0uNjM1IDEuNzE3LS45NTMgMy42MjQtLjk1MyA1LjY1OCAwIDIuMDM1LjMxOCAzLjk0MiAxLjAxNyA1LjY1OC43IDEuNzE3IDEuNTkgMy4xNzkgMi43OTcgNC4zODdhMTIuMDc0IDEyLjA3NCAwIDAwNC4zODcgMi43OTdjMS43MTYuNyAzLjYyMyAxLjAxNyA1LjY1OCAxLjAxNyAyLjAzNCAwIDMuODc3LS4zMTggNS41My0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3IDEuMTQ0LTEuMjA4IDIuMDM0LTIuNjcgMi42Ny00LjM4Ny42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43TTEwOC45ODIgMjIuMzUyaC0xMi4yN3Y0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjUgNy4wMjUgMCAwMS0yLjczNC0xLjk3Yy0uNzYzLS44MjctMS4zMzUtMS44NDQtMS43OC0zLjA1Mi0uNDQ1LTEuMjA4LS42MzYtMi40OC0uNjM2LTMuOTQyIDAtMS40NjIuMTkxLTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczNC0xLjk3YTkuMTE1IDkuMTE1IDAgMDEzLjU2LS43YzIuNjcgMCA0LjcwNC42MzYgNi4xMDMgMS45MDhsMy4zMDUtMy4zMDZjLTIuNDc5LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDUuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OCAxLjU4OS00LjM4NiAyLjc5N2ExMi4wNzQgMTIuMDc0IDAgMDAtMi43OTggNC4zODZjLS42MzUgMS43MTctLjk1MyAzLjYyNC0uOTUzIDUuNjU4IDAgMi4wMzUuMzE4IDMuOTQyIDEuMDE3IDUuNjU4LjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4wNzQgMTIuMDc0IDAgMDA0LjM4NyAyLjc5N2MxLjcxNi43IDMuNjIzIDEuMDE3IDUuNjU4IDEuMDE3IDIuMDM0IDAgMy44NzgtLjMxOCA1LjUzLTEuMDE3IDEuNjUzLS43IDMuMDUyLTEuNTkgNC4xOTYtMi43OTcgMS4xNDUtMS4yMDggMi4wMzUtMi42NyAyLjY3LTQuMzg3LjYzNi0xLjcxNi45NTQtMy42MjMuOTU0LTUuNjU4di0uODI2Yy0uMTktLjEyNy0uMjU0LS40NDUtLjI1NC0uNyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==);background-repeat:no-repeat;background-size:170px 40px;display:block;height:40px;width:170px;opacity:.5}.ag-watermark-text{opacity:.5;font-weight:700;font-family:Impact,sans-serif;font-size:19px;padding-left:.7rem}.ag-root-wrapper-body{display:flex;flex-direction:row}.ag-root-wrapper-body.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}.ag-root{position:relative;display:flex;flex-direction:column}.ag-root.ag-layout-auto-height,.ag-root.ag-layout-normal{overflow:hidden;flex:1 1 auto;width:0}.ag-root.ag-layout-normal{height:100%}.ag-body-horizontal-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{position:relative;height:100%;min-width:0;overflow:hidden;flex:1 1 auto}.ag-body-viewport{display:flex}.ag-body-viewport.ag-layout-normal{overflow-y:auto;-webkit-overflow-scrolling:touch}.ag-center-cols-viewport{width:100%;overflow-x:auto}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-top-full-width-container{position:absolute;top:0;left:0;pointer-events:none}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;overflow:hidden;height:100%;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-center-cols-clipper{flex:1 1 auto;min-width:0;overflow:hidden;min-height:100%;transform:translateZ(0)}.ag-body-horizontal-scroll{min-height:0;min-width:0;width:100%;display:flex;position:relative}.ag-body-horizontal-scroll.ag-scrollbar-invisible{position:absolute;bottom:0;left:0;right:0}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar{display:none}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling{display:inherit}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll}.ag-horizontal-left-spacer.ag-scroller-corner,.ag-horizontal-right-spacer.ag-scroller-corner{overflow-x:hidden}.ag-header,.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;overflow:hidden;position:relative}.ag-header-cell-sortable{cursor:pointer}.ag-header{display:flex;width:100%;white-space:nowrap}.ag-pinned-left-header,.ag-pinned-right-header{height:100%}.ag-header-cell,.ag-header-row{position:absolute;overflow:hidden}.ag-header-cell{display:inline-flex;align-items:center;height:100%}.ag-header-cell.ag-header-active .ag-header-cell-menu-button{opacity:1}.ag-header-cell-menu-button:not(.ag-header-menu-always-show){transition:opacity .2s;opacity:0}.ag-header-cell-label,.ag-header-group-cell-label{display:flex;flex:1 1 auto;overflow:hidden;align-items:center;text-overflow:ellipsis;align-self:stretch}.ag-header-cell-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper{height:100%;display:flex;align-items:center}.ag-header-cell-comp-wrapper{width:100%;overflow:hidden}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-right-aligned-header .ag-header-cell-label{flex-direction:row-reverse}.ag-header-group-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-header-cell-resize{position:absolute;z-index:2;height:100%;width:8px;top:0;cursor:ew-resize}.ag-ltr .ag-header-cell-resize{right:-4px}.ag-rtl .ag-header-cell-resize{left:-4px}.ag-pinned-left-header .ag-header-cell-resize{right:-4px}.ag-pinned-right-header .ag-header-cell-resize{left:-4px}.ag-header-select-all{display:flex}.ag-column-moving .ag-cell,.ag-column-moving .ag-header-cell{transition:left .2s}.ag-column-moving .ag-header-group-cell{transition:left .2s,width .2s}.ag-column-panel{display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto}.ag-column-select{position:relative;display:flex;flex-direction:column;overflow:hidden;flex:3 1 0px}.ag-column-select-header{position:relative;display:flex;flex:none}.ag-column-select-header-icon{position:relative}.ag-column-select-header-filter-wrapper{flex:1 1 auto}.ag-column-select-header-filter{width:100%}.ag-column-select-list{flex:1 1 0px;overflow:hidden}.ag-column-drop{position:relative;display:inline-flex;align-items:center;overflow:auto;width:100%}.ag-column-drop-cell,.ag-column-drop-list{display:flex;align-items:center}.ag-column-drop-cell{position:relative}.ag-column-drop-cell-text{overflow:hidden;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.ag-column-drop-vertical{display:flex;flex-direction:column;overflow:hidden;align-items:stretch;flex:1 1 0px}.ag-column-drop-vertical-title-bar{display:flex;align-items:center;flex:none}.ag-column-drop-vertical-list{position:relative;align-items:stretch;flex-grow:1;flex-direction:column;overflow-x:auto}.ag-column-drop-vertical-list>*{flex:none}.ag-column-drop-empty .ag-column-drop-vertical-list{overflow:hidden}.ag-column-drop-vertical-empty-message{display:block}.ag-column-drop.ag-column-drop-horizontal{white-space:nowrap;overflow:hidden}.ag-column-drop-cell-button{cursor:pointer}.ag-filter-toolpanel{flex:1 1 0px;min-width:0}.ag-filter-toolpanel-header{position:relative}.ag-filter-toolpanel-header,.ag-filter-toolpanel-header>*,.ag-filter-toolpanel-search,.ag-filter-toolpanel-search>*{display:flex;align-items:center}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden}.ag-row-animation .ag-row{transition:transform .4s,top .4s,background-color .1s,opacity .2s}.ag-row-animation .ag-row.ag-after-created{transition:transform .4s,top .4s,height .4s,background-color .1s,opacity .2s}.ag-row-no-animation .ag-row{transition:background-color .1s}.ag-row{white-space:nowrap;width:100%}.ag-row-loading{display:flex;align-items:center}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{display:flex;align-items:center}.ag-cell{display:inline-block;position:absolute;white-space:nowrap;height:100%}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-all}.ag-cell-wrapper{display:flex;align-items:center}.ag-cell-wrapper.ag-row-group{align-items:flex-start}.ag-sparkline-wrapper{position:absolute;height:100%;width:100%;left:0;top:0}.ag-full-width-row .ag-cell-wrapper.ag-row-group{height:100%;align-items:center}.ag-cell-inline-editing{z-index:1}.ag-cell-inline-editing .ag-cell-edit-wrapper,.ag-cell-inline-editing .ag-cell-editor,.ag-cell-inline-editing .ag-cell-editor .ag-wrapper,.ag-cell-inline-editing .ag-cell-editor input,.ag-cell-inline-editing .ag-cell-wrapper{height:100%;width:100%;line-height:normal}.ag-cell .ag-icon{display:inline-block;vertical-align:middle}.ag-set-filter-item{display:flex;align-items:center;height:100%}.ag-set-filter-item-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-set-filter-item-checkbox{display:flex}.ag-filter-body-wrapper{display:flex;flex-direction:column}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{position:relative;display:flex;flex:1 1 auto;height:100%}.ag-floating-filter-full-body{display:flex;flex:1 1 auto;height:100%;width:100%;align-items:center;overflow:hidden}.ag-floating-filter-full-body>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%}.ag-floating-filter-input>*{flex:1 1 auto}.ag-floating-filter-button{display:flex;flex:none}.ag-dnd-ghost{position:absolute;display:inline-flex;align-items:center;cursor:move;white-space:nowrap;z-index:9999}.ag-overlay{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{flex:none;align-items:center;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-popup-child{z-index:5;top:0}.ag-popup-editor{position:absolute;user-select:none;z-index:1}.ag-large-text-input{display:block}.ag-virtual-list-item{position:absolute;width:100%}.ag-floating-top{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-top,.ag-pinned-right-floating-top{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-floating-bottom{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-bottom,.ag-pinned-right-floating-bottom{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-sticky-top{position:absolute;display:flex;width:100%}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{position:relative;height:100%;overflow:hidden}.ag-sticky-top-full-width-container{overflow:hidden;width:100%;height:100%}.ag-dialog,.ag-panel{display:flex;flex-direction:column;position:relative;overflow:hidden}.ag-panel-title-bar{display:flex;flex:none;align-items:center;cursor:default}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-title-bar-button{cursor:pointer}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;position:relative;overflow:hidden}.ag-dialog,.ag-resizer{position:absolute}.ag-resizer{pointer-events:none;user-select:none;z-index:1}.ag-resizer.ag-resizer-topLeft{top:0;left:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-top{top:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-topRight{top:0;right:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-right{top:5px;right:0;bottom:5px;width:5px;cursor:ew-resize}.ag-resizer.ag-resizer-bottomRight{bottom:0;right:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-bottom{bottom:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-bottomLeft{bottom:0;left:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-left{left:0;top:5px;bottom:5px;width:5px;cursor:ew-resize}.ag-tooltip,.ag-tooltip-custom{position:absolute;pointer-events:none;z-index:99999}.ag-value-slide-out{margin-right:5px;opacity:1;transition:opacity 3s,margin-right 3s;transition-timing-function:linear}.ag-value-slide-out-end{margin-right:10px;opacity:0}.ag-opacity-zero{opacity:0!important}.ag-menu{max-height:100%;overflow-y:auto;position:absolute;user-select:none}.ag-menu-column-select-wrapper{height:265px;overflow:auto}.ag-menu-column-select-wrapper .ag-column-select{height:100%}.ag-menu-list{display:table;width:100%}.ag-menu-option,.ag-menu-separator{display:table-row}.ag-menu-option-part,.ag-menu-separator-part{display:table-cell;vertical-align:middle}.ag-menu-option-text{white-space:nowrap}.ag-compact-menu-option{width:100%;display:flex;flex-wrap:nowrap}.ag-compact-menu-option-text{white-space:nowrap;flex:1 1 auto}.ag-rich-select{cursor:default;outline:none}.ag-rich-select-value{display:flex;align-items:center}.ag-rich-select-value-icon{flex:1 1 auto;order:1}.ag-ltr .ag-rich-select-value-icon{text-align:right}.ag-rtl .ag-rich-select-value-icon{text-align:left}.ag-rich-select-list{position:relative}.ag-rich-select-virtual-list-item{display:flex}.ag-rich-select-row{display:flex;flex:1 1 auto;align-items:center;white-space:nowrap}.ag-paging-panel{justify-content:flex-end}.ag-paging-page-summary-panel,.ag-paging-panel{align-items:center;display:flex}.ag-paging-button{position:relative}.ag-disabled .ag-paging-page-summary-panel{pointer-events:none}.ag-tool-panel-wrapper{display:flex;overflow-y:auto;overflow-x:hidden;cursor:default;user-select:none}.ag-column-select-column,.ag-column-select-column-group,.ag-select-agg-func-item{position:relative;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;text-overflow:ellipsis;white-space:nowrap;height:100%}.ag-column-select-column-group>*,.ag-column-select-column>*,.ag-select-agg-func-item>*{flex:none}.ag-column-select-checkbox{display:flex}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-ltr .ag-side-bar-left .ag-tool-panel-horizontal-resize{right:-3px}.ag-ltr .ag-side-bar-right .ag-tool-panel-horizontal-resize,.ag-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize{left:-3px}.ag-rtl .ag-side-bar-right .ag-tool-panel-horizontal-resize{right:-3px}.ag-details-row{width:100%}.ag-details-row-fixed-height{height:100%}.ag-details-grid{width:100%}.ag-details-grid-fixed-height{height:100%}.ag-header-group-cell{display:flex;align-items:center;height:100%;position:absolute}.ag-cell-label-container{display:flex;justify-content:space-between;flex-direction:row-reverse;align-items:center;height:100%;width:100%;overflow:hidden;padding:5px 0}.ag-right-aligned-header .ag-cell-label-container{flex-direction:row}.ag-side-bar{display:flex;flex-direction:row-reverse}.ag-side-bar-left{order:-1;flex-direction:row}.ag-side-button-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;outline:none;cursor:pointer}.ag-side-button-label{writing-mode:vertical-lr}.ag-status-bar{display:flex;justify-content:space-between;overflow:hidden}.ag-status-panel{display:inline-flex}.ag-status-name-value{white-space:nowrap}.ag-status-bar-center,.ag-status-bar-left,.ag-status-bar-right{display:inline-flex}.ag-icon{display:block;speak:none}.ag-group{position:relative;width:100%}.ag-group-title-bar{display:flex;align-items:center}.ag-group-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ag-group-title-bar .ag-group-title{cursor:default}.ag-group-toolbar{display:flex;align-items:center}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-group-container-horizontal{flex-direction:row;flex-wrap:wrap}.ag-group-container-vertical{flex-direction:column}.ag-column-group-icons{display:block}.ag-column-group-icons>*{cursor:pointer}.ag-group-item-alignment-stretch .ag-group-item{align-items:stretch}.ag-group-item-alignment-start .ag-group-item{align-items:flex-start}.ag-group-item-alignment-end .ag-group-item{align-items:flex-end}.ag-toggle-button-icon{transition:right .3s;position:absolute;top:-1px}.ag-input-field,.ag-select{display:flex;flex-direction:row;align-items:center}.ag-input-field-input{flex:1 1 auto}.ag-floating-filter-input .ag-input-field-input[type=date]{width:1px}.ag-angle-select,.ag-range-field{display:flex;align-items:center}.ag-angle-select-wrapper{display:flex}.ag-angle-select-parent-circle{display:block;position:relative}.ag-angle-select-child-circle{position:absolute}.ag-slider-wrapper{display:flex}.ag-picker-field-display,.ag-slider-wrapper .ag-input-field{flex:1 1 auto}.ag-picker-field{display:flex;align-items:center}.ag-picker-field-icon{display:flex;border:0;padding:0;margin:0;cursor:pointer}.ag-picker-field-wrapper{overflow:hidden}.ag-label-align-right .ag-label{order:1}.ag-label-align-right>*{flex:none}.ag-label-align-top{flex-direction:column;align-items:flex-start}.ag-label-align-top>*{align-self:stretch}.ag-color-panel{width:100%;display:flex;flex-direction:column;text-align:center}.ag-spectrum-color{flex:1 1 auto;position:relative;overflow:hidden;cursor:default}.ag-spectrum-fill{position:absolute;top:0;left:0;right:0;bottom:0}.ag-spectrum-val{cursor:pointer}.ag-spectrum-dragger{position:absolute;pointer-events:none;cursor:pointer}.ag-spectrum-hue{cursor:default;background:linear-gradient(270deg,red 3%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.ag-spectrum-alpha{cursor:default}.ag-spectrum-hue-background{width:100%;height:100%}.ag-spectrum-alpha-background{background-image:linear-gradient(90deg,transparent,#000);width:100%;height:100%}.ag-spectrum-tool{cursor:pointer}.ag-spectrum-slider{position:absolute;pointer-events:none}.ag-recent-colors{display:flex}.ag-recent-color{cursor:pointer}.ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-ltr .ag-row-group-indent-1{padding-left:20px}.ag-rtl .ag-row-group-indent-1{padding-right:20px}.ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-ltr .ag-row-group-indent-2{padding-left:40px}.ag-rtl .ag-row-group-indent-2{padding-right:40px}.ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-ltr .ag-row-group-indent-3{padding-left:60px}.ag-rtl .ag-row-group-indent-3{padding-right:60px}.ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-ltr .ag-row-group-indent-4{padding-left:80px}.ag-rtl .ag-row-group-indent-4{padding-right:80px}.ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-ltr .ag-row-group-indent-5{padding-left:100px}.ag-rtl .ag-row-group-indent-5{padding-right:100px}.ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-ltr .ag-row-group-indent-6{padding-left:120px}.ag-rtl .ag-row-group-indent-6{padding-right:120px}.ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-ltr .ag-row-group-indent-7{padding-left:140px}.ag-rtl .ag-row-group-indent-7{padding-right:140px}.ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-ltr .ag-row-group-indent-8{padding-left:160px}.ag-rtl .ag-row-group-indent-8{padding-right:160px}.ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-ltr .ag-row-group-indent-9{padding-left:180px}.ag-rtl .ag-row-group-indent-9{padding-right:180px}.ag-ltr{direction:ltr}.ag-ltr .ag-body,.ag-ltr .ag-body-horizontal-scroll,.ag-ltr .ag-body-viewport,.ag-ltr .ag-floating-bottom,.ag-ltr .ag-floating-top,.ag-ltr .ag-header{flex-direction:row}.ag-rtl{direction:rtl}.ag-rtl .ag-body,.ag-rtl .ag-body-horizontal-scroll,.ag-rtl .ag-body-viewport,.ag-rtl .ag-floating-bottom,.ag-rtl .ag-floating-top,.ag-rtl .ag-header{flex-direction:row-reverse}.ag-rtl .ag-icon-contracted,.ag-rtl .ag-icon-expanded,.ag-rtl .ag-icon-tree-closed{display:block;transform:rotate(180deg)}.ag-body .ag-body-viewport{-webkit-overflow-scrolling:touch}.ag-layout-print.ag-body-viewport{flex:none}.ag-layout-print.ag-root-wrapper{display:inline-flex}.ag-layout-print .ag-center-cols-clipper{min-width:100%}.ag-layout-print .ag-body-horizontal-scroll{display:none}.ag-layout-print.ag-force-vertical-scroll{overflow-y:visible!important}@media print{.ag-root-wrapper.ag-layout-print{display:table}.ag-root-wrapper.ag-layout-print .ag-body-horizontal-scroll-viewport,.ag-root-wrapper.ag-layout-print .ag-body-viewport,.ag-root-wrapper.ag-layout-print .ag-center-cols-clipper,.ag-root-wrapper.ag-layout-print .ag-center-cols-container,.ag-root-wrapper.ag-layout-print .ag-center-cols-viewport,.ag-root-wrapper.ag-layout-print .ag-root,.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,.ag-root-wrapper.ag-layout-print .ag-virtual-list-viewport{height:auto!important;overflow:hidden!important;display:block!important}.ag-root-wrapper.ag-layout-print .ag-cell,.ag-root-wrapper.ag-layout-print .ag-row{break-inside:avoid}}[class^=ag-],[class^=ag-]:after,[class^=ag-]:before,[class^=ag-]:focus{box-sizing:border-box;outline:none}[class^=ag-]::-ms-clear{display:none}.ag-checkbox .ag-input-wrapper,.ag-radio-button .ag-input-wrapper{overflow:visible}.ag-range-field .ag-input-wrapper{height:100%}.ag-toggle-button{flex:none;width:unset;min-width:unset}.ag-ltr .ag-label-align-right .ag-label{margin-left:var(--ag-grid-size)}.ag-rtl .ag-label-align-right .ag-label{margin-right:var(--ag-grid-size)}input[class^=ag-]{margin:0}input[class^=ag-],select[class^=ag-],textarea[class^=ag-]{background-color:var(--ag-background-color)}input[class^=ag-]:not([type]),input[class^=ag-][type=date],input[class^=ag-][type=datetime-local],input[class^=ag-][type=number],input[class^=ag-][type=tel],input[class^=ag-][type=text],textarea[class^=ag-]{font-size:inherit;line-height:inherit;color:inherit;border:var(--ag-borders-input) var(--ag-input-border-color)}input[class^=ag-]:not([type]):disabled,input[class^=ag-][type=date]:disabled,input[class^=ag-][type=datetime-local]:disabled,input[class^=ag-][type=number]:disabled,input[class^=ag-][type=tel]:disabled,input[class^=ag-][type=text]:disabled,textarea[class^=ag-]:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}input[class^=ag-]:not([type]):focus,input[class^=ag-][type=date]:focus,input[class^=ag-][type=datetime-local]:focus,input[class^=ag-][type=number]:focus,input[class^=ag-][type=tel]:focus,input[class^=ag-][type=text]:focus,textarea[class^=ag-]:focus{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}input[class^=ag-]:not([type]):invalid,input[class^=ag-][type=date]:invalid,input[class^=ag-][type=datetime-local]:invalid,input[class^=ag-][type=number]:invalid,input[class^=ag-][type=tel]:invalid,input[class^=ag-][type=text]:invalid,textarea[class^=ag-]:invalid{border:var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid)}input[class^=ag-][type=number]{-moz-appearance:textfield}input[class^=ag-][type=number]::-webkit-inner-spin-button,input[class^=ag-][type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[class^=ag-][type=range]{padding:0}button[class^=ag-]:focus,input[class^=ag-][type=button]:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-drag-handle{color:var(--ag-secondary-foreground-color)}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-select-list{background-color:var(--ag-background-color);overflow-y:auto;overflow-x:hidden}.ag-list-item{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-list-item.ag-active-item{background-color:var(--ag-row-hover-color)}.ag-select-list-item{padding-left:4px;padding-right:4px;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-select-list-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-select .ag-picker-field-wrapper{background-color:var(--ag-background-color);min-height:var(--ag-list-item-height);cursor:default}.ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-select:not(.ag-cell-editor){height:var(--ag-list-item-height)}.ag-select .ag-picker-field-display{margin:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-select .ag-picker-field-icon{display:flex;align-items:center}.ag-select.ag-disabled{opacity:.5}.ag-rich-select{background-color:var(--ag-control-panel-background-color)}.ag-rich-select-list{width:100%;min-width:200px;height:calc(var(--ag-row-height)*6.5)}.ag-rich-select-value{padding:0 var(--ag-grid-size) 0 var(--ag-cell-horizontal-padding);height:var(--ag-row-height);border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-rich-select-virtual-list-item:focus:after{content:none}.ag-rich-select-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-rich-select-row{padding-left:var(--ag-cell-horizontal-padding)}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-group-contracted,.ag-group-expanded,.ag-row-drag,.ag-selection-checkbox{color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-contracted,.ag-ltr .ag-group-expanded,.ag-ltr .ag-row-drag,.ag-ltr .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-group-contracted,.ag-rtl .ag-group-expanded,.ag-rtl .ag-row-drag,.ag-rtl .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - 2px));--ag-internal-padded-row-height:calc(var(--ag-row-height) - 2px);height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));display:flex;align-items:center;flex:none}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-group-title-bar-icon{cursor:pointer;flex:none;color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-child-count{margin-left:2px}.ag-rtl .ag-group-child-count{margin-right:2px}.ag-group-title-bar{background-color:var(--ag-subheader-background-color);padding:var(--ag-grid-size)}.ag-group-toolbar{padding:var(--ag-grid-size);background-color:var(--ag-subheader-toolbar-background-color)}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.group-item{margin:calc(var(--ag-grid-size)*0.5) 0}.ag-label{white-space:nowrap}.ag-ltr .ag-label{margin-right:var(--ag-grid-size)}.ag-rtl .ag-label{margin-left:var(--ag-grid-size)}.ag-label-align-top .ag-label{margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-angle-select[disabled]{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-angle-select[disabled] .ag-angle-select-field{opacity:.4}.ag-ltr .ag-angle-select-field,.ag-ltr .ag-slider-field{margin-right:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-angle-select-field,.ag-rtl .ag-slider-field{margin-left:calc(var(--ag-grid-size)*2)}.ag-angle-select-parent-circle{width:24px;height:24px;border-radius:12px;border:1px solid;border-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-angle-select-child-circle{top:4px;left:12px;width:6px;height:6px;margin-left:-3px;margin-top:-4px;border-radius:3px;background-color:var(--ag-secondary-foreground-color)}.ag-picker-field-wrapper{border:1px solid;border-color:var(--ag-border-color);border-radius:5px}.ag-picker-field-wrapper:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-picker-field-button{background-color:var(--ag-background-color);color:var(--ag-secondary-foreground-color)}.ag-dialog.ag-color-dialog{border-radius:5px}.ag-color-picker .ag-picker-field-display{height:var(--ag-icon-size)}.ag-color-panel{padding:var(--ag-grid-size)}.ag-spectrum-color{background-color:red;border-radius:2px}.ag-spectrum-tools{padding:10px}.ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,rgba(204,154,129,0))}.ag-spectrum-val{background-image:linear-gradient(0deg,#000,rgba(204,154,129,0))}.ag-spectrum-dragger{border-radius:12px;height:12px;width:12px;border:1px solid #fff;background:#000;box-shadow:0 0 2px 0 rgba(0,0,0,.24)}.ag-spectrum-alpha-background,.ag-spectrum-hue-background{border-radius:2px}.ag-spectrum-tool{margin-bottom:10px;height:11px;border-radius:2px}.ag-spectrum-slider{margin-top:-12px;width:13px;height:13px;border-radius:13px;background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.ag-recent-color{margin:0 3px}.ag-recent-color:first-child{margin-left:0}.ag-recent-color:last-child{margin-right:0}.ag-dnd-ghost{background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);overflow:hidden;text-overflow:ellipsis;border:var(--ag-borders-secondary) var(--ag-secondary-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)!important;line-height:var(--ag-header-height);margin:0;padding:0 calc(var(--ag-grid-size)*2);transform:translateY(calc(var(--ag-grid-size)*2))}.ag-dnd-ghost-icon{margin-right:var(--ag-grid-size);color:var(--ag-foreground-color)}.ag-popup-child:not(.ag-tooltip-custom){box-shadow:var(--ag-popup-shadow)}.ag-dragging-fill-handle .ag-dialog,.ag-dragging-range-handle .ag-dialog{opacity:.7;pointer-events:none}.ag-dialog{border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-panel{background-color:var(--ag-background-color)}.ag-panel-title-bar{background-color:var(--ag-header-background-color);color:var(--ag-header-foreground-color);height:var(--ag-header-height);padding:var(--ag-grid-size) var(--ag-cell-horizontal-padding);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-panel-title-bar-button{margin-left:var(--ag-grid-size)}.ag-rtl .ag-panel-title-bar-button{margin-right:var(--ag-grid-size)}.ag-tooltip{background-color:var(--ag-header-background-color);color:var(--ag-foreground-color);padding:var(--ag-grid-size);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);transition:opacity 1s;white-space:normal}.ag-tooltip.ag-tooltip-hiding{opacity:0}.ag-tooltip-custom{transition:opacity 1s}.ag-tooltip-custom.ag-tooltip-hiding{opacity:0}.ag-ltr .ag-column-select-indent-1{padding-left:calc(var(--ag-column-select-indent-size)*1)}.ag-rtl .ag-column-select-indent-1{padding-right:calc(var(--ag-column-select-indent-size)*1)}.ag-ltr .ag-column-select-indent-2{padding-left:calc(var(--ag-column-select-indent-size)*2)}.ag-rtl .ag-column-select-indent-2{padding-right:calc(var(--ag-column-select-indent-size)*2)}.ag-ltr .ag-column-select-indent-3{padding-left:calc(var(--ag-column-select-indent-size)*3)}.ag-rtl .ag-column-select-indent-3{padding-right:calc(var(--ag-column-select-indent-size)*3)}.ag-ltr .ag-column-select-indent-4{padding-left:calc(var(--ag-column-select-indent-size)*4)}.ag-rtl .ag-column-select-indent-4{padding-right:calc(var(--ag-column-select-indent-size)*4)}.ag-ltr .ag-column-select-indent-5{padding-left:calc(var(--ag-column-select-indent-size)*5)}.ag-rtl .ag-column-select-indent-5{padding-right:calc(var(--ag-column-select-indent-size)*5)}.ag-ltr .ag-column-select-indent-6{padding-left:calc(var(--ag-column-select-indent-size)*6)}.ag-rtl .ag-column-select-indent-6{padding-right:calc(var(--ag-column-select-indent-size)*6)}.ag-ltr .ag-column-select-indent-7{padding-left:calc(var(--ag-column-select-indent-size)*7)}.ag-rtl .ag-column-select-indent-7{padding-right:calc(var(--ag-column-select-indent-size)*7)}.ag-ltr .ag-column-select-indent-8{padding-left:calc(var(--ag-column-select-indent-size)*8)}.ag-rtl .ag-column-select-indent-8{padding-right:calc(var(--ag-column-select-indent-size)*8)}.ag-ltr .ag-column-select-indent-9{padding-left:calc(var(--ag-column-select-indent-size)*9)}.ag-rtl .ag-column-select-indent-9{padding-right:calc(var(--ag-column-select-indent-size)*9)}.ag-column-select-header-icon{cursor:pointer}.ag-keyboard-focus .ag-column-select-header-icon:focus{outline:none}.ag-keyboard-focus .ag-column-select-header-icon:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-ltr .ag-column-group-icons:not(:last-child),.ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-label:not(:last-child),.ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:var(--ag-widget-horizontal-spacing)}.ag-rtl .ag-column-group-icons:not(:last-child),.ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-label:not(:last-child),.ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:var(--ag-widget-horizontal-spacing)}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-column-group:not(:last-child),.ag-column-select-column:not(:last-child){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) 0}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-rtl{text-align:right}.ag-root-wrapper{border:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-group-indent-1{padding-left:calc(var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row-group-indent-1{padding-right:calc(var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-level-1 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-1 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-group-indent-2{padding-left:calc(var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row-group-indent-2{padding-right:calc(var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-level-2 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-2 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-group-indent-3{padding-left:calc(var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row-group-indent-3{padding-right:calc(var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-level-3 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-3 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-group-indent-4{padding-left:calc(var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row-group-indent-4{padding-right:calc(var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-level-4 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-4 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-group-indent-5{padding-left:calc(var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row-group-indent-5{padding-right:calc(var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-level-5 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-5 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-group-indent-6{padding-left:calc(var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row-group-indent-6{padding-right:calc(var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-level-6 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-6 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-group-indent-7{padding-left:calc(var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row-group-indent-7{padding-right:calc(var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-level-7 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-7 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-group-indent-8{padding-left:calc(var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row-group-indent-8{padding-right:calc(var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-level-8 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-8 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-group-indent-9{padding-left:calc(var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row-group-indent-9{padding-right:calc(var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-level-9 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-9 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-group-indent-10{padding-left:calc(var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row-group-indent-10{padding-right:calc(var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-level-10 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-10 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-group-indent-11{padding-left:calc(var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row-group-indent-11{padding-right:calc(var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-level-11 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-11 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-group-indent-12{padding-left:calc(var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row-group-indent-12{padding-right:calc(var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-level-12 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-12 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-group-indent-13{padding-left:calc(var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row-group-indent-13{padding-right:calc(var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-level-13 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-13 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-group-indent-14{padding-left:calc(var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row-group-indent-14{padding-right:calc(var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-level-14 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-14 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-group-indent-15{padding-left:calc(var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row-group-indent-15{padding-right:calc(var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-level-15 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-15 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-group-indent-16{padding-left:calc(var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row-group-indent-16{padding-right:calc(var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-level-16 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-16 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-group-indent-17{padding-left:calc(var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row-group-indent-17{padding-right:calc(var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-level-17 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-17 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-group-indent-18{padding-left:calc(var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row-group-indent-18{padding-right:calc(var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-level-18 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-18 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-group-indent-19{padding-left:calc(var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row-group-indent-19{padding-right:calc(var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-level-19 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-19 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-group-indent-20{padding-left:calc(var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row-group-indent-20{padding-right:calc(var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-level-20 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-20 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-group-indent-21{padding-left:calc(var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row-group-indent-21{padding-right:calc(var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-level-21 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-21 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-group-indent-22{padding-left:calc(var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row-group-indent-22{padding-right:calc(var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-level-22 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-22 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-group-indent-23{padding-left:calc(var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row-group-indent-23{padding-right:calc(var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-level-23 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-23 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-group-indent-24{padding-left:calc(var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row-group-indent-24{padding-right:calc(var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-level-24 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-24 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-group-indent-25{padding-left:calc(var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row-group-indent-25{padding-right:calc(var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-level-25 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-25 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-group-indent-26{padding-left:calc(var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row-group-indent-26{padding-right:calc(var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-level-26 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-26 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-group-indent-27{padding-left:calc(var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row-group-indent-27{padding-right:calc(var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-level-27 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-27 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-group-indent-28{padding-left:calc(var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row-group-indent-28{padding-right:calc(var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-level-28 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-28 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-group-indent-29{padding-left:calc(var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row-group-indent-29{padding-right:calc(var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-level-29 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-29 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-group-indent-30{padding-left:calc(var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row-group-indent-30{padding-right:calc(var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-level-30 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-30 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-group-indent-31{padding-left:calc(var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row-group-indent-31{padding-right:calc(var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-level-31 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-31 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-group-indent-32{padding-left:calc(var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row-group-indent-32{padding-right:calc(var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-level-32 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-32 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-group-indent-33{padding-left:calc(var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row-group-indent-33{padding-right:calc(var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-level-33 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-33 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-group-indent-34{padding-left:calc(var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row-group-indent-34{padding-right:calc(var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-level-34 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-34 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-group-indent-35{padding-left:calc(var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row-group-indent-35{padding-right:calc(var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-level-35 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-35 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-group-indent-36{padding-left:calc(var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row-group-indent-36{padding-right:calc(var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-level-36 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-36 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-group-indent-37{padding-left:calc(var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row-group-indent-37{padding-right:calc(var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-level-37 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-37 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-group-indent-38{padding-left:calc(var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row-group-indent-38{padding-right:calc(var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-level-38 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-38 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-group-indent-39{padding-left:calc(var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row-group-indent-39{padding-right:calc(var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-level-39 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-39 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-group-indent-40{padding-left:calc(var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row-group-indent-40{padding-right:calc(var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-level-40 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-40 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-group-indent-41{padding-left:calc(var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row-group-indent-41{padding-right:calc(var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-level-41 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-41 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-group-indent-42{padding-left:calc(var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row-group-indent-42{padding-right:calc(var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-level-42 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-42 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-group-indent-43{padding-left:calc(var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row-group-indent-43{padding-right:calc(var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-level-43 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-43 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-group-indent-44{padding-left:calc(var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row-group-indent-44{padding-right:calc(var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-level-44 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-44 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-group-indent-45{padding-left:calc(var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row-group-indent-45{padding-right:calc(var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-level-45 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-45 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-group-indent-46{padding-left:calc(var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row-group-indent-46{padding-right:calc(var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-level-46 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-46 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-group-indent-47{padding-left:calc(var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row-group-indent-47{padding-right:calc(var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-level-47 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-47 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-group-indent-48{padding-left:calc(var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row-group-indent-48{padding-right:calc(var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-level-48 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-48 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-group-indent-49{padding-left:calc(var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row-group-indent-49{padding-right:calc(var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-level-49 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-49 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-group-indent-50{padding-left:calc(var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row-group-indent-50{padding-right:calc(var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-level-50 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-50 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-group-indent-51{padding-left:calc(var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row-group-indent-51{padding-right:calc(var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-level-51 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-51 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-group-indent-52{padding-left:calc(var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row-group-indent-52{padding-right:calc(var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-level-52 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-52 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-group-indent-53{padding-left:calc(var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row-group-indent-53{padding-right:calc(var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-level-53 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-53 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-group-indent-54{padding-left:calc(var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row-group-indent-54{padding-right:calc(var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-level-54 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-54 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-group-indent-55{padding-left:calc(var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row-group-indent-55{padding-right:calc(var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-level-55 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-55 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-group-indent-56{padding-left:calc(var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row-group-indent-56{padding-right:calc(var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-level-56 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-56 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-group-indent-57{padding-left:calc(var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row-group-indent-57{padding-right:calc(var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-level-57 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-57 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-group-indent-58{padding-left:calc(var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row-group-indent-58{padding-right:calc(var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-level-58 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-58 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-group-indent-59{padding-left:calc(var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row-group-indent-59{padding-right:calc(var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-level-59 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-59 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-group-indent-60{padding-left:calc(var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row-group-indent-60{padding-right:calc(var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-level-60 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-60 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-group-indent-61{padding-left:calc(var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row-group-indent-61{padding-right:calc(var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-level-61 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-61 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-group-indent-62{padding-left:calc(var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row-group-indent-62{padding-right:calc(var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-level-62 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-62 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-group-indent-63{padding-left:calc(var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row-group-indent-63{padding-right:calc(var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-level-63 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-63 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-group-indent-64{padding-left:calc(var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row-group-indent-64{padding-right:calc(var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-level-64 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-64 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-group-indent-65{padding-left:calc(var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row-group-indent-65{padding-right:calc(var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-level-65 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-65 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-group-indent-66{padding-left:calc(var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row-group-indent-66{padding-right:calc(var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-level-66 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-66 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-group-indent-67{padding-left:calc(var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row-group-indent-67{padding-right:calc(var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-level-67 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-67 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-group-indent-68{padding-left:calc(var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row-group-indent-68{padding-right:calc(var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-level-68 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-68 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-group-indent-69{padding-left:calc(var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row-group-indent-69{padding-right:calc(var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-level-69 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-69 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-group-indent-70{padding-left:calc(var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row-group-indent-70{padding-right:calc(var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-level-70 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-70 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-group-indent-71{padding-left:calc(var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row-group-indent-71{padding-right:calc(var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-level-71 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-71 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-group-indent-72{padding-left:calc(var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row-group-indent-72{padding-right:calc(var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-level-72 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-72 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-group-indent-73{padding-left:calc(var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row-group-indent-73{padding-right:calc(var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-level-73 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-73 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-group-indent-74{padding-left:calc(var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row-group-indent-74{padding-right:calc(var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-level-74 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-74 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-group-indent-75{padding-left:calc(var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row-group-indent-75{padding-right:calc(var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-level-75 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-75 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-group-indent-76{padding-left:calc(var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row-group-indent-76{padding-right:calc(var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-level-76 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-76 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-group-indent-77{padding-left:calc(var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row-group-indent-77{padding-right:calc(var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-level-77 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-77 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-group-indent-78{padding-left:calc(var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row-group-indent-78{padding-right:calc(var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-level-78 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-78 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-group-indent-79{padding-left:calc(var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row-group-indent-79{padding-right:calc(var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-level-79 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-79 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-group-indent-80{padding-left:calc(var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row-group-indent-80{padding-right:calc(var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-level-80 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-80 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-group-indent-81{padding-left:calc(var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row-group-indent-81{padding-right:calc(var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-level-81 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-81 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-group-indent-82{padding-left:calc(var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row-group-indent-82{padding-right:calc(var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-level-82 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-82 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-group-indent-83{padding-left:calc(var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row-group-indent-83{padding-right:calc(var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-level-83 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-83 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-group-indent-84{padding-left:calc(var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row-group-indent-84{padding-right:calc(var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-level-84 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-84 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-group-indent-85{padding-left:calc(var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row-group-indent-85{padding-right:calc(var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-level-85 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-85 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-group-indent-86{padding-left:calc(var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row-group-indent-86{padding-right:calc(var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-level-86 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-86 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-group-indent-87{padding-left:calc(var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row-group-indent-87{padding-right:calc(var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-level-87 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-87 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-group-indent-88{padding-left:calc(var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row-group-indent-88{padding-right:calc(var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-level-88 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-88 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-group-indent-89{padding-left:calc(var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row-group-indent-89{padding-right:calc(var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-level-89 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-89 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-group-indent-90{padding-left:calc(var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row-group-indent-90{padding-right:calc(var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-level-90 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-90 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-group-indent-91{padding-left:calc(var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row-group-indent-91{padding-right:calc(var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-level-91 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-91 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-group-indent-92{padding-left:calc(var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row-group-indent-92{padding-right:calc(var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-level-92 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-92 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-group-indent-93{padding-left:calc(var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row-group-indent-93{padding-right:calc(var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-level-93 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-93 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-group-indent-94{padding-left:calc(var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row-group-indent-94{padding-right:calc(var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-level-94 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-94 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-group-indent-95{padding-left:calc(var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row-group-indent-95{padding-right:calc(var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-level-95 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-95 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-group-indent-96{padding-left:calc(var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row-group-indent-96{padding-right:calc(var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-level-96 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-96 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-group-indent-97{padding-left:calc(var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row-group-indent-97{padding-right:calc(var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-level-97 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-97 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-group-indent-98{padding-left:calc(var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row-group-indent-98{padding-right:calc(var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-level-98 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-98 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-group-indent-99{padding-left:calc(var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row-group-indent-99{padding-right:calc(var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-level-99 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-99 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row-group-leaf-indent{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-group-leaf-indent{margin-right:var(--ag-row-group-indent-size)}.ag-value-change-delta{padding-right:2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color .1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row{height:var(--ag-row-height);background-color:var(--ag-background-color);color:var(--ag-data-color);border-bottom:var(--ag-borders-row) var(--ag-row-border-color)}.ag-row-highlight-above:after,.ag-row-highlight-below:after{content:"";position:absolute;width:calc(100% - 1px);height:1px;background-color:var(--ag-range-selection-border-color);left:1px}.ag-row-highlight-above:after{top:-1px}.ag-row-highlight-above.ag-row-first:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-row-selected:before{content:"";background-color:var(--ag-selected-row-background-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{content:"";background-color:var(--ag-row-hover-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ag-row-hover.ag-full-width-row.ag-row-group>*{position:relative}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-ltr .ag-right-aligned-cell{text-align:right}.ag-rtl .ag-right-aligned-cell{text-align:left}.ag-ltr .ag-right-aligned-cell .ag-cell-value,.ag-ltr .ag-right-aligned-cell .ag-group-value{margin-left:auto}.ag-rtl .ag-right-aligned-cell .ag-cell-value,.ag-rtl .ag-right-aligned-cell .ag-group-value{margin-right:auto}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - 2px));--ag-internal-padded-row-height:calc(var(--ag-row-height) - 2px);border:1px solid transparent;line-height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));-webkit-font-smoothing:subpixel-antialiased}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group,.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:.5}.ag-cell-inline-editing{height:var(--ag-row-height)}.ag-cell-inline-editing,.ag-popup-editor{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0;background-color:var(--ag-control-panel-background-color)}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}.ag-details-row{padding:calc(var(--ag-grid-size)*5);background-color:var(--ag-background-color)}.ag-layout-auto-height .ag-center-cols-clipper,.ag-layout-auto-height .ag-center-cols-container,.ag-layout-print .ag-center-cols-clipper,.ag-layout-print .ag-center-cols-container{min-height:50px}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-overlay-loading-center{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:var(--ag-grid-size)}.ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-loading{display:flex;height:100%;align-items:center}.ag-ltr .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-name:spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-floating-top{border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-floating-bottom{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-cell{border-right:var(--ag-cell-horizontal-border)}.ag-rtl .ag-cell{border-left:var(--ag-cell-horizontal-border)}.ag-ltr .ag-cell{border-right-width:1px}.ag-rtl .ag-cell{border-left-width:1px}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-cell-range-selected:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:var(--ag-range-selection-chart-background-color)!important}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:var(--ag-range-selection-chart-category-background-color)!important}.ag-cell-range-selected-1:not(.ag-cell-focus),.ag-root:not(.ag-context-menu-open) .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-cell-range-selected-2:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-2)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-cell-range-selected-3:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-3)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-cell-range-selected-4:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-4)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:var(--ag-range-selection-border-color);border-top-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:var(--ag-range-selection-border-color);border-right-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:var(--ag-range-selection-border-color);border-bottom-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:var(--ag-range-selection-border-color);border-left-style:var(--ag-range-selection-border-style)}.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-ltr .ag-cell-range-single-cell,.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-rtl .ag-cell-range-single-cell,.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border-color:currentcolor;border-style:solid;border:1px var(--ag-range-selection-border-style) var(--ag-range-selection-border-color);outline:initial}.ag-cell.ag-selection-fill-top,.ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-right,.ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-right,.ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-cell.ag-selection-fill-bottom,.ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-left,.ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-left,.ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-fill-handle,.ag-range-handle{position:absolute;width:6px;height:6px;bottom:-1px;background-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-fill-handle,.ag-ltr .ag-range-handle{right:-1px}.ag-rtl .ag-fill-handle,.ag-rtl .ag-range-handle{left:-1px}.ag-fill-handle{cursor:cell}.ag-range-handle{cursor:nwse-resize}.ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-menu{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0}.ag-menu-list{cursor:default;padding:var(--ag-grid-size) 0}.ag-menu-separator{height:calc(var(--ag-grid-size)*2 + 1px)}.ag-menu-separator-part:after{content:"";display:block;border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-compact-menu-option-active,.ag-menu-option-active{background-color:var(--ag-row-hover-color)}.ag-compact-menu-option-part,.ag-menu-option-part{line-height:var(--ag-icon-size);padding:calc(var(--ag-grid-size) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{opacity:.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}.ag-ltr .ag-compact-menu-option-icon,.ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-compact-menu-option-icon,.ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-grid-size)*2);padding-right:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-compact-menu-option-shortcut,.ag-ltr .ag-menu-option-shortcut{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-shortcut,.ag-rtl .ag-menu-option-shortcut{padding-left:var(--ag-grid-size)}.ag-compact-menu-option-popup-pointer,.ag-menu-option-popup-pointer{padding-right:var(--ag-grid-size)}.ag-tabs{min-width:var(--ag-tab-min-width)}.ag-tabs-header{width:100%;display:flex}.ag-tab{border-bottom:var(--ag-selected-tab-underline-width) solid transparent;transition:border-bottom var(--ag-selected-tab-underline-transition-speed);display:flex;flex:none;align-items:center;justify-content:center;cursor:pointer}.ag-keyboard-focus .ag-tab:focus{outline:none}.ag-keyboard-focus .ag-tab:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-tab-selected{border-bottom-color:var(--ag-selected-tab-underline-color)}.ag-menu-header{color:var(--ag-secondary-foreground-color)}.ag-filter-separator{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-menu:not(.ag-tabs) .ag-filter-select{min-width:calc(var(--ag-menu-min-width) - var(--ag-widget-container-horizontal-padding)*2 - 2px)}.ag-tabs .ag-filter-select{min-width:calc(var(--ag-tab-min-width) - var(--ag-widget-container-horizontal-padding)*2 - 2px)}.ag-filter-select .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}.ag-ltr .ag-filter-condition-operator-or{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-condition-operator-or{margin-right:calc(var(--ag-grid-size)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-set-filter-filter{margin-top:var(--ag-widget-container-vertical-padding);margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-item{margin:0 var(--ag-widget-container-horizontal-padding)}.ag-ltr .ag-set-filter-item-value{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-set-filter-item-value{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-apply-panel{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-filter-apply-panel-button{line-height:1.5}.ag-ltr .ag-filter-apply-panel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-apply-panel-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-simple-filter-body-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-simple-filter-body-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-multi-filter-menu-item{margin:var(--ag-grid-size) 0}.ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*2) var(--ag-grid-size);background-color:transparent}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus{outline:none}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-side-bar{position:relative}.ag-tool-panel-wrapper{width:var(--ag-side-bar-panel-width);background-color:var(--ag-control-panel-background-color)}.ag-side-buttons{padding-top:calc(var(--ag-grid-size)*4);width:calc(var(--ag-icon-size) + 4px);position:relative;color:var(--ag-foreground-color);overflow:hidden}button.ag-side-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:transparent;padding:calc(var(--ag-grid-size)*2) 0 calc(var(--ag-grid-size)*2) 0;width:100%;margin:0;min-height:calc(var(--ag-grid-size)*18);background-position-y:center;background-position-x:center;background-repeat:no-repeat;border:none;border-top:var(--ag-borders-side-button) var(--ag-border-color);border-bottom:var(--ag-borders-side-button) var(--ag-border-color)}button.ag-side-button-button:focus{box-shadow:none}.ag-keyboard-focus .ag-side-button-button:focus{outline:none}.ag-keyboard-focus .ag-side-button-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-selected button.ag-side-button-button{background-color:var(--ag-side-button-selected-background-color)}.ag-side-button-icon-wrapper{margin-bottom:3px}.ag-ltr .ag-side-bar-left,.ag-rtl .ag-side-bar-right{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:var(--ag-selected-tab-underline-width) solid transparent;transition:border-right var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:var(--ag-selected-tab-underline-color)}.ag-ltr .ag-side-bar-right,.ag-rtl .ag-side-bar-left{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:var(--ag-selected-tab-underline-width) solid transparent;transition:border-left var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:var(--ag-selected-tab-underline-color)}.ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*6)}.ag-ltr .ag-filter-toolpanel-header,.ag-ltr .ag-filter-toolpanel-search{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-header,.ag-rtl .ag-filter-toolpanel-search{padding-right:var(--ag-grid-size)}.ag-keyboard-focus .ag-filter-toolpanel-header:focus{outline:none}.ag-keyboard-focus .ag-filter-toolpanel-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--ag-icon-font-code-filter,"\\f114");position:absolute}.ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*8)}.ag-filter-toolpanel-group-item{margin-top:calc(var(--ag-grid-size)*0.5);margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-filter-toolpanel-search{height:var(--ag-header-height)}.ag-filter-toolpanel-search-input{flex-grow:1;height:calc(var(--ag-grid-size)*4)}.ag-ltr .ag-filter-toolpanel-search-input{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-search-input{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-ltr .ag-filter-toolpanel-expand,.ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-expand,.ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:var(--ag-grid-size)}.ag-filter-toolpanel-instance-filter{border-bottom:var(--ag-borders) var(--ag-border-color);border-top:var(--ag-borders) var(--ag-border-color);margin-top:var(--ag-grid-size)}.ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:var(--ag-grid-size)}.ag-pivot-mode-panel{min-height:var(--ag-header-height);height:var(--ag-header-height);display:flex}.ag-pivot-mode-select{display:flex;align-items:center}.ag-ltr .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-keyboard-focus .ag-column-select-header:focus{outline:none}.ag-keyboard-focus .ag-column-select-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-header{height:var(--ag-header-height);align-items:center;padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select,.ag-column-select-header{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-panel-column-select{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-group-icons,.ag-column-select-header-icon{color:var(--ag-secondary-foreground-color)}.ag-column-select-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-column-select-list .ag-item-highlight-top:after{top:0}.ag-column-select-list .ag-item-highlight-bottom:after{bottom:0}.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-row{color:var(--ag-header-foreground-color);height:var(--ag-header-height)}.ag-pinned-right-header{border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-pinned-left-header{border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-header-cell,.ag-header-group-cell{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-header-cell.ag-header-cell-moving,.ag-header-group-cell.ag-header-cell-moving{background-color:var(--ag-header-cell-moving-background-color)}.ag-keyboard-focus .ag-header-cell:focus{outline:none}.ag-keyboard-focus .ag-header-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-keyboard-focus .ag-header-group-cell:focus{outline:none}.ag-keyboard-focus .ag-header-group-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-icon{color:var(--ag-secondary-foreground-color)}.ag-header-expand-icon{cursor:pointer}.ag-ltr .ag-header-expand-icon{padding-left:4px}.ag-rtl .ag-header-expand-icon{padding-right:4px}.ag-header-row:not(:first-child) .ag-header-cell,.ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-cell:not(.ag-column-hover):first-of-type.ag-column-resizing,.ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving):hover,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover,.ag-header-group-cell:first-of-type.ag-column-resizing,.ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover{background-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:after,.ag-header-group-cell:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-separator-display);width:var(--ag-header-column-separator-width);height:var(--ag-header-column-separator-height);top:calc(50% - var(--ag-header-column-separator-height)*0.5);background-color:var(--ag-header-column-separator-color)}.ag-ltr .ag-header-cell:after,.ag-ltr .ag-header-group-cell:after{right:0}.ag-rtl .ag-header-cell:after,.ag-rtl .ag-header-group-cell:after{left:0}.ag-header-cell-resize{display:flex;align-items:center}.ag-header-cell-resize:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-resize-handle-display);left:calc(50% - var(--ag-header-column-resize-handle-width));width:var(--ag-header-column-resize-handle-width);height:var(--ag-header-column-resize-handle-height);top:calc(50% - var(--ag-header-column-resize-handle-height)*0.5);background-color:var(--ag-header-column-resize-handle-color)}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-ltr .ag-header-select-all{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-select-all{margin-left:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-floating-filter-button{margin-left:calc(var(--ag-grid-size)*3)}.ag-rtl .ag-floating-filter-button{margin-right:calc(var(--ag-grid-size)*3)}.ag-floating-filter-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;background:transparent;border:none;height:var(--ag-icon-size);padding:0;width:var(--ag-icon-size)}.ag-filter-loading{background-color:var(--ag-control-panel-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1}.ag-paging-panel{border-top:1px solid;border-top-color:var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-paging-panel>*{margin:0 var(--ag-cell-horizontal-padding)}.ag-paging-button{cursor:pointer}.ag-paging-button.ag-disabled{cursor:default;color:var(--ag-disabled-foreground-color)}.ag-keyboard-focus .ag-paging-button:focus{outline:none}.ag-keyboard-focus .ag-paging-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-paging-button,.ag-paging-description{margin:0 var(--ag-grid-size)}.ag-status-bar{border-top:var(--ag-borders) var(--ag-border-color);color:var(--ag-disabled-foreground-color);padding-right:calc(var(--ag-grid-size)*4);padding-left:calc(var(--ag-grid-size)*4);line-height:1.5}.ag-status-name-value-value{color:var(--ag-foreground-color)}.ag-status-bar-center{text-align:center}.ag-status-name-value{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size);padding-top:calc(var(--ag-grid-size)*2);padding-bottom:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell{background:var(--ag-chip-background-color);border-radius:calc(var(--ag-grid-size)*4);height:calc(var(--ag-grid-size)*4);padding:0 calc(var(--ag-grid-size)*0.5);border:1px solid transparent}.ag-keyboard-focus .ag-column-drop-cell:focus{outline:none}.ag-keyboard-focus .ag-column-drop-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:2px;left:2px;display:block;width:calc(100% - 4px);height:calc(100% - 4px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-drop-cell-text{margin:0 var(--ag-grid-size)}.ag-column-drop-cell-button{min-width:calc(var(--ag-grid-size)*4);margin:0 calc(var(--ag-grid-size)*0.5);color:var(--ag-secondary-foreground-color)}.ag-column-drop-cell-drag-handle{margin-left:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell-ghost{opacity:.5}.ag-column-drop-horizontal{background-color:var(--ag-control-panel-background-color);color:var(--ag-secondary-foreground-color);height:var(--ag-row-height);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-column-drop-horizontal{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:var(--ag-borders) var(--ag-border-color)}.ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:var(--ag-borders) var(--ag-border-color)}.ag-column-drop-horizontal-cell-separator{margin:0 var(--ag-grid-size);color:var(--ag-secondary-foreground-color)}.ag-column-drop-horizontal-empty-message{color:var(--ag-disabled-foreground-color)}.ag-ltr .ag-column-drop-horizontal-icon{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal-icon{margin-left:var(--ag-cell-horizontal-padding)}.ag-column-drop-vertical-list{padding-bottom:var(--ag-grid-size);padding-right:var(--ag-grid-size);padding-left:var(--ag-grid-size)}.ag-column-drop-vertical-cell{margin-top:var(--ag-grid-size)}.ag-column-drop-vertical{min-height:50px;border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-column-drop-vertical-icon{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size)}.ag-column-drop-vertical-empty-message{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;color:var(--ag-disabled-foreground-color);margin-top:var(--ag-grid-size)}.ag-select-agg-func-popup{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background:var(--ag-background-color);height:calc(var(--ag-grid-size)*5*3.5);padding:0}.ag-select-agg-func-virtual-list-item{cursor:default;padding-left:calc(var(--ag-grid-size)*2)}.ag-select-agg-func-virtual-list-item:hover{background-color:var(--ag-selected-row-background-color)}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-sort-indicator-container{display:flex}.ag-ltr .ag-sort-indicator-icon{padding-left:var(--ag-grid-size)}.ag-rtl .ag-sort-indicator-icon{padding-right:var(--ag-grid-size)}.ag-chart{width:100%;height:100%}.ag-chart,.ag-chart-components-wrapper{position:relative;display:flex;overflow:hidden}.ag-chart-components-wrapper{flex:1 1 auto}.ag-chart-title-edit{position:absolute;display:none;top:0;left:0;text-align:center}.ag-chart-title-edit.currently-editing{display:inline-block}.ag-chart-canvas-wrapper{position:relative;flex:1 1 auto;overflow:hidden}.ag-charts-canvas{display:block}.ag-chart-menu{position:absolute;top:10px;width:24px;overflow:hidden;display:flex;flex-direction:column}.ag-ltr .ag-chart-menu{right:20px}.ag-rtl .ag-chart-menu{left:20px}.ag-chart-docked-container{position:relative;width:0;min-width:0;transition:min-width .4s}.ag-chart-menu-hidden~.ag-chart-docked-container{max-width:0;overflow:hidden}.ag-chart-tabbed-menu{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.ag-chart-tabbed-menu-header{flex:none;user-select:none;cursor:default}.ag-chart-tabbed-menu-body{display:flex;flex:1 1 auto;align-items:stretch;overflow:hidden}.ag-chart-tab{width:100%;overflow:hidden;overflow-y:auto}.ag-chart-settings{overflow-x:hidden}.ag-chart-settings-wrapper{position:relative;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.ag-chart-settings-nav-bar{display:flex;align-items:center;width:100%;height:30px;padding:0 10px;user-select:none}.ag-chart-settings-card-selector{display:flex;align-items:center;justify-content:space-around;flex:1 1 auto;height:100%;padding:0 10px}.ag-chart-settings-card-item{cursor:pointer;width:10px;height:10px;background-color:#000;position:relative}.ag-chart-settings-card-item.ag-not-selected{opacity:.2}.ag-chart-settings-card-item:before{content:" ";display:block;position:absolute;background-color:transparent;left:50%;top:50%;margin-left:-10px;margin-top:-10px;width:20px;height:20px}.ag-chart-settings-next,.ag-chart-settings-prev{position:relative;flex:none}.ag-chart-settings-next-button,.ag-chart-settings-prev-button{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.ag-chart-settings-mini-charts-container{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto}.ag-chart-settings-mini-wrapper{position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100%;overflow:hidden}.ag-chart-settings-mini-wrapper.ag-animating{transition:left .3s;transition-timing-function:ease-in-out}.ag-chart-mini-thumbnail{cursor:pointer}.ag-chart-mini-thumbnail-canvas{display:block}.ag-chart-data-wrapper,.ag-chart-format-wrapper{display:flex;flex-direction:column;position:relative;user-select:none}.ag-chart-data-wrapper{height:100%;overflow-y:auto}.ag-chart-empty-text{display:flex;top:0;width:100%;height:100%;align-items:center;justify-content:center}.ag-chart .ag-chart-menu{display:none}.ag-chart-menu-hidden:hover .ag-chart-menu{display:block}.ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{display:flex;flex-direction:row;overflow:auto;top:5px;gap:7px;width:auto}.ag-ltr .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{right:10px;justify-content:right}.ag-rtl .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{left:10px;justify-content:left}.ag-chart-menu-close{display:none}.ag-chart-tool-panel-button-enable .ag-chart-menu-close{position:absolute;top:45%;padding:0;display:block;cursor:pointer;border:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{left:0}.ag-chart-tool-panel-button-enable .ag-chart-menu-close .ag-icon{padding:9px 0}.ag-chart-tool-panel-button-enable .ag-icon-menu{display:none}.ag-charts-font-size-color{display:flex;align-self:stretch;justify-content:space-between}.ag-charts-data-group-item{position:relative}.ag-chart-menu{background:var(--ag-background-color)}.ag-chart-menu,.ag-chart-menu-icon{border-radius:var(--ag-card-radius)}.ag-chart-menu-icon{opacity:.5;line-height:24px;font-size:24px;width:24px;height:24px;margin:2px 0;cursor:pointer;color:var(--ag-secondary-foreground-color)}.ag-chart-menu-icon:hover{opacity:1}.ag-chart-mini-thumbnail{border:1px solid var(--ag-secondary-border-color);border-radius:5px;margin:5px}.ag-chart-mini-thumbnail:nth-last-child(3),.ag-chart-mini-thumbnail:nth-last-child(3)~.ag-chart-mini-thumbnail{margin-left:auto;margin-right:auto}.ag-ltr .ag-chart-mini-thumbnail:first-child{margin-left:0}.ag-ltr .ag-chart-mini-thumbnail:last-child,.ag-rtl .ag-chart-mini-thumbnail:first-child{margin-right:0}.ag-rtl .ag-chart-mini-thumbnail:last-child{margin-left:0}.ag-chart-mini-thumbnail.ag-selected{border-color:var(--ag-minichart-selected-chart-color)}.ag-chart-settings-card-item{background:var(--ag-foreground-color);width:8px;height:8px;border-radius:4px}.ag-chart-settings-card-item.ag-selected{background-color:var(--ag-minichart-selected-page-color)}.ag-chart-data-column-drag-handle{margin-left:var(--ag-grid-size)}.ag-charts-data-group-title-bar,.ag-charts-format-top-level-group-title-bar,.ag-charts-settings-group-title-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-charts-settings-group-container{padding:var(--ag-grid-size)}.ag-charts-data-group-container{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) var(--ag-widget-container-horizontal-padding)}.ag-charts-data-group-container .ag-charts-data-group-item:not(.ag-charts-format-sub-level-group){height:var(--ag-list-item-height)}.ag-charts-data-group-container .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-charts-data-group-container .ag-item-highlight-top:after{top:0}.ag-charts-data-group-container .ag-item-highlight-bottom:after{bottom:0}.ag-charts-format-top-level-group-container{margin-left:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size)}.ag-charts-format-top-level-group-item{margin:var(--ag-grid-size) 0}.ag-charts-format-sub-level-group-container{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-charts-format-sub-level-group-container>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-charts-group-container.ag-group-container-horizontal{padding:var(--ag-grid-size)}.ag-chart-data-section,.ag-chart-format-section{display:flex;margin:0}.ag-chart-menu-panel{background-color:var(--ag-control-panel-background-color)}.ag-ltr .ag-chart-menu-panel{border-left:1px solid var(--ag-border-color)}.ag-rtl .ag-chart-menu-panel{border-right:1px solid var(--ag-border-color)}.ag-date-time-list-page-title-bar{display:flex}.ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-date-time-list-page-column-labels-row,.ag-date-time-list-page-entries-row{display:flex}.ag-date-time-list-page-column-label,.ag-date-time-list-page-entry{flex-basis:0;flex-grow:1}.ag-date-time-list-page-entry{cursor:pointer;text-align:center}.ag-date-time-list-page-column-label{text-align:center}.ag-input-field-input{width:100%;min-width:0}.ag-checkbox-input-wrapper{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);display:inline-block;vertical-align:middle;flex:none}.ag-checkbox-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-checkbox-input-wrapper:active,.ag-checkbox-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-checkbox-input-wrapper.ag-disabled{opacity:.5}.ag-checkbox-input-wrapper:after{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108");color:var(--ag-checkbox-unchecked-color);position:absolute;top:0;left:0;pointer-events:none}.ag-checkbox-input-wrapper.ag-checked:after{content:var(--ag-icon-font-code-checkbox-checked,"\\f106");color:var(--ag-checkbox-checked-color);position:absolute;top:0;left:0;pointer-events:none}.ag-checkbox-input-wrapper.ag-indeterminate:after{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107");color:var(--ag-checkbox-indeterminate-color);position:absolute;top:0;left:0;pointer-events:none}.ag-toggle-button-input-wrapper{box-sizing:border-box;width:var(--ag-toggle-button-width);height:var(--ag-toggle-button-height);background-color:var(--ag-toggle-button-off-background-color);border-radius:calc(var(--ag-toggle-button-height)*0.5);position:relative;flex:none;border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-off-border-color)}.ag-toggle-button-input-wrapper input{opacity:0;height:100%;width:100%}.ag-toggle-button-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-toggle-button-input-wrapper.ag-disabled{opacity:.5}.ag-toggle-button-input-wrapper.ag-checked{background-color:var(--ag-toggle-button-on-background-color);border-color:var(--ag-toggle-button-on-border-color)}.ag-toggle-button-input-wrapper:before{content:" ";position:absolute;top:calc(0px - var(--ag-toggle-button-border-width));left:calc(0px - var(--ag-toggle-button-border-width));display:block;box-sizing:border-box;height:var(--ag-toggle-button-height);width:var(--ag-toggle-button-height);background-color:var(--ag-toggle-button-switch-background-color);border-radius:100%;transition:left .1s;border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-switch-border-color)}.ag-toggle-button-input-wrapper.ag-checked:before{left:calc(100% - var(--ag-toggle-button-height));border-color:var(--ag-toggle-button-on-border-color)}.ag-radio-button-input-wrapper{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);display:inline-block;vertical-align:middle;flex:none;border-radius:var(--ag-icon-size)}.ag-radio-button-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-radio-button-input-wrapper:active,.ag-radio-button-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-radio-button-input-wrapper.ag-disabled{opacity:.5}.ag-radio-button-input-wrapper:after{content:var(--ag-icon-font-code-radio-button-off,"\\f126");color:var(--ag-checkbox-unchecked-color);position:absolute;top:0;left:0;pointer-events:none}.ag-radio-button-input-wrapper.ag-checked:after{content:var(--ag-icon-font-code-radio-button-on,"\\f127");color:var(--ag-checkbox-checked-color);position:absolute;top:0;left:0;pointer-events:none}input[class^=ag-][type=range]{-webkit-appearance:none;width:100%;height:100%;background:none;overflow:visible}input[class^=ag-][type=range]::-webkit-slider-runnable-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius)}input[class^=ag-][type=range]::-moz-range-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius)}input[class^=ag-][type=range]::-ms-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius);color:transparent;width:calc(100% - 2px)}input[class^=ag-][type=range]::-webkit-slider-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size);transform:translateY(calc(var(--ag-icon-size)*-0.5 + 1.5px))}input[class^=ag-][type=range]::-ms-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size)}input[class^=ag-][type=range]::-moz-ag-range-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size)}input[class^=ag-][type=range]:focus{outline:none}input[class^=ag-][type=range]:focus::-webkit-slider-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:focus::-ms-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:focus::-moz-ag-range-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:active::-webkit-slider-runnable-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-moz-ag-range-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-ms-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:disabled{opacity:.5}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(222);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'.ag-theme-alpine,.ag-theme-alpine-dark{--ag-alpine-active-color:#2196f3;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-row-hover-color:rgba(33,150,243,0.1);--ag-column-hover-color:rgba(33,150,243,0.1);--ag-input-focus-border-color:rgba(33,150,243,0.4);--ag-range-selection-background-color:rgba(33,150,243,0.2);--ag-range-selection-background-color-2:rgba(33,150,243,0.36);--ag-range-selection-background-color-3:rgba(33,150,243,0.49);--ag-range-selection-background-color-4:rgba(33,150,243,0.59);--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:#babfc7;--ag-secondary-border-color:#dde2eb;--ag-header-background-color:#f8f8f8;--ag-odd-row-background-color:#fcfcfc;--ag-control-panel-background-color:#f8f8f8;--ag-subheader-background-color:#fff;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:#999;--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-alpine-active-color);--ag-range-selection-border-color:var(--ag-alpine-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-input-focus-box-shadow:0 0 2px 0.1rem var(--ag-input-focus-border-color);--ag-disabled-foreground-color:rgba(24,29,31,0.5);--ag-chip-background-color:rgba(24,29,31,0.07);--ag-input-disabled-border-color:rgba(186,191,199,0.3);--ag-input-disabled-background-color:rgba(186,191,199,0.15);--ag-borders:solid 1px;--ag-border-radius:3px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:6px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-column-select-indent-size:var(--ag-icon-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*2);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.5);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridAlpine;--ag-selected-tab-underline-color:var(--ag-alpine-active-color);--ag-selected-tab-underline-width:2px;--ag-selected-tab-underline-transition-speed:0.3s;--ag-tab-min-width:240px;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:var(--ag-card-shadow);--ag-side-bar-panel-width:250px}.ag-theme-alpine-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07)}.ag-theme-alpine-dark .ag-filter-toolpanel-header,.ag-theme-alpine-dark .ag-filter-toolpanel-search,.ag-theme-alpine-dark .ag-header-row,.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-dark .ag-panel-title-bar-title,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-filter-toolpanel-header,.ag-theme-alpine .ag-filter-toolpanel-search,.ag-theme-alpine .ag-header-row,.ag-theme-alpine .ag-multi-filter-group-title-bar,.ag-theme-alpine .ag-panel-title-bar-title,.ag-theme-alpine .ag-status-bar{font-weight:700;color:var(--ag-header-foreground-color)}.ag-theme-alpine-dark .ag-row,.ag-theme-alpine .ag-row{font-size:calc(var(--ag-font-size) + 1px)}.ag-theme-alpine-dark input[class^=ag-]:not([type]),.ag-theme-alpine-dark input[class^=ag-][type=date],.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark input[class^=ag-][type=number],.ag-theme-alpine-dark input[class^=ag-][type=tel],.ag-theme-alpine-dark input[class^=ag-][type=text],.ag-theme-alpine-dark textarea[class^=ag-],.ag-theme-alpine input[class^=ag-]:not([type]),.ag-theme-alpine input[class^=ag-][type=date],.ag-theme-alpine input[class^=ag-][type=datetime-local],.ag-theme-alpine input[class^=ag-][type=number],.ag-theme-alpine input[class^=ag-][type=tel],.ag-theme-alpine input[class^=ag-][type=text],.ag-theme-alpine textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-tab,.ag-theme-alpine .ag-tab{padding:calc(var(--ag-grid-size)*1.5);transition:color .4s;flex:1 1 auto}.ag-theme-alpine-dark .ag-tab-selected,.ag-theme-alpine .ag-tab-selected{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-menu,.ag-theme-alpine .ag-menu{background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-dark .ag-menu-header,.ag-theme-alpine .ag-menu-header{background-color:var(--ag-control-panel-background-color);padding-top:1px}.ag-theme-alpine-dark .ag-tabs-header,.ag-theme-alpine .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-theme-alpine-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine .ag-charts-data-group-title-bar,.ag-theme-alpine .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine .ag-charts-settings-group-title-bar{padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);line-height:calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px)}.ag-theme-alpine-dark .ag-chart-mini-thumbnail,.ag-theme-alpine .ag-chart-mini-thumbnail{background-color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-settings-nav-bar,.ag-theme-alpine .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group,.ag-theme-alpine .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:700}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-alpine-dark.ag-dnd-ghost,.ag-theme-alpine.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:700}.ag-theme-alpine-dark .ag-side-buttons,.ag-theme-alpine .ag-side-buttons{width:calc(var(--ag-grid-size)*5)}.ag-theme-alpine-dark .ag-standard-button,.ag-theme-alpine .ag-standard-button{appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid;border-color:var(--ag-alpine-active-color);color:var(--ag-alpine-active-color);background-color:var(--ag-background-color);font-weight:600;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-standard-button:hover,.ag-theme-alpine .ag-standard-button:hover{border-color:var(--ag-alpine-active-color);background-color:var(--ag-row-hover-color)}.ag-theme-alpine-dark .ag-standard-button:active,.ag-theme-alpine .ag-standard-button:active{border-color:var(--ag-alpine-active-color);background-color:var(--ag-alpine-active-color);color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-standard-button:disabled,.ag-theme-alpine .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-alpine-dark .ag-column-drop-vertical,.ag-theme-alpine .ag-column-drop-vertical{min-height:75px}.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine .ag-column-drop-vertical-title-bar{padding:calc(var(--ag-grid-size)*2);padding-bottom:0}.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine .ag-column-drop-vertical-empty-message{display:flex;align-items:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-column-drop-empty-message,.ag-theme-alpine .ag-column-drop-empty-message{color:var(--ag-foreground-color);opacity:.75}.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-status-bar{font-weight:400}.ag-theme-alpine-dark .ag-paging-number,.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-dark .ag-status-name-value-value,.ag-theme-alpine .ag-paging-number,.ag-theme-alpine .ag-paging-row-summary-panel-number,.ag-theme-alpine .ag-status-name-value-value{font-weight:700}.ag-theme-alpine-dark .ag-column-drop-cell-button,.ag-theme-alpine .ag-column-drop-cell-button{opacity:.5}.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine .ag-column-drop-cell-button:hover{opacity:.75}.ag-theme-alpine-dark .ag-chart-menu-close:hover,.ag-theme-alpine-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-dark .ag-chart-settings-next:hover,.ag-theme-alpine-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-dark .ag-column-group-icons:hover,.ag-theme-alpine-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-dark .ag-header-expand-icon:hover,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-dark .ag-side-button-button:hover,.ag-theme-alpine-dark .ag-tab:hover,.ag-theme-alpine .ag-chart-menu-close:hover,.ag-theme-alpine .ag-chart-menu-icon:hover,.ag-theme-alpine .ag-chart-settings-next:hover,.ag-theme-alpine .ag-chart-settings-prev:hover,.ag-theme-alpine .ag-column-group-icons:hover,.ag-theme-alpine .ag-column-select-header-icon:hover,.ag-theme-alpine .ag-filter-toolpanel-expand:hover,.ag-theme-alpine .ag-floating-filter-button-button:hover,.ag-theme-alpine .ag-group-contracted .ag-icon:hover,.ag-theme-alpine .ag-group-expanded .ag-icon:hover,.ag-theme-alpine .ag-group-title-bar-icon:hover,.ag-theme-alpine .ag-header-cell-menu-button:hover,.ag-theme-alpine .ag-header-expand-icon:hover,.ag-theme-alpine .ag-panel-title-bar-button:hover,.ag-theme-alpine .ag-side-button-button:hover,.ag-theme-alpine .ag-tab:hover{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-chart-menu-close,.ag-theme-alpine .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine .ag-chart-menu-close .ag-icon{background:none;border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon:hover,.ag-theme-alpine .ag-chart-menu-close .ag-icon:hover{background:var(--ag-header-background-color)}.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover{opacity:.35}.ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-filter-toolpanel-instance-filter{background-color:var(--ag-control-panel-background-color);border:none;border-left:1px dashed var(--ag-border-color);margin-left:calc(var(--ag-icon-size)*0.5);padding-left:calc(var(--ag-icon-size)*0.5);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-set-filter-list,.ag-theme-alpine .ag-set-filter-list{padding-top:calc(var(--ag-grid-size)*0.5);padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-alpine-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine .ag-date-time-list-page-entry-is-current{background-color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(224);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'@font-face{font-family:agGridAlpine;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fpbc7h7VYskIzvBi/sbie0gREpS0BX75I92Tzz1WaffwH8gR5tNGv6Ou1SeWdaN1SV9UZTp7rskIKhKTKO2KKdINUyJyBebzykRFeRxykSE2WFRIO9B1isS0hgQYcL5JAPPxDZCJCtZJhixKBq5KJYoW69I7cDZt0UMtHEbtDRUHyXnQxNdkxUZZL0p82U+RlTWTIM51d59R0MY4VFM5LyTjGEtU2yJkYKpidT3fINprI68kbyhLdEKti+RzoyqEcMcPwhTspwVIrUtc4FTtliCZlwiUFiTJVoyQlQoYZSR2S1kszlNlkBoGxeSQcn+MEUWSA4mj3A5ffvhux4hAUjwEaKLmr52zGp/dflBYicWpiPxr0NTYFYDQcMRaANSkOTWZ4cEuLyoDScvqoX8RyGuh4WcvPfN7x89Mxl08dZHP36EtfDICIqxc2hNBvPNdJl2K7K5M4rCYRGaDXBjQMR3hzpP4o7B4iA8wQMsJ6+gqKSsoqqmrqGppa2jq6dvYGhkbGJqZm5haWVtY2tn7+Do5Gzi4uoGQjZEY3mkpnoONwMpo7YCzpBQU5/p33+QHKUDvWQiqhYC4hVKJgFdEuVWXwHrCaxkw4FVbDCwmo0C1rA+wFo2AVjHegHr2VBgA+sHbGLDgM1sCLCFjQa2sgHANtYf2M7GAjtZb2AXGwTsZn2BPWwMsJeNB/axgcB+NgI4wMYBB4dPBD9AlBIEgmAQhIAgFARhIAgHQQQIIkEQBYJoEMSAIBYEcSCIB0ECCBJBkASCZBCkgCAVBGkgSAdBBggyQZAFgmwQ5IAgFwR5IMgHQQEICkFQBIJiEJSAoBQEZSAoB0EFCCpBUAWCahDUgKAWBHUgqEcdOg2gbRpB0ATAPwtb4hrOkjUW5HTc5QqbZQn410jBxkUchHndThUwJRfzV20FHctyFSXU8yVnqnjVcqKMwuymhqcMPqkwZdzE7MqlETtSgja1jksLx8X8Ff1H+YGVe2V2Y1zRXllFWHa6TjV57rS1Fpe51MTab1Fp5+GvYSoCnSw+q0Knyg3wYwBdueM78aTNaQ6ZMGc2sJhDyi2UWFKajVUkKlSCUnUildsYqNCuRvJ8qsPqsaZHw1imHnAcswGXqBhwQuXfwCWekgGpGpIvQ0HnSkC+ETQedsQnNkKTvfsVG5ec3sJyonvfOjWhwcfj1Lch7WGTfXN4F1q0h6Nj3YR4YOJK97Vg/47/j0SrZ4f1sK3aBzlN9CTRon4b4djoIDxCx/QHGkSji1mm/Yu5skEao3+MPsfKXW/0BJd6VBlN4SGVVxfdQVMDX/tT7+fInmYWHpk0CyvoG7ZHrlzhFy9dO3bsFDtx/vZzcenpTbAH4kOTZ6/mF++APXk1uT5jaCg5iPbGE35x8eC1vNb40aMHxaXr7MSxS5OXr74V3b6+zItXjx4UeHB2fAXswYOTgi66mP8VCOnwFETZftDCRDnjQL11aLLadfIxMo+GgRzPxihvzAwxhtRR3QOXxaWr01SaKb2Ru7KBXUqoDrZoXYgvTVZrvbMX+MVr7MRmbXyJ64MqXixIsvOqSRPvnItPKAXn8tP8gnrylPsXVU/S6PPKxBIKno8rv4BEVfXo53Ll+leqLs7LmWPanhSZkZ4jpKJLCvLjaCnQpAGG9ooBL6T/6/ZIIKKacTYgjA2a7YoCiVrQOHFEYLIwm9bDhsBkI8BmXT4GCti6DdIBN80cQOmfxcpZF9zRBKNjNeXmRe//xRryXqh55q9DCFp7fSMcCpKfB88fGGag9rWQ0c7rxXns3uip2oiDuBsSoBI2bsOgWIKBCrAcm+hxaZxdx/CeM1ZnSVTPjogm4PXn7ZvdSpZJhVJVUTN3YldHhTwR9SeU7cvL4xyv3JuBbTTRIT4y/6lp2JthwV04Z8cc39G/0rR6YE012woDFoJVqt2G4pdhg3JHmmZ+1JoRK9zKQ9eG7hQTLmaPReFrpYFqAq9d6jzTxYM4JjwSWu62xm8O11PjYsbMNSu8NKl7HmbnfS5rT6TnhLdKHuUXfK/knS4uSu4Wt9Ezevzf72KdnTTvf1EQWzfxpcCYDP1SMYyql4r7XJ74UXJcsMavoX8eFlTaigWK4z/eBIaIEcBmnzojLlnKewNGn/KhYPd0KKPnPve5L/ux+2MzqB5eMo367GnTpPGpWXTqw+QTbzhQdB2nt9+5t7RD8XpB5wMzqfzo2IjRPea2GdyhaUAYu1teYrTbIsaDk6lw9Ol3SHBkyVWiGb+8hrNnSHT/d4gK8MlVexbaI+9GvB32KcrC3w4dTI1BeHwBS+xJHYpLEKxc1ODgfI1GqyFJYbOnnyAhOCx/M9ti+UJ8eWhZnUUj4JdiNhRJC8TiAmnRnUiz7QJxkfTOlnQlzzLPMMwi0pxfAXiVsshYkvpEfibb28kOEiTTLQzfiDO+O/1MhC/vTgCP4eKSnX382LJl2Tn11gRBeFO4OLqLofVFL2ysDQyPDy5cOLukhEZLiD/uqzt+7PiGhLVrJz5WeXAhDbgexJOJEPvfZ0OcYZtxGLFU+zKkowDcWiKkGii5/uksQYDu+80DrpJQvjWOOc0FnpIL3DSDq+SBA84+rTwNb0RaXXKyrmRfRiklaFqcFYjPPKwsb2scSN2EhFSGxIRUhIiT/xtpf275z+tue+dfyLnc0ET7K0jjwgvMSU1nnO0rYz7fT3XhHmlDndxGBDvazS/qim+N47htifXfXe6v0Xj0suc9YHu4u7j6sE/9dsQmFndXNT1hOqgd2Qtr3vVdDJHOd1wdjfQOlwWsannObV9Hlt24lcmurkuPOc4dMTFsN59yDwOXLqw9i2HlLjzr3jDE2bnEPfbvSFvGgnIDCB3eTvMs6f2TO3Nc2zmyZmLdSFcFx4H7YZBOoZv/P3HElhPFdMjKrhvbuW+G40R3Z3eRplfdJfrDypbjz3GEJkqiOOnzU/ziuC0ZppRKVWihek5KS7d3Lj9MnKI/9DdVro+tVcOc1JYur1y5LDO7rMh2eNSYGI/EopJ+ccboDN6q+SJBBp+fLhAxbAo74saWQZVEnFKZLeeNc08sliiYCKi7cqRHOnmoTU5OUYlHovrE8nteuS3dc1LWdbkE37vq8MqV/T4nTJsUaaJUuQHizX3OmLub0naBYsNo/IpqP5t7+Qq8F+7fZ1w9GtupN8RbAubdpCROGRWkYrcxX14svj2GBLmFRgy4FJdQiliFcRupIJWJk5+MmX19u0KqMH6qwra96fByc4fY4VUUOvp+6bSsmjxY9b9sFBa/4Xlu5i3PXS4rlEgKmiMNyNYa4m325K3i5xA57csW6ZAW1qR3oSEAeGYJs/4Mev+3ojBsGaZCFy/MEm7JjNW3rMc9Fu+JifuvUeOwDe/o0F5HkKQkBLmec7bi00d3Ldg1sf/LDLiBNCiSLXED4NvcNftuvHCQjdvYiNXfotFXSSVwz+dlT+pIkuC3Ypa8Al3u3oV54VmCzExBVnierJK36MwZT15llhNRsn1NQcwvtevPfRv17cgGLnDnJJSR2tId/uD9weX5Fz7LmEOQC0kCRpFTp9p6ynPGH59tqSkpmrIyHve95OOTue1OenplmRXdPVCee6zGbL57l7o3KWryZvLdnDn5zY4MD4+2UlebFocZ5pbp2K23bq9enYUYp1VNqXx+qg3qbc2G0gtN2XzQ7bvY9UUmeW71LDcgztH22b9hB45jXMDLQ7vYMx8SxFiC+rMplJ+eFmZo/ZOq3iWCmvVS6DrtvJ3YJ93G2Nu9F36ik334x96ZbXQo6FYo9vQYuxHl5n1oGwdMMfbtMzYpe/tg3avVr3rGqm/fTm5gS4U+WBtkMgVpg/XDkSbaZDrXrw8eFgS2Lv21Xi/WCYU6sf5KSbVtnVAvvrJVG948S21OTm7+kxKj/sz/uJRP3WT7pSSteinzXwjpcM9y9jTmrd2o2Ch9hsficG82O9uZwN+CrkLZkHUv7l6W4NyqPT/8S06Wy3x9k5KASjIUGODVOruMmS0xUiocPnwReWDi1NnDcrw4XjZnPid0mX7sWFtl7UD/kLIqUXa53UrAxeQ3KpUf0VyQn5GxfHnczl1g7PuR+Zp5IypXnseIH1/cIz4bBZgxWU01M/x1gr1udqJlaBGlimhjGsr+uF+bwiOA+zU2oE91TLEeIauP1xWe6rUM/pA81yOYpihiSB7JUXB/oI+iZaGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);font-weight:400;font-style:normal}.ag-theme-alpine,.ag-theme-alpine-dark{--ag-alpine-active-color:#2196f3;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-row-hover-color:rgba(33,150,243,0.1);--ag-column-hover-color:rgba(33,150,243,0.1);--ag-input-focus-border-color:rgba(33,150,243,0.4);--ag-range-selection-background-color:rgba(33,150,243,0.2);--ag-range-selection-background-color-2:rgba(33,150,243,0.36);--ag-range-selection-background-color-3:rgba(33,150,243,0.49);--ag-range-selection-background-color-4:rgba(33,150,243,0.59);--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:#babfc7;--ag-secondary-border-color:#dde2eb;--ag-header-background-color:#f8f8f8;--ag-odd-row-background-color:#fcfcfc;--ag-control-panel-background-color:#f8f8f8;--ag-subheader-background-color:#fff;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:#999;--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-alpine-active-color);--ag-range-selection-border-color:var(--ag-alpine-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-input-focus-box-shadow:0 0 2px 0.1rem var(--ag-input-focus-border-color);--ag-disabled-foreground-color:rgba(24,29,31,0.5);--ag-chip-background-color:rgba(24,29,31,0.07);--ag-input-disabled-border-color:rgba(186,191,199,0.3);--ag-input-disabled-background-color:rgba(186,191,199,0.15);--ag-borders:solid 1px;--ag-border-radius:3px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:6px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-column-select-indent-size:var(--ag-icon-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*2);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.5);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridAlpine;--ag-selected-tab-underline-color:var(--ag-alpine-active-color);--ag-selected-tab-underline-width:2px;--ag-selected-tab-underline-transition-speed:0.3s;--ag-tab-min-width:240px;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:var(--ag-card-shadow);--ag-side-bar-panel-width:250px}.ag-theme-alpine-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07)}.ag-theme-alpine-dark .ag-filter-toolpanel-header,.ag-theme-alpine-dark .ag-filter-toolpanel-search,.ag-theme-alpine-dark .ag-header-row,.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-dark .ag-panel-title-bar-title,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-filter-toolpanel-header,.ag-theme-alpine .ag-filter-toolpanel-search,.ag-theme-alpine .ag-header-row,.ag-theme-alpine .ag-multi-filter-group-title-bar,.ag-theme-alpine .ag-panel-title-bar-title,.ag-theme-alpine .ag-status-bar{font-weight:700;color:var(--ag-header-foreground-color)}.ag-theme-alpine-dark .ag-row,.ag-theme-alpine .ag-row{font-size:calc(var(--ag-font-size) + 1px)}.ag-theme-alpine-dark input[class^=ag-]:not([type]),.ag-theme-alpine-dark input[class^=ag-][type=date],.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark input[class^=ag-][type=number],.ag-theme-alpine-dark input[class^=ag-][type=tel],.ag-theme-alpine-dark input[class^=ag-][type=text],.ag-theme-alpine-dark textarea[class^=ag-],.ag-theme-alpine input[class^=ag-]:not([type]),.ag-theme-alpine input[class^=ag-][type=date],.ag-theme-alpine input[class^=ag-][type=datetime-local],.ag-theme-alpine input[class^=ag-][type=number],.ag-theme-alpine input[class^=ag-][type=tel],.ag-theme-alpine input[class^=ag-][type=text],.ag-theme-alpine textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-tab,.ag-theme-alpine .ag-tab{padding:calc(var(--ag-grid-size)*1.5);transition:color .4s;flex:1 1 auto}.ag-theme-alpine-dark .ag-tab-selected,.ag-theme-alpine .ag-tab-selected{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-menu,.ag-theme-alpine .ag-menu{background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-dark .ag-menu-header,.ag-theme-alpine .ag-menu-header{background-color:var(--ag-control-panel-background-color);padding-top:1px}.ag-theme-alpine-dark .ag-tabs-header,.ag-theme-alpine .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-theme-alpine-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine .ag-charts-data-group-title-bar,.ag-theme-alpine .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine .ag-charts-settings-group-title-bar{padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);line-height:calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px)}.ag-theme-alpine-dark .ag-chart-mini-thumbnail,.ag-theme-alpine .ag-chart-mini-thumbnail{background-color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-settings-nav-bar,.ag-theme-alpine .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group,.ag-theme-alpine .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:700}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-alpine-dark.ag-dnd-ghost,.ag-theme-alpine.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:700}.ag-theme-alpine-dark .ag-side-buttons,.ag-theme-alpine .ag-side-buttons{width:calc(var(--ag-grid-size)*5)}.ag-theme-alpine-dark .ag-standard-button,.ag-theme-alpine .ag-standard-button{appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid;border-color:var(--ag-alpine-active-color);color:var(--ag-alpine-active-color);background-color:var(--ag-background-color);font-weight:600;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-standard-button:hover,.ag-theme-alpine .ag-standard-button:hover{border-color:var(--ag-alpine-active-color);background-color:var(--ag-row-hover-color)}.ag-theme-alpine-dark .ag-standard-button:active,.ag-theme-alpine .ag-standard-button:active{border-color:var(--ag-alpine-active-color);background-color:var(--ag-alpine-active-color);color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-standard-button:disabled,.ag-theme-alpine .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-alpine-dark .ag-column-drop-vertical,.ag-theme-alpine .ag-column-drop-vertical{min-height:75px}.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine .ag-column-drop-vertical-title-bar{padding:calc(var(--ag-grid-size)*2);padding-bottom:0}.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine .ag-column-drop-vertical-empty-message{display:flex;align-items:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-column-drop-empty-message,.ag-theme-alpine .ag-column-drop-empty-message{color:var(--ag-foreground-color);opacity:.75}.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-status-bar{font-weight:400}.ag-theme-alpine-dark .ag-paging-number,.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-dark .ag-status-name-value-value,.ag-theme-alpine .ag-paging-number,.ag-theme-alpine .ag-paging-row-summary-panel-number,.ag-theme-alpine .ag-status-name-value-value{font-weight:700}.ag-theme-alpine-dark .ag-column-drop-cell-button,.ag-theme-alpine .ag-column-drop-cell-button{opacity:.5}.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine .ag-column-drop-cell-button:hover{opacity:.75}.ag-theme-alpine-dark .ag-chart-menu-close:hover,.ag-theme-alpine-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-dark .ag-chart-settings-next:hover,.ag-theme-alpine-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-dark .ag-column-group-icons:hover,.ag-theme-alpine-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-dark .ag-header-expand-icon:hover,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-dark .ag-side-button-button:hover,.ag-theme-alpine-dark .ag-tab:hover,.ag-theme-alpine .ag-chart-menu-close:hover,.ag-theme-alpine .ag-chart-menu-icon:hover,.ag-theme-alpine .ag-chart-settings-next:hover,.ag-theme-alpine .ag-chart-settings-prev:hover,.ag-theme-alpine .ag-column-group-icons:hover,.ag-theme-alpine .ag-column-select-header-icon:hover,.ag-theme-alpine .ag-filter-toolpanel-expand:hover,.ag-theme-alpine .ag-floating-filter-button-button:hover,.ag-theme-alpine .ag-group-contracted .ag-icon:hover,.ag-theme-alpine .ag-group-expanded .ag-icon:hover,.ag-theme-alpine .ag-group-title-bar-icon:hover,.ag-theme-alpine .ag-header-cell-menu-button:hover,.ag-theme-alpine .ag-header-expand-icon:hover,.ag-theme-alpine .ag-panel-title-bar-button:hover,.ag-theme-alpine .ag-side-button-button:hover,.ag-theme-alpine .ag-tab:hover{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-chart-menu-close,.ag-theme-alpine .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine .ag-chart-menu-close .ag-icon{background:none;border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon:hover,.ag-theme-alpine .ag-chart-menu-close .ag-icon:hover{background:var(--ag-header-background-color)}.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover{opacity:.35}.ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-filter-toolpanel-instance-filter{background-color:var(--ag-control-panel-background-color);border:none;border-left:1px dashed var(--ag-border-color);margin-left:calc(var(--ag-icon-size)*0.5);padding-left:calc(var(--ag-icon-size)*0.5);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-set-filter-list,.ag-theme-alpine .ag-set-filter-list{padding-top:calc(var(--ag-grid-size)*0.5);padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-alpine-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine .ag-date-time-list-page-entry-is-current{background-color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(226);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'.ag-theme-balham,.ag-theme-balham-dark{--ag-balham-active-color:#0091ea;--ag-foreground-color:#000;--ag-background-color:#fff;--ag-header-background-color:#f5f7f7;--ag-subheader-background-color:#e2e9eb;--ag-control-panel-background-color:#f5f7f7;--ag-border-color:#bdc3c7;--ag-odd-row-background-color:#fcfdfe;--ag-row-hover-color:#ecf0f1;--ag-column-hover-color:#ecf0f1;--ag-input-border-color:#95a5a6;--ag-invalid-color:#e02525;--ag-input-disabled-background-color:#ebebeb;--ag-checkbox-unchecked-color:#7f8c8d;--ag-input-focus-border-color:#719ece;--ag-input-focus-box-shadow:0 0 2px 1px var(--ag-input-focus-border-color);--ag-range-selection-border-color:var(--ag-balham-active-color);--ag-checkbox-checked-color:var(--ag-balham-active-color);--ag-checkbox-background-color:var(--ag-background-color);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-subheader-toolbar-background-color:rgba(226,233,235,0.5);--ag-row-border-color:rgba(189,195,199,0.58);--ag-chip-background-color:rgba(0,0,0,0.1);--ag-range-selection-background-color:rgba(0,145,234,0.2);--ag-range-selection-background-color-2:rgba(0,145,234,0.36);--ag-range-selection-background-color-3:rgba(0,145,234,0.49);--ag-range-selection-background-color-4:rgba(0,145,234,0.59);--ag-selected-row-background-color:rgba(0,145,234,0.28);--ag-header-column-separator-color:rgba(189,195,199,0.5);--ag-input-disabled-border-color:rgba(149,165,166,0.3);--ag-header-column-separator-display:block;--ag-header-column-separator-height:50%;--ag-grid-size:4px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*6);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-input-height:calc(var(--ag-grid-size)*4);--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:12px;--ag-icon-font-family:agGridBalham;--ag-border-radius:2px;--ag-checkbox-border-radius:3px;--ag-card-shadow:none}.ag-theme-balham-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color)}.ag-theme-balham-dark .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-filter-toolpanel-search,.ag-theme-balham-dark .ag-header-row,.ag-theme-balham-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-filter-toolpanel-header,.ag-theme-balham .ag-filter-toolpanel-search,.ag-theme-balham .ag-header-row,.ag-theme-balham .ag-multi-filter-group-title-bar,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham .ag-ltr input[class^=ag-][type=date],.ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-ltr input[class^=ag-][type=number],.ag-theme-balham .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham .ag-ltr input[class^=ag-][type=text],.ag-theme-balham .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham .ag-rtl input[class^=ag-][type=date],.ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-rtl input[class^=ag-][type=number],.ag-theme-balham .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham .ag-rtl input[class^=ag-][type=text],.ag-theme-balham .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark.ag-dnd-ghost,.ag-theme-balham.ag-dnd-ghost{font-size:var(--ag-font-size);font-weight:600}.ag-theme-balham-dark .ag-tab,.ag-theme-balham .ag-tab{border:1px solid transparent;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);margin:var(--ag-grid-size);margin-bottom:-1px}.ag-theme-balham-dark .ag-tab-selected,.ag-theme-balham .ag-tab-selected{background-color:var(--ag-background-color);border-color:var(--ag-border-color);border-bottom-color:transparent}.ag-theme-balham-dark .ag-tabs-header,.ag-theme-balham .ag-tabs-header{border-bottom:1px solid var(--ag-border-color)}.ag-theme-balham-dark .ag-column-drop-cell,.ag-theme-balham .ag-column-drop-cell{height:calc(var(--ag-grid-size)*6)}.ag-theme-balham-dark .ag-column-drop-vertical-title,.ag-theme-balham .ag-column-drop-vertical-title{color:var(--ag-foreground-color)}.ag-theme-balham-dark .ag-column-drop-vertical-cell,.ag-theme-balham .ag-column-drop-vertical-cell{margin-left:calc(var(--ag-grid-size)*2);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham .ag-column-drop-vertical-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-icon,.ag-theme-balham .ag-column-drop-vertical-icon{color:var(--ag-secondary-foreground-color)}.ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-horizontal,.ag-theme-balham .ag-column-drop-horizontal{height:var(--ag-header-height)}.ag-theme-balham-dark .ag-column-drop-empty,.ag-theme-balham .ag-column-drop-empty{color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham .ag-column-drop-horizontal-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical,.ag-theme-balham .ag-column-drop-vertical{padding-top:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-menu-header,.ag-theme-balham .ag-menu-header{background-color:var(--ag-header-background-color)}.ag-theme-balham-dark .ag-overlay-loading-center,.ag-theme-balham .ag-overlay-loading-center{background-color:var(--ag-background-color);border:1px solid var(--ag-border-color);color:var(--ag-foreground-color);padding:calc(var(--ag-grid-size)*4)}.ag-theme-balham-dark .ag-tooltip,.ag-theme-balham .ag-tooltip{border:none;background-color:#cbd0d3}.ag-theme-balham-dark .ag-panel-title-bar-button-icon,.ag-theme-balham .ag-panel-title-bar-button-icon{font-size:calc(var(--ag-icon-size) + var(--ag-grid-size))}.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section,.ag-theme-balham .ag-chart-data-section,.ag-theme-balham .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-group-toolbar,.ag-theme-balham .ag-group-toolbar{background-color:var(--ag-subheader-toolbar-background-color)}.ag-theme-balham-dark .ag-chart-tab,.ag-theme-balham .ag-chart-tab{padding-top:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham .ag-charts-format-sub-level-group-item{margin-bottom:calc(var(--ag-grid-size)*1.5)}.ag-theme-balham-dark .ag-chart-menu-close,.ag-theme-balham .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-balham-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham .ag-chart-menu-close .ag-icon{background:none;border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-balham-dark .ag-chart-menu-close .ag-icon:hover,.ag-theme-balham .ag-chart-menu-close .ag-icon:hover{background:var(--ag-header-background-color)}.ag-theme-balham-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(228);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'@font-face{font-family:agGridBalham;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQGYUJSCt8EW2ZKu7oar+BBS4UMLDEUesGK04CruqhLuSMFYxMOJ9k4TD6FsVJsWO2s7ISEXprJ6A6r7y7wcA1E0rdGHdBx2BqsIR3TVZsVrEiVadMeSiWTAV7ZT3Vh65ZaPBQB8pGzlO41nZZxWRkU8M2LvrbXvAYm4YGxgINkymVnnvJ+8IY/CJKl9MJW+gvCnl3LbsHaTs2ohBWEcpmsmRRRXKNKkuCLm4p7Tbw2sbJ2TUikk4bbrLeRQHhO/tP4Dl++aF/RAgFCHMiEFzB7JaiGE4JCRQWYC7af+sZj8urAmJABMgDURBOygtDYUBJRR4SFA2D/QeykLbtL+2vOu2BalHwlVZ9YAmBwAqJwoEbRlZgudl7a7eVj6XTjrKzIY0LcGuIC98cRjq4UUDYEMxBuDy+QCgSS6QysnLyCopKyiqqauoamlpCbR1dPX1ZA0MjYxNZoamZ0NzEAoTiEPTkLicqdKxP4sG2CnatZ6N7+vtvlpd75OH2BAbPAiLfVE0AhYg9GquQArBGOoB10gJskG5gk9QCW2QQ2CbVwA5pA3ZJPbBP2oED0gockh7giDQCx6QBOCF9wBmpAc5JM3BB6oBL0gtckQHgmjQBN6QTuCX9wF3rIRBYIEYbACIAiAGgAwAJAHQBoAcAfQAYAMAQAEYAMAaACQBMAWAGAGYBYA4A5gFgAQAWAWAJAJYBYAUAVgFgDQDWAWADADYBYAsAtulEBgQdkMUuAOwBwD4AHADAIdpQcQSQ4RgATgDgFADOAOAczQQu6EQGBBToIAOAHE2OAqCPEs0cKkaSBxjen+IZuAeJEkG6QkFKaCHWbtDS+v6PhfxWycQKC2EdHQeG2D6/aTNYLFEiCYmBaFjhkkWCbis11vGLxQhnFAqk2N5CGex5kkImjrIomG+a/qf3WZBBuej7jXycrZUIJqVSi4cg2PfntCDZdT+ev++Xi5EX+R2/MKhXfK/qOL5LnGpRtKqMxCf5YHGxUvt30LY59zQrUmZZq/4ZOOc41b91Trju2v/7xItKYgGdjr1c/e/g+dc1v3eMv1rjIGH1I4hAbKGHP6fkylKWFtUuyFmAIQY+1aiYCCbcQCGQybdea81XQ6mTbmJ8M5G8ZAv/3MIjsRA1fZ4cSqr3k9cyFBHEUh2d2nVM7tYxmBMkpgh6ITiAi2gvR8+nT7VYqBd7UN9oCeIYoPf8wnHgAsN18TumbYMS3bJ+9osHJxLz5MOs+fi0ZD859YgMscM0rFjd5ofvRF6nQSVm9pnaHX4zcoAODXdwSqNytrQI9Jfma2gsSbcOogW4O1K+DX4z1PLgF8iQzwvYuOLJ70HixUG8zIjX+farIdSQJQHfy7SfDNqJxJmjTpAJ3jhTeeeh9yD445sSTSopjLsH9GQ2i8R8Pp0eh8bM8cvYvHgU6FERV9N5JE4AfSxnFioSCTNG9eIFJJrjKlQ4fioVw2YBGul5dT5/zDheMHsulyp1cfG0yAI9FlOa5pRYLsUpTwSgtjumA5lEo3InrjJVrSI19c17Ozu4jSZnJoc3jmAzV0Z5oCu0LhfQNUJjzTmzYl5llbpnkchD44d+1x4Jf+JybGc+LS1q4QDrDm5iluUUDksvqcjgdXv/oRC9YC2TbboagB9paX2CXoY13ODwZXdlwMkKi2wuuKN9jbqlDRSBbtvY3Bg6Dg3HQWJdpOr5LVJtmevyOisMAj1lhgSphE4ZNU+nCKh+gbAsUOEwpuvCSFLL6j5seqJFASDcrY+r+UNO6zUI3/lUV3IH7YVXq8B+mAnaIIXQ62AC9nDnfR7k5QhiGs3O5+IUnsUR3TuE+31QGoj5hfm0fYS8+IcDEvAdJCPhNnqYSdDHD/0QlZWLduWoRrLWmnOvqsfdYBCOV0PtSmnRqprafNXefT7Ir7srjm3oFJZGrljLj64PJgLqJWdpJsgL7uqzdqV+QtOUsSoYvF5x3K2edjacQ180y1za6d/EQoNH8WkkOOKzrCCcqJNSxhkZZIwSyiPL0YCRP+1/MyHscrTt/KaSH7Gp/YG9sokMvnJQE6ioFlAJy2Qwx8GkJ18vbI/F7u3aEB6664auN5xeweyd64duaYRp/3Ned2fPk2UnlvP5iFGebs4LbbY0CZB4cgN49JtPsWQ+v71cT3jrGSJmTs+KvFH4yCeupYe/jjGQIDavnuVcCbNAIvQ8vv38Vj6+tLDxSGD4QvO6sIYosbKpRcV1jaPwJfpkVk4qZeTeqjvacKBQk6kv50oMxwJHKti77PT7S2w+tcJ1KjrNBU0wLPfeUoGuFETKNfhi5Ltr7wcLNZ/rdRgyqxZDLhzDjSEeBLj6kjjYwCxaBTC/hwC+FfMN3/DNBDY+4TOmoOKMhm/mmlxErsnU8c58iBPqAxI5yFnE4/cizy1jQG8fP0jY4euJNTQSmn52CxThEuEO0XDvO8AfEfKmqK7YwzRmBkIJQ3VGWLw9a9mLj9q2+4LyXDKr86Zk0wm2s1q5ZJlburNkudtNgYdl/Hj8O7dD9912JNy21iUJBEl2WH9l2AmSEHWHmWDZ82DG85tsYAi6OnMSVsEQ+XEcw/ITMfaCIzzkXLQirhdd+Fsu78Woftu/33qQs/aPQ3zT+59DH5W69srlhhbHsIiixAdxYQ8Shmc9ePPN7Qqa2AJdN5VK07xgc01KpYvLkxtuLp80qfsaevc97n8k+CRqS/OFaoJQC/PNteOEWk3kC82ZkCWyPBWuEAgUuGob6rgUAhW+FQ5aOhu2Cja11M4bNpo3dvwGsz85f7hSblhq6FE2qhotv5t6myBiLJETFpZDjLqXzwkjhGOj39ZN4PQ/xZnIOdWf47+pAz+vXdvd7bdkSU2t5t6MuyZVSUGUaCnVL2KcIjS8Pb1mzbLCQhSVSbt0410XunbLduwwvs1jcUEBXJb6nREO3pcL5ccIUkiaCN8ndMPcbzSa6UVwDSbYobcGqXBcFSQKEqhUeLCg4G4+8TcgL0Aa+ePP6c+3OEaQQKnCgxbKl/KT+PDNZzQvJOr6m7KSptpxSXuRwLJAIrA0MMr7r1VM3X+134vm1mnITfsBca73kdo1t51nca67u5YRvauTPLjnmjA3r9gAhsMqlzZpo4jmtV/oe6zEt6CANZq6cg+VxfTw5FAvWhlORmp7ed07Z3o+g7rG63vUOgh1f+7J0Nu0eKx2qZBkPPNmuDgM3pLg6bnhAmNFrBE/JjAxcfBoc2pOc6QwI24waxbTjgxjCi+F2juuZuiAkepuU6Ttj+16l6Y1pdJYleIpp9G5P2MHyQetuqY+Z08Lc6anpVfltp5YwDAy3ZmRBaPz2yKnUOxpvjQGzL0z6oIW/B2A+3l4eDnKGIJuSR87xb+gG+FsXf5ZYzapVCm8rfQst1z3xPAscXheb8iEzRv+t3a+7TTJFv1LLShG+JosWYZ0pFux+xBOnti0LFlaJJEUxfI941Mnh/alaIoRjrKheoF0FZri57c/3pMfWywRF0l5HgmpxL3FYTiuHCgICqswLQp7LzOUAvytDz43/FtxxpT0Kv8Kbo2LjqqRZ4qJ/Ba8D6k+WaTFqKnITGm11jvpcfD+WayxjdyMeodRektGxohHNladkeJGPeZTUX8Ft64jeGO62tWZF0ePYQLhdYtjqEMf93xtW6tzg2kGqEHHcixrzYqXGmfzFDohSW9t23yAmbNtxj9WO4b+7lPnRra10uHXeF7Fag8raYXfv0kDadLLDfJj+mRhQjLbA9mvA9fLoy5nGEhDs0xMiptJz/dt6G+yQ+QhwGdhyEcOpJWEgNkfpnVOa3MaP9AvqfYlRK9/Tj7fTxwCXklTnYod2dlLFnZqK805DL1UWpLjoZhGx/bxgJ5oPUQtfPLZf1sHe/KqT9rKS16TL1avKrLH03zMlZUfPSccq939qNWxOINZlLaJrtWW9jLsispw4RSL6Oi61fn6Xt/vNnTFmoSM6yNwYAwje8la764uU8FprzsTk+glewlZMGWYmDws6A3z95azQsO7LvTeXVSh0Omysnq+iysFDxBeY+nkOoOOZHS5Di5/we7exSQVdXNOoHfV6tZlZYcQZ84Yf/+++Z75/h3oePwBIv64qEp/y78VfNY3D0XyRFnhVZschjkVCwbzM9OiVRGHeQXuQz0SyC75SiQXyecl+8RVF06PjCMzEWVQomDwTPtMezUvjZ+RHZKOd9qkC9TBgjyuyk5tl6WZrcCTgxf995eioigy9Kfj/ZNtIxxK2tpdy8O07IkLXzjgnd3xiLGprY10nOsVx0rQrMi2MV6P8Uodxv73rwcC3TiM/XeMz/KfGe/sZxi445jcQ1zmOK41cf92pU/xncKNPBxHWNkRrENsEfsLZfgNJDuRfYiVBFmGuXPt2ZKMGV3LLJWFI+dskZLedzmc1IPPBw4sK6bYMHmSzAuVCxc6x1fTy1lhs/cZvi9fPqye4chiNRV52jXQFyxsmO/09LbXlxs3Ltrh2v6Ioz9SPthfqC77Dz/NdNruAj93HKUuManVuWrT1LoBgoEKXNc41XR6A2rT0s8RnvNuOURxBtrpR7cfh2QbwxjyV0TqhT/i8Ha5vLND347srgvdI56jH3NCX6ccPQZ8Ei2lQwM0/OnT+ZqAoeZSR30b1/CHBpgLQpbIWkpiC8XiwtiSj6FGWaG4RPIRlomQREl+wViDq7z7YN73CwnbvqsYDaLpVj5/2rT5mRY+bVmKS4E3EOOsPBUvl8cFripy89L6abXLrnCkZVrtfDWEJ5TSaDO9CsLjx5uuVzTXe2F19d69nZMmx8eDibFETgiODVqULqJT6MuWR0f3WA6ZIlfbE4+onh46bcoj72xkiOeXLRvlWugtemR+xC13WjbGRdvgnrxsudYkC9J9zAWh4Pz4l3lEPztXzUc7zuOPPnmUIQVrCiUxMKYvG3/7BUnskhbrS2AU5gLmLupa1zydidnXR28WrEeFIi0yuxUrpl4IRi3MfIwiYrpuUi5oJwD9i9Vg702P6wdUszdjktjwNxUZEt27XAj6sav9i+rXY/0MHfoMaTL9f/w6kVcMrknc1sXmjMda7CqsA0MfB2wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);font-weight:400;font-style:normal}.ag-theme-balham,.ag-theme-balham-dark{--ag-balham-active-color:#0091ea;--ag-foreground-color:#000;--ag-background-color:#fff;--ag-header-background-color:#f5f7f7;--ag-subheader-background-color:#e2e9eb;--ag-control-panel-background-color:#f5f7f7;--ag-border-color:#bdc3c7;--ag-odd-row-background-color:#fcfdfe;--ag-row-hover-color:#ecf0f1;--ag-column-hover-color:#ecf0f1;--ag-input-border-color:#95a5a6;--ag-invalid-color:#e02525;--ag-input-disabled-background-color:#ebebeb;--ag-checkbox-unchecked-color:#7f8c8d;--ag-input-focus-border-color:#719ece;--ag-input-focus-box-shadow:0 0 2px 1px var(--ag-input-focus-border-color);--ag-range-selection-border-color:var(--ag-balham-active-color);--ag-checkbox-checked-color:var(--ag-balham-active-color);--ag-checkbox-background-color:var(--ag-background-color);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-subheader-toolbar-background-color:rgba(226,233,235,0.5);--ag-row-border-color:rgba(189,195,199,0.58);--ag-chip-background-color:rgba(0,0,0,0.1);--ag-range-selection-background-color:rgba(0,145,234,0.2);--ag-range-selection-background-color-2:rgba(0,145,234,0.36);--ag-range-selection-background-color-3:rgba(0,145,234,0.49);--ag-range-selection-background-color-4:rgba(0,145,234,0.59);--ag-selected-row-background-color:rgba(0,145,234,0.28);--ag-header-column-separator-color:rgba(189,195,199,0.5);--ag-input-disabled-border-color:rgba(149,165,166,0.3);--ag-header-column-separator-display:block;--ag-header-column-separator-height:50%;--ag-grid-size:4px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*6);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-input-height:calc(var(--ag-grid-size)*4);--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:12px;--ag-icon-font-family:agGridBalham;--ag-border-radius:2px;--ag-checkbox-border-radius:3px;--ag-card-shadow:none}.ag-theme-balham-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color)}.ag-theme-balham-dark .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-filter-toolpanel-search,.ag-theme-balham-dark .ag-header-row,.ag-theme-balham-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-filter-toolpanel-header,.ag-theme-balham .ag-filter-toolpanel-search,.ag-theme-balham .ag-header-row,.ag-theme-balham .ag-multi-filter-group-title-bar,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham .ag-ltr input[class^=ag-][type=date],.ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-ltr input[class^=ag-][type=number],.ag-theme-balham .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham .ag-ltr input[class^=ag-][type=text],.ag-theme-balham .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham .ag-rtl input[class^=ag-][type=date],.ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-rtl input[class^=ag-][type=number],.ag-theme-balham .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham .ag-rtl input[class^=ag-][type=text],.ag-theme-balham .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark.ag-dnd-ghost,.ag-theme-balham.ag-dnd-ghost{font-size:var(--ag-font-size);font-weight:600}.ag-theme-balham-dark .ag-tab,.ag-theme-balham .ag-tab{border:1px solid transparent;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);margin:var(--ag-grid-size);margin-bottom:-1px}.ag-theme-balham-dark .ag-tab-selected,.ag-theme-balham .ag-tab-selected{background-color:var(--ag-background-color);border-color:var(--ag-border-color);border-bottom-color:transparent}.ag-theme-balham-dark .ag-tabs-header,.ag-theme-balham .ag-tabs-header{border-bottom:1px solid var(--ag-border-color)}.ag-theme-balham-dark .ag-column-drop-cell,.ag-theme-balham .ag-column-drop-cell{height:calc(var(--ag-grid-size)*6)}.ag-theme-balham-dark .ag-column-drop-vertical-title,.ag-theme-balham .ag-column-drop-vertical-title{color:var(--ag-foreground-color)}.ag-theme-balham-dark .ag-column-drop-vertical-cell,.ag-theme-balham .ag-column-drop-vertical-cell{margin-left:calc(var(--ag-grid-size)*2);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham .ag-column-drop-vertical-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-icon,.ag-theme-balham .ag-column-drop-vertical-icon{color:var(--ag-secondary-foreground-color)}.ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-horizontal,.ag-theme-balham .ag-column-drop-horizontal{height:var(--ag-header-height)}.ag-theme-balham-dark .ag-column-drop-empty,.ag-theme-balham .ag-column-drop-empty{color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham .ag-column-drop-horizontal-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical,.ag-theme-balham .ag-column-drop-vertical{padding-top:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-menu-header,.ag-theme-balham .ag-menu-header{background-color:var(--ag-header-background-color)}.ag-theme-balham-dark .ag-overlay-loading-center,.ag-theme-balham .ag-overlay-loading-center{background-color:var(--ag-background-color);border:1px solid var(--ag-border-color);color:var(--ag-foreground-color);padding:calc(var(--ag-grid-size)*4)}.ag-theme-balham-dark .ag-tooltip,.ag-theme-balham .ag-tooltip{border:none;background-color:#cbd0d3}.ag-theme-balham-dark .ag-panel-title-bar-button-icon,.ag-theme-balham .ag-panel-title-bar-button-icon{font-size:calc(var(--ag-icon-size) + var(--ag-grid-size))}.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section,.ag-theme-balham .ag-chart-data-section,.ag-theme-balham .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-group-toolbar,.ag-theme-balham .ag-group-toolbar{background-color:var(--ag-subheader-toolbar-background-color)}.ag-theme-balham-dark .ag-chart-tab,.ag-theme-balham .ag-chart-tab{padding-top:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham .ag-charts-format-sub-level-group-item{margin-bottom:calc(var(--ag-grid-size)*1.5)}.ag-theme-balham-dark .ag-chart-menu-close,.ag-theme-balham .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-balham-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham .ag-chart-menu-close .ag-icon{background:none;border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-balham-dark .ag-chart-menu-close .ag-icon:hover,.ag-theme-balham .ag-chart-menu-close .ag-icon:hover{background:var(--ag-header-background-color)}.ag-theme-balham-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(230);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'.ag-theme-material{--ag-material-primary-color:#3f51b5;--ag-material-accent-color:#ff4081;--ag-foreground-color:rgba(0,0,0,0.87);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-background-color:#fff;--ag-header-background-color:#fff;--ag-subheader-background-color:#eee;--ag-subheader-toolbar-background-color:hsla(0,0%,93.3%,0.5);--ag-header-cell-hover-background-color:#f2f2f2;--ag-chip-background-color:#e2e2e2;--ag-range-selection-background-color:rgba(122,134,203,0.1);--ag-range-selection-background-color-2:rgba(122,134,203,0.19);--ag-range-selection-background-color-3:rgba(122,134,203,0.27);--ag-range-selection-background-color-4:rgba(122,134,203,0.34);--ag-range-selection-highlight-color:#fce4ec;--ag-row-hover-color:#fafafa;--ag-column-hover-color:#fafafa;--ag-control-panel-background-color:#fafafa;--ag-selected-row-background-color:#eee;--ag-range-selection-border-color:var(--ag-material-primary-color);--ag-checkbox-checked-color:var(--ag-material-accent-color);--ag-checkbox-unchecked-color:#333;--ag-value-change-value-highlight-background-color:#00acc1;--ag-side-button-selected-background-color:transparent;--ag-borders:none;--ag-borders-critical:solid 1px;--ag-borders-row:solid 1px;--ag-border-color:#e2e2e2;--ag-grid-size:8px;--ag-icon-size:18px;--ag-header-height:calc(var(--ag-grid-size)*7);--ag-row-height:calc(var(--ag-grid-size)*6);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-filter-tool-panel-sub-level-row-height:calc(var(--ag-grid-size)*4);--ag-checkbox-border-radius:2px;--ag-toggle-button-switch-border-width:2px;--ag-toggle-button-height:var(--ag-icon-size);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.75);--ag-font-family:"Roboto",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridMaterial;--ag-selected-tab-underline-color:var(--ag-material-primary-color);--ag-selected-tab-underline-width:2px;--ag-input-focus-border-color:var(--ag-material-primary-color);--ag-input-focus-box-shadow:0 0 0 5px rgba(32,33,36,0.122);--ag-card-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);--ag-card-radius:2px;--ag-invalid-color:#e02525}.ag-theme-material .ag-filter-toolpanel-header,.ag-theme-material .ag-filter-toolpanel-search,.ag-theme-material .ag-header-row,.ag-theme-material .ag-multi-filter-group-title-bar,.ag-theme-material .ag-panel-title-bar-title,.ag-theme-material .ag-status-bar{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-material .ag-tab{height:calc(var(--ag-grid-size)*4.5);flex:1 1 auto}.ag-theme-material .ag-column-drop-horizontal,.ag-theme-material .ag-tabs-header{background-color:var(--ag-subheader-background-color)}.ag-theme-material .ag-tabs-body{padding:calc(var(--ag-grid-size)*0.5) 0}.ag-theme-material .ag-tabs-body .ag-menu-list{padding-top:0;padding-bottom:0}.ag-theme-material .ag-header-cell,.ag-theme-material .ag-header-group-cell{transition:background-color .5s}.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing{bottom:0}.ag-theme-material .ag-cell-inline-editing{padding:var(--ag-grid-size);height:calc(var(--ag-row-height) + var(--ag-grid-size)*3);border-color:var(--ag-border-color)!important}.ag-theme-material .ag-has-focus .ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-theme-material .ag-side-button-button{color:var(--ag-foreground-color)}.ag-theme-material .ag-column-drop-vertical{border-bottom:1px solid;border-bottom-color:var(--ag-border-color);padding-top:var(--ag-grid-size)}.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-theme-material .ag-column-drop-vertical-cell{margin-left:0}.ag-theme-material .ag-column-drop-vertical-empty-message{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-material .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-material .ag-status-bar{border:1px solid;border-color:var(--ag-border-color)}.ag-theme-material .ag-column-panel-column-select{border-top:1px solid;border-top-color:var(--ag-border-color)}.ag-theme-material .ag-column-select,.ag-theme-material .ag-column-select-header{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material .ag-column-select-header{height:var(--ag-header-height)}.ag-theme-material .ag-group-title-bar{padding:calc(var(--ag-grid-size)*0.75) var(--ag-grid-size)}.ag-theme-material .ag-charts-format-sub-level-group-title-bar{padding:calc(var(--ag-grid-size)*0.5) var(--ag-grid-size)}.ag-theme-material .ag-chart-data-section,.ag-theme-material .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-material .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-material .ag-chart-menu-close .ag-icon{background:none}.ag-theme-material .ag-chart-menu-close .ag-icon:hover{background:var(--ag-subheader-background-color)}.ag-theme-material input[class^=ag-]:not([type]),.ag-theme-material input[class^=ag-][type=date],.ag-theme-material input[class^=ag-][type=datetime-local],.ag-theme-material input[class^=ag-][type=number],.ag-theme-material input[class^=ag-][type=tel],.ag-theme-material input[class^=ag-][type=text],.ag-theme-material textarea[class^=ag-]{background:transparent;color:var(--ag-foreground-color);font-family:inherit;font-size:inherit;height:calc(var(--ag-grid-size)*5);padding-bottom:var(--ag-grid-size);border-width:0;border-bottom:2px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):focus,.ag-theme-material input[class^=ag-][type=date]:focus,.ag-theme-material input[class^=ag-][type=datetime-local]:focus,.ag-theme-material input[class^=ag-][type=number]:focus,.ag-theme-material input[class^=ag-][type=tel]:focus,.ag-theme-material input[class^=ag-][type=text]:focus,.ag-theme-material textarea[class^=ag-]:focus{border-bottom:2px solid;border-bottom-color:var(--ag-material-primary-color);outline:none;box-shadow:none}.ag-theme-material input[class^=ag-]:not([type])::placeholder,.ag-theme-material input[class^=ag-][type=date]::placeholder,.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,.ag-theme-material input[class^=ag-][type=number]::placeholder,.ag-theme-material input[class^=ag-][type=tel]::placeholder,.ag-theme-material input[class^=ag-][type=text]::placeholder,.ag-theme-material textarea[class^=ag-]::placeholder{color:var(--ag-disabled-foreground-color)}.ag-theme-material input[class^=ag-]:not([type]):disabled,.ag-theme-material input[class^=ag-][type=date]:disabled,.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,.ag-theme-material input[class^=ag-][type=number]:disabled,.ag-theme-material input[class^=ag-][type=tel]:disabled,.ag-theme-material input[class^=ag-][type=text]:disabled,.ag-theme-material textarea[class^=ag-]:disabled{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):invalid,.ag-theme-material input[class^=ag-][type=date]:invalid,.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,.ag-theme-material input[class^=ag-][type=number]:invalid,.ag-theme-material input[class^=ag-][type=tel]:invalid,.ag-theme-material input[class^=ag-][type=text]:invalid,.ag-theme-material textarea[class^=ag-]:invalid{border-width:0;border-bottom:1px solid;border-bottom-color:var(--ag-invalid-color);color:var(--ag-invalid-color)}.ag-theme-material .ag-standard-button{appearance:none;background-color:transparent;border:0;color:var(--ag-material-primary-color);font-family:inherit;font-size:inherit;margin:0;padding:0;text-transform:uppercase}.ag-theme-material .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-material.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:600}.ag-theme-material .ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*4)}.ag-theme-material .ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*7)}.ag-theme-material .ag-ltr .ag-filter-apply-panel-button{margin-left:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-filter-apply-panel-button{margin-right:var(--ag-grid-size)}.ag-theme-material .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,.ag-theme-material .ag-layout-print .ag-center-cols-clipper,.ag-theme-material .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-material .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-material .ag-picker-field-wrapper:focus{box-shadow:0 0 0 1px var(--ag-material-primary-color)}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(232);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,'@font-face{font-family:agGridMaterial;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZaQERzutqaDhP33SSojDkSuy0tGhJK4TKK3QzI7m73upywg2//HcOv8HYgNuxzN9yny6wS+OijiJbjLIFu66IFGspLEKaV6ZGt0yBLLRkv9IKWVUFo5LRPqqqI8sJLSUWjLIguMFlIyueuV2UTFV3TGWFWLNyXmpZtfNi7galJ05kU23SBY1BMsGKpGlYb7M8i2rcZKxgDDYT2mI3dcsTNzMiKqDZyJQGLfr1NUYG5wW0ISm+4yeRwSlp2qxi5qTbRPfC/MUonxi3xhuhFduXAnPX0htcYcPCemEBpnEaC/sqKBcoYDTQlxtVu5W2OSILrnElq3L8GdYzBLHAHgde795/+Kc/oAARnyC4ir3ry1f91H0iY2rsZ+6nZyGurA4oAhLQBWQQS+U5IQIX5XXhVERVkP+ohNthIXefPVQ4kf/8QbfX7nh8wiSCgRPUwtIzBzp43bTPdlssXp2pNB4HjrqAtIZK+O5wTCCzJmBxEB4mEBEVVTV1DU0tbR1dPX0DQyNjE1MzcwtVSytrG1ttO3sHRydnF1c3VXcPTxCKIZjFczx9M3akFJJb2azJ2NDv9O8/rib5WJCVvPKVgPSZgk10r8omv4Q+4LIZ4IoJ4Kp5XDMIXLeKG/qBm6aAW4aBO6aBuyaBexZw3yjwwAjw0BIeGwCeGAeeGgKeWcRzK3hhDHhpFnhlGYXWOGGcBztiARAHgBAA4gEQBkACABIBEAFAFQBUBUA1AFQHQA0A1ARALQDUBkAdANQFQD0A1AdAAwA0BEAjADQGQBMANAVAMwA0B0ALALRkJhXgZAWytAZAGwC0BUA7ALTHriodADI6AqATADoDoAsAugKgGwC6A6AHAHoykwpwQoEaSQBIRiEH6xv66Mal8w9Q/F2QFg5hnwB9IpENFTdF5rMdgcVWQs4UHlie3EiR5SEpgoy3UFi7nKB/Zck40q8ZpPSw7TodayFOikkLmbU5/GrOybbEDSd26+YisVJC2A7CGJE+sh2Jyp5+3XxITFBNC4hHM9G4X1cWsSBc8CIxwh3k/qMGry9SuIVMxT4jIHHkEBwDvRKDhoygQVbcrjShlJszH8kZh7U8H9bpcliQRae7pbhapWGt3D4leL/ZHioZ9JN4acisHb7MWOmujsIwjFyZeab8iIWHWZpD4QeT4eAmp5yVfHK6pczntl2OfeB2+xQJoVRgBQHueswxYGzUEBzs1CYs6fJZya5Sn8VbEPUt77Pa2wxbvKV+uFOa9a2vnSh4uRF/mb+4d9BnY8VL30P4PLR8badg0O5Ru7WrC490D0XtRMLewWOM7kg/2CzrsKd68DgEdnS397ps2dIuF7V9h/Ho2zETic4VCjmj60UCRdvTPQOLBnuPVnUrzrq0DkrWBeRyOx+VnbxbUcB65YAUdssXwt35ZrnpsM+/d+8SSmHkXkkxkfJ0GKOi07uok9F1O4n0viniWi7gT/JFeWafjLbPv6h3Hx57kDCjdvf8sj7dnHmA8ZK/LKkTzef87Z5AfhL4Vv9kXHSOxxvOuOP0fer8RDOM+YuFLJWvHRnJ9+Bcd3rmEKkzN+9yqEU/eiPOzYblw25+v53d24qH+xb2H2k/Nrho4GgNAZ6ZAl63Oeed6JVv5owS9LkpnheQv7Pt0CUcH5kMtLs8vMXdh1odSDCMXmXsN1CsWOWTZ1qfnDZit8PZm3S8VLx3r53fj5wbZ1izc4zGsNzT7a9r6F3aw4dh8eCTsiOD7MQgONGL+isDbZCCoDO+MLmaALAKm85UazKkQJYaK7KLb/2xJ+FwWuruJ538eCCOD5Iffb8PTprL480N2X9XbG+9ipvCs657YZesZ1Fvfd4nY4EeuXXdPn2wSlbmeCpd9Xm8MnKaqCwUdaCyiF8bGnqUJfaorNZEH97qKQwdr9XluvLZQayYon8Q1u0FF9ZM9GI/RzPtLnSm2zdHzywma2bdyXln8yVnxrrqkU/yFJN7c9IDNd+n4ZSesX5y/Ejl0fMuni3nUb1fs/DpJYvXT4/FY9xjV/+W0D+QQ6a3/Htmms8FYfSmH/cUL6t2TuH00LdpOqGFnlM1unnet256vEE5n25uPh0kNsfsU5ozJm5EPJHmZG8IaC2lVv8gf3xU9wgE4JEub62MLedwymMr34g7upyTq34z4khWyDdTKVaR8ug+4eakeYp5nzKnZk1V66d9nwYxm9S4e8gdd9z9Toh758PxInA7u+zsixdUquwcuVkdFNwSLI6ehVdT4cpm6Ynh82mlkqquRtGkxIu84IsXLg4m9fWt+SxyYgEfWE7klzVAU3TE6hVrpook9zF6PbgrYruU0isGm75Rf53gxVN6PQRhJ3QEsDLJTN3ciVdZQGSygLXzY2US4EVdzbwKEYuf96iDhdcXBZw7HyXiac2LeMOIn8Qvwq/Oj7P6v+GvHL3l8nb6zFXIPRP/VKsnSLPygdlatzu2VpKI77t4dqxz0zAbhwRfpulO81mJU6MsHUYjPY+KPQsKnOZb7BiycHK0s3ezuKJjMtZYzJ7U8sXMOp9poXT4h7MHQm3f2DPnGsyw22VeH5/z2p1pblrcxbW333eBuT1hTeDRgGOOgWA3izFdgBs6su86Nm2xPFzmGHk91ATfxWwFtrWu0ZfJrb+0OxcLZ46fvKZhvH2KpTXrv4SilKKdt8lzJpZhZtaC7AbhzBObmWscbR2jC+bnz4peYWhi6WnJhDUj9cpL1PBrhE1Wtc/SWX5eXWKBoDBSkpfpznevb3TJaCCrWrIFvMXpEkSRk85rMfXizE8XX+ex/Lx/Z/C5TllKbPJ1+FTkpRSXLI5auuKqv2f0GtB+uAAnH76pme7K1GjXDNcquZuDxwUFjSsUd1ShXzMIdb68nb39MntzYaDU00KaUAo1whZCR+rgX/bJE4Qeo32uaEkdCWxmKyWkFPQ6GzIE9u2xWqdddot9C/3cKXN1zU1BzUFuS/PzpmZJBvw9cj7N6Lrcf6jV3QJfdVu+U9ijJZxHCDqXjquIiSlvE7eKS7RAjDh3G+WQOdNV3YzAjMATBlS0nhCCZtWKc3LEtetb1jd//WvFi84UiJeWpqYuTwLGd6UaoQbm6jdmnobU3KqiC/Q3dUJdVnhqdzLmG5G7TD4A1/uXsiRYEDRhQpAguCROQuy+c8eZkAhsDlFxx/wgYol08NyvvF/3BljA2raKyNq5vK1XECtYdMb+lrWNnKecR0JxtExWpxt68TIo6PnzsZnHROTYGCk6NnPsObCtYimP4DMenXEm2CNKZtrSdQrt0uPLjrv1a8bqOqeWIPfv0530l9C6P2NjKubLarnbTvWCfvFc5Yv7O7G6rtS30Ecm8yn0Lb0m7miZ7G+61Pea4MRGNUsbSzlFbHYRp/RJ8tx0EbuU8yRTFbTfeG1cbtvK4BG1Mvrj0vXl5Hikp3U/vbYrzQ0Ri3TeWd5C75p1ewtcpFLqZlCNkko3kUCUfGkoObsd2E4MJNovqnFiX1/3R7VWq4CbbllkFoysOfEujOnW+6lw9mz7OxURzOFR1+KTqxLj+l9apSoVCk0ypYsWbsmclBrXaruf8HrI1YpEHmRbeVlWFk1HHT4Ccxf8+aP9/eYEqAbjAgBgw7R3EdxkWB42YUfYNJiJ1comoutQTb2F2EmV2fz5iTVhXxfwQqoNi1D1jqSiBPQ/2Ugu2tpIOYYTNGkgep5wLxqTcmEdDTRwOxmqQkSDiU2nYslVDeiYiJ5Hy6isjNAuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);font-weight:400;font-style:normal}.ag-theme-material{--ag-material-primary-color:#3f51b5;--ag-material-accent-color:#ff4081;--ag-foreground-color:rgba(0,0,0,0.87);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-background-color:#fff;--ag-header-background-color:#fff;--ag-subheader-background-color:#eee;--ag-subheader-toolbar-background-color:hsla(0,0%,93.3%,0.5);--ag-header-cell-hover-background-color:#f2f2f2;--ag-chip-background-color:#e2e2e2;--ag-range-selection-background-color:rgba(122,134,203,0.1);--ag-range-selection-background-color-2:rgba(122,134,203,0.19);--ag-range-selection-background-color-3:rgba(122,134,203,0.27);--ag-range-selection-background-color-4:rgba(122,134,203,0.34);--ag-range-selection-highlight-color:#fce4ec;--ag-row-hover-color:#fafafa;--ag-column-hover-color:#fafafa;--ag-control-panel-background-color:#fafafa;--ag-selected-row-background-color:#eee;--ag-range-selection-border-color:var(--ag-material-primary-color);--ag-checkbox-checked-color:var(--ag-material-accent-color);--ag-checkbox-unchecked-color:#333;--ag-value-change-value-highlight-background-color:#00acc1;--ag-side-button-selected-background-color:transparent;--ag-borders:none;--ag-borders-critical:solid 1px;--ag-borders-row:solid 1px;--ag-border-color:#e2e2e2;--ag-grid-size:8px;--ag-icon-size:18px;--ag-header-height:calc(var(--ag-grid-size)*7);--ag-row-height:calc(var(--ag-grid-size)*6);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-filter-tool-panel-sub-level-row-height:calc(var(--ag-grid-size)*4);--ag-checkbox-border-radius:2px;--ag-toggle-button-switch-border-width:2px;--ag-toggle-button-height:var(--ag-icon-size);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.75);--ag-font-family:"Roboto",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridMaterial;--ag-selected-tab-underline-color:var(--ag-material-primary-color);--ag-selected-tab-underline-width:2px;--ag-input-focus-border-color:var(--ag-material-primary-color);--ag-input-focus-box-shadow:0 0 0 5px rgba(32,33,36,0.122);--ag-card-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);--ag-card-radius:2px;--ag-invalid-color:#e02525}.ag-theme-material .ag-filter-toolpanel-header,.ag-theme-material .ag-filter-toolpanel-search,.ag-theme-material .ag-header-row,.ag-theme-material .ag-multi-filter-group-title-bar,.ag-theme-material .ag-panel-title-bar-title,.ag-theme-material .ag-status-bar{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-material .ag-tab{height:calc(var(--ag-grid-size)*4.5);flex:1 1 auto}.ag-theme-material .ag-column-drop-horizontal,.ag-theme-material .ag-tabs-header{background-color:var(--ag-subheader-background-color)}.ag-theme-material .ag-tabs-body{padding:calc(var(--ag-grid-size)*0.5) 0}.ag-theme-material .ag-tabs-body .ag-menu-list{padding-top:0;padding-bottom:0}.ag-theme-material .ag-header-cell,.ag-theme-material .ag-header-group-cell{transition:background-color .5s}.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing{bottom:0}.ag-theme-material .ag-cell-inline-editing{padding:var(--ag-grid-size);height:calc(var(--ag-row-height) + var(--ag-grid-size)*3);border-color:var(--ag-border-color)!important}.ag-theme-material .ag-has-focus .ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-theme-material .ag-side-button-button{color:var(--ag-foreground-color)}.ag-theme-material .ag-column-drop-vertical{border-bottom:1px solid;border-bottom-color:var(--ag-border-color);padding-top:var(--ag-grid-size)}.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-theme-material .ag-column-drop-vertical-cell{margin-left:0}.ag-theme-material .ag-column-drop-vertical-empty-message{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-material .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-material .ag-status-bar{border:1px solid;border-color:var(--ag-border-color)}.ag-theme-material .ag-column-panel-column-select{border-top:1px solid;border-top-color:var(--ag-border-color)}.ag-theme-material .ag-column-select,.ag-theme-material .ag-column-select-header{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material .ag-column-select-header{height:var(--ag-header-height)}.ag-theme-material .ag-group-title-bar{padding:calc(var(--ag-grid-size)*0.75) var(--ag-grid-size)}.ag-theme-material .ag-charts-format-sub-level-group-title-bar{padding:calc(var(--ag-grid-size)*0.5) var(--ag-grid-size)}.ag-theme-material .ag-chart-data-section,.ag-theme-material .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-material .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-material .ag-chart-menu-close .ag-icon{background:none}.ag-theme-material .ag-chart-menu-close .ag-icon:hover{background:var(--ag-subheader-background-color)}.ag-theme-material input[class^=ag-]:not([type]),.ag-theme-material input[class^=ag-][type=date],.ag-theme-material input[class^=ag-][type=datetime-local],.ag-theme-material input[class^=ag-][type=number],.ag-theme-material input[class^=ag-][type=tel],.ag-theme-material input[class^=ag-][type=text],.ag-theme-material textarea[class^=ag-]{background:transparent;color:var(--ag-foreground-color);font-family:inherit;font-size:inherit;height:calc(var(--ag-grid-size)*5);padding-bottom:var(--ag-grid-size);border-width:0;border-bottom:2px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):focus,.ag-theme-material input[class^=ag-][type=date]:focus,.ag-theme-material input[class^=ag-][type=datetime-local]:focus,.ag-theme-material input[class^=ag-][type=number]:focus,.ag-theme-material input[class^=ag-][type=tel]:focus,.ag-theme-material input[class^=ag-][type=text]:focus,.ag-theme-material textarea[class^=ag-]:focus{border-bottom:2px solid;border-bottom-color:var(--ag-material-primary-color);outline:none;box-shadow:none}.ag-theme-material input[class^=ag-]:not([type])::placeholder,.ag-theme-material input[class^=ag-][type=date]::placeholder,.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,.ag-theme-material input[class^=ag-][type=number]::placeholder,.ag-theme-material input[class^=ag-][type=tel]::placeholder,.ag-theme-material input[class^=ag-][type=text]::placeholder,.ag-theme-material textarea[class^=ag-]::placeholder{color:var(--ag-disabled-foreground-color)}.ag-theme-material input[class^=ag-]:not([type]):disabled,.ag-theme-material input[class^=ag-][type=date]:disabled,.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,.ag-theme-material input[class^=ag-][type=number]:disabled,.ag-theme-material input[class^=ag-][type=tel]:disabled,.ag-theme-material input[class^=ag-][type=text]:disabled,.ag-theme-material textarea[class^=ag-]:disabled{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):invalid,.ag-theme-material input[class^=ag-][type=date]:invalid,.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,.ag-theme-material input[class^=ag-][type=number]:invalid,.ag-theme-material input[class^=ag-][type=tel]:invalid,.ag-theme-material input[class^=ag-][type=text]:invalid,.ag-theme-material textarea[class^=ag-]:invalid{border-width:0;border-bottom:1px solid;border-bottom-color:var(--ag-invalid-color);color:var(--ag-invalid-color)}.ag-theme-material .ag-standard-button{appearance:none;background-color:transparent;border:0;color:var(--ag-material-primary-color);font-family:inherit;font-size:inherit;margin:0;padding:0;text-transform:uppercase}.ag-theme-material .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-material.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:600}.ag-theme-material .ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*4)}.ag-theme-material .ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*7)}.ag-theme-material .ag-ltr .ag-filter-apply-panel-button{margin-left:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-filter-apply-panel-button{margin-right:var(--ag-grid-size)}.ag-theme-material .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,.ag-theme-material .ag-layout-print .ag-center-cols-clipper,.ag-theme-material .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-material .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-material .ag-picker-field-wrapper:focus{box-shadow:0 0 0 1px var(--ag-material-primary-color)}',""]),e.exports=t},function(e,t,r){var o=r(50),n=r(234);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,"@font-face{font-family:agGridAlpine;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fpbc7h7VYskIzvBi/sbie0gREpS0BX75I92Tzz1WaffwH8gR5tNGv6Ou1SeWdaN1SV9UZTp7rskIKhKTKO2KKdINUyJyBebzykRFeRxykSE2WFRIO9B1isS0hgQYcL5JAPPxDZCJCtZJhixKBq5KJYoW69I7cDZt0UMtHEbtDRUHyXnQxNdkxUZZL0p82U+RlTWTIM51d59R0MY4VFM5LyTjGEtU2yJkYKpidT3fINprI68kbyhLdEKti+RzoyqEcMcPwhTspwVIrUtc4FTtliCZlwiUFiTJVoyQlQoYZSR2S1kszlNlkBoGxeSQcn+MEUWSA4mj3A5ffvhux4hAUjwEaKLmr52zGp/dflBYicWpiPxr0NTYFYDQcMRaANSkOTWZ4cEuLyoDScvqoX8RyGuh4WcvPfN7x89Mxl08dZHP36EtfDICIqxc2hNBvPNdJl2K7K5M4rCYRGaDXBjQMR3hzpP4o7B4iA8wQMsJ6+gqKSsoqqmrqGppa2jq6dvYGhkbGJqZm5haWVtY2tn7+Do5Gzi4uoGQjZEY3mkpnoONwMpo7YCzpBQU5/p33+QHKUDvWQiqhYC4hVKJgFdEuVWXwHrCaxkw4FVbDCwmo0C1rA+wFo2AVjHegHr2VBgA+sHbGLDgM1sCLCFjQa2sgHANtYf2M7GAjtZb2AXGwTsZn2BPWwMsJeNB/axgcB+NgI4wMYBB4dPBD9AlBIEgmAQhIAgFARhIAgHQQQIIkEQBYJoEMSAIBYEcSCIB0ECCBJBkASCZBCkgCAVBGkgSAdBBggyQZAFgmwQ5IAgFwR5IMgHQQEICkFQBIJiEJSAoBQEZSAoB0EFCCpBUAWCahDUgKAWBHUgqEcdOg2gbRpB0ATAPwtb4hrOkjUW5HTc5QqbZQn410jBxkUchHndThUwJRfzV20FHctyFSXU8yVnqnjVcqKMwuymhqcMPqkwZdzE7MqlETtSgja1jksLx8X8Ff1H+YGVe2V2Y1zRXllFWHa6TjV57rS1Fpe51MTab1Fp5+GvYSoCnSw+q0Knyg3wYwBdueM78aTNaQ6ZMGc2sJhDyi2UWFKajVUkKlSCUnUildsYqNCuRvJ8qsPqsaZHw1imHnAcswGXqBhwQuXfwCWekgGpGpIvQ0HnSkC+ETQedsQnNkKTvfsVG5ec3sJyonvfOjWhwcfj1Lch7WGTfXN4F1q0h6Nj3YR4YOJK97Vg/47/j0SrZ4f1sK3aBzlN9CTRon4b4djoIDxCx/QHGkSji1mm/Yu5skEao3+MPsfKXW/0BJd6VBlN4SGVVxfdQVMDX/tT7+fInmYWHpk0CyvoG7ZHrlzhFy9dO3bsFDtx/vZzcenpTbAH4kOTZ6/mF++APXk1uT5jaCg5iPbGE35x8eC1vNb40aMHxaXr7MSxS5OXr74V3b6+zItXjx4UeHB2fAXswYOTgi66mP8VCOnwFETZftDCRDnjQL11aLLadfIxMo+GgRzPxihvzAwxhtRR3QOXxaWr01SaKb2Ru7KBXUqoDrZoXYgvTVZrvbMX+MVr7MRmbXyJ64MqXixIsvOqSRPvnItPKAXn8tP8gnrylPsXVU/S6PPKxBIKno8rv4BEVfXo53Ll+leqLs7LmWPanhSZkZ4jpKJLCvLjaCnQpAGG9ooBL6T/6/ZIIKKacTYgjA2a7YoCiVrQOHFEYLIwm9bDhsBkI8BmXT4GCti6DdIBN80cQOmfxcpZF9zRBKNjNeXmRe//xRryXqh55q9DCFp7fSMcCpKfB88fGGag9rWQ0c7rxXns3uip2oiDuBsSoBI2bsOgWIKBCrAcm+hxaZxdx/CeM1ZnSVTPjogm4PXn7ZvdSpZJhVJVUTN3YldHhTwR9SeU7cvL4xyv3JuBbTTRIT4y/6lp2JthwV04Z8cc39G/0rR6YE012woDFoJVqt2G4pdhg3JHmmZ+1JoRK9zKQ9eG7hQTLmaPReFrpYFqAq9d6jzTxYM4JjwSWu62xm8O11PjYsbMNSu8NKl7HmbnfS5rT6TnhLdKHuUXfK/knS4uSu4Wt9Ezevzf72KdnTTvf1EQWzfxpcCYDP1SMYyql4r7XJ74UXJcsMavoX8eFlTaigWK4z/eBIaIEcBmnzojLlnKewNGn/KhYPd0KKPnPve5L/ux+2MzqB5eMo367GnTpPGpWXTqw+QTbzhQdB2nt9+5t7RD8XpB5wMzqfzo2IjRPea2GdyhaUAYu1teYrTbIsaDk6lw9Ol3SHBkyVWiGb+8hrNnSHT/d4gK8MlVexbaI+9GvB32KcrC3w4dTI1BeHwBS+xJHYpLEKxc1ODgfI1GqyFJYbOnnyAhOCx/M9ti+UJ8eWhZnUUj4JdiNhRJC8TiAmnRnUiz7QJxkfTOlnQlzzLPMMwi0pxfAXiVsshYkvpEfibb28kOEiTTLQzfiDO+O/1MhC/vTgCP4eKSnX382LJl2Tn11gRBeFO4OLqLofVFL2ysDQyPDy5cOLukhEZLiD/uqzt+7PiGhLVrJz5WeXAhDbgexJOJEPvfZ0OcYZtxGLFU+zKkowDcWiKkGii5/uksQYDu+80DrpJQvjWOOc0FnpIL3DSDq+SBA84+rTwNb0RaXXKyrmRfRiklaFqcFYjPPKwsb2scSN2EhFSGxIRUhIiT/xtpf275z+tue+dfyLnc0ET7K0jjwgvMSU1nnO0rYz7fT3XhHmlDndxGBDvazS/qim+N47htifXfXe6v0Xj0suc9YHu4u7j6sE/9dsQmFndXNT1hOqgd2Qtr3vVdDJHOd1wdjfQOlwWsannObV9Hlt24lcmurkuPOc4dMTFsN59yDwOXLqw9i2HlLjzr3jDE2bnEPfbvSFvGgnIDCB3eTvMs6f2TO3Nc2zmyZmLdSFcFx4H7YZBOoZv/P3HElhPFdMjKrhvbuW+G40R3Z3eRplfdJfrDypbjz3GEJkqiOOnzU/ziuC0ZppRKVWihek5KS7d3Lj9MnKI/9DdVro+tVcOc1JYur1y5LDO7rMh2eNSYGI/EopJ+ccboDN6q+SJBBp+fLhAxbAo74saWQZVEnFKZLeeNc08sliiYCKi7cqRHOnmoTU5OUYlHovrE8nteuS3dc1LWdbkE37vq8MqV/T4nTJsUaaJUuQHizX3OmLub0naBYsNo/IpqP5t7+Qq8F+7fZ1w9GtupN8RbAubdpCROGRWkYrcxX14svj2GBLmFRgy4FJdQiliFcRupIJWJk5+MmX19u0KqMH6qwra96fByc4fY4VUUOvp+6bSsmjxY9b9sFBa/4Xlu5i3PXS4rlEgKmiMNyNYa4m325K3i5xA57csW6ZAW1qR3oSEAeGYJs/4Mev+3ojBsGaZCFy/MEm7JjNW3rMc9Fu+JifuvUeOwDe/o0F5HkKQkBLmec7bi00d3Ldg1sf/LDLiBNCiSLXED4NvcNftuvHCQjdvYiNXfotFXSSVwz+dlT+pIkuC3Ypa8Al3u3oV54VmCzExBVnierJK36MwZT15llhNRsn1NQcwvtevPfRv17cgGLnDnJJSR2tId/uD9weX5Fz7LmEOQC0kCRpFTp9p6ynPGH59tqSkpmrIyHve95OOTue1OenplmRXdPVCee6zGbL57l7o3KWryZvLdnDn5zY4MD4+2UlebFocZ5pbp2K23bq9enYUYp1VNqXx+qg3qbc2G0gtN2XzQ7bvY9UUmeW71LDcgztH22b9hB45jXMDLQ7vYMx8SxFiC+rMplJ+eFmZo/ZOq3iWCmvVS6DrtvJ3YJ93G2Nu9F36ik334x96ZbXQo6FYo9vQYuxHl5n1oGwdMMfbtMzYpe/tg3avVr3rGqm/fTm5gS4U+WBtkMgVpg/XDkSbaZDrXrw8eFgS2Lv21Xi/WCYU6sf5KSbVtnVAvvrJVG948S21OTm7+kxKj/sz/uJRP3WT7pSSteinzXwjpcM9y9jTmrd2o2Ch9hsficG82O9uZwN+CrkLZkHUv7l6W4NyqPT/8S06Wy3x9k5KASjIUGODVOruMmS0xUiocPnwReWDi1NnDcrw4XjZnPid0mX7sWFtl7UD/kLIqUXa53UrAxeQ3KpUf0VyQn5GxfHnczl1g7PuR+Zp5IypXnseIH1/cIz4bBZgxWU01M/x1gr1udqJlaBGlimhjGsr+uF+bwiOA+zU2oE91TLEeIauP1xWe6rUM/pA81yOYpihiSB7JUXB/oI+iZaGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);font-weight:400;font-style:normal}",""]),e.exports=t},function(e,t,r){var o=r(50),n=r(236);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,"@font-face{font-family:agGridBalham;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQGYUJSCt8EW2ZKu7oar+BBS4UMLDEUesGK04CruqhLuSMFYxMOJ9k4TD6FsVJsWO2s7ISEXprJ6A6r7y7wcA1E0rdGHdBx2BqsIR3TVZsVrEiVadMeSiWTAV7ZT3Vh65ZaPBQB8pGzlO41nZZxWRkU8M2LvrbXvAYm4YGxgINkymVnnvJ+8IY/CJKl9MJW+gvCnl3LbsHaTs2ohBWEcpmsmRRRXKNKkuCLm4p7Tbw2sbJ2TUikk4bbrLeRQHhO/tP4Dl++aF/RAgFCHMiEFzB7JaiGE4JCRQWYC7af+sZj8urAmJABMgDURBOygtDYUBJRR4SFA2D/QeykLbtL+2vOu2BalHwlVZ9YAmBwAqJwoEbRlZgudl7a7eVj6XTjrKzIY0LcGuIC98cRjq4UUDYEMxBuDy+QCgSS6QysnLyCopKyiqqauoamlpCbR1dPX1ZA0MjYxNZoamZ0NzEAoTiEPTkLicqdKxP4sG2CnatZ6N7+vtvlpd75OH2BAbPAiLfVE0AhYg9GquQArBGOoB10gJskG5gk9QCW2QQ2CbVwA5pA3ZJPbBP2oED0gockh7giDQCx6QBOCF9wBmpAc5JM3BB6oBL0gtckQHgmjQBN6QTuCX9wF3rIRBYIEYbACIAiAGgAwAJAHQBoAcAfQAYAMAQAEYAMAaACQBMAWAGAGYBYA4A5gFgAQAWAWAJAJYBYAUAVgFgDQDWAWADADYBYAsAtulEBgQdkMUuAOwBwD4AHADAIdpQcQSQ4RgATgDgFADOAOAczQQu6EQGBBToIAOAHE2OAqCPEs0cKkaSBxjen+IZuAeJEkG6QkFKaCHWbtDS+v6PhfxWycQKC2EdHQeG2D6/aTNYLFEiCYmBaFjhkkWCbis11vGLxQhnFAqk2N5CGex5kkImjrIomG+a/qf3WZBBuej7jXycrZUIJqVSi4cg2PfntCDZdT+ev++Xi5EX+R2/MKhXfK/qOL5LnGpRtKqMxCf5YHGxUvt30LY59zQrUmZZq/4ZOOc41b91Trju2v/7xItKYgGdjr1c/e/g+dc1v3eMv1rjIGH1I4hAbKGHP6fkylKWFtUuyFmAIQY+1aiYCCbcQCGQybdea81XQ6mTbmJ8M5G8ZAv/3MIjsRA1fZ4cSqr3k9cyFBHEUh2d2nVM7tYxmBMkpgh6ITiAi2gvR8+nT7VYqBd7UN9oCeIYoPf8wnHgAsN18TumbYMS3bJ+9osHJxLz5MOs+fi0ZD859YgMscM0rFjd5ofvRF6nQSVm9pnaHX4zcoAODXdwSqNytrQI9Jfma2gsSbcOogW4O1K+DX4z1PLgF8iQzwvYuOLJ70HixUG8zIjX+farIdSQJQHfy7SfDNqJxJmjTpAJ3jhTeeeh9yD445sSTSopjLsH9GQ2i8R8Pp0eh8bM8cvYvHgU6FERV9N5JE4AfSxnFioSCTNG9eIFJJrjKlQ4fioVw2YBGul5dT5/zDheMHsulyp1cfG0yAI9FlOa5pRYLsUpTwSgtjumA5lEo3InrjJVrSI19c17Ozu4jSZnJoc3jmAzV0Z5oCu0LhfQNUJjzTmzYl5llbpnkchD44d+1x4Jf+JybGc+LS1q4QDrDm5iluUUDksvqcjgdXv/oRC9YC2TbboagB9paX2CXoY13ODwZXdlwMkKi2wuuKN9jbqlDRSBbtvY3Bg6Dg3HQWJdpOr5LVJtmevyOisMAj1lhgSphE4ZNU+nCKh+gbAsUOEwpuvCSFLL6j5seqJFASDcrY+r+UNO6zUI3/lUV3IH7YVXq8B+mAnaIIXQ62AC9nDnfR7k5QhiGs3O5+IUnsUR3TuE+31QGoj5hfm0fYS8+IcDEvAdJCPhNnqYSdDHD/0QlZWLduWoRrLWmnOvqsfdYBCOV0PtSmnRqprafNXefT7Ir7srjm3oFJZGrljLj64PJgLqJWdpJsgL7uqzdqV+QtOUsSoYvF5x3K2edjacQ180y1za6d/EQoNH8WkkOOKzrCCcqJNSxhkZZIwSyiPL0YCRP+1/MyHscrTt/KaSH7Gp/YG9sokMvnJQE6ioFlAJy2Qwx8GkJ18vbI/F7u3aEB6664auN5xeweyd64duaYRp/3Ned2fPk2UnlvP5iFGebs4LbbY0CZB4cgN49JtPsWQ+v71cT3jrGSJmTs+KvFH4yCeupYe/jjGQIDavnuVcCbNAIvQ8vv38Vj6+tLDxSGD4QvO6sIYosbKpRcV1jaPwJfpkVk4qZeTeqjvacKBQk6kv50oMxwJHKti77PT7S2w+tcJ1KjrNBU0wLPfeUoGuFETKNfhi5Ltr7wcLNZ/rdRgyqxZDLhzDjSEeBLj6kjjYwCxaBTC/hwC+FfMN3/DNBDY+4TOmoOKMhm/mmlxErsnU8c58iBPqAxI5yFnE4/cizy1jQG8fP0jY4euJNTQSmn52CxThEuEO0XDvO8AfEfKmqK7YwzRmBkIJQ3VGWLw9a9mLj9q2+4LyXDKr86Zk0wm2s1q5ZJlburNkudtNgYdl/Hj8O7dD9912JNy21iUJBEl2WH9l2AmSEHWHmWDZ82DG85tsYAi6OnMSVsEQ+XEcw/ITMfaCIzzkXLQirhdd+Fsu78Woftu/33qQs/aPQ3zT+59DH5W69srlhhbHsIiixAdxYQ8Shmc9ePPN7Qqa2AJdN5VK07xgc01KpYvLkxtuLp80qfsaevc97n8k+CRqS/OFaoJQC/PNteOEWk3kC82ZkCWyPBWuEAgUuGob6rgUAhW+FQ5aOhu2Cja11M4bNpo3dvwGsz85f7hSblhq6FE2qhotv5t6myBiLJETFpZDjLqXzwkjhGOj39ZN4PQ/xZnIOdWf47+pAz+vXdvd7bdkSU2t5t6MuyZVSUGUaCnVL2KcIjS8Pb1mzbLCQhSVSbt0410XunbLduwwvs1jcUEBXJb6nREO3pcL5ccIUkiaCN8ndMPcbzSa6UVwDSbYobcGqXBcFSQKEqhUeLCg4G4+8TcgL0Aa+ePP6c+3OEaQQKnCgxbKl/KT+PDNZzQvJOr6m7KSptpxSXuRwLJAIrA0MMr7r1VM3X+134vm1mnITfsBca73kdo1t51nca67u5YRvauTPLjnmjA3r9gAhsMqlzZpo4jmtV/oe6zEt6CANZq6cg+VxfTw5FAvWhlORmp7ed07Z3o+g7rG63vUOgh1f+7J0Nu0eKx2qZBkPPNmuDgM3pLg6bnhAmNFrBE/JjAxcfBoc2pOc6QwI24waxbTjgxjCi+F2juuZuiAkepuU6Ttj+16l6Y1pdJYleIpp9G5P2MHyQetuqY+Z08Lc6anpVfltp5YwDAy3ZmRBaPz2yKnUOxpvjQGzL0z6oIW/B2A+3l4eDnKGIJuSR87xb+gG+FsXf5ZYzapVCm8rfQst1z3xPAscXheb8iEzRv+t3a+7TTJFv1LLShG+JosWYZ0pFux+xBOnti0LFlaJJEUxfI941Mnh/alaIoRjrKheoF0FZri57c/3pMfWywRF0l5HgmpxL3FYTiuHCgICqswLQp7LzOUAvytDz43/FtxxpT0Kv8Kbo2LjqqRZ4qJ/Ba8D6k+WaTFqKnITGm11jvpcfD+WayxjdyMeodRektGxohHNladkeJGPeZTUX8Ft64jeGO62tWZF0ePYQLhdYtjqEMf93xtW6tzg2kGqEHHcixrzYqXGmfzFDohSW9t23yAmbNtxj9WO4b+7lPnRra10uHXeF7Fag8raYXfv0kDadLLDfJj+mRhQjLbA9mvA9fLoy5nGEhDs0xMiptJz/dt6G+yQ+QhwGdhyEcOpJWEgNkfpnVOa3MaP9AvqfYlRK9/Tj7fTxwCXklTnYod2dlLFnZqK805DL1UWpLjoZhGx/bxgJ5oPUQtfPLZf1sHe/KqT9rKS16TL1avKrLH03zMlZUfPSccq939qNWxOINZlLaJrtWW9jLsispw4RSL6Oi61fn6Xt/vNnTFmoSM6yNwYAwje8la764uU8FprzsTk+glewlZMGWYmDws6A3z95azQsO7LvTeXVSh0Omysnq+iysFDxBeY+nkOoOOZHS5Di5/we7exSQVdXNOoHfV6tZlZYcQZ84Yf/+++Z75/h3oePwBIv64qEp/y78VfNY3D0XyRFnhVZschjkVCwbzM9OiVRGHeQXuQz0SyC75SiQXyecl+8RVF06PjCMzEWVQomDwTPtMezUvjZ+RHZKOd9qkC9TBgjyuyk5tl6WZrcCTgxf995eioigy9Kfj/ZNtIxxK2tpdy8O07IkLXzjgnd3xiLGprY10nOsVx0rQrMi2MV6P8Uodxv73rwcC3TiM/XeMz/KfGe/sZxi445jcQ1zmOK41cf92pU/xncKNPBxHWNkRrENsEfsLZfgNJDuRfYiVBFmGuXPt2ZKMGV3LLJWFI+dskZLedzmc1IPPBw4sK6bYMHmSzAuVCxc6x1fTy1lhs/cZvi9fPqye4chiNRV52jXQFyxsmO/09LbXlxs3Ltrh2v6Ioz9SPthfqC77Dz/NdNruAj93HKUuManVuWrT1LoBgoEKXNc41XR6A2rT0s8RnvNuOURxBtrpR7cfh2QbwxjyV0TqhT/i8Ha5vLND347srgvdI56jH3NCX6ccPQZ8Ei2lQwM0/OnT+ZqAoeZSR30b1/CHBpgLQpbIWkpiC8XiwtiSj6FGWaG4RPIRlomQREl+wViDq7z7YN73CwnbvqsYDaLpVj5/2rT5mRY+bVmKS4E3EOOsPBUvl8cFripy89L6abXLrnCkZVrtfDWEJ5TSaDO9CsLjx5uuVzTXe2F19d69nZMmx8eDibFETgiODVqULqJT6MuWR0f3WA6ZIlfbE4+onh46bcoj72xkiOeXLRvlWugtemR+xC13WjbGRdvgnrxsudYkC9J9zAWh4Pz4l3lEPztXzUc7zuOPPnmUIQVrCiUxMKYvG3/7BUnskhbrS2AU5gLmLupa1zydidnXR28WrEeFIi0yuxUrpl4IRi3MfIwiYrpuUi5oJwD9i9Vg702P6wdUszdjktjwNxUZEt27XAj6sav9i+rXY/0MHfoMaTL9f/w6kVcMrknc1sXmjMda7CqsA0MfB2wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);font-weight:400;font-style:normal}",""]),e.exports=t},function(e,t,r){var o=r(50),n=r(238);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,"@font-face{font-family:agGridClassic;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABHMAAsAAAAAJ0AAABF6AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKqXSiegE2AiQDgigLgRYABCAFhFIHhQobaSJVBDYOABLThY2ooCREVE7i2f9fErgxRKqp1i8CysrQypDVEaWyzZTHlsaPQZd6tVTsg13NCw/BMmxqAaYjcWrlc6N0H+fdz/62OIldl1MOSUKTB/r9vp373oplsdDENWkTcaCJtyV5+kMJDJW2IWHRNNr/zv1726Z9BJg2KcNXXw7YEakZMamnd/wg1Zkvbn9pKyJwBEzNvs58SG8zwwKXsmUtdcsvu5Fl48RIfrJo9wNu65/sAu2NvmsMfpQFRuKxIW4zRhiF9rfisuAywOBq9mXlv8YLfgXAj79Z5QG1BOhMha7riWuStybIqfMDv/BbqKw5syfuSFEAEiy3fUiRwJSg3LGiEQD/z6+1uhLKEjoPaYWWxe87eDJJM7ObPuaJUC1EPNSpiCbRkmh4iJ2f5l5tfjsiEnbW3V2geb383w90n9qMs2I6RHaUlDgDckh2jtVYmQldOStLoMIWh9m7DvFmKQL93K+H7d8D0FG2/h+z9cW7xsKJlOSRIqDgGm1f9xGADHc2truX1EJ1Y7a+EoaQ680BvE0PG6vFRsj3eqE/CkH+hZOyVC098cu/cBIOQnvEd74n4oLYEm+M/4rlzV0xSsSby0kIEUbJFCqWQGpUV2h03IDO+CFp6uF/TA9FuhCJLFpa2tGDrTrMX8ZCjyNE0UnkUaQ3O92p/flyqj2eTGShkKKpO1NTQYzw6EyY3r17Q54rgql8hK+O5zIQphau2FGgYeqFm+ZelgiPXB5ShCT46Lg7clYqCA0mhb7ckaPCT6crIoTqCpEZ7DDLjhYLFZQHM+fMa+kzCOGi5tA+ZsnCsjXdo3drbA/K3Yuzce9rbSz+5P6yNqtO44+aiBR1kW+8bShygGAJoqQv9smfZy8uvPLeb7jQdVnI9u/eoXBj2TqvWZgNO43W8QmfoF6wzp9JQZkSTEniieILCUlJUUhJMGONia8oV5oWCqh0iFDxxiq38ZZaMAlVSWYVna6sTekOxKrp9SQH4dCeaLS0xgxGKtFQ/Uvjtnk/skRHDWqWTbOM1z4M6Ixapw+djeVhLjmiMENM5Zey6otP5hhQhfMffpenMteUjhSN7REb+Xx5cmJMDemW+K0YINYnhSfZGljh5o5YgvZNSSAzq+WdEpfmKDGq8MntNLbQYPIF2cikJ0a3wgLJIDqL9uLu0/eHdxUhAhE+dn2r8SVVAfxV8uPe75lJUipehla5WTaQDMRAMZAEorS/J0KEe0mKcYo/zUL+I4u7sJCL9775/eM+syiUeOujHz/KD83XfUH5JhzbksHpNuAwcuvpqVNFZjO5moHGMNpC70HjimUYLA7CE+TkFRSVlFVU1dQ1NLW0dXT19A0MjYxNTM3MLSytrG1s7ewdHJ2cXVwf/sCbozsIKa5ruMOcijbDJ6lo7e1Yc6AqO/r/N9IwCXXjeGhOzQLE50pDQMld/ah9llUAc9YGzFsTsGCdwKJVA0vWDyxbJbBiLcCq1QLr1gpsWDOwaV3AltUD21YH7FgPsGdVwL41AgdWAxxaN3BkfcCxNQAn1g6cWi9wVj4AfjDyBEvAESACnkAgyBHkCQoERYISQZmgQlAlqBHUCRoETYIWQZugQ9Al6BH0CQYEQ4IRwZhgQjAlmBHMCRYES4IVwZpgQ7Al2BHsCQ4ER4ITwZngQnAluGn4mzv5CtawPEQyyB9gMCov5ZxLIKVIkJbwFA1XJaJH+e+AwAZUoMCQMAM9Ep7GKuMdGg5wiEM1GcInkhTOJFoavM2rEtzvwfKW3pvRUEKDIHfXVYa/NdWbWl2fVenGqxa3YtiU1++Ceaw3MOtr1zVMlzi6euvyK+c1dSgNVYaNujl/pt1sGj2z8QnW5/fRjJbZUvGNN7RVq2Z8XXCDmNu3tX3gEgWXihG3RF1pKVS9GTeeHNZzuNToi1wCZvF11V43o7++g1r4/d+sHf/5LdGCb/54Q3A2gXMPMHfZJHuOKXQ/I3QbcfgFlqKllve0qIvbejd5uyh2yFt0MG7u8UX3IWE721CIYe/svPPkv/H/EF4w3bCflGE2WN42ssgKs9qMUEIBjhXxKlN0oKohdMXYBqkyeNKrzQp3bem56KeytPZE/5B68K/k8/gfdlF4rWGIcX/C2M59wfjsWRqdzqbTwxCeePtzFn/6JjmMUmua0egd8tA5mS8cjeJEBOc/odGaVAQz6mSSMDMMwulp63T2Vvj2nMKnzk1KudKpnVNNkv7qU/3knw0FjgYgrU8C4u9wmK+llrQsFVds4tWYhsI20YVS57ThGRafmy9wYAuuSkeu4yKpTzsZnbak0kt+kkYZhONGujjLg9f/zop/3MM3+X2CXzBwP8YrgUaX/XCZ3PpTWa7IeZFjjA/nspR/PfKdrNDx6RdkG7JrjuZX+aVcOUcJCCqGcAIFFnHlkQ6L+1MAmj/nd4nP7/z4Tn/WViQAGaCCFao+L/ERLpARGqyK+zqtQYH5DAwy3CMJJQZ16KRejaY/TglTA9s+o2epyp5D+ajgnoMLObTJq/+KIn+I/2O5XNrDxOpRHMWn+scuTsa9dWfz4t+i2ohzVbkhzQAOb7xxdKZ/ar33nyy5xA3lonj43GqWnBncOLcktCC1slIUP95nvm7dcNx/d3lyKh7g/1jJ8lUUnBEquCTFJY5txw/fMLAdDEFSTlaw0Usc78eHuYf8YTLQJ/UyWHRJE+Q38EfQ43hLT1OvG8TNhCrzDi/1RDHOLOD5YNKoP1iI1aN+70t/ioLFbo4VhPK9W+RfsqTRkJdEAlHc7DPNrDFggg5FUDFeDb2gXFJUx2CBZkVfAXoCNkyh103NPGvbeo+geMgiB/2HJD7cY7tN0oY9g58XHj8yiAbG0RhoCBEeC3N5l3cRC9cIKgzGLq+AdxGercHsvLWwquKieFWiY0s0wVdMlSor0KXu6XPcWcWqbHfb9jzNd+ztnuO/1GGfyRO728R8Ngl6k8jdF1npAbOubclEEKcG48MgT3pQyumEszm8fuMotN5Io951qamS+IcE5h0tbLxAt8K2adcazabBIO9hzjSNq07gmVSqRBpBEhOZ+jguc8KrwkGlaQ5HSABTFZ3IgRO13d0F+UaMqriuLuEqeBujwrds2bwFx0OkeqrN9TarrGwBuY3zdvhCsfSjVLxw+FvpQi4tlruQw1v2wasRfY+O9PqAFhODIgPJeDPkOoZltlatTQvyNa8KLi0tvTxtmV9IyS6098uxh5j2mY9a4mXuaXn4iWZpZAyvD9lslrw8Dicy4gT3cuL4iQ2R3d1zX+skUlCRSrRv5oLtexvdpgz6W0eyNKv0raMyDORbqmBi6TvFVNp4+q6yoPYDKngbIEERSS8KSmhjPTT1YLGwdjsbBFO+UwqyNiY/J+OAz6Uo2tCAoidLIL/8oriwoWryiE1OsmKZv6xIJkc1o8q05eLAJ42jzE5XuT/EeN12qrJdd5s3+DLfq9jf0TpCID3agPBE4X6Yc4v76Ij6QE/RloBhuwuHGQySCR7NGz0kYoFwsMdpO+Y612NMSfUbN1SPedhEvfLV8Bv/sRAb12ekoNW9NIx+NARzd05vVwqFa49jTeFzf9r94x7xTyAY7dpIuvQVB10RVy733JklDjj3G9elFauBtaM8bG5dXQUFxlyQLR7b/41cPpE6SvPn3HKNMNoTlX4NT4tOa7mkPcr1/N0NJalyZtT+JdhcMV8cbJigHx08sy/Xc5gnNsgf1FyStbOA8TwUOY+UM5AxydUaw5Q55cXXguJiAr7erifc0jjlMi5RaxvOTRjwTKrLUIQblsT5BxJ/xM3OowQpoiSXoZkD05xzubrAq3Mf+cenTa9PuFGU+Icq67JQf995dRizG4YeEczgjElRe5+Tw/TJSiYue3i+t7Fvad8sxbU5j/w1qVNrNZO0VR0371O0IUtuVBT3reqbI9f5x+dfFuoecHeo0osDR5YE41kr4zlug35yocHQ65Lmo6kz6DdB36oyJUWuWsc6QJvQQtRbO2P33HP4EK6R33E7YC+w/u/rws3wuTUNNndaGMArYxnaQSsNtbEUHc9QDkpLgjZCW9O0vmUZdhWrDVSG/ZwSngP+/s7Ymbp1hU/a2wsKBlw2loWOjrA2GH/FxKN4GtmKkVOnmhI9L4FH8mpqQkhIPXHKRBArJEPd+U4if525k0egapWap8Y6p0zdjRIY0Wmq9gJ0pmlk8tIcFMNMEtl5pqlTR8pWvJRsQmmnZckjV4xEvU5CwtyJwdRTpnaqMTVPhUYpRKdZ5y9y4rsPlawgCDtI9VkBf75iRUOD7eRN9maSvpyYZTT6i2eXqxJ26D6O3/O0WEdarXfH4Q8e4ND0IlMhNMmxW2QJGk6xSraARotHX/Npfe8Z/2+1FlusgYvw+/fxD5IbfStIr+j3dpaNJaXgh5FQLzPmtkgYGve6KEOW5ms2+6bJMs86WtOaZ6X5ZvidyfTjcLM4vzg/zlzVTFmPXa1OixHGComa3JBsuTwrxFhDnDNULVWr42OEyvtmWXJFVXJr1KJYYcxS8KkTO6wWq4NhJwqONrTb4e3b7JCNJY6U78iOfTAh2Yy9sZ0Xvmcnmkwk2pggYHqJIa3Wvoaf6azGaZ17DhzYQz96b/kFfAiLT0CLYE67cdsaF2ZKrcDAZdbOkFpsM8dkhdo2peQ+DjEu9KBTedyccQrjY0XugKzMYu0xX4G2S9IUuY8VRnnH476LPA7JrWMqU+sIZW2t0uRoJZloBkzBOztWTbP2doWp/2S7j9qH8ZGCVB3ofciBZWWWC1i27Cos1gJrsZAUkL8o0gL8K7E3ggFLRkVREJZ36bffgoIa6vfv37nz+o7A4hbWAskXRbwivX4BuvT6yypF6vm/EsnqYWqdOpI7P1ohv3B4T4gaOjkM02HXrNOgL+SlSE123gkpYV3yYDJ8quuee373gp9kR6gbyu6GIOc/bhJGuhYpIy0mkDnO+MplBHn9EnkFA0k+QQrk++LB/oEndxoP8hXNApC/K5G/dC9lYufWEX2JKIhdpCuu3B1/bODBfoA3/IFxTxH9/1/Yy583P6G5dc6P9cU9GVaAXEGQPPtr3UuV2TxfUUlkbmj5BNE71mU8HCsoD9osEYk32gmEYJPUtorHeLf1rX85NsczopfrirwEzDg/2T+JzN2u6KAcwiQSERLhHK53fgft4kEOya/mAbasOur874UpPaW0HEnzfQvLW4von4XogeNOFIawJoUGI5zB1N4DW6m9PFyx/1UJhsarfXXvZSPg5W9dqIGAJGcAC2Aa6q0wHQYVaneDBrWP966x4CHUofaX3pQMXn+fWSMI2/g3CfYpmpwDfKMfopHsvKlP/Y+SA1N119w6b+INCcUo2qpdqjz6e1VXOeG+emVSjJGrJPyDoE2nmh5XK3dlqQHuC+PfJNin+AzZyy3AN/ohu7IispBc9h/P5PVrZarcadyK2t4oiTOjDlhg7RKxPD6ye+oxVwWacE/pq14iCNEDfqCJr/0goHCjk9DSo5W3PCcaboAWYf3SYoYtEJf+iStZTKHS6Azm32T4sK4G5OHlNJqtdqfb6w+Go/FkOpsvlqv1ZrvbH46n8+V6u2NRIlRWVE03TMt2XM8PwlkvXr159+HT1zo0lxf0RgPTjhnhKW+aAzsQBBi34TaiZzUhwm/Lc50ko715U0kgi4rSBzKKF5d8AwlNewQdWeoUUvVl9wENPeUDaFIxoGi3oNOyDcM5b8IZt2xm2MavWnmvXMloNrX7+GOdo8ndJlV3XMXKDLddSdYtPyFtp8pD2npXVunT6U4sqtXqbmxjA/m9PubQhzVu9UnDnpUCk0I562jXhIdmWpsYeUK7nTSMw81U1MXVyLqXBsfAQz4TRZ+H63ZQZarZudM3xdG2lO90K8eIB/l5TK8tT/RCTFIOgS+i7N1ji0E75TgXKoi9GNkb3ha8lNLwBFIBI5MMRJ1frVldWr1Bshg561UAAAA=);font-weight:400;font-style:normal}",""]),e.exports=t},function(e,t,r){var o=r(50),n=r(240);"string"==typeof(n=n.__esModule?n.default:n)&&(n=[[e.i,n,""]]);var i={insert:"head",singleton:!1};o(n,i);e.exports=n.locals||{}},function(e,t,r){(t=r(51)(!1)).push([e.i,"@font-face{font-family:agGridMaterial;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZaQERzutqaDhP33SSojDkSuy0tGhJK4TKK3QzI7m73upywg2//HcOv8HYgNuxzN9yny6wS+OijiJbjLIFu66IFGspLEKaV6ZGt0yBLLRkv9IKWVUFo5LRPqqqI8sJLSUWjLIguMFlIyueuV2UTFV3TGWFWLNyXmpZtfNi7galJ05kU23SBY1BMsGKpGlYb7M8i2rcZKxgDDYT2mI3dcsTNzMiKqDZyJQGLfr1NUYG5wW0ISm+4yeRwSlp2qxi5qTbRPfC/MUonxi3xhuhFduXAnPX0htcYcPCemEBpnEaC/sqKBcoYDTQlxtVu5W2OSILrnElq3L8GdYzBLHAHgde795/+Kc/oAARnyC4ir3ry1f91H0iY2rsZ+6nZyGurA4oAhLQBWQQS+U5IQIX5XXhVERVkP+ohNthIXefPVQ4kf/8QbfX7nh8wiSCgRPUwtIzBzp43bTPdlssXp2pNB4HjrqAtIZK+O5wTCCzJmBxEB4mEBEVVTV1DU0tbR1dPX0DQyNjE1MzcwtVSytrG1ttO3sHRydnF1c3VXcPTxCKIZjFczx9M3akFJJb2azJ2NDv9O8/rib5WJCVvPKVgPSZgk10r8omv4Q+4LIZ4IoJ4Kp5XDMIXLeKG/qBm6aAW4aBO6aBuyaBexZw3yjwwAjw0BIeGwCeGAeeGgKeWcRzK3hhDHhpFnhlGYXWOGGcBztiARAHgBAA4gEQBkACABIBEAFAFQBUBUA1AFQHQA0A1ARALQDUBkAdANQFQD0A1AdAAwA0BEAjADQGQBMANAVAMwA0B0ALALRkJhXgZAWytAZAGwC0BUA7ALTHriodADI6AqATADoDoAsAugKgGwC6A6AHAHoykwpwQoEaSQBIRiEH6xv66Mal8w9Q/F2QFg5hnwB9IpENFTdF5rMdgcVWQs4UHlie3EiR5SEpgoy3UFi7nKB/Zck40q8ZpPSw7TodayFOikkLmbU5/GrOybbEDSd26+YisVJC2A7CGJE+sh2Jyp5+3XxITFBNC4hHM9G4X1cWsSBc8CIxwh3k/qMGry9SuIVMxT4jIHHkEBwDvRKDhoygQVbcrjShlJszH8kZh7U8H9bpcliQRae7pbhapWGt3D4leL/ZHioZ9JN4acisHb7MWOmujsIwjFyZeab8iIWHWZpD4QeT4eAmp5yVfHK6pczntl2OfeB2+xQJoVRgBQHueswxYGzUEBzs1CYs6fJZya5Sn8VbEPUt77Pa2wxbvKV+uFOa9a2vnSh4uRF/mb+4d9BnY8VL30P4PLR8badg0O5Ru7WrC490D0XtRMLewWOM7kg/2CzrsKd68DgEdnS397ps2dIuF7V9h/Ho2zETic4VCjmj60UCRdvTPQOLBnuPVnUrzrq0DkrWBeRyOx+VnbxbUcB65YAUdssXwt35ZrnpsM+/d+8SSmHkXkkxkfJ0GKOi07uok9F1O4n0viniWi7gT/JFeWafjLbPv6h3Hx57kDCjdvf8sj7dnHmA8ZK/LKkTzef87Z5AfhL4Vv9kXHSOxxvOuOP0fer8RDOM+YuFLJWvHRnJ9+Bcd3rmEKkzN+9yqEU/eiPOzYblw25+v53d24qH+xb2H2k/Nrho4GgNAZ6ZAl63Oeed6JVv5owS9LkpnheQv7Pt0CUcH5kMtLs8vMXdh1odSDCMXmXsN1CsWOWTZ1qfnDZit8PZm3S8VLx3r53fj5wbZ1izc4zGsNzT7a9r6F3aw4dh8eCTsiOD7MQgONGL+isDbZCCoDO+MLmaALAKm85UazKkQJYaK7KLb/2xJ+FwWuruJ538eCCOD5Iffb8PTprL480N2X9XbG+9ipvCs657YZesZ1Fvfd4nY4EeuXXdPn2wSlbmeCpd9Xm8MnKaqCwUdaCyiF8bGnqUJfaorNZEH97qKQwdr9XluvLZQayYon8Q1u0FF9ZM9GI/RzPtLnSm2zdHzywma2bdyXln8yVnxrrqkU/yFJN7c9IDNd+n4ZSesX5y/Ejl0fMuni3nUb1fs/DpJYvXT4/FY9xjV/+W0D+QQ6a3/Htmms8FYfSmH/cUL6t2TuH00LdpOqGFnlM1unnet256vEE5n25uPh0kNsfsU5ozJm5EPJHmZG8IaC2lVv8gf3xU9wgE4JEub62MLedwymMr34g7upyTq34z4khWyDdTKVaR8ug+4eakeYp5nzKnZk1V66d9nwYxm9S4e8gdd9z9Toh758PxInA7u+zsixdUquwcuVkdFNwSLI6ehVdT4cpm6Ynh82mlkqquRtGkxIu84IsXLg4m9fWt+SxyYgEfWE7klzVAU3TE6hVrpook9zF6PbgrYruU0isGm75Rf53gxVN6PQRhJ3QEsDLJTN3ciVdZQGSygLXzY2US4EVdzbwKEYuf96iDhdcXBZw7HyXiac2LeMOIn8Qvwq/Oj7P6v+GvHL3l8nb6zFXIPRP/VKsnSLPygdlatzu2VpKI77t4dqxz0zAbhwRfpulO81mJU6MsHUYjPY+KPQsKnOZb7BiycHK0s3ezuKJjMtZYzJ7U8sXMOp9poXT4h7MHQm3f2DPnGsyw22VeH5/z2p1pblrcxbW333eBuT1hTeDRgGOOgWA3izFdgBs6su86Nm2xPFzmGHk91ATfxWwFtrWu0ZfJrb+0OxcLZ46fvKZhvH2KpTXrv4SilKKdt8lzJpZhZtaC7AbhzBObmWscbR2jC+bnz4peYWhi6WnJhDUj9cpL1PBrhE1Wtc/SWX5eXWKBoDBSkpfpznevb3TJaCCrWrIFvMXpEkSRk85rMfXizE8XX+ex/Lx/Z/C5TllKbPJ1+FTkpRSXLI5auuKqv2f0GtB+uAAnH76pme7K1GjXDNcquZuDxwUFjSsUd1ShXzMIdb68nb39MntzYaDU00KaUAo1whZCR+rgX/bJE4Qeo32uaEkdCWxmKyWkFPQ6GzIE9u2xWqdddot9C/3cKXN1zU1BzUFuS/PzpmZJBvw9cj7N6Lrcf6jV3QJfdVu+U9ijJZxHCDqXjquIiSlvE7eKS7RAjDh3G+WQOdNV3YzAjMATBlS0nhCCZtWKc3LEtetb1jd//WvFi84UiJeWpqYuTwLGd6UaoQbm6jdmnobU3KqiC/Q3dUJdVnhqdzLmG5G7TD4A1/uXsiRYEDRhQpAguCROQuy+c8eZkAhsDlFxx/wgYol08NyvvF/3BljA2raKyNq5vK1XECtYdMb+lrWNnKecR0JxtExWpxt68TIo6PnzsZnHROTYGCk6NnPsObCtYimP4DMenXEm2CNKZtrSdQrt0uPLjrv1a8bqOqeWIPfv0530l9C6P2NjKubLarnbTvWCfvFc5Yv7O7G6rtS30Ecm8yn0Lb0m7miZ7G+61Pea4MRGNUsbSzlFbHYRp/RJ8tx0EbuU8yRTFbTfeG1cbtvK4BG1Mvrj0vXl5Hikp3U/vbYrzQ0Ri3TeWd5C75p1ewtcpFLqZlCNkko3kUCUfGkoObsd2E4MJNovqnFiX1/3R7VWq4CbbllkFoysOfEujOnW+6lw9mz7OxURzOFR1+KTqxLj+l9apSoVCk0ypYsWbsmclBrXaruf8HrI1YpEHmRbeVlWFk1HHT4Ccxf8+aP9/eYEqAbjAgBgw7R3EdxkWB42YUfYNJiJ1comoutQTb2F2EmV2fz5iTVhXxfwQqoNi1D1jqSiBPQ/2Ugu2tpIOYYTNGkgep5wLxqTcmEdDTRwOxmqQkSDiU2nYslVDeiYiJ5Hy6isjNAuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);font-weight:400;font-style:normal}",""]),e.exports=t}])}));
|