UNPKG

ag-grid-enterprise

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

5 lines 2.67 MB
(function(hr,Sn){typeof exports=="object"&&typeof module<"u"?module.exports=Sn():typeof define=="function"&&define.amd?define("agGrid",Sn):hr.agGrid=Sn()})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:this,function(){var hr={},Sn=hr,xu={exports:hr};if(typeof Lae>"u")var Lae=function(t){throw new Error("Unknown module: "+t)};var Ru=Object.defineProperty,lT=Object.getOwnPropertyDescriptor,cT=Object.getOwnPropertyNames,dT=Object.prototype.hasOwnProperty,uT=(e,t)=>{for(var s in t)Ru(e,s,{get:t[s],enumerable:!0})},hT=(e,t,s,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of cT(t))!dT.call(e,o)&&o!==s&&Ru(e,o,{get:()=>t[o],enumerable:!(i=lT(t,o))||i.enumerable});return e},gT=e=>hT(Ru({},"__esModule",{value:!0}),e),Qv={};uT(Qv,{ALWAYS_SYNC_GLOBAL_EVENTS:()=>fa,AdvancedFilterModule:()=>lR,AgAbstractCellEditor:()=>Bo,AgAbstractInputField:()=>Ri,AgAbstractLabel:()=>aa,AgCheckbox:()=>so,AgCheckboxSelector:()=>Cs,AgColumn:()=>wi,AgColumnGroup:()=>Dr,AgContentEditableField:()=>Bf,AgContentEditableFieldSelector:()=>u9,AgFieldSet:()=>gx,AgFieldSetSelector:()=>px,AgFilterButtonSelector:()=>J0,AgInputDateField:()=>Wr,AgInputDateFieldSelector:()=>Lp,AgInputNumberField:()=>ba,AgInputNumberFieldSelector:()=>Ur,AgInputTextArea:()=>h0,AgInputTextAreaSelector:()=>Xc,AgInputTextField:()=>vt,AgInputTextFieldSelector:()=>Ft,AgPickerField:()=>Qc,AgPromise:()=>Z,AgProvidedColumnGroup:()=>Fr,AgRadioButton:()=>Yp,AgRadioButtonSelector:()=>tN,AgSelect:()=>Et,AgSelectSelector:()=>Fi,AgToggleButton:()=>Jo,AgToggleButtonSelector:()=>fx,AggregationModule:()=>Om,AiToolkitModule:()=>gR,AlignedGridsModule:()=>YS,AllCommunityModule:()=>Y1,AllEnterpriseModule:()=>iT,AutoGenerateColumnsModule:()=>i0,BaseComponentWrapper:()=>n9,BaseCreator:()=>Mp,BaseGridSerializingSession:()=>Tp,BaseSelectionService:()=>Mf,BatchEditModule:()=>WP,BeanStub:()=>F,BigIntFilterModule:()=>R1,CalculatedColumnsModule:()=>JP,CellApiModule:()=>HS,CellRangeType:()=>tb,CellSelectionModule:()=>jd,CellSpanModule:()=>N1,CellStyleModule:()=>Af,CheckboxEditorModule:()=>_0,ClientSideRowModelApiModule:()=>Cy,ClientSideRowModelModule:()=>_g,ClipboardModule:()=>sE,ColumnApiModule:()=>la,ColumnAutoSizeModule:()=>a0,ColumnHeaderEditModule:()=>DP,ColumnHoverModule:()=>l0,ColumnMenuModule:()=>Mm,ColumnsToolPanelModule:()=>$R,Component:()=>D,ContextMenuModule:()=>Tm,CsvExportModule:()=>Dp,CustomEditorModule:()=>$0,CustomFilterModule:()=>y1,DETAIL_ROW_ID_PREFIX:()=>rc,DateEditorModule:()=>z0,DateFilterModule:()=>F1,DragAndDropModule:()=>yy,DragSourceType:()=>_w,EventApiModule:()=>bf,ExcelExportModule:()=>lF,ExternalFilterModule:()=>P1,FakeHScrollComp:()=>xb,FakeVScrollComp:()=>Rb,FileInputOverlayModule:()=>t0,FilterButtonComp:()=>jr,FilterComp:()=>qr,FilterWrapperComp:()=>qp,FiltersToolPanelModule:()=>nE,FindModule:()=>_P,FormulaModule:()=>mv,GRAND_TOTAL_ROW_ID:()=>Zi,GROUP_AUTO_COLUMN_ID:()=>ps,GROUP_HIERARCHY_COLUMN_ID_PREFIX:()=>Lw,GROUP_TOTAL_ROW_ID_PREFIX:()=>Go,GridBodyCtrl:()=>Pb,GridChartsModule:()=>Dae,GridCoreCreator:()=>US,GridCtrl:()=>Gb,GridHeaderCtrl:()=>db,GridStateModule:()=>L1,GroupFilterModule:()=>eE,HeaderRowContainerCtrl:()=>yb,HighlightChangesModule:()=>Ef,InfiniteRowModelModule:()=>M1,IntegratedChartsModule:()=>Zv,KeyCode:()=>y,LargeTextEditorModule:()=>U0,LicenseManager:()=>Nf,LocaleModule:()=>D1,LocaleService:()=>T1,ManagedFocusFeature:()=>bi,MasterDetailModule:()=>cE,MenuModule:()=>pq,ModuleRegistry:()=>yc,MultiFilterModule:()=>hF,NewFiltersToolPanelModule:()=>aE,NotesModule:()=>TP,NumberEditorModule:()=>H0,NumberFilterModule:()=>x1,PaginationModule:()=>Rf,PaginationPageNumbersModule:()=>O1,PinnedRowModel:()=>Jw,PinnedRowModule:()=>G1,PivotModule:()=>xE,PositionableFeature:()=>nc,ProvidedFilter:()=>$n,QuickFilterModule:()=>E1,ROOT_NODE_ID:()=>Wn,ROW_NUMBERS_COLUMN_ID:()=>Lh,RangeSelectionModule:()=>xQ,RenderApiModule:()=>V1,RichSelectModule:()=>YR,RowApiModule:()=>JS,RowAutoHeightModule:()=>B1,RowContainerCtrl:()=>Ib,RowDragModule:()=>Sy,RowGroupingEditModule:()=>sM,RowGroupingModule:()=>zm,RowGroupingPanelModule:()=>JF,RowNode:()=>mt,RowNumbersModule:()=>Um,RowSelectionModule:()=>U1,RowStyleModule:()=>q1,SELECTION_COLUMN_ID:()=>sc,STRUCTURED_SCHEMA_FEATURES:()=>$w,ScrollApiModule:()=>e0,SelectEditorModule:()=>W0,ServerSideRowModelApiModule:()=>DE,ServerSideRowModelModule:()=>TE,ServerSideTransactionResultStatus:()=>eb,SetFilterModule:()=>JR,ShowValuesAsModule:()=>HP,SideBarModule:()=>Ba,SparklinesModule:()=>vv,StatusBarModule:()=>tF,TabGuardComp:()=>Wo,TabGuardCtrl:()=>a9,TabGuardFeature:()=>l9,TextEditorModule:()=>N0,TextFilterModule:()=>S1,ToolbarModule:()=>nF,TooltipModule:()=>wa,TouchListener:()=>fs,TreeDataModule:()=>EE,UndoRedoEditModule:()=>B0,ValidationModule:()=>Vf,ValueCacheModule:()=>NS,VanillaFrameworkOverrides:()=>_S,ViewportRowModelModule:()=>tE,_AgColorPicker:()=>Qf,_AgColorPickerSelector:()=>TU,_AgContextMenuService:()=>Kx,_AgDialog:()=>Xf,_AgGroupComponent:()=>ii,_AgGroupComponentSelector:()=>Me,_AgInputRange:()=>_x,_AgInputRangeSelector:()=>Wx,_AgMenuItemComponent:()=>Oa,_AgMenuItemRenderer:()=>jx,_AgMenuList:()=>Td,_AgPanel:()=>Zf,_AgSlider:()=>Tt,_AgSliderSelector:()=>zt,_AgTabbedLayout:()=>em,_AgVirtualList:()=>Hx,_AgVirtualListDragFeature:()=>zx,_BOOLEAN_MIXED_GRID_OPTIONS:()=>hp,_BaseSingleColService:()=>Pf,_ChangedRowNodes:()=>jo,_ColumnFilterModule:()=>ks,_ColumnGroupModule:()=>qg,_ColumnMoveModule:()=>Lc,_CsrmSsrmSharedApiModule:()=>Lg,_DATA_TYPE_DERIVED_COL_DEF_PROPERTIES:()=>By,_DragModule:()=>Ic,_EditCoreModule:()=>Ls,_EmptyBean:()=>UI,_FilterCoreModule:()=>Ra,_FilterValueModule:()=>pd,_GET_ALL_EVENTS:()=>UO,_GET_ALL_GRID_OPTIONS:()=>RS,_GET_SHALLOW_GRID_OPTIONS:()=>sG,_HeaderComp:()=>PS,_HorizontalResizeModule:()=>Ug,_KeyboardNavigationModule:()=>ma,_PUBLIC_EVENTS:()=>lp,_PUBLIC_EVENT_HANDLERS_MAP:()=>Bc,_PopupModule:()=>rs,_ROW_ID_PREFIX_BOTTOM_PINNED:()=>cc,_ROW_ID_PREFIX_ROW_GROUP:()=>Uh,_ROW_ID_PREFIX_TOP_PINNED:()=>lc,_RowModelSharedApiModule:()=>kg,_STOP_PROPAGATION_CALLBACKS:()=>Xi,_SharedDragAndDropModule:()=>to,_SharedExportModule:()=>Pp,_SharedMenuModule:()=>Up,_SharedRowSelectionModule:()=>Tf,_SortModule:()=>Dc,_SsrmInfiniteSharedApiModule:()=>Og,_UserColumnService:()=>yf,_addAdditionalCss:()=>vS,_addColumnDefaultAndTypes:()=>vi,_addFocusableContainerListener:()=>zo,_addGridCommonParams:()=>z,_applyColumnState:()=>Bt,_applyHeaderWrapperHidden:()=>Cb,_applyHeaderWrapperMaxHeight:()=>wb,_areCellsEqual:()=>Lr,_attemptToRestoreCellFocus:()=>Qh,_buildColumnTree:()=>Yg,_canSkipShowingRowGroup:()=>rw,_clamp:()=>Je,_combineAttributesAndGridOptions:()=>bA,_consoleError:()=>kr,_convertColumnEventSourceType:()=>Xs,_coreThemeDefaults:()=>Uy,_createCellId:()=>yi,_createElement:()=>N,_createGlobalRowEvent:()=>dc,_createIcon:()=>Js,_createIconNoSpan:()=>B,_createRowNodeSibling:()=>$h,_createUserColumn:()=>Ql,_createValidationWarning:()=>ge,_csrmFirstLeaf:()=>eo,_csrmReorderAllLeafs:()=>Gg,_defaultPivotSort:()=>tc,_destroyColumnTreeAll:()=>oc,_destroyColumnTreeUnused:()=>Oh,_dispatchColumnChangedEvent:()=>Er,_doDeltaSort:()=>Hg,_emitValidationWarning:()=>Hc,_errMsg:()=>Ht,_errorForGrid:()=>ny,_errorWithoutAttribution:()=>Dg,_findEnterpriseCoreModule:()=>$b,_focusGridInnerElement:()=>Xh,_focusNextGridCoreContainer:()=>Qs,_forEachChangedGroupDepthFirst:()=>Zt,_formatNumberCommas:()=>fi,_getAbsoluteRowIndex:()=>hc,_getAvailableSortTypes:()=>Iw,_getCallbackForEvent:()=>uw,_getCellByPosition:()=>ms,_getCellCtrlForEventTarget:()=>ta,_getCellPositionForEvent:()=>Wg,_getCellRendererDetails:()=>Vo,_getCheckboxLocation:()=>Rr,_getCheckboxes:()=>Ui,_getClientSideRowModel:()=>Yt,_getColumnStateFromColDef:()=>kh,_getDefaultFloatingFilterType:()=>jp,_getDefaultSimpleFilter:()=>rd,_getDisplaySortForColumn:()=>Ih,_getEditorRendererDetails:()=>Bh,_getEnableColumnSelection:()=>mi,_getFillHandle:()=>Zl,_getFilterDetails:()=>Nh,_getFilterModel:()=>qe,_getFilterParamsForDataType:()=>od,_getFirstRow:()=>No,_getFloatingFilterCompDetails:()=>Hh,_getFloatingFiltersHeight:()=>gc,_getGlobalGridOption:()=>Ch,_getGrandTotalPinnedFloat:()=>Kl,_getGrandTotalRow:()=>Ts,_getGridOption:()=>SA,_getGridRegisteredModules:()=>Wb,_getGroupAggFiltering:()=>Wi,_getGroupSelection:()=>Nn,_getGroupSelectsDescendants:()=>$i,_getGroupTotalRowCallback:()=>Ao,_getHeaderCheckbox:()=>Bn,_getHeaderClassesFromColDef:()=>mc,_getHeaderRowCount:()=>Jh,_getInnerCellRendererDetails:()=>Un,_getIsRowSelectable:()=>Xl,_getLastRow:()=>Ho,_getMaxConcurrentDatasourceRequests:()=>yh,_getNormalisedMousePosition:()=>na,_getPinnedSectionWidths:()=>sg,_getRowAbove:()=>is,_getRowBelow:()=>nt,_getRowContainerClass:()=>Db,_getRowContainerOptions:()=>sa,_getRowCtrlForEventTarget:()=>vg,_getRowHeightAsNumber:()=>Vt,_getRowHeightForNode:()=>et,_getRowIdCallback:()=>Ys,_getRowNode:()=>Ie,_getRowSelectionMode:()=>Io,_getRowSpanContainerClass:()=>Ab,_getServerSideRowModel:()=>Ir,_getShouldDisplayTooltip:()=>Ca,_getSortModel:()=>Gr,_getSuppressMultiRanges:()=>aw,_getToolPanelClassesFromColDef:()=>lg,_getValueUsingDotPath:()=>qc,_getViewportRowModel:()=>fI,_interpretAsRightClick:()=>Hn,_isAnimateRows:()=>Do,_isCalculatedColumnsEnabled:()=>cp,_isCellSelectionEnabled:()=>Rt,_isClientSideRowModel:()=>Re,_isColumnMenuAnchoringEnabled:()=>Fh,_isColumnsSortingCoupledToGroup:()=>qs,_isDomLayout:()=>$e,_isFiniteNumber:()=>zi,_isFullWidthGroupRow:()=>ql,_isGetRowHeightFunction:()=>$l,_isGroupHideColumnsUntilExpanded:()=>bh,_isGroupMultiAutoColumn:()=>Vn,_isGroupRowsSticky:()=>Gn,_isGroupUseEntireRow:()=>jl,_isHeaderFocusSuppressed:()=>os,_isLegacyMenuEnabled:()=>Ke,_isMultiRowSelection:()=>Zs,_isProtoPollutionKey:()=>_l,_isRowBefore:()=>je,_isRowNumbers:()=>_i,_isRowSelection:()=>Gt,_isSameRow:()=>Ee,_isServerSideRowModel:()=>xt,_isSetFilterByDefault:()=>Rh,_isShowTooltipWhenTruncated:()=>zr,_isStopPropagationForAgGrid:()=>Nt,_isUseApplyButton:()=>Ar,_isUsingNewCellSelectionAPI:()=>nw,_isUsingNewRowSelectionAPI:()=>Yl,_logPreInitWarn:()=>ay,_mergeDeep:()=>ze,_mergedEqual:()=>Hi,_normaliseCalculatedExpression:()=>Nc,_normalizeSortType:()=>gs,_partitionByPinned:()=>ig,_preInitErrMsg:()=>Pc,_prevOrNextDisplayedRow:()=>Kn,_processOnChange:()=>yA,_refreshFilterUi:()=>ya,_refreshHandlerAndUi:()=>sd,_registerModule:()=>$o,_resetColumnState:()=>Ph,_resetMissingModuleReports:()=>n2,_resolvePivotColumnForRow:()=>Ki,_resolvePivotSort:()=>zn,_resolveSortOptions:()=>Bg,_selectAllCells:()=>wg,_setColMenuVisible:()=>Sa,_setColsVisible:()=>Mr,_setUmd:()=>Ub,_shouldUpdateColVisibilityAfterGroup:()=>Sh,_skipFocusableContainerListenerForAgGrid:()=>nb,_stopPropagationForAgGrid:()=>ke,_suppressCellMouseEvent:()=>ea,_themeAlpineParams:()=>dS,_themeBalhamParams:()=>uS,_themeMaterialParams:()=>gS,_themeQuartzParams:()=>lS,_toFiniteNumber:()=>wh,_translateForFilter:()=>ss,_unwrapUserComp:()=>ns,_updateFilterModel:()=>id,_updatePinnedSectionWidths:()=>cb,_updateRowNodeAfterSort:()=>zg,_warnForGrid:()=>ra,_warnOnce:()=>xi,_warnWithoutAttribution:()=>Ec,agTestIdFor:()=>K,buttonStyleAlpine:()=>jy,buttonStyleBalham:()=>qy,buttonStyleBase:()=>$y,buttonStyleQuartz:()=>Ky,checkboxStyleDefault:()=>ua,colorSchemeDark:()=>_6,colorSchemeDarkBlue:()=>K6,colorSchemeDarkWarm:()=>U6,colorSchemeLight:()=>G6,colorSchemeLightCold:()=>H6,colorSchemeLightWarm:()=>B6,colorSchemeVariable:()=>ha,columnDropStyleBordered:()=>sp,columnDropStylePlain:()=>ip,convertColumnGroupState:()=>f4,convertColumnState:()=>jS,createGrid:()=>Iae,createPart:()=>be,createTheme:()=>da,dispatchColumnVisibleEvent:()=>Jl,distributeGroupValue:()=>eM,enableDevValidations:()=>QH,exportMultipleSheetsAsExcel:()=>wU,forEachColDef:()=>Gh,getGridApi:()=>g4,getGridElement:()=>KS,getMultipleSheetsAsExcel:()=>qf,iconOverrides:()=>tO,iconSetAlpine:()=>Xy,iconSetBalham:()=>Zy,iconSetMaterial:()=>Qy,iconSetQuartz:()=>Gc,iconSetQuartzBold:()=>rO,iconSetQuartzLight:()=>oO,iconSetQuartzRegular:()=>sS,inputStyleBase:()=>cO,inputStyleBordered:()=>Vc,inputStyleUnderlined:()=>iS,isColumn:()=>LA,isColumnGroup:()=>ts,isColumnGroupAutoCol:()=>_n,isColumnSelectionCol:()=>Tr,isCombinedFilterModel:()=>_h,isProvidedColumnGroup:()=>_e,isRowNumberCol:()=>tt,isSpecialCol:()=>Yi,onRowHeightChanged:()=>Mc,provideGlobalGridOptions:()=>gA,resetRowHeights:()=>Tc,setupAgTestIds:()=>r9,styleMaterial:()=>hS,tabStyleAlpine:()=>nS,tabStyleBase:()=>pO,tabStyleMaterial:()=>rS,tabStyleQuartz:()=>oS,tabStyleRolodex:()=>aS,themeAlpine:()=>FO,themeBalham:()=>PO,themeMaterial:()=>DO,themeQuartz:()=>cS,wrapAgTestIdFor:()=>JH}),xu.exports=gT(Qv);var y={BACKSPACE:"Backspace",TAB:"Tab",ENTER:"Enter",ESCAPE:"Escape",SPACE:" ",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown",DELETE:"Delete",F2:"F2",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",PAGE_HOME:"Home",PAGE_END:"End",A:"KeyA",C:"KeyC",D:"KeyD",V:"KeyV",X:"KeyX",Y:"KeyY",Z:"KeyZ"},pT=65,fT=67,mT=86,vT=68,CT=90,wT=89;function Jv(e){const{keyCode:t}=e;let s;switch(t){case pT:s=y.A;break;case fT:s=y.C;break;case mT:s=y.V;break;case vT:s=y.D;break;case CT:s=y.Z;break;case wT:s=y.Y;break;default:s=e.code}return s}var Fu="36.1.0",bT=':where([class^=ag-]),:where([class^=ag-]):after,:where([class^=ag-]):before{box-sizing:border-box}:where([class^=ag-]):where(button){color:inherit}:where([class^=ag-]):where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){font-family:inherit;font-size:inherit;line-height:inherit;padding:0}:where([class^=ag-]):where(div,span,label):focus-visible{box-shadow:inset var(--ag-focus-shadow);outline:none;&:where(.invalid){box-shadow:inset var(--ag-focus-error-shadow)}}:where([class^=ag-]) ::-ms-clear{display:none}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-tab-guard{display:block;height:0;position:absolute;width:0}.ag-tab-guard-top{top:1px}.ag-tab-guard-bottom{bottom:1px}.ag-measurement-container{height:0;overflow:hidden;visibility:hidden;width:0}.ag-measurement-element-border{display:inline-block}.ag-measurement-element-border:before{border-left:var(--ag-internal-measurement-border);content:"";display:block}.ag-aria-description-container{border:0;clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;z-index:9999}.ag-popup{background-color:var(--ag-wrapper-background-color)}.ag-popup-child{max-width:min(100%,calc(100vw - 30px));top:0;z-index:5}.ag-popup-child:where(:not(.ag-tooltip-custom)){box-shadow:var(--ag-popup-shadow)}.ag-input-wrapper,.ag-picker-field-wrapper{align-items:center;display:flex;flex:1 1 auto;line-height:normal;position:relative}.ag-input-field{align-items:center;display:flex;flex-direction:row}.ag-input-field-input:where(:not([type=checkbox],[type=radio])){flex:1 1 auto;min-width:0;width:100%}.ag-styled-root{cursor:default;display:contents;line-height:normal;white-space:normal;-webkit-font-smoothing:antialiased;color:var(--ag-text-color);color-scheme:var(--ag-browser-color-scheme);font-family:var(--ag-font-family);font-size:var(--ag-font-size);font-weight:var(--ag-font-weight);--ag-indentation-level:0}:where(.ag-toolbar) .ag-react-container:where(:not(.ag-react-wrapper-block)){display:contents}:where(.ag-icon):before{align-items:center;background-color:currentcolor;color:inherit;content:"";display:flex;font-family:inherit;font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;height:var(--ag-icon-size);justify-content:center;line-height:var(--ag-icon-size);-webkit-mask-size:contain;mask-size:contain;text-transform:none;width:var(--ag-icon-size)}.ag-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;color:var(--ag-icon-color);display:block;height:var(--ag-icon-size);position:relative;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--ag-icon-size)}.ag-disabled .ag-icon,[disabled] .ag-icon{opacity:.5}.ag-icon-grip.ag-disabled,.ag-icon-grip[disabled]{opacity:.35}.ag-icon-loading{animation-duration:1s;animation-iteration-count:infinite;animation-name:spin;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-resizer{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}:where(.ag-resizer){&.ag-resizer-topLeft{cursor:nwse-resize;height:5px;left:0;top:0;width:5px}&.ag-resizer-top{cursor:ns-resize;height:5px;left:5px;right:5px;top:0}&.ag-resizer-topRight{cursor:nesw-resize;height:5px;right:0;top:0;width:5px}&.ag-resizer-right{bottom:5px;cursor:ew-resize;right:0;top:5px;width:5px}&.ag-resizer-bottomRight{bottom:0;cursor:nwse-resize;height:5px;right:0;width:5px}&.ag-resizer-bottom{bottom:0;cursor:ns-resize;height:5px;left:5px;right:5px}&.ag-resizer-bottomLeft{bottom:0;cursor:nesw-resize;height:5px;left:0;width:5px}&.ag-resizer-left{bottom:5px;cursor:ew-resize;left:0;top:5px;width:5px}}.ag-menu{background-color:var(--ag-menu-background-color);border:var(--ag-menu-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-menu-shadow);color:var(--ag-menu-text-color);max-height:100%;overflow-y:auto;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}',yT=typeof window!="object"||!window?.document?.fonts?.forEach,eC=!1,ST=!1,Eu=()=>yT&&!ST||eC,yo=(e,t,s,i,o,r,n=!1)=>{if(Eu())return;let a=e;i&&(a=`@layer ${CSS.escape(i).replaceAll("\\.",".")} { ${e} }`);let l=Hs.map.get(t);if(l||(l=[],Hs.map.set(t,l)),l.some(h=>h.injectedCss===a))return;const c=document.createElement("style");r&&c.setAttribute("nonce",r),c.dataset.agCss=s,c.dataset.agCssVersion=Fu,c.textContent=a;const d={rawCss:e,injectedCss:a,el:c,priority:o,isParams:n};let u;for(const h of l){if(h.priority>o)break;u=h}if(u){u.el.after(c);const h=l.indexOf(u);l.splice(h+1,0,d)}else t.nodeName==="STYLE"?t.after(c):t.insertBefore(c,t.querySelector(":not(title, meta)")),l.push(d)},tC=(e,t,s,i)=>{yo(bT,e,"shared",t,0,s),i?.forEach((o,r)=>o.forEach(n=>yo(n,e,r,t,0,s)))},xT=(e,t,s,i,o,r)=>{if(Eu())return;const n=Hs.grids.get(e);n?n.paramsCss=t:Hs.grids.set(e,{styleContainer:i,paramsCss:t}),Pu(i),t&&s&&yo(t,i,s,o,2,r,!0)},RT=e=>{const t=Hs.grids.get(e)?.styleContainer;if(!t)return;Hs.grids.delete(e),Array.from(Hs.grids.values()).some(i=>i.styleContainer===t)?Pu(t):(Pu(t,!0),Hs.map.delete(t))},Pu=(e,t=!1)=>{const s=new Set;for(const o of Hs.grids.values())o.styleContainer===e&&s.add(o.paramsCss);const i=Hs.map.get(e)??[];for(let o=i.length-1;o>=0;o--)(t||i[o].isParams&&!s.has(i[o].rawCss))&&(i[o].el.remove(),i.splice(o,1))},sC=()=>{const e=globalThis.agStyleInjectionVersions??(globalThis.agStyleInjectionVersions=new Map);let t=e.get(Fu);return t||(t={map:new WeakMap,grids:new Map,paramsId:0},e.set(Fu,t)),t},Hs=sC(),be=e=>new iC(e),Ai="$default",FT=0,iC=class{constructor({feature:e,params:t,modeParams:s={},css:i,cssImports:o}){this.feature=e,this.css=i,this.cssImports=o,this.modeParams={[Ai]:{...s[Ai]??{},...t??{}},...s}}use(e,t,s){let i=this._inject;if(i==null){let{css:o}=this;if(o){const r=`ag-theme-${this.feature??"part"}-${++FT}`;typeof o=="function"&&(o=o()),o=`:where(.${r}) { ${o} } `;for(const n of this.cssImports??[])o=`@import url(${JSON.stringify(n)}); ${o}`;i={css:o,class:r}}else i=!1;this._inject=i}return i&&e&&yo(i.css,e,i.class,t,1,s),i?i.class:!1}};function ET(e){return typeof e.then=="function"}function PT(e,t){return new Z(s=>{s(window.setInterval(e,t))})}var Z=class cl{constructor(t){this.status=0,this.resolution=null,this.waiters=[],t(s=>this.onDone(s),s=>this.onReject(s))}static all(t){return t.length?new cl(s=>{let i=t.length;const o=new Array(i);t.forEach((r,n)=>{r.then(a=>{o[n]=a,i--,i===0&&s(o)})})}):cl.resolve()}static resolve(t=null){return new cl(s=>s(t))}then(t){return new cl(s=>{this.status===1?s(t(this.resolution)):this.waiters.push(i=>s(t(i)))})}onDone(t){this.status=1,this.resolution=t;for(const s of this.waiters)s(t)}onReject(t){}},hi=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,s){const i=t?this.allAsyncListeners:this.allSyncListeners;let o=i.get(e);return!o&&s&&(o=new Set,i.set(e,o)),o}noRegisteredListenersExist(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0}addEventListener(e,t,s=!1){this.getListeners(e,s,!0).add(t)}removeEventListener(e,t,s=!1){const i=this.getListeners(e,s,!1);i&&(i.delete(t),i.size===0&&(s?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 s=e.type;if(t&&"event"in e){const a=e.event;a instanceof Event&&(e.eventPath=a.composedPath())}const{frameworkOverrides:i}=this,o=a=>{const l=i?()=>i.wrapIncoming(a):a;t?this.dispatchAsync(l):l()},r=this.getListeners(s,t,!1);if((r?.size??0)>0){const a=new Set(r);for(const l of a)r?.has(l)&&o(()=>l(e))}const n=this.getGlobalListeners(t);if(n.size>0){const a=new Set(n);for(const l of a)o(()=>l(s,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)},s=this.frameworkOverrides;s?s.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[];for(const t of e)t()}};function ee(e){const t=e?.length;return t?e[t-1]:void 0}function Fe(e,t,s){if(e===t)return!0;if(!e||!t)return e==null&&t==null;const i=e.length;if(i!==t.length)return!1;if(s){for(let o=0;o<i;++o){const r=e[o],n=t[o];if(r!==n&&!s(r,n))return!1}return!0}for(let o=0;o<i;++o)if(e[o]!==t[o])return!1;return!0}function oC(e,t){if(!t)return[];const s=t.length;if(e&&e!==t&&e.length===s){for(let i=0;i<s;++i)if(e[i]!==t[i])return t.slice();return e}return t.slice()}function yt(e,t){const s=e.indexOf(t);s>=0&&e.splice(s,1)}function rC(e,t){const s=e.length,i=t.length;if(!s||!i)return;let o=0;const r=new Set(t);for(let n=0;n<s;++n){const a=e[n];r.has(a)||(n!==o&&(e[o]=a),++o)}o<s&&(e.length=o)}function nC(e,t,s){const i=t.length;for(let o=0;o<i;++o)yt(e,t[o]);for(let o=i-1;o>=0;o--)e.splice(s,0,t[o])}function aC(e){return[].concat.apply([],e)}function MT(e,t){if(e===t)return[];const s=e?.length,i=t?.length;if(!s)return t?t.slice():[];if(!i)return e?e.slice():[];const o=new Set(e);for(let r=0;r<i;++r){const n=t[r];o.delete(n)||o.add(n)}return Array.from(o)}function Ii(e,t,s){const i=e.get(t);if(i===void 0){e.set(t,[s]);return}i.push(s)}function lC(e){const t=new Map;if(e)for(let s=0,i=e.length;s<i;++s)t.set(e[s],s);return t}var Ne=e=>e==null||e===""?null:e;function G(e){return e!=null&&e!==""}function Pe(e){return!G(e)}var St=e=>e!=null&&typeof e.toString=="function"?e.toString():null,gi=(e,t)=>{const s=e?JSON.stringify(e):null,i=t?JSON.stringify(t):null;return s===i},gr=(e,t,s=!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:!s||typeof e!="string"?e>t?1:e<t?-1:0:e.localeCompare(t));function $t(e){return e.eRootDiv.getRootNode()}function ie(e){return $t(e).activeElement}function xe(e){const{gos:t,eRootDiv:s}=e;let i=null;const o=t.get("getDocument");return o&&G(o)?i=o():s&&(i=s.ownerDocument),i&&G(i)?i:document}function Ps(e){const t=ie(e);return t===null||t===xe(e).body}function pr(e){return xe(e).defaultView||window}function fr(e){let t=null,s;try{t=xe(e).fullscreenElement}catch{}finally{t||(t=$t(e));const i=t.querySelector("body");i?s=i:t instanceof ShadowRoot?s=t:t instanceof Document?s=t?.documentElement:s=t}return s}function TT(e){return fr(e)?.clientWidth??(window.innerWidth||-1)}function DT(e){return fr(e)?.clientHeight??(window.innerHeight||-1)}function It(e,t,s){s==null||typeof s=="string"&&s==""?Mu(e,t):Kt(e,t,s)}function Kt(e,t,s){e.setAttribute(cC(t),s.toString())}function Mu(e,t){e.removeAttribute(cC(t))}function cC(e){return`aria-${e}`}function Ge(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function AT(e){return Number.parseInt(e.getAttribute("aria-posinset"),10)}function IT(e){return e.getAttribute("aria-label")}function we(e,t){It(e,"label",t)}function us(e,t){It(e,"labelledby",t)}function dl(e,t){It(e,"describedby",t)}function dC(e,t){It(e,"live",t)}function LT(e,t){It(e,"atomic",t)}function kT(e,t){It(e,"relevant",t)}function ul(e,t){It(e,"invalid",t)}function hl(e,t){It(e,"level",t)}function xn(e,t){It(e,"disabled",t)}function Tu(e,t){It(e,"hidden",t)}function Rn(e,t){It(e,"activedescendant",t)}function OT(e,t){Kt(e,"autocomplete",t)}function He(e,t){Kt(e,"expanded",t)}function Du(e){Mu(e,"expanded")}function gl(e,t){Kt(e,"setsize",t)}function pl(e,t){Kt(e,"posinset",t)}function GT(e,t){Kt(e,"multiselectable",t)}function VT(e,t){Kt(e,"rowcount",t)}function Fn(e,t){Kt(e,"rowindex",t)}function BT(e,t){Kt(e,"rowspan",t)}function NT(e,t){Kt(e,"colcount",t)}function Au(e,t){Kt(e,"colindex",t)}function uC(e,t){Kt(e,"colspan",t)}function HT(e,t){Kt(e,"sort",t)}function zT(e){Mu(e,"sort")}function En(e,t){It(e,"selected",t)}function hC(e,t){Kt(e,"checked",t===void 0?"mixed":t)}function Li(e,t){It(e,"controls",t)}function _T(e,t){Li(e,t.id),us(t,e.id)}function gC(e,t){It(e,"owns",t)}function fl(e,t){It(e,"haspopup",t===!1?null:t)}function ml(e,t){return t===void 0?e("ariaIndeterminate","indeterminate"):t===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}function vl(e,t,s){const i=e.parentElement;let o=i&&i.firstChild;for(;o;)t&&o.classList.toggle(t,o===e),s&&o.classList.toggle(s,o!==e),o=o.nextSibling}var WT="[tabindex], input, select, button, textarea, [href]",pC="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function Pn(e){return!e||!e.matches("input, select, button, textarea")||!e.matches(pC)?!1:ut(e)}function k(e,t,s={}){const{skipAriaHidden:i}=s;e.classList.toggle("ag-hidden",!t),i||Tu(e,!t)}function Iu(e,t,s={}){const{skipAriaHidden:i}=s;e.classList.toggle("ag-invisible",!t),i||Tu(e,!t)}function Ms(e,t){const s="disabled",i=t?r=>r.setAttribute(s,""):r=>r.removeAttribute(s);i(e);const o=e.querySelectorAll("input")??[];for(const r of o)i(r)}function So(e,t,s){let i=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof s=="number"){if(++i>s)break}else if(e===s)break}return!1}function xo(e){const{height:t,width:s,borderTopWidth:i,borderRightWidth:o,borderBottomWidth:r,borderLeftWidth:n,paddingTop:a,paddingRight:l,paddingBottom:c,paddingLeft:d,marginTop:u,marginRight:h,marginBottom:g,marginLeft:p,boxSizing:f}=window.getComputedStyle(e),m=Number.parseFloat;return{height:m(t||"0"),width:m(s||"0"),borderTopWidth:m(i||"0"),borderRightWidth:m(o||"0"),borderBottomWidth:m(r||"0"),borderLeftWidth:m(n||"0"),paddingTop:m(a||"0"),paddingRight:m(l||"0"),paddingBottom:m(c||"0"),paddingLeft:m(d||"0"),marginTop:m(u||"0"),marginRight:m(h||"0"),marginBottom:m(g||"0"),marginLeft:m(p||"0"),boxSizing:f}}function Cl(e){const t=xo(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom-t.borderTopWidth-t.borderBottomWidth:t.height}function Mn(e){const t=xo(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight-t.borderLeftWidth-t.borderRightWidth:t.width}function wl(e){const{height:t,marginBottom:s,marginTop:i}=xo(e);return Math.floor(t+s+i)}function Ro(e){const{width:t,marginLeft:s,marginRight:i}=xo(e);return Math.floor(t+s+i)}function fC(e){const t=e.getBoundingClientRect(),{borderTopWidth:s,borderLeftWidth:i,borderRightWidth:o,borderBottomWidth:r}=xo(e);return{top:t.top+(s||0),left:t.left+(i||0),right:t.right+(o||0),bottom:t.bottom+(r||0)}}function zs(e,t){let s=e.scrollLeft;return t&&(s=Math.abs(s)),s}function ki(e,t,s){s&&(t*=-1),e.scrollLeft=t}function de(e){for(;e?.firstChild;)e.firstChild.remove()}function me(e){e?.parentNode&&e.remove()}function mC(e){return!!e.offsetParent}function ut(e){return e.checkVisibility?e.checkVisibility({checkVisibilityCSS:!0}):!(!mC(e)||window.getComputedStyle(e).visibility!=="visible")}function Lu(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function vC(e,t,s){s?.nextSibling!==t&&(e.firstChild?s?s.nextSibling?e.insertBefore(t,s.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.prepend(t):e.appendChild(t))}function Fo(e,t){for(let s=0;s<t.length;s++){const i=t[s],o=e.children[s];o!==i&&e.insertBefore(i,o)}}function UT(e){return e.replace(/[A-Z]/g,t=>`-${t.toLocaleLowerCase()}`)}function Tn(e,t){if(t)for(const s of Object.keys(t)){const i=t[s];if(!s?.length||i==null)continue;const o=UT(s),r=i.toString(),n=r.replace(/\s*!important/g,""),a=n.length!=r.length?"important":void 0;e.style.setProperty(o,n,a)}}function pi(e){return()=>{const t=e();return t?bl(t)||$T(t):!0}}function bl(e){return e.clientWidth<e.scrollWidth}function $T(e){return e.clientHeight<e.scrollHeight}function yl(e,t){t==="flex"?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):_s(e,t)}function _s(e,t){t=ku(t),e.style.width=t,e.style.maxWidth=t,e.style.minWidth=t}function mr(e,t){t=ku(t),e.style.height=t,e.style.maxHeight=t,e.style.minHeight=t}function ku(e){return typeof e=="number"?`${e}px`:e}function Sl(e){return e instanceof Node||e instanceof HTMLElement}function ot(e,t,s){s==null||s===""?e.removeAttribute(t):e.setAttribute(t,s.toString())}function Ou(e,t){if(!t.isContentEditable)return;const s=pr(e).getSelection();if(!s)return;const i=xe(e).createRange();i.selectNodeContents(t),i.collapse(!1),s.removeAllRanges(),s.addRange(i)}function Ws(e,t,s){const o=pr(e).ResizeObserver,r=o?new o(s):null;return r?.observe(t),()=>r?.disconnect()}function KT(e,t,s,i){const r=pr(e).IntersectionObserver,n=r?new r(a=>{s(ee(a))},i):null;return n?.observe(t),()=>n?.disconnect()}function ht(e,t){const s=pr(e);s.requestAnimationFrame?s.requestAnimationFrame(t):s.webkitRequestAnimationFrame?s.webkitRequestAnimationFrame(t):s.setTimeout(t,0)}var CC="data-ref",Gu;function wC(){return Gu??(Gu=document.createTextNode(" ")),Gu.cloneNode()}function Ze(e){const{attrs:t,children:s,cls:i,ref:o,role:r,tag:n}=e,a=document.createElement(n);if(i&&(a.className=i),o&&a.setAttribute(CC,o),r&&a.setAttribute("role",r),t)for(const l of Object.keys(t))a.setAttribute(l,t[l]);if(s)if(typeof s=="string")a.textContent=s;else{let l=!0;for(const c of s)c&&(typeof c=="string"?(a.appendChild(document.createTextNode(c)),l=!1):typeof c=="function"?a.appendChild(c()):(l&&(a.appendChild(wC()),l=!1),a.append(Ze(c)),a.appendChild(wC())))}return a}var jT=["touchstart","touchend","touchmove","touchcancel","scroll"],qT=["wheel"],Vu={},xl=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return s=>{if(typeof Vu[s]=="boolean")return Vu[s];const i=document.createElement(e[s]||"div");return s="on"+s,Vu[s]=s in i}})();function Rl(e,t){return!t||!e?!1:ZT(t).indexOf(e)>=0}function YT(e){const t=[];let s=e.target;for(;s;)t.push(s),s=s.parentElement;return t}function ZT(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():YT(t)}function XT(e,t,s){const i=QT(t);let o;i!=null&&(o={passive:i}),e.addEventListener(t,s,o)}var QT=e=>{const t=jT.includes(e),s=qT.includes(e);if(t)return!0;if(s)return!1};function bC(e,t,s){if(s===0)return!1;const i=Math.abs(e.clientX-t.clientX),o=Math.abs(e.clientY-t.clientY);return Math.max(i,o)<=s}var vr=(e,t)=>{const s=e.identifier;for(let i=0,o=t.length;i<o;++i){const r=t[i];if(r.identifier===s)return r}return null};function Fl(e,t){return e.gos.isElementInThisInstance(t.target)}function Bu(e,t,s){const o=e.getBoundingClientRect().height,r=TT(s)-2,n=DT(s)-2;if(!e.offsetParent)return;const l=fC(e.offsetParent),{clientY:c,clientX:d}=t;let u=c-l.top-o/2,h=d-l.left-10;const g=xe(s),p=g.defaultView||window,f=p.pageYOffset||g.documentElement.scrollTop,m=p.pageXOffset||g.documentElement.scrollLeft;r>0&&h+e.clientWidth>r+m&&(h=r+m-e.clientWidth),h<0&&(h=0),n>0&&u+e.clientHeight>n+f&&(u=n+f-e.clientHeight),u<0&&(u=0),e.style.left=`${h}px`,e.style.top=`${u}px`}var El=(e,...t)=>{for(const s of t){const[i,o,r,n]=s;i.addEventListener(o,r,n),e.push(s)}},Nu=e=>{if(e){for(const[t,s,i,o]of e)t.removeEventListener(s,i,o);e.length=0}},Oi=e=>{e.cancelable&&e.preventDefault()};function JT(e,t){return t}function Hu(e){return e?.getLocaleTextFunc()??JT}function zu(e,t,s,i){const o=t[s];return e.getLocaleTextFunc()(s,typeof o=="function"?o(i):o,i)}function eD(e){return(t,s,i)=>e({key:t,defaultValue:s,variableValues:i})}function tD(e){return(t,s,i)=>{let o=e?.[t];if(o&&i?.length){let r=0;for(;!(r>=i.length||o.indexOf("${variable}")===-1);)o=o.replace("${variable}",i[r++])}return o??s}}var sD={type:"destroyed"},Xe=class{constructor(){this.beans=null,this.gos=null,this.eventSvc=null,this.destroyed=!1,this.localEventService=null,this.stubContext=null,this.destroyFunctions=null,this.propertyListenerId=0,this.lastChangeSetIdLookup=null}preWireBeans(e){this.beans=e,this.gos=e.gos,this.eventSvc=e.eventSvc,this.stubContext=e.context}destroy(){const e=this.destroyFunctions;if(e){for(let t=0;t<e.length;t++)e[t]();e.length=0}this.destroyed=!0,this.dispatchLocalEvent(sD)}addEventListener(e,t,s){let i=this.localEventService;i||(i=new hi,this.localEventService=i),i.addEventListener(e,t,s)}removeEventListener(e,t,s){this.localEventService?.removeEventListener(e,t,s)}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 s=[],i=Object.keys(t);for(let o=0,r=i.length;o<r;++o){const n=i[o],a=t[n];a&&s.push(this._setupListener(e,n,a))}return s}_setupListener(e,t,s){if(this.destroyed)return()=>null;let i;if(iD(e))e.__addEventListener(t,s),i=()=>(e.__removeEventListener(t,s),null);else{const o=oD(e);e instanceof HTMLElement?XT(e,t,s):o?e.addListener(t,s):e.addEventListener(t,s),i=o?()=>(e.removeListener(t,s),null):()=>(e.removeEventListener(t,s),null)}return this.registerDestroyFunc(i)}setupPropertyListener(e,t){const{gos:s}=this;s.addPropertyEventListener(e,t);const i=()=>(s.removePropertyEventListener(e,t),null);return this.registerDestroyFunc(i)}addManagedPropertyListener(e,t){return this.destroyed?()=>null:this.setupPropertyListener(e,t)}addManagedPropertyListeners(e,t){if(this.destroyed)return;const s=e.join("-")+this.propertyListenerId++,i=o=>{const r=o.changeSet;if(r){let a=this.lastChangeSetIdLookup;if(a||(a={},this.lastChangeSetIdLookup=a),r.id===a[s])return;a[s]=r.id}const n={type:"propertyChanged",changeSet:r,source:o.source};t(n)};for(let o=0,r=e.length;o<r;++o)this.setupPropertyListener(e[o],i)}isAlive(){return!this.destroyed}getLocaleTextFunc(){return Hu(this.beans.localeSvc)}pushDestroyFunc(e){const t=this.destroyFunctions;t?t.push(e):this.destroyFunctions=[e]}registerDestroyFunc(e){return this.pushDestroyFunc(e),()=>{e();const t=this.destroyFunctions;return t&&yt(t,e),null}}addDestroyFunc(e){this.destroyed?e():this.pushDestroyFunc(e)}createOptionalManagedBean(e,t){return e?this.createManagedBean(e,t):void 0}createManagedBean(e,t){const s=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),s}createBean(e,t,s){return(t||this.stubContext).createBean(e,s)}destroyBean(e,t){return(t||this.stubContext).destroyBean(e)}destroyBeans(e,t){return(t||this.stubContext).destroyBeans(e)}};Xe.prototype.__v_skip=!0;function iD(e){return e.__addEventListener!==void 0}function oD(e){return e.eventServiceType==="global"}var R=null;function Cr(e){return typeof e?.getGui=="function"}var yC=class{constructor(e){this.cssClassStates={},this.getGui=e}toggleCss(e,t){if(!e)return;if(e.includes(" ")){const i=(e||"").split(" ");if(i.length>1){for(const o of i)this.toggleCss(o,t);return}}this.cssClassStates[e]!==t&&e.length&&(this.getGui()?.classList.toggle(e,t),this.cssClassStates[e]=t)}},rD=0,jt=class extends Xe{constructor(e,t){super(),this.suppressDataRefValidation=!1,this.displayed=!0,this.visible=!0,this.compId=rD++,this.cssManager=new yC(()=>this.eGui),this.componentSelectors=new Map((t??[]).map(s=>[s.selector,s])),e&&this.setTemplate(e)}preConstruct(){this.wireTemplate(this.getGui()),this.addGlobalCss()}wireTemplate(e,t){e&&this.gos&&(this.applyElementsToComponent(e),this.createChildComponentsFromTags(e,t))}getCompId(){return this.compId}getDataRefAttribute(e){return e.getAttribute?e.getAttribute(CC):null}applyElementsToComponent(e,t,s,i=null){if(t===void 0&&(t=this.getDataRefAttribute(e)),t){const o=this[t];if(o===R)this[t]=i??e;else{const r=s?.[t];if(!this.suppressDataRefValidation&&!r)throw new Error(`data-ref: ${t} on ${this.constructor.name} with ${o}`)}}}createChildComponentsFromTags(e,t){const s=[];for(const i of e.childNodes??[])s.push(i);for(const i of s){if(!(i instanceof HTMLElement))continue;const o=this.createComponentFromElement(i,r=>{const n=r.getGui();if(n)for(const a of i.attributes??[])n.setAttribute(a.name,a.value)},t);if(o){if(o.addItems&&i.children.length){this.createChildComponentsFromTags(i,t);const r=Array.prototype.slice.call(i.children);o.addItems(r)}this.swapComponentForNode(o,e,i)}else i.childNodes&&this.createChildComponentsFromTags(i,t)}}createComponentFromElement(e,t,s){const i=e.nodeName,o=this.getDataRefAttribute(e),r=i.indexOf("AG-")===0,n=r?this.componentSelectors.get(i):null;let a=null;if(n){const l=s&&o?s[o]:void 0;a=new n.component(l),a.setParentComponent(this),this.createBean(a,null,t)}else if(r)throw new Error(`selector: ${i}`);return this.applyElementsToComponent(e,o,s,a),a}swapComponentForNode(e,t,s){const i=e.getGui();t.replaceChild(i,s),t.insertBefore(document.createComment(s.nodeName),i),this.addDestroyFunc(this.destroyBean.bind(this,e))}activateTabIndex(e,t){const s=t??this.gos.get("tabIndex");e||(e=[]),e.length||e.push(this.getGui());for(const i of e)i.setAttribute("tabindex",s.toString())}setTemplate(e,t,s){let i;typeof e=="string"||e==null?i=Lu(e):i=Ze(e),this.setTemplateFromElement(i,t,s)}setTemplateFromElement(e,t,s,i=!1){if(this.eGui=e,this.suppressDataRefValidation=i,t)for(let o=0;o<t.length;o++){const r=t[o];this.componentSelectors.set(r.selector,r)}this.wireTemplate(e,s)}getGui(){return this.eGui}getFocusableElement(){return this.eGui}getAriaElement(){return this.getFocusableElement()}setParentComponent(e){this.parentComponent=e}getParentComponent(){return this.parentComponent}setGui(e){this.eGui=e}queryForHtmlElement(e){return this.eGui.querySelector(e)}getContainerAndElement(e,t){let s=t;return e==null?null:(s||(s=this.eGui),Sl(e)?{element:e,parent:s}:{element:e.getGui(),parent:s})}prependChild(e,t){const{element:s,parent:i}=this.getContainerAndElement(e,t)||{};!s||!i||i.prepend(s)}appendChild(e,t){const{element:s,parent:i}=this.getContainerAndElement(e,t)||{};!s||!i||i.appendChild(s)}isDisplayed(){return this.displayed}setVisible(e,t={}){if(e!==this.visible){this.visible=e;const{skipAriaHidden:s}=t;Iu(this.eGui,e,{skipAriaHidden:s})}}setDisplayed(e,t={}){if(e!==this.displayed){this.displayed=e;const{skipAriaHidden:s}=t;k(this.eGui,e,{skipAriaHidden:s});const i={type:"displayChanged",visible:this.displayed};this.dispatchLocalEvent(i)}}destroy(){this.parentComponent&&(this.parentComponent=void 0),super.destroy()}addGuiEventListener(e,t,s){this.eGui.addEventListener(e,t,s),this.addDestroyFunc(()=>this.eGui.removeEventListener(e,t))}addCss(e){this.cssManager.toggleCss(e,!0)}removeCss(e){this.cssManager.toggleCss(e,!1)}toggleCss(e,t){this.cssManager.toggleCss(e,t)}registerCSS(e){this.css===SC?(this.css=[e],this.addGlobalCss()):(this.css||(this.css=[]),this.css.push(e))}addGlobalCss(){if(Array.isArray(this.css)){const e="component-"+Object.getPrototypeOf(this)?.constructor?.name;for(const t of this.css??[])this.beans.environment.addGlobalCSS(t,e)}this.css=SC}},SC=Symbol(),nD=1,aD=class{constructor(e){this.beans={},this.createdBeans=[],this.destroyed=!1,this.instanceId=nD++,e?.beanClasses&&(this.beanDestroyComparator=e.beanDestroyComparator,this.init(e))}init(e){this.id=e.id,this.beans.context=this,this.destroyCallback=e.destroyCallback;for(const t of Object.keys(e.providedBeanInstances))this.beans[t]=e.providedBeanInstances[t];for(const t of e.beanClasses){const s=new t;s.beanName?this.beans[s.beanName]=s:console.error(`Bean ${t.name} is missing beanName`),this.createdBeans.push(s)}for(const t of e.derivedBeans??[]){const{beanName:s,bean:i}=t(this);this.beans[s]=i,this.createdBeans.push(i)}e.beanInitComparator&&this.createdBeans.sort(e.beanInitComparator),this.initBeans(this.createdBeans)}getBeanInstances(){return Object.values(this.beans)}createBean(e,t){return this.initBeans([e],t),e}initBeans(e,t){const s=this.beans;for(const i of e)i.preWireBeans?.(s),i.wireBeans?.(s);for(const i of e)i.preConstruct?.();t&&e.forEach(t);for(const i of e)i.postConstruct?.()}getBeans(){return this.beans}getBean(e){return this.beans[e]}getId(){return this.id}destroy(){if(this.destroyed)return;this.destroyed=!0;const e=this.getBeanInstances();this.beanDestroyComparator&&e.sort(this.beanDestroyComparator),this.destroyBeans(e),this.beans={},this.createdBeans=[],this.destroyCallback?.()}destroyBean(e){e?.destroy?.()}destroyBeans(e){if(e)for(let t=0;t<e.length;t++)this.destroyBean(e[t]);return[]}isDestroyed(){return this.destroyed}},_u=new Set,Dn=(e,t)=>{_u.has(t)||(_u.add(t),e())};Dn._set=_u;var lD={pending:!1,funcs:[]},cD={pending:!1,funcs:[]};function Pl(e,t="setTimeout",s){const i=t==="raf"?cD:lD;if(i.funcs.push(e),i.pending)return;i.pending=!0;const o=()=>{const r=i.funcs.slice();i.funcs.length=0,i.pending=!1;for(const n of r)n()};t==="raf"?ht(s,o):window.setTimeout(o,0)}function ye(e,t,s){let i;return function(...o){const r=this;return window.clearTimeout(i),i=window.setTimeout(function(){e.isAlive()&&t.apply(r,o)},s),i}}function xC(e,t){let s=0;return function(...i){const o=this,r=Date.now();r-s<t||(s=r,e.apply(o,i))}}function RC(e,t,s,i=100){const o=Date.now();let r=null,n=!1;const a=()=>{r!=null&&(window.clearInterval(r),r=null)};e.addDestroyFunc(a);const l=()=>{const c=Date.now()-o>i;(t()||c)&&(s(),n=!0,a())};l(),n||(r=window.setInterval(l,10))}var dD=class extends Xe{constructor(){super(),this.beanName="ariaAnnounce",this.descriptionContainer=null,this.pendingAnnouncements=new Map,this.lastAnnouncement="",this.updateAnnouncement=ye(this,this.updateAnnouncement.bind(this),200)}setDescriptionContainer(e){this.descriptionContainer=e,dC(e,"polite"),kT(e,"additions text"),LT(e,!0),this.updateAnnouncement()}announceValue(e,t){this.pendingAnnouncements.set(t,e),this.updateAnnouncement()}updateAnnouncement(){if(!this.descriptionContainer)return;const e=Array.from(this.pendingAnnouncements.values()).join(". ");this.pendingAnnouncements.clear(),this.descriptionContainer.textContent="",setTimeout(()=>{this.handleAnnouncementUpdate(e)},50)}handleAnnouncementUpdate(e){if(!this.isAlive()||!this.descriptionContainer)return;let t=e;if(t==null||t.replace(/[ .]/g,"")==""){this.lastAnnouncement="";return}this.lastAnnouncement===t&&(t=`${t}\u200B`),this.lastAnnouncement=t,this.descriptionContainer.textContent=t}destroy(){super.destroy(),this.descriptionContainer=null,this.pendingAnnouncements.clear()}};function Wu(e,t){const[s,i]=FC();i.appendChild(t);const o=EC(e,i);return[s,o]}function Ml(e,t,s){const[i,o]=Wu(e,s);return t.appendChild(i),()=>{o(),i.remove()}}function FC(){const e={tag:"div",cls:"ag-styled-root"},t=Ze({...e,children:[{...e,children:[e]}]});return[t,t.firstElementChild.firstElementChild]}function EC(e,t,s,i){const o=t.parentElement,r=o.parentElement,n=()=>{const[a,l,c]=e.getStyledRootClasses(i);r.className=["ag-styled-root",a].join(" "),o.className=["ag-styled-root",l].join(" "),t.className=["ag-styled-root",c].join(" "),s?.()};return n(),e.onThemeChanged(n)}var uD=class extends Xe{constructor(){super(...arguments),this.beanName="dragAndDrop",this.dragSourceAndParamsList=[],this.dragItem=null,this.dragInitialSourcePointerOffsetX=0,this.dragInitialSourcePointerOffsetY=0,this.lastMouseEvent=null,this.lastDraggingEvent=null,this.dragSource=null,this.dragImageCompPromise=null,this.dragImageComp=null,this.disconnect=null,this.dragImageLastIcon=void 0,this.dragImageLastLabel=void 0,this.dropTargets=[],this.externalDropZoneCount=0,this.lastDropTarget=null}addDragSource(e,t=!1){const s={capturePointer:!0,dragSource:e,eElement:e.eElement,dragStartPixels:e.dragStartPixels,onDragStart:i=>this.onDragStart(e,i),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this),onDragCancel:this.onDragCancel.bind(this),includeTouch:t};this.dragSourceAndParamsList.push(s),this.beans.dragSvc.addDragSource(s)}setDragImageCompIcon(e,t=!1){const s=this.dragImageComp;s&&(t||this.dragImageLastIcon!==e)&&(this.dragImageLastIcon=e,s.setIcon(e,t))}removeDragSource(e){const{dragSourceAndParamsList:t,beans:s}=this;for(let i=0,o=t.length;i<o;i++)if(t[i].dragSource===e){const r=t[i];s.dragSvc?.removeDragSource(r),t.splice(i,1);break}}destroy(){const{dragSourceAndParamsList:e,dropTargets:t,beans:s}=this,i=s.dragSvc;for(const o of e)i?.removeDragSource(o);e.length=0,t.length=0,this.externalDropZoneCount=0,this.clearDragAndDropProperties(),super.destroy()}nudge(){const e=this.lastMouseEvent;e&&this.onDragging(e,!0)}onDragStart(e,t){this.lastMouseEvent=t,this.dragSource=e,this.dragItem=e.getDragItem();const s=e.eElement.getBoundingClientRect();this.dragInitialSourcePointerOffsetX=t.clientX-s.left,this.dragInitialSourcePointerOffsetY=t.clientY-s.top,e.onDragStarted?.(),this.createAndUpdateDragImageComp(e)}onDragStop(e){const{dragSource:t,lastDropTarget:s}=this;if(t?.onDragStopped?.(),s){const i=this.dropTargetEvent(s,e,!1);s.onDragStop?.(i)}this.clearDragAndDropProperties()}onDragCancel(){const{dragSource:e,lastDropTarget:t,lastMouseEvent:s}=this;if(e?.onDragCancelled?.(),t&&s){const i=this.dropTargetEvent(t,s,!1);t.onDragCancel?.(i)}this.clearDragAndDropProperties()}onDragging(e,t=!1){this.positionDragImageComp(e);const s=this.findCurrentDropTarget(e),{lastDropTarget:i,dragSource:o,dragItem:r}=this;let n=!1;if(s!==i){if(n=!0,i){const a=this.dropTargetEvent(i,e,t);i.onDragLeave?.(a)}if(i!==null&&!s?this.handleExit(o,r):i===null&&s&&this.handleEnter(o,r),s){const a=this.dropTargetEvent(s,e,t);s.onDragEnter?.(a)}this.lastDropTarget=s}else if(s){const a=this.dropTargetEvent(s,e,t);s.onDragging?.(a),a?.changed&&(n=!0)}this.lastMouseEvent=e,n&&this.updateDragImageComp()}clearDragAndDropProperties(){this.removeDragImageComp(this.dragImageComp),this.dragImageCompPromise=null,this.dragImageLastIcon=void 0,this.dragImageLastLabel=void 0,this.lastMouseEvent=null,this.lastDraggingEvent=null,this.lastDropTarget=null,this.dragItem=null,this.dragInitialSourcePointerOffsetX=0,this.dragInitialSourcePointerOffsetY=0,this.dragSource=null}getAllContainersFromDropTarget(e){const t=e.getContainer(),s=e.getSecondaryContainers?.(),i=s?.length;if(!i)return[[t]];const o=new Array(i+1);o[0]=[t];for(let r=0;r<i;++r)o[r+1]=s[r];return o}isMouseOnDropTarget(e,t){const s=this.getAllContainersFromDropTarget(t);let i=!1;const o=(a,l)=>{for(const c of l){const{width:d,height:u,left:h,right:g,top:p,bottom:f}=c.getBoundingClientRect();if(d===0||u===0)return!1;const m=a.clientX>=h&&a.clientX<g,v=a.clientY>=p&&a.clientY<f;if(!m||!v)return!1}return!0};for(const a of s)if(o(e,a)){i=!0;break}const{eElement:r,type:n}=this.dragSource;return t.targetContainsSource&&!t.getContainer().contains(r)?!1:i&&t.isInterestedIn(n,r)}findCurrentDropTarget(e){const t=[],s=this.dropTargets;for(let n=0,a=s.length;n<a;++n){const l=s[n];this.isMouseOnDropTarget(e,l)&&t.push(l)}const i=t.length;if(i===0)return null;if(i===1)return t[0];const r=$t(this.beans).elementsFromPoint(e.clientX,e.clientY);for(let n=0,a=r.length;n<a;++n){const l=r[n];for(let c=0,d=t.length;c<d;c++){const u=t[c],h=this.getAllContainersFromDropTarget(u);let g=!1;for(let p=0,f=h.length;p<f&&!g;p++){const m=h[p];for(let v=0,C=m.length;v<C;v++)if(m[v]===l){g=!0;break}}if(g)return u}}return null}addDropTarget(e){this.dropTargets.push(e),e.external&&this.externalDropZoneCount++}removeDropTarget(e){const t=e.getContainer(),s=this.dropTargets;let i=0;for(let o=0,r=s.length;o<r;++o){const n=s[o];if(n.getContainer()===t){n.external&&--this.externalDropZoneCount;continue}i!==o&&(s[i]=n),++i}s.length=i}hasExternalDropZones(){return this.externalDropZoneCount>0}findExternalZone(e){const t=this.dropTargets;for(let s=0,i=t.length;s<i;++s){const o=t[s];if(o.external&&o.getContainer()===e)return o}return null}dropTargetEvent(e,t,s){const{dragSource:i,dragItem:o,lastDraggingEvent:r,lastMouseEvent:n,dragInitialSourcePointerOffsetX:a,dragInitialSourcePointerOffsetY:l}=this,c=e.getContainer(),d=c.getBoundingClientRect(),{clientX:u,clientY:h}=t,g=u-(n?.clientX||0),p=h-(n?.clientY||0),f=this.createEvent({event:t,x:u-d.left,y:h-d.top,vDirection:p>0?"down":p<0?"up":null,hDirection:g<0?"left":g>0?"right":null,initialSourcePointerOffsetX:a,initialSourcePointerOffsetY:l,dragSource:i,fromNudge:s,dragItem:o,dropZoneTarget:c,dropTarget:r?.dropTarget??null,changed:!!r?.changed});return this.lastDraggingEvent=f,f}positionDragImageComp(e){const t=this.dragImageComp?.getGui();t&&Bu(t,e,this.beans)}removeDragImageComp(e){this.dragImageComp===e&&(this.dragImageComp=null),e&&(this.disconnect?.(),this.disconnect=null,this.destroyBean(e))}createAndUpdateDragImageComp(e){const t=this.createDragImageComp(e)??null;this.dragImageCompPromise=t,t?.then(s=>{const i=this.las