@lowdefy/blocks-aggrid 3.23.3 → 3.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/120.js +1 -1
- package/dist/143.js +1 -1
- package/dist/242.js +1 -0
- package/dist/249.js +1 -1
- package/dist/257.js +1 -0
- package/dist/294.js +2 -0
- package/dist/294.js.LICENSE.txt +14 -0
- package/dist/299.js +1 -0
- package/dist/324.js +1 -0
- package/dist/334.js +1 -1
- package/dist/353.js +1 -1
- package/dist/411.js +2 -0
- package/dist/411.js.LICENSE.txt +6 -0
- package/dist/452.js +1 -1
- package/dist/541.js +1 -0
- package/dist/590.js +1 -0
- package/dist/647.js +1 -1
- package/dist/654.js +1 -1
- package/dist/687.js +2 -1
- package/dist/687.js.LICENSE.txt +14 -0
- package/dist/770.js +1 -1
- package/dist/820.js +1 -1
- package/dist/820.js.LICENSE.txt +0 -6
- package/dist/85.js +1 -0
- package/dist/852.js +1 -1
- package/dist/main.js +1 -1
- package/dist/meta/AgGridAlpine.json +1 -1
- package/dist/meta/AgGridAlpineDark.json +1 -1
- package/dist/meta/AgGridBalham.json +1 -1
- package/dist/meta/AgGridBalhamDark.json +1 -1
- package/dist/meta/AgGridInputAlpine.json +1 -1
- package/dist/meta/AgGridInputAlpineDark.json +1 -1
- package/dist/meta/AgGridInputBalham.json +1 -1
- package/dist/meta/AgGridInputBalhamDark.json +1 -1
- package/dist/meta/AgGridInputMaterial.json +1 -1
- package/dist/meta/AgGridMaterial.json +1 -1
- package/dist/remoteEntry.js +1 -1
- package/package.json +4 -4
package/dist/257.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_lowdefy_blocks_aggrid=self.webpackChunk_lowdefy_blocks_aggrid||[]).push([[257],{2257:(e,t,o)=>{"use strict";o.r(t),o.d(t,{AllCommunityModules:()=>p,ClientSideRowModelModule:()=>r.I,BaseCreator:()=>i.z0,BaseGridSerializingSession:()=>i.WK,CsvCreator:()=>i.IF,CsvExportModule:()=>i.jM,Downloader:()=>i.aV,GridSerializer:()=>i.Y,RowType:()=>i.aC,XmlFactory:()=>i.IU,ZipContainer:()=>i.EH,InfiniteRowModelModule:()=>n.f});var r=o(2666),n=o(9386),i=o(316),s=o(7694),a={};for(const e in s)["default","AllCommunityModules","ClientSideRowModelModule","BaseCreator","BaseGridSerializingSession","CsvCreator","CsvExportModule","Downloader","GridSerializer","RowType","XmlFactory","ZipContainer","InfiniteRowModelModule"].indexOf(e)<0&&(a[e]=()=>s[e]);o.d(t,a);var p=[r.I,n.f,i.jM]},2666:(e,t,o)=>{"use strict";o.d(t,{I:()=>M});var r,n,i=o(7694),s=function(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;var r=Array(e),n=0;for(t=0;t<o;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,n++)r[n]=i[s];return r},a=function(){function e(t,o,r,n,i,s,a,p){this.nextId=0,this.allNodesMap={},this.rootNode=t,this.gridOptionsWrapper=o,this.eventService=r,this.columnModel=n,this.gridApi=i,this.columnApi=s,this.beans=p,this.selectionService=a,this.rootNode.group=!0,this.rootNode.level=-1,this.rootNode.id=e.ROOT_NODE_ID,this.rootNode.allLeafChildren=[],this.rootNode.childrenAfterGroup=[],this.rootNode.childrenAfterSort=[],this.rootNode.childrenAfterFilter=[],this.postConstruct()}return e.prototype.postConstruct=function(){this.suppressParentsInRowNodes=this.gridOptionsWrapper.isSuppressParentsInRowNodes(),this.isRowMasterFunc=this.gridOptionsWrapper.getIsRowMasterFunc(),this.doingTreeData=this.gridOptionsWrapper.isTreeData(),this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail()},e.prototype.getCopyOfNodesMap=function(){return i._.cloneObject(this.allNodesMap)},e.prototype.getRowNode=function(e){return this.allNodesMap[e]},e.prototype.setRowData=function(t){var o=this;if("string"!=typeof t){var r=this.rootNode,n=this.rootNode.sibling;r.childrenAfterFilter=null,r.childrenAfterGroup=null,r.childrenAfterSort=null,r.childrenMapped=null,r.updateHasChildren(),this.nextId=0,this.allNodesMap={},t?r.allLeafChildren=t.map((function(t){return o.createNode(t,o.rootNode,e.TOP_LEVEL)})):(r.allLeafChildren=[],r.childrenAfterGroup=[]),n&&(n.childrenAfterFilter=r.childrenAfterFilter,n.childrenAfterGroup=r.childrenAfterGroup,n.childrenAfterSort=r.childrenAfterSort,n.childrenMapped=r.childrenMapped,n.allLeafChildren=r.allLeafChildren)}else console.warn("AG Grid: rowData must be an array, however you passed in a string. If you are loading JSON, make sure you convert the JSON string to JavaScript objects first")},e.prototype.updateRowData=function(e,t){var o={remove:[],update:[],add:[]},r=[];return this.executeRemove(e,o,r),this.executeUpdate(e,o,r),this.executeAdd(e,o),this.updateSelection(r),t&&i._.sortRowNodesByOrder(this.rootNode.allLeafChildren,t),o},e.prototype.updateSelection=function(e){var t=e.length>0;if(t&&e.forEach((function(e){e.setSelected(!1,!1,!0)})),this.selectionService.updateGroupsFromChildrenSelections(),t){var o={type:i.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o)}},e.prototype.executeAdd=function(t,o){var r=this,n=t.add,a=t.addIndex;if(!i._.missingOrEmpty(n)){var p=n.map((function(t){return r.createNode(t,r.rootNode,e.TOP_LEVEL)}));if("number"==typeof a&&a>=0){var d=this.rootNode.allLeafChildren,l=d.slice(0,a),u=d.slice(a,d.length);this.rootNode.allLeafChildren=s(l,p,u)}else this.rootNode.allLeafChildren=s(this.rootNode.allLeafChildren,p);this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren),o.add=p}},e.prototype.executeRemove=function(e,t,o){var r=this,n=e.remove;if(!i._.missingOrEmpty(n)){var s={};n.forEach((function(e){var n=r.lookupRowNode(e);n&&(n.isSelected()&&o.push(n),n.clearRowTopAndRowIndex(),s[n.id]=!0,delete r.allNodesMap[n.id],t.remove.push(n))})),this.rootNode.allLeafChildren=this.rootNode.allLeafChildren.filter((function(e){return!s[e.id]})),this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren)}},e.prototype.executeUpdate=function(t,o,r){var n=this,s=t.update;i._.missingOrEmpty(s)||s.forEach((function(t){var i=n.lookupRowNode(t);i&&(i.updateData(t),!i.selectable&&i.isSelected()&&r.push(i),n.setMasterForRow(i,t,e.TOP_LEVEL,!1),o.update.push(i))}))},e.prototype.lookupRowNode=function(e){var t,o=this.gridOptionsWrapper.getRowNodeIdFunc();if(i._.exists(o)){var r=o(e);if(!(t=this.allNodesMap[r]))return console.error("AG Grid: could not find row id="+r+", data item was not found for this id"),null}else if(!(t=i._.find(this.rootNode.allLeafChildren,(function(t){return t.data===e}))))return console.error("AG Grid: could not find data item as object was not found",e),console.error("Consider using getRowNodeId to help the Grid find matching row data"),null;return t},e.prototype.createNode=function(e,t,o){var r=new i.RowNode(this.beans);return r.group=!1,this.setMasterForRow(r,e,o,!0),t&&!this.suppressParentsInRowNodes&&(r.parent=t),r.level=o,r.setDataAndId(e,this.nextId.toString()),this.allNodesMap[r.id]&&console.warn("ag-grid: duplicate node id '"+r.id+"' detected from getRowNodeId callback, this could cause issues in your grid."),this.allNodesMap[r.id]=r,this.nextId++,r},e.prototype.setMasterForRow=function(e,t,o,r){if(this.doingTreeData)e.setMaster(!1),r&&(e.expanded=!1);else if(this.doingMasterDetail?this.isRowMasterFunc?e.setMaster(this.isRowMasterFunc(t)):e.setMaster(!0):e.setMaster(!1),r){var n=this.columnModel.getRowGroupColumns(),i=o+(n?n.length:0);e.expanded=!!e.master&&this.isExpanded(i)}},e.prototype.isExpanded=function(e){var t=this.gridOptionsWrapper.getGroupDefaultExpanded();return-1===t||e<t},e.TOP_LEVEL=0,e.ROOT_NODE_ID="ROOT_NODE_ID",e}(),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},r(e,t)},function(e,t){function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s};!function(e){e[e.Normal=0]="Normal",e[e.AfterFilter=1]="AfterFilter",e[e.AfterFilterAndSort=2]="AfterFilterAndSort",e[e.PivotNodes=3]="PivotNodes"}(n||(n={}));var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.init=function(){var e=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.EVERYTHING}),t=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.EVERYTHING,afterColumnsChanged:!0,keepRenderedRows:!0,animate:!0});this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,t),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.PIVOT})),this.addManagedListener(this.eventService,i.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,e);var o=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,animate:!0});this.addManagedListener(this.gridOptionsWrapper,i.GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN,o),this.addManagedListener(this.gridOptionsWrapper,i.GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN,o),this.rootNode=new i.RowNode(this.beans),this.nodeManager=new a(this.rootNode,this.gridOptionsWrapper,this.eventService,this.columnModel,this.gridApi,this.columnApi,this.selectionService,this.beans)},t.prototype.start=function(){var e=this.gridOptionsWrapper.getRowData();e&&this.setRowData(e)},t.prototype.ensureRowHeightsValid=function(e,t,o,r){var n,i=!1;do{n=!1;for(var s=this.getRowIndexAtPixel(e),a=this.getRowIndexAtPixel(t),p=Math.max(s,o),d=Math.min(a,r),l=p;l<=d;l++){var u=this.getRow(l);if(u.rowHeightEstimated){var c=this.gridOptionsWrapper.getRowHeightForNode(u);u.setRowHeight(c.height),n=!0,i=!0}}n&&this.setRowTopAndRowIndex()}while(n);return i},t.prototype.setRowTopAndRowIndex=function(){for(var e=this.gridOptionsWrapper.getDefaultRowHeight(),t=0,o=new Set,r=this.gridOptionsWrapper.getDomLayout()===i.Constants.DOM_LAYOUT_NORMAL,n=0;n<this.rowsToDisplay.length;n++){var s=this.rowsToDisplay[n];if(null!=s.id&&o.add(s.id),null==s.rowHeight){var a=this.gridOptionsWrapper.getRowHeightForNode(s,r,e);s.setRowHeight(a.height,a.estimated)}s.setRowTop(t),s.setRowIndex(n),t+=s.rowHeight}return o},t.prototype.clearRowTopAndRowIndex=function(e,t){var o=e.isActive(),r=function(e){e&&null!=e.id&&!t.has(e.id)&&e.clearRowTopAndRowIndex()},n=function(e){if(r(e),r(e.detailNode),r(e.sibling),e.hasChildren()&&e.childrenAfterGroup){var t=-1==e.level;o&&!t&&!e.expanded||e.childrenAfterGroup.forEach(n)}};n(this.rootNode)},t.prototype.ensureRowsAtPixel=function(e,t,o){var r=this;void 0===o&&(o=0);var n=this.getRowIndexAtPixel(t);return this.getRow(n)!==e[0]&&(e.forEach((function(e){i._.removeFromArray(r.rootNode.allLeafChildren,e)})),e.forEach((function(e,t){i._.insertIntoArray(r.rootNode.allLeafChildren,e,Math.max(n+o,0)+t)})),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,keepRenderedRows:!0,animate:!0,keepEditingRows:!0}),!0)},t.prototype.highlightRowAtPixel=function(e,t){var o=null!=t?this.getRowIndexAtPixel(t):null,r=null!=o?this.getRow(o):null;if(r&&e&&r!==e&&null!=t){var n=this.getHighlightPosition(t,r);this.lastHighlightedRow&&this.lastHighlightedRow!==r&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null),r.setHighlighted(n),this.lastHighlightedRow=r}else this.lastHighlightedRow&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null)},t.prototype.getHighlightPosition=function(e,t){if(!t){var o=this.getRowIndexAtPixel(e);if(!(t=this.getRow(o||0)))return i.RowHighlightPosition.Below}return e-t.rowTop<t.rowHeight/2?i.RowHighlightPosition.Above:i.RowHighlightPosition.Below},t.prototype.getLastHighlightedRowNode=function(){return this.lastHighlightedRow},t.prototype.isLastRowIndexKnown=function(){return!0},t.prototype.getRowCount=function(){return this.rowsToDisplay?this.rowsToDisplay.length:0},t.prototype.getTopLevelRowCount=function(){return this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode?1:this.rootNode.childrenAfterFilter?this.rootNode.childrenAfterFilter.length:0},t.prototype.getTopLevelRowDisplayedIndex=function(e){if(this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode)return e;var t=this.rootNode.childrenAfterSort[e];if(this.gridOptionsWrapper.isGroupHideOpenParents())for(;t.expanded&&t.childrenAfterSort&&t.childrenAfterSort.length>0;)t=t.childrenAfterSort[0];return t.rowIndex},t.prototype.getRowBounds=function(e){if(i._.missing(this.rowsToDisplay))return null;var t=this.rowsToDisplay[e];return t?{rowTop:t.rowTop,rowHeight:t.rowHeight}:null},t.prototype.onRowGroupOpened=function(){var e=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,animate:e})},t.prototype.onFilterChanged=function(e){if(!e.afterDataChange){var t=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:i.ClientSideRowModelSteps.FILTER,keepRenderedRows:!0,animate:t})}},t.prototype.onSortChanged=function(){var e=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:i.ClientSideRowModelSteps.SORT,keepRenderedRows:!0,animate:e,keepEditingRows:!0})},t.prototype.getType=function(){return i.Constants.ROW_MODEL_TYPE_CLIENT_SIDE},t.prototype.onValueChanged=function(){this.columnModel.isPivotActive()?this.refreshModel({step:i.ClientSideRowModelSteps.PIVOT}):this.refreshModel({step:i.ClientSideRowModelSteps.AGGREGATE})},t.prototype.createChangePath=function(e){var t=i._.missingOrEmpty(e),o=new i.ChangedPath(!1,this.rootNode);return(t||this.gridOptionsWrapper.isTreeData())&&o.setInactive(),o},t.prototype.isSuppressModelUpdateAfterUpdateTransaction=function(e){if(!this.gridOptionsWrapper.isSuppressModelUpdateAfterUpdateTransaction())return!1;if(null==e.rowNodeTransactions)return!1;var t=i._.filter(e.rowNodeTransactions,(function(e){return null!=e.add&&e.add.length>0||null!=e.remove&&e.remove.length>0}));return null==t||0==t.length},t.prototype.refreshModel=function(e){var t=this;if(!this.isSuppressModelUpdateAfterUpdateTransaction(e)){var o=this.createChangePath(e.rowNodeTransactions);switch(e.step){case i.ClientSideRowModelSteps.EVERYTHING:this.doRowGrouping(e.groupState,e.rowNodeTransactions,e.rowNodeOrder,o,!!e.afterColumnsChanged);case i.ClientSideRowModelSteps.FILTER:this.doFilter(o);case i.ClientSideRowModelSteps.PIVOT:this.doPivot(o);case i.ClientSideRowModelSteps.AGGREGATE:this.doAggregate(o);case i.ClientSideRowModelSteps.SORT:this.doSort(e.rowNodeTransactions,o);case i.ClientSideRowModelSteps.MAP:this.doRowsToDisplay()}var r=this.setRowTopAndRowIndex();this.clearRowTopAndRowIndex(o,r);var n={type:i.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,animate:e.animate,keepRenderedRows:e.keepRenderedRows,newData:e.newData,newPage:!1};this.eventService.dispatchEvent(n),this.$scope&&window.setTimeout((function(){t.$scope.$apply()}),0)}},t.prototype.isEmpty=function(){var e=i._.missing(this.rootNode.allLeafChildren)||0===this.rootNode.allLeafChildren.length;return i._.missing(this.rootNode)||e||!this.columnModel.isReady()},t.prototype.isRowsToRender=function(){return i._.exists(this.rowsToDisplay)&&this.rowsToDisplay.length>0},t.prototype.getNodesInRangeForSelection=function(e,t){var o,r=!t,n=!1,i=[],s=this.gridOptionsWrapper.isGroupSelectsChildren();return this.forEachNodeAfterFilterAndSort((function(a){var p=r&&!n;if(r||a!==t&&a!==e||(r=!0),!a.group||!s){var d=r&&!n,l=a.isParentOfNode(o);(d||l)&&i.push(a)}p&&(a!==t&&a!==e||(n=!0,o=a===t?t:e))})),i},t.prototype.setDatasource=function(e){console.error("AG Grid: should never call setDatasource on clientSideRowController")},t.prototype.getTopLevelNodes=function(){return this.rootNode?this.rootNode.childrenAfterGroup:null},t.prototype.getRootNode=function(){return this.rootNode},t.prototype.getRow=function(e){return this.rowsToDisplay[e]},t.prototype.isRowPresent=function(e){return this.rowsToDisplay.indexOf(e)>=0},t.prototype.getRowIndexAtPixel=function(e){if(this.isEmpty())return-1;var t=0,o=this.rowsToDisplay.length-1;if(e<=0)return 0;if(i._.last(this.rowsToDisplay).rowTop<=e)return this.rowsToDisplay.length-1;for(;;){var r=Math.floor((t+o)/2),n=this.rowsToDisplay[r];if(this.isRowInPixel(n,e))return r;n.rowTop<e?t=r+1:n.rowTop>e&&(o=r-1)}},t.prototype.isRowInPixel=function(e,t){var o=e.rowTop,r=e.rowTop+e.rowHeight;return o<=t&&r>t},t.prototype.forEachLeafNode=function(e){this.rootNode.allLeafChildren&&this.rootNode.allLeafChildren.forEach((function(t,o){return e(t,o)}))},t.prototype.forEachNode=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterGroup,e,n.Normal,0)},t.prototype.forEachNodeAfterFilter=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterFilter,e,n.AfterFilter,0)},t.prototype.forEachNodeAfterFilterAndSort=function(e){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterSort,e,n.AfterFilterAndSort,0)},t.prototype.forEachPivotNode=function(e){this.recursivelyWalkNodesAndCallback([this.rootNode],e,n.PivotNodes,0)},t.prototype.recursivelyWalkNodesAndCallback=function(e,t,o,r){if(!e)return r;for(var i=0;i<e.length;i++){var s=e[i];if(t(s,r++),s.hasChildren()){var a=null;switch(o){case n.Normal:a=s.childrenAfterGroup;break;case n.AfterFilter:a=s.childrenAfterFilter;break;case n.AfterFilterAndSort:a=s.childrenAfterSort;break;case n.PivotNodes:a=s.leafGroup?null:s.childrenAfterSort}a&&(r=this.recursivelyWalkNodesAndCallback(a,t,o,r))}}return r},t.prototype.doAggregate=function(e){this.aggregationStage&&this.aggregationStage.execute({rowNode:this.rootNode,changedPath:e})},t.prototype.expandOrCollapseAll=function(e){var t=this.gridOptionsWrapper.isTreeData();this.rootNode&&function o(r){r&&r.forEach((function(r){(t?i._.exists(r.childrenAfterGroup):r.group)&&(r.expanded=e,o(r.childrenAfterGroup))}))}(this.rootNode.childrenAfterGroup),this.refreshModel({step:i.ClientSideRowModelSteps.MAP});var o=e?"expandAll":"collapseAll",r={api:this.gridApi,columnApi:this.columnApi,type:i.Events.EVENT_EXPAND_COLLAPSE_ALL,source:o};this.eventService.dispatchEvent(r)},t.prototype.doSort=function(e,t){this.sortStage.execute({rowNode:this.rootNode,rowNodeTransactions:e,changedPath:t})},t.prototype.doRowGrouping=function(e,t,o,r,n){this.groupStage?(t?this.groupStage.execute({rowNode:this.rootNode,rowNodeTransactions:t,rowNodeOrder:o,changedPath:r}):(this.groupStage.execute({rowNode:this.rootNode,changedPath:r,afterColumnsChanged:n}),this.restoreGroupState(e)),this.gridOptionsWrapper.isGroupSelectsChildren()&&this.selectionService.updateGroupsFromChildrenSelections(r)):(this.rootNode.childrenAfterGroup=this.rootNode.allLeafChildren,this.rootNode.sibling&&(this.rootNode.sibling.childrenAfterGroup=this.rootNode.childrenAfterGroup),this.rootNode.updateHasChildren())},t.prototype.restoreGroupState=function(e){e&&i._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(t,o){"boolean"==typeof e[o]&&(t.expanded=e[o])}))},t.prototype.doFilter=function(e){this.filterStage.execute({rowNode:this.rootNode,changedPath:e})},t.prototype.doPivot=function(e){this.pivotStage&&this.pivotStage.execute({rowNode:this.rootNode,changedPath:e})},t.prototype.getGroupState=function(){if(!this.rootNode.childrenAfterGroup||!this.gridOptionsWrapper.isRememberGroupStateWhenNewData())return null;var e={};return i._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(t,o){return e[o]=t.expanded})),e},t.prototype.getCopyOfNodesMap=function(){return this.nodeManager.getCopyOfNodesMap()},t.prototype.getRowNode=function(e){if("string"==typeof e&&0==e.indexOf(i.RowNode.ID_PREFIX_ROW_GROUP)){var t=void 0;return this.forEachNode((function(o){o.id===e&&(t=o)})),t}return this.nodeManager.getRowNode(e)},t.prototype.setRowData=function(e){var t=this.getGroupState();this.nodeManager.setRowData(e);var o={type:i.Events.EVENT_ROW_DATA_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,groupState:t,newData:!0})},t.prototype.batchUpdateRowData=function(e,t){var o=this;if(null==this.applyAsyncTransactionsTimeout){this.rowDataTransactionBatch=[];var r=this.gridOptionsWrapper.getAsyncTransactionWaitMillis();this.applyAsyncTransactionsTimeout=window.setTimeout((function(){o.executeBatchUpdateRowData()}),r)}this.rowDataTransactionBatch.push({rowDataTransaction:e,callback:t})},t.prototype.flushAsyncTransactions=function(){null!=this.applyAsyncTransactionsTimeout&&(clearTimeout(this.applyAsyncTransactionsTimeout),this.executeBatchUpdateRowData())},t.prototype.executeBatchUpdateRowData=function(){var e=this;this.valueCache.onDataChanged();var t=[],o=[],r=!1;if(this.rowDataTransactionBatch&&this.rowDataTransactionBatch.forEach((function(n){var i=e.nodeManager.updateRowData(n.rowDataTransaction,void 0);o.push(i),n.callback&&t.push(n.callback.bind(null,i)),"number"==typeof n.rowDataTransaction.addIndex&&(r=!0)})),this.commonUpdateRowData(o,void 0,r),t.length>0&&window.setTimeout((function(){t.forEach((function(e){return e()}))}),0),o.length>0){var n={api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),type:i.Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED,results:o};this.eventService.dispatchEvent(n)}this.rowDataTransactionBatch=null,this.applyAsyncTransactionsTimeout=void 0},t.prototype.updateRowData=function(e,t){this.valueCache.onDataChanged();var o=this.nodeManager.updateRowData(e,t),r="number"==typeof e.addIndex;return this.commonUpdateRowData([o],t,r),o},t.prototype.createRowNodeOrder=function(){if(!this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder()){var e={};if(this.rootNode&&this.rootNode.allLeafChildren)for(var t=0;t<this.rootNode.allLeafChildren.length;t++)e[this.rootNode.allLeafChildren[t].id]=t;return e}},t.prototype.commonUpdateRowData=function(e,t,o){o&&(t=this.createRowNodeOrder()),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,rowNodeTransactions:e,rowNodeOrder:t,keepRenderedRows:!0,animate:!0,keepEditingRows:!0});var r={type:i.Events.EVENT_ROW_DATA_UPDATED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(r)},t.prototype.doRowsToDisplay=function(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})},t.prototype.onRowHeightChanged=function(){this.refreshModel({step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,keepEditingRows:!0})},t.prototype.resetRowHeights=function(){var e=!1;this.forEachNode((function(t){t.setRowHeight(t.rowHeight,!0);var o=t.detailNode;o&&o.setRowHeight(o.rowHeight,!0),e=!0})),e&&this.onRowHeightChanged()},d([(0,i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),d([(0,i.Autowired)("$scope")],t.prototype,"$scope",void 0),d([(0,i.Autowired)("selectionService")],t.prototype,"selectionService",void 0),d([(0,i.Autowired)("valueCache")],t.prototype,"valueCache",void 0),d([(0,i.Autowired)("columnApi")],t.prototype,"columnApi",void 0),d([(0,i.Autowired)("gridApi")],t.prototype,"gridApi",void 0),d([(0,i.Autowired)("animationFrameService")],t.prototype,"animationFrameService",void 0),d([(0,i.Autowired)("beans")],t.prototype,"beans",void 0),d([(0,i.Autowired)("filterStage")],t.prototype,"filterStage",void 0),d([(0,i.Autowired)("sortStage")],t.prototype,"sortStage",void 0),d([(0,i.Autowired)("flattenStage")],t.prototype,"flattenStage",void 0),d([(0,i.Optional)("groupStage")],t.prototype,"groupStage",void 0),d([(0,i.Optional)("aggregationStage")],t.prototype,"aggregationStage",void 0),d([(0,i.Optional)("pivotStage")],t.prototype,"pivotStage",void 0),d([i.PostConstruct],t.prototype,"init",null),d([(0,i.Bean)("rowModel")],t)}(i.BeanStub),u=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),c=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.execute=function(e){var t=e.rowNode,o=e.changedPath;this.filterService.filter(o),this.selectableService.updateSelectableAfterFiltering(t)},c([(0,i.Autowired)("selectableService")],t.prototype,"selectableService",void 0),c([(0,i.Autowired)("filterService")],t.prototype,"filterService",void 0),c([(0,i.Bean)("filterStage")],t)}(i.BeanStub),f=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),g=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.execute=function(e){var t=this.sortController.getSortOptions(),o=i._.exists(t)&&t.length>0,r=o&&i._.exists(e.rowNodeTransactions)&&this.gridOptionsWrapper.isDeltaSort(),n=r?this.calculateDirtyNodes(e.rowNodeTransactions):null,s=i._.missingOrEmpty(this.columnModel.getValueColumns()),a=i._.some(t,(function(e){return!!e.column.getColDef().showRowGroup}));this.sortService.sort(t,o,r,n,e.changedPath,s,a)},t.prototype.calculateDirtyNodes=function(e){var t={},o=function(e){e&&e.forEach((function(e){return t[e.id]=!0}))};return e&&e.forEach((function(e){o(e.add),o(e.update),o(e.remove)})),t},g([(0,i.Autowired)("sortService")],t.prototype,"sortService",void 0),g([(0,i.Autowired)("sortController")],t.prototype,"sortController",void 0),g([(0,i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),g([(0,i.Bean)("sortStage")],t)}(i.BeanStub),y=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),v=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.prototype.execute=function(e){var t=e.rowNode,o=[],r={value:0},n=this.columnModel.isPivotMode(),i=n&&t.leafGroup,s=i?[t]:t.childrenAfterSort;return this.recursivelyAddToRowsToDisplay(s,o,r,n,0),!i&&o.length>0&&this.gridOptionsWrapper.isGroupIncludeTotalFooter()&&(this.ensureFooterNodeExists(t),this.addRowNodeToRowsToDisplay(t.sibling,o,r,0)),o},t.prototype.recursivelyAddToRowsToDisplay=function(e,t,o,r,n){if(!i._.missingOrEmpty(e))for(var s=this.gridOptionsWrapper.isGroupHideOpenParents(),a=this.gridOptionsWrapper.isGroupRemoveSingleChildren(),p=!a&&this.gridOptionsWrapper.isGroupRemoveLowestSingleChildren(),d=0;d<e.length;d++){var l=e[d],u=l.hasChildren(),c=r&&!u,h=a&&u&&1===l.childrenAfterGroup.length,f=p&&u&&l.leafGroup&&1===l.childrenAfterGroup.length,g=r&&l.leafGroup,w=s&&l.expanded&&!g;if(!(c||w||h||f)&&this.addRowNodeToRowsToDisplay(l,t,o,n),!r||!l.leafGroup)if(u){var y=h||f;if(l.expanded||y){var v=y?n:n+1;this.recursivelyAddToRowsToDisplay(l.childrenAfterSort,t,o,r,v),this.gridOptionsWrapper.isGroupIncludeFooter()&&(this.ensureFooterNodeExists(l),this.addRowNodeToRowsToDisplay(l.sibling,t,o,n))}}else if(l.master&&l.expanded){var R=this.createDetailNode(l);this.addRowNodeToRowsToDisplay(R,t,o,n)}}},t.prototype.addRowNodeToRowsToDisplay=function(e,t,o,r){var n=this.gridOptionsWrapper.isGroupMultiAutoColumn();t.push(e),e.setUiLevel(n?0:r)},t.prototype.ensureFooterNodeExists=function(e){if(!i._.exists(e.sibling)){var t=new i.RowNode(this.beans);Object.keys(e).forEach((function(o){t[o]=e[o]})),t.footer=!0,t.setRowTop(null),t.setRowIndex(null),t.oldRowTop=null,i._.exists(t.id)&&(t.id="rowGroupFooter_"+t.id),t.sibling=e,e.sibling=t}},t.prototype.createDetailNode=function(e){if(i._.exists(e.detailNode))return e.detailNode;var t=new i.RowNode(this.beans);return t.detail=!0,t.selectable=!1,t.parent=e,i._.exists(e.id)&&(t.id="detail_"+e.id),t.data=e.data,t.level=e.level+1,e.detailNode=t,t},v([(0,i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),v([(0,i.Autowired)("beans")],t.prototype,"beans",void 0),v([(0,i.Bean)("flattenStage")],t)}(i.BeanStub),C=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),m=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.init=function(){this.postSortFunc=this.gridOptionsWrapper.getPostSortFunc()},t.prototype.sort=function(e,t,o,r,n,s,a){var p=this,d=this.gridOptionsWrapper.isGroupMaintainOrder(),l=i._.some(this.columnModel.getAllGridColumns(),(function(e){return e.isRowGroupActive()}));n&&n.forEachChangedNodeDepthFirst((function(i){if(p.pullDownGroupDataForHideOpenParents(i.childrenAfterFilter,!0),t){var u=d&&l&&!i.leafGroup&&!a;i.childrenAfterSort=u?i.childrenAfterFilter.slice(0):o?p.doDeltaSort(i,e,r,n,s):p.rowNodeSorter.doFullSort(i.childrenAfterFilter,e)}else i.childrenAfterSort=i.childrenAfterFilter.slice(0);i.sibling&&(i.sibling.childrenAfterSort=i.childrenAfterSort),p.updateChildIndexes(i),p.postSortFunc&&p.postSortFunc(i.childrenAfterSort)})),this.updateGroupDataForHideOpenParents(n)},t.prototype.mapNodeToSortedNode=function(e,t){return{currentPos:t,rowNode:e}},t.prototype.doDeltaSort=function(e,t,o,r,n){var i=e.childrenAfterSort.filter((function(e){var t=!o[e.id],i=n||r&&r.canSkip(e);return t&&i})).map(this.mapNodeToSortedNode.bind(this)),s={};i.forEach((function(e){return s[e.rowNode.id]=e.rowNode}));var a=e.childrenAfterFilter.filter((function(e){return!s[e.id]})).map(this.mapNodeToSortedNode.bind(this));return a.sort(this.rowNodeSorter.compareRowNodes.bind(this,t)),(0===a.length?i:0===i.length?a:this.mergeSortedArrays(t,i,a)).map((function(e){return e.rowNode}))},t.prototype.mergeSortedArrays=function(e,t,o){for(var r=[],n=0,i=0;n<t.length&&i<o.length;)this.rowNodeSorter.compareRowNodes(e,t[n],o[i])<0?r.push(t[n++]):r.push(o[i++]);for(;n<t.length;)r.push(t[n++]);for(;i<o.length;)r.push(o[i++]);return r},t.prototype.updateChildIndexes=function(e){if(!i._.missing(e.childrenAfterSort))for(var t=e.childrenAfterSort,o=0;o<t.length;o++){var r=t[o],n=0===o,s=o===e.childrenAfterSort.length-1;r.setFirstChild(n),r.setLastChild(s),r.setChildIndex(o)}},t.prototype.updateGroupDataForHideOpenParents=function(e){var t=this;if(this.gridOptionsWrapper.isGroupHideOpenParents()){if(this.gridOptionsWrapper.isTreeData())return i._.doOnce((function(){return console.warn("AG Grid: The property hideOpenParents dose not work with Tree Data. This is because Tree Data has values at the group level, it doesn't make sense to hide them (as opposed to Row Grouping, which only has Aggregated Values at the group level).")}),"sortService.hideOpenParentsWithTreeData"),!1;var o=function(e){t.pullDownGroupDataForHideOpenParents(e.childrenAfterSort,!1),e.childrenAfterSort.forEach((function(e){e.hasChildren()&&o(e)}))};e&&e.executeFromRootNode((function(e){return o(e)}))}},t.prototype.pullDownGroupDataForHideOpenParents=function(e,t){var o=this;this.gridOptionsWrapper.isGroupHideOpenParents()&&!i._.missing(e)&&e.forEach((function(e){o.columnModel.getGroupDisplayColumns().forEach((function(r){var n=r.getColDef().showRowGroup;if("string"==typeof n){var i=n,s=o.columnModel.getPrimaryColumn(i);if(s!==e.rowGroupColumn)if(t)e.setGroupValue(r.getId(),void 0);else{var a=e.getFirstChildOfFirstChild(s);a&&e.setGroupValue(r.getId(),a.key)}}else console.error("AG Grid: groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup")}))}))},m([(0,i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),m([(0,i.Autowired)("rowNodeSorter")],t.prototype,"rowNodeSorter",void 0),m([i.PostConstruct],t.prototype,"init",null),m([(0,i.Bean)("sortService")],t)}(i.BeanStub),N=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),S=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.prototype.postConstruct=function(){this.doingTreeData=this.gridOptionsWrapper.isTreeData()},t.prototype.filter=function(e){var t=this.filterManager.isAnyFilterPresent();this.filterNodes(t,e)},t.prototype.filterNodes=function(e,t){var o=this,r=function(t,r){t.hasChildren()?(t.childrenAfterFilter=e&&!r?t.childrenAfterGroup.filter((function(e){var t=e.childrenAfterFilter&&e.childrenAfterFilter.length>0,r=e.data&&o.filterManager.doesRowPassFilter({rowNode:e});return t||r})):t.childrenAfterGroup,o.setAllChildrenCount(t)):(t.childrenAfterFilter=t.childrenAfterGroup,t.setAllChildrenCount(null)),t.sibling&&(t.sibling.childrenAfterFilter=t.childrenAfterFilter)};if(this.doingTreeDataFiltering()){var n=function(e,t){if(e.childrenAfterGroup)for(var i=0;i<e.childrenAfterGroup.length;i++){var s=e.childrenAfterGroup[i],a=t||o.filterManager.doesRowPassFilter({rowNode:s});s.childrenAfterGroup?n(e.childrenAfterGroup[i],a):r(s,a)}r(e,t)};t.executeFromRootNode((function(e){return n(e,!1)}))}else t.forEachChangedNodeDepthFirst((function(e){return r(e,!1)}),!0)},t.prototype.setAllChildrenCountTreeData=function(e){var t=0;e.childrenAfterFilter.forEach((function(e){t++,t+=e.allChildrenCount})),e.setAllChildrenCount(t)},t.prototype.setAllChildrenCountGridGrouping=function(e){var t=0;e.childrenAfterFilter.forEach((function(e){e.group?t+=e.allChildrenCount:t++})),e.setAllChildrenCount(t)},t.prototype.setAllChildrenCount=function(e){this.doingTreeData?this.setAllChildrenCountTreeData(e):this.setAllChildrenCountGridGrouping(e)},t.prototype.doingTreeDataFiltering=function(){return this.gridOptionsWrapper.isTreeData()&&!this.gridOptionsWrapper.isExcludeChildrenWhenTreeDataFiltering()},S([(0,i.Autowired)("filterManager")],t.prototype,"filterManager",void 0),S([i.PostConstruct],t.prototype,"postConstruct",null),S([(0,i.Bean)("filterService")],t)}(i.BeanStub),E=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),_=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.postConstruct=function(){this.rowModel.getType()===i.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel)},t.prototype.createTransactionForRowData=function(e){if(i._.missing(this.clientSideRowModel))console.error("AG Grid: ImmutableService only works with ClientSideRowModel");else{var t=this.gridOptionsWrapper.getRowNodeIdFunc();if(t&&!i._.missing(t)){var o={remove:[],update:[],add:[]},r=this.clientSideRowModel.getCopyOfNodesMap(),n=this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder()?null:{};return i._.exists(e)&&e.forEach((function(e,i){var s=t(e),a=r[s];n&&(n[s]=i),a?(a.data!==e&&o.update.push(e),r[s]=void 0):o.add.push(e)})),i._.iterateObject(r,(function(e,t){t&&o.remove.push(t.data)})),[o,n]}console.error("AG Grid: ImmutableService requires getRowNodeId() callback to be implemented, your row data need IDs!")}},_([(0,i.Autowired)("rowModel")],t.prototype,"rowModel",void 0),_([i.PostConstruct],t.prototype,"postConstruct",null),_([(0,i.Bean)("immutableService")],t)}(i.BeanStub),M={moduleName:i.ModuleNames.ClientSideRowModelModule,beans:[h,w,R,A,O,b],rowModels:{clientSide:l}}},316:(e,t,o)=>{"use strict";o.d(t,{z0:()=>s,WK:()=>a,IF:()=>h,jM:()=>y,aV:()=>p,Y:()=>w,aC:()=>n,IU:()=>R,EH:()=>m});var r,n,i=o(7694),s=function(){function e(){}return e.prototype.setBeans=function(e){this.beans=e},e.prototype.getFileName=function(e){var t=this.getDefaultFileExtension();return null!=e&&e.length||(e=this.getDefaultFileName()),-1===e.indexOf(".")?e+"."+t:e},e.prototype.getMergedParamsAndData=function(e){var t=this.mergeDefaultParams(e);return{mergedParams:t,data:this.beans.gridSerializer.serialize(this.createSerializingSession(t),t)}},e.prototype.mergeDefaultParams=function(e){var t=this.getDefaultExportParams(),o={};return i._.assign(o,t),i._.assign(o,e),o},e}(),a=function(){function e(e){this.groupColumns=[];var t=e.columnModel,o=e.valueService,r=e.gridOptionsWrapper,n=e.processCellCallback,i=e.processHeaderCallback,s=e.processGroupHeaderCallback,a=e.processRowGroupCallback;this.columnModel=t,this.valueService=o,this.gridOptionsWrapper=r,this.processCellCallback=n,this.processHeaderCallback=i,this.processGroupHeaderCallback=s,this.processRowGroupCallback=a}return e.prototype.prepare=function(e){this.groupColumns=i._.filter(e,(function(e){return!!e.getColDef().showRowGroup}))},e.prototype.extractHeaderValue=function(e){var t=this.getHeaderName(this.processHeaderCallback,e);return null!=t?t:""},e.prototype.extractRowCellValue=function(e,t,o,r,n){var i,s=this.gridOptionsWrapper.isGroupMultiAutoColumn()?n.rowGroupIndex:0;i=n&&n.group&&(t===s&&-1!==this.groupColumns.indexOf(e)||0===t&&this.gridOptionsWrapper.isGroupUseEntireRow(this.columnModel.isPivotMode()))?this.createValueForGroupNode(n):this.valueService.getValue(e,n);var a=this.processCell(o,n,e,i,this.processCellCallback,r);return null!=a?a:""},e.prototype.getHeaderName=function(e,t){return e?e({column:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}):this.columnModel.getDisplayNameForColumn(t,"csv",!0)},e.prototype.createValueForGroupNode=function(e){if(this.processRowGroupCallback)return this.processRowGroupCallback({node:e,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()});var t=[e.key];if(!this.gridOptionsWrapper.isGroupMultiAutoColumn())for(;e.parent;)e=e.parent,t.push(e.key);return t.reverse().join(" -> ")},e.prototype.processCell=function(e,t,o,r,n,i){return n?n({accumulatedRowIndex:e,column:o,node:t,value:r,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),type:i}):null!=r?r:""},e}(),p=function(){function e(){}return e.download=function(e,t){var o=document.defaultView||window;if(o)if(o.navigator.msSaveOrOpenBlob)o.navigator.msSaveOrOpenBlob(t,e);else{var r=document.createElement("a"),n=o.URL.createObjectURL(t);r.setAttribute("href",n),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.dispatchEvent(new MouseEvent("click",{bubbles:!1,cancelable:!0,view:o})),document.body.removeChild(r),o.setTimeout((function(){o.URL.revokeObjectURL(n)}),0)}else console.warn("AG Grid: There is no `window` associated with the current `document`")},e}(),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},r(e,t)},function(e,t){function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=e.call(this,t)||this;o.isFirstLine=!0,o.result="";var r=t.suppressQuotes,n=t.columnSeparator;return o.suppressQuotes=r,o.columnSeparator=n,o}return d(t,e),t.prototype.addCustomContent=function(e){var t=this;e&&("string"==typeof e?(/^\s*\n/.test(e)||this.beginNewLine(),e=e.replace(/\r?\n/g,"\r\n"),this.result+=e):e.forEach((function(e){t.beginNewLine(),e.forEach((function(e,o){0!==o&&(t.result+=t.columnSeparator),t.result+=t.putInQuotes(e.data.value||""),e.mergeAcross&&t.appendEmptyCells(e.mergeAcross)}))})))},t.prototype.onNewHeaderGroupingRow=function(){return this.beginNewLine(),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}},t.prototype.onNewHeaderGroupingRowColumn=function(e,t,o){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(e),this.appendEmptyCells(o)},t.prototype.appendEmptyCells=function(e){for(var t=1;t<=e;t++)this.result+=this.columnSeparator+this.putInQuotes("")},t.prototype.onNewHeaderRow=function(){return this.beginNewLine(),{onColumn:this.onNewHeaderRowColumn.bind(this)}},t.prototype.onNewHeaderRowColumn=function(e,t){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e))},t.prototype.onNewBodyRow=function(){return this.beginNewLine(),{onColumn:this.onNewBodyRowColumn.bind(this)}},t.prototype.onNewBodyRowColumn=function(e,t,o){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractRowCellValue(e,t,t,i.Constants.EXPORT_TYPE_CSV,o))},t.prototype.putInQuotes=function(e){return this.suppressQuotes?e:null==e?'""':("string"==typeof e?t=e:"function"==typeof e.toString?t=e.toString():(console.warn("unknown value type during csv conversion"),t=""),'"'+t.replace(/"/g,'""')+'"');var t},t.prototype.parse=function(){return this.result},t.prototype.beginNewLine=function(){this.isFirstLine||(this.result+="\r\n"),this.isFirstLine=!1},t}(a),u=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),c=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.postConstruct=function(){this.setBeans({gridSerializer:this.gridSerializer,gridOptionsWrapper:this.gridOptionsWrapper})},t.prototype.getDefaultExportParams=function(){return this.gridOptionsWrapper.getDefaultExportParams("csv")},t.prototype.export=function(e){if(this.isExportSuppressed())return console.warn("ag-grid: Export cancelled. Export is not allowed as per your configuration."),"";var t=this.getMergedParamsAndData(e),o=t.mergedParams,r=t.data,n=new Blob(["\ufeff",r],{type:window.navigator.msSaveOrOpenBlob?this.getMimeType():"octet/stream"});return p.download(this.getFileName(o.fileName),n),r},t.prototype.exportDataAsCsv=function(e){return this.export(e)},t.prototype.getDataAsCsv=function(e){return this.getMergedParamsAndData(e).data},t.prototype.getMimeType=function(){return"text/csv;charset=utf-8;"},t.prototype.getDefaultFileName=function(){return"export.csv"},t.prototype.getDefaultFileExtension=function(){return"csv"},t.prototype.createSerializingSession=function(e){var t=this,o=t.columnModel,r=t.valueService,n=t.gridOptionsWrapper,i=e,s=i.processCellCallback,a=i.processHeaderCallback,p=i.processGroupHeaderCallback,d=i.processRowGroupCallback,u=i.suppressQuotes,c=i.columnSeparator;return new l({columnModel:o,valueService:r,gridOptionsWrapper:n,processCellCallback:s||void 0,processHeaderCallback:a||void 0,processGroupHeaderCallback:p||void 0,processRowGroupCallback:d||void 0,suppressQuotes:u||!1,columnSeparator:c||","})},t.prototype.isExportSuppressed=function(){return this.gridOptionsWrapper.isSuppressCsvExport()},c([(0,i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),c([(0,i.Autowired)("valueService")],t.prototype,"valueService",void 0),c([(0,i.Autowired)("gridSerializer")],t.prototype,"gridSerializer",void 0),c([(0,i.Autowired)("gridOptionsWrapper")],t.prototype,"gridOptionsWrapper",void 0),c([i.PostConstruct],t.prototype,"postConstruct",null),c([(0,i.Bean)("csvCreator")],t)}(s),f=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),g=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s};!function(e){e[e.HEADER_GROUPING=0]="HEADER_GROUPING",e[e.HEADER=1]="HEADER",e[e.BODY=2]="BODY"}(n||(n={}));var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.serialize=function(e,t){void 0===t&&(t={});var o=this.getColumnsToExport(t.allColumns,t.columnKeys);return i._.compose(this.prepareSession(o),this.prependContent(t),this.exportColumnGroups(t,o),this.exportHeaders(t,o),this.processPinnedTopRows(t,o),this.processRows(t,o),this.processPinnedBottomRows(t,o),this.appendContent(t))(e).parse()},t.prototype.processRow=function(e,t,o,r){var n=t.shouldRowBeSkipped||function(){return!1},s=this.gridOptionsWrapper,a=s.getContext(),p=s.getApi(),d=s.getColumnApi(),l=s.isGroupRemoveSingleChildren(),u=s.isGroupHideOpenParents(),c=s.isGroupRemoveLowestSingleChildren(),h=this.columnModel.isPivotMode()?r.leafGroup:!r.group,f=t.skipGroups||t.skipRowGroups,g=c&&r.leafGroup,w=1===r.allChildrenCount&&(l||g);if(f&&t.skipGroups&&i._.doOnce((function(){return console.warn("AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.")}),"gridSerializer-skipGroups"),!(!h&&(t.skipRowGroups||w||u)||t.onlySelected&&!r.isSelected()||t.skipPinnedTop&&"top"===r.rowPinned||t.skipPinnedBottom&&"bottom"===r.rowPinned)&&(-1!==r.level||r.leafGroup)&&!n({node:r,api:p,context:a})){var y=e.onNewBodyRow();if(o.forEach((function(e,t){y.onColumn(e,t,r)})),t.getCustomContentBelowRow){var v=t.getCustomContentBelowRow({node:r,api:p,columnApi:d,context:a});v&&e.addCustomContent(v)}}},t.prototype.appendContent=function(e){return function(t){var o=e.customFooter||e.appendContent;return o&&(e.customFooter&&i._.doOnce((function(){return console.warn("AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.")}),"gridSerializer-customFooter"),t.addCustomContent(o)),t}},t.prototype.prependContent=function(e){return function(t){var o=e.customHeader||e.prependContent;return o&&(e.customHeader&&i._.doOnce((function(){return console.warn("AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.")}),"gridSerializer-customHeader"),t.addCustomContent(o)),t}},t.prototype.prepareSession=function(e){return function(t){return t.prepare(e),t}},t.prototype.exportColumnGroups=function(e,t){var o=this;return function(r){if(e.skipColumnGroupHeaders)e.columnGroups&&i._.doOnce((function(){return console.warn("AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.")}),"gridSerializer-columnGroups");else{var n=new i.GroupInstanceIdCreator,s=o.displayedGroupCreator.createDisplayedGroups(t,o.columnModel.getGridBalancedTree(),n,null);o.recursivelyAddHeaderGroups(s,r,e.processGroupHeaderCallback)}return r}},t.prototype.exportHeaders=function(e,t){return function(o){if(e.skipHeader||e.skipColumnHeaders)e.skipHeader&&i._.doOnce((function(){return console.warn("AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.")}),"gridSerializer-skipHeader");else{var r=o.onNewHeaderRow();t.forEach((function(e,t){r.onColumn(e,t,void 0)}))}return o}},t.prototype.processPinnedTopRows=function(e,t){var o=this;return function(r){var n=o.processRow.bind(o,r,e,t);return o.pinnedRowModel.forEachPinnedTopRow(n),r}},t.prototype.processRows=function(e,t){var o=this;return function(r){var n=o.rowModel,s=n.getType(),a=s===i.Constants.ROW_MODEL_TYPE_CLIENT_SIDE,p=s===i.Constants.ROW_MODEL_TYPE_SERVER_SIDE,d=!a&&e.onlySelected,l=o.processRow.bind(o,r,e,t);return o.columnModel.isPivotMode()?a?n.forEachPivotNode(l):n.forEachNode(l):e.onlySelectedAllPages||d?o.selectionService.getSelectedNodes().forEach(l):a||p?n.forEachNodeAfterFilterAndSort(l):n.forEachNode(l),r}},t.prototype.processPinnedBottomRows=function(e,t){var o=this;return function(r){var n=o.processRow.bind(o,r,e,t);return o.pinnedRowModel.forEachPinnedBottomRow(n),r}},t.prototype.getColumnsToExport=function(e,t){void 0===e&&(e=!1);var o=this.columnModel.isPivotMode();return t&&t.length?this.columnModel.getGridColumns(t):e&&!o?(this.gridOptionsWrapper.isTreeData()?this.columnModel.getGridColumns([i.Constants.GROUP_AUTO_COLUMN_ID]):[]).concat(this.columnModel.getAllPrimaryColumns()||[]):this.columnModel.getAllDisplayedColumns()},t.prototype.recursivelyAddHeaderGroups=function(e,t,o){var r=[];e.forEach((function(e){var t=e;t.getChildren&&t.getChildren().forEach((function(e){return r.push(e)}))})),e.length>0&&e[0]instanceof i.ColumnGroup&&this.doAddHeaderHeader(t,e,o),r&&r.length>0&&this.recursivelyAddHeaderGroups(r,t,o)},t.prototype.doAddHeaderHeader=function(e,t,o){var r=this,n=e.onNewHeaderGroupingRow(),i=0;t.forEach((function(e){var t,s=e;t=o?o({columnGroup:s,api:r.gridOptionsWrapper.getApi(),columnApi:r.gridOptionsWrapper.getColumnApi(),context:r.gridOptionsWrapper.getContext()}):r.columnModel.getDisplayNameForColumnGroup(s,"header"),n.onColumn(t||"",i++,s.getLeafColumns().length-1)}))},g([(0,i.Autowired)("displayedGroupCreator")],t.prototype,"displayedGroupCreator",void 0),g([(0,i.Autowired)("columnModel")],t.prototype,"columnModel",void 0),g([(0,i.Autowired)("rowModel")],t.prototype,"rowModel",void 0),g([(0,i.Autowired)("pinnedRowModel")],t.prototype,"pinnedRowModel",void 0),g([(0,i.Autowired)("selectionService")],t.prototype,"selectionService",void 0),g([(0,i.Bean)("gridSerializer")],t)}(i.BeanStub),y={moduleName:i.ModuleNames.CsvExportModule,beans:[h,w]},v="\r\n",R=function(){function e(){}return e.createHeader=function(e){void 0===e&&(e={});var t=["version"];return e.version||(e.version="1.0"),e.encoding&&t.push("encoding"),e.standalone&&t.push("standalone"),"<?xml "+t.map((function(t){return t+'="'+e[t]+'"'})).join(" ")+" ?>"},e.createXml=function(e,t){var o=this,r="";e.properties&&(e.properties.prefixedAttributes&&e.properties.prefixedAttributes.forEach((function(e){Object.keys(e.map).forEach((function(n){r+=o.returnAttributeIfPopulated(e.prefix+n,e.map[n],t)}))})),e.properties.rawMap&&Object.keys(e.properties.rawMap).forEach((function(n){r+=o.returnAttributeIfPopulated(n,e.properties.rawMap[n],t)})));var n="<"+e.name+r;return e.children||null!=e.textNode?null!=e.textNode?n+">"+e.textNode+"</"+e.name+">"+v:(n+=">\r\n",e.children&&e.children.forEach((function(e){n+=o.createXml(e,t)})),n+"</"+e.name+">"+v):n+"/>"+v},e.returnAttributeIfPopulated=function(e,t,o){if(!t&&""!==t&&0!==t)return"";var r=t;return"boolean"==typeof t&&o&&(r=o(t))," "+e+'="'+r+'"'},e}(),C=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),m=function(){function e(){}return e.addFolders=function(e){e.forEach(this.addFolder.bind(this))},e.addFolder=function(e){this.folders.push({path:e,created:new Date,isBase64:!1})},e.addFile=function(e,t,o){void 0===o&&(o=!1),this.files.push({path:e,created:new Date,content:t,isBase64:o})},e.getContent=function(e){void 0===e&&(e="application/zip");var t=this.buildFileStream(),o=this.buildUint8Array(t);return this.clearStream(),new Blob([o],{type:e})},e.clearStream=function(){this.folders=[],this.files=[]},e.buildFileStream=function(e){void 0===e&&(e="");for(var t=this.folders.concat(this.files),o=t.length,r="",n=0,i=0,s=0,a=t;s<a.length;s++){var p=a[s],d=this.getHeader(p,n),l=d.fileHeader,u=d.folderHeader,c=d.content;n+=l.length+c.length,i+=u.length,e+=l+c,r+=u}return e+r+this.buildFolderEnd(o,i,n)},e.getHeader=function(e,t){var o=e.content,r=e.path,n=e.created,s=e.isBase64,a=i._.utf8_encode,p=i._.decToHex,d=a(r),l=d!==r,u=this.convertTime(n),c=this.convertDate(n),h="";if(l){var f=p(1,1)+p(this.getFromCrc32Table(d),4)+d;h="up"+p(f.length,2)+f}var g=o?this.getConvertedContent(o,s):{size:0,content:""},w=g.size,y=g.content,v="\n\0"+(l?"\0\b":"\0\0")+"\0\0"+p(u,2)+p(c,2)+p(w?this.getFromCrc32Table(y):0,4)+p(w,4)+p(w,4)+p(d.length,2)+p(h.length,2);return{fileHeader:"PK"+v+d+h,folderHeader:"PK\0"+v+"\0\0\0\0\0\0"+(o?"\0\0\0\0":"\0\0\0")+p(t,4)+d+h,content:y||""}},e.getConvertedContent=function(e,t){return void 0===t&&(t=!1),t&&(e=e.split(";base64,")[1]),{size:(e=t?atob(e):e).length,content:e}},e.buildFolderEnd=function(e,t,o){var r=i._.decToHex;return"PK\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(o,4)+"\0\0"},e.buildUint8Array=function(e){for(var t=new Uint8Array(e.length),o=0;o<t.length;o++)t[o]=e.charCodeAt(o);return t},e.getFromCrc32Table=function(e){if(!e.length)return 0;for(var t=e.length,o=new Uint8Array(t),r=0;r<t;r++)o[r]=e.charCodeAt(r);var n=-1,i=0;for(r=0;r<t;r++)i=o[r],n=n>>>8^C[255&(n^i)];return-1^n},e.convertTime=function(e){var t=e.getHours();return t<<=6,t|=e.getMinutes(),(t<<=5)|e.getSeconds()/2},e.convertDate=function(e){var t=e.getFullYear()-1980;return t<<=4,t|=e.getMonth()+1,(t<<=5)|e.getDate()},e.folders=[],e.files=[],e}()},9386:(e,t,o)=>{"use strict";o.d(t,{f:()=>f});var r,n=o(7694),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},r(e,t)},function(e,t){function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},a=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.parentCache=o,n.params=r,n.startRow=t*r.blockSize,n.endRow=n.startRow+r.blockSize,n}return i(t,e),t.prototype.postConstruct=function(){this.createRowNodes()},t.prototype.getBlockStateJson=function(){return{id:""+this.getId(),state:{blockNumber:this.getId(),startRow:this.getStartRow(),endRow:this.getEndRow(),pageStatus:this.getState()}}},t.prototype.setDataAndId=function(e,t,o){!e.id&&e.alreadyRendered&&(e.alreadyRendered=!1),n._.exists(t)?e.setDataAndId(t,o.toString()):e.setDataAndId(void 0,void 0)},t.prototype.loadFromDatasource=function(){var e=this,t=this.createLoadParams();n._.missing(this.params.datasource.getRows)?console.warn("AG Grid: datasource is missing getRows method"):window.setTimeout((function(){e.params.datasource.getRows(t)}),0)},t.prototype.processServerFail=function(){},t.prototype.createLoadParams=function(){return{startRow:this.getStartRow(),endRow:this.getEndRow(),successCallback:this.pageLoaded.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this,this.getVersion()),sortModel:this.params.sortModel,filterModel:this.params.filterModel,context:this.gridOptionsWrapper.getContext()}},t.prototype.forEachNode=function(e,t,o){var r=this;this.rowNodes.forEach((function(n,i){r.startRow+i<o&&e(n,t.next())}))},t.prototype.getLastAccessed=function(){return this.lastAccessed},t.prototype.getRow=function(e,t){void 0===t&&(t=!1),t||(this.lastAccessed=this.params.lastAccessedSequence.next());var o=e-this.startRow;return this.rowNodes[o]},t.prototype.getStartRow=function(){return this.startRow},t.prototype.getEndRow=function(){return this.endRow},t.prototype.createRowNodes=function(){this.rowNodes=[];for(var e=0;e<this.params.blockSize;e++){var t=this.startRow+e,o=new n.RowNode(this.beans);o.setRowHeight(this.params.rowHeight),o.uiLevel=0,o.setRowIndex(t),o.setRowTop(this.params.rowHeight*t),this.rowNodes.push(o)}},t.prototype.processServerResult=function(e){var t=this;this.rowNodes.forEach((function(o,r){var n=e.rowData?e.rowData[r]:void 0;t.setDataAndId(o,n,t.startRow+r)}));var o=null!=e.rowCount&&e.rowCount>=0?e.rowCount:void 0;this.parentCache.pageLoaded(this,o)},t.prototype.destroyRowNodes=function(){this.rowNodes.forEach((function(e){e.clearRowTopAndRowIndex()}))},s([(0,n.Autowired)("beans")],t.prototype,"beans",void 0),s([n.PostConstruct],t.prototype,"postConstruct",null),s([n.PreDestroy],t.prototype,"destroyRowNodes",null),t}(n.RowNodeBlock),p=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),d=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},l=function(e){function t(t){var o=e.call(this)||this;return o.lastRowIndexKnown=!1,o.blocks={},o.blockCount=0,o.rowCount=t.initialRowCount,o.params=t,o}return p(t,e),t.prototype.setBeans=function(e){this.logger=e.create("InfiniteCache")},t.prototype.getRow=function(e,t){void 0===t&&(t=!1);var o=Math.floor(e/this.params.blockSize),r=this.blocks[o];if(!r){if(t)return;r=this.createBlock(o)}return r.getRow(e)},t.prototype.createBlock=function(e){var t=this.createBean(new a(e,this,this.params));return this.blocks[t.getId()]=t,this.blockCount++,this.purgeBlocksIfNeeded(t),this.params.rowNodeBlockLoader.addBlock(t),t},t.prototype.refreshCache=function(){0==this.blockCount?this.purgeCache():(this.getBlocksInOrder().forEach((function(e){return e.setStateWaitingToLoad()})),this.params.rowNodeBlockLoader.checkBlockToLoad())},t.prototype.destroyAllBlocks=function(){var e=this;this.getBlocksInOrder().forEach((function(t){return e.destroyBlock(t)}))},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.isLastRowIndexKnown=function(){return this.lastRowIndexKnown},t.prototype.pageLoaded=function(e,t){this.isAlive()&&(this.logger.log("onPageLoaded: page = "+e.getId()+", lastRow = "+t),this.checkRowCount(e,t),this.onCacheUpdated())},t.prototype.purgeBlocksIfNeeded=function(e){var o=this,r=this.getBlocksInOrder().filter((function(t){return t!=e}));r.sort((function(e,t){return t.getLastAccessed()-e.getLastAccessed()}));var n=this.params.maxBlocksInCache>0,i=n?this.params.maxBlocksInCache-1:null,s=t.MAX_EMPTY_BLOCKS_TO_KEEP-1;r.forEach((function(e,t){if(e.getState()===a.STATE_WAITING_TO_LOAD&&t>=s||n&&t>=i){if(o.isBlockCurrentlyDisplayed(e))return;if(o.isBlockFocused(e))return;o.removeBlockFromCache(e)}}))},t.prototype.isBlockFocused=function(e){var t=this.focusService.getFocusCellToUseAfterRefresh();if(!t)return!1;if(null!=t.rowPinned)return!1;var o=e.getStartRow(),r=e.getEndRow();return t.rowIndex>=o&&t.rowIndex<r},t.prototype.isBlockCurrentlyDisplayed=function(e){var t=e.getStartRow(),o=e.getEndRow()-1;return this.rowRenderer.isRangeInRenderedViewport(t,o)},t.prototype.removeBlockFromCache=function(e){e&&this.destroyBlock(e)},t.prototype.checkRowCount=function(e,t){if("number"==typeof t&&t>=0)this.rowCount=t,this.lastRowIndexKnown=!0;else if(!this.lastRowIndexKnown){var o=(e.getId()+1)*this.params.blockSize+this.params.overflowSize;this.rowCount<o&&(this.rowCount=o)}},t.prototype.setRowCount=function(e,t){this.rowCount=e,n._.exists(t)&&(this.lastRowIndexKnown=t),this.lastRowIndexKnown||this.rowCount%this.params.blockSize==0&&this.rowCount++,this.onCacheUpdated()},t.prototype.forEachNodeDeep=function(e){var t=this,o=new n.NumberSequence;this.getBlocksInOrder().forEach((function(r){return r.forEachNode(e,o,t.rowCount)}))},t.prototype.getBlocksInOrder=function(){return n._.getAllValuesInObject(this.blocks).sort((function(e,t){return e.getId()-t.getId()}))},t.prototype.destroyBlock=function(e){delete this.blocks[e.getId()],this.destroyBean(e),this.blockCount--,this.params.rowNodeBlockLoader.removeBlock(e)},t.prototype.onCacheUpdated=function(){if(this.isAlive()){this.destroyAllBlocksPastVirtualRowCount();var e={type:n.Events.EVENT_STORE_UPDATED};this.eventService.dispatchEvent(e)}},t.prototype.destroyAllBlocksPastVirtualRowCount=function(){var e=this,t=[];this.getBlocksInOrder().forEach((function(o){o.getId()*e.params.blockSize>=e.rowCount&&t.push(o)})),t.length>0&&t.forEach((function(t){return e.destroyBlock(t)}))},t.prototype.purgeCache=function(){var e=this;this.getBlocksInOrder().forEach((function(t){return e.removeBlockFromCache(t)})),this.lastRowIndexKnown=!1,0===this.rowCount&&(this.rowCount=this.params.initialRowCount),this.onCacheUpdated()},t.prototype.getRowNodesInRange=function(e,t){var o=this,r=[],i=-1,s=!1,a=new n.NumberSequence;n._.missing(e)&&(s=!0);var p=!1;return this.getBlocksInOrder().forEach((function(n){p||(s&&i+1!==n.getId()?p=!0:(i=n.getId(),n.forEachNode((function(o){var n=o===e||o===t;(s||n)&&r.push(o),n&&(s=!s)}),a,o.rowCount)))})),p||s?[]:r},t.MAX_EMPTY_BLOCKS_TO_KEEP=2,d([(0,n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),d([(0,n.Autowired)("focusService")],t.prototype,"focusService",void 0),d([(o=0,r=(0,n.Qualifier)("loggerFactory"),function(e,t){r(e,t,o)})],t.prototype,"setBeans",null),d([n.PreDestroy],t.prototype,"destroyAllBlocks",null),t;var o,r}(n.BeanStub),u=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},e(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),c=function(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.getRowBounds=function(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}},t.prototype.ensureRowHeightsValid=function(e,t,o,r){return!1},t.prototype.init=function(){var e=this;this.gridOptionsWrapper.isRowModelInfinite()&&(this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.addEventListeners(),this.addDestroyFunc((function(){return e.destroyCache()})),this.verifyProps())},t.prototype.verifyProps=function(){null!=this.gridOptionsWrapper.getDefaultGroupOrderComparator()&&n._.doOnce((function(){return console.warn("AG Grid: defaultGroupOrderComparator cannot be used with Infinite Row Model. If using Infinite Row Model, then sorting is done on the server side, nothing to do with the client.")}),"IRM.DefaultGroupOrderComparator")},t.prototype.start=function(){this.setDatasource(this.gridOptionsWrapper.getDatasource())},t.prototype.destroyDatasource=function(){this.datasource&&(this.getContext().destroyBean(this.datasource),this.rowRenderer.datasourceChanged(),this.datasource=null)},t.prototype.addEventListeners=function(){this.addManagedListener(this.eventService,n.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverything.bind(this)),this.addManagedListener(this.eventService,n.Events.EVENT_STORE_UPDATED,this.onCacheUpdated.bind(this))},t.prototype.onFilterChanged=function(){this.reset()},t.prototype.onSortChanged=function(){this.reset()},t.prototype.onColumnEverything=function(){(!this.cacheParams||this.isSortModelDifferent())&&this.reset()},t.prototype.isSortModelDifferent=function(){return!n._.jsonEquals(this.cacheParams.sortModel,this.sortController.getSortModel())},t.prototype.getType=function(){return n.Constants.ROW_MODEL_TYPE_INFINITE},t.prototype.setDatasource=function(e){this.destroyDatasource(),this.datasource=e,e&&this.reset()},t.prototype.isEmpty=function(){return!this.infiniteCache},t.prototype.isRowsToRender=function(){return!!this.infiniteCache},t.prototype.getNodesInRangeForSelection=function(e,t){return this.infiniteCache?this.infiniteCache.getRowNodesInRange(e,t):[]},t.prototype.reset=function(){if(this.datasource){n._.exists(this.gridOptionsWrapper.getRowNodeIdFunc())||this.selectionService.reset(),this.resetCache();var e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)}},t.prototype.createModelUpdatedEvent=function(){return{type:n.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,newPage:!1,newData:!1,keepRenderedRows:!0,animate:!1}},t.prototype.resetCache=function(){this.destroyCache();var e=this.gridOptionsWrapper.getMaxConcurrentDatasourceRequests();this.cacheParams={datasource:this.datasource,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel(),rowNodeBlockLoader:this.rowNodeBlockLoader,maxConcurrentRequests:this.defaultIfInvalid(e,2),initialRowCount:this.defaultIfInvalid(this.gridOptionsWrapper.getInfiniteInitialRowCount(),1),maxBlocksInCache:this.gridOptionsWrapper.getMaxBlocksInCache(),rowHeight:this.gridOptionsWrapper.getRowHeightAsNumber(),overflowSize:this.defaultIfInvalid(this.gridOptionsWrapper.getCacheOverflowSize(),1),blockSize:this.defaultIfInvalid(this.gridOptionsWrapper.getCacheBlockSize(),100),lastAccessedSequence:new n.NumberSequence},this.infiniteCache=this.createBean(new l(this.cacheParams))},t.prototype.defaultIfInvalid=function(e,t){return e>0?e:t},t.prototype.destroyCache=function(){this.infiniteCache&&(this.infiniteCache=this.destroyBean(this.infiniteCache))},t.prototype.onCacheUpdated=function(){var e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)},t.prototype.getRow=function(e){if(this.infiniteCache&&!(e>=this.infiniteCache.getRowCount()))return this.infiniteCache.getRow(e)},t.prototype.getRowNode=function(e){var t=void 0;return this.forEachNode((function(o){o.id===e&&(t=o)})),t},t.prototype.forEachNode=function(e){this.infiniteCache&&this.infiniteCache.forEachNodeDeep(e)},t.prototype.getTopLevelRowCount=function(){return this.getRowCount()},t.prototype.getTopLevelRowDisplayedIndex=function(e){return e},t.prototype.getRowIndexAtPixel=function(e){if(0!==this.rowHeight){var t=Math.floor(e/this.rowHeight),o=this.getRowCount()-1;return t>o?o:t}return 0},t.prototype.getRowCount=function(){return this.infiniteCache?this.infiniteCache.getRowCount():0},t.prototype.isRowPresent=function(e){return!!this.getRowNode(e.id)},t.prototype.refreshCache=function(){this.infiniteCache&&this.infiniteCache.refreshCache()},t.prototype.purgeCache=function(){this.infiniteCache&&this.infiniteCache.purgeCache()},t.prototype.isLastRowIndexKnown=function(){return!!this.infiniteCache&&this.infiniteCache.isLastRowIndexKnown()},t.prototype.setRowCount=function(e,t){this.infiniteCache&&this.infiniteCache.setRowCount(e,t)},c([(0,n.Autowired)("filterManager")],t.prototype,"filterManager",void 0),c([(0,n.Autowired)("sortController")],t.prototype,"sortController",void 0),c([(0,n.Autowired)("selectionService")],t.prototype,"selectionService",void 0),c([(0,n.Autowired)("gridApi")],t.prototype,"gridApi",void 0),c([(0,n.Autowired)("columnApi")],t.prototype,"columnApi",void 0),c([(0,n.Autowired)("rowRenderer")],t.prototype,"rowRenderer",void 0),c([(0,n.Autowired)("rowNodeBlockLoader")],t.prototype,"rowNodeBlockLoader",void 0),c([n.PostConstruct],t.prototype,"init",null),c([n.PreDestroy],t.prototype,"destroyDatasource",null),c([(0,n.Bean)("rowModel")],t)}(n.BeanStub),f={moduleName:n.ModuleNames.InfiniteRowModelModule,rowModels:{infinite:h}}}}]);
|
package/dist/294.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 294.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_lowdefy_blocks_aggrid=self.webpackChunk_lowdefy_blocks_aggrid||[]).push([[294,87],{3566:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=i(n(1371)),u=n(3669),l=n(9329),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.setGridApi=function(e,n){t.api=e,t.columnApi=n},t}return o(t,e),t.prototype.render=function(){return this.props.reactUi?s.default.createElement(l.AgGridReactUi,a({},this.props,{setGridApi:this.setGridApi})):s.default.createElement(u.AgGridReactLegacy,a({},this.props,{setGridApi:this.setGridApi}))},t}(s.Component);t.AgGridReact=c},3669:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var u=n(7694),l=i(n(7225)),c=s(n(1371)),f=n(3968),p=n(4750),d=n(60),h=n(8924),m=n(5369),y=function(e){function t(t){var n=e.call(this,t)||this;return n.props=t,n.changeDetectionService=new d.ChangeDetectionService,n.api=null,n.destroyed=!1,n.SYNCHRONOUS_CHANGE_PROPERTIES=["context"],n.portalManager=new m.PortalManager(n,t.componentWrappingElement,t.maxComponentCreationTimeMs),n}return o(t,e),t.prototype.render=function(){var e=this;return c.default.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:function(t){e.eGridDiv=t}},this.portalManager.getPortals())},t.prototype.createStyleForDiv=function(){return a({height:"100%"},this.props.containerStyle||{})},t.prototype.componentDidMount=function(){var e=this.props.modules||[],t={providedBeanInstances:{agGridReact:this,frameworkComponentWrapper:new v(this,this.portalManager)},modules:e},n=this.props.gridOptions||{},r=this.props.children;p.AgGridColumn.hasChildColumns(r)&&(n.columnDefs=p.AgGridColumn.mapChildColumnDefs(r)),this.gridOptions=u.ComponentUtil.copyAttributesToGridOptions(n,this.props),new u.Grid(this.eGridDiv,this.gridOptions,t),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi,this.props.setGridApi(this.api,this.columnApi)},t.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return d.ChangeDetectionStrategyType.IdentityCheck}return d.ChangeDetectionStrategyType.DeepValueCheck},t.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData)},t.prototype.shouldComponentUpdate=function(e){return this.processPropsChanges(this.props,e),!1},t.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},t.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processSynchronousChanges(n),this.processAsynchronousChanges(n)},t.prototype.extractDeclarativeColDefChanges=function(e,t){if(!(this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs)){var n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs;if(p.AgGridColumn.hasChildColumns(e.children)){var a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),i=p.AgGridColumn.mapChildColumnDefs(e.children);a.areEqual(o,i)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:i})}else o&&o.length>0&&(t[r]={previousValue:o,currentValue:[]})}},t.prototype.extractGridPropertyChanges=function(e,t,n){var r=this,o=!!t.debug;Object.keys(t).forEach((function(a){u._.includes(u.ComponentUtil.ALL_PROPERTIES,a)&&(r.changeDetectionService.getStrategy(r.getStrategyTypeForProp(a)).areEqual(e[a],t[a])||(o&&console.log("agGridReact: ["+a+"] property changed"),n[a]={previousValue:e[a],currentValue:t[a]}))})),u.ComponentUtil.getEventCallbacks().forEach((function(r){e[r]!==t[r]&&(o&&console.log("agGridReact: ["+r+"] event callback changed"),n[r]={previousValue:e[r],currentValue:t[r]})}))},t.prototype.componentWillUnmount=function(){this.api&&(this.api.destroy(),this.api=null),this.destroyed=!0,this.portalManager.destroy()},t.prototype.isDisableStaticMarkup=function(){return!0===this.props.disableStaticMarkup},t.prototype.isLegacyComponentRendering=function(){return!0===this.props.legacyComponentRendering},t.prototype.processSynchronousChanges=function(e){var t=a({},e);if(Object.keys(t).length>0){var n={};this.SYNCHRONOUS_CHANGE_PROPERTIES.forEach((function(e){t[e]&&(n[e]=t[e],delete t[e])})),Object.keys(n).length>0&&this.api&&u.ComponentUtil.processOnChange(n,this.gridOptions,this.api,this.columnApi)}return t},t.prototype.processAsynchronousChanges=function(e){var t=this;Object.keys(e).length>0&&window.setTimeout((function(){t.api&&u.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)}))},t.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3,t.defaultProps={legacyComponentRendering:!1,disableStaticMarkup:!1,maxComponentCreationTimeMs:t.MAX_COMPONENT_CREATION_TIME_IN_MS},t}(c.Component);function g(e,t){e.forEach((function(e){y[e]=t}))}t.AgGridReactLegacy=y,y.propTypes={gridOptions:l.default.object},g(u.ComponentUtil.getEventCallbacks(),l.default.func),g(u.ComponentUtil.BOOLEAN_PROPERTIES,l.default.bool),g(u.ComponentUtil.STRING_PROPERTIES,l.default.string),g(u.ComponentUtil.OBJECT_PROPERTIES,l.default.object),g(u.ComponentUtil.ARRAY_PROPERTIES,l.default.array),g(u.ComponentUtil.NUMBER_PROPERTIES,l.default.number),g(u.ComponentUtil.FUNCTION_PROPERTIES,l.default.func);var v=function(e){function t(t,n){var r=e.call(this)||this;return r.agGridReact=t,r.portalManager=n,r}return o(t,e),t.prototype.createWrapper=function(e,t){return this.agGridReact.isLegacyComponentRendering()?new f.LegacyReactComponent(e,this.agGridReact,this.portalManager,t):new h.NewReactComponent(e,this.portalManager,t)},t}(u.BaseComponentWrapper)},3968:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(1371),s=n(4145),u=n(7694),l=n(815),c=n(4143),f=a(n(5210)),p=function(e){function t(t,n,r,o){var a=e.call(this,t,r,o)||this;return a.staticMarkup=null,a.staticRenderTime=0,a.parentComponent=n,a}return o(t,e),t.prototype.init=function(e){var t=this;return this.eParentElement=this.createParentElement(e),this.renderStaticMarkup(e),new u.AgPromise((function(n){return t.createReactComponent(e,n)}))},t.prototype.createReactComponent=function(e,t){var n=this;this.isStatelessComponent()||(e.ref=function(e){n.componentInstance=e,n.addParentContainerStyleAndClasses(),n.removeStaticMarkup()});var r=i.createElement(this.reactComponent,e),o=s.createPortal(r,this.eParentElement,f.default());this.portal=o,this.portalManager.mountReactPortal(o,this,(function(e){t(e),n.isStatelessComponent()&&(n.isSlowRenderer()&&n.removeStaticMarkup(),setTimeout((function(){n.removeStaticMarkup()})))}))},t.prototype.fallbackMethodAvailable=function(e){return!1},t.prototype.fallbackMethod=function(e,t){},t.prototype.isSlowRenderer=function(){return this.staticRenderTime>=t.SLOW_RENDERING_THRESHOLD},t.prototype.isNullValue=function(){return""===this.staticMarkup},t.prototype.renderStaticMarkup=function(e){if(!(this.parentComponent.isDisableStaticMarkup()||this.componentType.isCellRenderer&&!this.componentType.isCellRenderer())){var t=console.error,n=i.createElement(this.reactComponent,e);try{console.error=function(){};var r=Date.now(),o=c.renderToStaticMarkup(n);this.staticRenderTime=Date.now()-r,console.error=t,""===o?this.staticMarkup=o:o&&(this.staticMarkup=document.createElement("span"),this.staticMarkup.innerHTML=o,this.eParentElement.appendChild(this.staticMarkup))}catch(e){}finally{console.error=t}}},t.prototype.removeStaticMarkup=function(){!this.parentComponent.isDisableStaticMarkup()&&this.componentType.isCellRenderer()&&this.staticMarkup&&(this.staticMarkup.remove?(this.staticMarkup.remove(),this.staticMarkup=null):this.eParentElement.removeChild&&(this.eParentElement.removeChild(this.staticMarkup),this.staticMarkup=null))},t.prototype.rendered=function(){return this.isNullValue()||!!this.staticMarkup||this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},t.SLOW_RENDERING_THRESHOLD=3,t}(l.ReactComponent);t.LegacyReactComponent=p},9329:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=n(7694),l=i(n(1371)),c=n(4750),f=n(60),p=n(8924),d=n(5369),h=s(n(9791)),m=n(8313),y=function(e){function t(t){var n=e.call(this,t)||this;return n.props=t,n.destroyFuncs=[],n.changeDetectionService=new f.ChangeDetectionService,n.eGui=l.default.createRef(),n.state={context:void 0},n.portalManager=new d.PortalManager(n,t.componentWrappingElement,t.maxComponentCreationTimeMs),n}return o(t,e),t.prototype.render=function(){return l.default.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:this.eGui},this.state.context&&l.default.createElement(h.default,{context:this.state.context}),this.portalManager.getPortals())},t.prototype.createStyleForDiv=function(){return a({height:"100%"},this.props.containerStyle||{})},t.prototype.componentDidMount=function(){var e=this,t=this.props.modules||[],n={providedBeanInstances:{frameworkComponentWrapper:new g(this.portalManager)},modules:t,frameworkOverrides:new m.ReactFrameworkOverrides};this.gridOptions=a({},this.props.gridOptions);var r=this.props.children;c.AgGridColumn.hasChildColumns(r)&&(this.gridOptions.columnDefs=c.AgGridColumn.mapChildColumnDefs(r)),this.gridOptions=u.ComponentUtil.copyAttributesToGridOptions(this.gridOptions,this.props),(new u.GridCoreCreator).create(this.eGui.current,this.gridOptions,(function(t){e.setState({context:t})}),n),this.destroyFuncs.push((function(){return e.gridOptions.api.destroy()})),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi,this.props.setGridApi(this.api,this.columnApi)},t.prototype.componentWillUnmount=function(){this.destroyFuncs.forEach((function(e){return e()}))},t.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},t.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processChanges(n)},t.prototype.extractDeclarativeColDefChanges=function(e,t){if(!(this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs)){var n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs;if(c.AgGridColumn.hasChildColumns(e.children)){var a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),i=c.AgGridColumn.mapChildColumnDefs(e.children);a.areEqual(o,i)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:i})}else o&&o.length>0&&(t[r]={previousValue:o,currentValue:[]})}},t.prototype.extractGridPropertyChanges=function(e,t,n){var r=this,o=!!t.debug;Object.keys(t).forEach((function(a){u._.includes(u.ComponentUtil.ALL_PROPERTIES,a)&&(r.changeDetectionService.getStrategy(r.getStrategyTypeForProp(a)).areEqual(e[a],t[a])||(o&&console.log("agGridReact: ["+a+"] property changed"),n[a]={previousValue:e[a],currentValue:t[a]}))})),u.ComponentUtil.getEventCallbacks().forEach((function(r){e[r]!==t[r]&&(o&&console.log("agGridReact: ["+r+"] event callback changed"),n[r]={previousValue:e[r],currentValue:t[r]})}))},t.prototype.processChanges=function(e){this.api&&u.ComponentUtil.processOnChange(e,this.gridOptions,this.api,this.columnApi)},t.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return f.ChangeDetectionStrategyType.IdentityCheck}return f.ChangeDetectionStrategyType.DeepValueCheck},t.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData)},t}(l.Component);t.AgGridReactUi=y;var g=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,n}return o(t,e),t.prototype.createWrapper=function(e,t){return new p.NewReactComponent(e,this.parent,t)},t.prototype.unwrap=function(e){return e&&e.getFrameworkComponentInstance?e.getFrameworkComponentInstance():e},t}(u.BaseComponentWrapper)},2671:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1371));t.BeansContext=o.default.createContext({})},7246:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1371)),i=n(9227),s=n(2671),u=n(9329);t.default=a.forwardRef((function(e,t){var n=a.useContext(s.BeansContext),o=n.ctrlsFactory,l=n.context,c=n.gridOptionsWrapper,f=n.resizeObserverService,p=n.clientSideRowModel,d=n.serverSideRowModel,h=a.useState(new i.CssClasses),m=h[0],y=h[1],g=a.useState(new i.CssClasses),v=g[0],C=g[1],_=a.useState(),w=_[0],S=_[1],E=a.useState(),O=E[0],b=E[1],R=a.useRef(),P=a.useRef(null),M=a.useMemo((function(){return m.toString()+" ag-details-row"}),[m]),x=a.useMemo((function(){return v.toString()+" ag-details-grid"}),[v]);t&&a.useImperativeHandle(t,(function(){return{refresh:function(){return R.current.refresh()}}})),a.useEffect((function(){e.template&&console.warn("AG Grid: detailCellRendererParams.template is not supported by React UI - this only works with frameworks that work against String templates. To change the template, please provide your own React Detail Cell Renderer.")}),[]),a.useEffect((function(){var t={addOrRemoveCssClass:function(e,t){return y((function(n){return n.setClass(e,t)}))},addOrRemoveDetailGridCssClass:function(e,t){return C((function(n){return n.setClass(e,t)}))},setDetailGrid:function(e){return S(e)},setRowData:function(e){return b(e)}},n=o.getInstance("detailCellRenderer");if(n){if(l.createBean(n),n.init(t,e),R.current=n,c.isDetailRowAutoHeight()){var r=function(){var t=P.current.clientHeight;null!=t&&t>0&&setTimeout((function(){e.node.setRowHeight(t),p?p.onRowHeightChanged():d&&d.onRowHeightChanged()}),0)};f.observeResize(P.current,r),r()}return function(){l.destroyBean(n)}}}),[]);var k=a.useCallback((function(e,t){R.current.registerDetailWithMaster(e,t)}),[]);return a.default.createElement("div",{className:M,ref:P},w&&a.default.createElement(u.AgGridReactUi,r({className:x},w,{rowData:O,setGridApi:k})))}))},1802:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=n(7694),i=o(n(1371)),s=n(2671),u=n(5904),l=n(9227),c=function(e){var t=i.useContext(s.BeansContext).context,n=i.useRef(null),o=i.useRef(null),f=i.useRef(null),p=i.useRef(null),d=i.useRef(null),h=i.useState(),m=h[0],y=h[1],g=i.useState(),v=g[0],C=g[1],_=i.useState(),w=_[0],S=_[1],E=i.useState(new l.CssClasses),O=E[0],b=E[1],R=i.useState(new l.CssClasses),P=R[0],M=R[1],x=i.useState(new l.CssClasses),k=x[0],I=x[1],D=i.useState(new l.CssClasses),T=D[0],N=D[1];i.useEffect((function(){return u.showJsComp(m,t,o.current)}),[m]),i.useEffect((function(){var r={setInnerRenderer:function(e,t){y(e),S(t)},setChildCount:function(e){return C(e)},addOrRemoveCssClass:function(e,t){return b((function(n){return n.setClass(e,t)}))},setContractedDisplayed:function(e){return I((function(t){return t.setClass("ag-hidden",!e)}))},setExpandedDisplayed:function(e){return M((function(t){return t.setClass("ag-hidden",!e)}))},setCheckboxVisible:function(e){N((function(t){return t.setClass("ag-invisible",!e)}))}},o=t.createBean(new a.GroupCellRendererCtrl);return o.init(r,n.current,f.current,p.current,d.current,c,e),function(){t.destroyBean(o)}}),[]);var A=i.useMemo((function(){return"ag-cell-wrapper "+O.toString()}),[O]),F=i.useMemo((function(){return"ag-group-expanded "+P.toString()}),[P]),j=i.useMemo((function(){return"ag-group-contracted "+k.toString()}),[k]),G=i.useMemo((function(){return"ag-group-checkbox "+T.toString()}),[T]),U=m&&m.componentFromFramework,B=U?m.componentClass:void 0,L=null==m&&null!=w;return i.default.createElement("span",r({className:A,ref:n},e.colDef?{}:{role:"gridcell"}),i.default.createElement("span",{className:F,ref:p}),i.default.createElement("span",{className:j,ref:d}),i.default.createElement("span",{className:G,ref:f}),i.default.createElement("span",{className:"ag-group-value",ref:o},L&&i.default.createElement(i.default.Fragment,null,w),U&&i.default.createElement(B,r({},m.params))),i.default.createElement("span",{className:"ag-group-child-count"},v))};t.default=i.memo(c)},5620:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(7694),u=o(n(1371)),l=n(9227),c=a(n(8597)),f=a(n(6761)),p=n(2671),d=n(5904);(i=t.CellCompState||(t.CellCompState={}))[i.ShowValue=0]="ShowValue",i[i.EditValue=1]="EditValue",t.default=u.memo((function(e){var t=u.useContext(p.BeansContext).context,n=e.cellCtrl,o=e.printLayout,a=e.editingRow,i=u.useState(),h=i[0],m=i[1],y=u.useState(),g=y[0],v=y[1],C=u.useState(new l.CssClasses),_=C[0],w=C[1],S=u.useState(),E=S[0],O=S[1],b=u.useState("on"),R=b[0],P=b[1],M=u.useState(),x=M[0],k=M[1],I=u.useState(),D=I[0],T=I[1],N=u.useState(),A=N[0],F=N[1],j=u.useState(),G=j[0],U=j[1],B=u.useState(),L=B[0],W=B[1],H=u.useState(),V=H[0],q=H[1],z=u.useState(),$=z[0],J=z[1],K=u.useState(),Y=K[0],Z=K[1],X=u.useState(),Q=X[0],ee=X[1],te=u.useState(),ne=te[0],re=te[1],oe=u.useState(),ae=oe[0],ie=oe[1],se=u.useState(),ue=se[0],le=se[1],ce=u.useState(),fe=ce[0],pe=ce[1],de=u.useState(!1),he=de[0],me=de[1],ye=u.useState(!1),ge=ye[0],ve=ye[1],Ce=u.useState(!1),_e=Ce[0],we=Ce[1],Se=u.useState(!1),Ee=Se[0],Oe=Se[1],be=u.useState(),Re=be[0],Pe=be[1],Me=u.useRef(null),xe=u.useRef(null),ke=u.useRef(),Ie=u.useRef(),De=u.useState(),Te=De[0],Ne=De[1],Ae=u.useState(),Fe=Ae[0],je=Ae[1],Ge=null!=h&&(he||_e||ge||Ee),Ue=u.useCallback((function(e,t){Ie.current=t,t&&(function(e,t,n){var r=n.getColumn();if(!e&&t.isPopup&&t.isPopup()){var o="AG Grid: Found an issue in column "+r.getColId()+". If using ReactUI, specify an editor is a popup using colDef.cellEditorPopup=true";s._.doOnce((function(){return console.warn(o)}),"jsEditorComp-isPopup-"+n.getColumn().getColId())}if(e&&t.getPopupPosition&&null!=t.getPopupPosition()){var a="AG Grid: AG Grid: Found an issue in column "+r.getColId()+". If using ReactUI, specify an editor popup position using colDef.cellEditorPopupPosition=[value]";s._.doOnce((function(){return console.warn(a)}),"jsEditorComp-getPopupPosition-"+n.getColumn().getColId())}}(e,t,n),t.isCancelBeforeStart&&t.isCancelBeforeStart()&&setTimeout((function(){return n.stopEditing()}),0))}),[]),Be=u.useCallback((function(e){return Ue(!0,e)}),[]),Le=u.useCallback((function(e){return Ue(!1,e)}),[]);f.default(h,Ge,Fe,ke,Me),u.useEffect((function(){if(g&&!g.compDetails.componentFromFramework){var e=g.compDetails,n=!0===g.popup,r=d.createJsComp(e);if(r){var o=r.getGui();return Ue(n,r),n||(Me.current.appendChild(o),r.afterGuiAttached&&r.afterGuiAttached()),Pe(r),function(){t.destroyBean(r),Ue(n,void 0),Pe(void 0),o&&o.parentElement&&o.parentElement.removeChild(o)}}}}),[g]),u.useEffect((function(){if(n&&t&&(ee(Te?"cell-"+n.getInstanceId():void 0),Te)){var e=[],r=function(t){return t&&(Te.insertAdjacentElement("afterbegin",t.getGui()),e.push(t)),t};return he&&r(n.createSelectionCheckbox()),_e&&r(n.createDndSource()),ge&&r(n.createRowDragComp()),function(){t.destroyBeans(e)}}}),[_e,ge,he,Te]);var We=u.useCallback((function(e){return Ne(e)}),[]),He=u.useCallback((function(e){return je(e)}),[]);u.useEffect((function(){if(n){var e={addOrRemoveCssClass:function(e,t){return w((function(n){return n.setClass(e,t)}))},setUserStyles:function(e){return O(e)},setAriaSelected:function(e){return q(e)},setAriaExpanded:function(e){return J(e)},getFocusableElement:function(){return Me.current},setLeft:function(e){return k(e)},setWidth:function(e){return T(e)},setAriaColIndex:function(e){return Z(e)},setHeight:function(e){return F(e)},setZIndex:function(e){return re(e)},setTabIndex:function(e){return W(e)},setRole:function(e){return ie(e)},setColId:function(e){return le(e)},setTitle:function(e){return pe(e)},setUnselectable:function(e){return P(e||void 0)},setTransition:function(e){return U(e)},setIncludeSelection:function(e){return me(e)},setIncludeRowDrag:function(e){return ve(e)},setIncludeDndSource:function(e){return we(e)},setForceWrapper:function(e){return Oe(e)},getCellEditor:function(){return Ie.current||null},getCellRenderer:function(){return xe.current?xe.current:ke.current},getParentOfValue:function(){return Fe||Me.current},setRenderDetails:function(e,t,n){m({value:t,compDetails:e,force:n})},setEditDetails:function(e,t,n){e?(v({compDetails:e,popup:t,popupPosition:n}),t||m(void 0)):v(void 0)}};n.setComp(e,null,Me.current,o,a)}}),[]);var Ve=u.useMemo((function(){return!!(h&&h.compDetails&&h.compDetails.componentFromFramework&&l.isComponentStateless(h.compDetails.componentClass))}),[h]),qe=u.useMemo((function(){var e=_.toString();return Ge||(e+=" ag-cell-value"),e}),[_,Ge]),ze=u.useMemo((function(){var e={left:x,width:D,height:A,transition:G,zIndex:ne};return s._.assign(e,E),e}),[x,D,A,G,ne,E]),$e=u.useMemo((function(){return n.getInstanceId()}),[]);return u.default.createElement("div",{ref:Me,className:qe,style:ze,tabIndex:L,"aria-selected":V,"aria-colindex":Y,role:ae,"aria-expanded":$,"col-id":ue,title:fe,unselectable:R,"aria-describedby":Q},null!=h&&function(e,t,n,o,a,i,s,l){var c=e.compDetails,f=e.value,p=!c,d=c&&c.componentFromFramework,h=c&&c.componentClass,m=function(){return u.default.createElement(u.default.Fragment,null,p&&u.default.createElement(u.default.Fragment,null,f),d&&!i&&u.default.createElement(h,r({},c.params,{ref:n})),d&&i&&u.default.createElement(h,r({},c.params)))};return u.default.createElement(u.default.Fragment,null,o?u.default.createElement("div",{className:"ag-cell-wrapper",role:"presentation",ref:s},u.default.createElement("span",{role:"presentation",id:"cell-"+t,className:"ag-cell-value",unselectable:a,ref:l},m())):m())}(h,$e,xe,Ge,R,Ve,We,He),null!=g&&function(e,t,n,o,a,i){var s=e.compDetails,l=s.componentClass,f=s.componentFromFramework&&!e.popup,p=s.componentFromFramework&&e.popup,d=!s.componentFromFramework&&e.popup;return u.default.createElement(u.default.Fragment,null,f&&u.default.createElement(l,r({},e.compDetails.params,{ref:t})),p&&u.default.createElement(c.default,{editDetails:e,cellCtrl:a,eParentCell:o,wrappedContent:u.default.createElement(l,r({},e.compDetails.params,{ref:n}))}),d&&i&&u.default.createElement(c.default,{editDetails:e,cellCtrl:a,eParentCell:o,jsChildComp:i}))}(g,Le,Be,Me.current,n,Re))}))},8597:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=n(7694),a=r(n(1371)),i=n(4145),s=n(2671);t.default=a.memo((function(e){var t=a.useState(),n=t[0],r=t[1],u=a.useContext(s.BeansContext),l=u.context,c=u.popupService,f=u.gridOptionsWrapper;return a.useEffect((function(){var t=e.editDetails,n=e.cellCtrl,a=e.eParentCell,i=t.compDetails,s=f.isStopEditingWhenCellsLoseFocus(),u=new o.PopupEditorWrapper(i.params),p=u.getGui();if(e.jsChildComp){var d=e.jsChildComp.getGui();d&&p.appendChild(d)}var h={column:n.getColumn(),rowNode:n.getRowNode(),type:"popupCellEditor",eventSource:a,ePopup:p,keepWithinBounds:!0},m="under"===t.popupPosition?c.positionPopupUnderComponent.bind(c,h):c.positionPopupOverComponent.bind(c,h),y=f.getLocaleTextFunc(),g=c.addPopup({modal:s,eChild:p,closeOnEsc:!0,closedCallback:function(){n.onPopupEditorClosed()},anchorToElement:a,positionCallback:m,ariaLabel:y("ariaLabelCellEditor","Cell Editor")}),v=g?g.hideFunc:void 0;return r(u),e.jsChildComp&&e.jsChildComp.afterGuiAttached&&e.jsChildComp.afterGuiAttached(),function(){null!=v&&v(),l.destroyBean(u)}}),[]),a.default.createElement(a.default.Fragment,null,n&&e.wrappedContent&&i.createPortal(e.wrappedContent,n.getGui()))}))},6761:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1371),o=n(2671);t.default=function(e,t,n,a,i){var s=r.useContext(o.BeansContext),u=s.context,l=(s.userComponentFactory,r.useCallback((function(){var e=a.current;if(e){var t=e.getGui();t&&t.parentElement&&t.parentElement.removeChild(t),u.destroyBean(e),a.current=void 0}}),[]));r.useEffect((function(){var r=null!=e,o=e&&e.compDetails&&!e.compDetails.componentFromFramework;if(!r||!o||t&&null==n)l();else{var s=e.compDetails;if(a.current){var u=a.current,c=!(null==u.refresh||0!=e.force)&&u.refresh(s.params);if(!0===c||void 0===c)return;l()}var f=s.newAgStackInstance();if(f){var p=f.resolveNow(null,(function(e){return e}));if(p){var d=p.getGui();(t?n:i.current).appendChild(d),a.current=p}}}}),[e,t,n]),r.useEffect((function(){return l}),[])}},385:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(7694),i=r(n(1371)),s=n(2671),u=o(n(8550)),l=o(n(8161)),c=o(n(8734)),f=n(9227);t.default=i.memo((function(){var e=i.useContext(s.BeansContext),t=e.context,n=e.agStackComponentsRegistry,r=e.resizeObserverService,o=i.useState(""),p=o[0],d=o[1],h=i.useState(0),m=h[0],y=h[1],g=i.useState(0),v=g[0],C=g[1],_=i.useState(0),w=_[0],S=_[1],E=i.useState(0),O=E[0],b=E[1],R=i.useState(""),P=R[0],M=R[1],x=i.useState(""),k=x[0],I=x[1],D=i.useState(null),T=D[0],N=D[1],A=i.useState(""),F=A[0],j=A[1],G=i.useState(null),U=G[0],B=G[1],L=i.useState(""),W=L[0],H=L[1],V=i.useState(null),q=V[0],z=V[1],$=i.useRef(null),J=i.useRef(null),K=i.useRef(null),Y=i.useRef(null);l.default(" AG Grid Body ",$),l.default(" AG Pinned Top ",J),l.default(" AG Middle ",K),l.default(" AG Pinned Bottom ",Y),i.useEffect((function(){var e=[],o=[];if(t){var i=function(r){var o=n.getComponentClass(r),a=t.createBean(new o);return e.push(a),a};$.current.appendChild(document.createComment(" AG Fake Horizontal Scroll ")),$.current.appendChild(i("AG-FAKE-HORIZONTAL-SCROLL").getGui()),$.current.appendChild(document.createComment(" AG Overlay Wrapper ")),$.current.appendChild(i("AG-OVERLAY-WRAPPER").getGui());var s={setRowAnimationCssOnBodyViewport:d,setColumnCount:y,setRowCount:C,setTopHeight:S,setBottomHeight:b,setTopDisplay:M,setBottomDisplay:I,setColumnMovingCss:N,updateLayoutClasses:j,setAlwaysVerticalScrollClass:B,setPinnedTopBottomOverflowY:H,setCellSelectableCss:z,registerBodyViewportResizeListener:function(e){var t=r.observeResize(K.current,e);o.push((function(){return t()}))}},u=t.createBean(new a.GridBodyCtrl);return e.push(u),u.setComp(s,$.current,K.current,J.current,Y.current),function(){t.destroyBeans(e),o.forEach((function(e){return e()}))}}}),[]);var Z=i.useMemo((function(){return f.classesList("ag-root","ag-unselectable",T,F)}),[T,F]),X=i.useMemo((function(){return f.classesList("ag-body-viewport",p,F,U,q)}),[p,F,U,q]),Q=i.useMemo((function(){return f.classesList("ag-floating-top",q)}),[q]),ee=i.useMemo((function(){return f.classesList("ag-floating-bottom",q)}),[q]),te=i.useMemo((function(){return{height:w,minHeight:w,display:P,overflowY:W}}),[w,P,W]),ne=i.useMemo((function(){return{height:O,minHeight:O,display:k,overflowY:W}}),[O,k,W]),re=function(e){return i.default.createElement(c.default,{name:e,key:e+"-container"})},oe=function(e){var t=e.section,n=e.children,r=e.className,o=e.style,a=e.unselectable;return i.default.createElement("div",{ref:t,className:r,role:"presentation",style:o,unselectable:a},n.map(re))};return i.default.createElement("div",{ref:$,className:Z,role:"grid",unselectable:"on","aria-colcount":m,"aria-rowcount":v},i.default.createElement(u.default,null),oe({section:J,className:Q,style:te,unselectable:"on",children:[a.RowContainerName.TOP_LEFT,a.RowContainerName.TOP_CENTER,a.RowContainerName.TOP_RIGHT,a.RowContainerName.TOP_FULL_WITH]}),oe({section:K,className:X,children:[a.RowContainerName.LEFT,a.RowContainerName.CENTER,a.RowContainerName.RIGHT,a.RowContainerName.FULL_WIDTH]}),oe({section:Y,className:ee,style:ne,unselectable:"on",children:[a.RowContainerName.BOTTOM_LEFT,a.RowContainerName.BOTTOM_CENTER,a.RowContainerName.BOTTOM_RIGHT,a.RowContainerName.BOTTOM_FULL_WITH]}))}))},9791:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(7694),i=r(n(1371)),s=n(2671),u=o(n(385)),l=o(n(8161)),c=o(n(5684)),f=n(9227);t.default=i.memo((function(e){var t=e.context,n=i.useState(""),r=n[0],o=n[1],p=i.useState(""),d=p[0],h=p[1],m=i.useState(""),y=m[0],g=m[1],v=i.useState(null),C=v[0],_=v[1],w=i.useState(null),S=w[0],E=w[1],O=i.useState(!1),b=O[0],R=O[1],P=i.useState(),M=P[0],x=P[1],k=i.useRef(null),I=i.useRef(null),D=i.useRef(),T=i.useRef(null),N=i.useRef((function(){})),A=i.useCallback((function(){}),[]),F=i.useMemo((function(){return t.getBean("beans")}),[]);l.default(" AG Grid ",I),i.useEffect((function(){var e=k.current=t.createBean(new a.GridCtrl);return function(){t.destroyBean(e),k.current=null}}),[]),i.useEffect((function(){var e=k.current;N.current=e.focusInnerElement.bind(e);var t={destroyGridUi:function(){},setRtlClass:o,addOrRemoveKeyboardFocusClass:function(e){return h(e?a.FocusService.AG_KEYBOARD_FOCUS:"")},forceFocusOutOfContainer:function(){D.current.forceFocusOutOfContainer()},updateLayoutClasses:g,getFocusableContainers:function(){var e=[],t=I.current.querySelector(".ag-root"),n=I.current.querySelector(".ag-side-bar");return t&&e.push(t),n&&e.push(n),e},setCursor:_,setUserSelect:E};e.setComp(t,I.current,I.current),R(!0)}),[]),i.useEffect((function(){if(M){var e=k.current,n=[],r=F.agStackComponentsRegistry,o=r.getComponentClass("AG-GRID-HEADER-DROP-ZONES"),a=r.getComponentClass("AG-SIDE-BAR"),i=r.getComponentClass("AG-STATUS-BAR"),s=r.getComponentClass("AG-WATERMARK"),u=r.getComponentClass("AG-PAGINATION"),l=[],c=I.current,f=T.current;if(e.showDropZones()&&o){var p=t.createBean(new o),d=p.getGui();c.insertAdjacentElement("afterbegin",d),l.push(d),n.push(p)}if(e.showSideBar()&&a){var h=t.createBean(new a),m=(d=h.getGui(),f.querySelector(".ag-tab-guard-bottom"));m&&(m.insertAdjacentElement("beforebegin",d),l.push(d)),n.push(h)}if(e.showStatusBar()&&i){var y=t.createBean(new i);d=y.getGui(),c.insertAdjacentElement("beforeend",d),l.push(d),n.push(y)}if(u){var g=t.createBean(new u);d=g.getGui(),c.insertAdjacentElement("beforeend",d),l.push(d),n.push(g)}if(e.showWatermark()&&s){var v=t.createBean(new s);d=v.getGui(),c.insertAdjacentElement("beforeend",d),l.push(d),n.push(v)}return function(){t.destroyBeans(n),l.forEach((function(e){e.parentElement&&e.parentElement.removeChild(e)}))}}}),[M]);var j=i.useMemo((function(){return f.classesList("ag-root-wrapper",r,d,y)}),[r,d,y]),G=i.useMemo((function(){return f.classesList("ag-root-wrapper-body","ag-focus-managed",y)}),[y]),U=i.useMemo((function(){return{userSelect:null!=S?S:"",WebkitUserSelect:null!=S?S:"",cursor:null!=C?C:""}}),[S,C]),B=T.current,L=i.useCallback((function(e){D.current=e,x(!0)}),[]);return i.default.createElement("div",{ref:I,className:j,style:U},i.default.createElement("div",{className:G,ref:T},b&&B&&i.default.createElement(s.BeansContext.Provider,{value:F},i.default.createElement(c.default,{ref:L,eFocusableElement:B,onTabKeyDown:A,gridCtrl:k.current},i.default.createElement(u.default,null)))))}))},8550:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(1371)),i=n(2671),s=n(7694),u=n(9227),l=o(n(4077));t.default=a.memo((function(){var e=a.useState(new u.CssClasses),t=e[0],n=e[1],r=a.useState(),o=r[0],c=r[1],f=a.useContext(i.BeansContext).context,p=a.useRef(null);a.useEffect((function(){var e={addOrRemoveCssClass:function(e,t){return n((function(n){return n.setClass(e,t)}))},setHeightAndMinHeight:function(e){return c(e)}},t=f.createBean(new s.GridHeaderCtrl);return t.setComp(e,p.current,p.current),function(){f.destroyBean(t)}}),[]);var d=a.useMemo((function(){return"ag-header "+t.toString()}),[t]),h=a.useMemo((function(){return{height:o,minHeight:o}}),[o]);return a.default.createElement("div",{ref:p,className:d,style:h,role:"presentation",unselectable:"on"},a.default.createElement(l.default,{pinned:s.Constants.PINNED_LEFT}),a.default.createElement(l.default,{pinned:null}),a.default.createElement(l.default,{pinned:s.Constants.PINNED_RIGHT}))}))},2612:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1371)),i=n(2671),s=n(9227),u=n(5904);t.default=a.memo((function(e){var t=a.useContext(i.BeansContext).context,n=a.useState(new s.CssClasses),o=n[0],l=n[1],c=a.useState(),f=c[0],p=c[1],d=a.useState(),h=d[0],m=d[1],y=a.useState(),g=y[0],v=y[1],C=a.useState(),_=C[0],w=C[1],S=a.useState(),E=S[0],O=S[1],b=a.useState(),R=b[0],P=b[1],M=a.useRef(null),x=a.useRef(null),k=a.useRef(),I=e.ctrl;a.useEffect((function(){var e={setWidth:function(e){return p(e)},addOrRemoveCssClass:function(e,t){return l((function(n){return n.setClass(e,t)}))},setAriaSort:function(e){return w(e)},setColId:function(e){return v(e)},setTitle:function(e){return m(e)},setAriaDescribedBy:function(e){return O(e)},setUserCompDetails:function(e){return P(e)},getUserCompInstance:function(){return k.current||void 0}};I.setComp(e,M.current,x.current);var t=I.getSelectAllGui();x.current.insertAdjacentElement("afterend",t)}),[]),a.useEffect((function(){return u.showJsComp(R,t,M.current,k)}),[R]),a.useEffect((function(){var e=void 0;M.current.childNodes.forEach((function(t){null!=t&&t!==x.current&&(e=t)})),I.setDragSource(e)}),[R]);var D=a.useMemo((function(){return{width:f}}),[f]),T=a.useMemo((function(){return"ag-header-cell "+o.toString()}),[o]),N=a.useMemo((function(){return!!(R&&R.componentFromFramework&&s.isComponentStateless(R.componentClass))}),[R]),A=R&&R.componentFromFramework,F=R&&R.componentClass;return a.default.createElement("div",{ref:M,className:T,style:D,title:h,"col-id":g,"aria-sort":_,role:"columnheader",unselectable:"on",tabIndex:-1,"aria-describedby":E},a.default.createElement("div",{ref:x,className:"ag-header-cell-resize",role:"presentation"}),A&&N&&a.default.createElement(F,r({},R.params)),A&&!N&&a.default.createElement(F,r({},R.params,{ref:k})))}))},4334:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1371)),i=n(2671),s=n(7694),u=n(9227),l=n(5904);t.default=a.memo((function(e){var t=a.useContext(i.BeansContext).context,n=a.useState(new u.CssClasses),o=n[0],c=n[1],f=a.useState(new u.CssClasses),p=f[0],d=f[1],h=a.useState(new u.CssClasses),m=h[0],y=h[1],g=a.useState(),v=g[0],C=g[1],_=a.useState(),w=_[0],S=_[1],E=a.useRef(null),O=a.useRef(null),b=a.useRef(null),R=a.useRef(null),P=a.useRef(),M=e.ctrl;a.useEffect((function(){var e={addOrRemoveCssClass:function(e,t){return c((function(n){return n.setClass(e,t)}))},addOrRemoveBodyCssClass:function(e,t){return d((function(n){return n.setClass(e,t)}))},addOrRemoveButtonWrapperCssClass:function(e,t){return y((function(n){return n.setClass(e,t)}))},setWidth:function(e){return C(e)},setCompDetails:function(e){return S(e)},getFloatingFilterComp:function(){return P.current?s.AgPromise.resolve(P.current):null},setMenuIcon:function(e){return R.current.appendChild(e)}};M.setComp(e,E.current,R.current,O.current)}),[]),a.useEffect((function(){return l.showJsComp(w,t,O.current,P)}),[w]);var x=a.useMemo((function(){return{width:v}}),[v]),k=a.useMemo((function(){return"ag-header-cell ag-floating-filter "+o.toString()}),[o]),I=a.useMemo((function(){return p.toString()}),[p]),D=a.useMemo((function(){return"ag-floating-filter-button "+m.toString()}),[p]),T=a.useMemo((function(){return!!(w&&w.componentFromFramework&&u.isComponentStateless(w.componentClass))}),[w]),N=w&&w.componentFromFramework,A=w&&w.componentClass;return a.default.createElement("div",{ref:E,className:k,style:x,role:"gridcell",tabIndex:-1},a.default.createElement("div",{ref:O,className:I,role:"presentation"},N&&T&&a.default.createElement(A,r({},w.params)),N&&!T&&a.default.createElement(A,r({},w.params,{ref:P}))),a.default.createElement("div",{ref:b,className:D,role:"presentation"},a.default.createElement("button",{ref:R,type:"button","aria-label":"Open Filter Menu",className:"ag-floating-filter-button-button",tabIndex:-1})))}))},486:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var a=o(n(1371)),i=n(2671),s=n(5904),u=n(9227);t.default=a.memo((function(e){var t=a.useContext(i.BeansContext).context,n=a.useState(new u.CssClasses),o=n[0],l=n[1],c=a.useState(new u.CssClasses),f=c[0],p=c[1],d=a.useState(),h=d[0],m=d[1],y=a.useState(),g=y[0],v=y[1],C=a.useState(),_=C[0],w=C[1],S=a.useState(),E=S[0],O=S[1],b=a.useState(),R=b[0],P=b[1],M=a.useRef(null),x=a.useRef(null),k=e.ctrl;a.useEffect((function(){var e={setWidth:function(e){return m(e)},addOrRemoveCssClass:function(e,t){return l((function(n){return n.setClass(e,t)}))},setColId:function(e){return w(e)},setTitle:function(e){return v(e)},setUserCompDetails:function(e){return P(e)},addOrRemoveResizableCssClass:function(e,t){return p((function(n){return n.setClass(e,t)}))},setAriaExpanded:function(e){return O(e)}};k.setComp(e,M.current,x.current)}),[]),a.useEffect((function(){return s.showJsComp(R,t,M.current)}),[R]),a.useEffect((function(){var e=void 0;M.current.childNodes.forEach((function(t){null!=t&&t!==x.current&&(e=t)})),e&&k.setDragSource(e)}),[R]);var I=a.useMemo((function(){return{width:h}}),[h]),D=a.useMemo((function(){return"ag-header-group-cell "+o.toString()}),[o]),T=a.useMemo((function(){return"ag-header-cell-resize "+f.toString()}),[f]),N=R&&R.componentFromFramework,A=R&&R.componentClass;return a.default.createElement("div",{ref:M,className:D,style:I,title:g,"col-id":_,role:"columnheader",tabIndex:-1,"aria-expanded":E},N&&a.default.createElement(A,r({},R.params)),a.default.createElement("div",{ref:x,className:T}))}))},3409:function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(7694),s=o(n(1371)),u=n(2671),l=a(n(2612)),c=a(n(486)),f=a(n(4334));t.default=s.memo((function(e){var t=s.useContext(u.BeansContext).gridOptionsWrapper,n=s.useState(),o=n[0],a=n[1],p=s.useState(),d=p[0],h=p[1],m=s.useState(),y=m[0],g=m[1],v=s.useState(),C=v[0],_=v[1],w=s.useState(),S=w[0],E=w[1],O=s.useState([]),b=O[0],R=O[1],P=s.useRef(null),M=e.ctrl,x=M.getType()===i.HeaderRowType.COLUMN,k=M.getType()===i.HeaderRowType.COLUMN_GROUP,I=M.getType()===i.HeaderRowType.FLOATING_FILTER,D=s.useCallback((function(e,n){if(t.isEnsureDomOrder())return n;var o=i._.mapById(e,(function(e){return e.getInstanceId()})),a=i._.mapById(n,(function(e){return e.getInstanceId()})),s=e.filter((function(e){return a.has(e.getInstanceId())})),u=n.filter((function(e){return!o.has(e.getInstanceId())}));return r(s,u)}),[]);s.useEffect((function(){var e={setTransform:function(e){return a(e)},setHeight:function(e){return h(e)},setTop:function(e){return g(e)},setHeaderCtrls:function(e){return R((function(t){return D(t,e)}))},setWidth:function(e){return _(e)},setAriaRowIndex:function(e){return E(e)}};M.setComp(e)}),[]);var T=s.useMemo((function(){return{transform:o,height:d,top:y,width:C}}),[o,d,y,C]),N=s.useMemo((function(){var e=["ag-header-row"];return x&&e.push("ag-header-row-column"),k&&e.push("ag-header-row-column-group"),I&&e.push("ag-header-row-column-filter"),e.join(" ")}),[]),A=s.useCallback((function(e){switch(M.getType()){case i.HeaderRowType.COLUMN_GROUP:return s.default.createElement(c.default,{ctrl:e,key:e.getInstanceId()});case i.HeaderRowType.FLOATING_FILTER:return s.default.createElement(f.default,{ctrl:e,key:e.getInstanceId()});default:return s.default.createElement(l.default,{ctrl:e,key:e.getInstanceId()})}}),[]);return s.default.createElement("div",{ref:P,className:N,role:"row",style:T,"aria-rowindex":S},b.map(A))}))},4077:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(1371)),i=n(2671),s=n(7694),u=n(9227),l=o(n(3409));t.default=a.memo((function(e){var t=a.useState(new u.CssClasses),n=t[0],r=t[1],o=a.useState(),c=o[0],f=o[1],p=a.useState(),d=p[0],h=p[1],m=a.useState(),y=m[0],g=m[1],v=a.useState([]),C=v[0],_=v[1],w=a.useContext(i.BeansContext).context,S=a.useRef(null),E=e.pinned===s.Constants.PINNED_LEFT,O=e.pinned===s.Constants.PINNED_RIGHT,b=!E&&!O;a.useEffect((function(){var t={addOrRemoveCssClass:function(e,t){return r((function(n){return n.setClass(e,t)}))},setCtrls:function(e){return _(e)},setCenterWidth:function(e){return f(e)},setContainerTransform:function(e){return h(e)},setPinnedContainerWidth:function(e){return g(e)}},n=w.createBean(new s.HeaderRowContainerCtrl(e.pinned));return n.setComp(t,S.current),function(){w.destroyBean(n)}}),[]);var R=a.useMemo((function(){return n.toString()}),[n]),P=function(){return C.map((function(e){return a.default.createElement(l.default,{ctrl:e,key:e.getInstanceId()})}))},M=a.useMemo((function(){return{width:c,transform:d}}),[c,d]),x=a.useMemo((function(){return{width:y,minWidth:y,maxWidth:y}}),[y]);return a.default.createElement(a.default.Fragment,null,E&&a.default.createElement("div",{ref:S,className:"ag-pinned-left-header "+R,role:"presentation",style:x},P()),O&&a.default.createElement("div",{ref:S,className:"ag-pinned-right-header "+R,role:"presentation",style:x},P()),b&&a.default.createElement("div",{ref:S,className:"ag-header-viewport "+R,role:"presentation"},a.default.createElement("div",{className:"ag-header-container",role:"rowgroup",style:M},P())))}))},5904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showJsComp=function(e,r,o,a){if(e&&!e.componentFromFramework){var i=t.createJsComp(e);if(i){var s=i.getGui();return o.appendChild(s),n(a,i),function(){var e=i.getGui();e&&e.parentElement&&e.parentElement.removeChild(e),r.destroyBean(i),a&&n(a,void 0)}}}};var n=function(e,t){e&&(e instanceof Function?e(t):e.current=t)};t.createJsComp=function(e){var t=e.newAgStackInstance();if(t)return t.resolveNow(null,(function(e){return e}))}},8161:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1371);t.default=function(e,t){r.useEffect((function(){var n=t.current,r=n.parentElement;if(r){var o=document.createComment(e);return r.insertBefore(o,n),function(){r.removeChild(o)}}}),[])}},8313:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(7694),s=a(n(1802)),u=a(n(7246)),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameworkComponents={agGroupCellRenderer:s.default,agGroupRowRenderer:s.default,agDetailCellRenderer:u.default},t}return o(t,e),t.prototype.frameworkComponent=function(e){return this.frameworkComponents[e]},t}(i.VanillaFrameworkOverrides);t.ReactFrameworkOverrides=l},4438:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(n(1371)),u=n(7694),l=n(5904),c=n(9227),f=n(2671),p=i(n(5620));t.default=s.memo((function(e){var t=s.useContext(f.BeansContext).context,n=e.rowCtrl,a=e.pinned,i=s.useState(),d=i[0],h=i[1],m=s.useState(n.getInitialRowTop()),y=m[0],g=m[1],v=s.useState(n.getInitialTransform()),C=v[0],_=v[1],w=s.useState(new c.CssClasses),S=w[0],E=w[1],O=s.useState(),b=O[0],R=O[1],P=s.useState(),M=P[0],x=P[1],k=s.useState(),I=k[0],D=k[1],T=s.useState(),N=T[0],A=T[1],F=s.useState(),j=F[0],G=F[1],U=s.useState(),B=U[0],L=U[1],W=s.useState(),H=W[0],V=W[1],q=s.useState(),z=q[0],$=q[1],J=s.useState(),K=J[0],Y=J[1],Z=s.useState(),X=Z[0],Q=Z[1],ee=s.useState({list:[],instanceIdMap:new Map}),te=ee[0],ne=ee[1],re=s.useState(),oe=re[0],ae=re[1],ie=s.useState(!1),se=ie[0],ue=ie[1],le=s.useState(),ce=le[0],fe=le[1],pe=s.useRef(null),de=s.useRef();s.useEffect((function(){var e={setDisplay:function(e){return fe(e)},setDomOrder:function(e){return ue(e)},setHeight:function(e){return h(e)},setTop:function(e){return g(e)},setTransform:function(e){return _(e)},addOrRemoveCssClass:function(e,t){return E((function(n){return n.setClass(e,t)}))},setRowIndex:function(e){return R(e)},setAriaRowIndex:function(e){return L(e)},setAriaExpanded:function(e){return V(e)},setAriaLabel:function(e){return $(e)},setRowId:function(e){return x(e)},setRowBusinessKey:function(e){return A(e)},setTabIndex:function(e){return G(e)},setUserStyles:function(e){return Q(e)},setAriaSelected:function(e){return Y(e)},setRole:function(e){return D(e)},setCellCtrls:function(e){return ne((function(t){return function(e,t,n){if(n){var r={list:t,instanceIdMap:new Map};return t.forEach((function(e){return r.instanceIdMap.set(e.getInstanceId(),e)})),r}var a=[],i=[],s=new Map,u=new Map;return t.forEach((function(e){return u.set(e.getInstanceId(),e)})),e.list.forEach((function(e){var t=e.getInstanceId();u.has(t)&&(a.push(e),s.set(t,e))})),t.forEach((function(t){var n=t.getInstanceId();e.instanceIdMap.has(n)||(i.push(t),s.set(n,t))})),{list:o(a,i),instanceIdMap:s}}(t,e,se)}))},showFullWidth:function(e){return ae(e)},getFullWidthCellRenderer:function(){return de.current}};n.setComp(e,pe.current,a)}),[]),s.useEffect((function(){return l.showJsComp(oe,t,pe.current,de)}),[oe]);var he,me=s.useMemo((function(){var e={height:d,top:y,transform:C,display:ce};return u._.assign(e,X),e}),[d,y,C,X,ce]),ye=s.useMemo((function(){return S.toString()}),[S]),ge=oe&&oe.componentFromFramework,ve=null!=te,Ce=s.useMemo((function(){return!!(oe&&oe.componentFromFramework&&c.isComponentStateless(oe.componentClass))}),[oe]);return s.default.createElement("div",{ref:pe,role:I,className:ye,style:me,"row-index":b,"aria-rowindex":B,"aria-expanded":H,"aria-label":z,"aria-selected":K,"row-id":M,"row-business-key":N,tabIndex:j},ve&&te.list.map((function(e){return s.default.createElement(p.default,{cellCtrl:e,editingRow:n.isEditing(),printLayout:n.isPrintLayout(),key:e.getInstanceId()})})),ge&&(he=oe.componentClass,s.default.createElement(s.default.Fragment,null,Ce&&s.default.createElement(he,r({},oe.params)),!Ce&&s.default.createElement(he,r({},oe.params,{ref:de})))))}))},8734:function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(7694),s=o(n(1371)),u=n(9227),l=a(n(8161)),c=a(n(4438)),f=n(2671);t.default=s.memo((function(e){var t=s.useContext(f.BeansContext).context,n=s.useState(""),o=n[0],a=n[1],p=s.useState([]),d=p[0],h=p[1],m=s.useState(!1),y=m[0],g=m[1],v=s.useState(""),C=v[0],_=v[1],w=e.name,S=s.useMemo((function(){return i.RowContainerCtrl.getPinned(w)}),[w]),E=s.useRef(null),O=s.useRef(null),b=s.useRef(null),R=s.useMemo((function(){return i.RowContainerCtrl.getRowContainerCssClasses(w)}),[w]),P=s.useMemo((function(){return u.classesList(R.wrapper)}),[]),M=s.useMemo((function(){return u.classesList(R.viewport)}),[]),x=s.useMemo((function(){return u.classesList(R.container)}),[]),k=w===i.RowContainerName.CENTER,I=w===i.RowContainerName.TOP_CENTER||w===i.RowContainerName.BOTTOM_CENTER,D=!k&&!I,T=k?E:I?O:b;l.default(" AG Row Container "+w+" ",T),s.useEffect((function(){var e=[],n={setViewportHeight:a,setRowCtrls:function(e){h((function(t){if(y)return e;var n=t.filter((function(t){return e.indexOf(t)>=0})),o=e.filter((function(e){return n.indexOf(e)<0}));return r(n,o)}))},setDomOrder:function(e){return g(e)},setContainerWidth:function(e){return _(e)}},o=t.createBean(new i.RowContainerCtrl(w));return e.push(o),o.setComp(n,b.current,O.current,E.current),function(){t.destroyBeans(e)}}),[]);var N=s.useMemo((function(){return{height:o}}),[o]),A=s.useMemo((function(){return{width:C}}),[C]),F=function(){return s.default.createElement("div",{className:x,ref:b,role:"rowgroup",style:A,unselectable:"on"},d.map((function(e){return s.default.createElement(c.default,{rowCtrl:e,pinned:S,key:e.getInstanceId()})})))};return s.default.createElement(s.default.Fragment,null,k&&s.default.createElement("div",{className:P,ref:E,role:"presentation",unselectable:"on"},s.default.createElement("div",{className:M,ref:O,role:"presentation",style:N},F())),I&&s.default.createElement("div",{className:M,ref:O,role:"presentation",style:N},F()),D&&F())}))},5684:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1371)),a=n(7694),i=n(2671),s=o.forwardRef((function(e,t){var n=e.children,r=e.eFocusableElement,s=e.onTabKeyDown,u=e.gridCtrl,l=o.useContext(i.BeansContext).context,c=o.useRef(null),f=o.useRef(null),p=o.useRef(),d=o.useState(),h=d[0],m=d[1];o.useImperativeHandle(t,(function(){return{forceFocusOutOfContainer:function(){p.current.forceFocusOutOfContainer()}}})),o.useEffect((function(){var e=c.current,t=f.current,n={setTabIndex:function(e){return m(null==e?void 0:parseInt(e,10))}},o=p.current=l.createBean(new a.TabGuardCtrl({comp:n,eTopGuard:e,eBottomGuard:t,eFocusableElement:r,onTabKeyDown:s,focusInnerElement:function(e){return u.focusInnerElement(e)}}));return function(){l.destroyBean(o)}}),[]);var y=function(e){return o.default.createElement("div",{className:"ag-tab-guard ag-tab-guard-"+e,role:"presentation",tabIndex:h,ref:"top"===e?c:f})};return o.default.createElement(o.default.Fragment,null,y("top"),n,y("bottom"))}));t.default=o.memo(s)},9227:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.classesList=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter((function(e){return null!=e&&""!==e}));return n.join(" ")};var r=function(){function e(){this.classesMap={}}return e.prototype.setClass=function(t,r){if(!!this.classesMap[t]==r)return this;var o=new e;return o.classesMap=n({},this.classesMap),o.classesMap[t]=r,o},e.prototype.toString=function(){var e=this;return Object.keys(this.classesMap).filter((function(t){return e.classesMap[t]})).join(" ")},e}();t.CssClasses=r,t.isComponentStateless=function(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===("function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115)}},4750:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=i(n(1371)),l=s(n(7225)),c=i(n(7694)),f=function(e){function t(t){var n=e.call(this,t)||this;return n.props=t,n}return o(t,e),t.prototype.render=function(){return null},t.mapChildColumnDefs=function(e){return u.default.Children.map(e,(function(e){return e?t.toColDef(e.props):null}))},t.toColDef=function(e){var n=e.children,r=a(e,["children"]);return t.hasChildColumns(n)&&(r.children=t.mapChildColumnDefs(n)),r},t.hasChildColumns=function(e){return u.default.Children.count(e)>0},t}(u.Component);function p(e,t){e.forEach((function(e){f[e]=t}))}t.AgGridColumn=f,p(c.ColDefUtil.BOOLEAN_PROPERTIES,l.default.bool),p(c.ColDefUtil.STRING_PROPERTIES,l.default.string),p(c.ColDefUtil.OBJECT_PROPERTIES,l.default.object),p(c.ColDefUtil.ARRAY_PROPERTIES,l.default.array),p(c.ColDefUtil.NUMBER_PROPERTIES,l.default.number),p(c.ColDefUtil.FUNCTION_PROPERTIES,l.default.func)},60:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.IdentityCheck="IdentityCheck",e.DeepValueCheck="DeepValueCheck",e.NoCheck="NoCheck"}(n=t.ChangeDetectionStrategyType||(t.ChangeDetectionStrategyType={}));var r=function(){function e(e){this.strategy=e}return e.prototype.areEqual=function(e,t){return this.strategy(e,t)},e}(),o=function(){function e(){}return e.prototype.areEqual=function(t,n){return e.areEquivalent(e.copy(t),e.copy(n))},e.unwrapStringOrNumber=function(e){return e instanceof Number||e instanceof String?e.valueOf():e},e.copy=function(e){if(!e)return e;if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)t.push(this.copy(e[n]));return t}return"object"!=typeof e?e:[{},e].reduce((function(e,t){return Object.keys(t).forEach((function(n){e[n]=t[n]})),e}),{})},e.isNaN=function(e){return Number.isNaN?Number.isNaN(e):"number"==typeof e&&isNaN(e)},e.areEquivalent=function(t,n){if(t=e.unwrapStringOrNumber(t),n=e.unwrapStringOrNumber(n),t===n)return!0;if(null===t||null===n||typeof t!=typeof n)return!1;if(e.isNaN(t)&&e.isNaN(n))return!0;if(t instanceof Date)return n instanceof Date&&t.valueOf()===n.valueOf();if("function"==typeof t)return!1;if("object"!=typeof t||t.$$typeof&&"Symbol(react.element)"===t.$$typeof.toString())return t==n;if(Object.isFrozen(t)||Object.isFrozen(n))return t===n;var r=void 0===t.areEquivPropertyTracking,o=void 0===n.areEquivPropertyTracking;try{var a=void 0;if(r)t.areEquivPropertyTracking=[];else if(t.areEquivPropertyTracking.some((function(e){return e===n})))return!0;if(o)n.areEquivPropertyTracking=[];else if(n.areEquivPropertyTracking.some((function(e){return e===t})))return!0;t.areEquivPropertyTracking.push(n),n.areEquivPropertyTracking.push(t);var i={};for(a in t)"areEquivPropertyTracking"!=a&&(i[a]=null);for(a in n)"areEquivPropertyTracking"!=a&&(i[a]=null);for(a in i)if(!this.areEquivalent(t[a],n[a]))return!1;return!0}finally{r&&delete t.areEquivPropertyTracking,o&&delete n.areEquivPropertyTracking}},e}(),a=function(){function e(){var e;this.strategyMap=((e={})[n.DeepValueCheck]=new o,e[n.IdentityCheck]=new r((function(e,t){return e===t})),e[n.NoCheck]=new r((function(e,t){return!1})),e)}return e.prototype.getStrategy=function(e){return this.strategyMap[e]},e}();t.ChangeDetectionService=a},5210:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=0;t.default=function(){return"agPortalKey_"+ ++n}},8924:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(1371),u=n(4145),l=n(7694),c=n(815),f=n(4143),p=i(n(5210)),d=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.oldPortal=null,o.key=p.default(),o.portalKey=p.default(),o}return o(t,e),t.prototype.init=function(e){var t=this;return this.eParentElement=this.createParentElement(e),this.params=e,this.createOrUpdatePortal(e),new l.AgPromise((function(e){return t.createReactComponent(e)}))},t.prototype.createOrUpdatePortal=function(e){var t=this;this.isStatelessComponent()||(e.ref=function(e){t.componentInstance=e,t.addParentContainerStyleAndClasses()}),this.reactElement=s.createElement(this.reactComponent,a(a({},e),{key:this.key})),this.portal=u.createPortal(this.reactElement,this.eParentElement,this.portalKey)},t.prototype.createReactComponent=function(e){this.portalManager.mountReactPortal(this.portal,this,(function(t){e(t)}))},t.prototype.isNullValue=function(){return this.valueRenderedIsNull(this.params)},t.prototype.rendered=function(){return this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},t.prototype.valueRenderedIsNull=function(e){if(this.componentType.isCellRenderer&&!this.componentType.isCellRenderer())return!1;var t=console.error;try{return console.error=function(){},""===f.renderToStaticMarkup(s.createElement(this.reactComponent,e))}catch(e){}finally{console.error=t}return!1},t.prototype.refreshComponent=function(e){this.oldPortal=this.portal,this.createOrUpdatePortal(e),this.portalManager.updateReactPortal(this.oldPortal,this.portal)},t.prototype.fallbackMethod=function(e,t){var n=this[e+"Component"];if(n)return n.bind(this)(t)},t.prototype.fallbackMethodAvailable=function(e){return!!this[e+"Component"]},t}(c.ReactComponent);t.NewReactComponent=d},5369:function(e,t){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r};Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t,n,r){this.destroyed=!1,this.portals=[],this.hasPendingPortalUpdate=!1,this.wrappingElement=n||"div",this.parent=t,this.maxComponentCreationTimeMs=r||e.MAX_COMPONENT_CREATION_TIME_IN_MS}return e.prototype.getPortals=function(){return this.portals},e.prototype.destroy=function(){this.destroyed=!0},e.prototype.destroyPortal=function(e){this.portals=this.portals.filter((function(t){return t!==e})),this.batchUpdate()},e.prototype.getComponentWrappingElement=function(){return this.wrappingElement},e.prototype.mountReactPortal=function(e,t,r){this.portals=n(this.portals,[e]),this.waitForInstance(t,r),this.batchUpdate()},e.prototype.updateReactPortal=function(e,t){this.portals[this.portals.indexOf(e)]=t,this.batchUpdate()},e.prototype.batchUpdate=function(){var e=this;this.hasPendingPortalUpdate||(setTimeout((function(){e.destroyed||e.parent.forceUpdate((function(){e.hasPendingPortalUpdate=!1}))})),this.hasPendingPortalUpdate=!0)},e.prototype.waitForInstance=function(e,t,n){var r=this;if(void 0===n&&(n=Date.now()),this.destroyed)t(null);else if(e.rendered())t(e);else{if(Date.now()-n>=this.maxComponentCreationTimeMs&&!this.hasPendingPortalUpdate)return e.isNullValue()?void t(e):void console.error("AG Grid: React Component '"+e.getReactComponentName()+"' not created within "+this.maxComponentCreationTimeMs+"ms");window.setTimeout((function(){r.waitForInstance(e,t,n)}))}},e.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3,e}();t.PortalManager=r},815:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n(7694),i=n(1480),s=function(e){function t(t,n,r){var o=e.call(this)||this;return o.portal=null,o.reactComponent=t,o.portalManager=n,o.componentType=r,o.statelessComponent=o.isStateless(o.reactComponent),o}return o(t,e),t.prototype.getGui=function(){return this.eParentElement},t.prototype.destroy=function(){return this.componentInstance&&"function"==typeof this.componentInstance.destroy&&this.componentInstance.destroy(),this.portalManager.destroyPortal(this.portal)},t.prototype.createParentElement=function(e){var t=this.portalManager.getComponentWrappingElement(),n=document.createElement(t||"div");return a._.addCssClass(n,"ag-react-container"),e.reactContainer=n,n},t.prototype.addParentContainerStyleAndClasses=function(){var e=this;this.componentInstance&&(this.componentInstance.getReactContainerStyle&&this.componentInstance.getReactContainerStyle()&&i.assignProperties(this.eParentElement.style,this.componentInstance.getReactContainerStyle()),this.componentInstance.getReactContainerClasses&&this.componentInstance.getReactContainerClasses()&&this.componentInstance.getReactContainerClasses().forEach((function(t){return a._.addCssClass(e.eParentElement,t)})))},t.prototype.statelessComponentRendered=function(){return this.eParentElement.childElementCount>0||this.eParentElement.childNodes.length>0},t.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},t.prototype.isStatelessComponent=function(){return this.statelessComponent},t.prototype.getReactComponentName=function(){return this.reactComponent.name},t.prototype.getMemoType=function(){return this.hasSymbol()?Symbol.for("react.memo"):60115},t.prototype.hasSymbol=function(){return"function"==typeof Symbol&&Symbol.for},t.prototype.isStateless=function(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===this.getMemoType()},t.prototype.hasMethod=function(e){var t=this.getFrameworkComponentInstance();return!!t&&null!==t[e]||this.fallbackMethodAvailable(e)},t.prototype.callMethod=function(e,t){var n=this,r=this.getFrameworkComponentInstance();if(this.isStatelessComponent())return this.fallbackMethod(e,t&&t[0]?t[0]:{});if(r){var o=r[e];return o?o.apply(r,t):this.fallbackMethodAvailable(e)?this.fallbackMethod(e,t&&t[0]?t[0]:{}):void 0}setTimeout((function(){return n.callMethod(e,t)}))},t.prototype.addMethod=function(e,t){this[e]=t},t}((function(){}));t.ReactComponent=s},1480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignProperties=function(e,t){Object.keys(t).forEach((function(n){e[n]=t[n]}))},t.assign=function(e,n,r){if("string"==typeof n&&(n=n.split(".")),n.length>1){var o=n.shift();t.assign(e[o]="[object Object]"===Object.prototype.toString.call(e[o])?e[o]:{},n,r)}else e[n[0]]=r}},4294:(e,t,n)=>{t.AgGridReact=n(3566).AgGridReact,t.AgGridColumn=n(4750).AgGridColumn,t.ChangeDetectionStrategyType=n(60).ChangeDetectionStrategyType,t.AgGridReactUi=n(9329).AgGridReactUi},8914:(e,t,n)=>{"use strict";var r=n(8087),o=n(1371);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=60106,s=60107,u=60108,l=60114,c=60109,f=60110,p=60112,d=60113,h=60120,m=60115,y=60116,g=60121,v=60117,C=60119,_=60129,w=60131;if("function"==typeof Symbol&&Symbol.for){var S=Symbol.for;i=S("react.portal"),s=S("react.fragment"),u=S("react.strict_mode"),l=S("react.profiler"),c=S("react.provider"),f=S("react.context"),p=S("react.forward_ref"),d=S("react.suspense"),h=S("react.suspense_list"),m=S("react.memo"),y=S("react.lazy"),g=S("react.block"),v=S("react.fundamental"),C=S("react.scope"),_=S("react.debug_trace_mode"),w=S("react.legacy_hidden")}function E(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case s:return"Fragment";case i:return"Portal";case l:return"Profiler";case u:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case f:return(e.displayName||"Context")+".Consumer";case c:return(e._context.displayName||"Context")+".Provider";case p:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case m:return E(e.type);case g:return E(e._render);case y:t=e._payload,e=e._init;try{return E(e(t))}catch(e){}}return null}var O=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b={};function R(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var P=new Uint16Array(16),M=0;15>M;M++)P[M]=M+1;P[15]=0;var x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,k=Object.prototype.hasOwnProperty,I={},D={};function T(e){return!!k.call(D,e)||!k.call(I,e)&&(x.test(e)?D[e]=!0:(I[e]=!0,!1))}function N(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){A[e]=new N(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];A[t]=new N(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){A[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){A[e]=new N(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){A[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){A[e]=new N(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){A[e]=new N(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){A[e]=new N(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){A[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)}));var F=/[\-:]([a-z])/g;function j(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(F,j);A[t]=new N(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(F,j);A[t]=new N(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(F,j);A[t]=new N(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){A[e]=new N(e,1,!1,e.toLowerCase(),null,!1,!1)})),A.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){A[e]=new N(e,1,!1,e.toLowerCase(),null,!0,!0)}));var G=/["'&<>]/;function U(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=G.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function B(e,t){var n,r=A.hasOwnProperty(e)?A[e]:null;return(n="style"!==e)&&(n=null!==r?0===r.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),n||function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,t,n))return!0;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,r)?"":null!==r?(e=r.attributeName,3===(n=r.type)||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+U(t)+'"')):T(e)?e+'="'+U(t)+'"':""}var L="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},W=null,H=null,V=null,q=!1,z=!1,$=null,J=0;function K(){if(null===W)throw Error(a(321));return W}function Y(){if(0<J)throw Error(a(312));return{memoizedState:null,queue:null,next:null}}function Z(){return null===V?null===H?(q=!1,H=V=Y()):(q=!0,V=H):null===V.next?(q=!1,V=V.next=Y()):(q=!0,V=V.next),V}function X(e,t,n,r){for(;z;)z=!1,J+=1,V=null,n=e(t,r);return Q(),n}function Q(){W=null,z=!1,H=null,J=0,V=$=null}function ee(e,t){return"function"==typeof t?t(e):t}function te(e,t,n){if(W=K(),V=Z(),q){var r=V.queue;if(t=r.dispatch,null!==$&&void 0!==(n=$.get(r))){$.delete(r),r=V.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return V.memoizedState=r,[r,t]}return[V.memoizedState,t]}return e=e===ee?"function"==typeof t?t():t:void 0!==n?n(t):t,V.memoizedState=e,e=(e=V.queue={last:null,dispatch:null}).dispatch=re.bind(null,W,e),[V.memoizedState,e]}function ne(e,t){if(W=K(),t=void 0===t?null:t,null!==(V=Z())){var n=V.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!L(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),V.memoizedState=[e,t],e}function re(e,t,n){if(!(25>J))throw Error(a(301));if(e===W)if(z=!0,e={action:n,next:null},null===$&&($=new Map),void 0===(n=$.get(t)))$.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function oe(){}var ae=null,ie={readContext:function(e){var t=ae.threadID;return R(e,t),e[t]},useContext:function(e){K();var t=ae.threadID;return R(e,t),e[t]},useMemo:ne,useReducer:te,useRef:function(e){W=K();var t=(V=Z()).memoizedState;return null===t?(e={current:e},V.memoizedState=e):t},useState:function(e){return te(ee,e)},useLayoutEffect:function(){},useCallback:function(e,t){return ne((function(){return e}),t)},useImperativeHandle:oe,useEffect:oe,useDebugValue:oe,useDeferredValue:function(e){return K(),e},useTransition:function(){return K(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(ae.identifierPrefix||"")+"R:"+(ae.uniqueID++).toString(36)},useMutableSource:function(e,t){return K(),t(e._source)}},se="http://www.w3.org/1999/xhtml";function ue(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var le={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ce=r({menuitem:!0},le),fe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];Object.keys(fe).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var de=/([A-Z])/g,he=/^ms-/,me=o.Children.toArray,ye=O.ReactCurrentDispatcher,ge={listing:!0,pre:!0,textarea:!0},ve=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ce={},_e={},we=Object.prototype.hasOwnProperty,Se={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ee(e,t){if(void 0===e)throw Error(a(152,E(t)||"Component"))}var Oe=function(){function e(e,t,n){o.isValidElement(e)?e.type!==s?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:me(e)):e=me(e),e={type:null,domNamespace:se,children:e,childIndex:0,context:b,footer:""};var r=P[0];if(0===r){var i=P,u=2*(r=i.length);if(!(65536>=u))throw Error(a(304));var l=new Uint16Array(u);for(l.set(i),(P=l)[0]=r+1,i=r;i<u-1;i++)P[i]=i+1;P[u-1]=0}else P[0]=P[r];this.threadID=r,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.uniqueID=0,this.identifierPrefix=n&&n.identifierPrefix||""}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;P[e]=P[0],P[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;R(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=ae;ae=this;var n=ye.current;ye.current=ie;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var i=this.threadID;P[i]=P[0],P[0]=i;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var u=s.footer;if(""!==u&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===c)this.popProvider(s.type);else if(s.type===d){this.suspenseDepth--;var l=r.pop();if(o){o=!1;var f=s.fallbackFrame;if(!f)throw Error(a(303));this.stack.push(f),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=l}r[this.suspenseDepth]+=u}else{var p=s.children[s.childIndex++],h="";try{h+=this.render(p,s.context,s.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(a(294));throw e}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{ye.current=n,ae=t,Q()}},t.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""==(n=""+e)?"":this.makeStaticMarkup?U(n):this.previousWasTextNode?"\x3c!-- --\x3e"+U(n):(this.previousWasTextNode=!0,U(n));if(e=(t=function(e,t,n){function i(o,i){var s=i.prototype&&i.prototype.isReactComponent,u=function(e,t,n,r){if(r&&"object"==typeof(r=e.contextType)&&null!==r)return R(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=b;return t}(i,t,n,s),l=[],c=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===l)return null},enqueueReplaceState:function(e,t){c=!0,l=[t]},enqueueSetState:function(e,t){if(null===l)return null;l.push(t)}};if(s){if(s=new i(o.props,u,f),"function"==typeof i.getDerivedStateFromProps){var p=i.getDerivedStateFromProps.call(null,o.props,s.state);null!=p&&(s.state=r({},s.state,p))}}else if(W={},s=i(o.props,u,f),null==(s=X(i,o.props,s,u))||null==s.render)return void Ee(e=s,i);if(s.props=o.props,s.context=u,s.updater=f,void 0===(f=s.state)&&(s.state=f=null),"function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount)if("function"==typeof s.componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),l.length){f=l;var d=c;if(l=null,c=!1,d&&1===f.length)s.state=f[0];else{p=d?f[0]:s.state;var h=!0;for(d=d?1:0;d<f.length;d++){var m=f[d];null!=(m="function"==typeof m?m.call(s,p,o.props,u):m)&&(h?(h=!1,p=r({},p,m)):r(p,m))}s.state=p}}else l=null;if(Ee(e=s.render(),i),"function"==typeof s.getChildContext&&"object"==typeof(o=i.childContextTypes)){var y=s.getChildContext();for(var g in y)if(!(g in o))throw Error(a(108,E(i)||"Unknown",g))}y&&(t=r({},t,y))}for(;o.isValidElement(e);){var s=e,u=s.type;if("function"!=typeof u)break;i(s,u)}return{child:e,context:t}}(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===i)throw Error(a(257));throw Error(a(258,n.toString()))}return e=me(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var g=e.type;if("string"==typeof g)return this.renderDOM(e,t,n);switch(g){case w:case _:case u:case l:case h:case s:return e=me(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case d:throw Error(a(294));case C:throw Error(a(343))}if("object"==typeof g&&null!==g)switch(g.$$typeof){case p:W={};var S=g.render(e.props,e.ref);return S=X(g.render,e.props,S,e.ref),S=me(S),this.stack.push({type:null,domNamespace:n,children:S,childIndex:0,context:t,footer:""}),"";case m:return e=[o.createElement(g.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case c:return n={type:e,domNamespace:n,children:g=me(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case f:g=e.type,S=e.props;var O=this.threadID;return R(g,O),g=me(S.children(g[O])),this.stack.push({type:e,domNamespace:n,children:g,childIndex:0,context:t,footer:""}),"";case v:throw Error(a(338));case y:return g=(S=(g=e.type)._init)(g._payload),e=[o.createElement(g,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}throw Error(a(130,null==g?g:typeof g,""))},t.renderDOM=function(e,t,n){var i=e.type.toLowerCase();if(n===se&&ue(i),!Ce.hasOwnProperty(i)){if(!ve.test(i))throw Error(a(65,i));Ce[i]=!0}var s=e.props;if("input"===i)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===i){var u=s.value;if(null==u){u=s.defaultValue;var l=s.children;if(null!=l){if(null!=u)throw Error(a(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(a(93));l=l[0]}u=""+l}null==u&&(u="")}s=r({},s,{value:void 0,children:""+u})}else if("select"===i)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===i){l=this.currentSelectValue;var c=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=l){var f=null!=s.value?s.value+"":c;if(u=!1,Array.isArray(l)){for(var p=0;p<l.length;p++)if(""+l[p]===f){u=!0;break}}else u=""+l===f;s=r({selected:void 0,children:void 0},s,{selected:u,children:c})}}if(u=s){if(ce[i]&&(null!=u.children||null!=u.dangerouslySetInnerHTML))throw Error(a(137,i));if(null!=u.dangerouslySetInnerHTML){if(null!=u.children)throw Error(a(60));if("object"!=typeof u.dangerouslySetInnerHTML||!("__html"in u.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=u.style&&"object"!=typeof u.style)throw Error(a(62))}u=s,l=this.makeStaticMarkup,c=1===this.stack.length,f="<"+e.type;e:if(-1===i.indexOf("-"))p="string"==typeof u.is;else switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":p=!1;break e;default:p=!0}for(w in u)if(we.call(u,w)){var d=u[w];if(null!=d){if("style"===w){var h=void 0,m="",y="";for(h in d)if(d.hasOwnProperty(h)){var g=0===h.indexOf("--"),v=d[h];if(null!=v){if(g)var C=h;else if(C=h,_e.hasOwnProperty(C))C=_e[C];else{var _=C.replace(de,"-$1").toLowerCase().replace(he,"-ms-");C=_e[C]=_}m+=y+C+":",y=h,m+=g=null==v||"boolean"==typeof v||""===v?"":g||"number"!=typeof v||0===v||fe.hasOwnProperty(y)&&fe[y]?(""+v).trim():v+"px",y=";"}}d=m||null}h=null,p?Se.hasOwnProperty(w)||(h=T(h=w)&&null!=d?h+'="'+U(d)+'"':""):h=B(w,d),h&&(f+=" "+h)}}l||c&&(f+=' data-reactroot=""');var w=f;u="",le.hasOwnProperty(i)?w+="/>":(w+=">",u="</"+e.type+">");e:{if(null!=(l=s.dangerouslySetInnerHTML)){if(null!=l.__html){l=l.__html;break e}}else if("string"==typeof(l=s.children)||"number"==typeof l){l=U(l);break e}l=null}return null!=l?(s=[],ge.hasOwnProperty(i)&&"\n"===l.charAt(0)&&(w+="\n"),w+=l):s=me(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ue(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:i,children:s,childIndex:0,context:t,footer:u}),this.previousWasTextNode=!1,w},e}();t.renderToNodeStream=function(){throw Error(a(207))},t.renderToStaticMarkup=function(e,t){e=new Oe(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}},t.renderToStaticNodeStream=function(){throw Error(a(208))},t.renderToString=function(e,t){e=new Oe(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}},t.version="17.0.1"},4143:(e,t,n)=>{"use strict";e.exports=n(8914)},8087:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var i,s,u=o(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))n.call(i,c)&&(u[c]=i[c]);if(t){s=t(i);for(var f=0;f<s.length;f++)r.call(i,s[f])&&(u[s[f]]=i[s[f]])}}return u}},6178:(e,t,n)=>{"use strict";var r=n(4730);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},7225:(e,t,n)=>{e.exports=n(6178)()},4730:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/** @license React v17.0.1
|
|
8
|
+
* react-dom-server.browser.production.min.js
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|