diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..01a20f16fe3aa0fcf48f5fc5c4f90b906e1407ac --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# https://editorconfig.org + +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false diff --git a/.env.development b/.env.development index 055894bcdeeb7c2c6828313725a2f0a5a39881ad..566e7a5e426566403bf2b3d7f848ff9bfba3069a 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ # 全局变量配置(import.meta.env:获取配置对象) VITE_APP_TITLE=ok-admin-vue -VITE_APP_BASEURL=http://koa-mvc.zhizous.cn/api \ No newline at end of file +VITE_APP_BASEURL=http://koa-mvc.zhizous.cn/api diff --git a/.env.ok-admin-vue b/.env.ok-admin-vue index 4e0a11b04abccaee2bbdc4915503383bf3909f6c..1a6f1d417a887cfcb7f9efb41bf725e781ee0c85 100644 --- a/.env.ok-admin-vue +++ b/.env.ok-admin-vue @@ -5,4 +5,4 @@ VITE_APP_BASEURL=http://koa-mvc.zhizous.cn/api VITE_PUBLIC_PATH=/ok-admin-vue # 打包后存放的的文件夹 VITE_OUT_DIR=admin -NODE_ENV=production \ No newline at end of file +NODE_ENV=production diff --git a/.env.production b/.env.production index 055894bcdeeb7c2c6828313725a2f0a5a39881ad..566e7a5e426566403bf2b3d7f848ff9bfba3069a 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ # 全局变量配置(import.meta.env:获取配置对象) VITE_APP_TITLE=ok-admin-vue -VITE_APP_BASEURL=http://koa-mvc.zhizous.cn/api \ No newline at end of file +VITE_APP_BASEURL=http://koa-mvc.zhizous.cn/api diff --git a/.env.staging b/.env.staging index d4a2f76d2e248e51681aea0de18b8d5632df8efb..11cb1307395678d67667a06230dab9e67701cba2 100644 --- a/.env.staging +++ b/.env.staging @@ -1,4 +1,4 @@ # 全局变量配置(import.meta.env:获取配置对象) NODE_ENV=production VITE_APP_TITLE=ok-staging -VITE_APP_BASEURL=http://koa-mvc.zhizous.cn/api \ No newline at end of file +VITE_APP_BASEURL=http://koa-mvc.zhizous.cn/api diff --git a/.eslintrc.js b/.eslintrc.js index 2742922b3c9986cbbeabbccaf168a7cd3efe746a..e86b7f5972e6fa6e643e8cd7f8a2c40f4ed55fae 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -12,6 +12,13 @@ module.exports = { node: true, es6: true }, + globals: { + // 针对@typescript-eslint/parser版本4+及其以上找不到NodeJS问题处理 + NodeJS: true, + // vue3使用setup时自动引入的编译宏 + defineProps: 'readonly', + defineEmits: 'readonly' + }, parser: 'vue-eslint-parser', parserOptions: { parser: '@typescript-eslint/parser', @@ -23,22 +30,26 @@ module.exports = { }, extends: [ 'plugin:vue/vue3-essential', // vue3核心的eslint规则 - - 'eslint:recommended', // eslint建议的规则 - 'plugin:vue/vue3-recommended', // 强制执行主观社区默认值的规则,以确保一致性。 + 'plugin:vue/vue3-recommended', // vue3推荐的强制执行主观社区默认值的规则,以确保一致性。 + 'plugin:vue/vue3-strongly-recommended', // vue3推荐的依赖规则提高可读性 'plugin:@typescript-eslint/recommended', - 'prettier/@typescript-eslint', 'plugin:prettier/recommended', - 'plugin:recommended', + 'eslint:recommended', // eslint建议的规则 + '@vue/prettier', 'prettier' + // '@vue/prettier/@typescript-eslint' ], plugins: ['prettier'], rules: { 'prettier/prettier': 'warn', 'vue/no-unused-components': 'off', 'vue/no-unused-vars': 'off', - 'no-console': ['error', { allow: ['warn', 'error'] }], // 禁用 console - '@typescript-eslint/no-console': ['error', { allow: ['warn', 'error'] }], // 禁用 console + // 关闭文件有多个组件的警告 + 'vue/one-component-per-file': 'off', + // 关闭 console的提示 + 'no-console': ['off', { allow: ['warn', 'error'] }], + // 关闭 console的提示 + '@typescript-eslint/no-console': ['off', { allow: ['warn', 'error'] }], '@typescript-eslint/ban-ts-ignore': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'off', @@ -49,20 +60,13 @@ module.exports = { '@typescript-eslint/ban-types': 'off', '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', + // 未使用的变量值不做提示 '@typescript-eslint/no-unused-vars': [ - 'error', - { - argsIgnorePattern: '^h$', - varsIgnorePattern: '^h$' - } - ], - 'no-unused-vars': [ - 'error', - { - argsIgnorePattern: '^h$', - varsIgnorePattern: '^h$' - } + 'off', + { argsIgnorePattern: '^h$', varsIgnorePattern: '^h$' } ], + // 未使用的变量值不做提示 + 'no-unused-vars': ['off', { argsIgnorePattern: '^h$', varsIgnorePattern: '^h$' }], 'space-before-function-paren': 'off', quotes: ['error', 'single'], 'comma-dangle': ['error', 'never'], diff --git a/.gitignore b/.gitignore index bd9451cdfc11455e3a96452dbbc9f9b9f526d5a7..e6e6eb4dc5ce714528e65538d66092ac4479b235 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,4 @@ pnpm-debug.log* *.ntvs* *.njsproj *.sln -*.sw? \ No newline at end of file +*.sw? diff --git a/.prettierignore b/.prettierignore index ee411083dae7a0d27af190c97a7832f8031de005..665f9972f3270f9378fe605c3e474522fcff0684 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,4 +5,4 @@ **/*.svg **/*.sh -/public/* \ No newline at end of file +/public/* diff --git a/.prettierrc.js b/.prettierrc.js index 5bf3322f4b9ba01ccb26ce7d12d192dd92ce6eb9..fa248d8d52fa8caefa75385ab8b577ddea5214eb 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -17,5 +17,5 @@ module.exports = { requirePragma: false, proseWrap: 'never', htmlWhitespaceSensitivity: 'strict', - endOfLine: 'auto' // 换行格式 1.CRLF-回车符+换行符(\r\n) 2.LF仅\n换行() 3.auto 维持现有的行尾 + endOfLine: 'lf' // 换行格式 1.CRLF-回车符+换行符(\r\n) 2.LF仅\n换行() 3.auto 维持现有的行尾 } diff --git a/admin/assets/403.800f1f86.js b/admin/assets/403.e24b9954.js similarity index 47% rename from admin/assets/403.800f1f86.js rename to admin/assets/403.e24b9954.js index c79460cb8082c9ac2c31722c32ce4a2ed3127780..591929ffec1691efb52997584db19fc819e157e4 100644 --- a/admin/assets/403.800f1f86.js +++ b/admin/assets/403.e24b9954.js @@ -1 +1 @@ -import{_ as e}from"./index.9a3f1d57.js";import{a as o,o as a,V as n}from"./vendor.b4cb7e3a.js";const s=o({nmae:"403"}),t={class:"app-container"};function r(c,p,_,d,i,f){return a(),n("div",t,"403")}var u=e(s,[["render",r]]);export{u as default}; +import{_ as e}from"./index.13aca5e8.js";import{a as o,o as a,V as n}from"./vendor.3e5191bd.js";const s=o({nmae:"403"}),t={class:"app-container"};function r(c,p,_,d,i,f){return a(),n("div",t,"403")}var u=e(s,[["render",r]]);export{u as default}; diff --git a/admin/assets/404.fed99439.js b/admin/assets/404.fc3aff13.js similarity index 47% rename from admin/assets/404.fed99439.js rename to admin/assets/404.fc3aff13.js index 297c07d46daefedb7ce8d279d824e9844963c9a3..971e5af75c2a4825b461ebd98f973a3b7f6e464d 100644 --- a/admin/assets/404.fed99439.js +++ b/admin/assets/404.fc3aff13.js @@ -1 +1 @@ -import{_ as e}from"./index.9a3f1d57.js";import{a as o,o as a,V as n}from"./vendor.b4cb7e3a.js";const s=o({nmae:"404"}),t={class:"app-container"};function r(c,p,_,d,i,f){return a(),n("div",t,"404")}var u=e(s,[["render",r]]);export{u as default}; +import{_ as e}from"./index.13aca5e8.js";import{a as o,o as a,V as n}from"./vendor.3e5191bd.js";const s=o({nmae:"404"}),t={class:"app-container"};function r(c,p,_,d,i,f){return a(),n("div",t,"404")}var u=e(s,[["render",r]]);export{u as default}; diff --git a/admin/assets/500.791ecfb8.js b/admin/assets/500.0b94f36f.js similarity index 47% rename from admin/assets/500.791ecfb8.js rename to admin/assets/500.0b94f36f.js index c6d4e896c252810846e1cd5b21f878968d3ff188..c130ca5c65241094c2157f9f69ad721895497826 100644 --- a/admin/assets/500.791ecfb8.js +++ b/admin/assets/500.0b94f36f.js @@ -1 +1 @@ -import{_ as e}from"./index.9a3f1d57.js";import{a as o,o as a,V as n}from"./vendor.b4cb7e3a.js";const s=o({nmae:"500"}),t={class:"app-container"};function r(c,p,_,d,i,f){return a(),n("div",t,"500")}var u=e(s,[["render",r]]);export{u as default}; +import{_ as e}from"./index.13aca5e8.js";import{a as o,o as a,V as n}from"./vendor.3e5191bd.js";const s=o({nmae:"500"}),t={class:"app-container"};function r(c,p,_,d,i,f){return a(),n("div",t,"500")}var u=e(s,[["render",r]]);export{u as default}; diff --git a/admin/assets/advanced-form.c7adbeef.js b/admin/assets/advanced-form.c7adbeef.js deleted file mode 100644 index b37b62ee1f6f493cdd9bff990e5a0f3e715fd4b1..0000000000000000000000000000000000000000 --- a/admin/assets/advanced-form.c7adbeef.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./index.9a3f1d57.js";import{a,o,V as n}from"./vendor.b4cb7e3a.js";const r=a({name:"advanced-form"}),c={class:"app-container"};function s(t,d,p,f,m,_){return o(),n("div",c,"advanced-form")}var l=e(r,[["render",s]]);export{l as default}; diff --git a/admin/assets/advanced-form.ce383308.js b/admin/assets/advanced-form.ce383308.js new file mode 100644 index 0000000000000000000000000000000000000000..3fa77b42879807d277c4b933736ff1aacceb6a0a --- /dev/null +++ b/admin/assets/advanced-form.ce383308.js @@ -0,0 +1 @@ +import{_ as e}from"./index.13aca5e8.js";import{a,o,V as n}from"./vendor.3e5191bd.js";const r=a({name:"AdvancedForm"}),c={class:"app-container"};function s(t,d,p,m,_,i){return o(),n("div",c,"advanced-form")}var l=e(r,[["render",s]]);export{l as default}; diff --git a/admin/assets/basic-form.ab2d1fbd.js b/admin/assets/basic-form.ab2d1fbd.js new file mode 100644 index 0000000000000000000000000000000000000000..268f8bb772b2678ed32dbbe7fff406a16a87b525 --- /dev/null +++ b/admin/assets/basic-form.ab2d1fbd.js @@ -0,0 +1 @@ +import{_ as e}from"./index.13aca5e8.js";import{a as o,o as a,V as s}from"./vendor.3e5191bd.js";const r=o({name:"BasicForm"}),n={class:"app-container"};function c(t,i,p,m,_,d){return a(),s("div",n,"basic-form")}var u=e(r,[["render",c]]);export{u as default}; diff --git a/admin/assets/basic-form.f37582d6.js b/admin/assets/basic-form.f37582d6.js deleted file mode 100644 index dd6bb4039c0afc992f116930e6edbe62bf982aec..0000000000000000000000000000000000000000 --- a/admin/assets/basic-form.f37582d6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./index.9a3f1d57.js";import{a as o,o as a,V as s}from"./vendor.b4cb7e3a.js";const r=o({name:"basic-form"}),n={class:"app-container"};function c(t,i,p,f,m,_){return a(),s("div",n,"basic-form")}var l=e(r,[["render",c]]);export{l as default}; diff --git a/admin/assets/card-list.36e3627b.css b/admin/assets/card-list.36e3627b.css new file mode 100644 index 0000000000000000000000000000000000000000..298143421998e69c835c35246e6ef2e86854d6dd --- /dev/null +++ b/admin/assets/card-list.36e3627b.css @@ -0,0 +1 @@ +.box[data-v-3aba7135]{color:#60d659}.box-table[data-v-3aba7135]{padding:32px;display:flex;justify-content:center} diff --git a/admin/assets/card-list.41749c6f.js b/admin/assets/card-list.41749c6f.js deleted file mode 100644 index ad42231d33859616c49d458c7b6d8f0375a14486..0000000000000000000000000000000000000000 --- a/admin/assets/card-list.41749c6f.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./index.9a3f1d57.js";import{a as s,r as a,o as t,V as r,Z as _}from"./vendor.b4cb7e3a.js";const c={class:"box"},n=s({setup(d){const e=a("hello world");return(l,p)=>(t(),r("div",c,_(e.value),1))}});var u=o(n,[["__scopeId","data-v-d0819464"]]);export{u as default}; diff --git a/admin/assets/card-list.947bd612.css b/admin/assets/card-list.947bd612.css deleted file mode 100644 index 687ebbe94356b7142344f925943b6123824da471..0000000000000000000000000000000000000000 --- a/admin/assets/card-list.947bd612.css +++ /dev/null @@ -1 +0,0 @@ -.box[data-v-d0819464]{color:#60d659} diff --git a/admin/assets/card-list.95ed36fe.js b/admin/assets/card-list.95ed36fe.js new file mode 100644 index 0000000000000000000000000000000000000000..f6c27809e0656dc784572be0a4fcb4f07386428b --- /dev/null +++ b/admin/assets/card-list.95ed36fe.js @@ -0,0 +1,1492 @@ +import{r as rn,aR as sp,a as ap,i as lp,aS as up,q as PC,o as AC,V as DC,K as pp,Y as TC,aJ as bC,W as FC}from"./vendor.3e5191bd.js";import{_ as IC}from"./index.13aca5e8.js";var cp=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function NC(c){if(c.__esModule)return c;var w=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(c).forEach(function(y){var m=Object.getOwnPropertyDescriptor(c,y);Object.defineProperty(w,y,m.get?m:{enumerable:!0,get:function(){return c[y]}})}),w}var dp={};/** + * vue-class-component v8.0.0-rc.1 + * (c) 2015-present Evan You + * @license MIT + */function hp(c,w){if(!(c instanceof w))throw new TypeError("Cannot call a class as a function")}function fp(c,w){for(var y=0;yc.length)&&(w=c.length);for(var y=0,m=new Array(w);y-1){_[pe]=k[pe];return}var Fe=Object.getOwnPropertyDescriptor(k,pe);if(typeof Fe.value=="function"){_.methods[pe]=Fe.value;return}if(Fe.get||Fe.set){_.computed[pe]={get:Fe.get,set:Fe.set};return}}}),_.setup=function(pe,Fe){var de,ge=new y(pe,Fe),Xr=Object.keys(ge),et={},ft=null;return Xr.forEach(function(Ie){ge[Ie]===void 0||ge[Ie]&&ge[Ie].__s||(et[Ie]=rn(ge[Ie]),$C(ge,Ie,et))}),Xr.forEach(function(Ie){if(ge[Ie]&&ge[Ie].__s){var fr=ge[Ie].__s();fr instanceof Promise?(ft||(ft=Promise.resolve(et)),ft=ft.then(function(){return fr.then(function(oe){return et[Ie]=sp(oe),et})})):et[Ie]=sp(fr)}}),(de=ft)!==null&&de!==void 0?de:et};var X=sn(y,"__d");X&&X.forEach(function(pe){return pe(_)});var be=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return be.forEach(function(pe){y[pe]&&(_[pe]=y[pe])}),_}}]),c}();vp.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var yp=vp;function YC(c){return function(w){return w.__o=c,w}}var Je={};/** + * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v26.2.1 + * @link http://www.ag-grid.com/ +' * @license MIT + */(function(c){Object.defineProperty(c,"__esModule",{value:!0});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function w(i){return i==null||i===""?null:i}function y(i,t){return t===void 0&&(t=!1),i!=null&&(i!==""||t)}function m(i){return!y(i)}function _(i){return i==null||i.length===0}function N(i){return i!=null&&typeof i.toString=="function"?i.toString():null}function H(i){if(i!==void 0){if(i===null||i==="")return null;if(typeof i=="number")return isNaN(i)?void 0:i;var t=parseInt(i,10);return isNaN(t)?void 0:t}}function k(i){if(i!==void 0)return i===null||i===""?!1:typeof i=="boolean"?i:/true/i.test(i)}function X(i){if(!(i==null||i===""))return i}function be(i,t){return i==null&&t==null?!0:i==null&&t!=null||i!=null&&t==null?!1:i===t}function pe(i,t){var e=i?JSON.stringify(i):null,r=t?JSON.stringify(t):null;return e===r}function Fe(i,t,e){e===void 0&&(e=!1);var r=i==null,o=t==null;if(i&&i.toNumber&&(i=i.toNumber()),t&&t.toNumber&&(t=t.toNumber()),r&&o)return 0;if(r)return-1;if(o)return 1;function n(s,a){return s>a?1:s0}function oe(i){if(!(!i||!i.length))return i[i.length-1]}function Tt(i,t,e){return i==null&&t==null?!0:i!=null&&t!=null&&i.length===t.length&&gr(i,function(r,o){return e?e(r,t[o]):t[o]===r})}function _p(i,t){return Tt(i,t)}function Sp(i,t){return Tt(i,t)}function gs(i){return i.sort(function(t,e){return t-e})}function Op(i,t){if(!!i)for(var e=i.length-2;e>=0;e--){var r=i[e]===t,o=i[e+1]===t;r&&o&&i.splice(e+1,1)}}function Ee(i,t){var e=i.indexOf(t);e>=0&&i.splice(e,1)}function ln(i,t){ae(t,function(e){return Ee(i,e)})}function Qr(i,t,e){i.splice(e,0,t)}function Pp(i,t,e){if(!(i==null||t==null))for(var r=t.length-1;r>=0;r--){var o=t[r];Qr(i,o,e)}}function un(i,t,e){ln(i,t),ae(t.slice().reverse(),function(r){return Qr(i,r,e)})}function Ve(i,t){return i.indexOf(t)>-1}function Ap(i){return[].concat.apply([],i)}function pn(i,t){t==null||i==null||ae(t,function(e){return i.push(e)})}function Dp(i){return vs(i,N)}function bt(i,t){for(var e=0;e=0;e--)t(i[e],e)}function vs(i,t){if(i==null)return null;for(var e=[],r=0;r=0)){var n=e[o],s=Ut(n)&&n.constructor===Object;s?r[o]=Zr(n):r[o]=n}}),r}}function ys(i,t){return i[t]}function Cs(i,t,e){i[t]=e}function Lp(i,t){for(var e=[],r=2;r1;)if(o=o[r.shift()],o==null)return e;var n=o[r[0]];return n!=null?n:e}function Hp(i,t,e){if(i!=null){for(var r=t.split("."),o=i;r.length>1;)if(o=o[r.shift()],o==null)return;o[r[0]]=e}}function Es(i){return Object.freeze(i),ae(ge(i),function(t){(Ut(t)||typeof t=="function")&&Es(t)}),i}function Jr(i,t,e){if(!(!t||!i)){if(!e)return i[t];for(var r=t.split("."),o=i,n=0;n0&&window.setTimeout(function(){return i.forEach(function(e){return e()})},t)}function wt(i,t,e){e===void 0&&(e=!1);var r;return function(){for(var o=[],n=0;ne;(i()||l)&&(t(),s=!0,n!=null&&(window.clearInterval(n),n=null),l&&r&&console.warn(r))};a(),s||(n=window.setInterval(a,10))}function jp(){for(var i=[],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 i.prototype.getBeanInstances=function(){return ge(this.beanWrappers).map(function(t){return t.beanInstance})},i.prototype.createBean=function(t,e){if(!t)throw Error("Can't wire to bean since it is null");return this.wireBeans([t],e),t},i.prototype.wireBeans=function(t,e){this.autoWireBeans(t),this.methodWireBeans(t),this.callLifeCycleMethods(t,"preConstructMethods"),y(e)&&t.forEach(e),this.callLifeCycleMethods(t,"postConstructMethods")},i.prototype.createBeans=function(){var t=this;this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),te(this.beanWrappers,function(r,o){var n;o.bean.__agBeanMetaData&&o.bean.__agBeanMetaData.autowireMethods&&o.bean.__agBeanMetaData.autowireMethods.agConstructor&&(n=o.bean.__agBeanMetaData.autowireMethods.agConstructor);var s=t.getBeansForParameters(n,o.bean.name),a=zp(o.bean,s);o.beanInstance=a});var e=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+e)},i.prototype.createBeanWrapper=function(t){var e=t.__agBeanMetaData;if(!e){var r=void 0;t.prototype.constructor?r=eo(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},i.prototype.autoWireBeans=function(t){var e=this;t.forEach(function(r){e.forEachMetaDataInHierarchy(r,function(o,n){var s=o.agClassAttributes;!s||s.forEach(function(a){var l=e.lookupBeanInstance(n,a.beanName,a.optional);r[a.attributeName]=l})})})},i.prototype.methodWireBeans=function(t){var e=this;t.forEach(function(r){e.forEachMetaDataInHierarchy(r,function(o,n){te(o.autowireMethods,function(s,a){if(s!=="agConstructor"){var l=e.getBeansForParameters(a,n);r[s].apply(r,l)}})})})},i.prototype.forEachMetaDataInHierarchy=function(t,e){for(var r=Object.getPrototypeOf(t);r!=null;){var o=r.constructor;if(o.hasOwnProperty("__agBeanMetaData")){var n=o.__agBeanMetaData,s=this.getBeanName(o);e(n,s)}r=Object.getPrototypeOf(r)}},i.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},i.prototype.getBeansForParameters=function(t,e){var r=this,o=[];return t&&te(t,function(n,s){var a=r.lookupBeanInstance(e,s);o[Number(n)]=a}),o},i.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)},i.prototype.callLifeCycleMethods=function(t,e){var r=this;t.forEach(function(o){return r.callLifeCycleMethodsOnBean(o,e)})},i.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 n=Object.keys(o);n.forEach(function(s){return t[s]()})},i.prototype.getBean=function(t){return this.lookupBeanInstance("getBean",t,!0)},i.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")}},i.prototype.destroyBean=function(t){!t||this.destroyBeans([t])},i.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()}),[]):[]},i}();function zp(i,t){var e=[null].concat(t),r=i.bind.apply(i,e);return new r}function yn(i,t,e){var r=Ft(i.constructor);r.preConstructMethods||(r.preConstructMethods=[]),r.preConstructMethods.push(t)}function I(i,t,e){var r=Ft(i.constructor);r.postConstructMethods||(r.postConstructMethods=[]),r.postConstructMethods.push(t)}function ve(i,t,e){var r=Ft(i.constructor);r.preDestroyMethods||(r.preDestroyMethods=[]),r.preDestroyMethods.push(t)}function L(i){return function(t){var e=Ft(t);e.beanName=i}}function h(i){return function(t,e,r){Ts(t,i,!1,t,e,null)}}function Z(i){return function(t,e,r){Ts(t,i,!0,t,e,null)}}function Ts(i,t,e,r,o,n){if(t===null){console.error("AG Grid: Autowired name should not be null");return}if(typeof n=="number"){console.error("AG Grid: Autowired should be on an attribute");return}var s=Ft(i.constructor);s.agClassAttributes||(s.agClassAttributes=[]),s.agClassAttributes.push({attributeName:o,beanName:t,optional:e})}function Re(i){return function(t,e,r){var o=typeof t=="function"?t:t.constructor,n;if(typeof r=="number"){var s=void 0;e?(n=Ft(o),s=e):(n=Ft(o),s="agConstructor"),n.autowireMethods||(n.autowireMethods={}),n.autowireMethods[s]||(n.autowireMethods[s]={}),n.autowireMethods[s][r]=i}}}function Ft(i){return i.hasOwnProperty("__agBeanMetaData")||(i.__agBeanMetaData={}),i.__agBeanMetaData}/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var bs=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},to=function(i,t){return function(e,r){t(e,r,i)}},gt=function(){function i(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}return i.prototype.setBeans=function(t,e,r,o){if(o===void 0&&(o=null),this.frameworkOverrides=r,o){var n=e.useAsyncEvents();this.addGlobalListener(o,n)}},i.prototype.getListeners=function(t,e,r){var o=e?this.allAsyncListeners:this.allSyncListeners,n=o.get(t);return!n&&r&&(n=new Set,o.set(t,n)),n},i.prototype.noRegisteredListenersExist=function(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0},i.prototype.addEventListener=function(t,e,r){r===void 0&&(r=!1),this.getListeners(t,r,!0).add(e)},i.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 n=r?this.allAsyncListeners:this.allSyncListeners;n.delete(t)}},i.prototype.addGlobalListener=function(t,e){e===void 0&&(e=!1),(e?this.globalAsyncListeners:this.globalSyncListeners).add(t)},i.prototype.removeGlobalListener=function(t,e){e===void 0&&(e=!1),(e?this.globalAsyncListeners:this.globalSyncListeners).delete(t)},i.prototype.dispatchEvent=function(t){this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0},i.prototype.dispatchEventOnce=function(t){this.firedEvents[t.type]||this.dispatchEvent(t)},i.prototype.dispatchToListeners=function(t,e){var r=this,o=t.type,n=function(l){return l.forEach(function(u){e?r.dispatchAsync(function(){return u(t)}):u(t)})},s=this.getListeners(o,e,!1);s&&n(s);var a=e?this.globalAsyncListeners:this.globalSyncListeners;a.forEach(function(l){e?r.dispatchAsync(function(){return r.frameworkOverrides.dispatchEvent(o,function(){return l(o,t)},!0)}):r.frameworkOverrides.dispatchEvent(o,function(){return l(o,t)},!0)})},i.prototype.dispatchAsync=function(t){this.asyncFunctionsQueue.push(t),this.scheduled||(window.setTimeout(this.flushAsyncQueue.bind(this),0),this.scheduled=!0)},i.prototype.flushAsyncQueue=function(){this.scheduled=!1;var t=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],t.forEach(function(e){return e()})},bs([to(0,Re("loggerFactory")),to(1,Re("gridOptionsWrapper")),to(2,Re("frameworkOverrides")),to(3,Re("globalEventListener"))],i.prototype,"setBeans",null),i=bs([L("eventService")],i),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var E=function(){function i(){}return i.ROW_BUFFER_SIZE=10,i.LAYOUT_INTERVAL=500,i.BATCH_WAIT_MILLIS=50,i.EXPORT_TYPE_DRAG_COPY="dragCopy",i.EXPORT_TYPE_CLIPBOARD="clipboard",i.EXPORT_TYPE_EXCEL="excel",i.EXPORT_TYPE_CSV="csv",i.ROW_MODEL_TYPE_INFINITE="infinite",i.ROW_MODEL_TYPE_VIEWPORT="viewport",i.ROW_MODEL_TYPE_CLIENT_SIDE="clientSide",i.ROW_MODEL_TYPE_SERVER_SIDE="serverSide",i.ALWAYS="always",i.ONLY_WHEN_GROUPING="onlyWhenGrouping",i.PINNED_TOP="top",i.PINNED_BOTTOM="bottom",i.DOM_LAYOUT_NORMAL="normal",i.DOM_LAYOUT_PRINT="print",i.DOM_LAYOUT_AUTO_HEIGHT="autoHeight",i.GROUP_AUTO_COLUMN_ID="ag-Grid-AutoColumn",i.SOURCE_PASTE="paste",i.PINNED_RIGHT="right",i.PINNED_LEFT="left",i.SORT_ASC="asc",i.SORT_DESC="desc",i.INPUT_SELECTOR="input, select, button, textarea",i.FOCUSABLE_SELECTOR="[tabindex], input, select, button, textarea",i.FOCUSABLE_EXCLUDE=".ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *",i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */(function(i){i.CommunityCoreModule="@ag-grid-community/core",i.CommunityAllModules="@ag-grid-community/all",i.InfiniteRowModelModule="@ag-grid-community/infinite-row-model",i.ClientSideRowModelModule="@ag-grid-community/client-side-row-model",i.CsvExportModule="@ag-grid-community/csv-export",i.EnterpriseCoreModule="@ag-grid-enterprise/core",i.EnterpriseAllModules="@ag-grid-enterprise/all",i.RowGroupingModule="@ag-grid-enterprise/row-grouping",i.ColumnToolPanelModule="@ag-grid-enterprise/column-tool-panel",i.FiltersToolPanelModule="@ag-grid-enterprise/filter-tool-panel",i.MenuModule="@ag-grid-enterprise/menu",i.SetFilterModule="@ag-grid-enterprise/set-filter",i.MultiFilterModule="@ag-grid-enterprise/multi-filter",i.StatusBarModule="@ag-grid-enterprise/status-bar",i.SideBarModule="@ag-grid-enterprise/side-bar",i.RangeSelectionModule="@ag-grid-enterprise/range-selection",i.MasterDetailModule="@ag-grid-enterprise/master-detail",i.RichSelectModule="@ag-grid-enterprise/rich-select",i.GridChartsModule="@ag-grid-enterprise/charts",i.ViewportRowModelModule="@ag-grid-enterprise/viewport-row-model",i.ServerSideRowModelModule="@ag-grid-enterprise/server-side-row-model",i.ExcelExportModule="@ag-grid-enterprise/excel-export",i.ClipboardModule="@ag-grid-enterprise/clipboard",i.SparklinesModule="@ag-grid-enterprise/sparklines",i.AngularModule="@ag-grid-community/angular",i.ReactModule="@ag-grid-community/react",i.VueModule="@ag-grid-community/vue",i.PolymerModule="@ag-grid-community/polymer"})(c.ModuleNames||(c.ModuleNames={}));/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var j=function(){function i(){}return i.register=function(t,e){e===void 0&&(e=!0),i.modulesMap[t.moduleName]=t,i.moduleBased===void 0?i.moduleBased=e:i.moduleBased!==e&&ie(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")},i.registerModules=function(t,e){e===void 0&&(e=!0),!!t&&t.forEach(function(r){return i.register(r,e)})},i.assertRegistered=function(t,e){if(this.isRegistered(t))return!0;var r=e+t,o="AG Grid: unable to use "+e+" as module "+t+" is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/";return ie(function(){console.warn(o)},r),!1},i.isRegistered=function(t){return!!i.modulesMap[t]},i.getRegisteredModules=function(){return ge(i.modulesMap)},i.isPackageBased=function(){return!i.moduleBased},i.modulesMap={},i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var jt=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},$p=0,J=function(){function i(t,e,r,o){this.instanceId=$p++,this.moving=!1,this.menuVisible=!1,this.filterActive=!1,this.eventService=new gt,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=t,this.userProvidedColDef=e,this.colId=r,this.primary=o,this.setState(t)}return i.prototype.getInstanceId=function(){return this.instanceId},i.prototype.setState=function(t){t.sort!==void 0?(t.sort===E.SORT_ASC||t.sort===E.SORT_DESC)&&(this.sort=t.sort):(t.initialSort===E.SORT_ASC||t.initialSort===E.SORT_DESC)&&(this.sort=t.initialSort);var e=H(t.sortIndex),r=H(t.initialSortIndex);e!==void 0?e!==null&&(this.sortIndex=e):r!==null&&(this.sortIndex=r);var o=k(t.hide),n=k(t.initialHide);o!==void 0?this.visible=!o:this.visible=!n,t.pinned!==void 0?this.setPinned(t.pinned):this.setPinned(t.initialPinned);var s=H(t.flex),a=H(t.initialFlex);s!==void 0?this.flex=s:a!==void 0&&(this.flex=a)},i.prototype.setColDef=function(t,e){this.colDef=t,this.userProvidedColDef=e,this.initMinAndMaxWidths(),this.initDotNotation()},i.prototype.getUserProvidedColDef=function(){return this.userProvidedColDef},i.prototype.setParent=function(t){this.parent=t},i.prototype.getParent=function(){return this.parent},i.prototype.setOriginalParent=function(t){this.originalParent=t},i.prototype.getOriginalParent=function(){return this.originalParent},i.prototype.initialise=function(){this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.validate()},i.prototype.initDotNotation=function(){var t=this.gridOptionsWrapper.isSuppressFieldDotNotation();this.fieldContainsDots=y(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!t,this.tooltipFieldContainsDots=y(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(".")>=0&&!t},i.prototype.initMinAndMaxWidths=function(){var t=this.colDef;this.minWidth=this.columnUtils.calculateColMinWidth(t),this.maxWidth=this.columnUtils.calculateColMaxWidth(t)},i.prototype.resetActualWidth=function(t){t===void 0&&(t="api");var e=this.columnUtils.calculateColInitialWidth(this.colDef);this.setActualWidth(e,t,!0)},i.prototype.isEmptyGroup=function(){return!1},i.prototype.isRowGroupDisplayed=function(t){if(m(this.colDef)||m(this.colDef.showRowGroup))return!1;var e=this.colDef.showRowGroup===!0,r=this.colDef.showRowGroup===t;return e||r},i.prototype.isPrimary=function(){return this.primary},i.prototype.isFilterAllowed=function(){var t=!!this.colDef.filter||!!this.colDef.filterFramework;return this.primary&&t},i.prototype.isFieldContainsDots=function(){return this.fieldContainsDots},i.prototype.isTooltipFieldContainsDots=function(){return this.tooltipFieldContainsDots},i.prototype.validate=function(){var t=this.colDef;function e(s,a,l){ie(function(){l?console.warn(s,l):ie(function(){return console.warn(s)},a)},a)}var r=this.gridOptionsWrapper.isRowModelDefault();if(r&&!j.isRegistered(c.ModuleNames.RowGroupingModule)){var o=["enableRowGroup","rowGroup","rowGroupIndex","enablePivot","enableValue","pivot","pivotIndex","aggFunc"];o.forEach(function(s){y(t[s])&&(j.isPackageBased()?e("AG Grid: "+s+" is only valid in ag-grid-enterprise, your column definition should not have "+s,"ColumnRowGroupingMissing"+s):e("AG Grid: "+s+" is only valid with AG Grid Enterprise Module "+c.ModuleNames.RowGroupingModule+" - your column definition should not have "+s,"ColumnRowGroupingMissing"+s))})}if(j.isRegistered(c.ModuleNames.RichSelectModule)||this.colDef.cellEditor==="agRichSelect"&&(j.isPackageBased()?e("AG Grid: "+this.colDef.cellEditor+" can only be used with ag-grid-enterprise","ColumnRichSelectMissing"):e("AG Grid: "+this.colDef.cellEditor+" can only be used with AG Grid Enterprise Module "+c.ModuleNames.RichSelectModule,"ColumnRichSelectMissing")),this.gridOptionsWrapper.isTreeData()){var n=["rowGroup","rowGroupIndex","pivot","pivotIndex"];n.forEach(function(s){y(t[s])&&e("AG Grid: "+s+" is not possible when doing tree data, your column definition should not have "+s,"TreeDataCannotRowGroup")})}y(this.colDef.width)&&typeof this.colDef.width!="number"&&e("AG Grid: colDef.width should be a number, not "+typeof this.colDef.width,"ColumnCheck_asdfawef"),t.pinnedRowCellRenderer&&e("AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column","colDef.pinnedRowCellRenderer-deprecated"),t.pinnedRowCellRendererParams&&e("AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column","colDef.pinnedRowCellRenderer-deprecated"),t.pinnedRowCellRendererFramework&&e("AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column","colDef.pinnedRowCellRenderer-deprecated"),t.pinnedRowValueGetter&&e("AG Grid: pinnedRowCellRenderer is deprecated, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue.","colDef.pinnedRowCellRenderer-deprecated")},i.prototype.addEventListener=function(t,e){this.eventService.addEventListener(t,e)},i.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},i.prototype.createColumnFunctionCallbackParams=function(t){return{node:t,data:t.data,column:this,colDef:this.colDef,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()}},i.prototype.isSuppressNavigable=function(t){if(typeof this.colDef.suppressNavigable=="boolean")return this.colDef.suppressNavigable;if(typeof this.colDef.suppressNavigable=="function"){var e=this.createColumnFunctionCallbackParams(t),r=this.colDef.suppressNavigable;return r(e)}return!1},i.prototype.isCellEditable=function(t){return t.group&&!this.gridOptionsWrapper.isEnableGroupEdit()?!1:this.isColumnFunc(t,this.colDef.editable)},i.prototype.isSuppressFillHandle=function(){return!!this.colDef.suppressFillHandle},i.prototype.isRowDrag=function(t){return this.isColumnFunc(t,this.colDef.rowDrag)},i.prototype.isDndSource=function(t){return this.isColumnFunc(t,this.colDef.dndSource)},i.prototype.isCellCheckboxSelection=function(t){return this.isColumnFunc(t,this.colDef.checkboxSelection)},i.prototype.isSuppressPaste=function(t){return this.isColumnFunc(t,this.colDef?this.colDef.suppressPaste:null)},i.prototype.isResizable=function(){return this.colDef.resizable===!0},i.prototype.isColumnFunc=function(t,e){if(typeof e=="boolean")return e;if(typeof e=="function"){var r=this.createColumnFunctionCallbackParams(t),o=e;return o(r)}return!1},i.prototype.setMoving=function(t,e){e===void 0&&(e="api"),this.moving=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_MOVING_CHANGED,e))},i.prototype.createColumnEvent=function(t,e){return{api:this.gridApi,columnApi:this.columnApi,type:t,column:this,columns:[this],source:e}},i.prototype.isMoving=function(){return this.moving},i.prototype.getSort=function(){return this.sort},i.prototype.setSort=function(t,e){e===void 0&&(e="api"),this.sort!==t&&(this.sort=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_SORT_CHANGED,e)))},i.prototype.setMenuVisible=function(t,e){e===void 0&&(e="api"),this.menuVisible!==t&&(this.menuVisible=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_MENU_VISIBLE_CHANGED,e)))},i.prototype.isMenuVisible=function(){return this.menuVisible},i.prototype.isSortAscending=function(){return this.sort===E.SORT_ASC},i.prototype.isSortDescending=function(){return this.sort===E.SORT_DESC},i.prototype.isSortNone=function(){return m(this.sort)},i.prototype.isSorting=function(){return y(this.sort)},i.prototype.getSortIndex=function(){return this.sortIndex},i.prototype.setSortIndex=function(t){this.sortIndex=t},i.prototype.setAggFunc=function(t){this.aggFunc=t},i.prototype.getAggFunc=function(){return this.aggFunc},i.prototype.getLeft=function(){return this.left},i.prototype.getOldLeft=function(){return this.oldLeft},i.prototype.getRight=function(){return this.left+this.actualWidth},i.prototype.setLeft=function(t,e){e===void 0&&(e="api"),this.oldLeft=this.left,this.left!==t&&(this.left=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_LEFT_CHANGED,e)))},i.prototype.isFilterActive=function(){return this.filterActive},i.prototype.setFilterActive=function(t,e,r){e===void 0&&(e="api"),this.filterActive!==t&&(this.filterActive=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_FILTER_ACTIVE_CHANGED,e)));var o=this.createColumnEvent(i.EVENT_FILTER_CHANGED,e);r&&We(o,r),this.eventService.dispatchEvent(o)},i.prototype.setPinned=function(t){t===!0||t===E.PINNED_LEFT?this.pinned=E.PINNED_LEFT:t===E.PINNED_RIGHT?this.pinned=E.PINNED_RIGHT:this.pinned=null},i.prototype.setFirstRightPinned=function(t,e){e===void 0&&(e="api"),this.firstRightPinned!==t&&(this.firstRightPinned=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_FIRST_RIGHT_PINNED_CHANGED,e)))},i.prototype.setLastLeftPinned=function(t,e){e===void 0&&(e="api"),this.lastLeftPinned!==t&&(this.lastLeftPinned=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_LAST_LEFT_PINNED_CHANGED,e)))},i.prototype.isFirstRightPinned=function(){return this.firstRightPinned},i.prototype.isLastLeftPinned=function(){return this.lastLeftPinned},i.prototype.isPinned=function(){return this.pinned===E.PINNED_LEFT||this.pinned===E.PINNED_RIGHT},i.prototype.isPinnedLeft=function(){return this.pinned===E.PINNED_LEFT},i.prototype.isPinnedRight=function(){return this.pinned===E.PINNED_RIGHT},i.prototype.getPinned=function(){return this.pinned},i.prototype.setVisible=function(t,e){e===void 0&&(e="api");var r=t===!0;this.visible!==r&&(this.visible=r,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_VISIBLE_CHANGED,e)))},i.prototype.isVisible=function(){return this.visible},i.prototype.getColDef=function(){return this.colDef},i.prototype.getColumnGroupShow=function(){return this.colDef.columnGroupShow},i.prototype.getColId=function(){return this.colId},i.prototype.getId=function(){return this.getColId()},i.prototype.getUniqueId=function(){return this.getId()},i.prototype.getDefinition=function(){return this.colDef},i.prototype.getActualWidth=function(){return this.actualWidth},i.prototype.createBaseColDefParams=function(t){var e={node:t,data:t.data,colDef:this.colDef,column:this,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};return e},i.prototype.getColSpan=function(t){if(m(this.colDef.colSpan))return 1;var e=this.createBaseColDefParams(t),r=this.colDef.colSpan(e);return Math.max(r,1)},i.prototype.getRowSpan=function(t){if(m(this.colDef.rowSpan))return 1;var e=this.createBaseColDefParams(t),r=this.colDef.rowSpan(e);return Math.max(r,1)},i.prototype.setActualWidth=function(t,e,r){e===void 0&&(e="api"),r===void 0&&(r=!1),this.minWidth!=null&&(t=Math.max(t,this.minWidth)),this.maxWidth!=null&&(t=Math.min(t,this.maxWidth)),this.actualWidth!==t&&(this.actualWidth=t,this.flex&&e!=="flex"&&e!=="gridInitializing"&&(this.flex=null),r||this.fireColumnWidthChangedEvent(e))},i.prototype.fireColumnWidthChangedEvent=function(t){this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_WIDTH_CHANGED,t))},i.prototype.isGreaterThanMax=function(t){return this.maxWidth!=null?t>this.maxWidth:!1},i.prototype.getMinWidth=function(){return this.minWidth},i.prototype.getMaxWidth=function(){return this.maxWidth},i.prototype.getFlex=function(){return this.flex||0},i.prototype.setFlex=function(t){this.flex!==t&&(this.flex=t)},i.prototype.setMinimum=function(t){t===void 0&&(t="api"),y(this.minWidth)&&this.setActualWidth(this.minWidth,t)},i.prototype.setRowGroupActive=function(t,e){e===void 0&&(e="api"),this.rowGroupActive!==t&&(this.rowGroupActive=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_ROW_GROUP_CHANGED,e)))},i.prototype.isRowGroupActive=function(){return this.rowGroupActive},i.prototype.setPivotActive=function(t,e){e===void 0&&(e="api"),this.pivotActive!==t&&(this.pivotActive=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_PIVOT_CHANGED,e)))},i.prototype.isPivotActive=function(){return this.pivotActive},i.prototype.isAnyFunctionActive=function(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()},i.prototype.isAnyFunctionAllowed=function(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()},i.prototype.setValueActive=function(t,e){e===void 0&&(e="api"),this.aggregationActive!==t&&(this.aggregationActive=t,this.eventService.dispatchEvent(this.createColumnEvent(i.EVENT_VALUE_CHANGED,e)))},i.prototype.isValueActive=function(){return this.aggregationActive},i.prototype.isAllowPivot=function(){return this.colDef.enablePivot===!0},i.prototype.isAllowValue=function(){return this.colDef.enableValue===!0},i.prototype.isAllowRowGroup=function(){return this.colDef.enableRowGroup===!0},i.prototype.getMenuTabs=function(t){var e=this.getColDef().menuTabs;return e==null&&(e=t),e},i.prototype.isLockPosition=function(){return console.warn("AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead."),this.colDef?!!this.colDef.lockPosition:!1},i.prototype.isLockVisible=function(){return console.warn("AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead."),this.colDef?!!this.colDef.lockVisible:!1},i.prototype.isLockPinned=function(){return console.warn("AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead."),this.colDef?!!this.colDef.lockPinned:!1},i.EVENT_MOVING_CHANGED="movingChanged",i.EVENT_LEFT_CHANGED="leftChanged",i.EVENT_WIDTH_CHANGED="widthChanged",i.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",i.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",i.EVENT_VISIBLE_CHANGED="visibleChanged",i.EVENT_FILTER_CHANGED="filterChanged",i.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",i.EVENT_SORT_CHANGED="sortChanged",i.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",i.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",i.EVENT_PIVOT_CHANGED="columnPivotChanged",i.EVENT_VALUE_CHANGED="columnValueChanged",jt([h("gridOptionsWrapper")],i.prototype,"gridOptionsWrapper",void 0),jt([h("columnUtils")],i.prototype,"columnUtils",void 0),jt([h("columnApi")],i.prototype,"columnApi",void 0),jt([h("gridApi")],i.prototype,"gridApi",void 0),jt([h("context")],i.prototype,"context",void 0),jt([I],i.prototype,"initialise",null),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Kp=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},ye=function(){function i(t,e,r,o){this.displayedChildren=[],this.localEventService=new gt,this.groupId=e,this.instanceId=r,this.originalColumnGroup=t,this.pinned=o}return i.createUniqueId=function(t,e){return t+"_"+e},i.prototype.reset=function(){this.parent=null,this.children=null,this.displayedChildren=null},i.prototype.getParent=function(){return this.parent},i.prototype.setParent=function(t){this.parent=t},i.prototype.getUniqueId=function(){return i.createUniqueId(this.groupId,this.instanceId)},i.prototype.isEmptyGroup=function(){return this.displayedChildren.length===0},i.prototype.isMoving=function(){var t=this.getOriginalColumnGroup().getLeafColumns();return!t||t.length===0?!1:t.every(function(e){return e.isMoving()})},i.prototype.checkLeft=function(){if(this.displayedChildren.forEach(function(o){o instanceof i&&o.checkLeft()}),this.displayedChildren.length>0)if(this.gridOptionsWrapper.isEnableRtl()){var t=oe(this.displayedChildren),e=t.getLeft();this.setLeft(e)}else{var r=this.displayedChildren[0].getLeft();this.setLeft(r)}else this.setLeft(null)},i.prototype.getLeft=function(){return this.left},i.prototype.getOldLeft=function(){return this.oldLeft},i.prototype.setLeft=function(t){this.oldLeft=t,this.left!==t&&(this.left=t,this.localEventService.dispatchEvent(this.createAgEvent(i.EVENT_LEFT_CHANGED)))},i.prototype.getPinned=function(){return this.pinned},i.prototype.createAgEvent=function(t){return{type:t}},i.prototype.addEventListener=function(t,e){this.localEventService.addEventListener(t,e)},i.prototype.removeEventListener=function(t,e){this.localEventService.removeEventListener(t,e)},i.prototype.getGroupId=function(){return this.groupId},i.prototype.getInstanceId=function(){return this.instanceId},i.prototype.isChildInThisGroupDeepSearch=function(t){var e=!1;return this.children.forEach(function(r){t===r&&(e=!0),r instanceof i&&r.isChildInThisGroupDeepSearch(t)&&(e=!0)}),e},i.prototype.getActualWidth=function(){var t=0;return this.displayedChildren&&this.displayedChildren.forEach(function(e){t+=e.getActualWidth()}),t},i.prototype.isResizable=function(){if(!this.displayedChildren)return!1;var t=!1;return this.displayedChildren.forEach(function(e){e.isResizable()&&(t=!0)}),t},i.prototype.getMinWidth=function(){var t=0;return this.displayedChildren.forEach(function(e){t+=e.getMinWidth()||0}),t},i.prototype.addChild=function(t){this.children||(this.children=[]),this.children.push(t)},i.prototype.getDisplayedChildren=function(){return this.displayedChildren},i.prototype.getLeafColumns=function(){var t=[];return this.addLeafColumns(t),t},i.prototype.getDisplayedLeafColumns=function(){var t=[];return this.addDisplayedLeafColumns(t),t},i.prototype.getDefinition=function(){return this.originalColumnGroup.getColGroupDef()},i.prototype.getColGroupDef=function(){return this.originalColumnGroup.getColGroupDef()},i.prototype.isPadding=function(){return this.originalColumnGroup.isPadding()},i.prototype.isExpandable=function(){return this.originalColumnGroup.isExpandable()},i.prototype.isExpanded=function(){return this.originalColumnGroup.isExpanded()},i.prototype.setExpanded=function(t){this.originalColumnGroup.setExpanded(t)},i.prototype.addDisplayedLeafColumns=function(t){this.displayedChildren.forEach(function(e){e instanceof J?t.push(e):e instanceof i&&e.addDisplayedLeafColumns(t)})},i.prototype.addLeafColumns=function(t){this.children.forEach(function(e){e instanceof J?t.push(e):e instanceof i&&e.addLeafColumns(t)})},i.prototype.getChildren=function(){return this.children},i.prototype.getColumnGroupShow=function(){return this.originalColumnGroup.getColumnGroupShow()},i.prototype.getOriginalColumnGroup=function(){return this.originalColumnGroup},i.prototype.getPaddingLevel=function(){var t=this.getParent();return!this.isPadding()||!t||!t.isPadding()?0:1+t.getPaddingLevel()},i.prototype.calculateDisplayedColumns=function(){var t=this;this.displayedChildren=[];for(var e=this;e!=null&&e.isPadding();)e=e.getParent();var r=e?e.originalColumnGroup.isExpandable():!1;if(!r){this.displayedChildren=this.children,this.localEventService.dispatchEvent(this.createAgEvent(i.EVENT_DISPLAYED_CHILDREN_CHANGED));return}this.children.forEach(function(o){var n=o instanceof i&&(!o.displayedChildren||!o.displayedChildren.length);if(!n){var s=o.getColumnGroupShow();switch(s){case i.HEADER_GROUP_SHOW_OPEN:e.originalColumnGroup.isExpanded()&&t.displayedChildren.push(o);break;case i.HEADER_GROUP_SHOW_CLOSED:e.originalColumnGroup.isExpanded()||t.displayedChildren.push(o);break;default:t.displayedChildren.push(o);break}}}),this.localEventService.dispatchEvent(this.createAgEvent(i.EVENT_DISPLAYED_CHILDREN_CHANGED))},i.HEADER_GROUP_SHOW_OPEN="open",i.HEADER_GROUP_SHOW_CLOSED="closed",i.EVENT_LEFT_CHANGED="leftChanged",i.EVENT_DISPLAYED_CHILDREN_CHANGED="displayedChildrenChanged",Kp([h("gridOptionsWrapper")],i.prototype,"gridOptionsWrapper",void 0),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var le=function(){function i(t,e,r,o){this.localEventService=new gt,this.expandable=!1,this.colGroupDef=t,this.groupId=e,this.expanded=!!t&&!!t.openByDefault,this.padding=r,this.level=o}return i.prototype.setOriginalParent=function(t){this.originalParent=t},i.prototype.getOriginalParent=function(){return this.originalParent},i.prototype.getLevel=function(){return this.level},i.prototype.isVisible=function(){return this.children?this.children.some(function(t){return t.isVisible()}):!1},i.prototype.isPadding=function(){return this.padding},i.prototype.setExpanded=function(t){this.expanded=t===void 0?!1:t;var e={type:i.EVENT_EXPANDED_CHANGED};this.localEventService.dispatchEvent(e)},i.prototype.isExpandable=function(){return this.expandable},i.prototype.isExpanded=function(){return this.expanded},i.prototype.getGroupId=function(){return this.groupId},i.prototype.getId=function(){return this.getGroupId()},i.prototype.setChildren=function(t){this.children=t},i.prototype.getChildren=function(){return this.children},i.prototype.getColGroupDef=function(){return this.colGroupDef},i.prototype.getLeafColumns=function(){var t=[];return this.addLeafColumns(t),t},i.prototype.addLeafColumns=function(t){!this.children||this.children.forEach(function(e){e instanceof J?t.push(e):e instanceof i&&e.addLeafColumns(t)})},i.prototype.getColumnGroupShow=function(){var t=this.colGroupDef;if(!!t)return t.columnGroupShow},i.prototype.setupExpandable=function(){var t=this;this.setExpandable(),this.getLeafColumns().forEach(function(e){return e.addEventListener(J.EVENT_VISIBLE_CHANGED,t.onColumnVisibilityChanged.bind(t))})},i.prototype.setExpandable=function(){if(!this.isPadding()){for(var t=!1,e=!1,r=!1,o=this.findChildrenRemovingPadding(),n=0,s=o.length;n=0}function Is(i){for(var t=[],e=zt(i);e;)t.push(e),e=e.parentElement;return t}function Qp(i){i.__agGridEventPath=wn(i)}function wn(i){var t=i;return t.deepPath?t.deepPath():t.path?t.path:t.composedPath?t.composedPath():t.__agGridEventPath?t.__agGridEventPath:Is(i)}function Ns(i,t,e,r){var o=Ve(qp,e),n=o?{passive:!0}:void 0;i&&i.addEventListener&&i.addEventListener(t,e,r,n)}var Zp=Object.freeze({__proto__:null,stopPropagationForAgGrid:kt,isStopPropagationForAgGrid:rt,isEventSupported:mn,getCtrlForEvent:ro,addChangeListener:Xp,getTarget:zt,isElementInEventPath:oo,createEventPath:Is,addAgGridEventPath:Qp,getEventPath:wn,addSafePassiveEventListener:Ns});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var vr=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},T=function(){function i(){var t=this;this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.isAlive=function(){return!t.destroyed}}return i.prototype.getFrameworkOverrides=function(){return this.frameworkOverrides},i.prototype.getContext=function(){return this.context},i.prototype.destroy=function(){this.destroyFunctions.forEach(function(t){return t()}),this.destroyFunctions.length=0,this.destroyed=!0,this.dispatchEvent({type:i.EVENT_DESTROYED})},i.prototype.addEventListener=function(t,e){this.localEventService||(this.localEventService=new gt),this.localEventService.addEventListener(t,e)},i.prototype.removeEventListener=function(t,e){this.localEventService&&this.localEventService.removeEventListener(t,e)},i.prototype.dispatchEventAsync=function(t){var e=this;window.setTimeout(function(){return e.dispatchEvent(t)},0)},i.prototype.dispatchEvent=function(t){this.localEventService&&this.localEventService.dispatchEvent(t)},i.prototype.addManagedListener=function(t,e,r){var o=this;if(!this.destroyed){t instanceof HTMLElement?Ns(this.getFrameworkOverrides(),t,e,r):t.addEventListener(e,r);var n=function(){return t.removeEventListener(e,r),o.destroyFunctions=o.destroyFunctions.filter(function(s){return s!==n}),null};return this.destroyFunctions.push(n),n}},i.prototype.addDestroyFunc=function(t){this.isAlive()?this.destroyFunctions.push(t):t()},i.prototype.createManagedBean=function(t,e){var r=this.createBean(t,e);return this.addDestroyFunc(this.destroyBean.bind(this,t,e)),r},i.prototype.createBean=function(t,e,r){return(e||this.getContext()).createBean(t,r)},i.prototype.destroyBean=function(t,e){return(e||this.getContext()).destroyBean(t)},i.prototype.destroyBeans=function(t,e){var r=this;return t&&ae(t,function(o){return r.destroyBean(o,e)}),[]},i.EVENT_DESTROYED="destroyed",vr([h("frameworkOverrides")],i.prototype,"frameworkOverrides",void 0),vr([h("context")],i.prototype,"context",void 0),vr([h("eventService")],i.prototype,"eventService",void 0),vr([h("gridOptionsWrapper")],i.prototype,"gridOptionsWrapper",void 0),vr([ve],i.prototype,"destroy",null),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Jp=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),En=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},ec=function(i,t){return function(e,r){t(e,r,i)}},Ms=function(i){Jp(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.setBeans=function(e){this.logger=e.create("ColumnFactory")},t.prototype.createColumnTree=function(e,r,o){var n=new et,s=this.extractExistingTreeData(o),a=s.existingCols,l=s.existingGroups,u=s.existingColKeys;n.addExistingKeys(u);var p=this.recursivelyCreateColumns(e,0,r,a,n,l),d=this.findMaxDept(p,0);this.logger.log("Number of levels for grouped columns is "+d);var f=this.balanceColumnTree(p,0,d,n),v=function(C,R){C instanceof le&&C.setupExpandable(),C.setOriginalParent(R)};return this.columnUtils.depthFirstOriginalTreeSearch(null,f,v),{columnTree:f,treeDept:d}},t.prototype.extractExistingTreeData=function(e){var r=[],o=[],n=[];return e&&this.columnUtils.depthFirstOriginalTreeSearch(null,e,function(s){if(s instanceof le){var a=s;o.push(a)}else{var l=s;n.push(l.getId()),r.push(l)}}),{existingCols:r,existingGroups:o,existingColKeys:n}},t.prototype.createForAutoGroups=function(e,r){var o=this,n=[];return e.forEach(function(s){var a=o.createAutoGroupTreeItem(r,s);n.push(a)}),n},t.prototype.createAutoGroupTreeItem=function(e,r){for(var o=this.findDepth(e),n=r,s=o-1;s>=0;s--){var a=new le(null,"FAKE_PATH_"+r.getId()+"}_"+s,!0,s);this.context.createBean(a),a.setChildren([n]),n.setOriginalParent(a),n=a}return n},t.prototype.findDepth=function(e){for(var r=0,o=e;o&&o[0]&&o[0]instanceof le;)r++,o=o[0].getChildren();return r},t.prototype.balanceColumnTree=function(e,r,o,n){for(var s=[],a=0;a=r;v--){var C=n.getUniqueKey(null,null),R=this.createMergedColGroupDef(null),S=new le(R,C,!0,r);this.context.createBean(S),f&&f.setChildren([S]),f=S,d||(d=f)}if(d&&f){s.push(d);var F=e.some(function(A){return A instanceof le});if(F){f.setChildren([l]);continue}else{f.setChildren(e);break}}s.push(l)}}return s},t.prototype.findMaxDept=function(e,r){for(var o=r,n=0;n"']/g,rc={"&":"&","<":"<",">":">",'"':""","'":"'"};function oc(i){var t=String.fromCharCode;function e(d){var f=[];if(!d)return[];for(var v=d.length,C=0,R,S;C=55296&&R<=56319&&C=55296&&d<=57343)throw Error("Lone surrogate U+"+d.toString(16).toUpperCase()+" is not a scalar value")}function o(d,f){return t(d>>f&63|128)}function n(d){if(d>=0&&d<=31&&d!==10){var f=d.toString(16).toUpperCase(),v=_n(f,4,"0");return"_x"+v+"_"}if((d&4294967168)==0)return t(d);var C="";return(d&4294965248)==0?C=t(d>>6&31|192):(d&4294901760)==0?(r(d),C=t(d>>12&15|224),C+=o(d,6)):(d&4292870144)==0&&(C=t(d>>18&7|240),C+=o(d,12),C+=o(d,6)),C+=t(d&63|128),C}for(var s=e(i),a=s.length,l=-1,u,p="";++lt?i:(t-=i.length,t>e.length&&(e+=Ls(e,t/e.length)),e.slice(0,t)+i)}function Gs(i){return i==null?null:i.replace(/([A-Z])/g,function(t){return"-"+t[0].toLowerCase()})}function xs(i){return i==null?null:i.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}function Hs(i){return i[0].toUpperCase()+i.substr(1).toLowerCase()}function Ye(i){return i==null?null:i.toString().toString().replace(tc,function(t){return rc[t]})}function Sn(i){if(!i||i==null)return null;var t=/([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g,e=i.replace(t,"$1$4 $2$3$5").replace("."," ").split(" ");return e.map(function(r){return r.substring(0,1).toUpperCase()+(r.length>1?r.substring(1,r.length):"")}).join(" ")}function On(i,t){return i===t?!0:i!=null&&i.slice(0,t.length)===t}var nc=Object.freeze({__proto__:null,utf8_encode:oc,stringRepeat:Ls,padStart:_n,camelCaseToHyphen:Gs,hyphenToCamelCase:xs,capitalise:Hs,escapeString:Ye,camelCaseToHumanText:Sn,startsWith:On});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function ot(i){var t=new Map;return i.forEach(function(e){return t.set(e[0],e[1])}),t}function ic(i,t){var e=new Map;return i.forEach(function(r){return e.set(t(r),r)}),e}function sc(i){var t=[];return i.forEach(function(e,r){return t.push(r)}),t}var ac=Object.freeze({__proto__:null,convertToMap:ot,mapById:ic,keys:sc});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var lc=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),he=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},uc=function(i,t){return function(e,r){t(e,r,i)}},pc=function(){for(var i=0,t=0,e=arguments.length;t=0,u=a>=0;if(l&&u)return s-a;if(l)return 1;if(u)return-1;var p=e.gridColumns.indexOf(o),d=e.gridColumns.indexOf(n);return p-d})},t.prototype.getAllDisplayedAutoHeightCols=function(){return this.displayedAutoHeightCols},t.prototype.setViewport=function(){this.gridOptionsWrapper.isEnableRtl()?(this.viewportLeft=this.bodyWidth-this.scrollPosition-this.scrollWidth,this.viewportRight=this.bodyWidth-this.scrollPosition):(this.viewportLeft=this.scrollPosition,this.viewportRight=this.scrollWidth+this.scrollPosition)},t.prototype.getDisplayedColumnsStartingAt=function(e){for(var r=e,o=[];r!=null;)o.push(r),r=this.getDisplayedColAfter(r);return o},t.prototype.checkViewportColumns=function(){if(this.displayedColumnsCenter!=null){var e=this.viewportColumns.map(function(n){return n.getId()}).join("#");this.extractViewport();var r=this.viewportColumns.map(function(n){return n.getId()}).join("#");if(e!==r){var o={type:g.EVENT_VIRTUAL_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o)}}},t.prototype.setViewportPosition=function(e,r){(e!==this.scrollWidth||r!==this.scrollPosition||this.bodyWidthDirty)&&(this.scrollWidth=e,this.scrollPosition=r,this.bodyWidthDirty=!0,this.setViewport(),this.ready&&this.checkViewportColumns())},t.prototype.isPivotMode=function(){return this.pivotMode},t.prototype.isPivotSettingAllowed=function(e){return e&&this.gridOptionsWrapper.isTreeData()?(console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'"),!1):!0},t.prototype.setPivotMode=function(e,r){if(r===void 0&&(r="api"),!(e===this.pivotMode||!this.isPivotSettingAllowed(this.pivotMode))){this.pivotMode=e,this.autoGroupsNeedBuilding=!0,this.updateGridColumns(),this.updateDisplayedColumns(r);var o={type:g.EVENT_COLUMN_PIVOT_MODE_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o)}},t.prototype.getSecondaryPivotColumn=function(e,r){if(!this.secondaryColumnsPresent||!this.secondaryColumns)return null;var o=this.getPrimaryColumn(r),n=null;return this.secondaryColumns.forEach(function(s){var a=s.getColDef().pivotKeys,l=s.getColDef().pivotValueColumn,u=Tt(a,e),p=l===o;u&&p&&(n=s)}),n},t.prototype.setBeans=function(e){this.logger=e.create("columnModel")},t.prototype.setFirstRightAndLastLeftPinned=function(e){var r,o;this.gridOptionsWrapper.isEnableRtl()?(r=this.displayedColumnsLeft?this.displayedColumnsLeft[0]:null,o=this.displayedColumnsRight?oe(this.displayedColumnsRight):null):(r=this.displayedColumnsLeft?oe(this.displayedColumnsLeft):null,o=this.displayedColumnsRight?this.displayedColumnsRight[0]:null),this.gridColumns.forEach(function(n){n.setLastLeftPinned(n===r,e),n.setFirstRightPinned(n===o,e)})},t.prototype.autoSizeColumns=function(e,r,o){var n=this;o===void 0&&(o="api"),this.animationFrameService.flushAllFrames();var s=[],a=-1;for(r==null&&(r=this.gridOptionsWrapper.isSkipHeaderOnAutoSize());a!==0;)a=0,this.actionOnGridColumns(e,function(l){if(s.indexOf(l)>=0)return!1;var u=n.autoWidthCalculator.getPreferredWidthForColumn(l,r);if(u>0){var p=n.normaliseColumnWidth(l,u);l.setActualWidth(p,o),s.push(l),a++}return!0},o);this.fireColumnResizedEvent(s,!0,"autosizeColumns")},t.prototype.fireColumnResizedEvent=function(e,r,o,n){if(n===void 0&&(n=null),e&&e.length){var s={type:g.EVENT_COLUMN_RESIZED,columns:e,column:e.length===1?e[0]:null,flexColumns:n,finished:r,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(s)}},t.prototype.autoSizeColumn=function(e,r,o){o===void 0&&(o="api"),e&&this.autoSizeColumns([e],r,o)},t.prototype.autoSizeAllColumns=function(e,r){r===void 0&&(r="api");var o=this.getAllDisplayedColumns();this.autoSizeColumns(o,e,r)},t.prototype.getColumnsFromTree=function(e){var r=[],o=function(n){for(var s=0;s=0},t.prototype.getAllDisplayedColumns=function(){return this.displayedColumns},t.prototype.getViewportColumns=function(){return this.viewportColumns},t.prototype.getDisplayedLeftColumnsForRow=function(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsLeft):this.displayedColumnsLeft},t.prototype.getDisplayedRightColumnsForRow=function(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsRight):this.displayedColumnsRight},t.prototype.getDisplayedColumnsForRow=function(e,r,o,n){for(var s=[],a=null,l=function(d){var f=r[d],v=r.length-d,C=Math.min(f.getColSpan(e),v),R=[f];if(C>1){for(var S=C-1,F=1;F<=S;F++)R.push(r[d+F]);d+=S}var A;if(o?(A=!1,R.forEach(function(M){o(M)&&(A=!0)})):A=!0,A){if(s.length===0&&a){var P=n?n(f):!1;P&&s.push(a)}s.push(f)}a=f,u=d},u,p=0;pr.viewportLeft},n=this.suppressColumnVirtualisation?null:this.isColumnInViewport.bind(this);return this.getDisplayedColumnsForRow(e,this.displayedColumnsCenter,n,o)},t.prototype.getAriaColumnIndex=function(e){return this.getAllGridColumns().indexOf(e)+1},t.prototype.isColumnInViewport=function(e){if(e.getColDef().autoHeight)return!0;var r=e.getLeft()||0,o=r+e.getActualWidth(),n=this.viewportLeft-200,s=this.viewportRight+200,a=rs&&o>s;return!a&&!l},t.prototype.getDisplayedColumnsLeftWidth=function(){return this.getWidthOfColsInList(this.displayedColumnsLeft)},t.prototype.getDisplayedColumnsRightWidth=function(){return this.getWidthOfColsInList(this.displayedColumnsRight)},t.prototype.updatePrimaryColumnList=function(e,r,o,n,s,a){var l=this;if(a===void 0&&(a="api"),!(!e||_(e))){var u=!1;if(e.forEach(function(d){var f=l.getPrimaryColumn(d);if(!!f){if(o){if(r.indexOf(f)>=0)return;r.push(f)}else{if(r.indexOf(f)<0)return;Ee(r,f)}n(f),u=!0}}),!!u){this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(a);var p={type:s,columns:r,column:r.length===1?r[0]:null,api:this.gridApi,columnApi:this.columnApi,source:a};this.eventService.dispatchEvent(p)}}},t.prototype.setRowGroupColumns=function(e,r){r===void 0&&(r="api"),this.autoGroupsNeedBuilding=!0,this.setPrimaryColumnList(e,this.rowGroupColumns,g.EVENT_COLUMN_ROW_GROUP_CHANGED,this.setRowGroupActive.bind(this),r)},t.prototype.setRowGroupActive=function(e,r,o){e!==r.isRowGroupActive()&&(r.setRowGroupActive(e,o),!e&&!this.gridOptionsWrapper.isSuppressMakeColumnVisibleAfterUnGroup()&&r.setVisible(!0,o))},t.prototype.addRowGroupColumn=function(e,r){r===void 0&&(r="api"),e&&this.addRowGroupColumns([e],r)},t.prototype.addRowGroupColumns=function(e,r){r===void 0&&(r="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!0,this.setRowGroupActive.bind(this,!0),g.EVENT_COLUMN_ROW_GROUP_CHANGED,r)},t.prototype.removeRowGroupColumns=function(e,r){r===void 0&&(r="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!1,this.setRowGroupActive.bind(this,!1),g.EVENT_COLUMN_ROW_GROUP_CHANGED,r)},t.prototype.removeRowGroupColumn=function(e,r){r===void 0&&(r="api"),e&&this.removeRowGroupColumns([e],r)},t.prototype.addPivotColumns=function(e,r){r===void 0&&(r="api"),this.updatePrimaryColumnList(e,this.pivotColumns,!0,function(o){return o.setPivotActive(!0,r)},g.EVENT_COLUMN_PIVOT_CHANGED,r)},t.prototype.setPivotColumns=function(e,r){r===void 0&&(r="api"),this.setPrimaryColumnList(e,this.pivotColumns,g.EVENT_COLUMN_PIVOT_CHANGED,function(o,n){n.setPivotActive(o,r)},r)},t.prototype.addPivotColumn=function(e,r){r===void 0&&(r="api"),this.addPivotColumns([e],r)},t.prototype.removePivotColumns=function(e,r){r===void 0&&(r="api"),this.updatePrimaryColumnList(e,this.pivotColumns,!1,function(o){return o.setPivotActive(!1,r)},g.EVENT_COLUMN_PIVOT_CHANGED,r)},t.prototype.removePivotColumn=function(e,r){r===void 0&&(r="api"),this.removePivotColumns([e],r)},t.prototype.setPrimaryColumnList=function(e,r,o,n,s){var a=this;r.length=0,y(e)&&e.forEach(function(l){var u=a.getPrimaryColumn(l);u&&r.push(u)}),(this.primaryColumns||[]).forEach(function(l){var u=r.indexOf(l)>=0;n(u,l)}),this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(s),this.fireColumnEvent(o,r,s)},t.prototype.setValueColumns=function(e,r){r===void 0&&(r="api"),this.setPrimaryColumnList(e,this.valueColumns,g.EVENT_COLUMN_VALUE_CHANGED,this.setValueActive.bind(this),r)},t.prototype.setValueActive=function(e,r,o){if(e!==r.isValueActive()&&(r.setValueActive(e,o),e&&!r.getAggFunc())){var n=this.aggFuncService.getDefaultAggFunc(r);r.setAggFunc(n)}},t.prototype.addValueColumns=function(e,r){r===void 0&&(r="api"),this.updatePrimaryColumnList(e,this.valueColumns,!0,this.setValueActive.bind(this,!0),g.EVENT_COLUMN_VALUE_CHANGED,r)},t.prototype.addValueColumn=function(e,r){r===void 0&&(r="api"),e&&this.addValueColumns([e],r)},t.prototype.removeValueColumn=function(e,r){r===void 0&&(r="api"),this.removeValueColumns([e],r)},t.prototype.removeValueColumns=function(e,r){r===void 0&&(r="api"),this.updatePrimaryColumnList(e,this.valueColumns,!1,this.setValueActive.bind(this,!1),g.EVENT_COLUMN_VALUE_CHANGED,r)},t.prototype.normaliseColumnWidth=function(e,r){var o=e.getMinWidth();y(o)&&r0?s+=f:a=!1});var l=o>=n,u=!a||o<=s;return l&&u},t.prototype.resizeColumnSets=function(e,r,o){var n=this,s=!e||e.every(function(v){return n.checkMinAndMaxWidthsForSet(v)});if(!s){if(r){var a=e&&e.length>0?e[0].columns:null;this.fireColumnResizedEvent(a,r,o)}return}var l=[],u=[];e.forEach(function(v){var C=v.width,R=v.columns,S=v.ratios,F={},A={};R.forEach(function(U){return u.push(U)});for(var P=!0,M=0,W=function(){if(M++,M>1e3)return console.error("AG Grid: infinite loop in resizeColumnSets"),"break";P=!1;var U=[],q=0,re=C;R.forEach(function(se,Oe){var Ze=A[se.getId()];if(Ze)re-=F[se.getId()];else{U.push(se);var ce=S[Oe];q+=ce}});var ee=1/q;U.forEach(function(se,Oe){var Ze=Oe===U.length-1,ce;Ze?ce=re:(ce=Math.round(S[Oe]*C*ee),re-=ce);var us=se.getMinWidth(),tn=se.getMaxWidth();y(us)&&ce0&&ce>tn&&(ce=tn,A[se.getId()]=!0,P=!0),F[se.getId()]=ce})};P;){var Y=W();if(Y==="break")break}R.forEach(function(U){var q=F[U.getId()];U.getActualWidth()!==q&&(U.setActualWidth(q,o),l.push(U))})});var p=l.length>0,d=this.refreshFlexedColumns({resizingCols:u,skipSetLeft:!0});p&&(this.setLeftValues(o),this.updateBodyWidths(),this.checkViewportColumns());var f=u.concat(d);(p||r)&&this.fireColumnResizedEvent(f,r,o,d)},t.prototype.setColumnAggFunc=function(e,r,o){if(o===void 0&&(o="api"),!!e){var n=this.getPrimaryColumn(e);!n||(n.setAggFunc(r),this.fireColumnEvent(g.EVENT_COLUMN_VALUE_CHANGED,[n],o))}},t.prototype.fireColumnEvent=function(e,r,o){var n={type:e,columns:r,column:r&&r.length==1?r[0]:null,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(n)},t.prototype.moveRowGroupColumn=function(e,r,o){o===void 0&&(o="api");var n=this.rowGroupColumns[e];this.rowGroupColumns.splice(e,1),this.rowGroupColumns.splice(r,0,n);var s={type:g.EVENT_COLUMN_ROW_GROUP_CHANGED,columns:this.rowGroupColumns,column:this.rowGroupColumns.length===1?this.rowGroupColumns[0]:null,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(s)},t.prototype.moveColumns=function(e,r,o){if(o===void 0&&(o="api"),this.columnAnimationService.start(),r>this.gridColumns.length-e.length){console.warn("AG Grid: tried to insert columns in invalid location, toIndex = "+r),console.warn("AG Grid: remember that you should not count the moving columns when calculating the new index");return}var n=this.getGridColumns(e),s=!this.doesMovePassRules(n,r);if(!s){un(this.gridColumns,n,r),this.updateDisplayedColumns(o);var a={type:g.EVENT_COLUMN_MOVED,columns:n,column:n.length===1?n[0]:null,toIndex:r,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(a),this.columnAnimationService.finish()}},t.prototype.doesMovePassRules=function(e,r){var o=this.gridColumns.slice();return un(o,e,r),!(!this.doesMovePassMarryChildren(o)||!this.doesMovePassLockedPositions(o))},t.prototype.sortColumnsLikeGridColumns=function(e){var r=this;if(!(!e||e.length<=1)){var o=e.filter(function(n){return r.gridColumns.indexOf(n)<0}).length>0;o||e.sort(function(n,s){var a=r.gridColumns.indexOf(n),l=r.gridColumns.indexOf(s);return a-l})}},t.prototype.doesMovePassLockedPositions=function(e){var r=!1,o=!0;return e.forEach(function(n){n.getColDef().lockPosition?r&&(o=!1):r=!0}),o},t.prototype.doesMovePassMarryChildren=function(e){var r=!0;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,function(o){if(o instanceof le){var n=o,s=n.getColGroupDef(),a=s&&s.marryChildren;if(!!a){var l=[];n.getLeafColumns().forEach(function(v){var C=e.indexOf(v);l.push(C)});var u=Math.max.apply(Math,l),p=Math.min.apply(Math,l),d=u-p,f=n.getLeafColumns().length-1;d>f&&(r=!1)}}}),r},t.prototype.moveColumn=function(e,r,o){o===void 0&&(o="api"),this.moveColumns([e],r,o)},t.prototype.moveColumnByIndex=function(e,r,o){o===void 0&&(o="api");var n=this.gridColumns[e];this.moveColumn(n,r,o)},t.prototype.getColumnDefs=function(){var e=this;if(!!this.primaryColumns){var r=this.primaryColumns.slice();return this.gridColsArePrimary?r.sort(function(o,n){return e.gridColumns.indexOf(o)-e.gridColumns.indexOf(n)}):this.lastPrimaryOrder&&r.sort(function(o,n){return e.lastPrimaryOrder.indexOf(o)-e.lastPrimaryOrder.indexOf(n)}),this.columnDefFactory.buildColumnDefs(r,this.rowGroupColumns,this.pivotColumns)}},t.prototype.getBodyContainerWidth=function(){return this.bodyWidth},t.prototype.getContainerWidth=function(e){switch(e){case E.PINNED_LEFT:return this.leftWidth;case E.PINNED_RIGHT:return this.rightWidth;default:return this.bodyWidth}},t.prototype.updateBodyWidths=function(){var e=this.getWidthOfColsInList(this.displayedColumnsCenter),r=this.getWidthOfColsInList(this.displayedColumnsLeft),o=this.getWidthOfColsInList(this.displayedColumnsRight);this.bodyWidthDirty=this.bodyWidth!==e;var n=this.bodyWidth!==e||this.leftWidth!==r||this.rightWidth!==o;if(n){this.bodyWidth=e,this.leftWidth=r,this.rightWidth=o;var s={type:g.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(s)}},t.prototype.getValueColumns=function(){return this.valueColumns?this.valueColumns:[]},t.prototype.getPivotColumns=function(){return this.pivotColumns?this.pivotColumns:[]},t.prototype.isPivotActive=function(){return this.pivotColumns&&this.pivotColumns.length>0&&this.pivotMode},t.prototype.getRowGroupColumns=function(){return this.rowGroupColumns?this.rowGroupColumns:[]},t.prototype.getDisplayedCenterColumns=function(){return this.displayedColumnsCenter},t.prototype.getDisplayedLeftColumns=function(){return this.displayedColumnsLeft},t.prototype.getDisplayedRightColumns=function(){return this.displayedColumnsRight},t.prototype.getDisplayedColumns=function(e){switch(e){case E.PINNED_LEFT:return this.getDisplayedLeftColumns();case E.PINNED_RIGHT:return this.getDisplayedRightColumns();default:return this.getDisplayedCenterColumns()}},t.prototype.getAllPrimaryColumns=function(){return this.primaryColumns?this.primaryColumns.slice():null},t.prototype.getSecondaryColumns=function(){return this.secondaryColumns?this.secondaryColumns.slice():null},t.prototype.getAllColumnsForQuickFilter=function(){return this.columnsForQuickFilter},t.prototype.getAllGridColumns=function(){return this.gridColumns},t.prototype.isEmpty=function(){return _(this.gridColumns)},t.prototype.isRowGroupEmpty=function(){return _(this.rowGroupColumns)},t.prototype.setColumnVisible=function(e,r,o){o===void 0&&(o="api"),this.setColumnsVisible([e],r,o)},t.prototype.setColumnsVisible=function(e,r,o){var n=this;r===void 0&&(r=!1),o===void 0&&(o="api"),this.columnAnimationService.start(),this.actionOnGridColumns(e,function(s){return s.isVisible()!==r?(s.setVisible(r,o),!0):!1},o,function(){var s={type:g.EVENT_COLUMN_VISIBLE,visible:r,column:null,columns:null,api:n.gridApi,columnApi:n.columnApi,source:o};return s}),this.columnAnimationService.finish()},t.prototype.setColumnPinned=function(e,r,o){o===void 0&&(o="api"),e&&this.setColumnsPinned([e],r,o)},t.prototype.setColumnsPinned=function(e,r,o){var n=this;if(o===void 0&&(o="api"),this.gridOptionsWrapper.getDomLayout()==="print"){console.warn("Changing the column pinning status is not allowed with domLayout='print'");return}this.columnAnimationService.start();var s;r===!0||r===E.PINNED_LEFT?s=E.PINNED_LEFT:r===E.PINNED_RIGHT?s=E.PINNED_RIGHT:s=null,this.actionOnGridColumns(e,function(a){return a.getPinned()!==s?(a.setPinned(s),!0):!1},o,function(){var a={type:g.EVENT_COLUMN_PINNED,pinned:s,column:null,columns:null,api:n.gridApi,columnApi:n.columnApi,source:o};return a}),this.columnAnimationService.finish()},t.prototype.actionOnGridColumns=function(e,r,o,n){var s=this;if(!_(e)){var a=[];if(e.forEach(function(u){var p=s.getGridColumn(u);if(!!p){var d=r(p);d!==!1&&a.push(p)}}),!!a.length&&(this.updateDisplayedColumns(o),y(n)&&n)){var l=n();l.columns=a,l.column=a.length===1?a[0]:null,this.eventService.dispatchEvent(l)}}},t.prototype.getDisplayedColBefore=function(e){var r=this.getAllDisplayedColumns(),o=r.indexOf(e);return o>0?r[o-1]:null},t.prototype.getDisplayedColAfter=function(e){var r=this.getAllDisplayedColumns(),o=r.indexOf(e);return o0},t.prototype.isPinningRight=function(){return this.displayedColumnsRight.length>0},t.prototype.getPrimaryAndSecondaryAndAutoColumns=function(){var e=this.primaryColumns?this.primaryColumns.slice(0):[];return this.groupAutoColumns&&y(this.groupAutoColumns)&&this.groupAutoColumns.forEach(function(r){return e.push(r)}),this.secondaryColumnsPresent&&this.secondaryColumns&&this.secondaryColumns.forEach(function(r){return e.push(r)}),e},t.prototype.createStateItemFromColumn=function(e){var r=e.isRowGroupActive()?this.rowGroupColumns.indexOf(e):null,o=e.isPivotActive()?this.pivotColumns.indexOf(e):null,n=e.isValueActive()?e.getAggFunc():null,s=e.getSort()!=null?e.getSort():null,a=e.getSortIndex()!=null?e.getSortIndex():null,l=e.getFlex()!=null&&e.getFlex()>0?e.getFlex():null,u={colId:e.getColId(),width:e.getActualWidth(),hide:!e.isVisible(),pinned:e.getPinned(),sort:s,sortIndex:a,aggFunc:n,rowGroup:e.isRowGroupActive(),rowGroupIndex:r,pivot:e.isPivotActive(),pivotIndex:o,flex:l};return u},t.prototype.getColumnState=function(){if(m(this.primaryColumns)||!this.isAlive())return[];var e=this.getPrimaryAndSecondaryAndAutoColumns(),r=e.map(this.createStateItemFromColumn.bind(this));return this.pivotMode||this.orderColumnStateList(r),r},t.prototype.getPrimaryAndAutoGroupCols=function(){return this.groupAutoColumns?pc(this.primaryColumns||[],this.groupAutoColumns):this.primaryColumns},t.prototype.orderColumnStateList=function(e){var r=ot(this.gridColumns.map(function(o,n){return[o.getColId(),n]}));e.sort(function(o,n){var s=r.has(o.colId)?r.get(o.colId):-1,a=r.has(n.colId)?r.get(n.colId):-1;return s-a})},t.prototype.resetColumnState=function(e){e===void 0&&(e="api");var r=this.getColumnsFromTree(this.primaryColumnTree),o=[],n=1e3,s=1e3,a=[];this.groupAutoColumns&&(a=a.concat(this.groupAutoColumns)),r&&(a=a.concat(r)),a.forEach(function(l){var u=function(U,q){return U!=null?U:q!=null?q:null},p=l.getColDef(),d=u(p.sort,p.initialSort),f=u(p.sortIndex,p.initialSortIndex),v=u(p.hide,p.initialHide),C=u(p.pinned,p.initialPinned),R=u(p.width,p.initialWidth),S=u(p.flex,p.initialFlex),F=u(p.rowGroupIndex,p.initialRowGroupIndex),A=u(p.rowGroup,p.initialRowGroup);F==null&&(A==null||A==!1)&&(F=null,A=null);var P=u(p.pivotIndex,p.initialPivotIndex),M=u(p.pivot,p.initialPivot);P==null&&(M==null||M==!1)&&(P=null,M=null);var W=u(p.aggFunc,p.initialAggFunc),Y={colId:l.getColId(),sort:d,sortIndex:f,hide:v,pinned:C,width:R,flex:S,rowGroup:A,rowGroupIndex:F,pivot:M,pivotIndex:P,aggFunc:W};m(F)&&A&&(Y.rowGroupIndex=n++),m(P)&&M&&(Y.pivotIndex=s++),o.push(Y)}),this.applyColumnState({state:o,applyOrder:!0},e)},t.prototype.applyColumnState=function(e,r){var o=this;if(r===void 0&&(r="api"),_(this.primaryColumns))return!1;if(e&&e.state&&!e.state.forEach)return console.warn("AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state."),!1;this.columnAnimationService.start();var n=this.compareColumnStatesAndRaiseEvents(r);this.autoGroupsNeedBuilding=!0;var s=this.primaryColumns.slice(),a=!0,l={},u={},p=[],d=this.rowGroupColumns.slice(),f=this.pivotColumns.slice();e.state&&e.state.forEach(function(S){var F=E.GROUP_AUTO_COLUMN_ID,A=S.colId||"",P=On(A,F);if(P){p.push(S);return}var M=o.getPrimaryColumn(A);M?(o.syncColumnWithStateItem(M,S,e.defaultState,l,u,!1,r),Ee(s,M)):a=!1});var v=function(S){return o.syncColumnWithStateItem(S,null,e.defaultState,l,u,!1,r)};s.forEach(v);var C=function(S,F,A,P){var M=S[A.getId()],W=S[P.getId()],Y=M!=null,U=W!=null;if(Y&&U)return M-W;if(Y)return-1;if(U)return 1;var q=F.indexOf(A),re=F.indexOf(P),ee=q>=0,se=re>=0;return ee&&se?q-re:ee?-1:1};this.rowGroupColumns.sort(C.bind(this,l,d)),this.pivotColumns.sort(C.bind(this,u,f)),this.updateGridColumns();var R=this.groupAutoColumns?this.groupAutoColumns.slice():[];return p.forEach(function(S){var F=o.getAutoColumn(S.colId);Ee(R,F),o.syncColumnWithStateItem(F,S,e.defaultState,null,null,!0,r)}),R.forEach(v),this.applyOrderAfterApplyState(e),this.updateDisplayedColumns(r),this.dispatchEverythingChanged(r),n(),this.columnAnimationService.finish(),a},t.prototype.applyOrderAfterApplyState=function(e){if(!(!this.gridColsArePrimary||!e.applyOrder||!e.state)){var r=[],o={},n={};if(this.gridColumns.forEach(function(s){return n[s.getId()]=s}),e.state.forEach(function(s){if(!(!s.colId||o[s.colId])){var a=n[s.colId];a&&(r.push(a),o[s.colId]=!0)}}),this.gridColumns.forEach(function(s){o[s.getColId()]||r.push(s)}),r=this.putFixedColumnsFirst(r),!this.doesMovePassMarryChildren(r)){console.warn("AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.");return}this.gridColumns=r}},t.prototype.compareColumnStatesAndRaiseEvents=function(e){var r=this,o=!!this.columnDefs;if(!o)return function(){};var n={rowGroupColumns:this.rowGroupColumns.slice(),pivotColumns:this.pivotColumns.slice(),valueColumns:this.valueColumns.slice()},s=this.getColumnState(),a={};return s.forEach(function(l){a[l.colId]=l}),function(){if(!r.gridOptionsWrapper.isSuppressColumnStateEvents()){var l=r.getPrimaryAndAutoGroupCols(),u=function(A,P,M,W){var Y=P.map(W),U=M.map(W),q=Tt(Y,U);if(!q){var re={type:A,columns:M,column:M.length===1?M[0]:null,api:r.gridApi,columnApi:r.columnApi,source:e};r.eventService.dispatchEvent(re)}},p=function(A){var P=[];return(l||[]).forEach(function(M){var W=a[M.getColId()];W&&A(W,M)&&P.push(M)}),P},d=function(A){return A.getColId()};u(g.EVENT_COLUMN_ROW_GROUP_CHANGED,n.rowGroupColumns,r.rowGroupColumns,d),u(g.EVENT_COLUMN_PIVOT_CHANGED,n.pivotColumns,r.pivotColumns,d);var f=function(A,P){var M=A.aggFunc!=null,W=M!=P.isValueActive(),Y=M&&A.aggFunc!=P.getAggFunc();return W||Y},v=p(f);v.length>0&&r.fireColumnEvent(g.EVENT_COLUMN_VALUE_CHANGED,r.valueColumns,e);var C=function(A,P){return A.width!=P.getActualWidth()};r.fireColumnResizedEvent(p(C),!0,e);var R=function(A,P){return A.pinned!=P.getPinned()};r.raiseColumnPinnedEvent(p(R),e);var S=function(A,P){return A.hide==P.isVisible()};r.raiseColumnVisibleEvent(p(S),e);var F=function(A,P){return A.sort!=P.getSort()||A.sortIndex!=P.getSortIndex()};p(F).length>0&&r.sortController.dispatchSortChangedEvents(),r.raiseColumnMovedEvent(s,e)}}},t.prototype.raiseColumnPinnedEvent=function(e,r){if(!!e.length){var o=e.length===1?e[0]:null,n=this.getCommonValue(e,function(a){return a.getPinned()}),s={type:g.EVENT_COLUMN_PINNED,pinned:n!=null?n:null,columns:e,column:o,api:this.gridApi,columnApi:this.columnApi,source:r};this.eventService.dispatchEvent(s)}},t.prototype.getCommonValue=function(e,r){if(!(!e||e.length==0)){for(var o=r(e[0]),n=1;n=f&&e.setActualWidth(R,l)}var S=u("sort").value1;S!==void 0&&(S===E.SORT_DESC||S===E.SORT_ASC?e.setSort(S):e.setSort(void 0));var F=u("sortIndex").value1;if(F!==void 0&&e.setSortIndex(F),!a){var A=u("aggFunc").value1;A!==void 0&&(typeof A=="string"?(e.setAggFunc(A),e.isValueActive()||(e.setValueActive(!0,l),this.valueColumns.push(e))):(y(A)&&console.warn("AG Grid: stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it is intended for the column state to be stored and retrieved as simple JSON."),e.isValueActive()&&(e.setValueActive(!1,l),Ee(this.valueColumns,e))));var P=u("rowGroup","rowGroupIndex"),M=P.value1,W=P.value2;(M!==void 0||W!==void 0)&&(typeof W=="number"||M?(e.isRowGroupActive()||(e.setRowGroupActive(!0,l),this.rowGroupColumns.push(e)),n&&typeof W=="number"&&(n[e.getId()]=W)):e.isRowGroupActive()&&(e.setRowGroupActive(!1,l),Ee(this.rowGroupColumns,e)));var Y=u("pivot","pivotIndex"),U=Y.value1,q=Y.value2;(U!==void 0||q!==void 0)&&(typeof q=="number"||U?(e.isPivotActive()||(e.setPivotActive(!0,l),this.pivotColumns.push(e)),s&&typeof q=="number"&&(s[e.getId()]=q)):e.isPivotActive()&&(e.setPivotActive(!1,l),Ee(this.pivotColumns,e)))}}},t.prototype.getGridColumns=function(e){return this.getColumns(e,this.getGridColumn.bind(this))},t.prototype.getColumns=function(e,r){var o=[];return e&&e.forEach(function(n){var s=r(n);s&&o.push(s)}),o},t.prototype.getColumnWithValidation=function(e){if(e==null)return null;var r=this.getGridColumn(e);return r||console.warn("AG Grid: could not find column "+e),r},t.prototype.getPrimaryColumn=function(e){return this.primaryColumns?this.getColumn(e,this.primaryColumns,this.primaryColumnsMap):null},t.prototype.getGridColumn=function(e){return this.getColumn(e,this.gridColumns,this.gridColumnsMap)},t.prototype.getColumn=function(e,r,o){if(!e)return null;if(typeof e=="string"&&o[e])return o[e];for(var n=0;n=0:C?U?M=F:q?M=P!=null&&P>=0:M=!1:M=r.indexOf(v)>=0,M){var re=C?A!=null||P!=null:A!=null;re?u.push(v):p.push(v)}});var d=function(v){var C=n(v.getColDef()),R=s(v.getColDef());return C!=null?C:R};u.sort(function(v,C){var R=d(v),S=d(C);return R===S?0:R=0&&f.push(v)}),p.forEach(function(v){f.indexOf(v)<0&&f.push(v)}),r.forEach(function(v){f.indexOf(v)<0&&o(v,!1)}),f.forEach(function(v){r.indexOf(v)<0&&o(v,!0)}),f},t.prototype.extractPivotColumns=function(e,r){this.pivotColumns=this.extractColumns(r,this.pivotColumns,function(o,n){return o.setPivotActive(n,e)},function(o){return o.pivotIndex},function(o){return o.initialPivotIndex},function(o){return o.pivot},function(o){return o.initialPivot})},t.prototype.resetColumnGroupState=function(e){e===void 0&&(e="api");var r=[];this.columnUtils.depthFirstOriginalTreeSearch(null,this.primaryColumnTree,function(o){if(o instanceof le){var n=o.getColGroupDef(),s={groupId:o.getGroupId(),open:n?n.openByDefault:void 0};r.push(s)}}),this.setColumnGroupState(r,e)},t.prototype.getColumnGroupState=function(){var e=[];return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,function(r){if(r instanceof le){var o=r;e.push({groupId:o.getGroupId(),open:o.isExpanded()})}}),e},t.prototype.setColumnGroupState=function(e,r){var o=this;r===void 0&&(r="api"),this.columnAnimationService.start();var n=[];e.forEach(function(s){var a=s.groupId,l=s.open,u=o.getOriginalColumnGroup(a);!u||u.isExpanded()!==l&&(o.logger.log("columnGroupOpened("+u.getGroupId()+","+l+")"),u.setExpanded(l),n.push(u))}),this.updateGroupsAndDisplayedColumns(r),this.setFirstRightAndLastLeftPinned(r),n.forEach(function(s){var a={type:g.EVENT_COLUMN_GROUP_OPENED,columnGroup:s,api:o.gridApi,columnApi:o.columnApi};o.eventService.dispatchEvent(a)}),this.columnAnimationService.finish()},t.prototype.setColumnGroupOpened=function(e,r,o){o===void 0&&(o="api");var n;e instanceof le?n=e.getId():n=e||"",this.setColumnGroupState([{groupId:n,open:r}],o)},t.prototype.getOriginalColumnGroup=function(e){if(e instanceof le)return e;typeof e!="string"&&console.error("AG Grid: group key must be a string");var r=null;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,function(o){if(o instanceof le){var n=o;n.getId()===e&&(r=n)}}),r},t.prototype.calculateColumnsForDisplay=function(){var e=this,r;return this.pivotMode&&!this.secondaryColumnsPresent?r=this.gridColumns.filter(function(o){var n=e.groupAutoColumns&&Ve(e.groupAutoColumns,o),s=e.valueColumns&&Ve(e.valueColumns,o);return n||s}):r=this.gridColumns.filter(function(o){var n=e.groupAutoColumns&&Ve(e.groupAutoColumns,o);return n||o.isVisible()}),r},t.prototype.checkColSpanActiveInCols=function(e){var r=!1;return e.forEach(function(o){y(o.getColDef().colSpan)&&(r=!0)}),r},t.prototype.calculateColumnsForGroupDisplay=function(){var e=this;this.groupDisplayColumns=[];var r=function(o){var n=o.getColDef();n&&y(n.showRowGroup)&&e.groupDisplayColumns.push(o)};this.gridColumns.forEach(r),this.groupAutoColumns&&this.groupAutoColumns.forEach(r)},t.prototype.getGroupDisplayColumns=function(){return this.groupDisplayColumns},t.prototype.updateDisplayedColumns=function(e){var r=this.calculateColumnsForDisplay();this.buildDisplayedTrees(r),this.calculateColumnsForGroupDisplay(),this.updateGroupsAndDisplayedColumns(e),this.setFirstRightAndLastLeftPinned(e)},t.prototype.isSecondaryColumnsPresent=function(){return this.secondaryColumnsPresent},t.prototype.setSecondaryColumns=function(e,r){r===void 0&&(r="api");var o=e&&e.length>0;if(!(!o&&!this.secondaryColumnsPresent)){if(o){this.processSecondaryColumnDefinitions(e);var n=this.columnFactory.createColumnTree(e,!1);this.secondaryBalancedTree=n.columnTree,this.secondaryHeaderRowCount=n.treeDept+1,this.secondaryColumns=this.getColumnsFromTree(this.secondaryBalancedTree),this.secondaryColumnsPresent=!0}else this.secondaryBalancedTree=null,this.secondaryHeaderRowCount=-1,this.secondaryColumns=null,this.secondaryColumnsPresent=!1;this.updateGridColumns(),this.updateDisplayedColumns(r)}},t.prototype.processSecondaryColumnDefinitions=function(e){var r=this.gridOptionsWrapper.getProcessSecondaryColDefFunc(),o=this.gridOptionsWrapper.getProcessSecondaryColGroupDefFunc();if(!(!r&&!o)){var n=function(s){s.forEach(function(a){var l=y(a.children);if(l){var u=a;o&&o(u),n(u.children)}else{var p=a;r&&r(p)}})};e&&n(e)}},t.prototype.updateGridColumns=function(){var e=this;this.gridColsArePrimary&&(this.lastPrimaryOrder=this.gridColumns),this.secondaryColumns&&this.secondaryBalancedTree?(this.gridBalancedTree=this.secondaryBalancedTree.slice(),this.gridHeaderRowCount=this.secondaryHeaderRowCount,this.gridColumns=this.secondaryColumns.slice(),this.gridColsArePrimary=!1):this.primaryColumns&&(this.gridBalancedTree=this.primaryColumnTree.slice(),this.gridHeaderRowCount=this.primaryHeaderRowCount,this.gridColumns=this.primaryColumns.slice(),this.gridColsArePrimary=!0,this.orderGridColsLikeLastPrimary()),this.addAutoGroupToGridColumns(),this.gridColumns=this.putFixedColumnsFirst(this.gridColumns),this.setupQuickFilterColumns(),this.clearDisplayedAndViewportColumns(),this.colSpanActive=this.checkColSpanActiveInCols(this.gridColumns),this.gridColumnsMap={},this.gridColumns.forEach(function(o){return e.gridColumnsMap[o.getId()]=o}),this.setAutoHeightActive();var r={type:g.EVENT_GRID_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(r)},t.prototype.setAutoHeightActive=function(){if(this.autoHeightActive=this.gridColumns.filter(function(n){return n.getColDef().autoHeight}).length>0,this.autoHeightActive){this.autoHeightActiveAtLeastOnce=!0;var e=this.rowModel.getType(),r=e===E.ROW_MODEL_TYPE_CLIENT_SIDE||e===E.ROW_MODEL_TYPE_SERVER_SIDE;if(!r){var o="AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.";ie(function(){return console.warn(o)},"autoHeightActive.wrongRowModel")}}},t.prototype.orderGridColsLikeLastPrimary=function(){if(!m(this.lastPrimaryOrder)){var e=ot(this.lastPrimaryOrder.map(function(u,p){return[u,p]})),r=!0;if(this.gridColumns.forEach(function(u){e.has(u)&&(r=!1)}),!r){var o=ot(this.gridColumns.map(function(u){return[u,!0]})),n=this.lastPrimaryOrder.filter(function(u){return o.has(u)}),s=ot(n.map(function(u){return[u,!0]})),a=this.gridColumns.filter(function(u){return!s.has(u)}),l=n.slice();a.forEach(function(u){var p=u.getOriginalParent();if(!p){l.push(u);return}for(var d=[];!d.length&&p;){var f=p.getLeafColumns();f.forEach(function(R){var S=l.indexOf(R)>=0,F=d.indexOf(R)<0;S&&F&&d.push(R)}),p=p.getOriginalParent()}if(!d.length){l.push(u);return}var v=d.map(function(R){return l.indexOf(R)}),C=Math.max.apply(Math,v);Qr(l,u,C+1)}),this.gridColumns=l}}},t.prototype.isPrimaryColumnGroupsPresent=function(){return this.primaryHeaderRowCount>1},t.prototype.setupQuickFilterColumns=function(){this.groupAutoColumns?this.columnsForQuickFilter=(this.primaryColumns||[]).concat(this.groupAutoColumns):this.primaryColumns&&(this.columnsForQuickFilter=this.primaryColumns)},t.prototype.putFixedColumnsFirst=function(e){var r=e.filter(function(n){return n.getColDef().lockPosition}),o=e.filter(function(n){return!n.getColDef().lockPosition});return r.concat(o)},t.prototype.addAutoGroupToGridColumns=function(){if(this.createGroupAutoColumnsIfNeeded(),!m(this.groupAutoColumns)){this.gridColumns=this.groupAutoColumns?this.groupAutoColumns.concat(this.gridColumns):this.gridColumns;var e=this.columnFactory.createForAutoGroups(this.groupAutoColumns,this.gridBalancedTree);this.gridBalancedTree=e.concat(this.gridBalancedTree)}},t.prototype.clearDisplayedAndViewportColumns=function(){this.displayedTreeLeft=[],this.displayedTreeRight=[],this.displayedTreeCentre=[],this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={},this.displayedColumnsLeft=[],this.displayedColumnsRight=[],this.displayedColumnsCenter=[],this.displayedColumns=[],this.viewportColumns=[]},t.prototype.updateGroupsAndDisplayedColumns=function(e){this.updateOpenClosedVisibilityInColumnGroups(),this.deriveDisplayedColumns(e),this.refreshFlexedColumns(),this.extractViewport(),this.updateBodyWidths();var r={type:g.EVENT_DISPLAYED_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(r)},t.prototype.deriveDisplayedColumns=function(e){this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeLeft,this.displayedColumnsLeft),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeCentre,this.displayedColumnsCenter),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeRight,this.displayedColumnsRight),this.joinDisplayedColumns(),this.setLeftValues(e),this.displayedAutoHeightCols=this.displayedColumns.filter(function(r){return r.getColDef().autoHeight})},t.prototype.isAutoRowHeightActive=function(){return this.autoHeightActive},t.prototype.wasAutoRowHeightEverActive=function(){return this.autoHeightActiveAtLeastOnce},t.prototype.joinDisplayedColumns=function(){this.gridOptionsWrapper.isEnableRtl()?this.displayedColumns=this.displayedColumnsRight.concat(this.displayedColumnsCenter).concat(this.displayedColumnsLeft):this.displayedColumns=this.displayedColumnsLeft.concat(this.displayedColumnsCenter).concat(this.displayedColumnsRight)},t.prototype.setLeftValues=function(e){this.setLeftValuesOfColumns(e),this.setLeftValuesOfGroups()},t.prototype.setLeftValuesOfColumns=function(e){var r=this;if(!!this.primaryColumns){var o=this.primaryColumns.slice(0),n=this.gridOptionsWrapper.isEnableRtl();[this.displayedColumnsLeft,this.displayedColumnsRight,this.displayedColumnsCenter].forEach(function(s){if(n){var a=r.getWidthOfColsInList(s);s.forEach(function(u){a-=u.getActualWidth(),u.setLeft(a,e)})}else{var l=0;s.forEach(function(u){u.setLeft(l,e),l+=u.getActualWidth()})}ln(o,s)}),o.forEach(function(s){s.setLeft(null,e)})}},t.prototype.setLeftValuesOfGroups=function(){[this.displayedTreeLeft,this.displayedTreeRight,this.displayedTreeCentre].forEach(function(e){e.forEach(function(r){if(r instanceof ye){var o=r;o.checkLeft()}})})},t.prototype.derivedDisplayedColumnsFromDisplayedTree=function(e,r){r.length=0,this.columnUtils.depthFirstDisplayedColumnTreeSearch(e,function(o){o instanceof J&&r.push(o)})},t.prototype.extractViewportColumns=function(){this.suppressColumnVirtualisation?this.viewportColumnsCenter=this.displayedColumnsCenter:this.viewportColumnsCenter=this.filterOutColumnsWithinViewport(),this.viewportColumns=this.viewportColumnsCenter.concat(this.displayedColumnsLeft).concat(this.displayedColumnsRight)},t.prototype.getVirtualHeaderGroupRow=function(e,r){var o;switch(e){case E.PINNED_LEFT:o=this.viewportRowLeft[r];break;case E.PINNED_RIGHT:o=this.viewportRowRight[r];break;default:o=this.viewportRowCenter[r];break}return m(o)&&(o=[]),o},t.prototype.extractViewportRows=function(){this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={};var e={};this.viewportColumns.forEach(function(o){return e[o.getId()]=!0});var r=function(o,n,s){for(var a=!1,l=0;ln;return M.getFlex()&&W},a=this.displayedColumnsCenter.filter(function(M){return!s(M)}),l=this.displayedColumnsCenter.filter(function(M){return s(M)}),u=[];if(!l.length)return[];var p=[],d;e:for(;;){var f=l.reduce(function(M,W){return M+W.getFlex()},0);d=this.flexViewportWidth-this.getWidthOfColsInList(a);for(var v=0;vA&&(S=A),S){C.setActualWidth(S,o),Ee(l,C),u.push(C),a.push(C);continue e}p[v]=Math.round(R)}break}var P=d;return l.forEach(function(M,W){M.setActualWidth(Math.min(p[W],P),o),u.push(M),P-=p[W]}),e.skipSetLeft||this.setLeftValues(o),e.updateBodyWidths&&this.updateBodyWidths(),e.fireResizedEvent&&this.fireColumnResizedEvent(u,!0,o,l),this.flexColsCalculatedAtLestOnce||(this.gridOptionsWrapper.isRowModelDefault()&&this.rowModel.resetRowHeights(),this.flexColsCalculatedAtLestOnce=!0),l},t.prototype.sizeColumnsToFit=function(e,r,o){r===void 0&&(r="sizeColumnsToFit");var n=this.getAllDisplayedColumns();if(!(e<=0||!n.length)){var s=[],a=[];n.forEach(function(P){P.getColDef().suppressSizeToFit===!0?a.push(P):s.push(P)});var l=s.slice(0),u=!1,p=function(P){Ee(s,P),a.push(P)};for(s.forEach(function(P){return P.resetActualWidth(r)});!u;){u=!0;var d=e-this.getWidthOfColsInList(a);if(d<=0)s.forEach(function(P){P.setMinimum(r)});else for(var f=d/this.getWidthOfColsInList(s),v=d,C=s.length-1;C>=0;C--){var R=s[C],S=R.getMinWidth(),F=R.getMaxWidth(),A=Math.round(R.getActualWidth()*f);y(S)&&A0||this.usingTreeData,n=o&&!r&&!e;if(n){var s=this.autoGroupColService.createAutoGroupColumns(this.rowGroupColumns),a=!this.autoColsEqual(s,this.groupAutoColumns);(a||this.forceRecreateAutoGroups)&&(this.groupAutoColumns=s)}else this.groupAutoColumns=null}},t.prototype.autoColsEqual=function(e,r){return Tt(e,r,function(o,n){return o.getColId()===n.getColId()})},t.prototype.getWidthOfColsInList=function(e){return e.reduce(function(r,o){return r+o.getActualWidth()},0)},t.prototype.getGridBalancedTree=function(){return this.gridBalancedTree},t.prototype.hasFloatingFilters=function(){if(!this.gridColumns)return!1;var e=this.gridColumns.some(function(r){return r.getColDef().floatingFilter});return e},t.prototype.getFirstDisplayedColumn=function(){var e=this.gridOptionsWrapper.isEnableRtl(),r=["getDisplayedLeftColumns","getDisplayedCenterColumns","getDisplayedRightColumns"];e&&r.reverse();for(var o=0;o>>=8;return e}function hc(i){return typeof i!="number"?"":An(Math.round(i*100)/100)}function An(i){return typeof i!="number"?"":i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}function fc(i){return i==null?null:i.reduce(function(t,e){return t+e},0)}var gc=Object.freeze({__proto__:null,padStartWidthZeros:Pn,createArrayOfNumbers:Ws,isNumeric:no,getMaxSafeInteger:Bs,cleanNumber:cc,decToHex:dc,formatNumberTwoDecimalPlacesAndCommas:hc,formatNumberCommas:An,sum:fc});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var vc=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),yc=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Us=function(i){vc(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.calculateColMinWidth=function(e){return e.minWidth!=null?e.minWidth:this.gridOptionsWrapper.getMinColWidth()},t.prototype.calculateColMaxWidth=function(e){return e.maxWidth!=null?e.maxWidth:this.gridOptionsWrapper.getMaxColWidth()||Bs()},t.prototype.calculateColInitialWidth=function(e){var r=this.calculateColMinWidth(e),o=this.calculateColMaxWidth(e),n,s=H(e.width),a=H(e.initialWidth);return s!=null?n=s:a!=null?n=a:n=this.gridOptionsWrapper.getColWidth(),Math.max(Math.min(n,o),r)},t.prototype.getOriginalPathForColumn=function(e,r){var o=[],n=!1,s=function(a,l){for(var u=0;u=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},js=function(i){Cc(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.createDisplayedGroups=function(e,r,o,n,s){var a=this,l=[],u,p,d=this.mapOldGroupsById(s);return e.forEach(function(f){for(var v=a.getOriginalPathForColumn(r,f),C=[],R=!p,S=0;S=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},zs=function(i){Ec(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.componentsMappedByName={},e}return t.prototype.setupComponents=function(e){var r=this;e&&e.forEach(function(o){return r.addComponent(o)})},t.prototype.addComponent=function(e){var r=e.componentName.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=r.toUpperCase();this.componentsMappedByName[o]=e.componentClass},t.prototype.getComponentClass=function(e){return this.componentsMappedByName[e]},t=Rc([L("agStackComponentsRegistry")],t),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var _c=function(){for(var i=0,t=0,e=arguments.length;t=0)return i.fromHexString(t);var e=i.nameToHex[t];if(e)return i.fromHexString(e);if(t.indexOf("rgb")>=0)return i.fromRgbaString(t);throw new Error("Invalid color string: '"+t+"'")},i.parseHex=function(t){t=t.replace(/ /g,"").slice(1);var e;switch(t.length){case 6:case 8:e=[];for(var r=0;r=3&&e.every(function(o){return o>=0}))return e.length===3&&e.push(255),e},i.fromHexString=function(t){var e=i.parseHex(t);if(e){var r=e[0],o=e[1],n=e[2],s=e[3];return new i(r/255,o/255,n/255,s/255)}throw new Error("Malformed hexadecimal color string: '"+t+"'")},i.stringToRgba=function(t){for(var e=[NaN,NaN],r=e[0],o=e[1],n=0;n=0?(d=Math.max(0,Math.min(100,d)),d/=100):n===3?d=Math.max(0,Math.min(1,d)):(d=Math.max(0,Math.min(255,d)),d/=255),u.push(d)}return u}},i.fromRgbaString=function(t){var e=i.stringToRgba(t);if(e){if(e.length===3)return new i(e[0],e[1],e[2]);if(e.length===4)return new i(e[0],e[1],e[2],e[3])}throw new Error("Malformed rgb/rgba color string: '"+t+"'")},i.fromArray=function(t){if(t.length===4)return new i(t[0],t[1],t[2],t[3]);if(t.length===3)return new i(t[0],t[1],t[2]);throw new Error("The given array should contain 3 or 4 color components (numbers).")},i.fromHSB=function(t,e,r,o){o===void 0&&(o=1);var n=i.HSBtoRGB(t,e,r);return new i(n[0],n[1],n[2],o)},i.padHex=function(t){return t.length===1?"0"+t:t},i.prototype.toHexString=function(){var t="#"+i.padHex(Math.round(this.r*255).toString(16))+i.padHex(Math.round(this.g*255).toString(16))+i.padHex(Math.round(this.b*255).toString(16));return this.a<1&&(t+=i.padHex(Math.round(this.a*255).toString(16))),t},i.prototype.toRgbaString=function(t){t===void 0&&(t=3);var e=[Math.round(this.r*255),Math.round(this.g*255),Math.round(this.b*255)],r=Math.pow(10,t);return this.a!==1?(e.push(Math.round(this.a*r)/r),"rgba("+e.join(", ")+")"):"rgb("+e.join(", ")+")"},i.prototype.toString=function(){return this.a===1?this.toHexString():this.toRgbaString()},i.prototype.toHSB=function(){return i.RGBtoHSB(this.r,this.g,this.b)},i.RGBtoHSB=function(t,e,r){var o=Math.min(t,e,r),n=Math.max(t,e,r),s=n!==0?(n-o)/n:0,a=NaN;if(o!==n){var l=n-o,u=(n-t)/l,p=(n-e)/l,d=(n-r)/l;t===n?a=d-p:e===n?a=2+u-d:a=4+p-u,a/=6,a<0&&(a=a+1)}return[a*360,s,n]},i.HSBtoRGB=function(t,e,r){isNaN(t)&&(t=0),t=(t%360+360)%360/360;var o=0,n=0,s=0;if(e===0)o=n=s=r;else{var a=(t-Math.floor(t))*6,l=a-Math.floor(a),u=r*(1-e),p=r*(1-e*l),d=r*(1-e*(1-l));switch(a>>0){case 0:o=r,n=d,s=u;break;case 1:o=p,n=r,s=u;break;case 2:o=u,n=r,s=d;break;case 3:o=u,n=p,s=r;break;case 4:o=d,n=u,s=r;break;case 5:o=r,n=u,s=p;break}}return[o,n,s]},i.prototype.derive=function(t,e,r,o){var n=i.RGBtoHSB(this.r,this.g,this.b),s=n[2];s==0&&r>1&&(s=.05);var a=((n[0]+t)%360+360)%360,l=Math.max(Math.min(n[1]*e,1),0);s=Math.max(Math.min(s*r,1),0);var u=Math.max(Math.min(this.a*o,1),0),p=i.HSBtoRGB(a,l,s);return p.push(u),i.fromArray(p)},i.prototype.brighter=function(){return this.derive(0,1,1/.7,1)},i.prototype.darker=function(){return this.derive(0,1,.7,1)},i.nameToHex=Object.freeze({aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"}),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function $s(i,t){t===void 0&&(t=",");var e=[],r=function(f){return f==="\r"||f===` +`},o=!1;if(i==="")return[[""]];for(var n=function(f,v,C){var R=i[C-1],S=i[C],F=i[C+1],A=function(){e[f]||(e[f]=[]),e[f][v]||(e[f][v]="")};if(A(),S==='"'){if(o)return F==='"'?(e[f][v]+='"',C++):o=!1,s=f,a=v,l=C,"continue";if(R===void 0||R===t||r(R))return o=!0,s=f,a=v,l=C,"continue"}if(!o){if(S===t)return v++,A(),s=f,a=v,l=C,"continue";if(r(S))return v=0,f++,A(),S==="\r"&&F===` +`&&C++,s=f,a=v,l=C,"continue"}e[f][v]+=S,s=f,a=v,l=C},s,a,l,u=0,p=0,d=0;d1)&&!window.MSStream),Ln}function ao(i){if(!i)return null;var t=i.tabIndex,e=i.getAttribute("tabIndex");if(je()&&t===0&&e===null){var r={a:!0,body:!0,button:!0,frame:!0,iframe:!0,img:!0,input:!0,isindex:!0,object:!0,select:!0,textarea:!0};return r[i.nodeName.toLowerCase()]===!0?"0":null}return t===-1&&(e===null||e===""&&!Hn())?null:t.toString()}function Ks(){if(!document.body)return-1;var i=1e6,t=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,e=document.createElement("div");for(document.body.appendChild(e);;){var r=i*2;if(e.style.height=r+"px",r>t||e.clientHeight!==r)break;i=r}return document.body.removeChild(e),i}function Ys(){return xn==null&&qs(),xn}function qs(){var i=document.body,t=document.createElement("div");t.style.width=t.style.height="100px",t.style.opacity="0",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",t.style.position="absolute",i.appendChild(t);var e=t.offsetWidth-t.clientWidth;e===0&&t.clientWidth===0&&(e=null),t.parentNode&&t.parentNode.removeChild(t),e!=null&&(xn=e,Gn=e===0)}function Xs(){return Gn==null&&qs(),Gn}function Oc(){var i=["webkit","moz","o","ms"],t=document.createElement("div"),e=document.getElementsByTagName("body")[0],r=!1,o;e.appendChild(t),t.setAttribute("style",i.map(function(l){return"-"+l+"-overflow-scrolling: touch"}).concat("overflow-scrolling: touch").join(";"));var n=window.getComputedStyle(t);if(n.overflowScrolling==="touch"&&(r=!0),!r){for(var s=0,a=i;s=0){t.split(" ").forEach(function(r){return V(i,r)});return}if(i.classList)i.classList.add(t);else if(i.className&&i.className.length>0){var e=i.className.split(" ");e.indexOf(t)<0&&(e.push(t),i.setAttribute("class",e.join(" ")))}else i.setAttribute("class",t);return i}}function Ce(i,t){if(!(!i||!t||t.length===0)){if(t.indexOf(" ")>=0){t.split(" ").forEach(function(r){return Ce(i,r)});return}if(i.classList)i.classList.remove(t);else if(i.className&&i.className.length>0){var e=i.className.split(" ").filter(function(r){return r!==t}).join(" ");i.setAttribute("class",e)}}}function B(i,t,e){e?V(i,t):Ce(i,t)}function Ac(i,t,e){for(var r=i.parentElement,o=r&&r.firstChild;o;)t&&B(o,t,o===i),e&&B(o,e,o!==i),o=o.nextSibling}function it(i,t){if(i.classList)return i.classList.contains(t);if(i.className){var e=i.className===t,r=i.className.indexOf(" "+t+" ")>=0,o=i.className.indexOf(t+" ")===0,n=i.className.lastIndexOf(" "+t)===i.className.length-t.length-1;return e||r||o||n}return!1}function Js(i){var t=Element.prototype.matches||Element.prototype.msMatchesSelector,e=t.call(i,E.INPUT_SELECTOR),r=t.call(i,E.FOCUSABLE_EXCLUDE),o=qt(i),n=e&&!r&&o;return n}function ne(i,t){B(i,"ag-hidden",!t)}function ea(i,t){B(i,"ag-invisible",!t)}function Yt(i,t){var e="disabled",r=t?function(o){return o.setAttribute(e,"")}:function(o){return o.removeAttribute(e)};r(i),Kn(i.querySelectorAll("input"),function(o){return r(o)})}function uo(i,t,e){for(var r=0;i;){if(it(i,t))return!0;if(i=i.parentElement,e&&++r>e)break}return!1}function Cr(i){var t=window.getComputedStyle(i),e=t.height,r=t.width,o=t.paddingTop,n=t.paddingRight,s=t.paddingBottom,a=t.paddingLeft,l=t.marginTop,u=t.marginRight,p=t.marginBottom,d=t.marginLeft,f=t.boxSizing;return{height:parseFloat(e),width:parseFloat(r),paddingTop:parseFloat(o),paddingRight:parseFloat(n),paddingBottom:parseFloat(s),paddingLeft:parseFloat(a),marginTop:parseFloat(l),marginRight:parseFloat(u),marginBottom:parseFloat(p),marginLeft:parseFloat(d),boxSizing:f}}function mr(i){var t=Cr(i);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom:t.height}function po(i){var t=Cr(i);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight:t.width}function Vn(i){var t=Cr(i),e=t.marginBottom+t.marginTop;return Math.ceil(i.offsetHeight+e)}function co(i){var t=Cr(i),e=t.marginLeft+t.marginRight;return Math.ceil(i.offsetWidth+e)}function wr(){if(typeof lo=="boolean")return lo;var i=document.createElement("div");return i.style.direction="rtl",i.style.width="1px",i.style.height="1px",i.style.position="fixed",i.style.top="0px",i.style.overflow="hidden",i.dir="rtl",i.innerHTML=`
+ + +
`,document.body.appendChild(i),i.scrollLeft=1,lo=Math.floor(i.scrollLeft)===0,document.body.removeChild(i),lo}function Er(i,t){var e=i.scrollLeft;return t&&(e=Math.abs(e),yr()&&!wr()&&(e=i.scrollWidth-i.clientWidth-e)),e}function ho(i,t,e){e&&(wr()?t*=-1:(so()||yr())&&(t=i.scrollWidth-i.clientWidth-t)),i.scrollLeft=t}function Le(i){for(;i&&i.firstChild;)i.removeChild(i.firstChild)}function Dc(i,t){vt(i.querySelector(t))}function vt(i){i&&i.parentNode&&i.parentNode.removeChild(i)}function qt(i){return i.offsetParent!==null}function st(i){var t=document.createElement("div");return t.innerHTML=(i||"").trim(),t.firstChild}function Tc(i,t){i.lastChild?i.insertAdjacentHTML("afterbegin",t):i.innerHTML=t}function bc(i,t){if(i.attributes&&i.attributes[t]){var e=i.attributes[t];return e.value}return null}function Wn(i){return i&&i.clientHeight?i.clientHeight:0}function Bn(i){return i&&i.clientWidth?i.clientWidth:0}function Un(i,t,e){e&&e.nextSibling===t||(e?e.nextSibling?i.insertBefore(t,e.nextSibling):i.appendChild(t):i.firstChild&&i.firstChild!==t&&i.insertAdjacentElement("afterbegin",t))}function jn(i,t){for(var e=0;e1?r[1]:""}function Gc(i){var t=i.length,e=0;if(t<=1)return i;for(var r=0;r1){e=Math.max(e,parseInt(n[1],10));continue}Math.floor(o)!==o&&(e=Math.max(e,o.toString().split(".")[1].length))}for(var s=0,a=0,l=0,u=0,p=0,d=0;d=0&&p<24&&l.setHours(p),d>=0&&d<60&&l.setMinutes(d),f>=0&&f<60&&l.setSeconds(f),l}var $c=Object.freeze({__proto__:null,serialiseDate:Et,parseDateTimeFromString:Rt});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function ma(i,t,e){var r={},o=i.filter(function(n){return!t.some(function(s){return s===n})});return o.length>0&&o.forEach(function(n){return r[n]=wa(n,e)}),r}function wa(i,t,e,r){var o=r?Ra:Ea,n=t.map(function(s){return{value:s,relevance:o(i.toLowerCase(),s.toLocaleLowerCase())}});return n.sort(function(s,a){return a.relevance-s.relevance}),e&&(n=n.filter(function(s){return s.relevance!==0})),n.map(function(s){return s.value})}function Qn(i){var t=i.toLowerCase(),e=new Array(t.length-1),r,o,n;for(r=o=0,n=e.length;o<=n;r=o+=1)e[r]=t.slice(r,r+2);return e}function Ea(i,t){if(i.length===0&&t.length===0)return 0;var e=Qn(i),r=Qn(t),o=e.length+r.length,n=0,s,a;for(s=0,a=e.length;s0?2*n/o:0}function Ra(i,t){for(var e=i.replace(/\s/g,""),r=t.replace(/\s/g,""),o=0,n=0,s=0;s-1)return r;var o=document.createElement("span");return o.appendChild(r),o}function fe(i,t,e,r){var o=null,n=e&&e.getColDef().icons;if(n&&(o=n[i]),t&&!o){var s=t.getIcons();s&&(o=s[i])}if(o){var a=void 0;if(typeof o=="function")a=o();else if(typeof o=="string")a=o;else throw new Error("icon from grid options needs to be a string or a function");if(typeof a=="string")return st(a);if(fo(a))return a;console.warn("AG Grid: iconRenderer should return back a string or a dom object")}else{var l=document.createElement("span"),u=_a[i];return u||(r?u=i:(console.warn("AG Grid: Did not find icon "+i),u="")),l.setAttribute("class","ag-icon ag-icon-"+u),l.setAttribute("unselectable","on"),Pe(l,"presentation"),l}}var Yc=Object.freeze({__proto__:null,iconNameClassMap:_a,createIcon:ke,createIconNoSpan:fe});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var qc="Del",Xc=46;function Zn(i,t){return(i.which||i.keyCode)===t}function Sa(i){if(i.altKey||i.ctrlKey||i.metaKey)return!1;var t=i.key.length===1,e=Qc(i);return t||e}function yo(i,t,e,r,o){var n=i.getSuppressKeyboardEventFunc(),s=r?r.getColDef().suppressKeyboardEvent:void 0;if(!n&&!s)return!1;var a={event:t,editing:o,column:r,api:i.getApi(),node:e,data:e.data,colDef:r.getColDef(),context:i.getContext(),columnApi:i.getColumnApi()};if(s){var l=s(a);if(l)return!0}return n?n(a):!1}function Oa(i,t,e,r){var o=r.getDefinition(),n=o&&o.suppressHeaderKeyboardEvent;if(!y(n))return!1;var s={api:i.getApi(),columnApi:i.getColumnApi(),context:i.getContext(),colDef:o,column:r,headerRowIndex:e,event:t};return!!n(s)}function Qc(i){return(io()||je())&&i.key===qc&&i.charCode===Xc}var Zc=Object.freeze({__proto__:null,isKeyPressed:Zn,isEventFromPrintableCharacter:Sa,isUserSuppressingKeyboardEvent:yo,isUserSuppressingHeaderKeyboardEvent:Oa});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function Jc(i){var t=10,e=40,r=800,o=0,n=0,s=0,a=0;return"detail"in i&&(n=i.detail),"wheelDelta"in i&&(n=-i.wheelDelta/120),"wheelDeltaY"in i&&(n=-i.wheelDeltaY/120),"wheelDeltaX"in i&&(o=-i.wheelDeltaX/120),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(o=n,n=0),s=o*t,a=n*t,"deltaY"in i&&(a=i.deltaY),"deltaX"in i&&(s=i.deltaX),(s||a)&&i.deltaMode&&(i.deltaMode==1?(s*=e,a*=e):(s*=r,a*=r)),s&&!o&&(o=s<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:o,spinY:n,pixelX:s,pixelY:a}}function ed(i){if("buttons"in i)return i.buttons==1;var t=i.which||i.button;return t==1}function Jn(i,t,e){if(e===0)return!1;var r=Math.abs(i.clientX-t.clientX),o=Math.abs(i.clientY-t.clientY);return Math.max(r,o)<=e}var td=Object.freeze({__proto__:null,normalizeWheel:Jc,isLeftClick:ed,areEventsNear:Jn});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function rd(i,t){if(!!i){for(var e=function(a,l){var u=t[a.id],p=t[l.id],d=u!==void 0,f=p!==void 0,v=d&&f,C=!d&&!f;return v?u-p:C?a.__objectId-l.__objectId:d?1:-1},r,o,n=!1,s=0;s0){n=!0;break}n&&i.sort(e)}}function od(i,t){var e=[];r(i);function r(o){!o||o.forEach(function(n){if(n.group||n.hasChildren()){e.push(n.key);var s=e.join("|");t(n,s),r(n.childrenAfterGroup),e.pop()}})}}var nd=Object.freeze({__proto__:null,sortRowNodesByOrder:rd,traverseNodesWithKey:od});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function ei(i){var t=new Set;return i.forEach(function(e){return t.add(e)}),t}var id=Object.freeze({__proto__:null,convertToSet:ei});/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ue=function(){return ue=Object.assign||function(i){for(var t,e=1,r=arguments.length;e=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},qe;(function(i){i[i.NOTHING=0]="NOTHING",i[i.WAITING_TO_SHOW=1]="WAITING_TO_SHOW",i[i.SHOWING=2]="SHOWING"})(qe||(qe={}));var ri=function(i){ld(t,i);function t(e){var r=i.call(this)||this;return r.DEFAULT_HIDE_TOOLTIP_TIMEOUT=1e4,r.SHOW_QUICK_TOOLTIP_DIFF=1e3,r.FADE_OUT_TOOLTIP_TIMEOUT=1e3,r.state=qe.NOTHING,r.tooltipInstanceCount=0,r.tooltipMouseTrack=!1,r.parentComp=e,r}return t.prototype.postConstruct=function(){this.tooltipShowDelay=this.gridOptionsWrapper.getTooltipShowDelay()||2e3,this.tooltipMouseTrack=this.gridOptionsWrapper.isTooltipMouseTrack();var e=this.parentComp.getGui();this.addManagedListener(e,"mouseenter",this.onMouseEnter.bind(this)),this.addManagedListener(e,"mouseleave",this.onMouseLeave.bind(this)),this.addManagedListener(e,"mousemove",this.onMouseMove.bind(this)),this.addManagedListener(e,"mousedown",this.onMouseDown.bind(this)),this.addManagedListener(e,"keydown",this.onKeyDown.bind(this))},t.prototype.destroy=function(){this.setToDoNothing(),i.prototype.destroy.call(this)},t.prototype.onMouseEnter=function(e){if(!Kt()&&this.state==qe.NOTHING){var r=this.isLastTooltipHiddenRecently()?200:this.tooltipShowDelay;this.showTooltipTimeoutId=window.setTimeout(this.showTooltip.bind(this),r),this.lastMouseEvent=e,this.state=qe.WAITING_TO_SHOW}},t.prototype.onMouseLeave=function(){this.setToDoNothing()},t.prototype.onKeyDown=function(){this.setToDoNothing()},t.prototype.setToDoNothing=function(){this.state===qe.SHOWING&&this.hideTooltip(),this.clearTimeouts(),this.state=qe.NOTHING},t.prototype.onMouseMove=function(e){this.lastMouseEvent=e,this.tooltipMouseTrack&&this.state===qe.SHOWING&&this.tooltipComp&&this.positionTooltipUnderLastMouseEvent()},t.prototype.onMouseDown=function(){this.setToDoNothing()},t.prototype.hideTooltip=function(){this.tooltipComp&&(this.destroyTooltipComp(),t.lastTooltipHideTime=new Date().getTime()),this.state=qe.NOTHING},t.prototype.destroyTooltipComp=function(){var e=this;V(this.tooltipComp.getGui(),"ag-tooltip-hiding");var r=this.tooltipPopupDestroyFunc,o=this.tooltipComp;window.setTimeout(function(){r(),e.getContext().destroyBean(o)},this.FADE_OUT_TOOLTIP_TIMEOUT),this.tooltipPopupDestroyFunc=void 0,this.tooltipComp=void 0},t.prototype.isLastTooltipHiddenRecently=function(){var e=new Date().getTime(),r=t.lastTooltipHideTime;return e-r=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},pd=new Mt,$=function(i){ud(t,i);function t(e){var r=i.call(this)||this;return r.displayed=!0,r.visible=!0,r.compId=pd.next(),r.cssClassStates={},e&&r.setTemplate(e),r}return t.prototype.preConstructOnComponent=function(){this.usingBrowserTooltips=this.gridOptionsWrapper.isEnableBrowserTooltips()},t.prototype.getCompId=function(){return this.compId},t.prototype.getTooltipParams=function(){return{value:this.tooltipText,location:"UNKNOWN"}},t.prototype.setTooltip=function(e){var r=this,o=function(){r.usingBrowserTooltips?r.getGui().removeAttribute("title"):r.tooltipFeature=r.destroyBean(r.tooltipFeature)},n=function(){r.usingBrowserTooltips?r.getGui().setAttribute("title",r.tooltipText):r.tooltipFeature=r.createBean(new ri(r))};this.tooltipText!=e&&(this.tooltipText&&o(),e!=null&&(this.tooltipText=e,this.tooltipText&&n()))},t.prototype.createChildComponentsFromTags=function(e,r){var o=this,n=ia(e.childNodes);ae(n,function(s){if(s instanceof HTMLElement){var a=o.createComponentFromElement(s,function(u){var p=u.getGui();p&&o.copyAttributesFromNode(s,u.getGui())},r);if(a){if(a.addItems&&s.children.length){o.createChildComponentsFromTags(s,r);var l=Array.prototype.slice.call(s.children);a.addItems(l)}o.swapComponentForNode(a,e,s)}else s.childNodes&&o.createChildComponentsFromTags(s,r)}})},t.prototype.createComponentFromElement=function(e,r,o){var n=e.nodeName,s=o?o[e.getAttribute("ref")]:void 0,a=this.agStackComponentsRegistry.getComponentClass(n);if(a){t.elementGettingCreated=e;var l=new a(s);return l.setParentComponent(this),this.createBean(l,null,r),l}return null},t.prototype.copyAttributesFromNode=function(e,r){sa(e.attributes,function(o,n){return r.setAttribute(o,n)})},t.prototype.swapComponentForNode=function(e,r,o){var n=e.getGui();r.replaceChild(n,o),r.insertBefore(document.createComment(o.nodeName),n),this.addDestroyFunc(this.destroyBean.bind(this,e)),this.swapInComponentForQuerySelectors(e,o)},t.prototype.swapInComponentForQuerySelectors=function(e,r){var o=this;this.iterateOverQuerySelectors(function(n){o[n.attributeName]===r&&(o[n.attributeName]=e)})},t.prototype.iterateOverQuerySelectors=function(e){for(var r=Object.getPrototypeOf(this);r!=null;){var o=r.__agComponentMetaData,n=eo(r.constructor);o&&o[n]&&o[n].querySelectors&&ae(o[n].querySelectors,function(s){return e(s)}),r=Object.getPrototypeOf(r)}},t.prototype.setTemplate=function(e,r){var o=st(e);this.setTemplateFromElement(o,r)},t.prototype.setTemplateFromElement=function(e,r){this.eGui=e,this.eGui.__agComponent=this,this.wireQuerySelectors(),this.getContext()&&this.createChildComponentsFromTags(this.getGui(),r)},t.prototype.createChildComponentsPreConstruct=function(){this.getGui()&&this.createChildComponentsFromTags(this.getGui())},t.prototype.wireQuerySelectors=function(){var e=this;if(!!this.eGui){var r=this;this.iterateOverQuerySelectors(function(o){var n=function(l){return r[o.attributeName]=l},s=o.refSelector&&e.eGui.getAttribute("ref")===o.refSelector;if(s)n(e.eGui);else{var a=e.eGui.querySelector(o.querySelector);a&&n(a.__agComponent||a)}})}},t.prototype.getGui=function(){return this.eGui},t.prototype.getFocusableElement=function(){return this.eGui},t.prototype.setParentComponent=function(e){this.parentComponent=e},t.prototype.getParentComponent=function(){return this.parentComponent},t.prototype.setGui=function(e){this.eGui=e},t.prototype.queryForHtmlElement=function(e){return this.eGui.querySelector(e)},t.prototype.queryForHtmlInputElement=function(e){return this.eGui.querySelector(e)},t.prototype.appendChild=function(e,r){if(r||(r=this.eGui),e!=null)if(fo(e))r.appendChild(e);else{var o=e;r.appendChild(o.getGui()),this.addDestroyFunc(this.destroyBean.bind(this,o))}},t.prototype.isDisplayed=function(){return this.displayed},t.prototype.setVisible=function(e){e!==this.visible&&(this.visible=e,ea(this.eGui,e))},t.prototype.setDisplayed=function(e){if(e!==this.displayed){this.displayed=e,ne(this.eGui,e);var r={type:t.EVENT_DISPLAYED_CHANGED,visible:this.displayed};this.dispatchEvent(r)}},t.prototype.destroy=function(){this.tooltipFeature&&(this.tooltipFeature=this.destroyBean(this.tooltipFeature)),i.prototype.destroy.call(this)},t.prototype.addGuiEventListener=function(e,r){var o=this;this.eGui.addEventListener(e,r),this.addDestroyFunc(function(){return o.eGui.removeEventListener(e,r)})},t.prototype.addCssClass=function(e){var r=this.cssClassStates[e]!==!0;r&&(V(this.eGui,e),this.cssClassStates[e]=!0)},t.prototype.removeCssClass=function(e){var r=this.cssClassStates[e]!==!1;r&&(Ce(this.eGui,e),this.cssClassStates[e]=!1)},t.prototype.addOrRemoveCssClass=function(e,r){var o=this.cssClassStates[e]!==r;o&&(B(this.eGui,e,r),this.cssClassStates[e]=r)},t.prototype.getAttribute=function(e){var r=this.eGui;return r?r.getAttribute(e):null},t.prototype.getRefElement=function(e){return this.queryForHtmlElement('[ref="'+e+'"]')},t.EVENT_DISPLAYED_CHANGED="displayedChanged",oi([h("agStackComponentsRegistry")],t.prototype,"agStackComponentsRegistry",void 0),oi([yn],t.prototype,"preConstructOnComponent",null),oi([yn],t.prototype,"createChildComponentsPreConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */function cd(i){return Pa.bind(this,i,void 0)}function D(i){return Pa.bind(this,"[ref="+i+"]",i)}function Pa(i,t,e,r,o){if(i===null){console.error("AG Grid: QuerySelector selector should not be null");return}if(typeof o=="number"){console.error("AG Grid: QuerySelector should be on an attribute");return}dd(e,"querySelectors",{attributeName:r,querySelector:i,refSelector:t})}function dd(i,t,e){var r=hd(i,eo(i.constructor));r[t]||(r[t]=[]),r[t].push(e)}function hd(i,t){return i.__agComponentMetaData||(i.__agComponentMetaData={}),i.__agComponentMetaData[t]||(i.__agComponentMetaData[t]={}),i.__agComponentMetaData[t]}/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var fd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Aa=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},gd=function(i){fd(t,i);function t(){return i.call(this,` + `)||this}return t.prototype.destroy=function(){i.prototype.destroy.call(this)},t.prototype.init=function(e){this.params=e;var r=this.columnModel.getDisplayNameForColumn(e.column,"header",!0),o=this.gridOptionsWrapper.getLocaleTextFunc();this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(r+" "+o("ariaFilterInput","Filter Input"))},t.prototype.onParentModelChanged=function(e){var r=this;if(!e){this.eFloatingFilterText.setValue("");return}this.params.parentFilterInstance(function(o){if(o.getModelAsString){var n=o.getModelAsString(e);r.eFloatingFilterText.setValue(n)}})},Aa([D("eFloatingFilterText")],t.prototype,"eFloatingFilterText",void 0),Aa([h("columnModel")],t.prototype,"columnModel",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Da=function(){function i(t,e,r,o){var n=this;this.alive=!0,this.context=t,this.eParent=o;var s=e.getDateCompDetails(r),a=s.newAgStackInstance();a.then(function(l){if(!n.alive){t.destroyBean(l);return}n.dateComp=l,!!l&&(o.appendChild(l.getGui()),l.afterGuiAttached&&l.afterGuiAttached(),n.tempValue&&l.setDate(n.tempValue),n.disabled!=null&&n.setDateCompDisabled(n.disabled))})}return i.prototype.destroy=function(){this.alive=!1,this.dateComp=this.context.destroyBean(this.dateComp)},i.prototype.getDate=function(){return this.dateComp?this.dateComp.getDate():this.tempValue},i.prototype.setDate=function(t){this.dateComp?this.dateComp.setDate(t):this.tempValue=t},i.prototype.setDisabled=function(t){this.dateComp?this.setDateCompDisabled(t):this.disabled=t},i.prototype.setDisplayed=function(t){ne(this.eParent,t)},i.prototype.setInputPlaceholder=function(t){this.dateComp&&this.dateComp.setInputPlaceholder&&this.dateComp.setInputPlaceholder(t)},i.prototype.setInputAriaLabel=function(t){this.dateComp&&this.dateComp.setInputAriaLabel&&this.dateComp.setInputAriaLabel(t)},i.prototype.afterGuiAttached=function(t){this.dateComp&&typeof this.dateComp.afterGuiAttached=="function"&&this.dateComp.afterGuiAttached(t)},i.prototype.setDateCompDisabled=function(t){this.dateComp!=null&&this.dateComp.setDisabled!=null&&this.dateComp.setDisabled(t)},i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ni=function(){return ni=Object.assign||function(i){for(var t,e=1,r=arguments.length;e=1){var e=this.filterOptions[0];typeof e=="string"?this.defaultOption=e:e.displayKey?this.defaultOption=e.displayKey:console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'")}else console.warn("AG Grid: no filter options for filter")},i.prototype.getDefaultOption=function(){return this.defaultOption},i.prototype.getCustomOption=function(t){return this.customFilterOptions[t]},i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var vd={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose One",equals:"Equals",notEqual:"Not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"In range",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equals",greaterThanOrEqual:"Greater than or equals",contains:"Contains",notContains:"Not contains",startsWith:"Starts with",endsWith:"Ends with",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd"};/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var b=function(){function i(){}return i.BACKSPACE=8,i.TAB=9,i.ENTER=13,i.SHIFT=16,i.ESCAPE=27,i.SPACE=32,i.LEFT=37,i.UP=38,i.RIGHT=39,i.DOWN=40,i.DELETE=46,i.A=65,i.C=67,i.V=86,i.D=68,i.Z=90,i.Y=89,i.F2=113,i.PAGE_UP=33,i.PAGE_DOWN=34,i.PAGE_HOME=36,i.PAGE_END=35,i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var yd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),ii=function(){return ii=Object.assign||function(i){for(var t,e=1,r=arguments.length;e=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},yt=function(i){yd(t,i);function t(e,r){r===void 0&&(r={});var o=i.call(this)||this;return o.eFocusableElement=e,o.callbacks=r,o.callbacks=ii({shouldStopEventPropagation:function(){return!1},onTabKeyDown:function(n){if(!n.defaultPrevented){var s=o.focusService.findNextFocusableElement(o.eFocusableElement,!1,n.shiftKey);!s||(s.focus(),n.preventDefault())}}},r),o}return t.prototype.postConstruct=function(){V(this.eFocusableElement,t.FOCUS_MANAGED_CLASS),this.addKeyDownListeners(this.eFocusableElement),this.callbacks.onFocusIn&&this.addManagedListener(this.eFocusableElement,"focusin",this.callbacks.onFocusIn),this.callbacks.onFocusOut&&this.addManagedListener(this.eFocusableElement,"focusout",this.callbacks.onFocusOut)},t.prototype.addKeyDownListeners=function(e){var r=this;this.addManagedListener(e,"keydown",function(o){if(!(o.defaultPrevented||rt(o))){if(r.callbacks.shouldStopEventPropagation(o)){kt(o);return}o.keyCode===b.TAB?r.callbacks.onTabKeyDown(o):r.callbacks.handleKeyDown&&r.callbacks.handleKeyDown(o)}})},t.FOCUS_MANAGED_CLASS="ag-focus-managed",ba([h("focusService")],t.prototype,"focusService",void 0),ba([I],t.prototype,"postConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Cd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Fa=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Pr=function(i){Cd(t,i);function t(e){var r=i.call(this)||this;return r.filterNameKey=e,r.applyActive=!1,r.hidePopup=null,r.appliedModel=null,r}return t.prototype.postConstruct=function(){this.resetTemplate(),this.createManagedBean(new yt(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)}))},t.prototype.handleKeyDown=function(e){},t.prototype.getFilterTitle=function(){return this.translate(this.filterNameKey)},t.prototype.onFilterChanged=function(){console.warn(`AG Grid: you should not call onFilterChanged() directly on the filter, please call + gridApi.onFilterChanged() instead. onFilterChanged is not part of the exposed filter interface (it was + a method that existed on an old version of the filters that was not intended for public use.`),this.providedFilterParams.filterChangedCallback()},t.prototype.isFilterActive=function(){return!!this.appliedModel},t.prototype.resetTemplate=function(e){var r=` +
+
+ `+this.createBodyTemplate()+` +
+
`;this.setTemplate(r,e)},t.prototype.isReadOnly=function(){return!!this.providedFilterParams.readOnly},t.prototype.init=function(e){var r=this;this.setParams(e),this.resetUiToDefaults(!0).then(function(){r.updateUiVisibility(),r.setupOnBtApplyDebounce()})},t.prototype.setParams=function(e){if(t.checkForDeprecatedParams(e),this.providedFilterParams=e,e.newRowsAction==="keep")this.newRowsActionKeep=!0;else if(e.newRowsAction==="clear")this.newRowsActionKeep=!1;else{var r=[E.ROW_MODEL_TYPE_SERVER_SIDE,E.ROW_MODEL_TYPE_INFINITE];this.newRowsActionKeep=r.indexOf(this.rowModel.getType())>=0}this.applyActive=t.isUseApplyButton(e),this.createButtonPanel()},t.prototype.createButtonPanel=function(){var e=this,r=this.providedFilterParams.buttons;if(!(!r||r.length<1||this.isReadOnly())){var o=document.createElement("div");V(o,"ag-filter-apply-panel");var n=function(s){var a,l;switch(s){case"apply":a=e.translate("applyFilter"),l=function(p){return e.onBtApply(!1,!1,p)};break;case"clear":a=e.translate("clearFilter"),l=function(){return e.onBtClear()};break;case"reset":a=e.translate("resetFilter"),l=function(){return e.onBtReset()};break;case"cancel":a=e.translate("cancelFilter"),l=function(p){e.onBtCancel(p)};break;default:console.warn("Unknown button type specified");return}var u=st(``);o.appendChild(u),e.addManagedListener(u,"click",l)};ei(r).forEach(function(s){return n(s)}),this.getGui().appendChild(o)}},t.checkForDeprecatedParams=function(e){var r=e.buttons||[];if(!(r.length>0)){var o=e.applyButton,n=e.resetButton,s=e.clearButton;s&&(console.warn("AG Grid: as of AG Grid v23.2, filterParams.clearButton is deprecated. Please use filterParams.buttons instead"),r.push("clear")),n&&(console.warn("AG Grid: as of AG Grid v23.2, filterParams.resetButton is deprecated. Please use filterParams.buttons instead"),r.push("reset")),o&&(console.warn("AG Grid: as of AG Grid v23.2, filterParams.applyButton is deprecated. Please use filterParams.buttons instead"),r.push("apply")),e.apply&&(console.warn("AG Grid: as of AG Grid v21, filterParams.apply is deprecated. Please use filterParams.buttons instead"),r.push("apply")),e.buttons=r}},t.prototype.getDefaultDebounceMs=function(){return 0},t.prototype.setupOnBtApplyDebounce=function(){var e=t.getDebounceMs(this.providedFilterParams,this.getDefaultDebounceMs());this.onBtApplyDebounce=wt(this.onBtApply.bind(this),e)},t.prototype.getModel=function(){return this.appliedModel},t.prototype.setModel=function(e){var r=this,o=e?this.setModelIntoUi(e):this.resetUiToDefaults();return o.then(function(){r.updateUiVisibility(),r.applyModel()})},t.prototype.onBtCancel=function(e){var r=this,o=this.getModel(),n=function(){r.onUiChanged(!1,"prevent"),r.providedFilterParams.closeOnApply&&r.close(e)};o!=null?this.setModelIntoUi(o).then(n):this.resetUiToDefaults().then(n)},t.prototype.onBtClear=function(){var e=this;this.resetUiToDefaults().then(function(){return e.onUiChanged()})},t.prototype.onBtReset=function(){this.onBtClear(),this.onBtApply()},t.prototype.applyModel=function(){var e=this.getModelFromUi();if(!this.isModelValid(e))return!1;var r=this.appliedModel;return this.appliedModel=e,!this.areModelsEqual(r,e)},t.prototype.isModelValid=function(e){return!0},t.prototype.onBtApply=function(e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1),this.applyModel()&&this.providedFilterParams.filterChangedCallback({afterFloatingFilter:e,afterDataChange:r});var n=this.providedFilterParams.closeOnApply;n&&this.applyActive&&!e&&!r&&this.close(o)},t.prototype.onNewRowsLoaded=function(){var e=this;this.newRowsActionKeep||this.resetUiToDefaults().then(function(){return e.appliedModel=null})},t.prototype.close=function(e){if(!!this.hidePopup){var r=e,o=r&&r.key,n;(o==="Enter"||o==="Space")&&(n={keyboardEvent:r}),this.hidePopup(n),this.hidePopup=null}},t.prototype.isNewRowsActionKeep=function(){return this.newRowsActionKeep},t.prototype.onUiChanged=function(e,r){if(e===void 0&&(e=!1),this.updateUiVisibility(),this.providedFilterParams.filterModifiedCallback(),this.applyActive&&!this.isReadOnly){var o=this.isModelValid(this.getModelFromUi());Yt(this.getRefElement("applyFilterButton"),!o)}e&&!r||r==="immediately"?this.onBtApply(e):(!this.applyActive&&!r||r==="debounce")&&this.onBtApplyDebounce()},t.prototype.afterGuiAttached=function(e){e!=null&&(this.hidePopup=e.hidePopup)},t.getDebounceMs=function(e,r){return t.isUseApplyButton(e)?(e.debounceMs!=null&&console.warn("AG Grid: debounceMs is ignored when apply button is present"),0):e.debounceMs!=null?e.debounceMs:r},t.isUseApplyButton=function(e){return t.checkForDeprecatedParams(e),!!e.buttons&&e.buttons.indexOf("apply")>=0},t.prototype.destroy=function(){this.hidePopup=null,i.prototype.destroy.call(this)},t.prototype.translate=function(e){var r=this.gridOptionsWrapper.getLocaleTextFunc();return r(e,vd[e])},t.prototype.getCellValue=function(e){return this.providedFilterParams.valueGetter(e)},Fa([h("rowModel")],t.prototype,"rowModel",void 0),Fa([I],t.prototype,"postConstruct",null),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var md=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),wd=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},si=function(i){md(t,i);function t(e,r){var o=i.call(this,r)||this;return o.labelSeparator="",o.labelAlignment="left",o.label="",o.config=e||{},o}return t.prototype.postConstruct=function(){V(this.getGui(),"ag-labeled"),V(this.eLabel,"ag-label");var e=this.config,r=e.labelSeparator,o=e.label,n=e.labelWidth,s=e.labelAlignment;r!=null&&this.setLabelSeparator(r),o!=null&&this.setLabel(o),n!=null&&this.setLabelWidth(n),this.setLabelAlignment(s||this.labelAlignment),this.refreshLabel()},t.prototype.refreshLabel=function(){Le(this.eLabel),typeof this.label=="string"?this.eLabel.innerText=this.label+this.labelSeparator:this.label&&this.eLabel.appendChild(this.label),this.label===""?(V(this.eLabel,"ag-hidden"),Pe(this.eLabel,"presentation")):(Ce(this.eLabel,"ag-hidden"),Pe(this.eLabel,null))},t.prototype.setLabelSeparator=function(e){return this.labelSeparator===e?this:(this.labelSeparator=e,this.label!=null&&this.refreshLabel(),this)},t.prototype.getLabelId=function(){return this.eLabel.id=this.eLabel.id||"ag-"+this.getCompId()+"-label",this.eLabel.id},t.prototype.getLabel=function(){return this.label},t.prototype.setLabel=function(e){return this.label===e?this:(this.label=e,this.refreshLabel(),this)},t.prototype.setLabelAlignment=function(e){var r=this.getGui();return B(r,"ag-label-align-left",e==="left"),B(r,"ag-label-align-right",e==="right"),B(r,"ag-label-align-top",e==="top"),this},t.prototype.setLabelWidth=function(e){return this.label==null?this:(Rr(this.eLabel,e),this)},wd([I],t.prototype,"postConstruct",null),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Ed=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),lt=function(i){Ed(t,i);function t(e,r,o){var n=i.call(this,e,r)||this;return n.className=o,n.disabled=!1,n}return t.prototype.postConstruct=function(){i.prototype.postConstruct.call(this),this.className&&V(this.getGui(),this.className)},t.prototype.onValueChange=function(e){var r=this;return this.addManagedListener(this,t.EVENT_CHANGED,function(){return e(r.getValue())}),this},t.prototype.getWidth=function(){return this.getGui().clientWidth},t.prototype.setWidth=function(e){return at(this.getGui(),e),this},t.prototype.getPreviousValue=function(){return this.previousValue},t.prototype.getValue=function(){return this.value},t.prototype.setValue=function(e,r){return this.value===e?this:(this.previousValue=this.value,this.value=e,r||this.dispatchEvent({type:t.EVENT_CHANGED}),this)},t.prototype.setDisabled=function(e){e=!!e;var r=this.getGui();return Yt(r,e),B(r,"ag-disabled",e),this.disabled=e,this},t.prototype.isDisabled=function(){return!!this.disabled},t.EVENT_CHANGED="valueChange",t}(si);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Rd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Co=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ia=function(i){Rd(t,i);function t(e,r,o,n){var s=i.call(this,e,``,r)||this;return s.pickerIcon=o,s.isPickerDisplayed=!1,s.isDestroyingPicker=!1,s.skipClick=!1,s}return t.prototype.postConstruct=function(){var e=this;i.prototype.postConstruct.call(this);var r=this.getCompId()+"-display";this.eDisplayField.setAttribute("id",r),go(this.eWrapper,r);var o=function(){if(e.skipClick){e.skipClick=!1;return}e.isDisabled()||(e.pickerComponent=e.showPicker())},n=this.getGui();if(this.addManagedListener(n,"mousedown",function(a){!e.skipClick&&e.pickerComponent&&e.pickerComponent.isAlive()&&qt(e.pickerComponent.getGui())&&n.contains(a.target)&&(e.skipClick=!0)}),this.addManagedListener(n,"keydown",function(a){switch(a.keyCode){case b.UP:case b.DOWN:case b.ENTER:case b.SPACE:o();case b.ESCAPE:e.isPickerDisplayed&&a.preventDefault();break}}),this.addManagedListener(this.eWrapper,"click",o),this.addManagedListener(this.eLabel,"click",o),this.pickerIcon){var s=fe(this.pickerIcon,this.gridOptionsWrapper);s&&this.eIcon.appendChild(s)}},t.prototype.refreshLabel=function(){y(this.getLabel())?Yn(this.eWrapper,this.getLabelId()):this.eWrapper.removeAttribute("aria-labelledby"),i.prototype.refreshLabel.call(this)},t.prototype.setAriaLabel=function(e){return Nt(this.eWrapper,e),this},t.prototype.setInputWidth=function(e){return Rr(this.eWrapper,e),this},t.prototype.getFocusableElement=function(){return this.eWrapper},Co([D("eLabel")],t.prototype,"eLabel",void 0),Co([D("eWrapper")],t.prototype,"eWrapper",void 0),Co([D("eDisplayField")],t.prototype,"eDisplayField",void 0),Co([D("eIcon")],t.prototype,"eIcon",void 0),t}(lt);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var _d=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Sd=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Na=function(i){_d(t,i);function t(e){e===void 0&&(e="default");var r=i.call(this,'
')||this;return r.cssIdentifier=e,r.options=[],r.itemEls=[],r}return t.prototype.init=function(){this.addManagedListener(this.getGui(),"keydown",this.handleKeyDown.bind(this))},t.prototype.handleKeyDown=function(e){var r=e.keyCode;switch(r){case b.ENTER:if(!this.highlightedEl)this.setValue(this.getValue());else{var o=this.itemEls.indexOf(this.highlightedEl);this.setValueByIndex(o)}break;case b.DOWN:case b.UP:var n=r===b.DOWN,s=void 0;if(e.preventDefault(),!this.highlightedEl)s=this.itemEls[n?0:this.itemEls.length-1];else{var a=this.itemEls.indexOf(this.highlightedEl),l=a+(n?1:-1);l=Math.min(Math.max(l,0),this.itemEls.length-1),s=this.itemEls[l]}this.highlightItem(s);break}},t.prototype.addOptions=function(e){var r=this;return e.forEach(function(o){return r.addOption(o)}),this},t.prototype.addOption=function(e){var r=e.value,o=e.text,n=Ye(o||r);return this.options.push({value:r,text:n}),this.renderOption(r,n),this},t.prototype.renderOption=function(e,r){var o=this,n=document.createElement("div");Pe(n,"option"),V(n,"ag-list-item"),V(n,"ag-"+this.cssIdentifier+"-list-item"),n.innerHTML=""+r+"",n.tabIndex=-1,this.itemEls.push(n),this.addManagedListener(n,"mouseover",function(){return o.highlightItem(n)}),this.addManagedListener(n,"mouseleave",function(){return o.clearHighlighted()}),this.addManagedListener(n,"click",function(){return o.setValue(e)}),this.getGui().appendChild(n)},t.prototype.setValue=function(e,r){if(this.value===e)return this.fireItemSelected(),this;if(e==null)return this.reset(),this;var o=bt(this.options,function(s){return s.value===e});if(o!==-1){var n=this.options[o];this.value=n.value,this.displayValue=n.text!=null?n.text:n.value,this.highlightItem(this.itemEls[o]),r||this.fireChangeEvent()}return this},t.prototype.setValueByIndex=function(e){return this.setValue(this.options[e].value)},t.prototype.getValue=function(){return this.value},t.prototype.getDisplayValue=function(){return this.displayValue},t.prototype.refreshHighlighted=function(){var e=this;this.clearHighlighted();var r=bt(this.options,function(o){return o.value===e.value});r!==-1&&this.highlightItem(this.itemEls[r])},t.prototype.reset=function(){this.value=null,this.displayValue=null,this.clearHighlighted(),this.fireChangeEvent()},t.prototype.highlightItem=function(e){!e.offsetParent||(this.clearHighlighted(),this.highlightedEl=e,V(this.highlightedEl,t.ACTIVE_CLASS),Qt(this.highlightedEl,!0),this.highlightedEl.focus())},t.prototype.clearHighlighted=function(){!this.highlightedEl||!this.highlightedEl.offsetParent||(Ce(this.highlightedEl,t.ACTIVE_CLASS),Qt(this.highlightedEl,!1),this.highlightedEl=null)},t.prototype.fireChangeEvent=function(){this.dispatchEvent({type:lt.EVENT_CHANGED}),this.fireItemSelected()},t.prototype.fireItemSelected=function(){this.dispatchEvent({type:t.EVENT_ITEM_SELECTED})},t.EVENT_ITEM_SELECTED="selectedItem",t.ACTIVE_CLASS="ag-active-item",Sd([I],t.prototype,"init",null),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Od=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ma=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},ai=function(i){Od(t,i);function t(e){return i.call(this,e,"ag-select","smallDown","listbox")||this}return t.prototype.init=function(){var e=this;this.listComponent=this.createBean(new Na("select")),this.listComponent.setParentComponent(this),this.eWrapper.tabIndex=0,this.listComponent.addManagedListener(this.listComponent,Na.EVENT_ITEM_SELECTED,function(){e.hideList&&e.hideList()}),this.listComponent.addManagedListener(this.listComponent,lt.EVENT_CHANGED,function(){e.setValue(e.listComponent.getValue(),!1,!0),e.hideList&&e.hideList()})},t.prototype.showPicker=function(){var e=this,r=this.listComponent.getGui(),o=this.addManagedListener(document.body,"wheel",function(l){!r.contains(l.target)&&e.hideList&&e.hideList()}),n=this.addManagedListener(r,"focusout",function(l){!r.contains(l.relatedTarget)&&e.hideList&&e.hideList()}),s=this.gridOptionsWrapper.getLocaleTextFunc(),a=this.popupService.addPopup({modal:!0,eChild:r,closeOnEsc:!0,closedCallback:function(){e.hideList=null,e.isPickerDisplayed=!1,n(),o(),e.isAlive()&&e.getFocusableElement().focus()},ariaLabel:s("ariaLabelSelectField","Select Field")});return a&&(this.hideList=a.hideFunc),this.isPickerDisplayed=!0,Rr(r,co(this.eWrapper)),r.style.maxHeight=mr(this.popupService.getPopupParent())+"px",r.style.position="absolute",this.popupService.positionPopupUnderComponent({type:"ag-list",eventSource:this.eWrapper,ePopup:r,keepWithinBounds:!0}),this.listComponent.refreshHighlighted(),this.listComponent},t.prototype.addOptions=function(e){var r=this;return e.forEach(function(o){return r.addOption(o)}),this},t.prototype.addOption=function(e){return this.listComponent.addOption(e),this},t.prototype.setValue=function(e,r,o){if(this.value===e)return this;o||this.listComponent.setValue(e,!0);var n=this.listComponent.getValue();return n===this.getValue()?this:(this.eDisplayField.innerHTML=this.listComponent.getDisplayValue(),i.prototype.setValue.call(this,e,r))},t.prototype.destroy=function(){this.hideList&&this.hideList(),this.destroyBean(this.listComponent),i.prototype.destroy.call(this)},Ma([h("popupService")],t.prototype,"popupService",void 0),Ma([I],t.prototype,"init",null),t}(Ia);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Pd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),li=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ct=function(i){Pd(t,i);function t(e,r,o,n){o===void 0&&(o="text"),n===void 0&&(n="input");var s=i.call(this,e,` +
+
+ +
`,r)||this;return s.inputType=o,s.displayFieldTag=n,s}return t.prototype.postConstruct=function(){i.prototype.postConstruct.call(this),this.setInputType(),V(this.eLabel,this.className+"-label"),V(this.eWrapper,this.className+"-input-wrapper"),V(this.eInput,this.className+"-input"),V(this.getGui(),"ag-input-field"),this.eInput.id=this.eInput.id||"ag-"+this.getCompId()+"-input";var e=this.config,r=e.width,o=e.value;r!=null&&this.setWidth(r),o!=null&&this.setValue(o),this.addInputListeners()},t.prototype.refreshLabel=function(){y(this.getLabel())?Yn(this.eInput,this.getLabelId()):this.eInput.removeAttribute("aria-labelledby"),i.prototype.refreshLabel.call(this)},t.prototype.addInputListeners=function(){var e=this;this.addManagedListener(this.eInput,"input",function(r){return e.setValue(r.target.value)})},t.prototype.setInputType=function(){this.displayFieldTag==="input"&&this.eInput.setAttribute("type",this.inputType)},t.prototype.getInputElement=function(){return this.eInput},t.prototype.setInputWidth=function(e){return Rr(this.eWrapper,e),this},t.prototype.setInputName=function(e){return this.getInputElement().setAttribute("name",e),this},t.prototype.getFocusableElement=function(){return this.eInput},t.prototype.setMaxLength=function(e){var r=this.eInput;return r.maxLength=e,this},t.prototype.setInputPlaceholder=function(e){return _r(this.eInput,"placeholder",e),this},t.prototype.setInputAriaLabel=function(e){return Nt(this.eInput,e),this},t.prototype.setDisabled=function(e){return Yt(this.eInput,e),i.prototype.setDisabled.call(this,e)},li([D("eLabel")],t.prototype,"eLabel",void 0),li([D("eWrapper")],t.prototype,"eWrapper",void 0),li([D("eInput")],t.prototype,"eInput",void 0),t}(lt);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Ad=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Lt=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},_e;(function(i){i[i.One=0]="One",i[i.Two=1]="Two"})(_e||(_e={}));var Ae=function(i){Ad(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getNumberOfInputs=function(e){var r=this.optionsFactory.getCustomOption(e);if(r){var o=r.numberOfInputs;return o!=null?o:1}return e===t.EMPTY?0:e===t.IN_RANGE?2:1},t.prototype.onFloatingFilterChanged=function(e,r){this.setTypeFromFloatingFilter(e),this.setValueFromFloatingFilter(r),this.onUiChanged(!0)},t.prototype.setTypeFromFloatingFilter=function(e){this.eType1.setValue(e),this.eType2.setValue(this.optionsFactory.getDefaultOption()),(this.isDefaultOperator("AND")?this.eJoinOperatorAnd:this.eJoinOperatorOr).setValue(!0)},t.prototype.getModelFromUi=function(){return this.isConditionUiComplete(_e.One)?this.isAllowTwoConditions()&&this.isConditionUiComplete(_e.Two)?{filterType:this.getFilterType(),operator:this.getJoinOperator(),condition1:this.createCondition(_e.One),condition2:this.createCondition(_e.Two)}:this.createCondition(_e.One):null},t.prototype.getConditionTypes=function(){return[this.eType1.getValue(),this.eType2.getValue()]},t.prototype.getJoinOperator=function(){return this.eJoinOperatorOr.getValue()===!0?"OR":"AND"},t.prototype.areModelsEqual=function(e,r){if(!e&&!r)return!0;if(!e&&r||e&&!r)return!1;var o=!e.operator,n=!r.operator,s=!o&&n||o&&!n;if(s)return!1;var a;if(o){var l=e,u=r;a=this.areSimpleModelsEqual(l,u)}else{var p=e,d=r;a=p.operator===d.operator&&this.areSimpleModelsEqual(p.condition1,d.condition1)&&this.areSimpleModelsEqual(p.condition2,d.condition2)}return a},t.prototype.setModelIntoUi=function(e){var r=e.operator;if(r){var o=e,n=o.operator==="OR";this.eJoinOperatorAnd.setValue(!n),this.eJoinOperatorOr.setValue(n),this.eType1.setValue(o.condition1.type),this.eType2.setValue(o.condition2.type),this.setConditionIntoUi(o.condition1,_e.One),this.setConditionIntoUi(o.condition2,_e.Two)}else{var s=e;this.eJoinOperatorAnd.setValue(this.isDefaultOperator("AND")),this.eJoinOperatorOr.setValue(this.isDefaultOperator("OR")),this.eType1.setValue(s.type),this.eType2.setValue(this.optionsFactory.getDefaultOption()),this.setConditionIntoUi(s,_e.One),this.setConditionIntoUi(null,_e.Two)}return Ne.resolve()},t.prototype.doesFilterPass=function(e){var r=this,o=this.getModel();if(o==null)return!0;var n=o.operator,s=[];if(n){var a=o;s.push(a.condition1,a.condition2)}else s.push(o);var l=n&&n==="OR"?Bt:gr;return l(s,function(u){return r.individualConditionPasses(e,u)})},t.prototype.setParams=function(e){i.prototype.setParams.call(this,e),this.optionsFactory=new Ta,this.optionsFactory.init(e,this.getDefaultFilterOptions()),this.allowTwoConditions=!e.suppressAndOrCondition,this.alwaysShowBothConditions=!!e.alwaysShowBothConditions,this.defaultJoinOperator=this.getDefaultJoinOperator(e.defaultJoinOperator),this.putOptionsIntoDropdown(),this.addChangedListeners()},t.prototype.getDefaultJoinOperator=function(e){return Ve(["AND","OR"],e)?e:"AND"},t.prototype.putOptionsIntoDropdown=function(){var e=this,r=this.optionsFactory.getFilterOptions(),o=[this.eType1,this.eType2];ae(r,function(n){var s=typeof n=="string"?e.createBoilerplateListOption(n):e.createCustomListOption(n);ae(o,function(a){return a.addOption(s)})}),ae(o,function(n){return n.setDisabled(r.length<=1)})},t.prototype.createBoilerplateListOption=function(e){return{value:e,text:this.translate(e)}},t.prototype.createCustomListOption=function(e){var r=e.displayKey,o=this.optionsFactory.getCustomOption(e.displayKey);return{value:r,text:o?this.gridOptionsWrapper.getLocaleTextFunc()(o.displayKey,o.displayName):this.translate(r)}},t.prototype.isAllowTwoConditions=function(){return this.allowTwoConditions},t.prototype.createBodyTemplate=function(){return` + + `+this.createValueTemplate(_e.One)+` +
+ + +
+ + `+this.createValueTemplate(_e.Two)},t.prototype.getCssIdentifier=function(){return"simple-filter"},t.prototype.updateUiVisibility=function(){var e=this,r=[[this.eType1],[this.eType2,this.eJoinOperatorPanel,this.eJoinOperatorAnd,this.eJoinOperatorOr]],o=[this.eCondition1Body,this.eCondition2Body];ae(r,function(n,s){var a=e.isConditionVisible(s),l=e.isConditionDisabled(s);ae(n,function(u){u instanceof Ct||u instanceof ai?(u.setDisabled(l),u.setDisplayed(a)):(Yt(u,l),ne(u,a))})}),ae(o,function(n,s){ne(n,e.isConditionBodyVisible(s))}),this.forEachInput(function(n,s,a,l){e.setElementDisplayed(n,s1?"inRangeStart":n===0?"filterOoo":"inRangeEnd",u=n===0&&a>1?r("ariaFilterFromValue","Filter from value"):n===0?r("ariaFilterValue","Filter Value"):r("ariaFilterToValue","Filter to Value");o.setInputPlaceholder(e.translate(l)),o.setInputAriaLabel(u)}})},t.prototype.setElementValue=function(e,r,o){e instanceof Ct&&e.setValue(r?String(r):null,o)},t.prototype.setElementDisplayed=function(e,r){e instanceof $&&ne(e.getGui(),r)},t.prototype.setElementDisabled=function(e,r){e instanceof $&&Yt(e.getGui(),r)},t.prototype.attachElementOnChange=function(e,r){e instanceof Ct&&e.onValueChange(r)},t.prototype.forEachInput=function(e){var r=this,o=this.getInputs();this.getConditionTypes().forEach(function(n,s){for(var a=r.getNumberOfInputs(n),l=0;l0},t.prototype.isConditionUiComplete=function(e){var r=this.getConditionTypes()[e];return!(r===t.EMPTY||x.some(this.getValues(e),function(o){return o==null}))},t.prototype.resetUiToDefaults=function(e){var r=this,o=this.gridOptionsWrapper.getLocaleTextFunc(),n=o("ariaFilteringOperator","Filtering operator"),s="ag-simple-filter-and-or-"+this.getCompId(),a=this.optionsFactory.getDefaultOption();return this.eType1.setValue(a,e).setAriaLabel(n).setDisabled(this.isReadOnly()),this.eType2.setValue(this.optionsFactory.getDefaultOption(),e).setAriaLabel(n).setDisabled(this.isReadOnly()),this.eJoinOperatorAnd.setValue(this.isDefaultOperator("AND"),e).setName(s).setLabel(this.translate("andCondition")).setDisabled(this.isReadOnly()),this.eJoinOperatorOr.setValue(this.isDefaultOperator("OR"),e).setName(s).setLabel(this.translate("orCondition")).setDisabled(this.isReadOnly()),this.forEachInput(function(l){r.setElementValue(l,null,e),r.setElementDisabled(l,r.isReadOnly())}),this.resetPlaceholder(),Ne.resolve()},t.prototype.setConditionIntoUi=function(e,r){var o=this,n=this.mapValuesFromModel(e);this.forEachInput(function(s,a,l,u){l===r&&o.setElementValue(s,n[a]?n[a]:null)})},t.prototype.setValueFromFloatingFilter=function(e){var r=this;this.forEachInput(function(o,n,s,a){r.setElementValue(o,n===0&&s===0?e:null)})},t.prototype.isDefaultOperator=function(e){return e===this.defaultJoinOperator},t.prototype.addChangedListeners=function(){var e=this;if(!this.isReadOnly()){var r=function(){return e.onUiChanged()};this.eType1.onValueChange(r),this.eType2.onValueChange(r),this.eJoinOperatorOr.onValueChange(r),this.eJoinOperatorAnd.onValueChange(r),this.forEachInput(function(o){e.attachElementOnChange(o,r)})}},t.prototype.individualConditionPasses=function(e,r){var o=this.getCellValue(e.node),n=this.mapValuesFromModel(r),s=this.optionsFactory.getCustomOption(r.type),a=this.evaluateCustomFilter(s,n,o);return a!=null?a:o==null?this.evaluateNullValue(r.type):this.evaluateNonNullValue(n,o,r)},t.prototype.evaluateCustomFilter=function(e,r,o){if(e!=null){var n=e.predicate;if(n!=null&&!x.some(r,function(s){return s==null}))return n(r,o)}},t.EMPTY="empty",t.EQUALS="equals",t.NOT_EQUAL="notEqual",t.LESS_THAN="lessThan",t.LESS_THAN_OR_EQUAL="lessThanOrEqual",t.GREATER_THAN="greaterThan",t.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",t.IN_RANGE="inRange",t.CONTAINS="contains",t.NOT_CONTAINS="notContains",t.STARTS_WITH="startsWith",t.ENDS_WITH="endsWith",Lt([D("eOptions1")],t.prototype,"eType1",void 0),Lt([D("eOptions2")],t.prototype,"eType2",void 0),Lt([D("eJoinOperatorPanel")],t.prototype,"eJoinOperatorPanel",void 0),Lt([D("eJoinOperatorAnd")],t.prototype,"eJoinOperatorAnd",void 0),Lt([D("eJoinOperatorOr")],t.prototype,"eJoinOperatorOr",void 0),Lt([D("eCondition1Body")],t.prototype,"eCondition1Body",void 0),Lt([D("eCondition2Body")],t.prototype,"eCondition2Body",void 0),t}(Pr);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Dd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),De=function(i){Dd(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.setParams=function(e){i.prototype.setParams.call(this,e),this.scalarFilterParams=e,this.checkDeprecatedParams()},t.prototype.checkDeprecatedParams=function(){this.scalarFilterParams.nullComparator&&(console.warn("AG Grid: Since v21.0, the property filterParams.nullComparator is deprecated. Please use filterParams.includeBlanksInEquals, filterParams.includeBlanksInLessThan and filterParams.includeBlanksInGreaterThan instead."),this.scalarFilterParams.includeBlanksInEquals=this.scalarFilterParams.nullComparator.equals,this.scalarFilterParams.includeBlanksInLessThan=this.scalarFilterParams.nullComparator.lessThan,this.scalarFilterParams.includeBlanksInGreaterThan=this.scalarFilterParams.nullComparator.greaterThan)},t.prototype.evaluateNullValue=function(e){switch(e){case t.EQUALS:case t.NOT_EQUAL:if(this.scalarFilterParams.includeBlanksInEquals)return!0;break;case t.GREATER_THAN:case t.GREATER_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInGreaterThan)return!0;break;case t.LESS_THAN:case t.LESS_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInLessThan)return!0;break;case t.IN_RANGE:if(this.scalarFilterParams.includeBlanksInRange)return!0;break}return!1},t.prototype.evaluateNonNullValue=function(e,r,o){var n=this.comparator(),s=n(e[0],r);switch(o.type){case t.EQUALS:return s===0;case t.NOT_EQUAL:return s!==0;case t.GREATER_THAN:return s>0;case t.GREATER_THAN_OR_EQUAL:return s>=0;case t.LESS_THAN:return s<0;case t.LESS_THAN_OR_EQUAL:return s<=0;case t.IN_RANGE:{var a=n(e[1],r);return this.scalarFilterParams.inRangeInclusive?s>=0&&a<=0:s>0&&a<0}default:return console.warn('AG Grid: Unexpected type of filter "'+o.type+'", it looks like the filter was configured with incorrect Filter Options'),!0}},t}(Ae);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Td=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),ui=function(){return ui=Object.assign||function(i){for(var t,e=1,r=arguments.length;e=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},La=1e3,Ga=1/0,pi=function(i){Td(t,i);function t(){var e=i.call(this,"dateFilter")||this;return e.minValidYear=La,e.maxValidYear=Ga,e}return t.prototype.afterGuiAttached=function(e){i.prototype.afterGuiAttached.call(this,e),this.dateCondition1FromComp.afterGuiAttached(e)},t.prototype.mapValuesFromModel=function(e){var r=e||{},o=r.dateFrom,n=r.dateTo,s=r.type;return[o&&Rt(o)||null,n&&Rt(n)||null].slice(0,this.getNumberOfInputs(s))},t.prototype.comparator=function(){return this.dateFilterParams.comparator?this.dateFilterParams.comparator:this.defaultComparator.bind(this)},t.prototype.defaultComparator=function(e,r){var o=r;return r==null||oe?1:0},t.prototype.setParams=function(e){i.prototype.setParams.call(this,e),this.dateFilterParams=e;var r=function(o,n){if(e[o]!=null)if(isNaN(e[o]))console.warn("AG Grid: DateFilter "+o+" is not a number");else return e[o]==null?n:Number(e[o]);return n};this.minValidYear=r("minValidYear",La),this.maxValidYear=r("maxValidYear",Ga),this.minValidYear>this.maxValidYear&&console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear"),this.createDateComponents()},t.prototype.createDateComponents=function(){var e=this,r=function(o){return new Da(e.getContext(),e.userComponentFactory,{onDateChanged:function(){return e.onUiChanged()},filterParams:e.dateFilterParams},o)};this.dateCondition1FromComp=r(this.eCondition1PanelFrom),this.dateCondition1ToComp=r(this.eCondition1PanelTo),this.dateCondition2FromComp=r(this.eCondition2PanelFrom),this.dateCondition2ToComp=r(this.eCondition2PanelTo),this.addDestroyFunc(function(){e.forEachInput(function(o){return o.destroy()})})},t.prototype.setElementValue=function(e,r,o){e.setDate(r)},t.prototype.setElementDisplayed=function(e,r){e.setDisplayed(r)},t.prototype.setElementDisabled=function(e,r){e.setDisabled(r)},t.prototype.getDefaultFilterOptions=function(){return t.DEFAULT_FILTER_OPTIONS},t.prototype.createValueTemplate=function(e){var r=e===_e.One?"1":"2";return` +
+
+
+
`},t.prototype.isConditionUiComplete=function(e){var r=this;if(!i.prototype.isConditionUiComplete.call(this,e))return!1;var o=function(s){return s!=null&&s.getUTCFullYear()>=r.minValidYear&&s.getUTCFullYear()<=r.maxValidYear},n=!0;return this.forEachInput(function(s,a,l,u){l!==e||!n||a>=u||(n=n&&o(s.getDate()))}),n},t.prototype.areSimpleModelsEqual=function(e,r){return e.dateFrom===r.dateFrom&&e.dateTo===r.dateTo&&e.type===r.type},t.prototype.getFilterType=function(){return"date"},t.prototype.createCondition=function(e){var r=this.getConditionTypes()[e],o={},n=this.getValues(e);return n.length>0&&(o.dateFrom=Et(n[0])),n.length>1&&(o.dateTo=Et(n[1])),ui({dateFrom:null,dateTo:null,filterType:this.getFilterType(),type:r},o)},t.prototype.resetPlaceholder=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),r=this.translate("dateFormatOoo"),o=e("ariaFilterValue","Filter Value");this.forEachInput(function(n){n.setInputPlaceholder(r),n.setInputAriaLabel(o)})},t.prototype.getInputs=function(){return[[this.dateCondition1FromComp,this.dateCondition1ToComp],[this.dateCondition2FromComp,this.dateCondition2ToComp]]},t.prototype.getValues=function(e){var r=[];return this.forEachInput(function(o,n,s,a){e===s&&n=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Id=function(i){Fd(t,i);function t(){return i.call(this,` + `)||this}return t.prototype.getDefaultFilterOptions=function(){return pi.DEFAULT_FILTER_OPTIONS},t.prototype.conditionToString=function(e,r){var o=e.type,n=(r||{}).numberOfInputs,s=o==Ae.IN_RANGE||n===2,a=Rt(e.dateFrom),l=Rt(e.dateTo);return s?Et(a,!1)+"-"+Et(l,!1):a!=null?""+Et(a,!1):""+o},t.prototype.init=function(e){i.prototype.init.call(this,e),this.params=e,this.createDateComponent();var r=this.gridOptionsWrapper.getLocaleTextFunc();this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(r("ariaDateFilterInput","Date Filter Input"))},t.prototype.setEditable=function(e){ne(this.eDateWrapper,e),ne(this.eReadOnlyText.getGui(),!e)},t.prototype.onParentModelChanged=function(e,r){if(!this.isEventFromFloatingFilter(r)){i.prototype.setLastTypeFromModel.call(this,e);var o=!this.isReadOnly()&&this.canWeEditAfterModelFromParentFilter(e);if(this.setEditable(o),o){if(e){var n=e;this.dateComp.setDate(Rt(n.dateFrom))}else this.dateComp.setDate(null);this.eReadOnlyText.setValue("")}else this.eReadOnlyText.setValue(this.getTextFromModel(e)),this.dateComp.setDate(null)}},t.prototype.onDateChanged=function(){var e=this,r=this.dateComp.getDate(),o=Et(r);this.params.parentFilterInstance(function(n){if(n){var s=n;s.onFloatingFilterChanged(e.getLastType(),Rt(o))}})},t.prototype.createDateComponent=function(){var e=this,r=Pr.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),o={onDateChanged:wt(this.onDateChanged.bind(this),r),filterParams:this.params.column.getColDef().filterParams};this.dateComp=new Da(this.getContext(),this.userComponentFactory,o,this.eDateWrapper),this.addDestroyFunc(function(){return e.dateComp.destroy()})},ci([h("userComponentFactory")],t.prototype,"userComponentFactory",void 0),ci([D("eReadOnlyText")],t.prototype,"eReadOnlyText",void 0),ci([D("eDateWrapper")],t.prototype,"eDateWrapper",void 0),t}(xa);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Nd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Md=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ld=function(i){Nd(t,i);function t(){return i.call(this,` +
+ +
`)||this}return t.prototype.destroy=function(){i.prototype.destroy.call(this)},t.prototype.init=function(e){var r=this,o=this.eDateInput.getInputElement();this.shouldUseBrowserDatePicker(e)&&(je()?console.warn("ag-grid: browserDatePicker is specified to true, but it is not supported in IE 11; reverting to text date picker"):o.type="date"),this.addManagedListener(o,"mousedown",function(){r.eDateInput.isDisabled()||o.focus()}),this.addManagedListener(o,"input",function(l){l.target===document.activeElement&&(r.eDateInput.isDisabled()||e.onDateChanged())});var n=e.filterParams||{},s=n.minValidYear,a=n.maxValidYear;s&&(o.min=s+"-01-01"),a&&(o.max=a+"-12-31")},t.prototype.getDate=function(){return Rt(this.eDateInput.getValue())},t.prototype.setDate=function(e){this.eDateInput.setValue(Et(e,!1))},t.prototype.setInputPlaceholder=function(e){this.eDateInput.setInputPlaceholder(e)},t.prototype.setDisabled=function(e){this.eDateInput.setDisabled(e)},t.prototype.afterGuiAttached=function(e){(!e||!e.suppressFocus)&&this.eDateInput.getInputElement().focus()},t.prototype.shouldUseBrowserDatePicker=function(e){return e.filterParams&&e.filterParams.browserDatePicker!=null?e.filterParams.browserDatePicker:yr()||Hn()},Md([D("eDateInput")],t.prototype,"eDateInput",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Gd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),mo=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},di=function(i){Gd(t,i);function t(){return i.call(this,"numberFilter")||this}return t.prototype.mapValuesFromModel=function(e){var r=e||{},o=r.filter,n=r.filterTo,s=r.type;return[o||null,n||null].slice(0,this.getNumberOfInputs(s))},t.prototype.getDefaultDebounceMs=function(){return 500},t.prototype.comparator=function(){return function(e,r){return e===r?0:e + <`+n+' class="ag-filter-from ag-filter-filter" ref="eValue-index0-'+r+'"> + <`+n+' class="ag-filter-to ag-filter-filter" ref="eValue-index1-'+r+'"> + `},t.prototype.getValues=function(e){var r=this,o=[];return this.forEachInput(function(n,s,a,l){e===a&&s0&&(o.filter=n[0]),n.length>1&&(o.filterTo=n[1]),o},t.prototype.getInputs=function(){return[[this.eValueFrom1,this.eValueTo1],[this.eValueFrom2,this.eValueTo2]]},t.prototype.getAllowedCharPattern=function(){var e=(this.numberFilterParams||{}).allowedCharPattern;return e||(!yr()&&!io()?"\\d\\-\\.":null)},t.DEFAULT_FILTER_OPTIONS=[De.EQUALS,De.NOT_EQUAL,De.LESS_THAN,De.LESS_THAN_OR_EQUAL,De.GREATER_THAN,De.GREATER_THAN_OR_EQUAL,De.IN_RANGE],mo([D("eValue-index0-1")],t.prototype,"eValueFrom1",void 0),mo([D("eValue-index1-1")],t.prototype,"eValueTo1",void 0),mo([D("eValue-index0-2")],t.prototype,"eValueFrom2",void 0),mo([D("eValue-index1-2")],t.prototype,"eValueTo2",void 0),t}(De);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var xd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),wo=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Eo=function(i){xd(t,i);function t(){return i.call(this,"textFilter")||this}return t.trimInput=function(e){var r=e&&e.trim();return r===""?e:r},t.prototype.getDefaultDebounceMs=function(){return 500},t.prototype.setParams=function(e){i.prototype.setParams.call(this,e),this.textFilterParams=e,this.comparator=this.textFilterParams.textCustomComparator||t.DEFAULT_COMPARATOR,this.formatter=this.textFilterParams.textFormatter||(this.textFilterParams.caseSensitive?t.DEFAULT_FORMATTER:t.DEFAULT_LOWERCASE_FORMATTER)},t.prototype.createCondition=function(e){var r=this.getConditionTypes()[e],o={filterType:this.getFilterType(),type:r},n=this.getValues(e);return n.length>0&&(o.filter=n[0]),n.length>1&&(o.filterTo=n[1]),o},t.prototype.getFilterType=function(){return"text"},t.prototype.areSimpleModelsEqual=function(e,r){return e.filter===r.filter&&e.filterTo===r.filterTo&&e.type===r.type},t.prototype.getInputs=function(){return[[this.eValueFrom1,this.eValueTo1],[this.eValueFrom2,this.eValueTo2]]},t.prototype.getValues=function(e){var r=this,o=[];return this.forEachInput(function(n,s,a,l){if(e===a&&s + + + `},t.prototype.mapValuesFromModel=function(e){var r=e||{},o=r.filter,n=r.filterTo,s=r.type;return[o||null,n||null].slice(0,this.getNumberOfInputs(s))},t.prototype.evaluateNullValue=function(e){return e===Ae.NOT_EQUAL||e===Ae.NOT_CONTAINS},t.prototype.evaluateNonNullValue=function(e,r,o){var n=this,s=x.map(e,function(l){return n.formatter(l)})||[],a=this.formatter(r);return x.some(s,function(l){return n.comparator(o.type,a,l)})},t.DEFAULT_FILTER_OPTIONS=[Ae.CONTAINS,Ae.NOT_CONTAINS,Ae.EQUALS,Ae.NOT_EQUAL,Ae.STARTS_WITH,Ae.ENDS_WITH],t.DEFAULT_FORMATTER=function(e){return e},t.DEFAULT_LOWERCASE_FORMATTER=function(e){return e==null?null:e.toString().toLowerCase()},t.DEFAULT_COMPARATOR=function(e,r,o){switch(e){case t.CONTAINS:return r.indexOf(o)>=0;case t.NOT_CONTAINS:return r.indexOf(o)<0;case t.EQUALS:return r===o;case t.NOT_EQUAL:return r!=o;case t.STARTS_WITH:return r.indexOf(o)===0;case t.ENDS_WITH:var n=r.lastIndexOf(o);return n>=0&&n===r.length-o.length;default:return!1}},wo([D("eValue-index0-1")],t.prototype,"eValueFrom1",void 0),wo([D("eValue-index1-1")],t.prototype,"eValueTo1",void 0),wo([D("eValue-index0-2")],t.prototype,"eValueFrom2",void 0),wo([D("eValue-index1-2")],t.prototype,"eValueTo2",void 0),t}(Ae);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Hd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),hi=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ha=function(i){Hd(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.postConstruct=function(){this.setTemplate(` + `)},t.prototype.getDefaultDebounceMs=function(){return 500},t.prototype.onParentModelChanged=function(e,r){this.isEventFromFloatingFilter(r)||(this.setLastTypeFromModel(e),this.eFloatingFilterInput.setValue(this.getTextFromModel(e)),this.setEditable(this.canWeEditAfterModelFromParentFilter(e)))},t.prototype.init=function(e){if(i.prototype.init.call(this,e),this.params=e,this.applyActive=Pr.isUseApplyButton(this.params.filterParams),!this.isReadOnly()){var r=Pr.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),o=wt(this.syncUpWithParentFilter.bind(this),r),n=this.eFloatingFilterInput.getGui();this.addManagedListener(n,"input",o),this.addManagedListener(n,"keypress",o),this.addManagedListener(n,"keydown",o)}var s=e.column.getDefinition();(this.isReadOnly()||s.filterParams&&s.filterParams.filterOptions&&s.filterParams.filterOptions.length===1&&s.filterParams.filterOptions[0]==="inRange")&&this.eFloatingFilterInput.setDisabled(!0);var a=this.columnModel.getDisplayNameForColumn(e.column,"header",!0),l=this.gridOptionsWrapper.getLocaleTextFunc();this.eFloatingFilterInput.setInputAriaLabel(a+" "+l("ariaFilterInput","Filter Input"))},t.prototype.syncUpWithParentFilter=function(e){var r=this,o=Zn(e,b.ENTER);if(!(this.applyActive&&!o)){var n=this.eFloatingFilterInput.getValue();this.params.filterParams.trimInput&&(n=Eo.trimInput(n),this.eFloatingFilterInput.setValue(n,!0)),this.params.parentFilterInstance(function(s){if(s){var a=s;a.onFloatingFilterChanged(r.getLastType(),n||null)}})}},t.prototype.conditionToString=function(e,r){var o=(r||{}).numberOfInputs,n=e.type==Ae.IN_RANGE||o===2;return n?e.filter+"-"+e.filterTo:e.filter!=null?""+e.filter:""+e.type},t.prototype.setEditable=function(e){this.eFloatingFilterInput.setDisabled(!e)},hi([h("columnModel")],t.prototype,"columnModel",void 0),hi([D("eFloatingFilterInput")],t.prototype,"eFloatingFilterInput",void 0),hi([I],t.prototype,"postConstruct",null),t}(xa);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Vd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Wd=function(i){Vd(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getDefaultFilterOptions=function(){return di.DEFAULT_FILTER_OPTIONS},t}(Ha);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Bd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Va=function(i){Bd(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getDefaultFilterOptions=function(){return Eo.DEFAULT_FILTER_OPTIONS},t}(Ha);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ze=function(){function i(t,e){var r=this;e===void 0&&(e=!1),this.destroyFuncs=[],this.touching=!1,this.eventService=new gt,this.eElement=t,this.preventMouseClick=e;var o=this.onTouchStart.bind(this),n=this.onTouchMove.bind(this),s=this.onTouchEnd.bind(this);this.eElement.addEventListener("touchstart",o,{passive:!0}),this.eElement.addEventListener("touchmove",n,{passive:!0}),this.eElement.addEventListener("touchend",s,{passive:!1}),this.destroyFuncs.push(function(){r.eElement.removeEventListener("touchstart",o,{passive:!0}),r.eElement.removeEventListener("touchmove",n,{passive:!0}),r.eElement.removeEventListener("touchend",s,{passive:!1})})}return i.prototype.getActiveTouch=function(t){for(var e=0;e0){var e=t-this.lastTapTime;if(e>i.DOUBLE_TAP_MILLIS){var r={type:i.EVENT_DOUBLE_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(r),this.lastTapTime=null}else this.lastTapTime=t}else this.lastTapTime=t},i.prototype.destroy=function(){this.destroyFuncs.forEach(function(t){return t()})},i.EVENT_TAP="tap",i.EVENT_DOUBLE_TAP="doubleTap",i.EVENT_LONG_TAP="longTap",i.DOUBLE_TAP_MILLIS=500,i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Ud=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),ut=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},jd=function(i){Ud(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.lastMovingChanged=0,e}return t.prototype.destroy=function(){i.prototype.destroy.call(this)},t.prototype.refresh=function(e){return this.params=e,this.workOutTemplate()!=this.currentTemplate||this.workOutShowMenu()!=this.currentShowMenu||this.workOutSort()!=this.currentSort?!1:(this.setDisplayName(e),!0)},t.prototype.workOutTemplate=function(){var e=ft(this.params.template,t.TEMPLATE);return e=e&&e.trim?e.trim():e,e},t.prototype.init=function(e){this.params=e,this.currentTemplate=this.workOutTemplate(),this.setTemplate(this.currentTemplate),this.setupTap(),this.setupIcons(e.column),this.setMenu(),this.setupSort(),this.setupFilterIcon(),this.setDisplayName(e)},t.prototype.setDisplayName=function(e){if(this.currentDisplayName!=e.displayName){this.currentDisplayName=e.displayName;var r=Ye(this.currentDisplayName);this.eText&&(this.eText.innerHTML=r)}},t.prototype.setupIcons=function(e){this.addInIcon("sortAscending",this.eSortAsc,e),this.addInIcon("sortDescending",this.eSortDesc,e),this.addInIcon("sortUnSort",this.eSortNone,e),this.addInIcon("menu",this.eMenu,e),this.addInIcon("filter",this.eFilter,e)},t.prototype.addInIcon=function(e,r,o){if(r!=null){var n=fe(e,this.gridOptionsWrapper,o);n&&r.appendChild(n)}},t.prototype.setupTap=function(){var e=this,r=this.gridOptionsWrapper;if(!r.isSuppressTouch()){var o=new ze(this.getGui(),!0),n=r.isSuppressMenuHide(),s=n&&y(this.eMenu),a=s?new ze(this.eMenu,!0):o;if(this.params.enableMenu){var l=s?"EVENT_TAP":"EVENT_LONG_TAP",u=function(d){r.getApi().showColumnMenuAfterMouseClick(e.params.column,d.touchStart)};this.addManagedListener(a,ze[l],u)}if(this.params.enableSorting){var p=function(d){var f=d.touchStart.target;n&&e.eMenu.contains(f)||e.sortController.progressSort(e.params.column,!1,"uiColumnSorted")};this.addManagedListener(o,ze.EVENT_TAP,p)}this.addDestroyFunc(function(){return o.destroy()}),s&&this.addDestroyFunc(function(){return a.destroy()})}},t.prototype.workOutShowMenu=function(){var e=!this.gridOptionsWrapper.isSuppressMenuHide(),r=Kt()&&e,o=this.params.enableMenu&&!r;return o},t.prototype.setMenu=function(){var e=this;if(!!this.eMenu){if(this.currentShowMenu=this.workOutShowMenu(),!this.currentShowMenu){vt(this.eMenu);return}var r=this.gridOptionsWrapper.isSuppressMenuHide();this.addManagedListener(this.eMenu,"click",function(){return e.showMenu(e.eMenu)}),B(this.eMenu,"ag-header-menu-always-show",r)}},t.prototype.showMenu=function(e){e||(e=this.eMenu),this.menuFactory.showMenuAfterButtonClick(this.params.column,e,"columnMenu")},t.prototype.removeSortIcons=function(){vt(this.eSortAsc),vt(this.eSortDesc),vt(this.eSortNone),vt(this.eSortOrder)},t.prototype.workOutSort=function(){return this.params.enableSorting},t.prototype.setupSort=function(){var e=this;if(this.currentSort=this.params.enableSorting,!this.currentSort){this.removeSortIcons();return}var r=this.gridOptionsWrapper.isMultiSortKeyCtrl();this.addManagedListener(this.params.column,J.EVENT_MOVING_CHANGED,function(){e.lastMovingChanged=new Date().getTime()}),this.eLabel&&this.addManagedListener(this.eLabel,"click",function(o){var n=e.params.column.isMoving(),s=new Date().getTime(),a=s-e.lastMovingChanged<50,l=n||a;if(!l){var u=r?o.ctrlKey||o.metaKey:o.shiftKey;e.params.progressSort(u)}}),this.addManagedListener(this.params.column,J.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.onSortChanged(),this.addManagedListener(this.eventService,g.EVENT_SORT_CHANGED,this.setMultiSortOrder.bind(this)),this.setMultiSortOrder()},t.prototype.onSortChanged=function(){if(B(this.getGui(),"ag-header-cell-sorted-asc",this.params.column.isSortAscending()),B(this.getGui(),"ag-header-cell-sorted-desc",this.params.column.isSortDescending()),B(this.getGui(),"ag-header-cell-sorted-none",this.params.column.isSortNone()),this.eSortAsc&&B(this.eSortAsc,"ag-hidden",!this.params.column.isSortAscending()),this.eSortDesc&&B(this.eSortDesc,"ag-hidden",!this.params.column.isSortDescending()),this.eSortNone){var e=!this.params.column.getColDef().unSortIcon&&!this.gridOptionsWrapper.isUnSortIcon();B(this.eSortNone,"ag-hidden",e||!this.params.column.isSortNone())}},t.prototype.setMultiSortOrder=function(){if(!!this.eSortOrder){var e=this.params.column,r=this.sortController.getColumnsWithSortingOrdered(),o=r.indexOf(e),n=r.length>1,s=e.isSorting()&&n;ne(this.eSortOrder,s),o>=0?this.eSortOrder.innerHTML=(o+1).toString():Le(this.eSortOrder)}},t.prototype.setupFilterIcon=function(){!this.eFilter||(this.addManagedListener(this.params.column,J.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())},t.prototype.onFilterChanged=function(){var e=this.params.column.isFilterActive();B(this.eFilter,"ag-hidden",!e)},t.TEMPLATE=``,ut([h("sortController")],t.prototype,"sortController",void 0),ut([h("menuFactory")],t.prototype,"menuFactory",void 0),ut([D("eFilter")],t.prototype,"eFilter",void 0),ut([D("eSortAsc")],t.prototype,"eSortAsc",void 0),ut([D("eSortDesc")],t.prototype,"eSortDesc",void 0),ut([D("eSortNone")],t.prototype,"eSortNone",void 0),ut([D("eSortOrder")],t.prototype,"eSortOrder",void 0),ut([D("eMenu")],t.prototype,"eMenu",void 0),ut([D("eLabel")],t.prototype,"eLabel",void 0),ut([D("eText")],t.prototype,"eText",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var kd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),fi=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},zd=function(i){kd(t,i);function t(){return i.call(this,t.TEMPLATE)||this}return t.prototype.destroy=function(){i.prototype.destroy.call(this)},t.prototype.init=function(e){this.params=e,this.checkWarnings(),this.setupLabel(),this.addGroupExpandIcon(),this.setupExpandIcons()},t.prototype.checkWarnings=function(){var e=this.params;if(e.template){var r="A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";ie(function(){return console.warn(r)},"HeaderGroupComp.templateNotSupported")}},t.prototype.setupExpandIcons=function(){var e=this;this.addInIcon("columnGroupOpened","agOpened"),this.addInIcon("columnGroupClosed","agClosed");var r=function(s){if(!rt(s)){var a=!e.params.columnGroup.isExpanded();e.columnModel.setColumnGroupOpened(e.params.columnGroup.getOriginalColumnGroup(),a,"uiColumnExpanded")}};this.addTouchAndClickListeners(this.eCloseIcon,r),this.addTouchAndClickListeners(this.eOpenIcon,r);var o=function(s){kt(s)};this.addManagedListener(this.eCloseIcon,"dblclick",o),this.addManagedListener(this.eOpenIcon,"dblclick",o),this.addManagedListener(this.getGui(),"dblclick",r),this.updateIconVisibility();var n=this.params.columnGroup.getOriginalColumnGroup();this.addManagedListener(n,le.EVENT_EXPANDED_CHANGED,this.updateIconVisibility.bind(this)),this.addManagedListener(n,le.EVENT_EXPANDABLE_CHANGED,this.updateIconVisibility.bind(this))},t.prototype.addTouchAndClickListeners=function(e,r){var o=new ze(e,!0);this.addManagedListener(o,ze.EVENT_TAP,r),this.addDestroyFunc(function(){return o.destroy()}),this.addManagedListener(e,"click",r)},t.prototype.updateIconVisibility=function(){var e=this.params.columnGroup;if(e.isExpandable()){var r=this.params.columnGroup.isExpanded();ne(this.eOpenIcon,r),ne(this.eCloseIcon,!r)}else ne(this.eOpenIcon,!1),ne(this.eCloseIcon,!1)},t.prototype.addInIcon=function(e,r){var o=fe(e,this.gridOptionsWrapper,null);o&&this.getRefElement(r).appendChild(o)},t.prototype.addGroupExpandIcon=function(){if(!this.params.columnGroup.isExpandable()){ne(this.eOpenIcon,!1),ne(this.eCloseIcon,!1);return}},t.prototype.setupLabel=function(){var e=this.params.displayName;if(y(e)){var r=Ye(e);this.getRefElement("agLabel").innerHTML=r}},t.TEMPLATE=``,fi([h("columnModel")],t.prototype,"columnModel",void 0),fi([D("agOpened")],t.prototype,"eOpenIcon",void 0),fi([D("agClosed")],t.prototype,"eCloseIcon",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var $d=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Zt=function(i){$d(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.isPopup=function(){return!0},t.prototype.setParentComponent=function(e){V(e.getGui(),"ag-has-popup"),i.prototype.setParentComponent.call(this,e)},t.prototype.destroy=function(){var e=this.parentComponent,r=e&&e.isAlive();r&&Ce(e.getGui(),"ag-has-popup"),i.prototype.destroy.call(this)},t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Kd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Yd=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Wa=function(i){Kd(t,i);function t(){return i.call(this,t.TEMPLATE)||this}return t.prototype.init=function(e){this.params=e,this.focusAfterAttached=e.cellStartedEdit,this.eTextArea.setMaxLength(e.maxLength||200).setCols(e.cols||60).setRows(e.rows||10),y(e.value)&&this.eTextArea.setValue(e.value.toString(),!0),this.addGuiEventListener("keydown",this.onKeyDown.bind(this))},t.prototype.onKeyDown=function(e){var r=e.which||e.keyCode;(r===b.LEFT||r===b.UP||r===b.RIGHT||r===b.DOWN||e.shiftKey&&r===b.ENTER)&&e.stopPropagation()},t.prototype.afterGuiAttached=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc();this.eTextArea.setInputAriaLabel(e("ariaInputEditor","Input Editor")),this.focusAfterAttached&&this.eTextArea.getFocusableElement().focus()},t.prototype.getValue=function(){return this.params.parseValue(this.eTextArea.getValue())},t.TEMPLATE=`
+ +
`,Yd([D("eTextArea")],t.prototype,"eTextArea",void 0),t}(Zt);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var qd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ba=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},gi=function(i){qd(t,i);function t(){var e=i.call(this,'
')||this;return e.startedByEnter=!1,e}return t.prototype.init=function(e){var r=this;if(this.focusAfterAttached=e.cellStartedEdit,m(e.values)){console.warn("AG Grid: no values found for select cellEditor");return}this.startedByEnter=e.keyPress===b.ENTER;var o=!1;e.values.forEach(function(n){var s={value:n},a=r.valueFormatterService.formatValue(e.column,null,null,n),l=a!=null;s.text=l?a:n,r.eSelect.addOption(s),o=o||e.value===n}),o?this.eSelect.setValue(e.value,!0):e.values.length&&this.eSelect.setValue(e.values[0],!0),this.gridOptionsWrapper.isFullRowEdit()||this.eSelect.onValueChange(function(){return e.stopEditing()})},t.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.eSelect.getFocusableElement().focus(),this.startedByEnter&&this.eSelect.showPicker()},t.prototype.focusIn=function(){this.eSelect.getFocusableElement().focus()},t.prototype.getValue=function(){return this.eSelect.getValue()},t.prototype.isPopup=function(){return!1},Ba([h("valueFormatterService")],t.prototype,"valueFormatterService",void 0),Ba([D("eSelect")],t.prototype,"eSelect",void 0),t}(Zt);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Xd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ua=function(i){Xd(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.isPopup=function(){return!0},t}(gi);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Qd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Zd=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ro=function(i){Qd(t,i);function t(){return i.call(this,t.TEMPLATE)||this}return t.prototype.init=function(e){this.params=e;var r=this.eInput,o;e.cellStartedEdit?(this.focusAfterAttached=!0,e.keyPress===b.BACKSPACE||e.keyPress===b.DELETE?o="":e.charPress?o=e.charPress:(o=this.getStartValue(e),e.keyPress!==b.F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,o=this.getStartValue(e)),o!=null&&r.setValue(o,!0),this.addManagedListener(r.getGui(),"keydown",function(n){var s=n.keyCode;(s===b.PAGE_UP||s===b.PAGE_DOWN)&&n.preventDefault()})},t.prototype.afterGuiAttached=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),r=this.eInput;if(r.setInputAriaLabel(e("ariaInputEditor","Input Editor")),!!this.focusAfterAttached){so()||r.getFocusableElement().focus();var o=r.getInputElement();if(this.highlightAllOnFocus)o.select();else{var n=r.getValue(),s=y(n)&&n.length||0;s&&o.setSelectionRange(s,s)}}},t.prototype.focusIn=function(){var e=this.eInput,r=e.getFocusableElement(),o=e.getInputElement();r.focus(),o.select()},t.prototype.focusOut=function(){var e=this.eInput.getInputElement();je()&&e.setSelectionRange(0,0)},t.prototype.getValue=function(){var e=this.eInput;return this.params.parseValue(e.getValue())},t.prototype.getStartValue=function(e){var r=e.useFormatter||e.column.getColDef().refData;return r?e.formatValue(e.value):e.value},t.prototype.isPopup=function(){return!1},t.TEMPLATE='
',Zd([D("eInput")],t.prototype,"eInput",void 0),t}(Zt);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Jd=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),ja=function(i){Jd(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.isPopup=function(){return!0},t}(Ro);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var eh=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),th=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},rh="\u2191",oh="\u2193",ka=function(i){eh(t,i);function t(){var e=i.call(this,t.TEMPLATE)||this;return e.refreshCount=0,e}return t.prototype.init=function(e){this.eValue=this.queryForHtmlElement(".ag-value-change-value"),this.eDelta=this.queryForHtmlElement(".ag-value-change-delta"),this.refresh(e)},t.prototype.showDelta=function(e,r){var o=Math.abs(r),n=e.formatValue(o),s=y(n)?n:o,a=r>=0;a?this.eDelta.innerHTML=rh+s:this.eDelta.innerHTML=oh+s,B(this.eDelta,"ag-value-change-delta-up",a),B(this.eDelta,"ag-value-change-delta-down",!a)},t.prototype.setTimerToRemoveDelta=function(){var e=this;this.refreshCount++;var r=this.refreshCount;window.setTimeout(function(){r===e.refreshCount&&e.hideDeltaValue()},2e3)},t.prototype.hideDeltaValue=function(){Ce(this.eValue,"ag-value-change-value-highlight"),Le(this.eDelta)},t.prototype.refresh=function(e){var r=e.value;if(r===this.lastValue||(y(e.valueFormatted)?this.eValue.innerHTML=e.valueFormatted:y(e.value)?this.eValue.innerHTML=r:Le(this.eValue),this.filterManager.isSuppressFlashingCellsBecauseFiltering()))return!1;if(typeof r=="number"&&typeof this.lastValue=="number"){var o=r-this.lastValue;this.showDelta(e,o)}return this.lastValue&&V(this.eValue,"ag-value-change-value-highlight"),this.setTimerToRemoveDelta(),this.lastValue=r,!0},t.TEMPLATE='',th([h("filterManager")],t.prototype,"filterManager",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var nh=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),ih=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},za=function(i){nh(t,i);function t(){var e=i.call(this,t.TEMPLATE)||this;return e.refreshCount=0,e.eCurrent=e.queryForHtmlElement(".ag-value-slide-current"),e}return t.prototype.init=function(e){this.refresh(e)},t.prototype.addSlideAnimation=function(){var e=this;this.refreshCount++;var r=this.refreshCount;this.ePrevious&&this.getGui().removeChild(this.ePrevious),this.ePrevious=st(''),this.ePrevious.innerHTML=this.eCurrent.innerHTML,this.getGui().insertBefore(this.ePrevious,this.eCurrent),window.setTimeout(function(){r===e.refreshCount&&V(e.ePrevious,"ag-value-slide-out-end")},50),window.setTimeout(function(){r===e.refreshCount&&(e.getGui().removeChild(e.ePrevious),e.ePrevious=null)},3e3)},t.prototype.refresh=function(e){var r=e.value;return m(r)&&(r=""),r===this.lastValue||this.filterManager.isSuppressFlashingCellsBecauseFiltering()?!1:(this.addSlideAnimation(),this.lastValue=r,y(e.valueFormatted)?this.eCurrent.innerHTML=e.valueFormatted:y(e.value)?this.eCurrent.innerHTML=r:Le(this.eCurrent),!0)},t.TEMPLATE=` + + `,ih([h("filterManager")],t.prototype,"filterManager",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */(function(i){i[i.Above=0]="Above",i[i.Below=1]="Below"})(c.RowHighlightPosition||(c.RowHighlightPosition={}));var K=function(){function i(t){this.rowIndex=null,this.key=null,this.childrenMapped={},this.displayed=!1,this.rowTop=null,this.oldRowTop=null,this.selectable=!0,this.__objectId=i.OBJECT_ID_SEQUENCE++,this.__autoHeights={},this.alreadyRendered=!1,this.highlighted=null,this.selected=!1,this.beans=t}return i.prototype.setData=function(t){this.setDataCommon(t,!1)},i.prototype.updateData=function(t){this.setDataCommon(t,!0)},i.prototype.setDataCommon=function(t,e){var r=this.data;this.data=t,this.beans.valueCache.onDataChanged(),this.updateDataOnDetailNode(),this.checkRowSelectable();var o=this.createDataChangedEvent(t,r,e);this.dispatchLocalEvent(o)},i.prototype.updateDataOnDetailNode=function(){this.detailNode&&(this.detailNode.data=this.data)},i.prototype.createDataChangedEvent=function(t,e,r){return{type:i.EVENT_DATA_CHANGED,node:this,oldData:e,newData:t,update:r}},i.prototype.createLocalRowEvent=function(t){return{type:t,node:this}},i.prototype.getRowIndexString=function(){return this.rowPinned===E.PINNED_TOP?"t-"+this.rowIndex:this.rowPinned===E.PINNED_BOTTOM?"b-"+this.rowIndex:this.rowIndex.toString()},i.prototype.createDaemonNode=function(){var t=new i(this.beans);return t.id=this.id,t.data=this.data,t.daemon=!0,t.selected=this.selected,t.level=this.level,t},i.prototype.setDataAndId=function(t,e){var r=y(this.id)?this.createDaemonNode():null,o=this.data;this.data=t,this.updateDataOnDetailNode(),this.setId(e),this.beans.selectionService.syncInRowNode(this,r),this.checkRowSelectable();var n=this.createDataChangedEvent(t,o,!1);this.dispatchLocalEvent(n)},i.prototype.checkRowSelectable=function(){var t=this.beans.gridOptionsWrapper.getIsRowSelectableFunc();this.setRowSelectable(t?t(this):!0)},i.prototype.setRowSelectable=function(t){this.selectable!==t&&(this.selectable=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(i.EVENT_SELECTABLE_CHANGED)))},i.prototype.setId=function(t){var e=this.beans.gridOptionsWrapper.getRowNodeIdFunc();e?this.data?(this.id=e(this.data),this.id&&typeof this.id=="string"&&On(this.id,i.ID_PREFIX_ROW_GROUP)&&console.error("AG Grid: Row ID's cannot start with "+i.ID_PREFIX_ROW_GROUP+", this is a reserved prefix for AG Grid's row grouping feature."),this.id&&typeof this.id!="string"&&(this.id=""+this.id)):this.id=void 0:this.id=t},i.prototype.isPixelInRange=function(t){return!y(this.rowTop)||!y(this.rowHeight)?!1:t>=this.rowTop&&tr&&(r=l)}),!t&&((e||r<10)&&(r=this.beans.gridOptionsWrapper.getRowHeightForNode(this).height),r!=this.rowHeight)){this.setRowHeight(r);var s=this.beans.rowModel;s.onRowHeightChanged&&s.onRowHeightChanged()}}},i.prototype.setRowIndex=function(t){this.rowIndex!==t&&(this.rowIndex=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(i.EVENT_ROW_INDEX_CHANGED)))},i.prototype.setUiLevel=function(t){this.uiLevel!==t&&(this.uiLevel=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(i.EVENT_UI_LEVEL_CHANGED)))},i.prototype.setExpanded=function(t){if(this.expanded!==t){this.expanded=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(i.EVENT_EXPANDED_CHANGED));var e=Be({},this.createGlobalRowEvent(g.EVENT_ROW_GROUP_OPENED),{expanded:t});this.beans.rowNodeEventThrottle.dispatchExpanded(e),this.beans.gridOptionsWrapper.isGroupIncludeFooter()&&this.beans.rowRenderer.refreshCells({rowNodes:[this]})}},i.prototype.createGlobalRowEvent=function(t){return{type:t,node:this,data:this.data,rowIndex:this.rowIndex,rowPinned:this.rowPinned,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi()}},i.prototype.dispatchLocalEvent=function(t){this.eventService&&this.eventService.dispatchEvent(t)},i.prototype.setDataValue=function(t,e,r){var o=this.beans.columnModel.getPrimaryColumn(t),n=this.beans.valueService.getValue(o,this);this.beans.valueService.setValue(this,o,e,r),this.dispatchCellChangedEvent(o,e,n)},i.prototype.setGroupValue=function(t,e){var r=this.beans.columnModel.getGridColumn(t);m(this.groupData)&&(this.groupData={});var o=r.getColId(),n=this.groupData[o];n!==e&&(this.groupData[o]=e,this.dispatchCellChangedEvent(r,e,n))},i.prototype.setAggData=function(t){var e=this,r=ws([this.aggData,t]),o=this.aggData;this.aggData=t,this.eventService&&r.forEach(function(n){var s=e.beans.columnModel.getGridColumn(n),a=e.aggData?e.aggData[n]:void 0,l=o?o[n]:void 0;e.dispatchCellChangedEvent(s,a,l)})},i.prototype.updateHasChildren=function(){var t=this.group&&!this.footer||this.childrenAfterGroup&&this.childrenAfterGroup.length>0;t!==this.__hasChildren&&(this.__hasChildren=!!t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(i.EVENT_HAS_CHILDREN_CHANGED)))},i.prototype.hasChildren=function(){return this.__hasChildren==null&&this.updateHasChildren(),this.__hasChildren},i.prototype.isEmptyRowGroupNode=function(){return this.group&&_(this.childrenAfterGroup)},i.prototype.dispatchCellChangedEvent=function(t,e,r){var o={type:i.EVENT_CELL_CHANGED,node:this,column:t,newValue:e,oldValue:r};this.dispatchLocalEvent(o)},i.prototype.resetQuickFilterAggregateText=function(){this.quickFilterAggregateText=null},i.prototype.isExpandable=function(){return!!(this.hasChildren()&&!this.footer||this.master)},i.prototype.isSelected=function(){return this.footer?this.sibling.isSelected():this.selected},i.prototype.depthFirstSearch=function(t){this.childrenAfterGroup&&this.childrenAfterGroup.forEach(function(e){return e.depthFirstSearch(t)}),t(this)},i.prototype.calculateSelectedFromChildren=function(){var t=!1,e=!1,r=!1,o;if(this.childrenAfterGroup)for(var n=0;n0){this.beans.selectionService.updateGroupsFromChildrenSelections();var R={type:g.EVENT_SELECTION_CHANGED,api:this.beans.gridApi,columnApi:this.beans.columnApi};this.beans.eventService.dispatchEvent(R)}r&&this.beans.selectionService.setLastSelectedNode(this)}return d},i.prototype.doRowRangeSelection=function(t){var e=this;t===void 0&&(t=!0);var r=this.beans.gridOptionsWrapper.isGroupSelectsChildren(),o=this.beans.selectionService.getLastSelectedNode(),n=this.beans.rowModel.getNodesInRangeForSelection(this,o),s=0;n.forEach(function(l){if(!(l.group&&r||t===!1&&e===l)){var u=l.selectThisNode(t);u&&s++}}),this.beans.selectionService.updateGroupsFromChildrenSelections();var a={type:g.EVENT_SELECTION_CHANGED,api:this.beans.gridApi,columnApi:this.beans.columnApi};return this.beans.eventService.dispatchEvent(a),s},i.prototype.isParentOfNode=function(t){for(var e=this.parent;e;){if(e===t)return!0;e=e.parent}return!1},i.prototype.selectThisNode=function(t){var e=!this.selectable&&t,r=this.selected===t;if(e||r)return!1;this.selected=t,this.eventService&&this.dispatchLocalEvent(this.createLocalRowEvent(i.EVENT_ROW_SELECTED));var o=this.createGlobalRowEvent(g.EVENT_ROW_SELECTED);return this.beans.eventService.dispatchEvent(o),!0},i.prototype.selectChildNodes=function(t,e){var r=e?this.childrenAfterFilter:this.childrenAfterGroup;if(m(r))return 0;for(var o=0,n=0;n=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},vi=function(i){sh(t,i);function t(){return i.call(this,` + `)||this}return t.prototype.postConstruct=function(){this.eCheckbox.setPassive(!0)},t.prototype.getCheckboxId=function(){return this.eCheckbox.getInputElement().id},t.prototype.onDataChanged=function(){this.onSelectionChanged()},t.prototype.onSelectableChanged=function(){this.showOrHideSelect()},t.prototype.onSelectionChanged=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),r=this.rowNode.isSelected(),o=r===void 0?e("ariaIndeterminate","indeterminate"):r===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked"),n=e("ariaRowToggleSelection","Press Space to toggle row selection");this.eCheckbox.setValue(r,!0),this.eCheckbox.setInputAriaLabel(n+" ("+o+")")},t.prototype.onCheckedClicked=function(e){var r=this.gridOptionsWrapper.isGroupSelectsFiltered(),o=this.rowNode.setSelectedParams({newValue:!1,rangeSelect:e.shiftKey,groupSelectsFiltered:r});return o},t.prototype.onUncheckedClicked=function(e){var r=this.gridOptionsWrapper.isGroupSelectsFiltered(),o=this.rowNode.setSelectedParams({newValue:!0,rangeSelect:e.shiftKey,groupSelectsFiltered:r});return o},t.prototype.init=function(e){var r=this;this.rowNode=e.rowNode,this.column=e.column,this.onSelectionChanged(),this.addGuiEventListener("click",function(a){return kt(a)}),this.addGuiEventListener("dblclick",function(a){return kt(a)}),this.addManagedListener(this.eCheckbox.getInputElement(),"click",function(a){var l=r.eCheckbox.getValue(),u=r.eCheckbox.getPreviousValue();if(u===void 0){var p=r.onUncheckedClicked(a||{});p===0&&r.onCheckedClicked(a)}else l?r.onCheckedClicked(a):r.onUncheckedClicked(a||{})}),this.addManagedListener(this.rowNode,K.EVENT_ROW_SELECTED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_DATA_CHANGED,this.onDataChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_SELECTABLE_CHANGED,this.onSelectableChanged.bind(this));var o=this.gridOptionsWrapper.getIsRowSelectableFunc(),n=o||this.checkboxCallbackExists();if(n){var s=this.showOrHideSelect.bind(this);this.addManagedListener(this.eventService,g.EVENT_DISPLAYED_COLUMNS_CHANGED,s),this.addManagedListener(this.rowNode,K.EVENT_DATA_CHANGED,s),this.addManagedListener(this.rowNode,K.EVENT_CELL_CHANGED,s),this.showOrHideSelect()}this.eCheckbox.getInputElement().setAttribute("tabindex","-1")},t.prototype.showOrHideSelect=function(){var e=this.rowNode.selectable;e&&this.checkboxCallbackExists()&&(e=this.column.isCellCheckboxSelection(this.rowNode)),this.setVisible(e)},t.prototype.checkboxCallbackExists=function(){var e=this.column?this.column.getColDef():null;return!!e&&typeof e.checkboxSelection=="function"},$a([D("eCheckbox")],t.prototype,"eCheckbox",void 0),$a([I],t.prototype,"postConstruct",null),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ah=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Gt=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n};(function(i){i[i.ToolPanel=0]="ToolPanel",i[i.HeaderCell=1]="HeaderCell",i[i.RowDrag=2]="RowDrag",i[i.ChartPanel=3]="ChartPanel"})(c.DragSourceType||(c.DragSourceType={})),function(i){i[i.Up=0]="Up",i[i.Down=1]="Down"}(c.VerticalDirection||(c.VerticalDirection={})),function(i){i[i.Left=0]="Left",i[i.Right=1]="Right"}(c.HorizontalDirection||(c.HorizontalDirection={}));var Te=function(i){ah(t,i);function t(){var r=i!==null&&i.apply(this,arguments)||this;return r.dragSourceAndParamsList=[],r.dropTargets=[],r}e=t,t.prototype.init=function(){this.ePinnedIcon=ke("columnMovePin",this.gridOptionsWrapper,null),this.eHideIcon=ke("columnMoveHide",this.gridOptionsWrapper,null),this.eMoveIcon=ke("columnMoveMove",this.gridOptionsWrapper,null),this.eLeftIcon=ke("columnMoveLeft",this.gridOptionsWrapper,null),this.eRightIcon=ke("columnMoveRight",this.gridOptionsWrapper,null),this.eGroupIcon=ke("columnMoveGroup",this.gridOptionsWrapper,null),this.eAggregateIcon=ke("columnMoveValue",this.gridOptionsWrapper,null),this.ePivotIcon=ke("columnMovePivot",this.gridOptionsWrapper,null),this.eDropNotAllowedIcon=ke("dropNotAllowed",this.gridOptionsWrapper,null)},t.prototype.addDragSource=function(r,o){o===void 0&&(o=!1);var n={eElement:r.eElement,dragStartPixels:r.dragStartPixels,onDragStart:this.onDragStart.bind(this,r),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this)};this.dragSourceAndParamsList.push({params:n,dragSource:r}),this.dragService.addDragSource(n,o)},t.prototype.removeDragSource=function(r){var o=de(this.dragSourceAndParamsList,function(n){return n.dragSource===r});o&&(this.dragService.removeDragSource(o.params),Ee(this.dragSourceAndParamsList,o))},t.prototype.clearDragSourceParamsList=function(){var r=this;this.dragSourceAndParamsList.forEach(function(o){return r.dragService.removeDragSource(o.params)}),this.dragSourceAndParamsList.length=0},t.prototype.nudge=function(){this.dragging&&this.onDragging(this.eventLastTime,!0)},t.prototype.onDragStart=function(r,o){this.dragging=!0,this.dragSource=r,this.eventLastTime=o,this.dragItem=this.dragSource.getDragItem(),this.lastDropTarget=this.dragSource.dragSourceDropTarget,this.dragSource.onDragStarted&&this.dragSource.onDragStarted(),this.createGhost()},t.prototype.onDragStop=function(r){if(this.eventLastTime=null,this.dragging=!1,this.dragSource.onDragStopped&&this.dragSource.onDragStopped(),this.lastDropTarget&&this.lastDropTarget.onDragStop){var o=this.createDropTargetEvent(this.lastDropTarget,r,null,null,!1);this.lastDropTarget.onDragStop(o)}this.lastDropTarget=null,this.dragItem=null,this.removeGhost()},t.prototype.onDragging=function(r,o){var n=this,s=this.getHorizontalDirection(r),a=this.getVerticalDirection(r);this.eventLastTime=r,this.positionGhost(r);var l=this.dropTargets.filter(function(f){return n.isMouseOnDropTarget(r,f)}),u=l.length,p=null;if(u>0&&(p=u===1?l[0]:l.reduce(function(f,v){if(!f)return v;var C=f.getContainer(),R=v.getContainer();return C.contains(R)?v:f})),p!==this.lastDropTarget)this.leaveLastTargetIfExists(r,s,a,o),this.enterDragTargetIfExists(p,r,s,a,o),this.lastDropTarget=p;else if(p&&p.onDragging){var d=this.createDropTargetEvent(p,r,s,a,o);p.onDragging(d)}},t.prototype.enterDragTargetIfExists=function(r,o,n,s,a){if(!!r){if(r.onDragEnter){var l=this.createDropTargetEvent(r,o,n,s,a);r.onDragEnter(l)}this.setGhostIcon(r.getIconName?r.getIconName():null)}},t.prototype.leaveLastTargetIfExists=function(r,o,n,s){if(!!this.lastDropTarget){if(this.lastDropTarget.onDragLeave){var a=this.createDropTargetEvent(this.lastDropTarget,r,o,n,s);this.lastDropTarget.onDragLeave(a)}this.setGhostIcon(null)}},t.prototype.getAllContainersFromDropTarget=function(r){var o=r.getSecondaryContainers?r.getSecondaryContainers():null,n=[[r.getContainer()]];return o?n.concat(o):n},t.prototype.allContainersIntersect=function(r,o){for(var n=0,s=o;n=l.left&&r.clientX=l.top&&r.clientYn?c.HorizontalDirection.Left:c.HorizontalDirection.Right},t.prototype.getVerticalDirection=function(r){var o=this.eventLastTime&&this.eventLastTime.clientY,n=r.clientY;return o===n?null:o>n?c.VerticalDirection.Up:c.VerticalDirection.Down},t.prototype.createDropTargetEvent=function(r,o,n,s,a){var l=r.getContainer(),u=l.getBoundingClientRect(),p=this,d=p.gridApi,f=p.columnApi,v=p.dragItem,C=p.dragSource,R=o.clientX-u.left,S=o.clientY-u.top;return{event:o,x:R,y:S,vDirection:s,hDirection:n,dragSource:C,fromNudge:a,dragItem:v,api:d,columnApi:f,dropZoneTarget:l}},t.prototype.positionGhost=function(r){var o=this.eGhost;if(!!o){var n=o.getBoundingClientRect(),s=n.height,a=Qs()-2,l=Zs()-2,u=r.pageY-s/2,p=r.pageX-10,d=this.gridOptionsWrapper.getDocument(),f=window.pageYOffset||d.documentElement.scrollTop,v=window.pageXOffset||d.documentElement.scrollLeft;a>0&&p+o.clientWidth>a+v&&(p=a+v-o.clientWidth),p<0&&(p=0),l>0&&u+o.clientHeight>l+f&&(u=l+f-o.clientHeight),u<0&&(u=0),o.style.left=p+"px",o.style.top=u+"px"}},t.prototype.removeGhost=function(){this.eGhost&&this.eGhostParent&&this.eGhostParent.removeChild(this.eGhost),this.eGhost=null},t.prototype.createGhost=function(){this.eGhost=st(e.GHOST_TEMPLATE);var r=this.environment.getTheme().theme;r&&V(this.eGhost,r),this.eGhostIcon=this.eGhost.querySelector(".ag-dnd-ghost-icon"),this.setGhostIcon(null);var o=this.eGhost.querySelector(".ag-dnd-ghost-label"),n=this.dragSource.dragItemName;hn(n)&&(n=n()),o.innerHTML=Ye(n)||"",this.eGhost.style.height="25px",this.eGhost.style.top="20px",this.eGhost.style.left="20px";var s=this.gridOptionsWrapper.getDocument(),a=s.fullscreenElement||s.querySelector("body");this.eGhostParent=a,this.eGhostParent?this.eGhostParent.appendChild(this.eGhost):console.warn("AG Grid: could not find document body, it is needed for dragging columns")},t.prototype.setGhostIcon=function(r,o){o===void 0&&(o=!1),Le(this.eGhostIcon);var n=null;switch(r||(r=this.dragSource.defaultIconName||e.ICON_NOT_ALLOWED),r){case e.ICON_PINNED:n=this.ePinnedIcon;break;case e.ICON_MOVE:n=this.eMoveIcon;break;case e.ICON_LEFT:n=this.eLeftIcon;break;case e.ICON_RIGHT:n=this.eRightIcon;break;case e.ICON_GROUP:n=this.eGroupIcon;break;case e.ICON_AGGREGATE:n=this.eAggregateIcon;break;case e.ICON_PIVOT:n=this.ePivotIcon;break;case e.ICON_NOT_ALLOWED:n=this.eDropNotAllowedIcon;break;case e.ICON_HIDE:n=this.eHideIcon;break}B(this.eGhostIcon,"ag-shake-left-to-right",o),!(n===this.eHideIcon&&this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns())&&n&&this.eGhostIcon.appendChild(n)};var e;return t.ICON_PINNED="pinned",t.ICON_MOVE="move",t.ICON_LEFT="left",t.ICON_RIGHT="right",t.ICON_GROUP="group",t.ICON_AGGREGATE="aggregate",t.ICON_PIVOT="pivot",t.ICON_NOT_ALLOWED="notAllowed",t.ICON_HIDE="hide",t.GHOST_TEMPLATE=`
+ +
+
`,Gt([h("dragService")],t.prototype,"dragService",void 0),Gt([h("environment")],t.prototype,"environment",void 0),Gt([h("columnApi")],t.prototype,"columnApi",void 0),Gt([h("gridApi")],t.prototype,"gridApi",void 0),Gt([I],t.prototype,"init",null),Gt([ve],t.prototype,"clearDragSourceParamsList",null),t=e=Gt([L("dragAndDropService")],t),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var _o=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Dr=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},So=function(i){_o(t,i);function t(e,r,o,n,s,a){var l=i.call(this)||this;return l.cellValueFn=e,l.rowNode=r,l.column=o,l.customGui=n,l.dragStartPixels=s,l.suppressVisibilityChange=a,l.dragSource=null,l}return t.prototype.isCustomGui=function(){return this.customGui!=null},t.prototype.postConstruct=function(){if(this.customGui?this.setDragElement(this.customGui,this.dragStartPixels):(this.setTemplate(''),this.getGui().appendChild(fe("rowDrag",this.beans.gridOptionsWrapper,null)),this.addDragSource()),this.checkCompatibility(),!this.suppressVisibilityChange){var e=this.beans.gridOptionsWrapper.isRowDragManaged()?new uh(this,this.beans,this.rowNode,this.column):new lh(this,this.beans,this.rowNode,this.column);this.createManagedBean(e,this.beans.context)}},t.prototype.setDragElement=function(e,r){this.setTemplateFromElement(e),this.addDragSource(r)},t.prototype.getSelectedCount=function(){var e=this.beans.gridOptionsWrapper.isRowDragMultiRow();if(!e)return 1;var r=this.beans.selectionService.getSelectedNodes();return r.indexOf(this.rowNode)!==-1?r.length:1},t.prototype.checkCompatibility=function(){var e=this.beans.gridOptionsWrapper.isRowDragManaged(),r=this.beans.gridOptionsWrapper.isTreeData();r&&e&&ie(function(){return console.warn("AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true")},"RowDragComp.managedAndTreeData")},t.prototype.addDragSource=function(e){var r=this;e===void 0&&(e=4),this.dragSource&&this.removeDragSource();var o={rowNode:this.rowNode,columns:this.column?[this.column]:void 0,defaultTextValue:this.cellValueFn()},n=this.column&&this.column.getColDef().rowDragText;this.dragSource={type:c.DragSourceType.RowDrag,eElement:this.getGui(),dragItemName:function(){var s=r.getSelectedCount();return n?n(o,s):s===1?r.cellValueFn():s+" rows"},getDragItem:function(){return o},dragStartPixels:e,dragSourceDomDataKey:this.beans.gridOptionsWrapper.getDomDataKey()},this.addMouseDownListenerIfNeeded(),this.beans.dragAndDropService.addDragSource(this.dragSource,!0)},t.prototype.addMouseDownListenerIfNeeded=function(){var e=this;this.customGui||!this.column||!this.gridOptionsWrapper.isEnableCellTextSelect()||this.addManagedListener(this.getGui(),"mousedown",function(r){r.preventDefault(),e.beans.focusService.setFocusedCell(e.rowNode.rowIndex,e.column,e.rowNode.rowPinned,!0)})},t.prototype.removeDragSource=function(){this.dragSource&&this.beans.dragAndDropService.removeDragSource(this.dragSource),this.dragSource=null},Dr([h("beans")],t.prototype,"beans",void 0),Dr([I],t.prototype,"postConstruct",null),Dr([ve],t.prototype,"removeDragSource",null),t}($),Ka=function(i){_o(t,i);function t(e,r,o){var n=i.call(this)||this;return n.parent=e,n.rowNode=r,n.column=o,n}return t.prototype.setDisplayedOrVisible=function(e){if(e)this.parent.setDisplayed(!1);else{var r=!0,o=!1;this.column&&(r=this.column.isRowDrag(this.rowNode)||this.parent.isCustomGui(),o=hn(this.column.getColDef().rowDrag)),o?(this.parent.setDisplayed(!0),this.parent.setVisible(r)):(this.parent.setDisplayed(r),this.parent.setVisible(!0))}},t}(T),lh=function(i){_o(t,i);function t(e,r,o,n){var s=i.call(this,e,o,n)||this;return s.beans=r,s}return t.prototype.postConstruct=function(){this.addManagedListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,g.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.workOutVisibility()},t.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},t.prototype.workOutVisibility=function(){var e=this.beans.gridOptionsWrapper.isSuppressRowDrag();this.setDisplayedOrVisible(e)},Dr([I],t.prototype,"postConstruct",null),t}(Ka),uh=function(i){_o(t,i);function t(e,r,o,n){var s=i.call(this,e,o,n)||this;return s.beans=r,s}return t.prototype.postConstruct=function(){this.addManagedListener(this.beans.eventService,g.EVENT_SORT_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,g.EVENT_FILTER_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,g.EVENT_COLUMN_ROW_GROUP_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,g.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.workOutVisibility()},t.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},t.prototype.workOutVisibility=function(){var e=this.beans.ctrlsService.getGridBodyCtrl(),r=e.getRowDragFeature(),o=r&&r.shouldPreventRowMove(),n=this.beans.gridOptionsWrapper.isSuppressRowDrag(),s=this.beans.dragAndDropService.hasExternalDropZones(),a=o&&!s||n;this.setDisplayedOrVisible(a)},Dr([I],t.prototype,"postConstruct",null),t}(Ka);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ph=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Oo=function(){return Oo=Object.assign||function(i){for(var t,e=1,r=arguments.length;e=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ya=function(i){ph(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.init=function(e,r,o,n,s,a,l){this.params=l,this.eGui=r,this.eCheckbox=o,this.eExpanded=n,this.eContracted=s,this.comp=e,this.compClass=a;var u=this.isTopLevelFooter(),p=this.isEmbeddedRowMismatch(),d=l.value==null,f=!1;if(this.gridOptionsWrapper.isGroupIncludeFooter()&&this.gridOptionsWrapper.isGroupHideOpenParents()){var v=l.node;if(v.footer){var C=l.colDef&&l.colDef.showRowGroup,R=v.rowGroupColumn&&v.rowGroupColumn.getColId();f=C!==R}}this.cellIsBlank=u?!1:p||d||f,!this.cellIsBlank&&(this.setupShowingValueForOpenedParent(),this.findDisplayedGroupNode(),this.addFullWidthRowDraggerIfNeeded(),this.addExpandAndContract(),this.addCheckboxIfNeeded(),this.addValueElement(),this.setupIndent())},t.prototype.isTopLevelFooter=function(){if(!this.gridOptionsWrapper.isGroupIncludeTotalFooter()||this.params.value!=null||this.params.node.level!=-1)return!1;var e=this.params.colDef,r=e==null;if(r||e.showRowGroup===!0)return!0;var o=this.columnModel.getRowGroupColumns();if(!o||o.length===0)return!0;var n=o[0];return n.getId()===e.showRowGroup},t.prototype.isEmbeddedRowMismatch=function(){if(!this.params.fullWidth||!this.gridOptionsWrapper.isEmbedFullWidthRows())return!1;var e=this.params.pinned===E.PINNED_LEFT,r=this.params.pinned===E.PINNED_RIGHT,o=!e&&!r;return this.gridOptionsWrapper.isEnableRtl()?this.columnModel.isPinningLeft()?!r:!o:this.columnModel.isPinningLeft()?!e:!o},t.prototype.findDisplayedGroupNode=function(){var e=this.params.column,r=this.params.node;if(this.showingValueForOpenedParent)for(var o=r.parent;o!=null;){if(o.rowGroupColumn&&e.isRowGroupDisplayed(o.rowGroupColumn.getId())){this.displayedGroupNode=o;break}o=o.parent}m(this.displayedGroupNode)&&(this.displayedGroupNode=r)},t.prototype.setupShowingValueForOpenedParent=function(){var e=this.params.node,r=this.params.column;if(!this.gridOptionsWrapper.isGroupHideOpenParents()){this.showingValueForOpenedParent=!1;return}if(!e.groupData){this.showingValueForOpenedParent=!1;return}var o=e.rowGroupColumn!=null;if(o){var n=e.rowGroupColumn.getId(),s=r.isRowGroupDisplayed(n);if(s){this.showingValueForOpenedParent=!1;return}}var a=e.groupData[r.getId()]!=null;this.showingValueForOpenedParent=a},t.prototype.addValueElement=function(){this.displayedGroupNode.footer?this.addFooterValue():(this.addGroupValue(),this.addChildCount())},t.prototype.addGroupValue=function(){var e=this.adjustParamsWithDetailsFromRelatedColumn(),r=this.getInnerCompDetails(e),o=e.valueFormatted,n=e.value,s=o!=null?o:n;this.comp.setInnerRenderer(r,s)},t.prototype.adjustParamsWithDetailsFromRelatedColumn=function(){var e=this.displayedGroupNode.rowGroupColumn,r=this.params.column;if(!e)return this.params;var o=r!=null;if(o){var n=r.isRowGroupDisplayed(e.getId());if(!n)return this.params}var s=this.params,a=this.params,l=a.value,u=a.scope,p=a.node,d=this.valueFormatterService.formatValue(e,p,u,l),f=Oo(Oo({},s),{valueFormatted:d});return f},t.prototype.addFooterValue=function(){var e=this.params.footerValueGetter,r="";if(e){var o=dn(this.params);o.value=this.params.value,typeof e=="function"?r=e(o):typeof e=="string"?r=this.expressionService.evaluate(e,o):console.warn("AG Grid: footerValueGetter should be either a function or a string (expression)")}else r="Total "+(this.params.value!=null?this.params.value:"");var n=this.getInnerCompDetails(this.params);this.comp.setInnerRenderer(n,r)},t.prototype.getInnerCompDetails=function(e){var r=this;if(e.fullWidth)return this.userComponentFactory.getFullWidthGroupRowInnerCellRenderer(this.gridOptions.groupRowRendererParams,e);var o=this.userComponentFactory.getInnerRendererDetails(e,e),n=function(p){return p&&p.componentClass==r.compClass};if(o&&!n(o))return o;var s=this.displayedGroupNode.rowGroupColumn,a=s?s.getColDef():void 0;if(!!a){var l=this.userComponentFactory.getCellRendererDetails(a,e);if(l&&!n(l))return l;if(n(l)&&a.cellRendererParams&&a.cellRendererParams.innerRenderer){var u=this.userComponentFactory.getInnerRendererDetails(a.cellRendererParams,e);return u}}},t.prototype.addChildCount=function(){this.params.suppressCount||(this.addManagedListener(this.displayedGroupNode,K.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.updateChildCount.bind(this)),this.updateChildCount())},t.prototype.updateChildCount=function(){var e=this.displayedGroupNode.allChildrenCount,r=this.isShowRowGroupForThisRow(),o=r&&e!=null&&e>=0,n=o?"("+e+")":"";this.comp.setChildCount(n)},t.prototype.isShowRowGroupForThisRow=function(){if(this.gridOptionsWrapper.isTreeData())return!0;var e=this.displayedGroupNode.rowGroupColumn;if(!e)return!1;var r=this.params.column,o=r==null||r.isRowGroupDisplayed(e.getId());return o},t.prototype.addExpandAndContract=function(){var e=this.params,r=fe("groupExpanded",this.gridOptionsWrapper,null),o=fe("groupContracted",this.gridOptionsWrapper,null);r&&this.eExpanded.appendChild(r),o&&this.eContracted.appendChild(o);var n=e.eGridCell;!this.gridOptionsWrapper.isEnableGroupEdit()&&this.isExpandable()&&!e.suppressDoubleClickExpand&&this.addManagedListener(n,"dblclick",this.onCellDblClicked.bind(this)),this.addManagedListener(this.eExpanded,"click",this.onExpandClicked.bind(this)),this.addManagedListener(this.eContracted,"click",this.onExpandClicked.bind(this)),this.addManagedListener(n,"keydown",this.onKeyDown.bind(this)),this.addManagedListener(e.node,K.EVENT_EXPANDED_CHANGED,this.showExpandAndContractIcons.bind(this)),this.showExpandAndContractIcons();var s=this.onRowNodeIsExpandableChanged.bind(this);this.addManagedListener(this.displayedGroupNode,K.EVENT_ALL_CHILDREN_COUNT_CHANGED,s),this.addManagedListener(this.displayedGroupNode,K.EVENT_MASTER_CHANGED,s),this.addManagedListener(this.displayedGroupNode,K.EVENT_HAS_CHILDREN_CHANGED,s)},t.prototype.onExpandClicked=function(e){rt(e)||(kt(e),this.onExpandOrContract())},t.prototype.onExpandOrContract=function(){var e=this.displayedGroupNode,r=!e.expanded;e.setExpanded(r)},t.prototype.isExpandable=function(){if(this.showingValueForOpenedParent)return!0;var e=this.displayedGroupNode,r=this.columnModel.isPivotMode()&&e.leafGroup,o=e.isExpandable()&&!e.footer&&!r;if(!o)return!1;var n=this.params.column,s=n!=null&&typeof n.getColDef().showRowGroup=="string";if(s){var a=this.isShowRowGroupForThisRow();return a}return!0},t.prototype.showExpandAndContractIcons=function(){var e=this,r=e.params,o=e.displayedGroupNode,n=e.columnModel,s=r.node,a=this.isExpandable();if(a){var l=this.showingValueForOpenedParent?!0:s.expanded;this.comp.setExpandedDisplayed(l),this.comp.setContractedDisplayed(!l)}else this.comp.setExpandedDisplayed(!1),this.comp.setContractedDisplayed(!1);var u=n.isPivotMode(),p=u&&o.leafGroup,d=a&&!p,f=s.footer&&s.level===-1;this.comp.addOrRemoveCssClass("ag-cell-expandable",d),this.comp.addOrRemoveCssClass("ag-row-group",d),u?this.comp.addOrRemoveCssClass("ag-pivot-leaf-group",p):f||this.comp.addOrRemoveCssClass("ag-row-group-leaf-indent",!d)},t.prototype.onRowNodeIsExpandableChanged=function(){this.showExpandAndContractIcons(),this.setIndent()},t.prototype.setupIndent=function(){var e=this.params.node,r=this.params.suppressPadding;r||(this.addManagedListener(e,K.EVENT_UI_LEVEL_CHANGED,this.setIndent.bind(this)),this.setIndent())},t.prototype.setIndent=function(){if(!this.gridOptionsWrapper.isGroupHideOpenParents()){var e=this.params,r=e.node,o=!!e.colDef,n=this.gridOptionsWrapper.isTreeData(),s=!o||n||e.colDef.showRowGroup===!0,a=s?r.uiLevel:0,l=e.padding>=0;l&&ie(function(){return console.warn("AG Grid: cellRendererParams.padding no longer works, it was deprecated in since v14.2 and removed in v26, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the AG Grid documentation page for Themes, in particular the property $row-group-indent-size.")},"groupCellRenderer->doDeprecatedWay"),this.indentClass&&this.comp.addOrRemoveCssClass(this.indentClass,!1),this.indentClass="ag-row-group-indent-"+a,this.comp.addOrRemoveCssClass(this.indentClass,!0)}},t.prototype.addFullWidthRowDraggerIfNeeded=function(){var e=this;if(!(!this.params.fullWidth||!this.params.rowDrag)){var r=new So(function(){return e.params.value},this.params.node);this.createManagedBean(r,this.context),this.eGui.insertAdjacentElement("afterbegin",r.getGui())}},t.prototype.isUserWantsSelected=function(){var e=this.params.checkbox;return typeof e=="function"?e(this.params):e===!0},t.prototype.addCheckboxIfNeeded=function(){var e=this,r=this.displayedGroupNode,o=this.isUserWantsSelected()&&!r.footer&&!r.rowPinned&&!r.detail;if(o){var n=new vi;this.getContext().createBean(n),n.init({rowNode:r,column:this.params.column}),this.eCheckbox.appendChild(n.getGui()),this.addDestroyFunc(function(){return e.getContext().destroyBean(n)})}this.comp.setCheckboxVisible(o)},t.prototype.onKeyDown=function(e){var r=Zn(e,b.ENTER);if(!(!r||this.params.suppressEnterExpand)){var o=this.params.column&&this.params.column.isCellEditable(this.params.node);o||this.onExpandOrContract()}},t.prototype.onCellDblClicked=function(e){if(!rt(e)){var r=oo(this.eExpanded,e)||oo(this.eContracted,e);r||this.onExpandOrContract()}},Tr([h("expressionService")],t.prototype,"expressionService",void 0),Tr([h("valueFormatterService")],t.prototype,"valueFormatterService",void 0),Tr([h("columnModel")],t.prototype,"columnModel",void 0),Tr([h("userComponentFactory")],t.prototype,"userComponentFactory",void 0),Tr([h("gridOptions")],t.prototype,"gridOptions",void 0),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ch=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Jt=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},yi=function(i){ch(t,i);function t(){return i.call(this,t.TEMPLATE)||this}return t.prototype.init=function(e){var r=this,o={setInnerRenderer:function(l,u){return r.setRenderDetails(l,u)},setChildCount:function(l){return r.eChildCount.innerHTML=l},addOrRemoveCssClass:function(l,u){return r.addOrRemoveCssClass(l,u)},setContractedDisplayed:function(l){return ne(r.eContracted,l)},setExpandedDisplayed:function(l){return ne(r.eExpanded,l)},setCheckboxVisible:function(l){return B(r.eCheckbox,"ag-invisible",!l)}},n=this.createManagedBean(new Ya),s=!e.colDef,a=this.getGui();n.init(o,a,this.eCheckbox,this.eExpanded,this.eContracted,this.constructor,e),s&&Pe(a,"gridcell")},t.prototype.setRenderDetails=function(e,r){var o=this;if(e){var n=e.newAgStackInstance();if(!n)return;n.then(function(s){if(!!s){var a=function(){return o.context.destroyBean(s)};o.isAlive()?(o.eValue.appendChild(s.getGui()),o.addDestroyFunc(a)):a()}})}else this.eValue.innerText=r},t.prototype.destroy=function(){this.getContext().destroyBean(this.innerCellRenderer),i.prototype.destroy.call(this)},t.prototype.refresh=function(){return!1},t.TEMPLATE=` + + + + + + `,Jt([h("userComponentFactory")],t.prototype,"userComponentFactory",void 0),Jt([D("eExpanded")],t.prototype,"eExpanded",void 0),Jt([D("eContracted")],t.prototype,"eContracted",void 0),Jt([D("eCheckbox")],t.prototype,"eCheckbox",void 0),Jt([D("eValue")],t.prototype,"eValue",void 0),Jt([D("eChildCount")],t.prototype,"eChildCount",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var dh=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),qa=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},hh=function(i){dh(t,i);function t(){return i.call(this,t.TEMPLATE)||this}return t.prototype.init=function(e){e.node.failedLoad?this.setupFailed():this.setupLoading()},t.prototype.setupFailed=function(){this.eLoadingText.innerText="ERR"},t.prototype.setupLoading=function(){var e=fe("groupLoading",this.gridOptionsWrapper,null);e&&this.eLoadingIcon.appendChild(e);var r=this.gridOptionsWrapper.getLocaleTextFunc();this.eLoadingText.innerText=r("loadingOoo","Loading")},t.prototype.refresh=function(e){return!1},t.TEMPLATE=`
+ + +
`,qa([D("eLoadingIcon")],t.prototype,"eLoadingIcon",void 0),qa([D("eLoadingText")],t.prototype,"eLoadingText",void 0),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var fh=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),gh=function(i){fh(t,i);function t(){return i.call(this)||this}return t.prototype.destroy=function(){i.prototype.destroy.call(this)},t.prototype.init=function(e){var r=this.gridOptionsWrapper.getOverlayLoadingTemplate()?this.gridOptionsWrapper.getOverlayLoadingTemplate():t.DEFAULT_LOADING_OVERLAY_TEMPLATE,o=this.gridOptionsWrapper.getLocaleTextFunc(),n=r.replace("[LOADING...]",o("loadingOoo","Loading..."));this.setTemplate(n)},t.DEFAULT_LOADING_OVERLAY_TEMPLATE='[LOADING...]',t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var vh=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),yh=function(i){vh(t,i);function t(){return i.call(this)||this}return t.prototype.destroy=function(){i.prototype.destroy.call(this)},t.prototype.init=function(e){var r=this.gridOptionsWrapper.getOverlayNoRowsTemplate()?this.gridOptionsWrapper.getOverlayNoRowsTemplate():t.DEFAULT_NO_ROWS_TEMPLATE,o=this.gridOptionsWrapper.getLocaleTextFunc(),n=r.replace("[NO_ROWS_TO_SHOW]",o("noRowsToShow","No Rows To Show"));this.setTemplate(n)},t.DEFAULT_NO_ROWS_TEMPLATE='[NO_ROWS_TO_SHOW]',t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Ch=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),mh=function(i){Ch(t,i);function t(){return i.call(this,'
')||this}return t.prototype.init=function(e){var r=e.value;this.getGui().innerHTML=Ye(r)},t}(Zt);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var wh=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ci=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Xa=function(i){wh(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.agGridDefaults={agDateInput:Ld,agColumnHeader:jd,agColumnGroupHeader:zd,agTextColumnFloatingFilter:Va,agNumberColumnFloatingFilter:Wd,agDateColumnFloatingFilter:Id,agReadOnlyFloatingFilter:gd,agAnimateShowChangeCellRenderer:ka,agAnimateSlideCellRenderer:za,agGroupCellRenderer:yi,agGroupRowRenderer:yi,agLoadingCellRenderer:hh,agCellEditor:Ro,agTextCellEditor:Ro,agSelectCellEditor:gi,agPopupTextCellEditor:ja,agPopupSelectCellEditor:Ua,agLargeTextCellEditor:Wa,agTextColumnFilter:Eo,agNumberColumnFilter:di,agDateColumnFilter:pi,agLoadingOverlay:gh,agNoRowsOverlay:yh,agTooltipComponent:mh},e.agDeprecatedNames={set:{newComponentName:"agSetColumnFilter",propertyHolder:"filter"},text:{newComponentName:"agTextColumnFilter",propertyHolder:"filter"},number:{newComponentName:"agNumberColumnFilter",propertyHolder:"filter"},date:{newComponentName:"agDateColumnFilter",propertyHolder:"filter"},group:{newComponentName:"agGroupCellRenderer",propertyHolder:"cellRenderer"},animateShowChange:{newComponentName:"agAnimateShowChangeCellRenderer",propertyHolder:"cellRenderer"},animateSlide:{newComponentName:"agAnimateSlideCellRenderer",propertyHolder:"cellRenderer"},select:{newComponentName:"agSelectCellEditor",propertyHolder:"cellEditor"},largeText:{newComponentName:"agLargeTextCellEditor",propertyHolder:"cellEditor"},popupSelect:{newComponentName:"agPopupSelectCellEditor",propertyHolder:"cellEditor"},popupText:{newComponentName:"agPopupTextCellEditor",propertyHolder:"cellEditor"},richSelect:{newComponentName:"agRichSelectCellEditor",propertyHolder:"cellEditor"},headerComponent:{newComponentName:"agColumnHeader",propertyHolder:"headerComponent"}},e.jsComponents={},e.frameworkComponents={},e}return t.prototype.init=function(){var e=this;this.gridOptions.components!=null&&te(this.gridOptions.components,function(r,o){return e.registerComponent(r,o)}),this.gridOptions.frameworkComponents!=null&&te(this.gridOptions.frameworkComponents,function(r,o){return e.registerFwComponent(r,o)})},t.prototype.registerDefaultComponent=function(e,r){var o=this.translateIfDeprecated(e);if(this.agGridDefaults[o]){console.error("Trying to overwrite a default component. You should call registerComponent");return}this.agGridDefaults[o]=r},t.prototype.registerComponent=function(e,r){var o=this.translateIfDeprecated(e);if(this.frameworkComponents[o]){console.error("Trying to register a component that you have already registered for frameworks: "+o);return}this.jsComponents[o]=r},t.prototype.registerFwComponent=function(e,r){var o=this.translateIfDeprecated(e);if(this.jsComponents[o]){console.error("Trying to register a component that you have already registered for plain javascript: "+o);return}this.frameworkComponents[o]=r},t.prototype.retrieve=function(e){var r=this.translateIfDeprecated(e),o=this.frameworkComponents[r]||this.getFrameworkOverrides().frameworkComponent(r);if(o)return{componentFromFramework:!0,component:o};var n=this.jsComponents[r];if(n)return{componentFromFramework:!1,component:n};var s=this.agGridDefaults[r];return s?{componentFromFramework:!1,component:s}:(Object.keys(this.agGridDefaults).indexOf(r)<0&&console.warn("AG Grid: Looking for component ["+r+"] but it wasn't found."),null)},t.prototype.translateIfDeprecated=function(e){var r=this.agDeprecatedNames[e];return r!=null?(ie(function(){console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename "+r.propertyHolder+":"+e+" to "+r.propertyHolder+":"+r.newComponentName)},"DEPRECATE_COMPONENT_"+e),r.newComponentName):e},Ci([h("gridOptions")],t.prototype,"gridOptions",void 0),Ci([I],t.prototype,"init",null),t=Ci([L("userComponentRegistry")],t),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Eh={propertyName:"dateComponent",isCellRenderer:function(){return!1}},Rh={propertyName:"headerComponent",isCellRenderer:function(){return!1}},_h={propertyName:"headerGroupComponent",isCellRenderer:function(){return!1}},Qa={propertyName:"cellRenderer",isCellRenderer:function(){return!0}},Sh={propertyName:"cellEditor",isCellRenderer:function(){return!1}},Za={propertyName:"innerRenderer",isCellRenderer:function(){return!0}},Oh={propertyName:"loadingOverlayComponent",isCellRenderer:function(){return!1}},Ph={propertyName:"noRowsOverlayComponent",isCellRenderer:function(){return!1}},Ah={propertyName:"tooltipComponent",isCellRenderer:function(){return!1}},Dh={propertyName:"filter",isCellRenderer:function(){return!1}},Th={propertyName:"floatingFilterComponent",isCellRenderer:function(){return!1}},bh={propertyName:"toolPanel",isCellRenderer:function(){return!1}},Fh={propertyName:"statusPanel",isCellRenderer:function(){return!1}};/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Ih=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),er=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ja=function(i){Ih(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.getHeaderCompDetails=function(e,r){return this.getCompDetails(e,Rh,"agColumnHeader",r)},t.prototype.getHeaderGroupCompDetails=function(e){var r=e.columnGroup.getColGroupDef();return this.getCompDetails(r,_h,"agColumnGroupHeader",e)},t.prototype.getFullWidthCellRendererDetails=function(e,r,o){return this.getCompDetails(this.gridOptions,{propertyName:r,isCellRenderer:function(){return!0}},o,e)},t.prototype.getInnerRendererDetails=function(e,r){return this.getCompDetails(e,Za,null,r)},t.prototype.getFullWidthGroupRowInnerCellRenderer=function(e,r){return this.getCompDetails(e,Za,null,r)},t.prototype.getCellRendererDetails=function(e,r){return this.getCompDetails(e,Qa,null,r)},t.prototype.getCellEditorDetails=function(e,r){return this.getCompDetails(e,Sh,"agCellEditor",r,!0)},t.prototype.getFilterDetails=function(e,r,o){return this.getCompDetails(e,Dh,o,r,!0)},t.prototype.getDateCompDetails=function(e){return this.getCompDetails(this.gridOptions,Eh,"agDateInput",e,!0)},t.prototype.getLoadingOverlayCompDetails=function(e){return this.getCompDetails(this.gridOptions,Oh,"agLoadingOverlay",e,!0)},t.prototype.getNoRowsOverlayCompDetails=function(e){return this.getCompDetails(this.gridOptions,Ph,"agNoRowsOverlay",e,!0)},t.prototype.getTooltipCompDetails=function(e){return this.getCompDetails(e.colDef,Ah,"agTooltipComponent",e,!0)},t.prototype.getSetFilterCellRendererDetails=function(e,r){return this.getCompDetails(e,Qa,null,r)},t.prototype.getFloatingFilterCompDetails=function(e,r,o){return this.getCompDetails(e,Th,o,r)},t.prototype.getToolPanelCompDetails=function(e,r){return this.getCompDetails(e,bh,null,r,!0)},t.prototype.getStatusPanelCompDetails=function(e,r){return this.getCompDetails(e,Fh,null,r,!0)},t.prototype.getCompDetails=function(e,r,o,n,s){var a=this;s===void 0&&(s=!1);var l=r.propertyName,u,p,d;if(e){var f=e,v=f[l+"Selector"],C=v?v(n):null;C?(u=C.component,p=C.frameworkComponent,d=C.params):(u=f[l],p=f[l+"Framework"]),u===!0&&(u=void 0)}var R=function(W){var Y=a.userComponentRegistry.retrieve(W);Y?(u=Y.componentFromFramework?void 0:Y.component,p=Y.componentFromFramework?Y.component:void 0):(u=void 0,p=void 0)};if(typeof u=="string"&&R(u),u==null&&p==null&&o!=null&&R(o),u&&!this.agComponentUtils.doesImplementIComponent(u)&&(u=this.agComponentUtils.adaptFunction(l,u)),!u&&!p){if(s){var S=e?e[l]:o,F=S||o;console.error("Could not find component "+F+", did you forget to configure this component?")}return}var A=this.mergeParamsWithApplicationProvidedParams(e,l,n,d),P=u==null,M=u||p;return{componentFromFramework:P,componentClass:M,params:A,type:r,newAgStackInstance:function(W){return a.newAgStackInstance(M,P,A,r,W)}}},t.prototype.newAgStackInstance=function(e,r,o,n,s){var a=n.propertyName,l,u=!r;if(u)l=new e;else{var p=this.componentMetadataProvider.retrieve(a);l=this.frameworkComponentWrapper.wrap(e,p.mandatoryMethodList,p.optionalMethodList,n,s)}var d=this.initComponent(l,o);return d==null?Ne.resolve(l):d.then(function(){return l})},t.prototype.mergeParamsWithApplicationProvidedParams=function(e,r,o,n){n===void 0&&(n=null);var s={};We(s,o);var a=e?e[r+"Params"]:null;if(a!=null)if(typeof a=="function"){var l=a(o);We(s,l)}else typeof a=="object"&&We(s,a);return We(s,n),s},t.prototype.initComponent=function(e,r){if(this.context.createBean(e),e.init!=null)return e.init(r)},er([h("gridOptions")],t.prototype,"gridOptions",void 0),er([h("agComponentUtils")],t.prototype,"agComponentUtils",void 0),er([h("componentMetadataProvider")],t.prototype,"componentMetadataProvider",void 0),er([h("userComponentRegistry")],t.prototype,"userComponentRegistry",void 0),er([Z("frameworkComponentWrapper")],t.prototype,"frameworkComponentWrapper",void 0),t=er([L("userComponentFactory")],t),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var el=function(){function i(){}return i.parse=function(t){if(!t)return null;if(t===!0)return{toolPanels:[i.DEFAULT_COLUMN_COMP,i.DEFAULT_FILTER_COMP],defaultToolPanel:"columns"};if(typeof t=="string")return i.parse([t]);if(Array.isArray(t)){var e=[];return t.forEach(function(o){var n=i.DEFAULT_BY_KEY[o];if(!n){console.warn("ag-grid: the key "+o+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(i.DEFAULT_BY_KEY).join(","));return}e.push(n)}),e.length===0?null:{toolPanels:e,defaultToolPanel:e[0].id}}var r={toolPanels:i.parseComponents(t.toolPanels),defaultToolPanel:t.defaultToolPanel,hiddenByDefault:t.hiddenByDefault,position:t.position};return r},i.parseComponents=function(t){var e=[];return t&&t.forEach(function(r){var o=null;if(typeof r=="string"){var n=i.DEFAULT_BY_KEY[r];if(!n){console.warn("ag-grid: the key "+r+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(i.DEFAULT_BY_KEY).join(","));return}o=n}else o=r;e.push(o)}),e},i.DEFAULT_COLUMN_COMP={id:"columns",labelDefault:"Columns",labelKey:"columns",iconKey:"columns",toolPanel:"agColumnsToolPanel"},i.DEFAULT_FILTER_COMP={id:"filters",labelDefault:"Filters",labelKey:"filters",iconKey:"filter",toolPanel:"agFiltersToolPanel"},i.DEFAULT_BY_KEY={columns:i.DEFAULT_COLUMN_COMP,filters:i.DEFAULT_FILTER_COMP},i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var xt=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},tl=function(i,t){return function(e,r){t(e,r,i)}},mi=function(){for(var i=0,t=0,e=arguments.length;t=0?i:t}function ol(i,t){var e=parseInt(i,10);return no(e)&&e>0?e:t}var G=function(){function i(){this.propertyEventService=new gt,this.domDataKey="__AG_"+Math.random().toString(),this.destroyed=!1}t=i,i.prototype.agWire=function(e,r){this.gridOptions.api=e,this.gridOptions.columnApi=r,this.checkForDeprecated(),this.checkForViolations()},i.prototype.destroy=function(){this.gridOptions.api=null,this.gridOptions.columnApi=null,this.destroyed=!0},i.prototype.init=function(){var e=this;this.gridOptions.suppressPropertyNamesCheck!==!0&&(this.checkGridOptionsProperties(),this.checkColumnDefProperties()),this.gridOptions.sideBar!=null&&(this.gridOptions.sideBar=el.parse(this.gridOptions.sideBar));var r=this.useAsyncEvents();if(this.eventService.addGlobalListener(this.globalEventHandler.bind(this),r),this.isGroupSelectsChildren()&&this.isSuppressParentsInRowNodes()&&console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work"),this.isGroupSelectsChildren()&&(this.isRowSelectionMulti()||console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense"),this.isRowModelServerSide()&&console.warn("AG Grid: group selects children is NOT support for Server Side Row Model. This is because the rows are lazy loaded, so selecting a group is not possible asthe grid has no way of knowing what the children are.")),this.isGroupRemoveSingleChildren()&&this.isGroupHideOpenParents()&&console.warn("AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to us these together on our support forum either you will get the same answer!"),this.isRowModelServerSide()){var o=function(s){return"AG Grid: '"+s+"' is not supported on the Server-Side Row Model"};y(this.gridOptions.groupDefaultExpanded)&&console.warn(o("groupDefaultExpanded")),y(this.gridOptions.groupDefaultExpanded)&&console.warn(o("groupIncludeFooter")),y(this.gridOptions.groupDefaultExpanded)&&console.warn(o("groupIncludeTotalFooter"))}this.isEnableRangeSelection()&&j.assertRegistered(c.ModuleNames.RangeSelectionModule,"enableRangeSelection"),!this.isEnableRangeSelection()&&(this.isEnableRangeHandle()||this.isEnableFillHandle())&&console.warn("AG Grid: 'enableRangeHandle' and 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");var n=function(s){e.gridOptions.icons&&e.gridOptions.icons[s]&&console.warn("gridOptions.icons."+s+" is no longer supported. For information on how to style checkboxes and radio buttons, see https://www.ag-grid.com/javascript-grid-icons/")};n("radioButtonOff"),n("radioButtonOn"),n("checkboxChecked"),n("checkboxUnchecked"),n("checkboxIndeterminate"),this.getScrollbarWidth()},i.prototype.checkColumnDefProperties=function(){var e=this;this.gridOptions.columnDefs!=null&&this.gridOptions.columnDefs.forEach(function(r){var o=Object.getOwnPropertyNames(r),n=mi(Tn.ALL_PROPERTIES,Tn.FRAMEWORK_PROPERTIES);e.checkProperties(o,n,n,"colDef","https://www.ag-grid.com/javascript-grid-column-properties/")})},i.prototype.checkGridOptionsProperties=function(){var e=Object.getOwnPropertyNames(this.gridOptions),r=mi(nt.ALL_PROPERTIES,nt.FRAMEWORK_PROPERTIES,ge(g).map(function(n){return Ue.getCallbackForEvent(n)})),o=mi(r,["api","columnApi"]);this.checkProperties(e,o,r,"gridOptions","https://www.ag-grid.com/javascript-grid-properties/")},i.prototype.checkProperties=function(e,r,o,n,s){var a=ma(e,r,o);te(a,function(l,u){console.warn("ag-grid: invalid "+n+" property '"+l+"' did you mean any of these: "+u.slice(0,8).join(", "))}),Object.keys(a).length>0&&console.warn("ag-grid: to see all the valid "+n+" properties please check: "+s)},i.prototype.getDomDataKey=function(){return this.domDataKey},i.prototype.getDomData=function(e,r){var o=e[this.getDomDataKey()];return o?o[r]:void 0},i.prototype.setDomData=function(e,r,o){var n=this.getDomDataKey(),s=e[n];m(s)&&(s={},e[n]=s),s[r]=o},i.prototype.isRowSelection=function(){return this.gridOptions.rowSelection==="single"||this.gridOptions.rowSelection==="multiple"},i.prototype.isSuppressRowDeselection=function(){return O(this.gridOptions.suppressRowDeselection)},i.prototype.isRowSelectionMulti=function(){return this.gridOptions.rowSelection==="multiple"},i.prototype.isRowMultiSelectWithClick=function(){return O(this.gridOptions.rowMultiSelectWithClick)},i.prototype.getContext=function(){return this.gridOptions.context},i.prototype.isPivotMode=function(){return O(this.gridOptions.pivotMode)},i.prototype.isSuppressExpandablePivotGroups=function(){return O(this.gridOptions.suppressExpandablePivotGroups)},i.prototype.getPivotColumnGroupTotals=function(){return this.gridOptions.pivotColumnGroupTotals},i.prototype.getPivotRowTotals=function(){return this.gridOptions.pivotRowTotals},i.prototype.isRowModelInfinite=function(){return this.gridOptions.rowModelType===E.ROW_MODEL_TYPE_INFINITE},i.prototype.isRowModelViewport=function(){return this.gridOptions.rowModelType===E.ROW_MODEL_TYPE_VIEWPORT},i.prototype.isRowModelServerSide=function(){return this.gridOptions.rowModelType===E.ROW_MODEL_TYPE_SERVER_SIDE},i.prototype.isRowModelDefault=function(){return m(this.gridOptions.rowModelType)||this.gridOptions.rowModelType===E.ROW_MODEL_TYPE_CLIENT_SIDE},i.prototype.isFullRowEdit=function(){return this.gridOptions.editType==="fullRow"},i.prototype.isSuppressFocusAfterRefresh=function(){return O(this.gridOptions.suppressFocusAfterRefresh)},i.prototype.isSuppressBrowserResizeObserver=function(){return O(this.gridOptions.suppressBrowserResizeObserver)},i.prototype.isSuppressMaintainUnsortedOrder=function(){return O(this.gridOptions.suppressMaintainUnsortedOrder)},i.prototype.isSuppressClearOnFillReduction=function(){return O(this.gridOptions.suppressClearOnFillReduction)},i.prototype.isShowToolPanel=function(){return O(this.gridOptions.sideBar&&Array.isArray(this.getSideBar().toolPanels))},i.prototype.getSideBar=function(){return this.gridOptions.sideBar},i.prototype.isSuppressTouch=function(){return O(this.gridOptions.suppressTouch)},i.prototype.isMaintainColumnOrder=function(){return O(this.gridOptions.maintainColumnOrder)},i.prototype.isSuppressRowTransform=function(){return O(this.gridOptions.suppressRowTransform)},i.prototype.isSuppressColumnStateEvents=function(){return O(this.gridOptions.suppressColumnStateEvents)},i.prototype.isAllowDragFromColumnsToolPanel=function(){return O(this.gridOptions.allowDragFromColumnsToolPanel)},i.prototype.useAsyncEvents=function(){return!O(this.gridOptions.suppressAsyncEvents)},i.prototype.isEnableCellChangeFlash=function(){return O(this.gridOptions.enableCellChangeFlash)},i.prototype.getCellFlashDelay=function(){return this.gridOptions.cellFlashDelay||500},i.prototype.getCellFadeDelay=function(){return this.gridOptions.cellFadeDelay||1e3},i.prototype.isGroupSelectsChildren=function(){var e=O(this.gridOptions.groupSelectsChildren);return e&&this.isTreeData()?(console.warn("AG Grid: groupSelectsChildren does not work with tree data"),!1):e},i.prototype.isSuppressRowHoverHighlight=function(){return O(this.gridOptions.suppressRowHoverHighlight)},i.prototype.isColumnHoverHighlight=function(){return O(this.gridOptions.columnHoverHighlight)},i.prototype.isGroupSelectsFiltered=function(){return O(this.gridOptions.groupSelectsFiltered)},i.prototype.isGroupHideOpenParents=function(){return O(this.gridOptions.groupHideOpenParents)},i.prototype.isGroupMaintainOrder=function(){return O(this.gridOptions.groupMaintainOrder)},i.prototype.getAutoGroupColumnDef=function(){return this.gridOptions.autoGroupColumnDef},i.prototype.isGroupMultiAutoColumn=function(){return this.gridOptions.groupDisplayType?this.matchesGroupDisplayType("multipleColumns",this.gridOptions.groupDisplayType):O(this.gridOptions.groupHideOpenParents)},i.prototype.isGroupUseEntireRow=function(e){return e?!1:this.gridOptions.groupDisplayType?this.matchesGroupDisplayType("groupRows",this.gridOptions.groupDisplayType):!1},i.prototype.isGroupSuppressAutoColumn=function(){var e=this.gridOptions.groupDisplayType?this.matchesGroupDisplayType("custom",this.gridOptions.groupDisplayType):!1;return e?!0:this.gridOptions.treeDataDisplayType?this.matchesTreeDataDisplayType("custom",this.gridOptions.treeDataDisplayType):!1},i.prototype.isGroupRemoveSingleChildren=function(){return O(this.gridOptions.groupRemoveSingleChildren)},i.prototype.isGroupRemoveLowestSingleChildren=function(){return O(this.gridOptions.groupRemoveLowestSingleChildren)},i.prototype.isGroupIncludeFooter=function(){return O(this.gridOptions.groupIncludeFooter)},i.prototype.isGroupIncludeTotalFooter=function(){return O(this.gridOptions.groupIncludeTotalFooter)},i.prototype.isGroupSuppressBlankHeader=function(){return O(this.gridOptions.groupSuppressBlankHeader)},i.prototype.isSuppressRowClickSelection=function(){return O(this.gridOptions.suppressRowClickSelection)},i.prototype.isSuppressCellSelection=function(){return O(this.gridOptions.suppressCellSelection)},i.prototype.isSuppressMultiSort=function(){return O(this.gridOptions.suppressMultiSort)},i.prototype.isMultiSortKeyCtrl=function(){return this.gridOptions.multiSortKey==="ctrl"},i.prototype.isPivotSuppressAutoColumn=function(){return O(this.gridOptions.pivotSuppressAutoColumn)},i.prototype.isSuppressDragLeaveHidesColumns=function(){return O(this.gridOptions.suppressDragLeaveHidesColumns)},i.prototype.isSuppressScrollOnNewData=function(){return O(this.gridOptions.suppressScrollOnNewData)},i.prototype.isSuppressScrollWhenPopupsAreOpen=function(){return O(this.gridOptions.suppressScrollWhenPopupsAreOpen)},i.prototype.isRowDragEntireRow=function(){return O(this.gridOptions.rowDragEntireRow)},i.prototype.isSuppressRowDrag=function(){return O(this.gridOptions.suppressRowDrag)},i.prototype.isRowDragManaged=function(){return O(this.gridOptions.rowDragManaged)},i.prototype.isSuppressMoveWhenRowDragging=function(){return O(this.gridOptions.suppressMoveWhenRowDragging)},i.prototype.isRowDragMultiRow=function(){return O(this.gridOptions.rowDragMultiRow)},i.prototype.getDomLayout=function(){var e=this.gridOptions.domLayout||E.DOM_LAYOUT_NORMAL,r=[E.DOM_LAYOUT_PRINT,E.DOM_LAYOUT_AUTO_HEIGHT,E.DOM_LAYOUT_NORMAL];return r.indexOf(e)===-1?(ie(function(){return console.warn("AG Grid: "+e+" is not valid for DOM Layout, valid values are "+E.DOM_LAYOUT_NORMAL+", "+E.DOM_LAYOUT_AUTO_HEIGHT+" and "+E.DOM_LAYOUT_PRINT)},"warn about dom layout values"),E.DOM_LAYOUT_NORMAL):e},i.prototype.isSuppressHorizontalScroll=function(){return O(this.gridOptions.suppressHorizontalScroll)},i.prototype.isSuppressMaxRenderedRowRestriction=function(){return O(this.gridOptions.suppressMaxRenderedRowRestriction)},i.prototype.isExcludeChildrenWhenTreeDataFiltering=function(){return O(this.gridOptions.excludeChildrenWhenTreeDataFiltering)},i.prototype.isAlwaysShowHorizontalScroll=function(){return O(this.gridOptions.alwaysShowHorizontalScroll)},i.prototype.isAlwaysShowVerticalScroll=function(){return O(this.gridOptions.alwaysShowVerticalScroll)},i.prototype.isDebounceVerticalScrollbar=function(){return O(this.gridOptions.debounceVerticalScrollbar)},i.prototype.isSuppressLoadingOverlay=function(){return O(this.gridOptions.suppressLoadingOverlay)},i.prototype.isSuppressNoRowsOverlay=function(){return O(this.gridOptions.suppressNoRowsOverlay)},i.prototype.isSuppressFieldDotNotation=function(){return O(this.gridOptions.suppressFieldDotNotation)},i.prototype.getPinnedTopRowData=function(){return this.gridOptions.pinnedTopRowData},i.prototype.getPinnedBottomRowData=function(){return this.gridOptions.pinnedBottomRowData},i.prototype.isFunctionsPassive=function(){return O(this.gridOptions.functionsPassive)},i.prototype.isSuppressChangeDetection=function(){return O(this.gridOptions.suppressChangeDetection)},i.prototype.isSuppressAnimationFrame=function(){return O(this.gridOptions.suppressAnimationFrame)},i.prototype.getQuickFilterText=function(){return this.gridOptions.quickFilterText},i.prototype.isCacheQuickFilter=function(){return O(this.gridOptions.cacheQuickFilter)},i.prototype.isUnSortIcon=function(){return O(this.gridOptions.unSortIcon)},i.prototype.isSuppressMenuHide=function(){return O(this.gridOptions.suppressMenuHide)},i.prototype.isEnterMovesDownAfterEdit=function(){return O(this.gridOptions.enterMovesDownAfterEdit)},i.prototype.isEnterMovesDown=function(){return O(this.gridOptions.enterMovesDown)},i.prototype.isUndoRedoCellEditing=function(){return O(this.gridOptions.undoRedoCellEditing)},i.prototype.getUndoRedoCellEditingLimit=function(){return rl(this.gridOptions.undoRedoCellEditingLimit)},i.prototype.getRowStyle=function(){return this.gridOptions.rowStyle},i.prototype.getRowClass=function(){return this.gridOptions.rowClass},i.prototype.getRowStyleFunc=function(){return this.gridOptions.getRowStyle},i.prototype.getRowClassFunc=function(){return this.gridOptions.getRowClass},i.prototype.rowClassRules=function(){return this.gridOptions.rowClassRules},i.prototype.getServerSideStoreType=function(){return this.gridOptions.serverSideStoreType},i.prototype.getServerSideStoreParamsFunc=function(){return this.gridOptions.getServerSideStoreParams},i.prototype.getCreateChartContainerFunc=function(){return this.gridOptions.createChartContainer},i.prototype.getPopupParent=function(){return this.gridOptions.popupParent},i.prototype.getBlockLoadDebounceMillis=function(){return this.gridOptions.blockLoadDebounceMillis},i.prototype.getPostProcessPopupFunc=function(){return this.gridOptions.postProcessPopup},i.prototype.getPaginationNumberFormatterFunc=function(){return this.gridOptions.paginationNumberFormatter},i.prototype.getChildCountFunc=function(){return this.gridOptions.getChildCount},i.prototype.getIsApplyServerSideTransactionFunc=function(){return this.gridOptions.isApplyServerSideTransaction},i.prototype.getDefaultGroupOrderComparator=function(){return this.gridOptions.defaultGroupOrderComparator},i.prototype.getIsFullWidthCellFunc=function(){return this.gridOptions.isFullWidthCell},i.prototype.getFullWidthCellRendererParams=function(){return this.gridOptions.fullWidthCellRendererParams},i.prototype.isEmbedFullWidthRows=function(){return O(this.gridOptions.embedFullWidthRows)||O(this.gridOptions.deprecatedEmbedFullWidthRows)},i.prototype.isDetailRowAutoHeight=function(){return O(this.gridOptions.detailRowAutoHeight)},i.prototype.getSuppressKeyboardEventFunc=function(){return this.gridOptions.suppressKeyboardEvent},i.prototype.getBusinessKeyForNodeFunc=function(){return this.gridOptions.getBusinessKeyForNode},i.prototype.getApi=function(){return this.gridOptions.api},i.prototype.getColumnApi=function(){return this.gridOptions.columnApi},i.prototype.isImmutableData=function(){return O(this.gridOptions.immutableData)},i.prototype.isEnsureDomOrder=function(){return O(this.gridOptions.ensureDomOrder)},i.prototype.isEnableCharts=function(){return O(this.gridOptions.enableCharts)?j.assertRegistered(c.ModuleNames.GridChartsModule,"enableCharts"):!1},i.prototype.getColResizeDefault=function(){return this.gridOptions.colResizeDefault},i.prototype.isSingleClickEdit=function(){return O(this.gridOptions.singleClickEdit)},i.prototype.isSuppressClickEdit=function(){return O(this.gridOptions.suppressClickEdit)},i.prototype.isStopEditingWhenCellsLoseFocus=function(){return O(this.gridOptions.stopEditingWhenCellsLoseFocus)},i.prototype.getGroupDefaultExpanded=function(){return this.gridOptions.groupDefaultExpanded},i.prototype.getMaxConcurrentDatasourceRequests=function(){return this.gridOptions.maxConcurrentDatasourceRequests},i.prototype.getMaxBlocksInCache=function(){return this.gridOptions.maxBlocksInCache},i.prototype.getCacheOverflowSize=function(){return this.gridOptions.cacheOverflowSize},i.prototype.getPaginationPageSize=function(){return rl(this.gridOptions.paginationPageSize)},i.prototype.isPaginateChildRows=function(){var e=this.isGroupRemoveSingleChildren()||this.isGroupRemoveLowestSingleChildren();return e?!0:O(this.gridOptions.paginateChildRows)},i.prototype.getCacheBlockSize=function(){return ol(this.gridOptions.cacheBlockSize)},i.prototype.getInfiniteInitialRowCount=function(){return this.gridOptions.infiniteInitialRowCount},i.prototype.isPurgeClosedRowNodes=function(){return O(this.gridOptions.purgeClosedRowNodes)},i.prototype.isSuppressPaginationPanel=function(){return O(this.gridOptions.suppressPaginationPanel)},i.prototype.getRowData=function(){return this.gridOptions.rowData},i.prototype.isEnableRtl=function(){return O(this.gridOptions.enableRtl)},i.prototype.getRowGroupPanelShow=function(){return this.gridOptions.rowGroupPanelShow},i.prototype.getPivotPanelShow=function(){return this.gridOptions.pivotPanelShow},i.prototype.isAngularCompileRows=function(){return O(this.gridOptions.angularCompileRows)},i.prototype.isAngularCompileFilters=function(){return O(this.gridOptions.angularCompileFilters)},i.prototype.isDebug=function(){return O(this.gridOptions.debug)},i.prototype.getColumnDefs=function(){return this.gridOptions.columnDefs},i.prototype.getColumnTypes=function(){return this.gridOptions.columnTypes},i.prototype.getDatasource=function(){return this.gridOptions.datasource},i.prototype.getViewportDatasource=function(){return this.gridOptions.viewportDatasource},i.prototype.getServerSideDatasource=function(){return this.gridOptions.serverSideDatasource},i.prototype.isAccentedSort=function(){return O(this.gridOptions.accentedSort)},i.prototype.isEnableBrowserTooltips=function(){return O(this.gridOptions.enableBrowserTooltips)},i.prototype.isEnableCellExpressions=function(){return O(this.gridOptions.enableCellExpressions)},i.prototype.isEnableGroupEdit=function(){return O(this.gridOptions.enableGroupEdit)},i.prototype.isSuppressMiddleClickScrolls=function(){return O(this.gridOptions.suppressMiddleClickScrolls)},i.prototype.isPreventDefaultOnContextMenu=function(){return O(this.gridOptions.preventDefaultOnContextMenu)},i.prototype.isSuppressPreventDefaultOnMouseWheel=function(){return O(this.gridOptions.suppressPreventDefaultOnMouseWheel)},i.prototype.isSuppressColumnVirtualisation=function(){return O(this.gridOptions.suppressColumnVirtualisation)},i.prototype.isSuppressContextMenu=function(){return O(this.gridOptions.suppressContextMenu)},i.prototype.isAllowContextMenuWithControlKey=function(){return O(this.gridOptions.allowContextMenuWithControlKey)},i.prototype.isSuppressCopyRowsToClipboard=function(){return O(this.gridOptions.suppressCopyRowsToClipboard)},i.prototype.isCopyHeadersToClipboard=function(){return O(this.gridOptions.copyHeadersToClipboard)},i.prototype.isSuppressClipboardPaste=function(){return O(this.gridOptions.suppressClipboardPaste)},i.prototype.isSuppressLastEmptyLineOnPaste=function(){return O(this.gridOptions.suppressLastEmptyLineOnPaste)},i.prototype.isPagination=function(){return O(this.gridOptions.pagination)},i.prototype.isSuppressEnterpriseResetOnNewColumns=function(){return O(this.gridOptions.suppressEnterpriseResetOnNewColumns)},i.prototype.getProcessDataFromClipboardFunc=function(){return this.gridOptions.processDataFromClipboard},i.prototype.getAsyncTransactionWaitMillis=function(){return y(this.gridOptions.asyncTransactionWaitMillis)?this.gridOptions.asyncTransactionWaitMillis:E.BATCH_WAIT_MILLIS},i.prototype.isSuppressMovableColumns=function(){return O(this.gridOptions.suppressMovableColumns)},i.prototype.isAnimateRows=function(){return this.isEnsureDomOrder()?!1:O(this.gridOptions.animateRows)},i.prototype.isSuppressColumnMoveAnimation=function(){return O(this.gridOptions.suppressColumnMoveAnimation)},i.prototype.isSuppressAggFuncInHeader=function(){return O(this.gridOptions.suppressAggFuncInHeader)},i.prototype.isSuppressAggAtRootLevel=function(){return O(this.gridOptions.suppressAggAtRootLevel)},i.prototype.isSuppressAggFilteredOnly=function(){return O(this.gridOptions.suppressAggFilteredOnly)},i.prototype.isShowOpenedGroup=function(){return O(this.gridOptions.showOpenedGroup)},i.prototype.isReactUi=function(){return O(this.gridOptions.reactUi)},i.prototype.isEnableRangeSelection=function(){return j.isRegistered(c.ModuleNames.RangeSelectionModule)&&O(this.gridOptions.enableRangeSelection)},i.prototype.isEnableRangeHandle=function(){return O(this.gridOptions.enableRangeHandle)},i.prototype.isEnableFillHandle=function(){return O(this.gridOptions.enableFillHandle)},i.prototype.getFillHandleDirection=function(){var e=this.gridOptions.fillHandleDirection;return e?e!=="x"&&e!=="y"&&e!=="xy"?(ie(function(){return console.warn("AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'.")},"warn invalid fill direction"),"xy"):e:"xy"},i.prototype.getFillOperation=function(){return this.gridOptions.fillOperation},i.prototype.isSuppressMultiRangeSelection=function(){return O(this.gridOptions.suppressMultiRangeSelection)},i.prototype.isPaginationAutoPageSize=function(){return O(this.gridOptions.paginationAutoPageSize)},i.prototype.isRememberGroupStateWhenNewData=function(){return O(this.gridOptions.rememberGroupStateWhenNewData)},i.prototype.getIcons=function(){return this.gridOptions.icons},i.prototype.getAggFuncs=function(){return this.gridOptions.aggFuncs},i.prototype.getSortingOrder=function(){return this.gridOptions.sortingOrder},i.prototype.getAlignedGrids=function(){return this.gridOptions.alignedGrids},i.prototype.isMasterDetail=function(){var e=O(this.gridOptions.masterDetail);return e?j.assertRegistered(c.ModuleNames.MasterDetailModule,"masterDetail"):!1},i.prototype.isKeepDetailRows=function(){return O(this.gridOptions.keepDetailRows)},i.prototype.getKeepDetailRowsCount=function(){var e=this.gridOptions.keepDetailRowsCount;return y(e)&&e>0?this.gridOptions.keepDetailRowsCount:xh},i.prototype.getIsRowMasterFunc=function(){return this.gridOptions.isRowMaster},i.prototype.getIsRowSelectableFunc=function(){return this.gridOptions.isRowSelectable},i.prototype.getGroupRowRendererParams=function(){return this.gridOptions.groupRowRendererParams},i.prototype.getOverlayLoadingTemplate=function(){return this.gridOptions.overlayLoadingTemplate},i.prototype.getOverlayNoRowsTemplate=function(){return this.gridOptions.overlayNoRowsTemplate},i.prototype.isSuppressAutoSize=function(){return O(this.gridOptions.suppressAutoSize)},i.prototype.isEnableCellTextSelection=function(){return O(this.gridOptions.enableCellTextSelection)},i.prototype.isSuppressParentsInRowNodes=function(){return O(this.gridOptions.suppressParentsInRowNodes)},i.prototype.isSuppressClipboardApi=function(){return O(this.gridOptions.suppressClipboardApi)},i.prototype.isFunctionsReadOnly=function(){return O(this.gridOptions.functionsReadOnly)},i.prototype.isFloatingFilter=function(){return this.gridOptions.floatingFilter},i.prototype.isEnableCellTextSelect=function(){return O(this.gridOptions.enableCellTextSelection)},i.prototype.isEnableOldSetFilterModel=function(){return O(this.gridOptions.enableOldSetFilterModel)},i.prototype.getDefaultColDef=function(){return this.gridOptions.defaultColDef},i.prototype.getDefaultColGroupDef=function(){return this.gridOptions.defaultColGroupDef},i.prototype.getDefaultExportParams=function(e){if(this.gridOptions.defaultExportParams)return console.warn("AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default"+Hs(e)+"ExportParams`'"),e==="csv"?this.gridOptions.defaultExportParams:this.gridOptions.defaultExportParams;if(e==="csv"&&this.gridOptions.defaultCsvExportParams)return this.gridOptions.defaultCsvExportParams;if(e==="excel"&&this.gridOptions.defaultExcelExportParams)return this.gridOptions.defaultExcelExportParams},i.prototype.isSuppressCsvExport=function(){return O(this.gridOptions.suppressCsvExport)},i.prototype.isAllowShowChangeAfterFilter=function(){return O(this.gridOptions.allowShowChangeAfterFilter)},i.prototype.isSuppressExcelExport=function(){return O(this.gridOptions.suppressExcelExport)},i.prototype.isSuppressMakeColumnVisibleAfterUnGroup=function(){return O(this.gridOptions.suppressMakeColumnVisibleAfterUnGroup)},i.prototype.getDataPathFunc=function(){return this.gridOptions.getDataPath},i.prototype.getIsServerSideGroupFunc=function(){return this.gridOptions.isServerSideGroup},i.prototype.getIsServerSideGroupOpenByDefaultFunc=function(){return this.gridOptions.isServerSideGroupOpenByDefault},i.prototype.getIsGroupOpenByDefaultFunc=function(){return this.gridOptions.isGroupOpenByDefault},i.prototype.getServerSideGroupKeyFunc=function(){return this.gridOptions.getServerSideGroupKey},i.prototype.getGroupRowAggNodesFunc=function(){return this.gridOptions.groupRowAggNodes},i.prototype.getContextMenuItemsFunc=function(){return this.gridOptions.getContextMenuItems},i.prototype.getMainMenuItemsFunc=function(){return this.gridOptions.getMainMenuItems},i.prototype.getRowNodeIdFunc=function(){return this.gridOptions.getRowNodeId},i.prototype.getNavigateToNextHeaderFunc=function(){return this.gridOptions.navigateToNextHeader},i.prototype.getTabToNextHeaderFunc=function(){return this.gridOptions.tabToNextHeader},i.prototype.getNavigateToNextCellFunc=function(){return this.gridOptions.navigateToNextCell},i.prototype.getTabToNextCellFunc=function(){return this.gridOptions.tabToNextCell},i.prototype.getGridTabIndex=function(){return(this.gridOptions.tabIndex||0).toString()},i.prototype.isTreeData=function(){var e=O(this.gridOptions.treeData);return e?j.assertRegistered(c.ModuleNames.RowGroupingModule,"Tree Data"):!1},i.prototype.isValueCache=function(){return O(this.gridOptions.valueCache)},i.prototype.isValueCacheNeverExpires=function(){return O(this.gridOptions.valueCacheNeverExpires)},i.prototype.isDeltaSort=function(){return O(this.gridOptions.deltaSort)},i.prototype.isAggregateOnlyChangedColumns=function(){return O(this.gridOptions.aggregateOnlyChangedColumns)},i.prototype.getProcessSecondaryColDefFunc=function(){return this.gridOptions.processSecondaryColDef},i.prototype.getProcessSecondaryColGroupDefFunc=function(){return this.gridOptions.processSecondaryColGroupDef},i.prototype.getSendToClipboardFunc=function(){return this.gridOptions.sendToClipboard},i.prototype.getProcessRowPostCreateFunc=function(){return this.gridOptions.processRowPostCreate},i.prototype.getProcessCellForClipboardFunc=function(){return this.gridOptions.processCellForClipboard},i.prototype.getProcessHeaderForClipboardFunc=function(){return this.gridOptions.processHeaderForClipboard},i.prototype.getProcessCellFromClipboardFunc=function(){return this.gridOptions.processCellFromClipboard},i.prototype.getViewportRowModelPageSize=function(){return ol(this.gridOptions.viewportRowModelPageSize,Lh)},i.prototype.getViewportRowModelBufferSize=function(){return Hh(this.gridOptions.viewportRowModelBufferSize,Gh)},i.prototype.isServerSideSortingAlwaysResets=function(){return O(this.gridOptions.serverSideSortingAlwaysResets)},i.prototype.isServerSideFilteringAlwaysResets=function(){return O(this.gridOptions.serverSideFilteringAlwaysResets)},i.prototype.getPostSortFunc=function(){return this.gridOptions.postSort},i.prototype.getChartToolbarItemsFunc=function(){return this.gridOptions.getChartToolbarItems},i.prototype.getChartThemeOverrides=function(){return this.gridOptions.chartThemeOverrides},i.prototype.getCustomChartThemes=function(){return this.gridOptions.customChartThemes},i.prototype.getChartThemes=function(){return this.gridOptions.chartThemes||["ag-default","ag-material","ag-pastel","ag-vivid","ag-solar"]},i.prototype.getClipboardDeliminator=function(){return y(this.gridOptions.clipboardDeliminator)?this.gridOptions.clipboardDeliminator:" "},i.prototype.setProperty=function(e,r,o){o===void 0&&(o=!1);var n=this.gridOptions,s=n[e];if(o||s!==r){n[e]=r;var a={type:e,currentValue:r,previousValue:s};this.propertyEventService.dispatchEvent(a)}},i.prototype.addEventListener=function(e,r){this.propertyEventService.addEventListener(e,r)},i.prototype.removeEventListener=function(e,r){this.propertyEventService.removeEventListener(e,r)},i.prototype.isSkipHeaderOnAutoSize=function(){return!!this.gridOptions.skipHeaderOnAutoSize},i.prototype.getAutoSizePadding=function(){var e=this.gridOptions.autoSizePadding;return e!=null&&e>=0?e:20},i.prototype.getHeaderHeight=function(){return typeof this.gridOptions.headerHeight=="number"?this.gridOptions.headerHeight:this.getFromTheme(25,"headerHeight")},i.prototype.getFloatingFiltersHeight=function(){return typeof this.gridOptions.floatingFiltersHeight=="number"?this.gridOptions.floatingFiltersHeight:this.getFromTheme(25,"headerHeight")},i.prototype.getGroupHeaderHeight=function(){return typeof this.gridOptions.groupHeaderHeight=="number"?this.gridOptions.groupHeaderHeight:this.getHeaderHeight()},i.prototype.getPivotHeaderHeight=function(){return typeof this.gridOptions.pivotHeaderHeight=="number"?this.gridOptions.pivotHeaderHeight:this.getHeaderHeight()},i.prototype.getPivotGroupHeaderHeight=function(){return typeof this.gridOptions.pivotGroupHeaderHeight=="number"?this.gridOptions.pivotGroupHeaderHeight:this.getGroupHeaderHeight()},i.prototype.isExternalFilterPresent=function(){return typeof this.gridOptions.isExternalFilterPresent=="function"?this.gridOptions.isExternalFilterPresent():!1},i.prototype.doesExternalFilterPass=function(e){return typeof this.gridOptions.doesExternalFilterPass=="function"?this.gridOptions.doesExternalFilterPass(e):!1},i.prototype.getTooltipShowDelay=function(){var e=this.gridOptions.tooltipShowDelay;return y(e)?(e<0&&console.warn("ag-grid: tooltipShowDelay should not be lower than 0"),Math.max(200,e)):null},i.prototype.isTooltipMouseTrack=function(){return O(this.gridOptions.tooltipMouseTrack)},i.prototype.isSuppressModelUpdateAfterUpdateTransaction=function(){return O(this.gridOptions.suppressModelUpdateAfterUpdateTransaction)},i.prototype.getDocument=function(){var e=null;return this.gridOptions.getDocument&&y(this.gridOptions.getDocument)&&(e=this.gridOptions.getDocument()),e&&y(e)?e:document},i.prototype.getMinColWidth=function(){var e=this.gridOptions.minColWidth;if(y(e)&&e>t.MIN_COL_WIDTH)return this.gridOptions.minColWidth;var r=this.getFromTheme(null,"headerCellMinWidth");return y(r)?Math.max(r,t.MIN_COL_WIDTH):t.MIN_COL_WIDTH},i.prototype.getMaxColWidth=function(){return this.gridOptions.maxColWidth&&this.gridOptions.maxColWidth>t.MIN_COL_WIDTH?this.gridOptions.maxColWidth:null},i.prototype.getColWidth=function(){return typeof this.gridOptions.colWidth!="number"||this.gridOptions.colWidth=0,r=e?this.gridOptions.scrollbarWidth:Ys();r!=null&&(this.scrollbarWidth=r,this.eventService.dispatchEvent({type:g.EVENT_SCROLLBAR_WIDTH_CHANGED}))}return this.scrollbarWidth},i.prototype.checkForDeprecated=function(){var e=this.gridOptions;e.deprecatedEmbedFullWidthRows&&console.warn("AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows."),e.enableOldSetFilterModel&&console.warn("AG Grid: since v22.x, enableOldSetFilterModel is deprecated. Please move to the new Set Filter Model as the old one may not be supported in v23 onwards."),e.floatingFilter&&(console.warn("AG Grid: since v23.1, floatingFilter on the gridOptions is deprecated. Please use floatingFilter on the colDef instead."),e.defaultColDef||(e.defaultColDef={}),e.defaultColDef.floatingFilter==null&&(e.defaultColDef.floatingFilter=!0)),e.rowDeselection&&console.warn("AG Grid: since v24.x, rowDeselection is deprecated and the behaviour is true by default. Please use `suppressRowDeselection` to prevent rows from being deselected."),e.enableMultiRowDragging&&(e.rowDragMultiRow=!0,delete e.enableMultiRowDragging,console.warn("AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`."));var r=function(s,a,l){e[s]!=null&&(console.warn("ag-grid: since version "+l+", '"+s+"' is deprecated / renamed, please use the new property name '"+a+"' instead."),e[a]==null&&(e[a]=e[s]))};if(r("batchUpdateWaitMillis","asyncTransactionWaitMillis","23.1.x"),r("deltaRowDataMode","immutableData","23.1.x"),(e.immutableColumns||e.deltaColumnMode)&&console.warn("AG Grid: since v24.0, immutableColumns and deltaColumnMode properties are gone. The grid now works like this as default. To keep column order maintained, set grid property applyColumnDefOrder=true"),r("suppressSetColumnStateEvents","suppressColumnStateEvents","24.0.x"),e.groupRowInnerRenderer||e.groupRowInnerRendererParams||e.groupRowInnerRendererFramework){console.warn("AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used."),console.warn(" Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams."),console.warn(" For example instead of this:"),console.warn(' groupRowInnerRenderer: "myRenderer"'),console.warn(" groupRowInnerRendererParams: {x: a}"),console.warn(" Replace with this:"),console.warn(" groupRowRendererParams: {"),console.warn(' innerRenderer: "myRenderer",'),console.warn(" innerRendererParams: {x: a}"),console.warn(" }"),console.warn(" We have copied the properties over for you. However to stop this error message, please change your application code."),e.groupRowRendererParams||(e.groupRowRendererParams={});var o=e.groupRowRendererParams;e.groupRowInnerRenderer&&(o.innerRenderer=e.groupRowInnerRenderer),e.groupRowInnerRendererParams&&(o.innerRendererParams=e.groupRowInnerRendererParams),e.groupRowInnerRendererFramework&&(o.innerRendererFramework=e.groupRowInnerRendererFramework)}if(e.rememberGroupStateWhenNewData&&console.warn("AG Grid: since v24.0, grid property rememberGroupStateWhenNewData is deprecated. This feature was provided before Transaction Updates worked (which keep group state). Now that transaction updates are possible and they keep group state, this feature is no longer needed."),e.detailCellRendererParams&&e.detailCellRendererParams.autoHeight&&(console.warn("AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer"),e.detailRowAutoHeight=!0),e.suppressKeyboardEvent&&console.warn(`AG Grid: since v24.1 suppressKeyboardEvent in the gridOptions has been deprecated and will be removed in + future versions of AG Grid. If you need this to be set for every column use the defaultColDef property.`),e.suppressEnterpriseResetOnNewColumns&&console.warn("AG Grid: since v25, grid property suppressEnterpriseResetOnNewColumns is deprecated. This was a temporary property to allow changing columns in Server Side Row Model without triggering a reload. Now that it is possible to dynamically change columns in the grid, this is no longer needed."),e.suppressColumnStateEvents&&console.warn('AG Grid: since v25, grid property suppressColumnStateEvents no longer works due to a refactor that we did. It should be possible to achieve similar using event.source, which would be "api" if the event was due to setting column state via the API'),e.defaultExportParams&&console.warn("AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`."),e.stopEditingWhenGridLosesFocus&&(console.warn("AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`."),e.stopEditingWhenCellsLoseFocus=!0),e.applyColumnDefOrder&&console.warn("AG Grid: since v26.0, the grid property `applyColumnDefOrder` is no longer needed, as this is the default behaviour. To turn this behaviour off, set maintainColumnOrder=true"),e.groupMultiAutoColumn&&(console.warn("AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`"),e.groupDisplayType="multipleColumns"),e.groupUseEntireRow&&(console.warn("AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`"),e.groupDisplayType="groupRows"),e.groupSuppressAutoColumn){var n=e.treeData?"treeDataDisplayType":"groupDisplayType";console.warn("AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `"+n+" = 'custom'`"),e.groupDisplayType="custom"}e.defaultGroupSortComparator&&(console.warn("AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `defaultGroupOrderComparator`"),e.defaultGroupOrderComparator=e.defaultGroupSortComparator),e.colWidth&&console.warn("AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`."),e.minColWidth&&console.warn("AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`."),e.maxColWidth&&console.warn("AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.")},i.prototype.checkForViolations=function(){this.isTreeData()&&this.treeDataViolations()},i.prototype.treeDataViolations=function(){this.isRowModelDefault()&&m(this.getDataPathFunc())&&console.warn("AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not provide getDataPath function, please provide getDataPath function if using tree data."),this.isRowModelServerSide()&&(m(this.getIsServerSideGroupFunc())&&console.warn("AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide isServerSideGroup function, please provide isServerSideGroup function if using tree data."),m(this.getServerSideGroupKeyFunc())&&console.warn("AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data."))},i.prototype.getLocaleTextFunc=function(){if(this.gridOptions.localeTextFunc)return this.gridOptions.localeTextFunc;var e=this.gridOptions.localeText;return function(r,o){return e&&e[r]?e[r]:o}},i.prototype.globalEventHandler=function(e,r){if(!this.destroyed){var o=Ue.getCallbackForEvent(e);typeof this.gridOptions[o]=="function"&&this.gridOptions[o](r)}},i.prototype.getRowHeightAsNumber=function(){return!this.gridOptions.rowHeight||m(this.gridOptions.rowHeight)?this.getDefaultRowHeight():this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:(console.warn("AG Grid row height must be a number if not using standard row model"),this.getDefaultRowHeight())},i.prototype.getRowHeightForNode=function(e,r,o){if(r===void 0&&(r=!1),o==null&&(o=this.getDefaultRowHeight()),typeof this.gridOptions.getRowHeight=="function"){if(r)return{height:o,estimated:!0};var n={node:e,data:e.data,api:this.gridOptions.api,context:this.gridOptions.context},s=this.gridOptions.getRowHeight(n);if(this.isNumeric(s))return s===0&&ie(function(){return console.warn("AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.")},"invalidRowHeight"),{height:Math.max(1,s),estimated:!1}}if(e.detail&&this.isMasterDetail())return this.isNumeric(this.gridOptions.detailRowHeight)?{height:this.gridOptions.detailRowHeight,estimated:!1}:{height:Mh,estimated:!1};var a=this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:o;return{height:a,estimated:!1}},i.prototype.isDynamicRowHeight=function(){return typeof this.gridOptions.getRowHeight=="function"},i.prototype.getListItemHeight=function(){return this.getFromTheme(20,"listItemHeight")},i.prototype.chartMenuPanelWidth=function(){return this.environment.chartMenuPanelWidth()},i.prototype.isNumeric=function(e){return!isNaN(e)&&typeof e=="number"&&isFinite(e)},i.prototype.getFromTheme=function(e,r){var o=this.environment.getTheme().theme;return o&&o.indexOf("ag-theme")===0?this.environment.getSassVariable(o,r):e},i.prototype.getDefaultRowHeight=function(){return this.getFromTheme(Nh,"rowHeight")},i.prototype.matchesGroupDisplayType=function(e,r){var o=["groupRows","multipleColumns","custom","singleColumn"];return o.indexOf(r)<0?(console.warn("AG Grid: '"+r+"' is not a valid groupDisplayType value - possible values are: '"+o.join("', '")+"'"),!1):r===e},i.prototype.matchesTreeDataDisplayType=function(e,r){var o=["auto","custom"];return o.indexOf(r)<0?(console.warn("AG Grid: '"+r+"' is not a valid treeDataDisplayType value - possible values are: '"+o.join("', '")+"'"),!1):r===e};var t;return i.MIN_COL_WIDTH=10,i.PROP_HEADER_HEIGHT="headerHeight",i.PROP_GROUP_REMOVE_SINGLE_CHILDREN="groupRemoveSingleChildren",i.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN="groupRemoveLowestSingleChildren",i.PROP_PIVOT_HEADER_HEIGHT="pivotHeaderHeight",i.PROP_SUPPRESS_CLIPBOARD_PASTE="suppressClipboardPaste",i.PROP_GROUP_HEADER_HEIGHT="groupHeaderHeight",i.PROP_PIVOT_GROUP_HEADER_HEIGHT="pivotGroupHeaderHeight",i.PROP_NAVIGATE_TO_NEXT_CELL="navigateToNextCell",i.PROP_TAB_TO_NEXT_CELL="tabToNextCell",i.PROP_NAVIGATE_TO_NEXT_HEADER="navigateToNextHeader",i.PROP_TAB_TO_NEXT_HEADER="tabToNextHeader",i.PROP_IS_EXTERNAL_FILTER_PRESENT="isExternalFilterPresent",i.PROP_DOES_EXTERNAL_FILTER_PASS="doesExternalFilterPass",i.PROP_FLOATING_FILTERS_HEIGHT="floatingFiltersHeight",i.PROP_SUPPRESS_ROW_CLICK_SELECTION="suppressRowClickSelection",i.PROP_SUPPRESS_ROW_DRAG="suppressRowDrag",i.PROP_SUPPRESS_MOVE_WHEN_ROW_DRAG="suppressMoveWhenRowDragging",i.PROP_GET_ROW_CLASS="getRowClass",i.PROP_GET_ROW_STYLE="getRowStyle",i.PROP_GET_ROW_HEIGHT="getRowHeight",i.PROP_POPUP_PARENT="popupParent",i.PROP_DOM_LAYOUT="domLayout",i.PROP_FILL_HANDLE_DIRECTION="fillHandleDirection",i.PROP_GROUP_ROW_AGG_NODES="groupRowAggNodes",i.PROP_GET_BUSINESS_KEY_FOR_NODE="getBusinessKeyForNode",i.PROP_GET_CHILD_COUNT="getChildCount",i.PROP_PROCESS_ROW_POST_CREATE="processRowPostCreate",i.PROP_GET_ROW_NODE_ID="getRowNodeId",i.PROP_IS_FULL_WIDTH_CELL="isFullWidthCell",i.PROP_IS_ROW_SELECTABLE="isRowSelectable",i.PROP_IS_ROW_MASTER="isRowMaster",i.PROP_POST_SORT="postSort",i.PROP_GET_DOCUMENT="getDocument",i.PROP_POST_PROCESS_POPUP="postProcessPopup",i.PROP_DEFAULT_GROUP_ORDER_COMPARATOR="defaultGroupOrderComparator",i.PROP_PAGINATION_NUMBER_FORMATTER="paginationNumberFormatter",i.PROP_GET_CONTEXT_MENU_ITEMS="getContextMenuItems",i.PROP_GET_MAIN_MENU_ITEMS="getMainMenuItems",i.PROP_PROCESS_CELL_FOR_CLIPBOARD="processCellForClipboard",i.PROP_PROCESS_CELL_FROM_CLIPBOARD="processCellFromClipboard",i.PROP_SEND_TO_CLIPBOARD="sendToClipboard",i.PROP_PROCESS_TO_SECONDARY_COLDEF="processSecondaryColDef",i.PROP_PROCESS_SECONDARY_COL_GROUP_DEF="processSecondaryColGroupDef",i.PROP_GET_CHART_TOOLBAR_ITEMS="getChartToolbarItems",i.PROP_GET_SERVER_SIDE_STORE_PARAMS="getServerSideStoreParams",i.PROP_IS_SERVER_SIDE_GROUPS_OPEN_BY_DEFAULT="isServerSideGroupOpenByDefault",i.PROP_IS_APPLY_SERVER_SIDE_TRANSACTION="isApplyServerSideTransaction",i.PROP_IS_SERVER_SIDE_GROUP="isServerSideGroup",i.PROP_GET_SERVER_SIDE_GROUP_KEY="getServerSideGroupKey",xt([h("gridOptions")],i.prototype,"gridOptions",void 0),xt([h("eventService")],i.prototype,"eventService",void 0),xt([h("environment")],i.prototype,"environment",void 0),xt([tl(0,Re("gridApi")),tl(1,Re("columnApi"))],i.prototype,"agWire",null),xt([ve],i.prototype,"destroy",null),xt([I],i.prototype,"init",null),i=t=xt([L("gridOptionsWrapper")],i),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Po=function(){function i(t,e){this.active=!0,this.nodeIdsToColumns={},this.mapToItems={},this.keepingColumns=t,this.pathRoot={rowNode:e,children:null},this.mapToItems[e.id]=this.pathRoot}return i.prototype.setInactive=function(){this.active=!1},i.prototype.isActive=function(){return this.active},i.prototype.depthFirstSearchChangedPath=function(t,e){if(t.children)for(var r=0;r=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Wh=function(i,t){return function(e,r){t(e,r,i)}},nl=function(i){Vh(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.setBeans=function(e){this.logger=e.create("selectionService"),this.reset(),this.gridOptionsWrapper.isRowModelDefault()&&this.addManagedListener(this.eventService,g.EVENT_ROW_DATA_CHANGED,this.reset.bind(this))},t.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.addManagedListener(this.eventService,g.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))},t.prototype.setLastSelectedNode=function(e){this.lastSelectedNode=e},t.prototype.getLastSelectedNode=function(){return this.lastSelectedNode},t.prototype.getSelectedNodes=function(){var e=[];return te(this.selectedNodes,function(r,o){o&&e.push(o)}),e},t.prototype.getSelectedRows=function(){var e=[];return te(this.selectedNodes,function(r,o){o&&o.data&&e.push(o.data)}),e},t.prototype.removeGroupsFromSelection=function(){var e=this;te(this.selectedNodes,function(r,o){o&&o.group&&(e.selectedNodes[o.id]=void 0)})},t.prototype.updateGroupsFromChildrenSelections=function(e){if(!!this.gridOptionsWrapper.isGroupSelectsChildren()&&this.rowModel.getType()===E.ROW_MODEL_TYPE_CLIENT_SIDE){var r=this.rowModel,o=r.getRootNode();e||(e=new Po(!0,o),e.setInactive()),e.forEachChangedNodeDepthFirst(function(n){n!==o&&n.calculateSelectedFromChildren()})}},t.prototype.getNodeForIdIfSelected=function(e){return this.selectedNodes[e]},t.prototype.clearOtherNodes=function(e){var r=this,o={},n=0;return te(this.selectedNodes,function(s,a){if(a&&a.id!==e.id){var l=r.selectedNodes[a.id];n+=l.setSelectedParams({newValue:!1,clearSelection:!1,suppressFinishActions:!0}),r.groupSelectsChildren&&a.parent&&(o[a.parent.id]=a.parent)}}),te(o,function(s,a){a.calculateSelectedFromChildren()}),n},t.prototype.onRowSelected=function(e){var r=e.node;this.groupSelectsChildren&&r.group||(r.isSelected()?this.selectedNodes[r.id]=r:this.selectedNodes[r.id]=void 0)},t.prototype.syncInRowNode=function(e,r){this.syncInOldRowNode(e,r),this.syncInNewRowNode(e)},t.prototype.syncInOldRowNode=function(e,r){var o=y(r)&&e.id!==r.id;if(o&&r){var n=r.id,s=this.selectedNodes[n]==e;s&&(this.selectedNodes[r.id]=r)}},t.prototype.syncInNewRowNode=function(e){y(this.selectedNodes[e.id])?(e.setSelectedInitialValue(!0),this.selectedNodes[e.id]=e):e.setSelectedInitialValue(!1)},t.prototype.reset=function(){this.logger.log("reset"),this.selectedNodes={},this.lastSelectedNode=null},t.prototype.getBestCostNodeSelection=function(){if(this.rowModel.getType()!==E.ROW_MODEL_TYPE_CLIENT_SIDE){console.warn("getBestCostNodeSelection is only available when using normal row model");return}var e=this.rowModel,r=e.getTopLevelNodes();if(r===null){console.warn("selectAll not available doing rowModel=virtual");return}var o=[];function n(s){for(var a=0,l=s.length;a=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},il=function(){function i(){}return i.prototype.sizeColumnsToFit=function(t){typeof t=="undefined"&&console.error("AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)"),this.columnModel.sizeColumnsToFit(t,"api")},i.prototype.setColumnGroupOpened=function(t,e){this.columnModel.setColumnGroupOpened(t,e,"api")},i.prototype.getColumnGroup=function(t,e){return this.columnModel.getColumnGroup(t,e)},i.prototype.getOriginalColumnGroup=function(t){return this.columnModel.getOriginalColumnGroup(t)},i.prototype.getDisplayNameForColumn=function(t,e){return this.columnModel.getDisplayNameForColumn(t,e)||""},i.prototype.getDisplayNameForColumnGroup=function(t,e){return this.columnModel.getDisplayNameForColumnGroup(t,e)||""},i.prototype.getColumn=function(t){return this.columnModel.getPrimaryColumn(t)},i.prototype.applyColumnState=function(t){return this.columnModel.applyColumnState(t,"api")},i.prototype.getColumnState=function(){return this.columnModel.getColumnState()},i.prototype.resetColumnState=function(){this.columnModel.resetColumnState("api")},i.prototype.getColumnGroupState=function(){return this.columnModel.getColumnGroupState()},i.prototype.setColumnGroupState=function(t){this.columnModel.setColumnGroupState(t,"api")},i.prototype.resetColumnGroupState=function(){this.columnModel.resetColumnGroupState("api")},i.prototype.isPinning=function(){return this.columnModel.isPinningLeft()||this.columnModel.isPinningRight()},i.prototype.isPinningLeft=function(){return this.columnModel.isPinningLeft()},i.prototype.isPinningRight=function(){return this.columnModel.isPinningRight()},i.prototype.getDisplayedColAfter=function(t){return this.columnModel.getDisplayedColAfter(t)},i.prototype.getDisplayedColBefore=function(t){return this.columnModel.getDisplayedColBefore(t)},i.prototype.setColumnVisible=function(t,e){this.columnModel.setColumnVisible(t,e,"api")},i.prototype.setColumnsVisible=function(t,e){this.columnModel.setColumnsVisible(t,e,"api")},i.prototype.setColumnPinned=function(t,e){this.columnModel.setColumnPinned(t,e,"api")},i.prototype.setColumnsPinned=function(t,e){this.columnModel.setColumnsPinned(t,e,"api")},i.prototype.getAllColumns=function(){return this.columnModel.getAllPrimaryColumns()},i.prototype.getAllGridColumns=function(){return this.columnModel.getAllGridColumns()},i.prototype.getDisplayedLeftColumns=function(){return this.columnModel.getDisplayedLeftColumns()},i.prototype.getDisplayedCenterColumns=function(){return this.columnModel.getDisplayedCenterColumns()},i.prototype.getDisplayedRightColumns=function(){return this.columnModel.getDisplayedRightColumns()},i.prototype.getAllDisplayedColumns=function(){return this.columnModel.getAllDisplayedColumns()},i.prototype.getAllDisplayedVirtualColumns=function(){return this.columnModel.getViewportColumns()},i.prototype.moveColumn=function(t,e){typeof t=="number"?(console.warn("AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead"),this.columnModel.moveColumnByIndex(t,e,"api")):this.columnModel.moveColumn(t,e,"api")},i.prototype.moveColumnByIndex=function(t,e){this.columnModel.moveColumnByIndex(t,e,"api")},i.prototype.moveColumns=function(t,e){this.columnModel.moveColumns(t,e,"api")},i.prototype.moveRowGroupColumn=function(t,e){this.columnModel.moveRowGroupColumn(t,e)},i.prototype.setColumnAggFunc=function(t,e){this.columnModel.setColumnAggFunc(t,e)},i.prototype.setColumnWidth=function(t,e,r,o){r===void 0&&(r=!0),this.columnModel.setColumnWidths([{key:t,newWidth:e}],!1,r,o)},i.prototype.setColumnWidths=function(t,e,r){e===void 0&&(e=!0),this.columnModel.setColumnWidths(t,!1,e,r)},i.prototype.setPivotMode=function(t){this.columnModel.setPivotMode(t)},i.prototype.isPivotMode=function(){return this.columnModel.isPivotMode()},i.prototype.getSecondaryPivotColumn=function(t,e){return this.columnModel.getSecondaryPivotColumn(t,e)},i.prototype.setValueColumns=function(t){this.columnModel.setValueColumns(t,"api")},i.prototype.getValueColumns=function(){return this.columnModel.getValueColumns()},i.prototype.removeValueColumn=function(t){this.columnModel.removeValueColumn(t,"api")},i.prototype.removeValueColumns=function(t){this.columnModel.removeValueColumns(t,"api")},i.prototype.addValueColumn=function(t){this.columnModel.addValueColumn(t,"api")},i.prototype.addValueColumns=function(t){this.columnModel.addValueColumns(t,"api")},i.prototype.setRowGroupColumns=function(t){this.columnModel.setRowGroupColumns(t,"api")},i.prototype.removeRowGroupColumn=function(t){this.columnModel.removeRowGroupColumn(t,"api")},i.prototype.removeRowGroupColumns=function(t){this.columnModel.removeRowGroupColumns(t,"api")},i.prototype.addRowGroupColumn=function(t){this.columnModel.addRowGroupColumn(t,"api")},i.prototype.addRowGroupColumns=function(t){this.columnModel.addRowGroupColumns(t,"api")},i.prototype.getRowGroupColumns=function(){return this.columnModel.getRowGroupColumns()},i.prototype.setPivotColumns=function(t){this.columnModel.setPivotColumns(t,"api")},i.prototype.removePivotColumn=function(t){this.columnModel.removePivotColumn(t,"api")},i.prototype.removePivotColumns=function(t){this.columnModel.removePivotColumns(t,"api")},i.prototype.addPivotColumn=function(t){this.columnModel.addPivotColumn(t,"api")},i.prototype.addPivotColumns=function(t){this.columnModel.addPivotColumns(t,"api")},i.prototype.getPivotColumns=function(){return this.columnModel.getPivotColumns()},i.prototype.getLeftDisplayedColumnGroups=function(){return this.columnModel.getDisplayedTreeLeft()},i.prototype.getCenterDisplayedColumnGroups=function(){return this.columnModel.getDisplayedTreeCentre()},i.prototype.getRightDisplayedColumnGroups=function(){return this.columnModel.getDisplayedTreeRight()},i.prototype.getAllDisplayedColumnGroups=function(){return this.columnModel.getAllDisplayedTrees()},i.prototype.autoSizeColumn=function(t,e){return this.columnModel.autoSizeColumn(t,e,"api")},i.prototype.autoSizeColumns=function(t,e){return this.columnModel.autoSizeColumns(t,e,"api")},i.prototype.autoSizeAllColumns=function(t){this.columnModel.autoSizeAllColumns(t,"api")},i.prototype.setSecondaryColumns=function(t){this.columnModel.setSecondaryColumns(t,"api")},i.prototype.getSecondaryColumns=function(){return this.columnModel.getSecondaryColumns()},i.prototype.getPrimaryColumns=function(){return this.columnModel.getAllPrimaryColumns()},i.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid=function(){setTimeout(x.removeAllReferences.bind(window,this,"Column API"),100)},i.prototype.columnGroupOpened=function(t,e){console.error("AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened"),this.setColumnGroupOpened(t,e)},i.prototype.hideColumns=function(t,e){console.error("AG Grid: hideColumns is deprecated, use setColumnsVisible"),this.columnModel.setColumnsVisible(t,!e,"api")},i.prototype.hideColumn=function(t,e){console.error("AG Grid: hideColumn is deprecated, use setColumnVisible"),this.columnModel.setColumnVisible(t,!e,"api")},i.prototype.setState=function(t){return console.error("AG Grid: setState is deprecated, use setColumnState"),this.setColumnState(t)},i.prototype.getState=function(){return console.error("AG Grid: getState is deprecated, use getColumnState"),this.getColumnState()},i.prototype.resetState=function(){console.error("AG Grid: resetState is deprecated, use resetColumnState"),this.resetColumnState()},i.prototype.getAggregationColumns=function(){return console.error("AG Grid: getAggregationColumns is deprecated, use getValueColumns"),this.columnModel.getValueColumns()},i.prototype.removeAggregationColumn=function(t){console.error("AG Grid: removeAggregationColumn is deprecated, use removeValueColumn"),this.columnModel.removeValueColumn(t,"api")},i.prototype.removeAggregationColumns=function(t){console.error("AG Grid: removeAggregationColumns is deprecated, use removeValueColumns"),this.columnModel.removeValueColumns(t,"api")},i.prototype.addAggregationColumn=function(t){console.error("AG Grid: addAggregationColumn is deprecated, use addValueColumn"),this.columnModel.addValueColumn(t,"api")},i.prototype.addAggregationColumns=function(t){console.error("AG Grid: addAggregationColumns is deprecated, use addValueColumns"),this.columnModel.addValueColumns(t,"api")},i.prototype.setColumnAggFunction=function(t,e){console.error("AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc"),this.columnModel.setColumnAggFunc(t,e,"api")},i.prototype.getDisplayNameForCol=function(t){return console.error("AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn"),this.getDisplayNameForColumn(t,null)},i.prototype.setColumnState=function(t){return console.error("AG Grid: setColumnState is deprecated, use applyColumnState"),this.columnModel.applyColumnState({state:t,applyOrder:!0},"api")},wi([h("columnModel")],i.prototype,"columnModel",void 0),wi([ve],i.prototype,"cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid",null),i=wi([L("columnApi")],i),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */(function(i){i[i.FILL=0]="FILL",i[i.RANGE=1]="RANGE"})(c.SelectionHandleType||(c.SelectionHandleType={})),function(i){i[i.VALUE=0]="VALUE",i[i.DIMENSION=1]="DIMENSION"}(c.CellRangeType||(c.CellRangeType={}));/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var br="ag-cell-range-selected",Bh="ag-cell-range-chart",Uh="ag-cell-range-single-cell",jh="ag-cell-range-chart-category",kh="ag-cell-range-handle",zh="ag-cell-range-top",$h="ag-cell-range-right",Kh="ag-cell-range-bottom",Yh="ag-cell-range-left",qh=function(){function i(t,e){this.beans=t,this.cellCtrl=e}return i.prototype.setComp=function(t){this.cellComp=t,this.onRangeSelectionChanged()},i.prototype.onRangeSelectionChanged=function(){this.rangeCount=this.beans.rangeService.getCellRangeCount(this.cellCtrl.getCellPosition()),this.hasChartRange=this.getHasChartRange(),this.cellComp.addOrRemoveCssClass(br,this.rangeCount!==0),this.cellComp.addOrRemoveCssClass(br+"-1",this.rangeCount===1),this.cellComp.addOrRemoveCssClass(br+"-2",this.rangeCount===2),this.cellComp.addOrRemoveCssClass(br+"-3",this.rangeCount===3),this.cellComp.addOrRemoveCssClass(br+"-4",this.rangeCount>=4),this.cellComp.addOrRemoveCssClass(Bh,this.hasChartRange),this.cellComp.setAriaSelected(this.rangeCount>0?!0:void 0),this.cellComp.addOrRemoveCssClass(Uh,this.isSingleCell()),this.updateRangeBorders(),this.refreshHandle()},i.prototype.updateRangeBorders=function(){var t=this.getRangeBorders(),e=this.isSingleCell(),r=!e&&t.top,o=!e&&t.right,n=!e&&t.bottom,s=!e&&t.left;this.cellComp.addOrRemoveCssClass(zh,r),this.cellComp.addOrRemoveCssClass($h,o),this.cellComp.addOrRemoveCssClass(Kh,n),this.cellComp.addOrRemoveCssClass(Yh,s)},i.prototype.isSingleCell=function(){var t=this.beans.rangeService;return this.rangeCount===1&&t&&!t.isMoreThanOneCell()},i.prototype.getHasChartRange=function(){var t=this.beans.rangeService;if(!this.rangeCount||!t)return!1;var e=t.getCellRanges();return e.length>0&&e.every(function(r){return Ve([c.CellRangeType.DIMENSION,c.CellRangeType.VALUE],r.type)})},i.prototype.updateRangeBordersIfRangeCount=function(){this.rangeCount>0&&(this.updateRangeBorders(),this.refreshHandle())},i.prototype.getRangeBorders=function(){var t=this,e=this.beans.gridOptionsWrapper.isEnableRtl(),r=!1,o=!1,n=!1,s=!1,a=this.cellCtrl.getCellPosition().column,l=this.beans,u=l.rangeService,p=l.columnModel,d,f;e?(d=p.getDisplayedColAfter(a),f=p.getDisplayedColBefore(a)):(d=p.getDisplayedColBefore(a),f=p.getDisplayedColAfter(a));var v=u.getCellRanges().filter(function(A){return u.isCellInSpecificRange(t.cellCtrl.getCellPosition(),A)});d||(s=!0),f||(o=!0);for(var C=0;C=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ri=function(){function i(){}return i.prototype.postConstruct=function(){this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail(),this.gridOptionsWrapper.isRowModelDefault()&&(this.clientSideRowModel=this.rowModel),this.gridOptionsWrapper.isRowModelServerSide()&&(this.serverSideRowModel=this.rowModel)},z([h("resizeObserverService")],i.prototype,"resizeObserverService",void 0),z([h("paginationProxy")],i.prototype,"paginationProxy",void 0),z([h("context")],i.prototype,"context",void 0),z([h("columnApi")],i.prototype,"columnApi",void 0),z([h("gridApi")],i.prototype,"gridApi",void 0),z([h("gridOptionsWrapper")],i.prototype,"gridOptionsWrapper",void 0),z([h("expressionService")],i.prototype,"expressionService",void 0),z([h("rowRenderer")],i.prototype,"rowRenderer",void 0),z([h("$compile")],i.prototype,"$compile",void 0),z([h("templateService")],i.prototype,"templateService",void 0),z([h("valueService")],i.prototype,"valueService",void 0),z([h("eventService")],i.prototype,"eventService",void 0),z([h("columnModel")],i.prototype,"columnModel",void 0),z([h("headerNavigationService")],i.prototype,"headerNavigationService",void 0),z([h("navigationService")],i.prototype,"navigationService",void 0),z([h("columnAnimationService")],i.prototype,"columnAnimationService",void 0),z([Z("rangeService")],i.prototype,"rangeService",void 0),z([h("focusService")],i.prototype,"focusService",void 0),z([Z("contextMenuFactory")],i.prototype,"contextMenuFactory",void 0),z([h("popupService")],i.prototype,"popupService",void 0),z([h("valueFormatterService")],i.prototype,"valueFormatterService",void 0),z([h("stylingService")],i.prototype,"stylingService",void 0),z([h("columnHoverService")],i.prototype,"columnHoverService",void 0),z([h("userComponentFactory")],i.prototype,"userComponentFactory",void 0),z([h("userComponentRegistry")],i.prototype,"userComponentRegistry",void 0),z([h("animationFrameService")],i.prototype,"animationFrameService",void 0),z([h("dragAndDropService")],i.prototype,"dragAndDropService",void 0),z([h("sortController")],i.prototype,"sortController",void 0),z([h("filterManager")],i.prototype,"filterManager",void 0),z([h("rowContainerHeightService")],i.prototype,"rowContainerHeightService",void 0),z([h("frameworkOverrides")],i.prototype,"frameworkOverrides",void 0),z([h("cellPositionUtils")],i.prototype,"cellPositionUtils",void 0),z([h("rowPositionUtils")],i.prototype,"rowPositionUtils",void 0),z([h("selectionService")],i.prototype,"selectionService",void 0),z([Z("selectionHandleFactory")],i.prototype,"selectionHandleFactory",void 0),z([h("rowCssClassCalculator")],i.prototype,"rowCssClassCalculator",void 0),z([h("rowModel")],i.prototype,"rowModel",void 0),z([h("ctrlsService")],i.prototype,"ctrlsService",void 0),z([h("ctrlsFactory")],i.prototype,"ctrlsFactory",void 0),z([h("agStackComponentsRegistry")],i.prototype,"agStackComponentsRegistry",void 0),z([h("valueCache")],i.prototype,"valueCache",void 0),z([h("rowNodeEventThrottle")],i.prototype,"rowNodeEventThrottle",void 0),z([I],i.prototype,"postConstruct",null),i=z([L("beans")],i),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var tf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),rf=function(i){tf(t,i);function t(e,r,o){var n=i.call(this)||this;return n.cellCtrl=e,n.beans=r,n.column=o,n}return t.prototype.onMouseEvent=function(e,r){if(!rt(r))switch(e){case"click":this.onCellClicked(r);break;case"mousedown":case"touchstart":this.onMouseDown(r);break;case"dblclick":this.onCellDoubleClicked(r);break;case"mouseout":this.onMouseOut(r);break;case"mouseover":this.onMouseOver(r);break}},t.prototype.onCellClicked=function(e){if(this.isDoubleClickOnIPad()){this.onCellDoubleClicked(e),e.preventDefault();return}var r=this.beans,o=r.eventService,n=r.gridOptionsWrapper,s=this.cellCtrl.createEvent(e,g.EVENT_CELL_CLICKED);o.dispatchEvent(s);var a=this.column.getColDef();a.onCellClicked&&window.setTimeout(function(){return a.onCellClicked(s)},0);var l=(n.isSingleClickEdit()||a.singleClickEdit)&&!n.isSuppressClickEdit();l&&this.cellCtrl.startRowOrCellEdit()},t.prototype.isDoubleClickOnIPad=function(){if(!Kt()||mn("dblclick"))return!1;var e=new Date().getTime(),r=e-this.lastIPadMouseClickEvent<200;return this.lastIPadMouseClickEvent=e,r},t.prototype.onCellDoubleClicked=function(e){var r=this.column.getColDef(),o=this.cellCtrl.createEvent(e,g.EVENT_CELL_DOUBLE_CLICKED);this.beans.eventService.dispatchEvent(o),typeof r.onCellDoubleClicked=="function"&&window.setTimeout(function(){return r.onCellDoubleClicked(o)},0);var n=!this.beans.gridOptionsWrapper.isSingleClickEdit()&&!this.beans.gridOptionsWrapper.isSuppressClickEdit();n&&this.cellCtrl.startRowOrCellEdit()},t.prototype.onMouseDown=function(e){var r=e.ctrlKey,o=e.metaKey,n=e.shiftKey,s=e.target,a=this.beans,l=a.eventService,u=a.rangeService;if(!this.isRightClickInExistingRange(e)){var p=u&&u.getCellRanges().length!=0;if(!n||!p){var d=(je()||io())&&!this.cellCtrl.isEditing()&&!Js(s);this.cellCtrl.focusCell(d)}if(n&&p&&e.preventDefault(),!this.containsWidget(s)){if(u){var f=this.cellCtrl.getCellPosition();if(n)u.extendLatestRangeToCell(f);else{var v=r||o;u.setRangeToCell(f,v)}}l.dispatchEvent(this.cellCtrl.createEvent(e,g.EVENT_CELL_MOUSE_DOWN))}}},t.prototype.isRightClickInExistingRange=function(e){var r=this.beans.rangeService;if(r){var o=r.isCellInAnyRange(this.cellCtrl.getCellPosition());if(o&&e.button===2)return!0}return!1},t.prototype.containsWidget=function(e){return uo(e,"ag-selection-checkbox",3)},t.prototype.onMouseOut=function(e){if(!this.mouseStayingInsideCell(e)){var r=this.cellCtrl.createEvent(e,g.EVENT_CELL_MOUSE_OUT);this.beans.eventService.dispatchEvent(r),this.beans.columnHoverService.clearMouseOver()}},t.prototype.onMouseOver=function(e){if(!this.mouseStayingInsideCell(e)){var r=this.cellCtrl.createEvent(e,g.EVENT_CELL_MOUSE_OVER);this.beans.eventService.dispatchEvent(r),this.beans.columnHoverService.setMouseOver([this.column])}},t.prototype.mouseStayingInsideCell=function(e){if(!e.target||!e.relatedTarget)return!1;var r=this.cellCtrl.getGui(),o=r.contains(e.target),n=r.contains(e.relatedTarget);return o&&n},t.prototype.destroy=function(){},t}(Ri);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var of=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),nf=function(i){of(t,i);function t(e,r,o,n,s,a){var l=i.call(this)||this;return l.cellCtrl=e,l.beans=r,l.column=o,l.rowNode=n,l.rowCtrl=a,l}return t.prototype.setComp=function(e){this.eGui=e},t.prototype.onKeyDown=function(e){var r=e.which||e.keyCode;switch(r){case b.ENTER:this.onEnterKeyDown(e);break;case b.F2:this.onF2KeyDown();break;case b.ESCAPE:this.onEscapeKeyDown();break;case b.TAB:this.onTabKeyDown(e);break;case b.BACKSPACE:case b.DELETE:this.onBackspaceOrDeleteKeyPressed(r);break;case b.DOWN:case b.UP:case b.RIGHT:case b.LEFT:this.onNavigationKeyPressed(e,r);break}},t.prototype.onNavigationKeyPressed=function(e,r){this.cellCtrl.isEditing()||(e.shiftKey&&this.cellCtrl.isRangeSelectionEnabled()?this.onShiftRangeSelect(r):this.beans.navigationService.navigateToNextCell(e,r,this.cellCtrl.getCellPosition(),!0),e.preventDefault())},t.prototype.onShiftRangeSelect=function(e){if(!!this.beans.rangeService){var r=this.beans.rangeService.extendLatestRangeInDirection(e);r&&this.beans.navigationService.ensureCellVisible(r)}},t.prototype.onTabKeyDown=function(e){this.beans.navigationService.onTabKeyDown(this.cellCtrl,e)},t.prototype.onBackspaceOrDeleteKeyPressed=function(e){this.cellCtrl.isEditing()||this.cellCtrl.startRowOrCellEdit(e)},t.prototype.onEnterKeyDown=function(e){this.cellCtrl.isEditing()||this.rowCtrl.isEditing()?this.cellCtrl.stopEditingAndFocus():this.beans.gridOptionsWrapper.isEnterMovesDown()?this.beans.navigationService.navigateToNextCell(null,b.DOWN,this.cellCtrl.getCellPosition(),!1):(this.cellCtrl.startRowOrCellEdit(b.ENTER),this.cellCtrl.isEditing()&&e.preventDefault())},t.prototype.onF2KeyDown=function(){this.cellCtrl.isEditing()||this.cellCtrl.startRowOrCellEdit(b.F2)},t.prototype.onEscapeKeyDown=function(){this.cellCtrl.isEditing()&&(this.cellCtrl.stopRowOrCellEdit(!0),this.cellCtrl.focusCell(!0))},t.prototype.onKeyPress=function(e){var r=zt(e),o=r!==this.eGui;if(!(o||this.cellCtrl.isEditing())){var n=String.fromCharCode(e.charCode);n===" "?this.onSpaceKeyPressed(e):Sa(e)&&(this.cellCtrl.startRowOrCellEdit(null,n),e.preventDefault())}},t.prototype.onSpaceKeyPressed=function(e){var r=this.beans.gridOptionsWrapper;if(!this.cellCtrl.isEditing()&&r.isRowSelection()){var o=this.rowNode.isSelected(),n=!o;if(n||!r.isSuppressRowDeselection()){var s=this.beans.gridOptionsWrapper.isGroupSelectsFiltered(),a=this.rowNode.setSelectedParams({newValue:n,rangeSelect:e.shiftKey,groupSelectsFiltered:s});o===void 0&&a===0&&this.rowNode.setSelectedParams({newValue:!1,rangeSelect:e.shiftKey,groupSelectsFiltered:s})}}e.preventDefault()},t.prototype.destroy=function(){},t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var sf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),af=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},lf=function(i){sf(t,i);function t(e,r,o,n){var s=i.call(this,'
')||this;return s.rowNode=e,s.column=r,s.beans=o,s.eCell=n,s}return t.prototype.postConstruct=function(){var e=this.getGui();e.appendChild(fe("rowDrag",this.beans.gridOptionsWrapper,null)),this.addGuiEventListener("mousedown",function(r){r.stopPropagation()}),this.addDragSource(),this.checkVisibility()},t.prototype.addDragSource=function(){this.addGuiEventListener("dragstart",this.onDragStart.bind(this))},t.prototype.onDragStart=function(e){var r=this,o=this.column.getColDef().dndSourceOnRowDrag,n=je();n||e.dataTransfer.setDragImage(this.eCell,0,0);var s=function(){try{var a=JSON.stringify(r.rowNode.data);n?e.dataTransfer.setData("text",a):(e.dataTransfer.setData("application/json",a),e.dataTransfer.setData("text/plain",a))}catch{}};o?o({rowNode:this.rowNode,dragEvent:e}):s()},t.prototype.checkVisibility=function(){var e=this.column.isDndSource(this.rowNode);this.setDisplayed(e)},af([I],t.prototype,"postConstruct",null),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var uf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ao=function(){return Ao=Object.assign||function(i){for(var t,e=1,r=arguments.length;e=0;return f?n:o}return o},t.prototype.setAnimateFlags=function(e){if(e){var r=y(this.rowNode.oldRowTop);this.slideRowIn=r,this.fadeRowIn=!r}else this.slideRowIn=!1,this.fadeRowIn=!1},t.prototype.isEditing=function(){return this.editingRow},t.prototype.stopRowEditing=function(e){this.stopEditing(e)},t.prototype.isFullWidth=function(){return this.rowType!==we.Normal},t.prototype.getRowType=function(){return this.rowType},t.prototype.refreshFullWidth=function(){var e=this,r=function(u,p){if(!u)return!0;var d=u.rowComp.getFullWidthCellRenderer();if(!d||!d.refresh)return!1;var f=e.createFullWidthParams(u.element,p),v=d.refresh(f);return v},o=r(this.fullWidthGui,null),n=r(this.centerGui,null),s=r(this.leftGui,E.PINNED_LEFT),a=r(this.rightGui,E.PINNED_RIGHT),l=o&&n&&s&&a;return l},t.prototype.addListeners=function(){this.addManagedListener(this.rowNode,K.EVENT_HEIGHT_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_ROW_SELECTED,this.onRowSelected.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_TOP_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_EXPANDED_CHANGED,this.updateExpandedCss.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_HAS_CHILDREN_CHANGED,this.updateExpandedCss.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_DATA_CHANGED,this.onRowNodeDataChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_CELL_CHANGED,this.onRowNodeCellChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_HIGHLIGHT_CHANGED,this.onRowNodeHighlightChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_DRAGGING_CHANGED,this.onRowNodeDraggingChanged.bind(this)),this.addManagedListener(this.rowNode,K.EVENT_UI_LEVEL_CHANGED,this.onUiLevelChanged.bind(this));var e=this.beans.eventService;this.addManagedListener(e,g.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,this.onPaginationPixelOffsetChanged.bind(this)),this.addManagedListener(e,g.EVENT_HEIGHT_SCALE_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(e,g.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(e,g.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(e,g.EVENT_CELL_FOCUSED,this.onCellFocusChanged.bind(this)),this.addManagedListener(e,g.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addManagedListener(e,g.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addManagedListener(e,g.EVENT_COLUMN_MOVED,this.onColumnMoved.bind(this)),this.addListenersForCellComps()},t.prototype.onColumnMoved=function(){this.updateColumnLists()},t.prototype.addListenersForCellComps=function(){var e=this;this.addManagedListener(this.rowNode,K.EVENT_ROW_INDEX_CHANGED,function(){e.getAllCellCtrls().forEach(function(r){return r.onRowIndexChanged()})}),this.addManagedListener(this.rowNode,K.EVENT_CELL_CHANGED,function(r){e.getAllCellCtrls().forEach(function(o){return o.onCellChanged(r)})})},t.prototype.onRowNodeDataChanged=function(e){this.getAllCellCtrls().forEach(function(r){return r.refreshCell({suppressFlash:!e.update,newData:!e.update})}),this.onRowSelected(),this.postProcessCss()},t.prototype.onRowNodeCellChanged=function(){this.postProcessCss()},t.prototype.postProcessCss=function(){this.setStylesFromGridOptions(),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.postProcessRowDragging()},t.prototype.onRowNodeHighlightChanged=function(){var e=this.rowNode.highlighted;this.allRowGuis.forEach(function(r){var o=e===c.RowHighlightPosition.Above,n=e===c.RowHighlightPosition.Below;r.rowComp.addOrRemoveCssClass("ag-row-highlight-above",o),r.rowComp.addOrRemoveCssClass("ag-row-highlight-below",n)})},t.prototype.onRowNodeDraggingChanged=function(){this.postProcessRowDragging()},t.prototype.postProcessRowDragging=function(){var e=this.rowNode.dragging;this.allRowGuis.forEach(function(r){return r.rowComp.addOrRemoveCssClass("ag-row-dragging",e)})},t.prototype.updateExpandedCss=function(){var e=this.rowNode.isExpandable(),r=this.rowNode.expanded==!0;this.allRowGuis.forEach(function(o){o.rowComp.addOrRemoveCssClass("ag-row-group",e),o.rowComp.addOrRemoveCssClass("ag-row-group-expanded",e&&r),o.rowComp.addOrRemoveCssClass("ag-row-group-contracted",e&&!r),o.rowComp.setAriaExpanded(e&&r)})},t.prototype.onDisplayedColumnsChanged=function(){this.updateColumnLists(!0),this.beans.columnModel.wasAutoRowHeightEverActive()&&this.rowNode.checkAutoHeights()},t.prototype.onVirtualColumnsChanged=function(){this.updateColumnLists()},t.prototype.getRowPosition=function(){return{rowPinned:this.rowNode.rowPinned,rowIndex:this.rowNode.rowIndex}},t.prototype.onKeyboardNavigate=function(e){var r=de(this.allRowGuis,function(u){return u.element.contains(e.target)}),o=r?r.element:null,n=o===e.target;if(!!n){var s=this.rowNode,a=this.beans.focusService.getFocusedCell(),l={rowIndex:s.rowIndex,rowPinned:s.rowPinned,column:a&&a.column};this.beans.navigationService.navigateToNextCell(e,e.keyCode,l,!0),e.preventDefault()}},t.prototype.onTabKeyDown=function(e){if(!(e.defaultPrevented||rt(e))){var r=de(this.allRowGuis,function(a){return a.element.contains(e.target)}),o=r?r.element:null,n=o===e.target,s=null;n||(s=this.beans.focusService.findNextFocusableElement(o,!1,e.shiftKey)),(this.isFullWidth()&&n||!s)&&this.beans.navigationService.onTabKeyDown(this,e)}},t.prototype.onFullWidthRowFocused=function(e){var r=this.rowNode,o=this.isFullWidth()&&e.rowIndex===r.rowIndex&&e.rowPinned==r.rowPinned,n=this.fullWidthGui?this.fullWidthGui.element:this.centerGui.element;B(n,"ag-full-width-focus",o),o&&n.focus({preventScroll:!0})},t.prototype.refreshCell=function(e){this.centerCellCtrls=this.removeCellCtrl(this.centerCellCtrls,e),this.leftCellCtrls=this.removeCellCtrl(this.leftCellCtrls,e),this.rightCellCtrls=this.removeCellCtrl(this.rightCellCtrls,e),this.updateColumnLists()},t.prototype.removeCellCtrl=function(e,r){var o={list:[],map:{}};return e.list.forEach(function(n){n!==r&&(o.list.push(n),o.map[n.getInstanceId()]=n)}),o},t.prototype.onMouseEvent=function(e,r){switch(e){case"dblclick":this.onRowDblClick(r);break;case"click":this.onRowClick(r);break;case"touchstart":case"mousedown":this.onRowMouseDown(r);break}},t.prototype.createRowEvent=function(e,r){return{type:e,node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,rowPinned:this.rowNode.rowPinned,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),event:r}},t.prototype.createRowEventWithSource=function(e,r){var o=this.createRowEvent(e,r);return o.source=this,o},t.prototype.onRowDblClick=function(e){if(!rt(e)){var r=this.createRowEventWithSource(g.EVENT_ROW_DOUBLE_CLICKED,e);this.beans.eventService.dispatchEvent(r)}},t.prototype.onRowMouseDown=function(e){if(this.lastMouseDownOnDragger=uo(e.target,"ag-row-drag",3),!!this.isFullWidth()){var r=this.rowNode,o=this.beans.columnModel;this.beans.focusService.setFocusedCell(r.rowIndex,o.getAllDisplayedColumns()[0],r.rowPinned,!0)}},t.prototype.onRowClick=function(e){var r=rt(e)||this.lastMouseDownOnDragger;if(!r){var o=this.createRowEventWithSource(g.EVENT_ROW_CLICKED,e);this.beans.eventService.dispatchEvent(o);var n=e.ctrlKey||e.metaKey,s=e.shiftKey,a=this.beans.gridOptionsWrapper.isGroupSelectsChildren();if(!(a&&this.rowNode.group||!this.rowNode.selectable||this.rowNode.rowPinned||!this.beans.gridOptionsWrapper.isRowSelection()||this.beans.gridOptionsWrapper.isSuppressRowClickSelection())){var l=this.beans.gridOptionsWrapper.isRowMultiSelectWithClick(),u=!this.beans.gridOptionsWrapper.isSuppressRowDeselection();if(this.rowNode.isSelected())l?this.rowNode.setSelectedParams({newValue:!1}):n?u&&this.rowNode.setSelectedParams({newValue:!1}):this.rowNode.setSelectedParams({newValue:!s,clearSelection:!s,rangeSelect:s});else{var p=l?!1:!n;this.rowNode.setSelectedParams({newValue:!0,clearSelection:p,rangeSelect:s})}}}},t.prototype.setupDetailRowAutoHeight=function(e){var r=this;if(!!this.beans.gridOptionsWrapper.isDetailRowAutoHeight()){var o=function(){var s=e.clientHeight;if(s!=null&&s>0){var a=function(){r.rowNode.setRowHeight(s),r.beans.clientSideRowModel?r.beans.clientSideRowModel.onRowHeightChanged():r.beans.serverSideRowModel&&r.beans.serverSideRowModel.onRowHeightChanged()};r.beans.frameworkOverrides.setTimeout(a,0)}},n=this.beans.resizeObserverService.observeResize(e,o);this.addDestroyFunc(n),o()}},t.prototype.createFullWidthParams=function(e,r){var o=this,n={fullWidth:!0,data:this.rowNode.data,node:this.rowNode,value:this.rowNode.key,valueFormatted:this.rowNode.key,$scope:this.scope?this.scope:this.parentScope,$compile:this.beans.$compile,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),eGridCell:e,eParentOfValue:e,pinned:r,addRenderedRowListener:this.addEventListener.bind(this),registerRowDragger:function(s,a,l,u){return o.addFullWidthRowDragging(s,a,l,u)}};return n},t.prototype.addFullWidthRowDragging=function(e,r,o,n){if(o===void 0&&(o=""),!!this.isFullWidth()){var s=new So(function(){return o},this.rowNode,void 0,e,r,n);this.createManagedBean(s,this.beans.context)}},t.prototype.onUiLevelChanged=function(){var e=this.beans.rowCssClassCalculator.calculateRowLevel(this.rowNode);if(this.rowLevel!=e){var r="ag-row-level-"+e,o="ag-row-level-"+this.rowLevel;this.allRowGuis.forEach(function(n){n.rowComp.addOrRemoveCssClass(r,!0),n.rowComp.addOrRemoveCssClass(o,!1)})}this.rowLevel=e},t.prototype.isFirstRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageFirstRow()},t.prototype.isLastRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageLastRow()},t.prototype.onModelUpdated=function(){var e=this.isFirstRowOnPage(),r=this.isLastRowOnPage();this.firstRowOnPage!==e&&(this.firstRowOnPage=e,this.allRowGuis.forEach(function(o){return o.rowComp.addOrRemoveCssClass("ag-row-first",e)})),this.lastRowOnPage!==r&&(this.lastRowOnPage=r,this.allRowGuis.forEach(function(o){return o.rowComp.addOrRemoveCssClass("ag-row-last",r)}))},t.prototype.stopEditing=function(e){if(e===void 0&&(e=!1),this.getAllCellCtrls().forEach(function(o){return o.stopEditing(e)}),!!this.editingRow){if(!e){var r=this.createRowEvent(g.EVENT_ROW_VALUE_CHANGED);this.beans.eventService.dispatchEvent(r)}this.setEditingRow(!1)}},t.prototype.setInlineEditingCss=function(e){this.allRowGuis.forEach(function(r){r.rowComp.addOrRemoveCssClass("ag-row-inline-editing",e),r.rowComp.addOrRemoveCssClass("ag-row-not-inline-editing",!e)})},t.prototype.setEditingRow=function(e){this.editingRow=e,this.allRowGuis.forEach(function(o){return o.rowComp.addOrRemoveCssClass("ag-row-editing",e)});var r=e?this.createRowEvent(g.EVENT_ROW_EDITING_STARTED):this.createRowEvent(g.EVENT_ROW_EDITING_STOPPED);this.beans.eventService.dispatchEvent(r)},t.prototype.startRowEditing=function(e,r,o){e===void 0&&(e=null),r===void 0&&(r=null),o===void 0&&(o=null),!this.editingRow&&(this.getAllCellCtrls().forEach(function(n){var s=n===o;s?n.startEditing(e,r,s):n.startEditing(null,null,s)}),this.setEditingRow(!0))},t.prototype.getAllCellCtrls=function(){var e=_f(this.centerCellCtrls.list,this.leftCellCtrls.list,this.rightCellCtrls.list);return e},t.prototype.postProcessClassesFromGridOptions=function(){var e=this,r=this.beans.rowCssClassCalculator.processClassesFromGridOptions(this.rowNode,this.scope);!r||!r.length||r.forEach(function(o){e.allRowGuis.forEach(function(n){return n.rowComp.addOrRemoveCssClass(o,!0)})})},t.prototype.postProcessRowClassRules=function(){var e=this;this.beans.rowCssClassCalculator.processRowClassRules(this.rowNode,this.scope,function(r){e.allRowGuis.forEach(function(o){return o.rowComp.addOrRemoveCssClass(r,!0)})},function(r){e.allRowGuis.forEach(function(o){return o.rowComp.addOrRemoveCssClass(r,!1)})})},t.prototype.setStylesFromGridOptions=function(){var e=this.processStylesFromGridOptions();this.allRowGuis.forEach(function(r){return r.rowComp.setUserStyles(e)})},t.prototype.getRowBusinessKey=function(){var e=this.beans.gridOptionsWrapper.getBusinessKeyForNodeFunc();if(typeof e=="function")return e(this.rowNode)},t.prototype.getInitialRowClasses=function(e){var r={rowNode:this.rowNode,rowFocused:this.rowFocused,fadeRowIn:this.fadeRowIn,rowIsEven:this.rowNode.rowIndex%2==0,rowLevel:this.rowLevel,fullWidthRow:this.isFullWidth(),firstRowOnPage:this.isFirstRowOnPage(),lastRowOnPage:this.isLastRowOnPage(),printLayout:this.printLayout,expandable:this.rowNode.isExpandable(),scope:this.scope,pinned:e};return this.beans.rowCssClassCalculator.getInitialRowClasses(r)},t.prototype.processStylesFromGridOptions=function(){var e=this.beans.gridOptionsWrapper.getRowStyle();if(e&&typeof e=="function"){console.warn("AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead");return}var r=this.beans.gridOptionsWrapper.getRowStyleFunc(),o;if(r){var n={data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex,$scope:this.scope,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()};o=r(n)}return Be({},e,o)},t.prototype.onRowSelected=function(){var e=this,r=this.rowNode.isSelected();this.allRowGuis.forEach(function(o){o.rowComp.setAriaSelected(r?!0:void 0),o.rowComp.addOrRemoveCssClass("ag-row-selected",r),o.rowComp.setAriaLabel(e.createAriaLabel())})},t.prototype.createAriaLabel=function(){var e=this.rowNode.isSelected();if(!(e&&this.beans.gridOptionsWrapper.isSuppressRowDeselection())){var r=this.beans.gridOptionsWrapper.getLocaleTextFunc(),o=r(e?"ariaRowDeselect":"ariaRowSelect","Press SPACE to "+(e?"deselect":"select")+" this row.");return o}},t.prototype.isUseAnimationFrameForCreate=function(){return this.useAnimationFrameForCreate},t.prototype.addHoverFunctionality=function(e){var r=this;!this.active||(this.addManagedListener(e,"mouseenter",function(){return r.rowNode.onMouseEnter()}),this.addManagedListener(e,"mouseleave",function(){return r.rowNode.onMouseLeave()}),this.addManagedListener(this.rowNode,K.EVENT_MOUSE_ENTER,function(){r.beans.gridOptionsWrapper.isSuppressRowHoverHighlight()||V(e,"ag-row-hover")}),this.addManagedListener(this.rowNode,K.EVENT_MOUSE_LEAVE,function(){Ce(e,"ag-row-hover")}))},t.prototype.roundRowTopToBounds=function(e){var r=this.beans.ctrlsService.getGridBodyCtrl(),o=r.getScrollFeature().getVScrollPosition(),n=this.applyPaginationOffset(o.top,!0)-100,s=this.applyPaginationOffset(o.bottom,!0)+100;return Math.min(Math.max(n,e),s)},t.prototype.getFrameworkOverrides=function(){return this.beans.frameworkOverrides},t.prototype.onRowHeightChanged=function(){if(y(this.rowNode.rowHeight)){var e=this.rowNode.rowHeight+"px";this.allRowGuis.forEach(function(r){return r.rowComp.setHeight(e)})}},t.prototype.addEventListener=function(e,r){(e==="renderedRowRemoved"||e==="rowRemoved")&&(e=g.EVENT_VIRTUAL_ROW_REMOVED,console.warn("AG Grid: Since version 11, event renderedRowRemoved is now called "+g.EVENT_VIRTUAL_ROW_REMOVED)),i.prototype.addEventListener.call(this,e,r)},t.prototype.removeEventListener=function(e,r){(e==="renderedRowRemoved"||e==="rowRemoved")&&(e=g.EVENT_VIRTUAL_ROW_REMOVED,console.warn("AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called "+g.EVENT_VIRTUAL_ROW_REMOVED)),i.prototype.removeEventListener.call(this,e,r)},t.prototype.destroyFirstPass=function(){this.active=!1,this.setupRemoveAnimation();var e=this.createRowEvent(g.EVENT_VIRTUAL_ROW_REMOVED);this.dispatchEvent(e),this.beans.eventService.dispatchEvent(e),i.prototype.destroy.call(this)},t.prototype.setupRemoveAnimation=function(){var e=this.rowNode.rowTop!=null;if(e){var r=this.roundRowTopToBounds(this.rowNode.rowTop);this.setRowTop(r)}else this.allRowGuis.forEach(function(o){return o.rowComp.addOrRemoveCssClass("ag-opacity-zero",!0)})},t.prototype.destroySecondPass=function(){this.allRowGuis.length=0;var e=function(r){return r.list.forEach(function(o){return o.destroy()}),{list:[],map:{}}};this.centerCellCtrls=e(this.centerCellCtrls),this.leftCellCtrls=e(this.leftCellCtrls),this.rightCellCtrls=e(this.rightCellCtrls)},t.prototype.setFocusedClasses=function(){var e=this;this.allRowGuis.forEach(function(r){r.rowComp.addOrRemoveCssClass("ag-row-focus",e.rowFocused),r.rowComp.addOrRemoveCssClass("ag-row-no-focus",!e.rowFocused)})},t.prototype.onCellFocusChanged=function(){var e=this.beans.focusService.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);e!==this.rowFocused&&(this.rowFocused=e,this.setFocusedClasses()),!e&&this.editingRow&&this.stopEditing(!1)},t.prototype.onPaginationChanged=function(){var e=this.beans.paginationProxy.getCurrentPage();this.paginationPage!==e&&(this.paginationPage=e,this.onTopChanged())},t.prototype.onTopChanged=function(){this.setRowTop(this.rowNode.rowTop)},t.prototype.onPaginationPixelOffsetChanged=function(){this.onTopChanged()},t.prototype.applyPaginationOffset=function(e,r){if(r===void 0&&(r=!1),this.rowNode.isRowPinned())return e;var o=this.beans.paginationProxy.getPixelOffset(),n=r?1:-1;return e+o*n},t.prototype.setRowTop=function(e){if(!this.printLayout&&y(e)){var r=this.applyPaginationOffset(e),o=this.rowNode.isRowPinned()?r:this.beans.rowContainerHeightService.getRealPixelPosition(r),n=o+"px";this.setRowTopStyle(n)}},t.prototype.getInitialRowTop=function(){return this.initialTop},t.prototype.getInitialTransform=function(){return this.initialTransform},t.prototype.setInitialRowTop=function(){if(this.printLayout)return"";var e=this.slideRowIn?this.roundRowTopToBounds(this.rowNode.oldRowTop):this.rowNode.rowTop,r=this.applyPaginationOffset(e),o=this.rowNode.isRowPinned()?r:this.beans.rowContainerHeightService.getRealPixelPosition(r),n=o+"px",s=this.beans.gridOptionsWrapper.isSuppressRowTransform();s?this.initialTop=n:this.initialTransform="translateY("+n+")"},t.prototype.setRowTopStyle=function(e){var r=this.beans.gridOptionsWrapper.isSuppressRowTransform();this.allRowGuis.forEach(function(o){return r?o.rowComp.setTop(e):o.rowComp.setTransform("translateY("+e+")")})},t.prototype.getRowNode=function(){return this.rowNode},t.prototype.getCellCtrl=function(e){var r=null;return this.getAllCellCtrls().forEach(function(o){o.getColumn()==e&&(r=o)}),r!=null||this.getAllCellCtrls().forEach(function(o){o.getColSpanningList().indexOf(e)>=0&&(r=o)}),r},t.prototype.onRowIndexChanged=function(){this.rowNode.rowIndex!=null&&(this.onCellFocusChanged(),this.updateRowIndexes())},t.prototype.updateRowIndexes=function(){var e=this,r=this.rowNode.getRowIndexString(),o=this.beans.headerNavigationService.getHeaderRowCount(),n=this.rowNode.rowIndex%2==0;this.allRowGuis.forEach(function(s){s.rowComp.setRowIndex(r),s.rowComp.setAriaRowIndex(o+e.rowNode.rowIndex+1),s.rowComp.addOrRemoveCssClass("ag-row-even",n),s.rowComp.addOrRemoveCssClass("ag-row-odd",!n)})},t.prototype.getPinnedLeftRowElement=function(){return this.leftGui?this.leftGui.element:void 0},t.prototype.getPinnedRightRowElement=function(){return this.rightGui?this.rightGui.element:void 0},t.prototype.getBodyRowElement=function(){return this.centerGui?this.centerGui.element:void 0},t.prototype.getFullWidthRowElement=function(){return this.fullWidthGui?this.fullWidthGui.element:void 0},t.DOM_DATA_KEY_ROW_CTRL="renderedRow",t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Af=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ge=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},al=function(){for(var i=0,t=0,e=arguments.length;t=0&&r.push(o)}),r},t.prototype.redrawRows=function(e){var r=e!=null&&e.length>0;if(r){var o=this.getRenderedIndexesForRowNodes(e);this.removeRowCtrls(o)}this.redrawAfterModelUpdate({recycleRows:r})},t.prototype.getCellToRestoreFocusToAfterRefresh=function(e){var r=e.suppressKeepFocus?null:this.focusService.getFocusCellToUseAfterRefresh();if(r==null)return null;var o=document.activeElement,n=this.gridOptionsWrapper.getDomData(o,_t.DOM_DATA_KEY_CELL_CTRL),s=this.gridOptionsWrapper.getDomData(o,St.DOM_DATA_KEY_ROW_CTRL),a=n||s;return a?r:null},t.prototype.redrawAfterModelUpdate=function(e){e===void 0&&(e={}),this.getLockOnRefresh();var r=this.getCellToRestoreFocusToAfterRefresh(e);this.updateContainerHeights(),this.scrollToTopIfNewData(e);var o=!this.printLayout&&!!e.recycleRows,n=e.animate&&this.gridOptionsWrapper.isAnimateRows(),s=o?this.recycleRows():null;o||this.removeAllRowComps();var a=function(){if(r==null||s==null)return!1;var u=!1;return te(s,function(p,d){var f=d.getRowNode(),v=f.rowIndex==r.rowIndex,C=f.rowPinned==r.rowPinned;v&&C&&(u=!0)}),u},l=a();this.redraw(s,n),e.onlyBody||this.refreshFloatingRowComps(),this.dispatchDisplayedRowsChanged(),l||this.restoreFocusedCell(r),this.releaseLockOnRefresh()},t.prototype.scrollToTopIfNewData=function(e){var r=e.newData||e.newPage,o=this.gridOptionsWrapper.isSuppressScrollOnNewData();r&&!o&&this.gridBodyCtrl.getScrollFeature().scrollToTop()},t.prototype.updateContainerHeights=function(){if(this.printLayout){this.rowContainerHeightService.setModelHeight(null);return}var e=this.paginationProxy.getCurrentPageHeight();e===0&&(e=1),this.rowContainerHeightService.setModelHeight(e)},t.prototype.getLockOnRefresh=function(){if(this.refreshInProgress)throw new Error("AG Grid: cannot get grid to draw rows when it is in the middle of drawing rows. Your code probably called a grid API method while the grid was in the render stage. To overcome this, put the API call into a timeout, e.g. instead of api.refreshView(), call setTimeout(function() { api.refreshView(); }, 0). To see what part of your code that caused the refresh check this stacktrace.");this.refreshInProgress=!0},t.prototype.releaseLockOnRefresh=function(){this.refreshInProgress=!1},t.prototype.restoreFocusedCell=function(e){e&&this.focusService.setFocusedCell(e.rowIndex,e.column,e.rowPinned,!0)},t.prototype.stopEditing=function(e){e===void 0&&(e=!1),this.getAllRowCtrls().forEach(function(r){r.stopEditing(e)})},t.prototype.onNewColumnsLoaded=function(){this.getAllCellCtrls().forEach(function(e){return e.onNewColumnsLoaded()})},t.prototype.getAllCellCtrls=function(){var e=[];return this.getAllRowCtrls().forEach(function(r){return e=e.concat(r.getAllCellCtrls())}),e},t.prototype.getAllRowCtrls=function(){var e=this,r=al(this.topRowCtrls,this.bottomRowCtrls);return Object.keys(this.rowCtrlsByRowIndex).forEach(function(o){return r.push(e.rowCtrlsByRowIndex[o])}),r},t.prototype.addRenderedRowListener=function(e,r,o){var n=this.rowCtrlsByRowIndex[r];n&&n.addEventListener(e,o)},t.prototype.flashCells=function(e){e===void 0&&(e={});var r=e.flashDelay,o=e.fadeDelay;this.getCellCtrls(e.rowNodes,e.columns).forEach(function(n){return n.flashCell({flashDelay:r,fadeDelay:o})})},t.prototype.refreshCells=function(e){e===void 0&&(e={});var r={forceRefresh:e.force,newData:!1,suppressFlash:e.suppressFlash};this.getCellCtrls(e.rowNodes,e.columns).forEach(function(o){if(o.refreshShouldDestroy()){var n=o.getRowCtrl();n&&n.refreshCell(o)}else o.refreshCell(r)})},t.prototype.getCellRendererInstances=function(e){var r=this.getCellCtrls(e.rowNodes,e.columns).map(function(o){return o.getCellRenderer()}).filter(function(o){return o!=null});return r},t.prototype.getCellEditorInstances=function(e){var r=[];return this.getCellCtrls(e.rowNodes,e.columns).forEach(function(o){var n=o.getCellEditor();n&&r.push(n)}),r},t.prototype.getEditingCells=function(){var e=[];return this.getAllCellCtrls().forEach(function(r){if(r.isEditing()){var o=r.getCellPosition();e.push(o)}}),e},t.prototype.getCellCtrls=function(e,r){var o=this,n,s=[];y(e)&&(n={top:{},bottom:{},normal:{}},e.forEach(function(u){var p=u.id;u.rowPinned===E.PINNED_TOP?n.top[p]=!0:u.rowPinned===E.PINNED_BOTTOM?n.bottom[p]=!0:n.normal[p]=!0}));var a;y(r)&&(a={},r.forEach(function(u){var p=o.columnModel.getGridColumn(u);y(p)&&(a[p.getId()]=!0)}));var l=function(u){var p=u.getRowNode(),d=p.id,f=p.rowPinned;if(y(n)){if(f===E.PINNED_BOTTOM){if(!n.bottom[d])return}else if(f===E.PINNED_TOP){if(!n.top[d])return}else if(!n.normal[d])return}u.getAllCellCtrls().forEach(function(v){var C=v.getColumn().getId(),R=a&&!a[C];R||s.push(v)})};return te(this.rowCtrlsByRowIndex,function(u,p){l(p)}),this.topRowCtrls&&this.topRowCtrls.forEach(l),this.bottomRowCtrls&&this.bottomRowCtrls.forEach(l),s},t.prototype.destroy=function(){this.removeAllRowComps(),i.prototype.destroy.call(this)},t.prototype.removeAllRowComps=function(){var e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)},t.prototype.recycleRows=function(){var e=[];te(this.rowCtrlsByRowIndex,function(o,n){var s=n.getRowNode().id==null;s&&e.push(o)}),this.removeRowCtrls(e);var r={};return te(this.rowCtrlsByRowIndex,function(o,n){var s=n.getRowNode();r[s.id]=n}),this.rowCtrlsByRowIndex={},r},t.prototype.removeRowCtrls=function(e){var r=this;e.forEach(function(o){var n=r.rowCtrlsByRowIndex[o];n&&(n.destroyFirstPass(),n.destroySecondPass()),delete r.rowCtrlsByRowIndex[o]})},t.prototype.redrawAfterScroll=function(){this.getLockOnRefresh(),this.redraw(null,!1,!0),this.releaseLockOnRefresh(),this.dispatchDisplayedRowsChanged()},t.prototype.removeRowCompsNotToDraw=function(e){var r={};e.forEach(function(s){return r[s]=!0});var o=Object.keys(this.rowCtrlsByRowIndex),n=o.filter(function(s){return!r[s]});this.removeRowCtrls(n)},t.prototype.calculateIndexesToDraw=function(e){var r=this,o=Ws(this.firstRenderedRow,this.lastRenderedRow),n=function(s,a){var l=a.getRowNode().rowIndex;l!=null&&(lr.lastRenderedRow)&&r.doNotUnVirtualiseRow(a)&&o.push(l)};return te(this.rowCtrlsByRowIndex,n),te(e,n),o.sort(function(s,a){return s-a}),o},t.prototype.redraw=function(e,r,o){var n=this;r===void 0&&(r=!1),o===void 0&&(o=!1),this.rowContainerHeightService.updateOffset(),this.workOutFirstAndLastRowsToRender();var s=this.calculateIndexesToDraw(e);if(this.removeRowCompsNotToDraw(s),this.printLayout&&(r=!1),s.forEach(function(l){var u=n.createOrUpdateRowCtrl(l,e,r,o);y(u)}),e){var a=o&&!this.gridOptionsWrapper.isSuppressAnimationFrame()&&!this.printLayout;a?this.beans.animationFrameService.addDestroyTask(function(){n.destroyRowCtrls(e,r),n.updateAllRowCtrls(),n.dispatchDisplayedRowsChanged()}):this.destroyRowCtrls(e,r)}this.updateAllRowCtrls(),this.checkAngularCompile(),this.gridBodyCtrl.updateRowCount()},t.prototype.dispatchDisplayedRowsChanged=function(){var e={type:g.EVENT_DISPLAYED_ROWS_CHANGED};this.eventService.dispatchEvent(e)},t.prototype.onDisplayedColumnsChanged=function(){var e=this.columnModel.isPinningLeft(),r=this.columnModel.isPinningRight(),o=this.pinningLeft!==e||r!==this.pinningRight;o&&(this.pinningLeft=e,this.pinningRight=r,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())},t.prototype.redrawFullWidthEmbeddedRows=function(){var e=[];te(this.rowCtrlsByRowIndex,function(r,o){if(o.isFullWidth()){var n=o.getRowNode().rowIndex;e.push(n.toString())}}),this.refreshFloatingRowComps(),this.removeRowCtrls(e),this.redrawAfterScroll()},t.prototype.refreshFullWidthRows=function(e){var r=[],o=!!e,n=o?{}:void 0;o&&n&&e.forEach(function(s){return n[s.id]=!0}),te(this.rowCtrlsByRowIndex,function(s,a){if(!!a.isFullWidth()){var l=a.getRowNode();if(o&&n){var u=l.level>0&&l.parent?l.parent.id:void 0,p=!n[l.id]&&!n[u];if(p)return}var d=a.refreshFullWidth();if(!d){var f=a.getRowNode().rowIndex;r.push(f.toString())}}}),this.removeRowCtrls(r),this.redrawAfterScroll()},t.prototype.createOrUpdateRowCtrl=function(e,r,o,n){var s,a=this.rowCtrlsByRowIndex[e];a||(s=this.paginationProxy.getRow(e),y(s)&&y(r)&&r[s.id]&&s.alreadyRendered&&(a=r[s.id],r[s.id]=null));var l=!a;if(l)if(s||(s=this.paginationProxy.getRow(e)),y(s))a=this.createRowCon(s,o,n);else return;return s&&(s.alreadyRendered=!0),this.rowCtrlsByRowIndex[e]=a,a},t.prototype.destroyRowCtrls=function(e,r){var o=this,n=[];te(e,function(s,a){if(!!a){if(o.cachedRowCtrls&&a.isCacheable()){o.cachedRowCtrls.addRow(a);return}a.destroyFirstPass(),r?(o.zombieRowCtrls[a.getInstanceId()]=a,n.push(function(){a.destroySecondPass(),delete o.zombieRowCtrls[a.getInstanceId()]})):a.destroySecondPass()}}),r&&(n.push(function(){o.updateAllRowCtrls(),o.dispatchDisplayedRowsChanged()}),Ss(n))},t.prototype.checkAngularCompile=function(){var e=this;this.gridOptionsWrapper.isAngularCompileRows()&&window.setTimeout(function(){e.$scope.$apply()},0)},t.prototype.workOutFirstAndLastRowsToRender=function(){var e=this,r,o;if(!this.paginationProxy.isRowsToRender())r=0,o=-1;else if(this.printLayout)r=this.paginationProxy.getPageFirstRow(),o=this.paginationProxy.getPageLastRow();else{var n=this.gridOptionsWrapper.getRowBufferInPixels(),s=this.ctrlsService.getGridBodyCtrl(),a=!1,l=void 0,u=void 0;do{var p=this.paginationProxy.getPixelOffset(),d=this.paginationProxy.getCurrentPagePixelRange(),f=d.pageFirstPixel,v=d.pageLastPixel,C=this.rowContainerHeightService.getDivStretchOffset(),R=s.getScrollFeature().getVScrollPosition(),S=R.top,F=R.bottom;l=Math.max(S+p-n,f)+C,u=Math.min(F+p+n,v)+C,a=this.ensureAllRowsInRangeHaveHeightsCalculated(l,u)}while(a);var A=this.paginationProxy.getRowIndexAtPixel(l),P=this.paginationProxy.getRowIndexAtPixel(u),M=this.paginationProxy.getPageFirstRow(),W=this.paginationProxy.getPageLastRow();AW&&(P=W),r=A,o=P}var Y=this.gridOptionsWrapper.getDomLayout()===E.DOM_LAYOUT_NORMAL,U=this.gridOptionsWrapper.isSuppressMaxRenderedRowRestriction(),q=Math.max(this.gridOptionsWrapper.getRowBuffer(),500);Y&&!U&&o-r>q&&(o=r+q);var re=r!==this.firstRenderedRow,ee=o!==this.lastRenderedRow;if(re||ee){this.firstRenderedRow=r,this.lastRenderedRow=o;var se={type:g.EVENT_VIEWPORT_CHANGED,firstRow:r,lastRow:o,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(se)}if(this.paginationProxy.isRowsToRender()){var Oe={type:g.EVENT_FIRST_DATA_RENDERED,firstRow:r,lastRow:o,api:this.gridApi,columnApi:this.columnApi};window.setTimeout(function(){return e.eventService.dispatchEventOnce(Oe)},50)}},t.prototype.ensureAllRowsInRangeHaveHeightsCalculated=function(e,r){var o=this.paginationProxy.ensureRowHeightsValid(e,r,-1,-1);return o&&this.updateContainerHeights(),o},t.prototype.getFirstVirtualRenderedRow=function(){return this.firstRenderedRow},t.prototype.getLastVirtualRenderedRow=function(){return this.lastRenderedRow},t.prototype.doNotUnVirtualiseRow=function(e){var r=!1,o=!0,n=e.getRowNode(),s=this.focusService.isRowNodeFocused(n),a=e.isEditing(),l=n.detail,u=s||a||l;if(!u)return r;var p=this.paginationProxy.isRowPresent(n);return p?o:r},t.prototype.createRowCon=function(e,r,o){var n=this.cachedRowCtrls?this.cachedRowCtrls.getRow(e):null;if(n)return n;var s=this.gridOptionsWrapper.isSuppressAnimationFrame(),a=o&&!s&&!this.printLayout,l=new St(this.$scope,e,this.beans,r,a,this.printLayout);return l},t.prototype.getRenderedNodes=function(){var e=this.rowCtrlsByRowIndex;return Object.keys(e).map(function(r){return e[r].getRowNode()})},t.prototype.getRowByPosition=function(e){var r;switch(e.rowPinned){case E.PINNED_TOP:r=this.topRowCtrls[e.rowIndex];break;case E.PINNED_BOTTOM:r=this.bottomRowCtrls[e.rowIndex];break;default:r=this.rowCtrlsByRowIndex[e.rowIndex];break}return r},t.prototype.getRowNode=function(e){switch(e.rowPinned){case E.PINNED_TOP:return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case E.PINNED_BOTTOM:return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}},t.prototype.isRangeInRenderedViewport=function(e,r){var o=e==null||r==null;if(o)return!1;var n=e>this.lastRenderedRow,s=rthis.maxCount){var e=this.entriesList[0];e.destroyFirstPass(),e.destroySecondPass(),this.removeFromCache(e)}},i.prototype.getRow=function(t){if(t==null||t.id==null)return null;var e=this.entriesMap[t.id];if(!e)return null;this.removeFromCache(e),e.setCached(!1);var r=e.getRowNode()!=t;return r?null:e},i.prototype.removeFromCache=function(t){var e=t.getRowNode().id;delete this.entriesMap[e],Ee(this.entriesList,t)},i.prototype.getEntries=function(){return this.entriesList},i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Tf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Si=function(i){Tf(t,i);function t(e,r){var o=i.call(this,e)||this;return o.ctrl=r,o}return t.prototype.getCtrl=function(){return this.ctrl},t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var bf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Oi=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ff=function(i){bf(t,i);function t(e){var r=i.call(this,t.TEMPLATE,e)||this;return r.headerCompVersion=0,r.column=e.getColumnGroupChild(),r.pinned=e.getPinned(),r}return t.prototype.postConstruct=function(){var e=this,r=this.getGui(),o=function(a,l,u){var p=u||r;l!=null&&l!=""?p.setAttribute(a,l):p.removeAttribute(a)},n={setWidth:function(a){return r.style.width=a},addOrRemoveCssClass:function(a,l){return e.addOrRemoveCssClass(a,l)},setAriaSort:function(a){return a?va(r,a):ya(r)},setColId:function(a){return o("col-id",a)},setTitle:function(a){return o("title",a)},setAriaDescribedBy:function(a){return go(r,a)},setUserCompDetails:function(a){return e.setUserCompDetails(a)},getUserCompInstance:function(){return e.headerComp}};this.ctrl.setComp(n,this.getGui(),this.eResize);var s=this.ctrl.getSelectAllGui();this.eResize.insertAdjacentElement("afterend",s)},t.prototype.destroyHeaderComp=function(){this.headerComp&&(this.getGui().removeChild(this.headerCompGui),this.headerComp=this.destroyBean(this.headerComp),this.headerCompGui=void 0)},t.prototype.setUserCompDetails=function(e){var r=this;this.headerCompVersion++;var o=this.headerCompVersion;e.newAgStackInstance().then(function(n){return r.afterCompCreated(o,n)})},t.prototype.afterCompCreated=function(e,r){if(e!=this.headerCompVersion||!this.isAlive()){this.destroyBean(r);return}this.destroyHeaderComp(),this.headerComp=r,this.headerCompGui=r.getGui(),this.getGui().appendChild(this.headerCompGui),this.ctrl.setDragSource(this.headerCompGui)},t.TEMPLATE=`
+ +
`,Oi([D("eResize")],t.prototype,"eResize",void 0),Oi([I],t.prototype,"postConstruct",null),Oi([ve],t.prototype,"destroyHeaderComp",null),t}(Si);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var If=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Pi=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Nf=function(i){If(t,i);function t(e){return i.call(this,t.TEMPLATE,e)||this}return t.prototype.postConstruct=function(){var e=this,r=this.getGui(),o=function(s,a){return a!=null?r.setAttribute(s,a):r.removeAttribute(s)},n={addOrRemoveCssClass:function(s,a){return e.addOrRemoveCssClass(s,a)},addOrRemoveResizableCssClass:function(s,a){return B(e.eResize,s,a)},setWidth:function(s){return r.style.width=s},setColId:function(s){return r.setAttribute("col-id",s)},setAriaExpanded:function(s){return o("aria-expanded",s)},setTitle:function(s){return o("title",s)},setUserCompDetails:function(s){return e.setUserCompDetails(s)}};this.ctrl.setComp(n,r,this.eResize)},t.prototype.setUserCompDetails=function(e){var r=this;e.newAgStackInstance().then(function(o){return r.afterHeaderCompCreated(o)})},t.prototype.afterHeaderCompCreated=function(e){var r=this,o=function(){return r.destroyBean(e)};if(!this.isAlive()){o();return}this.getGui().appendChild(e.getGui()),this.addDestroyFunc(o),this.ctrl.setDragSource(e.getGui())},t.TEMPLATE=`
+ +
`,Pi([h("userComponentFactory")],t.prototype,"userComponentFactory",void 0),Pi([D("eResize")],t.prototype,"eResize",void 0),Pi([I],t.prototype,"postConstruct",null),t}(Si);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Mf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Do=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},ul=function(i){Mf(t,i);function t(e){return i.call(this,t.TEMPLATE,e)||this}return t.prototype.postConstruct=function(){var e=this,r=this.getGui(),o={addOrRemoveCssClass:function(n,s){return e.addOrRemoveCssClass(n,s)},addOrRemoveBodyCssClass:function(n,s){return B(e.eFloatingFilterBody,n,s)},addOrRemoveButtonWrapperCssClass:function(n,s){return B(e.eButtonWrapper,n,s)},setCompDetails:function(n){return e.setCompDetails(n)},getFloatingFilterComp:function(){return e.compPromise},setWidth:function(n){return r.style.width=n},setMenuIcon:function(n){return e.eButtonShowMainFilter.appendChild(n)}};this.ctrl.setComp(o,r,this.eButtonShowMainFilter,this.eFloatingFilterBody)},t.prototype.setCompDetails=function(e){var r=this;this.compPromise=e.newAgStackInstance(),this.compPromise.then(function(o){return r.afterCompCreated(o)})},t.prototype.afterCompCreated=function(e){var r=this;!e||(this.addDestroyFunc(function(){return r.context.destroyBean(e)}),!!this.isAlive()&&(this.eFloatingFilterBody.appendChild(e.getGui()),e.afterGuiAttached&&e.afterGuiAttached()))},t.TEMPLATE=`
+
+ +
`,Do([D("eFloatingFilterBody")],t.prototype,"eFloatingFilterBody",void 0),Do([D("eButtonWrapper")],t.prototype,"eButtonWrapper",void 0),Do([D("eButtonShowMainFilter")],t.prototype,"eButtonShowMainFilter",void 0),Do([I],t.prototype,"postConstruct",null),t}(Si);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Lf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),pl=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n};(function(i){i.COLUMN_GROUP="group",i.COLUMN="column",i.FLOATING_FILTER="filter"})(c.HeaderRowType||(c.HeaderRowType={}));var cl=function(i){Lf(t,i);function t(e){var r=i.call(this)||this;r.headerComps={};var o=e.getType()==c.HeaderRowType.COLUMN_GROUP?"ag-header-row-column-group":e.getType()==c.HeaderRowType.FLOATING_FILTER?"ag-header-row-column-filter":"ag-header-row-column";return r.setTemplate('
'),r.ctrl=e,r}return t.prototype.init=function(){var e=this,r={setTransform:function(o){return e.getGui().style.transform=o},setHeight:function(o){return e.getGui().style.height=o},setTop:function(o){return e.getGui().style.top=o},setHeaderCtrls:function(o){return e.setHeaderCtrls(o)},setWidth:function(o){return e.getGui().style.width=o},setAriaRowIndex:function(o){return qn(e.getGui(),o)}};this.ctrl.setComp(r)},t.prototype.destroyHeaderCtrls=function(){this.setHeaderCtrls([])},t.prototype.setHeaderCtrls=function(e){var r=this;if(!!this.isAlive()){var o=this.headerComps;this.headerComps={},e.forEach(function(l){var u=l.getInstanceId(),p=o[u];delete o[u],p==null&&(p=r.createHeaderComp(l),r.getGui().appendChild(p.getGui())),r.headerComps[u]=p}),te(o,function(l,u){r.getGui().removeChild(u.getGui()),r.destroyBean(u)});var n=this.gridOptionsWrapper.isEnsureDomOrder();if(n){var s=tt(this.headerComps);s.sort(function(l,u){var p=l.getCtrl().getColumnGroupChild().getLeft(),d=u.getCtrl().getColumnGroupChild().getLeft();return p-d});var a=s.map(function(l){return l.getGui()});jn(this.getGui(),a)}}},t.prototype.createHeaderComp=function(e){var r;switch(this.ctrl.getType()){case c.HeaderRowType.COLUMN_GROUP:r=new Nf(e);break;case c.HeaderRowType.FLOATING_FILTER:r=new ul(e);break;default:r=new Ff(e);break}return this.createBean(r),r.setParentComponent(this),r},pl([I],t.prototype,"init",null),pl([ve],t.prototype,"destroyHeaderCtrls",null),t}($);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Gf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),rr=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n};(function(i){i[i.UP=0]="UP",i[i.DOWN=1]="DOWN",i[i.LEFT=2]="LEFT",i[i.RIGHT=3]="RIGHT"})(c.HeaderNavigationDirection||(c.HeaderNavigationDirection={}));var dl=function(i){Gf(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady(function(r){e.gridBodyCon=r.gridBodyCtrl})},t.prototype.getHeaderRowCount=function(){var e=this.ctrlsService.getHeaderRowContainerCtrl();return e?e.getRowCount():0},t.prototype.getHeaderRowType=function(e){var r=this.ctrlsService.getHeaderRowContainerCtrl();if(r)return r.getRowType(e)},t.prototype.navigateVertically=function(e,r,o){if(r||(r=this.focusService.getFocusedHeader()),!r)return!1;var n=r.headerRowIndex,s=r.column,a=this.getHeaderRowCount(),l=e===c.HeaderNavigationDirection.UP,u=l?n-1:n+1,p=null,d=!1;u<0&&(u=0,p=s,d=!0),u>=a&&(u=-1);var f=this.getHeaderRowType(n);if(!d){if(f===c.HeaderRowType.COLUMN_GROUP){var v=s;p=l?s.getParent():v.getDisplayedChildren()[0]}else if(f===c.HeaderRowType.FLOATING_FILTER)p=s;else{var v=s;p=l?v.getParent():v}if(!p)return!1}return this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:u,column:p},allowUserOverride:!0,event:o})},t.prototype.navigateHorizontally=function(e,r,o){r===void 0&&(r=!1);var n=this.focusService.getFocusedHeader(),s=e===c.HeaderNavigationDirection.LEFT,a=this.gridOptionsWrapper.isEnableRtl(),l,u;return s!==a?(u="Before",l=this.headerPositionUtils.findHeader(n,u)):(u="After",l=this.headerPositionUtils.findHeader(n,u)),l?this.focusService.focusHeaderPosition({headerPosition:l,direction:u,fromTab:r,allowUserOverride:!0,event:o}):r?this.focusNextHeaderRow(n,u,o):!0},t.prototype.focusNextHeaderRow=function(e,r,o){var n=e.headerRowIndex,s=null,a;return r==="Before"?n>0&&(a=n-1,s=this.headerPositionUtils.findColAtEdgeForHeaderRow(a,"end")):(a=n+1,s=this.headerPositionUtils.findColAtEdgeForHeaderRow(a,"start")),this.focusService.focusHeaderPosition({headerPosition:s,direction:r,fromTab:!0,allowUserOverride:!0,event:o})},t.prototype.scrollToColumn=function(e,r){if(r===void 0&&(r="After"),!e.getPinned()){var o;if(e instanceof ye){var n=e.getDisplayedLeafColumns();o=r==="Before"?oe(n):n[0]}else o=e;this.gridBodyCon.getScrollFeature().ensureColumnVisible(o),this.gridBodyCon.getScrollFeature().horizontallyScrollHeaderCenterAndFloatingCenter(),this.animationFrameService.flushAllFrames()}},rr([h("focusService")],t.prototype,"focusService",void 0),rr([h("headerPositionUtils")],t.prototype,"headerPositionUtils",void 0),rr([h("animationFrameService")],t.prototype,"animationFrameService",void 0),rr([h("ctrlsService")],t.prototype,"ctrlsService",void 0),rr([I],t.prototype,"postConstruct",null),t=rr([L("headerNavigationService")],t),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var xf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),To=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},hl=function(i){xf(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.setComp=function(e,r,o){this.comp=e,this.eGui=r,this.createManagedBean(new yt(o,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.eventService,g.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this)),this.onPivotModeChanged(),this.setupHeaderHeight(),this.ctrlsService.registerGridHeaderCtrl(this)},t.prototype.setupHeaderHeight=function(){var e=this.setHeaderHeight.bind(this);e(),this.addManagedListener(this.gridOptionsWrapper,G.PROP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,G.PROP_PIVOT_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,G.PROP_GROUP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,G.PROP_PIVOT_GROUP_HEADER_HEIGHT,e),this.addManagedListener(this.gridOptionsWrapper,G.PROP_FLOATING_FILTERS_HEIGHT,e),this.addManagedListener(this.eventService,g.EVENT_DISPLAYED_COLUMNS_CHANGED,e)},t.prototype.setHeaderHeight=function(){var e=this,r=e.columnModel,o=e.gridOptionsWrapper,n=0,s=r.getHeaderRowCount(),a,l,u;if(r.isPivotMode())l=o.getPivotGroupHeaderHeight(),u=o.getPivotHeaderHeight();else{var p=r.hasFloatingFilters();p&&(s++,n=1),l=o.getGroupHeaderHeight(),u=o.getHeaderHeight()}var d=1+n,f=s-d;a=n*o.getFloatingFiltersHeight(),a+=f*l,a+=u;var v=a+1+"px";this.comp.setHeightAndMinHeight(v)},t.prototype.onPivotModeChanged=function(){var e=this.columnModel.isPivotMode();this.comp.addOrRemoveCssClass("ag-pivot-on",e),this.comp.addOrRemoveCssClass("ag-pivot-off",!e)},t.prototype.onTabKeyDown=function(e){var r=this.gridOptionsWrapper.isEnableRtl(),o=e.shiftKey!==r?c.HeaderNavigationDirection.LEFT:c.HeaderNavigationDirection.RIGHT;(this.headerNavigationService.navigateHorizontally(o,!0,e)||this.focusService.focusNextGridCoreContainer(e.shiftKey))&&e.preventDefault()},t.prototype.handleKeyDown=function(e){var r=null;switch(e.keyCode){case b.LEFT:r=c.HeaderNavigationDirection.LEFT;case b.RIGHT:y(r)||(r=c.HeaderNavigationDirection.RIGHT),this.headerNavigationService.navigateHorizontally(r,!1,e);break;case b.UP:r=c.HeaderNavigationDirection.UP;case b.DOWN:y(r)||(r=c.HeaderNavigationDirection.DOWN),this.headerNavigationService.navigateVertically(r,null,e)&&e.preventDefault();break;default:return}},t.prototype.onFocusOut=function(e){var r=e.relatedTarget;!r&&this.eGui.contains(document.activeElement)||this.eGui.contains(r)||this.focusService.clearFocusedHeader()},To([h("headerNavigationService")],t.prototype,"headerNavigationService",void 0),To([h("focusService")],t.prototype,"focusService",void 0),To([h("columnModel")],t.prototype,"columnModel",void 0),To([h("ctrlsService")],t.prototype,"ctrlsService",void 0),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Hf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),fl=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Ai=function(i){Hf(t,i);function t(e){var r=i.call(this)||this;return r.callback=e,r}return t.prototype.postConstruct=function(){var e=this.setWidth.bind(this);this.addManagedListener(this.gridOptionsWrapper,G.PROP_DOM_LAYOUT,e),this.addManagedListener(this.eventService,g.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,g.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.setWidth()},t.prototype.setWidth=function(){var e=this.columnModel,r=this.gridOptionsWrapper.getDomLayout()===E.DOM_LAYOUT_PRINT,o=e.getBodyContainerWidth(),n=e.getDisplayedColumnsLeftWidth(),s=e.getDisplayedColumnsRightWidth(),a=r?o+n+s:o;this.callback(a)},fl([h("columnModel")],t.prototype,"columnModel",void 0),fl([I],t.prototype,"postConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Fr=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},gl=function(){function i(t,e){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.pinned=t,this.eContainer=e,this.centerContainer=!y(t)}return i.prototype.init=function(){var t=this;this.ctrlsService.whenReady(function(){t.gridBodyCon=t.ctrlsService.getGridBodyCtrl()})},i.prototype.getIconName=function(){return this.pinned?Te.ICON_PINNED:Te.ICON_MOVE},i.prototype.onDragEnter=function(t){var e=t.dragItem.columns,r=t.dragSource.type===c.DragSourceType.ToolPanel;if(r)this.setColumnsVisible(e,!0,"uiColumnDragged");else{var o=t.dragItem.visibleState,n=(e||[]).filter(function(s){return o[s.getId()]});this.setColumnsVisible(n,!0,"uiColumnDragged")}this.setColumnsPinned(e,this.pinned,"uiColumnDragged"),this.onDragging(t,!0)},i.prototype.onDragLeave=function(t){var e=!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns()&&!t.fromNudge;if(e){var r=t.dragSource.getDragItem(),o=r.columns;this.setColumnsVisible(o,!1,"uiColumnDragged")}this.ensureIntervalCleared()},i.prototype.setColumnsVisible=function(t,e,r){if(r===void 0&&(r="api"),t){var o=t.filter(function(n){return!n.getColDef().lockVisible});this.columnModel.setColumnsVisible(o,e,r)}},i.prototype.setColumnsPinned=function(t,e,r){if(r===void 0&&(r="api"),t){var o=t.filter(function(n){return!n.getColDef().lockPinned});this.columnModel.setColumnsPinned(o,e,r)}},i.prototype.onDragStop=function(){this.ensureIntervalCleared()},i.prototype.normaliseX=function(t){if(this.gridOptionsWrapper.isEnableRtl()){var e=this.eContainer.clientWidth;t=e-t}return this.centerContainer&&(t+=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft()),t},i.prototype.checkCenterForScrolling=function(t){if(this.centerContainer){var e=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft(),r=e+this.ctrlsService.getCenterRowContainerCtrl().getCenterWidth();this.gridOptionsWrapper.isEnableRtl()?(this.needToMoveRight=tr-50):(this.needToMoveLeft=tr-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}},i.prototype.onDragging=function(t,e){var r=this;if(e===void 0&&(e=!1),this.lastDraggingEvent=t,!m(t.hDirection)){var o=this.normaliseX(t.x);e||this.checkCenterForScrolling(o);var n=this.normaliseDirection(t.hDirection),s=t.dragSource.type,a=t.dragSource.getDragItem().columns;a=a.filter(function(l){return l.getColDef().lockPinned?l.getPinned()==r.pinned:!0}),this.attemptMoveColumns(s,a,n,o,e)}},i.prototype.normaliseDirection=function(t){if(this.gridOptionsWrapper.isEnableRtl())switch(t){case c.HorizontalDirection.Left:return c.HorizontalDirection.Right;case c.HorizontalDirection.Right:return c.HorizontalDirection.Left;default:console.error("AG Grid: Unknown direction "+t)}else return t},i.prototype.calculateOldIndex=function(t){var e=this.columnModel.getAllGridColumns(),r=gs(t.map(function(l){return e.indexOf(l)})),o=r[0],n=oe(r),s=n-o,a=s!==r.length-1;return a?null:o},i.prototype.attemptMoveColumns=function(t,e,r,o,n){var s=r===c.HorizontalDirection.Left,a=r===c.HorizontalDirection.Right,l=e.slice();this.columnModel.sortColumnsLikeGridColumns(l);var u=this.calculateValidMoves(l,a,o),p=this.calculateOldIndex(l);if(u.length!==0){var d=u[0],f=p!==null&&!n;if(t==c.DragSourceType.HeaderCell&&(f=p!==null),!(f&&(s&&d>=p||a&&d<=p)))for(var v=0;v0){for(var v=0;v0){var S=l[p-1];R=u.indexOf(S)+1}else R=u.indexOf(l[0]),R===-1&&(R=0);var F=[R],A=function(U,q){return U-q};if(e){for(var P=R+1,M=s.length-1;P<=M;)F.push(P),P++;F.sort(A)}else{for(var P=R,M=s.length-1,W=s[P];P<=M&&this.isColumnHidden(n,W);)P++,F.push(P),W=s[P];P=R-1;for(var Y=0;P>=Y;)F.push(P),P--;F.sort(A).reverse()}return F},i.prototype.isColumnHidden=function(t,e){return t.indexOf(e)<0},i.prototype.ensureIntervalStarted=function(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100),this.needToMoveLeft?this.dragAndDropService.setGhostIcon(Te.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(Te.ICON_RIGHT,!0))},i.prototype.ensureIntervalCleared=function(){this.movingIntervalId&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(Te.ICON_MOVE))},i.prototype.moveInterval=function(){var t;this.intervalCount++,t=10+this.intervalCount*5,t>100&&(t=100);var e=null,r=this.gridBodyCon.getScrollFeature();if(this.needToMoveLeft?e=r.scrollHorizontally(-t):this.needToMoveRight&&(e=r.scrollHorizontally(t)),e!==0)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;var o=this.lastDraggingEvent.dragItem.columns,n=o.filter(function(a){return!a.getColDef().lockPinned});if(n.length>0&&(this.dragAndDropService.setGhostIcon(Te.ICON_PINNED),this.failedMoveAttempts>7)){var s=this.needToMoveLeft?E.PINNED_LEFT:E.PINNED_RIGHT;this.setColumnsPinned(n,s,"uiColumnDragged"),this.dragAndDropService.nudge()}}},Fr([h("columnModel")],i.prototype,"columnModel",void 0),Fr([h("dragAndDropService")],i.prototype,"dragAndDropService",void 0),Fr([h("gridOptionsWrapper")],i.prototype,"gridOptionsWrapper",void 0),Fr([h("ctrlsService")],i.prototype,"ctrlsService",void 0),Fr([I],i.prototype,"init",null),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var vl=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},yl=function(){function i(t){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=t}return i.prototype.onDragEnter=function(t){var e=this;if(this.clearColumnsList(),!this.gridOptionsWrapper.isFunctionsReadOnly()){var r=t.dragItem.columns;!r||r.forEach(function(o){!o.isPrimary()||o.isAnyFunctionActive()||(o.isAllowValue()?e.columnsToAggregate.push(o):o.isAllowRowGroup()?e.columnsToGroup.push(o):o.isAllowPivot()&&e.columnsToPivot.push(o))})}},i.prototype.getIconName=function(){var t=this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length;return t>0?this.pinned?Te.ICON_PINNED:Te.ICON_MOVE:null},i.prototype.onDragLeave=function(t){this.clearColumnsList()},i.prototype.clearColumnsList=function(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0},i.prototype.onDragging=function(t){},i.prototype.onDragStop=function(t){this.columnsToAggregate.length>0&&this.columnModel.addValueColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&this.columnModel.addRowGroupColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&this.columnModel.addPivotColumns(this.columnsToPivot,"toolPanelDragAndDrop")},vl([h("columnModel")],i.prototype,"columnModel",void 0),vl([h("gridOptionsWrapper")],i.prototype,"gridOptionsWrapper",void 0),i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Vf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ir=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Cl=function(i){Vf(t,i);function t(e,r){var o=i.call(this)||this;return o.pinned=e,o.eContainer=r,o}return t.prototype.postConstruct=function(){var e=this;this.ctrlsService.whenReady(function(r){switch(e.pinned){case E.PINNED_LEFT:e.eSecondaryContainers=[[r.gridBodyCtrl.getBodyViewportElement(),r.leftRowContainerCtrl.getContainerElement()],[r.bottomLeftRowContainerCtrl.getContainerElement()],[r.topLeftRowContainerCtrl.getContainerElement()]];break;case E.PINNED_RIGHT:e.eSecondaryContainers=[[r.gridBodyCtrl.getBodyViewportElement(),r.rightRowContainerCtrl.getContainerElement()],[r.bottomRightRowContainerCtrl.getContainerElement()],[r.topRightRowContainerCtrl.getContainerElement()]];break;default:e.eSecondaryContainers=[[r.gridBodyCtrl.getBodyViewportElement(),r.centerRowContainerCtrl.getViewportElement()],[r.bottomCenterRowContainerCtrl.getViewportElement()],[r.topCenterRowContainerCtrl.getViewportElement()]];break}})},t.prototype.isInterestedIn=function(e){return e===c.DragSourceType.HeaderCell||e===c.DragSourceType.ToolPanel&&this.gridOptionsWrapper.isAllowDragFromColumnsToolPanel()},t.prototype.getSecondaryContainers=function(){return this.eSecondaryContainers},t.prototype.getContainer=function(){return this.eContainer},t.prototype.init=function(){this.moveColumnFeature=this.createManagedBean(new gl(this.pinned,this.eContainer)),this.bodyDropPivotTarget=this.createManagedBean(new yl(this.pinned)),this.dragAndDropService.addDropTarget(this)},t.prototype.getIconName=function(){return this.currentDropListener.getIconName()},t.prototype.isDropColumnInPivotMode=function(e){return this.columnModel.isPivotMode()&&e.dragSource.type===c.DragSourceType.ToolPanel},t.prototype.onDragEnter=function(e){this.currentDropListener=this.isDropColumnInPivotMode(e)?this.bodyDropPivotTarget:this.moveColumnFeature,this.currentDropListener.onDragEnter(e)},t.prototype.onDragLeave=function(e){this.currentDropListener.onDragLeave(e)},t.prototype.onDragging=function(e){this.currentDropListener.onDragging(e)},t.prototype.onDragStop=function(e){this.currentDropListener.onDragStop(e)},Ir([h("dragAndDropService")],t.prototype,"dragAndDropService",void 0),Ir([h("columnModel")],t.prototype,"columnModel",void 0),Ir([h("ctrlsService")],t.prototype,"ctrlsService",void 0),Ir([I],t.prototype,"postConstruct",null),Ir([I],t.prototype,"init",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Wf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Bf=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Uf=0,Nr=function(i){Wf(t,i);function t(e,r){var o=i.call(this)||this;return o.lastFocusEvent=null,o.columnGroupChild=e,o.parentRowCtrl=r,o.instanceId=e.getUniqueId()+"-"+Uf++,o}return t.prototype.shouldStopEventPropagation=function(e){var r=this.focusService.getFocusedHeader(),o=r.headerRowIndex,n=r.column;return Oa(this.gridOptionsWrapper,e,o,n)},t.prototype.setGui=function(e){this.eGui=e,this.addDomData()},t.prototype.addDomData=function(){var e=this,r=t.DOM_DATA_KEY_HEADER_CTRL;this.gridOptionsWrapper.setDomData(this.eGui,r,this),this.addDestroyFunc(function(){return e.gridOptionsWrapper.setDomData(e.eGui,r,null)})},t.prototype.focus=function(e){return this.eGui?(this.lastFocusEvent=e||null,this.eGui.focus(),!0):!1},t.prototype.getRowIndex=function(){return this.parentRowCtrl.getRowIndex()},t.prototype.getParentRowCtrl=function(){return this.parentRowCtrl},t.prototype.getPinned=function(){return this.parentRowCtrl.getPinned()},t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.getColumnGroupChild=function(){return this.columnGroupChild},t.DOM_DATA_KEY_HEADER_CTRL="headerCtrl",Bf([h("focusService")],t.prototype,"focusService",void 0),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ml=function(){function i(){}return i.getFloatingFilterType=function(t){return this.filterToFloatingFilterMapping[t]},i.filterToFloatingFilterMapping={set:"agSetColumnFloatingFilter",agSetColumnFilter:"agSetColumnFloatingFilter",multi:"agMultiColumnFloatingFilter",agMultiColumnFilter:"agMultiColumnFloatingFilter",number:"agNumberColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",date:"agDateColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",text:"agTextColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"},i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var jf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),kf=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},bo=function(i){jf(t,i);function t(e,r,o,n){var s=i.call(this)||this;return s.columnOrGroup=e,s.eCell=r,s.ariaEl=s.eCell.querySelector("[role=columnheader]")||s.eCell,s.colsSpanning=n,s.beans=o,s}return t.prototype.setColsSpanning=function(e){this.colsSpanning=e,this.onLeftChanged()},t.prototype.getColumnOrGroup=function(){return this.beans.gridOptionsWrapper.isEnableRtl()&&this.colsSpanning?oe(this.colsSpanning):this.columnOrGroup},t.prototype.postConstruct=function(){this.addManagedListener(this.columnOrGroup,J.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.setLeftFirstTime(),this.addManagedListener(this.eventService,g.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onLeftChanged.bind(this)),this.addManagedListener(this.beans.gridOptionsWrapper,G.PROP_DOM_LAYOUT,this.onLeftChanged.bind(this))},t.prototype.setLeftFirstTime=function(){var e=this.beans.gridOptionsWrapper.isSuppressColumnMoveAnimation(),r=y(this.columnOrGroup.getOldLeft()),o=this.beans.columnAnimationService.isActive()&&r&&!e;o?this.animateInLeft():this.onLeftChanged()},t.prototype.animateInLeft=function(){var e=this,r=this.getColumnOrGroup(),o=r.getLeft(),n=r.getOldLeft(),s=this.modifyLeftForPrintLayout(r,n),a=this.modifyLeftForPrintLayout(r,o);this.setLeft(s),this.actualLeft=a,this.beans.columnAnimationService.executeNextVMTurn(function(){e.actualLeft===a&&e.setLeft(a)})},t.prototype.onLeftChanged=function(){var e=this.getColumnOrGroup(),r=e.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(e,r),this.setLeft(this.actualLeft)},t.prototype.modifyLeftForPrintLayout=function(e,r){var o=this.beans.gridOptionsWrapper.getDomLayout()===E.DOM_LAYOUT_PRINT;if(!o||e.getPinned()===E.PINNED_LEFT)return r;var n=this.beans.columnModel.getDisplayedColumnsLeftWidth();if(e.getPinned()===E.PINNED_RIGHT){var s=this.beans.columnModel.getBodyContainerWidth();return n+s+r}return n+r},t.prototype.setLeft=function(e){y(e)&&(this.eCell.style.left=e+"px");var r;if(this.columnOrGroup instanceof J)r=this.columnOrGroup;else{var o=this.columnOrGroup,n=o.getLeafColumns();if(!n.length)return;n.length>1&&ga(this.ariaEl,n.length),r=n[0]}var s=this.beans.columnModel.getAriaColumnIndex(r);Xn(this.ariaEl,s)},kf([I],t.prototype,"postConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var zf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),wl=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Di=function(i){zf(t,i);function t(e,r){var o=i.call(this)||this;return o.columns=e,o.element=r,o}return t.prototype.postConstruct=function(){this.gridOptionsWrapper.isColumnHoverHighlight()&&this.addMouseHoverListeners()},t.prototype.addMouseHoverListeners=function(){this.addManagedListener(this.element,"mouseout",this.onMouseOut.bind(this)),this.addManagedListener(this.element,"mouseover",this.onMouseOver.bind(this))},t.prototype.onMouseOut=function(){this.columnHoverService.clearMouseOver()},t.prototype.onMouseOver=function(){this.columnHoverService.setMouseOver(this.columns)},wl([h("columnHoverService")],t.prototype,"columnHoverService",void 0),wl([I],t.prototype,"postConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var $f=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Ht=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},El=function(i){$f(t,i);function t(e,r){var o=i.call(this,e,r)||this;return o.column=e,o}return t.prototype.setComp=function(e,r,o,n){i.prototype.setGui.call(this,r),this.comp=e,this.eButtonShowMainFilter=o,this.eFloatingFilterBody=n;var s=this.column.getColDef();this.active=(!!s.filter||!!s.filterFramework)&&!!s.floatingFilter,this.setupWidth(),this.setupLeft(),this.setupHover(),this.setupFocus(),this.setupUserComp(),this.setupSyncWithFilter(),this.setupUi(),this.addManagedListener(this.eButtonShowMainFilter,"click",this.showParentFilter.bind(this))},t.prototype.setupUi=function(){if(this.comp.addOrRemoveButtonWrapperCssClass("ag-hidden",!this.active||this.suppressFilterButton),!!this.active){this.comp.addOrRemoveBodyCssClass("ag-floating-filter-full-body",this.suppressFilterButton),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-body",!this.suppressFilterButton);var e=fe("filter",this.gridOptionsWrapper,this.column);e&&this.eButtonShowMainFilter.appendChild(e)}},t.prototype.setupFocus=function(){this.createManagedBean(new yt(this.eGui,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))},t.prototype.onTabKeyDown=function(e){var r=document.activeElement,o=r===this.eGui;if(!o){var n=this.focusService.findNextFocusableElement(this.eGui,null,e.shiftKey);n&&(e.preventDefault(),n.focus())}},t.prototype.handleKeyDown=function(e){var r=document.activeElement,o=r===this.eGui;switch(e.keyCode){case b.UP:case b.DOWN:o||e.preventDefault();case b.LEFT:case b.RIGHT:if(o)return;e.stopPropagation();case b.ENTER:o&&this.focusService.focusInto(this.eGui)&&e.preventDefault();break;case b.ESCAPE:o||this.eGui.focus()}},t.prototype.onFocusIn=function(e){var r=this.eGui.contains(e.relatedTarget);if(!r){var o=this.focusService.isKeyboardMode(),n=!!e.relatedTarget&&!it(e.relatedTarget,"ag-floating-filter"),s=!!e.relatedTarget&&uo(e.relatedTarget,"ag-floating-filter");if(o&&n&&s&&e.target===this.eGui){var a=this.lastFocusEvent,l=!!(a&&a.keyCode===b.TAB);if(a&&l){var u=this.beans.focusService.getFocusedHeader(),p=this.beans.columnModel.getDisplayedColAfter(this.column),d=u&&p===u.column,f=!!(o&&a.shiftKey&&d);this.focusService.focusInto(this.eGui,f)}}var v=this.getRowIndex();this.beans.focusService.setFocusedHeader(v,this.column)}},t.prototype.setupHover=function(){var e=this;this.createManagedBean(new Di([this.column],this.eGui));var r=function(){if(!!e.gridOptionsWrapper.isColumnHoverHighlight()){var o=e.columnHoverService.isHovered(e.column);e.comp.addOrRemoveCssClass("ag-column-hover",o)}};this.addManagedListener(this.eventService,g.EVENT_COLUMN_HOVER_CHANGED,r),r()},t.prototype.setupLeft=function(){var e=new bo(this.column,this.eGui,this.beans);this.createManagedBean(e)},t.prototype.setupUserComp=function(){if(!!this.active){var e=this.column.getColDef(),r=this.filterManager.createFilterParams(this.column,e),o=this.userComponentFactory.mergeParamsWithApplicationProvidedParams(e,"filter",r),n=t.getDefaultFloatingFilterType(e);n==null&&(n="agReadOnlyFloatingFilter");var s={api:this.gridApi,column:this.column,filterParams:o,currentParentModel:this.currentParentModel.bind(this),parentFilterInstance:this.parentFilterInstance.bind(this),showParentFilter:this.showParentFilter.bind(this),onFloatingFilterChanged:this.onFloatingFilterChanged.bind(this),suppressFilterButton:!1};this.suppressFilterButton=e.floatingFilterComponentParams?!!e.floatingFilterComponentParams.suppressFilterButton:!1;var a=this.userComponentFactory.getFloatingFilterCompDetails(e,s,n);a&&this.comp.setCompDetails(a)}},t.getDefaultFloatingFilterType=function(e){if(e==null)return null;var r=null;if(typeof e.filter=="string")r=ml.getFloatingFilterType(e.filter);else if(!e.filterFramework){if(e.filter===!0){var o=j.isRegistered(c.ModuleNames.SetFilterModule);r=o?"agSetColumnFloatingFilter":"agTextColumnFloatingFilter"}}return r},t.prototype.currentParentModel=function(){var e=this.getFilterComponent(!1);return e?e.resolveNow(null,function(r){return r&&r.getModel()}):null},t.prototype.getFilterComponent=function(e){return e===void 0&&(e=!0),this.filterManager.getFilterComponent(this.column,"NO_UI",e)},t.prototype.onFloatingFilterChanged=function(){console.warn("AG Grid: since version 21.x, how floating filters are implemented has changed. Instead of calling params.onFloatingFilterChanged(), get a reference to the main filter via params.parentFilterInstance() and then set a value on the parent filter directly.")},t.prototype.parentFilterInstance=function(e){var r=this,o=this.getFilterComponent();o&&o.then(function(n){var s=r.frameworkComponentWrapper?r.frameworkComponentWrapper.unwrap(n):n;e(s)})},t.prototype.showParentFilter=function(){var e=this.suppressFilterButton?this.eFloatingFilterBody:this.eButtonShowMainFilter;this.menuFactory.showMenuAfterButtonClick(this.column,e,"floatingFilter","filterMenuTab",["filterMenuTab"])},t.prototype.setupSyncWithFilter=function(){var e=this;if(!!this.active){var r=function(o){var n=e.comp.getFloatingFilterComp();if(!!n){var s=e.currentParentModel();n.then(function(a){return a&&a.onParentModelChanged(s,o)})}};this.addManagedListener(this.column,J.EVENT_FILTER_CHANGED,r),this.filterManager.isFilterActive(this.column)&&r(null)}},t.prototype.setupWidth=function(){var e=this,r=function(){var o=e.column.getActualWidth()+"px";e.comp.setWidth(o)};this.addManagedListener(this.column,J.EVENT_WIDTH_CHANGED,r),r()},Ht([h("userComponentFactory")],t.prototype,"userComponentFactory",void 0),Ht([h("filterManager")],t.prototype,"filterManager",void 0),Ht([h("columnHoverService")],t.prototype,"columnHoverService",void 0),Ht([h("gridApi")],t.prototype,"gridApi",void 0),Ht([h("menuFactory")],t.prototype,"menuFactory",void 0),Ht([h("beans")],t.prototype,"beans",void 0),Ht([Z("frameworkComponentWrapper")],t.prototype,"frameworkComponentWrapper",void 0),t}(Nr);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Ti=function(){function i(){}return i.getHeaderClassesFromColDef=function(t,e,r,o){return m(t)?[]:this.getColumnClassesFromCollDef(t.headerClass,t,e,r,o)},i.getToolPanelClassesFromColDef=function(t,e,r,o){return m(t)?[]:this.getColumnClassesFromCollDef(t.toolPanelClass,t,e,r,o)},i.getColumnClassesFromCollDef=function(t,e,r,o,n){if(m(t))return[];var s;if(typeof t=="function"){var a={colDef:e,column:o,columnGroup:n,context:r.getContext(),api:r.getApi()};s=t(a)}else s=t;return typeof s=="string"?[s]:Array.isArray(s)?s:[]},i}();/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Kf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),bi=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Yf=function(i){Kf(t,i);function t(e,r,o,n,s){var a=i.call(this)||this;return a.pinned=e,a.column=r,a.eResize=o,a.comp=n,a.ctrl=s,a}return t.prototype.postConstruct=function(){var e=this,r=this.column.getColDef(),o=[],n,s,a=function(){if(ne(e.eResize,n),!!n){var p=e.horizontalResizeService.addResizeBar({eResizeBar:e.eResize,onResizeStart:e.onResizeStart.bind(e),onResizing:e.onResizing.bind(e,!1),onResizeEnd:e.onResizing.bind(e,!0)});if(o.push(p),s){var d=e.gridOptionsWrapper.isSkipHeaderOnAutoSize(),f=function(){e.columnModel.autoSizeColumn(e.column,d,"uiColumnResized")};e.eResize.addEventListener("dblclick",f);var v=new ze(e.eResize);v.addEventListener(ze.EVENT_DOUBLE_TAP,f),e.addDestroyFunc(function(){e.eResize.removeEventListener("dblclick",f),v.removeEventListener(ze.EVENT_DOUBLE_TAP,f),v.destroy()})}}},l=function(){o.forEach(function(p){return p()}),o.length=0},u=function(){var p=e.column.isResizable(),d=!e.gridOptionsWrapper.isSuppressAutoSize()&&!r.suppressAutoSize,f=p!==n||d!==s;f&&(n=p,s=d,l(),a())};u(),this.addDestroyFunc(l),this.ctrl.addRefreshFunction(u)},t.prototype.onResizing=function(e,r){var o=this.normaliseResizeAmount(r),n=[{key:this.column,newWidth:this.resizeStartWidth+o}];this.columnModel.setColumnWidths(n,this.resizeWithShiftKey,e,"uiColumnDragged"),e&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)},t.prototype.onResizeStart=function(e){this.resizeStartWidth=this.column.getActualWidth(),this.resizeWithShiftKey=e,this.comp.addOrRemoveCssClass("ag-column-resizing",!0)},t.prototype.normaliseResizeAmount=function(e){var r=e,o=this.pinned!==E.PINNED_LEFT,n=this.pinned===E.PINNED_RIGHT;return this.gridOptionsWrapper.isEnableRtl()?o&&(r*=-1):n&&(r*=-1),r},bi([h("horizontalResizeService")],t.prototype,"horizontalResizeService",void 0),bi([h("columnModel")],t.prototype,"columnModel",void 0),bi([I],t.prototype,"postConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var qf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),or=function(i){qf(t,i);function t(e,r,o){r===void 0&&(r="ag-checkbox"),o===void 0&&(o="checkbox");var n=i.call(this,e,r,o)||this;return n.labelAlignment="right",n.selected=!1,n.readOnly=!1,n.passive=!1,n}return t.prototype.addInputListeners=function(){this.addManagedListener(this.eInput,"click",this.onCheckboxClick.bind(this)),this.addManagedListener(this.eLabel,"click",this.toggle.bind(this))},t.prototype.getNextValue=function(){return this.selected===void 0?!0:!this.selected},t.prototype.setPassive=function(e){this.passive=e},t.prototype.isReadOnly=function(){return this.readOnly},t.prototype.setReadOnly=function(e){B(this.eWrapper,"ag-disabled",e),this.eInput.disabled=e,this.readOnly=e},t.prototype.setDisabled=function(e){return B(this.eWrapper,"ag-disabled",e),i.prototype.setDisabled.call(this,e)},t.prototype.toggle=function(){if(!this.eInput.disabled){var e=this.isSelected(),r=this.getNextValue();this.passive?this.dispatchChange(r,e):this.setValue(r)}},t.prototype.getValue=function(){return this.isSelected()},t.prototype.setValue=function(e,r){return this.refreshSelectedClass(e),this.setSelected(e,r),this},t.prototype.setName=function(e){var r=this.getInputElement();return r.name=e,this},t.prototype.isSelected=function(){return this.selected},t.prototype.setSelected=function(e,r){this.isSelected()!==e&&(this.previousValue=this.isSelected(),e=this.selected=typeof e=="boolean"?e:void 0,this.eInput.checked=e,this.eInput.indeterminate=e===void 0,r||this.dispatchChange(this.selected,this.previousValue))},t.prototype.dispatchChange=function(e,r,o){this.dispatchEvent({type:t.EVENT_CHANGED,selected:e,previousValue:r,event:o});var n=this.getInputElement(),s={type:g.EVENT_CHECKBOX_CHANGED,id:n.id,name:n.name,selected:e,previousValue:r};this.eventService.dispatchEvent(s)},t.prototype.onCheckboxClick=function(e){if(!(this.passive||this.eInput.disabled)){var r=this.isSelected(),o=this.selected=e.target.checked;this.refreshSelectedClass(o),this.dispatchChange(o,r,e)}},t.prototype.refreshSelectedClass=function(e){B(this.eWrapper,"ag-checked",e===!0),B(this.eWrapper,"ag-indeterminate",e==null)},t}(Ct);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Xf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Fo=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Qf=function(i){Xf(t,i);function t(e){var r=i.call(this)||this;r.cbSelectAllVisible=!1,r.processingEventFromCheckbox=!1,r.column=e;var o=e.getColDef();return r.filteredOnly=o?!!o.headerCheckboxSelectionFilteredOnly:!1,r}return t.prototype.onSpaceKeyPressed=function(e){var r=this.cbSelectAll;r.isDisplayed()&&!r.getGui().contains(document.activeElement)&&(e.preventDefault(),r.setValue(!r.getValue()))},t.prototype.getCheckboxGui=function(){return this.cbSelectAll.getGui()},t.prototype.setComp=function(e){this.comp=e,this.cbSelectAll=this.createManagedBean(new or),this.cbSelectAll.addCssClass("ag-header-select-all"),Pe(this.cbSelectAll.getGui(),"presentation"),this.showOrHideSelectAll(),this.addManagedListener(this.eventService,g.EVENT_NEW_COLUMNS_LOADED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,g.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,g.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.eventService,g.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addManagedListener(this.cbSelectAll,or.EVENT_CHANGED,this.onCbSelectAll.bind(this)),this.cbSelectAll.getInputElement().setAttribute("tabindex","-1"),this.refreshSelectAllLabel()},t.prototype.showOrHideSelectAll=function(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setDisplayed(this.cbSelectAllVisible),this.cbSelectAllVisible&&(this.checkRightRowModelType(),this.updateStateOfCheckbox()),this.refreshHeaderAriaDescribedBy(this.cbSelectAllVisible)},t.prototype.refreshHeaderAriaDescribedBy=function(e){var r=e?this.cbSelectAll.getInputElement().id:void 0;this.comp.setAriaDescribedBy(r)},t.prototype.onModelChanged=function(){!this.cbSelectAllVisible||this.updateStateOfCheckbox()},t.prototype.onSelectionChanged=function(){!this.cbSelectAllVisible||this.updateStateOfCheckbox()},t.prototype.getNextCheckboxState=function(e){return e.selected===0&&e.notSelected===0?!1:e.selected>0&&e.notSelected>0?null:e.selected>0},t.prototype.updateStateOfCheckbox=function(){if(!this.processingEventFromCheckbox){this.processingEventFromCheckbox=!0;var e=this.getSelectionCount(),r=this.getNextCheckboxState(e);this.cbSelectAll.setValue(r),this.refreshSelectAllLabel(),this.processingEventFromCheckbox=!1}},t.prototype.refreshSelectAllLabel=function(){var e=this.gridOptionsWrapper.getLocaleTextFunc(),r=this.cbSelectAll.getValue(),o=r?e("ariaChecked","checked"):e("ariaUnchecked","unchecked"),n=e("ariaRowSelectAll","Press Space to toggle all rows selection");this.cbSelectAll.setInputAriaLabel(n+" ("+o+")")},t.prototype.getSelectionCount=function(){var e=this,r=0,o=0,n=function(s){e.gridOptionsWrapper.isGroupSelectsChildren()&&s.group||(s.isSelected()?r++:s.selectable&&o++)};return this.filteredOnly?this.gridApi.forEachNodeAfterFilter(n):this.gridApi.forEachNode(n),{notSelected:o,selected:r}},t.prototype.checkRightRowModelType=function(){var e=this.rowModel.getType(),r=e===E.ROW_MODEL_TYPE_CLIENT_SIDE;r||console.warn("AG Grid: selectAllCheckbox is only available if using normal row model, you are using "+e)},t.prototype.onCbSelectAll=function(){if(!this.processingEventFromCheckbox&&!!this.cbSelectAllVisible){var e=this.cbSelectAll.getValue();e?this.selectionService.selectAllRowNodes(this.filteredOnly):this.selectionService.deselectAllRowNodes(this.filteredOnly)}},t.prototype.isCheckboxSelection=function(){var e=this.column.getColDef().headerCheckboxSelection;if(typeof e=="function"){var r=e;e=r({column:this.column,colDef:this.column.getColDef(),columnApi:this.columnApi,api:this.gridApi})}return e?this.gridOptionsWrapper.isRowModelServerSide()?(console.warn("headerCheckboxSelection is not supported for Server Side Row Model"),!1):this.gridOptionsWrapper.isRowModelInfinite()?(console.warn("headerCheckboxSelection is not supported for Infinite Row Model"),!1):this.gridOptionsWrapper.isRowModelViewport()?(console.warn("headerCheckboxSelection is not supported for Viewport Row Model"),!1):!0:!1},Fo([h("gridApi")],t.prototype,"gridApi",void 0),Fo([h("columnApi")],t.prototype,"columnApi",void 0),Fo([h("rowModel")],t.prototype,"rowModel",void 0),Fo([h("selectionService")],t.prototype,"selectionService",void 0),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Zf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),pt=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},Rl=function(i){Zf(t,i);function t(e,r){var o=i.call(this,e,r)||this;return o.refreshFunctions=[],o.userHeaderClasses=new Set,o.column=e,o}return t.prototype.setComp=function(e,r,o){var n=this;i.prototype.setGui.call(this,r),this.comp=e,this.colDefVersion=this.columnModel.getColDefVersion(),this.updateState(),this.setupWidth(),this.setupMovingCss(),this.setupMenuClass(),this.setupSortableClass(),this.addColumnHoverListener(),this.setupFilterCss(),this.setupColId(),this.setupClassesFromColDef(),this.setupTooltip(),this.addActiveHeaderMouseListeners(),this.setupSelectAll(),this.setupUserComp(),this.createManagedBean(new Yf(this.getPinned(),this.column,o,e,this)),this.createManagedBean(new Di([this.column],r)),this.createManagedBean(new bo(this.column,r,this.beans)),this.createManagedBean(new yt(r,{shouldStopEventPropagation:function(s){return n.shouldStopEventPropagation(s)},onTabKeyDown:function(){return null},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.eventService,g.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.addManagedListener(this.eventService,g.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.addManagedListener(this.eventService,g.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,g.EVENT_COLUMN_PIVOT_CHANGED,this.onColumnPivotChanged.bind(this))},t.prototype.setupUserComp=function(){var e=this.lookupUserCompDetails();this.setCompDetails(e)},t.prototype.setCompDetails=function(e){this.userCompDetails=e,this.comp.setUserCompDetails(e)},t.prototype.lookupUserCompDetails=function(){var e=this.createParams(),r=this.column.getColDef();return this.userComponentFactory.getHeaderCompDetails(r,e)},t.prototype.createParams=function(){var e=this,r=this.column.getColDef(),o={column:this.column,displayName:this.displayName,enableSorting:r.sortable,enableMenu:this.menuEnabled,showColumnMenu:function(n){e.gridApi.showColumnMenuAfterButtonClick(e.column,n)},progressSort:function(n){e.sortController.progressSort(e.column,!!n,"uiColumnSorted")},setSort:function(n,s){e.sortController.setSortForColumn(e.column,n,!!s,"uiColumnSorted")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext(),eGridHeader:this.getGui()};return o},t.prototype.setupSelectAll=function(){this.selectAllFeature=this.createManagedBean(new Qf(this.column)),this.selectAllFeature.setComp(this.comp)},t.prototype.getSelectAllGui=function(){return this.selectAllFeature.getCheckboxGui()},t.prototype.handleKeyDown=function(e){e.keyCode===b.SPACE&&this.selectAllFeature.onSpaceKeyPressed(e),e.keyCode===b.ENTER&&this.onEnterKeyPressed(e)},t.prototype.onEnterKeyPressed=function(e){var r=this.comp.getUserCompInstance();if(!!r){if(e.ctrlKey||e.metaKey)this.menuEnabled&&r.showMenu&&(e.preventDefault(),r.showMenu());else if(this.sortable){var o=e.shiftKey;this.sortController.progressSort(this.column,o,"uiColumnSorted")}}},t.prototype.isMenuEnabled=function(){return this.menuEnabled},t.prototype.onFocusIn=function(e){if(!this.getGui().contains(e.relatedTarget)){var r=this.getRowIndex();this.focusService.setFocusedHeader(r,this.column)}this.setActiveHeader(!0)},t.prototype.onFocusOut=function(e){this.getGui().contains(e.relatedTarget)||this.setActiveHeader(!1)},t.prototype.setupTooltip=function(){var e=this,r={getColumn:function(){return e.column},getColDef:function(){return e.column.getColDef()},getGui:function(){return e.eGui},getLocation:function(){return"header"},getTooltipValue:function(){var n=e.column.getColDef().headerTooltip;return n}},o=this.createManagedBean(new Ei(r,this.beans));o.setComp(this.comp),this.refreshFunctions.push(function(){return o.refreshToolTip()})},t.prototype.setupClassesFromColDef=function(){var e=this,r=function(){var o=e.column.getColDef(),n=e.gridOptionsWrapper,s=Ti.getHeaderClassesFromColDef(o,n,e.column,null),a=e.userHeaderClasses;e.userHeaderClasses=new Set(s),s.forEach(function(l){a.has(l)?a.delete(l):e.comp.addOrRemoveCssClass(l,!0)}),a.forEach(function(l){return e.comp.addOrRemoveCssClass(l,!1)})};this.refreshFunctions.push(r),r()},t.prototype.getGui=function(){return this.eGui},t.prototype.setDragSource=function(e){var r=this;this.dragSourceElement=e,this.removeDragSource(),!!e&&(!this.draggable||(this.moveDragSource={type:c.DragSourceType.HeaderCell,eElement:e,defaultIconName:Te.ICON_HIDE,getDragItem:function(){return r.createDragItem()},dragItemName:this.displayName,onDragStarted:function(){return r.column.setMoving(!0,"uiColumnMoved")},onDragStopped:function(){return r.column.setMoving(!1,"uiColumnMoved")}},this.dragAndDropService.addDragSource(this.moveDragSource,!0)))},t.prototype.createDragItem=function(){var e={};return e[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:e}},t.prototype.removeDragSource=function(){this.moveDragSource&&(this.dragAndDropService.removeDragSource(this.moveDragSource),this.moveDragSource=void 0)},t.prototype.onNewColumnsLoaded=function(){var e=this.columnModel.getColDefVersion();e!=this.colDefVersion&&(this.colDefVersion=e,this.refresh())},t.prototype.updateState=function(){var e=this.column.getColDef();this.menuEnabled=this.menuFactory.isMenuEnabled(this.column)&&!e.suppressMenu,this.sortable=e.sortable,this.displayName=this.calculateDisplayName(),this.draggable=this.workOutDraggable()},t.prototype.addRefreshFunction=function(e){this.refreshFunctions.push(e)},t.prototype.refresh=function(){this.updateState(),this.refreshHeaderComp(),this.refreshFunctions.forEach(function(e){return e()})},t.prototype.refreshHeaderComp=function(){var e=this.lookupUserCompDetails(),r=this.comp.getUserCompInstance(),o=r!=null&&this.userCompDetails.componentClass==e.componentClass,n=o?this.attemptHeaderCompRefresh(e.params):!1;n?this.setDragSource(this.dragSourceElement):this.setCompDetails(e)},t.prototype.attemptHeaderCompRefresh=function(e){var r=this.comp.getUserCompInstance();if(!r||!r.refresh)return!1;var o=r.refresh(e);return o},t.prototype.calculateDisplayName=function(){return this.columnModel.getDisplayNameForColumn(this.column,"header",!0)},t.prototype.checkDisplayName=function(){this.displayName!==this.calculateDisplayName()&&this.refresh()},t.prototype.workOutDraggable=function(){var e=this.column.getColDef(),r=this.gridOptionsWrapper.isSuppressMovableColumns(),o=!r&&!e.suppressMovable&&!e.lockPosition;return!!o||!!e.enableRowGroup||!!e.enablePivot},t.prototype.onColumnRowGroupChanged=function(){this.checkDisplayName()},t.prototype.onColumnPivotChanged=function(){this.checkDisplayName()},t.prototype.onColumnValueChanged=function(){this.checkDisplayName()},t.prototype.setupWidth=function(){var e=this,r=function(){e.comp.setWidth(e.column.getActualWidth()+"px")};this.addManagedListener(this.column,J.EVENT_WIDTH_CHANGED,r),r()},t.prototype.setupMovingCss=function(){var e=this,r=function(){e.comp.addOrRemoveCssClass("ag-header-cell-moving",e.column.isMoving())};this.addManagedListener(this.column,J.EVENT_MOVING_CHANGED,r),r()},t.prototype.setupMenuClass=function(){var e=this,r=function(){e.comp.addOrRemoveCssClass("ag-column-menu-visible",e.column.isMenuVisible())};this.addManagedListener(this.column,J.EVENT_MENU_VISIBLE_CHANGED,r),r()},t.prototype.setupSortableClass=function(){var e=this,r=function(){e.comp.addOrRemoveCssClass("ag-header-cell-sortable",!!e.sortable)},o=function(){e.sortable?e.comp.setAriaSort(la(e.column)):e.comp.setAriaSort(void 0)};r(),o(),this.addRefreshFunction(r),this.addRefreshFunction(o),this.addManagedListener(this.column,J.EVENT_SORT_CHANGED,o)},t.prototype.addColumnHoverListener=function(){var e=this,r=function(){if(!!e.gridOptionsWrapper.isColumnHoverHighlight()){var o=e.columnHoverService.isHovered(e.column);e.comp.addOrRemoveCssClass("ag-column-hover",o)}};this.addManagedListener(this.eventService,g.EVENT_COLUMN_HOVER_CHANGED,r),r()},t.prototype.setupFilterCss=function(){var e=this,r=function(){e.comp.addOrRemoveCssClass("ag-header-cell-filtered",e.column.isFilterActive())};this.addManagedListener(this.column,J.EVENT_FILTER_ACTIVE_CHANGED,r),r()},t.prototype.setupColId=function(){this.comp.setColId(this.column.getColId())},t.prototype.addActiveHeaderMouseListeners=function(){var e=this,r=function(o){return e.setActiveHeader(o.type==="mouseenter")};this.addManagedListener(this.getGui(),"mouseenter",r),this.addManagedListener(this.getGui(),"mouseleave",r)},t.prototype.setActiveHeader=function(e){this.comp.addOrRemoveCssClass("ag-header-active",e)},pt([h("columnModel")],t.prototype,"columnModel",void 0),pt([h("columnHoverService")],t.prototype,"columnHoverService",void 0),pt([h("beans")],t.prototype,"beans",void 0),pt([h("sortController")],t.prototype,"sortController",void 0),pt([h("menuFactory")],t.prototype,"menuFactory",void 0),pt([h("dragAndDropService")],t.prototype,"dragAndDropService",void 0),pt([h("gridApi")],t.prototype,"gridApi",void 0),pt([h("columnApi")],t.prototype,"columnApi",void 0),pt([h("userComponentFactory")],t.prototype,"userComponentFactory",void 0),pt([ve],t.prototype,"removeDragSource",null),t}(Nr);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var Jf=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Fi=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},eg=function(i){Jf(t,i);function t(e,r,o,n){var s=i.call(this)||this;return s.eResize=r,s.comp=e,s.pinned=o,s.columnGroup=n,s}return t.prototype.postConstruct=function(){var e=this;if(!this.columnGroup.isResizable()){this.comp.addOrRemoveResizableCssClass("ag-hidden",!0);return}var r=this.horizontalResizeService.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});if(this.addDestroyFunc(r),!this.gridOptionsWrapper.isSuppressAutoSize()){var o=this.gridOptionsWrapper.isSkipHeaderOnAutoSize();this.eResize.addEventListener("dblclick",function(n){var s=[];e.columnGroup.getDisplayedLeafColumns().forEach(function(a){a.getColDef().suppressAutoSize||s.push(a.getColId())}),s.length>0&&e.columnModel.autoSizeColumns(s,o,"uiColumnResized")})}},t.prototype.onResizeStart=function(e){var r=this,o=this.columnGroup.getDisplayedLeafColumns();this.resizeCols=o.filter(function(a){return a.isResizable()}),this.resizeStartWidth=0,this.resizeCols.forEach(function(a){return r.resizeStartWidth+=a.getActualWidth()}),this.resizeRatios=[],this.resizeCols.forEach(function(a){return r.resizeRatios.push(a.getActualWidth()/r.resizeStartWidth)});var n=null;if(e&&(n=this.columnModel.getDisplayedGroupAfter(this.columnGroup)),n){var s=n.getDisplayedLeafColumns();this.resizeTakeFromCols=s.filter(function(a){return a.isResizable()}),this.resizeTakeFromStartWidth=0,this.resizeTakeFromCols.forEach(function(a){return r.resizeTakeFromStartWidth+=a.getActualWidth()}),this.resizeTakeFromRatios=[],this.resizeTakeFromCols.forEach(function(a){return r.resizeTakeFromRatios.push(a.getActualWidth()/r.resizeTakeFromStartWidth)})}else this.resizeTakeFromCols=null,this.resizeTakeFromStartWidth=null,this.resizeTakeFromRatios=null;this.comp.addOrRemoveCssClass("ag-column-resizing",!0)},t.prototype.onResizing=function(e,r){var o=[],n=this.normaliseDragChange(r);o.push({columns:this.resizeCols,ratios:this.resizeRatios,width:this.resizeStartWidth+n}),this.resizeTakeFromCols&&o.push({columns:this.resizeTakeFromCols,ratios:this.resizeTakeFromRatios,width:this.resizeTakeFromStartWidth-n}),this.columnModel.resizeColumnSets(o,e,"uiColumnDragged"),e&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)},t.prototype.normaliseDragChange=function(e){var r=e;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==E.PINNED_LEFT&&(r*=-1):this.pinned===E.PINNED_RIGHT&&(r*=-1),r},Fi([h("horizontalResizeService")],t.prototype,"horizontalResizeService",void 0),Fi([h("columnModel")],t.prototype,"columnModel",void 0),Fi([I],t.prototype,"postConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var tg=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),rg=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},og=function(i){tg(t,i);function t(e,r){var o=i.call(this)||this;return o.removeChildListenersFuncs=[],o.columnGroup=r,o.comp=e,o}return t.prototype.postConstruct=function(){this.addListenersToChildrenColumns(),this.addManagedListener(this.columnGroup,ye.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this))},t.prototype.addListenersToChildrenColumns=function(){var e=this;this.removeListenersOnChildrenColumns();var r=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach(function(o){o.addEventListener(J.EVENT_WIDTH_CHANGED,r),o.addEventListener(J.EVENT_VISIBLE_CHANGED,r),e.removeChildListenersFuncs.push(function(){o.removeEventListener(J.EVENT_WIDTH_CHANGED,r),o.removeEventListener(J.EVENT_VISIBLE_CHANGED,r)})})},t.prototype.removeListenersOnChildrenColumns=function(){this.removeChildListenersFuncs.forEach(function(e){return e()}),this.removeChildListenersFuncs=[]},t.prototype.onDisplayedChildrenChanged=function(){this.addListenersToChildrenColumns(),this.onWidthChanged()},t.prototype.onWidthChanged=function(){this.comp.setWidth(this.columnGroup.getActualWidth()+"px")},rg([I],t.prototype,"postConstruct",null),t}(T);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ng=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),nr=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},_l=function(i){ng(t,i);function t(e,r){var o=i.call(this,e,r)||this;return o.columnGroup=e,o}return t.prototype.setComp=function(e,r,o){i.prototype.setGui.call(this,r),this.comp=e,this.displayName=this.columnModel.getDisplayNameForColumnGroup(this.columnGroup,"header"),this.addClasses(),this.addAttributes(),this.setupMovingCss(),this.setupExpandable(),this.setupTooltip(),this.setupUserComp();var n=this.getParentRowCtrl().getPinned(),s=this.columnGroup.getOriginalColumnGroup().getLeafColumns();this.createManagedBean(new Di(s,r)),this.createManagedBean(new bo(this.columnGroup,r,this.beans)),this.createManagedBean(new eg(e,o,n,this.columnGroup)),this.createManagedBean(new og(e,this.columnGroup)),this.createManagedBean(new yt(r,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:function(){},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))},t.prototype.setupUserComp=function(){var e=this,r=this.displayName,o={displayName:this.displayName,columnGroup:this.columnGroup,setExpanded:function(u){e.columnModel.setColumnGroupOpened(e.columnGroup.getOriginalColumnGroup(),u,"gridInitializing")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()};if(!r){for(var n=this.columnGroup,s=n.getLeafColumns();n.getParent()&&n.getParent().getLeafColumns().length===s.length;)n=n.getParent();var a=n.getColGroupDef();a&&(r=a.headerName),r||(r=s?this.columnModel.getDisplayNameForColumn(s[0],"header",!0):"")}var l=this.userComponentFactory.getHeaderGroupCompDetails(o);this.comp.setUserCompDetails(l)},t.prototype.setupTooltip=function(){var e=this,r=this.columnGroup.getColGroupDef(),o={getColumn:function(){return e.columnGroup},getGui:function(){return e.eGui},getLocation:function(){return"headerGroup"},getTooltipValue:function(){return r&&r.headerTooltip}};r&&(o.getColDef=function(){return r});var n=this.createManagedBean(new Ei(o,this.beans));n.setComp(this.comp)},t.prototype.setupExpandable=function(){var e=this.columnGroup.getOriginalColumnGroup();this.refreshExpanded(),this.addManagedListener(e,le.EVENT_EXPANDABLE_CHANGED,this.refreshExpanded.bind(this)),this.addManagedListener(e,le.EVENT_EXPANDED_CHANGED,this.refreshExpanded.bind(this))},t.prototype.refreshExpanded=function(){var e=this.columnGroup;this.expandable=e.isExpandable();var r=e.isExpanded();this.expandable?this.comp.setAriaExpanded(r?"true":"false"):this.comp.setAriaExpanded(void 0)},t.prototype.addAttributes=function(){this.comp.setColId(this.columnGroup.getUniqueId())},t.prototype.addClasses=function(){var e=this,r=this.columnGroup.getColGroupDef(),o=Ti.getHeaderClassesFromColDef(r,this.gridOptionsWrapper,null,this.columnGroup);o.push(this.columnGroup.isPadding()?"ag-header-group-cell-no-group":"ag-header-group-cell-with-group"),o.forEach(function(n){return e.comp.addOrRemoveCssClass(n,!0)})},t.prototype.setupMovingCss=function(){var e=this,r=this.columnGroup.getOriginalColumnGroup(),o=r.getLeafColumns(),n=function(){return e.comp.addOrRemoveCssClass("ag-header-cell-moving",e.columnGroup.isMoving())};o.forEach(function(s){e.addManagedListener(s,J.EVENT_MOVING_CHANGED,n)}),n()},t.prototype.onFocusIn=function(e){if(!this.eGui.contains(e.relatedTarget)){var r=this.getRowIndex();this.beans.focusService.setFocusedHeader(r,this.columnGroup)}},t.prototype.handleKeyDown=function(e){var r=document.activeElement,o=r===this.eGui;if(!(!this.expandable||!o)&&e.keyCode===b.ENTER){var n=this.columnGroup,s=!n.isExpanded();this.columnModel.setColumnGroupOpened(n.getOriginalColumnGroup(),s,"uiColumnExpanded")}},t.prototype.setDragSource=function(e){var r=this;if(!this.isSuppressMoving()){var o=this.columnGroup.getOriginalColumnGroup().getLeafColumns(),n={type:c.DragSourceType.HeaderCell,eElement:e,defaultIconName:Te.ICON_HIDE,dragItemName:this.displayName,getDragItem:this.getDragItemForGroup.bind(this),onDragStarted:function(){return o.forEach(function(s){return s.setMoving(!0,"uiColumnDragged")})},onDragStopped:function(){return o.forEach(function(s){return s.setMoving(!1,"uiColumnDragged")})}};this.dragAndDropService.addDragSource(n,!0),this.addDestroyFunc(function(){return r.dragAndDropService.removeDragSource(n)})}},t.prototype.getDragItemForGroup=function(){var e=this.columnGroup.getOriginalColumnGroup().getLeafColumns(),r={};e.forEach(function(n){return r[n.getId()]=n.isVisible()});var o=[];return this.columnModel.getAllDisplayedColumns().forEach(function(n){e.indexOf(n)>=0&&(o.push(n),Ee(e,n))}),e.forEach(function(n){return o.push(n)}),{columns:o,visibleState:r}},t.prototype.isSuppressMoving=function(){var e=!1;this.columnGroup.getLeafColumns().forEach(function(o){(o.getColDef().suppressMovable||o.getColDef().lockPosition)&&(e=!0)});var r=e||this.gridOptionsWrapper.isSuppressMovableColumns();return r},nr([h("beans")],t.prototype,"beans",void 0),nr([h("columnModel")],t.prototype,"columnModel",void 0),nr([h("dragAndDropService")],t.prototype,"dragAndDropService",void 0),nr([h("userComponentFactory")],t.prototype,"userComponentFactory",void 0),nr([h("gridApi")],t.prototype,"gridApi",void 0),nr([h("columnApi")],t.prototype,"columnApi",void 0),t}(Nr);/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components + * @version v26.2.1 + * @link http://www.ag-grid.com/ + * @license MIT + */var ig=function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n])},i(t,e)};return function(t,e){i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}(),Sl=function(i,t,e,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,t,e,r);else for(var a=i.length-1;a>=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},sg=0,Io=function(i){ig(t,i);function t(e,r,o){var n=i.call(this)||this;return n.instanceId=sg++,n.headerCellCtrls={},n.rowIndex=e,n.pinned=r,n.type=o,n}return t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.setComp=function(e){this.comp=e,this.onRowHeightChanged(),this.onVirtualColumnsChanged(),this.setWidth(),this.addEventListeners(),so()&&this.comp.setTransform("translateZ(0)"),e.setAriaRowIndex(this.rowIndex+1)},t.prototype.addEventListeners=function(){this.addManagedListener(this.eventService,g.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addManagedListener(this.gridOptionsWrapper,G.PROP_DOM_LAYOUT,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,g.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,g.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,G.PROP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,G.PROP_PIVOT_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,G.PROP_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,G.PROP_PIVOT_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.gridOptionsWrapper,G.PROP_FLOATING_FILTERS_HEIGHT,this.onRowHeightChanged.bind(this))},t.prototype.getHtmlElementForColumnHeader=function(e){if(this.type==c.HeaderRowType.COLUMN){var r=de(this.headerCellCtrls,function(n){return n.getColumnGroupChild()==e});if(!!r){var o=r.getGui();return o}}},t.prototype.onDisplayedColumnsChanged=function(){this.onVirtualColumnsChanged(),this.setWidth()},t.prototype.getType=function(){return this.type},t.prototype.onColumnResized=function(){this.setWidth()},t.prototype.setWidth=function(){var e=this.getWidthForRow();this.comp.setWidth(e+"px")},t.prototype.getWidthForRow=function(){var e=this.gridOptionsWrapper.getDomLayout()===E.DOM_LAYOUT_PRINT;if(e){var r=this.pinned!=null;return r?0:this.columnModel.getContainerWidth(E.PINNED_RIGHT)+this.columnModel.getContainerWidth(E.PINNED_LEFT)+this.columnModel.getContainerWidth(null)}return this.columnModel.getContainerWidth(this.pinned)},t.prototype.onRowHeightChanged=function(){var e=this.columnModel.getHeaderRowCount(),r=[],o=0,n,s;this.columnModel.isPivotMode()?(n=this.gridOptionsWrapper.getPivotGroupHeaderHeight(),s=this.gridOptionsWrapper.getPivotHeaderHeight()):(this.columnModel.hasFloatingFilters()&&(e++,o=1),n=this.gridOptionsWrapper.getGroupHeaderHeight(),s=this.gridOptionsWrapper.getHeaderHeight());for(var a=1+o,l=e-a,u=0;u=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},lg=function(){for(var i=0,t=0,e=arguments.length;t=0;a--)(s=i[a])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},No=function(i){ug(t,i);function t(e){var r=i.call(this)||this;return r.headerRowComps={},r.rowCompsList=[],r.pinned=e,r}return t.prototype.init=function(){var e=this;this.selectAndSetTemplate();var r={addOrRemoveCssClass:function(n,s){return e.addOrRemoveCssClass(n,s)},setCtrls:function(n){return e.setCtrls(n)},setCenterWidth:function(n){return e.eCenterContainer.style.width=n},setContainerTransform:function(n){return e.eCenterContainer.style.transform=n},setPinnedContainerWidth:function(n){var s=e.getGui();s.style.width=n,s.style.maxWidth=n,s.style.minWidth=n}},o=this.createManagedBean(new Ol(this.pinned));o.setComp(r,this.getGui())},t.prototype.selectAndSetTemplate=function(){var e=this.pinned==E.PINNED_LEFT,r=this.pinned==E.PINNED_RIGHT,o=e?t.PINNED_LEFT_TEMPLATE:r?t.PINNED_RIGHT_TEMPLATE:t.CENTER_TEMPLATE;this.setTemplate(o),this.eRowContainer=this.eCenterContainer?this.eCenterContainer:this.getGui()},t.prototype.destroyRowComps=function(){this.setCtrls([])},t.prototype.destroyRowComp=function(e){this.destroyBean(e),this.eRowContainer.removeChild(e.getGui())},t.prototype.setCtrls=function(e){var r=this,o=this.headerRowComps;this.headerRowComps={},this.rowCompsList=[];var n,s=function(a){var l=a.getGui(),u=l.parentElement!=r.eRowContainer;u&&r.eRowContainer.appendChild(l),n&&Un(r.eRowContainer,l,n),n=l};e.forEach(function(a){var l=a.getInstanceId(),u=o[l];delete o[l];var p=u||r.createBean(new cl(a));r.headerRowComps[l]=p,r.rowCompsList.push(p),s(p)}),tt(o).forEach(function(a){return r.destroyRowComp(a)})},t.PINNED_LEFT_TEMPLATE=' diff --git a/src/layout/LaySidebar/menuOptions.ts b/src/layout/LaySidebar/menuOptions.ts index a5b710dc34c5ee553c9b22fda0bc04e5e3a0f9e4..7dc528c19a44479fd4a62a411104b12e067c8f56 100644 --- a/src/layout/LaySidebar/menuOptions.ts +++ b/src/layout/LaySidebar/menuOptions.ts @@ -5,8 +5,8 @@ import { Component, h } from 'vue' import { RouteRecordRaw } from 'vue-router' import { NIcon, MenuOption, MenuGroupOption } from 'naive-ui' -import { asyncRoutes } from '../../router/router' -import { isURL } from '../utils/index.ts' +import { asyncRoutes } from '@/router/router' +import { isURL } from '../utils/index' /** @description 如果是网址那么返回地址,否则返回空字符串 */ function getURL(meta: any): string { diff --git a/src/layout/LayTag/components/MouseMenu.vue b/src/layout/LayTag/components/MouseMenu.vue index 2159e310bb4d3c306445ce373097139cf614f097..f74ad1cbbc6ae50357aeac6a063f6fedb1d3951a 100644 --- a/src/layout/LayTag/components/MouseMenu.vue +++ b/src/layout/LayTag/components/MouseMenu.vue @@ -1,55 +1,60 @@ diff --git a/src/layout/LayTag/index.vue b/src/layout/LayTag/index.vue index 8202377d01bffc5dfe21bb1cc7ada4cd44970730..fc6a91c9a7a3ed052ecc495635dac0bd15e4759f 100644 --- a/src/layout/LayTag/index.vue +++ b/src/layout/LayTag/index.vue @@ -1,18 +1,18 @@ diff --git a/src/setting/theme.ts b/src/setting/theme.ts index a5410a6c79657fc293ab1d93a742020221a0ffae..ed63f422db1ab8ec535363313daae03e56266d76 100644 --- a/src/setting/theme.ts +++ b/src/setting/theme.ts @@ -158,6 +158,6 @@ export default { // 是否是暗夜主题 isDarkTheme: false, // 默认主题色 - appTheme: antdColor, //defaultColor, + appTheme: defaultColor, appThemeList } diff --git a/src/shims-vue.d.ts b/src/shims-vue.d.ts index bbdfd87a26c42a1e214d77c6348ffe5c17928de5..ac1ded792334c2be473dd2ea153123193f4a1943 100644 --- a/src/shims-vue.d.ts +++ b/src/shims-vue.d.ts @@ -3,9 +3,3 @@ declare module '*.vue' { const component: DefineComponent<{}, {}, any> export default component } -declare module '*.tsx' { - import { DefineComponent } from 'vue' - const component: DefineComponent<{}, {}, any> - export default component -} -declare module '*.ts' diff --git a/src/store/adminStore.ts b/src/store/adminStore.ts index dfed606f476d8ecbf00949d7bce35b85621b80ca..f607da807ef63a47ce877f81c39b61856e75689a 100644 --- a/src/store/adminStore.ts +++ b/src/store/adminStore.ts @@ -7,7 +7,7 @@ type TypeConfig = { export default defineStore('adminStore', { state: () => ({ - keepAlives: [] as Array, //缓存的路由名字 + keepAlives: [] as Array, //缓存的路由名字 layTags: [], // tags layConfig: { sidebarInverted: true, // 侧边栏是否暗色主题 diff --git a/src/store/themeStore.ts b/src/store/themeStore.ts index b80a2a2777184c38d9e3df433c38b0bdc4aaf013..fcb9b6ead29e3a4ef853b280b5d0f16673b2c360 100644 --- a/src/store/themeStore.ts +++ b/src/store/themeStore.ts @@ -1,4 +1,4 @@ -import theme from '@/setting/theme.ts' +import theme, { ThemeType } from '@/setting/theme' import { defineStore } from 'pinia' export default defineStore('themeStore', { state: () => ({ @@ -7,7 +7,7 @@ export default defineStore('themeStore', { appThemeList: theme.appThemeList // 主题色列表 }), actions: { - SET_APPTHEME(theme: string) { + SET_APPTHEME(theme: ThemeType) { this.appTheme = theme }, SET_ISDARKTHEME(isDarkTheme: boolean) { @@ -18,10 +18,10 @@ export default defineStore('themeStore', { isDarkThemeGetter: (state) => { return state.isDarkTheme }, - appThemeGetter: (state) => { - return state.appTheme + appThemeGetter(): ThemeType { + return this.appTheme }, - appThemeListGetter(): Array { + appThemeListGetter(): typeof theme.appThemeList { return this.appThemeList } } diff --git a/src/utils/http.ts b/src/utils/http.ts index 51465c541e05bec59b236e2d597e67d30fba675a..f1db10a024f0cd10e681611c32725adfbc5cdaf0 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -1,22 +1,30 @@ +/** + * @author ok-admin-vue + * @description http通用请求工具类 + */ + import axios, { AxiosRequestConfig, AxiosResponse } from 'axios' interface Data { [key: string]: unknown } - +/** 请求域名地址 */ axios.defaults.baseURL = import.meta.env.VITE_APP_BASEURL + '' +/** 默认请求头信息 */ axios.defaults.headers.head['Content-Type'] = 'application/x-www-form-urlencoded' -axios.defaults.headers.head['hello'] = 'test-hello-token' +axios.defaults.headers.head['author'] = 'test-hello-token' -// 请求超时的等待时间,覆写库的超时默认值 -// 现在,在超时前,所有请求都会等待 5 秒 +/** + * 请求超时的等待时间,覆写库的超时默认值 + * 现在,在超时前,所有请求都会等待 5 秒 + */ axios.defaults.timeout = 5000 -// 全局请求拦截器 +/** 全局请求拦截器 */ axios.interceptors.request.use( function (config: AxiosRequestConfig) { // 在发送请求之前做些什么 可更改请求的配置,比如在headers添加通用的token - if(config.headers){ + if (config.headers) { config.headers['Authorization'] = 'ok-admin-vue' //设置token } return config @@ -32,7 +40,7 @@ axios.interceptors.request.use( } ) -// 全局响应拦截器 +/** 全局响应拦截器 */ axios.interceptors.response.use( function (response: AxiosResponse) { // 对响应数据做点什么 可指定返回的内容 @@ -55,7 +63,10 @@ axios.interceptors.response.use( } ) -const isData: Array = ['POST', 'PUT', 'PATCH'] +/** 请求需要包装成data的请求方法 */ +const requestData: Array = ['POST', 'PUT', 'PATCH'] + +/** @description http请求对象 */ const http = { _requestHandler( method: AxiosRequestConfig['method'] = 'GET', @@ -66,7 +77,7 @@ const http = { data = data || {} config = config || {} method = method.toLocaleUpperCase() as AxiosRequestConfig['method'] - if (isData.includes(method)) { + if (requestData.includes(method)) { config.data = data } else { config.params = data diff --git a/src/views/comps.vue b/src/views/comps.vue index d1f883a0b75ed6887e0c99eb66b6c2d14d41589b..223708e7c3e266aa6eec0c9d1ffec723da0a57f0 100644 --- a/src/views/comps.vue +++ b/src/views/comps.vue @@ -1,14 +1,9 @@ - diff --git a/src/views/control/index.vue b/src/views/control/index.vue index adba4773aef399040f8147d470274698c4d20724..f6696b6a9c1f0de3876de635cfad6dcff6713140 100644 --- a/src/views/control/index.vue +++ b/src/views/control/index.vue @@ -12,7 +12,7 @@ diff --git a/src/views/form/basic-form.vue b/src/views/form/basic-form.vue index 70d250c56cfc69fd2f378db7531e8b5857eece86..95a9ce858e37fc0c1dc374ec3aea8a8873191f9b 100644 --- a/src/views/form/basic-form.vue +++ b/src/views/form/basic-form.vue @@ -5,7 +5,7 @@ diff --git a/src/views/form/test-form.vue b/src/views/form/test-form.vue index 2470e41e6e719440c2b0ecee3efd7324d0e21558..3179572022f69612857555f3b026ba5653dfe9ae 100644 --- a/src/views/form/test-form.vue +++ b/src/views/form/test-form.vue @@ -6,7 +6,7 @@ diff --git a/src/views/list/table-list.vue b/src/views/list/table-list.vue index 1f96cba88fd7f68663efb432343d10cd970ef0d7..fdbc19b262bd5b84ffb6ed67d59cc4263038d6cf 100644 --- a/src/views/list/table-list.vue +++ b/src/views/list/table-list.vue @@ -2,15 +2,15 @@
- + - + - + 验证 @@ -18,107 +18,109 @@
- +
diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 045c7cae2841b38f8b8ceb98dfc6976fa4f83486..217f5ae0d5fa3fba602f0a750f48e54e22d57c06 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -10,8 +10,8 @@ diff --git a/src/views/user/index.vue b/src/views/user/index.vue index 5e73f68e9260348c4196256cf8df1b7a79341b52..553a5985f3dcc6f4816b887d91b8da3cad95400a 100644 --- a/src/views/user/index.vue +++ b/src/views/user/index.vue @@ -9,9 +9,8 @@ 测试{{ adminStore.layConfig }}
- -
阿斯顿发简历卡萨丁了
文本颜色: 背景颜色: +
阿斯顿发简历卡萨丁了
文本颜色: + 背景颜色:
@@ -19,7 +18,7 @@