@mongodb-js/compass-web 0.30.4 → 0.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/10.1f1a54d3a40efd8c2017.mjs +2 -0
  2. package/dist/17.362fcb811ee2ff871d32.mjs +2 -0
  3. package/dist/{305.mjs → 273.f8171afff21603205990.mjs} +2 -2
  4. package/dist/276.30ea2a26f486be6e78b1.mjs +1 -0
  5. package/dist/414.1038db81de0771ae4f6c.mjs +371 -0
  6. package/dist/{737.mjs.LICENSE.txt → 414.1038db81de0771ae4f6c.mjs.LICENSE.txt} +10 -0
  7. package/dist/423.45723618046344488182.mjs +2 -0
  8. package/dist/{427.mjs → 427.ea0869d385dd7ebc1ee3.mjs} +1 -1
  9. package/dist/752.be311c1a6bd153169544.mjs +2 -0
  10. package/dist/887.a7a72716c079e9aa117e.mjs +2 -0
  11. package/dist/assets-manifest.json +13 -0
  12. package/dist/compass-web.d.ts +35 -12
  13. package/dist/compass-web.mjs +22 -22
  14. package/dist/{index-bde52cb3.mjs → index-bde52cb3.0f5ab0c9a2dfc578bd9d.mjs} +1 -1
  15. package/dist/tsdoc-metadata.json +1 -1
  16. package/package.json +45 -42
  17. package/dist/120.mjs +0 -2
  18. package/dist/680f69f3c2e6b90c1812.png +0 -0
  19. package/dist/737.mjs +0 -352
  20. package/dist/752.mjs +0 -2
  21. package/dist/790.mjs +0 -2
  22. package/dist/7ea3a6d428136b87ab95.png +0 -0
  23. package/dist/858.mjs +0 -2
  24. package/dist/955.mjs +0 -2
  25. package/dist/a4e0eb7ad904a4858361.svg +0 -156
  26. /package/dist/{858.mjs.LICENSE.txt → 10.1f1a54d3a40efd8c2017.mjs.LICENSE.txt} +0 -0
  27. /package/dist/{790.mjs.LICENSE.txt → 17.362fcb811ee2ff871d32.mjs.LICENSE.txt} +0 -0
  28. /package/dist/{305.mjs.LICENSE.txt → 273.f8171afff21603205990.mjs.LICENSE.txt} +0 -0
  29. /package/dist/{955.mjs.LICENSE.txt → 423.45723618046344488182.mjs.LICENSE.txt} +0 -0
  30. /package/dist/{427.mjs.LICENSE.txt → 427.ea0869d385dd7ebc1ee3.mjs.LICENSE.txt} +0 -0
  31. /package/dist/{752.mjs.LICENSE.txt → 752.be311c1a6bd153169544.mjs.LICENSE.txt} +0 -0
  32. /package/dist/{120.mjs.LICENSE.txt → 887.a7a72716c079e9aa117e.mjs.LICENSE.txt} +0 -0
package/dist/752.mjs DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 752.mjs.LICENSE.txt */
2
- export const __webpack_esm_id__=752;export const __webpack_esm_ids__=[752];export const __webpack_esm_modules__={470:(t,e,o)=>{var n=o(81367).DecisionState,i=o(7842).Ij,r=o(66346).Hash;function s(t,e){if(null===t){var o={state:null,alt:null,context:null,semanticContext:null};return e&&(o.reachesIntoOuterContext=0),o}var n={};return n.state=t.state||null,n.alt=void 0===t.alt?null:t.alt,n.context=t.context||null,n.semanticContext=t.semanticContext||null,e&&(n.reachesIntoOuterContext=t.reachesIntoOuterContext||0,n.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),n}function a(t,e){return this.checkContext(t,e),t=s(t),e=s(e,!0),this.state=null!==t.state?t.state:e.state,this.alt=null!==t.alt?t.alt:e.alt,this.context=null!==t.context?t.context:e.context,this.semanticContext=null!==t.semanticContext?t.semanticContext:null!==e.semanticContext?e.semanticContext:i.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed,this}function l(t,e){a.call(this,t,e);var o=t.lexerActionExecutor||null;return this.lexerActionExecutor=o||(null!==e?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==e&&this.checkNonGreedyDecision(e,this.state),this}a.prototype.checkContext=function(t,e){null!==t.context&&void 0!==t.context||null!==e&&null!==e.context&&void 0!==e.context||(this.context=null)},a.prototype.hashCode=function(){var t=new r;return this.updateHashCode(t),t.finish()},a.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(null===this.context?null===t.context:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed},a.prototype.hashCodeForConfigSet=function(){var t=new r;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()},a.prototype.equalsForConfigSet=function(t){return this===t||t instanceof a&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext)},a.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==i.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},l.prototype.equals=function(t){return this===t||t instanceof l&&this.passedThroughNonGreedyDecision==t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&a.prototype.equals.call(this,t)},l.prototype.hashCodeForConfigSet=l.prototype.hashCode,l.prototype.equalsForConfigSet=l.prototype.equals,l.prototype.checkNonGreedyDecision=function(t,e){return t.passedThroughNonGreedyDecision||e instanceof n&&e.nonGreedy},e.G=a,e.I=l},663:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(55e3),a=o(44081),l=function(){function t(){}return t.prototype.postConstruct=function(){this.doingTreeData=this.gridOptionsWrapper.isTreeData()},t.prototype.filter=function(t){var e=this.filterManager.isAnyFilterPresent();this.filterNodes(e,t)},t.prototype.filterNodes=function(t,e){var o=this,n=function(e,n){e.hasChildren()?(e.childrenAfterFilter=t&&!n?e.childrenAfterGroup.filter((function(t){var e=t.childrenAfterFilter&&t.childrenAfterFilter.length>0,n=t.data&&o.filterManager.doesRowPassFilter(t);return e||n})):e.childrenAfterGroup,o.setAllChildrenCount(e)):(e.childrenAfterFilter=e.childrenAfterGroup,e.setAllChildrenCount(null))};if(this.doingTreeDataFiltering()){var i=function(t,e){if(t.childrenAfterGroup)for(var r=0;r<t.childrenAfterGroup.length;r++){var s=t.childrenAfterGroup[r],a=e||o.filterManager.doesRowPassFilter(s);s.childrenAfterGroup?i(t.childrenAfterGroup[r],a):n(s,a)}n(t,e)};e.executeFromRootNode((function(t){return i(t,!1)}))}else e.forEachChangedNodeDepthFirst((function(t){return n(t,!1)}),!0)},t.prototype.setAllChildrenCountTreeData=function(t){var e=0;t.childrenAfterFilter.forEach((function(t){e++,e+=t.allChildrenCount})),t.setAllChildrenCount(e)},t.prototype.setAllChildrenCountGridGrouping=function(t){var e=0;t.childrenAfterFilter.forEach((function(t){t.group?e+=t.allChildrenCount:e++})),t.setAllChildrenCount(e)},t.prototype.setAllChildrenCount=function(t){this.doingTreeData?this.setAllChildrenCountTreeData(t):this.setAllChildrenCountGridGrouping(t)},t.prototype.doingTreeDataFiltering=function(){return this.gridOptionsWrapper.isTreeData()&&!this.gridOptionsWrapper.isExcludeChildrenWhenTreeDataFiltering()},n([r.Autowired("filterManager"),i("design:type",s.FilterManager)],t.prototype,"filterManager",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"postConstruct",null),n([r.Bean("filterService")],t)}();e.FilterService=l},719:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(45727),a=o(44081),l=o(44871),p=o(98239),u=o(55e3),c=o(15068),d=o(60843),h=o(63405),f=o(72493),g=o(54828),y=o(28771),v=o(68363),m=o(24463),C=o(88842),E=o(40797),w=o(83423);!function(t){t[t.Normal=0]="Normal",t[t.AfterFilter=1]="AfterFilter",t[t.AfterFilterAndSort=2]="AfterFilterAndSort",t[t.PivotNodes=3]="PivotNodes"}(r||(r={}));var _=function(){function t(){}return t.prototype.init=function(){var t=this.refreshModel.bind(this,{step:s.Constants.STEP_EVERYTHING}),e=this.refreshModel.bind(this,{step:s.Constants.STEP_EVERYTHING,afterColumnsChanged:!0});this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_EVERYTHING_CHANGED,e),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,t),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refreshModel.bind(this,{step:s.Constants.STEP_PIVOT})),this.eventService.addModalPriorityEventListener(h.Events.EVENT_ROW_GROUP_OPENED,this.onRowGroupOpened.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,t);var o=this.refreshModel.bind(this,{step:s.Constants.STEP_MAP,keepRenderedRows:!0,animate:!0});this.gridOptionsWrapper.addEventListener(a.GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN,o),this.gridOptionsWrapper.addEventListener(a.GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN,o),this.rootNode=new c.RowNode,this.nodeManager=new y.ClientSideNodeManager(this.rootNode,this.gridOptionsWrapper,this.context,this.eventService,this.columnController,this.gridApi,this.columnApi,this.selectionController),this.context.wireBean(this.rootNode)},t.prototype.ensureRowHeightsValid=function(t,e,o,n){var i,r=!1;do{i=!1;for(var s=this.getRowIndexAtPixel(t),a=this.getRowIndexAtPixel(e),l=Math.max(s,o),p=Math.min(a,n),u=l;u<=p;u++){var c=this.getRow(u);if(c.rowHeightEstimated){var d=this.gridOptionsWrapper.getRowHeightForNode(c);c.setRowHeight(d.height),i=!0,r=!0}}i&&this.setRowTops()}while(i);return r},t.prototype.setRowTops=function(){for(var t=0,e=0;e<this.rowsToDisplay.length;e++){var o=this.gridOptionsWrapper.getDomLayout()===s.Constants.DOM_LAYOUT_NORMAL,n=this.rowsToDisplay[e];if(w._.missing(n.rowHeight)){var i=this.gridOptionsWrapper.getRowHeightForNode(n,o);n.setRowHeight(i.height,i.estimated)}n.setRowTop(t),n.setRowIndex(e),t+=n.rowHeight}},t.prototype.resetRowTops=function(t,e){if(t.clearRowTop(),t.hasChildren()){if(t.childrenAfterGroup&&(!e.isActive()||t.expanded))for(var o=0;o<t.childrenAfterGroup.length;o++)this.resetRowTops(t.childrenAfterGroup[o],e);t.sibling&&t.sibling.clearRowTop()}t.detailNode&&t.detailNode.clearRowTop()},t.prototype.ensureRowAtPixel=function(t,e){var o=this.getRowIndexAtPixel(e);return this.getRow(o)!==t&&(w._.removeFromArray(this.rootNode.allLeafChildren,t),w._.insertIntoArray(this.rootNode.allLeafChildren,t,o),this.refreshModel({step:s.Constants.STEP_EVERYTHING,keepRenderedRows:!0,animate:!0,keepEditingRows:!0}),!0)},t.prototype.isLastRowFound=function(){return!0},t.prototype.getRowCount=function(){return this.rowsToDisplay?this.rowsToDisplay.length:0},t.prototype.getRowBounds=function(t){if(w._.missing(this.rowsToDisplay))return null;var e=this.rowsToDisplay[t];return e?{rowTop:e.rowTop,rowHeight:e.rowHeight}:null},t.prototype.onRowGroupOpened=function(){var t=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:s.Constants.STEP_MAP,keepRenderedRows:!0,animate:t})},t.prototype.onFilterChanged=function(){var t=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:s.Constants.STEP_FILTER,keepRenderedRows:!0,animate:t})},t.prototype.onSortChanged=function(){var t=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:s.Constants.STEP_SORT,keepRenderedRows:!0,animate:t,keepEditingRows:!0})},t.prototype.getType=function(){return s.Constants.ROW_MODEL_TYPE_CLIENT_SIDE},t.prototype.onValueChanged=function(){this.columnController.isPivotActive()?this.refreshModel({step:s.Constants.STEP_PIVOT}):this.refreshModel({step:s.Constants.STEP_AGGREGATE})},t.prototype.createChangePath=function(t){var e=w._.missingOrEmpty(t),o=new v.ChangedPath(!1,this.rootNode);return(e||this.gridOptionsWrapper.isTreeData())&&o.setInactive(),o},t.prototype.refreshModel=function(t){var e=this,o=this.createChangePath(t.rowNodeTransactions);switch(t.step){case s.Constants.STEP_EVERYTHING:this.doRowGrouping(t.groupState,t.rowNodeTransactions,t.rowNodeOrder,o,t.afterColumnsChanged);case s.Constants.STEP_FILTER:this.doFilter(o);case s.Constants.STEP_PIVOT:this.doPivot(o);case s.Constants.STEP_AGGREGATE:this.doAggregate(o);case s.Constants.STEP_SORT:this.doSort(t.rowNodeTransactions,o);case s.Constants.STEP_MAP:this.doRowsToDisplay()}this.resetRowTops(this.rootNode,o),this.setRowTops();var n={type:h.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,animate:t.animate,keepRenderedRows:t.keepRenderedRows,newData:t.newData,newPage:!1};this.eventService.dispatchEvent(n),this.$scope&&window.setTimeout((function(){e.$scope.$apply()}),0)},t.prototype.isEmpty=function(){var t;return t=w._.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())?w._.missing(this.rootNode.childrenAfterGroup)||0===this.rootNode.childrenAfterGroup.length:w._.missing(this.rootNode.allLeafChildren)||0===this.rootNode.allLeafChildren.length,w._.missing(this.rootNode)||t||!this.columnController.isReady()},t.prototype.isRowsToRender=function(){return w._.exists(this.rowsToDisplay)&&this.rowsToDisplay.length>0},t.prototype.getNodesInRangeForSelection=function(t,e){var o,n=!e,i=!1,r=[],s=this.gridOptionsWrapper.isGroupSelectsChildren();return this.forEachNodeAfterFilterAndSort((function(a){var l=n&&!i;if(n||a!==e&&a!==t||(n=!0),!a.group||!s){var p=n&&!i,u=a.isParentOfNode(o);(p||u)&&r.push(a)}l&&(a!==e&&a!==t||(i=!0,o=a===e?e:t))})),r},t.prototype.setDatasource=function(t){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(t){return this.rowsToDisplay[t]},t.prototype.isRowPresent=function(t){return this.rowsToDisplay.indexOf(t)>=0},t.prototype.getVirtualRowCount=function(){return console.warn("ag-Grid: rowModel.getVirtualRowCount() is not longer a function, use rowModel.getRowCount() instead"),this.getPageLastRow()},t.prototype.getPageFirstRow=function(){return 0},t.prototype.getPageLastRow=function(){return this.rowsToDisplay?this.rowsToDisplay.length-1:0},t.prototype.getRowIndexAtPixel=function(t){if(this.isEmpty())return-1;var e=0,o=this.rowsToDisplay.length-1;if(t<=0)return 0;if(this.rowsToDisplay[this.rowsToDisplay.length-1].rowTop<=t)return this.rowsToDisplay.length-1;for(;;){var n=Math.floor((e+o)/2),i=this.rowsToDisplay[n];if(this.isRowInPixel(i,t))return n;i.rowTop<t?e=n+1:i.rowTop>t&&(o=n-1)}},t.prototype.isRowInPixel=function(t,e){var o=t.rowTop,n=t.rowTop+t.rowHeight;return o<=e&&n>e},t.prototype.getCurrentPageHeight=function(){if(this.rowsToDisplay&&this.rowsToDisplay.length>0){var t=this.rowsToDisplay[this.rowsToDisplay.length-1];return t.rowTop+t.rowHeight}return 0},t.prototype.forEachLeafNode=function(t){this.rootNode.allLeafChildren&&this.rootNode.allLeafChildren.forEach((function(e,o){return t(e,o)}))},t.prototype.forEachNode=function(t){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterGroup,t,r.Normal,0)},t.prototype.forEachNodeAfterFilter=function(t){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterFilter,t,r.AfterFilter,0)},t.prototype.forEachNodeAfterFilterAndSort=function(t){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterSort,t,r.AfterFilterAndSort,0)},t.prototype.forEachPivotNode=function(t){this.recursivelyWalkNodesAndCallback([this.rootNode],t,r.PivotNodes,0)},t.prototype.recursivelyWalkNodesAndCallback=function(t,e,o,n){if(t)for(var i=0;i<t.length;i++){var s=t[i];if(e(s,n++),s.hasChildren()){var a=null;switch(o){case r.Normal:a=s.childrenAfterGroup;break;case r.AfterFilter:a=s.childrenAfterFilter;break;case r.AfterFilterAndSort:a=s.childrenAfterSort;break;case r.PivotNodes:a=s.leafGroup?null:s.childrenAfterSort}a&&(n=this.recursivelyWalkNodesAndCallback(a,e,o,n))}}return n},t.prototype.doAggregate=function(t){this.aggregationStage&&this.aggregationStage.execute({rowNode:this.rootNode,changedPath:t})},t.prototype.expandOrCollapseAll=function(t){var e=this.gridOptionsWrapper.isTreeData();this.rootNode&&function o(n){n&&n.forEach((function(n){(e?w._.exists(n.childrenAfterGroup):n.group)&&(n.expanded=t,o(n.childrenAfterGroup))}))}(this.rootNode.childrenAfterGroup),this.refreshModel({step:s.Constants.STEP_MAP});var o=t?"expandAll":"collapseAll",n={api:this.gridApi,columnApi:this.columnApi,type:h.Events.EVENT_EXPAND_COLLAPSE_ALL,source:o};this.eventService.dispatchEvent(n)},t.prototype.doSort=function(t,e){this.sortStage.execute({rowNode:this.rootNode,rowNodeTransactions:t,changedPath:e})},t.prototype.doRowGrouping=function(t,e,o,n,i){var r=this;w._.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())||(this.groupStage?(e&&w._.exists(e)?e.forEach((function(t){r.groupStage.execute({rowNode:r.rootNode,rowNodeTransaction:t,rowNodeOrder:o,changedPath:n})})):(this.selectionController.removeGroupsFromSelection(),this.groupStage.execute({rowNode:this.rootNode,changedPath:n,afterColumnsChanged:i}),this.restoreGroupState(t)),this.gridOptionsWrapper.isGroupSelectsChildren()&&this.selectionController.updateGroupsFromChildrenSelections(n)):this.rootNode.childrenAfterGroup=this.rootNode.allLeafChildren)},t.prototype.restoreGroupState=function(t){t&&w._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(e,o){"boolean"==typeof t[o]&&(e.expanded=t[o])}))},t.prototype.doFilter=function(t){this.filterStage.execute({rowNode:this.rootNode,changedPath:t})},t.prototype.doPivot=function(t){this.pivotStage&&this.pivotStage.execute({rowNode:this.rootNode,changedPath:t})},t.prototype.getGroupState=function(){if(!this.rootNode.childrenAfterGroup||!this.gridOptionsWrapper.isRememberGroupStateWhenNewData())return null;var t={};return w._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(e,o){return t[o]=e.expanded})),t},t.prototype.getCopyOfNodesMap=function(){return this.nodeManager.getCopyOfNodesMap()},t.prototype.getRowNode=function(t){return this.nodeManager.getRowNode(t)},t.prototype.setRowData=function(t){var e=this.getGroupState();this.nodeManager.setRowData(t);var o={type:h.Events.EVENT_ROW_DATA_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o),this.refreshModel({step:s.Constants.STEP_EVERYTHING,groupState:e,newData:!0})},t.prototype.batchUpdateRowData=function(t,e){var o=this;if(!this.rowDataTransactionBatch){this.rowDataTransactionBatch=[];var n=this.gridOptionsWrapper.getBatchUpdateWaitMillis();window.setTimeout((function(){o.executeBatchUpdateRowData(),o.rowDataTransactionBatch=null}),n)}this.rowDataTransactionBatch.push({rowDataTransaction:t,callback:e})},t.prototype.executeBatchUpdateRowData=function(){var t=this;this.valueCache.onDataChanged();var e=[],o=[];this.rowDataTransactionBatch&&this.rowDataTransactionBatch.forEach((function(n){var i=t.nodeManager.updateRowData(n.rowDataTransaction,null);o.push(i),n.callback&&e.push(n.callback.bind(i))})),this.commonUpdateRowData(o),e.length>0&&window.setTimeout((function(){e.forEach((function(t){return t()}))}),0)},t.prototype.updateRowData=function(t,e){this.valueCache.onDataChanged();var o=this.nodeManager.updateRowData(t,e);return this.commonUpdateRowData([o],e),o},t.prototype.commonUpdateRowData=function(t,e){this.refreshModel({step:s.Constants.STEP_EVERYTHING,rowNodeTransactions:t,rowNodeOrder:e,keepRenderedRows:!0,animate:!0,keepEditingRows:!0});var o={type:h.Events.EVENT_ROW_DATA_UPDATED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o)},t.prototype.doRowsToDisplay=function(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})},t.prototype.onRowHeightChanged=function(){this.refreshModel({step:s.Constants.STEP_MAP,keepRenderedRows:!0,keepEditingRows:!0})},t.prototype.resetRowHeights=function(){this.forEachNode((function(t){return t.setRowHeight(null)})),this.onRowHeightChanged()},n([f.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([f.Autowired("columnController"),i("design:type",p.ColumnController)],t.prototype,"columnController",void 0),n([f.Autowired("filterManager"),i("design:type",u.FilterManager)],t.prototype,"filterManager",void 0),n([f.Autowired("$scope"),i("design:type",Object)],t.prototype,"$scope",void 0),n([f.Autowired("selectionController"),i("design:type",g.SelectionController)],t.prototype,"selectionController",void 0),n([f.Autowired("eventService"),i("design:type",d.EventService)],t.prototype,"eventService",void 0),n([f.Autowired("context"),i("design:type",f.Context)],t.prototype,"context",void 0),n([f.Autowired("valueService"),i("design:type",m.ValueService)],t.prototype,"valueService",void 0),n([f.Autowired("valueCache"),i("design:type",C.ValueCache)],t.prototype,"valueCache",void 0),n([f.Autowired("columnApi"),i("design:type",l.ColumnApi)],t.prototype,"columnApi",void 0),n([f.Autowired("gridApi"),i("design:type",E.GridApi)],t.prototype,"gridApi",void 0),n([f.Autowired("filterStage"),i("design:type",Object)],t.prototype,"filterStage",void 0),n([f.Autowired("sortStage"),i("design:type",Object)],t.prototype,"sortStage",void 0),n([f.Autowired("flattenStage"),i("design:type",Object)],t.prototype,"flattenStage",void 0),n([f.Optional("groupStage"),i("design:type",Object)],t.prototype,"groupStage",void 0),n([f.Optional("aggregationStage"),i("design:type",Object)],t.prototype,"aggregationStage",void 0),n([f.Optional("pivotStage"),i("design:type",Object)],t.prototype,"pivotStage",void 0),n([f.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([f.Bean("rowModel")],t)}();e.ClientSideRowModel=_},814:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(74517),a=o(72948),l=o(72493),p=o(72493),u=function(){function t(){}return t.prototype.calculateColInitialWidth=function(t){return t.width?t.width<this.gridOptionsWrapper.getMinColWidth()?this.gridOptionsWrapper.getMinColWidth():t.width:this.gridOptionsWrapper.getColWidth()},t.prototype.getOriginalPathForColumn=function(t,e){var o=[],n=!1;return function e(i,r){for(var s=0;s<i.length;s++){if(n)return;var l=i[s];l instanceof a.OriginalColumnGroup?(e(l.getChildren(),r+1),o[r]=l):l===t&&(n=!0)}}(e,0),n?o:null},t.prototype.depthFirstOriginalTreeSearch=function(t,e,o){var n=this;e&&e.forEach((function(e){e instanceof a.OriginalColumnGroup&&n.depthFirstOriginalTreeSearch(e,e.getChildren(),o),o(e,t)}))},t.prototype.depthFirstAllColumnTreeSearch=function(t,e){var o=this;t&&t.forEach((function(t){t instanceof s.ColumnGroup&&o.depthFirstAllColumnTreeSearch(t.getChildren(),e),e(t)}))},t.prototype.depthFirstDisplayedColumnTreeSearch=function(t,e){var o=this;t&&t.forEach((function(t){t instanceof s.ColumnGroup&&o.depthFirstDisplayedColumnTreeSearch(t.getDisplayedChildren(),e),e(t)}))},n([p.Autowired("gridOptionsWrapper"),i("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([l.Bean("columnUtils")],t)}();e.ColumnUtils=u},1571:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(72493),a=o(44081),l=o(83423),p=function(){function t(){this.gridInstanceId=e.gridInstanceSequence.next()}var e;return e=t,t.prototype.init=function(){this.stampDomElementWithGridInstance()},t.prototype.stampDomElementWithGridInstance=function(){this.eGridDiv[e.GRID_DOM_KEY]=this.gridInstanceId},t.prototype.getRenderedCellForEvent=function(t){return l._.getCellCompForEvent(this.gridOptionsWrapper,t)},t.prototype.isEventFromThisGrid=function(t){for(var o=l._.getEventPath(t),n=0;n<o.length;n++){var i=o[n][e.GRID_DOM_KEY];if(l._.exists(i))return i===this.gridInstanceId}return!1},t.prototype.getGridCellForEvent=function(t){var e=this.getRenderedCellForEvent(t);return e?e.getGridCell():null},t.gridInstanceSequence=new l.NumberSequence,t.GRID_DOM_KEY="__ag_grid_instance",n([s.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Autowired("eGridDiv"),i("design:type",HTMLElement)],t.prototype,"eGridDiv",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),e=n([r.Bean("mouseEventService")],t)}();e.MouseEventService=p},2102:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(96652),s=o(46410),a=o(47008),l=o(47008),p=function(t){function e(e,o){var n=t.call(this)||this;return n.reactComponent=e,n.parentComponent=o,n}return i(e,t),e.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},e.prototype.getReactComponentName=function(){return this.reactComponent.name},e.prototype.init=function(t){var e=this;return new l.Promise((function(o){e.eParentElement=document.createElement(e.parentComponent.props.componentWrappingElement||"div"),a.Utils.addCssClass(e.eParentElement,"ag-react-container"),t.reactContainer=e.eParentElement,e.createReactComponentLegacy(t,o)}))},e.prototype.getGui=function(){return this.eParentElement},e.prototype.destroy=function(){s.unmountComponentAtNode(this.eParentElement)},e.prototype.createReactComponentLegacy=function(t,e){var o=this,n=r.createElement(this.reactComponent,t);this.parentComponent?s.unstable_renderSubtreeIntoContainer(this.parentComponent,n,this.eParentElement,(function(){o.componentInstance=this,e(null)})):s.render(n,this.eParentElement,(function(){o.componentInstance=this,e(null)}))},e}(o(30844).BaseReactComponent);e.LegacyReactComponent=p},2299:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(21951),l=o(8534),p=o(72493),u=o(44871),c=o(40797),d=o(63405),h=o(60843),f=o(45727),g=o(54828),y=o(44081),v=function(t){function e(e,o){var n=t.call(this)||this;n.cbSelectAllVisible=!1,n.processingEventFromCheckbox=!1,n.cbSelectAll=e,n.column=o;var i=o.getColDef();return n.filteredOnly=!!i&&!!i.headerCheckboxSelectionFilteredOnly,n}return i(e,t),e.prototype.postConstruct=function(){this.showOrHideSelectAll(),this.addDestroyableEventListener(this.eventService,d.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelectAll.bind(this)),this.addDestroyableEventListener(this.eventService,d.Events.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addDestroyableEventListener(this.eventService,d.Events.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addDestroyableEventListener(this.cbSelectAll,a.AgCheckbox.EVENT_CHANGED,this.onCbSelectAll.bind(this))},e.prototype.showOrHideSelectAll=function(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setVisible(this.cbSelectAllVisible),this.cbSelectAllVisible&&(this.checkRightRowModelType(),this.updateStateOfCheckbox())},e.prototype.onModelChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},e.prototype.onSelectionChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},e.prototype.getNextCheckboxState=function(t){return(0!==t.selected||0!==t.notSelected)&&(t.selected>0&&t.notSelected>0?null:t.selected>0)},e.prototype.updateStateOfCheckbox=function(){if(!this.processingEventFromCheckbox){this.processingEventFromCheckbox=!0;var t=this.getSelectionCount(),e=this.getNextCheckboxState(t);this.cbSelectAll.setSelected(e),this.processingEventFromCheckbox=!1}},e.prototype.getSelectionCount=function(){var t=this,e=0,o=0,n=function(n){t.gridOptionsWrapper.isGroupSelectsChildren()&&n.group||(n.isSelected()?e++:n.selectable&&o++)};return this.filteredOnly?this.gridApi.forEachNodeAfterFilter(n):this.gridApi.forEachNode(n),{notSelected:o,selected:e}},e.prototype.checkRightRowModelType=function(){var t=this.rowModel.getType();t===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE||console.warn("ag-Grid: selectAllCheckbox is only available if using normal row model, you are using "+t)},e.prototype.onCbSelectAll=function(){this.processingEventFromCheckbox||this.cbSelectAllVisible&&(this.cbSelectAll.isSelected()?this.selectionController.selectAllRowNodes(this.filteredOnly):this.selectionController.deselectAllRowNodes(this.filteredOnly))},e.prototype.isCheckboxSelection=function(){var t=this.column.getColDef().headerCheckboxSelection;return"function"==typeof t&&(t=t({column:this.column,colDef:this.column.getColDef(),columnApi:this.columnApi,api:this.gridApi})),!(!t||(this.gridOptionsWrapper.isRowModelServerSide()?(console.warn("headerCheckboxSelection is not supported for Server Side Row Model"),1):this.gridOptionsWrapper.isRowModelInfinite()?(console.warn("headerCheckboxSelection is not supported for Infinite Row Model"),1):this.gridOptionsWrapper.isRowModelViewport()&&(console.warn("headerCheckboxSelection is not supported for Viewport Row Model"),1)))},r([p.Autowired("gridApi"),s("design:type",c.GridApi)],e.prototype,"gridApi",void 0),r([p.Autowired("columnApi"),s("design:type",u.ColumnApi)],e.prototype,"columnApi",void 0),r([p.Autowired("eventService"),s("design:type",h.EventService)],e.prototype,"eventService",void 0),r([p.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([p.Autowired("selectionController"),s("design:type",g.SelectionController)],e.prototype,"selectionController",void 0),r([p.Autowired("gridOptionsWrapper"),s("design:type",y.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(l.BeanStub);e.SelectAllFeature=v},2461:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(86608),a=o(24463),l=o(44081),p=o(98239),u=o(83423),c=function(){function t(){}return t.prototype.init=function(){this.postSortFunc=this.gridOptionsWrapper.getPostSortFunc()},t.prototype.sort=function(t,e,o,n,i,r){var s=this;i.forEachChangedNodeDepthFirst((function(a){if(s.pullDownGroupDataForHideOpenParents(a.childrenAfterFilter,!0),e){var l=o?s.doDeltaSort(a,t,n,i,r):s.doFullSort(a,t);a.childrenAfterSort=l.map((function(t){return t.rowNode}))}else a.childrenAfterSort=a.childrenAfterFilter.slice(0);s.updateChildIndexes(a),s.postSortFunc&&s.postSortFunc(a.childrenAfterSort)})),this.updateGroupDataForHiddenOpenParents(i)},t.prototype.doFullSort=function(t,e){var o=t.childrenAfterFilter.map(this.mapNodeToSortedNode.bind(this));return o.sort(this.compareRowNodes.bind(this,e)),o},t.prototype.mapNodeToSortedNode=function(t,e){return{currentPos:e,rowNode:t}},t.prototype.doDeltaSort=function(t,e,o,n,i){var r=t.childrenAfterSort.filter((function(t){var e=!o[t.id],r=i||n.canSkip(t);return e&&r})).map(this.mapNodeToSortedNode.bind(this)),s={};r.forEach((function(t){return s[t.rowNode.id]=t.rowNode}));var a=t.childrenAfterFilter.filter((function(t){return!s[t.id]})).map(this.mapNodeToSortedNode.bind(this));return a.sort(this.compareRowNodes.bind(this,e)),0===a.length?r:0===r.length?a:this.mergeSortedArrays(e,r,a)},t.prototype.mergeSortedArrays=function(t,e,o){for(var n=[],i=0,r=0;i<e.length&&r<o.length;)this.compareRowNodes(t,e[i],o[r])<0?n.push(e[i++]):n.push(o[r++]);for(;i<e.length;)n.push(e[i++]);for(;r<o.length;)n.push(o[r++]);return n},t.prototype.compareRowNodes=function(t,e,o){for(var n=e.rowNode,i=o.rowNode,r=0,s=t.length;r<s;r++){var a,l=t[r],p=-1===l.inverter,c=this.getValue(n,l.column),d=this.getValue(i,l.column);if(0!==(a=l.column.getColDef().comparator?l.column.getColDef().comparator(c,d,n,i,p):u._.defaultComparator(c,d,this.gridOptionsWrapper.isAccentedSort())))return a*l.inverter}return e.currentPos-o.currentPos},t.prototype.getValue=function(t,e){return this.valueService.getValue(e,t)},t.prototype.updateChildIndexes=function(t){if(!u._.missing(t.childrenAfterSort))for(var e=t.childrenAfterSort,o=0;o<e.length;o++){var n=e[o],i=0===o,r=o===t.childrenAfterSort.length-1;n.setFirstChild(i),n.setLastChild(r),n.setChildIndex(o)}},t.prototype.updateGroupDataForHiddenOpenParents=function(t){var e=this;if(this.gridOptionsWrapper.isGroupHideOpenParents()){var o=function(t){e.pullDownGroupDataForHideOpenParents(t.childrenAfterSort,!1),t.childrenAfterSort.forEach((function(t){t.hasChildren()&&o(t)}))};t.executeFromRootNode((function(t){return o(t)}))}},t.prototype.pullDownGroupDataForHideOpenParents=function(t,e){var o=this;u._.missing(t)||this.gridOptionsWrapper.isGroupHideOpenParents()&&t.forEach((function(t){o.columnController.getGroupDisplayColumns().forEach((function(n){var i=n.getColDef().showRowGroup;if("string"==typeof i){var r=i,s=o.columnController.getPrimaryColumn(r);if(s!==t.rowGroupColumn)if(e)t.setGroupValue(n.getId(),null);else{var a=t.getFirstChildOfFirstChild(s);a&&t.setGroupValue(n.getId(),a.key)}}else console.error("ag-Grid: groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup")}))}))},n([r.Autowired("sortController"),i("design:type",s.SortController)],t.prototype,"sortController",void 0),n([r.Autowired("columnController"),i("design:type",p.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("valueService"),i("design:type",a.ValueService)],t.prototype,"valueService",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r.Bean("sortService")],t)}();e.SortService=c},3976:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(45727),i=o(34782),r=o(83423),s=function(){function t(t,e){this.rowIndex=t,this.floating=r._.makeNull(e)}return t.prototype.isFloatingTop=function(){return this.floating===n.Constants.PINNED_TOP},t.prototype.isFloatingBottom=function(){return this.floating===n.Constants.PINNED_BOTTOM},t.prototype.isNotFloating=function(){return!this.isFloatingBottom()&&!this.isFloatingTop()},t.prototype.equals=function(t){return this.rowIndex===t.rowIndex&&this.floating===t.floating},t.prototype.toString=function(){return"rowIndex = "+this.rowIndex+", floating = "+this.floating},t.prototype.getGridCell=function(t){var e={rowIndex:this.rowIndex,floating:this.floating,column:t};return new i.GridCell(e)},t.prototype.before=function(t){var e=t.floating;switch(this.floating){case n.Constants.PINNED_TOP:if(e!==n.Constants.PINNED_TOP)return!0;break;case n.Constants.PINNED_BOTTOM:if(e!==n.Constants.PINNED_BOTTOM)return!1;break;default:if(r._.exists(e))return e!==n.Constants.PINNED_TOP}return this.rowIndex<t.rowIndex},t}();e.GridRow=s},4045:(t,e,o)=>{var n=o(67966);e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n._reverse(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=n._reverse(e.tag)},4349:(t,e,o)=>{var n=o(47375).InputStream,i="undefined"==typeof window&&"undefined"==typeof importScripts?o(36374):null;function r(t,e){var o=i.readFileSync(t,"utf8");return n.call(this,o,e),this.fileName=t,this}r.prototype=Object.create(n.prototype),r.prototype.constructor=r,e.FileStream=r},4715:(t,e,o)=>{var n=o(25003),i=o(67787).Buffer,r=o(44775),s=r.base,a=r.constants.der;function l(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new p,this.tree._init(t.body)}function p(t){s.Node.call(this,"der",t)}function u(t){return t<10?"0"+t:t}t.exports=l,l.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},n(p,s.Node),p.prototype._encodeComposite=function(t,e,o,n){var r,s=function(t,e,o,n){var i;if("seqof"===t?t="seq":"setof"===t&&(t="set"),a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);i=t}return i>=31?n.error("Multi-octet tag encoding unsupported"):(e||(i|=32),i|=a.tagClassByName[o||"universal"]<<6)}(t,e,o,this.reporter);if(n.length<128)return(r=new i(2))[0]=s,r[1]=n.length,this._createEncoderBuffer([r,n]);for(var l=1,p=n.length;p>=256;p>>=8)l++;(r=new i(2+l))[0]=s,r[1]=128|l,p=1+l;for(var u=n.length;u>0;p--,u>>=8)r[p]=255&u;return this._createEncoderBuffer([r,n])},p.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var o=new i(2*t.length),n=0;n<t.length;n++)o.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(o)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},p.prototype._encodeObjid=function(t,e,o){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s\.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t))for(t=t.slice(),n=0;n<t.length;n++)t[n]|=0;if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!o){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}var r=0;for(n=0;n<t.length;n++){var s=t[n];for(r++;s>=128;s>>=7)r++}var a=new i(r),l=a.length-1;for(n=t.length-1;n>=0;n--)for(s=t[n],a[l--]=127&s;(s>>=7)>0;)a[l--]=128|127&s;return this._createEncoderBuffer(a)},p.prototype._encodeTime=function(t,e){var o,n=new Date(t);return"gentime"===e?o=[u(n.getFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?o=[u(n.getFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(o,"octstr")},p.prototype._encodeNull=function(){return this._createEncoderBuffer("")},p.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){var o=t.toArray();!t.sign&&128&o[0]&&o.unshift(0),t=new i(o)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var r=new i(n);return t.copy(r),0===t.length&&(r[0]=0),this._createEncoderBuffer(r)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);n=1;for(var s=t;s>=256;s>>=8)n++;for(s=(r=new Array(n)).length-1;s>=0;s--)r[s]=255&t,t>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(new i(r))},p.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},p.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},p.prototype._skipDefault=function(t,e,o){var n,i=this._baseState;if(null===i.default)return!1;var r=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,o).join()),r.length!==i.defaultBuffer.length)return!1;for(n=0;n<r.length;n++)if(r[n]!==i.defaultBuffer[n])return!1;return!0}},4768:(t,e)=>{function o(t,e,o){return this.dfa=t,this.literalNames=e||[],this.symbolicNames=o||[],this}function n(t){return o.call(this,t,null),this}o.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var t="",e=this.dfa.sortedStates(),o=0;o<e.length;o++){var n=e[o];if(null!==n.edges)for(var i=n.edges.length,r=0;r<i;r++){var s=n.edges[r]||null;null!==s&&2147483647!==s.stateNumber&&(t=(t=(t=(t=(t=(t=t.concat(this.getStateString(n))).concat("-")).concat(this.getEdgeLabel(r))).concat("->")).concat(this.getStateString(s))).concat("\n"))}}return 0===t.length?null:t},o.prototype.getEdgeLabel=function(t){return 0===t?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)},o.prototype.getStateString=function(t){var e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?null!==t.predicates?e+"=>"+t.predicates.toString():e+"=>"+t.prediction.toString():e},n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.getEdgeLabel=function(t){return"'"+String.fromCharCode(t)+"'"},e.DFASerializer=o,e.LexerDFASerializer=n},4889:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(83423),l=function(){function t(){}return t.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.isRowSelectableFunc=this.gridOptionsWrapper.getIsRowSelectableFunc()},t.prototype.updateSelectableAfterGrouping=function(t){this.isRowSelectableFunc&&this.recurseDown(t.childrenAfterGroup,(function(t){return t.childrenAfterGroup}))},t.prototype.updateSelectableAfterFiltering=function(t){this.isRowSelectableFunc&&this.recurseDown(t.childrenAfterGroup,(function(t){return t.childrenAfterFilter}))},t.prototype.recurseDown=function(t,e){var o=this;t.forEach((function(t){if(t.group){var n;if(t.hasChildren()&&o.recurseDown(e(t),e),o.groupSelectsChildren){var i=a._.find(e(t),"selectable",!0);n=a._.exists(i)}else n=!!o.isRowSelectableFunc&&o.isRowSelectableFunc(t);t.setRowSelectable(n)}}))},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r.Bean("selectableService")],t)}();e.SelectableService=l},5448:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.isPopup=function(){return!0},e}(o(71616).TextCellEditor);e.PopupTextCellEditor=r},5555:(t,e,o)=>{var n=o(25003),i=o(44775),r=i.base,s=i.bignum,a=i.constants.der;function l(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new p,this.tree._init(t.body)}function p(t){r.Node.call(this,"der",t)}function u(t,e){var o=t.readUInt8(e);if(t.isError(o))return o;var n=a.tagClass[o>>6],i=!(32&o);if(31&~o)o&=31;else{var r=o;for(o=0;!(128&~r);){if(r=t.readUInt8(e),t.isError(r))return r;o<<=7,o|=127&r}}return{cls:n,primitive:i,tag:o,tagStr:a.tag[o]}}function c(t,e,o){var n=t.readUInt8(o);if(t.isError(n))return n;if(!e&&128===n)return null;if(!(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var r=0;r<i;r++){n<<=8;var s=t.readUInt8(o);if(t.isError(s))return s;n|=s}return n}t.exports=l,l.prototype.decode=function(t,e){return t instanceof r.DecoderBuffer||(t=new r.DecoderBuffer(t,e)),this.tree._decode(t,e)},n(p,r.Node),p.prototype._peekTag=function(t,e,o){if(t.isEmpty())return!1;var n=t.save(),i=u(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(n),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||o)},p.prototype._decodeTag=function(t,e,o){var n=u(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;var i=c(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!o&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var r=t.save(),s=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(s)?s:(i=t.offset-r.offset,t.restore(r),t.skip(i,'Failed to match body of: "'+e+'"'))},p.prototype._skipUntilEnd=function(t,e){for(;;){var o=u(t,e);if(t.isError(o))return o;var n,i=c(t,o.primitive,e);if(t.isError(i))return i;if(n=o.primitive||null!==i?t.skip(i):this._skipUntilEnd(t,e),t.isError(n))return n;if("end"===o.tagStr)break}},p.prototype._decodeList=function(t,e,o,n){for(var i=[];!t.isEmpty();){var r=this._peekTag(t,"end");if(t.isError(r))return r;var s=o.decode(t,"der",n);if(t.isError(s)&&r)break;i.push(s)}return i},p.prototype._decodeStr=function(t,e){if("bitstr"===e){var o=t.readUInt8();return t.isError(o)?o:{unused:o,data:t.raw()}}if("bmpstr"===e){var n=t.raw();if(n.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",r=0;r<n.length/2;r++)i+=String.fromCharCode(n.readUInt16BE(2*r));return i}if("numstr"===e){var s=t.raw().toString("ascii");return this._isNumstr(s)?s:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var a=t.raw().toString("ascii");return this._isPrintstr(a)?a:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},p.prototype._decodeObjid=function(t,e,o){for(var n,i=[],r=0;!t.isEmpty();){var s=t.readUInt8();r<<=7,r|=127&s,128&s||(i.push(r),r=0)}128&s&&i.push(r);var a=i[0]/40|0,l=i[0]%40;if(n=o?i:[a,l].concat(i.slice(1)),e){var p=e[n.join(" ")];void 0===p&&(p=e[n.join(".")]),void 0!==p&&(n=p)}return n},p.prototype._decodeTime=function(t,e){var o=t.raw().toString();if("gentime"===e)var n=0|o.slice(0,4),i=0|o.slice(4,6),r=0|o.slice(6,8),s=0|o.slice(8,10),a=0|o.slice(10,12),l=0|o.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");n=0|o.slice(0,2),i=0|o.slice(2,4),r=0|o.slice(4,6),s=0|o.slice(6,8),a=0|o.slice(8,10),l=0|o.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,r,s,a,l,0)},p.prototype._decodeNull=function(t){return null},p.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},p.prototype._decodeInt=function(t,e){var o=t.raw(),n=new s(o);return e&&(n=e[n.toString(10)]||n),n},p.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},6065:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(44081),p=o(68363),u=o(10042),c=o(60843),d=o(45727),h=o(8534),f=o(63405),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(){this.rowModel.getType()===d.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged.bind(this))},e.prototype.onCellValueChanged=function(t){this.doChangeDetection(t.node,t.column)},e.prototype.doChangeDetection=function(t,e){if(!this.gridOptionsWrapper.isSuppressChangeDetection()){if(this.clientSideRowModel&&!t.isRowPinned()){var o=this.gridOptionsWrapper.isAggregateOnlyChangedColumns(),n=new p.ChangedPath(o,this.clientSideRowModel.getRootNode());n.addParentNode(t.parent,[e]),this.clientSideRowModel.doAggregate(n)}this.rowRenderer.refreshCells()}},r([a.Autowired("gridOptionsWrapper"),s("design:type",l.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([a.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([a.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([a.Autowired("eventService"),s("design:type",c.EventService)],e.prototype,"eventService",void 0),r([a.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),r([a.Bean("changeDetectionService")],e)}(h.BeanStub);e.ChangeDetectionService=g},7543:(t,e,o)=>{var n=o(66346),i=n.Set,r=n.BitSet,s=n.DoubleDict,a=o(51028).ATN,l=o(81367).ATNState,p=o(470).G,u=o(87264).Q,c=o(72994).Token,d=o(41207).X,h=o(41207).PredPrediction,f=o(16068).e,g=o(63387).PredictionMode,y=o(40846).m,v=(o(29499).ParserRuleContext,o(7842).Ij),m=(o(81367).StarLoopEntryState,o(81367).RuleStopState),C=o(10559).PredictionContext,E=o(70040).Interval,w=o(10014),_=w.Transition,R=w.SetTransition,S=w.NotSetTransition,O=w.RuleTransition,T=w.ActionTransition,b=o(86587).NoViableAltException,A=o(10559).SingletonPredictionContext,P=o(10559).predictionContextFromRuleContext;function D(t,e,o,n){return f.call(this,e,n),this.parser=t,this.decisionToDFA=o,this.predictionMode=g.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}D.prototype=Object.create(f.prototype),D.prototype.constructor=D,D.prototype.debug=!1,D.prototype.debug_closure=!1,D.prototype.debug_add=!1,D.prototype.debug_list_atn_decisions=!1,D.prototype.dfa_debug=!1,D.prototype.retry_debug=!1,D.prototype.reset=function(){},D.prototype.adaptivePredict=function(t,e,o){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+e+" exec LA(1)=="+this.getLookaheadName(t)+" line "+t.LT(1).line+":"+t.LT(1).column),this._input=t,this._startIndex=t.index,this._outerContext=o;var n=this.decisionToDFA[e];this._dfa=n;var i=t.mark(),r=t.index;try{var s;if(null===(s=n.precedenceDfa?n.getPrecedenceStartState(this.parser.getPrecedence()):n.s0)){null===o&&(o=y.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+n.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+o.toString(this.parser.ruleNames));var a=this.computeStartState(n.atnStartState,y.EMPTY,!1);n.precedenceDfa?(n.s0.configs=a,a=this.applyPrecedenceFilter(a),s=this.addDFAState(n,new d(null,a)),n.setPrecedenceStartState(this.parser.getPrecedence(),s)):(s=this.addDFAState(n,new d(null,a)),n.s0=s)}var l=this.execATN(n,s,t,r,o);return this.debug&&console.log("DFA after predictATN: "+n.toString(this.parser.literalNames)),l}finally{this._dfa=null,this.mergeCache=null,t.seek(r),t.release(i)}},D.prototype.execATN=function(t,e,o,n,i){var r;(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(o)+" line "+o.LT(1).line+":"+o.LT(1).column);var s=e;this.debug&&console.log("s0 = "+e);for(var l=o.LA(1);;){var p=this.getExistingTargetState(s,l);if(null===p&&(p=this.computeTargetState(t,s,l)),p===f.ERROR){var u=this.noViableAlt(o,i,s.configs,n);if(o.seek(n),(r=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(s.configs,i))!==a.INVALID_ALT_NUMBER)return r;throw u}if(p.requiresFullContext&&this.predictionMode!==g.SLL){var d=null;if(null!==p.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var h=o.index;if(h!==n&&o.seek(n),1===(d=this.evalSemanticContext(p.predicates,i,!0)).length)return this.debug&&console.log("Full LL avoided"),d.minValue();h!==n&&o.seek(h)}this.dfa_debug&&console.log("ctx sensitive state "+i+" in "+p);var y=this.computeStartState(t.atnStartState,i,!0);return this.reportAttemptingFullContext(t,d,p.configs,n,o.index),this.execATNWithFullContext(t,p,y,o,n,i)}if(p.isAcceptState){if(null===p.predicates)return p.prediction;var v=o.index;o.seek(n);var m=this.evalSemanticContext(p.predicates,i,!0);if(0===m.length)throw this.noViableAlt(o,i,p.configs,n);return 1===m.length||this.reportAmbiguity(t,p,n,v,!1,m,p.configs),m.minValue()}s=p,l!==c.EOF&&(o.consume(),l=o.LA(1))}},D.prototype.getExistingTargetState=function(t,e){var o=t.edges;return null===o?null:o[e+1]||null},D.prototype.computeTargetState=function(t,e,o){var i=this.computeReachSet(e.configs,o,!1);if(null===i)return this.addDFAEdge(t,e,o,f.ERROR),f.ERROR;var r=new d(null,i),s=this.getUniqueAlt(i);if(this.debug){var l=g.getConflictingAltSubsets(i);console.log("SLL altSubSets="+n.arrayToString(l)+", previous="+e.configs+", configs="+i+", predict="+s+", allSubsetsConflict="+g.allSubsetsConflict(l)+", conflictingAlts="+this.getConflictingAlts(i))}return s!==a.INVALID_ALT_NUMBER?(r.isAcceptState=!0,r.configs.uniqueAlt=s,r.prediction=s):g.hasSLLConflictTerminatingPrediction(this.predictionMode,i)&&(r.configs.conflictingAlts=this.getConflictingAlts(i),r.requiresFullContext=!0,r.isAcceptState=!0,r.prediction=r.configs.conflictingAlts.minValue()),r.isAcceptState&&r.configs.hasSemanticContext&&(this.predicateDFAState(r,this.atn.getDecisionState(t.decision)),null!==r.predicates&&(r.prediction=a.INVALID_ALT_NUMBER)),this.addDFAEdge(t,e,o,r)},D.prototype.predicateDFAState=function(t,e){var o=e.transitions.length,n=this.getConflictingAltsOrUniqueAlt(t.configs),i=this.getPredsForAmbigAlts(n,t.configs,o);null!==i?(t.predicates=this.getPredicatePredictions(n,i),t.prediction=a.INVALID_ALT_NUMBER):t.prediction=n.minValue()},D.prototype.execATNWithFullContext=function(t,e,o,n,i,r){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+o);var s=!1,l=null,p=o;n.seek(i);for(var u=n.LA(1),d=-1;;){if(null===(l=this.computeReachSet(p,u,!0))){var h=this.noViableAlt(n,r,p,i);n.seek(i);var f=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(p,r);if(f!==a.INVALID_ALT_NUMBER)return f;throw h}var y=g.getConflictingAltSubsets(l);if(this.debug&&console.log("LL altSubSets="+y+", predict="+g.getUniqueAlt(y)+", resolvesToJustOneViableAlt="+g.resolvesToJustOneViableAlt(y)),l.uniqueAlt=this.getUniqueAlt(l),l.uniqueAlt!==a.INVALID_ALT_NUMBER){d=l.uniqueAlt;break}if(this.predictionMode!==g.LL_EXACT_AMBIG_DETECTION){if((d=g.resolvesToJustOneViableAlt(y))!==a.INVALID_ALT_NUMBER)break}else if(g.allSubsetsConflict(y)&&g.allSubsetsEqual(y)){s=!0,d=g.getSingleViableAlt(y);break}p=l,u!==c.EOF&&(n.consume(),u=n.LA(1))}return l.uniqueAlt!==a.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,d,l,i,n.index),d):(this.reportAmbiguity(t,e,i,n.index,s,null,l),d)},D.prototype.computeReachSet=function(t,e,o){this.debug&&console.log("in computeReachSet, starting closure: "+t),null===this.mergeCache&&(this.mergeCache=new s);for(var n=new u(o),r=null,l=0;l<t.items.length;l++){var d=t.items[l];if(this.debug_add&&console.log("testing "+this.getTokenName(e)+" at "+d),d.state instanceof m)(o||e===c.EOF)&&(null===r&&(r=[]),r.push(d),this.debug_add&&console.log("added "+d+" to skippedStopStates"));else for(var h=0;h<d.state.transitions.length;h++){var f=d.state.transitions[h],y=this.getReachableTarget(f,e);if(null!==y){var v=new p({state:y},d);n.add(v,this.mergeCache),this.debug_add&&console.log("added "+v+" to intermediate")}}}var C=null;if(null===r&&e!==c.EOF&&(1===n.items.length||this.getUniqueAlt(n)!==a.INVALID_ALT_NUMBER)&&(C=n),null===C){C=new u(o);for(var E=new i,w=e===c.EOF,_=0;_<n.items.length;_++)this.closure(n.items[_],C,E,!1,o,w)}if(e===c.EOF&&(C=this.removeAllConfigsNotInRuleStopState(C,C===n)),!(null===r||o&&g.hasConfigInRuleStopState(C)))for(var R=0;R<r.length;R++)C.add(r[R],this.mergeCache);return 0===C.items.length?null:C},D.prototype.removeAllConfigsNotInRuleStopState=function(t,e){if(g.allConfigsInRuleStopStates(t))return t;for(var o=new u(t.fullCtx),n=0;n<t.items.length;n++){var i=t.items[n];if(i.state instanceof m)o.add(i,this.mergeCache);else if(e&&i.state.epsilonOnlyTransitions&&this.atn.nextTokens(i.state).contains(c.EPSILON)){var r=this.atn.ruleToStopState[i.state.ruleIndex];o.add(new p({state:r},i),this.mergeCache)}}return o},D.prototype.computeStartState=function(t,e,o){for(var n=P(this.atn,e),r=new u(o),s=0;s<t.transitions.length;s++){var a=t.transitions[s].target,l=new p({state:a,alt:s+1,context:n},null),c=new i;this.closure(l,r,c,!0,o,!1)}return r},D.prototype.applyPrecedenceFilter=function(t){for(var e,o=[],n=new u(t.fullCtx),i=0;i<t.items.length;i++)if(1===(e=t.items[i]).alt){var r=e.semanticContext.evalPrecedence(this.parser,this._outerContext);null!==r&&(o[e.state.stateNumber]=e.context,r!==e.semanticContext?n.add(new p({semanticContext:r},e),this.mergeCache):n.add(e,this.mergeCache))}for(i=0;i<t.items.length;i++)if(1!==(e=t.items[i]).alt){if(!e.precedenceFilterSuppressed){var s=o[e.state.stateNumber]||null;if(null!==s&&s.equals(e.context))continue}n.add(e,this.mergeCache)}return n},D.prototype.getReachableTarget=function(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null},D.prototype.getPredsForAmbigAlts=function(t,e,o){for(var i=[],r=0;r<e.items.length;r++){var s=e.items[r];t.contains(s.alt)&&(i[s.alt]=v.orContext(i[s.alt]||null,s.semanticContext))}var a=0;for(r=1;r<o+1;r++){var l=i[r]||null;null===l?i[r]=v.NONE:l!==v.NONE&&(a+=1)}return 0===a&&(i=null),this.debug&&console.log("getPredsForAmbigAlts result "+n.arrayToString(i)),i},D.prototype.getPredicatePredictions=function(t,e){for(var o=[],n=!1,i=1;i<e.length;i++){var r=e[i];null!==t&&t.contains(i)&&o.push(new h(r,i)),r!==v.NONE&&(n=!0)}return n?o:null},D.prototype.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule=function(t,e){var o=this.splitAccordingToSemanticValidity(t,e),n=o[0],i=o[1],r=this.getAltThatFinishedDecisionEntryRule(n);return r!==a.INVALID_ALT_NUMBER||i.items.length>0&&(r=this.getAltThatFinishedDecisionEntryRule(i))!==a.INVALID_ALT_NUMBER?r:a.INVALID_ALT_NUMBER},D.prototype.getAltThatFinishedDecisionEntryRule=function(t){for(var e=[],o=0;o<t.items.length;o++){var n=t.items[o];(n.reachesIntoOuterContext>0||n.state instanceof m&&n.context.hasEmptyPath())&&e.indexOf(n.alt)<0&&e.push(n.alt)}return 0===e.length?a.INVALID_ALT_NUMBER:Math.min.apply(null,e)},D.prototype.splitAccordingToSemanticValidity=function(t,e){for(var o=new u(t.fullCtx),n=new u(t.fullCtx),i=0;i<t.items.length;i++){var r=t.items[i];r.semanticContext!==v.NONE?r.semanticContext.evaluate(this.parser,e)?o.add(r):n.add(r):o.add(r)}return[o,n]},D.prototype.evalSemanticContext=function(t,e,o){for(var n=new r,i=0;i<t.length;i++){var s=t[i];if(s.pred!==v.NONE){var a=s.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+s+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+s.alt),n.add(s.alt),!o))break}else if(n.add(s.alt),!o)break}return n},D.prototype.closure=function(t,e,o,n,i,r){this.closureCheckingStopState(t,e,o,n,i,0,r)},D.prototype.closureCheckingStopState=function(t,e,o,n,i,r,s){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof m){if(!t.context.isEmpty()){for(var a=0;a<t.context.length;a++)if(t.context.getReturnState(a)!==C.EMPTY_RETURN_STATE){var l=this.atn.states[t.context.getReturnState(a)],u=t.context.getParent(a),c={state:l,alt:t.alt,context:u,semanticContext:t.semanticContext},d=new p(c,null);d.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(d,e,o,n,i,r-1,s)}else{if(i){e.add(new p({state:t.state,context:C.EMPTY},t),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,o,n,i,r,s)}return}if(i)return void e.add(t,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex))}this.closure_(t,e,o,n,i,r,s)},D.prototype.closure_=function(t,e,o,n,i,r,s){var a=t.state;a.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(var l=0;l<a.transitions.length;l++)if(0!=l||!this.canDropLoopEntryEdgeInLeftRecursiveRule(t)){var p=a.transitions[l],u=n&&!(p instanceof T),c=this.getEpsilonTarget(t,p,u,0===r,i,s);if(null!==c){var d=r;if(t.state instanceof m){if(null!==this._dfa&&this._dfa.precedenceDfa&&p.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(c.precedenceFilterSuppressed=!0),c.reachesIntoOuterContext+=1,o.add(c)!==c)continue;e.dipsIntoOuterContext=!0,d-=1,this.debug&&console.log("dips into outer ctx: "+c)}else{if(!p.isEpsilon&&o.add(c)!==c)continue;p instanceof O&&d>=0&&(d+=1)}this.closureCheckingStopState(c,e,o,u,i,d,s)}}},D.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(t){var e=t.state;if(e.stateType!=l.STAR_LOOP_ENTRY)return!1;if(e.stateType!=l.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;for(var o=t.context.length,n=0;n<o;n++)if((s=this.atn.states[t.context.getReturnState(n)]).ruleIndex!=e.ruleIndex)return!1;var i=e.transitions[0].target.endState.stateNumber,r=this.atn.states[i];for(n=0;n<o;n++){var s,a=t.context.getReturnState(n);if(1!=(s=this.atn.states[a]).transitions.length||!s.transitions[0].isEpsilon)return!1;var p=s.transitions[0].target;if(!(s.stateType==l.BLOCK_END&&p==e||s==r||p==r||p.stateType==l.BLOCK_END&&1==p.transitions.length&&p.transitions[0].isEpsilon&&p.transitions[0].target==e))return!1}return!0},D.prototype.getRuleName=function(t){return null!==this.parser&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"},D.prototype.getEpsilonTarget=function(t,e,o,n,i,r){switch(e.serializationType){case _.RULE:return this.ruleTransition(t,e);case _.PRECEDENCE:return this.precedenceTransition(t,e,o,n,i);case _.PREDICATE:return this.predTransition(t,e,o,n,i);case _.ACTION:return this.actionTransition(t,e);case _.EPSILON:return new p({state:e.target},t);case _.ATOM:case _.RANGE:case _.SET:return r&&e.matches(c.EOF,0,1)?new p({state:e.target},t):null;default:return null}},D.prototype.actionTransition=function(t,e){if(this.debug){var o=-1==e.actionIndex?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+o)}return new p({state:e.target},t)},D.prototype.precedenceTransition=function(t,e,o,i,r){this.debug&&(console.log("PRED (collectPredicates="+o+") "+e.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(o&&i)if(r){var a=this._input.index;this._input.seek(this._startIndex);var l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(s=new p({state:e.target},t))}else{var u=v.andContext(t.semanticContext,e.getPredicate());s=new p({state:e.target,semanticContext:u},t)}else s=new p({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},D.prototype.predTransition=function(t,e,o,i,r){this.debug&&(console.log("PRED (collectPredicates="+o+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(o&&(e.isCtxDependent&&i||!e.isCtxDependent))if(r){var a=this._input.index;this._input.seek(this._startIndex);var l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(s=new p({state:e.target},t))}else{var u=v.andContext(t.semanticContext,e.getPredicate());s=new p({state:e.target,semanticContext:u},t)}else s=new p({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},D.prototype.ruleTransition=function(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);var o=e.followState,n=A.create(t.context,o.stateNumber);return new p({state:e.target,context:n},t)},D.prototype.getConflictingAlts=function(t){var e=g.getConflictingAltSubsets(t);return g.getAlts(e)},D.prototype.getConflictingAltsOrUniqueAlt=function(t){var e=null;return t.uniqueAlt!==a.INVALID_ALT_NUMBER?(e=new r).add(t.uniqueAlt):e=t.conflictingAlts,e},D.prototype.getTokenName=function(t){if(t===c.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length))return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";console.log(t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+t},D.prototype.getLookaheadName=function(t){return this.getTokenName(t.LA(1))},D.prototype.dumpDeadEndConfigs=function(t){console.log("dead end configs: ");for(var e=t.getDeadEndConfigs(),o=0;o<e.length;o++){var n=e[o],i="no edges";if(n.state.transitions.length>0){var r=n.state.transitions[0];r instanceof AtomTransition?i="Atom "+this.getTokenName(r.label):r instanceof R&&(i=(r instanceof S?"~":"")+"Set "+r.set)}console.error(n.toString(this.parser,!0)+":"+i)}},D.prototype.noViableAlt=function(t,e,o,n){return new b(this.parser,t,t.get(n),t.LT(1),o,e)},D.prototype.getUniqueAlt=function(t){for(var e=a.INVALID_ALT_NUMBER,o=0;o<t.items.length;o++){var n=t.items[o];if(e===a.INVALID_ALT_NUMBER)e=n.alt;else if(n.alt!==e)return a.INVALID_ALT_NUMBER}return e},D.prototype.addDFAEdge=function(t,e,o,n){if(this.debug&&console.log("EDGE "+e+" -> "+n+" upon "+this.getTokenName(o)),null===n)return null;if(n=this.addDFAState(t,n),null===e||o<-1||o>this.atn.maxTokenType)return n;if(null===e.edges&&(e.edges=[]),e.edges[o+1]=n,this.debug){var i=null===this.parser?null:this.parser.literalNames,r=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+t.toString(i,r))}return n},D.prototype.addDFAState=function(t,e){if(e==f.ERROR)return e;var o=t.states.get(e);return null!==o?o:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)},D.prototype.reportAttemptingFullContext=function(t,e,o,n,i){if(this.debug||this.retry_debug){var r=new E(n,i+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+o+", input="+this.parser.getTokenStream().getText(r))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,n,i,e,o)},D.prototype.reportContextSensitivity=function(t,e,o,n,i){if(this.debug||this.retry_debug){var r=new E(n,i+1);console.log("reportContextSensitivity decision="+t.decision+":"+o+", input="+this.parser.getTokenStream().getText(r))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,n,i,e,o)},D.prototype.reportAmbiguity=function(t,e,o,n,i,r,s){if(this.debug||this.retry_debug){var a=new E(o,n+1);console.log("reportAmbiguity "+r+":"+s+", input="+this.parser.getTokenStream().getText(a))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,o,n,i,r,s)},e.ParserATNSimulator=D},7760:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(83423);e.simpleHttpRequest=function(t){return new n.Promise((function(e){var o=new XMLHttpRequest;o.open("GET",t.url),o.send(),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){var t=JSON.parse(o.responseText);e(t)}}}))}},7842:(t,e,o)=>{var n=o(66346).Set,i=o(66346).Hash;function r(){return this}function s(t,e,o){return r.call(this),this.ruleIndex=void 0===t?-1:t,this.predIndex=void 0===e?-1:e,this.isCtxDependent=void 0!==o&&o,this}function a(t){r.call(this),this.precedence=void 0===t?0:t}function l(t,e){r.call(this);var o=new n;t instanceof l?t.opnds.map((function(t){o.add(t)})):o.add(t),e instanceof l?e.opnds.map((function(t){o.add(t)})):o.add(e);var i=a.filterPrecedencePredicates(o);if(i.length>0){var s=null;i.map((function(t){(null===s||t.precedence<s.precedence)&&(s=t)})),o.add(s)}return this.opnds=o.values(),this}function p(t,e){r.call(this);var o=new n;t instanceof p?t.opnds.map((function(t){o.add(t)})):o.add(t),e instanceof p?e.opnds.map((function(t){o.add(t)})):o.add(e);var i=a.filterPrecedencePredicates(o);if(i.length>0){var s=i.sort((function(t,e){return t.compareTo(e)})),l=s[s.length-1];o.add(l)}return this.opnds=o.values(),this}r.prototype.hashCode=function(){var t=new i;return this.updateHashCode(t),t.finish()},r.prototype.evaluate=function(t,e){},r.prototype.evalPrecedence=function(t,e){return this},r.andContext=function(t,e){if(null===t||t===r.NONE)return e;if(null===e||e===r.NONE)return t;var o=new l(t,e);return 1===o.opnds.length?o.opnds[0]:o},r.orContext=function(t,e){if(null===t)return e;if(null===e)return t;if(t===r.NONE||e===r.NONE)return r.NONE;var o=new p(t,e);return 1===o.opnds.length?o.opnds[0]:o},s.prototype=Object.create(r.prototype),s.prototype.constructor=s,r.NONE=new s,s.prototype.evaluate=function(t,e){var o=this.isCtxDependent?e:null;return t.sempred(o,this.ruleIndex,this.predIndex)},s.prototype.updateHashCode=function(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent},s.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.evaluate=function(t,e){return t.precpred(e,this.precedence)},a.prototype.evalPrecedence=function(t,e){return t.precpred(e,this.precedence)?r.NONE:null},a.prototype.compareTo=function(t){return this.precedence-t.precedence},a.prototype.updateHashCode=function(t){t.update(31)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.precedence===t.precedence},a.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},a.filterPrecedencePredicates=function(t){var e=[];return t.values().map((function(t){t instanceof a&&e.push(t)})),e},l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.equals=function(t){return this===t||t instanceof l&&this.opnds===t.opnds},l.prototype.updateHashCode=function(t){t.update(this.opnds,"AND")},l.prototype.evaluate=function(t,e){for(var o=0;o<this.opnds.length;o++)if(!this.opnds[o].evaluate(t,e))return!1;return!0},l.prototype.evalPrecedence=function(t,e){for(var o=!1,n=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],a=s.evalPrecedence(t,e);if(o|=a!==s,null===a)return null;a!==r.NONE&&n.push(a)}if(!o)return this;if(0===n.length)return r.NONE;var l=null;return n.map((function(t){l=null===l?t:r.andContext(l,t)})),l},l.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="&& "+e.toString()})),t.length>3?t.slice(3):t},p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.constructor=function(t){return this===t||t instanceof p&&this.opnds===t.opnds},p.prototype.updateHashCode=function(t){t.update(this.opnds,"OR")},p.prototype.evaluate=function(t,e){for(var o=0;o<this.opnds.length;o++)if(this.opnds[o].evaluate(t,e))return!0;return!1},p.prototype.evalPrecedence=function(t,e){for(var o=!1,n=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],a=s.evalPrecedence(t,e);if(o|=a!==s,a===r.NONE)return r.NONE;null!==a&&n.push(a)}if(!o)return this;if(0===n.length)return null;return n.map((function(t){return t})),null},p.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="|| "+e.toString()})),t.length>3?t.slice(3):t},e.Ij=r,e.Yi=a,e.mT=s},7897:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44081),a=o(37132),l=o(814),p=o(69734),u=o(72948),c=o(26016),d=o(72493),h=o(99770),f=o(83423),g=function(){function t(){}return t.prototype.setBeans=function(t){this.logger=t.create("ColumnFactory")},t.prototype.createColumnTree=function(t,e,o){var n=new p.ColumnKeyCreator;if(o){var i=o.map((function(t){return t.getId()}));n.addExistingKeys(i)}var r=o?o.slice():null,s=this.recursivelyCreateColumns(t,0,e,r,n,null),a=this.findMaxDept(s,0);this.logger.log("Number of levels for grouped columns is "+a);var l=this.balanceColumnTree(s,0,a,n);return this.columnUtils.depthFirstOriginalTreeSearch(null,l,(function(t,e){t instanceof u.OriginalColumnGroup&&t.setupExpandable(),t.setOriginalParent(e)})),{columnTree:l,treeDept:a}},t.prototype.createForAutoGroups=function(t,e){var o=this,n=[];return t.forEach((function(t){var i=o.createAutoGroupTreeItem(e,t);n.push(i)})),n},t.prototype.createAutoGroupTreeItem=function(t,e){for(var o=e,n=this.findDepth(t)-1;n>=0;n--){var i=new u.OriginalColumnGroup(null,"FAKE_PATH_"+e.getId()+"}_"+n,!0,n);this.context.wireBean(i),i.setChildren([o]),o.setOriginalParent(i),o=i}return o},t.prototype.findDepth=function(t){for(var e=0,o=t;o&&o[0]&&o[0]instanceof u.OriginalColumnGroup;)e++,o=o[0].getChildren();return e},t.prototype.balanceColumnTree=function(t,e,o,n){for(var i=[],r=0;r<t.length;r++){var s=t[r];if(s instanceof u.OriginalColumnGroup){var a=s,l=this.balanceColumnTree(a.getChildren(),e+1,o,n);a.setChildren(l),i.push(a)}else{for(var p=void 0,c=void 0,d=o-1;d>=e;d--){var h=n.getUniqueKey(null,null),f=this.createMergedColGroupDef(null),g=new u.OriginalColumnGroup(f,h,!0,e);this.context.wireBean(g),c&&c.setChildren([g]),c=g,p||(p=c)}if(p){i.push(p);var y=t.some((function(t){return t instanceof u.OriginalColumnGroup}));if(y){c.setChildren([s]);continue}c.setChildren(t);break}i.push(s)}}return i},t.prototype.findMaxDept=function(t,e){for(var o=e,n=0;n<t.length;n++){var i=t[n];if(i instanceof u.OriginalColumnGroup){var r=i,s=this.findMaxDept(r.getChildren(),e+1);o<s&&(o=s)}}return o},t.prototype.recursivelyCreateColumns=function(t,e,o,n,i,r){var s=this,a=[];return t?(t.forEach((function(t){var l;l=s.isColumnGroup(t)?s.createColumnGroup(o,t,e,n,i,r):s.createColumn(o,t,n,i,r),a.push(l)})),a):a},t.prototype.createColumnGroup=function(t,e,o,n,i,r){var s=this.createMergedColGroupDef(e),a=i.getUniqueKey(s.groupId,null),l=new u.OriginalColumnGroup(s,a,!1,o);this.context.wireBean(l);var p=this.recursivelyCreateColumns(s.children,o+1,t,n,i,l);return l.setChildren(p),l},t.prototype.createMergedColGroupDef=function(t){var e={};return f._.assign(e,this.gridOptionsWrapper.getDefaultColGroupDef()),f._.assign(e,t),this.checkForDeprecatedItems(e),e},t.prototype.createColumn=function(t,e,o,n,i){var r=this.mergeColDefs(e);this.checkForDeprecatedItems(r);var s=this.findExistingColumn(e,o);if(s)s.setColDef(r,e);else{var a=n.getUniqueKey(r.colId,r.field);s=new c.Column(r,e,a,t),this.context.wireBean(s)}return s},t.prototype.findExistingColumn=function(t,e){var o=f._.find(e,(function(e){var o=e.getUserProvidedColDef();return!(!o||o!==t&&(null===o.colId||void 0===o.colId||o.colId!==t.colId))}));return o&&f._.removeFromArray(e,o),o},t.prototype.mergeColDefs=function(t){var e={};return f._.assign(e,this.gridOptionsWrapper.getDefaultColDef()),t.type&&this.assignColumnTypes(t,e),f._.assign(e,t),e},t.prototype.assignColumnTypes=function(t,e){var o;if(t.type instanceof Array)t.type.some((function(t){return"string"!=typeof t}))?console.warn("ag-grid: if colDef.type is supplied an array it should be of type 'string[]'"):o=t.type;else{if("string"!=typeof t.type)return void console.warn("ag-grid: colDef.type should be of type 'string' | 'string[]'");o=t.type.split(",")}var n=f._.assign({},this.gridOptionsWrapper.getColumnTypes(),h.DefaultColumnTypes);o.forEach((function(t){var o=n[t.trim()];o?f._.assign(e,o):console.warn("ag-grid: colDef.type '"+t+"' does not correspond to defined gridOptions.columnTypes")}))},t.prototype.checkForDeprecatedItems=function(t){if(t){var e=t;void 0!==e.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!==e.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!==e.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!==e.suppressRowGroup&&console.warn("ag-grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead"),void 0!==e.suppressAggregation&&console.warn("ag-grid: colDef.suppressAggregation is deprecated, please use colDef.type instead"),(e.suppressRowGroup||e.suppressAggregation)&&console.warn("ag-grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead"),e.displayName&&(console.warn("ag-grid: Found displayName "+e.displayName+", please use headerName instead, displayName is deprecated."),e.headerName=e.displayName)}},t.prototype.isColumnGroup=function(t){return void 0!==t.children},n([d.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([d.Autowired("columnUtils"),i("design:type",l.ColumnUtils)],t.prototype,"columnUtils",void 0),n([d.Autowired("context"),i("design:type",d.Context)],t.prototype,"context",void 0),n([r(0,d.Qualifier("loggerFactory")),i("design:type",Function),i("design:paramtypes",[a.LoggerFactory]),i("design:returntype",void 0)],t.prototype,"setBeans",null),n([d.Bean("columnFactory")],t)}();e.ColumnFactory=g},8534:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(60843),s=o(44081),a=o(72493),l=o(83423),p=function(){function t(){this.destroyFunctions=[],this.destroyed=!1}return t.prototype.getContext=function(){return this.context},t.prototype.destroy=function(){this.destroyFunctions.forEach((function(t){return t()})),this.destroyFunctions.length=0,this.destroyed=!0,this.dispatchEvent({type:t.EVENT_DESTROYED})},t.prototype.addEventListener=function(t,e){this.localEventService||(this.localEventService=new r.EventService),this.localEventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.localEventService&&this.localEventService.removeEventListener(t,e)},t.prototype.dispatchEventAsync=function(t){var e=this;window.setTimeout((function(){return e.dispatchEvent(t)}),0)},t.prototype.dispatchEvent=function(t){this.localEventService&&this.localEventService.dispatchEvent(t)},t.prototype.addDestroyableEventListener=function(t,e,o,n){this.destroyed||(t instanceof HTMLElement?l._.addSafePassiveEventListener(t,e,o,n):(t instanceof Window||s.GridOptionsWrapper,t.addEventListener(e,o)),this.destroyFunctions.push((function(){t instanceof HTMLElement||t instanceof Window||s.GridOptionsWrapper,t.removeEventListener(e,o)})))},t.prototype.isAlive=function(){return!this.destroyed},t.prototype.addDestroyFunc=function(t){this.isAlive()?this.destroyFunctions.push(t):t()},t.EVENT_DESTROYED="destroyed",n([a.Autowired("context"),i("design:type",a.Context)],t.prototype,"context",void 0),n([a.PreDestroy,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"destroy",null),t}();e.BeanStub=p},8894:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(34782),a=o(45727),l=o(1571),p=o(41451),u=o(42195),c=o(69065),d=o(98239),h=o(44081),f=o(83423),g=function(){function t(){this.timeLastPageEventProcessed=0}return t.prototype.init=function(){this.scrollWidth=this.gridOptionsWrapper.getScrollbarWidth()},t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.handlePageScrollingKey=function(t){var e=t.which||t.keyCode,o=t.altKey,n=t.ctrlKey,i=this.mouseEventService.getGridCellForEvent(t).getGridCellDef();if(!i)return!1;var r=!1;switch(e){case a.Constants.KEY_PAGE_HOME:case a.Constants.KEY_PAGE_END:n||o||(this.onHomeOrEndKey(e),r=!0);break;case a.Constants.KEY_LEFT:case a.Constants.KEY_RIGHT:n&&!o&&(this.onCtrlLeftOrRight(e,i),r=!0);break;case a.Constants.KEY_UP:case a.Constants.KEY_DOWN:n&&!o&&(this.onCtrlUpOrDown(e,i),r=!0);break;case a.Constants.KEY_PAGE_DOWN:n||o||(this.onPageDown(i),r=!0);break;case a.Constants.KEY_PAGE_UP:n||o||(this.onPageUp(i),r=!0)}return r&&t.preventDefault(),r},t.prototype.isTimeSinceLastPageEventToRecent=function(){return(new Date).getTime()-this.timeLastPageEventProcessed<100},t.prototype.setTimeLastPageEventProcessed=function(){this.timeLastPageEventProcessed=(new Date).getTime()},t.prototype.onPageDown=function(t){if(!this.isTimeSinceLastPageEventToRecent()){var e=this.gridPanel.getVScrollPosition(),o=e.bottom-e.top;this.gridPanel.isHorizontalScrollShowing()&&(o-=this.scrollWidth);var n=this.paginationProxy.getPixelOffset(),i=e.top+o,r=this.paginationProxy.getRowIndexAtPixel(i+n),s=this.paginationProxy.getRow(t.rowIndex).rowTop+o-n,a=this.paginationProxy.getRowIndexAtPixel(s+n),l=this.paginationProxy.getPageLastRow();a>l&&(a=l),r>l&&(r=l),this.navigateTo(r,"top",null,a,t.column),this.setTimeLastPageEventProcessed()}},t.prototype.onPageUp=function(t){if(!this.isTimeSinceLastPageEventToRecent()){var e=this.gridPanel.getVScrollPosition(),o=e.bottom-e.top;this.gridPanel.isHorizontalScrollShowing()&&(o-=this.scrollWidth);var n=this.paginationProxy.getPixelOffset(),i=e.top,r=this.paginationProxy.getRowIndexAtPixel(i+n),s=this.paginationProxy.getRow(t.rowIndex),a=s.rowTop+s.rowHeight-o-n,l=this.paginationProxy.getRowIndexAtPixel(a+n),p=this.paginationProxy.getPageFirstRow();l<p&&(l=p),r<p&&(r=p),this.navigateTo(r,"bottom",null,l,t.column),this.setTimeLastPageEventProcessed()}},t.prototype.navigateTo=function(t,e,o,n,i){if(f._.exists(o)&&this.gridPanel.ensureColumnVisible(o),f._.exists(t)&&this.gridPanel.ensureIndexVisible(t,e),this.animationFrameService.flushAllFrames(),this.focusedCellController.setFocusedCell(n,i,null,!0),this.rangeController){var r=new s.GridCell({rowIndex:n,floating:null,column:i});this.rangeController.setRangeToCell(r)}},t.prototype.onCtrlUpOrDown=function(t,e){var o=t===a.Constants.KEY_UP?0:this.paginationProxy.getPageLastRow();this.navigateTo(o,null,e.column,o,e.column)},t.prototype.onCtrlLeftOrRight=function(t,e){var o=t===a.Constants.KEY_LEFT,n=this.columnController.getAllDisplayedColumns(),i=o?n[0]:n[n.length-1];this.navigateTo(e.rowIndex,null,i,e.rowIndex,i)},t.prototype.onHomeOrEndKey=function(t){var e=t===a.Constants.KEY_PAGE_HOME,o=this.columnController.getAllDisplayedColumns(),n=e?o[0]:o[o.length-1],i=e?0:this.paginationProxy.getPageLastRow();this.navigateTo(i,null,n,i,n)},n([r.Autowired("mouseEventService"),i("design:type",l.MouseEventService)],t.prototype,"mouseEventService",void 0),n([r.Autowired("paginationProxy"),i("design:type",p.PaginationProxy)],t.prototype,"paginationProxy",void 0),n([r.Autowired("focusedCellController"),i("design:type",u.FocusedCellController)],t.prototype,"focusedCellController",void 0),n([r.Autowired("animationFrameService"),i("design:type",c.AnimationFrameService)],t.prototype,"animationFrameService",void 0),n([r.Optional("rangeController"),i("design:type",Object)],t.prototype,"rangeController",void 0),n([r.Autowired("columnController"),i("design:type",d.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",h.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r.Bean("navigationService")],t)}();e.NavigationService=g},9018:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(72493),r=o(83423),s=[0,1996959894,-301047508,-1727442502,124634137,1886057615,-379345611,-1637575261,249268274,2044508324,-522852066,-1747789432,162941995,2125561021,-407360249,-1866523247,498536548,1789927666,-205950648,-2067906082,450548861,1843258603,-187386543,-2083289657,325883990,1684777152,-43845254,-1973040660,335633487,1661365465,-99664541,-1928851979,997073096,1281953886,-715111964,-1570279054,1006888145,1258607687,-770865667,-1526024853,901097722,1119000684,-608450090,-1396901568,853044451,1172266101,-589951537,-1412350631,651767980,1373503546,-925412992,-1076862698,565507253,1454621731,-809855591,-1195530993,671266974,1594198024,-972236366,-1324619484,795835527,1483230225,-1050600021,-1234817731,1994146192,31158534,-1731059524,-271249366,1907459465,112637215,-1614814043,-390540237,2013776290,251722036,-1777751922,-519137256,2137656763,141376813,-1855689577,-429695999,1802195444,476864866,-2056965928,-228458418,1812370925,453092731,-2113342271,-183516073,1706088902,314042704,-1950435094,-54949764,1658658271,366619977,-1932296973,-69972891,1303535960,984961486,-1547960204,-725929758,1256170817,1037604311,-1529756563,-740887301,1131014506,879679996,-1385723834,-631195440,1141124467,855842277,-1442165665,-586318647,1342533948,654459306,-1106571248,-921952122,1466479909,544179635,-1184443383,-832445281,1591671054,702138776,-1328506846,-942167884,1504918807,783551873,-1212326853,-1061524307,-306674912,-1698712650,62317068,1957810842,-355121351,-1647151185,81470997,1943803523,-480048366,-1805370492,225274430,2053790376,-468791541,-1828061283,167816743,2097651377,-267414716,-2029476910,503444072,1762050814,-144550051,-2140837941,426522225,1852507879,-19653770,-1982649376,282753626,1742555852,-105259153,-1900089351,397917763,1622183637,-690576408,-1580100738,953729732,1340076626,-776247311,-1497606297,1068828381,1219638859,-670225446,-1358292148,906185462,1090812512,-547295293,-1469587627,829329135,1181335161,-882789492,-1134132454,628085408,1382605366,-871598187,-1156888829,570562233,1426400815,-977650754,-1296233688,733239954,1555261956,-1026031705,-1244606671,752459403,1541320221,-1687895376,-328994266,1969922972,40735498,-1677130071,-351390145,1913087877,83908371,-1782625662,-491226604,2075208622,213261112,-1831694693,-438977011,2094854071,198958881,-2032938284,-237706686,1759359992,534414190,-2118248755,-155638181,1873836001,414664567,-2012718362,-15766928,1711684554,285281116,-1889165569,-127750551,1634467795,376229701,-1609899400,-686959890,1308918612,956543938,-1486412191,-799009033,1231636301,1047427035,-1362007478,-640263460,1088359270,936918e3,-1447252397,-558129467,1202900863,817233897,-1111625188,-893730166,1404277552,615818150,-1160759803,-841546093,1423857449,601450431,-1285129682,-1000256840,1567103746,711928724,-1274298825,-1022587231,1510334235,755167117],a=function(){function t(){var t=this;this.folders=[],this.files=[],this.addFolder=function(e){t.folders.push({path:e,created:new Date})}}return t.prototype.addFolders=function(t){t.forEach(this.addFolder)},t.prototype.addFile=function(t,e){this.files.push({path:t,created:new Date,content:e})},t.prototype.clearStream=function(){this.folders=[],this.files=[]},t.prototype.getContent=function(t){void 0===t&&(t="application/zip");var e=this.buildFileStream(),o=this.buildUint8Array(e);return this.clearStream(),new Blob([o],{type:t})},t.prototype.buildFileStream=function(t){void 0===t&&(t="");for(var e=this.folders.concat(this.files),o=e.length,n="",i=0,r=0,s=0,a=e;s<a.length;s++){var l=a[s],p=this.getHeader(l,i),u=p.fileHeader,c=p.folderHeader,d=p.content;i+=u.length+d.length,r+=c.length,t+=u+d,n+=c}return t+n+this.buildFolderEnd(o,r,i)},t.prototype.getHeader=function(t,e){var o=t.content,n=t.path,i=t.created,s=r._.utf8_encode,a=r._.decToHex,l=s(n),p=l!==n,u=this.convertTime(i),c=this.convertDate(i),d="";if(p){var h=a(1,1)+a(this.getFromCrc32Table(l),4)+l;d="up"+a(h.length,2)+h}var f="\n\0"+(p?"\0\b":"\0\0")+"\0\0"+a(u,2)+a(c,2)+a(o?this.getFromCrc32Table(o):0,4)+a(o?o.length:0,4)+a(o?o.length:0,4)+a(l.length,2)+a(d.length,2);return{fileHeader:"PK"+f+l+d,folderHeader:"PK\0"+f+"\0\0\0\0\0\0"+(o?"\0\0\0\0":"\0\0\0")+a(e,4)+l+d,content:o||""}},t.prototype.buildFolderEnd=function(t,e,o){var n=r._.decToHex;return"PK\0\0\0\0"+n(t,2)+n(t,2)+n(e,4)+n(o,4)+"\0\0"},t.prototype.buildUint8Array=function(t){for(var e=new Uint8Array(t.length),o=0;o<e.length;o++)e[o]=t.charCodeAt(o);return e},t.prototype.getFromCrc32Table=function(t,e){if(void 0===e&&(e=0),!t.length)return 0;e^=-1;for(var o=0,n=0;n<t.length;n++)o=t.charCodeAt(n),e=e>>>8^s[255&(e^o)];return~e},t.prototype.convertTime=function(t){var e=t.getHours();return e<<=6,e|=t.getMinutes(),(e<<=5)|t.getSeconds()/2},t.prototype.convertDate=function(t){var e=t.getFullYear()-1980;return e<<=4,e|=t.getMonth()+1,(e<<=5)|t.getDate()},n([i.Bean("zipContainer")],t)}();e.ZipContainer=a},10014:(t,e,o)=>{var n=o(72994).Token,i=(o(70040).Interval,o(70040).m),r=o(7842).mT,s=o(7842).Yi;function a(t){if(null==t)throw"target cannot be null.";return this.target=t,this.isEpsilon=!1,this.label=null,this}function l(t,e){return a.call(this,t),this.label_=e,this.label=this.makeLabel(),this.serializationType=a.ATOM,this}function p(t,e,o,n){return a.call(this,t),this.ruleIndex=e,this.precedence=o,this.followState=n,this.serializationType=a.RULE,this.isEpsilon=!0,this}function u(t,e){return a.call(this,t),this.serializationType=a.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e,this}function c(t,e,o){return a.call(this,t),this.serializationType=a.RANGE,this.start=e,this.stop=o,this.label=this.makeLabel(),this}function d(t){return a.call(this,t),this}function h(t,e,o,n){return d.call(this,t),this.serializationType=a.PREDICATE,this.ruleIndex=e,this.predIndex=o,this.isCtxDependent=n,this.isEpsilon=!0,this}function f(t,e,o,n){return a.call(this,t),this.serializationType=a.ACTION,this.ruleIndex=e,this.actionIndex=void 0===o?-1:o,this.isCtxDependent=void 0!==n&&n,this.isEpsilon=!0,this}function g(t,e){return a.call(this,t),this.serializationType=a.SET,null!=e?this.label=e:(this.label=new i,this.label.addOne(n.INVALID_TYPE)),this}function y(t,e){return g.call(this,t,e),this.serializationType=a.NOT_SET,this}function v(t){return a.call(this,t),this.serializationType=a.WILDCARD,this}function m(t,e){return d.call(this,t),this.serializationType=a.PRECEDENCE,this.precedence=e,this.isEpsilon=!0,this}a.EPSILON=1,a.RANGE=2,a.RULE=3,a.PREDICATE=4,a.ATOM=5,a.ACTION=6,a.SET=7,a.NOT_SET=8,a.WILDCARD=9,a.PRECEDENCE=10,a.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],a.serializationTypes={EpsilonTransition:a.EPSILON,RangeTransition:a.RANGE,RuleTransition:a.RULE,PredicateTransition:a.PREDICATE,AtomTransition:a.ATOM,ActionTransition:a.ACTION,SetTransition:a.SET,NotSetTransition:a.NOT_SET,WildcardTransition:a.WILDCARD,PrecedencePredicateTransition:a.PRECEDENCE},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.makeLabel=function(){var t=new i;return t.addOne(this.label_),t},l.prototype.matches=function(t,e,o){return this.label_===t},l.prototype.toString=function(){return this.label_},p.prototype=Object.create(a.prototype),p.prototype.constructor=p,p.prototype.matches=function(t,e,o){return!1},u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.matches=function(t,e,o){return!1},u.prototype.toString=function(){return"epsilon"},c.prototype=Object.create(a.prototype),c.prototype.constructor=c,c.prototype.makeLabel=function(){var t=new i;return t.addRange(this.start,this.stop),t},c.prototype.matches=function(t,e,o){return t>=this.start&&t<=this.stop},c.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},d.prototype=Object.create(a.prototype),d.prototype.constructor=d,h.prototype=Object.create(d.prototype),h.prototype.constructor=h,h.prototype.matches=function(t,e,o){return!1},h.prototype.getPredicate=function(){return new r(this.ruleIndex,this.predIndex,this.isCtxDependent)},h.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},f.prototype=Object.create(a.prototype),f.prototype.constructor=f,f.prototype.matches=function(t,e,o){return!1},f.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},g.prototype=Object.create(a.prototype),g.prototype.constructor=g,g.prototype.matches=function(t,e,o){return this.label.contains(t)},g.prototype.toString=function(){return this.label.toString()},y.prototype=Object.create(g.prototype),y.prototype.constructor=y,y.prototype.matches=function(t,e,o){return t>=e&&t<=o&&!g.prototype.matches.call(this,t,e,o)},y.prototype.toString=function(){return"~"+g.prototype.toString.call(this)},v.prototype=Object.create(a.prototype),v.prototype.constructor=v,v.prototype.matches=function(t,e,o){return t>=e&&t<=o},v.prototype.toString=function(){return"."},m.prototype=Object.create(d.prototype),m.prototype.constructor=m,m.prototype.matches=function(t,e,o){return!1},m.prototype.getPredicate=function(){return new s(this.precedence)},m.prototype.toString=function(){return this.precedence+" >= _p"},e.Transition=a,e.AtomTransition=l,e.SetTransition=g,e.NotSetTransition=y,e.RuleTransition=p,e.ActionTransition=f,e.EpsilonTransition=u,e.RangeTransition=c,e.WildcardTransition=v,e.PredicateTransition=h,e.PrecedencePredicateTransition=m,e.AbstractPredicateTransition=d},10042:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var l=o(44081),p=o(40634),u=o(92427),c=o(24463),d=o(60843),h=o(19378),f=o(63405),g=o(45727),y=o(23054),v=o(72493),m=o(44871),C=o(98239),E=o(37132),w=o(42195),_=o(38427),R=o(34782),S=o(8534),O=o(41451),T=o(40797),b=o(50580),A=o(55090),P=o(69065),D=o(51755),N=o(83423),F=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rowCompsByIndex={},e.floatingTopRowComps=[],e.floatingBottomRowComps=[],e.refreshInProgress=!1,e}return i(e,t),e.prototype.registerGridCore=function(t){this.gridCore=t},e.prototype.agWire=function(t){this.logger=t.create("RowRenderer")},e.prototype.registerGridComp=function(t){this.gridPanel=t,this.rowContainers=this.gridPanel.getRowContainers(),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_PAGINATION_CHANGED,this.onPageLoaded.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_BODY_SCROLL,this.redrawAfterScroll.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_BODY_HEIGHT_CHANGED,this.redrawAfterScroll.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,l.GridOptionsWrapper.PROP_DOM_LAYOUT,this.onDomLayoutChanged.bind(this)),this.printLayout=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT,this.embedFullWidthRows=this.printLayout||this.gridOptionsWrapper.isEmbedFullWidthRows(),this.redrawAfterModelUpdate()},e.prototype.onDomLayoutChanged=function(){var t=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT,e=t||this.gridOptionsWrapper.isEmbedFullWidthRows(),o=e!==this.embedFullWidthRows||this.printLayout!==t;this.printLayout=t,this.embedFullWidthRows=e,o&&this.redrawAfterModelUpdate()},e.prototype.datasourceChanged=function(){this.firstRenderedRow=0,this.lastRenderedRow=-1;var t=Object.keys(this.rowCompsByIndex);this.removeRowComps(t)},e.prototype.onPageLoaded=function(t){N._.missing(t)&&(t={type:f.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!1}),this.onModelUpdated(t)},e.prototype.getAllCellsForColumn=function(t){var e=[];function o(o,n){var i=n.getCellForCol(t);i&&e.push(i)}return N._.iterateObject(this.rowCompsByIndex,o),N._.iterateObject(this.floatingBottomRowComps,o),N._.iterateObject(this.floatingTopRowComps,o),e},e.prototype.refreshFloatingRowComps=function(){this.refreshFloatingRows(this.floatingTopRowComps,this.pinnedRowModel.getPinnedTopRowData(),this.rowContainers.floatingTopPinnedLeft,this.rowContainers.floatingTopPinnedRight,this.rowContainers.floatingTop,this.rowContainers.floatingTopFullWidth),this.refreshFloatingRows(this.floatingBottomRowComps,this.pinnedRowModel.getPinnedBottomRowData(),this.rowContainers.floatingBottomPinnedLeft,this.rowContainers.floatingBottomPinnedRight,this.rowContainers.floatingBottom,this.rowContainers.floatingBottomFullWith)},e.prototype.refreshFloatingRows=function(t,e,o,n,i,r){var s=this;t.forEach((function(t){t.destroy()})),t.length=0,e&&e.forEach((function(e){var a=new h.RowComp(s.$scope,i,o,n,r,e,s.beans,!1,!1,s.printLayout,s.embedFullWidthRows);a.init(),t.push(a)})),this.flushContainers(t)},e.prototype.onPinnedRowDataChanged=function(){this.redrawAfterModelUpdate({recycleRows:!0})},e.prototype.onModelUpdated=function(t){var e={recycleRows:t.keepRenderedRows,animate:t.animate,newData:t.newData,newPage:t.newPage,onlyBody:!0};this.redrawAfterModelUpdate(e)},e.prototype.getRenderedIndexesForRowNodes=function(t){var e=[];return N._.missing(t)||N._.iterateObject(this.rowCompsByIndex,(function(o,n){var i=n.getRowNode();t.indexOf(i)>=0&&e.push(o)})),e},e.prototype.redrawRows=function(t){if(t&&0!=t.length){var e=this.getRenderedIndexesForRowNodes(t);this.removeRowComps(e),this.redrawAfterModelUpdate({recycleRows:!0})}},e.prototype.getCellToRestoreFocusToAfterRefresh=function(t){var e=t.suppressKeepFocus?null:this.focusedCellController.getFocusCellToUseAfterRefresh();if(N._.missing(e))return null;var o=document.activeElement,n=this.gridOptionsWrapper.getDomData(o,y.CellComp.DOM_DATA_KEY_CELL_COMP);return N._.missing(n)?null:e},e.prototype.redrawAfterModelUpdate=function(t){void 0===t&&(t={}),this.getLockOnRefresh();var e=this.getCellToRestoreFocusToAfterRefresh(t);this.sizeContainerToPageHeight(),this.scrollToTopIfNewData(t);var o=!this.printLayout&&t.recycleRows,n=t.animate&&this.gridOptionsWrapper.isAnimateRows(),i=this.binRowComps(o);this.redraw(i,n),t.onlyBody||this.refreshFloatingRowComps(),this.restoreFocusedCell(e),this.releaseLockOnRefresh()},e.prototype.scrollToTopIfNewData=function(t){var e=t.newData||t.newPage,o=this.gridOptionsWrapper.isSuppressScrollOnNewData();e&&!o&&this.gridPanel.scrollToTop()},e.prototype.sizeContainerToPageHeight=function(){var t=[this.rowContainers.body,this.rowContainers.fullWidth,this.rowContainers.pinnedLeft,this.rowContainers.pinnedRight];if(this.printLayout)t.forEach((function(t){return t.setHeight(null)}));else{var e=this.paginationProxy.getCurrentPageHeight();0===e&&(e=1),this.maxDivHeightScaler.setModelHeight(e);var o=this.maxDivHeightScaler.getUiContainerHeight();t.forEach((function(t){return t.setHeight(o)}))}},e.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, eg instead of api.refreshView(), call setTimeout(function(){api.refreshView(),0}). To see what part of your code that caused the refresh check this stacktrace.");this.refreshInProgress=!0},e.prototype.releaseLockOnRefresh=function(){this.refreshInProgress=!1},e.prototype.restoreFocusedCell=function(t){t&&this.focusedCellController.setFocusedCell(t.rowIndex,t.column,t.floating,!0)},e.prototype.stopEditing=function(t){void 0===t&&(t=!1),this.forEachRowComp((function(e,o){o.stopEditing(t)}))},e.prototype.forEachCellComp=function(t){this.forEachRowComp((function(e,o){return o.forEachCellComp(t)}))},e.prototype.forEachRowComp=function(t){N._.iterateObject(this.rowCompsByIndex,t),N._.iterateObject(this.floatingTopRowComps,t),N._.iterateObject(this.floatingBottomRowComps,t)},e.prototype.addRenderedRowListener=function(t,e,o){var n=this.rowCompsByIndex[e];n&&n.addEventListener(t,o)},e.prototype.flashCells=function(t){void 0===t&&(t={}),this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){return t.flashCell()}))},e.prototype.refreshCells=function(t){void 0===t&&(t={});var e={forceRefresh:t.force,newData:!1};this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){return t.refreshCell(e)}))},e.prototype.getCellRendererInstances=function(t){var e=[];return this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){var o=t.getCellRenderer();o&&e.push(o)})),e},e.prototype.getCellEditorInstances=function(t){var e=[];return this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){var o=t.getCellEditor();o&&e.push(o)})),e},e.prototype.getEditingCells=function(){var t=[];return this.forEachCellComp((function(e){if(e.isEditing()){var o=e.getGridCell().getGridCellDef();t.push(o)}})),t},e.prototype.forEachCellCompFiltered=function(t,e,o){var n,i,r=this;N._.exists(t)&&(n={top:{},bottom:{},normal:{}},t.forEach((function(t){t.rowPinned===g.Constants.PINNED_TOP?n.top[t.id]=!0:t.rowPinned===g.Constants.PINNED_BOTTOM?n.bottom[t.id]=!0:n.normal[t.id]=!0}))),N._.exists(e)&&(i={},e.forEach((function(t){var e=r.columnController.getGridColumn(t);N._.exists(e)&&(i[e.getId()]=!0)})));var s=function(t){var e=t.getRowNode(),r=e.id,s=e.rowPinned;if(N._.exists(n))if(s===g.Constants.PINNED_BOTTOM){if(!n.bottom[r])return}else if(s===g.Constants.PINNED_TOP){if(!n.top[r])return}else if(!n.normal[r])return;t.forEachCellComp((function(t){var e=t.getColumn().getId();i&&!i[e]||o(t)}))};N._.iterateObject(this.rowCompsByIndex,(function(t,e){s(e)})),this.floatingTopRowComps&&this.floatingTopRowComps.forEach(s),this.floatingBottomRowComps&&this.floatingBottomRowComps.forEach(s)},e.prototype.destroy=function(){t.prototype.destroy.call(this);var e=Object.keys(this.rowCompsByIndex);this.removeRowComps(e)},e.prototype.binRowComps=function(t){var e,o=this,n={};return t?(e=[],N._.iterateObject(this.rowCompsByIndex,(function(t,i){var r=i.getRowNode();N._.exists(r.id)?(n[r.id]=i,delete o.rowCompsByIndex[t]):e.push(t)}))):e=Object.keys(this.rowCompsByIndex),this.removeRowComps(e),n},e.prototype.removeRowComps=function(t){var e=this;t.forEach((function(t){e.rowCompsByIndex[t].destroy(),delete e.rowCompsByIndex[t]}))},e.prototype.redrawAfterScroll=function(){this.getLockOnRefresh(),this.redraw(null,!1,!0),this.releaseLockOnRefresh()},e.prototype.removeRowCompsNotToDraw=function(t){var e={};t.forEach((function(t){return e[t]=!0}));var o=Object.keys(this.rowCompsByIndex),n=N._.filter(o,(function(t){return!e[t]}));this.removeRowComps(n)},e.prototype.calculateIndexesToDraw=function(){var t=this,e=N._.createArrayOfNumbers(this.firstRenderedRow,this.lastRenderedRow);return N._.iterateObject(this.rowCompsByIndex,(function(o,n){var i=Number(o);(i<t.firstRenderedRow||i>t.lastRenderedRow)&&t.keepRowBecauseEditingOrFocused(n)&&e.push(i)})),e.sort((function(t,e){return t-e})),e},e.prototype.redraw=function(t,e,o){var n=this;void 0===e&&(e=!1),void 0===o&&(o=!1),this.maxDivHeightScaler.updateOffset(),this.workOutFirstAndLastRowsToRender();var i=this.calculateIndexesToDraw();this.removeRowCompsNotToDraw(i),this.printLayout&&(e=!1);var r=[],s=[];i.forEach((function(i){var a=n.createOrUpdateRowComp(i,t,e,o);N._.exists(a)&&(s.push(a),N._.pushAll(r,a.getAndClearNextVMTurnFunctions()))})),this.flushContainers(s),N._.executeNextVMTurn(r),!o||this.gridOptionsWrapper.isSuppressAnimationFrame()||this.printLayout?this.destroyRowComps(t,e):this.beans.taskQueue.addP2Task(this.destroyRowComps.bind(this,t,e)),this.checkAngularCompile()},e.prototype.flushContainers=function(t){N._.iterateObject(this.rowContainers,(function(t,e){e&&e.flushRowTemplates()})),t.forEach((function(t){return t.afterFlush()}))},e.prototype.onDisplayedColumnsChanged=function(){var t=this.columnController.isPinningLeft(),e=this.columnController.isPinningRight();(this.pinningLeft!==t||e!==this.pinningRight)&&(this.pinningLeft=t,this.pinningRight=e,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())},e.prototype.redrawFullWidthEmbeddedRows=function(){var t=[];N._.iterateObject(this.rowCompsByIndex,(function(e,o){if(o.isFullWidth()){var n=o.getRowNode().rowIndex;t.push(n.toString())}})),this.refreshFloatingRowComps(),this.removeRowComps(t),this.redrawAfterScroll()},e.prototype.refreshFullWidthRows=function(){var t=[];N._.iterateObject(this.rowCompsByIndex,(function(e,o){if(o.isFullWidth()){var n=o.getRowNode().rowIndex;t.push(n.toString())}})),this.removeRowComps(t),this.redrawAfterScroll()},e.prototype.createOrUpdateRowComp=function(t,e,o,n){var i,r=this.rowCompsByIndex[t];if(r||(i=this.paginationProxy.getRow(t),N._.exists(i)&&N._.exists(e)&&e[i.id]&&i.alreadyRendered&&(r=e[i.id],e[i.id]=null)),r)r.ensureDomOrder();else{if(i||(i=this.paginationProxy.getRow(t)),!N._.exists(i))return;r=this.createRowComp(i,o,n)}return i&&(i.alreadyRendered=!0),this.rowCompsByIndex[t]=r,r},e.prototype.destroyRowComps=function(t,e){var o=[];N._.iterateObject(t,(function(t,n){n&&(n.destroy(e),N._.pushAll(o,n.getAndClearDelayedDestroyFunctions()))})),N._.executeInAWhile(o)},e.prototype.checkAngularCompile=function(){var t=this;this.gridOptionsWrapper.isAngularCompileRows()&&window.setTimeout((function(){t.$scope.$apply()}),0)},e.prototype.workOutFirstAndLastRowsToRender=function(){var t,e;if(this.paginationProxy.isRowsToRender())if(this.printLayout)t=this.paginationProxy.getPageFirstRow(),e=this.paginationProxy.getPageLastRow();else{var o=this.paginationProxy?this.paginationProxy.getPixelOffset():0,n=this.maxDivHeightScaler.getOffset(),i=this.gridPanel.getVScrollPosition(),r=i.top,s=i.bottom,a=this.gridOptionsWrapper.getRowBufferInPixels(),l=r+o+n-a,p=s+o+n+a;this.ensureAllRowsInRangeHaveHeightsCalculated(l,p);var u=this.paginationProxy.getRowIndexAtPixel(l),c=this.paginationProxy.getRowIndexAtPixel(p),d=this.paginationProxy.getPageFirstRow(),h=this.paginationProxy.getPageLastRow();u<d&&(u=d),c>h&&(c=h),t=u,e=c}else t=0,e=-1;var y=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_NORMAL,v=this.gridOptionsWrapper.isSuppressMaxRenderedRowRestriction();y&&!v&&e-t>500&&(e=t+500);var m=t!==this.firstRenderedRow,C=e!==this.lastRenderedRow;if(m||C){this.firstRenderedRow=t,this.lastRenderedRow=e;var E={type:f.Events.EVENT_VIEWPORT_CHANGED,firstRow:t,lastRow:e,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(E)}if(this.paginationProxy.isRowsToRender()){var w={type:f.Events.EVENT_FIRST_DATA_RENDERED,firstRow:t,lastRow:e,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEventOnce(w)}},e.prototype.ensureAllRowsInRangeHaveHeightsCalculated=function(t,e){this.paginationProxy.ensureRowHeightsValid(t,e,-1,-1)&&(this.sizeContainerToPageHeight(),this.maxDivHeightScaler.updateOffset())},e.prototype.getFirstVirtualRenderedRow=function(){return this.firstRenderedRow},e.prototype.getLastVirtualRenderedRow=function(){return this.lastRenderedRow},e.prototype.keepRowBecauseEditingOrFocused=function(t){var e=t.getRowNode(),o=this.focusedCellController.isRowNodeFocused(e),n=t.isEditing();return(o||n)&&!!this.paginationProxy.isRowPresent(e)||!1},e.prototype.createRowComp=function(t,e,o){var n=this.gridOptionsWrapper.isSuppressAnimationFrame(),i=o&&!n&&!this.printLayout,r=new h.RowComp(this.$scope,this.rowContainers.body,this.rowContainers.pinnedLeft,this.rowContainers.pinnedRight,this.rowContainers.fullWidth,t,this.beans,e,i,this.printLayout,this.embedFullWidthRows);return r.init(),r},e.prototype.getRenderedNodes=function(){var t=this.rowCompsByIndex;return Object.keys(t).map((function(e){return t[e].getRowNode()}))},e.prototype.navigateToNextCell=function(t,e,o,n){for(var i;;){var r=this.getComponentForCell(o).getColSpanningList();if(e===g.Constants.KEY_RIGHT&&r.length>1&&(o=new R.GridCell({rowIndex:o.rowIndex,column:r[r.length-1],floating:o.floating})),i=this.cellNavigationService.getNextCellToFocus(e,o),N._.missing(i))break;if(!this.gridOptionsWrapper.isGroupUseEntireRow())break;if(!this.paginationProxy.getRow(i.rowIndex).group)break}if(i&&(i=this.getComponentForCell(i).getGridCell()),n){var s=this.gridOptionsWrapper.getNavigateToNextCellFunc();if(N._.exists(s)){var a=s({key:e,previousCellDef:o.getGridCellDef(),nextCellDef:i?i.getGridCellDef():null,event:t});i=N._.exists(a)?new R.GridCell(a):null}}if(i&&(this.ensureCellVisible(i),this.focusedCellController.setFocusedCell(i.rowIndex,i.column,i.floating,!0),this.rangeController)){var l=new R.GridCell({rowIndex:i.rowIndex,floating:i.floating,column:i.column});this.rangeController.setRangeToCell(l)}},e.prototype.ensureCellVisible=function(t){N._.missing(t.floating)&&this.gridPanel.ensureIndexVisible(t.rowIndex),t.column.isPinned()||this.gridPanel.ensureColumnVisible(t.column),this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter(),this.animationFrameService.flushAllFrames()},e.prototype.startEditingCell=function(t,e,o){var n=this.getComponentForCell(t);n&&n.startRowOrCellEdit(e,o)},e.prototype.getComponentForCell=function(t){var e;switch(t.floating){case g.Constants.PINNED_TOP:e=this.floatingTopRowComps[t.rowIndex];break;case g.Constants.PINNED_BOTTOM:e=this.floatingBottomRowComps[t.rowIndex];break;default:e=this.rowCompsByIndex[t.rowIndex]}return e?e.getRenderedCellForColumn(t.column):null},e.prototype.onTabKeyDown=function(t,e){var o=e.shiftKey;this.moveToCellAfter(t,o)&&e.preventDefault()},e.prototype.tabToNextCell=function(t){var e=this.focusedCellController.getFocusedCell();if(N._.missing(e))return!1;var o=this.getComponentForCell(e);return!N._.missing(o)&&this.moveToCellAfter(o,t)},e.prototype.moveToCellAfter=function(t,e){return t.isEditing()?this.gridOptionsWrapper.isFullRowEdit()?this.moveToNextEditingRow(t,e):this.moveToNextEditingCell(t,e):this.moveToNextCellNotEditing(t,e)},e.prototype.moveToNextEditingCell=function(t,e){var o=t.getGridCell();t.stopEditing();var n=this.findNextCellToFocusOn(o,e,!0),i=N._.exists(n);return i&&(n.startEditingIfEnabled(null,null,!0),n.focusCell(!1)),i},e.prototype.moveToNextEditingRow=function(t,e){var o=t.getGridCell(),n=this.findNextCellToFocusOn(o,e,!0),i=N._.exists(n);return i&&this.moveEditToNextCellOrRow(t,n),i},e.prototype.moveToNextCellNotEditing=function(t,e){var o=t.getGridCell(),n=this.findNextCellToFocusOn(o,e,!1),i=N._.exists(n);return i&&n.focusCell(!0),i},e.prototype.moveEditToNextCellOrRow=function(t,e){var o=t.getGridCell(),n=e.getGridCell();if(o.rowIndex===n.rowIndex&&o.floating===n.floating)t.setFocusOutOnEditor(),e.setFocusInOnEditor();else{var i=t.getRenderedRow(),r=e.getRenderedRow();t.setFocusOutOnEditor(),i.stopEditing(),r.startRowEditing(),e.setFocusInOnEditor()}e.focusCell()},e.prototype.findNextCellToFocusOn=function(t,e,o){for(var n=t;;){n=this.cellNavigationService.getNextTabbedCell(n,e);var i=this.gridOptionsWrapper.getTabToNextCellFunc();if(N._.exists(i)){var r=i({backwards:e,editing:o,previousCellDef:t.getGridCellDef(),nextCellDef:n?n.getGridCellDef():null});n=N._.exists(r)?new R.GridCell(r):null}if(!n)return null;if(o){var s=this.lookupRowNodeForCell(n);if(!n.column.isCellEditable(s))continue}N._.missing(n.floating)&&this.gridPanel.ensureIndexVisible(n.rowIndex),n.column.isPinned()||this.gridPanel.ensureColumnVisible(n.column),this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter(),this.animationFrameService.flushAllFrames();var a=this.getComponentForCell(n);if(!N._.missing(a)&&!a.isSuppressNavigable())return this.rangeController&&(t=new R.GridCell({rowIndex:n.rowIndex,floating:n.floating,column:n.column}),this.rangeController.setRangeToCell(t)),a}},e.prototype.lookupRowNodeForCell=function(t){return t.floating===g.Constants.PINNED_TOP?this.pinnedRowModel.getPinnedTopRow(t.rowIndex):t.floating===g.Constants.PINNED_BOTTOM?this.pinnedRowModel.getPinnedBottomRow(t.rowIndex):this.paginationProxy.getRow(t.rowIndex)},r([v.Autowired("paginationProxy"),s("design:type",O.PaginationProxy)],e.prototype,"paginationProxy",void 0),r([v.Autowired("columnController"),s("design:type",C.ColumnController)],e.prototype,"columnController",void 0),r([v.Autowired("gridOptionsWrapper"),s("design:type",l.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([v.Autowired("$scope"),s("design:type",Object)],e.prototype,"$scope",void 0),r([v.Autowired("expressionService"),s("design:type",p.ExpressionService)],e.prototype,"expressionService",void 0),r([v.Autowired("templateService"),s("design:type",u.TemplateService)],e.prototype,"templateService",void 0),r([v.Autowired("valueService"),s("design:type",c.ValueService)],e.prototype,"valueService",void 0),r([v.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([v.Autowired("pinnedRowModel"),s("design:type",b.PinnedRowModel)],e.prototype,"pinnedRowModel",void 0),r([v.Autowired("loggerFactory"),s("design:type",E.LoggerFactory)],e.prototype,"loggerFactory",void 0),r([v.Autowired("focusedCellController"),s("design:type",w.FocusedCellController)],e.prototype,"focusedCellController",void 0),r([v.Autowired("cellNavigationService"),s("design:type",_.CellNavigationService)],e.prototype,"cellNavigationService",void 0),r([v.Autowired("columnApi"),s("design:type",m.ColumnApi)],e.prototype,"columnApi",void 0),r([v.Autowired("gridApi"),s("design:type",T.GridApi)],e.prototype,"gridApi",void 0),r([v.Autowired("beans"),s("design:type",A.Beans)],e.prototype,"beans",void 0),r([v.Autowired("maxDivHeightScaler"),s("design:type",D.MaxDivHeightScaler)],e.prototype,"maxDivHeightScaler",void 0),r([v.Autowired("animationFrameService"),s("design:type",P.AnimationFrameService)],e.prototype,"animationFrameService",void 0),r([v.Optional("rangeController"),s("design:type",Object)],e.prototype,"rangeController",void 0),r([a(0,v.Qualifier("loggerFactory")),s("design:type",Function),s("design:paramtypes",[E.LoggerFactory]),s("design:returntype",void 0)],e.prototype,"agWire",null),r([v.Bean("rowRenderer")],e)}(S.BeanStub);e.RowRenderer=F},10190:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44081),a=o(98239),l=o(60843),p=o(37132),u=o(63405),c=o(72493),d=o(72493),h=o(72493),f=o(72493),g=function(){function t(){this.consuming=!1}return t.prototype.setBeans=function(t){this.logger=t.create("AlignedGridsService")},t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.init=function(){this.eventService.addEventListener(u.Events.EVENT_COLUMN_MOVED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_VISIBLE,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_PINNED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_GROUP_OPENED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_RESIZED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_BODY_SCROLL,this.fireScrollEvent.bind(this))},t.prototype.fireEvent=function(t){if(!this.consuming){var e=this.gridOptionsWrapper.getAlignedGrids();e&&e.forEach((function(e){if(e.api){var o=e.api.__getAlignedGridService();t(o)}}))}},t.prototype.onEvent=function(t){this.consuming=!0,t(),this.consuming=!1},t.prototype.fireColumnEvent=function(t){this.fireEvent((function(e){e.onColumnEvent(t)}))},t.prototype.fireScrollEvent=function(t){"horizontal"===t.direction&&this.fireEvent((function(e){e.onScrollEvent(t)}))},t.prototype.onScrollEvent=function(t){var e=this;this.onEvent((function(){e.gridPanel.setHorizontalScrollPosition(t.left)}))},t.prototype.getMasterColumns=function(t){var e=[];return t.columns?t.columns.forEach((function(t){e.push(t)})):t.column&&e.push(t.column),e},t.prototype.getColumnIds=function(t){var e=[];return t.columns?t.columns.forEach((function(t){e.push(t.getColId())})):t.column&&e.push(t.column.getColId()),e},t.prototype.onColumnEvent=function(t){var e=this;this.onEvent((function(){switch(t.type){case u.Events.EVENT_COLUMN_MOVED:case u.Events.EVENT_COLUMN_VISIBLE:case u.Events.EVENT_COLUMN_PINNED:case u.Events.EVENT_COLUMN_RESIZED:var o=t;e.processColumnEvent(o);break;case u.Events.EVENT_COLUMN_GROUP_OPENED:var n=t;e.processGroupOpenedEvent(n);break;case u.Events.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(t){var e,o=t.columnGroup;if(o){var n=o.getGroupId();e=this.columnController.getOriginalColumnGroup(n)}o&&!e||(this.logger.log("onColumnEvent-> processing "+t+" expanded = "+o.isExpanded()),this.columnController.setColumnGroupOpened(e,o.isExpanded(),"alignedGridChanged"))},t.prototype.processColumnEvent=function(t){var e,o=this,n=t.column;if(n&&(e=this.columnController.getPrimaryColumn(n.getColId())),!n||e){var i=this.getColumnIds(t),r=this.getMasterColumns(t);switch(t.type){case u.Events.EVENT_COLUMN_MOVED:var s=t;this.logger.log("onColumnEvent-> processing "+t.type+" toIndex = "+s.toIndex),this.columnController.moveColumns(i,s.toIndex,"alignedGridChanged");break;case u.Events.EVENT_COLUMN_VISIBLE:var a=t;this.logger.log("onColumnEvent-> processing "+t.type+" visible = "+a.visible),this.columnController.setColumnsVisible(i,a.visible,"alignedGridChanged");break;case u.Events.EVENT_COLUMN_PINNED:var l=t;this.logger.log("onColumnEvent-> processing "+t.type+" pinned = "+l.pinned),this.columnController.setColumnsPinned(i,l.pinned,"alignedGridChanged");break;case u.Events.EVENT_COLUMN_RESIZED:var p=t;r.forEach((function(e){o.logger.log("onColumnEvent-> processing "+t.type+" actualWidth = "+e.getActualWidth()),o.columnController.setColumnWidth(e.getColId(),e.getActualWidth(),!1,p.finished,"alignedGridChanged")}))}var c=this.gridPanel.isVerticalScrollShowing();this.gridOptionsWrapper.getAlignedGrids().forEach((function(t){t.api.setAlwaysShowVerticalScroll(c)}))}},n([h.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([h.Autowired("columnController"),i("design:type",a.ColumnController)],t.prototype,"columnController",void 0),n([h.Autowired("eventService"),i("design:type",l.EventService)],t.prototype,"eventService",void 0),n([r(0,d.Qualifier("loggerFactory")),i("design:type",Function),i("design:paramtypes",[p.LoggerFactory]),i("design:returntype",void 0)],t.prototype,"setBeans",null),n([f.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([c.Bean("alignedGridsService")],t)}();e.AlignedGridsService=g},10559:(t,e,o)=>{var n=o(40846).m,i=o(66346).Hash;function r(t){this.cachedHashCode=t}function s(){return this.cache={},this}function a(t,e){var o=0;if(null!==t){var n=new i;n.update(t,e),o=n.finish()}r.call(this,o),this.parentCtx=t,this.returnState=e}function l(){return a.call(this,null,r.EMPTY_RETURN_STATE),this}function p(t,e){var o=new i;o.update(t,e);var n=o.finish();return r.call(this,n),this.parents=t,this.returnStates=e,this}r.EMPTY=null,r.EMPTY_RETURN_STATE=2147483647,r.globalNodeCount=1,r.id=r.globalNodeCount,r.prototype.isEmpty=function(){return this===r.EMPTY},r.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===r.EMPTY_RETURN_STATE},r.prototype.hashCode=function(){return this.cachedHashCode},r.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},s.prototype.add=function(t){if(t===r.EMPTY)return r.EMPTY;var e=this.cache[t]||null;return null!==e?e:(this.cache[t]=t,t)},s.prototype.get=function(t){return this.cache[t]||null},Object.defineProperty(s.prototype,"length",{get:function(){return this.cache.length}}),a.prototype=Object.create(r.prototype),a.prototype.contructor=a,a.create=function(t,e){return e===r.EMPTY_RETURN_STATE&&null===t?r.EMPTY:new a(t,e)},Object.defineProperty(a.prototype,"length",{get:function(){return 1}}),a.prototype.getParent=function(t){return this.parentCtx},a.prototype.getReturnState=function(t){return this.returnState},a.prototype.equals=function(t){return this===t||t instanceof a&&this.hashCode()===t.hashCode()&&this.returnState===t.returnState&&(null==this.parentCtx?null==t.parentCtx:this.parentCtx.equals(t.parentCtx))},a.prototype.toString=function(){var t=null===this.parentCtx?"":this.parentCtx.toString();return 0===t.length?this.returnState===r.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+t},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.isEmpty=function(){return!0},l.prototype.getParent=function(t){return null},l.prototype.getReturnState=function(t){return this.returnState},l.prototype.equals=function(t){return this===t},l.prototype.toString=function(){return"$"},r.EMPTY=new l,p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.isEmpty=function(){return this.returnStates[0]===r.EMPTY_RETURN_STATE},Object.defineProperty(p.prototype,"length",{get:function(){return this.returnStates.length}}),p.prototype.getParent=function(t){return this.parents[t]},p.prototype.getReturnState=function(t){return this.returnStates[t]},p.prototype.equals=function(t){return this===t||t instanceof p&&this.hashCode()===t.hashCode()&&this.returnStates===t.returnStates&&this.parents===t.parents},p.prototype.toString=function(){if(this.isEmpty())return"[]";for(var t="[",e=0;e<this.returnStates.length;e++)e>0&&(t+=", "),this.returnStates[e]!==r.EMPTY_RETURN_STATE?(t+=this.returnStates[e],null!==this.parents[e]?t=t+" "+this.parents[e]:t+="null"):t+="$";return t+"]"},e.merge=function t(e,o,n,i){if(e===o)return e;if(e instanceof a&&o instanceof a)return function(e,o,n,i){if(null!==i){var s=i.get(e,o);if(null!==s)return s;if(null!==(s=i.get(o,e)))return s}var l=function(t,e,o){if(o){if(t===r.EMPTY)return r.EMPTY;if(e===r.EMPTY)return r.EMPTY}else{if(t===r.EMPTY&&e===r.EMPTY)return r.EMPTY;if(t===r.EMPTY){var n=[e.returnState,r.EMPTY_RETURN_STATE];return new p([e.parentCtx,null],n)}if(e===r.EMPTY)return n=[t.returnState,r.EMPTY_RETURN_STATE],new p([t.parentCtx,null],n)}return null}(e,o,n);if(null!==l)return null!==i&&i.set(e,o,l),l;if(e.returnState===o.returnState){var u=t(e.parentCtx,o.parentCtx,n,i);if(u===e.parentCtx)return e;if(u===o.parentCtx)return o;var c=a.create(u,e.returnState);return null!==i&&i.set(e,o,c),c}var d=null;if((e===o||null!==e.parentCtx&&e.parentCtx===o.parentCtx)&&(d=e.parentCtx),null!==d){var h=[e.returnState,o.returnState];e.returnState>o.returnState&&(h[0]=o.returnState,h[1]=e.returnState);var f=new p(g=[d,d],h);return null!==i&&i.set(e,o,f),f}h=[e.returnState,o.returnState];var g=[e.parentCtx,o.parentCtx];e.returnState>o.returnState&&(h[0]=o.returnState,h[1]=e.returnState,g=[o.parentCtx,e.parentCtx]);var y=new p(g,h);return null!==i&&i.set(e,o,y),y}(e,o,n,i);if(n){if(e instanceof l)return e;if(o instanceof l)return o}return e instanceof a&&(e=new p([e.getParent()],[e.returnState])),o instanceof a&&(o=new p([o.getParent()],[o.returnState])),function(e,o,n,i){if(null!==i){var s=i.get(e,o);if(null!==s)return s;if(null!==(s=i.get(o,e)))return s}for(var l=0,u=0,c=0,d=[],h=[];l<e.returnStates.length&&u<o.returnStates.length;){var f=e.parents[l],g=o.parents[u];if(e.returnStates[l]===o.returnStates[u]){var y=e.returnStates[l];if(y===r.EMPTY_RETURN_STATE&&null===f&&null===g||null!==f&&null!==g&&f===g)h[c]=f,d[c]=y;else{var v=t(f,g,n,i);h[c]=v,d[c]=y}l+=1,u+=1}else e.returnStates[l]<o.returnStates[u]?(h[c]=f,d[c]=e.returnStates[l],l+=1):(h[c]=g,d[c]=o.returnStates[u],u+=1);c+=1}if(l<e.returnStates.length)for(var m=l;m<e.returnStates.length;m++)h[c]=e.parents[m],d[c]=e.returnStates[m],c+=1;else for(m=u;m<o.returnStates.length;m++)h[c]=o.parents[m],d[c]=o.returnStates[m],c+=1;if(c<h.length){if(1===c){var C=a.create(h[0],d[0]);return null!==i&&i.set(e,o,C),C}h=h.slice(0,c),d=d.slice(0,c)}var E=new p(h,d);return E===e?(null!==i&&i.set(e,o,e),e):E===o?(null!==i&&i.set(e,o,o),o):(function(t){for(var e={},o=0;o<t.length;o++){var n=t[o];n in e||(e[n]=n)}for(var i=0;i<t.length;i++)t[i]=e[t[i]]}(h),null!==i&&i.set(e,o,E),E)}(e,o,n,i)},e.PredictionContext=r,e.PredictionContextCache=s,e.SingletonPredictionContext=a,e.predictionContextFromRuleContext=function t(e,o){if(null==o&&(o=n.EMPTY),null===o.parentCtx||o===n.EMPTY)return r.EMPTY;var i=t(e,o.parentCtx),s=e.states[o.invokingState].transitions[0];return a.create(i,s.followState.stateNumber)},e.getCachedPredictionContext=function t(e,o,n){if(e.isEmpty())return e;var i=n[e]||null;if(null!==i)return i;if(null!==(i=o.get(e)))return n[e]=i,i;for(var s=!1,l=[],u=0;u<l.length;u++){var c=t(e.getParent(u),o,n);if(s||c!==e.getParent(u)){if(!s){l=[];for(var d=0;d<e.length;d++)l[d]=e.getParent(d);s=!0}l[u]=c}}if(!s)return o.add(e),n[e]=e,e;var h;return h=0===l.length?r.EMPTY:1===l.length?a.create(l[0],e.getReturnState(0)):new p(l,e.returnStates),o.add(h),n[h]=h,n[e]=h,h}},10848:(t,e,o)=>{var n=o(76966);t.exports=function(t){var e,o=this,i=[].slice.call(arguments);e=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return o.apply(this,arguments)},n(e,o);var r=function(){this.constructor=e};return r.prototype=o.prototype,e.prototype=new r,t&&(i.unshift(e.prototype),n.apply(null,i)),e.__super__=o.prototype,e}},12240:(t,e,o)=>{o.d(e,{Ch:()=>J,Di:()=>R,Kq:()=>j,M3:()=>A,Tt:()=>v,b8:()=>pt,bD:()=>l,eM:()=>q,hL:()=>d,iM:()=>rt,u1:()=>m,u6:()=>k,xn:()=>x});var n,i="vercel.ai.error",r=Symbol.for(i),s=class t extends Error{constructor({name:t,message:e,cause:o}){super(e),this[n]=!0,this.name=t,this.cause=o}static isInstance(e){return t.hasMarker(e,i)}static hasMarker(t,e){const o=Symbol.for(e);return null!=t&&"object"==typeof t&&o in t&&"boolean"==typeof t[o]&&!0===t[o]}};n=r;var a,l=s,p="AI_APICallError",u=`vercel.ai.error.${p}`,c=Symbol.for(u),d=class extends l{constructor({message:t,url:e,requestBodyValues:o,statusCode:n,responseHeaders:i,responseBody:r,cause:s,isRetryable:l=null!=n&&(408===n||409===n||429===n||n>=500),data:u}){super({name:p,message:t,cause:s}),this[a]=!0,this.url=e,this.requestBodyValues=o,this.statusCode=n,this.responseHeaders=i,this.responseBody=r,this.isRetryable=l,this.data=u}static isInstance(t){return l.hasMarker(t,u)}};a=c;var h,f="AI_EmptyResponseBodyError",g=`vercel.ai.error.${f}`,y=Symbol.for(g),v=class extends l{constructor({message:t="Empty response body"}={}){super({name:f,message:t}),this[h]=!0}static isInstance(t){return l.hasMarker(t,g)}};function m(t){return null==t?"unknown error":"string"==typeof t?t:t instanceof Error?t.message:JSON.stringify(t)}h=y;var C,E="AI_InvalidArgumentError",w=`vercel.ai.error.${E}`,_=Symbol.for(w),R=class extends l{constructor({message:t,cause:e,argument:o}){super({name:E,message:t,cause:e}),this[C]=!0,this.argument=o}static isInstance(t){return l.hasMarker(t,w)}};C=_;var S,O="AI_InvalidPromptError",T=`vercel.ai.error.${O}`,b=Symbol.for(T),A=class extends l{constructor({prompt:t,message:e,cause:o}){super({name:O,message:`Invalid prompt: ${e}`,cause:o}),this[S]=!0,this.prompt=t}static isInstance(t){return l.hasMarker(t,T)}};S=b;var P,D="AI_InvalidResponseDataError",N=`vercel.ai.error.${D}`,F=Symbol.for(N),x=class extends l{constructor({data:t,message:e=`Invalid response data: ${JSON.stringify(t)}.`}){super({name:D,message:e}),this[P]=!0,this.data=t}static isInstance(t){return l.hasMarker(t,N)}};P=F;var I,L="AI_JSONParseError",M=`vercel.ai.error.${L}`,G=Symbol.for(M),k=class extends l{constructor({text:t,cause:e}){super({name:L,message:`JSON parsing failed: Text: ${t}.\nError message: ${m(e)}`,cause:e}),this[I]=!0,this.text=t}static isInstance(t){return l.hasMarker(t,M)}};I=G;var W,H="AI_LoadAPIKeyError",V=`vercel.ai.error.${H}`,B=Symbol.for(V),j=class extends l{constructor({message:t}){super({name:H,message:t}),this[W]=!0}static isInstance(t){return l.hasMarker(t,V)}};W=B;Symbol.for("vercel.ai.error.AI_LoadSettingError"),Symbol.for("vercel.ai.error.AI_NoContentGeneratedError");var U,z="AI_NoSuchModelError",Y=`vercel.ai.error.${z}`,K=Symbol.for(Y),q=class extends l{constructor({errorName:t=z,modelId:e,modelType:o,message:n=`No such ${o}: ${e}`}){super({name:t,message:n}),this[U]=!0,this.modelId=e,this.modelType=o}static isInstance(t){return l.hasMarker(t,Y)}};U=K;var Q,$="AI_TooManyEmbeddingValuesForCallError",X=`vercel.ai.error.${$}`,Z=Symbol.for(X),J=class extends l{constructor(t){super({name:$,message:`Too many values for a single embedding call. The ${t.provider} model "${t.modelId}" can only embed up to ${t.maxEmbeddingsPerCall} values per call, but ${t.values.length} values were provided.`}),this[Q]=!0,this.provider=t.provider,this.modelId=t.modelId,this.maxEmbeddingsPerCall=t.maxEmbeddingsPerCall,this.values=t.values}static isInstance(t){return l.hasMarker(t,X)}};Q=Z;var tt,et="AI_TypeValidationError",ot=`vercel.ai.error.${et}`,nt=Symbol.for(ot);tt=nt;var it,rt=class t extends l{constructor({value:t,cause:e}){super({name:et,message:`Type validation failed: Value: ${JSON.stringify(t)}.\nError message: ${m(e)}`,cause:e}),this[tt]=!0,this.value=t}static isInstance(t){return l.hasMarker(t,ot)}static wrap({value:e,cause:o}){return t.isInstance(o)&&o.value===e?o:new t({value:e,cause:o})}},st="AI_UnsupportedFunctionalityError",at=`vercel.ai.error.${st}`,lt=Symbol.for(at),pt=class extends l{constructor({functionality:t,message:e=`'${t}' functionality not supported.`}){super({name:st,message:e}),this[it]=!0,this.functionality=t}static isInstance(t){return l.hasMarker(t,at)}};it=lt},12598:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.existingIds={}}return t.prototype.getInstanceIdForKey=function(t){var e,o=this.existingIds[t];return e="number"!=typeof o?0:o+1,this.existingIds[t]=e,e},t}();e.GroupInstanceIdCreator=o},13650:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a,l=o(22131),p=o(47721),u=o(72493),c=o(44081),d=o(83423);!function(t){t[t.MAIN=0]="MAIN",t[t.CONDITION=1]="CONDITION"}(a=e.FilterConditionType||(e.FilterConditionType={}));var h={loadingOoo:"Loading...",empty:"Choose One",equals:"Equals",notEqual:"Not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"In range",lessThanOrEqual:"Less than or equals",greaterThanOrEqual:"Greater than or equals",filterOoo:"Filter...",contains:"Contains",notContains:"Not contains",startsWith:"Starts with",endsWith:"Ends with",searchOoo:"Search...",selectAll:"Select All",applyFilter:"Apply Filter",clearFilter:"Clear Filter",andCondition:"AND",orCondition:"OR"},f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.customFilterOptions={},e}return i(e,t),e.prototype.init=function(t){var e=this;if(this.filterParams=t,this.defaultFilter=this.filterParams.defaultOption,t.filterOptions&&t.filterOptions.forEach((function(t){"string"!=typeof t&&(t.displayKey?t.displayName?t.test?e.customFilterOptions[t.displayKey]=t:console.warn("ag-Grid: ignoring FilterOptionDef as it doesn't contain a 'test'"):console.warn("ag-Grid: ignoring FilterOptionDef as it doesn't contain a 'displayName'"):console.warn("ag-Grid: ignoring FilterOptionDef as it doesn't contain a 'displayKey'"))})),this.filterParams.filterOptions&&!this.defaultFilter){var o=this.filterParams.filterOptions[0];"string"==typeof o?this.defaultFilter=o:o.displayKey?this.defaultFilter=o.displayKey:console.warn("ag-Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'")}this.customInit(),this.selectedFilter=this.defaultFilter,this.selectedFilterCondition=this.defaultFilter,this.clearActive=!0===t.clearButton,this.applyActive=!0===t.applyButton||!0===t.apply,this.newRowsActionKeep="keep"===t.newRowsAction,this.setTemplate(this.generateTemplate()),d._.setVisible(this.eApplyButton,this.applyActive),this.applyActive&&this.addDestroyableEventListener(this.eApplyButton,"click",this.filterParams.filterChangedCallback),d._.setVisible(this.eClearButton,this.clearActive),this.clearActive&&this.addDestroyableEventListener(this.eClearButton,"click",this.onClearButton.bind(this));var n=this.applyActive||this.clearActive;d._.setVisible(this.eButtonsPanel,n),this.initialiseFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.MAIN)},e.prototype.onClearButton=function(){this.setModel(null),this.onFilterChanged()},e.prototype.floatingFilter=function(t){if(""!==t){var e=this.modelFromFloatingFilter(t);this.setModel(e)}else this.resetState();this.onFilterChanged()},e.prototype.onNewRowsLoaded=function(){this.newRowsActionKeep||this.resetState()},e.prototype.getModel=function(){return this.isFilterActive()?this.isFilterConditionActive(a.CONDITION)?{condition1:this.serialize(a.MAIN),condition2:this.serialize(a.CONDITION),operator:this.conditionValue}:this.serialize(a.MAIN):null},e.prototype.getNullableModel=function(){return this.isFilterConditionActive(a.CONDITION)?{condition1:this.serialize(a.MAIN),condition2:this.serialize(a.CONDITION),operator:this.conditionValue}:this.serialize(a.MAIN)},e.prototype.setModel=function(t){if(t)if(t.operator){var e=t;this.parse(e.condition1,a.MAIN),this.parse(e.condition2,a.CONDITION),this.conditionValue=e.operator}else this.resetState(),this.parse(t,a.MAIN);else this.resetState();this.redrawCondition(),this.refreshFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.CONDITION)},e.prototype.doOnFilterChanged=function(t){void 0===t&&(t=!1),this.filterParams.filterModifiedCallback();var e=this.applyActive&&t,o=!this.applyActive||e;return o&&this.filterParams.filterChangedCallback(),this.refreshFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.CONDITION),o},e.prototype.onFilterChanged=function(t){void 0===t&&(t=!1),this.doOnFilterChanged(t),this.redrawCondition(),this.refreshFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.CONDITION)},e.prototype.redrawCondition=function(){var t=this,e=this.eFilterBodyWrapper.querySelector(".ag-filter-condition");if(!e&&this.isFilterActive()&&this.acceptsBooleanLogic()){this.eConditionWrapper=d._.loadTemplate(this.createConditionTemplate(a.CONDITION)),this.eFilterBodyWrapper.appendChild(this.eConditionWrapper),this.wireQuerySelectors();var o=this.refreshOperatorUi(),n=o.andButton,i=o.orButton;this.addDestroyableEventListener(n,"change",(function(){t.conditionValue="AND",t.onFilterChanged()})),this.addDestroyableEventListener(i,"change",(function(){t.conditionValue="OR",t.onFilterChanged()})),this.initialiseFilterBodyUi(a.CONDITION)}else e&&!this.isFilterActive()?(this.conditionValue="AND",this.resetState(!0),this.eFilterBodyWrapper.removeChild(this.eConditionWrapper),this.eConditionWrapper=null):(this.refreshFilterBodyUi(a.CONDITION),this.eConditionWrapper&&this.refreshOperatorUi())},e.prototype.refreshOperatorUi=function(){var t=this.eConditionWrapper.querySelector(".and"),e=this.eConditionWrapper.querySelector(".or");return this.conditionValue=null==this.conditionValue?"AND":this.conditionValue,t.checked="AND"===this.conditionValue,e.checked="OR"===this.conditionValue,{andButton:t,orButton:e}},e.prototype.onFloatingFilterChanged=function(t){var e=t;if(null==e)this.setModel(null);else if(this.isFilterConditionActive(a.CONDITION)){var o={condition1:e.model,condition2:this.serialize(a.CONDITION),operator:this.conditionValue};this.setModel(o)}else this.setModel(e?e.model:null);return this.doOnFilterChanged(!!e&&e.apply)},e.prototype.generateFilterHeader=function(t){return""},e.prototype.generateTemplate=function(){var t=this.translate.bind(this),e=this.createConditionBody(a.MAIN);return"<div>\n <div class='ag-filter-body-wrapper'>"+(this.acceptsBooleanLogic()?this.wrapCondition(e):e)+'</div>\n <div class="ag-filter-apply-panel" id="applyPanel">\n <button type="button" id="clearButton">'+t("clearFilter")+'</button>\n <button type="button" id="applyButton">'+t("applyFilter")+"</button>\n </div>\n </div>"},e.prototype.acceptsBooleanLogic=function(){return!1},e.prototype.wrapCondition=function(t){return this.isFilterActive()?""+t+this.createConditionTemplate(a.CONDITION):t},e.prototype.createConditionTemplate=function(t){return'<div class="ag-filter-condition">\n <input id="andId" type="radio" class="and" name="booleanLogic" value='+this.translate("AND")+'\n checked="checked" /><label style="display: inline" for="andId">'+this.translate("andCondition")+'</label>\n <input id="orId" type="radio" class="or" name="booleanLogic" value="OR" /><label style="display: inline"\n for="orId">'+this.translate("orCondition")+"</label>\n <div>"+this.createConditionBody(t)+"</div>\n </div>"},e.prototype.createConditionBody=function(t){var e=this.bodyTemplate(t);return this.generateFilterHeader(t)+e},e.prototype.translate=function(t){var e=this.gridOptionsWrapper.getLocaleTextFunc(),o=h[t];return!o&&this.customFilterOptions[t]&&(o=this.customFilterOptions[t].displayName),e(t,o)},e.prototype.getDebounceMs=function(t){return this.applyActive?(null!=t.debounceMs&&console.warn("ag-Grid: debounceMs is ignored when applyButton = true"),0):null!=t.debounceMs?t.debounceMs:500},e.prototype.doesFilterHaveHiddenInput=function(t){var e=this.customFilterOptions[t];return e&&e.hideFilterInput},e.EMPTY="empty",e.EQUALS="equals",e.NOT_EQUAL="notEqual",e.LESS_THAN="lessThan",e.LESS_THAN_OR_EQUAL="lessThanOrEqual",e.GREATER_THAN="greaterThan",e.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",e.IN_RANGE="inRange",e.CONTAINS="contains",e.NOT_CONTAINS="notContains",e.STARTS_WITH="startsWith",e.ENDS_WITH="endsWith",r([p.QuerySelector("#applyPanel"),s("design:type",HTMLElement)],e.prototype,"eButtonsPanel",void 0),r([p.QuerySelector(".ag-filter-body-wrapper"),s("design:type",HTMLElement)],e.prototype,"eFilterBodyWrapper",void 0),r([p.QuerySelector("#applyButton"),s("design:type",HTMLElement)],e.prototype,"eApplyButton",void 0),r([p.QuerySelector("#clearButton"),s("design:type",HTMLElement)],e.prototype,"eClearButton",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",c.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(l.Component);e.BaseFilter=f;var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.doesFilterPass=function(t){var e=this.individualFilterPasses(t,a.MAIN);if(null==this.eTypeConditionSelector)return e;var o=this.individualFilterPasses(t,a.CONDITION);return"AND"===this.conditionValue?e&&o:e||o},e.prototype.init=function(e){t.prototype.init.call(this,e),this.suppressAndOrCondition=e.suppressAndOrCondition},e.prototype.customInit=function(){this.defaultFilter||(this.defaultFilter=this.getDefaultType())},e.prototype.acceptsBooleanLogic=function(){return!0!==this.suppressAndOrCondition},e.prototype.generateFilterHeader=function(t){var e=this,o=this.getApplicableFilterTypes(),n=(this.filterParams.filterOptions||o).map((function(t){var o="string"==typeof t?t:t.displayKey;return'<option value="'+o+'">'+e.translate(o)+"</option>"})),i=1==n.length?"disabled":"",r=t==a.MAIN?"filterType":"filterConditionType";return n.length<=0?"":'<div>\n <select class="ag-filter-select" id="'+r+'" '+i+">\n "+n.join("")+"\n </select>\n </div>"},e.prototype.initialiseFilterBodyUi=function(t){var e=this;t===a.MAIN?(this.setFilterType(this.selectedFilter,t),this.addDestroyableEventListener(this.eTypeSelector,"change",(function(){return e.onFilterTypeChanged(t)}))):(this.setFilterType(this.selectedFilterCondition,t),this.addDestroyableEventListener(this.eTypeConditionSelector,"change",(function(){return e.onFilterTypeChanged(t)})))},e.prototype.onFilterTypeChanged=function(t){var e=this.selectedFilter;t===a.MAIN?this.selectedFilter=this.eTypeSelector.value:this.selectedFilterCondition=this.eTypeConditionSelector.value,this.refreshFilterBodyUi(t);var o=this.doesFilterHaveHiddenInput(e);(this.isFilterActive()||o)&&(this.selectedFilter===f.EMPTY&&this.resetState(),this.onFilterChanged())},e.prototype.isFilterActive=function(){if(this.doesFilterHaveHiddenInput(this.selectedFilter))return!0;var t=this.filterValues(a.MAIN);if(t&&this.selectedFilter===f.IN_RANGE){var e=t;return null!=e[0]&&null!=e[1]}return null!=t},e.prototype.setFilterType=function(t,e){if(e===a.MAIN){if(this.selectedFilter=t,!this.eTypeSelector)return;this.eTypeSelector.value=t}else{if(this.selectedFilterCondition=t,!this.eTypeConditionSelector)return;this.eTypeConditionSelector.value=t}},e.prototype.isFilterConditionActive=function(t){return null!=this.filterValues(t)},r([p.QuerySelector("#filterType"),s("design:type",HTMLSelectElement)],e.prototype,"eTypeSelector",void 0),r([p.QuerySelector("#filterConditionType"),s("design:type",HTMLSelectElement)],e.prototype,"eTypeConditionSelector",void 0),e}(f);e.ComparableBaseFilter=g;var y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.nullComparator=function(t){var e=this;return function(o,n){if(null==n){var i=e.translateNull(t);if(e.selectedFilter===f.EMPTY)return 0;if(e.selectedFilter===f.EQUALS)return i?0:1;if(e.selectedFilter===f.GREATER_THAN)return i?1:-1;if(e.selectedFilter===f.GREATER_THAN_OR_EQUAL)return i?1:-1;if(e.selectedFilter===f.LESS_THAN_OR_EQUAL)return i?-1:1;if(e.selectedFilter===f.LESS_THAN)return i?-1:1;if(e.selectedFilter===f.NOT_EQUAL)return i?1:0}return e.comparator()(o,n)}},e.prototype.getDefaultType=function(){return f.EQUALS},e.prototype.translateNull=function(t){var o=t.indexOf("greater")>-1?"greaterThan":t.indexOf("lessThan")>-1?"lessThan":"equals";return this.filterParams.nullComparator&&this.filterParams.nullComparator[o]?this.filterParams.nullComparator[o]:e.DEFAULT_NULL_COMPARATOR[o]},e.prototype.individualFilterPasses=function(t,e){return this.doIndividualFilterPasses(t,e,e===a.MAIN?this.selectedFilter:this.selectedFilterCondition)},e.prototype.doIndividualFilterPasses=function(t,e,o){var n=this.filterParams.valueGetter(t.node),i=this.filterValues(e),r=Array.isArray(i)?i[0]:i,s=this.customFilterOptions[o];if(s&&(null!=r||s.hideFilterInput))return s.test(r,n);if(null==r)return e===a.MAIN||"AND"===this.conditionValue;var l=this.nullComparator(o),p=l(r,n);if(o===f.EMPTY)return!1;if(o===f.EQUALS)return 0===p;if(o===f.GREATER_THAN)return p>0;if(o===f.GREATER_THAN_OR_EQUAL)return p>=0;if(o===f.LESS_THAN_OR_EQUAL)return p<=0;if(o===f.LESS_THAN)return p<0;if(o===f.NOT_EQUAL)return 0!=p;var u=l(i[1],n);if(o===f.IN_RANGE)return this.filterParams.inRangeInclusive?p>=0&&u<=0:p>0&&u<0;throw new Error("Unexpected type of filter: "+o)},e.DEFAULT_NULL_COMPARATOR={equals:!1,lessThan:!1,greaterThan:!1},e}(g);e.ScalarBaseFilter=y},13887:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(60843),a=o(63405),l=o(98239),p=o(44871),u=o(40797),c=o(44081),d=function(){function t(){}return t.prototype.setScrollsVisible=function(t){if(this.horizontalScrollShowing!==t.horizontalScrollShowing||this.verticalScrollShowing!==t.verticalScrollShowing){this.horizontalScrollShowing=t.horizontalScrollShowing,this.verticalScrollShowing=t.verticalScrollShowing;var e={type:a.Events.EVENT_SCROLL_VISIBILITY_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}},t.prototype.isHorizontalScrollShowing=function(){return this.horizontalScrollShowing},t.prototype.isVerticalScrollShowing=function(){return this.verticalScrollShowing},n([r.Autowired("eventService"),i("design:type",s.EventService)],t.prototype,"eventService",void 0),n([r.Autowired("columnController"),i("design:type",l.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("columnApi"),i("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),n([r.Autowired("gridApi"),i("design:type",u.GridApi)],t.prototype,"gridApi",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",c.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Bean("scrollVisibleService")],t)}();e.ScrollVisibleService=d},15068:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(60843),s=o(63405),a=o(44081),l=o(54828),p=o(24463),u=o(98239),c=o(44871),d=o(72493),h=o(45727),f=o(88842),g=o(40797),y=o(83423),v=function(){function t(){this.childrenMapped={},this.selectable=!0,this.__objectId=t.OBJECT_ID_SEQUENCE++,this.alreadyRendered=!1,this.selected=!1}return t.prototype.setData=function(t){var e=this.data;this.data=t,this.valueCache.onDataChanged(),this.updateDataOnDetailNode(),this.checkRowSelectable();var o=this.createDataChangedEvent(t,e,!1);this.dispatchLocalEvent(o)},t.prototype.updateDataOnDetailNode=function(){this.detailNode&&(this.detailNode.data=this.data)},t.prototype.createDataChangedEvent=function(e,o,n){return{type:t.EVENT_DATA_CHANGED,node:this,oldData:o,newData:e,update:n}},t.prototype.createLocalRowEvent=function(t){return{type:t,node:this}},t.prototype.updateData=function(t){var e=this.data;this.data=t,this.updateDataOnDetailNode(),this.checkRowSelectable(),this.updateDataOnDetailNode();var o=this.createDataChangedEvent(t,e,!0);this.dispatchLocalEvent(o)},t.prototype.getRowIndexString=function(){return this.rowPinned===h.Constants.PINNED_TOP?"t-"+this.rowIndex:this.rowPinned===h.Constants.PINNED_BOTTOM?"b-"+this.rowIndex:this.rowIndex.toString()},t.prototype.createDaemonNode=function(){var e=new t;return this.context.wireBean(e),e.id=this.id,e.data=this.data,e.daemon=!0,e.selected=this.selected,e.level=this.level,e},t.prototype.setDataAndId=function(t,e){var o=y._.exists(this.id)?this.createDaemonNode():null,n=this.data;this.data=t,this.updateDataOnDetailNode(),this.setId(e),this.selectionController.syncInRowNode(this,o),this.checkRowSelectable();var i=this.createDataChangedEvent(t,n,!1);this.dispatchLocalEvent(i)},t.prototype.checkRowSelectable=function(){var t=this.gridOptionsWrapper.getIsRowSelectableFunc(),e=t&&y._.exists(this);this.setRowSelectable(!e||t(this))},t.prototype.setRowSelectable=function(e){this.selectable!==e&&(this.selectable=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_SELECTABLE_CHANGED)))},t.prototype.setId=function(t){var e=this.gridOptionsWrapper.getRowNodeIdFunc();e?this.data?this.id=e(this.data):this.id=void 0:this.id=t},t.prototype.isPixelInRange=function(t){return t>=this.rowTop&&t<this.rowTop+this.rowHeight},t.prototype.clearRowTop=function(){this.oldRowTop=this.rowTop,this.setRowTop(null)},t.prototype.setFirstChild=function(e){this.firstChild!==e&&(this.firstChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_FIRST_CHILD_CHANGED)))},t.prototype.setLastChild=function(e){this.lastChild!==e&&(this.lastChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_LAST_CHILD_CHANGED)))},t.prototype.setChildIndex=function(e){this.childIndex!==e&&(this.childIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_CHILD_INDEX_CHANGED)))},t.prototype.setRowTop=function(e){this.rowTop!==e&&(this.rowTop=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_TOP_CHANGED)))},t.prototype.setDragging=function(e){this.dragging!==e&&(this.dragging=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_DRAGGING_CHANGED)))},t.prototype.setAllChildrenCount=function(e){this.allChildrenCount!==e&&(this.allChildrenCount=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_ALL_CHILDREN_COUNT_CHANGED)))},t.prototype.setRowHeight=function(e,o){void 0===o&&(o=!1),this.rowHeight=e,this.rowHeightEstimated=o,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_HEIGHT_CHANGED))},t.prototype.setRowIndex=function(e){this.rowIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_ROW_INDEX_CHANGED))},t.prototype.setUiLevel=function(e){this.uiLevel!==e&&(this.uiLevel=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_UI_LEVEL_CHANGED)))},t.prototype.setExpanded=function(e){if(this.expanded!==e){this.expanded=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_EXPANDED_CHANGED));var o=this.createGlobalRowEvent(s.Events.EVENT_ROW_GROUP_OPENED);this.mainEventService.dispatchEvent(o),this.gridOptionsWrapper.isGroupIncludeFooter()&&this.gridApi.redrawRows({rowNodes:[this]})}},t.prototype.createGlobalRowEvent=function(t){return{type:t,node:this,data:this.data,rowIndex:this.rowIndex,rowPinned:this.rowPinned,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()}},t.prototype.dispatchLocalEvent=function(t){this.eventService&&this.eventService.dispatchEvent(t)},t.prototype.setDataValue=function(t,e){var o=this.columnController.getPrimaryColumn(t);this.valueService.setValue(this,o,e),this.dispatchCellChangedEvent(o,e)},t.prototype.setGroupValue=function(t,e){var o=this.columnController.getGridColumn(t);y._.missing(this.groupData)&&(this.groupData={}),this.groupData[o.getColId()]=e,this.dispatchCellChangedEvent(o,e)},t.prototype.setAggData=function(t){var e=this,o=y._.getAllKeysInObjects([this.aggData,t]);this.aggData=t,this.eventService&&o.forEach((function(t){var o=e.columnController.getGridColumn(t),n=e.aggData?e.aggData[t]:void 0;e.dispatchCellChangedEvent(o,n)}))},t.prototype.hasChildren=function(){return this.group||this.childrenAfterGroup&&this.childrenAfterGroup.length>0},t.prototype.isEmptyFillerNode=function(){return this.group&&y._.missingOrEmpty(this.childrenAfterGroup)},t.prototype.dispatchCellChangedEvent=function(e,o){var n={type:t.EVENT_CELL_CHANGED,node:this,column:e,newValue:o};this.dispatchLocalEvent(n)},t.prototype.resetQuickFilterAggregateText=function(){this.quickFilterAggregateText=null},t.prototype.isExpandable=function(){return this.hasChildren()||this.master},t.prototype.isSelected=function(){return this.footer?this.sibling.isSelected():this.selected},t.prototype.depthFirstSearch=function(t){this.childrenAfterGroup&&this.childrenAfterGroup.forEach((function(e){return e.depthFirstSearch(t)})),t(this)},t.prototype.calculateSelectedFromChildren=function(){var t,e=!1,o=!1,n=!1;if(this.childrenAfterGroup)for(var i=0;i<this.childrenAfterGroup.length;i++){var r=this.childrenAfterGroup[i];if(r.selectable)switch(r.isSelected()){case!0:e=!0;break;case!1:o=!0;break;default:n=!0}}t=n?void 0:!(!e||o)||!(!e&&o)&&void 0,this.selectThisNode(t)},t.prototype.setSelectedInitialValue=function(t){this.selected=t},t.prototype.setSelected=function(t,e,o){void 0===e&&(e=!1),void 0===o&&(o=!1),this.setSelectedParams({newValue:t,clearSelection:e,suppressFinishActions:o,rangeSelect:!1})},t.prototype.isRowPinned=function(){return this.rowPinned===h.Constants.PINNED_TOP||this.rowPinned===h.Constants.PINNED_BOTTOM},t.prototype.setSelectedParams=function(t){var e=this.gridOptionsWrapper.isGroupSelectsChildren(),o=!0===t.newValue,n=!0===t.clearSelection,i=!0===t.suppressFinishActions,r=!0===t.rangeSelect,a=e&&!0===t.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(t);if(r){var l=this.selectionController.getLastSelectedNode()!==this,p=this.gridOptionsWrapper.isRowSelectionMulti();if(l&&p)return this.doRowRangeSelection()}var u=0;if(a&&this.group||this.selectThisNode(o)&&u++,e&&this.group&&(u+=this.selectChildNodes(o,a)),!i){if(o&&(n||!this.gridOptionsWrapper.isRowSelectionMulti())&&(u+=this.selectionController.clearOtherNodes(this)),u>0){this.selectionController.updateGroupsFromChildrenSelections();var c={type:s.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.mainEventService.dispatchEvent(c)}o&&this.selectionController.setLastSelectedNode(this)}return u},t.prototype.doRowRangeSelection=function(){var t=0,e=this.gridOptionsWrapper.isGroupSelectsChildren(),o=this.selectionController.getLastSelectedNode();this.rowModel.getNodesInRangeForSelection(this,o).forEach((function(o){o.group&&e||o.selectThisNode(!0)&&t++})),this.selectionController.updateGroupsFromChildrenSelections();var n={type:s.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};return this.mainEventService.dispatchEvent(n),t},t.prototype.isParentOfNode=function(t){for(var e=this.parent;e;){if(e===t)return!0;e=e.parent}return!1},t.prototype.selectThisNode=function(e){if(!this.selectable||this.selected===e)return!1;this.selected=e,this.eventService&&this.dispatchLocalEvent(this.createLocalRowEvent(t.EVENT_ROW_SELECTED));var o=this.createGlobalRowEvent(s.Events.EVENT_ROW_SELECTED);return this.mainEventService.dispatchEvent(o),!0},t.prototype.selectChildNodes=function(t,e){var o=e?this.childrenAfterFilter:this.childrenAfterGroup,n=0;if(!y._.missing(o)){for(var i=0;i<o.length;i++)n+=o[i].setSelectedParams({newValue:t,clearSelection:!1,suppressFinishActions:!0,groupSelectsFiltered:e});return n}},t.prototype.addEventListener=function(t,e){this.eventService||(this.eventService=new r.EventService),this.eventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},t.prototype.onMouseEnter=function(){this.dispatchLocalEvent(this.createLocalRowEvent(t.EVENT_MOUSE_ENTER))},t.prototype.onMouseLeave=function(){this.dispatchLocalEvent(this.createLocalRowEvent(t.EVENT_MOUSE_LEAVE))},t.prototype.getFirstChildOfFirstChild=function(t){for(var e,o=this,n=!0,i=!1;n&&!i;){var r=o.parent;y._.exists(r)&&o.firstChild?r.rowGroupColumn===t&&(i=!0,e=r):n=!1,o=r}return i?e:null},t.OBJECT_ID_SEQUENCE=0,t.EVENT_ROW_SELECTED="rowSelected",t.EVENT_DATA_CHANGED="dataChanged",t.EVENT_CELL_CHANGED="cellChanged",t.EVENT_ALL_CHILDREN_COUNT_CHANGED="allChildrenCountChanged",t.EVENT_MOUSE_ENTER="mouseEnter",t.EVENT_MOUSE_LEAVE="mouseLeave",t.EVENT_HEIGHT_CHANGED="heightChanged",t.EVENT_TOP_CHANGED="topChanged",t.EVENT_FIRST_CHILD_CHANGED="firstChildChanged",t.EVENT_LAST_CHILD_CHANGED="lastChildChanged",t.EVENT_CHILD_INDEX_CHANGED="childIndexChanged",t.EVENT_ROW_INDEX_CHANGED="rowIndexChanged",t.EVENT_EXPANDED_CHANGED="expandedChanged",t.EVENT_SELECTABLE_CHANGED="selectableChanged",t.EVENT_UI_LEVEL_CHANGED="uiLevelChanged",t.EVENT_DRAGGING_CHANGED="draggingChanged",n([d.Autowired("eventService"),i("design:type",r.EventService)],t.prototype,"mainEventService",void 0),n([d.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([d.Autowired("selectionController"),i("design:type",l.SelectionController)],t.prototype,"selectionController",void 0),n([d.Autowired("columnController"),i("design:type",u.ColumnController)],t.prototype,"columnController",void 0),n([d.Autowired("valueService"),i("design:type",p.ValueService)],t.prototype,"valueService",void 0),n([d.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([d.Autowired("context"),i("design:type",d.Context)],t.prototype,"context",void 0),n([d.Autowired("valueCache"),i("design:type",f.ValueCache)],t.prototype,"valueCache",void 0),n([d.Autowired("columnApi"),i("design:type",c.ColumnApi)],t.prototype,"columnApi",void 0),n([d.Autowired("gridApi"),i("design:type",g.GridApi)],t.prototype,"gridApi",void 0),t}();e.RowNode=v},15724:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(46379),l=o(72493),p=o(44081),u=o(83423),c=function(t){function e(e){var o=t.call(this,'<div class="ag-popup-editor" tabindex="-1"/>')||this;return o.getGuiCalledOnChild=!1,o.cellEditor=e,o}return i(e,t),e.prototype.onKeyDown=function(t){u._.isUserSuppressingKeyboardEvent(this.gridOptionsWrapper,t,this.params.node,this.params.column,!0)||this.params.onKeyDown(t)},e.prototype.getGui=function(){return this.getGuiCalledOnChild||(this.appendChild(this.cellEditor.getGui()),this.getGuiCalledOnChild=!0),t.prototype.getGui.call(this)},e.prototype.init=function(o){var n=this;this.params=o,this.gridOptionsWrapper.setDomData(this.getGui(),e.DOM_KEY_POPUP_EDITOR_WRAPPER,!0),this.addDestroyFunc((function(){n.cellEditor.destroy&&n.cellEditor.destroy()})),this.addDestroyableEventListener(t.prototype.getGui.call(this),"keydown",this.onKeyDown.bind(this))},e.prototype.afterGuiAttached=function(){this.cellEditor.afterGuiAttached&&this.cellEditor.afterGuiAttached()},e.prototype.getValue=function(){return this.cellEditor.getValue()},e.prototype.isCancelBeforeStart=function(){if(this.cellEditor.isCancelBeforeStart)return this.cellEditor.isCancelBeforeStart()},e.prototype.isCancelAfterEnd=function(){if(this.cellEditor.isCancelAfterEnd)return this.cellEditor.isCancelAfterEnd()},e.prototype.focusIn=function(){this.cellEditor.focusIn&&this.cellEditor.focusIn()},e.prototype.focusOut=function(){this.cellEditor.focusOut&&this.cellEditor.focusOut()},e.DOM_KEY_POPUP_EDITOR_WRAPPER="popupEditorWrapper",r([l.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(a.PopupComponent);e.PopupEditorWrapper=c},15774:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a,l=o(22131),p=o(72493),u=o(44081),c=o(98239),d=o(26016),h=o(60843),f=o(63405),g=o(78481),y=o(18985),v=o(55e3),m=o(40797),C=o(45727),E=o(83423),w=o(32590);!function(t){t[t.COLUMN_GROUP=0]="COLUMN_GROUP",t[t.COLUMN=1]="COLUMN",t[t.FLOATING_FILTER=2]="FLOATING_FILTER"}(a=e.HeaderRowType||(e.HeaderRowType={}));var _=function(t){function e(e,o,n,i){var r=t.call(this,'<div class="ag-header-row" role="presentation"/>')||this;return r.headerComps={},r.dept=e,r.type=o,r.pinned=n,r.dropTarget=i,r}return i(e,t),e.prototype.forEachHeaderElement=function(t){var e=this;Object.keys(this.headerComps).forEach((function(o){t(e.headerComps[o])}))},e.prototype.destroy=function(){var e=Object.keys(this.headerComps);this.removeAndDestroyChildComponents(e),t.prototype.destroy.call(this)},e.prototype.removeAndDestroyChildComponents=function(t){var e=this;t.forEach((function(t){var o=e.headerComps[t];e.getGui().removeChild(o.getGui()),o.destroy(),delete e.headerComps[t]}))},e.prototype.onRowHeightChanged=function(){var t,e,o=this.columnController.getHeaderRowCount(),n=[],i=0;this.columnController.isPivotMode()?(i=0,t=this.gridOptionsWrapper.getPivotGroupHeaderHeight(),e=this.gridOptionsWrapper.getPivotHeaderHeight()):(this.gridOptionsWrapper.isFloatingFilter()&&o++,i=this.gridOptionsWrapper.isFloatingFilter()?1:0,t=this.gridOptionsWrapper.getGroupHeaderHeight(),e=this.gridOptionsWrapper.getHeaderHeight());for(var r=o-(1+i),s=0;s<r;s++)n.push(t);for(n.push(e),s=0;s<i;s++)n.push(this.gridOptionsWrapper.getFloatingFiltersHeight());var a=0;for(s=0;s<this.dept;s++)a+=n[s];this.getGui().style.top=a+"px",this.getGui().style.height=n[this.dept]+"px"},e.prototype.init=function(){this.onRowHeightChanged(),this.onVirtualColumnsChanged(),this.setWidth(),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this))},e.prototype.onColumnResized=function(){this.setWidth()},e.prototype.setWidth=function(){var t=this.getWidthForRow();this.getGui().style.width=t+"px"},e.prototype.getWidthForRow=function(){return this.gridOptionsWrapper.getDomLayout()===C.Constants.DOM_LAYOUT_PRINT?E._.missing(this.pinned)?this.columnController.getContainerWidth(d.Column.PINNED_RIGHT)+this.columnController.getContainerWidth(d.Column.PINNED_LEFT)+this.columnController.getContainerWidth(null):0:this.columnController.getContainerWidth(this.pinned)},e.prototype.onGridColumnsChanged=function(){this.removeAndDestroyAllChildComponents()},e.prototype.removeAndDestroyAllChildComponents=function(){var t=Object.keys(this.headerComps);this.removeAndDestroyChildComponents(t)},e.prototype.onDisplayedColumnsChanged=function(){this.onVirtualColumnsChanged(),this.setWidth()},e.prototype.getItemsAtDept=function(){var t=this;if(this.gridOptionsWrapper.getDomLayout()===C.Constants.DOM_LAYOUT_PRINT){if(E._.missing(this.pinned)){var e=[];return[d.Column.PINNED_LEFT,null,d.Column.PINNED_RIGHT].forEach((function(o){var n=t.columnController.getVirtualHeaderGroupRow(o,t.type==a.FLOATING_FILTER?t.dept-1:t.dept);e=e.concat(n)})),e}return[]}return this.columnController.getVirtualHeaderGroupRow(this.pinned,this.type==a.FLOATING_FILTER?this.dept-1:this.dept)},e.prototype.onVirtualColumnsChanged=function(){var t,e=this,o=Object.keys(this.headerComps),n=this.getItemsAtDept(),i=this.gridOptionsWrapper.isEnsureDomOrder();n.forEach((function(n){if(!n.isEmptyGroup()){var r,s,a=n.getUniqueId(),l=e.getGui();o.indexOf(a)>=0?(E._.removeFromArray(o,a),s=(r=e.headerComps[a]).getGui(),i&&E._.ensureDomOrder(l,s,t),t=s):(r=e.createHeaderComp(n),e.headerComps[a]=r,s=r.getGui(),i?E._.insertWithDomOrder(l,s,t):l.appendChild(s),t=s)}})),this.removeAndDestroyChildComponents(o)},e.prototype.createHeaderComp=function(t){var e;switch(this.type){case a.COLUMN:e=new g.HeaderWrapperComp(t,this.dropTarget,this.pinned);break;case a.COLUMN_GROUP:e=new y.HeaderGroupWrapperComp(t,this.dropTarget,this.pinned);break;case a.FLOATING_FILTER:e=new w.FloatingFilterWrapper(t)}return this.getContext().wireBean(e),e},r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("gridApi"),s("design:type",m.GridApi)],e.prototype,"gridApi",void 0),r([p.Autowired("columnController"),s("design:type",c.ColumnController)],e.prototype,"columnController",void 0),r([p.Autowired("eventService"),s("design:type",h.EventService)],e.prototype,"eventService",void 0),r([p.Autowired("filterManager"),s("design:type",v.FilterManager)],e.prototype,"filterManager",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(l.Component);e.HeaderRowComp=_},15959:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(22131),s=o(83423),a=function(t){function e(){var o=t.call(this,e.TEMPLATE)||this;return o.refreshCount=0,o}return i(e,t),e.prototype.init=function(t){this.eValue=this.queryForHtmlElement(".ag-value-change-value"),this.eDelta=this.queryForHtmlElement(".ag-value-change-delta"),this.refresh(t)},e.prototype.showDelta=function(t,e){var o=Math.abs(e),n=t.formatValue(o),i=s._.exists(n)?n:o,r=e>=0;this.eDelta.innerHTML=r?"↑"+i:"↓"+i,s._.addOrRemoveCssClass(this.eDelta,"ag-value-change-delta-up",r),s._.addOrRemoveCssClass(this.eDelta,"ag-value-change-delta-down",!r)},e.prototype.setTimerToRemoveDelta=function(){var t=this;this.refreshCount++;var e=this.refreshCount;window.setTimeout((function(){e===t.refreshCount&&t.hideDeltaValue()}),2e3)},e.prototype.hideDeltaValue=function(){s._.removeCssClass(this.eValue,"ag-value-change-value-highlight"),s._.clearElement(this.eDelta)},e.prototype.refresh=function(t){var e=t.value;if(e!==this.lastValue){if(s._.exists(t.valueFormatted)?this.eValue.innerHTML=t.valueFormatted:s._.exists(t.value)?this.eValue.innerHTML=e:s._.clearElement(this.eValue),"number"==typeof e&&"number"==typeof this.lastValue){var o=e-this.lastValue;this.showDelta(t,o)}return this.lastValue&&s._.addCssClass(this.eValue,"ag-value-change-value-highlight"),this.setTimerToRemoveDelta(),this.lastValue=e,!0}},e.TEMPLATE='<span><span class="ag-value-change-delta"></span><span class="ag-value-change-value"></span></span>',e}(r.Component);e.AnimateShowChangeCellRenderer=a},16068:(t,e,o)=>{var n=o(41207).X,i=o(87264).Q,r=o(10559).getCachedPredictionContext;function s(t,e){return this.atn=t,this.sharedContextCache=e,this}s.ERROR=new n(2147483647,new i),s.prototype.getCachedContext=function(t){return null===this.sharedContextCache?t:r(t,this.sharedContextCache,{})},e.e=s},16569:(t,e,o)=>{e.DFA=o(81204).DFA,e.DFASerializer=o(4768).DFASerializer,e.LexerDFASerializer=o(4768).LexerDFASerializer,e.PredPrediction=o(41207).PredPrediction},17690:(t,e,o)=>{var n=o(50659),i=o(91136),r=o(76966),s=o(54200),a=o(78554),l=o(64398),p=function(t,e){var o=e.error;e.error=function(n){o&&o(t,n,e),t.trigger("error",t,n,e)}},u=n.extend({save:function(t,e,o){var n,i;if(null==t||"object"==typeof t?(n=t,o=e):(n={})[t]=e,o=r({validate:!0},o),n&&!o.wait){if(!this.set(n,o))return!1}else if(!this._validate(n,o))return!1;void 0===o.parse&&(o.parse=!0);var a=this,l=o.success;o.success=function(t){var e=a.parse(t,o);if(o.wait&&(e=r(n||{},e)),s(e)&&!a.set(e,o))return!1;l&&l(a,t,o),a.trigger("sync",a,t,o)},p(this,o),"patch"==(i=this.isNew()?"create":o.patch?"patch":"update")&&(o.attrs=n),o.wait&&"patch"!==i&&(o.attrs=r(a.serialize(),n));var u=this.sync(i,this,o);return o.xhr=u,u},fetch:function(t){void 0===(t=t?a(t):{}).parse&&(t.parse=!0);var e=this,o=t.success;t.success=function(n){if(!e.set(e.parse(n,t),t))return!1;o&&o(e,n,t),e.trigger("sync",e,n,t)},p(this,t);var n=this.sync("read",this,t);return t.xhr=n,n},destroy:function(t){t=t?a(t):{};var e=this,o=t.success,n=function(){e.trigger("destroy",e,e.collection,t)};if(t.success=function(i){(t.wait||e.isNew())&&n(),o&&o(e,i,t),e.isNew()||e.trigger("sync",e,i,t)},this.isNew())return t.success(),!1;p(this,t);var i=this.sync("delete",this,t);return t.xhr=i,t.wait||n(),i},sync:function(){return i.apply(this,arguments)},url:function(){var t=l(this,"urlRoot")||l(this.collection,"url")||function(){throw new Error('A "url" property or function must be specified')}();return this.isNew()?t:t+("/"===t.charAt(t.length-1)?"":"/")+encodeURIComponent(this.getId())}});t.exports=u},18393:(t,e,o)=>{var n=o(72994).Token,i=o(32141).f,r=o(74763).p,s=o(86587).RecognitionException,a=o(86587).LexerNoViableAltException;function l(t){return i.call(this),this._input=t,this._factory=r.DEFAULT,this._tokenFactorySourcePair=[this,t],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=n.DEFAULT_CHANNEL,this._type=n.INVALID_TYPE,this._modeStack=[],this._mode=l.DEFAULT_MODE,this._text=null,this}l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.DEFAULT_MODE=0,l.MORE=-2,l.SKIP=-3,l.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,l.HIDDEN=n.HIDDEN_CHANNEL,l.MIN_CHAR_VALUE=0,l.MAX_CHAR_VALUE=1114111,l.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=l.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},l.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var t=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;for(var e=!1;;){this._type=n.INVALID_TYPE;var o=l.SKIP;try{o=this._interp.match(this._input,this._mode)}catch(t){if(!(t instanceof s))throw console.log(t.stack),t;this.notifyListeners(t),this.recover(t)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=o),this._type===l.SKIP){e=!0;break}if(this._type!==l.MORE)break}if(!e)return null===this._token&&this.emit(),this._token}}finally{this._input.release(t)}},l.prototype.skip=function(){this._type=l.SKIP},l.prototype.more=function(){this._type=l.MORE},l.prototype.mode=function(t){this._mode=t},l.prototype.pushMode=function(t){this._interp.debug&&console.log("pushMode "+t),this._modeStack.push(this._mode),this.mode(t)},l.prototype.popMode=function(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode},Object.defineProperty(l.prototype,"inputStream",{get:function(){return this._input},set:function(t){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=t,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(l.prototype,"sourceName",{get:function(){return this._input.sourceName}}),l.prototype.emitToken=function(t){this._token=t},l.prototype.emit=function(){var t=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(t),t},l.prototype.emitEOF=function(){var t=this.column,e=this.line,o=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,e,t);return this.emitToken(o),o},Object.defineProperty(l.prototype,"type",{get:function(){return this.type},set:function(t){this._type=t}}),Object.defineProperty(l.prototype,"line",{get:function(){return this._interp.line},set:function(t){this._interp.line=t}}),Object.defineProperty(l.prototype,"column",{get:function(){return this._interp.column},set:function(t){this._interp.column=t}}),l.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(l.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(t){this._text=t}}),l.prototype.getAllTokens=function(){for(var t=[],e=this.nextToken();e.type!==n.EOF;)t.push(e),e=this.nextToken();return t},l.prototype.notifyListeners=function(t){var e=this._tokenStartCharIndex,o=this._input.index,n=this._input.getText(e,o),i="token recognition error at: '"+this.getErrorDisplay(n)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,i,t)},l.prototype.getErrorDisplay=function(t){for(var e=[],o=0;o<t.length;o++)e.push(t[o]);return e.join("")},l.prototype.getErrorDisplayForChar=function(t){return t.charCodeAt(0)===n.EOF?"<EOF>":"\n"===t?"\\n":"\t"===t?"\\t":"\r"===t?"\\r":t},l.prototype.getCharErrorDisplay=function(t){return"'"+this.getErrorDisplayForChar(t)+"'"},l.prototype.recover=function(t){this._input.LA(1)!==n.EOF&&(t instanceof a?this._interp.consume(this._input):this._input.consume())},e.Lexer=l},18949:(t,e,o)=>{var n=o(72994).Token,i=o(77171).f;function r(t,e){return i.call(this,t),this.channel=void 0===e?n.DEFAULT_CHANNEL:e,this}r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.adjustSeekIndex=function(t){return this.nextTokenOnChannel(t,this.channel)},r.prototype.LB=function(t){if(0===t||this.index-t<0)return null;for(var e=this.index,o=1;o<=t;)e=this.previousTokenOnChannel(e-1,this.channel),o+=1;return e<0?null:this.tokens[e]},r.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);for(var e=this.index,o=1;o<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),o+=1;return this.tokens[e]},r.prototype.getNumberOfOnChannelTokens=function(){var t=0;this.fill();for(var e=0;e<this.tokens.length;e++){var o=this.tokens[e];if(o.channel===this.channel&&(t+=1),o.type===n.EOF)break}return t},e.CommonTokenStream=r},18954:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(2461),l=o(86608),p=o(98239),u=o(83423),c=function(){function t(){}return t.prototype.execute=function(t){var e=this.sortController.getSortForRowController(),o=u._.exists(e)&&e.length>0,n=o&&u._.exists(t.rowNodeTransactions)&&this.gridOptionsWrapper.isDeltaSort(),i=n?this.calculateDirtyNodes(t.rowNodeTransactions):null,r=this.columnController.getValueColumns(),s=u._.missingOrEmpty(r);this.sortService.sort(e,o,n,i,t.changedPath,s)},t.prototype.calculateDirtyNodes=function(t){var e={},o=function(t){t&&t.forEach((function(t){return e[t.id]=!0}))};return t.forEach((function(t){o(t.add),o(t.update),o(t.remove)})),e},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("sortService"),i("design:type",a.SortService)],t.prototype,"sortService",void 0),n([r.Autowired("sortController"),i("design:type",l.SortController)],t.prototype,"sortController",void 0),n([r.Autowired("columnController"),i("design:type",p.ColumnController)],t.prototype,"columnController",void 0),n([r.Bean("sortStage")],t)}();e.SortStage=c},18985:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(26016),p=o(74517),u=o(44871),c=o(98239),d=o(44081),h=o(97177),f=o(72493),g=o(34506),y=o(58342),v=o(38152),m=o(40797),C=o(85910),E=o(55090),w=o(81604),_=o(83423),R=function(t){function e(o,n,i){var r=t.call(this,e.TEMPLATE)||this;return r.childColumnsDestroyFuncs=[],r.columnGroup=o,r.dragSourceDropTarget=n,r.pinned=i,r}return i(e,t),e.prototype.postConstruct=function(){g.CssClassApplier.addHeaderClassesFromColDef(this.getComponentHolder(),this.getGui(),this.gridOptionsWrapper,null,this.columnGroup);var t=this.columnController.getDisplayNameForColumnGroup(this.columnGroup,"header");this.appendHeaderGroupComp(t),this.setupResize(),this.addClasses(),this.setupWidth(),this.addAttributes(),this.setupMovingCss(),this.setupTooltip(),this.addFeature(this.getContext(),new w.HoverFeature(this.columnGroup.getOriginalColumnGroup().getLeafColumns(),this.getGui()));var e=new v.SetLeftFeature(this.columnGroup,this.getGui(),this.beans);e.init(),this.addDestroyFunc(e.destroy.bind(e))},e.prototype.setupMovingCss=function(){var t=this;this.columnGroup.getOriginalColumnGroup().getLeafColumns().forEach((function(e){t.addDestroyableEventListener(e,l.Column.EVENT_MOVING_CHANGED,t.onColumnMovingChanged.bind(t))})),this.onColumnMovingChanged()},e.prototype.getComponentHolder=function(){return this.columnGroup.getColGroupDef()},e.prototype.getTooltipText=function(){var t=this.getComponentHolder();return t&&t.headerTooltip},e.prototype.setupTooltip=function(){var t=this.getTooltipText();null!=t&&(this.gridOptionsWrapper.isEnableBrowserTooltips()?this.getGui().setAttribute("title",t):this.beans.tooltipManager.registerTooltip(this))},e.prototype.onColumnMovingChanged=function(){_._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-moving",this.columnGroup.isMoving())},e.prototype.addAttributes=function(){this.getGui().setAttribute("col-id",this.columnGroup.getUniqueId())},e.prototype.appendHeaderGroupComp=function(t){var e=this,o={displayName:t,columnGroup:this.columnGroup,setExpanded:function(t){e.columnController.setColumnGroupOpened(e.columnGroup.getOriginalColumnGroup(),t,"gridInitializing")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()};if(!t){for(var n=this.columnGroup,i=n.getLeafColumns();n.getParent()&&n.getParent().getLeafColumns().length===i.length;)n=n.getParent();var r=n.getColGroupDef();r&&(t=r.headerName),t||(t=i?this.columnController.getDisplayNameForColumn(i[0],"header",!0):"")}var s=this.afterHeaderCompCreated.bind(this,t);this.userComponentFactory.newHeaderGroupComponent(o).then(s)},e.prototype.afterHeaderCompCreated=function(t,e){this.appendChild(e),this.setupMove(e.getGui(),t)},e.prototype.addClasses=function(){this.columnGroup.isPadding()?this.addCssClass("ag-header-group-cell-no-group"):this.addCssClass("ag-header-group-cell-with-group")},e.prototype.setupMove=function(t,e){var o=this;if(t&&!this.isSuppressMoving()){var n=this.columnGroup.getOriginalColumnGroup().getLeafColumns();if(t){var i={type:y.DragSourceType.HeaderCell,eElement:t,dragItemName:e,dragItemCallback:this.getDragItemForGroup.bind(this),dragSourceDropTarget:this.dragSourceDropTarget,dragStarted:function(){return n.forEach((function(t){return t.setMoving(!0,"uiColumnDragged")}))},dragStopped:function(){return n.forEach((function(t){return t.setMoving(!1,"uiColumnDragged")}))}};this.dragAndDropService.addDragSource(i,!0),this.addDestroyFunc((function(){return o.dragAndDropService.removeDragSource(i)}))}}},e.prototype.getDragItemForGroup=function(){var t=this.columnGroup.getOriginalColumnGroup().getLeafColumns(),e={};t.forEach((function(t){return e[t.getId()]=t.isVisible()}));var o=[];return this.columnController.getAllDisplayedColumns().forEach((function(e){t.indexOf(e)>=0&&(o.push(e),_._.removeFromArray(t,e))})),t.forEach((function(t){return o.push(t)})),{columns:o,visibleState:e}},e.prototype.isSuppressMoving=function(){var t=!1;return this.columnGroup.getLeafColumns().forEach((function(e){(e.getColDef().suppressMovable||e.isLockPosition())&&(t=!0)})),t||this.gridOptionsWrapper.isSuppressMovableColumns()},e.prototype.setupWidth=function(){this.addListenersToChildrenColumns(),this.addDestroyableEventListener(this.columnGroup,p.ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.destroyListenersOnChildrenColumns.bind(this))},e.prototype.onDisplayedChildrenChanged=function(){this.addListenersToChildrenColumns(),this.onWidthChanged()},e.prototype.addListenersToChildrenColumns=function(){var t=this;this.destroyListenersOnChildrenColumns();var e=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach((function(o){o.addEventListener(l.Column.EVENT_WIDTH_CHANGED,e),o.addEventListener(l.Column.EVENT_VISIBLE_CHANGED,e),t.childColumnsDestroyFuncs.push((function(){o.removeEventListener(l.Column.EVENT_WIDTH_CHANGED,e),o.removeEventListener(l.Column.EVENT_VISIBLE_CHANGED,e)}))}))},e.prototype.destroyListenersOnChildrenColumns=function(){this.childColumnsDestroyFuncs.forEach((function(t){return t()})),this.childColumnsDestroyFuncs=[]},e.prototype.onWidthChanged=function(){this.getGui().style.width=this.columnGroup.getActualWidth()+"px"},e.prototype.setupResize=function(){var t=this;if(this.eHeaderCellResize=this.getRefElement("agResize"),this.columnGroup.isResizable()){var e=this.horizontalResizeService.addResizeBar({eResizeBar:this.eHeaderCellResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});this.addDestroyFunc(e),this.gridOptionsWrapper.isSuppressAutoSize()||this.eHeaderCellResize.addEventListener("dblclick",(function(e){var o=[];t.columnGroup.getDisplayedLeafColumns().forEach((function(t){t.getColDef().suppressAutoSize||o.push(t.getColId())})),o.length>0&&t.columnController.autoSizeColumns(o,"uiColumnResized")}))}else _._.removeFromParent(this.eHeaderCellResize)},e.prototype.onResizeStart=function(t){var e=this,o=this.columnGroup.getDisplayedLeafColumns();this.resizeCols=_._.filter(o,(function(t){return t.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)}));var n=null;if(t&&(n=this.columnController.getDisplayedGroupAfter(this.columnGroup)),n){var i=n.getDisplayedLeafColumns();this.resizeTakeFromCols=_._.filter(i,(function(t){return t.isResizable()})),this.resizeTakeFromStartWidth=0,this.resizeTakeFromCols.forEach((function(t){return e.resizeTakeFromStartWidth+=t.getActualWidth()})),this.resizeTakeFromRatios=[],this.resizeTakeFromCols.forEach((function(t){return e.resizeTakeFromRatios.push(t.getActualWidth()/e.resizeTakeFromStartWidth)}))}else this.resizeTakeFromCols=null,this.resizeTakeFromStartWidth=null,this.resizeTakeFromRatios=null;_._.addCssClass(this.getGui(),"ag-column-resizing")},e.prototype.onResizing=function(t,e){var o=[],n=this.normaliseDragChange(e);o.push({columns:this.resizeCols,ratios:this.resizeRatios,width:this.resizeStartWidth+n}),this.resizeTakeFromCols&&o.push({columns:this.resizeTakeFromCols,ratios:this.resizeTakeFromRatios,width:this.resizeTakeFromStartWidth-n}),this.columnController.resizeColumnSets(o,t,"uiColumnDragged"),t&&_._.removeCssClass(this.getGui(),"ag-column-resizing")},e.prototype.normaliseDragChange=function(t){var e=t;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==l.Column.PINNED_LEFT&&(e*=-1):this.pinned===l.Column.PINNED_RIGHT&&(e*=-1),e},e.TEMPLATE='<div class="ag-header-group-cell"><div ref="agResize" class="ag-header-cell-resize"></div></div>',r([f.Autowired("gridOptionsWrapper"),s("design:type",d.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([f.Autowired("columnController"),s("design:type",c.ColumnController)],e.prototype,"columnController",void 0),r([f.Autowired("horizontalResizeService"),s("design:type",h.HorizontalResizeService)],e.prototype,"horizontalResizeService",void 0),r([f.Autowired("dragAndDropService"),s("design:type",y.DragAndDropService)],e.prototype,"dragAndDropService",void 0),r([f.Autowired("userComponentFactory"),s("design:type",C.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([f.Autowired("gridApi"),s("design:type",m.GridApi)],e.prototype,"gridApi",void 0),r([f.Autowired("columnApi"),s("design:type",u.ColumnApi)],e.prototype,"columnApi",void 0),r([f.Autowired("beans"),s("design:type",E.Beans)],e.prototype,"beans",void 0),r([f.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.HeaderGroupWrapperComp=R},19378:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s=o(23054),a=o(15068),l=o(26016),p=o(63405),u=o(22131),c=o(83423),d=function(t){function e(e,o,n,i,r,s,a,l,p,u,c){var d=t.call(this)||this;return d.eAllRowContainers=[],d.active=!0,d.rowContainerReadyCount=0,d.refreshNeeded=!1,d.columnRefreshPending=!1,d.cellComps={},d.createSecondPassFuncs=[],d.removeFirstPassFuncs=[],d.removeSecondPassFuncs=[],d.initialised=!1,d.parentScope=e,d.beans=a,d.bodyContainerComp=o,d.pinnedLeftContainerComp=n,d.pinnedRightContainerComp=i,d.fullWidthContainerComp=r,d.rowNode=s,d.rowIsEven=d.rowNode.rowIndex%2==0,d.paginationPage=d.beans.paginationProxy.getCurrentPage(),d.useAnimationFrameForCreate=p,d.printLayout=u,d.embedFullWidth=c,d.setAnimateFlags(l),d}return i(e,t),e.prototype.init=function(){var t=this;this.rowFocused=this.beans.focusedCellController.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned),this.scope=this.createChildScopeOrNull(this.rowNode.data),this.setupRowContainers(),this.addListeners(),this.slideRowIn&&this.createSecondPassFuncs.push((function(){t.onTopChanged()})),this.fadeRowIn&&this.createSecondPassFuncs.push((function(){t.eAllRowContainers.forEach((function(t){return c._.removeCssClass(t,"ag-opacity-zero")}))}))},e.prototype.createTemplate=function(t,e){void 0===e&&(e=null);var o=[],n=this.rowNode.rowHeight,i=this.getInitialRowClasses(e).join(" "),r=c._.escape(this.rowNode.id),s=this.preProcessStylesFromGridOptions(),a=this.getRowBusinessKey(),l=c._.escape(a),p=this.getInitialRowTopStyle();return o.push("<div"),o.push(' role="row"'),o.push(' row-index="'+this.rowNode.getRowIndexString()+'"'),o.push(r?' row-id="'+r+'"':""),o.push(a?' row-business-key="'+l+'"':""),o.push(' comp-id="'+this.getCompId()+'"'),o.push(' class="'+i+'"'),o.push(' style="height: '+n+"px; "+p+" "+s+'">'),o.push(t),o.push("</div>"),o.join("")},e.prototype.getCellForCol=function(t){var e=this.cellComps[t.getColId()];return e?e.getGui():null},e.prototype.afterFlush=function(){this.initialised||(this.initialised=!0,this.executeProcessRowPostCreateFunc())},e.prototype.executeProcessRowPostCreateFunc=function(){var t=this.beans.gridOptionsWrapper.getProcessRowPostCreateFunc();t&&t({eRow:this.eBodyRow,ePinnedLeftRow:this.ePinnedLeftRow,ePinnedRightRow:this.ePinnedRightRow,node:this.rowNode,api:this.beans.gridOptionsWrapper.getApi(),rowIndex:this.rowNode.rowIndex,addRenderedRowListener:this.addEventListener.bind(this),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()})},e.prototype.getInitialRowTopStyle=function(){if(this.printLayout)return"";var t=this.slideRowIn?this.roundRowTopToBounds(this.rowNode.oldRowTop):this.rowNode.rowTop,e=this.applyPaginationOffset(t),o=this.beans.maxDivHeightScaler.getRealPixelPosition(e);return this.beans.gridOptionsWrapper.isSuppressRowTransform()?"top: "+o+"px; ":"transform: translateY("+o+"px);"},e.prototype.getRowBusinessKey=function(){var t=this.beans.gridOptionsWrapper.getBusinessKeyForNodeFunc();if("function"==typeof t)return t(this.rowNode)},e.prototype.areAllContainersReady=function(){return 3===this.rowContainerReadyCount},e.prototype.lazyCreateCells=function(t,e){if(this.active){var o=this.createCells(t);e.innerHTML=o.template,this.callAfterRowAttachedOnCells(o.cellComps,e),this.rowContainerReadyCount++,this.areAllContainersReady()&&this.refreshNeeded&&this.refreshCells()}},e.prototype.createRowContainer=function(t,e,o){var n=this,i=this.useAnimationFrameForCreate,r=i?{cellComps:[],template:""}:this.createCells(e),s=this.createTemplate(r.template);t.appendRowTemplate(s,(function(){var s=t.getRowElement(n.getCompId());n.afterRowAttached(t,s),o(s),i?n.beans.taskQueue.addP1Task(n.lazyCreateCells.bind(n,e,s),n.rowNode.rowIndex):(n.callAfterRowAttachedOnCells(r.cellComps,s),n.rowContainerReadyCount=3)}))},e.prototype.createChildScopeOrNull=function(t){if(!this.beans.gridOptionsWrapper.isAngularCompileRows())return null;var e=this.parentScope.$new();return e.data=r({},t),e.rowNode=this.rowNode,e.context=this.beans.gridOptionsWrapper.getContext(),this.addDestroyFunc((function(){e.$destroy(),e.data=null,e.rowNode=null,e.context=null})),e},e.prototype.setupRowContainers=function(){var t=this.beans.gridOptionsWrapper.getIsFullWidthCellFunc(),o=!!t&&t(this.rowNode),n=this.beans.doingMasterDetail&&this.rowNode.detail,i=this.rowNode.group&&this.beans.gridOptionsWrapper.isGroupUseEntireRow();this.rowNode.stub?this.createFullWidthRows(e.LOADING_CELL_RENDERER,e.LOADING_CELL_RENDERER_COMP_NAME):n?this.createFullWidthRows(e.DETAIL_CELL_RENDERER,e.DETAIL_CELL_RENDERER_COMP_NAME):o?this.createFullWidthRows(e.FULL_WIDTH_CELL_RENDERER,null):i?this.createFullWidthRows(e.GROUP_ROW_RENDERER,e.GROUP_ROW_RENDERER_COMP_NAME):this.setupNormalRowContainers()},e.prototype.setupNormalRowContainers=function(){var t,e,o,n=this;this.printLayout?(t=this.beans.columnController.getAllDisplayedColumns(),e=[],o=[]):(t=this.beans.columnController.getAllDisplayedCenterVirtualColumnsForRow(this.rowNode),e=this.beans.columnController.getDisplayedLeftColumnsForRow(this.rowNode),o=this.beans.columnController.getDisplayedRightColumnsForRow(this.rowNode)),this.createRowContainer(this.bodyContainerComp,t,(function(t){return n.eBodyRow=t})),this.createRowContainer(this.pinnedRightContainerComp,o,(function(t){return n.ePinnedRightRow=t})),this.createRowContainer(this.pinnedLeftContainerComp,e,(function(t){return n.ePinnedLeftRow=t}))},e.prototype.createFullWidthRows=function(t,e){var o=this;this.fullWidthRow=!0,this.embedFullWidth?(this.createFullWidthRowContainer(this.bodyContainerComp,null,null,t,e,(function(t){o.eFullWidthRowBody=t}),(function(t){o.fullWidthRowComponentBody=t})),this.printLayout||(this.createFullWidthRowContainer(this.pinnedLeftContainerComp,l.Column.PINNED_LEFT,"ag-cell-last-left-pinned",t,e,(function(t){o.eFullWidthRowLeft=t}),(function(t){o.fullWidthRowComponentLeft=t})),this.createFullWidthRowContainer(this.pinnedRightContainerComp,l.Column.PINNED_RIGHT,"ag-cell-first-right-pinned",t,e,(function(t){o.eFullWidthRowRight=t}),(function(t){o.fullWidthRowComponentRight=t})))):this.createFullWidthRowContainer(this.fullWidthContainerComp,null,null,t,e,(function(t){o.eFullWidthRow=t}),(function(t){o.fullWidthRowComponent=t}))},e.prototype.setAnimateFlags=function(t){if(t){var e=c._.exists(this.rowNode.oldRowTop);this.slideRowIn=e,this.fadeRowIn=!e}else this.slideRowIn=!1,this.fadeRowIn=!1},e.prototype.isEditing=function(){return this.editingRow},e.prototype.stopRowEditing=function(t){this.stopEditing(t)},e.prototype.isFullWidth=function(){return this.fullWidthRow},e.prototype.addListeners=function(){this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_HEIGHT_CHANGED,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_ROW_SELECTED,this.onRowSelected.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_TOP_CHANGED,this.onTopChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_EXPANDED_CHANGED,this.onExpandedChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_DATA_CHANGED,this.onRowNodeDataChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_CELL_CHANGED,this.onRowNodeCellChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_DRAGGING_CHANGED,this.onRowNodeDraggingChanged.bind(this));var t=this.beans.eventService;this.addDestroyableEventListener(t,p.Events.EVENT_HEIGHT_SCALE_CHANGED,this.onTopChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_CELL_FOCUSED,this.onCellFocusChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this))},e.prototype.onGridColumnsChanged=function(){this.removeRenderedCells(Object.keys(this.cellComps))},e.prototype.onRowNodeDataChanged=function(t){this.forEachCellComp((function(e){return e.refreshCell({suppressFlash:!t.update,newData:!t.update})})),this.onRowSelected(),this.postProcessCss()},e.prototype.onRowNodeCellChanged=function(t){this.postProcessCss()},e.prototype.postProcessCss=function(){this.postProcessStylesFromGridOptions(),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.postProcessRowDragging()},e.prototype.onRowNodeDraggingChanged=function(){this.postProcessRowDragging()},e.prototype.postProcessRowDragging=function(){var t=this.rowNode.dragging;this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-dragging",t)}))},e.prototype.onExpandedChanged=function(){var t=this.rowNode;this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-group-expanded",t.expanded)})),this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-group-contracted",!t.expanded)}))},e.prototype.onDisplayedColumnsChanged=function(){this.fullWidthRow||this.refreshCells()},e.prototype.destroyFullWidthComponents=function(){this.fullWidthRowComponent&&(this.fullWidthRowComponent.destroy&&this.fullWidthRowComponent.destroy(),this.fullWidthRowComponent=null),this.fullWidthRowComponentBody&&(this.fullWidthRowComponentBody.destroy&&this.fullWidthRowComponentBody.destroy(),this.fullWidthRowComponent=null),this.fullWidthRowComponentLeft&&(this.fullWidthRowComponentLeft.destroy&&this.fullWidthRowComponentLeft.destroy(),this.fullWidthRowComponentLeft=null),this.fullWidthRowComponentRight&&(this.fullWidthRowComponentRight.destroy&&this.fullWidthRowComponentRight.destroy(),this.fullWidthRowComponent=null)},e.prototype.getContainerForCell=function(t){switch(t){case l.Column.PINNED_LEFT:return this.ePinnedLeftRow;case l.Column.PINNED_RIGHT:return this.ePinnedRightRow;default:return this.eBodyRow}},e.prototype.onVirtualColumnsChanged=function(){this.fullWidthRow||this.refreshCells()},e.prototype.onColumnResized=function(){this.fullWidthRow||this.refreshCells()},e.prototype.refreshCells=function(){if(this.areAllContainersReady())if(this.beans.gridOptionsWrapper.isSuppressAnimationFrame()||this.printLayout)this.refreshCellsInAnimationFrame();else{if(this.columnRefreshPending)return;this.beans.taskQueue.addP1Task(this.refreshCellsInAnimationFrame.bind(this),this.rowNode.rowIndex)}else this.refreshNeeded=!0},e.prototype.refreshCellsInAnimationFrame=function(){if(this.active){var t,e,o;this.columnRefreshPending=!1,this.printLayout?(t=this.beans.columnController.getAllDisplayedColumns(),e=[],o=[]):(t=this.beans.columnController.getAllDisplayedCenterVirtualColumnsForRow(this.rowNode),e=this.beans.columnController.getDisplayedLeftColumnsForRow(this.rowNode),o=this.beans.columnController.getDisplayedRightColumnsForRow(this.rowNode)),this.insertCellsIntoContainer(this.eBodyRow,t),this.insertCellsIntoContainer(this.ePinnedLeftRow,e),this.insertCellsIntoContainer(this.ePinnedRightRow,o);var n=Object.keys(this.cellComps);t.forEach((function(t){return c._.removeFromArray(n,t.getId())})),e.forEach((function(t){return c._.removeFromArray(n,t.getId())})),o.forEach((function(t){return c._.removeFromArray(n,t.getId())}));var i=c._.filter(n,this.isCellEligibleToBeRemoved.bind(this));this.removeRenderedCells(i)}},e.prototype.removeRenderedCells=function(t){var e=this;t.forEach((function(t){var o=e.cellComps[t];c._.missing(o)||(o.detach(),o.destroy(),e.cellComps[t]=null)}))},e.prototype.isCellEligibleToBeRemoved=function(t){var e=this.beans.columnController.getAllDisplayedColumns(),o=!0,n=this.cellComps[t];if(!n)return o;if(this.isCellInWrongRow(n))return o;var i=n.isEditing(),r=this.beans.focusedCellController.isCellFocused(n.getGridCell());if(i||r){var s=n.getColumn();return!(e.indexOf(s)>=0)&&o}return o},e.prototype.ensureCellInCorrectContainer=function(t){if(!this.printLayout){var e=t.getGui(),o=t.getColumn().getPinned(),n=this.getContainerForCell(o),i=t.getParentRow();i!==n&&(i&&i.removeChild(e),n.appendChild(e),t.setParentRow(n))}},e.prototype.isCellInWrongRow=function(t){var e=t.getColumn(),o=this.getContainerForCell(e.getPinned());return t.getParentRow()!==o},e.prototype.insertCellsIntoContainer=function(t,e){var o=this;if(t){var n=[],i=[];e.forEach((function(e){var r=e.getId(),s=o.cellComps[r];s?o.ensureCellInCorrectContainer(s):o.createNewCell(e,t,n,i)})),n.length>0&&(c._.appendHtml(t,n.join("")),this.callAfterRowAttachedOnCells(i,t))}},e.prototype.addDomData=function(t){var o=this.beans.gridOptionsWrapper;o.setDomData(t,e.DOM_DATA_KEY_RENDERED_ROW,this),this.addDestroyFunc((function(){o.setDomData(t,e.DOM_DATA_KEY_RENDERED_ROW,null)}))},e.prototype.createNewCell=function(t,e,o,n){var i=new s.CellComp(this.scope,this.beans,t,this.rowNode,this,!1,this.printLayout),r=i.getCreateTemplate();o.push(r),n.push(i),this.cellComps[t.getId()]=i,i.setParentRow(e)},e.prototype.onMouseEvent=function(t,e){switch(t){case"dblclick":this.onRowDblClick(e);break;case"click":this.onRowClick(e)}},e.prototype.createRowEvent=function(t,e){return{type:t,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:e}},e.prototype.createRowEventWithSource=function(t,e){var o=this.createRowEvent(t,e);return o.source=this,o},e.prototype.onRowDblClick=function(t){if(!c._.isStopPropagationForAgGrid(t)){var e=this.createRowEventWithSource(p.Events.EVENT_ROW_DOUBLE_CLICKED,t);this.beans.eventService.dispatchEvent(e)}},e.prototype.onRowClick=function(t){if(!c._.isStopPropagationForAgGrid(t)){var e=this.createRowEventWithSource(p.Events.EVENT_ROW_CLICKED,t);this.beans.eventService.dispatchEvent(e);var o=t.ctrlKey||t.metaKey,n=t.shiftKey;if(!this.rowNode.group&&this.rowNode.selectable&&!this.rowNode.rowPinned&&this.beans.gridOptionsWrapper.isRowSelection()&&!this.beans.gridOptionsWrapper.isSuppressRowClickSelection()){var i=this.beans.gridOptionsWrapper.isRowMultiSelectWithClick(),r=this.beans.gridOptionsWrapper.isRowDeselection();if(this.rowNode.isSelected())i?this.rowNode.setSelectedParams({newValue:!1}):o?r&&this.rowNode.setSelectedParams({newValue:!1}):this.rowNode.setSelectedParams({newValue:!0,clearSelection:!0});else{var s=!i&&!o;this.rowNode.setSelectedParams({newValue:!0,clearSelection:s,rangeSelect:n})}}}},e.prototype.createFullWidthRowContainer=function(t,e,o,n,i,r,s){var a=this,l=this.createTemplate("",o);t.appendRowTemplate(l,(function(){var o=t.getRowElement(a.getCompId()),l=a.createFullWidthParams(o,e),p=a.beans.userComponentFactory.newFullWidthCellRenderer(l,n,i);p?(p.then((function(t){if(a.isAlive()){var e=t.getGui();o.appendChild(e),s(t)}else t.destroy&&t.destroy()})),a.afterRowAttached(t,o),r(o),a.beans.doingMasterDetail&&a.rowNode.detail||a.angular1Compile(o)):console.error("ag-Grid: fullWidthCellRenderer not defined")}))},e.prototype.angular1Compile=function(t){this.scope&&this.beans.$compile(t)(this.scope)},e.prototype.createFullWidthParams=function(t,e){return{fullWidth:!0,data:this.rowNode.data,node:this.rowNode,value:this.rowNode.key,$scope:this.scope?this.scope:this.parentScope,$compile:this.beans.$compile,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),eGridCell:t,eParentOfValue:t,pinned:e,addRenderedRowListener:this.addEventListener.bind(this)}},e.prototype.getInitialRowClasses=function(t){var e=[],o=this.beans.gridOptionsWrapper.isTreeData(),n=this.rowNode;return c._.exists(t)&&e.push(t),e.push("ag-row"),e.push(this.rowFocused?"ag-row-focus":"ag-row-no-focus"),this.fadeRowIn&&e.push("ag-opacity-zero"),e.push(this.rowIsEven?"ag-row-even":"ag-row-odd"),n.isSelected()&&e.push("ag-row-selected"),n.group?(e.push("ag-row-group"),e.push("ag-row-level-"+n.level),n.footer&&e.push("ag-row-footer")):e.push("ag-row-level-"+(n.parent?n.parent.level+1:"0")),n.stub&&e.push("ag-row-stub"),this.fullWidthRow&&e.push("ag-full-width-row"),(o?n.allChildrenCount:n.group&&!n.footer)&&e.push(n.expanded?"ag-row-group-expanded":"ag-row-group-contracted"),n.dragging&&e.push("ag-row-dragging"),c._.pushAll(e,this.processClassesFromGridOptions()),c._.pushAll(e,this.preProcessRowClassRules()),e.push(this.printLayout?"ag-row-position-relative":"ag-row-position-absolute"),this.firstRowOnPage=this.isFirstRowOnPage(),this.lastRowOnPage=this.isLastRowOnPage(),this.firstRowOnPage&&e.push("ag-row-first"),this.lastRowOnPage&&e.push("ag-row-last"),e},e.prototype.isFirstRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageFirstRow()},e.prototype.isLastRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageLastRow()},e.prototype.onModelUpdated=function(){var t=this.isFirstRowOnPage(),e=this.isLastRowOnPage();this.firstRowOnPage!==t&&(this.firstRowOnPage=t,this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-first",t)}))),this.lastRowOnPage!==e&&(this.lastRowOnPage=e,this.eAllRowContainers.forEach((function(t){return c._.addOrRemoveCssClass(t,"ag-row-last",e)})))},e.prototype.preProcessRowClassRules=function(){var t=[];return this.processRowClassRules((function(e){t.push(e)}),(function(t){})),t},e.prototype.processRowClassRules=function(t,e){this.beans.stylingService.processClassRules(this.beans.gridOptionsWrapper.rowClassRules(),{value:void 0,colDef:void 0,data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),$scope:this.scope,context:this.beans.gridOptionsWrapper.getContext()},t,e)},e.prototype.stopEditing=function(t){if(void 0===t&&(t=!1),this.forEachCellComp((function(e){e.stopEditing(t)})),this.editingRow){if(!t){var e=this.createRowEvent(p.Events.EVENT_ROW_VALUE_CHANGED);this.beans.eventService.dispatchEvent(e)}this.setEditingRow(!1)}},e.prototype.setEditingRow=function(t){this.editingRow=t,this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-editing",t)}));var e=t?this.createRowEvent(p.Events.EVENT_ROW_EDITING_STARTED):this.createRowEvent(p.Events.EVENT_ROW_EDITING_STOPPED);this.beans.eventService.dispatchEvent(e)},e.prototype.startRowEditing=function(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=null),this.editingRow||(this.forEachCellComp((function(n){var i=n===o;i?n.startEditingIfEnabled(t,e,i):n.startEditingIfEnabled(null,null,i)})),this.setEditingRow(!0))},e.prototype.forEachCellComp=function(t){c._.iterateObject(this.cellComps,(function(e,o){o&&t(o)}))},e.prototype.postProcessClassesFromGridOptions=function(){var t=this,e=this.processClassesFromGridOptions();e&&e.length&&e.forEach((function(e){t.eAllRowContainers.forEach((function(t){return c._.addCssClass(t,e)}))}))},e.prototype.postProcessRowClassRules=function(){var t=this;this.processRowClassRules((function(e){t.eAllRowContainers.forEach((function(t){return c._.addCssClass(t,e)}))}),(function(e){t.eAllRowContainers.forEach((function(t){return c._.removeCssClass(t,e)}))}))},e.prototype.processClassesFromGridOptions=function(){var t=[],e=function(e){"string"==typeof e?t.push(e):Array.isArray(e)&&e.forEach((function(e){return t.push(e)}))},o=this.beans.gridOptionsWrapper.getRowClass();if(o){if("function"==typeof o)return void console.warn("ag-Grid: rowClass should not be a function, please use getRowClass instead");e(o)}var n=this.beans.gridOptionsWrapper.getRowClassFunc();return n&&e(n({node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi()})),t},e.prototype.preProcessStylesFromGridOptions=function(){var t=this.processStylesFromGridOptions();return c._.cssStyleObjectToMarkup(t)},e.prototype.postProcessStylesFromGridOptions=function(){var t=this.processStylesFromGridOptions();this.eAllRowContainers.forEach((function(e){return c._.addStylesToElement(e,t)}))},e.prototype.processStylesFromGridOptions=function(){var t=this.beans.gridOptionsWrapper.getRowStyle();if(!t||"function"!=typeof t){var e,o=this.beans.gridOptionsWrapper.getRowStyleFunc();return o&&(e=o({data:this.rowNode.data,node:this.rowNode,api:this.beans.gridOptionsWrapper.getApi(),context:this.beans.gridOptionsWrapper.getContext(),$scope:this.scope})),c._.assign({},t,e)}console.warn("ag-Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead")},e.prototype.createCells=function(t){var e=this,o=[],n=[];return t.forEach((function(t){var i=new s.CellComp(e.scope,e.beans,t,e.rowNode,e,!1,e.printLayout),r=i.getCreateTemplate();o.push(r),n.push(i),e.cellComps[t.getId()]=i})),{template:o.join(""),cellComps:n}},e.prototype.onRowSelected=function(){var t=this.rowNode.isSelected();this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-selected",t)}))},e.prototype.callAfterRowAttachedOnCells=function(t,e){var o=this;t.forEach((function(t){t.setParentRow(e),t.afterAttached(),o.editingRow&&t.startEditingIfEnabled()}))},e.prototype.afterRowAttached=function(t,e){var o=this;this.addDomData(e),this.removeSecondPassFuncs.push((function(){t.removeRowElement(e)})),this.removeFirstPassFuncs.push((function(){if(c._.exists(o.rowNode.rowTop)){var t=o.roundRowTopToBounds(o.rowNode.rowTop);o.setRowTop(t)}else c._.addCssClass(e,"ag-opacity-zero")})),this.eAllRowContainers.push(e),this.useAnimationFrameForCreate?this.beans.taskQueue.addP2Task(this.addHoverFunctionality.bind(this,e)):this.addHoverFunctionality(e)},e.prototype.addHoverFunctionality=function(t){var e=this;this.active&&(this.addDestroyableEventListener(t,"mouseenter",(function(){return e.rowNode.onMouseEnter()})),this.addDestroyableEventListener(t,"mouseleave",(function(){return e.rowNode.onMouseLeave()})),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_MOUSE_ENTER,(function(){e.beans.gridOptionsWrapper.isSuppressRowHoverHighlight()||c._.addCssClass(t,"ag-row-hover")})),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_MOUSE_LEAVE,(function(){c._.removeCssClass(t,"ag-row-hover")})))},e.prototype.roundRowTopToBounds=function(t){var e=this.beans.gridPanel.getVScrollPosition(),o=this.applyPaginationOffset(e.top,!0)-100,n=this.applyPaginationOffset(e.bottom,!0)+100;return Math.min(Math.max(o,t),n)},e.prototype.onRowHeightChanged=function(){if(c._.exists(this.rowNode.rowHeight)){var t=this.rowNode.rowHeight+"px";this.eAllRowContainers.forEach((function(e){return e.style.height=t}))}},e.prototype.addEventListener=function(e,o){"renderedRowRemoved"!==e&&"rowRemoved"!==e||(e=p.Events.EVENT_VIRTUAL_ROW_REMOVED,console.warn("ag-Grid: Since version 11, event renderedRowRemoved is now called "+p.Events.EVENT_VIRTUAL_ROW_REMOVED)),t.prototype.addEventListener.call(this,e,o)},e.prototype.removeEventListener=function(e,o){"renderedRowRemoved"!==e&&"rowRemoved"!==e||(e=p.Events.EVENT_VIRTUAL_ROW_REMOVED,console.warn("ag-Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called "+p.Events.EVENT_VIRTUAL_ROW_REMOVED)),t.prototype.removeEventListener.call(this,e,o)},e.prototype.destroy=function(e){void 0===e&&(e=!1),t.prototype.destroy.call(this),this.active=!1,this.destroyFullWidthComponents(),e?(this.removeFirstPassFuncs.forEach((function(t){return t()})),this.removeSecondPassFuncs.push(this.destroyContainingCells.bind(this))):(this.destroyContainingCells(),this.getAndClearDelayedDestroyFunctions().forEach((function(t){return t()})));var o=this.createRowEvent(p.Events.EVENT_VIRTUAL_ROW_REMOVED);this.dispatchEvent(o),this.beans.eventService.dispatchEvent(o)},e.prototype.destroyContainingCells=function(){this.forEachCellComp((function(t){return t.destroy()})),this.destroyFullWidthComponents()},e.prototype.getAndClearDelayedDestroyFunctions=function(){var t=this.removeSecondPassFuncs;return this.removeSecondPassFuncs=[],t},e.prototype.onCellFocusChanged=function(){var t=this.beans.focusedCellController.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);t!==this.rowFocused&&(this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-focus",t)})),this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-no-focus",!t)})),this.rowFocused=t),!t&&this.editingRow&&this.stopEditing(!1)},e.prototype.onPaginationChanged=function(){var t=this.beans.paginationProxy.getCurrentPage();this.paginationPage!==t&&(this.paginationPage=t,this.onTopChanged())},e.prototype.onTopChanged=function(){this.setRowTop(this.rowNode.rowTop)},e.prototype.applyPaginationOffset=function(t,e){return void 0===e&&(e=!1),this.rowNode.isRowPinned()?t:t+this.beans.paginationProxy.getPixelOffset()*(e?1:-1)},e.prototype.setRowTop=function(t){if(!this.printLayout&&c._.exists(t)){var e=this.applyPaginationOffset(t),o=this.beans.maxDivHeightScaler.getRealPixelPosition(e)+"px";this.beans.gridOptionsWrapper.isSuppressRowTransform()?this.eAllRowContainers.forEach((function(t){return t.style.top=o})):this.eAllRowContainers.forEach((function(t){return t.style.transform="translateY("+o+")"}))}},e.prototype.getAndClearNextVMTurnFunctions=function(){var t=this.createSecondPassFuncs;return this.createSecondPassFuncs=[],t},e.prototype.getRowNode=function(){return this.rowNode},e.prototype.getRenderedCellForColumn=function(t){var e=this,o=this.cellComps[t.getColId()];if(o)return o;var n=Object.keys(this.cellComps).map((function(t){return e.cellComps[t]})).filter((function(e){return-1!==e.getColSpanningList().indexOf(t)}));return n.length?n[0]:void 0},e.prototype.onRowIndexChanged=function(){this.onCellFocusChanged(),this.updateRowIndexes()},e.prototype.updateRowIndexes=function(){var t=this.rowNode.getRowIndexString(),e=this.rowNode.rowIndex%2==0,o=this.rowIsEven!==e;o&&(this.rowIsEven=e),this.eAllRowContainers.forEach((function(n){n.setAttribute("row-index",t),o&&(c._.addOrRemoveCssClass(n,"ag-row-even",e),c._.addOrRemoveCssClass(n,"ag-row-odd",!e))}))},e.prototype.ensureDomOrder=function(){[{el:this.getBodyRowElement(),ct:this.bodyContainerComp},{el:this.getPinnedLeftRowElement(),ct:this.pinnedLeftContainerComp},{el:this.getPinnedRightRowElement(),ct:this.pinnedRightContainerComp},{el:this.getFullWidthRowElement(),ct:this.fullWidthContainerComp}].forEach((function(t){t.el&&t.ct.ensureDomOrder(t.el)}))},e.prototype.getPinnedLeftRowElement=function(){return this.ePinnedLeftRow?this.ePinnedLeftRow:this.eFullWidthRowLeft},e.prototype.getPinnedRightRowElement=function(){return this.ePinnedRightRow?this.ePinnedRightRow:this.eFullWidthRowRight},e.prototype.getBodyRowElement=function(){return this.eBodyRow?this.eBodyRow:this.eFullWidthRowBody},e.prototype.getFullWidthRowElement=function(){return this.eFullWidthRow},e.DOM_DATA_KEY_RENDERED_ROW="renderedRow",e.FULL_WIDTH_CELL_RENDERER="fullWidthCellRenderer",e.GROUP_ROW_RENDERER="groupRowRenderer",e.GROUP_ROW_RENDERER_COMP_NAME="agGroupRowRenderer",e.LOADING_CELL_RENDERER="loadingCellRenderer",e.LOADING_CELL_RENDERER_COMP_NAME="agLoadingCellRenderer",e.DETAIL_CELL_RENDERER="detailCellRenderer",e.DETAIL_CELL_RENDERER_COMP_NAME="agDetailCellRenderer",e}(u.Component);e.RowComp=d},20080:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(58342),s=o(98239),a=o(72493),l=o(44081),p=function(){function t(t){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=t}return t.prototype.onDragEnter=function(t){var e=this;this.clearColumnsList(),this.gridOptionsWrapper.isFunctionsReadOnly()||t.dragItem.columns.forEach((function(t){t.isPrimary()&&(t.isAnyFunctionActive()||(t.isAllowValue()?e.columnsToAggregate.push(t):t.isAllowRowGroup()?e.columnsToGroup.push(t):t.isAllowRowGroup()&&e.columnsToPivot.push(t)))}))},t.prototype.getIconName=function(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?r.DragAndDropService.ICON_PINNED:r.DragAndDropService.ICON_MOVE:null},t.prototype.onDragLeave=function(t){this.clearColumnsList()},t.prototype.clearColumnsList=function(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0},t.prototype.onDragging=function(t){},t.prototype.onDragStop=function(t){this.columnsToAggregate.length>0&&this.columnController.addValueColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&this.columnController.addRowGroupColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&this.columnController.addPivotColumns(this.columnsToPivot,"toolPanelDragAndDrop")},n([a.Autowired("columnController"),i("design:type",s.ColumnController)],t.prototype,"columnController",void 0),n([a.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),t}();e.BodyDropPivotTarget=p},21058:(t,e,o)=>{var n=o(47375).InputStream,i="undefined"==typeof window&&"undefined"==typeof importScripts?o(36374):null,r={fromString:function(t){return new n(t,!0)},fromBlob:function(t,e,o,i){var r=FileReader();r.onload=function(t){var e=new n(t.target.result,!0);o(e)},r.onerror=i,r.readAsText(t,e)},fromBuffer:function(t,e){return new n(t.toString(e),!0)},fromPath:function(t,e,o){i.readFile(t,e,(function(t,e){var i=null;null!==e&&(i=new n(e,!0)),o(t,i)}))},fromPathSync:function(t,e){var o=i.readFileSync(t,e);return new n(o,!0)}};e.CharStreams=r},21951:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(47721),p=o(72493),u=o(44081),c=o(83423),d=function(t){function e(){var e=t.call(this)||this;return e.selected=!1,e.readOnly=!1,e.passive=!1,e}return i(e,t),e.prototype.preConstruct=function(){this.setTemplate(e.TEMPLATE)},e.prototype.postConstruct=function(){this.loadIcons(),this.updateIcons()},e.prototype.setLabel=function(t){this.eLabel.innerText=t},e.prototype.loadIcons=function(){c._.clearElement(this.eChecked),c._.clearElement(this.eUnchecked),c._.clearElement(this.eIndeterminate),this.readOnly?(this.eChecked.appendChild(c._.createIconNoSpan("checkboxCheckedReadOnly",this.gridOptionsWrapper,null)),this.eUnchecked.appendChild(c._.createIconNoSpan("checkboxUncheckedReadOnly",this.gridOptionsWrapper,null)),this.eIndeterminate.appendChild(c._.createIconNoSpan("checkboxIndeterminateReadOnly",this.gridOptionsWrapper,null))):(this.eChecked.appendChild(c._.createIconNoSpan("checkboxChecked",this.gridOptionsWrapper,null)),this.eUnchecked.appendChild(c._.createIconNoSpan("checkboxUnchecked",this.gridOptionsWrapper,null)),this.eIndeterminate.appendChild(c._.createIconNoSpan("checkboxIndeterminate",this.gridOptionsWrapper,null)))},e.prototype.onClick=function(t){c._.addAgGridEventPath(t),this.readOnly||this.toggle()},e.prototype.getNextValue=function(){return void 0===this.selected||!this.selected},e.prototype.setPassive=function(t){this.passive=t},e.prototype.setReadOnly=function(t){this.readOnly=t,this.loadIcons()},e.prototype.isReadOnly=function(){return this.readOnly},e.prototype.isSelected=function(){return this.selected},e.prototype.toggle=function(){var t=this.getNextValue();if(this.passive){var o={type:e.EVENT_CHANGED,selected:t};this.dispatchEvent(o)}else this.setSelected(t)},e.prototype.setSelected=function(t){if(this.selected!==t){this.selected=!0===t||!1!==t&&void 0,this.updateIcons();var o={type:e.EVENT_CHANGED,selected:this.selected};this.dispatchEvent(o)}},e.prototype.updateIcons=function(){c._.setVisible(this.eChecked,!0===this.selected),c._.setVisible(this.eUnchecked,!1===this.selected),c._.setVisible(this.eIndeterminate,void 0===this.selected)},e.EVENT_CHANGED="change",e.TEMPLATE='<span class="ag-checkbox" role="presentation"> <span class="ag-checkbox-checked" role="presentation"></span> <span class="ag-checkbox-unchecked" role="presentation"></span> <span class="ag-checkbox-indeterminate" role="presentation"></span> <span class="ag-checkbox-label" role="presentation"></span></span>',r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.QuerySelector(".ag-checkbox-checked"),s("design:type",HTMLElement)],e.prototype,"eChecked",void 0),r([l.QuerySelector(".ag-checkbox-unchecked"),s("design:type",HTMLElement)],e.prototype,"eUnchecked",void 0),r([l.QuerySelector(".ag-checkbox-indeterminate"),s("design:type",HTMLElement)],e.prototype,"eIndeterminate",void 0),r([l.QuerySelector(".ag-checkbox-label"),s("design:type",HTMLElement)],e.prototype,"eLabel",void 0),r([p.PreConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"preConstruct",null),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([l.Listener("click"),s("design:type",Function),s("design:paramtypes",[MouseEvent]),s("design:returntype",void 0)],e.prototype,"onClick",null),e}(a.Component);e.AgCheckbox=d},22131:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(8534),p=o(83423),u=new p.NumberSequence,c=function(t){function e(e){var o=t.call(this)||this;return o.childComponents=[],o.annotatedEventListeners=[],o.visible=!0,o.compId=u.next(),e&&o.setTemplate(e),o}return i(e,t),e.prototype.getCompId=function(){return this.compId},e.prototype.createChildComponentsFromTags=function(t){var e=this;p._.copyNodeList(t.childNodes).forEach((function(o){var n=e.getContext().createComponentFromElement(o,(function(t){e.copyAttributesFromNode(o,t.getGui())}));n?e.swapComponentForNode(n,t,o):o.childNodes&&e.createChildComponentsFromTags(o)}))},e.prototype.copyAttributesFromNode=function(t,e){p._.iterateNamedNodeMap(t.attributes,(function(t,o){e.setAttribute(t,o)}))},e.prototype.swapComponentForNode=function(t,e,o){var n=t.getGui();e.replaceChild(n,o),e.insertBefore(document.createComment(o.nodeName),n),this.childComponents.push(t),this.swapInComponentForQuerySelectors(t,o)},e.prototype.swapInComponentForQuerySelectors=function(t,e){for(var o=Object.getPrototypeOf(this),n=this;null!=o;){var i=o.__agComponentMetaData,r=o.constructor.name;i&&i[r]&&i[r].querySelectors&&i[r].querySelectors.forEach((function(o){n[o.attributeName]===e&&(n[o.attributeName]=t)})),o=Object.getPrototypeOf(o)}},e.prototype.setTemplate=function(t){var e=p._.loadTemplate(t);this.setTemplateFromElement(e)},e.prototype.setTemplateFromElement=function(t){this.eGui=t,this.eGui.__agComponent=this,this.addAnnotatedEventListeners(),this.wireQuerySelectors(),this.getContext()&&this.createChildComponentsFromTags(this.getGui())},e.prototype.createChildComponentsPreConstruct=function(){this.getGui()&&this.createChildComponentsFromTags(this.getGui())},e.prototype.wireQuerySelectors=function(){var t=this;if(this.eGui)for(var e=Object.getPrototypeOf(this),o=function(){var o=e.__agComponentMetaData,i=e.constructor.name;if(o&&o[i]&&o[i].querySelectors){var r=n;o[i].querySelectors.forEach((function(e){var o=t.eGui.querySelector(e.querySelector);if(o){var n=o.__agComponent;r[e.attributeName]=n||o}}))}e=Object.getPrototypeOf(e)},n=this;null!=e;)o()},e.prototype.addAnnotatedEventListeners=function(){var t=this;if(this.removeAnnotatedEventListeners(),this.eGui){var e=this.getAgComponentMetaData("listenerMethods");p._.missingOrEmpty(e)||(this.annotatedEventListeners||(this.annotatedEventListeners=[]),e.forEach((function(e){var o=t[e.methodName].bind(t);t.eGui.addEventListener(e.eventName,o),t.annotatedEventListeners.push({eventName:e.eventName,listener:o})})))}},e.prototype.getAgComponentMetaData=function(t){for(var e=[],o=Object.getPrototypeOf(this);null!=o;){var n=o.__agComponentMetaData,i=o.constructor.name;n&&n[i]&&n[i][t]&&(e=e.concat(n[i][t])),o=Object.getPrototypeOf(o)}return e},e.prototype.removeAnnotatedEventListeners=function(){var t=this;this.annotatedEventListeners&&this.eGui&&(this.annotatedEventListeners.forEach((function(e){t.eGui.removeEventListener(e.eventName,e.listener)})),this.annotatedEventListeners=[])},e.prototype.getGui=function(){return this.eGui},e.prototype.setGui=function(t){this.eGui=t},e.prototype.queryForHtmlElement=function(t){return this.eGui.querySelector(t)},e.prototype.queryForHtmlInputElement=function(t){return this.eGui.querySelector(t)},e.prototype.appendChild=function(t){if(p._.isNodeOrElement(t))this.eGui.appendChild(t);else{var e=t;this.eGui.appendChild(e.getGui()),this.childComponents.push(e)}},e.prototype.addFeature=function(t,e){t.wireBean(e),e.destroy&&this.addDestroyFunc(e.destroy.bind(e))},e.prototype.isVisible=function(){return this.visible},e.prototype.setVisible=function(t,o){var n="visibility"!==o;if(t!==this.visible){this.visible=t,p._.addOrRemoveCssClass(this.eGui,n?"ag-hidden":"ag-invisible",!t);var i={type:e.EVENT_VISIBLE_CHANGED,visible:this.visible};this.dispatchEvent(i)}},e.prototype.addOrRemoveCssClass=function(t,e){p._.addOrRemoveCssClass(this.eGui,t,e)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.childComponents.forEach((function(t){t&&t.destroy&&t.destroy()})),this.childComponents.length=0,this.removeAnnotatedEventListeners()},e.prototype.addGuiEventListener=function(t,e){var o=this;this.getGui().addEventListener(t,e),this.addDestroyFunc((function(){return o.getGui().removeEventListener(t,e)}))},e.prototype.addCssClass=function(t){p._.addCssClass(this.getGui(),t)},e.prototype.removeCssClass=function(t){p._.removeCssClass(this.getGui(),t)},e.prototype.getAttribute=function(t){var e=this.getGui();return e?e.getAttribute(t):null},e.prototype.getRefElement=function(t){return this.queryForHtmlElement('[ref="'+t+'"]')},e.EVENT_VISIBLE_CHANGED="visibleChanged",r([a.PreConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"createChildComponentsPreConstruct",null),e}(l.BeanStub);e.Component=c},22743:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(69638),a=function(){function t(){}return t.prototype.postConstruct=function(){this.componentMetaData={dateComponent:{mandatoryMethodList:["getDate","setDate"],optionalMethodList:["afterGuiAttached"]},detailCellRenderer:{mandatoryMethodList:[],optionalMethodList:[]},headerComponent:{mandatoryMethodList:[],optionalMethodList:[]},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","focusIn","focusOut","afterGuiAttached"]},innerRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},fullWidthCellRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},pinnedRowCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},groupRowInnerRenderer:{mandatoryMethodList:[],optionalMethodList:["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"]},filterComponent:{mandatoryMethodList:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethodList:["afterGuiAttached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged"]},statusPanel:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"]},toolPanel:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"]},tooltipComponent:{mandatoryMethodList:[],optionalMethodList:[]}}},t.prototype.retrieve=function(t){return this.componentMetaData[t]},n([r.Autowired("agComponentUtils"),i("design:type",s.AgComponentUtils)],t.prototype,"agComponentUtils",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"postConstruct",null),n([r.Bean("componentMetadataProvider")],t)}();e.ComponentMetadataProvider=a},23054:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s=o(26016),a=o(15068),l=o(45727),p=o(63405),u=o(34782),c=o(22131),d=o(95125),h=o(87952),f=o(15724),g=o(83423),y=function(t){function e(e,o,n,i,r,s,a){var l=t.call(this)||this;return l.editingCell=!1,l.suppressRefreshCell=!1,l.scope=null,l.cellEditorVersion=0,l.cellRendererVersion=0,l.scope=e,l.beans=o,l.column=n,l.rowNode=i,l.rowComp=r,l.autoHeightCell=s,l.printLayout=a,l.createGridCellVo(),l.rangeSelectionEnabled=o.enterprise&&o.gridOptionsWrapper.isEnableRangeSelection(),l.cellFocused=l.beans.focusedCellController.isCellFocused(l.gridCell),l.firstRightPinned=l.column.isFirstRightPinned(),l.lastLeftPinned=l.column.isLastLeftPinned(),l.rangeSelectionEnabled&&(l.rangeCount=l.beans.rangeController.getCellRangeCount(l.gridCell)),l.getValueAndFormat(),l.setUsingWrapper(),l.chooseCellRenderer(),l.setupColSpan(),l.rowSpan=l.column.getRowSpan(l.rowNode),l}return i(e,t),e.prototype.getCreateTemplate=function(){var t=this.beans.gridOptionsWrapper.isEnableCellTextSelection()?"":'unselectable="on"',e=[],o=this.column,n=this.getCellWidth(),i=this.modifyLeftForPrintLayout(o.getLeft()),r=this.getInitialValueToRender(),s=g._.get(this.column,"colDef.template",null)?r:g._.escape(r);this.tooltip=this.getToolTip();var a=g._.escape(this.tooltip),l=g._.escape(o.getId()),p="",u="",c=this.preProcessStylesFromColDef(),d=this.getInitialCssClasses(),h=this.getStylesForRowSpanning();return this.usingWrapper&&(p='<span ref="eCellWrapper" class="ag-cell-wrapper"><span ref="eCellValue" class="ag-cell-value" '+t+">",u="</span></span>"),e.push("<div"),e.push(' tabindex="-1"'),e.push(" "+t),e.push(' role="gridcell"'),e.push(' comp-id="'+this.getCompId()+'" '),e.push(' col-id="'+l+'"'),e.push(' class="'+d.join(" ")+'"'),this.beans.gridOptionsWrapper.isEnableBrowserTooltips()&&g._.exists(a)&&e.push('title="'+a+'"'),e.push(' style="width: '+n+"px; left: "+i+"px; "+c+" "+h+'" >'),e.push(p),g._.exists(s,!0)&&e.push(s),e.push(u),e.push("</div>"),e.join("")},e.prototype.getStylesForRowSpanning=function(){return 1===this.rowSpan?"":"height: "+this.beans.gridOptionsWrapper.getRowHeightAsNumber()*this.rowSpan+"px; z-index: 1;"},e.prototype.afterAttached=function(){var t='[comp-id="'+this.getCompId()+'"]',e=this.eParentRow.querySelector(t);this.setGui(e),this.addDomData(),this.populateTemplate(),this.attachCellRenderer(),this.angular1Compile(),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_CELL_FOCUSED,this.onCellFocused.bind(this)),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_FLASH_CELLS,this.onFlashCells.bind(this)),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_CELL_CHANGED,this.onCellChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_WIDTH_CHANGED,this.onWidthChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_FIRST_RIGHT_PINNED_CHANGED,this.onFirstRightPinnedChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_LAST_LEFT_PINNED_CHANGED,this.onLastLeftPinnedChanged.bind(this)),this.printLayout&&this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onLeftChanged.bind(this)),this.rangeSelectionEnabled&&this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_RANGE_SELECTION_CHANGED,this.onRangeSelectionChanged.bind(this)),this.tooltip&&!this.beans.gridOptionsWrapper.isEnableBrowserTooltips()&&this.beans.tooltipManager.registerTooltip(this)},e.prototype.onColumnHover=function(){var t=this.beans.columnHoverService.isHovered(this.column);g._.addOrRemoveCssClass(this.getGui(),"ag-column-hover",t)},e.prototype.onCellChanged=function(t){t.column===this.column&&this.refreshCell({})},e.prototype.getCellLeft=function(){return(this.beans.gridOptionsWrapper.isEnableRtl()&&this.colsSpanning?this.colsSpanning[this.colsSpanning.length-1]:this.column).getLeft()},e.prototype.getCellWidth=function(){if(!this.colsSpanning)return this.column.getActualWidth();var t=0;return this.colsSpanning.forEach((function(e){return t+=e.getActualWidth()})),t},e.prototype.onFlashCells=function(t){var e=this.gridCell.createId();t.cells[e]&&this.animateCell("highlight")},e.prototype.setupColSpan=function(){g._.missing(this.getComponentHolder().colSpan)||(this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayColumnsChanged.bind(this)),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onWidthChanged.bind(this)),this.colsSpanning=this.getColSpanningList())},e.prototype.getColSpanningList=function(){var t=this.column.getColSpan(this.rowNode),e=[];if(1===t)e.push(this.column);else for(var o=this.column,n=this.column.getPinned(),i=0;o&&i<t&&(e.push(o),(o=this.beans.columnController.getDisplayedColAfter(o))&&!g._.missing(o))&&n===o.getPinned();i++);return e},e.prototype.onDisplayColumnsChanged=function(){var t=this.getColSpanningList();g._.compareArrays(this.colsSpanning,t)||(this.colsSpanning=t,this.onWidthChanged(),this.onLeftChanged())},e.prototype.getInitialCssClasses=function(){var t=["ag-cell","ag-cell-not-inline-editing"];return this.autoHeightCell||t.push("ag-cell-with-height"),!this.beans.gridOptionsWrapper.isSuppressCellSelection()&&this.cellFocused&&t.push("ag-cell-focus"),this.firstRightPinned&&t.push("ag-cell-first-right-pinned"),this.lastLeftPinned&&t.push("ag-cell-last-left-pinned"),this.beans.columnHoverService.isHovered(this.column)&&t.push("ag-column-hover"),g._.pushAll(t,this.preProcessClassesFromColDef()),g._.pushAll(t,this.preProcessCellClassRules()),g._.pushAll(t,this.getRangeClasses()),this.usingWrapper||t.push("ag-cell-value"),t},e.prototype.getInitialValueToRender=function(){if(this.usingCellRenderer)return"string"==typeof this.cellRendererGui?this.cellRendererGui:"";var t=this.getComponentHolder();return t.template?t.template:t.templateUrl?this.beans.templateService.getTemplate(t.templateUrl,this.refreshCell.bind(this,!0))||"":this.getValueToUse()},e.prototype.getRenderedRow=function(){return this.rowComp},e.prototype.isSuppressNavigable=function(){return this.column.isSuppressNavigable(this.rowNode)},e.prototype.getCellRenderer=function(){return this.cellRenderer},e.prototype.getCellEditor=function(){return this.cellEditor},e.prototype.refreshCell=function(t){if(!this.editingCell&&!this.suppressRefreshCell){var e=this.getComponentHolder(),o=t&&t.newData,n=t&&t.suppressFlash||e.suppressCellFlash,i=t&&t.forceRefresh,r=this.value;this.getValueAndFormat();var s=!this.valuesAreEqual(r,this.value);(i||s)&&(!o&&this.attemptCellRendererRefresh()||this.replaceContentsAfterRefresh(),!n&&(this.beans.gridOptionsWrapper.isEnableCellChangeFlash()||e.enableCellChangeFlash)&&this.flashCell(),this.postProcessStylesFromColDef(),this.postProcessClassesFromColDef()),this.updateAngular1ScopeAndCompile(),this.refreshToolTip(),this.postProcessCellClassRules()}},e.prototype.flashCell=function(){this.animateCell("data-changed")},e.prototype.animateCell=function(t){var e="ag-cell-"+t,o="ag-cell-"+t+"-animation",n=this.getGui();g._.addCssClass(n,e),g._.removeCssClass(n,o),window.setTimeout((function(){g._.removeCssClass(n,e),g._.addCssClass(n,o),window.setTimeout((function(){g._.removeCssClass(n,o)}),1e3)}),500)},e.prototype.replaceContentsAfterRefresh=function(){g._.clearElement(this.eParentOfValue),this.cellRenderer&&this.cellRenderer.destroy&&this.cellRenderer.destroy(),this.cellRenderer=null,this.cellRendererGui=null,this.putDataIntoCellAfterRefresh(),this.updateAngular1ScopeAndCompile()},e.prototype.updateAngular1ScopeAndCompile=function(){this.beans.gridOptionsWrapper.isAngularCompileRows()&&this.scope&&(this.scope.data=r({},this.rowNode.data),this.angular1Compile())},e.prototype.angular1Compile=function(){if(this.beans.gridOptionsWrapper.isAngularCompileRows()){var t=this.getGui();if(!t.classList.contains("ng-scope")||0===t.childElementCount){var e=this.beans.$compile(t)(this.scope);this.addDestroyFunc((function(){e.remove()}))}}},e.prototype.postProcessStylesFromColDef=function(){var t=this.processStylesFromColDef();t&&g._.addStylesToElement(this.getGui(),t)},e.prototype.preProcessStylesFromColDef=function(){var t=this.processStylesFromColDef();return g._.cssStyleObjectToMarkup(t)},e.prototype.processStylesFromColDef=function(){var t=this.getComponentHolder();if(t.cellStyle){var e=void 0;if("function"==typeof t.cellStyle){var o={value:this.value,data:this.rowNode.data,node:this.rowNode,colDef:t,column:this.column,$scope:this.scope,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi()};e=(0,t.cellStyle)(o)}else e=t.cellStyle;return e}},e.prototype.postProcessClassesFromColDef=function(){var t=this;this.processClassesFromColDef((function(e){return g._.addCssClass(t.getGui(),e)}))},e.prototype.preProcessClassesFromColDef=function(){var t=[];return this.processClassesFromColDef((function(e){return t.push(e)})),t},e.prototype.processClassesFromColDef=function(t){var e=this.getComponentHolder();this.beans.stylingService.processStaticCellClasses(e,{value:this.value,data:this.rowNode.data,node:this.rowNode,colDef:e,rowIndex:this.rowNode.rowIndex,$scope:this.scope,api:this.beans.gridOptionsWrapper.getApi(),context:this.beans.gridOptionsWrapper.getContext()},t)},e.prototype.putDataIntoCellAfterRefresh=function(){var t=this.getComponentHolder();if(t.template)this.eParentOfValue.innerHTML=t.template;else if(t.templateUrl){var e=this.beans.templateService.getTemplate(t.templateUrl,this.refreshCell.bind(this,!0));e&&(this.eParentOfValue.innerHTML=e)}else if(this.usingCellRenderer&&(this.attachCellRenderer()||(this.usingCellRenderer=!1)),!this.usingCellRenderer){var o=this.getValueToUse();null!=o&&(this.eParentOfValue.innerHTML=g._.escape(o))}},e.prototype.attemptCellRendererRefresh=function(){if(g._.missing(this.cellRenderer)||!this.cellRenderer||g._.missing(this.cellRenderer.refresh))return!1;var t=this.createCellRendererParams(),e=this.beans.userComponentFactory.createFinalParams(this.getComponentHolder(),this.cellRendererType,t),o=this.cellRenderer.refresh(e);return!0===o||void 0===o},e.prototype.refreshToolTip=function(){var t=this.getToolTip();if(this.tooltip!==t){if(this.tooltip=t,!this.beans.gridOptionsWrapper.isEnableBrowserTooltips())return;if(g._.exists(t)){var e=g._.escape(this.tooltip);this.eParentOfValue.setAttribute("title",e)}else this.eParentOfValue.removeAttribute("title")}},e.prototype.valuesAreEqual=function(t,e){var o=this.getComponentHolder(),n=o?o.equals:null;return n?n(t,e):t===e},e.prototype.getToolTip=function(){var t=this.getComponentHolder(),e=this.rowNode.data;if(t.tooltipField&&g._.exists(e))return g._.getValueUsingField(e,t.tooltipField,this.column.isTooltipFieldContainsDots());var o=t.tooltipValueGetter||t.tooltip;return o?o({api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),colDef:t,column:this.getColumn(),context:this.beans.gridOptionsWrapper.getContext(),value:this.value,valueFormatted:this.valueFormatted,rowIndex:this.gridCell.rowIndex,node:this.rowNode,data:this.rowNode.data,$scope:this.scope}):null},e.prototype.getTooltipText=function(t){return void 0===t&&(t=!0),t?g._.escape(this.tooltip):this.tooltip},e.prototype.processCellClassRules=function(t,e){var o=this.getComponentHolder();this.beans.stylingService.processClassRules(o.cellClassRules,{value:this.value,data:this.rowNode.data,node:this.rowNode,colDef:o,rowIndex:this.gridCell.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),$scope:this.scope,context:this.beans.gridOptionsWrapper.getContext()},t,e)},e.prototype.postProcessCellClassRules=function(){var t=this;this.processCellClassRules((function(e){g._.addCssClass(t.getGui(),e)}),(function(e){g._.removeCssClass(t.getGui(),e)}))},e.prototype.preProcessCellClassRules=function(){var t=[];return this.processCellClassRules((function(e){t.push(e)}),(function(t){})),t},e.prototype.setUsingWrapper=function(){var t=this.getComponentHolder();if(this.rowNode.rowPinned)return this.usingWrapper=!1,this.includeSelectionComponent=!1,void(this.includeRowDraggingComponent=!1);var e="function"==typeof t.checkboxSelection,o="function"==typeof t.rowDrag;this.includeSelectionComponent=e||!0===t.checkboxSelection,this.includeRowDraggingComponent=o||!0===t.rowDrag,this.usingWrapper=this.includeRowDraggingComponent||this.includeSelectionComponent},e.prototype.chooseCellRenderer=function(){var t=this.getComponentHolder();if(t.template||t.templateUrl)this.usingCellRenderer=!1;else{var o=this.createCellRendererParams(),n=this.beans.userComponentFactory.lookupComponentClassDef(t,"cellRenderer",o);this.beans.userComponentFactory.lookupComponentClassDef(t,"pinnedRowCellRenderer",o)&&this.rowNode.rowPinned?(this.cellRendererType=e.CELL_RENDERER_TYPE_PINNED,this.usingCellRenderer=!0):n?(this.cellRendererType=e.CELL_RENDERER_TYPE_NORMAL,this.usingCellRenderer=!0):this.usingCellRenderer=!1}},e.prototype.createCellRendererInstance=function(){var t=this.createCellRendererParams();this.cellRendererVersion++;var o,n=this.afterCellRendererCreated.bind(this,this.cellRendererVersion);return!!(o=this.cellRendererType===e.CELL_RENDERER_TYPE_NORMAL?this.beans.userComponentFactory.newCellRenderer(this.getComponentHolder(),t):this.beans.userComponentFactory.newPinnedRowCellRenderer(this.getComponentHolder(),t))&&(o.then(n),!0)},e.prototype.afterCellRendererCreated=function(t,e){this.isAlive()&&t===this.cellRendererVersion?(this.cellRenderer=e,this.cellRendererGui=this.cellRenderer.getGui(),g._.missing(this.cellRendererGui)||this.editingCell||this.eParentOfValue.appendChild(this.cellRendererGui)):e.destroy&&e.destroy()},e.prototype.attachCellRenderer=function(){return!!this.usingCellRenderer&&this.createCellRendererInstance()},e.prototype.createCellRendererParams=function(){var t=this;return{value:this.value,valueFormatted:this.valueFormatted,getValue:this.getValue.bind(this),setValue:function(e){t.beans.valueService.setValue(t.rowNode,t.column,e)},formatValue:this.formatValue.bind(this),data:this.rowNode.data,node:this.rowNode,colDef:this.getComponentHolder(),column:this.column,$scope:this.scope,rowIndex:this.gridCell.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.eParentOfValue,addRowCompListener:this.rowComp?this.rowComp.addEventListener.bind(this.rowComp):null,addRenderedRowListener:function(e,o){console.warn("ag-Grid: since ag-Grid .v11, params.addRenderedRowListener() is now params.addRowCompListener()"),t.rowComp&&t.rowComp.addEventListener(e,o)}}},e.prototype.formatValue=function(t){var e=this.beans.valueFormatterService.formatValue(this.column,this.rowNode,this.scope,t);return null!=e?e:t},e.prototype.getValueToUse=function(){return null!==this.valueFormatted&&void 0!==this.valueFormatted?this.valueFormatted:this.value},e.prototype.getValueAndFormat=function(){this.value=this.getValue(),this.valueFormatted=this.beans.valueFormatterService.formatValue(this.column,this.rowNode,this.scope,this.value)},e.prototype.getValue=function(){var t=this.rowNode.leafGroup&&this.beans.columnController.isPivotMode(),e=this.rowNode.group&&this.rowNode.expanded&&!this.rowNode.footer&&!t,o=this.beans.gridOptionsWrapper.isGroupIncludeFooter(),n=this.beans.gridOptionsWrapper.isGroupSuppressBlankHeader(),i=e&&o&&!n;return this.beans.valueService.getValue(this.column,this.rowNode,!1,i)},e.prototype.onMouseEvent=function(t,e){if(!g._.isStopPropagationForAgGrid(e))switch(t){case"click":this.onCellClicked(e);break;case"mousedown":this.onMouseDown(e);break;case"dblclick":this.onCellDoubleClicked(e);break;case"mouseout":this.onMouseOut(e);break;case"mouseover":this.onMouseOver(e)}},e.prototype.dispatchCellContextMenuEvent=function(t){var e=this.getComponentHolder(),o=this.createEvent(t,p.Events.EVENT_CELL_CONTEXT_MENU);this.beans.eventService.dispatchEvent(o),e.onCellContextMenu&&window.setTimeout((function(){return e.onCellContextMenu(o)}),0)},e.prototype.createEvent=function(t,e){var o={node:this.rowNode,data:this.rowNode.data,value:this.value,column:this.column,colDef:this.getComponentHolder(),context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridApi,columnApi:this.beans.columnApi,rowPinned:this.rowNode.rowPinned,event:t,type:e,rowIndex:this.rowNode.rowIndex};return this.scope&&(o.$scope=this.scope),o},e.prototype.onMouseOut=function(t){var e=this.createEvent(t,p.Events.EVENT_CELL_MOUSE_OUT);this.beans.eventService.dispatchEvent(e),this.beans.columnHoverService.clearMouseOver()},e.prototype.onMouseOver=function(t){var e=this.createEvent(t,p.Events.EVENT_CELL_MOUSE_OVER);this.beans.eventService.dispatchEvent(e),this.beans.columnHoverService.setMouseOver([this.column])},e.prototype.onCellDoubleClicked=function(t){var e=this.getComponentHolder(),o=this.createEvent(t,p.Events.EVENT_CELL_DOUBLE_CLICKED);this.beans.eventService.dispatchEvent(o),"function"==typeof e.onCellDoubleClicked&&window.setTimeout((function(){return e.onCellDoubleClicked(o)}),0),!this.beans.gridOptionsWrapper.isSingleClickEdit()&&!this.beans.gridOptionsWrapper.isSuppressClickEdit()&&this.startRowOrCellEdit()},e.prototype.startRowOrCellEdit=function(t,e){this.beans.gridOptionsWrapper.isFullRowEdit()?this.rowComp.startRowEditing(t,e,this):this.startEditingIfEnabled(t,e,!0)},e.prototype.isCellEditable=function(){return this.column.isCellEditable(this.rowNode)},e.prototype.startEditingIfEnabled=function(t,e,o){if(void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=!1),this.isCellEditable()&&!this.editingCell){this.editingCell=!0,this.cellEditorVersion++;var n=this.afterCellEditorCreated.bind(this,this.cellEditorVersion),i=this.createCellEditorParams(t,e,o);this.createCellEditor(i).then(n),g._.missing(this.cellEditor)&&o&&this.focusCell(!0)}},e.prototype.createCellEditor=function(t){var e=this;return this.beans.userComponentFactory.newCellEditor(this.column.getColDef(),t).map((function(o){if(!o.isPopup||!o.isPopup())return o;e.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 n=new f.PopupEditorWrapper(o);return e.beans.context.wireBean(n),n.init(t),n}))},e.prototype.afterCellEditorCreated=function(t,e){if(t===this.cellEditorVersion&&this.editingCell){if(e.isCancelBeforeStart&&e.isCancelBeforeStart())return e.destroy&&e.destroy(),void(this.editingCell=!1);if(!e.getGui)return console.warn("ag-Grid: cellEditor for column "+this.column.getId()+" is missing getGui() method"),e.render&&console.warn("ag-Grid: we found 'render' on the component, are you trying to set a React renderer but added it as colDef.cellEditor instead of colDef.cellEditorFmk?"),e.destroy&&e.destroy(),void(this.editingCell=!1);this.cellEditor=e,this.cellEditorInPopup=void 0!==e.isPopup&&e.isPopup(),this.setInlineEditingClass(),this.cellEditorInPopup?this.addPopupCellEditor():this.addInCellEditor(),e.afterGuiAttached&&e.afterGuiAttached();var o=this.createEvent(null,p.Events.EVENT_CELL_EDITING_STARTED);this.beans.eventService.dispatchEvent(o)}else e.destroy&&e.destroy()},e.prototype.addInCellEditor=function(){g._.clearElement(this.getGui()),this.cellEditor&&this.getGui().appendChild(this.cellEditor.getGui()),this.angular1Compile()},e.prototype.addPopupCellEditor=function(){var t=this,e=this.cellEditor?this.cellEditor.getGui():null;this.hideEditorPopup=this.beans.popupService.addAsModalPopup(e,!0,(function(){t.onPopupEditorClosed()})),this.beans.popupService.positionPopupOverComponent({column:this.column,rowNode:this.rowNode,type:"popupCellEditor",eventSource:this.getGui(),ePopup:e,keepWithinBounds:!0}),this.angular1Compile()},e.prototype.onPopupEditorClosed=function(){this.editingCell&&(this.stopRowOrCellEdit(),this.beans.focusedCellController.isCellFocused(this.gridCell)&&this.focusCell(!0))},e.prototype.setInlineEditingClass=function(){var t=this.editingCell&&!this.cellEditorInPopup,e=this.editingCell&&this.cellEditorInPopup;g._.addOrRemoveCssClass(this.getGui(),"ag-cell-inline-editing",t),g._.addOrRemoveCssClass(this.getGui(),"ag-cell-not-inline-editing",!t),g._.addOrRemoveCssClass(this.getGui(),"ag-cell-popup-editing",e),g._.addOrRemoveCssClass(this.getGui().parentNode,"ag-row-inline-editing",t),g._.addOrRemoveCssClass(this.getGui().parentNode,"ag-row-not-inline-editing",!t)},e.prototype.createCellEditorParams=function(t,e,o){return{value:this.getValue(),keyPress:t,charPress:e,column:this.column,colDef:this.column.getColDef(),rowIndex:this.gridCell.rowIndex,node:this.rowNode,data:this.rowNode.data,api:this.beans.gridOptionsWrapper.getApi(),cellStartedEdit:o,columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),$scope:this.scope,onKeyDown:this.onKeyDown.bind(this),stopEditing:this.stopEditingAndFocus.bind(this),eGridCell:this.getGui(),parseValue:this.parseValue.bind(this),formatValue:this.formatValue.bind(this)}},e.prototype.stopEditingAndFocus=function(t){void 0===t&&(t=!1),this.stopRowOrCellEdit(),this.focusCell(!0),t||this.navigateAfterEdit()},e.prototype.parseValue=function(t){var e=this.getComponentHolder(),o={node:this.rowNode,data:this.rowNode.data,oldValue:this.value,newValue:t,colDef:e,column:this.column,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()},n=e.valueParser;return g._.exists(n)?this.beans.expressionService.evaluate(n,o):t},e.prototype.focusCell=function(t){void 0===t&&(t=!1),this.beans.focusedCellController.setFocusedCell(this.gridCell.rowIndex,this.column,this.rowNode.rowPinned,t)},e.prototype.setFocusInOnEditor=function(){this.editingCell&&(this.cellEditor&&this.cellEditor.focusIn?this.cellEditor.focusIn():this.focusCell(!0))},e.prototype.isEditing=function(){return this.editingCell},e.prototype.onKeyDown=function(t){var e=t.which||t.keyCode;switch(e){case l.Constants.KEY_ENTER:this.onEnterKeyDown();break;case l.Constants.KEY_F2:this.onF2KeyDown();break;case l.Constants.KEY_ESCAPE:this.onEscapeKeyDown();break;case l.Constants.KEY_TAB:this.onTabKeyDown(t);break;case l.Constants.KEY_BACKSPACE:case l.Constants.KEY_DELETE:this.onBackspaceOrDeleteKeyPressed(e);break;case l.Constants.KEY_DOWN:case l.Constants.KEY_UP:case l.Constants.KEY_RIGHT:case l.Constants.KEY_LEFT:this.onNavigationKeyPressed(t,e)}},e.prototype.setFocusOutOnEditor=function(){this.editingCell&&this.cellEditor&&this.cellEditor.focusOut&&this.cellEditor.focusOut()},e.prototype.onNavigationKeyPressed=function(t,e){this.editingCell||(t.shiftKey&&this.rangeSelectionEnabled?this.onShiftRangeSelect(e):this.beans.rowRenderer.navigateToNextCell(t,e,this.gridCell,!0),t.preventDefault())},e.prototype.onShiftRangeSelect=function(t){if(this.beans.rangeController.extendRangeInDirection(this.gridCell,t)){var e=this.beans.rangeController.getCellRanges();if(!g._.missing(e)&&e&&1===e.length){var o=e[0].end;this.beans.rowRenderer.ensureCellVisible(o)}}},e.prototype.onTabKeyDown=function(t){this.beans.rowRenderer.onTabKeyDown(this,t)},e.prototype.onBackspaceOrDeleteKeyPressed=function(t){this.editingCell||this.startRowOrCellEdit(t)},e.prototype.onEnterKeyDown=function(){this.editingCell||this.rowComp.isEditing()?this.stopEditingAndFocus():this.beans.gridOptionsWrapper.isEnterMovesDown()?this.beans.rowRenderer.navigateToNextCell(null,l.Constants.KEY_DOWN,this.gridCell,!1):this.startRowOrCellEdit(l.Constants.KEY_ENTER)},e.prototype.navigateAfterEdit=function(){this.beans.gridOptionsWrapper.isFullRowEdit()||this.beans.gridOptionsWrapper.isEnterMovesDownAfterEdit()&&this.beans.rowRenderer.navigateToNextCell(null,l.Constants.KEY_DOWN,this.gridCell,!1)},e.prototype.onF2KeyDown=function(){this.editingCell||this.startRowOrCellEdit(l.Constants.KEY_F2)},e.prototype.onEscapeKeyDown=function(){this.editingCell&&(this.stopRowOrCellEdit(!0),this.focusCell(!0))},e.prototype.onKeyPress=function(t){if(g._.getTarget(t)===this.getGui()&&!this.editingCell){var e=String.fromCharCode(t.charCode);" "===e?this.onSpaceKeyPressed(t):g._.isEventFromPrintableCharacter(t)&&(this.startRowOrCellEdit(null,e),t.preventDefault())}},e.prototype.onSpaceKeyPressed=function(t){if(!this.editingCell&&this.beans.gridOptionsWrapper.isRowSelection()){var e=this.rowNode.isSelected();this.rowNode.setSelected(!e)}t.preventDefault()},e.prototype.onMouseDown=function(t){var e=!1;if(!g._.isElementChildOfClass(t.target,"ag-selection-checkbox",3)){if(g._.isBrowserIE()&&t.target.classList.contains("ag-cell")&&(e=!0),this.focusCell(e),g._.isLeftClick(t)&&this.beans.rangeController){var o=this.gridCell;if(t.shiftKey)this.beans.rangeController.extendRangeToCell(o);else{var n=t.ctrlKey||t.metaKey;this.beans.rangeController.setRangeToCell(o,n)}}var i=this.createEvent(t,p.Events.EVENT_CELL_MOUSE_DOWN);this.beans.eventService.dispatchEvent(i)}},e.prototype.isDoubleClickOnIPad=function(){if(!g._.isUserAgentIPad())return!1;var t=(new Date).getTime(),e=t-this.lastIPadMouseClickEvent<200;return this.lastIPadMouseClickEvent=t,e},e.prototype.onCellClicked=function(t){if(this.isDoubleClickOnIPad())return this.onCellDoubleClicked(t),void t.preventDefault();var e=this.createEvent(t,p.Events.EVENT_CELL_CLICKED);this.beans.eventService.dispatchEvent(e);var o=this.getComponentHolder();o.onCellClicked&&window.setTimeout((function(){return o.onCellClicked(e)}),0),(this.beans.gridOptionsWrapper.isSingleClickEdit()||o.singleClickEdit)&&!this.beans.gridOptionsWrapper.isSuppressClickEdit()&&this.startRowOrCellEdit(),g._.doIeFocusHack(this.getGui())},e.prototype.createGridCellVo=function(){var t={rowIndex:this.rowNode.rowIndex,floating:this.rowNode.rowPinned,column:this.column};this.gridCell=new u.GridCell(t)},e.prototype.getGridCell=function(){return this.gridCell},e.prototype.getParentRow=function(){return this.eParentRow},e.prototype.setParentRow=function(t){this.eParentRow=t},e.prototype.getColumn=function(){return this.column},e.prototype.getComponentHolder=function(){return this.column.getColDef()},e.prototype.detach=function(){this.eParentRow.removeChild(this.getGui())},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.cellEditor&&this.cellEditor.destroy&&(this.cellEditor.destroy(),this.cellEditor=null),this.cellRenderer&&this.cellRenderer.destroy&&(this.cellRenderer.destroy(),this.cellRenderer=null)},e.prototype.onLeftChanged=function(){var t=this.modifyLeftForPrintLayout(this.getCellLeft());this.getGui().style.left=t+"px"},e.prototype.modifyLeftForPrintLayout=function(t){return this.printLayout?this.column.getPinned()===s.Column.PINNED_LEFT?t:this.column.getPinned()===s.Column.PINNED_RIGHT?this.beans.columnController.getPinnedLeftContainerWidth()+this.beans.columnController.getBodyContainerWidth()+t:this.beans.columnController.getPinnedLeftContainerWidth()+t:t},e.prototype.onWidthChanged=function(){var t=this.getCellWidth();this.getGui().style.width=t+"px"},e.prototype.getRangeClasses=function(){var t=[];return this.rangeSelectionEnabled?(0!==this.rangeCount&&t.push("ag-cell-range-selected"),1===this.rangeCount&&t.push("ag-cell-range-selected-1"),2===this.rangeCount&&t.push("ag-cell-range-selected-2"),3===this.rangeCount&&t.push("ag-cell-range-selected-3"),this.rangeCount>=4&&t.push("ag-cell-range-selected-4"),t):t},e.prototype.onRowIndexChanged=function(){this.createGridCellVo(),this.onCellFocused(),this.onRangeSelectionChanged()},e.prototype.onRangeSelectionChanged=function(){if(this.beans.enterprise){var t=this.beans.rangeController.getCellRangeCount(this.gridCell),e=this.getGui();this.rangeCount!==t&&(g._.addOrRemoveCssClass(e,"ag-cell-range-selected",0!==t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-1",1===t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-2",2===t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-3",3===t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-4",t>=4),this.rangeCount=t)}},e.prototype.onFirstRightPinnedChanged=function(){var t=this.column.isFirstRightPinned();this.firstRightPinned!==t&&(this.firstRightPinned=t,g._.addOrRemoveCssClass(this.getGui(),"ag-cell-first-right-pinned",t))},e.prototype.onLastLeftPinnedChanged=function(){var t=this.column.isLastLeftPinned();this.lastLeftPinned!==t&&(this.lastLeftPinned=t,g._.addOrRemoveCssClass(this.getGui(),"ag-cell-last-left-pinned",t))},e.prototype.populateTemplate=function(){this.usingWrapper?(this.eParentOfValue=this.getRefElement("eCellValue"),this.eCellWrapper=this.getRefElement("eCellWrapper"),this.includeRowDraggingComponent&&this.addRowDragging(),this.includeSelectionComponent&&this.addSelectionCheckbox()):this.eParentOfValue=this.getGui()},e.prototype.addRowDragging=function(){if(this.beans.gridOptionsWrapper.isRowModelDefault())if(this.beans.gridOptionsWrapper.isPagination())g._.doOnce((function(){return console.warn("ag-Grid: row dragging is not possible when doing pagination")}),"CellComp.addRowDragging");else{var t=new h.RowDragComp(this.rowNode,this.column,this.getValueToUse(),this.beans);this.addFeature(this.beans.context,t),this.eCellWrapper.insertBefore(t.getGui(),this.eParentOfValue)}else g._.doOnce((function(){return console.warn("ag-Grid: row dragging is only allowed in the In Memory Row Model")}),"CellComp.addRowDragging")},e.prototype.addSelectionCheckbox=function(){var t=new d.CheckboxSelectionComponent;this.beans.context.wireBean(t);var e=this.getComponentHolder().checkboxSelection;e="function"==typeof e?e:null,t.init({rowNode:this.rowNode,column:this.column,visibleFunc:e}),this.addDestroyFunc((function(){return t.destroy()})),this.eCellWrapper.insertBefore(t.getGui(),this.eParentOfValue)},e.prototype.addDomData=function(){var t=this,o=this.getGui();this.beans.gridOptionsWrapper.setDomData(o,e.DOM_DATA_KEY_CELL_COMP,this),this.addDestroyFunc((function(){return t.beans.gridOptionsWrapper.setDomData(o,e.DOM_DATA_KEY_CELL_COMP,null)}))},e.prototype.onCellFocused=function(t){var e=this.beans.focusedCellController.isCellFocused(this.gridCell);if(e!==this.cellFocused&&(!this.beans.gridOptionsWrapper.isSuppressCellSelection()&&g._.addOrRemoveCssClass(this.getGui(),"ag-cell-focus",e),this.cellFocused=e),e&&t&&t.forceBrowserFocus){var o=this.getGui();o.focus(),g._.doIeFocusHack(o)}var n=this.beans.gridOptionsWrapper.isFullRowEdit();e||n||!this.editingCell||this.stopRowOrCellEdit()},e.prototype.stopRowOrCellEdit=function(t){void 0===t&&(t=!1),this.beans.gridOptionsWrapper.isFullRowEdit()?this.rowComp.stopRowEditing(t):this.stopEditing(t)},e.prototype.stopEditing=function(t){if(void 0===t&&(t=!1),this.editingCell)if(this.cellEditor){var e,o=!1;if(t||this.cellEditor.isCancelAfterEnd&&this.cellEditor.isCancelAfterEnd()||(e=this.cellEditor.getValue(),o=!0),this.editingCell=!1,this.cellEditor.destroy&&this.cellEditor.destroy(),this.cellEditor=null,this.cellEditorInPopup&&this.hideEditorPopup)this.hideEditorPopup(),this.hideEditorPopup=null;else if(g._.clearElement(this.getGui()),this.usingWrapper)this.getGui().appendChild(this.eCellWrapper);else if(this.cellRenderer){var n=this.cellRendererGui;n&&this.getGui().appendChild(n)}this.setInlineEditingClass(),o&&(this.suppressRefreshCell=!0,this.rowNode.setDataValue(this.column,e),this.suppressRefreshCell=!1),this.refreshCell({forceRefresh:!0,suppressFlash:!0});var i=this.createEvent(null,p.Events.EVENT_CELL_EDITING_STOPPED);this.beans.eventService.dispatchEvent(i)}else this.editingCell=!1},e.DOM_DATA_KEY_CELL_COMP="cellComp",e.CELL_RENDERER_TYPE_NORMAL="cellRenderer",e.CELL_RENDERER_TYPE_PINNED="pinnedRowCellRenderer",e}(c.Component);e.CellComp=y},23234:(t,e,o)=>{var n=o(66346).Set,i=o(66346).BitSet,r=o(72994).Token,s=o(470).G,a=(o(70040).Interval,o(70040).m),l=o(81367).RuleStopState,p=o(10014).RuleTransition,u=o(10014).NotSetTransition,c=o(10014).WildcardTransition,d=o(10014).AbstractPredicateTransition,h=o(10559),f=h.predictionContextFromRuleContext,g=h.PredictionContext,y=h.SingletonPredictionContext;function v(t){this.atn=t}v.HIT_PRED=r.INVALID_TYPE,v.prototype.getDecisionLookahead=function(t){if(null===t)return null;for(var e=t.transitions.length,o=[],r=0;r<e;r++){o[r]=new a;var s=new n;this._LOOK(t.transition(r).target,null,g.EMPTY,o[r],s,new i,!1,!1),(0===o[r].length||o[r].contains(v.HIT_PRED))&&(o[r]=null)}return o},v.prototype.LOOK=function(t,e,o){var r=new a,s=null!==(o=o||null)?f(t.atn,o):null;return this._LOOK(t,e,s,r,new n,new i,!0,!0),r},v.prototype._LOOK=function(t,e,o,n,i,a,h,f){var m=new s({state:t,alt:0,context:o},null);if(!i.contains(m)){if(i.add(m),t===e){if(null===o)return void n.addOne(r.EPSILON);if(o.isEmpty()&&f)return void n.addOne(r.EOF)}if(t instanceof l){if(null===o)return void n.addOne(r.EPSILON);if(o.isEmpty()&&f)return void n.addOne(r.EOF);if(o!==g.EMPTY){for(var C=0;C<o.length;C++){var E=this.atn.states[o.getReturnState(C)],w=a.contains(E.ruleIndex);try{a.remove(E.ruleIndex),this._LOOK(E,e,o.getParent(C),n,i,a,h,f)}finally{w&&a.add(E.ruleIndex)}}return}}for(var _=0;_<t.transitions.length;_++){var R=t.transitions[_];if(R.constructor===p){if(a.contains(R.target.ruleIndex))continue;var S=y.create(o,R.followState.stateNumber);try{a.add(R.target.ruleIndex),this._LOOK(R.target,e,S,n,i,a,h,f)}finally{a.remove(R.target.ruleIndex)}}else if(R instanceof d)h?this._LOOK(R.target,e,o,n,i,a,h,f):n.addOne(v.HIT_PRED);else if(R.isEpsilon)this._LOOK(R.target,e,o,n,i,a,h,f);else if(R.constructor===c)n.addRange(r.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var O=R.label;null!==O&&(R instanceof u&&(O=O.complement(r.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),n.addSet(O))}}}},e.a=v},23438:(t,e,o)=>{var n=o(66346),i=o(72994).Token,r=(o(48898).RuleNode,o(48898).ErrorNode),s=o(48898).TerminalNode,a=o(29499).ParserRuleContext,l=o(40846).m,p=o(51028).INVALID_ALT_NUMBER;function u(){}u.toStringTree=function(t,e,o){e=e||null,null!==(o=o||null)&&(e=o.ruleNames);var i=u.getNodeText(t,e);i=n.escapeWhitespace(i,!1);var r=t.getChildCount();if(0===r)return i;var s="("+i+" ";r>0&&(i=u.toStringTree(t.getChild(0),e),s=s.concat(i));for(var a=1;a<r;a++)i=u.toStringTree(t.getChild(a),e),s=s.concat(" "+i);return s.concat(")")},u.getNodeText=function(t,e,o){if(e=e||null,null!==(o=o||null)&&(e=o.ruleNames),null!==e){if(t instanceof l){var n=t.getAltNumber();return n!=p?e[t.ruleIndex]+":"+n:e[t.ruleIndex]}if(t instanceof r)return t.toString();if(t instanceof s&&null!==t.symbol)return t.symbol.text}var a=t.getPayload();return a instanceof i?a.text:t.getPayload().toString()},u.getChildren=function(t){for(var e=[],o=0;o<t.getChildCount();o++)e.push(t.getChild(o));return e},u.getAncestors=function(t){var e=[];for(t=t.getParent();null!==t;)e=[t].concat(e),t=t.getParent();return e},u.findAllTokenNodes=function(t,e){return u.findAllNodes(t,e,!0)},u.findAllRuleNodes=function(t,e){return u.findAllNodes(t,e,!1)},u.findAllNodes=function(t,e,o){var n=[];return u._findAllNodes(t,e,o,n),n},u._findAllNodes=function(t,e,o,n){o&&t instanceof s?t.symbol.type===e&&n.push(t):!o&&t instanceof a&&t.ruleIndex===e&&n.push(t);for(var i=0;i<t.getChildCount();i++)u._findAllNodes(t.getChild(i),e,o,n)},u.descendants=function(t){for(var e=[t],o=0;o<t.getChildCount();o++)e=e.concat(u.descendants(t.getChild(o)));return e},e.Trees=u},23801:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(55090),a=o(23054),l=o(98239),p=o(83423),u=function(){function t(){}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.getPreferredHeightForRow=function(t){var e=this;this.eDummyContainer||(this.eDummyContainer=document.createElement("div"),p._.addCssClass(this.eDummyContainer,"ag-row ag-row-no-focus"));var o=this.gridPanel.getCenterContainer();o.appendChild(this.eDummyContainer);var n=[];this.columnController.getAllAutoRowHeightCols().filter((function(t){return t.isVisible()})).forEach((function(o){var i=new a.CellComp(e.$scope,e.beans,o,t,null,!0,!1);i.setParentRow(e.eDummyContainer),n.push(i)}));var i=n.map((function(t){return t.getCreateTemplate()})).join(" ");this.eDummyContainer.innerHTML=i,n.forEach((function(t){return t.afterAttached()}));for(var r=0,s=0;s<this.eDummyContainer.children.length;s++){var l=this.eDummyContainer.children[s];l.offsetHeight>r&&(r=l.offsetHeight)}return o.removeChild(this.eDummyContainer),n.forEach((function(t){t.detach(),t.destroy()})),p._.clearElement(this.eDummyContainer),r},n([r.Autowired("beans"),i("design:type",s.Beans)],t.prototype,"beans",void 0),n([r.Autowired("$scope"),i("design:type",Object)],t.prototype,"$scope",void 0),n([r.Autowired("columnController"),i("design:type",l.ColumnController)],t.prototype,"columnController",void 0),n([r.Bean("autoHeightCalculator")],t)}();e.AutoHeightCalculator=u},24048:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(663),l=o(4889),p=function(){function t(){}return t.prototype.execute=function(t){var e=t.rowNode,o=t.changedPath;this.filterService.filter(o),this.selectableService.updateSelectableAfterFiltering(e)},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("selectableService"),i("design:type",l.SelectableService)],t.prototype,"selectableService",void 0),n([r.Autowired("filterService"),i("design:type",a.FilterService)],t.prototype,"filterService",void 0),n([r.Bean("filterStage")],t)}();e.FilterStage=p},24144:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=function(t){function e(){return t.call(this)||this}return i(e,t),e.prototype.init=function(t){var o=this.gridOptionsWrapper.getOverlayLoadingTemplate()?this.gridOptionsWrapper.getOverlayLoadingTemplate():e.DEFAULT_LOADING_OVERLAY_TEMPLATE,n=this.gridOptionsWrapper.getLocaleTextFunc(),i=o.replace("[LOADING...]",n("loadingOoo","Loading..."));this.setTemplate(i)},e.DEFAULT_LOADING_OVERLAY_TEMPLATE='<span class="ag-overlay-loading-center">[LOADING...]</span>',r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(o(22131).Component);e.LoadingOverlayComponent=p},24429:(t,e,o)=>{var n=o(72994).Token,i=o(86587),r=i.NoViableAltException,s=i.InputMismatchException,a=i.FailedPredicateException,l=i.ParseCancellationException,p=o(81367).ATNState,u=o(70040).Interval,c=o(70040).m;function d(){}function h(){return d.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function f(){return h.call(this),this}d.prototype.reset=function(t){},d.prototype.recoverInline=function(t){},d.prototype.recover=function(t,e){},d.prototype.sync=function(t){},d.prototype.inErrorRecoveryMode=function(t){},d.prototype.reportError=function(t){},h.prototype=Object.create(d.prototype),h.prototype.constructor=h,h.prototype.reset=function(t){this.endErrorCondition(t)},h.prototype.beginErrorCondition=function(t){this.errorRecoveryMode=!0},h.prototype.inErrorRecoveryMode=function(t){return this.errorRecoveryMode},h.prototype.endErrorCondition=function(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},h.prototype.reportMatch=function(t){this.endErrorCondition(t)},h.prototype.reportError=function(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof r?this.reportNoViableAlternative(t,e):e instanceof s?this.reportInputMismatch(t,e):e instanceof a?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))},h.prototype.recover=function(t,e){this.lastErrorIndex===t.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);var o=this.getErrorRecoverySet(t);this.consumeUntil(t,o)},h.prototype.sync=function(t){if(!this.inErrorRecoveryMode(t)){var e=t._interp.atn.states[t.state],o=t.getTokenStream().LA(1),i=t.atn.nextTokens(e);if(!i.contains(n.EPSILON)&&!i.contains(o))switch(e.stateType){case p.BLOCK_START:case p.STAR_BLOCK_START:case p.PLUS_BLOCK_START:case p.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(t))return;throw new s(t);case p.PLUS_LOOP_BACK:case p.STAR_LOOP_BACK:this.reportUnwantedToken(t);var r=new c;r.addSet(t.getExpectedTokens());var a=r.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,a)}}},h.prototype.reportNoViableAlternative=function(t,e){var o,i=t.getTokenStream();o=null!==i?e.startToken.type===n.EOF?"<EOF>":i.getText(new u(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):"<unknown input>";var r="no viable alternative at input "+this.escapeWSAndQuote(o);t.notifyErrorListeners(r,e.offendingToken,e)},h.prototype.reportInputMismatch=function(t,e){var o="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(o,e.offendingToken,e)},h.prototype.reportFailedPredicate=function(t,e){var o="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(o,e.offendingToken,e)},h.prototype.reportUnwantedToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),o="extraneous input "+this.getTokenErrorDisplay(e)+" expecting "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(o,e,null)}},h.prototype.reportMissingToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),o="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(o,e,null)}},h.prototype.recoverInline=function(t){var e=this.singleTokenDeletion(t);if(null!==e)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new s(t)},h.prototype.singleTokenInsertion=function(t){var e=t.getTokenStream().LA(1),o=t._interp.atn,n=o.states[t.state].transitions[0].target;return!!o.nextTokens(n,t._ctx).contains(e)&&(this.reportMissingToken(t),!0)},h.prototype.singleTokenDeletion=function(t){var e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();var o=t.getCurrentToken();return this.reportMatch(t),o}return null},h.prototype.getMissingSymbol=function(t){var e,o=t.getCurrentToken(),i=this.getExpectedTokens(t).first();e=i===n.EOF?"<missing EOF>":"<missing "+t.literalNames[i]+">";var r=o,s=t.getTokenStream().LT(-1);return r.type===n.EOF&&null!==s&&(r=s),t.getTokenFactory().create(r.source,i,e,n.DEFAULT_CHANNEL,-1,-1,r.line,r.column)},h.prototype.getExpectedTokens=function(t){return t.getExpectedTokens()},h.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===n.EOF?"<EOF>":"<"+t.type+">"),this.escapeWSAndQuote(e)},h.prototype.escapeWSAndQuote=function(t){return"'"+(t=(t=(t=t.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},h.prototype.getErrorRecoverySet=function(t){for(var e=t._interp.atn,o=t._ctx,i=new c;null!==o&&o.invokingState>=0;){var r=e.states[o.invokingState].transitions[0],s=e.nextTokens(r.followState);i.addSet(s),o=o.parentCtx}return i.removeOne(n.EPSILON),i},h.prototype.consumeUntil=function(t,e){for(var o=t.getTokenStream().LA(1);o!==n.EOF&&!e.contains(o);)t.consume(),o=t.getTokenStream().LA(1)},f.prototype=Object.create(h.prototype),f.prototype.constructor=f,f.prototype.recover=function(t,e){for(var o=t._ctx;null!==o;)o.exception=e,o=o.parentCtx;throw new l(e)},f.prototype.recoverInline=function(t){this.recover(t,new s(t))},f.prototype.sync=function(t){},e.BailErrorStrategy=f,e.$=h},24463:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(40634),a=o(98239),l=o(72493),p=o(63405),u=o(60843),c=o(88842),d=o(83423),h=function(){function t(){this.initialised=!1}return t.prototype.init=function(){this.cellExpressions=this.gridOptionsWrapper.isEnableCellExpressions(),this.initialised=!0},t.prototype.getValue=function(t,e,o,n){if(void 0===o&&(o=!1),void 0===n&&(n=!1),this.initialised||this.init(),e){var i,r=t.getColDef(),s=r.field,a=t.getId(),l=e.data,p=e.groupData&&void 0!==e.groupData[a],u=!n&&e.aggData&&void 0!==e.aggData[a];if(o&&r.filterValueGetter?i=this.executeFilterValueGetter(r.filterValueGetter,l,t,e):this.gridOptionsWrapper.isTreeData()&&u?i=e.aggData[a]:this.gridOptionsWrapper.isTreeData()&&r.valueGetter?i=this.executeValueGetter(r.valueGetter,l,t,e):this.gridOptionsWrapper.isTreeData()&&s&&l?i=d._.getValueUsingField(l,s,t.isFieldContainsDots()):p?i=e.groupData[a]:u?i=e.aggData[a]:r.valueGetter?i=this.executeValueGetter(r.valueGetter,l,t,e):s&&l&&(i=d._.getValueUsingField(l,s,t.isFieldContainsDots())),this.cellExpressions&&"string"==typeof i&&0===i.indexOf("=")){var c=i.substring(1);i=this.executeValueGetter(c,l,t,e)}return i}},t.prototype.setValue=function(t,e,o){var n=this.columnController.getPrimaryColumn(e);if(t&&n){var i=t.data;d._.missing(i)&&(t.data={});var r=n.getColDef(),s=r.field,a=r.newValueHandler,l=r.valueSetter;if(d._.missing(s)&&d._.missing(a)&&d._.missing(l))console.warn("ag-Grid: you need either field or valueSetter set on colDef for editing to work");else{var u,c={node:t,data:t.data,oldValue:this.getValue(n,t),newValue:o,colDef:n.getColDef(),column:n,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};if(c.newValue=o,void 0===(u=a&&d._.exists(a)?a(c):d._.exists(l)?this.expressionService.evaluate(l,c):this.setValueUsingField(i,s,o,n.isFieldContainsDots()))&&(u=!0),u){t.resetQuickFilterAggregateText(),this.valueCache.onDataChanged(),c.newValue=this.getValue(n,t);var h=n.getColDef().onCellValueChanged;"function"==typeof h&&setTimeout((function(){return h(c)}),0);var f={type:p.Events.EVENT_CELL_VALUE_CHANGED,event:null,rowIndex:t.rowIndex,rowPinned:t.rowPinned,column:c.column,api:c.api,colDef:c.colDef,columnApi:c.columnApi,context:c.context,data:t.data,node:t,oldValue:c.oldValue,newValue:c.newValue,value:c.newValue};this.eventService.dispatchEvent(f)}}}},t.prototype.setValueUsingField=function(t,e,o,n){if(!e)return!1;if(n)for(var i=e.split("."),r=t;i.length>0&&r;){var s=i.shift();0===i.length?r[s]=o:r=r[s]}else t[e]=o;return!0},t.prototype.executeFilterValueGetter=function(t,e,o,n){var i={data:e,node:n,column:o,colDef:o.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,n)};return this.expressionService.evaluate(t,i)},t.prototype.executeValueGetter=function(t,e,o,n){var i=o.getId(),r=this.valueCache.getValue(n,i);if(void 0!==r)return r;var s={data:e,node:n,column:o,colDef:o.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,n)},a=this.expressionService.evaluate(t,s);return this.valueCache.setValue(n,i,a),a},t.prototype.getValueCallback=function(t,e){var o=this.columnController.getPrimaryColumn(e);return o?this.getValue(o,t):null},t.prototype.getKeyForNode=function(t,e){var o=this.getValue(t,e),n=t.getColDef().keyCreator,i=n?n({value:o}):o;return"string"==typeof i||null==i||"[object Object]"===(i=String(i))&&d._.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]"),i},n([l.Autowired("gridOptionsWrapper"),i("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([l.Autowired("expressionService"),i("design:type",s.ExpressionService)],t.prototype,"expressionService",void 0),n([l.Autowired("columnController"),i("design:type",a.ColumnController)],t.prototype,"columnController",void 0),n([l.Autowired("eventService"),i("design:type",u.EventService)],t.prototype,"eventService",void 0),n([l.Autowired("valueCache"),i("design:type",c.ValueCache)],t.prototype,"valueCache",void 0),n([l.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([l.Bean("valueService")],t)}();e.ValueService=h},25230:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(37132),a=o(60843),l=o(63405),p=o(44081),u=o(44871),c=o(40797),d=o(83423),h=function(){function t(){this.onMouseUpListener=this.onMouseUp.bind(this),this.onMouseMoveListener=this.onMouseMove.bind(this),this.onTouchEndListener=this.onTouchUp.bind(this),this.onTouchMoveListener=this.onTouchMove.bind(this),this.dragEndFunctions=[],this.dragSources=[]}return t.prototype.init=function(){this.logger=this.loggerFactory.create("DragService")},t.prototype.destroy=function(){this.dragSources.forEach(this.removeListener.bind(this)),this.dragSources.length=0},t.prototype.removeListener=function(t){var e=t.dragSource.eElement,o=t.mouseDownListener;if(e.removeEventListener("mousedown",o),t.touchEnabled){var n=t.touchStartListener;e.removeEventListener("touchstart",n,{passive:!0})}},t.prototype.removeDragSource=function(t){var e=d._.find(this.dragSources,(function(e){return e.dragSource===t}));e&&(this.removeListener(e),d._.removeFromArray(this.dragSources,e))},t.prototype.setNoSelectToBody=function(t){var e=this.gridOptionsWrapper.getDocument().querySelector("body");d._.exists(e)&&d._.addOrRemoveCssClass(e,"ag-unselectable",t)},t.prototype.addDragSource=function(t,e){void 0===e&&(e=!1);var o=this.onMouseDown.bind(this,t);t.eElement.addEventListener("mousedown",o);var n=null,i=this.gridOptionsWrapper.isSuppressTouch();e&&!i&&(n=this.onTouchStart.bind(this,t),t.eElement.addEventListener("touchstart",n,{passive:!1})),this.dragSources.push({dragSource:t,mouseDownListener:o,touchStartListener:n,touchEnabled:e})},t.prototype.onTouchStart=function(t,e){var o=this;this.currentDragParams=t,this.dragging=!1;var n=e.touches[0];this.touchLastTime=n,this.touchStart=n,e.preventDefault(),t.eElement.addEventListener("touchmove",this.onTouchMoveListener,{passive:!0}),t.eElement.addEventListener("touchend",this.onTouchEndListener,{passive:!0}),t.eElement.addEventListener("touchcancel",this.onTouchEndListener,{passive:!0}),this.dragEndFunctions.push((function(){t.eElement.removeEventListener("touchmove",o.onTouchMoveListener,{passive:!0}),t.eElement.removeEventListener("touchend",o.onTouchEndListener,{passive:!0}),t.eElement.removeEventListener("touchcancel",o.onTouchEndListener,{passive:!0})})),0===t.dragStartPixels&&this.onCommonMove(n,this.touchStart)},t.prototype.onMouseDown=function(t,e){var o=this;if(!(t.skipMouseEvent&&t.skipMouseEvent(e)||e._alreadyProcessedByDragService||(e._alreadyProcessedByDragService=!0,0!==e.button))){this.currentDragParams=t,this.dragging=!1,this.mouseEventLastTime=e,this.mouseStartEvent=e;var n=this.gridOptionsWrapper.getDocument();n.addEventListener("mousemove",this.onMouseMoveListener),n.addEventListener("mouseup",this.onMouseUpListener),this.dragEndFunctions.push((function(){n.removeEventListener("mousemove",o.onMouseMoveListener),n.removeEventListener("mouseup",o.onMouseUpListener)})),0===t.dragStartPixels&&this.onMouseMove(e)}},t.prototype.isEventNearStartEvent=function(t,e){var o=this.currentDragParams.dragStartPixels,n=d._.exists(o)?o:4;return d._.areEventsNear(t,e,n)},t.prototype.getFirstActiveTouch=function(t){for(var e=0;e<t.length;e++)if(t[e].identifier===this.touchStart.identifier)return t[e];return null},t.prototype.onCommonMove=function(t,e){if(!this.dragging){if(!this.dragging&&this.isEventNearStartEvent(t,e))return;this.dragging=!0;var o={type:l.Events.EVENT_DRAG_STARTED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o),this.currentDragParams.onDragStart(e),this.setNoSelectToBody(!0)}this.currentDragParams.onDragging(t)},t.prototype.onTouchMove=function(t){var e=this.getFirstActiveTouch(t.touches);e&&this.onCommonMove(e,this.touchStart)},t.prototype.onMouseMove=function(t){this.onCommonMove(t,this.mouseStartEvent)},t.prototype.onTouchUp=function(t){var e=this.getFirstActiveTouch(t.changedTouches);e||(e=this.touchLastTime),this.onUpCommon(e)},t.prototype.onMouseUp=function(t){this.onUpCommon(t)},t.prototype.onUpCommon=function(t){if(this.dragging){this.dragging=!1,this.currentDragParams.onDragStop(t);var e={type:l.Events.EVENT_DRAG_STOPPED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}this.setNoSelectToBody(!1),this.mouseStartEvent=null,this.mouseEventLastTime=null,this.touchStart=null,this.touchLastTime=null,this.currentDragParams=null,this.dragEndFunctions.forEach((function(t){return t()})),this.dragEndFunctions.length=0},n([r.Autowired("loggerFactory"),i("design:type",s.LoggerFactory)],t.prototype,"loggerFactory",void 0),n([r.Autowired("eventService"),i("design:type",a.EventService)],t.prototype,"eventService",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",p.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("columnApi"),i("design:type",u.ColumnApi)],t.prototype,"columnApi",void 0),n([r.Autowired("gridApi"),i("design:type",c.GridApi)],t.prototype,"gridApi",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r.PreDestroy,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"destroy",null),n([r.Bean("dragService")],t)}();e.DragService=h},25358:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(26016),p=o(72493),u=o(44081),c=o(86608),d=o(66419),h=o(60843),f=o(47721),g=o(63405),y=o(83423),v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lastMovingChanged=0,e}return i(e,t),e.prototype.init=function(t){var o=y._.firstExistingValue(t.template,e.TEMPLATE);o=o&&o.trim?o.trim():o,this.setTemplate(o),this.params=t,this.setupTap(),this.setupIcons(t.column),this.setupMenu(),this.setupSort(),this.setupFilterIcon(),this.setupText(t.displayName)},e.prototype.setupText=function(t){var e=y._.escape(t);this.eText&&(this.eText.innerHTML=e)},e.prototype.setupIcons=function(t){this.addInIcon("sortAscending",this.eSortAsc,t),this.addInIcon("sortDescending",this.eSortDesc,t),this.addInIcon("sortUnSort",this.eSortNone,t),this.addInIcon("menu",this.eMenu,t),this.addInIcon("filter",this.eFilter,t)},e.prototype.addInIcon=function(t,e,o){if(null!=e){var n=y._.createIconNoSpan(t,this.gridOptionsWrapper,o);e.appendChild(n)}},e.prototype.setupTap=function(){var t=this,e=this.gridOptionsWrapper;if(!e.isSuppressTouch()){var o=e.isSuppressMenuHide(),n=new d.TouchListener(this.getGui(),!0),i=o?new d.TouchListener(this.eMenu,!0):n;if(this.params.enableMenu){var r=o?"EVENT_TAP":"EVENT_LONG_TAP";this.addDestroyableEventListener(i,d.TouchListener[r],(function(o){e.getApi().showColumnMenuAfterMouseClick(t.params.column,o.touchStart)}))}this.params.enableSorting&&this.addDestroyableEventListener(n,d.TouchListener.EVENT_TAP,(function(e){var n=e.touchStart.target;o&&t.eMenu.contains(n)||t.sortController.progressSort(t.params.column,!1,"uiColumnSorted")})),this.addDestroyFunc((function(){return n.destroy()})),i!==n&&this.addDestroyFunc((function(){return i.destroy()}))}},e.prototype.setupMenu=function(){var t=this;if(this.eMenu){var e=this.gridOptionsWrapper.isSuppressMenuHide();if(!this.params.enableMenu||y._.isUserAgentIPad()&&!e)y._.removeFromParent(this.eMenu);else{this.addDestroyableEventListener(this.eMenu,"click",(function(){return t.showMenu(t.eMenu)})),e||(this.eMenu.style.opacity="0",this.addGuiEventListener("mouseover",(function(){t.eMenu.style.opacity="1"})),this.addGuiEventListener("mouseout",(function(){t.eMenu.style.opacity="0"})));var o=this.eMenu.style;o.transition="opacity 0.2s, border 0.2s",o["-webkit-transition"]="opacity 0.2s, border 0.2s"}}},e.prototype.showMenu=function(t){this.menuFactory.showMenuAfterButtonClick(this.params.column,t)},e.prototype.removeSortIcons=function(){y._.removeFromParent(this.eSortAsc),y._.removeFromParent(this.eSortDesc),y._.removeFromParent(this.eSortNone),y._.removeFromParent(this.eSortOrder)},e.prototype.setupSort=function(){var t=this;if(this.params.enableSorting){var e=this.gridOptionsWrapper.isMultiSortKeyCtrl();this.addDestroyableEventListener(this.params.column,l.Column.EVENT_MOVING_CHANGED,(function(){t.lastMovingChanged=(new Date).getTime()})),this.eLabel&&this.addDestroyableEventListener(this.eLabel,"click",(function(o){var n=t.params.column.isMoving(),i=(new Date).getTime()-t.lastMovingChanged<50;if(!n&&!i){var r=e?o.ctrlKey||o.metaKey:o.shiftKey;t.params.progressSort(r)}})),this.addDestroyableEventListener(this.params.column,l.Column.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.onSortChanged(),this.addDestroyableEventListener(this.eventService,g.Events.EVENT_SORT_CHANGED,this.setMultiSortOrder.bind(this)),this.setMultiSortOrder()}else this.removeSortIcons()},e.prototype.onSortChanged=function(){if(y._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-sorted-asc",this.params.column.isSortAscending()),y._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-sorted-desc",this.params.column.isSortDescending()),y._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-sorted-none",this.params.column.isSortNone()),this.eSortAsc&&y._.addOrRemoveCssClass(this.eSortAsc,"ag-hidden",!this.params.column.isSortAscending()),this.eSortDesc&&y._.addOrRemoveCssClass(this.eSortDesc,"ag-hidden",!this.params.column.isSortDescending()),this.eSortNone){var t=!this.params.column.getColDef().unSortIcon&&!this.gridOptionsWrapper.isUnSortIcon();y._.addOrRemoveCssClass(this.eSortNone,"ag-hidden",t||!this.params.column.isSortNone())}},e.prototype.setMultiSortOrder=function(){if(this.eSortOrder){var t=this.params.column,e=this.sortController.getColumnsWithSortingOrdered(),o=e.indexOf(t),n=e.length>1,i=t.isSorting()&&n;y._.setVisible(this.eSortOrder,i),o>=0?this.eSortOrder.innerHTML=(o+1).toString():y._.clearElement(this.eSortOrder)}},e.prototype.setupFilterIcon=function(){this.eFilter&&(this.addDestroyableEventListener(this.params.column,l.Column.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())},e.prototype.onFilterChanged=function(){var t=this.params.column.isFilterActive();y._.addOrRemoveCssClass(this.eFilter,"ag-hidden",!t)},e.TEMPLATE='<div class="ag-cell-label-container" role="presentation"> <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button" aria-hidden="true"></span> <div ref="eLabel" class="ag-header-cell-label" role="presentation" unselectable="on"> <span ref="eText" class="ag-header-cell-text" role="columnheader" unselectable="on"></span> <span ref="eFilter" class="ag-header-icon ag-filter-icon" aria-hidden="true"></span> <span ref="eSortOrder" class="ag-header-icon ag-sort-order" aria-hidden="true"></span> <span ref="eSortAsc" class="ag-header-icon ag-sort-ascending-icon" aria-hidden="true"></span> <span ref="eSortDesc" class="ag-header-icon ag-sort-descending-icon" aria-hidden="true"></span> <span ref="eSortNone" class="ag-header-icon ag-sort-none-icon" aria-hidden="true"></span> </div></div>',r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("sortController"),s("design:type",c.SortController)],e.prototype,"sortController",void 0),r([p.Autowired("menuFactory"),s("design:type",Object)],e.prototype,"menuFactory",void 0),r([p.Autowired("eventService"),s("design:type",h.EventService)],e.prototype,"eventService",void 0),r([f.RefSelector("eFilter"),s("design:type",HTMLElement)],e.prototype,"eFilter",void 0),r([f.RefSelector("eSortAsc"),s("design:type",HTMLElement)],e.prototype,"eSortAsc",void 0),r([f.RefSelector("eSortDesc"),s("design:type",HTMLElement)],e.prototype,"eSortDesc",void 0),r([f.RefSelector("eSortNone"),s("design:type",HTMLElement)],e.prototype,"eSortNone",void 0),r([f.RefSelector("eSortOrder"),s("design:type",HTMLElement)],e.prototype,"eSortOrder",void 0),r([f.RefSelector("eMenu"),s("design:type",HTMLElement)],e.prototype,"eMenu",void 0),r([f.RefSelector("eLabel"),s("design:type",HTMLElement)],e.prototype,"eLabel",void 0),r([f.RefSelector("eText"),s("design:type",HTMLElement)],e.prototype,"eText",void 0),e}(a.Component);e.HeaderComp=v},26016:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(60843),s=o(83423),a=o(72493),l=o(44081),p=o(814),u=o(44871),c=o(40797),d=function(){function t(t,e,o,n){this.moving=!1,this.menuVisible=!1,this.filterActive=!1,this.eventService=new r.EventService,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=t,this.userProvidedColDef=e,this.visible=!t.hide,this.sort=t.sort,this.sortedAt=t.sortedAt,this.colId=o,this.primary=n,this.lockPosition=!0===t.lockPosition,this.lockPinned=!0===t.lockPinned,this.lockVisible=!0===t.lockVisible}return t.prototype.setColDef=function(t,e){this.colDef=t,this.userProvidedColDef=e},t.prototype.getUserProvidedColDef=function(){return this.userProvidedColDef},t.prototype.isLockPosition=function(){return this.lockPosition},t.prototype.isLockVisible=function(){return this.lockVisible},t.prototype.isLockPinned=function(){return this.lockPinned},t.prototype.setParent=function(t){this.parent=t},t.prototype.getParent=function(){return this.parent},t.prototype.setOriginalParent=function(t){this.originalParent=t},t.prototype.getOriginalParent=function(){return this.originalParent},t.prototype.initialise=function(){this.setPinned(this.colDef.pinned);var t=this.gridOptionsWrapper.getMinColWidth(),e=this.gridOptionsWrapper.getMaxColWidth();this.colDef.minWidth?this.minWidth=this.colDef.minWidth:this.minWidth=t,this.colDef.maxWidth?this.maxWidth=this.colDef.maxWidth:this.maxWidth=e,this.actualWidth=this.columnUtils.calculateColInitialWidth(this.colDef);var o=this.gridOptionsWrapper.isSuppressFieldDotNotation();this.fieldContainsDots=s._.exists(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!o,this.tooltipFieldContainsDots=s._.exists(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(".")>=0&&!o,this.validate()},t.prototype.isEmptyGroup=function(){return!1},t.prototype.isRowGroupDisplayed=function(t){if(s._.missing(this.colDef)||s._.missing(this.colDef.showRowGroup))return!1;var e=!0===this.colDef.showRowGroup,o=this.colDef.showRowGroup===t;return e||o},t.prototype.getUniqueId=function(){return this.getId()},t.prototype.isPrimary=function(){return this.primary},t.prototype.isFilterAllowed=function(){var t=!!this.colDef.filter||!!this.colDef.filterFramework;return this.primary&&t},t.prototype.isFieldContainsDots=function(){return this.fieldContainsDots},t.prototype.isTooltipFieldContainsDots=function(){return this.tooltipFieldContainsDots},t.prototype.validate=function(){var t=this.colDef;this.gridOptionsWrapper.isEnterprise()||["enableRowGroup","rowGroup","rowGroupIndex","enablePivot","pivot","pivotIndex","aggFunc"].forEach((function(e){s._.exists(t[e])&&console.warn("ag-Grid: "+e+" is only valid in ag-Grid-Enterprise, your column definition should not have "+e)})),this.gridOptionsWrapper.isTreeData()&&["rowGroup","rowGroupIndex","pivot","pivotIndex"].forEach((function(e){s._.exists(t[e])&&console.warn("ag-Grid: "+e+" is not possible when doing tree data, your column definition should not have "+e)})),s._.exists(this.colDef.width)&&"number"!=typeof this.colDef.width&&console.warn("ag-Grid: colDef.width should be a number, not "+typeof this.colDef.width),s._.get(this,"colDef.cellRendererParams.restrictToOneGroup",null)&&console.warn("ag-Grid: Since ag-grid 11.0.0 cellRendererParams.restrictToOneGroup is deprecated. You should use showRowGroup"),s._.get(this,"colDef.cellRendererParams.keyMap",null)&&console.warn("ag-Grid: Since ag-grid 11.0.0 cellRendererParams.keyMap is deprecated. You should use colDef.keyCreator"),s._.get(this,"colDef.cellRendererParams.keyMap",null)&&console.warn("ag-Grid: Since ag-grid 11.0.0 cellRendererParams.keyMap is deprecated. You should use colDef.keyCreator"),t.floatingCellRenderer&&(console.warn("ag-Grid: since v11, floatingCellRenderer is now pinnedRowCellRenderer"),this.colDef.pinnedRowCellRenderer=t.floatingCellRenderer),t.floatingRendererFramework&&(console.warn("ag-Grid: since v11, floatingRendererFramework is now pinnedRowCellRendererFramework"),this.colDef.pinnedRowCellRendererFramework=t.floatingRendererFramework),t.floatingRendererParams&&(console.warn("ag-Grid: since v11, floatingRendererParams is now pinnedRowCellRendererParams"),this.colDef.pinnedRowCellRendererParams=t.floatingRendererParams),t.floatingValueFormatter&&(console.warn("ag-Grid: since v11, floatingValueFormatter is now pinnedRowValueFormatter"),this.colDef.pinnedRowValueFormatter=t.floatingValueFormatter),t.cellFormatter&&(console.warn("ag-Grid: since v12, cellFormatter is now valueFormatter"),s._.missing(this.colDef.valueFormatter)&&(this.colDef.valueFormatter=t.cellFormatter)),t.headerCellTemplate&&console.warn("ag-Grid: since v15, headerCellTemplate is gone, use header component instead."),t.headerCellRenderer&&console.warn("ag-Grid: since v15, headerCellRenderer is gone, use header component instead."),t.volatile&&console.warn("ag-Grid: since v16, colDef.volatile is gone, please check refresh docs on how to refresh specific cells."),t.suppressSorting&&(console.warn("ag-Grid: since v20, colDef.suppressSorting is gone, instead use colDef.sortable=false.",this.colDef),this.colDef.sortable=!1),t.suppressFilter&&(console.warn("ag-Grid: since v20, colDef.suppressFilter is gone, instead use colDef.filter=false.",this.colDef),this.colDef.filter=!1),t.suppressResize&&(console.warn("ag-Grid: since v20, colDef.suppressResize is gone, instead use colDef.resizable=false.",this.colDef),this.colDef.resizable=!1),t.tooltip&&(console.warn("ag-Grid: since v20.1, colDef.tooltip is gone, instead use colDef.tooltipValueGetter.",this.colDef),this.colDef.tooltipValueGetter=t.tooltip)},t.prototype.addEventListener=function(t,e){this.eventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},t.prototype.createIsColumnFuncParams=function(t){return{node:t,data:t.data,column:this,colDef:this.colDef,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()}},t.prototype.isSuppressNavigable=function(t){if("boolean"==typeof this.colDef.suppressNavigable)return this.colDef.suppressNavigable;if("function"==typeof this.colDef.suppressNavigable){var e=this.createIsColumnFuncParams(t);return(0,this.colDef.suppressNavigable)(e)}return!1},t.prototype.isCellEditable=function(t){return!(t.group&&!this.gridOptionsWrapper.isEnableGroupEdit())&&this.isColumnFunc(t,this.colDef.editable)},t.prototype.isRowDrag=function(t){return this.isColumnFunc(t,this.colDef.rowDrag)},t.prototype.isCellCheckboxSelection=function(t){return this.isColumnFunc(t,this.colDef.checkboxSelection)},t.prototype.isSuppressPaste=function(t){return this.isColumnFunc(t,this.colDef?this.colDef.suppressPaste:null)},t.prototype.isResizable=function(){return!0===this.colDef.resizable},t.prototype.isColumnFunc=function(t,e){return"boolean"==typeof e?e:"function"==typeof e&&e(this.createIsColumnFuncParams(t))},t.prototype.setMoving=function(e,o){void 0===o&&(o="api"),this.moving=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_MOVING_CHANGED,o))},t.prototype.createColumnEvent=function(t,e){return{api:this.gridApi,columnApi:this.columnApi,type:t,column:this,columns:[this],source:e}},t.prototype.isMoving=function(){return this.moving},t.prototype.getSort=function(){return this.sort},t.prototype.setSort=function(e,o){void 0===o&&(o="api"),this.sort!==e&&(this.sort=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_SORT_CHANGED,o)))},t.prototype.setMenuVisible=function(e,o){void 0===o&&(o="api"),this.menuVisible!==e&&(this.menuVisible=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_MENU_VISIBLE_CHANGED,o)))},t.prototype.isMenuVisible=function(){return this.menuVisible},t.prototype.isSortAscending=function(){return this.sort===t.SORT_ASC},t.prototype.isSortDescending=function(){return this.sort===t.SORT_DESC},t.prototype.isSortNone=function(){return s._.missing(this.sort)},t.prototype.isSorting=function(){return s._.exists(this.sort)},t.prototype.getSortedAt=function(){return this.sortedAt},t.prototype.setSortedAt=function(t){this.sortedAt=t},t.prototype.setAggFunc=function(t){this.aggFunc=t},t.prototype.getAggFunc=function(){return this.aggFunc},t.prototype.getLeft=function(){return this.left},t.prototype.getOldLeft=function(){return this.oldLeft},t.prototype.getRight=function(){return this.left+this.actualWidth},t.prototype.setLeft=function(e,o){void 0===o&&(o="api"),this.oldLeft=this.left,this.left!==e&&(this.left=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_LEFT_CHANGED,o)))},t.prototype.isFilterActive=function(){return this.filterActive},t.prototype.setFilterActive=function(e,o){void 0===o&&(o="api"),this.filterActive!==e&&(this.filterActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_FILTER_ACTIVE_CHANGED,o))),this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_FILTER_CHANGED,o))},t.prototype.setPinned=function(e){!0===e||e===t.PINNED_LEFT?this.pinned=t.PINNED_LEFT:e===t.PINNED_RIGHT?this.pinned=t.PINNED_RIGHT:this.pinned=null},t.prototype.setFirstRightPinned=function(e,o){void 0===o&&(o="api"),this.firstRightPinned!==e&&(this.firstRightPinned=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_FIRST_RIGHT_PINNED_CHANGED,o)))},t.prototype.setLastLeftPinned=function(e,o){void 0===o&&(o="api"),this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_LAST_LEFT_PINNED_CHANGED,o)))},t.prototype.isFirstRightPinned=function(){return this.firstRightPinned},t.prototype.isLastLeftPinned=function(){return this.lastLeftPinned},t.prototype.isPinned=function(){return this.pinned===t.PINNED_LEFT||this.pinned===t.PINNED_RIGHT},t.prototype.isPinnedLeft=function(){return this.pinned===t.PINNED_LEFT},t.prototype.isPinnedRight=function(){return this.pinned===t.PINNED_RIGHT},t.prototype.getPinned=function(){return this.pinned},t.prototype.setVisible=function(e,o){void 0===o&&(o="api");var n=!0===e;this.visible!==n&&(this.visible=n,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_VISIBLE_CHANGED,o)))},t.prototype.isVisible=function(){return this.visible},t.prototype.getColDef=function(){return this.colDef},t.prototype.getColumnGroupShow=function(){return this.colDef.columnGroupShow},t.prototype.getColId=function(){return this.colId},t.prototype.getId=function(){return this.getColId()},t.prototype.getDefinition=function(){return this.colDef},t.prototype.getActualWidth=function(){return this.actualWidth},t.prototype.createBaseColDefParams=function(t){return{node:t,data:t.data,colDef:this.colDef,column:this,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}},t.prototype.getColSpan=function(t){if(s._.missing(this.colDef.colSpan))return 1;var e=this.createBaseColDefParams(t),o=this.colDef.colSpan(e);return Math.max(o,1)},t.prototype.getRowSpan=function(t){if(s._.missing(this.colDef.rowSpan))return 1;var e=this.createBaseColDefParams(t),o=this.colDef.rowSpan(e);return Math.max(o,1)},t.prototype.setActualWidth=function(e,o){void 0===o&&(o="api"),this.actualWidth!==e&&(this.actualWidth=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_WIDTH_CHANGED,o)))},t.prototype.isGreaterThanMax=function(t){return!!this.maxWidth&&t>this.maxWidth},t.prototype.getMinWidth=function(){return this.minWidth},t.prototype.getMaxWidth=function(){return this.maxWidth},t.prototype.setMinimum=function(t){void 0===t&&(t="api"),this.setActualWidth(this.minWidth,t)},t.prototype.setRowGroupActive=function(e,o){void 0===o&&(o="api"),this.rowGroupActive!==e&&(this.rowGroupActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_ROW_GROUP_CHANGED,o)))},t.prototype.isRowGroupActive=function(){return this.rowGroupActive},t.prototype.setPivotActive=function(e,o){void 0===o&&(o="api"),this.pivotActive!==e&&(this.pivotActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_PIVOT_CHANGED,o)))},t.prototype.isPivotActive=function(){return this.pivotActive},t.prototype.isAnyFunctionActive=function(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()},t.prototype.isAnyFunctionAllowed=function(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()},t.prototype.setValueActive=function(e,o){void 0===o&&(o="api"),this.aggregationActive!==e&&(this.aggregationActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_VALUE_CHANGED,o)))},t.prototype.isValueActive=function(){return this.aggregationActive},t.prototype.isAllowPivot=function(){return!0===this.colDef.enablePivot},t.prototype.isAllowValue=function(){return!0===this.colDef.enableValue},t.prototype.isAllowRowGroup=function(){return!0===this.colDef.enableRowGroup},t.prototype.getMenuTabs=function(t){var e=this.getColDef().menuTabs;return null==e&&(e=t),e},t.EVENT_MOVING_CHANGED="movingChanged",t.EVENT_LEFT_CHANGED="leftChanged",t.EVENT_WIDTH_CHANGED="widthChanged",t.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",t.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",t.EVENT_VISIBLE_CHANGED="visibleChanged",t.EVENT_FILTER_CHANGED="filterChanged",t.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",t.EVENT_SORT_CHANGED="sortChanged",t.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",t.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",t.EVENT_PIVOT_CHANGED="columnPivotChanged",t.EVENT_VALUE_CHANGED="columnValueChanged",t.PINNED_RIGHT="right",t.PINNED_LEFT="left",t.SORT_ASC="asc",t.SORT_DESC="desc",n([a.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([a.Autowired("columnUtils"),i("design:type",p.ColumnUtils)],t.prototype,"columnUtils",void 0),n([a.Autowired("frameworkFactory"),i("design:type",Object)],t.prototype,"frameworkFactory",void 0),n([a.Autowired("columnApi"),i("design:type",u.ColumnApi)],t.prototype,"columnApi",void 0),n([a.Autowired("gridApi"),i("design:type",c.GridApi)],t.prototype,"gridApi",void 0),n([a.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"initialise",null),t}();e.Column=d},26597:(t,e,o)=>{e.ATN=o(51028).ATN,e.ATNDeserializer=o(36575).ATNDeserializer,e.LexerATNSimulator=o(60634).LexerATNSimulator,e.ParserATNSimulator=o(7543).ParserATNSimulator,e.PredictionMode=o(63387).PredictionMode},27022:(t,e,o)=>{var n=o(25003),i=o(4715);function r(t){i.call(this,t),this.enc="pem"}n(r,i),t.exports=r,r.prototype.encode=function(t,e){for(var o=i.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+e.label+"-----"],r=0;r<o.length;r+=64)n.push(o.slice(r,r+64));return n.push("-----END "+e.label+"-----"),n.join("\n")}},27887:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(37132),a=o(98239),l=o(26016),p=o(83423),u=o(58342),c=o(44081),d=function(){function t(t,e){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.pinned=t,this.eContainer=e,this.centerContainer=!p._.exists(t)}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.init=function(){this.logger=this.loggerFactory.create("MoveColumnController")},t.prototype.getIconName=function(){return this.pinned?u.DragAndDropService.ICON_PINNED:u.DragAndDropService.ICON_MOVE},t.prototype.onDragEnter=function(t){var e=t.dragItem.columns;if(t.dragSource.type===u.DragSourceType.ToolPanel)this.setColumnsVisible(e,!0,"uiColumnDragged");else{var o=t.dragItem.visibleState,n=e.filter((function(t){return o[t.getId()]}));this.setColumnsVisible(n,!0,"uiColumnDragged")}this.setColumnsPinned(e,this.pinned,"uiColumnDragged"),this.onDragging(t,!0)},t.prototype.onDragLeave=function(t){if(!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns()&&!t.fromNudge){var e=t.dragSource.dragItemCallback().columns;this.setColumnsVisible(e,!1,"uiColumnDragged")}this.ensureIntervalCleared()},t.prototype.setColumnsVisible=function(t,e,o){if(void 0===o&&(o="api"),t){var n=t.filter((function(t){return!t.isLockVisible()}));this.columnController.setColumnsVisible(n,e,o)}},t.prototype.setColumnsPinned=function(t,e,o){if(void 0===o&&(o="api"),t){var n=t.filter((function(t){return!t.isLockPinned()}));this.columnController.setColumnsPinned(n,e,o)}},t.prototype.onDragStop=function(){this.ensureIntervalCleared()},t.prototype.normaliseX=function(t){return this.gridOptionsWrapper.isEnableRtl()&&(t=this.eContainer.clientWidth-t),this.centerContainer&&(t+=this.gridPanel.getCenterViewportScrollLeft()),t},t.prototype.checkCenterForScrolling=function(t){if(this.centerContainer){var e=this.gridPanel.getCenterViewportScrollLeft(),o=e+this.gridPanel.getCenterWidth();this.gridOptionsWrapper.isEnableRtl()?(this.needToMoveRight=t<e+50,this.needToMoveLeft=t>o-50):(this.needToMoveLeft=t<e+50,this.needToMoveRight=t>o-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}},t.prototype.onDragging=function(t,e){var o=this;if(void 0===e&&(e=!1),this.lastDraggingEvent=t,!p._.missing(t.hDirection)){var n=this.normaliseX(t.x);e||this.checkCenterForScrolling(n);var i=this.normaliseDirection(t.hDirection),r=t.dragSource.type,s=t.dragSource.dragItemCallback().columns;s=s.filter((function(t){return!t.isLockPinned()||t.getPinned()==o.pinned})),this.attemptMoveColumns(r,s,i,n,e)}},t.prototype.normaliseDirection=function(t){if(!this.gridOptionsWrapper.isEnableRtl())return t;switch(t){case u.HDirection.Left:return u.HDirection.Right;case u.HDirection.Right:return u.HDirection.Left;default:console.error("ag-Grid: Unknown direction "+t)}},t.prototype.calculateOldIndex=function(t){var e=this.columnController.getAllGridColumns(),o=[];t.forEach((function(t){return o.push(e.indexOf(t))})),p._.sortNumberArray(o);var n=o[0];return o[o.length-1]-n!=o.length-1?null:n},t.prototype.attemptMoveColumns=function(t,e,o,n,i){for(var r=o===u.HDirection.Left,s=o===u.HDirection.Right,a=this.calculateValidMoves(e,s,n),l=this.calculateOldIndex(e),p=0;p<a.length;p++){var c=a[p],d=null!==l&&!i;if(t==u.DragSourceType.HeaderCell&&(d=null!==l),d){if(r&&c>=l)continue;if(s&&c<=l)continue}if(this.columnController.doesMovePassRules(e,c))return void this.columnController.moveColumns(e,c,"uiColumnDragged")}},t.prototype.calculateValidMoves=function(t,e,o){var n,i=this.columnController.getDisplayedColumns(this.pinned),r=this.columnController.getAllGridColumns(),s=function(e){return t.indexOf(e)<0},a=i.filter((function(e){return t.indexOf(e)>=0})),l=i.filter(s),u=r.filter(s),c=0,d=o;if(e){var h=0;a.forEach((function(t){return h+=t.getActualWidth()})),d-=h}if(d>0){for(var f=0;f<l.length&&!((d-=l[f].getActualWidth())<0);f++)c++;e&&c++}if(c>0){var g=l[c-1];n=u.indexOf(g)+1}else n=0;for(var y=[n],v=r[n];p._.exists(v)&&this.isColumnHidden(i,v);)n++,y.push(n),v=r[n];return y},t.prototype.isColumnHidden=function(t,e){return t.indexOf(e)<0},t.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(u.DragAndDropService.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(u.DragAndDropService.ICON_RIGHT,!0))},t.prototype.ensureIntervalCleared=function(){this.moveInterval&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(u.DragAndDropService.ICON_MOVE))},t.prototype.moveInterval=function(){var t,e;if(this.intervalCount++,(t=10+5*this.intervalCount)>100&&(t=100),this.needToMoveLeft?e=this.gridPanel.scrollHorizontally(-t):this.needToMoveRight&&(e=this.gridPanel.scrollHorizontally(t)),0!==e)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;var o=this.lastDraggingEvent.dragItem.columns.filter((function(t){return!t.isLockPinned()}));if(o.length>0&&(this.dragAndDropService.setGhostIcon(u.DragAndDropService.ICON_PINNED),this.failedMoveAttempts>7)){var n=this.needToMoveLeft?l.Column.PINNED_LEFT:l.Column.PINNED_RIGHT;this.setColumnsPinned(o,n,"uiColumnDragged"),this.dragAndDropService.nudge()}}},n([r.Autowired("loggerFactory"),i("design:type",s.LoggerFactory)],t.prototype,"loggerFactory",void 0),n([r.Autowired("columnController"),i("design:type",a.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("dragAndDropService"),i("design:type",u.DragAndDropService)],t.prototype,"dragAndDropService",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",c.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),t}();e.MoveColumnController=d},28771:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(15068),i=o(63405),r=o(83423),s=function(){function t(e,o,n,i,r,s,a,l){this.nextId=0,this.allNodesMap={},this.rootNode=e,this.gridOptionsWrapper=o,this.context=n,this.eventService=i,this.columnController=r,this.gridApi=s,this.columnApi=a,this.selectionController=l,this.rootNode.group=!0,this.rootNode.level=-1,this.rootNode.id=t.ROOT_NODE_ID,this.rootNode.allLeafChildren=[],this.rootNode.childrenAfterGroup=[],this.rootNode.childrenAfterSort=[],this.rootNode.childrenAfterFilter=[],this.postConstruct()}return t.prototype.postConstruct=function(){this.getNodeChildDetails=this.gridOptionsWrapper.getNodeChildDetailsFunc(),this.suppressParentsInRowNodes=this.gridOptionsWrapper.isSuppressParentsInRowNodes(),this.doesDataFlower=this.gridOptionsWrapper.getDoesDataFlowerFunc(),this.isRowMasterFunc=this.gridOptionsWrapper.getIsRowMasterFunc(),this.doingLegacyTreeData=r._.exists(this.getNodeChildDetails),this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail()},t.prototype.getCopyOfNodesMap=function(){return r._.cloneObject(this.allNodesMap)},t.prototype.getRowNode=function(t){return this.allNodesMap[t]},t.prototype.setRowData=function(e){if(this.rootNode.childrenAfterFilter=null,this.rootNode.childrenAfterGroup=null,this.rootNode.childrenAfterSort=null,this.rootNode.childrenMapped=null,this.nextId=0,this.allNodesMap={},!e)return this.rootNode.allLeafChildren=[],void(this.rootNode.childrenAfterGroup=[]);var o=this.recursiveFunction(e,this.rootNode,t.TOP_LEVEL);this.doingLegacyTreeData?(this.rootNode.childrenAfterGroup=o,this.setLeafChildren(this.rootNode)):this.rootNode.allLeafChildren=o},t.prototype.updateRowData=function(t,e){var o=this;if(this.isLegacyTreeData())return null;var n=t.add,s=t.addIndex,a=t.remove,l=t.update,p={remove:[],update:[],add:[]};if(r._.exists(n)&&("number"==typeof s&&s>=0?n.reverse().forEach((function(t){var e=o.addRowNode(t,s);p.add.push(e)})):n.forEach((function(t){var e=o.addRowNode(t);p.add.push(e)}))),r._.exists(a)){var u=!1;if(a.forEach((function(t){var e=o.lookupRowNode(t);e&&(e.isSelected()&&(u=!0),o.updatedRowNode(e,t,!1),p.remove.push(e))})),u){this.selectionController.updateGroupsFromChildrenSelections();var c={type:i.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(c)}}return r._.exists(l)&&l.forEach((function(t){var e=o.lookupRowNode(t);e&&(o.updatedRowNode(e,t,!0),p.update.push(e))})),e&&r._.sortRowNodesByOrder(this.rootNode.allLeafChildren,e),p},t.prototype.addRowNode=function(e,o){var n=this.createNode(e,this.rootNode,t.TOP_LEVEL);return r._.exists(o)?r._.insertIntoArray(this.rootNode.allLeafChildren,n,o):this.rootNode.allLeafChildren.push(n),n},t.prototype.lookupRowNode=function(t){var e,o=this.gridOptionsWrapper.getRowNodeIdFunc();if(r._.exists(o)){var n=o(t);if(!(e=this.allNodesMap[n]))return console.error("ag-Grid: could not find row id="+n+", data item was not found for this id"),null}else if(!(e=r._.find(this.rootNode.allLeafChildren,(function(e){return e.data===t}))))return console.error("ag-Grid: could not find data item as object was not found",t),null;return e},t.prototype.updatedRowNode=function(t,e,o){o?t.updateData(e):(t.setSelected(!1,!1,!0),t.clearRowTop(),r._.removeFromArray(this.rootNode.allLeafChildren,t),delete this.allNodesMap[t.id])},t.prototype.recursiveFunction=function(t,e,o){var n=this;if("string"!=typeof t){var i=[];return t.forEach((function(t){var r=n.createNode(t,e,o);i.push(r)})),i}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")},t.prototype.createNode=function(t,e,o){var i=new n.RowNode;this.context.wireBean(i);var s=this.gridOptionsWrapper.isTreeData(),a=!s&&r._.exists(this.getNodeChildDetails)?this.getNodeChildDetails(t):null;if(a&&a.group)i.group=!0,i.childrenAfterGroup=this.recursiveFunction(a.children,i,o+1),i.expanded=!0===a.expanded,i.field=a.field,i.key=a.key,i.canFlower=i.master,this.setLeafChildren(i);else if(i.group=!1,s)i.master=!1,i.expanded=!1;else{this.doesDataFlower?i.master=this.doesDataFlower(t):this.doingMasterDetail?this.isRowMasterFunc?i.master=this.isRowMasterFunc(t):i.master=!0:i.master=!1;var l=this.columnController.getRowGroupColumns(),p=o+(l?l.length:0);i.expanded=!!i.master&&this.isExpanded(p)}return i.canFlower=i.master,e&&!this.suppressParentsInRowNodes&&(i.parent=e),i.level=o,i.setDataAndId(t,this.nextId.toString()),this.allNodesMap[i.id]&&console.warn("ag-grid: duplicate node id '"+i.id+"' detected from getRowNodeId callback, this could cause issues in your grid."),this.allNodesMap[i.id]=i,this.nextId++,i},t.prototype.isExpanded=function(t){var e=this.gridOptionsWrapper.getGroupDefaultExpanded();return-1===e||t<e},t.prototype.setLeafChildren=function(t){t.allLeafChildren=[],t.childrenAfterGroup&&t.childrenAfterGroup.forEach((function(e){e.group?e.allLeafChildren&&e.allLeafChildren.forEach((function(e){return t.allLeafChildren.push(e)})):t.allLeafChildren.push(e)}))},t.prototype.isLegacyTreeData=function(){return!!r._.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())&&(console.warn("ag-Grid: adding and removing rows is not supported when using nodeChildDetailsFunc, ie it is not supported for legacy tree data. Please see the docs on the new preferred way of providing tree data that works with delta updates."),!0)},t.TOP_LEVEL=0,t.ROOT_NODE_ID="ROOT_NODE_ID",t}();e.ClientSideNodeManager=s},28921:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=o(44329),u=o(10042),c=o(83423),d=function(t){function e(e,o){var n=t.call(this,e,o)||this;return n.cacheParams=o,n}return i(e,t),e.prototype.createBlankRowNode=function(e){var o=t.prototype.createBlankRowNode.call(this,e);return o.uiLevel=0,this.setIndexAndTopOnRowNode(o,e),o},e.prototype.setDataAndId=function(t,e,o){c._.exists(e)?t.setDataAndId(e,o.toString()):t.setDataAndId(void 0,void 0)},e.prototype.setRowNode=function(e,o){t.prototype.setRowNode.call(this,e,o),this.setIndexAndTopOnRowNode(o,e)},e.prototype.init=function(){t.prototype.init.call(this,{context:this.getContext(),rowRenderer:this.rowRenderer})},e.prototype.getNodeIdPrefix=function(){return null},e.prototype.getRow=function(t){return this.getRowUsingLocalIndex(t)},e.prototype.setIndexAndTopOnRowNode=function(t,e){t.setRowIndex(e),t.rowTop=this.cacheParams.rowHeight*e},e.prototype.loadFromDatasource=function(){var t=this,e={startRow:this.getStartRow(),endRow:this.getEndRow(),successCallback:this.pageLoaded.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this),sortModel:this.cacheParams.sortModel,filterModel:this.cacheParams.filterModel,context:this.gridOptionsWrapper.getContext()};c._.missing(this.cacheParams.datasource.getRows)?console.warn("ag-Grid: datasource is missing getRows method"):(c._.getFunctionParameters(this.cacheParams.datasource.getRows).length>1&&(console.warn("ag-grid: It looks like your paging datasource is of the old type, taking more than one parameter."),console.warn("ag-grid: From ag-grid 1.9.0, now the getRows takes one parameter. See the documentation for details.")),window.setTimeout((function(){t.cacheParams.datasource.getRows(e)}),0))},r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(p.RowNodeBlock);e.InfiniteBlock=d},29499:(t,e,o)=>{var n=o(40846).m,i=o(48898),r=i.INVALID_INTERVAL,s=i.TerminalNode,a=i.TerminalNodeImpl,l=i.ErrorNodeImpl,p=o(70040).Interval;function u(t,e){t=t||null,e=e||null,n.call(this,t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function c(t,e,o){return u.call(t,e),this.ruleIndex=o,this}u.prototype=Object.create(n.prototype),u.prototype.constructor=u,u.prototype.copyFrom=function(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map((function(t){t instanceof l&&(this.children.push(t),t.parentCtx=this)}),this))},u.prototype.enterRule=function(t){},u.prototype.exitRule=function(t){},u.prototype.addChild=function(t){return null===this.children&&(this.children=[]),this.children.push(t),t},u.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},u.prototype.addTokenNode=function(t){var e=new a(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.addErrorNode=function(t){var e=new l(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.getChild=function(t,e){if(e=e||null,null===this.children||t<0||t>=this.children.length)return null;if(null===e)return this.children[t];for(var o=0;o<this.children.length;o++){var n=this.children[o];if(n instanceof e){if(0===t)return n;t-=1}}return null},u.prototype.getToken=function(t,e){if(null===this.children||e<0||e>=this.children.length)return null;for(var o=0;o<this.children.length;o++){var n=this.children[o];if(n instanceof s&&n.symbol.type===t){if(0===e)return n;e-=1}}return null},u.prototype.getTokens=function(t){if(null===this.children)return[];for(var e=[],o=0;o<this.children.length;o++){var n=this.children[o];n instanceof s&&n.symbol.type===t&&e.push(n)}return e},u.prototype.getTypedRuleContext=function(t,e){return this.getChild(e,t)},u.prototype.getTypedRuleContexts=function(t){if(null===this.children)return[];for(var e=[],o=0;o<this.children.length;o++){var n=this.children[o];n instanceof t&&e.push(n)}return e},u.prototype.getChildCount=function(){return null===this.children?0:this.children.length},u.prototype.getSourceInterval=function(){return null===this.start||null===this.stop?r:new p(this.start.tokenIndex,this.stop.tokenIndex)},n.EMPTY=new u,c.prototype=Object.create(u.prototype),c.prototype.constructor=c,e.ParserRuleContext=u},30088:(t,e,o)=>{var n=o(95421);function i(t,e){if(t===e)return 0;for(var o=t.length,n=e.length,i=0,r=Math.min(o,n);i<r;++i)if(t[i]!==e[i]){o=t[i],n=e[i];break}return o<n?-1:n<o?1:0}function r(t){return o.g.Buffer&&"function"==typeof o.g.Buffer.isBuffer?o.g.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var s=o(98437),a=Object.prototype.hasOwnProperty,l=Array.prototype.slice,p="foo"===function(){}.name;function u(t){return Object.prototype.toString.call(t)}function c(t){return!r(t)&&"function"==typeof o.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer)))}var d=t.exports=m,h=/\s*function\s+([^\(\s]*)\s*/;function f(t){if(s.isFunction(t)){if(p)return t.name;var e=t.toString().match(h);return e&&e[1]}}function g(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function y(t){if(p||!s.isFunction(t))return s.inspect(t);var e=f(t);return"[Function"+(e?": "+e:"")+"]"}function v(t,e,o,n,i){throw new d.AssertionError({message:o,actual:t,expected:e,operator:n,stackStartFunction:i})}function m(t,e){t||v(t,!0,e,"==",d.ok)}function C(t,e,o,n){if(t===e)return!0;if(r(t)&&r(e))return 0===i(t,e);if(s.isDate(t)&&s.isDate(e))return t.getTime()===e.getTime();if(s.isRegExp(t)&&s.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(c(t)&&c(e)&&u(t)===u(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===i(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(r(t)!==r(e))return!1;var a=(n=n||{actual:[],expected:[]}).actual.indexOf(t);return-1!==a&&a===n.expected.indexOf(e)||(n.actual.push(t),n.expected.push(e),function(t,e,o,n){if(null==t||null==e)return!1;if(s.isPrimitive(t)||s.isPrimitive(e))return t===e;if(o&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=E(t),r=E(e);if(i&&!r||!i&&r)return!1;if(i)return C(t=l.call(t),e=l.call(e),o);var a,p,u=R(t),c=R(e);if(u.length!==c.length)return!1;for(u.sort(),c.sort(),p=u.length-1;p>=0;p--)if(u[p]!==c[p])return!1;for(p=u.length-1;p>=0;p--)if(!C(t[a=u[p]],e[a],o,n))return!1;return!0}(t,e,o,n))}return o?t===e:t==e}function E(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function w(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function _(t,e,o,n){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof o&&(n=o,o=null),i=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(o&&o.name?" ("+o.name+").":".")+(n?" "+n:"."),t&&!i&&v(i,o,"Missing expected exception"+n);var r="string"==typeof n,a=!t&&i&&!o;if((!t&&s.isError(i)&&r&&w(i,o)||a)&&v(i,o,"Got unwanted exception"+n),t&&i&&o&&!w(i,o)||!t&&i)throw i}d.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=g(y(this.actual),128)+" "+this.operator+" "+g(y(this.expected),128),this.generatedMessage=!0);var e=t.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var o=new Error;if(o.stack){var n=o.stack,i=f(e),r=n.indexOf("\n"+i);if(r>=0){var s=n.indexOf("\n",r+1);n=n.substring(s+1)}this.stack=n}}},s.inherits(d.AssertionError,Error),d.fail=v,d.ok=m,d.equal=function(t,e,o){t!=e&&v(t,e,o,"==",d.equal)},d.notEqual=function(t,e,o){t==e&&v(t,e,o,"!=",d.notEqual)},d.deepEqual=function(t,e,o){C(t,e,!1)||v(t,e,o,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(t,e,o){C(t,e,!0)||v(t,e,o,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(t,e,o){C(t,e,!1)&&v(t,e,o,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function t(e,o,n){C(e,o,!0)&&v(e,o,n,"notDeepStrictEqual",t)},d.strictEqual=function(t,e,o){t!==e&&v(t,e,o,"===",d.strictEqual)},d.notStrictEqual=function(t,e,o){t===e&&v(t,e,o,"!==",d.notStrictEqual)},d.throws=function(t,e,o){_(!0,t,e,o)},d.doesNotThrow=function(t,e,o){_(!1,t,e,o)},d.ifError=function(t){if(t)throw t},d.strict=n((function t(e,o){e||v(e,!0,o,"==",t)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var R=Object.keys||function(t){var e=[];for(var o in t)a.call(t,o)&&e.push(o);return e}},30811:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(22131),s=o(83423),a=function(t){function e(){var o=t.call(this,e.TEMPLATE)||this;return o.refreshCount=0,o.eCurrent=o.queryForHtmlElement(".ag-value-slide-current"),o}return i(e,t),e.prototype.init=function(t){this.params=t,this.refresh(t)},e.prototype.addSlideAnimation=function(){var t=this;this.refreshCount++;var e=this.refreshCount;this.ePrevious&&this.getGui().removeChild(this.ePrevious),this.ePrevious=s._.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(){e===t.refreshCount&&s._.addCssClass(t.ePrevious,"ag-value-slide-out-end")}),50),window.setTimeout((function(){e===t.refreshCount&&(t.getGui().removeChild(t.ePrevious),t.ePrevious=null)}),3e3)},e.prototype.refresh=function(t){var e=t.value;if(s._.missing(e)&&(e=""),e!==this.lastValue)return this.addSlideAnimation(),this.lastValue=e,s._.exists(t.valueFormatted)?this.eCurrent.innerHTML=t.valueFormatted:s._.exists(t.value)?this.eCurrent.innerHTML=e:s._.clearElement(this.eCurrent),!0},e.TEMPLATE='<span><span class="ag-value-slide-current"></span></span>',e}(r.Component);e.AnimateSlideCellRenderer=a},30844:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.prototype.hasMethod=function(t){var e=this.getFrameworkComponentInstance();return null!=e&&null!=e[t]},t.prototype.callMethod=function(t,e){var o=this,n=this.getFrameworkComponentInstance();if(null!=n){var i=this.getFrameworkComponentInstance()[t];if(null==i)return;return i.apply(n,e)}window.setTimeout((function(){return o.callMethod(t,e)}),100)},t.prototype.addMethod=function(t,e){this[t]=e},t}();e.BaseReactComponent=o},30971:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=o(60843),u=o(54828),c=o(63405),d=o(86608),h=o(55e3),f=o(45727),g=o(99162),y=o(8534),v=o(65802),m=o(84210),C=o(40797),E=o(44871),w=o(83423),_=o(10042),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getRowBounds=function(t){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*t}},e.prototype.ensureRowHeightsValid=function(t,e,o,n){return!1},e.prototype.init=function(){var t=this;this.gridOptionsWrapper.isRowModelInfinite()&&(this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.addEventListeners(),this.setDatasource(this.gridOptionsWrapper.getDatasource()),this.addDestroyFunc((function(){return t.destroyCache()})))},e.prototype.destroyDatasource=function(){this.datasource&&(this.datasource.destroy&&this.datasource.destroy(),this.rowRenderer.datasourceChanged(),this.datasource=null)},e.prototype.isLastRowFound=function(){return!!this.infiniteCache&&this.infiniteCache.isMaxRowFound()},e.prototype.addEventListeners=function(){this.addDestroyableEventListener(this.eventService,c.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.onColumnEverything.bind(this))},e.prototype.onFilterChanged=function(){this.reset()},e.prototype.onSortChanged=function(){this.reset()},e.prototype.onColumnEverything=function(){(!this.cacheParams||this.isSortModelDifferent())&&this.reset()},e.prototype.isSortModelDifferent=function(){return!w._.jsonEquals(this.cacheParams.sortModel,this.sortController.getSortModel())},e.prototype.getType=function(){return f.Constants.ROW_MODEL_TYPE_INFINITE},e.prototype.setDatasource=function(t){this.destroyDatasource(),this.datasource=t,t&&(this.checkForDeprecated(),this.reset())},e.prototype.checkForDeprecated=function(){var t=this.datasource;w._.exists(t.maxConcurrentRequests)&&console.error("ag-Grid: since version 5.1.x, maxConcurrentRequests is replaced with grid property maxConcurrentDatasourceRequests"),w._.exists(t.maxPagesInCache)&&console.error("ag-Grid: since version 5.1.x, maxPagesInCache is replaced with grid property maxPagesInPaginationCache"),w._.exists(t.overflowSize)&&console.error("ag-Grid: since version 5.1.x, overflowSize is replaced with grid property paginationOverflowSize"),w._.exists(t.blockSize)&&console.error("ag-Grid: since version 5.1.x, pageSize/blockSize is replaced with grid property infinitePageSize")},e.prototype.isEmpty=function(){return w._.missing(this.infiniteCache)},e.prototype.isRowsToRender=function(){return w._.exists(this.infiniteCache)},e.prototype.getNodesInRangeForSelection=function(t,e){return this.infiniteCache?this.infiniteCache.getRowNodesInRange(t,e):[]},e.prototype.reset=function(){if(!w._.missing(this.datasource)){w._.exists(this.gridOptionsWrapper.getRowNodeIdFunc())||this.selectionController.reset(),this.resetCache();var t=this.createModelUpdatedEvent();this.eventService.dispatchEvent(t)}},e.prototype.createModelUpdatedEvent=function(){return{type:c.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,newPage:!1,newData:!1,keepRenderedRows:!1,animate:!1}},e.prototype.resetCache=function(){this.destroyCache();var t=this.gridOptionsWrapper.getMaxConcurrentDatasourceRequests(),e=this.gridOptionsWrapper.getBlockLoadDebounceMillis();this.rowNodeBlockLoader=new m.RowNodeBlockLoader(t,e),this.getContext().wireBean(this.rowNodeBlockLoader),this.cacheParams={datasource:this.datasource,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel(),rowNodeBlockLoader:this.rowNodeBlockLoader,maxConcurrentRequests:t,overflowSize:this.gridOptionsWrapper.getCacheOverflowSize(),initialRowCount:this.gridOptionsWrapper.getInfiniteInitialRowCount(),maxBlocksInCache:this.gridOptionsWrapper.getMaxBlocksInCache(),blockSize:this.gridOptionsWrapper.getCacheBlockSize(),rowHeight:this.gridOptionsWrapper.getRowHeightAsNumber(),lastAccessedSequence:new w.NumberSequence},this.cacheParams.maxConcurrentRequests&&this.cacheParams.maxConcurrentRequests>=1||(this.cacheParams.maxConcurrentRequests=2),this.cacheParams.blockSize&&this.cacheParams.blockSize>=1||(this.cacheParams.blockSize=100),this.cacheParams.initialRowCount>=1||(this.cacheParams.initialRowCount=0),this.cacheParams.overflowSize>=1||(this.cacheParams.overflowSize=1),this.infiniteCache=new g.InfiniteCache(this.cacheParams),this.getContext().wireBean(this.infiniteCache),this.infiniteCache.addEventListener(v.RowNodeCache.EVENT_CACHE_UPDATED,this.onCacheUpdated.bind(this))},e.prototype.destroyCache=function(){this.infiniteCache&&(this.infiniteCache.destroy(),this.infiniteCache=null),this.rowNodeBlockLoader&&(this.rowNodeBlockLoader.destroy(),this.rowNodeBlockLoader=null)},e.prototype.onCacheUpdated=function(){var t=this.createModelUpdatedEvent();this.eventService.dispatchEvent(t)},e.prototype.getRow=function(t){return this.infiniteCache?this.infiniteCache.getRow(t):null},e.prototype.getRowNode=function(t){var e=null;return this.forEachNode((function(o){o.id===t&&(e=o)})),e},e.prototype.forEachNode=function(t){this.infiniteCache&&this.infiniteCache.forEachNodeDeep(t,new w.NumberSequence)},e.prototype.getCurrentPageHeight=function(){return this.getRowCount()*this.rowHeight},e.prototype.getRowIndexAtPixel=function(t){if(0!==this.rowHeight){var e=Math.floor(t/this.rowHeight);return e>this.getPageLastRow()?this.getPageLastRow():e}return 0},e.prototype.getPageFirstRow=function(){return 0},e.prototype.getPageLastRow=function(){return this.infiniteCache?this.infiniteCache.getVirtualRowCount()-1:0},e.prototype.getRowCount=function(){return this.infiniteCache?this.infiniteCache.getVirtualRowCount():0},e.prototype.updateRowData=function(t){w._.exists(t.remove)||w._.exists(t.update)?console.warn("ag-Grid: updateRowData for InfiniteRowModel does not support remove or update, only add"):w._.missing(t.addIndex)?console.warn("ag-Grid: updateRowData for InfiniteRowModel requires add and addIndex to be set"):this.infiniteCache&&this.infiniteCache.insertItemsAtIndex(t.addIndex,t.add)},e.prototype.isRowPresent=function(t){return!1},e.prototype.refreshCache=function(){this.infiniteCache&&this.infiniteCache.refreshCache()},e.prototype.purgeCache=function(){this.infiniteCache&&this.infiniteCache.purgeCache()},e.prototype.getVirtualRowCount=function(){return this.infiniteCache?this.infiniteCache.getVirtualRowCount():null},e.prototype.isMaxRowFound=function(){if(this.infiniteCache)return this.infiniteCache.isMaxRowFound()},e.prototype.setVirtualRowCount=function(t,e){this.infiniteCache&&this.infiniteCache.setVirtualRowCount(t,e)},e.prototype.getBlockState=function(){return this.rowNodeBlockLoader?this.rowNodeBlockLoader.getBlockState():null},r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("filterManager"),s("design:type",h.FilterManager)],e.prototype,"filterManager",void 0),r([l.Autowired("sortController"),s("design:type",d.SortController)],e.prototype,"sortController",void 0),r([l.Autowired("selectionController"),s("design:type",u.SelectionController)],e.prototype,"selectionController",void 0),r([l.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("gridApi"),s("design:type",C.GridApi)],e.prototype,"gridApi",void 0),r([l.Autowired("columnApi"),s("design:type",E.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("rowRenderer"),s("design:type",_.RowRenderer)],e.prototype,"rowRenderer",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),r([l.PreDestroy,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"destroyDatasource",null),r([l.Bean("rowModel")],e)}(y.BeanStub);e.InfiniteRowModel=R},31887:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(814),a=o(74517),l=o(72948),p=o(72493),u=o(83423),c=function(){function t(){}return t.prototype.createDisplayedGroups=function(t,e,o,n,i){var r,s,a=this,l=[],p=this.mapOldGroupsById(i);return t.forEach((function(t){for(var i=a.getOriginalPathForColumn(e,t),u=[],c=!s,d=0;d<i.length;d++)if(c||i[d]!==s[d]){var h=a.createColumnGroup(i[d],o,p,n);u[d]=h,0==d?l.push(h):u[d-1].addChild(h)}else u[d]=r[d];0===u.length?l.push(t):u[u.length-1].addChild(t),r=u,s=i})),this.setupParentsIntoColumns(l,null),l},t.prototype.createColumnGroup=function(t,e,o,n){var i=t.getGroupId(),r=e.getInstanceIdForKey(i),s=o[a.ColumnGroup.createUniqueId(i,r)];return s&&s.getOriginalColumnGroup()!==t&&(s=null),u._.exists(s)?s.reset():(s=new a.ColumnGroup(t,i,r,n),this.context.wireBean(s)),s},t.prototype.mapOldGroupsById=function(t){var e={},o=function(t){t.forEach((function(t){if(t instanceof a.ColumnGroup){var n=t;e[t.getUniqueId()]=n,o(n.getChildren())}}))};return t&&o(t),e},t.prototype.setupParentsIntoColumns=function(t,e){var o=this;t.forEach((function(t){if(t.setParent(e),t instanceof a.ColumnGroup){var n=t;o.setupParentsIntoColumns(n.getChildren(),n)}}))},t.prototype.getOriginalPathForColumn=function(t,e){var o=[],n=!1;return function t(i,r){for(var s=0;s<i.length;s++){if(n)return;var a=i[s];a instanceof l.OriginalColumnGroup?(t(a.getChildren(),r+1),o[r]=a):a===e&&(n=!0)}}(t,0),n?o:(console.warn("could not get path"),null)},n([r.Autowired("columnUtils"),i("design:type",s.ColumnUtils)],t.prototype,"columnUtils",void 0),n([r.Autowired("context"),i("design:type",p.Context)],t.prototype,"context",void 0),n([p.Bean("displayedGroupCreator")],t)}();e.DisplayedGroupCreator=c},31923:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.isPopup=function(){return!0},e}(o(84715).SelectCellEditor);e.PopupSelectCellEditor=r},32090:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(47721),p=o(72493),u=o(73575),c=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.postConstruct=function(){this.closePopup=this.popupService.addPopup(!1,this.getGui(),!1,this.destroy.bind(this)),this.addDestroyableEventListener(this.eClose,"click",this.onBtClose.bind(this))},e.prototype.setBody=function(t){this.eContentWrapper.appendChild(t)},e.prototype.setTitle=function(t){this.eTitle.innerText=t},e.prototype.onBtClose=function(){this.closePopup()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.dispatchEvent({type:e.DESTROY_EVENT})},e.TEMPLATE='<div class="ag-popup-window" style="top: 40px; left: 40px; border: 1px solid black; position: fixed; background-color: white;">\n <div class="ag-popup-window-title-bar" style="background: #00e5ff; border-bottom: 1px solid black;">\n <span ref="eClose" class="ag-popup-window-close" style="margin: 2px; border: 1px solid grey; border-radius: 2px;">X</span>\n <span ref="eTitle" class="ag-popup-window-title" style="padding: 2px;">New Chart</span>\n </div>\n <div ref="eContentWrapper" class="ag-popup-window-content-wrapper"></div>\n </div>',e.DESTROY_EVENT="destroy",r([p.Autowired("popupService"),s("design:type",u.PopupService)],e.prototype,"popupService",void 0),r([l.RefSelector("eContentWrapper"),s("design:type",HTMLElement)],e.prototype,"eContentWrapper",void 0),r([l.RefSelector("eTitle"),s("design:type",HTMLElement)],e.prototype,"eTitle",void 0),r([l.RefSelector("eClose"),s("design:type",HTMLElement)],e.prototype,"eClose",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.PopupWindow=c},32141:(t,e,o)=>{var n=o(72994).Token,i=o(93343).q,r=o(93343).X;function s(){return this._listeners=[i.INSTANCE],this._interp=null,this._stateNumber=-1,this}s.tokenTypeMapCache={},s.ruleIndexMapCache={},s.prototype.checkVersion=function(t){"4.7.2"!==t&&console.log("ANTLR runtime and generated code versions disagree: 4.7.2!="+t)},s.prototype.addErrorListener=function(t){this._listeners.push(t)},s.prototype.removeErrorListeners=function(){this._listeners=[]},s.prototype.getTokenTypeMap=function(){var t=this.getTokenNames();if(null===t)throw"The current recognizer does not provide a list of token names.";var e=this.tokenTypeMapCache[t];return void 0===e&&((e=t.reduce((function(t,e,o){t[e]=o}))).EOF=n.EOF,this.tokenTypeMapCache[t]=e),e},s.prototype.getRuleIndexMap=function(){var t=this.ruleNames;if(null===t)throw"The current recognizer does not provide a list of rule names.";var e=this.ruleIndexMapCache[t];return void 0===e&&(e=t.reduce((function(t,e,o){t[e]=o})),this.ruleIndexMapCache[t]=e),e},s.prototype.getTokenType=function(t){var e=this.getTokenTypeMap()[t];return void 0!==e?e:n.INVALID_TYPE},s.prototype.getErrorHeader=function(t){return"line "+t.getOffendingToken().line+":"+t.getOffendingToken().column},s.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===n.EOF?"<EOF>":"<"+t.type+">"),"'"+(e=e.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"},s.prototype.getErrorListenerDispatch=function(){return new r(this._listeners)},s.prototype.sempred=function(t,e,o){return!0},s.prototype.precpred=function(t,e){return!0},Object.defineProperty(s.prototype,"state",{get:function(){return this._stateNumber},set:function(t){this._stateNumber=t}}),e.f=s},32590:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(26016),p=o(38152),u=o(69397),c=o(22131),d=o(47721),h=o(44081),f=o(55090),g=o(81604),y=o(63405),v=o(60843),m=o(93830),C=o(83423),E=o(85910),w=o(40797),_=o(44871),R=o(55e3),S=function(t){function e(o){var n=t.call(this,e.TEMPLATE)||this;return n.column=o,n}return i(e,t),e.prototype.postConstruct=function(){this.setupFloatingFilter(),this.setupWidth(),this.setupLeftPositioning(),this.setupColumnHover(),this.addFeature(this.getContext(),new g.HoverFeature([this.column],this.getGui())),this.addDestroyableEventListener(this.eButtonShowMainFilter,"click",this.showParentFilter.bind(this))},e.prototype.setupFloatingFilter=function(){var t=this;this.column.getColDef().filter?(this.floatingFilterCompPromise=this.getFloatingFilterInstance(),this.floatingFilterCompPromise?this.floatingFilterCompPromise.then((function(e){e?t.setupWithFloatingFilter(e):t.setupEmpty()})):this.setupEmpty(),this.setupSyncWithFilter()):this.setupEmpty()},e.prototype.setupLeftPositioning=function(){var t=new p.SetLeftFeature(this.column,this.getGui(),this.beans);t.init(),this.addDestroyFunc(t.destroy.bind(t))},e.prototype.setupSyncWithFilter=function(){var t=this,e=function(){var e=t.filterManager.getFilterComponent(t.column,"NO_UI");t.onParentModelChanged(e.resolveNow(null,(function(t){return t.getModel()})))};this.addDestroyableEventListener(this.column,l.Column.EVENT_FILTER_CHANGED,e),this.filterManager.cachedFilter(this.column)&&e()},e.prototype.showParentFilter=function(){this.menuFactory.showMenuAfterButtonClick(this.column,this.eButtonShowMainFilter,"filterMenuTab",["filterMenuTab"])},e.prototype.setupColumnHover=function(){this.addDestroyableEventListener(this.eventService,y.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.onColumnHover()},e.prototype.onColumnHover=function(){var t=this.columnHoverService.isHovered(this.column);C._.addOrRemoveCssClass(this.getGui(),"ag-column-hover",t)},e.prototype.setupWidth=function(){this.addDestroyableEventListener(this.column,l.Column.EVENT_WIDTH_CHANGED,this.onColumnWidthChanged.bind(this)),this.onColumnWidthChanged()},e.prototype.onColumnWidthChanged=function(){this.getGui().style.width=this.column.getActualWidth()+"px"},e.prototype.setupWithFloatingFilter=function(t){var e=function(){t.destroy&&t.destroy()};if(this.isAlive()){this.addDestroyFunc(e);var o=t.getGui();C._.addOrRemoveCssClass(this.eFloatingFilterBody,"ag-floating-filter-body",!this.suppressFilterButton),C._.addOrRemoveCssClass(this.eFloatingFilterBody,"ag-floating-filter-full-body",this.suppressFilterButton),C._.setVisible(this.eButtonWrapper,!this.suppressFilterButton);var n=C._.createIconNoSpan("filter",this.gridOptionsWrapper,this.column);this.eButtonShowMainFilter.appendChild(n),this.eFloatingFilterBody.appendChild(o),t.afterGuiAttached&&t.afterGuiAttached(),this.wireQuerySelectors()}else e()},e.prototype.getFloatingFilterInstance=function(){var t,o=this,n=this.column.getColDef();"string"==typeof n.filter?t=e.filterToFloatingFilterNames[n.filter]:!0===n.filter&&(t=this.gridOptionsWrapper.isEnterprise()?"agSetColumnFloatingFilter":"agTextColumnFloatingFilter");var i={api:this.gridApi,column:this.column,currentParentModel:this.currentParentModel.bind(this),onFloatingFilterChanged:this.onFloatingFilterChanged.bind(this),suppressFilterButton:!1};this.suppressFilterButton=!!n.floatingFilterComponentParams&&!!n.floatingFilterComponentParams.suppressFilterButton;var r=this.userComponentFactory.newFloatingFilterComponent(n,i,t);if(!r){var s=this.getFilterComponentPrototype(n);if(s&&s.prototype&&s.prototype.getModelAsString){var a=i.currentParentModel;i.currentParentModel=function(){return o.filterManager.getFilterComponent(o.column,"NO_UI").resolveNow(null,(function(t){return t.getModelAsString?t.getModelAsString(a()):null}))};var l=this.userComponentFactory.createUserComponentFromConcreteClass(u.ReadModelAsStringFloatingFilterComp,i);r=C.Promise.resolve(l)}}return r},e.prototype.createDynamicParams=function(){return{column:this.column,colDef:this.column.getColDef(),api:this.gridApi,columnApi:this.columnApi}},e.prototype.getFilterComponentPrototype=function(t){var e=this.userComponentFactory.lookupComponentClassDef(t,"filter",this.createDynamicParams());return e?e.component:null},e.prototype.setupEmpty=function(){C._.setVisible(this.eButtonWrapper,!1)},e.prototype.currentParentModel=function(){var t=this.filterManager.getFilterComponent(this.column,"NO_UI").resolveNow(null,(function(t){return t.getNullableModel?t.getNullableModel():t.getModel()}));return t&&null!=t.operator?t.condition1:t},e.prototype.onFloatingFilterChanged=function(t){var e,o=this,n=new C.Promise((function(t){e=t}));return this.filterManager.getFilterComponent(this.column,"NO_UI").then((function(n){if(n.onFloatingFilterChanged){var i=n.onFloatingFilterChanged(t);e(i)}else n.setModel(t),o.filterManager.onFilterChanged(),e(!0)})),n.resolveNow(!0,(function(t){return t}))},e.prototype.onParentModelChanged=function(t){if(this.floatingFilterCompPromise){var e,o;o=t&&t.operator?(e=t).condition1:t,this.floatingFilterCompPromise.then((function(t){t.onParentModelChanged(o,e)}))}},e.filterToFloatingFilterNames={set:"agSetColumnFloatingFilter",agSetColumnFilter:"agSetColumnFloatingFilter",number:"agNumberColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",date:"agDateColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",text:"agTextColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"},e.TEMPLATE='<div class="ag-header-cell" aria-hidden="true">\n <div ref="eFloatingFilterBody" aria-hidden="true"></div>\n <div class="ag-floating-filter-button" ref="eButtonWrapper" aria-hidden="true">\n <button type="button" ref="eButtonShowMainFilter"></button>\n </div>\n </div>',r([a.Autowired("columnHoverService"),s("design:type",m.ColumnHoverService)],e.prototype,"columnHoverService",void 0),r([a.Autowired("eventService"),s("design:type",v.EventService)],e.prototype,"eventService",void 0),r([a.Autowired("beans"),s("design:type",f.Beans)],e.prototype,"beans",void 0),r([a.Autowired("gridOptionsWrapper"),s("design:type",h.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([a.Autowired("userComponentFactory"),s("design:type",E.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([a.Autowired("gridApi"),s("design:type",w.GridApi)],e.prototype,"gridApi",void 0),r([a.Autowired("columnApi"),s("design:type",_.ColumnApi)],e.prototype,"columnApi",void 0),r([a.Autowired("filterManager"),s("design:type",R.FilterManager)],e.prototype,"filterManager",void 0),r([a.Autowired("menuFactory"),s("design:type",Object)],e.prototype,"menuFactory",void 0),r([d.RefSelector("eFloatingFilterBody"),s("design:type",HTMLElement)],e.prototype,"eFloatingFilterBody",void 0),r([d.RefSelector("eButtonWrapper"),s("design:type",HTMLElement)],e.prototype,"eButtonWrapper",void 0),r([d.RefSelector("eButtonShowMainFilter"),s("design:type",HTMLElement)],e.prototype,"eButtonShowMainFilter",void 0),r([a.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(c.Component);e.FloatingFilterWrapper=S},32868:(t,e,o)=>{var n=e;n.der=o(5555),n.pem=o(93862)},33467:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(72493),r=function(){function t(){}return t.prototype.download=function(t,e){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(e,t);else{var o=document.createElement("a"),n=window.URL.createObjectURL(e);o.setAttribute("href",n),o.setAttribute("download",t),o.style.display="none",document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(n),document.body.removeChild(o)}},n([i.Bean("downloader")],t)}();e.Downloader=r},34255:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(47721),p=o(13650),u=o(72493),c=o(85910),d=o(83423),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.modelFromFloatingFilter=function(t){return{dateFrom:t,dateTo:this.getDateTo(),type:this.selectedFilter,filterType:"date"}},e.prototype.getApplicableFilterTypes=function(){return[p.BaseFilter.EQUALS,p.BaseFilter.GREATER_THAN,p.BaseFilter.LESS_THAN,p.BaseFilter.NOT_EQUAL,p.BaseFilter.IN_RANGE]},e.prototype.bodyTemplate=function(t){return'<div class="ag-filter-body">\n <div class="ag-filter-date-from" id="'+(t==p.FilterConditionType.MAIN?"filterDateFromPanel":"filterDateFromConditionPanel")+'">\n </div>\n <div class="ag-filter-date-to" id="'+(t==p.FilterConditionType.MAIN?"filterDateToPanel":"filterDateToConditionPanel")+'">\n </div>\n </div>'},e.prototype.initialiseFilterBodyUi=function(e){t.prototype.initialiseFilterBodyUi.call(this,e),this.createComponents(e),e===p.FilterConditionType.MAIN?(this.setDateFrom_date(this.dateFrom,p.FilterConditionType.MAIN),this.setDateTo_date(this.dateTo,p.FilterConditionType.MAIN),this.setFilterType(this.selectedFilter,p.FilterConditionType.MAIN)):(this.setDateFrom_date(this.dateFromCondition,p.FilterConditionType.CONDITION),this.setDateTo_date(this.dateToCondition,p.FilterConditionType.CONDITION),this.setFilterType(this.selectedFilterCondition,p.FilterConditionType.CONDITION))},e.prototype.createComponents=function(t){var e=this,o={onDateChanged:function(){e.onDateChanged(t)},filterParams:this.filterParams};this.userComponentFactory.newDateComponent(o).then((function(o){t===p.FilterConditionType.MAIN?e.dateToComponent=o:e.dateToConditionComponent=o;var n=o.getGui();t===p.FilterConditionType.MAIN?(e.eDateToPanel.appendChild(n),e.dateToComponent.afterGuiAttached&&e.dateToComponent.afterGuiAttached()):(e.eDateToConditionPanel.appendChild(n),e.dateToConditionComponent.afterGuiAttached&&e.dateToConditionComponent.afterGuiAttached())})),this.userComponentFactory.newDateComponent(o).then((function(o){t===p.FilterConditionType.MAIN?e.dateFromComponent=o:e.dateFromConditionComponent=o;var n=o.getGui();t===p.FilterConditionType.MAIN?(e.eDateFromPanel.appendChild(n),e.dateFromComponent.afterGuiAttached&&e.dateFromComponent.afterGuiAttached()):(e.eDateFromConditionPanel.appendChild(n),e.dateFromConditionComponent.afterGuiAttached&&e.dateFromConditionComponent.afterGuiAttached())}))},e.prototype.onDateChanged=function(t){t===p.FilterConditionType.MAIN?(this.dateFrom=e.removeTimezone(this.dateFromComponent.getDate()),this.dateTo=e.removeTimezone(this.dateToComponent.getDate())):(this.dateFromCondition=e.removeTimezone(this.dateFromComponent.getDate()),this.dateToCondition=e.removeTimezone(this.dateToComponent.getDate())),this.onFilterChanged()},e.prototype.refreshFilterBodyUi=function(t){var e,o;if(t===p.FilterConditionType.MAIN?(e=this.eDateToPanel,o=this.selectedFilter):(e=this.eDateToConditionPanel,o=this.selectedFilterCondition),e){var n=o===p.BaseFilter.IN_RANGE;d._.setVisible(e,n)}var i=t===p.FilterConditionType.MAIN?this.eDateFromPanel:this.eDateFromConditionPanel;if(i){var r=!this.doesFilterHaveHiddenInput(o)&&o!==p.BaseFilter.EMPTY;d._.setVisible(i,r)}},e.prototype.comparator=function(){return this.filterParams.comparator?this.filterParams.comparator:this.defaultComparator.bind(this)},e.prototype.defaultComparator=function(t,e){return e<t?-1:e>t?1:null!=e?0:-1},e.prototype.serialize=function(t){var e=t===p.FilterConditionType.MAIN?this.dateToComponent:this.dateToConditionComponent,o=t===p.FilterConditionType.MAIN?this.dateFromComponent:this.dateFromConditionComponent,n=t===p.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition;return{dateTo:d._.serializeDateToYyyyMmDd(e.getDate(),"-"),dateFrom:d._.serializeDateToYyyyMmDd(o.getDate(),"-"),type:n||this.defaultFilter,filterType:"date"}},e.prototype.filterValues=function(t){return t===p.FilterConditionType.MAIN?this.dateFromComponent?this.selectedFilter!==p.BaseFilter.IN_RANGE?this.dateFromComponent.getDate():[this.dateFromComponent.getDate(),this.dateToComponent.getDate()]:null:this.dateFromConditionComponent?this.selectedFilterCondition!==p.BaseFilter.IN_RANGE?this.dateFromConditionComponent.getDate():[this.dateFromConditionComponent.getDate(),this.dateToConditionComponent.getDate()]:null},e.prototype.getDateFrom=function(){return d._.serializeDateToYyyyMmDd(this.dateFromComponent.getDate(),"-")},e.prototype.getDateTo=function(){return d._.serializeDateToYyyyMmDd(this.dateToComponent.getDate(),"-")},e.prototype.getFilterType=function(){return this.selectedFilter},e.prototype.setDateFrom=function(t,e){var o=d._.parseYyyyMmDdToDate(t,"-");this.setDateFrom_date(o,e)},e.prototype.setDateFrom_date=function(t,e){if(e===p.FilterConditionType.MAIN){if(this.dateFrom=t,!this.dateFromComponent)return;this.dateFromComponent.setDate(this.dateFrom)}else{if(this.dateFromCondition=t,!this.dateFromConditionComponent)return;this.dateFromConditionComponent.setDate(this.dateFromCondition)}},e.prototype.setDateTo=function(t,e){var o=d._.parseYyyyMmDdToDate(t,"-");this.setDateTo_date(o,e)},e.prototype.setDateTo_date=function(t,e){if(e===p.FilterConditionType.MAIN){if(this.dateTo=t,!this.dateToComponent)return;this.dateToComponent.setDate(this.dateTo)}else{if(this.dateToCondition=t,!this.dateToConditionComponent)return;this.dateToConditionComponent.setDate(this.dateToCondition)}},e.prototype.resetState=function(t){void 0===t&&(t=!1),t||(this.setDateFrom(null,p.FilterConditionType.MAIN),this.setDateTo(null,p.FilterConditionType.MAIN),this.setFilterType(this.defaultFilter,p.FilterConditionType.MAIN)),this.setFilterType(this.defaultFilter,p.FilterConditionType.CONDITION),this.setDateFrom(null,p.FilterConditionType.CONDITION),this.setDateTo(null,p.FilterConditionType.CONDITION)},e.prototype.parse=function(t,e){this.setDateFrom(t.dateFrom,e),this.setDateTo(t.dateTo,e),this.setFilterType(t.type,e)},e.prototype.setType=function(t,e){this.setFilterType(t,e)},e.removeTimezone=function(t){return t?new Date(t.getFullYear(),t.getMonth(),t.getDate()):null},r([u.Autowired("userComponentFactory"),s("design:type",c.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([l.QuerySelector("#filterDateFromPanel"),s("design:type",HTMLElement)],e.prototype,"eDateFromPanel",void 0),r([l.QuerySelector("#filterDateFromConditionPanel"),s("design:type",HTMLElement)],e.prototype,"eDateFromConditionPanel",void 0),r([l.QuerySelector("#filterDateToPanel"),s("design:type",HTMLElement)],e.prototype,"eDateToPanel",void 0),r([l.QuerySelector("#filterDateToConditionPanel"),s("design:type",HTMLElement)],e.prototype,"eDateToConditionPanel",void 0),e}(p.ScalarBaseFilter);e.DateFilter=h;var f=function(t){function e(){return t.call(this,'<div class="ag-input-text-wrapper"><input class="ag-filter-filter" type="text" placeholder="yyyy-mm-dd"></div>')||this}return i(e,t),e.prototype.init=function(t){this.eDateInput=this.getGui().querySelector("input"),(d._.isBrowserChrome()||t.filterParams.browserDatePicker)&&(d._.isBrowserIE()?console.warn("ag-grid: browserDatePicker is specified to true, but it is not supported in IE 11, reverting to plain text date picker"):this.eDateInput.type="date"),this.listener=t.onDateChanged,this.addGuiEventListener("input",this.listener)},e.prototype.getDate=function(){return d._.parseYyyyMmDdToDate(this.eDateInput.value,"-")},e.prototype.setDate=function(t){this.eDateInput.value=d._.serializeDateToYyyyMmDd(t,"-")},e}(a.Component);e.DefaultDateComponent=f},34470:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(60843),l=o(40634),p=o(30811),u=o(15959),c=o(79886),d=o(83423),h=function(){function t(){this.cellRendererMap={}}var e;return e=t,t.prototype.init=function(){this.cellRendererMap[e.ANIMATE_SLIDE]=p.AnimateSlideCellRenderer,this.cellRendererMap[e.ANIMATE_SHOW_CHANGE]=u.AnimateShowChangeCellRenderer,this.cellRendererMap[e.GROUP]=c.GroupCellRenderer},t.prototype.addCellRenderer=function(t,e){this.cellRendererMap[t]=e},t.prototype.getCellRenderer=function(t){var e=this.cellRendererMap[t];return d._.missing(e)?(console.warn("ag-Grid: unable to find cellRenderer for key "+t),null):e},t.ANIMATE_SLIDE="animateSlide",t.ANIMATE_SHOW_CHANGE="animateShowChange",t.GROUP="group",n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("expressionService"),i("design:type",l.ExpressionService)],t.prototype,"expressionService",void 0),n([r.Autowired("eventService"),i("design:type",a.EventService)],t.prototype,"eventService",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),e=n([r.Bean("cellRendererFactory")],t)}();e.CellRendererFactory=h},34506:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(83423),i=function(){function t(){}return t.addHeaderClassesFromColDef=function(t,e,o,i,r){n._.missing(t)||this.addColumnClassesFromCollDef(t.headerClass,t,e,o,i,r)},t.addToolPanelClassesFromColDef=function(t,e,o,i,r){n._.missing(t)||this.addColumnClassesFromCollDef(t.toolPanelClass,t,e,o,i,r)},t.addColumnClassesFromCollDef=function(t,e,o,i,r,s){var a;n._.missing(t)||("string"==typeof(a="function"==typeof t?t({colDef:e,column:r,columnGroup:s,context:i.getContext(),api:i.getApi()}):t)?n._.addCssClass(o,a):Array.isArray(a)&&a.forEach((function(t){n._.addCssClass(o,t)})))},t}();e.CssClassApplier=i},34782:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(3976),i=o(83423),r=function(){function t(t){this.rowIndex=t.rowIndex,this.column=t.column,this.floating=i._.makeNull(t.floating)}return t.prototype.getGridCellDef=function(){return{rowIndex:this.rowIndex,column:this.column,floating:this.floating}},t.prototype.getGridRow=function(){return new n.GridRow(this.rowIndex,this.floating)},t.prototype.toString=function(){return"rowIndex = "+this.rowIndex+", floating = "+this.floating+", column = "+(this.column?this.column.getId():null)},t.prototype.createId=function(){return this.rowIndex+"."+this.floating+"."+this.column.getId()},t.prototype.equals=function(t){var e=this.column===t.column,o=this.floating===t.floating,n=this.rowIndex===t.rowIndex;return e&&o&&n},t}();e.GridCell=r},35228:(t,e,o)=>{var n=o(44775),i=o(25003);function r(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new r(t,e)},r.prototype._createNamed=function(t){var e;try{e=o(49888).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(t){e=function(t){this._initNamed(t)}}return i(e,t),e.prototype._initNamed=function(e){t.call(this,e)},new e(this)},r.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(n.decoders[t])),this.decoders[t]},r.prototype.decode=function(t,e,o){return this._getDecoder(e).decode(t,o)},r.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n.encoders[t])),this.encoders[t]},r.prototype.encode=function(t,e,o){return this._getEncoder(e).encode(t,o)}},36173:(t,e,o)=>{var n=o(6617),i=/\s+/;e.triggerEvents=function(t,e){var o,n=-1,i=t.length,r=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++n<i;)(o=t[n]).callback.call(o.ctx);return;case 1:for(;++n<i;)(o=t[n]).callback.call(o.ctx,r);return;case 2:for(;++n<i;)(o=t[n]).callback.call(o.ctx,r,s);return;case 3:for(;++n<i;)(o=t[n]).callback.call(o.ctx,r,s,a);return;default:for(;++n<i;)(o=t[n]).callback.apply(o.ctx,e);return}},e.eventsApi=function(t,e,o,n){if(!o)return!0;if("object"==typeof o){for(var r in o)t[e].apply(t,[r,o[r]].concat(n));return!1}if(i.test(o)){for(var s=o.split(i),a=0,l=s.length;a<l;a++)t[e].apply(t,[s[a]].concat(n));return!1}return!0},e.createListenMethod=function(t){return function(e,o,i){if(!e)throw new Error("Trying to listenTo event: '"+o+"' but the target object is undefined");if((this._listeningTo||(this._listeningTo={}))[e._listenId||(e._listenId=n("l"))]=e,i||"object"!=typeof o||(i=this),"function"!=typeof e[t])throw new Error("Trying to listenTo event: '"+o+"' on object: "+e.toString()+" but it does not have an 'on' method so is unbindable");return e[t](o,i,this),this}}},36464:(t,e,o)=>{var n=o(72994).Token,i=o(48898).ParseTreeListener,r=o(32141).f,s=o(24429).$,a=o(36575).ATNDeserializer,l=o(44529).$,p=o(48898).TerminalNode,u=o(48898).ErrorNode;function c(t){return i.call(this),this.parser=t,this}function d(t){return r.call(this),this._input=null,this._errHandler=new s,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t),this}c.prototype=Object.create(i.prototype),c.prototype.constructor=c,c.prototype.enterEveryRule=function(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},c.prototype.visitTerminal=function(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},c.prototype.exitEveryRule=function(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},d.prototype=Object.create(r.prototype),d.prototype.contructor=d,d.bypassAltsAtnCache={},d.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()},d.prototype.match=function(t){var e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e},d.prototype.matchWildcard=function(){var t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t},d.prototype.getParseListeners=function(){return this._parseListeners||[]},d.prototype.addParseListener=function(t){if(null===t)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(t)},d.prototype.removeParseListener=function(t){if(null!==this._parseListeners){var e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),0===this._parseListeners.length&&(this._parseListeners=null)}},d.prototype.removeParseListeners=function(){this._parseListeners=null},d.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.map((function(e){e.enterEveryRule(t),t.enterRule(e)}))}},d.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.slice(0).reverse().map((function(e){t.exitRule(e),e.exitEveryRule(t)}))}},d.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},d.prototype.setTokenFactory=function(t){this._input.tokenSource._factory=t},d.prototype.getATNWithBypassAlts=function(){var t=this.getSerializedATN();if(null===t)throw"The current parser does not support an ATN with bypass alternatives.";var e=this.bypassAltsAtnCache[t];if(null===e){var o=new l;o.generateRuleBypassTransitions=!0,e=new a(o).deserialize(t),this.bypassAltsAtnCache[t]=e}return e};var h=o(18393).Lexer;d.prototype.compileParseTreePattern=function(t,e,o){if(null===(o=o||null)&&null!==this.getTokenStream()){var n=this.getTokenStream().tokenSource;n instanceof h&&(o=n)}if(null===o)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(o,this).compile(t,e)},d.prototype.getInputStream=function(){return this.getTokenStream()},d.prototype.setInputStream=function(t){this.setTokenStream(t)},d.prototype.getTokenStream=function(){return this._input},d.prototype.setTokenStream=function(t){this._input=null,this.reset(),this._input=t},d.prototype.getCurrentToken=function(){return this._input.LT(1)},d.prototype.notifyErrorListeners=function(t,e,o){o=o||null,null===(e=e||null)&&(e=this.getCurrentToken()),this._syntaxErrors+=1;var n=e.line,i=e.column;this.getErrorListenerDispatch().syntaxError(this,e,n,i,t,o)},d.prototype.consume=function(){var t=this.getCurrentToken();t.type!==n.EOF&&this.getInputStream().consume();var e,o=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||o)&&((e=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(t):this._ctx.addTokenNode(t)).invokingState=this.state,o&&this._parseListeners.map((function(t){e instanceof u||void 0!==e.isErrorNode&&e.isErrorNode()?t.visitErrorNode(e):e instanceof p&&t.visitTerminal(e)}))),t},d.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},d.prototype.enterRule=function(t,e,o){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},d.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},d.prototype.enterOuterAlt=function(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t},d.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},d.prototype.enterRecursionRule=function(t,e,o,n){this.state=e,this._precedenceStack.push(n),this._ctx=t,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},d.prototype.pushNewRecursionContext=function(t,e,o){var n=this._ctx;n.parentCtx=t,n.invokingState=e,n.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=n.start,this.buildParseTrees&&this._ctx.addChild(n),null!==this._parseListeners&&this.triggerEnterRuleEvent()},d.prototype.unrollRecursionContexts=function(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var e=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&null!==t&&t.addChild(e)},d.prototype.getInvokingContext=function(t){for(var e=this._ctx;null!==e;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null},d.prototype.precpred=function(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]},d.prototype.inContext=function(t){return!1},d.prototype.isExpectedToken=function(t){var e=this._interp.atn,o=this._ctx,i=e.states[this.state],r=e.nextTokens(i);if(r.contains(t))return!0;if(!r.contains(n.EPSILON))return!1;for(;null!==o&&o.invokingState>=0&&r.contains(n.EPSILON);){var s=e.states[o.invokingState].transitions[0];if((r=e.nextTokens(s.followState)).contains(t))return!0;o=o.parentCtx}return!(!r.contains(n.EPSILON)||t!==n.EOF)},d.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},d.prototype.getExpectedTokensWithinCurrentRule=function(){var t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)},d.prototype.getRuleIndex=function(t){var e=this.getRuleIndexMap()[t];return null!==e?e:-1},d.prototype.getRuleInvocationStack=function(t){null===(t=t||null)&&(t=this._ctx);for(var e=[];null!==t;){var o=t.ruleIndex;o<0?e.push("n/a"):e.push(this.ruleNames[o]),t=t.parentCtx}return e},d.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},d.prototype.dumpDFA=function(){for(var t=!1,e=0;e<this._interp.decisionToDFA.length;e++){var o=this._interp.decisionToDFA[e];o.states.length>0&&(t&&console.log(),this.printer.println("Decision "+o.decision+":"),this.printer.print(o.toString(this.literalNames,this.symbolicNames)),t=!0)}},d.prototype.getSourceName=function(){return this._input.sourceName},d.prototype.setTrace=function(t){t?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new c(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},e.Parser=d},36575:(t,e,o)=>{var n=o(72994).Token,i=o(51028).ATN,r=o(51596).E,s=o(81367),a=s.ATNState,l=s.BasicState,p=s.DecisionState,u=s.BlockStartState,c=s.BlockEndState,d=s.LoopEndState,h=s.RuleStartState,f=s.RuleStopState,g=s.TokensStartState,y=s.PlusLoopbackState,v=s.StarLoopbackState,m=s.StarLoopEntryState,C=s.PlusBlockStartState,E=s.StarBlockStartState,w=s.BasicBlockStartState,_=o(10014),R=_.Transition,S=_.AtomTransition,O=_.SetTransition,T=_.NotSetTransition,b=_.RuleTransition,A=_.RangeTransition,P=_.ActionTransition,D=_.EpsilonTransition,N=_.WildcardTransition,F=_.PredicateTransition,x=_.PrecedencePredicateTransition,I=o(70040).m,L=(o(70040).Interval,o(44529).$),M=o(56645),G=M.LexerActionType,k=M.LexerSkipAction,W=M.LexerChannelAction,H=M.LexerCustomAction,V=M.LexerMoreAction,B=M.LexerTypeAction,j=M.LexerPushModeAction,U=M.LexerPopModeAction,z=M.LexerModeAction,Y="59627784-3BE5-417A-B9EB-8131A7286089",K=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Y],q=Y;function Q(t,e){var o=[];return o[t-1]=e,o.map((function(t){return e}))}function $(t){return null==t&&(t=L.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null,this}$.prototype.isFeatureSupported=function(t,e){var o=K.indexOf(t);return!(o<0)&&K.indexOf(e)>=o},$.prototype.deserialize=function(t){this.reset(t),this.checkVersion(),this.checkUUID();var e=this.readATN();this.readStates(e),this.readRules(e),this.readModes(e);var o=[];return this.readSets(e,o,this.readInt.bind(this)),this.isFeatureSupported(Y,this.uuid)&&this.readSets(e,o,this.readInt32.bind(this)),this.readEdges(e,o),this.readDecisions(e),this.readLexerActions(e),this.markPrecedenceDecisions(e),this.verifyATN(e),this.deserializationOptions.generateRuleBypassTransitions&&e.grammarType===r.PARSER&&(this.generateRuleBypassTransitions(e),this.verifyATN(e)),e},$.prototype.reset=function(t){var e=t.split("").map((function(t){var e=t.charCodeAt(0);return e>1?e-2:e+65533}));e[0]=t.charCodeAt(0),this.data=e,this.pos=0},$.prototype.checkVersion=function(){var t=this.readInt();if(3!==t)throw"Could not deserialize ATN with version "+t+" (expected 3)."},$.prototype.checkUUID=function(){var t=this.readUUID();if(K.indexOf(t)<0)throw q;this.uuid=t},$.prototype.readATN=function(){var t=this.readInt(),e=this.readInt();return new i(t,e)},$.prototype.readStates=function(t){for(var e,o,n,i=[],r=[],s=this.readInt(),l=0;l<s;l++){var p=this.readInt();if(p!==a.INVALID_TYPE){var c=this.readInt();65535===c&&(c=-1);var d=this.stateFactory(p,c);if(p===a.LOOP_END){var h=this.readInt();i.push([d,h])}else if(d instanceof u){var f=this.readInt();r.push([d,f])}t.addState(d)}else t.addState(null)}for(e=0;e<i.length;e++)(o=i[e])[0].loopBackState=t.states[o[1]];for(e=0;e<r.length;e++)(o=r[e])[0].endState=t.states[o[1]];var g=this.readInt();for(e=0;e<g;e++)n=this.readInt(),t.states[n].nonGreedy=!0;var y=this.readInt();for(e=0;e<y;e++)n=this.readInt(),t.states[n].isPrecedenceRule=!0},$.prototype.readRules=function(t){var e,o=this.readInt();for(t.grammarType===r.LEXER&&(t.ruleToTokenType=Q(o,0)),t.ruleToStartState=Q(o,0),e=0;e<o;e++){var i=this.readInt(),s=t.states[i];if(t.ruleToStartState[e]=s,t.grammarType===r.LEXER){var a=this.readInt();65535===a&&(a=n.EOF),t.ruleToTokenType[e]=a}}for(t.ruleToStopState=Q(o,0),e=0;e<t.states.length;e++){var l=t.states[e];l instanceof f&&(t.ruleToStopState[l.ruleIndex]=l,t.ruleToStartState[l.ruleIndex].stopState=l)}},$.prototype.readModes=function(t){for(var e=this.readInt(),o=0;o<e;o++){var n=this.readInt();t.modeToStartState.push(t.states[n])}},$.prototype.readSets=function(t,e,o){for(var n=this.readInt(),i=0;i<n;i++){var r=new I;e.push(r);var s=this.readInt();0!==this.readInt()&&r.addOne(-1);for(var a=0;a<s;a++){var l=o(),p=o();r.addRange(l,p)}}},$.prototype.readEdges=function(t,e){var o,n,i,r,s,a=this.readInt();for(o=0;o<a;o++){var l=this.readInt(),p=this.readInt(),c=this.readInt(),d=this.readInt(),h=this.readInt(),f=this.readInt();r=this.edgeFactory(t,c,l,p,d,h,f,e),t.states[l].addTransition(r)}for(o=0;o<t.states.length;o++)for(i=t.states[o],n=0;n<i.transitions.length;n++){var g=i.transitions[n];if(g instanceof b){var E=-1;t.ruleToStartState[g.target.ruleIndex].isPrecedenceRule&&0===g.precedence&&(E=g.target.ruleIndex),r=new D(g.followState,E),t.ruleToStopState[g.target.ruleIndex].addTransition(r)}}for(o=0;o<t.states.length;o++){if((i=t.states[o])instanceof u){if(null===i.endState)throw"IllegalState";if(null!==i.endState.startState)throw"IllegalState";i.endState.startState=i}if(i instanceof y)for(n=0;n<i.transitions.length;n++)(s=i.transitions[n].target)instanceof C&&(s.loopBackState=i);else if(i instanceof v)for(n=0;n<i.transitions.length;n++)(s=i.transitions[n].target)instanceof m&&(s.loopBackState=i)}},$.prototype.readDecisions=function(t){for(var e=this.readInt(),o=0;o<e;o++){var n=this.readInt(),i=t.states[n];t.decisionToState.push(i),i.decision=o}},$.prototype.readLexerActions=function(t){if(t.grammarType===r.LEXER){var e=this.readInt();t.lexerActions=Q(e,null);for(var o=0;o<e;o++){var n=this.readInt(),i=this.readInt();65535===i&&(i=-1);var s=this.readInt();65535===s&&(s=-1);var a=this.lexerActionFactory(n,i,s);t.lexerActions[o]=a}}},$.prototype.generateRuleBypassTransitions=function(t){var e,o=t.ruleToStartState.length;for(e=0;e<o;e++)t.ruleToTokenType[e]=t.maxTokenType+e+1;for(e=0;e<o;e++)this.generateRuleBypassTransition(t,e)},$.prototype.generateRuleBypassTransition=function(t,e){var o,n,i=new w;i.ruleIndex=e,t.addState(i);var r=new c;r.ruleIndex=e,t.addState(r),i.endState=r,t.defineDecisionState(i),r.startState=i;var s=null,a=null;if(t.ruleToStartState[e].isPrecedenceRule){for(a=null,o=0;o<t.states.length;o++)if(n=t.states[o],this.stateIsEndStateFor(n,e)){a=n,s=n.loopBackState.transitions[0];break}if(null===s)throw"Couldn't identify final state of the precedence rule prefix section."}else a=t.ruleToStopState[e];for(o=0;o<t.states.length;o++){n=t.states[o];for(var p=0;p<n.transitions.length;p++){var u=n.transitions[p];u!==s&&u.target===a&&(u.target=r)}}for(var d=t.ruleToStartState[e],h=d.transitions.length;h>0;)i.addTransition(d.transitions[h-1]),d.transitions=d.transitions.slice(-1);t.ruleToStartState[e].addTransition(new D(i)),r.addTransition(new D(a));var f=new l;t.addState(f),f.addTransition(new S(r,t.ruleToTokenType[e])),i.addTransition(new D(f))},$.prototype.stateIsEndStateFor=function(t,e){if(t.ruleIndex!==e)return null;if(!(t instanceof m))return null;var o=t.transitions[t.transitions.length-1].target;return o instanceof d&&o.epsilonOnlyTransitions&&o.transitions[0].target instanceof f?t:null},$.prototype.markPrecedenceDecisions=function(t){for(var e=0;e<t.states.length;e++){var o=t.states[e];if(o instanceof m&&t.ruleToStartState[o.ruleIndex].isPrecedenceRule){var n=o.transitions[o.transitions.length-1].target;n instanceof d&&n.epsilonOnlyTransitions&&n.transitions[0].target instanceof f&&(o.isPrecedenceDecision=!0)}}},$.prototype.verifyATN=function(t){if(this.deserializationOptions.verifyATN)for(var e=0;e<t.states.length;e++){var o=t.states[e];if(null!==o)if(this.checkCondition(o.epsilonOnlyTransitions||o.transitions.length<=1),o instanceof C)this.checkCondition(null!==o.loopBackState);else if(o instanceof m)if(this.checkCondition(null!==o.loopBackState),this.checkCondition(2===o.transitions.length),o.transitions[0].target instanceof E)this.checkCondition(o.transitions[1].target instanceof d),this.checkCondition(!o.nonGreedy);else{if(!(o.transitions[0].target instanceof d))throw"IllegalState";this.checkCondition(o.transitions[1].target instanceof E),this.checkCondition(o.nonGreedy)}else o instanceof v?(this.checkCondition(1===o.transitions.length),this.checkCondition(o.transitions[0].target instanceof m)):o instanceof d?this.checkCondition(null!==o.loopBackState):o instanceof h?this.checkCondition(null!==o.stopState):o instanceof u?this.checkCondition(null!==o.endState):o instanceof c?this.checkCondition(null!==o.startState):o instanceof p?this.checkCondition(o.transitions.length<=1||o.decision>=0):this.checkCondition(o.transitions.length<=1||o instanceof f)}},$.prototype.checkCondition=function(t,e){if(!t)throw null==e&&(e="IllegalState"),e},$.prototype.readInt=function(){return this.data[this.pos++]},$.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},$.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var X=function(){for(var t=[],e=0;e<256;e++)t[e]=(e+256).toString(16).substr(1).toUpperCase();return t}();$.prototype.readUUID=function(){for(var t=[],e=7;e>=0;e--){var o=this.readInt();t[2*e+1]=255&o,t[2*e]=o>>8&255}return X[t[0]]+X[t[1]]+X[t[2]]+X[t[3]]+"-"+X[t[4]]+X[t[5]]+"-"+X[t[6]]+X[t[7]]+"-"+X[t[8]]+X[t[9]]+"-"+X[t[10]]+X[t[11]]+X[t[12]]+X[t[13]]+X[t[14]]+X[t[15]]},$.prototype.edgeFactory=function(t,e,o,i,r,s,a,l){var p=t.states[i];switch(e){case R.EPSILON:return new D(p);case R.RANGE:return new A(p,0!==a?n.EOF:r,s);case R.RULE:return new b(t.states[r],s,a,p);case R.PREDICATE:return new F(p,r,s,0!==a);case R.PRECEDENCE:return new x(p,r);case R.ATOM:return new S(p,0!==a?n.EOF:r);case R.ACTION:return new P(p,r,s,0!==a);case R.SET:return new O(p,l[r]);case R.NOT_SET:return new T(p,l[r]);case R.WILDCARD:return new N(p);default:throw"The specified transition type: "+e+" is not valid."}},$.prototype.stateFactory=function(t,e){if(null===this.stateFactories){var o=[];o[a.INVALID_TYPE]=null,o[a.BASIC]=function(){return new l},o[a.RULE_START]=function(){return new h},o[a.BLOCK_START]=function(){return new w},o[a.PLUS_BLOCK_START]=function(){return new C},o[a.STAR_BLOCK_START]=function(){return new E},o[a.TOKEN_START]=function(){return new g},o[a.RULE_STOP]=function(){return new f},o[a.BLOCK_END]=function(){return new c},o[a.STAR_LOOP_BACK]=function(){return new v},o[a.STAR_LOOP_ENTRY]=function(){return new m},o[a.PLUS_LOOP_BACK]=function(){return new y},o[a.LOOP_END]=function(){return new d},this.stateFactories=o}if(t>this.stateFactories.length||null===this.stateFactories[t])throw"The specified state type "+t+" is not valid.";var n=this.stateFactories[t]();if(null!==n)return n.ruleIndex=e,n},$.prototype.lexerActionFactory=function(t,e,o){if(null===this.actionFactories){var n=[];n[G.CHANNEL]=function(t,e){return new W(t)},n[G.CUSTOM]=function(t,e){return new H(t,e)},n[G.MODE]=function(t,e){return new z(t)},n[G.MORE]=function(t,e){return V.INSTANCE},n[G.POP_MODE]=function(t,e){return U.INSTANCE},n[G.PUSH_MODE]=function(t,e){return new j(t)},n[G.SKIP]=function(t,e){return k.INSTANCE},n[G.TYPE]=function(t,e){return new B(t)},this.actionFactories=n}if(t>this.actionFactories.length||null===this.actionFactories[t])throw"The specified lexer action type "+t+" is not valid.";return this.actionFactories[t](e,o)},e.ATNDeserializer=$},36777:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(71616),a=o(72493),l=o(34255),p=o(25358),u=o(95574),c=o(69397),d=o(79886),h=o(15959),f=o(30811),g=o(99093),y=o(84715),v=o(5448),m=o(31923),C=o(49281),E=o(99104),w=o(92378),_=o(24144),R=o(50298),S=o(75167),O=o(83423);!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.REGISTERED=1]="REGISTERED"}(r=e.RegisteredComponentSource||(e.RegisteredComponentSource={}));var T=function(){function t(){this.agGridDefaults={agDateInput:l.DefaultDateComponent,agColumnHeader:p.HeaderComp,agColumnGroupHeader:u.HeaderGroupComp,agSetColumnFloatingFilter:c.SetFloatingFilterComp,agTextColumnFloatingFilter:c.TextFloatingFilterComp,agNumberColumnFloatingFilter:c.NumberFloatingFilterComp,agDateColumnFloatingFilter:c.DateFloatingFilterComp,agAnimateShowChangeCellRenderer:h.AnimateShowChangeCellRenderer,agAnimateSlideCellRenderer:f.AnimateSlideCellRenderer,agGroupCellRenderer:d.GroupCellRenderer,agGroupRowRenderer:d.GroupCellRenderer,agLoadingCellRenderer:g.LoadingCellRenderer,agCellEditor:s.TextCellEditor,agTextCellEditor:s.TextCellEditor,agSelectCellEditor:y.SelectCellEditor,agPopupTextCellEditor:v.PopupTextCellEditor,agPopupSelectCellEditor:m.PopupSelectCellEditor,agLargeTextCellEditor:C.LargeTextCellEditor,agTextColumnFilter:E.TextFilter,agNumberColumnFilter:w.NumberFilter,agDateColumnFilter:l.DateFilter,agLoadingOverlay:_.LoadingOverlayComponent,agNoRowsOverlay:R.NoRowsOverlayComponent,agTooltipComponent:S.TooltipComponent},this.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"}},this.jsComponents={},this.frameworkComponents={}}return t.prototype.init=function(){var t=this,e=this.context.getEnterpriseDefaultComponents();e&&O._.forEach(e,(function(e){t.registerDefaultComponent(e.componentName,e.theClass)})),null!=this.gridOptions.components&&Object.keys(this.gridOptions.components).forEach((function(e){t.registerComponent(e,t.gridOptions.components[e])})),null!=this.gridOptions.frameworkComponents&&Object.keys(this.gridOptions.frameworkComponents).forEach((function(e){t.registerFwComponent(e,t.gridOptions.frameworkComponents[e])}))},t.prototype.registerDefaultComponent=function(t,e){var o=this.translateIfDeprecated(t);this.agGridDefaults[o]?console.error("Trying to overwrite a default component. You should call registerComponent"):this.agGridDefaults[o]=e},t.prototype.registerComponent=function(t,e){var o=this.translateIfDeprecated(t);this.frameworkComponents[o]?console.error("Trying to register a component that you have already registered for frameworks: "+o):this.jsComponents[o]=e},t.prototype.registerFwComponent=function(t,e){var o=this.translateIfDeprecated(t);this.jsComponents[o]?console.error("Trying to register a component that you have already registered for plain javascript: "+o):this.frameworkComponents[o]=e},t.prototype.retrieve=function(t){var e=this.translateIfDeprecated(t);return this.frameworkComponents[e]?{componentFromFramework:!0,component:this.frameworkComponents[e],source:r.REGISTERED}:this.jsComponents[e]?{componentFromFramework:!1,component:this.jsComponents[e],source:r.REGISTERED}:this.agGridDefaults[e]?this.agGridDefaults[e]?{componentFromFramework:!1,component:this.agGridDefaults[e],source:r.DEFAULT}:null:(Object.keys(this.agGridDefaults).indexOf(e)<0&&console.warn("ag-grid: Looking for component ["+e+"] but it wasn't found."),null)},t.prototype.translateIfDeprecated=function(t){var e=this.agDeprecatedNames[t];return null!=e?(O._.doOnce((function(){console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename "+e.propertyHolder+":"+t+" to "+e.propertyHolder+":"+e.newComponentName)}),"DEPRECATE_COMPONENT_"+t),e.newComponentName):t},n([a.Autowired("gridOptions"),i("design:type",Object)],t.prototype,"gridOptions",void 0),n([a.Autowired("context"),i("design:type",a.Context)],t.prototype,"context",void 0),n([a.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([a.Bean("userComponentRegistry")],t)}();e.UserComponentRegistry=T},36819:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(58342),s=o(72493),a=o(42195),l=o(44081),p=o(60843),u=o(85222),c=o(45727),d=function(){function t(t,e){this.eContainer=t,this.gridPanel=e}return t.prototype.postConstruct=function(){this.gridOptionsWrapper.isRowModelDefault()&&(this.clientSideRowModel=this.rowModel)},t.prototype.getContainer=function(){return this.eContainer},t.prototype.isInterestedIn=function(t){return t===r.DragSourceType.RowDrag},t.prototype.getIconName=function(){return r.DragAndDropService.ICON_MOVE},t.prototype.onDragEnter=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_ENTER,t),this.dragAndDropService.setGhostIcon(r.DragAndDropService.ICON_MOVE),t.dragItem.rowNode.setDragging(!0),this.onEnterOrDragging(t)},t.prototype.onDragging=function(t){this.onEnterOrDragging(t)},t.prototype.onEnterOrDragging=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_MOVE,t),this.lastDraggingEvent=t;var e=this.normaliseForScroll(t.y);this.gridOptionsWrapper.isRowDragManaged()&&this.doManagedDrag(t,e),this.checkCenterForScrolling(e)},t.prototype.doManagedDrag=function(t,e){var o=t.dragItem.rowNode;this.clientSideRowModel.ensureRowAtPixel(o,e)&&(this.focusedCellController.clearFocusedCell(),this.rangeController&&this.rangeController.clearSelection())},t.prototype.normaliseForScroll=function(t){return this.gridOptionsWrapper.getDomLayout()===c.Constants.DOM_LAYOUT_NORMAL?t+this.gridPanel.getVScrollPosition().top:t},t.prototype.checkCenterForScrolling=function(t){var e=this.gridPanel.getVScrollPosition();this.needToMoveUp=t<e.top+50,this.needToMoveDown=t>e.bottom-50,this.needToMoveUp||this.needToMoveDown?this.ensureIntervalStarted():this.ensureIntervalCleared()},t.prototype.ensureIntervalStarted=function(){this.movingIntervalId||(this.intervalCount=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100))},t.prototype.ensureIntervalCleared=function(){this.moveInterval&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null)},t.prototype.moveInterval=function(){var t,e;this.intervalCount++,(t=10+5*this.intervalCount)>100&&(t=100),this.needToMoveDown?e=this.gridPanel.scrollVertically(t):this.needToMoveUp&&(e=this.gridPanel.scrollVertically(-t)),0!==e&&this.onDragging(this.lastDraggingEvent)},t.prototype.dispatchEvent=function(t,e){var o,n=this.normaliseForScroll(e.y),i=-1,s=null;switch(n>this.rowModel.getCurrentPageHeight()||(i=this.rowModel.getRowIndexAtPixel(n),s=this.rowModel.getRow(i)),e.vDirection){case r.VDirection.Down:o="down";break;case r.VDirection.Up:o="up";break;default:o=null}var a={type:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),event:e.event,node:e.dragItem.rowNode,overIndex:i,overNode:s,y:n,vDirection:o};this.eventService.dispatchEvent(a)},t.prototype.onDragLeave=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_LEAVE,t),this.stopDragging(t)},t.prototype.onDragStop=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_END,t),this.stopDragging(t)},t.prototype.stopDragging=function(t){this.ensureIntervalCleared(),t.dragItem.rowNode.setDragging(!1)},n([s.Autowired("dragAndDropService"),i("design:type",r.DragAndDropService)],t.prototype,"dragAndDropService",void 0),n([s.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([s.Autowired("focusedCellController"),i("design:type",a.FocusedCellController)],t.prototype,"focusedCellController",void 0),n([s.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Optional("rangeController"),i("design:type",Object)],t.prototype,"rangeController",void 0),n([s.Autowired("eventService"),i("design:type",p.EventService)],t.prototype,"eventService",void 0),n([s.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"postConstruct",null),t}();e.RowDragFeature=d},37132:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44081),a=o(72493),l=o(72493),p=function(){function t(){}return t.prototype.setBeans=function(t){this.logging=t.isDebug()},t.prototype.create=function(t){return new u(t,this.isLogging.bind(this))},t.prototype.isLogging=function(){return this.logging},n([r(0,l.Qualifier("gridOptionsWrapper")),i("design:type",Function),i("design:paramtypes",[s.GridOptionsWrapper]),i("design:returntype",void 0)],t.prototype,"setBeans",null),n([a.Bean("loggerFactory")],t)}();e.LoggerFactory=p;var u=function(){function t(t,e){this.name=t,this.isLoggingFunc=e}return t.prototype.isLogging=function(){return this.isLoggingFunc()},t.prototype.log=function(t){this.isLoggingFunc()&&console.log("ag-Grid."+this.name+": "+t)},t}();e.Logger=u},37254:(t,e,o)=>{var n=o(55128).Reporter,i=o(55128).EncoderBuffer,r=o(55128).DecoderBuffer,s=o(14012),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function p(t,e){var o={};this._baseState=o,o.enc=t,o.parent=e||null,o.children=null,o.tag=null,o.args=null,o.reverseArgs=null,o.choice=null,o.optional=!1,o.any=!1,o.obj=!1,o.use=null,o.useDecoder=null,o.key=null,o.default=null,o.explicit=null,o.implicit=null,o.contains=null,o.parent||(o.children=[],this._wrap())}t.exports=p;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];p.prototype.clone=function(){var t=this._baseState,e={};u.forEach((function(o){e[o]=t[o]}));var o=new this.constructor(e.parent);return o._baseState=e,o},p.prototype._wrap=function(){var t=this._baseState;l.forEach((function(e){this[e]=function(){var o=new this.constructor(this);return t.children.push(o),o[e].apply(o,arguments)}}),this)},p.prototype._init=function(t){var e=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},p.prototype._useArgs=function(t){var e=this._baseState,o=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==o.length&&(s(null===e.children),e.children=o,o.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(s(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(o){o==(0|o)&&(o|=0);var n=t[o];e[n]=o})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){p.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),a.forEach((function(t){p.prototype[t]=function(){var e=this._baseState,o=Array.prototype.slice.call(arguments);return s(null===e.tag),e.tag=t,this._useArgs(o),this}})),p.prototype.use=function(t){s(t);var e=this._baseState;return s(null===e.use),e.use=t,this},p.prototype.optional=function(){return this._baseState.optional=!0,this},p.prototype.def=function(t){var e=this._baseState;return s(null===e.default),e.default=t,e.optional=!0,this},p.prototype.explicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.explicit=t,this},p.prototype.implicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.implicit=t,this},p.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},p.prototype.key=function(t){var e=this._baseState;return s(null===e.key),e.key=t,this},p.prototype.any=function(){return this._baseState.any=!0,this},p.prototype.choice=function(t){var e=this._baseState;return s(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},p.prototype.contains=function(t){var e=this._baseState;return s(null===e.use),e.contains=t,this},p.prototype._decode=function(t,e){var o=this._baseState;if(null===o.parent)return t.wrapResult(o.children[0]._decode(t,e));var n,i=o.default,s=!0,a=null;if(null!==o.key&&(a=t.enterKey(o.key)),o.optional){var l=null;if(null!==o.explicit?l=o.explicit:null!==o.implicit?l=o.implicit:null!==o.tag&&(l=o.tag),null!==l||o.any){if(s=this._peekTag(t,l,o.any),t.isError(s))return s}else{var p=t.save();try{null===o.choice?this._decodeGeneric(o.tag,t,e):this._decodeChoice(t,e),s=!0}catch(t){s=!1}t.restore(p)}}if(o.obj&&s&&(n=t.enterObject()),s){if(null!==o.explicit){var u=this._decodeTag(t,o.explicit);if(t.isError(u))return u;t=u}var c=t.offset;if(null===o.use&&null===o.choice){o.any&&(p=t.save());var d=this._decodeTag(t,null!==o.implicit?o.implicit:o.tag,o.any);if(t.isError(d))return d;o.any?i=t.raw(p):t=d}if(e&&e.track&&null!==o.tag&&e.track(t.path(),c,t.length,"tagged"),e&&e.track&&null!==o.tag&&e.track(t.path(),t.offset,t.length,"content"),o.any||(i=null===o.choice?this._decodeGeneric(o.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(o.any||null!==o.choice||null===o.children||o.children.forEach((function(o){o._decode(t,e)})),o.contains&&("octstr"===o.tag||"bitstr"===o.tag)){var h=new r(i);i=this._getUse(o.contains,t._reporterState.obj)._decode(h,e)}}return o.obj&&s&&(i=t.leaveObject(n)),null===o.key||null===i&&!0!==s?null!==a&&t.exitKey(a):t.leaveKey(a,o.key,i),i},p.prototype._decodeGeneric=function(t,e,o){var n=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,n.args[0],o):/str$/.test(t)?this._decodeStr(e,t,o):"objid"===t&&n.args?this._decodeObjid(e,n.args[0],n.args[1],o):"objid"===t?this._decodeObjid(e,null,null,o):"gentime"===t||"utctime"===t?this._decodeTime(e,t,o):"null_"===t?this._decodeNull(e,o):"bool"===t?this._decodeBool(e,o):"objDesc"===t?this._decodeStr(e,t,o):"int"===t||"enum"===t?this._decodeInt(e,n.args&&n.args[0],o):null!==n.use?this._getUse(n.use,e._reporterState.obj)._decode(e,o):e.error("unknown tag: "+t)},p.prototype._getUse=function(t,e){var o=this._baseState;return o.useDecoder=this._use(t,e),s(null===o.useDecoder._baseState.parent),o.useDecoder=o.useDecoder._baseState.children[0],o.implicit!==o.useDecoder._baseState.implicit&&(o.useDecoder=o.useDecoder.clone(),o.useDecoder._baseState.implicit=o.implicit),o.useDecoder},p.prototype._decodeChoice=function(t,e){var o=this._baseState,n=null,i=!1;return Object.keys(o.choice).some((function(r){var s=t.save(),a=o.choice[r];try{var l=a._decode(t,e);if(t.isError(l))return!1;n={type:r,value:l},i=!0}catch(e){return t.restore(s),!1}return!0}),this),i?n:t.error("Choice not matched")},p.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},p.prototype._encode=function(t,e,o){var n=this._baseState;if(null===n.default||n.default!==t){var i=this._encodeValue(t,e,o);if(void 0!==i&&!this._skipDefault(i,e,o))return i}},p.prototype._encodeValue=function(t,e,o){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new n);var r=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}var s=null,a=!1;if(i.any)r=this._createEncoderBuffer(t);else if(i.choice)r=this._encodeChoice(t,e);else if(i.contains)s=this._getUse(i.contains,o)._encode(t,e),a=!0;else if(i.children)s=i.children.map((function(o){if("null_"===o._baseState.tag)return o._encode(null,e,t);if(null===o._baseState.key)return e.error("Child should have a key");var n=e.enterKey(o._baseState.key);if("object"!=typeof t)return e.error("Child expected, but input is not object");var i=o._encode(t[o._baseState.key],e,t);return e.leaveKey(n),i}),this).filter((function(t){return t})),s=this._createEncoderBuffer(s);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,s=this._createEncoderBuffer(t.map((function(o){var n=this._baseState;return this._getUse(n.args[0],t)._encode(o,e)}),l))}else null!==i.use?r=this._getUse(i.use,o)._encode(t,e):(s=this._encodePrimitive(i.tag,t),a=!0);if(!i.any&&null===i.choice){var p=null!==i.implicit?i.implicit:i.tag,u=null===i.implicit?"universal":"context";null===p?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(r=this._encodeComposite(p,a,u,s))}return null!==i.explicit&&(r=this._encodeComposite(i.explicit,!1,"context",r)),r},p.prototype._encodeChoice=function(t,e){var o=this._baseState,n=o.choice[t.type];return n||s(!1,t.type+" not found in "+JSON.stringify(Object.keys(o.choice))),n._encode(t.value,e)},p.prototype._encodePrimitive=function(t,e){var o=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&o.args)return this._encodeObjid(e,o.reverseArgs[0],o.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,o.args&&o.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},p.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},p.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(t)}},37789:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.STRING_PROPERTIES=["sortingOrder","rowClass","rowSelection","overlayLoadingTemplate","overlayNoRowsTemplate","quickFilterText","rowModelType","editType","domLayout","clipboardDeliminator","rowGroupPanelShow","multiSortKey","pivotColumnGroupTotals","pivotRowTotals","pivotPanelShow"],t.OBJECT_PROPERTIES=["components","frameworkComponents","rowStyle","context","autoGroupColumnDef","groupColumnDef","localeText","icons","datasource","serverSideDatasource","viewportDatasource","groupRowRendererParams","aggFuncs","fullWidthCellRendererParams","defaultColGroupDef","defaultColDef","defaultExportParams","columnTypes","rowClassRules","detailGridOptions","detailCellRendererParams","loadingCellRendererParams","loadingOverlayComponentParams","noRowsOverlayComponentParams","popupParent","colResizeDefault","reduxStore","statusBar","sideBar"],t.ARRAY_PROPERTIES=["slaveGrids","alignedGrids","rowData","columnDefs","excelStyles","pinnedTopRowData","pinnedBottomRowData"],t.NUMBER_PROPERTIES=["rowHeight","detailRowHeight","rowBuffer","colWidth","headerHeight","groupHeaderHeight","floatingFiltersHeight","pivotHeaderHeight","pivotGroupHeaderHeight","groupDefaultExpanded","minColWidth","maxColWidth","viewportRowModelPageSize","viewportRowModelBufferSize","autoSizePadding","maxBlocksInCache","maxConcurrentDatasourceRequests","cacheOverflowSize","paginationPageSize","cacheBlockSize","infiniteInitialRowCount","scrollbarWidth","paginationStartPage","infiniteBlockSize","batchUpdateWaitMillis","blockLoadDebounceMillis"],t.BOOLEAN_PROPERTIES=["toolPanelSuppressRowGroups","toolPanelSuppressValues","toolPanelSuppressPivots","toolPanelSuppressPivotMode","toolPanelSuppressSideButtons","toolPanelSuppressColumnFilter","toolPanelSuppressColumnSelectAll","toolPanelSuppressColumnExpandAll","suppressMakeColumnVisibleAfterUnGroup","suppressRowClickSelection","suppressCellSelection","suppressHorizontalScroll","debug","enableBrowserTooltips","enableColResize","enableCellExpressions","enableSorting","enableServerSideSorting","enableFilter","enableServerSideFilter","angularCompileRows","angularCompileFilters","angularCompileHeaders","groupSuppressAutoColumn","groupSelectsChildren","groupIncludeFooter","groupIncludeTotalFooter","groupUseEntireRow","groupSuppressRow","groupSuppressBlankHeader","forPrint","suppressMenuHide","rowDeselection","unSortIcon","suppressMultiSort","singleClickEdit","suppressLoadingOverlay","suppressNoRowsOverlay","suppressAutoSize","suppressParentsInRowNodes","showToolPanel","suppressColumnMoveAnimation","suppressMovableColumns","suppressFieldDotNotation","enableRangeSelection","deltaSort","suppressTouch","suppressAsyncEvents","allowContextMenuWithControlKey","suppressContextMenu","suppressMenuFilterPanel","suppressMenuMainPanel","suppressMenuColumnPanel","rememberGroupStateWhenNewData","enableCellChangeFlash","suppressDragLeaveHidesColumns","suppressMiddleClickScrolls","suppressPreventDefaultOnMouseWheel","suppressUseColIdForGroups","suppressCopyRowsToClipboard","copyHeadersToClipboard","pivotMode","suppressAggFuncInHeader","suppressColumnVirtualisation","suppressAggAtRootLevel","suppressFocusAfterRefresh","functionsPassive","functionsReadOnly","animateRows","groupSelectsFiltered","groupRemoveSingleChildren","groupRemoveLowestSingleChildren","enableRtl","suppressClickEdit","rowDragManaged","suppressRowDrag","enableGroupEdit","embedFullWidthRows","deprecatedEmbedFullWidthRows","suppressTabbing","suppressPaginationPanel","floatingFilter","groupHideOpenParents","groupMultiAutoColumn","pagination","stopEditingWhenGridLosesFocus","paginationAutoPageSize","suppressScrollOnNewData","purgeClosedRowNodes","cacheQuickFilter","deltaRowDataMode","ensureDomOrder","accentedSort","pivotTotals","suppressChangeDetection","valueCache","valueCacheNeverExpires","aggregateOnlyChangedColumns","suppressAnimationFrame","suppressExcelExport","suppressCsvExport","treeData","masterDetail","suppressMultiRangeSelection","enterMovesDownAfterEdit","enterMovesDown","suppressPropertyNamesCheck","rowMultiSelectWithClick","contractColumnSelection","suppressEnterpriseResetOnNewColumns","enableOldSetFilterModel","suppressRowHoverHighlight","gridAutoHeight","suppressRowTransform","suppressClipboardPaste","serverSideSortingAlwaysResets","reactNext","suppressSetColumnStateEvents","enableCharts","deltaColumnMode","suppressMaintainUnsortedOrder","enableCellTextSelection","suppressBrowserResizeObserver","suppressMaxRenderedRowRestriction","excludeChildrenWhenTreeDataFiltering"],t.FUNCTION_PROPERTIES=["localeTextFunc","groupRowInnerRenderer","groupRowInnerRendererFramework","dateComponent","dateComponentFramework","groupRowRenderer","groupRowRendererFramework","isExternalFilterPresent","getRowHeight","doesExternalFilterPass","getRowClass","getRowStyle","getRowClassRules","traverseNode","getContextMenuItems","getMainMenuItems","processRowPostCreate","processCellForClipboard","getNodeChildDetails","groupRowAggNodes","getRowNodeId","isFullWidthCell","fullWidthCellRenderer","fullWidthCellRendererFramework","doesDataFlower","processSecondaryColDef","processSecondaryColGroupDef","getBusinessKeyForNode","sendToClipboard","navigateToNextCell","tabToNextCell","getDetailRowData","processCellFromClipboard","getDocument","postProcessPopup","getChildCount","getDataPath","loadingCellRenderer","loadingCellRendererFramework","loadingOverlayComponent","loadingOverlayComponentFramework","noRowsOverlayComponent","noRowsOverlayComponentFramework","detailCellRenderer","detailCellRendererFramework","onGridReady","defaultGroupSortComparator","isRowMaster","isRowSelectable","postSort","processHeaderForClipboard","paginationNumberFormatter","processDataFromClipboard","getServerSideGroupKey","isServerSideGroup","suppressKeyboardEvent"],t.ALL_PROPERTIES=t.ARRAY_PROPERTIES.concat(t.OBJECT_PROPERTIES).concat(t.STRING_PROPERTIES).concat(t.NUMBER_PROPERTIES).concat(t.FUNCTION_PROPERTIES).concat(t.BOOLEAN_PROPERTIES),t.FRAMEWORK_PROPERTIES=["__ob__","__metadata__","mappedColumnProperties","hasChildColumns","toColDef","createColDefFromGridColumn"],t}();e.PropertyKeys=o},38152:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(26016),s=o(8534),a=o(45727),l=o(83423),p=function(t){function e(e,o,n,i){var r=t.call(this)||this;return r.columnOrGroup=e,r.eCell=o,r.colsSpanning=i,r.beans=n,r.printLayout=n.gridOptionsWrapper.getDomLayout()===a.Constants.DOM_LAYOUT_PRINT,r}return i(e,t),e.prototype.setColsSpanning=function(t){this.colsSpanning=t,this.onLeftChanged()},e.prototype.getColumnOrGroup=function(){return this.beans.gridOptionsWrapper.isEnableRtl()&&this.colsSpanning?this.colsSpanning[this.colsSpanning.length-1]:this.columnOrGroup},e.prototype.init=function(){this.addDestroyableEventListener(this.columnOrGroup,r.Column.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.setLeftFirstTime()},e.prototype.setLeftFirstTime=function(){var t=this.beans.gridOptionsWrapper.isSuppressColumnMoveAnimation(),e=l._.exists(this.columnOrGroup.getOldLeft());this.beans.columnAnimationService.isActive()&&e&&!t?this.animateInLeft():this.onLeftChanged()},e.prototype.animateInLeft=function(){var t=this,e=this.getColumnOrGroup().getLeft(),o=this.getColumnOrGroup().getOldLeft();this.setLeft(o),this.actualLeft=e,this.beans.columnAnimationService.executeNextVMTurn((function(){t.actualLeft===e&&t.setLeft(e)}))},e.prototype.onLeftChanged=function(){var t=this.getColumnOrGroup(),e=t.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(t,e),this.setLeft(this.actualLeft)},e.prototype.modifyLeftForPrintLayout=function(t,e){return this.printLayout?t.getPinned()===r.Column.PINNED_LEFT?e:t.getPinned()===r.Column.PINNED_RIGHT?this.beans.columnController.getPinnedLeftContainerWidth()+this.beans.columnController.getBodyContainerWidth()+e:this.beans.columnController.getPinnedLeftContainerWidth()+e:e},e.prototype.setLeft=function(t){l._.exists(t)&&(this.eCell.style.left=t+"px")},e}(s.BeanStub);e.SetLeftFeature=p},38427:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(45727),a=o(98239),l=o(3976),p=o(34782),u=o(44081),c=o(50580),d=o(83423),h=function(){function t(){}return t.prototype.getNextCellToFocus=function(t,e){for(var o=e,n=!1;!n;){switch(t){case s.Constants.KEY_UP:o=this.getCellAbove(o);break;case s.Constants.KEY_DOWN:o=this.getCellBelow(o);break;case s.Constants.KEY_RIGHT:o=this.gridOptionsWrapper.isEnableRtl()?this.getCellToLeft(o):this.getCellToRight(o);break;case s.Constants.KEY_LEFT:o=this.gridOptionsWrapper.isEnableRtl()?this.getCellToRight(o):this.getCellToLeft(o);break;default:o=null,console.warn("ag-Grid: unknown key for navigation "+t)}n=!o||this.isCellGoodToFocusOn(o)}return o},t.prototype.isCellGoodToFocusOn=function(t){var e,o=t.column;switch(t.floating){case s.Constants.PINNED_TOP:e=this.pinnedRowModel.getPinnedTopRow(t.rowIndex);break;case s.Constants.PINNED_BOTTOM:e=this.pinnedRowModel.getPinnedBottomRow(t.rowIndex);break;default:e=this.rowModel.getRow(t.rowIndex)}return!o.isSuppressNavigable(e)},t.prototype.getCellToLeft=function(t){if(!t)return null;var e=this.columnController.getDisplayedColBefore(t.column);if(e){var o={rowIndex:t.rowIndex,column:e,floating:t.floating};return new p.GridCell(o)}return null},t.prototype.getCellToRight=function(t){if(!t)return null;var e=this.columnController.getDisplayedColAfter(t.column);if(e){var o={rowIndex:t.rowIndex,column:e,floating:t.floating};return new p.GridCell(o)}return null},t.prototype.getRowBelow=function(t){return this.isLastRowInContainer(t)?t.isFloatingBottom()?null:t.isNotFloating()?this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_BOTTOM)?new l.GridRow(0,s.Constants.PINNED_BOTTOM):null:this.rowModel.isRowsToRender()?new l.GridRow(0,null):this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_BOTTOM)?new l.GridRow(0,s.Constants.PINNED_BOTTOM):null:new l.GridRow(t.rowIndex+1,t.floating)},t.prototype.getCellBelow=function(t){if(!t)return null;var e=this.getRowBelow(t.getGridRow());if(e){var o={rowIndex:e.rowIndex,column:t.column,floating:e.floating};return new p.GridCell(o)}return null},t.prototype.isLastRowInContainer=function(t){return t.isFloatingTop()?this.pinnedRowModel.getPinnedTopRowData().length-1<=t.rowIndex:t.isFloatingBottom()?this.pinnedRowModel.getPinnedBottomRowData().length-1<=t.rowIndex:this.rowModel.getPageLastRow()<=t.rowIndex},t.prototype.getRowAbove=function(t){return 0===t.rowIndex?t.isFloatingTop()?null:t.isNotFloating()?this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_TOP)?this.getLastFloatingTopRow():null:this.rowModel.isRowsToRender()?this.getLastBodyCell():this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_TOP)?this.getLastFloatingTopRow():null:new l.GridRow(t.rowIndex-1,t.floating)},t.prototype.getCellAbove=function(t){if(!t)return null;var e=this.getRowAbove(t.getGridRow());if(e){var o={rowIndex:e.rowIndex,column:t.column,floating:e.floating};return new p.GridCell(o)}return null},t.prototype.getLastBodyCell=function(){var t=this.rowModel.getPageLastRow();return new l.GridRow(t,null)},t.prototype.getLastFloatingTopRow=function(){var t=this.pinnedRowModel.getPinnedTopRowData().length-1;return new l.GridRow(t,s.Constants.PINNED_TOP)},t.prototype.getNextTabbedCell=function(t,e){return e?this.getNextTabbedCellBackwards(t):this.getNextTabbedCellForwards(t)},t.prototype.getNextTabbedCellForwards=function(t){var e=this.columnController.getAllDisplayedColumns(),o=t.rowIndex,n=t.floating,i=this.columnController.getDisplayedColAfter(t.column);if(!i){i=e[0];var r=this.getRowBelow(t.getGridRow());if(d._.missing(r))return null;o=r?r.rowIndex:null,n=r?r.floating:null}var s={rowIndex:o,column:i,floating:n};return new p.GridCell(s)},t.prototype.getNextTabbedCellBackwards=function(t){var e=this.columnController.getAllDisplayedColumns(),o=t.rowIndex,n=t.floating,i=this.columnController.getDisplayedColBefore(t.column);if(!i){i=e[e.length-1];var r=this.getRowAbove(t.getGridRow());if(d._.missing(r))return null;o=r?r.rowIndex:null,n=r?r.floating:null}var s={rowIndex:o,column:i,floating:n};return new p.GridCell(s)},n([r.Autowired("columnController"),i("design:type",a.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([r.Autowired("pinnedRowModel"),i("design:type",c.PinnedRowModel)],t.prototype,"pinnedRowModel",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",u.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Bean("cellNavigationService")],t)}();e.CellNavigationService=h},39418:t=>{t.exports=function(t,e){var o=t.length,n=t.indexOf(e)+1;return n>o-1&&(n=0),t[n]}},39984:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(73575),a=o(85910),l=o(44081),p=o(44871),u=o(40797),c=o(83423),d=function(){function t(){this.DEFAULT_HIDE_TOOLTIP_TIMEOUT=1e4,this.MOUSEOUT_HIDE_TOOLTIP_TIMEOUT=1e3,this.MOUSEOVER_SHOW_TOOLTIP_TIMEOUT=2e3,this.HIDE_SHOW_ONLY=!0,this.showTimeoutId=0,this.hideTimeoutId=0,this.registeredComponents={}}return t.prototype.registerTooltip=function(t){var e=this,o=t.getGui(),n=t.getCompId();t.addDestroyableEventListener(o,"mouseover",(function(o){return e.processMouseOver(o,t)})),t.addDestroyableEventListener(o,"mousemove",(function(t){return e.processMouseMove(t)})),t.addDestroyableEventListener(o,"mousedown",this.hideTooltip.bind(this)),t.addDestroyableEventListener(o,"mouseout",this.processMouseOut.bind(this)),this.registeredComponents[n]={tooltipComp:void 0,destroyFunc:void 0},t.addDestroyFunc((function(){return e.unregisterTooltip(t)}))},t.prototype.unregisterTooltip=function(t){var e=t.getCompId();this.activeComponent===t&&this.hideTooltip(),delete this.registeredComponents[e]},t.prototype.processMouseOver=function(t,e){var o=this.MOUSEOVER_SHOW_TOOLTIP_TIMEOUT;if(this.activeComponent){if(this.lastHoveredComponent===this.activeComponent)return;o=200}else if(this.showTimeoutId&&this.lastHoveredComponent===e)return;this.clearTimers(this.HIDE_SHOW_ONLY),this.lastHoveredComponent!==e&&(this.lastHoveredComponent=e,this.lastMouseEvent=t,this.showTimeoutId=window.setTimeout(this.showTooltip.bind(this),o,t))},t.prototype.processMouseOut=function(t){var e=this.activeComponent,o=t.relatedTarget;if(e){if(!e.getGui().contains(o)){var n=this.registeredComponents[e.getCompId()];c._.addCssClass(n.tooltipComp.getGui(),"ag-tooltip-hiding"),this.lastHoveredComponent=void 0,this.clearTimers(),this.hideTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.MOUSEOUT_HIDE_TOOLTIP_TIMEOUT)}}else{if(this.lastHoveredComponent){var i=this.lastHoveredComponent.getGui().contains(o);if(this.showTimeoutId&&i)return;i||(this.lastHoveredComponent=void 0)}this.clearTimers()}},t.prototype.processMouseMove=function(t){this.lastMouseEvent=t},t.prototype.showTooltip=function(t){var e=this.lastHoveredComponent,o=e,n=this.registeredComponents[e.getCompId()];this.hideTooltip();var i={api:this.gridApi,columnApi:this.columnApi,colDef:e.getComponentHolder(),column:o.getColumn&&o.getColumn(),context:this.gridOptionsWrapper.getContext(),rowIndex:o.getGridCell&&o.getGridCell().rowIndex,value:e.getTooltipText()};this.createTooltipComponent(i,n,t)},t.prototype.createTooltipComponent=function(t,e,o){var n=this;this.userComponentFactory.newTooltipComponent(t).then((function(t){if(e){e.tooltipComp=t;var o=t.getGui(),i=n.popupService.addPopup(!1,o,!1);e.destroyFunc=function(){i(),t.destroy&&t.destroy()},n.popupService.positionPopupUnderMouseEvent({type:"tooltip",mouseEvent:n.lastMouseEvent,ePopup:o,nudgeY:18}),n.activeComponent=n.lastHoveredComponent,n.hideTimeoutId=window.setTimeout(n.hideTooltip.bind(n),n.DEFAULT_HIDE_TOOLTIP_TIMEOUT)}}))},t.prototype.hideTooltip=function(){var t=this.activeComponent;if(this.clearTimers(),t){var e=t.getCompId(),o=this.registeredComponents[e];this.activeComponent=void 0,o&&(o.destroyFunc&&o.destroyFunc(),this.clearRegisteredComponent(o))}},t.prototype.clearRegisteredComponent=function(t){delete t.destroyFunc,delete t.tooltipComp},t.prototype.clearTimers=function(t){void 0===t&&(t=!1),this.hideTimeoutId&&!t&&(window.clearTimeout(this.hideTimeoutId),this.hideTimeoutId=0),this.showTimeoutId&&(window.clearTimeout(this.showTimeoutId),this.showTimeoutId=0)},n([r.Autowired("popupService"),i("design:type",s.PopupService)],t.prototype,"popupService",void 0),n([r.Autowired("userComponentFactory"),i("design:type",a.UserComponentFactory)],t.prototype,"userComponentFactory",void 0),n([r.Autowired("columnApi"),i("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),n([r.Autowired("gridApi"),i("design:type",u.GridApi)],t.prototype,"gridApi",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Bean("tooltipManager")],t)}();e.TooltipManager=d},40634:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(37132),a=o(72493),l=o(72493),p=function(){function t(){this.expressionToFunctionCache={}}return t.prototype.setBeans=function(t){this.logger=t.create("ExpressionService")},t.prototype.evaluate=function(t,e){if("function"==typeof t)return t(e);if("string"==typeof t){var o=t;return this.evaluateExpression(o,e)}console.error("ag-Grid: value should be either a string or a function",t)},t.prototype.evaluateExpression=function(t,e){try{return this.createExpressionFunction(t)(e.value,e.context,e.oldValue,e.newValue,e.value,e.node,e.data,e.colDef,e.rowIndex,e.api,e.columnApi,e.getValue,e.column,e.columnGroup)}catch(e){return console.log("Processing of the expression failed"),console.log("Expression = "+t),console.log("Exception = "+e),null}},t.prototype.createExpressionFunction=function(t){if(this.expressionToFunctionCache[t])return this.expressionToFunctionCache[t];var e=this.createFunctionBody(t),o=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, columnApi, getValue, column, columnGroup",e);return this.expressionToFunctionCache[t]=o,o},t.prototype.createFunctionBody=function(t){return t.indexOf("return")>=0?t:"return "+t+";"},n([r(0,l.Qualifier("loggerFactory")),i("design:type",Function),i("design:paramtypes",[s.LoggerFactory]),i("design:returntype",void 0)],t.prototype,"setBeans",null),n([a.Bean("expressionService")],t)}();e.ExpressionService=p},40706:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(72493),a=o(58342),l=o(98239),p=o(60843),u=o(63405),c=o(15774),d=o(69992),h=o(26016),f=o(13887),g=o(83423),y=function(){function t(t,e,o){this.headerRowComps=[],this.eContainer=t,this.pinned=o,this.eViewport=e}return t.prototype.registerGridComp=function(t){this.setupDragAndDrop(t)},t.prototype.forEachHeaderElement=function(t){this.headerRowComps.forEach((function(e){return e.forEachHeaderElement(t)}))},t.prototype.init=function(){this.scrollWidth=this.gridOptionsWrapper.getScrollbarWidth(),this.eventService.addEventListener(u.Events.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.eventService.addEventListener(u.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this))},t.prototype.onColumnRowGroupChanged=function(){this.onGridColumnsChanged()},t.prototype.onColumnValueChanged=function(){this.onGridColumnsChanged()},t.prototype.onColumnResized=function(){this.setWidthOfPinnedContainer()},t.prototype.onDisplayedColumnsChanged=function(){this.setWidthOfPinnedContainer()},t.prototype.onScrollVisibilityChanged=function(){this.setWidthOfPinnedContainer()},t.prototype.setWidthOfPinnedContainer=function(){var t=this.pinned===h.Column.PINNED_LEFT,e=this.pinned===h.Column.PINNED_RIGHT,o=this.columnController,n=this.gridOptionsWrapper.isEnableRtl();if(t||e){var i=o[t?"getPinnedLeftContainerWidth":"getPinnedRightContainerWidth"]();this.scrollVisibleService.isVerticalScrollShowing()&&(n&&t||!n&&e)&&(i+=this.scrollWidth),g._.setFixedWidth(this.eContainer,i)}},t.prototype.destroy=function(){this.removeHeaderRowComps()},t.prototype.onGridColumnsChanged=function(){this.removeAndCreateAllRowComps()},t.prototype.removeAndCreateAllRowComps=function(){this.removeHeaderRowComps(),this.createHeaderRowComps()},t.prototype.refresh=function(){this.removeAndCreateAllRowComps()},t.prototype.setupDragAndDrop=function(t){var e=this.eViewport?this.eViewport:this.eContainer,o=new d.BodyDropTarget(this.pinned,e);this.context.wireBean(o),o.registerGridComp(t)},t.prototype.removeHeaderRowComps=function(){this.headerRowComps.forEach((function(t){t.destroy()})),this.headerRowComps.length=0,g._.clearElement(this.eContainer)},t.prototype.createHeaderRowComps=function(){for(var t=this.columnController.getHeaderRowCount(),e=0;e<t;e++){var o=e!==t-1?c.HeaderRowType.COLUMN_GROUP:c.HeaderRowType.COLUMN,n=new c.HeaderRowComp(e,o,this.pinned,this.dropTarget);this.context.wireBean(n),this.headerRowComps.push(n),this.eContainer.appendChild(n.getGui())}this.gridOptionsWrapper.isFloatingFilter()&&!this.columnController.isPivotMode()&&(n=new c.HeaderRowComp(t,c.HeaderRowType.FLOATING_FILTER,this.pinned,this.dropTarget),this.context.wireBean(n),this.headerRowComps.push(n),this.eContainer.appendChild(n.getGui()))},n([s.Autowired("gridOptionsWrapper"),i("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Autowired("context"),i("design:type",s.Context)],t.prototype,"context",void 0),n([s.Autowired("$scope"),i("design:type",Object)],t.prototype,"$scope",void 0),n([s.Autowired("dragAndDropService"),i("design:type",a.DragAndDropService)],t.prototype,"dragAndDropService",void 0),n([s.Autowired("columnController"),i("design:type",l.ColumnController)],t.prototype,"columnController",void 0),n([s.Autowired("eventService"),i("design:type",p.EventService)],t.prototype,"eventService",void 0),n([s.Autowired("scrollVisibleService"),i("design:type",f.ScrollVisibleService)],t.prototype,"scrollVisibleService",void 0),n([s.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),t}();e.HeaderContainer=y},40797:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(43460),s=o(10042),a=o(55e3),l=o(98239),p=o(54828),u=o(44081),c=o(24463),d=o(60843),h=o(45727),f=o(72493),g=o(86608),y=o(42195),v=o(34782),m=o(34470),C=o(41451),E=o(76133),w=o(88842),_=o(10190),R=o(50580),S=o(69065),O=o(83423),T=function(){function t(){this.detailGridInfoMap={}}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.registerGridCore=function(t){this.gridCore=t},t.prototype.registerHeaderRootComp=function(t){this.headerRootComp=t},t.prototype.init=function(){switch(this.rowModel.getType()){case h.Constants.ROW_MODEL_TYPE_CLIENT_SIDE:this.clientSideRowModel=this.rowModel;break;case h.Constants.ROW_MODEL_TYPE_INFINITE:this.infinitePageRowModel=this.rowModel;break;case h.Constants.ROW_MODEL_TYPE_SERVER_SIDE:this.serverSideRowModel=this.rowModel}},t.prototype.__getAlignedGridService=function(){return this.alignedGridsService},t.prototype.addDetailGridInfo=function(t,e){this.detailGridInfoMap[t]=e},t.prototype.removeDetailGridInfo=function(t){this.detailGridInfoMap[t]=void 0},t.prototype.getDetailGridInfo=function(t){return this.detailGridInfoMap[t]},t.prototype.forEachDetailGridInfo=function(t){var e=0;O._.iterateObject(this.detailGridInfoMap,(function(o,n){O._.exists(n)&&(t(n,e),e++)}))},t.prototype.getDataAsCsv=function(t){return this.csvCreator.getDataAsCsv(t)},t.prototype.exportDataAsCsv=function(t){this.csvCreator.exportDataAsCsv(t)},t.prototype.getDataAsExcel=function(t){return this.excelCreator||console.warn("ag-Grid: Excel export is only available in ag-Grid Enterprise"),this.excelCreator.getDataAsExcelXml(t)},t.prototype.exportDataAsExcel=function(t){this.excelCreator||console.warn("ag-Grid: Excel export is only available in ag-Grid Enterprise"),this.excelCreator.exportDataAsExcel(t)},t.prototype.setEnterpriseDatasource=function(t){console.warn("ag-grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()"),this.setServerSideDatasource(t)},t.prototype.setServerSideDatasource=function(t){this.gridOptionsWrapper.isRowModelServerSide()?this.rowModel.setDatasource(t):console.warn("ag-Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '"+h.Constants.ROW_MODEL_TYPE_SERVER_SIDE+"'")},t.prototype.setDatasource=function(t){this.gridOptionsWrapper.isRowModelInfinite()?this.rowModel.setDatasource(t):console.warn("ag-Grid: you can only use a datasource when gridOptions.rowModelType is '"+h.Constants.ROW_MODEL_TYPE_INFINITE+"'")},t.prototype.setViewportDatasource=function(t){this.gridOptionsWrapper.isRowModelViewport()?this.rowModel.setViewportDatasource(t):console.warn("ag-Grid: you can only use a viewport datasource when gridOptions.rowModelType is '"+h.Constants.ROW_MODEL_TYPE_VIEWPORT+"'")},t.prototype.setRowData=function(t){if(this.gridOptionsWrapper.isRowModelDefault())if(this.gridOptionsWrapper.isDeltaRowDataMode()){var e=this.immutableService.createTransactionForRowData(t),o=e[0],n=e[1];this.clientSideRowModel.updateRowData(o,n),this.rowRenderer.refreshFullWidthRows()}else this.selectionController.reset(),this.clientSideRowModel.setRowData(t);else console.warn("cannot call setRowData unless using normal row model")},t.prototype.setFloatingTopRowData=function(t){console.warn("ag-Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()"),this.setPinnedTopRowData(t)},t.prototype.setFloatingBottomRowData=function(t){console.warn("ag-Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()"),this.setPinnedBottomRowData(t)},t.prototype.getFloatingTopRowCount=function(){return console.warn("ag-Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()"),this.getPinnedTopRowCount()},t.prototype.getFloatingBottomRowCount=function(){return console.warn("ag-Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()"),this.getPinnedBottomRowCount()},t.prototype.getFloatingTopRow=function(t){return console.warn("ag-Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()"),this.getPinnedTopRow(t)},t.prototype.getFloatingBottomRow=function(t){return console.warn("ag-Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()"),this.getPinnedBottomRow(t)},t.prototype.setPinnedTopRowData=function(t){this.pinnedRowModel.setPinnedTopRowData(t)},t.prototype.setPinnedBottomRowData=function(t){this.pinnedRowModel.setPinnedBottomRowData(t)},t.prototype.getPinnedTopRowCount=function(){return this.pinnedRowModel.getPinnedTopRowCount()},t.prototype.getPinnedBottomRowCount=function(){return this.pinnedRowModel.getPinnedBottomRowCount()},t.prototype.getPinnedTopRow=function(t){return this.pinnedRowModel.getPinnedTopRow(t)},t.prototype.getPinnedBottomRow=function(t){return this.pinnedRowModel.getPinnedBottomRow(t)},t.prototype.setColumnDefs=function(t,e){void 0===e&&(e="api"),this.columnController.setColumnDefs(t,e)},t.prototype.expireValueCache=function(){this.valueCache.expire()},t.prototype.getVerticalPixelRange=function(){return this.gridPanel.getVScrollPosition()},t.prototype.getHorizontalPixelRange=function(){return this.gridPanel.getHScrollPosition()},t.prototype.setAlwaysShowVerticalScroll=function(t){this.gridOptionsWrapper.setProperty("alwaysShowVerticalScroll",t)},t.prototype.refreshToolPanel=function(){this.gridCore.refreshSideBar()},t.prototype.refreshCells=function(t){void 0===t&&(t={}),Array.isArray(t)?console.warn("since ag-Grid v11.1, refreshCells() now takes parameters, please see the documentation."):this.rowRenderer.refreshCells(t)},t.prototype.flashCells=function(t){void 0===t&&(t={}),this.rowRenderer.flashCells(t)},t.prototype.redrawRows=function(t){void 0===t&&(t={}),t&&t.rowNodes?this.rowRenderer.redrawRows(t.rowNodes):this.rowRenderer.redrawAfterModelUpdate()},t.prototype.timeFullRedraw=function(t){void 0===t&&(t=1);var e=0,o=0,n=0,i=this;!function r(){var s=(new Date).getTime();i.rowRenderer.redrawAfterModelUpdate();var a=(new Date).getTime();window.setTimeout((function(){var i=(new Date).getTime(),l=a-s,p=i-a;console.log("duration: processing = "+l+"ms, reflow = "+p+"ms"),e++,o+=l,n+=p,e<t?window.setTimeout(r,1e3):(console.log("tests complete. iteration count = "+e),console.log("average processing = "+o/e+"ms"),console.log("average reflow = "+n/e+"ms"))}),0)}()},t.prototype.refreshView=function(){console.warn("ag-Grid: since v11.1, refreshView() is deprecated, please call refreshCells() or redrawRows() instead"),this.redrawRows()},t.prototype.refreshRows=function(t){console.warn("since ag-Grid v11.1, refreshRows() is deprecated, please use refreshCells({rowNodes: rows}) or redrawRows({rowNodes: rows}) instead"),this.refreshCells({rowNodes:t})},t.prototype.rowDataChanged=function(t){console.warn("ag-Grid: rowDataChanged is deprecated, either call refreshView() to refresh everything, or call rowNode.setRowData(newData) to set value on a particular node"),this.redrawRows()},t.prototype.softRefreshView=function(){console.error("ag-Grid: since v16, softRefreshView() is no longer supported. Please check the documentation on how to refresh.")},t.prototype.refreshGroupRows=function(){console.warn("ag-Grid: since v11.1, refreshGroupRows() is no longer supported, call refreshCells() instead. Because refreshCells() now does dirty checking, it will only refresh cells that have changed, so it should not be necessary to only refresh the group rows."),this.refreshCells()},t.prototype.setFunctionsReadOnly=function(t){this.gridOptionsWrapper.setProperty("functionsReadOnly",t)},t.prototype.refreshHeader=function(){this.headerRootComp.refreshHeader(),this.gridPanel.setHeaderAndFloatingHeights()},t.prototype.isAnyFilterPresent=function(){return this.filterManager.isAnyFilterPresent()},t.prototype.isAdvancedFilterPresent=function(){return console.warn("ag-Grid: isAdvancedFilterPresent() is deprecated, please use isColumnFilterPresent()"),this.isColumnFilterPresent()},t.prototype.isColumnFilterPresent=function(){return this.filterManager.isAdvancedFilterPresent()},t.prototype.isQuickFilterPresent=function(){return this.filterManager.isQuickFilterPresent()},t.prototype.getModel=function(){return this.rowModel},t.prototype.onGroupExpandedOrCollapsed=function(t){O._.missing(this.clientSideRowModel)&&console.warn("ag-Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model"),O._.exists(t)&&console.warn("ag-Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows"),this.clientSideRowModel.refreshModel({step:h.Constants.STEP_MAP})},t.prototype.refreshInMemoryRowModel=function(t){console.warn("ag-grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()"),this.refreshClientSideRowModel(t)},t.prototype.refreshClientSideRowModel=function(t){O._.missing(this.clientSideRowModel)&&console.warn("cannot call refreshClientSideRowModel unless using normal row model");var e=h.Constants.STEP_EVERYTHING,o={group:h.Constants.STEP_EVERYTHING,filter:h.Constants.STEP_FILTER,map:h.Constants.STEP_MAP,aggregate:h.Constants.STEP_AGGREGATE,sort:h.Constants.STEP_SORT,pivot:h.Constants.STEP_PIVOT};if(O._.exists(t)&&(e=o[t]),O._.missing(e))console.error("ag-Grid: invalid step "+t+", available steps are "+Object.keys(o).join(", "));else{var n={step:e,keepRenderedRows:!0,animate:!0,keepEditingRows:!0};this.clientSideRowModel.refreshModel(n)}},t.prototype.isAnimationFrameQueueEmpty=function(){return this.animationFrameService.isQueueEmpty()},t.prototype.getRowNode=function(t){return this.rowModel.getRowNode(t)},t.prototype.expandAll=function(){O._.missing(this.clientSideRowModel)?console.warn("ag-Grid: cannot call expandAll unless using normal row model"):this.clientSideRowModel.expandOrCollapseAll(!0)},t.prototype.collapseAll=function(){O._.missing(this.clientSideRowModel)?console.warn("ag-Grid: cannot call collapseAll unless using normal row model"):this.clientSideRowModel.expandOrCollapseAll(!1)},t.prototype.addVirtualRowListener=function(t,e,o){"string"!=typeof t&&console.warn("ag-Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener."),this.addRenderedRowListener(t,e,o)},t.prototype.addRenderedRowListener=function(t,e,o){"virtualRowSelected"===t&&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(t,e,o)},t.prototype.setQuickFilter=function(t){this.filterManager.setQuickFilter(t)},t.prototype.selectIndex=function(t,e,o){console.warn("ag-Grid: do not use api for selection, call node.setSelected(value) instead"),o&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),this.selectionController.selectIndex(t,e)},t.prototype.deselectIndex=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: do not use api for selection, call node.setSelected(value) instead"),e&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),this.selectionController.deselectIndex(t)},t.prototype.selectNode=function(t,e,o){void 0===e&&(e=!1),void 0===o&&(o=!1),console.warn("ag-Grid: API for selection is deprecated, call node.setSelected(value) instead"),o&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),t.setSelectedParams({newValue:!0,clearSelection:!e})},t.prototype.deselectNode=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: API for selection is deprecated, call node.setSelected(value) instead"),e&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),t.setSelectedParams({newValue:!1})},t.prototype.selectAll=function(){this.selectionController.selectAllRowNodes()},t.prototype.deselectAll=function(){this.selectionController.deselectAllRowNodes()},t.prototype.selectAllFiltered=function(){this.selectionController.selectAllRowNodes(!0)},t.prototype.deselectAllFiltered=function(){this.selectionController.deselectAllRowNodes(!0)},t.prototype.recomputeAggregates=function(){O._.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:h.Constants.STEP_AGGREGATE})},t.prototype.sizeColumnsToFit=function(){this.gridPanel.sizeColumnsToFit()},t.prototype.showLoadingOverlay=function(){this.gridPanel.showLoadingOverlay()},t.prototype.showNoRowsOverlay=function(){this.gridPanel.showNoRowsOverlay()},t.prototype.hideOverlay=function(){this.gridPanel.hideOverlay()},t.prototype.isNodeSelected=function(t){return console.warn("ag-Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead"),t.isSelected()},t.prototype.getSelectedNodesById=function(){return console.error("ag-Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead"),null},t.prototype.getSelectedNodes=function(){return this.selectionController.getSelectedNodes()},t.prototype.getSelectedRows=function(){return this.selectionController.getSelectedRows()},t.prototype.getBestCostNodeSelection=function(){return this.selectionController.getBestCostNodeSelection()},t.prototype.getRenderedNodes=function(){return this.rowRenderer.getRenderedNodes()},t.prototype.ensureColIndexVisible=function(t){console.warn("ag-Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.")},t.prototype.ensureColumnVisible=function(t){this.gridPanel.ensureColumnVisible(t)},t.prototype.ensureIndexVisible=function(t,e){this.gridPanel.ensureIndexVisible(t,e)},t.prototype.ensureNodeVisible=function(t,e){this.gridCore.ensureNodeVisible(t,e)},t.prototype.forEachLeafNode=function(t){O._.missing(this.clientSideRowModel)&&console.warn("cannot call forEachNode unless using normal row model"),this.clientSideRowModel.forEachLeafNode(t)},t.prototype.forEachNode=function(t){this.rowModel.forEachNode(t)},t.prototype.forEachNodeAfterFilter=function(t){O._.missing(this.clientSideRowModel)&&console.warn("cannot call forEachNodeAfterFilter unless using normal row model"),this.clientSideRowModel.forEachNodeAfterFilter(t)},t.prototype.forEachNodeAfterFilterAndSort=function(t){O._.missing(this.clientSideRowModel)&&console.warn("cannot call forEachNodeAfterFilterAndSort unless using normal row model"),this.clientSideRowModel.forEachNodeAfterFilterAndSort(t)},t.prototype.getFilterApiForColDef=function(t){return console.warn("ag-grid API method getFilterApiForColDef deprecated, use getFilterApi instead"),this.getFilterInstance(t)},t.prototype.getFilterInstance=function(t){var e=this.columnController.getPrimaryColumn(t);if(e)return this.filterManager.getFilterComponent(e,"NO_UI").resolveNow(null,(function(t){return t}))},t.prototype.getFilterApi=function(t){return console.warn("ag-Grid: getFilterApi is deprecated, use getFilterInstance instead"),this.getFilterInstance(t)},t.prototype.destroyFilter=function(t){var e=this.columnController.getPrimaryColumn(t);if(e)return this.filterManager.destroyFilter(e,"filterDestroyed")},t.prototype.getStatusPanel=function(t){if(this.statusBarService)return this.statusBarService.getStatusPanel(t)},t.prototype.getColumnDef=function(t){var e=this.columnController.getPrimaryColumn(t);return e?e.getColDef():null},t.prototype.onFilterChanged=function(){this.filterManager.onFilterChanged()},t.prototype.onSortChanged=function(){this.sortController.onSortChanged()},t.prototype.setSortModel=function(t,e){void 0===e&&(e="api"),this.sortController.setSortModel(t,e)},t.prototype.getSortModel=function(){return this.sortController.getSortModel()},t.prototype.setFilterModel=function(t){this.filterManager.setFilterModel(t)},t.prototype.getFilterModel=function(){return this.filterManager.getFilterModel()},t.prototype.getFocusedCell=function(){return this.focusedCellController.getFocusedCell()},t.prototype.clearFocusedCell=function(){return this.focusedCellController.clearFocusedCell()},t.prototype.setFocusedCell=function(t,e,o){this.focusedCellController.setFocusedCell(t,e,o,!0)},t.prototype.setSuppressRowDrag=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_SUPPRESS_ROW_DRAG,t)},t.prototype.setHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_HEADER_HEIGHT,t),this.doLayout()},t.prototype.setGridAutoHeight=function(t){console.warn("api.setGridAutoHeight(boolean) is deprecated, please use api.setDomLayout() instead"),this.setDomLayout(t?"autoHeight":"normal")},t.prototype.setDomLayout=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_DOM_LAYOUT,t)},t.prototype.setEnableCellTextSelection=function(t){this.gridPanel.setCellTextSelection(t)},t.prototype.setGroupHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT,t),this.doLayout()},t.prototype.setFloatingFiltersHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT,t),this.doLayout()},t.prototype.setPivotGroupHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT,t),this.doLayout()},t.prototype.setPivotHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT,t),this.doLayout()},t.prototype.isSideBarVisible=function(){return this.gridCore.isSideBarVisible()},t.prototype.setSideBarVisible=function(t){this.gridCore.setSideBarVisible(t)},t.prototype.showToolPanel=function(t){console.warn("ag-grid: from v19 api.showToolPanel has been deprecated in favour of api.setSideBarVisible"),this.setSideBarVisible(t)},t.prototype.openToolPanel=function(t){this.gridCore.openToolPanel(t)},t.prototype.closeToolPanel=function(){this.gridCore.closeToolPanel()},t.prototype.getOpenedToolPanel=function(){return this.gridCore.getOpenedToolPanel()},t.prototype.getSideBar=function(){return this.gridCore.getSideBar()},t.prototype.setSideBar=function(t){return this.gridCore.setSideBar(t)},t.prototype.setSuppressClipboardPaste=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_SUPPRESS_CLIPBOARD_PASTE,t)},t.prototype.isToolPanelShowing=function(){return this.gridCore.isToolPanelShowing()},t.prototype.doLayout=function(){this.gridPanel.checkViewportAndScrolls()},t.prototype.resetRowHeights=function(){O._.exists(this.clientSideRowModel)&&this.clientSideRowModel.resetRowHeights()},t.prototype.setGroupRemoveSingleChildren=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN,t)},t.prototype.setGroupRemoveLowestSingleChildren=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN,t)},t.prototype.onRowHeightChanged=function(){O._.exists(this.clientSideRowModel)&&this.clientSideRowModel.onRowHeightChanged()},t.prototype.getValue=function(t,e){var o=this.columnController.getPrimaryColumn(t);return O._.missing(o)&&(o=this.columnController.getGridColumn(t)),O._.missing(o)?null:this.valueService.getValue(o,e)},t.prototype.addEventListener=function(t,e){var o=this.gridOptionsWrapper.useAsyncEvents();this.eventService.addEventListener(t,e,o)},t.prototype.addGlobalListener=function(t){var e=this.gridOptionsWrapper.useAsyncEvents();this.eventService.addGlobalListener(t,e)},t.prototype.removeEventListener=function(t,e){var o=this.gridOptionsWrapper.useAsyncEvents();this.eventService.removeEventListener(t,e,o)},t.prototype.removeGlobalListener=function(t){var e=this.gridOptionsWrapper.useAsyncEvents();this.eventService.removeGlobalListener(t,e)},t.prototype.dispatchEvent=function(t){this.eventService.dispatchEvent(t)},t.prototype.destroy=function(){this.gridCore.destroy(),this.context.destroy()},t.prototype.resetQuickFilter=function(){this.rowModel.forEachNode((function(t){return t.quickFilterAggregateText=null}))},t.prototype.getRangeSelections=function(){return this.rangeController?this.rangeController.getCellRanges():(console.warn("ag-Grid: cell range selection is only available in ag-Grid Enterprise"),null)},t.prototype.camelCaseToHumanReadable=function(t){return O._.camelCaseToHumanText(t)},t.prototype.addRangeSelection=function(t){this.rangeController||console.warn("ag-Grid: cell range selection is only available in ag-Grid Enterprise"),this.rangeController.addRange(t)},t.prototype.clearRangeSelection=function(){this.rangeController||console.warn("ag-Grid: cell range selection is only available in ag-Grid Enterprise"),this.rangeController.clearSelection()},t.prototype.copySelectedRowsToClipboard=function(t,e){this.clipboardService||console.warn("ag-Grid: clipboard is only available in ag-Grid Enterprise"),this.clipboardService.copySelectedRowsToClipboard(t,e)},t.prototype.copySelectedRangeToClipboard=function(t){this.clipboardService||console.warn("ag-Grid: clipboard is only available in ag-Grid Enterprise"),this.clipboardService.copySelectedRangeToClipboard(t)},t.prototype.copySelectedRangeDown=function(){this.clipboardService||console.warn("ag-Grid: clipboard is only available in ag-Grid Enterprise"),this.clipboardService.copyRangeDown()},t.prototype.showColumnMenuAfterButtonClick=function(t,e){var o=this.columnController.getPrimaryColumn(t);this.menuFactory.showMenuAfterButtonClick(o,e)},t.prototype.showColumnMenuAfterMouseClick=function(t,e){var o=this.columnController.getPrimaryColumn(t);this.menuFactory.showMenuAfterMouseEvent(o,e)},t.prototype.hidePopupMenu=function(){this.contextMenuFactory&&this.contextMenuFactory.hideActiveMenu(),this.menuFactory.hideActiveMenu()},t.prototype.setPopupParent=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_POPUP_PARENT,t)},t.prototype.tabToNextCell=function(){return this.rowRenderer.tabToNextCell(!1)},t.prototype.tabToPreviousCell=function(){return this.rowRenderer.tabToNextCell(!0)},t.prototype.getCellRendererInstances=function(t){return void 0===t&&(t={}),this.rowRenderer.getCellRendererInstances(t)},t.prototype.getCellEditorInstances=function(t){return void 0===t&&(t={}),this.rowRenderer.getCellEditorInstances(t)},t.prototype.getEditingCells=function(){return this.rowRenderer.getEditingCells()},t.prototype.stopEditing=function(t){void 0===t&&(t=!1),this.rowRenderer.stopEditing(t)},t.prototype.startEditingCell=function(t){var e=this.columnController.getGridColumn(t.colKey);if(e){var o={rowIndex:t.rowIndex,floating:t.rowPinned,column:e},n=new v.GridCell(o);O._.missing(t.rowPinned)&&this.gridPanel.ensureIndexVisible(t.rowIndex),this.rowRenderer.startEditingCell(n,t.keyPress,t.charPress)}else console.warn("ag-Grid: no column found for "+t.colKey)},t.prototype.addAggFunc=function(t,e){this.aggFuncService&&this.aggFuncService.addAggFunc(t,e)},t.prototype.addAggFuncs=function(t){this.aggFuncService&&this.aggFuncService.addAggFuncs(t)},t.prototype.clearAggFuncs=function(){this.aggFuncService&&this.aggFuncService.clear()},t.prototype.updateRowData=function(t){var e=null;return this.clientSideRowModel?e=this.clientSideRowModel.updateRowData(t):this.infinitePageRowModel?this.infinitePageRowModel.updateRowData(t):console.error("ag-Grid: updateRowData() only works with ClientSideRowModel and InfiniteRowModel."),this.rowRenderer.refreshFullWidthRows(),this.gridOptionsWrapper.isSuppressChangeDetection()||this.rowRenderer.refreshCells(),e},t.prototype.batchUpdateRowData=function(t,e){this.clientSideRowModel?this.clientSideRowModel.batchUpdateRowData(t,e):console.error("ag-Grid: api.batchUpdateRowData() only works with ClientSideRowModel.")},t.prototype.insertItemsAtIndex=function(t,e,o){void 0===o&&(o=!1),console.warn("ag-Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead."),this.updateRowData({add:e,addIndex:t,update:null,remove:null})},t.prototype.removeItems=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: removeItems() is deprecated, use updateRowData(transaction) instead.");var o=t.map((function(t){return t.data}));this.updateRowData({add:null,addIndex:null,update:null,remove:o})},t.prototype.addItems=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: addItems() is deprecated, use updateRowData(transaction) instead."),this.updateRowData({add:t,addIndex:null,update:null,remove:null})},t.prototype.refreshVirtualPageCache=function(){console.warn("ag-Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead"),this.refreshInfiniteCache()},t.prototype.refreshInfinitePageCache=function(){console.warn("ag-Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead"),this.refreshInfiniteCache()},t.prototype.refreshInfiniteCache=function(){this.infinitePageRowModel?this.infinitePageRowModel.refreshCache():console.warn("ag-Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.")},t.prototype.purgeVirtualPageCache=function(){console.warn("ag-Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead"),this.purgeInfinitePageCache()},t.prototype.purgeInfinitePageCache=function(){console.warn("ag-Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead"),this.purgeInfiniteCache()},t.prototype.purgeInfiniteCache=function(){this.infinitePageRowModel?this.infinitePageRowModel.purgeCache():console.warn("ag-Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.")},t.prototype.purgeEnterpriseCache=function(t){console.warn("ag-grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.purgeServerSideCache()"),this.purgeServerSideCache(t)},t.prototype.purgeServerSideCache=function(t){this.serverSideRowModel?this.serverSideRowModel.purgeCache(t):console.warn("ag-Grid: api.purgeServerSideCache is only available when rowModelType='enterprise'.")},t.prototype.getVirtualRowCount=function(){return console.warn("ag-Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead"),this.getInfiniteRowCount()},t.prototype.getInfiniteRowCount=function(){if(this.infinitePageRowModel)return this.infinitePageRowModel.getVirtualRowCount();console.warn("ag-Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.")},t.prototype.isMaxRowFound=function(){if(this.infinitePageRowModel)return this.infinitePageRowModel.isMaxRowFound();console.warn("ag-Grid: api.isMaxRowFound is only available when rowModelType='virtual'.")},t.prototype.setVirtualRowCount=function(t,e){console.warn("ag-Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead"),this.setInfiniteRowCount(t,e)},t.prototype.setInfiniteRowCount=function(t,e){this.infinitePageRowModel?this.infinitePageRowModel.setVirtualRowCount(t,e):console.warn("ag-Grid: api.setVirtualRowCount is only available when rowModelType='virtual'.")},t.prototype.getVirtualPageState=function(){return console.warn("ag-Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead"),this.getCacheBlockState()},t.prototype.getInfinitePageState=function(){return console.warn("ag-Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead"),this.getCacheBlockState()},t.prototype.getCacheBlockState=function(){return this.infinitePageRowModel?this.infinitePageRowModel.getBlockState():this.serverSideRowModel?this.serverSideRowModel.getBlockState():void console.warn("ag-Grid: api.getCacheBlockState() is only available when rowModelType='infinite' or rowModelType='serverSide'.")},t.prototype.checkGridSize=function(){this.gridPanel.setHeaderAndFloatingHeights()},t.prototype.getFirstRenderedRow=function(){return console.warn("in ag-Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()"),this.getFirstDisplayedRow()},t.prototype.getFirstDisplayedRow=function(){return this.rowRenderer.getFirstVirtualRenderedRow()},t.prototype.getLastRenderedRow=function(){return console.warn("in ag-Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()"),this.getLastDisplayedRow()},t.prototype.getLastDisplayedRow=function(){return this.rowRenderer.getLastVirtualRenderedRow()},t.prototype.getDisplayedRowAtIndex=function(t){return this.rowModel.getRow(t)},t.prototype.getDisplayedRowCount=function(){return this.rowModel.getRowCount()},t.prototype.paginationIsLastPageFound=function(){return this.paginationProxy.isLastPageFound()},t.prototype.paginationGetPageSize=function(){return this.paginationProxy.getPageSize()},t.prototype.paginationSetPageSize=function(t){this.gridOptionsWrapper.setProperty("paginationPageSize",t)},t.prototype.paginationGetCurrentPage=function(){return this.paginationProxy.getCurrentPage()},t.prototype.paginationGetTotalPages=function(){return this.paginationProxy.getTotalPages()},t.prototype.paginationGetRowCount=function(){return this.paginationProxy.getTotalRowCount()},t.prototype.paginationGoToNextPage=function(){this.paginationProxy.goToNextPage()},t.prototype.paginationGoToPreviousPage=function(){this.paginationProxy.goToPreviousPage()},t.prototype.paginationGoToFirstPage=function(){this.paginationProxy.goToFirstPage()},t.prototype.paginationGoToLastPage=function(){this.paginationProxy.goToLastPage()},t.prototype.paginationGoToPage=function(t){this.paginationProxy.goToPage(t)},n([f.Autowired("immutableService"),i("design:type",E.ImmutableService)],t.prototype,"immutableService",void 0),n([f.Autowired("csvCreator"),i("design:type",r.CsvCreator)],t.prototype,"csvCreator",void 0),n([f.Optional("excelCreator"),i("design:type",Object)],t.prototype,"excelCreator",void 0),n([f.Autowired("rowRenderer"),i("design:type",s.RowRenderer)],t.prototype,"rowRenderer",void 0),n([f.Autowired("filterManager"),i("design:type",a.FilterManager)],t.prototype,"filterManager",void 0),n([f.Autowired("columnController"),i("design:type",l.ColumnController)],t.prototype,"columnController",void 0),n([f.Autowired("selectionController"),i("design:type",p.SelectionController)],t.prototype,"selectionController",void 0),n([f.Autowired("gridOptionsWrapper"),i("design:type",u.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([f.Autowired("valueService"),i("design:type",c.ValueService)],t.prototype,"valueService",void 0),n([f.Autowired("alignedGridsService"),i("design:type",_.AlignedGridsService)],t.prototype,"alignedGridsService",void 0),n([f.Autowired("eventService"),i("design:type",d.EventService)],t.prototype,"eventService",void 0),n([f.Autowired("pinnedRowModel"),i("design:type",R.PinnedRowModel)],t.prototype,"pinnedRowModel",void 0),n([f.Autowired("context"),i("design:type",f.Context)],t.prototype,"context",void 0),n([f.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([f.Autowired("sortController"),i("design:type",g.SortController)],t.prototype,"sortController",void 0),n([f.Autowired("paginationProxy"),i("design:type",C.PaginationProxy)],t.prototype,"paginationProxy",void 0),n([f.Autowired("focusedCellController"),i("design:type",y.FocusedCellController)],t.prototype,"focusedCellController",void 0),n([f.Optional("rangeController"),i("design:type",Object)],t.prototype,"rangeController",void 0),n([f.Optional("clipboardService"),i("design:type",Object)],t.prototype,"clipboardService",void 0),n([f.Optional("aggFuncService"),i("design:type",Object)],t.prototype,"aggFuncService",void 0),n([f.Autowired("menuFactory"),i("design:type",Object)],t.prototype,"menuFactory",void 0),n([f.Optional("contextMenuFactory"),i("design:type",Object)],t.prototype,"contextMenuFactory",void 0),n([f.Autowired("cellRendererFactory"),i("design:type",m.CellRendererFactory)],t.prototype,"cellRendererFactory",void 0),n([f.Autowired("valueCache"),i("design:type",w.ValueCache)],t.prototype,"valueCache",void 0),n([f.Optional("sideBarComp"),i("design:type",Object)],t.prototype,"sideBarComp",void 0),n([f.Autowired("animationFrameService"),i("design:type",S.AnimationFrameService)],t.prototype,"animationFrameService",void 0),n([f.Optional("statusBarService"),i("design:type",Object)],t.prototype,"statusBarService",void 0),n([f.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([f.Bean("gridApi")],t)}();e.GridApi=T},40846:(t,e,o)=>{var n=o(48898).RuleNode,i=o(48898).INVALID_INTERVAL,r=o(51028).INVALID_ALT_NUMBER;function s(t,e){return n.call(this),this.parentCtx=t||null,this.invokingState=e||-1,this}s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.depth=function(){for(var t=0,e=this;null!==e;)e=e.parentCtx,t+=1;return t},s.prototype.isEmpty=function(){return-1===this.invokingState},s.prototype.getSourceInterval=function(){return i},s.prototype.getRuleContext=function(){return this},s.prototype.getPayload=function(){return this},s.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map((function(t){return t.getText()})).join("")},s.prototype.getAltNumber=function(){return r},s.prototype.setAltNumber=function(t){},s.prototype.getChild=function(t){return null},s.prototype.getChildCount=function(){return 0},s.prototype.accept=function(t){return t.visitChildren(this)},e.m=s;var a=o(23438).Trees;s.prototype.toStringTree=function(t,e){return a.toStringTree(this,t,e)},s.prototype.toString=function(t,e){t=t||null,e=e||null;for(var o=this,n="[";null!==o&&o!==e;){if(null===t)o.isEmpty()||(n+=o.invokingState);else{var i=o.ruleIndex;n+=i>=0&&i<t.length?t[i]:""+i}null===o.parentCtx||null===t&&o.parentCtx.isEmpty()||(n+=" "),o=o.parentCtx}return n+"]"}},41207:(t,e,o)=>{var n=o(87264).Q,i=o(66346),r=i.Hash,s=i.Set;function a(t,e){return this.alt=e,this.pred=t,this}function l(t,e){return null===t&&(t=-1),null===e&&(e=new n),this.stateNumber=t,this.configs=e,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}a.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},l.prototype.getAltSet=function(){var t=new s;if(null!==this.configs)for(var e=0;e<this.configs.length;e++){var o=this.configs[e];t.add(o.alt)}return 0===t.length?null:t},l.prototype.equals=function(t){return this===t||t instanceof l&&this.configs.equals(t.configs)},l.prototype.toString=function(){var t=this.stateNumber+":"+this.configs;return this.isAcceptState&&(t+="=>",null!==this.predicates?t+=this.predicates:t+=this.prediction),t},l.prototype.hashCode=function(){var t=new r;return t.update(this.configs),this.isAcceptState&&(null!==this.predicates?t.update(this.predicates):t.update(this.prediction)),t.finish()},e.X=l,e.PredPrediction=a},41451:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(8534),l=o(60843),p=o(63405),u=o(72493),c=o(44081),d=o(13887),h=o(54828),f=o(44871),g=o(40797),y=o(83423),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.registerGridComp=function(t){this.gridPanel=t,this.addDestroyableEventListener(this.eventService,p.Events.EVENT_BODY_HEIGHT_CHANGED,this.onBodyHeightChanged.bind(this)),this.addDestroyableEventListener(this.eventService,p.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.checkPageSize()},e.prototype.notActive=function(){return!this.gridOptionsWrapper.isPaginationAutoPageSize()},e.prototype.onScrollVisibilityChanged=function(){this.checkPageSize()},e.prototype.onBodyHeightChanged=function(){this.checkPageSize()},e.prototype.checkPageSize=function(){if(!this.notActive()){var t=this.gridOptionsWrapper.getRowHeightAsNumber(),e=this.gridPanel.getBodyHeight();if(e>0){var o=Math.floor(e/t);this.gridOptionsWrapper.setProperty("paginationPageSize",o)}}},r([u.Autowired("eventService"),s("design:type",l.EventService)],e.prototype,"eventService",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",c.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.Autowired("scrollVisibleService"),s("design:type",d.ScrollVisibleService)],e.prototype,"scrollVisibleService",void 0),r([u.Bean("paginationAutoPageSizeService")],e)}(a.BeanStub);e.PaginationAutoPageSizeService=v;var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPage=0,e.topRowIndex=0,e.bottomRowIndex=0,e.pixelOffset=0,e}return i(e,t),e.prototype.postConstruct=function(){this.active=this.gridOptionsWrapper.isPagination(),this.addDestroyableEventListener(this.eventService,p.Events.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,"paginationPageSize",this.onModelUpdated.bind(this)),this.onModelUpdated()},e.prototype.ensureRowHeightsValid=function(t,e,o,n){var i=this.rowModel.ensureRowHeightsValid(t,e,this.getPageFirstRow(),this.getPageLastRow());return i&&this.setIndexesAndBounds(),i},e.prototype.isLastRowFound=function(){return this.rowModel.isLastRowFound()},e.prototype.onModelUpdated=function(t){this.setIndexesAndBounds();var e={type:p.Events.EVENT_PAGINATION_CHANGED,animate:!!t&&t.animate,newData:!!t&&t.newData,newPage:!!t&&t.newPage,keepRenderedRows:!!t&&t.keepRenderedRows,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},e.prototype.goToPage=function(t){if(this.active&&this.currentPage!==t){this.currentPage=t;var e={type:p.Events.EVENT_MODEL_UPDATED,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!0,api:this.gridApi,columnApi:this.columnApi};this.onModelUpdated(e)}},e.prototype.getPixelOffset=function(){return this.pixelOffset},e.prototype.getRow=function(t){return this.rowModel.getRow(t)},e.prototype.getRowNode=function(t){return this.rowModel.getRowNode(t)},e.prototype.getRowIndexAtPixel=function(t){return this.rowModel.getRowIndexAtPixel(t)},e.prototype.getCurrentPageHeight=function(){return y._.missing(this.topRowBounds)||y._.missing(this.bottomRowBounds)?0:this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight-this.topRowBounds.rowTop},e.prototype.isRowPresent=function(t){return!!this.rowModel.isRowPresent(t)&&t.rowIndex>=this.topRowIndex&&t.rowIndex<=this.bottomRowIndex},e.prototype.isEmpty=function(){return this.rowModel.isEmpty()},e.prototype.isRowsToRender=function(){return this.rowModel.isRowsToRender()},e.prototype.getNodesInRangeForSelection=function(t,e){return this.rowModel.getNodesInRangeForSelection(t,e)},e.prototype.forEachNode=function(t){return this.rowModel.forEachNode(t)},e.prototype.getType=function(){return this.rowModel.getType()},e.prototype.getRowBounds=function(t){return this.rowModel.getRowBounds(t)},e.prototype.getPageFirstRow=function(){return this.pageSize*this.currentPage},e.prototype.getPageLastRow=function(){var t=this.pageSize*(this.currentPage+1)-1,e=this.rowModel.getPageLastRow();return e>t?t:e},e.prototype.getRowCount=function(){return this.rowModel.getRowCount()},e.prototype.goToPageWithIndex=function(t){if(this.active){var e=Math.floor(t/this.pageSize);this.goToPage(e)}},e.prototype.getTotalRowCount=function(){return this.rowModel.getPageLastRow()+1},e.prototype.isLastPageFound=function(){return this.rowModel.isLastRowFound()},e.prototype.getCurrentPage=function(){return this.currentPage},e.prototype.goToNextPage=function(){this.goToPage(this.currentPage+1)},e.prototype.goToPreviousPage=function(){this.goToPage(this.currentPage-1)},e.prototype.goToFirstPage=function(){this.goToPage(0)},e.prototype.goToLastPage=function(){var t=this.rowModel.getPageLastRow()+1,e=Math.floor(t/this.pageSize);this.goToPage(e)},e.prototype.getPageSize=function(){return this.pageSize},e.prototype.getTotalPages=function(){return this.totalPages},e.prototype.setPageSize=function(){this.pageSize=this.gridOptionsWrapper.getPaginationPageSize(),this.pageSize>=1||(this.pageSize=100)},e.prototype.setIndexesAndBounds=function(){if(this.active){this.setPageSize();var t=this.getTotalRowCount();this.totalPages=Math.floor((t-1)/this.pageSize)+1,this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1),(!y._.isNumeric(this.currentPage)||this.currentPage<0)&&(this.currentPage=0),this.topRowIndex=this.pageSize*this.currentPage,this.bottomRowIndex=this.pageSize*(this.currentPage+1)-1;var e=this.rowModel.getPageLastRow();this.bottomRowIndex>e&&(this.bottomRowIndex=e)}else this.pageSize=this.rowModel.getPageLastRow()+1,this.totalPages=1,this.currentPage=0,this.topRowIndex=0,this.bottomRowIndex=this.rowModel.getPageLastRow();this.topRowBounds=this.rowModel.getRowBounds(this.topRowIndex),this.bottomRowBounds=this.rowModel.getRowBounds(this.bottomRowIndex),this.pixelOffset=y._.exists(this.topRowBounds)?this.topRowBounds.rowTop:0},r([u.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([u.Autowired("eventService"),s("design:type",l.EventService)],e.prototype,"eventService",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",c.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.Autowired("selectionController"),s("design:type",h.SelectionController)],e.prototype,"selectionController",void 0),r([u.Autowired("columnApi"),s("design:type",f.ColumnApi)],e.prototype,"columnApi",void 0),r([u.Autowired("gridApi"),s("design:type",g.GridApi)],e.prototype,"gridApi",void 0),r([u.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([u.Bean("paginationProxy")],e)}(a.BeanStub);e.PaginationProxy=m},41832:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(10042),s=o(72493),a=o(44081),l=o(78481),p=function(){function t(){}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.registerHeaderRootComp=function(t){this.headerRootComp=t},t.prototype.getPreferredWidthForColumn=function(t){var e=this.getHeaderCellForColumn(t);if(!e)return-1;var o=document.createElement("span");o.style.position="fixed";var n=this.gridPanel.getCenterContainer();n.appendChild(o),this.putRowCellsIntoDummyContainer(t,o),this.cloneItemIntoDummy(e,o);var i=o.offsetWidth;return n.removeChild(o),i+this.gridOptionsWrapper.getAutoSizePadding()},t.prototype.getHeaderCellForColumn=function(t){var e=null;return this.headerRootComp.forEachHeaderElement((function(o){if(o instanceof l.HeaderWrapperComp){var n=o;n.getColumn()===t&&(e=n)}})),e?e.getGui():null},t.prototype.putRowCellsIntoDummyContainer=function(t,e){var o=this;this.rowRenderer.getAllCellsForColumn(t).forEach((function(t){return o.cloneItemIntoDummy(t,e)}))},t.prototype.cloneItemIntoDummy=function(t,e){var o=t.cloneNode(!0);o.style.width="",o.style.position="static",o.style.left="";var n=document.createElement("div");n.style.display="table-row",n.appendChild(o),e.appendChild(n)},n([s.Autowired("rowRenderer"),i("design:type",r.RowRenderer)],t.prototype,"rowRenderer",void 0),n([s.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Bean("autoWidthCalculator")],t)}();e.AutoWidthCalculator=p},42195:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(60843),a=o(63405),l=o(44081),p=o(44871),u=o(98239),c=o(34782),d=o(40797),h=o(23054),f=o(83423),g=function(){function t(){}return t.prototype.init=function(){this.eventService.addEventListener(a.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_GROUP_OPENED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_MOVED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_PINNED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_VISIBLE,this.clearFocusedCell.bind(this))},t.prototype.clearFocusedCell=function(){this.focusedCell=null,this.onCellFocused(!1)},t.prototype.getFocusedCell=function(){return this.focusedCell},t.prototype.getFocusCellToUseAfterRefresh=function(){return this.gridOptionsWrapper.isSuppressFocusAfterRefresh()?null:this.focusedCell&&this.getGridCellForDomElement(document.activeElement)?this.focusedCell:null},t.prototype.getGridCellForDomElement=function(t){for(var e=t;e;){var o=this.gridOptionsWrapper.getDomData(e,h.CellComp.DOM_DATA_KEY_CELL_COMP);if(o)return o.getGridCell();e=e.parentNode}return null},t.prototype.setFocusedCell=function(t,e,o,n){void 0===n&&(n=!1);var i=f._.makeNull(this.columnController.getGridColumn(e));this.focusedCell=new c.GridCell({rowIndex:t,floating:f._.makeNull(o),column:i}),this.onCellFocused(n)},t.prototype.isCellFocused=function(t){return!f._.missing(this.focusedCell)&&this.focusedCell.column===t.column&&this.isRowFocused(t.rowIndex,t.floating)},t.prototype.isRowNodeFocused=function(t){return this.isRowFocused(t.rowIndex,t.rowPinned)},t.prototype.isAnyCellFocused=function(){return!!this.focusedCell},t.prototype.isRowFocused=function(t,e){if(f._.missing(this.focusedCell))return!1;var o=f._.makeNull(e);return this.focusedCell.rowIndex===t&&this.focusedCell.floating===o},t.prototype.onCellFocused=function(t){var e={type:a.Events.EVENT_CELL_FOCUSED,forceBrowserFocus:t,rowIndex:null,column:null,floating:null,api:this.gridApi,columnApi:this.columnApi,rowPinned:null};this.focusedCell&&(e.rowIndex=this.focusedCell.rowIndex,e.column=this.focusedCell.column,e.rowPinned=this.focusedCell.floating),this.eventService.dispatchEvent(e)},n([r.Autowired("eventService"),i("design:type",s.EventService)],t.prototype,"eventService",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("columnController"),i("design:type",u.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("columnApi"),i("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),n([r.Autowired("gridApi"),i("design:type",d.GridApi)],t.prototype,"gridApi",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r.Bean("focusedCellController")],t)}();e.FocusedCellController=g},42664:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(98239),a=o(45727),l=o(54828),p=o(44081),u=o(31887),c=o(7897),d=o(12598),h=o(74517),f=o(50580),g=o(83423),y=function(){function t(t){var e=t.columnController,o=t.valueService,n=t.gridOptionsWrapper,i=t.processCellCallback,r=t.processHeaderCallback,s=t.cellAndHeaderEscaper;this.columnController=e,this.valueService=o,this.gridOptionsWrapper=n,this.processCellCallback=i,this.processHeaderCallback=r,this.cellAndHeaderEscaper=s}return t.prototype.extractHeaderValue=function(t){var e=this.getHeaderName(this.processHeaderCallback,t);return null==e&&(e=""),this.cellAndHeaderEscaper?this.cellAndHeaderEscaper(e):e},t.prototype.extractRowCellValue=function(t,e,o,n){var i,r=this.columnController.getRowGroupColumns().length>0;return i=n&&n.group&&r&&0===e?this.createValueForGroupNode(n):this.valueService.getValue(t,n),null==(i=this.processCell(n,t,i,this.processCellCallback,o))&&(i=""),this.cellAndHeaderEscaper?this.cellAndHeaderEscaper(i):i},t.prototype.getHeaderName=function(t,e){return t?t({column:e,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}):this.columnController.getDisplayNameForColumn(e,"csv",!0)},t.prototype.createValueForGroupNode=function(t){for(var e=[t.key];t.parent;)t=t.parent,e.push(t.key);return e.reverse().join(" -> ")},t.prototype.processCell=function(t,e,o,n,i){return n?n({column:e,node:t,value:o,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),type:i}):o},t}();e.BaseGridSerializingSession=y;var v,m=function(){function t(){}return t.prototype.serialize=function(t,e){var o=e&&e.skipGroups,n=e&&e.skipHeader,i=e&&e.columnGroups,r=e&&e.skipFooters,s=e&&e.skipPinnedTop,l=e&&e.skipPinnedBottom,p=e&&e.customHeader,u=e&&e.customFooter,c=e&&e.allColumns,h=e&&e.onlySelected,f=e&&e.columnKeys,y=e&&e.onlySelectedAllPages,v=e&&e.shouldRowBeSkipped||function(){return!1},m=this.gridOptionsWrapper.getApi(),C=this.gridOptionsWrapper.isGroupRemoveSingleChildren(),E=this.gridOptionsWrapper.isGroupRemoveLowestSingleChildren(),w=this.gridOptionsWrapper.getContext(),_=this.columnController.isPivotMode(),R=this.rowModel.getType()===a.Constants.ROW_MODEL_TYPE_CLIENT_SIDE,S=!R&&h,O=[];if(O=g._.existsAndNotEmpty(f)?this.columnController.getGridColumns(f):c&&!_?(O=this.gridOptionsWrapper.isTreeData()?this.columnController.getGridColumns([a.Constants.GROUP_AUTO_COLUMN_ID]):[]).concat(this.columnController.getAllPrimaryColumns()||[]):this.columnController.getAllDisplayedColumns(),p&&t.addCustomHeader(p),t.prepare(O),i){var T=new d.GroupInstanceIdCreator,b=this.displayedGroupCreator.createDisplayedGroups(O,this.columnController.getGridBalancedTree(),T,null);this.recursivelyAddHeaderGroups(b,t)}if(!n){var A=t.onNewHeaderRow();O.forEach((function(t,e){A.onColumn(t,e,void 0)}))}function P(e){var n=E&&e.leafGroup,i=1===e.allChildrenCount&&(C||n);if((!e.group||!o&&!i)&&(!r||!e.footer)&&(!h||e.isSelected())&&(!s||"top"!==e.rowPinned)&&(!l||"bottom"!==e.rowPinned)&&(-1!==e.level||e.leafGroup)&&!v({node:e,api:m,context:w})){var a=t.onNewBodyRow();O.forEach((function(t,o){a.onColumn(t,o,e)}))}}return this.pinnedRowModel.forEachPinnedTopRow(P),_?this.rowModel.forEachPivotNode?this.rowModel.forEachPivotNode(P):this.rowModel.forEachNode(P):y||S?this.selectionController.getSelectedNodes().forEach((function(t){P(t)})):R?this.rowModel.forEachNodeAfterFilterAndSort(P):this.rowModel.forEachNode(P),this.pinnedRowModel.forEachPinnedBottomRow(P),u&&t.addCustomFooter(u),t.parse()},t.prototype.recursivelyAddHeaderGroups=function(t,e){var o=[];t.forEach((function(t){var e=t;e.getChildren&&e.getChildren().forEach((function(t){return o.push(t)}))})),t.length>0&&t[0]instanceof h.ColumnGroup&&this.doAddHeaderHeader(e,t),o&&o.length>0&&this.recursivelyAddHeaderGroups(o,e)},t.prototype.doAddHeaderHeader=function(t,e){var o=this,n=t.onNewHeaderGroupingRow(),i=0;e.forEach((function(t){var e=t,r=o.columnController.getDisplayNameForColumnGroup(e,"header");n.onColumn(r||"",i++,e.getLeafColumns().length-1)}))},n([r.Autowired("displayedGroupCreator"),i("design:type",u.DisplayedGroupCreator)],t.prototype,"displayedGroupCreator",void 0),n([r.Autowired("columnController"),i("design:type",s.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([r.Autowired("pinnedRowModel"),i("design:type",f.PinnedRowModel)],t.prototype,"pinnedRowModel",void 0),n([r.Autowired("selectionController"),i("design:type",l.SelectionController)],t.prototype,"selectionController",void 0),n([r.Autowired("columnFactory"),i("design:type",c.ColumnFactory)],t.prototype,"columnFactory",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",p.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Bean("gridSerializer")],t)}();e.GridSerializer=m,(v=e.RowType||(e.RowType={}))[v.HEADER_GROUPING=0]="HEADER_GROUPING",v[v.HEADER=1]="HEADER",v[v.BODY=2]="BODY"},42726:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(55e3),a=o(73575),l=o(44081),p=o(60843),u=o(83423),c=function(){function t(){}return t.prototype.hideActiveMenu=function(){this.hidePopup&&this.hidePopup()},t.prototype.showMenuAfterMouseEvent=function(t,e){var o=this;this.showPopup(t,(function(n){o.popupService.positionPopupUnderMouseEvent({column:t,type:"columnMenu",mouseEvent:e,ePopup:n})}))},t.prototype.showMenuAfterButtonClick=function(t,e){var o=this;this.showPopup(t,(function(n){o.popupService.positionPopupUnderComponent({type:"columnMenu",eventSource:e,ePopup:n,keepWithinBounds:!0,column:t})}))},t.prototype.showPopup=function(t,e){var o,n=this,i=this.filterManager.getOrCreateFilterWrapper(t,"COLUMN_MENU"),r=document.createElement("div");u._.addCssClass(r,"ag-menu"),i.guiPromise.promise.then((function(t){r.appendChild(t)}));var s=function(t){"horizontal"===t.direction&&o()};this.eventService.addEventListener("bodyScroll",s),o=this.popupService.addAsModalPopup(r,!0,(function(){n.eventService.removeEventListener("bodyScroll",s),t.setMenuVisible(!1,"contextMenu")})),e(r),i.filterPromise.then((function(t){if(t.afterGuiAttached){var e={hidePopup:o};t.afterGuiAttached(e)}})),this.hidePopup=o,t.setMenuVisible(!0,"contextMenu")},t.prototype.isMenuEnabled=function(t){return t.isFilterAllowed()},n([r.Autowired("eventService"),i("design:type",p.EventService)],t.prototype,"eventService",void 0),n([r.Autowired("filterManager"),i("design:type",s.FilterManager)],t.prototype,"filterManager",void 0),n([r.Autowired("popupService"),i("design:type",a.PopupService)],t.prototype,"popupService",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Bean("menuFactory")],t)}();e.StandardMenuFactory=c},43389:(t,e)=>{var o;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.IdentityCheck="IdentityCheck",t.DeepValueCheck="DeepValueCheck",t.NoCheck="NoCheck"}(o=e.ChangeDetectionStrategyType||(e.ChangeDetectionStrategyType={}));var n=function(){function t(){var t;this.strategyMap=((t={})[o.DeepValueCheck]=new r,t[o.IdentityCheck]=new i((function(t,e){return t===e})),t[o.NoCheck]=new i((function(t,e){return!0})),t)}return t.prototype.getStrategy=function(t){return this.strategyMap[t]},t}();e.ChangeDetectionService=n;var i=function(){function t(t){this.strategy=t}return t.prototype.areEqual=function(t,e){return this.strategy(t,e)},t}(),r=function(){function t(){}return t.prototype.areEqual=function(e,o){return t.areEquivalent(t.copy(e),t.copy(o))},t.unwrapStringOrNumber=function(t){return t instanceof Number||t instanceof String?t.valueOf():t},t.copy=function(t){if(!t)return t;if(Array.isArray(t)){for(var e=[],o=0;o<t.length;o++)e.push(this.copy(t[o]));return e}return"object"!=typeof t?t:[{},t].reduce((function(t,e){return Object.keys(e).forEach((function(o){t[o]=e[o]})),t}),{})},t.areEquivalent=function(e,o){if(e=t.unwrapStringOrNumber(e),o=t.unwrapStringOrNumber(o),e===o)return!0;if(null===e||null===o||typeof e!=typeof o)return!1;if(e instanceof Date)return o instanceof Date&&e.valueOf()===o.valueOf();if("function"==typeof e)return e.toString()===o.toString();if("object"!=typeof e)return e==o;var n=void 0===e.areEquivPropertyTracking,i=void 0===o.areEquivPropertyTracking;try{var r=void 0;if(n)e.areEquivPropertyTracking=[];else if(e.areEquivPropertyTracking.some((function(t){return t===o})))return!0;if(i)o.areEquivPropertyTracking=[];else if(o.areEquivPropertyTracking.some((function(t){return t===e})))return!0;e.areEquivPropertyTracking.push(o),o.areEquivPropertyTracking.push(e);var s={};for(r in e)"areEquivPropertyTracking"!=r&&(s[r]=null);for(r in o)"areEquivPropertyTracking"!=r&&(s[r]=null);for(r in s)if(!this.areEquivalent(e[r],o[r]))return!1;return!0}finally{n&&delete e.areEquivPropertyTracking,i&&delete o.areEquivPropertyTracking}},t}()},43460:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(42664),p=o(33467),u=o(98239),c=o(24463),d=o(44081),h=o(45727),f=o(83423),g="\r\n",y=function(t){function e(e){var o=t.call(this,{columnController:e.columnController,valueService:e.valueService,gridOptionsWrapper:e.gridOptionsWrapper,processCellCallback:e.processCellCallback,processHeaderCallback:e.processHeaderCallback})||this;o.result="",o.lineOpened=!1;var n=e.suppressQuotes,i=e.columnSeparator;return o.suppressQuotes=n,o.columnSeparator=i,o}return i(e,t),e.prototype.prepare=function(t){},e.prototype.addCustomHeader=function(t){t&&(this.result+=t+g)},e.prototype.addCustomFooter=function(t){t&&(this.result+=t+g)},e.prototype.onNewHeaderGroupingRow=function(){return this.lineOpened&&(this.result+=g),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}},e.prototype.onNewHeaderGroupingRowColumn=function(t,e,o){0!=e&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t,this.suppressQuotes);for(var n=1;n<=o;n++)this.result+=this.columnSeparator+this.putInQuotes("",this.suppressQuotes);this.lineOpened=!0},e.prototype.onNewHeaderRow=function(){return this.lineOpened&&(this.result+=g),{onColumn:this.onNewHeaderRowColumn.bind(this)}},e.prototype.onNewHeaderRowColumn=function(t,e,o){0!=e&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(t),this.suppressQuotes),this.lineOpened=!0},e.prototype.onNewBodyRow=function(){return this.lineOpened&&(this.result+=g),{onColumn:this.onNewBodyRowColumn.bind(this)}},e.prototype.onNewBodyRowColumn=function(t,e,o){0!=e&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractRowCellValue(t,e,h.Constants.EXPORT_TYPE_CSV,o),this.suppressQuotes),this.lineOpened=!0},e.prototype.putInQuotes=function(t,e){return e?t:null==t?'""':("string"==typeof t?o=t:"function"==typeof t.toString?o=t.toString():(console.warn("unknown value type during csv conversion"),o=""),'"'+o.replace(/"/g,'""')+'"');var o},e.prototype.parse=function(){return this.result},e}(l.BaseGridSerializingSession);e.CsvSerializingSession=y;var v=function(){function t(){}return t.prototype.setBeans=function(t){this.beans=t},t.prototype.export=function(t){if(this.isExportSuppressed())return console.warn("ag-grid: Export cancelled. Export is not allowed as per your configuration."),"";var e=this.getMergedParamsAndData(t),o=e.mergedParams,n=e.data,i=o&&o.fileName&&0!==o.fileName.length?o.fileName:this.getDefaultFileName();return-1===i.indexOf(".")&&(i=i+"."+this.getDefaultFileExtension()),this.beans.downloader.download(i,this.packageFile(n)),n},t.prototype.getData=function(t){return this.getMergedParamsAndData(t).data},t.prototype.getMergedParamsAndData=function(t){var e=this.mergeDefaultParams(t);return{mergedParams:e,data:this.beans.gridSerializer.serialize(this.createSerializingSession(e),e)}},t.prototype.mergeDefaultParams=function(t){var e=this.beans.gridOptionsWrapper.getDefaultExportParams(),o={};return f._.assign(o,e),f._.assign(o,t),o},t.prototype.packageFile=function(t){return new Blob(["\ufeff",t],{type:window.navigator.msSaveOrOpenBlob?this.getMimeType():"octet/stream"})},t}();e.BaseCreator=v;var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.postConstruct=function(){this.setBeans({downloader:this.downloader,gridSerializer:this.gridSerializer,gridOptionsWrapper:this.gridOptionsWrapper})},e.prototype.exportDataAsCsv=function(t){return this.export(t)},e.prototype.getDataAsCsv=function(t){return this.getData(t)},e.prototype.getMimeType=function(){return"text/csv;charset=utf-8;"},e.prototype.getDefaultFileName=function(){return"export.csv"},e.prototype.getDefaultFileExtension=function(){return"csv"},e.prototype.createSerializingSession=function(t){var e=this,o=e.columnController,n=e.valueService,i=e.gridOptionsWrapper,r=t,s=r.processCellCallback,a=r.processHeaderCallback,l=r.suppressQuotes,p=r.columnSeparator;return new y({columnController:o,valueService:n,gridOptionsWrapper:i,processCellCallback:s||void 0,processHeaderCallback:a||void 0,suppressQuotes:l||!1,columnSeparator:p||","})},e.prototype.isExportSuppressed=function(){return this.gridOptionsWrapper.isSuppressCsvExport()},r([a.Autowired("columnController"),s("design:type",u.ColumnController)],e.prototype,"columnController",void 0),r([a.Autowired("valueService"),s("design:type",c.ValueService)],e.prototype,"valueService",void 0),r([a.Autowired("downloader"),s("design:type",p.Downloader)],e.prototype,"downloader",void 0),r([a.Autowired("gridSerializer"),s("design:type",l.GridSerializer)],e.prototype,"gridSerializer",void 0),r([a.Autowired("gridOptionsWrapper"),s("design:type",d.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([a.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([a.Bean("csvCreator")],e)}(v);e.CsvCreator=m},43878:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(26016),a=o(44081),l=o(98239),p=o(7897),u=o(45727),c=o(83423),d=function(){function t(){}var e;return e=t,t.prototype.createAutoGroupColumns=function(t){var e=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(e.createOneAutoGroupColumn(t,n))})):o.push(this.createOneAutoGroupColumn()),o},t.prototype.createOneAutoGroupColumn=function(t,o){var n,i=this.generateDefaultColDef(t);n=t?u.Constants.GROUP_AUTO_COLUMN_ID+"-"+t.getId():e.GROUP_AUTO_COLUMN_BUNDLE_ID;var r=this.gridOptionsWrapper.getAutoGroupColumnDef();c._.mergeDeep(i,r),(i=this.columnFactory.mergeColDefs(i)).colId=n,this.gridOptionsWrapper.isTreeData()||c._.missing(i.field)&&c._.missing(i.valueGetter)&&c._.missing(i.filterValueGetter)&&(i.filter=!1),o&&o>0&&(i.headerCheckboxSelection=!1);var a=new s.Column(i,null,n,!0);return this.context.wireBean(a),a},t.prototype.generateDefaultColDef=function(t){var e=this.gridOptionsWrapper.getAutoGroupColumnDef(),o={headerName:this.gridOptionsWrapper.getLocaleTextFunc()("group","Group"),enableRowGroup:!0};if(e&&(e.cellRenderer||e.cellRendererFramework)||(o.cellRenderer="agGroupCellRenderer"),t){var n=t.getColDef();c._.assign(o,{headerName:this.columnController.getDisplayNameForColumn(t,"header"),headerValueGetter:n.headerValueGetter}),n.cellRenderer&&c._.assign(o,{cellRendererParams:{innerRenderer:n.cellRenderer,innerRendererParams:n.cellRendererParams}}),o.showRowGroup=t.getColId()}else o.showRowGroup=!0;return o},t.GROUP_AUTO_COLUMN_BUNDLE_ID=u.Constants.GROUP_AUTO_COLUMN_ID,n([r.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("context"),i("design:type",r.Context)],t.prototype,"context",void 0),n([r.Autowired("columnController"),i("design:type",l.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("columnFactory"),i("design:type",p.ColumnFactory)],t.prototype,"columnFactory",void 0),e=n([r.Bean("autoGroupColService")],t)}();e.AutoGroupColService=d},44081:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(60843),a=o(45727),l=o(97156),p=o(40797),u=o(72493),c=o(44871),d=o(98239),h=o(59007),f=o(37789),g=o(80834),y=o(85222),v=o(23801),m=o(96896),C=o(83423);function E(t){return!0===t||"true"===t}var w=function(){function t(){this.propertyEventService=new s.EventService,this.domDataKey="__AG_"+Math.random().toString(),this.layoutElements=[]}var e;return e=t,t.prototype.agWire=function(t,e){this.gridOptions.api=t,this.gridOptions.columnApi=e,this.checkForDeprecated(),this.checkForViolations()},t.prototype.destroy=function(){this.gridOptions.api=null,this.gridOptions.columnApi=null},t.prototype.init=function(){!0!==this.gridOptions.suppressPropertyNamesCheck&&(this.checkGridOptionsProperties(),this.checkColumnDefProperties());var t=this.useAsyncEvents();this.eventService.addGlobalListener(this.globalEventHandler.bind(this),t),this.isGroupSelectsChildren()&&this.isSuppressParentsInRowNodes()&&console.warn("ag-Grid: groupSelectsChildren does not work wth 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 us these together on our support forum either you will get the same answer!"),this.addEventListener(e.PROP_DOM_LAYOUT,this.updateLayoutClasses.bind(this))},t.prototype.checkColumnDefProperties=function(){var t=this;null!=this.gridOptions.columnDefs&&this.gridOptions.columnDefs.forEach((function(e){var o=Object.getOwnPropertyNames(e),n=g.ColDefUtil.ALL_PROPERTIES.concat(g.ColDefUtil.FRAMEWORK_PROPERTIES);t.checkProperties(o,n,n,"colDef","https://www.ag-grid.com/javascript-grid-column-properties/")}))},t.prototype.checkGridOptionsProperties=function(){var t=Object.getOwnPropertyNames(this.gridOptions),e=f.PropertyKeys.ALL_PROPERTIES.concat(f.PropertyKeys.FRAMEWORK_PROPERTIES);Object.keys(y.Events).forEach((function(t){return e.push(l.ComponentUtil.getCallbackForEvent(y.Events[t]))}));var o=e.concat("api","columnApi");this.checkProperties(t,o,e,"gridOptions","https://www.ag-grid.com/javascript-grid-properties/")},t.prototype.checkProperties=function(t,e,o,n,i){var r=C._.fuzzyCheckStrings(t,e,o),s=Object.keys(r);s.forEach((function(t){var e=r[t];console.warn("ag-grid: invalid "+n+" property '"+t+"' did you mean any of these: "+e.slice(0,8).join(","))})),s.length>0&&console.warn("ag-grid: to see all the valid "+n+" properties please check: "+i)},t.prototype.getDomData=function(t,e){var o=t[this.domDataKey];if(o)return o[e]},t.prototype.setDomData=function(t,e,o){var n=t[this.domDataKey];C._.missing(n)&&(n={},t[this.domDataKey]=n),n[e]=o},t.prototype.isEnterprise=function(){return this.enterprise},t.prototype.isRowSelection=function(){return"single"===this.gridOptions.rowSelection||"multiple"===this.gridOptions.rowSelection},t.prototype.isRowDeselection=function(){return E(this.gridOptions.rowDeselection)},t.prototype.isRowSelectionMulti=function(){return"multiple"===this.gridOptions.rowSelection},t.prototype.isRowMultiSelectWithClick=function(){return E(this.gridOptions.rowMultiSelectWithClick)},t.prototype.getContext=function(){return this.gridOptions.context},t.prototype.isPivotMode=function(){return E(this.gridOptions.pivotMode)},t.prototype.isPivotTotals=function(){return E(this.gridOptions.pivotTotals)},t.prototype.getPivotColumnGroupTotals=function(){return this.gridOptions.pivotColumnGroupTotals},t.prototype.getPivotRowTotals=function(){return this.gridOptions.pivotRowTotals},t.prototype.isRowModelInfinite=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_INFINITE},t.prototype.isRowModelViewport=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_VIEWPORT},t.prototype.isRowModelServerSide=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_SERVER_SIDE},t.prototype.isRowModelDefault=function(){return C._.missing(this.gridOptions.rowModelType)||this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_CLIENT_SIDE||this.gridOptions.rowModelType===a.Constants.DEPRECATED_ROW_MODEL_TYPE_NORMAL},t.prototype.isFullRowEdit=function(){return"fullRow"===this.gridOptions.editType},t.prototype.isSuppressFocusAfterRefresh=function(){return E(this.gridOptions.suppressFocusAfterRefresh)},t.prototype.isSuppressBrowserResizeObserver=function(){return E(this.gridOptions.suppressBrowserResizeObserver)},t.prototype.isSuppressMaintainUnsortedOrder=function(){return E(this.gridOptions.suppressMaintainUnsortedOrder)},t.prototype.isShowToolPanel=function(){return E(this.gridOptions.sideBar&&Array.isArray(this.getSideBar().toolPanels))},t.prototype.getSideBar=function(){return this.gridOptions.sideBar},t.prototype.isSuppressTouch=function(){return E(this.gridOptions.suppressTouch)},t.prototype.isSuppressRowTransform=function(){return E(this.gridOptions.suppressRowTransform)},t.prototype.isSuppressSetColumnStateEvents=function(){return E(this.gridOptions.suppressSetColumnStateEvents)},t.prototype.useAsyncEvents=function(){return!E(this.gridOptions.suppressAsyncEvents)},t.prototype.isEnableCellChangeFlash=function(){return E(this.gridOptions.enableCellChangeFlash)},t.prototype.isGroupSelectsChildren=function(){var t=E(this.gridOptions.groupSelectsChildren);return t&&this.isTreeData()?(console.warn("ag-Grid: groupSelectsChildren does not work with tree data"),!1):t},t.prototype.isSuppressRowHoverHighlight=function(){return E(this.gridOptions.suppressRowHoverHighlight)},t.prototype.isGroupSelectsFiltered=function(){return E(this.gridOptions.groupSelectsFiltered)},t.prototype.isGroupHideOpenParents=function(){return E(this.gridOptions.groupHideOpenParents)},t.prototype.isGroupMultiAutoColumn=function(){return E(this.gridOptions.groupMultiAutoColumn)||E(this.gridOptions.groupHideOpenParents)},t.prototype.isGroupRemoveSingleChildren=function(){return E(this.gridOptions.groupRemoveSingleChildren)},t.prototype.isGroupRemoveLowestSingleChildren=function(){return E(this.gridOptions.groupRemoveLowestSingleChildren)},t.prototype.isGroupIncludeFooter=function(){return E(this.gridOptions.groupIncludeFooter)},t.prototype.isGroupIncludeTotalFooter=function(){return E(this.gridOptions.groupIncludeTotalFooter)},t.prototype.isGroupSuppressBlankHeader=function(){return E(this.gridOptions.groupSuppressBlankHeader)},t.prototype.isSuppressRowClickSelection=function(){return E(this.gridOptions.suppressRowClickSelection)},t.prototype.isSuppressCellSelection=function(){return E(this.gridOptions.suppressCellSelection)},t.prototype.isSuppressMultiSort=function(){return E(this.gridOptions.suppressMultiSort)},t.prototype.isMultiSortKeyCtrl=function(){return"ctrl"===this.gridOptions.multiSortKey},t.prototype.isGroupSuppressAutoColumn=function(){return E(this.gridOptions.groupSuppressAutoColumn)},t.prototype.isSuppressDragLeaveHidesColumns=function(){return E(this.gridOptions.suppressDragLeaveHidesColumns)},t.prototype.isSuppressScrollOnNewData=function(){return E(this.gridOptions.suppressScrollOnNewData)},t.prototype.isRowDragManaged=function(){return E(this.gridOptions.rowDragManaged)},t.prototype.isSuppressRowDrag=function(){return E(this.gridOptions.suppressRowDrag)},t.prototype.getDomLayout=function(){var t=this,e=this.gridOptions.domLayout;return e===a.Constants.DOM_LAYOUT_PRINT||e===a.Constants.DOM_LAYOUT_AUTO_HEIGHT||e===a.Constants.DOM_LAYOUT_NORMAL?e:(null==e||C._.doOnce((function(){return console.warn("ag-Grid: "+t.gridOptions.domLayout+" is not valid for DOM Layout, valid values are "+a.Constants.DOM_LAYOUT_NORMAL+", "+a.Constants.DOM_LAYOUT_AUTO_HEIGHT+" and "+a.Constants.DOM_LAYOUT_PRINT)}),"warn about dom layout values"),a.Constants.DOM_LAYOUT_NORMAL)},t.prototype.isSuppressHorizontalScroll=function(){return E(this.gridOptions.suppressHorizontalScroll)},t.prototype.isSuppressMaxRenderedRowRestriction=function(){return E(this.gridOptions.suppressMaxRenderedRowRestriction)},t.prototype.isExcludeChildrenWhenTreeDataFiltering=function(){return E(this.gridOptions.excludeChildrenWhenTreeDataFiltering)},t.prototype.isAlwaysShowVerticalScroll=function(){return E(this.gridOptions.alwaysShowVerticalScroll)},t.prototype.isSuppressLoadingOverlay=function(){return E(this.gridOptions.suppressLoadingOverlay)},t.prototype.isSuppressNoRowsOverlay=function(){return E(this.gridOptions.suppressNoRowsOverlay)},t.prototype.isSuppressFieldDotNotation=function(){return E(this.gridOptions.suppressFieldDotNotation)},t.prototype.getPinnedTopRowData=function(){return this.gridOptions.pinnedTopRowData},t.prototype.getPinnedBottomRowData=function(){return this.gridOptions.pinnedBottomRowData},t.prototype.isFunctionsPassive=function(){return E(this.gridOptions.functionsPassive)},t.prototype.isSuppressTabbing=function(){return E(this.gridOptions.suppressTabbing)},t.prototype.isSuppressChangeDetection=function(){return E(this.gridOptions.suppressChangeDetection)},t.prototype.isSuppressAnimationFrame=function(){return E(this.gridOptions.suppressAnimationFrame)},t.prototype.getQuickFilterText=function(){return this.gridOptions.quickFilterText},t.prototype.isCacheQuickFilter=function(){return E(this.gridOptions.cacheQuickFilter)},t.prototype.isUnSortIcon=function(){return E(this.gridOptions.unSortIcon)},t.prototype.isSuppressMenuHide=function(){return E(this.gridOptions.suppressMenuHide)},t.prototype.isEnterMovesDownAfterEdit=function(){return E(this.gridOptions.enterMovesDownAfterEdit)},t.prototype.isEnterMovesDown=function(){return E(this.gridOptions.enterMovesDown)},t.prototype.getRowStyle=function(){return this.gridOptions.rowStyle},t.prototype.getRowClass=function(){return this.gridOptions.rowClass},t.prototype.getRowStyleFunc=function(){return this.gridOptions.getRowStyle},t.prototype.getRowClassFunc=function(){return this.gridOptions.getRowClass},t.prototype.rowClassRules=function(){return this.gridOptions.rowClassRules},t.prototype.getPopupParent=function(){return this.gridOptions.popupParent},t.prototype.getBlockLoadDebounceMillis=function(){return this.gridOptions.blockLoadDebounceMillis},t.prototype.getPostProcessPopupFunc=function(){return this.gridOptions.postProcessPopup},t.prototype.getDoesDataFlowerFunc=function(){return this.gridOptions.doesDataFlower},t.prototype.getPaginationNumberFormatterFunc=function(){return this.gridOptions.paginationNumberFormatter},t.prototype.getChildCountFunc=function(){return this.gridOptions.getChildCount},t.prototype.getDefaultGroupSortComparator=function(){return this.gridOptions.defaultGroupSortComparator},t.prototype.getIsFullWidthCellFunc=function(){return this.gridOptions.isFullWidthCell},t.prototype.getFullWidthCellRendererParams=function(){return this.gridOptions.fullWidthCellRendererParams},t.prototype.isEmbedFullWidthRows=function(){return E(this.gridOptions.deprecatedEmbedFullWidthRows)},t.prototype.getSuppressKeyboardEventFunc=function(){return this.gridOptions.suppressKeyboardEvent},t.prototype.getBusinessKeyForNodeFunc=function(){return this.gridOptions.getBusinessKeyForNode},t.prototype.getApi=function(){return this.gridOptions.api},t.prototype.getColumnApi=function(){return this.gridOptions.columnApi},t.prototype.isDeltaRowDataMode=function(){return E(this.gridOptions.deltaRowDataMode)},t.prototype.isDeltaColumnMode=function(){return E(this.gridOptions.deltaColumnMode)},t.prototype.isEnsureDomOrder=function(){return E(this.gridOptions.ensureDomOrder)},t.prototype.isEnableCharts=function(){return E(this.gridOptions.enableCharts)},t.prototype.getColResizeDefault=function(){return this.gridOptions.colResizeDefault},t.prototype.isSingleClickEdit=function(){return E(this.gridOptions.singleClickEdit)},t.prototype.isSuppressClickEdit=function(){return E(this.gridOptions.suppressClickEdit)},t.prototype.isStopEditingWhenGridLosesFocus=function(){return E(this.gridOptions.stopEditingWhenGridLosesFocus)},t.prototype.getGroupDefaultExpanded=function(){return this.gridOptions.groupDefaultExpanded},t.prototype.getMaxConcurrentDatasourceRequests=function(){return this.gridOptions.maxConcurrentDatasourceRequests},t.prototype.getMaxBlocksInCache=function(){return this.gridOptions.maxBlocksInCache},t.prototype.getCacheOverflowSize=function(){return this.gridOptions.cacheOverflowSize},t.prototype.getPaginationPageSize=function(){return this.gridOptions.paginationPageSize},t.prototype.getCacheBlockSize=function(){return this.gridOptions.cacheBlockSize},t.prototype.getInfiniteInitialRowCount=function(){return this.gridOptions.infiniteInitialRowCount},t.prototype.isPurgeClosedRowNodes=function(){return E(this.gridOptions.purgeClosedRowNodes)},t.prototype.isSuppressPaginationPanel=function(){return E(this.gridOptions.suppressPaginationPanel)},t.prototype.getRowData=function(){return this.gridOptions.rowData},t.prototype.isGroupUseEntireRow=function(){return E(this.gridOptions.groupUseEntireRow)},t.prototype.isEnableRtl=function(){return E(this.gridOptions.enableRtl)},t.prototype.getAutoGroupColumnDef=function(){return this.gridOptions.autoGroupColumnDef},t.prototype.isGroupSuppressRow=function(){return E(this.gridOptions.groupSuppressRow)},t.prototype.getRowGroupPanelShow=function(){return this.gridOptions.rowGroupPanelShow},t.prototype.getPivotPanelShow=function(){return this.gridOptions.pivotPanelShow},t.prototype.isAngularCompileRows=function(){return E(this.gridOptions.angularCompileRows)},t.prototype.isAngularCompileFilters=function(){return E(this.gridOptions.angularCompileFilters)},t.prototype.isAngularCompileHeaders=function(){return E(this.gridOptions.angularCompileHeaders)},t.prototype.isDebug=function(){return E(this.gridOptions.debug)},t.prototype.getColumnDefs=function(){return this.gridOptions.columnDefs},t.prototype.getColumnTypes=function(){return this.gridOptions.columnTypes},t.prototype.getDatasource=function(){return this.gridOptions.datasource},t.prototype.getViewportDatasource=function(){return this.gridOptions.viewportDatasource},t.prototype.getServerSideDatasource=function(){return this.gridOptions.serverSideDatasource},t.prototype.isAccentedSort=function(){return E(this.gridOptions.accentedSort)},t.prototype.isEnableBrowserTooltips=function(){return E(this.gridOptions.enableBrowserTooltips)},t.prototype.isEnableCellExpressions=function(){return E(this.gridOptions.enableCellExpressions)},t.prototype.isEnableGroupEdit=function(){return E(this.gridOptions.enableGroupEdit)},t.prototype.isSuppressMiddleClickScrolls=function(){return E(this.gridOptions.suppressMiddleClickScrolls)},t.prototype.isSuppressPreventDefaultOnMouseWheel=function(){return E(this.gridOptions.suppressPreventDefaultOnMouseWheel)},t.prototype.isSuppressColumnVirtualisation=function(){return E(this.gridOptions.suppressColumnVirtualisation)},t.prototype.isSuppressContextMenu=function(){return E(this.gridOptions.suppressContextMenu)},t.prototype.isAllowContextMenuWithControlKey=function(){return E(this.gridOptions.allowContextMenuWithControlKey)},t.prototype.isSuppressCopyRowsToClipboard=function(){return E(this.gridOptions.suppressCopyRowsToClipboard)},t.prototype.isCopyHeadersToClipboard=function(){return E(this.gridOptions.copyHeadersToClipboard)},t.prototype.isSuppressClipboardPaste=function(){return E(this.gridOptions.suppressClipboardPaste)},t.prototype.isPagination=function(){return E(this.gridOptions.pagination)},t.prototype.isSuppressEnterpriseResetOnNewColumns=function(){return E(this.gridOptions.suppressEnterpriseResetOnNewColumns)},t.prototype.getProcessDataFromClipboardFunc=function(){return this.gridOptions.processDataFromClipboard},t.prototype.getBatchUpdateWaitMillis=function(){return C._.exists(this.gridOptions.batchUpdateWaitMillis)?this.gridOptions.batchUpdateWaitMillis:a.Constants.BATCH_WAIT_MILLIS},t.prototype.isSuppressMovableColumns=function(){return E(this.gridOptions.suppressMovableColumns)},t.prototype.isAnimateRows=function(){return!this.isEnsureDomOrder()&&E(this.gridOptions.animateRows)},t.prototype.isSuppressColumnMoveAnimation=function(){return E(this.gridOptions.suppressColumnMoveAnimation)},t.prototype.isSuppressAggFuncInHeader=function(){return E(this.gridOptions.suppressAggFuncInHeader)},t.prototype.isSuppressAggAtRootLevel=function(){return E(this.gridOptions.suppressAggAtRootLevel)},t.prototype.isEnableRangeSelection=function(){return E(this.gridOptions.enableRangeSelection)},t.prototype.isSuppressMultiRangeSelection=function(){return E(this.gridOptions.suppressMultiRangeSelection)},t.prototype.isPaginationAutoPageSize=function(){return E(this.gridOptions.paginationAutoPageSize)},t.prototype.isRememberGroupStateWhenNewData=function(){return E(this.gridOptions.rememberGroupStateWhenNewData)},t.prototype.getIcons=function(){return this.gridOptions.icons},t.prototype.getAggFuncs=function(){return this.gridOptions.aggFuncs},t.prototype.getSortingOrder=function(){return this.gridOptions.sortingOrder},t.prototype.getAlignedGrids=function(){return this.gridOptions.alignedGrids},t.prototype.isMasterDetail=function(){var t=this,e=E(this.gridOptions.masterDetail);return C._.doOnce((function(){e&&!t.enterprise&&console.warn("ag-grid: Master Detail is an Enterprise feature of ag-Grid.")}),"MasterDetailEnterpriseCheck"),e&&this.enterprise},t.prototype.getIsRowMasterFunc=function(){return this.gridOptions.isRowMaster},t.prototype.getIsRowSelectableFunc=function(){return this.gridOptions.isRowSelectable},t.prototype.getGroupRowRendererParams=function(){return this.gridOptions.groupRowRendererParams},t.prototype.getOverlayLoadingTemplate=function(){return this.gridOptions.overlayLoadingTemplate},t.prototype.getOverlayNoRowsTemplate=function(){return this.gridOptions.overlayNoRowsTemplate},t.prototype.isSuppressAutoSize=function(){return E(this.gridOptions.suppressAutoSize)},t.prototype.isEnableCellTextSelection=function(){return E(this.gridOptions.enableCellTextSelection)},t.prototype.isSuppressParentsInRowNodes=function(){return E(this.gridOptions.suppressParentsInRowNodes)},t.prototype.isFunctionsReadOnly=function(){return E(this.gridOptions.functionsReadOnly)},t.prototype.isFloatingFilter=function(){return this.gridOptions.floatingFilter},t.prototype.isEnableCellTextSelect=function(){return E(this.gridOptions.enableCellTextSelection)},t.prototype.isEnableOldSetFilterModel=function(){return E(this.gridOptions.enableOldSetFilterModel)},t.prototype.getDefaultColDef=function(){return this.gridOptions.defaultColDef},t.prototype.getDefaultColGroupDef=function(){return this.gridOptions.defaultColGroupDef},t.prototype.getDefaultExportParams=function(){return this.gridOptions.defaultExportParams},t.prototype.isSuppressCsvExport=function(){return E(this.gridOptions.suppressCsvExport)},t.prototype.isSuppressExcelExport=function(){return E(this.gridOptions.suppressExcelExport)},t.prototype.isSuppressMakeColumnVisibleAfterUnGroup=function(){return E(this.gridOptions.suppressMakeColumnVisibleAfterUnGroup)},t.prototype.getNodeChildDetailsFunc=function(){return this.gridOptions.getNodeChildDetails},t.prototype.getDataPathFunc=function(){return this.gridOptions.getDataPath},t.prototype.getIsServerSideGroupFunc=function(){return this.gridOptions.isServerSideGroup},t.prototype.getServerSideGroupKeyFunc=function(){return this.gridOptions.getServerSideGroupKey},t.prototype.getGroupRowAggNodesFunc=function(){return this.gridOptions.groupRowAggNodes},t.prototype.getContextMenuItemsFunc=function(){return this.gridOptions.getContextMenuItems},t.prototype.getMainMenuItemsFunc=function(){return this.gridOptions.getMainMenuItems},t.prototype.getRowNodeIdFunc=function(){return this.gridOptions.getRowNodeId},t.prototype.getNavigateToNextCellFunc=function(){return this.gridOptions.navigateToNextCell},t.prototype.getTabToNextCellFunc=function(){return this.gridOptions.tabToNextCell},t.prototype.isTreeData=function(){var t=this,e=E(this.gridOptions.treeData);return C._.doOnce((function(){e&&!t.enterprise&&console.warn("ag-grid: TreeData is an Enterprise feature of ag-Grid.")}),"TreeDataEnterpriseCheck"),e},t.prototype.isValueCache=function(){return E(this.gridOptions.valueCache)},t.prototype.isValueCacheNeverExpires=function(){return E(this.gridOptions.valueCacheNeverExpires)},t.prototype.isDeltaSort=function(){return E(this.gridOptions.deltaSort)},t.prototype.isAggregateOnlyChangedColumns=function(){return E(this.gridOptions.aggregateOnlyChangedColumns)},t.prototype.getProcessSecondaryColDefFunc=function(){return this.gridOptions.processSecondaryColDef},t.prototype.getProcessSecondaryColGroupDefFunc=function(){return this.gridOptions.processSecondaryColGroupDef},t.prototype.getSendToClipboardFunc=function(){return this.gridOptions.sendToClipboard},t.prototype.getProcessRowPostCreateFunc=function(){return this.gridOptions.processRowPostCreate},t.prototype.getProcessCellForClipboardFunc=function(){return this.gridOptions.processCellForClipboard},t.prototype.getProcessHeaderForClipboardFunc=function(){return this.gridOptions.processHeaderForClipboard},t.prototype.getProcessCellFromClipboardFunc=function(){return this.gridOptions.processCellFromClipboard},t.prototype.getViewportRowModelPageSize=function(){return(t=this.gridOptions.viewportRowModelPageSize)>0?t:5;var t},t.prototype.getViewportRowModelBufferSize=function(){return(t=this.gridOptions.viewportRowModelBufferSize)>=0?t:5;var t},t.prototype.isServerSideSortingAlwaysResets=function(){return E(this.gridOptions.serverSideSortingAlwaysResets)},t.prototype.getPostSortFunc=function(){return this.gridOptions.postSort},t.prototype.getClipboardDeliminator=function(){return C._.exists(this.gridOptions.clipboardDeliminator)?this.gridOptions.clipboardDeliminator:"\t"},t.prototype.setProperty=function(t,e){var o=this.gridOptions,n=o[t];if(n!==e){o[t]=e;var i={type:t,currentValue:e,previousValue:n};this.propertyEventService.dispatchEvent(i)}},t.prototype.addLayoutElement=function(t){this.layoutElements.push(t),this.updateLayoutClasses()},t.prototype.updateLayoutClasses=function(){var t=this.getDomLayout(),e=t===a.Constants.DOM_LAYOUT_AUTO_HEIGHT,o=t===a.Constants.DOM_LAYOUT_PRINT,n=t===a.Constants.DOM_LAYOUT_NORMAL;this.layoutElements.forEach((function(t){C._.addOrRemoveCssClass(t,"ag-layout-auto-height",e),C._.addOrRemoveCssClass(t,"ag-layout-normal",n),C._.addOrRemoveCssClass(t,"ag-layout-print",o)}))},t.prototype.addEventListener=function(t,o){e.checkEventDeprecation(t),this.propertyEventService.addEventListener(t,o)},t.checkEventDeprecation=function(t){"floatingRowDataChanged"===t&&console.warn("ag-Grid: floatingRowDataChanged is now called pinnedRowDataChanged")},t.prototype.removeEventListener=function(t,e){this.propertyEventService.removeEventListener(t,e)},t.prototype.getAutoSizePadding=function(){return this.gridOptions.autoSizePadding&&this.gridOptions.autoSizePadding>0?this.gridOptions.autoSizePadding:20},t.prototype.getHeaderHeight=function(){return"number"==typeof this.gridOptions.headerHeight?this.gridOptions.headerHeight:this.specialForNewMaterial(25,"headerHeight")},t.prototype.getFloatingFiltersHeight=function(){return"number"==typeof this.gridOptions.floatingFiltersHeight?this.gridOptions.floatingFiltersHeight:this.specialForNewMaterial(25,"headerHeight")},t.prototype.getGroupHeaderHeight=function(){return"number"==typeof this.gridOptions.groupHeaderHeight?this.gridOptions.groupHeaderHeight:this.getHeaderHeight()},t.prototype.getPivotHeaderHeight=function(){return"number"==typeof this.gridOptions.pivotHeaderHeight?this.gridOptions.pivotHeaderHeight:this.getHeaderHeight()},t.prototype.getPivotGroupHeaderHeight=function(){return"number"==typeof this.gridOptions.pivotGroupHeaderHeight?this.gridOptions.pivotGroupHeaderHeight:this.getGroupHeaderHeight()},t.prototype.isExternalFilterPresent=function(){return"function"==typeof this.gridOptions.isExternalFilterPresent&&this.gridOptions.isExternalFilterPresent()},t.prototype.doesExternalFilterPass=function(t){return"function"==typeof this.gridOptions.doesExternalFilterPass&&this.gridOptions.doesExternalFilterPass(t)},t.prototype.getDocument=function(){var t=null;return this.gridOptions.getDocument&&C._.exists(this.gridOptions.getDocument)&&(t=this.gridOptions.getDocument()),t&&C._.exists(t)?t:document},t.prototype.getMinColWidth=function(){return this.gridOptions.minColWidth&&this.gridOptions.minColWidth>e.MIN_COL_WIDTH?this.gridOptions.minColWidth:e.MIN_COL_WIDTH},t.prototype.getMaxColWidth=function(){return this.gridOptions.maxColWidth&&this.gridOptions.maxColWidth>e.MIN_COL_WIDTH?this.gridOptions.maxColWidth:null},t.prototype.getColWidth=function(){return"number"!=typeof this.gridOptions.colWidth||this.gridOptions.colWidth<e.MIN_COL_WIDTH?200:this.gridOptions.colWidth},t.prototype.getRowBufferInPixels=function(){var t;return"number"==typeof this.gridOptions.rowBuffer?this.gridOptions.rowBuffer<0?(C._.doOnce((function(){return console.warn("ag-Grid: rowBuffer should not be negative")}),"warn rowBuffer negative"),t=0):t=this.gridOptions.rowBuffer:t=a.Constants.ROW_BUFFER_SIZE,t*this.getRowHeightAsNumber()},t.prototype.getScrollbarWidth=function(){var t=this.gridOptions.scrollbarWidth;return("number"!=typeof t||t<0)&&(t=C._.getScrollbarWidth()),t},t.prototype.checkForDeprecated=function(){var t=this,e=this.gridOptions;e.suppressUnSort&&console.warn("ag-grid: as of v1.12.4 suppressUnSort is not used. Please use sortingOrder instead."),e.suppressDescSort&&console.warn("ag-grid: as of v1.12.4 suppressDescSort is not used. Please use sortingOrder instead."),e.groupAggFields&&console.warn("ag-grid: as of v3 groupAggFields is not used. Please add appropriate agg fields to your columns."),e.groupHidePivotColumns&&console.warn("ag-grid: as of v3 groupHidePivotColumns is not used as pivot columns are now called rowGroup columns. Please refer to the documentation"),e.groupKeys&&console.warn("ag-grid: as of v3 groupKeys is not used. You need to set rowGroupIndex on the columns to group. Please refer to the documentation"),"boolean"==typeof e.groupDefaultExpanded&&console.warn("ag-grid: groupDefaultExpanded can no longer be boolean. for groupDefaultExpanded=true, use groupDefaultExpanded=9999 instead, to expand all the groups"),(e.onRowDeselected||e.rowDeselected)&&console.warn("ag-grid: since version 3.4 event rowDeselected no longer exists, please check the docs"),e.rowsAlreadyGrouped&&console.warn("ag-grid: since version 3.4 rowsAlreadyGrouped no longer exists, please use getNodeChildDetails() instead"),e.groupAggFunction&&console.warn("ag-grid: since version 4.3.x groupAggFunction is now called groupRowAggNodes"),e.checkboxSelection&&console.warn("ag-grid: since version 8.0.x checkboxSelection is not supported as a grid option. If you want this on all columns, use defaultColDef instead and set it there"),e.paginationInitialRowCount&&console.warn("ag-grid: since version 9.0.x paginationInitialRowCount is now called infiniteInitialRowCount"),e.infinitePageSize&&console.warn("ag-grid: since version 9.0.x infinitePageSize is now called cacheBlockSize"),e.infiniteBlockSize&&console.warn("ag-grid: since version 10.0.x infiniteBlockSize is now called cacheBlockSize"),e.maxPagesInCache&&console.warn("ag-grid: since version 10.0.x maxPagesInCache is now called maxBlocksInCache"),e.paginationOverflowSize&&console.warn("ag-grid: since version 10.0.x paginationOverflowSize is now called cacheOverflowSize"),e.suppressMenuFilterPanel&&console.warn("ag-grid: since version 11.0.x, use property colDef.menuTabs=['generalMenuTab','columnsMenuTab'] instead of suppressMenuFilterPanel=true"),e.suppressMenuMainPanel&&console.warn("ag-grid: since version 11.0.x, use property colDef.menuTabs=['filterMenuTab','columnsMenuTab'] instead of suppressMenuMainPanel=true"),e.suppressMenuColumnPanel&&console.warn("ag-grid: since version 11.0.x, use property colDef.menuTabs=['generalMenuTab','filterMenuTab'] instead of suppressMenuColumnPanel=true"),e.suppressUseColIdForGroups&&console.warn("ag-grid: since version 11.0.x, this is not in use anymore. You should be able to remove it from your definition"),e.groupSuppressRow&&console.warn("ag-grid: since version 18.2.x, 'groupSuppressRow' should not be used anymore. Instead remove row groups and perform custom sorting."),e.groupColumnDef&&console.warn("ag-grid: since version 11.0.x, groupColumnDef has been renamed, this property is now called autoGroupColumnDef. Please change your configuration accordingly"),e.slaveGrids&&console.warn("ag-grid: since version 12.x, slaveGrids has been renamed, this property is now called alignedGrids. Please change your configuration accordingly"),e.floatingTopRowData&&console.warn("ag-grid: since version 12.x, floatingTopRowData is now called pinnedTopRowData"),e.floatingBottomRowData&&console.warn("ag-grid: since version 12.x, floatingBottomRowData is now called pinnedBottomRowData"),e.paginationStartPage&&console.warn("ag-grid: since version 12.x, paginationStartPage is gone, please call api.paginationGoToPage("+e.paginationStartPage+") instead."),e.getHeaderCellTemplate&&console.warn("ag-grid: since version 15.x, getHeaderCellTemplate is gone, please check the header documentation on how to set header templates."),e.headerCellTemplate&&console.warn("ag-grid: since version 15.x, headerCellTemplate is gone, please check the header documentation on how to set header templates."),e.headerCellRenderer&&console.warn("ag-grid: since version 15.x, headerCellRenderer is gone, please check the header documentation on how to set header templates."),e.angularCompileHeaders&&console.warn("ag-grid: since version 15.x, angularCompileHeaders is gone, please see the getting started for Angular 1 docs to see how to do headers in Angular 1.x."),e.pivotTotals&&(console.warn("ag-grid: since version 18.x, pivotTotals has been removed, instead if using pivotTotals, set pivotColumnGroupTotals='before'|'after'."),e.pivotColumnGroupTotals="before"),"inMemory"===e.rowModelType&&(console.warn("ag-grid: since version 18.x, The In Memory Row Model has been renamed to the Client Side Row Model, set rowModelType='clientSide' instead."),e.rowModelType="clientSide"),"enterprise"===e.rowModelType&&(console.warn("ag-grid: since version 18.x, The Enterprise Row Model has been renamed to the Server Side Row Model, set rowModelType='serverSide' instead."),e.rowModelType="serverSide"),e.layoutInterval&&console.warn("ag-grid: since version 18.x, layoutInterval is no longer a property. This is because the grid now uses CSS Flex for layout."),e.gridAutoHeight&&(console.warn("ag-grid: since version 19.x, gridAutoHeight is gone, please use domLayout=autoHeight instead"),e.domLayout="autoHeight"),!0===e.showToolPanel&&(console.warn("ag-grid: since version 19.x, showToolPanel is gone, please specify toolPanel components. See https://www.ag-grid.com/javascript-grid-tool-panel/"),e.showToolPanel=void 0,e.sideBar=e.sideBar||!0),!1===e.showToolPanel&&(console.warn("ag-grid: since version 19.x, showToolPanel is gone, please specify toolPanel components. See https://www.ag-grid.com/javascript-grid-tool-panel/"),e.showToolPanel=void 0,e.sideBar=e.sideBar||!1);var o={toolPanelSuppressRowGroups:"suppressRowGroups",toolPanelSuppressValues:"suppressValues",toolPanelSuppressPivots:"suppressPivots",toolPanelSuppressPivotMode:"suppressPivotMode",toolPanelSuppressColumnFilter:"suppressColumnFilter",toolPanelSuppressColumnSelectAll:"suppressColumnSelectAll",toolPanelSuppressSideButtons:"suppressSideButtons",toolPanelSuppressColumnExpandAll:"suppressColumnExpandAll",contractColumnSelection:"contractColumnSelection"},n={};Object.keys(o).forEach((function(e){var i=o[e],r=t.gridOptions[e];if(void 0!==r){if("toolPanelSuppressSideButtons"===e)return void console.warn("ag-grid: since v19.0 toolPanelSuppressSideButtons has been completely removed. See https://www.ag-grid.com/javascript-grid-tool-panel/");console.warn("ag-grid: since v19.0 gridOptions."+e+" is deprecated, please use gridOptions.sideBar.toolPanel[columnsIndex].componentParams."+i),n[i]=r}})),Object.keys(n).length>0&&!C._.exists(e.sideBar)&&(console.warn("ag-grid: since version 19.x, sideBar is mandatory if using toolPanel related properties. See https://www.ag-grid.com/javascript-grid-tool-panel/"),e.sideBar=!0),null!=e.sideBar&&(e.sideBar=m.SideBarDefParser.parse(e.sideBar));var i=this.gridOptions.sideBar;if(Object.keys(n).length>0&&i&&i.toolPanels){var r=i.toolPanels.filter((function(t){return"columns"===t.id}));1===r.length&&C._.mergeDeep(r[0],{componentParams:n})}e.enableStatusBar&&(console.warn("ag-grid: since version 19.x, enableStatusBar is gone, please specify statusBar components"),e.statusBar=e.statusBar||{components:[{component:"agAggregationComponent"}]}),e.alwaysShowStatusBar&&console.warn("ag-grid: since version 19.x, alwaysShowStatusBar is gone. Please specify a min-height on the ag-status-bar css class, eg .ag-status-bar {min-height: 35px; }"),(e.enableServerSideSorting||e.enableSorting)&&(console.warn("ag-Grid: since v20, grid options enableSorting and enableServerSideSorting are gone. Instead set sortable=true on the column definition for the columns sorting are allowed on. To migrate from gridOption.enableSorting=true, set gridOptions.defaultColDef.sortable=true"),e.defaultColDef||(e.defaultColDef={}),e.defaultColDef.sortable||(e.defaultColDef.sortable=!0)),(e.enableFilter||e.enableServerSideFilter)&&(console.warn("ag-Grid: since v20, grid options enableFilter and enableServerSideFilter are gone. Instead set filter=true (if not already specifying a specific filter) on the column definition for the columns filtering is allowed on. To migrate from gridOptions.enableFilter=true, set gridOptions.defaultColDef.filter=true. If you are explicitly setting specific filters for each column (ie colDef.filter is already set) the you don't need to do anything."),e.defaultColDef||(e.defaultColDef={}),e.defaultColDef.filter||(e.defaultColDef.filter=!0)),e.enableColResize&&(console.warn("ag-Grid: since v20, grid options enableColResize is gone. Instead set resizable=true on the column definition for the columns resizing are allowed on. To migrate from gridOption.enableColResize=true, set gridOptions.defaultColDef.resizable=true"),e.defaultColDef||(e.defaultColDef={}),e.defaultColDef.resizable||(e.defaultColDef.resizable=!0)),e.embedFullWidthRows&&console.warn("ag-Grid: since v20.1, embedFullWidthRows is now gone. This property was introduced to allow faster vertical scrolling when using slow browsers (IE) and full width rows. However in v20 the dom layout was redesigned and this performance problem no longer exists, hence this property 'hack' is no longer necessary."),e.suppressTabbing&&console.warn("ag-Grid: since v20.1, suppressTabbing is replaced with the more powerful grid callback suppressKeyboardEvent(params) which can suppress any keyboard event including tabbing.")},t.prototype.checkForViolations=function(){this.isTreeData()&&this.treeDataViolations()},t.prototype.treeDataViolations=function(){this.isRowModelDefault()&&C._.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()&&(C._.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."),C._.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."))},t.prototype.getLocaleTextFunc=function(){if(this.gridOptions.localeTextFunc)return this.gridOptions.localeTextFunc;var t=this;return function(e,o){var n=t.gridOptions.localeText;return n&&n[e]?n[e]:o}},t.prototype.globalEventHandler=function(t,e){var o=l.ComponentUtil.getCallbackForEvent(t);"function"==typeof this.gridOptions[o]&&this.gridOptions[o](e)},t.prototype.getRowHeightAsNumber=function(){return!this.gridOptions.rowHeight||C._.missing(this.gridOptions.rowHeight)?this.getDefaultRowHeight():this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:(console.warn("ag-Grid row height must be a number if not using standard row model"),this.getDefaultRowHeight())},t.prototype.getRowHeightForNode=function(t,e){if(void 0===e&&(e=!1),"function"==typeof this.gridOptions.getRowHeight){if(e)return{height:this.getDefaultRowHeight(),estimated:!0};var o={node:t,data:t.data,api:this.gridOptions.api,context:this.gridOptions.context};return{height:this.gridOptions.getRowHeight(o),estimated:!1}}if(t.detail&&this.isMasterDetail())return this.isNumeric(this.gridOptions.detailRowHeight)?{height:this.gridOptions.detailRowHeight,estimated:!1}:{height:300,estimated:!1};var n=this.getDefaultRowHeight(),i=this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:n;if(this.columnController.isAutoRowHeightActive()){if(e)return{height:i,estimated:!0};var r=this.autoHeightCalculator.getPreferredHeightForRow(t);return{height:Math.max(r,n),estimated:!1}}return{height:i,estimated:!1}},t.prototype.isDynamicRowHeight=function(){return"function"==typeof this.gridOptions.getRowHeight},t.prototype.getVirtualItemHeight=function(){return this.specialForNewMaterial(20,"virtualItemHeight")},t.prototype.isNumeric=function(t){return!isNaN(t)&&"number"==typeof t},t.prototype.specialForNewMaterial=function(t,e){var o=this.environment.getTheme();return o&&0===o.indexOf("ag-theme")?this.environment.getSassVariable(o,e):t},t.prototype.getDefaultRowHeight=function(){return this.specialForNewMaterial(25,"rowHeight")},t.MIN_COL_WIDTH=10,t.PROP_HEADER_HEIGHT="headerHeight",t.PROP_GROUP_REMOVE_SINGLE_CHILDREN="groupRemoveSingleChildren",t.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN="groupRemoveLowestSingleChildren",t.PROP_PIVOT_HEADER_HEIGHT="pivotHeaderHeight",t.PROP_SUPPRESS_CLIPBOARD_PASTE="suppressClipboardPaste",t.PROP_GROUP_HEADER_HEIGHT="groupHeaderHeight",t.PROP_PIVOT_GROUP_HEADER_HEIGHT="pivotGroupHeaderHeight",t.PROP_FLOATING_FILTERS_HEIGHT="floatingFiltersHeight",t.PROP_SUPPRESS_ROW_DRAG="suppressRowDrag",t.PROP_POPUP_PARENT="popupParent",t.PROP_DOM_LAYOUT="domLayout",n([u.Autowired("gridOptions"),i("design:type",Object)],t.prototype,"gridOptions",void 0),n([u.Autowired("columnController"),i("design:type",d.ColumnController)],t.prototype,"columnController",void 0),n([u.Autowired("eventService"),i("design:type",s.EventService)],t.prototype,"eventService",void 0),n([u.Autowired("enterprise"),i("design:type",Boolean)],t.prototype,"enterprise",void 0),n([u.Autowired("frameworkFactory"),i("design:type",Object)],t.prototype,"frameworkFactory",void 0),n([u.Autowired("gridApi"),i("design:type",p.GridApi)],t.prototype,"gridApi",void 0),n([u.Autowired("columnApi"),i("design:type",c.ColumnApi)],t.prototype,"columnApi",void 0),n([u.Autowired("environment"),i("design:type",h.Environment)],t.prototype,"environment",void 0),n([u.Autowired("autoHeightCalculator"),i("design:type",v.AutoHeightCalculator)],t.prototype,"autoHeightCalculator",void 0),n([r(0,u.Qualifier("gridApi")),r(1,u.Qualifier("columnApi")),i("design:type",Function),i("design:paramtypes",[p.GridApi,c.ColumnApi]),i("design:returntype",void 0)],t.prototype,"agWire",null),n([u.PreDestroy,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"destroy",null),n([u.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),e=n([u.Bean("gridOptionsWrapper")],t)}();e.GridOptionsWrapper=w},44329:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(83423),s=o(15068),a=function(t){function e(o,n){var i=t.call(this)||this;return i.version=0,i.state=e.STATE_DIRTY,i.rowNodeCacheParams=n,i.blockNumber=o,i.startRow=o*n.blockSize,i.endRow=i.startRow+n.blockSize,i}return i(e,t),e.prototype.isAnyNodeOpen=function(t){var e=!1;return this.forEachNodeCallback((function(t){t.expanded&&(e=!0)}),t),e},e.prototype.forEachNodeCallback=function(t,e){for(var o=this.startRow;o<this.endRow;o++)o<e&&t(this.getRowUsingLocalIndex(o),o)},e.prototype.forEachNode=function(t,e,o,n){this.forEachNodeCallback((function(o){t(o,e.next()),n&&o.childrenCache&&o.childrenCache.forEachNodeDeep(t,e)}),o)},e.prototype.forEachNodeDeep=function(t,e,o){this.forEachNode(t,e,o,!0)},e.prototype.forEachNodeShallow=function(t,e,o){this.forEachNode(t,e,o,!1)},e.prototype.getVersion=function(){return this.version},e.prototype.getLastAccessed=function(){return this.lastAccessed},e.prototype.getRowUsingLocalIndex=function(t,e){void 0===e&&(e=!1),e||(this.lastAccessed=this.rowNodeCacheParams.lastAccessedSequence.next());var o=t-this.startRow;return this.rowNodes[o]},e.prototype.init=function(t){this.beans=t,this.createRowNodes()},e.prototype.getStartRow=function(){return this.startRow},e.prototype.getEndRow=function(){return this.endRow},e.prototype.getBlockNumber=function(){return this.blockNumber},e.prototype.setDirty=function(){this.version++,this.state=e.STATE_DIRTY},e.prototype.setDirtyAndPurge=function(){this.setDirty(),this.rowNodes.forEach((function(t){t.setData(null)}))},e.prototype.getState=function(){return this.state},e.prototype.setRowNode=function(t,e){var o=t-this.startRow;this.rowNodes[o]=e},e.prototype.setBlankRowNode=function(t){var e=t-this.startRow,o=this.createBlankRowNode(t);return this.rowNodes[e]=o,o},e.prototype.setNewData=function(t,e){var o=this.setBlankRowNode(t);return this.setDataAndId(o,e,this.startRow+t),o},e.prototype.createBlankRowNode=function(t){var e=new s.RowNode;return this.beans.context.wireBean(e),e.setRowHeight(this.rowNodeCacheParams.rowHeight),e},e.prototype.createRowNodes=function(){this.rowNodes=[];for(var t=0;t<this.rowNodeCacheParams.blockSize;t++){var e=this.startRow+t,o=this.createBlankRowNode(e);this.rowNodes.push(o)}},e.prototype.load=function(){this.state=e.STATE_LOADING,this.loadFromDatasource()},e.prototype.pageLoadFailed=function(){this.state=e.STATE_FAILED;var t={type:e.EVENT_LOAD_COMPLETE,success:!1,page:this,lastRow:null};this.dispatchEvent(t)},e.prototype.populateWithRowData=function(t){var e=this,o=[];this.rowNodes.forEach((function(n,i){var r=t[i];n.stub&&o.push(n),e.setDataAndId(n,r,e.startRow+i)})),o.length>0&&this.beans.rowRenderer.redrawRows(o)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.rowNodes.forEach((function(t){t.childrenCache&&(t.childrenCache.destroy(),t.childrenCache=null),t.clearRowTop()}))},e.prototype.pageLoaded=function(t,o,n){t===this.version&&(this.state=e.STATE_LOADED,this.populateWithRowData(o)),n=r._.cleanNumber(n);var i={type:e.EVENT_LOAD_COMPLETE,success:!0,page:this,lastRow:n};this.dispatchEvent(i)},e.EVENT_LOAD_COMPLETE="loadComplete",e.STATE_DIRTY="dirty",e.STATE_LOADING="loading",e.STATE_LOADED="loaded",e.STATE_FAILED="failed",e}(o(8534).BeanStub);e.RowNodeBlock=a},44504:(t,e,o)=>{var n=o(66840),i=o(10848),r=o(36802),s=o(30896),a=o(76966),l=[].slice;function p(t,e){if(e||(e={}),e.model&&(this.model=e.model),e.comparator&&(this.comparator=e.comparator),e.parent&&(this.parent=e.parent),!this.mainIndex){var o=this.model&&this.model.prototype&&this.model.prototype.idAttribute;this.mainIndex=o||"id"}this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,a({silent:!0},e))}a(p.prototype,n,{initialize:function(){},isModel:function(t){return this.model&&t instanceof this.model},add:function(t,e){return this.set(t,a({merge:!1,add:!0,remove:!1},e))},parse:function(t,e){return t},serialize:function(){return this.map((function(t){if(t.serialize)return t.serialize();var e={};return a(e,t),delete e.collection,e}))},toJSON:function(){return this.serialize()},set:function(t,e){(e=a({add:!0,remove:!0,merge:!0},e)).parse&&(t=this.parse(t,e));var o,n,i,s,l,p,u,c=!r(t);t=c?t?[t]:[]:t.slice();var d=e.at,h=this.comparator&&null==d&&!1!==e.sort,f="string"==typeof this.comparator?this.comparator:null,g=[],y=[],v={},m=e.add,C=e.merge,E=e.remove,w=!(h||!m||!E)&&[],_=this.model&&this.model.prototype||Object.prototype;for(p=0,u=t.length;p<u;p++){if(i=t[p]||{},this.isModel(i)?o=n=i:_.generateId?o=_.generateId(i):void 0===(o=i[this.mainIndex])&&this._isDerivedIndex(_)&&(o=_._derived[this.mainIndex].fn.call(i)),s=this.get(o))E&&(v[s.cid||s[this.mainIndex]]=!0),C&&(i=i===n?n.attributes:i,e.parse&&(i=s.parse(i,e)),s.set?(s.set(i,e),h&&!l&&s.hasChanged(f)&&(l=!0)):a(s,i)),t[p]=s;else if(m){if(!(n=t[p]=this._prepareModel(i,e)))continue;g.push(n),this._addReference(n,e)}(n=s||n)&&(w&&(n.isNew&&n.isNew()||!n[this.mainIndex]||!v[n.cid||n[this.mainIndex]])&&w.push(n),v[n[this.mainIndex]]=!0)}if(E){for(p=0,u=this.length;p<u;p++)v[(n=this.models[p]).cid||n[this.mainIndex]]||y.push(n);for(y.length&&this.remove(y,e),p=0,u=g.length;p<u;p++)this._index(g[p])}if(g.length||w&&w.length)if(h&&(l=!0),null!=d)for(p=0,u=g.length;p<u;p++)this.models.splice(d+p,0,g[p]);else{var R=w||g;for(p=0,u=R.length;p<u;p++)this.models.push(R[p])}if(l&&this.sort({silent:!0}),!e.silent){for(p=0,u=g.length;p<u;p++)(n=g[p]).trigger?n.trigger("add",n,this,e):this.trigger("add",n,this,e);(l||w&&w.length)&&this.trigger("sort",this,e)}return c?t[0]:t},get:function(t,e){if(null!=t){var o=this.mainIndex,n=this._indexes[e||o];return n&&(n[t]||void 0!==t[o]&&n[t[o]])||this._indexes.cid[t]||this._indexes.cid[t.cid]}},at:function(t){return this.models[t]},remove:function(t,e){var o,n,i,s,a=!r(t);for(e||(e={}),o=0,n=(t=a?[t]:l.call(t)).length;o<n;o++)(i=t[o]=this.get(t[o]))&&(this._deIndex(i),s=this.models.indexOf(i),this.models.splice(s,1),e.silent||(e.index=s,i.trigger?i.trigger("remove",i,this,e):this.trigger("remove",i,this,e)),this._removeReference(i,e));return a?t[0]:t},reset:function(t,e){e||(e={});for(var o=0,n=this.models.length;o<n;o++)this._removeReference(this.models[o],e);return e.previousModels=this.models,this._reset(),t=this.add(t,a({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},sort:function(t){var e=this;if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t||(t={}),"string"==typeof this.comparator?this.models.sort((function(t,o){return t.get?(t=t.get(e.comparator),o=o.get(e.comparator)):(t=t[e.comparator],o=o[e.comparator]),t>o||void 0===t?1:t<o||void 0===o?-1:0})):1===this.comparator.length?this.models.sort((function(t,o){return(t=e.comparator(t))>(o=e.comparator(o))||void 0===t?1:t<o||void 0===o?-1:0})):this.models.sort(s(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},_reset:function(){var t=l.call(this.indexes||[]),e=0;t.push(this.mainIndex),t.push("cid");var o=t.length;for(this.models=[],this._indexes={};e<o;e++)this._indexes[t[e]]={}},_prepareModel:function(t,e){if(!this.model)return t;if(this.isModel(t))return t.collection||(t.collection=this),t;(e=e?a({},e):{}).collection=this;var o=new this.model(t,e);return o.validationError?(this.trigger("invalid",this,o.validationError,e),!1):o},_deIndex:function(t,e,o){var n;if(void 0===e)for(var i in this._indexes)n=t.hasOwnProperty(i)?t[i]:t.get&&t.get(i),delete this._indexes[i][n];else{if(void 0===this._indexes[e])throw new Error("Given attribute is not an index");delete this._indexes[e][o]}},_index:function(t,e){var o;if(void 0===e)for(var n in this._indexes)null!=(o=t.hasOwnProperty(n)?t[n]:t.get&&t.get(n))&&(this._indexes[n][o]=t);else{if(void 0===this._indexes[e])throw new Error("Given attribute is not an index");(o=t[e]||t.get&&t.get(e))&&(this._indexes[e][o]=t)}},_isDerivedIndex:function(t){return!(!t||"object"!=typeof t._derived)&&Object.keys(t._derived).indexOf(this.mainIndex)>=0},_addReference:function(t,e){this._index(t),t.collection||(t.collection=this),t.on&&t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){this===t.collection&&delete t.collection,this._deIndex(t),t.off&&t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,o,n){var i=t.split(":")[0],r=t.split(":")[1];("add"!==i&&"remove"!==i||o===this)&&("destroy"===i&&this.remove(e,n),e&&"change"===i&&r&&this._indexes[r]&&(this._deIndex(e,r,e.previousAttributes()[r]),this._index(e,r)),this.trigger.apply(this,arguments))}}),Object.defineProperties(p.prototype,{length:{get:function(){return this.models.length}},isCollection:{get:function(){return!0}}}),["indexOf","lastIndexOf","every","some","forEach","map","filter","reduce","reduceRight"].forEach((function(t){p.prototype[t]=function(){return this.models[t].apply(this.models,arguments)}})),p.prototype.each=p.prototype.forEach,p.extend=i,t.exports=p},44529:(t,e)=>{function o(t){return void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions,this}o.defaultOptions=new o,o.defaultOptions.readOnly=!0,e.$=o},44775:(t,e,o)=>{var n=e;n.bignum=o(60581),n.define=o(35228).define,n.base=o(55128),n.constants=o(67966),n.decoders=o(32868),n.encoders=o(81324)},44859:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(83423);e.defaultGroupComparator=function(t,e,o,i,r){void 0===r&&(r=!1),console.warn("ag-Grid: Since ag-grid 11.0.0 defaultGroupComparator is not necessary. You can remove this from your colDef");var s=n._.exists(o)&&o.group,a=n._.exists(i)&&i.group,l=!s&&!a;return s&&a?n._.defaultComparator(o.key,i.key,r):l?n._.defaultComparator(t,e,r):s?1:-1}},44871:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(98239),s=o(72493),a=function(){function t(){}return t.prototype.sizeColumnsToFit=function(t){this.columnController.sizeColumnsToFit(t,"api")},t.prototype.setColumnGroupOpened=function(t,e){this.columnController.setColumnGroupOpened(t,e,"api")},t.prototype.getColumnGroup=function(t,e){return this.columnController.getColumnGroup(t,e)},t.prototype.getOriginalColumnGroup=function(t){return this.columnController.getOriginalColumnGroup(t)},t.prototype.getDisplayNameForColumn=function(t,e){return this.columnController.getDisplayNameForColumn(t,e)},t.prototype.getDisplayNameForColumnGroup=function(t,e){return this.columnController.getDisplayNameForColumnGroup(t,e)},t.prototype.getColumn=function(t){return this.columnController.getPrimaryColumn(t)},t.prototype.setColumnState=function(t){return this.columnController.setColumnState(t,!1,"api")},t.prototype.getColumnState=function(){return this.columnController.getColumnState()},t.prototype.resetColumnState=function(){this.columnController.resetColumnState(!1,"api")},t.prototype.getColumnGroupState=function(){return this.columnController.getColumnGroupState()},t.prototype.setColumnGroupState=function(t){this.columnController.setColumnGroupState(t,"api")},t.prototype.resetColumnGroupState=function(){this.columnController.resetColumnGroupState("api")},t.prototype.isPinning=function(){return this.columnController.isPinningLeft()||this.columnController.isPinningRight()},t.prototype.isPinningLeft=function(){return this.columnController.isPinningLeft()},t.prototype.isPinningRight=function(){return this.columnController.isPinningRight()},t.prototype.getDisplayedColAfter=function(t){return this.columnController.getDisplayedColAfter(t)},t.prototype.getDisplayedColBefore=function(t){return this.columnController.getDisplayedColBefore(t)},t.prototype.setColumnVisible=function(t,e){this.columnController.setColumnVisible(t,e,"api")},t.prototype.setColumnsVisible=function(t,e){this.columnController.setColumnsVisible(t,e,"api")},t.prototype.setColumnPinned=function(t,e){this.columnController.setColumnPinned(t,e,"api")},t.prototype.setColumnsPinned=function(t,e){this.columnController.setColumnsPinned(t,e,"api")},t.prototype.getAllColumns=function(){return this.columnController.getAllPrimaryColumns()},t.prototype.getAllGridColumns=function(){return this.columnController.getAllGridColumns()},t.prototype.getDisplayedLeftColumns=function(){return this.columnController.getDisplayedLeftColumns()},t.prototype.getDisplayedCenterColumns=function(){return this.columnController.getDisplayedCenterColumns()},t.prototype.getDisplayedRightColumns=function(){return this.columnController.getDisplayedRightColumns()},t.prototype.getAllDisplayedColumns=function(){return this.columnController.getAllDisplayedColumns()},t.prototype.getAllDisplayedVirtualColumns=function(){return this.columnController.getAllDisplayedVirtualColumns()},t.prototype.moveColumn=function(t,e){"number"==typeof t?(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.columnController.moveColumnByIndex(t,e,"api")):this.columnController.moveColumn(t,e,"api")},t.prototype.moveColumnByIndex=function(t,e){this.columnController.moveColumnByIndex(t,e,"api")},t.prototype.moveColumns=function(t,e){this.columnController.moveColumns(t,e,"api")},t.prototype.moveRowGroupColumn=function(t,e){this.columnController.moveRowGroupColumn(t,e)},t.prototype.setColumnAggFunc=function(t,e){this.columnController.setColumnAggFunc(t,e)},t.prototype.setColumnWidth=function(t,e,o){void 0===o&&(o=!0),this.columnController.setColumnWidth(t,e,!1,o)},t.prototype.setPivotMode=function(t){this.columnController.setPivotMode(t)},t.prototype.isPivotMode=function(){return this.columnController.isPivotMode()},t.prototype.getSecondaryPivotColumn=function(t,e){return this.columnController.getSecondaryPivotColumn(t,e)},t.prototype.setValueColumns=function(t){this.columnController.setValueColumns(t,"api")},t.prototype.getValueColumns=function(){return this.columnController.getValueColumns()},t.prototype.removeValueColumn=function(t){this.columnController.removeValueColumn(t,"api")},t.prototype.removeValueColumns=function(t){this.columnController.removeValueColumns(t,"api")},t.prototype.addValueColumn=function(t){this.columnController.addValueColumn(t,"api")},t.prototype.addValueColumns=function(t){this.columnController.addValueColumns(t,"api")},t.prototype.setRowGroupColumns=function(t){this.columnController.setRowGroupColumns(t,"api")},t.prototype.removeRowGroupColumn=function(t){this.columnController.removeRowGroupColumn(t,"api")},t.prototype.removeRowGroupColumns=function(t){this.columnController.removeRowGroupColumns(t,"api")},t.prototype.addRowGroupColumn=function(t){this.columnController.addRowGroupColumn(t,"api")},t.prototype.addRowGroupColumns=function(t){this.columnController.addRowGroupColumns(t,"api")},t.prototype.getRowGroupColumns=function(){return this.columnController.getRowGroupColumns()},t.prototype.setPivotColumns=function(t){this.columnController.setPivotColumns(t,"api")},t.prototype.removePivotColumn=function(t){this.columnController.removePivotColumn(t,"api")},t.prototype.removePivotColumns=function(t){this.columnController.removePivotColumns(t,"api")},t.prototype.addPivotColumn=function(t){this.columnController.addPivotColumn(t,"api")},t.prototype.addPivotColumns=function(t){this.columnController.addPivotColumns(t,"api")},t.prototype.getPivotColumns=function(){return this.columnController.getPivotColumns()},t.prototype.getLeftDisplayedColumnGroups=function(){return this.columnController.getLeftDisplayedColumnGroups()},t.prototype.getCenterDisplayedColumnGroups=function(){return this.columnController.getCenterDisplayedColumnGroups()},t.prototype.getRightDisplayedColumnGroups=function(){return this.columnController.getRightDisplayedColumnGroups()},t.prototype.getAllDisplayedColumnGroups=function(){return this.columnController.getAllDisplayedColumnGroups()},t.prototype.autoSizeColumn=function(t){return this.columnController.autoSizeColumn(t,"api")},t.prototype.autoSizeColumns=function(t){return this.columnController.autoSizeColumns(t,"api")},t.prototype.autoSizeAllColumns=function(){this.columnController.autoSizeAllColumns("api")},t.prototype.setSecondaryColumns=function(t){this.columnController.setSecondaryColumns(t,"api")},t.prototype.getSecondaryColumns=function(){return this.columnController.getSecondaryColumns()},t.prototype.getPrimaryColumns=function(){return this.columnController.getAllPrimaryColumns()},t.prototype.columnGroupOpened=function(t,e){console.error("ag-Grid: columnGroupOpened no longer exists, use setColumnGroupOpened"),this.setColumnGroupOpened(t,e)},t.prototype.hideColumns=function(t,e){console.error("ag-Grid: hideColumns is deprecated, use setColumnsVisible"),this.columnController.setColumnsVisible(t,!e,"api")},t.prototype.hideColumn=function(t,e){console.error("ag-Grid: hideColumn is deprecated, use setColumnVisible"),this.columnController.setColumnVisible(t,!e,"api")},t.prototype.setState=function(t){return console.error("ag-Grid: setState is deprecated, use setColumnState"),this.setColumnState(t)},t.prototype.getState=function(){return console.error("ag-Grid: getState is deprecated, use getColumnState"),this.getColumnState()},t.prototype.resetState=function(){console.error("ag-Grid: resetState is deprecated, use resetColumnState"),this.resetColumnState()},t.prototype.getAggregationColumns=function(){return console.error("ag-Grid: getAggregationColumns is deprecated, use getValueColumns"),this.columnController.getValueColumns()},t.prototype.removeAggregationColumn=function(t){console.error("ag-Grid: removeAggregationColumn is deprecated, use removeValueColumn"),this.columnController.removeValueColumn(t,"api")},t.prototype.removeAggregationColumns=function(t){console.error("ag-Grid: removeAggregationColumns is deprecated, use removeValueColumns"),this.columnController.removeValueColumns(t,"api")},t.prototype.addAggregationColumn=function(t){console.error("ag-Grid: addAggregationColumn is deprecated, use addValueColumn"),this.columnController.addValueColumn(t,"api")},t.prototype.addAggregationColumns=function(t){console.error("ag-Grid: addAggregationColumns is deprecated, use addValueColumns"),this.columnController.addValueColumns(t,"api")},t.prototype.setColumnAggFunction=function(t,e){console.error("ag-Grid: setColumnAggFunction is deprecated, use setColumnAggFunc"),this.columnController.setColumnAggFunc(t,e,"api")},t.prototype.getDisplayNameForCol=function(t){return console.error("ag-Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn"),this.getDisplayNameForColumn(t,null)},n([s.Autowired("columnController"),i("design:type",r.ColumnController)],t.prototype,"columnController",void 0),n([s.Bean("columnApi")],t)}();e.ColumnApi=a},45697:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a,l=o(44081),p=o(72493),u=o(22131),c=o(85910),d=o(47721),h=o(83423);!function(t){t[t.Loading=0]="Loading",t[t.NoRows=1]="NoRows"}(a||(a={}));var f=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.postConstruct=function(){this.gridOptionsWrapper.addLayoutElement(this.eOverlayWrapper),this.setVisible(!1)},e.prototype.setWrapperTypeClass=function(t){h._.addOrRemoveCssClass(this.eOverlayWrapper,"ag-overlay-loading-wrapper",t===a.Loading),h._.addOrRemoveCssClass(this.eOverlayWrapper,"ag-overlay-no-rows-wrapper",t===a.NoRows)},e.prototype.showLoadingOverlay=function(){var t=this;this.setWrapperTypeClass(a.Loading),this.destroyActiveOverlay();var e={api:this.gridOptionsWrapper.getApi()};this.userComponentFactory.newLoadingOverlayComponent(e).then((function(e){t.eOverlayWrapper.appendChild(e.getGui()),t.activeOverlay=e})),this.setVisible(!0)},e.prototype.showNoRowsOverlay=function(){var t=this;this.setWrapperTypeClass(a.NoRows),this.destroyActiveOverlay();var e={api:this.gridOptionsWrapper.getApi()};this.userComponentFactory.newNoRowsOverlayComponent(e).then((function(e){t.eOverlayWrapper.appendChild(e.getGui()),t.activeOverlay=e})),this.setVisible(!0)},e.prototype.destroyActiveOverlay=function(){this.activeOverlay&&(this.activeOverlay.destroy&&this.activeOverlay.destroy(),this.activeOverlay=void 0,h._.clearElement(this.eOverlayWrapper))},e.prototype.hideOverlay=function(){this.destroyActiveOverlay(),this.setVisible(!1)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.destroyActiveOverlay()},e.TEMPLATE='<div class="ag-overlay">\n <div class="ag-overlay-panel" role="presentation">\n <div class="ag-overlay-wrapper" ref="eOverlayWrapper"></div>\n </div>\n </div>',r([p.Autowired("gridOptionsWrapper"),s("design:type",l.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("userComponentFactory"),s("design:type",c.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([d.RefSelector("eOverlayWrapper"),s("design:type",HTMLElement)],e.prototype,"eOverlayWrapper",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(u.Component);e.OverlayWrapperComponent=f},45727:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.STEP_EVERYTHING=0,t.STEP_FILTER=1,t.STEP_SORT=2,t.STEP_MAP=3,t.STEP_AGGREGATE=4,t.STEP_PIVOT=5,t.ROW_BUFFER_SIZE=10,t.LAYOUT_INTERVAL=500,t.BATCH_WAIT_MILLIS=50,t.EXPORT_TYPE_DRAG_COPY="dragCopy",t.EXPORT_TYPE_CLIPBOARD="clipboard",t.EXPORT_TYPE_EXCEL="excel",t.EXPORT_TYPE_CSV="csv",t.KEY_BACKSPACE=8,t.KEY_TAB=9,t.KEY_NEW_LINE=10,t.KEY_ENTER=13,t.KEY_SHIFT=16,t.KEY_ESCAPE=27,t.KEY_SPACE=32,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40,t.KEY_DELETE=46,t.KEY_A=65,t.KEY_C=67,t.KEY_V=86,t.KEY_D=68,t.KEY_F2=113,t.KEY_PAGE_UP=33,t.KEY_PAGE_DOWN=34,t.KEY_PAGE_HOME=36,t.KEY_PAGE_END=35,t.ROW_MODEL_TYPE_INFINITE="infinite",t.ROW_MODEL_TYPE_VIEWPORT="viewport",t.ROW_MODEL_TYPE_CLIENT_SIDE="clientSide",t.ROW_MODEL_TYPE_SERVER_SIDE="serverSide",t.DEPRECATED_ROW_MODEL_TYPE_NORMAL="normal",t.ALWAYS="always",t.ONLY_WHEN_GROUPING="onlyWhenGrouping",t.PINNED_TOP="top",t.PINNED_BOTTOM="bottom",t.DOM_LAYOUT_NORMAL="normal",t.DOM_LAYOUT_PRINT="print",t.DOM_LAYOUT_AUTO_HEIGHT="autoHeight",t.GROUP_AUTO_COLUMN_ID="ag-Grid-AutoColumn",t}();e.Constants=o},46379:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.isPopup=function(){return!0},e}(o(22131).Component);e.PopupComponent=r},47008:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=void 0===o.g?{}:o.g;n.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,n.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,n.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,n.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,n.Node="undefined"==typeof Node?{}:Node,n.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent;var i=o(7897);e.ColumnFactory=i.ColumnFactory;var r=o(98239);e.ColumnController=r.ColumnController;var s=o(69734);e.ColumnKeyCreator=s.ColumnKeyCreator;var a=o(814);e.ColumnUtils=a.ColumnUtils;var l=o(31887);e.DisplayedGroupCreator=l.DisplayedGroupCreator;var p=o(12598);e.GroupInstanceIdCreator=p.GroupInstanceIdCreator;var u=o(97156);e.ComponentUtil=u.ComponentUtil;var c=o(80834);e.ColDefUtil=c.ColDefUtil;var d=o(36777);e.UserComponentRegistry=d.UserComponentRegistry;var h=o(85910);e.UserComponentFactory=h.UserComponentFactory;var f=o(75013);e.initialiseAgGridWithAngular1=f.initialiseAgGridWithAngular1;var g=o(61862);e.initialiseAgGridWithWebComponents=g.initialiseAgGridWithWebComponents;var y=o(8534);e.BeanStub=y.BeanStub;var v=o(72493);e.Context=v.Context,e.Autowired=v.Autowired,e.PostConstruct=v.PostConstruct,e.PreConstruct=v.PreConstruct,e.Optional=v.Optional,e.Bean=v.Bean,e.Qualifier=v.Qualifier,e.PreDestroy=v.PreDestroy;var m=o(47721);e.QuerySelector=m.QuerySelector,e.Listener=m.Listener,e.RefSelector=m.RefSelector;var C=o(58342);e.DragAndDropService=C.DragAndDropService,e.DragSourceType=C.DragSourceType,e.HDirection=C.HDirection,e.VDirection=C.VDirection;var E=o(25230);e.DragService=E.DragService;var w=o(26016);e.Column=w.Column;var _=o(74517);e.ColumnGroup=_.ColumnGroup;var R=o(34782);e.GridCell=R.GridCell;var S=o(3976);e.GridRow=S.GridRow;var O=o(72948);e.OriginalColumnGroup=O.OriginalColumnGroup;var T=o(15068);e.RowNode=T.RowNode;var b=o(13650);e.BaseFilter=b.BaseFilter;var A=o(34255);e.DateFilter=A.DateFilter;var P=o(55e3);e.FilterManager=P.FilterManager;var D=o(92378);e.NumberFilter=D.NumberFilter;var N=o(99104);e.TextFilter=N.TextFilter;var F=o(64229);e.GridPanel=F.GridPanel;var x=o(13887);e.ScrollVisibleService=x.ScrollVisibleService;var I=o(1571);e.MouseEventService=I.MouseEventService;var L=o(20080);e.BodyDropPivotTarget=L.BodyDropPivotTarget;var M=o(69992);e.BodyDropTarget=M.BodyDropTarget;var G=o(34506);e.CssClassApplier=G.CssClassApplier;var k=o(40706);e.HeaderContainer=k.HeaderContainer;var W=o(89929);e.HeaderRootComp=W.HeaderRootComp;var H=o(15774);e.HeaderRowComp=H.HeaderRowComp;var V=o(97177);e.HorizontalResizeService=V.HorizontalResizeService;var B=o(27887);e.MoveColumnController=B.MoveColumnController;var j=o(42726);e.StandardMenuFactory=j.StandardMenuFactory;var U=o(88333);e.TabbedLayout=U.TabbedLayout;var z=o(72955);e.VerticalStack=z.VerticalStack;var Y=o(7760);e.simpleHttpRequest=Y.simpleHttpRequest;var K=o(49281);e.LargeTextCellEditor=K.LargeTextCellEditor;var q=o(15724);e.PopupEditorWrapper=q.PopupEditorWrapper;var Q=o(31923);e.PopupSelectCellEditor=Q.PopupSelectCellEditor;var $=o(5448);e.PopupTextCellEditor=$.PopupTextCellEditor;var X=o(84715);e.SelectCellEditor=X.SelectCellEditor;var Z=o(71616);e.TextCellEditor=Z.TextCellEditor;var J=o(15959);e.AnimateShowChangeCellRenderer=J.AnimateShowChangeCellRenderer;var tt=o(30811);e.AnimateSlideCellRenderer=tt.AnimateSlideCellRenderer;var et=o(79886);e.GroupCellRenderer=et.GroupCellRenderer;var ot=o(38152);e.SetLeftFeature=ot.SetLeftFeature;var nt=o(41832);e.AutoWidthCalculator=nt.AutoWidthCalculator;var it=o(34470);e.CellRendererFactory=it.CellRendererFactory;var rt=o(95125);e.CheckboxSelectionComponent=rt.CheckboxSelectionComponent;var st=o(23054);e.CellComp=st.CellComp;var at=o(19378);e.RowComp=at.RowComp;var lt=o(10042);e.RowRenderer=lt.RowRenderer;var pt=o(93121);e.ValueFormatterService=pt.ValueFormatterService;var ut=o(24048);e.FilterStage=ut.FilterStage;var ct=o(57498);e.FlattenStage=ct.FlattenStage;var dt=o(18954);e.SortStage=dt.SortStage;var ht=o(50580);e.PinnedRowModel=ht.PinnedRowModel;var ft=o(719);e.ClientSideRowModel=ft.ClientSideRowModel;var gt=o(68363);e.ChangedPath=gt.ChangedPath;var yt=o(28771);e.ClientSideNodeManager=yt.ClientSideNodeManager;var vt=o(30971);e.InfiniteRowModel=vt.InfiniteRowModel;var mt=o(44329);e.RowNodeBlock=mt.RowNodeBlock;var Ct=o(84210);e.RowNodeBlockLoader=Ct.RowNodeBlockLoader;var Et=o(41451);e.PaginationProxy=Et.PaginationProxy;var wt=o(65802);e.RowNodeCache=wt.RowNodeCache;var _t=o(66490);e.StylingService=_t.StylingService;var Rt=o(21951);e.AgCheckbox=Rt.AgCheckbox;var St=o(32090);e.PopupWindow=St.PopupWindow;var Ot=o(57322);e.PopupMessageBox=Ot.PopupMessageBox;var Tt=o(22131);e.Component=Tt.Component;var bt=o(46379);e.PopupComponent=bt.PopupComponent;var At=o(73575);e.PopupService=At.PopupService;var Pt=o(66419);e.TouchListener=Pt.TouchListener;var Dt=o(43460);e.CsvCreator=Dt.CsvCreator,e.BaseCreator=Dt.BaseCreator;var Nt=o(33467);e.Downloader=Nt.Downloader;var Ft=o(59873);e.XmlFactory=Ft.XmlFactory;var xt=o(42664);e.BaseGridSerializingSession=xt.BaseGridSerializingSession,e.GridSerializer=xt.GridSerializer;var It=o(42664);e.RowType=It.RowType;var Lt=o(9018);e.ZipContainer=Lt.ZipContainer;var Mt=o(86895);e.BaseFrameworkFactory=Mt.BaseFrameworkFactory;var Gt=o(38427);e.CellNavigationService=Gt.CellNavigationService;var kt=o(10190);e.AlignedGridsService=kt.AlignedGridsService;var Wt=o(45727);e.Constants=Wt.Constants;var Ht=o(65360);e.Grid=Ht.Grid;var Vt=o(40797);e.GridApi=Vt.GridApi;var Bt=o(85222);e.Events=Bt.Events;var jt=o(42195);e.FocusedCellController=jt.FocusedCellController;var Ut=o(44859);e.defaultGroupComparator=Ut.defaultGroupComparator;var zt=o(44081);e.GridOptionsWrapper=zt.GridOptionsWrapper;var Yt=o(60843);e.EventService=Yt.EventService;var Kt=o(4889);e.SelectableService=Kt.SelectableService;var qt=o(81999);e.GridCore=qt.GridCore;var Qt=o(37132);e.Logger=Qt.Logger;var $t=o(54828);e.SelectionController=$t.SelectionController;var Xt=o(86608);e.SortController=Xt.SortController;var Zt=o(92427);e.TemplateService=Zt.TemplateService;var Jt=o(83423);e.Utils=Jt.Utils,e.NumberSequence=Jt.NumberSequence,e._=Jt._,e.Promise=Jt.Promise;var te=o(24463);e.ValueService=te.ValueService;var ee=o(40634);e.ExpressionService=ee.ExpressionService;var oe=o(37132);e.LoggerFactory=oe.LoggerFactory;var ne=o(44871);e.ColumnApi=ne.ColumnApi;var ie=o(52814);e.BaseComponentWrapper=ie.BaseComponentWrapper;var re=o(59007);e.Environment=re.Environment;var se=o(39984);e.TooltipManager=se.TooltipManager},47375:(t,e,o)=>{var n=o(72994).Token;function i(t,e){return this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,function(t){if(t._index=0,t.data=[],t.decodeToUnicodeCodePoints)for(var e=0;e<t.strdata.length;){var o=t.strdata.codePointAt(e);t.data.push(o),e+=o<=65535?1:2}else for(e=0;e<t.strdata.length;e++){var n=t.strdata.charCodeAt(e);t.data.push(n)}t._size=t.data.length}(this),this}o(51184),o(59198),Object.defineProperty(i.prototype,"index",{get:function(){return this._index}}),Object.defineProperty(i.prototype,"size",{get:function(){return this._size}}),i.prototype.reset=function(){this._index=0},i.prototype.consume=function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1},i.prototype.LA=function(t){if(0===t)return 0;t<0&&(t+=1);var e=this._index+t-1;return e<0||e>=this._size?n.EOF:this.data[e]},i.prototype.LT=function(t){return this.LA(t)},i.prototype.mark=function(){return-1},i.prototype.release=function(t){},i.prototype.seek=function(t){t<=this._index?this._index=t:this._index=Math.min(t,this._size)},i.prototype.getText=function(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var o="",n=t;n<=e;n++)o+=String.fromCodePoint(this.data[n]);return o}return this.strdata.slice(t,e+1)},i.prototype.toString=function(){return this.strdata},e.InputStream=i},47721:(t,e)=>{function o(t,e,o,n){null!==t?"number"!=typeof n?r(e,"querySelectors",{attributeName:o,querySelector:t}):console.error("ag-Grid: QuerySelector should be on an attribute"):console.error("ag-Grid: QuerySelector selector should not be null")}function n(t,e,o){null!==t?r(e,"listenerMethods",{methodName:o,eventName:t}):console.error("ag-Grid: EventListener eventName should not be null")}function i(t,e,o){null!==t?r(e,"methods",{methodName:o,alias:t}):console.error("ag-Grid: EventListener eventName should not be null")}function r(t,e,o){var n=function(t,e){return t.__agComponentMetaData||(t.__agComponentMetaData={}),t.__agComponentMetaData[e]||(t.__agComponentMetaData[e]={}),t.__agComponentMetaData[e]}(t,t.constructor.name);n[e]||(n[e]=[]),n[e].push(o)}Object.defineProperty(e,"__esModule",{value:!0}),e.QuerySelector=function(t){return o.bind(this,t)},e.RefSelector=function(t){return o.bind(this,"[ref="+t+"]")},e.Listener=function(t){return n.bind(this,t)},e.Method=function(t){return i.bind(this,t)}},48011:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(83423),l=function(){function t(t){this.childCount=0,this.rowTemplatesToAdd=[],this.afterGuiAttachedCallbacks=[],this.lastMadeVisibleTime=0,this.eContainer=t.eContainer,this.eViewport=t.eViewport,t.eWrapper&&(this.eWrapper=t.eWrapper),this.hideWhenNoChildren=t.hideWhenNoChildren}return t.prototype.setVerticalScrollPosition=function(t){this.scrollTop=t},t.prototype.postConstruct=function(){this.checkDomOrder(),this.checkVisibility(),this.gridOptionsWrapper.addEventListener(s.GridOptionsWrapper.PROP_DOM_LAYOUT,this.checkDomOrder.bind(this))},t.prototype.checkDomOrder=function(){this.domOrder=this.gridOptionsWrapper.isEnsureDomOrder()},t.prototype.getRowElement=function(t){return this.eContainer.querySelector('[comp-id="'+t+'"]')},t.prototype.setHeight=function(t){null!=t?(this.eContainer.style.height=t+"px",this.eWrapper&&(this.eWrapper.style.height=t+"px")):this.eContainer.style.height=""},t.prototype.flushRowTemplates=function(){if(0!==this.rowTemplatesToAdd.length){var t=this.rowTemplatesToAdd.join("");a._.appendHtml(this.eContainer,t),this.rowTemplatesToAdd.length=0}this.afterGuiAttachedCallbacks.forEach((function(t){return t()})),this.afterGuiAttachedCallbacks.length=0,this.lastPlacedElement=null},t.prototype.appendRowTemplate=function(t,e){this.domOrder?this.lastPlacedElement=a._.insertTemplateWithDomOrder(this.eContainer,t,this.lastPlacedElement):this.rowTemplatesToAdd.push(t),this.afterGuiAttachedCallbacks.push(e),this.childCount++,this.checkVisibility()},t.prototype.ensureDomOrder=function(t){this.domOrder&&(a._.ensureDomOrder(this.eContainer,t,this.lastPlacedElement),this.lastPlacedElement=t)},t.prototype.removeRowElement=function(t){this.eContainer.removeChild(t),this.childCount--,this.checkVisibility()},t.prototype.checkVisibility=function(){if(this.hideWhenNoChildren){var t=this.eViewport?this.eViewport:this.eContainer,e=this.childCount>0;this.visible!==e&&(this.visible=e,this.lastMadeVisibleTime=(new Date).getTime(),a._.setVisible(t,e),e&&this.eViewport&&(this.eViewport.scrollTop=this.scrollTop))}},t.prototype.isMadeVisibleRecently=function(){return(new Date).getTime()-this.lastMadeVisibleTime<500},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"postConstruct",null),t}();e.RowContainerComponent=l},48898:(t,e,o)=>{var n=o(72994).Token,i=o(70040).Interval,r=new i(-1,-2);function s(){return this}function a(){return s.call(this),this}function l(){return a.call(this),this}function p(){return l.call(this),this}function u(){return l.call(this),this}function c(){return u.call(this),this}function d(){return this}function h(){return this}function f(t){return u.call(this),this.parentCtx=null,this.symbol=t,this}function g(t){return f.call(this,t),this}function y(){return this}o(66346),a.prototype=Object.create(s.prototype),a.prototype.constructor=a,l.prototype=Object.create(a.prototype),l.prototype.constructor=l,p.prototype=Object.create(l.prototype),p.prototype.constructor=p,u.prototype=Object.create(l.prototype),u.prototype.constructor=u,c.prototype=Object.create(u.prototype),c.prototype.constructor=c,d.prototype.visit=function(t){return Array.isArray(t)?t.map((function(t){return t.accept(this)}),this):t.accept(this)},d.prototype.visitChildren=function(t){return t.children?this.visit(t.children):null},d.prototype.visitTerminal=function(t){},d.prototype.visitErrorNode=function(t){},h.prototype.visitTerminal=function(t){},h.prototype.visitErrorNode=function(t){},h.prototype.enterEveryRule=function(t){},h.prototype.exitEveryRule=function(t){},f.prototype=Object.create(u.prototype),f.prototype.constructor=f,f.prototype.getChild=function(t){return null},f.prototype.getSymbol=function(){return this.symbol},f.prototype.getParent=function(){return this.parentCtx},f.prototype.getPayload=function(){return this.symbol},f.prototype.getSourceInterval=function(){if(null===this.symbol)return r;var t=this.symbol.tokenIndex;return new i(t,t)},f.prototype.getChildCount=function(){return 0},f.prototype.accept=function(t){return t.visitTerminal(this)},f.prototype.getText=function(){return this.symbol.text},f.prototype.toString=function(){return this.symbol.type===n.EOF?"<EOF>":this.symbol.text},g.prototype=Object.create(f.prototype),g.prototype.constructor=g,g.prototype.isErrorNode=function(){return!0},g.prototype.accept=function(t){return t.visitErrorNode(this)},y.prototype.walk=function(t,e){if(e instanceof c||void 0!==e.isErrorNode&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof u)t.visitTerminal(e);else{this.enterRule(t,e);for(var o=0;o<e.getChildCount();o++){var n=e.getChild(o);this.walk(t,n)}this.exitRule(t,e)}},y.prototype.enterRule=function(t,e){var o=e.getRuleContext();t.enterEveryRule(o),o.enterRule(t)},y.prototype.exitRule=function(t,e){var o=e.getRuleContext();o.exitRule(t),t.exitEveryRule(o)},y.DEFAULT=new y,e.RuleNode=p,e.ErrorNode=c,e.TerminalNode=u,e.ErrorNodeImpl=g,e.TerminalNodeImpl=f,e.ParseTreeListener=h,e.ParseTreeVisitor=d,e.ParseTreeWalker=y,e.INVALID_INTERVAL=r},48966:(t,e,o)=>{e.RecognitionException=o(86587).RecognitionException,e.NoViableAltException=o(86587).NoViableAltException,e.LexerNoViableAltException=o(86587).LexerNoViableAltException,e.InputMismatchException=o(86587).InputMismatchException,e.FailedPredicateException=o(86587).FailedPredicateException,e.DiagnosticErrorListener=o(58369).DiagnosticErrorListener,e.BailErrorStrategy=o(24429).BailErrorStrategy,e.ErrorListener=o(93343).ErrorListener},49281:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(46379),s=o(45727),a=o(83423),l=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.init=function(t){this.params=t,this.focusAfterAttached=t.cellStartedEdit,this.textarea=document.createElement("textarea"),this.textarea.maxLength=t.maxLength?t.maxLength:"200",this.textarea.cols=t.cols?t.cols:"60",this.textarea.rows=t.rows?t.rows:"10",a._.exists(t.value)&&(this.textarea.value=t.value.toString()),this.getGui().querySelector(".ag-large-textarea").appendChild(this.textarea),this.addGuiEventListener("keydown",this.onKeyDown.bind(this))},e.prototype.onKeyDown=function(t){var e=t.which||t.keyCode;(e==s.Constants.KEY_LEFT||e==s.Constants.KEY_UP||e==s.Constants.KEY_RIGHT||e==s.Constants.KEY_DOWN||t.shiftKey&&e==s.Constants.KEY_ENTER)&&t.stopPropagation()},e.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.textarea.focus()},e.prototype.getValue=function(){return this.params.parseValue(this.textarea.value)},e.TEMPLATE='<div class="ag-large-text" tabindex="0"><div class="ag-large-textarea"></div></div>',e}(r.PopupComponent);e.LargeTextCellEditor=l},49498:(t,e,o)=>{e.AgGridReact=o(83684).AgGridReact,o(85397).AgGridColumn},49871:(t,e,o)=>{e.atn=o(26597),e.codepointat=o(51184),e.dfa=o(16569),e.fromcodepoint=o(59198),e.tree=o(69036),e.error=o(48966),e.Token=o(72994).Token,e.CharStreams=o(21058).CharStreams,e.CommonToken=o(72994).CommonToken,e.InputStream=o(47375).InputStream,e.FileStream=o(4349).FileStream,e.CommonTokenStream=o(18949).CommonTokenStream,e.Lexer=o(18393).Lexer,e.Parser=o(36464).Parser;var n=o(10559);e.PredictionContextCache=n.PredictionContextCache,e.ParserRuleContext=o(29499).ParserRuleContext,e.Interval=o(70040).Interval,e.Utils=o(66346)},50298:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=function(t){function e(){return t.call(this)||this}return i(e,t),e.prototype.init=function(t){var o=this.gridOptionsWrapper.getOverlayNoRowsTemplate()?this.gridOptionsWrapper.getOverlayNoRowsTemplate():e.DEFAULT_NO_ROWS_TEMPLATE,n=this.gridOptionsWrapper.getLocaleTextFunc(),i=o.replace("[NO_ROWS_TO_SHOW]",n("noRowsToShow","No Rows To Show"));this.setTemplate(i)},e.DEFAULT_NO_ROWS_TEMPLATE='<span class="ag-overlay-no-rows-center">[NO_ROWS_TO_SHOW]</span>',r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(o(22131).Component);e.NoRowsOverlayComponent=p},50580:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(15068),a=o(72493),l=o(60843),p=o(63405),u=o(45727),c=o(44871),d=o(40797),h=o(83423),f=function(){function t(){}return t.prototype.init=function(){this.setPinnedTopRowData(this.gridOptionsWrapper.getPinnedTopRowData()),this.setPinnedBottomRowData(this.gridOptionsWrapper.getPinnedBottomRowData())},t.prototype.isEmpty=function(t){var e=t===u.Constants.PINNED_TOP?this.pinnedTopRows:this.pinnedBottomRows;return h._.missingOrEmpty(e)},t.prototype.isRowsToRender=function(t){return!this.isEmpty(t)},t.prototype.getRowAtPixel=function(t,e){var o=e===u.Constants.PINNED_TOP?this.pinnedTopRows:this.pinnedBottomRows;if(h._.missingOrEmpty(o))return 0;for(var n=0;n<o.length;n++){var i=o[n];if(i.rowTop+i.rowHeight-1>=t)return n}return o.length-1},t.prototype.setPinnedTopRowData=function(t){this.pinnedTopRows=this.createNodesFromData(t,!0);var e={type:p.Events.EVENT_PINNED_ROW_DATA_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},t.prototype.setPinnedBottomRowData=function(t){this.pinnedBottomRows=this.createNodesFromData(t,!1);var e={type:p.Events.EVENT_PINNED_ROW_DATA_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},t.prototype.createNodesFromData=function(t,e){var o=this,n=[];if(t){var i=0;t.forEach((function(t,r){var a=new s.RowNode;o.context.wireBean(a),a.data=t,a.rowPinned=e?u.Constants.PINNED_TOP:u.Constants.PINNED_BOTTOM,a.setRowTop(i),a.setRowHeight(o.gridOptionsWrapper.getRowHeightForNode(a).height),a.setRowIndex(r),i+=a.rowHeight,n.push(a)}))}return n},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(t){return this.pinnedTopRows[t]},t.prototype.getPinnedBottomRow=function(t){return this.pinnedBottomRows[t]},t.prototype.forEachPinnedTopRow=function(t){h._.missingOrEmpty(this.pinnedTopRows)||this.pinnedTopRows.forEach(t)},t.prototype.forEachPinnedBottomRow=function(t){h._.missingOrEmpty(this.pinnedBottomRows)||this.pinnedBottomRows.forEach(t)},t.prototype.getPinnedBottomTotalHeight=function(){return this.getTotalHeight(this.pinnedBottomRows)},t.prototype.getTotalHeight=function(t){if(t&&0!==t.length){var e=t[t.length-1];return e.rowTop+e.rowHeight}return 0},n([a.Autowired("gridOptionsWrapper"),i("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([a.Autowired("eventService"),i("design:type",l.EventService)],t.prototype,"eventService",void 0),n([a.Autowired("context"),i("design:type",a.Context)],t.prototype,"context",void 0),n([a.Autowired("columnApi"),i("design:type",c.ColumnApi)],t.prototype,"columnApi",void 0),n([a.Autowired("gridApi"),i("design:type",d.GridApi)],t.prototype,"gridApi",void 0),n([a.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([a.Bean("pinnedRowModel")],t)}();e.PinnedRowModel=f},50659:(t,e,o)=>{var n=o(6617),i=o(76966),r=function(t){return i({},t)},s=o(80922),a=o(69140),l=o(60598),p=o(79682),u=o(46406),c=o(54200),d=o(72639),h=o(46971),f=o(70251),g=o(38275),y=o(64398),v=o(77504),m=o(93567),C=o(35040),E=o(39418),w=/^change:/,_=function(){};function R(t,e){e||(e={}),this.cid||(this.cid=n("state")),this._events={},this._values={},this._eventBubblingHandlerCache={},this._definition=Object.create(this._definition),e.parse&&(t=this.parse(t,e)),this.parent=e.parent,this.collection=e.collection,this._keyTree=new C,this._initCollections(),this._initChildren(),this._cache={},this._previousAttributes={},t&&this.set(t,i({silent:!0,initial:!0},e)),this._changed={},this._derived&&this._initDerived(),!1!==e.init&&this.initialize.apply(this,arguments)}function S(t,e,o,n){var i,r,s=t._definition[e]={};if(u(o))(i=t._ensureValidType(o))&&(s.type=i);else{if(Array.isArray(o)&&(o={type:(r=o)[0],required:r[1],default:r[2]}),(i=t._ensureValidType(o.type))&&(s.type=i),o.required&&(s.required=!0),o.default&&"object"==typeof o.default)throw new TypeError("The default value for "+e+" cannot be an object/array, must be a value or a function which returns a value/object/array");s.default=o.default,s.allowNull=!!o.allowNull&&o.allowNull,o.setOnce&&(s.setOnce=!0),s.required&&void 0===s.default&&!s.setOnce&&(s.default=t._getDefaultForType(i)),s.test=o.test,s.values=o.values}return n&&(s.session=!0),i||(i=u(o)?o:o.type,console.warn("Invalid data type of `"+i+"` for `"+e+"` property. Use one of the default types or define your own")),Object.defineProperty(t,e,{set:function(t){this.set(e,t)},get:function(){if(!this._values)throw Error('You may be trying to `extend` a state object with "'+e+'" which has been defined in `props` on the object being extended');var t=this._values[e],o=this._dataTypes[s.type];if(void 0!==t)return o&&o.get&&(t=o.get(t)),t;var n=y(s,"default");return this._values[e]=n,void 0!==n&&this._getOnChangeForType(s.type)(n,t,e),n}}),s}function O(t,e,o){(t._derived[e]={fn:h(o)?o:o.fn,cache:!1!==o.cache,depList:o.deps||[]}).depList.forEach((function(o){t._deps[o]=v(t._deps[o]||[],[e])})),Object.defineProperty(t,e,{get:function(){return this._getDerivedProperty(e)},set:function(){throw new TypeError("`"+e+"` is a derived property, it can't be set directly.")}})}i(R.prototype,m,{extraProperties:"ignore",idAttribute:"id",namespaceAttribute:"namespace",typeAttribute:"modelType",initialize:function(){return this},getId:function(){return this[this.idAttribute]},getNamespace:function(){return this[this.namespaceAttribute]},getType:function(){return this[this.typeAttribute]},isNew:function(){return null==this.getId()},escape:function(t){return a(this.get(t))},isValid:function(t){return this._validate({},i(t||{},{validate:!0}))},parse:function(t,e){return t},serialize:function(t){var e=i({props:!0},t),o=this.getAttributes(e,!0),n=function(t,e){o[e]=this[e].serialize()}.bind(this);return l(this._children,n),l(this._collections,n),o},set:function(t,e,o){var n,i,r,s,a,l,u,d,h,f,g,v,m,C,E,w,_,R=this,S=this.extraProperties;if(c(t)||null===t?(h=t,o=e):(h={})[t]=e,o=o||{},!this._validate(h,o))return!1;v=o.unset,g=o.silent,C=o.initial,n=this._changing,this._changing=!0,i=[],C?this._previousAttributes={}:n||(this._previousAttributes=this.attributes,this._changed={});for(var O=0,T=Object.keys(h),b=T.length;O<b;O++){if(r=typeof(s=h[d=T[O]]),m=this._values[d],!(a=this._definition[d])){if(this._children[d]||this._collections[d]){c(s)||(s={}),this[d].set(s,o);continue}if("ignore"===S)continue;if("reject"===S)throw new TypeError('No "'+d+'" property defined on '+(this.type||"this")+' model and extraProperties not set to "ignore" or "allow"');if("allow"===S)a=this._createPropertyDefinition(d,"any");else if(S)throw new TypeError('Invalid value for extraProperties: "'+S+'"')}if(w=this._getCompareForType(a.type),_=this._getOnChangeForType(a.type),(f=this._dataTypes[a.type])&&f.set&&(s=(l=f.set(s)).val,r=l.type),a.test&&(u=a.test.call(this,s,r)))throw new TypeError("Property '"+d+"' failed validation with error: "+u);if(void 0===s&&a.required)throw new TypeError("Required property '"+d+"' must be of type "+a.type+". Tried to set "+s);if(null===s&&a.required&&!a.allowNull)throw new TypeError("Property '"+d+"' must be of type "+a.type+" (cannot be null). Tried to set "+s);if(a.type&&"any"!==a.type&&a.type!==r&&null!=s)throw new TypeError("Property '"+d+"' must be of type "+a.type+". Tried to set "+s);if(a.values&&!p(a.values,s)){var A=y(a,"default");if(v&&void 0!==A)s=A;else if(!v||v&&void 0!==s)throw new TypeError("Property '"+d+"' must be one of values: "+a.values.join(", ")+". Tried to set "+s)}if(E=C||!w(m,s,d),a.setOnce&&void 0!==m&&E)throw new TypeError("Property '"+d+"' can only be set once.");E?(_(s,m,d),C||(this._changed[d]=s,this._previousAttributes[d]=m,v&&delete this._values[d],g||i.push({prev:m,val:s,key:d})),v||(this._values[d]=s)):delete this._changed[d]}if(i.length&&(this._pending=!0),i.forEach((function(t){R.trigger("change:"+t.key,R,t.val,o)})),n)return this;for(;this._pending;)this._pending=!1,this.trigger("change",this,o);return this._pending=!1,this._changing=!1,this},get:function(t){return this[t]},toggle:function(t){var e=this._definition[t];if("boolean"===e.type)this[t]=!this[t];else{if(!e||!e.values)throw new TypeError("Can only toggle properties that are type `boolean` or have `values` array.");this[t]=E(e.values,this[t])}return this},previousAttributes:function(){return r(this._previousAttributes)},hasChanged:function(t){return null==t?!!Object.keys(this._changed).length:g(this._derived,t)?this._derived[t].depList.some((function(t){return this.hasChanged(t)}),this):g(this._changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&r(this._changed);var e,o,n=!1,i=this._changing?this._previousAttributes:this.attributes;for(var s in t)(o=this._definition[s])&&(this._getCompareForType(o.type)(i[s],e=t[s])||((n||(n={}))[s]=e));return n},toJSON:function(){return this.serialize()},unset:function(t,e){var o=this;(t=Array.isArray(t)?t:[t]).forEach((function(t){var n,r=o._definition[t];if(r)return r.required?(n=y(r,"default"),o.set(t,n,e)):o.set(t,n,i({},e,{unset:!0}))}))},clear:function(t){var e=this;return Object.keys(this.attributes).forEach((function(o){e.unset(o,t)})),this},previous:function(t){return null!=t&&Object.keys(this._previousAttributes).length?this._previousAttributes[t]:null},_getDefaultForType:function(t){var e=this._dataTypes[t];return e&&e.default},_getCompareForType:function(t){var e=this._dataTypes[t];return e&&e.compare?e.compare.bind(this):f},_getOnChangeForType:function(t){var e=this._dataTypes[t];return e&&e.onChange?e.onChange.bind(this):_},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=i({},this.attributes,t);var o=this.validationError=this.validate(t,e)||null;return!o||(this.trigger("invalid",this,o,i(e||{},{validationError:o})),!1)},_createPropertyDefinition:function(t,e,o){return S(this,t,e,o)},_ensureValidType:function(t){return p(["string","number","boolean","array","object","date","state","any"].concat(Object.keys(this._dataTypes)),t)?t:void 0},getAttributes:function(t,e){t=i({session:!1,props:!1,derived:!1},t||{});var o,n,r={};for(var s in this._definition)n=this._definition[s],(t.session&&n.session||t.props&&!n.session)&&(o=e?this._values[s]:this[s],e&&o&&h(o.serialize)&&(o=o.serialize()),void 0===o&&(o=y(n,"default")),void 0!==o&&(r[s]=o));if(t.derived)for(var a in this._derived)r[a]=this[a];return r},_initDerived:function(){var t=this;l(this._derived,(function(e,o){var n=t._derived[o];n.deps=n.depList;var i=function(){var e=n.fn.call(t);t._cache[o]===e&&n.cache||(n.cache&&(t._previousAttributes[o]=t._cache[o]),t._cache[o]=e,t.trigger("change:"+o,t,t._cache[o]))};n.deps.forEach((function(e){t._keyTree.add(e,i)}))})),this.on("all",(function(e){w.test(e)&&t._keyTree.get(e.split(":")[1]).forEach((function(t){t()}))}),this)},_getDerivedProperty:function(t,e){return this._derived[t].cache?(!e&&this._cache.hasOwnProperty(t)||(this._cache[t]=this._derived[t].fn.apply(this)),this._cache[t]):this._derived[t].fn.apply(this)},_initCollections:function(){var t;if(this._collections)for(t in this._collections)this._safeSet(t,new this._collections[t](null,{parent:this}))},_initChildren:function(){var t;if(this._children)for(t in this._children)this._safeSet(t,new this._children[t]({},{parent:this})),this.listenTo(this[t],"all",this._getCachedEventBubblingHandler(t))},_getCachedEventBubblingHandler:function(t){return this._eventBubblingHandlerCache[t]||(this._eventBubblingHandlerCache[t]=function(e,o,n){w.test(e)?this.trigger("change:"+t+"."+e.split(":")[1],o,n):"change"===e&&this.trigger("change",this)}.bind(this)),this._eventBubblingHandlerCache[t]},_verifyRequired:function(){var t=this.attributes;for(var e in this._definition)if(this._definition[e].required&&void 0===t[e])return!1;return!0},_safeSet:function(t,e){if(t in this)throw new Error("Encountered namespace collision while setting instance property `"+t+"`");return this[t]=e,this}}),Object.defineProperties(R.prototype,{attributes:{get:function(){return this.getAttributes({props:!0,session:!0})}},all:{get:function(){return this.getAttributes({session:!0,props:!0,derived:!0})}},isState:{get:function(){return!0},set:function(){}}});var T={string:{default:function(){return""}},date:{set:function(t){var e;if(null==t)e="object";else if(d(t))e="date",t=t.valueOf();else{var o=null,n=new Date(t).valueOf();isNaN(n)&&(n=new Date(parseInt(t,10)).valueOf(),isNaN(n)&&(o=!0)),t=n,e="date",o&&(e=typeof t)}return{val:t,type:e}},get:function(t){return null==t?t:new Date(t)},default:function(){return new Date}},array:{set:function(t){return{val:t,type:Array.isArray(t)?"array":typeof t}},default:function(){return[]}},object:{set:function(t){var e=typeof t;return"object"!==e&&void 0===t&&(t=null,e="object"),{val:t,type:e}},default:function(){return{}}},state:{set:function(t){return t instanceof R||t&&t.isState?{val:t,type:"state"}:{val:t,type:typeof t}},compare:function(t,e){return t===e},onChange:function(t,e,o){e&&this.stopListening(e,"all",this._getCachedEventBubblingHandler(o)),null!=t&&this.listenTo(t,"all",this._getCachedEventBubblingHandler(o))}}};R.extend=function(t){var e,o=this;e=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return o.apply(this,arguments)},i(e,o);var n=function(){this.constructor=e};if(n.prototype=o.prototype,e.prototype=new n,e.prototype._derived=i({},o.prototype._derived),e.prototype._deps=i({},o.prototype._deps),e.prototype._definition=i({},o.prototype._definition),e.prototype._collections=i({},o.prototype._collections),e.prototype._children=i({},o.prototype._children),e.prototype._dataTypes=i({},o.prototype._dataTypes||T),t)for(var r=["dataTypes","props","session","derived","collections","children"],a=0;a<arguments.length;a++){var p=arguments[a];p.dataTypes&&l(p.dataTypes,(function(t,o){e.prototype._dataTypes[o]=t})),p.props&&l(p.props,(function(t,o){S(e.prototype,o,t)})),p.session&&l(p.session,(function(t,o){S(e.prototype,o,t,!0)})),p.derived&&l(p.derived,(function(t,o){O(e.prototype,o,t)})),p.collections&&l(p.collections,(function(t,o){e.prototype._collections[o]=t})),p.children&&l(p.children,(function(t,o){e.prototype._children[o]=t})),i(e.prototype,s(p,r))}return e.__super__=o.prototype,e},t.exports=R},51028:(t,e,o)=>{var n=o(23234).a,i=o(70040).m;function r(t,e){return this.grammarType=t,this.maxTokenType=e,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[],this}r.prototype.nextTokensInContext=function(t,e){return new n(this).LOOK(t,null,e)},r.prototype.nextTokensNoContext=function(t){return null!==t.nextTokenWithinRule||(t.nextTokenWithinRule=this.nextTokensInContext(t,null),t.nextTokenWithinRule.readOnly=!0),t.nextTokenWithinRule},r.prototype.nextTokens=function(t,e){return void 0===e?this.nextTokensNoContext(t):this.nextTokensInContext(t,e)},r.prototype.addState=function(t){null!==t&&(t.atn=this,t.stateNumber=this.states.length),this.states.push(t)},r.prototype.removeState=function(t){this.states[t.stateNumber]=null},r.prototype.defineDecisionState=function(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,t.decision},r.prototype.getDecisionState=function(t){return 0===this.decisionToState.length?null:this.decisionToState[t]};var s=o(72994).Token;r.prototype.getExpectedTokens=function(t,e){if(t<0||t>=this.states.length)throw"Invalid state number.";var o=this.states[t],n=this.nextTokens(o);if(!n.contains(s.EPSILON))return n;var r=new i;for(r.addSet(n),r.removeOne(s.EPSILON);null!==e&&e.invokingState>=0&&n.contains(s.EPSILON);){var a=this.states[e.invokingState].transitions[0];n=this.nextTokens(a.followState),r.addSet(n),r.removeOne(s.EPSILON),e=e.parentCtx}return n.contains(s.EPSILON)&&r.addOne(s.EOF),r},r.INVALID_ALT_NUMBER=0,e.ATN=r},51184:()=>{var t,e;String.prototype.codePointAt||(e=function(t){if(null==this)throw TypeError();var e=String(this),o=e.length,n=t?Number(t):0;if(n!=n&&(n=0),!(n<0||n>=o)){var i,r=e.charCodeAt(n);return r>=55296&&r<=56319&&o>n+1&&(i=e.charCodeAt(n+1))>=56320&&i<=57343?1024*(r-55296)+i-56320+65536:r}},(t=function(){try{var t={},e=Object.defineProperty,o=e(t,t,t)&&e}catch(t){}return o}())?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e)},51596:(t,e)=>{function o(){}o.LEXER=0,o.PARSER=1,e.E=o},51755:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(8534),l=o(72493),p=o(60843),u=o(85222),c=o(83423),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.scrollY=0,e.uiBodyHeight=0,e}return i(e,t),e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.eventService,u.Events.EVENT_BODY_HEIGHT_CHANGED,this.updateOffset.bind(this)),this.scrollBarWidth=c._.getScrollbarWidth(),this.maxDivHeight=c._.getMaxDivHeight()},e.prototype.registerGridComp=function(t){this.gridPanel=t},e.prototype.isScaling=function(){return this.scaling},e.prototype.getOffset=function(){return this.offset},e.prototype.updateOffset=function(){if(this.scaling){var t=this.gridPanel.getVScrollPosition().top,e=this.getUiBodyHeight();(t!==this.scrollY||e!==this.uiBodyHeight)&&(this.scrollY=t,this.uiBodyHeight=e,this.calculateOffset())}},e.prototype.calculateOffset=function(){this.uiContainerHeight=this.maxDivHeight,this.pixelsToShave=this.modelHeight-this.uiContainerHeight,this.maxScrollY=this.uiContainerHeight-this.uiBodyHeight;var t=this.scrollY/this.maxScrollY;this.setOffset(t*this.pixelsToShave)},e.prototype.clearOffset=function(){this.uiContainerHeight=this.modelHeight,this.pixelsToShave=0,this.setOffset(0)},e.prototype.setOffset=function(t){var e="number"==typeof t?Math.floor(t):null;this.offset!==e&&(this.offset=e,this.eventService.dispatchEvent({type:u.Events.EVENT_HEIGHT_SCALE_CHANGED}))},e.prototype.setModelHeight=function(t){this.modelHeight=t,this.scaling=this.maxDivHeight>0&&t>this.maxDivHeight,this.scaling?this.calculateOffset():this.clearOffset()},e.prototype.getUiContainerHeight=function(){return this.uiContainerHeight},e.prototype.getRealPixelPosition=function(t){return t-this.offset},e.prototype.getUiBodyHeight=function(){var t=this.gridPanel.getVScrollPosition();return t.bottom-t.top},e.prototype.getScrollPositionForPixel=function(t){if(this.pixelsToShave<=0)return t;var e=t/(this.modelHeight-this.getUiBodyHeight());return this.maxScrollY*e},r([l.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([l.Bean("maxDivHeightScaler")],e)}(a.BeanStub);e.MaxDivHeightScaler=d},52814:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.prototype.wrap=function(t,e,o,n){var i=this;void 0===o&&(o=[]);var r=this.createWrapper(t,n);return e.forEach((function(t){i.createMethod(r,t,!0)})),o.forEach((function(t){i.createMethod(r,t,!1)})),r},t.prototype.createMethod=function(t,e,o){t.addMethod(e,this.createMethodProxy(t,e,o))},t.prototype.createMethodProxy=function(t,e,o){return function(){return t.hasMethod(e)?t.callMethod(e,arguments):(o&&console.warn("ag-Grid: Framework component is missing the method "+e+"()"),null)}},t}();e.BaseComponentWrapper=o},54072:(t,e,o)=>{var n=o(25003),i=o(55128).Reporter,r=o(67787).Buffer;function s(t,e){i.call(this,e),r.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function a(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return t instanceof a||(t=new a(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=r.byteLength(t);else{if(!r.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}n(s,i),e.t=s,s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(t){var e=new s(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var o=new s(this.base);return o._reporterState=this._reporterState,o.offset=this.offset,o.length=this.offset+t,this.offset+=t,o},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.d=a,a.prototype.join=function(t,e){return t||(t=new r(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(o){o.join(t,e),e+=o.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):r.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},54828:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(72493),a=o(72493),l=o(37132),p=o(60843),u=o(63405),c=o(72493),d=o(44081),h=o(72493),f=o(45727),g=o(44871),y=o(40797),v=o(83423),m=o(68363),C=function(){function t(){}return t.prototype.setBeans=function(t){this.logger=t.create("SelectionController"),this.reset(),this.gridOptionsWrapper.isRowModelDefault()?this.eventService.addEventListener(u.Events.EVENT_ROW_DATA_CHANGED,this.reset.bind(this)):this.logger.log("dont know what to do here")},t.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.eventService.addEventListener(u.Events.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))},t.prototype.setLastSelectedNode=function(t){this.lastSelectedNode=t},t.prototype.getLastSelectedNode=function(){return this.lastSelectedNode},t.prototype.getSelectedNodes=function(){var t=[];return v._.iterateObject(this.selectedNodes,(function(e,o){o&&t.push(o)})),t},t.prototype.getSelectedRows=function(){var t=[];return v._.iterateObject(this.selectedNodes,(function(e,o){o&&o.data&&t.push(o.data)})),t},t.prototype.removeGroupsFromSelection=function(){var t=this;v._.iterateObject(this.selectedNodes,(function(e,o){o&&o.group&&(t.selectedNodes[o.id]=void 0)}))},t.prototype.updateGroupsFromChildrenSelections=function(t){if(this.gridOptionsWrapper.isGroupSelectsChildren()&&this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE){var e=this.rowModel.getRootNode();t||(t=new m.ChangedPath(!0,e)).setInactive(),t.forEachChangedNodeDepthFirst((function(t){t!==e&&t.calculateSelectedFromChildren()}))}},t.prototype.getNodeForIdIfSelected=function(t){return this.selectedNodes[t]},t.prototype.clearOtherNodes=function(t){var e=this,o={},n=0;return v._.iterateObject(this.selectedNodes,(function(i,r){if(r&&r.id!==t.id){var s=e.selectedNodes[r.id];n+=s.setSelectedParams({newValue:!1,clearSelection:!1,suppressFinishActions:!0}),e.groupSelectsChildren&&r.parent&&(o[r.parent.id]=r.parent)}})),v._.iterateObject(o,(function(t,e){e.calculateSelectedFromChildren()})),n},t.prototype.onRowSelected=function(t){var e=t.node;this.groupSelectsChildren&&e.group||(e.isSelected()?this.selectedNodes[e.id]=e:this.selectedNodes[e.id]=void 0)},t.prototype.syncInRowNode=function(t,e){this.syncInOldRowNode(t,e),this.syncInNewRowNode(t)},t.prototype.syncInOldRowNode=function(t,e){v._.exists(e)&&t.id!==e.id&&v._.exists(this.selectedNodes[e.id])&&(this.selectedNodes[e.id]=e)},t.prototype.syncInNewRowNode=function(t){v._.exists(this.selectedNodes[t.id])?(t.setSelectedInitialValue(!0),this.selectedNodes[t.id]=t):t.setSelectedInitialValue(!1)},t.prototype.reset=function(){this.logger.log("reset"),this.selectedNodes={},this.lastSelectedNode=null},t.prototype.getBestCostNodeSelection=function(){this.rowModel.getType()!==f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&console.warn("getBestCostNodeSelection is only available when using normal row model");var t=this.rowModel.getTopLevelNodes();if(null!==t){var e=[];return function t(o){for(var n=0,i=o.length;n<i;n++){var r=o[n];r.isSelected()?e.push(r):r.group&&r.children&&t(r.children)}}(t),e}console.warn("selectAll not available doing rowModel=virtual")},t.prototype.setRowModel=function(t){this.rowModel=t},t.prototype.isEmpty=function(){var t=0;return v._.iterateObject(this.selectedNodes,(function(e,o){o&&t++})),0===t},t.prototype.deselectAllRowNodes=function(t){void 0===t&&(t=!1);var e=function(t){return t.selectThisNode(!1)},o=this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE;if(t){if(!o)return void console.error("ag-Grid: selecting just filtered only works with In Memory Row Model");this.rowModel.forEachNodeAfterFilter(e)}else v._.iterateObject(this.selectedNodes,(function(t,o){o&&e(o)})),this.reset();o&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var n={type:u.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(n)},t.prototype.selectAllRowNodes=function(t){if(void 0===t&&(t=!1),this.rowModel.getType()!==f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE)throw new Error("selectAll only available with normal row model, ie not "+this.rowModel.getType());var e=this.rowModel,o=function(t){return t.selectThisNode(!0)};t?e.forEachNodeAfterFilter(o):e.forEachNode(o),this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var n={type:u.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(n)},t.prototype.selectNode=function(t,e){t&&t.setSelectedParams({newValue:!0,clearSelection:!e})},t.prototype.deselectIndex=function(t){var e=this.rowModel.getRow(t);this.deselectNode(e)},t.prototype.deselectNode=function(t){t&&t.setSelectedParams({newValue:!1,clearSelection:!1})},t.prototype.selectIndex=function(t,e){var o=this.rowModel.getRow(t);this.selectNode(o,e)},n([c.Autowired("eventService"),i("design:type",p.EventService)],t.prototype,"eventService",void 0),n([c.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([c.Autowired("gridOptionsWrapper"),i("design:type",d.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([c.Autowired("columnApi"),i("design:type",g.ColumnApi)],t.prototype,"columnApi",void 0),n([c.Autowired("gridApi"),i("design:type",y.GridApi)],t.prototype,"gridApi",void 0),n([r(0,a.Qualifier("loggerFactory")),i("design:type",Function),i("design:paramtypes",[l.LoggerFactory]),i("design:returntype",void 0)],t.prototype,"setBeans",null),n([h.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([s.Bean("selectionController")],t)}();e.SelectionController=C},55e3:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(83423),s=o(44081),a=o(73575),l=o(24463),p=o(98239),u=o(44871),c=o(72493),d=o(60843),h=o(63405),f=o(40797),g=o(85910),y=function(){function t(){this.allFilters={},this.quickFilter=null,this.quickFilterParts=null}var e;return e=t,t.prototype.registerGridCore=function(t){this.gridCore=t},t.prototype.init=function(){this.eventService.addEventListener(h.Events.EVENT_ROW_DATA_CHANGED,this.onNewRowsLoaded.bind(this)),this.eventService.addEventListener(h.Events.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.quickFilter=this.parseQuickFilter(this.gridOptionsWrapper.getQuickFilterText()),this.setQuickFilterParts(),this.checkExternalFilter()},t.prototype.setQuickFilterParts=function(){this.quickFilter?this.quickFilterParts=this.quickFilter.split(" "):this.quickFilterParts=null},t.prototype.setFilterModel=function(t){var e=this,o=[];if(t){var n=Object.keys(t);r._.iterateObject(this.allFilters,(function(i,s){r._.removeFromArray(n,i);var a=t[i];e.setModelOnFilterWrapper(s.filterPromise,a),o.push(s.filterPromise)})),r._.iterateArray(n,(function(n){var i=e.columnController.getPrimaryColumn(n);if(i){var r=e.getOrCreateFilterWrapper(i,"NO_UI");e.setModelOnFilterWrapper(r.filterPromise,t[n]),o.push(r.filterPromise)}else console.warn("Warning ag-grid setFilterModel - no column found for colId "+n)}))}else r._.iterateObject(this.allFilters,(function(t,n){e.setModelOnFilterWrapper(n.filterPromise,null),o.push(n.filterPromise)}));r.Promise.all(o).then((function(t){e.onFilterChanged()}))},t.prototype.setModelOnFilterWrapper=function(t,e){t.then((function(t){"function"==typeof t.setModel?t.setModel(e):console.warn("Warning ag-grid - filter missing setModel method, which is needed for setFilterModel")}))},t.prototype.getFilterModel=function(){var t={};return r._.iterateObject(this.allFilters,(function(e,o){var n=o.filterPromise.resolveNow(null,(function(t){return t}));if(null==n)return null;if("function"==typeof n.getModel){var i=n.getModel();r._.exists(i)&&(t[e]=i)}else console.warn("Warning ag-grid - filter API missing getModel method, which is needed for getFilterModel")})),t},t.prototype.isAdvancedFilterPresent=function(){return this.advancedFilterPresent},t.prototype.setAdvancedFilterPresent=function(){var t=!1;r._.iterateObject(this.allFilters,(function(e,o){o.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}))&&(t=!0)})),this.advancedFilterPresent=t},t.prototype.updateFilterFlagInColumns=function(t){r._.iterateObject(this.allFilters,(function(e,o){var n=o.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}));o.column.setFilterActive(n,t)}))},t.prototype.isAnyFilterPresent=function(){return this.isQuickFilterPresent()||this.advancedFilterPresent||this.externalFilterPresent},t.prototype.doesFilterPass=function(t,e){for(var o=t.data,n=Object.keys(this.allFilters),i=0,r=n.length;i<r;i++){var s=n[i],a=this.allFilters[s];if(void 0!==a){var l=a.filterPromise.resolveNow(void 0,(function(t){return t}));if(void 0!==l&&l!==e&&l.isFilterActive()){l.doesFilterPass||console.error("Filter is missing method doesFilterPass");var p={node:t,data:o};if(!l.doesFilterPass(p))return!1}}}return!0},t.prototype.parseQuickFilter=function(t){return r._.missing(t)||""===t?null:this.gridOptionsWrapper.isRowModelDefault()?t.toUpperCase():(console.warn("ag-grid: quick filtering only works with the Client-side Row Model"),null)},t.prototype.setQuickFilter=function(t){var e=this.parseQuickFilter(t);this.quickFilter!==e&&(this.quickFilter=e,this.setQuickFilterParts(),this.onFilterChanged())},t.prototype.checkExternalFilter=function(){this.externalFilterPresent=this.gridOptionsWrapper.isExternalFilterPresent()},t.prototype.onFilterChanged=function(){this.setAdvancedFilterPresent(),this.updateFilterFlagInColumns("filterChanged"),this.checkExternalFilter(),r._.iterateObject(this.allFilters,(function(t,e){e.filterPromise.then((function(t){t.onAnyFilterChanged&&t.onAnyFilterChanged()}))}));var t={type:h.Events.EVENT_FILTER_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},t.prototype.isQuickFilterPresent=function(){return null!==this.quickFilter},t.prototype.doesRowPassOtherFilters=function(t,e){return this.doesRowPassFilter(e,t)},t.prototype.doesRowPassQuickFilterNoCache=function(t,e){var o=this,n=this.columnController.getAllColumnsForQuickFilter(),i=!1;return n.forEach((function(n){if(!i){var s=o.getQuickFilterTextForColumn(n,t);r._.exists(s)&&s.indexOf(e)>=0&&(i=!0)}})),i},t.prototype.doesRowPassQuickFilterCache=function(t,e){return t.quickFilterAggregateText||this.aggregateRowForQuickFilter(t),t.quickFilterAggregateText.indexOf(e)>=0},t.prototype.doesRowPassQuickFilter=function(t){var e=this,o=!0,n=this.gridOptionsWrapper.isCacheQuickFilter();return this.quickFilterParts.forEach((function(i){(n?e.doesRowPassQuickFilterCache(t,i):e.doesRowPassQuickFilterNoCache(t,i))||(o=!1)})),o},t.prototype.doesRowPassFilter=function(t,e){return!(this.isQuickFilterPresent()&&!this.doesRowPassQuickFilter(t)||this.externalFilterPresent&&!this.gridOptionsWrapper.doesExternalFilterPass(t)||this.advancedFilterPresent&&!this.doesFilterPass(t,e))},t.prototype.getQuickFilterTextForColumn=function(t,e){var o,n=this.valueService.getValue(t,e,!0),i=t.getColDef();if(t.getColDef().getQuickFilterText){var s={value:n,node:e,data:e.data,column:t,colDef:i};o=t.getColDef().getQuickFilterText(s)}else o=n;return r._.exists(o)?o.toString().toUpperCase():null},t.prototype.aggregateRowForQuickFilter=function(t){var o=this,n=[];this.columnController.getAllColumnsForQuickFilter().forEach((function(e){var i=o.getQuickFilterTextForColumn(e,t);r._.exists(i)&&n.push(i)})),t.quickFilterAggregateText=n.join(e.QUICK_FILTER_SEPARATOR)},t.prototype.onNewRowsLoaded=function(t){r._.iterateObject(this.allFilters,(function(t,e){e.filterPromise.then((function(t){t.onNewRowsLoaded&&t.onNewRowsLoaded()}))})),this.updateFilterFlagInColumns(t),this.setAdvancedFilterPresent()},t.prototype.createValueGetter=function(t){var e=this;return function(o){return e.valueService.getValue(t,o,!0)}},t.prototype.getFilterComponent=function(t,e){return this.getOrCreateFilterWrapper(t,e).filterPromise},t.prototype.isFilterActive=function(t){var e=this.cachedFilter(t);return!!e&&e.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}))},t.prototype.getOrCreateFilterWrapper=function(t,e){var o=this.cachedFilter(t);return o?"NO_UI"!==e&&this.putIntoGui(o,e):(o=this.createFilterWrapper(t,e),this.allFilters[t.getColId()]=o),o},t.prototype.cachedFilter=function(t){return this.allFilters[t.getColId()]},t.prototype.createFilterInstance=function(t,e){var o=this,n="agTextColumnFilter";this.gridOptionsWrapper.isEnterprise()&&(n="agSetColumnFilter");var i=r._.cloneObject(t.getColDef()),s={type:h.Events.EVENT_FILTER_MODIFIED,api:this.gridApi,columnApi:this.columnApi},a=this.onFilterChanged.bind(this),l={api:this.gridOptionsWrapper.getApi(),column:t,colDef:i,rowModel:this.rowModel,filterChangedCallback:a,filterModifiedCallback:function(){return o.eventService.dispatchEvent(s)},valueGetter:this.createValueGetter(t),context:this.gridOptionsWrapper.getContext(),doesRowPassOtherFilter:null,$scope:e};return this.userComponentFactory.newFilterComponent(i,l,n,(function(t,e){return r._.assign(t,{doesRowPassOtherFilter:o.doesRowPassOtherFilters.bind(o,e)})}))},t.prototype.createFilterWrapper=function(t,e){var o={column:t,filterPromise:null,scope:null,compiledElement:null,guiPromise:r.Promise.external()};return o.scope=this.gridOptionsWrapper.isAngularCompileFilters()?this.$scope.$new():null,o.filterPromise=this.createFilterInstance(t,o.scope),this.putIntoGui(o,e),o},t.prototype.putIntoGui=function(t,e){var o=this,n=document.createElement("div");n.className="ag-filter",t.filterPromise.then((function(i){var s=i.getGui();if(r._.missing(s)&&console.warn("getGui method from filter returned "+s+", it should be a DOM element or an HTML template string."),"string"==typeof s&&(s=r._.loadTemplate(s)),n.appendChild(s),t.scope){var a=o.$compile(n)(t.scope);t.compiledElement=a,window.setTimeout((function(){return t.scope.$apply()}),0)}t.guiPromise.resolve(n),o.eventService.dispatchEvent({type:h.Events.EVENT_FILTER_OPENED,column:t.column,source:e,eGui:n,api:o.gridApi,columnApi:o.columnApi})}))},t.prototype.onNewColumnsLoaded=function(){var t=this,e=!1;r._.iterateObject(this.allFilters,(function(o,n){!t.columnController.getPrimaryColumn(n.column)&&(e=!0,t.disposeFilterWrapper(n,"filterDestroyed"))})),e&&this.onFilterChanged()},t.prototype.destroyFilter=function(t,e){void 0===e&&(e="api");var o=this.allFilters[t.getColId()];o&&(this.disposeFilterWrapper(o,e),this.onFilterChanged())},t.prototype.disposeFilterWrapper=function(t,e){var o=this;t.filterPromise.then((function(n){n.setModel(null),n.destroy&&n.destroy(),t.column.setFilterActive(!1,e),t.scope&&(t.compiledElement&&t.compiledElement.remove(),t.scope.$destroy()),delete o.allFilters[t.column.getColId()]}))},t.prototype.destroy=function(){var t=this;r._.iterateObject(this.allFilters,(function(e,o){t.disposeFilterWrapper(o,"filterDestroyed")}))},t.QUICK_FILTER_SEPARATOR="\n",n([c.Autowired("$compile"),i("design:type",Object)],t.prototype,"$compile",void 0),n([c.Autowired("$scope"),i("design:type",Object)],t.prototype,"$scope",void 0),n([c.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([c.Autowired("popupService"),i("design:type",a.PopupService)],t.prototype,"popupService",void 0),n([c.Autowired("valueService"),i("design:type",l.ValueService)],t.prototype,"valueService",void 0),n([c.Autowired("columnController"),i("design:type",p.ColumnController)],t.prototype,"columnController",void 0),n([c.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([c.Autowired("eventService"),i("design:type",d.EventService)],t.prototype,"eventService",void 0),n([c.Autowired("enterprise"),i("design:type",Boolean)],t.prototype,"enterprise",void 0),n([c.Autowired("context"),i("design:type",c.Context)],t.prototype,"context",void 0),n([c.Autowired("columnApi"),i("design:type",u.ColumnApi)],t.prototype,"columnApi",void 0),n([c.Autowired("gridApi"),i("design:type",f.GridApi)],t.prototype,"gridApi",void 0),n([c.Autowired("userComponentFactory"),i("design:type",g.UserComponentFactory)],t.prototype,"userComponentFactory",void 0),n([c.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([c.PreDestroy,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"destroy",null),e=n([c.Bean("filterManager")],t)}();e.FilterManager=y},55090:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44871),a=o(98239),l=o(40797),p=o(44081),u=o(40634),c=o(10042),d=o(92427),h=o(24463),f=o(60843),g=o(64314),y=o(42195),v=o(34470),m=o(73575),C=o(93121),E=o(66490),w=o(93830),_=o(41451),R=o(69065),S=o(85910),O=o(58342),T=o(86608),b=o(55e3),A=o(51755),P=o(39984),D=function(){function t(){}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.postConstruct=function(){this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail()},n([r.Autowired("paginationProxy"),i("design:type",_.PaginationProxy)],t.prototype,"paginationProxy",void 0),n([r.Autowired("context"),i("design:type",r.Context)],t.prototype,"context",void 0),n([r.Autowired("columnApi"),i("design:type",s.ColumnApi)],t.prototype,"columnApi",void 0),n([r.Autowired("gridApi"),i("design:type",l.GridApi)],t.prototype,"gridApi",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",p.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("expressionService"),i("design:type",u.ExpressionService)],t.prototype,"expressionService",void 0),n([r.Autowired("rowRenderer"),i("design:type",c.RowRenderer)],t.prototype,"rowRenderer",void 0),n([r.Autowired("$compile"),i("design:type",Object)],t.prototype,"$compile",void 0),n([r.Autowired("templateService"),i("design:type",d.TemplateService)],t.prototype,"templateService",void 0),n([r.Autowired("valueService"),i("design:type",h.ValueService)],t.prototype,"valueService",void 0),n([r.Autowired("eventService"),i("design:type",f.EventService)],t.prototype,"eventService",void 0),n([r.Autowired("columnController"),i("design:type",a.ColumnController)],t.prototype,"columnController",void 0),n([r.Autowired("columnAnimationService"),i("design:type",g.ColumnAnimationService)],t.prototype,"columnAnimationService",void 0),n([r.Optional("rangeController"),i("design:type",Object)],t.prototype,"rangeController",void 0),n([r.Autowired("focusedCellController"),i("design:type",y.FocusedCellController)],t.prototype,"focusedCellController",void 0),n([r.Optional("contextMenuFactory"),i("design:type",Object)],t.prototype,"contextMenuFactory",void 0),n([r.Autowired("cellRendererFactory"),i("design:type",v.CellRendererFactory)],t.prototype,"cellRendererFactory",void 0),n([r.Autowired("popupService"),i("design:type",m.PopupService)],t.prototype,"popupService",void 0),n([r.Autowired("valueFormatterService"),i("design:type",C.ValueFormatterService)],t.prototype,"valueFormatterService",void 0),n([r.Autowired("stylingService"),i("design:type",E.StylingService)],t.prototype,"stylingService",void 0),n([r.Autowired("columnHoverService"),i("design:type",w.ColumnHoverService)],t.prototype,"columnHoverService",void 0),n([r.Autowired("enterprise"),i("design:type",Boolean)],t.prototype,"enterprise",void 0),n([r.Autowired("userComponentFactory"),i("design:type",S.UserComponentFactory)],t.prototype,"userComponentFactory",void 0),n([r.Autowired("animationFrameService"),i("design:type",R.AnimationFrameService)],t.prototype,"taskQueue",void 0),n([r.Autowired("dragAndDropService"),i("design:type",O.DragAndDropService)],t.prototype,"dragAndDropService",void 0),n([r.Autowired("sortController"),i("design:type",T.SortController)],t.prototype,"sortController",void 0),n([r.Autowired("filterManager"),i("design:type",b.FilterManager)],t.prototype,"filterManager",void 0),n([r.Autowired("maxDivHeightScaler"),i("design:type",A.MaxDivHeightScaler)],t.prototype,"maxDivHeightScaler",void 0),n([r.Autowired("tooltipManager"),i("design:type",P.TooltipManager)],t.prototype,"tooltipManager",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"postConstruct",null),n([r.Bean("beans")],t)}();e.Beans=D},55128:(t,e,o)=>{var n=e;n.Reporter=o(74591).a,n.DecoderBuffer=o(54072).t,n.EncoderBuffer=o(54072).d,n.Node=o(37254)},56645:(t,e)=>{function o(){}function n(t){return this.actionType=t,this.isPositionDependent=!1,this}function i(){return n.call(this,o.SKIP),this}function r(t){return n.call(this,o.TYPE),this.type=t,this}function s(t){return n.call(this,o.PUSH_MODE),this.mode=t,this}function a(){return n.call(this,o.POP_MODE),this}function l(){return n.call(this,o.MORE),this}function p(t){return n.call(this,o.MODE),this.mode=t,this}function u(t,e){return n.call(this,o.CUSTOM),this.ruleIndex=t,this.actionIndex=e,this.isPositionDependent=!0,this}function c(t){return n.call(this,o.CHANNEL),this.channel=t,this}function d(t,e){return n.call(this,e.actionType),this.offset=t,this.action=e,this.isPositionDependent=!0,this}o.CHANNEL=0,o.CUSTOM=1,o.MODE=2,o.MORE=3,o.POP_MODE=4,o.PUSH_MODE=5,o.SKIP=6,o.TYPE=7,n.prototype.hashCode=function(){var t=new Hash;return this.updateHashCode(t),t.finish()},n.prototype.updateHashCode=function(t){t.update(this.actionType)},n.prototype.equals=function(t){return this===t},i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.INSTANCE=new i,i.prototype.execute=function(t){t.skip()},i.prototype.toString=function(){return"skip"},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.execute=function(t){t.type=this.type},r.prototype.updateHashCode=function(t){t.update(this.actionType,this.type)},r.prototype.equals=function(t){return this===t||t instanceof r&&this.type===t.type},r.prototype.toString=function(){return"type("+this.type+")"},s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.execute=function(t){t.pushMode(this.mode)},s.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.mode===t.mode},s.prototype.toString=function(){return"pushMode("+this.mode+")"},a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.INSTANCE=new a,a.prototype.execute=function(t){t.popMode()},a.prototype.toString=function(){return"popMode"},l.prototype=Object.create(n.prototype),l.prototype.constructor=l,l.INSTANCE=new l,l.prototype.execute=function(t){t.more()},l.prototype.toString=function(){return"more"},p.prototype=Object.create(n.prototype),p.prototype.constructor=p,p.prototype.execute=function(t){t.mode(this.mode)},p.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},p.prototype.equals=function(t){return this===t||t instanceof p&&this.mode===t.mode},p.prototype.toString=function(){return"mode("+this.mode+")"},u.prototype=Object.create(n.prototype),u.prototype.constructor=u,u.prototype.execute=function(t){t.action(null,this.ruleIndex,this.actionIndex)},u.prototype.updateHashCode=function(t){t.update(this.actionType,this.ruleIndex,this.actionIndex)},u.prototype.equals=function(t){return this===t||t instanceof u&&this.ruleIndex===t.ruleIndex&&this.actionIndex===t.actionIndex},c.prototype=Object.create(n.prototype),c.prototype.constructor=c,c.prototype.execute=function(t){t._channel=this.channel},c.prototype.updateHashCode=function(t){t.update(this.actionType,this.channel)},c.prototype.equals=function(t){return this===t||t instanceof c&&this.channel===t.channel},c.prototype.toString=function(){return"channel("+this.channel+")"},d.prototype=Object.create(n.prototype),d.prototype.constructor=d,d.prototype.execute=function(t){this.action.execute(t)},d.prototype.updateHashCode=function(t){t.update(this.actionType,this.offset,this.action)},d.prototype.equals=function(t){return this===t||t instanceof d&&this.offset===t.offset&&this.action===t.action},e.LexerActionType=o,e.LexerSkipAction=i,e.LexerChannelAction=c,e.LexerCustomAction=u,e.LexerIndexedCustomAction=d,e.LexerMoreAction=l,e.LexerTypeAction=r,e.LexerPushModeAction=s,e.LexerPopModeAction=a,e.LexerModeAction=p},57322:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(32090),l=o(72493),p=o(22131),u=o(47721),c=function(t){function e(e,o){var n=t.call(this)||this;return n.title=e,n.message=o,n}return i(e,t),e.prototype.postConstruct=function(){var e=this;t.prototype.postConstruct.call(this),this.setTitle(this.title);var o=new d;this.addFeature(this.getContext(),o),o.setMessage(this.message),this.setBody(o.getGui()),this.addDestroyableEventListener(o,"onBtOk",(function(){return e.closePopup()}))},e}(a.PopupWindow);e.PopupMessageBox=c;var d=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.setMessage=function(t){this.eCenter.innerText=t},e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.eOk,"click",this.onBtOk.bind(this))},e.prototype.onBtOk=function(){this.dispatchEvent({type:"onBtOk"})},e.TEMPLATE='<div>\n <div ref="eCenter"></div>\n <div ref="eButtons">\n <button ref="eOk">OK</button>\n </div>\n </div>',r([u.RefSelector("eCenter"),s("design:type",HTMLElement)],e.prototype,"eCenter",void 0),r([u.RefSelector("eOk"),s("design:type",HTMLElement)],e.prototype,"eOk",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(p.Component)},57498:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(15068),a=o(44081),l=o(54828),p=o(60843),u=o(98239),c=o(83423),d=function(){function t(){}return t.prototype.execute=function(t){var e=t.rowNode,o=[],n={value:0},i=this.columnController.isPivotMode(),r=i&&e.leafGroup,s=r?[e]:e.childrenAfterSort;return this.recursivelyAddToRowsToDisplay(s,o,n,i,0),!r&&this.gridOptionsWrapper.isGroupIncludeTotalFooter()&&(this.ensureFooterNodeExists(e),this.addRowNodeToRowsToDisplay(e.sibling,o,n,0)),o},t.prototype.recursivelyAddToRowsToDisplay=function(t,e,o,n,i){if(!c._.missingOrEmpty(t))for(var r=this.gridOptionsWrapper.isGroupSuppressRow(),s=this.gridOptionsWrapper.isGroupHideOpenParents(),a=this.gridOptionsWrapper.isGroupRemoveSingleChildren(),l=!a&&this.gridOptionsWrapper.isGroupRemoveLowestSingleChildren(),p=0;p<t.length;p++){var u=t[p],d=u.hasChildren(),h=r&&d,f=n&&!d,g=a&&d&&1===u.childrenAfterGroup.length,y=l&&d&&u.leafGroup&&1===u.childrenAfterGroup.length,v=n&&u.leafGroup,m=s&&u.expanded&&!v;if(!(f||h||m||g||y)&&this.addRowNodeToRowsToDisplay(u,e,o,i),!n||!u.leafGroup)if(d){var C=g||y;if(u.expanded||C){var E=C?i:i+1;this.recursivelyAddToRowsToDisplay(u.childrenAfterSort,e,o,n,E),this.gridOptionsWrapper.isGroupIncludeFooter()&&(this.ensureFooterNodeExists(u),this.addRowNodeToRowsToDisplay(u.sibling,e,o,i))}}else if(u.master&&u.expanded){var w=this.createDetailNode(u);this.addRowNodeToRowsToDisplay(w,e,o,i)}}},t.prototype.addRowNodeToRowsToDisplay=function(t,e,o,n){e.push(t);var i=this.gridOptionsWrapper.isGroupMultiAutoColumn();t.setUiLevel(i?0:n)},t.prototype.ensureFooterNodeExists=function(t){if(!c._.exists(t.sibling)){var e=new s.RowNode;this.context.wireBean(e),Object.keys(t).forEach((function(o){e[o]=t[o]})),e.footer=!0,e.rowTop=null,e.oldRowTop=null,c._.exists(e.id)&&(e.id="rowGroupFooter_"+e.id),e.sibling=t,t.sibling=e}},t.prototype.createDetailNode=function(t){if(c._.exists(t.detailNode))return t.detailNode;var e=new s.RowNode;return this.context.wireBean(e),e.detail=!0,e.selectable=!1,e.flower=e.detail,e.parent=t,c._.exists(t.id)&&(e.id="detail_"+t.id),e.data=t.data,e.level=t.level+1,t.detailNode=e,t.childFlower=t.detailNode,e},n([r.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("selectionController"),i("design:type",l.SelectionController)],t.prototype,"selectionController",void 0),n([r.Autowired("eventService"),i("design:type",p.EventService)],t.prototype,"eventService",void 0),n([r.Autowired("context"),i("design:type",r.Context)],t.prototype,"context",void 0),n([r.Autowired("columnController"),i("design:type",u.ColumnController)],t.prototype,"columnController",void 0),n([r.Bean("flattenStage")],t)}();e.FlattenStage=d},57585:(t,e,o)=>{var n=o(6617),i=/\s+/;e.triggerEvents=function(t,e){var o,n=-1,i=t.length,r=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++n<i;)(o=t[n]).callback.call(o.ctx);return;case 1:for(;++n<i;)(o=t[n]).callback.call(o.ctx,r);return;case 2:for(;++n<i;)(o=t[n]).callback.call(o.ctx,r,s);return;case 3:for(;++n<i;)(o=t[n]).callback.call(o.ctx,r,s,a);return;default:for(;++n<i;)(o=t[n]).callback.apply(o.ctx,e);return}},e.eventsApi=function(t,e,o,n){if(!o)return!0;if("object"==typeof o){for(var r in o)t[e].apply(t,[r,o[r]].concat(n));return!1}if(i.test(o)){for(var s=o.split(i),a=0,l=s.length;a<l;a++)t[e].apply(t,[s[a]].concat(n));return!1}return!0},e.createListenMethod=function(t){return function(e,o,i){if(!e)throw new Error("Trying to listenTo event: '"+o+"' but the target object is undefined");if((this._listeningTo||(this._listeningTo={}))[e._listenId||(e._listenId=n("l"))]=e,i||"object"!=typeof o||(i=this),"function"!=typeof e[t])throw new Error("Trying to listenTo event: '"+o+"' on object: "+e.toString()+" but it does not have an 'on' method so is unbindable");return e[t](o,i,this),this}}},58342:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s,a,l,p=o(37132),u=o(72493),c=o(44081),d=o(25230),h=o(98239),f=o(59007),g=o(83423);!function(t){t[t.ToolPanel=0]="ToolPanel",t[t.HeaderCell=1]="HeaderCell",t[t.RowDrag=2]="RowDrag"}(s=e.DragSourceType||(e.DragSourceType={})),function(t){t[t.Up=0]="Up",t[t.Down=1]="Down"}(a=e.VDirection||(e.VDirection={})),function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(l=e.HDirection||(e.HDirection={}));var y=function(){function t(){this.dragSourceAndParamsList=[],this.dropTargets=[]}var e;return e=t,t.prototype.init=function(){this.ePinnedIcon=g._.createIcon("columnMovePin",this.gridOptionsWrapper,null),this.ePlusIcon=g._.createIcon("columnMoveAdd",this.gridOptionsWrapper,null),this.eHiddenIcon=g._.createIcon("columnMoveHide",this.gridOptionsWrapper,null),this.eMoveIcon=g._.createIcon("columnMoveMove",this.gridOptionsWrapper,null),this.eLeftIcon=g._.createIcon("columnMoveLeft",this.gridOptionsWrapper,null),this.eRightIcon=g._.createIcon("columnMoveRight",this.gridOptionsWrapper,null),this.eGroupIcon=g._.createIcon("columnMoveGroup",this.gridOptionsWrapper,null),this.eAggregateIcon=g._.createIcon("columnMoveValue",this.gridOptionsWrapper,null),this.ePivotIcon=g._.createIcon("columnMovePivot",this.gridOptionsWrapper,null),this.eDropNotAllowedIcon=g._.createIcon("dropNotAllowed",this.gridOptionsWrapper,null)},t.prototype.setBeans=function(t){this.logger=t.create("OldToolPanelDragAndDropService")},t.prototype.getStringType=function(t){switch(t){case s.RowDrag:return"row";case s.HeaderCell:return"headerCell";case s.ToolPanel:return"toolPanel";default:return console.warn("ag-Grid: bug - unknown drag type "+t),null}},t.prototype.addDragSource=function(t,e){void 0===e&&(e=!1);var o={eElement:t.eElement,dragStartPixels:t.dragStartPixels,onDragStart:this.onDragStart.bind(this,t),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this)};this.dragSourceAndParamsList.push({params:o,dragSource:t}),this.dragService.addDragSource(o,e)},t.prototype.removeDragSource=function(t){var e=g._.find(this.dragSourceAndParamsList,(function(e){return e.dragSource===t}));e&&(this.dragService.removeDragSource(e.params),g._.removeFromArray(this.dragSourceAndParamsList,e))},t.prototype.destroy=function(){var t=this;this.dragSourceAndParamsList.forEach((function(e){t.dragService.removeDragSource(e.params)})),this.dragSourceAndParamsList.length=0},t.prototype.nudge=function(){this.dragging&&this.onDragging(this.eventLastTime,!0)},t.prototype.onDragStart=function(t,e){this.dragging=!0,this.dragSource=t,this.eventLastTime=e,this.dragItem=this.dragSource.dragItemCallback(),this.lastDropTarget=this.dragSource.dragSourceDropTarget,this.dragSource.dragStarted&&this.dragSource.dragStarted(),this.createGhost()},t.prototype.onDragStop=function(t){if(this.eventLastTime=null,this.dragging=!1,this.dragSource.dragStopped&&this.dragSource.dragStopped(),this.lastDropTarget&&this.lastDropTarget.onDragStop){var e=this.createDropTargetEvent(this.lastDropTarget,t,null,null,!1);this.lastDropTarget.onDragStop(e)}this.lastDropTarget=null,this.dragItem=null,this.removeGhost()},t.prototype.onDragging=function(t,e){var o=this.workOutHDirection(t),n=this.workOutVDirection(t);this.eventLastTime=t,this.positionGhost(t);var i=g._.find(this.dropTargets,this.isMouseOnDropTarget.bind(this,t));if(i!==this.lastDropTarget)this.leaveLastTargetIfExists(t,o,n,e),this.enterDragTargetIfExists(i,t,o,n,e),this.lastDropTarget=i;else if(i){var r=this.createDropTargetEvent(i,t,o,n,e);i.onDragging(r)}},t.prototype.enterDragTargetIfExists=function(t,e,o,n,i){if(t){var r=this.createDropTargetEvent(t,e,o,n,i);t.onDragEnter(r),this.setGhostIcon(t.getIconName?t.getIconName():null)}},t.prototype.leaveLastTargetIfExists=function(t,e,o,n){if(this.lastDropTarget){var i=this.createDropTargetEvent(this.lastDropTarget,t,e,o,n);this.lastDropTarget.onDragLeave(i),this.setGhostIcon(null)}},t.prototype.getAllContainersFromDropTarget=function(t){var e=[t.getContainer()],o=t.getSecondaryContainers?t.getSecondaryContainers():null;return o&&(e=e.concat(o)),e},t.prototype.isMouseOnDropTarget=function(t,e){var o=this.getAllContainersFromDropTarget(e),n=!1;return o.forEach((function(e){if(e){var o=e.getBoundingClientRect();if(0!==o.width&&0!==o.height){var i=t.clientX>=o.left&&t.clientX<=o.right,r=t.clientY>=o.top&&t.clientY<=o.bottom;i&&r&&(n=!0)}}})),!!n&&e.isInterestedIn(this.dragSource.type)},t.prototype.addDropTarget=function(t){this.dropTargets.push(t)},t.prototype.workOutHDirection=function(t){return this.eventLastTime.clientX>t.clientX?l.Left:this.eventLastTime.clientX<t.clientX?l.Right:null},t.prototype.workOutVDirection=function(t){return this.eventLastTime.clientY>t.clientY?a.Up:this.eventLastTime.clientY<t.clientY?a.Down:null},t.prototype.createDropTargetEvent=function(t,e,o,n,i){var r=t.getContainer().getBoundingClientRect();return{event:e,x:e.clientX-r.left,y:e.clientY-r.top,vDirection:n,hDirection:o,dragSource:this.dragSource,fromNudge:i,dragItem:this.dragItem}},t.prototype.positionGhost=function(t){var e=this.eGhost.getBoundingClientRect().height,o=g._.getBodyWidth()-2,n=g._.getBodyHeight()-2,i=t.pageY-e/2,r=t.pageX-30,s=this.gridOptionsWrapper.getDocument(),a=window.pageYOffset||s.documentElement.scrollTop,l=window.pageXOffset||s.documentElement.scrollLeft;o>0&&r+this.eGhost.clientWidth>o+l&&(r=o+l-this.eGhost.clientWidth),r<0&&(r=0),n>0&&i+this.eGhost.clientHeight>n+a&&(i=n+a-this.eGhost.clientHeight),i<0&&(i=0),this.eGhost.style.left=r+"px",this.eGhost.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=g._.loadTemplate(e.GHOST_TEMPLATE);var t=this.environment.getTheme();t&&g._.addCssClass(this.eGhost,t),this.eGhostIcon=this.eGhost.querySelector(".ag-dnd-ghost-icon"),this.setGhostIcon(null),this.eGhost.querySelector(".ag-dnd-ghost-label").innerHTML=g._.escape(this.dragSource.dragItemName),this.eGhost.style.height="25px",this.eGhost.style.top="20px",this.eGhost.style.left="20px";var o=this.gridOptionsWrapper.getDocument();this.eGhostParent=o.querySelector("body"),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(t,o){var n;switch(void 0===o&&(o=!1),g._.clearElement(this.eGhostIcon),t){case e.ICON_ADD:n=this.ePlusIcon;break;case e.ICON_PINNED:n=this.ePinnedIcon;break;case e.ICON_MOVE:n=this.eMoveIcon;break;case e.ICON_LEFT:n=this.eLeftIcon;break;case e.ICON_RIGHT:n=this.eRightIcon;break;case e.ICON_GROUP:n=this.eGroupIcon;break;case e.ICON_AGGREGATE:n=this.eAggregateIcon;break;case e.ICON_PIVOT:n=this.ePivotIcon;break;case e.ICON_NOT_ALLOWED:n=this.eDropNotAllowedIcon;break;default:n=this.eHiddenIcon}this.eGhostIcon.appendChild(n),g._.addOrRemoveCssClass(this.eGhostIcon,"ag-shake-left-to-right",o)},t.ICON_PINNED="pinned",t.ICON_ADD="add",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.GHOST_TEMPLATE='<div class="ag-dnd-ghost"> <span class="ag-dnd-ghost-icon ag-shake-left-to-right"></span> <div class="ag-dnd-ghost-label"> </div></div>',n([u.Autowired("gridOptionsWrapper"),i("design:type",c.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([u.Autowired("dragService"),i("design:type",d.DragService)],t.prototype,"dragService",void 0),n([u.Autowired("environment"),i("design:type",f.Environment)],t.prototype,"environment",void 0),n([u.Autowired("columnController"),i("design:type",h.ColumnController)],t.prototype,"columnController",void 0),n([u.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r(0,u.Qualifier("loggerFactory")),i("design:type",Function),i("design:paramtypes",[p.LoggerFactory]),i("design:returntype",void 0)],t.prototype,"setBeans",null),n([u.PreDestroy,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"destroy",null),e=n([u.Bean("dragAndDropService")],t)}();e.DragAndDropService=y},58369:(t,e,o)=>{var n=o(66346).BitSet,i=o(93343).ErrorListener,r=o(70040).Interval;function s(t){return i.call(this),t=t||!0,this.exactOnly=t,this}s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.prototype.reportAmbiguity=function(t,e,o,n,i,s,a){if(!this.exactOnly||i){var l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(s,a)+", input='"+t.getTokenStream().getText(new r(o,n))+"'";t.notifyErrorListeners(l)}},s.prototype.reportAttemptingFullContext=function(t,e,o,n,i,s){var a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new r(o,n))+"'";t.notifyErrorListeners(a)},s.prototype.reportContextSensitivity=function(t,e,o,n,i,s){var a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new r(o,n))+"'";t.notifyErrorListeners(a)},s.prototype.getDecisionDescription=function(t,e){var o=e.decision,n=e.atnStartState.ruleIndex,i=t.ruleNames;if(n<0||n>=i.length)return""+o;var r=i[n]||null;return null===r||0===r.length?""+o:o+" ("+r+")"},s.prototype.getConflictingAlts=function(t,e){if(null!==t)return t;for(var o=new n,i=0;i<e.items.length;i++)o.add(e.items[i].alt);return"{"+o.values().join(", ")+"}"},e.DiagnosticErrorListener=s},59007:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(83423),a={"ag-theme-material":{headerHeight:56,virtualItemHeight:40,rowHeight:48},"ag-theme-classic":{headerHeight:25,virtualItemHeight:20,rowHeight:25},"ag-theme-balham":{headerHeight:32,virtualItemHeight:28,rowHeight:28}},l=function(){function t(){}return t.prototype.getSassVariable=function(t,e){return"ag-theme-material"==t?a["ag-theme-material"][e]:"ag-theme-balham"==t||"ag-theme-balham-dark"==t?a["ag-theme-balham"][e]:a["ag-theme-classic"][e]},t.prototype.getTheme=function(){for(var t,e=/\bag-(fresh|dark|blue|material|bootstrap|(?:theme-([\w\-]*)))\b/,o=this.eGridDiv;o&&(t=e.exec(o.className),null!=(o=o.parentElement)&&!t););if(t){var n=t[0];if(void 0===t[2]){var i=n.replace("ag-","ag-theme-");s._.doOnce((function(){return console.warn("ag-Grid: As of v19 old theme are no longer provided. Please replace "+n+" with "+i+".")}),"using-old-theme")}return n}},n([r.Autowired("eGridDiv"),i("design:type",HTMLElement)],t.prototype,"eGridDiv",void 0),n([r.Bean("environment")],t)}();e.Environment=l},59198:()=>{var t,e,o,n;String.fromCodePoint||(t=function(){try{var t={},e=Object.defineProperty,o=e(t,t,t)&&e}catch(t){}return o}(),e=String.fromCharCode,o=Math.floor,n=function(t){var n,i,r=[],s=-1,a=arguments.length;if(!a)return"";for(var l="";++s<a;){var p=Number(arguments[s]);if(!isFinite(p)||p<0||p>1114111||o(p)!=p)throw RangeError("Invalid code point: "+p);p<=65535?r.push(p):(n=55296+((p-=65536)>>10),i=p%1024+56320,r.push(n,i)),(s+1==a||r.length>16384)&&(l+=e.apply(null,r),r.length=0)}return l},t?t(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n)},59873:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var i=o(72493),r="\r\n",s=function(){function t(){}return t.prototype.createHeader=function(t){void 0===t&&(t={});var e=["version"];return t.version||(t.version="1.0"),t.encoding&&e.push("encoding"),t.standalone&&e.push("standalone"),"<?xml "+e.map((function(e){return e+'="'+t[e]+'"'})).join(" ")+" ?>"},t.prototype.createXml=function(t,e){var o=this,n="";t.properties&&(t.properties.prefixedAttributes&&t.properties.prefixedAttributes.forEach((function(t){Object.keys(t.map).forEach((function(i){n+=o.returnAttributeIfPopulated(t.prefix+i,t.map[i],e)}))})),t.properties.rawMap&&Object.keys(t.properties.rawMap).forEach((function(i){n+=o.returnAttributeIfPopulated(i,t.properties.rawMap[i],e)})));var i="<"+t.name+n;return t.children||null!=t.textNode?null!=t.textNode?i+">"+t.textNode+"</"+t.name+">"+r:(i+=">\r\n",t.children&&t.children.forEach((function(t){i+=o.createXml(t,e)})),i+"</"+t.name+">"+r):i+"/>"+r},t.prototype.returnAttributeIfPopulated=function(t,e,o){if(!e&&""!==e&&0!==e)return"";var n=e;return"boolean"==typeof e&&o&&(n=o(e))," "+t+'="'+n+'"'},n([i.Bean("xmlFactory")],t)}();e.XmlFactory=s},60581:function(t,e,o){!function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t}function r(t,e,o){if(r.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(o=e,e=10),this._init(t||0,e||10,o||"be"))}var s;"object"==typeof t?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:o(67787).Buffer}catch(t){}function a(t,e){var o=t.charCodeAt(e);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function l(t,e,o){var n=a(t,o);return o-1>=e&&(n|=a(t,o-1)<<4),n}function p(t,e,o,n){for(var i=0,r=Math.min(t.length,o),s=e;s<r;s++){var a=t.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}r.isBN=function(t){return t instanceof r||null!==t&&"object"==typeof t&&t.constructor.wordSize===r.wordSize&&Array.isArray(t.words)},r.max=function(t,e){return t.cmp(e)>0?t:e},r.min=function(t,e){return t.cmp(e)<0?t:e},r.prototype._init=function(t,e,o){if("number"==typeof t)return this._initNumber(t,e,o);if("object"==typeof t)return this._initArray(t,e,o);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,o):(this._parseBase(t,e,i),"le"===o&&this._initArray(this.toArray(),e,o)))},r.prototype._initNumber=function(t,e,o){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===o&&this._initArray(this.toArray(),e,o)},r.prototype._initArray=function(t,e,o){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,s,a=0;if("be"===o)for(i=t.length-1,r=0;i>=0;i-=3)s=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=s<<a&67108863,this.words[r+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);else if("le"===o)for(i=0,r=0;i<t.length;i+=3)s=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=s<<a&67108863,this.words[r+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);return this.strip()},r.prototype._parseHex=function(t,e,o){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,r=0,s=0;if("be"===o)for(n=t.length-1;n>=e;n-=2)i=l(t,e,n)<<r,this.words[s]|=67108863&i,r>=18?(r-=18,s+=1,this.words[s]|=i>>>26):r+=8;else for(n=(t.length-e)%2==0?e+1:e;n<t.length;n+=2)i=l(t,e,n)<<r,this.words[s]|=67108863&i,r>=18?(r-=18,s+=1,this.words[s]|=i>>>26):r+=8;this.strip()},r.prototype._parseBase=function(t,e,o){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var r=t.length-o,s=r%n,a=Math.min(r,r-s)+o,l=0,u=o;u<a;u+=n)l=p(t,u,u+n,e),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var c=1;for(l=p(t,u,t.length,e),u=0;u<s;u++)c*=e;this.imuln(c),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},r.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},r.prototype.clone=function(){var t=new r(null);return this.copy(t),t},r.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},r.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},r.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(t,e,o){o.negative=e.negative^t.negative;var n=t.length+e.length|0;o.length=n,n=n-1|0;var i=0|t.words[0],r=0|e.words[0],s=i*r,a=67108863&s,l=s/67108864|0;o.words[0]=a;for(var p=1;p<n;p++){for(var u=l>>>26,c=67108863&l,d=Math.min(p,e.length-1),h=Math.max(0,p-t.length+1);h<=d;h++){var f=p-h|0;u+=(s=(i=0|t.words[f])*(r=0|e.words[h])+c)/67108864|0,c=67108863&s}o.words[p]=0|c,l=0|u}return 0!==l?o.words[p]=0|l:o.length--,o.strip()}r.prototype.toString=function(t,e){var o;if(e=0|e||1,16===(t=t||10)||"hex"===t){o="";for(var i=0,r=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|r)).toString(16);o=0!=(r=a>>>24-i&16777215)||s!==this.length-1?u[6-l.length]+l+o:l+o,(i+=2)>=26&&(i-=26,s--)}for(0!==r&&(o=r.toString(16)+o);o.length%e!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}if(t===(0|t)&&t>=2&&t<=36){var p=c[t],h=d[t];o="";var f=this.clone();for(f.negative=0;!f.isZero();){var g=f.modn(h).toString(t);o=(f=f.idivn(h)).isZero()?g+o:u[p-g.length]+g+o}for(this.isZero()&&(o="0"+o);o.length%e!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}n(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(t,e){return n(void 0!==s),this.toArrayLike(s,t,e)},r.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},r.prototype.toArrayLike=function(t,e,o){var i=this.byteLength(),r=o||Math.max(1,i);n(i<=r,"byte array longer than desired length"),n(r>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===e,p=new t(r),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),p[a]=s;for(;a<r;a++)p[a]=0}else{for(a=0;a<r-i;a++)p[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),p[r-a-1]=s}return p},Math.clz32?r.prototype._countBits=function(t){return 32-Math.clz32(t)}:r.prototype._countBits=function(t){var e=t,o=0;return e>=4096&&(o+=13,e>>>=13),e>=64&&(o+=7,e>>>=7),e>=8&&(o+=4,e>>>=4),e>=2&&(o+=2,e>>>=2),o+e},r.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,o=0;return 8191&e||(o+=13,e>>>=13),127&e||(o+=7,e>>>=7),15&e||(o+=4,e>>>=4),3&e||(o+=2,e>>>=2),1&e||o++,o},r.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var o=this._zeroBits(this.words[e]);if(t+=o,26!==o)break}return t},r.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},r.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},r.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},r.prototype.isNeg=function(){return 0!==this.negative},r.prototype.neg=function(){return this.clone().ineg()},r.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},r.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},r.prototype.ior=function(t){return n(!(this.negative|t.negative)),this.iuor(t)},r.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},r.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},r.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var o=0;o<e.length;o++)this.words[o]=this.words[o]&t.words[o];return this.length=e.length,this.strip()},r.prototype.iand=function(t){return n(!(this.negative|t.negative)),this.iuand(t)},r.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},r.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},r.prototype.iuxor=function(t){var e,o;this.length>t.length?(e=this,o=t):(e=t,o=this);for(var n=0;n<o.length;n++)this.words[n]=e.words[n]^o.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},r.prototype.ixor=function(t){return n(!(this.negative|t.negative)),this.iuxor(t)},r.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},r.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},r.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),o=t%26;this._expand(e),o>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return o>0&&(this.words[i]=~this.words[i]&67108863>>26-o),this.strip()},r.prototype.notn=function(t){return this.clone().inotn(t)},r.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var o=t/26|0,i=t%26;return this._expand(o+1),this.words[o]=e?this.words[o]|1<<i:this.words[o]&~(1<<i),this.strip()},r.prototype.iadd=function(t){var e,o,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(o=this,n=t):(o=t,n=this);for(var i=0,r=0;r<n.length;r++)e=(0|o.words[r])+(0|n.words[r])+i,this.words[r]=67108863&e,i=e>>>26;for(;0!==i&&r<o.length;r++)e=(0|o.words[r])+i,this.words[r]=67108863&e,i=e>>>26;if(this.length=o.length,0!==i)this.words[this.length]=i,this.length++;else if(o!==this)for(;r<o.length;r++)this.words[r]=o.words[r];return this},r.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},r.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var o,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(o=this,n=t):(o=t,n=this);for(var r=0,s=0;s<n.length;s++)r=(e=(0|o.words[s])-(0|n.words[s])+r)>>26,this.words[s]=67108863&e;for(;0!==r&&s<o.length;s++)r=(e=(0|o.words[s])+r)>>26,this.words[s]=67108863&e;if(0===r&&s<o.length&&o!==this)for(;s<o.length;s++)this.words[s]=o.words[s];return this.length=Math.max(this.length,s),o!==this&&(this.negative=1),this.strip()},r.prototype.sub=function(t){return this.clone().isub(t)};var f=function(t,e,o){var n,i,r,s=t.words,a=e.words,l=o.words,p=0,u=0|s[0],c=8191&u,d=u>>>13,h=0|s[1],f=8191&h,g=h>>>13,y=0|s[2],v=8191&y,m=y>>>13,C=0|s[3],E=8191&C,w=C>>>13,_=0|s[4],R=8191&_,S=_>>>13,O=0|s[5],T=8191&O,b=O>>>13,A=0|s[6],P=8191&A,D=A>>>13,N=0|s[7],F=8191&N,x=N>>>13,I=0|s[8],L=8191&I,M=I>>>13,G=0|s[9],k=8191&G,W=G>>>13,H=0|a[0],V=8191&H,B=H>>>13,j=0|a[1],U=8191&j,z=j>>>13,Y=0|a[2],K=8191&Y,q=Y>>>13,Q=0|a[3],$=8191&Q,X=Q>>>13,Z=0|a[4],J=8191&Z,tt=Z>>>13,et=0|a[5],ot=8191&et,nt=et>>>13,it=0|a[6],rt=8191&it,st=it>>>13,at=0|a[7],lt=8191&at,pt=at>>>13,ut=0|a[8],ct=8191&ut,dt=ut>>>13,ht=0|a[9],ft=8191&ht,gt=ht>>>13;o.negative=t.negative^e.negative,o.length=19;var yt=(p+(n=Math.imul(c,V))|0)+((8191&(i=(i=Math.imul(c,B))+Math.imul(d,V)|0))<<13)|0;p=((r=Math.imul(d,B))+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(f,V),i=(i=Math.imul(f,B))+Math.imul(g,V)|0,r=Math.imul(g,B);var vt=(p+(n=n+Math.imul(c,U)|0)|0)+((8191&(i=(i=i+Math.imul(c,z)|0)+Math.imul(d,U)|0))<<13)|0;p=((r=r+Math.imul(d,z)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,V),i=(i=Math.imul(v,B))+Math.imul(m,V)|0,r=Math.imul(m,B),n=n+Math.imul(f,U)|0,i=(i=i+Math.imul(f,z)|0)+Math.imul(g,U)|0,r=r+Math.imul(g,z)|0;var mt=(p+(n=n+Math.imul(c,K)|0)|0)+((8191&(i=(i=i+Math.imul(c,q)|0)+Math.imul(d,K)|0))<<13)|0;p=((r=r+Math.imul(d,q)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(E,V),i=(i=Math.imul(E,B))+Math.imul(w,V)|0,r=Math.imul(w,B),n=n+Math.imul(v,U)|0,i=(i=i+Math.imul(v,z)|0)+Math.imul(m,U)|0,r=r+Math.imul(m,z)|0,n=n+Math.imul(f,K)|0,i=(i=i+Math.imul(f,q)|0)+Math.imul(g,K)|0,r=r+Math.imul(g,q)|0;var Ct=(p+(n=n+Math.imul(c,$)|0)|0)+((8191&(i=(i=i+Math.imul(c,X)|0)+Math.imul(d,$)|0))<<13)|0;p=((r=r+Math.imul(d,X)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(R,V),i=(i=Math.imul(R,B))+Math.imul(S,V)|0,r=Math.imul(S,B),n=n+Math.imul(E,U)|0,i=(i=i+Math.imul(E,z)|0)+Math.imul(w,U)|0,r=r+Math.imul(w,z)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,q)|0)+Math.imul(m,K)|0,r=r+Math.imul(m,q)|0,n=n+Math.imul(f,$)|0,i=(i=i+Math.imul(f,X)|0)+Math.imul(g,$)|0,r=r+Math.imul(g,X)|0;var Et=(p+(n=n+Math.imul(c,J)|0)|0)+((8191&(i=(i=i+Math.imul(c,tt)|0)+Math.imul(d,J)|0))<<13)|0;p=((r=r+Math.imul(d,tt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(T,V),i=(i=Math.imul(T,B))+Math.imul(b,V)|0,r=Math.imul(b,B),n=n+Math.imul(R,U)|0,i=(i=i+Math.imul(R,z)|0)+Math.imul(S,U)|0,r=r+Math.imul(S,z)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,q)|0)+Math.imul(w,K)|0,r=r+Math.imul(w,q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(m,$)|0,r=r+Math.imul(m,X)|0,n=n+Math.imul(f,J)|0,i=(i=i+Math.imul(f,tt)|0)+Math.imul(g,J)|0,r=r+Math.imul(g,tt)|0;var wt=(p+(n=n+Math.imul(c,ot)|0)|0)+((8191&(i=(i=i+Math.imul(c,nt)|0)+Math.imul(d,ot)|0))<<13)|0;p=((r=r+Math.imul(d,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(P,V),i=(i=Math.imul(P,B))+Math.imul(D,V)|0,r=Math.imul(D,B),n=n+Math.imul(T,U)|0,i=(i=i+Math.imul(T,z)|0)+Math.imul(b,U)|0,r=r+Math.imul(b,z)|0,n=n+Math.imul(R,K)|0,i=(i=i+Math.imul(R,q)|0)+Math.imul(S,K)|0,r=r+Math.imul(S,q)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(w,$)|0,r=r+Math.imul(w,X)|0,n=n+Math.imul(v,J)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(m,J)|0,r=r+Math.imul(m,tt)|0,n=n+Math.imul(f,ot)|0,i=(i=i+Math.imul(f,nt)|0)+Math.imul(g,ot)|0,r=r+Math.imul(g,nt)|0;var _t=(p+(n=n+Math.imul(c,rt)|0)|0)+((8191&(i=(i=i+Math.imul(c,st)|0)+Math.imul(d,rt)|0))<<13)|0;p=((r=r+Math.imul(d,st)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,V),i=(i=Math.imul(F,B))+Math.imul(x,V)|0,r=Math.imul(x,B),n=n+Math.imul(P,U)|0,i=(i=i+Math.imul(P,z)|0)+Math.imul(D,U)|0,r=r+Math.imul(D,z)|0,n=n+Math.imul(T,K)|0,i=(i=i+Math.imul(T,q)|0)+Math.imul(b,K)|0,r=r+Math.imul(b,q)|0,n=n+Math.imul(R,$)|0,i=(i=i+Math.imul(R,X)|0)+Math.imul(S,$)|0,r=r+Math.imul(S,X)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(w,J)|0,r=r+Math.imul(w,tt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(m,ot)|0,r=r+Math.imul(m,nt)|0,n=n+Math.imul(f,rt)|0,i=(i=i+Math.imul(f,st)|0)+Math.imul(g,rt)|0,r=r+Math.imul(g,st)|0;var Rt=(p+(n=n+Math.imul(c,lt)|0)|0)+((8191&(i=(i=i+Math.imul(c,pt)|0)+Math.imul(d,lt)|0))<<13)|0;p=((r=r+Math.imul(d,pt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(L,V),i=(i=Math.imul(L,B))+Math.imul(M,V)|0,r=Math.imul(M,B),n=n+Math.imul(F,U)|0,i=(i=i+Math.imul(F,z)|0)+Math.imul(x,U)|0,r=r+Math.imul(x,z)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,q)|0)+Math.imul(D,K)|0,r=r+Math.imul(D,q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,X)|0)+Math.imul(b,$)|0,r=r+Math.imul(b,X)|0,n=n+Math.imul(R,J)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(S,J)|0,r=r+Math.imul(S,tt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(w,ot)|0,r=r+Math.imul(w,nt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,st)|0)+Math.imul(m,rt)|0,r=r+Math.imul(m,st)|0,n=n+Math.imul(f,lt)|0,i=(i=i+Math.imul(f,pt)|0)+Math.imul(g,lt)|0,r=r+Math.imul(g,pt)|0;var St=(p+(n=n+Math.imul(c,ct)|0)|0)+((8191&(i=(i=i+Math.imul(c,dt)|0)+Math.imul(d,ct)|0))<<13)|0;p=((r=r+Math.imul(d,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(k,V),i=(i=Math.imul(k,B))+Math.imul(W,V)|0,r=Math.imul(W,B),n=n+Math.imul(L,U)|0,i=(i=i+Math.imul(L,z)|0)+Math.imul(M,U)|0,r=r+Math.imul(M,z)|0,n=n+Math.imul(F,K)|0,i=(i=i+Math.imul(F,q)|0)+Math.imul(x,K)|0,r=r+Math.imul(x,q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,$)|0,r=r+Math.imul(D,X)|0,n=n+Math.imul(T,J)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(b,J)|0,r=r+Math.imul(b,tt)|0,n=n+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,nt)|0)+Math.imul(S,ot)|0,r=r+Math.imul(S,nt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,st)|0)+Math.imul(w,rt)|0,r=r+Math.imul(w,st)|0,n=n+Math.imul(v,lt)|0,i=(i=i+Math.imul(v,pt)|0)+Math.imul(m,lt)|0,r=r+Math.imul(m,pt)|0,n=n+Math.imul(f,ct)|0,i=(i=i+Math.imul(f,dt)|0)+Math.imul(g,ct)|0,r=r+Math.imul(g,dt)|0;var Ot=(p+(n=n+Math.imul(c,ft)|0)|0)+((8191&(i=(i=i+Math.imul(c,gt)|0)+Math.imul(d,ft)|0))<<13)|0;p=((r=r+Math.imul(d,gt)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(k,U),i=(i=Math.imul(k,z))+Math.imul(W,U)|0,r=Math.imul(W,z),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,q)|0)+Math.imul(M,K)|0,r=r+Math.imul(M,q)|0,n=n+Math.imul(F,$)|0,i=(i=i+Math.imul(F,X)|0)+Math.imul(x,$)|0,r=r+Math.imul(x,X)|0,n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,J)|0,r=r+Math.imul(D,tt)|0,n=n+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,nt)|0)+Math.imul(b,ot)|0,r=r+Math.imul(b,nt)|0,n=n+Math.imul(R,rt)|0,i=(i=i+Math.imul(R,st)|0)+Math.imul(S,rt)|0,r=r+Math.imul(S,st)|0,n=n+Math.imul(E,lt)|0,i=(i=i+Math.imul(E,pt)|0)+Math.imul(w,lt)|0,r=r+Math.imul(w,pt)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,dt)|0)+Math.imul(m,ct)|0,r=r+Math.imul(m,dt)|0;var Tt=(p+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,gt)|0)+Math.imul(g,ft)|0))<<13)|0;p=((r=r+Math.imul(g,gt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,K),i=(i=Math.imul(k,q))+Math.imul(W,K)|0,r=Math.imul(W,q),n=n+Math.imul(L,$)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(M,$)|0,r=r+Math.imul(M,X)|0,n=n+Math.imul(F,J)|0,i=(i=i+Math.imul(F,tt)|0)+Math.imul(x,J)|0,r=r+Math.imul(x,tt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,ot)|0,r=r+Math.imul(D,nt)|0,n=n+Math.imul(T,rt)|0,i=(i=i+Math.imul(T,st)|0)+Math.imul(b,rt)|0,r=r+Math.imul(b,st)|0,n=n+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,pt)|0)+Math.imul(S,lt)|0,r=r+Math.imul(S,pt)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(w,ct)|0,r=r+Math.imul(w,dt)|0;var bt=(p+(n=n+Math.imul(v,ft)|0)|0)+((8191&(i=(i=i+Math.imul(v,gt)|0)+Math.imul(m,ft)|0))<<13)|0;p=((r=r+Math.imul(m,gt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(k,$),i=(i=Math.imul(k,X))+Math.imul(W,$)|0,r=Math.imul(W,X),n=n+Math.imul(L,J)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(M,J)|0,r=r+Math.imul(M,tt)|0,n=n+Math.imul(F,ot)|0,i=(i=i+Math.imul(F,nt)|0)+Math.imul(x,ot)|0,r=r+Math.imul(x,nt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,st)|0)+Math.imul(D,rt)|0,r=r+Math.imul(D,st)|0,n=n+Math.imul(T,lt)|0,i=(i=i+Math.imul(T,pt)|0)+Math.imul(b,lt)|0,r=r+Math.imul(b,pt)|0,n=n+Math.imul(R,ct)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(S,ct)|0,r=r+Math.imul(S,dt)|0;var At=(p+(n=n+Math.imul(E,ft)|0)|0)+((8191&(i=(i=i+Math.imul(E,gt)|0)+Math.imul(w,ft)|0))<<13)|0;p=((r=r+Math.imul(w,gt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(k,J),i=(i=Math.imul(k,tt))+Math.imul(W,J)|0,r=Math.imul(W,tt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(M,ot)|0,r=r+Math.imul(M,nt)|0,n=n+Math.imul(F,rt)|0,i=(i=i+Math.imul(F,st)|0)+Math.imul(x,rt)|0,r=r+Math.imul(x,st)|0,n=n+Math.imul(P,lt)|0,i=(i=i+Math.imul(P,pt)|0)+Math.imul(D,lt)|0,r=r+Math.imul(D,pt)|0,n=n+Math.imul(T,ct)|0,i=(i=i+Math.imul(T,dt)|0)+Math.imul(b,ct)|0,r=r+Math.imul(b,dt)|0;var Pt=(p+(n=n+Math.imul(R,ft)|0)|0)+((8191&(i=(i=i+Math.imul(R,gt)|0)+Math.imul(S,ft)|0))<<13)|0;p=((r=r+Math.imul(S,gt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(k,ot),i=(i=Math.imul(k,nt))+Math.imul(W,ot)|0,r=Math.imul(W,nt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,st)|0)+Math.imul(M,rt)|0,r=r+Math.imul(M,st)|0,n=n+Math.imul(F,lt)|0,i=(i=i+Math.imul(F,pt)|0)+Math.imul(x,lt)|0,r=r+Math.imul(x,pt)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,dt)|0)+Math.imul(D,ct)|0,r=r+Math.imul(D,dt)|0;var Dt=(p+(n=n+Math.imul(T,ft)|0)|0)+((8191&(i=(i=i+Math.imul(T,gt)|0)+Math.imul(b,ft)|0))<<13)|0;p=((r=r+Math.imul(b,gt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(k,rt),i=(i=Math.imul(k,st))+Math.imul(W,rt)|0,r=Math.imul(W,st),n=n+Math.imul(L,lt)|0,i=(i=i+Math.imul(L,pt)|0)+Math.imul(M,lt)|0,r=r+Math.imul(M,pt)|0,n=n+Math.imul(F,ct)|0,i=(i=i+Math.imul(F,dt)|0)+Math.imul(x,ct)|0,r=r+Math.imul(x,dt)|0;var Nt=(p+(n=n+Math.imul(P,ft)|0)|0)+((8191&(i=(i=i+Math.imul(P,gt)|0)+Math.imul(D,ft)|0))<<13)|0;p=((r=r+Math.imul(D,gt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(k,lt),i=(i=Math.imul(k,pt))+Math.imul(W,lt)|0,r=Math.imul(W,pt),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(M,ct)|0,r=r+Math.imul(M,dt)|0;var Ft=(p+(n=n+Math.imul(F,ft)|0)|0)+((8191&(i=(i=i+Math.imul(F,gt)|0)+Math.imul(x,ft)|0))<<13)|0;p=((r=r+Math.imul(x,gt)|0)+(i>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(k,ct),i=(i=Math.imul(k,dt))+Math.imul(W,ct)|0,r=Math.imul(W,dt);var xt=(p+(n=n+Math.imul(L,ft)|0)|0)+((8191&(i=(i=i+Math.imul(L,gt)|0)+Math.imul(M,ft)|0))<<13)|0;p=((r=r+Math.imul(M,gt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863;var It=(p+(n=Math.imul(k,ft))|0)+((8191&(i=(i=Math.imul(k,gt))+Math.imul(W,ft)|0))<<13)|0;return p=((r=Math.imul(W,gt))+(i>>>13)|0)+(It>>>26)|0,It&=67108863,l[0]=yt,l[1]=vt,l[2]=mt,l[3]=Ct,l[4]=Et,l[5]=wt,l[6]=_t,l[7]=Rt,l[8]=St,l[9]=Ot,l[10]=Tt,l[11]=bt,l[12]=At,l[13]=Pt,l[14]=Dt,l[15]=Nt,l[16]=Ft,l[17]=xt,l[18]=It,0!==p&&(l[19]=p,o.length++),o};function g(t,e,o){return(new y).mulp(t,e,o)}function y(t,e){this.x=t,this.y=e}Math.imul||(f=h),r.prototype.mulTo=function(t,e){var o,n=this.length+t.length;return o=10===this.length&&10===t.length?f(this,t,e):n<63?h(this,t,e):n<1024?function(t,e,o){o.negative=e.negative^t.negative,o.length=t.length+e.length;for(var n=0,i=0,r=0;r<o.length-1;r++){var s=i;i=0;for(var a=67108863&n,l=Math.min(r,e.length-1),p=Math.max(0,r-t.length+1);p<=l;p++){var u=r-p,c=(0|t.words[u])*(0|e.words[p]),d=67108863&c;a=67108863&(d=d+a|0),i+=(s=(s=s+(c/67108864|0)|0)+(d>>>26)|0)>>>26,s&=67108863}o.words[r]=a,n=s,s=i}return 0!==n?o.words[r]=n:o.length--,o.strip()}(this,t,e):g(this,t,e),o},y.prototype.makeRBT=function(t){for(var e=new Array(t),o=r.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,o,t);return e},y.prototype.revBin=function(t,e,o){if(0===t||t===o-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},y.prototype.permute=function(t,e,o,n,i,r){for(var s=0;s<r;s++)n[s]=e[t[s]],i[s]=o[t[s]]},y.prototype.transform=function(t,e,o,n,i,r){this.permute(r,t,e,o,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),p=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var c=l,d=p,h=0;h<s;h++){var f=o[u+h],g=n[u+h],y=o[u+h+s],v=n[u+h+s],m=c*y-d*v;v=c*v+d*y,y=m,o[u+h]=f+y,n[u+h]=g+v,o[u+h+s]=f-y,n[u+h+s]=g-v,h!==a&&(m=l*c-p*d,d=l*d+p*c,c=m)}},y.prototype.guessLen13b=function(t,e){var o=1|Math.max(e,t),n=1&o,i=0;for(o=o/2|0;o;o>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(t,e,o){if(!(o<=1))for(var n=0;n<o/2;n++){var i=t[n];t[n]=t[o-n-1],t[o-n-1]=i,i=e[n],e[n]=-e[o-n-1],e[o-n-1]=-i}},y.prototype.normalize13b=function(t,e){for(var o=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+o;t[n]=67108863&i,o=i<67108864?0:i/67108864|0}return t},y.prototype.convert13b=function(t,e,o,i){for(var r=0,s=0;s<e;s++)r+=0|t[s],o[2*s]=8191&r,r>>>=13,o[2*s+1]=8191&r,r>>>=13;for(s=2*e;s<i;++s)o[s]=0;n(0===r),n(!(-8192&r))},y.prototype.stub=function(t){for(var e=new Array(t),o=0;o<t;o++)e[o]=0;return e},y.prototype.mulp=function(t,e,o){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),r=this.stub(n),s=new Array(n),a=new Array(n),l=new Array(n),p=new Array(n),u=new Array(n),c=new Array(n),d=o.words;d.length=n,this.convert13b(t.words,t.length,s,n),this.convert13b(e.words,e.length,p,n),this.transform(s,r,a,l,n,i),this.transform(p,r,u,c,n,i);for(var h=0;h<n;h++){var f=a[h]*u[h]-l[h]*c[h];l[h]=a[h]*c[h]+l[h]*u[h],a[h]=f}return this.conjugate(a,l,n),this.transform(a,l,d,r,n,i),this.conjugate(d,r,n),this.normalize13b(d,n),o.negative=t.negative^e.negative,o.length=t.length+e.length,o.strip()},r.prototype.mul=function(t){var e=new r(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},r.prototype.mulf=function(t){var e=new r(null);return e.words=new Array(this.length+t.length),g(this,t,e)},r.prototype.imul=function(t){return this.clone().mulTo(t,this)},r.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,o=0;o<this.length;o++){var i=(0|this.words[o])*t,r=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=r>>>26,this.words[o]=67108863&r}return 0!==e&&(this.words[o]=e,this.length++),this},r.prototype.muln=function(t){return this.clone().imuln(t)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),o=0;o<e.length;o++){var n=o/26|0,i=o%26;e[o]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new r(1);for(var o=this,n=0;n<e.length&&0===e[n];n++,o=o.sqr());if(++n<e.length)for(var i=o.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(o=o.mul(i));return o},r.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var e,o=t%26,i=(t-o)/26,r=67108863>>>26-o<<26-o;if(0!==o){var s=0;for(e=0;e<this.length;e++){var a=this.words[e]&r,l=(0|this.words[e])-a<<o;this.words[e]=l|s,s=a>>>26-o}s&&(this.words[e]=s,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},r.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},r.prototype.iushrn=function(t,e,o){var i;n("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var r=t%26,s=Math.min((t-r)/26,this.length),a=67108863^67108863>>>r<<r,l=o;if(i-=s,i=Math.max(0,i),l){for(var p=0;p<s;p++)l.words[p]=this.words[p];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,p=0;p<this.length;p++)this.words[p]=this.words[p+s];else this.words[0]=0,this.length=1;var u=0;for(p=this.length-1;p>=0&&(0!==u||p>=i);p--){var c=0|this.words[p];this.words[p]=u<<26-r|c>>>r,u=c&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(t,e,o){return n(0===this.negative),this.iushrn(t,e,o)},r.prototype.shln=function(t){return this.clone().ishln(t)},r.prototype.ushln=function(t){return this.clone().iushln(t)},r.prototype.shrn=function(t){return this.clone().ishrn(t)},r.prototype.ushrn=function(t){return this.clone().iushrn(t)},r.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,o=(t-e)/26,i=1<<e;return!(this.length<=o||!(this.words[o]&i))},r.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,o=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=o)return this;if(0!==e&&o++,this.length=Math.min(o,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},r.prototype.maskn=function(t){return this.clone().imaskn(t)},r.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},r.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},r.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},r.prototype.addn=function(t){return this.clone().iaddn(t)},r.prototype.subn=function(t){return this.clone().isubn(t)},r.prototype.iabs=function(){return this.negative=0,this},r.prototype.abs=function(){return this.clone().iabs()},r.prototype._ishlnsubmul=function(t,e,o){var i,r,s=t.length+o;this._expand(s);var a=0;for(i=0;i<t.length;i++){r=(0|this.words[i+o])+a;var l=(0|t.words[i])*e;a=((r-=67108863&l)>>26)-(l/67108864|0),this.words[i+o]=67108863&r}for(;i<this.length-o;i++)a=(r=(0|this.words[i+o])+a)>>26,this.words[i+o]=67108863&r;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)a=(r=-(0|this.words[i])+a)>>26,this.words[i]=67108863&r;return this.negative=1,this.strip()},r.prototype._wordDiv=function(t,e){var o=(this.length,t.length),n=this.clone(),i=t,s=0|i.words[i.length-1];0!=(o=26-this._countBits(s))&&(i=i.ushln(o),n.iushln(o),s=0|i.words[i.length-1]);var a,l=n.length-i.length;if("mod"!==e){(a=new r(null)).length=l+1,a.words=new Array(a.length);for(var p=0;p<a.length;p++)a.words[p]=0}var u=n.clone()._ishlnsubmul(i,1,l);0===u.negative&&(n=u,a&&(a.words[l]=1));for(var c=l-1;c>=0;c--){var d=67108864*(0|n.words[i.length+c])+(0|n.words[i.length+c-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(i,d,c);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(i,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=d)}return a&&a.strip(),n.strip(),"div"!==e&&0!==o&&n.iushrn(o),{div:a||null,mod:n}},r.prototype.divmod=function(t,e,o){return n(!t.isZero()),this.isZero()?{div:new r(0),mod:new r(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(s=a.mod.neg(),o&&0!==s.negative&&s.iadd(t)),{div:i,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):this.negative&t.negative?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),o&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new r(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new r(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new r(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,s,a},r.prototype.div=function(t){return this.divmod(t,"div",!1).div},r.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},r.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},r.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var o=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),r=o.cmp(n);return r<0||1===i&&0===r?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},r.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,o=0,i=this.length-1;i>=0;i--)o=(e*o+(0|this.words[i]))%t;return o},r.prototype.idivn=function(t){n(t<=67108863);for(var e=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*e;this.words[o]=i/t|0,e=i%t}return this.strip()},r.prototype.divn=function(t){return this.clone().idivn(t)},r.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,o=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new r(1),s=new r(0),a=new r(0),l=new r(1),p=0;e.isEven()&&o.isEven();)e.iushrn(1),o.iushrn(1),++p;for(var u=o.clone(),c=e.clone();!e.isZero();){for(var d=0,h=1;!(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(u),s.isub(c)),i.iushrn(1),s.iushrn(1);for(var f=0,g=1;!(o.words[0]&g)&&f<26;++f,g<<=1);if(f>0)for(o.iushrn(f);f-- >0;)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(c)),a.iushrn(1),l.iushrn(1);e.cmp(o)>=0?(e.isub(o),i.isub(a),s.isub(l)):(o.isub(e),a.isub(i),l.isub(s))}return{a,b:l,gcd:o.iushln(p)}},r.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,o=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,s=new r(1),a=new r(0),l=o.clone();e.cmpn(1)>0&&o.cmpn(1)>0;){for(var p=0,u=1;!(e.words[0]&u)&&p<26;++p,u<<=1);if(p>0)for(e.iushrn(p);p-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,d=1;!(o.words[0]&d)&&c<26;++c,d<<=1);if(c>0)for(o.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);e.cmp(o)>=0?(e.isub(o),s.isub(a)):(o.isub(e),a.isub(s))}return(i=0===e.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(t),i},r.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),o=t.clone();e.negative=0,o.negative=0;for(var n=0;e.isEven()&&o.isEven();n++)e.iushrn(1),o.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;o.isEven();)o.iushrn(1);var i=e.cmp(o);if(i<0){var r=e;e=o,o=r}else if(0===i||0===o.cmpn(1))break;e.isub(o)}return o.iushln(n)},r.prototype.invm=function(t){return this.egcd(t).a.umod(t)},r.prototype.isEven=function(){return!(1&this.words[0])},r.prototype.isOdd=function(){return!(1&~this.words[0])},r.prototype.andln=function(t){return this.words[0]&t},r.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,o=(t-e)/26,i=1<<e;if(this.length<=o)return this._expand(o+1),this.words[o]|=i,this;for(var r=i,s=o;0!==r&&s<this.length;s++){var a=0|this.words[s];r=(a+=r)>>>26,a&=67108863,this.words[s]=a}return 0!==r&&(this.words[s]=r,this.length++),this},r.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},r.prototype.cmpn=function(t){var e,o=t<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)e=1;else{o&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},r.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},r.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,o=this.length-1;o>=0;o--){var n=0|this.words[o],i=0|t.words[o];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},r.prototype.gtn=function(t){return 1===this.cmpn(t)},r.prototype.gt=function(t){return 1===this.cmp(t)},r.prototype.gten=function(t){return this.cmpn(t)>=0},r.prototype.gte=function(t){return this.cmp(t)>=0},r.prototype.ltn=function(t){return-1===this.cmpn(t)},r.prototype.lt=function(t){return-1===this.cmp(t)},r.prototype.lten=function(t){return this.cmpn(t)<=0},r.prototype.lte=function(t){return this.cmp(t)<=0},r.prototype.eqn=function(t){return 0===this.cmpn(t)},r.prototype.eq=function(t){return 0===this.cmp(t)},r.red=function(t){return new R(t)},r.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},r.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(t){return this.red=t,this},r.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},r.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},r.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},r.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},r.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},r.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},r.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},r.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},r.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function m(t,e){this.name=t,this.p=new r(e,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function C(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function R(t){if("string"==typeof t){var e=r._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){R.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var t=new r(null);return t.words=new Array(Math.ceil(this.n/13)),t},m.prototype.ireduce=function(t){var e,o=t;do{this.split(o,this.tmp),e=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:o.ucmp(this.p);return 0===n?(o.words[0]=0,o.length=1):n>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},m.prototype.split=function(t,e){t.iushrn(this.n,0,e)},m.prototype.imulK=function(t){return t.imul(this.k)},i(C,m),C.prototype.split=function(t,e){for(var o=4194303,n=Math.min(t.length,9),i=0;i<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var r=t.words[9];for(e.words[e.length++]=r&o,i=10;i<t.length;i++){var s=0|t.words[i];t.words[i-10]=(s&o)<<4|r>>>22,r=s}r>>>=22,t.words[i-10]=r,0===r&&t.length>10?t.length-=10:t.length-=9},C.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,o=0;o<t.length;o++){var n=0|t.words[o];e+=977*n,t.words[o]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(E,m),i(w,m),i(_,m),_.prototype.imulK=function(t){for(var e=0,o=0;o<t.length;o++){var n=19*(0|t.words[o])+e,i=67108863&n;n>>>=26,t.words[o]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},r._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new C;else if("p224"===t)e=new E;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return v[t]=e,e},R.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},R.prototype._verify2=function(t,e){n(!(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},R.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},R.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},R.prototype.add=function(t,e){this._verify2(t,e);var o=t.add(e);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},R.prototype.iadd=function(t,e){this._verify2(t,e);var o=t.iadd(e);return o.cmp(this.m)>=0&&o.isub(this.m),o},R.prototype.sub=function(t,e){this._verify2(t,e);var o=t.sub(e);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},R.prototype.isub=function(t,e){this._verify2(t,e);var o=t.isub(e);return o.cmpn(0)<0&&o.iadd(this.m),o},R.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},R.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},R.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},R.prototype.isqr=function(t){return this.imul(t,t.clone())},R.prototype.sqr=function(t){return this.mul(t,t)},R.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var o=this.m.add(new r(1)).iushrn(2);return this.pow(t,o)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new r(1).toRed(this),l=a.redNeg(),p=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new r(2*u*u).toRed(this);0!==this.pow(u,p).cmp(l);)u.redIAdd(l);for(var c=this.pow(u,i),d=this.pow(t,i.addn(1).iushrn(1)),h=this.pow(t,i),f=s;0!==h.cmp(a);){for(var g=h,y=0;0!==g.cmp(a);y++)g=g.redSqr();n(y<f);var v=this.pow(c,new r(1).iushln(f-y-1));d=d.redMul(v),c=v.redSqr(),h=h.redMul(c),f=y}return d},R.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},R.prototype.pow=function(t,e){if(e.isZero())return new r(1).toRed(this);if(0===e.cmpn(1))return t.clone();var o=new Array(16);o[0]=new r(1).toRed(this),o[1]=t;for(var n=2;n<o.length;n++)o[n]=this.mul(o[n-1],t);var i=o[0],s=0,a=0,l=e.bitLength()%26;for(0===l&&(l=26),n=e.length-1;n>=0;n--){for(var p=e.words[n],u=l-1;u>=0;u--){var c=p>>u&1;i!==o[0]&&(i=this.sqr(i)),0!==c||0!==s?(s<<=1,s|=c,(4==++a||0===n&&0===u)&&(i=this.mul(i,o[s]),a=0,s=0)):a=0}l=26}return i},R.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},R.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},r.mont=function(t){return new S(t)},i(S,R),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var o=t.imul(e),n=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=o.isub(n).iushrn(this.shift),r=i;return i.cmp(this.m)>=0?r=i.isub(this.m):i.cmpn(0)<0&&(r=i.iadd(this.m)),r._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new r(0)._forceRed(this);var o=t.mul(e),n=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=o.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=o.nmd(t),this)},60634:(t,e,o)=>{var n=o(72994).Token,i=o(18393).Lexer,r=o(51028).ATN,s=o(16068).e,a=o(41207).X,l=(o(87264).Q,o(87264).F),p=o(10559).PredictionContext,u=o(10559).SingletonPredictionContext,c=o(81367).RuleStopState,d=o(470).I,h=o(10014).Transition,f=o(96160).I,g=o(86587).LexerNoViableAltException;function y(t){t.index=-1,t.line=0,t.column=-1,t.dfaState=null}function v(){return y(this),this}function m(t,e,o,n){return s.call(this,e,n),this.decisionToDFA=o,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE,this.prevAccept=new v,this}v.prototype.reset=function(){y(this)},m.prototype=Object.create(s.prototype),m.prototype.constructor=m,m.debug=!1,m.dfa_debug=!1,m.MIN_DFA_EDGE=0,m.MAX_DFA_EDGE=127,m.match_calls=0,m.prototype.copyState=function(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex},m.prototype.match=function(t,e){this.match_calls+=1,this.mode=e;var o=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();var n=this.decisionToDFA[e];return null===n.s0?this.matchATN(t):this.execATN(t,n.s0)}finally{t.release(o)}},m.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=i.DEFAULT_MODE},m.prototype.matchATN=function(t){var e=this.atn.modeToStartState[this.mode];m.debug&&console.log("matchATN mode "+this.mode+" start: "+e);var o=this.mode,n=this.computeStartState(t,e),i=n.hasSemanticContext;n.hasSemanticContext=!1;var r=this.addDFAState(n);i||(this.decisionToDFA[this.mode].s0=r);var s=this.execATN(t,r);return m.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[o].toLexerString()),s},m.prototype.execATN=function(t,e){m.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);for(var o=t.LA(1),i=e;;){m.debug&&console.log("execATN loop starting closure: "+i.configs);var r=this.getExistingTargetState(i,o);if(null===r&&(r=this.computeTargetState(t,i,o)),r===s.ERROR)break;if(o!==n.EOF&&this.consume(t),r.isAcceptState&&(this.captureSimState(this.prevAccept,t,r),o===n.EOF))break;o=t.LA(1),i=r}return this.failOrAccept(this.prevAccept,t,i.configs,o)},m.prototype.getExistingTargetState=function(t,e){if(null===t.edges||e<m.MIN_DFA_EDGE||e>m.MAX_DFA_EDGE)return null;var o=t.edges[e-m.MIN_DFA_EDGE];return void 0===o&&(o=null),m.debug&&null!==o&&console.log("reuse state "+t.stateNumber+" edge to "+o.stateNumber),o},m.prototype.computeTargetState=function(t,e,o){var n=new l;return this.getReachableConfigSet(t,e.configs,n,o),0===n.items.length?(n.hasSemanticContext||this.addDFAEdge(e,o,s.ERROR),s.ERROR):this.addDFAEdge(e,o,null,n)},m.prototype.failOrAccept=function(t,e,o,i){if(null!==this.prevAccept.dfaState){var r=t.dfaState.lexerActionExecutor;return this.accept(e,r,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}if(i===n.EOF&&e.index===this.startIndex)return n.EOF;throw new g(this.recog,e,this.startIndex,o)},m.prototype.getReachableConfigSet=function(t,e,o,i){for(var s=r.INVALID_ALT_NUMBER,a=0;a<e.items.length;a++){var l=e.items[a],p=l.alt===s;if(!p||!l.passedThroughNonGreedyDecision){m.debug&&console.log("testing %s at %s\n",this.getTokenName(i),l.toString(this.recog,!0));for(var u=0;u<l.state.transitions.length;u++){var c=l.state.transitions[u],h=this.getReachableTarget(c,i);if(null!==h){var f=l.lexerActionExecutor;null!==f&&(f=f.fixOffsetBeforeMatch(t.index-this.startIndex));var g=i===n.EOF,y=new d({state:h,lexerActionExecutor:f},l);this.closure(t,y,o,p,!0,g)&&(s=l.alt)}}}}},m.prototype.accept=function(t,e,o,n,i,r){m.debug&&console.log("ACTION %s\n",e),t.seek(n),this.line=i,this.column=r,null!==e&&null!==this.recog&&e.execute(this.recog,t,o)},m.prototype.getReachableTarget=function(t,e){return t.matches(e,0,i.MAX_CHAR_VALUE)?t.target:null},m.prototype.computeStartState=function(t,e){for(var o=p.EMPTY,n=new l,i=0;i<e.transitions.length;i++){var r=e.transitions[i].target,s=new d({state:r,alt:i+1,context:o},null);this.closure(t,s,n,!1,!1,!1)}return n},m.prototype.closure=function(t,e,o,n,i,r){var s=null;if(m.debug&&console.log("closure("+e.toString(this.recog,!0)+")"),e.state instanceof c){if(m.debug&&(null!==this.recog?console.log("closure at %s rule stop %s\n",this.recog.ruleNames[e.state.ruleIndex],e):console.log("closure at rule stop %s\n",e)),null===e.context||e.context.hasEmptyPath()){if(null===e.context||e.context.isEmpty())return o.add(e),!0;o.add(new d({state:e.state,context:p.EMPTY},e)),n=!0}if(null!==e.context&&!e.context.isEmpty())for(var a=0;a<e.context.length;a++)if(e.context.getReturnState(a)!==p.EMPTY_RETURN_STATE){var l=e.context.getParent(a),u=this.atn.states[e.context.getReturnState(a)];s=new d({state:u,context:l},e),n=this.closure(t,s,o,n,i,r)}return n}e.state.epsilonOnlyTransitions||n&&e.passedThroughNonGreedyDecision||o.add(e);for(var h=0;h<e.state.transitions.length;h++){var f=e.state.transitions[h];null!==(s=this.getEpsilonTarget(t,e,f,o,i,r))&&(n=this.closure(t,s,o,n,i,r))}return n},m.prototype.getEpsilonTarget=function(t,e,o,r,s,a){var l=null;if(o.serializationType===h.RULE){var p=u.create(e.context,o.followState.stateNumber);l=new d({state:o.target,context:p},e)}else{if(o.serializationType===h.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(o.serializationType===h.PREDICATE)m.debug&&console.log("EVAL rule "+o.ruleIndex+":"+o.predIndex),r.hasSemanticContext=!0,this.evaluatePredicate(t,o.ruleIndex,o.predIndex,s)&&(l=new d({state:o.target},e));else if(o.serializationType===h.ACTION)if(null===e.context||e.context.hasEmptyPath()){var c=f.append(e.lexerActionExecutor,this.atn.lexerActions[o.actionIndex]);l=new d({state:o.target,lexerActionExecutor:c},e)}else l=new d({state:o.target},e);else o.serializationType===h.EPSILON?l=new d({state:o.target},e):o.serializationType!==h.ATOM&&o.serializationType!==h.RANGE&&o.serializationType!==h.SET||a&&o.matches(n.EOF,0,i.MAX_CHAR_VALUE)&&(l=new d({state:o.target},e))}return l},m.prototype.evaluatePredicate=function(t,e,o,n){if(null===this.recog)return!0;if(!n)return this.recog.sempred(null,e,o);var i=this.column,r=this.line,s=t.index,a=t.mark();try{return this.consume(t),this.recog.sempred(null,e,o)}finally{this.column=i,this.line=r,t.seek(s),t.release(a)}},m.prototype.captureSimState=function(t,e,o){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=o},m.prototype.addDFAEdge=function(t,e,o,n){if(void 0===o&&(o=null),void 0===n&&(n=null),null===o&&null!==n){var i=n.hasSemanticContext;if(n.hasSemanticContext=!1,o=this.addDFAState(n),i)return o}return e<m.MIN_DFA_EDGE||e>m.MAX_DFA_EDGE||(m.debug&&console.log("EDGE "+t+" -> "+o+" upon "+e),null===t.edges&&(t.edges=[]),t.edges[e-m.MIN_DFA_EDGE]=o),o},m.prototype.addDFAState=function(t){for(var e=new a(null,t),o=null,n=0;n<t.items.length;n++){var i=t.items[n];if(i.state instanceof c){o=i;break}}null!==o&&(e.isAcceptState=!0,e.lexerActionExecutor=o.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[o.state.ruleIndex]);var r=this.decisionToDFA[this.mode],s=r.states.get(e);if(null!==s)return s;var l=e;return l.stateNumber=r.states.length,t.setReadonly(!0),l.configs=t,r.states.add(l),l},m.prototype.getDFA=function(t){return this.decisionToDFA[t]},m.prototype.getText=function(t){return t.getText(this.startIndex,t.index-1)},m.prototype.consume=function(t){t.LA(1)==="\n".charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()},m.prototype.getTokenName=function(t){return-1===t?"EOF":"'"+String.fromCharCode(t)+"'"},e.LexerATNSimulator=m},60843:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(37132),a=o(72493),l=o(72493),p=o(44081),u=o(83423),c=function(){function t(){this.allSyncListeners={},this.allAsyncListeners={},this.globalSyncListeners=[],this.globalAsyncListeners=[],this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}var e;return e=t,t.prototype.setBeans=function(t,e,o){if(void 0===o&&(o=null),this.logger=t.create("EventService"),o){var n=e.useAsyncEvents();this.addGlobalListener(o,n)}},t.prototype.getListenerList=function(t,e){var o=e?this.allAsyncListeners:this.allSyncListeners,n=o[t];return n||(n=[],o[t]=n),n},t.prototype.addEventListener=function(t,e,o){void 0===o&&(o=!1);var n=this.getListenerList(t,o);n.indexOf(e)<0&&n.push(e)},t.prototype.addModalPriorityEventListener=function(t,o,n){void 0===n&&(n=!1),this.addEventListener(t+e.PRIORITY,o,n)},t.prototype.addGlobalListener=function(t,e){void 0===e&&(e=!1),e?this.globalAsyncListeners.push(t):this.globalSyncListeners.push(t)},t.prototype.removeEventListener=function(t,e,o){void 0===o&&(o=!1);var n=this.getListenerList(t,o);u._.removeFromArray(n,e)},t.prototype.removeGlobalListener=function(t,e){void 0===e&&(e=!1),e?u._.removeFromArray(this.globalAsyncListeners,t):u._.removeFromArray(this.globalSyncListeners,t)},t.prototype.dispatchEvent=function(t){this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0},t.prototype.dispatchEventOnce=function(t){this.firedEvents[t.type]||this.dispatchEvent(t)},t.prototype.dispatchToListeners=function(t,o){var n=this,i=o?this.globalAsyncListeners:this.globalSyncListeners,r=t.type,s=this.getListenerList(r+e.PRIORITY,o);u._.forEachSnapshotFirst(s,(function(e){o?n.dispatchAsync((function(){return e(t)})):e(t)}));var a=this.getListenerList(r,o);u._.forEachSnapshotFirst(a,(function(e){o?n.dispatchAsync((function(){return e(t)})):e(t)})),u._.forEachSnapshotFirst(i,(function(e){o?n.dispatchAsync((function(){return e(r,t)})):e(r,t)}))},t.prototype.dispatchAsync=function(t){this.asyncFunctionsQueue.push(t),this.scheduled||(window.setTimeout(this.flushAsyncQueue.bind(this),0),this.scheduled=!0)},t.prototype.flushAsyncQueue=function(){this.scheduled=!1;var t=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],t.forEach((function(t){return t()}))},t.PRIORITY="-P1",n([r(0,l.Qualifier("loggerFactory")),r(1,l.Qualifier("gridOptionsWrapper")),r(2,l.Qualifier("globalEventListener")),i("design:type",Function),i("design:paramtypes",[s.LoggerFactory,p.GridOptionsWrapper,Function]),i("design:returntype",void 0)],t.prototype,"setBeans",null),e=n([a.Bean("eventService")],t)}();e.EventService=c},61862:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(97156),i=o(65360),r=!1;e.initialiseAgGridWithWebComponents=function(){if(console.warn("ag-grid: initialiseAgGridWithWebComponents is deprecated. Please use the ag-grid-webcomponent dependency instead. "),!r){r=!0,"undefined"!=typeof document&&document.registerElement||console.error("ag-Grid: unable to find document.registerElement() function, unable to initialise ag-Grid as a Web Component");var t=Object.create(HTMLElement.prototype);n.ComponentUtil.ALL_PROPERTIES.forEach((function(e){Object.defineProperty(t,e,{set:function(t){this.__agGridSetProperty(e,t)},get:function(){return this.__agGridGetProperty(e)},enumerable:!0,configurable:!0})}));var e=t;e.__agGridSetProperty=function(t,e){this.__attributes||(this.__attributes={}),this.__attributes[t]=e;var o={};o[t]={currentValue:e},this.onChange(o)},e.onChange=function(t){this._initialised&&n.ComponentUtil.processOnChange(t,this._gridOptions,this.api,this.columnApi)},e.__agGridGetProperty=function(t){return this.__attributes||(this.__attributes={}),this.__attributes[t]},e.setGridOptions=function(t){var e=this.globalEventListener.bind(this);this._gridOptions=n.ComponentUtil.copyAttributesToGridOptions(t,this);var o={globalEventListener:e};this._agGrid=new i.Grid(this,this._gridOptions,o),this.api=t.api,this.columnApi=t.columnApi,this._initialised=!0},e.createdCallback=function(){for(var t=0;t<this.attributes.length;t++){var e=this.attributes[t];this.setPropertyFromAttribute(e)}},e.setPropertyFromAttribute=function(t){var e,o="string"==typeof(e=t.nodeName)?e.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()})):e,i=t.nodeValue;n.ComponentUtil.ALL_PROPERTIES.indexOf(o)>=0&&(this[o]=i)},e.attachedCallback=function(t){},e.detachedCallback=function(t){},e.attributeChangedCallback=function(t){var e=this.attributes[t];this.setPropertyFromAttribute(e)},e.globalEventListener=function(t,e){var o=t.toLowerCase(),n=new Event(o);n.agGridDetails=e,this.dispatchEvent(n);var i="on"+o;"function"==typeof this[i]&&this[i](n)},document.registerElement("ag-grid",{prototype:t})}}},63387:(t,e,o)=>{o(66346).Set;var n=o(66346).Map,i=o(66346).BitSet,r=o(66346).AltDict,s=o(51028).ATN,a=o(81367).RuleStopState,l=o(87264).Q,p=o(470).G,u=o(7842).Ij,c=(o(66346).Hash,o(66346).hashStuff);function d(){return this}o(66346).equalArrays,d.SLL=0,d.LL=1,d.LL_EXACT_AMBIG_DETECTION=2,d.hasSLLConflictTerminatingPrediction=function(t,e){if(d.allConfigsInRuleStopStates(e))return!0;if(t===d.SLL&&e.hasSemanticContext){for(var o=new l,n=0;n<e.items.length;n++){var i=e.items[n];i=new p({semanticContext:u.NONE},i),o.add(i)}e=o}var r=d.getConflictingAltSubsets(e);return d.hasConflictingAltSet(r)&&!d.hasStateAssociatedWithOneAlt(e)},d.hasConfigInRuleStopState=function(t){for(var e=0;e<t.items.length;e++)if(t.items[e].state instanceof a)return!0;return!1},d.allConfigsInRuleStopStates=function(t){for(var e=0;e<t.items.length;e++)if(!(t.items[e].state instanceof a))return!1;return!0},d.resolvesToJustOneViableAlt=function(t){return d.getSingleViableAlt(t)},d.allSubsetsConflict=function(t){return!d.hasNonConflictingAltSet(t)},d.hasNonConflictingAltSet=function(t){for(var e=0;e<t.length;e++)if(1===t[e].length)return!0;return!1},d.hasConflictingAltSet=function(t){for(var e=0;e<t.length;e++)if(t[e].length>1)return!0;return!1},d.allSubsetsEqual=function(t){for(var e=null,o=0;o<t.length;o++){var n=t[o];if(null===e)e=n;else if(n!==e)return!1}return!0},d.getUniqueAlt=function(t){var e=d.getAlts(t);return 1===e.length?e.minValue():s.INVALID_ALT_NUMBER},d.getAlts=function(t){var e=new i;return t.map((function(t){e.or(t)})),e},d.getConflictingAltSubsets=function(t){var e=new n;return e.hashFunction=function(t){c(t.state.stateNumber,t.context)},e.equalsFunction=function(t,e){return t.state.stateNumber==e.state.stateNumber&&t.context.equals(e.context)},t.items.map((function(t){var o=e.get(t);null===o&&(o=new i,e.put(t,o)),o.add(t.alt)})),e.getValues()},d.getStateToAltMap=function(t){var e=new r;return t.items.map((function(t){var o=e.get(t.state);null===o&&(o=new i,e.put(t.state,o)),o.add(t.alt)})),e},d.hasStateAssociatedWithOneAlt=function(t){for(var e=d.getStateToAltMap(t).values(),o=0;o<e.length;o++)if(1===e[o].length)return!0;return!1},d.getSingleViableAlt=function(t){for(var e=null,o=0;o<t.length;o++){var n=t[o].minValue();if(null===e)e=n;else if(e!==n)return s.INVALID_ALT_NUMBER}return e},e.PredictionMode=d},63405:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(85222);e.Events=n.Events},64229:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(98239),p=o(44871),u=o(10042),c=o(72493),d=o(60843),h=o(63405),f=o(25230),g=o(45727),y=o(1571),v=o(42195),m=o(13887),C=o(48011),E=o(41451),w=o(15724),_=o(10190),R=o(50580),S=o(40797),O=o(69065),T=o(19378),b=o(8894),A=o(24463),P=o(66419),D=o(58342),N=o(36819),F=o(51755),x=o(45697),I=o(22131),L=o(23801),M=o(64314),G=o(41832),k=o(55090),W=o(47721),H=o(89929),V=o(68198),B=o(83423),j=function(t){function e(){var e=t.call(this,'<div class="ag-root ag-unselectable" role="grid" unselectable="on">\n <ag-header-root ref="headerRoot" unselectable="on"></ag-header-root>\n <div class="ag-floating-top" ref="eTop" role="presentation" unselectable="on">\n <div class="ag-pinned-left-floating-top" ref="eLeftTop" role="presentation" unselectable="on"></div>\n <div class="ag-floating-top-viewport" ref="eTopViewport" role="presentation" unselectable="on">\n <div class="ag-floating-top-container" ref="eTopContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-pinned-right-floating-top" ref="eRightTop" role="presentation" unselectable="on"></div>\n <div class="ag-floating-top-full-width-container" ref="eTopFullWidthContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-body-viewport" ref="eBodyViewport" role="presentation" unselectable="on">\n <div class="ag-pinned-left-cols-container" ref="eLeftContainer" role="presentation" unselectable="on"></div>\n <div class="ag-center-cols-clipper" ref="eCenterColsClipper">\n <div class="ag-center-cols-viewport" ref="eCenterViewport" role="presentation" unselectable="on">\n <div class="ag-center-cols-container" ref="eCenterContainer" role="presentation" unselectable="on"></div>\n </div>\n </div>\n <div class="ag-pinned-right-cols-container" ref="eRightContainer" role="presentation" unselectable="on"></div>\n <div class="ag-full-width-container" ref="eFullWidthContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-floating-bottom" ref="eBottom" role="presentation" unselectable="on">\n <div class="ag-pinned-left-floating-bottom" ref="eLeftBottom" role="presentation" unselectable="on"></div>\n <div class="ag-floating-bottom-viewport" ref="eBottomViewport" role="presentation" unselectable="on">\n <div class="ag-floating-bottom-container" ref="eBottomContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-pinned-right-floating-bottom" ref="eRightBottom" role="presentation" unselectable="on"></div>\n <div class="ag-floating-bottom-full-width-container" ref="eBottomFullWidthContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-body-horizontal-scroll" ref="eHorizontalScrollBody">\n <div class="ag-horizontal-left-spacer" ref="eHorizontalLeftSpacer"></div>\n <div class="ag-body-horizontal-scroll-viewport" ref="eBodyHorizontalScrollViewport">\n <div class="ag-body-horizontal-scroll-container" ref="eBodyHorizontalScrollContainer"></div>\n </div>\n <div class="ag-horizontal-right-spacer" ref="eHorizontalRightSpacer"></div>\n </div>\n <ag-overlay-wrapper ref="overlayWrapper"></ag-overlay-wrapper>\n </div>')||this;return e.scrollLeft=-1,e.scrollTop=-1,e.resetLastHorizontalScrollElementDebounce=B._.debounce(e.resetLastHorizontalScrollElement.bind(e),500),e}return i(e,t),e.prototype.getVScrollPosition=function(){return{top:this.eBodyViewport.scrollTop,bottom:this.eBodyViewport.scrollTop+this.eBodyViewport.offsetHeight}},e.prototype.getHScrollPosition=function(){return{left:this.eCenterViewport.scrollLeft,right:this.eCenterViewport.scrollLeft+this.eCenterViewport.offsetWidth}},e.prototype.onRowDataChanged=function(){this.showOrHideOverlay()},e.prototype.showOrHideOverlay=function(){var t=this.paginationProxy.isEmpty(),e=this.gridOptionsWrapper.isSuppressNoRowsOverlay();this[t&&!e?"showNoRowsOverlay":"hideOverlay"]()},e.prototype.onNewColumnsLoaded=function(){this.columnController.isReady()&&!this.paginationProxy.isEmpty()&&this.hideOverlay()},e.prototype.init=function(){var t=this;this.scrollWidth=this.gridOptionsWrapper.getScrollbarWidth(),this.enableRtl=this.gridOptionsWrapper.isEnableRtl(),this.printLayout=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT,this.gridOptionsWrapper.addLayoutElement(this.getGui()),this.gridOptionsWrapper.addLayoutElement(this.eBodyViewport),this.suppressScrollOnFloatingRow(),this.setupRowAnimationCssClass(),this.buildRowContainerComponents(),this.addEventListeners(),this.addDragListeners(),this.addScrollListener(),this.gridOptionsWrapper.isRowModelDefault()&&!this.gridOptionsWrapper.getRowData()&&this.showLoadingOverlay(),this.setCellTextSelection(this.gridOptionsWrapper.isEnableCellTextSelect()),this.setPinnedContainerSize(),this.setHeaderAndFloatingHeights(),this.disableBrowserDragging(),this.addMouseListeners(),this.addKeyboardEvents(),this.addBodyViewportListener(),this.addStopEditingWhenGridLosesFocus(),this.mockContextMenuForIPad(),this.addRowDragListener(),this.$scope&&this.addAngularApplyCheck(),this.onDisplayedColumnsWidthChanged(),this.gridApi.registerGridComp(this),this.alignedGridsService.registerGridComp(this),this.headerRootComp.registerGridComp(this),this.navigationService.registerGridComp(this),this.heightScaler.registerGridComp(this),this.autoHeightCalculator.registerGridComp(this),this.columnAnimationService.registerGridComp(this),this.autoWidthCalculator.registerGridComp(this),this.paginationAutoPageSizeService.registerGridComp(this),this.beans.registerGridComp(this),this.rowRenderer.registerGridComp(this),this.rangeController&&this.rangeController.registerGridComp(this),[this.eCenterViewport,this.eBodyViewport].forEach((function(e){var o=t.resizeObserverService.observeResize(e,t.onCenterViewportResized.bind(t));t.addDestroyFunc((function(){return o()}))}))},e.prototype.onDomLayoutChanged=function(){var t=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT;this.printLayout!==t&&(this.printLayout=t,this.setWidthsOfContainers(),this.setPinnedContainerSize())},e.prototype.onCenterViewportResized=function(){this.checkViewportAndScrolls()},e.prototype.setColumnMovingCss=function(t){this.addOrRemoveCssClass("ag-column-moving",t)},e.prototype.setCellTextSelection=function(t){void 0===t&&(t=!1),[this.eTop,this.eCenterContainer,this.eBottom].forEach((function(e){return B._.addOrRemoveCssClass(e,"ag-selectable",t)}))},e.prototype.addRowDragListener=function(){var t=new N.RowDragFeature(this.eBodyViewport,this);this.getContext().wireBean(t),this.dragAndDropService.addDropTarget(t)},e.prototype.addStopEditingWhenGridLosesFocus=function(){var t=this;if(this.gridOptionsWrapper.isStopEditingWhenGridLosesFocus()){var e=function(e){for(var o=!1,n=e.relatedTarget;B._.exists(n)&&!o;){var i=!!t.gridOptionsWrapper.getDomData(n,w.PopupEditorWrapper.DOM_KEY_POPUP_EDITOR_WRAPPER),r=t.eBodyViewport===n||t.eBottom===n||t.eTop===n;o=i||r,n=n.parentNode}o||t.rowRenderer.stopEditing()};this.addDestroyableEventListener(this.eBodyViewport,"focusout",e),this.addDestroyableEventListener(this.eTop,"focusout",e),this.addDestroyableEventListener(this.eBottom,"focusout",e)}},e.prototype.addAngularApplyCheck=function(){var t=this,e=!1,o=function(){e||(e=!0,window.setTimeout((function(){e=!1,t.$scope.$apply()}),0))};this.addDestroyableEventListener(this.eventService,h.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,o),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,o)},e.prototype.disableBrowserDragging=function(){this.addGuiEventListener("dragstart",(function(t){if(t.target instanceof HTMLImageElement)return t.preventDefault(),!1}))},e.prototype.addEventListeners=function(){this.addDestroyableEventListener(this.eventService,h.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_PINNED_ROW_DATA_CHANGED,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_ROW_DATA_CHANGED,this.onRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_ROW_DATA_UPDATED,this.onRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_DOM_LAYOUT,this.onDomLayoutChanged.bind(this))},e.prototype.addDragListeners=function(){var t=this;this.gridOptionsWrapper.isEnableRangeSelection()&&!B._.missing(this.rangeController)&&[this.eLeftContainer,this.eRightContainer,this.eCenterContainer,this.eTop,this.eBottom].forEach((function(e){var o={eElement:e,onDragStart:t.rangeController.onDragStart.bind(t.rangeController),onDragStop:t.rangeController.onDragStop.bind(t.rangeController),onDragging:t.rangeController.onDragging.bind(t.rangeController),skipMouseEvent:function(t){return t.shiftKey}};t.dragService.addDragSource(o),t.addDestroyFunc((function(){return t.dragService.removeDragSource(o)}))}))},e.prototype.addMouseListeners=function(){var t=this;["click","mousedown","dblclick","contextmenu","mouseover","mouseout"].forEach((function(e){var o=t.processMouseEvent.bind(t,e);t.eAllCellContainers.forEach((function(n){return t.addDestroyableEventListener(n,e,o)}))}))},e.prototype.addKeyboardEvents=function(){var t=this;["keydown","keypress"].forEach((function(e){var o=t.processKeyboardEvent.bind(t,e);t.eAllCellContainers.forEach((function(n){t.addDestroyableEventListener(n,e,o,!0)}))}))},e.prototype.addBodyViewportListener=function(){var t=this;this.addDestroyableEventListener(this.eBodyViewport,"contextmenu",(function(e){var o=B._.getTarget(e);o!==t.eBodyViewport&&o!==t.eCenterViewport||(t.onContextMenu(e,null,null,null,null),t.preventDefaultOnContextMenu(e))}))},e.prototype.getBodyClientRect=function(){if(this.eBodyViewport)return this.eBodyViewport.getBoundingClientRect()},e.prototype.getRowForEvent=function(t){for(var e=B._.getTarget(t);e;){var o=this.gridOptionsWrapper.getDomData(e,T.RowComp.DOM_DATA_KEY_RENDERED_ROW);if(o)return o;e=e.parentElement}return null},e.prototype.processKeyboardEvent=function(t,e){var o=B._.getCellCompForEvent(this.gridOptionsWrapper,e),n=o.getRenderedRow().getRowNode(),i=o.getColumn(),r=o.isEditing();if(o){if(B._.isUserSuppressingKeyboardEvent(this.gridOptionsWrapper,e,n,i,r))e.preventDefault();else switch(t){case"keydown":this.navigationService.handlePageScrollingKey(e)||o.onKeyDown(e),this.doClipboardOperations(e,o);break;case"keypress":o.onKeyPress(e)}if("keydown"===t){var s=o.createEvent(e,h.Events.EVENT_CELL_KEY_DOWN);this.beans.eventService.dispatchEvent(s)}if("keypress"===t){var a=o.createEvent(e,h.Events.EVENT_CELL_KEY_PRESS);this.beans.eventService.dispatchEvent(a)}}},e.prototype.doClipboardOperations=function(t,e){if((t.ctrlKey||t.metaKey)&&!e.isEditing()&&this.mouseEventService.isEventFromThisGrid(t))switch(t.which){case g.Constants.KEY_A:return this.onCtrlAndA(t);case g.Constants.KEY_C:return this.onCtrlAndC(t);case g.Constants.KEY_V:return this.onCtrlAndV();case g.Constants.KEY_D:return this.onCtrlAndD(t)}},e.prototype.scrollToTop=function(){this.eBodyViewport.scrollTop=0},e.prototype.processMouseEvent=function(t,e){if(this.mouseEventService.isEventFromThisGrid(e)&&!B._.isStopPropagationForAgGrid(e)){var o=this.getRowForEvent(e),n=this.mouseEventService.getRenderedCellForEvent(e);"contextmenu"===t?this.handleContextMenuMouseEvent(e,null,o,n):(n&&n.onMouseEvent(t,e),o&&o.onMouseEvent(t,e)),this.preventDefaultOnContextMenu(e)}},e.prototype.mockContextMenuForIPad=function(){var t=this;B._.isUserAgentIPad()&&this.eAllCellContainers.forEach((function(e){var o=new P.TouchListener(e);t.addDestroyableEventListener(o,P.TouchListener.EVENT_LONG_TAP,(function(e){var o=t.getRowForEvent(e.touchEvent),n=t.mouseEventService.getRenderedCellForEvent(e.touchEvent);t.handleContextMenuMouseEvent(null,e.touchEvent,o,n)})),t.addDestroyFunc((function(){return o.destroy()}))}))},e.prototype.handleContextMenuMouseEvent=function(t,e,o,n){var i=o?o.getRowNode():null,r=n?n.getColumn():null,s=null;if(r){var a=t||e;n.dispatchCellContextMenuEvent(a),s=this.valueService.getValue(r,i)}this.onContextMenu(t,e,i,r,s)},e.prototype.onContextMenu=function(t,e,o,n,i){if((this.gridOptionsWrapper.isAllowContextMenuWithControlKey()||!t||!t.ctrlKey&&!t.metaKey)&&this.contextMenuFactory&&!this.gridOptionsWrapper.isSuppressContextMenu()){var r=t||e.touches[0];this.contextMenuFactory.showMenu(o,n,i,r),(t||e).preventDefault()}},e.prototype.preventDefaultOnContextMenu=function(t){this.gridOptionsWrapper.isSuppressMiddleClickScrolls()&&2===t.which&&t.preventDefault()},e.prototype.onCtrlAndA=function(t){var e=this,o=e.columnController,n=e.pinnedRowModel,i=e.paginationProxy,r=e.rangeController,s=g.Constants.PINNED_BOTTOM,a=g.Constants.PINNED_TOP;if(r&&i.isRowsToRender()){var l=[n.isEmpty(a),n.isEmpty(s)],p=l[0]?null:a,u=void 0,c=void 0;l[1]?(u=null,c=this.paginationProxy.getTotalRowCount()-1):(u=s,c=n.getPinnedBottomRowData().length-1);var d=o.getAllDisplayedColumns();if(B._.missingOrEmpty(d))return;r.setRange({rowStart:0,floatingStart:p,rowEnd:c,floatingEnd:u,columnStart:d[0],columnEnd:d[d.length-1]})}t.preventDefault()},e.prototype.onCtrlAndC=function(t){if(this.clipboardService&&!this.gridOptionsWrapper.isEnableCellTextSelection()){var e=this.focusedCellController.getFocusedCell();this.clipboardService.copyToClipboard(),t.preventDefault(),e&&this.focusedCellController.setFocusedCell(e.rowIndex,e.column,e.floating,!0)}},e.prototype.onCtrlAndV=function(){this.enterprise&&!this.gridOptionsWrapper.isSuppressClipboardPaste()&&this.clipboardService.pasteFromClipboard()},e.prototype.onCtrlAndD=function(t){this.enterprise&&(this.clipboardService.copyRangeDown(),t.preventDefault())},e.prototype.ensureIndexVisible=function(t,e){if(!this.printLayout){var o=this.paginationProxy.getTotalRowCount();if("number"!=typeof t||t<0||t>=o)console.warn("invalid row index for ensureIndexVisible: "+t);else{this.paginationProxy.goToPageWithIndex(t);var n,i=this.paginationProxy.getRow(t);do{var r=i.rowTop,s=i.rowHeight,a=this.paginationProxy.getPixelOffset(),l=i.rowTop-a,p=l+i.rowHeight,u=this.getVScrollPosition(),c=this.heightScaler.getOffset(),d=u.top+c,h=u.bottom+c,f=h-d,g=this.heightScaler.getScrollPositionForPixel(l),y=this.heightScaler.getScrollPositionForPixel(p-f),v=Math.min((g+y)/2,l),m=null;"top"===e?m=g:"bottom"===e?m=y:"middle"===e?m=v:d>l?m=g:h<p&&(m=y),null!==m&&(this.eBodyViewport.scrollTop=m,this.rowRenderer.redrawAfterScroll()),n=r!==i.rowTop||s!==i.rowHeight}while(n);this.animationFrameService.flushAllFrames()}}},e.prototype.getCenterWidth=function(){return this.eCenterViewport.clientWidth},e.prototype.isVerticalScrollShowing=function(){var t=this.gridOptionsWrapper.isAlwaysShowVerticalScroll();return B._.addOrRemoveCssClass(this.eBodyViewport,"ag-force-vertical-scroll",t),t||B._.isVerticalScrollShowing(this.eBodyViewport)},e.prototype.isHorizontalScrollShowing=function(){return B._.isHorizontalScrollShowing(this.eCenterViewport)},e.prototype.checkViewportAndScrolls=function(){this.updateScrollVisibleService(),this.checkBodyHeight(),this.onHorizontalViewportChanged(),this.setPinnedContainerSize()},e.prototype.updateScrollVisibleService=function(){this.updateScrollVisibleServiceImpl(),setTimeout(this.updateScrollVisibleServiceImpl.bind(this),500)},e.prototype.updateScrollVisibleServiceImpl=function(){var t={horizontalScrollShowing:!1,verticalScrollShowing:!1};t.verticalScrollShowing=this.isVerticalScrollShowing(),t.horizontalScrollShowing=this.isHorizontalScrollShowing(),this.scrollVisibleService.setScrollsVisible(t),this.setHorizontalScrollVisible(t.horizontalScrollShowing),this.setVerticalScrollPaddingVisible(t.verticalScrollShowing)},e.prototype.setHorizontalScrollVisible=function(t){var e=this.gridOptionsWrapper.isSuppressHorizontalScroll(),o=t&&this.gridOptionsWrapper.getScrollbarWidth()||0,n=e?0:o,i=B._.isBrowserIE()&&t;this.eCenterViewport.style.height="calc(100% + "+o+"px)",B._.setFixedHeight(this.eHorizontalScrollBody,n),B._.setFixedHeight(this.eBodyHorizontalScrollViewport,n+(i?1:0)),i&&(this.eBodyHorizontalScrollViewport.style.bottom="1px"),B._.setFixedHeight(this.eBodyHorizontalScrollContainer,n)},e.prototype.setVerticalScrollPaddingVisible=function(t){var e=t?"scroll":"hidden";this.eTop.style.overflowY=this.eBottom.style.overflowY=e,this.setFakeHScrollSpacerWidths()},e.prototype.ensureColumnVisible=function(t){var e=this.columnController.getGridColumn(t);if(e)if(e.isPinned())console.warn("calling ensureIndexVisible on a "+e.getPinned()+" pinned column doesn't make sense for column "+e.getColId());else if(this.columnController.isColumnDisplayed(e)){var o,n,i=e.getLeft(),r=i+e.getActualWidth(),s=this.eCenterViewport.clientWidth,a=this.getCenterViewportScrollLeft(),l=this.columnController.getBodyContainerWidth();this.enableRtl?(o=l-a-s,n=l-a):(o=a,n=s+a);var p=o>i,u=n<r,c=s<e.getActualWidth(),d=p||c,h=u,f=this.getCenterViewportScrollLeft();(d||h)&&(f=this.enableRtl?d?l-s-i:l-r:d?i:r-s,this.setCenterViewportScrollLeft(f)),this.onHorizontalViewportChanged(),this.animationFrameService.flushAllFrames()}else console.warn("column is not currently visible")},e.prototype.showLoadingOverlay=function(){this.gridOptionsWrapper.isSuppressLoadingOverlay()||this.overlayWrapper.showLoadingOverlay()},e.prototype.showNoRowsOverlay=function(){this.gridOptionsWrapper.isSuppressNoRowsOverlay()||this.overlayWrapper.showNoRowsOverlay()},e.prototype.hideOverlay=function(){this.overlayWrapper.hideOverlay()},e.prototype.sizeColumnsToFit=function(t){var e=this,o=this.eBodyViewport.clientWidth;o>0?this.columnController.sizeColumnsToFit(o,"sizeColumnsToFit"):void 0===t?window.setTimeout((function(){e.sizeColumnsToFit(100)}),0):100===t?window.setTimeout((function(){e.sizeColumnsToFit(500)}),100):500===t?window.setTimeout((function(){e.sizeColumnsToFit(-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?")},e.prototype.getCenterContainer=function(){return this.eCenterContainer},e.prototype.getDropTargetBodyContainers=function(){return[this.eCenterViewport,this.eTopViewport,this.eBottomViewport]},e.prototype.getDropTargetLeftContainers=function(){return[this.eLeftContainer,this.eLeftBottom,this.eLeftTop]},e.prototype.getDropTargetRightContainers=function(){return[this.eRightContainer,this.eRightBottom,this.eRightTop]},e.prototype.buildRowContainerComponents=function(){var t=this;this.eAllCellContainers=[this.eLeftContainer,this.eRightContainer,this.eCenterContainer,this.eTop,this.eBottom,this.eFullWidthContainer],this.rowContainerComponents={body:new C.RowContainerComponent({eContainer:this.eCenterContainer,eWrapper:this.eCenterColsClipper,eViewport:this.eBodyViewport}),fullWidth:new C.RowContainerComponent({eContainer:this.eFullWidthContainer}),pinnedLeft:new C.RowContainerComponent({eContainer:this.eLeftContainer}),pinnedRight:new C.RowContainerComponent({eContainer:this.eRightContainer}),floatingTop:new C.RowContainerComponent({eContainer:this.eTopContainer}),floatingTopPinnedLeft:new C.RowContainerComponent({eContainer:this.eLeftTop}),floatingTopPinnedRight:new C.RowContainerComponent({eContainer:this.eRightTop}),floatingTopFullWidth:new C.RowContainerComponent({eContainer:this.eTopFullWidthContainer,hideWhenNoChildren:!0}),floatingBottom:new C.RowContainerComponent({eContainer:this.eBottomContainer}),floatingBottomPinnedLeft:new C.RowContainerComponent({eContainer:this.eLeftBottom}),floatingBottomPinnedRight:new C.RowContainerComponent({eContainer:this.eRightBottom}),floatingBottomFullWith:new C.RowContainerComponent({eContainer:this.eBottomFullWidthContainer,hideWhenNoChildren:!0})},B._.iterateObject(this.rowContainerComponents,(function(e,o){o&&t.getContext().wireBean(o)}))},e.prototype.setupRowAnimationCssClass=function(){var t=this,e=function(){var e=t.gridOptionsWrapper.isAnimateRows()&&!t.heightScaler.isScaling();B._.addOrRemoveCssClass(t.eBodyViewport,"ag-row-animation",e),B._.addOrRemoveCssClass(t.eBodyViewport,"ag-row-no-animation",!e)};e(),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_HEIGHT_SCALE_CHANGED,e)},e.prototype.suppressScrollOnFloatingRow=function(){var t=this;this.addDestroyableEventListener(this.eTopViewport,"scroll",(function(){return t.eTopViewport.scrollLeft=0})),this.addDestroyableEventListener(this.eBottomViewport,"scroll",(function(){return t.eTopViewport.scrollLeft=0}))},e.prototype.getRowContainers=function(){return this.rowContainerComponents},e.prototype.getFloatingTopBottom=function(){return[this.eTop,this.eBottom]},e.prototype.onDisplayedColumnsChanged=function(){this.setPinnedContainerSize(),this.setHeaderAndFloatingHeights(),this.onHorizontalViewportChanged(),this.updateScrollVisibleService()},e.prototype.onDisplayedColumnsWidthChanged=function(){this.setWidthsOfContainers(),this.onHorizontalViewportChanged(),this.updateScrollVisibleService(),this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloatingCenter()},e.prototype.setWidthsOfContainers=function(){this.setCenterWidth(),this.setPinnedContainerSize()},e.prototype.setCenterWidth=function(){var t=this.columnController.getBodyContainerWidth();this.printLayout&&(t+=this.columnController.getPinnedLeftContainerWidth()+this.columnController.getPinnedRightContainerWidth()),this.headerRootComp.setHeaderContainerWidth(t);var e=t+"px";this.eCenterContainer.style.width=e,this.eBottomContainer.style.width=e,this.eTopContainer.style.width=e,this.printLayout||(this.eBodyHorizontalScrollContainer.style.width=e)},e.prototype.setPinnedLeftWidth=function(){var t=this,e=this.pinningLeft,o=this.columnController.getPinnedLeftContainerWidth(),n=this.pinningLeft=!this.printLayout&&o>0,i=[this.eLeftContainer,this.eLeftTop,this.eLeftBottom];e!==n&&this.headerRootComp.setLeftVisible(n),i.forEach((function(e){return B._.setVisible(e,t.pinningLeft)})),n&&i.forEach((function(t){return B._.setFixedWidth(t,o)}))},e.prototype.setPinnedRightWidth=function(){var t=this.pinningRight,e=this.columnController.getPinnedRightContainerWidth(),o=this.pinningRight=!this.printLayout&&e>0,n=[this.eRightContainer,this.eRightTop,this.eRightBottom];t!==o&&this.headerRootComp.setRightVisible(o),n.forEach((function(t){return B._.setVisible(t,o)})),o&&n.forEach((function(t){return B._.setFixedWidth(t,e)}))},e.prototype.setPinnedContainerSize=function(){this.setPinnedLeftWidth(),this.setPinnedRightWidth(),this.setFakeHScrollSpacerWidths()},e.prototype.setFakeHScrollSpacerWidths=function(){var t=this.columnController.getPinnedRightContainerWidth();!this.enableRtl&&this.isVerticalScrollShowing()&&(t+=this.scrollWidth),B._.setFixedWidth(this.eHorizontalRightSpacer,t),B._.addOrRemoveCssClass(this.eHorizontalRightSpacer,"ag-scroller-corner",t<=this.scrollWidth);var e=this.columnController.getPinnedLeftContainerWidth();this.enableRtl&&this.isVerticalScrollShowing()&&(e+=this.scrollWidth),B._.setFixedWidth(this.eHorizontalLeftSpacer,e),B._.addOrRemoveCssClass(this.eHorizontalLeftSpacer,"ag-scroller-corner",e<=this.scrollWidth)},e.prototype.checkBodyHeight=function(){var t=this.eBodyViewport.clientHeight;if(this.bodyHeight!==t){this.bodyHeight=t;var e={type:h.Events.EVENT_BODY_HEIGHT_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}},e.prototype.setHeaderAndFloatingHeights=function(){var t,e,o,n=this,i=n.columnController,r=n.gridOptionsWrapper,s=n.pinnedRowModel,a=n.eTop,l=n.eBottom,p=0,u=i.getHeaderRowCount();i.isPivotMode()?(p=0,e=r.getPivotGroupHeaderHeight(),o=r.getPivotHeaderHeight()):(r.isFloatingFilter()&&u++,p=r.isFloatingFilter()?1:0,e=r.getGroupHeaderHeight(),o=r.getHeaderHeight());var c=u-(1+p);t=p*r.getFloatingFiltersHeight(),t+=c*e,t+=o,this.headerRootComp.setHeight(t);var d=s.getPinnedTopTotalHeight();d&&(d+=1);var h=s.getPinnedBottomTotalHeight();h&&(h+=1);var f=d+"px",g=h+"px";a.style.minHeight=f,a.style.height=f,a.style.display=d?"inherit":"none",l.style.minHeight=g,l.style.height=g,l.style.display=h?"inherit":"none",this.checkBodyHeight()},e.prototype.getBodyHeight=function(){return this.bodyHeight},e.prototype.setHorizontalScrollPosition=function(t){this.eCenterViewport.scrollLeft=t,this.doHorizontalScroll(t)},e.prototype.setVerticalScrollPosition=function(t){this.eBodyViewport.scrollTop=t},e.prototype.scrollHorizontally=function(t){var e=this.eCenterViewport.scrollLeft;return this.setHorizontalScrollPosition(e+t),this.eCenterViewport.scrollLeft-e},e.prototype.scrollVertically=function(t){var e=this.eBodyViewport.scrollTop;return this.setVerticalScrollPosition(e+t),this.eBodyViewport.scrollTop-e},e.prototype.addScrollListener=function(){this.addDestroyableEventListener(this.eCenterViewport,"scroll",this.onCenterViewportScroll.bind(this)),this.addDestroyableEventListener(this.eBodyHorizontalScrollViewport,"scroll",this.onFakeHorizontalScroll.bind(this)),this.addDestroyableEventListener(this.eBodyViewport,"scroll",this.onVerticalScroll.bind(this))},e.prototype.onVerticalScroll=function(){var t=this.eBodyViewport.scrollTop;this.scrollTop=t,this.animationFrameService.setScrollTop(t),this.redrawRowsAfterScroll()},e.prototype.isControllingScroll=function(t){return this.lastHorizontalScrollElement?t===this.lastHorizontalScrollElement:(this.lastHorizontalScrollElement=t,!0)},e.prototype.onFakeHorizontalScroll=function(){this.isControllingScroll(this.eBodyHorizontalScrollViewport)&&this.onBodyHorizontalScroll(this.eBodyHorizontalScrollViewport)},e.prototype.onCenterViewportScroll=function(){this.isControllingScroll(this.eCenterViewport)&&this.onBodyHorizontalScroll(this.eCenterViewport)},e.prototype.onBodyHorizontalScroll=function(t){var e=this.eCenterViewport,o=e.scrollWidth,n=e.clientWidth,i=Math.floor(B._.getScrollLeft(t,this.enableRtl));i<0||i+n>o||(this.doHorizontalScroll(i),this.resetLastHorizontalScrollElementDebounce())},e.prototype.resetLastHorizontalScrollElement=function(){this.lastHorizontalScrollElement=null},e.prototype.doHorizontalScroll=function(t){this.scrollLeft=t;var e={type:h.Events.EVENT_BODY_SCROLL,api:this.gridApi,columnApi:this.columnApi,direction:"horizontal",left:this.scrollLeft,top:this.scrollTop};this.eventService.dispatchEvent(e),this.horizontallyScrollHeaderCenterAndFloatingCenter(t),this.onHorizontalViewportChanged()},e.prototype.redrawRowsAfterScroll=function(){var t={type:h.Events.EVENT_BODY_SCROLL,direction:"vertical",api:this.gridApi,columnApi:this.columnApi,left:this.scrollLeft,top:this.scrollTop};this.eventService.dispatchEvent(t)},e.prototype.onHorizontalViewportChanged=function(){var t=this.eCenterViewport.clientWidth,e=this.getCenterViewportScrollLeft();this.columnController.setVirtualViewportPosition(t,e)},e.prototype.getCenterViewportScrollLeft=function(){return B._.getScrollLeft(this.eCenterViewport,this.enableRtl)},e.prototype.setCenterViewportScrollLeft=function(t){B._.setScrollLeft(this.eCenterViewport,t,this.enableRtl)},e.prototype.horizontallyScrollHeaderCenterAndFloatingCenter=function(t){void 0===t&&(t=this.getCenterViewportScrollLeft());var e=this.enableRtl?t:-t,o=this.eCenterViewport,n=o.clientWidth,i=o.scrollWidth;if(!(Math.abs(e)+n>i||this.enableRtl&&e<0||!this.enableRtl&&e>0)){this.headerRootComp.setHorizontalScroll(e),this.eBottomContainer.style.transform="translateX("+e+"px)",this.eTopContainer.style.transform="translateX("+e+"px)";var r=this.lastHorizontalScrollElement===this.eCenterViewport?this.eBodyHorizontalScrollViewport:this.eCenterViewport;B._.setScrollLeft(r,t,this.enableRtl)}},e.prototype.addScrollEventListener=function(t){this.eBodyViewport.addEventListener("scroll",t)},e.prototype.removeScrollEventListener=function(t){this.eBodyViewport.removeEventListener("scroll",t)},r([c.Autowired("alignedGridsService"),s("design:type",_.AlignedGridsService)],e.prototype,"alignedGridsService",void 0),r([c.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([c.Autowired("columnController"),s("design:type",l.ColumnController)],e.prototype,"columnController",void 0),r([c.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([c.Autowired("pinnedRowModel"),s("design:type",R.PinnedRowModel)],e.prototype,"pinnedRowModel",void 0),r([c.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([c.Autowired("animationFrameService"),s("design:type",O.AnimationFrameService)],e.prototype,"animationFrameService",void 0),r([c.Autowired("navigationService"),s("design:type",b.NavigationService)],e.prototype,"navigationService",void 0),r([c.Autowired("autoHeightCalculator"),s("design:type",L.AutoHeightCalculator)],e.prototype,"autoHeightCalculator",void 0),r([c.Autowired("columnAnimationService"),s("design:type",M.ColumnAnimationService)],e.prototype,"columnAnimationService",void 0),r([c.Autowired("autoWidthCalculator"),s("design:type",G.AutoWidthCalculator)],e.prototype,"autoWidthCalculator",void 0),r([c.Autowired("paginationAutoPageSizeService"),s("design:type",E.PaginationAutoPageSizeService)],e.prototype,"paginationAutoPageSizeService",void 0),r([c.Autowired("beans"),s("design:type",k.Beans)],e.prototype,"beans",void 0),r([c.Autowired("paginationProxy"),s("design:type",E.PaginationProxy)],e.prototype,"paginationProxy",void 0),r([c.Autowired("columnApi"),s("design:type",p.ColumnApi)],e.prototype,"columnApi",void 0),r([c.Autowired("gridApi"),s("design:type",S.GridApi)],e.prototype,"gridApi",void 0),r([c.Autowired("dragService"),s("design:type",f.DragService)],e.prototype,"dragService",void 0),r([c.Autowired("mouseEventService"),s("design:type",y.MouseEventService)],e.prototype,"mouseEventService",void 0),r([c.Autowired("focusedCellController"),s("design:type",v.FocusedCellController)],e.prototype,"focusedCellController",void 0),r([c.Autowired("$scope"),s("design:type",Object)],e.prototype,"$scope",void 0),r([c.Autowired("scrollVisibleService"),s("design:type",m.ScrollVisibleService)],e.prototype,"scrollVisibleService",void 0),r([c.Autowired("valueService"),s("design:type",A.ValueService)],e.prototype,"valueService",void 0),r([c.Autowired("dragAndDropService"),s("design:type",D.DragAndDropService)],e.prototype,"dragAndDropService",void 0),r([c.Autowired("maxDivHeightScaler"),s("design:type",F.MaxDivHeightScaler)],e.prototype,"heightScaler",void 0),r([c.Autowired("enterprise"),s("design:type",Boolean)],e.prototype,"enterprise",void 0),r([c.Autowired("resizeObserverService"),s("design:type",V.ResizeObserverService)],e.prototype,"resizeObserverService",void 0),r([c.Optional("rangeController"),s("design:type",Object)],e.prototype,"rangeController",void 0),r([c.Optional("contextMenuFactory"),s("design:type",Object)],e.prototype,"contextMenuFactory",void 0),r([c.Optional("clipboardService"),s("design:type",Object)],e.prototype,"clipboardService",void 0),r([W.RefSelector("eBodyViewport"),s("design:type",HTMLElement)],e.prototype,"eBodyViewport",void 0),r([W.RefSelector("eCenterContainer"),s("design:type",HTMLElement)],e.prototype,"eCenterContainer",void 0),r([W.RefSelector("eCenterViewport"),s("design:type",HTMLElement)],e.prototype,"eCenterViewport",void 0),r([W.RefSelector("eLeftContainer"),s("design:type",HTMLElement)],e.prototype,"eLeftContainer",void 0),r([W.RefSelector("eRightContainer"),s("design:type",HTMLElement)],e.prototype,"eRightContainer",void 0),r([W.RefSelector("eCenterColsClipper"),s("design:type",HTMLElement)],e.prototype,"eCenterColsClipper",void 0),r([W.RefSelector("eHorizontalScrollBody"),s("design:type",HTMLElement)],e.prototype,"eHorizontalScrollBody",void 0),r([W.RefSelector("eHorizontalLeftSpacer"),s("design:type",HTMLElement)],e.prototype,"eHorizontalLeftSpacer",void 0),r([W.RefSelector("eHorizontalRightSpacer"),s("design:type",HTMLElement)],e.prototype,"eHorizontalRightSpacer",void 0),r([W.RefSelector("eBodyHorizontalScrollViewport"),s("design:type",HTMLElement)],e.prototype,"eBodyHorizontalScrollViewport",void 0),r([W.RefSelector("eBodyHorizontalScrollContainer"),s("design:type",HTMLElement)],e.prototype,"eBodyHorizontalScrollContainer",void 0),r([W.RefSelector("eFullWidthContainer"),s("design:type",HTMLElement)],e.prototype,"eFullWidthContainer",void 0),r([W.RefSelector("eTop"),s("design:type",HTMLElement)],e.prototype,"eTop",void 0),r([W.RefSelector("eLeftTop"),s("design:type",HTMLElement)],e.prototype,"eLeftTop",void 0),r([W.RefSelector("eRightTop"),s("design:type",HTMLElement)],e.prototype,"eRightTop",void 0),r([W.RefSelector("eTopContainer"),s("design:type",HTMLElement)],e.prototype,"eTopContainer",void 0),r([W.RefSelector("eTopViewport"),s("design:type",HTMLElement)],e.prototype,"eTopViewport",void 0),r([W.RefSelector("eTopFullWidthContainer"),s("design:type",HTMLElement)],e.prototype,"eTopFullWidthContainer",void 0),r([W.RefSelector("eBottom"),s("design:type",HTMLElement)],e.prototype,"eBottom",void 0),r([W.RefSelector("eLeftBottom"),s("design:type",HTMLElement)],e.prototype,"eLeftBottom",void 0),r([W.RefSelector("eRightBottom"),s("design:type",HTMLElement)],e.prototype,"eRightBottom",void 0),r([W.RefSelector("eBottomContainer"),s("design:type",HTMLElement)],e.prototype,"eBottomContainer",void 0),r([W.RefSelector("eBottomViewport"),s("design:type",HTMLElement)],e.prototype,"eBottomViewport",void 0),r([W.RefSelector("eBottomFullWidthContainer"),s("design:type",HTMLElement)],e.prototype,"eBottomFullWidthContainer",void 0),r([W.RefSelector("headerRoot"),s("design:type",H.HeaderRootComp)],e.prototype,"headerRootComp",void 0),r([W.RefSelector("overlayWrapper"),s("design:type",x.OverlayWrapperComponent)],e.prototype,"overlayWrapper",void 0),r([c.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(I.Component);e.GridPanel=j},64314:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=function(){function t(){this.executeNextFuncs=[],this.executeLaterFuncs=[],this.active=!1,this.animationThreadCount=0}return t.prototype.registerGridComp=function(t){this.gridPanel=t},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(t){this.active?this.executeNextFuncs.push(t):t()},t.prototype.executeLaterVMTurn=function(t){this.active?this.executeLaterFuncs.push(t):t()},t.prototype.ensureAnimationCssClassPresent=function(){var t=this;this.animationThreadCount++;var e=this.animationThreadCount;this.gridPanel.setColumnMovingCss(!0),this.executeLaterFuncs.push((function(){t.animationThreadCount===e&&t.gridPanel.setColumnMovingCss(!1)}))},t.prototype.flush=function(){var t=this.executeNextFuncs;this.executeNextFuncs=[];var e=this.executeLaterFuncs;this.executeLaterFuncs=[],0===t.length&&0===e.length||(window.setTimeout((function(){return t.forEach((function(t){return t()}))}),0),window.setTimeout((function(){return e.forEach((function(t){return t()}))}),300))},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Bean("columnAnimationService")],t)}();e.ColumnAnimationService=a},65360:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(44081),i=o(54828),r=o(44871),s=o(98239),a=o(10042),l=o(89929),p=o(55e3),u=o(24463),c=o(60843),d=o(64229),h=o(40797),f=o(7897),g=o(31887),y=o(40634),v=o(92427),m=o(73575),C=o(37132),E=o(814),w=o(41832),_=o(97177),R=o(72493),S=o(43460),O=o(81999),T=o(42726),b=o(58342),A=o(25230),P=o(86608),D=o(42195),N=o(1571),F=o(38427),x=o(24048),I=o(18954),L=o(57498),M=o(63405),G=o(30971),k=o(719),W=o(34470),H=o(93121),V=o(21951),B=o(86895),j=o(13887),U=o(33467),z=o(59873),Y=o(42664),K=o(66490),q=o(93830),Q=o(64314),$=o(2461),X=o(663),Z=o(43878),J=o(41451),tt=o(76133),et=o(45727),ot=o(88842),nt=o(6065),it=o(10190),rt=o(50580),st=o(85910),at=o(36777),lt=o(69638),pt=o(22743),ut=o(55090),ct=o(59007),dt=o(69065),ht=o(8894),ft=o(51755),gt=o(4889),yt=o(23801),vt=o(99533),mt=o(68198),Ct=o(9018),Et=o(83423),wt=o(39984),_t=o(45697),Rt=function(){function t(e,o,M){e||console.error("ag-Grid: no div element provided to the grid"),o||console.error("ag-Grid: no gridOptions provided to the grid"),this.gridOptions=o;var G=this.getRowModelClass(o),k=Et._.exists(t.enterpriseBeans),et=M?M.frameworkFactory:null;Et._.missing(et)&&(et=new B.BaseFrameworkFactory);var Rt=[];t.enterpriseBeans&&(Rt=Rt.concat(t.enterpriseBeans)),t.frameworkBeans&&(Rt=Rt.concat(t.frameworkBeans));var St={enterprise:k,gridOptions:o,eGridDiv:e,$scope:M?M.$scope:null,$compile:M?M.$compile:null,quickFilterOnScope:M?M.quickFilterOnScope:null,globalEventListener:M?M.globalEventListener:null,frameworkFactory:et};M&&M.seedBeanInstances&&Et._.assign(St,M.seedBeanInstances);var Ot=[{componentName:"AgCheckbox",theClass:V.AgCheckbox},{componentName:"AgGridComp",theClass:d.GridPanel},{componentName:"AgHeaderRoot",theClass:l.HeaderRootComp},{componentName:"AgPagination",theClass:vt.PaginationComp},{componentName:"AgOverlayWrapper",theClass:_t.OverlayWrapperComponent}];t.enterpriseComponents&&(Ot=Ot.concat(t.enterpriseComponents));var Tt={overrideBeans:Rt,seed:St,beans:[G,ut.Beans,J.PaginationAutoPageSizeService,h.GridApi,at.UserComponentRegistry,lt.AgComponentUtils,pt.ComponentMetadataProvider,mt.ResizeObserverService,at.UserComponentRegistry,st.UserComponentFactory,ft.MaxDivHeightScaler,yt.AutoHeightCalculator,W.CellRendererFactory,_.HorizontalResizeService,rt.PinnedRowModel,A.DragService,g.DisplayedGroupCreator,c.EventService,n.GridOptionsWrapper,m.PopupService,i.SelectionController,p.FilterManager,s.ColumnController,J.PaginationProxy,a.RowRenderer,y.ExpressionService,f.ColumnFactory,S.CsvCreator,U.Downloader,z.XmlFactory,Y.GridSerializer,v.TemplateService,it.AlignedGridsService,ht.NavigationService,m.PopupService,ot.ValueCache,u.ValueService,C.LoggerFactory,E.ColumnUtils,w.AutoWidthCalculator,T.StandardMenuFactory,b.DragAndDropService,r.ColumnApi,D.FocusedCellController,N.MouseEventService,ct.Environment,F.CellNavigationService,x.FilterStage,I.SortStage,L.FlattenStage,X.FilterService,H.ValueFormatterService,K.StylingService,j.ScrollVisibleService,P.SortController,q.ColumnHoverService,Q.ColumnAnimationService,$.SortService,gt.SelectableService,Z.AutoGroupColService,tt.ImmutableService,nt.ChangeDetectionService,dt.AnimationFrameService,wt.TooltipManager,Ct.ZipContainer],components:Ot,enterpriseDefaultComponents:t.enterpriseDefaultComponents,debug:!!o.debug};this.logger=new C.Logger("ag-Grid",(function(){return o.debug}));var bt=new C.Logger("Context",(function(){return Tt.debug}));this.context=new R.Context(Tt,bt);var At=new O.GridCore;this.context.wireBean(At),this.setColumnsAndData(),this.dispatchGridReadyEvent(o),this.logger.log("initialised successfully, enterprise = "+k)}return t.setEnterpriseBeans=function(e,o){this.enterpriseBeans=e,Et._.iterateObject(o,(function(e,o){return t.RowModelClasses[e]=o}))},t.setEnterpriseComponents=function(t){this.enterpriseComponents=t},t.setFrameworkBeans=function(t){this.frameworkBeans=t},t.setEnterpriseDefaultComponents=function(t){this.enterpriseDefaultComponents=t},t.prototype.setColumnsAndData=function(){var t=this.context.getBean("gridOptionsWrapper"),e=this.context.getBean("columnController"),o=this.context.getBean("rowModel"),n=t.getColumnDefs(),i=t.getRowData();Et._.missing(n)&&Et._.missing(i)||(Et._.exists(n)&&e.setColumnDefs(n,"gridInitializing"),Et._.exists(i)&&o.getType()===et.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&o.setRowData(i))},t.prototype.dispatchGridReadyEvent=function(t){var e=this.context.getBean("eventService"),o={type:M.Events.EVENT_GRID_READY,api:t.api,columnApi:t.columnApi};e.dispatchEvent(o)},t.prototype.getRowModelClass=function(e){var o=e.rowModelType;if(o="enterprise"===o?et.Constants.ROW_MODEL_TYPE_SERVER_SIDE:o,Et._.exists(o)){var n=t.RowModelClasses[o];if(Et._.exists(n))return n;if("normal"===o)return console.warn("ag-Grid: normal rowModel deprecated. Should now be called client side row model instead."),k.ClientSideRowModel;console.error("ag-Grid: could not find matching row model for rowModelType "+o),o===et.Constants.ROW_MODEL_TYPE_VIEWPORT&&console.error("ag-Grid: rowModelType viewport is only available in ag-Grid Enterprise"),o===et.Constants.ROW_MODEL_TYPE_SERVER_SIDE&&console.error("ag-Grid: rowModelType server side is only available in ag-Grid Enterprise")}return k.ClientSideRowModel},t.prototype.destroy=function(){this.gridOptions.api.destroy()},t.RowModelClasses={infinite:G.InfiniteRowModel,clientSide:k.ClientSideRowModel},t}();e.Grid=Rt},65802:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(8534),s=o(44329),a=o(83423),l=function(t){function e(e){var o=t.call(this)||this;return o.maxRowFound=!1,o.blocks={},o.blockCount=0,o.virtualRowCount=e.initialRowCount,o.cacheParams=e,o}return i(e,t),e.prototype.destroy=function(){var e=this;t.prototype.destroy.call(this),this.forEachBlockInOrder((function(t){return e.destroyBlock(t)}))},e.prototype.init=function(){var t=this;this.active=!0,this.addDestroyFunc((function(){return t.active=!1}))},e.prototype.isActive=function(){return this.active},e.prototype.getVirtualRowCount=function(){return this.virtualRowCount},e.prototype.hack_setVirtualRowCount=function(t){this.virtualRowCount=t},e.prototype.isMaxRowFound=function(){return this.maxRowFound},e.prototype.onPageLoaded=function(t){this.cacheParams.rowNodeBlockLoader.loadComplete(),this.checkBlockToLoad(),this.isActive()&&(this.logger.log("onPageLoaded: page = "+t.page.getBlockNumber()+", lastRow = "+t.lastRow),t.success&&this.checkVirtualRowCount(t.page,t.lastRow))},e.prototype.purgeBlocksIfNeeded=function(t){var o=this,n=[];this.forEachBlockInOrder((function(e){e!==t&&n.push(e)})),n.sort((function(t,e){return e.getLastAccessed()-t.getLastAccessed()}));var i=this.cacheParams.maxBlocksInCache>0,r=i?this.cacheParams.maxBlocksInCache-1:null,a=e.MAX_EMPTY_BLOCKS_TO_KEEP-1;n.forEach((function(t,e){if(t.getState()===s.RowNodeBlock.STATE_DIRTY&&e>=a||i&&e>=r){if(t.isAnyNodeOpen(o.virtualRowCount))return;o.removeBlockFromCache(t)}}))},e.prototype.postCreateBlock=function(t){t.addEventListener(s.RowNodeBlock.EVENT_LOAD_COMPLETE,this.onPageLoaded.bind(this)),this.setBlock(t.getBlockNumber(),t),this.purgeBlocksIfNeeded(t),this.checkBlockToLoad()},e.prototype.removeBlockFromCache=function(t){t&&this.destroyBlock(t)},e.prototype.checkBlockToLoad=function(){this.cacheParams.rowNodeBlockLoader.checkBlockToLoad()},e.prototype.checkVirtualRowCount=function(t,e){if("number"==typeof e&&e>=0)this.virtualRowCount=e,this.maxRowFound=!0,this.onCacheUpdated();else if(!this.maxRowFound){var o=(t.getBlockNumber()+1)*this.cacheParams.blockSize+this.cacheParams.overflowSize;this.virtualRowCount<o?(this.virtualRowCount=o,this.onCacheUpdated()):this.cacheParams.dynamicRowHeight&&this.onCacheUpdated()}},e.prototype.setVirtualRowCount=function(t,e){this.virtualRowCount=t,a._.exists(e)&&(this.maxRowFound=e),this.maxRowFound||this.virtualRowCount%this.cacheParams.blockSize==0&&this.virtualRowCount++,this.onCacheUpdated()},e.prototype.forEachNodeDeep=function(t,e){var o=this;this.forEachBlockInOrder((function(n){n.forEachNodeDeep(t,e,o.virtualRowCount)}))},e.prototype.forEachBlockInOrder=function(t){var e=this.getBlockIdsSorted();this.forEachBlockId(e,t)},e.prototype.forEachBlockInReverseOrder=function(t){var e=this.getBlockIdsSorted().reverse();this.forEachBlockId(e,t)},e.prototype.forEachBlockId=function(t,e){var o=this;t.forEach((function(t){var n=o.blocks[t];e(n,t)}))},e.prototype.getBlockIdsSorted=function(){return Object.keys(this.blocks).map((function(t){return parseInt(t,10)})).sort((function(t,e){return t-e}))},e.prototype.getBlock=function(t){return this.blocks[t]},e.prototype.setBlock=function(t,e){this.blocks[t]=e,this.blockCount++,this.cacheParams.rowNodeBlockLoader.addBlock(e)},e.prototype.destroyBlock=function(t){delete this.blocks[t.getBlockNumber()],t.destroy(),this.blockCount--,this.cacheParams.rowNodeBlockLoader.removeBlock(t)},e.prototype.onCacheUpdated=function(){if(this.isActive()){var t={type:e.EVENT_CACHE_UPDATED};this.dispatchEvent(t)}},e.prototype.purgeCache=function(){var t=this;this.forEachBlockInOrder((function(e){return t.removeBlockFromCache(e)})),this.virtualRowCount=this.cacheParams.initialRowCount,this.maxRowFound=!1,this.onCacheUpdated()},e.prototype.getRowNodesInRange=function(t,e){var o=this,n=[],i=-1,r=!1,s=new a.NumberSequence;a._.missing(t)&&(r=!0);var l=!1;return this.forEachBlockInOrder((function(a,p){l||(r&&i+1!==p?l=!0:(i=p,a.forEachNodeShallow((function(o){var i=o===t||o===e;(r||i)&&n.push(o),i&&(r=!r)}),s,o.virtualRowCount)))})),l||r?[]:n},e.EVENT_CACHE_UPDATED="cacheUpdated",e.MAX_EMPTY_BLOCKS_TO_KEEP=2,e}(r.BeanStub);e.RowNodeCache=l},66346:(t,e)=>{function o(t){return"["+t.join(", ")+"]"}function n(t,e){return t.equals(e)}function i(t){return t.hashCode()}function r(t,e){return this.data={},this.hashFunction=t||i,this.equalsFunction=e||n,this}function s(){return this.data=[],this}function a(t,e){return this.data={},this.hashFunction=t||i,this.equalsFunction=e||n,this}function l(){return this.data={},this}function p(){return this}function u(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var t,e,o,n,i,r,s,a,l=this.toString();for(t=3&l.length,e=l.length-t,o=String.prototype.seed,i=3432918353,r=461845907,a=0;a<e;)s=255&l.charCodeAt(a)|(255&l.charCodeAt(++a))<<8|(255&l.charCodeAt(++a))<<16|(255&l.charCodeAt(++a))<<24,++a,o=27492+(65535&(n=5*(65535&(o=(o^=s=(65535&(s=(s=(65535&s)*i+(((s>>>16)*i&65535)<<16)&4294967295)<<15|s>>>17))*r+(((s>>>16)*r&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(n>>>16)&65535)<<16);switch(s=0,t){case 3:s^=(255&l.charCodeAt(a+2))<<16;case 2:s^=(255&l.charCodeAt(a+1))<<8;case 1:o^=s=(65535&(s=(s=(65535&(s^=255&l.charCodeAt(a)))*i+(((s>>>16)*i&65535)<<16)&4294967295)<<15|s>>>17))*r+(((s>>>16)*r&65535)<<16)&4294967295}return o^=l.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0},Object.defineProperty(r.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),r.prototype.add=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data){for(var o=this.data[e],n=0;n<o.length;n++)if(this.equalsFunction(t,o[n]))return o[n];return o.push(t),t}return this.data[e]=[t],t},r.prototype.contains=function(t){return null!=this.get(t)},r.prototype.get=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var o=this.data[e],n=0;n<o.length;n++)if(this.equalsFunction(t,o[n]))return o[n];return null},r.prototype.values=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},r.prototype.toString=function(){return o(this.values())},s.prototype.add=function(t){this.data[t]=!0},s.prototype.or=function(t){var e=this;Object.keys(t.data).map((function(t){e.add(t)}))},s.prototype.remove=function(t){delete this.data[t]},s.prototype.contains=function(t){return!0===this.data[t]},s.prototype.values=function(){return Object.keys(this.data)},s.prototype.minValue=function(){return Math.min.apply(null,this.values())},s.prototype.hashCode=function(){var t=new u;return t.update(this.values()),t.finish()},s.prototype.equals=function(t){return t instanceof s&&this.hashCode()===t.hashCode()},Object.defineProperty(s.prototype,"length",{get:function(){return this.values().length}}),s.prototype.toString=function(){return"{"+this.values().join(", ")+"}"},Object.defineProperty(a.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),a.prototype.put=function(t,e){var o="hash_"+this.hashFunction(t);if(o in this.data){for(var n=this.data[o],i=0;i<n.length;i++){var r=n[i];if(this.equalsFunction(t,r.key)){var s=r.value;return r.value=e,s}}return n.push({key:t,value:e}),e}return this.data[o]=[{key:t,value:e}],e},a.prototype.containsKey=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var o=this.data[e],n=0;n<o.length;n++){var i=o[n];if(this.equalsFunction(t,i.key))return!0}return!1},a.prototype.get=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var o=this.data[e],n=0;n<o.length;n++){var i=o[n];if(this.equalsFunction(t,i.key))return i.value}return null},a.prototype.entries=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},a.prototype.getKeys=function(){return this.entries().map((function(t){return t.key}))},a.prototype.getValues=function(){return this.entries().map((function(t){return t.value}))},a.prototype.toString=function(){return"["+this.entries().map((function(t){return"{"+t.key+":"+t.value+"}"})).join(", ")+"]"},l.prototype.get=function(t){return(t="k-"+t)in this.data?this.data[t]:null},l.prototype.put=function(t,e){t="k-"+t,this.data[t]=e},l.prototype.values=function(){var t=this.data;return Object.keys(this.data).map((function(e){return t[e]}))},u.prototype.update=function(){for(var t=0;t<arguments.length;t++){var e=arguments[t];if(null!=e)if(Array.isArray(e))this.update.apply(e);else{var o=0;switch(typeof e){case"undefined":case"function":continue;case"number":case"boolean":o=e;break;case"string":o=e.hashCode();break;default:e.updateHashCode(this);continue}o=(o*=3432918353)<<15|o>>>17,o*=461845907,this.count=this.count+1;var n=this.hash^o;n=5*(n=n<<13|n>>>19)+3864292196,this.hash=n}}},u.prototype.finish=function(){var t=this.hash^4*this.count;return t^=t>>>16,t*=2246822507,t^=t>>>13,(t*=3266489909)^t>>>16},p.prototype.get=function(t,e){var o=this[t]||null;return null===o?null:o[e]||null},p.prototype.set=function(t,e,o){var n=this[t]||null;null===n&&(n={},this[t]=n),n[e]=o},e.Hash=u,e.Set=r,e.Map=a,e.BitSet=s,e.AltDict=l,e.DoubleDict=p,e.hashStuff=function(){var t=new u;return t.update.apply(arguments),t.finish()},e.escapeWhitespace=function(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),e&&(t=t.replace(/ /g,"·")),t},e.arrayToString=o,e.titleCase=function(t){return t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1)}))},e.equalArrays=function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t==e)return!0;if(t.length!=e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!=e[o]&&!t[o].equals(e[o]))return!1;return!0}},66419:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(60843),i=o(83423),r=function(){function t(t,e){void 0===e&&(e=!1);var o=this;this.destroyFuncs=[],this.touching=!1,this.eventService=new n.EventService,this.eElement=t,this.preventMouseClick=e;var i=this.onTouchStart.bind(this),r=this.onTouchMove.bind(this),s=this.onTouchEnd.bind(this);this.eElement.addEventListener("touchstart",i,{passive:!0}),this.eElement.addEventListener("touchmove",r,{passive:!0}),this.eElement.addEventListener("touchend",s,{passive:!1}),this.destroyFuncs.push((function(){o.eElement.removeEventListener("touchstart",i,{passive:!0}),o.eElement.removeEventListener("touchmove",r,{passive:!0}),o.eElement.removeEventListener("touchend",s,{passive:!1})}))}return t.prototype.getActiveTouch=function(t){for(var e=0;e<t.length;e++)if(t[e].identifier===this.touchStart.identifier)return t[e];return null},t.prototype.addEventListener=function(t,e){this.eventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},t.prototype.onTouchStart=function(e){var o=this;if(!this.touching){this.touchStart=e.touches[0],this.touching=!0,this.moved=!1;var n=this.touchStart;window.setTimeout((function(){var i=o.touchStart===n;if(o.touching&&i&&!o.moved){o.moved=!0;var r={type:t.EVENT_LONG_TAP,touchStart:o.touchStart,touchEvent:e};o.eventService.dispatchEvent(r)}}),500)}},t.prototype.onTouchMove=function(t){if(this.touching){var e=this.getActiveTouch(t.touches);e&&!i._.areEventsNear(e,this.touchStart,4)&&(this.moved=!0)}},t.prototype.onTouchEnd=function(e){if(this.touching){if(!this.moved){var o={type:t.EVENT_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(o),this.checkForDoubleTap()}this.preventMouseClick&&e.preventDefault(),this.touching=!1}},t.prototype.checkForDoubleTap=function(){var e=(new Date).getTime();if(this.lastTapTime&&this.lastTapTime>0)if(e-this.lastTapTime>t.DOUBLE_TAP_MILLIS){var o={type:t.EVENT_DOUBLE_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(o),this.lastTapTime=null}else this.lastTapTime=e;else this.lastTapTime=e},t.prototype.destroy=function(){this.destroyFuncs.forEach((function(t){return t()}))},t.EVENT_TAP="tap",t.EVENT_DOUBLE_TAP="doubleTap",t.EVENT_LONG_TAP="longTap",t.DOUBLE_TAP_MILLIS=500,t}();e.TouchListener=r},66490:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(40634),a=function(){function t(){}return t.prototype.processAllCellClasses=function(t,e,o,n){this.processClassRules(t.cellClassRules,e,o,n),this.processStaticCellClasses(t,e,o)},t.prototype.processClassRules=function(t,e,o,n){if("object"==typeof t&&null!==t)for(var i=Object.keys(t),r=0;r<i.length;r++){var s=i[r],a=t[s],l=void 0;"string"==typeof a?l=this.expressionService.evaluate(a,e):"function"==typeof a&&(l=a(e)),l?o(s):n&&n(s)}},t.prototype.processStaticCellClasses=function(t,e,o){if(t.cellClass){var n=void 0;"string"==typeof(n="function"==typeof t.cellClass?(0,t.cellClass)(e):t.cellClass)?o(n):Array.isArray(n)&&n.forEach((function(t){o(t)}))}},n([r.Autowired("expressionService"),i("design:type",s.ExpressionService)],t.prototype,"expressionService",void 0),n([r.Bean("stylingService")],t)}();e.StylingService=a},66840:(t,e,o)=>{var n=o(59830),i=o(63655),r=o(96830),s=o(76966),a=o(88141),l=Array.prototype.slice,p=o(36173),u={on:function(t,e,o){return p.eventsApi(this,"on",t,[e,o])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:o,ctx:o||this}),this):this},once:function(t,e,o){if(!p.eventsApi(this,"once",t,[e,o])||!e)return this;var i=this,r=n((function(){i.off(t,r),e.apply(this,arguments)}));return r._callback=e,this.on(t,r,o)},off:function(t,e,o){var n,r,s,a,l,u,c,d;if(!this._events||!p.eventsApi(this,"off",t,[e,o]))return this;if(!t&&!e&&!o)return this._events=void 0,this;for(l=0,u=(a=t?[t]:i(this._events)).length;l<u;l++)if(t=a[l],s=this._events[t]){if(this._events[t]=n=[],e||o)for(c=0,d=s.length;c<d;c++)r=s[c],(e&&e!==r.callback&&e!==r.callback._callback||o&&o!==r.context)&&n.push(r);n.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=l.call(arguments,1);if(!p.eventsApi(this,"trigger",t,e))return this;var o=this._events[t],n=this._events.all;return o&&p.triggerEvents(o,e),n&&p.triggerEvents(n,arguments),this},stopListening:function(t,e,o){var n=this._listeningTo;if(!n)return this;var i=!e&&!o;o||"object"!=typeof e||(o=this),t&&((n={})[t._listenId]=t);var s=this;return a(n,(function(t,n){t.off(e,o,s),(i||r(t._events))&&delete s._listeningTo[n]})),this},createEmitter:function(t){return s(t||{},u)},listenTo:p.createListenMethod("on"),listenToOnce:p.createListenMethod("once"),listenToAndRun:function(t,e,o){return this.listenTo.apply(this,arguments),o||"object"!=typeof e||(o=this),o.apply(this),this}};u.bind=u.on,u.unbind=u.off,u.removeListener=u.off,u.removeAllListeners=u.off,u.emit=u.trigger,t.exports=u},67966:(t,e,o)=>{var n=e;n._reverse=function(t){var e={};return Object.keys(t).forEach((function(o){(0|o)==o&&(o|=0);var n=t[o];e[n]=o})),e},n.der=o(4045)},68198:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(83423),l=function(){function t(){}return t.prototype.observeResize=function(t,e){var o,n,i,r,s,l=this.frameworkFactory,p=this.gridOptionsWrapper.isSuppressBrowserResizeObserver();return window.ResizeObserver&&!p?((s=new window.ResizeObserver(e)).observe(t),function(){return s.disconnect()}):(o=a._.offsetWidth(t),n=a._.offsetHeight(t),i=!0,(r=function(){if(i){var s=a._.offsetWidth(t),p=a._.offsetHeight(t);(s!==o||p!==n)&&(o=s,n=p,e()),l.setTimeout(r,500)}})(),function(){return i=!1})},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("frameworkFactory"),i("design:type",Object)],t.prototype,"frameworkFactory",void 0),n([r.Bean("resizeObserverService")],t)}();e.ResizeObserverService=l},68363:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){this.active=!0,this.nodeIdsToColumns={},this.mapToItems={},this.keepingColumns=t,this.pathRoot={rowNode:e,children:null},this.mapToItems[e.id]=this.pathRoot}return t.prototype.setInactive=function(){this.active=!1},t.prototype.isActive=function(){return this.active},t.prototype.depthFirstSearchChangedPath=function(t,e){if(t.children)for(var o=0;o<t.children.length;o++)this.depthFirstSearchChangedPath(t.children[o],e);e(t.rowNode)},t.prototype.depthFirstSearchEverything=function(t,e,o){if(t.childrenAfterGroup)for(var n=0;n<t.childrenAfterGroup.length;n++){var i=t.childrenAfterGroup[n];i.childrenAfterGroup?this.depthFirstSearchEverything(t.childrenAfterGroup[n],e,o):o&&e(i)}e(t)},t.prototype.forEachChangedNodeDepthFirst=function(t,e){void 0===e&&(e=!1),this.active?this.depthFirstSearchChangedPath(this.pathRoot,t):this.depthFirstSearchEverything(this.pathRoot.rowNode,t,e)},t.prototype.executeFromRootNode=function(t){t(this.pathRoot.rowNode)},t.prototype.createPathItems=function(t){for(var e=t,o=0;!this.mapToItems[e.id];){var n={rowNode:e,children:null};this.mapToItems[e.id]=n,o++,e=e.parent}return o},t.prototype.populateColumnsMap=function(t,e){var o=this;if(this.keepingColumns&&e)for(var n=t;n;)this.nodeIdsToColumns[n.id]||(this.nodeIdsToColumns[n.id]={}),e.forEach((function(t){return o.nodeIdsToColumns[n.id][t.getId()]=!0})),n=n.parent},t.prototype.linkPathItems=function(t,e){for(var o=t,n=0;n<e;n++){var i=this.mapToItems[o.id],r=this.mapToItems[o.parent.id];r.children||(r.children=[]),r.children.push(i),o=o.parent}},t.prototype.addParentNode=function(t,e){var o=this.createPathItems(t);this.linkPathItems(t,o),this.populateColumnsMap(t,e)},t.prototype.canSkip=function(t){return this.active&&!this.mapToItems[t.id]},t.prototype.getValueColumnsForNode=function(t,e){if(!this.keepingColumns)return e;var o=this.nodeIdsToColumns[t.id];return e.filter((function(t){return o[t.getId()]}))},t.prototype.getNotValueColumnsForNode=function(t,e){if(!this.keepingColumns)return null;var o=this.nodeIdsToColumns[t.id];return e.filter((function(t){return!o[t.getId()]}))},t}();e.ChangedPath=o},69036:(t,e,o)=>{var n=o(48898);e.Trees=o(23438).Trees,e.RuleNode=n.RuleNode,e.ParseTreeListener=n.ParseTreeListener,e.ParseTreeVisitor=n.ParseTreeVisitor,e.ParseTreeWalker=n.ParseTreeWalker},69065:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(85222),l=o(60843),p=function(){function t(){this.createRowTasks=[],this.destroyRowTasks=[],this.ticking=!1,this.scrollGoingDown=!0,this.lastScrollTop=0}return t.prototype.setScrollTop=function(t){this.scrollGoingDown=t>this.lastScrollTop,this.lastScrollTop=t},t.prototype.init=function(){this.useAnimationFrame=!this.gridOptionsWrapper.isSuppressAnimationFrame()},t.prototype.verifyAnimationFrameOn=function(t){!1===this.useAnimationFrame&&console.warn("ag-Grid: AnimationFrameService."+t+" called but animation frames are off")},t.prototype.addP1Task=function(t,e){this.verifyAnimationFrameOn("addP1Task");var o={task:t,index:e};this.createRowTasks.push(o),this.schedule()},t.prototype.addP2Task=function(t){this.verifyAnimationFrameOn("addP2Task"),this.destroyRowTasks.push(t),this.schedule()},t.prototype.executeFrame=function(t){this.verifyAnimationFrameOn("executeFrame"),this.scrollGoingDown?this.createRowTasks.sort((function(t,e){return e.index-t.index})):this.createRowTasks.sort((function(t,e){return t.index-e.index}));for(var e=(new Date).getTime(),o=(new Date).getTime()-e,n=t<=0;n||o<t;){if(this.createRowTasks.length>0)this.createRowTasks.pop().task();else{if(!(this.destroyRowTasks.length>0))break;this.destroyRowTasks.pop()()}o=(new Date).getTime()-e}this.createRowTasks.length>0||this.destroyRowTasks.length>0?this.requestFrame():this.stopTicking()},t.prototype.stopTicking=function(){this.ticking=!1;var t={type:a.Events.EVENT_ANIMATION_QUEUE_EMPTY,columnApi:this.gridOptionsWrapper.getColumnApi(),api:this.gridOptionsWrapper.getApi()};this.eventService.dispatchEvent(t)},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 t=this.executeFrame.bind(this,60);window.requestAnimationFrame?window.requestAnimationFrame(t):window.webkitRequestAnimationFrame?window.webkitRequestAnimationFrame(t):window.setTimeout(t,0)},t.prototype.isQueueEmpty=function(){return this.ticking},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("eventService"),i("design:type",l.EventService)],t.prototype,"eventService",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r.Bean("animationFrameService")],t)}();e.AnimationFrameService=p},69397:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(34255),p=o(47721),u=o(85910),c=o(22131),d=o(45727),h=o(83423),f=function(t){function e(){var e=t.call(this,'<div class="ag-input-text-wrapper"><input ref="eColumnFloatingFilter" class="ag-floating-filter-input"></div>')||this;return e.lastKnownModel=null,e}return i(e,t),e.prototype.init=function(t){this.onFloatingFilterChanged=t.onFloatingFilterChanged,this.currentParentModel=t.currentParentModel;var e=null!=t.debounceMs?t.debounceMs:500,o=h._.debounce(this.syncUpWithParentFilter.bind(this),e);this.addDestroyableEventListener(this.eColumnFloatingFilter,"input",o),this.addDestroyableEventListener(this.eColumnFloatingFilter,"keypress",o),this.addDestroyableEventListener(this.eColumnFloatingFilter,"keydown",o);var n=t.column.getDefinition();n.filterParams&&n.filterParams.filterOptions&&1===n.filterParams.filterOptions.length&&"inRange"===n.filterParams.filterOptions[0]&&(this.eColumnFloatingFilter.disabled=!0)},e.prototype.onParentModelChanged=function(t,e){if(null!=e)return this.eColumnFloatingFilter.value=this.parseAsText(e.condition1)+" "+e.operator+" "+this.parseAsText(e.condition2),this.eColumnFloatingFilter.disabled=!0,this.lastKnownModel=null,this.eColumnFloatingFilter.title=this.eColumnFloatingFilter.value,void(this.eColumnFloatingFilter.style.cursor="default");if(this.eColumnFloatingFilter.disabled=!1,this.equalModels(this.lastKnownModel,t))this.lastKnownModel||t||(this.eColumnFloatingFilter.value="");else{this.lastKnownModel=t;var o=this.asFloatingFilterText(t);o!==this.eColumnFloatingFilter.value&&(this.eColumnFloatingFilter.value=o,this.eColumnFloatingFilter.title="")}},e.prototype.syncUpWithParentFilter=function(t){var e=this.asParentModel();this.equalModels(this.lastKnownModel,e)||(h._.isKeyPressed(t,d.Constants.KEY_ENTER)?this.onFloatingFilterChanged({model:e,apply:!0}):this.onFloatingFilterChanged({model:e,apply:!1}))&&(this.lastKnownModel=e)},e.prototype.equalModels=function(t,e){return!!h._.referenceCompare(t,e)||!(!t||!e)&&!Array.isArray(t)&&!Array.isArray(e)&&h._.referenceCompare(t.type,e.type)&&h._.referenceCompare(t.filter,e.filter)&&h._.referenceCompare(t.filterTo,e.filterTo)&&h._.referenceCompare(t.filterType,e.filterType)},r([p.RefSelector("eColumnFloatingFilter"),s("design:type",HTMLInputElement)],e.prototype,"eColumnFloatingFilter",void 0),e}(c.Component);e.InputTextFloatingFilterComp=f;var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.asFloatingFilterText=function(t){return t?t.filter:""},e.prototype.asParentModel=function(){return{type:this.currentParentModel().type,filter:this.eColumnFloatingFilter.value,filterType:"text"}},e.prototype.parseAsText=function(t){return this.asFloatingFilterText(t)},e}(f);e.TextFloatingFilterComp=g;var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lastKnownModel=null,e}return i(e,t),e.prototype.init=function(t){this.onFloatingFilterChanged=t.onFloatingFilterChanged,this.currentParentModel=t.currentParentModel;var e=null!=t.debounceMs?t.debounceMs:500,o={onDateChanged:h._.debounce(this.onDateChanged.bind(this),e),filterParams:t.column.getColDef().filterParams};this.dateComponentPromise=this.userComponentFactory.newDateComponent(o);var n=h._.loadTemplate("<div></div>");this.dateComponentPromise.then((function(e){n.appendChild(e.getGui());var o=t.column.getDefinition(),i=o.filterParams&&o.filterParams.filterOptions&&1===o.filterParams.filterOptions.length&&"inRange"===o.filterParams.filterOptions[0];e.eDateInput&&(e.eDateInput.disabled=i)})),n.style.width="100%",n.style.height="100%",this.setTemplateFromElement(n)},e.prototype.onDateChanged=function(){var t=this.currentParentModel(),e=this.asParentModel();this.equalModels(t,e)||(this.onFloatingFilterChanged({model:e,apply:!0}),this.lastKnownModel=e)},e.prototype.equalModels=function(t,e){return!!h._.referenceCompare(t,e)||!(!t||!e)&&!Array.isArray(t)&&!Array.isArray(e)&&h._.referenceCompare(t.type,e.type)&&h._.referenceCompare(t.dateFrom,e.dateFrom)&&h._.referenceCompare(t.dateTo,e.dateTo)&&h._.referenceCompare(t.filterType,e.filterType)},e.prototype.asParentModel=function(){var t=this.currentParentModel(),e=this.dateComponentPromise.resolveNow(null,(function(t){return t.getDate()})),o=h._.serializeDateToYyyyMmDd(l.DateFilter.removeTimezone(e),"-");return{type:t.type,dateFrom:o,dateTo:t?t.dateTo:null,filterType:"date"}},e.prototype.onParentModelChanged=function(t){var e=this;this.lastKnownModel=t,this.dateComponentPromise.then((function(o){t&&t.dateFrom?(e.enrichDateInput(t.type,t.dateFrom,t.dateTo,o),o.setDate(h._.parseYyyyMmDdToDate(t.dateFrom,"-"))):o.setDate(null)}))},e.prototype.enrichDateInput=function(t,e,o,n){n.eDateInput&&("inRange"===t?(n.eDateInput.title=e+" to "+o,n.eDateInput.disabled=!0):(n.eDateInput.title="",n.eDateInput.disabled=!1))},r([a.Autowired("userComponentFactory"),s("design:type",u.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),e}(c.Component);e.DateFloatingFilterComp=y;var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.asFloatingFilterText=function(t){var e=this.currentParentModel();return null==t&&null==e?"":null==t&&null!=e&&"inRange"!==e.type?(this.eColumnFloatingFilter.disabled=!1,""):null!=e&&"inRange"===e.type?(this.eColumnFloatingFilter.disabled=!0,this.parseAsText(e)):(this.eColumnFloatingFilter.disabled=!1,this.parseAsText(t))},e.prototype.parseAsText=function(t){var e=this.asNumber(t.filter);if(t.type&&"inRange"===t.type){var o=this.asNumber(t.filterTo);return(e?e+"":"")+"-"+(o?o+"":"")}return null!=e?e+"":""},e.prototype.asParentModel=function(){var t,e=this.currentParentModel(),o=this.asNumber(this.eColumnFloatingFilter.value),n=this.eColumnFloatingFilter.value;return t=null==o&&""===n?null:null==o?e.filter:o,{type:e.type,filter:t,filterTo:e?e.filterTo:null,filterType:"number"}},e.prototype.asNumber=function(t){if(null==t)return null;if(""===t)return null;var e=Number(t);return h._.isNumeric(e)?e:null},e}(f);e.NumberFloatingFilterComp=v;var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e){t.prototype.init.call(this,e),this.eColumnFloatingFilter.disabled=!0},e.prototype.asFloatingFilterText=function(t){if(this.eColumnFloatingFilter.disabled=!0,!t)return"";var e=t instanceof Array?t:t.values;if(0===e.length)return"";var o=e.length>10?e.slice(0,10).concat("..."):e;return"("+e.length+") "+o.join(",")},e.prototype.parseAsText=function(t){return this.asFloatingFilterText(t)},e.prototype.asParentModel=function(){return null==this.eColumnFloatingFilter.value||""===this.eColumnFloatingFilter.value?{values:[],filterType:"set"}:{values:this.eColumnFloatingFilter.value.split(","),filterType:"set"}},e.prototype.equalModels=function(t,e){return!1},e}(f);e.SetFloatingFilterComp=m;var C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e){t.prototype.init.call(this,e),this.eColumnFloatingFilter.disabled=!0},e.prototype.onParentModelChanged=function(t){this.eColumnFloatingFilter.value=this.asFloatingFilterText(this.currentParentModel())},e.prototype.asFloatingFilterText=function(t){return t},e.prototype.parseAsText=function(t){return t},e.prototype.asParentModel=function(){return null},e}(f);e.ReadModelAsStringFloatingFilterComp=C},69638:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(22743),a=o(83423),l=function(){function t(){}return t.prototype.adaptFunction=function(t,e,o,n){if(null==e)return{component:null,componentFromFramework:o,source:n,paramsFromSelector:null};var i=this.componentMetadataProvider.retrieve(t);return i&&i.functionAdapter?{componentFromFramework:o,component:i.functionAdapter(e),source:n,paramsFromSelector:null}:null},t.prototype.adaptCellRendererFunction=function(t){return function(){function e(){}return e.prototype.refresh=function(t){return!1},e.prototype.getGui=function(){var e=t(this.params),o=typeof e;return"string"===o||"number"===o||"boolean"===o?a._.loadTemplate("<span>"+e+"</span>"):e},e.prototype.init=function(t){this.params=t},e}()},t.prototype.doesImplementIComponent=function(t){return!!t&&t.prototype&&"getGui"in t.prototype},n([r.Autowired("componentMetadataProvider"),i("design:type",s.ComponentMetadataProvider)],t.prototype,"componentMetadataProvider",void 0),n([r.Bean("agComponentUtils")],t)}();e.AgComponentUtils=l},69734:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(83423),i=function(){function t(){this.existingKeys=[]}return t.prototype.addExistingKeys=function(t){this.existingKeys=this.existingKeys.concat(t)},t.prototype.getUniqueKey=function(t,e){t=n._.toStringOrNull(t);for(var o=0;;){var i=void 0;if(t?(i=t,0!==o&&(i+="_"+o)):e?(i=e,0!==o&&(i+="_"+o)):i=""+o,this.existingKeys.indexOf(i)<0)return this.existingKeys.push(i),i;o++}},t}();e.ColumnKeyCreator=i},69992:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(58342),a=o(72493),l=o(27887),p=o(26016),u=o(20080),c=o(98239);!function(t){t[t.ColumnMove=0]="ColumnMove",t[t.Pivot=1]="Pivot"}(r||(r={}));var d=function(){function t(t,e){this.dropListeners={},this.pinned=t,this.eContainer=e}return t.prototype.registerGridComp=function(t){switch(this.gridPanel=t,this.moveColumnController.registerGridComp(t),this.pinned){case p.Column.PINNED_LEFT:this.eSecondaryContainers=this.gridPanel.getDropTargetLeftContainers();break;case p.Column.PINNED_RIGHT:this.eSecondaryContainers=this.gridPanel.getDropTargetRightContainers();break;default:this.eSecondaryContainers=this.gridPanel.getDropTargetBodyContainers()}},t.prototype.isInterestedIn=function(t){return t===s.DragSourceType.HeaderCell||t===s.DragSourceType.ToolPanel},t.prototype.getSecondaryContainers=function(){return this.eSecondaryContainers},t.prototype.getContainer=function(){return this.eContainer},t.prototype.init=function(){this.moveColumnController=new l.MoveColumnController(this.pinned,this.eContainer),this.context.wireBean(this.moveColumnController);var t=new u.BodyDropPivotTarget(this.pinned);this.context.wireBean(t),this.dropListeners[r.ColumnMove]=this.moveColumnController,this.dropListeners[r.Pivot]=t,this.dragAndDropService.addDropTarget(this)},t.prototype.getIconName=function(){return this.currentDropListener.getIconName()},t.prototype.getDropType=function(t){return this.columnController.isPivotMode()&&t.dragSource.type===s.DragSourceType.ToolPanel?r.Pivot:r.ColumnMove},t.prototype.onDragEnter=function(t){var e=this.getDropType(t);this.currentDropListener=this.dropListeners[e],this.currentDropListener.onDragEnter(t)},t.prototype.onDragLeave=function(t){this.currentDropListener.onDragLeave(t)},t.prototype.onDragging=function(t){this.currentDropListener.onDragging(t)},t.prototype.onDragStop=function(t){this.currentDropListener.onDragStop(t)},n([a.Autowired("context"),i("design:type",a.Context)],t.prototype,"context",void 0),n([a.Autowired("dragAndDropService"),i("design:type",s.DragAndDropService)],t.prototype,"dragAndDropService",void 0),n([a.Autowired("columnController"),i("design:type",c.ColumnController)],t.prototype,"columnController",void 0),n([a.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),t}();e.BodyDropTarget=d},70040:(t,e,o)=>{var n=o(72994).Token;function i(t,e){return this.start=t,this.stop=e,this}function r(){this.intervals=null,this.readOnly=!1}i.prototype.contains=function(t){return t>=this.start&&t<this.stop},i.prototype.toString=function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()},Object.defineProperty(i.prototype,"length",{get:function(){return this.stop-this.start}}),r.prototype.first=function(t){return null===this.intervals||0===this.intervals.length?n.INVALID_TYPE:this.intervals[0].start},r.prototype.addOne=function(t){this.addInterval(new i(t,t+1))},r.prototype.addRange=function(t,e){this.addInterval(new i(t,e+1))},r.prototype.addInterval=function(t){if(null===this.intervals)this.intervals=[],this.intervals.push(t);else{for(var e=0;e<this.intervals.length;e++){var o=this.intervals[e];if(t.stop<o.start)return void this.intervals.splice(e,0,t);if(t.stop===o.start)return void(this.intervals[e].start=t.start);if(t.start<=o.stop)return this.intervals[e]=new i(Math.min(o.start,t.start),Math.max(o.stop,t.stop)),void this.reduce(e)}this.intervals.push(t)}},r.prototype.addSet=function(t){if(null!==t.intervals)for(var e=0;e<t.intervals.length;e++){var o=t.intervals[e];this.addInterval(new i(o.start,o.stop))}return this},r.prototype.reduce=function(t){if(t<this.intervalslength-1){var e=this.intervals[t],o=this.intervals[t+1];e.stop>=o.stop?(this.intervals.pop(t+1),this.reduce(t)):e.stop>=o.start&&(this.intervals[t]=new i(e.start,o.stop),this.intervals.pop(t+1))}},r.prototype.complement=function(t,e){var o=new r;o.addInterval(new i(t,e+1));for(var n=0;n<this.intervals.length;n++)o.removeRange(this.intervals[n]);return o},r.prototype.contains=function(t){if(null===this.intervals)return!1;for(var e=0;e<this.intervals.length;e++)if(this.intervals[e].contains(t))return!0;return!1},Object.defineProperty(r.prototype,"length",{get:function(){var t=0;return this.intervals.map((function(e){t+=e.length})),t}}),r.prototype.removeRange=function(t){if(t.start===t.stop-1)this.removeOne(t.start);else if(null!==this.intervals)for(var e=0,o=0;o<this.intervals.length;o++){var n=this.intervals[e];if(t.stop<=n.start)return;if(t.start>n.start&&t.stop<n.stop){this.intervals[e]=new i(n.start,t.start);var r=new i(t.stop,n.stop);return void this.intervals.splice(e,0,r)}t.start<=n.start&&t.stop>=n.stop?(this.intervals.splice(e,1),e-=1):t.start<n.stop?this.intervals[e]=new i(n.start,t.start):t.stop<n.stop&&(this.intervals[e]=new i(t.stop,n.stop)),e+=1}},r.prototype.removeOne=function(t){if(null!==this.intervals)for(var e=0;e<this.intervals.length;e++){var o=this.intervals[e];if(t<o.start)return;if(t===o.start&&t===o.stop-1)return void this.intervals.splice(e,1);if(t===o.start)return void(this.intervals[e]=new i(o.start+1,o.stop));if(t===o.stop-1)return void(this.intervals[e]=new i(o.start,o.stop-1));if(t<o.stop-1){var n=new i(o.start,t);return o.start=t+1,void this.intervals.splice(e,0,n)}}},r.prototype.toString=function(t,e,o){return t=t||null,e=e||null,o=o||!1,null===this.intervals?"{}":null!==t||null!==e?this.toTokenString(t,e):o?this.toCharString():this.toIndexString()},r.prototype.toCharString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var o=this.intervals[e];o.stop===o.start+1?o.start===n.EOF?t.push("<EOF>"):t.push("'"+String.fromCharCode(o.start)+"'"):t.push("'"+String.fromCharCode(o.start)+"'..'"+String.fromCharCode(o.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]},r.prototype.toIndexString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var o=this.intervals[e];o.stop===o.start+1?o.start===n.EOF?t.push("<EOF>"):t.push(o.start.toString()):t.push(o.start.toString()+".."+(o.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]},r.prototype.toTokenString=function(t,e){for(var o=[],n=0;n<this.intervals.length;n++)for(var i=this.intervals[n],r=i.start;r<i.stop;r++)o.push(this.elementName(t,e,r));return o.length>1?"{"+o.join(", ")+"}":o[0]},r.prototype.elementName=function(t,e,o){return o===n.EOF?"<EOF>":o===n.EPSILON?"<EPSILON>":t[o]||e[o]},e.Interval=i,e.m=r},71616:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(45727),s=o(46379),a=o(83423),l=function(t){function e(){var o=t.call(this,e.TEMPLATE)||this;return o.eInput=o.getGui().querySelector("input"),o}return i(e,t),e.prototype.init=function(t){this.params=t;var e,o=this.eInput;t.cellStartedEdit?(this.focusAfterAttached=!0,t.keyPress===r.Constants.KEY_BACKSPACE||t.keyPress===r.Constants.KEY_DELETE?e="":t.charPress?e=t.charPress:(e=this.getStartValue(t),t.keyPress!==r.Constants.KEY_F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,e=this.getStartValue(t)),a._.exists(e)&&(o.value=e),this.addDestroyableEventListener(o,"keydown",(function(t){if(t.keyCode===r.Constants.KEY_LEFT||t.keyCode===r.Constants.KEY_RIGHT||t.keyCode===r.Constants.KEY_UP||t.keyCode===r.Constants.KEY_DOWN||t.keyCode===r.Constants.KEY_PAGE_DOWN||t.keyCode===r.Constants.KEY_PAGE_UP||t.keyCode===r.Constants.KEY_PAGE_HOME||t.keyCode===r.Constants.KEY_PAGE_END){t.stopPropagation();var e=t.keyCode===r.Constants.KEY_PAGE_UP,o=t.keyCode===r.Constants.KEY_PAGE_DOWN;(e||o)&&t.preventDefault()}}))},e.prototype.afterGuiAttached=function(){if(this.focusAfterAttached){var t=this.eInput;if(t.focus(),this.highlightAllOnFocus)t.select();else{var e=t.value?t.value.length:0;e>0&&t.setSelectionRange(e,e)}}},e.prototype.focusIn=function(){var t=this.eInput;t.focus(),t.select()},e.prototype.getValue=function(){var t=this.eInput;return this.params.parseValue(t.value)},e.prototype.getStartValue=function(t){return t.useFormatter||t.column.getColDef().refData?t.formatValue(t.value):t.value},e.prototype.isPopup=function(){return!1},e.TEMPLATE='<div class="ag-input-text-wrapper"><input class="ag-cell-edit-input" type="text"/></div>',e}(s.PopupComponent);e.TextCellEditor=l},72493:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(83423),i=function(){function t(t,e){if(this.beanWrappers={},this.componentsMappedByName={},this.destroyed=!1,t&&t.beans){this.contextParams=t,this.logger=e,this.logger.log(">> creating ag-Application Context"),this.setupComponents(),this.createBeans();var o=this.getBeanInstances();this.wireBeans(o),this.logger.log(">> ag-Application Context ready - component is alive")}}return t.prototype.getBeanInstances=function(){return n._.mapObject(this.beanWrappers,(function(t){return t.beanInstance}))},t.prototype.setupComponents=function(){var t=this;this.contextParams.components&&this.contextParams.components.forEach((function(e){return t.addComponent(e)}))},t.prototype.addComponent=function(t){var e=t.componentName.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().toUpperCase();this.componentsMappedByName[e]=t.theClass},t.prototype.createComponentFromElement=function(t,e){var o=t.nodeName;if(this.componentsMappedByName&&this.componentsMappedByName[o]){var n=new this.componentsMappedByName[o];return this.wireBean(n,e),n}return null},t.prototype.wireBean=function(t,e){if(!t)throw Error("Can't wire to bean since it is null");this.wireBeans([t],e)},t.prototype.wireBeans=function(t,e){this.autoWireBeans(t),this.methodWireBeans(t),this.callLifeCycleMethods(t,"preConstructMethods"),n._.exists(e)&&t.forEach(e),this.callLifeCycleMethods(t,"postConstructMethods")},t.prototype.createBeans=function(){var t=this;this.contextParams.beans.forEach(this.createBeanWrapper.bind(this)),this.contextParams.overrideBeans&&this.contextParams.overrideBeans.forEach(this.createBeanWrapper.bind(this)),n._.iterateObject(this.beanWrappers,(function(e,o){var n;o.bean.__agBeanMetaData&&o.bean.__agBeanMetaData.autowireMethods&&o.bean.__agBeanMetaData.autowireMethods.agConstructor&&(n=o.bean.__agBeanMetaData.autowireMethods.agConstructor);var i,r,s=t.getBeansForParameters(n,o.bean.name),a=(i=o.bean,r=[null].concat(s),new(i.bind.apply(i,r)));o.beanInstance=a,t.logger.log("bean "+t.getBeanName(a)+" created")}))},t.prototype.createBeanWrapper=function(t){var e=t.__agBeanMetaData;if(!e){var o;return o=t.prototype.constructor?t.prototype.constructor.name:""+t,void console.error("context item "+o+" is not a bean")}var n={bean:t,beanInstance:null,beanName:e.beanName};this.beanWrappers[e.beanName]=n},t.prototype.autoWireBeans=function(t){var e=this;t.forEach((function(t){e.forEachMetaDataInHierarchy(t,(function(o,n){var i=o.agClassAttributes;i&&i.forEach((function(o){var i=e.lookupBeanInstance(n,o.beanName,o.optional);t[o.attributeName]=i}))}))}))},t.prototype.methodWireBeans=function(t){var e=this;t.forEach((function(t){e.forEachMetaDataInHierarchy(t,(function(o,i){n._.iterateObject(o.autowireMethods,(function(o,n){if("agConstructor"!==o){var r=e.getBeansForParameters(n,i);t[o].apply(t,r)}}))}))}))},t.prototype.forEachMetaDataInHierarchy=function(t,e){for(var o=Object.getPrototypeOf(t);null!=o;){var n=o.constructor;n.hasOwnProperty("__agBeanMetaData")&&e(n.__agBeanMetaData,this.getBeanName(n)),o=Object.getPrototypeOf(o)}},t.prototype.getBeanName=function(t){if(t.__agBeanMetaData&&t.__agBeanMetaData.beanName)return t.__agBeanMetaData.beanName;var e=t.toString();return e.substring(9,e.indexOf("("))},t.prototype.getBeansForParameters=function(t,e){var o=this,i=[];return t&&n._.iterateObject(t,(function(t,n){var r=o.lookupBeanInstance(e,n);i[Number(t)]=r})),i},t.prototype.lookupBeanInstance=function(t,e,o){if(void 0===o&&(o=!1),"context"===e)return this;if(this.contextParams.seed&&this.contextParams.seed.hasOwnProperty(e))return this.contextParams.seed[e];var n=this.beanWrappers[e];return n?n.beanInstance:(o||console.error("ag-Grid: unable to find bean reference "+e+" while initialising "+t),null)},t.prototype.callLifeCycleMethods=function(t,e){var o=this;t.forEach((function(t){o.forEachMetaDataInHierarchy(t,(function(o){var n=o[e];n&&n.forEach((function(e){return t[e]()}))}))}))},t.prototype.getBean=function(t){return this.lookupBeanInstance("getBean",t,!0)},t.prototype.getEnterpriseDefaultComponents=function(){return this.contextParams.enterpriseDefaultComponents},t.prototype.destroy=function(){if(!this.destroyed){this.logger.log(">> Shutting down ag-Application Context");var t=this.getBeanInstances();this.callLifeCycleMethods(t,"preDestroyMethods"),this.contextParams.seed=null,this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead")}},t}();function r(t,e,o,n,i,r){if(null!==e)if("number"!=typeof r){var a=s(t.constructor);a.agClassAttributes||(a.agClassAttributes=[]),a.agClassAttributes.push({attributeName:i,beanName:e,optional:o})}else console.error("ag-Grid: Autowired should be on an attribute");else console.error("ag-Grid: Autowired name should not be null")}function s(t){return t.hasOwnProperty("__agBeanMetaData")||(t.__agBeanMetaData={}),t.__agBeanMetaData}e.Context=i,e.PreConstruct=function(t,e,o){var n=s(t.constructor);n.postConstructMethods||(n.preConstructMethods=[]),n.preConstructMethods.push(e)},e.PostConstruct=function(t,e,o){var n=s(t.constructor);n.postConstructMethods||(n.postConstructMethods=[]),n.postConstructMethods.push(e)},e.PreDestroy=function(t,e,o){var n=s(t.constructor);n.preDestroyMethods||(n.preDestroyMethods=[]),n.preDestroyMethods.push(e)},e.Bean=function(t){return function(e){s(e).beanName=t}},e.Autowired=function(t){return function(e,o,n){r(e,t,!1,0,o,null)}},e.Optional=function(t){return function(e,o,n){r(e,t,!0,0,o,null)}},e.Qualifier=function(t){return function(e,o,n){var i,r="function"==typeof e?e:e.constructor;if("number"==typeof n){var a=void 0;o?(i=s(r),a=o):(i=s(r),a="agConstructor"),i.autowireMethods||(i.autowireMethods={}),i.autowireMethods[a]||(i.autowireMethods[a]={}),i.autowireMethods[a][n]=t}}}},72948:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(74517),a=o(26016),l=o(60843),p=o(44871),u=o(40797),c=function(){function t(t,e,o,n){this.localEventService=new l.EventService,this.expandable=!1,this.colGroupDef=t,this.groupId=e,this.expanded=t&&!!t.openByDefault,this.padding=o,this.level=n}return t.prototype.setOriginalParent=function(t){this.originalParent=this.originalParent},t.prototype.getOriginalParent=function(){return this.originalParent},t.prototype.getLevel=function(){return this.level},t.prototype.isVisible=function(){return!!this.children&&this.children.some((function(t){return t.isVisible()}))},t.prototype.isPadding=function(){return this.padding},t.prototype.setExpanded=function(e){this.expanded=void 0!==e&&e;var o={type:t.EVENT_EXPANDED_CHANGED};this.localEventService.dispatchEvent(o)},t.prototype.isExpandable=function(){return this.expandable},t.prototype.isExpanded=function(){return this.expanded},t.prototype.getGroupId=function(){return this.groupId},t.prototype.getId=function(){return this.getGroupId()},t.prototype.setChildren=function(t){this.children=t},t.prototype.getChildren=function(){return this.children},t.prototype.getColGroupDef=function(){return this.colGroupDef},t.prototype.getLeafColumns=function(){var t=[];return this.addLeafColumns(t),t},t.prototype.addLeafColumns=function(e){this.children&&this.children.forEach((function(o){o instanceof a.Column?e.push(o):o instanceof t&&o.addLeafColumns(e)}))},t.prototype.getColumnGroupShow=function(){return this.padding?this.children[0].getColumnGroupShow():this.colGroupDef.columnGroupShow},t.prototype.setupExpandable=function(){var t=this;this.setExpandable(),this.getLeafColumns().forEach((function(e){return e.addEventListener(a.Column.EVENT_VISIBLE_CHANGED,t.onColumnVisibilityChanged.bind(t))}))},t.prototype.setExpandable=function(){if(!this.isPadding()){for(var e=!1,o=!1,n=!1,i=this.findChildren(),r=0,a=i.length;r<a;r++){var l=i[r];if(l.isVisible()){var p=l.getColumnGroupShow();p===s.ColumnGroup.HEADER_GROUP_SHOW_OPEN?(e=!0,n=!0):p===s.ColumnGroup.HEADER_GROUP_SHOW_CLOSED?(o=!0,n=!0):(e=!0,o=!0)}}var u=e&&o&&n;if(this.expandable!==u){this.expandable=u;var c={type:t.EVENT_EXPANDABLE_CHANGED};this.localEventService.dispatchEvent(c)}}},t.prototype.findChildren=function(){var e=this.children,o=e[0];if(o&&(!o.isPadding||!o.isPadding()))return e;for(;1===e.length&&e[0]instanceof t;)e=e[0].children;return e},t.prototype.onColumnVisibilityChanged=function(){this.setExpandable()},t.prototype.addEventListener=function(t,e){this.localEventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.localEventService.removeEventListener(t,e)},t.EVENT_EXPANDED_CHANGED="expandedChanged",t.EVENT_EXPANDABLE_CHANGED="expandableChanged",n([r.Autowired("columnApi"),i("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),n([r.Autowired("gridApi"),i("design:type",u.GridApi)],t.prototype,"gridApi",void 0),t}();e.OriginalColumnGroup=c},72955:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.isLayoutPanel=!0,this.childPanels=[],this.eGui=document.createElement("div"),this.eGui.style.height="100%"}return t.prototype.addPanel=function(t,e){var o;t.isLayoutPanel?(this.childPanels.push(t),o=t.getGui()):o=t,e&&(o.style.height=e),this.eGui.appendChild(o)},t.prototype.getGui=function(){return this.eGui},t.prototype.doLayout=function(){for(var t=0;t<this.childPanels.length;t++)this.childPanels[t].doLayout()},t}();e.VerticalStack=o},72994:(t,e)=>{function o(){return this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null,this}function n(t,e,i,r,s){return o.call(this),this.source=void 0!==t?t:n.EMPTY_SOURCE,this.type=void 0!==e?e:null,this.channel=void 0!==i?i:o.DEFAULT_CHANNEL,this.start=void 0!==r?r:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=t[0].line,this.column=t[0].column):this.column=-1,this}o.INVALID_TYPE=0,o.EPSILON=-2,o.MIN_USER_TOKEN_TYPE=1,o.EOF=-1,o.DEFAULT_CHANNEL=0,o.HIDDEN_CHANNEL=1,Object.defineProperty(o.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t}}),o.prototype.getTokenSource=function(){return this.source[0]},o.prototype.getInputStream=function(){return this.source[1]},n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.EMPTY_SOURCE=[null,null],n.prototype.clone=function(){var t=new n(this.source,this.type,this.channel,this.start,this.stop);return t.tokenIndex=this.tokenIndex,t.line=this.line,t.column=this.column,t.text=this.text,t},Object.defineProperty(n.prototype,"text",{get:function(){if(null!==this._text)return this._text;var t=this.getInputStream();if(null===t)return null;var e=t.size;return this.start<e&&this.stop<e?t.getText(this.start,this.stop):"<EOF>"},set:function(t){this._text=t}}),n.prototype.toString=function(){var t=this.text;return t=null!==t?t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},e.Token=o,e.CommonToken=n},73575:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(45727),s=o(72493),a=o(44081),l=o(59007),p=o(60843),u=o(63405),c=o(83423),d=function(){function t(){this.activePopupElements=[]}return t.prototype.registerGridCore=function(t){this.gridCore=t},t.prototype.getDocument=function(){return this.gridOptionsWrapper.getDocument()},t.prototype.getPopupParent=function(){return this.gridOptionsWrapper.getPopupParent()||this.gridCore.getRootGui()},t.prototype.positionPopupForMenu=function(t){var e,o=t.eventSource.getBoundingClientRect(),n=this.getDocument(),i=this.getPopupParent();e=i===n.body?n.documentElement.getBoundingClientRect():i.getBoundingClientRect();var r=o.top-e.top;r=this.keepYWithinBounds(t,r);var s=t.ePopup.clientWidth>0?t.ePopup.clientWidth:200;t.ePopup.style.minWidth=s+"px";var a,l=e.right-e.left-s;function p(){return o.right-e.left-2}function u(){return o.left-e.left-s}this.gridOptionsWrapper.isEnableRtl()?((a=u())<0&&(a=p()),a>l&&(a=0)):((a=p())>l&&(a=u()),a<0&&(a=0)),t.ePopup.style.left=a+"px",t.ePopup.style.top=r+"px"},t.prototype.positionPopupUnderMouseEvent=function(t){var e=this.calculatePointerAlign(t.mouseEvent),o=e.x,n=e.y,i=t.ePopup,r=t.nudgeX,s=t.nudgeY;this.positionPopup({ePopup:i,x:o,y:n,nudgeX:r,nudgeY:s,keepWithinBounds:!0}),this.callPostProcessPopup(t.ePopup,null,t.mouseEvent,t.type,t.column,t.rowNode)},t.prototype.calculatePointerAlign=function(t){var e=this.getDocument(),o=this.getPopupParent(),n=o.getBoundingClientRect(),i=e.documentElement.getBoundingClientRect();return{x:t.clientX-(o===e.body?i.left:n.left),y:t.clientY-(o===e.body?i.top:n.top)}},t.prototype.positionPopupUnderComponent=function(t){var e,o=t.eventSource.getBoundingClientRect(),n=this.getDocument(),i=this.getPopupParent();e=i===n.body?n.documentElement.getBoundingClientRect():i.getBoundingClientRect(),this.positionPopup({ePopup:t.ePopup,minWidth:t.minWidth,minHeight:t.minHeight,nudgeX:t.nudgeX,nudgeY:t.nudgeY,x:o.left-e.left,y:o.top-e.top+o.height,keepWithinBounds:t.keepWithinBounds}),this.callPostProcessPopup(t.ePopup,t.eventSource,null,t.type,t.column,t.rowNode)},t.prototype.callPostProcessPopup=function(t,e,o,n,i,r){var s=this.gridOptionsWrapper.getPostProcessPopupFunc();s&&s({column:i,rowNode:r,ePopup:t,type:n,eventSource:e,mouseEvent:o})},t.prototype.positionPopupOverComponent=function(t){var e,o=t.eventSource.getBoundingClientRect(),n=this.getDocument(),i=this.getPopupParent();e=i===n.body?n.documentElement.getBoundingClientRect():i.getBoundingClientRect(),this.positionPopup({ePopup:t.ePopup,minWidth:t.minWidth,nudgeX:t.nudgeX,nudgeY:t.nudgeY,x:o.left-e.left,y:o.top-e.top,keepWithinBounds:t.keepWithinBounds}),this.callPostProcessPopup(t.ePopup,t.eventSource,null,t.type,t.column,t.rowNode)},t.prototype.positionPopup=function(t){var e=t.x,o=t.y;t.nudgeX&&(e+=t.nudgeX),t.nudgeY&&(o+=t.nudgeY),t.keepWithinBounds&&(e=this.keepXWithinBounds(t,e),o=this.keepYWithinBounds(t,o)),t.ePopup.style.left=e+"px",t.ePopup.style.top=o+"px"},t.prototype.keepYWithinBounds=function(t,e){var o=this.gridOptionsWrapper.getDocument(),n=o.documentElement,i=this.getPopupParent(),r=i.getBoundingClientRect(),s=o.documentElement.getBoundingClientRect(),a=i===o.body,l=Math.min(200,r.height),p=0;t.minHeight&&t.minHeight<l?l=t.minHeight:t.ePopup.offsetHeight>0&&(l=t.ePopup.clientHeight,p=c._.getAbsoluteHeight(t.ePopup)-l);var u=a?c._.getAbsoluteHeight(n)+n.scrollTop:r.height;a&&(u-=Math.abs(s.top-r.top));var d=u-l-p-3;return Math.min(Math.max(e,0),Math.abs(d))},t.prototype.keepXWithinBounds=function(t,e){var o=this.gridOptionsWrapper.getDocument(),n=o.documentElement,i=this.getPopupParent(),r=i.getBoundingClientRect(),s=o.documentElement.getBoundingClientRect(),a=i===o.body,l=Math.min(200,r.width),p=0;t.minWidth&&t.minWidth<l?l=t.minWidth:t.ePopup.clientWidth>0&&(l=t.ePopup.clientWidth,t.ePopup.style.minWidth=l+"px",p=c._.getAbsoluteWidth(t.ePopup)-l);var u=a?c._.getAbsoluteWidth(n)+n.scrollLeft:r.width;a&&(u-=Math.abs(s.left-r.left));var d=u-l-p-3;return Math.min(Math.max(e,0),Math.abs(d))},t.prototype.addAsModalPopup=function(t,e,o,n){return this.addPopup(!0,t,e,o,n)},t.prototype.addPopup=function(t,e,o,n,i){var s=this,a=this.gridOptionsWrapper.getDocument();if(!a)return console.warn("ag-grid: could not find the document, document is empty"),function(){};e.style.top="0px",e.style.left="0px";var l=this.getPopupParent();if(c._.isVisible(e)&&l.contains(e))return function(){};var p=document.createElement("div"),d=this.environment.getTheme();d&&c._.addCssClass(p,d),p.appendChild(e),l.appendChild(p),this.activePopupElements.push(e);var h=!1,f=function(t){(t.which||t.keyCode)===r.Constants.KEY_ESCAPE&&v(null)},g=function(t){v(t)},y=function(t){v(null,t)},v=function(t,o){s.isEventFromCurrentPopup(t,o,e)||s.isEventSameChainAsOriginalEvent(i,t,o)||h||(h=!0,l.removeChild(p),c._.removeFromArray(s.activePopupElements,e),a.removeEventListener("keydown",f),a.removeEventListener("click",g),a.removeEventListener("touchstart",y),a.removeEventListener("contextmenu",g),s.eventService.removeEventListener(u.Events.EVENT_DRAG_STARTED,g),n&&n())};return window.setTimeout((function(){o&&a.addEventListener("keydown",f),t&&(a.addEventListener("click",g),s.eventService.addEventListener(u.Events.EVENT_DRAG_STARTED,g),a.addEventListener("touchstart",y),a.addEventListener("contextmenu",g))}),0),v},t.prototype.isEventFromCurrentPopup=function(t,e,o){var n=t||e;if(n){for(var i=this.activePopupElements.indexOf(o);i<this.activePopupElements.length;i++){var r=this.activePopupElements[i];if(c._.isElementInEventPath(r,n))return!0}for(var s=n.target;s&&s!=document.body;){if(s.classList.contains("ag-custom-component-popup")||null===s.parentElement)return!0;s=s.parentElement}}return!1},t.prototype.isEventSameChainAsOriginalEvent=function(t,e,o){var n=null;if(e?n=e:o&&(n=o.touches[0]),n&&t){var i=e?e.screenX:0,r=e?e.screenY:0,s=Math.abs(t.screenX-i)<5,a=Math.abs(t.screenY-r)<5;if(s&&a)return!0}return!1},n([s.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Autowired("environment"),i("design:type",l.Environment)],t.prototype,"environment",void 0),n([s.Autowired("eventService"),i("design:type",p.EventService)],t.prototype,"eventService",void 0),n([s.Bean("popupService")],t)}();e.PopupService=d},74517:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(26016),s=o(60843),a=o(72493),l=o(44081),p=o(44871),u=o(40797),c=function(){function t(t,e,o,n){this.displayedChildren=[],this.localEventService=new s.EventService,this.groupId=e,this.instanceId=o,this.originalColumnGroup=t,this.pinned=n}return t.createUniqueId=function(t,e){return t+"_"+e},t.prototype.reset=function(){this.parent=null,this.children=null,this.displayedChildren=null},t.prototype.getParent=function(){return this.parent},t.prototype.setParent=function(t){this.parent=t},t.prototype.getUniqueId=function(){return t.createUniqueId(this.groupId,this.instanceId)},t.prototype.isEmptyGroup=function(){return 0===this.displayedChildren.length},t.prototype.isMoving=function(){var t=this.getOriginalColumnGroup().getLeafColumns();if(!t||0===t.length)return!1;var e=!0;return t.forEach((function(t){t.isMoving()||(e=!1)})),e},t.prototype.checkLeft=function(){if(this.displayedChildren.forEach((function(e){e instanceof t&&e.checkLeft()})),this.displayedChildren.length>0)if(this.gridOptionsWrapper.isEnableRtl()){var e=this.displayedChildren[this.displayedChildren.length-1].getLeft();this.setLeft(e)}else{var o=this.displayedChildren[0].getLeft();this.setLeft(o)}else this.setLeft(null)},t.prototype.getLeft=function(){return this.left},t.prototype.getOldLeft=function(){return this.oldLeft},t.prototype.setLeft=function(e){this.oldLeft=e,this.left!==e&&(this.left=e,this.localEventService.dispatchEvent(this.createAgEvent(t.EVENT_LEFT_CHANGED)))},t.prototype.getPinned=function(){return this.pinned},t.prototype.createAgEvent=function(t){return{type:t}},t.prototype.addEventListener=function(t,e){this.localEventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.localEventService.removeEventListener(t,e)},t.prototype.getGroupId=function(){return this.groupId},t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.isChildInThisGroupDeepSearch=function(e){var o=!1;return this.children.forEach((function(n){e===n&&(o=!0),n instanceof t&&n.isChildInThisGroupDeepSearch(e)&&(o=!0)})),o},t.prototype.getActualWidth=function(){var t=0;return this.displayedChildren&&this.displayedChildren.forEach((function(e){t+=e.getActualWidth()})),t},t.prototype.isResizable=function(){if(!this.displayedChildren)return!1;var t=!1;return this.displayedChildren.forEach((function(e){e.isResizable()&&(t=!0)})),t},t.prototype.getMinWidth=function(){var t=0;return this.displayedChildren.forEach((function(e){t+=e.getMinWidth()})),t},t.prototype.addChild=function(t){this.children||(this.children=[]),this.children.push(t)},t.prototype.getDisplayedChildren=function(){return this.displayedChildren},t.prototype.getLeafColumns=function(){var t=[];return this.addLeafColumns(t),t},t.prototype.getDisplayedLeafColumns=function(){var t=[];return this.addDisplayedLeafColumns(t),t},t.prototype.getDefinition=function(){return this.originalColumnGroup.getColGroupDef()},t.prototype.getColGroupDef=function(){return this.originalColumnGroup.getColGroupDef()},t.prototype.isPadding=function(){return this.originalColumnGroup.isPadding()},t.prototype.isExpandable=function(){return this.originalColumnGroup.isExpandable()},t.prototype.isExpanded=function(){return this.originalColumnGroup.isExpanded()},t.prototype.setExpanded=function(t){this.originalColumnGroup.setExpanded(t)},t.prototype.addDisplayedLeafColumns=function(e){this.displayedChildren.forEach((function(o){o instanceof r.Column?e.push(o):o instanceof t&&o.addDisplayedLeafColumns(e)}))},t.prototype.addLeafColumns=function(e){this.children.forEach((function(o){o instanceof r.Column?e.push(o):o instanceof t&&o.addLeafColumns(e)}))},t.prototype.getChildren=function(){return this.children},t.prototype.getColumnGroupShow=function(){return this.originalColumnGroup.getColumnGroupShow()},t.prototype.getOriginalColumnGroup=function(){return this.originalColumnGroup},t.prototype.calculateDisplayedColumns=function(){var e=this;this.displayedChildren=[];var o=this;if(this.isPadding())for(;o.getParent()&&o.isPadding();)o=o.getParent();o.originalColumnGroup.isExpandable()?this.children.forEach((function(n){switch(n.getColumnGroupShow()){case t.HEADER_GROUP_SHOW_OPEN:o.originalColumnGroup.isExpanded()&&e.displayedChildren.push(n);break;case t.HEADER_GROUP_SHOW_CLOSED:o.originalColumnGroup.isExpanded()||e.displayedChildren.push(n);break;default:e.displayedChildren.push(n)}})):this.displayedChildren=this.children,this.localEventService.dispatchEvent(this.createAgEvent(t.EVENT_DISPLAYED_CHILDREN_CHANGED))},t.HEADER_GROUP_SHOW_OPEN="open",t.HEADER_GROUP_SHOW_CLOSED="closed",t.EVENT_LEFT_CHANGED="leftChanged",t.EVENT_DISPLAYED_CHILDREN_CHANGED="displayedChildrenChanged",n([a.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([a.Autowired("columnApi"),i("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),n([a.Autowired("gridApi"),i("design:type",u.GridApi)],t.prototype,"gridApi",void 0),t}();e.ColumnGroup=c},74591:(t,e,o)=>{var n=o(25003);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function r(t,e){this.path=t,this.rethrow(e)}e.a=i,i.prototype.isError=function(t){return t instanceof r},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,o){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=o)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,o=e.obj;return e.obj=t,o},i.prototype.error=function(t){var e,o=this._reporterState,n=t instanceof r;if(e=n?t:new r(o.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!o.options.partial)throw e;return n||o.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(r,Error),r.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,r),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},74763:(t,e,o)=>{var n=o(72994).CommonToken;function i(){return this}function r(t){return i.call(this),this.copyText=void 0!==t&&t,this}r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.DEFAULT=new r,r.prototype.create=function(t,e,o,i,r,s,a,l){var p=new n(t,e,i,r,s);return p.line=a,p.column=l,null!==o?p.text=o:this.copyText&&null!==t[1]&&(p.text=t[1].getText(r,s)),p},r.prototype.createThin=function(t,e){var o=new n(null,t);return o.text=e,o},e.p=r},75013:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(65360);function i(t,e,o,i){var r,s,a=i.agGrid;if(s=a+".quickFilterText",r=e.$eval(a)){var l=t[0],p={$scope:e,$compile:o,quickFilterOnScope:s},u=new n.Grid(l,r,p);e.$on("$destroy",(function(){u.destroy(),u=null}))}else console.warn("WARNING - grid options for ag-Grid not found. Please ensure the attribute ag-grid points to a valid object on the scope")}e.initialiseAgGridWithAngular1=function(t){t.module("agGrid",[]).directive("agGrid",(function(){return{restrict:"A",controller:["$element","$scope","$compile","$attrs",i],scope:!0}}))}},75167:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,'<div class="ag-tooltip"></div>')||this}return i(e,t),e.prototype.init=function(t){var e=t.value;this.getGui().innerHTML=e},e}(o(46379).PopupComponent);e.TooltipComponent=r},75449:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(96652),s=o(46410),a=o(47008),l=o(47008),p=function(t){function e(o,n){var i=t.call(this)||this;return i.portal=null,i.componentWrappingElement="div",i.reactComponent=o,i.parentComponent=n,i.statelessComponent=e.isStateless(i.reactComponent),i}return i(e,t),e.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},e.prototype.isStatelesComponent=function(){return this.statelessComponent},e.prototype.getReactComponentName=function(){return this.reactComponent.name},e.prototype.init=function(t){var e=this;return new l.Promise((function(o){e.eParentElement=e.createParentElement(t),e.createReactComponent(t,o)}))},e.prototype.getGui=function(){return this.eParentElement},e.prototype.destroy=function(){return this.parentComponent.destroyPortal(this.portal)},e.prototype.createReactComponent=function(t,e){var o=this;this.statelessComponent||(t.ref=function(t){o.componentInstance=t});var n=r.createElement(this.reactComponent,t),i=s.createPortal(n,this.eParentElement);this.portal=i,this.parentComponent.mountReactPortal(i,this,e)},e.prototype.createParentElement=function(t){var e=document.createElement(this.parentComponent.props.componentWrappingElement||"div");return a.Utils.addCssClass(e,"ag-react-container"),t.reactContainer=this.eParentElement,e},e.isStateless=function(t){return"function"==typeof t&&!(t.prototype&&t.prototype.isReactComponent)},e}(o(30844).BaseReactComponent);e.ReactComponent=p},76133:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(45727),a=o(44081),l=o(83423),p=function(){function t(){}return t.prototype.postConstruct=function(){this.rowModel.getType()===s.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel)},t.prototype.createTransactionForRowData=function(t){if(l._.missing(this.clientSideRowModel))console.error("ag-Grid: ImmutableService only works with ClientSideRowModel");else{var e=this.gridOptionsWrapper.getRowNodeIdFunc();if(e&&!l._.missing(e)){var o={remove:[],update:[],add:[]},n=this.clientSideRowModel.getCopyOfNodesMap(),i=this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder()?null:{};return l._.exists(t)&&t.forEach((function(t,r){var s=e(t),a=n[s];i&&(i[s]=r),a?(a.data!==t&&o.update.push(t),n[s]=void 0):o.add.push(t)})),l._.iterateObject(n,(function(t,e){e&&o.remove.push(e.data)})),[o,i]}console.error("ag-Grid: ImmutableService requires getRowNodeId() callback to be implemented, your row data need IDs!")}},n([r.Autowired("rowModel"),i("design:type",Object)],t.prototype,"rowModel",void 0),n([r.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"postConstruct",null),n([r.Bean("immutableService")],t)}();e.ImmutableService=p},77171:(t,e,o)=>{var n=o(72994).Token,i=o(18393).Lexer,r=o(70040).Interval;function s(){return this}function a(t){return s.call(this),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.mark=function(){return 0},a.prototype.release=function(t){},a.prototype.reset=function(){this.seek(0)},a.prototype.seek=function(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)},a.prototype.get=function(t){return this.lazyInit(),this.tokens[t]},a.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length))&&this.LA(1)===n.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))},a.prototype.sync=function(t){var e=t-this.tokens.length+1;return!(e>0)||this.fetch(e)>=e},a.prototype.fetch=function(t){if(this.fetchedEOF)return 0;for(var e=0;e<t;e++){var o=this.tokenSource.nextToken();if(o.tokenIndex=this.tokens.length,this.tokens.push(o),o.type===n.EOF)return this.fetchedEOF=!0,e+1}return t},a.prototype.getTokens=function(t,e,o){if(void 0===o&&(o=null),t<0||e<0)return null;this.lazyInit();var i=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(var r=t;r<e;r++){var s=this.tokens[r];if(s.type===n.EOF)break;(null===o||o.contains(s.type))&&i.push(s)}return i},a.prototype.LA=function(t){return this.LT(t).type},a.prototype.LB=function(t){return this.index-t<0?null:this.tokens[this.index-t]},a.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);var e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]},a.prototype.adjustSeekIndex=function(t){return t},a.prototype.lazyInit=function(){-1===this.index&&this.setup()},a.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},a.prototype.setTokenSource=function(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1},a.prototype.nextTokenOnChannel=function(t,e){if(this.sync(t),t>=this.tokens.length)return-1;for(var o=this.tokens[t];o.channel!==this.channel;){if(o.type===n.EOF)return-1;t+=1,this.sync(t),o=this.tokens[t]}return t},a.prototype.previousTokenOnChannel=function(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t},a.prototype.getHiddenTokensToRight=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var o=this.nextTokenOnChannel(t+1,i.DEFAULT_TOKEN_CHANNEL),n=t+1,r=-1===o?this.tokens.length-1:o;return this.filterForChannel(n,r,e)},a.prototype.getHiddenTokensToLeft=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var o=this.previousTokenOnChannel(t-1,i.DEFAULT_TOKEN_CHANNEL);if(o===t-1)return null;var n=o+1,r=t-1;return this.filterForChannel(n,r,e)},a.prototype.filterForChannel=function(t,e,o){for(var n=[],r=t;r<e+1;r++){var s=this.tokens[r];-1===o?s.channel!==i.DEFAULT_TOKEN_CHANNEL&&n.push(s):s.channel===o&&n.push(s)}return 0===n.length?null:n},a.prototype.getSourceName=function(){return this.tokenSource.getSourceName()},a.prototype.getText=function(t){this.lazyInit(),this.fill(),null==t&&(t=new r(0,this.tokens.length-1));var e=t.start;e instanceof n&&(e=e.tokenIndex);var o=t.stop;if(o instanceof n&&(o=o.tokenIndex),null===e||null===o||e<0||o<0)return"";o>=this.tokens.length&&(o=this.tokens.length-1);for(var i="",s=e;s<o+1;s++){var a=this.tokens[s];if(a.type===n.EOF)break;i+=a.text}return i},a.prototype.fill=function(){for(this.lazyInit();1e3===this.fetch(1e3););},e.f=a},78481:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(72493),p=o(26016),u=o(58342),c=o(44871),d=o(98239),h=o(97177),f=o(44081),g=o(34506),y=o(38152),v=o(40797),m=o(86608),C=o(60843),E=o(85910),w=o(21951),_=o(47721),R=o(2299),S=o(63405),O=o(93830),T=o(55090),b=o(81604),A=o(66419),P=o(83423),D=function(t){function e(o,n,i){var r=t.call(this,e.TEMPLATE)||this;return r.column=o,r.dragSourceDropTarget=n,r.pinned=i,r}return i(e,t),e.prototype.getColumn=function(){return this.column},e.prototype.getComponentHolder=function(){return this.column.getColDef()},e.prototype.init=function(){var t=this.getComponentHolder(),e=this.columnController.getDisplayNameForColumn(this.column,"header",!0),o=t.sortable,n=this.menuFactory.isMenuEnabled(this.column)&&!t.suppressMenu;this.appendHeaderComp(e,o,n),this.setupWidth(),this.setupMovingCss(),this.setupTooltip(),this.setupResize(),this.setupMenuClass(),this.setupSortableClass(o),this.addColumnHoverListener(),this.addFeature(this.getContext(),new b.HoverFeature([this.column],this.getGui())),this.addDestroyableEventListener(this.column,p.Column.EVENT_FILTER_ACTIVE_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged(),this.addFeature(this.getContext(),new R.SelectAllFeature(this.cbSelectAll,this.column));var i=new y.SetLeftFeature(this.column,this.getGui(),this.beans);i.init(),this.addDestroyFunc(i.destroy.bind(i)),this.addAttributes(),g.CssClassApplier.addHeaderClassesFromColDef(t,this.getGui(),this.gridOptionsWrapper,this.column,null)},e.prototype.addColumnHoverListener=function(){this.addDestroyableEventListener(this.eventService,S.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.onColumnHover()},e.prototype.onColumnHover=function(){var t=this.columnHoverService.isHovered(this.column);P._.addOrRemoveCssClass(this.getGui(),"ag-column-hover",t)},e.prototype.setupSortableClass=function(t){if(t){var e=this.getGui();P._.addCssClass(e,"ag-header-cell-sortable")}},e.prototype.onFilterChanged=function(){var t=this.column.isFilterActive();P._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-filtered",t)},e.prototype.appendHeaderComp=function(t,e,o){var n=this,i={column:this.column,displayName:t,enableSorting:e,enableMenu:o,showColumnMenu:function(t){n.gridApi.showColumnMenuAfterButtonClick(n.column,t)},progressSort:function(t){n.sortController.progressSort(n.column,!!t,"uiColumnSorted")},setSort:function(t,e){n.sortController.setSortForColumn(n.column,t,!!e,"uiColumnSorted")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()},r=this.afterHeaderCompCreated.bind(this,t);this.userComponentFactory.newHeaderComponent(i).then(r)},e.prototype.afterHeaderCompCreated=function(t,e){this.appendChild(e),this.setupMove(e.getGui(),t)},e.prototype.onColumnMovingChanged=function(){this.column.isMoving()?P._.addCssClass(this.getGui(),"ag-header-cell-moving"):P._.removeCssClass(this.getGui(),"ag-header-cell-moving")},e.prototype.setupMove=function(t,e){var o=this;if(!(this.gridOptionsWrapper.isSuppressMovableColumns()||this.getComponentHolder().suppressMovable||this.column.isLockPosition())&&t){var n={type:u.DragSourceType.HeaderCell,eElement:t,dragItemCallback:function(){return o.createDragItem()},dragItemName:e,dragSourceDropTarget:this.dragSourceDropTarget,dragStarted:function(){return o.column.setMoving(!0,"uiColumnMoved")},dragStopped:function(){return o.column.setMoving(!1,"uiColumnMoved")}};this.dragAndDropService.addDragSource(n,!0),this.addDestroyFunc((function(){return o.dragAndDropService.removeDragSource(n)}))}},e.prototype.createDragItem=function(){var t={};return t[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:t}},e.prototype.setupResize=function(){var t=this,e=this.getComponentHolder();if(this.eResize)if(this.column.isResizable()){var o=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(o),!this.gridOptionsWrapper.isSuppressAutoSize()&&!e.suppressAutoSize){this.addDestroyableEventListener(this.eResize,"dblclick",(function(){t.columnController.autoSizeColumn(t.column,"uiColumnResized")}));var n=new A.TouchListener(this.eResize);this.addDestroyableEventListener(n,A.TouchListener.EVENT_DOUBLE_TAP,(function(){t.columnController.autoSizeColumn(t.column,"uiColumnResized")})),this.addDestroyFunc(n.destroy.bind(n))}}else P._.removeFromParent(this.eResize)},e.prototype.onResizing=function(t,e){var o=this.normaliseResizeAmount(e),n=this.resizeStartWidth+o;this.columnController.setColumnWidth(this.column,n,this.resizeWithShiftKey,t,"uiColumnDragged"),t&&P._.removeCssClass(this.getGui(),"ag-column-resizing")},e.prototype.onResizeStart=function(t){this.resizeStartWidth=this.column.getActualWidth(),this.resizeWithShiftKey=t,P._.addCssClass(this.getGui(),"ag-column-resizing")},e.prototype.getTooltipText=function(){return this.getComponentHolder().headerTooltip},e.prototype.setupTooltip=function(){var t=this.getTooltipText();null!=t&&(this.gridOptionsWrapper.isEnableBrowserTooltips()?this.getGui().setAttribute("title",t):this.beans.tooltipManager.registerTooltip(this))},e.prototype.setupMovingCss=function(){this.addDestroyableEventListener(this.column,p.Column.EVENT_MOVING_CHANGED,this.onColumnMovingChanged.bind(this)),this.onColumnMovingChanged()},e.prototype.addAttributes=function(){this.getGui().setAttribute("col-id",this.column.getColId())},e.prototype.setupWidth=function(){this.addDestroyableEventListener(this.column,p.Column.EVENT_WIDTH_CHANGED,this.onColumnWidthChanged.bind(this)),this.onColumnWidthChanged()},e.prototype.setupMenuClass=function(){this.addDestroyableEventListener(this.column,p.Column.EVENT_MENU_VISIBLE_CHANGED,this.onMenuVisible.bind(this)),this.onColumnWidthChanged()},e.prototype.onMenuVisible=function(){this.addOrRemoveCssClass("ag-column-menu-visible",this.column.isMenuVisible())},e.prototype.onColumnWidthChanged=function(){this.getGui().style.width=this.column.getActualWidth()+"px"},e.prototype.normaliseResizeAmount=function(t){var e=t;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==p.Column.PINNED_LEFT&&(e*=-1):this.pinned===p.Column.PINNED_RIGHT&&(e*=-1),e},e.TEMPLATE='<div class="ag-header-cell" role="presentation" unselectable="on"><div ref="eResize" class="ag-header-cell-resize" role="presentation"></div><ag-checkbox ref="cbSelectAll" class="ag-header-select-all" role="presentation"></ag-checkbox></div>',r([l.Autowired("gridOptionsWrapper"),s("design:type",f.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("dragAndDropService"),s("design:type",u.DragAndDropService)],e.prototype,"dragAndDropService",void 0),r([l.Autowired("columnController"),s("design:type",d.ColumnController)],e.prototype,"columnController",void 0),r([l.Autowired("horizontalResizeService"),s("design:type",h.HorizontalResizeService)],e.prototype,"horizontalResizeService",void 0),r([l.Autowired("menuFactory"),s("design:type",Object)],e.prototype,"menuFactory",void 0),r([l.Autowired("gridApi"),s("design:type",v.GridApi)],e.prototype,"gridApi",void 0),r([l.Autowired("columnApi"),s("design:type",c.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("sortController"),s("design:type",m.SortController)],e.prototype,"sortController",void 0),r([l.Autowired("eventService"),s("design:type",C.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("userComponentFactory"),s("design:type",E.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([l.Autowired("columnHoverService"),s("design:type",O.ColumnHoverService)],e.prototype,"columnHoverService",void 0),r([l.Autowired("beans"),s("design:type",T.Beans)],e.prototype,"beans",void 0),r([_.RefSelector("eResize"),s("design:type",HTMLElement)],e.prototype,"eResize",void 0),r([_.RefSelector("cbSelectAll"),s("design:type",w.AgCheckbox)],e.prototype,"cbSelectAll",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(a.Component);e.HeaderWrapperComp=D},79886:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(40634),p=o(60843),u=o(45727),c=o(72493),d=o(22131),h=o(15068),f=o(93121),g=o(95125),y=o(98239),v=o(26016),m=o(47721),C=o(1571),E=o(85910),w=o(83423),_=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.init=function(t){this.params=t,this.gridOptionsWrapper.isGroupIncludeTotalFooter()&&this.assignBlankValueToGroupFooterCell(t);var e=this.isEmbeddedRowMismatch(),o=null==t.value;this.cellIsBlank=e||o,this.cellIsBlank||(this.setupDragOpenParents(),this.addExpandAndContract(),this.addCheckboxIfNeeded(),this.addValueElement(),this.setupIndent())},e.prototype.assignBlankValueToGroupFooterCell=function(t){t.value||-1!=t.node.level||(t.value="")},e.prototype.isEmbeddedRowMismatch=function(){if(this.params.fullWidth&&this.gridOptionsWrapper.isEmbedFullWidthRows()){var t=this.params.pinned===v.Column.PINNED_LEFT,e=this.params.pinned===v.Column.PINNED_RIGHT,o=!t&&!e;return this.gridOptionsWrapper.isEnableRtl()?this.columnController.isPinningLeft()?!e:!o:this.columnController.isPinningLeft()?!t:!o}return!1},e.prototype.setIndent=function(){if(!this.gridOptionsWrapper.isGroupHideOpenParents()){var t=this.params,e=t.node.uiLevel;t.padding>=0?this.setPaddingDeprecatedWay(e,t.padding):(this.indentClass&&this.removeCssClass(this.indentClass),this.indentClass="ag-row-group-indent-"+e,this.addCssClass(this.indentClass))}},e.prototype.setPaddingDeprecatedWay=function(t,e){w._.doOnce((function(){return console.warn("ag-Grid: since v14.2, 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");var o=t*e;this.gridOptionsWrapper.isEnableRtl()?this.getGui().style.paddingRight=o+"px":this.getGui().style.paddingLeft=o+"px"},e.prototype.setupIndent=function(){var t=this.params.node;this.params.suppressPadding||(this.addDestroyableEventListener(t,h.RowNode.EVENT_UI_LEVEL_CHANGED,this.setIndent.bind(this)),this.setIndent())},e.prototype.addValueElement=function(){var t=this.params,e=this.displayedGroup;e.footer?this.createFooterCell():e.hasChildren()||w._.get(t.colDef,"cellRendererParams.innerRenderer",null)||w._.get(t.colDef,"cellRendererParams.innerRendererFramework",null)?(this.createGroupCell(),e.hasChildren()&&this.addChildCount()):this.createLeafCell()},e.prototype.createFooterCell=function(){var t,e=this.params.footerValueGetter;if(e){var o=w._.cloneObject(this.params);o.value=this.params.value,"function"==typeof e?t=e(o):"string"==typeof e?t=this.expressionService.evaluate(e,o):console.warn("ag-Grid: footerValueGetter should be either a function or a string (expression)")}else t="Total "+this.params.value;this.eValue.innerHTML=t},e.prototype.createGroupCell=function(){var t,e=this,o=this.params,n=this.displayedGroup.rowGroupColumn||o.column,i=this.params.value,r=n?this.valueFormatterService.formatValue(n,o.node,o.scope,i):null;o.valueFormatted=r,(t=1==o.fullWidth?this.useFullWidth(o):this.useInnerRenderer(this.params.colDef.cellRendererParams,n.getColDef(),o))&&t.then((function(t){e.innerCellRenderer=t}))},e.prototype.useInnerRenderer=function(t,e,o){var n=this,i=null,r=this.userComponentFactory.lookupComponentClassDef(t,"innerRenderer");if(r&&null!=r.component&&r.source!=E.ComponentSource.DEFAULT)i=this.userComponentFactory.newInnerCellRenderer(t,o);else{var s=this.userComponentFactory.lookupComponentClassDef(e,"cellRenderer");i=s&&s.source!=E.ComponentSource.DEFAULT?this.userComponentFactory.newCellRenderer(e,o):s&&s.source==E.ComponentSource.DEFAULT&&w._.get(e,"cellRendererParams.innerRenderer",null)?this.userComponentFactory.newInnerCellRenderer(e.cellRendererParams,o):this.userComponentFactory.newCellRenderer({},o)}return null!=i?i.then((function(t){null!=t?w._.bindCellRendererToHtmlElement(i,n.eValue):n.eValue.innerText=null!=o.valueFormatted?o.valueFormatted:o.value})):this.eValue.innerText=null!=o.valueFormatted?o.valueFormatted:o.value,i},e.prototype.useFullWidth=function(t){var e=this.userComponentFactory.newFullWidthGroupRowInnerCellRenderer(t);return null!=e?w._.bindCellRendererToHtmlElement(e,this.eValue):this.eValue.innerText=null!=t.valueFormatted?t.valueFormatted:t.value,e},e.prototype.addChildCount=function(){this.params.suppressCount||(this.addDestroyableEventListener(this.displayedGroup,h.RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.updateChildCount.bind(this)),this.updateChildCount())},e.prototype.updateChildCount=function(){var t=this.displayedGroup.allChildrenCount;this.eChildCount.innerHTML=t>=0?"("+t+")":""},e.prototype.createLeafCell=function(){w._.exists(this.params.value)&&(this.eValue.innerHTML=this.params.valueFormatted?this.params.valueFormatted:this.params.value)},e.prototype.isUserWantsSelected=function(){var t=this.params.checkbox;return"function"==typeof t?t(this.params):!0===t},e.prototype.addCheckboxIfNeeded=function(){var t=this.displayedGroup,e=this.isUserWantsSelected()&&!t.footer&&!t.rowPinned&&!t.detail;if(e){var o=new g.CheckboxSelectionComponent;this.getContext().wireBean(o),o.init({rowNode:t,column:this.params.column}),this.eCheckbox.appendChild(o.getGui()),this.addDestroyFunc((function(){return o.destroy()}))}w._.addOrRemoveCssClass(this.eCheckbox,"ag-invisible",!e)},e.prototype.addExpandAndContract=function(){var t=this.params,e=t.eGridCell,o=w._.createIconNoSpan("groupExpanded",this.gridOptionsWrapper,null),n=w._.createIconNoSpan("groupContracted",this.gridOptionsWrapper,null);this.eExpanded.appendChild(o),this.eContracted.appendChild(n),this.addDestroyableEventListener(this.eExpanded,"click",this.onExpandClicked.bind(this)),this.addDestroyableEventListener(this.eContracted,"click",this.onExpandClicked.bind(this)),this.addDestroyableEventListener(e,"keydown",this.onKeyDown.bind(this),{capture:!0}),this.addDestroyableEventListener(t.node,h.RowNode.EVENT_EXPANDED_CHANGED,this.showExpandAndContractIcons.bind(this)),this.showExpandAndContractIcons(),this.addDestroyableEventListener(this.displayedGroup,h.RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.onAllChildrenCountChanged.bind(this)),this.gridOptionsWrapper.isEnableGroupEdit()||!this.isExpandable()||t.suppressDoubleClickExpand||this.addDestroyableEventListener(e,"dblclick",this.onCellDblClicked.bind(this))},e.prototype.onAllChildrenCountChanged=function(){this.showExpandAndContractIcons(),this.setIndent()},e.prototype.onKeyDown=function(t){if(!t.defaultPrevented&&w._.isKeyPressed(t,u.Constants.KEY_ENTER)){if(this.params.column.isCellEditable(this.params.node))return;t.preventDefault(),this.onExpandOrContract()}},e.prototype.setupDragOpenParents=function(){var t=this.params.column,e=this.params.node;if(this.gridOptionsWrapper.isGroupHideOpenParents())if(e.hasChildren()){var o=e.rowGroupColumn;this.draggedFromHideOpenParents=!t.isRowGroupDisplayed(o.getId())}else this.draggedFromHideOpenParents=!0;else this.draggedFromHideOpenParents=!1;if(this.draggedFromHideOpenParents)for(var n=e.parent;!w._.missing(n);){if(n.rowGroupColumn&&t.isRowGroupDisplayed(n.rowGroupColumn.getId())){this.displayedGroup=n;break}n=n.parent}w._.missing(this.displayedGroup)&&(this.displayedGroup=e)},e.prototype.onExpandClicked=function(t){w._.isStopPropagationForAgGrid(t)||(w._.stopPropagationForAgGrid(t),this.onExpandOrContract())},e.prototype.onCellDblClicked=function(t){w._.isStopPropagationForAgGrid(t)||w._.isElementInEventPath(this.eExpanded,t)||w._.isElementInEventPath(this.eContracted,t)||this.onExpandOrContract()},e.prototype.onExpandOrContract=function(){var t=this.displayedGroup;t.setExpanded(!t.expanded)},e.prototype.isExpandable=function(){var t=this.params.node,e=this.columnController.isPivotMode()&&t.leafGroup;return this.draggedFromHideOpenParents||t.isExpandable()&&!t.footer&&!e},e.prototype.showExpandAndContractIcons=function(){var t=this.params.node;if(this.isExpandable()){var e=!!this.draggedFromHideOpenParents||t.expanded;w._.setVisible(this.eContracted,!e),w._.setVisible(this.eExpanded,e)}else w._.setVisible(this.eExpanded,!1),w._.setVisible(this.eContracted,!1);var o=this.displayedGroup,n=this.columnController.isPivotMode()&&o.leafGroup,i=!o.isExpandable(),r=o.footer||i||n;this.addOrRemoveCssClass("ag-row-group-leaf-indent",r)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.innerCellRenderer&&this.innerCellRenderer.destroy&&this.innerCellRenderer.destroy()},e.prototype.refresh=function(){return!1},e.TEMPLATE='<span><span class="ag-group-expanded" ref="eExpanded"></span><span class="ag-group-contracted" ref="eContracted"></span><span class="ag-group-checkbox ag-invisible" ref="eCheckbox"></span><span class="ag-group-value" ref="eValue"></span><span class="ag-group-child-count" ref="eChildCount"></span></span>',r([c.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([c.Autowired("expressionService"),s("design:type",l.ExpressionService)],e.prototype,"expressionService",void 0),r([c.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([c.Autowired("valueFormatterService"),s("design:type",f.ValueFormatterService)],e.prototype,"valueFormatterService",void 0),r([c.Autowired("columnController"),s("design:type",y.ColumnController)],e.prototype,"columnController",void 0),r([c.Autowired("mouseEventService"),s("design:type",C.MouseEventService)],e.prototype,"mouseEventService",void 0),r([c.Autowired("userComponentFactory"),s("design:type",E.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([m.RefSelector("eExpanded"),s("design:type",HTMLElement)],e.prototype,"eExpanded",void 0),r([m.RefSelector("eContracted"),s("design:type",HTMLElement)],e.prototype,"eContracted",void 0),r([m.RefSelector("eCheckbox"),s("design:type",HTMLElement)],e.prototype,"eCheckbox",void 0),r([m.RefSelector("eValue"),s("design:type",HTMLElement)],e.prototype,"eValue",void 0),r([m.RefSelector("eChildCount"),s("design:type",HTMLElement)],e.prototype,"eChildCount",void 0),e}(d.Component);e.GroupCellRenderer=_},80834:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.STRING_PROPERTIES=["headerName","columnGroupShow","headerClass","toolPanelClass","headerValueGetter","pivotKeys","groupId","colId","sort","field","type","tooltipComponent","tooltipField","headerTooltip","cellClass","showRowGroup","template","templateUrl","filter","aggFunc","cellRenderer","cellEditor","pinned"],t.OBJECT_PROPERTIES=["headerGroupComponent","headerGroupComponentFramework","headerGroupComponentParams","cellStyle","cellRendererParams","cellEditorFramework","cellEditorParams","pinnedRowCellRendererFramework","pinnedRowCellRendererParams","filterFramework","filterParams","pivotValueColumn","headerComponent","headerComponentFramework","headerComponentParams","floatingFilterComponent","floatingFilterComponentParams","floatingFilterComponentFramework","tooltipComponent","tooltipComponentParams","tooltipComponentFramework","refData"],t.ARRAY_PROPERTIES=["children","sortingOrder","allowedAggFuncs","menuTabs","pivotTotalColumnIds","cellClassRules","icons"],t.NUMBER_PROPERTIES=["sortedAt","width","minWidth","maxWidth","rowGroupIndex","pivotIndex"],t.BOOLEAN_PROPERTIES=["suppressCellFlash","suppressToolPanel","openByDefault","marryChildren","hide","rowGroup","pivot","checkboxSelection","headerCheckboxSelection","headerCheckboxSelectionFilteredOnly","suppressMenu","suppressSorting","suppressMovable","suppressFilter","lockPosition","lockVisible","lockPinned","unSortIcon","suppressSizeToFit","suppressResize","suppressAutoSize","enableRowGroup","enablePivot","enableValue","editable","suppressPaste","suppressNavigable","enableCellChangeFlash","rowDrag","autoHeight","sortable","resizable","singleClickEdit"],t.FUNCTION_PROPERTIES=["valueGetter","valueSetter","filterValueGetter","keyCreator","cellRenderer","cellRendererFramework","pinnedRowCellRenderer","valueFormatter","pinnedRowValueFormatter","valueParser","comparator","equals","pivotComparator","suppressKeyboardEvent","colSpan","rowSpan","getQuickFilterText","newValueHandler","onCellValueChanged","onCellClicked","onCellDoubleClicked","onCellContextMenu","tooltip","tooltipValueGetter","tooltipComponent","tooltipComponentFramework","cellRendererSelector","cellEditorSelector"],t.ALL_PROPERTIES=t.ARRAY_PROPERTIES.concat(t.OBJECT_PROPERTIES).concat(t.STRING_PROPERTIES).concat(t.NUMBER_PROPERTIES).concat(t.FUNCTION_PROPERTIES).concat(t.BOOLEAN_PROPERTIES),t.FRAMEWORK_PROPERTIES=["__ob__","__metadata__","mappedColumnProperties","hasChildColumns","toColDef","createColDefFromGridColumn"],t}();e.ColDefUtil=o},81204:(t,e,o)=>{var n=o(66346).Set,i=o(41207).X,r=o(81367).StarLoopEntryState,s=o(87264).Q,a=o(4768).DFASerializer,l=o(4768).LexerDFASerializer;function p(t,e){if(void 0===e&&(e=0),this.atnStartState=t,this.decision=e,this._states=new n,this.s0=null,this.precedenceDfa=!1,t instanceof r&&t.isPrecedenceDecision){this.precedenceDfa=!0;var o=new i(null,new s);o.edges=[],o.isAcceptState=!1,o.requiresFullContext=!1,this.s0=o}return this}p.prototype.getPrecedenceStartState=function(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null},p.prototype.setPrecedenceStartState=function(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)},p.prototype.setPrecedenceDfa=function(t){if(this.precedenceDfa!==t){if(this._states=new DFAStatesSet,t){var e=new i(null,new s);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}},Object.defineProperty(p.prototype,"states",{get:function(){return this._states}}),p.prototype.sortedStates=function(){return this._states.values().sort((function(t,e){return t.stateNumber-e.stateNumber}))},p.prototype.toString=function(t,e){return t=t||null,e=e||null,null===this.s0?"":new a(this,t,e).toString()},p.prototype.toLexerString=function(){return null===this.s0?"":new l(this).toString()},e.DFA=p},81324:(t,e,o)=>{var n=e;n.der=o(4715),n.pem=o(27022)},81367:(t,e)=>{function o(){return this.atn=null,this.stateNumber=o.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function n(){return o.call(this),this.stateType=o.BASIC,this}function i(){return o.call(this),this.decision=-1,this.nonGreedy=!1,this}function r(){return i.call(this),this.endState=null,this}function s(){return r.call(this),this.stateType=o.BLOCK_START,this}function a(){return o.call(this),this.stateType=o.BLOCK_END,this.startState=null,this}function l(){return o.call(this),this.stateType=o.RULE_STOP,this}function p(){return o.call(this),this.stateType=o.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function u(){return i.call(this),this.stateType=o.PLUS_LOOP_BACK,this}function c(){return r.call(this),this.stateType=o.PLUS_BLOCK_START,this.loopBackState=null,this}function d(){return r.call(this),this.stateType=o.STAR_BLOCK_START,this}function h(){return o.call(this),this.stateType=o.STAR_LOOP_BACK,this}function f(){return i.call(this),this.stateType=o.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function g(){return o.call(this),this.stateType=o.LOOP_END,this.loopBackState=null,this}function y(){return i.call(this),this.stateType=o.TOKEN_START,this}o.INVALID_TYPE=0,o.BASIC=1,o.RULE_START=2,o.BLOCK_START=3,o.PLUS_BLOCK_START=4,o.STAR_BLOCK_START=5,o.TOKEN_START=6,o.RULE_STOP=7,o.BLOCK_END=8,o.STAR_LOOP_BACK=9,o.STAR_LOOP_ENTRY=10,o.PLUS_LOOP_BACK=11,o.LOOP_END=12,o.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],o.INVALID_STATE_NUMBER=-1,o.prototype.toString=function(){return this.stateNumber},o.prototype.equals=function(t){return t instanceof o&&this.stateNumber===t.stateNumber},o.prototype.isNonGreedyExitState=function(){return!1},o.prototype.addTransition=function(t,e){void 0===e&&(e=-1),0===this.transitions.length?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===e?this.transitions.push(t):this.transitions.splice(e,1,t)},n.prototype=Object.create(o.prototype),n.prototype.constructor=n,i.prototype=Object.create(o.prototype),i.prototype.constructor=i,r.prototype=Object.create(i.prototype),r.prototype.constructor=r,s.prototype=Object.create(r.prototype),s.prototype.constructor=s,a.prototype=Object.create(o.prototype),a.prototype.constructor=a,l.prototype=Object.create(o.prototype),l.prototype.constructor=l,p.prototype=Object.create(o.prototype),p.prototype.constructor=p,u.prototype=Object.create(i.prototype),u.prototype.constructor=u,c.prototype=Object.create(r.prototype),c.prototype.constructor=c,d.prototype=Object.create(r.prototype),d.prototype.constructor=d,h.prototype=Object.create(o.prototype),h.prototype.constructor=h,f.prototype=Object.create(i.prototype),f.prototype.constructor=f,g.prototype=Object.create(o.prototype),g.prototype.constructor=g,y.prototype=Object.create(i.prototype),y.prototype.constructor=y,e.ATNState=o,e.BasicState=n,e.DecisionState=i,e.BlockStartState=r,e.BlockEndState=a,e.LoopEndState=g,e.RuleStartState=p,e.RuleStopState=l,e.TokensStartState=y,e.PlusLoopbackState=u,e.StarLoopbackState=h,e.StarLoopEntryState=f,e.PlusBlockStartState=c,e.StarBlockStartState=d,e.BasicBlockStartState=s},81604:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(8534),l=o(72493),p=o(93830),u=function(t){function e(e,o){var n=t.call(this)||this;return n.columns=e,n.addMouseHoverListeners(o),n}return i(e,t),e.prototype.addMouseHoverListeners=function(t){this.addDestroyableEventListener(t,"mouseout",this.onMouseOut.bind(this)),this.addDestroyableEventListener(t,"mouseover",this.onMouseOver.bind(this))},e.prototype.onMouseOut=function(){this.columnHoverService.clearMouseOver()},e.prototype.onMouseOver=function(){this.columnHoverService.setMouseOver(this.columns)},r([l.Autowired("columnHoverService"),s("design:type",p.ColumnHoverService)],e.prototype,"columnHoverService",void 0),e}(a.BeanStub);e.HoverFeature=u},81999:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(44871),p=o(98239),u=o(10042),c=o(55e3),d=o(60843),h=o(64229),f=o(37132),g=o(73575),y=o(72493),v=o(42195),m=o(22131),C=o(40797),E=o(47721),w=o(63405),_=o(68198),R=o(96896),S=o(83423),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(){var t=this;this.logger=this.loggerFactory.create("GridCore");var o=this.enterprise?e.TEMPLATE_ENTERPRISE:e.TEMPLATE_NORMAL;if(this.setTemplate(o),[this.gridApi,this.filterManager,this.rowRenderer,this.popupService].forEach((function(e){return e.registerGridCore(t)})),this.enterprise&&this.clipboardService.registerGridCore(this),this.gridOptionsWrapper.addLayoutElement(this.getGui()),this.setSideBarVisible(this.gridOptionsWrapper.isShowToolPanel()),this.eGridDiv.appendChild(this.getGui()),this.addDestroyFunc((function(){t.eGridDiv.removeChild(t.getGui())})),this.$scope){var n=this.$scope.$watch(this.quickFilterOnScope,(function(e){return t.filterManager.setQuickFilter(e)}));this.addDestroyFunc(n)}this.addRtlSupport(),this.logger.log("ready"),this.gridOptionsWrapper.addLayoutElement(this.eRootWrapperBody);var i=this.gridPanel.getGui();this.addDestroyableEventListener(i,"focusin",(function(){S._.addCssClass(i,"ag-has-focus")})),this.addDestroyableEventListener(i,"focusout",(function(t){i.contains(t.relatedTarget)||S._.removeCssClass(i,"ag-has-focus")}));var r=this.resizeObserverService.observeResize(this.eGridDiv,this.onGridSizeChanged.bind(this));this.addDestroyFunc((function(){return r()}))},e.prototype.onGridSizeChanged=function(){var t={type:w.Events.EVENT_GRID_SIZE_CHANGED,api:this.gridApi,columnApi:this.columnApi,clientWidth:this.eGridDiv.clientWidth,clientHeight:this.eGridDiv.clientHeight};this.eventService.dispatchEvent(t)},e.prototype.addRtlSupport=function(){var t=this.gridOptionsWrapper.isEnableRtl()?"ag-rtl":"ag-ltr";S._.addCssClass(this.getGui(),t)},e.prototype.getRootGui=function(){return this.getGui()},e.prototype.isSideBarVisible=function(){return!!this.sideBarComp&&this.sideBarComp.isVisible()},e.prototype.setSideBarVisible=function(t){this.sideBarComp?this.sideBarComp.setVisible(t):t&&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.getSideBar=function(){return this.gridOptions.sideBar},e.prototype.refreshSideBar=function(){this.sideBarComp&&this.sideBarComp.refresh()},e.prototype.setSideBar=function(t){this.eRootWrapperBody.removeChild(this.sideBarComp.getGui()),this.gridOptions.sideBar=R.SideBarDefParser.parse(t),this.sideBarComp.reset(),this.eRootWrapperBody.appendChild(this.sideBarComp.getGui())},e.prototype.getOpenedToolPanel=function(){return this.sideBarComp?this.sideBarComp.openedItem():null},e.prototype.openToolPanel=function(t){this.sideBarComp?this.sideBarComp.openToolPanel(t):console.warn("ag-Grid: toolPanel is only available in ag-Grid Enterprise")},e.prototype.isToolPanelShowing=function(){return this.sideBarComp.isToolPanelShowing()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.logger.log("Grid DOM removed")},e.prototype.ensureNodeVisible=function(t,e){if(void 0===e&&(e="top"),this.doingVirtualPaging)throw new Error("Cannot use ensureNodeVisible when doing virtual paging, as we cannot check rows that are not in memory");for(var o=this.rowModel.getPageLastRow()+1,n="function"==typeof t,i=-1,r=0;r<o;r++){var s=this.rowModel.getRow(r);if(n){if(t(s)){i=r;break}}else if(t===s||t===s.data){i=r;break}}i>=0&&this.gridPanel.ensureIndexVisible(i,e)},e.TEMPLATE_NORMAL='<div class="ag-root-wrapper">\n <div class="ag-root-wrapper-body" ref="rootWrapperBody">\n <ag-grid-comp ref="gridPanel"></ag-grid-comp>\n </div>\n <ag-pagination></ag-pagination>\n </div>',e.TEMPLATE_ENTERPRISE='<div class="ag-root-wrapper">\n <ag-grid-header-drop-zones></ag-grid-header-drop-zones>\n <div ref="rootWrapperBody" class="ag-root-wrapper-body">\n <ag-grid-comp ref="gridPanel"></ag-grid-comp>\n <ag-side-bar ref="sideBar"></ag-side-bar>\n </div>\n <ag-status-bar ref="statusBar"></ag-status-bar>\n <ag-pagination></ag-pagination>\n <ag-watermark></ag-watermark>\n </div>',r([y.Autowired("enterprise"),s("design:type",Boolean)],e.prototype,"enterprise",void 0),r([y.Autowired("gridOptions"),s("design:type",Object)],e.prototype,"gridOptions",void 0),r([y.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([y.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([y.Autowired("frameworkFactory"),s("design:type",Object)],e.prototype,"frameworkFactory",void 0),r([y.Autowired("resizeObserverService"),s("design:type",_.ResizeObserverService)],e.prototype,"resizeObserverService",void 0),r([y.Autowired("columnController"),s("design:type",p.ColumnController)],e.prototype,"columnController",void 0),r([y.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([y.Autowired("filterManager"),s("design:type",c.FilterManager)],e.prototype,"filterManager",void 0),r([y.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([y.Autowired("eGridDiv"),s("design:type",HTMLElement)],e.prototype,"eGridDiv",void 0),r([y.Autowired("$scope"),s("design:type",Object)],e.prototype,"$scope",void 0),r([y.Autowired("quickFilterOnScope"),s("design:type",String)],e.prototype,"quickFilterOnScope",void 0),r([y.Autowired("popupService"),s("design:type",g.PopupService)],e.prototype,"popupService",void 0),r([y.Autowired("focusedCellController"),s("design:type",v.FocusedCellController)],e.prototype,"focusedCellController",void 0),r([y.Autowired("loggerFactory"),s("design:type",f.LoggerFactory)],e.prototype,"loggerFactory",void 0),r([y.Autowired("columnApi"),s("design:type",l.ColumnApi)],e.prototype,"columnApi",void 0),r([y.Autowired("gridApi"),s("design:type",C.GridApi)],e.prototype,"gridApi",void 0),r([y.Optional("clipboardService"),s("design:type",Object)],e.prototype,"clipboardService",void 0),r([E.RefSelector("gridPanel"),s("design:type",h.GridPanel)],e.prototype,"gridPanel",void 0),r([E.RefSelector("sideBar"),s("design:type",Object)],e.prototype,"sideBarComp",void 0),r([E.RefSelector("rootWrapperBody"),s("design:type",HTMLElement)],e.prototype,"eRootWrapperBody",void 0),r([y.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(m.Component);e.GridCore=O},83423:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(45727),i=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,s="__ag_Grid_Stop_Propagation",a=function(){function t(){this.timestamp=(new Date).getTime()}return t.prototype.print=function(t){var e=(new Date).getTime()-this.timestamp;console.info(t+" = "+e),this.timestamp=(new Date).getTime()},t}();e.Timer=a;var l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},p=/[&<>"']/g,u=function(){function t(){}return t.doIeFocusHack=function(t){(e._.isBrowserIE()||e._.isBrowserEdge())&&(e._.missing(document.activeElement)||document.activeElement===document.body)&&t.focus()},t.doOnce=function(t,e){this.doOnceFlags[e]||(t(),this.doOnceFlags[e]=!0)},t.isLeftClick=function(t){return"buttons"in t?1==t.buttons:1==(t.which||t.button)},t.areEventsNear=function(t,e,o){if(0===o)return!1;var n=Math.abs(t.clientX-e.clientX),i=Math.abs(t.clientY-e.clientY);return Math.max(n,i)<=o},t.jsonEquals=function(t,e){return(t?JSON.stringify(t):null)===(e?JSON.stringify(e):null)},t.shallowCompare=function(t,e){if(this.missing(t)&&this.missing(e))return!0;if(this.missing(t)||this.missing(e))return!1;if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!==e[o])return!1;return!0},t.getNameOfClass=function(t){var e=t.toString(),o=/function (.{1,})\(/.exec(e);return o&&o.length>1?o[1]:""},t.values=function(t){var e=[];return this.iterateObject(t,(function(t,o){e.push(o)})),e},t.getValueUsingField=function(t,e,o){if(e&&t){if(o){for(var n=e.split("."),i=t,r=0;r<n.length;r++)if(i=i[n[r]],this.missing(i))return null;return i}return t[e]}},t.getAbsoluteHeight=function(t){var e=window.getComputedStyle(t),o=parseFloat(e.marginTop)+parseFloat(e.marginBottom);return Math.ceil(t.offsetHeight+o)},t.getAbsoluteWidth=function(t){var e=window.getComputedStyle(t),o=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return Math.ceil(t.offsetWidth+o)},t.getScrollLeft=function(t,e){var o=t.scrollLeft;return e&&(o=Math.abs(o),this.isBrowserChrome()&&(o=t.scrollWidth-t.clientWidth-o)),o},t.cleanNumber=function(t){return"string"==typeof t&&(t=parseInt(t,10)),"number"==typeof t?Math.floor(t):null},t.setScrollLeft=function(t,e,o){o&&((this.isBrowserSafari()||this.isBrowserChrome())&&(e=t.scrollWidth-t.clientWidth-e),this.isBrowserFirefox()&&(e*=-1)),t.scrollLeft=e},t.iterateNamedNodeMap=function(t,e){if(t)for(var o=0;o<t.length;o++){var n=t[o];e(n.name,n.value)}},t.iterateObject=function(t,e){if(t&&!this.missing(t))if(Array.isArray(t))t.forEach((function(t,o){e(o+"",t)}));else for(var o=Object.keys(t),n=0;n<o.length;n++){var i=o[n],r=t[i];e(i,r)}},t.cloneObject=function(t){for(var e={},o=Object.keys(t),n=0;n<o.length;n++){var i=o[n],r=t[i];e[i]=r}return e},t.deepCloneObject=function(t){return JSON.parse(JSON.stringify(t))},t.map=function(t,e){for(var o=[],n=0;n<t.length;n++){var i=e(t[n],n);o.push(i)}return o},t.mapObject=function(e,o){var n=[];return t.iterateObject(e,(function(t,e){n.push(o(e))})),n},t.forEach=function(t,e){if(t)for(var o=0;o<t.length;o++)e(t[o],o)},t.filter=function(t,e){var o=[];return t.forEach((function(t){e(t)&&o.push(t)})),o},t.getAllKeysInObjects=function(t){var e={};return t.forEach((function(t){t&&Object.keys(t).forEach((function(t){return e[t]=null}))})),Object.keys(e)},t.mergeDeep=function(e,o){this.exists(o)&&this.iterateObject(o,(function(o,n){var i=e[o];i!==n&&("object"==typeof i&&"object"==typeof n?t.mergeDeep(i,n):e[o]=n)}))},t.assign=function(t){for(var e=this,o=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];return o.forEach((function(o){e.exists(o)&&e.iterateObject(o,(function(e,o){t[e]=o}))})),t},t.parseYyyyMmDdToDate=function(t,e){try{if(!t)return null;if(-1===t.indexOf(e))return null;var o=t.split(e);return 3!=o.length?null:new Date(Number(o[0]),Number(o[1])-1,Number(o[2]))}catch(t){return null}},t.serializeDateToYyyyMmDd=function(e,o){return e?e.getFullYear()+o+t.pad(e.getMonth()+1,2)+o+t.pad(e.getDate(),2):null},t.pad=function(t,e){for(var o=t+"";o.length<e;)o="0"+o;return o},t.pushAll=function(t,e){this.missing(e)||this.missing(t)||e.forEach((function(e){return t.push(e)}))},t.createArrayOfNumbers=function(t,e){for(var o=[],n=t;n<=e;n++)o.push(n);return o},t.getFunctionParameters=function(t){var e=t.toString().replace(i,""),o=e.slice(e.indexOf("(")+1,e.indexOf(")")).match(r);return null===o?[]:o},t.find=function(t,e,o){if(null==t)return null;if(!Array.isArray(t)){var n=this.values(t);return this.find(n,e,o)}for(var i=t,r=null,s=0;s<i.length;s++){var a=i[s];if("string"==typeof e){if(a[e]===o){r=a;break}}else if(e(a)){r=a;break}}return r},t.toStrings=function(t){return this.map(t,(function(t){return null!=t&&t.toString?t.toString():null}))},t.iterateArray=function(t,e){for(var o=0;o<t.length;o++)e(t[o],o)},t.isNode=function(t){return"function"==typeof Node?t instanceof Node:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},t.isElement=function(t){return"function"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName},t.isNodeOrElement=function(t){return this.isNode(t)||this.isElement(t)},t.copyNodeList=function(t){for(var e=t?t.length:0,o=[],n=0;n<e;n++)o.push(t[n]);return o},t.isEventFromPrintableCharacter=function(o){var i=String.fromCharCode(o.charCode);if(this.isKeyPressed(o,n.Constants.KEY_NEW_LINE))return!1;if(o.altKey||o.ctrlKey)return!1;if(e._.exists(o.key)){var r=1===o.key.length,s=t.isNumpadDelWithNumlockOnForEdgeOrIe(o);return r||s}return t.PRINTABLE_CHARACTERS.indexOf(i)>=0},t.isUserSuppressingKeyboardEvent=function(t,e,o,n,i){var r=t.getSuppressKeyboardEventFunc(),s=n.getColDef().suppressKeyboardEvent;if(!r&&!s)return!1;var a={event:e,editing:i,column:n,api:t.getApi(),node:o,data:o.data,colDef:n.getColDef(),context:t.getContext(),columnApi:t.getColumnApi()};return!(!s||!s(a))||!!r&&r(a)},t.getCellCompForEvent=function(t,e){for(var o=this.getTarget(e);o;){var n=t.getDomData(o,"cellComp");if(n)return n;o=o.parentElement}return null},t.addChangeListener=function(t,e){t.addEventListener("changed",e),t.addEventListener("paste",e),t.addEventListener("input",e),t.addEventListener("keydown",e),t.addEventListener("keyup",e)},t.makeNull=function(t){return null==t||""===t?null:t},t.missing=function(t){return!this.exists(t)},t.missingOrEmpty=function(t){return!t||this.missing(t)||0===t.length},t.missingOrEmptyObject=function(t){return this.missing(t)||0===Object.keys(t).length},t.exists=function(t,e){return void 0===e&&(e=!1),null!=t&&(""!==t||e)},t.firstExistingValue=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];for(var n=0;n<t.length;n++){var i=t[n];if(e._.exists(i))return i}return null},t.anyExists=function(t){if(t)for(var e=0;e<t.length;e++)if(this.exists(t[e]))return!0;return!1},t.existsAndNotEmpty=function(t){return null!=t&&this.exists(t)&&t.length>0},t.clearElement=function(t){for(;t&&t.firstChild;)t.removeChild(t.firstChild)},t.removeElement=function(t,e){this.removeFromParent(t.querySelector(e))},t.removeFromParent=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},t.isVisible=function(t){return null!==t.offsetParent},t.loadTemplate=function(t){var e=document.createElement("div");return e.innerHTML=t,e.firstChild},t.appendHtml=function(t,e){t.lastChild?t.insertAdjacentHTML("afterbegin",e):t.innerHTML=e},t.addOrRemoveCssClass=function(t,e,o){o?this.addCssClass(t,e):this.removeCssClass(t,e)},t.callIfPresent=function(t){t&&t()},t.addCssClass=function(t,e){var o=this;if(e&&0!==e.length)if(e.indexOf(" ")>=0)e.split(" ").forEach((function(e){return o.addCssClass(t,e)}));else if(t.classList)t.classList.contains(e)||t.classList.add(e);else if(t.className&&t.className.length>0){var n=t.className.split(" ");n.indexOf(e)<0&&(n.push(e),t.setAttribute("class",n.join(" ")))}else t.setAttribute("class",e)},t.containsClass=function(t,e){if(t.classList)return t.classList.contains(e);if(t.className){var o=t.className===e,n=t.className.indexOf(" "+e+" ")>=0,i=0===t.className.indexOf(e+" "),r=t.className.lastIndexOf(" "+e)===t.className.length-e.length-1;return o||n||i||r}return!1},t.getElementAttribute=function(t,e){return t.attributes&&t.attributes[e]?t.attributes[e].value:null},t.offsetHeight=function(t){return t&&t.clientHeight?t.clientHeight:0},t.offsetWidth=function(t){return t&&t.clientWidth?t.clientWidth:0},t.sortNumberArray=function(t){t.sort((function(t,e){return t-e}))},t.removeCssClass=function(t,e){if(t.classList)t.classList.contains(e)&&t.classList.remove(e);else if(t.className&&t.className.length>0){var o=t.className.split(" ");if(o.indexOf(e)>=0){for(;o.indexOf(e)>=0;)o.splice(o.indexOf(e),1);t.setAttribute("class",o.join(" "))}}},t.removeRepeatsFromArray=function(t,e){if(t)for(var o=t.length-2;o>=0;o--){var n=t[o]===e,i=t[o+1]===e;n&&i&&t.splice(o+1,1)}},t.removeFromArray=function(t,e){t.indexOf(e)>=0&&t.splice(t.indexOf(e),1)},t.removeAllFromArray=function(t,e){e.forEach((function(e){t.indexOf(e)>=0&&t.splice(t.indexOf(e),1)}))},t.insertIntoArray=function(t,e,o){t.splice(o,0,e)},t.insertArrayIntoArray=function(t,e,o){if(!this.missing(t)&&!this.missing(e))for(var n=e.length-1;n>=0;n--){var i=e[n];this.insertIntoArray(t,i,o)}},t.moveInArray=function(t,e,o){var n=this;e.forEach((function(e){n.removeFromArray(t,e)})),e.slice().reverse().forEach((function(e){n.insertIntoArray(t,e,o)}))},t.defaultComparator=function(t,e,o){void 0===o&&(o=!1);var n=null==t,i=null==e;if(t&&t.toNumber&&(t=t.toNumber()),e&&e.toNumber&&(e=e.toNumber()),n&&i)return 0;if(n)return-1;if(i)return 1;if("string"==typeof t){if(!o)return r(t,e);try{return t.localeCompare(e)}catch(o){return r(t,e)}}return t<e?-1:t>e?1:0;function r(t,e){return t>e?1:t<e?-1:0}},t.compareArrays=function(t,e){if(this.missing(t)&&this.missing(e))return!0;if(this.missing(t)||this.missing(e)||!t||!e)return!1;if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!==e[o])return!1;return!0},t.ensureDomOrder=function(t,e,o){o&&o.nextSibling===e||(o?o.nextSibling?t.insertBefore(e,o.nextSibling):t.appendChild(e):t.firstChild&&t.firstChild!==e&&t.insertAdjacentElement("afterbegin",e))},t.insertWithDomOrder=function(t,e,o){o?o.nextSibling?t.insertBefore(e,o.nextSibling):t.appendChild(e):t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},t.insertTemplateWithDomOrder=function(t,e,o){var n;return o?(o.insertAdjacentHTML("afterend",e),n=o.nextSibling):(t.firstChild?t.insertAdjacentHTML("afterbegin",e):t.innerHTML=e,n=t.firstChild),n},t.every=function(t,e){if(!t||0===t.length)return!0;for(var o=0;o<t.length;o++)if(!e(t[o]))return!1;return!0},t.toStringOrNull=function(t){return this.exists(t)&&t.toString?t.toString():null},t.formatSize=function(t){return"number"==typeof t?t+"px":t},t.formatNumberTwoDecimalPlacesAndCommas=function(t){return"number"!=typeof t?"":(Math.round(100*t)/100).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},t.formatNumberCommas=function(t){return"number"!=typeof t?"":t.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},t.prependDC=function(t,e){this.exists(t.firstChild)?t.insertBefore(e,t.firstChild):t.appendChild(e)},t.createIcon=function(t,e,o){var n=this.createIconNoSpan(t,e,o);if(n.className.indexOf("ag-icon")>-1)return n;var i=document.createElement("span");return i.appendChild(n),i},t.createIconNoSpan=function(t,e,o){var n=null,i=o&&o.getColDef().icons?o.getColDef().icons:null;if(i&&(n=i[t]),!n&&e.getIcons()&&(n=e.getIcons()[t]),n){var r=void 0;if("function"==typeof n)r=n();else{if("string"!=typeof n)throw new Error("icon from grid options needs to be a string or a function");r=n}if("string"==typeof r)return this.loadTemplate(r);if(this.isNodeOrElement(r))return r;throw new Error("iconRenderer should return back a string or a dom object")}var s=document.createElement("span"),a=this.iconNameClassMap[t];if(!a)throw new Error(t+" did not find class");return s.setAttribute("class","ag-icon ag-icon-"+a),s.setAttribute("unselectable","on"),s},t.addStylesToElement=function(t,e){var o=this;e&&Object.keys(e).forEach((function(n){var i=o.hyphenToCamelCase(n);i&&(t.style[i]=e[n])}))},t.isHorizontalScrollShowing=function(t){return t.clientWidth<t.scrollWidth},t.isVerticalScrollShowing=function(t){return t.clientHeight<t.scrollHeight},t.getMaxDivHeight=function(){if(!document.body)return-1;var t=1e6,e=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,o=this.loadTemplate("<div/>");for(document.body.appendChild(o);;){var n=2*t;if(o.style.height=n+"px",n>e||o.clientHeight!==n)break;t=n}return document.body.removeChild(o),t},t.getScrollbarWidth=function(){var t=document.createElement("div");t.style.visibility="hidden",t.style.width="100px",t.style.msOverflowStyle="scrollbar",document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var o=document.createElement("div");o.style.width="100%",t.appendChild(o);var n=o.offsetWidth;return t.parentNode&&t.parentNode.removeChild(t),e-n},t.hasOverflowScrolling=function(){var t=["webkit","moz","o","ms"],e=document.createElement("div"),o=!1;document.getElementsByTagName("body")[0].appendChild(e),e.setAttribute("style",t.map((function(t){return"-"+t+"-overflow-scrolling: touch"})).concat("overflow-scrolling: touch").join(";"));var n=window.getComputedStyle(e);if("touch"===n.overflowScrolling&&(o=!0),!o)for(var i=0,r=t;i<r.length;i++)if("touch"===n[r[i]+"OverflowScrolling"]){o=!0;break}return e.parentNode&&e.parentNode.removeChild(e),o},t.isKeyPressed=function(t,e){return(t.which||t.keyCode)===e},t.setVisible=function(t,e){this.addOrRemoveCssClass(t,"ag-hidden",!e)},t.setHidden=function(t,e){this.addOrRemoveCssClass(t,"ag-invisible",e)},t.setFixedWidth=function(t,e){e=this.formatSize(e),t.style.width=e,t.style.maxWidth=e,t.style.minWidth=e},t.setFixedHeight=function(t,e){e=this.formatSize(e),t.style.height=e,t.style.maxHeight=e,t.style.minHeight=e},t.isBrowserIE=function(){return void 0===this.isIE&&(this.isIE=!!document.documentMode),this.isIE},t.isBrowserEdge=function(){return void 0===this.isEdge&&(this.isEdge=!this.isBrowserIE()&&!!window.StyleMedia),this.isEdge},t.isBrowserSafari=function(){if(void 0===this.isSafari){var t=window;this.isSafari=Object.prototype.toString.call(t.HTMLElement).indexOf("Constructor")>0||!!(e=!t.safari||t.safari.pushNotification)&&"[object SafariRemoteNotification]"===e.toString()}var e;return this.isSafari},t.isBrowserChrome=function(){if(void 0===this.isChrome){var t=window;this.isChrome=!!t.chrome&&(!!t.chrome.webstore||!!t.chrome.runtime)||/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}return this.isChrome},t.isBrowserFirefox=function(){if(void 0===this.isFirefox){var t=window;this.isFirefox=void 0!==t.InstallTrigger}return this.isFirefox},t.isUserAgentIPad=function(){return void 0===this.isIPad&&(this.isIPad=null!=navigator.userAgent.match(/iPad|iPhone/i)),this.isIPad},t.getTarget=function(t){var e=t;return e.target||e.srcElement},t.isElementChildOfClass=function(t,e,o){for(var n=0;t;){if(this.containsClass(t,e))return!0;if(t=t.parentElement,o&&++n>o)break}return!1},t.isElementInEventPath=function(t,o){return!(!o||!t)&&e._.getEventPath(o).indexOf(t)>=0},t.isFunction=function(t){return!!(t&&t.constructor&&t.call&&t.apply)},t.createEventPath=function(t){for(var o=[],n=e._.getTarget(t);n;)o.push(n),n=n.parentElement;return o},t.addAgGridEventPath=function(t){t.__agGridEventPath=this.getEventPath(t)},t.getEventPath=function(t){var e=t;return e.deepPath?e.deepPath():e.path?e.path:e.composedPath?e.composedPath():e.__agGridEventPath?e.__agGridEventPath:this.createEventPath(t)},t.forEachSnapshotFirst=function(t,e){t&&t.slice(0).forEach(e)},t.getBodyWidth=function(){return document.body?document.body.clientWidth:window.innerHeight?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:-1},t.getBodyHeight=function(){return document.body?document.body.clientHeight:window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:-1},t.setCheckboxState=function(t,e){"boolean"==typeof e?(t.checked=e,t.indeterminate=!1):t.indeterminate=!0},t.traverseNodesWithKey=function(t,e){var o=[];!function t(n){n.forEach((function(n){if(n.group||n.hasChildren()){o.push(n.key);var i=o.join("|");e(n,i),t(n.childrenAfterGroup),o.pop()}}))}(t)},t.camelCaseToHyphen=function(t){return null==t?null:t.replace(/([A-Z])/g,(function(t){return"-"+t[0].toLowerCase()}))},t.hyphenToCamelCase=function(t){return null==t?null:t.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))},t.cssStyleObjectToMarkup=function(t){var e=this;if(!t)return"";var o=[];return this.iterateObject(t,(function(t,n){var i=e.camelCaseToHyphen(t);o.push(i+": "+n+";")})),o.join(" ")},t.isNumeric=function(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)},t.escape=function(t){return null!=t&&t.replace?t.replace(p,(function(t){return l[t]})):t},t.normalizeWheel=function(t){var e=0,o=0,n=0,i=0;return"detail"in t&&(o=t.detail),"wheelDelta"in t&&(o=-t.wheelDelta/120),"wheelDeltaY"in t&&(o=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=o,o=0),n=10*e,i=10*o,"deltaY"in t&&(i=t.deltaY),"deltaX"in t&&(n=t.deltaX),(n||i)&&t.deltaMode&&(1==t.deltaMode?(n*=40,i*=40):(n*=800,i*=800)),n&&!e&&(e=n<1?-1:1),i&&!o&&(o=i<1?-1:1),{spinX:e,spinY:o,pixelX:n,pixelY:i}},t.debounce=function(t,e,o){var n;return void 0===o&&(o=!1),function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];var s=this,a=o&&!n;window.clearTimeout(n),n=window.setTimeout((function(){n=null,o||t.apply(s,i)}),e),a&&t.apply(s,i)}},t.stopPropagationForAgGrid=function(t){t[s]=!0},t.isStopPropagationForAgGrid=function(t){return!0===t[s]},t.executeInAWhile=function(t){this.executeAfter(t,400)},t.executeNextVMTurn=function(t){this.executeAfter(t,0)},t.executeAfter=function(t,e){t.length>0&&window.setTimeout((function(){t.forEach((function(t){return t()}))}),e)},t.referenceCompare=function(t,e){return null==t&&null==e||(null!=t||!e)&&(!t||null!=e)&&t===e},t.get=function(e,o,n){if(null==e)return n;if(o.indexOf(".")>-1){var i=o.split(".");return null!=(r=e[i[0]])?t.get(r,i.slice(1,i.length).join("."),n):n}var r;return null!=(r=e[o])?r:n},t.addSafePassiveEventListener=function(e,o,n,i){-1!==t.passiveEvents.indexOf(o)&&(void 0===i?i={}:"boolean"==typeof i&&(i={capture:i}),i.passive=!0),e.addEventListener(o,n,i)},t.camelCaseToHumanText=function(t){return t&&null!=t?t.replace(/([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g,"$1$4 $2$3$5").replace("."," ").split(" ").map((function(t){return t.substring(0,1).toUpperCase()+(t.length>1?t.substring(1,t.length):"")})).join(" "):null},t.message=function(t){var e=document.createElement("div");e.innerHTML=t;var o=document.querySelector("#__ag__message");o||(o=this.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(o)),o.insertBefore(e,o.children[0])},t.sortRowNodesByOrder=function(t,e){if(t){for(var o=function(t,o){var n=e[t.id],i=e[o.id],r=void 0!==n,s=void 0!==i;return r&&s?n-i:r||s?r?1:-1:t.__objectId-o.__objectId},n=!1,i=0;i<t.length-1;i++)if(o(t[i],t[i+1])>0){n=!0;break}n&&t.sort(o)}},t.fuzzyCheckStrings=function(t,e,o){var n=this,i={},r=t.filter((function(t){return!e.some((function(e){return e===t}))}));return r.length>0&&r.forEach((function(t){return i[t]=n.fuzzySuggestions(t,e,o)})),i},t.fuzzySuggestions=function(t,o,n){var i=n.slice(0);return i.sort((function(o,n){var i=e._.string_similarity(o.toLowerCase(),t.toLowerCase()),r=e._.string_similarity(n.toLowerCase(),t.toLowerCase());return i>r?-1:i===r?0:1})),i},t.get_bigrams=function(t){var e,o,n,i=t.toLowerCase(),r=new Array(i.length-1);for(e=o=0,n=r.length;o<=n;e=o+=1)r[e]=i.slice(e,e+2);return r},t.isNumpadDelWithNumlockOnForEdgeOrIe=function(e){return!(!t.isBrowserEdge()&&!t.isBrowserIE())&&e.key===t.NUMPAD_DEL_NUMLOCK_ON_KEY&&e.charCode===t.NUMPAD_DEL_NUMLOCK_ON_CHARCODE},t.bindCellRendererToHtmlElement=function(t,e){t.then((function(t){var o=t.getGui();null!=o&&("object"==typeof o?e.appendChild(o):e.innerHTML=o)}))},t.PRINTABLE_CHARACTERS="qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!\"£$%^&*()_+-=[];'#,./\\|<>?:@~{}",t.NUMPAD_DEL_NUMLOCK_ON_KEY="Del",t.NUMPAD_DEL_NUMLOCK_ON_CHARCODE=46,t.doOnceFlags={},t.compose=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduce((function(t,e){return e(t)}),e)}},t.decToHex=function(t,e){for(var o="",n=0;n<e;n++)o+=String.fromCharCode(255&t),t>>>=8;return o},t.utf8_encode=function(t){for(var e="",o=0,n=(t=t.replace(/\r\n/g,"\n")).length;o<n;o++){var i=t.charCodeAt(o);i<128?e+=String.fromCharCode(i):i>127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e},t.iconNameClassMap={columnGroupOpened:"expanded",columnGroupClosed:"contracted",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",columnMovePin:"pin",columnMoveAdd:"plus",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",groupContracted:"expanded",groupExpanded:"contracted",checkboxChecked:"checkbox-checked",checkboxUnchecked:"checkbox-unchecked",checkboxIndeterminate:"checkbox-indeterminate",checkboxCheckedReadOnly:"checkbox-checked-readonly",checkboxUncheckedReadOnly:"checkbox-unchecked-readonly",checkboxIndeterminateReadOnly:"checkbox-indeterminate-readonly",groupLoading:"loading",menu:"menu",filter:"filter",columns:"columns",menuPin:"pin",menuValue:"aggregation",menuAddRowGroup:"group",menuRemoveRowGroup:"group",clipboardCopy:"copy",clipboardCut:"cut",clipboardPaste:"paste",pivotPanel:"pivot",rowGroupPanel:"group",valuePanel:"aggregation",columnDrag:"column-drag",rowDrag:"row-drag",sortAscending:"asc",sortDescending:"desc",sortUnSort:"none"},t.passiveEvents=["touchstart","touchend","touchmove","touchcancel"],t.string_similarity=function(e,o){if(e.length>0&&o.length>0){var n,i=t.get_bigrams(e),r=t.get_bigrams(o),s=i.length+r.length,a=0,l=void 0;for(l=0,n=i.length;l<n;l++){var p,u=i[l],c=void 0;for(c=0,p=r.length;c<p;c++)u===r[c]&&a++}if(a>0)return 2*a/s}return 0},t}();e.Utils=u;var c,d=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=1),this.nextValue=t,this.step=e}return t.prototype.next=function(){var t=this.nextValue;return this.nextValue+=this.step,t},t.prototype.peek=function(){return this.nextValue},t.prototype.skip=function(t){this.nextValue+=t},t}();e.NumberSequence=d,e._=u,function(t){t[t.IN_PROGRESS=0]="IN_PROGRESS",t[t.RESOLVED=1]="RESOLVED"}(c=e.PromiseStatus||(e.PromiseStatus={}));var h=function(){function t(t){this.status=c.IN_PROGRESS,this.resolution=null,this.listOfWaiters=[],t(this.onDone.bind(this),this.onReject.bind(this))}return t.all=function(e){return new t((function(t){var o=[],n=e.length;e.forEach((function(e,i){e.then((function(e){n--,o[i]=e,0==n&&t(o)})),o.push(null)}))}))},t.resolve=function(e){return new t((function(t){return t(e)}))},t.external=function(){var e;return{promise:new t((function(t){e=t})),resolve:function(t){e(t)}}},t.prototype.then=function(t){this.status===c.IN_PROGRESS?this.listOfWaiters.push(t):t(this.resolution)},t.prototype.firstOneOnly=function(t){this.status===c.IN_PROGRESS?0===this.listOfWaiters.length&&this.listOfWaiters.push(t):t(this.resolution)},t.prototype.map=function(e){var o=this;return new t((function(t){o.then((function(o){t(e(o))}))}))},t.prototype.resolveNow=function(t,e){return this.status==c.IN_PROGRESS?t:e(this.resolution)},t.prototype.onDone=function(t){this.status=c.RESOLVED,this.resolution=t,this.listOfWaiters.forEach((function(e){return e(t)}))},t.prototype.onReject=function(t){console.warn("TBI")},t}();e.Promise=h},83684:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(96652),l=o(46410),p=o(4855),u=o(47008),c=o(47008),d=o(85397),h=o(75449),f=o(43389),g=o(2102),y=function(t){function e(e,o){var n=t.call(this,e,o)||this;return n.props=e,n.state=o,n.destroyed=!1,n.changeDetectionService=new f.ChangeDetectionService,n.api=null,n.portals=[],n.hasPendingPortalUpdate=!1,n}return i(e,t),e.prototype.render=function(){var t=this;return a.createElement("div",{style:this.createStyleForDiv(),ref:function(e){t.eGridDiv=e}},this.portals)},e.prototype.createStyleForDiv=function(){var t={height:"100%"},e=this.props.containerStyle;return e&&Object.keys(e).forEach((function(o){t[o]=e[o]})),t},e.prototype.componentDidMount=function(){var t={seedBeanInstances:{agGridReact:this}},e=this.props.gridOptions||{};d.AgGridColumn.hasChildColumns(this.props)&&(e.columnDefs=d.AgGridColumn.mapChildColumnDefs(this.props)),this.gridOptions=u.ComponentUtil.copyAttributesToGridOptions(e,this.props),new u.Grid(this.eGridDiv,this.gridOptions,t),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi},e.prototype.shouldComponentUpdate=function(){return!1},e.prototype.waitForInstance=function(t,o,n){var i=this;if(void 0===n&&(n=0),t.getFrameworkComponentInstance()||t.isStatelesComponent())o(null);else{if(n>=e.MAX_COMPONENT_CREATION_TIME)return void console.error("ag-Grid: React Component '"+t.getReactComponentName()+"' not created within "+e.MAX_COMPONENT_CREATION_TIME+"ms");window.setTimeout((function(){return i.waitForInstance(t,o,n+5)}),5)}},e.prototype.mountReactPortal=function(t,e,o){this.portals=this.portals.concat([t]),this.batchUpdate(this.waitForInstance(e,o))},e.prototype.batchUpdate=function(t){var e=this;if(this.hasPendingPortalUpdate)return t&&t();setTimeout((function(){e.api&&e.forceUpdate((function(){t&&t(),e.hasPendingPortalUpdate=!1}))})),this.hasPendingPortalUpdate=!0},e.prototype.destroyPortal=function(t){this.portals=this.portals.filter((function(e){return e!==t})),this.batchUpdate()},e.prototype.getStrategyTypeForProp=function(t){if("rowData"===t){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.props.deltaRowDataMode)return f.ChangeDetectionStrategyType.IdentityCheck}return f.ChangeDetectionStrategyType.DeepValueCheck},e.prototype.componentWillReceiveProps=function(t){var e=this,o=!!t.debug,n={};Object.keys(t).forEach((function(i){-1!==u.ComponentUtil.ALL_PROPERTIES.indexOf(i)&&(e.changeDetectionService.getStrategy(e.getStrategyTypeForProp(i)).areEqual(e.props[i],t[i])||(o&&console.log("agGridReact: ["+i+"] property changed"),n[i]={previousValue:e.props[i],currentValue:t[i]}))})),u.ComponentUtil.getEventCallbacks().forEach((function(i){e.props[i]!==t[i]&&(o&&console.log("agGridReact: ["+i+"] event callback changed"),n[i]={previousValue:e.props[i],currentValue:t[i]})})),u.ComponentUtil.processOnChange(n,this.gridOptions,this.api,this.columnApi)},e.prototype.componentWillUnmount=function(){this.api&&(this.api.destroy(),this.api=null)},e.MAX_COMPONENT_CREATION_TIME=1e3,e}(a.Component);function v(t,e){t.forEach((function(t){y[t]=e}))}e.AgGridReact=y,y.propTypes={gridOptions:p.object},v(u.ComponentUtil.getEventCallbacks(),p.func),v(u.ComponentUtil.BOOLEAN_PROPERTIES,p.bool),v(u.ComponentUtil.STRING_PROPERTIES,p.string),v(u.ComponentUtil.OBJECT_PROPERTIES,p.object),v(u.ComponentUtil.ARRAY_PROPERTIES,p.array),v(u.ComponentUtil.NUMBER_PROPERTIES,p.number),v(u.ComponentUtil.FUNCTION_PROPERTIES,p.func);var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createWrapper=function(t){return this.useLegacyReact()?new g.LegacyReactComponent(t,this.agGridReact):new h.ReactComponent(t,this.agGridReact)},e.prototype.useLegacyReact=function(){return"function"!=typeof l.unstable_renderSubtreeIntoContainer||this.agGridReact&&this.agGridReact.gridOptions&&!this.agGridReact.gridOptions.reactNext},r([c.Autowired("agGridReact"),s("design:type",y)],e.prototype,"agGridReact",void 0),r([c.Bean("frameworkComponentWrapper")],e)}(c.BaseComponentWrapper);u.Grid.setFrameworkBeans([m])},84210:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44329),a=o(37132),l=o(72493),p=o(83423),u=function(){function t(t,e){this.activeBlockLoadsCount=0,this.blocks=[],this.active=!0,this.maxConcurrentRequests=t,e&&e>0&&(this.checkBlockToLoadDebounce=p._.debounce(this.performCheckBlocksToLoad.bind(this),e))}return t.prototype.setBeans=function(t){this.logger=t.create("RowNodeBlockLoader")},t.prototype.addBlock=function(t){this.blocks.push(t)},t.prototype.removeBlock=function(t){p._.removeFromArray(this.blocks,t)},t.prototype.destroy=function(){this.active=!1},t.prototype.loadComplete=function(){this.activeBlockLoadsCount--},t.prototype.checkBlockToLoad=function(){this.checkBlockToLoadDebounce?this.checkBlockToLoadDebounce():this.performCheckBlocksToLoad()},t.prototype.performCheckBlocksToLoad=function(){if(this.active)if(this.printCacheStatus(),this.activeBlockLoadsCount>=this.maxConcurrentRequests)this.logger.log("checkBlockToLoad: max loads exceeded");else{var t=null;this.blocks.forEach((function(e){e.getState()===s.RowNodeBlock.STATE_DIRTY&&(t=e)})),t?(t.load(),this.activeBlockLoadsCount++,this.logger.log("checkBlockToLoad: loading page "+t.getBlockNumber()),this.printCacheStatus()):this.logger.log("checkBlockToLoad: no pages to load")}},t.prototype.getBlockState=function(){var t={};return this.blocks.forEach((function(e){var o=e.getNodeIdPrefix(),n={blockNumber:e.getBlockNumber(),startRow:e.getStartRow(),endRow:e.getEndRow(),pageStatus:e.getState()};p._.exists(o)?t[o+e.getBlockNumber()]=n:t[e.getBlockNumber()]=n})),t},t.prototype.printCacheStatus=function(){this.logger.isLogging()&&this.logger.log("printCacheStatus: activePageLoadsCount = "+this.activeBlockLoadsCount+", blocks = "+JSON.stringify(this.getBlockState()))},n([r(0,l.Qualifier("loggerFactory")),i("design:type",Function),i("design:paramtypes",[a.LoggerFactory]),i("design:returntype",void 0)],t.prototype,"setBeans",null),t}();e.RowNodeBlockLoader=u},84715:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(46379),l=o(45727),p=o(72493),u=o(44081),c=o(93121),d=o(83423),h=function(t){function e(){var e=t.call(this,'<div class="ag-cell-edit-input"><select class="ag-cell-edit-input"/></div>')||this;return e.eSelect=e.getGui().querySelector("select"),e}return i(e,t),e.prototype.init=function(t){var e=this;this.focusAfterAttached=t.cellStartedEdit,d._.missing(t.values)?console.warn("ag-Grid: no values found for select cellEditor"):(t.values.forEach((function(o){var n=document.createElement("option");n.value=o;var i=e.valueFormatterService.formatValue(t.column,null,null,o),r=null!=i;n.text=r?i:o,t.value===o&&(n.selected=!0),e.eSelect.appendChild(n)})),this.gridOptionsWrapper.isFullRowEdit()||this.addDestroyableEventListener(this.eSelect,"change",(function(){return t.stopEditing()})),this.addDestroyableEventListener(this.eSelect,"keydown",(function(t){(t.keyCode===l.Constants.KEY_UP||t.keyCode===l.Constants.KEY_DOWN)&&t.stopPropagation()})),this.addDestroyableEventListener(this.eSelect,"mousedown",(function(t){t.stopPropagation()})))},e.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.eSelect.focus()},e.prototype.focusIn=function(){this.eSelect.focus()},e.prototype.getValue=function(){return this.eSelect.value},e.prototype.isPopup=function(){return!1},r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("valueFormatterService"),s("design:type",c.ValueFormatterService)],e.prototype,"valueFormatterService",void 0),e}(a.PopupComponent);e.SelectCellEditor=h},85222:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.EVENT_COLUMN_EVERYTHING_CHANGED="columnEverythingChanged",t.EVENT_NEW_COLUMNS_LOADED="newColumnsLoaded",t.EVENT_COLUMN_PIVOT_MODE_CHANGED="columnPivotModeChanged",t.EVENT_COLUMN_ROW_GROUP_CHANGED="columnRowGroupChanged",t.EVENT_EXPAND_COLLAPSE_ALL="expandOrCollapseAll",t.EVENT_COLUMN_PIVOT_CHANGED="columnPivotChanged",t.EVENT_GRID_COLUMNS_CHANGED="gridColumnsChanged",t.EVENT_COLUMN_VALUE_CHANGED="columnValueChanged",t.EVENT_COLUMN_MOVED="columnMoved",t.EVENT_COLUMN_VISIBLE="columnVisible",t.EVENT_COLUMN_PINNED="columnPinned",t.EVENT_COLUMN_GROUP_OPENED="columnGroupOpened",t.EVENT_COLUMN_RESIZED="columnResized",t.EVENT_DISPLAYED_COLUMNS_CHANGED="displayedColumnsChanged",t.EVENT_VIRTUAL_COLUMNS_CHANGED="virtualColumnsChanged",t.EVENT_ROW_GROUP_OPENED="rowGroupOpened",t.EVENT_ROW_DATA_CHANGED="rowDataChanged",t.EVENT_ROW_DATA_UPDATED="rowDataUpdated",t.EVENT_PINNED_ROW_DATA_CHANGED="pinnedRowDataChanged",t.EVENT_RANGE_SELECTION_CHANGED="rangeSelectionChanged",t.EVENT_TOOL_PANEL_VISIBLE_CHANGED="toolPanelVisibleChanged",t.EVENT_MODEL_UPDATED="modelUpdated",t.EVENT_PASTE_START="pasteStart",t.EVENT_PASTE_END="pasteEnd",t.EVENT_CELL_CLICKED="cellClicked",t.EVENT_CELL_DOUBLE_CLICKED="cellDoubleClicked",t.EVENT_CELL_MOUSE_DOWN="cellMouseDown",t.EVENT_CELL_CONTEXT_MENU="cellContextMenu",t.EVENT_CELL_VALUE_CHANGED="cellValueChanged",t.EVENT_ROW_VALUE_CHANGED="rowValueChanged",t.EVENT_CELL_FOCUSED="cellFocused",t.EVENT_ROW_SELECTED="rowSelected",t.EVENT_SELECTION_CHANGED="selectionChanged",t.EVENT_CELL_KEY_DOWN="cellKeyDown",t.EVENT_CELL_KEY_PRESS="cellKeyPress",t.EVENT_CELL_MOUSE_OVER="cellMouseOver",t.EVENT_CELL_MOUSE_OUT="cellMouseOut",t.EVENT_FILTER_CHANGED="filterChanged",t.EVENT_FILTER_MODIFIED="filterModified",t.EVENT_FILTER_OPENED="filterOpened",t.EVENT_SORT_CHANGED="sortChanged",t.EVENT_VIRTUAL_ROW_REMOVED="virtualRowRemoved",t.EVENT_ROW_CLICKED="rowClicked",t.EVENT_ROW_DOUBLE_CLICKED="rowDoubleClicked",t.EVENT_GRID_READY="gridReady",t.EVENT_GRID_SIZE_CHANGED="gridSizeChanged",t.EVENT_VIEWPORT_CHANGED="viewportChanged",t.EVENT_FIRST_DATA_RENDERED="firstDataRendered",t.EVENT_DRAG_STARTED="dragStarted",t.EVENT_DRAG_STOPPED="dragStopped",t.EVENT_ROW_EDITING_STARTED="rowEditingStarted",t.EVENT_ROW_EDITING_STOPPED="rowEditingStopped",t.EVENT_CELL_EDITING_STARTED="cellEditingStarted",t.EVENT_CELL_EDITING_STOPPED="cellEditingStopped",t.EVENT_BODY_SCROLL="bodyScroll",t.EVENT_ANIMATION_QUEUE_EMPTY="animationQueueEmpty",t.EVENT_HEIGHT_SCALE_CHANGED="heightScaleChanged",t.EVENT_PAGINATION_CHANGED="paginationChanged",t.EVENT_COMPONENT_STATE_CHANGED="componentStateChanged",t.EVENT_BODY_HEIGHT_CHANGED="bodyHeightChanged",t.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED="displayedColumnsWidthChanged",t.EVENT_SCROLL_VISIBILITY_CHANGED="scrollVisibilityChanged",t.EVENT_COLUMN_HOVER_CHANGED="columnHoverChanged",t.EVENT_FLASH_CELLS="flashCells",t.EVENT_ROW_DRAG_ENTER="rowDragEnter",t.EVENT_ROW_DRAG_MOVE="rowDragMove",t.EVENT_ROW_DRAG_LEAVE="rowDragLeave",t.EVENT_ROW_DRAG_END="rowDragEnd",t.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST="columnRowGroupChangeRequest",t.EVENT_COLUMN_PIVOT_CHANGE_REQUEST="columnPivotChangeRequest",t.EVENT_COLUMN_VALUE_CHANGE_REQUEST="columnValueChangeRequest",t.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST="columnAggFuncChangeRequest",t}();e.Events=o},85397:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(96652),s=o(96652),a=o(4855),l=o(47008),p=function(t){function e(e,o){var n=t.call(this,e,o)||this;return n.props=e,n.state=o,n}return i(e,t),e.prototype.render=function(){return null},e.mapChildColumnDefs=function(t){return r.Children.map(t.children,(function(t){return e.toColDef(t.props)}))},e.toColDef=function(t){var o=e.createColDefFromGridColumn(t);return e.hasChildColumns(t)&&(o.children=e.getChildColDefs(t.children)),o},e.hasChildColumns=function(t){return r.Children.count(t.children)>0},e.getChildColDefs=function(t){return r.Children.map(t,(function(t){return e.createColDefFromGridColumn(t.props)}))},e.createColDefFromGridColumn=function(t){var o={};return e.assign(o,t),delete o.children,o},e.assign=function(t,e){return[e].reduce((function(t,e){return Object.keys(e).forEach((function(o){t[o]=e[o]})),t}),t)},e}(s.Component);function u(t,e){t.forEach((function(t){p[t]=e}))}e.AgGridColumn=p,u(l.ColDefUtil.BOOLEAN_PROPERTIES,a.bool),u(l.ColDefUtil.STRING_PROPERTIES,a.string),u(l.ColDefUtil.OBJECT_PROPERTIES,a.object),u(l.ColDefUtil.ARRAY_PROPERTIES,a.array),u(l.ColDefUtil.NUMBER_PROPERTIES,a.number),u(l.ColDefUtil.FUNCTION_PROPERTIES,a.func)},85910:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(72493),a=o(44081),l=o(36777),p=o(69638),u=o(22743),c=o(83423);!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.REGISTERED_BY_NAME=1]="REGISTERED_BY_NAME",t[t.HARDCODED=2]="HARDCODED"}(r=e.ComponentSource||(e.ComponentSource={}));var d=function(){function t(){}return t.prototype.newDateComponent=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"dateComponent","agDateInput")},t.prototype.newHeaderComponent=function(t){return this.createAndInitUserComponent(t.column.getColDef(),t,"headerComponent","agColumnHeader")},t.prototype.newHeaderGroupComponent=function(t){return this.createAndInitUserComponent(t.columnGroup.getColGroupDef(),t,"headerGroupComponent","agColumnGroupHeader")},t.prototype.newFullWidthGroupRowInnerCellRenderer=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"groupRowInnerRenderer",null,!0)},t.prototype.newFullWidthCellRenderer=function(t,e,o){return this.createAndInitUserComponent(null,t,e,o)},t.prototype.newCellRenderer=function(t,e){return this.createAndInitUserComponent(t,e,"cellRenderer",null,!0)},t.prototype.newPinnedRowCellRenderer=function(t,e){return this.createAndInitUserComponent(t,e,"pinnedRowCellRenderer",null,!0)},t.prototype.newCellEditor=function(t,e){return this.createAndInitUserComponent(t,e,"cellEditor","agCellEditor")},t.prototype.newInnerCellRenderer=function(t,e){return this.createAndInitUserComponent(t,e,"innerRenderer",null)},t.prototype.newLoadingOverlayComponent=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"loadingOverlayComponent","agLoadingOverlay")},t.prototype.newNoRowsOverlayComponent=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"noRowsOverlayComponent","agNoRowsOverlay")},t.prototype.newTooltipComponent=function(t){var e=t.column&&t.column.getColDef();return this.createAndInitUserComponent(e,t,"tooltipComponent","agTooltipComponent")},t.prototype.newFilterComponent=function(t,e,o,n){return this.createAndInitUserComponent(t,e,"filter",o,!1,n)},t.prototype.newFloatingFilterComponent=function(t,e,o){return this.createAndInitUserComponent(t,e,"floatingFilterComponent",o,!0)},t.prototype.newToolPanelComponent=function(t,e){return this.createAndInitUserComponent(t,e,"toolPanel")},t.prototype.newStatusPanelComponent=function(t,e){return this.createAndInitUserComponent(t,e,"statusPanel")},t.prototype.createAndInitUserComponent=function(t,e,o,n,i,r){void 0===i&&(i=!1),t||(t=this.gridOptions);var s=this.createComponentInstance(t,o,e,n,i);if(!s)return null;var a=s.componentInstance,l=this.createFinalParams(t,o,e,s.paramsFromSelector);this.addReactHacks(l);var p=r?r(l,a):l,u=this.initComponent(a,p);return null==u?c.Promise.resolve(a):u.map((function(t){return a}))},t.prototype.addReactHacks=function(t){var e=this.context.getBean("agGridReact");e&&(t.agGridReact=c._.cloneObject(e));var o=this.context.getBean("frameworkComponentWrapper");o&&(t.frameworkComponentWrapper=o)},t.prototype.createUserComponentFromConcreteClass=function(t,e){var o=new t;return this.initComponent(o,e),o},t.prototype.lookupComponentClassDef=function(t,e,o,n){void 0===o&&(o=null);var i,s=null,a=null,l=null,p=null;if(null!=t){var u=t[e];null==u||!0===u||("string"==typeof u?s=u:"boolean"==typeof u||(this.agComponentUtils.doesImplementIComponent(u)?a=u:l=u)),p=t[e+"Framework"],i=t[e+"Selector"]}if(a&&p||s&&p||l&&p)throw Error("ag-grid: you are trying to specify: "+e+" twice as a component.");if(p&&!this.frameworkComponentWrapper)throw Error("ag-grid: you are specifying a framework component but you are not using a framework version of ag-grid for : "+e);if(i&&(s||a||l||p))throw Error("ag-grid: you can't specify both, the selector and the component of ag-grid for : "+e);if(p)return{componentFromFramework:!0,component:p,source:r.HARDCODED,paramsFromSelector:null};if(a)return{componentFromFramework:!1,component:a,source:r.HARDCODED,paramsFromSelector:null};if(l)return this.agComponentUtils.adaptFunction(e,l,!1,r.HARDCODED);var c,d=i?i(o):null;if(!(c=d&&d.component?d.component:s||n))return null;var h=this.lookupFromRegisteredComponents(e,c);return{componentFromFramework:h.componentFromFramework,component:h.component,source:h.source,paramsFromSelector:d?d.params:null}},t.prototype.lookupFromRegisteredComponents=function(t,e){var o=null!=e?e:t,n=this.userComponentRegistry.retrieve(o);return null==n?null:n.componentFromFramework?{component:n.component,componentFromFramework:!0,source:r.REGISTERED_BY_NAME,paramsFromSelector:null}:this.agComponentUtils.doesImplementIComponent(n.component)?{component:n.component,componentFromFramework:!1,source:n.source==l.RegisteredComponentSource.REGISTERED?r.REGISTERED_BY_NAME:r.DEFAULT,paramsFromSelector:null}:this.agComponentUtils.adaptFunction(t,n.component,n.componentFromFramework,n.source==l.RegisteredComponentSource.REGISTERED?r.REGISTERED_BY_NAME:r.DEFAULT)},t.prototype.createFinalParams=function(t,e,o,n){void 0===n&&(n=null);var i={};c._.mergeDeep(i,o);var r=t?t[e+"Params"]:null;return null!=r&&("function"==typeof r?c._.mergeDeep(i,r(o)):"object"==typeof r&&c._.mergeDeep(i,r)),c._.mergeDeep(i,n),i},t.prototype.createComponentInstance=function(t,e,o,n,i){var r,s=this.lookupComponentClassDef(t,e,o,n);if(!s||!s.component)return i||console.error("Error creating component "+e+"=>"+n),null;if(s.componentFromFramework){var a=s.component,l=this.componentMetadataProvider.retrieve(e);r=this.frameworkComponentWrapper.wrap(a,l.mandatoryMethodList,l.optionalMethodList,n)}else r=new s.component;return{componentInstance:r,paramsFromSelector:s.paramsFromSelector}},t.prototype.initComponent=function(t,e){return this.context.wireBean(t),null==t.init?void 0:t.init(e)},n([s.Autowired("gridOptions"),i("design:type",Object)],t.prototype,"gridOptions",void 0),n([s.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Autowired("context"),i("design:type",s.Context)],t.prototype,"context",void 0),n([s.Autowired("agComponentUtils"),i("design:type",p.AgComponentUtils)],t.prototype,"agComponentUtils",void 0),n([s.Autowired("componentMetadataProvider"),i("design:type",u.ComponentMetadataProvider)],t.prototype,"componentMetadataProvider",void 0),n([s.Autowired("userComponentRegistry"),i("design:type",l.UserComponentRegistry)],t.prototype,"userComponentRegistry",void 0),n([s.Optional("frameworkComponentWrapper"),i("design:type",Object)],t.prototype,"frameworkComponentWrapper",void 0),n([s.Bean("userComponentFactory")],t)}();e.UserComponentFactory=d},86587:(t,e,o)=>{var n=o(10014).PredicateTransition;function i(t){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,i):(new Error).stack,this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state),this}function r(t,e,o,n){return i.call(this,{message:"",recognizer:t,input:e,ctx:null}),this.startIndex=o,this.deadEndConfigs=n,this}function s(t,e,o,n,r,s){s=s||t._ctx,n=n||t.getCurrentToken(),o=o||t.getCurrentToken(),e=e||t.getInputStream(),i.call(this,{message:"",recognizer:t,input:e,ctx:s}),this.deadEndConfigs=r,this.startToken=o,this.offendingToken=n}function a(t){i.call(this,{message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}function l(t,e,o){i.call(this,{message:this.formatMessage(e,o||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});var r=t._interp.atn.states[t.state].transitions[0];return r instanceof n?(this.ruleIndex=r.ruleIndex,this.predicateIndex=r.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken(),this}function p(){return Error.call(this),Error.captureStackTrace(this,p),this}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},i.prototype.toString=function(){return this.message},r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.toString=function(){var t="";return this.startIndex>=0&&this.startIndex<this.input.size&&(t=this.input.getText((this.startIndex,this.startIndex))),"LexerNoViableAltException"+t},s.prototype=Object.create(i.prototype),s.prototype.constructor=s,a.prototype=Object.create(i.prototype),a.prototype.constructor=a,l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.prototype.formatMessage=function(t,e){return null!==e?e:"failed predicate: {"+t+"}?"},p.prototype=Object.create(Error.prototype),p.prototype.constructor=p,e.RecognitionException=i,e.NoViableAltException=s,e.LexerNoViableAltException=r,e.InputMismatchException=a,e.FailedPredicateException=l,e.ParseCancellationException=p},86608:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(26016),s=o(72493),a=o(44081),l=o(44871),p=o(98239),u=o(60843),c=o(63405),d=o(40797),h=o(83423),f=function(){function t(){}var e;return e=t,t.prototype.progressSort=function(t,e,o){void 0===o&&(o="api");var n=this.getNextSortDirection(t);this.setSortForColumn(t,n,e,o)},t.prototype.setSortForColumn=function(t,e,o,n){if(void 0===n&&(n="api"),e!==r.Column.SORT_ASC&&e!==r.Column.SORT_DESC&&(e=null),t.setSort(e,n),t.getSort()){var i=Number((new Date).valueOf());t.setSortedAt(i)}else t.setSortedAt(null);o&&!this.gridOptionsWrapper.isSuppressMultiSort()||this.clearSortBarThisColumn(t,n),this.dispatchSortChangedEvents()},t.prototype.onSortChanged=function(){this.dispatchSortChangedEvents()},t.prototype.dispatchSortChangedEvents=function(){var t={type:c.Events.EVENT_SORT_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},t.prototype.clearSortBarThisColumn=function(t,e){this.columnController.getPrimaryAndSecondaryAndAutoColumns().forEach((function(o){o!==t&&o.setSort(void 0,e)}))},t.prototype.getNextSortDirection=function(t){var o;if(o=t.getColDef().sortingOrder?t.getColDef().sortingOrder:this.gridOptionsWrapper.getSortingOrder()?this.gridOptionsWrapper.getSortingOrder():e.DEFAULT_SORTING_ORDER,!Array.isArray(o)||o.length<=0)return console.warn("ag-grid: sortingOrder must be an array with at least one element, currently it's "+o),null;var n,i=o.indexOf(t.getSort()),r=i<0,s=i==o.length-1;return n=r||s?o[0]:o[i+1],e.DEFAULT_SORTING_ORDER.indexOf(n)<0?(console.warn("ag-grid: invalid sort type "+n),null):n},t.prototype.getSortModel=function(){var t=this.getColumnsWithSortingOrdered();return h._.map(t,(function(t){return{colId:t.getColId(),sort:t.getSort()}}))},t.prototype.setSortModel=function(t,e){var o=this;void 0===e&&(e="api");var n=t&&t.length>0;this.columnController.getPrimaryAndSecondaryAndAutoColumns().forEach((function(i){var r=null,s=-1;if(n&&i.getColDef().sortable)for(var a=0;a<t.length;a++){var l=t[a];"string"==typeof l.colId&&"string"==typeof i.getColId()&&o.compareColIds(l,i)&&(r=l.sort,s=a)}r?(i.setSort(r,e),i.setSortedAt(s)):(i.setSort(null,e),i.setSortedAt(null))})),this.dispatchSortChangedEvents()},t.prototype.compareColIds=function(t,e){return t.colId===e.getColId()},t.prototype.getColumnsWithSortingOrdered=function(){var t=this.columnController.getPrimaryAndSecondaryAndAutoColumns(),e=h._.filter(t,(function(t){return!!t.getSort()}));return e.sort((function(t,e){return t.sortedAt-e.sortedAt})),e},t.prototype.getSortForRowController=function(){var t=this.getColumnsWithSortingOrdered();return h._.map(t,(function(t){return{inverter:t.getSort()===r.Column.SORT_ASC?1:-1,column:t}}))},t.DEFAULT_SORTING_ORDER=[r.Column.SORT_ASC,r.Column.SORT_DESC,null],n([s.Autowired("gridOptionsWrapper"),i("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Autowired("columnController"),i("design:type",p.ColumnController)],t.prototype,"columnController",void 0),n([s.Autowired("eventService"),i("design:type",u.EventService)],t.prototype,"eventService",void 0),n([s.Autowired("columnApi"),i("design:type",l.ColumnApi)],t.prototype,"columnApi",void 0),n([s.Autowired("gridApi"),i("design:type",d.GridApi)],t.prototype,"gridApi",void 0),e=n([s.Bean("sortController")],t)}();e.SortController=f},86895:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.prototype.dateComponent=function(t){return t.dateComponent},t.prototype.colDefFloatingCellRenderer=function(t){return t.pinnedRowCellRenderer},t.prototype.colDefCellRenderer=function(t){return t.cellRenderer},t.prototype.colDefCellEditor=function(t){return t.cellEditor},t.prototype.colDefFilter=function(t){return t.filter},t.prototype.gridOptionsFullWidthCellRenderer=function(t){return t.fullWidthCellRenderer},t.prototype.gridOptionsGroupRowRenderer=function(t){return t.groupRowRenderer},t.prototype.gridOptionsGroupRowInnerRenderer=function(t){return t.groupRowInnerRenderer},t.prototype.setTimeout=function(t,e){window.setTimeout(t,e)},t}();e.BaseFrameworkFactory=o},87264:(t,e,o)=>{var n=o(51028).ATN,i=o(66346),r=i.Hash,s=i.Set,a=o(7842).Ij,l=o(10559).merge;function p(t){return t.hashCodeForConfigSet()}function u(t,e){return t===e||null!==t&&null!==e&&t.equalsForConfigSet(e)}function c(t){return this.configLookup=new s(p,u),this.fullCtx=void 0===t||t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function d(){return c.call(this),this.configLookup=new s,this}c.prototype.add=function(t,e){if(void 0===e&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==a.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var o=this.configLookup.add(t);if(o===t)return this.cachedHashCode=-1,this.configs.push(t),!0;var n=!this.fullCtx,i=l(o.context,t.context,n,e);return o.reachesIntoOuterContext=Math.max(o.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(o.precedenceFilterSuppressed=!0),o.context=i,!0},c.prototype.getStates=function(){for(var t=new s,e=0;e<this.configs.length;e++)t.add(this.configs[e].state);return t},c.prototype.getPredicates=function(){for(var t=[],e=0;e<this.configs.length;e++){var o=this.configs[e].semanticContext;o!==a.NONE&&t.push(o.semanticContext)}return t},Object.defineProperty(c.prototype,"items",{get:function(){return this.configs}}),c.prototype.optimizeConfigs=function(t){if(this.readOnly)throw"This set is readonly";if(0!==this.configLookup.length)for(var e=0;e<this.configs.length;e++){var o=this.configs[e];o.context=t.getCachedContext(o.context)}},c.prototype.addAll=function(t){for(var e=0;e<t.length;e++)this.add(t[e]);return!1},c.prototype.equals=function(t){return this===t||t instanceof c&&i.equalArrays(this.configs,t.configs)&&this.fullCtx===t.fullCtx&&this.uniqueAlt===t.uniqueAlt&&this.conflictingAlts===t.conflictingAlts&&this.hasSemanticContext===t.hasSemanticContext&&this.dipsIntoOuterContext===t.dipsIntoOuterContext},c.prototype.hashCode=function(){var t=new r;return this.updateHashCode(t),t.finish()},c.prototype.updateHashCode=function(t){this.readOnly?(-1===this.cachedHashCode&&((t=new r).update(this.configs),this.cachedHashCode=t.finish()),t.update(this.cachedHashCode)):t.update(this.configs)},Object.defineProperty(c.prototype,"length",{get:function(){return this.configs.length}}),c.prototype.isEmpty=function(){return 0===this.configs.length},c.prototype.contains=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(t)},c.prototype.containsFast=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(t)},c.prototype.clear=function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new s},c.prototype.setReadonly=function(t){this.readOnly=t,t&&(this.configLookup=null)},c.prototype.toString=function(){return i.arrayToString(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==n.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(null!==this.conflictingAlts?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")},d.prototype=Object.create(c.prototype),d.prototype.constructor=d,e.Q=c,e.F=d},87952:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(72493),p=o(15068),u=o(58342),c=o(85222),d=o(8534),h=o(83423),f=function(t){function e(e,o,n,i){var r=t.call(this,'<div class="ag-row-drag"></div>')||this;return r.visibleMode=null,r.rowNode=e,r.column=o,r.cellValue=n,r.beans=i,r}return i(e,t),e.prototype.postConstruct=function(){this.getGui().appendChild(h._.createIconNoSpan("rowDrag",this.beans.gridOptionsWrapper,null)),this.addDragSource(),this.checkCompatibility(),this.beans.gridOptionsWrapper.isRowDragManaged()?this.addFeature(this.beans.context,new y(this,this.beans,this.rowNode,this.column)):this.addFeature(this.beans.context,new g(this,this.beans,this.rowNode,this.column))},e.prototype.checkCompatibility=function(){var t=this.beans.gridOptionsWrapper.isRowDragManaged();this.beans.gridOptionsWrapper.isTreeData()&&t&&h._.doOnce((function(){return console.warn("ag-Grid: If using row drag with tree data, you cannot have rowDragManaged=true")}),"RowDragComp.managedAndTreeData")},e.prototype.addDragSource=function(){var t=this,e={rowNode:this.rowNode},o={type:u.DragSourceType.RowDrag,eElement:this.getGui(),dragItemName:this.cellValue,dragItemCallback:function(){return e},dragStartPixels:0};this.beans.dragAndDropService.addDragSource(o,!0),this.addDestroyFunc((function(){return t.beans.dragAndDropService.removeDragSource(o)}))},e.prototype.getVisibleMode=function(){return this.visibleMode},e.prototype.setVisibleMode=function(t){this.visibleMode=t},r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.RowDragComp=f;var g=function(t){function e(e,o,n,i){var r=t.call(this)||this;return r.parent=e,r.beans=o,r.column=i,r.rowNode=n,r}return i(e,t),e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.workOutVisibility()},e.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},e.prototype.workOutVisibility=function(){if(this.beans.gridOptionsWrapper.isSuppressRowDrag())this.parent.setVisibleMode("display"),this.parent.setVisible(!1,"display");else{var t=this.column.isRowDrag(this.rowNode);if(!this.parent.getVisibleMode()){var e=h._.isFunction(this.column.getColDef().rowDrag);this.parent.setVisibleMode(e?"visibility":"display")}this.parent.setVisible(t,this.parent.getVisibleMode())}},r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(d.BeanStub),y=function(t){function e(e,o,n,i){var r=t.call(this)||this;return r.parent=e,r.beans=o,r.column=i,r.rowNode=n,r}return i(e,t),e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.beans.eventService,c.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addDestroyableEventListener(this.beans.eventService,c.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addDestroyableEventListener(this.beans.eventService,c.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onRowGroupChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addDestroyableEventListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.updateSortActive(),this.updateFilterActive(),this.updateRowGroupActive(),this.workOutVisibility()},e.prototype.updateRowGroupActive=function(){var t=this.beans.columnController.getRowGroupColumns();this.rowGroupActive=!h._.missingOrEmpty(t)},e.prototype.onRowGroupChanged=function(){this.updateRowGroupActive(),this.workOutVisibility()},e.prototype.updateSortActive=function(){var t=this.beans.sortController.getSortModel();this.sortActive=!h._.missingOrEmpty(t)},e.prototype.onSortChanged=function(){this.updateSortActive(),this.workOutVisibility()},e.prototype.updateFilterActive=function(){this.filterActive=this.beans.filterManager.isAnyFilterPresent()},e.prototype.onFilterChanged=function(){this.updateFilterActive(),this.workOutVisibility()},e.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},e.prototype.workOutVisibility=function(){var t=this.sortActive||this.filterActive||this.rowGroupActive,e=this.beans.gridOptionsWrapper.isSuppressRowDrag();if(t||e)this.parent.setVisibleMode("display"),this.parent.setVisible(!1,"display");else{var o=this.column.isRowDrag(this.rowNode);if(!this.parent.getVisibleMode()){var n=h._.isFunction(this.column.getColDef().rowDrag);this.parent.setVisibleMode(n?"visibility":"display")}this.parent.setVisible(o,this.parent.getVisibleMode())}},r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(d.BeanStub)},88333:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(83423),i=function(){function t(e){var o=this;this.items=[],this.params=e,this.eGui=document.createElement("div"),this.eGui.innerHTML=t.TEMPLATE,this.eHeader=this.eGui.querySelector('[ref="tabHeader"]'),this.eBody=this.eGui.querySelector('[ref="tabBody"]'),n._.addCssClass(this.eGui,e.cssClass),e.items&&e.items.forEach((function(t){return o.addItem(t)}))}return t.prototype.setAfterAttachedParams=function(t){this.afterAttachedParams=t},t.prototype.getMinDimensions=function(){var t=this.eGui.cloneNode(!0),e=t.querySelector('[ref="tabBody"]');t.style.position="fixed",this.eGui.appendChild(t);var o=0,i=0;return this.items.forEach((function(r){n._.clearElement(e);var s=r.tabbedItem.bodyPromise.resolveNow(null,(function(t){return t.cloneNode(!0)}));null!=s&&(e.appendChild(s),o<t.offsetWidth&&(o=t.offsetWidth),i<t.offsetHeight&&(i=t.offsetHeight))})),this.eGui.removeChild(t),{height:i,width:o}},t.prototype.showFirstItem=function(){this.items.length>0&&this.showItemWrapper(this.items[0])},t.prototype.addItem=function(t){var e=document.createElement("span");e.appendChild(t.title),n._.addCssClass(e,"ag-tab"),this.eHeader.appendChild(e);var o={tabbedItem:t,eHeaderButton:e};this.items.push(o),e.addEventListener("click",this.showItemWrapper.bind(this,o))},t.prototype.showItem=function(t){var e=n._.find(this.items,(function(e){return e.tabbedItem===t}));e&&this.showItemWrapper(e)},t.prototype.showItemWrapper=function(t){var e=this;this.params.onItemClicked&&this.params.onItemClicked({item:t.tabbedItem}),this.activeItem!==t?(n._.clearElement(this.eBody),t.tabbedItem.bodyPromise.then((function(t){e.eBody.appendChild(t)})),this.activeItem&&n._.removeCssClass(this.activeItem.eHeaderButton,"ag-tab-selected"),n._.addCssClass(t.eHeaderButton,"ag-tab-selected"),this.activeItem=t,t.tabbedItem.afterAttachedCallback&&t.tabbedItem.afterAttachedCallback(this.afterAttachedParams)):n._.callIfPresent(this.params.onActiveItemClicked)},t.prototype.getGui=function(){return this.eGui},t.TEMPLATE='<div><div ref="tabHeader" class="ag-tab-header"></div><div ref="tabBody" class="ag-tab-body"></div></div>',t}();e.TabbedLayout=i},88842:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=function(){function t(){this.cacheVersion=0}return 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(t,e,o){this.active&&(t.__cacheVersion!==this.cacheVersion&&(t.__cacheVersion=this.cacheVersion,t.__cacheData={}),t.__cacheData[e]=o)},t.prototype.getValue=function(t,e){return this.active&&t.__cacheVersion===this.cacheVersion&&void 0!==t.__cacheData[e]?t.__cacheData[e]:void 0},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r.Bean("valueCache")],t)}();e.ValueCache=a},89929:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(98239),p=o(26016),u=o(72493),c=o(40706),d=o(60843),h=o(63405),f=o(22131),g=o(47721),y=o(40797),v=o(41832),m=o(45727),C=o(83423),E=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.registerGridComp=function(t){this.gridPanel=t,this.childContainers.forEach((function(e){return e.registerGridComp(t)}))},e.prototype.postConstruct=function(){var t=this;this.printLayout=this.gridOptionsWrapper.getDomLayout()===m.Constants.DOM_LAYOUT_PRINT,this.gridApi.registerHeaderRootComp(this),this.autoWidthCalculator.registerHeaderRootComp(this);var e=new c.HeaderContainer(this.eHeaderContainer,this.eHeaderViewport,null),o=new c.HeaderContainer(this.ePinnedLeftHeader,null,p.Column.PINNED_LEFT),n=new c.HeaderContainer(this.ePinnedRightHeader,null,p.Column.PINNED_RIGHT);this.childContainers=[e,o,n],this.childContainers.forEach((function(e){return t.getContext().wireBean(e)})),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_COLUMN_VALUE_CHANGED,this.refreshHeader.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_DOM_LAYOUT,this.onDomLayoutChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this)),this.onPivotModeChanged(),this.addPreventHeaderScroll(),this.columnController.isReady()&&this.refreshHeader()},e.prototype.onDomLayoutChanged=function(){var t=this.gridOptionsWrapper.getDomLayout()===m.Constants.DOM_LAYOUT_PRINT;this.printLayout!==t&&(this.printLayout=t,this.refreshHeader())},e.prototype.setHorizontalScroll=function(t){this.eHeaderContainer.style.transform="translateX("+t+"px)"},e.prototype.forEachHeaderElement=function(t){this.childContainers.forEach((function(e){return e.forEachHeaderElement(t)}))},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.childContainers.forEach((function(t){return t.destroy()}))},e.prototype.refreshHeader=function(){this.childContainers.forEach((function(t){return t.refresh()}))},e.prototype.onPivotModeChanged=function(){var t=this.columnController.isPivotMode();C._.addOrRemoveCssClass(this.getGui(),"ag-pivot-on",t),C._.addOrRemoveCssClass(this.getGui(),"ag-pivot-off",!t)},e.prototype.setHeight=function(t){var e=t+"px";this.getGui().style.height=e,this.getGui().style.minHeight=e},e.prototype.addPreventHeaderScroll=function(){var t=this;this.addDestroyableEventListener(this.eHeaderViewport,"scroll",(function(){var e=t.eHeaderViewport.scrollLeft;0!==e&&(t.gridPanel.scrollHorizontally(e),t.eHeaderViewport.scrollLeft=0)}))},e.prototype.setHeaderContainerWidth=function(t){this.eHeaderContainer.style.width=t+"px"},e.prototype.setLeftVisible=function(t){C._.setVisible(this.ePinnedLeftHeader,t)},e.prototype.setRightVisible=function(t){C._.setVisible(this.ePinnedRightHeader,t)},e.TEMPLATE='<div class="ag-header" role="row">\n <div class="ag-pinned-left-header" ref="ePinnedLeftHeader" role="presentation"></div>\n <div class="ag-header-viewport" ref="eHeaderViewport" role="presentation">\n <div class="ag-header-container" ref="eHeaderContainer" role="presentation"></div>\n </div>\n <div class="ag-pinned-right-header" ref="ePinnedRightHeader" role="presentation"></div>\n </div>',r([g.RefSelector("ePinnedLeftHeader"),s("design:type",HTMLElement)],e.prototype,"ePinnedLeftHeader",void 0),r([g.RefSelector("ePinnedRightHeader"),s("design:type",HTMLElement)],e.prototype,"ePinnedRightHeader",void 0),r([g.RefSelector("eHeaderContainer"),s("design:type",HTMLElement)],e.prototype,"eHeaderContainer",void 0),r([g.RefSelector("eHeaderViewport"),s("design:type",HTMLElement)],e.prototype,"eHeaderViewport",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.Autowired("columnController"),s("design:type",l.ColumnController)],e.prototype,"columnController",void 0),r([u.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([u.Autowired("gridApi"),s("design:type",y.GridApi)],e.prototype,"gridApi",void 0),r([u.Autowired("autoWidthCalculator"),s("design:type",v.AutoWidthCalculator)],e.prototype,"autoWidthCalculator",void 0),r([u.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(f.Component);e.HeaderRootComp=E},92378:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(47721),l=o(13650),p=o(83423),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.modelFromFloatingFilter=function(t){return{type:this.selectedFilter,filter:Number(t),filterTo:this.filterNumberTo,filterType:"number"}},e.prototype.getApplicableFilterTypes=function(){return[l.BaseFilter.EQUALS,l.BaseFilter.NOT_EQUAL,l.BaseFilter.LESS_THAN,l.BaseFilter.LESS_THAN_OR_EQUAL,l.BaseFilter.GREATER_THAN,l.BaseFilter.GREATER_THAN_OR_EQUAL,l.BaseFilter.IN_RANGE]},e.prototype.bodyTemplate=function(t){var e=this.translate.bind(this),o=t==l.FilterConditionType.MAIN?"filterText":"filterConditionText",n=t==l.FilterConditionType.MAIN?"filterNumberToPanel":"filterNumberToPanelCondition",i=t==l.FilterConditionType.MAIN?"filterToText":"filterToConditionText";return'<div class="ag-filter-body">\n <div class="ag-input-text-wrapper">\n <input class="ag-filter-filter" id="'+o+'" type="text" placeholder="'+e("filterOoo")+'"/>\n </div>\n <div class="ag-input-text-wrapper ag-filter-number-to" id="'+n+'">\n <input class="ag-filter-filter" id="'+i+'" type="text" placeholder="'+e("filterOoo")+'"/>\n </div>\n </div>'},e.prototype.initialiseFilterBodyUi=function(e){t.prototype.initialiseFilterBodyUi.call(this,e),e===l.FilterConditionType.MAIN?(this.eFilterTextField=this.queryForHtmlInputElement("#filterText"),this.addFilterChangedEventListeners(e,this.eFilterTextField,this.eFilterToTextField)):(this.eFilterTextConditionField=this.queryForHtmlInputElement("#filterConditionText"),this.addFilterChangedEventListeners(e,this.eFilterTextConditionField,this.eFilterToConditionText),this.setFilter(this.filterNumberCondition,l.FilterConditionType.CONDITION),this.setFilterTo(this.filterNumberConditionTo,l.FilterConditionType.CONDITION),this.setFilterType(this.selectedFilterCondition,l.FilterConditionType.CONDITION))},e.prototype.addFilterChangedEventListeners=function(t,e,o){var n=this,i=this.getDebounceMs(this.filterParams),r=p._.debounce((function(){return n.onTextFieldsChanged(t,e,o)}),i);this.addDestroyableEventListener(e,"input",r),this.addDestroyableEventListener(o,"input",r)},e.prototype.afterGuiAttached=function(){this.eFilterTextField.focus()},e.prototype.comparator=function(){return function(t,e){return t===e?0:t<e?1:t>e?-1:void 0}},e.prototype.onTextFieldsChanged=function(t,e,o){var n=this.stringToFloat(e.value),i=this.stringToFloat(o.value);t===l.FilterConditionType.MAIN?this.filterNumber===n&&this.filterNumberTo===i||(this.filterNumber=n,this.filterNumberTo=i,this.onFilterChanged()):this.filterNumberCondition===n&&this.filterNumberConditionTo===i||(this.filterNumberCondition=n,this.filterNumberConditionTo=i,this.onFilterChanged())},e.prototype.filterValues=function(t){return t===l.FilterConditionType.MAIN?this.selectedFilter!==l.BaseFilter.IN_RANGE?this.asNumber(this.filterNumber):[this.asNumber(this.filterNumber),this.asNumber(this.filterNumberTo)]:this.selectedFilterCondition!==l.BaseFilter.IN_RANGE?this.asNumber(this.filterNumberCondition):[this.asNumber(this.filterNumberCondition),this.asNumber(this.filterNumberConditionTo)]},e.prototype.asNumber=function(t){return p._.isNumeric(t)?t:null},e.prototype.stringToFloat=function(t){var e=p._.makeNull(t);return e&&""===e.trim()&&(e=null),null!=e?parseFloat(e):null},e.prototype.setFilter=function(t,e){if(null!==(t=p._.makeNull(t))&&"number"!=typeof t&&(t=parseFloat(t)),e===l.FilterConditionType.MAIN){if(this.filterNumber=t,!this.eFilterTextField)return;this.eFilterTextField.value=t}else{if(this.filterNumberCondition=t,!this.eFilterTextConditionField)return;this.eFilterTextConditionField.value=t}},e.prototype.setFilterTo=function(t,e){if(null!==(t=p._.makeNull(t))&&"number"!=typeof t&&(t=parseFloat(t)),e===l.FilterConditionType.MAIN){if(this.filterNumberTo=t,!this.eFilterToTextField)return;this.eFilterToTextField.value=t}else{if(this.filterNumberConditionTo=t,!this.eFilterToConditionText)return;this.eFilterToConditionText.value=t}},e.prototype.getFilter=function(t){return t===l.FilterConditionType.MAIN?this.filterNumber:this.filterNumberCondition},e.prototype.serialize=function(t){var e=t===l.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,o=t===l.FilterConditionType.MAIN?this.filterNumber:this.filterNumberCondition,n=t===l.FilterConditionType.MAIN?this.filterNumberTo:this.filterNumberConditionTo;return{type:e||this.defaultFilter,filter:o,filterTo:n,filterType:"number"}},e.prototype.parse=function(t,e){this.setFilterType(t.type,e),this.setFilter(t.filter,e),this.setFilterTo(t.filterTo,e)},e.prototype.refreshFilterBodyUi=function(t){var o=t===l.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,n=t===l.FilterConditionType.MAIN?this.eNumberToPanel:this.eNumberToConditionPanel;if(n){var i=o===e.IN_RANGE;p._.setVisible(n,i)}var r=t===l.FilterConditionType.MAIN?this.eFilterTextField:this.eFilterTextConditionField;if(r){var s=!this.doesFilterHaveHiddenInput(o)&&o!==l.BaseFilter.EMPTY;p._.setVisible(r,s)}},e.prototype.resetState=function(t){void 0===t&&(t=!1),t||(this.setFilterType(this.defaultFilter,l.FilterConditionType.MAIN),this.setFilter(null,l.FilterConditionType.MAIN),this.setFilterTo(null,l.FilterConditionType.MAIN)),this.setFilterType(this.defaultFilter,l.FilterConditionType.CONDITION),this.setFilter(null,l.FilterConditionType.CONDITION),this.setFilterTo(null,l.FilterConditionType.CONDITION)},e.prototype.setType=function(t,e){this.setFilterType(t,e)},e.LESS_THAN="lessThan",r([a.QuerySelector("#filterText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterTextField",void 0),r([a.QuerySelector("#filterTextCondition"),s("design:type",HTMLInputElement)],e.prototype,"eFilterTextConditionField",void 0),r([a.QuerySelector("#filterToText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterToTextField",void 0),r([a.QuerySelector("#filterToConditionText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterToConditionText",void 0),r([a.QuerySelector("#filterNumberToPanel"),s("design:type",HTMLElement)],e.prototype,"eNumberToPanel",void 0),r([a.QuerySelector("#filterNumberToPanelCondition"),s("design:type",HTMLElement)],e.prototype,"eNumberToConditionPanel",void 0),e}(l.ScalarBaseFilter);e.NumberFilter=u},92427:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(72493),a=function(){function t(){this.templateCache={},this.waitingCallbacks={}}return t.prototype.getTemplate=function(t,e){var o=this.templateCache[t];if(o)return o;var n=this.waitingCallbacks[t],i=this;if(!n){n=[],this.waitingCallbacks[t]=n;var r=new XMLHttpRequest;r.onload=function(){i.handleHttpResult(this,t)},r.open("GET",t),r.send()}return e&&n.push(e),null},t.prototype.handleHttpResult=function(t,e){if(200===t.status&&null!==t.response){this.templateCache[e]=t.response||t.responseText;for(var o=this.waitingCallbacks[e],n=0;n<o.length;n++)(0,o[n])();if(this.$scope){var i=this;window.setTimeout((function(){i.$scope.$apply()}),0)}}else console.warn("Unable to get template error "+t.status+" - "+e)},n([s.Autowired("$scope"),i("design:type",Object)],t.prototype,"$scope",void 0),n([r.Bean("templateService")],t)}();e.TemplateService=a},93121:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(40634),l=function(){function t(){}return t.prototype.formatValue=function(t,e,o,n){var i,r=t.getColDef(),s=null;if(i=e&&e.rowPinned&&r.pinnedRowValueFormatter?r.pinnedRowValueFormatter:r.valueFormatter){var a={value:n,node:e,data:e?e.data:null,colDef:t.getColDef(),column:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};a.$scope=o,s=this.expressionService.evaluate(i,a)}else if(r.refData)return r.refData[n]||"";return null==s&&Array.isArray(n)&&(s=n.join(", ")),s},n([r.Autowired("gridOptionsWrapper"),i("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([r.Autowired("expressionService"),i("design:type",a.ExpressionService)],t.prototype,"expressionService",void 0),n([r.Bean("valueFormatterService")],t)}();e.ValueFormatterService=l},93343:(t,e)=>{function o(){return this}function n(){return o.call(this),this}function i(t){if(o.call(this),null===t)throw"delegates";return this.delegates=t,this}o.prototype.syntaxError=function(t,e,o,n,i,r){},o.prototype.reportAmbiguity=function(t,e,o,n,i,r,s){},o.prototype.reportAttemptingFullContext=function(t,e,o,n,i,r){},o.prototype.reportContextSensitivity=function(t,e,o,n,i,r){},n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.INSTANCE=new n,n.prototype.syntaxError=function(t,e,o,n,i,r){console.error("line "+o+":"+n+" "+i)},i.prototype=Object.create(o.prototype),i.prototype.constructor=i,i.prototype.syntaxError=function(t,e,o,n,i,r){this.delegates.map((function(s){s.syntaxError(t,e,o,n,i,r)}))},i.prototype.reportAmbiguity=function(t,e,o,n,i,r,s){this.delegates.map((function(a){a.reportAmbiguity(t,e,o,n,i,r,s)}))},i.prototype.reportAttemptingFullContext=function(t,e,o,n,i,r){this.delegates.map((function(s){s.reportAttemptingFullContext(t,e,o,n,i,r)}))},i.prototype.reportContextSensitivity=function(t,e,o,n,i,r){this.delegates.map((function(s){s.reportContextSensitivity(t,e,o,n,i,r)}))},e.ErrorListener=o,e.q=n,e.X=i},93567:(t,e,o)=>{var n=o(59830),i=o(63655),r=o(96830),s=o(76966),a=o(88141),l=Array.prototype.slice,p=o(57585),u={on:function(t,e,o){return p.eventsApi(this,"on",t,[e,o])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:o,ctx:o||this}),this):this},once:function(t,e,o){if(!p.eventsApi(this,"once",t,[e,o])||!e)return this;var i=this,r=n((function(){i.off(t,r),e.apply(this,arguments)}));return r._callback=e,this.on(t,r,o)},off:function(t,e,o){var n,r,s,a,l,u,c,d;if(!this._events||!p.eventsApi(this,"off",t,[e,o]))return this;if(!t&&!e&&!o)return this._events=void 0,this;for(l=0,u=(a=t?[t]:i(this._events)).length;l<u;l++)if(t=a[l],s=this._events[t]){if(this._events[t]=n=[],e||o)for(c=0,d=s.length;c<d;c++)r=s[c],(e&&e!==r.callback&&e!==r.callback._callback||o&&o!==r.context)&&n.push(r);n.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=l.call(arguments,1);if(!p.eventsApi(this,"trigger",t,e))return this;var o=this._events[t],n=this._events.all;return o&&p.triggerEvents(o,e),n&&p.triggerEvents(n,arguments),this},stopListening:function(t,e,o){var n=this._listeningTo;if(!n)return this;var i=!e&&!o;o||"object"!=typeof e||(o=this),t&&((n={})[t._listenId]=t);var s=this;return a(n,(function(t,n){t.off(e,o,s),(i||r(t._events))&&delete s._listeningTo[n]})),this},createEmitter:function(t){return s(t||{},u)},listenTo:p.createListenMethod("on"),listenToOnce:p.createListenMethod("once"),listenToAndRun:function(t,e,o){return this.listenTo.apply(this,arguments),o||"object"!=typeof e||(o=this),o.apply(this),this}};u.bind=u.on,u.unbind=u.off,u.removeListener=u.off,u.removeAllListeners=u.off,u.emit=u.trigger,t.exports=u},93830:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(60843),l=o(72493),p=o(63405),u=o(8534),c=o(44871),d=o(40797),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setMouseOver=function(t){this.selectedColumns=t;var e={type:p.Events.EVENT_COLUMN_HOVER_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},e.prototype.clearMouseOver=function(){this.selectedColumns=null;var t={type:p.Events.EVENT_COLUMN_HOVER_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},e.prototype.isHovered=function(t){return this.selectedColumns&&this.selectedColumns.indexOf(t)>=0},r([l.Autowired("eventService"),s("design:type",a.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("columnApi"),s("design:type",c.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("gridApi"),s("design:type",d.GridApi)],e.prototype,"gridApi",void 0),r([l.Bean("columnHoverService")],e)}(u.BeanStub);e.ColumnHoverService=h},93862:(t,e,o)=>{var n=o(25003),i=o(67787).Buffer,r=o(5555);function s(t){r.call(this,t),this.enc="pem"}n(s,r),t.exports=s,s.prototype.decode=function(t,e){for(var o=t.toString().split(/[\r\n]+/g),n=e.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,l=-1,p=0;p<o.length;p++){var u=o[p].match(s);if(null!==u&&u[2]===n){if(-1!==a){if("END"!==u[1])break;l=p;break}if("BEGIN"!==u[1])break;a=p}}if(-1===a||-1===l)throw new Error("PEM section not found for: "+n);var c=o.slice(a+1,l).join("");c.replace(/[^a-z0-9\+\/=]+/gi,"");var d=new i(c,"base64");return r.prototype.decode.call(this,d,e)}},95125:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(15068),p=o(72493),u=o(44081),c=o(63405),d=o(60843),h=o(40797),f=o(44871),g=o(83423),y=function(t){function e(){return t.call(this,'<span class="ag-selection-checkbox" unselectable="on"/>')||this}return i(e,t),e.prototype.createAndAddIcons=function(){this.eCheckedIcon=g._.createIconNoSpan("checkboxChecked",this.gridOptionsWrapper,this.column),this.eUncheckedIcon=g._.createIconNoSpan("checkboxUnchecked",this.gridOptionsWrapper,this.column),this.eIndeterminateIcon=g._.createIconNoSpan("checkboxIndeterminate",this.gridOptionsWrapper,this.column);var t=this.getGui();t.appendChild(this.eCheckedIcon),t.appendChild(this.eUncheckedIcon),t.appendChild(this.eIndeterminateIcon)},e.prototype.onDataChanged=function(){this.onSelectionChanged()},e.prototype.onSelectableChanged=function(){this.showOrHideSelect()},e.prototype.onSelectionChanged=function(){var t=this.rowNode.isSelected();g._.setVisible(this.eCheckedIcon,!0===t),g._.setVisible(this.eUncheckedIcon,!1===t),g._.setVisible(this.eIndeterminateIcon,"boolean"!=typeof t)},e.prototype.onCheckedClicked=function(){var t=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!1,groupSelectsFiltered:t})},e.prototype.onUncheckedClicked=function(t){var e=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!0,rangeSelect:t.shiftKey,groupSelectsFiltered:e})},e.prototype.onIndeterminateClicked=function(t){0===this.onUncheckedClicked(t)&&this.onCheckedClicked()},e.prototype.init=function(t){this.rowNode=t.rowNode,this.column=t.column,this.createAndAddIcons(),this.onSelectionChanged(),this.addGuiEventListener("click",(function(t){return g._.stopPropagationForAgGrid(t)})),this.addGuiEventListener("dblclick",(function(t){return g._.stopPropagationForAgGrid(t)})),this.addDestroyableEventListener(this.eCheckedIcon,"click",this.onCheckedClicked.bind(this)),this.addDestroyableEventListener(this.eUncheckedIcon,"click",this.onUncheckedClicked.bind(this)),this.addDestroyableEventListener(this.eIndeterminateIcon,"click",this.onIndeterminateClicked.bind(this)),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_ROW_SELECTED,this.onSelectionChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_DATA_CHANGED,this.onDataChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_SELECTABLE_CHANGED,this.onSelectableChanged.bind(this)),this.isRowSelectableFunc=this.gridOptionsWrapper.getIsRowSelectableFunc(),(this.isRowSelectableFunc||this.checkboxCallbackExists())&&(this.addDestroyableEventListener(this.eventService,c.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelect.bind(this)),this.showOrHideSelect())},e.prototype.showOrHideSelect=function(){var t=this.rowNode.selectable;t&&this.checkboxCallbackExists()&&(t=this.column.isCellCheckboxSelection(this.rowNode)),this.setVisible(t)},e.prototype.checkboxCallbackExists=function(){var t=this.column?this.column.getColDef():null;return t&&"function"==typeof t.checkboxSelection},r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([p.Autowired("gridApi"),s("design:type",h.GridApi)],e.prototype,"gridApi",void 0),r([p.Autowired("columnApi"),s("design:type",f.ColumnApi)],e.prototype,"columnApi",void 0),e}(a.Component);e.CheckboxSelectionComponent=y},95574:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(98239),p=o(44081),u=o(72493),c=o(66419),d=o(47721),h=o(72948),f=o(83423),g=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.init=function(t){this.params=t,this.setupLabel(),this.addGroupExpandIcon(),this.setupExpandIcons()},e.prototype.setupExpandIcons=function(){var t=this;this.addInIcon("columnGroupOpened","agOpened"),this.addInIcon("columnGroupClosed","agClosed");var e=function(e){if(!f._.isStopPropagationForAgGrid(e)){var o=!t.params.columnGroup.isExpanded();t.columnController.setColumnGroupOpened(t.params.columnGroup.getOriginalColumnGroup(),o,"uiColumnExpanded")}};this.addTouchAndClickListeners(this.eCloseIcon,e),this.addTouchAndClickListeners(this.eOpenIcon,e);var o=function(t){f._.stopPropagationForAgGrid(t)};this.addDestroyableEventListener(this.eCloseIcon,"dblclick",o),this.addDestroyableEventListener(this.eOpenIcon,"dblclick",o),this.addDestroyableEventListener(this.getGui(),"dblclick",e),this.updateIconVisibility();var n=this.params.columnGroup.getOriginalColumnGroup();this.addDestroyableEventListener(n,h.OriginalColumnGroup.EVENT_EXPANDED_CHANGED,this.updateIconVisibility.bind(this)),this.addDestroyableEventListener(n,h.OriginalColumnGroup.EVENT_EXPANDABLE_CHANGED,this.updateIconVisibility.bind(this))},e.prototype.addTouchAndClickListeners=function(t,e){var o=new c.TouchListener(this.eCloseIcon);this.addDestroyableEventListener(o,c.TouchListener.EVENT_TAP,e),this.addDestroyFunc((function(){return o.destroy()})),this.addDestroyableEventListener(t,"click",e)},e.prototype.updateIconVisibility=function(){if(this.params.columnGroup.isExpandable()){var t=this.params.columnGroup.isExpanded();f._.setVisible(this.eOpenIcon,!t),f._.setVisible(this.eCloseIcon,t)}else f._.setVisible(this.eOpenIcon,!1),f._.setVisible(this.eCloseIcon,!1)},e.prototype.addInIcon=function(t,e){var o=f._.createIconNoSpan(t,this.gridOptionsWrapper,null);this.getRefElement(e).appendChild(o)},e.prototype.addGroupExpandIcon=function(){if(!this.params.columnGroup.isExpandable())return f._.setVisible(this.eOpenIcon,!1),void f._.setVisible(this.eCloseIcon,!1)},e.prototype.setupLabel=function(){this.params.displayName&&""!==this.params.displayName&&(this.getRefElement("agLabel").innerHTML=this.params.displayName)},e.TEMPLATE='<div class="ag-header-group-cell-label" ref="agContainer"><span ref="agLabel" class="ag-header-group-text"></span><span ref="agOpened" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"></span><span ref="agClosed" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"></span></div>',r([u.Autowired("columnController"),s("design:type",l.ColumnController)],e.prototype,"columnController",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([d.RefSelector("agOpened"),s("design:type",HTMLElement)],e.prototype,"eOpenIcon",void 0),r([d.RefSelector("agClosed"),s("design:type",HTMLElement)],e.prototype,"eCloseIcon",void 0),e}(a.Component);e.HeaderGroupComp=g},96160:(t,e,o)=>{var n=o(66346).hashStuff,i=o(56645).LexerIndexedCustomAction;function r(t){return this.lexerActions=null===t?[]:t,this.cachedHashCode=n(t),this}r.append=function(t,e){return new r(null===t?[e]:t.lexerActions.concat([e]))},r.prototype.fixOffsetBeforeMatch=function(t){for(var e=null,o=0;o<this.lexerActions.length;o++)!this.lexerActions[o].isPositionDependent||this.lexerActions[o]instanceof i||(null===e&&(e=this.lexerActions.concat([])),e[o]=new i(t,this.lexerActions[o]));return null===e?this:new r(e)},r.prototype.execute=function(t,e,o){var n=!1,r=e.index;try{for(var s=0;s<this.lexerActions.length;s++){var a=this.lexerActions[s];if(a instanceof i){var l=a.offset;e.seek(o+l),a=a.action,n=o+l!==r}else a.isPositionDependent&&(e.seek(r),n=!1);a.execute(t)}}finally{n&&e.seek(r)}},r.prototype.hashCode=function(){return this.cachedHashCode},r.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},r.prototype.equals=function(t){if(this===t)return!0;if(t instanceof r){if(this.cachedHashCode!=t.cachedHashCode)return!1;if(this.lexerActions.length!=t.lexerActions.length)return!1;for(var e=this.lexerActions.length,o=0;o<e;++o)if(!this.lexerActions[o].equals(t.lexerActions[o]))return!1;return!0}return!1},e.I=r},96896:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.parse=function(e){if(!e)return null;if(!0===e)return{toolPanels:[t.DEFAULT_COLUMN_COMP,t.DEFAULT_FILTER_COMP],defaultToolPanel:"columns"};if("string"==typeof e)return t.parse([e]);if(Array.isArray(e)){var o=[];return e.forEach((function(e){var n=t.DEFAULT_BY_KEY[e];n?o.push(n):console.warn("ag-grid: the key "+e+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(t.DEFAULT_BY_KEY).join(","))})),0===o.length?null:{toolPanels:o,defaultToolPanel:o[0].id}}return{toolPanels:t.parseComponents(e.toolPanels),defaultToolPanel:e.defaultToolPanel,hiddenByDefault:e.hiddenByDefault}},t.parseComponents=function(e){var o=[];return e.forEach((function(e){var n=null;if("string"==typeof e){var i=t.DEFAULT_BY_KEY[e];if(!i)return void console.warn("ag-grid: the key "+e+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(t.DEFAULT_BY_KEY).join(","));n=i}else n=e;o.push(n)})),o},t.DEFAULT_COLUMN_COMP={id:"columns",labelDefault:"Columns",labelKey:"columns",iconKey:"columns",toolPanel:"agColumnsToolPanel"},t.DEFAULT_FILTER_COMP={id:"filters",labelDefault:"Filters",labelKey:"filters",iconKey:"filter",toolPanel:"agFiltersToolPanel"},t.DEFAULT_BY_KEY={columns:t.DEFAULT_COLUMN_COMP,filters:t.DEFAULT_FILTER_COMP},t}();e.SideBarDefParser=o},97156:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var n=o(63405),i=o(37789),r=o(44081),s=o(83423),a=function(){function t(){}return t.getEventCallbacks=function(){return t.EVENT_CALLBACKS||(t.EVENT_CALLBACKS=[],t.EVENT_CALLBACKS_NO_PREFIX=[],t.EVENTS.forEach((function(e){t.EVENT_CALLBACKS.push(t.getCallbackForEvent(e)),t.EVENT_CALLBACKS_NO_PREFIX.push(e)}))),t.EVENT_CALLBACKS},t.copyAttributesToGridOptions=function(e,o,n){void 0===n&&(n=!1),l(o),"object"!=typeof e&&(e={});var i=e;return t.ARRAY_PROPERTIES.concat(t.STRING_PROPERTIES).concat(t.OBJECT_PROPERTIES).concat(t.FUNCTION_PROPERTIES).forEach((function(t){void 0!==o[t]&&(i[t]=o[t])})),t.BOOLEAN_PROPERTIES.forEach((function(e){void 0!==o[e]&&(i[e]=t.toBoolean(o[e]))})),t.NUMBER_PROPERTIES.forEach((function(e){void 0!==o[e]&&(i[e]=t.toNumber(o[e]))})),t.getEventCallbacks().forEach((function(t){void 0!==o[t]&&(i[t]=o[t])})),n||t.EVENT_CALLBACKS_NO_PREFIX.forEach((function(e){var n=t.getCallbackForEvent(e);void 0===o[e]&&void 0===o[n]||r.GridOptionsWrapper.checkEventDeprecation(e)})),e},t.getCallbackForEvent=function(t){return!t||t.length<2?t:"on"+t[0].toUpperCase()+t.substr(1)},t.processOnChange=function(e,o,i,r){if(e){l(e);var a=o;t.ARRAY_PROPERTIES.concat(t.OBJECT_PROPERTIES).concat(t.STRING_PROPERTIES).forEach((function(t){e[t]&&(a[t]=e[t].currentValue)})),t.BOOLEAN_PROPERTIES.forEach((function(o){e[o]&&(a[o]=t.toBoolean(e[o].currentValue))})),t.NUMBER_PROPERTIES.forEach((function(o){e[o]&&(a[o]=t.toNumber(e[o].currentValue))})),t.getEventCallbacks().forEach((function(t){e[t]&&(a[t]=e[t].currentValue)})),e.enableCellTextSelection&&i.setEnableCellTextSelection(t.toBoolean(e.enableCellTextSelection.currentValue)),e.showToolPanel&&i.showToolPanel(t.toBoolean(e.showToolPanel.currentValue)),e.quickFilterText&&i.setQuickFilter(e.quickFilterText.currentValue),e.rowData&&i.setRowData(e.rowData.currentValue),e.pinnedTopRowData&&i.setPinnedTopRowData(e.pinnedTopRowData.currentValue),e.pinnedBottomRowData&&i.setPinnedBottomRowData(e.pinnedBottomRowData.currentValue),e.columnDefs&&i.setColumnDefs(e.columnDefs.currentValue,"gridOptionsChanged"),e.datasource&&i.setDatasource(e.datasource.currentValue),e.headerHeight&&i.setHeaderHeight(t.toNumber(e.headerHeight.currentValue)),e.paginationPageSize&&i.paginationSetPageSize(t.toNumber(e.paginationPageSize.currentValue)),e.pivotMode&&r.setPivotMode(t.toBoolean(e.pivotMode.currentValue)),e.groupRemoveSingleChildren&&i.setGroupRemoveSingleChildren(t.toBoolean(e.groupRemoveSingleChildren.currentValue)),e.suppressRowDrag&&i.setSuppressRowDrag(t.toBoolean(e.suppressRowDrag.currentValue)),e.gridAutoHeight&&i.setGridAutoHeight(t.toBoolean(e.gridAutoHeight.currentValue)),e.suppressClipboardPaste&&i.setSuppressClipboardPaste(t.toBoolean(e.suppressClipboardPaste.currentValue)),e.sideBar&&i.setSideBar(e.sideBar.currentValue),e.datasource&&i.setDatasource(e.datasource.currentValue);var p={type:n.Events.EVENT_COMPONENT_STATE_CHANGED,api:o.api,columnApi:o.columnApi};s._.iterateObject(e,(function(t,e){p[t]=e})),i.dispatchEvent(p)}},t.toBoolean=function(t){return"boolean"==typeof t?t:"string"==typeof t&&("TRUE"===t.toUpperCase()||""==t)},t.toNumber=function(t){return"number"==typeof t?t:"string"==typeof t?Number(t):void 0},t.EVENTS=[],t.STRING_PROPERTIES=i.PropertyKeys.STRING_PROPERTIES,t.OBJECT_PROPERTIES=i.PropertyKeys.OBJECT_PROPERTIES,t.ARRAY_PROPERTIES=i.PropertyKeys.ARRAY_PROPERTIES,t.NUMBER_PROPERTIES=i.PropertyKeys.NUMBER_PROPERTIES,t.BOOLEAN_PROPERTIES=i.PropertyKeys.BOOLEAN_PROPERTIES,t.FUNCTION_PROPERTIES=i.PropertyKeys.FUNCTION_PROPERTIES,t.ALL_PROPERTIES=i.PropertyKeys.ALL_PROPERTIES,t}();function l(t){(t.rowDeselected||t.onRowDeselected)&&console.warn("ag-grid: as of v3.4 rowDeselected no longer exists. Please check the docs.")}e.ComponentUtil=a,s._.iterateObject(n.Events,(function(t,e){a.EVENTS.push(e)}))},97177:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(72493),a=o(25230),l=function(){function t(){}return t.prototype.addResizeBar=function(t){var e=this,o={dragStartPixels:t.dragStartPixels||0,eElement:t.eResizeBar,onDragStart:this.onDragStart.bind(this,t),onDragStop:this.onDragStop.bind(this,t),onDragging:this.onDragging.bind(this,t)};return this.dragService.addDragSource(o,!0),function(){return e.dragService.removeDragSource(o)}},t.prototype.onDragStart=function(t,e){this.draggingStarted=!0,this.dragStartX=e.clientX,this.setResizeIcons();var o=e instanceof MouseEvent&&!0===e.shiftKey;t.onResizeStart(o)},t.prototype.setResizeIcons=function(){this.oldBodyCursor=this.eGridDiv.style.cursor,this.oldMsUserSelect=this.eGridDiv.style.msUserSelect,this.oldWebkitUserSelect=this.eGridDiv.style.webkitUserSelect,this.eGridDiv.style.cursor="col-resize",this.eGridDiv.style.msUserSelect="none",this.eGridDiv.style.webkitUserSelect="none"},t.prototype.onDragStop=function(t,e){t.onResizeEnd(this.resizeAmount),this.resetIcons()},t.prototype.resetIcons=function(){this.eGridDiv.style.cursor=this.oldBodyCursor,this.eGridDiv.style.msUserSelect=this.oldMsUserSelect,this.eGridDiv.style.webkitUserSelect=this.oldWebkitUserSelect},t.prototype.onDragging=function(t,e){this.resizeAmount=e.clientX-this.dragStartX,t.onResizing(this.resizeAmount)},n([s.Autowired("gridOptionsWrapper"),i("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([s.Autowired("dragService"),i("design:type",a.DragService)],t.prototype,"dragService",void 0),n([s.Autowired("eGridDiv"),i("design:type",HTMLElement)],t.prototype,"eGridDiv",void 0),n([s.Bean("horizontalResizeService")],t)}();e.HorizontalResizeService=l},98239:function(t,e,o){var n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(74517),a=o(26016),l=o(44081),p=o(40634),u=o(7897),c=o(31887),d=o(41832),h=o(60843),f=o(814),g=o(37132),y=o(63405),v=o(72948),m=o(12598),C=o(72493),E=o(64314),w=o(43878),_=o(88842),R=o(40797),S=o(44871),O=o(83423),T=function(){function t(){this.primaryHeaderRowCount=0,this.secondaryHeaderRowCount=0,this.secondaryColumnsPresent=!1,this.gridHeaderRowCount=0,this.displayedLeftColumns=[],this.displayedRightColumns=[],this.displayedCenterColumns=[],this.allDisplayedColumns=[],this.allDisplayedVirtualColumns=[],this.allDisplayedCenterVirtualColumns=[],this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[],this.ready=!1,this.autoGroupsNeedBuilding=!1,this.pivotMode=!1,this.bodyWidth=0,this.leftWidth=0,this.rightWidth=0,this.bodyWidthDirty=!0}return t.prototype.init=function(){var t=this.gridOptionsWrapper.isPivotMode();this.suppressColumnVirtualisation=this.gridOptionsWrapper.isSuppressColumnVirtualisation(),this.isPivotSettingAllowed(t)&&(this.pivotMode=t),this.usingTreeData=this.gridOptionsWrapper.isTreeData()},t.prototype.setColumnDefs=function(t,e){void 0===e&&(e="api");var o=!!this.columnDefs;this.columnDefs=t,this.valueCache.expire(),this.autoGroupsNeedBuilding=!0;var n=this.primaryColumns,i=this.columnFactory.createColumnTree(t,!0,n);this.primaryColumnTree=i.columnTree,this.primaryHeaderRowCount=i.treeDept+1,this.primaryColumns=this.getColumnsFromTree(this.primaryColumnTree),this.extractRowGroupColumns(e,n),this.extractPivotColumns(e,n),this.createValueColumns(e,n),this.ready=!0,this.updateGridColumns(),this.updateDisplayedColumns(e),this.checkDisplayedVirtualColumns(),this.gridOptionsWrapper.isDeltaColumnMode()&&o&&this.resetColumnState(!0,e);var r={type:y.Events.EVENT_COLUMN_EVERYTHING_CHANGED,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(r);var s={type:y.Events.EVENT_NEW_COLUMNS_LOADED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(s)},t.prototype.isAutoRowHeightActive=function(){return this.autoRowHeightColumns&&this.autoRowHeightColumns.length>0},t.prototype.getAllAutoRowHeightCols=function(){return this.autoRowHeightColumns},t.prototype.setVirtualViewportLeftAndRight=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(t){for(var e=t,o=[];e&&O._.exists(e);)o.push(e),e=this.getDisplayedColAfter(e);return o},t.prototype.checkDisplayedVirtualColumns=function(){if(O._.exists(this.displayedCenterColumns)){var t=this.allDisplayedVirtualColumns.map((function(t){return t.getId()})).join("#");if(this.updateVirtualSets(),t!==this.allDisplayedVirtualColumns.map((function(t){return t.getId()})).join("#")){var e={type:y.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}}},t.prototype.setVirtualViewportPosition=function(t,e){(t!==this.scrollWidth||e!==this.scrollPosition||this.bodyWidthDirty)&&(this.scrollWidth=t,this.scrollPosition=e,this.bodyWidthDirty=!0,this.setVirtualViewportLeftAndRight(),this.ready&&this.checkDisplayedVirtualColumns())},t.prototype.isPivotMode=function(){return this.pivotMode},t.prototype.isPivotSettingAllowed=function(t){return!t||!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(t,e){if(void 0===e&&(e="api"),t!==this.pivotMode&&this.isPivotSettingAllowed(this.pivotMode)){this.pivotMode=t,this.updateDisplayedColumns(e);var o={type:y.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o)}},t.prototype.getSecondaryPivotColumn=function(t,e){if(!this.secondaryColumnsPresent)return null;var o=this.getPrimaryColumn(e),n=null;return this.secondaryColumns&&this.secondaryColumns.forEach((function(e){var i=e.getColDef().pivotKeys,r=e.getColDef().pivotValueColumn;O._.compareArrays(i,t)&&r===o&&(n=e)})),n},t.prototype.setBeans=function(t){this.logger=t.create("ColumnController")},t.prototype.setFirstRightAndLastLeftPinned=function(t){var e,o;this.gridOptionsWrapper.isEnableRtl()?(e=this.displayedLeftColumns?this.displayedLeftColumns[0]:null,o=this.displayedRightColumns?this.displayedRightColumns[this.displayedRightColumns.length-1]:null):(e=this.displayedLeftColumns?this.displayedLeftColumns[this.displayedLeftColumns.length-1]:null,o=this.displayedRightColumns?this.displayedRightColumns[0]:null),this.gridColumns.forEach((function(n){n.setLastLeftPinned(n===e,t),n.setFirstRightPinned(n===o,t)}))},t.prototype.autoSizeColumns=function(t,e){var o=this;void 0===e&&(e="api");for(var n=[],i=-1;0!==i;)i=0,this.actionOnGridColumns(t,(function(t){if(n.indexOf(t)>=0)return!1;var r=o.autoWidthCalculator.getPreferredWidthForColumn(t);if(r>0){var s=o.normaliseColumnWidth(t,r);t.setActualWidth(s,e),n.push(t),i++}return!0}),e);if(n.length>0){var r={type:y.Events.EVENT_COLUMN_RESIZED,columns:n,column:1===n.length?n[0]:null,finished:!0,api:this.gridApi,columnApi:this.columnApi,source:"autosizeColumns"};this.eventService.dispatchEvent(r)}},t.prototype.autoSizeColumn=function(t,e){void 0===e&&(e="api"),t&&this.autoSizeColumns([t],e)},t.prototype.autoSizeAllColumns=function(t){void 0===t&&(t="api");var e=this.getAllDisplayedColumns();this.autoSizeColumns(e,t)},t.prototype.getColumnsFromTree=function(t){var e=[];return function t(o){for(var n=0;n<o.length;n++){var i=o[n];i instanceof a.Column?e.push(i):i instanceof v.OriginalColumnGroup&&t(i.getChildren())}}(t),e},t.prototype.getAllDisplayedColumnGroups=function(){return this.displayedLeftColumnTree&&this.displayedRightColumnTree&&this.displayedCentreColumnTree?this.displayedLeftColumnTree.concat(this.displayedCentreColumnTree).concat(this.displayedRightColumnTree):null},t.prototype.getPrimaryColumnTree=function(){return this.primaryColumnTree},t.prototype.getHeaderRowCount=function(){return this.gridHeaderRowCount},t.prototype.getLeftDisplayedColumnGroups=function(){return this.displayedLeftColumnTree},t.prototype.getRightDisplayedColumnGroups=function(){return this.displayedRightColumnTree},t.prototype.getCenterDisplayedColumnGroups=function(){return this.displayedCentreColumnTree},t.prototype.getDisplayedColumnGroups=function(t){switch(t){case a.Column.PINNED_LEFT:return this.getLeftDisplayedColumnGroups();case a.Column.PINNED_RIGHT:return this.getRightDisplayedColumnGroups();default:return this.getCenterDisplayedColumnGroups()}},t.prototype.isColumnDisplayed=function(t){return this.getAllDisplayedColumns().indexOf(t)>=0},t.prototype.getAllDisplayedColumns=function(){return this.allDisplayedColumns},t.prototype.getAllDisplayedVirtualColumns=function(){return this.allDisplayedVirtualColumns},t.prototype.getDisplayedLeftColumnsForRow=function(t){return this.colSpanActive?this.getDisplayedColumnsForRow(t,this.displayedLeftColumns):this.displayedLeftColumns},t.prototype.getDisplayedRightColumnsForRow=function(t){return this.colSpanActive?this.getDisplayedColumnsForRow(t,this.displayedRightColumns):this.displayedRightColumns},t.prototype.getDisplayedColumnsForRow=function(t,e,o,n){for(var i,r=[],s=null,a=function(a){var l,p=e[a],u=e.length-a,c=Math.min(p.getColSpan(t),u),d=[p];if(c>1){for(var h=c-1,f=1;f<=h;f++)d.push(e[a+f]);a+=h}o?(l=!1,d.forEach((function(t){o(t)&&(l=!0)}))):l=!0,l&&(0===r.length&&s&&n&&n(p)&&r.push(s),r.push(p)),s=p,i=a},l=0;l<e.length;l++)a(l),l=i;return r},t.prototype.getAllDisplayedCenterVirtualColumnsForRow=function(t){var e=this;if(!this.colSpanActive)return this.allDisplayedCenterVirtualColumns;var o=this.suppressColumnVirtualisation?null:this.isColumnInViewport.bind(this);return this.getDisplayedColumnsForRow(t,this.displayedCenterColumns,o,(function(t){return t.getLeft()>e.viewportLeft}))},t.prototype.isColumnInViewport=function(t){var e=t.getLeft(),o=t.getLeft()+t.getActualWidth(),n=this.viewportLeft-200,i=this.viewportRight+200;return!(e<n&&o<n||e>i&&o>i)},t.prototype.getPinnedLeftContainerWidth=function(){return this.getWidthOfColsInList(this.displayedLeftColumns)},t.prototype.getPinnedRightContainerWidth=function(){return this.getWidthOfColsInList(this.displayedRightColumns)},t.prototype.updatePrimaryColumnList=function(t,e,o,n,i,r){var s=this;if(void 0===r&&(r="api"),t&&!O._.missingOrEmpty(t)){var a=!1;if(t.forEach((function(t){var i=s.getPrimaryColumn(t);if(i){if(o){if(e.indexOf(i)>=0)return;e.push(i)}else{if(e.indexOf(i)<0)return;O._.removeFromArray(e,i)}n(i),a=!0}})),a){this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(r);var l={type:i,columns:e,column:1===e.length?e[0]:null,api:this.gridApi,columnApi:this.columnApi,source:r};this.eventService.dispatchEvent(l)}}},t.prototype.setRowGroupColumns=function(t,e){void 0===e&&(e="api"),this.autoGroupsNeedBuilding=!0,this.setPrimaryColumnList(t,this.rowGroupColumns,y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.setRowGroupActive.bind(this),e)},t.prototype.setRowGroupActive=function(t,e,o){t!==e.isRowGroupActive()&&(e.setRowGroupActive(t,o),t||this.gridOptionsWrapper.isSuppressMakeColumnVisibleAfterUnGroup()||e.setVisible(!0,o))},t.prototype.addRowGroupColumn=function(t,e){void 0===e&&(e="api"),t&&this.addRowGroupColumns([t],e)},t.prototype.addRowGroupColumns=function(t,e){void 0===e&&(e="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(t,this.rowGroupColumns,!0,this.setRowGroupActive.bind(this,!0),y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e)},t.prototype.removeRowGroupColumns=function(t,e){void 0===e&&(e="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(t,this.rowGroupColumns,!1,this.setRowGroupActive.bind(this,!1),y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e)},t.prototype.removeRowGroupColumn=function(t,e){void 0===e&&(e="api"),t&&this.removeRowGroupColumns([t],e)},t.prototype.addPivotColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.pivotColumns,!0,(function(t){return t.setPivotActive(!0,e)}),y.Events.EVENT_COLUMN_PIVOT_CHANGED,e)},t.prototype.setPivotColumns=function(t,e){void 0===e&&(e="api"),this.setPrimaryColumnList(t,this.pivotColumns,y.Events.EVENT_COLUMN_PIVOT_CHANGED,(function(t,o){o.setPivotActive(t,e)}),e)},t.prototype.addPivotColumn=function(t,e){void 0===e&&(e="api"),this.addPivotColumns([t],e)},t.prototype.removePivotColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.pivotColumns,!1,(function(t){return t.setPivotActive(!1,e)}),y.Events.EVENT_COLUMN_PIVOT_CHANGED,e)},t.prototype.removePivotColumn=function(t,e){void 0===e&&(e="api"),this.removePivotColumns([t],e)},t.prototype.setPrimaryColumnList=function(t,e,o,n,i){var r=this;e.length=0,O._.exists(t)&&t.forEach((function(t){var o=r.getPrimaryColumn(t);o&&e.push(o)})),this.primaryColumns.forEach((function(t){var o=e.indexOf(t)>=0;n(o,t)})),this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(i);var s={type:o,columns:e,column:1===e.length?e[0]:null,api:this.gridApi,columnApi:this.columnApi,source:i};this.eventService.dispatchEvent(s)},t.prototype.setValueColumns=function(t,e){void 0===e&&(e="api"),this.setPrimaryColumnList(t,this.valueColumns,y.Events.EVENT_COLUMN_VALUE_CHANGED,this.setValueActive.bind(this),e)},t.prototype.setValueActive=function(t,e,o){if(t!==e.isValueActive()&&(e.setValueActive(t,o),t&&!e.getAggFunc())){var n=this.aggFuncService.getDefaultAggFunc(e);e.setAggFunc(n)}},t.prototype.addValueColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.valueColumns,!0,this.setValueActive.bind(this,!0),y.Events.EVENT_COLUMN_VALUE_CHANGED,e)},t.prototype.addValueColumn=function(t,e){void 0===e&&(e="api"),t&&this.addValueColumns([t],e)},t.prototype.removeValueColumn=function(t,e){void 0===e&&(e="api"),this.removeValueColumns([t],e)},t.prototype.removeValueColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.valueColumns,!1,this.setValueActive.bind(this,!1),y.Events.EVENT_COLUMN_VALUE_CHANGED,e)},t.prototype.normaliseColumnWidth=function(t,e){return e<t.getMinWidth()&&(e=t.getMinWidth()),t.isGreaterThanMax(e)&&(e=t.getMaxWidth()),e},t.prototype.getPrimaryOrGridColumn=function(t){return this.getPrimaryColumn(t)||this.getGridColumn(t)},t.prototype.setColumnWidth=function(t,e,o,n,i){void 0===i&&(i="api");var r=this.getPrimaryOrGridColumn(t);if(r){var s=[];if(s.push({width:e,ratios:[1],columns:[r]}),"shift"===this.gridOptionsWrapper.getColResizeDefault()&&(o=!o),o){var a=this.getDisplayedColAfter(r);if(!a)return;var l=r.getActualWidth()-e,p=a.getActualWidth()+l;s.push({width:p,ratios:[1],columns:[a]})}this.resizeColumnSets(s,n,i)}},t.prototype.checkMinAndMaxWidthsForSet=function(t){var e=t.columns,o=t.width,n=0,i=0,r=!0;return e.forEach((function(t){n+=t.getMinWidth(),t.getMaxWidth()>0?i+=t.getMaxWidth():r=!1})),o>=n&&(!r||o<=i)},t.prototype.resizeColumnSets=function(t,e,o){if(O._.every(t,this.checkMinAndMaxWidthsForSet.bind(this))){var n=[],i=[];t.forEach((function(t){var e=t.width,o=t.columns,r=t.ratios,s={},a={};o.forEach((function(t){return i.push(t)}));for(var l=!0,p=0,u=function(){if(++p>1e3)return console.error("ag-Grid: infinite loop in resizeColumnSets"),"break";l=!1;var t=[],n=[],i=0,u=e;o.forEach((function(e,o){if(a[e.getId()])u-=s[e.getId()];else{t.push(e);var l=r[o];i+=l,n.push(l)}}));var c=1/i;t.forEach((function(o,n){var i;n===t.length-1?i=u:(i=Math.round(r[n]*e*c),u-=i),i<o.getMinWidth()?(i=o.getMinWidth(),a[o.getId()]=!0,l=!0):o.getMaxWidth()>0&&i>o.getMaxWidth()&&(i=o.getMaxWidth(),a[o.getId()]=!0,l=!0),s[o.getId()]=i}))};l&&"break"!==u(););o.forEach((function(t){var e=s[t.getId()];t.getActualWidth()!==e&&(t.setActualWidth(e),n.push(t))}))}));var r=n.length>0;if(r&&(this.setLeftValues(o),this.updateBodyWidths(),this.checkDisplayedVirtualColumns()),r||e){var s={type:y.Events.EVENT_COLUMN_RESIZED,columns:i,column:1===i.length?i[0]:null,finished:e,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(s)}}else if(e){var a=t&&t.length>0?t[0].columns:null,l={type:y.Events.EVENT_COLUMN_RESIZED,columns:a,column:a&&1===a.length?a[0]:null,finished:e,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(l)}},t.prototype.setColumnAggFunc=function(t,e,o){if(void 0===o&&(o="api"),t){t.setAggFunc(e);var n={type:y.Events.EVENT_COLUMN_VALUE_CHANGED,columns:[t],column:t,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(n)}},t.prototype.moveRowGroupColumn=function(t,e,o){void 0===o&&(o="api");var n=this.rowGroupColumns[t];this.rowGroupColumns.splice(t,1),this.rowGroupColumns.splice(e,0,n);var i={type:y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,columns:this.rowGroupColumns,column:1===this.rowGroupColumns.length?this.rowGroupColumns[0]:null,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(i)},t.prototype.moveColumns=function(t,e,o){if(void 0===o&&(o="api"),this.columnAnimationService.start(),e>this.gridColumns.length-t.length)return console.warn("ag-Grid: tried to insert columns in invalid location, toIndex = "+e),void console.warn("ag-Grid: remember that you should not count the moving columns when calculating the new index");var n=this.getGridColumns(t);if(this.doesMovePassRules(n,e)){O._.moveInArray(this.gridColumns,n,e),this.updateDisplayedColumns(o);var i={type:y.Events.EVENT_COLUMN_MOVED,columns:n,column:1===n.length?n[0]:null,toIndex:e,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(i),this.columnAnimationService.finish()}},t.prototype.doesMovePassRules=function(t,e){var o=this.gridColumns.slice();return O._.moveInArray(o,t,e),!!this.doesMovePassMarryChildren(o)&&!!this.doesMovePassLockedPositions(o)},t.prototype.doesMovePassLockedPositions=function(t){var e=!1,o=!0;return t.forEach((function(t){t.isLockPosition()?e&&(o=!1):e=!0})),o},t.prototype.doesMovePassMarryChildren=function(t){var e=!0;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(o){if(o instanceof v.OriginalColumnGroup){var n=o;if(n.getColGroupDef()&&n.getColGroupDef().marryChildren){var i=[];n.getLeafColumns().forEach((function(e){var o=t.indexOf(e);i.push(o)})),Math.max.apply(Math,i)-Math.min.apply(Math,i)>n.getLeafColumns().length-1&&(e=!1)}}})),e},t.prototype.moveColumn=function(t,e,o){void 0===o&&(o="api"),this.moveColumns([t],e,o)},t.prototype.moveColumnByIndex=function(t,e,o){void 0===o&&(o="api");var n=this.gridColumns[t];this.moveColumn(n,e,o)},t.prototype.getBodyContainerWidth=function(){return this.bodyWidth},t.prototype.getContainerWidth=function(t){switch(t){case a.Column.PINNED_LEFT:return this.leftWidth;case a.Column.PINNED_RIGHT:return this.rightWidth;default:return this.bodyWidth}},t.prototype.updateBodyWidths=function(){var t=this.getWidthOfColsInList(this.displayedCenterColumns),e=this.getWidthOfColsInList(this.displayedLeftColumns),o=this.getWidthOfColsInList(this.displayedRightColumns);if(this.bodyWidthDirty=this.bodyWidth!==t,this.bodyWidth!==t||this.leftWidth!==e||this.rightWidth!==o){this.bodyWidth=t,this.leftWidth=e,this.rightWidth=o;var n={type:y.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(n)}},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.displayedCenterColumns},t.prototype.getDisplayedLeftColumns=function(){return this.displayedLeftColumns},t.prototype.getDisplayedRightColumns=function(){return this.displayedRightColumns},t.prototype.getDisplayedColumns=function(t){switch(t){case a.Column.PINNED_LEFT:return this.getDisplayedLeftColumns();case a.Column.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 O._.missingOrEmpty(this.gridColumns)},t.prototype.isRowGroupEmpty=function(){return O._.missingOrEmpty(this.rowGroupColumns)},t.prototype.setColumnVisible=function(t,e,o){void 0===o&&(o="api"),this.setColumnsVisible([t],e,o)},t.prototype.setColumnsVisible=function(t,e,o){var n=this;void 0===o&&(o="api"),this.columnAnimationService.start(),this.actionOnGridColumns(t,(function(t){return t.isVisible()!==e&&(t.setVisible(e,o),!0)}),o,(function(){return{type:y.Events.EVENT_COLUMN_VISIBLE,visible:e,column:null,columns:null,api:n.gridApi,columnApi:n.columnApi,source:o}})),this.columnAnimationService.finish()},t.prototype.setColumnPinned=function(t,e,o){void 0===o&&(o="api"),t&&this.setColumnsPinned([t],e,o)},t.prototype.setColumnsPinned=function(t,e,o){var n,i=this;void 0===o&&(o="api"),"print"!==this.gridOptionsWrapper.getDomLayout()?(this.columnAnimationService.start(),n=!0===e||e===a.Column.PINNED_LEFT?a.Column.PINNED_LEFT:e===a.Column.PINNED_RIGHT?a.Column.PINNED_RIGHT:null,this.actionOnGridColumns(t,(function(t){return t.getPinned()!==n&&(t.setPinned(n),!0)}),o,(function(){return{type:y.Events.EVENT_COLUMN_PINNED,pinned:n,column:null,columns:null,api:i.gridApi,columnApi:i.columnApi,source:o}})),this.columnAnimationService.finish()):console.warn("Changing the column pinning status is not allowed with domLayout='print'")},t.prototype.actionOnGridColumns=function(t,e,o,n){var i=this;if(!O._.missingOrEmpty(t)){var r=[];if(t.forEach((function(t){var o=i.getGridColumn(t);o&&!1!==e(o)&&r.push(o)})),0!==r.length&&(this.updateDisplayedColumns(o),O._.exists(n)&&n)){var s=n();s.columns=r,s.column=1===r.length?r[0]:null,this.eventService.dispatchEvent(s)}}},t.prototype.getDisplayedColBefore=function(t){var e=this.getAllDisplayedColumns(),o=e.indexOf(t);return o>0?e[o-1]:null},t.prototype.getDisplayedColAfter=function(t){var e=this.getAllDisplayedColumns(),o=e.indexOf(t);return o<e.length-1?e[o+1]:null},t.prototype.getDisplayedGroupAfter=function(t){for(var e=t.getDisplayedLeafColumns()[0],o=t.getOriginalColumnGroup().getLevel();;){if(!(e=this.getDisplayedColAfter(e)))return null;for(var n=e.getParent();n.getOriginalColumnGroup().getLevel()!==o;)n=n.getParent();if(n!==t)return n}},t.prototype.isPinningLeft=function(){return this.displayedLeftColumns.length>0},t.prototype.isPinningRight=function(){return this.displayedRightColumns.length>0},t.prototype.getPrimaryAndSecondaryAndAutoColumns=function(){var t=this.primaryColumns?this.primaryColumns.slice(0):[];return this.groupAutoColumns&&O._.exists(this.groupAutoColumns)&&this.groupAutoColumns.forEach((function(e){return t.push(e)})),this.secondaryColumnsPresent&&this.secondaryColumns&&this.secondaryColumns.forEach((function(e){return t.push(e)})),t},t.prototype.createStateItemFromColumn=function(t){var e=t.isRowGroupActive()?this.rowGroupColumns.indexOf(t):null,o=t.isPivotActive()?this.pivotColumns.indexOf(t):null,n=t.isValueActive()?t.getAggFunc():null;return{colId:t.getColId(),hide:!t.isVisible(),aggFunc:n,width:t.getActualWidth(),pivotIndex:o,pinned:t.getPinned(),rowGroupIndex:e}},t.prototype.getColumnState=function(){if(O._.missing(this.primaryColumns))return[];var t=this.primaryColumns.map(this.createStateItemFromColumn.bind(this)),e=(this.groupAutoColumns?this.groupAutoColumns.map(this.createStateItemFromColumn.bind(this)):[]).concat(t);return this.pivotMode||this.orderColumnStateList(e),e},t.prototype.orderColumnStateList=function(t){var e=this.gridColumns.map((function(t){return t.getColId()}));t.sort((function(t,o){return e.indexOf(t.colId)-e.indexOf(o.colId)}))},t.prototype.resetColumnState=function(t,e){void 0===t&&(t=!1),void 0===e&&(e="api");var o=this.getColumnsFromTree(this.primaryColumnTree),n=[],i=1e3,r=1e3;o&&o.forEach((function(t){var e=t.getColDef().rowGroupIndex,o=t.getColDef().rowGroup,s=t.getColDef().pivotIndex,a=t.getColDef().pivot,l={colId:t.getColId(),aggFunc:t.getColDef().aggFunc,hide:t.getColDef().hide,pinned:t.getColDef().pinned,rowGroupIndex:e,pivotIndex:t.getColDef().pivotIndex,width:t.getColDef().width};O._.missing(e)&&o&&(l.rowGroupIndex=i++),O._.missing(s)&&a&&(l.pivotIndex=r++),n.push(l)})),this.setColumnState(n,t,e)},t.prototype.setColumnState=function(t,e,o){var n=this;if(void 0===e&&(e=!1),void 0===o&&(o="api"),O._.missingOrEmpty(this.primaryColumns))return!1;var i=this.getColumnState();this.autoGroupsNeedBuilding=!0;var r=this.primaryColumns.slice();this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[];var s=!0,a={},l={},p=[];if(t&&t.forEach((function(t){if(O._.exists(n.getAutoColumn(t.colId)))p.push(t);else{var e=n.getPrimaryColumn(t.colId);e?(n.syncColumnWithStateItem(e,t,a,l,o),O._.removeFromArray(r,e)):(console.warn("ag-grid: column "+t.colId+" not found"),s=!1)}})),r.forEach(this.syncColumnWithNoState.bind(this)),this.rowGroupColumns.sort(this.sortColumnListUsingIndexes.bind(this,a)),this.pivotColumns.sort(this.sortColumnListUsingIndexes.bind(this,l)),this.updateGridColumns(),p.forEach((function(t){var e=n.getAutoColumn(t.colId);n.syncColumnWithStateItem(e,t,a,l,o)})),t){var u=t.map((function(t){return t.colId}));this.gridColumns.sort((function(t,e){return u.indexOf(t.getId())-u.indexOf(e.getId())}))}if(this.updateDisplayedColumns(o),!e){var c={type:y.Events.EVENT_COLUMN_EVERYTHING_CHANGED,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(c)}return this.raiseColumnEvents(i,o),s},t.prototype.raiseColumnEvents=function(t,e){var o=this;if(!this.gridOptionsWrapper.isSuppressSetColumnStateEvents()){var n=this.getColumnState(),i=function(i,r,s){if(!O._.compareArrays(t.map(r).sort(),n.map(r).sort())){var a={type:i,columns:s,column:1===s.length?s[0]:null,api:o.gridApi,columnApi:o.columnApi,source:e};o.eventService.dispatchEvent(a)}},r=function(e){var n=[],i={};return t.forEach((function(t){i[t.colId]=t})),o.gridColumns.forEach((function(t){var o=i[t.getColId()];o&&!e(o,t)||n.push(t)})),n};i(y.Events.EVENT_COLUMN_VALUE_CHANGED,(function(t){return t.colId+"-"+t.aggFunc}),this.valueColumns),i(y.Events.EVENT_COLUMN_PIVOT_CHANGED,(function(t){return t.colId+"-"+t.pivotIndex}),this.pivotColumns),i(y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,(function(t){return t.colId+"-"+t.rowGroupIndex}),this.rowGroupColumns),this.raiseColumnPinnedEvent(r((function(t,e){return t.pinned!==e.getPinned()})),e);var s=r((function(t,e){return t.hide===e.isVisible()}));this.raiseColumnVisibleEvent(s,e),this.raiseColumnResizeEvent(r((function(t,e){return t.width!==e.getActualWidth()})),e),this.raiseColumnMovedEvent(t,e)}},t.prototype.raiseColumnPinnedEvent=function(t,e){if(t.length>0){var o={type:y.Events.EVENT_COLUMN_PINNED,pinned:null,columns:t,column:null,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(o)}},t.prototype.raiseColumnVisibleEvent=function(t,e){if(t.length>0){var o={type:y.Events.EVENT_COLUMN_VISIBLE,visible:void 0,columns:t,column:null,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(o)}},t.prototype.raiseColumnResizeEvent=function(t,e){if(t.length>0){var o={type:y.Events.EVENT_COLUMN_RESIZED,columns:t,column:null,finished:!0,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(o)}},t.prototype.raiseColumnMovedEvent=function(t,e){for(var o=[],n=this.getColumnState(),i=function(e){var i=t[e],s=n[e];if(!i||s.hide)return"continue";if(i.colId!==s.colId){var a=O._.find(r.allDisplayedColumns,(function(t){return t.getColId()===s.colId}));o.push(a)}},r=this,s=0;s<n.length;s++)i(s);if(o.length>0){var a={type:y.Events.EVENT_COLUMN_MOVED,columns:o,column:null,toIndex:void 0,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(a)}},t.prototype.sortColumnListUsingIndexes=function(t,e,o){return t[e.getId()]-t[o.getId()]},t.prototype.syncColumnWithNoState=function(t,e){t.setVisible(!1,e),t.setAggFunc(null),t.setPinned(null),t.setRowGroupActive(!1,e),t.setPivotActive(!1,e),t.setValueActive(!1,e)},t.prototype.syncColumnWithStateItem=function(t,e,o,n,i){if(t){t.setVisible(!e.hide,i),t.setPinned(e.pinned);var r=this.gridOptionsWrapper.getMinColWidth();e.width&&r&&e.width>=r&&t.setActualWidth(e.width,i),"string"==typeof e.aggFunc?(t.setAggFunc(e.aggFunc),t.setValueActive(!0,i),this.valueColumns.push(t)):(O._.exists(e.aggFunc)&&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 isintended for the column state to be stored and retrieved as simple JSON."),t.setAggFunc(null),t.setValueActive(!1,i)),"number"==typeof e.rowGroupIndex?(this.rowGroupColumns.push(t),t.setRowGroupActive(!0,i),o[t.getId()]=e.rowGroupIndex):t.setRowGroupActive(!1,i),"number"==typeof e.pivotIndex?(this.pivotColumns.push(t),t.setPivotActive(!0,i),n[t.getId()]=e.pivotIndex):t.setPivotActive(!1,i)}},t.prototype.getGridColumns=function(t){return this.getColumns(t,this.getGridColumn.bind(this))},t.prototype.getColumns=function(t,e){var o=[];return t&&t.forEach((function(t){var n=e(t);n&&o.push(n)})),o},t.prototype.getColumnWithValidation=function(t){var e=this.getPrimaryColumn(t);return e||console.warn("ag-Grid: could not find column "+e),e},t.prototype.getPrimaryColumn=function(t){return this.getColumn(t,this.primaryColumns)},t.prototype.getGridColumn=function(t){return this.getColumn(t,this.gridColumns)},t.prototype.getColumn=function(t,e){if(!t)return null;for(var o=0;o<e.length;o++)if(this.columnsMatch(e[o],t))return e[o];return this.getAutoColumn(t)},t.prototype.getAutoColumn=function(t){var e=this;return this.groupAutoColumns&&O._.exists(this.groupAutoColumns)&&!O._.missing(this.groupAutoColumns)?O._.find(this.groupAutoColumns,(function(o){return e.columnsMatch(o,t)})):null},t.prototype.columnsMatch=function(t,e){var o=t===e,n=t.getColDef()===e,i=t.getColId()==e;return o||n||i},t.prototype.getDisplayNameForColumn=function(t,e,o){if(void 0===o&&(o=!1),!t)return null;var n=this.getHeaderName(t.getColDef(),t,null,null,e);return o?this.wrapHeaderNameWithAggFunc(t,n):n},t.prototype.getDisplayNameForOriginalColumnGroup=function(t,e,o){var n=e?e.getColGroupDef():null;return n?this.getHeaderName(n,null,t,e,o):null},t.prototype.getDisplayNameForColumnGroup=function(t,e){return this.getDisplayNameForOriginalColumnGroup(t,t.getOriginalColumnGroup(),e)},t.prototype.getHeaderName=function(t,e,o,n,i){var r=t.headerValueGetter;if(r){var s={colDef:t,column:e,columnGroup:o,originalColumnGroup:n,location:i,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()};return"function"==typeof r?r(s):"string"==typeof r?this.expressionService.evaluate(r,s):(console.warn("ag-grid: headerValueGetter must be a function or a string"),"")}return null!=t.headerName?t.headerName:t.field?O._.camelCaseToHumanText(t.field):""},t.prototype.wrapHeaderNameWithAggFunc=function(t,e){if(this.gridOptionsWrapper.isSuppressAggFuncInHeader())return e;var o,n=t.getColDef().pivotValueColumn,i=null;if(O._.exists(n))i=n?n.getAggFunc():null,o=!0;else{var r=t.isValueActive(),s=this.pivotMode||!this.isRowGroupEmpty();r&&s?(i=t.getAggFunc(),o=!0):o=!1}if(o){var a="string"==typeof i?i:"func";return this.gridOptionsWrapper.getLocaleTextFunc()(a,a)+"("+e+")"}return e},t.prototype.getColumnGroup=function(t,e){if(!t)return null;if(t instanceof s.ColumnGroup)return t;var o=this.getAllDisplayedColumnGroups(),n="number"==typeof e,i=null;return this.columnUtils.depthFirstAllColumnTreeSearch(o,(function(o){if(o instanceof s.ColumnGroup){var r=o;(n?t===r.getGroupId()&&e===r.getInstanceId():t===r.getGroupId())&&(i=r)}})),i},t.prototype.isReady=function(){return this.ready},t.prototype.createValueColumns=function(t,e){this.valueColumns=this.extractColumns(e,this.valueColumns,(function(e,o){return e.setValueActive(o,t)}),(function(){return null}),(function(t){return!!t.aggFunc})),this.valueColumns.forEach((function(t){t.getAggFunc()||t.setAggFunc(t.getColDef().aggFunc)}))},t.prototype.extractRowGroupColumns=function(t,e){this.rowGroupColumns=this.extractColumns(e,this.rowGroupColumns,(function(e,o){return e.setRowGroupActive(o,t)}),(function(t){return t.rowGroupIndex}),(function(t){return t.rowGroup}))},t.prototype.extractColumns=function(t,e,o,n,i){var r=this;e||(e=[]);var s=e.filter((function(t){return r.primaryColumns.indexOf(t)<0})),a=e.filter((function(t){return r.primaryColumns.indexOf(t)>=0})),l=this.primaryColumns.filter((function(e){return!t||t.indexOf(e)<0}));s.forEach((function(t){return o(t,!1)}));var p=[];return l.forEach((function(t){"number"==typeof n(t.getColDef())&&p.push(t)})),p.sort((function(t,e){var o=n(t.getColDef()),i=n(e.getColDef());return o===i?0:o<i?-1:1})),l.forEach((function(t){if(i(t.getColDef())){if(p.indexOf(t)>=0)return;p.push(t)}})),p.forEach((function(t){return o(t,!0)})),a.concat(p)},t.prototype.extractPivotColumns=function(t,e){this.pivotColumns=this.extractColumns(e,this.pivotColumns,(function(e,o){return e.setPivotActive(o,t)}),(function(t){return t.pivotIndex}),(function(t){return t.pivot}))},t.prototype.resetColumnGroupState=function(t){void 0===t&&(t="api");var e=[];this.columnUtils.depthFirstOriginalTreeSearch(null,this.primaryColumnTree,(function(t){if(t instanceof v.OriginalColumnGroup){var o={groupId:t.getGroupId(),open:t.getColGroupDef().openByDefault};e.push(o)}})),this.setColumnGroupState(e,t)},t.prototype.getColumnGroupState=function(){var t=[];return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(e){if(e instanceof v.OriginalColumnGroup){var o=e;t.push({groupId:o.getGroupId(),open:o.isExpanded()})}})),t},t.prototype.setColumnGroupState=function(t,e){var o=this;void 0===e&&(e="api"),this.columnAnimationService.start();var n=[];t.forEach((function(t){var e=t.groupId,i=t.open,r=o.getOriginalColumnGroup(e);r&&r.isExpanded()!==i&&(o.logger.log("columnGroupOpened("+r.getGroupId()+","+i+")"),r.setExpanded(i),n.push(r))})),this.updateGroupsAndDisplayedColumns(e),n.forEach((function(t){var e={type:y.Events.EVENT_COLUMN_GROUP_OPENED,columnGroup:t,api:o.gridApi,columnApi:o.columnApi};o.eventService.dispatchEvent(e)})),this.columnAnimationService.finish()},t.prototype.setColumnGroupOpened=function(t,e,o){var n;void 0===o&&(o="api"),n=t instanceof v.OriginalColumnGroup?t.getId():t,this.setColumnGroupState([{groupId:n,open:e}],o)},t.prototype.getOriginalColumnGroup=function(t){if(t instanceof v.OriginalColumnGroup)return t;"string"!=typeof t&&console.error("ag-Grid: group key must be a string");var e=null;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(o){if(o instanceof v.OriginalColumnGroup){var n=o;n.getId()===t&&(e=n)}})),e},t.prototype.calculateColumnsForDisplay=function(){var t=this;return this.pivotMode&&!this.secondaryColumnsPresent?O._.filter(this.gridColumns,(function(e){var o=t.groupAutoColumns&&t.groupAutoColumns.indexOf(e)>=0,n=t.valueColumns&&t.valueColumns.indexOf(e)>=0;return o||n})):O._.filter(this.gridColumns,(function(e){return t.groupAutoColumns&&t.groupAutoColumns.indexOf(e)>=0||e.isVisible()}))},t.prototype.checkColSpanActiveInCols=function(t){var e=!1;return t.forEach((function(t){O._.exists(t.getColDef().colSpan)&&(e=!0)})),e},t.prototype.calculateColumnsForGroupDisplay=function(){var t=this;this.groupDisplayColumns=[];var e=function(e){var o=e.getColDef();o&&O._.exists(o.showRowGroup)&&t.groupDisplayColumns.push(e)};this.gridColumns.forEach(e),this.groupAutoColumns&&this.groupAutoColumns.forEach(e)},t.prototype.getGroupDisplayColumns=function(){return this.groupDisplayColumns},t.prototype.updateDisplayedColumns=function(t){var e=this.calculateColumnsForDisplay();this.buildDisplayedTrees(e),this.calculateColumnsForGroupDisplay(),this.updateGroupsAndDisplayedColumns(t),this.setFirstRightAndLastLeftPinned(t)},t.prototype.isSecondaryColumnsPresent=function(){return this.secondaryColumnsPresent},t.prototype.setSecondaryColumns=function(t,e){void 0===e&&(e="api");var o=t&&t.length>0;if(o||this.secondaryColumnsPresent){if(o){this.processSecondaryColumnDefinitions(t);var n=this.columnFactory.createColumnTree(t,!1);this.secondaryBalancedTree=n.columnTree,this.secondaryHeaderRowCount=n.treeDept+1,this.secondaryColumns=this.getColumnsFromTree(this.secondaryBalancedTree),this.secondaryColumnsPresent=!0}else this.secondaryBalancedTree=null,this.secondaryHeaderRowCount=-1,this.secondaryColumns=null,this.secondaryColumnsPresent=!1;this.updateGridColumns(),this.updateDisplayedColumns(e)}},t.prototype.processSecondaryColumnDefinitions=function(t){var e=this.gridOptionsWrapper.getProcessSecondaryColDefFunc(),o=this.gridOptionsWrapper.getProcessSecondaryColGroupDefFunc();(e||o)&&t&&function t(n){n.forEach((function(n){if(O._.exists(n.children)){var i=n;o&&o(i),t(i.children)}else e&&e(n)}))}(t)},t.prototype.updateGridColumns=function(){this.gridColsArePrimary&&(this.lastPrimaryOrder=this.gridColumns),this.secondaryColumns&&this.secondaryBalancedTree?(this.gridBalancedTree=this.secondaryBalancedTree.slice(),this.gridHeaderRowCount=this.secondaryHeaderRowCount,this.gridColumns=this.secondaryColumns.slice(),this.gridColsArePrimary=!1):(this.gridBalancedTree=this.primaryColumnTree.slice(),this.gridHeaderRowCount=this.primaryHeaderRowCount,this.gridColumns=this.primaryColumns.slice(),this.gridColsArePrimary=!0,this.orderGridColsLikeLastPrimary()),this.addAutoGroupToGridColumns(),this.autoRowHeightColumns=this.gridColumns.filter((function(t){return t.getColDef().autoHeight})),this.putFixedColumnsFirst(),this.setupQuickFilterColumns(),this.clearDisplayedColumns(),this.colSpanActive=this.checkColSpanActiveInCols(this.gridColumns);var t={type:y.Events.EVENT_GRID_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},t.prototype.orderGridColsLikeLastPrimary=function(){var t=this;if(!O._.missing(this.lastPrimaryOrder)){var e=!0;if(this.gridColumns.forEach((function(o){t.lastPrimaryOrder.indexOf(o)>=0&&(e=!1)})),!e){var o=this.lastPrimaryOrder.filter((function(e){return t.gridColumns.indexOf(e)>=0})),n=this.gridColumns.filter((function(t){return o.indexOf(t)<0})),i=o.slice();n.forEach((function(t){var e=t.getOriginalParent();if(e){for(var o=[];!o.length&&e;)e.getLeafColumns().forEach((function(t){var e=i.indexOf(t)>=0,n=o.indexOf(t)<0;e&&n&&o.push(t)})),e=e.getOriginalParent();if(o.length){var n=o.map((function(t){return i.indexOf(t)})),r=Math.max.apply(Math,n);O._.insertIntoArray(i,t,r+1)}else i.push(t)}else i.push(t)})),this.gridColumns=i}}},t.prototype.isPrimaryColumnGroupsPresent=function(){return this.primaryHeaderRowCount>1},t.prototype.setupQuickFilterColumns=function(){this.groupAutoColumns?this.columnsForQuickFilter=this.primaryColumns.concat(this.groupAutoColumns):this.columnsForQuickFilter=this.primaryColumns},t.prototype.putFixedColumnsFirst=function(){var t=this.gridColumns.filter((function(t){return t.isLockPosition()})),e=this.gridColumns.filter((function(t){return!t.isLockPosition()}));this.gridColumns=t.concat(e)},t.prototype.addAutoGroupToGridColumns=function(){if(this.createGroupAutoColumnsIfNeeded(),!O._.missing(this.groupAutoColumns)){this.gridColumns=this.groupAutoColumns?this.groupAutoColumns.concat(this.gridColumns):this.gridColumns;var t=this.columnFactory.createForAutoGroups(this.groupAutoColumns,this.gridBalancedTree);this.gridBalancedTree=t.concat(this.gridBalancedTree)}},t.prototype.clearDisplayedColumns=function(){this.displayedLeftColumnTree=[],this.displayedRightColumnTree=[],this.displayedCentreColumnTree=[],this.displayedLeftHeaderRows={},this.displayedRightHeaderRows={},this.displayedCentreHeaderRows={},this.displayedLeftColumns=[],this.displayedRightColumns=[],this.displayedCenterColumns=[],this.allDisplayedColumns=[],this.allDisplayedVirtualColumns=[]},t.prototype.updateGroupsAndDisplayedColumns=function(t){this.updateOpenClosedVisibilityInColumnGroups(),this.updateDisplayedColumnsFromTrees(t),this.updateVirtualSets(),this.updateBodyWidths();var e={type:y.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},t.prototype.updateDisplayedColumnsFromTrees=function(t){this.addToDisplayedColumns(this.displayedLeftColumnTree,this.displayedLeftColumns),this.addToDisplayedColumns(this.displayedCentreColumnTree,this.displayedCenterColumns),this.addToDisplayedColumns(this.displayedRightColumnTree,this.displayedRightColumns),this.setupAllDisplayedColumns(),this.setLeftValues(t)},t.prototype.setupAllDisplayedColumns=function(){this.gridOptionsWrapper.isEnableRtl()?this.allDisplayedColumns=this.displayedRightColumns.concat(this.displayedCenterColumns).concat(this.displayedLeftColumns):this.allDisplayedColumns=this.displayedLeftColumns.concat(this.displayedCenterColumns).concat(this.displayedRightColumns)},t.prototype.setLeftValues=function(t){this.setLeftValuesOfColumns(t),this.setLeftValuesOfGroups()},t.prototype.setLeftValuesOfColumns=function(t){var e=this,o=this.primaryColumns.slice(0),n=this.gridOptionsWrapper.isEnableRtl();[this.displayedLeftColumns,this.displayedRightColumns,this.displayedCenterColumns].forEach((function(i){if(n){var r=e.getWidthOfColsInList(i);i.forEach((function(e){r-=e.getActualWidth(),e.setLeft(r,t)}))}else{var s=0;i.forEach((function(e){e.setLeft(s,t),s+=e.getActualWidth()}))}O._.removeAllFromArray(o,i)})),o.forEach((function(e){e.setLeft(null,t)}))},t.prototype.setLeftValuesOfGroups=function(){[this.displayedLeftColumnTree,this.displayedRightColumnTree,this.displayedCentreColumnTree].forEach((function(t){t.forEach((function(t){t instanceof s.ColumnGroup&&t.checkLeft()}))}))},t.prototype.addToDisplayedColumns=function(t,e){e.length=0,this.columnUtils.depthFirstDisplayedColumnTreeSearch(t,(function(t){t instanceof a.Column&&e.push(t)}))},t.prototype.updateDisplayedCenterVirtualColumns=function(){this.suppressColumnVirtualisation?this.allDisplayedCenterVirtualColumns=this.displayedCenterColumns:this.allDisplayedCenterVirtualColumns=this.filterOutColumnsWithinViewport(),this.allDisplayedVirtualColumns=this.allDisplayedCenterVirtualColumns.concat(this.displayedLeftColumns).concat(this.displayedRightColumns);var t={};return this.allDisplayedVirtualColumns.forEach((function(e){t[e.getId()]=!0})),t},t.prototype.getVirtualHeaderGroupRow=function(t,e){var o;switch(t){case a.Column.PINNED_LEFT:o=this.displayedLeftHeaderRows[e];break;case a.Column.PINNED_RIGHT:o=this.displayedRightHeaderRows[e];break;default:o=this.displayedCentreHeaderRows[e]}return O._.missing(o)&&(o=[]),o},t.prototype.updateDisplayedVirtualGroups=function(t){function e(o,n,i){for(var r=!1,s=0;s<o.length;s++){var l=o[s];(l instanceof a.Column?!0===t[l.getId()]:e(l.getDisplayedChildren(),n,i+1))&&(r=!0,n[i]||(n[i]=[]),n[i].push(l))}return r}this.displayedLeftHeaderRows={},this.displayedRightHeaderRows={},this.displayedCentreHeaderRows={},e(this.displayedLeftColumnTree,this.displayedLeftHeaderRows,0),e(this.displayedRightColumnTree,this.displayedRightHeaderRows,0),e(this.displayedCentreColumnTree,this.displayedCentreHeaderRows,0)},t.prototype.updateVirtualSets=function(){var t=this.updateDisplayedCenterVirtualColumns();this.updateDisplayedVirtualGroups(t)},t.prototype.filterOutColumnsWithinViewport=function(){return O._.filter(this.displayedCenterColumns,this.isColumnInViewport.bind(this))},t.prototype.sizeColumnsToFit=function(t,e){var o=this;void 0===e&&(e="api");var n=this.getAllDisplayedColumns();if(!(t<=0||0===n.length)){for(var i=O._.filter(n,(function(t){return!0===t.getColDef().suppressSizeToFit})),r=O._.filter(n,(function(t){return!0!==t.getColDef().suppressSizeToFit})),s=r.slice(0),a=!1;!a;){a=!0;var l=t-this.getWidthOfColsInList(i);if(l<=0)r.forEach((function(t){t.setMinimum(e)}));else for(var p=l/this.getWidthOfColsInList(r),u=l,c=r.length-1;c>=0;c--){var d=r[c],h=Math.round(d.getActualWidth()*p);h<d.getMinWidth()?(d.setMinimum(e),f(d),a=!1):d.isGreaterThanMax(h)?(d.setActualWidth(d.getMaxWidth(),e),f(d),a=!1):0===c?d.setActualWidth(u,e):d.setActualWidth(h,e),u-=h}}this.setLeftValues(e),this.updateBodyWidths(),s.forEach((function(t){var e={type:y.Events.EVENT_COLUMN_RESIZED,column:t,columns:[t],finished:!0,api:o.gridApi,columnApi:o.columnApi,source:"sizeColumnsToFit"};o.eventService.dispatchEvent(e)}))}function f(t){O._.removeFromArray(r,t),i.push(t)}},t.prototype.buildDisplayedTrees=function(t){var e=O._.filter(t,(function(t){return"left"===t.getPinned()})),o=O._.filter(t,(function(t){return"right"===t.getPinned()})),n=O._.filter(t,(function(t){return"left"!==t.getPinned()&&"right"!==t.getPinned()})),i=new m.GroupInstanceIdCreator;this.displayedLeftColumnTree=this.displayedGroupCreator.createDisplayedGroups(e,this.gridBalancedTree,i,a.Column.PINNED_LEFT,this.displayedLeftColumnTree),this.displayedRightColumnTree=this.displayedGroupCreator.createDisplayedGroups(o,this.gridBalancedTree,i,a.Column.PINNED_RIGHT,this.displayedRightColumnTree),this.displayedCentreColumnTree=this.displayedGroupCreator.createDisplayedGroups(n,this.gridBalancedTree,i,null,this.displayedCentreColumnTree)},t.prototype.updateOpenClosedVisibilityInColumnGroups=function(){var t=this.getAllDisplayedColumnGroups();this.columnUtils.depthFirstAllColumnTreeSearch(t,(function(t){t instanceof s.ColumnGroup&&t.calculateDisplayedColumns()}))},t.prototype.getGroupAutoColumns=function(){return this.groupAutoColumns},t.prototype.createGroupAutoColumnsIfNeeded=function(){if(this.autoGroupsNeedBuilding)if(this.autoGroupsNeedBuilding=!1,!(this.rowGroupColumns.length>0||this.usingTreeData)||this.gridOptionsWrapper.isGroupSuppressAutoColumn()||this.gridOptionsWrapper.isGroupUseEntireRow()||this.gridOptionsWrapper.isGroupSuppressRow())this.groupAutoColumns=null;else{var t=this.autoGroupColService.createAutoGroupColumns(this.rowGroupColumns);!this.autoColsEqual(t,this.groupAutoColumns)&&(this.groupAutoColumns=t)}},t.prototype.autoColsEqual=function(t,e){if(!t&&!e)return!0;if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++){var n=t[o],i=e[o];if(n.getColId()!==i.getColId())return!1}return!0},t.prototype.getWidthOfColsInList=function(t){for(var e=0,o=0;o<t.length;o++)e+=t[o].getActualWidth();return e},t.prototype.getGridBalancedTree=function(){return this.gridBalancedTree},n([C.Autowired("gridOptionsWrapper"),i("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),n([C.Autowired("expressionService"),i("design:type",p.ExpressionService)],t.prototype,"expressionService",void 0),n([C.Autowired("columnFactory"),i("design:type",u.ColumnFactory)],t.prototype,"columnFactory",void 0),n([C.Autowired("displayedGroupCreator"),i("design:type",c.DisplayedGroupCreator)],t.prototype,"displayedGroupCreator",void 0),n([C.Autowired("autoWidthCalculator"),i("design:type",d.AutoWidthCalculator)],t.prototype,"autoWidthCalculator",void 0),n([C.Autowired("eventService"),i("design:type",h.EventService)],t.prototype,"eventService",void 0),n([C.Autowired("columnUtils"),i("design:type",f.ColumnUtils)],t.prototype,"columnUtils",void 0),n([C.Autowired("context"),i("design:type",C.Context)],t.prototype,"context",void 0),n([C.Autowired("columnAnimationService"),i("design:type",E.ColumnAnimationService)],t.prototype,"columnAnimationService",void 0),n([C.Autowired("autoGroupColService"),i("design:type",w.AutoGroupColService)],t.prototype,"autoGroupColService",void 0),n([C.Optional("aggFuncService"),i("design:type",Object)],t.prototype,"aggFuncService",void 0),n([C.Optional("valueCache"),i("design:type",_.ValueCache)],t.prototype,"valueCache",void 0),n([C.Autowired("columnApi"),i("design:type",S.ColumnApi)],t.prototype,"columnApi",void 0),n([C.Autowired("gridApi"),i("design:type",R.GridApi)],t.prototype,"gridApi",void 0),n([C.PostConstruct,i("design:type",Function),i("design:paramtypes",[]),i("design:returntype",void 0)],t.prototype,"init",null),n([r(0,C.Qualifier("loggerFactory")),i("design:type",Function),i("design:paramtypes",[g.LoggerFactory]),i("design:returntype",void 0)],t.prototype,"setBeans",null),n([C.Bean("columnController")],t)}();e.ColumnController=T},99093:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(22131),p=o(44081),u=o(47721),c=o(83423),d=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return i(e,t),e.prototype.init=function(t){var e=c._.createIconNoSpan("groupLoading",this.gridOptionsWrapper,null);this.eLoadingIcon.appendChild(e);var o=this.gridOptionsWrapper.getLocaleTextFunc();this.eLoadingText.innerText=o("loadingOoo","Loading")},e.prototype.refresh=function(t){return!1},e.TEMPLATE='<div class="ag-stub-cell">\n <span class="ag-loading-icon" ref="eLoadingIcon"></span>\n <span class="ag-loading-text" ref="eLoadingText"></span>\n </div>',r([a.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.RefSelector("eLoadingIcon"),s("design:type",HTMLElement)],e.prototype,"eLoadingIcon",void 0),r([u.RefSelector("eLoadingText"),s("design:type",HTMLElement)],e.prototype,"eLoadingText",void 0),e}(l.Component);e.LoadingCellRenderer=d},99104:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(13650),l=o(47721),p=o(83423),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getDefaultType=function(){return a.BaseFilter.CONTAINS},e.prototype.customInit=function(){this.comparator=this.filterParams.textCustomComparator?this.filterParams.textCustomComparator:e.DEFAULT_COMPARATOR,this.formatter=this.filterParams.textFormatter?this.filterParams.textFormatter:1==this.filterParams.caseSensitive?e.DEFAULT_FORMATTER:e.DEFAULT_LOWERCASE_FORMATTER,t.prototype.customInit.call(this)},e.prototype.modelFromFloatingFilter=function(t){return{type:this.selectedFilter,filter:t,filterType:"text"}},e.prototype.getApplicableFilterTypes=function(){return[a.BaseFilter.EQUALS,a.BaseFilter.NOT_EQUAL,a.BaseFilter.STARTS_WITH,a.BaseFilter.ENDS_WITH,a.BaseFilter.CONTAINS,a.BaseFilter.NOT_CONTAINS]},e.prototype.bodyTemplate=function(t){var e=this.translate.bind(this);return'<div class="ag-filter-body">\n <div class="ag-input-text-wrapper">\n <input class="ag-filter-filter" id='+(t==a.FilterConditionType.MAIN?"filterText":"filterConditionText")+' type="text" placeholder="'+e("filterOoo","Filter...")+'"/>\n </div>\n </div>'},e.prototype.initialiseFilterBodyUi=function(e){t.prototype.initialiseFilterBodyUi.call(this,e),this.addFilterChangedListener(e),this.setFilter(this.filterConditionText,a.FilterConditionType.CONDITION),this.setFilterType(this.selectedFilterCondition,a.FilterConditionType.CONDITION)},e.prototype.addFilterChangedListener=function(t){var e=this,o=t===a.FilterConditionType.MAIN?this.eFilterTextField:this.eFilterConditionTextField,n=this.getDebounceMs(this.filterParams),i=p._.debounce((function(){return e.onFilterTextFieldChanged(t)}),n);this.addDestroyableEventListener(o,"input",i)},e.prototype.refreshFilterBodyUi=function(t){var e=t===a.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition;this.eFilterConditionTextField&&this.addFilterChangedListener(a.FilterConditionType.CONDITION);var o=t===a.FilterConditionType.MAIN?this.eFilterTextField:this.eFilterConditionTextField;if(o){var n=!this.doesFilterHaveHiddenInput(e)&&e!==a.BaseFilter.EMPTY;p._.setVisible(o,n)}},e.prototype.afterGuiAttached=function(){this.eFilterTextField.focus()},e.prototype.filterValues=function(t){return t===a.FilterConditionType.MAIN?this.filterText:this.filterConditionText},e.prototype.individualFilterPasses=function(t,e){var o=e==a.FilterConditionType.MAIN?this.filterText:this.filterConditionText,n=e==a.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,i=this.customFilterOptions[n];if(i&&(null!=o||i.hideFilterInput)){var r=this.filterParams.valueGetter(t.node),s=this.formatter(r);return i.test(o,s)}return o?this.checkIndividualFilter(t,n,o):e===a.FilterConditionType.MAIN||"AND"===this.conditionValue},e.prototype.checkIndividualFilter=function(t,e,o){var n=this.filterParams.valueGetter(t.node),i=this.formatter(o);if(null==n||void 0===n)return e===a.BaseFilter.NOT_EQUAL||e===a.BaseFilter.NOT_CONTAINS;var r=this.formatter(n);return this.comparator(e,r,i)},e.prototype.onFilterTextFieldChanged=function(t){var e=t===a.FilterConditionType.MAIN?this.eFilterTextField.value:this.eFilterConditionTextField.value,o=t===a.FilterConditionType.MAIN?this.filterText:this.filterConditionText,n=p._.makeNull(e);if(n&&""===n.trim()&&(n=null),o!==n){var i=n&&1!=this.filterParams.caseSensitive?n.toLowerCase():n,r=o&&1!=this.filterParams.caseSensitive?o.toLowerCase():o;t===a.FilterConditionType.MAIN?this.filterText=this.formatter(n):this.filterConditionText=this.formatter(n),r!==i&&this.onFilterChanged()}},e.prototype.setFilter=function(t,e){if(t=p._.makeNull(t),e===a.FilterConditionType.MAIN)if(t){if(this.filterText=this.formatter(t),!this.eFilterTextField)return;this.eFilterTextField.value=t}else{if(this.filterText=null,!this.eFilterTextField)return;this.eFilterTextField.value=null}else if(t){if(this.filterConditionText=this.formatter(t),!this.eFilterConditionTextField)return;this.eFilterConditionTextField.value=t}else{if(this.filterConditionText=null,!this.eFilterConditionTextField)return;this.eFilterConditionTextField.value=null}},e.prototype.getFilter=function(){return this.filterText},e.prototype.resetState=function(t){void 0===t&&(t=!1),t||(this.setFilterType(this.defaultFilter,a.FilterConditionType.MAIN),this.setFilter(null,a.FilterConditionType.MAIN)),this.setFilterType(this.defaultFilter,a.FilterConditionType.CONDITION),this.setFilter(null,a.FilterConditionType.CONDITION)},e.prototype.serialize=function(t){var e=t===a.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,o=t===a.FilterConditionType.MAIN?this.filterText:this.filterConditionText;return{type:e||this.defaultFilter,filter:o,filterType:"text"}},e.prototype.parse=function(t,e){this.setFilterType(t.type,e),this.setFilter(t.filter,e)},e.prototype.setType=function(t,e){this.setFilterType(t,e)},e.DEFAULT_FORMATTER=function(t){return t},e.DEFAULT_LOWERCASE_FORMATTER=function(t){return null==t?null:t.toString().toLowerCase()},e.DEFAULT_COMPARATOR=function(t,o,n){switch(t){case e.CONTAINS:return o.indexOf(n)>=0;case e.NOT_CONTAINS:return-1===o.indexOf(n);case e.EQUALS:return o===n;case e.NOT_EQUAL:return o!=n;case e.STARTS_WITH:return 0===o.indexOf(n);case e.ENDS_WITH:var i=o.lastIndexOf(n);return i>=0&&i===o.length-n.length;default:return console.warn("invalid filter type "+t),!1}},r([l.QuerySelector("#filterText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterTextField",void 0),r([l.QuerySelector("#filterConditionText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterConditionTextField",void 0),e}(a.ComparableBaseFilter);e.TextFilter=u},99162:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}};Object.defineProperty(e,"__esModule",{value:!0});var l=o(72493),p=o(60843),u=o(63405),c=o(37132),d=o(28921),h=o(65802),f=o(40797),g=o(44871),y=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.setBeans=function(t){this.logger=t.create("InfiniteCache")},e.prototype.init=function(){t.prototype.init.call(this),this.getRow(0)},e.prototype.moveItemsDown=function(t,e,o){for(var n=t.getStartRow(),i=e+o,r=t.getEndRow()-1;r>=n;r--)if(!(r<i)){var s=r-o,a=this.getRow(s,!0);a?t.setRowNode(r,a):(t.setBlankRowNode(r),t.setDirty())}},e.prototype.insertItems=function(t,e,o){for(var n=t.getStartRow(),i=t.getEndRow(),r=[],s=0;s<o.length;s++){var a=e+s;if(a>=n&&a<i){var l=o[s],p=t.setNewData(a,l);r.push(p)}}return r},e.prototype.insertItemsAtIndex=function(t,e){var o=this,n=[];this.forEachBlockInReverseOrder((function(i){i.getEndRow()<=t||(o.moveItemsDown(i,t,e.length),o.insertItems(i,t,e).forEach((function(t){return n.push(t)})))})),this.isMaxRowFound()&&this.hack_setVirtualRowCount(this.getVirtualRowCount()+e.length),this.onCacheUpdated();var i={type:u.Events.EVENT_ROW_DATA_UPDATED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(i)},e.prototype.getRow=function(t,e){void 0===e&&(e=!1);var o=Math.floor(t/this.cacheParams.blockSize),n=this.getBlock(o);if(!n){if(e)return null;n=this.createBlock(o)}return n.getRow(t)},e.prototype.createBlock=function(t){var e=new d.InfiniteBlock(t,this.cacheParams);return this.getContext().wireBean(e),this.postCreateBlock(e),e},e.prototype.refreshCache=function(){this.forEachBlockInOrder((function(t){return t.setDirty()})),this.checkBlockToLoad()},r([l.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("columnApi"),s("design:type",g.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("gridApi"),s("design:type",f.GridApi)],e.prototype,"gridApi",void 0),r([a(0,l.Qualifier("loggerFactory")),s("design:type",Function),s("design:paramtypes",[c.LoggerFactory]),s("design:returntype",void 0)],e.prototype,"setBeans",null),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(h.RowNodeCache);e.InfiniteCache=y},99533:function(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(72493),p=o(44081),u=o(47721),c=o(60843),d=o(63405),h=o(10042),f=o(41451),g=o(83423),y=function(t){function e(){return t.call(this)||this}return i(e,t),e.prototype.postConstruct=function(){this.setTemplate(this.getTemplate()),this.gridOptionsWrapper.isPagination()&&!this.gridOptionsWrapper.isSuppressPaginationPanel()?(this.addDestroyableEventListener(this.eventService,d.Events.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addDestroyableEventListener(this.btFirst,"click",this.onBtFirst.bind(this)),this.addDestroyableEventListener(this.btLast,"click",this.onBtLast.bind(this)),this.addDestroyableEventListener(this.btNext,"click",this.onBtNext.bind(this)),this.addDestroyableEventListener(this.btPrevious,"click",this.onBtPrevious.bind(this)),this.onPaginationChanged()):this.setVisible(!1)},e.prototype.onPaginationChanged=function(){this.enableOrDisableButtons(),this.updateRowLabels(),this.setCurrentPageLabel(),this.setTotalLabels()},e.prototype.setCurrentPageLabel=function(){var t=this.paginationProxy.getTotalPages()>0,e=this.paginationProxy.getCurrentPage(),o=t?e+1:0;this.lbCurrent.innerHTML=this.formatNumber(o)},e.prototype.formatNumber=function(t){var e=this.gridOptionsWrapper.getPaginationNumberFormatterFunc();return e?e({value:t}):g._.formatNumberCommas(t)},e.prototype.getTemplate=function(){var t=this.gridOptionsWrapper.getLocaleTextFunc(),e=t("page","Page"),o=t("to","to"),n=t("of","of");return'<div class="ag-paging-panel ag-unselectable">\n <span ref="eSummaryPanel" class="ag-paging-row-summary-panel">\n <span ref="lbFirstRowOnPage"></span> '+o+' <span ref="lbLastRowOnPage"></span> '+n+' <span ref="lbRecordCount"></span>\n </span>\n <span class="ag-paging-page-summary-panel">\n <button type="button" class="ag-paging-button" ref="btFirst">'+t("first","First")+'</button>\n <button type="button" class="ag-paging-button" ref="btPrevious">'+t("previous","Previous")+"</button>\n "+e+' <span ref="lbCurrent"></span> '+n+' <span ref="lbTotal"></span>\n <button type="button" class="ag-paging-button" ref="btNext">'+t("next","Next")+'</button>\n <button type="button" class="ag-paging-button" ref="btLast">'+t("last","Last")+"</button>\n </span>\n </div>"},e.prototype.onBtNext=function(){this.paginationProxy.goToNextPage()},e.prototype.onBtPrevious=function(){this.paginationProxy.goToPreviousPage()},e.prototype.onBtFirst=function(){this.paginationProxy.goToFirstPage()},e.prototype.onBtLast=function(){this.paginationProxy.goToLastPage()},e.prototype.enableOrDisableButtons=function(){var t=this.paginationProxy.getCurrentPage(),e=this.paginationProxy.isLastPageFound(),o=this.paginationProxy.getTotalPages(),n=0===t;this.btPrevious.disabled=n,this.btFirst.disabled=n;var i=this.isZeroPagesToDisplay(),r=e&&t===o-1||i;this.btNext.disabled=r;var s=!e||i||t===o-1;this.btLast.disabled=s},e.prototype.updateRowLabels=function(){var t,e,o=this.paginationProxy.getCurrentPage(),n=this.paginationProxy.getPageSize(),i=this.paginationProxy.isLastPageFound(),r=this.paginationProxy.isLastPageFound()?this.paginationProxy.getTotalRowCount():null;this.isZeroPagesToDisplay()?(t=0,e=0):(e=(t=n*o+1)+n-1,i&&e>r&&(e=r)),this.lbFirstRowOnPage.innerHTML=this.formatNumber(t),this.lbLastRowOnPage.innerHTML=this.formatNumber(e)},e.prototype.isZeroPagesToDisplay=function(){var t=this.paginationProxy.isLastPageFound(),e=this.paginationProxy.getTotalPages();return t&&0===e},e.prototype.setTotalLabels=function(){var t=this.paginationProxy.isLastPageFound(),e=this.paginationProxy.getTotalPages(),o=this.paginationProxy.isLastPageFound()?this.paginationProxy.getTotalRowCount():null;if(t)this.lbTotal.innerHTML=this.formatNumber(e),this.lbRecordCount.innerHTML=this.formatNumber(o);else{var n=this.gridOptionsWrapper.getLocaleTextFunc()("more","more");this.lbTotal.innerHTML=n,this.lbRecordCount.innerHTML=n}},r([l.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("eventService"),s("design:type",c.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("paginationProxy"),s("design:type",f.PaginationProxy)],e.prototype,"paginationProxy",void 0),r([l.Autowired("rowRenderer"),s("design:type",h.RowRenderer)],e.prototype,"rowRenderer",void 0),r([u.RefSelector("btFirst"),s("design:type",HTMLButtonElement)],e.prototype,"btFirst",void 0),r([u.RefSelector("btPrevious"),s("design:type",HTMLButtonElement)],e.prototype,"btPrevious",void 0),r([u.RefSelector("btNext"),s("design:type",HTMLButtonElement)],e.prototype,"btNext",void 0),r([u.RefSelector("btLast"),s("design:type",HTMLButtonElement)],e.prototype,"btLast",void 0),r([u.RefSelector("lbRecordCount"),s("design:type",Object)],e.prototype,"lbRecordCount",void 0),r([u.RefSelector("lbFirstRowOnPage"),s("design:type",Object)],e.prototype,"lbFirstRowOnPage",void 0),r([u.RefSelector("lbLastRowOnPage"),s("design:type",Object)],e.prototype,"lbLastRowOnPage",void 0),r([u.RefSelector("eSummaryPanel"),s("design:type",Object)],e.prototype,"eSummaryPanel",void 0),r([u.RefSelector("lbCurrent"),s("design:type",Object)],e.prototype,"lbCurrent",void 0),r([u.RefSelector("lbTotal"),s("design:type",Object)],e.prototype,"lbTotal",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.PaginationComp=y},99770:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultColumnTypes={numericColumn:{headerClass:"ag-numeric-header",cellClass:"ag-numeric-cell"}}}};