(function(){"use strict";/** * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT *//** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */function dt(n){return n==null||n===""?null:n}function O(n,t){return t===void 0&&(t=!1),n!=null&&(n!==""||t)}function x(n){return!O(n)}function Te(n){return n==null||n.length===0}function li(n){return n!=null&&typeof n.toString=="function"?n.toString():null}function Fe(n){if(n!==void 0){if(n===null||n==="")return null;if(typeof n=="number")return isNaN(n)?void 0:n;var t=parseInt(n,10);return isNaN(t)?void 0:t}}function Ue(n){if(n!==void 0)return n===null||n===""?!1:typeof n=="boolean"?n:/true/i.test(n)}function eu(n){if(!(n==null||n===""))return n}function tu(n,t){return n==null&&t==null?!0:n==null&&t!=null||n!=null&&t==null?!1:n===t}function ru(n,t){var e=n?JSON.stringify(n):null,r=t?JSON.stringify(t):null;return e===r}function ou(n,t,e){e===void 0&&(e=!1);var r=n==null,o=t==null;if(n&&n.toNumber&&(n=n.toNumber()),t&&t.toNumber&&(t=t.toNumber()),r&&o)return 0;if(r)return-1;if(o)return 1;function i(s,a){return s>a?1:s=0)){var i=e[o],s=Yr(i)&&i.constructor===Object;s?r[o]=Kr(i):r[o]=i}}),r}}function hs(n,t){return n[t]}function fs(n,t,e){n[t]=e}function au(n,t){for(var e=[],r=2;r1;)if(o=o[r.shift()],o==null)return e;var i=o[r[0]];return i??e}function cu(n,t,e){if(n!=null){var r=t.split("."),o=n;r.forEach(function(i,s){o[i]||(o[i]={}),s0&&window.setTimeout(function(){return n.forEach(function(e){return e()})},t)}function Ke(n,t){var e;return function(){for(var r=[],o=0;oe;(n()||l)&&(t(),s=!0,i!=null&&(window.clearInterval(i),i=null),l&&r&&console.warn(r))};a(),s||(i=window.setInterval(a,10))}function du(){for(var n=[],t=0;t0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(s)throw s.error}}return i},gu=function(){for(var n=[],t=0;t> creating ag-Application Context"),this.createBeans();var r=this.getBeanInstances();this.wireBeans(r),this.logger.log(">> ag-Application Context ready - component is alive")}}return n.prototype.getBeanInstances=function(){return cr(this.beanWrappers).map(function(t){return t.beanInstance})},n.prototype.createBean=function(t,e){if(!t)throw Error("Can't wire to bean since it is null");return this.wireBeans([t],e),t},n.prototype.wireBeans=function(t,e){this.autoWireBeans(t),this.methodWireBeans(t),this.callLifeCycleMethods(t,"preConstructMethods"),O(e)&&t.forEach(e),this.callLifeCycleMethods(t,"postConstructMethods")},n.prototype.createBeans=function(){var t=this;this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),J(this.beanWrappers,function(r,o){var i;o.bean.__agBeanMetaData&&o.bean.__agBeanMetaData.autowireMethods&&o.bean.__agBeanMetaData.autowireMethods.agConstructor&&(i=o.bean.__agBeanMetaData.autowireMethods.agConstructor);var s=t.getBeansForParameters(i,o.bean.name),a=new(o.bean.bind.apply(o.bean,gu([null],s)));o.beanInstance=a});var e=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+e)},n.prototype.createBeanWrapper=function(t){var e=t.__agBeanMetaData;if(!e){var r=void 0;t.prototype.constructor?r=qr(t.prototype.constructor):r=""+t,console.error("Context item "+r+" is not a bean");return}var o={bean:t,beanInstance:null,beanName:e.beanName};this.beanWrappers[e.beanName]=o},n.prototype.autoWireBeans=function(t){var e=this;t.forEach(function(r){e.forEachMetaDataInHierarchy(r,function(o,i){var s=o.agClassAttributes;s&&s.forEach(function(a){var l=e.lookupBeanInstance(i,a.beanName,a.optional);r[a.attributeName]=l})})})},n.prototype.methodWireBeans=function(t){var e=this;t.forEach(function(r){e.forEachMetaDataInHierarchy(r,function(o,i){J(o.autowireMethods,function(s,a){if(s!=="agConstructor"){var l=e.getBeansForParameters(a,i);r[s].apply(r,l)}})})})},n.prototype.forEachMetaDataInHierarchy=function(t,e){for(var r=Object.getPrototypeOf(t);r!=null;){var o=r.constructor;if(o.hasOwnProperty("__agBeanMetaData")){var i=o.__agBeanMetaData,s=this.getBeanName(o);e(i,s)}r=Object.getPrototypeOf(r)}},n.prototype.getBeanName=function(t){if(t.__agBeanMetaData&&t.__agBeanMetaData.beanName)return t.__agBeanMetaData.beanName;var e=t.toString(),r=e.substring(9,e.indexOf("("));return r},n.prototype.getBeansForParameters=function(t,e){var r=this,o=[];return t&&J(t,function(i,s){var a=r.lookupBeanInstance(e,s);o[Number(i)]=a}),o},n.prototype.lookupBeanInstance=function(t,e,r){if(r===void 0&&(r=!1),e==="context")return this;if(this.contextParams.providedBeanInstances&&this.contextParams.providedBeanInstances.hasOwnProperty(e))return this.contextParams.providedBeanInstances[e];var o=this.beanWrappers[e];return o?o.beanInstance:(r||console.error("AG Grid: unable to find bean reference "+e+" while initialising "+t),null)},n.prototype.callLifeCycleMethods=function(t,e){var r=this;t.forEach(function(o){return r.callLifeCycleMethodsOnBean(o,e)})},n.prototype.callLifeCycleMethodsOnBean=function(t,e,r){var o={};this.forEachMetaDataInHierarchy(t,function(s){var a=s[e];a&&a.forEach(function(l){l!=r&&(o[l]=!0)})});var i=Object.keys(o);i.forEach(function(s){return t[s]()})},n.prototype.getBean=function(t){return this.lookupBeanInstance("getBean",t,!0)},n.prototype.destroy=function(){if(!this.destroyed){this.logger.log(">> Shutting down ag-Application Context");var t=this.getBeanInstances();this.destroyBeans(t),this.contextParams.providedBeanInstances=null,this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead")}},n.prototype.destroyBean=function(t){t&&this.destroyBeans([t])},n.prototype.destroyBeans=function(t){var e=this;return t?(t.forEach(function(r){e.callLifeCycleMethodsOnBean(r,"preDestroyMethods","destroy");var o=r;typeof o.destroy=="function"&&o.destroy()}),[]):[]},n}();function _s(n,t,e){var r=Tt(n.constructor);r.preConstructMethods||(r.preConstructMethods=[]),r.preConstructMethods.push(t)}function b(n,t,e){var r=Tt(n.constructor);r.postConstructMethods||(r.postConstructMethods=[]),r.postConstructMethods.push(t)}function ue(n,t,e){var r=Tt(n.constructor);r.preDestroyMethods||(r.preDestroyMethods=[]),r.preDestroyMethods.push(t)}function A(n){return function(t){var e=Tt(t);e.beanName=n}}function h(n){return function(t,e,r){Rs(t,n,!1,t,e,null)}}function $(n){return function(t,e,r){Rs(t,n,!0,t,e,null)}}function Rs(n,t,e,r,o,i){if(t===null){console.error("AG Grid: Autowired name should not be null");return}if(typeof i=="number"){console.error("AG Grid: Autowired should be on an attribute");return}var s=Tt(n.constructor);s.agClassAttributes||(s.agClassAttributes=[]),s.agClassAttributes.push({attributeName:o,beanName:t,optional:e})}function ye(n){return function(t,e,r){var o=typeof t=="function"?t:t.constructor,i;if(typeof r=="number"){var s=void 0;e?(i=Tt(o),s=e):(i=Tt(o),s="agConstructor"),i.autowireMethods||(i.autowireMethods={}),i.autowireMethods[s]||(i.autowireMethods[s]={}),i.autowireMethods[s][r]=n}}}function Tt(n){return n.hasOwnProperty("__agBeanMetaData")||(n.__agBeanMetaData={}),n.__agBeanMetaData}/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */var Os=function(n,t,e,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(n,t,e,r);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(i=(o<3?s(i):o>3?s(t,e,i):s(t,e))||i);return o>3&&i&&Object.defineProperty(t,e,i),i},Xr=function(n,t){return function(e,r){t(e,r,n)}},ht=function(){function n(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}return n.prototype.setBeans=function(t,e,r,o){if(o===void 0&&(o=null),this.frameworkOverrides=r,this.gridOptionsService=e,o){var i=e.useAsyncEvents();this.addGlobalListener(o,i)}},n.prototype.getListeners=function(t,e,r){var o=e?this.allAsyncListeners:this.allSyncListeners,i=o.get(t);return!i&&r&&(i=new Set,o.set(t,i)),i},n.prototype.noRegisteredListenersExist=function(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0},n.prototype.addEventListener=function(t,e,r){r===void 0&&(r=!1),this.getListeners(t,r,!0).add(e)},n.prototype.removeEventListener=function(t,e,r){r===void 0&&(r=!1);var o=this.getListeners(t,r,!1);if(o&&(o.delete(e),o.size===0)){var i=r?this.allAsyncListeners:this.allSyncListeners;i.delete(t)}},n.prototype.addGlobalListener=function(t,e){e===void 0&&(e=!1),(e?this.globalAsyncListeners:this.globalSyncListeners).add(t)},n.prototype.removeGlobalListener=function(t,e){e===void 0&&(e=!1),(e?this.globalAsyncListeners:this.globalSyncListeners).delete(t)},n.prototype.dispatchEvent=function(t){var e=t;if(this.gridOptionsService){var r=this.gridOptionsService,o=r.api,i=r.columnApi,s=r.context;e.api=o,e.columnApi=i,e.context=s}this.dispatchToListeners(e,!0),this.dispatchToListeners(e,!1),this.firedEvents[e.type]=!0},n.prototype.dispatchEventOnce=function(t){this.firedEvents[t.type]||this.dispatchEvent(t)},n.prototype.dispatchToListeners=function(t,e){var r=this,o=t.type;if(e&&"event"in t){var i=t.event;i instanceof Event&&(t.eventPath=i.composedPath())}var s=function(u){return u.forEach(function(c){e?r.dispatchAsync(function(){return c(t)}):c(t)})},a=this.getListeners(o,e,!1);a&&s(a);var l=e?this.globalAsyncListeners:this.globalSyncListeners;l.forEach(function(u){e?r.dispatchAsync(function(){return r.frameworkOverrides.dispatchEvent(o,function(){return u(o,t)},!0)}):r.frameworkOverrides.dispatchEvent(o,function(){return u(o,t)},!0)})},n.prototype.dispatchAsync=function(t){this.asyncFunctionsQueue.push(t),this.scheduled||(window.setTimeout(this.flushAsyncQueue.bind(this),0),this.scheduled=!0)},n.prototype.flushAsyncQueue=function(){this.scheduled=!1;var t=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],t.forEach(function(e){return e()})},Os([Xr(0,ye("loggerFactory")),Xr(1,ye("gridOptionsService")),Xr(2,ye("frameworkOverrides")),Xr(3,ye("globalEventListener"))],n.prototype,"setBeans",null),n=Os([A("eventService")],n),n}();/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */var F;(function(n){n.CommunityCoreModule="@ag-grid-community/core",n.InfiniteRowModelModule="@ag-grid-community/infinite-row-model",n.ClientSideRowModelModule="@ag-grid-community/client-side-row-model",n.CsvExportModule="@ag-grid-community/csv-export",n.EnterpriseCoreModule="@ag-grid-enterprise/core",n.RowGroupingModule="@ag-grid-enterprise/row-grouping",n.ColumnsToolPanelModule="@ag-grid-enterprise/column-tool-panel",n.FiltersToolPanelModule="@ag-grid-enterprise/filter-tool-panel",n.MenuModule="@ag-grid-enterprise/menu",n.SetFilterModule="@ag-grid-enterprise/set-filter",n.MultiFilterModule="@ag-grid-enterprise/multi-filter",n.StatusBarModule="@ag-grid-enterprise/status-bar",n.SideBarModule="@ag-grid-enterprise/side-bar",n.RangeSelectionModule="@ag-grid-enterprise/range-selection",n.MasterDetailModule="@ag-grid-enterprise/master-detail",n.RichSelectModule="@ag-grid-enterprise/rich-select",n.GridChartsModule="@ag-grid-enterprise/charts",n.ViewportRowModelModule="@ag-grid-enterprise/viewport-row-model",n.ServerSideRowModelModule="@ag-grid-enterprise/server-side-row-model",n.ExcelExportModule="@ag-grid-enterprise/excel-export",n.ClipboardModule="@ag-grid-enterprise/clipboard",n.SparklinesModule="@ag-grid-enterprise/sparklines",n.AngularModule="@ag-grid-community/angular",n.ReactModule="@ag-grid-community/react",n.VueModule="@ag-grid-community/vue"})(F||(F={}));/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */var Cu=function(n,t){var e=typeof Symbol=="function"&&n[Symbol.iterator];if(!e)return n;var r=e.call(n),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(s)throw s.error}}return i},N=function(){function n(){}return n.register=function(t,e){e===void 0&&(e=!0),n.runVersionChecks(t),n.modulesMap[t.moduleName]=t,n.setModuleBased(e)},n.runVersionChecks=function(t){if(n.currentModuleVersion||(n.currentModuleVersion=t.version),t.version?t.version!==n.currentModuleVersion&&console.error("AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '"+t.moduleName+"' is version "+t.version+" but the other modules are version "+this.currentModuleVersion+". Please update all modules to the same version."):console.error("AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '"+t.moduleName+"' is incompatible. Please update all modules to the same version."),t.validate){var e=t.validate();if(!e.isValid){var r=e;console.error("AG Grid: "+r.message)}}},n.setModuleBased=function(t){n.moduleBased===void 0?n.moduleBased=t:n.moduleBased!==t&&U(function(){console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms."),console.warn("Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.")},"ModulePackageCheck")},n.setIsBundled=function(){n.isBundled=!0},n.registerModules=function(t,e){e===void 0&&(e=!0),n.setModuleBased(e),t&&t.forEach(function(r){return n.register(r,e)})},n.assertRegistered=function(t,e){var r;if(this.isRegistered(t))return!0;var o=e+t,i;if(n.isBundled)i="AG Grid: unable to use "+e+` as 'ag-grid-enterprise' has not been loaded. Check you are using the Enterprise bundle: