ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
4 lines • 1.25 MB
JavaScript
(function(mo,Xo){typeof exports=="object"&&typeof module<"u"?module.exports=Xo():typeof define=="function"&&define.amd?define("agGrid",Xo):mo.agGrid=Xo()})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:this,function(){var mo={},Xo=mo,Tn={exports:mo};if(typeof OD>"u")var OD=function(t){throw new Error("Unknown module: "+t)};var In=Object.defineProperty,Im=Object.getOwnPropertyDescriptor,Am=Object.getOwnPropertyNames,km=Object.prototype.hasOwnProperty,Lm=(e,t)=>{for(var o in t)In(e,o,{get:t[o],enumerable:!0})},Bm=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Am(t))!km.call(e,s)&&s!==o&&In(e,s,{get:()=>t[s],enumerable:!(i=Im(t,s))||i.enumerable});return e},Hm=e=>Bm(In({},"__esModule",{value:!0}),e),ql={};Lm(ql,{ALWAYS_SYNC_GLOBAL_EVENTS:()=>Gi,AgAbstractCellEditor:()=>wi,AgAbstractInputField:()=>Ht,AgAbstractLabel:()=>Ph,AgCheckbox:()=>Ii,AgCheckboxSelector:()=>Ks,AgColumn:()=>ut,AgColumnGroup:()=>Lo,AgContentEditableField:()=>Pm,AgContentEditableFieldSelector:()=>LD,AgFilterButtonSelector:()=>yx,AgInputDateField:()=>_p,AgInputNumberField:()=>Cn,AgInputNumberFieldSelector:()=>Kp,AgInputTextArea:()=>qp,AgInputTextAreaSelector:()=>$p,AgInputTextField:()=>it,AgInputTextFieldSelector:()=>Ki,AgPickerField:()=>jp,AgPopupComponent:()=>Ms,AgPromise:()=>Y,AgProvidedColumnGroup:()=>Ao,AgRadioButton:()=>ml,AgRadioButtonSelector:()=>Mx,AgSelect:()=>vn,AgSelectSelector:()=>Yp,AgToggleButton:()=>Dm,AgToggleButtonSelector:()=>HD,AlignedGridsModule:()=>np,AllCommunityModule:()=>Fm,AutoScrollService:()=>ih,BaseColsService:()=>DD,BaseComponentWrapper:()=>MD,BaseCreator:()=>Dp,BaseGridSerializingSession:()=>Mp,BaseSelectionService:()=>Cm,BeanStub:()=>S,BigIntFilterModule:()=>Zf,CellApiModule:()=>jg,CellRangeType:()=>nu,CellSpanModule:()=>pm,CellStyleModule:()=>ym,CheckboxEditorModule:()=>df,ClientSideRowModelApiModule:()=>bp,ClientSideRowModelModule:()=>wp,ColumnApiModule:()=>Sa,ColumnAutoSizeModule:()=>Ep,ColumnHoverModule:()=>Fp,ColumnKeyCreator:()=>hc,Component:()=>z,CssClassManager:()=>hr,CsvExportModule:()=>Ip,CustomEditorModule:()=>hf,CustomFilterModule:()=>jf,DETAIL_ROW_ID_PREFIX:()=>rr,DateEditorModule:()=>lf,DateFilterModule:()=>Xf,Direction:()=>Du,DragAndDropModule:()=>lh,DragSourceType:()=>Lc,EventApiModule:()=>om,ExternalFilterModule:()=>em,FakeHScrollComp:()=>Fu,FakeVScrollComp:()=>Pu,FilterButtonComp:()=>fl,FilterComp:()=>xf,FilterWrapperComp:()=>Ff,GRAND_TOTAL_ROW_ID:()=>Ec,GROUP_AUTO_COLUMN_ID:()=>gt,GROUP_HIERARCHY_COLUMN_ID_PREFIX:()=>sv,GROUP_TOTAL_ROW_ID_PREFIX:()=>xs,GridBodyCtrl:()=>Wu,GridCoreCreator:()=>tp,GridCtrl:()=>Ku,GridHeaderCtrl:()=>vu,GridStateModule:()=>rm,GroupInstanceIdCreator:()=>ha,HeaderRowContainerCtrl:()=>Ru,HighlightChangesModule:()=>um,InfiniteRowModelModule:()=>tm,KeyCode:()=>b,LargeTextEditorModule:()=>uf,LocalEventService:()=>bt,LocaleModule:()=>sm,LocaleService:()=>im,ManagedFocusFeature:()=>Bo,ModuleRegistry:()=>Kn,NumberEditorModule:()=>af,NumberFilterModule:()=>Qf,PaginationModule:()=>dm,PinnedRowModel:()=>iu,PinnedRowModule:()=>cm,PositionableFeature:()=>Oc,ProvidedFilter:()=>$c,QuickFilterModule:()=>Jf,ROOT_NODE_ID:()=>Fs,ROW_NUMBERS_COLUMN_ID:()=>ys,RefPlaceholder:()=>x,RenderApiModule:()=>hm,RowApiModule:()=>dp,RowAutoHeightModule:()=>gm,RowContainerCtrl:()=>Nu,RowDragModule:()=>dh,RowNode:()=>Ct,RowSelectionModule:()=>Sm,RowStyleModule:()=>Rm,SELECTION_COLUMN_ID:()=>Ss,STRUCTURED_SCHEMA_FEATURES:()=>ew,ScrollApiModule:()=>cp,SelectEditorModule:()=>cf,ServerSideTransactionResultStatus:()=>su,TabGuardClassNames:()=>Us,TabGuardComp:()=>ta,TabGuardCtrl:()=>TD,TabGuardFeature:()=>ID,TextEditorModule:()=>rf,TextFilterModule:()=>Yf,TooltipModule:()=>nl,TouchListener:()=>kt,UndoRedoEditModule:()=>nf,ValidationModule:()=>Em,ValueCacheModule:()=>Kg,VanillaFrameworkOverrides:()=>ep,_AgBeanStub:()=>he,_AgComponentStub:()=>so,_AgContext:()=>ru,_AgPositionableFeature:()=>Hc,_AgTabGuardComp:()=>Uu,_AgTabGuardFeature:()=>ea,_AgTooltipComponent:()=>Bp,_AgTooltipFeature:()=>ol,_BOOLEAN_MIXED_GRID_OPTIONS:()=>Va,_BaseDragAndDropService:()=>xc,_BaseDragService:()=>th,_BaseEnvironment:()=>Kh,_BaseEventService:()=>Rg,_BasePopupService:()=>zp,_BaseRegistry:()=>Ah,_BaseTooltipStateManager:()=>Lp,_ChangedRowNodes:()=>Di,_ColumnFilterModule:()=>jo,_ColumnGroupModule:()=>yh,_ColumnMoveModule:()=>Ch,_CsrmSsrmSharedApiModule:()=>up,_DragModule:()=>aa,_EditCoreModule:()=>vt,_EmptyBean:()=>Ow,_FOCUS_MANAGED_CLASS:()=>Wc,_FilterCoreModule:()=>Dn,_FilterValueModule:()=>Nl,_GET_ALL_EVENTS:()=>Ky,_GET_ALL_GRID_OPTIONS:()=>Mg,_GET_SHALLOW_GRID_OPTIONS:()=>s3,_HeaderComp:()=>Ag,_HorizontalResizeModule:()=>ch,_KeyboardNavigationModule:()=>Wg,_MONTHS:()=>va,_PUBLIC_EVENTS:()=>Ha,_PUBLIC_EVENT_HANDLERS_MAP:()=>nn,_PopupModule:()=>qi,_ROW_ID_PREFIX_BOTTOM_PINNED:()=>As,_ROW_ID_PREFIX_ROW_GROUP:()=>xr,_ROW_ID_PREFIX_TOP_PINNED:()=>Is,_RowModelSharedApiModule:()=>hp,_STOP_PROPAGATION_CALLBACKS:()=>Ci,_SharedDragAndDropModule:()=>la,_SharedExportModule:()=>xp,_SharedMenuModule:()=>Cf,_SharedRowSelectionModule:()=>bm,_SortModule:()=>ja,_SsrmInfiniteSharedApiModule:()=>gp,_addAdditionalCss:()=>yg,_addColumnDefaultAndTypes:()=>fi,_addFocusableContainerListener:()=>hu,_addGridCommonParams:()=>k,_addOrRemoveAttribute:()=>we,_anchorElementToMouseMoveEvent:()=>Rd,_applyColumnState:()=>He,_areCellsEqual:()=>Bs,_areColIdsEqual:()=>bc,_areEqual:()=>st,_areSortDefsEqual:()=>gi,_asThemeImpl:()=>CS,_attemptToRestoreCellFocus:()=>pu,_batchCall:()=>ps,_camelCaseToHumanText:()=>Zl,_canSkipShowingRowGroup:()=>ec,_clearElement:()=>ae,_columnsMatch:()=>ko,_combineAttributesAndGridOptions:()=>qC,_computeAlignedPosition:()=>_t,_consoleError:()=>kd,_convertColumnEventSourceType:()=>io,_coreThemeDefaults:()=>jh,_createAgElement:()=>St,_createCellId:()=>lu,_createColumnTree:()=>pc,_createColumnTreeWithIds:()=>JC,_createElement:()=>se,_createGlobalRowEvent:()=>jc,_createIcon:()=>Xu,_createIconNoSpan:()=>Se,_createRowNodeSibling:()=>Yc,_createSharedTheme:()=>_h,_csrmFirstLeaf:()=>Mi,_csrmReorderAllLeafs:()=>sh,_debounce:()=>te,_defaultComparator:()=>Yl,_destroyColumnTree:()=>mi,_doDeltaSort:()=>Cp,_doOnce:()=>ni,_downloadFile:()=>Pp,_errMsg:()=>Ne,_error:()=>W,_escapeString:()=>vo,_exists:()=>M,_findBestPlacement:()=>IE,_findEnterpriseCoreModule:()=>Nd,_findFocusableElements:()=>Mt,_findNextFocusableElement:()=>It,_findTabbableParent:()=>Er,_fitsWithinBounds:()=>TE,_flatten:()=>Om,_focusGridInnerElement:()=>gu,_focusInto:()=>Tt,_focusNextGridCoreContainer:()=>ao,_forEachChangedGroupDepthFirst:()=>zl,_formatNumberCommas:()=>am,_fuzzySuggestions:()=>gn,_getAbsoluteHeight:()=>Bn,_getAbsoluteRowIndex:()=>ww,_getAbsoluteWidth:()=>ei,_getActiveDomElement:()=>j,_getAriaPosInSet:()=>_m,_getCallbackForEvent:()=>lc,_getCellByPosition:()=>ro,_getCellCtrlForEventTarget:()=>Os,_getCellPositionForEvent:()=>nh,_getCellRendererDetails:()=>lr,_getCheckboxLocation:()=>ci,_getCheckboxes:()=>oo,_getClientSideRowModel:()=>ze,_getColumnState:()=>Ti,_getColumnStateFromColDef:()=>yc,_getColumnsFromTree:()=>sr,_getDateParts:()=>Ai,_getDefaultFloatingFilterType:()=>Rf,_getDefaultSimpleFilter:()=>yf,_getDisplaySortForColumn:()=>uc,_getDocument:()=>ie,_getEditorRendererDetails:()=>_v,_getEffectivePlacements:()=>Hp,_getEnableColumnSelection:()=>xt,_getFillHandle:()=>NC,_getFilterDetails:()=>Ic,_getFilterModel:()=>re,_getFilterParamsForDataType:()=>Sf,_getFirstRow:()=>Ir,_getFloatingFilterCompDetails:()=>Ac,_getFloatingFiltersHeight:()=>Hr,_getGlobalGridOption:()=>_n,_getGrandTotalPinnedFloat:()=>Zd,_getGrandTotalRow:()=>Xn,_getGridOption:()=>KC,_getGridRegisteredModules:()=>EC,_getGroupAggFiltering:()=>li,_getGroupSelection:()=>hi,_getGroupSelectsDescendants:()=>To,_getGroupTotalRowCallback:()=>HC,_getHeaderCheckbox:()=>di,_getHeaderClassesFromColDef:()=>Nr,_getHeaderRowCount:()=>Ew,_getInnerCellRendererDetails:()=>Lv,_getInnerHeight:()=>as,_getInnerWidth:()=>Ro,_getIsRowSelectable:()=>ws,_getLastRow:()=>Ar,_getLocaleTextFromFunc:()=>Fd,_getLocaleTextFromMap:()=>xd,_getLocaleTextFunc:()=>Nn,_getMaxConcurrentDatasourceRequests:()=>tc,_getNormalisedMousePosition:()=>ra,_getPageBody:()=>os,_getParamType:()=>Oh,_getRectSize:()=>ME,_getRootNode:()=>ke,_getRowAbove:()=>yi,_getRowBelow:()=>kr,_getRowContainerClass:()=>Jr,_getRowContainerOptions:()=>Ho,_getRowCtrlForEventTarget:()=>Bu,_getRowHeightAsNumber:()=>Ft,_getRowHeightForNode:()=>lt,_getRowIdCallback:()=>to,_getRowNode:()=>We,_getRowSelectionMode:()=>ui,_getRowSpanContainerClass:()=>Ou,_getRowViewportClass:()=>Xr,_getServerSideRowModel:()=>Kc,_getShouldDisplayTooltip:()=>VE,_getSortDefFromColDef:()=>nr,_getSortDefFromInput:()=>Me,_getSuppressMultiRanges:()=>GC,_getToolPanelClassesFromColDef:()=>Nw,_getViewportRowModel:()=>tw,_getWindow:()=>ts,_interpretAsRightClick:()=>dc,_isAnimateRows:()=>eo,_isBrowserFirefox:()=>no,_isBrowserSafari:()=>mt,_isCellSelectionEnabled:()=>je,_isClientSideRowModel:()=>J,_isColumnMenuAnchoringEnabled:()=>ac,_isColumnsSortingCoupledToGroup:()=>dt,_isComponent:()=>ur,_isDomLayout:()=>le,_isElementInEventPath:()=>Sd,_isElementOverflowingCallback:()=>Zt,_isEventFromPrintableCharacter:()=>Kr,_isExpressionString:()=>Ql,_isFocusableFormField:()=>So,_isFullWidthGroupRow:()=>er,_isGetRowHeightFunction:()=>Yn,_isGroupHideColumnsUntilExpanded:()=>Jd,_isGroupMultiAutoColumn:()=>Xd,_isGroupRowsSticky:()=>Zn,_isGroupUseEntireRow:()=>Jn,_isIOSUserAgent:()=>Dt,_isKeyboardMode:()=>Rr,_isLegacyMenuEnabled:()=>be,_isMultiRowSelection:()=>Mo,_isNodeOrElement:()=>us,_isNothingFocused:()=>es,_isPromise:()=>hv,_isRowBefore:()=>du,_isRowNumbers:()=>Yd,_isRowSelection:()=>Et,_isSameRow:()=>cu,_isServerSideRowModel:()=>Do,_isSetFilterByDefault:()=>rc,_isShowTooltipWhenTruncated:()=>$i,_isSortDirectionValid:()=>ht,_isSortTypeValid:()=>bs,_isStopPropagationForAgGrid:()=>Ze,_isUseApplyButton:()=>vi,_isUsingNewCellSelectionAPI:()=>VC,_isUsingNewRowSelectionAPI:()=>oc,_isVisible:()=>De,_jsonEquals:()=>Co,_last:()=>q,_loadTemplate:()=>ds,_logPreInitWarn:()=>AC,_makeNull:()=>$e,_mergeDeep:()=>ge,_missing:()=>K,_normalizeSortDirection:()=>pi,_normalizeSortType:()=>Ye,_observeResize:()=>nt,_paramToVariableName:()=>Qs,_paramValueToCss:()=>Wh,_parseBigIntOrNull:()=>ye,_parseDateTimeFromString:()=>me,_placeCaretAtEnd:()=>vd,_preInitErrMsg:()=>kC,_prevOrNextDisplayedRow:()=>ks,_processOnChange:()=>$C,_radioCssClass:()=>oC,_refreshFilterUi:()=>cl,_refreshHandlerAndUi:()=>pf,_registerModule:()=>xo,_removeAllFromArray:()=>Kl,_removeAriaExpanded:()=>Qm,_removeAriaSort:()=>ad,_removeFromArray:()=>Ae,_removeFromParent:()=>xe,_requestAnimationFrame:()=>rt,_resetColumnState:()=>Rh,_reuseArrayIfEqual:()=>$l,_selectAllCells:()=>Hu,_serialiseDate:()=>fe,_setAriaActiveDescendant:()=>Ym,_setAriaChecked:()=>Jm,_setAriaColCount:()=>sd,_setAriaColIndex:()=>kn,_setAriaColSpan:()=>nd,_setAriaControls:()=>ld,_setAriaControlsAndLabel:()=>dd,_setAriaDescribedBy:()=>qm,_setAriaDisabled:()=>ed,_setAriaExpanded:()=>ns,_setAriaHasPopup:()=>eC,_setAriaHidden:()=>An,_setAriaInvalid:()=>ss,_setAriaLabel:()=>jt,_setAriaLabelledBy:()=>wo,_setAriaLevel:()=>jm,_setAriaOrientation:()=>tC,_setAriaPosInSet:()=>od,_setAriaRole:()=>Ke,_setAriaRowCount:()=>id,_setAriaRowIndex:()=>bo,_setAriaSelected:()=>Ln,_setAriaSetSize:()=>td,_setAriaSort:()=>rd,_setColMenuVisible:()=>hl,_setDisabled:()=>yo,_setDisplayed:()=>U,_setFixedWidth:()=>Ge,_setScrollLeft:()=>ti,_setUmd:()=>Gd,_setVisible:()=>hd,_sharedThemeDefaults:()=>Hh,_shouldUpdateColVisibilityAfterGroup:()=>OC,_skipFocusableContainerListenerForAgGrid:()=>yw,_stopPropagationForAgGrid:()=>At,_suppressCellMouseEvent:()=>xi,_themeAlpineParams:()=>fg,_themeBalhamParams:()=>mg,_themeMaterialParams:()=>vg,_themeQuartzParams:()=>gg,_toRelativeRect:()=>il,_toString:()=>Kt,_toStringOrNull:()=>Ji,_translate:()=>Ed,_translateForFilter:()=>Le,_unwrapUserComp:()=>Gt,_updateColsMap:()=>Sc,_updateColumnState:()=>ir,_updateFilterModel:()=>ul,_updateRowNodeAfterSort:()=>vp,_waitUntil:()=>Dd,_warn:()=>E,_warnOnce:()=>at,agTestIdFor:()=>T,buttonStyleAlpine:()=>Xh,buttonStyleBalham:()=>Jh,buttonStyleBase:()=>Qh,buttonStyleQuartz:()=>Zh,checkboxStyleDefault:()=>Bi,colorSchemeDark:()=>XS,colorSchemeDarkBlue:()=>oy,colorSchemeDarkWarm:()=>ey,colorSchemeLight:()=>$S,colorSchemeLightCold:()=>QS,colorSchemeLightWarm:()=>jS,colorSchemeVariable:()=>Hi,columnDropStyleBordered:()=>tn,columnDropStylePlain:()=>Ta,convertColumnGroupState:()=>SR,convertColumnState:()=>ip,createGrid:()=>CR,createPart:()=>G,createTheme:()=>Li,getGridApi:()=>wR,getGridElement:()=>bR,iconOverrides:()=>ay,iconSetAlpine:()=>og,iconSetBalham:()=>tg,iconSetMaterial:()=>ig,iconSetQuartz:()=>on,iconSetQuartzBold:()=>uy,iconSetQuartzLight:()=>cy,iconSetQuartzRegular:()=>ag,inputStyleBase:()=>fy,inputStyleBordered:()=>sn,inputStyleUnderlined:()=>lg,isColumn:()=>ct,isColumnGroup:()=>ee,isColumnGroupAutoCol:()=>Rs,isColumnSelectionCol:()=>ft,isCombinedFilterModel:()=>cr,isProvidedColumnGroup:()=>ce,isRowNumberCol:()=>pe,isSpecialCol:()=>wc,onRowHeightChanged:()=>el,provideGlobalGridOptions:()=>vC,resetRowHeights:()=>tl,setupAgTestIds:()=>PD,styleMaterial:()=>Cg,tabStyleAlpine:()=>ug,tabStyleBase:()=>by,tabStyleMaterial:()=>cg,tabStyleQuartz:()=>dg,tabStyleRolodex:()=>hg,themeAlpine:()=>Dy,themeBalham:()=>Ty,themeMaterial:()=>ky,themeQuartz:()=>pg,wrapAgTestIdFor:()=>SD}),Tn.exports=Hm(ql);function q(e){if(e?.length)return e[e.length-1]}function st(e,t,o){if(e===t)return!0;if(!e||!t)return e==null&&t==null;const i=e.length;if(i!==t.length)return!1;if(o){for(let s=0;s<i;++s)if(e[s]!==t[s]&&!o(e[s],t[s]))return!1;return!0}for(let s=0;s<i;++s)if(e[s]!==t[s])return!1;return!0}function $l(e,t){if(!t)return[];const o=t.length;if(e&&e!==t&&e.length===o){for(let i=0;i<o;++i)if(e[i]!==t[i])return t.slice();return e}return t.slice()}function Jo(e,t){if(e){for(const o of e)if(t(o))return!0}}function Ae(e,t){const o=e.indexOf(t);o>=0&&e.splice(o,1)}function Kl(e,t){let o=0,i=0;for(;o<e.length;o++)t.includes(e[o])||(e[i]=e[o],i++);for(;i<e.length;)e.pop()}function jl(e,t,o){for(let i=0;i<t.length;i++)Ae(e,t[i]);for(let i=t.length-1;i>=0;i--)e.splice(o,0,t[i])}function Om(e){return[].concat.apply([],e)}var $e=e=>e==null||e===""?null:e;function M(e){return e!=null&&e!==""}function K(e){return!M(e)}var Ji=e=>e!=null&&typeof e.toString=="function"?e.toString():null,Co=(e,t)=>{const o=e?JSON.stringify(e):null,i=t?JSON.stringify(t):null;return o===i},Yl=(e,t,o=!1)=>(typeof e=="object"&&e!==null&&typeof e.toNumber=="function"&&(e=e.toNumber()),typeof t=="object"&&t!==null&&typeof t.toNumber=="function"&&(t=t.toNumber()),e==null?t==null?0:-1:t==null?1:!o||typeof e!="string"?e>t?1:e<t?-1:0:e.localeCompare(t)),bt=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setFrameworkOverrides(e){this.frameworkOverrides=e}getListeners(e,t,o){const i=t?this.allAsyncListeners:this.allSyncListeners;let s=i.get(e);return!s&&o&&(s=new Set,i.set(e,s)),s}noRegisteredListenersExist(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0}addEventListener(e,t,o=!1){this.getListeners(e,o,!0).add(t)}removeEventListener(e,t,o=!1){const i=this.getListeners(e,o,!1);i&&(i.delete(t),i.size===0&&(o?this.allAsyncListeners:this.allSyncListeners).delete(e))}addGlobalListener(e,t=!1){this.getGlobalListeners(t).add(e)}removeGlobalListener(e,t=!1){this.getGlobalListeners(t).delete(e)}dispatchEvent(e){this.dispatchToListeners(e,!0),this.dispatchToListeners(e,!1),this.firedEvents[e.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){const o=e.type;if(t&&"event"in e){const a=e.event;a instanceof Event&&(e.eventPath=a.composedPath())}const{frameworkOverrides:i}=this,s=a=>{const l=i?()=>i.wrapIncoming(a):a;t?this.dispatchAsync(l):l()},n=this.getListeners(o,t,!1);if((n?.size??0)>0){const a=new Set(n);for(const l of a)n?.has(l)&&s(()=>l(e))}const r=this.getGlobalListeners(t);if(r.size>0){const a=new Set(r);for(const l of a)s(()=>l(o,e))}}getGlobalListeners(e){return e?this.globalAsyncListeners:this.globalSyncListeners}dispatchAsync(e){if(this.asyncFunctionsQueue.push(e),!this.scheduled){const t=()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)},o=this.frameworkOverrides;o?o.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[];for(const t of e)t()}},Vm=/[&<>"']/g,Gm={"&":"&","<":"<",">":">",'"':""","'":"'"};function Kt(e){return e?.toString().toString()??null}function vo(e){return Kt(e)?.replace(Vm,t=>Gm[t])??null}function Ql(e){return typeof e=="string"&&e.length>1&&e.codePointAt(0)===61}function Zl(e){if(!e||e==null)return null;const t=/([a-z])([A-Z])/g,o=/([A-Z]+)([A-Z])([a-z])/g;return e.replace(t,"$1 $2").replace(o,"$1 $2$3").replace(/\./g," ").split(" ").map(s=>s.substring(0,1).toUpperCase()+(s.length>1?s.substring(1,s.length):"")).join(" ")}function ke(e){return e.eRootDiv.getRootNode()}function j(e){return ke(e).activeElement}function ie(e){const{gos:t,eRootDiv:o}=e;let i=null;const s=t.get("getDocument");return s&&M(s)?i=s():o&&(i=o.ownerDocument),i&&M(i)?i:document}function es(e){const t=j(e);return t===null||t===ie(e).body}function ts(e){return ie(e).defaultView||window}function os(e){let t=null,o;try{t=ie(e).fullscreenElement}catch{}finally{t||(t=ke(e));const i=t.querySelector("body");i?o=i:t instanceof ShadowRoot?o=t:t instanceof Document?o=t?.documentElement:o=t}return o}function Nm(e){return os(e)?.clientWidth??(window.innerWidth||-1)}function zm(e){return os(e)?.clientHeight??(window.innerHeight||-1)}function ve(e,t,o){o==null||typeof o=="string"&&o==""?is(e,t):Fe(e,t,o)}function Fe(e,t,o){e.setAttribute(Xl(t),o.toString())}function is(e,t){e.removeAttribute(Xl(t))}function Xl(e){return`aria-${e}`}function Ke(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function Wm(e){const t=e?.direction;return t==="asc"?"ascending":t==="desc"?"descending":t==="mixed"?"other":"none"}function _m(e){return Number.parseInt(e.getAttribute("aria-posinset"),10)}function Um(e){return e.getAttribute("aria-label")}function jt(e,t){ve(e,"label",t)}function wo(e,t){ve(e,"labelledby",t)}function qm(e,t){ve(e,"describedby",t)}function Jl(e,t){ve(e,"live",t)}function $m(e,t){ve(e,"atomic",t)}function Km(e,t){ve(e,"relevant",t)}function ss(e,t){ve(e,"invalid",t)}function jm(e,t){ve(e,"level",t)}function ed(e,t){ve(e,"disabled",t)}function An(e,t){ve(e,"hidden",t)}function Ym(e,t){ve(e,"activedescendant",t)}function ns(e,t){Fe(e,"expanded",t)}function Qm(e){is(e,"expanded")}function td(e,t){Fe(e,"setsize",t)}function od(e,t){Fe(e,"posinset",t)}function Zm(e,t){Fe(e,"multiselectable",t)}function id(e,t){Fe(e,"rowcount",t)}function bo(e,t){Fe(e,"rowindex",t)}function Xm(e,t){Fe(e,"rowspan",t)}function sd(e,t){Fe(e,"colcount",t)}function kn(e,t){Fe(e,"colindex",t)}function nd(e,t){Fe(e,"colspan",t)}function rd(e,t){Fe(e,"sort",t)}function ad(e){is(e,"sort")}function Ln(e,t){ve(e,"selected",t)}function Jm(e,t){Fe(e,"checked",t===void 0?"mixed":t)}function ld(e,t){ve(e,"controls",t)}function dd(e,t){ld(e,t.id),wo(t,e.id)}function cd(e,t){ve(e,"owns",t)}function eC(e,t){ve(e,"haspopup",t===!1?null:t)}function rs(e,t){return t===void 0?e("ariaIndeterminate","indeterminate"):t===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}function tC(e,t){t?Fe(e,"orientation",t):is(e,"orientation")}function oC(e,t,o){const i=e.parentElement;let s=i&&i.firstChild;for(;s;)t&&s.classList.toggle(t,s===e),o&&s.classList.toggle(o,s!==e),s=s.nextSibling}var iC="[tabindex], input, select, button, textarea, [href]",ud="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function So(e){return!e||!e.matches("input, select, button, textarea")||!e.matches(ud)?!1:De(e)}function U(e,t,o={}){const{skipAriaHidden:i}=o;e.classList.toggle("ag-hidden",!t),i||An(e,!t)}function hd(e,t,o={}){const{skipAriaHidden:i}=o;e.classList.toggle("ag-invisible",!t),i||An(e,!t)}function yo(e,t){const o="disabled",i=t?n=>n.setAttribute(o,""):n=>n.removeAttribute(o);i(e);const s=e.querySelectorAll("input")??[];for(const n of s)i(n)}function Yt(e,t,o){let i=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof o=="number"){if(++i>o)break}else if(e===o)break}return!1}function Qt(e){const{height:t,width:o,borderTopWidth:i,borderRightWidth:s,borderBottomWidth:n,borderLeftWidth:r,paddingTop:a,paddingRight:l,paddingBottom:d,paddingLeft:c,marginTop:u,marginRight:h,marginBottom:g,marginLeft:p,boxSizing:f}=window.getComputedStyle(e),m=Number.parseFloat;return{height:m(t||"0"),width:m(o||"0"),borderTopWidth:m(i||"0"),borderRightWidth:m(s||"0"),borderBottomWidth:m(n||"0"),borderLeftWidth:m(r||"0"),paddingTop:m(a||"0"),paddingRight:m(l||"0"),paddingBottom:m(d||"0"),paddingLeft:m(c||"0"),marginTop:m(u||"0"),marginRight:m(h||"0"),marginBottom:m(g||"0"),marginLeft:m(p||"0"),boxSizing:f}}function as(e){const t=Qt(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom-t.borderTopWidth-t.borderBottomWidth:t.height}function Ro(e){const t=Qt(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight-t.borderLeftWidth-t.borderRightWidth:t.width}function Bn(e){const{height:t,marginBottom:o,marginTop:i}=Qt(e);return Math.floor(t+o+i)}function ei(e){const{width:t,marginLeft:o,marginRight:i}=Qt(e);return Math.floor(t+o+i)}function gd(e){const t=e.getBoundingClientRect(),{borderTopWidth:o,borderLeftWidth:i,borderRightWidth:s,borderBottomWidth:n}=Qt(e);return{top:t.top+(o||0),left:t.left+(i||0),right:t.right+(s||0),bottom:t.bottom+(n||0)}}function ls(e,t){let o=e.scrollLeft;return t&&(o=Math.abs(o)),o}function ti(e,t,o){o&&(t*=-1),e.scrollLeft=t}function ae(e){for(;e?.firstChild;)e.firstChild.remove()}function xe(e){e?.parentNode&&e.remove()}function pd(e){return!!e.offsetParent}function De(e){return e.checkVisibility?e.checkVisibility({checkVisibilityCSS:!0}):!(!pd(e)||window.getComputedStyle(e).visibility!=="visible")}function ds(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function fd(e,t,o){o?.nextSibling!==t&&(e.firstChild?o?o.nextSibling?e.insertBefore(t,o.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.prepend(t):e.appendChild(t))}function md(e,t){for(let o=0;o<t.length;o++){const i=t[o],s=e.children[o];s!==i&&e.insertBefore(i,s)}}function sC(e){return e.replace(/[A-Z]/g,t=>`-${t.toLocaleLowerCase()}`)}function oi(e,t){if(t)for(const o of Object.keys(t)){const i=t[o];if(!o?.length||i==null)continue;const s=sC(o),n=i.toString(),r=n.replace(/\s*!important/g,""),a=r.length!=n.length?"important":void 0;e.style.setProperty(s,r,a)}}function Zt(e){return()=>{const t=e();return t?Cd(t)||nC(t):!0}}function Cd(e){return e.clientWidth<e.scrollWidth}function nC(e){return e.clientHeight<e.scrollHeight}function cs(e,t){t==="flex"?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):Ge(e,t)}function Ge(e,t){t=Hn(t),e.style.width=t,e.style.maxWidth=t,e.style.minWidth=t}function ii(e,t){t=Hn(t),e.style.height=t,e.style.maxHeight=t,e.style.minHeight=t}function Hn(e){return typeof e=="number"?`${e}px`:e}function us(e){return e instanceof Node||e instanceof HTMLElement}function we(e,t,o){o==null||o===""?e.removeAttribute(t):e.setAttribute(t,o.toString())}function vd(e,t){if(!t.isContentEditable)return;const o=ts(e).getSelection();if(!o)return;const i=ie(e).createRange();i.selectNodeContents(t),i.collapse(!1),o.removeAllRanges(),o.addRange(i)}function nt(e,t,o){const s=ts(e).ResizeObserver,n=s?new s(o):null;return n?.observe(t),()=>n?.disconnect()}function rt(e,t){const o=ts(e);o.requestAnimationFrame?o.requestAnimationFrame(t):o.webkitRequestAnimationFrame?o.webkitRequestAnimationFrame(t):o.setTimeout(t,0)}var wd="data-ref",On;function bd(){return On??(On=document.createTextNode(" ")),On.cloneNode()}function St(e){const{attrs:t,children:o,cls:i,ref:s,role:n,tag:r}=e,a=document.createElement(r);if(i&&(a.className=i),s&&a.setAttribute(wd,s),n&&a.setAttribute("role",n),t)for(const l of Object.keys(t))a.setAttribute(l,t[l]);if(o)if(typeof o=="string")a.textContent=o;else{let l=!0;for(const d of o)d&&(typeof d=="string"?(a.appendChild(document.createTextNode(d)),l=!1):typeof d=="function"?a.appendChild(d()):(l&&(a.appendChild(bd()),l=!1),a.append(St(d)),a.appendChild(bd())))}return a}var rC=["touchstart","touchend","touchmove","touchcancel","scroll"],aC=["wheel"],Vn={},hs=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return o=>{if(typeof Vn[o]=="boolean")return Vn[o];const i=document.createElement(e[o]||"div");return o="on"+o,Vn[o]=o in i}})();function Sd(e,t){return!t||!e?!1:dC(t).indexOf(e)>=0}function lC(e){const t=[];let o=e.target;for(;o;)t.push(o),o=o.parentElement;return t}function dC(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():lC(t)}function cC(e,t,o){const i=uC(t);let s;i!=null&&(s={passive:i}),e.addEventListener(t,o,s)}var uC=e=>{const t=rC.includes(e),o=aC.includes(e);if(t)return!0;if(o)return!1};function yd(e,t,o){if(o===0)return!1;const i=Math.abs(e.clientX-t.clientX),s=Math.abs(e.clientY-t.clientY);return Math.max(i,s)<=o}var Eo=(e,t)=>{const o=e.identifier;for(let i=0,s=t.length;i<s;++i){const n=t[i];if(n.identifier===o)return n}return null};function si(e,t){return e.gos.isElementInThisInstance(t.target)}function Rd(e,t,o){const s=e.getBoundingClientRect().height,n=Nm(o)-2,r=zm(o)-2;if(!e.offsetParent)return;const l=gd(e.offsetParent),{clientY:d,clientX:c}=t;let u=d-l.top-s/2,h=c-l.left-10;const g=ie(o),p=g.defaultView||window,f=p.pageYOffset||g.documentElement.scrollTop,m=p.pageXOffset||g.documentElement.scrollLeft;n>0&&h+e.clientWidth>n+m&&(h=n+m-e.clientWidth),h<0&&(h=0),r>0&&u+e.clientHeight>r+f&&(u=r+f-e.clientHeight),u<0&&(u=0),e.style.left=`${h}px`,e.style.top=`${u}px`}var gs=(e,...t)=>{for(const o of t){const[i,s,n,r]=o;i.addEventListener(s,n,r),e.push(o)}},Gn=e=>{if(e){for(const[t,o,i,s]of e)t.removeEventListener(o,i,s);e.length=0}},yt=e=>{e.cancelable&&e.preventDefault()};function hC(e,t){return t}function Nn(e){return e?.getLocaleTextFunc()??hC}function Ed(e,t,o,i){const s=t[o];return e.getLocaleTextFunc()(o,typeof s=="function"?s(i):s,i)}function Fd(e){return(t,o,i)=>e({key:t,defaultValue:o,variableValues:i})}function xd(e){return(t,o,i)=>{let s=e?.[t];if(s&&i?.length){let n=0;for(;!(n>=i.length||s.indexOf("${variable}")===-1);)s=s.replace("${variable}",i[n++])}return s??o}}var he=class{constructor(){this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.propertyListenerId=0,this.lastChangeSetIdLookup={},this.isAlive=()=>!this.destroyed}preWireBeans(e){this.beans=e,this.stubContext=e.context,this.eventSvc=e.eventSvc,this.gos=e.gos}destroy(){const{destroyFunctions:e}=this;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.destroyed=!0,this.dispatchLocalEvent({type:"destroyed"})}addEventListener(e,t,o){this.localEventService||(this.localEventService=new bt),this.localEventService.addEventListener(e,t,o)}removeEventListener(e,t,o){this.localEventService?.removeEventListener(e,t,o)}dispatchLocalEvent(e){this.localEventService?.dispatchEvent(e)}addManagedElementListeners(e,t){return this._setupListeners(e,t)}addManagedEventListeners(e){return this._setupListeners(this.eventSvc,e)}addManagedListeners(e,t){return this._setupListeners(e,t)}_setupListeners(e,t){const o=[];for(const i of Object.keys(t)){const s=t[i];s&&o.push(this._setupListener(e,i,s))}return o}_setupListener(e,t,o){if(this.destroyed)return()=>null;let i;if(gC(e))e.__addEventListener(t,o),i=()=>(e.__removeEventListener(t,o),null);else{const s=pC(e);e instanceof HTMLElement?cC(e,t,o):s?e.addListener(t,o):e.addEventListener(t,o),i=s?()=>(e.removeListener(t,o),null):()=>(e.removeEventListener(t,o),null)}return this.destroyFunctions.push(i),()=>(i(),this.destroyFunctions=this.destroyFunctions.filter(s=>s!==i),null)}setupPropertyListener(e,t){const{gos:o}=this;o.addPropertyEventListener(e,t);const i=()=>(o.removePropertyEventListener(e,t),null);return this.destroyFunctions.push(i),()=>(i(),this.destroyFunctions=this.destroyFunctions.filter(s=>s!==i),null)}addManagedPropertyListener(e,t){return this.destroyed?()=>null:this.setupPropertyListener(e,t)}addManagedPropertyListeners(e,t){if(this.destroyed)return;const o=e.join("-")+this.propertyListenerId++,i=s=>{if(s.changeSet){if(s.changeSet?.id===this.lastChangeSetIdLookup[o])return;this.lastChangeSetIdLookup[o]=s.changeSet.id}const n={type:"propertyChanged",changeSet:s.changeSet,source:s.source};t(n)};for(const s of e)this.setupPropertyListener(s,i)}getLocaleTextFunc(){return Nn(this.beans.localeSvc)}addDestroyFunc(e){this.isAlive()?this.destroyFunctions.push(e):e()}createOptionalManagedBean(e,t){return e?this.createManagedBean(e,t):void 0}createManagedBean(e,t){const o=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),o}createBean(e,t,o){return(t||this.stubContext).createBean(e,o)}destroyBean(e,t){return(t||this.stubContext).destroyBean(e)}destroyBeans(e,t){return(t||this.stubContext).destroyBeans(e)}};function gC(e){return e.__addEventListener!==void 0}function pC(e){return e.eventServiceType==="global"}var S=class extends he{},zn=new Set,ni=(e,t)=>{zn.has(t)||(zn.add(t),e())};ni._set=zn;var fC={pending:!1,funcs:[]},mC={pending:!1,funcs:[]};function ps(e,t="setTimeout",o){const i=t==="raf"?mC:fC;if(i.funcs.push(e),i.pending)return;i.pending=!0;const s=()=>{const n=i.funcs.slice();i.funcs.length=0,i.pending=!1;for(const r of n)r()};t==="raf"?rt(o,s):window.setTimeout(s,0)}function te(e,t,o){let i;return function(...s){const n=this;return window.clearTimeout(i),i=window.setTimeout(function(){e.isAlive()&&t.apply(n,s)},o),i}}function Pd(e,t){let o=0;return function(...i){const s=this,n=Date.now();n-o<t||(o=n,e.apply(s,i))}}function Dd(e,t,o,i=100){const s=Date.now();let n=null,r=!1;const a=()=>{n!=null&&(window.clearInterval(n),n=null)};e.addDestroyFunc(a);const l=()=>{const d=Date.now()-s>i;(t()||d)&&(o(),r=!0,a())};l(),r||(n=window.setInterval(l,10))}var Md=new Set(["__proto__","constructor","prototype"]);function CC(e,t){if(e!=null){if(Array.isArray(e)){for(let o=0;o<e.length;o++)t(o.toString(),e[o]);return}for(const o of Object.keys(e).filter(i=>!Md.has(i)))t(o,e[o])}}function ge(e,t,o=!0,i=!1){M(t)&&CC(t,(s,n)=>{let r=e[s];r!==n&&(i&&r==null&&n!=null&&typeof n=="object"&&n.constructor===Object&&(r={},e[s]=r),Td(n)&&Td(r)&&!Array.isArray(r)?ge(r,n,o,i):(o||n!==void 0)&&(e[s]=n))})}function Td(e){return typeof e=="object"&&e!==null}var Wn=class wt{static applyGlobalGridOptions(t){if(!wt.gridOptions)return{...t};let o={};return ge(o,wt.gridOptions,!0,!0),wt.mergeStrategy==="deep"?ge(o,t,!0,!0):o={...o,...t},wt.gridOptions.context&&(o.context=wt.gridOptions.context),t.context&&(wt.mergeStrategy==="deep"&&o.context&&ge(t.context,o.context,!0,!0),o.context=t.context),o}static applyGlobalGridOption(t,o){if(wt.mergeStrategy==="deep"){const i=_n(t);if(i&&typeof i=="object"&&typeof o=="object")return wt.applyGlobalGridOptions({[t]:o})[t]}return o}};Wn.gridOptions=void 0,Wn.mergeStrategy="shallow";var ri=Wn;function vC(e,t="shallow"){ri.gridOptions=e,ri.mergeStrategy=t}function _n(e){return ri.gridOptions?.[e]}var Id={suppressContextMenu:!1,preventDefaultOnContextMenu:!1,allowContextMenuWithControlKey:!1,suppressMenuHide:!0,enableBrowserTooltips:!1,tooltipTrigger:"hover",tooltipShowDelay:2e3,tooltipSwitchShowDelay:200,tooltipHideDelay:1e4,noteTrigger:"hover",noteShowDelay:180,noteHideDelay:220,tooltipMouseTrack:!1,tooltipShowMode:"standard",tooltipInteraction:!1,copyHeadersToClipboard:!1,copyGroupHeadersToClipboard:!1,clipboardDelimiter:" ",suppressCopyRowsToClipboard:!1,suppressCopySingleCellRanges:!1,suppressLastEmptyLineOnPaste:!1,suppressClipboardPaste:!1,suppressClipboardApi:!1,suppressCutToClipboard:!1,maintainColumnOrder:!1,enableStrictPivotColumnOrder:!1,suppressFieldDotNotation:!1,allowDragFromColumnsToolPanel:!1,suppressMovableColumns:!1,suppressColumnMoveAnimation:!1,suppressMoveWhenColumnDragging:!1,suppressDragLeaveHidesColumns:!1,suppressRowGroupHidesColumns:!1,suppressAutoSize:!1,autoSizePadding:20,skipHeaderOnAutoSize:!1,singleClickEdit:!1,suppressClickEdit:!1,readOnlyEdit:!1,stopEditingWhenCellsLoseFocus:!1,enterNavigatesVertically:!1,enterNavigatesVerticallyAfterEdit:!1,enableCellEditingOnBackspace:!1,undoRedoCellEditing:!1,undoRedoCellEditingLimit:10,suppressCsvExport:!1,suppressExcelExport:!1,cacheQuickFilter:!1,includeHiddenColumnsInQuickFilter:!1,excludeChildrenWhenTreeDataFiltering:!1,enableAdvancedFilter:!1,includeHiddenColumnsInAdvancedFilter:!1,enableCharts:!1,masterDetail:!1,keepDetailRows:!1,keepDetailRowsCount:10,detailRowAutoHeight:!1,tabIndex:0,rowBuffer:10,valueCache:!1,valueCacheNeverExpires:!1,enableCellExpressions:!1,suppressTouch:!1,suppressFocusAfterRefresh:!1,suppressBrowserResizeObserver:!1,suppressPropertyNamesCheck:!1,suppressChangeDetection:!1,debug:!1,suppressLoadingOverlay:!1,suppressNoRowsOverlay:!1,pagination:!1,paginationPageSize:100,paginationPageSizeSelector:!0,paginationAutoPageSize:!1,paginateChildRows:!1,suppressPaginationPanel:!1,pivotMode:!1,pivotPanelShow:"never",pivotDefaultExpanded:0,pivotSuppressAutoColumn:!1,suppressExpandablePivotGroups:!1,functionsReadOnly:!1,suppressAggFuncInHeader:!1,alwaysAggregateAtRootLevel:!1,aggregateOnlyChangedColumns:!1,suppressAggFilteredOnly:!1,removePivotHeaderRowWhenSingleValueColumn:!1,animateRows:!0,cellFlashDuration:500,cellFadeDuration:1e3,allowShowChangeAfterFilter:!1,domLayout:"normal",ensureDomOrder:!1,enableRtl:!1,suppressColumnVirtualisation:!1,suppressMaxRenderedRowRestriction:!1,suppressRowVirtualisation:!1,rowDragManaged:!1,refreshAfterGroupEdit:!1,rowDragInsertDelay:500,suppressRowDrag:!1,suppressMoveWhenRowDragging:!1,rowDragEntireRow:!1,rowDragMultiRow:!1,embedFullWidthRows:!1,groupDisplayType:"singleColumn",groupDefaultExpanded:0,groupMaintainOrder:!1,groupSelectsChildren:!1,groupSuppressBlankHeader:!1,groupSelectsFiltered:!1,showOpenedGroup:!1,groupRemoveSingleChildren:!1,groupRemoveLowestSingleChildren:!1,groupHideOpenParents:!1,groupHideColumnsUntilExpanded:!1,groupAllowUnbalanced:!1,rowGroupPanelShow:"never",suppressMakeColumnVisibleAfterUnGroup:!1,treeData:!1,rowGroupPanelSuppressSort:!1,suppressGroupRowsSticky:!1,rowModelType:"clientSide",asyncTransactionWaitMillis:50,suppressModelUpdateAfterUpdateTransaction:!1,cacheOverflowSize:1,infiniteInitialRowCount:1,serverSideInitialRowCount:1,cacheBlockSize:100,maxBlocksInCache:-1,maxConcurrentDatasourceRequests:2,blockLoadDebounceMillis:0,purgeClosedRowNodes:!1,serverSideSortAllLevels:!1,serverSideOnlyRefreshFilteredGroups:!1,serverSidePivotResultFieldSeparator:"_",viewportRowModelPageSize:5,viewportRowModelBufferSize:5,alwaysShowHorizontalScroll:!1,alwaysShowVerticalScroll:!1,debounceVerticalScrollbar:!1,suppressHorizontalScroll:!1,suppressScrollOnNewData:!1,suppressScrollWhenPopupsAreOpen:!1,suppressAnimationFrame:!1,suppressMiddleClickScrolls:!1,suppressPreventDefaultOnMouseWheel:!1,rowMultiSelectWithClick:!1,suppressRowDeselection:!1,suppressRowClickSelection:!1,suppressCellFocus:!1,suppressHeaderFocus:!1,suppressMultiRangeSelection:!1,enableCellTextSelection:!1,enableRangeSelection:!1,enableRangeHandle:!1,enableFillHandle:!1,fillHandleDirection:"xy",suppressClearOnFillReduction:!1,accentedSort:!1,unSortIcon:!1,suppressMultiSort:!1,alwaysMultiSort:!1,suppressMaintainUnsortedOrder:!1,suppressRowHoverHighlight:!1,suppressRowTransform:!1,columnHoverHighlight:!1,deltaSort:!1,enableGroupEdit:!1,groupLockGroupColumns:0,serverSideEnableClientSideSort:!1,suppressServerSideFullWidthLoadingRow:!1,pivotMaxGeneratedColumns:-1,columnMenu:"new",reactiveCustomComponents:!0,suppressSetFilterByDefault:!1,enableFilterHandlers:!1},Ad="https://www.ag-grid.com";function Rt(e,t,...o){e.get("debug")&&console.log("AG Grid: "+t,...o)}function at(e,...t){ni(()=>Ld(e,...t),e+t?.join(""))}function Fo(e,...t){ni(()=>kd(e,...t),e+t?.join(""))}function kd(e,...t){console.error("AG Grid: "+e,...t)}function Ld(e,...t){console.warn("AG Grid: "+e,...t)}var Bd=new Set,fs={},Xt={},ms,Hd=!1,Od=!1,Vd=!1;function wC(e){const[t,o]=e.version.split(".")||[],[i,s]=ms.split(".")||[];return t===i&&o===s}function bC(e){ms||(ms=e.version);const t=i=>`You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. ${i} Please update all modules to the same version.`;e.version?wC(e)||Fo(t(`'${e.moduleName}' is version ${e.version} but the other modules are version ${ms}.`)):Fo(t(`'${e.moduleName}' is incompatible.`));const o=e.validate?.();o&&!o.isValid&&Fo(`${o.message}`)}function xo(e,t,o=!1){o||(Hd=!0),bC(e);const i=e.rowModels??["all"];Bd.add(e);let s;t!==void 0?(Od=!0,Xt[t]===void 0&&(Xt[t]={}),s=Xt[t]):s=fs;for(const n of i)s[n]===void 0&&(s[n]={}),s[n][e.moduleName]=e;if(e.dependsOn)for(const n of e.dependsOn)xo(n,t,o)}function SC(e){delete Xt[e]}function Un(e,t,o){const i=s=>!!fs[s]?.[e]||!!Xt[t]?.[s]?.[e];return i(o)||i("all")}function qn(){return Od}function yC(e,t){const o=Xt[e]??{};return[...Object.values(fs.all??{}),...Object.values(o.all??{}),...Object.values(fs[t]??{}),...Object.values(o[t]??{})]}function RC(){return new Set(Bd)}function EC(e,t){const o=Xt[e]??{};return[...Object.values(o.all??{}),...Object.values(o[t]??{})]}function FC(){return Hd}function $n(){return Vd}function Gd(){Vd=!0}var Kn=class{static register(e){xo(e,void 0)}static registerModules(e){for(const t of e)xo(t,void 0)}};function Nd(e){for(const t of e){if("setLicenseKey"in t)return t;if(t.dependsOn){const o=Nd(t.dependsOn);if(o)return o}}}var P="35.3.0",zd=2e3,Wd=100,_d="_version_",Ud=null,Po=`${Ad}/javascript-data-grid`;function xC(e){Ud=e}function PC(e){Po=e}function qd(e,t,o){return Ud?.(e,t)??[IC(e,t,o)]}function Cs(e,t,o,i,s){e(`${i?"warning":"error"} #${t}`,...qd(t,o,s))}function DC(e){if(!e)return String(e);const t={};for(const o of Object.keys(e))typeof e[o]!="object"&&typeof e[o]!="function"&&(t[o]=e[o]);return JSON.stringify(t)}function MC(e){let t=e;return e instanceof Error?t=e.toString():typeof e=="object"&&(t=DC(e)),t}function vs(e){return e===void 0?"undefined":e===null?"null":e}function jn(e,t){return`${e}?${t.toString()}`}function TC(e,t,o){const i=Array.from(t.entries()).sort((n,r)=>r[1].length-n[1].length);let s=jn(e,t);for(const[n,r]of i){if(n===_d)continue;const a=s.length-o;if(a<=0)break;const l="...",d=a+l.length,c=r.length-d>Wd?r.slice(0,r.length-d)+l:r.slice(0,Wd)+l;t.set(n,c),s=jn(e,t)}return s}function $d(e,t){const o=new URLSearchParams;if(o.append(_d,P),t)for(const n of Object.keys(t))o.append(n,MC(t[n]));const i=`${Po}/errors/${e}`,s=jn(i,o);return s.length<=zd?s:TC(i,o,zd)}var IC=(e,t,o)=>{const i=$d(e,t),s=`${o?o+`
`:""}Visit ${i}`;return $n()?s:`${s}${o?"":`
Alternatively register the ValidationModule to see the full message in the console.`}`};function E(...e){Cs(at,e[0],e[1],!0)}function W(...e){Cs(Fo,e[0],e[1],!1)}function ai(e,t,o){Cs(Fo,e,t,!1,o)}function AC(e,t,o){Cs(at,e,t,!0,o)}function Kd(e,t){const o=t[0];return`error #${o} `+qd(o,t[1],e).join(" ")}function Ne(...e){return Kd(void 0,e)}function kC(...e){return Kd(`
`,e)}function jd(e,t){return e.get("rowModelType")===t}function J(e,t){return jd(e,"clientSide")}function Do(e,t){return jd(e,"serverSide")}function le(e,t){return e.get("domLayout")===t}function Et(e){return ui(e)!==void 0}function Yn(e){return typeof e.get("getRowHeight")=="function"}function LC(e,t){return t?!e.get("enableStrictPivotColumnOrder"):e.get("maintainColumnOrder")}function Yd({gos:e,formula:t}){const o=e.get("rowNumbers");return o||!!t?.active&&o!==!1}function lt(e,t,o=!1,i){const{gos:s,environment:n}=e;if(i==null&&(i=n.getDefaultRowHeight()),Yn(s)){if(o)return{height:i,estimated:!0};const l={node:t,data:t.data},d=s.getCallback("getRowHeight")(l);if(Qn(d))return d===0&&E(23),{height:Math.max(1,d),estimated:!1}}if(t.detail&&s.get("masterDetail"))return BC(s);const r=s.get("rowHeight");return{height:r&&Qn(r)?r:i,estimated:!1}}function BC(e){if(e.get("detailRowAutoHeight"))return{height:1,estimated:!1};const t=e.get("detailRowHeight");return Qn(t)?{height:t,estimated:!1}:{height:300,estimated:!1}}function Ft(e){const{environment:t,gos:o}=e,i=o.get("rowHeight");if(!i||K(i))return t.getDefaultRowHeight();const s=t.refreshRowHeightVariable();return s!==-1?s:(E(24),t.getDefaultRowHeight())}function Qn(e){return!isNaN(e)&&typeof e=="number"&&isFinite(e)}function Qd(e,t,o){const i=t[e.getDomDataKey()];return i?i[o]:void 0}function Jt(e,t,o,i){const s=e.getDomDataKey();let n=t[s];K(n)&&(n={},t[s]=n),n[o]=i}function eo(e){return e.get("ensureDomOrder")?!1:e.get("animateRows")}function Zn(e){return!(e.get("paginateChildRows")||e.get("groupHideOpenParents")||le(e,"print"))}function dt(e){return!e.get("autoGroupColumnDef")?.comparator&&!e.get("treeData")}function li(e){const t=e.get("groupAggFiltering");if(typeof t=="function")return e.getCallback("groupAggFiltering");if(t===!0)return()=>!0}function Xn(e){return e.get("grandTotalRow")}function Zd(e){switch(e){case"pinnedTop":return"top";case"pinnedBottom":return"bottom";default:return null}}function HC(e){const t=e.get("groupTotalRow");return typeof t=="function"?e.getCallback("groupTotalRow"):()=>t??void 0}function Xd(e){return e.get("groupHideOpenParents")?!0:e.get("groupDisplayType")==="multipleColumns"}function Jd(e){return Xd(e)&&e.get("groupHideColumnsUntilExpanded")&&J(e)}function Jn(e,t){return t?!1:e.get("groupDisplayType")==="groupRows"}function er(e,t,o){return!!t.group&&!t.footer&&Jn(e,o)}function to(e){const t=e.getCallback("getRowId");return t===void 0?t:o=>{let i=t(o);return typeof i!="string"&&(ni(()=>E(25,{id:i}),"getRowIdString"),i=String(i)),i}}function ec(e,t){const o=e.get("groupHideParentOfSingleChild");return!!(o===!0||o==="leafGroupsOnly"&&t.leafGroup||e.get("groupRemoveSingleChildren")||e.get("groupRemoveLowestSingleChildren")&&t.leafGroup)}function tc(e){const t=e.get("maxConcurrentDatasourceRequests");return t>0?t:void 0}function OC(e,t){const o=e.get("suppressGroupChangesColumnVisibility");if(o===!0||t&&o==="suppressHideOnGroup"||!t&&o==="suppressShowOnUngroup")return!1;const i=e.get("suppressRowGroupHidesColumns");if(t&&i===!0)return!1;const s=e.get("suppressMakeColumnVisibleAfterUnGroup");return!(!t&&s===!0)}function oo(e){return e?.checkboxes??!0}function di(e){return e?.mode==="multiRow"&&(e.headerCheckbox??!0)}function ci(e){if(typeof e=="object")return e.checkboxLocation??"selectionColumn"}function tr(e){return e?.hideDisabledCheckboxes??!1}function oc(e){return typeof e.get("rowSelection")!="string"}function VC(e){return e.get("cellSelection")!==void 0}function GC(e){const t=e.get("cellSelection");return t!==void 0?typeof t!="boolean"?t?.suppressMultiRanges??!1:!1:e.get("suppressMultiRangeSelection")}function je(e){const t=e.get("cellSelection");return t!==void 0?!!t:e.get("enableRangeSelection")}function NC(e){const t=e.get("cellSelection");return t!==void 0?typeof t!="boolean"&&t.handle?.mode==="fill"?t.handle:void 0:{mode:"fill",setFillValue:e.get("fillOperation"),direction:e.get("fillHandleDirection"),suppressClearOnFillReduction:e.get("suppressClearOnFillReduction")}}function xt(e){const t=e.get("cellSelection")??!1;return(typeof t=="object"&&t.enableColumnSelection)??!1}function ic(e){const t=e.get("rowSelection")??"single";if(typeof t=="string"){const o=e.get("suppressRowClickSelection"),i=e.get("suppressRowDeselection");return o&&i?!1:o?"enableDeselection":i?"enableSelection":!0}return t.mode==="singleRow"||t.mode==="multiRow"?t.enableClickSelection??!1:!1}function zC(e){const t=ic(e);return t===!0||t==="enableSelection"}function WC(e){const t=ic(e);return t===!0||t==="enableDeselection"}function ws(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("isRowSelectable"):t?.isRowSelectable}function ui(e){const t="beanName"in e&&e.beanName==="gos"?e.get("rowSelection"):e.rowSelection;if(typeof t=="string")switch(t){case"multiple":return"multiRow";case"single":return"singleRow";default:return}switch(t?.mode){case"multiRow":case"singleRow":return t.mode;default:return}}function Mo(e){return ui(e)==="multiRow"}function _C(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("rowMultiSelectWithClick"):t?.enableSelectionWithoutKeys??!1}function hi(e){const t=e.get("rowSelection");if(typeof t=="string"){const o=e.get("groupSelectsChildren"),i=e.get("groupSelectsFiltered");return o&&i?"filteredDescendants":o?"descendants":"self"}return t?.mode==="multiRow"?t.groupSelects:void 0}function sc(e,t=!0){const o=e.get("rowSelection");return typeof o!="object"?t?"all":void 0:o.mode==="multiRow"?o.selectAll:"all"}function UC(e){const t=e.get("rowSelection");return typeof t=="string"?!1:t?.mode==="multiRow"?t.ctrlASelectsRows??!1:!1}function To(e){const t=hi(e);return t==="descendants"||t==="filteredDescendants"}function nc(e){const t=e.get("rowSelection");return typeof t=="object"&&t.masterSelects||"self"}function rc(e){return e.isModuleRegistered("SetFilter")&&!e.get("suppressSetFilterByDefault")}function be(e){return e.get("columnMenu")==="legacy"}function ac(e){return!be(e)}function lc(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substring(1)}function qC(e,t,o){typeof e!="object"&&(e={});const i={...e};for(const s of o){const n=t[s];typeof n<"u"&&(i[s]=n)}return i}function $C(e,t){if(!e)return;const o={};let i=!1;for(const r of Object.keys(e))o[r]=e[r],i=!0;if(!i)return;const s={type:"gridOptionsChanged",options:o};t.dispatchEvent(s);const n={type:"componentStateChanged",...o};t.dispatchEvent(n)}function k(e,t){return e.addCommon(t)}function KC(e,t){return e[t]??e.gridOptions?.[t]??_n(t)??Id[t]}function dc({gos:e},t){return t.button===2||t.ctrlKey&&e.get("allowContextMenuWithControlKey")}var jC={resizable:!0,sortable:!0},YC=0;function cc(){return YC++}function ct(e){return e instanceof ut}var QC=["asc","desc",null],ZC=[{type:"absolute",direction:"asc"},{type:"absolute",direction:"desc"},null],ut=class extends S{constructor(e,t,o,i){super(),this.colDef=e,this.userProvidedColDef=t,this.colId=o,this.primary=i,this.isColumn=!0,this.instanceId=cc(),this.autoHeaderHeight=null,this.sortDef=Me(),this.moving=!1,this.resizing=!1,this.menuVisible=!1,this.formulaRef=null,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.colEventSvc=new bt,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.flex=null,this.colIdSanitised=vo(o)}destroy(){super.destroy(),this.beans.rowSpanSvc?.deregister(this)}getInstanceId(){return this.instanceId}initState(){const{colDef:e,beans:{sortSvc:t,pinnedCols:o,colFlex:i}}=this;t?.initCol(this);const s=e.hide;s!==void 0?this.visible=!s:this.visible=!e.initialHide,o?.initCol(this),i?.initCol(this)}setColDef(e,t,o){const i=e.spanRows!==this.colDef.spanRows;this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),i&&(this.beans.rowSpanSvc?.deregister(this),this.initRowSpan()),this.dispatchColEvent("colDefChanged",o)}getUserProvidedColDef(){return this.userProvidedColDef}getParent(){return this.parent}getOriginalParent(){return this.originalParent}postConstruct(){this.initState(),this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.initTooltip(),this.initRowSpan(),this.addPivotListener()}initDotNotation(){const{gos:e,colDef:{field:t,tooltipField:o}}=this,i=e.get("suppressFieldDotNotation");this.fieldContainsDots=M(t)&&t.includes(".")&&!i,this.tooltipFieldContainsDots=M(o)&&o.includes(".")&&!i}initMinAndMaxWidths(){const e=this.colDef;this.minWidth=e.minWidth??this.beans.environment.getDefaultColumnMinWidth(),this.maxWidth=e.maxWidth??Number.MAX_SAFE_INTEGER}initTooltip(){this.beans.tooltipSvc?.initCol(this)}initRowSpan(){this.colDef.spanRows&&this.beans.rowSpanSvc?.register(this)}addPivotListener(){const e=this.beans.pivotColDefSvc,t=this.colDef.pivotValueColumn;!e||!t||this.addManagedListeners(t,{colDefChanged:o=>{const i=e.recreateColDef(this.colDef);this.setColDef(i,i,o.source)}})}resetActualWidth(e){const t=this.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}calculateColInitialWidth(e){const t=e.width??e.initialWidth??200;return Math.max(Math.min(t,this.maxWidth),this.minWidth)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){return this.beans.showRowGroupCols?.isRowGroupDisplayed(this,e)??!1}isPrimary(){return this.primary}isFilterAllowed(){return!!this.colDef.filter}isFieldContainsDots(){return this.fieldContainsDots}isTooltipEnabled(){return this.tooltipEnabled}isTooltipFieldContainsDots(){return this.tooltipFieldContainsDots}getHighlighted(){return this.highlighted}__addEventListener(e,t){this.colEventSvc.addEventListener(e,t)}__removeEventListener(e,t){this.colEventSvc.removeEventListener(e,t)}addEventListener(e,t){this.frameworkEventListenerService=this.beans.frameworkOverrides.createLocalEventListenerWrapper?.(this.frameworkEventListenerService,this.colEventSvc);const o=this.frameworkEventListenerService?.wrap(e,t)??t;this.colEventSvc.addEventListener(e,o)}removeEventListener(e,t){const o=this.frameworkEventListenerService?.unwrap(e,t)??t;this.colEventSvc.removeEventListener(e,o)}createColumnFunctionCallbackParams(e){return k(this.gos,{node:e,data:e.data,column:this,colDef:this.colDef})}isSuppressNavigable(e){return this.beans.cellNavigation?.isSuppressNavigable(this,e)??!1}isCellEditable(e){return this.beans.editSvc?.isCellEditable({rowNode:e,column:this})??!1}isSuppressFillHandle(){return!!this.colDef.suppressFillHandle}isAutoHeight(){return!!this.colDef.autoHeight}isAutoHeaderHeight(){return!!this.colDef.autoHeaderHeight}isRowDrag(e){return this.isColumnFunc(e,this.