ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
4 lines • 1.24 MB
JavaScript
(function(Zi,$e){typeof exports=="object"&&typeof module=="object"?module.exports=$e():typeof define=="function"&&define.amd?define("agGrid",[],$e):typeof exports=="object"?exports.agGrid=$e():Zi.agGrid=$e()})(typeof self<"u"?self:typeof globalThis<"u"?globalThis:this,()=>{var Zi={},$e={exports:Zi};if(typeof nD>"u")var nD=function(t){throw new Error("Unknown module: "+t)};var Pn=Object.defineProperty,am=Object.getOwnPropertyDescriptor,dm=Object.getOwnPropertyNames,cm=Object.prototype.hasOwnProperty,um=(e,t)=>{for(var i in t)Pn(e,i,{get:t[i],enumerable:!0})},hm=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of dm(t))!cm.call(e,s)&&s!==i&&Pn(e,s,{get:()=>t[s],enumerable:!(o=am(t,s))||o.enumerable});return e},gm=e=>hm(Pn({},"__esModule",{value:!0}),e),Ga={};um(Ga,{ALWAYS_SYNC_GLOBAL_EVENTS:()=>Vo,AgAbstractCellEditor:()=>wo,AgAbstractInputField:()=>Bt,AgAbstractLabel:()=>mh,AgCheckbox:()=>Ao,AgCheckboxSelector:()=>qs,AgColumn:()=>ut,AgColumnGroup:()=>ki,AgContentEditableField:()=>sm,AgContentEditableFieldSelector:()=>tD,AgFilterButtonSelector:()=>_F,AgInputDateField:()=>Rp,AgInputNumberField:()=>pn,AgInputNumberFieldSelector:()=>xp,AgInputTextArea:()=>Fp,AgInputTextField:()=>rt,AgInputTextFieldSelector:()=>Ko,AgPickerField:()=>Pp,AgPopupComponent:()=>Ps,AgPromise:()=>Y,AgProvidedColumnGroup:()=>Ai,AgRadioButton:()=>ca,AgRadioButtonSelector:()=>QF,AgSelect:()=>fn,AgSelectSelector:()=>Dp,AgToggleButton:()=>nm,AgToggleButtonSelector:()=>oD,AlignedGridsModule:()=>qg,AllCommunityModule:()=>im,AutoScrollService:()=>$u,BaseColsService:()=>YP,BaseComponentWrapper:()=>QP,BaseCreator:()=>hp,BaseGridSerializingSession:()=>pp,BaseSelectionService:()=>jf,BeanStub:()=>S,BigIntFilterModule:()=>Tf,CellApiModule:()=>Lg,CellRangeType:()=>jc,CellSpanModule:()=>$f,CellStyleModule:()=>Jf,CheckboxEditorModule:()=>zp,ClientSideRowModelApiModule:()=>np,ClientSideRowModelModule:()=>sp,ColumnApiModule:()=>Cl,ColumnAutoSizeModule:()=>dp,ColumnHoverModule:()=>cp,ColumnKeyCreator:()=>ic,Component:()=>U,CssClassManager:()=>ar,CsvExportModule:()=>mp,CustomEditorModule:()=>Up,CustomFilterModule:()=>Pf,DateEditorModule:()=>Np,DateFilterModule:()=>Af,Direction:()=>Cu,DragAndDropModule:()=>Zu,DragSourceType:()=>Rc,EventApiModule:()=>Bf,ExternalFilterModule:()=>kf,FakeHScrollComp:()=>pu,FakeVScrollComp:()=>mu,FilterButtonComp:()=>da,FilterComp:()=>nf,FilterWrapperComp:()=>sf,GROUP_AUTO_COLUMN_ID:()=>gt,GROUP_HIERARCHY_COLUMN_ID_PREFIX:()=>BC,GridBodyCtrl:()=>Au,GridCoreCreator:()=>zg,GridCtrl:()=>Hu,GridHeaderCtrl:()=>lu,GridStateModule:()=>Vf,GroupInstanceIdCreator:()=>al,HeaderRowContainerCtrl:()=>hu,HighlightChangesModule:()=>_f,InfiniteRowModelModule:()=>Lf,KeyCode:()=>b,LargeTextEditorModule:()=>_p,LocalEventService:()=>bt,LocaleModule:()=>Of,LocaleService:()=>Hf,ManagedFocusFeature:()=>Li,ModuleRegistry:()=>Un,NumberEditorModule:()=>Vp,NumberFilterModule:()=>Mf,PaginationModule:()=>zf,PinnedRowModel:()=>$c,PinnedRowModule:()=>Wf,PositionableFeature:()=>xc,ProvidedFilter:()=>Bc,QuickFilterModule:()=>If,ROW_NUMBERS_COLUMN_ID:()=>ys,RefPlaceholder:()=>x,RenderApiModule:()=>Uf,RowApiModule:()=>Yg,RowAutoHeightModule:()=>qf,RowContainerCtrl:()=>Mu,RowDragModule:()=>Xu,RowNode:()=>Ct,RowSelectionModule:()=>Xf,RowStyleModule:()=>em,SELECTION_COLUMN_ID:()=>Ss,STRUCTURED_SCHEMA_FEATURES:()=>Av,ScrollApiModule:()=>Qg,SelectEditorModule:()=>Wp,ServerSideTransactionResultStatus:()=>Kc,TabGuardClassNames:()=>Ws,TabGuardComp:()=>Zr,TabGuardCtrl:()=>ZP,TabGuardFeature:()=>XP,TextEditorModule:()=>Gp,TextFilterModule:()=>Df,TooltipModule:()=>Jl,TouchListener:()=>It,UndoRedoEditModule:()=>Op,ValidationModule:()=>tm,ValueCacheModule:()=>kg,VanillaFrameworkOverrides:()=>Ng,_AgBeanStub:()=>he,_AgComponentStub:()=>ni,_AgContext:()=>Yc,_AgPositionableFeature:()=>Fc,_AgTabGuardComp:()=>ku,_AgTabGuardFeature:()=>Qr,_AgTooltipComponent:()=>bp,_AgTooltipFeature:()=>Zl,_BOOLEAN_MIXED_GRID_OPTIONS:()=>kl,_BaseDragAndDropService:()=>fc,_BaseDragService:()=>Uu,_BaseEnvironment:()=>Hh,_BaseEventService:()=>hg,_BasePopupService:()=>Sp,_BaseRegistry:()=>Sh,_BaseTooltipStateManager:()=>wp,_ChangedRowNodes:()=>Do,_ColumnFilterModule:()=>Ki,_ColumnGroupModule:()=>uh,_ColumnMoveModule:()=>rh,_CsrmSsrmSharedApiModule:()=>Zg,_DragModule:()=>ol,_EditCoreModule:()=>vt,_EmptyBean:()=>pw,_FOCUS_MANAGED_CLASS:()=>Ac,_FilterCoreModule:()=>Fn,_FilterValueModule:()=>La,_GET_ALL_EVENTS:()=>Sy,_GET_ALL_GRID_OPTIONS:()=>mg,_GET_SHALLOW_GRID_OPTIONS:()=>Ay,_HeaderComp:()=>vg,_HorizontalResizeModule:()=>Ju,_KeyboardNavigationModule:()=>Dg,_MONTHS:()=>pl,_PUBLIC_EVENTS:()=>Al,_PUBLIC_EVENT_HANDLERS_MAP:()=>on,_PopupModule:()=>qo,_ROW_ID_PREFIX_BOTTOM_PINNED:()=>Ts,_ROW_ID_PREFIX_ROW_GROUP:()=>yr,_ROW_ID_PREFIX_TOP_PINNED:()=>Ms,_RowModelSharedApiModule:()=>Xg,_STOP_PROPAGATION_CALLBACKS:()=>Co,_SharedDragAndDropModule:()=>sl,_SharedExportModule:()=>up,_SharedMenuModule:()=>Yp,_SharedRowSelectionModule:()=>Zf,_SortModule:()=>_l,_SsrmInfiniteSharedApiModule:()=>Jg,_addAdditionalCss:()=>ug,_addColumnDefaultAndTypes:()=>fo,_addFocusableContainerListener:()=>tu,_addGridCommonParams:()=>k,_addOrRemoveAttribute:()=>we,_anchorElementToMouseMoveEvent:()=>pd,_applyColumnState:()=>He,_areCellsEqual:()=>ks,_areColIdsEqual:()=>cc,_areEqual:()=>lt,_areSortDefsEqual:()=>go,_asThemeImpl:()=>jb,_attemptToRestoreCellFocus:()=>ou,_batchCall:()=>ps,_camelCaseToHumanText:()=>Wa,_canSkipShowingRowGroup:()=>Ud,_clearElement:()=>le,_columnsMatch:()=>Ii,_combineAttributesAndGridOptions:()=>yC,_consoleError:()=>Ed,_convertColumnEventSourceType:()=>si,_coreThemeDefaults:()=>Oh,_createAgElement:()=>St,_createCellId:()=>Zc,_createColumnTree:()=>sc,_createColumnTreeWithIds:()=>TC,_createElement:()=>se,_createGlobalRowEvent:()=>Oc,_createIcon:()=>zu,_createIconNoSpan:()=>Se,_createRowNodeSibling:()=>Gc,_createSharedTheme:()=>Ih,_csrmFirstLeaf:()=>Mo,_csrmReorderAllLeafs:()=>Ku,_debounce:()=>te,_defaultComparator:()=>za,_destroyColumnTree:()=>mo,_doOnce:()=>so,_downloadFile:()=>gp,_errMsg:()=>Ne,_error:()=>z,_escapeString:()=>Ci,_exists:()=>M,_findEnterpriseCoreModule:()=>Ad,_findFocusableElements:()=>Dt,_findNextFocusableElement:()=>Tt,_findTabbableParent:()=>br,_flatten:()=>pm,_focusGridInnerElement:()=>iu,_focusInto:()=>Mt,_focusNextGridCoreContainer:()=>ai,_forEachChangedGroupDepthFirst:()=>Wt,_formatNumberCommas:()=>Nf,_fuzzySuggestions:()=>cn,_getAbsoluteHeight:()=>In,_getAbsoluteRowIndex:()=>Qv,_getAbsoluteWidth:()=>Ji,_getActiveDomElement:()=>j,_getAriaPosInSet:()=>bm,_getCallbackForEvent:()=>Xd,_getCellByPosition:()=>li,_getCellCtrlForEventTarget:()=>Bs,_getCellPositionForEvent:()=>ju,_getCellRendererDetails:()=>sr,_getCheckboxLocation:()=>co,_getCheckboxes:()=>ii,_getClientSideRowModel:()=>ze,_getColumnState:()=>To,_getColumnStateFromColDef:()=>hc,_getColumnsFromTree:()=>tr,_getDateParts:()=>Io,_getDefaultFloatingFilterType:()=>tf,_getDefaultSimpleFilter:()=>ef,_getDisplaySortForColumn:()=>tc,_getDocument:()=>oe,_getEditorRendererDetails:()=>bv,_getEnableColumnSelection:()=>oi,_getFillHandle:()=>CC,_getFilterDetails:()=>bc,_getFilterModel:()=>re,_getFilterParamsForDataType:()=>Jp,_getFirstRow:()=>Pr,_getFloatingFilterCompDetails:()=>Sc,_getFloatingFiltersHeight:()=>Ir,_getGlobalGridOption:()=>Nn,_getGrandTotalRow:()=>Yn,_getGridOption:()=>EC,_getGridRegisteredModules:()=>tC,_getGroupAggFiltering:()=>lo,_getGroupSelection:()=>ho,_getGroupSelectsDescendants:()=>Mi,_getGroupTotalRowCallback:()=>gC,_getHeaderCheckbox:()=>ao,_getHeaderClassesFromColDef:()=>Hr,_getHeaderRowCount:()=>tw,_getInnerCellRendererDetails:()=>uv,_getInnerHeight:()=>ls,_getInnerWidth:()=>yi,_getIsRowSelectable:()=>ws,_getLastRow:()=>Dr,_getLocaleTextFromFunc:()=>md,_getLocaleTextFromMap:()=>Cd,_getLocaleTextFunc:()=>On,_getMaxConcurrentDatasourceRequests:()=>qd,_getNormalisedMousePosition:()=>il,_getPageBody:()=>is,_getParamType:()=>xh,_getRootNode:()=>ke,_getRowAbove:()=>yo,_getRowBelow:()=>Mr,_getRowContainerClass:()=>Yr,_getRowContainerOptions:()=>Bi,_getRowCtrlForEventTarget:()=>Eu,_getRowHeightAsNumber:()=>Ft,_getRowHeightForNode:()=>dt,_getRowIdCallback:()=>ti,_getRowNode:()=>We,_getRowSelectionMode:()=>uo,_getRowSpanContainerClass:()=>xu,_getRowViewportClass:()=>jr,_getServerSideRowModel:()=>Hc,_getShouldDisplayTooltip:()=>sE,_getSortDefFromColDef:()=>ir,_getSortDefFromInput:()=>Me,_getSuppressMultiRanges:()=>mC,_getToolPanelClassesFromColDef:()=>Cw,_getViewportRowModel:()=>Iv,_getWindow:()=>ts,_interpretAsRightClick:()=>Jd,_isAnimateRows:()=>ei,_isBrowserFirefox:()=>ri,_isBrowserSafari:()=>mt,_isCellSelectionEnabled:()=>Ze,_isClientSideRowModel:()=>J,_isColumnMenuAnchoringEnabled:()=>Zd,_isColumnsSortingCoupledToGroup:()=>Qe,_isComponent:()=>lr,_isDomLayout:()=>ae,_isElementInEventPath:()=>hd,_isElementOverflowingCallback:()=>Qt,_isEventFromPrintableCharacter:()=>_r,_isExpressionString:()=>Dn,_isFocusableFormField:()=>bi,_isFullWidthGroupRow:()=>Zn,_isGetRowHeightFunction:()=>$n,_isGroupHideColumnsUntilExpanded:()=>_d,_isGroupMultiAutoColumn:()=>Wd,_isGroupRowsSticky:()=>jn,_isGroupUseEntireRow:()=>Qn,_isIOSUserAgent:()=>Pt,_isKeyboardMode:()=>wr,_isLegacyMenuEnabled:()=>be,_isMultiRowSelection:()=>Di,_isNodeOrElement:()=>us,_isNothingFocused:()=>es,_isPromise:()=>_C,_isRowBefore:()=>Xc,_isRowNumbers:()=>Nd,_isRowSelection:()=>Et,_isSameRow:()=>Jc,_isServerSideRowModel:()=>Pi,_isSetFilterByDefault:()=>Qd,_isShowTooltipWhenTruncated:()=>$o,_isSortDirectionValid:()=>ht,_isSortTypeValid:()=>bs,_isStopPropagationForAgGrid:()=>et,_isUseApplyButton:()=>vo,_isUsingNewCellSelectionAPI:()=>fC,_isUsingNewRowSelectionAPI:()=>$d,_isVisible:()=>De,_jsonEquals:()=>mi,_last:()=>q,_loadTemplate:()=>ds,_logPreInitWarn:()=>dC,_makeNull:()=>Ke,_mergeDeep:()=>ge,_missing:()=>K,_normalizeSortDirection:()=>po,_normalizeSortType:()=>Xe,_observeResize:()=>at,_paramToVariableName:()=>js,_paramValueToCss:()=>Ah,_parseBigIntOrNull:()=>ye,_parseDateTimeFromString:()=>me,_placeCaretAtEnd:()=>dd,_preInitErrMsg:()=>cC,_prevOrNextDisplayedRow:()=>As,_processOnChange:()=>RC,_radioCssClass:()=>km,_refreshFilterUi:()=>sa,_refreshHandlerAndUi:()=>$p,_registerModule:()=>Fi,_removeAllFromArray:()=>Va,_removeAriaExpanded:()=>Pm,_removeAriaSort:()=>Xa,_removeFromArray:()=>Ie,_removeFromParent:()=>Pe,_requestAnimationFrame:()=>Ye,_resetColumnState:()=>hh,_selectAllCells:()=>Fu,_serialiseDate:()=>fe,_setAriaActiveDescendant:()=>xm,_setAriaChecked:()=>Tm,_setAriaColCount:()=>Ya,_setAriaColIndex:()=>Tn,_setAriaColSpan:()=>Qa,_setAriaControls:()=>Ja,_setAriaControlsAndLabel:()=>ed,_setAriaDescribedBy:()=>ym,_setAriaDisabled:()=>qa,_setAriaExpanded:()=>ns,_setAriaHasPopup:()=>Am,_setAriaHidden:()=>Mn,_setAriaInvalid:()=>ss,_setAriaLabel:()=>Kt,_setAriaLabelledBy:()=>vi,_setAriaLevel:()=>Fm,_setAriaOrientation:()=>Im,_setAriaPosInSet:()=>Ka,_setAriaRole:()=>je,_setAriaRowCount:()=>ja,_setAriaRowIndex:()=>wi,_setAriaSelected:()=>An,_setAriaSetSize:()=>$a,_setAriaSort:()=>Za,_setColMenuVisible:()=>ra,_setDisabled:()=>Si,_setDisplayed:()=>_,_setFixedWidth:()=>Ve,_setScrollLeft:()=>eo,_setUmd:()=>Td,_setVisible:()=>od,_sharedThemeDefaults:()=>Fh,_shouldUpdateColVisibilityAfterGroup:()=>pC,_skipFocusableContainerListenerForAgGrid:()=>Jv,_stopPropagationForAgGrid:()=>At,_suppressCellMouseEvent:()=>xo,_themeAlpineParams:()=>sg,_themeBalhamParams:()=>ng,_themeMaterialParams:()=>lg,_themeQuartzParams:()=>ig,_toString:()=>$t,_toStringOrNull:()=>Jo,_translate:()=>fd,_translateForFilter:()=>Le,_unwrapUserComp:()=>Gt,_updateColsMap:()=>uc,_updateColumnState:()=>er,_updateFilterModel:()=>na,_waitUntil:()=>wd,_warn:()=>F,_warnOnce:()=>Zt,agTestIdFor:()=>T,buttonStyleAlpine:()=>zh,buttonStyleBalham:()=>Wh,buttonStyleBase:()=>Vh,buttonStyleQuartz:()=>Nh,checkboxStyleDefault:()=>Bo,colorSchemeDark:()=>xS,colorSchemeDarkBlue:()=>TS,colorSchemeDarkWarm:()=>DS,colorSchemeLight:()=>bS,colorSchemeLightCold:()=>ES,colorSchemeLightWarm:()=>yS,colorSchemeVariable:()=>Ho,columnDropStyleBordered:()=>Js,columnDropStylePlain:()=>Fl,convertColumnGroupState:()=>j2,convertColumnState:()=>_g,createGrid:()=>U2,createPart:()=>N,createTheme:()=>Lo,getGridApi:()=>$2,getGridElement:()=>K2,iconOverrides:()=>BS,iconSetAlpine:()=>qh,iconSetBalham:()=>Uh,iconSetMaterial:()=>$h,iconSetQuartz:()=>en,iconSetQuartzBold:()=>VS,iconSetQuartzLight:()=>GS,iconSetQuartzRegular:()=>Qh,inputStyleBase:()=>_S,inputStyleBordered:()=>tn,inputStyleUnderlined:()=>Zh,isColumn:()=>ct,isColumnGroup:()=>ee,isColumnGroupAutoCol:()=>Rs,isColumnSelectionCol:()=>ft,isCombinedFilterModel:()=>rr,isProvidedColumnGroup:()=>ce,isRowNumberCol:()=>pe,isSpecialCol:()=>dc,onRowHeightChanged:()=>jl,provideGlobalGridOptions:()=>Ym,resetRowHeights:()=>Yl,setupAgTestIds:()=>jP,styleMaterial:()=>rg,tabStyleAlpine:()=>eg,tabStyleBase:()=>jS,tabStyleMaterial:()=>Jh,tabStyleQuartz:()=>Xh,tabStyleRolodex:()=>tg,themeAlpine:()=>iy,themeBalham:()=>sy,themeMaterial:()=>ly,themeQuartz:()=>og,wrapAgTestIdFor:()=>WP}),$e.exports=gm(Ga);function q(e){if(e?.length)return e[e.length-1]}function lt(e,t,i){if(e===t)return!0;if(!e||!t)return e==null&&t==null;const o=e.length;if(o!==t.length)return!1;for(let s=0;s<o;s++)if(e[s]!==t[s]&&!i?.(e[s],t[s]))return!1;return!0}function Xi(e,t){if(e){for(const i of e)if(t(i))return!0}}function Ie(e,t){const i=e.indexOf(t);i>=0&&e.splice(i,1)}function Va(e,t){let i=0,o=0;for(;i<e.length;i++)t.includes(e[i])||(e[o]=e[i],o++);for(;o<e.length;)e.pop()}function Na(e,t,i){for(let o=0;o<t.length;o++)Ie(e,t[o]);for(let o=t.length-1;o>=0;o--)e.splice(i,0,t[o])}function pm(e){return[].concat.apply([],e)}var Ke=e=>e==null||e===""?null:e;function M(e){return e!=null&&e!==""}function K(e){return!M(e)}var Jo=e=>e!=null&&typeof e.toString=="function"?e.toString():null,mi=(e,t)=>{const i=e?JSON.stringify(e):null,o=t?JSON.stringify(t):null;return i===o},za=(e,t,i=!1)=>e==null?t==null?0:-1:t==null?1:(typeof e=="object"&&e.toNumber&&(e=e.toNumber()),typeof t=="object"&&t.toNumber&&(t=t.toNumber()),!i||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,i){const o=t?this.allAsyncListeners:this.allSyncListeners;let s=o.get(e);return!s&&i&&(s=new Set,o.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,i=!1){this.getListeners(e,i,!0).add(t)}removeEventListener(e,t,i=!1){const o=this.getListeners(e,i,!1);o&&(o.delete(t),o.size===0&&(i?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 i=e.type;if(t&&"event"in e){const l=e.event;l instanceof Event&&(e.eventPath=l.composedPath())}const{frameworkOverrides:o}=this,s=l=>{const a=o?()=>o.wrapIncoming(l):l;t?this.dispatchAsync(a):a()},n=this.getListeners(i,t,!1);if((n?.size??0)>0){const l=new Set(n);for(const a of l)n?.has(a)&&s(()=>a(e))}const r=this.getGlobalListeners(t);if(r.size>0){const l=new Set(r);for(const a of l)s(()=>a(i,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)},i=this.frameworkOverrides;i?i.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[];for(const t of e)t()}},fm=/[&<>"']/g,mm={"&":"&","<":"<",">":">",'"':""","'":"'"};function $t(e){return e?.toString().toString()??null}function Ci(e){return $t(e)?.replace(fm,t=>mm[t])??null}function Dn(e){return typeof e=="string"&&e.startsWith("=")&&e.length>1}function Wa(e){if(!e||e==null)return null;const t=/([a-z])([A-Z])/g,i=/([A-Z]+)([A-Z])([a-z])/g;return e.replace(t,"$1 $2").replace(i,"$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 oe(e){const{gos:t,eRootDiv:i}=e;let o=null;const s=t.get("getDocument");return s&&M(s)?o=s():i&&(o=i.ownerDocument),o&&M(o)?o:document}function es(e){const t=j(e);return t===null||t===oe(e).body}function ts(e){return oe(e).defaultView||window}function is(e){let t=null,i=null;try{t=oe(e).fullscreenElement}catch{}finally{t||(t=ke(e));const o=t.querySelector("body");o?i=o:t instanceof ShadowRoot?i=t:t instanceof Document?i=t?.documentElement:i=t}return i}function Cm(e){return is(e)?.clientWidth??(window.innerWidth||-1)}function vm(e){return is(e)?.clientHeight??(window.innerHeight||-1)}function ve(e,t,i){i==null||typeof i=="string"&&i==""?os(e,t):Ee(e,t,i)}function Ee(e,t,i){e.setAttribute(_a(t),i.toString())}function os(e,t){e.removeAttribute(_a(t))}function _a(e){return`aria-${e}`}function je(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 bm(e){return Number.parseInt(e.getAttribute("aria-posinset"),10)}function Sm(e){return e.getAttribute("aria-label")}function Kt(e,t){ve(e,"label",t)}function vi(e,t){ve(e,"labelledby",t)}function ym(e,t){ve(e,"describedby",t)}function Ua(e,t){ve(e,"live",t)}function Rm(e,t){ve(e,"atomic",t)}function Em(e,t){ve(e,"relevant",t)}function ss(e,t){ve(e,"invalid",t)}function Fm(e,t){ve(e,"level",t)}function qa(e,t){ve(e,"disabled",t)}function Mn(e,t){ve(e,"hidden",t)}function xm(e,t){ve(e,"activedescendant",t)}function ns(e,t){Ee(e,"expanded",t)}function Pm(e){os(e,"expanded")}function $a(e,t){Ee(e,"setsize",t)}function Ka(e,t){Ee(e,"posinset",t)}function Dm(e,t){Ee(e,"multiselectable",t)}function ja(e,t){Ee(e,"rowcount",t)}function wi(e,t){Ee(e,"rowindex",t)}function Mm(e,t){Ee(e,"rowspan",t)}function Ya(e,t){Ee(e,"colcount",t)}function Tn(e,t){Ee(e,"colindex",t)}function Qa(e,t){Ee(e,"colspan",t)}function Za(e,t){Ee(e,"sort",t)}function Xa(e){os(e,"sort")}function An(e,t){ve(e,"selected",t)}function Tm(e,t){Ee(e,"checked",t===void 0?"mixed":t)}function Ja(e,t){ve(e,"controls",t)}function ed(e,t){Ja(e,t.id),vi(t,e.id)}function td(e,t){ve(e,"owns",t)}function Am(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 Im(e,t){t?Ee(e,"orientation",t):os(e,"orientation")}function km(e,t,i){const o=e.parentElement;let s=o&&o.firstChild;for(;s;)t&&s.classList.toggle(t,s===e),i&&s.classList.toggle(i,s!==e),s=s.nextSibling}var Lm="[tabindex], input, select, button, textarea, [href]",id="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function bi(e){return!e||!e.matches("input, select, button, textarea")||!e.matches(id)?!1:De(e)}function _(e,t,i={}){const{skipAriaHidden:o}=i;e.classList.toggle("ag-hidden",!t),o||Mn(e,!t)}function od(e,t,i={}){const{skipAriaHidden:o}=i;e.classList.toggle("ag-invisible",!t),o||Mn(e,!t)}function Si(e,t){const i="disabled",o=t?n=>n.setAttribute(i,""):n=>n.removeAttribute(i);o(e);const s=e.querySelectorAll("input")??[];for(const n of s)o(n)}function jt(e,t,i){let o=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof i=="number"){if(++o>i)break}else if(e===i)break}return!1}function Yt(e){const{height:t,width:i,borderTopWidth:o,borderRightWidth:s,borderBottomWidth:n,borderLeftWidth:r,paddingTop:l,paddingRight:a,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(i||"0"),borderTopWidth:m(o||"0"),borderRightWidth:m(s||"0"),borderBottomWidth:m(n||"0"),borderLeftWidth:m(r||"0"),paddingTop:m(l||"0"),paddingRight:m(a||"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 ls(e){const t=Yt(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom-t.borderTopWidth-t.borderBottomWidth:t.height}function yi(e){const t=Yt(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight-t.borderLeftWidth-t.borderRightWidth:t.width}function In(e){const{height:t,marginBottom:i,marginTop:o}=Yt(e);return Math.floor(t+i+o)}function Ji(e){const{width:t,marginLeft:i,marginRight:o}=Yt(e);return Math.floor(t+i+o)}function sd(e){const t=e.getBoundingClientRect(),{borderTopWidth:i,borderLeftWidth:o,borderRightWidth:s,borderBottomWidth:n}=Yt(e);return{top:t.top+(i||0),left:t.left+(o||0),right:t.right+(s||0),bottom:t.bottom+(n||0)}}function as(e,t){let i=e.scrollLeft;return t&&(i=Math.abs(i)),i}function eo(e,t,i){i&&(t*=-1),e.scrollLeft=t}function le(e){for(;e?.firstChild;)e.firstChild.remove()}function Pe(e){e?.parentNode&&e.remove()}function nd(e){return!!e.offsetParent}function De(e){return e.checkVisibility?e.checkVisibility({checkVisibilityCSS:!0}):!(!nd(e)||window.getComputedStyle(e).visibility!=="visible")}function ds(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function rd(e,t,i){i&&i.nextSibling===t||(e.firstChild?i?i.nextSibling?e.insertBefore(t,i.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.prepend(t):e.appendChild(t))}function ld(e,t){for(let i=0;i<t.length;i++){const o=t[i],s=e.children[i];s!==o&&e.insertBefore(o,s)}}function Bm(e){return e.replace(/[A-Z]/g,t=>`-${t.toLocaleLowerCase()}`)}function to(e,t){if(t)for(const i of Object.keys(t)){const o=t[i];if(!i?.length||o==null)continue;const s=Bm(i),n=o.toString(),r=n.replace(/\s*!important/g,""),l=r.length!=n.length?"important":void 0;e.style.setProperty(s,r,l)}}function Qt(e){return()=>{const t=e();return t?ad(t)||Hm(t):!0}}function ad(e){return e.clientWidth<e.scrollWidth}function Hm(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"):Ve(e,t)}function Ve(e,t){t=kn(t),e.style.width=t,e.style.maxWidth=t,e.style.minWidth=t}function io(e,t){t=kn(t),e.style.height=t,e.style.maxHeight=t,e.style.minHeight=t}function kn(e){return typeof e=="number"?`${e}px`:e}function us(e){return e instanceof Node||e instanceof HTMLElement}function we(e,t,i){i==null||i===""?e.removeAttribute(t):e.setAttribute(t,i.toString())}function dd(e,t){if(!t.isContentEditable)return;const i=ts(e).getSelection();if(!i)return;const o=oe(e).createRange();o.selectNodeContents(t),o.collapse(!1),i.removeAllRanges(),i.addRange(o)}function at(e,t,i){const s=ts(e).ResizeObserver,n=s?new s(i):null;return n?.observe(t),()=>n?.disconnect()}function Ye(e,t){const i=ts(e);i.requestAnimationFrame?i.requestAnimationFrame(t):i.webkitRequestAnimationFrame?i.webkitRequestAnimationFrame(t):i.setTimeout(t,0)}var cd="data-ref",Ln;function ud(){return Ln??(Ln=document.createTextNode(" ")),Ln.cloneNode()}function St(e){const{attrs:t,children:i,cls:o,ref:s,role:n,tag:r}=e,l=document.createElement(r);if(o&&(l.className=o),s&&l.setAttribute(cd,s),n&&l.setAttribute("role",n),t)for(const a of Object.keys(t))l.setAttribute(a,t[a]);if(i)if(typeof i=="string")l.textContent=i;else{let a=!0;for(const d of i)d&&(typeof d=="string"?(l.appendChild(document.createTextNode(d)),a=!1):typeof d=="function"?l.appendChild(d()):(a&&(l.appendChild(ud()),a=!1),l.append(St(d)),l.appendChild(ud())))}return l}var Om=["touchstart","touchend","touchmove","touchcancel","scroll"],Gm=["wheel"],Bn={},hs=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return i=>{if(typeof Bn[i]=="boolean")return Bn[i];const o=document.createElement(e[i]||"div");return i="on"+i,Bn[i]=i in o}})();function hd(e,t){return!t||!e?!1:Nm(t).indexOf(e)>=0}function Vm(e){const t=[];let i=e.target;for(;i;)t.push(i),i=i.parentElement;return t}function Nm(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():Vm(t)}function zm(e,t,i){const o=Wm(t);let s;o!=null&&(s={passive:o}),e.addEventListener(t,i,s)}var Wm=e=>{const t=Om.includes(e),i=Gm.includes(e);if(t)return!0;if(i)return!1};function gd(e,t,i){if(i===0)return!1;const o=Math.abs(e.clientX-t.clientX),s=Math.abs(e.clientY-t.clientY);return Math.max(o,s)<=i}var Ri=(e,t)=>{const i=e.identifier;for(let o=0,s=t.length;o<s;++o){const n=t[o];if(n.identifier===i)return n}return null};function oo(e,t){return e.gos.isElementInThisInstance(t.target)}function pd(e,t,i){const s=e.getBoundingClientRect().height,n=Cm(i)-2,r=vm(i)-2;if(!e.offsetParent)return;const a=sd(e.offsetParent),{clientY:d,clientX:c}=t;let u=d-a.top-s/2,h=c-a.left-10;const g=oe(i),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 i of t){const[o,s,n,r]=i;o.addEventListener(s,n,r),e.push(i)}},Hn=e=>{if(e){for(const[t,i,o,s]of e)t.removeEventListener(i,o,s);e.length=0}},yt=e=>{e.cancelable&&e.preventDefault()};function _m(e,t){return t}function On(e){return e?.getLocaleTextFunc()??_m}function fd(e,t,i,o){const s=t[i];return e.getLocaleTextFunc()(i,typeof s=="function"?s(o):s,o)}function md(e){return(t,i,o)=>e({key:t,defaultValue:i,variableValues:o})}function Cd(e){return(t,i,o)=>{let s=e?.[t];if(s&&o?.length){let n=0;for(;!(n>=o.length||s.indexOf("${variable}")===-1);)s=s.replace("${variable}",o[n++])}return s??i}}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,i){this.localEventService||(this.localEventService=new bt),this.localEventService.addEventListener(e,t,i)}removeEventListener(e,t,i){this.localEventService?.removeEventListener(e,t,i)}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 i=[];for(const o of Object.keys(t)){const s=t[o];s&&i.push(this._setupListener(e,o,s))}return i}_setupListener(e,t,i){if(this.destroyed)return()=>null;let o;if(Um(e))e.__addEventListener(t,i),o=()=>(e.__removeEventListener(t,i),null);else{const s=qm(e);e instanceof HTMLElement?zm(e,t,i):s?e.addListener(t,i):e.addEventListener(t,i),o=s?()=>(e.removeListener(t,i),null):()=>(e.removeEventListener(t,i),null)}return this.destroyFunctions.push(o),()=>(o(),this.destroyFunctions=this.destroyFunctions.filter(s=>s!==o),null)}setupPropertyListener(e,t){const{gos:i}=this;i.addPropertyEventListener(e,t);const o=()=>(i.removePropertyEventListener(e,t),null);return this.destroyFunctions.push(o),()=>(o(),this.destroyFunctions=this.destroyFunctions.filter(s=>s!==o),null)}addManagedPropertyListener(e,t){return this.destroyed?()=>null:this.setupPropertyListener(e,t)}addManagedPropertyListeners(e,t){if(this.destroyed)return;const i=e.join("-")+this.propertyListenerId++,o=s=>{if(s.changeSet){if(s.changeSet&&s.changeSet.id===this.lastChangeSetIdLookup[i])return;this.lastChangeSetIdLookup[i]=s.changeSet.id}const n={type:"propertyChanged",changeSet:s.changeSet,source:s.source};t(n)};for(const s of e)this.setupPropertyListener(s,o)}getLocaleTextFunc(){return On(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 i=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),i}createBean(e,t,i){return(t||this.stubContext).createBean(e,i)}destroyBean(e,t){return(t||this.stubContext).destroyBean(e)}destroyBeans(e,t){return(t||this.stubContext).destroyBeans(e)}};function Um(e){return e.__addEventListener!==void 0}function qm(e){return e.eventServiceType==="global"}var S=class extends he{},Gn=new Set,so=(e,t)=>{Gn.has(t)||(Gn.add(t),e())};so._set=Gn;var $m={pending:!1,funcs:[]},Km={pending:!1,funcs:[]};function ps(e,t="setTimeout",i){const o=t==="raf"?Km:$m;if(o.funcs.push(e),o.pending)return;o.pending=!0;const s=()=>{const n=o.funcs.slice();o.funcs.length=0,o.pending=!1;for(const r of n)r()};t==="raf"?Ye(i,s):window.setTimeout(s,0)}function te(e,t,i){let o;return function(...s){const n=this;return window.clearTimeout(o),o=window.setTimeout(function(){e.isAlive()&&t.apply(n,s)},i),o}}function vd(e,t){let i=0;return function(...o){const s=this,n=Date.now();n-i<t||(i=n,e.apply(s,o))}}function wd(e,t,i,o=100){const s=Date.now();let n=null,r=!1;const l=()=>{n!=null&&(window.clearInterval(n),n=null)};e.addDestroyFunc(l);const a=()=>{const d=Date.now()-s>o;(t()||d)&&(i(),r=!0,l())};a(),r||(n=window.setInterval(a,10))}var bd=new Set(["__proto__","constructor","prototype"]);function jm(e,t){if(e!=null){if(Array.isArray(e)){for(let i=0;i<e.length;i++)t(i.toString(),e[i]);return}for(const i of Object.keys(e).filter(o=>!bd.has(o)))t(i,e[i])}}function ge(e,t,i=!0,o=!1){M(t)&&jm(t,(s,n)=>{let r=e[s];r!==n&&(o&&r==null&&n!=null&&typeof n=="object"&&n.constructor===Object&&(r={},e[s]=r),Sd(n)&&Sd(r)&&!Array.isArray(r)?ge(r,n,i,o):(i||n!==void 0)&&(e[s]=n))})}function Sd(e){return typeof e=="object"&&e!==null}var Vn=class wt{static applyGlobalGridOptions(t){if(!wt.gridOptions)return{...t};let i={};return ge(i,wt.gridOptions,!0,!0),wt.mergeStrategy==="deep"?ge(i,t,!0,!0):i={...i,...t},wt.gridOptions.context&&(i.context=wt.gridOptions.context),t.context&&(wt.mergeStrategy==="deep"&&i.context&&ge(t.context,i.context,!0,!0),i.context=t.context),i}static applyGlobalGridOption(t,i){if(wt.mergeStrategy==="deep"){const o=Nn(t);if(o&&typeof o=="object"&&typeof i=="object")return wt.applyGlobalGridOptions({[t]:i})[t]}return i}};Vn.gridOptions=void 0,Vn.mergeStrategy="shallow";var no=Vn;function Ym(e,t="shallow"){no.gridOptions=e,no.mergeStrategy=t}function Nn(e){return no.gridOptions?.[e]}var yd={suppressContextMenu:!1,preventDefaultOnContextMenu:!1,allowContextMenuWithControlKey:!1,suppressMenuHide:!0,enableBrowserTooltips:!1,tooltipTrigger:"hover",tooltipShowDelay:2e3,tooltipSwitchShowDelay:200,tooltipHideDelay:1e4,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},Rd="https://www.ag-grid.com";function Rt(e,t,...i){e.get("debug")&&console.log("AG Grid: "+t,...i)}function Zt(e,...t){so(()=>Fd(e,...t),e+t?.join(""))}function Ei(e,...t){so(()=>Ed(e,...t),e+t?.join(""))}function Ed(e,...t){console.error("AG Grid: "+e,...t)}function Fd(e,...t){console.warn("AG Grid: "+e,...t)}var xd=new Set,fs={},Xt={},ms,Pd=!1,Dd=!1,Md=!1;function Qm(e){const[t,i]=e.version.split(".")||[],[o,s]=ms.split(".")||[];return t===o&&i===s}function Zm(e){ms||(ms=e.version);const t=o=>`You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. ${o} Please update all modules to the same version.`;e.version?Qm(e)||Ei(t(`'${e.moduleName}' is version ${e.version} but the other modules are version ${ms}.`)):Ei(t(`'${e.moduleName}' is incompatible.`));const i=e.validate?.();i&&!i.isValid&&Ei(`${i.message}`)}function Fi(e,t,i=!1){i||(Pd=!0),Zm(e);const o=e.rowModels??["all"];xd.add(e);let s;t!==void 0?(Dd=!0,Xt[t]===void 0&&(Xt[t]={}),s=Xt[t]):s=fs;for(const n of o)s[n]===void 0&&(s[n]={}),s[n][e.moduleName]=e;if(e.dependsOn)for(const n of e.dependsOn)Fi(n,t,i)}function Xm(e){delete Xt[e]}function zn(e,t,i){const o=s=>!!fs[s]?.[e]||!!Xt[t]?.[s]?.[e];return o(i)||o("all")}function Wn(){return Dd}function Jm(e,t){const i=Xt[e]??{};return[...Object.values(fs.all??{}),...Object.values(i.all??{}),...Object.values(fs[t]??{}),...Object.values(i[t]??{})]}function eC(){return new Set(xd)}function tC(e,t){const i=Xt[e]??{};return[...Object.values(i.all??{}),...Object.values(i[t]??{})]}function iC(){return Pd}function _n(){return Md}function Td(){Md=!0}var Un=class{static register(e){Fi(e,void 0)}static registerModules(e){for(const t of e)Fi(t,void 0)}};function Ad(e){for(const t of e){if("setLicenseKey"in t)return t;if(t.dependsOn){const i=Ad(t.dependsOn);if(i)return i}}}var P="35.2.0",Id=2e3,kd=100,Ld="_version_",Bd=null,xi=`${Rd}/javascript-data-grid`;function oC(e){Bd=e}function sC(e){xi=e}function Hd(e,t,i){return Bd?.(e,t)??[aC(e,t,i)]}function Cs(e,t,i,o,s){e(`${o?"warning":"error"} #${t}`,...Hd(t,i,s))}function nC(e){if(!e)return String(e);const t={};for(const i of Object.keys(e))typeof e[i]!="object"&&typeof e[i]!="function"&&(t[i]=e[i]);return JSON.stringify(t)}function rC(e){let t=e;return e instanceof Error?t=e.toString():typeof e=="object"&&(t=nC(e)),t}function vs(e){return e===void 0?"undefined":e===null?"null":e}function qn(e,t){return`${e}?${t.toString()}`}function lC(e,t,i){const o=Array.from(t.entries()).sort((n,r)=>r[1].length-n[1].length);let s=qn(e,t);for(const[n,r]of o){if(n===Ld)continue;const l=s.length-i;if(l<=0)break;const a="...",d=l+a.length,c=r.length-d>kd?r.slice(0,r.length-d)+a:r.slice(0,kd)+a;t.set(n,c),s=qn(e,t)}return s}function Od(e,t){const i=new URLSearchParams;if(i.append(Ld,P),t)for(const n of Object.keys(t))i.append(n,rC(t[n]));const o=`${xi}/errors/${e}`,s=qn(o,i);return s.length<=Id?s:lC(o,i,Id)}var aC=(e,t,i)=>{const o=Od(e,t),s=`${i?i+`
`:""}Visit ${o}`;return _n()?s:`${s}${i?"":`
Alternatively register the ValidationModule to see the full message in the console.`}`};function F(...e){Cs(Zt,e[0],e[1],!0)}function z(...e){Cs(Ei,e[0],e[1],!1)}function ro(e,t,i){Cs(Ei,e,t,!1,i)}function dC(e,t,i){Cs(Zt,e,t,!0,i)}function Gd(e,t){const i=t[0];return`error #${i} `+Hd(i,t[1],e).join(" ")}function Ne(...e){return Gd(void 0,e)}function cC(...e){return Gd(`
`,e)}function Vd(e,t){return e.get("rowModelType")===t}function J(e,t){return Vd(e,"clientSide")}function Pi(e,t){return Vd(e,"serverSide")}function ae(e,t){return e.get("domLayout")===t}function Et(e){return uo(e)!==void 0}function $n(e){return typeof e.get("getRowHeight")=="function"}function uC(e,t){return t?!e.get("enableStrictPivotColumnOrder"):e.get("maintainColumnOrder")}function Nd({gos:e,formula:t}){const i=e.get("rowNumbers");return i||!!t?.active&&i!==!1}function dt(e,t,i=!1,o){const{gos:s,environment:n}=e;if(o==null&&(o=n.getDefaultRowHeight()),$n(s)){if(i)return{height:o,estimated:!0};const a={node:t,data:t.data},d=s.getCallback("getRowHeight")(a);if(Kn(d))return d===0&&F(23),{height:Math.max(1,d),estimated:!1}}if(t.detail&&s.get("masterDetail"))return hC(s);const r=s.get("rowHeight");return{height:r&&Kn(r)?r:o,estimated:!1}}function hC(e){if(e.get("detailRowAutoHeight"))return{height:1,estimated:!1};const t=e.get("detailRowHeight");return Kn(t)?{height:t,estimated:!1}:{height:300,estimated:!1}}function Ft(e){const{environment:t,gos:i}=e,o=i.get("rowHeight");if(!o||K(o))return t.getDefaultRowHeight();const s=t.refreshRowHeightVariable();return s!==-1?s:(F(24),t.getDefaultRowHeight())}function Kn(e){return!isNaN(e)&&typeof e=="number"&&isFinite(e)}function zd(e,t,i){const o=t[e.getDomDataKey()];return o?o[i]:void 0}function Jt(e,t,i,o){const s=e.getDomDataKey();let n=t[s];K(n)&&(n={},t[s]=n),n[i]=o}function ei(e){return e.get("ensureDomOrder")?!1:e.get("animateRows")}function jn(e){return!(e.get("paginateChildRows")||e.get("groupHideOpenParents")||ae(e,"print"))}function Qe(e){return!e.get("autoGroupColumnDef")?.comparator&&!e.get("treeData")}function lo(e){const t=e.get("groupAggFiltering");if(typeof t=="function")return e.getCallback("groupAggFiltering");if(t===!0)return()=>!0}function Yn(e){return e.get("grandTotalRow")}function gC(e){const t=e.get("groupTotalRow");return typeof t=="function"?e.getCallback("groupTotalRow"):()=>t??void 0}function Wd(e){return e.get("groupHideOpenParents")?!0:e.get("groupDisplayType")==="multipleColumns"}function _d(e){return Wd(e)&&e.get("groupHideColumnsUntilExpanded")&&J(e)}function Qn(e,t){return t?!1:e.get("groupDisplayType")==="groupRows"}function Zn(e,t,i){return!!t.group&&!t.footer&&Qn(e,i)}function ti(e){const t=e.getCallback("getRowId");return t===void 0?t:i=>{let o=t(i);return typeof o!="string"&&(so(()=>F(25,{id:o}),"getRowIdString"),o=String(o)),o}}function Ud(e,t){const i=e.get("groupHideParentOfSingleChild");return!!(i===!0||i==="leafGroupsOnly"&&t.leafGroup||e.get("groupRemoveSingleChildren")||e.get("groupRemoveLowestSingleChildren")&&t.leafGroup)}function qd(e){const t=e.get("maxConcurrentDatasourceRequests");return t>0?t:void 0}function pC(e,t){const i=e.get("suppressGroupChangesColumnVisibility");if(i===!0||t&&i==="suppressHideOnGroup"||!t&&i==="suppressShowOnUngroup")return!1;const o=e.get("suppressRowGroupHidesColumns");if(t&&o===!0)return!1;const s=e.get("suppressMakeColumnVisibleAfterUnGroup");return!(!t&&s===!0)}function ii(e){return e?.checkboxes??!0}function ao(e){return e?.mode==="multiRow"&&(e.headerCheckbox??!0)}function co(e){if(typeof e=="object")return e.checkboxLocation??"selectionColumn"}function Xn(e){return e?.hideDisabledCheckboxes??!1}function $d(e){return typeof e.get("rowSelection")!="string"}function fC(e){return e.get("cellSelection")!==void 0}function mC(e){const t=e.get("cellSelection");return t!==void 0?typeof t!="boolean"?t?.suppressMultiRanges??!1:!1:e.get("suppressMultiRangeSelection")}function Ze(e){const t=e.get("cellSelection");return t!==void 0?!!t:e.get("enableRangeSelection")}function CC(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 oi(e){const t=e.get("cellSelection")??!1;return(typeof t=="object"&&t.enableColumnSelection)??!1}function Kd(e){const t=e.get("rowSelection")??"single";if(typeof t=="string"){const i=e.get("suppressRowClickSelection"),o=e.get("suppressRowDeselection");return i&&o?!1:i?"enableDeselection":o?"enableSelection":!0}return t.mode==="singleRow"||t.mode==="multiRow"?t.enableClickSelection??!1:!1}function vC(e){const t=Kd(e);return t===!0||t==="enableSelection"}function wC(e){const t=Kd(e);return t===!0||t==="enableDeselection"}function ws(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("isRowSelectable"):t?.isRowSelectable}function uo(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 Di(e){return uo(e)==="multiRow"}function bC(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("rowMultiSelectWithClick"):t?.enableSelectionWithoutKeys??!1}function ho(e){const t=e.get("rowSelection");if(typeof t=="string"){const i=e.get("groupSelectsChildren"),o=e.get("groupSelectsFiltered");return i&&o?"filteredDescendants":i?"descendants":"self"}return t?.mode==="multiRow"?t.groupSelects:void 0}function jd(e,t=!0){const i=e.get("rowSelection");return typeof i!="object"?t?"all":void 0:i.mode==="multiRow"?i.selectAll:"all"}function SC(e){const t=e.get("rowSelection");return typeof t=="string"?!1:t?.mode==="multiRow"?t.ctrlASelectsRows??!1:!1}function Mi(e){const t=ho(e);return t==="descendants"||t==="filteredDescendants"}function Yd(e){const t=e.get("rowSelection");return typeof t=="object"&&t.masterSelects||"self"}function Qd(e){return e.isModuleRegistered("SetFilter")&&!e.get("suppressSetFilterByDefault")}function be(e){return e.get("columnMenu")==="legacy"}function Zd(e){return!be(e)}function Xd(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substring(1)}function yC(e,t,i){typeof e!="object"&&(e={});const o={...e};for(const s of i){const n=t[s];typeof n<"u"&&(o[s]=n)}return o}function RC(e,t){if(!e)return;const i={};let o=!1;for(const r of Object.keys(e))i[r]=e[r],o=!0;if(!o)return;const s={type:"gridOptionsChanged",options:i};t.dispatchEvent(s);const n={type:"componentStateChanged",...i};t.dispatchEvent(n)}function k(e,t){return e.addCommon(t)}function EC(e,t){return e[t]??e.gridOptions?.[t]??Nn(t)??yd[t]}function Jd({gos:e},t){return t.button===2||t.ctrlKey&&e.get("allowContextMenuWithControlKey")}var FC={resizable:!0,sortable:!0},xC=0;function ec(){return xC++}function ct(e){return e instanceof ut}var PC=["asc","desc",null],DC=[{type:"absolute",direction:"asc"},{type:"absolute",direction:"desc"},null],ut=class extends S{constructor(e,t,i,o){super(),this.colDef=e,this.userProvidedColDef=t,this.colId=i,this.primary=o,this.isColumn=!0,this.instanceId=ec(),this.autoHeaderHeight=null,this.sortDef=Me(),this._wasSortExplicitlyRemoved=!1,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=Ci(i)}destroy(){super.destroy(),this.beans.rowSpanSvc?.deregister(this)}getInstanceId(){return this.instanceId}initState(){const{colDef:e,beans:{sortSvc:t,pinnedCols:i,colFlex:o}}=this;t?.initCol(this);const s=e.hide;s!==void 0?this.visible=!s:this.visible=!e.initialHide,i?.initCol(this),o?.initCol(this)}setColDef(e,t,i){const o=e.spanRows!==this.colDef.spanRows;this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),o&&(this.beans.rowSpanSvc?.deregister(this),this.initRowSpan()),this.dispatchColEvent("colDefChanged",i)}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:i}}=this,o=e.get("suppressFieldDotNotation");this.fieldContainsDots=M(t)&&t.includes(".")&&!o,this.tooltipFieldContainsDots=M(i)&&i.includes(".")&&!o}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:i=>{const o=e.recreateColDef(this.colDef);this.setColDef(o,o,i.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 i=this.frameworkEventListenerService?.wrap(e,t)??t;this.colEventSvc.addEventListener(e,i)}removeEventListener(e,t){const i=this.frameworkEventListenerService?.unwrap(e,t)??t;this.colEventSvc.removeEventListener(e,i)}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.colDef.rowDrag)}isDndSource(e){return this.isColumnFunc(e,this.colDef.dndSource)}isCellCheckboxSelection(e){return this.beans.selectionSvc?.isCellCheckboxSelection(this,e)??!1}isSuppressPaste(e){return this.isColumnFunc(e,this.colDef?.suppressPaste??null)}isResizable(){return!!this.getColDefValue("resizable")}getColDefValue(e){return this.colDef[e]??FC[e]}isColumnFunc(e,t){if(typeof t=="boolean")return t;if(typeof t=="function"){const i=this.createColumnFunctionCallbackParams(e);return t(i)}return!1}createColumnEvent(e,t){return k(this.gos,{type:e,column:this,columns:[this],source:t})}isMoving(){return this.moving}getSort(){return this.sortDef.direction}getSortDef(){return this.sortDef.direction?this.sortDef:null}getColDefAllowedSortTyp