8 lines
1.7 MiB
Executable File
8 lines
1.7 MiB
Executable File
/**
|
||
* @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
|
||
* @version v31.1.0
|
||
* @link https://www.ag-grid.com/
|
||
* @license MIT
|
||
*/
|
||
// @ag-grid-community/all-modules v31.1.0
|
||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.agGrid=t():e.agGrid=t()}(window,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,a),o.l=!0,o.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(r,o,function(t){return e[t]}.bind(null,o));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=6)}([function(e,t,a){"use strict";a.r(t),a.d(t,"ColumnFactory",(function(){return it})),a.d(t,"ColumnModel",(function(){return kt})),a.d(t,"ColumnKeyCreator",(function(){return M})),a.d(t,"ColumnUtils",(function(){return At})),a.d(t,"DisplayedGroupCreator",(function(){return Ot})),a.d(t,"GroupInstanceIdCreator",(function(){return gt})),a.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return ct})),a.d(t,"ComponentUtil",(function(){return Nt})),a.d(t,"AgStackComponentsRegistry",(function(){return Ut})),a.d(t,"UserComponentRegistry",(function(){return un})),a.d(t,"UserComponentFactory",(function(){return Pn})),a.d(t,"ColDefUtil",(function(){return Ln})),a.d(t,"BeanStub",(function(){return at})),a.d(t,"Context",(function(){return ie})),a.d(t,"Autowired",(function(){return de})),a.d(t,"PostConstruct",(function(){return le})),a.d(t,"PreConstruct",(function(){return ne})),a.d(t,"Optional",(function(){return ce})),a.d(t,"Bean",(function(){return ge})),a.d(t,"Qualifier",(function(){return pe})),a.d(t,"PreDestroy",(function(){return se})),a.d(t,"QuerySelector",(function(){return po})),a.d(t,"RefSelector",(function(){return ho})),a.d(t,"ExcelFactoryMode",(function(){return Nn})),a.d(t,"DragAndDropService",(function(){return Ii})),a.d(t,"DragSourceType",(function(){return Ni})),a.d(t,"DragService",(function(){return In})),a.d(t,"VirtualListDragFeature",(function(){return _n})),a.d(t,"Column",(function(){return Ee})),a.d(t,"ColumnGroup",(function(){return lt})),a.d(t,"ProvidedColumnGroup",(function(){return xe})),a.d(t,"RowNode",(function(){return Ai})),a.d(t,"RowHighlightPosition",(function(){return Bn})),a.d(t,"FilterManager",(function(){return Jn})),a.d(t,"ProvidedFilter",(function(){return ko})),a.d(t,"SimpleFilter",(function(){return Ho})),a.d(t,"ScalarFilter",(function(){return _o})),a.d(t,"NumberFilter",(function(){return ei})),a.d(t,"TextFilter",(function(){return ai})),a.d(t,"DateFilter",(function(){return Wo})),a.d(t,"TextFloatingFilter",(function(){return si})),a.d(t,"HeaderFilterCellComp",(function(){return $n})),a.d(t,"FloatingFilterMapper",(function(){return On})),a.d(t,"GridBodyComp",(function(){return $l})),a.d(t,"GridBodyCtrl",(function(){return cl})),a.d(t,"RowAnimationCssClasses",(function(){return gl})),a.d(t,"ScrollVisibleService",(function(){return ts})),a.d(t,"MouseEventService",(function(){return os})),a.d(t,"NavigationService",(function(){return ns})),a.d(t,"RowContainerComp",(function(){return us})),a.d(t,"RowContainerName",(function(){return Wl})),a.d(t,"RowContainerCtrl",(function(){return Jl})),a.d(t,"RowContainerType",(function(){return Ul})),a.d(t,"getRowContainerTypeForName",(function(){return Kl})),a.d(t,"BodyDropPivotTarget",(function(){return hs})),a.d(t,"BodyDropTarget",(function(){return bs})),a.d(t,"CssClassApplier",(function(){return Rl})),a.d(t,"HeaderRowContainerComp",(function(){return Xs})),a.d(t,"GridHeaderComp",(function(){return og})),a.d(t,"GridHeaderCtrl",(function(){return ag})),a.d(t,"HeaderRowComp",(function(){return ks})),a.d(t,"HeaderRowType",(function(){return Rs})),a.d(t,"HeaderRowCtrl",(function(){return Ks})),a.d(t,"HeaderCellCtrl",(function(){return Vs})),a.d(t,"SortIndicatorComp",(function(){return ci})),a.d(t,"HeaderFilterCellCtrl",(function(){return Ls})),a.d(t,"HeaderGroupCellCtrl",(function(){return Ws})),a.d(t,"AbstractHeaderCellCtrl",(function(){return As})),a.d(t,"HeaderRowContainerCtrl",(function(){return Qs})),a.d(t,"HorizontalResizeService",(function(){return ng})),a.d(t,"MoveColumnFeature",(function(){return fs})),a.d(t,"StandardMenuFactory",(function(){return sg})),a.d(t,"TabbedLayout",(function(){return hg})),a.d(t,"ResizeObserverService",(function(){return vg})),a.d(t,"AnimationFrameService",(function(){return wg})),a.d(t,"ExpansionService",(function(){return yg})),a.d(t,"MenuService",(function(){return Eg})),a.d(t,"LargeTextCellEditor",(function(){return wi})),a.d(t,"PopupEditorWrapper",(function(){return ss})),a.d(t,"SelectCellEditor",(function(){return Ci})),a.d(t,"TextCellEditor",(function(){return Ri})),a.d(t,"NumberCellEditor",(function(){return $i})),a.d(t,"DateCellEditor",(function(){return tn})),a.d(t,"DateStringCellEditor",(function(){return on})),a.d(t,"CheckboxCellEditor",(function(){return gn})),a.d(t,"Beans",(function(){return bl})),a.d(t,"AnimateShowChangeCellRenderer",(function(){return ki})),a.d(t,"AnimateSlideCellRenderer",(function(){return Ti})),a.d(t,"GroupCellRenderer",(function(){return ji})),a.d(t,"GroupCellRendererCtrl",(function(){return Wi})),a.d(t,"SetLeftFeature",(function(){return Os})),a.d(t,"PositionableFeature",(function(){return Ro})),a.d(t,"AutoWidthCalculator",(function(){return xg})),a.d(t,"CheckboxSelectionComponent",(function(){return Pi})),a.d(t,"CellComp",(function(){return gs})),a.d(t,"CellCtrl",(function(){return kl})),a.d(t,"RowCtrl",(function(){return Al})),a.d(t,"RowRenderer",(function(){return Ag})),a.d(t,"ValueFormatterService",(function(){return Mg})),a.d(t,"CssClassManager",(function(){return so})),a.d(t,"CheckboxCellRenderer",(function(){return ln})),a.d(t,"PinnedRowModel",(function(){return Lg})),a.d(t,"ServerSideTransactionResultStatus",(function(){return Ng})),a.d(t,"ChangedPath",(function(){return Fg})),a.d(t,"RowNodeBlock",(function(){return Ig})),a.d(t,"RowNodeBlockLoader",(function(){return _g})),a.d(t,"PaginationProxy",(function(){return qg})),a.d(t,"ClientSideRowModelSteps",(function(){return bg})),a.d(t,"StylingService",(function(){return Ug})),a.d(t,"LayoutCssClasses",(function(){return el})),a.d(t,"AgAbstractField",(function(){return Ao})),a.d(t,"AgCheckbox",(function(){return Io})),a.d(t,"AgRadioButton",(function(){return Go})),a.d(t,"AgToggleButton",(function(){return jg})),a.d(t,"AgInputTextField",(function(){return Jo})),a.d(t,"AgInputTextArea",(function(){return Kg})),a.d(t,"AgInputNumberField",(function(){return Xo})),a.d(t,"AgInputDateField",(function(){return Yg})),a.d(t,"AgInputRange",(function(){return Qg})),a.d(t,"AgRichSelect",(function(){return td})),a.d(t,"AgSelect",(function(){return Lo})),a.d(t,"AgSlider",(function(){return rd})),a.d(t,"AgGroupComponent",(function(){return id})),a.d(t,"AgMenuItemRenderer",(function(){return dn})),a.d(t,"AgMenuItemComponent",(function(){return cd})),a.d(t,"AgMenuList",(function(){return ld})),a.d(t,"AgMenuPanel",(function(){return gd})),a.d(t,"AgDialog",(function(){return md})),a.d(t,"AgPanel",(function(){return pd})),a.d(t,"Component",(function(){return uo})),a.d(t,"ManagedFocusFeature",(function(){return So})),a.d(t,"TabGuardComp",(function(){return ug})),a.d(t,"TabGuardCtrl",(function(){return cg})),a.d(t,"TabGuardClassNames",(function(){return gg})),a.d(t,"PopupComponent",(function(){return vi})),a.d(t,"PopupService",(function(){return Cd})),a.d(t,"TouchListener",(function(){return gi})),a.d(t,"VirtualList",(function(){return $g})),a.d(t,"AgAbstractLabel",(function(){return To})),a.d(t,"AgPickerField",(function(){return Oo})),a.d(t,"AgAutocomplete",(function(){return xd})),a.d(t,"CellRangeType",(function(){return pl})),a.d(t,"SelectionHandleType",(function(){return ul})),a.d(t,"AutoScrollService",(function(){return Gn})),a.d(t,"VanillaFrameworkOverrides",(function(){return zd})),a.d(t,"CellNavigationService",(function(){return Ad})),a.d(t,"AlignedGridsService",(function(){return Md})),a.d(t,"KeyCode",(function(){return Wr})),a.d(t,"VerticalDirection",(function(){return Di})),a.d(t,"HorizontalDirection",(function(){return Oi})),a.d(t,"Grid",(function(){return _u})),a.d(t,"GridCoreCreator",(function(){return qu})),a.d(t,"createGrid",(function(){return Hu})),a.d(t,"GridApi",(function(){return Un})),a.d(t,"Events",(function(){return st})),a.d(t,"FocusService",(function(){return rc})),a.d(t,"GridOptionsService",(function(){return mu})),a.d(t,"EventService",(function(){return fe})),a.d(t,"SelectableService",(function(){return kc})),a.d(t,"RowNodeSorter",(function(){return Kc})),a.d(t,"CtrlsService",(function(){return Jc})),a.d(t,"GridComp",(function(){return Xd})),a.d(t,"GridCtrl",(function(){return Qd})),a.d(t,"Logger",(function(){return Kd})),a.d(t,"LoggerFactory",(function(){return jd})),a.d(t,"SortController",(function(){return ec})),a.d(t,"TemplateService",(function(){return qd})),a.d(t,"LocaleService",(function(){return fu})),a.d(t,"_",(function(){return $r})),a.d(t,"NumberSequence",(function(){return eo})),a.d(t,"AgPromiseStatus",(function(){return to})),a.d(t,"AgPromise",(function(){return ao})),a.d(t,"Timer",(function(){return ro})),a.d(t,"ValueService",(function(){return Gd})),a.d(t,"ValueCache",(function(){return cc})),a.d(t,"ExpressionService",(function(){return _d})),a.d(t,"ValueParserService",(function(){return xu})),a.d(t,"CellPositionUtils",(function(){return Lc})),a.d(t,"RowPositionUtils",(function(){return Mc})),a.d(t,"HeaderPositionUtils",(function(){return _c})),a.d(t,"HeaderNavigationService",(function(){return eg})),a.d(t,"HeaderNavigationDirection",(function(){return Zs})),a.d(t,"DataTypeService",(function(){return Eu})),a.d(t,"PropertyKeys",(function(){return Pt})),a.d(t,"ColumnApi",(function(){return Fd})),a.d(t,"BaseComponentWrapper",(function(){return Wu})),a.d(t,"Environment",(function(){return yc})),a.d(t,"TooltipFeature",(function(){return fl})),a.d(t,"CustomTooltipFeature",(function(){return lo})),a.d(t,"DEFAULT_CHART_GROUPS",(function(){return Uu})),a.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return ju})),a.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return Ku})),a.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return Yu})),a.d(t,"__FORCE_MODULE_DETECTION",(function(){return Qu})),a.d(t,"BarColumnLabelPlacement",(function(){return Ju})),a.d(t,"ModuleNames",(function(){return re})),a.d(t,"ModuleRegistry",(function(){return oe}));var r={};a.r(r),a.d(r,"makeNull",(function(){return y})),a.d(r,"exists",(function(){return S})),a.d(r,"missing",(function(){return E})),a.d(r,"missingOrEmpty",(function(){return R})),a.d(r,"toStringOrNull",(function(){return x})),a.d(r,"attrToNumber",(function(){return k})),a.d(r,"attrToBoolean",(function(){return z})),a.d(r,"attrToString",(function(){return T})),a.d(r,"jsonEquals",(function(){return A})),a.d(r,"defaultComparator",(function(){return D})),a.d(r,"values",(function(){return O}));var o={};a.r(o),a.d(o,"iterateObject",(function(){return P})),a.d(o,"cloneObject",(function(){return L})),a.d(o,"deepCloneDefinition",(function(){return N})),a.d(o,"getAllValuesInObject",(function(){return F})),a.d(o,"mergeDeep",(function(){return I})),a.d(o,"getValueUsingField",(function(){return G})),a.d(o,"removeAllReferences",(function(){return V})),a.d(o,"isNonNullObject",(function(){return H}));var i={};a.r(i),a.d(i,"doOnce",(function(){return B})),a.d(i,"warnOnce",(function(){return q})),a.d(i,"errorOnce",(function(){return W})),a.d(i,"getFunctionName",(function(){return U})),a.d(i,"isFunction",(function(){return j})),a.d(i,"executeInAWhile",(function(){return K})),a.d(i,"executeNextVMTurn",(function(){return J})),a.d(i,"executeAfter",(function(){return X})),a.d(i,"debounce",(function(){return Z})),a.d(i,"throttle",(function(){return $})),a.d(i,"waitUntil",(function(){return ee})),a.d(i,"compose",(function(){return te})),a.d(i,"noop",(function(){return ae}));var n={};a.r(n),a.d(n,"existsAndNotEmpty",(function(){return ze})),a.d(n,"last",(function(){return Te})),a.d(n,"areEqual",(function(){return Ae})),a.d(n,"shallowCompare",(function(){return De})),a.d(n,"sortNumerically",(function(){return Oe})),a.d(n,"removeRepeatsFromArray",(function(){return Me})),a.d(n,"removeFromUnorderedArray",(function(){return Pe})),a.d(n,"removeFromArray",(function(){return Le})),a.d(n,"removeAllFromUnorderedArray",(function(){return Ne})),a.d(n,"removeAllFromArray",(function(){return Fe})),a.d(n,"insertIntoArray",(function(){return Ie})),a.d(n,"insertArrayIntoArray",(function(){return Ge})),a.d(n,"moveInArray",(function(){return Ve})),a.d(n,"includes",(function(){return He})),a.d(n,"flatten",(function(){return _e})),a.d(n,"pushAll",(function(){return Be})),a.d(n,"toStrings",(function(){return qe})),a.d(n,"forEachReverse",(function(){return We}));var l={};a.r(l),a.d(l,"stopPropagationForAgGrid",(function(){return Ke})),a.d(l,"isStopPropagationForAgGrid",(function(){return Ye})),a.d(l,"isEventSupported",(function(){return Qe})),a.d(l,"getCtrlForEventTarget",(function(){return Je})),a.d(l,"isElementInEventPath",(function(){return Xe})),a.d(l,"createEventPath",(function(){return Ze})),a.d(l,"getEventPath",(function(){return $e})),a.d(l,"addSafePassiveEventListener",(function(){return et}));var s={};a.r(s),a.d(s,"utf8_encode",(function(){return mt})),a.d(s,"capitalise",(function(){return vt})),a.d(s,"escapeString",(function(){return ft})),a.d(s,"camelCaseToHumanText",(function(){return wt})),a.d(s,"camelCaseToHyphenated",(function(){return bt}));var g={};a.r(g),a.d(g,"convertToMap",(function(){return Ct})),a.d(g,"mapById",(function(){return yt})),a.d(g,"keys",(function(){return St}));var d={};a.r(d),a.d(d,"setAriaRole",(function(){return Jt})),a.d(d,"getAriaSortState",(function(){return Xt})),a.d(d,"getAriaLevel",(function(){return Zt})),a.d(d,"getAriaPosInSet",(function(){return $t})),a.d(d,"getAriaLabel",(function(){return ea})),a.d(d,"setAriaLabel",(function(){return ta})),a.d(d,"setAriaLabelledBy",(function(){return aa})),a.d(d,"setAriaDescribedBy",(function(){return ra})),a.d(d,"setAriaLive",(function(){return oa})),a.d(d,"setAriaAtomic",(function(){return ia})),a.d(d,"setAriaRelevant",(function(){return na})),a.d(d,"setAriaLevel",(function(){return la})),a.d(d,"setAriaDisabled",(function(){return sa})),a.d(d,"setAriaHidden",(function(){return ga})),a.d(d,"setAriaActiveDescendant",(function(){return da})),a.d(d,"setAriaExpanded",(function(){return ca})),a.d(d,"removeAriaExpanded",(function(){return ua})),a.d(d,"setAriaSetSize",(function(){return pa})),a.d(d,"setAriaPosInSet",(function(){return ha})),a.d(d,"setAriaMultiSelectable",(function(){return ma})),a.d(d,"setAriaRowCount",(function(){return va})),a.d(d,"setAriaRowIndex",(function(){return fa})),a.d(d,"setAriaColCount",(function(){return wa})),a.d(d,"setAriaColIndex",(function(){return ba})),a.d(d,"setAriaColSpan",(function(){return Ca})),a.d(d,"setAriaSort",(function(){return ya})),a.d(d,"removeAriaSort",(function(){return Sa})),a.d(d,"setAriaSelected",(function(){return Ea})),a.d(d,"setAriaChecked",(function(){return Ra})),a.d(d,"setAriaControls",(function(){return xa})),a.d(d,"getAriaCheckboxStateName",(function(){return ka}));var c={};a.r(c),a.d(c,"isBrowserSafari",(function(){return za})),a.d(c,"getSafariVersion",(function(){return Ta})),a.d(c,"isBrowserChrome",(function(){return Aa})),a.d(c,"isBrowserFirefox",(function(){return Da})),a.d(c,"isMacOsUserAgent",(function(){return Oa})),a.d(c,"isIOSUserAgent",(function(){return Ma})),a.d(c,"browserSupportsPreventScroll",(function(){return Pa})),a.d(c,"getTabIndex",(function(){return La})),a.d(c,"getMaxDivHeight",(function(){return Na})),a.d(c,"getBodyWidth",(function(){return Fa})),a.d(c,"getBodyHeight",(function(){return Ia})),a.d(c,"getScrollbarWidth",(function(){return Ga})),a.d(c,"isInvisibleScrollbar",(function(){return Ha}));var u={};a.r(u),a.d(u,"padStartWidthZeros",(function(){return _a})),a.d(u,"createArrayOfNumbers",(function(){return Ba})),a.d(u,"cleanNumber",(function(){return qa})),a.d(u,"decToHex",(function(){return Wa})),a.d(u,"formatNumberTwoDecimalPlacesAndCommas",(function(){return Ua})),a.d(u,"formatNumberCommas",(function(){return ja})),a.d(u,"sum",(function(){return Ka}));var p={};a.r(p),a.d(p,"serialiseDate",(function(){return Ya})),a.d(p,"dateToFormattedString",(function(){return Ja})),a.d(p,"parseDateTimeFromString",(function(){return Xa}));var h={};a.r(h),a.d(h,"radioCssClass",(function(){return $a})),a.d(h,"FOCUSABLE_SELECTOR",(function(){return er})),a.d(h,"FOCUSABLE_EXCLUDE",(function(){return tr})),a.d(h,"isFocusableFormField",(function(){return ar})),a.d(h,"setDisplayed",(function(){return rr})),a.d(h,"setVisible",(function(){return or})),a.d(h,"setDisabled",(function(){return ir})),a.d(h,"isElementChildOfClass",(function(){return nr})),a.d(h,"getElementSize",(function(){return lr})),a.d(h,"getInnerHeight",(function(){return sr})),a.d(h,"getInnerWidth",(function(){return gr})),a.d(h,"getAbsoluteHeight",(function(){return dr})),a.d(h,"getAbsoluteWidth",(function(){return cr})),a.d(h,"getElementRectWithOffset",(function(){return ur})),a.d(h,"isRtlNegativeScroll",(function(){return pr})),a.d(h,"getScrollLeft",(function(){return hr})),a.d(h,"setScrollLeft",(function(){return mr})),a.d(h,"clearElement",(function(){return vr})),a.d(h,"removeFromParent",(function(){return fr})),a.d(h,"isInDOM",(function(){return wr})),a.d(h,"isVisible",(function(){return br})),a.d(h,"loadTemplate",(function(){return Cr})),a.d(h,"ensureDomOrder",(function(){return yr})),a.d(h,"setDomChildOrder",(function(){return Sr})),a.d(h,"insertWithDomOrder",(function(){return Er})),a.d(h,"addStylesToElement",(function(){return Rr})),a.d(h,"isHorizontalScrollShowing",(function(){return xr})),a.d(h,"isVerticalScrollShowing",(function(){return kr})),a.d(h,"setElementWidth",(function(){return zr})),a.d(h,"setFixedWidth",(function(){return Tr})),a.d(h,"setElementHeight",(function(){return Ar})),a.d(h,"setFixedHeight",(function(){return Dr})),a.d(h,"formatSize",(function(){return Or})),a.d(h,"isNodeOrElement",(function(){return Mr})),a.d(h,"copyNodeList",(function(){return Pr})),a.d(h,"iterateNamedNodeMap",(function(){return Lr})),a.d(h,"addOrRemoveAttribute",(function(){return Nr})),a.d(h,"nodeListForEach",(function(){return Fr})),a.d(h,"bindCellRendererToHtmlElement",(function(){return Ir}));var m={};a.r(m),a.d(m,"fuzzyCheckStrings",(function(){return Gr})),a.d(m,"fuzzySuggestions",(function(){return Vr}));var v={};a.r(v),a.d(v,"iconNameClassMap",(function(){return _r})),a.d(v,"createIcon",(function(){return Br})),a.d(v,"createIconNoSpan",(function(){return qr}));var f={};a.r(f),a.d(f,"isEventFromPrintableCharacter",(function(){return Ur})),a.d(f,"isUserSuppressingKeyboardEvent",(function(){return jr})),a.d(f,"isUserSuppressingHeaderKeyboardEvent",(function(){return Kr})),a.d(f,"normaliseQwertyAzerty",(function(){return Yr})),a.d(f,"isDeleteKey",(function(){return Qr}));var w={};a.r(w),a.d(w,"areEventsNear",(function(){return Jr}));var b={};a.r(b),a.d(b,"sortRowNodesByOrder",(function(){return Xr}));var C={};function y(e){return null==e||""===e?null:e}function S(e,t=!1){return null!=e&&(""!==e||t)}function E(e){return!S(e)}function R(e){return null==e||0===e.length}function x(e){return null!=e&&"function"==typeof e.toString?e.toString():null}function k(e){if(void 0===e)return;if(null===e||""===e)return null;if("number"==typeof e)return isNaN(e)?void 0:e;const t=parseInt(e,10);return isNaN(t)?void 0:t}function z(e){if(void 0!==e)return null!==e&&""!==e&&("boolean"==typeof e?e:/true/i.test(e))}function T(e){if(null!=e&&""!==e)return e}function A(e,t){return(e?JSON.stringify(e):null)===(t?JSON.stringify(t):null)}function D(e,t,a=!1){const r=null==e,o=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),r&&o)return 0;if(r)return-1;if(o)return 1;function i(e,t){return e>t?1:e<t?-1:0}if("string"!=typeof e)return i(e,t);if(!a)return i(e,t);try{return e.localeCompare(t)}catch(a){return i(e,t)}}function O(e){if(e instanceof Set||e instanceof Map){const t=[];return e.forEach(e=>t.push(e)),t}return Object.values(e)}a.r(C),a.d(C,"convertToSet",(function(){return Zr}));class M{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t<e.length;t++)this.existingKeys[e[t]]=!0}getUniqueKey(e,t){e=x(e);let a=0;for(;;){let r;if(e?(r=e,0!==a&&(r+="_"+a)):t?(r=t,0!==a&&(r+="_"+a)):r=a,!this.existingKeys[r])return this.existingKeys[r]=!0,String(r);a++}}}function P(e,t){if(null!=e)if(Array.isArray(e))for(let a=0;a<e.length;a++)t(a.toString(),e[a]);else for(const[a,r]of Object.entries(e))t(a,r)}function L(e){const t={},a=Object.keys(e);for(let r=0;r<a.length;r++){const o=a[r],i=e[o];t[o]=i}return t}function N(e,t){if(!e)return;const a=e,r={};return Object.keys(a).forEach(e=>{if(t&&t.indexOf(e)>=0)return;const o=a[e],i=H(o)&&o.constructor===Object;r[e]=i?N(o):o}),r}function F(e){if(!e)return[];const t=Object;if("function"==typeof t.values)return t.values(e);const a=[];for(const t in e)e.hasOwnProperty(t)&&e.propertyIsEnumerable(t)&&a.push(e[t]);return a}function I(e,t,a=!0,r=!1){S(t)&&P(t,(t,o)=>{let i=e[t];if(i!==o){if(r){if(null==i&&null!=o){"object"==typeof o&&o.constructor===Object&&(i={},e[t]=i)}}H(o)&&H(i)&&!Array.isArray(i)?I(i,o,a,r):(a||void 0!==o)&&(e[t]=o)}})}function G(e,t,a){if(!t||!e)return;if(!a)return e[t];const r=t.split(".");let o=e;for(let e=0;e<r.length;e++){if(null==o)return;o=o[r[e]]}return o}function V(e,t=[],a){Object.keys(e).forEach(a=>{"object"!=typeof e[a]||t.includes(a)||(e[a]=void 0)});const r=Object.getPrototypeOf(e),o={};Object.getOwnPropertyNames(r).forEach(e=>{if("function"==typeof r[e]&&!t.includes(e)){const t=()=>{console.warn((e=>`AG Grid: Grid API function ${e}() cannot be called as the grid has been destroyed.\n It is recommended to remove local references to the grid api. Alternatively, check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.\n To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${a}`)(e))};o[e]={value:t,writable:!0}}}),Object.defineProperties(e,o)}function H(e){return"object"==typeof e&&null!==e}const _={};function B(e,t){_[t]||(e(),_[t]=!0)}function q(e){B(()=>console.warn("AG Grid: "+e),e)}function W(e){B(()=>console.error("AG Grid: "+e),e)}function U(e){if(e.name)return e.name;const t=/function\s+([^\(]+)/.exec(e.toString());return t&&2===t.length?t[1].trim():null}function j(e){return!!(e&&e.constructor&&e.call&&e.apply)}function K(e){X(e,400)}const Y=[];let Q=!1;function J(e){Y.push(e),Q||(Q=!0,window.setTimeout(()=>{const e=Y.slice();Y.length=0,Q=!1,e.forEach(e=>e())},0))}function X(e,t=0){e.length>0&&window.setTimeout(()=>e.forEach(e=>e()),t)}function Z(e,t){let a;return function(...r){const o=this;window.clearTimeout(a),a=window.setTimeout((function(){e.apply(o,r)}),t)}}function $(e,t){let a=0;return function(...r){const o=(new Date).getTime();o-a<t||(a=o,e.apply(this,r))}}function ee(e,t,a=100,r){const o=(new Date).getTime();let i=null,n=!1;const l=()=>{const l=(new Date).getTime()-o>a;(e()||l)&&(t(),n=!0,null!=i&&(window.clearInterval(i),i=null),l&&r&&console.warn(r))};l(),n||(i=window.setInterval(l,10))}function te(...e){return t=>e.reduce((e,t)=>t(e),t)}const ae=()=>{};var re;!function(e){e.CommunityCoreModule="@ag-grid-community/core",e.InfiniteRowModelModule="@ag-grid-community/infinite-row-model",e.ClientSideRowModelModule="@ag-grid-community/client-side-row-model",e.CsvExportModule="@ag-grid-community/csv-export",e.EnterpriseCoreModule="@ag-grid-enterprise/core",e.RowGroupingModule="@ag-grid-enterprise/row-grouping",e.ColumnsToolPanelModule="@ag-grid-enterprise/column-tool-panel",e.FiltersToolPanelModule="@ag-grid-enterprise/filter-tool-panel",e.MenuModule="@ag-grid-enterprise/menu",e.SetFilterModule="@ag-grid-enterprise/set-filter",e.MultiFilterModule="@ag-grid-enterprise/multi-filter",e.StatusBarModule="@ag-grid-enterprise/status-bar",e.SideBarModule="@ag-grid-enterprise/side-bar",e.RangeSelectionModule="@ag-grid-enterprise/range-selection",e.MasterDetailModule="@ag-grid-enterprise/master-detail",e.RichSelectModule="@ag-grid-enterprise/rich-select",e.GridChartsModule="@ag-grid-enterprise/charts",e.ViewportRowModelModule="@ag-grid-enterprise/viewport-row-model",e.ServerSideRowModelModule="@ag-grid-enterprise/server-side-row-model",e.ExcelExportModule="@ag-grid-enterprise/excel-export",e.ClipboardModule="@ag-grid-enterprise/clipboard",e.SparklinesModule="@ag-grid-enterprise/sparklines",e.AdvancedFilterModule="@ag-grid-enterprise/advanced-filter",e.AngularModule="@ag-grid-community/angular",e.ReactModule="@ag-grid-community/react",e.VueModule="@ag-grid-community/vue"}(re||(re={}));class oe{static register(e){oe.__register(e,!0,void 0)}static registerModules(e){oe.__registerModules(e,!0,void 0)}static __register(e,t,a){oe.runVersionChecks(e),void 0!==a?(oe.areGridScopedModules=!0,void 0===oe.gridModulesMap[a]&&(oe.gridModulesMap[a]={}),oe.gridModulesMap[a][e.moduleName]=e):oe.globalModulesMap[e.moduleName]=e,oe.setModuleBased(t)}static __unRegisterGridModules(e){delete oe.gridModulesMap[e]}static __registerModules(e,t,a){oe.setModuleBased(t),e&&e.forEach(e=>oe.__register(e,t,a))}static isValidModuleVersion(e){const[t,a]=e.version.split(".")||[],[r,o]=oe.currentModuleVersion.split(".")||[];return t===r&&a===o}static runVersionChecks(e){if(oe.currentModuleVersion||(oe.currentModuleVersion=e.version),e.version?oe.isValidModuleVersion(e)||console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is version ${e.version} but the other modules are version ${this.currentModuleVersion}. Please update all modules to the same version.`):console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is incompatible. Please update all modules to the same version.`),e.validate){const t=e.validate();if(!t.isValid){const e=t;console.error("AG Grid: "+e.message)}}}static setModuleBased(e){void 0===oe.moduleBased?oe.moduleBased=e:oe.moduleBased!==e&&B(()=>{console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms."),console.warn("Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.")},"ModulePackageCheck")}static __setIsBundled(){oe.isBundled=!0}static __assertRegistered(e,t,a){var r;if(this.__isRegistered(e,a))return!0;const o=t+e;let i;if(oe.isBundled)i=`AG Grid: unable to use ${t} as 'ag-grid-enterprise' has not been loaded. Check you are using the Enterprise bundle:\n \n <script src="https://cdn.jsdelivr.net/npm/ag-grid-enterprise@AG_GRID_VERSION/dist/ag-grid-enterprise.min.js"><\/script>\n \nFor more info see: https://ag-grid.com/javascript-data-grid/getting-started/#getting-started-with-ag-grid-enterprise`;else if(oe.moduleBased||void 0===oe.moduleBased){let o=null===(r=Object.entries(re).find(([t,a])=>a===e))||void 0===r?void 0:r[0];i=`AG Grid: unable to use ${t} as the ${o} is not registered${oe.areGridScopedModules?" for gridId: "+a:""}. Check if you have registered the module:\n \n import { ModuleRegistry } from '@ag-grid-community/core';\n import { ${o} } from '${e}';\n \n ModuleRegistry.registerModules([ ${o} ]);\n\nFor more info see: https://www.ag-grid.com/javascript-grid/modules/`}else i=`AG Grid: unable to use ${t} as package 'ag-grid-enterprise' has not been imported. Check that you have imported the package:\n \n import 'ag-grid-enterprise';\n \nFor more info see: https://www.ag-grid.com/javascript-grid/packages/`;return B(()=>{console.warn(i)},o),!1}static __warnEnterpriseChartDisabled(e){const t=`AG Grid: the '${e}' chart type is not supported in AG Charts Community. See https://ag-grid.com/javascript-data-grid/integrated-charts/ for more details.`;B(()=>{console.warn(t)},"ag-charts-enterprise:"+e)}static __isRegistered(e,t){var a;return!!oe.globalModulesMap[e]||!!(null===(a=oe.gridModulesMap[t])||void 0===a?void 0:a[e])}static __getRegisteredModules(e){return[...O(oe.globalModulesMap),...O(oe.gridModulesMap[e]||{})]}static __getGridRegisteredModules(e){var t;return O(null!==(t=oe.gridModulesMap[e])&&void 0!==t?t:{})||[]}static __isPackageBased(){return!oe.moduleBased}}oe.globalModulesMap={},oe.gridModulesMap={},oe.areGridScopedModules=!1;class ie{constructor(e,t){if(this.beanWrappers={},this.destroyed=!1,!e||!e.beanClasses)return;this.contextParams=e,this.logger=t,this.logger.log(">> creating ag-Application Context"),this.createBeans();const a=this.getBeanInstances();this.wireBeans(a),this.logger.log(">> ag-Application Context ready - component is alive")}getBeanInstances(){return O(this.beanWrappers).map(e=>e.beanInstance)}createBean(e,t){if(!e)throw Error("Can't wire to bean since it is null");return this.wireBeans([e],t),e}wireBeans(e,t){this.autoWireBeans(e),this.methodWireBeans(e),this.callLifeCycleMethods(e,"preConstructMethods"),S(t)&&e.forEach(t),this.callLifeCycleMethods(e,"postConstructMethods")}createBeans(){this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),P(this.beanWrappers,(e,t)=>{let a;t.bean.__agBeanMetaData&&t.bean.__agBeanMetaData.autowireMethods&&t.bean.__agBeanMetaData.autowireMethods.agConstructor&&(a=t.bean.__agBeanMetaData.autowireMethods.agConstructor);const r=this.getBeansForParameters(a,t.bean.name),o=new(t.bean.bind.apply(t.bean,[null,...r]));t.beanInstance=o});const e=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+e)}createBeanWrapper(e){const t=e.__agBeanMetaData;if(!t){let t;return t=e.prototype.constructor?U(e.prototype.constructor):""+e,void console.error(`Context item ${t} is not a bean`)}const a={bean:e,beanInstance:null,beanName:t.beanName};this.beanWrappers[t.beanName]=a}autoWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,a)=>{const r=t.agClassAttributes;r&&r.forEach(t=>{const r=this.lookupBeanInstance(a,t.beanName,t.optional);e[t.attributeName]=r})})})}methodWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,a)=>{P(t.autowireMethods,(t,r)=>{if("agConstructor"===t)return;const o=this.getBeansForParameters(r,a);e[t].apply(e,o)})})})}forEachMetaDataInHierarchy(e,t){let a=Object.getPrototypeOf(e);for(;null!=a;){const e=a.constructor;if(e.hasOwnProperty("__agBeanMetaData")){t(e.__agBeanMetaData,this.getBeanName(e))}a=Object.getPrototypeOf(a)}}getBeanName(e){if(e.__agBeanMetaData&&e.__agBeanMetaData.beanName)return e.__agBeanMetaData.beanName;const t=e.toString();return t.substring(9,t.indexOf("("))}getBeansForParameters(e,t){const a=[];return e&&P(e,(e,r)=>{const o=this.lookupBeanInstance(t,r);a[Number(e)]=o}),a}lookupBeanInstance(e,t,a=!1){if(this.destroyed)return this.logger.log(`AG Grid: bean reference ${t} is used after the grid is destroyed!`),null;if("context"===t)return this;if(this.contextParams.providedBeanInstances&&this.contextParams.providedBeanInstances.hasOwnProperty(t))return this.contextParams.providedBeanInstances[t];const r=this.beanWrappers[t];return r?r.beanInstance:(a||console.error(`AG Grid: unable to find bean reference ${t} while initialising ${e}`),null)}callLifeCycleMethods(e,t){e.forEach(e=>this.callLifeCycleMethodsOnBean(e,t))}callLifeCycleMethodsOnBean(e,t,a){const r={};this.forEachMetaDataInHierarchy(e,e=>{const o=e[t];o&&o.forEach(e=>{e!=a&&(r[e]=!0)})});Object.keys(r).forEach(t=>e[t]())}getBean(e){return this.lookupBeanInstance("getBean",e,!0)}destroy(){if(this.destroyed)return;this.destroyed=!0,this.logger.log(">> Shutting down ag-Application Context");const e=this.getBeanInstances();this.destroyBeans(e),this.contextParams.providedBeanInstances=null,oe.__unRegisterGridModules(this.contextParams.gridId),this.logger.log(">> ag-Application Context shut down - component is dead")}destroyBean(e){e&&this.destroyBeans([e])}destroyBeans(e){return e?(e.forEach(e=>{this.callLifeCycleMethodsOnBean(e,"preDestroyMethods","destroy");const t=e;"function"==typeof t.destroy&&t.destroy()}),[]):[]}isDestroyed(){return this.destroyed}getGridId(){return this.contextParams.gridId}}function ne(e,t,a){const r=he(e.constructor);r.preConstructMethods||(r.preConstructMethods=[]),r.preConstructMethods.push(t)}function le(e,t,a){const r=he(e.constructor);r.postConstructMethods||(r.postConstructMethods=[]),r.postConstructMethods.push(t)}function se(e,t,a){const r=he(e.constructor);r.preDestroyMethods||(r.preDestroyMethods=[]),r.preDestroyMethods.push(t)}function ge(e){return t=>{he(t).beanName=e}}function de(e){return(t,a,r)=>{ue(t,e,!1,t,a,null)}}function ce(e){return(t,a,r)=>{ue(t,e,!0,t,a,null)}}function ue(e,t,a,r,o,i){if(null===t)return void console.error("AG Grid: Autowired name should not be null");if("number"==typeof i)return void console.error("AG Grid: Autowired should be on an attribute");const n=he(e.constructor);n.agClassAttributes||(n.agClassAttributes=[]),n.agClassAttributes.push({attributeName:o,beanName:t,optional:a})}function pe(e){return(t,a,r)=>{const o="function"==typeof t?t:t.constructor;let i;if("number"==typeof r){let t;a?(i=he(o),t=a):(i=he(o),t="agConstructor"),i.autowireMethods||(i.autowireMethods={}),i.autowireMethods[t]||(i.autowireMethods[t]={}),i.autowireMethods[t][r]=e}}}function he(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}var me=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},ve=function(e,t){return function(a,r){t(a,r,e)}};let fe=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={}}setBeans(e,t,a=null,r=null){if(this.frameworkOverrides=t,this.gridOptionsService=e,a){const t=e.useAsyncEvents();this.addGlobalListener(a,t)}r&&this.addGlobalListener(r,!1)}setFrameworkOverrides(e){this.frameworkOverrides=e}getListeners(e,t,a){const r=t?this.allAsyncListeners:this.allSyncListeners;let o=r.get(e);return!o&&a&&(o=new Set,r.set(e,o)),o}noRegisteredListenersExist(){return 0===this.allSyncListeners.size&&0===this.allAsyncListeners.size&&0===this.globalSyncListeners.size&&0===this.globalAsyncListeners.size}addEventListener(e,t,a=!1){this.getListeners(e,a,!0).add(t)}removeEventListener(e,t,a=!1){const r=this.getListeners(e,a,!1);if(r&&(r.delete(t),0===r.size)){(a?this.allAsyncListeners:this.allSyncListeners).delete(e)}}addGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).add(e)}removeGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).delete(e)}dispatchEvent(e){let t=e;this.gridOptionsService&&this.gridOptionsService.addGridCommonParams(t),this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){var a;const r=e.type;if(t&&"event"in e){const t=e.event;t instanceof Event&&(e.eventPath=t.composedPath())}const o=(a,r)=>a.forEach(a=>{if(!r.has(a))return;const o=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>a(e)):()=>a(e);t?this.dispatchAsync(o):o()}),i=null!==(a=this.getListeners(r,t,!1))&&void 0!==a?a:new Set,n=new Set(i);n.size>0&&o(n,i);new Set(t?this.globalAsyncListeners:this.globalSyncListeners).forEach(a=>{const o=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>a(r,e)):()=>a(r,e);t?this.dispatchAsync(o):o()})}dispatchAsync(e){this.asyncFunctionsQueue.push(e),this.scheduled||(this.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)}),this.scheduled=!0)}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],e.forEach(e=>e())}};me([ve(0,pe("gridOptionsService")),ve(1,pe("frameworkOverrides")),ve(2,pe("globalEventListener")),ve(3,pe("globalSyncEventListener"))],fe.prototype,"setBeans",null),fe=me([ge("eventService")],fe);class we{constructor(e){this.frameworkOverrides=e,this.wrappedListeners=new Map,this.wrappedGlobalListeners=new Map}wrap(e){let t=e;return this.frameworkOverrides.shouldWrapOutgoing&&(t=t=>{this.frameworkOverrides.wrapOutgoing(()=>e(t))},this.wrappedListeners.set(e,t)),t}wrapGlobal(e){let t=e;return this.frameworkOverrides.shouldWrapOutgoing&&(t=(t,a)=>{this.frameworkOverrides.wrapOutgoing(()=>e(t,a))},this.wrappedGlobalListeners.set(e,t)),t}unwrap(e){var t;return null!==(t=this.wrappedListeners.get(e))&&void 0!==t?t:e}unwrapGlobal(e){var t;return null!==(t=this.wrappedGlobalListeners.get(e))&&void 0!==t?t:e}}var be=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};const Ce={resizable:!0,sortable:!0};let ye=0;function Se(){return ye++}class Ee{constructor(e,t,a,r){this.instanceId=Se(),this.autoHeaderHeight=null,this.moving=!1,this.menuVisible=!1,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.eventService=new fe,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=e,this.userProvidedColDef=t,this.colId=a,this.primary=r,this.setState(e)}getInstanceId(){return this.instanceId}setState(e){void 0!==e.sort?"asc"!==e.sort&&"desc"!==e.sort||(this.sort=e.sort):"asc"!==e.initialSort&&"desc"!==e.initialSort||(this.sort=e.initialSort);const t=e.sortIndex,a=e.initialSortIndex;void 0!==t?null!==t&&(this.sortIndex=t):null!==a&&(this.sortIndex=a);const r=e.hide,o=e.initialHide;this.visible=void 0!==r?!r:!o,void 0!==e.pinned?this.setPinned(e.pinned):this.setPinned(e.initialPinned);const i=e.flex,n=e.initialFlex;void 0!==i?this.flex=i:void 0!==n&&(this.flex=n)}setColDef(e,t,a){this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),this.eventService.dispatchEvent(this.createColumnEvent("colDefChanged",a))}getUserProvidedColDef(){return this.userProvidedColDef}setParent(e){this.parent=e}getParent(){return this.parent}setOriginalParent(e){this.originalParent=e}getOriginalParent(){return this.originalParent}initialise(){this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.initTooltip()}initDotNotation(){const e=this.gridOptionsService.get("suppressFieldDotNotation");this.fieldContainsDots=S(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!e,this.tooltipFieldContainsDots=S(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(".")>=0&&!e}initMinAndMaxWidths(){const e=this.colDef;this.minWidth=this.columnUtils.calculateColMinWidth(e),this.maxWidth=this.columnUtils.calculateColMaxWidth(e)}initTooltip(){this.tooltipEnabled=S(this.colDef.tooltipField)||S(this.colDef.tooltipValueGetter)||S(this.colDef.tooltipComponent)}resetActualWidth(e){const t=this.columnUtils.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){if(E(this.colDef)||E(this.colDef.showRowGroup))return!1;const t=!0===this.colDef.showRowGroup,a=this.colDef.showRowGroup===e;return t||a}isPrimary(){return this.primary}isFilterAllowed(){return!!this.colDef.filter}isFieldContainsDots(){return this.fieldContainsDots}isTooltipEnabled(){return this.tooltipEnabled}isTooltipFieldContainsDots(){return this.tooltipFieldContainsDots}addEventListener(e,t){var a,r;this.frameworkOverrides.shouldWrapOutgoing&&!this.frameworkEventListenerService&&(this.eventService.setFrameworkOverrides(this.frameworkOverrides),this.frameworkEventListenerService=new we(this.frameworkOverrides));const o=null!==(r=null===(a=this.frameworkEventListenerService)||void 0===a?void 0:a.wrap(t))&&void 0!==r?r:t;this.eventService.addEventListener(e,o)}removeEventListener(e,t){var a,r;const o=null!==(r=null===(a=this.frameworkEventListenerService)||void 0===a?void 0:a.unwrap(t))&&void 0!==r?r:t;this.eventService.removeEventListener(e,o)}createColumnFunctionCallbackParams(e){return this.gridOptionsService.addGridCommonParams({node:e,data:e.data,column:this,colDef:this.colDef})}isSuppressNavigable(e){if("boolean"==typeof this.colDef.suppressNavigable)return this.colDef.suppressNavigable;if("function"==typeof this.colDef.suppressNavigable){const t=this.createColumnFunctionCallbackParams(e);return(0,this.colDef.suppressNavigable)(t)}return!1}isCellEditable(e){return!(e.group&&!this.gridOptionsService.get("enableGroupEdit"))&&this.isColumnFunc(e,this.colDef.editable)}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.isColumnFunc(e,this.colDef.checkboxSelection)}isSuppressPaste(e){return this.isColumnFunc(e,this.colDef?this.colDef.suppressPaste:null)}isResizable(){return!!this.getColDefValue("resizable")}getColDefValue(e){var t;return null!==(t=this.colDef[e])&&void 0!==t?t:Ce[e]}isColumnFunc(e,t){if("boolean"==typeof t)return t;if("function"==typeof t){return t(this.createColumnFunctionCallbackParams(e))}return!1}setMoving(e,t){this.moving=e,this.eventService.dispatchEvent(this.createColumnEvent("movingChanged",t))}createColumnEvent(e,t){return this.gridOptionsService.addGridCommonParams({type:e,column:this,columns:[this],source:t})}isMoving(){return this.moving}getSort(){return this.sort}setSort(e,t){this.sort!==e&&(this.sort=e,this.eventService.dispatchEvent(this.createColumnEvent("sortChanged",t))),this.dispatchStateUpdatedEvent("sort")}setMenuVisible(e,t){this.menuVisible!==e&&(this.menuVisible=e,this.eventService.dispatchEvent(this.createColumnEvent("menuVisibleChanged",t)))}isMenuVisible(){return this.menuVisible}isSortable(){return!!this.getColDefValue("sortable")}isSortAscending(){return"asc"===this.sort}isSortDescending(){return"desc"===this.sort}isSortNone(){return E(this.sort)}isSorting(){return S(this.sort)}getSortIndex(){return this.sortIndex}setSortIndex(e){this.sortIndex=e,this.dispatchStateUpdatedEvent("sortIndex")}setAggFunc(e){this.aggFunc=e,this.dispatchStateUpdatedEvent("aggFunc")}getAggFunc(){return this.aggFunc}getLeft(){return this.left}getOldLeft(){return this.oldLeft}getRight(){return this.left+this.actualWidth}setLeft(e,t){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.eventService.dispatchEvent(this.createColumnEvent("leftChanged",t)))}isFilterActive(){return this.filterActive}setFilterActive(e,t,a){this.filterActive!==e&&(this.filterActive=e,this.eventService.dispatchEvent(this.createColumnEvent("filterActiveChanged",t)));const r=this.createColumnEvent("filterChanged",t);a&&I(r,a),this.eventService.dispatchEvent(r)}isHovered(){return this.columnHoverService.isHovered(this)}setPinned(e){this.pinned=!0===e||"left"===e?"left":"right"===e?"right":null,this.dispatchStateUpdatedEvent("pinned")}setFirstRightPinned(e,t){this.firstRightPinned!==e&&(this.firstRightPinned=e,this.eventService.dispatchEvent(this.createColumnEvent("firstRightPinnedChanged",t)))}setLastLeftPinned(e,t){this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.eventService.dispatchEvent(this.createColumnEvent("lastLeftPinnedChanged",t)))}isFirstRightPinned(){return this.firstRightPinned}isLastLeftPinned(){return this.lastLeftPinned}isPinned(){return"left"===this.pinned||"right"===this.pinned}isPinnedLeft(){return"left"===this.pinned}isPinnedRight(){return"right"===this.pinned}getPinned(){return this.pinned}setVisible(e,t){const a=!0===e;this.visible!==a&&(this.visible=a,this.eventService.dispatchEvent(this.createColumnEvent("visibleChanged",t))),this.dispatchStateUpdatedEvent("hide")}isVisible(){return this.visible}isSpanHeaderHeight(){const e=this.getColDef();return!e.suppressSpanHeaderHeight&&!e.autoHeaderHeight}getColumnGroupPaddingInfo(){let e=this.getParent();if(!e||!e.isPadding())return{numberOfParents:0,isSpanningTotal:!1};const t=e.getPaddingLevel()+1;let a=!0;for(;e;){if(!e.isPadding()){a=!1;break}e=e.getParent()}return{numberOfParents:t,isSpanningTotal:a}}getColDef(){return this.colDef}getColumnGroupShow(){return this.colDef.columnGroupShow}getColId(){return this.colId}getId(){return this.colId}getUniqueId(){return this.colId}getDefinition(){return this.colDef}getActualWidth(){return this.actualWidth}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}createBaseColDefParams(e){return this.gridOptionsService.addGridCommonParams({node:e,data:e.data,colDef:this.colDef,column:this})}getColSpan(e){if(E(this.colDef.colSpan))return 1;const t=this.createBaseColDefParams(e),a=this.colDef.colSpan(t);return Math.max(a,1)}getRowSpan(e){if(E(this.colDef.rowSpan))return 1;const t=this.createBaseColDefParams(e),a=this.colDef.rowSpan(t);return Math.max(a,1)}setActualWidth(e,t,a=!1){null!=this.minWidth&&(e=Math.max(e,this.minWidth)),null!=this.maxWidth&&(e=Math.min(e,this.maxWidth)),this.actualWidth!==e&&(this.actualWidth=e,this.flex&&"flex"!==t&&"gridInitializing"!==t&&(this.flex=null),a||this.fireColumnWidthChangedEvent(t)),this.dispatchStateUpdatedEvent("width")}fireColumnWidthChangedEvent(e){this.eventService.dispatchEvent(this.createColumnEvent("widthChanged",e))}isGreaterThanMax(e){return null!=this.maxWidth&&e>this.maxWidth}getMinWidth(){return this.minWidth}getMaxWidth(){return this.maxWidth}getFlex(){return this.flex||0}setFlex(e){this.flex!==e&&(this.flex=e),this.dispatchStateUpdatedEvent("flex")}setMinimum(e){S(this.minWidth)&&this.setActualWidth(this.minWidth,e)}setRowGroupActive(e,t){this.rowGroupActive!==e&&(this.rowGroupActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnRowGroupChanged",t))),this.dispatchStateUpdatedEvent("rowGroup")}isRowGroupActive(){return this.rowGroupActive}setPivotActive(e,t){this.pivotActive!==e&&(this.pivotActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnPivotChanged",t))),this.dispatchStateUpdatedEvent("pivot")}isPivotActive(){return this.pivotActive}isAnyFunctionActive(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()}isAnyFunctionAllowed(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()}setValueActive(e,t){this.aggregationActive!==e&&(this.aggregationActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnValueChanged",t)))}isValueActive(){return this.aggregationActive}isAllowPivot(){return!0===this.colDef.enablePivot}isAllowValue(){return!0===this.colDef.enableValue}isAllowRowGroup(){return!0===this.colDef.enableRowGroup}getMenuTabs(e){q("As of v31.1, 'getMenuTabs' is deprecated. Use 'getColDef().menuTabs ?? defaultValues' instead.");let t=this.getColDef().menuTabs;return null==t&&(t=e),t}dispatchStateUpdatedEvent(e){this.eventService.dispatchEvent({type:Ee.EVENT_STATE_UPDATED,key:e})}}Ee.EVENT_MOVING_CHANGED="movingChanged",Ee.EVENT_LEFT_CHANGED="leftChanged",Ee.EVENT_WIDTH_CHANGED="widthChanged",Ee.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",Ee.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",Ee.EVENT_VISIBLE_CHANGED="visibleChanged",Ee.EVENT_FILTER_CHANGED="filterChanged",Ee.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",Ee.EVENT_SORT_CHANGED="sortChanged",Ee.EVENT_COL_DEF_CHANGED="colDefChanged",Ee.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",Ee.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",Ee.EVENT_PIVOT_CHANGED="columnPivotChanged",Ee.EVENT_VALUE_CHANGED="columnValueChanged",Ee.EVENT_STATE_UPDATED="columnStateUpdated",be([de("gridOptionsService")],Ee.prototype,"gridOptionsService",void 0),be([de("columnUtils")],Ee.prototype,"columnUtils",void 0),be([de("columnHoverService")],Ee.prototype,"columnHoverService",void 0),be([de("frameworkOverrides")],Ee.prototype,"frameworkOverrides",void 0),be([le],Ee.prototype,"initialise",null);var Re=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class xe{constructor(e,t,a,r){this.localEventService=new fe,this.expandable=!1,this.instanceId=Se(),this.expandableListenerRemoveCallback=null,this.colGroupDef=e,this.groupId=t,this.expanded=!!e&&!!e.openByDefault,this.padding=a,this.level=r}destroy(){this.expandableListenerRemoveCallback&&this.reset(null,void 0)}reset(e,t){this.colGroupDef=e,this.level=t,this.originalParent=null,this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback(),this.children=void 0,this.expandable=void 0}getInstanceId(){return this.instanceId}setOriginalParent(e){this.originalParent=e}getOriginalParent(){return this.originalParent}getLevel(){return this.level}isVisible(){return!!this.children&&this.children.some(e=>e.isVisible())}isPadding(){return this.padding}setExpanded(e){this.expanded=void 0!==e&&e;const t={type:xe.EVENT_EXPANDED_CHANGED};this.localEventService.dispatchEvent(t)}isExpandable(){return this.expandable}isExpanded(){return this.expanded}getGroupId(){return this.groupId}getId(){return this.getGroupId()}setChildren(e){this.children=e}getChildren(){return this.children}getColGroupDef(){return this.colGroupDef}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}addLeafColumns(e){this.children&&this.children.forEach(t=>{t instanceof Ee?e.push(t):t instanceof xe&&t.addLeafColumns(e)})}getColumnGroupShow(){const e=this.colGroupDef;if(e)return e.columnGroupShow}setupExpandable(){this.setExpandable(),this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback();const e=this.onColumnVisibilityChanged.bind(this);this.getLeafColumns().forEach(t=>t.addEventListener("visibleChanged",e)),this.expandableListenerRemoveCallback=()=>{this.getLeafColumns().forEach(t=>t.removeEventListener("visibleChanged",e)),this.expandableListenerRemoveCallback=null}}setExpandable(){if(this.isPadding())return;let e=!1,t=!1,a=!1;const r=this.findChildrenRemovingPadding();for(let o=0,i=r.length;o<i;o++){const i=r[o];if(!i.isVisible())continue;const n=i.getColumnGroupShow();"open"===n?(e=!0,a=!0):"closed"===n?(t=!0,a=!0):(e=!0,t=!0)}const o=e&&t&&a;if(this.expandable!==o){this.expandable=o;const e={type:xe.EVENT_EXPANDABLE_CHANGED};this.localEventService.dispatchEvent(e)}}findChildrenRemovingPadding(){const e=[],t=a=>{a.forEach(a=>{a instanceof xe&&a.isPadding()?t(a.children):e.push(a)})};return t(this.children),e}onColumnVisibilityChanged(){this.setExpandable()}addEventListener(e,t){this.localEventService.addEventListener(e,t)}removeEventListener(e,t){this.localEventService.removeEventListener(e,t)}}xe.EVENT_EXPANDED_CHANGED="expandedChanged",xe.EVENT_EXPANDABLE_CHANGED="expandableChanged",Re([se],xe.prototype,"destroy",null);const ke={numericColumn:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"},rightAligned:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"}};function ze(e){return null!=e&&e.length>0}function Te(e){if(e&&e.length)return e[e.length-1]}function Ae(e,t,a){return null==e&&null==t||null!=e&&null!=t&&e.length===t.length&&e.every((e,r)=>a?a(e,t[r]):t[r]===e)}function De(e,t){return Ae(e,t)}function Oe(e){return e.sort((e,t)=>e-t)}function Me(e,t){if(e)for(let a=e.length-2;a>=0;a--){const r=e[a]===t,o=e[a+1]===t;r&&o&&e.splice(a+1,1)}}function Pe(e,t){const a=e.indexOf(t);a>=0&&(e[a]=e[e.length-1],e.pop())}function Le(e,t){const a=e.indexOf(t);a>=0&&e.splice(a,1)}function Ne(e,t){for(let a=0;a<t.length;a++)Pe(e,t[a])}function Fe(e,t){for(let a=0;a<t.length;a++)Le(e,t[a])}function Ie(e,t,a){e.splice(a,0,t)}function Ge(e,t,a){if(null!=e&&null!=t)for(let r=t.length-1;r>=0;r--){Ie(e,t[r],a)}}function Ve(e,t,a){Fe(e,t),t.slice().reverse().forEach(t=>Ie(e,t,a))}function He(e,t){return e.indexOf(t)>-1}function _e(e){return[].concat.apply([],e)}function Be(e,t){null!=t&&null!=e&&t.forEach(t=>e.push(t))}function qe(e){return e.map(x)}function We(e,t){if(null!=e)for(let a=e.length-1;a>=0;a--)t(e[a],a)}const Ue=["touchstart","touchend","touchmove","touchcancel","scroll"],je={};function Ke(e){e.__ag_Grid_Stop_Propagation=!0}function Ye(e){return!0===e.__ag_Grid_Stop_Propagation}const Qe=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t=>{if("boolean"==typeof je[t])return je[t];const a=document.createElement(e[t]||"div");return je[t="on"+t]=t in a}})();function Je(e,t,a){let r=t;for(;r;){const t=e.getDomData(r,a);if(t)return t;r=r.parentElement}return null}function Xe(e,t){return!(!t||!e)&&$e(t).indexOf(e)>=0}function Ze(e){const t=[];let a=e.target;for(;a;)t.push(a),a=a.parentElement;return t}function $e(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():Ze(t)}function et(e,t,a,r){const o=He(Ue,a)?{passive:!0}:void 0;e&&e.addEventListener&&e.addEventListener(t,a,r,o)}var tt=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class at{constructor(){this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.lastChangeSetIdLookup={},this.propertyListenerId=0,this.isAlive=()=>!this.destroyed}getFrameworkOverrides(){return this.frameworkOverrides}getContext(){return this.context}destroy(){this.destroyFunctions.forEach(e=>e()),this.destroyFunctions.length=0,this.destroyed=!0,this.dispatchEvent({type:at.EVENT_DESTROYED})}addEventListener(e,t){this.localEventService||(this.localEventService=new fe),this.localEventService.addEventListener(e,t)}removeEventListener(e,t){this.localEventService&&this.localEventService.removeEventListener(e,t)}dispatchEvent(e){this.localEventService&&this.localEventService.dispatchEvent(e)}addManagedListener(e,t,a){if(this.destroyed)return;e instanceof HTMLElement?et(this.getFrameworkOverrides(),e,t,a):e.addEventListener(t,a);const r=()=>(e.removeEventListener(t,a),this.destroyFunctions=this.destroyFunctions.filter(e=>e!==r),null);return this.destroyFunctions.push(r),r}setupGridOptionListener(e,t){this.gridOptionsService.addEventListener(e,t);const a=()=>(this.gridOptionsService.removeEventListener(e,t),this.destroyFunctions=this.destroyFunctions.filter(e=>e!==a),null);return this.destroyFunctions.push(a),a}addManagedPropertyListener(e,t){return this.destroyed?()=>null:this.setupGridOptionListener(e,t)}addManagedPropertyListeners(e,t){if(this.destroyed)return;const a=e.join("-")+this.propertyListenerId++,r=e=>{if(e.changeSet){if(e.changeSet&&e.changeSet.id===this.lastChangeSetIdLookup[a])return;this.lastChangeSetIdLookup[a]=e.changeSet.id}const r={type:"gridPropertyChanged",changeSet:e.changeSet,source:e.source};t(r)};e.forEach(e=>this.setupGridOptionListener(e,r))}addDestroyFunc(e){this.isAlive()?this.destroyFunctions.push(e):e()}createManagedBean(e,t){const a=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),a}createBean(e,t,a){return(t||this.getContext()).createBean(e,a)}destroyBean(e,t){return(t||this.getContext()).destroyBean(e)}destroyBeans(e,t){return e&&e.forEach(e=>this.destroyBean(e,t)),[]}}at.EVENT_DESTROYED="destroyed",tt([de("frameworkOverrides")],at.prototype,"frameworkOverrides",void 0),tt([de("context")],at.prototype,"context",void 0),tt([de("eventService")],at.prototype,"eventService",void 0),tt([de("gridOptionsService")],at.prototype,"gridOptionsService",void 0),tt([de("localeService")],at.prototype,"localeService",void 0),tt([de("environment")],at.prototype,"environment",void 0),tt([se],at.prototype,"destroy",null);var rt=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},ot=function(e,t){return function(a,r){t(a,r,e)}};let it=class extends at{setBeans(e){this.logger=e.create("ColumnFactory")}createColumnTree(e,t,a,r){const o=new M,{existingCols:i,existingGroups:n,existingColKeys:l}=this.extractExistingTreeData(a);o.addExistingKeys(l);const s=this.recursivelyCreateColumns(e,0,t,i,o,n,r),g=this.findMaxDept(s,0);this.logger.log("Number of levels for grouped columns is "+g);const d=this.balanceColumnTree(s,0,g,o);return this.columnUtils.depthFirstOriginalTreeSearch(null,d,(e,t)=>{e instanceof xe&&e.setupExpandable(),e.setOriginalParent(t)}),{columnTree:d,treeDept:g}}extractExistingTreeData(e){const t=[],a=[],r=[];return e&&this.columnUtils.depthFirstOriginalTreeSearch(null,e,e=>{if(e instanceof xe){const t=e;a.push(t)}else{const a=e;r.push(a.getId()),t.push(a)}}),{existingCols:t,existingGroups:a,existingColKeys:r}}createForAutoGroups(e,t){return e.map(e=>this.createAutoGroupTreeItem(t,e))}createAutoGroupTreeItem(e,t){const a=this.findDepth(e);let r=t;for(let e=a-1;e>=0;e--){const a=new xe(null,`FAKE_PATH_${t.getId()}}_${e}`,!0,e);this.createBean(a),a.setChildren([r]),r.setOriginalParent(a),r=a}return 0===a&&t.setOriginalParent(null),r}findDepth(e){let t=0,a=e;for(;a&&a[0]&&a[0]instanceof xe;)t++,a=a[0].getChildren();return t}balanceColumnTree(e,t,a,r){const o=[];for(let i=0;i<e.length;i++){const n=e[i];if(n instanceof xe){const e=n,i=this.balanceColumnTree(e.getChildren(),t+1,a,r);e.setChildren(i),o.push(e)}else{let i,l;for(let e=a-1;e>=t;e--){const e=r.getUniqueKey(null,null),a=this.createMergedColGroupDef(null),o=new xe(a,e,!0,t);this.createBean(o),l&&l.setChildren([o]),l=o,i||(i=l)}if(i&&l){o.push(i);if(e.some(e=>e instanceof xe)){l.setChildren([n]);continue}l.setChildren(e);break}o.push(n)}}return o}findMaxDept(e,t){let a=t;for(let r=0;r<e.length;r++){const o=e[r];if(o instanceof xe){const e=o,r=this.findMaxDept(e.getChildren(),t+1);a<r&&(a=r)}}return a}recursivelyCreateColumns(e,t,a,r,o,i,n){if(!e)return[];const l=new Array(e.length);for(let s=0;s<l.length;s++){const g=e[s];this.isColumnGroup(g)?l[s]=this.createColumnGroup(a,g,t,r,o,i,n):l[s]=this.createColumn(a,g,r,o,n)}return l}createColumnGroup(e,t,a,r,o,i,n){const l=this.createMergedColGroupDef(t),s=o.getUniqueKey(l.groupId||null,null),g=new xe(l,s,!1,a);this.createBean(g);const d=this.findExistingGroup(t,i);d&&i.splice(d.idx,1);let c=null==d?void 0:d.group;c&&g.setExpanded(c.isExpanded());const u=this.recursivelyCreateColumns(l.children,a+1,e,r,o,i,n);return g.setChildren(u),g}createMergedColGroupDef(e){const t={};return Object.assign(t,this.gridOptionsService.get("defaultColGroupDef")),Object.assign(t,e),t}createColumn(e,t,a,r,o){const i=this.findExistingColumn(t,a);i&&(null==a||a.splice(i.idx,1));let n=null==i?void 0:i.column;if(n){const e=this.addColumnDefaultAndTypes(t,n.getColId());n.setColDef(e,t,o),this.applyColumnState(n,e,o)}else{const a=r.getUniqueKey(t.colId,t.field),o=this.addColumnDefaultAndTypes(t,a);n=new Ee(o,t,a,e),this.context.createBean(n)}return this.dataTypeService.addColumnListeners(n),n}applyColumnState(e,t,a){const r=k(t.flex);void 0!==r&&e.setFlex(r);if(e.getFlex()<=0){const r=k(t.width);if(null!=r)e.setActualWidth(r,a);else{const t=e.getActualWidth();e.setActualWidth(t,a)}}void 0!==t.sort&&("asc"==t.sort||"desc"==t.sort?e.setSort(t.sort,a):e.setSort(void 0,a));const o=k(t.sortIndex);void 0!==o&&e.setSortIndex(o);const i=z(t.hide);void 0!==i&&e.setVisible(!i,a),void 0!==t.pinned&&e.setPinned(t.pinned)}findExistingColumn(e,t){if(t)for(let a=0;a<t.length;a++){const r=t[a].getUserProvidedColDef();if(!r)continue;if(null!=e.colId){if(t[a].getId()===e.colId)return{idx:a,column:t[a]};continue}if(null!=e.field){if(r.field===e.field)return{idx:a,column:t[a]}}else if(r===e)return{idx:a,column:t[a]}}}findExistingGroup(e,t){if(null!=e.groupId)for(let a=0;a<t.length;a++){const r=t[a];if(r.getColGroupDef()&&r.getId()===e.groupId)return{idx:a,group:r}}}addColumnDefaultAndTypes(e,t){const a={};I(a,this.gridOptionsService.get("defaultColDef"),!1,!0);const r=this.dataTypeService.updateColDefAndGetColumnType(a,e,t);r&&this.assignColumnTypes(r,a),I(a,e,!1,!0);const o=this.gridOptionsService.get("autoGroupColumnDef"),i=this.gridOptionsService.isColumnsSortingCoupledToGroup();return e.rowGroup&&o&&i&&I(a,{sort:o.sort,initialSort:o.initialSort},!1,!0),this.dataTypeService.validateColDef(a),a}assignColumnTypes(e,t){if(!e.length)return;const a=Object.assign({},ke);P(this.gridOptionsService.get("columnTypes")||{},(e,t)=>{if(e in a)console.warn(`AG Grid: the column type '${e}' is a default column type and cannot be overridden.`);else{t.type&&q("Column type definitions 'columnTypes' with a 'type' attribute are not supported because a column type cannot refer to another column type. Only column definitions 'columnDefs' can use the 'type' attribute to refer to a column type."),a[e]=t}}),e.forEach(e=>{const r=a[e.trim()];r?I(t,r,!1,!0):console.warn("AG Grid: colDef.type '"+e+"' does not correspond to defined gridOptions.columnTypes")})}isColumnGroup(e){return void 0!==e.children}};rt([de("columnUtils")],it.prototype,"columnUtils",void 0),rt([de("dataTypeService")],it.prototype,"dataTypeService",void 0),rt([ot(0,pe("loggerFactory"))],it.prototype,"setBeans",null),it=rt([ge("columnFactory")],it);var nt=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class lt{constructor(e,t,a,r){this.displayedChildren=[],this.localEventService=new fe,this.groupId=t,this.partId=a,this.providedColumnGroup=e,this.pinned=r}static createUniqueId(e,t){return e+"_"+t}reset(){this.parent=null,this.children=null,this.displayedChildren=null}getParent(){return this.parent}setParent(e){this.parent=e}getUniqueId(){return lt.createUniqueId(this.groupId,this.partId)}isEmptyGroup(){return 0===this.displayedChildren.length}isMoving(){const e=this.getProvidedColumnGroup().getLeafColumns();return!(!e||0===e.length)&&e.every(e=>e.isMoving())}checkLeft(){if(this.displayedChildren.forEach(e=>{e instanceof lt&&e.checkLeft()}),this.displayedChildren.length>0)if(this.gridOptionsService.get("enableRtl")){const e=Te(this.displayedChildren).getLeft();this.setLeft(e)}else{const e=this.displayedChildren[0].getLeft();this.setLeft(e)}else this.setLeft(null)}getLeft(){return this.left}getOldLeft(){return this.oldLeft}setLeft(e){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.localEventService.dispatchEvent(this.createAgEvent(lt.EVENT_LEFT_CHANGED)))}getPinned(){return this.pinned}createAgEvent(e){return{type:e}}addEventListener(e,t){this.localEventService.addEventListener(e,t)}removeEventListener(e,t){this.localEventService.removeEventListener(e,t)}getGroupId(){return this.groupId}getPartId(){return this.partId}isChildInThisGroupDeepSearch(e){let t=!1;return this.children.forEach(a=>{e===a&&(t=!0),a instanceof lt&&a.isChildInThisGroupDeepSearch(e)&&(t=!0)}),t}getActualWidth(){let e=0;return this.displayedChildren&&this.displayedChildren.forEach(t=>{e+=t.getActualWidth()}),e}isResizable(){if(!this.displayedChildren)return!1;let e=!1;return this.displayedChildren.forEach(t=>{t.isResizable()&&(e=!0)}),e}getMinWidth(){let e=0;return this.displayedChildren.forEach(t=>{e+=t.getMinWidth()||0}),e}addChild(e){this.children||(this.children=[]),this.children.push(e)}getDisplayedChildren(){return this.displayedChildren}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}getDisplayedLeafColumns(){const e=[];return this.addDisplayedLeafColumns(e),e}getDefinition(){return this.providedColumnGroup.getColGroupDef()}getColGroupDef(){return this.providedColumnGroup.getColGroupDef()}isPadding(){return this.providedColumnGroup.isPadding()}isExpandable(){return this.providedColumnGroup.isExpandable()}isExpanded(){return this.providedColumnGroup.isExpanded()}setExpanded(e){this.providedColumnGroup.setExpanded(e)}addDisplayedLeafColumns(e){this.displayedChildren.forEach(t=>{t instanceof Ee?e.push(t):t instanceof lt&&t.addDisplayedLeafColumns(e)})}addLeafColumns(e){this.children.forEach(t=>{t instanceof Ee?e.push(t):t instanceof lt&&t.addLeafColumns(e)})}getChildren(){return this.children}getColumnGroupShow(){return this.providedColumnGroup.getColumnGroupShow()}getProvidedColumnGroup(){return this.providedColumnGroup}getPaddingLevel(){const e=this.getParent();return this.isPadding()&&e&&e.isPadding()?1+e.getPaddingLevel():0}calculateDisplayedColumns(){this.displayedChildren=[];let e=this;for(;null!=e&&e.isPadding();)e=e.getParent();if(!(!!e&&e.providedColumnGroup.isExpandable()))return this.displayedChildren=this.children,void this.localEventService.dispatchEvent(this.createAgEvent(lt.EVENT_DISPLAYED_CHILDREN_CHANGED));this.children.forEach(t=>{if(t instanceof lt&&(!t.displayedChildren||!t.displayedChildren.length))return;switch(t.getColumnGroupShow()){case"open":e.providedColumnGroup.isExpanded()&&this.displayedChildren.push(t);break;case"closed":e.providedColumnGroup.isExpanded()||this.displayedChildren.push(t);break;default:this.displayedChildren.push(t)}}),this.localEventService.dispatchEvent(this.createAgEvent(lt.EVENT_DISPLAYED_CHILDREN_CHANGED))}}lt.EVENT_LEFT_CHANGED="leftChanged",lt.EVENT_DISPLAYED_CHILDREN_CHANGED="displayedChildrenChanged",nt([de("gridOptionsService")],lt.prototype,"gridOptionsService",void 0);class st{}st.EVENT_COLUMN_EVERYTHING_CHANGED="columnEverythingChanged",st.EVENT_NEW_COLUMNS_LOADED="newColumnsLoaded",st.EVENT_COLUMN_PIVOT_MODE_CHANGED="columnPivotModeChanged",st.EVENT_COLUMN_ROW_GROUP_CHANGED="columnRowGroupChanged",st.EVENT_EXPAND_COLLAPSE_ALL="expandOrCollapseAll",st.EVENT_COLUMN_PIVOT_CHANGED="columnPivotChanged",st.EVENT_GRID_COLUMNS_CHANGED="gridColumnsChanged",st.EVENT_COLUMN_VALUE_CHANGED="columnValueChanged",st.EVENT_COLUMN_MOVED="columnMoved",st.EVENT_COLUMN_VISIBLE="columnVisible",st.EVENT_COLUMN_PINNED="columnPinned",st.EVENT_COLUMN_GROUP_OPENED="columnGroupOpened",st.EVENT_COLUMN_RESIZED="columnResized",st.EVENT_DISPLAYED_COLUMNS_CHANGED="displayedColumnsChanged",st.EVENT_SUPPRESS_COLUMN_MOVE_CHANGED="suppressMovableColumns",st.EVENT_SUPPRESS_MENU_HIDE_CHANGED="suppressMenuHide",st.EVENT_SUPPRESS_FIELD_DOT_NOTATION="suppressFieldDotNotation",st.EVENT_VIRTUAL_COLUMNS_CHANGED="virtualColumnsChanged",st.EVENT_COLUMN_HEADER_MOUSE_OVER="columnHeaderMouseOver",st.EVENT_COLUMN_HEADER_MOUSE_LEAVE="columnHeaderMouseLeave",st.EVENT_COLUMN_HEADER_CLICKED="columnHeaderClicked",st.EVENT_COLUMN_HEADER_CONTEXT_MENU="columnHeaderContextMenu",st.EVENT_ASYNC_TRANSACTIONS_FLUSHED="asyncTransactionsFlushed",st.EVENT_ROW_GROUP_OPENED="rowGroupOpened",st.EVENT_ROW_DATA_UPDATED="rowDataUpdated",st.EVENT_PINNED_ROW_DATA_CHANGED="pinnedRowDataChanged",st.EVENT_RANGE_SELECTION_CHANGED="rangeSelectionChanged",st.EVENT_CHART_CREATED="chartCreated",st.EVENT_CHART_RANGE_SELECTION_CHANGED="chartRangeSelectionChanged",st.EVENT_CHART_OPTIONS_CHANGED="chartOptionsChanged",st.EVENT_CHART_DESTROYED="chartDestroyed",st.EVENT_TOOL_PANEL_VISIBLE_CHANGED="toolPanelVisibleChanged",st.EVENT_TOOL_PANEL_SIZE_CHANGED="toolPanelSizeChanged",st.EVENT_COLUMN_PANEL_ITEM_DRAG_START="columnPanelItemDragStart",st.EVENT_COLUMN_PANEL_ITEM_DRAG_END="columnPanelItemDragEnd",st.EVENT_MODEL_UPDATED="modelUpdated",st.EVENT_CUT_START="cutStart",st.EVENT_CUT_END="cutEnd",st.EVENT_PASTE_START="pasteStart",st.EVENT_PASTE_END="pasteEnd",st.EVENT_FILL_START="fillStart",st.EVENT_FILL_END="fillEnd",st.EVENT_RANGE_DELETE_START="rangeDeleteStart",st.EVENT_RANGE_DELETE_END="rangeDeleteEnd",st.EVENT_UNDO_STARTED="undoStarted",st.EVENT_UNDO_ENDED="undoEnded",st.EVENT_REDO_STARTED="redoStarted",st.EVENT_REDO_ENDED="redoEnded",st.EVENT_KEY_SHORTCUT_CHANGED_CELL_START="keyShortcutChangedCellStart",st.EVENT_KEY_SHORTCUT_CHANGED_CELL_END="keyShortcutChangedCellEnd",st.EVENT_CELL_CLICKED="cellClicked",st.EVENT_CELL_DOUBLE_CLICKED="cellDoubleClicked",st.EVENT_CELL_MOUSE_DOWN="cellMouseDown",st.EVENT_CELL_CONTEXT_MENU="cellContextMenu",st.EVENT_CELL_VALUE_CHANGED="cellValueChanged",st.EVENT_CELL_EDIT_REQUEST="cellEditRequest",st.EVENT_ROW_VALUE_CHANGED="rowValueChanged",st.EVENT_CELL_FOCUSED="cellFocused",st.EVENT_CELL_FOCUS_CLEARED="cellFocusCleared",st.EVENT_FULL_WIDTH_ROW_FOCUSED="fullWidthRowFocused",st.EVENT_ROW_SELECTED="rowSelected",st.EVENT_SELECTION_CHANGED="selectionChanged",st.EVENT_TOOLTIP_SHOW="tooltipShow",st.EVENT_TOOLTIP_HIDE="tooltipHide",st.EVENT_CELL_KEY_DOWN="cellKeyDown",st.EVENT_CELL_MOUSE_OVER="cellMouseOver",st.EVENT_CELL_MOUSE_OUT="cellMouseOut",st.EVENT_FILTER_CHANGED="filterChanged",st.EVENT_FILTER_MODIFIED="filterModified",st.EVENT_FILTER_OPENED="filterOpened",st.EVENT_ADVANCED_FILTER_BUILDER_VISIBLE_CHANGED="advancedFilterBuilderVisibleChanged",st.EVENT_SORT_CHANGED="sortChanged",st.EVENT_VIRTUAL_ROW_REMOVED="virtualRowRemoved",st.EVENT_ROW_CLICKED="rowClicked",st.EVENT_ROW_DOUBLE_CLICKED="rowDoubleClicked",st.EVENT_GRID_READY="gridReady",st.EVENT_GRID_PRE_DESTROYED="gridPreDestroyed",st.EVENT_GRID_SIZE_CHANGED="gridSizeChanged",st.EVENT_VIEWPORT_CHANGED="viewportChanged",st.EVENT_SCROLLBAR_WIDTH_CHANGED="scrollbarWidthChanged",st.EVENT_FIRST_DATA_RENDERED="firstDataRendered",st.EVENT_DRAG_STARTED="dragStarted",st.EVENT_DRAG_STOPPED="dragStopped",st.EVENT_CHECKBOX_CHANGED="checkboxChanged",st.EVENT_ROW_EDITING_STARTED="rowEditingStarted",st.EVENT_ROW_EDITING_STOPPED="rowEditingStopped",st.EVENT_CELL_EDITING_STARTED="cellEditingStarted",st.EVENT_CELL_EDITING_STOPPED="cellEditingStopped",st.EVENT_BODY_SCROLL="bodyScroll",st.EVENT_BODY_SCROLL_END="bodyScrollEnd",st.EVENT_HEIGHT_SCALE_CHANGED="heightScaleChanged",st.EVENT_PAGINATION_CHANGED="paginationChanged",st.EVENT_COMPONENT_STATE_CHANGED="componentStateChanged",st.EVENT_STORE_REFRESHED="storeRefreshed",st.EVENT_STATE_UPDATED="stateUpdated",st.EVENT_COLUMN_MENU_VISIBLE_CHANGED="columnMenuVisibleChanged",st.EVENT_BODY_HEIGHT_CHANGED="bodyHeightChanged",st.EVENT_COLUMN_CONTAINER_WIDTH_CHANGED="columnContainerWidthChanged",st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED="displayedColumnsWidthChanged",st.EVENT_SCROLL_VISIBILITY_CHANGED="scrollVisibilityChanged",st.EVENT_COLUMN_HOVER_CHANGED="columnHoverChanged",st.EVENT_FLASH_CELLS="flashCells",st.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED="paginationPixelOffsetChanged",st.EVENT_DISPLAYED_ROWS_CHANGED="displayedRowsChanged",st.EVENT_LEFT_PINNED_WIDTH_CHANGED="leftPinnedWidthChanged",st.EVENT_RIGHT_PINNED_WIDTH_CHANGED="rightPinnedWidthChanged",st.EVENT_ROW_CONTAINER_HEIGHT_CHANGED="rowContainerHeightChanged",st.EVENT_HEADER_HEIGHT_CHANGED="headerHeightChanged",st.EVENT_COLUMN_HEADER_HEIGHT_CHANGED="columnHeaderHeightChanged",st.EVENT_ROW_DRAG_ENTER="rowDragEnter",st.EVENT_ROW_DRAG_MOVE="rowDragMove",st.EVENT_ROW_DRAG_LEAVE="rowDragLeave",st.EVENT_ROW_DRAG_END="rowDragEnd",st.EVENT_GRID_STYLES_CHANGED="gridStylesChanged",st.EVENT_POPUP_TO_FRONT="popupToFront",st.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST="columnRowGroupChangeRequest",st.EVENT_COLUMN_PIVOT_CHANGE_REQUEST="columnPivotChangeRequest",st.EVENT_COLUMN_VALUE_CHANGE_REQUEST="columnValueChangeRequest",st.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST="columnAggFuncChangeRequest",st.EVENT_STORE_UPDATED="storeUpdated",st.EVENT_FILTER_DESTROYED="filterDestroyed",st.EVENT_ROW_DATA_UPDATE_STARTED="rowDataUpdateStarted",st.EVENT_ROW_COUNT_READY="rowCountReady",st.EVENT_ADVANCED_FILTER_ENABLED_CHANGED="advancedFilterEnabledChanged",st.EVENT_DATA_TYPES_INFERRED="dataTypesInferred",st.EVENT_FIELD_VALUE_CHANGED="fieldValueChanged",st.EVENT_FIELD_PICKER_VALUE_SELECTED="fieldPickerValueSelected",st.EVENT_SIDE_BAR_UPDATED="sideBarUpdated";class gt{constructor(){this.existingIds={}}getInstanceIdForKey(e){const t=this.existingIds[e];let a;return a="number"!=typeof t?0:t+1,this.existingIds[e]=a,a}}var dt=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};const ct="ag-Grid-AutoColumn";let ut=class extends at{createAutoGroupColumns(e){const t=[],a=this.gridOptionsService.get("treeData");let r=this.gridOptionsService.isGroupMultiAutoColumn();return a&&r&&(console.warn('AG Grid: you cannot mix groupDisplayType = "multipleColumns" with treeData, only one column can be used to display groups when doing tree data'),r=!1),r?e.forEach((e,a)=>{t.push(this.createOneAutoGroupColumn(e,a))}):t.push(this.createOneAutoGroupColumn()),t}updateAutoGroupColumns(e,t){e.forEach((e,a)=>this.updateOneAutoGroupColumn(e,a,t))}createOneAutoGroupColumn(e,t){let a;a=e?`${ct}-${e.getId()}`:ct;const r=this.createAutoGroupColDef(a,e,t);r.colId=a;const o=new Ee(r,null,a,!0);return this.context.createBean(o),o}updateOneAutoGroupColumn(e,t,a){const r=e.getColDef(),o="string"==typeof r.showRowGroup?r.showRowGroup:void 0,i=null!=o?this.columnModel.getPrimaryColumn(o):void 0,n=this.createAutoGroupColDef(e.getId(),null!=i?i:void 0,t);e.setColDef(n,null,a),this.columnFactory.applyColumnState(e,n,a)}createAutoGroupColDef(e,t,a){let r=this.createBaseColDef(t);if(I(r,this.gridOptionsService.get("autoGroupColumnDef")),r=this.columnFactory.addColumnDefaultAndTypes(r,e),!this.gridOptionsService.get("treeData")){E(r.field)&&E(r.valueGetter)&&E(r.filterValueGetter)&&"agGroupColumnFilter"!==r.filter&&(r.filter=!1)}a&&a>0&&(r.headerCheckboxSelection=!1);const o=this.gridOptionsService.isColumnsSortingCoupledToGroup(),i=r.valueGetter||null!=r.field;return o&&!i&&(r.sortIndex=void 0,r.initialSort=void 0),r}createBaseColDef(e){const t=this.gridOptionsService.get("autoGroupColumnDef"),a={headerName:this.localeService.getLocaleTextFunc()("group","Group")};if(t&&(t.cellRenderer||t.cellRendererSelector)||(a.cellRenderer="agGroupCellRenderer"),e){const t=e.getColDef();Object.assign(a,{headerName:this.columnModel.getDisplayNameForColumn(e,"header"),headerValueGetter:t.headerValueGetter}),t.cellRenderer&&Object.assign(a,{cellRendererParams:{innerRenderer:t.cellRenderer,innerRendererParams:t.cellRendererParams}}),a.showRowGroup=e.getColId()}else a.showRowGroup=!0;return a}};dt([de("columnModel")],ut.prototype,"columnModel",void 0),dt([de("columnFactory")],ut.prototype,"columnFactory",void 0),ut=dt([ge("autoGroupColService")],ut);const pt=/[&<>"']/g,ht={"&":"&","<":"<",">":">",'"':""","'":"'"};function mt(e){const t=String.fromCharCode;function a(e,a){return t(e>>a&63|128)}function r(e){if(e>=0&&e<=31&&10!==e){return`_x${e.toString(16).toUpperCase().padStart(4,"0")}_`}if(0==(4294967168&e))return t(e);let r="";return 0==(4294965248&e)?r=t(e>>6&31|192):0==(4294901760&e)?(!function(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}(e),r=t(e>>12&15|224),r+=a(e,6)):0==(4292870144&e)&&(r=t(e>>18&7|240),r+=a(e,12),r+=a(e,6)),r+=t(63&e|128),r}const o=function(e){const t=[];if(!e)return[];const a=e.length;let r,o,i=0;for(;i<a;)r=e.charCodeAt(i++),r>=55296&&r<=56319&&i<a?(o=e.charCodeAt(i++),56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),i--)):t.push(r);return t}(e),i=o.length;let n,l=-1,s="";for(;++l<i;)n=o[l],s+=r(n);return s}function vt(e){return e[0].toUpperCase()+e.substring(1).toLowerCase()}function ft(e,t){if(null==e)return null;const a=e.toString().toString();return t?a:a.replace(pt,e=>ht[e])}function wt(e){if(!e||null==e)return null;return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z])([a-z])/g,"$1 $2$3").replace(/\./g," ").split(" ").map(e=>e.substring(0,1).toUpperCase()+(e.length>1?e.substring(1,e.length):"")).join(" ")}function bt(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLocaleLowerCase())}function Ct(e){const t=new Map;return e.forEach(e=>t.set(e[0],e[1])),t}function yt(e,t){const a=new Map;return e.forEach(e=>a.set(t(e),e)),a}function St(e){const t=[];return e.forEach((e,a)=>t.push(a)),t}var Et=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},Rt=function(e,t){return function(a,r){t(a,r,e)}},xt=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(a[r[o]]=e[r[o]])}return a};let kt=class extends at{constructor(){super(...arguments),this.primaryHeaderRowCount=0,this.secondaryHeaderRowCount=0,this.gridHeaderRowCount=0,this.displayedColumnsLeft=[],this.displayedColumnsRight=[],this.displayedColumnsCenter=[],this.displayedColumns=[],this.displayedColumnsAndGroupsMap={},this.viewportColumns=[],this.viewportColumnsHash="",this.headerViewportColumns=[],this.viewportColumnsCenter=[],this.headerViewportColumnsCenter=[],this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={},this.autoHeightActiveAtLeastOnce=!1,this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[],this.ready=!1,this.changeEventsDispatching=!1,this.autoGroupsNeedBuilding=!1,this.forceRecreateAutoGroups=!1,this.pivotMode=!1,this.bodyWidth=0,this.leftWidth=0,this.rightWidth=0,this.bodyWidthDirty=!0,this.shouldQueueResizeOperations=!1,this.resizeOperationQueue=[]}init(){this.suppressColumnVirtualisation=this.gridOptionsService.get("suppressColumnVirtualisation");const e=this.gridOptionsService.get("pivotMode");this.isPivotSettingAllowed(e)&&(this.pivotMode=e),this.addManagedPropertyListeners(["groupDisplayType","treeData","treeDataDisplayType","groupHideOpenParents"],e=>this.buildAutoGroupColumns(zt(e.source))),this.addManagedPropertyListener("autoGroupColumnDef",e=>this.onAutoGroupColumnDefChanged(zt(e.source))),this.addManagedPropertyListeners(["defaultColDef","columnTypes","suppressFieldDotNotation"],e=>this.onSharedColDefChanged(zt(e.source))),this.addManagedPropertyListener("pivotMode",e=>this.setPivotMode(this.gridOptionsService.get("pivotMode"),zt(e.source))),this.addManagedListener(this.eventService,st.EVENT_FIRST_DATA_RENDERED,()=>this.onFirstDataRendered())}buildAutoGroupColumns(e){this.columnDefs&&(this.autoGroupsNeedBuilding=!0,this.forceRecreateAutoGroups=!0,this.updateGridColumns(),this.updateDisplayedColumns(e))}onAutoGroupColumnDefChanged(e){this.groupAutoColumns&&this.autoGroupColService.updateAutoGroupColumns(this.groupAutoColumns,e)}onSharedColDefChanged(e){this.gridColumns&&(this.groupAutoColumns&&this.autoGroupColService.updateAutoGroupColumns(this.groupAutoColumns,e),this.createColumnsFromColumnDefs(!0,e))}setColumnDefs(e,t){const a=!!this.columnDefs;this.columnDefs=e,this.createColumnsFromColumnDefs(a,t)}recreateColumnDefs(e){this.onSharedColDefChanged(e)}destroyOldColumns(e,t){const a={};if(!e)return;this.columnUtils.depthFirstOriginalTreeSearch(null,e,e=>{a[e.getInstanceId()]=e}),t&&this.columnUtils.depthFirstOriginalTreeSearch(null,t,e=>{a[e.getInstanceId()]=null});const r=Object.values(a).filter(e=>null!=e);this.destroyBeans(r)}destroyColumns(){this.destroyOldColumns(this.primaryColumnTree),this.destroyOldColumns(this.secondaryBalancedTree),this.destroyOldColumns(this.groupAutoColsBalancedTree)}createColumnsFromColumnDefs(e,t){const a=e?this.compareColumnStatesAndDispatchEvents(t):void 0;this.valueCache.expire(),this.autoGroupsNeedBuilding=!0;const r=this.primaryColumns,o=this.primaryColumnTree,i=this.columnFactory.createColumnTree(this.columnDefs,!0,o,t);this.destroyOldColumns(this.primaryColumnTree,i.columnTree),this.primaryColumnTree=i.columnTree,this.primaryHeaderRowCount=i.treeDept+1,this.primaryColumns=this.getColumnsFromTree(this.primaryColumnTree),this.primaryColumnsMap={},this.primaryColumns.forEach(e=>this.primaryColumnsMap[e.getId()]=e),this.extractRowGroupColumns(t,r),this.extractPivotColumns(t,r),this.extractValueColumns(t,r),this.ready=!0;const n=void 0===this.gridColsArePrimary;(this.gridColsArePrimary||n||this.autoGroupsNeedBuilding)&&(this.updateGridColumns(),e&&this.gridColsArePrimary&&!this.gridOptionsService.get("maintainColumnOrder")&&this.orderGridColumnsLikePrimary(),this.updateDisplayedColumns(t),this.checkViewportColumns()),this.dispatchEverythingChanged(t),this.changeEventsDispatching=!0,a&&a(),this.changeEventsDispatching=!1,this.dispatchNewColumnsLoaded(t)}shouldRowModelIgnoreRefresh(){return this.changeEventsDispatching}dispatchNewColumnsLoaded(e){const t={type:st.EVENT_NEW_COLUMNS_LOADED,source:e};this.eventService.dispatchEvent(t),"gridInitializing"===e&&this.onColumnsReady()}dispatchEverythingChanged(e){const t={type:st.EVENT_COLUMN_EVERYTHING_CHANGED,source:e};this.eventService.dispatchEvent(t)}orderGridColumnsLikePrimary(){const e=this.primaryColumns;if(!e)return;const t=e.filter(e=>this.gridColumns.indexOf(e)>=0),a=this.gridColumns.filter(e=>t.indexOf(e)<0);this.gridColumns=[...a,...t],this.gridColumns=this.placeLockedColumns(this.gridColumns)}getAllDisplayedAutoHeightCols(){return this.displayedAutoHeightCols}setViewport(){this.gridOptionsService.get("enableRtl")?(this.viewportLeft=this.bodyWidth-this.scrollPosition-this.scrollWidth,this.viewportRight=this.bodyWidth-this.scrollPosition):(this.viewportLeft=this.scrollPosition,this.viewportRight=this.scrollWidth+this.scrollPosition)}getDisplayedColumnsStartingAt(e){let t=e;const a=[];for(;null!=t;)a.push(t),t=this.getDisplayedColAfter(t);return a}checkViewportColumns(e=!1){if(null==this.displayedColumnsCenter)return;if(!this.extractViewport())return;const t={type:st.EVENT_VIRTUAL_COLUMNS_CHANGED,afterScroll:e};this.eventService.dispatchEvent(t)}setViewportPosition(e,t,a=!1){(e!==this.scrollWidth||t!==this.scrollPosition||this.bodyWidthDirty)&&(this.scrollWidth=e,this.scrollPosition=t,this.bodyWidthDirty=!0,this.setViewport(),this.ready&&this.checkViewportColumns(a))}isPivotMode(){return this.pivotMode}isPivotSettingAllowed(e){return!e||!this.gridOptionsService.get("treeData")||(console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'"),!1)}setPivotMode(e,t){if(e===this.pivotMode||!this.isPivotSettingAllowed(this.pivotMode))return;if(this.pivotMode=e,!this.gridColumns)return;this.autoGroupsNeedBuilding=!0,this.updateGridColumns(),this.updateDisplayedColumns(t);const a={type:st.EVENT_COLUMN_PIVOT_MODE_CHANGED};this.eventService.dispatchEvent(a)}getSecondaryPivotColumn(e,t){if(E(this.secondaryColumns))return null;const a=this.getPrimaryColumn(t);let r=null;return this.secondaryColumns.forEach(t=>{const o=t.getColDef().pivotKeys,i=t.getColDef().pivotValueColumn;Ae(o,e)&&i===a&&(r=t)}),r}setBeans(e){this.logger=e.create("columnModel")}setFirstRightAndLastLeftPinned(e){let t,a;this.gridOptionsService.get("enableRtl")?(t=this.displayedColumnsLeft?this.displayedColumnsLeft[0]:null,a=this.displayedColumnsRight?Te(this.displayedColumnsRight):null):(t=this.displayedColumnsLeft?Te(this.displayedColumnsLeft):null,a=this.displayedColumnsRight?this.displayedColumnsRight[0]:null),this.gridColumns.forEach(r=>{r.setLastLeftPinned(r===t,e),r.setFirstRightPinned(r===a,e)})}autoSizeColumns(e){if(this.shouldQueueResizeOperations)return void this.resizeOperationQueue.push(()=>this.autoSizeColumns(e));const{columns:t,skipHeader:a,skipHeaderGroups:r,stopAtGroup:o,source:i="api"}=e;this.animationFrameService.flushAllFrames();const n=[];let l=-1;const s=null!=a?a:this.gridOptionsService.get("skipHeaderOnAutoSize"),g=null!=r?r:s;for(;0!==l;)l=0,this.actionOnGridColumns(t,e=>{if(n.indexOf(e)>=0)return!1;const t=this.autoWidthCalculator.getPreferredWidthForColumn(e,s);if(t>0){const a=this.normaliseColumnWidth(e,t);e.setActualWidth(a,i),n.push(e),l++}return!0},i);g||this.autoSizeColumnGroupsByColumns(t,i,o),this.dispatchColumnResizedEvent(n,!0,"autosizeColumns")}dispatchColumnResizedEvent(e,t,a,r=null){if(e&&e.length){const o={type:st.EVENT_COLUMN_RESIZED,columns:e,column:1===e.length?e[0]:null,flexColumns:r,finished:t,source:a};this.eventService.dispatchEvent(o)}}dispatchColumnChangedEvent(e,t,a){const r={type:e,columns:t,column:t&&1==t.length?t[0]:null,source:a};this.eventService.dispatchEvent(r)}dispatchColumnMovedEvent(e){const{movedColumns:t,source:a,toIndex:r,finished:o}=e,i={type:st.EVENT_COLUMN_MOVED,columns:t,column:t&&1===t.length?t[0]:null,toIndex:r,finished:o,source:a};this.eventService.dispatchEvent(i)}dispatchColumnPinnedEvent(e,t){if(!e.length)return;const a=1===e.length?e[0]:null,r=this.getCommonValue(e,e=>e.getPinned()),o={type:st.EVENT_COLUMN_PINNED,pinned:null!=r?r:null,columns:e,column:a,source:t};this.eventService.dispatchEvent(o)}dispatchColumnVisibleEvent(e,t){if(!e.length)return;const a=1===e.length?e[0]:null,r=this.getCommonValue(e,e=>e.isVisible()),o={type:st.EVENT_COLUMN_VISIBLE,visible:r,columns:e,column:a,source:t};this.eventService.dispatchEvent(o)}autoSizeColumn(e,t,a){e&&this.autoSizeColumns({columns:[e],skipHeader:a,skipHeaderGroups:!0,source:t})}autoSizeColumnGroupsByColumns(e,t,a){const r=new Set;let o;this.getGridColumns(e).forEach(e=>{let t=e.getParent();for(;t&&t!=a;)t.isPadding()||r.add(t),t=t.getParent()});for(const e of r){for(const t of this.ctrlsService.getHeaderRowContainerCtrls())if(o=t.getHeaderCtrlForColumn(e),o)break;o&&o.resizeLeafColumnsToFit(t)}return[]}autoSizeAllColumns(e,t){if(this.shouldQueueResizeOperations)return void this.resizeOperationQueue.push(()=>this.autoSizeAllColumns(e,t));const a=this.getAllDisplayedColumns();this.autoSizeColumns({columns:a,skipHeader:t,source:e})}getColumnsFromTree(e){const t=[],a=e=>{for(let r=0;r<e.length;r++){const o=e[r];o instanceof Ee?t.push(o):o instanceof xe&&a(o.getChildren())}};return a(e),t}getAllDisplayedTrees(){return this.displayedTreeLeft&&this.displayedTreeRight&&this.displayedTreeCentre?this.displayedTreeLeft.concat(this.displayedTreeCentre).concat(this.displayedTreeRight):null}getPrimaryColumnTree(){return this.primaryColumnTree}getHeaderRowCount(){return this.gridHeaderRowCount}getDisplayedTreeLeft(){return this.displayedTreeLeft}getDisplayedTreeRight(){return this.displayedTreeRight}getDisplayedTreeCentre(){return this.displayedTreeCentre}isColumnDisplayed(e){return this.getAllDisplayedColumns().indexOf(e)>=0}getAllDisplayedColumns(){return this.displayedColumns}getViewportColumns(){return this.viewportColumns}getDisplayedLeftColumnsForRow(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsLeft):this.displayedColumnsLeft}getDisplayedRightColumnsForRow(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsRight):this.displayedColumnsRight}isColSpanActive(){return this.colSpanActive}getDisplayedColumnsForRow(e,t,a,r){const o=[];let i=null;for(let n=0;n<t.length;n++){const l=t[n],s=t.length-n,g=Math.min(l.getColSpan(e),s),d=[l];if(g>1){const e=g-1;for(let a=1;a<=e;a++)d.push(t[n+a]);n+=e}let c;if(a?(c=!1,d.forEach(e=>{a(e)&&(c=!0)})):c=!0,c){if(0===o.length&&i){!!r&&r(l)&&o.push(i)}o.push(l)}i=l}return o}getViewportCenterColumnsForRow(e){if(!this.colSpanActive)return this.viewportColumnsCenter;const t=this.isColumnVirtualisationSuppressed()?null:this.isColumnInRowViewport.bind(this);return this.getDisplayedColumnsForRow(e,this.displayedColumnsCenter,t,e=>{const t=e.getLeft();return S(t)&&t>this.viewportLeft})}isColumnAtEdge(e,t){const a=this.getAllDisplayedColumns();if(!a.length)return!1;const r="first"===t;let o;if(e instanceof lt){const t=e.getDisplayedLeafColumns();if(!t.length)return!1;o=r?t[0]:Te(t)}else o=e;return(r?a[0]:Te(a))===o}getAriaColumnIndex(e){let t;return t=e instanceof lt?e.getLeafColumns()[0]:e,this.ariaOrderColumns.indexOf(t)+1}isColumnInHeaderViewport(e){return!!e.isAutoHeaderHeight()||this.isColumnInRowViewport(e)}isColumnInRowViewport(e){if(e.isAutoHeight())return!0;const t=e.getLeft()||0,a=t+e.getActualWidth(),r=this.viewportLeft-200,o=this.viewportRight+200;return!(t<r&&a<r)&&!(t>o&&a>o)}getDisplayedColumnsLeftWidth(){return this.getWidthOfColsInList(this.displayedColumnsLeft)}getDisplayedColumnsRightWidth(){return this.getWidthOfColsInList(this.displayedColumnsRight)}updatePrimaryColumnList(e,t,a,r,o,i){if(!e||R(e))return;let n=!1;if(e.forEach(e=>{if(!e)return;const o=this.getPrimaryColumn(e);if(o){if(a){if(t.indexOf(o)>=0)return;t.push(o)}else{if(t.indexOf(o)<0)return;Le(t,o)}r(o),n=!0}}),!n)return;this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(i);const l={type:o,columns:t,column:1===t.length?t[0]:null,source:i};this.eventService.dispatchEvent(l)}setRowGroupColumns(e,t){this.autoGroupsNeedBuilding=!0,this.setPrimaryColumnList(e,this.rowGroupColumns,st.EVENT_COLUMN_ROW_GROUP_CHANGED,!0,this.setRowGroupActive.bind(this),t)}setRowGroupActive(e,t,a){e!==t.isRowGroupActive()&&(t.setRowGroupActive(e,a),e&&!this.gridOptionsService.get("suppressRowGroupHidesColumns")&&this.setColumnsVisible([t],!1,a),e||this.gridOptionsService.get("suppressMakeColumnVisibleAfterUnGroup")||this.setColumnsVisible([t],!0,a))}addRowGroupColumns(e,t){this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!0,this.setRowGroupActive.bind(this,!0),st.EVENT_COLUMN_ROW_GROUP_CHANGED,t)}removeRowGroupColumns(e,t){this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!1,this.setRowGroupActive.bind(this,!1),st.EVENT_COLUMN_ROW_GROUP_CHANGED,t)}addPivotColumns(e,t){this.updatePrimaryColumnList(e,this.pivotColumns,!0,e=>e.setPivotActive(!0,t),st.EVENT_COLUMN_PIVOT_CHANGED,t)}setPivotColumns(e,t){this.setPrimaryColumnList(e,this.pivotColumns,st.EVENT_COLUMN_PIVOT_CHANGED,!0,(e,a)=>{a.setPivotActive(e,t)},t)}removePivotColumns(e,t){this.updatePrimaryColumnList(e,this.pivotColumns,!1,e=>e.setPivotActive(!1,t),st.EVENT_COLUMN_PIVOT_CHANGED,t)}setPrimaryColumnList(e,t,a,r,o,i){if(!this.gridColumns)return;const n=new Map;t.forEach((e,t)=>n.set(e,t)),t.length=0,S(e)&&e.forEach(e=>{const a=this.getPrimaryColumn(e);a&&t.push(a)}),t.forEach((e,t)=>{const a=n.get(e);void 0!==a?r&&a!==t||n.delete(e):n.set(e,0)}),(this.primaryColumns||[]).forEach(e=>{const a=t.indexOf(e)>=0;o(a,e)}),this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(i),this.dispatchColumnChangedEvent(a,[...n.keys()],i)}setValueColumns(e,t){this.setPrimaryColumnList(e,this.valueColumns,st.EVENT_COLUMN_VALUE_CHANGED,!1,this.setValueActive.bind(this),t)}setValueActive(e,t,a){if(e!==t.isValueActive()&&(t.setValueActive(e,a),e&&!t.getAggFunc())){const e=this.aggFuncService.getDefaultAggFunc(t);t.setAggFunc(e)}}addValueColumns(e,t){this.updatePrimaryColumnList(e,this.valueColumns,!0,this.setValueActive.bind(this,!0),st.EVENT_COLUMN_VALUE_CHANGED,t)}removeValueColumns(e,t){this.updatePrimaryColumnList(e,this.valueColumns,!1,this.setValueActive.bind(this,!1),st.EVENT_COLUMN_VALUE_CHANGED,t)}normaliseColumnWidth(e,t){const a=e.getMinWidth();S(a)&&t<a&&(t=a);const r=e.getMaxWidth();return S(r)&&e.isGreaterThanMax(t)&&(t=r),t}getPrimaryOrGridColumn(e){return this.getPrimaryColumn(e)||this.getGridColumn(e)}setColumnWidths(e,t,a,r){const o=[];e.forEach(e=>{const a=this.getPrimaryOrGridColumn(e.key);if(!a)return;o.push({width:e.newWidth,ratios:[1],columns:[a]});if("shift"===this.gridOptionsService.get("colResizeDefault")&&(t=!t),t){const t=this.getDisplayedColAfter(a);if(!t)return;const r=a.getActualWidth()-e.newWidth,i=t.getActualWidth()+r;o.push({width:i,ratios:[1],columns:[t]})}}),0!==o.length&&this.resizeColumnSets({resizeSets:o,finished:a,source:r})}checkMinAndMaxWidthsForSet(e){const{columns:t,width:a}=e;let r=0,o=0,i=!0;t.forEach(e=>{const t=e.getMinWidth();r+=t||0;const a=e.getMaxWidth();S(a)&&a>0?o+=a:i=!1});return a>=r&&(!i||a<=o)}resizeColumnSets(e){const{resizeSets:t,finished:a,source:r}=e;if(!(!t||t.every(e=>this.checkMinAndMaxWidthsForSet(e)))){if(a){const e=t&&t.length>0?t[0].columns:null;this.dispatchColumnResizedEvent(e,a,r)}return}const o=[],i=[];t.forEach(e=>{const{width:t,columns:a,ratios:n}=e,l={},s={};a.forEach(e=>i.push(e));let g=!0,d=0;for(;g;){if(d++,d>1e3){console.error("AG Grid: infinite loop in resizeColumnSets");break}g=!1;const e=[];let r=0,o=t;a.forEach((t,a)=>{if(s[t.getId()])o-=l[t.getId()];else{e.push(t);const o=n[a];r+=o}});const i=1/r;e.forEach((a,r)=>{let d;r===e.length-1?d=o:(d=Math.round(n[r]*t*i),o-=d);const c=a.getMinWidth(),u=a.getMaxWidth();S(c)&&d<c?(d=c,s[a.getId()]=!0,g=!0):S(u)&&u>0&&d>u&&(d=u,s[a.getId()]=!0,g=!0),l[a.getId()]=d})}a.forEach(e=>{const t=l[e.getId()];e.getActualWidth()!==t&&(e.setActualWidth(t,r),o.push(e))})});const n=o.length>0;let l=[];n&&(l=this.refreshFlexedColumns({resizingCols:i,skipSetLeft:!0}),this.setLeftValues(r),this.updateBodyWidths(),this.checkViewportColumns());const s=i.concat(l);(n||a)&&this.dispatchColumnResizedEvent(s,a,r,l)}setColumnAggFunc(e,t,a){if(!e)return;const r=this.getPrimaryColumn(e);r&&(r.setAggFunc(t),this.dispatchColumnChangedEvent(st.EVENT_COLUMN_VALUE_CHANGED,[r],a))}moveRowGroupColumn(e,t,a){if(this.isRowGroupEmpty())return;const r=this.rowGroupColumns[e],o=this.rowGroupColumns.slice(e,t);this.rowGroupColumns.splice(e,1),this.rowGroupColumns.splice(t,0,r);const i={type:st.EVENT_COLUMN_ROW_GROUP_CHANGED,columns:o,column:1===o.length?o[0]:null,source:a};this.eventService.dispatchEvent(i)}moveColumns(e,t,a,r=!0){if(!this.gridColumns)return;if(this.columnAnimationService.start(),t>this.gridColumns.length-e.length)return console.warn("AG Grid: tried to insert columns in invalid location, toIndex = "+t),void console.warn("AG Grid: remember that you should not count the moving columns when calculating the new index");const o=this.getGridColumns(e);!this.doesMovePassRules(o,t)||(Ve(this.gridColumns,o,t),this.updateDisplayedColumns(a),this.dispatchColumnMovedEvent({movedColumns:o,source:a,toIndex:t,finished:r}),this.columnAnimationService.finish())}doesMovePassRules(e,t){const a=this.getProposedColumnOrder(e,t);return this.doesOrderPassRules(a)}doesOrderPassRules(e){return!!this.doesMovePassMarryChildren(e)&&!!this.doesMovePassLockedPositions(e)}getProposedColumnOrder(e,t){const a=this.gridColumns.slice();return Ve(a,e,t),a}sortColumnsLikeGridColumns(e){if(!e||e.length<=1)return;e.filter(e=>this.gridColumns.indexOf(e)<0).length>0||e.sort((e,t)=>this.gridColumns.indexOf(e)-this.gridColumns.indexOf(t))}doesMovePassLockedPositions(e){let t=0,a=!0;return e.forEach(e=>{const r=(o=e.getColDef().lockPosition)?!0===o||"left"===o?0:2:1;var o;r<t&&(a=!1),t=r}),a}doesMovePassMarryChildren(e){let t=!0;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,a=>{if(!(a instanceof xe))return;const r=a,o=r.getColGroupDef();if(!(o&&o.marryChildren))return;const i=[];r.getLeafColumns().forEach(t=>{const a=e.indexOf(t);i.push(a)});Math.max.apply(Math,i)-Math.min.apply(Math,i)>r.getLeafColumns().length-1&&(t=!1)}),t}moveColumnByIndex(e,t,a){if(!this.gridColumns)return;const r=this.gridColumns[e];this.moveColumns([r],t,a)}getColumnDefs(){if(!this.primaryColumns)return;const e=this.primaryColumns.slice();return this.gridColsArePrimary?e.sort((e,t)=>this.gridColumns.indexOf(e)-this.gridColumns.indexOf(t)):this.lastPrimaryOrder&&e.sort((e,t)=>this.lastPrimaryOrder.indexOf(e)-this.lastPrimaryOrder.indexOf(t)),this.columnDefFactory.buildColumnDefs(e,this.rowGroupColumns,this.pivotColumns)}getBodyContainerWidth(){return this.bodyWidth}getContainerWidth(e){switch(e){case"left":return this.leftWidth;case"right":return this.rightWidth;default:return this.bodyWidth}}updateBodyWidths(){const e=this.getWidthOfColsInList(this.displayedColumnsCenter),t=this.getWidthOfColsInList(this.displayedColumnsLeft),a=this.getWidthOfColsInList(this.displayedColumnsRight);this.bodyWidthDirty=this.bodyWidth!==e;if(this.bodyWidth!==e||this.leftWidth!==t||this.rightWidth!==a){this.bodyWidth=e,this.leftWidth=t,this.rightWidth=a;const r={type:st.EVENT_COLUMN_CONTAINER_WIDTH_CHANGED};this.eventService.dispatchEvent(r);const o={type:st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED};this.eventService.dispatchEvent(o)}}getValueColumns(){return this.valueColumns?this.valueColumns:[]}getPivotColumns(){return this.pivotColumns?this.pivotColumns:[]}isPivotActive(){return this.pivotColumns&&this.pivotColumns.length>0&&this.pivotMode}getRowGroupColumns(){return this.rowGroupColumns?this.rowGroupColumns:[]}getDisplayedCenterColumns(){return this.displayedColumnsCenter}getDisplayedLeftColumns(){return this.displayedColumnsLeft}getDisplayedRightColumns(){return this.displayedColumnsRight}getDisplayedColumns(e){switch(e){case"left":return this.getDisplayedLeftColumns();case"right":return this.getDisplayedRightColumns();default:return this.getDisplayedCenterColumns()}}getAllPrimaryColumns(){return this.primaryColumns?this.primaryColumns:null}getSecondaryColumns(){return this.secondaryColumns?this.secondaryColumns:null}getAllColumnsForQuickFilter(){return this.columnsForQuickFilter}getAllGridColumns(){var e;return null!==(e=this.gridColumns)&&void 0!==e?e:[]}isEmpty(){return R(this.gridColumns)}isRowGroupEmpty(){return R(this.rowGroupColumns)}setColumnsVisible(e,t=!1,a){this.applyColumnState({state:e.map(e=>({colId:"string"==typeof e?e:e.getColId(),hide:!t}))},a)}setColumnsPinned(e,t,a){if(!this.gridColumns)return;if(this.gridOptionsService.isDomLayout("print"))return void console.warn("AG Grid: Changing the column pinning status is not allowed with domLayout='print'");let r;this.columnAnimationService.start(),r=!0===t||"left"===t?"left":"right"===t?"right":null,this.actionOnGridColumns(e,e=>e.getPinned()!==r&&(e.setPinned(r),!0),a,()=>({type:st.EVENT_COLUMN_PINNED,pinned:r,column:null,columns:null,source:a})),this.columnAnimationService.finish()}actionOnGridColumns(e,t,a,r){if(R(e))return;const o=[];if(e.forEach(e=>{if(!e)return;const a=this.getGridColumn(e);if(!a)return;!1!==t(a)&&o.push(a)}),o.length&&(this.updateDisplayedColumns(a),S(r)&&r)){const e=r();e.columns=o,e.column=1===o.length?o[0]:null,this.eventService.dispatchEvent(e)}}getDisplayedColBefore(e){const t=this.getAllDisplayedColumns(),a=t.indexOf(e);return a>0?t[a-1]:null}getDisplayedColAfter(e){const t=this.getAllDisplayedColumns(),a=t.indexOf(e);return a<t.length-1?t[a+1]:null}getDisplayedGroupAfter(e){return this.getDisplayedGroupAtDirection(e,"After")}getDisplayedGroupBefore(e){return this.getDisplayedGroupAtDirection(e,"Before")}getDisplayedGroupAtDirection(e,t){const a=e.getProvidedColumnGroup().getLevel()+e.getPaddingLevel(),r=e.getDisplayedLeafColumns(),o="After"===t?Te(r):r[0],i="getDisplayedCol"+t;for(;;){const t=this[i](o);if(!t)return null;const r=this.getColumnGroupAtLevel(t,a);if(r!==e)return r}}getColumnGroupAtLevel(e,t){let a,r,o=e.getParent();for(;;){if(a=o.getProvidedColumnGroup().getLevel(),r=o.getPaddingLevel(),a+r<=t)break;o=o.getParent()}return o}isPinningLeft(){return this.displayedColumnsLeft.length>0}isPinningRight(){return this.displayedColumnsRight.length>0}getPrimaryAndSecondaryAndAutoColumns(){return[].concat(this.primaryColumns||[],this.groupAutoColumns||[],this.secondaryColumns||[])}createStateItemFromColumn(e){const t=e.isRowGroupActive()?this.rowGroupColumns.indexOf(e):null,a=e.isPivotActive()?this.pivotColumns.indexOf(e):null,r=e.isValueActive()?e.getAggFunc():null,o=null!=e.getSort()?e.getSort():null,i=null!=e.getSortIndex()?e.getSortIndex():null,n=null!=e.getFlex()&&e.getFlex()>0?e.getFlex():null;return{colId:e.getColId(),width:e.getActualWidth(),hide:!e.isVisible(),pinned:e.getPinned(),sort:o,sortIndex:i,aggFunc:r,rowGroup:e.isRowGroupActive(),rowGroupIndex:t,pivot:e.isPivotActive(),pivotIndex:a,flex:n}}getColumnState(){if(E(this.primaryColumns)||!this.isAlive())return[];const e=this.getPrimaryAndSecondaryAndAutoColumns().map(this.createStateItemFromColumn.bind(this));return this.orderColumnStateList(e),e}orderColumnStateList(e){const t=Ct(this.gridColumns.map((e,t)=>[e.getColId(),t]));e.sort((e,a)=>(t.has(e.colId)?t.get(e.colId):-1)-(t.has(a.colId)?t.get(a.colId):-1))}resetColumnState(e){if(R(this.primaryColumns))return;const t=this.getColumnsFromTree(this.primaryColumnTree),a=[];let r=1e3,o=1e3,i=[];this.groupAutoColumns&&(i=i.concat(this.groupAutoColumns)),t&&(i=i.concat(t)),i.forEach(e=>{const t=this.getColumnStateFromColDef(e);E(t.rowGroupIndex)&&t.rowGroup&&(t.rowGroupIndex=r++),E(t.pivotIndex)&&t.pivot&&(t.pivotIndex=o++),a.push(t)}),this.applyColumnState({state:a,applyOrder:!0},e)}getColumnStateFromColDef(e){const t=(e,t)=>null!=e?e:null!=t?t:null,a=e.getColDef(),r=t(a.sort,a.initialSort),o=t(a.sortIndex,a.initialSortIndex),i=t(a.hide,a.initialHide),n=t(a.pinned,a.initialPinned),l=t(a.width,a.initialWidth),s=t(a.flex,a.initialFlex);let g=t(a.rowGroupIndex,a.initialRowGroupIndex),d=t(a.rowGroup,a.initialRowGroup);null!=g||null!=d&&0!=d||(g=null,d=null);let c=t(a.pivotIndex,a.initialPivotIndex),u=t(a.pivot,a.initialPivot);null!=c||null!=u&&0!=u||(c=null,u=null);const p=t(a.aggFunc,a.initialAggFunc);return{colId:e.getColId(),sort:r,sortIndex:o,hide:i,pinned:n,width:l,flex:s,rowGroup:d,rowGroupIndex:g,pivot:u,pivotIndex:c,aggFunc:p}}applyColumnState(e,t){if(R(this.primaryColumns))return!1;if(e&&e.state&&!e.state.forEach)return console.warn("AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state."),!1;const a=(a,r,o)=>{const i=this.compareColumnStatesAndDispatchEvents(t);this.autoGroupsNeedBuilding=!0;const n=r.slice(),l={},s={},g=[],d=[];let c=0;const u=this.rowGroupColumns.slice(),p=this.pivotColumns.slice();a.forEach(a=>{const r=a.colId||"";if(r.startsWith(ct))return g.push(a),void d.push(a);const i=o(r);i?(this.syncColumnWithStateItem(i,a,e.defaultState,l,s,!1,t),Le(n,i)):(d.push(a),c+=1)});const h=a=>this.syncColumnWithStateItem(a,null,e.defaultState,l,s,!1,t);n.forEach(h);const m=(e,t,a,r)=>{const o=e[a.getId()],i=e[r.getId()],n=null!=o,l=null!=i;if(n&&l)return o-i;if(n)return-1;if(l)return 1;const s=t.indexOf(a),g=t.indexOf(r),d=s>=0;return d&&g>=0?s-g:d?-1:1};this.rowGroupColumns.sort(m.bind(this,l,u)),this.pivotColumns.sort(m.bind(this,s,p)),this.updateGridColumns();const v=this.groupAutoColumns?this.groupAutoColumns.slice():[];return g.forEach(a=>{const r=this.getAutoColumn(a.colId);Le(v,r),this.syncColumnWithStateItem(r,a,e.defaultState,null,null,!0,t)}),v.forEach(h),this.applyOrderAfterApplyState(e),this.updateDisplayedColumns(t),this.dispatchEverythingChanged(t),i(),{unmatchedAndAutoStates:d,unmatchedCount:c}};this.columnAnimationService.start();let{unmatchedAndAutoStates:r,unmatchedCount:o}=a(e.state||[],this.primaryColumns||[],e=>this.getPrimaryColumn(e));return(r.length>0||S(e.defaultState))&&(o=a(r,this.secondaryColumns||[],e=>this.getSecondaryColumn(e)).unmatchedCount),this.columnAnimationService.finish(),0===o}applyOrderAfterApplyState(e){if(!e.applyOrder||!e.state)return;let t=[];const a={};e.state.forEach(e=>{if(!e.colId||a[e.colId])return;const r=this.gridColumnsMap[e.colId];r&&(t.push(r),a[e.colId]=!0)});let r=0;this.gridColumns.forEach(e=>{const o=e.getColId();if(null!=a[o])return;o.startsWith(ct)?Ie(t,e,r++):t.push(e)}),t=this.placeLockedColumns(t),this.doesMovePassMarryChildren(t)?this.gridColumns=t:console.warn("AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.")}compareColumnStatesAndDispatchEvents(e){const t={rowGroupColumns:this.rowGroupColumns.slice(),pivotColumns:this.pivotColumns.slice(),valueColumns:this.valueColumns.slice()},a=this.getColumnState(),r={};return a.forEach(e=>{r[e.colId]=e}),()=>{const o=this.getPrimaryAndSecondaryAndAutoColumns(),i=(t,a,r,o)=>{if(Ae(a.map(o),r.map(o)))return;const i=new Set(a);r.forEach(e=>{i.delete(e)||i.add(e)});const n=[...i],l={type:t,columns:n,column:1===n.length?n[0]:null,source:e};this.eventService.dispatchEvent(l)},n=e=>{const t=[];return o.forEach(a=>{const o=r[a.getColId()];o&&e(o,a)&&t.push(a)}),t},l=e=>e.getColId();i(st.EVENT_COLUMN_ROW_GROUP_CHANGED,t.rowGroupColumns,this.rowGroupColumns,l),i(st.EVENT_COLUMN_PIVOT_CHANGED,t.pivotColumns,this.pivotColumns,l);const s=n((e,t)=>{const a=null!=e.aggFunc,r=a!=t.isValueActive(),o=a&&e.aggFunc!=t.getAggFunc();return r||o});s.length>0&&this.dispatchColumnChangedEvent(st.EVENT_COLUMN_VALUE_CHANGED,s,e);this.dispatchColumnResizedEvent(n((e,t)=>e.width!=t.getActualWidth()),!0,e);this.dispatchColumnPinnedEvent(n((e,t)=>e.pinned!=t.getPinned()),e);this.dispatchColumnVisibleEvent(n((e,t)=>e.hide==t.isVisible()),e);const g=n((e,t)=>e.sort!=t.getSort()||e.sortIndex!=t.getSortIndex());g.length>0&&this.sortController.dispatchSortChangedEvents(e,g),this.normaliseColumnMovedEventForColumnState(a,e)}}getCommonValue(e,t){if(!e||0==e.length)return;const a=t(e[0]);for(let r=1;r<e.length;r++)if(a!==t(e[r]))return;return a}normaliseColumnMovedEventForColumnState(e,t){const a=this.getColumnState(),r={};a.forEach(e=>r[e.colId]=e);const o={};e.forEach(e=>{r[e.colId]&&(o[e.colId]=!0)});const i=e.filter(e=>o[e.colId]),n=a.filter(e=>o[e.colId]),l=[];n.forEach((e,t)=>{const a=i&&i[t];if(a&&a.colId!==e.colId){const e=this.getGridColumn(a.colId);e&&l.push(e)}}),l.length&&this.dispatchColumnMovedEvent({movedColumns:l,source:t,finished:!0})}syncColumnWithStateItem(e,t,a,r,o,i,n){if(!e)return;const l=(e,r)=>{const o={value1:void 0,value2:void 0};let i=!1;return t&&(void 0!==t[e]&&(o.value1=t[e],i=!0),S(r)&&void 0!==t[r]&&(o.value2=t[r],i=!0)),!i&&a&&(void 0!==a[e]&&(o.value1=a[e]),S(r)&&void 0!==a[r]&&(o.value2=a[r])),o},s=l("hide").value1;void 0!==s&&e.setVisible(!s,n);const g=l("pinned").value1;void 0!==g&&e.setPinned(g);const d=this.columnUtils.calculateColMinWidth(e.getColDef()),c=l("flex").value1;if(void 0!==c&&e.setFlex(c),null==c){const t=l("width").value1;null!=t&&null!=d&&t>=d&&e.setActualWidth(t,n)}const u=l("sort").value1;void 0!==u&&("desc"===u||"asc"===u?e.setSort(u,n):e.setSort(void 0,n));const p=l("sortIndex").value1;if(void 0!==p&&e.setSortIndex(p),i||!e.isPrimary())return;const h=l("aggFunc").value1;void 0!==h&&("string"==typeof h?(e.setAggFunc(h),e.isValueActive()||(e.setValueActive(!0,n),this.valueColumns.push(e))):(S(h)&&console.warn("AG Grid: stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it is intended for the column state to be stored and retrieved as simple JSON."),e.isValueActive()&&(e.setValueActive(!1,n),Le(this.valueColumns,e))));const{value1:m,value2:v}=l("rowGroup","rowGroupIndex");void 0===m&&void 0===v||("number"==typeof v||m?(e.isRowGroupActive()||(e.setRowGroupActive(!0,n),this.rowGroupColumns.push(e)),r&&"number"==typeof v&&(r[e.getId()]=v)):e.isRowGroupActive()&&(e.setRowGroupActive(!1,n),Le(this.rowGroupColumns,e)));const{value1:f,value2:w}=l("pivot","pivotIndex");void 0===f&&void 0===w||("number"==typeof w||f?(e.isPivotActive()||(e.setPivotActive(!0,n),this.pivotColumns.push(e)),o&&"number"==typeof w&&(o[e.getId()]=w)):e.isPivotActive()&&(e.setPivotActive(!1,n),Le(this.pivotColumns,e)))}getGridColumns(e){return this.getColumns(e,this.getGridColumn.bind(this))}getColumns(e,t){const a=[];return e&&e.forEach(e=>{const r=t(e);r&&a.push(r)}),a}getColumnWithValidation(e){if(null==e)return null;const t=this.getGridColumn(e);return t||console.warn("AG Grid: could not find column "+e),t}getPrimaryColumn(e){return this.primaryColumns?this.getColumn(e,this.primaryColumns,this.primaryColumnsMap):null}getGridColumn(e){return this.getColumn(e,this.gridColumns,this.gridColumnsMap)}lookupGridColumn(e){return this.gridColumnsMap[e]}getSecondaryColumn(e){return this.secondaryColumns?this.getColumn(e,this.secondaryColumns,this.secondaryColumnsMap):null}getColumn(e,t,a){if(!e||!a)return null;if("string"==typeof e&&a[e])return a[e];for(let a=0;a<t.length;a++)if(this.columnsMatch(t[a],e))return t[a];return this.getAutoColumn(e)}getSourceColumnsForGroupColumn(e){const t=e.getColDef().showRowGroup;if(!t)return null;if(!0===t)return this.rowGroupColumns.slice(0);const a=this.getPrimaryColumn(t);return a?[a]:null}getAutoColumn(e){return this.groupAutoColumns&&S(this.groupAutoColumns)&&!E(this.groupAutoColumns)&&this.groupAutoColumns.find(t=>this.columnsMatch(t,e))||null}columnsMatch(e,t){const a=e===t,r=e.getColDef()===t,o=e.getColId()==t;return a||r||o}getDisplayNameForColumn(e,t,a=!1){if(!e)return null;const r=this.getHeaderName(e.getColDef(),e,null,null,t);return a?this.wrapHeaderNameWithAggFunc(e,r):r}getDisplayNameForProvidedColumnGroup(e,t,a){const r=t?t.getColGroupDef():null;return r?this.getHeaderName(r,null,e,t,a):null}getDisplayNameForColumnGroup(e,t){return this.getDisplayNameForProvidedColumnGroup(e,e.getProvidedColumnGroup(),t)}getHeaderName(e,t,a,r,o){const i=e.headerValueGetter;if(i){const n=this.gridOptionsService.addGridCommonParams({colDef:e,column:t,columnGroup:a,providedColumnGroup:r,location:o});return"function"==typeof i?i(n):"string"==typeof i?this.expressionService.evaluate(i,n):(console.warn("AG Grid: headerValueGetter must be a function or a string"),"")}return null!=e.headerName?e.headerName:e.field?wt(e.field):""}wrapHeaderNameWithAggFunc(e,t){if(this.gridOptionsService.get("suppressAggFuncInHeader"))return t;const a=e.getColDef().pivotValueColumn;let r,o=null;if(S(a)){const i=this.gridOptionsService.get("removePivotHeaderRowWhenSingleValueColumn")&&1===this.valueColumns.length,n=void 0!==e.getColDef().pivotTotalColumnIds;if(i&&!n)return t;o=a?a.getAggFunc():null,r=!0}else{const t=e.isValueActive(),a=this.pivotMode||!this.isRowGroupEmpty();t&&a?(o=e.getAggFunc(),r=!0):r=!1}if(r){const e="string"==typeof o?o:"func";return`${this.localeService.getLocaleTextFunc()(e,e)}(${t})`}return t}getColumnGroup(e,t){if(!e)return null;if(e instanceof lt)return e;const a=this.getAllDisplayedTrees(),r="number"==typeof t;let o=null;return this.columnUtils.depthFirstAllColumnTreeSearch(a,a=>{if(a instanceof lt){const i=a;let n;n=r?e===i.getGroupId()&&t===i.getPartId():e===i.getGroupId(),n&&(o=i)}}),o}isReady(){return this.ready}extractValueColumns(e,t){this.valueColumns=this.extractColumns(t,this.valueColumns,(t,a)=>t.setValueActive(a,e),()=>{},()=>{},e=>{const t=e.aggFunc;return null===t||""===t?null:void 0!==t?!!t:void 0},e=>null!=e.initialAggFunc&&""!=e.initialAggFunc),this.valueColumns.forEach(e=>{const t=e.getColDef();null!=t.aggFunc&&""!=t.aggFunc?e.setAggFunc(t.aggFunc):e.getAggFunc()||e.setAggFunc(t.initialAggFunc)})}extractRowGroupColumns(e,t){this.rowGroupColumns=this.extractColumns(t,this.rowGroupColumns,(t,a)=>t.setRowGroupActive(a,e),e=>e.rowGroupIndex,e=>e.initialRowGroupIndex,e=>e.rowGroup,e=>e.initialRowGroup)}extractColumns(e=[],t=[],a,r,o,i,n){const l=[],s=[];(this.primaryColumns||[]).forEach(a=>{const g=e.indexOf(a)<0,d=a.getColDef(),c=z(i(d)),u=z(n(d)),p=k(r(d)),h=k(o(d));let m;if(m=void 0!==c?c:void 0!==p?null!==p&&p>=0:g?void 0!==u?u:!!(void 0!==h)&&(null!=h&&h>=0):t.indexOf(a)>=0,m){(g?null!=p||null!=h:null!=p)?l.push(a):s.push(a)}});const g=e=>{const t=r(e.getColDef()),a=o(e.getColDef());return null!=t?t:a};l.sort((e,t)=>{const a=g(e),r=g(t);return a===r?0:a<r?-1:1});const d=[].concat(l);return t.forEach(e=>{s.indexOf(e)>=0&&d.push(e)}),s.forEach(e=>{d.indexOf(e)<0&&d.push(e)}),t.forEach(e=>{d.indexOf(e)<0&&a(e,!1)}),d.forEach(e=>{t.indexOf(e)<0&&a(e,!0)}),d}extractPivotColumns(e,t){this.pivotColumns=this.extractColumns(t,this.pivotColumns,(t,a)=>t.setPivotActive(a,e),e=>e.pivotIndex,e=>e.initialPivotIndex,e=>e.pivot,e=>e.initialPivot)}resetColumnGroupState(e){if(!this.primaryColumnTree)return;const t=[];this.columnUtils.depthFirstOriginalTreeSearch(null,this.primaryColumnTree,e=>{if(e instanceof xe){const a=e.getColGroupDef(),r={groupId:e.getGroupId(),open:a?a.openByDefault:void 0};t.push(r)}}),this.setColumnGroupState(t,e)}getColumnGroupState(){const e=[];return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,t=>{t instanceof xe&&e.push({groupId:t.getGroupId(),open:t.isExpanded()})}),e}setColumnGroupState(e,t){if(!this.gridBalancedTree)return;this.columnAnimationService.start();const a=[];if(e.forEach(e=>{const t=e.groupId,r=e.open,o=this.getProvidedColumnGroup(t);o&&o.isExpanded()!==r&&(this.logger.log("columnGroupOpened("+o.getGroupId()+","+r+")"),o.setExpanded(r),a.push(o))}),this.updateGroupsAndDisplayedColumns(t),this.setFirstRightAndLastLeftPinned(t),a.length){const e={type:st.EVENT_COLUMN_GROUP_OPENED,columnGroup:1===xe.length?a[0]:void 0,columnGroups:a};this.eventService.dispatchEvent(e)}this.columnAnimationService.finish()}setColumnGroupOpened(e,t,a){let r;r=e instanceof xe?e.getId():e||"",this.setColumnGroupState([{groupId:r,open:t}],a)}getProvidedColumnGroup(e){"string"!=typeof e&&console.error("AG Grid: group key must be a string");let t=null;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,a=>{a instanceof xe&&a.getId()===e&&(t=a)}),t}calculateColumnsForDisplay(){let e;return e=this.pivotMode&&E(this.secondaryColumns)?this.gridColumns.filter(e=>{const t=this.groupAutoColumns&&He(this.groupAutoColumns,e),a=this.valueColumns&&He(this.valueColumns,e);return t||a}):this.gridColumns.filter(e=>this.groupAutoColumns&&He(this.groupAutoColumns,e)||e.isVisible()),e}checkColSpanActiveInCols(e){let t=!1;return e.forEach(e=>{S(e.getColDef().colSpan)&&(t=!0)}),t}calculateColumnsForGroupDisplay(){this.groupDisplayColumns=[],this.groupDisplayColumnsMap={};this.gridColumns.forEach(e=>{const t=e.getColDef(),a=t.showRowGroup;t&&S(a)&&(this.groupDisplayColumns.push(e),"string"==typeof a?this.groupDisplayColumnsMap[a]=e:!0===a&&this.getRowGroupColumns().forEach(t=>{this.groupDisplayColumnsMap[t.getId()]=e}))})}getGroupDisplayColumns(){return this.groupDisplayColumns}getGroupDisplayColumnForGroup(e){return this.groupDisplayColumnsMap[e]}updateDisplayedColumns(e){const t=this.calculateColumnsForDisplay();this.buildDisplayedTrees(t),this.updateGroupsAndDisplayedColumns(e),this.setFirstRightAndLastLeftPinned(e)}isSecondaryColumnsPresent(){return S(this.secondaryColumns)}setSecondaryColumns(e,t){if(!this.gridColumns)return;const a=e&&e.length>0;if(a||!E(this.secondaryColumns)){if(a){this.processSecondaryColumnDefinitions(e);const a=this.columnFactory.createColumnTree(e,!1,this.secondaryBalancedTree||this.previousSecondaryColumns||void 0,t);this.destroyOldColumns(this.secondaryBalancedTree,a.columnTree),this.secondaryBalancedTree=a.columnTree,this.secondaryHeaderRowCount=a.treeDept+1,this.secondaryColumns=this.getColumnsFromTree(this.secondaryBalancedTree),this.secondaryColumnsMap={},this.secondaryColumns.forEach(e=>this.secondaryColumnsMap[e.getId()]=e),this.previousSecondaryColumns=null}else this.previousSecondaryColumns=this.secondaryBalancedTree,this.secondaryBalancedTree=null,this.secondaryHeaderRowCount=-1,this.secondaryColumns=null,this.secondaryColumnsMap={};this.updateGridColumns(),this.updateDisplayedColumns(t)}}processSecondaryColumnDefinitions(e){const t=this.gridOptionsService.get("processPivotResultColDef"),a=this.gridOptionsService.get("processPivotResultColGroupDef");if(!t&&!a)return;const r=e=>{e.forEach(e=>{if(S(e.children)){const t=e;a&&a(t),r(t.children)}else{const a=e;t&&t(a)}})};e&&r(e)}updateGridColumns(){const e=this.gridBalancedTree;this.gridColsArePrimary?this.lastPrimaryOrder=this.gridColumns:this.lastSecondaryOrder=this.gridColumns;if(this.createGroupAutoColumnsIfNeeded()){const e=Ct(this.groupAutoColumns.map(e=>[e,!0]));this.lastPrimaryOrder&&(this.lastPrimaryOrder=this.lastPrimaryOrder.filter(t=>!e.has(t)),this.lastPrimaryOrder=[...this.groupAutoColumns,...this.lastPrimaryOrder]),this.lastSecondaryOrder&&(this.lastSecondaryOrder=this.lastSecondaryOrder.filter(t=>!e.has(t)),this.lastSecondaryOrder=[...this.groupAutoColumns,...this.lastSecondaryOrder])}let t;if(this.secondaryColumns&&this.secondaryBalancedTree){const e=this.secondaryColumns.some(e=>void 0!==this.gridColumnsMap[e.getColId()]);this.gridBalancedTree=this.secondaryBalancedTree.slice(),this.gridHeaderRowCount=this.secondaryHeaderRowCount,this.gridColumns=this.secondaryColumns.slice(),this.gridColsArePrimary=!1,e&&(t=this.lastSecondaryOrder)}else this.primaryColumns&&(this.gridBalancedTree=this.primaryColumnTree.slice(),this.gridHeaderRowCount=this.primaryHeaderRowCount,this.gridColumns=this.primaryColumns.slice(),this.gridColsArePrimary=!0,t=this.lastPrimaryOrder);if(this.addAutoGroupToGridColumns(),this.orderGridColsLike(t),this.gridColumns=this.placeLockedColumns(this.gridColumns),this.calculateColumnsForGroupDisplay(),this.refreshQuickFilterColumns(),this.clearDisplayedAndViewportColumns(),this.colSpanActive=this.checkColSpanActiveInCols(this.gridColumns),this.gridColumnsMap={},this.gridColumns.forEach(e=>this.gridColumnsMap[e.getId()]=e),this.setAutoHeightActive(),!Ae(e,this.gridBalancedTree)){const e={type:st.EVENT_GRID_COLUMNS_CHANGED};this.eventService.dispatchEvent(e)}}setAutoHeightActive(){if(this.autoHeightActive=this.gridColumns.filter(e=>e.isAutoHeight()).length>0,this.autoHeightActive){this.autoHeightActiveAtLeastOnce=!0;this.gridOptionsService.isRowModelType("clientSide")||this.gridOptionsService.isRowModelType("serverSide")||q("autoHeight columns only work with Client Side Row Model and Server Side Row Model.")}}orderGridColsLike(e){if(E(e))return;const t=Ct(e.map((e,t)=>[e,t]));let a=!0;if(this.gridColumns.forEach(e=>{t.has(e)&&(a=!1)}),a)return;const r=Ct(this.gridColumns.map(e=>[e,!0])),o=e.filter(e=>r.has(e)),i=Ct(o.map(e=>[e,!0])),n=this.gridColumns.filter(e=>!i.has(e)),l=o.slice();n.forEach(e=>{let t=e.getOriginalParent();if(!t)return void l.push(e);const a=[];for(;!a.length&&t;){t.getLeafColumns().forEach(e=>{const t=l.indexOf(e)>=0,r=a.indexOf(e)<0;t&&r&&a.push(e)}),t=t.getOriginalParent()}if(!a.length)return void l.push(e);const r=a.map(e=>l.indexOf(e)),o=Math.max(...r);Ie(l,e,o+1)}),this.gridColumns=l}isPrimaryColumnGroupsPresent(){return this.primaryHeaderRowCount>1}refreshQuickFilterColumns(){var e;let t=null!==(e=this.isPivotMode()?this.secondaryColumns:this.primaryColumns)&&void 0!==e?e:[];this.groupAutoColumns&&(t=t.concat(this.groupAutoColumns)),this.columnsForQuickFilter=this.gridOptionsService.get("includeHiddenColumnsInQuickFilter")?t:t.filter(e=>e.isVisible()||e.isRowGroupActive())}placeLockedColumns(e){const t=[],a=[],r=[];return e.forEach(e=>{const o=e.getColDef().lockPosition;"right"===o?r.push(e):"left"===o||!0===o?t.push(e):a.push(e)}),[...t,...a,...r]}addAutoGroupToGridColumns(){if(E(this.groupAutoColumns))return this.destroyOldColumns(this.groupAutoColsBalancedTree),void(this.groupAutoColsBalancedTree=null);this.gridColumns=this.groupAutoColumns?this.groupAutoColumns.concat(this.gridColumns):this.gridColumns;const e=this.columnFactory.createForAutoGroups(this.groupAutoColumns,this.gridBalancedTree);this.destroyOldColumns(this.groupAutoColsBalancedTree,e),this.groupAutoColsBalancedTree=e,this.gridBalancedTree=e.concat(this.gridBalancedTree)}clearDisplayedAndViewportColumns(){this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={},this.displayedColumnsLeft=[],this.displayedColumnsRight=[],this.displayedColumnsCenter=[],this.displayedColumns=[],this.ariaOrderColumns=[],this.viewportColumns=[],this.headerViewportColumns=[],this.viewportColumnsHash=""}updateGroupsAndDisplayedColumns(e){this.updateOpenClosedVisibilityInColumnGroups(),this.deriveDisplayedColumns(e),this.refreshFlexedColumns(),this.extractViewport(),this.updateBodyWidths();const t={type:st.EVENT_DISPLAYED_COLUMNS_CHANGED};this.eventService.dispatchEvent(t)}deriveDisplayedColumns(e){this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeLeft,this.displayedColumnsLeft),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeCentre,this.displayedColumnsCenter),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeRight,this.displayedColumnsRight),this.joinColumnsAriaOrder(),this.joinDisplayedColumns(),this.setLeftValues(e),this.displayedAutoHeightCols=this.displayedColumns.filter(e=>e.isAutoHeight())}isAutoRowHeightActive(){return this.autoHeightActive}wasAutoRowHeightEverActive(){return this.autoHeightActiveAtLeastOnce}joinColumnsAriaOrder(){const e=this.getAllGridColumns(),t=[],a=[],r=[];for(const o of e){const e=o.getPinned();e?!0===e||"left"===e?t.push(o):r.push(o):a.push(o)}this.ariaOrderColumns=t.concat(a).concat(r)}joinDisplayedColumns(){this.gridOptionsService.get("enableRtl")?this.displayedColumns=this.displayedColumnsRight.concat(this.displayedColumnsCenter).concat(this.displayedColumnsLeft):this.displayedColumns=this.displayedColumnsLeft.concat(this.displayedColumnsCenter).concat(this.displayedColumnsRight)}setLeftValues(e){this.setLeftValuesOfColumns(e),this.setLeftValuesOfGroups()}setLeftValuesOfColumns(e){if(!this.primaryColumns)return;const t=this.getPrimaryAndSecondaryAndAutoColumns().slice(0),a=this.gridOptionsService.get("enableRtl");[this.displayedColumnsLeft,this.displayedColumnsRight,this.displayedColumnsCenter].forEach(r=>{if(a){let t=this.getWidthOfColsInList(r);r.forEach(a=>{t-=a.getActualWidth(),a.setLeft(t,e)})}else{let t=0;r.forEach(a=>{a.setLeft(t,e),t+=a.getActualWidth()})}Ne(t,r)}),t.forEach(t=>{t.setLeft(null,e)})}setLeftValuesOfGroups(){[this.displayedTreeLeft,this.displayedTreeRight,this.displayedTreeCentre].forEach(e=>{e.forEach(e=>{if(e instanceof lt){e.checkLeft()}})})}derivedDisplayedColumnsFromDisplayedTree(e,t){t.length=0,this.columnUtils.depthFirstDisplayedColumnTreeSearch(e,e=>{e instanceof Ee&&t.push(e)})}isColumnVirtualisationSuppressed(){return this.suppressColumnVirtualisation||0===this.viewportRight}extractViewportColumns(){this.isColumnVirtualisationSuppressed()?(this.viewportColumnsCenter=this.displayedColumnsCenter,this.headerViewportColumnsCenter=this.displayedColumnsCenter):(this.viewportColumnsCenter=this.displayedColumnsCenter.filter(this.isColumnInRowViewport.bind(this)),this.headerViewportColumnsCenter=this.displayedColumnsCenter.filter(this.isColumnInHeaderViewport.bind(this))),this.viewportColumns=this.viewportColumnsCenter.concat(this.displayedColumnsLeft).concat(this.displayedColumnsRight),this.headerViewportColumns=this.headerViewportColumnsCenter.concat(this.displayedColumnsLeft).concat(this.displayedColumnsRight)}getVirtualHeaderGroupRow(e,t){let a;switch(e){case"left":a=this.viewportRowLeft[t];break;case"right":a=this.viewportRowRight[t];break;default:a=this.viewportRowCenter[t]}return E(a)&&(a=[]),a}calculateHeaderRows(){this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={};const e={};this.headerViewportColumns.forEach(t=>e[t.getId()]=!0);const t=(a,r,o)=>{let i=!1;for(let n=0;n<a.length;n++){const l=a[n];let s=!1;if(l instanceof Ee)s=!0===e[l.getId()];else{const e=l.getDisplayedChildren();e&&(s=t(e,r,o+1))}s&&(i=!0,r[o]||(r[o]=[]),r[o].push(l))}return i};t(this.displayedTreeLeft,this.viewportRowLeft,0),t(this.displayedTreeRight,this.viewportRowRight,0),t(this.displayedTreeCentre,this.viewportRowCenter,0)}extractViewport(){this.extractViewportColumns();const e=this.viewportColumns.map(e=>`${e.getId()}-${e.getPinned()||"normal"}`).join("#"),t=this.viewportColumnsHash!==e;return t&&(this.viewportColumnsHash=e,this.calculateHeaderRows()),t}refreshFlexedColumns(e={}){var t;const a=e.source?e.source:"flex";if(null!=e.viewportWidth&&(this.flexViewportWidth=e.viewportWidth),!this.flexViewportWidth)return[];let r=-1;if(e.resizingCols){const t=new Set(e.resizingCols);let a=this.displayedColumnsCenter;for(let e=a.length-1;e>=0;e--)if(t.has(a[e])){r=e;break}}let o=0,i=[],n=0,l=0;for(let e=0;e<this.displayedColumnsCenter.length;e++){this.displayedColumnsCenter[e].getFlex()&&e>r?(i.push(this.displayedColumnsCenter[e]),l+=this.displayedColumnsCenter[e].getFlex(),n+=null!==(t=this.displayedColumnsCenter[e].getMinWidth())&&void 0!==t?t:0):o+=this.displayedColumnsCenter[e].getActualWidth()}if(!i.length)return[];let s=[];o+n>this.flexViewportWidth&&(i.forEach(e=>{var t;return e.setActualWidth(null!==(t=e.getMinWidth())&&void 0!==t?t:0,a)}),s=i,i=[]);const g=[];let d;e:for(;;){d=this.flexViewportWidth-o;const e=d/l;for(let t=0;t<i.length;t++){const r=i[t],n=e*r.getFlex();let d=0;const c=r.getMinWidth(),u=r.getMaxWidth();if(S(c)&&n<c?d=c:S(u)&&n>u&&(d=u),d){r.setActualWidth(d,a),Pe(i,r),l-=r.getFlex(),s.push(r),o+=r.getActualWidth();continue e}g[t]=Math.round(n)}break}let c=d;return i.forEach((e,t)=>{e.setActualWidth(Math.min(g[t],c),a),s.push(e),c-=g[t]}),e.skipSetLeft||this.setLeftValues(a),e.updateBodyWidths&&this.updateBodyWidths(),e.fireResizedEvent&&this.dispatchColumnResizedEvent(s,!0,a,i),i}sizeColumnsToFit(e,t="sizeColumnsToFit",a,r){var o,i,n,l,s;if(this.shouldQueueResizeOperations)return void this.resizeOperationQueue.push(()=>this.sizeColumnsToFit(e,t,a,r));const g={};r&&(null===(o=null==r?void 0:r.columnLimits)||void 0===o||o.forEach(e=>{var{key:t}=e,a=xt(e,["key"]);g["string"==typeof t?t:t.getColId()]=a}));const d=this.getAllDisplayedColumns(),c=e===this.getWidthOfColsInList(d);if(e<=0||!d.length||c)return;const u=[],p=[];d.forEach(e=>{!0===e.getColDef().suppressSizeToFit?p.push(e):u.push(e)});const h=u.slice(0);let m=!1;const v=e=>{Le(u,e),p.push(e)};for(u.forEach(e=>{var a,o;e.resetActualWidth(t);const i=null==g?void 0:g[e.getId()],n=null!==(a=null==i?void 0:i.minWidth)&&void 0!==a?a:null==r?void 0:r.defaultMinWidth,l=null!==(o=null==i?void 0:i.maxWidth)&&void 0!==o?o:null==r?void 0:r.defaultMaxWidth,s=e.getActualWidth();"number"==typeof n&&s<n?e.setActualWidth(n,t,!0):"number"==typeof l&&s>l&&e.setActualWidth(l,t,!0)});!m;){m=!0;const a=e-this.getWidthOfColsInList(p);if(a<=0)u.forEach(e=>{var a,o;const i=null!==(o=null===(a=null==g?void 0:g[e.getId()])||void 0===a?void 0:a.minWidth)&&void 0!==o?o:null==r?void 0:r.defaultMinWidth;"number"!=typeof i?e.setMinimum(t):e.setActualWidth(i,t,!0)});else{const e=a/this.getWidthOfColsInList(u);let o=a;for(let a=u.length-1;a>=0;a--){const d=u[a],c=null==g?void 0:g[d.getId()],p=null!==(i=null==c?void 0:c.minWidth)&&void 0!==i?i:null==r?void 0:r.defaultMinWidth,h=null!==(n=null==c?void 0:c.maxWidth)&&void 0!==n?n:null==r?void 0:r.defaultMaxWidth,f=null!==(l=d.getMinWidth())&&void 0!==l?l:0,w=null!==(s=d.getMaxWidth())&&void 0!==s?s:Number.MAX_VALUE,b="number"==typeof p&&p>f?p:d.getMinWidth(),C="number"==typeof h&&h<w?h:d.getMaxWidth();let y=Math.round(d.getActualWidth()*e);S(b)&&y<b?(y=b,v(d),m=!1):S(C)&&y>C?(y=C,v(d),m=!1):0===a&&(y=o),d.setActualWidth(y,t,!0),o-=y}}}h.forEach(e=>{e.fireColumnWidthChangedEvent(t)}),this.setLeftValues(t),this.updateBodyWidths(),a||this.dispatchColumnResizedEvent(h,!0,t)}buildDisplayedTrees(e){const t=[],a=[],r=[];e.forEach(e=>{switch(e.getPinned()){case"left":t.push(e);break;case"right":a.push(e);break;default:r.push(e)}});const o=new gt;this.displayedTreeLeft=this.displayedGroupCreator.createDisplayedGroups(t,o,"left",this.displayedTreeLeft),this.displayedTreeRight=this.displayedGroupCreator.createDisplayedGroups(a,o,"right",this.displayedTreeRight),this.displayedTreeCentre=this.displayedGroupCreator.createDisplayedGroups(r,o,null,this.displayedTreeCentre),this.updateDisplayedMap()}updateDisplayedMap(){this.displayedColumnsAndGroupsMap={};const e=e=>{this.displayedColumnsAndGroupsMap[e.getUniqueId()]=e};this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeCentre,e),this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeLeft,e),this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeRight,e)}isDisplayed(e){return this.displayedColumnsAndGroupsMap[e.getUniqueId()]===e}updateOpenClosedVisibilityInColumnGroups(){const e=this.getAllDisplayedTrees();this.columnUtils.depthFirstAllColumnTreeSearch(e,e=>{e instanceof lt&&e.calculateDisplayedColumns()})}getGroupAutoColumns(){return this.groupAutoColumns}createGroupAutoColumnsIfNeeded(){const e=this.forceRecreateAutoGroups;if(this.forceRecreateAutoGroups=!1,!this.autoGroupsNeedBuilding)return!1;this.autoGroupsNeedBuilding=!1;const t=this.gridOptionsService.isGroupUseEntireRow(this.pivotMode),a=this.pivotMode?this.gridOptionsService.get("pivotSuppressAutoColumn"):this.isGroupSuppressAutoColumn();if((this.rowGroupColumns.length>0||this.gridOptionsService.get("treeData"))&&!a&&!t){const t=this.autoGroupColService.createAutoGroupColumns(this.rowGroupColumns);if(!this.autoColsEqual(t,this.groupAutoColumns)||e)return this.groupAutoColumns=t,!0}else this.groupAutoColumns=null;return!1}isGroupSuppressAutoColumn(){if("custom"===this.gridOptionsService.get("groupDisplayType"))return!0;return"custom"===this.gridOptionsService.get("treeDataDisplayType")}autoColsEqual(e,t){return Ae(e,t,(e,t)=>e.getColId()===t.getColId())}getWidthOfColsInList(e){return e.reduce((e,t)=>e+t.getActualWidth(),0)}getFirstDisplayedColumn(){const e=this.gridOptionsService.get("enableRtl"),t=["getDisplayedLeftColumns","getDisplayedCenterColumns","getDisplayedRightColumns"];e&&t.reverse();for(let a=0;a<t.length;a++){const r=this[t[a]]();if(r.length)return e?Te(r):r[0]}return null}setColumnHeaderHeight(e,t){if(e.setAutoHeaderHeight(t)){const t={type:st.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,column:e,columns:[e],source:"autosizeColumnHeaderHeight"};this.eventService.dispatchEvent(t)}}getColumnGroupHeaderRowHeight(){return this.isPivotMode()?this.getPivotGroupHeaderHeight():this.getGroupHeaderHeight()}getColumnHeaderRowHeight(){const e=this.isPivotMode()?this.getPivotHeaderHeight():this.getHeaderHeight(),t=this.getAllDisplayedColumns().filter(e=>e.isAutoHeaderHeight()).map(e=>e.getAutoHeaderHeight()||0);return Math.max(e,...t)}getHeaderHeight(){var e;return null!==(e=this.gridOptionsService.get("headerHeight"))&&void 0!==e?e:this.environment.getFromTheme(25,"headerHeight")}getFloatingFiltersHeight(){var e;return null!==(e=this.gridOptionsService.get("floatingFiltersHeight"))&&void 0!==e?e:this.getHeaderHeight()}getGroupHeaderHeight(){var e;return null!==(e=this.gridOptionsService.get("groupHeaderHeight"))&&void 0!==e?e:this.getHeaderHeight()}getPivotHeaderHeight(){var e;return null!==(e=this.gridOptionsService.get("pivotHeaderHeight"))&&void 0!==e?e:this.getHeaderHeight()}getPivotGroupHeaderHeight(){var e;return null!==(e=this.gridOptionsService.get("pivotGroupHeaderHeight"))&&void 0!==e?e:this.getGroupHeaderHeight()}queueResizeOperations(){this.shouldQueueResizeOperations=!0}processResizeOperations(){this.shouldQueueResizeOperations=!1,this.resizeOperationQueue.forEach(e=>e()),this.resizeOperationQueue=[]}resetColumnDefIntoColumn(e,t){const a=e.getUserProvidedColDef();if(!a)return!1;const r=this.columnFactory.addColumnDefaultAndTypes(a,e.getColId());return e.setColDef(r,a,t),!0}isColumnGroupingLocked(e){const t=this.gridOptionsService.get("groupLockGroupColumns");if(!e.isRowGroupActive()||0===t)return!1;if(-1===t)return!0;return t>this.rowGroupColumns.findIndex(t=>t.getColId()===e.getColId())}generateColumnStateForRowGroupAndPivotIndexes(e,t){let a={};const r=(e,t,r,o,i,n)=>{if(!t.length||!this.primaryColumns)return[];const l=Object.keys(e),s=new Set(l),g=new Set(l),d=new Set(t.map(e=>{const t=e.getColId();return g.delete(t),t}).concat(l)),c=[],u={};let p=0;for(let e=0;e<this.primaryColumns.length;e++){const t=this.primaryColumns[e].getColId();d.has(t)&&(c.push(t),u[t]=p++)}let h=1e3,m=!1,v=0;const f=t=>{const a=u[t];for(let t=v;t<a;t++){const a=c[t];g.has(a)&&(e[a][i]=h++,g.delete(a))}v=a};t.forEach(t=>{const l=t.getColId();if(s.has(l))f(l),e[l][i]=h++;else{const s=t.getColDef();if(null===s[i]||void 0===s[i]&&null==s[n]){if(!m){s[r]||void 0===s[r]&&s[o]?f(l):(g.forEach(t=>{e[t][i]=h+u[t]}),h+=c.length,m=!0)}a[l]||(a[l]={colId:l}),a[l][i]=h++}}})};return r(e,this.rowGroupColumns,"rowGroup","initialRowGroup","rowGroupIndex","initialRowGroupIndex"),r(t,this.pivotColumns,"pivot","initialPivot","pivotIndex","initialPivotIndex"),Object.values(a)}onColumnsReady(){const e=this.gridOptionsService.get("autoSizeStrategy");if(!e)return;const{type:t}=e;setTimeout(()=>{if("fitGridWidth"===t){const{columnLimits:t,defaultMinWidth:a,defaultMaxWidth:r}=e,o=null==t?void 0:t.map(({colId:e,minWidth:t,maxWidth:a})=>({key:e,minWidth:t,maxWidth:a}));this.ctrlsService.getGridBodyCtrl().sizeColumnsToFit({defaultMinWidth:a,defaultMaxWidth:r,columnLimits:o})}else"fitProvidedWidth"===t&&this.sizeColumnsToFit(e.width,"sizeColumnsToFit")})}onFirstDataRendered(){const e=this.gridOptionsService.get("autoSizeStrategy");if("fitCellContents"!==(null==e?void 0:e.type))return;const{colIds:t,skipHeader:a}=e;setTimeout(()=>{t?this.autoSizeColumns({columns:t,skipHeader:a,source:"autosizeColumns"}):this.autoSizeAllColumns("autosizeColumns",a)})}};function zt(e){return"gridOptionsUpdated"===e?"gridOptionsChanged":e}Et([de("expressionService")],kt.prototype,"expressionService",void 0),Et([de("columnFactory")],kt.prototype,"columnFactory",void 0),Et([de("displayedGroupCreator")],kt.prototype,"displayedGroupCreator",void 0),Et([de("ctrlsService")],kt.prototype,"ctrlsService",void 0),Et([de("autoWidthCalculator")],kt.prototype,"autoWidthCalculator",void 0),Et([de("columnUtils")],kt.prototype,"columnUtils",void 0),Et([de("columnAnimationService")],kt.prototype,"columnAnimationService",void 0),Et([de("autoGroupColService")],kt.prototype,"autoGroupColService",void 0),Et([ce("aggFuncService")],kt.prototype,"aggFuncService",void 0),Et([ce("valueCache")],kt.prototype,"valueCache",void 0),Et([ce("animationFrameService")],kt.prototype,"animationFrameService",void 0),Et([de("sortController")],kt.prototype,"sortController",void 0),Et([de("columnDefFactory")],kt.prototype,"columnDefFactory",void 0),Et([le],kt.prototype,"init",null),Et([se],kt.prototype,"destroyColumns",null),Et([Rt(0,pe("loggerFactory"))],kt.prototype,"setBeans",null),kt=Et([ge("columnModel")],kt);var Tt=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let At=class extends at{calculateColMinWidth(e){return null!=e.minWidth?e.minWidth:this.environment.getMinColWidth()}calculateColMaxWidth(e){return null!=e.maxWidth?e.maxWidth:Number.MAX_SAFE_INTEGER}calculateColInitialWidth(e){const t=this.calculateColMinWidth(e),a=this.calculateColMaxWidth(e);let r;const o=k(e.width),i=k(e.initialWidth);return r=null!=o?o:null!=i?i:200,Math.max(Math.min(r,a),t)}getOriginalPathForColumn(e,t){const a=[];let r=!1;const o=(t,i)=>{for(let n=0;n<t.length;n++){if(r)return;const l=t[n];if(l instanceof xe){o(l.getChildren(),i+1),a[i]=l}else l===e&&(r=!0)}};return o(t,0),r?a:null}depthFirstOriginalTreeSearch(e,t,a){t&&t.forEach(t=>{t instanceof xe&&this.depthFirstOriginalTreeSearch(t,t.getChildren(),a),a(t,e)})}depthFirstAllColumnTreeSearch(e,t){e&&e.forEach(e=>{e instanceof lt&&this.depthFirstAllColumnTreeSearch(e.getChildren(),t),t(e)})}depthFirstDisplayedColumnTreeSearch(e,t){e&&e.forEach(e=>{e instanceof lt&&this.depthFirstDisplayedColumnTreeSearch(e.getDisplayedChildren(),t),t(e)})}};At=Tt([ge("columnUtils")],At);var Dt=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Ot=class extends at{createDisplayedGroups(e,t,a,r){const o=this.mapOldGroupsById(r),i=[];let n=e;for(;n.length;){const e=n;n=[];let r=0;const l=l=>{const s=r;r=l;const g=e[s],d=(g instanceof lt?g.getProvidedColumnGroup():g).getOriginalParent();if(null==d){for(let t=s;t<l;t++)i.push(e[t]);return}const c=this.createColumnGroup(d,t,o,a);for(let t=s;t<l;t++)c.addChild(e[t]);n.push(c)};for(let t=1;t<e.length;t++){const a=e[t],o=(a instanceof lt?a.getProvidedColumnGroup():a).getOriginalParent(),i=e[r];o!==(i instanceof lt?i.getProvidedColumnGroup():i).getOriginalParent()&&l(t)}r<e.length&&l(e.length)}return this.setupParentsIntoColumns(i,null),i}createColumnGroup(e,t,a,r){const o=e.getGroupId(),i=t.getInstanceIdForKey(o);let n=a[lt.createUniqueId(o,i)];return n&&n.getProvidedColumnGroup()!==e&&(n=null),S(n)?n.reset():(n=new lt(e,o,i,r),this.context.createBean(n)),n}mapOldGroupsById(e){const t={},a=e=>{e.forEach(e=>{if(e instanceof lt){const r=e;t[e.getUniqueId()]=r,a(r.getChildren())}})};return e&&a(e),t}setupParentsIntoColumns(e,t){e.forEach(e=>{if(e.setParent(t),e instanceof lt){const t=e;this.setupParentsIntoColumns(t.getChildren(),t)}})}};Ot=Dt([ge("displayedGroupCreator")],Ot);const Mt={enableBrowserTooltips:!0,tooltipTrigger:!0,tooltipMouseTrack:!0,tooltipInteraction:!0,defaultColGroupDef:!0,suppressAutoSize:!0,skipHeaderOnAutoSize:!0,autoSizeStrategy:!0,components:!0,stopEditingWhenCellsLoseFocus:!0,undoRedoCellEditing:!0,undoRedoCellEditingLimit:!0,excelStyles:!0,cacheQuickFilter:!0,excludeHiddenColumnsFromQuickFilter:!0,advancedFilterModel:!0,customChartThemes:!0,chartThemeOverrides:!0,enableChartToolPanelsButton:!0,suppressChartToolPanelsButton:!0,chartToolPanelsDef:!0,loadingCellRendererSelector:!0,localeText:!0,keepDetailRows:!0,keepDetailRowsCount:!0,detailRowHeight:!0,detailRowAutoHeight:!0,tabIndex:!0,valueCache:!0,valueCacheNeverExpires:!0,enableCellExpressions:!0,suppressParentsInRowNodes:!0,suppressTouch:!0,suppressAsyncEvents:!0,suppressBrowserResizeObserver:!0,suppressPropertyNamesCheck:!0,debug:!0,loadingOverlayComponent:!0,suppressLoadingOverlay:!0,noRowsOverlayComponent:!0,paginationPageSizeSelector:!0,paginateChildRows:!0,pivotPanelShow:!0,pivotSuppressAutoColumn:!0,suppressExpandablePivotGroups:!0,aggFuncs:!0,suppressAggFuncInHeader:!0,suppressAggAtRootLevel:!0,removePivotHeaderRowWhenSingleValueColumn:!0,allowShowChangeAfterFilter:!0,ensureDomOrder:!0,enableRtl:!0,suppressColumnVirtualisation:!0,suppressMaxRenderedRowRestriction:!0,suppressRowVirtualisation:!0,rowDragText:!0,suppressGroupMaintainValueType:!0,groupLockGroupColumns:!0,rowGroupPanelSuppressSort:!0,suppressGroupRowsSticky:!0,rowModelType:!0,cacheOverflowSize:!0,infiniteInitialRowCount:!0,serverSideInitialRowCount:!0,suppressServerSideInfiniteScroll:!0,maxBlocksInCache:!0,maxConcurrentDatasourceRequests:!0,blockLoadDebounceMillis:!0,serverSideOnlyRefreshFilteredGroups:!0,serverSidePivotResultFieldSeparator:!0,viewportRowModelPageSize:!0,viewportRowModelBufferSize:!0,debounceVerticalScrollbar:!0,suppressAnimationFrame:!0,suppressPreventDefaultOnMouseWheel:!0,scrollbarWidth:!0,icons:!0,suppressRowTransform:!0,gridId:!0,functionsPassive:!0,enableGroupEdit:!0,initialState:!0,processUnpinnedColumns:!0,createChartContainer:!0,getLocaleText:!0,getRowId:!0,reactiveCustomComponents:!0,columnMenu:!0};class Pt{}var Lt;Pt.STRING_PROPERTIES=["rowSelection","overlayLoadingTemplate","overlayNoRowsTemplate","gridId","quickFilterText","rowModelType","editType","domLayout","clipboardDelimiter","rowGroupPanelShow","multiSortKey","pivotColumnGroupTotals","pivotRowTotals","pivotPanelShow","fillHandleDirection","groupDisplayType","treeDataDisplayType","colResizeDefault","tooltipTrigger","serverSidePivotResultFieldSeparator","columnMenu"],Pt.OBJECT_PROPERTIES=["components","rowStyle","context","autoGroupColumnDef","localeText","icons","datasource","serverSideDatasource","viewportDatasource","groupRowRendererParams","aggFuncs","fullWidthCellRendererParams","defaultColGroupDef","defaultColDef","defaultCsvExportParams","defaultExcelExportParams","columnTypes","rowClassRules","detailCellRendererParams","loadingCellRendererParams","loadingOverlayComponentParams","noRowsOverlayComponentParams","popupParent","statusBar","sideBar","chartThemeOverrides","customChartThemes","chartToolPanelsDef","dataTypeDefinitions","advancedFilterModel","advancedFilterParent","advancedFilterBuilderParams","initialState","autoSizeStrategy"],Pt.ARRAY_PROPERTIES=["sortingOrder","alignedGrids","rowData","columnDefs","excelStyles","pinnedTopRowData","pinnedBottomRowData","chartThemes","rowClass","paginationPageSizeSelector"],Pt.NUMBER_PROPERTIES=["rowHeight","detailRowHeight","rowBuffer","headerHeight","groupHeaderHeight","groupLockGroupColumns","floatingFiltersHeight","pivotHeaderHeight","pivotGroupHeaderHeight","groupDefaultExpanded","pivotDefaultExpanded","viewportRowModelPageSize","viewportRowModelBufferSize","autoSizePadding","maxBlocksInCache","maxConcurrentDatasourceRequests","tooltipShowDelay","tooltipHideDelay","cacheOverflowSize","paginationPageSize","cacheBlockSize","infiniteInitialRowCount","serverSideInitialRowCount","scrollbarWidth","asyncTransactionWaitMillis","blockLoadDebounceMillis","keepDetailRowsCount","undoRedoCellEditingLimit","cellFlashDelay","cellFadeDelay","cellFlashDuration","cellFadeDuration","tabIndex"],Pt.BOOLEAN_PROPERTIES=["suppressMakeColumnVisibleAfterUnGroup","suppressRowClickSelection","suppressCellFocus","suppressHeaderFocus","suppressHorizontalScroll","groupSelectsChildren","alwaysShowHorizontalScroll","alwaysShowVerticalScroll","debug","enableBrowserTooltips","enableCellExpressions","groupIncludeTotalFooter","groupSuppressBlankHeader","suppressMenuHide","suppressRowDeselection","unSortIcon","suppressMultiSort","alwaysMultiSort","singleClickEdit","suppressLoadingOverlay","suppressNoRowsOverlay","suppressAutoSize","skipHeaderOnAutoSize","suppressParentsInRowNodes","suppressColumnMoveAnimation","suppressMovableColumns","suppressFieldDotNotation","enableRangeSelection","enableRangeHandle","enableFillHandle","suppressClearOnFillReduction","deltaSort","suppressTouch","suppressAsyncEvents","allowContextMenuWithControlKey","suppressContextMenu","enableCellChangeFlash","suppressDragLeaveHidesColumns","suppressRowGroupHidesColumns","suppressMiddleClickScrolls","suppressPreventDefaultOnMouseWheel","suppressCopyRowsToClipboard","copyHeadersToClipboard","copyGroupHeadersToClipboard","pivotMode","suppressAggFuncInHeader","suppressColumnVirtualisation","alwaysAggregateAtRootLevel","suppressAggAtRootLevel","suppressFocusAfterRefresh","functionsPassive","functionsReadOnly","animateRows","groupSelectsFiltered","groupRemoveSingleChildren","groupRemoveLowestSingleChildren","enableRtl","suppressClickEdit","rowDragEntireRow","rowDragManaged","suppressRowDrag","suppressMoveWhenRowDragging","rowDragMultiRow","enableGroupEdit","embedFullWidthRows","suppressPaginationPanel","groupHideOpenParents","groupAllowUnbalanced","pagination","paginationAutoPageSize","suppressScrollOnNewData","suppressScrollWhenPopupsAreOpen","purgeClosedRowNodes","cacheQuickFilter","includeHiddenColumnsInQuickFilter","excludeHiddenColumnsFromQuickFilter","ensureDomOrder","accentedSort","suppressChangeDetection","valueCache","valueCacheNeverExpires","aggregateOnlyChangedColumns","suppressAnimationFrame","suppressExcelExport","suppressCsvExport","includeHiddenColumnsInAdvancedFilter","suppressMultiRangeSelection","enterMovesDown","enterMovesDownAfterEdit","enterNavigatesVerticallyAfterEdit","enterNavigatesVertically","suppressPropertyNamesCheck","rowMultiSelectWithClick","suppressRowHoverHighlight","suppressRowTransform","suppressClipboardPaste","suppressLastEmptyLineOnPaste","enableCharts","enableChartToolPanelsButton","suppressChartToolPanelsButton","suppressMaintainUnsortedOrder","enableCellTextSelection","suppressBrowserResizeObserver","suppressMaxRenderedRowRestriction","excludeChildrenWhenTreeDataFiltering","tooltipMouseTrack","tooltipInteraction","keepDetailRows","paginateChildRows","preventDefaultOnContextMenu","undoRedoCellEditing","allowDragFromColumnsToolPanel","pivotSuppressAutoColumn","suppressExpandablePivotGroups","debounceVerticalScrollbar","detailRowAutoHeight","serverSideFilterAllLevels","serverSideSortAllLevels","serverSideEnableClientSideSort","serverSideOnlyRefreshFilteredGroups","serverSideSortOnServer","serverSideFilterOnServer","suppressAggFilteredOnly","showOpenedGroup","suppressClipboardApi","suppressModelUpdateAfterUpdateTransaction","stopEditingWhenCellsLoseFocus","maintainColumnOrder","groupMaintainOrder","columnHoverHighlight","readOnlyEdit","suppressRowVirtualisation","enableCellEditingOnBackspace","resetRowDataOnUpdate","removePivotHeaderRowWhenSingleValueColumn","suppressCopySingleCellRanges","suppressGroupRowsSticky","suppressCutToClipboard","suppressServerSideInfiniteScroll","rowGroupPanelSuppressSort","allowShowChangeAfterFilter","enableAdvancedFilter","masterDetail","treeData","suppressGroupMaintainValueType","reactiveCustomComponents"],Pt.FUNCTIONAL_PROPERTIES=["doesExternalFilterPass","processPivotResultColDef","processPivotResultColGroupDef","getBusinessKeyForNode","isRowSelectable","rowDragText","groupRowRenderer","fullWidthCellRenderer","loadingCellRenderer","loadingOverlayComponent","noRowsOverlayComponent","detailCellRenderer","quickFilterParser","quickFilterMatcher"],Pt.CALLBACK_PROPERTIES=["getLocaleText","isExternalFilterPresent","getRowHeight","getRowClass","getRowStyle","getContextMenuItems","getMainMenuItems","processRowPostCreate","processCellForClipboard","getGroupRowAgg","isFullWidthRow","sendToClipboard","navigateToNextHeader","tabToNextHeader","navigateToNextCell","tabToNextCell","processCellFromClipboard","getDocument","postProcessPopup","getChildCount","getDataPath","isRowMaster","postSortRows","processHeaderForClipboard","processUnpinnedColumns","processGroupHeaderForClipboard","paginationNumberFormatter","processDataFromClipboard","getServerSideGroupKey","isServerSideGroup","createChartContainer","getChartToolbarItems","fillOperation","isApplyServerSideTransaction","getServerSideGroupLevelParams","isServerSideGroupOpenByDefault","isGroupOpenByDefault","initialGroupOrderComparator","groupIncludeFooter","loadingCellRendererSelector","getRowId","groupAggFiltering"],Pt.FUNCTION_PROPERTIES=[...Pt.FUNCTIONAL_PROPERTIES,...Pt.CALLBACK_PROPERTIES],Pt.ALL_PROPERTIES=[...Pt.ARRAY_PROPERTIES,...Pt.OBJECT_PROPERTIES,...Pt.STRING_PROPERTIES,...Pt.NUMBER_PROPERTIES,...Pt.FUNCTION_PROPERTIES,...Pt.BOOLEAN_PROPERTIES];class Nt{static getCallbackForEvent(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substring(1)}static getGridOptionKeys(){return this.ALL_PROPERTIES_AND_CALLBACKS}static combineAttributesAndGridOptions(e,t){"object"!=typeof e&&(e={});const a=Object.assign({},e);return Nt.getGridOptionKeys().forEach(e=>{const r=t[e];void 0!==r&&r!==Nt.VUE_OMITTED_PROPERTY&&(a[e]=r)}),a}static processOnChange(e,t){if(!e)return;const a={};let r=!1;if(Object.keys(e).filter(e=>Nt.ALL_PROPERTIES_AND_CALLBACKS_SET.has(e)).forEach(t=>{a[t]=e[t],r=!0}),!r)return;t.__internalUpdateGridOptions(a);const o={type:st.EVENT_COMPONENT_STATE_CHANGED};P(a,(e,t)=>{o[e]=t}),t.dispatchEvent(o)}}Lt=Nt,Nt.EVENTS=O(st),Nt.VUE_OMITTED_PROPERTY="AG-VUE-OMITTED-PROPERTY",Nt.EXCLUDED_INTERNAL_EVENTS=[st.EVENT_SCROLLBAR_WIDTH_CHANGED,st.EVENT_CHECKBOX_CHANGED,st.EVENT_HEIGHT_SCALE_CHANGED,st.EVENT_BODY_HEIGHT_CHANGED,st.EVENT_COLUMN_CONTAINER_WIDTH_CHANGED,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,st.EVENT_SCROLL_VISIBILITY_CHANGED,st.EVENT_COLUMN_HOVER_CHANGED,st.EVENT_FLASH_CELLS,st.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,st.EVENT_DISPLAYED_ROWS_CHANGED,st.EVENT_LEFT_PINNED_WIDTH_CHANGED,st.EVENT_RIGHT_PINNED_WIDTH_CHANGED,st.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,st.EVENT_POPUP_TO_FRONT,st.EVENT_STORE_UPDATED,st.EVENT_COLUMN_PANEL_ITEM_DRAG_START,st.EVENT_COLUMN_PANEL_ITEM_DRAG_END,st.EVENT_FILL_START,st.EVENT_FILL_END,st.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,st.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,st.EVENT_FULL_WIDTH_ROW_FOCUSED,st.EVENT_HEADER_HEIGHT_CHANGED,st.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,st.EVENT_CELL_FOCUS_CLEARED,st.EVENT_GRID_STYLES_CHANGED,st.EVENT_FILTER_DESTROYED,st.EVENT_ROW_DATA_UPDATE_STARTED,st.EVENT_ADVANCED_FILTER_ENABLED_CHANGED,st.EVENT_DATA_TYPES_INFERRED,st.EVENT_FIELD_VALUE_CHANGED,st.EVENT_FIELD_PICKER_VALUE_SELECTED,st.EVENT_SUPPRESS_COLUMN_MOVE_CHANGED,st.EVENT_SUPPRESS_MENU_HIDE_CHANGED,st.EVENT_SUPPRESS_FIELD_DOT_NOTATION,st.EVENT_ROW_COUNT_READY,st.EVENT_SIDE_BAR_UPDATED],Nt.PUBLIC_EVENTS=Nt.EVENTS.filter(e=>!He(Nt.EXCLUDED_INTERNAL_EVENTS,e)),Nt.EVENT_CALLBACKS=Nt.EVENTS.map(e=>Nt.getCallbackForEvent(e)),Nt.STRING_PROPERTIES=Pt.STRING_PROPERTIES,Nt.OBJECT_PROPERTIES=Pt.OBJECT_PROPERTIES,Nt.ARRAY_PROPERTIES=Pt.ARRAY_PROPERTIES,Nt.NUMBER_PROPERTIES=Pt.NUMBER_PROPERTIES,Nt.BOOLEAN_PROPERTIES=Pt.BOOLEAN_PROPERTIES,Nt.FUNCTION_PROPERTIES=Pt.FUNCTION_PROPERTIES,Nt.ALL_PROPERTIES=Pt.ALL_PROPERTIES,Nt.ALL_PROPERTIES_AND_CALLBACKS=[...Lt.ALL_PROPERTIES,...Lt.EVENT_CALLBACKS],Nt.ALL_PROPERTIES_AND_CALLBACKS_SET=new Set(Nt.ALL_PROPERTIES_AND_CALLBACKS);var Ft=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let It,Gt,Vt,Ht,_t,Bt,qt,Wt,Ut=class extends at{constructor(){super(...arguments),this.componentsMappedByName={}}setupComponents(e){e&&e.forEach(e=>this.addComponent(e))}addComponent(e){const t=e.componentName.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().toUpperCase();this.componentsMappedByName[t]=e.componentClass}getComponentClass(e){return this.componentsMappedByName[e]}};function jt(e,t,a){null==a||"string"==typeof a&&""==a?Yt(e,t):Kt(e,t,a)}function Kt(e,t,a){e.setAttribute(Qt(t),a.toString())}function Yt(e,t){e.removeAttribute(Qt(t))}function Qt(e){return"aria-"+e}function Jt(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function Xt(e){let t;return t="asc"===e?"ascending":"desc"===e?"descending":"mixed"===e?"other":"none",t}function Zt(e){return parseInt(e.getAttribute("aria-level"),10)}function $t(e){return parseInt(e.getAttribute("aria-posinset"),10)}function ea(e){return e.getAttribute("aria-label")}function ta(e,t){jt(e,"label",t)}function aa(e,t){jt(e,"labelledby",t)}function ra(e,t){jt(e,"describedby",t)}function oa(e,t){jt(e,"live",t)}function ia(e,t){jt(e,"atomic",t)}function na(e,t){jt(e,"relevant",t)}function la(e,t){jt(e,"level",t)}function sa(e,t){jt(e,"disabled",t)}function ga(e,t){jt(e,"hidden",t)}function da(e,t){jt(e,"activedescendant",t)}function ca(e,t){Kt(e,"expanded",t)}function ua(e){Yt(e,"expanded")}function pa(e,t){Kt(e,"setsize",t)}function ha(e,t){Kt(e,"posinset",t)}function ma(e,t){Kt(e,"multiselectable",t)}function va(e,t){Kt(e,"rowcount",t)}function fa(e,t){Kt(e,"rowindex",t)}function wa(e,t){Kt(e,"colcount",t)}function ba(e,t){Kt(e,"colindex",t)}function Ca(e,t){Kt(e,"colspan",t)}function ya(e,t){Kt(e,"sort",t)}function Sa(e){Yt(e,"sort")}function Ea(e,t){jt(e,"selected",t)}function Ra(e,t){Kt(e,"checked",void 0===t?"mixed":t)}function xa(e,t){jt(e,"controls",t.id),aa(t,e.id)}function ka(e,t){return void 0===t?e("ariaIndeterminate","indeterminate"):!0===t?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}function za(){return void 0===It&&(It=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),It}function Ta(){if(void 0===Gt)if(za()){const e=navigator.userAgent.match(/version\/(\d+)/i);e&&(Gt=null!=e[1]?parseFloat(e[1]):0)}else Gt=0;return Gt}function Aa(){if(void 0===Vt){const e=window;Vt=!!e.chrome&&(!!e.chrome.webstore||!!e.chrome.runtime)||/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}return Vt}function Da(){return void 0===Ht&&(Ht=/(firefox)/i.test(navigator.userAgent)),Ht}function Oa(){return void 0===_t&&(_t=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),_t}function Ma(){return void 0===Bt&&(Bt=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1),Bt}function Pa(){return!za()||Ta()>=15}function La(e){if(!e)return null;const t=e.tabIndex,a=e.getAttribute("tabIndex");return-1!==t||null!==a&&(""!==a||Da())?t.toString():null}function Na(){if(!document.body)return-1;let e=1e6;const t=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,a=document.createElement("div");for(document.body.appendChild(a);;){const r=2*e;if(a.style.height=r+"px",r>t||a.clientHeight!==r)break;e=r}return document.body.removeChild(a),e}function Fa(){var e,t,a;return null!==(t=null===(e=document.body)||void 0===e?void 0:e.clientWidth)&&void 0!==t?t:window.innerHeight||(null===(a=document.documentElement)||void 0===a?void 0:a.clientWidth)||-1}function Ia(){var e,t,a;return null!==(t=null===(e=document.body)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:window.innerHeight||(null===(a=document.documentElement)||void 0===a?void 0:a.clientHeight)||-1}function Ga(){return null==Wt&&Va(),Wt}function Va(){const e=document.body,t=document.createElement("div");t.style.width=t.style.height="100px",t.style.opacity="0",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",t.style.position="absolute",e.appendChild(t);let a=t.offsetWidth-t.clientWidth;0===a&&0===t.clientWidth&&(a=null),t.parentNode&&t.parentNode.removeChild(t),null!=a&&(Wt=a,qt=0===a)}function Ha(){return null==qt&&Va(),qt}function _a(e,t){return e.toString().padStart(t,"0")}function Ba(e,t){const a=[];for(let r=e;r<=t;r++)a.push(r);return a}function qa(e){return"string"==typeof e&&(e=parseInt(e,10)),"number"==typeof e?Math.floor(e):null}function Wa(e,t){let a="";for(let r=0;r<t;r++)a+=String.fromCharCode(255&e),e>>>=8;return a}function Ua(e,t,a){return"number"!=typeof e?"":ja(Math.round(100*e)/100,t,a)}function ja(e,t,a){return"number"!=typeof e?"":e.toString().replace(".",a).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+t)}function Ka(e){return null==e?null:e.reduce((e,t)=>e+t,0)}function Ya(e,t=!0,a="-"){if(!e)return null;let r=[e.getFullYear(),e.getMonth()+1,e.getDate()].map(e=>_a(e,2)).join(a);return t&&(r+=" "+[e.getHours(),e.getMinutes(),e.getSeconds()].map(e=>_a(e,2)).join(":")),r}Ut=Ft([ge("agStackComponentsRegistry")],Ut);const Qa=e=>{if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"};function Ja(e,t="YYYY-MM-DD"){const a=_a(e.getFullYear(),4),r=["January","February","March","April","May","June","July","August","September","October","November","December"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],i={YYYY:()=>a.slice(a.length-4,a.length),YY:()=>a.slice(a.length-2,a.length),Y:()=>""+e.getFullYear(),MMMM:()=>r[e.getMonth()],MMM:()=>r[e.getMonth()].slice(0,3),MM:()=>_a(e.getMonth()+1,2),Mo:()=>`${e.getMonth()+1}${Qa(e.getMonth()+1)}`,M:()=>""+(e.getMonth()+1),Do:()=>`${e.getDate()}${Qa(e.getDate())}`,DD:()=>_a(e.getDate(),2),D:()=>""+e.getDate(),dddd:()=>o[e.getDay()],ddd:()=>o[e.getDay()].slice(0,3),dd:()=>o[e.getDay()].slice(0,2),do:()=>`${e.getDay()}${Qa(e.getDay())}`,d:()=>""+e.getDay()},n=new RegExp(Object.keys(i).join("|"),"g");return t.replace(n,e=>e in i?i[e]():e)}function Xa(e){if(!e)return null;const[t,a]=e.split(" ");if(!t)return null;const r=t.split("-").map(e=>parseInt(e,10));if(3!==r.filter(e=>!isNaN(e)).length)return null;const[o,i,n]=r,l=new Date(o,i-1,n);if(l.getFullYear()!==o||l.getMonth()!==i-1||l.getDate()!==n)return null;if(!a||"00:00:00"===a)return l;const[s,g,d]=a.split(":").map(e=>parseInt(e,10));return s>=0&&s<24&&l.setHours(s),g>=0&&g<60&&l.setMinutes(g),d>=0&&d<60&&l.setSeconds(d),l}let Za;function $a(e,t,a){const r=e.parentElement;let o=r&&r.firstChild;for(;o;)t&&o.classList.toggle(t,o===e),a&&o.classList.toggle(a,o!==e),o=o.nextSibling}const er="[tabindex], input, select, button, textarea, [href]",tr="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function ar(e){const t=Element.prototype.matches||Element.prototype.msMatchesSelector,a=t.call(e,"input, select, button, textarea"),r=t.call(e,tr),o=br(e);return a&&!r&&o}function rr(e,t,a={}){const{skipAriaHidden:r}=a;e.classList.toggle("ag-hidden",!t),r||ga(e,!t)}function or(e,t,a={}){const{skipAriaHidden:r}=a;e.classList.toggle("ag-invisible",!t),r||ga(e,!t)}function ir(e,t){const a=t?e=>e.setAttribute("disabled",""):e=>e.removeAttribute("disabled");a(e),Fr(e.querySelectorAll("input"),e=>a(e))}function nr(e,t,a){let r=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,"number"==typeof a){if(++r>a)break}else if(e===a)break}return!1}function lr(e){const{height:t,width:a,borderTopWidth:r,borderRightWidth:o,borderBottomWidth:i,borderLeftWidth:n,paddingTop:l,paddingRight:s,paddingBottom:g,paddingLeft:d,marginTop:c,marginRight:u,marginBottom:p,marginLeft:h,boxSizing:m}=window.getComputedStyle(e);return{height:parseFloat(t||"0"),width:parseFloat(a||"0"),borderTopWidth:parseFloat(r||"0"),borderRightWidth:parseFloat(o||"0"),borderBottomWidth:parseFloat(i||"0"),borderLeftWidth:parseFloat(n||"0"),paddingTop:parseFloat(l||"0"),paddingRight:parseFloat(s||"0"),paddingBottom:parseFloat(g||"0"),paddingLeft:parseFloat(d||"0"),marginTop:parseFloat(c||"0"),marginRight:parseFloat(u||"0"),marginBottom:parseFloat(p||"0"),marginLeft:parseFloat(h||"0"),boxSizing:m}}function sr(e){const t=lr(e);return"border-box"===t.boxSizing?t.height-t.paddingTop-t.paddingBottom:t.height}function gr(e){const t=lr(e);return"border-box"===t.boxSizing?t.width-t.paddingLeft-t.paddingRight:t.width}function dr(e){const t=lr(e),a=t.marginBottom+t.marginTop;return Math.ceil(e.offsetHeight+a)}function cr(e){const t=lr(e),a=t.marginLeft+t.marginRight;return Math.ceil(e.offsetWidth+a)}function ur(e){const t=e.getBoundingClientRect(),{borderTopWidth:a,borderLeftWidth:r,borderRightWidth:o,borderBottomWidth:i}=lr(e);return{top:t.top+(a||0),left:t.left+(r||0),right:t.right+(o||0),bottom:t.bottom+(i||0)}}function pr(){if("boolean"==typeof Za)return Za;const e=document.createElement("div");return e.style.direction="rtl",e.style.width="1px",e.style.height="1px",e.style.position="fixed",e.style.top="0px",e.style.overflow="hidden",e.dir="rtl",e.innerHTML='<div style="width: 2px">\n <span style="display: inline-block; width: 1px"></span>\n <span style="display: inline-block; width: 1px"></span>\n </div>',document.body.appendChild(e),e.scrollLeft=1,Za=0===Math.floor(e.scrollLeft),document.body.removeChild(e),Za}function hr(e,t){let a=e.scrollLeft;return t&&(a=Math.abs(a),Aa()&&!pr()&&(a=e.scrollWidth-e.clientWidth-a)),a}function mr(e,t,a){a&&(pr()?t*=-1:(za()||Aa())&&(t=e.scrollWidth-e.clientWidth-t)),e.scrollLeft=t}function vr(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function fr(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function wr(e){return!!e.offsetParent}function br(e){const t=e;if(t.checkVisibility)return t.checkVisibility({checkVisibilityCSS:!0});return!(!wr(e)||"visible"!==window.getComputedStyle(e).visibility)}function Cr(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function yr(e,t,a){a&&a.nextSibling===t||(a?a.nextSibling?e.insertBefore(t,a.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.insertAdjacentElement("afterbegin",t))}function Sr(e,t){for(let a=0;a<t.length;a++){const r=t[a],o=e.children[a];o!==r&&e.insertBefore(r,o)}}function Er(e,t,a){a?a.insertAdjacentElement("afterend",t):e.firstChild?e.insertAdjacentElement("afterbegin",t):e.appendChild(t)}function Rr(e,t){if(t)for(const[a,r]of Object.entries(t)){if(!a||!a.length||null==r)continue;const t=bt(a),o=r.toString(),i=o.replace(/\s*!important/g,""),n=i.length!=o.length?"important":void 0;e.style.setProperty(t,i,n)}}function xr(e){return e.clientWidth<e.scrollWidth}function kr(e){return e.clientHeight<e.scrollHeight}function zr(e,t){"flex"===t?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):Tr(e,t)}function Tr(e,t){t=Or(t),e.style.width=t.toString(),e.style.maxWidth=t.toString(),e.style.minWidth=t.toString()}function Ar(e,t){"flex"===t?(e.style.removeProperty("height"),e.style.removeProperty("minHeight"),e.style.removeProperty("maxHeight"),e.style.flex="1 1 auto"):Dr(e,t)}function Dr(e,t){t=Or(t),e.style.height=t.toString(),e.style.maxHeight=t.toString(),e.style.minHeight=t.toString()}function Or(e){return"number"==typeof e?e+"px":e}function Mr(e){return e instanceof Node||e instanceof HTMLElement}function Pr(e){if(null==e)return[];const t=[];return Fr(e,e=>t.push(e)),t}function Lr(e,t){if(e)for(let a=0;a<e.length;a++){const r=e[a];t(r.name,r.value)}}function Nr(e,t,a){null==a?e.removeAttribute(t):e.setAttribute(t,a.toString())}function Fr(e,t){if(null!=e)for(let a=0;a<e.length;a++)t(e[a])}function Ir(e,t){e.then(e=>{const a=e.getGui();null!=a&&("object"==typeof a?t.appendChild(a):t.innerHTML=a)})}function Gr(e,t,a){const r={},o=e.filter(e=>!t.some(t=>t===e));return o.length>0&&o.forEach(e=>r[e]=Vr(e,a).values),r}function Vr(e,t,a,r){let o=t.map((t,a)=>({value:t,relevance:Hr(e.toLowerCase(),t.toLocaleLowerCase()),idx:a}));if(o.sort((e,t)=>t.relevance-e.relevance),a&&(o=o.filter(e=>0!==e.relevance)),o.length>0&&r&&r>0){const e=o[0].relevance*r;o=o.filter(t=>e-t.relevance<0)}const i=[],n=[];for(const e of o)i.push(e.value),n.push(e.idx);return{values:i,indices:n}}function Hr(e,t){const a=e.replace(/\s/g,""),r=t.replace(/\s/g,"");let o=0,i=-1;for(let e=0;e<a.length;e++){const t=r.indexOf(a[e],i+1);-1!==t&&(i=t,o+=100-100*i/1e4*100)}return o}const _r={columnGroupOpened:"expanded",columnGroupClosed:"contracted",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",columnSelectIndeterminate:"tree-indeterminate",columnMovePin:"pin",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",groupContracted:"tree-closed",groupExpanded:"tree-open",setFilterGroupClosed:"tree-closed",setFilterGroupOpen:"tree-open",setFilterGroupIndeterminate:"tree-indeterminate",chart:"chart",close:"cross",cancel:"cancel",check:"tick",first:"first",previous:"previous",next:"next",last:"last",linked:"linked",unlinked:"unlinked",colorPicker:"color-picker",groupLoading:"loading",menu:"menu",menuAlt:"menu-alt",filter:"filter",columns:"columns",maximize:"maximize",minimize:"minimize",menuPin:"pin",menuValue:"aggregation",menuAddRowGroup:"group",menuRemoveRowGroup:"group",clipboardCopy:"copy",clipboardCut:"cut",clipboardPaste:"paste",pivotPanel:"pivot",rowGroupPanel:"group",valuePanel:"aggregation",columnDrag:"grip",rowDrag:"grip",save:"save",csvExport:"csv",excelExport:"excel",smallDown:"small-down",smallLeft:"small-left",smallRight:"small-right",smallUp:"small-up",sortAscending:"asc",sortDescending:"desc",sortUnSort:"none",advancedFilterBuilder:"group",advancedFilterBuilderDrag:"grip",advancedFilterBuilderInvalid:"not-allowed",advancedFilterBuilderMoveUp:"up",advancedFilterBuilderMoveDown:"down",advancedFilterBuilderAdd:"plus",advancedFilterBuilderRemove:"minus"};function Br(e,t,a){const r=qr(e,t,a);if(r){const{className:e}=r;if("string"==typeof e&&e.indexOf("ag-icon")>-1||"object"==typeof e&&e["ag-icon"])return r}const o=document.createElement("span");return o.appendChild(r),o}function qr(e,t,a,r){let o=null;const i=a&&a.getColDef().icons;if(i&&(o=i[e]),t&&!o){const a=t.get("icons");a&&(o=a[e])}if(!o){const t=document.createElement("span");let a=_r[e];return a||(r?a=e:(console.warn("AG Grid: Did not find icon "+e),a="")),t.setAttribute("class","ag-icon ag-icon-"+a),t.setAttribute("unselectable","on"),Jt(t,"presentation"),t}{let e;if("function"==typeof o)e=o();else{if("string"!=typeof o)throw new Error("icon from grid options needs to be a string or a function");e=o}if("string"==typeof e)return Cr(e);if(Mr(e))return e;console.warn("AG Grid: iconRenderer should return back a string or a dom object")}}class Wr{}Wr.BACKSPACE="Backspace",Wr.TAB="Tab",Wr.ENTER="Enter",Wr.ESCAPE="Escape",Wr.SPACE=" ",Wr.LEFT="ArrowLeft",Wr.UP="ArrowUp",Wr.RIGHT="ArrowRight",Wr.DOWN="ArrowDown",Wr.DELETE="Delete",Wr.F2="F2",Wr.PAGE_UP="PageUp",Wr.PAGE_DOWN="PageDown",Wr.PAGE_HOME="Home",Wr.PAGE_END="End",Wr.A="KeyA",Wr.C="KeyC",Wr.D="KeyD",Wr.V="KeyV",Wr.X="KeyX",Wr.Y="KeyY",Wr.Z="KeyZ";function Ur(e){if(e.altKey||e.ctrlKey||e.metaKey)return!1;return 1===e.key.length}function jr(e,t,a,r,o){const i=r?r.getColDef().suppressKeyboardEvent:void 0;if(!i)return!1;const n=e.addGridCommonParams({event:t,editing:o,column:r,node:a,data:a.data,colDef:r.getColDef()});if(i){if(i(n))return!0}return!1}function Kr(e,t,a,r){const o=r.getDefinition(),i=o&&o.suppressHeaderKeyboardEvent;if(!S(i))return!1;return!!i(e.addGridCommonParams({colDef:o,column:r,headerRowIndex:a,event:t}))}function Yr(e){const{keyCode:t}=e;let a;switch(t){case 65:a=Wr.A;break;case 67:a=Wr.C;break;case 86:a=Wr.V;break;case 68:a=Wr.D;break;case 90:a=Wr.Z;break;case 89:a=Wr.Y;break;default:a=e.code}return a}function Qr(e,t=!1){return e===Wr.DELETE||!t&&e===Wr.BACKSPACE&&Oa()}function Jr(e,t,a){if(0===a)return!1;const r=Math.abs(e.clientX-t.clientX),o=Math.abs(e.clientY-t.clientY);return Math.max(r,o)<=a}function Xr(e,t){if(!e)return!1;const a=(e,a)=>{const r=t[e.id],o=t[a.id],i=void 0!==r,n=void 0!==o;return i&&n?r-o:!i&&!n?e.__objectId-a.__objectId:i?1:-1};let r,o,i=!1;for(let t=0;t<e.length-1;t++)if(r=e[t],o=e[t+1],a(r,o)>0){i=!0;break}return!!i&&(e.sort(a),!0)}function Zr(e){const t=new Set;return e.forEach(e=>t.add(e)),t}const $r=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d),n),c),p),h),l),i),m),r),v),f),g),w),u),o),b),C),s);class eo{constructor(e=0,t=1){this.nextValue=e,this.step=t}next(){const e=this.nextValue;return this.nextValue+=this.step,e}peek(){return this.nextValue}skip(e){this.nextValue+=e}}var to;!function(e){e[e.IN_PROGRESS=0]="IN_PROGRESS",e[e.RESOLVED=1]="RESOLVED"}(to||(to={}));class ao{constructor(e){this.status=to.IN_PROGRESS,this.resolution=null,this.waiters=[],e(e=>this.onDone(e),e=>this.onReject(e))}static all(e){return new ao(t=>{let a=e.length;const r=new Array(a);e.forEach((e,o)=>{e.then(e=>{r[o]=e,a--,0===a&&t(r)})})})}static resolve(e=null){return new ao(t=>t(e))}then(e){return new ao(t=>{this.status===to.RESOLVED?t(e(this.resolution)):this.waiters.push(a=>t(e(a)))})}resolveNow(e,t){return this.status===to.RESOLVED?t(this.resolution):e}onDone(e){this.status=to.RESOLVED,this.resolution=e,this.waiters.forEach(t=>t(e))}onReject(e){console.warn("TBI")}}class ro{constructor(){this.timestamp=(new Date).getTime()}print(e){const t=(new Date).getTime()-this.timestamp;console.info(`${e} = ${t}`),this.timestamp=(new Date).getTime()}}var oo,io,no=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e[e.NOTHING=0]="NOTHING",e[e.WAITING_TO_SHOW=1]="WAITING_TO_SHOW",e[e.SHOWING=2]="SHOWING"}(oo||(oo={})),function(e){e[e.HOVER=0]="HOVER",e[e.FOCUS=1]="FOCUS"}(io||(io={}));class lo extends at{constructor(e,t,a){super(),this.parentComp=e,this.tooltipShowDelayOverride=t,this.tooltipHideDelayOverride=a,this.SHOW_QUICK_TOOLTIP_DIFF=1e3,this.FADE_OUT_TOOLTIP_TIMEOUT=1e3,this.INTERACTIVE_HIDE_DELAY=100,this.interactionEnabled=!1,this.isInteractingWithTooltip=!1,this.state=oo.NOTHING,this.tooltipInstanceCount=0,this.tooltipMouseTrack=!1}postConstruct(){this.gridOptionsService.get("tooltipInteraction")&&(this.interactionEnabled=!0),this.tooltipTrigger=this.getTooltipTrigger(),this.tooltipMouseTrack=this.gridOptionsService.get("tooltipMouseTrack");const e=this.parentComp.getGui();this.tooltipTrigger===io.HOVER&&(this.addManagedListener(e,"mouseenter",this.onMouseEnter.bind(this)),this.addManagedListener(e,"mouseleave",this.onMouseLeave.bind(this))),this.tooltipTrigger===io.FOCUS&&(this.addManagedListener(e,"focusin",this.onFocusIn.bind(this)),this.addManagedListener(e,"focusout",this.onFocusOut.bind(this))),this.addManagedListener(e,"mousemove",this.onMouseMove.bind(this)),this.interactionEnabled||(this.addManagedListener(e,"mousedown",this.onMouseDown.bind(this)),this.addManagedListener(e,"keydown",this.onKeyDown.bind(this)))}getGridOptionsTooltipDelay(e){const t=this.gridOptionsService.get(e);return t<0&&q(e+" should not be lower than 0"),Math.max(200,t)}getTooltipDelay(e){var t,a;return"show"===e?null!==(t=this.tooltipShowDelayOverride)&&void 0!==t?t:this.getGridOptionsTooltipDelay("tooltipShowDelay"):null!==(a=this.tooltipHideDelayOverride)&&void 0!==a?a:this.getGridOptionsTooltipDelay("tooltipHideDelay")}destroy(){this.setToDoNothing(),super.destroy()}getTooltipTrigger(){const e=this.gridOptionsService.get("tooltipTrigger");return e&&"hover"!==e?io.FOCUS:io.HOVER}onMouseEnter(e){this.interactionEnabled&&this.interactiveTooltipTimeoutId&&(this.unlockService(),this.startHideTimeout()),Ma()||(lo.isLocked?this.showTooltipTimeoutId=window.setTimeout(()=>{this.prepareToShowTooltip(e)},this.INTERACTIVE_HIDE_DELAY):this.prepareToShowTooltip(e))}onMouseMove(e){this.lastMouseEvent&&(this.lastMouseEvent=e),this.tooltipMouseTrack&&this.state===oo.SHOWING&&this.tooltipComp&&this.positionTooltip()}onMouseDown(){this.setToDoNothing()}onMouseLeave(){this.interactionEnabled?this.lockService():this.setToDoNothing()}onFocusIn(){this.prepareToShowTooltip()}onFocusOut(e){var t;const a=e.relatedTarget,r=this.parentComp.getGui(),o=null===(t=this.tooltipComp)||void 0===t?void 0:t.getGui();this.isInteractingWithTooltip||r.contains(a)||this.interactionEnabled&&(null==o?void 0:o.contains(a))||this.setToDoNothing()}onKeyDown(){this.setToDoNothing()}prepareToShowTooltip(e){if(this.state!=oo.NOTHING||lo.isLocked)return!1;let t=0;return e&&(t=this.isLastTooltipHiddenRecently()?200:this.getTooltipDelay("show")),this.lastMouseEvent=e||null,this.showTooltipTimeoutId=window.setTimeout(this.showTooltip.bind(this),t),this.state=oo.WAITING_TO_SHOW,!0}isLastTooltipHiddenRecently(){return(new Date).getTime()-lo.lastTooltipHideTime<this.SHOW_QUICK_TOOLTIP_DIFF}setToDoNothing(){this.state===oo.SHOWING&&this.hideTooltip(),this.onBodyScrollEventCallback&&(this.onBodyScrollEventCallback(),this.onBodyScrollEventCallback=void 0),this.onColumnMovedEventCallback&&(this.onColumnMovedEventCallback(),this.onColumnMovedEventCallback=void 0),this.clearTimeouts(),this.state=oo.NOTHING,this.lastMouseEvent=null}showTooltip(){const e=Object.assign({},this.parentComp.getTooltipParams());if(!S(e.value))return void this.setToDoNothing();this.state=oo.SHOWING,this.tooltipInstanceCount++;const t=this.newTooltipComponentCallback.bind(this,this.tooltipInstanceCount);this.userComponentFactory.getTooltipCompDetails(e).newAgStackInstance().then(t)}hideTooltip(e){if(!e&&this.isInteractingWithTooltip)return;this.tooltipComp&&(this.destroyTooltipComp(),lo.lastTooltipHideTime=(new Date).getTime());const t={type:st.EVENT_TOOLTIP_HIDE,parentGui:this.parentComp.getGui()};this.eventService.dispatchEvent(t),this.state=oo.NOTHING}newTooltipComponentCallback(e,t){if(this.state!==oo.SHOWING||this.tooltipInstanceCount!==e)return void this.getContext().destroyBean(t);const a=t.getGui();this.tooltipComp=t,a.classList.contains("ag-tooltip")||a.classList.add("ag-tooltip-custom"),this.tooltipTrigger===io.HOVER&&a.classList.add("ag-tooltip-animate"),this.interactionEnabled&&a.classList.add("ag-tooltip-interactive");const r=this.localeService.getLocaleTextFunc(),o=this.popupService.addPopup({eChild:a,ariaLabel:r("ariaLabelTooltip","Tooltip")});o&&(this.tooltipPopupDestroyFunc=o.hideFunc),this.positionTooltip(),this.tooltipTrigger===io.FOCUS&&(this.onBodyScrollEventCallback=this.addManagedListener(this.eventService,st.EVENT_BODY_SCROLL,this.setToDoNothing.bind(this)),this.onColumnMovedEventCallback=this.addManagedListener(this.eventService,st.EVENT_COLUMN_MOVED,this.setToDoNothing.bind(this))),this.interactionEnabled&&(this.tooltipTrigger===io.HOVER?(this.tooltipMouseEnterListener=this.addManagedListener(a,"mouseenter",this.onTooltipMouseEnter.bind(this))||null,this.tooltipMouseLeaveListener=this.addManagedListener(a,"mouseleave",this.onTooltipMouseLeave.bind(this))||null):(this.tooltipFocusInListener=this.addManagedListener(a,"focusin",this.onTooltipFocusIn.bind(this))||null,this.tooltipFocusOutListener=this.addManagedListener(a,"focusout",this.onTooltipFocusOut.bind(this))||null));const i={type:st.EVENT_TOOLTIP_SHOW,tooltipGui:a,parentGui:this.parentComp.getGui()};this.eventService.dispatchEvent(i),this.startHideTimeout()}onTooltipMouseEnter(){this.isInteractingWithTooltip=!0,this.unlockService()}onTooltipMouseLeave(){this.isInteractingWithTooltip=!1,this.lockService()}onTooltipFocusIn(){this.isInteractingWithTooltip=!0}onTooltipFocusOut(e){var t;const a=this.parentComp.getGui(),r=null===(t=this.tooltipComp)||void 0===t?void 0:t.getGui(),o=e.relatedTarget;(null==r?void 0:r.contains(o))||(this.isInteractingWithTooltip=!1,a.contains(o)?this.startHideTimeout():this.hideTooltip())}positionTooltip(){const e={type:"tooltip",ePopup:this.tooltipComp.getGui(),nudgeY:18,skipObserver:this.tooltipMouseTrack};this.lastMouseEvent?this.popupService.positionPopupUnderMouseEvent(Object.assign(Object.assign({},e),{mouseEvent:this.lastMouseEvent})):this.popupService.positionPopupByComponent(Object.assign(Object.assign({},e),{eventSource:this.parentComp.getGui(),position:"under",keepWithinBounds:!0,nudgeY:5}))}destroyTooltipComp(){this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");const e=this.tooltipPopupDestroyFunc,t=this.tooltipComp,a=this.tooltipTrigger===io.HOVER?this.FADE_OUT_TOOLTIP_TIMEOUT:0;window.setTimeout(()=>{e(),this.getContext().destroyBean(t)},a),this.clearTooltipListeners(),this.tooltipPopupDestroyFunc=void 0,this.tooltipComp=void 0}clearTooltipListeners(){[this.tooltipMouseEnterListener,this.tooltipMouseLeaveListener,this.tooltipFocusInListener,this.tooltipFocusOutListener].forEach(e=>{e&&e()}),this.tooltipMouseEnterListener=this.tooltipMouseLeaveListener=this.tooltipFocusInListener=this.tooltipFocusOutListener=null}lockService(){lo.isLocked=!0,this.interactiveTooltipTimeoutId=window.setTimeout(()=>{this.unlockService(),this.setToDoNothing()},this.INTERACTIVE_HIDE_DELAY)}unlockService(){lo.isLocked=!1,this.clearInteractiveTimeout()}startHideTimeout(){this.clearHideTimeout(),this.hideTooltipTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.getTooltipDelay("hide"))}clearShowTimeout(){this.showTooltipTimeoutId&&(window.clearTimeout(this.showTooltipTimeoutId),this.showTooltipTimeoutId=void 0)}clearHideTimeout(){this.hideTooltipTimeoutId&&(window.clearTimeout(this.hideTooltipTimeoutId),this.hideTooltipTimeoutId=void 0)}clearInteractiveTimeout(){this.interactiveTooltipTimeoutId&&(window.clearTimeout(this.interactiveTooltipTimeoutId),this.interactiveTooltipTimeoutId=void 0)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout(),this.clearInteractiveTimeout()}}lo.isLocked=!1,no([de("popupService")],lo.prototype,"popupService",void 0),no([de("userComponentFactory")],lo.prototype,"userComponentFactory",void 0),no([le],lo.prototype,"postConstruct",null);class so{constructor(e){this.cssClassStates={},this.getGui=e}addCssClass(e){const t=(e||"").split(" ");if(t.length>1)return void t.forEach(e=>this.addCssClass(e));if(!0!==this.cssClassStates[e]&&e.length){const t=this.getGui();t&&t.classList.add(e),this.cssClassStates[e]=!0}}removeCssClass(e){const t=(e||"").split(" ");if(t.length>1)return void t.forEach(e=>this.removeCssClass(e));if(!1!==this.cssClassStates[e]&&e.length){const t=this.getGui();t&&t.classList.remove(e),this.cssClassStates[e]=!1}}containsCssClass(e){const t=this.getGui();return!!t&&t.classList.contains(e)}addOrRemoveCssClass(e,t){if(!e)return;if(e.indexOf(" ")>=0){const a=(e||"").split(" ");if(a.length>1)return void a.forEach(e=>this.addOrRemoveCssClass(e,t))}if(this.cssClassStates[e]!==t&&e.length){const a=this.getGui();a&&a.classList.toggle(e,t),this.cssClassStates[e]=t}}}var go=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};const co=new eo;class uo extends at{constructor(e){super(),this.displayed=!0,this.visible=!0,this.compId=co.next(),this.cssClassManager=new so(()=>this.eGui),e&&this.setTemplate(e)}preConstructOnComponent(){this.usingBrowserTooltips=this.gridOptionsService.get("enableBrowserTooltips")}getCompId(){return this.compId}getTooltipParams(){return{value:this.tooltipText,location:"UNKNOWN"}}setTooltip(e,t,a){const r=()=>{this.usingBrowserTooltips?this.getGui().removeAttribute("title"):this.tooltipFeature=this.destroyBean(this.tooltipFeature)},o=()=>{this.usingBrowserTooltips?this.getGui().setAttribute("title",this.tooltipText):this.tooltipFeature=this.createBean(new lo(this,t,a))};this.tooltipText!=e&&(this.tooltipText&&r(),null!=e&&(this.tooltipText=e,this.tooltipText&&o()))}createChildComponentsFromTags(e,t){Pr(e.childNodes).forEach(a=>{if(!(a instanceof HTMLElement))return;const r=this.createComponentFromElement(a,e=>{e.getGui()&&this.copyAttributesFromNode(a,e.getGui())},t);if(r){if(r.addItems&&a.children.length){this.createChildComponentsFromTags(a,t);const e=Array.prototype.slice.call(a.children);r.addItems(e)}this.swapComponentForNode(r,e,a)}else a.childNodes&&this.createChildComponentsFromTags(a,t)})}createComponentFromElement(e,t,a){const r=e.nodeName,o=a?a[e.getAttribute("ref")]:void 0,i=this.agStackComponentsRegistry.getComponentClass(r);if(i){uo.elementGettingCreated=e;const a=new i(o);return a.setParentComponent(this),this.createBean(a,null,t),a}return null}copyAttributesFromNode(e,t){Lr(e.attributes,(e,a)=>t.setAttribute(e,a))}swapComponentForNode(e,t,a){const r=e.getGui();t.replaceChild(r,a),t.insertBefore(document.createComment(a.nodeName),r),this.addDestroyFunc(this.destroyBean.bind(this,e)),this.swapInComponentForQuerySelectors(e,a)}swapInComponentForQuerySelectors(e,t){const a=this;this.iterateOverQuerySelectors(r=>{a[r.attributeName]===t&&(a[r.attributeName]=e)})}iterateOverQuerySelectors(e){let t=Object.getPrototypeOf(this);for(;null!=t;){const a=t.__agComponentMetaData,r=U(t.constructor);a&&a[r]&&a[r].querySelectors&&a[r].querySelectors.forEach(t=>e(t)),t=Object.getPrototypeOf(t)}}activateTabIndex(e){const t=this.gridOptionsService.get("tabIndex");e||(e=[]),e.length||e.push(this.getGui()),e.forEach(e=>e.setAttribute("tabindex",t.toString()))}setTemplate(e,t){const a=Cr(e);this.setTemplateFromElement(a,t)}setTemplateFromElement(e,t){this.eGui=e,this.eGui.__agComponent=this,this.wireQuerySelectors(),this.getContext()&&this.createChildComponentsFromTags(this.getGui(),t)}createChildComponentsPreConstruct(){this.getGui()&&this.createChildComponentsFromTags(this.getGui())}wireQuerySelectors(){if(!this.eGui)return;const e=this;this.iterateOverQuerySelectors(t=>{const a=a=>e[t.attributeName]=a;if(t.refSelector&&this.getAttribute("ref")===t.refSelector)a(this.eGui);else{const e=this.eGui.querySelector(t.querySelector);e&&a(e.__agComponent||e)}})}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)}queryForHtmlInputElement(e){return this.eGui.querySelector(e)}appendChild(e,t){if(null!=e)if(t||(t=this.eGui),Mr(e))t.appendChild(e);else{const a=e;t.appendChild(a.getGui())}}isDisplayed(){return this.displayed}setVisible(e,t={}){if(e!==this.visible){this.visible=e;const{skipAriaHidden:a}=t;or(this.eGui,e,{skipAriaHidden:a})}}setDisplayed(e,t={}){if(e!==this.displayed){this.displayed=e;const{skipAriaHidden:a}=t;rr(this.eGui,e,{skipAriaHidden:a});const r={type:uo.EVENT_DISPLAYED_CHANGED,visible:this.displayed};this.dispatchEvent(r)}}destroy(){this.tooltipFeature&&(this.tooltipFeature=this.destroyBean(this.tooltipFeature)),this.parentComponent&&(this.parentComponent=void 0);const e=this.eGui;e&&e.__agComponent&&(e.__agComponent=void 0),super.destroy()}addGuiEventListener(e,t,a){this.eGui.addEventListener(e,t,a),this.addDestroyFunc(()=>this.eGui.removeEventListener(e,t))}addCssClass(e){this.cssClassManager.addCssClass(e)}removeCssClass(e){this.cssClassManager.removeCssClass(e)}containsCssClass(e){return this.cssClassManager.containsCssClass(e)}addOrRemoveCssClass(e,t){this.cssClassManager.addOrRemoveCssClass(e,t)}getAttribute(e){const{eGui:t}=this;return t?t.getAttribute(e):null}getRefElement(e){return this.queryForHtmlElement(`[ref="${e}"]`)}}function po(e){return mo.bind(this,e,void 0)}function ho(e){return mo.bind(this,`[ref=${e}]`,e)}function mo(e,t,a,r,o){null!==e?"number"!=typeof o?function(e,t,a){const r=function(e,t){e.__agComponentMetaData||(e.__agComponentMetaData={});e.__agComponentMetaData[t]||(e.__agComponentMetaData[t]={});return e.__agComponentMetaData[t]}(e,U(e.constructor));r[t]||(r[t]=[]);r[t].push(a)}(a,"querySelectors",{attributeName:r,querySelector:e,refSelector:t}):console.error("AG Grid: QuerySelector should be on an attribute"):console.error("AG Grid: QuerySelector selector should not be null")}uo.EVENT_DISPLAYED_CHANGED="displayedChanged",go([de("agStackComponentsRegistry")],uo.prototype,"agStackComponentsRegistry",void 0),go([ne],uo.prototype,"preConstructOnComponent",null),go([ne],uo.prototype,"createChildComponentsPreConstruct",null);var vo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class fo extends uo{constructor(){super('\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eFloatingFilterText"></ag-input-text-field>\n </div>')}destroy(){super.destroy()}init(e){this.params=e;const t=this.columnModel.getDisplayNameForColumn(e.column,"header",!0),a=this.localeService.getLocaleTextFunc();this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(`${t} ${a("ariaFilterInput","Filter Input")}`)}onParentModelChanged(e){null!=e?this.params.parentFilterInstance(t=>{if(t.getModelAsString){const a=t.getModelAsString(e);this.eFloatingFilterText.setValue(a)}}):this.eFloatingFilterText.setValue("")}onParamsUpdated(e){this.refresh(e)}refresh(e){this.init(e)}}vo([ho("eFloatingFilterText")],fo.prototype,"eFloatingFilterText",void 0),vo([de("columnModel")],fo.prototype,"columnModel",void 0);class wo{constructor(e,t,a,r){this.alive=!0,this.context=e,this.eParent=r;t.getDateCompDetails(a).newAgStackInstance().then(t=>{this.alive?(this.dateComp=t,t&&(r.appendChild(t.getGui()),t.afterGuiAttached&&t.afterGuiAttached(),this.tempValue&&t.setDate(this.tempValue),null!=this.disabled&&this.setDateCompDisabled(this.disabled))):e.destroyBean(t)})}destroy(){this.alive=!1,this.dateComp=this.context.destroyBean(this.dateComp)}getDate(){return this.dateComp?this.dateComp.getDate():this.tempValue}setDate(e){this.dateComp?this.dateComp.setDate(e):this.tempValue=e}setDisabled(e){this.dateComp?this.setDateCompDisabled(e):this.disabled=e}setDisplayed(e){rr(this.eParent,e)}setInputPlaceholder(e){this.dateComp&&this.dateComp.setInputPlaceholder&&this.dateComp.setInputPlaceholder(e)}setInputAriaLabel(e){this.dateComp&&this.dateComp.setInputAriaLabel&&this.dateComp.setInputAriaLabel(e)}afterGuiAttached(e){this.dateComp&&"function"==typeof this.dateComp.afterGuiAttached&&this.dateComp.afterGuiAttached(e)}updateParams(e){var t,a;let r=!1;if((null===(t=this.dateComp)||void 0===t?void 0:t.refresh)&&"function"==typeof this.dateComp.refresh){null!==this.dateComp.refresh(e)&&(r=!0)}if(!r&&(null===(a=this.dateComp)||void 0===a?void 0:a.onParamsUpdated)&&"function"==typeof this.dateComp.onParamsUpdated){null!==this.dateComp.onParamsUpdated(e)&&q("Custom date component method 'onParamsUpdated' is deprecated. Use 'refresh' instead.")}}setDateCompDisabled(e){null!=this.dateComp&&null!=this.dateComp.setDisabled&&this.dateComp.setDisabled(e)}}class bo{constructor(){this.customFilterOptions={}}init(e,t){this.filterOptions=e.filterOptions||t,this.mapCustomOptions(),this.selectDefaultItem(e)}getFilterOptions(){return this.filterOptions}mapCustomOptions(){this.filterOptions&&this.filterOptions.forEach(e=>{if("string"==typeof e)return;[["displayKey"],["displayName"],["predicate","test"]].every(t=>!!t.some(t=>null!=e[t])||(console.warn(`AG Grid: ignoring FilterOptionDef as it doesn't contain one of '${t}'`),!1))?this.customFilterOptions[e.displayKey]=e:this.filterOptions=this.filterOptions.filter(t=>t===e)||[]})}selectDefaultItem(e){if(e.defaultOption)this.defaultOption=e.defaultOption;else if(this.filterOptions.length>=1){const e=this.filterOptions[0];"string"==typeof e?this.defaultOption=e:e.displayKey?this.defaultOption=e.displayKey:console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'")}else console.warn("AG Grid: no filter options for filter")}getDefaultOption(){return this.defaultOption}getCustomOption(e){return this.customFilterOptions[e]}}const Co={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose one",equals:"Equals",notEqual:"Does not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"Between",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equal to",greaterThanOrEqual:"Greater than or equal to",contains:"Contains",notContains:"Does not contain",startsWith:"Begins with",endsWith:"Ends with",blank:"Blank",notBlank:"Not blank",before:"Before",after:"After",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd"};var yo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class So extends at{constructor(e,t={}){super(),this.eFocusableElement=e,this.callbacks=t,this.callbacks=Object.assign({shouldStopEventPropagation:()=>!1,onTabKeyDown:e=>{if(e.defaultPrevented)return;const t=this.focusService.findNextFocusableElement(this.eFocusableElement,!1,e.shiftKey);t&&(t.focus(),e.preventDefault())}},t)}postConstruct(){this.eFocusableElement.classList.add(So.FOCUS_MANAGED_CLASS),this.addKeyDownListeners(this.eFocusableElement),this.callbacks.onFocusIn&&this.addManagedListener(this.eFocusableElement,"focusin",this.callbacks.onFocusIn),this.callbacks.onFocusOut&&this.addManagedListener(this.eFocusableElement,"focusout",this.callbacks.onFocusOut)}addKeyDownListeners(e){this.addManagedListener(e,"keydown",e=>{e.defaultPrevented||Ye(e)||(this.callbacks.shouldStopEventPropagation(e)?Ke(e):e.key===Wr.TAB?this.callbacks.onTabKeyDown(e):this.callbacks.handleKeyDown&&this.callbacks.handleKeyDown(e))})}}So.FOCUS_MANAGED_CLASS="ag-focus-managed",yo([de("focusService")],So.prototype,"focusService",void 0),yo([le],So.prototype,"postConstruct",null);var Eo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Ro extends at{constructor(e,t){super(),this.element=e,this.dragStartPosition={x:0,y:0},this.position={x:0,y:0},this.lastSize={width:-1,height:-1},this.positioned=!1,this.resizersAdded=!1,this.resizeListeners=[],this.boundaryEl=null,this.isResizing=!1,this.isMoving=!1,this.resizable={},this.movable=!1,this.currentResizer=null,this.config=Object.assign({},{popup:!1},t)}center(){const{clientHeight:e,clientWidth:t}=this.offsetParent,a=t/2-this.getWidth()/2,r=e/2-this.getHeight()/2;this.offsetElement(a,r)}initialisePosition(){if(this.positioned)return;const{centered:e,forcePopupParentAsOffsetParent:t,minWidth:a,width:r,minHeight:o,height:i,x:n,y:l}=this.config;this.offsetParent||this.setOffsetParent();let s=0,g=0;const d=br(this.element);if(d){const e=this.findBoundaryElement(),t=window.getComputedStyle(e);if(null!=t.minWidth){const a=e.offsetWidth-this.element.offsetWidth;g=parseInt(t.minWidth,10)-a}if(null!=t.minHeight){const a=e.offsetHeight-this.element.offsetHeight;s=parseInt(t.minHeight,10)-a}}if(this.minHeight=o||s,this.minWidth=a||g,r&&this.setWidth(r),i&&this.setHeight(i),r&&i||this.refreshSize(),e)this.center();else if(n||l)this.offsetElement(n,l);else if(d&&t){let e=this.boundaryEl,t=!0;if(e||(e=this.findBoundaryElement(),t=!1),e){const a=parseFloat(e.style.top),r=parseFloat(e.style.left);t?this.offsetElement(isNaN(r)?0:r,isNaN(a)?0:a):this.setPosition(r,a)}}this.positioned=!!this.offsetParent}isPositioned(){return this.positioned}getPosition(){return this.position}setMovable(e,t){if(!this.config.popup||e===this.movable)return;this.movable=e;const a=this.moveElementDragListener||{eElement:t,onDragStart:this.onMoveStart.bind(this),onDragging:this.onMove.bind(this),onDragStop:this.onMoveEnd.bind(this)};e?(this.dragService.addDragSource(a),this.moveElementDragListener=a):(this.dragService.removeDragSource(a),this.moveElementDragListener=void 0)}setResizable(e){if(this.clearResizeListeners(),e?this.addResizers():this.removeResizers(),"boolean"==typeof e){if(!1===e)return;e={topLeft:e,top:e,topRight:e,right:e,bottomRight:e,bottom:e,bottomLeft:e,left:e}}Object.keys(e).forEach(t=>{const a=!!e[t],r=this.getResizerElement(t),o={dragStartPixels:0,eElement:r,onDragStart:e=>this.onResizeStart(e,t),onDragging:this.onResize.bind(this),onDragStop:e=>this.onResizeEnd(e,t)};(a||!this.isAlive()&&!a)&&(a?(this.dragService.addDragSource(o),this.resizeListeners.push(o),r.style.pointerEvents="all"):r.style.pointerEvents="none",this.resizable[t]=a)})}removeSizeFromEl(){this.element.style.removeProperty("height"),this.element.style.removeProperty("width"),this.element.style.removeProperty("flex")}restoreLastSize(){this.element.style.flex="0 0 auto";const{height:e,width:t}=this.lastSize;-1!==t&&(this.element.style.width=t+"px"),-1!==e&&(this.element.style.height=e+"px")}getHeight(){return this.element.offsetHeight}setHeight(e){const{popup:t}=this.config,a=this.element;let r=!1;if("string"==typeof e&&-1!==e.indexOf("%"))Dr(a,e),e=dr(a),r=!0;else if(e=Math.max(this.minHeight,e),this.positioned){const t=this.getAvailableHeight();t&&e>t&&(e=t)}this.getHeight()!==e&&(r?(a.style.maxHeight="unset",a.style.minHeight="unset"):t?Dr(a,e):(a.style.height=e+"px",a.style.flex="0 0 auto",this.lastSize.height="number"==typeof e?e:parseFloat(e)))}getAvailableHeight(){const{popup:e,forcePopupParentAsOffsetParent:t}=this.config;this.positioned||this.initialisePosition();const{clientHeight:a}=this.offsetParent;if(!a)return null;const r=this.element.getBoundingClientRect(),o=this.offsetParent.getBoundingClientRect(),i=e?this.position.y:r.top,n=e?0:o.top;let l=0;if(t){const e=this.element.parentElement;if(e){const{bottom:t}=e.getBoundingClientRect();l=t-r.bottom}}return a+n-i-l}getWidth(){return this.element.offsetWidth}setWidth(e){const t=this.element,{popup:a}=this.config;let r=!1;if("string"==typeof e&&-1!==e.indexOf("%"))Tr(t,e),e=cr(t),r=!0;else if(this.positioned){e=Math.max(this.minWidth,e);const{clientWidth:t}=this.offsetParent,r=a?this.position.x:this.element.getBoundingClientRect().left;t&&e+r>t&&(e=t-r)}this.getWidth()!==e&&(r?(t.style.maxWidth="unset",t.style.minWidth="unset"):this.config.popup?Tr(t,e):(t.style.width=e+"px",t.style.flex=" unset",this.lastSize.width="number"==typeof e?e:parseFloat(e)))}offsetElement(e=0,t=0){const{forcePopupParentAsOffsetParent:a}=this.config,r=a?this.boundaryEl:this.element;r&&(this.popupService.positionPopup({ePopup:r,keepWithinBounds:!0,skipObserver:this.movable||this.isResizable(),updatePosition:()=>({x:e,y:t})}),this.setPosition(parseFloat(r.style.left),parseFloat(r.style.top)))}constrainSizeToAvailableHeight(e){if(!this.config.forcePopupParentAsOffsetParent)return;const t=()=>{const e=this.getAvailableHeight();this.element.style.setProperty("max-height",e+"px")};e?this.resizeObserverSubscriber=this.resizeObserverService.observeResize(this.popupService.getPopupParent(),t):(this.element.style.removeProperty("max-height"),this.resizeObserverSubscriber&&(this.resizeObserverSubscriber(),this.resizeObserverSubscriber=void 0))}setPosition(e,t){this.position.x=e,this.position.y=t}updateDragStartPosition(e,t){this.dragStartPosition={x:e,y:t}}calculateMouseMovement(e){const{e:t,isLeft:a,isTop:r,anywhereWithin:o,topBuffer:i}=e,n=t.clientX-this.dragStartPosition.x,l=t.clientY-this.dragStartPosition.y;return{movementX:this.shouldSkipX(t,!!a,!!o,n)?0:n,movementY:this.shouldSkipY(t,!!r,i,l)?0:l}}shouldSkipX(e,t,a,r){const o=this.element.getBoundingClientRect(),i=this.offsetParent.getBoundingClientRect(),n=this.boundaryEl.getBoundingClientRect(),l=this.config.popup?this.position.x:o.left;let s=l<=0&&i.left>=e.clientX||i.right<=e.clientX&&i.right<=n.right;return!!s||(s=t?r<0&&e.clientX>l+i.left||r>0&&e.clientX<l+i.left:a?r<0&&e.clientX>n.right||r>0&&e.clientX<l+i.left:r<0&&e.clientX>n.right||r>0&&e.clientX<n.right,s)}shouldSkipY(e,t,a=0,r){const o=this.element.getBoundingClientRect(),i=this.offsetParent.getBoundingClientRect(),n=this.boundaryEl.getBoundingClientRect(),l=this.config.popup?this.position.y:o.top;let s=l<=0&&i.top>=e.clientY||i.bottom<=e.clientY&&i.bottom<=n.bottom;return!!s||(s=t?r<0&&e.clientY>l+i.top+a||r>0&&e.clientY<l+i.top:r<0&&e.clientY>n.bottom||r>0&&e.clientY<n.bottom,s)}createResizeMap(){const e=this.element;this.resizerMap={topLeft:{element:e.querySelector("[ref=eTopLeftResizer]")},top:{element:e.querySelector("[ref=eTopResizer]")},topRight:{element:e.querySelector("[ref=eTopRightResizer]")},right:{element:e.querySelector("[ref=eRightResizer]")},bottomRight:{element:e.querySelector("[ref=eBottomRightResizer]")},bottom:{element:e.querySelector("[ref=eBottomResizer]")},bottomLeft:{element:e.querySelector("[ref=eBottomLeftResizer]")},left:{element:e.querySelector("[ref=eLeftResizer]")}}}addResizers(){if(this.resizersAdded)return;const e=this.element;if(!e)return;const t=(new DOMParser).parseFromString('<div class="ag-resizer-wrapper">\n <div ref="eTopLeftResizer" class="ag-resizer ag-resizer-topLeft"></div>\n <div ref="eTopResizer" class="ag-resizer ag-resizer-top"></div>\n <div ref="eTopRightResizer" class="ag-resizer ag-resizer-topRight"></div>\n <div ref="eRightResizer" class="ag-resizer ag-resizer-right"></div>\n <div ref="eBottomRightResizer" class="ag-resizer ag-resizer-bottomRight"></div>\n <div ref="eBottomResizer" class="ag-resizer ag-resizer-bottom"></div>\n <div ref="eBottomLeftResizer" class="ag-resizer ag-resizer-bottomLeft"></div>\n <div ref="eLeftResizer" class="ag-resizer ag-resizer-left"></div>\n </div>',"text/html").body;e.appendChild(t.firstChild),this.createResizeMap(),this.resizersAdded=!0}removeResizers(){this.resizerMap=void 0;const e=this.element.querySelector(".ag-resizer-wrapper");e&&this.element.removeChild(e),this.resizersAdded=!1}getResizerElement(e){return this.resizerMap[e].element}onResizeStart(e,t){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.currentResizer={isTop:!!t.match(/top/i),isRight:!!t.match(/right/i),isBottom:!!t.match(/bottom/i),isLeft:!!t.match(/left/i)},this.element.classList.add("ag-resizing"),this.resizerMap[t].element.classList.add("ag-active");const{popup:a,forcePopupParentAsOffsetParent:r}=this.config;a||r||this.applySizeToSiblings(this.currentResizer.isBottom||this.currentResizer.isTop),this.isResizing=!0,this.updateDragStartPosition(e.clientX,e.clientY)}getSiblings(){const e=this.element.parentElement;return e?Array.prototype.slice.call(e.children).filter(e=>!e.classList.contains("ag-hidden")):null}getMinSizeOfSiblings(){const e=this.getSiblings()||[];let t=0,a=0;for(let r=0;r<e.length;r++){const o=e[r],i=!!o.style.flex&&"0 0 auto"!==o.style.flex;if(o===this.element)continue;let n=this.minHeight||0,l=this.minWidth||0;if(i){const e=window.getComputedStyle(o);e.minHeight&&(n=parseInt(e.minHeight,10)),e.minWidth&&(l=parseInt(e.minWidth,10))}else n=o.offsetHeight,l=o.offsetWidth;t+=n,a+=l}return{height:t,width:a}}applySizeToSiblings(e){let t=null;const a=this.getSiblings();if(a){for(let r=0;r<a.length;r++){const o=a[r];o!==t&&(e?o.style.height=o.offsetHeight+"px":o.style.width=o.offsetWidth+"px",o.style.flex="0 0 auto",o===this.element&&(t=a[r+1]))}t&&(t.style.removeProperty("height"),t.style.removeProperty("min-height"),t.style.removeProperty("max-height"),t.style.flex="1 1 auto")}}isResizable(){return Object.values(this.resizable).some(e=>e)}onResize(e){if(!this.isResizing||!this.currentResizer)return;const{popup:t,forcePopupParentAsOffsetParent:a}=this.config,{isTop:r,isRight:o,isBottom:i,isLeft:n}=this.currentResizer,l=o||n,s=i||r,{movementX:g,movementY:d}=this.calculateMouseMovement({e:e,isLeft:n,isTop:r}),c=this.position.x,u=this.position.y;let p=0,h=0;if(l&&g){const e=n?-1:1,t=this.getWidth(),a=t+g*e;let r=!1;n&&(p=t-a,(c+p<=0||a<=this.minWidth)&&(r=!0,p=0)),r||this.setWidth(a)}if(s&&d){const e=r?-1:1,t=this.getHeight(),a=t+d*e;let o=!1;r?(h=t-a,(u+h<=0||a<=this.minHeight)&&(o=!0,h=0)):!this.config.popup&&!this.config.forcePopupParentAsOffsetParent&&t<a&&this.getMinSizeOfSiblings().height+a>this.element.parentElement.offsetHeight&&(o=!0),o||this.setHeight(a)}this.updateDragStartPosition(e.clientX,e.clientY),((t||a)&&p||h)&&this.offsetElement(c+p,u+h)}onResizeEnd(e,t){this.isResizing=!1,this.currentResizer=null,this.boundaryEl=null;this.element.classList.remove("ag-resizing"),this.resizerMap[t].element.classList.remove("ag-active"),this.dispatchEvent({type:"resize"})}refreshSize(){const e=this.element;this.config.popup&&(this.config.width||this.setWidth(e.offsetWidth),this.config.height||this.setHeight(e.offsetHeight))}onMoveStart(e){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.isMoving=!0,this.element.classList.add("ag-moving"),this.updateDragStartPosition(e.clientX,e.clientY)}onMove(e){if(!this.isMoving)return;const{x:t,y:a}=this.position;let r;this.config.calculateTopBuffer&&(r=this.config.calculateTopBuffer());const{movementX:o,movementY:i}=this.calculateMouseMovement({e:e,isTop:!0,anywhereWithin:!0,topBuffer:r});this.offsetElement(t+o,a+i),this.updateDragStartPosition(e.clientX,e.clientY)}onMoveEnd(){this.isMoving=!1,this.boundaryEl=null,this.element.classList.remove("ag-moving")}setOffsetParent(){this.config.forcePopupParentAsOffsetParent?this.offsetParent=this.popupService.getPopupParent():this.offsetParent=this.element.offsetParent}findBoundaryElement(){let e=this.element;for(;e;){if("static"!==window.getComputedStyle(e).position)return e;e=e.parentElement}return this.element}clearResizeListeners(){for(;this.resizeListeners.length;){const e=this.resizeListeners.pop();this.dragService.removeDragSource(e)}}destroy(){super.destroy(),this.moveElementDragListener&&this.dragService.removeDragSource(this.moveElementDragListener),this.constrainSizeToAvailableHeight(!1),this.clearResizeListeners(),this.removeResizers()}}Eo([de("popupService")],Ro.prototype,"popupService",void 0),Eo([de("resizeObserverService")],Ro.prototype,"resizeObserverService",void 0),Eo([de("dragService")],Ro.prototype,"dragService",void 0);var xo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ko extends uo{constructor(e){super(),this.filterNameKey=e,this.applyActive=!1,this.hidePopup=null,this.debouncePending=!1,this.appliedModel=null,this.buttonListeners=[]}postConstruct(){this.resetTemplate(),this.createManagedBean(new So(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)})),this.positionableFeature=new Ro(this.getPositionableElement(),{forcePopupParentAsOffsetParent:!0}),this.createBean(this.positionableFeature)}handleKeyDown(e){}getFilterTitle(){return this.translate(this.filterNameKey)}isFilterActive(){return!!this.appliedModel}resetTemplate(e){let t=this.getGui();t&&t.removeEventListener("submit",this.onFormSubmit);const a=`\n <form class="ag-filter-wrapper">\n <div class="ag-filter-body-wrapper ag-${this.getCssIdentifier()}-body-wrapper" ref="eFilterBody">\n ${this.createBodyTemplate()}\n </div>\n </form>`;this.setTemplate(a,e),t=this.getGui(),t&&t.addEventListener("submit",this.onFormSubmit)}isReadOnly(){return!!this.providedFilterParams.readOnly}init(e){this.setParams(e),this.resetUiToDefaults(!0).then(()=>{this.updateUiVisibility(),this.setupOnBtApplyDebounce()})}setParams(e){this.providedFilterParams=e,this.applyActive=ko.isUseApplyButton(e),this.resetButtonsPanel()}updateParams(e){this.providedFilterParams=e,this.applyActive=ko.isUseApplyButton(e),this.resetUiToActiveModel(this.getModel(),()=>{this.updateUiVisibility(),this.setupOnBtApplyDebounce()})}resetButtonsPanel(){const{buttons:e}=this.providedFilterParams,t=e&&e.length>0&&!this.isReadOnly();if(this.eButtonsPanel?(vr(this.eButtonsPanel),this.buttonListeners.forEach(e=>null==e?void 0:e()),this.buttonListeners=[]):t&&(this.eButtonsPanel=document.createElement("div"),this.eButtonsPanel.classList.add("ag-filter-apply-panel")),!t)return void(this.eButtonsPanel&&fr(this.eButtonsPanel));const a=document.createDocumentFragment(),r=e=>{let t,r;switch(e){case"apply":t=this.translate("applyFilter"),r=e=>this.onBtApply(!1,!1,e);break;case"clear":t=this.translate("clearFilter"),r=()=>this.onBtClear();break;case"reset":t=this.translate("resetFilter"),r=()=>this.onBtReset();break;case"cancel":t=this.translate("cancelFilter"),r=e=>{this.onBtCancel(e)};break;default:return void console.warn("AG Grid: Unknown button type specified")}const o=Cr(`<button\n type="${"apply"===e?"submit":"button"}"\n ref="${e}FilterButton"\n class="ag-button ag-standard-button ag-filter-apply-panel-button"\n >${t}\n </button>`);this.buttonListeners.push(this.addManagedListener(o,"click",r)),a.append(o)};Zr(e).forEach(e=>r(e)),this.eButtonsPanel.append(a),this.getGui().appendChild(this.eButtonsPanel)}getDefaultDebounceMs(){return 0}setupOnBtApplyDebounce(){const e=ko.getDebounceMs(this.providedFilterParams,this.getDefaultDebounceMs()),t=Z(this.checkApplyDebounce.bind(this),e);this.onBtApplyDebounce=()=>{this.debouncePending=!0,t()}}checkApplyDebounce(){this.debouncePending&&(this.debouncePending=!1,this.onBtApply())}getModel(){return this.appliedModel?this.appliedModel:null}setModel(e){return(null!=e?this.setModelIntoUi(e):this.resetUiToDefaults()).then(()=>{this.updateUiVisibility(),this.applyModel("api")})}onBtCancel(e){this.resetUiToActiveModel(this.getModel(),()=>{this.handleCancelEnd(e)})}handleCancelEnd(e){this.providedFilterParams.closeOnApply&&this.close(e)}resetUiToActiveModel(e,t){const a=()=>{this.onUiChanged(!1,"prevent"),null==t||t()};null!=e?this.setModelIntoUi(e).then(a):this.resetUiToDefaults().then(a)}onBtClear(){this.resetUiToDefaults().then(()=>this.onUiChanged())}onBtReset(){this.onBtClear(),this.onBtApply()}applyModel(e="api"){const t=this.getModelFromUi();if(!this.isModelValid(t))return!1;const a=this.appliedModel;return this.appliedModel=t,!this.areModelsEqual(a,t)}isModelValid(e){return!0}onFormSubmit(e){e.preventDefault()}onBtApply(e=!1,t=!1,a){if(a&&a.preventDefault(),this.applyModel(t?"rowDataUpdated":"ui")){const a="columnFilter";this.providedFilterParams.filterChangedCallback({afterFloatingFilter:e,afterDataChange:t,source:a})}const{closeOnApply:r}=this.providedFilterParams;r&&this.applyActive&&!e&&!t&&this.close(a)}onNewRowsLoaded(){}close(e){if(!this.hidePopup)return;const t=e,a=t&&t.key;let r;"Enter"!==a&&"Space"!==a||(r={keyboardEvent:t}),this.hidePopup(r),this.hidePopup=null}onUiChanged(e=!1,t){if(this.updateUiVisibility(),this.providedFilterParams.filterModifiedCallback(),this.applyActive&&!this.isReadOnly()){const e=this.isModelValid(this.getModelFromUi()),t=this.getRefElement("applyFilterButton");t&&ir(t,!e)}e&&!t||"immediately"===t?this.onBtApply(e):(this.applyActive||t)&&"debounce"!==t||this.onBtApplyDebounce()}afterGuiAttached(e){e&&(this.hidePopup=e.hidePopup),this.refreshFilterResizer(null==e?void 0:e.container)}refreshFilterResizer(e){if(!this.positionableFeature||"toolPanel"===e)return;const t="floatingFilter"===e||"columnFilter"===e,{positionableFeature:a,gridOptionsService:r}=this;t?(a.restoreLastSize(),a.setResizable(r.get("enableRtl")?{bottom:!0,bottomLeft:!0,left:!0}:{bottom:!0,bottomRight:!0,right:!0})):(this.positionableFeature.removeSizeFromEl(),this.positionableFeature.setResizable(!1)),this.positionableFeature.constrainSizeToAvailableHeight(!0)}afterGuiDetached(){this.checkApplyDebounce(),this.positionableFeature&&this.positionableFeature.constrainSizeToAvailableHeight(!1)}static getDebounceMs(e,t){return ko.isUseApplyButton(e)?(null!=e.debounceMs&&console.warn("AG Grid: debounceMs is ignored when apply button is present"),0):null!=e.debounceMs?e.debounceMs:t}static isUseApplyButton(e){return!!e.buttons&&e.buttons.indexOf("apply")>=0}refresh(e){return this.providedFilterParams=e,!0}destroy(){const e=this.getGui();e&&e.removeEventListener("submit",this.onFormSubmit),this.hidePopup=null,this.positionableFeature&&(this.positionableFeature=this.destroyBean(this.positionableFeature)),this.appliedModel=null,super.destroy()}translate(e){return this.localeService.getLocaleTextFunc()(e,Co[e])}getCellValue(e){return this.providedFilterParams.getValue(e)}getPositionableElement(){return this.eFilterBody}}xo([de("rowModel")],ko.prototype,"rowModel",void 0),xo([ho("eFilterBody")],ko.prototype,"eFilterBody",void 0),xo([le],ko.prototype,"postConstruct",null);var zo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class To extends uo{constructor(e,t){super(t),this.labelSeparator="",this.labelAlignment="left",this.disabled=!1,this.label="",this.config=e||{}}postConstruct(){this.addCssClass("ag-labeled"),this.eLabel.classList.add("ag-label");const{labelSeparator:e,label:t,labelWidth:a,labelAlignment:r}=this.config;null!=e&&this.setLabelSeparator(e),null!=t&&this.setLabel(t),null!=a&&this.setLabelWidth(a),this.setLabelAlignment(r||this.labelAlignment),this.refreshLabel()}refreshLabel(){vr(this.eLabel),"string"==typeof this.label?this.eLabel.innerText=this.label+this.labelSeparator:this.label&&this.eLabel.appendChild(this.label),""===this.label?(rr(this.eLabel,!1),Jt(this.eLabel,"presentation")):(rr(this.eLabel,!0),Jt(this.eLabel,null))}setLabelSeparator(e){return this.labelSeparator===e||(this.labelSeparator=e,null!=this.label&&this.refreshLabel()),this}getLabelId(){return this.eLabel.id=this.eLabel.id||`ag-${this.getCompId()}-label`,this.eLabel.id}getLabel(){return this.label}setLabel(e){return this.label===e||(this.label=e,this.refreshLabel()),this}setLabelAlignment(e){const t=this.getGui().classList;return t.toggle("ag-label-align-left","left"===e),t.toggle("ag-label-align-right","right"===e),t.toggle("ag-label-align-top","top"===e),this}setLabelEllipsis(e){return this.eLabel.classList.toggle("ag-label-ellipsis",e),this}setLabelWidth(e){return null==this.label||zr(this.eLabel,e),this}setDisabled(e){e=!!e;const t=this.getGui();return ir(t,e),t.classList.toggle("ag-disabled",e),this.disabled=e,this}isDisabled(){return!!this.disabled}}zo([le],To.prototype,"postConstruct",null);class Ao extends To{constructor(e,t,a){super(e,t),this.className=a}postConstruct(){super.postConstruct(),this.className&&this.addCssClass(this.className),this.refreshAriaLabelledBy()}refreshAriaLabelledBy(){const e=this.getAriaElement(),t=this.getLabelId();null!==ea(e)?aa(e,""):aa(e,null!=t?t:"")}setAriaLabel(e){return ta(this.getAriaElement(),e),this.refreshAriaLabelledBy(),this}onValueChange(e){return this.addManagedListener(this,st.EVENT_FIELD_VALUE_CHANGED,()=>e(this.getValue())),this}getWidth(){return this.getGui().clientWidth}setWidth(e){return Tr(this.getGui(),e),this}getPreviousValue(){return this.previousValue}getValue(){return this.value}setValue(e,t){return this.value===e||(this.previousValue=this.value,this.value=e,t||this.dispatchEvent({type:st.EVENT_FIELD_VALUE_CHANGED})),this}}var Do=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Oo extends Ao{constructor(e){if(super(e,(null==e?void 0:e.template)||'\n <div class="ag-picker-field" role="presentation">\n <div ref="eLabel"></div>\n <div ref="eWrapper" class="ag-wrapper ag-picker-field-wrapper ag-picker-collapsed">\n <div ref="eDisplayField" class="ag-picker-field-display"></div>\n <div ref="eIcon" class="ag-picker-field-icon" aria-hidden="true"></div>\n </div>\n </div>',null==e?void 0:e.className),this.isPickerDisplayed=!1,this.skipClick=!1,this.pickerGap=4,this.hideCurrentPicker=null,this.ariaRole=null==e?void 0:e.ariaRole,this.onPickerFocusIn=this.onPickerFocusIn.bind(this),this.onPickerFocusOut=this.onPickerFocusOut.bind(this),!e)return;const{pickerGap:t,maxPickerHeight:a,variableWidth:r,minPickerWidth:o,maxPickerWidth:i}=e;null!=t&&(this.pickerGap=t),this.variableWidth=!!r,null!=a&&this.setPickerMaxHeight(a),null!=o&&this.setPickerMinWidth(o),null!=i&&this.setPickerMaxWidth(i)}postConstruct(){super.postConstruct(),this.setupAria();const e=`ag-${this.getCompId()}-display`;this.eDisplayField.setAttribute("id",e);const t=this.getAriaElement();this.addManagedListener(t,"keydown",this.onKeyDown.bind(this)),this.addManagedListener(this.eLabel,"mousedown",this.onLabelOrWrapperMouseDown.bind(this)),this.addManagedListener(this.eWrapper,"mousedown",this.onLabelOrWrapperMouseDown.bind(this));const{pickerIcon:a}=this.config;if(a){const e=qr(a,this.gridOptionsService);e&&this.eIcon.appendChild(e)}}setupAria(){const e=this.getAriaElement();e.setAttribute("tabindex",this.gridOptionsService.get("tabIndex").toString()),ca(e,!1),this.ariaRole&&Jt(e,this.ariaRole)}onLabelOrWrapperMouseDown(e){if(e){const t=this.getFocusableElement();if(t!==this.eWrapper&&(null==e?void 0:e.target)===t)return;e.preventDefault(),this.getFocusableElement().focus()}this.skipClick?this.skipClick=!1:this.isDisabled()||(this.isPickerDisplayed?this.hidePicker():this.showPicker())}onKeyDown(e){switch(e.key){case Wr.UP:case Wr.DOWN:case Wr.ENTER:case Wr.SPACE:e.preventDefault(),this.onLabelOrWrapperMouseDown();break;case Wr.ESCAPE:this.isPickerDisplayed&&(e.preventDefault(),e.stopPropagation(),this.hideCurrentPicker&&this.hideCurrentPicker())}}showPicker(){this.isPickerDisplayed=!0,this.pickerComponent||(this.pickerComponent=this.createPickerComponent());const e=this.pickerComponent.getGui();e.addEventListener("focusin",this.onPickerFocusIn),e.addEventListener("focusout",this.onPickerFocusOut),this.hideCurrentPicker=this.renderAndPositionPicker(),this.toggleExpandedStyles(!0)}renderAndPositionPicker(){const e=this.gridOptionsService.getDocument(),t=this.pickerComponent.getGui();this.gridOptionsService.get("suppressScrollWhenPopupsAreOpen")||(this.destroyMouseWheelFunc=this.addManagedListener(this.eventService,st.EVENT_BODY_SCROLL,()=>{this.hidePicker()}));const a=this.localeService.getLocaleTextFunc(),{pickerAriaLabelKey:r,pickerAriaLabelValue:o,modalPicker:i=!0}=this.config,n={modal:i,eChild:t,closeOnEsc:!0,closedCallback:()=>{const t=e.activeElement===e.body;this.beforeHidePicker(),t&&this.isAlive()&&this.getFocusableElement().focus()},ariaLabel:a(r,o)},l=this.popupService.addPopup(n),{maxPickerHeight:s,minPickerWidth:g,maxPickerWidth:d,variableWidth:c}=this;c?(g&&(t.style.minWidth=g),t.style.width=Or(cr(this.eWrapper)),d&&(t.style.maxWidth=d)):zr(t,null!=d?d:cr(this.eWrapper));const u=null!=s?s:sr(this.popupService.getPopupParent())+"px";return t.style.setProperty("max-height",u),t.style.position="absolute",this.alignPickerToComponent(),l.hideFunc}alignPickerToComponent(){if(!this.pickerComponent)return;const{pickerType:e}=this.config,{pickerGap:t}=this,a=this.gridOptionsService.get("enableRtl")?"right":"left";this.popupService.positionPopupByComponent({type:e,eventSource:this.eWrapper,ePopup:this.pickerComponent.getGui(),position:"under",alignSide:a,keepWithinBounds:!0,nudgeY:t})}beforeHidePicker(){this.destroyMouseWheelFunc&&(this.destroyMouseWheelFunc(),this.destroyMouseWheelFunc=void 0),this.toggleExpandedStyles(!1);const e=this.pickerComponent.getGui();e.removeEventListener("focusin",this.onPickerFocusIn),e.removeEventListener("focusout",this.onPickerFocusOut),this.isPickerDisplayed=!1,this.pickerComponent=void 0,this.hideCurrentPicker=null}toggleExpandedStyles(e){if(!this.isAlive())return;ca(this.getAriaElement(),e),this.eWrapper.classList.toggle("ag-picker-expanded",e),this.eWrapper.classList.toggle("ag-picker-collapsed",!e)}onPickerFocusIn(){this.togglePickerHasFocus(!0)}onPickerFocusOut(e){var t;(null===(t=this.pickerComponent)||void 0===t?void 0:t.getGui().contains(e.relatedTarget))||this.togglePickerHasFocus(!1)}togglePickerHasFocus(e){this.pickerComponent&&this.eWrapper.classList.toggle("ag-picker-has-focus",e)}hidePicker(){this.hideCurrentPicker&&this.hideCurrentPicker()}setInputWidth(e){return zr(this.eWrapper,e),this}getFocusableElement(){return this.eWrapper}setPickerGap(e){return this.pickerGap=e,this}setPickerMinWidth(e){return"number"==typeof e&&(e+="px"),this.minPickerWidth=null==e?void 0:e,this}setPickerMaxWidth(e){return"number"==typeof e&&(e+="px"),this.maxPickerWidth=null==e?void 0:e,this}setPickerMaxHeight(e){return"number"==typeof e&&(e+="px"),this.maxPickerHeight=null==e?void 0:e,this}destroy(){this.hidePicker(),super.destroy()}}Do([de("popupService")],Oo.prototype,"popupService",void 0),Do([ho("eLabel")],Oo.prototype,"eLabel",void 0),Do([ho("eWrapper")],Oo.prototype,"eWrapper",void 0),Do([ho("eDisplayField")],Oo.prototype,"eDisplayField",void 0),Do([ho("eIcon")],Oo.prototype,"eIcon",void 0);var Mo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Po extends uo{constructor(e="default"){super(`<div class="ag-list ag-${e}-list" role="listbox"></div>`),this.cssIdentifier=e,this.options=[],this.itemEls=[]}init(){this.addManagedListener(this.getGui(),"keydown",this.handleKeyDown.bind(this))}handleKeyDown(e){const t=e.key;switch(t){case Wr.ENTER:if(this.highlightedEl){const e=this.itemEls.indexOf(this.highlightedEl);this.setValueByIndex(e)}else this.setValue(this.getValue());break;case Wr.DOWN:case Wr.UP:const a=t===Wr.DOWN;let r;if(e.preventDefault(),this.highlightedEl){let e=this.itemEls.indexOf(this.highlightedEl)+(a?1:-1);e=Math.min(Math.max(e,0),this.itemEls.length-1),r=this.itemEls[e]}else r=this.itemEls[a?0:this.itemEls.length-1];this.highlightItem(r)}}addOptions(e){return e.forEach(e=>this.addOption(e)),this}addOption(e){const{value:t,text:a}=e,r=ft(a||t);return this.options.push({value:t,text:r}),this.renderOption(t,r),this.updateIndices(),this}updateIndices(){const e=this.getGui().querySelectorAll(".ag-list-item");e.forEach((t,a)=>{ha(t,a+1),pa(t,e.length)})}renderOption(e,t){const a=document.createElement("div");Jt(a,"option"),a.classList.add("ag-list-item",`ag-${this.cssIdentifier}-list-item`),a.innerHTML=`<span>${t}</span>`,a.tabIndex=-1,this.itemEls.push(a),this.addManagedListener(a,"mouseover",()=>this.highlightItem(a)),this.addManagedListener(a,"mouseleave",()=>this.clearHighlighted()),this.addManagedListener(a,"click",()=>this.setValue(e)),this.getGui().appendChild(a)}setValue(e,t){if(this.value===e)return this.fireItemSelected(),this;if(null==e)return this.reset(),this;const a=this.options.findIndex(t=>t.value===e);if(-1!==a){const e=this.options[a];this.value=e.value,this.displayValue=null!=e.text?e.text:e.value,this.highlightItem(this.itemEls[a]),t||this.fireChangeEvent()}return this}setValueByIndex(e){return this.setValue(this.options[e].value)}getValue(){return this.value}getDisplayValue(){return this.displayValue}refreshHighlighted(){this.clearHighlighted();const e=this.options.findIndex(e=>e.value===this.value);-1!==e&&this.highlightItem(this.itemEls[e])}reset(){this.value=null,this.displayValue=null,this.clearHighlighted(),this.fireChangeEvent()}highlightItem(e){br(e)&&(this.clearHighlighted(),this.highlightedEl=e,this.highlightedEl.classList.add(Po.ACTIVE_CLASS),Ea(this.highlightedEl,!0),this.highlightedEl.focus())}clearHighlighted(){this.highlightedEl&&br(this.highlightedEl)&&(this.highlightedEl.classList.remove(Po.ACTIVE_CLASS),Ea(this.highlightedEl,!1),this.highlightedEl=null)}fireChangeEvent(){this.dispatchEvent({type:st.EVENT_FIELD_VALUE_CHANGED}),this.fireItemSelected()}fireItemSelected(){this.dispatchEvent({type:Po.EVENT_ITEM_SELECTED})}}Po.EVENT_ITEM_SELECTED="selectedItem",Po.ACTIVE_CLASS="ag-active-item",Mo([le],Po.prototype,"init",null);class Lo extends Oo{constructor(e){super(Object.assign({pickerAriaLabelKey:"ariaLabelSelectField",pickerAriaLabelValue:"Select Field",pickerType:"ag-list",className:"ag-select",pickerIcon:"smallDown",ariaRole:"combobox"},e))}postConstruct(){super.postConstruct(),this.createListComponent(),this.eWrapper.tabIndex=this.gridOptionsService.get("tabIndex")}createListComponent(){this.listComponent=this.createBean(new Po("select")),this.listComponent.setParentComponent(this);const e=this.listComponent.getAriaElement(),t="ag-select-list-"+this.listComponent.getCompId();e.setAttribute("id",t),xa(this.getAriaElement(),e),this.listComponent.addGuiEventListener("keydown",e=>{e.key===Wr.TAB&&(e.preventDefault(),e.stopImmediatePropagation(),this.getGui().dispatchEvent(new KeyboardEvent("keydown",{key:e.key,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,bubbles:!0})))}),this.listComponent.addManagedListener(this.listComponent,Po.EVENT_ITEM_SELECTED,()=>{this.hidePicker(),this.dispatchEvent({type:Lo.EVENT_ITEM_SELECTED})}),this.listComponent.addManagedListener(this.listComponent,st.EVENT_FIELD_VALUE_CHANGED,()=>{this.listComponent&&(this.setValue(this.listComponent.getValue(),!1,!0),this.hidePicker())})}createPickerComponent(){return this.listComponent}showPicker(){this.listComponent&&(super.showPicker(),this.listComponent.refreshHighlighted())}addOptions(e){return e.forEach(e=>this.addOption(e)),this}addOption(e){return this.listComponent.addOption(e),this}setValue(e,t,a){if(this.value===e||!this.listComponent)return this;a||this.listComponent.setValue(e,!0);return this.listComponent.getValue()===this.getValue()?this:(this.eDisplayField.innerHTML=this.listComponent.getDisplayValue(),super.setValue(e,t))}destroy(){this.listComponent&&(this.destroyBean(this.listComponent),this.listComponent=void 0),super.destroy()}}Lo.EVENT_ITEM_SELECTED="selectedItem";var No=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Fo extends Ao{constructor(e,t,a="text",r="input"){super(e,`\n <div role="presentation">\n <div ref="eLabel" class="ag-input-field-label"></div>\n <div ref="eWrapper" class="ag-wrapper ag-input-wrapper" role="presentation">\n <${r} ref="eInput" class="ag-input-field-input"></${r}>\n </div>\n </div>`,t),this.inputType=a,this.displayFieldTag=r}postConstruct(){super.postConstruct(),this.setInputType(),this.eLabel.classList.add(this.className+"-label"),this.eWrapper.classList.add(this.className+"-input-wrapper"),this.eInput.classList.add(this.className+"-input"),this.addCssClass("ag-input-field"),this.eInput.id=this.eInput.id||`ag-${this.getCompId()}-input`;const{width:e,value:t}=this.config;null!=e&&this.setWidth(e),null!=t&&this.setValue(t),this.addInputListeners(),this.activateTabIndex([this.eInput])}addInputListeners(){this.addManagedListener(this.eInput,"input",e=>this.setValue(e.target.value))}setInputType(){"input"===this.displayFieldTag&&this.eInput.setAttribute("type",this.inputType)}getInputElement(){return this.eInput}setInputWidth(e){return zr(this.eWrapper,e),this}setInputName(e){return this.getInputElement().setAttribute("name",e),this}getFocusableElement(){return this.eInput}setMaxLength(e){return this.eInput.maxLength=e,this}setInputPlaceholder(e){return Nr(this.eInput,"placeholder",e),this}setInputAriaLabel(e){return ta(this.eInput,e),this.refreshAriaLabelledBy(),this}setDisabled(e){return ir(this.eInput,e),super.setDisabled(e)}setAutoComplete(e){if(!0===e)Nr(this.eInput,"autocomplete",null);else{const t="string"==typeof e?e:"off";Nr(this.eInput,"autocomplete",t)}return this}}No([ho("eLabel")],Fo.prototype,"eLabel",void 0),No([ho("eWrapper")],Fo.prototype,"eWrapper",void 0),No([ho("eInput")],Fo.prototype,"eInput",void 0);class Io extends Fo{constructor(e,t="ag-checkbox",a="checkbox"){super(e,t,a),this.labelAlignment="right",this.selected=!1,this.readOnly=!1,this.passive=!1}addInputListeners(){this.addManagedListener(this.eInput,"click",this.onCheckboxClick.bind(this)),this.addManagedListener(this.eLabel,"click",this.toggle.bind(this))}getNextValue(){return void 0===this.selected||!this.selected}setPassive(e){this.passive=e}isReadOnly(){return this.readOnly}setReadOnly(e){this.eWrapper.classList.toggle("ag-disabled",e),this.eInput.disabled=e,this.readOnly=e}setDisabled(e){return this.eWrapper.classList.toggle("ag-disabled",e),super.setDisabled(e)}toggle(){if(this.eInput.disabled)return;const e=this.isSelected(),t=this.getNextValue();this.passive?this.dispatchChange(t,e):this.setValue(t)}getValue(){return this.isSelected()}setValue(e,t){return this.refreshSelectedClass(e),this.setSelected(e,t),this}setName(e){return this.getInputElement().name=e,this}isSelected(){return this.selected}setSelected(e,t){this.isSelected()!==e&&(this.previousValue=this.isSelected(),e=this.selected="boolean"==typeof e?e:void 0,this.eInput.checked=e,this.eInput.indeterminate=void 0===e,t||this.dispatchChange(this.selected,this.previousValue))}dispatchChange(e,t,a){this.dispatchEvent({type:st.EVENT_FIELD_VALUE_CHANGED,selected:e,previousValue:t,event:a});const r=this.getInputElement(),o={type:st.EVENT_CHECKBOX_CHANGED,id:r.id,name:r.name,selected:e,previousValue:t};this.eventService.dispatchEvent(o)}onCheckboxClick(e){if(this.passive||this.eInput.disabled)return;const t=this.isSelected(),a=this.selected=e.target.checked;this.refreshSelectedClass(a),this.dispatchChange(a,t,e)}refreshSelectedClass(e){this.eWrapper.classList.toggle("ag-checked",!0===e),this.eWrapper.classList.toggle("ag-indeterminate",null==e)}}class Go extends Io{constructor(e){super(e,"ag-radio-button","radio")}isSelected(){return this.eInput.checked}toggle(){this.eInput.disabled||this.isSelected()||this.setValue(!0)}addInputListeners(){super.addInputListeners(),this.addManagedListener(this.eventService,st.EVENT_CHECKBOX_CHANGED,this.onChange.bind(this))}onChange(e){e.selected&&e.name&&this.eInput.name&&this.eInput.name===e.name&&e.id&&this.eInput.id!==e.id&&this.setValue(!1,!0)}}class Vo{constructor(e,t,a){this.localeService=e,this.optionsFactory=t,this.valueFormatter=a}getModelAsString(e){if(!e)return null;const t=null!=e.operator,a=this.localeService.getLocaleTextFunc();if(t){const t=e;let{conditions:r}=t;if(!r){const{condition1:e,condition2:a}=t;r=[e,a]}const o=r.map(e=>this.getModelAsString(e)),i="AND"===t.operator?"andCondition":"orCondition";return o.join(` ${a(i,Co[i])} `)}if(e.type===Ho.BLANK||e.type===Ho.NOT_BLANK)return a(e.type,e.type);{const t=e,r=this.optionsFactory.getCustomOption(t.type),{displayKey:o,displayName:i,numberOfInputs:n}=r||{};return o&&i&&0===n?(a(o,i),i):this.conditionToString(t,r)}}updateParams(e){this.optionsFactory=e.optionsFactory}formatValue(e){var t;return this.valueFormatter?null!==(t=this.valueFormatter(null!=e?e:null))&&void 0!==t?t:"":String(e)}}class Ho extends ko{constructor(){super(...arguments),this.eTypes=[],this.eJoinOperatorPanels=[],this.eJoinOperatorsAnd=[],this.eJoinOperatorsOr=[],this.eConditionBodies=[],this.listener=()=>this.onUiChanged(),this.lastUiCompletePosition=null,this.joinOperatorId=0}getNumberOfInputs(e){const t=this.optionsFactory.getCustomOption(e);if(t){const{numberOfInputs:e}=t;return null!=e?e:1}const a=[Ho.EMPTY,Ho.NOT_BLANK,Ho.BLANK];return e&&a.indexOf(e)>=0?0:e===Ho.IN_RANGE?2:1}onFloatingFilterChanged(e,t){this.setTypeFromFloatingFilter(e),this.setValueFromFloatingFilter(t),this.onUiChanged(!0)}setTypeFromFloatingFilter(e){this.eTypes.forEach((t,a)=>{0===a?t.setValue(e,!0):t.setValue(this.optionsFactory.getDefaultOption(),!0)})}getModelFromUi(){const e=this.getUiCompleteConditions();return 0===e.length?null:this.maxNumConditions>1&&e.length>1?{filterType:this.getFilterType(),operator:this.getJoinOperator(),condition1:e[0],condition2:e[1],conditions:e}:e[0]}getConditionTypes(){return this.eTypes.map(e=>e.getValue())}getConditionType(e){return this.eTypes[e].getValue()}getJoinOperator(){return 0===this.eJoinOperatorsOr.length?this.defaultJoinOperator:!0===this.eJoinOperatorsOr[0].getValue()?"OR":"AND"}areModelsEqual(e,t){if(!e&&!t)return!0;if(!e&&t||e&&!t)return!1;const a=!e.operator,r=!t.operator;if(!a&&r||a&&!r)return!1;let o;if(a){const a=e,r=t;o=this.areSimpleModelsEqual(a,r)}else{const a=e,r=t;o=a.operator===r.operator&&Ae(a.conditions,r.conditions,(e,t)=>this.areSimpleModelsEqual(e,t))}return o}shouldRefresh(e){var t,a,r;const o=this.getModel(),i=o?null!==(t=o.conditions)&&void 0!==t?t:[o]:null,n=null!==(r=null===(a=e.filterOptions)||void 0===a?void 0:a.map(e=>"string"==typeof e?e:e.displayKey))&&void 0!==r?r:this.getDefaultFilterOptions();return!(i&&!i.every(e=>void 0!==n.find(t=>t===e.type)))&&!("number"==typeof e.maxNumConditions&&i&&i.length>e.maxNumConditions)}refresh(e){if(!this.shouldRefresh(e))return!1;return!!super.refresh(e)&&(this.setParams(e),this.removeConditionsAndOperators(0),this.createOption(),this.setModel(this.getModel()),!0)}setModelIntoUi(e){if(e.operator){let t=e;t.conditions||(t.conditions=[t.condition1,t.condition2]);const a=this.validateAndUpdateConditions(t.conditions),r=this.getNumConditions();if(a<r)this.removeConditionsAndOperators(a);else if(a>r)for(let e=r;e<a;e++)this.createJoinOperatorPanel(),this.createOption();const o="OR"===t.operator;this.eJoinOperatorsAnd.forEach(e=>e.setValue(!o,!0)),this.eJoinOperatorsOr.forEach(e=>e.setValue(o,!0)),t.conditions.forEach((e,t)=>{this.eTypes[t].setValue(e.type,!0),this.setConditionIntoUi(e,t)})}else{const t=e;this.getNumConditions()>1&&this.removeConditionsAndOperators(1),this.eTypes[0].setValue(t.type,!0),this.setConditionIntoUi(t,0)}return this.lastUiCompletePosition=this.getNumConditions()-1,this.createMissingConditionsAndOperators(),this.onUiChanged(),ao.resolve()}validateAndUpdateConditions(e){let t=e.length;return t>this.maxNumConditions&&(e.splice(this.maxNumConditions),q('Filter Model contains more conditions than "filterParams.maxNumConditions". Additional conditions have been ignored.'),t=this.maxNumConditions),t}doesFilterPass(e){var t;const a=this.getModel();if(null==a)return!0;const{operator:r}=a,o=[];if(r){const e=a;o.push(...null!==(t=e.conditions)&&void 0!==t?t:[])}else o.push(a);return o[r&&"OR"===r?"some":"every"](t=>this.individualConditionPasses(e,t))}setParams(e){super.setParams(e),this.setNumConditions(e),this.defaultJoinOperator=this.getDefaultJoinOperator(e.defaultJoinOperator),this.filterPlaceholder=e.filterPlaceholder,this.optionsFactory=new bo,this.optionsFactory.init(e,this.getDefaultFilterOptions()),this.createFilterListOptions(),this.createOption(),this.createMissingConditionsAndOperators(),this.isReadOnly()&&this.eFilterBody.setAttribute("tabindex","-1")}setNumConditions(e){var t,a;null!=e.suppressAndOrCondition&&q('Since v29.2 "filterParams.suppressAndOrCondition" is deprecated. Use "filterParams.maxNumConditions = 1" instead.'),null!=e.alwaysShowBothConditions&&q('Since v29.2 "filterParams.alwaysShowBothConditions" is deprecated. Use "filterParams.numAlwaysVisibleConditions = 2" instead.'),this.maxNumConditions=null!==(t=e.maxNumConditions)&&void 0!==t?t:e.suppressAndOrCondition?1:2,this.maxNumConditions<1&&(q('"filterParams.maxNumConditions" must be greater than or equal to zero.'),this.maxNumConditions=1),this.numAlwaysVisibleConditions=null!==(a=e.numAlwaysVisibleConditions)&&void 0!==a?a:e.alwaysShowBothConditions?2:1,this.numAlwaysVisibleConditions<1&&(q('"filterParams.numAlwaysVisibleConditions" must be greater than or equal to zero.'),this.numAlwaysVisibleConditions=1),this.numAlwaysVisibleConditions>this.maxNumConditions&&(q('"filterParams.numAlwaysVisibleConditions" cannot be greater than "filterParams.maxNumConditions".'),this.numAlwaysVisibleConditions=this.maxNumConditions)}createOption(){const e=this.createManagedBean(new Lo);this.eTypes.push(e),e.addCssClass("ag-filter-select"),this.eFilterBody.appendChild(e.getGui());const t=this.createValueElement();this.eConditionBodies.push(t),this.eFilterBody.appendChild(t),this.putOptionsIntoDropdown(e),this.resetType(e);const a=this.getNumConditions()-1;this.forEachPositionInput(a,e=>this.resetInput(e)),this.addChangedListeners(e,a)}createJoinOperatorPanel(){const e=document.createElement("div");this.eJoinOperatorPanels.push(e),e.classList.add("ag-filter-condition");const t=this.createJoinOperator(this.eJoinOperatorsAnd,e,"and"),a=this.createJoinOperator(this.eJoinOperatorsOr,e,"or");this.eFilterBody.appendChild(e);const r=this.eJoinOperatorPanels.length-1,o=this.joinOperatorId++;this.resetJoinOperatorAnd(t,r,o),this.resetJoinOperatorOr(a,r,o),this.isReadOnly()||(t.onValueChange(this.listener),a.onValueChange(this.listener))}createJoinOperator(e,t,a){const r=this.createManagedBean(new Go);return e.push(r),r.addCssClass("ag-filter-condition-operator"),r.addCssClass("ag-filter-condition-operator-"+a),t.appendChild(r.getGui()),r}getDefaultJoinOperator(e){return"AND"===e||"OR"===e?e:"AND"}createFilterListOptions(){const e=this.optionsFactory.getFilterOptions();this.filterListOptions=e.map(e=>"string"==typeof e?this.createBoilerplateListOption(e):this.createCustomListOption(e))}putOptionsIntoDropdown(e){this.filterListOptions.forEach(t=>{e.addOption(t)}),e.setDisabled(this.filterListOptions.length<=1)}createBoilerplateListOption(e){return{value:e,text:this.translate(e)}}createCustomListOption(e){const{displayKey:t}=e,a=this.optionsFactory.getCustomOption(e.displayKey);return{value:t,text:a?this.localeService.getLocaleTextFunc()(a.displayKey,a.displayName):this.translate(t)}}isAllowTwoConditions(){return this.maxNumConditions>=2}createBodyTemplate(){return""}getCssIdentifier(){return"simple-filter"}updateUiVisibility(){const e=this.getJoinOperator();this.updateNumConditions(),this.updateConditionStatusesAndValues(this.lastUiCompletePosition,e)}updateNumConditions(){var e;let t=-1,a=!0;for(let e=0;e<this.getNumConditions();e++)this.isConditionUiComplete(e)?t=e:a=!1;if(this.shouldAddNewConditionAtEnd(a))this.createJoinOperatorPanel(),this.createOption();else{const a=null!==(e=this.lastUiCompletePosition)&&void 0!==e?e:this.getNumConditions()-2;if(t<a){this.removeConditionsAndOperators(a+1);const e=t+1,r=a-e;r>0&&this.removeConditionsAndOperators(e,r),this.createMissingConditionsAndOperators()}}this.lastUiCompletePosition=t}updateConditionStatusesAndValues(e,t){this.eTypes.forEach((t,a)=>{const r=this.isConditionDisabled(a,e);t.setDisabled(r||this.filterListOptions.length<=1),1===a&&(ir(this.eJoinOperatorPanels[0],r),this.eJoinOperatorsAnd[0].setDisabled(r),this.eJoinOperatorsOr[0].setDisabled(r))}),this.eConditionBodies.forEach((e,t)=>{rr(e,this.isConditionBodyVisible(t))});const a="OR"===(null!=t?t:this.getJoinOperator());this.eJoinOperatorsAnd.forEach((e,t)=>{e.setValue(!a,!0)}),this.eJoinOperatorsOr.forEach((e,t)=>{e.setValue(a,!0)}),this.forEachInput((t,a,r,o)=>{this.setElementDisplayed(t,a<o),this.setElementDisabled(t,this.isConditionDisabled(r,e))}),this.resetPlaceholder()}shouldAddNewConditionAtEnd(e){return e&&this.getNumConditions()<this.maxNumConditions&&!this.isReadOnly()}removeConditionsAndOperators(e,t){if(e>=this.getNumConditions())return;this.removeComponents(this.eTypes,e,t),this.removeElements(this.eConditionBodies,e,t),this.removeValueElements(e,t);const a=Math.max(e-1,0);this.removeElements(this.eJoinOperatorPanels,a,t),this.removeComponents(this.eJoinOperatorsAnd,a,t),this.removeComponents(this.eJoinOperatorsOr,a,t)}removeElements(e,t,a){this.removeItems(e,t,a).forEach(e=>fr(e))}removeComponents(e,t,a){this.removeItems(e,t,a).forEach(e=>{fr(e.getGui()),this.destroyBean(e)})}removeItems(e,t,a){return null==a?e.splice(t):e.splice(t,a)}afterGuiAttached(e){if(super.afterGuiAttached(e),this.resetPlaceholder(),!(null==e?void 0:e.suppressFocus))if(this.isReadOnly())this.eFilterBody.focus();else{const e=this.getInputs(0)[0];if(!e)return;e instanceof Fo&&e.getInputElement().focus()}}afterGuiDetached(){super.afterGuiDetached();const e=this.getModel();this.resetUiToActiveModel(e);let t=-1,a=-1,r=!1;const o=this.getJoinOperator();for(let e=this.getNumConditions()-1;e>=0;e--)if(this.isConditionUiComplete(e))-1===t&&(t=e,a=e);else{const o=e<t;(e>=this.numAlwaysVisibleConditions&&!this.isConditionUiComplete(e-1)||o)&&(this.removeConditionsAndOperators(e,1),r=!0,o&&a--)}let i=!1;this.getNumConditions()<this.numAlwaysVisibleConditions&&(this.createMissingConditionsAndOperators(),i=!0),this.shouldAddNewConditionAtEnd(a===this.getNumConditions()-1)&&(this.createJoinOperatorPanel(),this.createOption(),i=!0),i&&this.updateConditionStatusesAndValues(a,o),r&&this.updateJoinOperatorsDisabled(),this.lastUiCompletePosition=a}getPlaceholderText(e,t){let a=this.translate(e);if(j(this.filterPlaceholder)){const e=this.filterPlaceholder,r=this.eTypes[t].getValue();a=e({filterOptionKey:r,filterOption:this.translate(r),placeholder:a})}else"string"==typeof this.filterPlaceholder&&(a=this.filterPlaceholder);return a}resetPlaceholder(){const e=this.localeService.getLocaleTextFunc();this.forEachInput((t,a,r,o)=>{if(!(t instanceof Fo))return;const i=0===a&&o>1?"inRangeStart":0===a?"filterOoo":"inRangeEnd",n=0===a&&o>1?e("ariaFilterFromValue","Filter from value"):0===a?e("ariaFilterValue","Filter Value"):e("ariaFilterToValue","Filter to Value");t.setInputPlaceholder(this.getPlaceholderText(i,r)),t.setInputAriaLabel(n)})}setElementValue(e,t,a){e instanceof Fo&&e.setValue(null!=t?String(t):null,!0)}setElementDisplayed(e,t){e instanceof uo&&rr(e.getGui(),t)}setElementDisabled(e,t){e instanceof uo&&ir(e.getGui(),t)}attachElementOnChange(e,t){e instanceof Fo&&e.onValueChange(t)}forEachInput(e){this.getConditionTypes().forEach((t,a)=>{this.forEachPositionTypeInput(a,t,e)})}forEachPositionInput(e,t){const a=this.getConditionType(e);this.forEachPositionTypeInput(e,a,t)}forEachPositionTypeInput(e,t,a){const r=this.getNumberOfInputs(t),o=this.getInputs(e);for(let t=0;t<o.length;t++){const i=o[t];null!=i&&a(i,t,e,r)}}isConditionDisabled(e,t){return!!this.isReadOnly()||0!==e&&e>t+1}isConditionBodyVisible(e){const t=this.getConditionType(e);return this.getNumberOfInputs(t)>0}isConditionUiComplete(e){if(e>=this.getNumConditions())return!1;return this.getConditionType(e)!==Ho.EMPTY&&!this.getValues(e).some(e=>null==e)}getNumConditions(){return this.eTypes.length}getUiCompleteConditions(){const e=[];for(let t=0;t<this.getNumConditions();t++)this.isConditionUiComplete(t)&&e.push(this.createCondition(t));return e}createMissingConditionsAndOperators(){if(!this.isReadOnly())for(let e=this.getNumConditions();e<this.numAlwaysVisibleConditions;e++)this.createJoinOperatorPanel(),this.createOption()}resetUiToDefaults(e){return this.removeConditionsAndOperators(this.isReadOnly()?1:this.numAlwaysVisibleConditions),this.eTypes.forEach(e=>this.resetType(e)),this.eJoinOperatorsAnd.forEach((e,t)=>this.resetJoinOperatorAnd(e,t,this.joinOperatorId+t)),this.eJoinOperatorsOr.forEach((e,t)=>this.resetJoinOperatorOr(e,t,this.joinOperatorId+t)),this.joinOperatorId++,this.forEachInput(e=>this.resetInput(e)),this.resetPlaceholder(),this.createMissingConditionsAndOperators(),this.lastUiCompletePosition=null,e||this.onUiChanged(),ao.resolve()}resetType(e){const t=this.localeService.getLocaleTextFunc()("ariaFilteringOperator","Filtering operator");e.setValue(this.optionsFactory.getDefaultOption(),!0).setAriaLabel(t).setDisabled(this.isReadOnly()||this.filterListOptions.length<=1)}resetJoinOperatorAnd(e,t,a){this.resetJoinOperator(e,t,this.isDefaultOperator("AND"),this.translate("andCondition"),a)}resetJoinOperatorOr(e,t,a){this.resetJoinOperator(e,t,this.isDefaultOperator("OR"),this.translate("orCondition"),a)}resetJoinOperator(e,t,a,r,o){this.updateJoinOperatorDisabled(e.setValue(a,!0).setName(`ag-simple-filter-and-or-${this.getCompId()}-${o}`).setLabel(r),t)}updateJoinOperatorsDisabled(){this.eJoinOperatorsAnd.forEach((e,t)=>this.updateJoinOperatorDisabled(e,t)),this.eJoinOperatorsOr.forEach((e,t)=>this.updateJoinOperatorDisabled(e,t))}updateJoinOperatorDisabled(e,t){e.setDisabled(this.isReadOnly()||t>0)}resetInput(e){this.setElementValue(e,null),this.setElementDisabled(e,this.isReadOnly())}setConditionIntoUi(e,t){const a=this.mapValuesFromModel(e);this.forEachInput((e,r,o,i)=>{o===t&&this.setElementValue(e,null!=a[r]?a[r]:null)})}setValueFromFloatingFilter(e){this.forEachInput((t,a,r,o)=>{this.setElementValue(t,0===a&&0===r?e:null,!0)})}isDefaultOperator(e){return e===this.defaultJoinOperator}addChangedListeners(e,t){this.isReadOnly()||(e.onValueChange(this.listener),this.forEachPositionInput(t,e=>{this.attachElementOnChange(e,this.listener)}))}individualConditionPasses(e,t){const a=this.getCellValue(e.node),r=this.mapValuesFromModel(t),o=this.optionsFactory.getCustomOption(t.type),i=this.evaluateCustomFilter(o,r,a);return null!=i?i:null==a?this.evaluateNullValue(t.type):this.evaluateNonNullValue(r,a,t,e)}evaluateCustomFilter(e,t,a){if(null==e)return;const{predicate:r}=e;return null==r||t.some(e=>null==e)?void 0:r(t,a)}isBlank(e){return null==e||"string"==typeof e&&0===e.trim().length}hasInvalidInputs(){return!1}}Ho.EMPTY="empty",Ho.BLANK="blank",Ho.NOT_BLANK="notBlank",Ho.EQUALS="equals",Ho.NOT_EQUAL="notEqual",Ho.LESS_THAN="lessThan",Ho.LESS_THAN_OR_EQUAL="lessThanOrEqual",Ho.GREATER_THAN="greaterThan",Ho.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",Ho.IN_RANGE="inRange",Ho.CONTAINS="contains",Ho.NOT_CONTAINS="notContains",Ho.STARTS_WITH="startsWith",Ho.ENDS_WITH="endsWith";class _o extends Ho{setParams(e){super.setParams(e),this.scalarFilterParams=e}evaluateNullValue(e){switch(e){case _o.EQUALS:case _o.NOT_EQUAL:if(this.scalarFilterParams.includeBlanksInEquals)return!0;break;case _o.GREATER_THAN:case _o.GREATER_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInGreaterThan)return!0;break;case _o.LESS_THAN:case _o.LESS_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInLessThan)return!0;break;case _o.IN_RANGE:if(this.scalarFilterParams.includeBlanksInRange)return!0;break;case _o.BLANK:return!0;case _o.NOT_BLANK:return!1}return!1}evaluateNonNullValue(e,t,a){const r=this.comparator(),o=null!=e[0]?r(e[0],t):0;switch(a.type){case _o.EQUALS:return 0===o;case _o.NOT_EQUAL:return 0!==o;case _o.GREATER_THAN:return o>0;case _o.GREATER_THAN_OR_EQUAL:return o>=0;case _o.LESS_THAN:return o<0;case _o.LESS_THAN_OR_EQUAL:return o<=0;case _o.IN_RANGE:{const a=r(e[1],t);return this.scalarFilterParams.inRangeInclusive?o>=0&&a<=0:o>0&&a<0}case _o.BLANK:return this.isBlank(t);case _o.NOT_BLANK:return!this.isBlank(t);default:return console.warn('AG Grid: Unexpected type of filter "'+a.type+'", it looks like the filter was configured with incorrect Filter Options'),!0}}}var Bo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class qo extends Vo{constructor(e,t,a){super(t,a),this.dateFilterParams=e}conditionToString(e,t){const{type:a}=e,{numberOfInputs:r}=t||{},o=a==Ho.IN_RANGE||2===r,i=Xa(e.dateFrom),n=Xa(e.dateTo),l=this.dateFilterParams.inRangeFloatingFilterDateFormat;if(o){return`${null!==i?Ja(i,l):"null"}-${null!==n?Ja(n,l):"null"}`}return null!=i?Ja(i,l):""+a}updateParams(e){super.updateParams(e),this.dateFilterParams=e.dateFilterParams}}class Wo extends _o{constructor(){super("dateFilter"),this.eConditionPanelsFrom=[],this.eConditionPanelsTo=[],this.dateConditionFromComps=[],this.dateConditionToComps=[],this.minValidYear=1e3,this.maxValidYear=1/0,this.minValidDate=null,this.maxValidDate=null}afterGuiAttached(e){super.afterGuiAttached(e),this.dateConditionFromComps[0].afterGuiAttached(e)}mapValuesFromModel(e){const{dateFrom:t,dateTo:a,type:r}=e||{};return[t&&Xa(t)||null,a&&Xa(a)||null].slice(0,this.getNumberOfInputs(r))}comparator(){return this.dateFilterParams.comparator?this.dateFilterParams.comparator:this.defaultComparator.bind(this)}defaultComparator(e,t){return null==t||t<e?-1:t>e?1:0}setParams(e){this.dateFilterParams=e,super.setParams(e);const t=(t,a)=>{if(null!=e[t]){if(!isNaN(e[t]))return null==e[t]?a:Number(e[t]);console.warn(`AG Grid: DateFilter ${t} is not a number`)}return a};this.minValidYear=t("minValidYear",1e3),this.maxValidYear=t("maxValidYear",1/0),this.minValidYear>this.maxValidYear&&console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear"),e.minValidDate?this.minValidDate=e.minValidDate instanceof Date?e.minValidDate:Xa(e.minValidDate):this.minValidDate=null,e.maxValidDate?this.maxValidDate=e.maxValidDate instanceof Date?e.maxValidDate:Xa(e.maxValidDate):this.maxValidDate=null,this.minValidDate&&this.maxValidDate&&this.minValidDate>this.maxValidDate&&console.warn("AG Grid: DateFilter minValidDate should be <= maxValidDate"),this.filterModelFormatter=new qo(this.dateFilterParams,this.localeService,this.optionsFactory)}createDateCompWrapper(e){const t=new wo(this.getContext(),this.userComponentFactory,{onDateChanged:()=>this.onUiChanged(),filterParams:this.dateFilterParams},e);return this.addDestroyFunc(()=>t.destroy()),t}setElementValue(e,t){e.setDate(t)}setElementDisplayed(e,t){e.setDisplayed(t)}setElementDisabled(e,t){e.setDisabled(t)}getDefaultFilterOptions(){return Wo.DEFAULT_FILTER_OPTIONS}createValueElement(){const e=document.createElement("div");return e.classList.add("ag-filter-body"),this.createFromToElement(e,this.eConditionPanelsFrom,this.dateConditionFromComps,"from"),this.createFromToElement(e,this.eConditionPanelsTo,this.dateConditionToComps,"to"),e}createFromToElement(e,t,a,r){const o=document.createElement("div");o.classList.add("ag-filter-"+r),o.classList.add("ag-filter-date-"+r),t.push(o),e.appendChild(o),a.push(this.createDateCompWrapper(o))}removeValueElements(e,t){this.removeDateComps(this.dateConditionFromComps,e,t),this.removeDateComps(this.dateConditionToComps,e,t),this.removeItems(this.eConditionPanelsFrom,e,t),this.removeItems(this.eConditionPanelsTo,e,t)}removeDateComps(e,t,a){this.removeItems(e,t,a).forEach(e=>e.destroy())}isValidDateValue(e){if(null===e)return!1;if(this.minValidDate){if(e<this.minValidDate)return!1}else if(e.getUTCFullYear()<this.minValidYear)return!1;if(this.maxValidDate){if(e>this.maxValidDate)return!1}else if(e.getUTCFullYear()>this.maxValidYear)return!1;return!0}isConditionUiComplete(e){if(!super.isConditionUiComplete(e))return!1;let t=!0;return this.forEachInput((a,r,o,i)=>{o!==e||!t||r>=i||(t=t&&this.isValidDateValue(a.getDate()))}),t}areSimpleModelsEqual(e,t){return e.dateFrom===t.dateFrom&&e.dateTo===t.dateTo&&e.type===t.type}getFilterType(){return"date"}createCondition(e){const t=this.getConditionType(e),a={},r=this.getValues(e);return r.length>0&&(a.dateFrom=Ya(r[0])),r.length>1&&(a.dateTo=Ya(r[1])),Object.assign({dateFrom:null,dateTo:null,filterType:this.getFilterType(),type:t},a)}resetPlaceholder(){const e=this.localeService.getLocaleTextFunc(),t=this.translate("dateFormatOoo"),a=e("ariaFilterValue","Filter Value");this.forEachInput(e=>{e.setInputPlaceholder(t),e.setInputAriaLabel(a)})}getInputs(e){return e>=this.dateConditionFromComps.length?[null,null]:[this.dateConditionFromComps[e],this.dateConditionToComps[e]]}getValues(e){const t=[];return this.forEachPositionInput(e,(e,a,r,o)=>{a<o&&t.push(e.getDate())}),t}translate(e){return e===_o.LESS_THAN?super.translate("before"):e===_o.GREATER_THAN?super.translate("after"):super.translate(e)}getModelAsString(e){var t;return null!==(t=this.filterModelFormatter.getModelAsString(e))&&void 0!==t?t:""}}Wo.DEFAULT_FILTER_OPTIONS=[_o.EQUALS,_o.NOT_EQUAL,_o.LESS_THAN,_o.GREATER_THAN,_o.IN_RANGE,_o.BLANK,_o.NOT_BLANK],Bo([de("userComponentFactory")],Wo.prototype,"userComponentFactory",void 0);class Uo extends uo{getDefaultDebounceMs(){return 0}destroy(){super.destroy()}isEventFromFloatingFilter(e){return e&&e.afterFloatingFilter}isEventFromDataChange(e){return null==e?void 0:e.afterDataChange}getLastType(){return this.lastType}isReadOnly(){return this.readOnly}setLastTypeFromModel(e){if(!e)return void(this.lastType=this.optionsFactory.getDefaultOption());let t;if(e.operator){t=e.conditions[0]}else t=e;this.lastType=t.type}canWeEditAfterModelFromParentFilter(e){if(!e)return this.isTypeEditable(this.lastType);if(e.operator)return!1;const t=e;return this.isTypeEditable(t.type)}init(e){this.setSimpleParams(e,!1)}setSimpleParams(e,t=!0){this.optionsFactory=new bo,this.optionsFactory.init(e.filterParams,this.getDefaultFilterOptions()),t||(this.lastType=this.optionsFactory.getDefaultOption()),this.readOnly=!!e.filterParams.readOnly;const a=this.isTypeEditable(this.optionsFactory.getDefaultOption());this.setEditable(a)}onParamsUpdated(e){this.refresh(e)}refresh(e){this.setSimpleParams(e)}doesFilterHaveSingleInput(e){const t=this.optionsFactory.getCustomOption(e),{numberOfInputs:a}=t||{};return null==a||1==a}isTypeEditable(e){const t=[Ho.IN_RANGE,Ho.EMPTY,Ho.BLANK,Ho.NOT_BLANK];return!!e&&!this.isReadOnly()&&this.doesFilterHaveSingleInput(e)&&t.indexOf(e)<0}}var jo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Ko extends Uo{constructor(){super('\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eReadOnlyText"></ag-input-text-field>\n <div ref="eDateWrapper" style="display: flex;"></div>\n </div>')}getDefaultFilterOptions(){return Wo.DEFAULT_FILTER_OPTIONS}init(e){super.init(e),this.params=e,this.filterParams=e.filterParams,this.createDateComponent(),this.filterModelFormatter=new qo(this.filterParams,this.localeService,this.optionsFactory);const t=this.localeService.getLocaleTextFunc();this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(t("ariaDateFilterInput","Date Filter Input"))}onParamsUpdated(e){this.refresh(e)}refresh(e){super.refresh(e),this.params=e,this.filterParams=e.filterParams,this.updateDateComponent(),this.filterModelFormatter.updateParams({optionsFactory:this.optionsFactory,dateFilterParams:this.filterParams}),this.updateCompOnModelChange(e.currentParentModel())}updateCompOnModelChange(e){const t=!this.isReadOnly()&&this.canWeEditAfterModelFromParentFilter(e);if(this.setEditable(t),t){if(e){const t=e;this.dateComp.setDate(Xa(t.dateFrom))}else this.dateComp.setDate(null);this.eReadOnlyText.setValue("")}else this.eReadOnlyText.setValue(this.filterModelFormatter.getModelAsString(e)),this.dateComp.setDate(null)}setEditable(e){rr(this.eDateWrapper,e),rr(this.eReadOnlyText.getGui(),!e)}onParentModelChanged(e,t){this.isEventFromFloatingFilter(t)||this.isEventFromDataChange(t)||(super.setLastTypeFromModel(e),this.updateCompOnModelChange(e))}onDateChanged(){const e=Ya(this.dateComp.getDate());this.params.parentFilterInstance(t=>{if(t){const a=Xa(e);t.onFloatingFilterChanged(this.getLastType()||null,a)}})}getDateComponentParams(){const e=ko.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs());return{onDateChanged:Z(this.onDateChanged.bind(this),e),filterParams:this.params.column.getColDef().filterParams}}createDateComponent(){this.dateComp=new wo(this.getContext(),this.userComponentFactory,this.getDateComponentParams(),this.eDateWrapper),this.addDestroyFunc(()=>this.dateComp.destroy())}updateDateComponent(){const e=this.gridOptionsService.addGridCommonParams(this.getDateComponentParams());this.dateComp.updateParams(e)}getFilterModelFormatter(){return this.filterModelFormatter}}jo([de("userComponentFactory")],Ko.prototype,"userComponentFactory",void 0),jo([ho("eReadOnlyText")],Ko.prototype,"eReadOnlyText",void 0),jo([ho("eDateWrapper")],Ko.prototype,"eDateWrapper",void 0);var Yo=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Qo extends uo{constructor(){super('\n <div class="ag-filter-filter">\n <ag-input-text-field class="ag-date-filter" ref="eDateInput"></ag-input-text-field>\n </div>')}destroy(){super.destroy()}init(e){this.params=e,this.setParams(e);const t=this.gridOptionsService.getDocument(),a=this.eDateInput.getInputElement();this.addManagedListener(a,"mousedown",()=>{this.eDateInput.isDisabled()||this.usingSafariDatePicker||a.focus()}),this.addManagedListener(a,"input",e=>{e.target===t.activeElement&&(this.eDateInput.isDisabled()||this.params.onDateChanged())})}setParams(e){const t=this.eDateInput.getInputElement(),a=this.shouldUseBrowserDatePicker(e);this.usingSafariDatePicker=a&&za(),t.type=a?"date":"text";const{minValidYear:r,maxValidYear:o,minValidDate:i,maxValidDate:n}=e.filterParams||{};if(i&&r&&q("DateFilter should not have both minValidDate and minValidYear parameters set at the same time! minValidYear will be ignored."),n&&o&&q("DateFilter should not have both maxValidDate and maxValidYear parameters set at the same time! maxValidYear will be ignored."),i&&n){const[e,t]=[i,n].map(e=>e instanceof Date?e:Xa(e));e&&t&&e.getTime()>t.getTime()&&q("DateFilter parameter minValidDate should always be lower than or equal to parameter maxValidDate.")}i?i instanceof Date?t.min=Ja(i):t.min=i:r&&(t.min=r+"-01-01"),n?n instanceof Date?t.max=Ja(n):t.max=n:o&&(t.max=o+"-12-31")}onParamsUpdated(e){this.refresh(e)}refresh(e){this.params=e,this.setParams(e)}getDate(){return Xa(this.eDateInput.getValue())}setDate(e){this.eDateInput.setValue(Ya(e,!1))}setInputPlaceholder(e){this.eDateInput.setInputPlaceholder(e)}setDisabled(e){this.eDateInput.setDisabled(e)}afterGuiAttached(e){e&&e.suppressFocus||this.eDateInput.getInputElement().focus()}shouldUseBrowserDatePicker(e){return e.filterParams&&null!=e.filterParams.browserDatePicker?e.filterParams.browserDatePicker:Aa()||Da()||za()&&Ta()>=14.1}}Yo([ho("eDateInput")],Qo.prototype,"eDateInput",void 0);class Jo extends Fo{constructor(e,t="ag-text-field",a="text"){super(e,t,a)}postConstruct(){super.postConstruct(),this.config.allowedCharPattern&&this.preventDisallowedCharacters()}setValue(e,t){return this.eInput.value!==e&&(this.eInput.value=S(e)?e:""),super.setValue(e,t)}setStartValue(e){this.setValue(e,!0)}preventDisallowedCharacters(){const e=new RegExp(`[${this.config.allowedCharPattern}]`);this.addManagedListener(this.eInput,"keydown",t=>{Ur(t)&&t.key&&!e.test(t.key)&&t.preventDefault()}),this.addManagedListener(this.eInput,"paste",t=>{var a;const r=null===(a=t.clipboardData)||void 0===a?void 0:a.getData("text");r&&r.split("").some(t=>!e.test(t))&&t.preventDefault()})}}class Xo extends Jo{constructor(e){super(e,"ag-number-field","number")}postConstruct(){super.postConstruct(),this.addManagedListener(this.eInput,"blur",()=>{const e=parseFloat(this.eInput.value),t=isNaN(e)?"":this.normalizeValue(e.toString());this.value!==t&&this.setValue(t)}),this.addManagedListener(this.eInput,"wheel",this.onWheel.bind(this)),this.eInput.step="any"}onWheel(e){document.activeElement===this.eInput&&e.preventDefault()}normalizeValue(e){if(""===e)return"";null!=this.precision&&(e=this.adjustPrecision(e));const t=parseFloat(e);return null!=this.min&&t<this.min?e=this.min.toString():null!=this.max&&t>this.max&&(e=this.max.toString()),e}adjustPrecision(e,t){if(null==this.precision)return e;if(t){const t=parseFloat(e).toFixed(this.precision);return parseFloat(t).toString()}const a=String(e).split(".");if(a.length>1){if(a[1].length<=this.precision)return e;if(this.precision>0)return`${a[0]}.${a[1].slice(0,this.precision)}`}return a[0]}setMin(e){return this.min===e||(this.min=e,Nr(this.eInput,"min",e)),this}setMax(e){return this.max===e||(this.max=e,Nr(this.eInput,"max",e)),this}setPrecision(e){return this.precision=e,this}setStep(e){return this.step===e||(this.step=e,Nr(this.eInput,"step",e)),this}setValue(e,t){return this.setValueOrInputValue(e=>super.setValue(e,t),()=>this,e)}setStartValue(e){return this.setValueOrInputValue(e=>super.setValue(e,!0),e=>{this.eInput.value=e},e)}setValueOrInputValue(e,t,a){if(S(a)){let r=this.isScientificNotation(a);if(r&&this.eInput.validity.valid)return e(a);if(!r){r=(a=this.adjustPrecision(a))!=this.normalizeValue(a)}if(r)return t(a)}return e(a)}getValue(){if(!this.eInput.validity.valid)return;const e=this.eInput.value;return this.isScientificNotation(e)?this.adjustPrecision(e,!0):super.getValue()}isScientificNotation(e){return"string"==typeof e&&e.includes("e")}}class Zo extends Vo{conditionToString(e,t){const{numberOfInputs:a}=t||{};return e.type==Ho.IN_RANGE||2===a?`${this.formatValue(e.filter)}-${this.formatValue(e.filterTo)}`:null!=e.filter?this.formatValue(e.filter):""+e.type}}function $o(e){const{allowedCharPattern:t}=null!=e?e:{};return null!=t?t:null}class ei extends _o{constructor(){super("numberFilter"),this.eValuesFrom=[],this.eValuesTo=[]}refresh(e){return this.numberFilterParams.allowedCharPattern===e.allowedCharPattern&&super.refresh(e)}mapValuesFromModel(e){const{filter:t,filterTo:a,type:r}=e||{};return[this.processValue(t),this.processValue(a)].slice(0,this.getNumberOfInputs(r))}getDefaultDebounceMs(){return 500}comparator(){return(e,t)=>e===t?0:e<t?1:-1}setParams(e){this.numberFilterParams=e,super.setParams(e),this.filterModelFormatter=new Zo(this.localeService,this.optionsFactory,this.numberFilterParams.numberFormatter)}getDefaultFilterOptions(){return ei.DEFAULT_FILTER_OPTIONS}setElementValue(e,t,a){const r=!a&&this.numberFilterParams.numberFormatter?this.numberFilterParams.numberFormatter(null!=t?t:null):t;super.setElementValue(e,r)}createValueElement(){const e=$o(this.numberFilterParams),t=document.createElement("div");return t.classList.add("ag-filter-body"),Jt(t,"presentation"),this.createFromToElement(t,this.eValuesFrom,"from",e),this.createFromToElement(t,this.eValuesTo,"to",e),t}createFromToElement(e,t,a,r){const o=this.createManagedBean(r?new Jo({allowedCharPattern:r}):new Xo);o.addCssClass("ag-filter-"+a),o.addCssClass("ag-filter-filter"),t.push(o),e.appendChild(o.getGui())}removeValueElements(e,t){this.removeComponents(this.eValuesFrom,e,t),this.removeComponents(this.eValuesTo,e,t)}getValues(e){const t=[];return this.forEachPositionInput(e,(e,a,r,o)=>{a<o&&t.push(this.processValue(this.stringToFloat(e.getValue())))}),t}areSimpleModelsEqual(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type}getFilterType(){return"number"}processValue(e){return null==e||isNaN(e)?null:e}stringToFloat(e){if("number"==typeof e)return e;let t=y(e);return null!=t&&""===t.trim()&&(t=null),this.numberFilterParams.numberParser?this.numberFilterParams.numberParser(t):null==t||"-"===t.trim()?null:parseFloat(t)}createCondition(e){const t=this.getConditionType(e),a={filterType:this.getFilterType(),type:t},r=this.getValues(e);return r.length>0&&(a.filter=r[0]),r.length>1&&(a.filterTo=r[1]),a}getInputs(e){return e>=this.eValuesFrom.length?[null,null]:[this.eValuesFrom[e],this.eValuesTo[e]]}getModelAsString(e){var t;return null!==(t=this.filterModelFormatter.getModelAsString(e))&&void 0!==t?t:""}hasInvalidInputs(){let e=!1;return this.forEachInput(t=>{t.getInputElement().validity.valid||(e=!0)}),e}}ei.DEFAULT_FILTER_OPTIONS=[_o.EQUALS,_o.NOT_EQUAL,_o.GREATER_THAN,_o.GREATER_THAN_OR_EQUAL,_o.LESS_THAN,_o.LESS_THAN_OR_EQUAL,_o.IN_RANGE,_o.BLANK,_o.NOT_BLANK];class ti extends Vo{conditionToString(e,t){const{numberOfInputs:a}=t||{};return e.type==Ho.IN_RANGE||2===a?`${e.filter}-${e.filterTo}`:null!=e.filter?""+e.filter:""+e.type}}class ai extends Ho{constructor(){super("textFilter"),this.eValuesFrom=[],this.eValuesTo=[]}static trimInput(e){const t=e&&e.trim();return""===t?e:t}getDefaultDebounceMs(){return 500}setParams(e){this.textFilterParams=e,super.setParams(e),this.matcher=this.getTextMatcher(),this.formatter=this.textFilterParams.textFormatter||(this.textFilterParams.caseSensitive?ai.DEFAULT_FORMATTER:ai.DEFAULT_LOWERCASE_FORMATTER),this.filterModelFormatter=new ti(this.localeService,this.optionsFactory)}getTextMatcher(){const e=this.textFilterParams.textCustomComparator;return e?($r.warnOnce("textCustomComparator is deprecated, use textMatcher instead."),({filterOption:t,value:a,filterText:r})=>e(t,a,r)):this.textFilterParams.textMatcher||ai.DEFAULT_MATCHER}createCondition(e){const t=this.getConditionType(e),a={filterType:this.getFilterType(),type:t},r=this.getValuesWithSideEffects(e,!0);return r.length>0&&(a.filter=r[0]),r.length>1&&(a.filterTo=r[1]),a}getFilterType(){return"text"}areSimpleModelsEqual(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type}getInputs(e){return e>=this.eValuesFrom.length?[null,null]:[this.eValuesFrom[e],this.eValuesTo[e]]}getValues(e){return this.getValuesWithSideEffects(e,!1)}getValuesWithSideEffects(e,t){const a=[];return this.forEachPositionInput(e,(e,r,o,i)=>{var n;if(r<i){let r=y(e.getValue());t&&this.textFilterParams.trimInput&&(r=null!==(n=ai.trimInput(r))&&void 0!==n?n:null,e.setValue(r,!0)),a.push(r)}}),a}getDefaultFilterOptions(){return ai.DEFAULT_FILTER_OPTIONS}createValueElement(){const e=document.createElement("div");return e.classList.add("ag-filter-body"),Jt(e,"presentation"),this.createFromToElement(e,this.eValuesFrom,"from"),this.createFromToElement(e,this.eValuesTo,"to"),e}createFromToElement(e,t,a){const r=this.createManagedBean(new Jo);r.addCssClass("ag-filter-"+a),r.addCssClass("ag-filter-filter"),t.push(r),e.appendChild(r.getGui())}removeValueElements(e,t){this.removeComponents(this.eValuesFrom,e,t),this.removeComponents(this.eValuesTo,e,t)}mapValuesFromModel(e){const{filter:t,filterTo:a,type:r}=e||{};return[t||null,a||null].slice(0,this.getNumberOfInputs(r))}evaluateNullValue(e){const t=[Ho.NOT_EQUAL,Ho.NOT_CONTAINS,Ho.BLANK];return!!e&&t.indexOf(e)>=0}evaluateNonNullValue(e,t,a,r){const o=e.map(e=>this.formatter(e))||[],i=this.formatter(t),{api:n,colDef:l,column:s,columnApi:g,context:d,textFormatter:c}=this.textFilterParams;if(a.type===Ho.BLANK)return this.isBlank(t);if(a.type===Ho.NOT_BLANK)return!this.isBlank(t);const u={api:n,colDef:l,column:s,columnApi:g,context:d,node:r.node,data:r.data,filterOption:a.type,value:i,textFormatter:c};return o.some(e=>this.matcher(Object.assign(Object.assign({},u),{filterText:e})))}getModelAsString(e){var t;return null!==(t=this.filterModelFormatter.getModelAsString(e))&&void 0!==t?t:""}}ai.DEFAULT_FILTER_OPTIONS=[Ho.CONTAINS,Ho.NOT_CONTAINS,Ho.EQUALS,Ho.NOT_EQUAL,Ho.STARTS_WITH,Ho.ENDS_WITH,Ho.BLANK,Ho.NOT_BLANK],ai.DEFAULT_FORMATTER=e=>e,ai.DEFAULT_LOWERCASE_FORMATTER=e=>null==e?null:e.toString().toLowerCase(),ai.DEFAULT_MATCHER=({filterOption:e,value:t,filterText:a})=>{if(null==a)return!1;switch(e){case ai.CONTAINS:return t.indexOf(a)>=0;case ai.NOT_CONTAINS:return t.indexOf(a)<0;case ai.EQUALS:return t===a;case ai.NOT_EQUAL:return t!=a;case ai.STARTS_WITH:return 0===t.indexOf(a);case ai.ENDS_WITH:const e=t.lastIndexOf(a);return e>=0&&e===t.length-a.length;default:return!1}};var ri=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class oi extends at{constructor(e){super(),this.params=e,this.valueChangedListener=()=>{}}setupGui(e){var t;this.eFloatingFilterTextInput=this.createManagedBean(new Jo(null===(t=this.params)||void 0===t?void 0:t.config));const a=this.eFloatingFilterTextInput.getGui();e.appendChild(a),this.addManagedListener(a,"input",e=>this.valueChangedListener(e)),this.addManagedListener(a,"keydown",e=>this.valueChangedListener(e))}setEditable(e){this.eFloatingFilterTextInput.setDisabled(!e)}setAutoComplete(e){this.eFloatingFilterTextInput.setAutoComplete(e)}getValue(){return this.eFloatingFilterTextInput.getValue()}setValue(e,t){this.eFloatingFilterTextInput.setValue(e,t)}setValueChangedListener(e){this.valueChangedListener=e}setParams(e){this.setAriaLabel(e.ariaLabel),void 0!==e.autoComplete&&this.setAutoComplete(e.autoComplete)}setAriaLabel(e){this.eFloatingFilterTextInput.setInputAriaLabel(e)}}class ii extends Uo{postConstruct(){this.setTemplate('\n <div class="ag-floating-filter-input" role="presentation" ref="eFloatingFilterInputContainer"></div>\n ')}getDefaultDebounceMs(){return 500}onParentModelChanged(e,t){this.isEventFromFloatingFilter(t)||this.isEventFromDataChange(t)||(this.setLastTypeFromModel(e),this.setEditable(this.canWeEditAfterModelFromParentFilter(e)),this.floatingFilterInputService.setValue(this.getFilterModelFormatter().getModelAsString(e)))}init(e){this.setupFloatingFilterInputService(e),super.init(e),this.setTextInputParams(e)}setupFloatingFilterInputService(e){this.floatingFilterInputService=this.createFloatingFilterInputService(e),this.floatingFilterInputService.setupGui(this.eFloatingFilterInputContainer)}setTextInputParams(e){var t;this.params=e;const a=null!==(t=e.browserAutoComplete)&&void 0!==t&&t;if(this.floatingFilterInputService.setParams({ariaLabel:this.getAriaLabel(e),autoComplete:a}),this.applyActive=ko.isUseApplyButton(this.params.filterParams),!this.isReadOnly()){const e=ko.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),t=Z(this.syncUpWithParentFilter.bind(this),e);this.floatingFilterInputService.setValueChangedListener(t)}}onParamsUpdated(e){this.refresh(e)}refresh(e){super.refresh(e),this.setTextInputParams(e)}recreateFloatingFilterInputService(e){const t=this.floatingFilterInputService.getValue();vr(this.eFloatingFilterInputContainer),this.destroyBean(this.floatingFilterInputService),this.setupFloatingFilterInputService(e),this.floatingFilterInputService.setValue(t,!0)}getAriaLabel(e){return`${this.columnModel.getDisplayNameForColumn(e.column,"header",!0)} ${this.localeService.getLocaleTextFunc()("ariaFilterInput","Filter Input")}`}syncUpWithParentFilter(e){const t=e.key===Wr.ENTER;if(this.applyActive&&!t)return;let a=this.floatingFilterInputService.getValue();this.params.filterParams.trimInput&&(a=ai.trimInput(a),this.floatingFilterInputService.setValue(a,!0)),this.params.parentFilterInstance(e=>{e&&e.onFloatingFilterChanged(this.getLastType()||null,a||null)})}setEditable(e){this.floatingFilterInputService.setEditable(e)}}ri([de("columnModel")],ii.prototype,"columnModel",void 0),ri([ho("eFloatingFilterInputContainer")],ii.prototype,"eFloatingFilterInputContainer",void 0),ri([le],ii.prototype,"postConstruct",null);class ni extends at{constructor(){super(...arguments),this.valueChangedListener=()=>{},this.numberInputActive=!0}setupGui(e){this.eFloatingFilterNumberInput=this.createManagedBean(new Xo),this.eFloatingFilterTextInput=this.createManagedBean(new Jo),this.eFloatingFilterTextInput.setDisabled(!0);const t=this.eFloatingFilterNumberInput.getGui(),a=this.eFloatingFilterTextInput.getGui();e.appendChild(t),e.appendChild(a),this.setupListeners(t,e=>this.valueChangedListener(e)),this.setupListeners(a,e=>this.valueChangedListener(e))}setEditable(e){this.numberInputActive=e,this.eFloatingFilterNumberInput.setDisplayed(this.numberInputActive),this.eFloatingFilterTextInput.setDisplayed(!this.numberInputActive)}setAutoComplete(e){this.eFloatingFilterNumberInput.setAutoComplete(e),this.eFloatingFilterTextInput.setAutoComplete(e)}getValue(){return this.getActiveInputElement().getValue()}setValue(e,t){this.getActiveInputElement().setValue(e,t)}getActiveInputElement(){return this.numberInputActive?this.eFloatingFilterNumberInput:this.eFloatingFilterTextInput}setValueChangedListener(e){this.valueChangedListener=e}setupListeners(e,t){this.addManagedListener(e,"input",t),this.addManagedListener(e,"keydown",t)}setParams(e){this.setAriaLabel(e.ariaLabel),void 0!==e.autoComplete&&this.setAutoComplete(e.autoComplete)}setAriaLabel(e){this.eFloatingFilterNumberInput.setInputAriaLabel(e),this.eFloatingFilterTextInput.setInputAriaLabel(e)}}class li extends ii{init(e){var t;super.init(e),this.filterModelFormatter=new Zo(this.localeService,this.optionsFactory,null===(t=e.filterParams)||void 0===t?void 0:t.numberFormatter)}onParamsUpdated(e){this.refresh(e)}refresh(e){$o(e.filterParams)!==this.allowedCharPattern&&this.recreateFloatingFilterInputService(e),super.refresh(e),this.filterModelFormatter.updateParams({optionsFactory:this.optionsFactory})}getDefaultFilterOptions(){return ei.DEFAULT_FILTER_OPTIONS}getFilterModelFormatter(){return this.filterModelFormatter}createFloatingFilterInputService(e){return this.allowedCharPattern=$o(e.filterParams),this.allowedCharPattern?this.createManagedBean(new oi({config:{allowedCharPattern:this.allowedCharPattern}})):this.createManagedBean(new ni)}}class si extends ii{init(e){super.init(e),this.filterModelFormatter=new ti(this.localeService,this.optionsFactory)}onParamsUpdated(e){this.refresh(e)}refresh(e){super.refresh(e),this.filterModelFormatter.updateParams({optionsFactory:this.optionsFactory})}getDefaultFilterOptions(){return ai.DEFAULT_FILTER_OPTIONS}getFilterModelFormatter(){return this.filterModelFormatter}createFloatingFilterInputService(){return this.createManagedBean(new oi)}}class gi{constructor(e,t=!1){this.destroyFuncs=[],this.touching=!1,this.eventService=new fe,this.eElement=e,this.preventMouseClick=t;const a=this.onTouchStart.bind(this),r=this.onTouchMove.bind(this),o=this.onTouchEnd.bind(this);this.eElement.addEventListener("touchstart",a,{passive:!0}),this.eElement.addEventListener("touchmove",r,{passive:!0}),this.eElement.addEventListener("touchend",o,{passive:!1}),this.destroyFuncs.push(()=>{this.eElement.removeEventListener("touchstart",a,{passive:!0}),this.eElement.removeEventListener("touchmove",r,{passive:!0}),this.eElement.removeEventListener("touchend",o,{passive:!1})})}getActiveTouch(e){for(let t=0;t<e.length;t++){if(e[t].identifier===this.touchStart.identifier)return e[t]}return null}addEventListener(e,t){this.eventService.addEventListener(e,t)}removeEventListener(e,t){this.eventService.removeEventListener(e,t)}onTouchStart(e){if(this.touching)return;this.touchStart=e.touches[0],this.touching=!0,this.moved=!1;const t=this.touchStart;window.setTimeout(()=>{const a=this.touchStart===t;if(this.touching&&a&&!this.moved){this.moved=!0;const t={type:gi.EVENT_LONG_TAP,touchStart:this.touchStart,touchEvent:e};this.eventService.dispatchEvent(t)}},500)}onTouchMove(e){if(!this.touching)return;const t=this.getActiveTouch(e.touches);if(!t)return;!Jr(t,this.touchStart,4)&&(this.moved=!0)}onTouchEnd(e){if(this.touching){if(!this.moved){const e={type:gi.EVENT_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(e),this.checkForDoubleTap()}this.preventMouseClick&&e.cancelable&&e.preventDefault(),this.touching=!1}}checkForDoubleTap(){const e=(new Date).getTime();if(this.lastTapTime&&this.lastTapTime>0){if(e-this.lastTapTime>gi.DOUBLE_TAP_MILLIS){const e={type:gi.EVENT_DOUBLE_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(e),this.lastTapTime=null}else this.lastTapTime=e}else this.lastTapTime=e}destroy(){this.destroyFuncs.forEach(e=>e())}}gi.EVENT_TAP="tap",gi.EVENT_DOUBLE_TAP="doubleTap",gi.EVENT_LONG_TAP="longTap",gi.DOUBLE_TAP_MILLIS=500;var di=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ci extends uo{constructor(e){super(),e||this.setTemplate(ci.TEMPLATE)}attachCustomElements(e,t,a,r,o){this.eSortOrder=e,this.eSortAsc=t,this.eSortDesc=a,this.eSortMixed=r,this.eSortNone=o}setupSort(e,t=!1){this.column=e,this.suppressOrder=t,this.setupMultiSortIndicator(),this.column.isSortable()&&(this.addInIcon("sortAscending",this.eSortAsc,e),this.addInIcon("sortDescending",this.eSortDesc,e),this.addInIcon("sortUnSort",this.eSortNone,e),this.addManagedPropertyListener("unSortIcon",()=>this.updateIcons()),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,()=>this.updateIcons()),this.addManagedListener(this.eventService,st.EVENT_SORT_CHANGED,()=>this.onSortChanged()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,()=>this.onSortChanged()),this.onSortChanged())}addInIcon(e,t,a){if(null==t)return;const r=qr(e,this.gridOptionsService,a);r&&t.appendChild(r)}onSortChanged(){this.updateIcons(),this.suppressOrder||this.updateSortOrder()}updateIcons(){const e=this.sortController.getDisplaySortForColumn(this.column);if(this.eSortAsc){const t="asc"===e;rr(this.eSortAsc,t,{skipAriaHidden:!0})}if(this.eSortDesc){const t="desc"===e;rr(this.eSortDesc,t,{skipAriaHidden:!0})}if(this.eSortNone){const t=!this.column.getColDef().unSortIcon&&!this.gridOptionsService.get("unSortIcon"),a=null==e;rr(this.eSortNone,!t&&a,{skipAriaHidden:!0})}}setupMultiSortIndicator(){this.addInIcon("sortUnSort",this.eSortMixed,this.column);const e=this.column.getColDef().showRowGroup;this.gridOptionsService.isColumnsSortingCoupledToGroup()&&e&&(this.addManagedListener(this.eventService,st.EVENT_SORT_CHANGED,()=>this.updateMultiSortIndicator()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,()=>this.updateMultiSortIndicator()),this.updateMultiSortIndicator())}updateMultiSortIndicator(){if(this.eSortMixed){const e="mixed"===this.sortController.getDisplaySortForColumn(this.column);rr(this.eSortMixed,e,{skipAriaHidden:!0})}}updateSortOrder(){var e;if(!this.eSortOrder)return;const t=this.sortController.getColumnsWithSortingOrdered(),a=null!==(e=this.sortController.getDisplaySortIndexForColumn(this.column))&&void 0!==e?e:-1,r=t.some(e=>{var t;return null!==(t=this.sortController.getDisplaySortIndexForColumn(e))&&void 0!==t&&t}),o=a>=0&&r;rr(this.eSortOrder,o,{skipAriaHidden:!0}),a>=0?this.eSortOrder.textContent=(a+1).toString():vr(this.eSortOrder)}}ci.TEMPLATE='<span class="ag-sort-indicator-container">\n <span ref="eSortOrder" class="ag-sort-indicator-icon ag-sort-order ag-hidden" aria-hidden="true"></span>\n <span ref="eSortAsc" class="ag-sort-indicator-icon ag-sort-ascending-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortDesc" class="ag-sort-indicator-icon ag-sort-descending-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortMixed" class="ag-sort-indicator-icon ag-sort-mixed-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortNone" class="ag-sort-indicator-icon ag-sort-none-icon ag-hidden" aria-hidden="true"></span>\n </span>',di([ho("eSortOrder")],ci.prototype,"eSortOrder",void 0),di([ho("eSortAsc")],ci.prototype,"eSortAsc",void 0),di([ho("eSortDesc")],ci.prototype,"eSortDesc",void 0),di([ho("eSortMixed")],ci.prototype,"eSortMixed",void 0),di([ho("eSortNone")],ci.prototype,"eSortNone",void 0),di([de("columnModel")],ci.prototype,"columnModel",void 0),di([de("sortController")],ci.prototype,"sortController",void 0);var ui=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class pi extends uo{constructor(){super(...arguments),this.lastMovingChanged=0}destroy(){super.destroy()}refresh(e){return this.params=e,this.workOutTemplate()==this.currentTemplate&&(this.workOutShowMenu()==this.currentShowMenu&&(this.workOutSort()==this.currentSort&&(this.shouldSuppressMenuHide()==this.currentSuppressMenuHide&&(this.setDisplayName(e),!0))))}workOutTemplate(){var e;let t=null!==(e=this.params.template)&&void 0!==e?e:pi.TEMPLATE;return t=t&&t.trim?t.trim():t,t}init(e){this.params=e,this.currentTemplate=this.workOutTemplate(),this.setTemplate(this.currentTemplate),this.setupTap(),this.setMenu(),this.setupSort(),this.setupFilterIcon(),this.setupFilterButton(),this.setDisplayName(e)}setDisplayName(e){if(this.currentDisplayName!=e.displayName){this.currentDisplayName=e.displayName;const t=ft(this.currentDisplayName,!0);this.eText&&(this.eText.textContent=t)}}addInIcon(e,t,a){if(null==t)return;const r=qr(e,this.gridOptionsService,a);r&&t.appendChild(r)}setupTap(){const{gridOptionsService:e}=this;if(e.get("suppressTouch"))return;const t=new gi(this.getGui(),!0),a=this.shouldSuppressMenuHide(),r=a&&S(this.eMenu),o=r?new gi(this.eMenu,!0):t;if(this.params.enableMenu){const e=r?"EVENT_TAP":"EVENT_LONG_TAP",t=e=>this.params.showColumnMenuAfterMouseClick(e.touchStart);this.addManagedListener(o,gi[e],t)}if(this.params.enableSorting){const e=e=>{var t,r;const o=e.touchStart.target;a&&((null===(t=this.eMenu)||void 0===t?void 0:t.contains(o))||(null===(r=this.eFilterButton)||void 0===r?void 0:r.contains(o)))||this.sortController.progressSort(this.params.column,!1,"uiColumnSorted")};this.addManagedListener(t,gi.EVENT_TAP,e)}if(this.params.enableFilterButton){const e=new gi(this.eFilterButton,!0);this.addManagedListener(e,"tap",()=>this.params.showFilter(this.eFilterButton)),this.addDestroyFunc(()=>e.destroy())}this.addDestroyFunc(()=>t.destroy()),r&&this.addDestroyFunc(()=>o.destroy())}workOutShowMenu(){return this.params.enableMenu&&this.menuService.isHeaderMenuButtonEnabled()}shouldSuppressMenuHide(){return this.menuService.isHeaderMenuButtonAlwaysShowEnabled()}setMenu(){if(!this.eMenu)return;if(this.currentShowMenu=this.workOutShowMenu(),!this.currentShowMenu)return fr(this.eMenu),void(this.eMenu=void 0);const e=this.menuService.isLegacyMenuEnabled();this.addInIcon(e?"menu":"menuAlt",this.eMenu,this.params.column),this.eMenu.classList.toggle("ag-header-menu-icon",!e),this.currentSuppressMenuHide=this.shouldSuppressMenuHide(),this.addManagedListener(this.eMenu,"click",()=>this.params.showColumnMenu(this.eMenu)),this.eMenu.classList.toggle("ag-header-menu-always-show",this.currentSuppressMenuHide)}onMenuKeyboardShortcut(e){var t,a,r,o;const{column:i}=this.params,n=this.menuService.isLegacyMenuEnabled();if(e&&!n){if(this.menuService.isFilterMenuInHeaderEnabled(i))return this.params.showFilter(null!==(a=null!==(t=this.eFilterButton)&&void 0!==t?t:this.eMenu)&&void 0!==a?a:this.getGui()),!0}else if(this.params.enableMenu)return this.params.showColumnMenu(null!==(o=null!==(r=this.eMenu)&&void 0!==r?r:this.eFilterButton)&&void 0!==o?o:this.getGui()),!0;return!1}workOutSort(){return this.params.enableSorting}setupSort(){if(this.currentSort=this.params.enableSorting,this.eSortIndicator||(this.eSortIndicator=this.context.createBean(new ci(!0)),this.eSortIndicator.attachCustomElements(this.eSortOrder,this.eSortAsc,this.eSortDesc,this.eSortMixed,this.eSortNone)),this.eSortIndicator.setupSort(this.params.column),!this.currentSort)return;this.addManagedListener(this.params.column,Ee.EVENT_MOVING_CHANGED,()=>{this.lastMovingChanged=(new Date).getTime()}),this.eLabel&&this.addManagedListener(this.eLabel,"click",e=>{const t=this.params.column.isMoving(),a=(new Date).getTime()-this.lastMovingChanged<50;if(!(t||a)){const t="ctrl"===this.gridOptionsService.get("multiSortKey")?e.ctrlKey||e.metaKey:e.shiftKey;this.params.progressSort(t)}});const e=()=>{if(this.addOrRemoveCssClass("ag-header-cell-sorted-asc",this.params.column.isSortAscending()),this.addOrRemoveCssClass("ag-header-cell-sorted-desc",this.params.column.isSortDescending()),this.addOrRemoveCssClass("ag-header-cell-sorted-none",this.params.column.isSortNone()),this.params.column.getColDef().showRowGroup){const e=this.columnModel.getSourceColumnsForGroupColumn(this.params.column),t=!(null==e?void 0:e.every(e=>this.params.column.getSort()==e.getSort()));this.addOrRemoveCssClass("ag-header-cell-sorted-mixed",t)}};this.addManagedListener(this.eventService,st.EVENT_SORT_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,e)}setupFilterIcon(){this.eFilter&&this.configureFilter(this.params.enableFilterIcon,this.eFilter,this.onFilterChangedIcon.bind(this))}setupFilterButton(){if(!this.eFilterButton)return;this.configureFilter(this.params.enableFilterButton,this.eFilterButton,this.onFilterChangedButton.bind(this))?this.addManagedListener(this.eFilterButton,"click",()=>this.params.showFilter(this.eFilterButton)):this.eFilterButton=void 0}configureFilter(e,t,a){if(!e)return fr(t),!1;const{column:r}=this.params;return this.addInIcon("filter",t,r),this.addManagedListener(r,Ee.EVENT_FILTER_CHANGED,a),a(),!0}onFilterChangedIcon(){const e=this.params.column.isFilterActive();rr(this.eFilter,e,{skipAriaHidden:!0})}onFilterChangedButton(){const e=this.params.column.isFilterActive();this.eFilterButton.classList.toggle("ag-filter-active",e)}getAnchorElementForMenu(e){var t,a,r,o;return e?null!==(a=null!==(t=this.eFilterButton)&&void 0!==t?t:this.eMenu)&&void 0!==a?a:this.getGui():null!==(o=null!==(r=this.eMenu)&&void 0!==r?r:this.eFilterButton)&&void 0!==o?o:this.getGui()}}pi.TEMPLATE='<div class="ag-cell-label-container" role="presentation">\n <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button" aria-hidden="true"></span>\n <span ref="eFilterButton" class="ag-header-icon ag-header-cell-filter-button" aria-hidden="true"></span>\n <div ref="eLabel" class="ag-header-cell-label" role="presentation">\n <span ref="eText" class="ag-header-cell-text"></span>\n <span ref="eFilter" class="ag-header-icon ag-header-label-icon ag-filter-icon" aria-hidden="true"></span>\n <ag-sort-indicator ref="eSortIndicator"></ag-sort-indicator>\n </div>\n </div>',ui([de("sortController")],pi.prototype,"sortController",void 0),ui([de("menuService")],pi.prototype,"menuService",void 0),ui([de("columnModel")],pi.prototype,"columnModel",void 0),ui([ho("eFilter")],pi.prototype,"eFilter",void 0),ui([ho("eFilterButton")],pi.prototype,"eFilterButton",void 0),ui([ho("eSortIndicator")],pi.prototype,"eSortIndicator",void 0),ui([ho("eMenu")],pi.prototype,"eMenu",void 0),ui([ho("eLabel")],pi.prototype,"eLabel",void 0),ui([ho("eText")],pi.prototype,"eText",void 0),ui([ho("eSortOrder")],pi.prototype,"eSortOrder",void 0),ui([ho("eSortAsc")],pi.prototype,"eSortAsc",void 0),ui([ho("eSortDesc")],pi.prototype,"eSortDesc",void 0),ui([ho("eSortMixed")],pi.prototype,"eSortMixed",void 0),ui([ho("eSortNone")],pi.prototype,"eSortNone",void 0);var hi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class mi extends uo{constructor(){super(mi.TEMPLATE)}destroy(){super.destroy()}init(e){this.params=e,this.checkWarnings(),this.setupLabel(),this.addGroupExpandIcon(),this.setupExpandIcons()}checkWarnings(){this.params.template&&q("A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)")}setupExpandIcons(){this.addInIcon("columnGroupOpened","agOpened"),this.addInIcon("columnGroupClosed","agClosed");const e=e=>{if(Ye(e))return;const t=!this.params.columnGroup.isExpanded();this.columnModel.setColumnGroupOpened(this.params.columnGroup.getProvidedColumnGroup(),t,"uiColumnExpanded")};this.addTouchAndClickListeners(this.eCloseIcon,e),this.addTouchAndClickListeners(this.eOpenIcon,e);const t=e=>{Ke(e)};this.addManagedListener(this.eCloseIcon,"dblclick",t),this.addManagedListener(this.eOpenIcon,"dblclick",t),this.addManagedListener(this.getGui(),"dblclick",e),this.updateIconVisibility();const a=this.params.columnGroup.getProvidedColumnGroup();this.addManagedListener(a,xe.EVENT_EXPANDED_CHANGED,this.updateIconVisibility.bind(this)),this.addManagedListener(a,xe.EVENT_EXPANDABLE_CHANGED,this.updateIconVisibility.bind(this))}addTouchAndClickListeners(e,t){const a=new gi(e,!0);this.addManagedListener(a,gi.EVENT_TAP,t),this.addDestroyFunc(()=>a.destroy()),this.addManagedListener(e,"click",t)}updateIconVisibility(){if(this.params.columnGroup.isExpandable()){const e=this.params.columnGroup.isExpanded();rr(this.eOpenIcon,e),rr(this.eCloseIcon,!e)}else rr(this.eOpenIcon,!1),rr(this.eCloseIcon,!1)}addInIcon(e,t){const a=qr(e,this.gridOptionsService,null);a&&this.getRefElement(t).appendChild(a)}addGroupExpandIcon(){if(!this.params.columnGroup.isExpandable())return rr(this.eOpenIcon,!1),void rr(this.eCloseIcon,!1)}setupLabel(){var e;const{displayName:t,columnGroup:a}=this.params;if(S(t)){const e=ft(t,!0);this.getRefElement("agLabel").textContent=e}this.addOrRemoveCssClass("ag-sticky-label",!(null===(e=a.getColGroupDef())||void 0===e?void 0:e.suppressStickyLabel))}}mi.TEMPLATE='<div class="ag-header-group-cell-label" ref="agContainer" role="presentation">\n <span ref="agLabel" class="ag-header-group-text" role="presentation"></span>\n <span ref="agOpened" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"></span>\n <span ref="agClosed" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"></span>\n </div>',hi([de("columnModel")],mi.prototype,"columnModel",void 0),hi([ho("agOpened")],mi.prototype,"eOpenIcon",void 0),hi([ho("agClosed")],mi.prototype,"eCloseIcon",void 0);class vi extends uo{isPopup(){return!0}setParentComponent(e){e.addCssClass("ag-has-popup"),super.setParentComponent(e)}destroy(){const e=this.parentComponent;e&&e.isAlive()&&e.getGui().classList.remove("ag-has-popup"),super.destroy()}}var fi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class wi extends vi{constructor(){super(wi.TEMPLATE)}init(e){this.params=e,this.focusAfterAttached=e.cellStartedEdit,this.eTextArea.setMaxLength(e.maxLength||200).setCols(e.cols||60).setRows(e.rows||10),S(e.value,!0)&&this.eTextArea.setValue(e.value.toString(),!0),this.addGuiEventListener("keydown",this.onKeyDown.bind(this)),this.activateTabIndex()}onKeyDown(e){const t=e.key;(t===Wr.LEFT||t===Wr.UP||t===Wr.RIGHT||t===Wr.DOWN||e.shiftKey&&t===Wr.ENTER)&&e.stopPropagation()}afterGuiAttached(){const e=this.localeService.getLocaleTextFunc();this.eTextArea.setInputAriaLabel(e("ariaInputEditor","Input Editor")),this.focusAfterAttached&&this.eTextArea.getFocusableElement().focus()}getValue(){const e=this.eTextArea.getValue();return S(e)||S(this.params.value)?this.params.parseValue(e):this.params.value}}wi.TEMPLATE='<div class="ag-large-text">\n <ag-input-text-area ref="eTextArea" class="ag-large-text-input"></ag-input-text-area>\n </div>',fi([ho("eTextArea")],wi.prototype,"eTextArea",void 0);var bi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Ci extends vi{constructor(){super('<div class="ag-cell-edit-wrapper">\n <ag-select class="ag-cell-editor" ref="eSelect"></ag-select>\n </div>'),this.startedByEnter=!1}init(e){this.focusAfterAttached=e.cellStartedEdit;const{eSelect:t,valueFormatterService:a,gridOptionsService:r}=this,{values:o,value:i,eventKey:n}=e;if(E(o))return void console.warn("AG Grid: no values found for select cellEditor");this.startedByEnter=null!=n&&n===Wr.ENTER;let l=!1;o.forEach(r=>{const o={value:r},n=a.formatValue(e.column,null,r),s=null!=n;o.text=s?n:r,t.addOption(o),l=l||i===r}),l?t.setValue(e.value,!0):e.values.length&&t.setValue(e.values[0],!0);const{valueListGap:s,valueListMaxWidth:g,valueListMaxHeight:d}=e;null!=s&&t.setPickerGap(s),null!=d&&t.setPickerMaxHeight(d),null!=g&&t.setPickerMaxWidth(g),"fullRow"!==r.get("editType")&&this.addManagedListener(this.eSelect,Lo.EVENT_ITEM_SELECTED,()=>e.stopEditing())}afterGuiAttached(){this.focusAfterAttached&&this.eSelect.getFocusableElement().focus(),this.startedByEnter&&setTimeout(()=>{this.isAlive()&&this.eSelect.showPicker()})}focusIn(){this.eSelect.getFocusableElement().focus()}getValue(){return this.eSelect.getValue()}isPopup(){return!1}}bi([de("valueFormatterService")],Ci.prototype,"valueFormatterService",void 0),bi([ho("eSelect")],Ci.prototype,"eSelect",void 0);var yi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Si extends vi{constructor(e){super(`\n <div class="ag-cell-edit-wrapper">\n ${e.getTemplate()}\n </div>`),this.cellEditorInput=e}init(e){this.params=e;const t=this.eInput;let a;if(this.cellEditorInput.init(t,e),e.cellStartedEdit){this.focusAfterAttached=!0;const t=e.eventKey;t===Wr.BACKSPACE||e.eventKey===Wr.DELETE?a="":t&&1===t.length?a=t:(a=this.cellEditorInput.getStartValue(),t!==Wr.F2&&(this.highlightAllOnFocus=!0))}else this.focusAfterAttached=!1,a=this.cellEditorInput.getStartValue();null!=a&&t.setStartValue(a),this.addManagedListener(t.getGui(),"keydown",e=>{const{key:t}=e;t!==Wr.PAGE_UP&&t!==Wr.PAGE_DOWN||e.preventDefault()})}afterGuiAttached(){var e,t;const a=this.localeService.getLocaleTextFunc(),r=this.eInput;if(r.setInputAriaLabel(a("ariaInputEditor","Input Editor")),!this.focusAfterAttached)return;za()||r.getFocusableElement().focus();const o=r.getInputElement();this.highlightAllOnFocus?o.select():null===(t=(e=this.cellEditorInput).setCaret)||void 0===t||t.call(e)}focusIn(){const e=this.eInput,t=e.getFocusableElement(),a=e.getInputElement();t.focus(),a.select()}getValue(){return this.cellEditorInput.getValue()}isPopup(){return!1}}yi([ho("eInput")],Si.prototype,"eInput",void 0);class Ei{getTemplate(){return'<ag-input-text-field class="ag-cell-editor" ref="eInput"></ag-input-text-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.maxLength&&e.setMaxLength(t.maxLength)}getValue(){const e=this.eInput.getValue();return S(e)||S(this.params.value)?this.params.parseValue(e):this.params.value}getStartValue(){return this.params.useFormatter||this.params.column.getColDef().refData?this.params.formatValue(this.params.value):this.params.value}setCaret(){const e=this.eInput.getValue(),t=S(e)&&e.length||0;t&&this.eInput.getInputElement().setSelectionRange(t,t)}}class Ri extends Si{constructor(){super(new Ei)}}var xi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ki extends uo{constructor(){super(),this.refreshCount=0;const e=document.createElement("span"),t=document.createElement("span");t.setAttribute("class","ag-value-change-delta");const a=document.createElement("span");a.setAttribute("class","ag-value-change-value"),e.appendChild(t),e.appendChild(a),this.setTemplateFromElement(e)}init(e){this.eValue=this.queryForHtmlElement(".ag-value-change-value"),this.eDelta=this.queryForHtmlElement(".ag-value-change-delta"),this.refresh(e,!0)}showDelta(e,t){const a=Math.abs(t),r=e.formatValue(a),o=S(r)?r:a,i=t>=0;this.eDelta.textContent=i?"↑"+o:"↓"+o,this.eDelta.classList.toggle("ag-value-change-delta-up",i),this.eDelta.classList.toggle("ag-value-change-delta-down",!i)}setTimerToRemoveDelta(){this.refreshCount++;const e=this.refreshCount;this.getFrameworkOverrides().wrapIncoming(()=>{window.setTimeout(()=>{e===this.refreshCount&&this.hideDeltaValue()},2e3)})}hideDeltaValue(){this.eValue.classList.remove("ag-value-change-value-highlight"),vr(this.eDelta)}refresh(e,t=!1){const a=e.value;if(a===this.lastValue)return!1;if(S(e.valueFormatted)?this.eValue.textContent=e.valueFormatted:S(e.value)?this.eValue.textContent=a:vr(this.eValue),this.filterManager.isSuppressFlashingCellsBecauseFiltering())return!1;if("number"==typeof a&&"number"==typeof this.lastValue){const t=a-this.lastValue;this.showDelta(e,t)}return this.lastValue&&this.eValue.classList.add("ag-value-change-value-highlight"),t||this.setTimerToRemoveDelta(),this.lastValue=a,!0}}xi([de("filterManager")],ki.prototype,"filterManager",void 0);var zi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Ti extends uo{constructor(){super(),this.refreshCount=0;const e=document.createElement("span"),t=document.createElement("span");t.setAttribute("class","ag-value-slide-current"),e.appendChild(t),this.setTemplateFromElement(e),this.eCurrent=this.queryForHtmlElement(".ag-value-slide-current")}init(e){this.refresh(e,!0)}addSlideAnimation(){this.refreshCount++;const e=this.refreshCount;this.ePrevious&&this.getGui().removeChild(this.ePrevious);const t=document.createElement("span");t.setAttribute("class","ag-value-slide-previous ag-value-slide-out"),this.ePrevious=t,this.ePrevious.textContent=this.eCurrent.textContent,this.getGui().insertBefore(this.ePrevious,this.eCurrent),this.getFrameworkOverrides().wrapIncoming(()=>{window.setTimeout(()=>{e===this.refreshCount&&this.ePrevious.classList.add("ag-value-slide-out-end")},50),window.setTimeout(()=>{e===this.refreshCount&&(this.getGui().removeChild(this.ePrevious),this.ePrevious=null)},3e3)})}refresh(e,t=!1){let a=e.value;return E(a)&&(a=""),a!==this.lastValue&&(!this.filterManager.isSuppressFlashingCellsBecauseFiltering()&&(t||this.addSlideAnimation(),this.lastValue=a,S(e.valueFormatted)?this.eCurrent.textContent=e.valueFormatted:S(e.value)?this.eCurrent.textContent=a:vr(this.eCurrent),!0))}}zi([de("filterManager")],Ti.prototype,"filterManager",void 0);class Ai{constructor(e){this.rowIndex=null,this.key=null,this.childrenMapped={},this.displayed=!1,this.rowTop=null,this.oldRowTop=null,this.selectable=!0,this.__objectId=Ai.OBJECT_ID_SEQUENCE++,this.__autoHeights={},this.alreadyRendered=!1,this.highlighted=null,this.hovered=!1,this.selected=!1,this.beans=e}setData(e){this.setDataCommon(e,!1)}updateData(e){this.setDataCommon(e,!0)}setDataCommon(e,t){const a=this.data;this.data=e,this.beans.valueCache.onDataChanged(),this.updateDataOnDetailNode(),this.checkRowSelectable(),this.resetQuickFilterAggregateText();const r=this.createDataChangedEvent(e,a,t);this.dispatchLocalEvent(r)}updateDataOnDetailNode(){this.detailNode&&(this.detailNode.data=this.data)}createDataChangedEvent(e,t,a){return{type:Ai.EVENT_DATA_CHANGED,node:this,oldData:t,newData:e,update:a}}createLocalRowEvent(e){return{type:e,node:this}}getRowIndexString(){return"top"===this.rowPinned?"t-"+this.rowIndex:"bottom"===this.rowPinned?"b-"+this.rowIndex:this.rowIndex.toString()}createDaemonNode(){const e=new Ai(this.beans);return e.id=this.id,e.data=this.data,e.__daemon=!0,e.selected=this.selected,e.level=this.level,e}setDataAndId(e,t){const a=S(this.id)?this.createDaemonNode():null,r=this.data;this.data=e,this.updateDataOnDetailNode(),this.setId(t),this.checkRowSelectable(),this.beans.selectionService.syncInRowNode(this,a);const o=this.createDataChangedEvent(e,r,!1);this.dispatchLocalEvent(o)}checkRowSelectable(){const e=this.beans.gridOptionsService.get("isRowSelectable");this.setRowSelectable(!e||e(this))}setRowSelectable(e,t){if(this.selectable!==e){if(this.selectable=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_SELECTABLE_CHANGED)),t)return;if(this.beans.gridOptionsService.get("groupSelectsChildren")){const e=this.calculateSelectedFromChildren();return void this.setSelectedParams({newValue:null!=e&&e,source:"selectableChanged"})}this.isSelected()&&!this.selectable&&this.setSelectedParams({newValue:!1,source:"selectableChanged"})}}setId(e){const t=this.beans.gridOptionsService.getCallback("getRowId");if(t)if(this.data){const e=this.getGroupKeys(!0);this.id=t({data:this.data,parentKeys:e.length>0?e:void 0,level:this.level}),null!==this.id&&"string"==typeof this.id&&this.id.startsWith(Ai.ID_PREFIX_ROW_GROUP)&&console.error(`AG Grid: Row IDs cannot start with ${Ai.ID_PREFIX_ROW_GROUP}, this is a reserved prefix for AG Grid's row grouping feature.`),null!==this.id&&"string"!=typeof this.id&&(this.id=""+this.id)}else this.id=void 0;else this.id=e}getGroupKeys(e=!1){const t=[];let a=this;for(e&&(a=a.parent);a&&a.level>=0;)t.push(a.key),a=a.parent;return t.reverse(),t}isPixelInRange(e){return!(!S(this.rowTop)||!S(this.rowHeight))&&(e>=this.rowTop&&e<this.rowTop+this.rowHeight)}setFirstChild(e){this.firstChild!==e&&(this.firstChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_FIRST_CHILD_CHANGED)))}setLastChild(e){this.lastChild!==e&&(this.lastChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_LAST_CHILD_CHANGED)))}setChildIndex(e){this.childIndex!==e&&(this.childIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_CHILD_INDEX_CHANGED)))}setRowTop(e){this.oldRowTop=this.rowTop,this.rowTop!==e&&(this.rowTop=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_TOP_CHANGED)),this.setDisplayed(null!==e))}clearRowTopAndRowIndex(){this.oldRowTop=null,this.setRowTop(null),this.setRowIndex(null)}setDisplayed(e){this.displayed!==e&&(this.displayed=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_DISPLAYED_CHANGED)))}setDragging(e){this.dragging!==e&&(this.dragging=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_DRAGGING_CHANGED)))}setHighlighted(e){e!==this.highlighted&&(this.highlighted=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_HIGHLIGHT_CHANGED)))}setHovered(e){this.hovered!==e&&(this.hovered=e)}isHovered(){return this.hovered}setAllChildrenCount(e){this.allChildrenCount!==e&&(this.allChildrenCount=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_ALL_CHILDREN_COUNT_CHANGED)))}setMaster(e){this.master!==e&&(this.master&&!e&&(this.expanded=!1),this.master=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_MASTER_CHANGED)))}setGroup(e){this.group!==e&&(this.group&&!e&&(this.expanded=!1),this.group=e,this.updateHasChildren(),this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_GROUP_CHANGED)))}setRowHeight(e,t=!1){this.rowHeight=e,this.rowHeightEstimated=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_HEIGHT_CHANGED))}setRowAutoHeight(e,t){this.__autoHeights||(this.__autoHeights={}),this.__autoHeights[t.getId()]=e,null!=e&&(null==this.checkAutoHeightsDebounced&&(this.checkAutoHeightsDebounced=Z(this.checkAutoHeights.bind(this),1)),this.checkAutoHeightsDebounced())}checkAutoHeights(){let e=!1,t=!0,a=0;const r=this.__autoHeights;if(null==r)return;if(this.beans.columnModel.getAllDisplayedAutoHeightCols().forEach(o=>{let i=r[o.getId()];if(null==i){if(!this.beans.columnModel.isColSpanActive())return void(e=!0);{let t=[];switch(o.getPinned()){case"left":t=this.beans.columnModel.getDisplayedLeftColumnsForRow(this);break;case"right":t=this.beans.columnModel.getDisplayedRightColumnsForRow(this);break;case null:t=this.beans.columnModel.getViewportCenterColumnsForRow(this)}if(t.includes(o))return void(e=!0);i=-1}}else t=!1;i>a&&(a=i)}),e)return;if((t||a<10)&&(a=this.beans.gridOptionsService.getRowHeightForNode(this).height),a==this.rowHeight)return;this.setRowHeight(a);const o=this.beans.rowModel;o.onRowHeightChangedDebounced&&o.onRowHeightChangedDebounced()}setRowIndex(e){this.rowIndex!==e&&(this.rowIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_ROW_INDEX_CHANGED)))}setUiLevel(e){this.uiLevel!==e&&(this.uiLevel=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_UI_LEVEL_CHANGED)))}setExpanded(e,t){if(this.expanded===e)return;this.expanded=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_EXPANDED_CHANGED));const a=Object.assign({},this.createGlobalRowEvent(st.EVENT_ROW_GROUP_OPENED),{expanded:e,event:t||null});this.beans.rowNodeEventThrottle.dispatchExpanded(a),this.sibling&&this.beans.rowRenderer.refreshCells({rowNodes:[this]})}createGlobalRowEvent(e){return this.beans.gridOptionsService.addGridCommonParams({type:e,node:this,data:this.data,rowIndex:this.rowIndex,rowPinned:this.rowPinned})}dispatchLocalEvent(e){this.eventService&&this.eventService.dispatchEvent(e)}setDataValue(e,t,a){const r=(()=>{var t;return"string"!=typeof e?e:null!==(t=this.beans.columnModel.getGridColumn(e))&&void 0!==t?t:this.beans.columnModel.getPrimaryColumn(e)})(),o=this.getValueFromValueService(r);if(this.beans.gridOptionsService.get("readOnlyEdit"))return this.dispatchEventForSaveValueReadOnly(r,o,t,a),!1;const i=this.beans.valueService.setValue(this,r,t,a);return this.dispatchCellChangedEvent(r,t,o),this.checkRowSelectable(),i}getValueFromValueService(e){const t=this.leafGroup&&this.beans.columnModel.isPivotMode(),a=this.group&&this.expanded&&!this.footer&&!t,r=this.beans.gridOptionsService.getGroupIncludeFooter()({node:this}),o=this.beans.gridOptionsService.get("groupSuppressBlankHeader"),i=a&&r&&!o;return this.beans.valueService.getValue(e,this,!1,i)}dispatchEventForSaveValueReadOnly(e,t,a,r){const o=this.beans.gridOptionsService.addGridCommonParams({type:st.EVENT_CELL_EDIT_REQUEST,event:null,rowIndex:this.rowIndex,rowPinned:this.rowPinned,column:e,colDef:e.getColDef(),data:this.data,node:this,oldValue:t,newValue:a,value:a,source:r});this.beans.eventService.dispatchEvent(o)}setGroupValue(e,t){const a=this.beans.columnModel.getGridColumn(e);E(this.groupData)&&(this.groupData={});const r=a.getColId(),o=this.groupData[r];o!==t&&(this.groupData[r]=t,this.dispatchCellChangedEvent(a,t,o))}setAggData(e){const t=this.aggData;if(this.aggData=e,this.eventService){const a=e=>{const a=this.aggData?this.aggData[e]:void 0,r=t?t[e]:void 0;if(a===r)return;const o=this.beans.columnModel.lookupGridColumn(e);o&&this.dispatchCellChangedEvent(o,a,r)};for(const e in this.aggData)a(e);for(const t in e)t in this.aggData||a(t)}}updateHasChildren(){let e=this.group&&!this.footer||this.childrenAfterGroup&&this.childrenAfterGroup.length>0;if(this.beans.gridOptionsService.isRowModelType("serverSide")){const t=this.beans.gridOptionsService.get("treeData"),a=this.beans.gridOptionsService.get("isServerSideGroup");e=!this.stub&&!this.footer&&(t?!!a&&a(this.data):!!this.group)}e!==this.__hasChildren&&(this.__hasChildren=!!e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(Ai.EVENT_HAS_CHILDREN_CHANGED)))}hasChildren(){return null==this.__hasChildren&&this.updateHasChildren(),this.__hasChildren}isEmptyRowGroupNode(){return this.group&&R(this.childrenAfterGroup)}dispatchCellChangedEvent(e,t,a){const r={type:Ai.EVENT_CELL_CHANGED,node:this,column:e,newValue:t,oldValue:a};this.dispatchLocalEvent(r)}resetQuickFilterAggregateText(){this.quickFilterAggregateText=null}isExpandable(){return!this.footer&&(this.beans.columnModel.isPivotMode()?this.hasChildren()&&!this.leafGroup:this.hasChildren()||!!this.master)}isSelected(){return this.footer?this.sibling.isSelected():this.selected}depthFirstSearch(e){this.childrenAfterGroup&&this.childrenAfterGroup.forEach(t=>t.depthFirstSearch(e)),e(this)}calculateSelectedFromChildren(){var e;let t=!1,a=!1,r=!1;if(!(null===(e=this.childrenAfterGroup)||void 0===e?void 0:e.length))return this.selectable?this.selected:null;for(let e=0;e<this.childrenAfterGroup.length;e++){const o=this.childrenAfterGroup[e];let i=o.isSelected();if(!o.selectable){const e=o.calculateSelectedFromChildren();if(null===e)continue;i=e}switch(i){case!0:t=!0;break;case!1:a=!0;break;default:r=!0}}return r||t&&a?void 0:!!t||!a&&(this.selectable?this.selected:null)}setSelectedInitialValue(e){this.selected=e}selectThisNode(e,t,a="api"){const r=!this.selectable&&e,o=this.selected===e;if(r||o)return!1;if(this.selected=e,this.eventService){this.dispatchLocalEvent(this.createLocalRowEvent(Ai.EVENT_ROW_SELECTED));const e=this.sibling;e&&e.footer&&e.dispatchLocalEvent(e.createLocalRowEvent(Ai.EVENT_ROW_SELECTED))}const i=Object.assign(Object.assign({},this.createGlobalRowEvent(st.EVENT_ROW_SELECTED)),{event:t||null,source:a});return this.beans.eventService.dispatchEvent(i),!0}setSelected(e,t=!1,a="api"){"boolean"!=typeof a?this.setSelectedParams({newValue:e,clearSelection:t,rangeSelect:!1,source:a}):console.warn("AG Grid: since version v30, rowNode.setSelected() property `suppressFinishActions` has been removed, please use `gridApi.setNodesSelected()` for bulk actions, and the event `source` property for ignoring events instead.")}setSelectedParams(e){return this.rowPinned?(console.warn("AG Grid: cannot select pinned rows"),0):void 0===this.id?(console.warn("AG Grid: cannot select node until id for node is known"),0):this.beans.selectionService.setNodesSelected(Object.assign(Object.assign({},e),{nodes:[this.footer?this.sibling:this]}))}isRowPinned(){return"top"===this.rowPinned||"bottom"===this.rowPinned}isParentOfNode(e){let t=this.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}addEventListener(e,t){var a,r;this.eventService||(this.eventService=new fe),this.beans.frameworkOverrides.shouldWrapOutgoing&&!this.frameworkEventListenerService&&(this.eventService.setFrameworkOverrides(this.beans.frameworkOverrides),this.frameworkEventListenerService=new we(this.beans.frameworkOverrides));const o=null!==(r=null===(a=this.frameworkEventListenerService)||void 0===a?void 0:a.wrap(t))&&void 0!==r?r:t;this.eventService.addEventListener(e,o)}removeEventListener(e,t){var a,r;if(!this.eventService)return;const o=null!==(r=null===(a=this.frameworkEventListenerService)||void 0===a?void 0:a.unwrap(t))&&void 0!==r?r:t;this.eventService.removeEventListener(e,o),this.eventService.noRegisteredListenersExist()&&(this.eventService=null)}onMouseEnter(){this.dispatchLocalEvent(this.createLocalRowEvent(Ai.EVENT_MOUSE_ENTER))}onMouseLeave(){this.dispatchLocalEvent(this.createLocalRowEvent(Ai.EVENT_MOUSE_LEAVE))}getFirstChildOfFirstChild(e){let t=this,a=!0,r=!1,o=null;for(;a&&!r;){const i=t.parent;S(i)&&t.firstChild?i.rowGroupColumn===e&&(r=!0,o=i):a=!1,t=i}return r?o:null}isFullWidthCell(){if(this.detail)return!0;const e=this.beans.gridOptionsService.getCallback("isFullWidthRow");return!!e&&e({rowNode:this})}getRoute(){if(null==this.key)return;const e=[];let t=this;for(;null!=t.key;)e.push(t.key),t=t.parent;return e.reverse()}createFooter(){if(this.sibling)return;const e=new Set(["eventService","__objectId","sticky"]),t=new Ai(this.beans);Object.keys(this).forEach(a=>{e.has(a)||(t[a]=this[a])}),t.footer=!0,t.setRowTop(null),t.setRowIndex(null),t.oldRowTop=null,t.id="rowGroupFooter_"+this.id,t.sibling=this,this.sibling=t}destroyFooter(){this.sibling&&(this.sibling.setRowTop(null),this.sibling.setRowIndex(null),this.sibling=void 0)}}Ai.ID_PREFIX_ROW_GROUP="row-group-",Ai.ID_PREFIX_TOP_PINNED="t-",Ai.ID_PREFIX_BOTTOM_PINNED="b-",Ai.OBJECT_ID_SEQUENCE=0,Ai.EVENT_ROW_SELECTED="rowSelected",Ai.EVENT_DATA_CHANGED="dataChanged",Ai.EVENT_CELL_CHANGED="cellChanged",Ai.EVENT_ALL_CHILDREN_COUNT_CHANGED="allChildrenCountChanged",Ai.EVENT_MASTER_CHANGED="masterChanged",Ai.EVENT_GROUP_CHANGED="groupChanged",Ai.EVENT_MOUSE_ENTER="mouseEnter",Ai.EVENT_MOUSE_LEAVE="mouseLeave",Ai.EVENT_HEIGHT_CHANGED="heightChanged",Ai.EVENT_TOP_CHANGED="topChanged",Ai.EVENT_DISPLAYED_CHANGED="displayedChanged",Ai.EVENT_FIRST_CHILD_CHANGED="firstChildChanged",Ai.EVENT_LAST_CHILD_CHANGED="lastChildChanged",Ai.EVENT_CHILD_INDEX_CHANGED="childIndexChanged",Ai.EVENT_ROW_INDEX_CHANGED="rowIndexChanged",Ai.EVENT_EXPANDED_CHANGED="expandedChanged",Ai.EVENT_HAS_CHILDREN_CHANGED="hasChildrenChanged",Ai.EVENT_SELECTABLE_CHANGED="selectableChanged",Ai.EVENT_UI_LEVEL_CHANGED="uiLevelChanged",Ai.EVENT_HIGHLIGHT_CHANGED="rowHighlightChanged",Ai.EVENT_DRAGGING_CHANGED="draggingChanged";var Di,Oi,Mi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Pi extends uo{constructor(){super('\n <div class="ag-selection-checkbox" role="presentation">\n <ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>\n </div>')}postConstruct(){this.eCheckbox.setPassive(!0)}getCheckboxId(){return this.eCheckbox.getInputElement().id}onDataChanged(){this.onSelectionChanged()}onSelectableChanged(){this.showOrHideSelect()}onSelectionChanged(){const e=this.rowNode.isSelected();this.eCheckbox.setValue(e,!0)}onClicked(e,t,a){return this.rowNode.setSelectedParams({newValue:e,rangeSelect:a.shiftKey,groupSelectsFiltered:t,event:a,source:"checkboxSelected"})}init(e){this.rowNode=e.rowNode,this.column=e.column,this.overrides=e.overrides,this.onSelectionChanged(),this.addManagedListener(this.eCheckbox.getInputElement(),"dblclick",e=>{Ke(e)}),this.addManagedListener(this.eCheckbox.getInputElement(),"click",e=>{Ke(e);const t=this.gridOptionsService.get("groupSelectsFiltered"),a=this.eCheckbox.getValue();if(this.shouldHandleIndeterminateState(a,t)){0===this.onClicked(!0,t,e||{})&&this.onClicked(!1,t,e)}else a?this.onClicked(!1,t,e):this.onClicked(!0,t,e||{})}),this.addManagedListener(this.rowNode,Ai.EVENT_ROW_SELECTED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_DATA_CHANGED,this.onDataChanged.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_SELECTABLE_CHANGED,this.onSelectableChanged.bind(this));if(this.gridOptionsService.get("isRowSelectable")||"function"==typeof this.getIsVisible()){const e=this.showOrHideSelect.bind(this);this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.rowNode,Ai.EVENT_DATA_CHANGED,e),this.addManagedListener(this.rowNode,Ai.EVENT_CELL_CHANGED,e),this.showOrHideSelect()}this.eCheckbox.getInputElement().setAttribute("tabindex","-1")}shouldHandleIndeterminateState(e,t){return t&&(void 0===this.eCheckbox.getPreviousValue()||void 0===e)&&this.gridOptionsService.isRowModelType("clientSide")}showOrHideSelect(){var e,t,a,r;let o=this.rowNode.selectable;const i=this.getIsVisible();if(o)if("function"==typeof i){const a=null===(e=this.overrides)||void 0===e?void 0:e.callbackParams,r=null===(t=this.column)||void 0===t?void 0:t.createColumnFunctionCallbackParams(this.rowNode);o=!!r&&i(Object.assign(Object.assign({},a),r))}else o=null!=i&&i;if(null===(a=this.column)||void 0===a?void 0:a.getColDef().showDisabledCheckboxes)return this.eCheckbox.setDisabled(!o),this.setVisible(!0),void this.setDisplayed(!0);(null===(r=this.overrides)||void 0===r?void 0:r.removeHidden)?this.setDisplayed(o):this.setVisible(o)}getIsVisible(){var e,t;return this.overrides?this.overrides.isVisible:null===(t=null===(e=this.column)||void 0===e?void 0:e.getColDef())||void 0===t?void 0:t.checkboxSelection}}Mi([ho("eCheckbox")],Pi.prototype,"eCheckbox",void 0),Mi([le],Pi.prototype,"postConstruct",null),function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(Di||(Di={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(Oi||(Oi={}));var Li,Ni,Fi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e[e.ToolPanel=0]="ToolPanel",e[e.HeaderCell=1]="HeaderCell",e[e.RowDrag=2]="RowDrag",e[e.ChartPanel=3]="ChartPanel",e[e.AdvancedFilterBuilder=4]="AdvancedFilterBuilder"}(Ni||(Ni={}));let Ii=Li=class extends at{constructor(){super(...arguments),this.dragSourceAndParamsList=[],this.dropTargets=[]}init(){this.ePinnedIcon=Br("columnMovePin",this.gridOptionsService,null),this.eHideIcon=Br("columnMoveHide",this.gridOptionsService,null),this.eMoveIcon=Br("columnMoveMove",this.gridOptionsService,null),this.eLeftIcon=Br("columnMoveLeft",this.gridOptionsService,null),this.eRightIcon=Br("columnMoveRight",this.gridOptionsService,null),this.eGroupIcon=Br("columnMoveGroup",this.gridOptionsService,null),this.eAggregateIcon=Br("columnMoveValue",this.gridOptionsService,null),this.ePivotIcon=Br("columnMovePivot",this.gridOptionsService,null),this.eDropNotAllowedIcon=Br("dropNotAllowed",this.gridOptionsService,null)}addDragSource(e,t=!1){const a={eElement:e.eElement,dragStartPixels:e.dragStartPixels,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this),includeTouch:t};this.dragSourceAndParamsList.push({params:a,dragSource:e}),this.dragService.addDragSource(a)}removeDragSource(e){const t=this.dragSourceAndParamsList.find(t=>t.dragSource===e);t&&(this.dragService.removeDragSource(t.params),Le(this.dragSourceAndParamsList,t))}clearDragSourceParamsList(){this.dragSourceAndParamsList.forEach(e=>this.dragService.removeDragSource(e.params)),this.dragSourceAndParamsList.length=0,this.dropTargets.length=0}nudge(){this.dragging&&this.onDragging(this.eventLastTime,!0)}onDragStart(e,t){this.dragging=!0,this.dragSource=e,this.eventLastTime=t,this.dragItem=this.dragSource.getDragItem(),this.dragSource.onDragStarted&&this.dragSource.onDragStarted(),this.createGhost()}onDragStop(e){if(this.eventLastTime=null,this.dragging=!1,this.dragSource.onDragStopped&&this.dragSource.onDragStopped(),this.lastDropTarget&&this.lastDropTarget.onDragStop){const t=this.createDropTargetEvent(this.lastDropTarget,e,null,null,!1);this.lastDropTarget.onDragStop(t)}this.lastDropTarget=null,this.dragItem=null,this.removeGhost()}onDragging(e,t){var a,r,o,i;const n=this.getHorizontalDirection(e),l=this.getVerticalDirection(e);this.eventLastTime=e,this.positionGhost(e);const s=this.dropTargets.filter(t=>this.isMouseOnDropTarget(e,t)),g=this.findCurrentDropTarget(e,s);if(g!==this.lastDropTarget)this.leaveLastTargetIfExists(e,n,l,t),null!==this.lastDropTarget&&null===g&&(null===(r=(a=this.dragSource).onGridExit)||void 0===r||r.call(a,this.dragItem)),null===this.lastDropTarget&&null!==g&&(null===(i=(o=this.dragSource).onGridEnter)||void 0===i||i.call(o,this.dragItem)),this.enterDragTargetIfExists(g,e,n,l,t),this.lastDropTarget=g;else if(g&&g.onDragging){const a=this.createDropTargetEvent(g,e,n,l,t);g.onDragging(a)}}getAllContainersFromDropTarget(e){const t=e.getSecondaryContainers?e.getSecondaryContainers():null,a=[[e.getContainer()]];return t?a.concat(t):a}allContainersIntersect(e,t){for(const a of t){const t=a.getBoundingClientRect();if(0===t.width||0===t.height)return!1;const r=e.clientX>=t.left&&e.clientX<t.right,o=e.clientY>=t.top&&e.clientY<t.bottom;if(!r||!o)return!1}return!0}isMouseOnDropTarget(e,t){const a=this.getAllContainersFromDropTarget(t);let r=!1;for(const t of a)if(this.allContainersIntersect(e,t)){r=!0;break}return!(t.targetContainsSource&&!t.getContainer().contains(this.dragSource.eElement))&&(r&&t.isInterestedIn(this.dragSource.type,this.dragSource.eElement))}findCurrentDropTarget(e,t){const a=t.length;if(0===a)return null;if(1===a)return t[0];const r=this.gridOptionsService.getRootNode().elementsFromPoint(e.clientX,e.clientY);for(const e of r)for(const a of t){if(-1!==_e(this.getAllContainersFromDropTarget(a)).indexOf(e))return a}return null}enterDragTargetIfExists(e,t,a,r,o){if(e){if(e.onDragEnter){const i=this.createDropTargetEvent(e,t,a,r,o);e.onDragEnter(i)}this.setGhostIcon(e.getIconName?e.getIconName():null)}}leaveLastTargetIfExists(e,t,a,r){if(this.lastDropTarget){if(this.lastDropTarget.onDragLeave){const o=this.createDropTargetEvent(this.lastDropTarget,e,t,a,r);this.lastDropTarget.onDragLeave(o)}this.setGhostIcon(null)}}addDropTarget(e){this.dropTargets.push(e)}removeDropTarget(e){this.dropTargets=this.dropTargets.filter(t=>t.getContainer()!==e.getContainer())}hasExternalDropZones(){return this.dropTargets.some(e=>e.external)}findExternalZone(e){return this.dropTargets.filter(e=>e.external).find(t=>t.getContainer()===e.getContainer())||null}getHorizontalDirection(e){const t=this.eventLastTime&&this.eventLastTime.clientX,a=e.clientX;return t===a?null:t>a?Oi.Left:Oi.Right}getVerticalDirection(e){const t=this.eventLastTime&&this.eventLastTime.clientY,a=e.clientY;return t===a?null:t>a?Di.Up:Di.Down}createDropTargetEvent(e,t,a,r,o){const i=e.getContainer(),n=i.getBoundingClientRect(),{gridApi:l,columnApi:s,dragItem:g,dragSource:d}=this;return{event:t,x:t.clientX-n.left,y:t.clientY-n.top,vDirection:r,hDirection:a,dragSource:d,fromNudge:o,dragItem:g,api:l,columnApi:s,dropZoneTarget:i}}positionGhost(e){const t=this.eGhost;if(!t)return;const a=t.getBoundingClientRect().height,r=Fa()-2,o=Ia()-2,i=ur(t.offsetParent),{clientY:n,clientX:l}=e;let s=n-i.top-a/2,g=l-i.left-10;const d=this.gridOptionsService.getDocument(),c=d.defaultView||window,u=c.pageYOffset||d.documentElement.scrollTop,p=c.pageXOffset||d.documentElement.scrollLeft;r>0&&g+t.clientWidth>r+p&&(g=r+p-t.clientWidth),g<0&&(g=0),o>0&&s+t.clientHeight>o+u&&(s=o+u-t.clientHeight),s<0&&(s=0),t.style.left=g+"px",t.style.top=s+"px"}removeGhost(){this.eGhost&&this.eGhostParent&&this.eGhostParent.removeChild(this.eGhost),this.eGhost=null}createGhost(){this.eGhost=Cr(Li.GHOST_TEMPLATE),this.mouseEventService.stampTopLevelGridCompWithGridInstance(this.eGhost);const{theme:e}=this.environment.getTheme();e&&this.eGhost.classList.add(e),this.eGhostIcon=this.eGhost.querySelector(".ag-dnd-ghost-icon"),this.setGhostIcon(null);const t=this.eGhost.querySelector(".ag-dnd-ghost-label");let a=this.dragSource.dragItemName;j(a)&&(a=a()),t.innerHTML=ft(a)||"",this.eGhost.style.height="25px",this.eGhost.style.top="20px",this.eGhost.style.left="20px";const r=this.gridOptionsService.getDocument();let o=null,i=null;try{o=r.fullscreenElement}catch(e){}finally{o||(o=this.gridOptionsService.getRootNode());const e=o.querySelector("body");i=e||(o instanceof ShadowRoot?o:o instanceof Document?null==o?void 0:o.documentElement:o)}this.eGhostParent=i,this.eGhostParent?this.eGhostParent.appendChild(this.eGhost):console.warn("AG Grid: could not find document body, it is needed for dragging columns")}setGhostIcon(e,t=!1){vr(this.eGhostIcon);let a=null;switch(e||(e=this.dragSource.getDefaultIconName?this.dragSource.getDefaultIconName():Li.ICON_NOT_ALLOWED),e){case Li.ICON_PINNED:a=this.ePinnedIcon;break;case Li.ICON_MOVE:a=this.eMoveIcon;break;case Li.ICON_LEFT:a=this.eLeftIcon;break;case Li.ICON_RIGHT:a=this.eRightIcon;break;case Li.ICON_GROUP:a=this.eGroupIcon;break;case Li.ICON_AGGREGATE:a=this.eAggregateIcon;break;case Li.ICON_PIVOT:a=this.ePivotIcon;break;case Li.ICON_NOT_ALLOWED:a=this.eDropNotAllowedIcon;break;case Li.ICON_HIDE:a=this.eHideIcon}this.eGhostIcon.classList.toggle("ag-shake-left-to-right",t),a===this.eHideIcon&&this.gridOptionsService.get("suppressDragLeaveHidesColumns")||a&&this.eGhostIcon.appendChild(a)}};Ii.ICON_PINNED="pinned",Ii.ICON_MOVE="move",Ii.ICON_LEFT="left",Ii.ICON_RIGHT="right",Ii.ICON_GROUP="group",Ii.ICON_AGGREGATE="aggregate",Ii.ICON_PIVOT="pivot",Ii.ICON_NOT_ALLOWED="notAllowed",Ii.ICON_HIDE="hide",Ii.GHOST_TEMPLATE='<div class="ag-dnd-ghost ag-unselectable">\n <span class="ag-dnd-ghost-icon ag-shake-left-to-right"></span>\n <div class="ag-dnd-ghost-label"></div>\n </div>',Fi([de("dragService")],Ii.prototype,"dragService",void 0),Fi([de("mouseEventService")],Ii.prototype,"mouseEventService",void 0),Fi([de("columnApi")],Ii.prototype,"columnApi",void 0),Fi([de("gridApi")],Ii.prototype,"gridApi",void 0),Fi([le],Ii.prototype,"init",null),Fi([se],Ii.prototype,"clearDragSourceParamsList",null),Ii=Li=Fi([ge("dragAndDropService")],Ii);var Gi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Vi extends uo{constructor(e,t,a,r,o,i){super(),this.cellValueFn=e,this.rowNode=t,this.column=a,this.customGui=r,this.dragStartPixels=o,this.suppressVisibilityChange=i,this.dragSource=null}isCustomGui(){return null!=this.customGui}postConstruct(){if(this.customGui?this.setDragElement(this.customGui,this.dragStartPixels):(this.setTemplate('<div class="ag-drag-handle ag-row-drag" aria-hidden="true"></div>'),this.getGui().appendChild(qr("rowDrag",this.gridOptionsService,null)),this.addDragSource()),this.checkCompatibility(),!this.suppressVisibilityChange){const e=this.gridOptionsService.get("rowDragManaged")?new Bi(this,this.beans,this.rowNode,this.column):new _i(this,this.beans,this.rowNode,this.column);this.createManagedBean(e,this.beans.context)}}setDragElement(e,t){this.setTemplateFromElement(e),this.addDragSource(t)}getSelectedNodes(){if(!this.gridOptionsService.get("rowDragMultiRow"))return[this.rowNode];const e=this.beans.selectionService.getSelectedNodes();return-1!==e.indexOf(this.rowNode)?e:[this.rowNode]}checkCompatibility(){const e=this.gridOptionsService.get("rowDragManaged");this.gridOptionsService.get("treeData")&&e&&q("If using row drag with tree data, you cannot have rowDragManaged=true")}getDragItem(){return{rowNode:this.rowNode,rowNodes:this.getSelectedNodes(),columns:this.column?[this.column]:void 0,defaultTextValue:this.cellValueFn()}}getRowDragText(e){if(e){const t=e.getColDef();if(t.rowDragText)return t.rowDragText}return this.gridOptionsService.get("rowDragText")}addDragSource(e=4){this.dragSource&&this.removeDragSource();const t=this.localeService.getLocaleTextFunc();this.dragSource={type:Ni.RowDrag,eElement:this.getGui(),dragItemName:()=>{var e;const a=this.getDragItem(),r=(null===(e=a.rowNodes)||void 0===e?void 0:e.length)||1,o=this.getRowDragText(this.column);return o?o(a,r):1===r?this.cellValueFn():`${r} ${t("rowDragRows","rows")}`},getDragItem:()=>this.getDragItem(),dragStartPixels:e,dragSourceDomDataKey:this.gridOptionsService.getDomDataKey()},this.beans.dragAndDropService.addDragSource(this.dragSource,!0)}removeDragSource(){this.dragSource&&this.beans.dragAndDropService.removeDragSource(this.dragSource),this.dragSource=null}}Gi([de("beans")],Vi.prototype,"beans",void 0),Gi([le],Vi.prototype,"postConstruct",null),Gi([se],Vi.prototype,"removeDragSource",null);class Hi extends at{constructor(e,t,a){super(),this.parent=e,this.rowNode=t,this.column=a}setDisplayedOrVisible(e){const t={skipAriaHidden:!0};if(e)this.parent.setDisplayed(!1,t);else{let e=!0,a=!1;this.column&&(e=this.column.isRowDrag(this.rowNode)||this.parent.isCustomGui(),a=j(this.column.getColDef().rowDrag)),a?(this.parent.setDisplayed(!0,t),this.parent.setVisible(e,t)):(this.parent.setDisplayed(e,t),this.parent.setVisible(!0,t))}}}class _i extends Hi{constructor(e,t,a,r){super(e,a,r),this.beans=t}postConstruct(){this.addManagedPropertyListener("suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,st.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.workOutVisibility()}onSuppressRowDrag(){this.workOutVisibility()}workOutVisibility(){const e=this.gridOptionsService.get("suppressRowDrag");this.setDisplayedOrVisible(e)}}Gi([le],_i.prototype,"postConstruct",null);class Bi extends Hi{constructor(e,t,a,r){super(e,a,r),this.beans=t}postConstruct(){this.addManagedListener(this.beans.eventService,st.EVENT_SORT_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,st.EVENT_FILTER_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,st.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedPropertyListener("suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.workOutVisibility()}onSuppressRowDrag(){this.workOutVisibility()}workOutVisibility(){const e=this.beans.ctrlsService.getGridBodyCtrl().getRowDragFeature(),t=e&&e.shouldPreventRowMove(),a=this.gridOptionsService.get("suppressRowDrag"),r=this.beans.dragAndDropService.hasExternalDropZones(),o=t&&!r||a;this.setDisplayedOrVisible(o)}}Gi([le],Bi.prototype,"postConstruct",null);var qi=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Wi extends at{init(e,t,a,r,o,i,n){var l,s,g,d;this.params=n,this.eGui=t,this.eCheckbox=a,this.eExpanded=r,this.eContracted=o,this.comp=e,this.compClass=i;const{node:c,value:u,colDef:p}=n,h=this.isTopLevelFooter();if(!h){if(this.isEmbeddedRowMismatch())return;if(c.footer&&this.gridOptionsService.get("groupHideOpenParents")){if((p&&p.showRowGroup)!==(c.rowGroupColumn&&c.rowGroupColumn.getColId()))return}}if(this.setupShowingValueForOpenedParent(),this.findDisplayedGroupNode(),!h){const e=n.node.footer&&n.node.rowGroupIndex===this.columnModel.getRowGroupColumns().findIndex(e=>{var t;return e.getColId()===(null===(t=n.colDef)||void 0===t?void 0:t.showRowGroup)}),t="multipleColumns"!=this.gridOptionsService.get("groupDisplayType")||this.gridOptionsService.get("treeData")||this.gridOptionsService.get("showOpenedGroup")&&!n.node.footer&&(!n.node.group||null!=n.node.rowGroupIndex&&n.node.rowGroupIndex>this.columnModel.getRowGroupColumns().findIndex(e=>{var t;return e.getColId()===(null===(t=n.colDef)||void 0===t?void 0:t.showRowGroup)})),a=!c.group&&((null===(l=this.params.colDef)||void 0===l?void 0:l.field)||(null===(s=this.params.colDef)||void 0===s?void 0:s.valueGetter)),r=this.isExpandable(),o=this.columnModel.isPivotMode()&&c.leafGroup&&(null===(g=c.rowGroupColumn)||void 0===g?void 0:g.getColId())===(null===(d=n.column)||void 0===d?void 0:d.getColDef().showRowGroup);if(!(this.showingValueForOpenedParent||r||a||t||e||o))return}this.addExpandAndContract(),this.addFullWidthRowDraggerIfNeeded(),this.addCheckboxIfNeeded(),this.addValueElement(),this.setupIndent(),this.refreshAriaExpanded()}getCellAriaRole(){var e,t;const a=null===(e=this.params.colDef)||void 0===e?void 0:e.cellAriaRole,r=null===(t=this.params.column)||void 0===t?void 0:t.getColDef().cellAriaRole;return a||r||"gridcell"}destroy(){super.destroy(),this.expandListener=null}refreshAriaExpanded(){const{node:e,eGridCell:t}=this.params;if(this.expandListener&&(this.expandListener=this.expandListener()),!this.isExpandable())return void ua(t);const a=()=>{ca(t,!!e.expanded)};this.expandListener=this.addManagedListener(e,Ai.EVENT_EXPANDED_CHANGED,a)||null,a()}isTopLevelFooter(){if(!this.gridOptionsService.get("groupIncludeTotalFooter"))return!1;if(null!=this.params.value||-1!=this.params.node.level)return!1;const e=this.params.colDef;if(null==e)return!0;if(!0===e.showRowGroup)return!0;const t=this.columnModel.getRowGroupColumns();if(!t||0===t.length)return!0;return t[0].getId()===e.showRowGroup}isEmbeddedRowMismatch(){if(!this.params.fullWidth||!this.gridOptionsService.get("embedFullWidthRows"))return!1;const e="left"===this.params.pinned,t="right"===this.params.pinned,a=!e&&!t;return this.gridOptionsService.get("enableRtl")?this.columnModel.isPinningLeft()?!t:!a:this.columnModel.isPinningLeft()?!e:!a}findDisplayedGroupNode(){const e=this.params.column,t=this.params.node;if(this.showingValueForOpenedParent){let a=t.parent;for(;null!=a;){if(a.rowGroupColumn&&e.isRowGroupDisplayed(a.rowGroupColumn.getId())){this.displayedGroupNode=a;break}a=a.parent}}E(this.displayedGroupNode)&&(this.displayedGroupNode=t)}setupShowingValueForOpenedParent(){const e=this.params.node,t=this.params.column;if(!this.gridOptionsService.get("groupHideOpenParents"))return void(this.showingValueForOpenedParent=!1);if(!e.groupData)return void(this.showingValueForOpenedParent=!1);if(null!=e.rowGroupColumn){const a=e.rowGroupColumn.getId();if(t.isRowGroupDisplayed(a))return void(this.showingValueForOpenedParent=!1)}const a=null!=e.groupData[t.getId()];this.showingValueForOpenedParent=a}addValueElement(){this.displayedGroupNode.footer?this.addFooterValue():(this.addGroupValue(),this.addChildCount())}addGroupValue(){var e;const t=this.adjustParamsWithDetailsFromRelatedColumn(),a=this.getInnerCompDetails(t),{valueFormatted:r,value:o}=t;let i=r;if(null==i){const t=this.displayedGroupNode.rowGroupColumn&&(null===(e=this.params.column)||void 0===e?void 0:e.isRowGroupDisplayed(this.displayedGroupNode.rowGroupColumn.getId()));if(""===this.displayedGroupNode.key&&this.displayedGroupNode.group&&t){i=this.localeService.getLocaleTextFunc()("blanks","(Blanks)")}else i=null!=o?o:null}this.comp.setInnerRenderer(a,i)}adjustParamsWithDetailsFromRelatedColumn(){const e=this.displayedGroupNode.rowGroupColumn,t=this.params.column;if(!e)return this.params;if(null!=t){if(!t.isRowGroupDisplayed(e.getId()))return this.params}const a=this.params,{value:r,node:o}=this.params,i=this.valueFormatterService.formatValue(e,o,r);return Object.assign(Object.assign({},a),{valueFormatted:i})}addFooterValue(){const e=this.params.footerValueGetter;let t="";if(e){const a=L(this.params);a.value=this.params.value,"function"==typeof e?t=e(a):"string"==typeof e?t=this.expressionService.evaluate(e,a):console.warn("AG Grid: footerValueGetter should be either a function or a string (expression)")}else{t=this.localeService.getLocaleTextFunc()("footerTotal","Total")+" "+(null!=this.params.value?this.params.value:"")}const a=this.getInnerCompDetails(this.params);this.comp.setInnerRenderer(a,t)}getInnerCompDetails(e){if(e.fullWidth)return this.userComponentFactory.getFullWidthGroupRowInnerCellRenderer(this.gridOptionsService.get("groupRowRendererParams"),e);const t=this.userComponentFactory.getInnerRendererDetails(e,e),a=e=>e&&e.componentClass==this.compClass;if(t&&!a(t))return t;const r=this.displayedGroupNode.rowGroupColumn,o=r?r.getColDef():void 0;if(!o)return;const i=this.userComponentFactory.getCellRendererDetails(o,e);if(i&&!a(i))return i;if(a(i)&&o.cellRendererParams&&o.cellRendererParams.innerRenderer){return this.userComponentFactory.getInnerRendererDetails(o.cellRendererParams,e)}}addChildCount(){this.params.suppressCount||(this.addManagedListener(this.displayedGroupNode,Ai.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.updateChildCount.bind(this)),this.updateChildCount())}updateChildCount(){const e=this.displayedGroupNode.allChildrenCount,t=this.isShowRowGroupForThisRow()&&null!=e&&e>=0?`(${e})`:"";this.comp.setChildCount(t)}isShowRowGroupForThisRow(){if(this.gridOptionsService.get("treeData"))return!0;const e=this.displayedGroupNode.rowGroupColumn;if(!e)return!1;const t=this.params.column;return null==t||t.isRowGroupDisplayed(e.getId())}addExpandAndContract(){var e;const t=this.params,a=qr("groupExpanded",this.gridOptionsService,null),r=qr("groupContracted",this.gridOptionsService,null);a&&this.eExpanded.appendChild(a),r&&this.eContracted.appendChild(r);const o=t.eGridCell;(null===(e=this.params.column)||void 0===e?void 0:e.isCellEditable(t.node))&&this.gridOptionsService.get("enableGroupEdit")||!this.isExpandable()||t.suppressDoubleClickExpand||this.addManagedListener(o,"dblclick",this.onCellDblClicked.bind(this)),this.addManagedListener(this.eExpanded,"click",this.onExpandClicked.bind(this)),this.addManagedListener(this.eContracted,"click",this.onExpandClicked.bind(this)),this.addManagedListener(o,"keydown",this.onKeyDown.bind(this)),this.addManagedListener(t.node,Ai.EVENT_EXPANDED_CHANGED,this.showExpandAndContractIcons.bind(this)),this.showExpandAndContractIcons();const i=this.onRowNodeIsExpandableChanged.bind(this);this.addManagedListener(this.displayedGroupNode,Ai.EVENT_ALL_CHILDREN_COUNT_CHANGED,i),this.addManagedListener(this.displayedGroupNode,Ai.EVENT_MASTER_CHANGED,i),this.addManagedListener(this.displayedGroupNode,Ai.EVENT_GROUP_CHANGED,i),this.addManagedListener(this.displayedGroupNode,Ai.EVENT_HAS_CHILDREN_CHANGED,i)}onExpandClicked(e){Ye(e)||(Ke(e),this.onExpandOrContract(e))}onExpandOrContract(e){const t=this.displayedGroupNode,a=!t.expanded;!a&&t.sticky&&this.scrollToStickyNode(t),t.setExpanded(a,e)}scrollToStickyNode(e){this.ctrlsService.getGridBodyCtrl().getScrollFeature().setVerticalScrollPosition(e.rowTop-e.stickyRowTop)}isExpandable(){if(this.showingValueForOpenedParent)return!0;const e=this.displayedGroupNode,t=this.columnModel.isPivotMode()&&e.leafGroup;if(!(e.isExpandable()&&!e.footer&&!t))return!1;const a=this.params.column;if(null!=a&&"string"==typeof a.getColDef().showRowGroup){return this.isShowRowGroupForThisRow()}return!0}showExpandAndContractIcons(){const{params:e,displayedGroupNode:t,columnModel:a}=this,{node:r}=e,o=this.isExpandable();if(o){const e=!!this.showingValueForOpenedParent||r.expanded;this.comp.setExpandedDisplayed(e),this.comp.setContractedDisplayed(!e)}else this.comp.setExpandedDisplayed(!1),this.comp.setContractedDisplayed(!1);const i=a.isPivotMode(),n=i&&t.leafGroup,l=o&&!n,s=r.footer&&-1===r.level;this.comp.addOrRemoveCssClass("ag-cell-expandable",l),this.comp.addOrRemoveCssClass("ag-row-group",l),i?this.comp.addOrRemoveCssClass("ag-pivot-leaf-group",n):s||this.comp.addOrRemoveCssClass("ag-row-group-leaf-indent",!l)}onRowNodeIsExpandableChanged(){this.showExpandAndContractIcons(),this.setIndent(),this.refreshAriaExpanded()}setupIndent(){const e=this.params.node;this.params.suppressPadding||(this.addManagedListener(e,Ai.EVENT_UI_LEVEL_CHANGED,this.setIndent.bind(this)),this.setIndent())}setIndent(){if(this.gridOptionsService.get("groupHideOpenParents"))return;const e=this.params,t=e.node,a=!!e.colDef,r=this.gridOptionsService.get("treeData"),o=!a||r||!0===e.colDef.showRowGroup?t.uiLevel:0;this.indentClass&&this.comp.addOrRemoveCssClass(this.indentClass,!1),this.indentClass="ag-row-group-indent-"+o,this.comp.addOrRemoveCssClass(this.indentClass,!0)}addFullWidthRowDraggerIfNeeded(){if(!this.params.fullWidth||!this.params.rowDrag)return;const e=new Vi(()=>this.params.value,this.params.node);this.createManagedBean(e,this.context),this.eGui.insertAdjacentElement("afterbegin",e.getGui())}isUserWantsSelected(){const e=this.params.checkbox;return"function"==typeof e||!0===e}addCheckboxIfNeeded(){const e=this.displayedGroupNode,t=this.isUserWantsSelected()&&!e.footer&&!e.rowPinned&&!e.detail;if(t){const e=new Pi;this.getContext().createBean(e),e.init({rowNode:this.params.node,column:this.params.column,overrides:{isVisible:this.params.checkbox,callbackParams:this.params,removeHidden:!0}}),this.eCheckbox.appendChild(e.getGui()),this.addDestroyFunc(()=>this.getContext().destroyBean(e))}this.comp.setCheckboxVisible(t)}onKeyDown(e){if(!(e.key===Wr.ENTER)||this.params.suppressEnterExpand)return;this.params.column&&this.params.column.isCellEditable(this.params.node)||this.onExpandOrContract(e)}onCellDblClicked(e){if(Ye(e))return;Xe(this.eExpanded,e)||Xe(this.eContracted,e)||this.onExpandOrContract(e)}}qi([de("expressionService")],Wi.prototype,"expressionService",void 0),qi([de("valueFormatterService")],Wi.prototype,"valueFormatterService",void 0),qi([de("columnModel")],Wi.prototype,"columnModel",void 0),qi([de("userComponentFactory")],Wi.prototype,"userComponentFactory",void 0),qi([de("ctrlsService")],Wi.prototype,"ctrlsService",void 0);var Ui=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ji extends uo{constructor(){super(ji.TEMPLATE)}init(e){const t={setInnerRenderer:(e,t)=>this.setRenderDetails(e,t),setChildCount:e=>this.eChildCount.textContent=e,addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setContractedDisplayed:e=>rr(this.eContracted,e),setExpandedDisplayed:e=>rr(this.eExpanded,e),setCheckboxVisible:e=>this.eCheckbox.classList.toggle("ag-invisible",!e)},a=this.createManagedBean(new Wi),r=!e.colDef,o=this.getGui();a.init(t,o,this.eCheckbox,this.eExpanded,this.eContracted,this.constructor,e),r&&Jt(o,a.getCellAriaRole())}setRenderDetails(e,t){if(e){const t=e.newAgStackInstance();if(!t)return;t.then(e=>{if(!e)return;const t=()=>this.context.destroyBean(e);this.isAlive()?(this.eValue.appendChild(e.getGui()),this.addDestroyFunc(t)):t()})}else this.eValue.innerText=t}destroy(){this.getContext().destroyBean(this.innerCellRenderer),super.destroy()}refresh(){return!1}}ji.TEMPLATE='<span class="ag-cell-wrapper">\n <span class="ag-group-expanded" ref="eExpanded"></span>\n <span class="ag-group-contracted" ref="eContracted"></span>\n <span class="ag-group-checkbox ag-invisible" ref="eCheckbox"></span>\n <span class="ag-group-value" ref="eValue"></span>\n <span class="ag-group-child-count" ref="eChildCount"></span>\n </span>',Ui([ho("eExpanded")],ji.prototype,"eExpanded",void 0),Ui([ho("eContracted")],ji.prototype,"eContracted",void 0),Ui([ho("eCheckbox")],ji.prototype,"eCheckbox",void 0),Ui([ho("eValue")],ji.prototype,"eValue",void 0),Ui([ho("eChildCount")],ji.prototype,"eChildCount",void 0);var Ki=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Yi extends uo{constructor(){super(Yi.TEMPLATE)}init(e){e.node.failedLoad?this.setupFailed():this.setupLoading()}setupFailed(){const e=this.localeService.getLocaleTextFunc();this.eLoadingText.innerText=e("loadingError","ERR")}setupLoading(){const e=qr("groupLoading",this.gridOptionsService,null);e&&this.eLoadingIcon.appendChild(e);const t=this.localeService.getLocaleTextFunc();this.eLoadingText.innerText=t("loadingOoo","Loading")}refresh(e){return!1}destroy(){super.destroy()}}Yi.TEMPLATE='<div class="ag-loading">\n <span class="ag-loading-icon" ref="eLoadingIcon"></span>\n <span class="ag-loading-text" ref="eLoadingText"></span>\n </div>',Ki([ho("eLoadingIcon")],Yi.prototype,"eLoadingIcon",void 0),Ki([ho("eLoadingText")],Yi.prototype,"eLoadingText",void 0);class Qi extends uo{constructor(){super()}destroy(){super.destroy()}init(e){const t=this.gridOptionsService.get("overlayLoadingTemplate");if(this.setTemplate(null!=t?t:Qi.DEFAULT_LOADING_OVERLAY_TEMPLATE),!t){const e=this.localeService.getLocaleTextFunc();setTimeout(()=>{this.getGui().textContent=e("loadingOoo","Loading...")})}}}Qi.DEFAULT_LOADING_OVERLAY_TEMPLATE='<span aria-live="polite" aria-atomic="true" class="ag-overlay-loading-center"></span>';class Ji extends uo{constructor(){super()}destroy(){super.destroy()}init(e){const t=this.gridOptionsService.get("overlayNoRowsTemplate");if(this.setTemplate(null!=t?t:Ji.DEFAULT_NO_ROWS_TEMPLATE),!t){const e=this.localeService.getLocaleTextFunc();setTimeout(()=>{this.getGui().textContent=e("noRowsToShow","No Rows To Show")})}}}Ji.DEFAULT_NO_ROWS_TEMPLATE='<span class="ag-overlay-no-rows-center"></span>';class Xi extends vi{constructor(){super('<div class="ag-tooltip"></div>')}init(e){const{value:t}=e;this.getGui().textContent=ft(t,!0)}}class Zi{getTemplate(){return'<ag-input-number-field class="ag-cell-editor" ref="eInput"></ag-input-number-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.max&&e.setMax(t.max),null!=t.min&&e.setMin(t.min),null!=t.precision&&e.setPrecision(t.precision),null!=t.step&&e.setStep(t.step);const a=e.getInputElement();t.preventStepping?e.addManagedListener(a,"keydown",this.preventStepping):t.showStepperButtons&&a.classList.add("ag-number-field-input-stepper")}preventStepping(e){e.key!==Wr.UP&&e.key!==Wr.DOWN||e.preventDefault()}getValue(){const e=this.eInput.getValue();if(!S(e)&&!S(this.params.value))return this.params.value;let t=this.params.parseValue(e);if(null==t)return t;if("string"==typeof t){if(""===t)return null;t=Number(t)}return isNaN(t)?null:t}getStartValue(){return this.params.value}}class $i extends Si{constructor(){super(new Zi)}}class en{getTemplate(){return'<ag-input-date-field class="ag-cell-editor" ref="eInput"></ag-input-date-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.min&&e.setMin(t.min),null!=t.max&&e.setMax(t.max),null!=t.step&&e.setStep(t.step)}getValue(){const e=this.eInput.getDate();return S(e)||S(this.params.value)?null!=e?e:null:this.params.value}getStartValue(){const{value:e}=this.params;if(e instanceof Date)return Ya(e,!1)}}class tn extends Si{constructor(){super(new en)}}var an=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class rn{constructor(e){this.getDataTypeService=e}getTemplate(){return'<ag-input-date-field class="ag-cell-editor" ref="eInput"></ag-input-date-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.min&&e.setMin(t.min),null!=t.max&&e.setMax(t.max),null!=t.step&&e.setStep(t.step)}getValue(){const e=this.formatDate(this.eInput.getDate());return S(e)||S(this.params.value)?this.params.parseValue(null!=e?e:""):this.params.value}getStartValue(){var e,t;return Ya(null!==(t=this.parseDate(null!==(e=this.params.value)&&void 0!==e?e:void 0))&&void 0!==t?t:null,!1)}parseDate(e){return this.getDataTypeService().getDateParserFunction(this.params.column)(e)}formatDate(e){return this.getDataTypeService().getDateFormatterFunction(this.params.column)(e)}}class on extends Si{constructor(){super(new rn(()=>this.dataTypeService))}}an([de("dataTypeService")],on.prototype,"dataTypeService",void 0);var nn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ln extends uo{constructor(){super(ln.TEMPLATE)}init(e){this.params=e,this.updateCheckbox(e);const t=this.eCheckbox.getInputElement();t.setAttribute("tabindex","-1"),oa(t,"polite"),this.addManagedListener(t,"click",e=>{if(Ke(e),this.eCheckbox.isDisabled())return;const t=this.eCheckbox.getValue();this.onCheckboxChanged(t)}),this.addManagedListener(t,"dblclick",e=>{Ke(e)});const a=this.gridOptionsService.getDocument();this.addManagedListener(this.params.eGridCell,"keydown",e=>{if(e.key===Wr.SPACE&&!this.eCheckbox.isDisabled()){this.params.eGridCell===a.activeElement&&this.eCheckbox.toggle();const t=this.eCheckbox.getValue();this.onCheckboxChanged(t),e.preventDefault()}})}refresh(e){return this.params=e,this.updateCheckbox(e),!0}updateCheckbox(e){var t,a,r;let o,i=!0;if(e.node.group&&e.column){const a=e.column.getColId();a.startsWith(ct)?o=null==e.value||""===e.value?void 0:"true"===e.value:e.node.aggData&&void 0!==e.node.aggData[a]?o=null!==(t=e.value)&&void 0!==t?t:void 0:i=!1}else o=null!==(a=e.value)&&void 0!==a?a:void 0;if(!i)return void this.eCheckbox.setDisplayed(!1);this.eCheckbox.setValue(o);const n=null!=e.disabled?e.disabled:!(null===(r=e.column)||void 0===r?void 0:r.isCellEditable(e.node));this.eCheckbox.setDisabled(n);const l=this.localeService.getLocaleTextFunc(),s=ka(l,o),g=n?s:`${l("ariaToggleCellValue","Press SPACE to toggle cell value")} (${s})`;this.eCheckbox.setInputAriaLabel(g)}onCheckboxChanged(e){const{column:t,node:a,rowIndex:r,value:o}=this.params,i={type:st.EVENT_CELL_EDITING_STARTED,column:t,colDef:null==t?void 0:t.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:o};this.eventService.dispatchEvent(i);const n=this.params.node.setDataValue(this.params.column,e,"edit"),l={type:st.EVENT_CELL_EDITING_STOPPED,column:t,colDef:null==t?void 0:t.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:o,oldValue:o,newValue:e,valueChanged:n};this.eventService.dispatchEvent(l)}}ln.TEMPLATE='\n <div class="ag-cell-wrapper ag-checkbox-cell" role="presentation">\n <ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>\n </div>',nn([ho("eCheckbox")],ln.prototype,"eCheckbox",void 0);var sn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class gn extends vi{constructor(){super('\n <div class="ag-cell-wrapper ag-cell-edit-wrapper ag-checkbox-edit">\n <ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>\n </div>')}init(e){var t;this.params=e;const a=null!==(t=e.value)&&void 0!==t?t:void 0;this.eCheckbox.setValue(a);this.eCheckbox.getInputElement().setAttribute("tabindex","-1"),this.setAriaLabel(a),this.addManagedListener(this.eCheckbox,st.EVENT_FIELD_VALUE_CHANGED,e=>this.setAriaLabel(e.selected))}getValue(){return this.eCheckbox.getValue()}focusIn(){this.eCheckbox.getFocusableElement().focus()}afterGuiAttached(){this.params.cellStartedEdit&&this.focusIn()}isPopup(){return!1}setAriaLabel(e){const t=this.localeService.getLocaleTextFunc(),a=ka(t,e),r=t("ariaToggleCellValue","Press SPACE to toggle cell value");this.eCheckbox.setInputAriaLabel(`${r} (${a})`)}}sn([ho("eCheckbox")],gn.prototype,"eCheckbox",void 0);class dn extends uo{constructor(){super(),this.setTemplate("<div></div>")}init(e){var t;this.params=e,this.cssClassPrefix=null!==(t=this.params.cssClassPrefix)&&void 0!==t?t:"ag-menu-option",this.addIcon(),this.addName(),this.addShortcut(),this.addSubMenu()}configureDefaults(){return!0}addIcon(){if(this.params.isCompact)return;const e=Cr(`<span ref="eIcon" class="${this.getClassName("part")} ${this.getClassName("icon")}" role="presentation"></span>`);this.params.checked?e.appendChild(qr("check",this.gridOptionsService)):this.params.icon&&(Mr(this.params.icon)?e.appendChild(this.params.icon):"string"==typeof this.params.icon?e.innerHTML=this.params.icon:console.warn("AG Grid: menu item icon must be DOM node or string")),this.getGui().appendChild(e)}addName(){const e=Cr(`<span ref="eName" class="${this.getClassName("part")} ${this.getClassName("text")}">${this.params.name||""}</span>`);this.getGui().appendChild(e)}addShortcut(){if(this.params.isCompact)return;const e=Cr(`<span ref="eShortcut" class="${this.getClassName("part")} ${this.getClassName("shortcut")}">${this.params.shortcut||""}</span>`);this.getGui().appendChild(e)}addSubMenu(){const e=Cr(`<span ref="ePopupPointer" class="${this.getClassName("part")} ${this.getClassName("popup-pointer")}"></span>`),t=this.getGui();if(this.params.subMenu){const a=this.gridOptionsService.get("enableRtl")?"smallLeft":"smallRight";ca(t,!1),e.appendChild(qr(a,this.gridOptionsService))}t.appendChild(e)}getClassName(e){return`${this.cssClassPrefix}-${e}`}destroy(){super.destroy()}}var cn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let un=class extends at{constructor(){super(...arguments),this.agGridDefaults={agDateInput:Qo,agColumnHeader:pi,agColumnGroupHeader:mi,agSortIndicator:ci,agTextColumnFloatingFilter:si,agNumberColumnFloatingFilter:li,agDateColumnFloatingFilter:Ko,agReadOnlyFloatingFilter:fo,agAnimateShowChangeCellRenderer:ki,agAnimateSlideCellRenderer:Ti,agGroupCellRenderer:ji,agGroupRowRenderer:ji,agLoadingCellRenderer:Yi,agCheckboxCellRenderer:ln,agCellEditor:Ri,agTextCellEditor:Ri,agNumberCellEditor:$i,agDateCellEditor:tn,agDateStringCellEditor:on,agSelectCellEditor:Ci,agLargeTextCellEditor:wi,agCheckboxCellEditor:gn,agTextColumnFilter:ai,agNumberColumnFilter:ei,agDateColumnFilter:Wo,agLoadingOverlay:Qi,agNoRowsOverlay:Ji,agTooltipComponent:Xi,agMenuItem:dn},this.enterpriseAgDefaultCompsModule={agSetColumnFilter:re.SetFilterModule,agSetColumnFloatingFilter:re.SetFilterModule,agMultiColumnFilter:re.MultiFilterModule,agMultiColumnFloatingFilter:re.MultiFilterModule,agGroupColumnFilter:re.RowGroupingModule,agGroupColumnFloatingFilter:re.RowGroupingModule,agRichSelect:re.RichSelectModule,agRichSelectCellEditor:re.RichSelectModule,agDetailCellRenderer:re.MasterDetailModule,agSparklineCellRenderer:re.SparklinesModule},this.jsComps={}}init(){null!=this.gridOptions.components&&P(this.gridOptions.components,(e,t)=>this.registerJsComponent(e,t))}registerDefaultComponent(e,t){this.agGridDefaults[e]?console.error("Trying to overwrite a default component. You should call registerComponent"):this.agGridDefaults[e]=t}registerJsComponent(e,t){this.jsComps[e]=t}retrieve(e,t){const a=(e,t)=>({componentFromFramework:t,component:e}),r=this.getFrameworkOverrides().frameworkComponent(t,this.gridOptions.components);if(null!=r)return a(r,!0);const o=this.jsComps[t];if(o){return a(o,this.getFrameworkOverrides().isFrameworkComponent(o))}const i=this.agGridDefaults[t];if(i)return a(i,!1);const n=this.enterpriseAgDefaultCompsModule[t];return n?oe.__assertRegistered(n,`AG Grid '${e}' component: ${t}`,this.context.getGridId()):B(()=>{this.warnAboutMissingComponent(e,t)},"MissingComp"+t),null}warnAboutMissingComponent(e,t){const a=Vr(t,[...Object.keys(this.agGridDefaults).filter(e=>!["agCellEditor","agGroupRowRenderer","agSortIndicator"].includes(e)),...Object.keys(this.jsComps)],!0,.8).values;console.warn(`AG Grid: Could not find '${t}' component. It was configured as "${e}: '${t}'" but it wasn't found in the list of registered components.`),a.length>0&&console.warn(` Did you mean: [${a.slice(0,3)}]?`),console.warn("If using a custom component check it has been registered as described in: "+this.getFrameworkOverrides().getDocLink("components/"))}};cn([de("gridOptions")],un.prototype,"gridOptions",void 0),cn([le],un.prototype,"init",null),un=cn([ge("userComponentRegistry")],un);const pn={propertyName:"dateComponent",cellRenderer:!1},hn={propertyName:"headerComponent",cellRenderer:!1},mn={propertyName:"headerGroupComponent",cellRenderer:!1},vn={propertyName:"cellRenderer",cellRenderer:!0},fn={propertyName:"cellEditor",cellRenderer:!1},wn={propertyName:"innerRenderer",cellRenderer:!0},bn={propertyName:"loadingOverlayComponent",cellRenderer:!1},Cn={propertyName:"noRowsOverlayComponent",cellRenderer:!1},yn={propertyName:"tooltipComponent",cellRenderer:!1},Sn={propertyName:"filter",cellRenderer:!1},En={propertyName:"floatingFilterComponent",cellRenderer:!1},Rn={propertyName:"toolPanel",cellRenderer:!1},xn={propertyName:"statusPanel",cellRenderer:!1},kn={propertyName:"fullWidthCellRenderer",cellRenderer:!0},zn={propertyName:"loadingCellRenderer",cellRenderer:!0},Tn={propertyName:"groupRowRenderer",cellRenderer:!0},An={propertyName:"detailCellRenderer",cellRenderer:!0},Dn={propertyName:"menuItem",cellRenderer:!1};class On{static getFloatingFilterType(e){return this.filterToFloatingFilterMapping[e]}}On.filterToFloatingFilterMapping={set:"agSetColumnFloatingFilter",agSetColumnFilter:"agSetColumnFloatingFilter",multi:"agMultiColumnFloatingFilter",agMultiColumnFilter:"agMultiColumnFloatingFilter",group:"agGroupColumnFloatingFilter",agGroupColumnFilter:"agGroupColumnFloatingFilter",number:"agNumberColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",date:"agDateColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",text:"agTextColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"};var Mn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Pn=class extends at{getHeaderCompDetails(e,t){return this.getCompDetails(e,hn,"agColumnHeader",t)}getHeaderGroupCompDetails(e){const t=e.columnGroup.getColGroupDef();return this.getCompDetails(t,mn,"agColumnGroupHeader",e)}getFullWidthCellRendererDetails(e){return this.getCompDetails(this.gridOptions,kn,null,e,!0)}getFullWidthLoadingCellRendererDetails(e){return this.getCompDetails(this.gridOptions,zn,"agLoadingCellRenderer",e,!0)}getFullWidthGroupCellRendererDetails(e){return this.getCompDetails(this.gridOptions,Tn,"agGroupRowRenderer",e,!0)}getFullWidthDetailCellRendererDetails(e){return this.getCompDetails(this.gridOptions,An,"agDetailCellRenderer",e,!0)}getInnerRendererDetails(e,t){return this.getCompDetails(e,wn,null,t)}getFullWidthGroupRowInnerCellRenderer(e,t){return this.getCompDetails(e,wn,null,t)}getCellRendererDetails(e,t){return this.getCompDetails(e,vn,null,t)}getCellEditorDetails(e,t){return this.getCompDetails(e,fn,"agCellEditor",t,!0)}getFilterDetails(e,t,a){return this.getCompDetails(e,Sn,a,t,!0)}getDateCompDetails(e){return this.getCompDetails(this.gridOptions,pn,"agDateInput",e,!0)}getLoadingOverlayCompDetails(e){return this.getCompDetails(this.gridOptions,bn,"agLoadingOverlay",e,!0)}getNoRowsOverlayCompDetails(e){return this.getCompDetails(this.gridOptions,Cn,"agNoRowsOverlay",e,!0)}getTooltipCompDetails(e){return this.getCompDetails(e.colDef,yn,"agTooltipComponent",e,!0)}getSetFilterCellRendererDetails(e,t){return this.getCompDetails(e,vn,null,t)}getFloatingFilterCompDetails(e,t,a){return this.getCompDetails(e,En,a,t)}getToolPanelCompDetails(e,t){return this.getCompDetails(e,Rn,null,t,!0)}getStatusPanelCompDetails(e,t){return this.getCompDetails(e,xn,null,t,!0)}getMenuItemCompDetails(e,t){return this.getCompDetails(e,Dn,"agMenuItem",t,!0)}getCompDetails(e,t,a,r,o=!1){const{propertyName:i,cellRenderer:n}=t;let{compName:l,jsComp:s,fwComp:g,paramsFromSelector:d,popupFromSelector:c,popupPositionFromSelector:u}=this.getCompKeys(e,t,r);const p=e=>{const t=this.userComponentRegistry.retrieve(i,e);t&&(s=t.componentFromFramework?void 0:t.component,g=t.componentFromFramework?t.component:void 0)};if(null!=l&&p(l),null==s&&null==g&&null!=a&&p(a),s&&n&&!this.agComponentUtils.doesImplementIComponent(s)&&(s=this.agComponentUtils.adaptFunction(i,s)),!s&&!g)return void(o&&console.error(`AG Grid: Could not find component ${l}, did you forget to configure this component?`));const h=this.mergeParamsWithApplicationProvidedParams(e,t,r,d),m=null==s,v=s||g;return{componentFromFramework:m,componentClass:v,params:h,type:t,popupFromSelector:c,popupPositionFromSelector:u,newAgStackInstance:()=>this.newAgStackInstance(v,m,h,t)}}getCompKeys(e,t,a){const{propertyName:r}=t;let o,i,n,l,s,g;if(e){const t=e,d=t[r+"Selector"],c=d?d(a):null,u=e=>{if("string"==typeof e)o=e;else if(null!=e&&!0!==e){this.getFrameworkOverrides().isFrameworkComponent(e)?n=e:i=e}};c?(u(c.component),l=c.params,s=c.popup,g=c.popupPosition):u(t[r])}return{compName:o,jsComp:i,fwComp:n,paramsFromSelector:l,popupFromSelector:s,popupPositionFromSelector:g}}newAgStackInstance(e,t,a,r){const o=r.propertyName;let i;if(!t)i=new e;else{const t=this.componentMetadataProvider.retrieve(o);i=this.frameworkComponentWrapper.wrap(e,t.mandatoryMethodList,t.optionalMethodList,r)}const n=this.initComponent(i,a);return null==n?ao.resolve(i):n.then(()=>i)}mergeParamsWithApplicationProvidedParams(e,t,a,r=null){const o=this.gridOptionsService.getGridCommonParams();I(o,a);const i=e&&e[t.propertyName+"Params"];if("function"==typeof i){I(o,i(a))}else"object"==typeof i&&I(o,i);return I(o,r),o}initComponent(e,t){if(this.context.createBean(e),null!=e.init)return e.init(t)}getDefaultFloatingFilterType(e,t){if(null==e)return null;let a=null,{compName:r,jsComp:o,fwComp:i}=this.getCompKeys(e,Sn);if(r)a=On.getFloatingFilterType(r);else{null==o&&null==i&&!0===e.filter&&(a=t())}return a}};Mn([de("gridOptions")],Pn.prototype,"gridOptions",void 0),Mn([de("agComponentUtils")],Pn.prototype,"agComponentUtils",void 0),Mn([de("componentMetadataProvider")],Pn.prototype,"componentMetadataProvider",void 0),Mn([de("userComponentRegistry")],Pn.prototype,"userComponentRegistry",void 0),Mn([ce("frameworkComponentWrapper")],Pn.prototype,"frameworkComponentWrapper",void 0),Pn=Mn([ge("userComponentFactory")],Pn);class Ln{}var Nn;Ln.ColDefPropertyMap={headerName:void 0,columnGroupShow:void 0,headerClass:void 0,toolPanelClass:void 0,headerValueGetter:void 0,pivotKeys:void 0,groupId:void 0,colId:void 0,sort:void 0,initialSort:void 0,field:void 0,type:void 0,cellDataType:void 0,tooltipComponent:void 0,tooltipField:void 0,headerTooltip:void 0,cellClass:void 0,showRowGroup:void 0,filter:void 0,initialAggFunc:void 0,defaultAggFunc:void 0,aggFunc:void 0,pinned:void 0,initialPinned:void 0,chartDataType:void 0,cellAriaRole:void 0,cellEditorPopupPosition:void 0,headerGroupComponent:void 0,headerGroupComponentParams:void 0,cellStyle:void 0,cellRenderer:void 0,cellRendererParams:void 0,cellEditor:void 0,cellEditorParams:void 0,filterParams:void 0,pivotValueColumn:void 0,headerComponent:void 0,headerComponentParams:void 0,floatingFilterComponent:void 0,floatingFilterComponentParams:void 0,tooltipComponentParams:void 0,refData:void 0,columnsMenuParams:void 0,columnChooserParams:void 0,children:void 0,sortingOrder:void 0,allowedAggFuncs:void 0,menuTabs:void 0,pivotTotalColumnIds:void 0,cellClassRules:void 0,icons:void 0,sortIndex:void 0,initialSortIndex:void 0,flex:void 0,initialFlex:void 0,width:void 0,initialWidth:void 0,minWidth:void 0,maxWidth:void 0,rowGroupIndex:void 0,initialRowGroupIndex:void 0,pivotIndex:void 0,initialPivotIndex:void 0,suppressCellFlash:void 0,suppressColumnsToolPanel:void 0,suppressFiltersToolPanel:void 0,openByDefault:void 0,marryChildren:void 0,suppressStickyLabel:void 0,hide:void 0,initialHide:void 0,rowGroup:void 0,initialRowGroup:void 0,pivot:void 0,initialPivot:void 0,checkboxSelection:void 0,showDisabledCheckboxes:void 0,headerCheckboxSelection:void 0,headerCheckboxSelectionFilteredOnly:void 0,headerCheckboxSelectionCurrentPageOnly:void 0,suppressMenu:void 0,suppressHeaderMenuButton:void 0,suppressMovable:void 0,lockPosition:void 0,lockVisible:void 0,lockPinned:void 0,unSortIcon:void 0,suppressSizeToFit:void 0,suppressAutoSize:void 0,enableRowGroup:void 0,enablePivot:void 0,enableValue:void 0,editable:void 0,suppressPaste:void 0,suppressNavigable:void 0,enableCellChangeFlash:void 0,rowDrag:void 0,dndSource:void 0,autoHeight:void 0,wrapText:void 0,sortable:void 0,resizable:void 0,singleClickEdit:void 0,floatingFilter:void 0,cellEditorPopup:void 0,suppressFillHandle:void 0,wrapHeaderText:void 0,autoHeaderHeight:void 0,dndSourceOnRowDrag:void 0,valueGetter:void 0,valueSetter:void 0,filterValueGetter:void 0,keyCreator:void 0,valueFormatter:void 0,valueParser:void 0,comparator:void 0,equals:void 0,pivotComparator:void 0,suppressKeyboardEvent:void 0,suppressHeaderKeyboardEvent:void 0,colSpan:void 0,rowSpan:void 0,getQuickFilterText:void 0,onCellValueChanged:void 0,onCellClicked:void 0,onCellDoubleClicked:void 0,onCellContextMenu:void 0,rowDragText:void 0,tooltipValueGetter:void 0,cellRendererSelector:void 0,cellEditorSelector:void 0,suppressSpanHeaderHeight:void 0,useValueFormatterForExport:void 0,useValueParserForImport:void 0,mainMenuItems:void 0,contextMenuItems:void 0,suppressFloatingFilterButton:void 0,suppressHeaderFilterButton:void 0,suppressHeaderContextMenu:void 0},Ln.ALL_PROPERTIES=Object.keys(Ln.ColDefPropertyMap),function(e){e[e.SINGLE_SHEET=0]="SINGLE_SHEET",e[e.MULTI_SHEET=1]="MULTI_SHEET"}(Nn||(Nn={}));var Fn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let In=class extends at{constructor(){super(...arguments),this.dragEndFunctions=[],this.dragSources=[]}removeAllListeners(){this.dragSources.forEach(this.removeListener.bind(this)),this.dragSources.length=0}removeListener(e){const t=e.dragSource.eElement,a=e.mouseDownListener;if(t.removeEventListener("mousedown",a),e.touchEnabled){const a=e.touchStartListener;t.removeEventListener("touchstart",a,{passive:!0})}}removeDragSource(e){const t=this.dragSources.find(t=>t.dragSource===e);t&&(this.removeListener(t),Le(this.dragSources,t))}isDragging(){return this.dragging}addDragSource(e){const t=this.onMouseDown.bind(this,e),{eElement:a,includeTouch:r,stopPropagationForTouch:o}=e;a.addEventListener("mousedown",t);let i=null;const n=this.gridOptionsService.get("suppressTouch");r&&!n&&(i=t=>{ar(t.target)||(t.cancelable&&(t.preventDefault(),o&&t.stopPropagation()),this.onTouchStart(e,t))},a.addEventListener("touchstart",i,{passive:!1})),this.dragSources.push({dragSource:e,mouseDownListener:t,touchStartListener:i,touchEnabled:!!r})}getStartTarget(){return this.startTarget}onTouchStart(e,t){this.currentDragParams=e,this.dragging=!1;const a=t.touches[0];this.touchLastTime=a,this.touchStart=a;const r=t=>this.onTouchUp(t,e.eElement),o=t.target,i=[{target:this.gridOptionsService.getRootNode(),type:"touchmove",listener:e=>{e.cancelable&&e.preventDefault()},options:{passive:!1}},{target:o,type:"touchmove",listener:t=>this.onTouchMove(t,e.eElement),options:{passive:!0}},{target:o,type:"touchend",listener:r,options:{passive:!0}},{target:o,type:"touchcancel",listener:r,options:{passive:!0}}];this.addTemporaryEvents(i),0===e.dragStartPixels&&this.onCommonMove(a,this.touchStart,e.eElement)}onMouseDown(e,t){const a=t;if(e.skipMouseEvent&&e.skipMouseEvent(t))return;if(a._alreadyProcessedByDragService)return;if(a._alreadyProcessedByDragService=!0,0!==t.button)return;this.shouldPreventMouseEvent(t)&&t.preventDefault(),this.currentDragParams=e,this.dragging=!1,this.mouseStartEvent=t,this.startTarget=t.target;const r=this.gridOptionsService.getRootNode(),o=[{target:r,type:"mousemove",listener:t=>this.onMouseMove(t,e.eElement)},{target:r,type:"mouseup",listener:t=>this.onMouseUp(t,e.eElement)},{target:r,type:"contextmenu",listener:e=>e.preventDefault()}];this.addTemporaryEvents(o),0===e.dragStartPixels&&this.onMouseMove(t,e.eElement)}addTemporaryEvents(e){e.forEach(e=>{const{target:t,type:a,listener:r,options:o}=e;t.addEventListener(a,r,o)}),this.dragEndFunctions.push(()=>{e.forEach(e=>{const{target:t,type:a,listener:r,options:o}=e;t.removeEventListener(a,r,o)})})}isEventNearStartEvent(e,t){const{dragStartPixels:a}=this.currentDragParams;return Jr(e,t,S(a)?a:4)}getFirstActiveTouch(e){for(let t=0;t<e.length;t++)if(e[t].identifier===this.touchStart.identifier)return e[t];return null}onCommonMove(e,t,a){if(!this.dragging){if(!this.dragging&&this.isEventNearStartEvent(e,t))return;this.dragging=!0;const r={type:st.EVENT_DRAG_STARTED,target:a};this.eventService.dispatchEvent(r),this.currentDragParams.onDragStart(t),this.currentDragParams.onDragging(t)}this.currentDragParams.onDragging(e)}onTouchMove(e,t){const a=this.getFirstActiveTouch(e.touches);a&&this.onCommonMove(a,this.touchStart,t)}onMouseMove(e,t){var a;if(za()){null===(a=this.gridOptionsService.getDocument().getSelection())||void 0===a||a.removeAllRanges()}this.shouldPreventMouseEvent(e)&&e.preventDefault(),this.onCommonMove(e,this.mouseStartEvent,t)}shouldPreventMouseEvent(e){const t=this.gridOptionsService.get("enableCellTextSelection"),a="mousemove"===e.type;return t&&a&&e.cancelable&&this.mouseEventService.isEventFromThisGrid(e)&&!this.isOverFormFieldElement(e)}isOverFormFieldElement(e){const t=e.target,a=null==t?void 0:t.tagName.toLocaleLowerCase();return!!(null==a?void 0:a.match("^a$|textarea|input|select|button"))}onTouchUp(e,t){let a=this.getFirstActiveTouch(e.changedTouches);a||(a=this.touchLastTime),this.onUpCommon(a,t)}onMouseUp(e,t){this.onUpCommon(e,t)}onUpCommon(e,t){if(this.dragging){this.dragging=!1,this.currentDragParams.onDragStop(e);const a={type:st.EVENT_DRAG_STOPPED,target:t};this.eventService.dispatchEvent(a)}this.mouseStartEvent=null,this.startTarget=null,this.touchStart=null,this.touchLastTime=null,this.currentDragParams=null,this.dragEndFunctions.forEach(e=>e()),this.dragEndFunctions.length=0}};Fn([de("mouseEventService")],In.prototype,"mouseEventService",void 0),Fn([se],In.prototype,"removeAllListeners",null),In=Fn([ge("dragService")],In);class Gn{constructor(e){this.tickingInterval=null,this.onScrollCallback=null,this.scrollContainer=e.scrollContainer,this.scrollHorizontally=-1!==e.scrollAxis.indexOf("x"),this.scrollVertically=-1!==e.scrollAxis.indexOf("y"),this.scrollByTick=null!=e.scrollByTick?e.scrollByTick:20,e.onScrollCallback&&(this.onScrollCallback=e.onScrollCallback),this.scrollVertically&&(this.getVerticalPosition=e.getVerticalPosition,this.setVerticalPosition=e.setVerticalPosition),this.scrollHorizontally&&(this.getHorizontalPosition=e.getHorizontalPosition,this.setHorizontalPosition=e.setHorizontalPosition),this.shouldSkipVerticalScroll=e.shouldSkipVerticalScroll||(()=>!1),this.shouldSkipHorizontalScroll=e.shouldSkipHorizontalScroll||(()=>!1)}check(e,t=!1){const a=t||this.shouldSkipVerticalScroll();if(a&&this.shouldSkipHorizontalScroll())return;const r=this.scrollContainer.getBoundingClientRect(),o=this.scrollByTick;this.tickLeft=e.clientX<r.left+o,this.tickRight=e.clientX>r.right-o,this.tickUp=e.clientY<r.top+o&&!a,this.tickDown=e.clientY>r.bottom-o&&!a,this.tickLeft||this.tickRight||this.tickUp||this.tickDown?this.ensureTickingStarted():this.ensureCleared()}ensureTickingStarted(){null===this.tickingInterval&&(this.tickingInterval=window.setInterval(this.doTick.bind(this),100),this.tickCount=0)}doTick(){let e;if(this.tickCount++,e=this.tickCount>20?200:this.tickCount>10?80:40,this.scrollVertically){const t=this.getVerticalPosition();this.tickUp&&this.setVerticalPosition(t-e),this.tickDown&&this.setVerticalPosition(t+e)}if(this.scrollHorizontally){const t=this.getHorizontalPosition();this.tickLeft&&this.setHorizontalPosition(t-e),this.tickRight&&this.setHorizontalPosition(t+e)}this.onScrollCallback&&this.onScrollCallback()}ensureCleared(){this.tickingInterval&&(window.clearInterval(this.tickingInterval),this.tickingInterval=null)}}var Vn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};const Hn="ag-list-item-hovered";class _n extends at{constructor(e,t,a){super(),this.comp=e,this.virtualList=t,this.params=a,this.currentDragValue=null,this.lastHoveredListItem=null}postConstruct(){this.addManagedListener(this.params.eventSource,this.params.listItemDragStartEvent,this.listItemDragStart.bind(this)),this.addManagedListener(this.params.eventSource,this.params.listItemDragEndEvent,this.listItemDragEnd.bind(this)),this.createDropTarget(),this.createAutoScrollService()}listItemDragStart(e){this.currentDragValue=this.params.getCurrentDragValue(e),this.moveBlocked=this.params.isMoveBlocked(this.currentDragValue)}listItemDragEnd(){window.setTimeout(()=>{this.currentDragValue=null,this.moveBlocked=!1},10)}createDropTarget(){const e={isInterestedIn:e=>e===this.params.dragSourceType,getIconName:()=>this.moveBlocked?Ii.ICON_PINNED:Ii.ICON_MOVE,getContainer:()=>this.comp.getGui(),onDragging:e=>this.onDragging(e),onDragStop:()=>this.onDragStop(),onDragLeave:()=>this.onDragLeave()};this.dragAndDropService.addDropTarget(e)}createAutoScrollService(){const e=this.virtualList.getGui();this.autoScrollService=new Gn({scrollContainer:e,scrollAxis:"y",getVerticalPosition:()=>e.scrollTop,setVerticalPosition:t=>e.scrollTop=t})}onDragging(e){if(!this.currentDragValue||this.moveBlocked)return;const t=this.getListDragItem(e),a=this.virtualList.getComponentAt(t.rowIndex);if(!a)return;const r=a.getGui().parentElement;this.lastHoveredListItem&&this.lastHoveredListItem.rowIndex===t.rowIndex&&this.lastHoveredListItem.position===t.position||(this.autoScrollService.check(e.event),this.clearHoveredItems(),this.lastHoveredListItem=t,$a(r,Hn),$a(r,"ag-item-highlight-"+t.position))}getListDragItem(e){const t=this.virtualList.getGui(),a=parseFloat(window.getComputedStyle(t).paddingTop),r=this.virtualList.getRowHeight(),o=this.virtualList.getScrollTop(),i=Math.max(0,(e.y-a+o)/r),n=this.params.getNumRows(this.comp)-1,l=0|Math.min(n,i);return{rowIndex:l,position:Math.round(i)>i||i>n?"bottom":"top",component:this.virtualList.getComponentAt(l)}}onDragStop(){this.moveBlocked||(this.params.moveItem(this.currentDragValue,this.lastHoveredListItem),this.clearHoveredItems(),this.autoScrollService.ensureCleared())}onDragLeave(){this.clearHoveredItems(),this.autoScrollService.ensureCleared()}clearHoveredItems(){this.virtualList.getGui().querySelectorAll("."+Hn).forEach(e=>{[Hn,"ag-item-highlight-top","ag-item-highlight-bottom"].forEach(t=>{e.classList.remove(t)})}),this.lastHoveredListItem=null}}var Bn;Vn([de("dragAndDropService")],_n.prototype,"dragAndDropService",void 0),Vn([le],_n.prototype,"postConstruct",null),function(e){e[e.Above=0]="Above",e[e.Below=1]="Below"}(Bn||(Bn={}));var qn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};function Wn(e){const t=e;return null!=t&&null!=t.getFrameworkComponentInstance?t.getFrameworkComponentInstance():e}let Un=class{constructor(){this.detailGridInfoMap={},this.destroyCalled=!1}init(){switch(this.rowModel.getType()){case"clientSide":this.clientSideRowModel=this.rowModel;break;case"infinite":this.infiniteRowModel=this.rowModel;break;case"serverSide":this.serverSideRowModel=this.rowModel}this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl()})}__getAlignedGridService(){return this.alignedGridsService}__getContext(){return this.context}__getModel(){return this.rowModel}getGridId(){return this.context.getGridId()}addDetailGridInfo(e,t){this.detailGridInfoMap[e]=t}removeDetailGridInfo(e){this.detailGridInfoMap[e]=void 0}getDetailGridInfo(e){return this.detailGridInfoMap[e]}forEachDetailGridInfo(e){let t=0;P(this.detailGridInfoMap,(a,r)=>{S(r)&&(e(r,t),t++)})}getDataAsCsv(e){if(oe.__assertRegistered(re.CsvExportModule,"api.getDataAsCsv",this.context.getGridId()))return this.csvCreator.getDataAsCsv(e)}exportDataAsCsv(e){oe.__assertRegistered(re.CsvExportModule,"api.exportDataAsCSv",this.context.getGridId())&&this.csvCreator.exportDataAsCsv(e)}assertNotExcelMultiSheet(e,t){return!!oe.__assertRegistered(re.ExcelExportModule,"api."+e,this.context.getGridId())&&(this.excelCreator.getFactoryMode()!==Nn.MULTI_SHEET||(console.warn("AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel()'"),!1))}getDataAsExcel(e){if(this.assertNotExcelMultiSheet("getDataAsExcel",e))return this.excelCreator.getDataAsExcel(e)}exportDataAsExcel(e){this.assertNotExcelMultiSheet("exportDataAsExcel",e)&&this.excelCreator.exportDataAsExcel(e)}getSheetDataForExcel(e){if(oe.__assertRegistered(re.ExcelExportModule,"api.getSheetDataForExcel",this.context.getGridId()))return this.excelCreator.setFactoryMode(Nn.MULTI_SHEET),this.excelCreator.getSheetDataForExcel(e)}getMultipleSheetsAsExcel(e){if(oe.__assertRegistered(re.ExcelExportModule,"api.getMultipleSheetsAsExcel",this.context.getGridId()))return this.excelCreator.getMultipleSheetsAsExcel(e)}exportMultipleSheetsAsExcel(e){oe.__assertRegistered(re.ExcelExportModule,"api.exportMultipleSheetsAsExcel",this.context.getGridId())&&this.excelCreator.exportMultipleSheetsAsExcel(e)}setGridAriaProperty(e,t){if(!e)return;const a=this.ctrlsService.getGridBodyCtrl().getGui(),r="aria-"+e;null===t?a.removeAttribute(r):a.setAttribute(r,t)}logMissingRowModel(e,...t){console.error(`AG Grid: api.${e} can only be called when gridOptions.rowModelType is ${t.join(" or ")}`)}logDeprecation(e,t,a,r){q(`Since ${e} api.${t} is deprecated. Please use ${a} instead. ${r}`)}getPinnedTopRowCount(){return this.pinnedRowModel.getPinnedTopRowCount()}getPinnedBottomRowCount(){return this.pinnedRowModel.getPinnedBottomRowCount()}getPinnedTopRow(e){return this.pinnedRowModel.getPinnedTopRow(e)}getPinnedBottomRow(e){return this.pinnedRowModel.getPinnedBottomRow(e)}expireValueCache(){this.valueCache.expire()}getVerticalPixelRange(){return this.gridBodyCtrl.getScrollFeature().getVScrollPosition()}getHorizontalPixelRange(){return this.gridBodyCtrl.getScrollFeature().getHScrollPosition()}refreshCells(e={}){this.frameworkOverrides.wrapIncoming(()=>this.rowRenderer.refreshCells(e))}flashCells(e={}){const t=e=>q(`Since v31.1 api.flashCells parameter '${e}Delay' is deprecated. Please use '${e}Duration' instead.`);S(e.fadeDelay)&&t("fade"),S(e.flashDelay)&&t("flash"),this.frameworkOverrides.wrapIncoming(()=>this.rowRenderer.flashCells(e))}redrawRows(e={}){const t=e?e.rowNodes:void 0;this.frameworkOverrides.wrapIncoming(()=>this.rowRenderer.redrawRows(t))}refreshHeader(){this.frameworkOverrides.wrapIncoming(()=>this.ctrlsService.getHeaderRowContainerCtrls().forEach(e=>e.refresh()))}isAnyFilterPresent(){return this.filterManager.isAnyFilterPresent()}isColumnFilterPresent(){return this.filterManager.isColumnFilterPresent()||this.filterManager.isAggregateFilterPresent()}isQuickFilterPresent(){return this.filterManager.isQuickFilterPresent()}getModel(){return q("Since v31.1 getModel() is deprecated. Please use the appropriate grid API methods instead."),this.rowModel}setRowNodeExpanded(e,t,a){this.expansionService.setRowNodeExpanded(e,t,a)}onGroupExpandedOrCollapsed(){E(this.clientSideRowModel)?this.logMissingRowModel("onGroupExpandedOrCollapsed","clientSide"):this.expansionService.onGroupExpandedOrCollapsed()}refreshClientSideRowModel(e){E(this.clientSideRowModel)?this.logMissingRowModel("refreshClientSideRowModel","clientSide"):this.clientSideRowModel.refreshModel(e)}isAnimationFrameQueueEmpty(){return this.animationFrameService.isQueueEmpty()}flushAllAnimationFrames(){this.animationFrameService.flushAllFrames()}getRowNode(e){return this.rowModel.getRowNode(e)}getSizesForCurrentTheme(){return{rowHeight:this.gos.getRowHeightAsNumber(),headerHeight:this.columnModel.getHeaderHeight()}}expandAll(){this.clientSideRowModel||this.serverSideRowModel?this.expansionService.expandAll(!0):this.logMissingRowModel("expandAll","clientSide","serverSide")}collapseAll(){this.clientSideRowModel||this.serverSideRowModel?this.expansionService.expandAll(!1):this.logMissingRowModel("collapseAll","clientSide","serverSide")}addRenderedRowListener(e,t,a){this.rowRenderer.addRenderedRowListener(e,t,a)}getQuickFilter(){return this.gos.get("quickFilterText")}getAdvancedFilterModel(){return oe.__assertRegistered(re.AdvancedFilterModule,"api.getAdvancedFilterModel",this.context.getGridId())?this.filterManager.getAdvancedFilterModel():null}setAdvancedFilterModel(e){this.filterManager.setAdvancedFilterModel(e)}showAdvancedFilterBuilder(){oe.__assertRegistered(re.AdvancedFilterModule,"api.setAdvancedFilterModel",this.context.getGridId())&&this.filterManager.showAdvancedFilterBuilder("api")}setNodesSelected(e){if(!e.nodes.every(e=>e.rowPinned?(console.warn("AG Grid: cannot select pinned rows"),!1):void 0!==e.id||(console.warn("AG Grid: cannot select node until id for node is known"),!1)))return;const{nodes:t,source:a,newValue:r}=e,o=t;this.selectionService.setNodesSelected({nodes:o,source:null!=a?a:"api",newValue:r})}selectAll(e="apiSelectAll"){this.selectionService.selectAllRowNodes({source:e})}deselectAll(e="apiSelectAll"){this.selectionService.deselectAllRowNodes({source:e})}selectAllFiltered(e="apiSelectAllFiltered"){this.selectionService.selectAllRowNodes({source:e,justFiltered:!0})}deselectAllFiltered(e="apiSelectAllFiltered"){this.selectionService.deselectAllRowNodes({source:e,justFiltered:!0})}getServerSideSelectionState(){return E(this.serverSideRowModel)?(this.logMissingRowModel("getServerSideSelectionState","serverSide"),null):this.selectionService.getSelectionState()}setServerSideSelectionState(e){E(this.serverSideRowModel)?this.logMissingRowModel("setServerSideSelectionState","serverSide"):this.selectionService.setSelectionState(e,"api")}selectAllOnCurrentPage(e="apiSelectAllCurrentPage"){this.selectionService.selectAllRowNodes({source:e,justCurrentPage:!0})}deselectAllOnCurrentPage(e="apiSelectAllCurrentPage"){this.selectionService.deselectAllRowNodes({source:e,justCurrentPage:!0})}showLoadingOverlay(){this.overlayService.showLoadingOverlay()}showNoRowsOverlay(){this.overlayService.showNoRowsOverlay()}hideOverlay(){this.overlayService.hideOverlay()}getSelectedNodes(){return this.selectionService.getSelectedNodes()}getSelectedRows(){return this.selectionService.getSelectedRows()}getBestCostNodeSelection(){if(!E(this.clientSideRowModel))return this.selectionService.getBestCostNodeSelection();this.logMissingRowModel("getBestCostNodeSelection","clientSide")}getRenderedNodes(){return this.rowRenderer.getRenderedNodes()}ensureColumnVisible(e,t="auto"){this.frameworkOverrides.wrapIncoming(()=>this.gridBodyCtrl.getScrollFeature().ensureColumnVisible(e,t),"ensureVisible")}ensureIndexVisible(e,t){this.frameworkOverrides.wrapIncoming(()=>this.gridBodyCtrl.getScrollFeature().ensureIndexVisible(e,t),"ensureVisible")}ensureNodeVisible(e,t=null){this.frameworkOverrides.wrapIncoming(()=>this.gridBodyCtrl.getScrollFeature().ensureNodeVisible(e,t),"ensureVisible")}forEachLeafNode(e){E(this.clientSideRowModel)?this.logMissingRowModel("forEachLeafNode","clientSide"):this.clientSideRowModel.forEachLeafNode(e)}forEachNode(e,t){this.rowModel.forEachNode(e,t)}forEachNodeAfterFilter(e){E(this.clientSideRowModel)?this.logMissingRowModel("forEachNodeAfterFilter","clientSide"):this.clientSideRowModel.forEachNodeAfterFilter(e)}forEachNodeAfterFilterAndSort(e){E(this.clientSideRowModel)?this.logMissingRowModel("forEachNodeAfterFilterAndSort","clientSide"):this.clientSideRowModel.forEachNodeAfterFilterAndSort(e)}getFilterInstance(e,t){return q("'getFilterInstance' is deprecated. To get/set individual filter models, use 'getColumnFilterModel' or 'setColumnFilterModel' instead. To get hold of the filter instance, use 'getColumnFilterInstance' which returns the instance asynchronously."),this.filterManager.getFilterInstance(e,t)}getColumnFilterInstance(e){return this.filterManager.getColumnFilterInstance(e)}destroyFilter(e){const t=this.columnModel.getPrimaryColumn(e);if(t)return this.filterManager.destroyFilter(t,"api")}getStatusPanel(e){if(!oe.__assertRegistered(re.StatusBarModule,"api.getStatusPanel",this.context.getGridId()))return;return Wn(this.statusBarService.getStatusPanel(e))}getColumnDef(e){const t=this.columnModel.getPrimaryColumn(e);return t?t.getColDef():null}getColumnDefs(){return this.columnModel.getColumnDefs()}onFilterChanged(e="api"){this.filterManager.onFilterChanged({source:e})}onSortChanged(){this.sortController.onSortChanged("api")}setFilterModel(e){this.frameworkOverrides.wrapIncoming(()=>this.filterManager.setFilterModel(e))}getFilterModel(){return this.filterManager.getFilterModel()}getColumnFilterModel(e){return this.filterManager.getColumnFilterModel(e)}setColumnFilterModel(e,t){return this.filterManager.setColumnFilterModel(e,t)}getFocusedCell(){return this.focusService.getFocusedCell()}clearFocusedCell(){return this.focusService.clearFocusedCell()}setFocusedCell(e,t,a){this.focusService.setFocusedCell({rowIndex:e,column:t,rowPinned:a,forceBrowserFocus:!0})}addRowDropZone(e){this.gridBodyCtrl.getRowDragFeature().addRowDropZone(e)}removeRowDropZone(e){const t=this.dragAndDropService.findExternalZone(e);t&&this.dragAndDropService.removeDropTarget(t)}getRowDropZoneParams(e){return this.gridBodyCtrl.getRowDragFeature().getRowDropZone(e)}assertSideBarLoaded(e){return oe.__assertRegistered(re.SideBarModule,"api."+e,this.context.getGridId())}isSideBarVisible(){return this.assertSideBarLoaded("isSideBarVisible")&&this.sideBarService.getSideBarComp().isDisplayed()}setSideBarVisible(e){this.assertSideBarLoaded("setSideBarVisible")&&this.sideBarService.getSideBarComp().setDisplayed(e)}setSideBarPosition(e){this.assertSideBarLoaded("setSideBarPosition")&&this.sideBarService.getSideBarComp().setSideBarPosition(e)}openToolPanel(e){this.assertSideBarLoaded("openToolPanel")&&this.sideBarService.getSideBarComp().openToolPanel(e,"api")}closeToolPanel(){this.assertSideBarLoaded("closeToolPanel")&&this.sideBarService.getSideBarComp().close("api")}getOpenedToolPanel(){return this.assertSideBarLoaded("getOpenedToolPanel")?this.sideBarService.getSideBarComp().openedItem():null}refreshToolPanel(){this.assertSideBarLoaded("refreshToolPanel")&&this.sideBarService.getSideBarComp().refresh()}isToolPanelShowing(){return this.assertSideBarLoaded("isToolPanelShowing")&&this.sideBarService.getSideBarComp().isToolPanelShowing()}getToolPanelInstance(e){if(this.assertSideBarLoaded("getToolPanelInstance")){return Wn(this.sideBarService.getSideBarComp().getToolPanelInstance(e))}}getSideBar(){if(this.assertSideBarLoaded("getSideBar"))return this.sideBarService.getSideBarComp().getDef()}resetRowHeights(){if(S(this.clientSideRowModel)){if(this.columnModel.isAutoRowHeightActive())return void console.warn("AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.");this.clientSideRowModel.resetRowHeights()}}setRowCount(e,t){if(this.serverSideRowModel)return this.columnModel.isRowGroupEmpty()?void this.serverSideRowModel.setRowCount(e,t):void console.error("AG Grid: setRowCount cannot be used while using row grouping.");this.infiniteRowModel?this.infiniteRowModel.setRowCount(e,t):this.logMissingRowModel("setRowCount","infinite","serverSide")}onRowHeightChanged(){this.clientSideRowModel?this.clientSideRowModel.onRowHeightChanged():this.serverSideRowModel&&this.serverSideRowModel.onRowHeightChanged()}getValue(e,t){let a=this.columnModel.getPrimaryColumn(e);return E(a)&&(a=this.columnModel.getGridColumn(e)),E(a)?null:this.valueService.getValue(a,t)}addEventListener(e,t){this.apiEventService.addEventListener(e,t)}addGlobalListener(e){this.apiEventService.addGlobalListener(e)}removeEventListener(e,t){this.apiEventService.removeEventListener(e,t)}removeGlobalListener(e){this.apiEventService.removeGlobalListener(e)}dispatchEvent(e){this.eventService.dispatchEvent(e)}destroy(){const e="See "+this.frameworkOverrides.getDocLink("grid-lifecycle/#grid-pre-destroyed");if(this.destroyCalled)return;const t={type:st.EVENT_GRID_PRE_DESTROYED,state:this.getState()};this.dispatchEvent(t),this.destroyCalled=!0;const a=this.ctrlsService.getGridCtrl();a&&a.destroyGridUi(),this.context.destroy(),V(this,["isDestroyed"],e)}isDestroyed(){return this.destroyCalled}resetQuickFilter(){this.filterManager.resetQuickFilterCache()}getCellRanges(){return this.rangeService?this.rangeService.getCellRanges():(oe.__assertRegistered(re.RangeSelectionModule,"api.getCellRanges",this.context.getGridId()),null)}addCellRange(e){this.rangeService?this.rangeService.addCellRange(e):oe.__assertRegistered(re.RangeSelectionModule,"api.addCellRange",this.context.getGridId())}clearRangeSelection(){this.rangeService&&this.rangeService.removeAllCellRanges(),oe.__assertRegistered(re.RangeSelectionModule,"gridApi.clearRangeSelection",this.context.getGridId())}undoCellEditing(){this.undoRedoService.undo("api")}redoCellEditing(){this.undoRedoService.redo("api")}getCurrentUndoSize(){return this.undoRedoService.getCurrentUndoStackSize()}getCurrentRedoSize(){return this.undoRedoService.getCurrentRedoStackSize()}assertChart(e,t){if(oe.__assertRegistered(re.GridChartsModule,"api."+e,this.context.getGridId()))return this.frameworkOverrides.wrapIncoming(()=>t())}getChartModels(){return this.assertChart("getChartModels",()=>this.chartService.getChartModels())}getChartRef(e){return this.assertChart("getChartRef",()=>this.chartService.getChartRef(e))}getChartImageDataURL(e){return this.assertChart("getChartImageDataURL",()=>this.chartService.getChartImageDataURL(e))}downloadChart(e){return this.assertChart("downloadChart",()=>this.chartService.downloadChart(e))}openChartToolPanel(e){return this.assertChart("openChartToolPanel",()=>this.chartService.openChartToolPanel(e))}closeChartToolPanel(e){return this.assertChart("closeChartToolPanel",()=>this.chartService.closeChartToolPanel(e.chartId))}createRangeChart(e){return this.assertChart("createRangeChart",()=>this.chartService.createRangeChart(e))}createPivotChart(e){return this.assertChart("createPivotChart",()=>this.chartService.createPivotChart(e))}createCrossFilterChart(e){return this.assertChart("createCrossFilterChart",()=>this.chartService.createCrossFilterChart(e))}updateChart(e){return this.assertChart("updateChart",()=>this.chartService.updateChart(e))}restoreChart(e,t){return this.assertChart("restoreChart",()=>this.chartService.restoreChart(e,t))}assertClipboard(e,t){oe.__assertRegistered(re.ClipboardModule,"api"+e,this.context.getGridId())&&t()}copyToClipboard(e){this.assertClipboard("copyToClipboard",()=>this.clipboardService.copyToClipboard(e))}cutToClipboard(e){this.assertClipboard("cutToClipboard",()=>this.clipboardService.cutToClipboard(e))}copySelectedRowsToClipboard(e){this.assertClipboard("copySelectedRowsToClipboard",()=>this.clipboardService.copySelectedRowsToClipboard(e))}copySelectedRangeToClipboard(e){this.assertClipboard("copySelectedRangeToClipboard",()=>this.clipboardService.copySelectedRangeToClipboard(e))}copySelectedRangeDown(){this.assertClipboard("copySelectedRangeDown",()=>this.clipboardService.copyRangeDown())}pasteFromClipboard(){this.assertClipboard("pasteFromClipboard",()=>this.clipboardService.pasteFromClipboard())}showColumnMenuAfterButtonClick(e,t){q("'showColumnMenuAfterButtonClick' is deprecated. Use 'IHeaderParams.showColumnMenu' within a header component, or 'api.showColumnMenu' elsewhere.");const a=this.columnModel.getGridColumn(e);this.menuService.showColumnMenu({column:a,buttonElement:t,positionBy:"button"})}showColumnMenuAfterMouseClick(e,t){q("'showColumnMenuAfterMouseClick' is deprecated. Use 'IHeaderParams.showColumnMenuAfterMouseClick' within a header component, or 'api.showColumnMenu' elsewhere.");let a=this.columnModel.getGridColumn(e);a||(a=this.columnModel.getPrimaryColumn(e)),a?this.menuService.showColumnMenu({column:a,mouseEvent:t,positionBy:"mouse"}):console.error(`AG Grid: column '${e}' not found`)}showColumnChooser(e){this.menuService.showColumnChooser({chooserParams:e})}showColumnFilter(e){const t=this.columnModel.getGridColumn(e);t?this.menuService.showFilterMenu({column:t,containerType:"columnFilter",positionBy:"auto"}):console.error(`AG Grid: column '${e}' not found`)}showColumnMenu(e){const t=this.columnModel.getGridColumn(e);t?this.menuService.showColumnMenu({column:t,positionBy:"auto"}):console.error(`AG Grid: column '${e}' not found`)}hidePopupMenu(){this.menuService.hidePopupMenu()}hideColumnChooser(){this.menuService.hideColumnChooser()}tabToNextCell(e){return this.navigationService.tabToNextCell(!1,e)}tabToPreviousCell(e){return this.navigationService.tabToNextCell(!0,e)}getCellRendererInstances(e={}){return this.rowRenderer.getCellRendererInstances(e).map(Wn)}getCellEditorInstances(e={}){return this.rowRenderer.getCellEditorInstances(e).map(Wn)}getEditingCells(){return this.rowRenderer.getEditingCells()}stopEditing(e=!1){this.rowRenderer.stopEditing(e)}startEditingCell(e){const t=this.columnModel.getGridColumn(e.colKey);if(!t)return void console.warn("AG Grid: no column found for "+e.colKey);const a={rowIndex:e.rowIndex,rowPinned:e.rowPinned||null,column:t};null==e.rowPinned&&this.ensureIndexVisible(e.rowIndex),this.ensureColumnVisible(e.colKey);const r=this.navigationService.getCellByPosition(a);r&&(this.focusService.isCellFocused(a)||this.focusService.setFocusedCell(a),r.startRowOrCellEdit(e.key))}addAggFunc(e,t){this.logDeprecation("v31.1","addAggFunc(key, func)","addAggFuncs({ key: func })"),this.aggFuncService&&this.aggFuncService.addAggFuncs({key:t})}addAggFuncs(e){this.aggFuncService&&this.aggFuncService.addAggFuncs(e)}clearAggFuncs(){this.aggFuncService&&this.aggFuncService.clear()}applyServerSideTransaction(e){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.applyTransaction(e);this.logMissingRowModel("applyServerSideTransaction","serverSide")}applyServerSideTransactionAsync(e,t){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.applyTransactionAsync(e,t);this.logMissingRowModel("applyServerSideTransactionAsync","serverSide")}applyServerSideRowData(e){var t,a;const r=null!==(t=e.startRow)&&void 0!==t?t:0,o=null!==(a=e.route)&&void 0!==a?a:[];r<0?console.warn(`AG Grid: invalid value ${e.startRow} for startRow, the value should be >= 0`):this.serverSideRowModel?this.serverSideRowModel.applyRowData(e.successParams,r,o):this.logMissingRowModel("setServerSideDatasource","serverSide")}retryServerSideLoads(){this.serverSideRowModel?this.serverSideRowModel.retryLoads():this.logMissingRowModel("retryServerSideLoads","serverSide")}flushServerSideAsyncTransactions(){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.flushAsyncTransactions();this.logMissingRowModel("flushServerSideAsyncTransactions","serverSide")}applyTransaction(e){if(this.clientSideRowModel)return this.frameworkOverrides.wrapIncoming(()=>this.clientSideRowModel.updateRowData(e));this.logMissingRowModel("applyTransaction","clientSide")}applyTransactionAsync(e,t){this.clientSideRowModel?this.frameworkOverrides.wrapIncoming(()=>this.clientSideRowModel.batchUpdateRowData(e,t)):this.logMissingRowModel("applyTransactionAsync","clientSide")}flushAsyncTransactions(){this.clientSideRowModel?this.frameworkOverrides.wrapIncoming(()=>this.clientSideRowModel.flushAsyncTransactions()):this.logMissingRowModel("flushAsyncTransactions","clientSide")}refreshInfiniteCache(){this.infiniteRowModel?this.infiniteRowModel.refreshCache():this.logMissingRowModel("refreshInfiniteCache","infinite")}purgeInfiniteCache(){this.infiniteRowModel?this.infiniteRowModel.purgeCache():this.logMissingRowModel("purgeInfiniteCache","infinite")}refreshServerSide(e){this.serverSideRowModel?this.serverSideRowModel.refreshStore(e):this.logMissingRowModel("refreshServerSide","serverSide")}getServerSideGroupLevelState(){return this.serverSideRowModel?this.serverSideRowModel.getStoreState():(this.logMissingRowModel("getServerSideGroupLevelState","serverSide"),[])}getInfiniteRowCount(){if(this.infiniteRowModel)return this.infiniteRowModel.getRowCount();this.logMissingRowModel("getInfiniteRowCount","infinite")}isLastRowIndexKnown(){if(this.infiniteRowModel)return this.infiniteRowModel.isLastRowIndexKnown();this.logMissingRowModel("isLastRowIndexKnown","infinite")}getCacheBlockState(){return this.rowNodeBlockLoader.getBlockState()}getFirstDisplayedRow(){return this.logDeprecation("v31.1","getFirstDisplayedRow","getFirstDisplayedRowIndex"),this.getFirstDisplayedRowIndex()}getFirstDisplayedRowIndex(){return this.rowRenderer.getFirstVirtualRenderedRow()}getLastDisplayedRow(){return this.logDeprecation("v31.1","getLastDisplayedRow","getLastDisplayedRowIndex"),this.getLastDisplayedRowIndex()}getLastDisplayedRowIndex(){return this.rowRenderer.getLastVirtualRenderedRow()}getDisplayedRowAtIndex(e){return this.rowModel.getRow(e)}getDisplayedRowCount(){return this.rowModel.getRowCount()}paginationIsLastPageFound(){return this.paginationProxy.isLastPageFound()}paginationGetPageSize(){return this.paginationProxy.getPageSize()}paginationGetCurrentPage(){return this.paginationProxy.getCurrentPage()}paginationGetTotalPages(){return this.paginationProxy.getTotalPages()}paginationGetRowCount(){return this.paginationProxy.getMasterRowCount()}paginationGoToNextPage(){this.paginationProxy.goToNextPage()}paginationGoToPreviousPage(){this.paginationProxy.goToPreviousPage()}paginationGoToFirstPage(){this.paginationProxy.goToFirstPage()}paginationGoToLastPage(){this.paginationProxy.goToLastPage()}paginationGoToPage(e){this.paginationProxy.goToPage(e)}sizeColumnsToFit(e){"number"==typeof e?this.columnModel.sizeColumnsToFit(e,"api"):this.gridBodyCtrl.sizeColumnsToFit(e)}setColumnGroupOpened(e,t){this.columnModel.setColumnGroupOpened(e,t,"api")}getColumnGroup(e,t){return this.columnModel.getColumnGroup(e,t)}getProvidedColumnGroup(e){return this.columnModel.getProvidedColumnGroup(e)}getDisplayNameForColumn(e,t){return this.columnModel.getDisplayNameForColumn(e,t)||""}getDisplayNameForColumnGroup(e,t){return this.columnModel.getDisplayNameForColumnGroup(e,t)||""}getColumn(e){return this.columnModel.getPrimaryColumn(e)}getColumns(){return this.columnModel.getAllPrimaryColumns()}applyColumnState(e){return this.columnModel.applyColumnState(e,"api")}getColumnState(){return this.columnModel.getColumnState()}resetColumnState(){this.columnModel.resetColumnState("api")}getColumnGroupState(){return this.columnModel.getColumnGroupState()}setColumnGroupState(e){this.columnModel.setColumnGroupState(e,"api")}resetColumnGroupState(){this.columnModel.resetColumnGroupState("api")}isPinning(){return this.columnModel.isPinningLeft()||this.columnModel.isPinningRight()}isPinningLeft(){return this.columnModel.isPinningLeft()}isPinningRight(){return this.columnModel.isPinningRight()}getDisplayedColAfter(e){return this.columnModel.getDisplayedColAfter(e)}getDisplayedColBefore(e){return this.columnModel.getDisplayedColBefore(e)}setColumnVisible(e,t){this.logDeprecation("v31.1","setColumnVisible(key,visible)","setColumnsVisible([key],visible)"),this.columnModel.setColumnsVisible([e],t,"api")}setColumnsVisible(e,t){this.columnModel.setColumnsVisible(e,t,"api")}setColumnPinned(e,t){this.logDeprecation("v31.1","setColumnPinned(key,pinned)","setColumnsPinned([key],pinned)"),this.columnModel.setColumnsPinned([e],t,"api")}setColumnsPinned(e,t){this.columnModel.setColumnsPinned(e,t,"api")}getAllGridColumns(){return this.columnModel.getAllGridColumns()}getDisplayedLeftColumns(){return this.columnModel.getDisplayedLeftColumns()}getDisplayedCenterColumns(){return this.columnModel.getDisplayedCenterColumns()}getDisplayedRightColumns(){return this.columnModel.getDisplayedRightColumns()}getAllDisplayedColumns(){return this.columnModel.getAllDisplayedColumns()}getAllDisplayedVirtualColumns(){return this.columnModel.getViewportColumns()}moveColumn(e,t){this.logDeprecation("v31.1","moveColumn(key, toIndex)","moveColumns([key], toIndex)"),this.columnModel.moveColumns([e],t,"api")}moveColumnByIndex(e,t){this.columnModel.moveColumnByIndex(e,t,"api")}moveColumns(e,t){this.columnModel.moveColumns(e,t,"api")}moveRowGroupColumn(e,t){this.columnModel.moveRowGroupColumn(e,t,"api")}setColumnAggFunc(e,t){this.columnModel.setColumnAggFunc(e,t,"api")}setColumnWidth(e,t,a=!0,r="api"){this.logDeprecation("v31.1","setColumnWidth(col, width)","setColumnWidths([{key: col, newWidth: width}])"),this.columnModel.setColumnWidths([{key:e,newWidth:t}],!1,a,r)}setColumnWidths(e,t=!0,a="api"){this.columnModel.setColumnWidths(e,!1,t,a)}isPivotMode(){return this.columnModel.isPivotMode()}getPivotResultColumn(e,t){return this.columnModel.getSecondaryPivotColumn(e,t)}setValueColumns(e){this.columnModel.setValueColumns(e,"api")}getValueColumns(){return this.columnModel.getValueColumns()}removeValueColumn(e){this.logDeprecation("v31.1","removeValueColumn(colKey)","removeValueColumns([colKey])"),this.columnModel.removeValueColumns([e],"api")}removeValueColumns(e){this.columnModel.removeValueColumns(e,"api")}addValueColumn(e){this.logDeprecation("v31.1","addValueColumn(colKey)","addValueColumns([colKey])"),this.columnModel.addValueColumns([e],"api")}addValueColumns(e){this.columnModel.addValueColumns(e,"api")}setRowGroupColumns(e){this.columnModel.setRowGroupColumns(e,"api")}removeRowGroupColumn(e){this.logDeprecation("v31.1","removeRowGroupColumn(colKey)","removeRowGroupColumns([colKey])"),this.columnModel.removeRowGroupColumns([e],"api")}removeRowGroupColumns(e){this.columnModel.removeRowGroupColumns(e,"api")}addRowGroupColumn(e){this.logDeprecation("v31.1","addRowGroupColumn(colKey)","addRowGroupColumns([colKey])"),this.columnModel.addRowGroupColumns([e],"api")}addRowGroupColumns(e){this.columnModel.addRowGroupColumns(e,"api")}getRowGroupColumns(){return this.columnModel.getRowGroupColumns()}setPivotColumns(e){this.columnModel.setPivotColumns(e,"api")}removePivotColumn(e){this.logDeprecation("v31.1","removePivotColumn(colKey)","removePivotColumns([colKey])"),this.columnModel.removePivotColumns([e],"api")}removePivotColumns(e){this.columnModel.removePivotColumns(e,"api")}addPivotColumn(e){this.logDeprecation("v31.1","addPivotColumn(colKey)","addPivotColumns([colKey])"),this.columnModel.addPivotColumns([e],"api")}addPivotColumns(e){this.columnModel.addPivotColumns(e,"api")}getPivotColumns(){return this.columnModel.getPivotColumns()}getLeftDisplayedColumnGroups(){return this.columnModel.getDisplayedTreeLeft()}getCenterDisplayedColumnGroups(){return this.columnModel.getDisplayedTreeCentre()}getRightDisplayedColumnGroups(){return this.columnModel.getDisplayedTreeRight()}getAllDisplayedColumnGroups(){return this.columnModel.getAllDisplayedTrees()}autoSizeColumn(e,t){return this.logDeprecation("v31.1","autoSizeColumn(key, skipHeader)","autoSizeColumns([key], skipHeader)"),this.columnModel.autoSizeColumns({columns:[e],skipHeader:t,source:"api"})}autoSizeColumns(e,t){this.columnModel.autoSizeColumns({columns:e,skipHeader:t,source:"api"})}autoSizeAllColumns(e){this.columnModel.autoSizeAllColumns("api",e)}setPivotResultColumns(e){this.columnModel.setSecondaryColumns(e,"api")}getPivotResultColumns(){return this.columnModel.getSecondaryColumns()}getState(){return this.stateService.getState()}getGridOption(e){return this.gos.get(e)}setGridOption(e,t){this.updateGridOptions({[e]:t})}updateGridOptions(e){this.gos.updateGridOptions({options:e})}__internalUpdateGridOptions(e){this.gos.updateGridOptions({options:e,source:"gridOptionsUpdated"})}deprecatedUpdateGridOption(e,t){q(`set${e.charAt(0).toUpperCase()}${e.slice(1,e.length)} is deprecated. Please use 'api.setGridOption('${e}', newValue)' or 'api.updateGridOptions({ ${e}: newValue })' instead.`),this.setGridOption(e,t)}setPivotMode(e){this.deprecatedUpdateGridOption("pivotMode",e)}setPinnedTopRowData(e){this.deprecatedUpdateGridOption("pinnedTopRowData",e)}setPinnedBottomRowData(e){this.deprecatedUpdateGridOption("pinnedBottomRowData",e)}setPopupParent(e){this.deprecatedUpdateGridOption("popupParent",e)}setSuppressModelUpdateAfterUpdateTransaction(e){this.deprecatedUpdateGridOption("suppressModelUpdateAfterUpdateTransaction",e)}setDataTypeDefinitions(e){this.deprecatedUpdateGridOption("dataTypeDefinitions",e)}setPagination(e){this.deprecatedUpdateGridOption("pagination",e)}paginationSetPageSize(e){this.deprecatedUpdateGridOption("paginationPageSize",e)}setSideBar(e){this.deprecatedUpdateGridOption("sideBar",e)}setSuppressClipboardPaste(e){this.deprecatedUpdateGridOption("suppressClipboardPaste",e)}setGroupRemoveSingleChildren(e){this.deprecatedUpdateGridOption("groupRemoveSingleChildren",e)}setGroupRemoveLowestSingleChildren(e){this.deprecatedUpdateGridOption("groupRemoveLowestSingleChildren",e)}setGroupDisplayType(e){this.deprecatedUpdateGridOption("groupDisplayType",e)}setGroupIncludeFooter(e){this.deprecatedUpdateGridOption("groupIncludeFooter",e)}setGroupIncludeTotalFooter(e){this.deprecatedUpdateGridOption("groupIncludeTotalFooter",e)}setRowClass(e){this.deprecatedUpdateGridOption("rowClass",e)}setDeltaSort(e){this.deprecatedUpdateGridOption("deltaSort",e)}setSuppressRowDrag(e){this.deprecatedUpdateGridOption("suppressRowDrag",e)}setSuppressMoveWhenRowDragging(e){this.deprecatedUpdateGridOption("suppressMoveWhenRowDragging",e)}setSuppressRowClickSelection(e){this.deprecatedUpdateGridOption("suppressRowClickSelection",e)}setEnableAdvancedFilter(e){this.deprecatedUpdateGridOption("enableAdvancedFilter",e)}setIncludeHiddenColumnsInAdvancedFilter(e){this.deprecatedUpdateGridOption("includeHiddenColumnsInAdvancedFilter",e)}setAdvancedFilterParent(e){this.deprecatedUpdateGridOption("advancedFilterParent",e)}setAdvancedFilterBuilderParams(e){this.deprecatedUpdateGridOption("advancedFilterBuilderParams",e)}setQuickFilter(e){q("setQuickFilter is deprecated. Please use 'api.setGridOption('quickFilterText', newValue)' or 'api.updateGridOptions({ quickFilterText: newValue })' instead."),this.gos.updateGridOptions({options:{quickFilterText:e}})}setExcludeHiddenColumnsFromQuickFilter(e){this.deprecatedUpdateGridOption("includeHiddenColumnsInQuickFilter",!e)}setIncludeHiddenColumnsInQuickFilter(e){this.deprecatedUpdateGridOption("includeHiddenColumnsInQuickFilter",e)}setQuickFilterParser(e){this.deprecatedUpdateGridOption("quickFilterParser",e)}setQuickFilterMatcher(e){this.deprecatedUpdateGridOption("quickFilterMatcher",e)}setAlwaysShowHorizontalScroll(e){this.deprecatedUpdateGridOption("alwaysShowHorizontalScroll",e)}setAlwaysShowVerticalScroll(e){this.deprecatedUpdateGridOption("alwaysShowVerticalScroll",e)}setFunctionsReadOnly(e){this.deprecatedUpdateGridOption("functionsReadOnly",e)}setColumnDefs(e,t="api"){q("setColumnDefs is deprecated. Please use 'api.setGridOption('columnDefs', newValue)' or 'api.updateGridOptions({ columnDefs: newValue })' instead."),this.gos.updateGridOptions({options:{columnDefs:e},source:t})}setAutoGroupColumnDef(e,t="api"){q("setAutoGroupColumnDef is deprecated. Please use 'api.setGridOption('autoGroupColumnDef', newValue)' or 'api.updateGridOptions({ autoGroupColumnDef: newValue })' instead."),this.gos.updateGridOptions({options:{autoGroupColumnDef:e},source:t})}setDefaultColDef(e,t="api"){q("setDefaultColDef is deprecated. Please use 'api.setGridOption('defaultColDef', newValue)' or 'api.updateGridOptions({ defaultColDef: newValue })' instead."),this.gos.updateGridOptions({options:{defaultColDef:e},source:t})}setColumnTypes(e,t="api"){q("setColumnTypes is deprecated. Please use 'api.setGridOption('columnTypes', newValue)' or 'api.updateGridOptions({ columnTypes: newValue })' instead."),this.gos.updateGridOptions({options:{columnTypes:e},source:t})}setTreeData(e){this.deprecatedUpdateGridOption("treeData",e)}setServerSideDatasource(e){this.deprecatedUpdateGridOption("serverSideDatasource",e)}setCacheBlockSize(e){this.deprecatedUpdateGridOption("cacheBlockSize",e)}setDatasource(e){this.deprecatedUpdateGridOption("datasource",e)}setViewportDatasource(e){this.deprecatedUpdateGridOption("viewportDatasource",e)}setRowData(e){this.deprecatedUpdateGridOption("rowData",e)}setEnableCellTextSelection(e){this.deprecatedUpdateGridOption("enableCellTextSelection",e)}setHeaderHeight(e){this.deprecatedUpdateGridOption("headerHeight",e)}setDomLayout(e){this.deprecatedUpdateGridOption("domLayout",e)}setFillHandleDirection(e){this.deprecatedUpdateGridOption("fillHandleDirection",e)}setGroupHeaderHeight(e){this.deprecatedUpdateGridOption("groupHeaderHeight",e)}setFloatingFiltersHeight(e){this.deprecatedUpdateGridOption("floatingFiltersHeight",e)}setPivotHeaderHeight(e){this.deprecatedUpdateGridOption("pivotHeaderHeight",e)}setPivotGroupHeaderHeight(e){this.deprecatedUpdateGridOption("pivotGroupHeaderHeight",e)}setAnimateRows(e){this.deprecatedUpdateGridOption("animateRows",e)}setIsExternalFilterPresent(e){this.deprecatedUpdateGridOption("isExternalFilterPresent",e)}setDoesExternalFilterPass(e){this.deprecatedUpdateGridOption("doesExternalFilterPass",e)}setNavigateToNextCell(e){this.deprecatedUpdateGridOption("navigateToNextCell",e)}setTabToNextCell(e){this.deprecatedUpdateGridOption("tabToNextCell",e)}setTabToNextHeader(e){this.deprecatedUpdateGridOption("tabToNextHeader",e)}setNavigateToNextHeader(e){this.deprecatedUpdateGridOption("navigateToNextHeader",e)}setRowGroupPanelShow(e){this.deprecatedUpdateGridOption("rowGroupPanelShow",e)}setGetGroupRowAgg(e){this.deprecatedUpdateGridOption("getGroupRowAgg",e)}setGetBusinessKeyForNode(e){this.deprecatedUpdateGridOption("getBusinessKeyForNode",e)}setGetChildCount(e){this.deprecatedUpdateGridOption("getChildCount",e)}setProcessRowPostCreate(e){this.deprecatedUpdateGridOption("processRowPostCreate",e)}setGetRowId(e){q("getRowId is a static property and can no longer be updated.")}setGetRowClass(e){this.deprecatedUpdateGridOption("getRowClass",e)}setIsFullWidthRow(e){this.deprecatedUpdateGridOption("isFullWidthRow",e)}setIsRowSelectable(e){this.deprecatedUpdateGridOption("isRowSelectable",e)}setIsRowMaster(e){this.deprecatedUpdateGridOption("isRowMaster",e)}setPostSortRows(e){this.deprecatedUpdateGridOption("postSortRows",e)}setGetDocument(e){this.deprecatedUpdateGridOption("getDocument",e)}setGetContextMenuItems(e){this.deprecatedUpdateGridOption("getContextMenuItems",e)}setGetMainMenuItems(e){this.deprecatedUpdateGridOption("getMainMenuItems",e)}setProcessCellForClipboard(e){this.deprecatedUpdateGridOption("processCellForClipboard",e)}setSendToClipboard(e){this.deprecatedUpdateGridOption("sendToClipboard",e)}setProcessCellFromClipboard(e){this.deprecatedUpdateGridOption("processCellFromClipboard",e)}setProcessPivotResultColDef(e){this.deprecatedUpdateGridOption("processPivotResultColDef",e)}setProcessPivotResultColGroupDef(e){this.deprecatedUpdateGridOption("processPivotResultColGroupDef",e)}setPostProcessPopup(e){this.deprecatedUpdateGridOption("postProcessPopup",e)}setInitialGroupOrderComparator(e){this.deprecatedUpdateGridOption("initialGroupOrderComparator",e)}setGetChartToolbarItems(e){this.deprecatedUpdateGridOption("getChartToolbarItems",e)}setPaginationNumberFormatter(e){this.deprecatedUpdateGridOption("paginationNumberFormatter",e)}setGetServerSideGroupLevelParams(e){this.deprecatedUpdateGridOption("getServerSideGroupLevelParams",e)}setIsServerSideGroupOpenByDefault(e){this.deprecatedUpdateGridOption("isServerSideGroupOpenByDefault",e)}setIsApplyServerSideTransaction(e){this.deprecatedUpdateGridOption("isApplyServerSideTransaction",e)}setIsServerSideGroup(e){this.deprecatedUpdateGridOption("isServerSideGroup",e)}setGetServerSideGroupKey(e){this.deprecatedUpdateGridOption("getServerSideGroupKey",e)}setGetRowStyle(e){this.deprecatedUpdateGridOption("getRowStyle",e)}setGetRowHeight(e){this.deprecatedUpdateGridOption("getRowHeight",e)}};qn([ce("csvCreator")],Un.prototype,"csvCreator",void 0),qn([ce("excelCreator")],Un.prototype,"excelCreator",void 0),qn([de("rowRenderer")],Un.prototype,"rowRenderer",void 0),qn([de("navigationService")],Un.prototype,"navigationService",void 0),qn([de("filterManager")],Un.prototype,"filterManager",void 0),qn([de("columnModel")],Un.prototype,"columnModel",void 0),qn([de("selectionService")],Un.prototype,"selectionService",void 0),qn([de("gridOptionsService")],Un.prototype,"gos",void 0),qn([de("valueService")],Un.prototype,"valueService",void 0),qn([de("alignedGridsService")],Un.prototype,"alignedGridsService",void 0),qn([de("eventService")],Un.prototype,"eventService",void 0),qn([de("pinnedRowModel")],Un.prototype,"pinnedRowModel",void 0),qn([de("context")],Un.prototype,"context",void 0),qn([de("rowModel")],Un.prototype,"rowModel",void 0),qn([de("sortController")],Un.prototype,"sortController",void 0),qn([de("paginationProxy")],Un.prototype,"paginationProxy",void 0),qn([de("focusService")],Un.prototype,"focusService",void 0),qn([de("dragAndDropService")],Un.prototype,"dragAndDropService",void 0),qn([ce("rangeService")],Un.prototype,"rangeService",void 0),qn([ce("clipboardService")],Un.prototype,"clipboardService",void 0),qn([ce("aggFuncService")],Un.prototype,"aggFuncService",void 0),qn([de("menuService")],Un.prototype,"menuService",void 0),qn([de("valueCache")],Un.prototype,"valueCache",void 0),qn([de("animationFrameService")],Un.prototype,"animationFrameService",void 0),qn([ce("statusBarService")],Un.prototype,"statusBarService",void 0),qn([ce("chartService")],Un.prototype,"chartService",void 0),qn([ce("undoRedoService")],Un.prototype,"undoRedoService",void 0),qn([ce("rowNodeBlockLoader")],Un.prototype,"rowNodeBlockLoader",void 0),qn([ce("ssrmTransactionManager")],Un.prototype,"serverSideTransactionManager",void 0),qn([de("ctrlsService")],Un.prototype,"ctrlsService",void 0),qn([de("overlayService")],Un.prototype,"overlayService",void 0),qn([ce("sideBarService")],Un.prototype,"sideBarService",void 0),qn([de("stateService")],Un.prototype,"stateService",void 0),qn([de("expansionService")],Un.prototype,"expansionService",void 0),qn([de("apiEventService")],Un.prototype,"apiEventService",void 0),qn([de("frameworkOverrides")],Un.prototype,"frameworkOverrides",void 0),qn([le],Un.prototype,"init",null),Un=qn([ge("gridApi")],Un);var jn,Kn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Yn=jn=class extends at{constructor(){super(...arguments),this.quickFilter=null,this.quickFilterParts=null}postConstruct(){this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_MODE_CHANGED,()=>this.resetQuickFilterCache()),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,()=>this.resetQuickFilterCache()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,()=>this.resetQuickFilterCache()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VISIBLE,()=>{this.gridOptionsService.get("includeHiddenColumnsInQuickFilter")||this.resetQuickFilterCache()}),this.addManagedPropertyListener("quickFilterText",e=>this.setQuickFilter(e.currentValue)),this.addManagedPropertyListener("includeHiddenColumnsInQuickFilter",()=>this.onIncludeHiddenColumnsInQuickFilterChanged()),this.quickFilter=this.parseQuickFilter(this.gridOptionsService.get("quickFilterText")),this.parser=this.gridOptionsService.get("quickFilterParser"),this.matcher=this.gridOptionsService.get("quickFilterMatcher"),this.setQuickFilterParts(),this.addManagedPropertyListeners(["quickFilterMatcher","quickFilterParser"],()=>this.setQuickFilterParserAndMatcher())}isQuickFilterPresent(){return null!==this.quickFilter}doesRowPassQuickFilter(e){const t=this.gridOptionsService.get("cacheQuickFilter");return this.matcher?this.doesRowPassQuickFilterMatcher(t,e):this.quickFilterParts.every(a=>t?this.doesRowPassQuickFilterCache(e,a):this.doesRowPassQuickFilterNoCache(e,a))}resetQuickFilterCache(){this.rowModel.forEachNode(e=>e.quickFilterAggregateText=null)}setQuickFilterParts(){const{quickFilter:e,parser:t}=this;this.quickFilterParts=e?t?t(e):e.split(" "):null}parseQuickFilter(e){return S(e)?this.gridOptionsService.isRowModelType("clientSide")?e.toUpperCase():(console.warn("AG Grid - Quick filtering only works with the Client-Side Row Model"),null):null}setQuickFilter(e){if(null!=e&&"string"!=typeof e)return void console.warn("AG Grid - Grid option quickFilterText only supports string inputs, received: "+typeof e);const t=this.parseQuickFilter(e);this.quickFilter!==t&&(this.quickFilter=t,this.setQuickFilterParts(),this.dispatchEvent({type:jn.EVENT_QUICK_FILTER_CHANGED}))}setQuickFilterParserAndMatcher(){const e=this.gridOptionsService.get("quickFilterParser"),t=this.gridOptionsService.get("quickFilterMatcher"),a=e!==this.parser||t!==this.matcher;this.parser=e,this.matcher=t,a&&(this.setQuickFilterParts(),this.dispatchEvent({type:jn.EVENT_QUICK_FILTER_CHANGED}))}onIncludeHiddenColumnsInQuickFilterChanged(){this.columnModel.refreshQuickFilterColumns(),this.resetQuickFilterCache(),this.isQuickFilterPresent()&&this.dispatchEvent({type:jn.EVENT_QUICK_FILTER_CHANGED})}doesRowPassQuickFilterNoCache(e,t){return this.columnModel.getAllColumnsForQuickFilter().some(a=>{const r=this.getQuickFilterTextForColumn(a,e);return S(r)&&r.indexOf(t)>=0})}doesRowPassQuickFilterCache(e,t){return this.checkGenerateQuickFilterAggregateText(e),e.quickFilterAggregateText.indexOf(t)>=0}doesRowPassQuickFilterMatcher(e,t){let a;e?(this.checkGenerateQuickFilterAggregateText(t),a=t.quickFilterAggregateText):a=this.getQuickFilterAggregateText(t);const{quickFilterParts:r,matcher:o}=this;return o(r,a)}checkGenerateQuickFilterAggregateText(e){e.quickFilterAggregateText||(e.quickFilterAggregateText=this.getQuickFilterAggregateText(e))}getQuickFilterTextForColumn(e,t){let a=this.valueService.getValue(e,t,!0);const r=e.getColDef();if(r.getQuickFilterText){const o=this.gridOptionsService.addGridCommonParams({value:a,node:t,data:t.data,column:e,colDef:r});a=r.getQuickFilterText(o)}return S(a)?a.toString().toUpperCase():null}getQuickFilterAggregateText(e){const t=[];return this.columnModel.getAllColumnsForQuickFilter().forEach(a=>{const r=this.getQuickFilterTextForColumn(a,e);S(r)&&t.push(r)}),t.join(jn.QUICK_FILTER_SEPARATOR)}};Yn.EVENT_QUICK_FILTER_CHANGED="quickFilterChanged",Yn.QUICK_FILTER_SEPARATOR="\n",Kn([de("valueService")],Yn.prototype,"valueService",void 0),Kn([de("columnModel")],Yn.prototype,"columnModel",void 0),Kn([de("rowModel")],Yn.prototype,"rowModel",void 0),Kn([le],Yn.prototype,"postConstruct",null),Yn=jn=Kn([ge("quickFilterService")],Yn);var Qn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Jn=class extends at{constructor(){super(...arguments),this.allColumnFilters=new Map,this.allColumnListeners=new Map,this.activeAggregateFilters=[],this.activeColumnFilters=[],this.processingFilterChange=!1,this.filterModelUpdateQueue=[],this.columnFilterModelUpdateQueue=[],this.advancedFilterModelUpdateQueue=[]}init(){var e,t,a;this.addManagedListener(this.eventService,st.EVENT_GRID_COLUMNS_CHANGED,()=>this.onColumnsChanged()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VALUE_CHANGED,()=>this.refreshFiltersForAggregations()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_CHANGED,()=>this.refreshFiltersForAggregations()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_MODE_CHANGED,()=>this.refreshFiltersForAggregations()),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,()=>this.updateAdvancedFilterColumns()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VISIBLE,()=>this.updateAdvancedFilterColumns()),this.addManagedListener(this.eventService,st.EVENT_ROW_DATA_UPDATED,()=>this.onNewRowsLoaded("rowDataUpdated")),this.externalFilterPresent=this.isExternalFilterPresentCallback(),this.addManagedPropertyListeners(["isExternalFilterPresent","doesExternalFilterPass"],()=>{this.onFilterChanged({source:"api"})}),this.updateAggFiltering(),this.addManagedPropertyListener("groupAggFiltering",()=>{this.updateAggFiltering(),this.onFilterChanged()}),this.addManagedPropertyListener("advancedFilterModel",e=>this.setAdvancedFilterModel(e.currentValue)),this.addManagedListener(this.eventService,st.EVENT_ADVANCED_FILTER_ENABLED_CHANGED,({enabled:e})=>this.onAdvancedFilterEnabledChanged(e)),this.addManagedListener(this.eventService,st.EVENT_DATA_TYPES_INFERRED,()=>this.processFilterModelUpdateQueue()),this.addManagedListener(this.quickFilterService,Yn.EVENT_QUICK_FILTER_CHANGED,()=>this.onFilterChanged({source:"quickFilter"})),this.initialFilterModel=Object.assign({},null!==(a=null===(t=null===(e=this.gridOptionsService.get("initialState"))||void 0===e?void 0:e.filter)||void 0===t?void 0:t.filterModel)&&void 0!==a?a:{})}isExternalFilterPresentCallback(){const e=this.gridOptionsService.getCallback("isExternalFilterPresent");return"function"==typeof e&&e({})}doesExternalFilterPass(e){const t=this.gridOptionsService.get("doesExternalFilterPass");return"function"==typeof t&&t(e)}setFilterModel(e,t="api"){if(this.isAdvancedFilterEnabled())return void this.warnAdvancedFilters();if(this.dataTypeService.isPendingInference())return void this.filterModelUpdateQueue.push({model:e,source:t});const a=[],r=this.getFilterModel();if(e){const t=Zr(Object.keys(e));this.allColumnFilters.forEach((r,o)=>{const i=e[o];a.push(this.setModelOnFilterWrapper(r.filterPromise,i)),t.delete(o)}),t.forEach(t=>{const r=this.columnModel.getPrimaryColumn(t)||this.columnModel.getGridColumn(t);if(!r)return void console.warn("AG Grid: setFilterModel() - no column found for colId: "+t);if(!r.isFilterAllowed())return void console.warn("AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: "+t);const o=this.getOrCreateFilterWrapper(r,"NO_UI");o?a.push(this.setModelOnFilterWrapper(o.filterPromise,e[t])):console.warn("AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: "+t)})}else this.allColumnFilters.forEach(e=>{a.push(this.setModelOnFilterWrapper(e.filterPromise,null))});ao.all(a).then(()=>{const e=this.getFilterModel(),a=[];this.allColumnFilters.forEach((t,o)=>{const i=r?r[o]:null,n=e?e[o]:null;$r.jsonEquals(i,n)||a.push(t.column)}),a.length>0&&this.onFilterChanged({columns:a,source:t})})}setModelOnFilterWrapper(e,t){return new ao(a=>{e.then(e=>{"function"!=typeof e.setModel&&(console.warn("AG Grid: filter missing setModel method, which is needed for setFilterModel"),a()),(e.setModel(t)||ao.resolve()).then(()=>a())})})}getFilterModel(){const e={};return this.allColumnFilters.forEach((t,a)=>{const r=this.getModelFromFilterWrapper(t);S(r)&&(e[a]=r)}),e}getModelFromFilterWrapper(e){var t;const a=e.filterPromise.resolveNow(null,e=>e);return null==a?null!==(t=this.initialFilterModel[e.column.getColId()])&&void 0!==t?t:null:"function"!=typeof a.getModel?(console.warn("AG Grid: filter API missing getModel method, which is needed for getFilterModel"),null):a.getModel()}isColumnFilterPresent(){return this.activeColumnFilters.length>0}isAggregateFilterPresent(){return!!this.activeAggregateFilters.length}isExternalFilterPresent(){return this.externalFilterPresent}isChildFilterPresent(){return this.isColumnFilterPresent()||this.isQuickFilterPresent()||this.isExternalFilterPresent()||this.isAdvancedFilterPresent()}isAdvancedFilterPresent(){return this.isAdvancedFilterEnabled()&&this.advancedFilterService.isFilterPresent()}onAdvancedFilterEnabledChanged(e){var t;e?this.allColumnFilters.size&&(this.allColumnFilters.forEach(e=>this.disposeFilterWrapper(e,"advancedFilterEnabled")),this.onFilterChanged({source:"advancedFilter"})):(null===(t=this.advancedFilterService)||void 0===t?void 0:t.isFilterPresent())&&(this.advancedFilterService.setModel(null),this.onFilterChanged({source:"advancedFilter"}))}isAdvancedFilterEnabled(){var e;return null===(e=this.advancedFilterService)||void 0===e?void 0:e.isEnabled()}isAdvancedFilterHeaderActive(){return this.isAdvancedFilterEnabled()&&this.advancedFilterService.isHeaderActive()}doAggregateFiltersPass(e,t){return this.doColumnFiltersPass(e,t,!0)}updateActiveFilters(){this.activeColumnFilters.length=0,this.activeAggregateFilters.length=0;const e=e=>!!e&&(e.isFilterActive?e.isFilterActive():(console.warn("AG Grid: Filter is missing isFilterActive() method"),!1)),t=!!this.gridOptionsService.getGroupAggFiltering(),a=e=>{if(!e.isPrimary())return!0;const a=!this.columnModel.isPivotActive();return!(!e.isValueActive()||!a)&&(!!this.columnModel.isPivotMode()||t)};this.allColumnFilters.forEach(t=>{if(t.filterPromise.resolveNow(!1,e)){const e=t.filterPromise.resolveNow(null,e=>e);a(t.column)?this.activeAggregateFilters.push(e):this.activeColumnFilters.push(e)}})}updateFilterFlagInColumns(e,t){this.allColumnFilters.forEach(a=>{const r=a.filterPromise.resolveNow(!1,e=>e.isFilterActive());a.column.setFilterActive(r,e,t)})}isAnyFilterPresent(){return this.isQuickFilterPresent()||this.isColumnFilterPresent()||this.isAggregateFilterPresent()||this.isExternalFilterPresent()||this.isAdvancedFilterPresent()}doColumnFiltersPass(e,t,a){const{data:r,aggData:o}=e,i=a?this.activeAggregateFilters:this.activeColumnFilters,n=a?o:r;for(let a=0;a<i.length;a++){const r=i[a];if(null!=r&&r!==t){if("function"!=typeof r.doesFilterPass)throw new Error("Filter is missing method doesFilterPass");if(!r.doesFilterPass({node:e,data:n}))return!1}}return!0}resetQuickFilterCache(){this.quickFilterService.resetQuickFilterCache()}refreshFiltersForAggregations(){this.gridOptionsService.getGroupAggFiltering()&&this.onFilterChanged()}callOnFilterChangedOutsideRenderCycle(e){const t=()=>this.onFilterChanged(e);this.rowRenderer.isRefreshInProgress()?setTimeout(t,0):t()}onFilterChanged(e={}){const{source:t,filterInstance:a,additionalEventAttributes:r,columns:o}=e;this.updateDependantFilters(),this.updateActiveFilters(),this.updateFilterFlagInColumns("filterChanged",r),this.externalFilterPresent=this.isExternalFilterPresentCallback(),this.allColumnFilters.forEach(e=>{e.filterPromise&&e.filterPromise.then(e=>{e&&e!==a&&e.onAnyFilterChanged&&e.onAnyFilterChanged()})});const i={source:t,type:st.EVENT_FILTER_CHANGED,columns:o||[]};r&&I(i,r),this.processingFilterChange=!0,this.eventService.dispatchEvent(i),this.processingFilterChange=!1}isSuppressFlashingCellsBecauseFiltering(){var e;return!(null!==(e=this.gridOptionsService.get("allowShowChangeAfterFilter"))&&void 0!==e&&e)&&this.processingFilterChange}isQuickFilterPresent(){return this.quickFilterService.isQuickFilterPresent()}updateAggFiltering(){this.aggFiltering=!!this.gridOptionsService.getGroupAggFiltering()}isAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&(this.aggFiltering||this.columnModel.isPivotMode())}isNonAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&!(this.aggFiltering||this.columnModel.isPivotMode())}doesRowPassOtherFilters(e,t){return this.doesRowPassFilter({rowNode:t,filterInstanceToSkip:e})}doesRowPassAggregateFilters(e){return!(this.isAggregateQuickFilterPresent()&&!this.quickFilterService.doesRowPassQuickFilter(e.rowNode))&&!(this.isAggregateFilterPresent()&&!this.doAggregateFiltersPass(e.rowNode,e.filterInstanceToSkip))}doesRowPassFilter(e){return!(this.isNonAggregateQuickFilterPresent()&&!this.quickFilterService.doesRowPassQuickFilter(e.rowNode))&&(!(this.isExternalFilterPresent()&&!this.doesExternalFilterPass(e.rowNode))&&(!(this.isColumnFilterPresent()&&!this.doColumnFiltersPass(e.rowNode,e.filterInstanceToSkip))&&!(this.isAdvancedFilterPresent()&&!this.advancedFilterService.doesFilterPass(e.rowNode))))}onNewRowsLoaded(e){this.allColumnFilters.forEach(e=>{e.filterPromise.then(e=>{e.onNewRowsLoaded&&e.onNewRowsLoaded()})}),this.updateFilterFlagInColumns(e,{afterDataChange:!0}),this.updateActiveFilters()}createValueGetter(e){return({node:t})=>this.valueService.getValue(e,t,!0)}createGetValue(e){return(t,a)=>{const r=a?this.columnModel.getGridColumn(a):e;return r?this.valueService.getValue(r,t,!0):void 0}}getFilterComponent(e,t,a=!0){var r;if(a)return(null===(r=this.getOrCreateFilterWrapper(e,t))||void 0===r?void 0:r.filterPromise)||null;const o=this.cachedFilter(e);return o?o.filterPromise:null}isFilterActive(e){const t=this.cachedFilter(e);return!!t&&t.filterPromise.resolveNow(!1,e=>e.isFilterActive())}getOrCreateFilterWrapper(e,t){if(!e.isFilterAllowed())return null;let a=this.cachedFilter(e);return a?"NO_UI"!==t&&this.putIntoGui(a,t):(a=this.createFilterWrapper(e,t),this.setColumnFilterWrapper(e,a)),a}cachedFilter(e){return this.allColumnFilters.get(e.getColId())}getDefaultFilter(e){let t;if(oe.__isRegistered(re.SetFilterModule,this.context.getGridId()))t="agSetColumnFilter";else{const a=this.dataTypeService.getBaseDataType(e);t="number"===a?"agNumberColumnFilter":"date"===a||"dateString"===a?"agDateColumnFilter":"agTextColumnFilter"}return t}getDefaultFloatingFilter(e){let t;if(oe.__isRegistered(re.SetFilterModule,this.context.getGridId()))t="agSetColumnFloatingFilter";else{const a=this.dataTypeService.getBaseDataType(e);t="number"===a?"agNumberColumnFloatingFilter":"date"===a||"dateString"===a?"agDateColumnFloatingFilter":"agTextColumnFloatingFilter"}return t}createFilterInstance(e){const t=this.getDefaultFilter(e),a=e.getColDef();let r;const o=Object.assign(Object.assign({},this.createFilterParams(e,a)),{filterModifiedCallback:()=>this.filterModifiedCallbackFactory(r,e)(),filterChangedCallback:t=>this.filterChangedCallbackFactory(r,e)(t),doesRowPassOtherFilter:e=>this.doesRowPassOtherFilters(r,e)}),i=this.userComponentFactory.getFilterDetails(a,o,t);return i?{filterPromise:()=>{const e=i.newAgStackInstance();return e&&e.then(e=>r=e),e},compDetails:i}:{filterPromise:null,compDetails:null}}createFilterParams(e,t){return this.gridOptionsService.addGridCommonParams({column:e,colDef:L(t),rowModel:this.rowModel,filterChangedCallback:()=>{},filterModifiedCallback:()=>{},valueGetter:this.createValueGetter(e),getValue:this.createGetValue(e),doesRowPassOtherFilter:()=>!0})}createFilterWrapper(e,t){var a;const r={column:e,filterPromise:null,compiledElement:null,guiPromise:ao.resolve(null),compDetails:null},{filterPromise:o,compDetails:i}=this.createFilterInstance(e);return r.filterPromise=null!==(a=null==o?void 0:o())&&void 0!==a?a:null,r.compDetails=i,o&&this.putIntoGui(r,t),r}putIntoGui(e,t){const a=document.createElement("div");a.className="ag-filter",e.guiPromise=new ao(r=>{e.filterPromise.then(o=>{let i=o.getGui();S(i)||console.warn(`AG Grid: getGui method from filter returned ${i}, it should be a DOM element or an HTML template string.`),"string"==typeof i&&(i=Cr(i)),a.appendChild(i),r(a);const n={type:st.EVENT_FILTER_OPENED,column:e.column,source:t,eGui:a};this.eventService.dispatchEvent(n)})})}onColumnsChanged(){const e=[];this.allColumnFilters.forEach((t,a)=>{let r;r=t.column.isPrimary()?this.columnModel.getPrimaryColumn(a):this.columnModel.getGridColumn(a),r||(e.push(t.column),this.disposeFilterWrapper(t,"columnChanged"),this.disposeColumnListener(a))}),e.length>0?this.onFilterChanged({columns:e,source:"api"}):this.updateDependantFilters()}updateDependantFilters(){const e=this.columnModel.getGroupAutoColumns();null==e||e.forEach(e=>{"agGroupColumnFilter"===e.getColDef().filter&&this.getOrCreateFilterWrapper(e,"NO_UI")})}isFilterAllowed(e){var t,a;if(this.isAdvancedFilterEnabled())return!1;if(!e.isFilterAllowed())return!1;const r=this.allColumnFilters.get(e.getColId());return null===(a=null===(t=null==r?void 0:r.filterPromise)||void 0===t?void 0:t.resolveNow(!0,e=>"function"!=typeof(null==e?void 0:e.isFilterAllowed)||(null==e?void 0:e.isFilterAllowed())))||void 0===a||a}getFloatingFilterCompDetails(e,t){const a=t=>{const a=this.getFilterComponent(e,"NO_UI");null!=a&&a.then(e=>{t(Wn(e))})},r=e.getColDef(),o=Object.assign(Object.assign({},this.createFilterParams(e,r)),{filterChangedCallback:()=>a(t=>this.filterChangedCallbackFactory(t,e)())}),i=this.userComponentFactory.mergeParamsWithApplicationProvidedParams(r,Sn,o);let n=this.userComponentFactory.getDefaultFloatingFilterType(r,()=>this.getDefaultFloatingFilter(e));null==n&&(n="agReadOnlyFloatingFilter");const l={column:e,filterParams:i,currentParentModel:()=>this.getCurrentFloatingFilterParentModel(e),parentFilterInstance:a,showParentFilter:t,suppressFilterButton:!1};return this.userComponentFactory.getFloatingFilterCompDetails(r,l,n)}getCurrentFloatingFilterParentModel(e){const t=this.getFilterComponent(e,"NO_UI",!1);return t?t.resolveNow(null,e=>e&&e.getModel()):null}destroyFilter(e,t="api"){const a=e.getColId(),r=this.allColumnFilters.get(a);this.disposeColumnListener(a),delete this.initialFilterModel[a],r&&(this.disposeFilterWrapper(r,t),this.onFilterChanged({columns:[e],source:"api"}))}disposeColumnListener(e){const t=this.allColumnListeners.get(e);t&&(this.allColumnListeners.delete(e),t())}disposeFilterWrapper(e,t){e.filterPromise.then(a=>{this.getContext().destroyBean(a),e.column.setFilterActive(!1,"filterDestroyed"),this.allColumnFilters.delete(e.column.getColId());const r={type:st.EVENT_FILTER_DESTROYED,source:t,column:e.column};this.eventService.dispatchEvent(r)})}filterModifiedCallbackFactory(e,t){return()=>{const a={type:st.EVENT_FILTER_MODIFIED,column:t,filterInstance:e};this.eventService.dispatchEvent(a)}}filterChangedCallbackFactory(e,t){return a=>{var r;const o=null!==(r=null==a?void 0:a.source)&&void 0!==r?r:"api",i={filter:e,additionalEventAttributes:a,columns:[t],source:o};this.callOnFilterChangedOutsideRenderCycle(i)}}checkDestroyFilter(e){const t=this.allColumnFilters.get(e);if(!t)return;const a=t.column,{compDetails:r}=a.isFilterAllowed()?this.createFilterInstance(a):{compDetails:null};if(this.areFilterCompsDifferent(t.compDetails,r))return void this.destroyFilter(a,"paramsUpdated");const o=a.getColDef().filterParams;t.filterPromise?t.filterPromise.then(e=>{!1===(!(null==e?void 0:e.refresh)||e.refresh(Object.assign(Object.assign(Object.assign({},this.createFilterParams(a,a.getColDef())),{filterModifiedCallback:this.filterModifiedCallbackFactory(e,a),filterChangedCallback:this.filterChangedCallbackFactory(e,a),doesRowPassOtherFilter:t=>this.doesRowPassOtherFilters(e,t)}),o)))&&this.destroyFilter(a,"paramsUpdated")}):this.destroyFilter(a,"paramsUpdated")}setColumnFilterWrapper(e,t){const a=e.getColId();this.allColumnFilters.set(a,t),this.allColumnListeners.set(a,this.addManagedListener(e,Ee.EVENT_COL_DEF_CHANGED,()=>this.checkDestroyFilter(a)))}areFilterCompsDifferent(e,t){if(!t||!e)return!0;const{componentClass:a}=e,{componentClass:r}=t;return!(a===r||(null==a?void 0:a.render)&&(null==r?void 0:r.render)&&a.render===r.render)}getAdvancedFilterModel(){return this.isAdvancedFilterEnabled()?this.advancedFilterService.getModel():null}setAdvancedFilterModel(e){this.isAdvancedFilterEnabled()&&(this.dataTypeService.isPendingInference()?this.advancedFilterModelUpdateQueue.push(e):(this.advancedFilterService.setModel(null!=e?e:null),this.onFilterChanged({source:"advancedFilter"})))}showAdvancedFilterBuilder(e){this.isAdvancedFilterEnabled()&&this.advancedFilterService.getCtrl().toggleFilterBuilder(e,!0)}updateAdvancedFilterColumns(){this.isAdvancedFilterEnabled()&&this.advancedFilterService.updateValidity()&&this.onFilterChanged({source:"advancedFilter"})}hasFloatingFilters(){if(this.isAdvancedFilterEnabled())return!1;return this.columnModel.getAllGridColumns().some(e=>e.getColDef().floatingFilter)}getFilterInstance(e,t){if(this.isAdvancedFilterEnabled())return void this.warnAdvancedFilters();const a=this.getFilterInstanceImpl(e,e=>{if(!t)return;const a=Wn(e);t(a)});return Wn(a)}getColumnFilterInstance(e){return new Promise(t=>{this.getFilterInstance(e,e=>{t(e)})})}getFilterInstanceImpl(e,t){const a=this.columnModel.getPrimaryColumn(e);if(!a)return;const r=this.getFilterComponent(a,"NO_UI"),o=r&&r.resolveNow(null,e=>e);return o?setTimeout(t,0,o):r&&r.then(e=>{t(e)}),o}warnAdvancedFilters(){q("Column Filter API methods have been disabled as Advanced Filters are enabled.")}setupAdvancedFilterHeaderComp(e){var t;null===(t=this.advancedFilterService)||void 0===t||t.getCtrl().setupHeaderComp(e)}getHeaderRowCount(){return this.isAdvancedFilterHeaderActive()?1:0}getHeaderHeight(){return this.isAdvancedFilterHeaderActive()?this.advancedFilterService.getCtrl().getHeaderHeight():0}processFilterModelUpdateQueue(){this.filterModelUpdateQueue.forEach(({model:e,source:t})=>this.setFilterModel(e,t)),this.filterModelUpdateQueue=[],this.columnFilterModelUpdateQueue.forEach(({key:e,model:t,resolve:a})=>{this.setColumnFilterModel(e,t).then(()=>a())}),this.columnFilterModelUpdateQueue=[],this.advancedFilterModelUpdateQueue.forEach(e=>this.setAdvancedFilterModel(e)),this.advancedFilterModelUpdateQueue=[]}getColumnFilterModel(e){const t=this.getFilterWrapper(e);return t?this.getModelFromFilterWrapper(t):null}setColumnFilterModel(e,t){if(this.isAdvancedFilterEnabled())return this.warnAdvancedFilters(),Promise.resolve();if(this.dataTypeService.isPendingInference()){let a=()=>{};const r=new Promise(e=>{a=e});return this.columnFilterModelUpdateQueue.push({key:e,model:t,resolve:a}),r}const a=this.columnModel.getPrimaryColumn(e),r=a?this.getOrCreateFilterWrapper(a,"NO_UI"):null;return r?(o=this.setModelOnFilterWrapper(r.filterPromise,t),new Promise(e=>{o.then(t=>e(t))})):Promise.resolve();var o}getFilterWrapper(e){var t;const a=this.columnModel.getPrimaryColumn(e);return a&&null!==(t=this.cachedFilter(a))&&void 0!==t?t:null}destroy(){super.destroy(),this.allColumnFilters.forEach(e=>this.disposeFilterWrapper(e,"gridDestroyed")),this.allColumnListeners.clear()}};Qn([de("valueService")],Jn.prototype,"valueService",void 0),Qn([de("columnModel")],Jn.prototype,"columnModel",void 0),Qn([de("rowModel")],Jn.prototype,"rowModel",void 0),Qn([de("userComponentFactory")],Jn.prototype,"userComponentFactory",void 0),Qn([de("rowRenderer")],Jn.prototype,"rowRenderer",void 0),Qn([de("dataTypeService")],Jn.prototype,"dataTypeService",void 0),Qn([de("quickFilterService")],Jn.prototype,"quickFilterService",void 0),Qn([ce("advancedFilterService")],Jn.prototype,"advancedFilterService",void 0),Qn([le],Jn.prototype,"init",null),Jn=Qn([ge("filterManager")],Jn);class Xn extends uo{constructor(e,t){super(e),this.ctrl=t}getCtrl(){return this.ctrl}}var Zn=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class $n extends Xn{constructor(e){super($n.TEMPLATE,e)}postConstruct(){const e=this.getGui(),t={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),addOrRemoveBodyCssClass:(e,t)=>this.eFloatingFilterBody.classList.toggle(e,t),setButtonWrapperDisplayed:e=>rr(this.eButtonWrapper,e),setCompDetails:e=>this.setCompDetails(e),getFloatingFilterComp:()=>this.compPromise,setWidth:t=>e.style.width=t,setMenuIcon:e=>this.eButtonShowMainFilter.appendChild(e)};this.ctrl.setComp(t,e,this.eButtonShowMainFilter,this.eFloatingFilterBody)}setCompDetails(e){if(!e)return this.destroyFloatingFilterComp(),void(this.compPromise=null);this.compPromise=e.newAgStackInstance(),this.compPromise.then(e=>this.afterCompCreated(e))}destroyFloatingFilterComp(){this.floatingFilterComp&&(this.eFloatingFilterBody.removeChild(this.floatingFilterComp.getGui()),this.floatingFilterComp=this.destroyBean(this.floatingFilterComp))}afterCompCreated(e){e&&(this.isAlive()?(this.destroyFloatingFilterComp(),this.floatingFilterComp=e,this.eFloatingFilterBody.appendChild(e.getGui()),e.afterGuiAttached&&e.afterGuiAttached()):this.destroyBean(e))}}$n.TEMPLATE='<div class="ag-header-cell ag-floating-filter" role="gridcell">\n <div ref="eFloatingFilterBody" role="presentation"></div>\n <div class="ag-floating-filter-button ag-hidden" ref="eButtonWrapper" role="presentation">\n <button type="button" class="ag-button ag-floating-filter-button-button" ref="eButtonShowMainFilter" tabindex="-1"></button>\n </div>\n </div>',Zn([ho("eFloatingFilterBody")],$n.prototype,"eFloatingFilterBody",void 0),Zn([ho("eButtonWrapper")],$n.prototype,"eButtonWrapper",void 0),Zn([ho("eButtonShowMainFilter")],$n.prototype,"eButtonShowMainFilter",void 0),Zn([le],$n.prototype,"postConstruct",null),Zn([se],$n.prototype,"destroyFloatingFilterComp",null);var el,tl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e.AUTO_HEIGHT="ag-layout-auto-height",e.NORMAL="ag-layout-normal",e.PRINT="ag-layout-print"}(el||(el={}));class al extends at{constructor(e){super(),this.view=e}postConstruct(){this.addManagedPropertyListener("domLayout",this.updateLayoutClasses.bind(this)),this.updateLayoutClasses()}updateLayoutClasses(){const e=this.getDomLayout(),t={autoHeight:"autoHeight"===e,normal:"normal"===e,print:"print"===e},a=t.autoHeight?el.AUTO_HEIGHT:t.print?el.PRINT:el.NORMAL;this.view.updateLayoutClasses(a,t)}getDomLayout(){var e;const t=null!==(e=this.gridOptionsService.get("domLayout"))&&void 0!==e?e:"normal";return-1===["normal","print","autoHeight"].indexOf(t)?(q(t+" is not valid for DOM Layout, valid values are 'normal', 'autoHeight', 'print'."),"normal"):t}}tl([le],al.prototype,"postConstruct",null);var rl,ol,il=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal"}(rl||(rl={})),function(e){e[e.Container=0]="Container",e[e.FakeContainer=1]="FakeContainer"}(ol||(ol={}));class nl extends at{constructor(e){super(),this.lastScrollSource=[null,null],this.scrollLeft=-1,this.nextScrollTop=-1,this.scrollTop=-1,this.lastOffsetHeight=-1,this.lastScrollTop=-1,this.eBodyViewport=e,this.resetLastHScrollDebounced=Z(()=>this.lastScrollSource[rl.Horizontal]=null,500),this.resetLastVScrollDebounced=Z(()=>this.lastScrollSource[rl.Vertical]=null,500)}postConstruct(){this.enableRtl=this.gridOptionsService.get("enableRtl"),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this)),this.ctrlsService.whenReady(e=>{this.centerRowContainerCtrl=e.centerRowContainerCtrl,this.onDisplayedColumnsWidthChanged(),this.addScrollListener()})}addScrollListener(){const e=this.ctrlsService.getFakeHScrollComp(),t=this.ctrlsService.getFakeVScrollComp();this.addManagedListener(this.centerRowContainerCtrl.getViewportElement(),"scroll",this.onHScroll.bind(this)),e.onScrollCallback(this.onFakeHScroll.bind(this));const a=this.gridOptionsService.get("debounceVerticalScrollbar"),r=a?Z(this.onVScroll.bind(this),100):this.onVScroll.bind(this),o=a?Z(this.onFakeVScroll.bind(this),100):this.onFakeVScroll.bind(this);this.addManagedListener(this.eBodyViewport,"scroll",r),t.onScrollCallback(o)}onDisplayedColumnsWidthChanged(){this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloatingCenter()}horizontallyScrollHeaderCenterAndFloatingCenter(e){if(null==this.centerRowContainerCtrl)return;void 0===e&&(e=this.centerRowContainerCtrl.getCenterViewportScrollLeft());const t=this.enableRtl?e:-e,a=this.ctrlsService.getTopCenterRowContainerCtrl(),r=this.ctrlsService.getStickyTopCenterRowContainerCtrl(),o=this.ctrlsService.getBottomCenterRowContainerCtrl(),i=this.ctrlsService.getFakeHScrollComp();this.ctrlsService.getHeaderRowContainerCtrl().setHorizontalScroll(-t),o.setContainerTranslateX(t),a.setContainerTranslateX(t),r.setContainerTranslateX(t);const n=this.centerRowContainerCtrl.getViewportElement(),l=this.lastScrollSource[rl.Horizontal]===ol.Container;e=Math.abs(e),l?i.setScrollPosition(e):mr(n,e,this.enableRtl)}isControllingScroll(e,t){return null==this.lastScrollSource[t]?(this.lastScrollSource[t]=e,!0):this.lastScrollSource[t]===e}onFakeHScroll(){this.isControllingScroll(ol.FakeContainer,rl.Horizontal)&&this.onHScrollCommon(ol.FakeContainer)}onHScroll(){this.isControllingScroll(ol.Container,rl.Horizontal)&&this.onHScrollCommon(ol.Container)}onHScrollCommon(e){const t=this.centerRowContainerCtrl.getViewportElement(),{scrollLeft:a}=t;if(this.shouldBlockScrollUpdate(rl.Horizontal,a,!0))return;let r;r=e===ol.Container?hr(t,this.enableRtl):this.ctrlsService.getFakeHScrollComp().getScrollPosition(),this.doHorizontalScroll(Math.round(r)),this.resetLastHScrollDebounced()}onFakeVScroll(){this.isControllingScroll(ol.FakeContainer,rl.Vertical)&&this.onVScrollCommon(ol.FakeContainer)}onVScroll(){this.isControllingScroll(ol.Container,rl.Vertical)&&this.onVScrollCommon(ol.Container)}onVScrollCommon(e){let t;t=e===ol.Container?this.eBodyViewport.scrollTop:this.ctrlsService.getFakeVScrollComp().getScrollPosition(),this.shouldBlockScrollUpdate(rl.Vertical,t,!0)||(this.animationFrameService.setScrollTop(t),this.nextScrollTop=t,e===ol.Container?this.ctrlsService.getFakeVScrollComp().setScrollPosition(t):this.eBodyViewport.scrollTop=t,this.gridOptionsService.get("suppressAnimationFrame")?this.scrollGridIfNeeded():this.animationFrameService.schedule(),this.resetLastVScrollDebounced())}doHorizontalScroll(e){const t=this.ctrlsService.getFakeHScrollComp().getScrollPosition();this.scrollLeft===e&&e===t||(this.scrollLeft=e,this.fireScrollEvent(rl.Horizontal),this.horizontallyScrollHeaderCenterAndFloatingCenter(e),this.centerRowContainerCtrl.onHorizontalViewportChanged(!0))}fireScrollEvent(e){const t={type:st.EVENT_BODY_SCROLL,direction:e===rl.Horizontal?"horizontal":"vertical",left:this.scrollLeft,top:this.scrollTop};this.eventService.dispatchEvent(t),window.clearTimeout(this.scrollTimer),this.scrollTimer=void 0,this.scrollTimer=window.setTimeout(()=>{const e=Object.assign(Object.assign({},t),{type:st.EVENT_BODY_SCROLL_END});this.eventService.dispatchEvent(e)},100)}shouldBlockScrollUpdate(e,t,a=!1){return!(a&&!Ma())&&(e===rl.Vertical?this.shouldBlockVerticalScroll(t):this.shouldBlockHorizontalScroll(t))}shouldBlockVerticalScroll(e){const t=sr(this.eBodyViewport),{scrollHeight:a}=this.eBodyViewport;return e<0||e+t>a}shouldBlockHorizontalScroll(e){const t=this.centerRowContainerCtrl.getCenterWidth(),{scrollWidth:a}=this.centerRowContainerCtrl.getViewportElement();if(this.enableRtl&&pr()){if(e>0)return!0}else if(e<0)return!0;return Math.abs(e)+t>a}redrawRowsAfterScroll(){this.fireScrollEvent(rl.Vertical)}checkScrollLeft(){this.scrollLeft!==this.centerRowContainerCtrl.getCenterViewportScrollLeft()&&this.onHScrollCommon(ol.Container)}scrollGridIfNeeded(){const e=this.scrollTop!=this.nextScrollTop;return e&&(this.scrollTop=this.nextScrollTop,this.redrawRowsAfterScroll()),e}setHorizontalScrollPosition(e,t=!1){const a=this.centerRowContainerCtrl.getViewportElement().scrollWidth-this.centerRowContainerCtrl.getCenterWidth();!t&&this.shouldBlockScrollUpdate(rl.Horizontal,e)&&(e=this.enableRtl&&pr()?e>0?0:a:Math.min(Math.max(e,0),a)),mr(this.centerRowContainerCtrl.getViewportElement(),Math.abs(e),this.enableRtl),this.doHorizontalScroll(e)}setVerticalScrollPosition(e){this.eBodyViewport.scrollTop=e}getVScrollPosition(){this.lastScrollTop=this.eBodyViewport.scrollTop,this.lastOffsetHeight=this.eBodyViewport.offsetHeight;return{top:this.lastScrollTop,bottom:this.lastScrollTop+this.lastOffsetHeight}}getApproximateVScollPosition(){return this.lastScrollTop>=0&&this.lastOffsetHeight>=0?{top:this.scrollTop,bottom:this.scrollTop+this.lastOffsetHeight}:this.getVScrollPosition()}getHScrollPosition(){return this.centerRowContainerCtrl.getHScrollPosition()}isHorizontalScrollShowing(){return this.centerRowContainerCtrl.isHorizontalScrollShowing()}scrollHorizontally(e){const t=this.centerRowContainerCtrl.getViewportElement().scrollLeft;return this.setHorizontalScrollPosition(t+e),this.centerRowContainerCtrl.getViewportElement().scrollLeft-t}scrollToTop(){this.eBodyViewport.scrollTop=0}ensureNodeVisible(e,t=null){const a=this.rowModel.getRowCount();let r=-1;for(let t=0;t<a;t++){const a=this.rowModel.getRow(t);if("function"==typeof e){const o=e;if(a&&o(a)){r=t;break}}else if(e===a||e===a.data){r=t;break}}r>=0&&this.ensureIndexVisible(r,t)}ensureIndexVisible(e,t){if(this.gridOptionsService.isDomLayout("print"))return;const a=this.paginationProxy.getRowCount();if("number"!=typeof e||e<0||e>=a)return void console.warn("AG Grid: Invalid row index for ensureIndexVisible: "+e);const r=this.gridOptionsService.get("pagination")&&!this.gridOptionsService.get("suppressPaginationPanel");this.getFrameworkOverrides().wrapIncoming(()=>{r||this.paginationProxy.goToPageWithIndex(e);const a=this.ctrlsService.getGridBodyCtrl().getStickyTopHeight(),o=this.paginationProxy.getRow(e);let i;do{const e=o.rowTop,r=o.rowHeight,n=this.paginationProxy.getPixelOffset(),l=o.rowTop-n,s=l+o.rowHeight,g=this.getVScrollPosition(),d=this.heightScaler.getDivStretchOffset(),c=g.top+d,u=g.bottom+d,p=u-c,h=this.heightScaler.getScrollPositionForPixel(l),m=this.heightScaler.getScrollPositionForPixel(s-p),v=Math.min((h+m)/2,l),f=c+a>l,w=u<s;let b=null;"top"===t?b=h:"bottom"===t?b=m:"middle"===t?b=v:f?b=h-a:w&&(b=m),null!==b&&(this.setVerticalScrollPosition(b),this.rowRenderer.redraw({afterScroll:!0})),i=e!==o.rowTop||r!==o.rowHeight}while(i);this.animationFrameService.flushAllFrames()})}ensureColumnVisible(e,t="auto"){const a=this.columnModel.getGridColumn(e);if(!a)return;if(a.isPinned())return;if(!this.columnModel.isColumnDisplayed(a))return;const r=this.getPositionedHorizontalScroll(a,t);this.getFrameworkOverrides().wrapIncoming(()=>{null!==r&&this.centerRowContainerCtrl.setCenterViewportScrollLeft(r),this.centerRowContainerCtrl.onHorizontalViewportChanged(),this.animationFrameService.flushAllFrames()})}setScrollPosition(e,t){this.getFrameworkOverrides().wrapIncoming(()=>{this.centerRowContainerCtrl.setCenterViewportScrollLeft(t),this.setVerticalScrollPosition(e),this.rowRenderer.redraw({afterScroll:!0}),this.animationFrameService.flushAllFrames()})}getPositionedHorizontalScroll(e,t){const{columnBeforeStart:a,columnAfterEnd:r}=this.isColumnOutsideViewport(e),o=this.centerRowContainerCtrl.getCenterWidth()<e.getActualWidth(),i=this.centerRowContainerCtrl.getCenterWidth(),n=this.enableRtl;let l=(n?a:r)||o,s=n?r:a;"auto"!==t&&(l="start"===t,s="end"===t);const g="middle"===t;if(l||s||g){const{colLeft:t,colMiddle:a,colRight:r}=this.getColumnBounds(e);return g?a-i/2:l?n?r:t:n?t-i:r-i}return null}isColumnOutsideViewport(e){const{start:t,end:a}=this.getViewportBounds(),{colLeft:r,colRight:o}=this.getColumnBounds(e),i=this.enableRtl;return{columnBeforeStart:i?t>o:a<o,columnAfterEnd:i?a<r:t>r}}getColumnBounds(e){const t=this.enableRtl,a=this.columnModel.getBodyContainerWidth(),r=e.getActualWidth(),o=e.getLeft(),i=t?-1:1,n=t?a-o:o;return{colLeft:n,colMiddle:n+r/2*i,colRight:n+r*i}}getViewportBounds(){const e=this.centerRowContainerCtrl.getCenterWidth(),t=this.centerRowContainerCtrl.getCenterViewportScrollLeft();return{start:t,end:e+t,width:e}}}il([de("ctrlsService")],nl.prototype,"ctrlsService",void 0),il([de("animationFrameService")],nl.prototype,"animationFrameService",void 0),il([de("paginationProxy")],nl.prototype,"paginationProxy",void 0),il([de("rowModel")],nl.prototype,"rowModel",void 0),il([de("rowContainerHeightService")],nl.prototype,"heightScaler",void 0),il([de("rowRenderer")],nl.prototype,"rowRenderer",void 0),il([de("columnModel")],nl.prototype,"columnModel",void 0),il([le],nl.prototype,"postConstruct",null);var ll=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class sl extends at{constructor(e){super(),this.isMultiRowDrag=!1,this.eContainer=e}postConstruct(){this.gridOptionsService.isRowModelType("clientSide")&&(this.clientSideRowModel=this.rowModel),this.ctrlsService.whenReady(()=>{const e=this.ctrlsService.getGridBodyCtrl();this.autoScrollService=new Gn({scrollContainer:e.getBodyViewportElement(),scrollAxis:"y",getVerticalPosition:()=>e.getScrollFeature().getVScrollPosition().top,setVerticalPosition:t=>e.getScrollFeature().setVerticalScrollPosition(t),onScrollCallback:()=>{this.onDragging(this.lastDraggingEvent)}})})}getContainer(){return this.eContainer}isInterestedIn(e){return e===Ni.RowDrag}getIconName(){return this.gridOptionsService.get("rowDragManaged")&&this.shouldPreventRowMove()?Ii.ICON_NOT_ALLOWED:Ii.ICON_MOVE}shouldPreventRowMove(){if(this.columnModel.getRowGroupColumns().length)return!0;if(this.filterManager.isAnyFilterPresent())return!0;return!!this.sortController.isSortActive()}getRowNodes(e){if(!this.isFromThisGrid(e))return e.dragItem.rowNodes||[];const t=this.gridOptionsService.get("rowDragMultiRow"),a=[...this.selectionService.getSelectedNodes()].sort((e,t)=>null==e.rowIndex||null==t.rowIndex?0:this.getRowIndexNumber(e)-this.getRowIndexNumber(t)),r=e.dragItem.rowNode;return t&&-1!==a.indexOf(r)?(this.isMultiRowDrag=!0,a):(this.isMultiRowDrag=!1,[r])}onDragEnter(e){e.dragItem.rowNodes=this.getRowNodes(e),this.dispatchGridEvent(st.EVENT_ROW_DRAG_ENTER,e),this.getRowNodes(e).forEach(e=>{e.setDragging(!0)}),this.onEnterOrDragging(e)}onDragging(e){this.onEnterOrDragging(e)}isFromThisGrid(e){const{dragSourceDomDataKey:t}=e.dragSource;return t===this.gridOptionsService.getDomDataKey()}isDropZoneWithinThisGrid(e){const t=this.ctrlsService.getGridBodyCtrl().getGui(),{dropZoneTarget:a}=e;return!t.contains(a)}onEnterOrDragging(e){this.dispatchGridEvent(st.EVENT_ROW_DRAG_MOVE,e),this.lastDraggingEvent=e;const t=this.mouseEventService.getNormalisedPosition(e).y;this.gridOptionsService.get("rowDragManaged")&&this.doManagedDrag(e,t),this.autoScrollService.check(e.event)}doManagedDrag(e,t){const a=this.isFromThisGrid(e),r=this.gridOptionsService.get("rowDragManaged"),o=e.dragItem.rowNodes;r&&this.shouldPreventRowMove()||(this.gridOptionsService.get("suppressMoveWhenRowDragging")||!a?this.isDropZoneWithinThisGrid(e)||this.clientSideRowModel.highlightRowAtPixel(o[0],t):this.moveRows(o,t))}getRowIndexNumber(e){return parseInt(Te(e.getRowIndexString().split("-")),10)}moveRowAndClearHighlight(e){const t=this.clientSideRowModel.getLastHighlightedRowNode(),a=t&&t.highlighted===Bn.Below,r=this.mouseEventService.getNormalisedPosition(e).y,o=e.dragItem.rowNodes;let i=a?1:0;if(this.isFromThisGrid(e))o.forEach(e=>{e.rowTop<r&&(i-=1)}),this.moveRows(o,r,i);else{const e=this.gridOptionsService.getCallback("getRowId");let t=this.clientSideRowModel.getRowIndexAtPixel(r)+1;this.clientSideRowModel.getHighlightPosition(r)===Bn.Above&&t--,this.clientSideRowModel.updateRowData({add:o.map(e=>e.data).filter(t=>!this.clientSideRowModel.getRowNode(e?e({data:t,level:0}):t.id)),addIndex:t})}this.clearRowHighlight()}clearRowHighlight(){this.clientSideRowModel.highlightRowAtPixel(null)}moveRows(e,t,a=0){this.clientSideRowModel.ensureRowsAtPixel(e,t,a)&&(this.focusService.clearFocusedCell(),this.rangeService&&this.rangeService.removeAllCellRanges())}addRowDropZone(e){if(!e.getContainer())return void q("addRowDropZone - A container target needs to be provided");if(this.dragAndDropService.findExternalZone(e))return void console.warn("AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.");let t={getContainer:e.getContainer};e.fromGrid?(e.fromGrid=void 0,t=e):(e.onDragEnter&&(t.onDragEnter=t=>{e.onDragEnter(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_ENTER,t))}),e.onDragLeave&&(t.onDragLeave=t=>{e.onDragLeave(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_LEAVE,t))}),e.onDragging&&(t.onDragging=t=>{e.onDragging(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_MOVE,t))}),e.onDragStop&&(t.onDragStop=t=>{e.onDragStop(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_END,t))})),this.dragAndDropService.addDropTarget(Object.assign({isInterestedIn:e=>e===Ni.RowDrag,getIconName:()=>Ii.ICON_MOVE,external:!0},t))}getRowDropZone(e){const t=this.getContainer.bind(this),a=this.onDragEnter.bind(this),r=this.onDragLeave.bind(this),o=this.onDragging.bind(this),i=this.onDragStop.bind(this);return e?{getContainer:t,onDragEnter:e.onDragEnter?t=>{a(t),e.onDragEnter(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_ENTER,t))}:a,onDragLeave:e.onDragLeave?t=>{r(t),e.onDragLeave(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_LEAVE,t))}:r,onDragging:e.onDragging?t=>{o(t),e.onDragging(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_MOVE,t))}:o,onDragStop:e.onDragStop?t=>{i(t),e.onDragStop(this.draggingToRowDragEvent(st.EVENT_ROW_DRAG_END,t))}:i,fromGrid:!0}:{getContainer:t,onDragEnter:a,onDragLeave:r,onDragging:o,onDragStop:i,fromGrid:!0}}draggingToRowDragEvent(e,t){const a=this.mouseEventService.getNormalisedPosition(t).y;let r,o,i=-1;switch(a>this.paginationProxy.getCurrentPageHeight()||(i=this.rowModel.getRowIndexAtPixel(a),r=this.rowModel.getRow(i)),t.vDirection){case Di.Down:o="down";break;case Di.Up:o="up";break;default:o=null}return this.gridOptionsService.addGridCommonParams({type:e,event:t.event,node:t.dragItem.rowNode,nodes:t.dragItem.rowNodes,overIndex:i,overNode:r,y:a,vDirection:o})}dispatchGridEvent(e,t){const a=this.draggingToRowDragEvent(e,t);this.eventService.dispatchEvent(a)}onDragLeave(e){this.dispatchGridEvent(st.EVENT_ROW_DRAG_LEAVE,e),this.stopDragging(e),this.gridOptionsService.get("rowDragManaged")&&this.clearRowHighlight(),this.isFromThisGrid(e)&&(this.isMultiRowDrag=!1)}onDragStop(e){this.dispatchGridEvent(st.EVENT_ROW_DRAG_END,e),this.stopDragging(e),!this.gridOptionsService.get("rowDragManaged")||!this.gridOptionsService.get("suppressMoveWhenRowDragging")&&this.isFromThisGrid(e)||this.isDropZoneWithinThisGrid(e)||this.moveRowAndClearHighlight(e)}stopDragging(e){this.autoScrollService.ensureCleared(),this.getRowNodes(e).forEach(e=>{e.setDragging(!1)})}}ll([de("dragAndDropService")],sl.prototype,"dragAndDropService",void 0),ll([de("rowModel")],sl.prototype,"rowModel",void 0),ll([de("paginationProxy")],sl.prototype,"paginationProxy",void 0),ll([de("columnModel")],sl.prototype,"columnModel",void 0),ll([de("focusService")],sl.prototype,"focusService",void 0),ll([de("sortController")],sl.prototype,"sortController",void 0),ll([de("filterManager")],sl.prototype,"filterManager",void 0),ll([de("selectionService")],sl.prototype,"selectionService",void 0),ll([de("mouseEventService")],sl.prototype,"mouseEventService",void 0),ll([de("ctrlsService")],sl.prototype,"ctrlsService",void 0),ll([ce("rangeService")],sl.prototype,"rangeService",void 0),ll([le],sl.prototype,"postConstruct",null);var gl,dl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e.ANIMATION_ON="ag-row-animation",e.ANIMATION_OFF="ag-row-no-animation"}(gl||(gl={}));class cl extends at{constructor(){super(...arguments),this.stickyTopHeight=0}getScrollFeature(){return this.bodyScrollFeature}getBodyViewportElement(){return this.eBodyViewport}setComp(e,t,a,r,o,i){this.comp=e,this.eGridBody=t,this.eBodyViewport=a,this.eTop=r,this.eBottom=o,this.eStickyTop=i,this.setCellTextSelection(this.gridOptionsService.get("enableCellTextSelection")),this.addManagedPropertyListener("enableCellTextSelection",e=>this.setCellTextSelection(e.currentValue)),this.createManagedBean(new al(this.comp)),this.bodyScrollFeature=this.createManagedBean(new nl(this.eBodyViewport)),this.addRowDragListener(),this.setupRowAnimationCssClass(),this.addEventListeners(),this.addFocusListeners([r,a,o,i]),this.onGridColumnsChanged(),this.addBodyViewportListener(),this.setFloatingHeights(),this.disableBrowserDragging(),this.addStopEditingWhenGridLosesFocus(),this.filterManager.setupAdvancedFilterHeaderComp(r),this.ctrlsService.registerGridBodyCtrl(this)}getComp(){return this.comp}addEventListeners(){this.addManagedListener(this.eventService,st.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_HEADER_HEIGHT_CHANGED,this.onHeaderHeightChanged.bind(this))}addFocusListeners(e){e.forEach(e=>{this.addManagedListener(e,"focusin",t=>{const{target:a}=t,r=nr(a,"ag-root",e);e.classList.toggle("ag-has-focus",!r)}),this.addManagedListener(e,"focusout",t=>{const{target:a,relatedTarget:r}=t,o=e.contains(r),i=nr(r,"ag-root",e);nr(a,"ag-root",e)||o&&!i||e.classList.remove("ag-has-focus")})})}setColumnMovingCss(e){this.comp.setColumnMovingCss("ag-column-moving",e)}setCellTextSelection(e=!1){this.comp.setCellSelectableCss("ag-selectable",e)}onScrollVisibilityChanged(){const e=this.scrollVisibleService.isVerticalScrollShowing();this.setVerticalScrollPaddingVisible(e),this.setStickyTopWidth(e);const t=`calc(100% + ${(e&&this.gridOptionsService.getScrollbarWidth()||0)+(Ha()?16:0)}px)`;this.animationFrameService.requestAnimationFrame(()=>this.comp.setBodyViewportWidth(t))}onGridColumnsChanged(){const e=this.columnModel.getAllGridColumns();this.comp.setColumnCount(e.length)}disableBrowserDragging(){this.addManagedListener(this.eGridBody,"dragstart",e=>{if(e.target instanceof HTMLImageElement)return e.preventDefault(),!1})}addStopEditingWhenGridLosesFocus(){if(!this.gridOptionsService.get("stopEditingWhenCellsLoseFocus"))return;const e=e=>{const a=e.relatedTarget;if(null===La(a))return void this.rowRenderer.stopEditing();let r=t.some(e=>e.contains(a))&&this.mouseEventService.isElementInThisGrid(a);if(!r){const e=this.popupService;r=e.getActivePopups().some(e=>e.contains(a))||e.isElementWithinCustomPopup(a)}r||this.rowRenderer.stopEditing()},t=[this.eBodyViewport,this.eBottom,this.eTop,this.eStickyTop];t.forEach(t=>this.addManagedListener(t,"focusout",e))}updateRowCount(){const e=this.headerNavigationService.getHeaderRowCount()+this.filterManager.getHeaderRowCount(),t=this.rowModel.isLastRowIndexKnown()?this.rowModel.getRowCount():-1,a=-1===t?-1:e+t;this.comp.setRowCount(a)}registerBodyViewportResizeListener(e){this.comp.registerBodyViewportResizeListener(e)}setVerticalScrollPaddingVisible(e){const t=e?"scroll":"hidden";this.comp.setPinnedTopBottomOverflowY(t)}isVerticalScrollShowing(){const e=this.gridOptionsService.get("alwaysShowVerticalScroll"),t=e?"ag-force-vertical-scroll":null,a=this.gridOptionsService.isDomLayout("normal");return this.comp.setAlwaysVerticalScrollClass(t,e),e||a&&kr(this.eBodyViewport)}setupRowAnimationCssClass(){const e=()=>{const e=this.gridOptionsService.isAnimateRows()&&!this.rowContainerHeightService.isStretching(),t=e?gl.ANIMATION_ON:gl.ANIMATION_OFF;this.comp.setRowAnimationCssOnBodyViewport(t,e)};e(),this.addManagedListener(this.eventService,st.EVENT_HEIGHT_SCALE_CHANGED,e),this.addManagedPropertyListener("animateRows",e)}getGridBodyElement(){return this.eGridBody}addBodyViewportListener(){const e=this.onBodyViewportContextMenu.bind(this);this.addManagedListener(this.eBodyViewport,"contextmenu",e),this.mockContextMenuForIPad(e),this.addManagedListener(this.eBodyViewport,"wheel",this.onBodyViewportWheel.bind(this)),this.addManagedListener(this.eStickyTop,"wheel",this.onStickyTopWheel.bind(this)),this.addFullWidthContainerWheelListener()}addFullWidthContainerWheelListener(){const e=this.eBodyViewport.querySelector(".ag-full-width-container"),t=this.eBodyViewport.querySelector(".ag-center-cols-viewport");e&&t&&this.addManagedListener(e,"wheel",e=>this.onFullWidthContainerWheel(e,t))}onFullWidthContainerWheel(e,t){!e.deltaX||Math.abs(e.deltaY)>Math.abs(e.deltaX)||!this.mouseEventService.isEventFromThisGrid(e)||(e.preventDefault(),t.scrollBy({left:e.deltaX}))}onBodyViewportContextMenu(e,t,a){if(!e&&!a)return;if(this.gridOptionsService.get("preventDefaultOnContextMenu")){(e||a).preventDefault()}const{target:r}=e||t;r!==this.eBodyViewport&&r!==this.ctrlsService.getCenterRowContainerCtrl().getViewportElement()||this.menuService.showContextMenu({mouseEvent:e,touchEvent:a,value:null,anchorToElement:this.eGridBody})}mockContextMenuForIPad(e){if(!Ma())return;const t=new gi(this.eBodyViewport);this.addManagedListener(t,gi.EVENT_LONG_TAP,t=>{e(void 0,t.touchStart,t.touchEvent)}),this.addDestroyFunc(()=>t.destroy())}onBodyViewportWheel(e){this.gridOptionsService.get("suppressScrollWhenPopupsAreOpen")&&this.popupService.hasAnchoredPopup()&&e.preventDefault()}onStickyTopWheel(e){e.preventDefault(),e.offsetY&&this.scrollVertically(e.deltaY)}getGui(){return this.eGridBody}scrollVertically(e){const t=this.eBodyViewport.scrollTop;return this.bodyScrollFeature.setVerticalScrollPosition(t+e),this.eBodyViewport.scrollTop-t}addRowDragListener(){this.rowDragFeature=this.createManagedBean(new sl(this.eBodyViewport)),this.dragAndDropService.addDropTarget(this.rowDragFeature)}getRowDragFeature(){return this.rowDragFeature}onPinnedRowDataChanged(){this.setFloatingHeights()}setFloatingHeights(){const{pinnedRowModel:e}=this;let t=e.getPinnedTopTotalHeight(),a=e.getPinnedBottomTotalHeight();this.comp.setTopHeight(t),this.comp.setBottomHeight(a),this.comp.setTopDisplay(t?"inherit":"none"),this.comp.setBottomDisplay(a?"inherit":"none"),this.setStickyTopOffsetTop()}setStickyTopHeight(e=0){this.comp.setStickyTopHeight(e+"px"),this.stickyTopHeight=e}getStickyTopHeight(){return this.stickyTopHeight}setStickyTopWidth(e){if(e){const e=this.gridOptionsService.getScrollbarWidth();this.comp.setStickyTopWidth(`calc(100% - ${e}px)`)}else this.comp.setStickyTopWidth("100%")}onHeaderHeightChanged(){this.setStickyTopOffsetTop()}setStickyTopOffsetTop(){const e=this.ctrlsService.getGridHeaderCtrl().getHeaderHeight()+this.filterManager.getHeaderHeight(),t=this.pinnedRowModel.getPinnedTopTotalHeight();let a=0;e>0&&(a+=e+1),t>0&&(a+=t+1),this.comp.setStickyTopTop(a+"px")}sizeColumnsToFit(e,t){const a=this.isVerticalScrollShowing()?this.gridOptionsService.getScrollbarWidth():0,r=gr(this.eGridBody)-a;r>0?this.columnModel.sizeColumnsToFit(r,"sizeColumnsToFit",!1,e):void 0===t?window.setTimeout(()=>{this.sizeColumnsToFit(e,100)},0):100===t?window.setTimeout(()=>{this.sizeColumnsToFit(e,500)},100):500===t?window.setTimeout(()=>{this.sizeColumnsToFit(e,-1)},500):console.warn("AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?")}addScrollEventListener(e){this.eBodyViewport.addEventListener("scroll",e,{passive:!0})}removeScrollEventListener(e){this.eBodyViewport.removeEventListener("scroll",e)}}var ul,pl;dl([de("animationFrameService")],cl.prototype,"animationFrameService",void 0),dl([de("rowContainerHeightService")],cl.prototype,"rowContainerHeightService",void 0),dl([de("ctrlsService")],cl.prototype,"ctrlsService",void 0),dl([de("columnModel")],cl.prototype,"columnModel",void 0),dl([de("scrollVisibleService")],cl.prototype,"scrollVisibleService",void 0),dl([de("menuService")],cl.prototype,"menuService",void 0),dl([de("headerNavigationService")],cl.prototype,"headerNavigationService",void 0),dl([de("dragAndDropService")],cl.prototype,"dragAndDropService",void 0),dl([de("pinnedRowModel")],cl.prototype,"pinnedRowModel",void 0),dl([de("rowRenderer")],cl.prototype,"rowRenderer",void 0),dl([de("popupService")],cl.prototype,"popupService",void 0),dl([de("mouseEventService")],cl.prototype,"mouseEventService",void 0),dl([de("rowModel")],cl.prototype,"rowModel",void 0),dl([de("filterManager")],cl.prototype,"filterManager",void 0),function(e){e[e.FILL=0]="FILL",e[e.RANGE=1]="RANGE"}(ul||(ul={})),function(e){e[e.VALUE=0]="VALUE",e[e.DIMENSION=1]="DIMENSION"}(pl||(pl={}));class hl{constructor(e,t){this.beans=e,this.cellCtrl=t}setComp(e,t){this.cellComp=e,this.eGui=t,this.onRangeSelectionChanged()}onRangeSelectionChanged(){this.cellComp&&(this.rangeCount=this.beans.rangeService.getCellRangeCount(this.cellCtrl.getCellPosition()),this.hasChartRange=this.getHasChartRange(),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected",0!==this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-1",1===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-2",2===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-3",3===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-4",this.rangeCount>=4),this.cellComp.addOrRemoveCssClass("ag-cell-range-chart",this.hasChartRange),Ea(this.eGui,this.rangeCount>0||void 0),this.cellComp.addOrRemoveCssClass("ag-cell-range-single-cell",this.isSingleCell()),this.updateRangeBorders(),this.refreshHandle())}updateRangeBorders(){const e=this.getRangeBorders(),t=this.isSingleCell(),a=!t&&e.top,r=!t&&e.right,o=!t&&e.bottom,i=!t&&e.left;this.cellComp.addOrRemoveCssClass("ag-cell-range-top",a),this.cellComp.addOrRemoveCssClass("ag-cell-range-right",r),this.cellComp.addOrRemoveCssClass("ag-cell-range-bottom",o),this.cellComp.addOrRemoveCssClass("ag-cell-range-left",i)}isSingleCell(){const{rangeService:e}=this.beans;return 1===this.rangeCount&&e&&!e.isMoreThanOneCell()}getHasChartRange(){const{rangeService:e}=this.beans;if(!this.rangeCount||!e)return!1;const t=e.getCellRanges();return t.length>0&&t.every(e=>He([pl.DIMENSION,pl.VALUE],e.type))}updateRangeBordersIfRangeCount(){this.rangeCount>0&&(this.updateRangeBorders(),this.refreshHandle())}getRangeBorders(){const e=this.beans.gridOptionsService.get("enableRtl");let t=!1,a=!1,r=!1,o=!1;const i=this.cellCtrl.getCellPosition().column,{rangeService:n,columnModel:l}=this.beans;let s,g;e?(s=l.getDisplayedColAfter(i),g=l.getDisplayedColBefore(i)):(s=l.getDisplayedColBefore(i),g=l.getDisplayedColAfter(i));const d=n.getCellRanges().filter(e=>n.isCellInSpecificRange(this.cellCtrl.getCellPosition(),e));s||(o=!0),g||(a=!0);for(let e=0;e<d.length&&!(t&&a&&r&&o);e++){const i=d[e],l=n.getRangeStartRow(i),c=n.getRangeEndRow(i);!t&&this.beans.rowPositionUtils.sameRow(l,this.cellCtrl.getCellPosition())&&(t=!0),!r&&this.beans.rowPositionUtils.sameRow(c,this.cellCtrl.getCellPosition())&&(r=!0),!o&&s&&i.columns.indexOf(s)<0&&(o=!0),!a&&g&&i.columns.indexOf(g)<0&&(a=!0)}return{top:t,right:a,bottom:r,left:o}}refreshHandle(){if(!this.beans.rangeService||this.beans.context.isDestroyed())return;const e=this.shouldHaveSelectionHandle();this.selectionHandle&&!e&&(this.selectionHandle=this.beans.context.destroyBean(this.selectionHandle)),e&&this.addSelectionHandle(),this.cellComp.addOrRemoveCssClass("ag-cell-range-handle",!!this.selectionHandle)}shouldHaveSelectionHandle(){const{gridOptionsService:e,rangeService:t}=this.beans,a=t.getCellRanges(),r=a.length;if(this.rangeCount<1||r<1)return!1;const o=Te(a),i=this.cellCtrl.getCellPosition(),n=e.get("enableFillHandle")&&!this.cellCtrl.isSuppressFillHandle(),l=e.get("enableRangeHandle");let s=1===r&&!this.cellCtrl.isEditing()&&(n||l);if(this.hasChartRange){const e=a[0].type===pl.DIMENSION&&t.isCellInSpecificRange(i,a[0]);this.cellComp.addOrRemoveCssClass("ag-cell-range-chart-category",e),s=o.type===pl.VALUE}return s&&null!=o.endRow&&t.isContiguousRange(o)&&t.isBottomRightCell(o,i)}addSelectionHandle(){const{gridOptionsService:e,rangeService:t}=this.beans,a=Te(t.getCellRanges()).type,r=e.get("enableFillHandle")&&E(a)?ul.FILL:ul.RANGE;this.selectionHandle&&this.selectionHandle.getType()!==r&&(this.selectionHandle=this.beans.context.destroyBean(this.selectionHandle)),this.selectionHandle||(this.selectionHandle=this.beans.selectionHandleFactory.createSelectionHandle(r)),this.selectionHandle.refresh(this.cellCtrl)}destroy(){this.beans.context.destroyBean(this.selectionHandle)}}class ml extends at{constructor(e,t){super(),this.cellCtrl=e,this.beans=t,this.column=e.getColumn(),this.rowNode=e.getRowNode(),this.setupColSpan(),this.setupRowSpan()}setupRowSpan(){this.rowSpan=this.column.getRowSpan(this.rowNode),this.addManagedListener(this.beans.eventService,st.EVENT_NEW_COLUMNS_LOADED,()=>this.onNewColumnsLoaded())}setComp(e){this.eGui=e,this.onLeftChanged(),this.onWidthChanged(),this.applyRowSpan()}onNewColumnsLoaded(){const e=this.column.getRowSpan(this.rowNode);this.rowSpan!==e&&(this.rowSpan=e,this.applyRowSpan(!0))}onDisplayColumnsChanged(){const e=this.getColSpanningList();Ae(this.colsSpanning,e)||(this.colsSpanning=e,this.onWidthChanged(),this.onLeftChanged())}setupColSpan(){null!=this.column.getColDef().colSpan&&(this.colsSpanning=this.getColSpanningList(),this.addManagedListener(this.beans.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayColumnsChanged.bind(this)),this.addManagedListener(this.beans.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onWidthChanged.bind(this)))}onWidthChanged(){if(!this.eGui)return;const e=this.getCellWidth();this.eGui.style.width=e+"px"}getCellWidth(){return this.colsSpanning?this.colsSpanning.reduce((e,t)=>e+t.getActualWidth(),0):this.column.getActualWidth()}getColSpanningList(){const e=this.column.getColSpan(this.rowNode),t=[];if(1===e)t.push(this.column);else{let a=this.column;const r=this.column.getPinned();for(let o=0;a&&o<e&&(t.push(a),a=this.beans.columnModel.getDisplayedColAfter(a),a&&!E(a))&&r===a.getPinned();o++);}return t}onLeftChanged(){if(!this.eGui)return;const e=this.modifyLeftForPrintLayout(this.getCellLeft());this.eGui.style.left=e+"px"}getCellLeft(){let e;return e=this.beans.gridOptionsService.get("enableRtl")&&this.colsSpanning?Te(this.colsSpanning):this.column,e.getLeft()}modifyLeftForPrintLayout(e){if(!this.cellCtrl.isPrintLayout()||"left"===this.column.getPinned())return e;const t=this.beans.columnModel.getDisplayedColumnsLeftWidth();if("right"===this.column.getPinned()){return t+this.beans.columnModel.getBodyContainerWidth()+(e||0)}return t+(e||0)}applyRowSpan(e){if(1===this.rowSpan&&!e)return;const t=this.beans.gridOptionsService.getRowHeightAsNumber()*this.rowSpan;this.eGui.style.height=t+"px",this.eGui.style.zIndex="1"}destroy(){super.destroy()}}class vl extends at{constructor(e,t){super(),this.staticClasses=[],this.cellCtrl=e,this.beans=t,this.column=e.getColumn(),this.rowNode=e.getRowNode()}setComp(e){this.cellComp=e,this.applyUserStyles(),this.applyCellClassRules(),this.applyClassesFromColDef()}applyCellClassRules(){const e=this.column.getColDef(),{cellClassRules:t}=e,a=this.beans.gridOptionsService.addGridCommonParams({value:this.cellCtrl.getValue(),data:this.rowNode.data,node:this.rowNode,colDef:e,column:this.column,rowIndex:this.rowNode.rowIndex});this.beans.stylingService.processClassRules(t===this.cellClassRules?void 0:this.cellClassRules,t,a,e=>this.cellComp.addOrRemoveCssClass(e,!0),e=>this.cellComp.addOrRemoveCssClass(e,!1)),this.cellClassRules=t}applyUserStyles(){const e=this.column.getColDef();if(!e.cellStyle)return;let t;if("function"==typeof e.cellStyle){const a=this.beans.gridOptionsService.addGridCommonParams({column:this.column,value:this.cellCtrl.getValue(),colDef:e,data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex});t=(0,e.cellStyle)(a)}else t=e.cellStyle;t&&this.cellComp.setUserStyles(t)}applyClassesFromColDef(){const e=this.column.getColDef(),t=this.beans.gridOptionsService.addGridCommonParams({value:this.cellCtrl.getValue(),data:this.rowNode.data,node:this.rowNode,column:this.column,colDef:e,rowIndex:this.rowNode.rowIndex});this.staticClasses.length&&this.staticClasses.forEach(e=>this.cellComp.addOrRemoveCssClass(e,!1)),this.staticClasses=this.beans.stylingService.getStaticCellClasses(e,t),this.staticClasses.length&&this.staticClasses.forEach(e=>this.cellComp.addOrRemoveCssClass(e,!0))}destroy(){super.destroy()}}class fl extends at{constructor(e,t){super(),this.ctrl=e,this.beans=t}setComp(e){this.eGui=e,this.setupTooltip()}setBrowserTooltip(e){null!=e&&""!=e?this.eGui.setAttribute("title",e):this.eGui.removeAttribute("title")}setupTooltip(){this.browserTooltips=this.beans.gridOptionsService.get("enableBrowserTooltips"),this.updateTooltipText(),this.browserTooltips?this.setBrowserTooltip(this.tooltip):this.createTooltipFeatureIfNeeded()}updateTooltipText(){this.tooltip=this.ctrl.getTooltipValue()}createTooltipFeatureIfNeeded(){var e,t,a,r;if(null!=this.genericTooltipFeature)return;const o={getTooltipParams:()=>this.getTooltipParams(),getGui:()=>this.ctrl.getGui()};this.genericTooltipFeature=this.createManagedBean(new lo(o,null===(t=(e=this.ctrl).getTooltipShowDelayOverride)||void 0===t?void 0:t.call(e),null===(r=(a=this.ctrl).getTooltipHideDelayOverride)||void 0===r?void 0:r.call(a)),this.beans.context)}refreshToolTip(){this.updateTooltipText(),this.browserTooltips&&this.setBrowserTooltip(this.tooltip)}getTooltipParams(){const e=this.ctrl,t=e.getColumn?e.getColumn():void 0,a=e.getColDef?e.getColDef():void 0,r=e.getRowNode?e.getRowNode():void 0;return{location:e.getLocation(),colDef:a,column:t,rowIndex:e.getRowIndex?e.getRowIndex():void 0,node:r,data:r?r.data:void 0,value:this.getTooltipText(),valueFormatted:e.getValueFormatted?e.getValueFormatted():void 0,hideTooltipCallback:()=>this.genericTooltipFeature.hideTooltip(!0)}}getTooltipText(){return this.tooltip}destroy(){super.destroy()}}var wl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let bl=class{postConstruct(){this.gridOptionsService.isRowModelType("clientSide")&&(this.clientSideRowModel=this.rowModel),this.gridOptionsService.isRowModelType("serverSide")&&(this.serverSideRowModel=this.rowModel)}};wl([de("resizeObserverService")],bl.prototype,"resizeObserverService",void 0),wl([de("paginationProxy")],bl.prototype,"paginationProxy",void 0),wl([de("context")],bl.prototype,"context",void 0),wl([de("columnApi")],bl.prototype,"columnApi",void 0),wl([de("gridApi")],bl.prototype,"gridApi",void 0),wl([de("gridOptionsService")],bl.prototype,"gridOptionsService",void 0),wl([de("expressionService")],bl.prototype,"expressionService",void 0),wl([de("environment")],bl.prototype,"environment",void 0),wl([de("rowRenderer")],bl.prototype,"rowRenderer",void 0),wl([de("templateService")],bl.prototype,"templateService",void 0),wl([de("valueService")],bl.prototype,"valueService",void 0),wl([de("eventService")],bl.prototype,"eventService",void 0),wl([de("columnModel")],bl.prototype,"columnModel",void 0),wl([de("headerNavigationService")],bl.prototype,"headerNavigationService",void 0),wl([de("navigationService")],bl.prototype,"navigationService",void 0),wl([de("columnAnimationService")],bl.prototype,"columnAnimationService",void 0),wl([ce("rangeService")],bl.prototype,"rangeService",void 0),wl([de("focusService")],bl.prototype,"focusService",void 0),wl([de("popupService")],bl.prototype,"popupService",void 0),wl([de("valueFormatterService")],bl.prototype,"valueFormatterService",void 0),wl([de("stylingService")],bl.prototype,"stylingService",void 0),wl([de("columnHoverService")],bl.prototype,"columnHoverService",void 0),wl([de("userComponentFactory")],bl.prototype,"userComponentFactory",void 0),wl([de("userComponentRegistry")],bl.prototype,"userComponentRegistry",void 0),wl([de("animationFrameService")],bl.prototype,"animationFrameService",void 0),wl([de("dragService")],bl.prototype,"dragService",void 0),wl([de("dragAndDropService")],bl.prototype,"dragAndDropService",void 0),wl([de("sortController")],bl.prototype,"sortController",void 0),wl([de("filterManager")],bl.prototype,"filterManager",void 0),wl([de("rowContainerHeightService")],bl.prototype,"rowContainerHeightService",void 0),wl([de("frameworkOverrides")],bl.prototype,"frameworkOverrides",void 0),wl([de("cellPositionUtils")],bl.prototype,"cellPositionUtils",void 0),wl([de("rowPositionUtils")],bl.prototype,"rowPositionUtils",void 0),wl([de("selectionService")],bl.prototype,"selectionService",void 0),wl([ce("selectionHandleFactory")],bl.prototype,"selectionHandleFactory",void 0),wl([de("rowCssClassCalculator")],bl.prototype,"rowCssClassCalculator",void 0),wl([de("rowModel")],bl.prototype,"rowModel",void 0),wl([de("ctrlsService")],bl.prototype,"ctrlsService",void 0),wl([de("ctrlsFactory")],bl.prototype,"ctrlsFactory",void 0),wl([de("agStackComponentsRegistry")],bl.prototype,"agStackComponentsRegistry",void 0),wl([de("valueCache")],bl.prototype,"valueCache",void 0),wl([de("rowNodeEventThrottle")],bl.prototype,"rowNodeEventThrottle",void 0),wl([de("localeService")],bl.prototype,"localeService",void 0),wl([de("valueParserService")],bl.prototype,"valueParserService",void 0),wl([de("syncService")],bl.prototype,"syncService",void 0),wl([de("ariaAnnouncementService")],bl.prototype,"ariaAnnouncementService",void 0),wl([le],bl.prototype,"postConstruct",null),bl=wl([ge("beans")],bl);class Cl extends bl{constructor(e,t,a){super(),this.cellCtrl=e,this.beans=t,this.column=a}onMouseEvent(e,t){if(!Ye(t))switch(e){case"click":this.onCellClicked(t);break;case"mousedown":case"touchstart":this.onMouseDown(t);break;case"dblclick":this.onCellDoubleClicked(t);break;case"mouseout":this.onMouseOut(t);break;case"mouseover":this.onMouseOver(t)}}onCellClicked(e){if(this.isDoubleClickOnIPad())return this.onCellDoubleClicked(e),void e.preventDefault();const{eventService:t,rangeService:a,gridOptionsService:r}=this.beans,o=e.ctrlKey||e.metaKey;a&&o&&a.getCellRangeCount(this.cellCtrl.getCellPosition())>1&&a.intersectLastRange(!0);const i=this.cellCtrl.createEvent(e,st.EVENT_CELL_CLICKED);t.dispatchEvent(i);const n=this.column.getColDef();n.onCellClicked&&window.setTimeout(()=>{this.beans.frameworkOverrides.wrapOutgoing(()=>{n.onCellClicked(i)})},0);!((r.get("singleClickEdit")||n.singleClickEdit)&&!r.get("suppressClickEdit"))||e.shiftKey&&0!=(null==a?void 0:a.getCellRanges().length)||this.cellCtrl.startRowOrCellEdit()}isDoubleClickOnIPad(){if(!Ma()||Qe("dblclick"))return!1;const e=(new Date).getTime(),t=e-this.lastIPadMouseClickEvent<200;return this.lastIPadMouseClickEvent=e,t}onCellDoubleClicked(e){const t=this.column.getColDef(),a=this.cellCtrl.createEvent(e,st.EVENT_CELL_DOUBLE_CLICKED);this.beans.eventService.dispatchEvent(a),"function"==typeof t.onCellDoubleClicked&&window.setTimeout(()=>{this.beans.frameworkOverrides.wrapOutgoing(()=>{t.onCellDoubleClicked(a)})},0);!this.beans.gridOptionsService.get("singleClickEdit")&&!this.beans.gridOptionsService.get("suppressClickEdit")&&this.cellCtrl.startRowOrCellEdit(null,e)}onMouseDown(e){const{ctrlKey:t,metaKey:a,shiftKey:r}=e,o=e.target,{cellCtrl:i,beans:n}=this,{eventService:l,rangeService:s,focusService:g}=n;if(this.isRightClickInExistingRange(e))return;const d=s&&0!=s.getCellRanges().length;if(!r||!d){const e=za()&&!i.isEditing()&&!ar(o);i.focusCell(e)}if(r&&d&&!g.isCellFocused(i.getCellPosition())){e.preventDefault();const t=g.getFocusedCell();if(t){const{column:e,rowIndex:a,rowPinned:r}=t,o=n.rowRenderer.getRowByPosition({rowIndex:a,rowPinned:r}),i=null==o?void 0:o.getCellCtrl(e);(null==i?void 0:i.isEditing())&&i.stopEditing(),g.setFocusedCell({column:e,rowIndex:a,rowPinned:r,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})}}if(!this.containsWidget(o)){if(s){const e=this.cellCtrl.getCellPosition();if(r)s.extendLatestRangeToCell(e);else{const r=t||a;s.setRangeToCell(e,r)}}l.dispatchEvent(this.cellCtrl.createEvent(e,st.EVENT_CELL_MOUSE_DOWN))}}isRightClickInExistingRange(e){const{rangeService:t}=this.beans;if(t){const a=t.isCellInAnyRange(this.cellCtrl.getCellPosition()),r=2===e.button||e.ctrlKey&&this.beans.gridOptionsService.get("allowContextMenuWithControlKey");if(a&&r)return!0}return!1}containsWidget(e){return nr(e,"ag-selection-checkbox",3)}onMouseOut(e){if(this.mouseStayingInsideCell(e))return;const t=this.cellCtrl.createEvent(e,st.EVENT_CELL_MOUSE_OUT);this.beans.eventService.dispatchEvent(t),this.beans.columnHoverService.clearMouseOver()}onMouseOver(e){if(this.mouseStayingInsideCell(e))return;const t=this.cellCtrl.createEvent(e,st.EVENT_CELL_MOUSE_OVER);this.beans.eventService.dispatchEvent(t),this.beans.columnHoverService.setMouseOver([this.column])}mouseStayingInsideCell(e){if(!e.target||!e.relatedTarget)return!1;const t=this.cellCtrl.getGui(),a=t.contains(e.target),r=t.contains(e.relatedTarget);return a&&r}destroy(){}}class yl extends at{constructor(e,t,a,r,o){super(),this.cellCtrl=e,this.beans=t,this.rowNode=r,this.rowCtrl=o}setComp(e){this.eGui=e}onKeyDown(e){const t=e.key;switch(t){case Wr.ENTER:this.onEnterKeyDown(e);break;case Wr.F2:this.onF2KeyDown(e);break;case Wr.ESCAPE:this.onEscapeKeyDown(e);break;case Wr.TAB:this.onTabKeyDown(e);break;case Wr.BACKSPACE:case Wr.DELETE:this.onBackspaceOrDeleteKeyDown(t,e);break;case Wr.DOWN:case Wr.UP:case Wr.RIGHT:case Wr.LEFT:this.onNavigationKeyDown(e,t)}}onNavigationKeyDown(e,t){this.cellCtrl.isEditing()||(e.shiftKey&&this.cellCtrl.isRangeSelectionEnabled()?this.onShiftRangeSelect(e):this.beans.navigationService.navigateToNextCell(e,t,this.cellCtrl.getCellPosition(),!0),e.preventDefault())}onShiftRangeSelect(e){if(!this.beans.rangeService)return;const t=this.beans.rangeService.extendLatestRangeInDirection(e);t&&this.beans.navigationService.ensureCellVisible(t)}onTabKeyDown(e){this.beans.navigationService.onTabKeyDown(this.cellCtrl,e)}onBackspaceOrDeleteKeyDown(e,t){const{cellCtrl:a,beans:r,rowNode:o}=this,{gridOptionsService:i,rangeService:n,eventService:l}=r;a.isEditing()||(l.dispatchEvent({type:st.EVENT_KEY_SHORTCUT_CHANGED_CELL_START}),Qr(e,i.get("enableCellEditingOnBackspace"))?n&&i.get("enableRangeSelection")?n.clearCellRangeCellValues({dispatchWrapperEvents:!0,wrapperEventSource:"deleteKey"}):a.isCellEditable()&&o.setDataValue(a.getColumn(),null,"cellClear"):a.startRowOrCellEdit(e,t),l.dispatchEvent({type:st.EVENT_KEY_SHORTCUT_CHANGED_CELL_END}))}onEnterKeyDown(e){if(this.cellCtrl.isEditing()||this.rowCtrl.isEditing())this.cellCtrl.stopEditingAndFocus(!1,e.shiftKey);else if(this.beans.gridOptionsService.get("enterNavigatesVertically")){const t=e.shiftKey?Wr.UP:Wr.DOWN;this.beans.navigationService.navigateToNextCell(null,t,this.cellCtrl.getCellPosition(),!1)}else this.cellCtrl.startRowOrCellEdit(Wr.ENTER,e),this.cellCtrl.isEditing()&&e.preventDefault()}onF2KeyDown(e){this.cellCtrl.isEditing()||this.cellCtrl.startRowOrCellEdit(Wr.F2,e)}onEscapeKeyDown(e){this.cellCtrl.isEditing()&&(this.cellCtrl.stopRowOrCellEdit(!0),this.cellCtrl.focusCell(!0))}processCharacter(e){if(e.target!==this.eGui||this.cellCtrl.isEditing())return;const t=e.key;" "===t?this.onSpaceKeyDown(e):(this.cellCtrl.startRowOrCellEdit(t,e),e.preventDefault())}onSpaceKeyDown(e){const{gridOptionsService:t}=this.beans;if(!this.cellCtrl.isEditing()&&t.isRowSelection()){const a=this.rowNode.isSelected(),r=!a;if(r||!t.get("suppressRowDeselection")){const t=this.beans.gridOptionsService.get("groupSelectsFiltered"),o=this.rowNode.setSelectedParams({newValue:r,rangeSelect:e.shiftKey,groupSelectsFiltered:t,event:e,source:"spaceKey"});void 0===a&&0===o&&this.rowNode.setSelectedParams({newValue:!1,rangeSelect:e.shiftKey,groupSelectsFiltered:t,event:e,source:"spaceKey"})}}e.preventDefault()}destroy(){super.destroy()}}var Sl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class El extends uo{constructor(e,t,a){super('<div class="ag-drag-handle ag-row-drag" draggable="true"></div>'),this.rowNode=e,this.column=t,this.eCell=a}postConstruct(){this.getGui().appendChild(qr("rowDrag",this.gridOptionsService,null)),this.addGuiEventListener("mousedown",e=>{e.stopPropagation()}),this.addDragSource(),this.checkVisibility()}addDragSource(){this.addGuiEventListener("dragstart",this.onDragStart.bind(this))}onDragStart(e){const t=this.column.getColDef().dndSourceOnRowDrag;e.dataTransfer.setDragImage(this.eCell,0,0);const a=()=>{try{const t=JSON.stringify(this.rowNode.data);e.dataTransfer.setData("application/json",t),e.dataTransfer.setData("text/plain",t)}catch(e){}};if(t){t(this.gridOptionsService.addGridCommonParams({rowNode:this.rowNode,dragEvent:e}))}else a()}checkVisibility(){const e=this.column.isDndSource(this.rowNode);this.setDisplayed(e)}}Sl([le],El.prototype,"postConstruct",null);class Rl{static getHeaderClassesFromColDef(e,t,a,r){return E(e)?[]:this.getColumnClassesFromCollDef(e.headerClass,e,t,a,r)}static getToolPanelClassesFromColDef(e,t,a,r){return E(e)?[]:this.getColumnClassesFromCollDef(e.toolPanelClass,e,t,a,r)}static refreshFirstAndLastStyles(e,t,a){e.addOrRemoveCssClass("ag-column-first",a.isColumnAtEdge(t,"first")),e.addOrRemoveCssClass("ag-column-last",a.isColumnAtEdge(t,"last"))}static getClassParams(e,t,a,r){return t.addGridCommonParams({colDef:e,column:a,columnGroup:r})}static getColumnClassesFromCollDef(e,t,a,r,o){if(E(e))return[];let i;if("function"==typeof e){i=e(this.getClassParams(t,a,r,o))}else i=e;return"string"==typeof i?[i]:Array.isArray(i)?[...i]:[]}}let xl=0;class kl extends at{constructor(e,t,a,r){super(),this.cellRangeFeature=null,this.cellPositionFeature=null,this.cellCustomStyleFeature=null,this.tooltipFeature=null,this.cellMouseListenerFeature=null,this.cellKeyboardListenerFeature=null,this.suppressRefreshCell=!1,this.onCellCompAttachedFuncs=[],this.column=e,this.rowNode=t,this.beans=a,this.rowCtrl=r,this.instanceId=e.getId()+"-"+xl++,this.colIdSanitised=ft(this.column.getId()),a.gridOptionsService.get("suppressCellFocus")||(this.tabIndex=-1),this.createCellPosition(),this.addFeatures(),this.updateAndFormatValue(!1)}shouldRestoreFocus(){return this.beans.focusService.shouldRestoreFocus(this.cellPosition)}addFeatures(){this.cellPositionFeature=new ml(this,this.beans),this.addDestroyFunc(()=>{var e;null===(e=this.cellPositionFeature)||void 0===e||e.destroy(),this.cellPositionFeature=null}),this.cellCustomStyleFeature=new vl(this,this.beans),this.addDestroyFunc(()=>{var e;null===(e=this.cellCustomStyleFeature)||void 0===e||e.destroy(),this.cellCustomStyleFeature=null}),this.cellMouseListenerFeature=new Cl(this,this.beans,this.column),this.addDestroyFunc(()=>{var e;null===(e=this.cellMouseListenerFeature)||void 0===e||e.destroy(),this.cellMouseListenerFeature=null}),this.cellKeyboardListenerFeature=new yl(this,this.beans,this.column,this.rowNode,this.rowCtrl),this.addDestroyFunc(()=>{var e;null===(e=this.cellKeyboardListenerFeature)||void 0===e||e.destroy(),this.cellKeyboardListenerFeature=null}),this.column.isTooltipEnabled()&&(this.enableTooltipFeature(),this.addDestroyFunc(()=>{this.disableTooltipFeature()}));this.beans.rangeService&&this.beans.gridOptionsService.get("enableRangeSelection")&&(this.cellRangeFeature=new hl(this.beans,this),this.addDestroyFunc(()=>{var e;null===(e=this.cellRangeFeature)||void 0===e||e.destroy(),this.cellRangeFeature=null}))}enableTooltipFeature(){const e={getColumn:()=>this.column,getColDef:()=>this.column.getColDef(),getRowIndex:()=>this.cellPosition.rowIndex,getRowNode:()=>this.rowNode,getGui:()=>this.getGui(),getLocation:()=>"cell",getTooltipValue:()=>{const e=this.column.getColDef(),t=this.rowNode.data;if(e.tooltipField&&S(t))return G(t,e.tooltipField,this.column.isTooltipFieldContainsDots());const a=e.tooltipValueGetter;return a?a(this.beans.gridOptionsService.addGridCommonParams({location:"cell",colDef:this.column.getColDef(),column:this.column,rowIndex:this.cellPosition.rowIndex,node:this.rowNode,data:this.rowNode.data,value:this.value,valueFormatted:this.valueFormatted})):null},getValueFormatted:()=>this.valueFormatted};this.tooltipFeature=new fl(e,this.beans)}disableTooltipFeature(){this.tooltipFeature&&(this.tooltipFeature.destroy(),this.tooltipFeature=null)}setComp(e,t,a,r,o){var i,n,l,s;this.cellComp=e,this.eGui=t,this.printLayout=r,this.addDomData(),this.onCellFocused(this.focusEventToRestore),this.applyStaticCssClasses(),this.setWrapText(),this.onFirstRightPinnedChanged(),this.onLastLeftPinnedChanged(),this.onColumnHover(),this.setupControlComps(),this.setupAutoHeight(a),this.refreshFirstAndLastStyles(),this.refreshAriaColIndex(),null===(i=this.cellPositionFeature)||void 0===i||i.setComp(t),null===(n=this.cellCustomStyleFeature)||void 0===n||n.setComp(e),null===(l=this.tooltipFeature)||void 0===l||l.setComp(t),null===(s=this.cellKeyboardListenerFeature)||void 0===s||s.setComp(this.eGui),this.cellRangeFeature&&this.cellRangeFeature.setComp(e,t),o&&this.isCellEditable()?this.startEditing():this.showValue(),this.onCellCompAttachedFuncs.length&&(this.onCellCompAttachedFuncs.forEach(e=>e()),this.onCellCompAttachedFuncs=[])}setupAutoHeight(e){if(this.isAutoHeight=this.column.isAutoHeight(),!this.isAutoHeight||!e)return;const t=e.parentElement,a=this.beans.gridOptionsService.getRowHeightForNode(this.rowNode).height,r=o=>{if(this.editing)return;if(!this.isAlive())return;const{paddingTop:i,paddingBottom:n,borderBottomWidth:l,borderTopWidth:s}=lr(t),g=i+n+l+s,d=e.offsetHeight+g;if(o<5){const t=this.beans.gridOptionsService.getDocument(),a=0==d;if(!t||!t.contains(e)||a)return void window.setTimeout(()=>r(o+1),0)}const c=Math.max(d,a);this.rowNode.setRowAutoHeight(c,this.column)},o=()=>r(0);o();const i=this.beans.resizeObserverService.observeResize(e,o);this.addDestroyFunc(()=>{i(),this.rowNode.setRowAutoHeight(void 0,this.column)})}getCellAriaRole(){var e;return null!==(e=this.column.getColDef().cellAriaRole)&&void 0!==e?e:"gridcell"}getInstanceId(){return this.instanceId}getIncludeSelection(){return this.includeSelection}getIncludeRowDrag(){return this.includeRowDrag}getIncludeDndSource(){return this.includeDndSource}getColumnIdSanitised(){return this.colIdSanitised}getTabIndex(){return this.tabIndex}isCellRenderer(){const e=this.column.getColDef();return null!=e.cellRenderer||null!=e.cellRendererSelector}getValueToDisplay(){return null!=this.valueFormatted?this.valueFormatted:this.value}showValue(e=!1){const t=this.getValueToDisplay();let a;if(this.isCellRenderer()){const e=this.createCellRendererParams();a=this.beans.userComponentFactory.getCellRendererDetails(this.column.getColDef(),e)}this.cellComp.setRenderDetails(a,t,e),this.refreshHandle()}setupControlComps(){const e=this.column.getColDef();this.includeSelection=this.isIncludeControl(e.checkboxSelection),this.includeRowDrag=this.isIncludeControl(e.rowDrag),this.includeDndSource=this.isIncludeControl(e.dndSource),this.cellComp.setIncludeSelection(this.includeSelection),this.cellComp.setIncludeDndSource(this.includeDndSource),this.cellComp.setIncludeRowDrag(this.includeRowDrag)}isForceWrapper(){return this.beans.gridOptionsService.get("enableCellTextSelection")||this.column.isAutoHeight()}isIncludeControl(e){return!(null!=this.rowNode.rowPinned)&&("function"==typeof e||!0===e)}refreshShouldDestroy(){const e=this.column.getColDef(),t=this.includeSelection!=this.isIncludeControl(e.checkboxSelection),a=this.includeRowDrag!=this.isIncludeControl(e.rowDrag),r=this.includeDndSource!=this.isIncludeControl(e.dndSource);return t||a||r}startEditing(e=null,t=!1,a=null){if(!this.isCellEditable()||this.editing)return;if(!this.cellComp)return void this.onCellCompAttachedFuncs.push(()=>{this.startEditing(e,t,a)});const r=this.createCellEditorParams(e,t),o=this.column.getColDef(),i=this.beans.userComponentFactory.getCellEditorDetails(o,r);this.editCompDetails=i;const n=null!=(null==i?void 0:i.popupFromSelector)?i.popupFromSelector:!!o.cellEditorPopup,l=null!=(null==i?void 0:i.popupPositionFromSelector)?i.popupPositionFromSelector:o.cellEditorPopupPosition;this.setEditing(!0),this.cellComp.setEditDetails(i,n,l,this.beans.gridOptionsService.get("reactiveCustomComponents"));const s=this.createEvent(a,st.EVENT_CELL_EDITING_STARTED);this.beans.eventService.dispatchEvent(s)}setEditing(e){this.editing!==e&&(this.editing=e,this.refreshHandle())}stopRowOrCellEdit(e=!1){"fullRow"===this.beans.gridOptionsService.get("editType")?this.rowCtrl.stopEditing(e):this.stopEditing(e)}onPopupEditorClosed(){this.isEditing()&&this.stopEditingAndFocus()}takeValueFromCellEditor(e){const t={newValueExists:!1};if(e)return t;const a=this.cellComp.getCellEditor();if(!a)return t;if(a.isCancelAfterEnd&&a.isCancelAfterEnd())return t;return{newValue:a.getValue(),newValueExists:!0}}saveNewValue(e,t){if(t===e)return!1;this.suppressRefreshCell=!0;const a=this.rowNode.setDataValue(this.column,t,"edit");return this.suppressRefreshCell=!1,a}stopEditing(e=!1){if(!this.editing)return!1;const{newValue:t,newValueExists:a}=this.takeValueFromCellEditor(e),r=this.rowNode.getValueFromValueService(this.column);let o=!1;return a&&(o=this.saveNewValue(r,t)),this.setEditing(!1),this.cellComp.setEditDetails(),this.editCompDetails=void 0,this.updateAndFormatValue(!1),this.refreshCell({forceRefresh:!0,suppressFlash:!0}),this.dispatchEditingStoppedEvent(r,t,!e&&!!o),o}dispatchEditingStoppedEvent(e,t,a){const r=Object.assign(Object.assign({},this.createEvent(null,st.EVENT_CELL_EDITING_STOPPED)),{oldValue:e,newValue:t,valueChanged:a});this.beans.eventService.dispatchEvent(r)}createCellEditorParams(e,t){return this.beans.gridOptionsService.addGridCommonParams({value:this.rowNode.getValueFromValueService(this.column),eventKey:e,column:this.column,colDef:this.column.getColDef(),rowIndex:this.getCellPosition().rowIndex,node:this.rowNode,data:this.rowNode.data,cellStartedEdit:t,onKeyDown:this.onKeyDown.bind(this),stopEditing:this.stopEditingAndFocus.bind(this),eGridCell:this.getGui(),parseValue:this.parseValue.bind(this),formatValue:this.formatValue.bind(this)})}createCellRendererParams(){return this.beans.gridOptionsService.addGridCommonParams({value:this.value,valueFormatted:this.valueFormatted,getValue:()=>this.rowNode.getValueFromValueService(this.column),setValue:e=>this.beans.valueService.setValue(this.rowNode,this.column,e),formatValue:this.formatValue.bind(this),data:this.rowNode.data,node:this.rowNode,pinned:this.column.getPinned(),colDef:this.column.getColDef(),column:this.column,rowIndex:this.getCellPosition().rowIndex,refreshCell:this.refreshCell.bind(this),eGridCell:this.getGui(),eParentOfValue:this.cellComp.getParentOfValue(),registerRowDragger:(e,t,a,r)=>this.registerRowDragger(e,t,r)})}parseValue(e){return this.beans.valueParserService.parseValue(this.column,this.rowNode,e,this.getValue())}setFocusOutOnEditor(){if(!this.editing)return;const e=this.cellComp.getCellEditor();e&&e.focusOut&&e.focusOut()}setFocusInOnEditor(){if(!this.editing)return;const e=this.cellComp.getCellEditor();e&&e.focusIn?e.focusIn():this.focusCell(!0)}onCellChanged(e){e.column===this.column&&this.refreshCell({})}refreshOrDestroyCell(e){var t;this.refreshShouldDestroy()?null===(t=this.rowCtrl)||void 0===t||t.refreshCell(this):this.refreshCell(e)}refreshCell(e){var t,a,r;if(this.suppressRefreshCell||this.editing)return;const o=this.column.getColDef(),i=null!=e&&!!e.newData,n=null!=e&&!!e.suppressFlash||!!o.suppressCellFlash,l=null==o.field&&null==o.valueGetter&&null==o.showRowGroup,s=e&&e.forceRefresh||l||i,g=!!this.cellComp,d=this.updateAndFormatValue(g);if(g){if(s||d){this.showValue(i);const e=this.beans.filterManager.isSuppressFlashingCellsBecauseFiltering();!n&&!e&&(this.beans.gridOptionsService.get("enableCellChangeFlash")||o.enableCellChangeFlash)&&this.flashCell(),null===(t=this.cellCustomStyleFeature)||void 0===t||t.applyUserStyles(),null===(a=this.cellCustomStyleFeature)||void 0===a||a.applyClassesFromColDef()}this.refreshToolTip(),null===(r=this.cellCustomStyleFeature)||void 0===r||r.applyCellClassRules()}}stopEditingAndFocus(e=!1,t=!1){this.stopRowOrCellEdit(),this.focusCell(!0),e||this.navigateAfterEdit(t)}navigateAfterEdit(e){if(this.beans.gridOptionsService.get("enterNavigatesVerticallyAfterEdit")){const t=e?Wr.UP:Wr.DOWN;this.beans.navigationService.navigateToNextCell(null,t,this.getCellPosition(),!1)}}flashCell(e){var t,a;const r=null!==(t=null==e?void 0:e.flashDuration)&&void 0!==t?t:null==e?void 0:e.flashDelay,o=null!==(a=null==e?void 0:e.fadeDuration)&&void 0!==a?a:null==e?void 0:e.fadeDelay;this.animateCell("data-changed",r,o)}animateCell(e,t,a){if(!this.cellComp)return;const r="ag-cell-"+e,o=`ag-cell-${e}-animation`,{gridOptionsService:i}=this.beans;t||(t=i.get("cellFlashDuration")),S(a)||(a=i.get("cellFadeDuration")),this.cellComp.addOrRemoveCssClass(r,!0),this.cellComp.addOrRemoveCssClass(o,!1),this.beans.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(()=>{this.isAlive()&&(this.cellComp.addOrRemoveCssClass(r,!1),this.cellComp.addOrRemoveCssClass(o,!0),this.eGui.style.transition=`background-color ${a}ms`,window.setTimeout(()=>{this.isAlive()&&(this.cellComp.addOrRemoveCssClass(o,!1),this.eGui.style.transition="")},a))},t)})}onFlashCells(e){if(!this.cellComp)return;const t=this.beans.cellPositionUtils.createId(this.getCellPosition());e.cells[t]&&this.animateCell("highlight")}isCellEditable(){return this.column.isCellEditable(this.rowNode)}isSuppressFillHandle(){return this.column.isSuppressFillHandle()}formatValue(e){var t;return null!==(t=this.callValueFormatter(e))&&void 0!==t?t:e}callValueFormatter(e){return this.beans.valueFormatterService.formatValue(this.column,this.rowNode,e)}updateAndFormatValue(e){const t=this.value,a=this.valueFormatted;return this.value=this.rowNode.getValueFromValueService(this.column),this.valueFormatted=this.callValueFormatter(this.value),!e||(!this.valuesAreEqual(t,this.value)||this.valueFormatted!=a)}valuesAreEqual(e,t){const a=this.column.getColDef();return a.equals?a.equals(e,t):e===t}getComp(){return this.cellComp}getValue(){return this.value}getValueFormatted(){return this.valueFormatted}addDomData(){const e=this.getGui();this.beans.gridOptionsService.setDomData(e,kl.DOM_DATA_KEY_CELL_CTRL,this),this.addDestroyFunc(()=>this.beans.gridOptionsService.setDomData(e,kl.DOM_DATA_KEY_CELL_CTRL,null))}createEvent(e,t){return this.beans.gridOptionsService.addGridCommonParams({type:t,node:this.rowNode,data:this.rowNode.data,value:this.value,column:this.column,colDef:this.column.getColDef(),rowPinned:this.rowNode.rowPinned,event:e,rowIndex:this.rowNode.rowIndex})}processCharacter(e){var t;null===(t=this.cellKeyboardListenerFeature)||void 0===t||t.processCharacter(e)}onKeyDown(e){var t;null===(t=this.cellKeyboardListenerFeature)||void 0===t||t.onKeyDown(e)}onMouseEvent(e,t){var a;null===(a=this.cellMouseListenerFeature)||void 0===a||a.onMouseEvent(e,t)}getGui(){return this.eGui}refreshToolTip(){var e;null===(e=this.tooltipFeature)||void 0===e||e.refreshToolTip()}getColSpanningList(){return this.cellPositionFeature.getColSpanningList()}onLeftChanged(){var e;this.cellComp&&(null===(e=this.cellPositionFeature)||void 0===e||e.onLeftChanged())}onDisplayedColumnsChanged(){this.eGui&&(this.refreshAriaColIndex(),this.refreshFirstAndLastStyles())}refreshFirstAndLastStyles(){const{cellComp:e,column:t,beans:a}=this;Rl.refreshFirstAndLastStyles(e,t,a.columnModel)}refreshAriaColIndex(){const e=this.beans.columnModel.getAriaColumnIndex(this.column);ba(this.getGui(),e)}isSuppressNavigable(){return this.column.isSuppressNavigable(this.rowNode)}onWidthChanged(){var e;return null===(e=this.cellPositionFeature)||void 0===e?void 0:e.onWidthChanged()}getColumn(){return this.column}getRowNode(){return this.rowNode}getBeans(){return this.beans}isPrintLayout(){return this.printLayout}appendChild(e){this.eGui.appendChild(e)}refreshHandle(){this.cellRangeFeature&&this.cellRangeFeature.refreshHandle()}getCellPosition(){return this.cellPosition}isEditing(){return this.editing}startRowOrCellEdit(e,t=null){this.cellComp?"fullRow"===this.beans.gridOptionsService.get("editType")?this.rowCtrl.startRowEditing(e,this):this.startEditing(e,!0,t):this.onCellCompAttachedFuncs.push(()=>{this.startRowOrCellEdit(e,t)})}getRowCtrl(){return this.rowCtrl}getRowPosition(){return{rowIndex:this.cellPosition.rowIndex,rowPinned:this.cellPosition.rowPinned}}updateRangeBordersIfRangeCount(){this.cellComp&&this.cellRangeFeature&&this.cellRangeFeature.updateRangeBordersIfRangeCount()}onRangeSelectionChanged(){this.cellComp&&this.cellRangeFeature&&this.cellRangeFeature.onRangeSelectionChanged()}isRangeSelectionEnabled(){return null!=this.cellRangeFeature}focusCell(e=!1){this.beans.focusService.setFocusedCell({rowIndex:this.getCellPosition().rowIndex,column:this.column,rowPinned:this.rowNode.rowPinned,forceBrowserFocus:e})}onRowIndexChanged(){this.createCellPosition(),this.onCellFocused(),this.cellRangeFeature&&this.cellRangeFeature.onRangeSelectionChanged()}onFirstRightPinnedChanged(){if(!this.cellComp)return;const e=this.column.isFirstRightPinned();this.cellComp.addOrRemoveCssClass("ag-cell-first-right-pinned",e)}onLastLeftPinnedChanged(){if(!this.cellComp)return;const e=this.column.isLastLeftPinned();this.cellComp.addOrRemoveCssClass("ag-cell-last-left-pinned",e)}onCellFocused(e){if(this.beans.gridOptionsService.get("suppressCellFocus"))return;const t=this.beans.focusService.isCellFocused(this.cellPosition);if(!this.cellComp)return void(t&&(null==e?void 0:e.forceBrowserFocus)&&(this.focusEventToRestore=e));if(this.focusEventToRestore=void 0,this.cellComp.addOrRemoveCssClass("ag-cell-focus",t),t&&e&&e.forceBrowserFocus){this.cellComp.getFocusableElement().focus({preventScroll:!!e.preventScrollOnBrowserFocus})}const a="fullRow"===this.beans.gridOptionsService.get("editType");t||a||!this.editing||this.stopRowOrCellEdit(),t&&this.rowCtrl.announceDescription()}createCellPosition(){this.cellPosition={rowIndex:this.rowNode.rowIndex,rowPinned:y(this.rowNode.rowPinned),column:this.column}}applyStaticCssClasses(){this.cellComp.addOrRemoveCssClass("ag-cell",!0),this.cellComp.addOrRemoveCssClass("ag-cell-not-inline-editing",!0);const e=1==this.column.isAutoHeight();this.cellComp.addOrRemoveCssClass("ag-cell-auto-height",e),this.cellComp.addOrRemoveCssClass("ag-cell-normal-height",!e)}onColumnHover(){if(!this.cellComp)return;if(!this.beans.gridOptionsService.get("columnHoverHighlight"))return;const e=this.beans.columnHoverService.isHovered(this.column);this.cellComp.addOrRemoveCssClass("ag-column-hover",e)}onColDefChanged(){var e,t;if(!this.cellComp)return;this.column.isAutoHeight()!==this.isAutoHeight&&(null===(e=this.rowCtrl)||void 0===e||e.refreshCell(this));if(this.column.isTooltipEnabled()?(this.disableTooltipFeature(),this.enableTooltipFeature(),null===(t=this.tooltipFeature)||void 0===t||t.setComp(this.eGui)):this.disableTooltipFeature(),this.setWrapText(),this.editing){const e=this.getCellEditor();if(null==e?void 0:e.refresh){const{eventKey:t,cellStartedEdit:a}=this.editCompDetails.params,r=this.createCellEditorParams(t,a),o=this.column.getColDef(),i=this.beans.userComponentFactory.getCellEditorDetails(o,r);e.refresh(i.params)}}else this.refreshOrDestroyCell({forceRefresh:!0,suppressFlash:!0})}setWrapText(){const e=1==this.column.getColDef().wrapText;this.cellComp.addOrRemoveCssClass("ag-cell-wrap-text",e)}dispatchCellContextMenuEvent(e){const t=this.column.getColDef(),a=this.createEvent(e,st.EVENT_CELL_CONTEXT_MENU);this.beans.eventService.dispatchEvent(a),t.onCellContextMenu&&window.setTimeout(()=>{this.beans.frameworkOverrides.wrapOutgoing(()=>{t.onCellContextMenu(a)})},0)}getCellRenderer(){return this.cellComp?this.cellComp.getCellRenderer():null}getCellEditor(){return this.cellComp?this.cellComp.getCellEditor():null}destroy(){this.onCellCompAttachedFuncs=[],super.destroy()}createSelectionCheckbox(){const e=new Pi;return this.beans.context.createBean(e),e.init({rowNode:this.rowNode,column:this.column}),e}createDndSource(){const e=new El(this.rowNode,this.column,this.eGui);return this.beans.context.createBean(e),e}registerRowDragger(e,t,a){if(this.customRowDragComp)return void this.customRowDragComp.setDragElement(e,t);const r=this.createRowDragComp(e,t,a);r&&(this.customRowDragComp=r,this.addDestroyFunc(()=>{this.beans.context.destroyBean(r),this.customRowDragComp=null}))}createRowDragComp(e,t,a){const r=this.beans.gridOptionsService.get("pagination"),o=this.beans.gridOptionsService.get("rowDragManaged"),i=this.beans.gridOptionsService.isRowModelType("clientSide");if(o){if(!i)return void q("managed row dragging is only allowed in the Client Side Row Model");if(r)return void q("managed row dragging is not possible when doing pagination")}const n=new Vi(()=>this.value,this.rowNode,this.column,e,t,a);return this.beans.context.createBean(n),n}}var zl;kl.DOM_DATA_KEY_CELL_CTRL="cellCtrl",function(e){e.Normal="Normal",e.FullWidth="FullWidth",e.FullWidthLoading="FullWidthLoading",e.FullWidthGroup="FullWidthGroup",e.FullWidthDetail="FullWidthDetail"}(zl||(zl={}));let Tl=0;class Al extends at{constructor(e,t,a,r,o){super(),this.allRowGuis=[],this.active=!0,this.centerCellCtrls={list:[],map:{}},this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}},this.slideInAnimation={left:!1,center:!1,right:!1,fullWidth:!1},this.fadeInAnimation={left:!1,center:!1,right:!1,fullWidth:!1},this.rowDragComps=[],this.lastMouseDownOnDragger=!1,this.emptyStyle={},this.updateColumnListsPending=!1,this.rowId=null,this.businessKeySanitised=null,this.beans=t,this.gridOptionsService=t.gridOptionsService,this.rowNode=e,this.paginationPage=t.paginationProxy.getCurrentPage(),this.useAnimationFrameForCreate=r,this.printLayout=o,this.suppressRowTransform=this.gridOptionsService.get("suppressRowTransform"),this.instanceId=e.id+"-"+Tl++,this.rowId=ft(e.id),this.initRowBusinessKey(),this.rowFocused=t.focusService.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned),this.rowLevel=t.rowCssClassCalculator.calculateRowLevel(this.rowNode),this.setRowType(),this.setAnimateFlags(a),this.rowStyles=this.processStylesFromGridOptions(),this.isFullWidth()&&!this.gridOptionsService.get("suppressCellFocus")&&(this.tabIndex=-1),this.addListeners()}initRowBusinessKey(){this.businessKeyForNodeFunc=this.gridOptionsService.get("getBusinessKeyForNode"),this.updateRowBusinessKey()}updateRowBusinessKey(){if("function"!=typeof this.businessKeyForNodeFunc)return;const e=this.businessKeyForNodeFunc(this.rowNode);this.businessKeySanitised=ft(e)}getRowId(){return this.rowId}getRowStyles(){return this.rowStyles}getTabIndex(){return this.tabIndex}isSticky(){return this.rowNode.sticky}getBeans(){return this.beans}getInstanceId(){return this.instanceId}setComp(e,t,a){const r={rowComp:e,element:t,containerType:a};this.allRowGuis.push(r),a===Ul.LEFT?this.leftGui=r:a===Ul.RIGHT?this.rightGui=r:a===Ul.FULL_WIDTH?this.fullWidthGui=r:this.centerGui=r,this.initialiseRowComp(r),"FullWidthLoading"===this.rowType||this.rowNode.rowPinned||this.beans.rowRenderer.dispatchFirstDataRenderedEvent()}unsetComp(e){switch(this.allRowGuis=this.allRowGuis.filter(t=>t.containerType!==e),e){case Ul.LEFT:this.leftGui=void 0;break;case Ul.RIGHT:this.rightGui=void 0;break;case Ul.FULL_WIDTH:this.fullWidthGui=void 0;break;case Ul.CENTER:this.centerGui=void 0}}isCacheable(){return this.rowType===zl.FullWidthDetail&&this.gridOptionsService.get("keepDetailRows")}setCached(e){const t=e?"none":"";this.allRowGuis.forEach(e=>e.element.style.display=t)}initialiseRowComp(e){const t=this.gridOptionsService;this.listenOnDomOrder(e),this.beans.columnModel.wasAutoRowHeightEverActive()&&this.rowNode.checkAutoHeights(),this.onRowHeightChanged(e),this.updateRowIndexes(e),this.setFocusedClasses(e),this.setStylesFromGridOptions(!1,e),t.isRowSelection()&&this.rowNode.selectable&&this.onRowSelected(e),this.updateColumnLists(!this.useAnimationFrameForCreate);const a=e.rowComp;this.getInitialRowClasses(e.containerType).forEach(e=>a.addOrRemoveCssClass(e,!0)),this.executeSlideAndFadeAnimations(e),this.rowNode.group&&ca(e.element,1==this.rowNode.expanded),this.setRowCompRowId(a),this.setRowCompRowBusinessKey(a),t.setDomData(e.element,Al.DOM_DATA_KEY_ROW_CTRL,this),this.addDestroyFunc(()=>t.setDomData(e.element,Al.DOM_DATA_KEY_ROW_CTRL,null)),this.useAnimationFrameForCreate?this.beans.animationFrameService.createTask(this.addHoverFunctionality.bind(this,e.element),this.rowNode.rowIndex,"createTasksP2"):this.addHoverFunctionality(e.element),this.isFullWidth()&&this.setupFullWidth(e),t.get("rowDragEntireRow")&&this.addRowDraggerToRow(e),this.useAnimationFrameForCreate&&this.beans.animationFrameService.addDestroyTask(()=>{this.isAlive()&&e.rowComp.addOrRemoveCssClass("ag-after-created",!0)}),this.executeProcessRowPostCreateFunc()}setRowCompRowBusinessKey(e){null!=this.businessKeySanitised&&e.setRowBusinessKey(this.businessKeySanitised)}getBusinessKey(){return this.businessKeySanitised}setRowCompRowId(e){this.rowId=ft(this.rowNode.id),null!=this.rowId&&e.setRowId(this.rowId)}executeSlideAndFadeAnimations(e){const{containerType:t}=e;this.slideInAnimation[t]&&(J(()=>{this.onTopChanged()}),this.slideInAnimation[t]=!1);this.fadeInAnimation[t]&&(J(()=>{e.rowComp.addOrRemoveCssClass("ag-opacity-zero",!1)}),this.fadeInAnimation[t]=!1)}addRowDraggerToRow(e){if(this.gridOptionsService.get("enableRangeSelection"))return void q("Setting `rowDragEntireRow: true` in the gridOptions doesn't work with `enableRangeSelection: true`");const t=this.beans.localeService.getLocaleTextFunc(),a=new Vi(()=>"1 "+t("rowDragRow","row"),this.rowNode,void 0,e.element,void 0,!0),r=this.createBean(a,this.beans.context);this.rowDragComps.push(r)}setupFullWidth(e){const t=this.getPinnedForContainer(e.containerType),a=this.createFullWidthParams(e.element,t);if(this.rowType==zl.FullWidthDetail&&!oe.__assertRegistered(re.MasterDetailModule,"cell renderer 'agDetailCellRenderer' (for master detail)",this.beans.context.getGridId()))return;let r;switch(this.rowType){case zl.FullWidthDetail:r=this.beans.userComponentFactory.getFullWidthDetailCellRendererDetails(a);break;case zl.FullWidthGroup:r=this.beans.userComponentFactory.getFullWidthGroupCellRendererDetails(a);break;case zl.FullWidthLoading:r=this.beans.userComponentFactory.getFullWidthLoadingCellRendererDetails(a);break;default:r=this.beans.userComponentFactory.getFullWidthCellRendererDetails(a)}e.rowComp.showFullWidth(r)}isPrintLayout(){return this.printLayout}getFullWidthCellRenderers(){var e,t;return this.gridOptionsService.get("embedFullWidthRows")?this.allRowGuis.map(e=>{var t;return null===(t=null==e?void 0:e.rowComp)||void 0===t?void 0:t.getFullWidthCellRenderer()}):[null===(t=null===(e=this.fullWidthGui)||void 0===e?void 0:e.rowComp)||void 0===t?void 0:t.getFullWidthCellRenderer()]}getCellElement(e){const t=this.getCellCtrl(e);return t?t.getGui():null}executeProcessRowPostCreateFunc(){const e=this.gridOptionsService.getCallback("processRowPostCreate");if(!e||!this.areAllContainersReady())return;e({eRow:this.centerGui.element,ePinnedLeftRow:this.leftGui?this.leftGui.element:void 0,ePinnedRightRow:this.rightGui?this.rightGui.element:void 0,node:this.rowNode,rowIndex:this.rowNode.rowIndex,addRenderedRowListener:this.addEventListener.bind(this)})}areAllContainersReady(){const e=!!this.leftGui||!this.beans.columnModel.isPinningLeft(),t=!!this.centerGui,a=!!this.rightGui||!this.beans.columnModel.isPinningRight();return e&&t&&a}setRowType(){const e=this.rowNode.stub,t=this.rowNode.isFullWidthCell(),a=this.gridOptionsService.get("masterDetail")&&this.rowNode.detail,r=this.beans.columnModel.isPivotMode(),o=!!this.rowNode.group&&!this.rowNode.footer&&this.gridOptionsService.isGroupUseEntireRow(r);this.rowType=e?zl.FullWidthLoading:a?zl.FullWidthDetail:t?zl.FullWidth:o?zl.FullWidthGroup:zl.Normal}updateColumnLists(e=!1,t=!1){if(this.isFullWidth())return;e||this.gridOptionsService.get("suppressAnimationFrame")||this.printLayout?this.updateColumnListsImpl(t):this.updateColumnListsPending||(this.beans.animationFrameService.createTask(()=>{this.active&&this.updateColumnListsImpl(!0)},this.rowNode.rowIndex,"createTasksP1"),this.updateColumnListsPending=!0)}createCellCtrls(e,t,a=null){const r={list:[],map:{}},o=(e,t)=>{r.list.push(t),r.map[e]=t};return t.forEach(t=>{const a=t.getInstanceId();let r=e.map[a];r||(r=new kl(t,this.rowNode,this.beans,this)),o(a,r)}),e.list.forEach(e=>{if(null!=r.map[e.getColumn().getInstanceId()])return;this.isCellEligibleToBeRemoved(e,a)?e.destroy():o(e.getColumn().getInstanceId(),e)}),r}updateColumnListsImpl(e){this.updateColumnListsPending=!1,this.createAllCellCtrls(),this.setCellCtrls(e)}setCellCtrls(e){this.allRowGuis.forEach(t=>{const a=this.getCellCtrlsForContainer(t.containerType);t.rowComp.setCellCtrls(a,e)})}getCellCtrlsForContainer(e){switch(e){case Ul.LEFT:return this.leftCellCtrls.list;case Ul.RIGHT:return this.rightCellCtrls.list;case Ul.FULL_WIDTH:return[];case Ul.CENTER:return this.centerCellCtrls.list;default:throw new Error("Unhandled case: "+e)}}createAllCellCtrls(){const e=this.beans.columnModel;if(this.printLayout)this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,e.getAllDisplayedColumns()),this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}};else{const t=e.getViewportCenterColumnsForRow(this.rowNode);this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,t);const a=e.getDisplayedLeftColumnsForRow(this.rowNode);this.leftCellCtrls=this.createCellCtrls(this.leftCellCtrls,a,"left");const r=e.getDisplayedRightColumnsForRow(this.rowNode);this.rightCellCtrls=this.createCellCtrls(this.rightCellCtrls,r,"right")}}isCellEligibleToBeRemoved(e,t){if(e.getColumn().getPinned()!=t)return!0;const a=e.isEditing(),r=this.beans.focusService.isCellFocused(e.getCellPosition());if(a||r){const t=e.getColumn();return!(this.beans.columnModel.getAllDisplayedColumns().indexOf(t)>=0)}return!0}getDomOrder(){return this.gridOptionsService.get("ensureDomOrder")||this.gridOptionsService.isDomLayout("print")}listenOnDomOrder(e){const t=()=>{e.rowComp.setDomOrder(this.getDomOrder())};this.addManagedPropertyListener("domLayout",t),this.addManagedPropertyListener("ensureDomOrder",t)}setAnimateFlags(e){if(this.isSticky()||!e)return;const t=S(this.rowNode.oldRowTop),a=this.beans.columnModel.isPinningLeft(),r=this.beans.columnModel.isPinningRight();if(t){if(this.isFullWidth()&&!this.gridOptionsService.get("embedFullWidthRows"))return void(this.slideInAnimation.fullWidth=!0);this.slideInAnimation.center=!0,this.slideInAnimation.left=a,this.slideInAnimation.right=r}else{if(this.isFullWidth()&&!this.gridOptionsService.get("embedFullWidthRows"))return void(this.fadeInAnimation.fullWidth=!0);this.fadeInAnimation.center=!0,this.fadeInAnimation.left=a,this.fadeInAnimation.right=r}}isEditing(){return this.editingRow}isFullWidth(){return this.rowType!==zl.Normal}getRowType(){return this.rowType}refreshFullWidth(){const e=(e,t)=>!e||e.rowComp.refreshFullWidth(()=>this.createFullWidthParams(e.element,t)),t=e(this.fullWidthGui,null),a=e(this.centerGui,null),r=e(this.leftGui,"left"),o=e(this.rightGui,"right");return t&&a&&r&&o}addListeners(){this.addManagedListener(this.rowNode,Ai.EVENT_HEIGHT_CHANGED,()=>this.onRowHeightChanged()),this.addManagedListener(this.rowNode,Ai.EVENT_ROW_SELECTED,()=>this.onRowSelected()),this.addManagedListener(this.rowNode,Ai.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_TOP_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_EXPANDED_CHANGED,this.updateExpandedCss.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_HAS_CHILDREN_CHANGED,this.updateExpandedCss.bind(this)),this.rowNode.detail&&this.addManagedListener(this.rowNode.parent,Ai.EVENT_DATA_CHANGED,this.onRowNodeDataChanged.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_DATA_CHANGED,this.onRowNodeDataChanged.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_CELL_CHANGED,this.postProcessCss.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_HIGHLIGHT_CHANGED,this.onRowNodeHighlightChanged.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_DRAGGING_CHANGED,this.postProcessRowDragging.bind(this)),this.addManagedListener(this.rowNode,Ai.EVENT_UI_LEVEL_CHANGED,this.onUiLevelChanged.bind(this));const e=this.beans.eventService;this.addManagedListener(e,st.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,this.onPaginationPixelOffsetChanged.bind(this)),this.addManagedListener(e,st.EVENT_HEIGHT_SCALE_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(e,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(e,st.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(e,st.EVENT_CELL_FOCUSED,this.onCellFocusChanged.bind(this)),this.addManagedListener(e,st.EVENT_CELL_FOCUS_CLEARED,this.onCellFocusChanged.bind(this)),this.addManagedListener(e,st.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addManagedListener(e,st.EVENT_MODEL_UPDATED,this.refreshFirstAndLastRowStyles.bind(this)),this.addManagedListener(e,st.EVENT_COLUMN_MOVED,this.updateColumnLists.bind(this)),this.addDestroyFunc(()=>{this.destroyBeans(this.rowDragComps,this.beans.context)}),this.addManagedPropertyListeners(["rowDragEntireRow"],()=>{this.gridOptionsService.get("rowDragEntireRow")?this.allRowGuis.forEach(e=>{this.addRowDraggerToRow(e)}):(this.destroyBeans(this.rowDragComps,this.beans.context),this.rowDragComps=[])}),this.addListenersForCellComps()}addListenersForCellComps(){this.addManagedListener(this.rowNode,Ai.EVENT_ROW_INDEX_CHANGED,()=>{this.getAllCellCtrls().forEach(e=>e.onRowIndexChanged())}),this.addManagedListener(this.rowNode,Ai.EVENT_CELL_CHANGED,e=>{this.getAllCellCtrls().forEach(t=>t.onCellChanged(e))})}onRowNodeDataChanged(e){if(this.isFullWidth()!==!!this.rowNode.isFullWidthCell())this.beans.rowRenderer.redrawRow(this.rowNode);else if(this.isFullWidth()){this.refreshFullWidth()||this.beans.rowRenderer.redrawRow(this.rowNode)}else this.getAllCellCtrls().forEach(t=>t.refreshCell({suppressFlash:!e.update,newData:!e.update})),this.allRowGuis.forEach(e=>{this.setRowCompRowId(e.rowComp),this.updateRowBusinessKey(),this.setRowCompRowBusinessKey(e.rowComp)}),this.onRowSelected(),this.postProcessCss()}postProcessCss(){this.setStylesFromGridOptions(!0),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.postProcessRowDragging()}onRowNodeHighlightChanged(){const e=this.rowNode.highlighted;this.allRowGuis.forEach(t=>{const a=e===Bn.Above,r=e===Bn.Below;t.rowComp.addOrRemoveCssClass("ag-row-highlight-above",a),t.rowComp.addOrRemoveCssClass("ag-row-highlight-below",r)})}postProcessRowDragging(){const e=this.rowNode.dragging;this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass("ag-row-dragging",e))}updateExpandedCss(){const e=this.rowNode.isExpandable(),t=1==this.rowNode.expanded;this.allRowGuis.forEach(a=>{a.rowComp.addOrRemoveCssClass("ag-row-group",e),a.rowComp.addOrRemoveCssClass("ag-row-group-expanded",e&&t),a.rowComp.addOrRemoveCssClass("ag-row-group-contracted",e&&!t),ca(a.element,e&&t)})}onDisplayedColumnsChanged(){this.updateColumnLists(!0),this.beans.columnModel.wasAutoRowHeightEverActive()&&this.rowNode.checkAutoHeights()}onVirtualColumnsChanged(){this.updateColumnLists(!1,!0)}getRowPosition(){return{rowPinned:y(this.rowNode.rowPinned),rowIndex:this.rowNode.rowIndex}}onKeyboardNavigate(e){const t=this.allRowGuis.find(t=>t.element.contains(e.target));if(!((t?t.element:null)===e.target))return;const a=this.rowNode,r=this.beans.focusService.getFocusedCell(),o={rowIndex:a.rowIndex,rowPinned:a.rowPinned,column:r&&r.column};this.beans.navigationService.navigateToNextCell(e,e.key,o,!0),e.preventDefault()}onTabKeyDown(e){if(e.defaultPrevented||Ye(e))return;const t=this.allRowGuis.find(t=>t.element.contains(e.target)),a=t?t.element:null,r=a===e.target;let o=null;r||(o=this.beans.focusService.findNextFocusableElement(a,!1,e.shiftKey)),(this.isFullWidth()&&r||!o)&&this.beans.navigationService.onTabKeyDown(this,e)}onFullWidthRowFocused(e){var t;const a=this.rowNode,r=!!e&&(this.isFullWidth()&&e.rowIndex===a.rowIndex&&e.rowPinned==a.rowPinned),o=this.fullWidthGui?this.fullWidthGui.element:null===(t=this.centerGui)||void 0===t?void 0:t.element;o&&(o.classList.toggle("ag-full-width-focus",r),r&&o.focus({preventScroll:!0}))}refreshCell(e){this.centerCellCtrls=this.removeCellCtrl(this.centerCellCtrls,e),this.leftCellCtrls=this.removeCellCtrl(this.leftCellCtrls,e),this.rightCellCtrls=this.removeCellCtrl(this.rightCellCtrls,e),this.updateColumnLists()}removeCellCtrl(e,t){const a={list:[],map:{}};return e.list.forEach(e=>{e!==t&&(a.list.push(e),a.map[e.getInstanceId()]=e)}),a}onMouseEvent(e,t){switch(e){case"dblclick":this.onRowDblClick(t);break;case"click":this.onRowClick(t);break;case"touchstart":case"mousedown":this.onRowMouseDown(t)}}createRowEvent(e,t){return this.gridOptionsService.addGridCommonParams({type:e,node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,rowPinned:this.rowNode.rowPinned,event:t})}createRowEventWithSource(e,t){const a=this.createRowEvent(e,t);return a.source=this,a}onRowDblClick(e){if(Ye(e))return;const t=this.createRowEventWithSource(st.EVENT_ROW_DOUBLE_CLICKED,e);this.beans.eventService.dispatchEvent(t)}onRowMouseDown(e){if(this.lastMouseDownOnDragger=nr(e.target,"ag-row-drag",3),!this.isFullWidth())return;const t=this.rowNode,a=this.beans.columnModel;this.beans.rangeService&&this.beans.rangeService.removeAllCellRanges(),this.beans.focusService.setFocusedCell({rowIndex:t.rowIndex,column:a.getAllDisplayedColumns()[0],rowPinned:t.rowPinned,forceBrowserFocus:!0})}onRowClick(e){if(Ye(e)||this.lastMouseDownOnDragger)return;const t=this.createRowEventWithSource(st.EVENT_ROW_CLICKED,e);this.beans.eventService.dispatchEvent(t);const a=e.ctrlKey||e.metaKey,r=e.shiftKey;if(this.gridOptionsService.get("groupSelectsChildren")&&this.rowNode.group||this.isRowSelectionBlocked()||this.gridOptionsService.get("suppressRowClickSelection"))return;const o=this.gridOptionsService.get("rowMultiSelectWithClick"),i=!this.gridOptionsService.get("suppressRowDeselection"),n="rowClicked";if(this.rowNode.isSelected())o?this.rowNode.setSelectedParams({newValue:!1,event:e,source:n}):a?i&&this.rowNode.setSelectedParams({newValue:!1,event:e,source:n}):this.rowNode.setSelectedParams({newValue:!0,clearSelection:!r,rangeSelect:r,event:e,source:n});else{const t=!o&&!a;this.rowNode.setSelectedParams({newValue:!0,clearSelection:t,rangeSelect:r,event:e,source:n})}}isRowSelectionBlocked(){return!this.rowNode.selectable||!!this.rowNode.rowPinned||!this.gridOptionsService.isRowSelection()}setupDetailRowAutoHeight(e){if(this.rowType!==zl.FullWidthDetail)return;if(!this.gridOptionsService.get("detailRowAutoHeight"))return;const t=()=>{const t=e.clientHeight;if(null!=t&&t>0){const e=()=>{this.rowNode.setRowHeight(t),this.beans.clientSideRowModel?this.beans.clientSideRowModel.onRowHeightChanged():this.beans.serverSideRowModel&&this.beans.serverSideRowModel.onRowHeightChanged()};window.setTimeout(e,0)}},a=this.beans.resizeObserverService.observeResize(e,t);this.addDestroyFunc(a),t()}createFullWidthParams(e,t){return this.gridOptionsService.addGridCommonParams({fullWidth:!0,data:this.rowNode.data,node:this.rowNode,value:this.rowNode.key,valueFormatted:this.rowNode.key,rowIndex:this.rowNode.rowIndex,eGridCell:e,eParentOfValue:e,pinned:t,addRenderedRowListener:this.addEventListener.bind(this),registerRowDragger:(e,t,a,r)=>this.addFullWidthRowDragging(e,t,a,r)})}addFullWidthRowDragging(e,t,a="",r){if(!this.isFullWidth())return;const o=new Vi(()=>a,this.rowNode,void 0,e,t,r);this.createManagedBean(o,this.beans.context)}onUiLevelChanged(){const e=this.beans.rowCssClassCalculator.calculateRowLevel(this.rowNode);if(this.rowLevel!=e){const t="ag-row-level-"+e,a="ag-row-level-"+this.rowLevel;this.allRowGuis.forEach(e=>{e.rowComp.addOrRemoveCssClass(t,!0),e.rowComp.addOrRemoveCssClass(a,!1)})}this.rowLevel=e}isFirstRowOnPage(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageFirstRow()}isLastRowOnPage(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageLastRow()}refreshFirstAndLastRowStyles(){const e=this.isFirstRowOnPage(),t=this.isLastRowOnPage();this.firstRowOnPage!==e&&(this.firstRowOnPage=e,this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass("ag-row-first",e))),this.lastRowOnPage!==t&&(this.lastRowOnPage=t,this.allRowGuis.forEach(e=>e.rowComp.addOrRemoveCssClass("ag-row-last",t)))}stopEditing(e=!1){if(this.stoppingRowEdit)return;const t=this.getAllCellCtrls(),a=this.editingRow;this.stoppingRowEdit=!0;let r=!1;for(const o of t){const t=o.stopEditing(e);a&&!e&&!r&&t&&(r=!0)}if(r){const e=this.createRowEvent(st.EVENT_ROW_VALUE_CHANGED);this.beans.eventService.dispatchEvent(e)}a&&this.setEditingRow(!1),this.stoppingRowEdit=!1}setInlineEditingCss(e){this.allRowGuis.forEach(t=>{t.rowComp.addOrRemoveCssClass("ag-row-inline-editing",e),t.rowComp.addOrRemoveCssClass("ag-row-not-inline-editing",!e)})}setEditingRow(e){this.editingRow=e,this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass("ag-row-editing",e));const t=e?this.createRowEvent(st.EVENT_ROW_EDITING_STARTED):this.createRowEvent(st.EVENT_ROW_EDITING_STOPPED);this.beans.eventService.dispatchEvent(t)}startRowEditing(e=null,t=null,a=null){if(this.editingRow)return;this.getAllCellCtrls().reduce((r,o)=>{const i=o===t;return i?o.startEditing(e,i,a):o.startEditing(null,i,a),!!r||o.isEditing()},!1)&&this.setEditingRow(!0)}getAllCellCtrls(){if(0===this.leftCellCtrls.list.length&&0===this.rightCellCtrls.list.length)return this.centerCellCtrls.list;return[...this.centerCellCtrls.list,...this.leftCellCtrls.list,...this.rightCellCtrls.list]}postProcessClassesFromGridOptions(){const e=this.beans.rowCssClassCalculator.processClassesFromGridOptions(this.rowNode);e&&e.length&&e.forEach(e=>{this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass(e,!0))})}postProcessRowClassRules(){this.beans.rowCssClassCalculator.processRowClassRules(this.rowNode,e=>{this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass(e,!0))},e=>{this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass(e,!1))})}setStylesFromGridOptions(e,t){e&&(this.rowStyles=this.processStylesFromGridOptions()),this.forEachGui(t,e=>e.rowComp.setUserStyles(this.rowStyles))}getPinnedForContainer(e){return e===Ul.LEFT?"left":e===Ul.RIGHT?"right":null}getInitialRowClasses(e){const t=this.getPinnedForContainer(e),a={rowNode:this.rowNode,rowFocused:this.rowFocused,fadeRowIn:this.fadeInAnimation[e],rowIsEven:this.rowNode.rowIndex%2==0,rowLevel:this.rowLevel,fullWidthRow:this.isFullWidth(),firstRowOnPage:this.isFirstRowOnPage(),lastRowOnPage:this.isLastRowOnPage(),printLayout:this.printLayout,expandable:this.rowNode.isExpandable(),pinned:t};return this.beans.rowCssClassCalculator.getInitialRowClasses(a)}processStylesFromGridOptions(){const e=this.gridOptionsService.get("rowStyle");if(e&&"function"==typeof e)return void console.warn("AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead");const t=this.gridOptionsService.getCallback("getRowStyle");let a;if(t){a=t({data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex})}return a||e?Object.assign({},e,a):this.emptyStyle}onRowSelected(e){const t=this.beans.gridOptionsService.getDocument(),a=!!this.rowNode.isSelected();this.forEachGui(e,e=>{e.rowComp.addOrRemoveCssClass("ag-row-selected",a),Ea(e.element,a);!e.element.contains(t.activeElement)||e!==this.centerGui&&e!==this.fullWidthGui||this.announceDescription()})}announceDescription(){if(this.isRowSelectionBlocked())return;const e=this.rowNode.isSelected();if(e&&this.beans.gridOptionsService.get("suppressRowDeselection"))return;const t=this.beans.localeService.getLocaleTextFunc()(e?"ariaRowDeselect":"ariaRowSelect",`Press SPACE to ${e?"deselect":"select"} this row.`);this.beans.ariaAnnouncementService.announceValue(t)}isUseAnimationFrameForCreate(){return this.useAnimationFrameForCreate}addHoverFunctionality(e){this.active&&(this.addManagedListener(e,"mouseenter",()=>this.rowNode.onMouseEnter()),this.addManagedListener(e,"mouseleave",()=>this.rowNode.onMouseLeave()),this.addManagedListener(this.rowNode,Ai.EVENT_MOUSE_ENTER,()=>{this.beans.dragService.isDragging()||this.gridOptionsService.get("suppressRowHoverHighlight")||(e.classList.add("ag-row-hover"),this.rowNode.setHovered(!0))}),this.addManagedListener(this.rowNode,Ai.EVENT_MOUSE_LEAVE,()=>{e.classList.remove("ag-row-hover"),this.rowNode.setHovered(!1)}))}roundRowTopToBounds(e){const t=this.beans.ctrlsService.getGridBodyCtrl().getScrollFeature().getApproximateVScollPosition(),a=this.applyPaginationOffset(t.top,!0)-100,r=this.applyPaginationOffset(t.bottom,!0)+100;return Math.min(Math.max(a,e),r)}getFrameworkOverrides(){return this.beans.frameworkOverrides}forEachGui(e,t){e?t(e):this.allRowGuis.forEach(t)}onRowHeightChanged(e){if(null==this.rowNode.rowHeight)return;const t=this.rowNode.rowHeight,a=this.beans.environment.getDefaultRowHeight(),r=this.gridOptionsService.isGetRowHeightFunction()?this.gridOptionsService.getRowHeightForNode(this.rowNode).height:void 0,o=r?Math.min(a,r)-2+"px":void 0;this.forEachGui(e,e=>{e.element.style.height=t+"px",o&&e.element.style.setProperty("--ag-line-height",o)})}addEventListener(e,t){super.addEventListener(e,t)}removeEventListener(e,t){super.removeEventListener(e,t)}destroyFirstPass(e=!1){if(this.active=!1,!e&&this.gridOptionsService.isAnimateRows()&&!this.isSticky()){if(null!=this.rowNode.rowTop){const e=this.roundRowTopToBounds(this.rowNode.rowTop);this.setRowTop(e)}else this.allRowGuis.forEach(e=>e.rowComp.addOrRemoveCssClass("ag-opacity-zero",!0))}this.rowNode.setHovered(!1);const t=this.createRowEvent(st.EVENT_VIRTUAL_ROW_REMOVED);this.dispatchEvent(t),this.beans.eventService.dispatchEvent(t),super.destroy()}destroySecondPass(){this.allRowGuis.length=0,this.stopEditing();const e=e=>(e.list.forEach(e=>e.destroy()),{list:[],map:{}});this.centerCellCtrls=e(this.centerCellCtrls),this.leftCellCtrls=e(this.leftCellCtrls),this.rightCellCtrls=e(this.rightCellCtrls)}setFocusedClasses(e){this.forEachGui(e,e=>{e.rowComp.addOrRemoveCssClass("ag-row-focus",this.rowFocused),e.rowComp.addOrRemoveCssClass("ag-row-no-focus",!this.rowFocused)})}onCellFocusChanged(){const e=this.beans.focusService.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);e!==this.rowFocused&&(this.rowFocused=e,this.setFocusedClasses()),!e&&this.editingRow&&this.stopEditing(!1)}onPaginationChanged(){const e=this.beans.paginationProxy.getCurrentPage();this.paginationPage!==e&&(this.paginationPage=e,this.onTopChanged()),this.refreshFirstAndLastRowStyles()}onTopChanged(){this.setRowTop(this.rowNode.rowTop)}onPaginationPixelOffsetChanged(){this.onTopChanged()}applyPaginationOffset(e,t=!1){if(this.rowNode.isRowPinned()||this.rowNode.sticky)return e;return e+this.beans.paginationProxy.getPixelOffset()*(t?1:-1)}setRowTop(e){if(!this.printLayout&&S(e)){const t=this.applyPaginationOffset(e),a=(this.rowNode.isRowPinned()||this.rowNode.sticky?t:this.beans.rowContainerHeightService.getRealPixelPosition(t))+"px";this.setRowTopStyle(a)}}getInitialRowTop(e){return this.suppressRowTransform?this.getInitialRowTopShared(e):void 0}getInitialTransform(e){return this.suppressRowTransform?void 0:`translateY(${this.getInitialRowTopShared(e)})`}getInitialRowTopShared(e){if(this.printLayout)return"";let t;if(this.isSticky())t=this.rowNode.stickyRowTop;else{const a=this.slideInAnimation[e]?this.roundRowTopToBounds(this.rowNode.oldRowTop):this.rowNode.rowTop,r=this.applyPaginationOffset(a);t=this.rowNode.isRowPinned()?r:this.beans.rowContainerHeightService.getRealPixelPosition(r)}return t+"px"}setRowTopStyle(e){this.allRowGuis.forEach(t=>this.suppressRowTransform?t.rowComp.setTop(e):t.rowComp.setTransform(`translateY(${e})`))}getRowNode(){return this.rowNode}getCellCtrl(e){let t=null;return this.getAllCellCtrls().forEach(a=>{a.getColumn()==e&&(t=a)}),null!=t||this.getAllCellCtrls().forEach(a=>{a.getColSpanningList().indexOf(e)>=0&&(t=a)}),t}onRowIndexChanged(){null!=this.rowNode.rowIndex&&(this.onCellFocusChanged(),this.updateRowIndexes(),this.postProcessCss())}getRowIndex(){return this.rowNode.getRowIndexString()}updateRowIndexes(e){const t=this.rowNode.getRowIndexString(),a=this.beans.headerNavigationService.getHeaderRowCount()+this.beans.filterManager.getHeaderRowCount(),r=this.rowNode.rowIndex%2==0,o=a+this.rowNode.rowIndex+1;this.forEachGui(e,e=>{e.rowComp.setRowIndex(t),e.rowComp.addOrRemoveCssClass("ag-row-even",r),e.rowComp.addOrRemoveCssClass("ag-row-odd",!r),fa(e.element,o)})}}Al.DOM_DATA_KEY_ROW_CTRL="renderedRow";var Dl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Ol extends at{constructor(e){super(),this.element=e}postConstruct(){this.addKeyboardListeners(),this.addMouseListeners(),this.mockContextMenuForIPad()}addKeyboardListeners(){const e=this.processKeyboardEvent.bind(this,"keydown");this.addManagedListener(this.element,"keydown",e)}addMouseListeners(){["dblclick","contextmenu","mouseover","mouseout","click",Qe("touchstart")?"touchstart":"mousedown"].forEach(e=>{const t=this.processMouseEvent.bind(this,e);this.addManagedListener(this.element,e,t)})}processMouseEvent(e,t){if(!this.mouseEventService.isEventFromThisGrid(t)||Ye(t))return;const a=this.getRowForEvent(t),r=this.mouseEventService.getRenderedCellForEvent(t);"contextmenu"===e?this.handleContextMenuMouseEvent(t,void 0,a,r):(r&&r.onMouseEvent(e,t),a&&a.onMouseEvent(e,t))}mockContextMenuForIPad(){if(!Ma())return;const e=new gi(this.element);this.addManagedListener(e,gi.EVENT_LONG_TAP,e=>{const t=this.getRowForEvent(e.touchEvent),a=this.mouseEventService.getRenderedCellForEvent(e.touchEvent);this.handleContextMenuMouseEvent(void 0,e.touchEvent,t,a)}),this.addDestroyFunc(()=>e.destroy())}getRowForEvent(e){let t=e.target;for(;t;){const e=this.gridOptionsService.getDomData(t,Al.DOM_DATA_KEY_ROW_CTRL);if(e)return e;t=t.parentElement}return null}handleContextMenuMouseEvent(e,t,a,r){const o=a?a.getRowNode():null,i=r?r.getColumn():null;let n=null;if(i){const a=e||t;r.dispatchCellContextMenuEvent(null!=a?a:null),n=this.valueService.getValue(i,o)}const l=this.ctrlsService.getGridBodyCtrl(),s=r?r.getGui():l.getGridBodyElement();this.menuService.showContextMenu({mouseEvent:e,touchEvent:t,rowNode:o,column:i,value:n,anchorToElement:s})}getControlsForEventTarget(e){return{cellCtrl:Je(this.gridOptionsService,e,kl.DOM_DATA_KEY_CELL_CTRL),rowCtrl:Je(this.gridOptionsService,e,Al.DOM_DATA_KEY_ROW_CTRL)}}processKeyboardEvent(e,t){const{cellCtrl:a,rowCtrl:r}=this.getControlsForEventTarget(t.target);t.defaultPrevented||(a?this.processCellKeyboardEvent(a,e,t):r&&r.isFullWidth()&&this.processFullWidthRowKeyboardEvent(r,e,t))}processCellKeyboardEvent(e,t,a){const r=e.getRowNode(),o=e.getColumn(),i=e.isEditing();if(!jr(this.gridOptionsService,a,r,o,i)&&"keydown"===t){!i&&this.navigationService.handlePageScrollingKey(a)||e.onKeyDown(a),this.doGridOperations(a,e.isEditing()),Ur(a)&&e.processCharacter(a)}if("keydown"===t){const t=e.createEvent(a,st.EVENT_CELL_KEY_DOWN);this.eventService.dispatchEvent(t)}}processFullWidthRowKeyboardEvent(e,t,a){const r=e.getRowNode(),o=this.focusService.getFocusedCell(),i=o&&o.column;if(!jr(this.gridOptionsService,a,r,i,!1)){const r=a.key;if("keydown"===t)switch(r){case Wr.PAGE_HOME:case Wr.PAGE_END:case Wr.PAGE_UP:case Wr.PAGE_DOWN:this.navigationService.handlePageScrollingKey(a,!0);break;case Wr.UP:case Wr.DOWN:e.onKeyboardNavigate(a);break;case Wr.TAB:e.onTabKeyDown(a)}}if("keydown"===t){const t=e.createRowEvent(st.EVENT_CELL_KEY_DOWN,a);this.eventService.dispatchEvent(t)}}doGridOperations(e,t){if(!e.ctrlKey&&!e.metaKey)return;if(t)return;if(!this.mouseEventService.isEventFromThisGrid(e))return;const a=Yr(e);return a===Wr.A?this.onCtrlAndA(e):a===Wr.C?this.onCtrlAndC(e):a===Wr.D?this.onCtrlAndD(e):a===Wr.V?this.onCtrlAndV(e):a===Wr.X?this.onCtrlAndX(e):a===Wr.Y?this.onCtrlAndY():a===Wr.Z?this.onCtrlAndZ(e):void 0}onCtrlAndA(e){const{pinnedRowModel:t,paginationProxy:a,rangeService:r}=this;if(r&&a.isRowsToRender()){const[e,a]=[t.isEmpty("top"),t.isEmpty("bottom")],o=e?null:"top";let i,n;a?(i=null,n=this.paginationProxy.getRowCount()-1):(i="bottom",n=t.getPinnedBottomRowData().length-1);const l=this.columnModel.getAllDisplayedColumns();if(R(l))return;r.setCellRange({rowStartIndex:0,rowStartPinned:o,rowEndIndex:n,rowEndPinned:i,columnStart:l[0],columnEnd:Te(l)})}e.preventDefault()}onCtrlAndC(e){if(!this.clipboardService||this.gridOptionsService.get("enableCellTextSelection"))return;const{cellCtrl:t,rowCtrl:a}=this.getControlsForEventTarget(e.target);(null==t?void 0:t.isEditing())||(null==a?void 0:a.isEditing())||(e.preventDefault(),this.clipboardService.copyToClipboard())}onCtrlAndX(e){if(!this.clipboardService||this.gridOptionsService.get("enableCellTextSelection")||this.gridOptionsService.get("suppressCutToClipboard"))return;const{cellCtrl:t,rowCtrl:a}=this.getControlsForEventTarget(e.target);(null==t?void 0:t.isEditing())||(null==a?void 0:a.isEditing())||(e.preventDefault(),this.clipboardService.cutToClipboard(void 0,"ui"))}onCtrlAndV(e){const{cellCtrl:t,rowCtrl:a}=this.getControlsForEventTarget(e.target);(null==t?void 0:t.isEditing())||(null==a?void 0:a.isEditing())||this.clipboardService&&!this.gridOptionsService.get("suppressClipboardPaste")&&this.clipboardService.pasteFromClipboard()}onCtrlAndD(e){this.clipboardService&&!this.gridOptionsService.get("suppressClipboardPaste")&&this.clipboardService.copyRangeDown(),e.preventDefault()}onCtrlAndZ(e){this.gridOptionsService.get("undoRedoCellEditing")&&(e.preventDefault(),e.shiftKey?this.undoRedoService.redo("ui"):this.undoRedoService.undo("ui"))}onCtrlAndY(){this.undoRedoService.redo("ui")}}Dl([de("mouseEventService")],Ol.prototype,"mouseEventService",void 0),Dl([de("valueService")],Ol.prototype,"valueService",void 0),Dl([de("menuService")],Ol.prototype,"menuService",void 0),Dl([de("ctrlsService")],Ol.prototype,"ctrlsService",void 0),Dl([de("navigationService")],Ol.prototype,"navigationService",void 0),Dl([de("focusService")],Ol.prototype,"focusService",void 0),Dl([de("undoRedoService")],Ol.prototype,"undoRedoService",void 0),Dl([de("columnModel")],Ol.prototype,"columnModel",void 0),Dl([de("paginationProxy")],Ol.prototype,"paginationProxy",void 0),Dl([de("pinnedRowModel")],Ol.prototype,"pinnedRowModel",void 0),Dl([ce("rangeService")],Ol.prototype,"rangeService",void 0),Dl([ce("clipboardService")],Ol.prototype,"clipboardService",void 0),Dl([le],Ol.prototype,"postConstruct",null);var Ml=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Pl extends at{constructor(e){super(),this.centerContainerCtrl=e}postConstruct(){this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl(),this.listenForResize()}),this.addManagedListener(this.eventService,st.EVENT_SCROLLBAR_WIDTH_CHANGED,this.onScrollbarWidthChanged.bind(this)),this.addManagedPropertyListeners(["alwaysShowHorizontalScroll","alwaysShowVerticalScroll"],()=>{this.checkViewportAndScrolls()})}listenForResize(){const e=()=>this.onCenterViewportResized();this.centerContainerCtrl.registerViewportResizeListener(e),this.gridBodyCtrl.registerBodyViewportResizeListener(e)}onScrollbarWidthChanged(){this.checkViewportAndScrolls()}onCenterViewportResized(){if(this.centerContainerCtrl.isViewportInTheDOMTree()){this.keepPinnedColumnsNarrowerThanViewport(),this.checkViewportAndScrolls();const e=this.centerContainerCtrl.getCenterWidth();e!==this.centerWidth&&(this.centerWidth=e,this.columnModel.refreshFlexedColumns({viewportWidth:this.centerWidth,updateBodyWidths:!0,fireResizedEvent:!0}))}else this.bodyHeight=0}keepPinnedColumnsNarrowerThanViewport(){const e=gr(this.gridBodyCtrl.getBodyViewportElement());if(e<=50)return;let t=this.getPinnedColumnsOverflowingViewport(e-50);const a=this.gridOptionsService.getCallback("processUnpinnedColumns");if(t.length){if(a){t=a({columns:t,viewportWidth:e})}this.columnModel.setColumnsPinned(t,null,"viewportSizeFeature")}}getPinnedColumnsOverflowingViewport(e){const t=this.pinnedWidthService.getPinnedRightWidth()+this.pinnedWidthService.getPinnedLeftWidth();if(t<e)return[];const a=[...this.columnModel.getDisplayedLeftColumns()],r=[...this.columnModel.getDisplayedRightColumns()];let o=0,i=0;const n=[];let l=t-0-e;for(;(i<a.length||o<r.length)&&l>0;){if(o<r.length){const e=r[o++];l-=e.getActualWidth(),n.push(e)}if(i<a.length&&l>0){const e=a[i++];l-=e.getActualWidth(),n.push(e)}}return n}checkViewportAndScrolls(){this.updateScrollVisibleService(),this.checkBodyHeight(),this.onHorizontalViewportChanged(),this.gridBodyCtrl.getScrollFeature().checkScrollLeft()}getBodyHeight(){return this.bodyHeight}checkBodyHeight(){const e=sr(this.gridBodyCtrl.getBodyViewportElement());if(this.bodyHeight!==e){this.bodyHeight=e;const t={type:st.EVENT_BODY_HEIGHT_CHANGED};this.eventService.dispatchEvent(t)}}updateScrollVisibleService(){this.updateScrollVisibleServiceImpl(),setTimeout(this.updateScrollVisibleServiceImpl.bind(this),500)}updateScrollVisibleServiceImpl(){const e={horizontalScrollShowing:this.isHorizontalScrollShowing(),verticalScrollShowing:this.gridBodyCtrl.isVerticalScrollShowing()};this.scrollVisibleService.setScrollsVisible(e)}isHorizontalScrollShowing(){return this.centerContainerCtrl.isHorizontalScrollShowing()}onHorizontalViewportChanged(){const e=this.centerContainerCtrl.getCenterWidth(),t=this.centerContainerCtrl.getViewportScrollLeft();this.columnModel.setViewportPosition(e,t)}}Ml([de("ctrlsService")],Pl.prototype,"ctrlsService",void 0),Ml([de("pinnedWidthService")],Pl.prototype,"pinnedWidthService",void 0),Ml([de("columnModel")],Pl.prototype,"columnModel",void 0),Ml([de("scrollVisibleService")],Pl.prototype,"scrollVisibleService",void 0),Ml([le],Pl.prototype,"postConstruct",null);var Ll=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Nl extends at{constructor(e){super(),this.element=e}postConstruct(){this.addManagedListener(this.eventService,st.EVENT_LEFT_PINNED_WIDTH_CHANGED,this.onPinnedLeftWidthChanged.bind(this))}onPinnedLeftWidthChanged(){const e=this.pinnedWidthService.getPinnedLeftWidth(),t=e>0;rr(this.element,t),Tr(this.element,e)}getWidth(){return this.pinnedWidthService.getPinnedLeftWidth()}}Ll([de("pinnedWidthService")],Nl.prototype,"pinnedWidthService",void 0),Ll([le],Nl.prototype,"postConstruct",null);var Fl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Il extends at{constructor(e){super(),this.element=e}postConstruct(){this.addManagedListener(this.eventService,st.EVENT_RIGHT_PINNED_WIDTH_CHANGED,this.onPinnedRightWidthChanged.bind(this))}onPinnedRightWidthChanged(){const e=this.pinnedWidthService.getPinnedRightWidth(),t=e>0;rr(this.element,t),Tr(this.element,e)}getWidth(){return this.pinnedWidthService.getPinnedRightWidth()}}Fl([de("pinnedWidthService")],Il.prototype,"pinnedWidthService",void 0),Fl([le],Il.prototype,"postConstruct",null);var Gl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Vl extends at{constructor(e,t){super(),this.eContainer=e,this.eViewport=t}postConstruct(){this.addManagedListener(this.eventService,st.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,this.onHeightChanged.bind(this))}onHeightChanged(){const e=this.maxDivHeightScaler.getUiContainerHeight(),t=null!=e?e+"px":"";this.eContainer.style.height=t,this.eViewport&&(this.eViewport.style.height=t)}}Gl([de("rowContainerHeightService")],Vl.prototype,"maxDivHeightScaler",void 0),Gl([le],Vl.prototype,"postConstruct",null);var Hl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class _l extends at{constructor(e){super(),this.eContainer=e}postConstruct(){if(E(this.rangeService))return;this.params={eElement:this.eContainer,onDragStart:this.rangeService.onDragStart.bind(this.rangeService),onDragStop:this.rangeService.onDragStop.bind(this.rangeService),onDragging:this.rangeService.onDragging.bind(this.rangeService)},this.addManagedPropertyListener("enableRangeSelection",e=>{e.currentValue?this.enableFeature():this.disableFeature()}),this.addDestroyFunc(()=>this.disableFeature());this.gridOptionsService.get("enableRangeSelection")&&this.enableFeature()}enableFeature(){this.dragService.addDragSource(this.params)}disableFeature(){this.dragService.removeDragSource(this.params)}}Hl([ce("rangeService")],_l.prototype,"rangeService",void 0),Hl([de("dragService")],_l.prototype,"dragService",void 0),Hl([le],_l.prototype,"postConstruct",null);var Bl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ql extends at{constructor(e,t=!1){super(),this.callback=e,this.addSpacer=t}postConstruct(){const e=this.setWidth.bind(this);this.addManagedPropertyListener("domLayout",e),this.addManagedListener(this.eventService,st.EVENT_COLUMN_CONTAINER_WIDTH_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_LEFT_PINNED_WIDTH_CHANGED,e),this.addSpacer&&(this.addManagedListener(this.eventService,st.EVENT_RIGHT_PINNED_WIDTH_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_SCROLL_VISIBILITY_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_SCROLLBAR_WIDTH_CHANGED,e)),this.setWidth()}setWidth(){const{columnModel:e}=this,t=this.gridOptionsService.isDomLayout("print"),a=e.getBodyContainerWidth(),r=e.getDisplayedColumnsLeftWidth(),o=e.getDisplayedColumnsRightWidth();let i;if(t)i=a+r+o;else if(i=a,this.addSpacer){0===(this.gridOptionsService.get("enableRtl")?r:o)&&this.scrollVisibleService.isVerticalScrollShowing()&&(i+=this.gridOptionsService.getScrollbarWidth())}this.callback(i)}}Bl([de("columnModel")],ql.prototype,"columnModel",void 0),Bl([de("scrollVisibleService")],ql.prototype,"scrollVisibleService",void 0),Bl([le],ql.prototype,"postConstruct",null);var Wl,Ul,jl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};function Kl(e){switch(e){case Wl.CENTER:case Wl.TOP_CENTER:case Wl.STICKY_TOP_CENTER:case Wl.BOTTOM_CENTER:return Ul.CENTER;case Wl.LEFT:case Wl.TOP_LEFT:case Wl.STICKY_TOP_LEFT:case Wl.BOTTOM_LEFT:return Ul.LEFT;case Wl.RIGHT:case Wl.TOP_RIGHT:case Wl.STICKY_TOP_RIGHT:case Wl.BOTTOM_RIGHT:return Ul.RIGHT;case Wl.FULL_WIDTH:case Wl.TOP_FULL_WIDTH:case Wl.STICKY_TOP_FULL_WIDTH:case Wl.BOTTOM_FULL_WIDTH:return Ul.FULL_WIDTH;default:throw Error("Invalid Row Container Type")}}!function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.FULL_WIDTH="fullWidth",e.TOP_LEFT="topLeft",e.TOP_RIGHT="topRight",e.TOP_CENTER="topCenter",e.TOP_FULL_WIDTH="topFullWidth",e.STICKY_TOP_LEFT="stickyTopLeft",e.STICKY_TOP_RIGHT="stickyTopRight",e.STICKY_TOP_CENTER="stickyTopCenter",e.STICKY_TOP_FULL_WIDTH="stickyTopFullWidth",e.BOTTOM_LEFT="bottomLeft",e.BOTTOM_RIGHT="bottomRight",e.BOTTOM_CENTER="bottomCenter",e.BOTTOM_FULL_WIDTH="bottomFullWidth"}(Wl||(Wl={})),function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.FULL_WIDTH="fullWidth"}(Ul||(Ul={}));const Yl=Ct([[Wl.CENTER,"ag-center-cols-container"],[Wl.LEFT,"ag-pinned-left-cols-container"],[Wl.RIGHT,"ag-pinned-right-cols-container"],[Wl.FULL_WIDTH,"ag-full-width-container"],[Wl.TOP_CENTER,"ag-floating-top-container"],[Wl.TOP_LEFT,"ag-pinned-left-floating-top"],[Wl.TOP_RIGHT,"ag-pinned-right-floating-top"],[Wl.TOP_FULL_WIDTH,"ag-floating-top-full-width-container"],[Wl.STICKY_TOP_CENTER,"ag-sticky-top-container"],[Wl.STICKY_TOP_LEFT,"ag-pinned-left-sticky-top"],[Wl.STICKY_TOP_RIGHT,"ag-pinned-right-sticky-top"],[Wl.STICKY_TOP_FULL_WIDTH,"ag-sticky-top-full-width-container"],[Wl.BOTTOM_CENTER,"ag-floating-bottom-container"],[Wl.BOTTOM_LEFT,"ag-pinned-left-floating-bottom"],[Wl.BOTTOM_RIGHT,"ag-pinned-right-floating-bottom"],[Wl.BOTTOM_FULL_WIDTH,"ag-floating-bottom-full-width-container"]]),Ql=Ct([[Wl.CENTER,"ag-center-cols-viewport"],[Wl.TOP_CENTER,"ag-floating-top-viewport"],[Wl.STICKY_TOP_CENTER,"ag-sticky-top-viewport"],[Wl.BOTTOM_CENTER,"ag-floating-bottom-viewport"]]);class Jl extends at{constructor(e){super(),this.visible=!0,this.EMPTY_CTRLS=[],this.name=e,this.isFullWithContainer=this.name===Wl.TOP_FULL_WIDTH||this.name===Wl.STICKY_TOP_FULL_WIDTH||this.name===Wl.BOTTOM_FULL_WIDTH||this.name===Wl.FULL_WIDTH}static getRowContainerCssClasses(e){return{container:Yl.get(e),viewport:Ql.get(e)}}static getPinned(e){switch(e){case Wl.BOTTOM_LEFT:case Wl.TOP_LEFT:case Wl.STICKY_TOP_LEFT:case Wl.LEFT:return"left";case Wl.BOTTOM_RIGHT:case Wl.TOP_RIGHT:case Wl.STICKY_TOP_RIGHT:case Wl.RIGHT:return"right";default:return null}}postConstruct(){this.enableRtl=this.gridOptionsService.get("enableRtl"),this.forContainers([Wl.CENTER],()=>this.viewportSizeFeature=this.createManagedBean(new Pl(this)))}registerWithCtrlsService(){switch(this.name){case Wl.CENTER:this.ctrlsService.registerCenterRowContainerCtrl(this);break;case Wl.LEFT:this.ctrlsService.registerLeftRowContainerCtrl(this);break;case Wl.RIGHT:this.ctrlsService.registerRightRowContainerCtrl(this);break;case Wl.TOP_CENTER:this.ctrlsService.registerTopCenterRowContainerCtrl(this);break;case Wl.TOP_LEFT:this.ctrlsService.registerTopLeftRowContainerCon(this);break;case Wl.TOP_RIGHT:this.ctrlsService.registerTopRightRowContainerCtrl(this);break;case Wl.STICKY_TOP_CENTER:this.ctrlsService.registerStickyTopCenterRowContainerCtrl(this);break;case Wl.STICKY_TOP_LEFT:this.ctrlsService.registerStickyTopLeftRowContainerCon(this);break;case Wl.STICKY_TOP_RIGHT:this.ctrlsService.registerStickyTopRightRowContainerCtrl(this);break;case Wl.BOTTOM_CENTER:this.ctrlsService.registerBottomCenterRowContainerCtrl(this);break;case Wl.BOTTOM_LEFT:this.ctrlsService.registerBottomLeftRowContainerCtrl(this);break;case Wl.BOTTOM_RIGHT:this.ctrlsService.registerBottomRightRowContainerCtrl(this)}}forContainers(e,t){e.indexOf(this.name)>=0&&t()}getContainerElement(){return this.eContainer}getViewportSizeFeature(){return this.viewportSizeFeature}setComp(e,t,a){this.comp=e,this.eContainer=t,this.eViewport=a,this.createManagedBean(new Ol(this.eContainer)),this.addPreventScrollWhileDragging(),this.listenOnDomOrder(),this.stopHScrollOnPinnedRows();const r=[Wl.TOP_CENTER,Wl.TOP_LEFT,Wl.TOP_RIGHT],o=[Wl.STICKY_TOP_CENTER,Wl.STICKY_TOP_LEFT,Wl.STICKY_TOP_RIGHT],i=[...r,...[Wl.BOTTOM_CENTER,Wl.BOTTOM_LEFT,Wl.BOTTOM_RIGHT],...[Wl.CENTER,Wl.LEFT,Wl.RIGHT],...o],n=[Wl.CENTER,Wl.LEFT,Wl.RIGHT,Wl.FULL_WIDTH],l=[Wl.CENTER,Wl.TOP_CENTER,Wl.STICKY_TOP_CENTER,Wl.BOTTOM_CENTER],s=[Wl.LEFT,Wl.BOTTOM_LEFT,Wl.TOP_LEFT,Wl.STICKY_TOP_LEFT],g=[Wl.RIGHT,Wl.BOTTOM_RIGHT,Wl.TOP_RIGHT,Wl.STICKY_TOP_RIGHT];this.forContainers(s,()=>{this.pinnedWidthFeature=this.createManagedBean(new Nl(this.eContainer)),this.addManagedListener(this.eventService,st.EVENT_LEFT_PINNED_WIDTH_CHANGED,()=>this.onPinnedWidthChanged())}),this.forContainers(g,()=>{this.pinnedWidthFeature=this.createManagedBean(new Il(this.eContainer)),this.addManagedListener(this.eventService,st.EVENT_RIGHT_PINNED_WIDTH_CHANGED,()=>this.onPinnedWidthChanged())}),this.forContainers(n,()=>this.createManagedBean(new Vl(this.eContainer,this.name===Wl.CENTER?a:void 0))),this.forContainers(i,()=>this.createManagedBean(new _l(this.eContainer))),this.forContainers(l,()=>this.createManagedBean(new ql(e=>this.comp.setContainerWidth(e+"px")))),this.addListeners(),this.registerWithCtrlsService()}addListeners(){this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,()=>this.onDisplayedColumnsChanged()),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,()=>this.onDisplayedColumnsWidthChanged()),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_ROWS_CHANGED,e=>this.onDisplayedRowsChanged(e.afterScroll)),this.onDisplayedColumnsChanged(),this.onDisplayedColumnsWidthChanged(),this.onDisplayedRowsChanged()}listenOnDomOrder(){if([Wl.STICKY_TOP_CENTER,Wl.STICKY_TOP_LEFT,Wl.STICKY_TOP_RIGHT,Wl.STICKY_TOP_FULL_WIDTH].indexOf(this.name)>=0)return void this.comp.setDomOrder(!0);const e=()=>{const e=this.gridOptionsService.get("ensureDomOrder"),t=this.gridOptionsService.isDomLayout("print");this.comp.setDomOrder(e||t)};this.addManagedPropertyListener("domLayout",e),e()}stopHScrollOnPinnedRows(){this.forContainers([Wl.TOP_CENTER,Wl.STICKY_TOP_CENTER,Wl.BOTTOM_CENTER],()=>{this.addManagedListener(this.eViewport,"scroll",()=>this.eViewport.scrollLeft=0)})}onDisplayedColumnsChanged(){this.forContainers([Wl.CENTER],()=>this.onHorizontalViewportChanged())}onDisplayedColumnsWidthChanged(){this.forContainers([Wl.CENTER],()=>this.onHorizontalViewportChanged())}addPreventScrollWhileDragging(){const e=e=>{this.dragService.isDragging()&&e.cancelable&&e.preventDefault()};this.eContainer.addEventListener("touchmove",e,{passive:!1}),this.addDestroyFunc(()=>this.eContainer.removeEventListener("touchmove",e))}onHorizontalViewportChanged(e=!1){const t=this.getCenterWidth(),a=this.getCenterViewportScrollLeft();this.columnModel.setViewportPosition(t,a,e)}getCenterWidth(){return gr(this.eViewport)}getCenterViewportScrollLeft(){return hr(this.eViewport,this.enableRtl)}registerViewportResizeListener(e){const t=this.resizeObserverService.observeResize(this.eViewport,e);this.addDestroyFunc(()=>t())}isViewportInTheDOMTree(){return wr(this.eViewport)}getViewportScrollLeft(){return hr(this.eViewport,this.enableRtl)}isHorizontalScrollShowing(){return this.gridOptionsService.get("alwaysShowHorizontalScroll")||xr(this.eViewport)}getViewportElement(){return this.eViewport}setContainerTranslateX(e){this.eContainer.style.transform=`translateX(${e}px)`}getHScrollPosition(){return{left:this.eViewport.scrollLeft,right:this.eViewport.scrollLeft+this.eViewport.offsetWidth}}setCenterViewportScrollLeft(e){mr(this.eViewport,e,this.enableRtl)}isContainerVisible(){return!Jl.getPinned(this.name)||!!this.pinnedWidthFeature&&this.pinnedWidthFeature.getWidth()>0}onPinnedWidthChanged(){const e=this.isContainerVisible();this.visible!=e&&(this.visible=e,this.onDisplayedRowsChanged())}onDisplayedRowsChanged(e=!1){if(!this.visible)return void this.comp.setRowCtrls({rowCtrls:this.EMPTY_CTRLS});const t=this.gridOptionsService.isDomLayout("print"),a=this.gridOptionsService.get("embedFullWidthRows")||t,r=this.getRowCtrls().filter(e=>{const t=e.isFullWidth();return this.isFullWithContainer?!a&&t:a||!t});this.comp.setRowCtrls({rowCtrls:r,useFlushSync:e})}getRowCtrls(){switch(this.name){case Wl.TOP_CENTER:case Wl.TOP_LEFT:case Wl.TOP_RIGHT:case Wl.TOP_FULL_WIDTH:return this.rowRenderer.getTopRowCtrls();case Wl.STICKY_TOP_CENTER:case Wl.STICKY_TOP_LEFT:case Wl.STICKY_TOP_RIGHT:case Wl.STICKY_TOP_FULL_WIDTH:return this.rowRenderer.getStickyTopRowCtrls();case Wl.BOTTOM_CENTER:case Wl.BOTTOM_LEFT:case Wl.BOTTOM_RIGHT:case Wl.BOTTOM_FULL_WIDTH:return this.rowRenderer.getBottomRowCtrls();default:return this.rowRenderer.getCentreRowCtrls()}}}jl([de("dragService")],Jl.prototype,"dragService",void 0),jl([de("ctrlsService")],Jl.prototype,"ctrlsService",void 0),jl([de("columnModel")],Jl.prototype,"columnModel",void 0),jl([de("resizeObserverService")],Jl.prototype,"resizeObserverService",void 0),jl([de("rowRenderer")],Jl.prototype,"rowRenderer",void 0),jl([le],Jl.prototype,"postConstruct",null);var Xl=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};const Zl=`<div class="ag-root ag-unselectable" role="treegrid">\n <ag-header-root ref="gridHeader"></ag-header-root>\n <div class="ag-floating-top" ref="eTop" role="presentation">\n <ag-row-container ref="topLeftContainer" name="${Wl.TOP_LEFT}"></ag-row-container>\n <ag-row-container ref="topCenterContainer" name="${Wl.TOP_CENTER}"></ag-row-container>\n <ag-row-container ref="topRightContainer" name="${Wl.TOP_RIGHT}"></ag-row-container>\n <ag-row-container ref="topFullWidthContainer" name="${Wl.TOP_FULL_WIDTH}"></ag-row-container>\n </div>\n <div class="ag-body" ref="eBody" role="presentation">\n <div class="ag-body-viewport" ref="eBodyViewport" role="presentation">\n <ag-row-container ref="leftContainer" name="${Wl.LEFT}"></ag-row-container>\n <ag-row-container ref="centerContainer" name="${Wl.CENTER}"></ag-row-container>\n <ag-row-container ref="rightContainer" name="${Wl.RIGHT}"></ag-row-container>\n <ag-row-container ref="fullWidthContainer" name="${Wl.FULL_WIDTH}"></ag-row-container>\n </div>\n <ag-fake-vertical-scroll></ag-fake-vertical-scroll>\n </div>\n <div class="ag-sticky-top" ref="eStickyTop" role="presentation">\n <ag-row-container ref="stickyTopLeftContainer" name="${Wl.STICKY_TOP_LEFT}"></ag-row-container>\n <ag-row-container ref="stickyTopCenterContainer" name="${Wl.STICKY_TOP_CENTER}"></ag-row-container>\n <ag-row-container ref="stickyTopRightContainer" name="${Wl.STICKY_TOP_RIGHT}"></ag-row-container>\n <ag-row-container ref="stickyTopFullWidthContainer" name="${Wl.STICKY_TOP_FULL_WIDTH}"></ag-row-container>\n </div>\n <div class="ag-floating-bottom" ref="eBottom" role="presentation">\n <ag-row-container ref="bottomLeftContainer" name="${Wl.BOTTOM_LEFT}"></ag-row-container>\n <ag-row-container ref="bottomCenterContainer" name="${Wl.BOTTOM_CENTER}"></ag-row-container>\n <ag-row-container ref="bottomRightContainer" name="${Wl.BOTTOM_RIGHT}"></ag-row-container>\n <ag-row-container ref="bottomFullWidthContainer" name="${Wl.BOTTOM_FULL_WIDTH}"></ag-row-container>\n </div>\n <ag-fake-horizontal-scroll></ag-fake-horizontal-scroll>\n <ag-overlay-wrapper></ag-overlay-wrapper>\n </div>`;class $l extends uo{constructor(){super(Zl)}init(){const e=(e,t)=>{const a=e+"px";t.style.minHeight=a,t.style.height=a},t={setRowAnimationCssOnBodyViewport:(e,t)=>this.setRowAnimationCssOnBodyViewport(e,t),setColumnCount:e=>wa(this.getGui(),e),setRowCount:e=>va(this.getGui(),e),setTopHeight:t=>e(t,this.eTop),setBottomHeight:t=>e(t,this.eBottom),setTopDisplay:e=>this.eTop.style.display=e,setBottomDisplay:e=>this.eBottom.style.display=e,setStickyTopHeight:e=>this.eStickyTop.style.height=e,setStickyTopTop:e=>this.eStickyTop.style.top=e,setStickyTopWidth:e=>this.eStickyTop.style.width=e,setColumnMovingCss:(e,t)=>this.addOrRemoveCssClass(e,t),updateLayoutClasses:(e,t)=>{[this.eBodyViewport.classList,this.eBody.classList].forEach(e=>{e.toggle(el.AUTO_HEIGHT,t.autoHeight),e.toggle(el.NORMAL,t.normal),e.toggle(el.PRINT,t.print)}),this.addOrRemoveCssClass(el.AUTO_HEIGHT,t.autoHeight),this.addOrRemoveCssClass(el.NORMAL,t.normal),this.addOrRemoveCssClass(el.PRINT,t.print)},setAlwaysVerticalScrollClass:(e,t)=>this.eBodyViewport.classList.toggle("ag-force-vertical-scroll",t),registerBodyViewportResizeListener:e=>{const t=this.resizeObserverService.observeResize(this.eBodyViewport,e);this.addDestroyFunc(()=>t())},setPinnedTopBottomOverflowY:e=>this.eTop.style.overflowY=this.eBottom.style.overflowY=e,setCellSelectableCss:(e,t)=>{[this.eTop,this.eBodyViewport,this.eBottom].forEach(a=>a.classList.toggle(e,t))},setBodyViewportWidth:e=>this.eBodyViewport.style.width=e};this.ctrl=this.createManagedBean(new cl),this.ctrl.setComp(t,this.getGui(),this.eBodyViewport,this.eTop,this.eBottom,this.eStickyTop),(this.rangeService&&this.gridOptionsService.get("enableRangeSelection")||"multiple"===this.gridOptionsService.get("rowSelection"))&&ma(this.getGui(),!0)}setRowAnimationCssOnBodyViewport(e,t){const a=this.eBodyViewport.classList;a.toggle(gl.ANIMATION_ON,t),a.toggle(gl.ANIMATION_OFF,!t)}getFloatingTopBottom(){return[this.eTop,this.eBottom]}}Xl([de("resizeObserverService")],$l.prototype,"resizeObserverService",void 0),Xl([ce("rangeService")],$l.prototype,"rangeService",void 0),Xl([ho("eBodyViewport")],$l.prototype,"eBodyViewport",void 0),Xl([ho("eStickyTop")],$l.prototype,"eStickyTop",void 0),Xl([ho("eTop")],$l.prototype,"eTop",void 0),Xl([ho("eBottom")],$l.prototype,"eBottom",void 0),Xl([ho("gridHeader")],$l.prototype,"headerRootComp",void 0),Xl([ho("eBody")],$l.prototype,"eBody",void 0),Xl([le],$l.prototype,"init",null);var es=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let ts=class extends at{postConstruct(){this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this))}onDisplayedColumnsChanged(){this.update()}onDisplayedColumnsWidthChanged(){this.update()}update(){this.columnAnimationService.isActive()?this.columnAnimationService.executeLaterVMTurn(()=>{this.columnAnimationService.executeLaterVMTurn(()=>this.updateImpl())}):this.updateImpl()}updateImpl(){const e=this.ctrlsService.getCenterRowContainerCtrl();if(!e||this.columnAnimationService.isActive())return;const t={horizontalScrollShowing:e.isHorizontalScrollShowing(),verticalScrollShowing:this.isVerticalScrollShowing()};this.setScrollsVisible(t)}setScrollsVisible(e){if(this.horizontalScrollShowing!==e.horizontalScrollShowing||this.verticalScrollShowing!==e.verticalScrollShowing){this.horizontalScrollShowing=e.horizontalScrollShowing,this.verticalScrollShowing=e.verticalScrollShowing;const t={type:st.EVENT_SCROLL_VISIBILITY_CHANGED};this.eventService.dispatchEvent(t)}}isHorizontalScrollShowing(){return this.horizontalScrollShowing}isVerticalScrollShowing(){return this.verticalScrollShowing}};es([de("ctrlsService")],ts.prototype,"ctrlsService",void 0),es([de("columnAnimationService")],ts.prototype,"columnAnimationService",void 0),es([le],ts.prototype,"postConstruct",null),ts=es([ge("scrollVisibleService")],ts);var as,rs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let os=as=class extends at{constructor(){super(...arguments),this.gridInstanceId=as.gridInstanceSequence.next()}stampTopLevelGridCompWithGridInstance(e){e[as.GRID_DOM_KEY]=this.gridInstanceId}getRenderedCellForEvent(e){return Je(this.gridOptionsService,e.target,kl.DOM_DATA_KEY_CELL_CTRL)}isEventFromThisGrid(e){return this.isElementInThisGrid(e.target)}isElementInThisGrid(e){let t=e;for(;t;){const e=t[as.GRID_DOM_KEY];if(S(e)){return e===this.gridInstanceId}t=t.parentElement}return!1}getCellPositionForEvent(e){const t=this.getRenderedCellForEvent(e);return t?t.getCellPosition():null}getNormalisedPosition(e){const t=this.gridOptionsService.isDomLayout("normal"),a=e;let r,o;if(null!=a.clientX||null!=a.clientY?(r=a.clientX,o=a.clientY):(r=a.x,o=a.y),t){const e=this.ctrlsService.getGridBodyCtrl(),t=e.getScrollFeature().getVScrollPosition();r+=e.getScrollFeature().getHScrollPosition().left,o+=t.top}return{x:r,y:o}}};os.gridInstanceSequence=new eo,os.GRID_DOM_KEY="__ag_grid_instance",rs([de("ctrlsService")],os.prototype,"ctrlsService",void 0),os=as=rs([ge("mouseEventService")],os);var is=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let ns=class extends at{constructor(){super(),this.onPageDown=$(this.onPageDown,100),this.onPageUp=$(this.onPageUp,100)}postConstruct(){this.ctrlsService.whenReady(e=>{this.gridBodyCon=e.gridBodyCtrl})}handlePageScrollingKey(e,t=!1){const a=e.key,r=e.altKey,o=e.ctrlKey||e.metaKey,i=!!this.rangeService&&e.shiftKey,n=this.mouseEventService.getCellPositionForEvent(e);let l=!1;switch(a){case Wr.PAGE_HOME:case Wr.PAGE_END:o||r||(this.onHomeOrEndKey(a),l=!0);break;case Wr.LEFT:case Wr.RIGHT:case Wr.UP:case Wr.DOWN:if(!n)return!1;!o||r||i||(this.onCtrlUpDownLeftRight(a,n),l=!0);break;case Wr.PAGE_DOWN:case Wr.PAGE_UP:o||r||(l=this.handlePageUpDown(a,n,t))}return l&&e.preventDefault(),l}handlePageUpDown(e,t,a){return a&&(t=this.focusService.getFocusedCell()),!!t&&(e===Wr.PAGE_UP?this.onPageUp(t):this.onPageDown(t),!0)}navigateTo(e){const{scrollIndex:t,scrollType:a,scrollColumn:r,focusIndex:o,focusColumn:i}=e;if(S(r)&&!r.isPinned()&&this.gridBodyCon.getScrollFeature().ensureColumnVisible(r),S(t)&&this.gridBodyCon.getScrollFeature().ensureIndexVisible(t,a),e.isAsync||this.gridBodyCon.getScrollFeature().ensureIndexVisible(o),this.focusService.setFocusedCell({rowIndex:o,column:i,rowPinned:null,forceBrowserFocus:!0}),this.rangeService){const e={rowIndex:o,rowPinned:null,column:i};this.rangeService.setRangeToCell(e)}}onPageDown(e){const t=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),a=this.getViewportHeight(),r=this.paginationProxy.getPixelOffset(),o=t.top+a,i=this.paginationProxy.getRowIndexAtPixel(o+r);this.columnModel.isAutoRowHeightActive()?this.navigateToNextPageWithAutoHeight(e,i):this.navigateToNextPage(e,i)}onPageUp(e){const t=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),a=this.paginationProxy.getPixelOffset(),r=t.top,o=this.paginationProxy.getRowIndexAtPixel(r+a);this.columnModel.isAutoRowHeightActive()?this.navigateToNextPageWithAutoHeight(e,o,!0):this.navigateToNextPage(e,o,!0)}navigateToNextPage(e,t,a=!1){const r=this.getViewportHeight(),o=this.paginationProxy.getPageFirstRow(),i=this.paginationProxy.getPageLastRow(),n=this.paginationProxy.getPixelOffset(),l=this.paginationProxy.getRow(e.rowIndex),s=a?(null==l?void 0:l.rowHeight)-r-n:r-n,g=(null==l?void 0:l.rowTop)+s;let d,c=this.paginationProxy.getRowIndexAtPixel(g+n);if(c===e.rowIndex){const r=a?-1:1;t=c=e.rowIndex+r}a?(d="bottom",c<o&&(c=o),t<o&&(t=o)):(d="top",c>i&&(c=i),t>i&&(t=i)),this.isRowTallerThanView(c)&&(t=c,d="top"),this.navigateTo({scrollIndex:t,scrollType:d,scrollColumn:null,focusIndex:c,focusColumn:e.column})}navigateToNextPageWithAutoHeight(e,t,a=!1){this.navigateTo({scrollIndex:t,scrollType:a?"bottom":"top",scrollColumn:null,focusIndex:t,focusColumn:e.column}),setTimeout(()=>{const r=this.getNextFocusIndexForAutoHeight(e,a);this.navigateTo({scrollIndex:t,scrollType:a?"bottom":"top",scrollColumn:null,focusIndex:r,focusColumn:e.column,isAsync:!0})},50)}getNextFocusIndexForAutoHeight(e,t=!1){var a;const r=t?-1:1,o=this.getViewportHeight(),i=this.paginationProxy.getPageLastRow();let n=0,l=e.rowIndex;for(;l>=0&&l<=i;){const e=this.paginationProxy.getRow(l);if(e){const t=null!==(a=e.rowHeight)&&void 0!==a?a:0;if(n+t>o)break;n+=t}l+=r}return Math.max(0,Math.min(l,i))}getViewportHeight(){const e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),t=this.gridOptionsService.getScrollbarWidth();let a=e.bottom-e.top;return this.ctrlsService.getCenterRowContainerCtrl().isHorizontalScrollShowing()&&(a-=t),a}isRowTallerThanView(e){const t=this.paginationProxy.getRow(e);if(!t)return!1;const a=t.rowHeight;return"number"==typeof a&&a>this.getViewportHeight()}onCtrlUpDownLeftRight(e,t){const a=this.cellNavigationService.getNextCellToFocus(e,t,!0),{rowIndex:r,column:o}=a;this.navigateTo({scrollIndex:r,scrollType:null,scrollColumn:o,focusIndex:r,focusColumn:o})}onHomeOrEndKey(e){const t=e===Wr.PAGE_HOME,a=this.columnModel.getAllDisplayedColumns(),r=t?a[0]:Te(a),o=t?this.paginationProxy.getPageFirstRow():this.paginationProxy.getPageLastRow();this.navigateTo({scrollIndex:o,scrollType:null,scrollColumn:r,focusIndex:o,focusColumn:r})}onTabKeyDown(e,t){const a=t.shiftKey;if(this.tabToNextCellCommon(e,a,t))t.preventDefault();else if(a){const{rowIndex:a,rowPinned:r}=e.getRowPosition();(r?0===a:a===this.paginationProxy.getPageFirstRow())&&(0===this.gridOptionsService.get("headerHeight")||this.gridOptionsService.get("suppressHeaderFocus")?this.focusService.focusNextGridCoreContainer(!0,!0):(t.preventDefault(),this.focusService.focusPreviousFromFirstCell(t)))}else e instanceof kl&&e.focusCell(!0),this.focusService.focusNextGridCoreContainer(a)&&t.preventDefault()}tabToNextCell(e,t){const a=this.focusService.getFocusedCell();if(!a)return!1;let r=this.getCellByPosition(a);return!!(r||(r=this.rowRenderer.getRowByPosition(a),r&&r.isFullWidth()))&&this.tabToNextCellCommon(r,e,t)}tabToNextCellCommon(e,t,a){let r,o=e.isEditing();if(!o&&e instanceof kl){const t=e.getRowCtrl();t&&(o=t.isEditing())}return r=o?"fullRow"===this.gridOptionsService.get("editType")?this.moveToNextEditingRow(e,t,a):this.moveToNextEditingCell(e,t,a):this.moveToNextCellNotEditing(e,t),r||!!this.focusService.getFocusedHeader()}moveToNextEditingCell(e,t,a=null){const r=e.getCellPosition();e.getGui().focus(),e.stopEditing();const o=this.findNextCellToFocusOn(r,t,!0);return null!=o&&(o.startEditing(null,!0,a),o.focusCell(!1),!0)}moveToNextEditingRow(e,t,a=null){const r=e.getCellPosition(),o=this.findNextCellToFocusOn(r,t,!0);if(null==o)return!1;const i=o.getCellPosition(),n=this.isCellEditable(r),l=this.isCellEditable(i),s=i&&r.rowIndex===i.rowIndex&&r.rowPinned===i.rowPinned;if(n&&e.setFocusOutOnEditor(),!s){e.getRowCtrl().stopEditing();o.getRowCtrl().startRowEditing(void 0,void 0,a)}return l?(o.setFocusInOnEditor(),o.focusCell()):o.focusCell(!0),!0}moveToNextCellNotEditing(e,t){const a=this.columnModel.getAllDisplayedColumns();let r;r=e instanceof Al?Object.assign(Object.assign({},e.getRowPosition()),{column:t?a[0]:Te(a)}):e.getCellPosition();const o=this.findNextCellToFocusOn(r,t,!1);if(o instanceof kl)o.focusCell(!0);else if(o)return this.tryToFocusFullWidthRow(o.getRowPosition(),t);return S(o)}findNextCellToFocusOn(e,t,a){let r=e;for(;;){e!==r&&(e=r),t||(r=this.getLastCellOfColSpan(r)),r=this.cellNavigationService.getNextTabbedCell(r,t);const o=this.gridOptionsService.getCallback("tabToNextCell");if(S(o)){const i=o({backwards:t,editing:a,previousCellPosition:e,nextCellPosition:r||null});S(i)?(i.floating&&(q("tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"),i.rowPinned=i.floating),r={rowIndex:i.rowIndex,column:i.column,rowPinned:i.rowPinned}):r=null}if(!r)return null;if(r.rowIndex<0){const e=this.headerNavigationService.getHeaderRowCount();return this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:e+r.rowIndex,column:r.column},fromCell:!0}),null}const i="fullRow"===this.gridOptionsService.get("editType");if(a&&!i){if(!this.isCellEditable(r))continue}this.ensureCellVisible(r);const n=this.getCellByPosition(r);if(!n){const e=this.rowRenderer.getRowByPosition(r);if(!e||!e.isFullWidth()||a)continue;return e}if(!n.isSuppressNavigable())return this.rangeService&&this.rangeService.setRangeToCell(r),n}}isCellEditable(e){const t=this.lookupRowNodeForCell(e);return!!t&&e.column.isCellEditable(t)}getCellByPosition(e){const t=this.rowRenderer.getRowByPosition(e);return t?t.getCellCtrl(e.column):null}lookupRowNodeForCell(e){return"top"===e.rowPinned?this.pinnedRowModel.getPinnedTopRow(e.rowIndex):"bottom"===e.rowPinned?this.pinnedRowModel.getPinnedBottomRow(e.rowIndex):this.paginationProxy.getRow(e.rowIndex)}navigateToNextCell(e,t,a,r){let o=a,i=!1;for(;o&&(o===a||!this.isValidNavigateCell(o));)this.gridOptionsService.get("enableRtl")?t===Wr.LEFT&&(o=this.getLastCellOfColSpan(o)):t===Wr.RIGHT&&(o=this.getLastCellOfColSpan(o)),o=this.cellNavigationService.getNextCellToFocus(t,o),i=E(o);if(i&&e&&e.key===Wr.UP&&(o={rowIndex:-1,rowPinned:null,column:a.column}),r){const r=this.gridOptionsService.getCallback("navigateToNextCell");if(S(r)){const i=r({key:t,previousCellPosition:a,nextCellPosition:o||null,event:e});S(i)?(i.floating&&(q("tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?"),i.rowPinned=i.floating),o={rowPinned:i.rowPinned,rowIndex:i.rowIndex,column:i.column}):o=null}}if(!o)return;if(o.rowIndex<0){const t=this.headerNavigationService.getHeaderRowCount();return void this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:t+o.rowIndex,column:a.column},event:e||void 0,fromCell:!0})}const n=this.getNormalisedPosition(o);n?this.focusPosition(n):this.tryToFocusFullWidthRow(o)}getNormalisedPosition(e){this.ensureCellVisible(e);const t=this.getCellByPosition(e);return t?(e=t.getCellPosition(),this.ensureCellVisible(e),e):null}tryToFocusFullWidthRow(e,t=!1){const a=this.columnModel.getAllDisplayedColumns(),r=this.rowRenderer.getRowByPosition(e);if(!r||!r.isFullWidth())return!1;const o=this.focusService.getFocusedCell(),i={rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:e.column||(t?Te(a):a[0])};this.focusPosition(i);const n=null!=o&&this.rowPositionUtils.before(i,o),l={type:st.EVENT_FULL_WIDTH_ROW_FOCUSED,rowIndex:i.rowIndex,rowPinned:i.rowPinned,column:i.column,isFullWidthCell:!0,floating:i.rowPinned,fromBelow:n};return this.eventService.dispatchEvent(l),!0}focusPosition(e){this.focusService.setFocusedCell({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0}),this.rangeService&&this.rangeService.setRangeToCell(e)}isValidNavigateCell(e){return!!this.rowPositionUtils.getRowNode(e)}getLastCellOfColSpan(e){const t=this.getCellByPosition(e);if(!t)return e;const a=t.getColSpanningList();return 1===a.length?e:{rowIndex:e.rowIndex,column:Te(a),rowPinned:e.rowPinned}}ensureCellVisible(e){const t=this.gridOptionsService.isGroupRowsSticky(),a=this.rowModel.getRow(e.rowIndex);!(t&&(null==a?void 0:a.sticky))&&E(e.rowPinned)&&this.gridBodyCon.getScrollFeature().ensureIndexVisible(e.rowIndex),e.column.isPinned()||this.gridBodyCon.getScrollFeature().ensureColumnVisible(e.column)}};is([de("mouseEventService")],ns.prototype,"mouseEventService",void 0),is([de("paginationProxy")],ns.prototype,"paginationProxy",void 0),is([de("focusService")],ns.prototype,"focusService",void 0),is([ce("rangeService")],ns.prototype,"rangeService",void 0),is([de("columnModel")],ns.prototype,"columnModel",void 0),is([de("rowModel")],ns.prototype,"rowModel",void 0),is([de("ctrlsService")],ns.prototype,"ctrlsService",void 0),is([de("rowRenderer")],ns.prototype,"rowRenderer",void 0),is([de("headerNavigationService")],ns.prototype,"headerNavigationService",void 0),is([de("rowPositionUtils")],ns.prototype,"rowPositionUtils",void 0),is([de("cellNavigationService")],ns.prototype,"cellNavigationService",void 0),is([de("pinnedRowModel")],ns.prototype,"pinnedRowModel",void 0),is([le],ns.prototype,"postConstruct",null),ns=is([ge("navigationService")],ns);var ls=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ss extends vi{constructor(e){super('<div class="ag-popup-editor" tabindex="-1"/>'),this.params=e}postConstruct(){this.gridOptionsService.setDomData(this.getGui(),ss.DOM_KEY_POPUP_EDITOR_WRAPPER,!0),this.addKeyDownListener()}addKeyDownListener(){const e=this.getGui(),t=this.params;this.addManagedListener(e,"keydown",e=>{jr(this.gridOptionsService,e,t.node,t.column,!0)||t.onKeyDown(e)})}}ss.DOM_KEY_POPUP_EDITOR_WRAPPER="popupEditorWrapper",ls([le],ss.prototype,"postConstruct",null);class gs extends uo{constructor(e,t,a,r,o){super(),this.rendererVersion=0,this.editorVersion=0,this.beans=e,this.column=t.getColumn(),this.rowNode=t.getRowNode(),this.rowCtrl=t.getRowCtrl(),this.eRow=r,this.cellCtrl=t;const i=document.createElement("div");i.setAttribute("comp-id",""+this.getCompId()),this.setTemplateFromElement(i);const n=this.getGui();this.forceWrapper=t.isForceWrapper(),this.refreshWrapper(!1);const l=(e,t)=>{null!=t&&""!=t?n.setAttribute(e,t):n.removeAttribute(e)};Jt(n,t.getCellAriaRole()),l("col-id",t.getColumnIdSanitised());const s=t.getTabIndex();void 0!==s&&l("tabindex",s.toString());const g={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setUserStyles:e=>Rr(n,e),getFocusableElement:()=>this.getFocusableElement(),setIncludeSelection:e=>this.includeSelection=e,setIncludeRowDrag:e=>this.includeRowDrag=e,setIncludeDndSource:e=>this.includeDndSource=e,setRenderDetails:(e,t,a)=>this.setRenderDetails(e,t,a),setEditDetails:(e,t,a)=>this.setEditDetails(e,t,a),getCellEditor:()=>this.cellEditor||null,getCellRenderer:()=>this.cellRenderer||null,getParentOfValue:()=>this.getParentOfValue()};t.setComp(g,this.getGui(),this.eCellWrapper,a,o)}getParentOfValue(){return this.eCellValue?this.eCellValue:this.eCellWrapper?this.eCellWrapper:this.getGui()}setRenderDetails(e,t,a){if(this.cellEditor&&!this.cellEditorPopupWrapper)return;this.firstRender=null==this.firstRender;const r=this.refreshWrapper(!1);if(this.refreshEditStyles(!1),e){!(a||r)&&this.refreshCellRenderer(e)||(this.destroyRenderer(),this.createCellRendererInstance(e))}else this.destroyRenderer(),this.insertValueWithoutCellRenderer(t)}setEditDetails(e,t,a){e?this.createCellEditorInstance(e,t,a):this.destroyEditor()}removeControls(){this.checkboxSelectionComp=this.beans.context.destroyBean(this.checkboxSelectionComp),this.dndSourceComp=this.beans.context.destroyBean(this.dndSourceComp),this.rowDraggingComp=this.beans.context.destroyBean(this.rowDraggingComp)}refreshWrapper(e){const t=this.includeRowDrag||this.includeDndSource||this.includeSelection,a=t||this.forceWrapper,r=a&&null==this.eCellWrapper;if(r){const e=document.createElement("div");e.setAttribute("role","presentation"),e.setAttribute("class","ag-cell-wrapper"),this.eCellWrapper=e,this.getGui().appendChild(this.eCellWrapper)}const o=!a&&null!=this.eCellWrapper;o&&(fr(this.eCellWrapper),this.eCellWrapper=void 0),this.addOrRemoveCssClass("ag-cell-value",!a);const i=!e&&a,n=i&&null==this.eCellValue;if(n){const e=document.createElement("span");e.setAttribute("role","presentation"),e.setAttribute("class","ag-cell-value"),this.eCellValue=e,this.eCellWrapper.appendChild(this.eCellValue)}const l=!i&&null!=this.eCellValue;l&&(fr(this.eCellValue),this.eCellValue=void 0);const s=r||o||n||l;return s&&this.removeControls(),e||t&&this.addControls(),s}addControls(){this.includeRowDrag&&null==this.rowDraggingComp&&(this.rowDraggingComp=this.cellCtrl.createRowDragComp(),this.rowDraggingComp&&this.eCellWrapper.insertBefore(this.rowDraggingComp.getGui(),this.eCellValue)),this.includeDndSource&&null==this.dndSourceComp&&(this.dndSourceComp=this.cellCtrl.createDndSource(),this.eCellWrapper.insertBefore(this.dndSourceComp.getGui(),this.eCellValue)),this.includeSelection&&null==this.checkboxSelectionComp&&(this.checkboxSelectionComp=this.cellCtrl.createSelectionCheckbox(),this.eCellWrapper.insertBefore(this.checkboxSelectionComp.getGui(),this.eCellValue))}createCellEditorInstance(e,t,a){const r=this.editorVersion,o=e.newAgStackInstance();if(!o)return;const{params:i}=e;o.then(e=>this.afterCellEditorCreated(r,e,i,t,a));E(this.cellEditor)&&i.cellStartedEdit&&this.cellCtrl.focusCell(!0)}insertValueWithoutCellRenderer(e){const t=this.getParentOfValue();vr(t);const a=null!=e?ft(e,!0):null;null!=a&&(t.textContent=a)}destroyEditorAndRenderer(){this.destroyRenderer(),this.destroyEditor()}destroyRenderer(){const{context:e}=this.beans;this.cellRenderer=e.destroyBean(this.cellRenderer),fr(this.cellRendererGui),this.cellRendererGui=null,this.rendererVersion++}destroyEditor(){const{context:e}=this.beans;this.hideEditorPopup&&this.hideEditorPopup(),this.hideEditorPopup=void 0,this.cellEditor=e.destroyBean(this.cellEditor),this.cellEditorPopupWrapper=e.destroyBean(this.cellEditorPopupWrapper),fr(this.cellEditorGui),this.cellEditorGui=null,this.editorVersion++}refreshCellRenderer(e){if(null==this.cellRenderer||null==this.cellRenderer.refresh)return!1;if(this.cellRendererClass!==e.componentClass)return!1;const t=this.cellRenderer.refresh(e.params);return!0===t||void 0===t}createCellRendererInstance(e){const t=!this.beans.gridOptionsService.get("suppressAnimationFrame"),a=this.rendererVersion,{componentClass:r}=e,o=()=>{if(this.rendererVersion!==a||!this.isAlive())return;const t=e.newAgStackInstance(),o=this.afterCellRendererCreated.bind(this,a,r);t&&t.then(o)};t&&this.firstRender?this.beans.animationFrameService.createTask(o,this.rowNode.rowIndex,"createTasksP2"):o()}getCtrl(){return this.cellCtrl}getRowCtrl(){return this.rowCtrl}getCellRenderer(){return this.cellRenderer}getCellEditor(){return this.cellEditor}afterCellRendererCreated(e,t,a){if(!this.isAlive()||e!==this.rendererVersion)this.beans.context.destroyBean(a);else if(this.cellRenderer=a,this.cellRendererClass=t,this.cellRendererGui=this.cellRenderer.getGui(),null!=this.cellRendererGui){const e=this.getParentOfValue();vr(e),e.appendChild(this.cellRendererGui)}}afterCellEditorCreated(e,t,a,r,o){if(e!==this.editorVersion)return void this.beans.context.destroyBean(t);if(t.isCancelBeforeStart&&t.isCancelBeforeStart())return this.beans.context.destroyBean(t),void this.cellCtrl.stopEditing(!0);if(!t.getGui)return console.warn(`AG Grid: cellEditor for column ${this.column.getId()} is missing getGui() method`),void this.beans.context.destroyBean(t);this.cellEditor=t,this.cellEditorGui=t.getGui();const i=r||void 0!==t.isPopup&&t.isPopup();i?this.addPopupCellEditor(a,o):this.addInCellEditor(),this.refreshEditStyles(!0,i),t.afterGuiAttached&&t.afterGuiAttached()}refreshEditStyles(e,t){var a;this.addOrRemoveCssClass("ag-cell-inline-editing",e&&!t),this.addOrRemoveCssClass("ag-cell-popup-editing",e&&!!t),this.addOrRemoveCssClass("ag-cell-not-inline-editing",!e||!!t),null===(a=this.rowCtrl)||void 0===a||a.setInlineEditingCss(e)}addInCellEditor(){const e=this.getGui(),t=this.beans.gridOptionsService.getDocument();if(e.contains(t.activeElement)&&e.focus(),this.destroyRenderer(),this.refreshWrapper(!0),this.clearParentOfValue(),this.cellEditorGui){this.getParentOfValue().appendChild(this.cellEditorGui)}}addPopupCellEditor(e,t){"fullRow"===this.beans.gridOptionsService.get("editType")&&console.warn("AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both - either turn off fullRowEdit, or stop using popup editors.");const a=this.cellEditor;this.cellEditorPopupWrapper=this.beans.context.createBean(new ss(e));const r=this.cellEditorPopupWrapper.getGui();this.cellEditorGui&&r.appendChild(this.cellEditorGui);const o=this.beans.popupService,i=this.beans.gridOptionsService.get("stopEditingWhenCellsLoseFocus"),n=null!=t?t:a.getPopupPosition?a.getPopupPosition():"over",l=this.beans.gridOptionsService.get("enableRtl"),s={ePopup:r,column:this.column,rowNode:this.rowNode,type:"popupCellEditor",eventSource:this.getGui(),position:n,alignSide:l?"right":"left",keepWithinBounds:!0},g=o.positionPopupByComponent.bind(o,s),d=this.beans.localeService.getLocaleTextFunc(),c=o.addPopup({modal:i,eChild:r,closeOnEsc:!0,closedCallback:()=>{this.cellCtrl.onPopupEditorClosed()},anchorToElement:this.getGui(),positionCallback:g,ariaLabel:d("ariaLabelCellEditor","Cell Editor")});c&&(this.hideEditorPopup=c.hideFunc)}detach(){this.eRow.removeChild(this.getGui())}destroy(){this.cellCtrl.stopEditing(),this.destroyEditorAndRenderer(),this.removeControls(),super.destroy()}clearParentOfValue(){const e=this.getGui(),t=this.beans.gridOptionsService.getDocument();e.contains(t.activeElement)&&Pa()&&e.focus({preventScroll:!0}),vr(this.getParentOfValue())}}class ds extends uo{constructor(e,t,a){super(),this.cellComps={},this.beans=t,this.rowCtrl=e;const r=document.createElement("div");r.setAttribute("comp-id",""+this.getCompId()),r.setAttribute("style",this.getInitialStyle(a)),this.setTemplateFromElement(r);const o=this.getGui(),i=o.style;this.domOrder=this.rowCtrl.getDomOrder(),Jt(o,"row");const n=this.rowCtrl.getTabIndex();null!=n&&o.setAttribute("tabindex",n.toString());const l={setDomOrder:e=>this.domOrder=e,setCellCtrls:e=>this.setCellCtrls(e),showFullWidth:e=>this.showFullWidth(e),getFullWidthCellRenderer:()=>this.getFullWidthCellRenderer(),addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setUserStyles:e=>Rr(o,e),setTop:e=>i.top=e,setTransform:e=>i.transform=e,setRowIndex:e=>o.setAttribute("row-index",e),setRowId:e=>o.setAttribute("row-id",e),setRowBusinessKey:e=>o.setAttribute("row-business-key",e),refreshFullWidth:e=>this.refreshFullWidth(e)};e.setComp(l,this.getGui(),a),this.addDestroyFunc(()=>{e.unsetComp(a)})}getInitialStyle(e){const t=this.rowCtrl.getInitialTransform(e);return t?"transform: "+t:"top: "+this.rowCtrl.getInitialRowTop(e)}showFullWidth(e){const t=e.newAgStackInstance();t&&t.then(e=>{if(this.isAlive()){const t=e.getGui();this.getGui().appendChild(t),this.rowCtrl.setupDetailRowAutoHeight(t),this.setFullWidthRowComp(e)}else this.beans.context.destroyBean(e)})}setCellCtrls(e){const t=Object.assign({},this.cellComps);e.forEach(e=>{const a=e.getInstanceId();null==this.cellComps[a]?this.newCellComp(e):t[a]=null});const a=F(t).filter(e=>null!=e);this.destroyCells(a),this.ensureDomOrder(e)}ensureDomOrder(e){if(!this.domOrder)return;const t=[];e.forEach(e=>{const a=this.cellComps[e.getInstanceId()];a&&t.push(a.getGui())}),Sr(this.getGui(),t)}newCellComp(e){const t=new gs(this.beans,e,this.rowCtrl.isPrintLayout(),this.getGui(),this.rowCtrl.isEditing());this.cellComps[e.getInstanceId()]=t,this.getGui().appendChild(t.getGui())}destroy(){super.destroy(),this.destroyAllCells()}destroyAllCells(){const e=F(this.cellComps).filter(e=>null!=e);this.destroyCells(e)}setFullWidthRowComp(e){this.fullWidthCellRenderer&&console.error("AG Grid - should not be setting fullWidthRowComponent twice"),this.fullWidthCellRenderer=e,this.addDestroyFunc(()=>{this.fullWidthCellRenderer=this.beans.context.destroyBean(this.fullWidthCellRenderer)})}getFullWidthCellRenderer(){return this.fullWidthCellRenderer}destroyCells(e){e.forEach(e=>{if(!e)return;const t=e.getCtrl().getInstanceId();this.cellComps[t]===e&&(e.detach(),e.destroy(),this.cellComps[t]=null)})}refreshFullWidth(e){const{fullWidthCellRenderer:t}=this;if(!t||!t.refresh)return!1;const a=e();return t.refresh(a)}}var cs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class us extends uo{constructor(){super(function(){const e=uo.elementGettingCreated.getAttribute("name"),t=Jl.getRowContainerCssClasses(e);let a;return a=e===Wl.CENTER||e===Wl.TOP_CENTER||e===Wl.STICKY_TOP_CENTER||e===Wl.BOTTOM_CENTER?`<div class="${t.viewport}" ref="eViewport" role="presentation">\n <div class="${t.container}" ref="eContainer"></div>\n </div>`:`<div class="${t.container}" ref="eContainer"></div>`,a}()),this.rowComps={},this.name=uo.elementGettingCreated.getAttribute("name"),this.type=Kl(this.name)}postConstruct(){const e={setViewportHeight:e=>this.eViewport.style.height=e,setRowCtrls:({rowCtrls:e})=>this.setRowCtrls(e),setDomOrder:e=>{this.domOrder=e},setContainerWidth:e=>this.eContainer.style.width=e};this.createManagedBean(new Jl(this.name)).setComp(e,this.eContainer,this.eViewport)}preDestroy(){this.setRowCtrls([])}setRowCtrls(e){const t=Object.assign({},this.rowComps);this.rowComps={},this.lastPlacedElement=null;e.forEach(e=>{const a=e.getInstanceId(),r=t[a];if(r)this.rowComps[a]=r,delete t[a],this.ensureDomOrder(r.getGui());else{if(!e.getRowNode().displayed)return;const t=new ds(e,this.beans,this.type);this.rowComps[a]=t,this.appendRow(t.getGui())}}),F(t).forEach(e=>{this.eContainer.removeChild(e.getGui()),e.destroy()}),Jt(this.eContainer,"rowgroup")}appendRow(e){this.domOrder?Er(this.eContainer,e,this.lastPlacedElement):this.eContainer.appendChild(e),this.lastPlacedElement=e}ensureDomOrder(e){this.domOrder&&(yr(this.eContainer,e,this.lastPlacedElement),this.lastPlacedElement=e)}}cs([de("beans")],us.prototype,"beans",void 0),cs([ho("eViewport")],us.prototype,"eViewport",void 0),cs([ho("eContainer")],us.prototype,"eContainer",void 0),cs([le],us.prototype,"postConstruct",null),cs([se],us.prototype,"preDestroy",null);var ps=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class hs{constructor(e){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=e}onDragEnter(e){if(this.clearColumnsList(),this.gridOptionsService.get("functionsReadOnly"))return;const t=e.dragItem.columns;t&&t.forEach(e=>{e.isPrimary()&&(e.isAnyFunctionActive()||(e.isAllowValue()?this.columnsToAggregate.push(e):e.isAllowRowGroup()?this.columnsToGroup.push(e):e.isAllowPivot()&&this.columnsToPivot.push(e)))})}getIconName(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?Ii.ICON_PINNED:Ii.ICON_MOVE:null}onDragLeave(e){this.clearColumnsList()}clearColumnsList(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0}onDragging(e){}onDragStop(e){this.columnsToAggregate.length>0&&this.columnModel.addValueColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&this.columnModel.addRowGroupColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&this.columnModel.addPivotColumns(this.columnsToPivot,"toolPanelDragAndDrop")}}ps([de("columnModel")],hs.prototype,"columnModel",void 0),ps([de("gridOptionsService")],hs.prototype,"gridOptionsService",void 0);class ms{static attemptMoveColumns(e){const{isFromHeader:t,hDirection:a,xPosition:r,fromEnter:o,fakeEvent:i,pinned:n,gridOptionsService:l,columnModel:s}=e,g=a===Oi.Left,d=a===Oi.Right;let{allMovingColumns:c}=e;if(t){let e=[];c.forEach(t=>{var a;let r=null,o=t.getParent();for(;null!=o&&1===o.getDisplayedLeafColumns().length;)r=o,o=o.getParent();if(null!=r){(!!(null===(a=r.getColGroupDef())||void 0===a?void 0:a.marryChildren)?r.getProvidedColumnGroup().getLeafColumns():r.getLeafColumns()).forEach(t=>{e.includes(t)||e.push(t)})}else e.includes(t)||e.push(t)}),c=e}const u=c.slice();s.sortColumnsLikeGridColumns(u);const p=this.calculateValidMoves({movingCols:u,draggingRight:d,xPosition:r,pinned:n,gridOptionsService:l,columnModel:s}),h=this.calculateOldIndex(u,s);if(0===p.length)return;const m=p[0];let v=null!==h&&!o;if(t&&(v=null!==h),v&&!i){if(g&&m>=h)return;if(d&&m<=h)return}const f=s.getAllDisplayedColumns();let w=[],b=null;for(let e=0;e<p.length;e++){const t=p[e],a=s.getProposedColumnOrder(u,t);if(!s.doesOrderPassRules(a))continue;const r=a.filter(e=>f.includes(e));if(null===b)b=r;else if(!Ae(r,b))break;const o=this.groupFragCount(a);w.push({move:t,fragCount:o})}return 0!==w.length?(w.sort((e,t)=>e.fragCount-t.fragCount),this.moveColumns(c,w[0].move,"uiColumnMoved",!1,s)):void 0}static moveColumns(e,t,a,r,o){return o.moveColumns(e,t,a,r),r?null:{columns:e,toIndex:t}}static calculateOldIndex(e,t){const a=t.getAllGridColumns(),r=Oe(e.map(e=>a.indexOf(e))),o=r[0];return Te(r)-o!==r.length-1?null:o}static groupFragCount(e){function t(e){let t=[],a=e.getOriginalParent();for(;null!=a;)t.push(a),a=a.getOriginalParent();return t}let a=0;for(let r=0;r<e.length-1;r++){let o=t(e[r]),i=t(e[r+1]);[o,i]=o.length>i.length?[o,i]:[i,o],o.forEach(e=>{-1===i.indexOf(e)&&a++})}return a}static calculateValidMoves(e){const{movingCols:t,draggingRight:a,xPosition:r,pinned:o,gridOptionsService:i,columnModel:n}=e;if(i.get("suppressMovableColumns")||t.some(e=>e.getColDef().suppressMovable))return[];const l=n.getDisplayedColumns(o),s=n.getAllGridColumns(),g=l.filter(e=>He(t,e)),d=l.filter(e=>!He(t,e)),c=s.filter(e=>!He(t,e));let u,p=0,h=r;if(a){let e=0;g.forEach(t=>e+=t.getActualWidth()),h-=e}if(h>0){for(let e=0;e<d.length;e++){if(h-=d[e].getActualWidth(),h<0)break;p++}a&&p++}if(p>0){const e=d[p-1];u=c.indexOf(e)+1}else u=c.indexOf(d[0]),-1===u&&(u=0);const m=[u],v=(e,t)=>e-t;if(a){let e=u+1;const t=s.length-1;for(;e<=t;)m.push(e),e++;m.sort(v)}else{let e=u;const t=s.length-1;let a=s[e];for(;e<=t&&l.indexOf(a)<0;)e++,m.push(e),a=s[e];e=u-1;const r=0;for(;e>=r;)m.push(e),e--;m.sort(v).reverse()}return m}static normaliseX(e,t,a,r,o){const i=o.getHeaderRowContainerCtrl(t).getViewport();if(a&&(e-=i.getBoundingClientRect().left),r.get("enableRtl")){e=i.clientWidth-e}return null==t&&(e+=o.getCenterRowContainerCtrl().getCenterViewportScrollLeft()),e}}var vs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class fs{constructor(e,t){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.lastMovedInfo=null,this.pinned=e,this.eContainer=t,this.centerContainer=!S(e)}init(){this.ctrlsService.whenReady(()=>{this.gridBodyCon=this.ctrlsService.getGridBodyCtrl()})}getIconName(){return this.pinned?Ii.ICON_PINNED:Ii.ICON_MOVE}onDragEnter(e){const t=e.dragItem.columns;if(e.dragSource.type===Ni.ToolPanel)this.setColumnsVisible(t,!0,"uiColumnDragged");else{const a=e.dragItem.visibleState,r=(t||[]).filter(e=>a[e.getId()]);this.setColumnsVisible(r,!0,"uiColumnDragged")}this.setColumnsPinned(t,this.pinned,"uiColumnDragged"),this.onDragging(e,!0,!0)}onDragLeave(){this.ensureIntervalCleared(),this.lastMovedInfo=null}setColumnsVisible(e,t,a){if(e){const r=e.filter(e=>!e.getColDef().lockVisible);this.columnModel.setColumnsVisible(r,t,a)}}setColumnsPinned(e,t,a){if(e){const r=e.filter(e=>!e.getColDef().lockPinned);this.columnModel.setColumnsPinned(r,t,a)}}onDragStop(){this.onDragging(this.lastDraggingEvent,!1,!0,!0),this.ensureIntervalCleared(),this.lastMovedInfo=null}checkCenterForScrolling(e){if(this.centerContainer){const t=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft(),a=t+this.ctrlsService.getCenterRowContainerCtrl().getCenterWidth();this.gridOptionsService.get("enableRtl")?(this.needToMoveRight=e<t+50,this.needToMoveLeft=e>a-50):(this.needToMoveLeft=e<t+50,this.needToMoveRight=e>a-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}}onDragging(e=this.lastDraggingEvent,t=!1,a=!1,r=!1){var o;if(r){if(this.lastMovedInfo){const{columns:e,toIndex:t}=this.lastMovedInfo;ms.moveColumns(e,t,"uiColumnMoved",!0,this.columnModel)}return}if(this.lastDraggingEvent=e,E(e.hDirection))return;const i=ms.normaliseX(e.x,this.pinned,!1,this.gridOptionsService,this.ctrlsService);t||this.checkCenterForScrolling(i);const n=this.normaliseDirection(e.hDirection),l=e.dragSource.type,s=(null===(o=e.dragSource.getDragItem().columns)||void 0===o?void 0:o.filter(e=>!e.getColDef().lockPinned||e.getPinned()==this.pinned))||[],g=ms.attemptMoveColumns({allMovingColumns:s,isFromHeader:l===Ni.HeaderCell,hDirection:n,xPosition:i,pinned:this.pinned,fromEnter:t,fakeEvent:a,gridOptionsService:this.gridOptionsService,columnModel:this.columnModel});g&&(this.lastMovedInfo=g)}normaliseDirection(e){if(!this.gridOptionsService.get("enableRtl"))return e;switch(e){case Oi.Left:return Oi.Right;case Oi.Right:return Oi.Left;default:console.error("AG Grid: Unknown direction "+e)}}ensureIntervalStarted(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100),this.needToMoveLeft?this.dragAndDropService.setGhostIcon(Ii.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(Ii.ICON_RIGHT,!0))}ensureIntervalCleared(){this.movingIntervalId&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(Ii.ICON_MOVE))}moveInterval(){let e;this.intervalCount++,e=10+5*this.intervalCount,e>100&&(e=100);let t=null;const a=this.gridBodyCon.getScrollFeature();if(this.needToMoveLeft?t=a.scrollHorizontally(-e):this.needToMoveRight&&(t=a.scrollHorizontally(e)),0!==t)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;const e=this.lastDraggingEvent.dragItem.columns.filter(e=>!e.getColDef().lockPinned);if(e.length>0&&(this.dragAndDropService.setGhostIcon(Ii.ICON_PINNED),this.failedMoveAttempts>7)){const t=this.needToMoveLeft?"left":"right";this.setColumnsPinned(e,t,"uiColumnDragged"),this.dragAndDropService.nudge()}}}}vs([de("columnModel")],fs.prototype,"columnModel",void 0),vs([de("dragAndDropService")],fs.prototype,"dragAndDropService",void 0),vs([de("gridOptionsService")],fs.prototype,"gridOptionsService",void 0),vs([de("ctrlsService")],fs.prototype,"ctrlsService",void 0),vs([le],fs.prototype,"init",null);var ws=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class bs extends at{constructor(e,t){super(),this.pinned=e,this.eContainer=t}postConstruct(){this.ctrlsService.whenReady(e=>{switch(this.pinned){case"left":this.eSecondaryContainers=[[e.gridBodyCtrl.getBodyViewportElement(),e.leftRowContainerCtrl.getContainerElement()],[e.bottomLeftRowContainerCtrl.getContainerElement()],[e.topLeftRowContainerCtrl.getContainerElement()]];break;case"right":this.eSecondaryContainers=[[e.gridBodyCtrl.getBodyViewportElement(),e.rightRowContainerCtrl.getContainerElement()],[e.bottomRightRowContainerCtrl.getContainerElement()],[e.topRightRowContainerCtrl.getContainerElement()]];break;default:this.eSecondaryContainers=[[e.gridBodyCtrl.getBodyViewportElement(),e.centerRowContainerCtrl.getViewportElement()],[e.bottomCenterRowContainerCtrl.getViewportElement()],[e.topCenterRowContainerCtrl.getViewportElement()]]}})}isInterestedIn(e){return e===Ni.HeaderCell||e===Ni.ToolPanel&&this.gridOptionsService.get("allowDragFromColumnsToolPanel")}getSecondaryContainers(){return this.eSecondaryContainers}getContainer(){return this.eContainer}init(){this.moveColumnFeature=this.createManagedBean(new fs(this.pinned,this.eContainer)),this.bodyDropPivotTarget=this.createManagedBean(new hs(this.pinned)),this.dragAndDropService.addDropTarget(this)}getIconName(){return this.currentDropListener.getIconName()}isDropColumnInPivotMode(e){return this.columnModel.isPivotMode()&&e.dragSource.type===Ni.ToolPanel}onDragEnter(e){this.currentDropListener=this.isDropColumnInPivotMode(e)?this.bodyDropPivotTarget:this.moveColumnFeature,this.currentDropListener.onDragEnter(e)}onDragLeave(e){this.currentDropListener.onDragLeave(e)}onDragging(e){this.currentDropListener.onDragging(e)}onDragStop(e){this.currentDropListener.onDragStop(e)}}ws([de("dragAndDropService")],bs.prototype,"dragAndDropService",void 0),ws([de("columnModel")],bs.prototype,"columnModel",void 0),ws([de("ctrlsService")],bs.prototype,"ctrlsService",void 0),ws([le],bs.prototype,"postConstruct",null),ws([le],bs.prototype,"init",null);var Cs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ys extends Xn{constructor(e){super(ys.TEMPLATE,e),this.headerCompVersion=0,this.column=e.getColumnGroupChild(),this.pinned=e.getPinned()}postConstruct(){const e=this.getGui();var t,a;t="col-id",null!=(a=this.column.getColId())&&""!=a?e.setAttribute(t,a):e.removeAttribute(t);const r={setWidth:t=>e.style.width=t,addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setAriaSort:t=>t?ya(e,t):Sa(e),setUserCompDetails:e=>this.setUserCompDetails(e),getUserCompInstance:()=>this.headerComp};this.ctrl.setComp(r,this.getGui(),this.eResize,this.eHeaderCompWrapper);const o=this.ctrl.getSelectAllGui();this.eResize.insertAdjacentElement("afterend",o)}destroyHeaderComp(){this.headerComp&&(this.eHeaderCompWrapper.removeChild(this.headerCompGui),this.headerComp=this.destroyBean(this.headerComp),this.headerCompGui=void 0)}setUserCompDetails(e){this.headerCompVersion++;const t=this.headerCompVersion;e.newAgStackInstance().then(e=>this.afterCompCreated(t,e))}afterCompCreated(e,t){e==this.headerCompVersion&&this.isAlive()?(this.destroyHeaderComp(),this.headerComp=t,this.headerCompGui=t.getGui(),this.eHeaderCompWrapper.appendChild(this.headerCompGui),this.ctrl.setDragSource(this.getGui())):this.destroyBean(t)}}ys.TEMPLATE='<div class="ag-header-cell" role="columnheader">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n <div ref="eHeaderCompWrapper" class="ag-header-cell-comp-wrapper" role="presentation"></div>\n </div>',Cs([ho("eResize")],ys.prototype,"eResize",void 0),Cs([ho("eHeaderCompWrapper")],ys.prototype,"eHeaderCompWrapper",void 0),Cs([le],ys.prototype,"postConstruct",null),Cs([se],ys.prototype,"destroyHeaderComp",null);var Ss=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Es extends Xn{constructor(e){super(Es.TEMPLATE,e)}postConstruct(){const e=this.getGui();e.setAttribute("col-id",this.ctrl.getColId());const t={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setResizableDisplayed:e=>rr(this.eResize,e),setWidth:t=>e.style.width=t,setAriaExpanded:t=>{return a="aria-expanded",null!=(r=t)?e.setAttribute(a,r):e.removeAttribute(a);var a,r},setUserCompDetails:e=>this.setUserCompDetails(e),getUserCompInstance:()=>this.headerGroupComp};this.ctrl.setComp(t,e,this.eResize)}setUserCompDetails(e){e.newAgStackInstance().then(e=>this.afterHeaderCompCreated(e))}afterHeaderCompCreated(e){const t=()=>this.destroyBean(e);if(!this.isAlive())return void t();const a=this.getGui(),r=e.getGui();a.appendChild(r),this.addDestroyFunc(t),this.headerGroupComp=e,this.ctrl.setDragSource(a)}}Es.TEMPLATE='<div class="ag-header-group-cell" role="columnheader">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n </div>',Ss([ho("eResize")],Es.prototype,"eResize",void 0),Ss([le],Es.prototype,"postConstruct",null);var Rs,xs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e.COLUMN_GROUP="group",e.COLUMN="column",e.FLOATING_FILTER="filter"}(Rs||(Rs={}));class ks extends uo{constructor(e){super(),this.headerComps={},this.ctrl=e,this.setTemplate(`<div class="${this.ctrl.getHeaderRowClass()}" role="row"></div>`)}init(){fa(this.getGui(),this.ctrl.getAriaRowIndex());const e={setHeight:e=>this.getGui().style.height=e,setTop:e=>this.getGui().style.top=e,setHeaderCtrls:(e,t)=>this.setHeaderCtrls(e,t),setWidth:e=>this.getGui().style.width=e};this.ctrl.setComp(e)}destroyHeaderCtrls(){this.setHeaderCtrls([],!1)}setHeaderCtrls(e,t){if(!this.isAlive())return;const a=this.headerComps;if(this.headerComps={},e.forEach(e=>{const t=e.getInstanceId();let r=a[t];delete a[t],null==r&&(r=this.createHeaderComp(e),this.getGui().appendChild(r.getGui())),this.headerComps[t]=r}),P(a,(e,t)=>{this.getGui().removeChild(t.getGui()),this.destroyBean(t)}),t){const e=F(this.headerComps);e.sort((e,t)=>e.getCtrl().getColumnGroupChild().getLeft()-t.getCtrl().getColumnGroupChild().getLeft());const t=e.map(e=>e.getGui());Sr(this.getGui(),t)}}createHeaderComp(e){let t;switch(this.ctrl.getType()){case Rs.COLUMN_GROUP:t=new Es(e);break;case Rs.FLOATING_FILTER:t=new $n(e);break;default:t=new ys(e)}return this.createBean(t),t.setParentComponent(this),t}}xs([le],ks.prototype,"init",null),xs([se],ks.prototype,"destroyHeaderCtrls",null);var zs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Ts=0;class As extends at{constructor(e,t,a){super(),this.resizeToggleTimeout=0,this.resizeMultiplier=1,this.resizeFeature=null,this.lastFocusEvent=null,this.dragSource=null,this.columnGroupChild=e,this.parentRowCtrl=a,this.beans=t,this.instanceId=e.getUniqueId()+"-"+Ts++}postConstruct(){this.addManagedPropertyListeners(["suppressHeaderFocus"],()=>this.refreshTabIndex())}shouldStopEventPropagation(e){const{headerRowIndex:t,column:a}=this.focusService.getFocusedHeader();return Kr(this.gridOptionsService,e,t,a)}getWrapperHasFocus(){return this.gridOptionsService.getDocument().activeElement===this.eGui}setGui(e){this.eGui=e,this.addDomData(),this.addManagedListener(this.beans.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.onDisplayedColumnsChanged(),this.refreshTabIndex()}onDisplayedColumnsChanged(){this.comp&&this.column&&(this.refreshFirstAndLastStyles(),this.refreshAriaColIndex())}refreshFirstAndLastStyles(){const{comp:e,column:t,beans:a}=this;Rl.refreshFirstAndLastStyles(e,t,a.columnModel)}refreshAriaColIndex(){const{beans:e,column:t}=this,a=e.columnModel.getAriaColumnIndex(t);ba(this.eGui,a)}addResizeAndMoveKeyboardListeners(){this.resizeFeature&&(this.addManagedListener(this.eGui,"keydown",this.onGuiKeyDown.bind(this)),this.addManagedListener(this.eGui,"keyup",this.onGuiKeyUp.bind(this)))}refreshTabIndex(){this.gridOptionsService.get("suppressHeaderFocus")?this.eGui.removeAttribute("tabindex"):this.eGui.setAttribute("tabindex","-1")}onGuiKeyDown(e){var t;const a=this.gridOptionsService.getDocument().activeElement,r=e.key===Wr.LEFT||e.key===Wr.RIGHT;if(this.isResizing&&(e.preventDefault(),e.stopImmediatePropagation()),a!==this.eGui||!e.shiftKey&&!e.altKey)return;if((this.isResizing||r)&&(e.preventDefault(),e.stopImmediatePropagation()),!r)return;const o=e.key===Wr.LEFT!==this.gridOptionsService.get("enableRtl"),i=Oi[o?"Left":"Right"];if(e.altKey){this.isResizing=!0,this.resizeMultiplier+=1;const a=this.getViewportAdjustedResizeDiff(e);this.resizeHeader(a,e.shiftKey),null===(t=this.resizeFeature)||void 0===t||t.toggleColumnResizing(!0)}else this.moveHeader(i)}getViewportAdjustedResizeDiff(e){let t=this.getResizeDiff(e);if(this.column.getPinned()){const e=this.pinnedWidthService.getPinnedLeftWidth(),a=this.pinnedWidthService.getPinnedRightWidth(),r=gr(this.ctrlsService.getGridBodyCtrl().getBodyViewportElement())-50;if(e+a+t>r){if(!(r>e+a))return 0;t=r-e-a}}return t}getResizeDiff(e){let t=e.key===Wr.LEFT!==this.gridOptionsService.get("enableRtl");const a=this.column.getPinned(),r=this.gridOptionsService.get("enableRtl");return a&&r!==("right"===a)&&(t=!t),(t?-1:1)*this.resizeMultiplier}onGuiKeyUp(){this.isResizing&&(this.resizeToggleTimeout&&(window.clearTimeout(this.resizeToggleTimeout),this.resizeToggleTimeout=0),this.isResizing=!1,this.resizeMultiplier=1,this.resizeToggleTimeout=setTimeout(()=>{var e;null===(e=this.resizeFeature)||void 0===e||e.toggleColumnResizing(!1)},150))}handleKeyDown(e){const t=this.getWrapperHasFocus();switch(e.key){case Wr.PAGE_DOWN:case Wr.PAGE_UP:case Wr.PAGE_HOME:case Wr.PAGE_END:t&&e.preventDefault()}}addDomData(){const e=As.DOM_DATA_KEY_HEADER_CTRL;this.gridOptionsService.setDomData(this.eGui,e,this),this.addDestroyFunc(()=>this.gridOptionsService.setDomData(this.eGui,e,null))}getGui(){return this.eGui}focus(e){return!!this.eGui&&(this.lastFocusEvent=e||null,this.eGui.focus(),!0)}getRowIndex(){return this.parentRowCtrl.getRowIndex()}getParentRowCtrl(){return this.parentRowCtrl}getPinned(){return this.parentRowCtrl.getPinned()}getInstanceId(){return this.instanceId}getColumnGroupChild(){return this.columnGroupChild}removeDragSource(){this.dragSource&&(this.dragAndDropService.removeDragSource(this.dragSource),this.dragSource=null)}handleContextMenuMouseEvent(e,t,a){const r=null!=e?e:t;this.gridOptionsService.get("preventDefaultOnContextMenu")&&r.preventDefault();const o=a instanceof Ee?a:void 0;this.menuService.isHeaderContextMenuEnabled(o)&&this.menuService.showHeaderContextMenu(o,e,t),this.dispatchColumnMouseEvent(st.EVENT_COLUMN_HEADER_CONTEXT_MENU,a)}dispatchColumnMouseEvent(e,t){const a={type:e,column:t};this.eventService.dispatchEvent(a)}destroy(){super.destroy(),this.removeDragSource(),this.comp=null,this.column=null,this.resizeFeature=null,this.lastFocusEvent=null,this.columnGroupChild=null,this.parentRowCtrl=null,this.eGui=null}}As.DOM_DATA_KEY_HEADER_CTRL="headerCtrl",zs([de("pinnedWidthService")],As.prototype,"pinnedWidthService",void 0),zs([de("focusService")],As.prototype,"focusService",void 0),zs([de("userComponentFactory")],As.prototype,"userComponentFactory",void 0),zs([de("ctrlsService")],As.prototype,"ctrlsService",void 0),zs([de("dragAndDropService")],As.prototype,"dragAndDropService",void 0),zs([de("menuService")],As.prototype,"menuService",void 0),zs([le],As.prototype,"postConstruct",null);var Ds=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Os extends at{constructor(e,t,a,r){super(),this.columnOrGroup=e,this.eCell=t,this.ariaEl=this.eCell.querySelector("[role=columnheader]")||this.eCell,this.colsSpanning=r,this.beans=a}setColsSpanning(e){this.colsSpanning=e,this.onLeftChanged()}getColumnOrGroup(){return this.beans.gridOptionsService.get("enableRtl")&&this.colsSpanning?Te(this.colsSpanning):this.columnOrGroup}postConstruct(){this.addManagedListener(this.columnOrGroup,Ee.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.setLeftFirstTime(),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onLeftChanged.bind(this)),this.addManagedPropertyListener("domLayout",this.onLeftChanged.bind(this))}setLeftFirstTime(){const e=this.beans.gridOptionsService.get("suppressColumnMoveAnimation"),t=S(this.columnOrGroup.getOldLeft());this.beans.columnAnimationService.isActive()&&t&&!e?this.animateInLeft():this.onLeftChanged()}animateInLeft(){const e=this.getColumnOrGroup(),t=e.getLeft(),a=e.getOldLeft(),r=this.modifyLeftForPrintLayout(e,a),o=this.modifyLeftForPrintLayout(e,t);this.setLeft(r),this.actualLeft=o,this.beans.columnAnimationService.executeNextVMTurn(()=>{this.actualLeft===o&&this.setLeft(o)})}onLeftChanged(){const e=this.getColumnOrGroup(),t=e.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(e,t),this.setLeft(this.actualLeft)}modifyLeftForPrintLayout(e,t){if(!this.beans.gridOptionsService.isDomLayout("print"))return t;if("left"===e.getPinned())return t;const a=this.beans.columnModel.getDisplayedColumnsLeftWidth();if("right"===e.getPinned()){return a+this.beans.columnModel.getBodyContainerWidth()+t}return a+t}setLeft(e){let t;if(S(e)&&(this.eCell.style.left=e+"px"),this.columnOrGroup instanceof Ee)t=this.columnOrGroup;else{const e=this.columnOrGroup.getLeafColumns();if(!e.length)return;e.length>1&&Ca(this.ariaEl,e.length),t=e[0]}}}Ds([le],Os.prototype,"postConstruct",null);var Ms=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Ps extends at{constructor(e,t){super(),this.columns=e,this.element=t}postConstruct(){this.gridOptionsService.get("columnHoverHighlight")&&this.addMouseHoverListeners()}addMouseHoverListeners(){this.addManagedListener(this.element,"mouseout",this.onMouseOut.bind(this)),this.addManagedListener(this.element,"mouseover",this.onMouseOver.bind(this))}onMouseOut(){this.columnHoverService.clearMouseOver()}onMouseOver(){this.columnHoverService.setMouseOver(this.columns)}}Ms([de("columnHoverService")],Ps.prototype,"columnHoverService",void 0),Ms([le],Ps.prototype,"postConstruct",null);class Ls extends As{constructor(e,t,a){super(e,t,a),this.iconCreated=!1,this.column=e}setComp(e,t,a,r){this.comp=e,this.eButtonShowMainFilter=a,this.eFloatingFilterBody=r,this.setGui(t),this.setupActive(),this.setupWidth(),this.setupLeft(),this.setupHover(),this.setupFocus(),this.setupAria(),this.setupFilterButton(),this.setupUserComp(),this.setupSyncWithFilter(),this.setupUi(),this.addManagedListener(this.eButtonShowMainFilter,"click",this.showParentFilter.bind(this)),this.setupFilterChangedListener(),this.addManagedListener(this.column,Ee.EVENT_COL_DEF_CHANGED,this.onColDefChanged.bind(this))}resizeHeader(){}moveHeader(){}setupActive(){const e=this.column.getColDef(),t=!!e.filter,a=!!e.floatingFilter;this.active=t&&a}setupUi(){if(this.comp.setButtonWrapperDisplayed(!this.suppressFilterButton&&this.active),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-full-body",this.suppressFilterButton),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-body",!this.suppressFilterButton),!this.active||this.iconCreated)return;const e=qr("filter",this.gridOptionsService,this.column);e&&(this.iconCreated=!0,this.eButtonShowMainFilter.appendChild(e))}setupFocus(){this.createManagedBean(new So(this.eGui,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))}setupAria(){const e=this.localeService.getLocaleTextFunc();ta(this.eButtonShowMainFilter,e("ariaFilterMenuOpen","Open Filter Menu"))}onTabKeyDown(e){if(this.gridOptionsService.getDocument().activeElement===this.eGui)return;const t=this.focusService.findNextFocusableElement(this.eGui,null,e.shiftKey);if(t)return this.beans.headerNavigationService.scrollToColumn(this.column),e.preventDefault(),void t.focus();const a=this.findNextColumnWithFloatingFilter(e.shiftKey);a&&this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:this.getParentRowCtrl().getRowIndex(),column:a},event:e})&&e.preventDefault()}findNextColumnWithFloatingFilter(e){const t=this.beans.columnModel;let a=this.column;do{if(a=e?t.getDisplayedColBefore(a):t.getDisplayedColAfter(a),!a)break}while(!a.getColDef().filter||!a.getColDef().floatingFilter);return a}handleKeyDown(e){super.handleKeyDown(e);const t=this.getWrapperHasFocus();switch(e.key){case Wr.UP:case Wr.DOWN:t||e.preventDefault();case Wr.LEFT:case Wr.RIGHT:if(t)return;e.stopPropagation();case Wr.ENTER:t&&this.focusService.focusInto(this.eGui)&&e.preventDefault();break;case Wr.ESCAPE:t||this.eGui.focus()}}onFocusIn(e){if(this.eGui.contains(e.relatedTarget))return;const t=!!e.relatedTarget&&!e.relatedTarget.classList.contains("ag-floating-filter"),a=!!e.relatedTarget&&nr(e.relatedTarget,"ag-floating-filter");if(t&&a&&e.target===this.eGui){const e=this.lastFocusEvent,t=!(!e||e.key!==Wr.TAB);if(e&&t){const t=e.shiftKey;this.focusService.focusInto(this.eGui,t)}}const r=this.getRowIndex();this.beans.focusService.setFocusedHeader(r,this.column)}setupHover(){this.createManagedBean(new Ps([this.column],this.eGui));const e=()=>{if(!this.gridOptionsService.get("columnHoverHighlight"))return;const e=this.beans.columnHoverService.isHovered(this.column);this.comp.addOrRemoveCssClass("ag-column-hover",e)};this.addManagedListener(this.eventService,st.EVENT_COLUMN_HOVER_CHANGED,e),e()}setupLeft(){const e=new Os(this.column,this.eGui,this.beans);this.createManagedBean(e)}setupFilterButton(){this.suppressFilterButton=!this.menuService.isFloatingFilterButtonEnabled(this.column),this.highlightFilterButtonWhenActive=!this.menuService.isLegacyMenuEnabled()}setupUserComp(){if(!this.active)return;const e=this.beans.filterManager.getFloatingFilterCompDetails(this.column,()=>this.showParentFilter());e&&this.setCompDetails(e)}setCompDetails(e){this.userCompDetails=e,this.comp.setCompDetails(e)}showParentFilter(){const e=this.suppressFilterButton?this.eFloatingFilterBody:this.eButtonShowMainFilter;this.menuService.showFilterMenu({column:this.column,buttonElement:e,containerType:"floatingFilter",positionBy:"button"})}setupSyncWithFilter(){if(!this.active)return;const{filterManager:e}=this.beans,t=t=>{const a=this.comp.getFloatingFilterComp();a&&a.then(a=>{if(a){const r=e.getCurrentFloatingFilterParentModel(this.column);a.onParentModelChanged(r,t)}})};this.destroySyncListener=this.addManagedListener(this.column,Ee.EVENT_FILTER_CHANGED,t),e.isFilterActive(this.column)&&t(null)}setupWidth(){const e=()=>{const e=this.column.getActualWidth()+"px";this.comp.setWidth(e)};this.addManagedListener(this.column,Ee.EVENT_WIDTH_CHANGED,e),e()}setupFilterChangedListener(){this.active&&(this.destroyFilterChangedListener=this.addManagedListener(this.column,Ee.EVENT_FILTER_CHANGED,this.updateFilterButton.bind(this)),this.updateFilterButton())}updateFilterButton(){if(!this.suppressFilterButton&&this.comp){const e=this.beans.filterManager.isFilterAllowed(this.column);this.comp.setButtonWrapperDisplayed(e),this.highlightFilterButtonWhenActive&&e&&this.eButtonShowMainFilter.classList.toggle("ag-filter-active",this.column.isFilterActive())}}onColDefChanged(){var e,t;const a=this.active;this.setupActive();const r=!a&&this.active;a&&!this.active&&(null===(e=this.destroySyncListener)||void 0===e||e.call(this),null===(t=this.destroyFilterChangedListener)||void 0===t||t.call(this));const o=this.active?this.beans.filterManager.getFloatingFilterCompDetails(this.column,()=>this.showParentFilter()):null,i=this.comp.getFloatingFilterComp();i&&o?i.then(e=>{var t;!e||this.beans.filterManager.areFilterCompsDifferent(null!==(t=this.userCompDetails)&&void 0!==t?t:null,o)?this.updateCompDetails(o,r):this.updateFloatingFilterParams(o)}):this.updateCompDetails(o,r)}updateCompDetails(e,t){this.isAlive()&&(this.setCompDetails(e),this.setupFilterButton(),this.setupUi(),t&&(this.setupSyncWithFilter(),this.setupFilterChangedListener()))}updateFloatingFilterParams(e){var t;if(!e)return;const a=e.params;null===(t=this.comp.getFloatingFilterComp())||void 0===t||t.then(e=>{let t=!1;if((null==e?void 0:e.refresh)&&"function"==typeof e.refresh){null!==e.refresh(a)&&(t=!0)}if(!t&&(null==e?void 0:e.onParamsUpdated)&&"function"==typeof e.onParamsUpdated){null!==e.onParamsUpdated(a)&&q("Custom floating filter method 'onParamsUpdated' is deprecated. Use 'refresh' instead.")}})}destroy(){super.destroy(),this.eButtonShowMainFilter=null,this.eFloatingFilterBody=null,this.userCompDetails=null,this.destroySyncListener=null,this.destroyFilterChangedListener=null}}var Ns=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Fs extends at{constructor(e,t,a,r,o){super(),this.pinned=e,this.column=t,this.eResize=a,this.comp=r,this.ctrl=o}postConstruct(){const e=[];let t,a;const r=()=>{if(rr(this.eResize,t),!t)return;const r=this.horizontalResizeService.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});if(e.push(r),a){const t=this.gridOptionsService.get("skipHeaderOnAutoSize"),a=()=>{this.columnModel.autoSizeColumn(this.column,"uiColumnResized",t)};this.eResize.addEventListener("dblclick",a);const r=new gi(this.eResize);r.addEventListener(gi.EVENT_DOUBLE_TAP,a),e.push(()=>{this.eResize.removeEventListener("dblclick",a),r.removeEventListener(gi.EVENT_DOUBLE_TAP,a),r.destroy()})}},o=()=>{e.forEach(e=>e()),e.length=0},i=()=>{const e=this.column.isResizable(),i=!this.gridOptionsService.get("suppressAutoSize")&&!this.column.getColDef().suppressAutoSize;(e!==t||i!==a)&&(t=e,a=i,o(),r())};i(),this.addDestroyFunc(o),this.ctrl.addRefreshFunction(i)}onResizing(e,t){const{column:a,lastResizeAmount:r,resizeStartWidth:o}=this,i=this.normaliseResizeAmount(t),n=[{key:a,newWidth:o+i}];if(this.column.getPinned()){if(this.pinnedWidthService.getPinnedLeftWidth()+this.pinnedWidthService.getPinnedRightWidth()+(i-r)>gr(this.ctrlsService.getGridBodyCtrl().getBodyViewportElement())-50)return}this.lastResizeAmount=i,this.columnModel.setColumnWidths(n,this.resizeWithShiftKey,e,"uiColumnResized"),e&&this.toggleColumnResizing(!1)}onResizeStart(e){this.resizeStartWidth=this.column.getActualWidth(),this.lastResizeAmount=0,this.resizeWithShiftKey=e,this.toggleColumnResizing(!0)}toggleColumnResizing(e){this.comp.addOrRemoveCssClass("ag-column-resizing",e)}normaliseResizeAmount(e){let t=e;const a="left"!==this.pinned,r="right"===this.pinned;return this.gridOptionsService.get("enableRtl")?a&&(t*=-1):r&&(t*=-1),t}}Ns([de("horizontalResizeService")],Fs.prototype,"horizontalResizeService",void 0),Ns([de("pinnedWidthService")],Fs.prototype,"pinnedWidthService",void 0),Ns([de("ctrlsService")],Fs.prototype,"ctrlsService",void 0),Ns([de("columnModel")],Fs.prototype,"columnModel",void 0),Ns([le],Fs.prototype,"postConstruct",null);var Is=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Gs extends at{constructor(e){super(),this.cbSelectAllVisible=!1,this.processingEventFromCheckbox=!1,this.column=e}onSpaceKeyDown(e){const t=this.cbSelectAll,a=this.gridOptionsService.getDocument();t.isDisplayed()&&!t.getGui().contains(a.activeElement)&&(e.preventDefault(),t.setValue(!t.getValue()))}getCheckboxGui(){return this.cbSelectAll.getGui()}setComp(e){this.headerCellCtrl=e,this.cbSelectAll=this.createManagedBean(new Io),this.cbSelectAll.addCssClass("ag-header-select-all"),Jt(this.cbSelectAll.getGui(),"presentation"),this.showOrHideSelectAll(),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_PAGINATION_CHANGED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addManagedListener(this.cbSelectAll,st.EVENT_FIELD_VALUE_CHANGED,this.onCbSelectAll.bind(this)),ga(this.cbSelectAll.getGui(),!0),this.cbSelectAll.getInputElement().setAttribute("tabindex","-1"),this.refreshSelectAllLabel()}onNewColumnsLoaded(){this.showOrHideSelectAll()}onDisplayedColumnsChanged(){this.isAlive()&&this.showOrHideSelectAll()}showOrHideSelectAll(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setDisplayed(this.cbSelectAllVisible,{skipAriaHidden:!0}),this.cbSelectAllVisible&&(this.checkRightRowModelType("selectAllCheckbox"),this.checkSelectionType("selectAllCheckbox"),this.updateStateOfCheckbox()),this.refreshSelectAllLabel()}onModelChanged(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()}onSelectionChanged(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()}updateStateOfCheckbox(){if(this.processingEventFromCheckbox)return;this.processingEventFromCheckbox=!0;const e=this.selectionService.getSelectAllState(this.isFilteredOnly(),this.isCurrentPageOnly());this.cbSelectAll.setValue(e);const t=this.selectionService.hasNodesToSelect(this.isFilteredOnly(),this.isCurrentPageOnly());this.cbSelectAll.setDisabled(!t),this.refreshSelectAllLabel(),this.processingEventFromCheckbox=!1}refreshSelectAllLabel(){const e=this.localeService.getLocaleTextFunc(),t=this.cbSelectAll.getValue()?e("ariaChecked","checked"):e("ariaUnchecked","unchecked"),a=e("ariaRowSelectAll","Press Space to toggle all rows selection");this.cbSelectAllVisible?this.headerCellCtrl.setAriaDescriptionProperty("selectAll",`${a} (${t})`):this.headerCellCtrl.setAriaDescriptionProperty("selectAll",null),this.cbSelectAll.setInputAriaLabel(`${a} (${t})`),this.headerCellCtrl.announceAriaDescription()}checkSelectionType(e){return!("multiple"!==this.gridOptionsService.get("rowSelection"))||(console.warn(`AG Grid: ${e} is only available if using 'multiple' rowSelection.`),!1)}checkRightRowModelType(e){const t=this.rowModel.getType();return!("clientSide"!==t&&"serverSide"!==t)||(console.warn(`AG Grid: ${e} is only available if using 'clientSide' or 'serverSide' rowModelType, you are using ${t}.`),!1)}onCbSelectAll(){if(this.processingEventFromCheckbox)return;if(!this.cbSelectAllVisible)return;const e=this.cbSelectAll.getValue(),t=this.isFilteredOnly(),a=this.isCurrentPageOnly();let r="uiSelectAll";a?r="uiSelectAllCurrentPage":t&&(r="uiSelectAllFiltered");const o={source:r,justFiltered:t,justCurrentPage:a};e?this.selectionService.selectAllRowNodes(o):this.selectionService.deselectAllRowNodes(o)}isCheckboxSelection(){let e=this.column.getColDef().headerCheckboxSelection;if("function"==typeof e){e=e(this.gridOptionsService.addGridCommonParams({column:this.column,colDef:this.column.getColDef()}))}return!!e&&(this.checkRightRowModelType("headerCheckboxSelection")&&this.checkSelectionType("headerCheckboxSelection"))}isFilteredOnly(){return!!this.column.getColDef().headerCheckboxSelectionFilteredOnly}isCurrentPageOnly(){return!!this.column.getColDef().headerCheckboxSelectionCurrentPageOnly}}Is([de("rowModel")],Gs.prototype,"rowModel",void 0),Is([de("selectionService")],Gs.prototype,"selectionService",void 0);class Vs extends As{constructor(e,t,a){super(e,t,a),this.refreshFunctions=[],this.userHeaderClasses=new Set,this.ariaDescriptionProperties=new Map,this.column=e}setComp(e,t,a,r){this.comp=e,this.setGui(t),this.updateState(),this.setupWidth(),this.setupMovingCss(),this.setupMenuClass(),this.setupSortableClass(),this.setupWrapTextClass(),this.refreshSpanHeaderHeight(),this.setupAutoHeight(r),this.addColumnHoverListener(),this.setupFilterClass(),this.setupClassesFromColDef(),this.setupTooltip(),this.addActiveHeaderMouseListeners(),this.setupSelectAll(),this.setupUserComp(),this.refreshAria(),this.resizeFeature=this.createManagedBean(new Fs(this.getPinned(),this.column,a,e,this)),this.createManagedBean(new Ps([this.column],t)),this.createManagedBean(new Os(this.column,t,this.beans)),this.createManagedBean(new So(t,{shouldStopEventPropagation:e=>this.shouldStopEventPropagation(e),onTabKeyDown:()=>null,handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addResizeAndMoveKeyboardListeners(),this.addManagedPropertyListeners(["suppressMovableColumns","suppressMenuHide","suppressAggFuncInHeader"],this.refresh.bind(this)),this.addManagedListener(this.column,Ee.EVENT_COL_DEF_CHANGED,this.refresh.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_CHANGED,this.onColumnPivotChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_HEADER_HEIGHT_CHANGED,this.onHeaderHeightChanged.bind(this))}resizeHeader(e,t){var a,r;if(!this.column.isResizable())return;const o=this.column.getActualWidth(),i=null!==(a=this.column.getMinWidth())&&void 0!==a?a:0,n=null!==(r=this.column.getMaxWidth())&&void 0!==r?r:Number.MAX_SAFE_INTEGER,l=Math.min(Math.max(o+e,i),n);this.beans.columnModel.setColumnWidths([{key:this.column,newWidth:l}],t,!0,"uiColumnResized")}moveHeader(e){const{eGui:t,column:a,gridOptionsService:r,ctrlsService:o}=this,i=this.getPinned(),n=t.getBoundingClientRect().left,l=a.getActualWidth(),s=r.get("enableRtl"),g=e===Oi.Left!==s,d=ms.normaliseX(g?n-20:n+l+20,i,!0,r,o);ms.attemptMoveColumns({allMovingColumns:[a],isFromHeader:!0,hDirection:e,xPosition:d,pinned:i,fromEnter:!1,fakeEvent:!1,gridOptionsService:r,columnModel:this.beans.columnModel}),o.getGridBodyCtrl().getScrollFeature().ensureColumnVisible(a,"auto")}setupUserComp(){const e=this.lookupUserCompDetails();this.setCompDetails(e)}setCompDetails(e){this.userCompDetails=e,this.comp.setUserCompDetails(e)}lookupUserCompDetails(){const e=this.createParams(),t=this.column.getColDef();return this.userComponentFactory.getHeaderCompDetails(t,e)}createParams(){return this.gridOptionsService.addGridCommonParams({column:this.column,displayName:this.displayName,enableSorting:this.column.isSortable(),enableMenu:this.menuEnabled,enableFilterButton:this.openFilterEnabled&&this.menuService.isHeaderFilterButtonEnabled(this.column),enableFilterIcon:!this.openFilterEnabled||this.menuService.isLegacyMenuEnabled(),showColumnMenu:e=>{this.menuService.showColumnMenu({column:this.column,buttonElement:e,positionBy:"button"})},showColumnMenuAfterMouseClick:e=>{this.menuService.showColumnMenu({column:this.column,mouseEvent:e,positionBy:"mouse"})},showFilter:e=>{this.menuService.showFilterMenu({column:this.column,buttonElement:e,containerType:"columnFilter",positionBy:"button"})},progressSort:e=>{this.beans.sortController.progressSort(this.column,!!e,"uiColumnSorted")},setSort:(e,t)=>{this.beans.sortController.setSortForColumn(this.column,e,!!t,"uiColumnSorted")},eGridHeader:this.getGui()})}setupSelectAll(){this.selectAllFeature=this.createManagedBean(new Gs(this.column)),this.selectAllFeature.setComp(this)}getSelectAllGui(){return this.selectAllFeature.getCheckboxGui()}handleKeyDown(e){super.handleKeyDown(e),e.key===Wr.SPACE&&this.selectAllFeature.onSpaceKeyDown(e),e.key===Wr.ENTER&&this.onEnterKeyDown(e),e.key===Wr.DOWN&&e.altKey&&this.showMenuOnKeyPress(e,!1)}onEnterKeyDown(e){if(e.ctrlKey||e.metaKey)this.showMenuOnKeyPress(e,!0);else if(this.sortable){const t=e.shiftKey;this.beans.sortController.progressSort(this.column,t,"uiColumnSorted")}}showMenuOnKeyPress(e,t){const a=this.comp.getUserCompInstance();a&&a instanceof pi&&a.onMenuKeyboardShortcut(t)&&e.preventDefault()}onFocusIn(e){if(!this.getGui().contains(e.relatedTarget)){const e=this.getRowIndex();this.focusService.setFocusedHeader(e,this.column),this.announceAriaDescription()}this.focusService.isKeyboardMode()&&this.setActiveHeader(!0)}onFocusOut(e){this.getGui().contains(e.relatedTarget)||this.setActiveHeader(!1)}setupTooltip(){const e={getColumn:()=>this.column,getColDef:()=>this.column.getColDef(),getGui:()=>this.eGui,getLocation:()=>"header",getTooltipValue:()=>this.column.getColDef().headerTooltip},t=this.createManagedBean(new fl(e,this.beans));t.setComp(this.eGui),this.refreshFunctions.push(()=>t.refreshToolTip())}setupClassesFromColDef(){const e=()=>{const e=this.column.getColDef(),t=Rl.getHeaderClassesFromColDef(e,this.gridOptionsService,this.column,null),a=this.userHeaderClasses;this.userHeaderClasses=new Set(t),t.forEach(e=>{a.has(e)?a.delete(e):this.comp.addOrRemoveCssClass(e,!0)}),a.forEach(e=>this.comp.addOrRemoveCssClass(e,!1))};this.refreshFunctions.push(e),e()}setDragSource(e){if(this.dragSourceElement=e,this.removeDragSource(),!e||!this.draggable)return;const{column:t,beans:a,displayName:r,dragAndDropService:o,gridOptionsService:i}=this,{columnModel:n}=a;let l=!this.gridOptionsService.get("suppressDragLeaveHidesColumns");const s=this.dragSource={type:Ni.HeaderCell,eElement:e,getDefaultIconName:()=>l?Ii.ICON_HIDE:Ii.ICON_NOT_ALLOWED,getDragItem:()=>this.createDragItem(t),dragItemName:r,onDragStarted:()=>{l=!i.get("suppressDragLeaveHidesColumns"),t.setMoving(!0,"uiColumnMoved")},onDragStopped:()=>t.setMoving(!1,"uiColumnMoved"),onGridEnter:e=>{var t;if(l){const a=(null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.filter(e=>!e.getColDef().lockVisible))||[];n.setColumnsVisible(a,!0,"uiColumnMoved")}},onGridExit:e=>{var t;if(l){const a=(null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.filter(e=>!e.getColDef().lockVisible))||[];n.setColumnsVisible(a,!1,"uiColumnMoved")}}};o.addDragSource(s,!0)}createDragItem(e){const t={};return t[e.getId()]=e.isVisible(),{columns:[e],visibleState:t}}updateState(){this.menuEnabled=this.menuService.isColumnMenuInHeaderEnabled(this.column),this.openFilterEnabled=this.menuService.isFilterMenuInHeaderEnabled(this.column),this.sortable=this.column.isSortable(),this.displayName=this.calculateDisplayName(),this.draggable=this.workOutDraggable()}addRefreshFunction(e){this.refreshFunctions.push(e)}refresh(){this.updateState(),this.refreshHeaderComp(),this.refreshAria(),this.refreshFunctions.forEach(e=>e())}refreshHeaderComp(){const e=this.lookupUserCompDetails();!!(null!=this.comp.getUserCompInstance()&&this.userCompDetails.componentClass==e.componentClass)&&this.attemptHeaderCompRefresh(e.params)?this.setDragSource(this.dragSourceElement):this.setCompDetails(e)}attemptHeaderCompRefresh(e){const t=this.comp.getUserCompInstance();if(!t)return!1;if(!t.refresh)return!1;return t.refresh(e)}calculateDisplayName(){return this.beans.columnModel.getDisplayNameForColumn(this.column,"header",!0)}checkDisplayName(){this.displayName!==this.calculateDisplayName()&&this.refresh()}workOutDraggable(){const e=this.column.getColDef();return!!(!this.gridOptionsService.get("suppressMovableColumns")&&!e.suppressMovable&&!e.lockPosition)||!!e.enableRowGroup||!!e.enablePivot}onColumnRowGroupChanged(){this.checkDisplayName()}onColumnPivotChanged(){this.checkDisplayName()}onColumnValueChanged(){this.checkDisplayName()}setupWidth(){const e=()=>{const e=this.column.getActualWidth();this.comp.setWidth(e+"px")};this.addManagedListener(this.column,Ee.EVENT_WIDTH_CHANGED,e),e()}setupMovingCss(){const e=()=>{this.comp.addOrRemoveCssClass("ag-header-cell-moving",this.column.isMoving())};this.addManagedListener(this.column,Ee.EVENT_MOVING_CHANGED,e),e()}setupMenuClass(){const e=()=>{this.comp.addOrRemoveCssClass("ag-column-menu-visible",this.column.isMenuVisible())};this.addManagedListener(this.column,Ee.EVENT_MENU_VISIBLE_CHANGED,e),e()}setupSortableClass(){const e=()=>{this.comp.addOrRemoveCssClass("ag-header-cell-sortable",!!this.sortable)};e(),this.addRefreshFunction(e),this.addManagedListener(this.eventService,Ee.EVENT_SORT_CHANGED,this.refreshAriaSort.bind(this))}setupFilterClass(){const e=()=>{const e=this.column.isFilterActive();this.comp.addOrRemoveCssClass("ag-header-cell-filtered",e),this.refreshAria()};this.addManagedListener(this.column,Ee.EVENT_FILTER_ACTIVE_CHANGED,e),e()}setupWrapTextClass(){const e=()=>{const e=!!this.column.getColDef().wrapHeaderText;this.comp.addOrRemoveCssClass("ag-header-cell-wrap-text",e)};e(),this.addRefreshFunction(e)}onDisplayedColumnsChanged(){super.onDisplayedColumnsChanged(),this.isAlive()&&this.onHeaderHeightChanged()}onHeaderHeightChanged(){this.refreshSpanHeaderHeight()}refreshSpanHeaderHeight(){const{eGui:e,column:t,comp:a,beans:r}=this;if(!t.isSpanHeaderHeight())return e.style.removeProperty("top"),e.style.removeProperty("height"),a.addOrRemoveCssClass("ag-header-span-height",!1),void a.addOrRemoveCssClass("ag-header-span-total",!1);const{numberOfParents:o,isSpanningTotal:i}=this.column.getColumnGroupPaddingInfo();a.addOrRemoveCssClass("ag-header-span-height",o>0);const{columnModel:n}=r,l=n.getColumnHeaderRowHeight();if(0===o)return a.addOrRemoveCssClass("ag-header-span-total",!1),e.style.setProperty("top","0px"),void e.style.setProperty("height",l+"px");a.addOrRemoveCssClass("ag-header-span-total",i);const s=o*(n.isPivotMode()?n.getPivotGroupHeaderHeight():n.getGroupHeaderHeight());e.style.setProperty("top",-s+"px"),e.style.setProperty("height",l+s+"px")}setupAutoHeight(e){const{columnModel:t,resizeObserverService:a}=this.beans,r=a=>{if(!this.isAlive())return;const{paddingTop:o,paddingBottom:i,borderBottomWidth:n,borderTopWidth:l}=lr(this.getGui()),s=o+i+n+l,g=e.offsetHeight+s;if(a<5){const t=this.beans.gridOptionsService.getDocument(),o=0==g;if(!t||!t.contains(e)||o)return void window.setTimeout(()=>r(a+1),0)}t.setColumnHeaderHeight(this.column,g)};let o,i=!1;const n=()=>{const e=this.column.isAutoHeaderHeight();e&&!i&&l(),!e&&i&&s()},l=()=>{i=!0,r(0),this.comp.addOrRemoveCssClass("ag-header-cell-auto-height",!0),o=a.observeResize(e,()=>r(0))},s=()=>{i=!1,o&&o(),this.comp.addOrRemoveCssClass("ag-header-cell-auto-height",!1),o=void 0};n(),this.addDestroyFunc(()=>s()),this.addManagedListener(this.column,Ee.EVENT_WIDTH_CHANGED,()=>i&&r(0)),this.addManagedListener(this.eventService,Ee.EVENT_SORT_CHANGED,()=>{i&&window.setTimeout(()=>r(0))}),this.addRefreshFunction(n)}refreshAriaSort(){if(this.sortable){const e=this.localeService.getLocaleTextFunc(),t=this.beans.sortController.getDisplaySortForColumn(this.column)||null;this.comp.setAriaSort(Xt(t)),this.setAriaDescriptionProperty("sort",e("ariaSortableColumn","Press ENTER to sort"))}else this.comp.setAriaSort(),this.setAriaDescriptionProperty("sort",null)}refreshAriaMenu(){if(this.menuEnabled){const e=this.localeService.getLocaleTextFunc();this.setAriaDescriptionProperty("menu",e("ariaMenuColumn","Press ALT DOWN to open column menu"))}else this.setAriaDescriptionProperty("menu",null)}refreshAriaFilterButton(){if(this.openFilterEnabled&&!this.menuService.isLegacyMenuEnabled()){const e=this.localeService.getLocaleTextFunc();this.setAriaDescriptionProperty("filterButton",e("ariaFilterColumn","Press CTRL ENTER to open filter"))}else this.setAriaDescriptionProperty("filterButton",null)}refreshAriaFiltered(){const e=this.localeService.getLocaleTextFunc();this.column.isFilterActive()?this.setAriaDescriptionProperty("filter",e("ariaColumnFiltered","Column Filtered")):this.setAriaDescriptionProperty("filter",null)}setAriaDescriptionProperty(e,t){null!=t?this.ariaDescriptionProperties.set(e,t):this.ariaDescriptionProperties.delete(e)}announceAriaDescription(){const e=this.beans.gridOptionsService.getDocument();if(!this.eGui.contains(e.activeElement))return;const t=Array.from(this.ariaDescriptionProperties.keys()).sort((e,t)=>"filter"===e?-1:t.charCodeAt(0)-e.charCodeAt(0)).map(e=>this.ariaDescriptionProperties.get(e)).join(". ");this.beans.ariaAnnouncementService.announceValue(t)}refreshAria(){this.refreshAriaSort(),this.refreshAriaMenu(),this.refreshAriaFilterButton(),this.refreshAriaFiltered()}addColumnHoverListener(){const e=()=>{if(!this.gridOptionsService.get("columnHoverHighlight"))return;const e=this.beans.columnHoverService.isHovered(this.column);this.comp.addOrRemoveCssClass("ag-column-hover",e)};this.addManagedListener(this.eventService,st.EVENT_COLUMN_HOVER_CHANGED,e),e()}getColId(){return this.column.getColId()}addActiveHeaderMouseListeners(){const e=e=>this.handleMouseOverChange("mouseenter"===e.type);this.addManagedListener(this.getGui(),"mouseenter",e),this.addManagedListener(this.getGui(),"mouseleave",e),this.addManagedListener(this.getGui(),"click",()=>this.dispatchColumnMouseEvent(st.EVENT_COLUMN_HEADER_CLICKED,this.column)),this.addManagedListener(this.getGui(),"contextmenu",e=>this.handleContextMenuMouseEvent(e,void 0,this.column))}handleMouseOverChange(e){this.setActiveHeader(e);const t={type:e?st.EVENT_COLUMN_HEADER_MOUSE_OVER:st.EVENT_COLUMN_HEADER_MOUSE_LEAVE,column:this.column};this.eventService.dispatchEvent(t)}setActiveHeader(e){this.comp.addOrRemoveCssClass("ag-header-active",e)}getAnchorElementForMenu(e){const t=this.comp.getUserCompInstance();return t instanceof pi?t.getAnchorElementForMenu(e):this.getGui()}destroy(){super.destroy(),this.refreshFunctions=null,this.selectAllFeature=null,this.dragSourceElement=null,this.userCompDetails=null,this.userHeaderClasses=null,this.ariaDescriptionProperties=null}}var Hs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class _s extends at{constructor(e,t,a,r){super(),this.eResize=t,this.comp=e,this.pinned=a,this.columnGroup=r}postConstruct(){if(!this.columnGroup.isResizable())return void this.comp.setResizableDisplayed(!1);const e=this.horizontalResizeService.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});if(this.addDestroyFunc(e),!this.gridOptionsService.get("suppressAutoSize")){const e=this.gridOptionsService.get("skipHeaderOnAutoSize");this.eResize.addEventListener("dblclick",()=>{const t=[];this.columnGroup.getDisplayedLeafColumns().forEach(e=>{e.getColDef().suppressAutoSize||t.push(e.getColId())}),t.length>0&&this.columnModel.autoSizeColumns({columns:t,skipHeader:e,stopAtGroup:this.columnGroup,source:"uiColumnResized"}),this.resizeLeafColumnsToFit("uiColumnResized")})}}onResizeStart(e){const t=this.getInitialValues(e);this.storeLocalValues(t),this.toggleColumnResizing(!0)}onResizing(e,t,a="uiColumnResized"){const r=this.normaliseDragChange(t),o=this.resizeStartWidth+r;this.resizeColumnsFromLocalValues(o,a,e)}getInitialValues(e){const t=this.getColumnsToResize(),a=this.getInitialSizeOfColumns(t),r={columnsToResize:t,resizeStartWidth:a,resizeRatios:this.getSizeRatiosOfColumns(t,a)};let o=null;if(e&&(o=this.columnModel.getDisplayedGroupAfter(this.columnGroup)),o){const e=o.getDisplayedLeafColumns(),t=r.groupAfterColumns=e.filter(e=>e.isResizable()),a=r.groupAfterStartWidth=this.getInitialSizeOfColumns(t);r.groupAfterRatios=this.getSizeRatiosOfColumns(t,a)}else r.groupAfterColumns=void 0,r.groupAfterStartWidth=void 0,r.groupAfterRatios=void 0;return r}storeLocalValues(e){const{columnsToResize:t,resizeStartWidth:a,resizeRatios:r,groupAfterColumns:o,groupAfterStartWidth:i,groupAfterRatios:n}=e;this.resizeCols=t,this.resizeStartWidth=a,this.resizeRatios=r,this.resizeTakeFromCols=o,this.resizeTakeFromStartWidth=i,this.resizeTakeFromRatios=n}clearLocalValues(){this.resizeCols=void 0,this.resizeRatios=void 0,this.resizeTakeFromCols=void 0,this.resizeTakeFromRatios=void 0}resizeLeafColumnsToFit(e){const t=this.autoWidthCalculator.getPreferredWidthForColumnGroup(this.columnGroup),a=this.getInitialValues();t>a.resizeStartWidth&&this.resizeColumns(a,t,e,!0)}resizeColumnsFromLocalValues(e,t,a=!0){var r,o,i;if(!this.resizeCols||!this.resizeRatios)return;const n={columnsToResize:this.resizeCols,resizeStartWidth:this.resizeStartWidth,resizeRatios:this.resizeRatios,groupAfterColumns:null!==(r=this.resizeTakeFromCols)&&void 0!==r?r:void 0,groupAfterStartWidth:null!==(o=this.resizeTakeFromStartWidth)&&void 0!==o?o:void 0,groupAfterRatios:null!==(i=this.resizeTakeFromRatios)&&void 0!==i?i:void 0};this.resizeColumns(n,e,t,a)}resizeColumns(e,t,a,r=!0){const{columnsToResize:o,resizeStartWidth:i,resizeRatios:n,groupAfterColumns:l,groupAfterStartWidth:s,groupAfterRatios:g}=e,d=[];if(d.push({columns:o,ratios:n,width:t}),l){const e=t-i;d.push({columns:l,ratios:g,width:s-e})}this.columnModel.resizeColumnSets({resizeSets:d,finished:r,source:a}),r&&this.toggleColumnResizing(!1)}toggleColumnResizing(e){this.comp.addOrRemoveCssClass("ag-column-resizing",e)}getColumnsToResize(){return this.columnGroup.getDisplayedLeafColumns().filter(e=>e.isResizable())}getInitialSizeOfColumns(e){return e.reduce((e,t)=>e+t.getActualWidth(),0)}getSizeRatiosOfColumns(e,t){return e.map(e=>e.getActualWidth()/t)}normaliseDragChange(e){let t=e;return this.gridOptionsService.get("enableRtl")?"left"!==this.pinned&&(t*=-1):"right"===this.pinned&&(t*=-1),t}destroy(){super.destroy(),this.clearLocalValues()}}Hs([de("horizontalResizeService")],_s.prototype,"horizontalResizeService",void 0),Hs([de("autoWidthCalculator")],_s.prototype,"autoWidthCalculator",void 0),Hs([de("columnModel")],_s.prototype,"columnModel",void 0),Hs([le],_s.prototype,"postConstruct",null);var Bs=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class qs extends at{constructor(e,t){super(),this.removeChildListenersFuncs=[],this.columnGroup=t,this.comp=e}postConstruct(){this.addListenersToChildrenColumns(),this.addManagedListener(this.columnGroup,lt.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this))}addListenersToChildrenColumns(){this.removeListenersOnChildrenColumns();const e=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach(t=>{t.addEventListener("widthChanged",e),t.addEventListener("visibleChanged",e),this.removeChildListenersFuncs.push(()=>{t.removeEventListener("widthChanged",e),t.removeEventListener("visibleChanged",e)})})}removeListenersOnChildrenColumns(){this.removeChildListenersFuncs.forEach(e=>e()),this.removeChildListenersFuncs=[]}onDisplayedChildrenChanged(){this.addListenersToChildrenColumns(),this.onWidthChanged()}onWidthChanged(){const e=this.columnGroup.getActualWidth();this.comp.setWidth(e+"px"),this.comp.addOrRemoveCssClass("ag-hidden",0===e)}}Bs([le],qs.prototype,"postConstruct",null);class Ws extends As{constructor(e,t,a){super(e,t,a),this.onSuppressColMoveChange=()=>{if(!this.isAlive()||this.isSuppressMoving())this.removeDragSource();else if(!this.dragSource){const e=this.getGui();this.setDragSource(e)}},this.column=e}setComp(e,t,a){this.comp=e,this.setGui(t),this.displayName=this.beans.columnModel.getDisplayNameForColumnGroup(this.column,"header"),this.addClasses(),this.setupMovingCss(),this.setupExpandable(),this.setupTooltip(),this.setupUserComp(),this.addHeaderMouseListeners();const r=this.getParentRowCtrl().getPinned(),o=this.column.getProvidedColumnGroup().getLeafColumns();this.createManagedBean(new Ps(o,t)),this.createManagedBean(new Os(this.column,t,this.beans)),this.createManagedBean(new qs(e,this.column)),this.resizeFeature=this.createManagedBean(new _s(e,a,r,this.column)),this.createManagedBean(new So(t,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:()=>{},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)})),this.addManagedPropertyListener(st.EVENT_SUPPRESS_COLUMN_MOVE_CHANGED,this.onSuppressColMoveChange),this.addResizeAndMoveKeyboardListeners()}resizeHeader(e,t){if(!this.resizeFeature)return;const a=this.resizeFeature.getInitialValues(t);this.resizeFeature.resizeColumns(a,a.resizeStartWidth+e,"uiColumnResized",!0)}moveHeader(e){const{beans:t,eGui:a,column:r,gridOptionsService:o,ctrlsService:i}=this,n=o.get("enableRtl"),l=e===Oi.Left,s=this.getPinned(),g=a.getBoundingClientRect(),d=g.left,c=g.width,u=ms.normaliseX(l!==n?d-20:d+c+20,s,!0,o,i),p=r.getGroupId(),h=this.focusService.getFocusedHeader();ms.attemptMoveColumns({allMovingColumns:this.column.getLeafColumns(),isFromHeader:!0,hDirection:e,xPosition:u,pinned:s,fromEnter:!1,fakeEvent:!1,gridOptionsService:o,columnModel:t.columnModel});const m=r.getDisplayedLeafColumns(),v=l?m[0]:Te(m);this.ctrlsService.getGridBodyCtrl().getScrollFeature().ensureColumnVisible(v,"auto"),!this.isAlive()&&h&&this.restoreFocus(p,r,h)}restoreFocus(e,t,a){const r=t.getLeafColumns();if(!r.length)return;const o=r[0].getParent();if(!o)return;const i=this.findGroupWidthId(o,e);i&&this.focusService.focusHeaderPosition({headerPosition:Object.assign(Object.assign({},a),{column:i})})}findGroupWidthId(e,t){for(;e;){if(e.getGroupId()===t)return e;e=e.getParent()}return null}resizeLeafColumnsToFit(e){this.resizeFeature&&this.resizeFeature.resizeLeafColumnsToFit(e)}setupUserComp(){const e=this.gridOptionsService.addGridCommonParams({displayName:this.displayName,columnGroup:this.column,setExpanded:e=>{this.beans.columnModel.setColumnGroupOpened(this.column.getProvidedColumnGroup(),e,"gridInitializing")}}),t=this.userComponentFactory.getHeaderGroupCompDetails(e);this.comp.setUserCompDetails(t)}addHeaderMouseListeners(){const e=e=>this.handleMouseOverChange("mouseenter"===e.type);this.addManagedListener(this.getGui(),"mouseenter",e),this.addManagedListener(this.getGui(),"mouseleave",e),this.addManagedListener(this.getGui(),"click",()=>this.dispatchColumnMouseEvent(st.EVENT_COLUMN_HEADER_CLICKED,this.column.getProvidedColumnGroup())),this.addManagedListener(this.getGui(),"contextmenu",e=>this.handleContextMenuMouseEvent(e,void 0,this.column.getProvidedColumnGroup()))}handleMouseOverChange(e){const t={type:e?st.EVENT_COLUMN_HEADER_MOUSE_OVER:st.EVENT_COLUMN_HEADER_MOUSE_LEAVE,column:this.column.getProvidedColumnGroup()};this.eventService.dispatchEvent(t)}setupTooltip(){const e=this.column.getColGroupDef(),t={getColumn:()=>this.column,getGui:()=>this.eGui,getLocation:()=>"headerGroup",getTooltipValue:()=>e&&e.headerTooltip};e&&(t.getColDef=()=>e);this.createManagedBean(new fl(t,this.beans)).setComp(this.eGui)}setupExpandable(){const e=this.column.getProvidedColumnGroup();this.refreshExpanded(),this.addManagedListener(e,xe.EVENT_EXPANDABLE_CHANGED,this.refreshExpanded.bind(this)),this.addManagedListener(e,xe.EVENT_EXPANDED_CHANGED,this.refreshExpanded.bind(this))}refreshExpanded(){const e=this.column;this.expandable=e.isExpandable();const t=e.isExpanded();this.expandable?this.comp.setAriaExpanded(t?"true":"false"):this.comp.setAriaExpanded(void 0)}getColId(){return this.column.getUniqueId()}addClasses(){const e=this.column.getColGroupDef(),t=Rl.getHeaderClassesFromColDef(e,this.gridOptionsService,null,this.column);if(this.column.isPadding()){t.push("ag-header-group-cell-no-group");this.column.getLeafColumns().every(e=>e.isSpanHeaderHeight())&&t.push("ag-header-span-height")}else t.push("ag-header-group-cell-with-group");t.forEach(e=>this.comp.addOrRemoveCssClass(e,!0))}setupMovingCss(){const e=this.column.getProvidedColumnGroup().getLeafColumns(),t=()=>this.comp.addOrRemoveCssClass("ag-header-cell-moving",this.column.isMoving());e.forEach(e=>{this.addManagedListener(e,Ee.EVENT_MOVING_CHANGED,t)}),t()}onFocusIn(e){if(!this.eGui.contains(e.relatedTarget)){const e=this.getRowIndex();this.beans.focusService.setFocusedHeader(e,this.column)}}handleKeyDown(e){super.handleKeyDown(e);const t=this.getWrapperHasFocus();if(this.expandable&&t&&e.key===Wr.ENTER){const e=this.column,t=!e.isExpanded();this.beans.columnModel.setColumnGroupOpened(e.getProvidedColumnGroup(),t,"uiColumnExpanded")}}setDragSource(e){if(!this.isAlive()||this.isSuppressMoving())return;if(this.removeDragSource(),!e)return;const{beans:t,column:a,displayName:r,gridOptionsService:o,dragAndDropService:i}=this,{columnModel:n}=t,l=a.getProvidedColumnGroup().getLeafColumns();let s=!o.get("suppressDragLeaveHidesColumns");const g=this.dragSource={type:Ni.HeaderCell,eElement:e,getDefaultIconName:()=>s?Ii.ICON_HIDE:Ii.ICON_NOT_ALLOWED,dragItemName:r,getDragItem:()=>this.getDragItemForGroup(a),onDragStarted:()=>{s=!o.get("suppressDragLeaveHidesColumns"),l.forEach(e=>e.setMoving(!0,"uiColumnDragged"))},onDragStopped:()=>l.forEach(e=>e.setMoving(!1,"uiColumnDragged")),onGridEnter:e=>{var t;if(s){const a=(null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.filter(e=>!e.getColDef().lockVisible))||[];n.setColumnsVisible(a,!0,"uiColumnMoved")}},onGridExit:e=>{var t;if(s){const a=(null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.filter(e=>!e.getColDef().lockVisible))||[];n.setColumnsVisible(a,!1,"uiColumnMoved")}}};i.addDragSource(g,!0)}getDragItemForGroup(e){const t=e.getProvidedColumnGroup().getLeafColumns(),a={};t.forEach(e=>a[e.getId()]=e.isVisible());const r=[];return this.beans.columnModel.getAllDisplayedColumns().forEach(e=>{t.indexOf(e)>=0&&(r.push(e),Le(t,e))}),t.forEach(e=>r.push(e)),{columns:r,visibleState:a}}isSuppressMoving(){let e=!1;this.column.getLeafColumns().forEach(t=>{(t.getColDef().suppressMovable||t.getColDef().lockPosition)&&(e=!0)});return e||this.gridOptionsService.get("suppressMovableColumns")}}var Us=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let js=0;class Ks extends at{constructor(e,t,a){super(),this.instanceId=js++,this.rowIndex=e,this.pinned=t,this.type=a;const r=a==Rs.COLUMN_GROUP?"ag-header-row-column-group":a==Rs.FLOATING_FILTER?"ag-header-row-column-filter":"ag-header-row-column";this.headerRowClass="ag-header-row "+r}postConstruct(){this.isPrintLayout=this.gridOptionsService.isDomLayout("print"),this.isEnsureDomOrder=this.gridOptionsService.get("ensureDomOrder")}getInstanceId(){return this.instanceId}setComp(e,t=!0){this.comp=e,t&&(this.onRowHeightChanged(),this.onVirtualColumnsChanged()),this.setWidth(),this.addEventListeners()}getHeaderRowClass(){return this.headerRowClass}getAriaRowIndex(){return this.rowIndex+1}addEventListeners(){this.addManagedListener(this.eventService,st.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_VIRTUAL_COLUMNS_CHANGED,e=>this.onVirtualColumnsChanged(e.afterScroll)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_GRID_STYLES_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_ADVANCED_FILTER_ENABLED_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("domLayout",this.onDisplayedColumnsChanged.bind(this)),this.addManagedPropertyListener("ensureDomOrder",e=>this.isEnsureDomOrder=e.currentValue),this.addManagedPropertyListener("headerHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("pivotHeaderHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("groupHeaderHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("pivotGroupHeaderHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("floatingFiltersHeight",this.onRowHeightChanged.bind(this))}getHeaderCellCtrl(e){if(this.headerCellCtrls)return O(this.headerCellCtrls).find(t=>t.getColumnGroupChild()===e)}onDisplayedColumnsChanged(){this.isPrintLayout=this.gridOptionsService.isDomLayout("print"),this.onVirtualColumnsChanged(),this.setWidth(),this.onRowHeightChanged()}getType(){return this.type}onColumnResized(){this.setWidth()}setWidth(){const e=this.getWidthForRow();this.comp.setWidth(e+"px")}getWidthForRow(){const{columnModel:e}=this.beans;if(this.isPrintLayout){return null!=this.pinned?0:e.getContainerWidth("right")+e.getContainerWidth("left")+e.getContainerWidth(null)}return e.getContainerWidth(this.pinned)}onRowHeightChanged(){var{topOffset:e,rowHeight:t}=this.getTopAndHeight();this.comp.setTop(e+"px"),this.comp.setHeight(t+"px")}getTopAndHeight(){const{columnModel:e,filterManager:t}=this.beans;let a=e.getHeaderRowCount();const r=[];let o=0;t.hasFloatingFilters()&&(a++,o=1);const i=e.getColumnGroupHeaderRowHeight(),n=e.getColumnHeaderRowHeight(),l=a-(1+o);for(let e=0;e<l;e++)r.push(i);r.push(n);for(let t=0;t<o;t++)r.push(e.getFloatingFiltersHeight());let s=0;for(let e=0;e<this.rowIndex;e++)s+=r[e];return{topOffset:s,rowHeight:r[this.rowIndex]}}getPinned(){return this.pinned}getRowIndex(){return this.rowIndex}onVirtualColumnsChanged(e=!1){const t=this.getHeaderCtrls(),a=this.isEnsureDomOrder||this.isPrintLayout;this.comp.setHeaderCtrls(t,a,e)}getHeaderCtrls(){const e=this.headerCellCtrls;this.headerCellCtrls=new Map;const t=this.getColumnsInViewport();for(const a of t)this.recycleAndCreateHeaderCtrls(a,e);const a=e=>{const{focusService:t,columnModel:a}=this.beans;if(!t.isHeaderWrapperFocused(e))return!1;return a.isDisplayed(e.getColumnGroupChild())};if(e)for(const[t,r]of e){a(r)?this.headerCellCtrls.set(t,r):this.destroyBean(r)}return Array.from(this.headerCellCtrls.values())}recycleAndCreateHeaderCtrls(e,t){if(!this.headerCellCtrls)return;if(e.isEmptyGroup())return;const a=e.getUniqueId();let r;t&&(r=t.get(a),t.delete(a));if(r&&r.getColumnGroupChild()!=e&&(this.destroyBean(r),r=void 0),null==r)switch(this.type){case Rs.FLOATING_FILTER:r=this.createBean(new Ls(e,this.beans,this));break;case Rs.COLUMN_GROUP:r=this.createBean(new Ws(e,this.beans,this));break;default:r=this.createBean(new Vs(e,this.beans,this))}this.headerCellCtrls.set(a,r)}getColumnsInViewport(){return this.isPrintLayout?this.getColumnsInViewportPrintLayout():this.getColumnsInViewportNormalLayout()}getColumnsInViewportPrintLayout(){if(null!=this.pinned)return[];let e=[];const t=this.getActualDepth(),{columnModel:a}=this.beans;return["left",null,"right"].forEach(r=>{const o=a.getVirtualHeaderGroupRow(r,t);e=e.concat(o)}),e}getActualDepth(){return this.type==Rs.FLOATING_FILTER?this.rowIndex-1:this.rowIndex}getColumnsInViewportNormalLayout(){return this.beans.columnModel.getVirtualHeaderGroupRow(this.pinned,this.getActualDepth())}focusHeader(e,t){if(!this.headerCellCtrls)return!1;const a=Array.from(this.headerCellCtrls.values()).find(t=>t.getColumnGroupChild()==e);return!!a&&a.focus(t)}destroy(){this.headerCellCtrls&&this.headerCellCtrls.forEach(e=>{this.destroyBean(e)}),this.headerCellCtrls=void 0,super.destroy()}}Us([de("beans")],Ks.prototype,"beans",void 0),Us([le],Ks.prototype,"postConstruct",null);var Ys=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Qs extends at{constructor(e){super(),this.hidden=!1,this.includeFloatingFilter=!1,this.groupsRowCtrls=[],this.pinned=e}setComp(e,t){this.comp=e,this.eViewport=t,this.setupCenterWidth(),this.setupPinnedWidth(),this.setupDragAndDrop(this.eViewport),this.addManagedListener(this.eventService,st.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_ADVANCED_FILTER_ENABLED_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.ctrlsService.registerHeaderContainer(this,this.pinned),this.columnModel.isReady()&&this.refresh()}setupDragAndDrop(e){const t=new bs(this.pinned,e);this.createManagedBean(t)}refresh(e=!1){const t=new eo,a=this.focusService.getFocusHeaderToUseAfterRefresh();(()=>{const e=this.columnModel.getHeaderRowCount()-1;this.groupsRowCtrls=this.destroyBeans(this.groupsRowCtrls);for(let a=0;a<e;a++){const e=this.createBean(new Ks(t.next(),this.pinned,Rs.COLUMN_GROUP));this.groupsRowCtrls.push(e)}})(),(()=>{const a=t.next(),r=!(this.hidden||null!=this.columnsRowCtrl&&e&&this.columnsRowCtrl.getRowIndex()===a);(r||this.hidden)&&(this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl)),r&&(this.columnsRowCtrl=this.createBean(new Ks(a,this.pinned,Rs.COLUMN)))})(),(()=>{this.includeFloatingFilter=this.filterManager.hasFloatingFilters()&&!this.hidden;const a=()=>{this.filtersRowCtrl=this.destroyBean(this.filtersRowCtrl)};if(!this.includeFloatingFilter)return void a();const r=t.next();if(this.filtersRowCtrl){const t=this.filtersRowCtrl.getRowIndex()!==r;e&&!t||a()}this.filtersRowCtrl||(this.filtersRowCtrl=this.createBean(new Ks(r,this.pinned,Rs.FLOATING_FILTER)))})();const r=this.getAllCtrls();this.comp.setCtrls(r),this.restoreFocusOnHeader(a)}restoreFocusOnHeader(e){null!=e&&e.column.getPinned()==this.pinned&&this.focusService.focusHeaderPosition({headerPosition:e})}getAllCtrls(){const e=[...this.groupsRowCtrls];return this.columnsRowCtrl&&e.push(this.columnsRowCtrl),this.filtersRowCtrl&&e.push(this.filtersRowCtrl),e}onGridColumnsChanged(){this.refresh(!0)}onDisplayedColumnsChanged(){const e=this.filterManager.hasFloatingFilters()&&!this.hidden;this.includeFloatingFilter!==e&&this.refresh(!0)}setupCenterWidth(){null==this.pinned&&this.createManagedBean(new ql(e=>this.comp.setCenterWidth(e+"px"),!0))}setHorizontalScroll(e){this.comp.setViewportScrollLeft(e)}setupPinnedWidth(){if(null==this.pinned)return;const e="left"===this.pinned,t="right"===this.pinned;this.hidden=!0;const a=()=>{const a=e?this.pinnedWidthService.getPinnedLeftWidth():this.pinnedWidthService.getPinnedRightWidth();if(null==a)return;const r=0==a,o=this.hidden!==r,i=this.gridOptionsService.get("enableRtl"),n=this.gridOptionsService.getScrollbarWidth(),l=this.scrollVisibleService.isVerticalScrollShowing()&&(i&&e||!i&&t)?a+n:a;this.comp.setPinnedContainerWidth(l+"px"),this.comp.setDisplayed(!r),o&&(this.hidden=r,this.refresh())};this.addManagedListener(this.eventService,st.EVENT_LEFT_PINNED_WIDTH_CHANGED,a),this.addManagedListener(this.eventService,st.EVENT_RIGHT_PINNED_WIDTH_CHANGED,a),this.addManagedListener(this.eventService,st.EVENT_SCROLL_VISIBILITY_CHANGED,a),this.addManagedListener(this.eventService,st.EVENT_SCROLLBAR_WIDTH_CHANGED,a)}getHeaderCtrlForColumn(e){if(e instanceof Ee){if(!this.columnsRowCtrl)return;return this.columnsRowCtrl.getHeaderCellCtrl(e)}if(0!==this.groupsRowCtrls.length)for(let t=0;t<this.groupsRowCtrls.length;t++){const a=this.groupsRowCtrls[t].getHeaderCellCtrl(e);if(a)return a}}getHtmlElementForColumnHeader(e){const t=this.getHeaderCtrlForColumn(e);return t?t.getGui():null}getRowType(e){const t=this.getAllCtrls()[e];return t?t.getType():void 0}focusHeader(e,t,a){const r=this.getAllCtrls()[e];return!!r&&r.focusHeader(t,a)}getViewport(){return this.eViewport}getRowCount(){return this.groupsRowCtrls.length+(this.columnsRowCtrl?1:0)+(this.filtersRowCtrl?1:0)}destroy(){this.filtersRowCtrl&&(this.filtersRowCtrl=this.destroyBean(this.filtersRowCtrl)),this.columnsRowCtrl&&(this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl)),this.groupsRowCtrls&&this.groupsRowCtrls.length&&(this.groupsRowCtrls=this.destroyBeans(this.groupsRowCtrls)),super.destroy()}}Ys([de("ctrlsService")],Qs.prototype,"ctrlsService",void 0),Ys([de("scrollVisibleService")],Qs.prototype,"scrollVisibleService",void 0),Ys([de("pinnedWidthService")],Qs.prototype,"pinnedWidthService",void 0),Ys([de("columnModel")],Qs.prototype,"columnModel",void 0),Ys([de("focusService")],Qs.prototype,"focusService",void 0),Ys([de("filterManager")],Qs.prototype,"filterManager",void 0);var Js=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Xs extends uo{constructor(e){super(),this.headerRowComps={},this.rowCompsList=[],this.pinned=e}init(){this.selectAndSetTemplate();const e={setDisplayed:e=>this.setDisplayed(e),setCtrls:e=>this.setCtrls(e),setCenterWidth:e=>this.eCenterContainer.style.width=e,setViewportScrollLeft:e=>this.getGui().scrollLeft=e,setPinnedContainerWidth:e=>{const t=this.getGui();t.style.width=e,t.style.maxWidth=e,t.style.minWidth=e}};this.createManagedBean(new Qs(this.pinned)).setComp(e,this.getGui())}selectAndSetTemplate(){const e="left"==this.pinned,t="right"==this.pinned,a=e?Xs.PINNED_LEFT_TEMPLATE:t?Xs.PINNED_RIGHT_TEMPLATE:Xs.CENTER_TEMPLATE;this.setTemplate(a),this.eRowContainer=this.eCenterContainer?this.eCenterContainer:this.getGui()}destroyRowComps(){this.setCtrls([])}destroyRowComp(e){this.destroyBean(e),this.eRowContainer.removeChild(e.getGui())}setCtrls(e){const t=this.headerRowComps;let a;this.headerRowComps={},this.rowCompsList=[];const r=e=>{const t=e.getGui();t.parentElement!=this.eRowContainer&&this.eRowContainer.appendChild(t),a&&yr(this.eRowContainer,t,a),a=t};e.forEach(e=>{const a=e.getInstanceId(),o=t[a];delete t[a];const i=o||this.createBean(new ks(e));this.headerRowComps[a]=i,this.rowCompsList.push(i),r(i)}),F(t).forEach(e=>this.destroyRowComp(e))}}Xs.PINNED_LEFT_TEMPLATE='<div class="ag-pinned-left-header" role="rowgroup"></div>',Xs.PINNED_RIGHT_TEMPLATE='<div class="ag-pinned-right-header" role="rowgroup"></div>',Xs.CENTER_TEMPLATE='<div class="ag-header-viewport" role="presentation">\n <div class="ag-header-container" ref="eCenterContainer" role="rowgroup"></div>\n </div>',Js([ho("eCenterContainer")],Xs.prototype,"eCenterContainer",void 0),Js([le],Xs.prototype,"init",null),Js([se],Xs.prototype,"destroyRowComps",null);var Zs,$s=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e[e.LEFT=2]="LEFT",e[e.RIGHT=3]="RIGHT"}(Zs||(Zs={}));let eg=class extends at{constructor(){super(...arguments),this.currentHeaderRowWithoutSpan=-1}postConstruct(){this.ctrlsService.whenReady(e=>{this.gridBodyCon=e.gridBodyCtrl});const e=this.gridOptionsService.getDocument();this.addManagedListener(e,"mousedown",()=>this.setCurrentHeaderRowWithoutSpan(-1))}getHeaderRowCount(){const e=this.ctrlsService.getHeaderRowContainerCtrl();return e?e.getRowCount():0}navigateVertically(e,t,a){if(t||(t=this.focusService.getFocusedHeader()),!t)return!1;const{headerRowIndex:r,column:o}=t,i=this.getHeaderRowCount(),n=e===Zs.UP;let{headerRowIndex:l,column:s,headerRowIndexWithoutSpan:g}=n?this.headerPositionUtils.getColumnVisibleParent(o,r):this.headerPositionUtils.getColumnVisibleChild(o,r),d=!1;return l<0&&(l=0,s=o,d=!0),l>=i?(l=-1,this.setCurrentHeaderRowWithoutSpan(-1)):void 0!==g&&(this.currentHeaderRowWithoutSpan=g),!(!d&&!s)&&this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:l,column:s},allowUserOverride:!0,event:a})}setCurrentHeaderRowWithoutSpan(e){this.currentHeaderRowWithoutSpan=e}navigateHorizontally(e,t=!1,a){const r=this.focusService.getFocusedHeader(),o=e===Zs.LEFT,i=this.gridOptionsService.get("enableRtl");let n,l;return-1!==this.currentHeaderRowWithoutSpan?r.headerRowIndex=this.currentHeaderRowWithoutSpan:this.currentHeaderRowWithoutSpan=r.headerRowIndex,o!==i?(l="Before",n=this.headerPositionUtils.findHeader(r,l)):(l="After",n=this.headerPositionUtils.findHeader(r,l)),n||!t?this.focusService.focusHeaderPosition({headerPosition:n,direction:l,fromTab:t,allowUserOverride:!0,event:a}):this.focusNextHeaderRow(r,l,a)}focusNextHeaderRow(e,t,a){const r=e.headerRowIndex;let o,i=null;if("Before"===t?r>0&&(o=r-1,this.currentHeaderRowWithoutSpan-=1,i=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"end")):(o=r+1,this.currentHeaderRowWithoutSpan<this.getHeaderRowCount()?this.currentHeaderRowWithoutSpan+=1:this.setCurrentHeaderRowWithoutSpan(-1),i=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"start")),!i)return!1;const{column:n,headerRowIndex:l}=this.headerPositionUtils.getHeaderIndexToFocus(i.column,null==i?void 0:i.headerRowIndex);return this.focusService.focusHeaderPosition({headerPosition:{column:n,headerRowIndex:l},direction:t,fromTab:!0,allowUserOverride:!0,event:a})}scrollToColumn(e,t="After"){if(e.getPinned())return;let a;if(e instanceof lt){const r=e.getDisplayedLeafColumns();a="Before"===t?Te(r):r[0]}else a=e;this.gridBodyCon.getScrollFeature().ensureColumnVisible(a)}};$s([de("focusService")],eg.prototype,"focusService",void 0),$s([de("headerPositionUtils")],eg.prototype,"headerPositionUtils",void 0),$s([de("ctrlsService")],eg.prototype,"ctrlsService",void 0),$s([le],eg.prototype,"postConstruct",null),eg=$s([ge("headerNavigationService")],eg);var tg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ag extends at{setComp(e,t,a){this.comp=e,this.eGui=t,this.createManagedBean(new So(a,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.onPivotModeChanged(),this.setupHeaderHeight();const r=this.onHeaderContextMenu.bind(this);this.addManagedListener(this.eGui,"contextmenu",r),this.mockContextMenuForIPad(r),this.ctrlsService.registerGridHeaderCtrl(this)}setupHeaderHeight(){const e=this.setHeaderHeight.bind(this);e(),this.addManagedPropertyListener("headerHeight",e),this.addManagedPropertyListener("pivotHeaderHeight",e),this.addManagedPropertyListener("groupHeaderHeight",e),this.addManagedPropertyListener("pivotGroupHeaderHeight",e),this.addManagedPropertyListener("floatingFiltersHeight",e),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_GRID_STYLES_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_ADVANCED_FILTER_ENABLED_CHANGED,e)}getHeaderHeight(){return this.headerHeight}setHeaderHeight(){const{columnModel:e}=this;let t,a=0,r=e.getHeaderRowCount();this.filterManager.hasFloatingFilters()&&(r++,a=1);const o=this.columnModel.getColumnGroupHeaderRowHeight(),i=this.columnModel.getColumnHeaderRowHeight(),n=r-(1+a);if(t=a*e.getFloatingFiltersHeight(),t+=n*o,t+=i,this.headerHeight===t)return;this.headerHeight=t;const l=t+1+"px";this.comp.setHeightAndMinHeight(l),this.eventService.dispatchEvent({type:st.EVENT_HEADER_HEIGHT_CHANGED})}onPivotModeChanged(){const e=this.columnModel.isPivotMode();this.comp.addOrRemoveCssClass("ag-pivot-on",e),this.comp.addOrRemoveCssClass("ag-pivot-off",!e)}onDisplayedColumnsChanged(){const e=this.columnModel.getAllDisplayedColumns().some(e=>e.isSpanHeaderHeight());this.comp.addOrRemoveCssClass("ag-header-allow-overflow",e)}onTabKeyDown(e){const t=this.gridOptionsService.get("enableRtl"),a=e.shiftKey!==t?Zs.LEFT:Zs.RIGHT;(this.headerNavigationService.navigateHorizontally(a,!0,e)||this.focusService.focusNextGridCoreContainer(e.shiftKey))&&e.preventDefault()}handleKeyDown(e){let t=null;switch(e.key){case Wr.LEFT:t=Zs.LEFT;case Wr.RIGHT:S(t)||(t=Zs.RIGHT),this.headerNavigationService.navigateHorizontally(t,!1,e);break;case Wr.UP:t=Zs.UP;case Wr.DOWN:S(t)||(t=Zs.DOWN),this.headerNavigationService.navigateVertically(t,null,e)&&e.preventDefault();break;default:return}}onFocusOut(e){const t=this.gridOptionsService.getDocument(),{relatedTarget:a}=e;!a&&this.eGui.contains(t.activeElement)||this.eGui.contains(a)||this.focusService.clearFocusedHeader()}onHeaderContextMenu(e,t,a){if(!e&&!a||!this.menuService.isHeaderContextMenuEnabled())return;const{target:r}=null!=e?e:t;r!==this.eGui&&r!==this.ctrlsService.getHeaderRowContainerCtrl().getViewport()||this.menuService.showHeaderContextMenu(void 0,e,a)}mockContextMenuForIPad(e){if(!Ma())return;const t=new gi(this.eGui);this.addManagedListener(t,gi.EVENT_LONG_TAP,t=>{e(void 0,t.touchStart,t.touchEvent)}),this.addDestroyFunc(()=>t.destroy())}}tg([de("headerNavigationService")],ag.prototype,"headerNavigationService",void 0),tg([de("focusService")],ag.prototype,"focusService",void 0),tg([de("columnModel")],ag.prototype,"columnModel",void 0),tg([de("ctrlsService")],ag.prototype,"ctrlsService",void 0),tg([de("filterManager")],ag.prototype,"filterManager",void 0),tg([de("menuService")],ag.prototype,"menuService",void 0);var rg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class og extends uo{constructor(){super(og.TEMPLATE)}postConstruct(){const e={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setHeightAndMinHeight:e=>{this.getGui().style.height=e,this.getGui().style.minHeight=e}};this.createManagedBean(new ag).setComp(e,this.getGui(),this.getFocusableElement());const t=e=>{this.createManagedBean(e),this.appendChild(e)};t(new Xs("left")),t(new Xs(null)),t(new Xs("right"))}}og.TEMPLATE='<div class="ag-header" role="presentation"/>',rg([le],og.prototype,"postConstruct",null);var ig=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let ng=class extends at{addResizeBar(e){const t={dragStartPixels:e.dragStartPixels||0,eElement:e.eResizeBar,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this,e),onDragging:this.onDragging.bind(this,e),includeTouch:!0,stopPropagationForTouch:!0};this.dragService.addDragSource(t);return()=>this.dragService.removeDragSource(t)}onDragStart(e,t){this.dragStartX=t.clientX,this.setResizeIcons();const a=t instanceof MouseEvent&&!0===t.shiftKey;e.onResizeStart(a)}setResizeIcons(){const e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!0),e.disableUserSelect(!0)}onDragStop(e,t){e.onResizeEnd(this.resizeAmount),this.resetIcons()}resetIcons(){const e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!1),e.disableUserSelect(!1)}onDragging(e,t){this.resizeAmount=t.clientX-this.dragStartX,e.onResizing(this.resizeAmount)}};ig([de("dragService")],ng.prototype,"dragService",void 0),ig([de("ctrlsService")],ng.prototype,"ctrlsService",void 0),ng=ig([ge("horizontalResizeService")],ng);var lg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let sg=class extends at{hideActiveMenu(){this.hidePopup&&this.hidePopup()}showMenuAfterMouseEvent(e,t,a){this.showPopup(e,r=>{this.popupService.positionPopupUnderMouseEvent({column:e,type:a,mouseEvent:t,ePopup:r})},a,t.target,this.menuService.isLegacyMenuEnabled())}showMenuAfterButtonClick(e,t,a){let r=-1,o="left";const i=this.menuService.isLegacyMenuEnabled();!i&&this.gridOptionsService.get("enableRtl")&&(r=1,o="right");let n=i?void 0:4*r,l=i?void 0:4;this.showPopup(e,r=>{this.popupService.positionPopupByComponent({type:a,eventSource:t,ePopup:r,nudgeX:n,nudgeY:l,alignSide:o,keepWithinBounds:!0,position:"under",column:e})},a,t,i)}showPopup(e,t,a,r,o){const i=e?this.filterManager.getOrCreateFilterWrapper(e,"COLUMN_MENU"):void 0;if(!i||!e)throw new Error("AG Grid - unable to show popup filter, filter instantiation failed");const n=document.createElement("div");let l;Jt(n,"presentation"),n.classList.add("ag-menu"),o||n.classList.add("ag-filter-menu"),this.tabListener=this.addManagedListener(n,"keydown",e=>this.trapFocusWithin(e,n)),i.guiPromise.then(e=>n.appendChild(e));const s=this.menuService.isColumnMenuAnchoringEnabled()?null!=r?r:this.ctrlsService.getGridBodyCtrl().getGui():void 0,g=this.localeService.getLocaleTextFunc(),d=o&&"columnFilter"!==a?g("ariaLabelColumnMenu","Column Menu"):g("ariaLabelColumnFilter","Column Filter"),c=this.popupService.addPopup({modal:!0,eChild:n,closeOnEsc:!0,closedCallback:t=>{e.setMenuVisible(!1,"contextMenu");const o=t instanceof KeyboardEvent;if(this.tabListener&&(this.tabListener=this.tabListener()),o&&r&&br(r)){const e=this.focusService.findTabbableParent(r);e&&e.focus()}var n;null===(n=i.filterPromise)||void 0===n||n.then(e=>{var t;return null===(t=null==e?void 0:e.afterGuiDetached)||void 0===t?void 0:t.call(e)}),this.dispatchVisibleChangedEvent(!1,a,e)},positionCallback:()=>t(n),anchorToElement:s,ariaLabel:d});c&&(this.hidePopup=l=c.hideFunc),i.filterPromise.then(e=>{t(n),e.afterGuiAttached&&e.afterGuiAttached({container:a,hidePopup:l})}),e.setMenuVisible(!0,"contextMenu"),this.dispatchVisibleChangedEvent(!0,a,e)}trapFocusWithin(e,t){e.key!==Wr.TAB||e.defaultPrevented||this.focusService.findNextFocusableElement(t,!1,e.shiftKey)||(e.preventDefault(),this.focusService.focusInto(t,e.shiftKey))}dispatchVisibleChangedEvent(e,t,a){const r={type:st.EVENT_COLUMN_MENU_VISIBLE_CHANGED,visible:e,switchingTab:!1,key:t,column:null!=a?a:null};this.eventService.dispatchEvent(r)}isMenuEnabled(e){var t;return e.isFilterAllowed()&&(null!==(t=e.getColDef().menuTabs)&&void 0!==t?t:["filterMenuTab"]).includes("filterMenuTab")}showMenuAfterContextMenuEvent(){}};lg([de("filterManager")],sg.prototype,"filterManager",void 0),lg([de("popupService")],sg.prototype,"popupService",void 0),lg([de("focusService")],sg.prototype,"focusService",void 0),lg([de("ctrlsService")],sg.prototype,"ctrlsService",void 0),lg([de("menuService")],sg.prototype,"menuService",void 0),sg=lg([ge("filterMenuFactory")],sg);var gg,dg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e.TAB_GUARD="ag-tab-guard",e.TAB_GUARD_TOP="ag-tab-guard-top",e.TAB_GUARD_BOTTOM="ag-tab-guard-bottom"}(gg||(gg={}));class cg extends at{constructor(e){super(),this.skipTabGuardFocus=!1,this.forcingFocusOut=!1;const{comp:t,eTopGuard:a,eBottomGuard:r,focusTrapActive:o,forceFocusOutWhenTabGuardsAreEmpty:i,focusInnerElement:n,onFocusIn:l,onFocusOut:s,shouldStopEventPropagation:g,onTabKeyDown:d,handleKeyDown:c,eFocusableElement:u}=e;this.comp=t,this.eTopGuard=a,this.eBottomGuard=r,this.providedFocusInnerElement=n,this.eFocusableElement=u,this.focusTrapActive=!!o,this.forceFocusOutWhenTabGuardsAreEmpty=!!i,this.providedFocusIn=l,this.providedFocusOut=s,this.providedShouldStopEventPropagation=g,this.providedOnTabKeyDown=d,this.providedHandleKeyDown=c}postConstruct(){this.createManagedBean(new So(this.eFocusableElement,{shouldStopEventPropagation:()=>this.shouldStopEventPropagation(),onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e),onFocusIn:e=>this.onFocusIn(e),onFocusOut:e=>this.onFocusOut(e)})),this.activateTabGuards(),[this.eTopGuard,this.eBottomGuard].forEach(e=>this.addManagedListener(e,"focus",this.onFocus.bind(this)))}handleKeyDown(e){this.providedHandleKeyDown&&this.providedHandleKeyDown(e)}tabGuardsAreActive(){return!!this.eTopGuard&&this.eTopGuard.hasAttribute("tabIndex")}shouldStopEventPropagation(){return!!this.providedShouldStopEventPropagation&&this.providedShouldStopEventPropagation()}activateTabGuards(){if(this.forcingFocusOut)return;const e=this.gridOptionsService.get("tabIndex");this.comp.setTabIndex(e.toString())}deactivateTabGuards(){this.comp.setTabIndex()}onFocus(e){if(this.skipTabGuardFocus)return void(this.skipTabGuardFocus=!1);if(this.forceFocusOutWhenTabGuardsAreEmpty){if(0===this.focusService.findFocusableElements(this.eFocusableElement,".ag-tab-guard").length)return void this.findNextElementOutsideAndFocus(e.target===this.eBottomGuard)}const t=e.target===this.eBottomGuard;this.providedFocusInnerElement?this.providedFocusInnerElement(t):this.focusInnerElement(t)}findNextElementOutsideAndFocus(e){const t=this.gridOptionsService.getDocument(),a=this.focusService.findFocusableElements(t.body,null,!0),r=a.indexOf(e?this.eTopGuard:this.eBottomGuard);if(-1===r)return;let o,i;e?(o=0,i=r):(o=r+1,i=a.length);const n=a.slice(o,i),l=this.gridOptionsService.get("tabIndex");n.sort((e,t)=>{const a=parseInt(e.getAttribute("tabindex")||"0"),r=parseInt(t.getAttribute("tabindex")||"0");return r===l?1:a===l?-1:0===a?1:0===r?-1:a-r}),n[e?n.length-1:0].focus()}onFocusIn(e){this.focusTrapActive||(this.providedFocusIn&&this.providedFocusIn(e),this.deactivateTabGuards())}onFocusOut(e){this.focusTrapActive||(this.providedFocusOut&&this.providedFocusOut(e),this.eFocusableElement.contains(e.relatedTarget)||this.activateTabGuards())}onTabKeyDown(e){if(this.providedOnTabKeyDown)return void this.providedOnTabKeyDown(e);if(this.focusTrapActive)return;if(e.defaultPrevented)return;const t=this.tabGuardsAreActive();t&&this.deactivateTabGuards();const a=this.getNextFocusableElement(e.shiftKey);t&&setTimeout(()=>this.activateTabGuards(),0),a&&(a.focus(),e.preventDefault())}focusInnerElement(e=!1){const t=this.focusService.findFocusableElements(this.eFocusableElement);this.tabGuardsAreActive()&&(t.splice(0,1),t.splice(t.length-1,1)),t.length&&t[e?t.length-1:0].focus({preventScroll:!0})}getNextFocusableElement(e){return this.focusService.findNextFocusableElement(this.eFocusableElement,!1,e)}forceFocusOutOfContainer(e=!1){if(this.forcingFocusOut)return;const t=e?this.eTopGuard:this.eBottomGuard;this.activateTabGuards(),this.skipTabGuardFocus=!0,this.forcingFocusOut=!0,t.focus(),window.setTimeout(()=>{this.forcingFocusOut=!1,this.activateTabGuards()})}isTabGuard(e){return e===this.eTopGuard||e===this.eBottomGuard}}dg([de("focusService")],cg.prototype,"focusService",void 0),dg([le],cg.prototype,"postConstruct",null);class ug extends uo{initialiseTabGuard(e){this.eTopGuard=this.createTabGuard("top"),this.eBottomGuard=this.createTabGuard("bottom"),this.eFocusableElement=this.getFocusableElement();const t=[this.eTopGuard,this.eBottomGuard],a={setTabIndex:e=>{t.forEach(t=>null!=e?t.setAttribute("tabindex",e):t.removeAttribute("tabindex"))}};this.addTabGuards(this.eTopGuard,this.eBottomGuard),this.tabGuardCtrl=this.createManagedBean(new cg({comp:a,focusTrapActive:!!e.focusTrapActive,eTopGuard:this.eTopGuard,eBottomGuard:this.eBottomGuard,eFocusableElement:this.eFocusableElement,onFocusIn:e.onFocusIn,onFocusOut:e.onFocusOut,focusInnerElement:e.focusInnerElement,handleKeyDown:e.handleKeyDown,onTabKeyDown:e.onTabKeyDown,shouldStopEventPropagation:e.shouldStopEventPropagation,forceFocusOutWhenTabGuardsAreEmpty:e.forceFocusOutWhenTabGuardsAreEmpty}))}createTabGuard(e){const t=document.createElement("div"),a="top"===e?gg.TAB_GUARD_TOP:gg.TAB_GUARD_BOTTOM;return t.classList.add(gg.TAB_GUARD,a),Jt(t,"presentation"),t}addTabGuards(e,t){this.eFocusableElement.insertAdjacentElement("afterbegin",e),this.eFocusableElement.insertAdjacentElement("beforeend",t)}removeAllChildrenExceptTabGuards(){const e=[this.eTopGuard,this.eBottomGuard];vr(this.getFocusableElement()),this.addTabGuards(...e)}forceFocusOutOfContainer(e=!1){this.tabGuardCtrl.forceFocusOutOfContainer(e)}appendChild(e,t){Mr(e)||(e=e.getGui());const{eBottomGuard:a}=this;a?a.insertAdjacentElement("beforebegin",e):super.appendChild(e,t)}}var pg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class hg extends ug{constructor(e){super(hg.getTemplate(e.cssClass)),this.items=[],this.tabbedItemScrollMap=new Map,this.params=e,e.items&&e.items.forEach(e=>this.addItem(e))}postConstruct(){this.initialiseTabGuard({onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),focusInnerElement:this.focusInnerElement.bind(this),focusTrapActive:!0}),this.addDestroyFunc(()=>{var e,t,a;return null===(a=null===(t=null===(e=this.activeItem)||void 0===e?void 0:e.tabbedItem)||void 0===t?void 0:t.afterDetachedCallback)||void 0===a?void 0:a.call(t)})}static getTemplate(e){return`<div class="ag-tabs ${e}">\n <div ref="eHeader" role="tablist" class="ag-tabs-header ${e?e+"-header":""}"></div>\n <div ref="eBody" role="presentation" class="ag-tabs-body ${e?e+"-body":""}"></div>\n </div>`}handleKeyDown(e){const t=this.gridOptionsService.getDocument();switch(e.key){case Wr.RIGHT:case Wr.LEFT:if(!this.eHeader.contains(t.activeElement))return;const a=e.key===Wr.RIGHT,r=this.gridOptionsService.get("enableRtl"),o=this.items.indexOf(this.activeItem),i=a!==r?Math.min(o+1,this.items.length-1):Math.max(o-1,0);if(o===i)return;e.preventDefault();const n=this.items[i];this.showItemWrapper(n),n.eHeaderButton.focus();break;case Wr.UP:case Wr.DOWN:e.stopPropagation()}}onTabKeyDown(e){if(e.defaultPrevented)return;const{focusService:t,eHeader:a,eBody:r,activeItem:o}=this,i=this.gridOptionsService.getDocument().activeElement,n=e.target;if(e.preventDefault(),a.contains(i))return void this.focusBody(e.shiftKey);let l=null;t.isTargetUnderManagedComponent(r,n)&&(e.shiftKey&&(l=this.focusService.findFocusableElementBeforeTabGuard(r,n)),l||(l=o.eHeaderButton)),!l&&r.contains(i)&&(l=t.findNextFocusableElement(r,!1,e.shiftKey),l||this.focusHeader()),l&&l.focus()}focusInnerElement(e){e?this.focusHeader():this.focusBody(!0)}focusHeader(){this.activeItem.eHeaderButton.focus()}focusBody(e){this.focusService.focusInto(this.eBody,e)}setAfterAttachedParams(e){this.afterAttachedParams=e}showFirstItem(){this.items.length>0&&this.showItemWrapper(this.items[0])}addItem(e){const t=document.createElement("span");Jt(t,"tab"),t.setAttribute("tabindex","-1"),t.appendChild(e.title),t.classList.add("ag-tab"),this.eHeader.appendChild(t),ta(t,e.titleLabel);const a={tabbedItem:e,eHeaderButton:t};this.items.push(a),t.addEventListener("click",this.showItemWrapper.bind(this,a))}showItem(e){const t=this.items.find(t=>t.tabbedItem===e);t&&this.showItemWrapper(t)}showItemWrapper(e){var t,a,r,o,i,n;const{tabbedItem:l,eHeaderButton:s}=e;null===(a=(t=this.params).onItemClicked)||void 0===a||a.call(t,{item:l}),this.activeItem!==e?(this.lastScrollListener&&(this.lastScrollListener=this.lastScrollListener()),vr(this.eBody),l.bodyPromise.then(e=>{this.eBody.appendChild(e);const t=!this.focusService.isKeyboardMode();if(this.focusService.focusInto(this.eBody,!1,t),l.afterAttachedCallback&&l.afterAttachedCallback(this.afterAttachedParams),this.params.keepScrollPosition){const t=l.getScrollableContainer&&l.getScrollableContainer()||e;this.lastScrollListener=this.addManagedListener(t,"scroll",()=>{this.tabbedItemScrollMap.set(l.name,t.scrollTop)});const a=this.tabbedItemScrollMap.get(l.name);void 0!==a&&setTimeout(()=>{t.scrollTop=a},0)}}),this.activeItem&&(this.activeItem.eHeaderButton.classList.remove("ag-tab-selected"),null===(n=(i=this.activeItem.tabbedItem).afterDetachedCallback)||void 0===n||n.call(i)),s.classList.add("ag-tab-selected"),this.activeItem=e):null===(o=(r=this.params).onActiveItemClicked)||void 0===o||o.call(r)}}pg([de("focusService")],hg.prototype,"focusService",void 0),pg([ho("eHeader")],hg.prototype,"eHeader",void 0),pg([ho("eBody")],hg.prototype,"eBody",void 0),pg([le],hg.prototype,"postConstruct",null);var mg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let vg=class extends at{constructor(){super(...arguments),this.polyfillFunctions=[]}observeResize(e,t){const a=this.gridOptionsService.getWindow(),r=()=>{var a,r;let o=null!==(a=null==e?void 0:e.clientWidth)&&void 0!==a?a:0,i=null!==(r=null==e?void 0:e.clientHeight)&&void 0!==r?r:0,n=!0;const l=()=>{var a,r;if(n){const n=null!==(a=null==e?void 0:e.clientWidth)&&void 0!==a?a:0,s=null!==(r=null==e?void 0:e.clientHeight)&&void 0!==r?r:0;(n!==o||s!==i)&&(o=n,i=s,t()),this.doNextPolyfillTurn(l)}};return l(),()=>n=!1},o=this.gridOptionsService.get("suppressBrowserResizeObserver");return!!a.ResizeObserver&&!o?(()=>{const r=new a.ResizeObserver(t);return r.observe(e),()=>r.disconnect()})():this.getFrameworkOverrides().wrapIncoming(()=>r(),"resize-observer")}doNextPolyfillTurn(e){this.polyfillFunctions.push(e),this.schedulePolyfill()}schedulePolyfill(){if(this.polyfillScheduled)return;this.polyfillScheduled=!0,window.setTimeout(()=>{const e=this.polyfillFunctions;this.polyfillScheduled=!1,this.polyfillFunctions=[],e.forEach(e=>e())},50)}};vg=mg([ge("resizeObserverService")],vg);var fg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let wg=class extends at{constructor(){super(...arguments),this.createTasksP1={list:[],sorted:!1},this.createTasksP2={list:[],sorted:!1},this.destroyTasks=[],this.ticking=!1,this.scrollGoingDown=!0,this.lastPage=0,this.lastScrollTop=0,this.taskCount=0,this.cancelledTasks=new Set}setScrollTop(e){const t=this.gridOptionsService.get("pagination");if(this.scrollGoingDown=e>=this.lastScrollTop,t&&0===e){const e=this.paginationProxy.getCurrentPage();e!==this.lastPage&&(this.lastPage=e,this.scrollGoingDown=!0)}this.lastScrollTop=e}init(){this.useAnimationFrame=!this.gridOptionsService.get("suppressAnimationFrame")}isOn(){return this.useAnimationFrame}verifyAnimationFrameOn(e){!1===this.useAnimationFrame&&console.warn(`AG Grid: AnimationFrameService.${e} called but animation frames are off`)}createTask(e,t,a){this.verifyAnimationFrameOn(a);const r={task:e,index:t,createOrder:++this.taskCount};this.addTaskToList(this[a],r),this.schedule()}cancelTask(e){this.cancelledTasks.add(e)}addTaskToList(e,t){e.list.push(t),e.sorted=!1}sortTaskList(e){if(e.sorted)return;const t=this.scrollGoingDown?1:-1;e.list.sort((e,a)=>e.index!==a.index?t*(a.index-e.index):a.createOrder-e.createOrder),e.sorted=!0}addDestroyTask(e){this.verifyAnimationFrameOn("createTasksP3"),this.destroyTasks.push(e),this.schedule()}executeFrame(e){this.verifyAnimationFrameOn("executeFrame");const t=this.createTasksP1,a=t.list,r=this.createTasksP2,o=r.list,i=this.destroyTasks,n=(new Date).getTime();let l=(new Date).getTime()-n;const s=e<=0,g=this.ctrlsService.getGridBodyCtrl();for(;s||l<e;){if(!g.getScrollFeature().scrollGridIfNeeded()){let e;if(a.length)this.sortTaskList(t),e=a.pop().task;else if(o.length)this.sortTaskList(r),e=o.pop().task;else{if(!i.length){this.cancelledTasks.clear();break}e=i.pop()}this.cancelledTasks.has(e)||e()}l=(new Date).getTime()-n}a.length||o.length||i.length?this.requestFrame():this.stopTicking()}stopTicking(){this.ticking=!1}flushAllFrames(){this.useAnimationFrame&&this.executeFrame(-1)}schedule(){this.useAnimationFrame&&(this.ticking||(this.ticking=!0,this.requestFrame()))}requestFrame(){const e=this.executeFrame.bind(this,60);this.requestAnimationFrame(e)}requestAnimationFrame(e){const t=this.gridOptionsService.getWindow();t.requestAnimationFrame?t.requestAnimationFrame(e):t.webkitRequestAnimationFrame?t.webkitRequestAnimationFrame(e):t.setTimeout(e,0)}isQueueEmpty(){return!this.ticking}debounce(e){let t=!1;return()=>{this.isOn()?t||(t=!0,this.addDestroyTask(()=>{t=!1,e()})):window.setTimeout(e,0)}}};var bg;fg([de("ctrlsService")],wg.prototype,"ctrlsService",void 0),fg([de("paginationProxy")],wg.prototype,"paginationProxy",void 0),fg([le],wg.prototype,"init",null),wg=fg([ge("animationFrameService")],wg),function(e){e.EVERYTHING="group",e.FILTER="filter",e.SORT="sort",e.MAP="map",e.AGGREGATE="aggregate",e.FILTER_AGGREGATES="filter_aggregates",e.PIVOT="pivot",e.NOTHING="nothing"}(bg||(bg={}));var Cg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let yg=class extends at{postConstruct(){this.isClientSideRowModel="clientSide"===this.rowModel.getType()}expandRows(e){if(!this.isClientSideRowModel)return;const t=new Set(e);this.rowModel.forEachNode(e=>{e.id&&t.has(e.id)&&(e.expanded=!0)}),this.onGroupExpandedOrCollapsed()}getExpandedRows(){const e=[];return this.rowModel.forEachNode(({expanded:t,id:a})=>{t&&a&&e.push(a)}),e}expandAll(e){this.isClientSideRowModel&&this.rowModel.expandOrCollapseAll(e)}setRowNodeExpanded(e,t,a){e&&(a&&e.parent&&-1!==e.parent.level&&this.setRowNodeExpanded(e.parent,t,a),e.setExpanded(t))}onGroupExpandedOrCollapsed(){this.isClientSideRowModel&&this.rowModel.refreshModel({step:bg.MAP})}};Cg([de("rowModel")],yg.prototype,"rowModel",void 0),Cg([le],yg.prototype,"postConstruct",null),yg=Cg([ge("expansionService")],yg);var Sg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Eg=class extends at{postConstruct(){var e;this.activeMenuFactory=null!==(e=this.enterpriseMenuFactory)&&void 0!==e?e:this.filterMenuFactory}showColumnMenu(e){this.showColumnMenuCommon(this.activeMenuFactory,e,"columnMenu")}showFilterMenu(e){const t=this.enterpriseMenuFactory&&this.isLegacyMenuEnabled()?this.enterpriseMenuFactory:this.filterMenuFactory;this.showColumnMenuCommon(t,e,e.containerType,!0)}showHeaderContextMenu(e,t,a){this.activeMenuFactory.showMenuAfterContextMenuEvent(e,t,a)}showContextMenu(e){var t,a,r;const{column:o,anchorToElement:i,rowNode:n,value:l}=e;null===(t=this.contextMenuFactory)||void 0===t||t.onContextMenu(null!==(a=e.mouseEvent)&&void 0!==a?a:null,null!==(r=e.touchEvent)&&void 0!==r?r:null,null!=n?n:null,null!=o?o:null,l,i)}showColumnChooser(e){var t;null===(t=this.columnChooserFactory)||void 0===t||t.showColumnChooser(e)}hidePopupMenu(){var e;null===(e=this.contextMenuFactory)||void 0===e||e.hideActiveMenu(),this.activeMenuFactory.hideActiveMenu()}hideColumnChooser(){var e;null===(e=this.columnChooserFactory)||void 0===e||e.hideActiveColumnChooser()}isColumnMenuInHeaderEnabled(e){const{suppressMenu:t,suppressHeaderMenuButton:a}=e.getColDef();return!(null!=a?a:t)&&this.activeMenuFactory.isMenuEnabled(e)&&(this.isLegacyMenuEnabled()||!!this.enterpriseMenuFactory)}isFilterMenuInHeaderEnabled(e){return!e.getColDef().suppressHeaderFilterButton&&this.filterManager.isFilterAllowed(e)}isHeaderContextMenuEnabled(e){return!(null==e?void 0:e.getColDef().suppressHeaderContextMenu)&&"new"===this.getColumnMenuType()}isHeaderMenuButtonAlwaysShowEnabled(){return this.isSuppressMenuHide()}isHeaderMenuButtonEnabled(){const e=!this.isSuppressMenuHide();return!(Ma()&&e)}isHeaderFilterButtonEnabled(e){return this.isFilterMenuInHeaderEnabled(e)&&!this.isLegacyMenuEnabled()&&!this.isFloatingFilterButtonDisplayed(e)}isFilterMenuItemEnabled(e){return this.filterManager.isFilterAllowed(e)&&!this.isLegacyMenuEnabled()&&!this.isFilterMenuInHeaderEnabled(e)&&!this.isFloatingFilterButtonDisplayed(e)}isColumnMenuAnchoringEnabled(){return!this.isLegacyMenuEnabled()}areAdditionalColumnMenuItemsEnabled(){return"new"===this.getColumnMenuType()}isLegacyMenuEnabled(){return"legacy"===this.getColumnMenuType()}isFloatingFilterButtonEnabled(e){var t;const a=e.getColDef(),r=null===(t=a.floatingFilterComponentParams)||void 0===t?void 0:t.suppressFilterButton;return null!=r&&q("As of v31.1, 'colDef.floatingFilterComponentParams.suppressFilterButton' is deprecated. Use 'colDef.suppressFloatingFilterButton' instead."),null==a.suppressFloatingFilterButton?!r:!a.suppressFloatingFilterButton}getColumnMenuType(){var e;return null!==(e=this.gridOptionsService.get("columnMenu"))&&void 0!==e?e:"legacy"}isFloatingFilterButtonDisplayed(e){return!!e.getColDef().floatingFilter&&this.isFloatingFilterButtonEnabled(e)}isSuppressMenuHide(){const e=this.gridOptionsService.get("suppressMenuHide");return this.isLegacyMenuEnabled()?e:!this.gridOptionsService.exists("suppressMenuHide")||e}showColumnMenuCommon(e,t,a,r){const{column:o,positionBy:i}=t;if("button"===i){const{buttonElement:i}=t;e.showMenuAfterButtonClick(o,i,a,r)}else if("mouse"===i){const{mouseEvent:i}=t;e.showMenuAfterMouseEvent(o,i,a,r)}else o&&(this.ctrlsService.getGridBodyCtrl().getScrollFeature().ensureColumnVisible(o,"auto"),this.animationFrameService.requestAnimationFrame(()=>{const t=this.ctrlsService.getHeaderRowContainerCtrl(o.getPinned()).getHeaderCtrlForColumn(o);e.showMenuAfterButtonClick(o,t.getAnchorElementForMenu(r),a,!0)}))}};Sg([ce("enterpriseMenuFactory")],Eg.prototype,"enterpriseMenuFactory",void 0),Sg([de("filterMenuFactory")],Eg.prototype,"filterMenuFactory",void 0),Sg([ce("contextMenuFactory")],Eg.prototype,"contextMenuFactory",void 0),Sg([de("ctrlsService")],Eg.prototype,"ctrlsService",void 0),Sg([de("animationFrameService")],Eg.prototype,"animationFrameService",void 0),Sg([ce("columnChooserFactory")],Eg.prototype,"columnChooserFactory",void 0),Sg([de("filterManager")],Eg.prototype,"filterManager",void 0),Sg([le],Eg.prototype,"postConstruct",null),Eg=Sg([ge("menuService")],Eg);var Rg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let xg=class extends at{postConstruct(){this.ctrlsService.whenReady(e=>{this.centerRowContainerCtrl=e.centerRowContainerCtrl})}getPreferredWidthForColumn(e,t){const a=this.getHeaderCellForColumn(e);if(!a)return-1;const r=this.rowRenderer.getAllCellsForColumn(e);return t||r.push(a),this.addElementsToContainerAndGetWidth(r)}getPreferredWidthForColumnGroup(e){const t=this.getHeaderCellForColumn(e);return t?this.addElementsToContainerAndGetWidth([t]):-1}addElementsToContainerAndGetWidth(e){const t=document.createElement("form");t.style.position="fixed";const a=this.centerRowContainerCtrl.getContainerElement();e.forEach(e=>this.cloneItemIntoDummy(e,t)),a.appendChild(t);const r=t.offsetWidth;a.removeChild(t);return r+this.getAutoSizePadding()}getAutoSizePadding(){return this.gridOptionsService.get("autoSizePadding")}getHeaderCellForColumn(e){let t=null;return this.ctrlsService.getHeaderRowContainerCtrls().forEach(a=>{const r=a.getHtmlElementForColumnHeader(e);null!=r&&(t=r)}),t}cloneItemIntoDummy(e,t){const a=e.cloneNode(!0);a.style.width="",a.style.position="static",a.style.left="";const r=document.createElement("div"),o=r.classList;["ag-header-cell","ag-header-group-cell"].some(e=>a.classList.contains(e))?(o.add("ag-header","ag-header-row"),r.style.position="static"):o.add("ag-row");let i=e.parentElement;for(;i;){if(["ag-header-row","ag-row"].some(e=>i.classList.contains(e))){for(let e=0;e<i.classList.length;e++){const t=i.classList[e];"ag-row-position-absolute"!=t&&o.add(t)}break}i=i.parentElement}r.appendChild(a),t.appendChild(r)}};Rg([de("rowRenderer")],xg.prototype,"rowRenderer",void 0),Rg([de("ctrlsService")],xg.prototype,"ctrlsService",void 0),Rg([de("rowCssClassCalculator")],xg.prototype,"rowCssClassCalculator",void 0),Rg([le],xg.prototype,"postConstruct",null),xg=Rg([ge("autoWidthCalculator")],xg);var kg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class zg extends at{constructor(e,t){super(),this.createRowCon=e,this.destroyRowCtrls=t,this.stickyRowCtrls=[],this.containerHeight=0}postConstruct(){this.isClientSide="clientSide"===this.rowModel.getType(),this.ctrlsService.whenReady(e=>{this.gridBodyCtrl=e.gridBodyCtrl})}getStickyRowCtrls(){return this.stickyRowCtrls}checkStickyRows(){let e=0;if(!this.gridOptionsService.isGroupRowsSticky())return this.refreshNodesAndContainerHeight([],e);const t=[],a=this.rowRenderer.getFirstVisibleVerticalPixel(),r=r=>{var o,i,n;let l;if(t.push(r),this.isClientSide){let e=r;for(;e.isExpandable()&&e.expanded;)if(e.master)e=e.detailNode;else if(e.childrenAfterSort){if(0===e.childrenAfterSort.length)break;e=Te(e.childrenAfterSort)}l=e.rowTop+e.rowHeight}else if(r.master)l=r.detailNode.rowTop+r.detailNode.rowHeight;else{const e=null===(o=r.childStore)||void 0===o?void 0:o.getStoreBounds();l=(null!==(i=null==e?void 0:e.heightPx)&&void 0!==i?i:0)+(null!==(n=null==e?void 0:e.topPx)&&void 0!==n?n:0)}const s=a+e+r.rowHeight;r.stickyRowTop=l<s?e+(l-s):e,e=0,t.forEach(t=>{const a=t.stickyRowTop+t.rowHeight;e<a&&(e=a)})};let o=0;for(;;){const i=a+e,n=this.rowModel.getRowIndexAtPixel(i),l=this.rowModel.getRow(n);if(null==l)break;if(l.level<0)break;if(100==o++)break;const s=[];let g=l.parent;for(;g.level>=0;)s.push(g),g=g.parent;const d=s.reverse().find(e=>t.indexOf(e)<0&&e.displayed);if(d)r(d);else{if(!(l.isExpandable()&&l.expanded&&l.rowTop<i))break;r(l)}}return this.refreshNodesAndContainerHeight(t,e)}refreshStickyNode(e){const t=[];for(let a=0;a<this.stickyRowCtrls.length;a++){const r=this.stickyRowCtrls[a].getRowNode();r!==e&&t.push(r)}this.refreshNodesAndContainerHeight(t,this.containerHeight)&&this.checkStickyRows()}refreshNodesAndContainerHeight(e,t){let a=!1;const r=this.stickyRowCtrls.filter(t=>-1===e.indexOf(t.getRowNode())),o=e.filter(e=>-1===this.stickyRowCtrls.findIndex(t=>t.getRowNode()===e));(r.length||o.length)&&(a=!0);const i={};r.forEach(e=>{i[e.getRowNode().id]=e,this.stickyRowCtrls=this.stickyRowCtrls.filter(t=>t!==e)});for(const e of Object.values(i))e.getRowNode().sticky=!1;this.destroyRowCtrls(i,!1);const n=o.map(e=>(e.sticky=!0,this.createRowCon(e,!1,!1)));return this.stickyRowCtrls.push(...n),this.stickyRowCtrls.forEach(e=>e.setRowTop(e.getRowNode().stickyRowTop)),this.stickyRowCtrls.sort((e,t)=>t.getRowNode().rowIndex-e.getRowNode().rowIndex),this.containerHeight!==t&&(this.containerHeight=t,this.gridBodyCtrl.setStickyTopHeight(t),a=!0),a}}kg([de("rowModel")],zg.prototype,"rowModel",void 0),kg([de("rowRenderer")],zg.prototype,"rowRenderer",void 0),kg([de("ctrlsService")],zg.prototype,"ctrlsService",void 0),kg([le],zg.prototype,"postConstruct",null);var Tg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Ag=class extends at{constructor(){super(...arguments),this.destroyFuncsForColumnListeners=[],this.rowCtrlsByRowIndex={},this.zombieRowCtrls={},this.allRowCtrls=[],this.topRowCtrls=[],this.bottomRowCtrls=[],this.refreshInProgress=!1,this.dataFirstRenderedFired=!1,this.setupRangeSelectionListeners=()=>{const e=()=>{this.getAllCellCtrls().forEach(e=>e.onRangeSelectionChanged())},t=()=>{this.getAllCellCtrls().forEach(e=>e.updateRangeBordersIfRangeCount())},a=()=>{this.eventService.addEventListener(st.EVENT_RANGE_SELECTION_CHANGED,e),this.eventService.addEventListener(st.EVENT_COLUMN_MOVED,t),this.eventService.addEventListener(st.EVENT_COLUMN_PINNED,t),this.eventService.addEventListener(st.EVENT_COLUMN_VISIBLE,t)},r=()=>{this.eventService.removeEventListener(st.EVENT_RANGE_SELECTION_CHANGED,e),this.eventService.removeEventListener(st.EVENT_COLUMN_MOVED,t),this.eventService.removeEventListener(st.EVENT_COLUMN_PINNED,t),this.eventService.removeEventListener(st.EVENT_COLUMN_VISIBLE,t)};this.addDestroyFunc(()=>r()),this.addManagedPropertyListener("enableRangeSelection",e=>{e.currentValue?a():r()});this.gridOptionsService.get("enableRangeSelection")&&a()}}postConstruct(){this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl(),this.initialise()})}initialise(){if(this.addManagedListener(this.eventService,st.EVENT_PAGINATION_CHANGED,this.onPageLoaded.bind(this)),this.addManagedListener(this.eventService,st.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_BODY_SCROLL,this.onBodyScroll.bind(this)),this.addManagedListener(this.eventService,st.EVENT_BODY_HEIGHT_CHANGED,this.redraw.bind(this)),this.addManagedPropertyListeners(["domLayout","embedFullWidthRows"],()=>this.onDomLayoutChanged()),this.addManagedPropertyListeners(["suppressMaxRenderedRowRestriction","rowBuffer"],()=>this.redraw()),this.addManagedPropertyListeners(["suppressCellFocus","getBusinessKeyForNode","fullWidthCellRenderer","fullWidthCellRendererParams","rowStyle","getRowStyle","rowClass","getRowClass","rowClassRules","groupRowRenderer","groupRowRendererParams","loadingCellRenderer","loadingCellRendererParams","detailCellRenderer","detailCellRendererParams","enableRangeSelection","enableCellTextSelection"],()=>this.redrawRows()),this.gridOptionsService.isGroupRowsSticky()){const e=this.rowModel.getType();"clientSide"!==e&&"serverSide"!==e||(this.stickyRowFeature=this.createManagedBean(new zg(this.createRowCon.bind(this),this.destroyRowCtrls.bind(this))))}this.registerCellEventListeners(),this.initialiseCache(),this.printLayout=this.gridOptionsService.isDomLayout("print"),this.embedFullWidthRows=this.printLayout||this.gridOptionsService.get("embedFullWidthRows"),this.redrawAfterModelUpdate()}initialiseCache(){if(this.gridOptionsService.get("keepDetailRows")){const e=this.getKeepDetailRowsCount(),t=null!=e?e:3;this.cachedRowCtrls=new Dg(t)}}getKeepDetailRowsCount(){return this.gridOptionsService.get("keepDetailRowsCount")}getStickyTopRowCtrls(){return this.stickyRowFeature?this.stickyRowFeature.getStickyRowCtrls():[]}updateAllRowCtrls(){const e=F(this.rowCtrlsByRowIndex),t=F(this.zombieRowCtrls),a=this.cachedRowCtrls?this.cachedRowCtrls.getEntries():[];t.length>0||a.length>0?this.allRowCtrls=[...e,...t,...a]:this.allRowCtrls=e}onCellFocusChanged(e){this.getAllCellCtrls().forEach(t=>t.onCellFocused(e)),this.getFullWidthRowCtrls().forEach(t=>t.onFullWidthRowFocused(e))}registerCellEventListeners(){this.addManagedListener(this.eventService,st.EVENT_CELL_FOCUSED,e=>{this.onCellFocusChanged(e)}),this.addManagedListener(this.eventService,st.EVENT_CELL_FOCUS_CLEARED,()=>{this.onCellFocusChanged()}),this.addManagedListener(this.eventService,st.EVENT_FLASH_CELLS,e=>{this.getAllCellCtrls().forEach(t=>t.onFlashCells(e))}),this.addManagedListener(this.eventService,st.EVENT_COLUMN_HOVER_CHANGED,()=>{this.getAllCellCtrls().forEach(e=>e.onColumnHover())}),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,()=>{this.getAllCellCtrls().forEach(e=>e.onDisplayedColumnsChanged())}),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,()=>{this.printLayout&&this.getAllCellCtrls().forEach(e=>e.onLeftChanged())}),this.setupRangeSelectionListeners(),this.refreshListenersToColumnsForCellComps(),this.addManagedListener(this.eventService,st.EVENT_GRID_COLUMNS_CHANGED,this.refreshListenersToColumnsForCellComps.bind(this)),this.addDestroyFunc(this.removeGridColumnListeners.bind(this))}removeGridColumnListeners(){this.destroyFuncsForColumnListeners.forEach(e=>e()),this.destroyFuncsForColumnListeners.length=0}refreshListenersToColumnsForCellComps(){this.removeGridColumnListeners();this.columnModel.getAllGridColumns().forEach(e=>{const t=t=>{this.getAllCellCtrls().forEach(a=>{a.getColumn()===e&&t(a)})},a=()=>{t(e=>e.onLeftChanged())},r=()=>{t(e=>e.onWidthChanged())},o=()=>{t(e=>e.onFirstRightPinnedChanged())},i=()=>{t(e=>e.onLastLeftPinnedChanged())},n=()=>{t(e=>e.onColDefChanged())};e.addEventListener("leftChanged",a),e.addEventListener("widthChanged",r),e.addEventListener("firstRightPinnedChanged",o),e.addEventListener("lastLeftPinnedChanged",i),e.addEventListener("colDefChanged",n),this.destroyFuncsForColumnListeners.push(()=>{e.removeEventListener("leftChanged",a),e.removeEventListener("widthChanged",r),e.removeEventListener("firstRightPinnedChanged",o),e.removeEventListener("lastLeftPinnedChanged",i),e.removeEventListener("colDefChanged",n)})})}onDomLayoutChanged(){const e=this.gridOptionsService.isDomLayout("print"),t=e||this.gridOptionsService.get("embedFullWidthRows"),a=t!==this.embedFullWidthRows||this.printLayout!==e;this.printLayout=e,this.embedFullWidthRows=t,a&&this.redrawAfterModelUpdate({domLayoutChanged:!0})}datasourceChanged(){this.firstRenderedRow=0,this.lastRenderedRow=-1;const e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)}onPageLoaded(e){const t={recycleRows:e.keepRenderedRows,animate:e.animate,newData:e.newData,newPage:e.newPage,onlyBody:!0};this.redrawAfterModelUpdate(t)}getAllCellsForColumn(e){const t=[];return this.getAllRowCtrls().forEach(a=>{const r=a.getCellElement(e);r&&t.push(r)}),t}refreshFloatingRowComps(){this.refreshFloatingRows(this.topRowCtrls,this.pinnedRowModel.getPinnedTopRowData()),this.refreshFloatingRows(this.bottomRowCtrls,this.pinnedRowModel.getPinnedBottomRowData())}getTopRowCtrls(){return this.topRowCtrls}getCentreRowCtrls(){return this.allRowCtrls}getBottomRowCtrls(){return this.bottomRowCtrls}refreshFloatingRows(e,t){e.forEach(e=>{e.destroyFirstPass(),e.destroySecondPass()}),e.length=0,t&&t.forEach(t=>{const a=new Al(t,this.beans,!1,!1,this.printLayout);e.push(a)})}onPinnedRowDataChanged(){this.redrawAfterModelUpdate({recycleRows:!0})}redrawRow(e,t=!1){var a;if(e.sticky)this.stickyRowFeature.refreshStickyNode(e);else{if(null===(a=this.cachedRowCtrls)||void 0===a?void 0:a.has(e))return void this.cachedRowCtrls.removeRow(e);{const t=t=>{const a=t[e.rowIndex];a&&a.getRowNode()===e&&(a.destroyFirstPass(),a.destroySecondPass(),t[e.rowIndex]=this.createRowCon(e,!1,!1))};switch(e.rowPinned){case"top":t(this.topRowCtrls);break;case"bottom":t(this.bottomRowCtrls);break;default:t(this.rowCtrlsByRowIndex),this.updateAllRowCtrls()}}}t||this.dispatchDisplayedRowsChanged(!1)}redrawRows(e){if(null!=e)return null==e||e.forEach(e=>this.redrawRow(e,!0)),void this.dispatchDisplayedRowsChanged(!1);this.redrawAfterModelUpdate()}getCellToRestoreFocusToAfterRefresh(e){const t=(null==e?void 0:e.suppressKeepFocus)?null:this.focusService.getFocusCellToUseAfterRefresh();if(null==t)return null;const a=this.gridOptionsService.getDocument().activeElement,r=this.gridOptionsService.getDomData(a,kl.DOM_DATA_KEY_CELL_CTRL),o=this.gridOptionsService.getDomData(a,Al.DOM_DATA_KEY_ROW_CTRL);return r||o?t:null}redrawAfterModelUpdate(e={}){this.getLockOnRefresh();const t=this.getCellToRestoreFocusToAfterRefresh(e);this.updateContainerHeights(),this.scrollToTopIfNewData(e);const a=!e.domLayoutChanged&&!!e.recycleRows,r=e.animate&&this.gridOptionsService.isAnimateRows(),o=a?this.getRowsToRecycle():null;a||this.removeAllRowComps(),this.workOutFirstAndLastRowsToRender(),this.stickyRowFeature&&this.stickyRowFeature.checkStickyRows(),this.recycleRows(o,r),this.gridBodyCtrl.updateRowCount(),e.onlyBody||this.refreshFloatingRowComps(),this.dispatchDisplayedRowsChanged(),null!=t&&this.restoreFocusedCell(t),this.releaseLockOnRefresh()}scrollToTopIfNewData(e){const t=e.newData||e.newPage,a=this.gridOptionsService.get("suppressScrollOnNewData");t&&!a&&this.gridBodyCtrl.getScrollFeature().scrollToTop()}updateContainerHeights(){if(this.printLayout)return void this.rowContainerHeightService.setModelHeight(null);let e=this.paginationProxy.getCurrentPageHeight();0===e&&(e=1),this.rowContainerHeightService.setModelHeight(e)}getLockOnRefresh(){if(this.refreshInProgress)throw new Error("AG Grid: cannot get grid to draw rows when it is in the middle of drawing rows. Your code probably called a grid API method while the grid was in the render stage. To overcome this, put the API call into a timeout, e.g. instead of api.redrawRows(), call setTimeout(function() { api.redrawRows(); }, 0). To see what part of your code that caused the refresh check this stacktrace.");this.refreshInProgress=!0}releaseLockOnRefresh(){this.refreshInProgress=!1}isRefreshInProgress(){return this.refreshInProgress}restoreFocusedCell(e){e&&(this.focusService.setRestoreFocusedCell(e),this.onCellFocusChanged(this.beans.gridOptionsService.addGridCommonParams({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0,type:"mock"})))}stopEditing(e=!1){this.getAllRowCtrls().forEach(t=>{t.stopEditing(e)})}getAllCellCtrls(){const e=[],t=this.getAllRowCtrls(),a=t.length;for(let r=0;r<a;r++){const a=t[r].getAllCellCtrls(),o=a.length;for(let t=0;t<o;t++)e.push(a[t])}return e}getAllRowCtrls(){const e=this.stickyRowFeature&&this.stickyRowFeature.getStickyRowCtrls()||[],t=[...this.topRowCtrls,...this.bottomRowCtrls,...e];for(const e of Object.keys(this.rowCtrlsByRowIndex))t.push(this.rowCtrlsByRowIndex[e]);return t}addRenderedRowListener(e,t,a){const r=this.rowCtrlsByRowIndex[t];r&&r.addEventListener(e,a)}flashCells(e={}){this.getCellCtrls(e.rowNodes,e.columns).forEach(t=>t.flashCell(e))}refreshCells(e={}){const t={forceRefresh:e.force,newData:!1,suppressFlash:e.suppressFlash};this.getCellCtrls(e.rowNodes,e.columns).forEach(e=>e.refreshOrDestroyCell(t)),e.rowNodes&&(this.getRowCtrls(e.rowNodes).forEach(e=>{if(!e.isFullWidth())return;e.refreshFullWidth()||this.redrawRow(e.getRowNode(),!0)}),this.dispatchDisplayedRowsChanged(!1))}getCellRendererInstances(e){var t;const a=this.getCellCtrls(e.rowNodes,e.columns).map(e=>e.getCellRenderer()).filter(e=>null!=e);if(null===(t=e.columns)||void 0===t?void 0:t.length)return a;const r=[],o=this.mapRowNodes(e.rowNodes);return this.getAllRowCtrls().forEach(e=>{if(o&&!this.isRowInMap(e.getRowNode(),o))return;if(!e.isFullWidth())return;const t=e.getFullWidthCellRenderers();for(let e=0;e<t.length;e++){const a=t[e];null!=a&&r.push(a)}}),[...r,...a]}getCellEditorInstances(e){const t=[];return this.getCellCtrls(e.rowNodes,e.columns).forEach(e=>{const a=e.getCellEditor();a&&t.push(a)}),t}getEditingCells(){const e=[];return this.getAllCellCtrls().forEach(t=>{if(t.isEditing()){const a=t.getCellPosition();e.push(a)}}),e}mapRowNodes(e){if(!e)return;const t={top:{},bottom:{},normal:{}};return e.forEach(e=>{const a=e.id;"top"===e.rowPinned?t.top[a]=e:"bottom"===e.rowPinned?t.bottom[a]=e:t.normal[a]=e}),t}isRowInMap(e,t){const a=e.id,r=e.rowPinned;return"bottom"===r?null!=t.bottom[a]:"top"===r?null!=t.top[a]:null!=t.normal[a]}getRowCtrls(e){const t=this.mapRowNodes(e),a=this.getAllRowCtrls();return e&&t?a.filter(e=>{const a=e.getRowNode();return this.isRowInMap(a,t)}):a}getCellCtrls(e,t){let a;S(t)&&(a={},t.forEach(e=>{const t=this.columnModel.getGridColumn(e);S(t)&&(a[t.getId()]=!0)}));const r=[];return this.getRowCtrls(e).forEach(e=>{e.getAllCellCtrls().forEach(e=>{const t=e.getColumn().getId();a&&!a[t]||r.push(e)})}),r}destroy(){this.removeAllRowComps(),super.destroy()}removeAllRowComps(){const e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)}getRowsToRecycle(){const e=[];P(this.rowCtrlsByRowIndex,(t,a)=>{null==a.getRowNode().id&&e.push(t)}),this.removeRowCtrls(e);const t={};return P(this.rowCtrlsByRowIndex,(e,a)=>{const r=a.getRowNode();t[r.id]=a}),this.rowCtrlsByRowIndex={},t}removeRowCtrls(e,t=!1){e.forEach(e=>{const a=this.rowCtrlsByRowIndex[e];a&&(a.destroyFirstPass(t),a.destroySecondPass()),delete this.rowCtrlsByRowIndex[e]})}onBodyScroll(e){"vertical"===e.direction&&this.redraw({afterScroll:!0})}redraw(e={}){const{afterScroll:t}=e;let a;this.stickyRowFeature&&Pa()&&(a=this.getCellToRestoreFocusToAfterRefresh()||void 0);const r=this.firstRenderedRow,o=this.lastRenderedRow;this.workOutFirstAndLastRowsToRender();let i=!1;this.stickyRowFeature&&(i=this.stickyRowFeature.checkStickyRows());const n=this.firstRenderedRow!==r||this.lastRenderedRow!==o;if((!t||i||n)&&(this.getLockOnRefresh(),this.recycleRows(null,!1,t),this.releaseLockOnRefresh(),this.dispatchDisplayedRowsChanged(t&&!i),null!=a)){const e=this.getCellToRestoreFocusToAfterRefresh();null!=a&&null==e&&(this.animationFrameService.flushAllFrames(),this.restoreFocusedCell(a))}}removeRowCompsNotToDraw(e,t){const a={};e.forEach(e=>a[e]=!0);const r=Object.keys(this.rowCtrlsByRowIndex).filter(e=>!a[e]);this.removeRowCtrls(r,t)}calculateIndexesToDraw(e){let t=Ba(this.firstRenderedRow,this.lastRenderedRow);const a=(e,a)=>{const r=a.getRowNode().rowIndex;null!=r&&(r<this.firstRenderedRow||r>this.lastRenderedRow)&&this.doNotUnVirtualiseRow(a)&&t.push(r)};P(this.rowCtrlsByRowIndex,a),P(e,a),t.sort((e,t)=>e-t);const r=[];for(let e=0;e<t.length;e++){const a=t[e],o=this.paginationProxy.getRow(a);o&&!o.sticky&&r.push(a)}return r}recycleRows(e,t=!1,a=!1){const r=this.calculateIndexesToDraw(e);(this.printLayout||a)&&(t=!1),this.removeRowCompsNotToDraw(r,!t);const o=[];if(r.forEach(r=>{const i=this.createOrUpdateRowCtrl(r,e,t,a);S(i)&&o.push(i)}),e){a&&!this.gridOptionsService.get("suppressAnimationFrame")&&!this.printLayout?this.beans.animationFrameService.addDestroyTask(()=>{this.destroyRowCtrls(e,t),this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged()}):this.destroyRowCtrls(e,t)}this.updateAllRowCtrls()}dispatchDisplayedRowsChanged(e=!1){const t={type:st.EVENT_DISPLAYED_ROWS_CHANGED,afterScroll:e};this.eventService.dispatchEvent(t)}onDisplayedColumnsChanged(){const e=this.columnModel.isPinningLeft(),t=this.columnModel.isPinningRight();(this.pinningLeft!==e||t!==this.pinningRight)&&(this.pinningLeft=e,this.pinningRight=t,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())}redrawFullWidthEmbeddedRows(){const e=[];this.getFullWidthRowCtrls().forEach(t=>{const a=t.getRowNode().rowIndex;e.push(a.toString())}),this.refreshFloatingRowComps(),this.removeRowCtrls(e),this.redraw({afterScroll:!0})}getFullWidthRowCtrls(e){const t=this.mapRowNodes(e);return this.getAllRowCtrls().filter(e=>{if(!e.isFullWidth())return!1;const a=e.getRowNode();return!(null!=t&&!this.isRowInMap(a,t))})}createOrUpdateRowCtrl(e,t,a,r){let o,i=this.rowCtrlsByRowIndex[e];i||(o=this.paginationProxy.getRow(e),S(o)&&S(t)&&t[o.id]&&o.alreadyRendered&&(i=t[o.id],t[o.id]=null));if(!i){if(o||(o=this.paginationProxy.getRow(e)),!S(o))return;i=this.createRowCon(o,a,r)}return o&&(o.alreadyRendered=!0),this.rowCtrlsByRowIndex[e]=i,i}destroyRowCtrls(e,t){const a=[];P(e,(e,r)=>{r&&(this.cachedRowCtrls&&r.isCacheable()?this.cachedRowCtrls.addRow(r):(r.destroyFirstPass(!t),t?(this.zombieRowCtrls[r.getInstanceId()]=r,a.push(()=>{r.destroySecondPass(),delete this.zombieRowCtrls[r.getInstanceId()]})):r.destroySecondPass()))}),t&&(a.push(()=>{this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged()}),K(a))}getRowBuffer(){return this.gridOptionsService.get("rowBuffer")}getRowBufferInPixels(){return this.getRowBuffer()*this.gridOptionsService.getRowHeightAsNumber()}workOutFirstAndLastRowsToRender(){let e,t;if(this.rowContainerHeightService.updateOffset(),this.paginationProxy.isRowsToRender())if(this.printLayout)this.environment.refreshRowHeightVariable(),e=this.paginationProxy.getPageFirstRow(),t=this.paginationProxy.getPageLastRow();else{const a=this.getRowBufferInPixels(),r=this.ctrlsService.getGridBodyCtrl(),o=this.gridOptionsService.get("suppressRowVirtualisation");let i,n,l=!1;do{const e=this.paginationProxy.getPixelOffset(),{pageFirstPixel:t,pageLastPixel:s}=this.paginationProxy.getCurrentPagePixelRange(),g=this.rowContainerHeightService.getDivStretchOffset(),d=r.getScrollFeature().getVScrollPosition(),c=d.top,u=d.bottom;o?(i=t+g,n=s+g):(i=Math.max(c+e-a,t)+g,n=Math.min(u+e+a,s)+g),this.firstVisibleVPixel=Math.max(c+e,t)+g,l=this.ensureAllRowsInRangeHaveHeightsCalculated(i,n)}while(l);let s=this.paginationProxy.getRowIndexAtPixel(i),g=this.paginationProxy.getRowIndexAtPixel(n);const d=this.paginationProxy.getPageFirstRow(),c=this.paginationProxy.getPageLastRow();s<d&&(s=d),g>c&&(g=c),e=s,t=g}else e=0,t=-1;const a=this.gridOptionsService.isDomLayout("normal"),r=this.gridOptionsService.get("suppressMaxRenderedRowRestriction"),o=Math.max(this.getRowBuffer(),500);a&&!r&&t-e>o&&(t=e+o);const i=e!==this.firstRenderedRow,n=t!==this.lastRenderedRow;if(i||n){this.firstRenderedRow=e,this.lastRenderedRow=t;const a={type:st.EVENT_VIEWPORT_CHANGED,firstRow:e,lastRow:t};this.eventService.dispatchEvent(a)}}dispatchFirstDataRenderedEvent(){if(this.dataFirstRenderedFired)return;this.dataFirstRenderedFired=!0;const e={type:st.EVENT_FIRST_DATA_RENDERED,firstRow:this.firstRenderedRow,lastRow:this.lastRenderedRow};window.requestAnimationFrame(()=>{this.beans.eventService.dispatchEvent(e)})}ensureAllRowsInRangeHaveHeightsCalculated(e,t){const a=this.paginationProxy.ensureRowHeightsValid(e,t,-1,-1);return a&&this.updateContainerHeights(),a}getFirstVisibleVerticalPixel(){return this.firstVisibleVPixel}getFirstVirtualRenderedRow(){return this.firstRenderedRow}getLastVirtualRenderedRow(){return this.lastRenderedRow}doNotUnVirtualiseRow(e){const t=e.getRowNode(),a=this.focusService.isRowNodeFocused(t),r=e.isEditing(),o=t.detail;if(!(a||r||o))return!1;return!!this.paginationProxy.isRowPresent(t)}createRowCon(e,t,a){const r=this.cachedRowCtrls?this.cachedRowCtrls.getRow(e):null;if(r)return r;const o=this.gridOptionsService.get("suppressAnimationFrame"),i=a&&!o&&!this.printLayout;return new Al(e,this.beans,t,i,this.printLayout)}getRenderedNodes(){const e=this.rowCtrlsByRowIndex;return Object.keys(e).map(t=>e[t].getRowNode())}getRowByPosition(e){let t;const{rowIndex:a}=e;switch(e.rowPinned){case"top":t=this.topRowCtrls[a];break;case"bottom":t=this.bottomRowCtrls[a];break;default:t=this.rowCtrlsByRowIndex[a],t||(t=this.getStickyTopRowCtrls().find(e=>e.getRowNode().rowIndex===a)||null)}return t}getRowNode(e){switch(e.rowPinned){case"top":return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case"bottom":return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}}isRangeInRenderedViewport(e,t){if(null==e||null==t)return!1;const a=e>this.lastRenderedRow;return!(t<this.firstRenderedRow)&&!a}};Tg([de("animationFrameService")],Ag.prototype,"animationFrameService",void 0),Tg([de("paginationProxy")],Ag.prototype,"paginationProxy",void 0),Tg([de("columnModel")],Ag.prototype,"columnModel",void 0),Tg([de("pinnedRowModel")],Ag.prototype,"pinnedRowModel",void 0),Tg([de("rowModel")],Ag.prototype,"rowModel",void 0),Tg([de("focusService")],Ag.prototype,"focusService",void 0),Tg([de("beans")],Ag.prototype,"beans",void 0),Tg([de("rowContainerHeightService")],Ag.prototype,"rowContainerHeightService",void 0),Tg([de("ctrlsService")],Ag.prototype,"ctrlsService",void 0),Tg([le],Ag.prototype,"postConstruct",null),Ag=Tg([ge("rowRenderer")],Ag);class Dg{constructor(e){this.entriesMap={},this.entriesList=[],this.maxCount=e}addRow(e){if(this.entriesMap[e.getRowNode().id]=e,this.entriesList.push(e),e.setCached(!0),this.entriesList.length>this.maxCount){const e=this.entriesList[0];e.destroyFirstPass(),e.destroySecondPass(),this.removeFromCache(e)}}getRow(e){if(null==e||null==e.id)return null;const t=this.entriesMap[e.id];if(!t)return null;this.removeFromCache(t),t.setCached(!1);return t.getRowNode()!=e?null:t}has(e){return null!=this.entriesMap[e.id]}removeRow(e){const t=e.id,a=this.entriesMap[t];delete this.entriesMap[t],Le(this.entriesList,a)}removeFromCache(e){const t=e.getRowNode().id;delete this.entriesMap[t],Le(this.entriesList,e)}getEntries(){return this.entriesList}}var Og=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Mg=class extends at{formatValue(e,t,a,r,o=!0){let i,n=null;const l=e.getColDef();if(r?i=r:o&&(i=l.valueFormatter),i){const r=this.gridOptionsService.addGridCommonParams({value:a,node:t,data:t?t.data:null,colDef:l,column:e});n="function"==typeof i?i(r):this.expressionService.evaluate(i,r)}else if(l.refData)return l.refData[a]||"";return null==n&&Array.isArray(a)&&(n=a.join(", ")),n}};Og([de("expressionService")],Mg.prototype,"expressionService",void 0),Mg=Og([ge("valueFormatterService")],Mg);var Pg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Lg=class extends at{init(){this.setPinnedTopRowData(),this.setPinnedBottomRowData(),this.addManagedPropertyListener("pinnedTopRowData",()=>this.setPinnedTopRowData()),this.addManagedPropertyListener("pinnedBottomRowData",()=>this.setPinnedBottomRowData())}isEmpty(e){return R("top"===e?this.pinnedTopRows:this.pinnedBottomRows)}isRowsToRender(e){return!this.isEmpty(e)}getRowAtPixel(e,t){const a="top"===t?this.pinnedTopRows:this.pinnedBottomRows;if(R(a))return 0;for(let t=0;t<a.length;t++){const r=a[t];if(r.rowTop+r.rowHeight-1>=e)return t}return a.length-1}setPinnedTopRowData(){const e=this.gridOptionsService.get("pinnedTopRowData");this.pinnedTopRows=this.createNodesFromData(e,!0);const t={type:st.EVENT_PINNED_ROW_DATA_CHANGED};this.eventService.dispatchEvent(t)}setPinnedBottomRowData(){const e=this.gridOptionsService.get("pinnedBottomRowData");this.pinnedBottomRows=this.createNodesFromData(e,!1);const t={type:st.EVENT_PINNED_ROW_DATA_CHANGED};this.eventService.dispatchEvent(t)}createNodesFromData(e,t){const a=[];if(e){let r=0;e.forEach((e,o)=>{const i=new Ai(this.beans);i.data=e;const n=t?Ai.ID_PREFIX_TOP_PINNED:Ai.ID_PREFIX_BOTTOM_PINNED;i.id=n+o,i.rowPinned=t?"top":"bottom",i.setRowTop(r),i.setRowHeight(this.gridOptionsService.getRowHeightForNode(i).height),i.setRowIndex(o),r+=i.rowHeight,a.push(i)})}return a}getPinnedTopRowData(){return this.pinnedTopRows}getPinnedBottomRowData(){return this.pinnedBottomRows}getPinnedTopTotalHeight(){return this.getTotalHeight(this.pinnedTopRows)}getPinnedTopRowCount(){return this.pinnedTopRows?this.pinnedTopRows.length:0}getPinnedBottomRowCount(){return this.pinnedBottomRows?this.pinnedBottomRows.length:0}getPinnedTopRow(e){return this.pinnedTopRows[e]}getPinnedBottomRow(e){return this.pinnedBottomRows[e]}forEachPinnedTopRow(e){R(this.pinnedTopRows)||this.pinnedTopRows.forEach(e)}forEachPinnedBottomRow(e){R(this.pinnedBottomRows)||this.pinnedBottomRows.forEach(e)}getPinnedBottomTotalHeight(){return this.getTotalHeight(this.pinnedBottomRows)}getTotalHeight(e){if(!e||0===e.length)return 0;const t=Te(e);return t.rowTop+t.rowHeight}};var Ng;Pg([de("beans")],Lg.prototype,"beans",void 0),Pg([le],Lg.prototype,"init",null),Lg=Pg([ge("pinnedRowModel")],Lg),function(e){e.Applied="Applied",e.StoreNotFound="StoreNotFound",e.StoreLoading="StoreLoading",e.StoreWaitingToLoad="StoreWaitingToLoad",e.StoreLoadingFailed="StoreLoadingFailed",e.StoreWrongType="StoreWrongType",e.Cancelled="Cancelled",e.StoreNotStarted="StoreNotStarted"}(Ng||(Ng={}));class Fg{constructor(e,t){this.active=!0,this.nodeIdsToColumns={},this.mapToItems={},this.keepingColumns=e,this.pathRoot={rowNode:t,children:null},this.mapToItems[t.id]=this.pathRoot}setInactive(){this.active=!1}isActive(){return this.active}depthFirstSearchChangedPath(e,t){if(e.children)for(let a=0;a<e.children.length;a++)this.depthFirstSearchChangedPath(e.children[a],t);t(e.rowNode)}depthFirstSearchEverything(e,t,a){if(e.childrenAfterGroup)for(let r=0;r<e.childrenAfterGroup.length;r++){const o=e.childrenAfterGroup[r];o.childrenAfterGroup?this.depthFirstSearchEverything(e.childrenAfterGroup[r],t,a):a&&t(o)}t(e)}forEachChangedNodeDepthFirst(e,t=!1,a=!1){this.active&&!a?this.depthFirstSearchChangedPath(this.pathRoot,e):this.depthFirstSearchEverything(this.pathRoot.rowNode,e,t)}executeFromRootNode(e){e(this.pathRoot.rowNode)}createPathItems(e){let t=e,a=0;for(;!this.mapToItems[t.id];){const e={rowNode:t,children:null};this.mapToItems[t.id]=e,a++,t=t.parent}return a}populateColumnsMap(e,t){if(!this.keepingColumns||!t)return;let a=e;for(;a;)this.nodeIdsToColumns[a.id]||(this.nodeIdsToColumns[a.id]={}),t.forEach(e=>this.nodeIdsToColumns[a.id][e.getId()]=!0),a=a.parent}linkPathItems(e,t){let a=e;for(let e=0;e<t;e++){const e=this.mapToItems[a.id],t=this.mapToItems[a.parent.id];t.children||(t.children=[]),t.children.push(e),a=a.parent}}addParentNode(e,t){if(!e||e.isRowPinned())return;const a=this.createPathItems(e);this.linkPathItems(e,a),this.populateColumnsMap(e,t)}canSkip(e){return this.active&&!this.mapToItems[e.id]}getValueColumnsForNode(e,t){if(!this.keepingColumns)return t;const a=this.nodeIdsToColumns[e.id];return t.filter(e=>a[e.getId()])}getNotValueColumnsForNode(e,t){if(!this.keepingColumns)return null;const a=this.nodeIdsToColumns[e.id];return t.filter(e=>!a[e.getId()])}}class Ig extends at{constructor(e){super(),this.state=Ig.STATE_WAITING_TO_LOAD,this.version=0,this.id=e}getId(){return this.id}load(){this.state=Ig.STATE_LOADING,this.loadFromDatasource()}getVersion(){return this.version}setStateWaitingToLoad(){this.version++,this.state=Ig.STATE_WAITING_TO_LOAD}getState(){return this.state}pageLoadFailed(e){this.isRequestMostRecentAndLive(e)&&(this.state=Ig.STATE_FAILED,this.processServerFail()),this.dispatchLoadCompleted(!1)}success(e,t){this.successCommon(e,t)}pageLoaded(e,t,a){this.successCommon(e,{rowData:t,rowCount:a})}isRequestMostRecentAndLive(e){const t=e===this.version,a=this.isAlive();return t&&a}successCommon(e,t){this.dispatchLoadCompleted();this.isRequestMostRecentAndLive(e)&&(this.state=Ig.STATE_LOADED,this.processServerResult(t))}dispatchLoadCompleted(e=!0){const t={type:Ig.EVENT_LOAD_COMPLETE,success:e,block:this};this.dispatchEvent(t)}}Ig.EVENT_LOAD_COMPLETE="loadComplete",Ig.STATE_WAITING_TO_LOAD="needsLoading",Ig.STATE_LOADING="loading",Ig.STATE_LOADED="loaded",Ig.STATE_FAILED="failed";var Gg,Vg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},Hg=function(e,t){return function(a,r){t(a,r,e)}};let _g=Gg=class extends at{constructor(){super(...arguments),this.activeBlockLoadsCount=0,this.blocks=[],this.active=!0}postConstruct(){this.maxConcurrentRequests=this.getMaxConcurrentDatasourceRequests();const e=this.gridOptionsService.get("blockLoadDebounceMillis");e&&e>0&&(this.checkBlockToLoadDebounce=$r.debounce(this.performCheckBlocksToLoad.bind(this),e))}setBeans(e){this.logger=e.create("RowNodeBlockLoader")}getMaxConcurrentDatasourceRequests(){const e=this.gridOptionsService.get("maxConcurrentDatasourceRequests");return null==e?2:e<=0?void 0:e}addBlock(e){this.blocks.push(e),e.addEventListener(Ig.EVENT_LOAD_COMPLETE,this.loadComplete.bind(this)),this.checkBlockToLoad()}removeBlock(e){$r.removeFromArray(this.blocks,e)}destroy(){super.destroy(),this.active=!1}loadComplete(){this.activeBlockLoadsCount--,this.checkBlockToLoad(),this.dispatchEvent({type:Gg.BLOCK_LOADED_EVENT}),0==this.activeBlockLoadsCount&&this.dispatchEvent({type:Gg.BLOCK_LOADER_FINISHED_EVENT})}checkBlockToLoad(){this.checkBlockToLoadDebounce?this.checkBlockToLoadDebounce():this.performCheckBlocksToLoad()}performCheckBlocksToLoad(){if(!this.active)return;if(this.printCacheStatus(),null!=this.maxConcurrentRequests&&this.activeBlockLoadsCount>=this.maxConcurrentRequests)return void this.logger.log("checkBlockToLoad: max loads exceeded");const e=this.getAvailableLoadingCount(),t=this.blocks.filter(e=>e.getState()===Ig.STATE_WAITING_TO_LOAD).slice(0,e);this.registerLoads(t.length),t.forEach(e=>e.load()),this.printCacheStatus()}getBlockState(){if(this.gridOptionsService.isRowModelType("serverSide")){return this.rowModel.getBlockStates()}const e={};return this.blocks.forEach(t=>{const{id:a,state:r}=t.getBlockStateJson();e[a]=r}),e}printCacheStatus(){this.logger.isLogging()&&this.logger.log(`printCacheStatus: activePageLoadsCount = ${this.activeBlockLoadsCount}, blocks = `+JSON.stringify(this.getBlockState()))}isLoading(){return this.activeBlockLoadsCount>0}registerLoads(e){this.activeBlockLoadsCount+=e}getAvailableLoadingCount(){return void 0!==this.maxConcurrentRequests?this.maxConcurrentRequests-this.activeBlockLoadsCount:void 0}};_g.BLOCK_LOADED_EVENT="blockLoaded",_g.BLOCK_LOADER_FINISHED_EVENT="blockLoaderFinished",Vg([de("rowModel")],_g.prototype,"rowModel",void 0),Vg([le],_g.prototype,"postConstruct",null),Vg([Hg(0,pe("loggerFactory"))],_g.prototype,"setBeans",null),_g=Gg=Vg([ge("rowNodeBlockLoader")],_g);var Bg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let qg=class extends at{constructor(){super(...arguments),this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=0,this.pixelOffset=0,this.masterRowCount=0}postConstruct(){this.active=this.gridOptionsService.get("pagination"),this.pageSizeFromGridOptions=this.gridOptionsService.get("paginationPageSize"),this.paginateChildRows=this.isPaginateChildRows(),this.addManagedListener(this.eventService,st.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addManagedPropertyListener("pagination",this.onPaginationGridOptionChanged.bind(this)),this.addManagedPropertyListener("paginationPageSize",this.onPageSizeGridOptionChanged.bind(this)),this.onModelUpdated()}ensureRowHeightsValid(e,t,a,r){const o=this.rowModel.ensureRowHeightsValid(e,t,this.getPageFirstRow(),this.getPageLastRow());return o&&this.calculatePages(),o}isPaginateChildRows(){return!(!this.gridOptionsService.get("groupRemoveSingleChildren")&&!this.gridOptionsService.get("groupRemoveLowestSingleChildren"))||this.gridOptionsService.get("paginateChildRows")}onModelUpdated(e){this.calculatePages();const t={type:st.EVENT_PAGINATION_CHANGED,animate:!!e&&e.animate,newData:!!e&&e.newData,newPage:!!e&&e.newPage,newPageSize:!!e&&e.newPageSize,keepRenderedRows:!!e&&e.keepRenderedRows};this.eventService.dispatchEvent(t)}onPaginationGridOptionChanged(){this.active=this.gridOptionsService.get("pagination"),this.calculatePages();const e={type:st.EVENT_PAGINATION_CHANGED,animate:!1,newData:!1,newPage:!1,newPageSize:!1,keepRenderedRows:!0};this.eventService.dispatchEvent(e)}onPageSizeGridOptionChanged(){this.setPageSize(this.gridOptionsService.get("paginationPageSize"),"gridOptions")}goToPage(e){if(!this.active||this.currentPage===e||"number"!=typeof this.currentPage)return;this.currentPage=e;const t={type:st.EVENT_MODEL_UPDATED,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!0,newPageSize:!1};this.onModelUpdated(t)}getPixelOffset(){return this.pixelOffset}getRow(e){return this.rowModel.getRow(e)}getRowNode(e){return this.rowModel.getRowNode(e)}getRowIndexAtPixel(e){return this.rowModel.getRowIndexAtPixel(e)}getCurrentPageHeight(){return E(this.topRowBounds)||E(this.bottomRowBounds)?0:Math.max(this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight-this.topRowBounds.rowTop,0)}getCurrentPagePixelRange(){return{pageFirstPixel:this.topRowBounds?this.topRowBounds.rowTop:0,pageLastPixel:this.bottomRowBounds?this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight:0}}isRowPresent(e){if(!this.rowModel.isRowPresent(e))return!1;return e.rowIndex>=this.topDisplayedRowIndex&&e.rowIndex<=this.bottomDisplayedRowIndex}isEmpty(){return this.rowModel.isEmpty()}isRowsToRender(){return this.rowModel.isRowsToRender()}forEachNode(e){return this.rowModel.forEachNode(e)}forEachNodeOnPage(e){const t=this.getPageFirstRow(),a=this.getPageLastRow();for(let r=t;r<=a;r++){const t=this.getRow(r);t&&e(t)}}getType(){return this.rowModel.getType()}getRowBounds(e){const t=this.rowModel.getRowBounds(e);return t.rowIndex=e,t}getPageFirstRow(){return this.topRowBounds?this.topRowBounds.rowIndex:-1}getPageLastRow(){return this.bottomRowBounds?this.bottomRowBounds.rowIndex:-1}getRowCount(){return this.rowModel.getRowCount()}getPageForIndex(e){return Math.floor(e/this.pageSize)}goToPageWithIndex(e){if(!this.active)return;const t=this.getPageForIndex(e);this.goToPage(t)}isRowInPage(e){if(!this.active)return!0;return this.getPageForIndex(e.rowIndex)===this.currentPage}isLastPageFound(){return this.rowModel.isLastRowIndexKnown()}getCurrentPage(){return this.currentPage}goToNextPage(){this.goToPage(this.currentPage+1)}goToPreviousPage(){this.goToPage(this.currentPage-1)}goToFirstPage(){this.goToPage(0)}goToLastPage(){const e=this.rowModel.getRowCount(),t=Math.floor(e/this.pageSize);this.goToPage(t)}getPageSize(){return this.pageSize}getTotalPages(){return this.totalPages}setPage(e){this.currentPage=e}get pageSize(){return S(this.pageSizeAutoCalculated)?this.pageSizeAutoCalculated:S(this.pageSizeFromPageSizeSelector)?this.pageSizeFromPageSizeSelector:S(this.pageSizeFromInitialState)?this.pageSizeFromInitialState:S(this.pageSizeFromGridOptions)?this.pageSizeFromGridOptions:this.defaultPageSize}unsetAutoCalculatedPageSize(){if(void 0===this.pageSizeAutoCalculated)return;const e=this.pageSizeAutoCalculated;this.pageSizeAutoCalculated=void 0,this.pageSize!==e&&this.onModelUpdated({type:st.EVENT_MODEL_UPDATED,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!1,newPageSize:!0})}setPageSize(e,t){const a=this.pageSize;switch(t){case"autoCalculated":this.pageSizeAutoCalculated=e;break;case"pageSizeSelector":this.pageSizeFromPageSizeSelector=e,0!==this.currentPage&&this.goToFirstPage();break;case"initialState":this.pageSizeFromInitialState=e;break;case"gridOptions":this.pageSizeFromGridOptions=e,this.pageSizeFromInitialState=void 0,this.pageSizeFromPageSizeSelector=void 0,0!==this.currentPage&&this.goToFirstPage()}if(a!==this.pageSize){const e={type:st.EVENT_MODEL_UPDATED,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!1,newPageSize:!0};this.onModelUpdated(e)}}calculatePages(){this.active?this.paginateChildRows?this.calculatePagesAllRows():this.calculatePagesMasterRowsOnly():this.calculatedPagesNotActive(),this.topRowBounds=this.rowModel.getRowBounds(this.topDisplayedRowIndex),this.topRowBounds&&(this.topRowBounds.rowIndex=this.topDisplayedRowIndex),this.bottomRowBounds=this.rowModel.getRowBounds(this.bottomDisplayedRowIndex),this.bottomRowBounds&&(this.bottomRowBounds.rowIndex=this.bottomDisplayedRowIndex),this.setPixelOffset(S(this.topRowBounds)?this.topRowBounds.rowTop:0)}setPixelOffset(e){this.pixelOffset!==e&&(this.pixelOffset=e,this.eventService.dispatchEvent({type:st.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED}))}setZeroRows(){this.masterRowCount=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=-1,this.currentPage=0,this.totalPages=0}adjustCurrentPageIfInvalid(){this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1),(!isFinite(this.currentPage)||isNaN(this.currentPage)||this.currentPage<0)&&(this.currentPage=0)}calculatePagesMasterRowsOnly(){if(this.masterRowCount=this.rowModel.getTopLevelRowCount(),this.masterRowCount<=0)return void this.setZeroRows();const e=this.masterRowCount-1;this.totalPages=Math.floor(e/this.pageSize)+1,this.adjustCurrentPageIfInvalid();const t=this.pageSize*this.currentPage;let a=this.pageSize*(this.currentPage+1)-1;if(a>e&&(a=e),this.topDisplayedRowIndex=this.rowModel.getTopLevelRowDisplayedIndex(t),a===e)this.bottomDisplayedRowIndex=this.rowModel.getRowCount()-1;else{const e=this.rowModel.getTopLevelRowDisplayedIndex(a+1);this.bottomDisplayedRowIndex=e-1}}getMasterRowCount(){return this.masterRowCount}calculatePagesAllRows(){if(this.masterRowCount=this.rowModel.getRowCount(),0===this.masterRowCount)return void this.setZeroRows();const e=this.masterRowCount-1;this.totalPages=Math.floor(e/this.pageSize)+1,this.adjustCurrentPageIfInvalid(),this.topDisplayedRowIndex=this.pageSize*this.currentPage,this.bottomDisplayedRowIndex=this.pageSize*(this.currentPage+1)-1,this.bottomDisplayedRowIndex>e&&(this.bottomDisplayedRowIndex=e)}calculatedPagesNotActive(){this.setPageSize(this.masterRowCount,"autoCalculated"),this.totalPages=1,this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=this.rowModel.getRowCount()-1}};Bg([de("rowModel")],qg.prototype,"rowModel",void 0),Bg([le],qg.prototype,"postConstruct",null),qg=Bg([ge("paginationProxy")],qg);var Wg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Ug=class extends at{processAllCellClasses(e,t,a,r){this.processClassRules(void 0,e.cellClassRules,t,a,r),this.processStaticCellClasses(e,t,a)}processClassRules(e,t,a,r,o){if(null==t&&null==e)return;const i={},n={},l=(e,t)=>{e.split(" ").forEach(e=>{""!=e.trim()&&t(e)})};if(t){const e=Object.keys(t);for(let r=0;r<e.length;r++){const o=e[r],s=t[o];let g;"string"==typeof s?g=this.expressionService.evaluate(s,a):"function"==typeof s&&(g=s(a)),l(o,e=>{g?i[e]=!0:n[e]=!0})}}e&&o&&Object.keys(e).forEach(e=>l(e,e=>{i[e]||(n[e]=!0)})),o&&Object.keys(n).forEach(o),Object.keys(i).forEach(r)}getStaticCellClasses(e,t){const{cellClass:a}=e;if(!a)return[];let r;if("function"==typeof a){r=a(t)}else r=a;return"string"==typeof r&&(r=[r]),r||[]}processStaticCellClasses(e,t,a){this.getStaticCellClasses(e,t).forEach(e=>{a(e)})}};Wg([de("expressionService")],Ug.prototype,"expressionService",void 0),Ug=Wg([ge("stylingService")],Ug);class jg extends Io{constructor(e){super(e,"ag-toggle-button")}setValue(e,t){return super.setValue(e,t),this.addOrRemoveCssClass("ag-selected",this.getValue()),this}}class Kg extends Fo{constructor(e){super(e,"ag-text-area",null,"textarea")}setValue(e,t){const a=super.setValue(e,t);return this.eInput.value=e,a}setCols(e){return this.eInput.cols=e,this}setRows(e){return this.eInput.rows=e,this}}class Yg extends Jo{constructor(e){super(e,"ag-date-field","date")}postConstruct(){super.postConstruct(),this.addManagedListener(this.eInput,"wheel",this.onWheel.bind(this));const e=za();this.addManagedListener(this.eInput,"mousedown",()=>{this.isDisabled()||e||this.eInput.focus()}),this.eInput.step="any"}onWheel(e){document.activeElement===this.eInput&&e.preventDefault()}setMin(e){var t;const a=e instanceof Date?null!==(t=Ya(null!=e?e:null,!1))&&void 0!==t?t:void 0:e;return this.min===a||(this.min=a,Nr(this.eInput,"min",a)),this}setMax(e){var t;const a=e instanceof Date?null!==(t=Ya(null!=e?e:null,!1))&&void 0!==t?t:void 0:e;return this.max===a||(this.max=a,Nr(this.eInput,"max",a)),this}setStep(e){return this.step===e||(this.step=e,Nr(this.eInput,"step",e)),this}getDate(){var e;if(this.eInput.validity.valid)return null!==(e=Xa(this.getValue()))&&void 0!==e?e:void 0}setDate(e,t){this.setValue(Ya(null!=e?e:null,!1),t)}}class Qg extends Fo{constructor(e){super(e,"ag-range-field","range")}postConstruct(){super.postConstruct();const{min:e,max:t,step:a}=this.config;null!=e&&this.setMinValue(e),null!=t&&this.setMaxValue(t),this.setStep(a||1)}addInputListeners(){this.addManagedListener(this.eInput,"input",e=>{const t=e.target.value;this.setValue(t)})}setMinValue(e){return this.min=e,this.eInput.setAttribute("min",e.toString()),this}setMaxValue(e){return this.max=e,this.eInput.setAttribute("max",e.toString()),this}setStep(e){return this.eInput.setAttribute("step",e.toString()),this}setValue(e,t){null!=this.min&&(e=Math.max(parseFloat(e),this.min).toString()),null!=this.max&&(e=Math.min(parseFloat(e),this.max).toString());const a=super.setValue(e,t);return this.eInput.value=e,a}}var Jg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Xg extends uo{constructor(e,t){super('<div class="ag-rich-select-row" role="presentation"></div>'),this.params=e,this.wrapperEl=t}postConstruct(){this.addManagedListener(this.getGui(),"click",this.onClick.bind(this))}setState(e){let t="";this.params.valueFormatter&&(t=this.params.valueFormatter(e));this.populateWithRenderer(e,t)||this.populateWithoutRenderer(e,t),this.value=e}highlightString(e){const{parsedValue:t}=this;if(this.params.cellRenderer||!S(t))return;let a=S(e);if(a){const r=null==t?void 0:t.toLocaleLowerCase().indexOf(e.toLocaleLowerCase());if(r>=0){const a=r+e.length,o=ft(t.slice(0,r),!0),i=ft(t.slice(r,a),!0),n=ft(t.slice(a));this.renderValueWithoutRenderer(`${o}<span class="ag-rich-select-row-text-highlight">${i}</span>${n}`)}else a=!1}a||this.renderValueWithoutRenderer(t)}updateHighlighted(e){var t;const a=this.getGui(),r="ag-rich-select-row-"+this.getCompId();if(null===(t=a.parentElement)||void 0===t||t.setAttribute("id",r),e){da(this.getParentComponent().getAriaElement(),r),this.wrapperEl.setAttribute("data-active-option",r)}Ea(a.parentElement,e),this.addOrRemoveCssClass("ag-rich-select-row-selected",e)}populateWithoutRenderer(e,t){const a=this.gridOptionsService.getDocument(),r=this.getGui(),o=a.createElement("span");o.style.overflow="hidden",o.style.textOverflow="ellipsis";const i=ft(S(t)?t:e,!0);this.parsedValue=S(i)?i:null,r.appendChild(o),this.renderValueWithoutRenderer(i)}renderValueWithoutRenderer(e){const t=this.getGui().querySelector("span");t&&(t.innerHTML=S(e)?e:" ")}populateWithRenderer(e,t){let a,r;return this.params.cellRenderer&&(r=this.userComponentFactory.getCellRendererDetails(this.params,{value:e,valueFormatted:t})),r&&(a=r.newAgStackInstance()),a&&Ir(a,this.getGui()),!!a&&(a.then(e=>{this.addDestroyFunc(()=>{this.getContext().destroyBean(e)})}),!0)}onClick(){const e=this.getParentComponent(),t={type:st.EVENT_FIELD_PICKER_VALUE_SELECTED,fromEnterKey:!1,value:this.value};null==e||e.dispatchEvent(t)}}Jg([de("userComponentFactory")],Xg.prototype,"userComponentFactory",void 0),Jg([le],Xg.prototype,"postConstruct",null);var Zg=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class $g extends ug{constructor(e){super($g.getTemplate((null==e?void 0:e.cssIdentifier)||"default")),this.renderedRows=new Map,this.rowHeight=20;const{cssIdentifier:t="default",ariaRole:a="listbox",listName:r}=e||{};this.cssIdentifier=t,this.ariaRole=a,this.listName=r}postConstruct(){this.addScrollListener(),this.rowHeight=this.getItemHeight(),this.addResizeObserver(),this.initialiseTabGuard({onFocusIn:e=>this.onFocusIn(e),onFocusOut:e=>this.onFocusOut(e),focusInnerElement:e=>this.focusInnerElement(e),onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e)}),this.setAriaProperties(),this.addManagedListener(this.eventService,st.EVENT_GRID_STYLES_CHANGED,this.onGridStylesChanged.bind(this))}onGridStylesChanged(){this.rowHeight=this.getItemHeight(),this.refresh()}setAriaProperties(){const e=this.localeService.getLocaleTextFunc()("ariaDefaultListName",this.listName||"List"),t=this.eContainer;Jt(t,this.ariaRole),ta(t,e)}addResizeObserver(){const e=this.resizeObserverService.observeResize(this.getGui(),()=>this.animationFrameService.requestAnimationFrame(()=>this.drawVirtualRows()));this.addDestroyFunc(e)}focusInnerElement(e){this.focusRow(e?this.model.getRowCount()-1:0)}onFocusIn(e){const t=e.target;t.classList.contains("ag-virtual-list-item")&&(this.lastFocusedRowIndex=$t(t)-1)}onFocusOut(e){this.getFocusableElement().contains(e.relatedTarget)||(this.lastFocusedRowIndex=null)}handleKeyDown(e){switch(e.key){case Wr.UP:case Wr.DOWN:this.navigate(e.key===Wr.UP)&&e.preventDefault()}}onTabKeyDown(e){this.navigate(e.shiftKey)?e.preventDefault():(Ke(e),this.forceFocusOutOfContainer(e.shiftKey))}navigate(e){if(null==this.lastFocusedRowIndex)return!1;const t=this.lastFocusedRowIndex+(e?-1:1);return!(t<0||t>=this.model.getRowCount())&&(this.focusRow(t),!0)}getLastFocusedRow(){return this.lastFocusedRowIndex}focusRow(e){this.ensureIndexVisible(e),window.setTimeout(()=>{if(!this.isAlive())return;const t=this.renderedRows.get(e);t&&t.eDiv.focus()},10)}getComponentAt(e){const t=this.renderedRows.get(e);return t&&t.rowComponent}forEachRenderedRow(e){this.renderedRows.forEach((t,a)=>e(t.rowComponent,a))}static getTemplate(e){return`<div class="ag-virtual-list-viewport ag-${e}-virtual-list-viewport" role="presentation">\n <div class="ag-virtual-list-container ag-${e}-virtual-list-container" ref="eContainer"></div>\n </div>`}getItemHeight(){return this.environment.getListItemHeight()}ensureIndexVisible(e,t=!0){const a=this.model.getRowCount();if("number"!=typeof e||e<0||e>=a)return console.warn("AG Grid: invalid row index for ensureIndexVisible: "+e),!1;const r=e*this.rowHeight,o=r+this.rowHeight,i=this.getGui(),n=i.scrollTop,l=i.offsetHeight,s=n+l,g=t?0:this.rowHeight,d=s<o-g;if(n>r+g)return i.scrollTop=r,!0;if(d){const e=o-l;return i.scrollTop=e,!0}return!1}setComponentCreator(e){this.componentCreator=e}setComponentUpdater(e){this.componentUpdater=e}getRowHeight(){return this.rowHeight}getScrollTop(){return this.getGui().scrollTop}setRowHeight(e){this.rowHeight=e,this.refresh()}refresh(e){if(null==this.model||!this.isAlive())return;const t=this.model.getRowCount();this.eContainer.style.height=t*this.rowHeight+"px",ee(()=>this.eContainer.clientHeight>=t*this.rowHeight,()=>{this.isAlive()&&(this.canSoftRefresh(e)?this.drawVirtualRows(!0):(this.clearVirtualRows(),this.drawVirtualRows()))})}canSoftRefresh(e){return!!(e&&this.renderedRows.size&&"function"==typeof this.model.areRowsEqual&&this.componentUpdater)}clearVirtualRows(){this.renderedRows.forEach((e,t)=>this.removeRow(t))}drawVirtualRows(e){if(!this.isAlive()||!this.model)return;const t=this.getGui(),a=t.scrollTop,r=a+t.offsetHeight,o=Math.floor(a/this.rowHeight),i=Math.floor(r/this.rowHeight);this.ensureRowsRendered(o,i,e)}ensureRowsRendered(e,t,a){this.renderedRows.forEach((a,r)=>{(r<e||r>t)&&r!==this.lastFocusedRowIndex&&this.removeRow(r)}),a&&this.refreshRows();for(let a=e;a<=t;a++)this.renderedRows.has(a)||a<this.model.getRowCount()&&this.insertRow(a)}insertRow(e){const t=this.model.getRow(e),a=document.createElement("div");a.classList.add("ag-virtual-list-item",`ag-${this.cssIdentifier}-virtual-list-item`),Jt(a,"tree"===this.ariaRole?"treeitem":"option"),pa(a,this.model.getRowCount()),ha(a,e+1),a.setAttribute("tabindex","-1"),a.style.height=this.rowHeight+"px",a.style.top=this.rowHeight*e+"px";const r=this.componentCreator(t,a);r.addGuiEventListener("focusin",()=>this.lastFocusedRowIndex=e),a.appendChild(r.getGui()),this.renderedRows.has(e-1)?this.renderedRows.get(e-1).eDiv.insertAdjacentElement("afterend",a):this.renderedRows.has(e+1)?this.renderedRows.get(e+1).eDiv.insertAdjacentElement("beforebegin",a):this.eContainer.appendChild(a),this.renderedRows.set(e,{rowComponent:r,eDiv:a,value:t})}removeRow(e){const t=this.renderedRows.get(e);this.eContainer.removeChild(t.eDiv),this.destroyBean(t.rowComponent),this.renderedRows.delete(e)}refreshRows(){const e=this.model.getRowCount();this.renderedRows.forEach((t,a)=>{var r,o;if(a>=e)this.removeRow(a);else{const e=this.model.getRow(a);(null===(o=(r=this.model).areRowsEqual)||void 0===o?void 0:o.call(r,t.value,e))?this.componentUpdater(e,t.rowComponent):this.removeRow(a)}})}addScrollListener(){this.addGuiEventListener("scroll",()=>this.drawVirtualRows(),{passive:!0})}setModel(e){this.model=e}getAriaElement(){return this.eContainer}destroy(){this.isAlive()&&(this.clearVirtualRows(),super.destroy())}}Zg([de("resizeObserverService")],$g.prototype,"resizeObserverService",void 0),Zg([de("animationFrameService")],$g.prototype,"animationFrameService",void 0),Zg([ho("eContainer")],$g.prototype,"eContainer",void 0),Zg([le],$g.prototype,"postConstruct",null);var ed=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class td extends Oo{constructor(e){var t,a;super(Object.assign(Object.assign({pickerAriaLabelKey:"ariaLabelRichSelectField",pickerAriaLabelValue:"Rich Select Field",pickerType:"ag-list",className:"ag-rich-select",pickerIcon:"smallDown",ariaRole:"combobox",template:null!==(t=null==e?void 0:e.template)&&void 0!==t?t:'\n <div class="ag-picker-field" role="presentation">\n <div ref="eLabel"></div>\n <div ref="eWrapper" class="ag-wrapper ag-picker-field-wrapper ag-rich-select-value ag-picker-collapsed">\n <div ref="eDisplayField" class="ag-picker-field-display"></div>\n <ag-input-text-field ref="eInput" class="ag-rich-select-field-input"></ag-input-text-field>\n <div ref="eIcon" class="ag-picker-field-icon" aria-hidden="true"></div>\n </div>\n </div>',modalPicker:!1},e),{maxPickerHeight:null!==(a=null==e?void 0:e.maxPickerHeight)&&void 0!==a?a:"calc(var(--ag-row-height) * 6.5)"})),this.searchString="",this.highlightedItem=-1,this.lastRowHovered=-1,this.searchStringCreator=null;const{cellRowHeight:r,value:o,valueList:i,searchStringCreator:n}=e||{};null!=r&&(this.cellRowHeight=r),void 0!==o&&(this.value=o),null!=i&&(this.values=i),n&&(this.searchStringCreator=n)}postConstruct(){super.postConstruct(),this.createLoadingElement(),this.createListComponent();const{allowTyping:e,placeholder:t}=this.config;e?(this.eInput.setAutoComplete(!1).setInputPlaceholder(t),this.eDisplayField.classList.add("ag-hidden")):this.eInput.setDisplayed(!1),this.eWrapper.tabIndex=this.gridOptionsService.get("tabIndex");const{searchDebounceDelay:a=300}=this.config;this.clearSearchString=Z(this.clearSearchString,a),this.renderSelectedValue(),e&&(this.eInput.onValueChange(e=>this.searchTextFromString(e)),this.addManagedListener(this.eWrapper,"focus",this.onWrapperFocus.bind(this))),this.addManagedListener(this.eWrapper,"focusout",this.onWrapperFocusOut.bind(this))}createLoadingElement(){const e=this.gridOptionsService.getDocument(),t=this.localeService.getLocaleTextFunc(),a=e.createElement("div");a.classList.add("ag-loading-text"),a.innerText=t("loadingOoo","Loading..."),this.eLoading=a}createListComponent(){this.listComponent=this.createBean(new $g({cssIdentifier:"rich-select"})),this.listComponent.setComponentCreator(this.createRowComponent.bind(this));this.listComponent.setComponentUpdater((e,t)=>{}),this.listComponent.setParentComponent(this),this.addManagedListener(this.listComponent,st.EVENT_FIELD_PICKER_VALUE_SELECTED,e=>{this.onListValueSelected(e.value,e.fromEnterKey)});const{cellRowHeight:e}=this;e&&this.listComponent.setRowHeight(e);const t=this.listComponent.getGui(),a=this.listComponent.getAriaElement();this.addManagedListener(t,"mousemove",this.onPickerMouseMove.bind(this)),this.addManagedListener(t,"mousedown",e=>e.preventDefault()),t.classList.add("ag-rich-select-list");const r="ag-rich-select-list-"+this.listComponent.getCompId();a.setAttribute("id",r);ta(a,this.localeService.getLocaleTextFunc()(this.config.pickerAriaLabelKey,this.config.pickerAriaLabelValue)),xa(this.eWrapper,a)}renderSelectedValue(){const{value:e,eDisplayField:t,config:a}=this,{allowTyping:r,initialInputValue:o}=this.config,i=this.config.valueFormatter?this.config.valueFormatter(e):e;if(r)return void this.eInput.setValue(null!=o?o:i);let n,l;if(a.cellRenderer&&(n=this.userComponentFactory.getCellRendererDetails(this.config,{value:e,valueFormatted:i})),n&&(l=n.newAgStackInstance()),l)vr(t),Ir(l,t),l.then(e=>{this.addDestroyFunc(()=>this.getContext().destroyBean(e))});else if(S(this.value))t.innerText=i,t.classList.remove("ag-display-as-placeholder");else{const{placeholder:e}=a;S(e)?(t.innerHTML=""+ft(e),t.classList.add("ag-display-as-placeholder")):vr(t)}}getCurrentValueIndex(){const{currentList:e,value:t}=this;if(null==t||!e)return-1;for(let a=0;a<e.length;a++)if(e[a]===t)return a;return-1}highlightFilterMatch(){var e;null===(e=this.listComponent)||void 0===e||e.forEachRenderedRow((e,t)=>{e.highlightString(this.searchString)})}highlightSelectedValue(e){var t;null==e&&(e=this.getCurrentValueIndex()),this.highlightedItem=e,null===(t=this.listComponent)||void 0===t||t.forEachRenderedRow((t,a)=>{const r=-1!==e&&this.highlightedItem===a;t.updateHighlighted(r)})}setRowHeight(e){e!==this.cellRowHeight&&(this.cellRowHeight=e),this.listComponent&&this.listComponent.setRowHeight(e)}createPickerComponent(){const{values:e}=this;return e&&this.setValueList({valueList:e}),this.listComponent}setSearchStringCreator(e){this.searchStringCreator=e}setValueList(e){const{valueList:t,refresh:a}=e;this.listComponent&&this.currentList!==t&&(this.currentList=t,this.listComponent.setModel({getRowCount:()=>t.length,getRow:e=>t[e],areRowsEqual:(e,t)=>e===t}),a&&(this.values?this.listComponent.refresh(!0):(this.values=t,this.isPickerDisplayed&&this.showCurrentValueInPicker())))}showPicker(){super.showPicker(),this.showCurrentValueInPicker(),this.displayOrHidePicker()}showCurrentValueInPicker(){var e,t;if(!this.listComponent)return;if(!this.currentList)return void(this.isPickerDisplayed&&this.eLoading&&this.listComponent.appendChild(this.eLoading));(null===(e=this.eLoading)||void 0===e?void 0:e.offsetParent)&&(null===(t=this.eLoading.parentElement)||void 0===t||t.removeChild(this.eLoading));const a=this.getCurrentValueIndex();-1!==a?(this.listComponent.refresh(),this.listComponent.ensureIndexVisible(a),this.listComponent.refresh(!0),this.highlightSelectedValue(a)):this.listComponent.refresh()}beforeHidePicker(){this.highlightedItem=-1,super.beforeHidePicker()}onWrapperFocus(){if(!this.eInput)return;const e=this.eInput.getFocusableElement();e.focus(),e.select()}onWrapperFocusOut(e){this.eWrapper.contains(e.relatedTarget)||this.hidePicker()}buildSearchStringFromKeyboardEvent(e){let{key:t}=e;if(t===Wr.BACKSPACE)this.searchString=this.searchString.slice(0,-1),t="";else if(!Ur(e))return;e.preventDefault(),this.searchTextFromCharacter(t)}searchTextFromCharacter(e){this.searchString+=e,this.runSearch(),this.clearSearchString()}searchTextFromString(e){null==e&&(e=""),this.searchString=e,this.runSearch()}buildSearchStrings(e){const{valueFormatter:t=(e=>e)}=this.config;let a;return"number"==typeof e[0]||"string"==typeof e[0]?a=e.map(e=>t(e)):"object"==typeof e[0]&&this.searchStringCreator&&(a=this.searchStringCreator(e)),a}getSuggestionsAndFilteredValues(e,t){let a=[],r=[];if(!e.length)return{suggestions:a,filteredValues:r};const{searchType:o="fuzzy",filterList:i}=this.config;if("fuzzy"===o){const e=Vr(this.searchString,t,!0);a=e.values;const o=e.indices;if(i&&o.length)for(let e=0;e<o.length;e++)r.push(this.values[o[e]])}else a=t.filter((e,t)=>{const a=e.toLocaleLowerCase(),n=this.searchString.toLocaleLowerCase(),l="match"===o?a.startsWith(n):-1!==a.indexOf(n);return i&&l&&r.push(this.values[t]),l});return{suggestions:a,filteredValues:r}}filterListModel(e){const{filterList:t}=this.config;t&&(this.setValueList({valueList:e,refresh:!0}),this.alignPickerToComponent())}runSearch(){var e,t;const{values:a}=this,r=this.buildSearchStrings(a);if(!r)return void this.highlightSelectedValue(-1);const{suggestions:o,filteredValues:i}=this.getSuggestionsAndFilteredValues(this.searchString,r),{filterList:n,highlightMatch:l,searchType:s="fuzzy"}=this.config,g=i.length,d=!(!n||""===this.searchString);if(this.filterListModel(d?i:a),o.length){const e=d?0:r.indexOf(o[0]);this.selectListItem(e)}else if(this.highlightSelectedValue(-1),!d||g)null===(e=this.listComponent)||void 0===e||e.ensureIndexVisible(0);else if(d){this.getAriaElement().removeAttribute("data-active-option");const e=null===(t=this.listComponent)||void 0===t?void 0:t.getAriaElement();e&&da(e,null)}l&&"fuzzy"!==s&&this.highlightFilterMatch(),this.displayOrHidePicker()}displayOrHidePicker(){var e;const t=null===(e=this.listComponent)||void 0===e?void 0:e.getGui(),a=!!this.currentList&&0===this.currentList.length;null==t||t.classList.toggle("ag-hidden",a)}clearSearchString(){this.searchString=""}selectListItem(e,t){if(!this.isPickerDisplayed||!this.currentList||!this.listComponent||e<0||e>=this.currentList.length)return;this.listComponent.ensureIndexVisible(e,!t)&&!t&&this.listComponent.refresh(!0),this.highlightSelectedValue(e)}setValue(e,t,a){const r=this.currentList?this.currentList.indexOf(e):-1;return-1===r?this:(this.value=e,a||this.selectListItem(r),this.renderSelectedValue(),super.setValue(e,t))}createRowComponent(e){const t=new Xg(this.config,this.eWrapper);t.setParentComponent(this.listComponent),this.getContext().createBean(t),t.setState(e);const{highlightMatch:a,searchType:r="fuzzy"}=this.config;return a&&"fuzzy"!==r&&t.highlightString(this.searchString),t}getRowForMouseEvent(e){const{listComponent:t}=this;if(!t)return-1;const a=(null==t?void 0:t.getGui()).getBoundingClientRect(),r=t.getScrollTop(),o=e.clientY-a.top+r;return Math.floor(o/t.getRowHeight())}onPickerMouseMove(e){if(!this.listComponent)return;const t=this.getRowForMouseEvent(e);-1!==t&&t!=this.lastRowHovered&&(this.lastRowHovered=t,this.selectListItem(t,!0))}onNavigationKeyDown(e,t){e.preventDefault();const a=t===Wr.DOWN;if(!this.isPickerDisplayed&&a)return void this.showPicker();const r=this.highlightedItem,o=-1===r?0:r+(a?1:-1);this.selectListItem(o)}onEnterKeyDown(e){this.isPickerDisplayed&&(e.preventDefault(),this.currentList&&this.onListValueSelected(this.currentList[this.highlightedItem],!0))}onTabKeyDown(){this.isPickerDisplayed&&this.currentList&&this.setValue(this.currentList[this.highlightedItem],!1,!0)}onListValueSelected(e,t){this.setValue(e,!1,!0),this.dispatchPickerEvent(e,t),this.hidePicker()}dispatchPickerEvent(e,t){const a={type:st.EVENT_FIELD_PICKER_VALUE_SELECTED,fromEnterKey:t,value:e};this.dispatchEvent(a)}getFocusableElement(){const{allowTyping:e}=this.config;return e?this.eInput.getFocusableElement():super.getFocusableElement()}onKeyDown(e){const t=e.key,{allowTyping:a}=this.config;switch(t){case Wr.LEFT:case Wr.RIGHT:case Wr.PAGE_HOME:case Wr.PAGE_END:a||e.preventDefault();break;case Wr.PAGE_UP:case Wr.PAGE_DOWN:e.preventDefault();break;case Wr.DOWN:case Wr.UP:this.onNavigationKeyDown(e,t);break;case Wr.ESCAPE:this.isPickerDisplayed&&(br(this.listComponent.getGui())&&(e.preventDefault(),Ke(e)),this.hidePicker());break;case Wr.ENTER:this.onEnterKeyDown(e);break;case Wr.TAB:this.onTabKeyDown();break;default:a||this.buildSearchStringFromKeyboardEvent(e)}}destroy(){this.listComponent&&(this.destroyBean(this.listComponent),this.listComponent=void 0),this.eLoading=void 0,super.destroy()}}ed([de("userComponentFactory")],td.prototype,"userComponentFactory",void 0),ed([ho("eInput")],td.prototype,"eInput",void 0);var ad=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class rd extends To{constructor(e){super(e,rd.TEMPLATE),this.labelAlignment="top"}init(){this.eSlider.addCssClass("ag-slider-field")}onValueChange(e){const t=st.EVENT_FIELD_VALUE_CHANGED;return this.addManagedListener(this.eText,t,()=>{const t=parseFloat(this.eText.getValue());this.eSlider.setValue(t.toString(),!0),e(t||0)}),this.addManagedListener(this.eSlider,t,()=>{const t=this.eSlider.getValue();this.eText.setValue(t,!0),e(parseFloat(t))}),this}setSliderWidth(e){return this.eSlider.setWidth(e),this}setTextFieldWidth(e){return this.eText.setWidth(e),this}setMinValue(e){return this.eSlider.setMinValue(e),this.eText.setMin(e),this}setMaxValue(e){return this.eSlider.setMaxValue(e),this.eText.setMax(e),this}getValue(){return this.eText.getValue()}setValue(e){return this.getValue()===e||(this.eText.setValue(e,!0),this.eSlider.setValue(e,!0),this.dispatchEvent({type:st.EVENT_FIELD_VALUE_CHANGED})),this}setStep(e){return this.eSlider.setStep(e),this.eText.setStep(e),this}}rd.TEMPLATE='<div class="ag-slider">\n <label ref="eLabel"></label>\n <div class="ag-wrapper ag-slider-wrapper">\n <ag-input-range ref="eSlider"></ag-input-range>\n <ag-input-number-field ref="eText"></ag-input-number-field>\n </div>\n </div>',ad([ho("eLabel")],rd.prototype,"eLabel",void 0),ad([ho("eSlider")],rd.prototype,"eSlider",void 0),ad([ho("eText")],rd.prototype,"eText",void 0),ad([le],rd.prototype,"init",null);var od=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class id extends uo{constructor(e={}){super(id.getTemplate(e)),this.suppressEnabledCheckbox=!0,this.suppressOpenCloseIcons=!1;const{title:t,enabled:a,items:r,suppressEnabledCheckbox:o,suppressOpenCloseIcons:i}=e;this.title=t,this.cssIdentifier=e.cssIdentifier||"default",this.enabled=null==a||a,this.items=r||[],this.alignItems=e.alignItems||"center",null!=o&&(this.suppressEnabledCheckbox=o),null!=i&&(this.suppressOpenCloseIcons=i)}static getTemplate(e){const t=e.cssIdentifier||"default";return`<div class="ag-group ag-${t}-group" role="presentation">\n <div class="ag-group-title-bar ag-${t}-group-title-bar ag-unselectable" ref="eTitleBar" role="button">\n <span class="ag-group-title-bar-icon ag-${t}-group-title-bar-icon" ref="eGroupOpenedIcon" role="presentation"></span>\n <span class="ag-group-title-bar-icon ag-${t}-group-title-bar-icon" ref="eGroupClosedIcon" role="presentation"></span>\n <span ref="eTitle" class="ag-group-title ag-${t}-group-title"></span>\n </div>\n <div ref="eToolbar" class="ag-group-toolbar ag-${t}-group-toolbar">\n <ag-checkbox ref="cbGroupEnabled"></ag-checkbox>\n </div>\n <div ref="eContainer" class="ag-group-container ag-group-container-${e.direction||"vertical"} ag-${t}-group-container"></div>\n </div>`}postConstruct(){if(this.items.length){const e=this.items;this.items=[],this.addItems(e)}const e=this.localeService.getLocaleTextFunc();this.cbGroupEnabled.setLabel(e("enabled","Enabled")),this.title&&this.setTitle(this.title),this.enabled&&this.setEnabled(this.enabled),this.setAlignItems(this.alignItems),this.hideEnabledCheckbox(this.suppressEnabledCheckbox),this.hideOpenCloseIcons(this.suppressOpenCloseIcons),this.setupExpandContract(),this.refreshAriaStatus(),this.refreshChildDisplay()}setupExpandContract(){this.eGroupClosedIcon.appendChild(Br("columnSelectClosed",this.gridOptionsService,null)),this.eGroupOpenedIcon.appendChild(Br("columnSelectOpen",this.gridOptionsService,null)),this.addManagedListener(this.eTitleBar,"click",()=>this.toggleGroupExpand()),this.addManagedListener(this.eTitleBar,"keydown",e=>{switch(e.key){case Wr.ENTER:case Wr.SPACE:e.preventDefault(),this.toggleGroupExpand();break;case Wr.RIGHT:case Wr.LEFT:e.preventDefault(),this.toggleGroupExpand(e.key===Wr.RIGHT)}})}refreshAriaStatus(){this.suppressOpenCloseIcons||ca(this.eTitleBar,this.expanded)}refreshChildDisplay(){const e=!this.suppressOpenCloseIcons;rr(this.eToolbar,this.expanded&&!this.suppressEnabledCheckbox),rr(this.eGroupOpenedIcon,e&&this.expanded),rr(this.eGroupClosedIcon,e&&!this.expanded)}isExpanded(){return this.expanded}setAlignItems(e){this.alignItems!==e&&this.removeCssClass("ag-group-item-alignment-"+this.alignItems),this.alignItems=e;const t="ag-group-item-alignment-"+this.alignItems;return this.addCssClass(t),this}toggleGroupExpand(e){return this.suppressOpenCloseIcons?(this.expanded=!0,this.refreshChildDisplay(),rr(this.eContainer,!0),this):(e=null!=e?e:!this.expanded,this.expanded===e||(this.expanded=e,this.refreshAriaStatus(),this.refreshChildDisplay(),rr(this.eContainer,e),this.dispatchEvent({type:this.expanded?id.EVENT_EXPANDED:id.EVENT_COLLAPSED})),this)}addItems(e){e.forEach(e=>this.addItem(e))}prependItem(e){this.insertItem(e,this.eContainer.firstChild)}addItem(e){this.insertItem(e,null)}insertItem(e,t){const a=this.eContainer,r=e instanceof uo?e.getGui():e;r.classList.add("ag-group-item",`ag-${this.cssIdentifier}-group-item`),a.insertBefore(r,t),this.items.push(r)}hideItem(e,t){rr(this.items[t],!e)}setTitle(e){return this.eTitle.innerText=e,this}addCssClassToTitleBar(e){this.eTitleBar.classList.add(e)}setEnabled(e,t){return this.enabled=e,this.refreshDisabledStyles(),this.toggleGroupExpand(e),t||this.cbGroupEnabled.setValue(e),this}isEnabled(){return this.enabled}onEnableChange(e){return this.cbGroupEnabled.onValueChange(t=>{this.setEnabled(t,!0),e(t)}),this}hideEnabledCheckbox(e){return this.suppressEnabledCheckbox=e,this.refreshChildDisplay(),this.refreshDisabledStyles(),this}hideOpenCloseIcons(e){return this.suppressOpenCloseIcons=e,e&&this.toggleGroupExpand(!0),this}refreshDisabledStyles(){this.addOrRemoveCssClass("ag-disabled",!this.enabled),this.suppressEnabledCheckbox&&!this.enabled?(this.eTitleBar.classList.add("ag-disabled-group-title-bar"),this.eTitleBar.removeAttribute("tabindex")):(this.eTitleBar.classList.remove("ag-disabled-group-title-bar"),this.eTitleBar.setAttribute("tabindex","0")),this.eContainer.classList.toggle("ag-disabled-group-container",!this.enabled)}}id.EVENT_EXPANDED="expanded",id.EVENT_COLLAPSED="collapsed",od([ho("eTitleBar")],id.prototype,"eTitleBar",void 0),od([ho("eGroupOpenedIcon")],id.prototype,"eGroupOpenedIcon",void 0),od([ho("eGroupClosedIcon")],id.prototype,"eGroupClosedIcon",void 0),od([ho("eToolbar")],id.prototype,"eToolbar",void 0),od([ho("cbGroupEnabled")],id.prototype,"cbGroupEnabled",void 0),od([ho("eTitle")],id.prototype,"eTitle",void 0),od([ho("eContainer")],id.prototype,"eContainer",void 0),od([le],id.prototype,"postConstruct",null);var nd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class ld extends ug{constructor(e=0,t){super('<div class="ag-menu-list" role="tree"></div>'),this.level=e,this.menuItems=[],this.params=null!=t?t:{column:null,node:null,value:null}}postConstruct(){this.initialiseTabGuard({onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e),onFocusIn:e=>this.handleFocusIn(e),onFocusOut:e=>this.handleFocusOut(e)})}onTabKeyDown(e){const t=this.getParentComponent(),a=t&&t.getGui();a&&a.classList.contains("ag-focus-managed")||e.preventDefault(),e.shiftKey&&this.closeIfIsChild(e)}handleKeyDown(e){switch(e.key){case Wr.UP:case Wr.RIGHT:case Wr.DOWN:case Wr.LEFT:e.preventDefault(),this.handleNavKey(e.key);break;case Wr.ESCAPE:this.closeIfIsChild()&&Ke(e)}}handleFocusIn(e){var t,a;const r=e.relatedTarget;(this.tabGuardCtrl.isTabGuard(r)||!this.getGui().contains(r)&&!(null===(a=null===(t=this.activeMenuItem)||void 0===t?void 0:t.getSubMenuGui())||void 0===a?void 0:a.contains(r)))&&(this.activeMenuItem?this.activeMenuItem.activate():this.activateFirstItem())}handleFocusOut(e){var t;const a=e.relatedTarget;!this.activeMenuItem||this.getGui().contains(a)||(null===(t=this.activeMenuItem.getSubMenuGui())||void 0===t?void 0:t.contains(a))||this.activeMenuItem.isSubMenuOpening()||this.activeMenuItem.deactivate()}clearActiveItem(){this.activeMenuItem&&(this.activeMenuItem.deactivate(),this.activeMenuItem=null)}addMenuItems(e){null!=e&&ao.all(e.map(e=>"separator"===e?ao.resolve({eGui:this.createSeparator()}):"string"==typeof e?(console.warn("AG Grid: unrecognised menu item "+e),ao.resolve({eGui:null})):this.addItem(e))).then(e=>{e.forEach(e=>{(null==e?void 0:e.eGui)&&(this.appendChild(e.eGui),e.comp&&this.menuItems.push(e.comp))})})}addItem(e){const t=this.createManagedBean(new cd);return t.init({menuItemDef:e,isAnotherSubMenuOpen:()=>this.menuItems.some(e=>e.isSubMenuOpen()),level:this.level,contextParams:this.params}).then(()=>(t.setParentComponent(this),this.addManagedListener(t,cd.EVENT_CLOSE_MENU,e=>{this.dispatchEvent(e)}),this.addManagedListener(t,cd.EVENT_MENU_ITEM_ACTIVATED,e=>{this.activeMenuItem&&this.activeMenuItem!==e.menuItem&&this.activeMenuItem.deactivate(),this.activeMenuItem=e.menuItem}),{comp:t,eGui:t.getGui()}))}activateFirstItem(){const e=this.menuItems.filter(e=>!e.isDisabled())[0];e&&e.activate()}createSeparator(){return Cr('\n <div class="ag-menu-separator" aria-hidden="true">\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n </div>')}handleNavKey(e){switch(e){case Wr.UP:case Wr.DOWN:const t=this.findNextItem(e===Wr.UP);return void(t&&t!==this.activeMenuItem&&t.activate())}e===(this.gridOptionsService.get("enableRtl")?Wr.RIGHT:Wr.LEFT)?this.closeIfIsChild():this.openChild()}closeIfIsChild(e){const t=this.getParentComponent();return!!(t&&t instanceof cd)&&(e&&e.preventDefault(),t.closeSubMenu(),t.getGui().focus(),!0)}openChild(){this.activeMenuItem&&this.activeMenuItem.openSubMenu(!0)}findNextItem(e){const t=this.menuItems.filter(e=>!e.isDisabled());if(!t.length)return;if(!this.activeMenuItem)return e?Te(t):t[0];let a;e&&t.reverse();let r=!1;for(let e=0;e<t.length;e++){const o=t[e];if(r){a=o;break}o===this.activeMenuItem&&(r=!0)}return r&&!a?t[0]:a||this.activeMenuItem}destroy(){this.clearActiveItem(),super.destroy()}}nd([de("focusService")],ld.prototype,"focusService",void 0),nd([le],ld.prototype,"postConstruct",null);var sd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class gd extends ug{constructor(e){super(),this.wrappedComponent=e,this.setTemplateFromElement(e.getGui())}postConstruct(){this.initialiseTabGuard({onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e)})}handleKeyDown(e){e.key===Wr.ESCAPE&&this.closePanel()}onTabKeyDown(e){e.defaultPrevented||(this.closePanel(),e.preventDefault())}closePanel(){const e=this.parentComponent;e.closeSubMenu(),setTimeout(()=>e.getGui().focus(),0)}}sd([le],gd.prototype,"postConstruct",null);var dd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class cd extends at{constructor(){super(...arguments),this.isActive=!1,this.subMenuIsOpen=!1,this.subMenuIsOpening=!1,this.suppressRootStyles=!0,this.suppressAria=!0,this.suppressFocus=!0}init(e){var t,a;const{menuItemDef:r,isAnotherSubMenuOpen:o,level:i,childComponent:n,contextParams:l}=e;this.params=e.menuItemDef,this.level=i,this.isAnotherSubMenuOpen=o,this.childComponent=n,this.contextParams=l,this.cssClassPrefix=null!==(a=null===(t=this.params.menuItemParams)||void 0===t?void 0:t.cssClassPrefix)&&void 0!==a?a:"ag-menu-option";return this.userComponentFactory.getMenuItemCompDetails(this.params,Object.assign(Object.assign({},r),{level:i,isAnotherSubMenuOpen:o,openSubMenu:e=>this.openSubMenu(e),closeSubMenu:()=>this.closeSubMenu(),closeMenu:e=>this.closeMenu(e),updateTooltip:e=>this.updateTooltip(e),onItemActivated:()=>this.onItemActivated()})).newAgStackInstance().then(e=>{var t;this.menuItemComp=e;const a=null===(t=e.configureDefaults)||void 0===t?void 0:t.call(e);a&&this.configureDefaults(!0===a?void 0:a)})}addListeners(e,t){(null==t?void 0:t.suppressClick)||this.addManagedListener(e,"click",e=>this.onItemSelected(e)),(null==t?void 0:t.suppressKeyboardSelect)||this.addManagedListener(e,"keydown",e=>{e.key!==Wr.ENTER&&e.key!==Wr.SPACE||(e.preventDefault(),this.onItemSelected(e))}),(null==t?void 0:t.suppressMouseDown)||this.addManagedListener(e,"mousedown",e=>{e.stopPropagation(),e.preventDefault()}),(null==t?void 0:t.suppressMouseOver)||(this.addManagedListener(e,"mouseenter",()=>this.onMouseEnter()),this.addManagedListener(e,"mouseleave",()=>this.onMouseLeave()))}isDisabled(){return!!this.params.disabled}openSubMenu(e=!1){var t,a;if(this.closeSubMenu(),!this.params.subMenu)return;this.subMenuIsOpening=!0;const r=Cr('<div class="ag-menu" role="presentation"></div>');let o;this.eSubMenuGui=r;let i=()=>{this.subMenuIsOpening=!1};if(this.childComponent){const e=this.createBean(new gd(this.childComponent));e.setParentComponent(this);const t=e.getGui(),a="mouseenter",n=()=>this.cancelDeactivate();t.addEventListener(a,n),o=()=>t.removeEventListener(a,n),r.appendChild(t),this.childComponent.afterGuiAttached&&(i=()=>{this.childComponent.afterGuiAttached(),this.subMenuIsOpening=!1})}else if(this.params.subMenu){const t=this.createBean(new ld(this.level+1,this.contextParams));t.setParentComponent(this),t.addMenuItems(this.params.subMenu),r.appendChild(t.getGui()),this.addManagedListener(t,cd.EVENT_CLOSE_MENU,e=>this.dispatchEvent(e)),t.addGuiEventListener("mouseenter",()=>this.cancelDeactivate()),o=()=>this.destroyBean(t),e&&(i=()=>{t.activateFirstItem(),this.subMenuIsOpening=!1})}const n=this.popupService.positionPopupForMenu.bind(this.popupService,{eventSource:this.eGui,ePopup:r}),l=this.localeService.getLocaleTextFunc(),s=this.popupService.addPopup({modal:!0,eChild:r,positionCallback:n,anchorToElement:this.eGui,ariaLabel:l("ariaLabelSubMenu","SubMenu"),afterGuiAttached:i});this.subMenuIsOpen=!0,this.setAriaExpanded(!0),this.hideSubMenu=()=>{var e,t;s&&s.hideFunc(),this.subMenuIsOpen=!1,this.setAriaExpanded(!1),o(),null===(t=(e=this.menuItemComp).setExpanded)||void 0===t||t.call(e,!1),this.eSubMenuGui=void 0},null===(a=(t=this.menuItemComp).setExpanded)||void 0===a||a.call(t,!0)}setAriaExpanded(e){this.suppressAria||ca(this.eGui,e)}closeSubMenu(){this.hideSubMenu&&(this.hideSubMenu(),this.hideSubMenu=null,this.setAriaExpanded(!1))}isSubMenuOpen(){return this.subMenuIsOpen}isSubMenuOpening(){return this.subMenuIsOpening}activate(e){var t,a;this.cancelActivate(),this.params.disabled||(this.isActive=!0,this.suppressRootStyles||this.eGui.classList.add(this.cssClassPrefix+"-active"),null===(a=(t=this.menuItemComp).setActive)||void 0===a||a.call(t,!0),this.suppressFocus||this.eGui.focus({preventScroll:!0}),e&&this.params.subMenu&&window.setTimeout(()=>{this.isAlive()&&this.isActive&&this.openSubMenu()},300),this.onItemActivated())}deactivate(){var e,t;this.cancelDeactivate(),this.suppressRootStyles||this.eGui.classList.remove(this.cssClassPrefix+"-active"),null===(t=(e=this.menuItemComp).setActive)||void 0===t||t.call(e,!1),this.isActive=!1,this.subMenuIsOpen&&this.hideSubMenu()}getGui(){return this.menuItemComp.getGui()}getParentComponent(){return this.parentComponent}setParentComponent(e){this.parentComponent=e}getSubMenuGui(){return this.eSubMenuGui}onItemSelected(e){var t,a;null===(a=(t=this.menuItemComp).select)||void 0===a||a.call(t),this.params.action?this.getFrameworkOverrides().wrapOutgoing(()=>this.params.action(this.gridOptionsService.addGridCommonParams(Object.assign({},this.contextParams)))):this.openSubMenu(e&&"keydown"===e.type),this.params.subMenu&&!this.params.action||this.params.suppressCloseOnSelect||this.closeMenu(e)}closeMenu(e){const t={type:cd.EVENT_CLOSE_MENU,event:e};this.dispatchEvent(t)}onItemActivated(){const e={type:cd.EVENT_MENU_ITEM_ACTIVATED,menuItem:this};this.dispatchEvent(e)}cancelActivate(){this.activateTimeoutId&&(window.clearTimeout(this.activateTimeoutId),this.activateTimeoutId=0)}cancelDeactivate(){this.deactivateTimeoutId&&(window.clearTimeout(this.deactivateTimeoutId),this.deactivateTimeoutId=0)}onMouseEnter(){this.cancelDeactivate(),this.isAnotherSubMenuOpen()?this.activateTimeoutId=window.setTimeout(()=>this.activate(!0),cd.ACTIVATION_DELAY):this.activate(!0)}onMouseLeave(){this.cancelActivate(),this.isSubMenuOpen()?this.deactivateTimeoutId=window.setTimeout(()=>this.deactivate(),cd.ACTIVATION_DELAY):this.deactivate()}configureDefaults(e){var t,a,r;if(this.tooltip=this.params.tooltip,!this.menuItemComp)return void setTimeout(()=>this.configureDefaults(e));let o=this.menuItemComp.getGui();const i=null===(a=(t=this.menuItemComp).getRootElement)||void 0===a?void 0:a.call(t);i&&((null==e?void 0:e.suppressRootStyles)||o.classList.add("ag-menu-option-custom"),o=i),this.eGui=o,this.suppressRootStyles=!!(null==e?void 0:e.suppressRootStyles),this.suppressRootStyles||(o.classList.add(this.cssClassPrefix),null===(r=this.params.cssClasses)||void 0===r||r.forEach(e=>o.classList.add(e)),this.params.disabled&&o.classList.add(this.cssClassPrefix+"-disabled")),(null==e?void 0:e.suppressTooltip)||this.setTooltip(),this.suppressAria=!!(null==e?void 0:e.suppressAria),this.suppressAria||(Jt(o,"treeitem"),la(o,this.level+1),this.params.disabled&&sa(o,!0)),(null==e?void 0:e.suppressTabIndex)||o.setAttribute("tabindex","-1"),this.params.disabled||this.addListeners(o,e),this.suppressFocus=!!(null==e?void 0:e.suppressFocus)}updateTooltip(e){this.tooltip=e,!this.tooltipFeature&&this.menuItemComp&&this.setTooltip()}setTooltip(){this.tooltip&&(this.tooltipFeature=this.createManagedBean(new fl({getGui:()=>this.getGui(),getTooltipValue:()=>this.tooltip,getLocation:()=>"menu"},this.beans)),this.tooltipFeature.setComp(this.getGui()))}}cd.EVENT_CLOSE_MENU="closeMenu",cd.EVENT_MENU_ITEM_ACTIVATED="menuItemActivated",cd.ACTIVATION_DELAY=80,dd([de("popupService")],cd.prototype,"popupService",void 0),dd([de("userComponentFactory")],cd.prototype,"userComponentFactory",void 0),dd([de("beans")],cd.prototype,"beans",void 0);var ud=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class pd extends uo{constructor(e){super(pd.getTemplate(e)),this.config=e,this.closable=!0}static getTemplate(e){const t=e.cssIdentifier||"default";return`<div class="ag-panel ag-${t}-panel" tabindex="-1">\n <div ref="eTitleBar" class="ag-panel-title-bar ag-${t}-panel-title-bar ag-unselectable">\n <span ref="eTitle" class="ag-panel-title-bar-title ag-${t}-panel-title-bar-title"></span>\n <div ref="eTitleBarButtons" class="ag-panel-title-bar-buttons ag-${t}-panel-title-bar-buttons"></div>\n </div>\n <div ref="eContentWrapper" class="ag-panel-content-wrapper ag-${t}-panel-content-wrapper"></div>\n </div>`}postConstruct(){const{component:e,closable:t,hideTitleBar:a,title:r,minWidth:o=250,width:i,minHeight:n=250,height:l,centered:s,popup:g,x:d,y:c}=this.config;this.positionableFeature=new Ro(this.getGui(),{minWidth:o,width:i,minHeight:n,height:l,centered:s,x:d,y:c,popup:g,calculateTopBuffer:()=>this.positionableFeature.getHeight()-this.getBodyHeight()}),this.createManagedBean(this.positionableFeature);const u=this.getGui();e&&this.setBodyComponent(e),a?rr(this.eTitleBar,!1):(r&&this.setTitle(r),this.setClosable(null!=t?t:this.closable)),this.addManagedListener(this.eTitleBar,"mousedown",e=>{const t=this.gridOptionsService.getDocument();if(u.contains(e.relatedTarget)||u.contains(t.activeElement)||this.eTitleBarButtons.contains(e.target))return void e.preventDefault();const a=this.eContentWrapper.querySelector("button, [href], input, select, textarea, [tabindex]");a&&a.focus()}),g&&this.positionableFeature.isPositioned()||(this.renderComponent&&this.renderComponent(),this.positionableFeature.initialisePosition(),this.eContentWrapper.style.height="0")}renderComponent(){const e=this.getGui();e.focus(),this.close=()=>{e.parentElement.removeChild(e),this.destroy()}}getHeight(){return this.positionableFeature.getHeight()}setHeight(e){this.positionableFeature.setHeight(e)}getWidth(){return this.positionableFeature.getWidth()}setWidth(e){this.positionableFeature.setWidth(e)}setClosable(e){if(e!==this.closable&&(this.closable=e),e){const e=this.closeButtonComp=new uo(pd.CLOSE_BTN_TEMPLATE);this.getContext().createBean(e);const t=e.getGui(),a=qr("close",this.gridOptionsService);a.classList.add("ag-panel-title-bar-button-icon"),t.appendChild(a),this.addTitleBarButton(e),e.addManagedListener(t,"click",this.onBtClose.bind(this))}else if(this.closeButtonComp){const e=this.closeButtonComp.getGui();e.parentElement.removeChild(e),this.closeButtonComp=this.destroyBean(this.closeButtonComp)}}setBodyComponent(e){e.setParentComponent(this),this.eContentWrapper.appendChild(e.getGui())}addTitleBarButton(e,t){const a=this.eTitleBarButtons,r=a.children,o=r.length;null==t&&(t=o),t=Math.max(0,Math.min(t,o)),e.addCssClass("ag-panel-title-bar-button");const i=e.getGui();0===t?a.insertAdjacentElement("afterbegin",i):t===o?a.insertAdjacentElement("beforeend",i):r[t-1].insertAdjacentElement("afterend",i),e.setParentComponent(this)}getBodyHeight(){return sr(this.eContentWrapper)}getBodyWidth(){return gr(this.eContentWrapper)}setTitle(e){this.eTitle.innerText=e}onBtClose(){this.close()}destroy(){this.closeButtonComp&&(this.closeButtonComp=this.destroyBean(this.closeButtonComp));const e=this.getGui();e&&br(e)&&this.close(),super.destroy()}}pd.CLOSE_BTN_TEMPLATE='<div class="ag-button"></div>',ud([ho("eContentWrapper")],pd.prototype,"eContentWrapper",void 0),ud([ho("eTitleBar")],pd.prototype,"eTitleBar",void 0),ud([ho("eTitleBarButtons")],pd.prototype,"eTitleBarButtons",void 0),ud([ho("eTitle")],pd.prototype,"eTitle",void 0),ud([le],pd.prototype,"postConstruct",null);var hd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class md extends pd{constructor(e){super(Object.assign(Object.assign({},e),{popup:!0})),this.isMaximizable=!1,this.isMaximized=!1,this.maximizeListeners=[],this.resizeListenerDestroy=null,this.lastPosition={x:0,y:0,width:0,height:0}}postConstruct(){const e=this.getGui(),{movable:t,resizable:a,maximizable:r}=this.config;this.addCssClass("ag-dialog"),super.postConstruct(),this.addManagedListener(e,"focusin",t=>{e.contains(t.relatedTarget)||this.popupService.bringPopupToFront(e)}),t&&this.setMovable(t),r&&this.setMaximizable(r),a&&this.setResizable(a)}renderComponent(){const e=this.getGui(),{alwaysOnTop:t,modal:a,title:r,afterGuiAttached:o}=this.config,i=this.localeService.getLocaleTextFunc(),n=this.popupService.addPopup({modal:a,eChild:e,closeOnEsc:!0,closedCallback:this.onClosed.bind(this),alwaysOnTop:t,ariaLabel:r||i("ariaLabelDialog","Dialog"),afterGuiAttached:o});n&&(this.close=n.hideFunc)}onClosed(e){var t,a;this.destroy(),null===(a=(t=this.config).closedCallback)||void 0===a||a.call(t,e)}toggleMaximize(){const e=this.positionableFeature.getPosition();if(this.isMaximized){const{x:e,y:t,width:a,height:r}=this.lastPosition;this.setWidth(a),this.setHeight(r),this.positionableFeature.offsetElement(e,t)}else this.lastPosition.width=this.getWidth(),this.lastPosition.height=this.getHeight(),this.lastPosition.x=e.x,this.lastPosition.y=e.y,this.positionableFeature.offsetElement(0,0),this.setHeight("100%"),this.setWidth("100%");this.isMaximized=!this.isMaximized,this.refreshMaximizeIcon()}refreshMaximizeIcon(){rr(this.maximizeIcon,!this.isMaximized),rr(this.minimizeIcon,this.isMaximized)}clearMaximizebleListeners(){this.maximizeListeners.length&&(this.maximizeListeners.forEach(e=>e()),this.maximizeListeners.length=0),this.resizeListenerDestroy&&(this.resizeListenerDestroy(),this.resizeListenerDestroy=null)}destroy(){this.maximizeButtonComp=this.destroyBean(this.maximizeButtonComp),this.clearMaximizebleListeners(),super.destroy()}setResizable(e){this.positionableFeature.setResizable(e)}setMovable(e){this.positionableFeature.setMovable(e,this.eTitleBar)}setMaximizable(e){if(!e)return this.clearMaximizebleListeners(),void(this.maximizeButtonComp&&(this.destroyBean(this.maximizeButtonComp),this.maximizeButtonComp=this.maximizeIcon=this.minimizeIcon=void 0));const t=this.eTitleBar;if(!t||e===this.isMaximizable)return;const a=this.buildMaximizeAndMinimizeElements();this.refreshMaximizeIcon(),a.addManagedListener(a.getGui(),"click",this.toggleMaximize.bind(this)),this.addTitleBarButton(a,0),this.maximizeListeners.push(this.addManagedListener(t,"dblclick",this.toggleMaximize.bind(this))),this.resizeListenerDestroy=this.addManagedListener(this,"resize",()=>{this.isMaximized=!1,this.refreshMaximizeIcon()})}buildMaximizeAndMinimizeElements(){const e=this.maximizeButtonComp=this.createBean(new uo('<div class="ag-dialog-button"></span>')),t=e.getGui();return this.maximizeIcon=qr("maximize",this.gridOptionsService),t.appendChild(this.maximizeIcon),this.maximizeIcon.classList.add("ag-panel-title-bar-button-icon"),this.minimizeIcon=qr("minimize",this.gridOptionsService),t.appendChild(this.minimizeIcon),this.minimizeIcon.classList.add("ag-panel-title-bar-button-icon"),e}}hd([de("popupService")],md.prototype,"popupService",void 0);var vd,fd,wd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal"}(fd||(fd={}));let bd=0,Cd=vd=class extends at{constructor(){super(...arguments),this.popupList=[]}postConstruct(){this.ctrlsService.whenReady(e=>{this.gridCtrl=e.gridCtrl}),this.addManagedListener(this.eventService,st.EVENT_GRID_STYLES_CHANGED,this.handleThemeChange.bind(this))}getPopupParent(){const e=this.gridOptionsService.get("popupParent");return e||this.gridCtrl.getGui()}positionPopupForMenu(e){const{eventSource:t,ePopup:a}=e,r=this.getPopupIndex(a);if(-1!==r){this.popupList[r].alignedToElement=t}const o=t.getBoundingClientRect(),i=this.getParentRect(),n=this.keepXYWithinBounds(a,o.top-i.top,fd.vertical),l=a.clientWidth>0?a.clientWidth:200;a.style.minWidth=l+"px";const s=i.right-i.left-l;let g;function d(){return o.right-i.left-2}function c(){return o.left-i.left-l}this.gridOptionsService.get("enableRtl")?(g=c(),g<0&&(g=d(),this.setAlignedStyles(a,"left")),g>s&&(g=0,this.setAlignedStyles(a,"right"))):(g=d(),g>s&&(g=c(),this.setAlignedStyles(a,"right")),g<0&&(g=0,this.setAlignedStyles(a,"left"))),a.style.left=g+"px",a.style.top=n+"px"}positionPopupUnderMouseEvent(e){const{ePopup:t,nudgeX:a,nudgeY:r,skipObserver:o}=e;this.positionPopup({ePopup:t,nudgeX:a,nudgeY:r,keepWithinBounds:!0,skipObserver:o,updatePosition:()=>this.calculatePointerAlign(e.mouseEvent),postProcessCallback:()=>this.callPostProcessPopup(e.type,e.ePopup,null,e.mouseEvent,e.column,e.rowNode)})}calculatePointerAlign(e){const t=this.getParentRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}positionPopupByComponent(e){const{ePopup:t,nudgeX:a,nudgeY:r,keepWithinBounds:o,eventSource:i,alignSide:n="left",position:l="over",column:s,rowNode:g,type:d}=e,c=i.getBoundingClientRect(),u=this.getParentRect(),p=this.getPopupIndex(t);if(-1!==p){this.popupList[p].alignedToElement=i}this.positionPopup({ePopup:t,nudgeX:a,nudgeY:r,keepWithinBounds:o,updatePosition:()=>{let a,o=c.left-u.left;if("right"===n&&(o-=t.offsetWidth-c.width),"over"===l)a=c.top-u.top,this.setAlignedStyles(t,"over");else{this.setAlignedStyles(t,"under");a="under"===this.shouldRenderUnderOrAbove(t,c,u,e.nudgeY||0)?c.top-u.top+c.height:c.top-t.offsetHeight-2*(r||0)-u.top}return{x:o,y:a}},postProcessCallback:()=>this.callPostProcessPopup(d,t,i,null,s,g)})}shouldRenderUnderOrAbove(e,t,a,r){const o=a.bottom-t.bottom,i=t.top-a.top,n=e.offsetHeight+r;return o>n?"under":i>n||i>o?"above":"under"}setAlignedStyles(e,t){const a=this.getPopupIndex(e);if(-1===a)return;const r=this.popupList[a],{alignedToElement:o}=r;if(!o)return;["right","left","over","above","under"].forEach(t=>{o.classList.remove("ag-has-popup-positioned-"+t),e.classList.remove("ag-popup-positioned-"+t)}),t&&(o.classList.add("ag-has-popup-positioned-"+t),e.classList.add("ag-popup-positioned-"+t))}callPostProcessPopup(e,t,a,r,o,i){const n=this.gridOptionsService.getCallback("postProcessPopup");if(n){n({column:o,rowNode:i,ePopup:t,type:e,eventSource:a,mouseEvent:r})}}positionPopup(e){const{ePopup:t,keepWithinBounds:a,nudgeX:r,nudgeY:o,skipObserver:i,updatePosition:n}=e,l={width:0,height:0},s=(i=!1)=>{let{x:s,y:g}=n();i&&t.clientWidth===l.width&&t.clientHeight===l.height||(l.width=t.clientWidth,l.height=t.clientHeight,r&&(s+=r),o&&(g+=o),a&&(s=this.keepXYWithinBounds(t,s,fd.horizontal),g=this.keepXYWithinBounds(t,g,fd.vertical)),t.style.left=s+"px",t.style.top=g+"px",e.postProcessCallback&&e.postProcessCallback())};if(s(),!i){const e=this.resizeObserverService.observeResize(t,()=>s(!0));setTimeout(()=>e(),vd.WAIT_FOR_POPUP_CONTENT_RESIZE)}}getActivePopups(){return this.popupList.map(e=>e.element)}getPopupList(){return this.popupList}getParentRect(){const e=this.gridOptionsService.getDocument();let t=this.getPopupParent();return t===e.body?t=e.documentElement:"static"===getComputedStyle(t).position&&(t=t.offsetParent),ur(t)}keepXYWithinBounds(e,t,a){const r=a===fd.vertical,o=r?"clientHeight":"clientWidth",i=r?"top":"left",n=r?"offsetHeight":"offsetWidth",l=r?"scrollTop":"scrollLeft",s=this.gridOptionsService.getDocument(),g=s.documentElement,d=this.getPopupParent(),c=d.getBoundingClientRect(),u=s.documentElement.getBoundingClientRect(),p=d===s.body,h=e[n];let m=p?(r?dr:cr)(g)+g[l]:d[o];p&&(m-=Math.abs(u[i]-c[i]));const v=m-h;return Math.min(Math.max(t,0),Math.abs(v))}addPopup(e){const t=this.gridOptionsService.getDocument(),{eChild:a,ariaLabel:r,alwaysOnTop:o,positionCallback:i,anchorToElement:n}=e;if(!t)return console.warn("AG Grid: could not find the document, document is empty"),{hideFunc:()=>{}};const l=this.getPopupIndex(a);if(-1!==l){return{hideFunc:this.popupList[l].hideFunc}}this.initialisePopupPosition(a);const s=this.createPopupWrapper(a,r,!!o),g=this.addEventListenersToPopup(Object.assign(Object.assign({},e),{wrapperEl:s}));return i&&i(),this.addPopupToPopupList(a,s,g,n),{hideFunc:g}}initialisePopupPosition(e){const t=this.getPopupParent().getBoundingClientRect();S(e.style.top)||(e.style.top=-1*t.top+"px"),S(e.style.left)||(e.style.left=-1*t.left+"px")}createPopupWrapper(e,t,a){const r=this.getPopupParent(),o=document.createElement("div"),{allThemes:i}=this.environment.getTheme();return i.length&&o.classList.add(...i),o.classList.add("ag-popup"),e.classList.add(this.gridOptionsService.get("enableRtl")?"ag-rtl":"ag-ltr","ag-popup-child"),e.hasAttribute("role")||Jt(e,"dialog"),ta(e,t),o.appendChild(e),r.appendChild(o),a?this.setAlwaysOnTop(e,!0):this.bringPopupToFront(e),o}handleThemeChange(){const{allThemes:e}=this.environment.getTheme();for(const t of this.popupList){for(const e of Array.from(t.wrapper.classList))e.startsWith("ag-theme-")&&t.wrapper.classList.remove(e);e.length&&t.wrapper.classList.add(...e)}}addEventListenersToPopup(e){const t=this.gridOptionsService.getDocument(),a=this.getPopupParent(),{wrapperEl:r,eChild:o,click:i,closedCallback:n,afterGuiAttached:l,closeOnEsc:s,modal:g}=e;let d=!1;const c=e=>{if(!r.contains(t.activeElement))return;e.key!==Wr.ESCAPE||Ye(e)||h({keyboardEvent:e})},u=e=>h({mouseEvent:e}),p=e=>h({touchEvent:e}),h=(e={})=>{const{mouseEvent:i,touchEvent:l,keyboardEvent:s}=e;this.isEventFromCurrentPopup({mouseEvent:i,touchEvent:l},o)||d||(d=!0,a.removeChild(r),t.removeEventListener("keydown",c),t.removeEventListener("mousedown",u),t.removeEventListener("touchstart",p),t.removeEventListener("contextmenu",u),this.eventService.removeEventListener(st.EVENT_DRAG_STARTED,u),n&&n(i||l||s),this.removePopupFromPopupList(o))};return l&&l({hidePopup:h}),window.setTimeout(()=>{s&&t.addEventListener("keydown",c),g&&(t.addEventListener("mousedown",u),this.eventService.addEventListener(st.EVENT_DRAG_STARTED,u),t.addEventListener("touchstart",p),t.addEventListener("contextmenu",u))},0),h}addPopupToPopupList(e,t,a,r){this.popupList.push({element:e,wrapper:t,hideFunc:a,instanceId:bd++,isAnchored:!!r}),r&&this.setPopupPositionRelatedToElement(e,r)}getPopupIndex(e){return this.popupList.findIndex(t=>t.element===e)}setPopupPositionRelatedToElement(e,t){const a=this.getPopupIndex(e);if(-1===a)return;const r=this.popupList[a];if(r.stopAnchoringPromise&&r.stopAnchoringPromise.then(e=>e&&e()),r.stopAnchoringPromise=void 0,r.isAnchored=!1,!t)return;const o=this.keepPopupPositionedRelativeTo({element:t,ePopup:e,hidePopup:r.hideFunc});return r.stopAnchoringPromise=o,r.isAnchored=!0,o}removePopupFromPopupList(e){this.setAlignedStyles(e,null),this.setPopupPositionRelatedToElement(e,null),this.popupList=this.popupList.filter(t=>t.element!==e)}keepPopupPositionedRelativeTo(e){const t=this.getPopupParent(),a=t.getBoundingClientRect(),{element:r,ePopup:o}=e,i=r.getBoundingClientRect(),n=a.top-i.top,l=a.left-i.left;let s=n,g=l;const d=o.style.top,c=parseInt(d.substring(0,d.length-1),10),u=o.style.left,p=parseInt(u.substring(0,u.length-1),10);return new ao(a=>{this.getFrameworkOverrides().setInterval(()=>{const a=t.getBoundingClientRect(),i=r.getBoundingClientRect();if(0==i.top&&0==i.left&&0==i.height&&0==i.width)return void e.hidePopup();const d=a.top-i.top;if(d!=s){const e=this.keepXYWithinBounds(o,c+n-d,fd.vertical);o.style.top=e+"px"}s=d;const u=a.left-i.left;if(u!=g){const e=this.keepXYWithinBounds(o,p+l-u,fd.horizontal);o.style.left=e+"px"}g=u},200).then(e=>{a(()=>{null!=e&&window.clearInterval(e)})})})}hasAnchoredPopup(){return this.popupList.some(e=>e.isAnchored)}isEventFromCurrentPopup(e,t){const{mouseEvent:a,touchEvent:r}=e,o=a||r;if(!o)return!1;const i=this.getPopupIndex(t);if(-1===i)return!1;for(let e=i;e<this.popupList.length;e++){if(Xe(this.popupList[e].element,o))return!0}return this.isElementWithinCustomPopup(o.target)}isElementWithinCustomPopup(e){const t=this.gridOptionsService.getDocument();for(;e&&e!==t.body;){if(e.classList.contains("ag-custom-component-popup")||null===e.parentElement)return!0;e=e.parentElement}return!1}getWrapper(e){for(;!e.classList.contains("ag-popup")&&e.parentElement;)e=e.parentElement;return e.classList.contains("ag-popup")?e:null}setAlwaysOnTop(e,t){const a=this.getWrapper(e);a&&(a.classList.toggle("ag-always-on-top",!!t),t&&this.bringPopupToFront(a))}bringPopupToFront(e){const t=this.getPopupParent(),a=Array.prototype.slice.call(t.querySelectorAll(".ag-popup")),r=a.length,o=Array.prototype.slice.call(t.querySelectorAll(".ag-popup.ag-always-on-top")),i=o.length,n=this.getWrapper(e);if(!n||r<=1||!t.contains(e))return;const l=a.indexOf(n),s=n.querySelectorAll("div"),g=[];if(s.forEach(e=>{0!==e.scrollTop&&g.push([e,e.scrollTop])}),i){n.classList.contains("ag-always-on-top")?l!==r-1&&Te(o).insertAdjacentElement("afterend",n):l!==r-i-1&&o[0].insertAdjacentElement("beforebegin",n)}else l!==r-1&&Te(a).insertAdjacentElement("afterend",n);for(;g.length;){const e=g.pop();e[0].scrollTop=e[1]}const d={type:"popupToFront",eWrapper:n};this.eventService.dispatchEvent(d)}};Cd.WAIT_FOR_POPUP_CONTENT_RESIZE=200,wd([de("focusService")],Cd.prototype,"focusService",void 0),wd([de("ctrlsService")],Cd.prototype,"ctrlsService",void 0),wd([de("resizeObserverService")],Cd.prototype,"resizeObserverService",void 0),wd([le],Cd.prototype,"postConstruct",null),Cd=vd=wd([ge("popupService")],Cd);class yd extends uo{constructor(){super('\n <div class="ag-autocomplete-row" role="presentation">\n <div class="ag-autocomplete-row-label"></div>\n </div>'),this.hasHighlighting=!1}setState(e,t){this.value=e,this.render(),this.updateSelected(t)}updateSelected(e){this.addOrRemoveCssClass("ag-autocomplete-row-selected",e)}setSearchString(e){var t;let a=!1;if(S(e)){const r=null===(t=this.value)||void 0===t?void 0:t.toLocaleLowerCase().indexOf(e.toLocaleLowerCase());if(r>=0){a=!0,this.hasHighlighting=!0;const t=r+e.length,o=ft(this.value.slice(0,r)),i=ft(this.value.slice(r,t)),n=ft(this.value.slice(t));this.getGui().lastElementChild.innerHTML=`${o}<b>${i}</b>${n}`}}!a&&this.hasHighlighting&&(this.hasHighlighting=!1,this.render())}render(){var e;this.getGui().lastElementChild.innerHTML=null!==(e=ft(this.value))&&void 0!==e?e:" "}}var Sd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Ed extends vi{constructor(e){super(Ed.TEMPLATE),this.params=e,this.searchString=""}destroy(){super.destroy()}init(){this.autocompleteEntries=this.params.autocompleteEntries,this.virtualList=this.createManagedBean(new $g({cssIdentifier:"autocomplete"})),this.virtualList.setComponentCreator(this.createRowComponent.bind(this)),this.eList.appendChild(this.virtualList.getGui()),this.virtualList.setModel({getRowCount:()=>this.autocompleteEntries.length,getRow:e=>this.autocompleteEntries[e]});const e=this.virtualList.getGui();this.addManagedListener(e,"click",()=>this.params.onConfirmed()),this.addManagedListener(e,"mousemove",this.onMouseMove.bind(this)),this.addManagedListener(e,"mousedown",e=>e.preventDefault()),this.setSelectedValue(0)}onNavigationKeyDown(e,t){e.preventDefault();const a=this.autocompleteEntries.indexOf(this.selectedValue),r=t===Wr.UP?a-1:a+1;this.checkSetSelectedValue(r)}setSearch(e){this.searchString=e,S(e)?this.runSearch():(this.autocompleteEntries=this.params.autocompleteEntries,this.virtualList.refresh(),this.checkSetSelectedValue(0)),this.updateSearchInList()}runContainsSearch(e,t){let a,r=!1;const o=e.toLocaleLowerCase(),i=t.filter(e=>{const t=e.toLocaleLowerCase().indexOf(o),i=0===t,n=t>=0;return n&&(!a||!r&&i||r===i&&e.length<a.length)&&(a=e,r=i),n});return!a&&i.length&&(a=i[0]),{topMatch:a,allMatches:i}}runSearch(){var e,t;const{autocompleteEntries:a}=this.params,r=a.map(e=>{var t;return null!==(t=e.displayValue)&&void 0!==t?t:e.key});let o,i;if(this.params.useFuzzySearch)o=Vr(this.searchString,r,!0).values,i=o.length?o[0]:void 0;else{const e=this.runContainsSearch(this.searchString,r);o=e.allMatches,i=e.topMatch}let n=a.filter(({key:e,displayValue:t})=>o.includes(null!=t?t:e));if(!n.length&&this.selectedValue&&(null===(t=null===(e=this.params)||void 0===e?void 0:e.forceLastSelection)||void 0===t?void 0:t.call(e,this.selectedValue,this.searchString))&&(n=[this.selectedValue]),this.autocompleteEntries=n,this.virtualList.refresh(),!i)return;const l=o.indexOf(i);this.checkSetSelectedValue(l)}updateSearchInList(){this.virtualList.forEachRenderedRow(e=>e.setSearchString(this.searchString))}checkSetSelectedValue(e){e>=0&&e<this.autocompleteEntries.length&&this.setSelectedValue(e)}setSelectedValue(e){const t=this.autocompleteEntries[e];this.selectedValue!==t&&(this.selectedValue=t,this.virtualList.ensureIndexVisible(e),this.virtualList.forEachRenderedRow((t,a)=>{t.updateSelected(e===a)}))}createRowComponent(e){var t;const a=new yd;return this.getContext().createBean(a),a.setState(null!==(t=e.displayValue)&&void 0!==t?t:e.key,e===this.selectedValue),a}onMouseMove(e){const t=this.virtualList.getGui().getBoundingClientRect(),a=this.virtualList.getScrollTop(),r=e.clientY-t.top+a,o=Math.floor(r/this.virtualList.getRowHeight());this.checkSetSelectedValue(o)}afterGuiAttached(){this.virtualList.refresh()}getSelectedValue(){var e;return this.autocompleteEntries.length&&null!==(e=this.selectedValue)&&void 0!==e?e:null}}Ed.TEMPLATE='<div class="ag-autocomplete-list-popup">\n <div ref="eList" class="ag-autocomplete-list"></div>\n <div>',Sd([ho("eList")],Ed.prototype,"eList",void 0),Sd([le],Ed.prototype,"init",null);var Rd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class xd extends uo{constructor(){super('\n <div class="ag-autocomplete" role="presentation">\n <ag-input-text-field ref="eAutocompleteInput"></ag-input-text-field>\n </div>'),this.isListOpen=!1,this.lastPosition=0,this.valid=!0}postConstruct(){this.eAutocompleteInput.onValueChange(e=>this.onValueChanged(e)),this.eAutocompleteInput.getInputElement().setAttribute("autocomplete","off"),this.addGuiEventListener("keydown",this.onKeyDown.bind(this)),this.addGuiEventListener("click",this.updatePositionAndList.bind(this)),this.addDestroyFunc(()=>{this.destroyBean(this.autocompleteList)}),this.addGuiEventListener("focusout",()=>this.onFocusOut())}onValueChanged(e){const t=y(e);this.updateValue(t),this.updateAutocompleteList(t)}updateValue(e){this.updateLastPosition(),this.dispatchEvent({type:xd.EVENT_VALUE_CHANGED,value:e}),this.validate(e)}updateAutocompleteList(e){var t,a,r,o;const i=null!==(a=null===(t=this.listGenerator)||void 0===t?void 0:t.call(this,e,this.lastPosition))&&void 0!==a?a:{enabled:!1};if(i.type&&i.type===(null===(r=this.autocompleteListParams)||void 0===r?void 0:r.type)||this.isListOpen&&this.closeList(),this.autocompleteListParams=i,null===(o=this.autocompleteListParams)||void 0===o?void 0:o.enabled){this.isListOpen||this.openList();const{searchString:e}=this.autocompleteListParams;this.autocompleteList.setSearch(null!=e?e:"")}else this.isListOpen&&this.closeList()}onKeyDown(e){const t=e.key;switch(this.updateLastPosition(),t){case Wr.ENTER:this.onEnterKeyDown(e);break;case Wr.TAB:this.onTabKeyDown(e);break;case Wr.DOWN:case Wr.UP:this.onUpDownKeyDown(e,t);break;case Wr.LEFT:case Wr.RIGHT:case Wr.PAGE_HOME:case Wr.PAGE_END:setTimeout(()=>{this.updatePositionAndList()});break;case Wr.ESCAPE:this.onEscapeKeyDown(e);break;case Wr.SPACE:e.ctrlKey&&!this.isListOpen&&(e.preventDefault(),this.forceOpenList())}}confirmSelection(){var e;const t=null===(e=this.autocompleteList)||void 0===e?void 0:e.getSelectedValue();t&&(this.closeList(),this.dispatchEvent({type:xd.EVENT_OPTION_SELECTED,value:this.getValue(),position:this.lastPosition,updateEntry:t,autocompleteType:this.autocompleteListParams.type}))}onTabKeyDown(e){this.isListOpen&&(e.preventDefault(),e.stopPropagation(),this.confirmSelection())}onEnterKeyDown(e){e.preventDefault(),this.isListOpen?this.confirmSelection():this.onCompleted()}onUpDownKeyDown(e,t){var a;e.preventDefault(),this.isListOpen?null===(a=this.autocompleteList)||void 0===a||a.onNavigationKeyDown(e,t):this.forceOpenList()}onEscapeKeyDown(e){this.isListOpen&&(e.preventDefault(),e.stopPropagation(),this.closeList(),this.setCaret(this.lastPosition,!0))}onFocusOut(){this.isListOpen&&this.closeList()}updatePositionAndList(){var e;this.updateLastPosition(),this.updateAutocompleteList(null!==(e=this.eAutocompleteInput.getValue())&&void 0!==e?e:null)}setCaret(e,t){const a=this.gridOptionsService.getDocument();t&&a.activeElement===a.body&&this.eAutocompleteInput.getFocusableElement().focus();const r=this.eAutocompleteInput.getInputElement();r.setSelectionRange(e,e),e===r.value.length&&(r.scrollLeft=r.scrollWidth)}forceOpenList(){this.onValueChanged(this.eAutocompleteInput.getValue())}updateLastPosition(){var e;this.lastPosition=null!==(e=this.eAutocompleteInput.getInputElement().selectionStart)&&void 0!==e?e:0}validate(e){var t;this.validator&&(this.validationMessage=this.validator(e),this.eAutocompleteInput.getInputElement().setCustomValidity(null!==(t=this.validationMessage)&&void 0!==t?t:""),this.valid=!this.validationMessage,this.dispatchEvent({type:xd.EVENT_VALID_CHANGED,isValid:this.valid,validationMessage:this.validationMessage}))}openList(){this.isListOpen=!0,this.autocompleteList=this.createBean(new Ed({autocompleteEntries:this.autocompleteListParams.entries,onConfirmed:()=>this.confirmSelection(),forceLastSelection:this.forceLastSelection}));const e=this.autocompleteList.getGui(),t={ePopup:e,type:"autocomplete",eventSource:this.getGui(),position:"under",alignSide:this.gridOptionsService.get("enableRtl")?"right":"left",keepWithinBounds:!0},a=this.popupService.addPopup({eChild:e,anchorToElement:this.getGui(),positionCallback:()=>this.popupService.positionPopupByComponent(t),ariaLabel:this.listAriaLabel});this.hidePopup=a.hideFunc,this.autocompleteList.afterGuiAttached()}closeList(){this.isListOpen=!1,this.hidePopup(),this.destroyBean(this.autocompleteList),this.autocompleteList=null}onCompleted(){this.isListOpen&&this.closeList(),this.dispatchEvent({type:xd.EVENT_VALUE_CONFIRMED,value:this.getValue(),isValid:this.isValid()})}getValue(){return y(this.eAutocompleteInput.getValue())}setInputPlaceholder(e){return this.eAutocompleteInput.setInputPlaceholder(e),this}setInputAriaLabel(e){return this.eAutocompleteInput.setInputAriaLabel(e),this}setListAriaLabel(e){return this.listAriaLabel=e,this}setListGenerator(e){return this.listGenerator=e,this}setValidator(e){return this.validator=e,this}isValid(){return this.valid}setValue(e){const{value:t,position:a,silent:r,updateListOnlyIfOpen:o,restoreFocus:i}=e;this.eAutocompleteInput.setValue(t,!0),this.setCaret(null!=a?a:this.lastPosition,i),r||this.updateValue(t),o&&!this.isListOpen||this.updateAutocompleteList(t)}setForceLastSelection(e){return this.forceLastSelection=e,this}setInputDisabled(e){return this.eAutocompleteInput.setDisabled(e),this}}xd.EVENT_VALUE_CHANGED="eventValueChanged",xd.EVENT_VALUE_CONFIRMED="eventValueConfirmed",xd.EVENT_OPTION_SELECTED="eventOptionSelected",xd.EVENT_VALID_CHANGED="eventValidChanged",Rd([de("popupService")],xd.prototype,"popupService",void 0),Rd([ho("eAutocompleteInput")],xd.prototype,"eAutocompleteInput",void 0),Rd([le],xd.prototype,"postConstruct",null);const kd=["touchstart","touchend","touchmove","touchcancel"];class zd{constructor(e="javascript"){this.frameworkName=e,this.renderingEngine="vanilla",this.wrapIncoming=e=>e(),this.wrapOutgoing=e=>e()}setInterval(e,t){return new ao(a=>{a(window.setInterval(e,t))})}addEventListener(e,t,a,r){const o=He(kd,t);e.addEventListener(t,a,{capture:!!r,passive:o})}get shouldWrapOutgoing(){return!1}frameworkComponent(e){return null}isFrameworkComponent(e){return!1}getDocLink(e){return`https://www.ag-grid.com/${"solid"===this.frameworkName?"react":this.frameworkName}-data-grid${e?"/"+e:""}`}}var Td=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Ad=class extends at{getNextCellToFocus(e,t,a=!1){return a?this.getNextCellToFocusWithCtrlPressed(e,t):this.getNextCellToFocusWithoutCtrlPressed(e,t)}getNextCellToFocusWithCtrlPressed(e,t){const a=e===Wr.UP,r=e===Wr.DOWN,o=e===Wr.LEFT;let i,n;if(a||r)n=a?this.paginationProxy.getPageFirstRow():this.paginationProxy.getPageLastRow(),i=t.column;else{const e=this.columnModel.getAllDisplayedColumns(),a=this.gridOptionsService.get("enableRtl");n=t.rowIndex,i=o!==a?e[0]:Te(e)}return{rowIndex:n,rowPinned:null,column:i}}getNextCellToFocusWithoutCtrlPressed(e,t){let a=t,r=!1;for(;!r;){switch(e){case Wr.UP:a=this.getCellAbove(a);break;case Wr.DOWN:a=this.getCellBelow(a);break;case Wr.RIGHT:a=this.gridOptionsService.get("enableRtl")?this.getCellToLeft(a):this.getCellToRight(a);break;case Wr.LEFT:a=this.gridOptionsService.get("enableRtl")?this.getCellToRight(a):this.getCellToLeft(a);break;default:a=null,console.warn("AG Grid: unknown key for navigation "+e)}r=!a||this.isCellGoodToFocusOn(a)}return a}isCellGoodToFocusOn(e){const t=e.column;let a;switch(e.rowPinned){case"top":a=this.pinnedRowModel.getPinnedTopRow(e.rowIndex);break;case"bottom":a=this.pinnedRowModel.getPinnedBottomRow(e.rowIndex);break;default:a=this.rowModel.getRow(e.rowIndex)}if(!a)return!1;return!t.isSuppressNavigable(a)}getCellToLeft(e){if(!e)return null;const t=this.columnModel.getDisplayedColBefore(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getCellToRight(e){if(!e)return null;const t=this.columnModel.getDisplayedColAfter(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getRowBelow(e){const t=e.rowIndex,a=e.rowPinned;if(this.isLastRowInContainer(e))switch(a){case"bottom":return null;case"top":return this.rowModel.isRowsToRender()?{rowIndex:this.paginationProxy.getPageFirstRow(),rowPinned:null}:this.pinnedRowModel.isRowsToRender("bottom")?{rowIndex:0,rowPinned:"bottom"}:null;default:return this.pinnedRowModel.isRowsToRender("bottom")?{rowIndex:0,rowPinned:"bottom"}:null}const r=this.rowModel.getRow(e.rowIndex),o=this.getNextStickyPosition(r);return o||{rowIndex:t+1,rowPinned:a}}getNextStickyPosition(e,t){if(!this.gridOptionsService.isGroupRowsSticky()||!e||!e.sticky)return;const a=[...this.rowRenderer.getStickyTopRowCtrls()].sort((e,t)=>e.getRowNode().rowIndex-t.getRowNode().rowIndex),r=t?-1:1,o=a.findIndex(t=>t.getRowNode().rowIndex===e.rowIndex),i=a[o+r];return i?{rowIndex:i.getRowNode().rowIndex,rowPinned:null}:void 0}getCellBelow(e){if(!e)return null;const t=this.getRowBelow(e);return t?{rowIndex:t.rowIndex,column:e.column,rowPinned:t.rowPinned}:null}isLastRowInContainer(e){const t=e.rowPinned,a=e.rowIndex;if("top"===t){return this.pinnedRowModel.getPinnedTopRowData().length-1<=a}if("bottom"===t){return this.pinnedRowModel.getPinnedBottomRowData().length-1<=a}return this.paginationProxy.getPageLastRow()<=a}getRowAbove(e){const t=e.rowIndex,a=e.rowPinned;if(a?0===t:t===this.paginationProxy.getPageFirstRow())return"top"===a?null:a&&this.rowModel.isRowsToRender()?this.getLastBodyCell():this.pinnedRowModel.isRowsToRender("top")?this.getLastFloatingTopRow():null;const r=this.rowModel.getRow(e.rowIndex),o=this.getNextStickyPosition(r,!0);return o||{rowIndex:t-1,rowPinned:a}}getCellAbove(e){if(!e)return null;const t=this.getRowAbove({rowIndex:e.rowIndex,rowPinned:e.rowPinned});return t?{rowIndex:t.rowIndex,column:e.column,rowPinned:t.rowPinned}:null}getLastBodyCell(){return{rowIndex:this.paginationProxy.getPageLastRow(),rowPinned:null}}getLastFloatingTopRow(){return{rowIndex:this.pinnedRowModel.getPinnedTopRowData().length-1,rowPinned:"top"}}getNextTabbedCell(e,t){return t?this.getNextTabbedCellBackwards(e):this.getNextTabbedCellForwards(e)}getNextTabbedCellForwards(e){const t=this.columnModel.getAllDisplayedColumns();let a=e.rowIndex,r=e.rowPinned,o=this.columnModel.getDisplayedColAfter(e.column);if(!o){o=t[0];const i=this.getRowBelow(e);if(E(i))return null;if(!i.rowPinned&&!this.paginationProxy.isRowInPage(i))return null;a=i?i.rowIndex:null,r=i?i.rowPinned:null}return{rowIndex:a,column:o,rowPinned:r}}getNextTabbedCellBackwards(e){const t=this.columnModel.getAllDisplayedColumns();let a=e.rowIndex,r=e.rowPinned,o=this.columnModel.getDisplayedColBefore(e.column);if(!o){o=Te(t);const i=this.getRowAbove({rowIndex:e.rowIndex,rowPinned:e.rowPinned});if(E(i))return null;if(!i.rowPinned&&!this.paginationProxy.isRowInPage(i))return null;a=i?i.rowIndex:null,r=i?i.rowPinned:null}return{rowIndex:a,column:o,rowPinned:r}}};Td([de("columnModel")],Ad.prototype,"columnModel",void 0),Td([de("rowModel")],Ad.prototype,"rowModel",void 0),Td([de("rowRenderer")],Ad.prototype,"rowRenderer",void 0),Td([de("pinnedRowModel")],Ad.prototype,"pinnedRowModel",void 0),Td([de("paginationProxy")],Ad.prototype,"paginationProxy",void 0),Ad=Td([ge("cellNavigationService")],Ad);var Dd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},Od=function(e,t){return function(a,r){t(a,r,e)}};let Md=class extends at{constructor(){super(...arguments),this.consuming=!1}setBeans(e){this.logger=e.create("AlignedGridsService")}getAlignedGridApis(){var e;let t=null!==(e=this.gridOptionsService.get("alignedGrids"))&&void 0!==e?e:[];const a="function"==typeof t;"function"==typeof t&&(t=t());const r=()=>"See "+this.getFrameworkOverrides().getDocLink("aligned-grids");return t.map(e=>{var t;if(!e)return W("alignedGrids contains an undefined option."),a||W('You may want to configure via a callback to avoid setup race conditions:\n "alignedGrids: () => [linkedGrid]"'),void W(r());if(e instanceof Un)return e;const o=e;return"current"in o?null===(t=o.current)||void 0===t?void 0:t.api:(o.api||W("alignedGrids - No api found on the linked grid. If you are passing gridOptions to alignedGrids since v31 this is no longer valid. "+r()),o.api)}).filter(e=>!!e&&!e.isDestroyed())}init(){this.addManagedListener(this.eventService,st.EVENT_COLUMN_MOVED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VISIBLE,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PINNED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_GROUP_OPENED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_RESIZED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,st.EVENT_BODY_SCROLL,this.fireScrollEvent.bind(this))}fireEvent(e){this.consuming||this.getAlignedGridApis().forEach(t=>{const a=t.__getAlignedGridService();e(a)})}onEvent(e){this.consuming=!0,e(),this.consuming=!1}fireColumnEvent(e){this.fireEvent(t=>{t.onColumnEvent(e)})}fireScrollEvent(e){"horizontal"===e.direction&&this.fireEvent(t=>{t.onScrollEvent(e)})}onScrollEvent(e){this.onEvent(()=>{this.ctrlsService.getGridBodyCtrl().getScrollFeature().setHorizontalScrollPosition(e.left,!0)})}getMasterColumns(e){const t=[];return e.columns?e.columns.forEach(e=>{t.push(e)}):e.column&&t.push(e.column),t}getColumnIds(e){const t=[];return e.columns?e.columns.forEach(e=>{t.push(e.getColId())}):e.column&&t.push(e.column.getColId()),t}onColumnEvent(e){this.onEvent(()=>{switch(e.type){case st.EVENT_COLUMN_MOVED:case st.EVENT_COLUMN_VISIBLE:case st.EVENT_COLUMN_PINNED:case st.EVENT_COLUMN_RESIZED:const t=e;this.processColumnEvent(t);break;case st.EVENT_COLUMN_GROUP_OPENED:const a=e;this.processGroupOpenedEvent(a);break;case st.EVENT_COLUMN_PIVOT_CHANGED:console.warn("AG Grid: pivoting is not supported with aligned grids. You can only use one of these features at a time in a grid.")}})}processGroupOpenedEvent(e){e.columnGroups.forEach(t=>{let a=null;if(t){const e=t.getGroupId();a=this.columnModel.getProvidedColumnGroup(e)}t&&!a||(this.logger.log("onColumnEvent-> processing "+e+" expanded = "+t.isExpanded()),this.columnModel.setColumnGroupOpened(a,t.isExpanded(),"alignedGridChanged"))})}processColumnEvent(e){var t;const a=e.column;let r=null;if(a&&(r=this.columnModel.getPrimaryColumn(a.getColId())),a&&!r)return;const o=this.getMasterColumns(e);switch(e.type){case st.EVENT_COLUMN_MOVED:{const t=e,a=e.api.getColumnState().map(e=>({colId:e.colId}));this.columnModel.applyColumnState({state:a,applyOrder:!0},"alignedGridChanged"),this.logger.log(`onColumnEvent-> processing ${e.type} toIndex = ${t.toIndex}`)}break;case st.EVENT_COLUMN_VISIBLE:{const t=e,a=e.api.getColumnState().map(e=>({colId:e.colId,hide:e.hide}));this.columnModel.applyColumnState({state:a},"alignedGridChanged"),this.logger.log(`onColumnEvent-> processing ${e.type} visible = ${t.visible}`)}break;case st.EVENT_COLUMN_PINNED:{const t=e,a=e.api.getColumnState().map(e=>({colId:e.colId,pinned:e.pinned}));this.columnModel.applyColumnState({state:a},"alignedGridChanged"),this.logger.log(`onColumnEvent-> processing ${e.type} pinned = ${t.pinned}`)}break;case st.EVENT_COLUMN_RESIZED:const a=e,r={};o.forEach(t=>{this.logger.log(`onColumnEvent-> processing ${e.type} actualWidth = ${t.getActualWidth()}`),r[t.getId()]={key:t.getColId(),newWidth:t.getActualWidth()}}),null===(t=a.flexColumns)||void 0===t||t.forEach(e=>{r[e.getId()]&&delete r[e.getId()]}),this.columnModel.setColumnWidths(Object.values(r),!1,a.finished,"alignedGridChanged")}const i=this.ctrlsService.getGridBodyCtrl().isVerticalScrollShowing();this.getAlignedGridApis().forEach(e=>{e.setGridOption("alwaysShowVerticalScroll",i)})}};Dd([de("columnModel")],Md.prototype,"columnModel",void 0),Dd([de("ctrlsService")],Md.prototype,"ctrlsService",void 0),Dd([Od(0,pe("loggerFactory"))],Md.prototype,"setBeans",null),Dd([le],Md.prototype,"init",null),Md=Dd([ge("alignedGridsService")],Md);var Pd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Ld=class extends at{constructor(){super(...arguments),this.selectedNodes=new Map,this.lastRowNode=null}init(){this.rowSelection=this.gridOptionsService.get("rowSelection"),this.groupSelectsChildren=this.gridOptionsService.get("groupSelectsChildren"),this.addManagedPropertyListeners(["groupSelectsChildren","rowSelection"],()=>{this.groupSelectsChildren=this.gridOptionsService.get("groupSelectsChildren"),this.rowSelection=this.gridOptionsService.get("rowSelection"),this.deselectAllRowNodes({source:"api"})}),this.addManagedListener(this.eventService,st.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))}destroy(){super.destroy(),this.resetNodes(),this.lastRowNode=null}isMultiselect(){return"multiple"===this.rowSelection}setNodesSelected(e){var t;const{newValue:a,clearSelection:r,suppressFinishActions:o,rangeSelect:i,nodes:n,event:l,source:s="api"}=e;if(0===n.length)return 0;if(n.length>1&&!this.isMultiselect())return console.warn("AG Grid: cannot multi select while rowSelection='single'"),0;const g=this.groupSelectsChildren&&!0===e.groupSelectsFiltered,d=n.map(e=>e.footer?e.sibling:e);if(i){if(n.length>1)return console.warn("AG Grid: cannot range select while selecting multiple rows"),0;let e=null;if("checkboxSelected"===s&&!1===a&&this.lastRowNode&&(this.lastRowNode.id?e=this.lastRowNode:this.lastRowNode=null),null==e&&(e=this.getLastSelectedNode()),e){const t=d[0];if(t!==e&&this.isMultiselect())return this.selectRange(t,e,a,s)}}this.lastRowNode=a?null:d[0];let c=0;for(let e=0;e<d.length;e++){const r=d[e];if(!(g&&r.group)){r.selectThisNode(a,l,s)&&c++}this.groupSelectsChildren&&(null===(t=r.childrenAfterGroup)||void 0===t?void 0:t.length)&&(c+=this.selectChildren(r,a,g,s))}if(!o){if(a&&(r||!this.isMultiselect())&&(c+=this.clearOtherNodes(d[0],s)),c>0){this.updateGroupsFromChildrenSelections(s);const e={type:st.EVENT_SELECTION_CHANGED,source:s};this.eventService.dispatchEvent(e)}}return c}selectRange(e,t,a=!0,r){const o=this.rowModel.getNodesInRangeForSelection(e,t);let i=0;o.forEach(e=>{if(e.group&&this.groupSelectsChildren)return;e.selectThisNode(a,void 0,r)&&i++}),this.updateGroupsFromChildrenSelections(r);const n={type:st.EVENT_SELECTION_CHANGED,source:r};return this.eventService.dispatchEvent(n),i}selectChildren(e,t,a,r){const o=a?e.childrenAfterAggFilter:e.childrenAfterGroup;return E(o)?0:this.setNodesSelected({newValue:t,clearSelection:!1,suppressFinishActions:!0,groupSelectsFiltered:a,source:r,nodes:o})}getLastSelectedNode(){const e=Array.from(this.selectedNodes.keys());if(0==e.length)return null;const t=this.selectedNodes.get(Te(e));return t||null}getSelectedNodes(){const e=[];return this.selectedNodes.forEach(t=>{t&&e.push(t)}),e}getSelectedRows(){const e=[];return this.selectedNodes.forEach(t=>{t&&t.data&&e.push(t.data)}),e}getSelectionCount(){return this.selectedNodes.size}filterFromSelection(e){const t=new Map;this.selectedNodes.forEach((a,r)=>{a&&e(a)&&t.set(r,a)}),this.selectedNodes=t}updateGroupsFromChildrenSelections(e,t){if(!this.groupSelectsChildren)return!1;if("clientSide"!==this.rowModel.getType())return!1;const a=this.rowModel.getRootNode();t||(t=new Fg(!0,a)).setInactive();let r=!1;return t.forEachChangedNodeDepthFirst(t=>{if(t!==a){const a=t.calculateSelectedFromChildren();r=t.selectThisNode(null!==a&&a,void 0,e)||r}}),r}clearOtherNodes(e,t){const a=new Map;let r=0;return this.selectedNodes.forEach(o=>{if(o&&o.id!==e.id){const e=this.selectedNodes.get(o.id);r+=e.setSelectedParams({newValue:!1,clearSelection:!1,suppressFinishActions:!0,source:t}),this.groupSelectsChildren&&o.parent&&a.set(o.parent.id,o.parent)}}),a.forEach(e=>{const a=e.calculateSelectedFromChildren();e.selectThisNode(null!==a&&a,void 0,t)}),r}onRowSelected(e){const t=e.node;this.groupSelectsChildren&&t.group||(t.isSelected()?this.selectedNodes.set(t.id,t):this.selectedNodes.delete(t.id))}syncInRowNode(e,t){this.syncInOldRowNode(e,t),this.syncInNewRowNode(e)}syncInOldRowNode(e,t){if(S(t)&&e.id!==t.id&&t){const a=t.id;this.selectedNodes.get(a)==e&&this.selectedNodes.set(t.id,t)}}syncInNewRowNode(e){this.selectedNodes.has(e.id)?(e.setSelectedInitialValue(!0),this.selectedNodes.set(e.id,e)):e.setSelectedInitialValue(!1)}reset(e){const t=this.getSelectionCount();if(this.resetNodes(),t){const t={type:st.EVENT_SELECTION_CHANGED,source:e};this.eventService.dispatchEvent(t)}}resetNodes(){var e;null===(e=this.selectedNodes)||void 0===e||e.clear()}getBestCostNodeSelection(){if("clientSide"!==this.rowModel.getType())return;const e=this.rowModel.getTopLevelNodes();if(null===e)return;const t=[];return function e(a){for(let r=0,o=a.length;r<o;r++){const o=a[r];if(o.isSelected())t.push(o);else{const t=o;t.group&&t.children&&e(t.children)}}}(e),t}isEmpty(){let e=0;return this.selectedNodes.forEach(t=>{t&&e++}),0===e}deselectAllRowNodes(e){const t=e=>e.selectThisNode(!1,void 0,r),a="clientSide"===this.rowModel.getType(),{source:r,justFiltered:o,justCurrentPage:i}=e;if(i||o){if(!a)return void console.error("AG Grid: selecting just filtered only works when gridOptions.rowModelType='clientSide'");this.getNodesToSelect(o,i).forEach(t)}else this.selectedNodes.forEach(e=>{e&&t(e)}),this.reset(r);a&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections(r);const n={type:st.EVENT_SELECTION_CHANGED,source:r};this.eventService.dispatchEvent(n)}getSelectedCounts(e,t){let a=0,r=0;return this.getNodesToSelect(e,t).forEach(e=>{this.groupSelectsChildren&&e.group||(e.isSelected()?a++:e.selectable&&r++)}),{selectedCount:a,notSelectedCount:r}}getSelectAllState(e,t){const{selectedCount:a,notSelectedCount:r}=this.getSelectedCounts(e,t);return(0!==a||0!==r)&&(a>0&&r>0?null:a>0)}hasNodesToSelect(e=!1,t=!1){return this.getNodesToSelect(e,t).filter(e=>e.selectable).length>0}getNodesToSelect(e=!1,t=!1){if("clientSide"!==this.rowModel.getType())throw new Error("selectAll only available when rowModelType='clientSide', ie not "+this.rowModel.getType());const a=[];if(t)return this.paginationProxy.forEachNodeOnPage(e=>{if(e.group)if(e.expanded)this.groupSelectsChildren||a.push(e);else{const t=e=>{var r;a.push(e),(null===(r=e.childrenAfterFilter)||void 0===r?void 0:r.length)&&e.childrenAfterFilter.forEach(t)};t(e)}else a.push(e)}),a;const r=this.rowModel;return e?(r.forEachNodeAfterFilter(e=>{a.push(e)}),a):(r.forEachNode(e=>{a.push(e)}),a)}selectAllRowNodes(e){if("clientSide"!==this.rowModel.getType())throw new Error("selectAll only available when rowModelType='clientSide', ie not "+this.rowModel.getType());const{source:t,justFiltered:a,justCurrentPage:r}=e;this.getNodesToSelect(a,r).forEach(e=>e.selectThisNode(!0,void 0,t)),"clientSide"===this.rowModel.getType()&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections(t);const o={type:st.EVENT_SELECTION_CHANGED,source:t};this.eventService.dispatchEvent(o)}getSelectionState(){const e=[];return this.selectedNodes.forEach(t=>{(null==t?void 0:t.id)&&e.push(t.id)}),e.length?e:null}setSelectionState(e,t){if(!Array.isArray(e))return;const a=new Set(e),r=[];this.rowModel.forEachNode(e=>{a.has(e.id)&&r.push(e)}),this.setNodesSelected({newValue:!0,nodes:r,source:t})}};Pd([de("rowModel")],Ld.prototype,"rowModel",void 0),Pd([de("paginationProxy")],Ld.prototype,"paginationProxy",void 0),Pd([le],Ld.prototype,"init",null),Ld=Pd([ge("selectionService")],Ld);var Nd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Fd=class{constructor(e){this.viaApi=(e,...t)=>(q(`Since v31, 'columnApi.${e}' is deprecated and moved to 'api.${e}'.`),this.api[e](...t)),this.api=e}sizeColumnsToFit(e){this.viaApi("sizeColumnsToFit",e)}setColumnGroupOpened(e,t){this.viaApi("setColumnGroupOpened",e,t)}getColumnGroup(e,t){return this.viaApi("getColumnGroup",e,t)}getProvidedColumnGroup(e){return this.viaApi("getProvidedColumnGroup",e)}getDisplayNameForColumn(e,t){return this.viaApi("getDisplayNameForColumn",e,t)}getDisplayNameForColumnGroup(e,t){return this.viaApi("getDisplayNameForColumnGroup",e,t)}getColumn(e){return this.viaApi("getColumn",e)}getColumns(){return this.viaApi("getColumns")}applyColumnState(e){return this.viaApi("applyColumnState",e)}getColumnState(){return this.viaApi("getColumnState")}resetColumnState(){this.viaApi("resetColumnState")}getColumnGroupState(){return this.viaApi("getColumnGroupState")}setColumnGroupState(e){this.viaApi("setColumnGroupState",e)}resetColumnGroupState(){this.viaApi("resetColumnGroupState")}isPinning(){return this.viaApi("isPinning")}isPinningLeft(){return this.viaApi("isPinningLeft")}isPinningRight(){return this.viaApi("isPinningRight")}getDisplayedColAfter(e){return this.viaApi("getDisplayedColAfter",e)}getDisplayedColBefore(e){return this.viaApi("getDisplayedColBefore",e)}setColumnVisible(e,t){this.viaApi("setColumnVisible",e,t)}setColumnsVisible(e,t){this.viaApi("setColumnsVisible",e,t)}setColumnPinned(e,t){this.viaApi("setColumnPinned",e,t)}setColumnsPinned(e,t){this.viaApi("setColumnsPinned",e,t)}getAllGridColumns(){return this.viaApi("getAllGridColumns")}getDisplayedLeftColumns(){return this.viaApi("getDisplayedLeftColumns")}getDisplayedCenterColumns(){return this.viaApi("getDisplayedCenterColumns")}getDisplayedRightColumns(){return this.viaApi("getDisplayedRightColumns")}getAllDisplayedColumns(){return this.viaApi("getAllDisplayedColumns")}getAllDisplayedVirtualColumns(){return this.viaApi("getAllDisplayedVirtualColumns")}moveColumn(e,t){this.viaApi("moveColumn",e,t)}moveColumnByIndex(e,t){this.viaApi("moveColumnByIndex",e,t)}moveColumns(e,t){this.viaApi("moveColumns",e,t)}moveRowGroupColumn(e,t){this.viaApi("moveRowGroupColumn",e,t)}setColumnAggFunc(e,t){this.viaApi("setColumnAggFunc",e,t)}setColumnWidth(e,t,a=!0,r){this.viaApi("setColumnWidth",e,t,a,r)}setColumnWidths(e,t=!0,a){this.viaApi("setColumnWidths",e,t,a)}setPivotMode(e){this.viaApi("setPivotMode",e)}isPivotMode(){return this.viaApi("isPivotMode")}getPivotResultColumn(e,t){return this.viaApi("getPivotResultColumn",e,t)}setValueColumns(e){this.viaApi("setValueColumns",e)}getValueColumns(){return this.viaApi("getValueColumns")}removeValueColumn(e){this.viaApi("removeValueColumn",e)}removeValueColumns(e){this.viaApi("removeValueColumns",e)}addValueColumn(e){this.viaApi("addValueColumn",e)}addValueColumns(e){this.viaApi("addValueColumns",e)}setRowGroupColumns(e){this.viaApi("setRowGroupColumns",e)}removeRowGroupColumn(e){this.viaApi("removeRowGroupColumn",e)}removeRowGroupColumns(e){this.viaApi("removeRowGroupColumns",e)}addRowGroupColumn(e){this.viaApi("addRowGroupColumn",e)}addRowGroupColumns(e){this.viaApi("addRowGroupColumns",e)}getRowGroupColumns(){return this.viaApi("getRowGroupColumns")}setPivotColumns(e){this.viaApi("setPivotColumns",e)}removePivotColumn(e){this.viaApi("removePivotColumn",e)}removePivotColumns(e){this.viaApi("removePivotColumns",e)}addPivotColumn(e){this.viaApi("addPivotColumn",e)}addPivotColumns(e){this.viaApi("addPivotColumns",e)}getPivotColumns(){return this.viaApi("getPivotColumns")}getLeftDisplayedColumnGroups(){return this.viaApi("getLeftDisplayedColumnGroups")}getCenterDisplayedColumnGroups(){return this.viaApi("getCenterDisplayedColumnGroups")}getRightDisplayedColumnGroups(){return this.viaApi("getRightDisplayedColumnGroups")}getAllDisplayedColumnGroups(){return this.viaApi("getAllDisplayedColumnGroups")}autoSizeColumn(e,t){return this.viaApi("autoSizeColumn",e,t)}autoSizeColumns(e,t){this.viaApi("autoSizeColumns",e,t)}autoSizeAllColumns(e){this.viaApi("autoSizeAllColumns",e)}setPivotResultColumns(e){this.viaApi("setPivotResultColumns",e)}getPivotResultColumns(){return this.viaApi("getPivotResultColumns")}};Nd([de("gridApi")],Fd.prototype,"api",void 0),Fd=Nd([ge("columnApi")],Fd);var Id=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Gd=class extends at{constructor(){super(...arguments),this.initialised=!1,this.isSsrm=!1}init(){this.isSsrm=this.gridOptionsService.isRowModelType("serverSide"),this.cellExpressions=this.gridOptionsService.get("enableCellExpressions"),this.isTreeData=this.gridOptionsService.get("treeData"),this.initialised=!0;const e=e=>this.callColumnCellValueChangedHandler(e),t=this.gridOptionsService.useAsyncEvents();this.eventService.addEventListener(st.EVENT_CELL_VALUE_CHANGED,e,t),this.addDestroyFunc(()=>this.eventService.removeEventListener(st.EVENT_CELL_VALUE_CHANGED,e,t)),this.addManagedPropertyListener("treeData",e=>this.isTreeData=e.currentValue)}getValue(e,t,a=!1,r=!1){if(this.initialised||this.init(),!t)return;const o=e.getColDef(),i=o.field,n=e.getColId(),l=t.data;let s;const g=t.groupData&&void 0!==t.groupData[n],d=!r&&t.aggData&&void 0!==t.aggData[n],c=this.isSsrm&&r&&!!e.getColDef().aggFunc,u=this.isSsrm&&t.footer&&t.field&&(!0===e.getColDef().showRowGroup||e.getColDef().showRowGroup===t.field);if(a&&o.filterValueGetter?s=this.executeFilterValueGetter(o.filterValueGetter,l,e,t):this.isTreeData&&d?s=t.aggData[n]:this.isTreeData&&o.valueGetter?s=this.executeValueGetter(o.valueGetter,l,e,t):this.isTreeData&&i&&l?s=G(l,i,e.isFieldContainsDots()):g?s=t.groupData[n]:d?s=t.aggData[n]:o.valueGetter?s=this.executeValueGetter(o.valueGetter,l,e,t):u?s=G(l,t.field,e.isFieldContainsDots()):i&&l&&!c&&(s=G(l,i,e.isFieldContainsDots())),this.cellExpressions&&"string"==typeof s&&0===s.indexOf("=")){const a=s.substring(1);s=this.executeValueGetter(a,l,e,t)}if(null==s){const a=this.getOpenedGroup(t,e);if(null!=a)return a}return s}getOpenedGroup(e,t){if(!this.gridOptionsService.get("showOpenedGroup"))return;if(!t.getColDef().showRowGroup)return;const a=t.getColDef().showRowGroup;let r=e.parent;for(;null!=r;){if(r.rowGroupColumn&&(!0===a||a===r.rowGroupColumn.getColId()))return r.key;r=r.parent}}setValue(e,t,a,r){const o=this.columnModel.getPrimaryColumn(t);if(!e||!o)return!1;E(e.data)&&(e.data={});const{field:i,valueSetter:n}=o.getColDef();if(E(i)&&E(n))return console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work"),!1;if(!this.dataTypeService.checkType(o,a))return console.warn("AG Grid: Data type of the new value does not match the cell data type of the column"),!1;const l=this.gridOptionsService.addGridCommonParams({node:e,data:e.data,oldValue:this.getValue(o,e),newValue:a,colDef:o.getColDef(),column:o});let s;if(l.newValue=a,s=S(n)?"function"==typeof n?n(l):this.expressionService.evaluate(n,l):this.setValueUsingField(e.data,i,a,o.isFieldContainsDots()),void 0===s&&(s=!0),!s)return!1;e.resetQuickFilterAggregateText(),this.valueCache.onDataChanged(),l.newValue=this.getValue(o,e);const g={type:st.EVENT_CELL_VALUE_CHANGED,event:null,rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:l.column,api:l.api,columnApi:l.columnApi,colDef:l.colDef,context:l.context,data:e.data,node:e,oldValue:l.oldValue,newValue:l.newValue,value:l.newValue,source:r};return this.eventService.dispatchEvent(g),!0}callColumnCellValueChangedHandler(e){const t=e.colDef.onCellValueChanged;"function"==typeof t&&this.getFrameworkOverrides().wrapOutgoing(()=>{t({node:e.node,data:e.data,oldValue:e.oldValue,newValue:e.newValue,colDef:e.colDef,column:e.column,api:e.api,columnApi:e.columnApi,context:e.context})})}setValueUsingField(e,t,a,r){if(!t)return!1;let o=!1;if(r){const r=t.split(".");let i=e;for(;r.length>0&&i;){const e=r.shift();0===r.length?(o=i[e]===a,o||(i[e]=a)):i=i[e]}}else o=e[t]===a,o||(e[t]=a);return!o}executeFilterValueGetter(e,t,a,r){const o=this.gridOptionsService.addGridCommonParams({data:t,node:r,column:a,colDef:a.getColDef(),getValue:this.getValueCallback.bind(this,r)});return"function"==typeof e?e(o):this.expressionService.evaluate(e,o)}executeValueGetter(e,t,a,r){const o=a.getColId(),i=this.valueCache.getValue(r,o);if(void 0!==i)return i;const n=this.gridOptionsService.addGridCommonParams({data:t,node:r,column:a,colDef:a.getColDef(),getValue:this.getValueCallback.bind(this,r)});let l;return l="function"==typeof e?e(n):this.expressionService.evaluate(e,n),this.valueCache.setValue(r,o,l),l}getValueCallback(e,t){const a=this.columnModel.getPrimaryColumn(t);return a?this.getValue(a,e):null}getKeyForNode(e,t){const a=this.getValue(e,t),r=e.getColDef().keyCreator;let o=a;if(r){o=r(this.gridOptionsService.addGridCommonParams({value:a,colDef:e.getColDef(),column:e,node:t,data:t.data}))}return"string"==typeof o||null==o||(o=String(o),"[object Object]"===o&&q("a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key")),o}};Id([de("expressionService")],Gd.prototype,"expressionService",void 0),Id([de("columnModel")],Gd.prototype,"columnModel",void 0),Id([de("valueCache")],Gd.prototype,"valueCache",void 0),Id([de("dataTypeService")],Gd.prototype,"dataTypeService",void 0),Id([le],Gd.prototype,"init",null),Gd=Id([ge("valueService")],Gd);var Vd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},Hd=function(e,t){return function(a,r){t(a,r,e)}};let _d=class extends at{constructor(){super(...arguments),this.expressionToFunctionCache={}}setBeans(e){this.logger=e.create("ExpressionService")}evaluate(e,t){if("string"==typeof e)return this.evaluateExpression(e,t);console.error("AG Grid: value should be either a string or a function",e)}evaluateExpression(e,t){try{const a=this.createExpressionFunction(e);return a(t.value,t.context,t.oldValue,t.newValue,t.value,t.node,t.data,t.colDef,t.rowIndex,t.api,t.columnApi,t.getValue,t.column,t.columnGroup)}catch(a){return console.log("Processing of the expression failed"),console.log("Expression = "+e),console.log("Params =",t),console.log("Exception = "+a),null}}createExpressionFunction(e){if(this.expressionToFunctionCache[e])return this.expressionToFunctionCache[e];const t=this.createFunctionBody(e),a=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, columnApi, getValue, column, columnGroup",t);return this.expressionToFunctionCache[e]=a,a}createFunctionBody(e){return e.indexOf("return")>=0?e:"return "+e+";"}};Vd([Hd(0,pe("loggerFactory"))],_d.prototype,"setBeans",null),_d=Vd([ge("expressionService")],_d);var Bd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let qd=class extends at{constructor(){super(...arguments),this.templateCache={},this.waitingCallbacks={}}getTemplate(e,t){const a=this.templateCache[e];if(a)return a;let r=this.waitingCallbacks[e];const o=this;if(!r){r=[],this.waitingCallbacks[e]=r;const t=new XMLHttpRequest;t.onload=function(){o.handleHttpResult(this,e)},t.open("GET",e),t.send()}return t&&r.push(t),null}handleHttpResult(e,t){if(200!==e.status||null===e.response)return void console.warn(`AG Grid: Unable to get template error ${e.status} - ${t}`);this.templateCache[t]=e.response||e.responseText;const a=this.waitingCallbacks[t];for(let e=0;e<a.length;e++){(0,a[e])()}}};qd=Bd([ge("templateService")],qd);var Wd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},Ud=function(e,t){return function(a,r){t(a,r,e)}};let jd=class extends at{setBeans(e){this.logging=e.get("debug")}create(e){return new Kd(e,this.isLogging.bind(this))}isLogging(){return this.logging}};Wd([Ud(0,pe("gridOptionsService"))],jd.prototype,"setBeans",null),jd=Wd([ge("loggerFactory")],jd);class Kd{constructor(e,t){this.name=e,this.isLoggingFunc=t}isLogging(){return this.isLoggingFunc()}log(e){this.isLoggingFunc()&&console.log("AG Grid."+this.name+": "+e)}}var Yd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Qd extends at{setComp(e,t,a){this.view=e,this.eGridHostDiv=t,this.eGui=a,this.eGui.setAttribute("grid-id",this.context.getGridId()),this.dragAndDropService.addDropTarget({getContainer:()=>this.eGui,isInterestedIn:e=>e===Ni.HeaderCell||e===Ni.ToolPanel,getIconName:()=>Ii.ICON_NOT_ALLOWED}),this.mouseEventService.stampTopLevelGridCompWithGridInstance(t),this.createManagedBean(new al(this.view)),this.addRtlSupport();const r=this.resizeObserverService.observeResize(this.eGridHostDiv,this.onGridSizeChanged.bind(this));this.addDestroyFunc(()=>r()),this.ctrlsService.registerGridCtrl(this)}isDetailGrid(){var e;const t=this.focusService.findTabbableParent(this.getGui());return(null===(e=null==t?void 0:t.getAttribute("row-id"))||void 0===e?void 0:e.startsWith("detail"))||!1}showDropZones(){return oe.__isRegistered(re.RowGroupingModule,this.context.getGridId())}showSideBar(){return oe.__isRegistered(re.SideBarModule,this.context.getGridId())}showStatusBar(){return oe.__isRegistered(re.StatusBarModule,this.context.getGridId())}showWatermark(){return oe.__isRegistered(re.EnterpriseCoreModule,this.context.getGridId())}onGridSizeChanged(){const e={type:st.EVENT_GRID_SIZE_CHANGED,clientWidth:this.eGridHostDiv.clientWidth,clientHeight:this.eGridHostDiv.clientHeight};this.eventService.dispatchEvent(e)}addRtlSupport(){const e=this.gridOptionsService.get("enableRtl")?"ag-rtl":"ag-ltr";this.view.setRtlClass(e)}destroyGridUi(){this.view.destroyGridUi()}getGui(){return this.eGui}setResizeCursor(e){this.view.setCursor(e?"ew-resize":null)}disableUserSelect(e){this.view.setUserSelect(e?"none":null)}focusNextInnerContainer(e){const t=this.gridOptionsService.getDocument(),a=this.view.getFocusableContainers(),r=a.findIndex(e=>e.contains(t.activeElement))+(e?-1:1);return!(r<=0||r>=a.length)&&this.focusService.focusInto(a[r])}focusInnerElement(e){const t=this.view.getFocusableContainers(),a=this.columnModel.getAllDisplayedColumns();if(e){if(t.length>1)return this.focusService.focusInto(Te(t),!0);const e=Te(a);if(this.focusService.focusGridView(e,!0))return!0}if(0===this.gridOptionsService.get("headerHeight")||this.gridOptionsService.get("suppressHeaderFocus")){if(this.focusService.focusGridView(a[0]))return!0;for(let e=1;e<t.length;e++)if(this.focusService.focusInto(t[e]))return!0;return!1}return this.focusService.focusFirstHeader()}forceFocusOutOfContainer(e=!1){this.view.forceFocusOutOfContainer(e)}}Yd([de("focusService")],Qd.prototype,"focusService",void 0),Yd([de("resizeObserverService")],Qd.prototype,"resizeObserverService",void 0),Yd([de("columnModel")],Qd.prototype,"columnModel",void 0),Yd([de("ctrlsService")],Qd.prototype,"ctrlsService",void 0),Yd([de("mouseEventService")],Qd.prototype,"mouseEventService",void 0),Yd([de("dragAndDropService")],Qd.prototype,"dragAndDropService",void 0);var Jd=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Xd extends ug{constructor(e){super(),this.eGridDiv=e}postConstruct(){this.logger=this.loggerFactory.create("GridComp");const e={destroyGridUi:()=>this.destroyBean(this),setRtlClass:e=>this.addCssClass(e),forceFocusOutOfContainer:this.forceFocusOutOfContainer.bind(this),updateLayoutClasses:this.updateLayoutClasses.bind(this),getFocusableContainers:this.getFocusableContainers.bind(this),setUserSelect:e=>{this.getGui().style.userSelect=null!=e?e:"",this.getGui().style.webkitUserSelect=null!=e?e:""},setCursor:e=>{this.getGui().style.cursor=null!=e?e:""}};this.ctrl=this.createManagedBean(new Qd);const t=this.createTemplate();this.setTemplate(t),this.ctrl.setComp(e,this.eGridDiv,this.getGui()),this.insertGridIntoDom(),this.initialiseTabGuard({onTabKeyDown:()=>{},focusInnerElement:e=>this.ctrl.focusInnerElement(e),forceFocusOutWhenTabGuardsAreEmpty:!0})}insertGridIntoDom(){const e=this.getGui();this.eGridDiv.appendChild(e),this.addDestroyFunc(()=>{this.eGridDiv.removeChild(e),this.logger.log("Grid removed from DOM")})}updateLayoutClasses(e,t){const a=this.eRootWrapperBody.classList;a.toggle(el.AUTO_HEIGHT,t.autoHeight),a.toggle(el.NORMAL,t.normal),a.toggle(el.PRINT,t.print),this.addOrRemoveCssClass(el.AUTO_HEIGHT,t.autoHeight),this.addOrRemoveCssClass(el.NORMAL,t.normal),this.addOrRemoveCssClass(el.PRINT,t.print)}createTemplate(){return`<div class="ag-root-wrapper" role="presentation">\n ${this.ctrl.showDropZones()?"<ag-grid-header-drop-zones></ag-grid-header-drop-zones>":""}\n <div class="ag-root-wrapper-body" ref="rootWrapperBody" role="presentation">\n <ag-grid-body ref="gridBody"></ag-grid-body>\n ${this.ctrl.showSideBar()?'<ag-side-bar ref="sideBar"></ag-side-bar>':""}\n </div>\n ${this.ctrl.showStatusBar()?'<ag-status-bar ref="statusBar"></ag-status-bar>':""}\n <ag-pagination></ag-pagination>\n ${this.ctrl.showWatermark()?"<ag-watermark></ag-watermark>":""}\n </div>`}getFocusableElement(){return this.eRootWrapperBody}getFocusableContainers(){const e=[this.gridBodyComp.getGui()];return this.sideBarComp&&e.push(this.sideBarComp.getGui()),e.filter(e=>br(e))}}Jd([de("loggerFactory")],Xd.prototype,"loggerFactory",void 0),Jd([ho("gridBody")],Xd.prototype,"gridBodyComp",void 0),Jd([ho("sideBar")],Xd.prototype,"sideBarComp",void 0),Jd([ho("rootWrapperBody")],Xd.prototype,"eRootWrapperBody",void 0),Jd([le],Xd.prototype,"postConstruct",null);var Zd,$d=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let ec=Zd=class extends at{progressSort(e,t,a){const r=this.getNextSortDirection(e);this.setSortForColumn(e,r,t,a)}setSortForColumn(e,t,a,r){"asc"!==t&&"desc"!==t&&(t=null);let o=[e];if(this.gridOptionsService.isColumnsSortingCoupledToGroup()&&e.getColDef().showRowGroup){const t=this.columnModel.getSourceColumnsForGroupColumn(e),a=null==t?void 0:t.filter(e=>e.isSortable());a&&(o=[e,...a])}o.forEach(e=>e.setSort(t,r));const i=[];if(!((a||this.gridOptionsService.get("alwaysMultiSort"))&&!this.gridOptionsService.get("suppressMultiSort"))){const e=this.clearSortBarTheseColumns(o,r);i.push(...e)}this.updateSortIndex(e),i.push(...o),this.dispatchSortChangedEvents(r,i)}updateSortIndex(e){const t=this.gridOptionsService.isColumnsSortingCoupledToGroup(),a=this.columnModel.getGroupDisplayColumnForGroup(e.getId()),r=t&&a||e,o=this.getColumnsWithSortingOrdered();this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(e=>e.setSortIndex(null));const i=o.filter(e=>(!t||!e.getColDef().showRowGroup)&&e!==r);(r.getSort()?[...i,r]:i).forEach((e,t)=>{e.setSortIndex(t)})}onSortChanged(e,t){this.dispatchSortChangedEvents(e,t)}isSortActive(){const e=this.columnModel.getPrimaryAndSecondaryAndAutoColumns().filter(e=>!!e.getSort());return e&&e.length>0}dispatchSortChangedEvents(e,t){const a={type:st.EVENT_SORT_CHANGED,source:e};t&&(a.columns=t),this.eventService.dispatchEvent(a)}clearSortBarTheseColumns(e,t){const a=[];return this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(r=>{e.includes(r)||(r.getSort()&&a.push(r),r.setSort(void 0,t))}),a}getNextSortDirection(e){let t;if(t=e.getColDef().sortingOrder?e.getColDef().sortingOrder:this.gridOptionsService.get("sortingOrder")?this.gridOptionsService.get("sortingOrder"):Zd.DEFAULT_SORTING_ORDER,!Array.isArray(t)||t.length<=0)return console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's "+t),null;const a=t.indexOf(e.getSort()),r=a<0,o=a==t.length-1;let i;return i=r||o?t[0]:t[a+1],Zd.DEFAULT_SORTING_ORDER.indexOf(i)<0?(console.warn("AG Grid: invalid sort type "+i),null):i}getIndexedSortMap(){let e=this.columnModel.getPrimaryAndSecondaryAndAutoColumns().filter(e=>!!e.getSort());if(this.columnModel.isPivotMode()){const t=this.gridOptionsService.isColumnsSortingCoupledToGroup();e=e.filter(e=>{const a=!!e.getAggFunc(),r=!e.isPrimary(),o=t?this.columnModel.getGroupDisplayColumnForGroup(e.getId()):e.getColDef().showRowGroup;return a||r||o})}const t=this.columnModel.getRowGroupColumns().filter(e=>!!e.getSort()),a=this.gridOptionsService.isColumnsSortingCoupledToGroup()&&!!t.length;a&&(e=[...new Set(e.map(e=>{var t;return null!==(t=this.columnModel.getGroupDisplayColumnForGroup(e.getId()))&&void 0!==t?t:e}))]);const r={};e.forEach((e,t)=>r[e.getId()]=t),e.sort((e,t)=>{const a=e.getSortIndex(),o=t.getSortIndex();if(null!=a&&null!=o)return a-o;if(null==a&&null==o){return r[e.getId()]>r[t.getId()]?1:-1}return null==o?-1:1});const o=new Map;return e.forEach((e,t)=>o.set(e,t)),a&&t.forEach(e=>{const t=this.columnModel.getGroupDisplayColumnForGroup(e.getId());o.set(e,o.get(t))}),o}getColumnsWithSortingOrdered(){return[...this.getIndexedSortMap().entries()].sort(([e,t],[a,r])=>t-r).map(([e])=>e)}getSortModel(){return this.getColumnsWithSortingOrdered().filter(e=>e.getSort()).map(e=>({sort:e.getSort(),colId:e.getId()}))}getSortOptions(){return this.getColumnsWithSortingOrdered().filter(e=>e.getSort()).map(e=>({sort:e.getSort(),column:e}))}canColumnDisplayMixedSort(e){const t=this.gridOptionsService.isColumnsSortingCoupledToGroup(),a=!!e.getColDef().showRowGroup;return t&&a}getDisplaySortForColumn(e){const t=this.columnModel.getSourceColumnsForGroupColumn(e);if(!this.canColumnDisplayMixedSort(e)||!(null==t?void 0:t.length))return e.getSort();const a=null!=e.getColDef().field||!!e.getColDef().valueGetter?[e,...t]:t,r=a[0].getSort();return a.every(e=>e.getSort()==r)?r:"mixed"}getDisplaySortIndexForColumn(e){return this.getIndexedSortMap().get(e)}};ec.DEFAULT_SORTING_ORDER=["asc","desc",null],$d([de("columnModel")],ec.prototype,"columnModel",void 0),ec=Zd=$d([ge("sortController")],ec);var tc,ac=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let rc=tc=class extends at{static addKeyboardModeEvents(e){this.instanceCount>0||(e.addEventListener("keydown",tc.toggleKeyboardMode),e.addEventListener("mousedown",tc.toggleKeyboardMode))}static removeKeyboardModeEvents(e){this.instanceCount>0||(e.addEventListener("keydown",tc.toggleKeyboardMode),e.addEventListener("mousedown",tc.toggleKeyboardMode))}static toggleKeyboardMode(e){const t=tc.keyboardModeActive,a="keydown"===e.type;a&&(e.ctrlKey||e.metaKey||e.altKey)||t!==a&&(tc.keyboardModeActive=a)}static unregisterGridCompController(e){tc.removeKeyboardModeEvents(e)}init(){const e=this.clearFocusedCell.bind(this);this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_MODE_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverythingChanged.bind(this)),this.addManagedListener(this.eventService,st.EVENT_COLUMN_GROUP_OPENED,e),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.registerKeyboardFocusEvents(),this.ctrlsService.whenReady(e=>{this.gridCtrl=e.gridCtrl})}registerKeyboardFocusEvents(){const e=this.gridOptionsService.getDocument();tc.addKeyboardModeEvents(e),tc.instanceCount++,this.addDestroyFunc(()=>{tc.instanceCount--,tc.unregisterGridCompController(e)})}onColumnEverythingChanged(){if(!this.focusedCellPosition)return;const e=this.focusedCellPosition.column,t=this.columnModel.getGridColumn(e.getId());e!==t&&this.clearFocusedCell()}isKeyboardMode(){return tc.keyboardModeActive}getFocusCellToUseAfterRefresh(){const e=this.gridOptionsService.getDocument();return this.gridOptionsService.get("suppressFocusAfterRefresh")||!this.focusedCellPosition||this.isDomDataMissingInHierarchy(e.activeElement,Al.DOM_DATA_KEY_ROW_CTRL)?null:this.focusedCellPosition}getFocusHeaderToUseAfterRefresh(){const e=this.gridOptionsService.getDocument();return this.gridOptionsService.get("suppressFocusAfterRefresh")||!this.focusedHeaderPosition||this.isDomDataMissingInHierarchy(e.activeElement,As.DOM_DATA_KEY_HEADER_CTRL)?null:this.focusedHeaderPosition}isDomDataMissingInHierarchy(e,t){let a=e;for(;a;){if(this.gridOptionsService.getDomData(a,t))return!1;a=a.parentNode}return!0}getFocusedCell(){return this.focusedCellPosition}shouldRestoreFocus(e){return!!this.isCellRestoreFocused(e)&&(setTimeout(()=>{this.restoredFocusedCellPosition=null},0),!0)}isCellRestoreFocused(e){return null!=this.restoredFocusedCellPosition&&this.cellPositionUtils.equals(e,this.restoredFocusedCellPosition)}setRestoreFocusedCell(e){"react"===this.getFrameworkOverrides().renderingEngine&&(this.restoredFocusedCellPosition=e)}getFocusEventParams(){const{rowIndex:e,rowPinned:t,column:a}=this.focusedCellPosition,r={rowIndex:e,rowPinned:t,column:a,isFullWidthCell:!1},o=this.rowRenderer.getRowByPosition({rowIndex:e,rowPinned:t});return o&&(r.isFullWidthCell=o.isFullWidth()),r}clearFocusedCell(){if(this.restoredFocusedCellPosition=null,null==this.focusedCellPosition)return;const e=Object.assign({type:st.EVENT_CELL_FOCUS_CLEARED},this.getFocusEventParams());this.focusedCellPosition=null,this.eventService.dispatchEvent(e)}setFocusedCell(e){const{column:t,rowIndex:a,rowPinned:r,forceBrowserFocus:o=!1,preventScrollOnBrowserFocus:i=!1}=e,n=this.columnModel.getGridColumn(t);if(!n)return void(this.focusedCellPosition=null);this.focusedCellPosition=n?{rowIndex:a,rowPinned:y(r),column:n}:null;const l=Object.assign(Object.assign({type:st.EVENT_CELL_FOCUSED},this.getFocusEventParams()),{forceBrowserFocus:o,preventScrollOnBrowserFocus:i,floating:null});this.eventService.dispatchEvent(l)}isCellFocused(e){return null!=this.focusedCellPosition&&this.cellPositionUtils.equals(e,this.focusedCellPosition)}isRowNodeFocused(e){return this.isRowFocused(e.rowIndex,e.rowPinned)}isHeaderWrapperFocused(e){if(null==this.focusedHeaderPosition)return!1;const t=e.getColumnGroupChild(),a=e.getRowIndex(),r=e.getPinned(),{column:o,headerRowIndex:i}=this.focusedHeaderPosition;return t===o&&a===i&&r==o.getPinned()}clearFocusedHeader(){this.focusedHeaderPosition=null}getFocusedHeader(){return this.focusedHeaderPosition}setFocusedHeader(e,t){this.focusedHeaderPosition={headerRowIndex:e,column:t}}focusHeaderPosition(e){if(this.gridOptionsService.get("suppressHeaderFocus"))return!1;const{direction:t,fromTab:a,allowUserOverride:r,event:o,fromCell:i,rowWithoutSpanValue:n}=e;let{headerPosition:l}=e;if(i&&this.filterManager.isAdvancedFilterHeaderActive())return this.focusAdvancedFilter(l);if(r){const e=this.getFocusedHeader(),r=this.headerNavigationService.getHeaderRowCount();if(a){const a=this.gridOptionsService.getCallback("tabToNextHeader");if(a){l=a({backwards:"Before"===t,previousHeaderPosition:e,nextHeaderPosition:l,headerRowCount:r})}}else{const t=this.gridOptionsService.getCallback("navigateToNextHeader");if(t&&o){l=t({key:o.key,previousHeaderPosition:e,nextHeaderPosition:l,headerRowCount:r,event:o})}}}if(!l)return!1;if(-1===l.headerRowIndex)return this.filterManager.isAdvancedFilterHeaderActive()?this.focusAdvancedFilter(l):this.focusGridView(l.column);this.headerNavigationService.scrollToColumn(l.column,t);const s=this.ctrlsService.getHeaderRowContainerCtrl(l.column.getPinned()).focusHeader(l.headerRowIndex,l.column,o);return s&&(null!=n||i)&&this.headerNavigationService.setCurrentHeaderRowWithoutSpan(null!=n?n:-1),s}focusFirstHeader(){let e=this.columnModel.getAllDisplayedColumns()[0];if(!e)return!1;e.getParent()&&(e=this.columnModel.getColumnGroupAtLevel(e,0));const t=this.headerPositionUtils.getHeaderIndexToFocus(e,0);return this.focusHeaderPosition({headerPosition:t,rowWithoutSpanValue:0})}focusLastHeader(e){const t=this.headerNavigationService.getHeaderRowCount()-1,a=Te(this.columnModel.getAllDisplayedColumns());return this.focusHeaderPosition({headerPosition:{headerRowIndex:t,column:a},rowWithoutSpanValue:-1,event:e})}focusPreviousFromFirstCell(e){return this.filterManager.isAdvancedFilterHeaderActive()?this.focusAdvancedFilter(null):this.focusLastHeader(e)}isAnyCellFocused(){return!!this.focusedCellPosition}isRowFocused(e,t){return null!=this.focusedCellPosition&&(this.focusedCellPosition.rowIndex===e&&this.focusedCellPosition.rowPinned===y(t))}findFocusableElements(e,t,a=!1){const r=er;let o=tr;t&&(o+=", "+t),a&&(o+=', [tabindex="-1"]');const i=Array.prototype.slice.apply(e.querySelectorAll(r)).filter(e=>br(e)),n=Array.prototype.slice.apply(e.querySelectorAll(o));if(!n.length)return i;return l=n,i.filter(e=>-1===l.indexOf(e));var l}focusInto(e,t=!1,a=!1){const r=this.findFocusableElements(e,null,a),o=t?Te(r):r[0];return!!o&&(o.focus({preventScroll:!0}),!0)}findFocusableElementBeforeTabGuard(e,t){if(!t)return null;const a=this.findFocusableElements(e),r=a.indexOf(t);if(-1===r)return null;let o=-1;for(let e=r-1;e>=0;e--)if(a[e].classList.contains(gg.TAB_GUARD_TOP)){o=e;break}return o<=0?null:a[o-1]}findNextFocusableElement(e=this.eGridDiv,t,a){const r=this.findFocusableElements(e,t?':not([tabindex="-1"])':null),o=this.gridOptionsService.getDocument().activeElement;let i;i=t?r.findIndex(e=>e.contains(o)):r.indexOf(o);const n=i+(a?-1:1);return n<0||n>=r.length?null:r[n]}isTargetUnderManagedComponent(e,t){if(!t)return!1;const a=e.querySelectorAll("."+So.FOCUS_MANAGED_CLASS);if(!a.length)return!1;for(let e=0;e<a.length;e++)if(a[e].contains(t))return!0;return!1}findTabbableParent(e,t=5){let a=0;for(;e&&null===La(e)&&++a<=t;)e=e.parentElement;return null===La(e)?null:e}focusGridView(e,t){if(this.gridOptionsService.get("suppressCellFocus"))return t?this.gridOptionsService.get("suppressHeaderFocus")?this.focusNextGridCoreContainer(!0,!0):this.focusLastHeader():this.focusNextGridCoreContainer(!1);const a=t?this.rowPositionUtils.getLastRow():this.rowPositionUtils.getFirstRow();if(!a)return!1;const{rowIndex:r,rowPinned:o}=a,i=this.getFocusedHeader();if(!e&&i&&(e=i.column),null==r||!e)return!1;if(this.navigationService.ensureCellVisible({rowIndex:r,column:e,rowPinned:o}),this.setFocusedCell({rowIndex:r,column:e,rowPinned:y(o),forceBrowserFocus:!0}),this.rangeService){const t={rowIndex:r,rowPinned:o,column:e};this.rangeService.setRangeToCell(t)}return!0}focusNextGridCoreContainer(e,t=!1){return!(t||!this.gridCtrl.focusNextInnerContainer(e))||((t||!e&&!this.gridCtrl.isDetailGrid())&&this.gridCtrl.forceFocusOutOfContainer(e),!1)}focusAdvancedFilter(e){return this.advancedFilterFocusColumn=null==e?void 0:e.column,this.advancedFilterService.getCtrl().focusHeaderComp()}focusNextFromAdvancedFilter(e,t){var a,r;const o=null!==(a=t?void 0:this.advancedFilterFocusColumn)&&void 0!==a?a:null===(r=this.columnModel.getAllDisplayedColumns())||void 0===r?void 0:r[0];return e?this.focusHeaderPosition({headerPosition:{column:o,headerRowIndex:this.headerNavigationService.getHeaderRowCount()-1}}):this.focusGridView(o)}clearAdvancedFilterColumn(){this.advancedFilterFocusColumn=void 0}};rc.keyboardModeActive=!1,rc.instanceCount=0,ac([de("eGridDiv")],rc.prototype,"eGridDiv",void 0),ac([de("columnModel")],rc.prototype,"columnModel",void 0),ac([de("headerNavigationService")],rc.prototype,"headerNavigationService",void 0),ac([de("headerPositionUtils")],rc.prototype,"headerPositionUtils",void 0),ac([de("rowRenderer")],rc.prototype,"rowRenderer",void 0),ac([de("rowPositionUtils")],rc.prototype,"rowPositionUtils",void 0),ac([de("cellPositionUtils")],rc.prototype,"cellPositionUtils",void 0),ac([ce("rangeService")],rc.prototype,"rangeService",void 0),ac([de("navigationService")],rc.prototype,"navigationService",void 0),ac([de("ctrlsService")],rc.prototype,"ctrlsService",void 0),ac([de("filterManager")],rc.prototype,"filterManager",void 0),ac([ce("advancedFilterService")],rc.prototype,"advancedFilterService",void 0),ac([le],rc.prototype,"init",null),rc=tc=ac([ge("focusService")],rc);var oc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let ic=class extends at{setMouseOver(e){this.selectedColumns=e;const t={type:st.EVENT_COLUMN_HOVER_CHANGED};this.eventService.dispatchEvent(t)}clearMouseOver(){this.selectedColumns=null;const e={type:st.EVENT_COLUMN_HOVER_CHANGED};this.eventService.dispatchEvent(e)}isHovered(e){return!!this.selectedColumns&&this.selectedColumns.indexOf(e)>=0}};ic=oc([ge("columnHoverService")],ic);var nc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let lc=class extends at{constructor(){super(...arguments),this.executeNextFuncs=[],this.executeLaterFuncs=[],this.active=!1,this.suppressAnimation=!1,this.animationThreadCount=0}postConstruct(){this.ctrlsService.whenReady(e=>this.gridBodyCtrl=e.gridBodyCtrl)}isActive(){return this.active&&!this.suppressAnimation}setSuppressAnimation(e){this.suppressAnimation=e}start(){this.active||this.gridOptionsService.get("suppressColumnMoveAnimation")||this.gridOptionsService.get("enableRtl")||(this.ensureAnimationCssClassPresent(),this.active=!0)}finish(){this.active&&this.flush(()=>{this.active=!1})}executeNextVMTurn(e){this.active?this.executeNextFuncs.push(e):e()}executeLaterVMTurn(e){this.active?this.executeLaterFuncs.push(e):e()}ensureAnimationCssClassPresent(){this.animationThreadCount++;const e=this.animationThreadCount;this.gridBodyCtrl.setColumnMovingCss(!0),this.executeLaterFuncs.push(()=>{this.animationThreadCount===e&&this.gridBodyCtrl.setColumnMovingCss(!1)})}flush(e){if(0===this.executeNextFuncs.length&&0===this.executeLaterFuncs.length)return void e();const t=e=>{for(;e.length;){const t=e.pop();t&&t()}};this.getFrameworkOverrides().wrapIncoming(()=>{window.setTimeout(()=>t(this.executeNextFuncs),0),window.setTimeout(()=>{t(this.executeLaterFuncs),e()},200)})}};nc([de("ctrlsService")],lc.prototype,"ctrlsService",void 0),nc([le],lc.prototype,"postConstruct",null),lc=nc([ge("columnAnimationService")],lc);var sc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let gc=class extends at{postConstruct(){this.ctrlsService.whenReady(e=>{this.centerRowContainerCon=e.centerRowContainerCtrl,this.addManagedListener(this.eventService,st.EVENT_BODY_HEIGHT_CHANGED,this.checkPageSize.bind(this)),this.addManagedListener(this.eventService,st.EVENT_SCROLL_VISIBILITY_CHANGED,this.checkPageSize.bind(this)),this.addManagedPropertyListener("paginationAutoPageSize",this.onPaginationAutoSizeChanged.bind(this)),this.checkPageSize()})}notActive(){return!this.gridOptionsService.get("paginationAutoPageSize")||null==this.centerRowContainerCon}onPaginationAutoSizeChanged(){this.notActive()?this.paginationProxy.unsetAutoCalculatedPageSize():this.checkPageSize()}checkPageSize(){if(this.notActive())return;const e=this.centerRowContainerCon.getViewportSizeFeature().getBodyHeight();if(e>0){const t=()=>{const t=this.gridOptionsService.getRowHeightAsNumber(),a=Math.floor(e/t);this.paginationProxy.setPageSize(a,"autoCalculated")};this.isBodyRendered?Z(()=>t(),50)():(t(),this.isBodyRendered=!0)}else this.isBodyRendered=!1}};sc([de("ctrlsService")],gc.prototype,"ctrlsService",void 0),sc([de("paginationProxy")],gc.prototype,"paginationProxy",void 0),sc([le],gc.prototype,"postConstruct",null),gc=sc([ge("paginationAutoPageSizeService")],gc);var dc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let cc=class extends at{constructor(){super(...arguments),this.cacheVersion=0}init(){this.active=this.gridOptionsService.get("valueCache"),this.neverExpires=this.gridOptionsService.get("valueCacheNeverExpires")}onDataChanged(){this.neverExpires||this.expire()}expire(){this.cacheVersion++}setValue(e,t,a){this.active&&(e.__cacheVersion!==this.cacheVersion&&(e.__cacheVersion=this.cacheVersion,e.__cacheData={}),e.__cacheData[t]=a)}getValue(e,t){if(this.active&&e.__cacheVersion===this.cacheVersion)return e.__cacheData[t]}};dc([le],cc.prototype,"init",null),cc=dc([ge("valueCache")],cc);var uc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let pc=class extends at{init(){"clientSide"===this.rowModel.getType()&&(this.clientSideRowModel=this.rowModel),this.addManagedListener(this.eventService,st.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged.bind(this))}onCellValueChanged(e){"paste"!==e.source&&this.doChangeDetection(e.node,e.column)}doChangeDetection(e,t){if(this.gridOptionsService.get("suppressChangeDetection"))return;const a=[e];if(this.clientSideRowModel&&!e.isRowPinned()){const r=this.gridOptionsService.get("aggregateOnlyChangedColumns"),o=new Fg(r,this.clientSideRowModel.getRootNode());o.addParentNode(e.parent,[t]),this.clientSideRowModel.doAggregate(o),o.forEachChangedNodeDepthFirst(e=>{a.push(e)})}this.rowRenderer.refreshCells({rowNodes:a})}};uc([de("rowModel")],pc.prototype,"rowModel",void 0),uc([de("rowRenderer")],pc.prototype,"rowRenderer",void 0),uc([le],pc.prototype,"init",null),pc=uc([ge("changeDetectionService")],pc);var hc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let mc=class extends at{adaptFunction(e,t){const a=this.componentMetadataProvider.retrieve(e);return a&&a.functionAdapter?a.functionAdapter(t):null}adaptCellRendererFunction(e){return class{refresh(e){return!1}getGui(){return this.eGui}init(t){const a=e(t),r=typeof a;this.eGui="string"!==r&&"number"!==r&&"boolean"!==r?null!=a?a:Cr("<span></span>"):Cr("<span>"+a+"</span>")}}}doesImplementIComponent(e){return!!e&&(e.prototype&&"getGui"in e.prototype)}};hc([de("componentMetadataProvider")],mc.prototype,"componentMetadataProvider",void 0),mc=hc([ge("agComponentUtils")],mc);var vc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let fc=class extends at{postConstruct(){this.componentMetaData={dateComponent:{mandatoryMethodList:["getDate","setDate"],optionalMethodList:["afterGuiAttached","setInputPlaceholder","setInputAriaLabel","setDisabled","onParamsUpdated","refresh"]},detailCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},headerComponent:{mandatoryMethodList:[],optionalMethodList:["refresh"]},headerGroupComponent:{mandatoryMethodList:[],optionalMethodList:[]},loadingCellRenderer:{mandatoryMethodList:[],optionalMethodList:[]},loadingOverlayComponent:{mandatoryMethodList:[],optionalMethodList:["refresh"]},noRowsOverlayComponent:{mandatoryMethodList:[],optionalMethodList:["refresh"]},floatingFilterComponent:{mandatoryMethodList:["onParentModelChanged"],optionalMethodList:["afterGuiAttached","onParamsUpdated","refresh"]},cellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},cellEditor:{mandatoryMethodList:["getValue"],optionalMethodList:["isPopup","isCancelBeforeStart","isCancelAfterEnd","getPopupPosition","focusIn","focusOut","afterGuiAttached","refresh"]},innerRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},fullWidthCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},groupRowRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},filter:{mandatoryMethodList:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethodList:["afterGuiAttached","afterGuiDetached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged","refresh"]},statusPanel:{mandatoryMethodList:[],optionalMethodList:["refresh"]},toolPanel:{mandatoryMethodList:[],optionalMethodList:["refresh","getState"]},tooltipComponent:{mandatoryMethodList:[],optionalMethodList:[]},menuItem:{mandatoryMethodList:[],optionalMethodList:["setActive","select","setExpanded","configureDefaults"]}}}retrieve(e){return this.componentMetaData[e]}};vc([de("agComponentUtils")],fc.prototype,"agComponentUtils",void 0),vc([le],fc.prototype,"postConstruct",null),fc=vc([ge("componentMetadataProvider")],fc);var wc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};const bc={"ag-theme-custom":{headerHeight:25,headerCellMinWidth:24,listItemHeight:20,rowHeight:25,chartMenuPanelWidth:220},"ag-theme-material":{headerHeight:56,headerCellMinWidth:48,listItemHeight:32,rowHeight:48,chartMenuPanelWidth:240},"ag-theme-balham":{headerHeight:32,headerCellMinWidth:24,listItemHeight:24,rowHeight:28,chartMenuPanelWidth:220},"ag-theme-alpine":{headerHeight:48,headerCellMinWidth:36,listItemHeight:24,rowHeight:42,chartMenuPanelWidth:240},"ag-theme-quartz":{headerHeight:48,headerCellMinWidth:36,listItemHeight:24,rowHeight:42,chartMenuPanelWidth:260}},Cc={headerHeight:["ag-header-row"],headerCellMinWidth:["ag-header-cell"],listItemHeight:["ag-virtual-list-item"],rowHeight:["ag-row"],chartMenuPanelWidth:["ag-chart-docked-container"]};let yc=class extends at{constructor(){super(...arguments),this.calculatedSizes={}}postConstruct(){var e;const t=null!==(e=this.getTheme().el)&&void 0!==e?e:this.eGridDiv;this.addManagedPropertyListener("rowHeight",()=>this.refreshRowHeightVariable()),this.mutationObserver=new MutationObserver(()=>{this.calculatedSizes={},this.fireGridStylesChangedEvent()}),this.mutationObserver.observe(t||this.eGridDiv,{attributes:!0,attributeFilter:["class"]})}fireGridStylesChangedEvent(){const e={type:st.EVENT_GRID_STYLES_CHANGED};this.eventService.dispatchEvent(e)}getSassVariable(e){const{themeFamily:t,el:a}=this.getTheme();if(!t||0!==t.indexOf("ag-theme"))return;this.calculatedSizes||(this.calculatedSizes={}),this.calculatedSizes[t]||(this.calculatedSizes[t]={});const r=this.calculatedSizes[t][e];return null!=r?r:(this.calculatedSizes[t][e]=this.calculateValueForSassProperty(e,t,a),this.calculatedSizes[t][e])}calculateValueForSassProperty(e,t,a){const r="ag-theme-"+(t.match("material")?"material":t.match("balham")?"balham":t.match("alpine")?"alpine":"custom"),o=bc[r][e],i=this.gridOptionsService.getDocument();if(a||(a=this.eGridDiv),!Cc[e])return o;const n=Cc[e],l=i.createElement("div"),s=Array.from(a.classList);l.classList.add(t,...s),l.style.position="absolute";const g=n.reduce((e,t)=>{const a=i.createElement("div");return a.style.position="static",a.classList.add(t),e.appendChild(a),a},l);let d=0;if(i.body){i.body.appendChild(l);const t=-1!==e.toLowerCase().indexOf("height")?"height":"width";d=parseInt(window.getComputedStyle(g)[t],10),i.body.removeChild(l)}return d||o}isThemeDark(){const{theme:e}=this.getTheme();return!!e&&e.indexOf("dark")>=0}chartMenuPanelWidth(){return this.getSassVariable("chartMenuPanelWidth")}getTheme(){const e=/\bag-(material|(?:theme-([\w\-]*)))\b/g;let t=this.eGridDiv,a=null,r=[];for(;t;){if(a=e.exec(t.className),a){const a=t.className.match(e);a&&(r=a);break}t=t.parentElement||void 0}if(!a)return{allThemes:r};const o=a[0];return{theme:o,el:t,themeFamily:o.replace(/-dark$/,""),allThemes:r}}getFromTheme(e,t){var a;return null!==(a=this.getSassVariable(t))&&void 0!==a?a:e}getDefaultRowHeight(){return this.getFromTheme(25,"rowHeight")}getListItemHeight(){return this.getFromTheme(20,"listItemHeight")}refreshRowHeightVariable(){const e=this.eGridDiv.style.getPropertyValue("--ag-line-height").trim(),t=this.gridOptionsService.get("rowHeight");if(null==t||isNaN(t)||!isFinite(t))return null!==e&&this.eGridDiv.style.setProperty("--ag-line-height",null),-1;const a=t+"px";return e!=a?(this.eGridDiv.style.setProperty("--ag-line-height",a),t):""!=e?parseFloat(e):-1}getMinColWidth(){const e=this.getFromTheme(null,"headerCellMinWidth");return S(e)?Math.max(e,10):10}destroy(){this.calculatedSizes=null,this.mutationObserver&&this.mutationObserver.disconnect(),super.destroy()}};wc([de("eGridDiv")],yc.prototype,"eGridDiv",void 0),wc([le],yc.prototype,"postConstruct",null),yc=wc([ge("environment")],yc);var Sc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},Ec=function(e,t){return function(a,r){t(a,r,e)}};let Rc=class extends at{constructor(){super(...arguments),this.scrollY=0,this.uiBodyHeight=0}agWire(e){this.logger=e.create("RowContainerHeightService")}postConstruct(){this.addManagedListener(this.eventService,st.EVENT_BODY_HEIGHT_CHANGED,this.updateOffset.bind(this)),this.maxDivHeight=Na(),this.logger.log("maxDivHeight = "+this.maxDivHeight)}isStretching(){return this.stretching}getDivStretchOffset(){return this.divStretchOffset}updateOffset(){if(!this.stretching)return;const e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition().top,t=this.getUiBodyHeight();(e!==this.scrollY||t!==this.uiBodyHeight)&&(this.scrollY=e,this.uiBodyHeight=t,this.calculateOffset())}calculateOffset(){this.setUiContainerHeight(this.maxDivHeight),this.pixelsToShave=this.modelHeight-this.uiContainerHeight,this.maxScrollY=this.uiContainerHeight-this.uiBodyHeight;const e=this.scrollY/this.maxScrollY,t=e*this.pixelsToShave;this.logger.log(`Div Stretch Offset = ${t} (${this.pixelsToShave} * ${e})`),this.setDivStretchOffset(t)}setUiContainerHeight(e){e!==this.uiContainerHeight&&(this.uiContainerHeight=e,this.eventService.dispatchEvent({type:st.EVENT_ROW_CONTAINER_HEIGHT_CHANGED}))}clearOffset(){this.setUiContainerHeight(this.modelHeight),this.pixelsToShave=0,this.setDivStretchOffset(0)}setDivStretchOffset(e){const t="number"==typeof e?Math.floor(e):null;this.divStretchOffset!==t&&(this.divStretchOffset=t,this.eventService.dispatchEvent({type:st.EVENT_HEIGHT_SCALE_CHANGED}))}setModelHeight(e){this.modelHeight=e,this.stretching=null!=e&&this.maxDivHeight>0&&e>this.maxDivHeight,this.stretching?this.calculateOffset():this.clearOffset()}getUiContainerHeight(){return this.uiContainerHeight}getRealPixelPosition(e){return e-this.divStretchOffset}getUiBodyHeight(){const e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition();return e.bottom-e.top}getScrollPositionForPixel(e){if(this.pixelsToShave<=0)return e;const t=e/(this.modelHeight-this.getUiBodyHeight());return this.maxScrollY*t}};Sc([de("ctrlsService")],Rc.prototype,"ctrlsService",void 0),Sc([Ec(0,pe("loggerFactory"))],Rc.prototype,"agWire",null),Sc([le],Rc.prototype,"postConstruct",null),Rc=Sc([ge("rowContainerHeightService")],Rc);var xc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let kc=class extends at{init(){this.addManagedPropertyListener("isRowSelectable",()=>this.updateSelectable())}updateSelectableAfterGrouping(){this.updateSelectable(!0)}updateSelectable(e=!1){const t=!!this.gridOptionsService.get("rowSelection"),a=this.gridOptionsService.get("isRowSelectable");if(!t||!a)return;const r=this.gridOptionsService.get("groupSelectsChildren"),o="clientSide"===this.rowModel.getType()&&r,i=[],n=t=>{if(e&&!t.group)return;if(o&&t.group){const e=t.childrenAfterGroup.some(e=>!0===e.selectable);return void t.setRowSelectable(e,!0)}const r=!a||a(t);t.setRowSelectable(r,!0),!r&&t.isSelected()&&i.push(t)};if(o){const e=this.rowModel;new Fg(!1,e.getRootNode()).forEachChangedNodeDepthFirst(n,!0,!0)}else this.rowModel.forEachNode(n);i.length&&this.selectionService.setNodesSelected({nodes:i,newValue:!1,source:"selectableChanged"}),o&&this.selectionService instanceof Ld&&this.selectionService.updateGroupsFromChildrenSelections("selectableChanged")}};xc([de("rowModel")],kc.prototype,"rowModel",void 0),xc([de("selectionService")],kc.prototype,"selectionService",void 0),xc([le],kc.prototype,"init",null),kc=xc([ge("selectableService")],kc);var zc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Tc extends uo{constructor(){super(),this.previousAndFirstButtonsDisabled=!1,this.nextButtonDisabled=!1,this.lastButtonDisabled=!1,this.areListenersSetup=!1}postConstruct(){const e=this.gridOptionsService.get("enableRtl");this.setTemplate(this.getTemplate());const{btFirst:t,btPrevious:a,btNext:r,btLast:o,pageSizeComp:i}=this;this.activateTabIndex([t,a,r,o]),t.insertAdjacentElement("afterbegin",qr(e?"last":"first",this.gridOptionsService)),a.insertAdjacentElement("afterbegin",qr(e?"next":"previous",this.gridOptionsService)),r.insertAdjacentElement("afterbegin",qr(e?"previous":"next",this.gridOptionsService)),o.insertAdjacentElement("afterbegin",qr(e?"first":"last",this.gridOptionsService)),this.addManagedPropertyListener("pagination",this.onPaginationChanged.bind(this)),this.addManagedPropertyListener("suppressPaginationPanel",this.onPaginationChanged.bind(this)),this.addManagedPropertyListeners(["paginationPageSizeSelector","paginationAutoPageSize","suppressPaginationPanel"],()=>this.onPageSizeRelatedOptionsChange()),this.pageSizeComp.toggleSelectDisplay(this.pageSizeComp.shouldShowPageSizeSelector()),this.onPaginationChanged()}onPaginationChanged(){const e=this.gridOptionsService.get("pagination")&&!this.gridOptionsService.get("suppressPaginationPanel");this.setDisplayed(e),e&&(this.setupListeners(),this.enableOrDisableButtons(),this.updateRowLabels(),this.setCurrentPageLabel(),this.setTotalLabels(),this.onPageSizeRelatedOptionsChange())}onPageSizeRelatedOptionsChange(){this.pageSizeComp.toggleSelectDisplay(this.pageSizeComp.shouldShowPageSizeSelector())}setupListeners(){this.areListenersSetup||(this.addManagedListener(this.eventService,st.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),[{el:this.btFirst,fn:this.onBtFirst.bind(this)},{el:this.btPrevious,fn:this.onBtPrevious.bind(this)},{el:this.btNext,fn:this.onBtNext.bind(this)},{el:this.btLast,fn:this.onBtLast.bind(this)}].forEach(e=>{const{el:t,fn:a}=e;this.addManagedListener(t,"click",a),this.addManagedListener(t,"keydown",e=>{e.key!==Wr.ENTER&&e.key!==Wr.SPACE||(e.preventDefault(),a())})}),this.areListenersSetup=!0)}onBtFirst(){this.previousAndFirstButtonsDisabled||this.paginationProxy.goToFirstPage()}setCurrentPageLabel(){const e=this.paginationProxy.getTotalPages()>0,t=this.paginationProxy.getCurrentPage(),a=e?t+1:0;this.lbCurrent.textContent=this.formatNumber(a)}formatNumber(e){const t=this.gridOptionsService.getCallback("paginationNumberFormatter");if(t){return t({value:e})}const a=this.localeService.getLocaleTextFunc();return ja(e,a("thousandSeparator",","),a("decimalSeparator","."))}getTemplate(){const e=this.localeService.getLocaleTextFunc(),t=e("page","Page"),a=e("to","to"),r=e("of","of"),o=e("firstPage","First Page"),i=e("previousPage","Previous Page"),n=e("nextPage","Next Page"),l=e("lastPage","Last Page"),s=this.getCompId();return`<div class="ag-paging-panel ag-unselectable" id="ag-${s}">\n <ag-page-size-selector ref="pageSizeComp"></ag-page-size-selector>\n <span class="ag-paging-row-summary-panel" role="status">\n <span id="ag-${s}-first-row" ref="lbFirstRowOnPage" class="ag-paging-row-summary-panel-number"></span>\n <span id="ag-${s}-to">${a}</span>\n <span id="ag-${s}-last-row" ref="lbLastRowOnPage" class="ag-paging-row-summary-panel-number"></span>\n <span id="ag-${s}-of">${r}</span>\n <span id="ag-${s}-row-count" ref="lbRecordCount" class="ag-paging-row-summary-panel-number"></span>\n </span>\n <span class="ag-paging-page-summary-panel" role="presentation">\n <div ref="btFirst" class="ag-button ag-paging-button" role="button" aria-label="${o}"></div>\n <div ref="btPrevious" class="ag-button ag-paging-button" role="button" aria-label="${i}"></div>\n <span class="ag-paging-description" role="status">\n <span id="ag-${s}-start-page">${t}</span>\n <span id="ag-${s}-start-page-number" ref="lbCurrent" class="ag-paging-number"></span>\n <span id="ag-${s}-of-page">${r}</span>\n <span id="ag-${s}-of-page-number" ref="lbTotal" class="ag-paging-number"></span>\n </span>\n <div ref="btNext" class="ag-button ag-paging-button" role="button" aria-label="${n}"></div>\n <div ref="btLast" class="ag-button ag-paging-button" role="button" aria-label="${l}"></div>\n </span>\n </div>`}onBtNext(){this.nextButtonDisabled||this.paginationProxy.goToNextPage()}onBtPrevious(){this.previousAndFirstButtonsDisabled||this.paginationProxy.goToPreviousPage()}onBtLast(){this.lastButtonDisabled||this.paginationProxy.goToLastPage()}enableOrDisableButtons(){const e=this.paginationProxy.getCurrentPage(),t=this.paginationProxy.isLastPageFound(),a=this.paginationProxy.getTotalPages();this.previousAndFirstButtonsDisabled=0===e,this.toggleButtonDisabled(this.btFirst,this.previousAndFirstButtonsDisabled),this.toggleButtonDisabled(this.btPrevious,this.previousAndFirstButtonsDisabled);const r=this.isZeroPagesToDisplay(),o=e===a-1;this.nextButtonDisabled=o||r,this.lastButtonDisabled=!t||r||e===a-1,this.toggleButtonDisabled(this.btNext,this.nextButtonDisabled),this.toggleButtonDisabled(this.btLast,this.lastButtonDisabled)}toggleButtonDisabled(e,t){sa(e,t),e.classList.toggle("ag-disabled",t)}updateRowLabels(){const e=this.paginationProxy.getCurrentPage(),t=this.paginationProxy.getPageSize(),a=this.paginationProxy.isLastPageFound(),r=this.paginationProxy.isLastPageFound()?this.paginationProxy.getMasterRowCount():null;let o,i;if(this.isZeroPagesToDisplay()?o=i=0:(o=t*e+1,i=o+t-1,a&&i>r&&(i=r)),this.lbFirstRowOnPage.textContent=this.formatNumber(o),this.rowNodeBlockLoader.isLoading()){const e=this.localeService.getLocaleTextFunc();this.lbLastRowOnPage.innerHTML=e("pageLastRowUnknown","?")}else this.lbLastRowOnPage.textContent=this.formatNumber(i)}isZeroPagesToDisplay(){const e=this.paginationProxy.isLastPageFound(),t=this.paginationProxy.getTotalPages();return e&&0===t}setTotalLabels(){const e=this.paginationProxy.isLastPageFound(),t=this.paginationProxy.getTotalPages(),a=e?this.paginationProxy.getMasterRowCount():null;if(1===a){const e=this.paginationProxy.getRow(0);if(e&&e.group&&!(e.groupData||e.aggData))return void this.setTotalLabelsToZero()}if(e)this.lbTotal.textContent=this.formatNumber(t),this.lbRecordCount.textContent=this.formatNumber(a);else{const e=this.localeService.getLocaleTextFunc()("more","more");this.lbTotal.innerHTML=e,this.lbRecordCount.innerHTML=e}}setTotalLabelsToZero(){this.lbFirstRowOnPage.textContent=this.formatNumber(0),this.lbCurrent.textContent=this.formatNumber(0),this.lbLastRowOnPage.textContent=this.formatNumber(0),this.lbTotal.textContent=this.formatNumber(0),this.lbRecordCount.textContent=this.formatNumber(0)}}zc([de("paginationProxy")],Tc.prototype,"paginationProxy",void 0),zc([de("rowNodeBlockLoader")],Tc.prototype,"rowNodeBlockLoader",void 0),zc([ho("btFirst")],Tc.prototype,"btFirst",void 0),zc([ho("btPrevious")],Tc.prototype,"btPrevious",void 0),zc([ho("btNext")],Tc.prototype,"btNext",void 0),zc([ho("btLast")],Tc.prototype,"btLast",void 0),zc([ho("lbRecordCount")],Tc.prototype,"lbRecordCount",void 0),zc([ho("lbFirstRowOnPage")],Tc.prototype,"lbFirstRowOnPage",void 0),zc([ho("lbLastRowOnPage")],Tc.prototype,"lbLastRowOnPage",void 0),zc([ho("lbCurrent")],Tc.prototype,"lbCurrent",void 0),zc([ho("lbTotal")],Tc.prototype,"lbTotal",void 0),zc([ho("pageSizeComp")],Tc.prototype,"pageSizeComp",void 0),zc([le],Tc.prototype,"postConstruct",null);var Ac=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Dc extends uo{constructor(){super(Dc.TEMPLATE),this.inProgress=!1,this.destroyRequested=!1}updateLayoutClasses(e,t){const a=this.eOverlayWrapper.classList;a.toggle(el.AUTO_HEIGHT,t.autoHeight),a.toggle(el.NORMAL,t.normal),a.toggle(el.PRINT,t.print)}postConstruct(){this.createManagedBean(new al(this)),this.setDisplayed(!1,{skipAriaHidden:!0}),this.overlayService.registerOverlayWrapperComp(this)}setWrapperTypeClass(e){const t=this.eOverlayWrapper.classList;this.activeOverlayWrapperCssClass&&t.toggle(this.activeOverlayWrapperCssClass,!1),this.activeOverlayWrapperCssClass=e,t.toggle(e,!0)}showOverlay(e,t,a){this.inProgress||(this.setWrapperTypeClass(t),this.destroyActiveOverlay(),this.inProgress=!0,e&&e.then(e=>{this.inProgress=!1,this.eOverlayWrapper.appendChild(e.getGui()),this.activeOverlay=e,this.updateListenerDestroyFunc=a,this.destroyRequested&&(this.destroyRequested=!1,this.destroyActiveOverlay())}),this.setDisplayed(!0,{skipAriaHidden:!0}))}destroyActiveOverlay(){var e;this.inProgress?this.destroyRequested=!0:this.activeOverlay&&(this.activeOverlay=this.getContext().destroyBean(this.activeOverlay),null===(e=this.updateListenerDestroyFunc)||void 0===e||e.call(this),vr(this.eOverlayWrapper))}hideOverlay(){this.destroyActiveOverlay(),this.setDisplayed(!1,{skipAriaHidden:!0})}destroy(){this.destroyActiveOverlay(),super.destroy()}}Dc.TEMPLATE='\n <div class="ag-overlay" role="presentation">\n <div class="ag-overlay-panel" role="presentation">\n <div class="ag-overlay-wrapper" ref="eOverlayWrapper" role="presentation"></div>\n </div>\n </div>',Ac([de("overlayService")],Dc.prototype,"overlayService",void 0),Ac([ho("eOverlayWrapper")],Dc.prototype,"eOverlayWrapper",void 0),Ac([le],Dc.prototype,"postConstruct",null);var Oc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Mc=class extends at{getFirstRow(){let e,t=0;return this.pinnedRowModel.getPinnedTopRowCount()?e="top":this.rowModel.getRowCount()?(e=null,t=this.paginationProxy.getPageFirstRow()):this.pinnedRowModel.getPinnedBottomRowCount()&&(e="bottom"),void 0===e?null:{rowIndex:t,rowPinned:e}}getLastRow(){let e,t=null;const a=this.pinnedRowModel.getPinnedBottomRowCount(),r=this.pinnedRowModel.getPinnedTopRowCount();return a?(t="bottom",e=a-1):this.rowModel.getRowCount()?(t=null,e=this.paginationProxy.getPageLastRow()):r&&(t="top",e=r-1),void 0===e?null:{rowIndex:e,rowPinned:t}}getRowNode(e){switch(e.rowPinned){case"top":return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case"bottom":return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}}sameRow(e,t){return!e&&!t||!(e&&!t||!e&&t)&&(e.rowIndex===t.rowIndex&&e.rowPinned==t.rowPinned)}before(e,t){switch(e.rowPinned){case"top":if("top"!==t.rowPinned)return!0;break;case"bottom":if("bottom"!==t.rowPinned)return!1;break;default:if(S(t.rowPinned))return"top"!==t.rowPinned}return e.rowIndex<t.rowIndex}rowMax(e){let t;return e.forEach(e=>{(void 0===t||this.before(t,e))&&(t=e)}),t}rowMin(e){let t;return e.forEach(e=>{(void 0===t||this.before(e,t))&&(t=e)}),t}};Oc([de("rowModel")],Mc.prototype,"rowModel",void 0),Oc([de("pinnedRowModel")],Mc.prototype,"pinnedRowModel",void 0),Oc([de("paginationProxy")],Mc.prototype,"paginationProxy",void 0),Mc=Oc([ge("rowPositionUtils")],Mc);var Pc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Lc=class extends at{createId(e){const{rowIndex:t,rowPinned:a,column:r}=e;return this.createIdFromValues({rowIndex:t,column:r,rowPinned:a})}createIdFromValues(e){const{rowIndex:t,rowPinned:a,column:r}=e;return`${t}.${null==a?"null":a}.${r.getId()}`}equals(e,t){const a=e.column===t.column,r=e.rowPinned===t.rowPinned,o=e.rowIndex===t.rowIndex;return a&&r&&o}};Lc=Pc([ge("cellPositionUtils")],Lc);class Nc{constructor(e){this.cellValueChanges=e}}class Fc extends Nc{constructor(e,t,a,r){super(e),this.initialRange=t,this.finalRange=a,this.ranges=r}}class Ic{constructor(e){this.actionStack=[],this.maxStackSize=e||Ic.DEFAULT_STACK_SIZE,this.actionStack=new Array(this.maxStackSize)}pop(){return this.actionStack.pop()}push(e){e.cellValueChanges&&e.cellValueChanges.length>0&&(this.actionStack.length===this.maxStackSize&&this.actionStack.shift(),this.actionStack.push(e))}clear(){this.actionStack=[]}getCurrentStackSize(){return this.actionStack.length}}Ic.DEFAULT_STACK_SIZE=10;var Gc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Vc=class extends at{constructor(){super(...arguments),this.cellValueChanges=[],this.activeCellEdit=null,this.activeRowEdit=null,this.isPasting=!1,this.isRangeInAction=!1,this.onCellValueChanged=e=>{const t={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned},a=null!==this.activeCellEdit&&this.cellPositionUtils.equals(this.activeCellEdit,t),r=null!==this.activeRowEdit&&this.rowPositionUtils.sameRow(this.activeRowEdit,t);if(!(a||r||this.isPasting||this.isRangeInAction))return;const{rowPinned:o,rowIndex:i,column:n,oldValue:l,value:s}=e,g={rowPinned:o,rowIndex:i,columnId:n.getColId(),newValue:s,oldValue:l};this.cellValueChanges.push(g)},this.clearStacks=()=>{this.undoStack.clear(),this.redoStack.clear()}}init(){if(!this.gridOptionsService.get("undoRedoCellEditing"))return;const e=this.gridOptionsService.get("undoRedoCellEditingLimit");e<=0||(this.undoStack=new Ic(e),this.redoStack=new Ic(e),this.addRowEditingListeners(),this.addCellEditingListeners(),this.addPasteListeners(),this.addFillListeners(),this.addCellKeyListeners(),this.addManagedListener(this.eventService,st.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged),this.addManagedListener(this.eventService,st.EVENT_MODEL_UPDATED,e=>{e.keepUndoRedoStack||this.clearStacks()}),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,this.clearStacks),this.addManagedListener(this.eventService,st.EVENT_COLUMN_GROUP_OPENED,this.clearStacks),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,st.EVENT_COLUMN_MOVED,this.clearStacks),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PINNED,this.clearStacks),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VISIBLE,this.clearStacks),this.addManagedListener(this.eventService,st.EVENT_ROW_DRAG_END,this.clearStacks),this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl()}))}getCurrentUndoStackSize(){return this.undoStack?this.undoStack.getCurrentStackSize():0}getCurrentRedoStackSize(){return this.redoStack?this.redoStack.getCurrentStackSize():0}undo(e){const t={type:st.EVENT_UNDO_STARTED,source:e};this.eventService.dispatchEvent(t);const a=this.undoRedo(this.undoStack,this.redoStack,"initialRange","oldValue","undo"),r={type:st.EVENT_UNDO_ENDED,source:e,operationPerformed:a};this.eventService.dispatchEvent(r)}redo(e){const t={type:st.EVENT_REDO_STARTED,source:e};this.eventService.dispatchEvent(t);const a=this.undoRedo(this.redoStack,this.undoStack,"finalRange","newValue","redo"),r={type:st.EVENT_REDO_ENDED,source:e,operationPerformed:a};this.eventService.dispatchEvent(r)}undoRedo(e,t,a,r,o){if(!e)return!1;const i=e.pop();return!(!i||!i.cellValueChanges)&&(this.processAction(i,e=>e[r],o),i instanceof Fc?this.processRange(i.ranges||[i[a]]):this.processCell(i.cellValueChanges),t.push(i),!0)}processAction(e,t,a){e.cellValueChanges.forEach(e=>{const{rowIndex:r,rowPinned:o,columnId:i}=e,n={rowIndex:r,rowPinned:o},l=this.getRowNode(n);l.displayed&&l.setDataValue(i,t(e),a)})}processRange(e){let t;this.rangeService.removeAllCellRanges(!0),e.forEach((a,r)=>{if(!a)return;const o=a.startRow,i=a.endRow;r===e.length-1&&(t={rowPinned:o.rowPinned,rowIndex:o.rowIndex,columnId:a.startColumn.getColId()},this.setLastFocusedCell(t));const n={rowStartIndex:o.rowIndex,rowStartPinned:o.rowPinned,rowEndIndex:i.rowIndex,rowEndPinned:i.rowPinned,columnStart:a.startColumn,columns:a.columns};this.rangeService.addCellRange(n)})}processCell(e){const t=e[0],{rowIndex:a,rowPinned:r}=t,o={rowIndex:a,rowPinned:r},i=this.getRowNode(o),n={rowPinned:t.rowPinned,rowIndex:i.rowIndex,columnId:t.columnId};this.setLastFocusedCell(n,!!this.rangeService)}setLastFocusedCell(e,t){const{rowIndex:a,columnId:r,rowPinned:o}=e,i=this.gridBodyCtrl.getScrollFeature(),n=this.columnModel.getGridColumn(r);if(!n)return;i.ensureIndexVisible(a),i.ensureColumnVisible(n);const l={rowIndex:a,column:n,rowPinned:o};this.focusService.setFocusedCell(Object.assign(Object.assign({},l),{forceBrowserFocus:!0})),t&&this.rangeService.setRangeToCell(l)}addRowEditingListeners(){this.addManagedListener(this.eventService,st.EVENT_ROW_EDITING_STARTED,e=>{this.activeRowEdit={rowIndex:e.rowIndex,rowPinned:e.rowPinned}}),this.addManagedListener(this.eventService,st.EVENT_ROW_EDITING_STOPPED,()=>{const e=new Nc(this.cellValueChanges);this.pushActionsToUndoStack(e),this.activeRowEdit=null})}addCellEditingListeners(){this.addManagedListener(this.eventService,st.EVENT_CELL_EDITING_STARTED,e=>{this.activeCellEdit={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned}}),this.addManagedListener(this.eventService,st.EVENT_CELL_EDITING_STOPPED,e=>{this.activeCellEdit=null;if(e.valueChanged&&!this.activeRowEdit&&!this.isPasting&&!this.isRangeInAction){const e=new Nc(this.cellValueChanges);this.pushActionsToUndoStack(e)}})}addPasteListeners(){this.addManagedListener(this.eventService,st.EVENT_PASTE_START,()=>{this.isPasting=!0}),this.addManagedListener(this.eventService,st.EVENT_PASTE_END,()=>{const e=new Nc(this.cellValueChanges);this.pushActionsToUndoStack(e),this.isPasting=!1})}addFillListeners(){this.addManagedListener(this.eventService,st.EVENT_FILL_START,()=>{this.isRangeInAction=!0}),this.addManagedListener(this.eventService,st.EVENT_FILL_END,e=>{const t=new Fc(this.cellValueChanges,e.initialRange,e.finalRange);this.pushActionsToUndoStack(t),this.isRangeInAction=!1})}addCellKeyListeners(){this.addManagedListener(this.eventService,st.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,()=>{this.isRangeInAction=!0}),this.addManagedListener(this.eventService,st.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,()=>{let e;e=this.rangeService&&this.gridOptionsService.get("enableRangeSelection")?new Fc(this.cellValueChanges,void 0,void 0,[...this.rangeService.getCellRanges()]):new Nc(this.cellValueChanges),this.pushActionsToUndoStack(e),this.isRangeInAction=!1})}pushActionsToUndoStack(e){this.undoStack.push(e),this.cellValueChanges=[],this.redoStack.clear()}getRowNode(e){switch(e.rowPinned){case"top":return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case"bottom":return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}}};Gc([de("focusService")],Vc.prototype,"focusService",void 0),Gc([de("ctrlsService")],Vc.prototype,"ctrlsService",void 0),Gc([de("rowModel")],Vc.prototype,"rowModel",void 0),Gc([de("pinnedRowModel")],Vc.prototype,"pinnedRowModel",void 0),Gc([de("cellPositionUtils")],Vc.prototype,"cellPositionUtils",void 0),Gc([de("rowPositionUtils")],Vc.prototype,"rowPositionUtils",void 0),Gc([de("columnModel")],Vc.prototype,"columnModel",void 0),Gc([ce("rangeService")],Vc.prototype,"rangeService",void 0),Gc([le],Vc.prototype,"init",null),Vc=Gc([ge("undoRedoService")],Vc);var Hc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let _c=class extends at{findHeader(e,t){let a,r,o;if(e.column instanceof lt?(r="getDisplayedGroup"+t,a=this.columnModel[r](e.column)):(o="getDisplayedCol"+t,a=this.columnModel[o](e.column)),!a)return;let{headerRowIndex:i}=e;if(this.getHeaderRowType(i)!==Rs.FLOATING_FILTER){const e=[a];for(;a.getParent();)a=a.getParent(),e.push(a);a=e[e.length-1-i]}const{column:n,headerRowIndex:l}=this.getHeaderIndexToFocus(a,i);return{column:n,headerRowIndex:l}}getHeaderIndexToFocus(e,t){let a;if(e instanceof lt&&this.isAnyChildSpanningHeaderHeight(e)&&e.isPadding()){const r=e;a=r.getLeafColumns()[0];let o=a;for(;o!==r;)t++,o=o.getParent()}return{column:a||e,headerRowIndex:t}}isAnyChildSpanningHeaderHeight(e){return!!e&&e.getLeafColumns().some(e=>e.isSpanHeaderHeight())}getColumnVisibleParent(e,t){const a=this.getHeaderRowType(t),r=a===Rs.FLOATING_FILTER,o=a===Rs.COLUMN;let i=r?e:e.getParent(),n=t-1,l=n;if(o&&this.isAnyChildSpanningHeaderHeight(e.getParent())){for(;i&&i.isPadding();)i=i.getParent(),n--;l=n,n<0&&(i=e,n=t,l=void 0)}return{column:i,headerRowIndex:n,headerRowIndexWithoutSpan:l}}getColumnVisibleChild(e,t,a="After"){let r=e,o=t+1,i=o;if(this.getHeaderRowType(t)===Rs.COLUMN_GROUP){const t=e.getDisplayedLeafColumns(),i="After"===a?t[0]:Te(t),n=[];let l=i;for(;l.getParent()!==e;)l=l.getParent(),n.push(l);if(r=i,i.isSpanHeaderHeight())for(let e=n.length-1;e>=0;e--){const t=n[e];if(!t.isPadding()){r=t;break}o++}else r=Te(n),r||(r=i)}return{column:r,headerRowIndex:o,headerRowIndexWithoutSpan:i}}getHeaderRowType(e){const t=this.ctrlsService.getHeaderRowContainerCtrl();if(t)return t.getRowType(e)}findColAtEdgeForHeaderRow(e,t){const a=this.columnModel.getAllDisplayedColumns(),r=a["start"===t?0:a.length-1];if(!r)return;const o=this.ctrlsService.getHeaderRowContainerCtrl(r.getPinned()).getRowType(e);if(o==Rs.COLUMN_GROUP){return{headerRowIndex:e,column:this.columnModel.getColumnGroupAtLevel(r,e)}}return{headerRowIndex:null==o?-1:e,column:r}}};Hc([de("columnModel")],_c.prototype,"columnModel",void 0),Hc([de("ctrlsService")],_c.prototype,"ctrlsService",void 0),_c=Hc([ge("headerPositionUtils")],_c);var Bc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let qc=class{buildColumnDefs(e,t,a){const r=[],o={};return e.forEach(e=>{let i=!0,n=this.createDefFromColumn(e,t,a),l=e.getOriginalParent(),s=null;for(;l;){let e=null;if(l.isPadding()){l=l.getOriginalParent();continue}const t=o[l.getGroupId()];if(t){t.children.push(n),i=!1;break}if(e=this.createDefFromGroup(l),e&&(e.children=[n],o[e.groupId]=e,n=e,l=l.getOriginalParent()),null!=l&&s===l){i=!1;break}s=l}i&&r.push(n)}),r}createDefFromGroup(e){const t=N(e.getColGroupDef(),["children"]);return t&&(t.groupId=e.getGroupId()),t}createDefFromColumn(e,t,a){const r=N(e.getColDef());return r.colId=e.getColId(),r.width=e.getActualWidth(),r.rowGroup=e.isRowGroupActive(),r.rowGroupIndex=e.isRowGroupActive()?t.indexOf(e):null,r.pivot=e.isPivotActive(),r.pivotIndex=e.isPivotActive()?a.indexOf(e):null,r.aggFunc=e.isValueActive()?e.getAggFunc():null,r.hide=!e.isVisible()||void 0,r.pinned=e.isPinned()?e.getPinned():null,r.sort=e.getSort()?e.getSort():null,r.sortIndex=null!=e.getSortIndex()?e.getSortIndex():null,r}};qc=Bc([ge("columnDefFactory")],qc);var Wc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Uc=class{getInitialRowClasses(e){const t=[];return S(e.extraCssClass)&&t.push(e.extraCssClass),t.push("ag-row"),t.push(e.rowFocused?"ag-row-focus":"ag-row-no-focus"),e.fadeRowIn&&t.push("ag-opacity-zero"),t.push(e.rowIsEven?"ag-row-even":"ag-row-odd"),e.rowNode.isRowPinned()&&t.push("ag-row-pinned"),e.rowNode.isSelected()&&t.push("ag-row-selected"),e.rowNode.footer&&t.push("ag-row-footer"),t.push("ag-row-level-"+e.rowLevel),e.rowNode.stub&&t.push("ag-row-loading"),e.fullWidthRow&&t.push("ag-full-width-row"),e.expandable&&(t.push("ag-row-group"),t.push(e.rowNode.expanded?"ag-row-group-expanded":"ag-row-group-contracted")),e.rowNode.dragging&&t.push("ag-row-dragging"),Be(t,this.processClassesFromGridOptions(e.rowNode)),Be(t,this.preProcessRowClassRules(e.rowNode)),t.push(e.printLayout?"ag-row-position-relative":"ag-row-position-absolute"),e.firstRowOnPage&&t.push("ag-row-first"),e.lastRowOnPage&&t.push("ag-row-last"),e.fullWidthRow&&("left"===e.pinned&&t.push("ag-cell-last-left-pinned"),"right"===e.pinned&&t.push("ag-cell-first-right-pinned")),t}processClassesFromGridOptions(e){const t=[],a=e=>{"string"==typeof e?t.push(e):Array.isArray(e)&&e.forEach(e=>t.push(e))},r=this.gridOptionsService.get("rowClass");if(r){if("function"==typeof r)return console.warn("AG Grid: rowClass should not be a function, please use getRowClass instead"),[];a(r)}const o=this.gridOptionsService.getCallback("getRowClass");if(o){a(o({data:e.data,node:e,rowIndex:e.rowIndex}))}return t}preProcessRowClassRules(e){const t=[];return this.processRowClassRules(e,e=>{t.push(e)},e=>{}),t}processRowClassRules(e,t,a){const r=this.gridOptionsService.addGridCommonParams({data:e.data,node:e,rowIndex:e.rowIndex});this.stylingService.processClassRules(void 0,this.gridOptionsService.get("rowClassRules"),r,t,a)}calculateRowLevel(e){return e.group?e.level:e.parent?e.parent.level+1:0}};Wc([de("stylingService")],Uc.prototype,"stylingService",void 0),Wc([de("gridOptionsService")],Uc.prototype,"gridOptionsService",void 0),Uc=Wc([ge("rowCssClassCalculator")],Uc);var jc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Kc=class extends at{init(){this.isAccentedSort=this.gridOptionsService.get("accentedSort"),this.primaryColumnsSortGroups=this.gridOptionsService.isColumnsSortingCoupledToGroup(),this.addManagedPropertyListener("accentedSort",e=>this.isAccentedSort=e.currentValue),this.addManagedPropertyListener("autoGroupColumnDef",()=>this.primaryColumnsSortGroups=this.gridOptionsService.isColumnsSortingCoupledToGroup())}doFullSort(e,t){const a=e.map((e,t)=>({currentPos:t,rowNode:e}));return a.sort(this.compareRowNodes.bind(this,t)),a.map(e=>e.rowNode)}compareRowNodes(e,t,a){const r=t.rowNode,o=a.rowNode;for(let t=0,a=e.length;t<a;t++){const a=e[t],i="desc"===a.sort,n=this.getValue(r,a.column),l=this.getValue(o,a.column);let s;const g=this.getComparator(a,r);s=g?g(n,l,r,o,i):$r.defaultComparator(n,l,this.isAccentedSort);if(!isNaN(s)&&0!==s)return"asc"===a.sort?s:-1*s}return t.currentPos-a.currentPos}getComparator(e,t){const a=e.column,r=a.getColDef().comparator;if(null!=r)return r;if(!a.getColDef().showRowGroup)return;const o=!t.group&&a.getColDef().field;if(!o)return;const i=this.columnModel.getPrimaryColumn(o);return i?i.getColDef().comparator:void 0}getValue(e,t){var a,r;if(!this.primaryColumnsSortGroups)return this.valueService.getValue(t,e,!1,!1);if(e.rowGroupColumn===t){if(this.gridOptionsService.isGroupUseEntireRow(this.columnModel.isPivotActive())){const r=null===(a=e.allLeafChildren)||void 0===a?void 0:a[0];return r?this.valueService.getValue(t,r,!1,!1):void 0}const o=this.columnModel.getGroupDisplayColumnForGroup(t.getId());if(!o)return;return null===(r=e.groupData)||void 0===r?void 0:r[o.getId()]}return e.group&&t.getColDef().showRowGroup?void 0:this.valueService.getValue(t,e,!1,!1)}};jc([de("valueService")],Kc.prototype,"valueService",void 0),jc([de("columnModel")],Kc.prototype,"columnModel",void 0),jc([le],Kc.prototype,"init",null),Kc=jc([ge("rowNodeSorter")],Kc);var Yc,Qc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Jc=Yc=class extends at{constructor(){super(...arguments),this.ready=!1,this.readyCallbacks=[]}checkReady(){if(this.ready=null!=this.gridCtrl&&null!=this.gridBodyCtrl&&null!=this.centerRowContainerCtrl&&null!=this.leftRowContainerCtrl&&null!=this.rightRowContainerCtrl&&null!=this.bottomCenterRowContainerCtrl&&null!=this.bottomLeftRowContainerCtrl&&null!=this.bottomRightRowContainerCtrl&&null!=this.topCenterRowContainerCtrl&&null!=this.topLeftRowContainerCtrl&&null!=this.topRightRowContainerCtrl&&null!=this.stickyTopCenterRowContainerCtrl&&null!=this.stickyTopLeftRowContainerCtrl&&null!=this.stickyTopRightRowContainerCtrl&&null!=this.centerHeaderRowContainerCtrl&&null!=this.leftHeaderRowContainerCtrl&&null!=this.rightHeaderRowContainerCtrl&&null!=this.fakeHScrollComp&&null!=this.fakeVScrollComp&&null!=this.gridHeaderCtrl,this.ready){const e=this.createReadyParams();this.readyCallbacks.forEach(t=>t(e)),this.readyCallbacks.length=0}}whenReady(e){this.ready?e(this.createReadyParams()):this.readyCallbacks.push(e)}createReadyParams(){return{centerRowContainerCtrl:this.centerRowContainerCtrl,leftRowContainerCtrl:this.leftRowContainerCtrl,rightRowContainerCtrl:this.rightRowContainerCtrl,bottomCenterRowContainerCtrl:this.bottomCenterRowContainerCtrl,bottomLeftRowContainerCtrl:this.bottomLeftRowContainerCtrl,bottomRightRowContainerCtrl:this.bottomRightRowContainerCtrl,topCenterRowContainerCtrl:this.topCenterRowContainerCtrl,topLeftRowContainerCtrl:this.topLeftRowContainerCtrl,topRightRowContainerCtrl:this.topRightRowContainerCtrl,stickyTopCenterRowContainerCtrl:this.stickyTopCenterRowContainerCtrl,stickyTopLeftRowContainerCtrl:this.stickyTopLeftRowContainerCtrl,stickyTopRightRowContainerCtrl:this.stickyTopRightRowContainerCtrl,centerHeaderRowContainerCtrl:this.centerHeaderRowContainerCtrl,leftHeaderRowContainerCtrl:this.leftHeaderRowContainerCtrl,rightHeaderRowContainerCtrl:this.rightHeaderRowContainerCtrl,fakeHScrollComp:this.fakeHScrollComp,fakeVScrollComp:this.fakeVScrollComp,gridBodyCtrl:this.gridBodyCtrl,gridCtrl:this.gridCtrl,gridHeaderCtrl:this.gridHeaderCtrl}}registerFakeHScrollComp(e){this.fakeHScrollComp=e,this.checkReady()}registerFakeVScrollComp(e){this.fakeVScrollComp=e,this.checkReady()}registerGridHeaderCtrl(e){this.gridHeaderCtrl=e,this.checkReady()}registerCenterRowContainerCtrl(e){this.centerRowContainerCtrl=e,this.checkReady()}registerLeftRowContainerCtrl(e){this.leftRowContainerCtrl=e,this.checkReady()}registerRightRowContainerCtrl(e){this.rightRowContainerCtrl=e,this.checkReady()}registerTopCenterRowContainerCtrl(e){this.topCenterRowContainerCtrl=e,this.checkReady()}registerTopLeftRowContainerCon(e){this.topLeftRowContainerCtrl=e,this.checkReady()}registerTopRightRowContainerCtrl(e){this.topRightRowContainerCtrl=e,this.checkReady()}registerStickyTopCenterRowContainerCtrl(e){this.stickyTopCenterRowContainerCtrl=e,this.checkReady()}registerStickyTopLeftRowContainerCon(e){this.stickyTopLeftRowContainerCtrl=e,this.checkReady()}registerStickyTopRightRowContainerCtrl(e){this.stickyTopRightRowContainerCtrl=e,this.checkReady()}registerBottomCenterRowContainerCtrl(e){this.bottomCenterRowContainerCtrl=e,this.checkReady()}registerBottomLeftRowContainerCtrl(e){this.bottomLeftRowContainerCtrl=e,this.checkReady()}registerBottomRightRowContainerCtrl(e){this.bottomRightRowContainerCtrl=e,this.checkReady()}registerHeaderContainer(e,t){switch(t){case"left":this.leftHeaderRowContainerCtrl=e;break;case"right":this.rightHeaderRowContainerCtrl=e;break;default:this.centerHeaderRowContainerCtrl=e}this.checkReady()}registerGridBodyCtrl(e){this.gridBodyCtrl=e,this.checkReady()}registerGridCtrl(e){this.gridCtrl=e,this.checkReady()}getFakeHScrollComp(){return this.fakeHScrollComp}getFakeVScrollComp(){return this.fakeVScrollComp}getGridHeaderCtrl(){return this.gridHeaderCtrl}getGridCtrl(){return this.gridCtrl}getCenterRowContainerCtrl(){return this.centerRowContainerCtrl}getTopCenterRowContainerCtrl(){return this.topCenterRowContainerCtrl}getBottomCenterRowContainerCtrl(){return this.bottomCenterRowContainerCtrl}getStickyTopCenterRowContainerCtrl(){return this.stickyTopCenterRowContainerCtrl}getGridBodyCtrl(){return this.gridBodyCtrl}getHeaderRowContainerCtrls(){return[this.leftHeaderRowContainerCtrl,this.rightHeaderRowContainerCtrl,this.centerHeaderRowContainerCtrl]}getHeaderRowContainerCtrl(e){switch(e){case"left":return this.leftHeaderRowContainerCtrl;case"right":return this.rightHeaderRowContainerCtrl;default:return this.centerHeaderRowContainerCtrl}}};Jc.NAME="ctrlsService",Jc=Yc=Qc([ge(Yc.NAME)],Jc);var Xc=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Zc=class extends at{constructor(){super(...arguments),this.registry={}}register(e){this.registry[e.controllerName]=e.controllerClass}getInstance(e){const t=this.registry[e];if(null!=t)return new t}};Zc=Xc([ge("ctrlsFactory")],Zc);var $c=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class eu extends uo{constructor(e,t){super(e),this.direction=t,this.hideTimeout=null}postConstruct(){this.addManagedListener(this.eventService,st.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.onScrollVisibilityChanged(),this.addOrRemoveCssClass("ag-apple-scrollbar",Oa()||Ma())}initialiseInvisibleScrollbar(){void 0===this.invisibleScrollbar&&(this.invisibleScrollbar=Ha(),this.invisibleScrollbar&&(this.hideAndShowInvisibleScrollAsNeeded(),this.addActiveListenerToggles()))}addActiveListenerToggles(){const e=this.getGui();["mouseenter","mousedown","touchstart"].forEach(t=>this.addManagedListener(e,t,()=>this.addOrRemoveCssClass("ag-scrollbar-active",!0))),["mouseleave","touchend"].forEach(t=>this.addManagedListener(e,t,()=>this.addOrRemoveCssClass("ag-scrollbar-active",!1)))}onScrollVisibilityChanged(){void 0===this.invisibleScrollbar&&this.initialiseInvisibleScrollbar(),this.animationFrameService.requestAnimationFrame(()=>this.setScrollVisible())}hideAndShowInvisibleScrollAsNeeded(){this.addManagedListener(this.eventService,st.EVENT_BODY_SCROLL,e=>{e.direction===this.direction&&(null!==this.hideTimeout&&(window.clearTimeout(this.hideTimeout),this.hideTimeout=null),this.addOrRemoveCssClass("ag-scrollbar-scrolling",!0))}),this.addManagedListener(this.eventService,st.EVENT_BODY_SCROLL_END,()=>{this.hideTimeout=window.setTimeout(()=>{this.addOrRemoveCssClass("ag-scrollbar-scrolling",!1),this.hideTimeout=null},400)})}attemptSettingScrollPosition(e){const t=this.getViewport();ee(()=>br(t),()=>this.setScrollPosition(e),100)}getViewport(){return this.eViewport}getContainer(){return this.eContainer}onScrollCallback(e){this.addManagedListener(this.getViewport(),"scroll",e)}}$c([ho("eViewport")],eu.prototype,"eViewport",void 0),$c([ho("eContainer")],eu.prototype,"eContainer",void 0),$c([de("scrollVisibleService")],eu.prototype,"scrollVisibleService",void 0),$c([de("ctrlsService")],eu.prototype,"ctrlsService",void 0),$c([de("animationFrameService")],eu.prototype,"animationFrameService",void 0);var tu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class au extends eu{constructor(){super(au.TEMPLATE,"horizontal")}postConstruct(){super.postConstruct();const e=this.setFakeHScrollSpacerWidths.bind(this);this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedPropertyListener("domLayout",e),this.ctrlsService.registerFakeHScrollComp(this),this.createManagedBean(new ql(e=>this.eContainer.style.width=e+"px")),this.addManagedPropertyListeners(["suppressHorizontalScroll"],this.onScrollVisibilityChanged.bind(this))}initialiseInvisibleScrollbar(){void 0===this.invisibleScrollbar&&(this.enableRtl=this.gridOptionsService.get("enableRtl"),super.initialiseInvisibleScrollbar(),this.invisibleScrollbar&&this.refreshCompBottom())}onPinnedRowDataChanged(){this.refreshCompBottom()}refreshCompBottom(){if(!this.invisibleScrollbar)return;const e=this.pinnedRowModel.getPinnedBottomTotalHeight();this.getGui().style.bottom=e+"px"}onScrollVisibilityChanged(){super.onScrollVisibilityChanged(),this.setFakeHScrollSpacerWidths()}setFakeHScrollSpacerWidths(){const e=this.scrollVisibleService.isVerticalScrollShowing();let t=this.columnModel.getDisplayedColumnsRightWidth();const a=!this.enableRtl&&e,r=this.gridOptionsService.getScrollbarWidth();a&&(t+=r),Tr(this.eRightSpacer,t),this.eRightSpacer.classList.toggle("ag-scroller-corner",t<=r);let o=this.columnModel.getDisplayedColumnsLeftWidth();this.enableRtl&&e&&(o+=r),Tr(this.eLeftSpacer,o),this.eLeftSpacer.classList.toggle("ag-scroller-corner",o<=r)}setScrollVisible(){const e=this.scrollVisibleService.isHorizontalScrollShowing(),t=this.invisibleScrollbar,a=this.gridOptionsService.get("suppressHorizontalScroll"),r=e&&this.gridOptionsService.getScrollbarWidth()||0,o=a?0:0===r&&t?16:r;this.addOrRemoveCssClass("ag-scrollbar-invisible",t),Dr(this.getGui(),o),Dr(this.eViewport,o),Dr(this.eContainer,o),this.setDisplayed(e,{skipAriaHidden:!0})}getScrollPosition(){return hr(this.getViewport(),this.enableRtl)}setScrollPosition(e){br(this.getViewport())||this.attemptSettingScrollPosition(e),mr(this.getViewport(),e,this.enableRtl)}}au.TEMPLATE='<div class="ag-body-horizontal-scroll" aria-hidden="true">\n <div class="ag-horizontal-left-spacer" ref="eLeftSpacer"></div>\n <div class="ag-body-horizontal-scroll-viewport" ref="eViewport">\n <div class="ag-body-horizontal-scroll-container" ref="eContainer"></div>\n </div>\n <div class="ag-horizontal-right-spacer" ref="eRightSpacer"></div>\n </div>',tu([ho("eLeftSpacer")],au.prototype,"eLeftSpacer",void 0),tu([ho("eRightSpacer")],au.prototype,"eRightSpacer",void 0),tu([de("columnModel")],au.prototype,"columnModel",void 0),tu([de("pinnedRowModel")],au.prototype,"pinnedRowModel",void 0),tu([le],au.prototype,"postConstruct",null);var ru=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let ou=class extends at{postConstruct(){const e=this.checkContainerWidths.bind(this);this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,st.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.addManagedPropertyListener("domLayout",e)}checkContainerWidths(){const e=this.gridOptionsService.isDomLayout("print"),t=e?0:this.columnModel.getDisplayedColumnsLeftWidth(),a=e?0:this.columnModel.getDisplayedColumnsRightWidth();t!=this.leftWidth&&(this.leftWidth=t,this.eventService.dispatchEvent({type:st.EVENT_LEFT_PINNED_WIDTH_CHANGED})),a!=this.rightWidth&&(this.rightWidth=a,this.eventService.dispatchEvent({type:st.EVENT_RIGHT_PINNED_WIDTH_CHANGED}))}getPinnedRightWidth(){return this.rightWidth}getPinnedLeftWidth(){return this.leftWidth}};ru([de("columnModel")],ou.prototype,"columnModel",void 0),ru([le],ou.prototype,"postConstruct",null),ou=ru([ge("pinnedWidthService")],ou);var iu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let nu=class extends at{constructor(){super(...arguments),this.events=[]}postConstruct(){"clientSide"==this.rowModel.getType()&&(this.clientSideRowModel=this.rowModel)}dispatchExpanded(e){if(null==this.clientSideRowModel)return void this.eventService.dispatchEvent(e);this.events.push(e);const t=()=>{this.clientSideRowModel&&this.clientSideRowModel.onRowGroupOpened(),this.events.forEach(e=>this.eventService.dispatchEvent(e)),this.events=[]};null==this.dispatchExpandedDebounced&&(this.dispatchExpandedDebounced=this.animationFrameService.debounce(t)),this.dispatchExpandedDebounced()}};iu([de("animationFrameService")],nu.prototype,"animationFrameService",void 0),iu([de("rowModel")],nu.prototype,"rowModel",void 0),iu([le],nu.prototype,"postConstruct",null),nu=iu([ge("rowNodeEventThrottle")],nu);const lu=(e,t)=>{var a;return"clientSide"===(null!==(a=t.rowModelType)&&void 0!==a?a:"clientSide")?{module:re.RowGroupingModule}:null},su={enableRowGroup:lu,rowGroup:lu,rowGroupIndex:lu,enablePivot:lu,enableValue:lu,pivot:lu,pivotIndex:lu,aggFunc:lu,cellEditor:e=>"agRichSelect"===e.cellEditor||"agRichSelectCellEditor"===e.cellEditor?{module:re.RichSelectModule}:null,menuTabs:e=>{var t;const a=["columnsMenuTab","generalMenuTab"];return(null===(t=e.menuTabs)||void 0===t?void 0:t.some(e=>a.includes(e)))?{module:re.MenuModule}:null},columnsMenuParams:{module:[re.MenuModule,re.ColumnsToolPanelModule]},columnChooserParams:{module:[re.MenuModule,re.ColumnsToolPanelModule]},headerCheckboxSelection:{supportedRowModels:["clientSide","serverSide"],dependencies:(e,{rowSelection:t})=>"multiple"===t?null:"headerCheckboxSelection is only supported with rowSelection=multiple"},headerCheckboxSelectionFilteredOnly:{supportedRowModels:["clientSide"],dependencies:(e,{rowSelection:t})=>"multiple"===t?null:"headerCheckboxSelectionFilteredOnly is only supported with rowSelection=multiple"},headerCheckboxSelectionCurrentPageOnly:{supportedRowModels:["clientSide"],dependencies:(e,{rowSelection:t})=>"multiple"===t?null:"headerCheckboxSelectionCurrentPageOnly is only supported with rowSelection=multiple"},children:()=>gu},gu={objectName:"colDef",allProperties:Ln.ALL_PROPERTIES,docsUrl:"column-properties/",deprecations:{columnsMenuParams:{version:"31.1",message:"Use `columnChooserParams` instead."},suppressMenu:{version:"31.1",message:"Use `suppressHeaderMenuButton` instead."}},validations:su},du={suppressContextMenu:!1,preventDefaultOnContextMenu:!1,allowContextMenuWithControlKey:!1,suppressMenuHide:!1,enableBrowserTooltips:!1,tooltipTrigger:"hover",tooltipShowDelay:2e3,tooltipHideDelay:1e4,tooltipMouseTrack:!1,tooltipInteraction:!1,copyHeadersToClipboard:!1,copyGroupHeadersToClipboard:!1,clipboardDelimiter:"\t",suppressCopyRowsToClipboard:!1,suppressCopySingleCellRanges:!1,suppressLastEmptyLineOnPaste:!1,suppressClipboardPaste:!1,suppressClipboardApi:!1,suppressCutToClipboard:!1,maintainColumnOrder:!1,suppressFieldDotNotation:!1,allowDragFromColumnsToolPanel:!1,suppressMovableColumns:!1,suppressColumnMoveAnimation:!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,suppressChartToolPanelsButton:!1,masterDetail:!1,keepDetailRows:!1,keepDetailRowsCount:10,detailRowAutoHeight:!1,tabIndex:0,rowBuffer:10,valueCache:!1,valueCacheNeverExpires:!1,enableCellExpressions:!1,suppressTouch:!1,suppressFocusAfterRefresh:!1,suppressAsyncEvents:!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,enableCellChangeFlash:!1,cellFlashDelay:500,cellFlashDuration:500,cellFadeDelay:1e3,cellFadeDuration:1e3,allowShowChangeAfterFilter:!1,domLayout:"normal",ensureDomOrder:!1,enableRtl:!1,suppressColumnVirtualisation:!1,suppressMaxRenderedRowRestriction:!1,suppressRowVirtualisation:!1,rowDragManaged:!1,suppressRowDrag:!1,suppressMoveWhenRowDragging:!1,rowDragEntireRow:!1,rowDragMultiRow:!1,embedFullWidthRows:!1,groupDisplayType:"singleColumn",groupDefaultExpanded:0,groupMaintainOrder:!1,groupSelectsChildren:!1,groupIncludeTotalFooter:!1,groupSuppressBlankHeader:!1,groupSelectsFiltered:!1,showOpenedGroup:!1,groupRemoveSingleChildren:!1,groupRemoveLowestSingleChildren:!1,groupHideOpenParents:!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,suppressServerSideInfiniteScroll:!1,cacheBlockSize:100,maxBlocksInCache:-1,maxConcurrentDatasourceRequests:2,blockLoadDebounceMillis:0,purgeClosedRowNodes:!1,serverSideSortAllLevels:!1,serverSideOnlyRefreshFilteredGroups:!1,serverSideSortOnServer:!1,serverSideFilterOnServer:!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,suppressGroupMaintainValueType:!1,functionsPassive:!1,groupLockGroupColumns:0,serverSideEnableClientSideSort:!1},cu={sideBar:{module:re.SideBarModule},statusBar:{module:re.StatusBarModule},enableCharts:{module:re.GridChartsModule},getMainMenuItems:{module:re.MenuModule},getContextMenuItems:{module:re.MenuModule},allowContextMenuWithControlKey:{module:re.MenuModule},enableAdvancedFilter:{module:re.AdvancedFilterModule},treeData:{supportedRowModels:["clientSide","serverSide"],module:re.RowGroupingModule,dependencies:e=>{var t;const a=null!==(t=e.rowModelType)&&void 0!==t?t:"clientSide";switch(a){case"clientSide":const t=`treeData requires 'getDataPath' in the ${a} row model.`;return e.getDataPath?null:t;case"serverSide":const r=`treeData requires 'isServerSideGroup' and 'getServerSideGroupKey' in the ${a} row model.`;return e.isServerSideGroup&&e.getServerSideGroupKey?null:r}return null}},masterDetail:{module:re.MasterDetailModule},enableRangeSelection:{module:re.RangeSelectionModule},enableRangeHandle:{dependencies:{enableRangeSelection:[!0]}},enableFillHandle:{dependencies:{enableRangeSelection:[!0]}},groupDefaultExpanded:{supportedRowModels:["clientSide"]},groupIncludeFooter:{supportedRowModels:["clientSide","serverSide"],dependencies:e=>{var t;switch(null!==(t=e.rowModelType)&&void 0!==t?t:"clientSide"){case"clientSide":return null;case"serverSide":const t="groupIncludeFooter is not supported alongside suppressServerSideInfiniteScroll";return e.suppressServerSideInfiniteScroll?t:null}return null}},groupIncludeTotalFooter:{supportedRowModels:["clientSide"]},groupRemoveSingleChildren:{dependencies:{groupHideOpenParents:[void 0,!1],groupRemoveLowestSingleChildren:[void 0,!1]}},groupRemoveLowestSingleChildren:{dependencies:{groupHideOpenParents:[void 0,!1],groupRemoveSingleChildren:[void 0,!1]}},groupSelectsChildren:{dependencies:{rowSelection:["multiple"]}},suppressParentsInRowNodes:{dependencies:{groupSelectsChildren:[void 0,!1]}},viewportDatasource:{supportedRowModels:["viewport"],module:re.ViewportRowModelModule},serverSideDatasource:{supportedRowModels:["serverSide"],module:re.ServerSideRowModelModule},cacheBlockSize:{supportedRowModels:["serverSide","infinite"]},datasource:{supportedRowModels:["infinite"],module:re.InfiniteRowModelModule},rowData:{supportedRowModels:["clientSide"],module:re.ClientSideRowModelModule},columnDefs:()=>gu,defaultColDef:()=>gu,defaultColGroupDef:()=>gu,autoGroupColumnDef:()=>gu},uu={objectName:"gridOptions",allProperties:[...Pt.ALL_PROPERTIES,...Nt.EVENT_CALLBACKS],propertyExceptions:["api","columnApi"],docsUrl:"grid-options/",deprecations:{enableChartToolPanelsButton:{version:"29",message:"The Chart Tool Panels button is now enabled by default. To hide the Chart Tool Panels button and display the hamburger button instead, set suppressChartToolPanelsButton=true."},functionsPassive:{version:"29.2"},onColumnRowGroupChangeRequest:{version:"29.2"},onColumnPivotChangeRequest:{version:"29.2"},onColumnValueChangeRequest:{version:"29.2"},onColumnAggFuncChangeRequest:{version:"29.2"},serverSideFilterAllLevels:{version:"30",message:"All server-side group levels are now filtered by default. This can be toggled using `serverSideOnlyRefreshFilteredGroups`."},suppressAggAtRootLevel:{version:"30",message:"The root level aggregation is now suppressed by default. This can be toggled using `alwaysAggregateAtRootLevel`."},excludeHiddenColumnsFromQuickFilter:{version:"30",message:"Hidden columns are now excluded from the Quick Filter by default. This can be toggled using `includeHiddenColumnsInQuickFilter`."},enterMovesDown:{version:"30",renamed:"enterNavigatesVertically"},enterMovesDownAfterEdit:{version:"30",renamed:"enterNavigatesVerticallyAfterEdit"},suppressParentsInRowNodes:{version:"30.2",message:"Using suppressParentsInRowNodes is no longer recommended. To serialize nodes it is now recommended to instead remove the parent node reference before serialization."},advancedFilterModel:{version:"31",message:"Use `initialState.filter.advancedFilterModel` instead."},suppressAsyncEvents:{version:"31",message:"Events should be handled asynchronously."},cellFadeDelay:{version:"31.1",renamed:"cellFadeDuration"},cellFlashDelay:{version:"31.1",renamed:"cellFlashDuration"},suppressServerSideInfiniteScroll:{version:"31.1"},serverSideSortOnServer:{version:"31.1"},serverSideFilterOnServer:{version:"31.1"}},validations:cu};var pu,hu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let mu=pu=class{constructor(){this.destroyed=!1,this.domDataKey="__AG_"+Math.random().toString(),this.propertyEventService=new fe,this.globalEventHandlerFactory=e=>(t,a)=>{if(this.destroyed)return;const r=pu.alwaysSyncGlobalEvents.has(t);if(r&&!e||!r&&e)return;const o=Nt.getCallbackForEvent(t),i=this.gridOptions[o];"function"==typeof i&&this.frameworkOverrides.wrapOutgoing(()=>{i(a)})}}get context(){return this.gridOptions.context}init(){this.columnApi=new Fd(this.api);const e=!this.get("suppressAsyncEvents");this.eventService.addGlobalListener(this.globalEventHandlerFactory().bind(this),e),this.eventService.addGlobalListener(this.globalEventHandlerFactory(!0).bind(this),!1),this.propertyEventService.setFrameworkOverrides(this.frameworkOverrides),this.getScrollbarWidth()}destroy(){this.destroyed=!0,this.columnApi=void 0}get(e){var t;return null!==(t=this.gridOptions[e])&&void 0!==t?t:du[e]}getCallback(e){return this.mergeGridCommonParams(this.gridOptions[e])}exists(e){return S(this.gridOptions[e])}mergeGridCommonParams(e){if(e){return t=>{const a=t;return a.api=this.api,a.columnApi=this.columnApi,a.context=this.context,e(a)}}return e}static toBoolean(e){return"boolean"==typeof e?e:"string"==typeof e&&("TRUE"===e.toUpperCase()||""==e)}static toNumber(e){if("number"==typeof e)return e;if("string"==typeof e){const t=parseInt(e);if(isNaN(t))return;return t}}static toConstrainedNum(e,t){return a=>{const r=pu.toNumber(a);if(!(null==r||r<e||r>t))return r}}static getCoercedValue(e,t){const a=pu.PROPERTY_COERCIONS.get(e);return a?a(t):t}static getCoercedGridOptions(e){const t={};return Object.entries(e).forEach(([e,a])=>{const r=pu.getCoercedValue(e,a);t[e]=r}),t}updateGridOptions({options:e,source:t="api"}){const a={id:pu.changeSetId++,properties:[]},r=[];Object.entries(e).forEach(([e,o])=>{"api"===t&&Mt[e]&&q(e+" is an initial property and cannot be updated.");const i=pu.getCoercedValue(e,o),n="object"==typeof i&&"api"===t,l=this.gridOptions[e];if(n||l!==i){this.gridOptions[e]=i;const o={type:e,currentValue:i,previousValue:l,changeSet:a,source:t};r.push(o)}}),this.validationService.processGridOptions(this.gridOptions),a.properties=r.map(e=>e.type),r.forEach(e=>{this.gridOptions.debug&&console.log(`AG Grid: Updated property ${e.type} from `,e.previousValue," to ",e.currentValue),this.propertyEventService.dispatchEvent(e)})}addEventListener(e,t){this.propertyEventService.addEventListener(e,t)}removeEventListener(e,t){this.propertyEventService.removeEventListener(e,t)}getScrollbarWidth(){if(null==this.scrollbarWidth){const e="number"==typeof this.gridOptions.scrollbarWidth&&this.gridOptions.scrollbarWidth>=0?this.gridOptions.scrollbarWidth:Ga();null!=e&&(this.scrollbarWidth=e,this.eventService.dispatchEvent({type:st.EVENT_SCROLLBAR_WIDTH_CHANGED}))}return this.scrollbarWidth}isRowModelType(e){return this.gridOptions.rowModelType===e||"clientSide"===e&&E(this.gridOptions.rowModelType)}isDomLayout(e){var t;return(null!==(t=this.gridOptions.domLayout)&&void 0!==t?t:"normal")===e}isRowSelection(){return"single"===this.gridOptions.rowSelection||"multiple"===this.gridOptions.rowSelection}useAsyncEvents(){return!this.get("suppressAsyncEvents")}isGetRowHeightFunction(){return"function"==typeof this.gridOptions.getRowHeight}getRowHeightForNode(e,t=!1,a){if(null==a&&(a=this.environment.getDefaultRowHeight()),this.isGetRowHeightFunction()){if(t)return{height:a,estimated:!0};const r={node:e,data:e.data},o=this.getCallback("getRowHeight")(r);if(this.isNumeric(o))return 0===o&&q("The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead."),{height:Math.max(1,o),estimated:!1}}if(e.detail&&this.get("masterDetail"))return this.getMasterDetailRowHeight();return{height:this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:a,estimated:!1}}getMasterDetailRowHeight(){return this.get("detailRowAutoHeight")?{height:1,estimated:!1}:this.isNumeric(this.gridOptions.detailRowHeight)?{height:this.gridOptions.detailRowHeight,estimated:!1}:{height:300,estimated:!1}}getRowHeightAsNumber(){if(!this.gridOptions.rowHeight||E(this.gridOptions.rowHeight))return this.environment.getDefaultRowHeight();const e=this.environment.refreshRowHeightVariable();return-1!==e?e:(console.warn("AG Grid row height must be a number if not using standard row model"),this.environment.getDefaultRowHeight())}isNumeric(e){return!isNaN(e)&&"number"==typeof e&&isFinite(e)}getDomDataKey(){return this.domDataKey}getDomData(e,t){const a=e[this.getDomDataKey()];return a?a[t]:void 0}setDomData(e,t,a){const r=this.getDomDataKey();let o=e[r];E(o)&&(o={},e[r]=o),o[t]=a}getDocument(){let e=null;return this.gridOptions.getDocument&&S(this.gridOptions.getDocument)?e=this.gridOptions.getDocument():this.eGridDiv&&(e=this.eGridDiv.ownerDocument),e&&S(e)?e:document}getWindow(){return this.getDocument().defaultView||window}getRootNode(){return this.eGridDiv.getRootNode()}getAsyncTransactionWaitMillis(){return S(this.gridOptions.asyncTransactionWaitMillis)?this.gridOptions.asyncTransactionWaitMillis:50}isAnimateRows(){return!this.get("ensureDomOrder")&&this.get("animateRows")}isGroupRowsSticky(){return!(this.get("suppressGroupRowsSticky")||this.get("paginateChildRows")||this.get("groupHideOpenParents")||this.isDomLayout("print"))}isColumnsSortingCoupledToGroup(){const e=this.gridOptions.autoGroupColumnDef;return!(null==e?void 0:e.comparator)&&!this.get("treeData")}getGroupAggFiltering(){const e=this.gridOptions.groupAggFiltering;return"function"==typeof e?this.getCallback("groupAggFiltering"):!0===e?()=>!0:void 0}isGroupIncludeFooterTrueOrCallback(){const e=this.gridOptions.groupIncludeFooter;return!0===e||"function"==typeof e}getGroupIncludeFooter(){const e=this.gridOptions.groupIncludeFooter;return"function"==typeof e?this.getCallback("groupIncludeFooter"):!0===e?()=>!0:()=>!1}isGroupMultiAutoColumn(){return this.gridOptions.groupDisplayType?"multipleColumns"===this.gridOptions.groupDisplayType:this.get("groupHideOpenParents")}isGroupUseEntireRow(e){return!e&&"groupRows"===this.gridOptions.groupDisplayType}getGridCommonParams(){return{api:this.api,columnApi:this.columnApi,context:this.context}}addGridCommonParams(e){const t=e;return t.api=this.api,t.columnApi=this.columnApi,t.context=this.context,t}};mu.alwaysSyncGlobalEvents=new Set([st.EVENT_GRID_PRE_DESTROYED]),mu.PROPERTY_COERCIONS=new Map([...Pt.BOOLEAN_PROPERTIES.map(e=>[e,pu.toBoolean]),...Pt.NUMBER_PROPERTIES.map(e=>[e,pu.toNumber]),["groupAggFiltering",e=>"function"==typeof e?e:pu.toBoolean(e)],["pageSize",pu.toConstrainedNum(1,Number.MAX_VALUE)],["autoSizePadding",pu.toConstrainedNum(0,Number.MAX_VALUE)],["keepDetailRowsCount",pu.toConstrainedNum(1,Number.MAX_VALUE)],["rowBuffer",pu.toConstrainedNum(0,Number.MAX_VALUE)],["infiniteInitialRowCount",pu.toConstrainedNum(1,Number.MAX_VALUE)],["cacheOverflowSize",pu.toConstrainedNum(1,Number.MAX_VALUE)],["cacheBlockSize",pu.toConstrainedNum(1,Number.MAX_VALUE)],["serverSideInitialRowCount",pu.toConstrainedNum(1,Number.MAX_VALUE)],["viewportRowModelPageSize",pu.toConstrainedNum(1,Number.MAX_VALUE)],["viewportRowModelBufferSize",pu.toConstrainedNum(0,Number.MAX_VALUE)]]),mu.changeSetId=0,hu([de("gridOptions")],mu.prototype,"gridOptions",void 0),hu([de("eventService")],mu.prototype,"eventService",void 0),hu([de("environment")],mu.prototype,"environment",void 0),hu([de("frameworkOverrides")],mu.prototype,"frameworkOverrides",void 0),hu([de("eGridDiv")],mu.prototype,"eGridDiv",void 0),hu([de("validationService")],mu.prototype,"validationService",void 0),hu([de("gridApi")],mu.prototype,"api",void 0),hu([le],mu.prototype,"init",null),hu([se],mu.prototype,"destroy",null),mu=pu=hu([ge("gridOptionsService")],mu);var vu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let fu=class extends at{getLocaleTextFunc(){const e=this.gridOptionsService.getCallback("getLocaleText");if(e)return(t,a,r)=>e({key:t,defaultValue:a,variableValues:r});const t=this.gridOptionsService.get("localeText");return(e,a,r)=>{let o=t&&t[e];if(o&&r&&r.length){let e=0;for(;!(e>=r.length);){if(-1===o.indexOf("${variable}"))break;o=o.replace("${variable}",r[e++])}}return null!=o?o:a}}};fu=vu([ge("localeService")],fu);var wu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class bu extends eu{constructor(){super(bu.TEMPLATE,"vertical")}postConstruct(){super.postConstruct(),this.createManagedBean(new Vl(this.eContainer)),this.ctrlsService.registerFakeVScrollComp(this),this.addManagedListener(this.eventService,st.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,this.onRowContainerHeightChanged.bind(this))}setScrollVisible(){const e=this.scrollVisibleService.isVerticalScrollShowing(),t=this.invisibleScrollbar,a=e&&this.gridOptionsService.getScrollbarWidth()||0,r=0===a&&t?16:a;this.addOrRemoveCssClass("ag-scrollbar-invisible",t),Tr(this.getGui(),r),Tr(this.eViewport,r),Tr(this.eContainer,r),this.setDisplayed(e,{skipAriaHidden:!0})}onRowContainerHeightChanged(){const{ctrlsService:e}=this,t=e.getGridBodyCtrl().getBodyViewportElement(),a=this.getScrollPosition(),r=t.scrollTop;a!=r&&this.setScrollPosition(r,!0)}getScrollPosition(){return this.getViewport().scrollTop}setScrollPosition(e,t){t||br(this.getViewport())||this.attemptSettingScrollPosition(e),this.getViewport().scrollTop=e}}bu.TEMPLATE='<div class="ag-body-vertical-scroll" aria-hidden="true">\n <div class="ag-body-vertical-scroll-viewport" ref="eViewport">\n <div class="ag-body-vertical-scroll-container" ref="eContainer"></div>\n </div>\n </div>',wu([le],bu.prototype,"postConstruct",null);var Cu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};const yu={january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},Su=["january","february","march","april","may","june","july","august","september","october","november","december"];let Eu=class extends at{constructor(){super(...arguments),this.dataTypeDefinitions={},this.isWaitingForRowData=!1,this.isColumnTypeOverrideInDataTypeDefinitions=!1,this.columnStateUpdatesPendingInference={},this.columnStateUpdateListenerDestroyFuncs=[]}init(){this.groupHideOpenParents=this.gridOptionsService.get("groupHideOpenParents"),this.addManagedPropertyListener("groupHideOpenParents",()=>{this.groupHideOpenParents=this.gridOptionsService.get("groupHideOpenParents")}),this.processDataTypeDefinitions(),this.addManagedPropertyListener("dataTypeDefinitions",e=>{this.processDataTypeDefinitions(),this.columnModel.recreateColumnDefs(zt(e.source))})}processDataTypeDefinitions(){var e;const t=this.getDefaultDataTypes();this.dataTypeDefinitions={},Object.entries(t).forEach(([e,t])=>{this.dataTypeDefinitions[e]=Object.assign(Object.assign({},t),{groupSafeValueFormatter:this.createGroupSafeValueFormatter(t)})});const a=null!==(e=this.gridOptionsService.get("dataTypeDefinitions"))&&void 0!==e?e:{};this.dataTypeMatchers={},Object.entries(a).forEach(([e,r])=>{const o=this.processDataTypeDefinition(r,a,[e],t);o&&(this.dataTypeDefinitions[e]=o,r.dataTypeMatcher&&(this.dataTypeMatchers[e]=r.dataTypeMatcher))}),this.checkObjectValueHandlers(t),["dateString","text","number","boolean","date"].forEach(e=>{const a=this.dataTypeMatchers[e];a&&delete this.dataTypeMatchers[e],this.dataTypeMatchers[e]=null!=a?a:t[e].dataTypeMatcher})}mergeDataTypeDefinitions(e,t){const a=Object.assign(Object.assign({},e),t);return e.columnTypes&&t.columnTypes&&t.appendColumnTypes&&(a.columnTypes=[...this.convertColumnTypes(e.columnTypes),...this.convertColumnTypes(t.columnTypes)]),a}processDataTypeDefinition(e,t,a,r){let o;const i=e.extendsDataType;if(e.columnTypes&&(this.isColumnTypeOverrideInDataTypeDefinitions=!0),e.extendsDataType===e.baseDataType){let a=r[i];const n=t[i];if(a&&n&&(a=n),!this.validateDataTypeDefinition(e,a,i))return;o=this.mergeDataTypeDefinitions(a,e)}else{if(a.includes(i))return void q('Data type definition hierarchies (via the "extendsDataType" property) cannot contain circular references.');const n=t[i];if(!this.validateDataTypeDefinition(e,n,i))return;const l=this.processDataTypeDefinition(n,t,[...a,i],r);if(!l)return;o=this.mergeDataTypeDefinitions(l,e)}return Object.assign(Object.assign({},o),{groupSafeValueFormatter:this.createGroupSafeValueFormatter(o)})}validateDataTypeDefinition(e,t,a){return t?t.baseDataType===e.baseDataType||(q('The "baseDataType" property of a data type definition must match that of its parent.'),!1):(q(`The data type definition ${a} does not exist.`),!1)}createGroupSafeValueFormatter(e){if(e.valueFormatter)return t=>{var a,r;if(null===(a=t.node)||void 0===a?void 0:a.group){const a=t.column.getAggFunc();if(a){if("first"===a||"last"===a)return e.valueFormatter(t);if("number"===e.baseDataType&&"count"!==a){if("number"==typeof t.value)return e.valueFormatter(t);if("object"==typeof t.value){if(!t.value)return;if("toNumber"in t.value)return e.valueFormatter(Object.assign(Object.assign({},t),{value:t.value.toNumber()}));if("value"in t.value)return e.valueFormatter(Object.assign(Object.assign({},t),{value:t.value.value}))}}}if(!this.gridOptionsService.get("suppressGroupMaintainValueType"))return}else if(this.groupHideOpenParents&&t.column.isRowGroupActive()){if("string"!=typeof t.value||(null===(r=e.dataTypeMatcher)||void 0===r?void 0:r.call(e,t.value)))return e.valueFormatter(t);if(!this.gridOptionsService.get("suppressGroupMaintainValueType"))return}return e.valueFormatter(t)}}updateColDefAndGetDataTypeDefinitionColumnType(e,t,a){let{cellDataType:r}=t;const{field:o}=t;if(void 0===r&&(r=e.cellDataType),null!=r&&!0!==r||(r=!!this.canInferCellDataType(e,t)&&this.inferCellDataType(o,a)),!r)return void(e.cellDataType=!1);const i=this.dataTypeDefinitions[r];if(i)return e.cellDataType=r,i.groupSafeValueFormatter&&(e.valueFormatter=i.groupSafeValueFormatter),i.valueParser&&(e.valueParser=i.valueParser),i.suppressDefaultProperties||this.setColDefPropertiesForBaseDataType(e,i,a),i.columnTypes;q(`Missing data type definition - "${r}"`)}updateColDefAndGetColumnType(e,t,a){var r,o;const i=this.updateColDefAndGetDataTypeDefinitionColumnType(e,t,a),n=null!==(o=null!==(r=t.type)&&void 0!==r?r:i)&&void 0!==o?o:e.type;return e.type=n,n?this.convertColumnTypes(n):void 0}addColumnListeners(e){if(!this.isWaitingForRowData)return;const t=this.columnStateUpdatesPendingInference[e.getColId()];if(!t)return;const a=e=>{t.add(e.key)};e.addEventListener(Ee.EVENT_STATE_UPDATED,a),this.columnStateUpdateListenerDestroyFuncs.push(()=>e.removeEventListener(Ee.EVENT_STATE_UPDATED,a))}canInferCellDataType(e,t){var a;if("clientSide"!==this.rowModel.getType())return!1;const r={cellRenderer:!0,valueGetter:!0,valueParser:!0,refData:!0};if(this.doColDefPropsPreventInference(t,r))return!1;const o=null===t.type?e.type:t.type;if(o){const e=null!==(a=this.gridOptionsService.get("columnTypes"))&&void 0!==a?a:{};if(this.convertColumnTypes(o).some(t=>{const a=e[t.trim()];return a&&this.doColDefPropsPreventInference(a,r)}))return!1}return!this.doColDefPropsPreventInference(e,r)}doColDefPropsPreventInference(e,t){return[["cellRenderer","agSparklineCellRenderer"],["valueGetter",void 0],["valueParser",void 0],["refData",void 0]].some(([a,r])=>this.doesColDefPropPreventInference(e,t,a,r))}doesColDefPropPreventInference(e,t,a,r){if(!t[a])return!1;const o=e[a];return null===o?(t[a]=!1,!1):void 0===r?!!o:o===r}inferCellDataType(e,t){var a;if(!e)return;let r;const o=this.getInitialData();if(o){const t=e.indexOf(".")>=0&&!this.gridOptionsService.get("suppressFieldDotNotation");r=G(o,e,t)}else this.initWaitForRowData(t);if(null==r)return;const[i]=null!==(a=Object.entries(this.dataTypeMatchers).find(([e,t])=>t(r)))&&void 0!==a?a:["object"];return i}getInitialData(){const e=this.gridOptionsService.get("rowData");if(null==e?void 0:e.length)return e[0];if(this.initialData)return this.initialData;{const e=this.rowModel.getRootNode().allLeafChildren;if(null==e?void 0:e.length)return e[0].data}return null}initWaitForRowData(e){if(this.columnStateUpdatesPendingInference[e]=new Set,this.isWaitingForRowData)return;this.isWaitingForRowData=!0;const t=this.isColumnTypeOverrideInDataTypeDefinitions;t&&this.columnModel.queueResizeOperations();const a=this.addManagedListener(this.eventService,st.EVENT_ROW_DATA_UPDATE_STARTED,e=>{const{firstRowData:r}=e;if(!r)return;null==a||a(),this.isWaitingForRowData=!1,this.processColumnsPendingInference(r,t),this.columnStateUpdatesPendingInference={},t&&this.columnModel.processResizeOperations();const o={type:st.EVENT_DATA_TYPES_INFERRED};this.eventService.dispatchEvent(o)})}isPendingInference(){return this.isWaitingForRowData}processColumnsPendingInference(e,t){this.initialData=e;const a=[];this.columnStateUpdateListenerDestroyFuncs.forEach(e=>e()),this.columnStateUpdateListenerDestroyFuncs=[];const r={},o={};Object.entries(this.columnStateUpdatesPendingInference).forEach(([e,i])=>{const n=this.columnModel.getGridColumn(e);if(!n)return;const l=n.getColDef();if(!this.columnModel.resetColumnDefIntoColumn(n,"cellDataTypeInferred"))return;const s=n.getColDef();if(t&&s.type&&s.type!==l.type){const t=this.getUpdatedColumnState(n,i);t.rowGroup&&null==t.rowGroupIndex&&(r[e]=t),t.pivot&&null==t.pivotIndex&&(o[e]=t),a.push(t)}}),t&&a.push(...this.columnModel.generateColumnStateForRowGroupAndPivotIndexes(r,o)),a.length&&this.columnModel.applyColumnState({state:a},"cellDataTypeInferred"),this.initialData=null}getUpdatedColumnState(e,t){const a=this.columnModel.getColumnStateFromColDef(e);return t.forEach(e=>{delete a[e],"rowGroup"===e?delete a.rowGroupIndex:"pivot"===e&&delete a.pivotIndex}),a}checkObjectValueHandlers(e){const t=this.dataTypeDefinitions.object,a=e.object;this.hasObjectValueParser=t.valueParser!==a.valueParser,this.hasObjectValueFormatter=t.valueFormatter!==a.valueFormatter}convertColumnTypes(e){let t=[];if(e instanceof Array){e.some(e=>"string"!=typeof e)?console.warn("if colDef.type is supplied an array it should be of type 'string[]'"):t=e}else"string"==typeof e?t=e.split(","):console.warn("colDef.type should be of type 'string' | 'string[]'");return t}getDateStringTypeDefinition(e){var t;return e&&null!==(t=this.getDataTypeDefinition(e))&&void 0!==t?t:this.dataTypeDefinitions.dateString}getDateParserFunction(e){return this.getDateStringTypeDefinition(e).dateParser}getDateFormatterFunction(e){return this.getDateStringTypeDefinition(e).dateFormatter}getDataTypeDefinition(e){const t=e.getColDef();if(t.cellDataType)return this.dataTypeDefinitions[t.cellDataType]}getBaseDataType(e){var t;return null===(t=this.getDataTypeDefinition(e))||void 0===t?void 0:t.baseDataType}checkType(e,t){var a;if(null==t)return!0;const r=null===(a=this.getDataTypeDefinition(e))||void 0===a?void 0:a.dataTypeMatcher;return!r||r(t)}validateColDef(e){"object"===e.cellDataType&&(e.valueFormatter!==this.dataTypeDefinitions.object.groupSafeValueFormatter||this.hasObjectValueFormatter||q('Cell data type is "object" but no value formatter has been provided. Please either provide an object data type definition with a value formatter, or set "colDef.valueFormatter"'),e.editable&&e.valueParser===this.dataTypeDefinitions.object.valueParser&&!this.hasObjectValueParser&&q('Cell data type is "object" but no value parser has been provided. Please either provide an object data type definition with a value parser, or set "colDef.valueParser"'))}setColDefPropertiesForBaseDataType(e,t,a){const r=(e,a,r)=>{let o=e.getColDef().valueFormatter;return o===t.groupSafeValueFormatter&&(o=t.valueFormatter),this.valueFormatterService.formatValue(e,a,r,o)},o=oe.__isRegistered(re.SetFilterModule,this.context.getGridId()),i=this.localeService.getLocaleTextFunc(),n=t=>{const{filterParams:a}=e;e.filterParams="object"==typeof a?Object.assign(Object.assign({},a),t):t};switch(t.baseDataType){case"number":e.cellEditor="agNumberCellEditor",o&&n({comparator:(e,t)=>{const a=null==e?0:parseInt(e),r=null==t?0:parseInt(t);return a===r?0:a>r?1:-1}});break;case"boolean":e.cellEditor="agCheckboxCellEditor",e.cellRenderer="agCheckboxCellRenderer",e.suppressKeyboardEvent=e=>!!e.colDef.editable&&e.event.key===Wr.SPACE,n(o?{valueFormatter:e=>S(e.value)?i(String(e.value),e.value?"True":"False"):i("blanks","(Blanks)")}:{maxNumConditions:1,debounceMs:0,filterOptions:["empty",{displayKey:"true",displayName:"True",predicate:(e,t)=>t,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,t)=>!1===t,numberOfInputs:0}]});break;case"date":e.cellEditor="agDateCellEditor",e.keyCreator=e=>r(e.column,e.node,e.value),o&&n({valueFormatter:e=>{const t=r(e.column,e.node,e.value);return S(t)?t:i("blanks","(Blanks)")},treeList:!0,treeListFormatter:(e,t)=>{if(1===t&&null!=e){const t=Su[Number(e)-1];return i(t,yu[t])}return null!=e?e:i("blanks","(Blanks)")}});break;case"dateString":{e.cellEditor="agDateStringCellEditor",e.keyCreator=e=>r(e.column,e.node,e.value);const a=t.dateParser;n(o?{valueFormatter:e=>{const t=r(e.column,e.node,e.value);return S(t)?t:i("blanks","(Blanks)")},treeList:!0,treeListPathGetter:e=>{const t=a(null!=e?e:void 0);return t?[String(t.getFullYear()),String(t.getMonth()+1),String(t.getDate())]:null},treeListFormatter:(e,t)=>{if(1===t&&null!=e){const t=Su[Number(e)-1];return i(t,yu[t])}return null!=e?e:i("blanks","(Blanks)")}}:{comparator:(e,t)=>{const r=a(t);return null==t||r<e?-1:r>e?1:0}});break}case"object":e.cellEditorParams={useFormatter:!0},e.comparator=(e,t)=>{const o=this.columnModel.getPrimaryColumn(a),i=null==o?void 0:o.getColDef();if(!o||!i)return 0;const n=null==e?"":r(o,null,e),l=null==t?"":r(o,null,t);return n===l?0:n>l?1:-1},e.keyCreator=e=>r(e.column,e.node,e.value),o?n({valueFormatter:e=>{const t=r(e.column,e.node,e.value);return S(t)?t:i("blanks","(Blanks)")}}):e.filterValueGetter=e=>r(e.column,e.node,this.valueService.getValue(e.column,e.node))}}getDefaultDataTypes(){const e=e=>!!e.match("^\\d{4}-\\d{2}-\\d{2}$"),t=this.localeService.getLocaleTextFunc();return{number:{baseDataType:"number",valueParser:e=>{var t,a;return""===(null===(a=null===(t=e.newValue)||void 0===t?void 0:t.trim)||void 0===a?void 0:a.call(t))?null:Number(e.newValue)},valueFormatter:e=>null==e.value?"":"number"!=typeof e.value||isNaN(e.value)?t("invalidNumber","Invalid Number"):String(e.value),dataTypeMatcher:e=>"number"==typeof e},text:{baseDataType:"text",valueParser:e=>""===e.newValue?null:x(e.newValue),dataTypeMatcher:e=>"string"==typeof e},boolean:{baseDataType:"boolean",valueParser:e=>{var t,a;return null==e.newValue?e.newValue:""===(null===(a=null===(t=e.newValue)||void 0===t?void 0:t.trim)||void 0===a?void 0:a.call(t))?null:"true"===String(e.newValue).toLowerCase()},valueFormatter:e=>null==e.value?"":String(e.value),dataTypeMatcher:e=>"boolean"==typeof e},date:{baseDataType:"date",valueParser:e=>Xa(null==e.newValue?null:String(e.newValue)),valueFormatter:e=>{var a;return null==e.value?"":e.value instanceof Date&&!isNaN(e.value.getTime())?null!==(a=Ya(e.value,!1))&&void 0!==a?a:"":t("invalidDate","Invalid Date")},dataTypeMatcher:e=>e instanceof Date},dateString:{baseDataType:"dateString",dateParser:e=>{var t;return null!==(t=Xa(e))&&void 0!==t?t:void 0},dateFormatter:e=>{var t;return null!==(t=Ya(null!=e?e:null,!1))&&void 0!==t?t:void 0},valueParser:t=>e(String(t.newValue))?t.newValue:null,valueFormatter:t=>e(String(t.value))?t.value:"",dataTypeMatcher:t=>"string"==typeof t&&e(t)},object:{baseDataType:"object",valueParser:()=>null,valueFormatter:e=>{var t;return null!==(t=x(e.value))&&void 0!==t?t:""}}}}};Cu([de("rowModel")],Eu.prototype,"rowModel",void 0),Cu([de("columnModel")],Eu.prototype,"columnModel",void 0),Cu([de("columnUtils")],Eu.prototype,"columnUtils",void 0),Cu([de("valueService")],Eu.prototype,"valueService",void 0),Cu([de("valueFormatterService")],Eu.prototype,"valueFormatterService",void 0),Cu([le],Eu.prototype,"init",null),Eu=Cu([ge("dataTypeService")],Eu);var Ru=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let xu=class extends at{parseValue(e,t,a,r){const o=e.getColDef(),i=this.gridOptionsService.addGridCommonParams({node:t,data:null==t?void 0:t.data,oldValue:r,newValue:a,colDef:o,column:e}),n=o.valueParser;return S(n)?"function"==typeof n?n(i):this.expressionService.evaluate(n,i):a}};Ru([de("expressionService")],xu.prototype,"expressionService",void 0),xu=Ru([ge("valueParserService")],xu);var ku=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let zu=class extends at{constructor(){super(...arguments),this.waitingForColumns=!1}postConstruct(){this.addManagedPropertyListener("columnDefs",e=>this.setColumnDefs(e))}start(){this.ctrlsService.whenReady(()=>{const e=this.gridOptionsService.get("columnDefs");e?this.setColumnsAndData(e):this.waitingForColumns=!0,this.gridReady()})}setColumnsAndData(e){this.columnModel.setColumnDefs(null!=e?e:[],"gridInitializing"),this.rowModel.start()}gridReady(){this.dispatchGridReadyEvent();const e=oe.__isRegistered(re.EnterpriseCoreModule,this.context.getGridId());new Kd("AG Grid",()=>this.gridOptionsService.get("debug")).log("initialised successfully, enterprise = "+e)}dispatchGridReadyEvent(){const e={type:st.EVENT_GRID_READY};this.eventService.dispatchEvent(e)}setColumnDefs(e){const t=this.gridOptionsService.get("columnDefs");if(t)return this.waitingForColumns?(this.waitingForColumns=!1,void this.setColumnsAndData(t)):void this.columnModel.setColumnDefs(t,zt(e.source))}};ku([de("ctrlsService")],zu.prototype,"ctrlsService",void 0),ku([de("columnModel")],zu.prototype,"columnModel",void 0),ku([de("rowModel")],zu.prototype,"rowModel",void 0),ku([le],zu.prototype,"postConstruct",null),zu=ku([ge("syncService")],zu);var Tu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Au=class extends at{constructor(){super(...arguments),this.manuallyDisplayed=!1}postConstruct(){this.addManagedListener(this.eventService,st.EVENT_ROW_DATA_UPDATED,()=>this.onRowDataUpdated()),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,()=>this.onNewColumnsLoaded())}registerOverlayWrapperComp(e){this.overlayWrapperComp=e,(!this.gridOptionsService.get("columnDefs")||this.gridOptionsService.isRowModelType("clientSide")&&!this.gridOptionsService.get("rowData"))&&this.showLoadingOverlay()}showLoadingOverlay(){if(this.gridOptionsService.get("suppressLoadingOverlay"))return;const e=this.userComponentFactory.getLoadingOverlayCompDetails({});this.showOverlay(e,"ag-overlay-loading-wrapper","loadingOverlayComponentParams")}showNoRowsOverlay(){if(this.gridOptionsService.get("suppressNoRowsOverlay"))return;const e=this.userComponentFactory.getNoRowsOverlayCompDetails({});this.showOverlay(e,"ag-overlay-no-rows-wrapper","noRowsOverlayComponentParams")}showOverlay(e,t,a){const r=e.newAgStackInstance(),o=this.addManagedPropertyListener(a,({currentValue:e})=>{r.then(t=>{t.refresh&&t.refresh(this.gridOptionsService.addGridCommonParams(Object.assign({},null!=e?e:{})))})});this.manuallyDisplayed=this.columnModel.isReady()&&!this.paginationProxy.isEmpty(),this.overlayWrapperComp.showOverlay(r,t,o)}hideOverlay(){this.manuallyDisplayed=!1,this.overlayWrapperComp.hideOverlay()}showOrHideOverlay(){const e=this.paginationProxy.isEmpty(),t=this.gridOptionsService.get("suppressNoRowsOverlay");e&&!t?this.showNoRowsOverlay():this.hideOverlay()}onRowDataUpdated(){this.showOrHideOverlay()}onNewColumnsLoaded(){!this.columnModel.isReady()||this.paginationProxy.isEmpty()||this.manuallyDisplayed||this.hideOverlay()}};Tu([de("userComponentFactory")],Au.prototype,"userComponentFactory",void 0),Tu([de("paginationProxy")],Au.prototype,"paginationProxy",void 0),Tu([de("columnModel")],Au.prototype,"columnModel",void 0),Tu([le],Au.prototype,"postConstruct",null),Au=Tu([ge("overlayService")],Au);var Du=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Ou=class extends at{constructor(){super(...arguments),this.suppressEvents=!0,this.queuedUpdateSources=new Set,this.dispatchStateUpdateEventDebounced=Z(()=>this.dispatchQueuedStateUpdateEvents(),0)}postConstruct(){var e;this.isClientSideRowModel="clientSide"===this.rowModel.getType(),this.cachedState=null!==(e=this.gridOptionsService.get("initialState"))&&void 0!==e?e:{},this.ctrlsService.whenReady(()=>this.suppressEventsAndDispatchInitEvent(()=>this.setupStateOnGridReady()));const t=this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,({source:e})=>{"gridInitializing"===e&&(null==t||t(),this.suppressEventsAndDispatchInitEvent(()=>this.setupStateOnColumnsInitialised()))}),a=this.addManagedListener(this.eventService,st.EVENT_ROW_COUNT_READY,()=>{null==a||a(),this.suppressEventsAndDispatchInitEvent(()=>this.setupStateOnRowCountReady())}),r=this.addManagedListener(this.eventService,st.EVENT_FIRST_DATA_RENDERED,()=>{null==r||r(),this.suppressEventsAndDispatchInitEvent(()=>this.setupStateOnFirstDataRendered())})}getState(){return this.cachedState}setupStateOnGridReady(){this.updateCachedState("sideBar",this.getSideBarState()),this.addManagedListener(this.eventService,st.EVENT_TOOL_PANEL_VISIBLE_CHANGED,()=>this.updateCachedState("sideBar",this.getSideBarState())),this.addManagedListener(this.eventService,st.EVENT_SIDE_BAR_UPDATED,()=>this.updateCachedState("sideBar",this.getSideBarState()))}setupStateOnColumnsInitialised(){var e;const t=null!==(e=this.gridOptionsService.get("initialState"))&&void 0!==e?e:{};this.setColumnState(t),this.setColumnGroupState(t),this.updateColumnState(["aggregation","columnOrder","columnPinning","columnSizing","columnVisibility","pivot","pivot","rowGroup","sort"]),this.updateCachedState("columnGroup",this.getColumnGroupState()),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VALUE_CHANGED,()=>this.updateColumnState(["aggregation"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_MOVED,()=>this.updateColumnState(["columnOrder"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PINNED,()=>this.updateColumnState(["columnPinning"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_RESIZED,()=>this.updateColumnState(["columnSizing"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_VISIBLE,()=>this.updateColumnState(["columnVisibility"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_CHANGED,()=>this.updateColumnState(["pivot"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_PIVOT_MODE_CHANGED,()=>this.updateColumnState(["pivot"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_ROW_GROUP_CHANGED,()=>this.updateColumnState(["rowGroup"])),this.addManagedListener(this.eventService,st.EVENT_SORT_CHANGED,()=>this.updateColumnState(["sort"])),this.addManagedListener(this.eventService,st.EVENT_NEW_COLUMNS_LOADED,()=>this.updateColumnState(["aggregation","columnOrder","columnPinning","columnSizing","columnVisibility","pivot","pivot","rowGroup","sort"])),this.addManagedListener(this.eventService,st.EVENT_COLUMN_GROUP_OPENED,()=>this.updateCachedState("columnGroup",this.getColumnGroupState()))}setupStateOnRowCountReady(){var e;const{filter:t,rowGroupExpansion:a,rowSelection:r,pagination:o}=null!==(e=this.gridOptionsService.get("initialState"))&&void 0!==e?e:{},i=this.gridOptionsService.get("advancedFilterModel");(t||i)&&this.setFilterState(t,i),a&&this.setRowGroupExpansionState(a),r&&this.setRowSelectionState(r),o&&this.setPaginationState(o),this.updateCachedState("filter",this.getFilterState()),this.updateCachedState("rowGroupExpansion",this.getRowGroupExpansionState()),this.updateCachedState("rowSelection",this.getRowSelectionState()),this.updateCachedState("pagination",this.getPaginationState()),this.addManagedListener(this.eventService,st.EVENT_FILTER_CHANGED,()=>this.updateCachedState("filter",this.getFilterState())),this.addManagedListener(this.eventService,st.EVENT_ROW_GROUP_OPENED,()=>this.updateCachedState("rowGroupExpansion",this.getRowGroupExpansionState())),this.addManagedListener(this.eventService,st.EVENT_EXPAND_COLLAPSE_ALL,()=>this.updateCachedState("rowGroupExpansion",this.getRowGroupExpansionState())),this.addManagedListener(this.eventService,st.EVENT_SELECTION_CHANGED,()=>this.updateCachedState("rowSelection",this.getRowSelectionState())),this.addManagedListener(this.eventService,st.EVENT_PAGINATION_CHANGED,e=>{(e.newPage||e.newPageSize)&&this.updateCachedState("pagination",this.getPaginationState())})}setupStateOnFirstDataRendered(){var e;const{scroll:t,rangeSelection:a,focusedCell:r,columnOrder:o}=null!==(e=this.gridOptionsService.get("initialState"))&&void 0!==e?e:{};r&&this.setFocusedCellState(r),a&&this.setRangeSelectionState(a),t&&this.setScrollState(t),this.setColumnPivotState(!!(null==o?void 0:o.orderedColIds)),this.updateCachedState("sideBar",this.getSideBarState()),this.updateCachedState("focusedCell",this.getFocusedCellState()),this.updateCachedState("rangeSelection",this.getRangeSelectionState()),this.updateCachedState("scroll",this.getScrollState()),this.addManagedListener(this.eventService,st.EVENT_CELL_FOCUSED,()=>this.updateCachedState("focusedCell",this.getFocusedCellState())),this.addManagedListener(this.eventService,st.EVENT_RANGE_SELECTION_CHANGED,e=>{e.finished&&this.updateCachedState("rangeSelection",this.getRangeSelectionState())}),this.addManagedListener(this.eventService,st.EVENT_BODY_SCROLL_END,()=>this.updateCachedState("scroll",this.getScrollState()))}getColumnState(){const e=this.columnModel.isPivotMode(),t=[],a=[],r=[],o=[],i=[],n=[],l=[],s=[],g=[],d=this.columnModel.getColumnState();for(let e=0;e<d.length;e++){const{colId:c,sort:u,sortIndex:p,rowGroup:h,rowGroupIndex:m,aggFunc:v,pivot:f,pivotIndex:w,pinned:b,hide:C,width:y,flex:S}=d[e];g.push(c),u&&(t[null!=p?p:0]={colId:c,sort:u}),h&&(a[null!=m?m:0]=c),"string"==typeof v&&r.push({colId:c,aggFunc:v}),f&&(o[null!=w?w:0]=c),b&&("right"===b?n:i).push(c),C&&l.push(c),(S||y)&&s.push({colId:c,flex:null!=S?S:void 0,width:y})}return{sort:t.length?{sortModel:t}:void 0,rowGroup:a.length?{groupColIds:a}:void 0,aggregation:r.length?{aggregationModel:r}:void 0,pivot:o.length||e?{pivotMode:e,pivotColIds:o}:void 0,columnPinning:i.length||n.length?{leftColIds:i,rightColIds:n}:void 0,columnVisibility:l.length?{hiddenColIds:l}:void 0,columnSizing:s.length?{columnSizingModel:s}:void 0,columnOrder:g.length?{orderedColIds:g}:void 0}}setColumnState(e){const{sort:t,rowGroup:a,aggregation:r,pivot:o,columnPinning:i,columnVisibility:n,columnSizing:l,columnOrder:s}=e,g={},d=e=>{let t=g[e];return t||(t={colId:e},g[e]=t,t)};t&&t.sortModel.forEach(({colId:e,sort:t},a)=>{const r=d(e);r.sort=t,r.sortIndex=a}),a&&a.groupColIds.forEach((e,t)=>{const a=d(e);a.rowGroup=!0,a.rowGroupIndex=t}),r&&r.aggregationModel.forEach(({colId:e,aggFunc:t})=>{d(e).aggFunc=t}),o&&(o.pivotColIds.forEach((e,t)=>{const a=d(e);a.pivot=!0,a.pivotIndex=t}),this.gridOptionsService.updateGridOptions({options:{pivotMode:o.pivotMode},source:"gridInitializing"})),i&&(i.leftColIds.forEach(e=>{d(e).pinned="left"}),i.rightColIds.forEach(e=>{d(e).pinned="right"})),n&&n.hiddenColIds.forEach(e=>{d(e).hide=!0}),l&&l.columnSizingModel.forEach(({colId:e,flex:t,width:a})=>{const r=d(e);r.flex=null!=t?t:null,r.width=a});const c=null==s?void 0:s.orderedColIds,u=!!(null==c?void 0:c.length),p=u?c.map(e=>d(e)):Object.values(g);if(p.length){this.columnStates=p;const e={sort:null,sortIndex:null,rowGroup:null,rowGroupIndex:null,aggFunc:null,pivot:null,pivotIndex:null,pinned:null,hide:null,flex:null};this.columnModel.applyColumnState({state:p,applyOrder:u,defaultState:e},"gridInitializing")}}setColumnPivotState(e){const t=this.columnStates;this.columnStates=void 0;const a=this.columnGroupStates;if(this.columnGroupStates=void 0,this.columnModel.isSecondaryColumnsPresent()){if(t){let a=[];for(const e of t)this.columnModel.getSecondaryColumn(e.colId)&&a.push(e);this.columnModel.applyColumnState({state:a,applyOrder:e},"gridInitializing")}a&&this.columnModel.setColumnGroupState(a,"gridInitializing")}}getColumnGroupState(){const e=this.columnModel.getColumnGroupState(),t=[];return e.forEach(({groupId:e,open:a})=>{a&&t.push(e)}),t.length?{openColumnGroupIds:t}:void 0}setColumnGroupState(e){var t;if(!e.hasOwnProperty("columnGroup"))return;const a=new Set(null===(t=e.columnGroup)||void 0===t?void 0:t.openColumnGroupIds),r=this.columnModel.getColumnGroupState().map(({groupId:e})=>{const t=a.has(e);return t&&a.delete(e),{groupId:e,open:t}});a.forEach(e=>{r.push({groupId:e,open:!0})}),r.length&&(this.columnGroupStates=r),this.columnModel.setColumnGroupState(r,"gridInitializing")}getFilterState(){var e;let t=this.filterManager.getFilterModel();t&&0===Object.keys(t).length&&(t=void 0);const a=null!==(e=this.filterManager.getAdvancedFilterModel())&&void 0!==e?e:void 0;return t||a?{filterModel:t,advancedFilterModel:a}:void 0}setFilterState(e,t){const{filterModel:a,advancedFilterModel:r}=null!=e?e:{advancedFilterModel:t};a&&this.filterManager.setFilterModel(a,"columnFilter"),r&&this.filterManager.setAdvancedFilterModel(r)}getRangeSelectionState(){var e;const t=null===(e=this.rangeService)||void 0===e?void 0:e.getCellRanges().map(e=>{const{id:t,type:a,startRow:r,endRow:o,columns:i,startColumn:n}=e;return{id:t,type:a,startRow:r,endRow:o,colIds:i.map(e=>e.getColId()),startColId:n.getColId()}});return(null==t?void 0:t.length)?{cellRanges:t}:void 0}setRangeSelectionState(e){var t;if(!this.gridOptionsService.get("enableRangeSelection"))return;const a=e.cellRanges.map(e=>Object.assign(Object.assign({},e),{columns:e.colIds.map(e=>this.columnModel.getGridColumn(e)),startColumn:this.columnModel.getGridColumn(e.startColId)}));null===(t=this.rangeService)||void 0===t||t.setCellRanges(a)}getScrollState(){var e,t,a;if(!this.isClientSideRowModel)return;const r=null===(e=this.ctrlsService.getGridBodyCtrl())||void 0===e?void 0:e.getScrollFeature(),{left:o}=null!==(t=null==r?void 0:r.getHScrollPosition())&&void 0!==t?t:{left:0},{top:i}=null!==(a=null==r?void 0:r.getVScrollPosition())&&void 0!==a?a:{top:0};return i||o?{top:i,left:o}:void 0}setScrollState(e){var t;if(!this.isClientSideRowModel)return;const{top:a,left:r}=e;null===(t=this.ctrlsService.getGridBodyCtrl())||void 0===t||t.getScrollFeature().setScrollPosition(a,r)}getSideBarState(){var e,t;return null===(t=null===(e=this.sideBarService)||void 0===e?void 0:e.getSideBarComp())||void 0===t?void 0:t.getState()}getFocusedCellState(){if(!this.isClientSideRowModel)return;const e=this.focusService.getFocusedCell();if(e){const{column:t,rowIndex:a,rowPinned:r}=e;return{colId:t.getColId(),rowIndex:a,rowPinned:r}}}setFocusedCellState(e){if(!this.isClientSideRowModel)return;const{colId:t,rowIndex:a,rowPinned:r}=e;this.focusService.setFocusedCell({column:this.columnModel.getGridColumn(t),rowIndex:a,rowPinned:r,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})}getPaginationState(){const e=this.paginationProxy.getCurrentPage(),t=this.gridOptionsService.get("paginationAutoPageSize")?void 0:this.paginationProxy.getPageSize();if(e||t)return{page:e,pageSize:t}}setPaginationState(e){e.pageSize&&!this.gridOptionsService.get("paginationAutoPageSize")&&this.paginationProxy.setPageSize(e.pageSize,"initialState"),"number"==typeof e.page&&this.paginationProxy.setPage(e.page)}getRowSelectionState(){var e;const t=this.selectionService.getSelectionState();return!t||!Array.isArray(t)&&(!1===t.selectAll||!1===t.selectAllChildren)&&!(null===(e=null==t?void 0:t.toggledNodes)||void 0===e?void 0:e.length)?void 0:t}setRowSelectionState(e){this.selectionService.setSelectionState(e,"gridInitializing")}getRowGroupExpansionState(){const e=this.expansionService.getExpandedRows();return e.length?{expandedRowGroupIds:e}:void 0}setRowGroupExpansionState(e){this.expansionService.expandRows(e.expandedRowGroupIds)}updateColumnState(e){const t=this.getColumnState();let a=!1;Object.entries(t).forEach(([e,t])=>{A(t,this.cachedState[e])||(a=!0)}),this.cachedState=Object.assign(Object.assign({},this.cachedState),t),a&&this.dispatchStateUpdateEvent(e)}updateCachedState(e,t){const a=this.cachedState[e];this.cachedState=Object.assign(Object.assign({},this.cachedState),{[e]:t}),A(t,a)||this.dispatchStateUpdateEvent([e])}dispatchStateUpdateEvent(e){this.suppressEvents||(e.forEach(e=>this.queuedUpdateSources.add(e)),this.dispatchStateUpdateEventDebounced())}dispatchQueuedStateUpdateEvents(){const e=Array.from(this.queuedUpdateSources);this.queuedUpdateSources.clear();const t={type:st.EVENT_STATE_UPDATED,sources:e,state:this.cachedState};this.eventService.dispatchEvent(t)}suppressEventsAndDispatchInitEvent(e){this.suppressEvents=!0,this.columnAnimationService.setSuppressAnimation(!0),e(),setTimeout(()=>{this.suppressEvents=!1,this.queuedUpdateSources.clear(),this.isAlive()&&(this.columnAnimationService.setSuppressAnimation(!1),this.dispatchStateUpdateEvent(["gridInitializing"]))})}};Du([de("filterManager")],Ou.prototype,"filterManager",void 0),Du([ce("rangeService")],Ou.prototype,"rangeService",void 0),Du([de("ctrlsService")],Ou.prototype,"ctrlsService",void 0),Du([ce("sideBarService")],Ou.prototype,"sideBarService",void 0),Du([de("focusService")],Ou.prototype,"focusService",void 0),Du([de("columnModel")],Ou.prototype,"columnModel",void 0),Du([de("paginationProxy")],Ou.prototype,"paginationProxy",void 0),Du([de("rowModel")],Ou.prototype,"rowModel",void 0),Du([de("selectionService")],Ou.prototype,"selectionService",void 0),Du([de("expansionService")],Ou.prototype,"expansionService",void 0),Du([de("columnAnimationService")],Ou.prototype,"columnAnimationService",void 0),Du([le],Ou.prototype,"postConstruct",null),Ou=Du([ge("stateService")],Ou);var Mu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Pu=class extends at{init(){this.processGridOptions(this.gridOptions)}processGridOptions(e){this.processOptions(e,uu)}processColumnDefs(e){this.processOptions(e,gu)}processOptions(e,t){const{validations:a,deprecations:r,allProperties:o,propertyExceptions:i,objectName:n,docsUrl:l}=t;o&&!0!==this.gridOptions.suppressPropertyNamesCheck&&this.checkProperties(e,[...null!=i?i:[],...Object.keys(r)],o,n,l);const s=new Set;Object.keys(e).forEach(t=>{var o;const i=r[t];if(i)if("renamed"in i){const{renamed:a,version:r}=i;s.add(`As of v${r}, ${String(t)} is deprecated. Please use ${String(a)} instead.`),e[a]=e[t]}else{const{message:e,version:a}=i;s.add(`As of v${a}, ${String(t)} is deprecated. ${null!=e?e:""}`)}const n=e[t];if(null==n||!1===n)return;const l=a[t];let g;if(!l)return;if("function"==typeof l){const a=l(e,this.gridOptions);if(!a)return;if("objectName"in a){const r=e[t];return Array.isArray(r)?void r.forEach(e=>{this.processOptions(e,a)}):void this.processOptions(e[t],a)}g=a}else g=l;const{module:d,dependencies:c,supportedRowModels:u}=g;if(u){const e=null!==(o=this.gridOptions.rowModelType)&&void 0!==o?o:"clientSide";if(!u.includes(e))return void s.add(`${String(t)} is not supported with the '${e}' row model.`)}if(d){const e=Array.isArray(d)?d:[d];let a=!0;if(e.forEach(e=>{oe.__assertRegistered(e,String(t),this.context.getGridId())||(a=!1,s.add(`${String(t)} is only available when ${e} is loaded.`))}),!a)return}if(c){const a=this.checkForWarning(t,c,e);if(a)return void s.add(a)}}),s.size>0&&s.forEach(e=>{q(e)})}checkForWarning(e,t,a){if("function"==typeof t)return t(a,this.gridOptions);const r=Object.entries(t).find(([e,t])=>{const r=a[e];return!t.includes(r)});if(!r)return null;const[o,i]=r;return i.length>1?`'${String(e)}' requires '${o}' to be one of [${i.join(", ")}].`:`'${String(e)}' requires '${o}' to be ${i[0]}.`}checkProperties(e,t,a,r,o){const i=Gr(Object.getOwnPropertyNames(e),["__ob__","__v_skip","__metadata__",...t,...a],a);if(P(i,(e,t)=>{q(`invalid ${r} property '${e}' did you mean any of these: ${t.slice(0,8).join(", ")}`)}),Object.keys(i).length>0&&o){const e=this.getFrameworkOverrides().getDocLink(o);q(`to see all the valid ${r} properties please check: ${e}`)}}};Mu([de("gridOptions")],Pu.prototype,"gridOptions",void 0),Mu([le],Pu.prototype,"init",null),Pu=Mu([ge("validationService")],Pu);var Lu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Nu=class extends at{constructor(){super(...arguments),this.syncEventListeners=new Map,this.asyncEventListeners=new Map,this.syncGlobalEventListeners=new Set,this.asyncGlobalEventListeners=new Set}postConstruct(){this.frameworkEventWrappingService=new we(this.getFrameworkOverrides())}addEventListener(e,t){const a=this.frameworkEventWrappingService.wrap(t),r=this.gridOptionsService.useAsyncEvents(),o=r?this.asyncEventListeners:this.syncEventListeners;o.has(e)||o.set(e,new Set),o.get(e).add(a),this.eventService.addEventListener(e,a,r)}addGlobalListener(e){const t=this.frameworkEventWrappingService.wrapGlobal(e),a=this.gridOptionsService.useAsyncEvents();(a?this.asyncGlobalEventListeners:this.syncGlobalEventListeners).add(t),this.eventService.addGlobalListener(t,a)}removeEventListener(e,t){var a;const r=this.frameworkEventWrappingService.unwrap(t),o=this.asyncEventListeners.get(e),i=!!(null==o?void 0:o.delete(r));i||null===(a=this.asyncEventListeners.get(e))||void 0===a||a.delete(r),this.eventService.removeEventListener(e,r,i)}removeGlobalListener(e){const t=this.frameworkEventWrappingService.unwrapGlobal(e),a=this.asyncGlobalEventListeners.delete(t);a||this.syncGlobalEventListeners.delete(t),this.eventService.removeGlobalListener(t,a)}destroyEventListeners(e,t){e.forEach((e,a)=>{e.forEach(e=>this.eventService.removeEventListener(a,e,t)),e.clear()}),e.clear()}destroyGlobalListeners(e,t){e.forEach(e=>this.eventService.removeGlobalListener(e,t)),e.clear()}destroy(){super.destroy(),this.destroyEventListeners(this.syncEventListeners,!1),this.destroyEventListeners(this.asyncEventListeners,!0),this.destroyGlobalListeners(this.syncGlobalEventListeners,!1),this.destroyGlobalListeners(this.asyncGlobalEventListeners,!0)}};Lu([le],Nu.prototype,"postConstruct",null),Nu=Lu([ge("apiEventService")],Nu);var Fu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class Iu extends uo{constructor(){super('<span class="ag-paging-page-size"></span>'),this.hasEmptyOption=!1,this.handlePageSizeItemSelected=()=>{if(!this.selectPageSizeComp)return;const e=this.selectPageSizeComp.getValue();if(!e)return;const t=Number(e);isNaN(t)||t<1||t===this.paginationProxy.getPageSize()||(this.paginationProxy.setPageSize(t,"pageSizeSelector"),this.hasEmptyOption&&this.toggleSelectDisplay(!0),this.selectPageSizeComp.getFocusableElement().focus())}}init(){this.addManagedPropertyListener("paginationPageSizeSelector",()=>{this.onPageSizeSelectorValuesChange()}),this.addManagedListener(this.eventService,st.EVENT_PAGINATION_CHANGED,e=>this.handlePaginationChanged(e))}handlePaginationChanged(e){if(!this.selectPageSizeComp||!(null==e?void 0:e.newPageSize))return;const t=this.paginationProxy.getPageSize();this.getPageSizeSelectorValues().includes(t)?this.selectPageSizeComp.setValue(t.toString()):this.hasEmptyOption?this.selectPageSizeComp.setValue(""):this.toggleSelectDisplay(!0)}toggleSelectDisplay(e){this.selectPageSizeComp&&this.reset(),e&&(this.reloadPageSizesSelector(),this.selectPageSizeComp&&this.appendChild(this.selectPageSizeComp))}reset(){vr(this.getGui()),this.selectPageSizeComp&&(this.destroyBean(this.selectPageSizeComp),this.selectPageSizeComp=void 0)}onPageSizeSelectorValuesChange(){this.selectPageSizeComp&&this.shouldShowPageSizeSelector()&&this.reloadPageSizesSelector()}shouldShowPageSizeSelector(){return this.gridOptionsService.get("pagination")&&!this.gridOptionsService.get("suppressPaginationPanel")&&!this.gridOptionsService.get("paginationAutoPageSize")&&!1!==this.gridOptionsService.get("paginationPageSizeSelector")}reloadPageSizesSelector(){const e=this.getPageSizeSelectorValues(),t=this.paginationProxy.getPageSize(),a=!t||!e.includes(t);a&&(e.unshift(""),q("The paginationPageSize grid option is set to a value that is not in the list of page size options.\n Please make sure that the paginationPageSize grid option is set to one of the values in the \n paginationPageSizeSelector array, or set the paginationPageSizeSelector to false to hide the page size selector.")),this.selectPageSizeComp&&(this.destroyBean(this.selectPageSizeComp),this.selectPageSizeComp=void 0);const r=this.localeService.getLocaleTextFunc(),o=r("pageSizeSelectorLabel","Page Size:"),i=e.map(e=>({value:String(e),text:String(e)})),n=r("ariaPageSizeSelectorLabel","Page Size");this.selectPageSizeComp=this.createManagedBean(new Lo).addOptions(i).setValue(String(a?"":t)).setAriaLabel(n).setLabel(o).onValueChange(()=>this.handlePageSizeItemSelected()),this.hasEmptyOption=a}getPageSizeSelectorValues(){const e=[20,50,100],t=this.gridOptionsService.get("paginationPageSizeSelector");return Array.isArray(t)&&this.validateValues(t)?[...t].sort((e,t)=>e-t):e}validateValues(e){if(!e.length)return q("The paginationPageSizeSelector grid option is an empty array. This is most likely a mistake.\n If you want to hide the page size selector, please set the paginationPageSizeSelector to false."),!1;for(let t=0;t<e.length;t++){const a=e[t],r=a>0;if(!("number"==typeof a))return q("The paginationPageSizeSelector grid option contains a non-numeric value.\n Please make sure that all values in the paginationPageSizeSelector array are numbers."),!1;if(!r)return q("The paginationPageSizeSelector grid option contains a negative number or zero.\n Please make sure that all values in the paginationPageSizeSelector array are positive."),!1}return!0}destroy(){this.toggleSelectDisplay(!1),super.destroy()}}Fu([de("localeService")],Iu.prototype,"localeService",void 0),Fu([de("gridOptionsService")],Iu.prototype,"gridOptionsService",void 0),Fu([de("paginationProxy")],Iu.prototype,"paginationProxy",void 0),Fu([le],Iu.prototype,"init",null);var Gu=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let Vu=class extends at{constructor(){super(),this.descriptionContainer=null,this.announceValue=Z(this.announceValue.bind(this),200)}postConstruct(){const e=this.gridOptionsService.getDocument(),t=this.descriptionContainer=e.createElement("div");t.classList.add("ag-aria-description-container"),oa(t,"polite"),na(t,"additions text"),ia(t,!0),this.eGridDiv.appendChild(t)}announceValue(e){this.descriptionContainer&&(this.descriptionContainer.textContent="",setTimeout(()=>{this.descriptionContainer.textContent=e},50))}destroy(){super.destroy();const{descriptionContainer:e}=this;e&&(vr(e),e.parentElement&&e.parentElement.removeChild(e)),this.descriptionContainer=null,this.eGridDiv=null}};function Hu(e,t,a){if(!t)return W("No gridOptions provided to createGrid"),{};const r=mu.getCoercedGridOptions(t),o=(new qu).create(e,r,t=>{const a=new Xd(e);t.createBean(a)},void 0,a);if(!Object.isFrozen(t)&&!(null==a?void 0:a.frameworkOverrides)){const e="https://ag-grid.com/javascript-data-grid/grid-interface/#grid-api";Object.defineProperty(t,"api",{get:()=>{W(`gridOptions.api is no longer supported. See ${e}.`)},configurable:!0}),Object.defineProperty(t,"columnApi",{get:()=>{W(`gridOptions.columnApi is no longer supported and all methods moved to the grid api. See ${e}.`)},configurable:!0})}return o}Gu([de("eGridDiv")],Vu.prototype,"eGridDiv",void 0),Gu([le],Vu.prototype,"postConstruct",null),Vu=Gu([ge("ariaAnnouncementService")],Vu);class _u{constructor(e,t,a){if(q("Since v31 new Grid(...) is deprecated. Use createGrid instead: `const gridApi = createGrid(...)`. The grid api is returned from createGrid and will not be available on gridOptions."),!t)return void W("No gridOptions provided to the grid");this.gridOptions=t;const r=(new qu).create(e,t,t=>{const a=new Xd(e);t.createBean(a).addDestroyFunc(()=>{this.destroy()})},void 0,a);this.gridOptions.api=r,this.gridOptions.columnApi=new Fd(r)}destroy(){var e;this.gridOptions&&(null===(e=this.gridOptions.api)||void 0===e||e.destroy(),delete this.gridOptions.api,delete this.gridOptions.columnApi)}}let Bu=1;class qu{create(e,t,a,r,o){var i;const n=!!t.debug,l=null!==(i=t.gridId)&&void 0!==i?i:String(Bu++),s=this.getRegisteredModules(o,l),g=this.createBeansList(t.rowModelType,s,l),d=this.createProvidedBeans(e,t,o);if(!g)return void W("Failed to create grid.");const c={providedBeanInstances:d,beanClasses:g,debug:n,gridId:l},u=new Kd("Context",()=>c.debug),p=new ie(c,u),h=p.getBean("beans");return this.registerModuleUserComponents(h,s),this.registerStackComponents(h,s),this.registerControllers(h,s),a(p),h.syncService.start(),r&&r(p),h.gridApi}registerControllers(e,t){t.forEach(t=>{t.controllers&&t.controllers.forEach(t=>e.ctrlsFactory.register(t))})}registerStackComponents(e,t){const a=this.createAgStackComponentsList(t);e.agStackComponentsRegistry.setupComponents(a)}getRegisteredModules(e,t){const a=e?e.modules:null,r=oe.__getRegisteredModules(t),o=[],i={},n=(e,t,a)=>{var r;i[(r=t).moduleName]||(i[r.moduleName]=!0,o.push(r),oe.__register(r,e,a)),t.dependantModules&&t.dependantModules.forEach(t=>n(e,t,a))};return a&&a.forEach(e=>n(!0,e,t)),r&&r.forEach(e=>n(!oe.__isPackageBased(),e,void 0)),o}registerModuleUserComponents(e,t){this.extractModuleEntity(t,e=>e.userComponents?e.userComponents:[]).forEach(t=>{e.userComponentRegistry.registerDefaultComponent(t.componentName,t.componentClass)})}createProvidedBeans(e,t,a){let r=a?a.frameworkOverrides:null;E(r)&&(r=new zd);const o={gridOptions:t,eGridDiv:e,globalEventListener:a?a.globalEventListener:null,globalSyncEventListener:a?a.globalSyncEventListener:null,frameworkOverrides:r};return a&&a.providedBeanInstances&&Object.assign(o,a.providedBeanInstances),o}createAgStackComponentsList(e){let t=[{componentName:"AgCheckbox",componentClass:Io},{componentName:"AgRadioButton",componentClass:Go},{componentName:"AgToggleButton",componentClass:jg},{componentName:"AgInputTextField",componentClass:Jo},{componentName:"AgInputTextArea",componentClass:Kg},{componentName:"AgInputNumberField",componentClass:Xo},{componentName:"AgInputDateField",componentClass:Yg},{componentName:"AgInputRange",componentClass:Qg},{componentName:"AgRichSelect",componentClass:td},{componentName:"AgSelect",componentClass:Lo},{componentName:"AgSlider",componentClass:rd},{componentName:"AgGridBody",componentClass:$l},{componentName:"AgHeaderRoot",componentClass:og},{componentName:"AgSortIndicator",componentClass:ci},{componentName:"AgPagination",componentClass:Tc},{componentName:"AgPageSizeSelector",componentClass:Iu},{componentName:"AgOverlayWrapper",componentClass:Dc},{componentName:"AgGroupComponent",componentClass:id},{componentName:"AgRowContainer",componentClass:us},{componentName:"AgFakeHorizontalScroll",componentClass:au},{componentName:"AgFakeVerticalScroll",componentClass:bu},{componentName:"AgAutocomplete",componentClass:xd}];const a=this.extractModuleEntity(e,e=>e.agStackComponents?e.agStackComponents:[]);return t=t.concat(a),t}createBeansList(e="clientSide",t,a){const r=t.filter(t=>!t.rowModel||t.rowModel===e),o={clientSide:re.ClientSideRowModelModule,infinite:re.InfiniteRowModelModule,serverSide:re.ServerSideRowModelModule,viewport:re.ViewportRowModelModule};if(!o[e])return void W("Could not find row model for rowModelType = "+e);if(!oe.__assertRegistered(o[e],`rowModelType = '${e}'`,a))return;const i=[bl,Mc,Lc,_c,gc,Un,un,mc,fc,vg,Pn,Rc,ng,fu,Pu,Lg,In,Ot,fe,mu,Cd,Ld,Jn,kt,eg,qg,Ag,_d,it,qd,Md,ns,cc,Gd,jd,At,xg,sg,Ii,Fd,rc,os,yc,Ad,Mg,Ug,ts,ec,ic,lc,kc,ut,pc,wg,Vc,Ut,qc,Uc,_g,Kc,Jc,ou,nu,Zc,Eu,xu,Yn,zu,Au,Ou,yg,Nu,Vu,Eg],n=this.extractModuleEntity(r,e=>e.beans?e.beans:[]);i.push(...n);const l=[];return i.forEach(e=>{l.indexOf(e)<0&&l.push(e)}),l}extractModuleEntity(e,t){return[].concat(...e.map(t))}}class Wu{wrap(e,t,a=[],r){const o=this.createWrapper(e,r);return t.forEach(e=>{this.createMethod(o,e,!0)}),a.forEach(e=>{this.createMethod(o,e,!1)}),o}unwrap(e){return e}createMethod(e,t,a){e.addMethod(t,this.createMethodProxy(e,t,a))}createMethodProxy(e,t,a){return function(){return e.hasMethod(t)?e.callMethod(t,arguments):(a&&console.warn("AG Grid: Framework component is missing the method "+t+"()"),null)}}}const Uu={columnGroup:["column","stackedColumn","normalizedColumn"],barGroup:["bar","stackedBar","normalizedBar"],pieGroup:["pie","donut"],lineGroup:["line"],scatterGroup:["scatter","bubble"],areaGroup:["area","stackedArea","normalizedArea"],polarGroup:["radarLine","radarArea","nightingale","radialColumn","radialBar"],statisticalGroup:["boxPlot","histogram","rangeBar","rangeArea"],hierarchicalGroup:["treemap","sunburst"],specializedGroup:["heatmap","waterfall"],combinationGroup:["columnLineCombo","areaColumnCombo","customCombo"]},ju=["chartSettings","chartData","chartFormat"],Ku=["chartUnlink","chartLink","chartDownload"],Yu={settings:"chartSettings",data:"chartData",format:"chartFormat"},Qu=0;var Ju;!function(e){e.InsideBase="insideBase",e.InsideEnd="insideEnd",e.Center="center",e.OutsideEnd="outsideEnd"}(Ju||(Ju={}));const Xu="undefined"==typeof global?{}:global;Xu.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,Xu.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,Xu.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,Xu.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,Xu.Node="undefined"==typeof Node?{}:Node,Xu.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent},function(e,t,a){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=function(e,t){var a=e[1]||"",r=e[3];if(!r)return a;if(t&&"function"==typeof btoa){var o=(n=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(s," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")}));return[a].concat(i).concat([o]).join("\n")}var n,l,s;return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2],"{").concat(a,"}"):a})).join("")},t.i=function(e,a){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var n=0;n<e.length;n++){var l=e[n];null!=l[0]&&r[l[0]]||(a&&!l[2]?l[2]=a:a&&(l[2]="(".concat(l[2],") and (").concat(a,")")),t.push(l))}},t}},function(e,t,a){"use strict";var r,o={},i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},n=function(){var e={};return function(t){if(void 0===e[t]){var a=document.querySelector(t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}e[t]=a}return e[t]}}();function l(e,t){for(var a=[],r={},o=0;o<e.length;o++){var i=e[o],n=t.base?i[0]+t.base:i[0],l={css:i[1],media:i[2],sourceMap:i[3]};r[n]?r[n].parts.push(l):a.push(r[n]={id:n,parts:[l]})}return a}function s(e,t){for(var a=0;a<e.length;a++){var r=e[a],i=o[r.id],n=0;if(i){for(i.refs++;n<i.parts.length;n++)i.parts[n](r.parts[n]);for(;n<r.parts.length;n++)i.parts.push(v(r.parts[n],t))}else{for(var l=[];n<r.parts.length;n++)l.push(v(r.parts[n],t));o[r.id]={id:r.id,refs:1,parts:l}}}}function g(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var r=a.nc;r&&(e.attributes.nonce=r)}if(Object.keys(e.attributes).forEach((function(a){t.setAttribute(a,e.attributes[a])})),"function"==typeof e.insert)e.insert(t);else{var o=n(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var d,c=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function u(e,t,a,r){var o=a?"":r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,o);else{var i=document.createTextNode(o),n=e.childNodes;n[t]&&e.removeChild(n[t]),n.length?e.insertBefore(i,n[t]):e.appendChild(i)}}function p(e,t,a){var r=a.css,o=a.media,i=a.sourceMap;if(o&&e.setAttribute("media",o),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var a,r,o;if(t.singleton){var i=m++;a=h||(h=g(t)),r=u.bind(null,a,i,!1),o=u.bind(null,a,i,!0)}else a=g(t),r=p.bind(null,a,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(a)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i());var a=l(e,t);return s(a,t),function(e){for(var r=[],i=0;i<a.length;i++){var n=a[i],g=o[n.id];g&&(g.refs--,r.push(g))}e&&s(l(e,t),t);for(var d=0;d<r.length;d++){var c=r[d];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}},function(e,t,a){"use strict";a.r(t),a.d(t,"BaseCreator",(function(){return r})),a.d(t,"BaseGridSerializingSession",(function(){return o})),a.d(t,"CsvCreator",(function(){return g})),a.d(t,"CsvExportModule",(function(){return p})),a.d(t,"Downloader",(function(){return n})),a.d(t,"GridSerializer",(function(){return u})),a.d(t,"RowType",(function(){return d})),a.d(t,"XmlFactory",(function(){return h})),a.d(t,"ZipContainer",(function(){return T}));class r{setBeans(e){this.beans=e}getFileName(e){const t=this.getDefaultFileExtension();return null!=e&&e.length||(e=this.getDefaultFileName()),-1===e.indexOf(".")?`${e}.${t}`:e}getData(e){const t=this.createSerializingSession(e);return this.beans.gridSerializer.serialize(t,e)}getDefaultFileName(){return"export."+this.getDefaultFileExtension()}}class o{constructor(e){this.groupColumns=[];const{columnModel:t,valueService:a,gridOptionsService:r,valueFormatterService:o,valueParserService:i,processCellCallback:n,processHeaderCallback:l,processGroupHeaderCallback:s,processRowGroupCallback:g}=e;this.columnModel=t,this.valueService=a,this.gridOptionsService=r,this.valueFormatterService=o,this.valueParserService=i,this.processCellCallback=n,this.processHeaderCallback=l,this.processGroupHeaderCallback=s,this.processRowGroupCallback=g}prepare(e){this.groupColumns=e.filter(e=>!!e.getColDef().showRowGroup)}extractHeaderValue(e){const t=this.getHeaderName(this.processHeaderCallback,e);return null!=t?t:""}extractRowCellValue(e,t,a,r,o){const i=this.gridOptionsService.get("groupHideOpenParents")&&!o.footer||!this.shouldRenderGroupSummaryCell(o,e,t)?this.valueService.getValue(e,o):this.createValueForGroupNode(e,o);return this.processCell({accumulatedRowIndex:a,rowNode:o,column:e,value:i,processCellCallback:this.processCellCallback,type:r})}shouldRenderGroupSummaryCell(e,t,a){var r;if(!(e&&e.group))return!1;if(-1!==this.groupColumns.indexOf(t)){if(null!=(null===(r=e.groupData)||void 0===r?void 0:r[t.getId()]))return!0;if(this.gridOptionsService.isRowModelType("serverSide")&&e.group)return!0;if(e.footer&&-1===e.level){const e=t.getColDef();return null==e||!0===e.showRowGroup||e.showRowGroup===this.columnModel.getRowGroupColumns()[0].getId()}}const o=this.gridOptionsService.isGroupUseEntireRow(this.columnModel.isPivotMode());return 0===a&&o}getHeaderName(e,t){return e?e(this.gridOptionsService.addGridCommonParams({column:t})):this.columnModel.getDisplayNameForColumn(t,"csv",!0)}createValueForGroupNode(e,t){if(this.processRowGroupCallback)return this.processRowGroupCallback(this.gridOptionsService.addGridCommonParams({column:e,node:t}));const a=this.gridOptionsService.get("treeData"),r=this.gridOptionsService.get("suppressGroupMaintainValueType"),o=t=>{var o,i;if(a||r)return t.key;const n=null===(o=t.groupData)||void 0===o?void 0:o[e.getId()];return n&&t.rowGroupColumn&&!1!==t.rowGroupColumn.getColDef().useValueFormatterForExport&&null!==(i=this.valueFormatterService.formatValue(t.rowGroupColumn,t,n))&&void 0!==i?i:n},i=t.footer,n=[o(t)];if(!this.gridOptionsService.isGroupMultiAutoColumn())for(;t.parent;)t=t.parent,n.push(o(t));const l=n.reverse().join(" -> ");return i?"Total "+l:l}processCell(e){var t;const{accumulatedRowIndex:a,rowNode:r,column:o,value:i,processCellCallback:n,type:l}=e;return n?{value:null!==(t=n(this.gridOptionsService.addGridCommonParams({accumulatedRowIndex:a,column:o,node:r,value:i,type:l,parseValue:e=>this.valueParserService.parseValue(o,r,e,this.valueService.getValue(o,r)),formatValue:e=>{var t;return null!==(t=this.valueFormatterService.formatValue(o,r,e))&&void 0!==t?t:e}})))&&void 0!==t?t:""}:!1!==o.getColDef().useValueFormatterForExport?{value:null!=i?i:"",valueFormatted:this.valueFormatterService.formatValue(o,r,i)}:{value:null!=i?i:""}}}var i=a(0);class n{static download(e,t){const a=document.defaultView||window;if(!a)return void console.warn("AG Grid: There is no `window` associated with the current `document`");const r=document.createElement("a"),o=a.URL.createObjectURL(t);r.setAttribute("href",o),r.setAttribute("download",e),r.style.display="none",document.body.appendChild(r),r.dispatchEvent(new MouseEvent("click",{bubbles:!1,cancelable:!0,view:a})),document.body.removeChild(r),a.setTimeout(()=>{a.URL.revokeObjectURL(o)},0)}}class l extends o{constructor(e){super(e),this.isFirstLine=!0,this.result="";const{suppressQuotes:t,columnSeparator:a}=e;this.suppressQuotes=t,this.columnSeparator=a}addCustomContent(e){e&&("string"==typeof e?(/^\s*\n/.test(e)||this.beginNewLine(),e=e.replace(/\r?\n/g,"\r\n"),this.result+=e):e.forEach(e=>{this.beginNewLine(),e.forEach((e,t)=>{0!==t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(e.data.value||""),e.mergeAcross&&this.appendEmptyCells(e.mergeAcross)})}))}onNewHeaderGroupingRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}}onNewHeaderGroupingRowColumn(e,t,a,r){0!=a&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t),this.appendEmptyCells(r)}appendEmptyCells(e){for(let t=1;t<=e;t++)this.result+=this.columnSeparator+this.putInQuotes("")}onNewHeaderRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderRowColumn.bind(this)}}onNewHeaderRowColumn(e,t){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e))}onNewBodyRow(){return this.beginNewLine(),{onColumn:this.onNewBodyRowColumn.bind(this)}}onNewBodyRowColumn(e,t,a){var r;0!=t&&(this.result+=this.columnSeparator);const o=this.extractRowCellValue(e,t,t,"csv",a);this.result+=this.putInQuotes(null!==(r=o.valueFormatted)&&void 0!==r?r:o.value)}putInQuotes(e){if(this.suppressQuotes)return e;if(null==e)return'""';let t;"string"==typeof e?t=e:"function"==typeof e.toString?t=e.toString():(console.warn("AG Grid: unknown value type during csv conversion"),t="");return'"'+t.replace(/"/g,'""')+'"'}parse(){return this.result}beginNewLine(){this.isFirstLine||(this.result+="\r\n"),this.isFirstLine=!1}}var s=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let g=class extends r{postConstruct(){this.setBeans({gridSerializer:this.gridSerializer,gridOptionsService:this.gridOptionsService})}getMergedParams(e){const t=this.gridOptionsService.get("defaultCsvExportParams");return Object.assign({},t,e)}export(e){if(this.isExportSuppressed())return void console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration.");const t=this.getMergedParams(e),a=this.getData(t),r=new Blob(["\ufeff",a],{type:"text/plain"}),o="function"==typeof t.fileName?t.fileName(this.gridOptionsService.getGridCommonParams()):t.fileName;n.download(this.getFileName(o),r)}exportDataAsCsv(e){this.export(e)}getDataAsCsv(e,t=!1){const a=t?Object.assign({},e):this.getMergedParams(e);return this.getData(a)}getDefaultFileExtension(){return"csv"}createSerializingSession(e){const{columnModel:t,valueService:a,gridOptionsService:r,valueFormatterService:o,valueParserService:i}=this,{processCellCallback:n,processHeaderCallback:s,processGroupHeaderCallback:g,processRowGroupCallback:d,suppressQuotes:c,columnSeparator:u}=e;return new l({columnModel:t,valueService:a,gridOptionsService:r,valueFormatterService:o,valueParserService:i,processCellCallback:n||void 0,processHeaderCallback:s||void 0,processGroupHeaderCallback:g||void 0,processRowGroupCallback:d||void 0,suppressQuotes:c||!1,columnSeparator:u||","})}isExportSuppressed(){return this.gridOptionsService.get("suppressCsvExport")}};s([Object(i.Autowired)("columnModel")],g.prototype,"columnModel",void 0),s([Object(i.Autowired)("valueService")],g.prototype,"valueService",void 0),s([Object(i.Autowired)("gridSerializer")],g.prototype,"gridSerializer",void 0),s([Object(i.Autowired)("gridOptionsService")],g.prototype,"gridOptionsService",void 0),s([Object(i.Autowired)("valueFormatterService")],g.prototype,"valueFormatterService",void 0),s([Object(i.Autowired)("valueParserService")],g.prototype,"valueParserService",void 0),s([i.PostConstruct],g.prototype,"postConstruct",null),g=s([Object(i.Bean)("csvCreator")],g);var d,c=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e[e.HEADER_GROUPING=0]="HEADER_GROUPING",e[e.HEADER=1]="HEADER",e[e.BODY=2]="BODY"}(d||(d={}));let u=class extends i.BeanStub{serialize(e,t={}){const{allColumns:a,columnKeys:r,skipRowGroups:o}=t,n=this.getColumnsToExport(a,o,r);return i._.compose(this.prepareSession(n),this.prependContent(t),this.exportColumnGroups(t,n),this.exportHeaders(t,n),this.processPinnedTopRows(t,n),this.processRows(t,n),this.processPinnedBottomRows(t,n),this.appendContent(t))(e).parse()}processRow(e,t,a,r){const o=t.shouldRowBeSkipped||(()=>!1),i=this.gridOptionsService.get("groupRemoveSingleChildren"),n=this.gridOptionsService.get("groupRemoveLowestSingleChildren"),l=null!=t.rowPositions||!!t.onlySelected,s=this.gridOptionsService.get("groupHideOpenParents")&&!l,g=this.columnModel.isPivotMode()?r.leafGroup:!r.group,d=!!r.footer,c=(t.skipRowGroups,n&&r.leafGroup),u=1===r.allChildrenCount&&(i||c);if(!g&&!d&&(t.skipRowGroups||u||s)||t.onlySelected&&!r.isSelected()||t.skipPinnedTop&&"top"===r.rowPinned||t.skipPinnedBottom&&"bottom"===r.rowPinned)return;if(-1===r.level&&!g&&!d)return;if(o(this.gridOptionsService.addGridCommonParams({node:r})))return;const p=e.onNewBodyRow(r);if(a.forEach((e,t)=>{p.onColumn(e,t,r)}),t.getCustomContentBelowRow){const a=t.getCustomContentBelowRow(this.gridOptionsService.addGridCommonParams({node:r}));a&&e.addCustomContent(a)}}appendContent(e){return t=>{const a=e.appendContent;return a&&t.addCustomContent(a),t}}prependContent(e){return t=>{const a=e.prependContent;return a&&t.addCustomContent(a),t}}prepareSession(e){return t=>(t.prepare(e),t)}exportColumnGroups(e,t){return a=>{if(!e.skipColumnGroupHeaders){const r=new i.GroupInstanceIdCreator,o=this.displayedGroupCreator.createDisplayedGroups(t,r,null);this.recursivelyAddHeaderGroups(o,a,e.processGroupHeaderCallback)}return a}}exportHeaders(e,t){return a=>{if(!e.skipColumnHeaders){const e=a.onNewHeaderRow();t.forEach((t,a)=>{e.onColumn(t,a,void 0)})}return a}}processPinnedTopRows(e,t){return a=>{const r=this.processRow.bind(this,a,e,t);return e.rowPositions?e.rowPositions.filter(e=>"top"===e.rowPinned).sort((e,t)=>e.rowIndex-t.rowIndex).map(e=>this.pinnedRowModel.getPinnedTopRow(e.rowIndex)).forEach(r):this.pinnedRowModel.forEachPinnedTopRow(r),a}}processRows(e,t){return a=>{const r=this.rowModel,o=r.getType(),i="clientSide"===o,n="serverSide"===o,l=!i&&e.onlySelected,s=this.processRow.bind(this,a,e,t),{exportedRows:g="filteredAndSorted"}=e;if(e.rowPositions)e.rowPositions.filter(e=>null==e.rowPinned).sort((e,t)=>e.rowIndex-t.rowIndex).map(e=>r.getRow(e.rowIndex)).forEach(s);else if(this.columnModel.isPivotMode())i?r.forEachPivotNode(s,!0):n?r.forEachNodeAfterFilterAndSort(s,!0):r.forEachNode(s);else if(e.onlySelectedAllPages||l){const e=this.selectionService.getSelectedNodes();this.replicateSortedOrder(e),e.forEach(s)}else"all"===g?r.forEachNode(s):i||n?r.forEachNodeAfterFilterAndSort(s,!0):r.forEachNode(s);return a}}replicateSortedOrder(e){const t=this.sortController.getSortOptions(),a=(e,r)=>{var o,i,n,l;return null!=e.rowIndex&&null!=r.rowIndex?e.rowIndex-r.rowIndex:e.level===r.level?(null===(o=e.parent)||void 0===o?void 0:o.id)===(null===(i=r.parent)||void 0===i?void 0:i.id)?this.rowNodeSorter.compareRowNodes(t,{rowNode:e,currentPos:null!==(n=e.rowIndex)&&void 0!==n?n:-1},{rowNode:r,currentPos:null!==(l=r.rowIndex)&&void 0!==l?l:-1}):a(e.parent,r.parent):e.level>r.level?a(e.parent,r):a(e,r.parent)};e.sort(a)}processPinnedBottomRows(e,t){return a=>{const r=this.processRow.bind(this,a,e,t);return e.rowPositions?e.rowPositions.filter(e=>"bottom"===e.rowPinned).sort((e,t)=>e.rowIndex-t.rowIndex).map(e=>this.pinnedRowModel.getPinnedBottomRow(e.rowIndex)).forEach(r):this.pinnedRowModel.forEachPinnedBottomRow(r),a}}getColumnsToExport(e=!1,t=!1,a){const r=this.columnModel.isPivotMode();if(a&&a.length)return this.columnModel.getGridColumns(a);const o=this.gridOptionsService.get("treeData");let n=[];return n=e&&!r?this.columnModel.getAllGridColumns():this.columnModel.getAllDisplayedColumns(),t&&!o&&(n=n.filter(e=>e.getColId()!==i.GROUP_AUTO_COLUMN_ID)),n}recursivelyAddHeaderGroups(e,t,a){const r=[];e.forEach(e=>{const t=e;t.getChildren&&t.getChildren().forEach(e=>r.push(e))}),e.length>0&&e[0]instanceof i.ColumnGroup&&this.doAddHeaderHeader(t,e,a),r&&r.length>0&&this.recursivelyAddHeaderGroups(r,t,a)}doAddHeaderHeader(e,t,a){const r=e.onNewHeaderGroupingRow();let o=0;t.forEach(e=>{const t=e;let n;n=a?a(this.gridOptionsService.addGridCommonParams({columnGroup:t})):this.columnModel.getDisplayNameForColumnGroup(t,"header");const l=t.getLeafColumns().reduce((e,t,a,r)=>{let o=i._.last(e);return"open"===t.getColumnGroupShow()?o&&null==o[1]||(o=[a],e.push(o)):o&&null==o[1]&&(o[1]=a-1),a===r.length-1&&o&&null==o[1]&&(o[1]=a),e},[]);r.onColumn(t,n||"",o++,t.getLeafColumns().length-1,l)})}};c([Object(i.Autowired)("displayedGroupCreator")],u.prototype,"displayedGroupCreator",void 0),c([Object(i.Autowired)("columnModel")],u.prototype,"columnModel",void 0),c([Object(i.Autowired)("rowModel")],u.prototype,"rowModel",void 0),c([Object(i.Autowired)("pinnedRowModel")],u.prototype,"pinnedRowModel",void 0),c([Object(i.Autowired)("selectionService")],u.prototype,"selectionService",void 0),c([Object(i.Autowired)("rowNodeSorter")],u.prototype,"rowNodeSorter",void 0),c([Object(i.Autowired)("sortController")],u.prototype,"sortController",void 0),u=c([Object(i.Bean)("gridSerializer")],u);const p={version:"31.1.0",moduleName:i.ModuleNames.CsvExportModule,beans:[g,u]};class h{static createHeader(e={}){const t=["version"];e.version||(e.version="1.0"),e.encoding&&t.push("encoding"),e.standalone&&t.push("standalone");return`<?xml ${t.map(t=>`${t}="${e[t]}"`).join(" ")} ?>`}static createXml(e,t){let a="";e.properties&&(e.properties.prefixedAttributes&&e.properties.prefixedAttributes.forEach(e=>{Object.keys(e.map).forEach(r=>{a+=this.returnAttributeIfPopulated(e.prefix+r,e.map[r],t)})}),e.properties.rawMap&&Object.keys(e.properties.rawMap).forEach(r=>{a+=this.returnAttributeIfPopulated(r,e.properties.rawMap[r],t)}));let r="<"+e.name+a;return e.children||null!=e.textNode?null!=e.textNode?r+">"+e.textNode+"</"+e.name+">\r\n":(r+=">\r\n",e.children&&e.children.forEach(e=>{r+=this.createXml(e,t)}),r+"</"+e.name+">\r\n"):r+"/>\r\n"}static returnAttributeIfPopulated(e,t,a){if(!t&&""!==t&&0!==t)return"";let r=t;return"boolean"==typeof t&&a&&(r=a(t)),` ${e}="${r}"`}}function m(e,t){let a="";for(let r=0;r<t;r++)a+=String.fromCharCode(255&e),e>>>=8;return a}const v=e=>{if(!e.length)return 0;let t=-1,a=0,r=0,o=0;for(let i=0;i<e.length;i++)a=e[i],r=255&(t^a),o=w[r],t=t>>>8^o;return-1^t},f=e=>e.length?v("string"==typeof e?(new TextEncoder).encode(e):e):0,w=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);var b=function(e,t,a,r){return new(a||(a=Promise))((function(o,i){function n(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(n,l)}s((r=r.apply(e,t||[])).next())}))};const C=e=>b(void 0,void 0,void 0,(function*(){const t=new Blob([e]),{size:a,content:r}=yield(o=t,b(void 0,void 0,void 0,(function*(){let e=0;const t=[],a=new WritableStream({write:a=>{t.push(a),e+=a.length}}),r=new ReadableStream({start:e=>{const t=new FileReader;t.onload=t=>{var a;(null===(a=t.target)||void 0===a?void 0:a.result)&&e.enqueue(t.target.result),e.close()},t.readAsArrayBuffer(o)}}),i=new window.CompressionStream("deflate-raw");return yield r.pipeThrough(i).pipeTo(a),{size:e,content:new Blob(t)}})));var o;return{size:a,content:new Uint8Array(yield r.arrayBuffer())}}));var y=function(e,t,a,r){return new(a||(a=Promise))((function(o,i){function n(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(n,l)}s((r=r.apply(e,t||[])).next())}))};const{utf8_encode:S}=i._,E=(e,t)=>y(void 0,void 0,void 0,(function*(){const{content:a}=e,{size:r,content:o}=a?k(a):{size:0,content:Uint8Array.from([])};let i=void 0,n=void 0,l=!1;if("file"===e.type&&o&&r>0){const e=yield C(o);i=e.content,n=e.size,l=!0}const s=x(e,l,t,r,o,n);return Object.assign(Object.assign({},s),{content:i||o,isCompressed:l})})),R=(e,t)=>{const{content:a}=e,{content:r}=a?k(a):{content:Uint8Array.from([])},o=x(e,!1,t,r.length,r,void 0);return Object.assign(Object.assign({},o),{content:r,isCompressed:!1})},x=(e,t,a,r,o,i)=>{const{content:n,path:l,created:s}=e,g=(e=>{let t=e.getHours();return t<<=6,t|=e.getMinutes(),t<<=5,t|=e.getSeconds()/2,t})(s),d=(e=>{let t=e.getFullYear()-1980;return t<<=4,t|=e.getMonth()+1,t<<=5,t|=e.getDate(),t})(s),c=f(o),u=void 0!==i?i:r,p=S(l),h=p!==l;let v="";if(h){const e=m(1,1)+m(f(p),4)+p;v="up"+m(e.length,2)+e}const w="\0"+(h?"\0\b":"\0\0")+m(t?8:0,2)+m(g,2)+m(d,2)+m(u?c:0,4)+m(null!=i?i:r,4)+m(r,4)+m(p.length,2)+m(v.length,2),b="PK"+w+p+v,C="PK\0"+w+"\0\0\0\0\0\0"+(n?"\0\0\0\0":"\0\0\0")+m(a,4)+p+v;return{localFileHeader:Uint8Array.from(b,e=>e.charCodeAt(0)),centralDirectoryHeader:Uint8Array.from(C,e=>e.charCodeAt(0))}},k=e=>{let t;if("string"==typeof e){t=(e=>{const t=new Uint8Array(e.length);for(let a=0;a<e.length;a++)t[a]=e.charCodeAt(a);return t})(atob(e.split(";base64,")[1]))}else t=e;return{size:t.length,content:t}};var z=function(e,t,a,r){return new(a||(a=Promise))((function(o,i){function n(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(n,l)}s((r=r.apply(e,t||[])).next())}))};class T{static addFolders(e){e.forEach(this.addFolder.bind(this))}static addFolder(e){this.folders.push({path:e,created:new Date,isBase64:!1,type:"folder"})}static addFile(e,t,a=!1){this.files.push({path:e,created:new Date,content:a?t:(new TextEncoder).encode(t),isBase64:a,type:"file"})}static getZipFile(e="application/zip"){return z(this,void 0,void 0,(function*(){const t=yield this.buildCompressedFileStream();return this.clearStream(),new Blob([t],{type:e})}))}static getUncompressedZipFile(e="application/zip"){const t=this.buildFileStream();return this.clearStream(),new Blob([t],{type:e})}static clearStream(){this.folders=[],this.files=[]}static packageFiles(e){let t=new Uint8Array(0),a=new Uint8Array(0),r=0,o=0;for(const i of e){const{localFileHeader:e,centralDirectoryHeader:n,content:l}=i,s=new Uint8Array(t.length+e.length);s.set(t),s.set(e,t.length),t=s;const g=new Uint8Array(t.length+l.length);g.set(t),g.set(l,t.length),t=g;const d=new Uint8Array(a.length+n.length);d.set(a),d.set(n,a.length),a=d,r+=e.length+l.length,o+=n.length}const i=((e,t,a)=>{const r="PK\0\0\0\0"+m(e,2)+m(e,2)+m(t,4)+m(a,4)+"\0\0";return Uint8Array.from(r,e=>e.charCodeAt(0))})(e.length,o,r),n=new Uint8Array(t.length+a.length+i.length);return n.set(t),n.set(a,t.length),n.set(i,t.length+a.length),n}static buildCompressedFileStream(){return z(this,void 0,void 0,(function*(){const e=[...this.folders,...this.files],t=[];let a=0;for(const r of e){const e=yield E(r,a),{localFileHeader:o,content:i}=e;t.push(e),a+=o.length+i.length}return this.packageFiles(t)}))}static buildFileStream(){const e=[...this.folders,...this.files],t=[];let a=0;for(const r of e){const e=R(r,a),{localFileHeader:o,content:i}=e;t.push(e),a+=o.length+i.length}return this.packageFiles(t)}}T.folders=[],T.files=[]},function(e,t,a){"use strict";a.r(t),a.d(t,"ClientSideRowModelModule",(function(){return C}));var r=a(0);class o{constructor(e,t,a,r,i,n){this.nextId=0,this.rowCountReady=!1,this.allNodesMap={},this.rootNode=e,this.gridOptionsService=t,this.eventService=a,this.columnModel=r,this.beans=n,this.selectionService=i,this.rootNode.group=!0,this.rootNode.level=-1,this.rootNode.id=o.ROOT_NODE_ID,this.rootNode.allLeafChildren=[],this.rootNode.childrenAfterGroup=[],this.rootNode.childrenAfterSort=[],this.rootNode.childrenAfterAggFilter=[],this.rootNode.childrenAfterFilter=[]}getCopyOfNodesMap(){return r._.cloneObject(this.allNodesMap)}getRowNode(e){return this.allNodesMap[e]}setRowData(e){if("string"==typeof e)return void console.warn("AG Grid: rowData must be an array, however you passed in a string. If you are loading JSON, make sure you convert the JSON string to JavaScript objects first");this.rowCountReady=!0,this.dispatchRowDataUpdateStartedEvent(e);const t=this.rootNode,a=this.rootNode.sibling;t.childrenAfterFilter=null,t.childrenAfterGroup=null,t.childrenAfterAggFilter=null,t.childrenAfterSort=null,t.childrenMapped=null,t.updateHasChildren(),this.nextId=0,this.allNodesMap={},e?t.allLeafChildren=e.map(e=>this.createNode(e,this.rootNode,o.TOP_LEVEL)):(t.allLeafChildren=[],t.childrenAfterGroup=[]),a&&(a.childrenAfterFilter=t.childrenAfterFilter,a.childrenAfterGroup=t.childrenAfterGroup,a.childrenAfterAggFilter=t.childrenAfterAggFilter,a.childrenAfterSort=t.childrenAfterSort,a.childrenMapped=t.childrenMapped,a.allLeafChildren=t.allLeafChildren)}updateRowData(e,t){this.rowCountReady=!0,this.dispatchRowDataUpdateStartedEvent(e.add);const a={remove:[],update:[],add:[]},o=[];return this.executeRemove(e,a,o),this.executeUpdate(e,a,o),this.executeAdd(e,a),this.updateSelection(o,"rowDataChanged"),t&&r._.sortRowNodesByOrder(this.rootNode.allLeafChildren,t),a}isRowCountReady(){return this.rowCountReady}dispatchRowDataUpdateStartedEvent(e){const t={type:r.Events.EVENT_ROW_DATA_UPDATE_STARTED,firstRowData:(null==e?void 0:e.length)?e[0]:null};this.eventService.dispatchEvent(t)}updateSelection(e,t){const a=e.length>0;if(a&&this.selectionService.setNodesSelected({newValue:!1,nodes:e,suppressFinishActions:!0,source:t}),this.selectionService.updateGroupsFromChildrenSelections(t),a){const e={type:r.Events.EVENT_SELECTION_CHANGED,source:t};this.eventService.dispatchEvent(e)}}executeAdd(e,t){var a;const{add:i,addIndex:n}=e;if(r._.missingOrEmpty(i))return;const l=i.map(e=>this.createNode(e,this.rootNode,o.TOP_LEVEL));if("number"==typeof n&&n>=0){const{allLeafChildren:e}=this.rootNode,t=e.length;let r=n;if(this.gridOptionsService.get("treeData")&&n>0&&t>0)for(let o=0;o<t;o++)if((null===(a=e[o])||void 0===a?void 0:a.rowIndex)==n-1){r=o+1;break}const o=e.slice(0,r),i=e.slice(r,e.length);this.rootNode.allLeafChildren=[...o,...l,...i]}else this.rootNode.allLeafChildren=[...this.rootNode.allLeafChildren,...l];this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren),t.add=l}executeRemove(e,t,a){const{remove:o}=e;if(r._.missingOrEmpty(o))return;const i={};o.forEach(e=>{const r=this.lookupRowNode(e);r&&(r.isSelected()&&a.push(r),r.clearRowTopAndRowIndex(),i[r.id]=!0,delete this.allNodesMap[r.id],t.remove.push(r))}),this.rootNode.allLeafChildren=this.rootNode.allLeafChildren.filter(e=>!i[e.id]),this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren)}executeUpdate(e,t,a){const{update:i}=e;r._.missingOrEmpty(i)||i.forEach(e=>{const r=this.lookupRowNode(e);r&&(r.updateData(e),!r.selectable&&r.isSelected()&&a.push(r),this.setMasterForRow(r,e,o.TOP_LEVEL,!1),t.update.push(r))})}lookupRowNode(e){const t=this.gridOptionsService.getCallback("getRowId");let a;if(t){const r=t({data:e,level:0});if(a=this.allNodesMap[r],!a)return console.error(`AG Grid: could not find row id=${r}, data item was not found for this id`),null}else if(a=this.rootNode.allLeafChildren.find(t=>t.data===e),!a)return console.error("AG Grid: could not find data item as object was not found",e),console.error("Consider using getRowId to help the Grid find matching row data"),null;return a||null}createNode(e,t,a){const o=new r.RowNode(this.beans);o.group=!1,this.setMasterForRow(o,e,a,!0);const i=this.gridOptionsService.get("suppressParentsInRowNodes");return t&&!i&&(o.parent=t),o.level=a,o.setDataAndId(e,this.nextId.toString()),this.allNodesMap[o.id]&&console.warn(`AG Grid: duplicate node id '${o.id}' detected from getRowId callback, this could cause issues in your grid.`),this.allNodesMap[o.id]=o,this.nextId++,o}setMasterForRow(e,t,a,r){if(this.gridOptionsService.get("treeData"))e.setMaster(!1),r&&(e.expanded=!1);else{if(this.gridOptionsService.get("masterDetail")){const a=this.gridOptionsService.get("isRowMaster");a?e.setMaster(a(t)):e.setMaster(!0)}else e.setMaster(!1);if(r){const t=this.columnModel.getRowGroupColumns(),r=a+(t?t.length:0);e.expanded=!!e.master&&this.isExpanded(r)}}}isExpanded(e){const t=this.gridOptionsService.get("groupDefaultExpanded");return-1===t||e<t}}o.TOP_LEVEL=0,o.ROOT_NODE_ID="ROOT_NODE_ID";var i,n=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};!function(e){e[e.Normal=0]="Normal",e[e.AfterFilter=1]="AfterFilter",e[e.AfterFilterAndSort=2]="AfterFilterAndSort",e[e.PivotNodes=3]="PivotNodes"}(i||(i={}));let l=class extends r.BeanStub{constructor(){super(...arguments),this.onRowHeightChanged_debounced=r._.debounce(this.onRowHeightChanged.bind(this),100),this.rowsToDisplay=[],this.hasStarted=!1,this.shouldSkipSettingDataOnStart=!1,this.isRefreshingModel=!1,this.rowCountReady=!1}init(){const e=this.refreshModel.bind(this,{step:r.ClientSideRowModelSteps.EVERYTHING}),t=!this.gridOptionsService.get("suppressAnimationFrame"),a=this.refreshModel.bind(this,{step:r.ClientSideRowModelSteps.EVERYTHING,afterColumnsChanged:!0,keepRenderedRows:!0,animate:t});this.addManagedListener(this.eventService,r.Events.EVENT_NEW_COLUMNS_LOADED,a),this.addManagedListener(this.eventService,r.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.addManagedListener(this.eventService,r.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.addManagedListener(this.eventService,r.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refreshModel.bind(this,{step:r.ClientSideRowModelSteps.PIVOT})),this.addManagedListener(this.eventService,r.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,r.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,r.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,e),this.addManagedListener(this.eventService,r.Events.EVENT_GRID_STYLES_CHANGED,this.onGridStylesChanges.bind(this)),this.addManagedListener(this.eventService,r.Events.EVENT_GRID_READY,()=>this.onGridReady()),this.addPropertyListeners(),this.rootNode=new r.RowNode(this.beans),this.nodeManager=new o(this.rootNode,this.gridOptionsService,this.eventService,this.columnModel,this.selectionService,this.beans)}addPropertyListeners(){const e=new Set(["treeData","masterDetail"]),t=new Set(["suppressParentsInRowNodes","groupDefaultExpanded","groupAllowUnbalanced","initialGroupOrderComparator","groupHideOpenParents","groupDisplayType"]),a=new Set(["excludeChildrenWhenTreeDataFiltering"]),o=new Set(["removePivotHeaderRowWhenSingleValueColumn","pivotRowTotals","pivotColumnGroupTotals","suppressExpandablePivotGroups"]),i=new Set(["getGroupRowAgg","alwaysAggregateAtRootLevel","groupIncludeTotalFooter","suppressAggFilteredOnly"]),n=new Set(["postSortRows","groupDisplayType","accentedSort"]),l=new Set([]),s=new Set(["groupRemoveSingleChildren","groupRemoveLowestSingleChildren","groupIncludeFooter"]),g=[...e,...t,...a,...o,...o,...i,...n,...l,...s];this.addManagedPropertyListeners(g,g=>{var d;const c=null===(d=g.changeSet)||void 0===d?void 0:d.properties;if(!c)return;const u=e=>c.some(t=>e.has(t));u(e)?this.setRowData(this.rootNode.allLeafChildren.map(e=>e.data)):u(t)?this.refreshModel({step:r.ClientSideRowModelSteps.EVERYTHING}):u(a)?this.refreshModel({step:r.ClientSideRowModelSteps.FILTER}):u(o)?this.refreshModel({step:r.ClientSideRowModelSteps.PIVOT}):u(i)?this.refreshModel({step:r.ClientSideRowModelSteps.AGGREGATE}):u(n)?this.refreshModel({step:r.ClientSideRowModelSteps.SORT}):u(l)?this.refreshModel({step:r.ClientSideRowModelSteps.FILTER_AGGREGATES}):u(s)&&this.refreshModel({step:r.ClientSideRowModelSteps.MAP})}),this.addManagedPropertyListener("rowHeight",()=>this.resetRowHeights())}start(){this.hasStarted=!0,this.shouldSkipSettingDataOnStart?this.dispatchUpdateEventsAndRefresh():this.setInitialData()}setInitialData(){const e=this.gridOptionsService.get("rowData");e&&(this.shouldSkipSettingDataOnStart=!0,this.setRowData(e))}ensureRowHeightsValid(e,t,a,r){let o,i=!1;do{o=!1;const n=this.getRowIndexAtPixel(e),l=this.getRowIndexAtPixel(t),s=Math.max(n,a),g=Math.min(l,r);for(let e=s;e<=g;e++){const t=this.getRow(e);if(t.rowHeightEstimated){const e=this.gridOptionsService.getRowHeightForNode(t);t.setRowHeight(e.height),o=!0,i=!0}}o&&this.setRowTopAndRowIndex()}while(o);return i}setRowTopAndRowIndex(){const e=this.environment.getDefaultRowHeight();let t=0;const a=new Set,r=this.gridOptionsService.isDomLayout("normal");for(let o=0;o<this.rowsToDisplay.length;o++){const i=this.rowsToDisplay[o];if(null!=i.id&&a.add(i.id),null==i.rowHeight){const t=this.gridOptionsService.getRowHeightForNode(i,r,e);i.setRowHeight(t.height,t.estimated)}i.setRowTop(t),i.setRowIndex(o),t+=i.rowHeight}return a}clearRowTopAndRowIndex(e,t){const a=e.isActive(),r=e=>{e&&null!=e.id&&!t.has(e.id)&&e.clearRowTopAndRowIndex()},o=e=>{if(r(e),r(e.detailNode),r(e.sibling),e.hasChildren()&&e.childrenAfterGroup){const t=-1==e.level;a&&!t&&!e.expanded||e.childrenAfterGroup.forEach(o)}};o(this.rootNode)}ensureRowsAtPixel(e,t,a=0){const o=this.getRowIndexAtPixel(t),i=this.getRow(o),n=!this.gridOptionsService.get("suppressAnimationFrame");return i!==e[0]&&(e.forEach(e=>{r._.removeFromArray(this.rootNode.allLeafChildren,e)}),e.forEach((e,t)=>{r._.insertIntoArray(this.rootNode.allLeafChildren,e,Math.max(o+a,0)+t)}),this.refreshModel({step:r.ClientSideRowModelSteps.EVERYTHING,keepRenderedRows:!0,keepEditingRows:!0,animate:n}),!0)}highlightRowAtPixel(e,t){const a=null!=t?this.getRowIndexAtPixel(t):null,r=null!=a?this.getRow(a):null;if(!r||!e||r===e||null==t)return void(this.lastHighlightedRow&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null));const o=this.getHighlightPosition(t,r);this.lastHighlightedRow&&this.lastHighlightedRow!==r&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null),r.setHighlighted(o),this.lastHighlightedRow=r}getHighlightPosition(e,t){if(!t){const a=this.getRowIndexAtPixel(e);if(!(t=this.getRow(a||0)))return r.RowHighlightPosition.Below}const{rowTop:a,rowHeight:o}=t;return e-a<o/2?r.RowHighlightPosition.Above:r.RowHighlightPosition.Below}getLastHighlightedRowNode(){return this.lastHighlightedRow}isLastRowIndexKnown(){return!0}getRowCount(){return this.rowsToDisplay?this.rowsToDisplay.length:0}getTopLevelRowCount(){if(this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode)return 1;const e=this.rootNode.childrenAfterAggFilter;return e?e.length:0}getTopLevelRowDisplayedIndex(e){if(this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode)return e;let t=this.rootNode.childrenAfterSort[e];if(this.gridOptionsService.get("groupHideOpenParents"))for(;t.expanded&&t.childrenAfterSort&&t.childrenAfterSort.length>0;)t=t.childrenAfterSort[0];return t.rowIndex}getRowBounds(e){if(r._.missing(this.rowsToDisplay))return null;const t=this.rowsToDisplay[e];return t?{rowTop:t.rowTop,rowHeight:t.rowHeight}:null}onRowGroupOpened(){const e=this.gridOptionsService.isAnimateRows();this.refreshModel({step:r.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,animate:e})}onFilterChanged(e){if(e.afterDataChange)return;const t=this.gridOptionsService.isAnimateRows(),a=0===e.columns.length||e.columns.some(e=>e.isPrimary())?r.ClientSideRowModelSteps.FILTER:r.ClientSideRowModelSteps.FILTER_AGGREGATES;this.refreshModel({step:a,keepRenderedRows:!0,animate:t})}onSortChanged(){const e=this.gridOptionsService.isAnimateRows();this.refreshModel({step:r.ClientSideRowModelSteps.SORT,keepRenderedRows:!0,animate:e,keepEditingRows:!0})}getType(){return"clientSide"}onValueChanged(){this.columnModel.isPivotActive()?this.refreshModel({step:r.ClientSideRowModelSteps.PIVOT}):this.refreshModel({step:r.ClientSideRowModelSteps.AGGREGATE})}createChangePath(e){const t=r._.missingOrEmpty(e),a=new r.ChangedPath(!1,this.rootNode);return(t||this.gridOptionsService.get("treeData"))&&a.setInactive(),a}isSuppressModelUpdateAfterUpdateTransaction(e){if(!this.gridOptionsService.get("suppressModelUpdateAfterUpdateTransaction"))return!1;if(null==e.rowNodeTransactions)return!1;const t=e.rowNodeTransactions.filter(e=>null!=e.add&&e.add.length>0||null!=e.remove&&e.remove.length>0);return null==t||0==t.length}buildRefreshModelParams(e){let t=r.ClientSideRowModelSteps.EVERYTHING;const a={everything:r.ClientSideRowModelSteps.EVERYTHING,group:r.ClientSideRowModelSteps.EVERYTHING,filter:r.ClientSideRowModelSteps.FILTER,map:r.ClientSideRowModelSteps.MAP,aggregate:r.ClientSideRowModelSteps.AGGREGATE,sort:r.ClientSideRowModelSteps.SORT,pivot:r.ClientSideRowModelSteps.PIVOT};if(r._.exists(e)&&(t=a[e]),r._.missing(t))return void console.error(`AG Grid: invalid step ${e}, available steps are ${Object.keys(a).join(", ")}`);return{step:t,keepRenderedRows:!0,keepEditingRows:!0,animate:!this.gridOptionsService.get("suppressAnimationFrame")}}refreshModel(e){if(!this.hasStarted||this.isRefreshingModel||this.columnModel.shouldRowModelIgnoreRefresh())return;let t="object"==typeof e&&"step"in e?e:this.buildRefreshModelParams(e);if(!t)return;if(this.isSuppressModelUpdateAfterUpdateTransaction(t))return;const a=this.createChangePath(t.rowNodeTransactions);switch(this.isRefreshingModel=!0,t.step){case r.ClientSideRowModelSteps.EVERYTHING:this.doRowGrouping(t.rowNodeTransactions,t.rowNodeOrder,a,!!t.afterColumnsChanged);case r.ClientSideRowModelSteps.FILTER:this.doFilter(a);case r.ClientSideRowModelSteps.PIVOT:this.doPivot(a);case r.ClientSideRowModelSteps.AGGREGATE:this.doAggregate(a);case r.ClientSideRowModelSteps.FILTER_AGGREGATES:this.doFilterAggregates(a);case r.ClientSideRowModelSteps.SORT:this.doSort(t.rowNodeTransactions,a);case r.ClientSideRowModelSteps.MAP:this.doRowsToDisplay()}const o=this.setRowTopAndRowIndex();this.clearRowTopAndRowIndex(a,o),this.isRefreshingModel=!1;const i={type:r.Events.EVENT_MODEL_UPDATED,animate:t.animate,keepRenderedRows:t.keepRenderedRows,newData:t.newData,newPage:!1,keepUndoRedoStack:t.keepUndoRedoStack};this.eventService.dispatchEvent(i)}isEmpty(){const e=r._.missing(this.rootNode.allLeafChildren)||0===this.rootNode.allLeafChildren.length;return r._.missing(this.rootNode)||e||!this.columnModel.isReady()}isRowsToRender(){return r._.exists(this.rowsToDisplay)&&this.rowsToDisplay.length>0}getNodesInRangeForSelection(e,t){let a=!t,r=!1;const o=[],i=this.gridOptionsService.get("groupSelectsChildren");return this.forEachNodeAfterFilterAndSort(n=>{if(r)return;if(a&&(n===t||n===e)&&(r=!0,n.group&&i))return void o.push(...n.allLeafChildren);if(!a){if(n!==t&&n!==e)return;a=!0}(!n.group||!i)&&o.push(n)}),o}setDatasource(e){console.error("AG Grid: should never call setDatasource on clientSideRowController")}getTopLevelNodes(){return this.rootNode?this.rootNode.childrenAfterGroup:null}getRootNode(){return this.rootNode}getRow(e){return this.rowsToDisplay[e]}isRowPresent(e){return this.rowsToDisplay.indexOf(e)>=0}getRowIndexAtPixel(e){if(this.isEmpty()||0===this.rowsToDisplay.length)return-1;let t=0,a=this.rowsToDisplay.length-1;if(e<=0)return 0;if(r._.last(this.rowsToDisplay).rowTop<=e)return this.rowsToDisplay.length-1;let o=-1,i=-1;for(;;){const r=Math.floor((t+a)/2),n=this.rowsToDisplay[r];if(this.isRowInPixel(n,e))return r;n.rowTop<e?t=r+1:n.rowTop>e&&(a=r-1);if(o===t&&i===a)return r;o=t,i=a}}isRowInPixel(e,t){const a=e.rowTop,r=e.rowTop+e.rowHeight;return a<=t&&r>t}forEachLeafNode(e){this.rootNode.allLeafChildren&&this.rootNode.allLeafChildren.forEach((t,a)=>e(t,a))}forEachNode(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[...this.rootNode.childrenAfterGroup||[]],callback:e,recursionType:i.Normal,index:0,includeFooterNodes:t})}forEachNodeAfterFilter(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[...this.rootNode.childrenAfterAggFilter||[]],callback:e,recursionType:i.AfterFilter,index:0,includeFooterNodes:t})}forEachNodeAfterFilterAndSort(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[...this.rootNode.childrenAfterSort||[]],callback:e,recursionType:i.AfterFilterAndSort,index:0,includeFooterNodes:t})}forEachPivotNode(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[this.rootNode],callback:e,recursionType:i.PivotNodes,index:0,includeFooterNodes:t})}recursivelyWalkNodesAndCallback(e){var t;const{nodes:a,callback:r,recursionType:o,includeFooterNodes:n}=e;let{index:l}=e;for(let e=0;e<a.length;e++){const t=a[e];if(r(t,l++),t.hasChildren()&&!t.footer){let e=null;switch(o){case i.Normal:e=t.childrenAfterGroup;break;case i.AfterFilter:e=t.childrenAfterAggFilter;break;case i.AfterFilterAndSort:e=t.childrenAfterSort;break;case i.PivotNodes:e=t.leafGroup?null:t.childrenAfterSort}e&&(l=this.recursivelyWalkNodesAndCallback({nodes:[...e],callback:r,recursionType:o,index:l,includeFooterNodes:n}))}}const s=null===(t=a[0])||void 0===t?void 0:t.parent;if(!n||!s)return l;if(s===this.rootNode){if(!this.gridOptionsService.get("groupIncludeTotalFooter"))return l}else{if(!this.gridOptionsService.getGroupIncludeFooter()({node:s}))return l}return s.createFooter(),r(s.sibling,l++),l}doAggregate(e){this.aggregationStage&&this.aggregationStage.execute({rowNode:this.rootNode,changedPath:e})}doFilterAggregates(e){this.filterAggregatesStage?this.filterAggregatesStage.execute({rowNode:this.rootNode,changedPath:e}):this.rootNode.childrenAfterAggFilter=this.rootNode.childrenAfterFilter}expandOrCollapseAll(e){const t=this.gridOptionsService.get("treeData"),a=this.columnModel.isPivotActive(),o=i=>{i&&i.forEach(i=>{const n=()=>{i.expanded=e,o(i.childrenAfterGroup)};if(t){return void(r._.exists(i.childrenAfterGroup)&&n())}if(a){return void(!i.leafGroup&&n())}i.group&&n()})};this.rootNode&&o(this.rootNode.childrenAfterGroup),this.refreshModel({step:r.ClientSideRowModelSteps.MAP});const i=e?"expandAll":"collapseAll",n={type:r.Events.EVENT_EXPAND_COLLAPSE_ALL,source:i};this.eventService.dispatchEvent(n)}doSort(e,t){this.sortStage.execute({rowNode:this.rootNode,rowNodeTransactions:e,changedPath:t})}doRowGrouping(e,t,a,o){if(this.groupStage){if(e?this.groupStage.execute({rowNode:this.rootNode,rowNodeTransactions:e,rowNodeOrder:t,changedPath:a}):this.groupStage.execute({rowNode:this.rootNode,changedPath:a,afterColumnsChanged:o}),this.gridOptionsService.get("groupSelectsChildren")){if(this.selectionService.updateGroupsFromChildrenSelections("rowGroupChanged",a)){const e={type:r.Events.EVENT_SELECTION_CHANGED,source:"rowGroupChanged"};this.eventService.dispatchEvent(e)}}}else this.rootNode.childrenAfterGroup=this.rootNode.allLeafChildren,this.rootNode.sibling&&(this.rootNode.sibling.childrenAfterGroup=this.rootNode.childrenAfterGroup),this.rootNode.updateHasChildren();this.nodeManager.isRowCountReady()&&(this.rowCountReady=!0,this.eventService.dispatchEventOnce({type:r.Events.EVENT_ROW_COUNT_READY}))}doFilter(e){this.filterStage.execute({rowNode:this.rootNode,changedPath:e})}doPivot(e){this.pivotStage&&this.pivotStage.execute({rowNode:this.rootNode,changedPath:e})}getCopyOfNodesMap(){return this.nodeManager.getCopyOfNodesMap()}getRowNode(e){if("string"==typeof e&&0==e.indexOf(r.RowNode.ID_PREFIX_ROW_GROUP)){let t=void 0;return this.forEachNode(a=>{a.id===e&&(t=a)}),t}return this.nodeManager.getRowNode(e)}setRowData(e){this.selectionService.reset("rowDataChanged"),this.nodeManager.setRowData(e),this.hasStarted&&this.dispatchUpdateEventsAndRefresh()}dispatchUpdateEventsAndRefresh(){const e={type:r.Events.EVENT_ROW_DATA_UPDATED};this.eventService.dispatchEvent(e),this.refreshModel({step:r.ClientSideRowModelSteps.EVERYTHING,newData:!0})}batchUpdateRowData(e,t){if(null==this.applyAsyncTransactionsTimeout){this.rowDataTransactionBatch=[];const e=this.gridOptionsService.getAsyncTransactionWaitMillis();this.applyAsyncTransactionsTimeout=window.setTimeout(()=>{this.executeBatchUpdateRowData()},e)}this.rowDataTransactionBatch.push({rowDataTransaction:e,callback:t})}flushAsyncTransactions(){null!=this.applyAsyncTransactionsTimeout&&(clearTimeout(this.applyAsyncTransactionsTimeout),this.executeBatchUpdateRowData())}executeBatchUpdateRowData(){this.valueCache.onDataChanged();const e=[],t=[];let a=!1;if(this.rowDataTransactionBatch&&this.rowDataTransactionBatch.forEach(r=>{const o=this.nodeManager.updateRowData(r.rowDataTransaction,void 0);t.push(o),r.callback&&e.push(r.callback.bind(null,o)),"number"==typeof r.rowDataTransaction.addIndex&&(a=!0)}),this.commonUpdateRowData(t,void 0,a),e.length>0&&window.setTimeout(()=>{e.forEach(e=>e())},0),t.length>0){const e={type:r.Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED,results:t};this.eventService.dispatchEvent(e)}this.rowDataTransactionBatch=null,this.applyAsyncTransactionsTimeout=void 0}updateRowData(e,t){this.valueCache.onDataChanged();const a=this.nodeManager.updateRowData(e,t),r="number"==typeof e.addIndex;return this.commonUpdateRowData([a],t,r),a}createRowNodeOrder(){if(this.gridOptionsService.get("suppressMaintainUnsortedOrder"))return;const e={};if(this.rootNode&&this.rootNode.allLeafChildren)for(let t=0;t<this.rootNode.allLeafChildren.length;t++){e[this.rootNode.allLeafChildren[t].id]=t}return e}commonUpdateRowData(e,t,a){if(!this.hasStarted)return;const o=!this.gridOptionsService.get("suppressAnimationFrame");a&&(t=this.createRowNodeOrder());const i={type:r.Events.EVENT_ROW_DATA_UPDATED};this.eventService.dispatchEvent(i),this.refreshModel({step:r.ClientSideRowModelSteps.EVERYTHING,rowNodeTransactions:e,rowNodeOrder:t,keepRenderedRows:!0,keepEditingRows:!0,animate:o})}doRowsToDisplay(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})}onRowHeightChanged(){this.refreshModel({step:r.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,keepEditingRows:!0,keepUndoRedoStack:!0})}onRowHeightChangedDebounced(){this.onRowHeightChanged_debounced()}resetRowHeights(){const e=this.resetRowHeightsForAllRowNodes();this.rootNode.setRowHeight(this.rootNode.rowHeight,!0),this.rootNode.sibling&&this.rootNode.sibling.setRowHeight(this.rootNode.sibling.rowHeight,!0),e&&this.onRowHeightChanged()}resetRowHeightsForAllRowNodes(){let e=!1;return this.forEachNode(t=>{t.setRowHeight(t.rowHeight,!0);const a=t.detailNode;a&&a.setRowHeight(a.rowHeight,!0),t.sibling&&t.sibling.setRowHeight(t.sibling.rowHeight,!0),e=!0}),e}onGridStylesChanges(){this.columnModel.isAutoRowHeightActive()||this.resetRowHeights()}onGridReady(){this.hasStarted||this.setInitialData()}isRowDataLoaded(){return this.rowCountReady}};n([Object(r.Autowired)("columnModel")],l.prototype,"columnModel",void 0),n([Object(r.Autowired)("selectionService")],l.prototype,"selectionService",void 0),n([Object(r.Autowired)("filterManager")],l.prototype,"filterManager",void 0),n([Object(r.Autowired)("valueCache")],l.prototype,"valueCache",void 0),n([Object(r.Autowired)("beans")],l.prototype,"beans",void 0),n([Object(r.Autowired)("filterStage")],l.prototype,"filterStage",void 0),n([Object(r.Autowired)("sortStage")],l.prototype,"sortStage",void 0),n([Object(r.Autowired)("flattenStage")],l.prototype,"flattenStage",void 0),n([Object(r.Optional)("groupStage")],l.prototype,"groupStage",void 0),n([Object(r.Optional)("aggregationStage")],l.prototype,"aggregationStage",void 0),n([Object(r.Optional)("pivotStage")],l.prototype,"pivotStage",void 0),n([Object(r.Optional)("filterAggregatesStage")],l.prototype,"filterAggregatesStage",void 0),n([r.PostConstruct],l.prototype,"init",null),l=n([Object(r.Bean)("rowModel")],l);var s=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let g=class extends r.BeanStub{execute(e){const{changedPath:t}=e;this.filterService.filter(t)}};s([Object(r.Autowired)("filterService")],g.prototype,"filterService",void 0),g=s([Object(r.Bean)("filterStage")],g);var d=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let c=class extends r.BeanStub{execute(e){const t=this.sortController.getSortOptions(),a=r._.exists(t)&&t.length>0,o=a&&r._.exists(e.rowNodeTransactions)&&this.gridOptionsService.get("deltaSort"),i=t.some(e=>this.gridOptionsService.isColumnsSortingCoupledToGroup()?e.column.isPrimary()&&e.column.isRowGroupActive():!!e.column.getColDef().showRowGroup);this.sortService.sort(t,a,o,e.rowNodeTransactions,e.changedPath,i)}};d([Object(r.Autowired)("sortService")],c.prototype,"sortService",void 0),d([Object(r.Autowired)("sortController")],c.prototype,"sortController",void 0),c=d([Object(r.Bean)("sortStage")],c);var u=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let p=class extends r.BeanStub{execute(e){const t=e.rowNode,a=[],r=this.columnModel.isPivotMode(),o=r&&t.leafGroup,i=o?[t]:t.childrenAfterSort,n=this.getFlattenDetails();this.recursivelyAddToRowsToDisplay(n,i,a,r,0);return!o&&a.length>0&&n.groupIncludeTotalFooter&&(t.createFooter(),this.addRowNodeToRowsToDisplay(n,t.sibling,a,0)),a}getFlattenDetails(){const e=this.gridOptionsService.get("groupRemoveSingleChildren");return{groupRemoveLowestSingleChildren:!e&&this.gridOptionsService.get("groupRemoveLowestSingleChildren"),groupRemoveSingleChildren:e,isGroupMultiAutoColumn:this.gridOptionsService.isGroupMultiAutoColumn(),hideOpenParents:this.gridOptionsService.get("groupHideOpenParents"),groupIncludeTotalFooter:this.gridOptionsService.get("groupIncludeTotalFooter"),getGroupIncludeFooter:this.gridOptionsService.getGroupIncludeFooter()}}recursivelyAddToRowsToDisplay(e,t,a,o,i){if(!r._.missingOrEmpty(t))for(let r=0;r<t.length;r++){const n=t[r],l=n.hasChildren(),s=o&&!l,g=e.groupRemoveSingleChildren&&l&&1===n.childrenAfterGroup.length,d=e.groupRemoveLowestSingleChildren&&l&&n.leafGroup&&1===n.childrenAfterGroup.length,c=o&&n.leafGroup,u=e.hideOpenParents&&n.expanded&&!n.master&&!c;if(!(s||u||g||d)&&this.addRowNodeToRowsToDisplay(e,n,a,i),!o||!n.leafGroup)if(l){const t=g||d;if(n.expanded||t){const r=t?i:i+1;this.recursivelyAddToRowsToDisplay(e,n.childrenAfterSort,a,o,r);e.getGroupIncludeFooter({node:n})?(n.createFooter(),this.addRowNodeToRowsToDisplay(e,n.sibling,a,r)):n.destroyFooter()}}else if(n.master&&n.expanded){const t=this.createDetailNode(n);this.addRowNodeToRowsToDisplay(e,t,a,i)}}}addRowNodeToRowsToDisplay(e,t,a,r){a.push(t),t.setUiLevel(e.isGroupMultiAutoColumn?0:r)}createDetailNode(e){if(r._.exists(e.detailNode))return e.detailNode;const t=new r.RowNode(this.beans);return t.detail=!0,t.selectable=!1,t.parent=e,r._.exists(e.id)&&(t.id="detail_"+e.id),t.data=e.data,t.level=e.level+1,e.detailNode=t,t}};u([Object(r.Autowired)("columnModel")],p.prototype,"columnModel",void 0),u([Object(r.Autowired)("beans")],p.prototype,"beans",void 0),p=u([Object(r.Bean)("flattenStage")],p);var h=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let m=class extends r.BeanStub{sort(e,t,a,r,o,i){const n=this.gridOptionsService.get("groupMaintainOrder"),l=this.columnModel.getAllGridColumns().some(e=>e.isRowGroupActive());let s={};a&&r&&(s=this.calculateDirtyNodes(r));const g=this.columnModel.isPivotMode(),d=this.gridOptionsService.getCallback("postSortRows"),c=r=>{var c;this.pullDownGroupDataForHideOpenParents(r.childrenAfterAggFilter,!0);const u=g&&r.leafGroup;if(n&&l&&!r.leafGroup&&!i){const e=null===(c=this.columnModel.getRowGroupColumns())||void 0===c?void 0:c[r.level+1],t=null===(null==e?void 0:e.getSort()),a=r.childrenAfterAggFilter.slice(0);if(r.childrenAfterSort&&!t){const e={};r.childrenAfterSort.forEach((t,a)=>{e[t.id]=a}),a.sort((t,a)=>{var r,o;return(null!==(r=e[t.id])&&void 0!==r?r:0)-(null!==(o=e[a.id])&&void 0!==o?o:0)})}r.childrenAfterSort=a}else r.childrenAfterSort=!t||u?r.childrenAfterAggFilter.slice(0):a?this.doDeltaSort(r,s,o,e):this.rowNodeSorter.doFullSort(r.childrenAfterAggFilter,e);if(r.sibling&&(r.sibling.childrenAfterSort=r.childrenAfterSort),this.updateChildIndexes(r),d){const e={nodes:r.childrenAfterSort};d(e)}};o&&o.forEachChangedNodeDepthFirst(c),this.updateGroupDataForHideOpenParents(o)}calculateDirtyNodes(e){const t={},a=e=>{e&&e.forEach(e=>t[e.id]=!0)};return e&&e.forEach(e=>{a(e.add),a(e.update),a(e.remove)}),t}doDeltaSort(e,t,a,r){const o=e.childrenAfterAggFilter,i=e.childrenAfterSort;if(!i)return this.rowNodeSorter.doFullSort(o,r);const n={},l=[];o.forEach(e=>{t[e.id]||!a.canSkip(e)?l.push(e):n[e.id]=!0});const s=i.filter(e=>n[e.id]),g=(e,t)=>({currentPos:t,rowNode:e}),d=l.map(g).sort((e,t)=>this.rowNodeSorter.compareRowNodes(r,e,t));return this.mergeSortedArrays(r,d,s.map(g)).map(({rowNode:e})=>e)}mergeSortedArrays(e,t,a){const r=[];let o=0,i=0;for(;o<t.length&&i<a.length;){this.rowNodeSorter.compareRowNodes(e,t[o],a[i])<0?r.push(t[o++]):r.push(a[i++])}for(;o<t.length;)r.push(t[o++]);for(;i<a.length;)r.push(a[i++]);return r}updateChildIndexes(e){if(r._.missing(e.childrenAfterSort))return;const t=e.childrenAfterSort;for(let a=0;a<t.length;a++){const r=t[a],o=0===a,i=a===e.childrenAfterSort.length-1;r.setFirstChild(o),r.setLastChild(i),r.setChildIndex(a)}}updateGroupDataForHideOpenParents(e){if(!this.gridOptionsService.get("groupHideOpenParents"))return;if(this.gridOptionsService.get("treeData"))return r._.warnOnce("The property hideOpenParents dose not work with Tree Data. This is because Tree Data has values at the group level, it doesn't make sense to hide them."),!1;const t=e=>{this.pullDownGroupDataForHideOpenParents(e.childrenAfterSort,!1),e.childrenAfterSort.forEach(e=>{e.hasChildren()&&t(e)})};e&&e.executeFromRootNode(e=>t(e))}pullDownGroupDataForHideOpenParents(e,t){this.gridOptionsService.get("groupHideOpenParents")&&!r._.missing(e)&&e.forEach(e=>{this.columnModel.getGroupDisplayColumns().forEach(a=>{const r=a.getColDef().showRowGroup;if("string"!=typeof r)return void console.error("AG Grid: groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup");const o=r,i=this.columnModel.getPrimaryColumn(o);if(!(i===e.rowGroupColumn))if(t)e.setGroupValue(a.getId(),void 0);else{const t=e.getFirstChildOfFirstChild(i);t&&e.setGroupValue(a.getId(),t.key)}})})}};h([Object(r.Autowired)("columnModel")],m.prototype,"columnModel",void 0),h([Object(r.Autowired)("rowNodeSorter")],m.prototype,"rowNodeSorter",void 0),m=h([Object(r.Bean)("sortService")],m);var v=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let f=class extends r.BeanStub{filter(e){const t=this.filterManager.isChildFilterPresent();this.filterNodes(t,e)}filterNodes(e,t){const a=(t,a)=>{t.hasChildren()?t.childrenAfterFilter=e&&!a?t.childrenAfterGroup.filter(e=>{const t=e.childrenAfterFilter&&e.childrenAfterFilter.length>0,a=e.data&&this.filterManager.doesRowPassFilter({rowNode:e});return t||a}):t.childrenAfterGroup:t.childrenAfterFilter=t.childrenAfterGroup,t.sibling&&(t.sibling.childrenAfterFilter=t.childrenAfterFilter)};if(this.doingTreeDataFiltering()){const e=(t,r)=>{if(t.childrenAfterGroup)for(let o=0;o<t.childrenAfterGroup.length;o++){const i=t.childrenAfterGroup[o],n=r||this.filterManager.doesRowPassFilter({rowNode:i});i.childrenAfterGroup?e(t.childrenAfterGroup[o],n):a(i,n)}a(t,r)},r=t=>e(t,!1);t.executeFromRootNode(r)}else{const e=e=>a(e,!1);t.forEachChangedNodeDepthFirst(e,!0)}}doingTreeDataFiltering(){return this.gridOptionsService.get("treeData")&&!this.gridOptionsService.get("excludeChildrenWhenTreeDataFiltering")}};v([Object(r.Autowired)("filterManager")],f.prototype,"filterManager",void 0),f=v([Object(r.Bean)("filterService")],f);var w=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let b=class extends r.BeanStub{postConstruct(){"clientSide"===this.rowModel.getType()&&(this.clientSideRowModel=this.rowModel,this.addManagedPropertyListener("rowData",()=>this.onRowDataUpdated()))}isActive(){const e=this.gridOptionsService.exists("getRowId");return!this.gridOptionsService.get("resetRowDataOnUpdate")&&e}setRowData(e){const t=this.createTransactionForRowData(e);if(!t)return;const[a,r]=t;this.clientSideRowModel.updateRowData(a,r)}createTransactionForRowData(e){if(r._.missing(this.clientSideRowModel))return void console.error("AG Grid: ImmutableService only works with ClientSideRowModel");const t=this.gridOptionsService.getCallback("getRowId");if(null==t)return void console.error("AG Grid: ImmutableService requires getRowId() callback to be implemented, your row data needs IDs!");const a={remove:[],update:[],add:[]},o=this.clientSideRowModel.getCopyOfNodesMap(),i=this.gridOptionsService.get("suppressMaintainUnsortedOrder")?void 0:{};return r._.exists(e)&&e.forEach((e,r)=>{const n=t({data:e,level:0}),l=o[n];if(i&&(i[n]=r),l){l.data!==e&&a.update.push(e),o[n]=void 0}else a.add.push(e)}),r._.iterateObject(o,(e,t)=>{t&&a.remove.push(t.data)}),[a,i]}onRowDataUpdated(){const e=this.gridOptionsService.get("rowData");e&&(this.isActive()?this.setRowData(e):(this.selectionService.reset("rowDataChanged"),this.clientSideRowModel.setRowData(e)))}};w([Object(r.Autowired)("rowModel")],b.prototype,"rowModel",void 0),w([Object(r.Autowired)("rowRenderer")],b.prototype,"rowRenderer",void 0),w([Object(r.Autowired)("selectionService")],b.prototype,"selectionService",void 0),w([r.PostConstruct],b.prototype,"postConstruct",null),b=w([Object(r.Bean)("immutableService")],b);const C={version:"31.1.0",moduleName:r.ModuleNames.ClientSideRowModelModule,rowModel:"clientSide",beans:[l,g,c,p,m,f,b]}},function(e,t,a){"use strict";a.r(t),a.d(t,"InfiniteRowModelModule",(function(){return c}));var r=a(0),o=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};class i extends r.RowNodeBlock{constructor(e,t,a){super(e),this.parentCache=t,this.params=a,this.startRow=e*a.blockSize,this.endRow=this.startRow+a.blockSize}postConstruct(){this.createRowNodes()}getBlockStateJson(){return{id:""+this.getId(),state:{blockNumber:this.getId(),startRow:this.getStartRow(),endRow:this.getEndRow(),pageStatus:this.getState()}}}setDataAndId(e,t,a){r._.exists(t)?e.setDataAndId(t,a.toString()):e.setDataAndId(void 0,void 0)}loadFromDatasource(){const e=this.createLoadParams();r._.missing(this.params.datasource.getRows)?console.warn("AG Grid: datasource is missing getRows method"):window.setTimeout(()=>{this.params.datasource.getRows(e)},0)}processServerFail(){}createLoadParams(){return{startRow:this.getStartRow(),endRow:this.getEndRow(),successCallback:this.pageLoaded.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this,this.getVersion()),sortModel:this.params.sortModel,filterModel:this.params.filterModel,context:this.gridOptionsService.getGridCommonParams().context}}forEachNode(e,t,a){this.rowNodes.forEach((r,o)=>{this.startRow+o<a&&e(r,t.next())})}getLastAccessed(){return this.lastAccessed}getRow(e,t=!1){t||(this.lastAccessed=this.params.lastAccessedSequence.next());const a=e-this.startRow;return this.rowNodes[a]}getStartRow(){return this.startRow}getEndRow(){return this.endRow}createRowNodes(){this.rowNodes=[];for(let e=0;e<this.params.blockSize;e++){const t=this.startRow+e,a=new r.RowNode(this.beans);a.setRowHeight(this.params.rowHeight),a.uiLevel=0,a.setRowIndex(t),a.setRowTop(this.params.rowHeight*t),this.rowNodes.push(a)}}processServerResult(e){this.rowNodes.forEach((t,a)=>{const o=e.rowData?e.rowData[a]:void 0;!t.id&&t.alreadyRendered&&o&&(this.rowNodes[a]=new r.RowNode(this.beans),this.rowNodes[a].setRowIndex(t.rowIndex),this.rowNodes[a].setRowTop(t.rowTop),this.rowNodes[a].setRowHeight(t.rowHeight),t.clearRowTopAndRowIndex()),this.setDataAndId(this.rowNodes[a],o,this.startRow+a)});const t=null!=e.rowCount&&e.rowCount>=0?e.rowCount:void 0;this.parentCache.pageLoaded(this,t)}destroyRowNodes(){this.rowNodes.forEach(e=>{e.clearRowTopAndRowIndex()})}}o([Object(r.Autowired)("beans")],i.prototype,"beans",void 0),o([r.PostConstruct],i.prototype,"postConstruct",null),o([r.PreDestroy],i.prototype,"destroyRowNodes",null);var n=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n},l=function(e,t){return function(a,r){t(a,r,e)}};class s extends r.BeanStub{constructor(e){super(),this.lastRowIndexKnown=!1,this.blocks={},this.blockCount=0,this.rowCount=e.initialRowCount,this.params=e}setBeans(e){this.logger=e.create("InfiniteCache")}getRow(e,t=!1){const a=Math.floor(e/this.params.blockSize);let r=this.blocks[a];if(!r){if(t)return;r=this.createBlock(a)}return r.getRow(e)}createBlock(e){const t=this.createBean(new i(e,this,this.params));return this.blocks[t.getId()]=t,this.blockCount++,this.purgeBlocksIfNeeded(t),this.params.rowNodeBlockLoader.addBlock(t),t}refreshCache(){0==this.blockCount?this.purgeCache():(this.getBlocksInOrder().forEach(e=>e.setStateWaitingToLoad()),this.params.rowNodeBlockLoader.checkBlockToLoad())}destroyAllBlocks(){this.getBlocksInOrder().forEach(e=>this.destroyBlock(e))}getRowCount(){return this.rowCount}isLastRowIndexKnown(){return this.lastRowIndexKnown}pageLoaded(e,t){this.isAlive()&&(this.logger.log(`onPageLoaded: page = ${e.getId()}, lastRow = ${t}`),this.checkRowCount(e,t),this.onCacheUpdated())}purgeBlocksIfNeeded(e){const t=this.getBlocksInOrder().filter(t=>t!=e);t.sort((e,t)=>t.getLastAccessed()-e.getLastAccessed());const a=this.params.maxBlocksInCache>0,r=a?this.params.maxBlocksInCache-1:null,o=s.MAX_EMPTY_BLOCKS_TO_KEEP-1;t.forEach((e,t)=>{if(e.getState()===i.STATE_WAITING_TO_LOAD&&t>=o||!!a&&t>=r){if(this.isBlockCurrentlyDisplayed(e))return;if(this.isBlockFocused(e))return;this.removeBlockFromCache(e)}})}isBlockFocused(e){const t=this.focusService.getFocusCellToUseAfterRefresh();if(!t)return!1;if(null!=t.rowPinned)return!1;const a=e.getStartRow(),r=e.getEndRow();return t.rowIndex>=a&&t.rowIndex<r}isBlockCurrentlyDisplayed(e){const t=e.getStartRow(),a=e.getEndRow()-1;return this.rowRenderer.isRangeInRenderedViewport(t,a)}removeBlockFromCache(e){e&&this.destroyBlock(e)}checkRowCount(e,t){if("number"==typeof t&&t>=0)this.rowCount=t,this.lastRowIndexKnown=!0;else if(!this.lastRowIndexKnown){const t=(e.getId()+1)*this.params.blockSize+this.params.overflowSize;this.rowCount<t&&(this.rowCount=t)}}setRowCount(e,t){this.rowCount=e,r._.exists(t)&&(this.lastRowIndexKnown=t),this.lastRowIndexKnown||this.rowCount%this.params.blockSize==0&&this.rowCount++,this.onCacheUpdated()}forEachNodeDeep(e){const t=new r.NumberSequence;this.getBlocksInOrder().forEach(a=>a.forEachNode(e,t,this.rowCount))}getBlocksInOrder(){return r._.getAllValuesInObject(this.blocks).sort((e,t)=>e.getId()-t.getId())}destroyBlock(e){delete this.blocks[e.getId()],this.destroyBean(e),this.blockCount--,this.params.rowNodeBlockLoader.removeBlock(e)}onCacheUpdated(){if(this.isAlive()){this.destroyAllBlocksPastVirtualRowCount();const e={type:r.Events.EVENT_STORE_UPDATED};this.eventService.dispatchEvent(e)}}destroyAllBlocksPastVirtualRowCount(){const e=[];this.getBlocksInOrder().forEach(t=>{t.getId()*this.params.blockSize>=this.rowCount&&e.push(t)}),e.length>0&&e.forEach(e=>this.destroyBlock(e))}purgeCache(){this.getBlocksInOrder().forEach(e=>this.removeBlockFromCache(e)),this.lastRowIndexKnown=!1,0===this.rowCount&&(this.rowCount=this.params.initialRowCount),this.onCacheUpdated()}getRowNodesInRange(e,t){const a=[];let o=-1,i=!1;const n=new r.NumberSequence;r._.missing(e)&&(i=!0);let l=!1;this.getBlocksInOrder().forEach(r=>{l||(i&&o+1!==r.getId()?l=!0:(o=r.getId(),r.forEachNode(r=>{const o=r===e||r===t;(i||o)&&a.push(r),o&&(i=!i)},n,this.rowCount)))});return l||i?[]:a}}s.MAX_EMPTY_BLOCKS_TO_KEEP=2,n([Object(r.Autowired)("rowRenderer")],s.prototype,"rowRenderer",void 0),n([Object(r.Autowired)("focusService")],s.prototype,"focusService",void 0),n([l(0,Object(r.Qualifier)("loggerFactory"))],s.prototype,"setBeans",null),n([r.PreDestroy],s.prototype,"destroyAllBlocks",null);var g=function(e,t,a,r){var o,i=arguments.length,n=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,a,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(i<3?o(n):i>3?o(t,a,n):o(t,a))||n);return i>3&&n&&Object.defineProperty(t,a,n),n};let d=class extends r.BeanStub{getRowBounds(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}}ensureRowHeightsValid(e,t,a,r){return!1}init(){this.gridOptionsService.isRowModelType("infinite")&&(this.rowHeight=this.gridOptionsService.getRowHeightAsNumber(),this.addEventListeners(),this.addDestroyFunc(()=>this.destroyCache()),this.verifyProps())}verifyProps(){this.gridOptionsService.exists("initialGroupOrderComparator")&&r._.warnOnce("initialGroupOrderComparator cannot be used with Infinite Row Model as sorting is done on the server side")}start(){this.setDatasource(this.gridOptionsService.get("datasource"))}destroyDatasource(){this.datasource&&(this.getContext().destroyBean(this.datasource),this.rowRenderer.datasourceChanged(),this.datasource=null)}addEventListeners(){this.addManagedListener(this.eventService,r.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,r.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,r.Events.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverything.bind(this)),this.addManagedListener(this.eventService,r.Events.EVENT_STORE_UPDATED,this.onCacheUpdated.bind(this)),this.addManagedPropertyListener("datasource",()=>this.setDatasource(this.gridOptionsService.get("datasource"))),this.addManagedPropertyListener("cacheBlockSize",()=>this.resetCache()),this.addManagedPropertyListener("rowHeight",()=>{this.rowHeight=this.gridOptionsService.getRowHeightAsNumber(),this.cacheParams.rowHeight=this.rowHeight,this.updateRowHeights()})}onFilterChanged(){this.reset()}onSortChanged(){this.reset()}onColumnEverything(){let e;e=!this.cacheParams||this.isSortModelDifferent(),e&&this.reset()}isSortModelDifferent(){return!r._.jsonEquals(this.cacheParams.sortModel,this.sortController.getSortModel())}getType(){return"infinite"}setDatasource(e){this.destroyDatasource(),this.datasource=e,e&&this.reset()}isEmpty(){return!this.infiniteCache}isRowsToRender(){return!!this.infiniteCache}getNodesInRangeForSelection(e,t){return this.infiniteCache?this.infiniteCache.getRowNodesInRange(e,t):[]}reset(){if(!this.datasource)return;null!=this.gridOptionsService.getCallback("getRowId")||this.selectionService.reset("rowDataChanged"),this.resetCache()}createModelUpdatedEvent(){return{type:r.Events.EVENT_MODEL_UPDATED,newPage:!1,newPageSize:!1,newData:!1,keepRenderedRows:!0,animate:!1}}resetCache(){this.destroyCache(),this.cacheParams={datasource:this.datasource,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel(),rowNodeBlockLoader:this.rowNodeBlockLoader,initialRowCount:this.gridOptionsService.get("infiniteInitialRowCount"),maxBlocksInCache:this.gridOptionsService.get("maxBlocksInCache"),rowHeight:this.gridOptionsService.getRowHeightAsNumber(),overflowSize:this.gridOptionsService.get("cacheOverflowSize"),blockSize:this.gridOptionsService.get("cacheBlockSize"),lastAccessedSequence:new r.NumberSequence},this.infiniteCache=this.createBean(new s(this.cacheParams)),this.eventService.dispatchEventOnce({type:r.Events.EVENT_ROW_COUNT_READY});const e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)}updateRowHeights(){this.forEachNode(e=>{e.setRowHeight(this.rowHeight),e.setRowTop(this.rowHeight*e.rowIndex)});const e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)}destroyCache(){this.infiniteCache&&(this.infiniteCache=this.destroyBean(this.infiniteCache))}onCacheUpdated(){const e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)}getRow(e){if(this.infiniteCache&&!(e>=this.infiniteCache.getRowCount()))return this.infiniteCache.getRow(e)}getRowNode(e){let t;return this.forEachNode(a=>{a.id===e&&(t=a)}),t}forEachNode(e){this.infiniteCache&&this.infiniteCache.forEachNodeDeep(e)}getTopLevelRowCount(){return this.getRowCount()}getTopLevelRowDisplayedIndex(e){return e}getRowIndexAtPixel(e){if(0!==this.rowHeight){const t=Math.floor(e/this.rowHeight),a=this.getRowCount()-1;return t>a?a:t}return 0}getRowCount(){return this.infiniteCache?this.infiniteCache.getRowCount():0}isRowPresent(e){return!!this.getRowNode(e.id)}refreshCache(){this.infiniteCache&&this.infiniteCache.refreshCache()}purgeCache(){this.infiniteCache&&this.infiniteCache.purgeCache()}isLastRowIndexKnown(){return!!this.infiniteCache&&this.infiniteCache.isLastRowIndexKnown()}setRowCount(e,t){this.infiniteCache&&this.infiniteCache.setRowCount(e,t)}};g([Object(r.Autowired)("filterManager")],d.prototype,"filterManager",void 0),g([Object(r.Autowired)("sortController")],d.prototype,"sortController",void 0),g([Object(r.Autowired)("selectionService")],d.prototype,"selectionService",void 0),g([Object(r.Autowired)("rowRenderer")],d.prototype,"rowRenderer",void 0),g([Object(r.Autowired)("rowNodeBlockLoader")],d.prototype,"rowNodeBlockLoader",void 0),g([r.PostConstruct],d.prototype,"init",null),g([r.PreDestroy],d.prototype,"destroyDatasource",null),d=g([Object(r.Bean)("rowModel")],d);const c={version:"31.1.0",moduleName:r.ModuleNames.InfiniteRowModelModule,rowModel:"infinite",beans:[d]}},function(e,t,a){var r=a(4),o=(a(0),a(3)),i=a(5),n=a(7);Object.keys(n).forEach((function(e){t[e]=n[e]})),n.ModuleRegistry.register(r.ClientSideRowModelModule),n.ModuleRegistry.register(o.CsvExportModule),n.ModuleRegistry.register(i.InfiniteRowModelModule),n.ModuleRegistry.__setIsBundled(),a(8),a(10),a(12),a(14),a(16),a(18),a(20),a(22),a(24),a(26),a(28),a(30),a(32),a(34),a(36)},function(e,t,a){"use strict";a.r(t),a.d(t,"AllCommunityModules",(function(){return l}));var r=a(4),o=a(5),i=a(3);a.d(t,"ClientSideRowModelModule",(function(){return r.ClientSideRowModelModule})),a.d(t,"BaseCreator",(function(){return i.BaseCreator})),a.d(t,"BaseGridSerializingSession",(function(){return i.BaseGridSerializingSession})),a.d(t,"CsvCreator",(function(){return i.CsvCreator})),a.d(t,"CsvExportModule",(function(){return i.CsvExportModule})),a.d(t,"Downloader",(function(){return i.Downloader})),a.d(t,"GridSerializer",(function(){return i.GridSerializer})),a.d(t,"RowType",(function(){return i.RowType})),a.d(t,"XmlFactory",(function(){return i.XmlFactory})),a.d(t,"ZipContainer",(function(){return i.ZipContainer})),a.d(t,"InfiniteRowModelModule",(function(){return o.InfiniteRowModelModule}));var n=a(0);a.d(t,"ColumnFactory",(function(){return n.ColumnFactory})),a.d(t,"ColumnModel",(function(){return n.ColumnModel})),a.d(t,"ColumnKeyCreator",(function(){return n.ColumnKeyCreator})),a.d(t,"ColumnUtils",(function(){return n.ColumnUtils})),a.d(t,"DisplayedGroupCreator",(function(){return n.DisplayedGroupCreator})),a.d(t,"GroupInstanceIdCreator",(function(){return n.GroupInstanceIdCreator})),a.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return n.GROUP_AUTO_COLUMN_ID})),a.d(t,"ComponentUtil",(function(){return n.ComponentUtil})),a.d(t,"AgStackComponentsRegistry",(function(){return n.AgStackComponentsRegistry})),a.d(t,"UserComponentRegistry",(function(){return n.UserComponentRegistry})),a.d(t,"UserComponentFactory",(function(){return n.UserComponentFactory})),a.d(t,"ColDefUtil",(function(){return n.ColDefUtil})),a.d(t,"BeanStub",(function(){return n.BeanStub})),a.d(t,"Context",(function(){return n.Context})),a.d(t,"Autowired",(function(){return n.Autowired})),a.d(t,"PostConstruct",(function(){return n.PostConstruct})),a.d(t,"PreConstruct",(function(){return n.PreConstruct})),a.d(t,"Optional",(function(){return n.Optional})),a.d(t,"Bean",(function(){return n.Bean})),a.d(t,"Qualifier",(function(){return n.Qualifier})),a.d(t,"PreDestroy",(function(){return n.PreDestroy})),a.d(t,"QuerySelector",(function(){return n.QuerySelector})),a.d(t,"RefSelector",(function(){return n.RefSelector})),a.d(t,"ExcelFactoryMode",(function(){return n.ExcelFactoryMode})),a.d(t,"DragAndDropService",(function(){return n.DragAndDropService})),a.d(t,"DragSourceType",(function(){return n.DragSourceType})),a.d(t,"DragService",(function(){return n.DragService})),a.d(t,"VirtualListDragFeature",(function(){return n.VirtualListDragFeature})),a.d(t,"Column",(function(){return n.Column})),a.d(t,"ColumnGroup",(function(){return n.ColumnGroup})),a.d(t,"ProvidedColumnGroup",(function(){return n.ProvidedColumnGroup})),a.d(t,"RowNode",(function(){return n.RowNode})),a.d(t,"RowHighlightPosition",(function(){return n.RowHighlightPosition})),a.d(t,"FilterManager",(function(){return n.FilterManager})),a.d(t,"ProvidedFilter",(function(){return n.ProvidedFilter})),a.d(t,"SimpleFilter",(function(){return n.SimpleFilter})),a.d(t,"ScalarFilter",(function(){return n.ScalarFilter})),a.d(t,"NumberFilter",(function(){return n.NumberFilter})),a.d(t,"TextFilter",(function(){return n.TextFilter})),a.d(t,"DateFilter",(function(){return n.DateFilter})),a.d(t,"TextFloatingFilter",(function(){return n.TextFloatingFilter})),a.d(t,"HeaderFilterCellComp",(function(){return n.HeaderFilterCellComp})),a.d(t,"FloatingFilterMapper",(function(){return n.FloatingFilterMapper})),a.d(t,"GridBodyComp",(function(){return n.GridBodyComp})),a.d(t,"GridBodyCtrl",(function(){return n.GridBodyCtrl})),a.d(t,"RowAnimationCssClasses",(function(){return n.RowAnimationCssClasses})),a.d(t,"ScrollVisibleService",(function(){return n.ScrollVisibleService})),a.d(t,"MouseEventService",(function(){return n.MouseEventService})),a.d(t,"NavigationService",(function(){return n.NavigationService})),a.d(t,"RowContainerComp",(function(){return n.RowContainerComp})),a.d(t,"RowContainerName",(function(){return n.RowContainerName})),a.d(t,"RowContainerCtrl",(function(){return n.RowContainerCtrl})),a.d(t,"RowContainerType",(function(){return n.RowContainerType})),a.d(t,"getRowContainerTypeForName",(function(){return n.getRowContainerTypeForName})),a.d(t,"BodyDropPivotTarget",(function(){return n.BodyDropPivotTarget})),a.d(t,"BodyDropTarget",(function(){return n.BodyDropTarget})),a.d(t,"CssClassApplier",(function(){return n.CssClassApplier})),a.d(t,"HeaderRowContainerComp",(function(){return n.HeaderRowContainerComp})),a.d(t,"GridHeaderComp",(function(){return n.GridHeaderComp})),a.d(t,"GridHeaderCtrl",(function(){return n.GridHeaderCtrl})),a.d(t,"HeaderRowComp",(function(){return n.HeaderRowComp})),a.d(t,"HeaderRowType",(function(){return n.HeaderRowType})),a.d(t,"HeaderRowCtrl",(function(){return n.HeaderRowCtrl})),a.d(t,"HeaderCellCtrl",(function(){return n.HeaderCellCtrl})),a.d(t,"SortIndicatorComp",(function(){return n.SortIndicatorComp})),a.d(t,"HeaderFilterCellCtrl",(function(){return n.HeaderFilterCellCtrl})),a.d(t,"HeaderGroupCellCtrl",(function(){return n.HeaderGroupCellCtrl})),a.d(t,"AbstractHeaderCellCtrl",(function(){return n.AbstractHeaderCellCtrl})),a.d(t,"HeaderRowContainerCtrl",(function(){return n.HeaderRowContainerCtrl})),a.d(t,"HorizontalResizeService",(function(){return n.HorizontalResizeService})),a.d(t,"MoveColumnFeature",(function(){return n.MoveColumnFeature})),a.d(t,"StandardMenuFactory",(function(){return n.StandardMenuFactory})),a.d(t,"TabbedLayout",(function(){return n.TabbedLayout})),a.d(t,"ResizeObserverService",(function(){return n.ResizeObserverService})),a.d(t,"AnimationFrameService",(function(){return n.AnimationFrameService})),a.d(t,"ExpansionService",(function(){return n.ExpansionService})),a.d(t,"MenuService",(function(){return n.MenuService})),a.d(t,"LargeTextCellEditor",(function(){return n.LargeTextCellEditor})),a.d(t,"PopupEditorWrapper",(function(){return n.PopupEditorWrapper})),a.d(t,"SelectCellEditor",(function(){return n.SelectCellEditor})),a.d(t,"TextCellEditor",(function(){return n.TextCellEditor})),a.d(t,"NumberCellEditor",(function(){return n.NumberCellEditor})),a.d(t,"DateCellEditor",(function(){return n.DateCellEditor})),a.d(t,"DateStringCellEditor",(function(){return n.DateStringCellEditor})),a.d(t,"CheckboxCellEditor",(function(){return n.CheckboxCellEditor})),a.d(t,"Beans",(function(){return n.Beans})),a.d(t,"AnimateShowChangeCellRenderer",(function(){return n.AnimateShowChangeCellRenderer})),a.d(t,"AnimateSlideCellRenderer",(function(){return n.AnimateSlideCellRenderer})),a.d(t,"GroupCellRenderer",(function(){return n.GroupCellRenderer})),a.d(t,"GroupCellRendererCtrl",(function(){return n.GroupCellRendererCtrl})),a.d(t,"SetLeftFeature",(function(){return n.SetLeftFeature})),a.d(t,"PositionableFeature",(function(){return n.PositionableFeature})),a.d(t,"AutoWidthCalculator",(function(){return n.AutoWidthCalculator})),a.d(t,"CheckboxSelectionComponent",(function(){return n.CheckboxSelectionComponent})),a.d(t,"CellComp",(function(){return n.CellComp})),a.d(t,"CellCtrl",(function(){return n.CellCtrl})),a.d(t,"RowCtrl",(function(){return n.RowCtrl})),a.d(t,"RowRenderer",(function(){return n.RowRenderer})),a.d(t,"ValueFormatterService",(function(){return n.ValueFormatterService})),a.d(t,"CssClassManager",(function(){return n.CssClassManager})),a.d(t,"CheckboxCellRenderer",(function(){return n.CheckboxCellRenderer})),a.d(t,"PinnedRowModel",(function(){return n.PinnedRowModel})),a.d(t,"ServerSideTransactionResultStatus",(function(){return n.ServerSideTransactionResultStatus})),a.d(t,"ChangedPath",(function(){return n.ChangedPath})),a.d(t,"RowNodeBlock",(function(){return n.RowNodeBlock})),a.d(t,"RowNodeBlockLoader",(function(){return n.RowNodeBlockLoader})),a.d(t,"PaginationProxy",(function(){return n.PaginationProxy})),a.d(t,"ClientSideRowModelSteps",(function(){return n.ClientSideRowModelSteps})),a.d(t,"StylingService",(function(){return n.StylingService})),a.d(t,"LayoutCssClasses",(function(){return n.LayoutCssClasses})),a.d(t,"AgAbstractField",(function(){return n.AgAbstractField})),a.d(t,"AgCheckbox",(function(){return n.AgCheckbox})),a.d(t,"AgRadioButton",(function(){return n.AgRadioButton})),a.d(t,"AgToggleButton",(function(){return n.AgToggleButton})),a.d(t,"AgInputTextField",(function(){return n.AgInputTextField})),a.d(t,"AgInputTextArea",(function(){return n.AgInputTextArea})),a.d(t,"AgInputNumberField",(function(){return n.AgInputNumberField})),a.d(t,"AgInputDateField",(function(){return n.AgInputDateField})),a.d(t,"AgInputRange",(function(){return n.AgInputRange})),a.d(t,"AgRichSelect",(function(){return n.AgRichSelect})),a.d(t,"AgSelect",(function(){return n.AgSelect})),a.d(t,"AgSlider",(function(){return n.AgSlider})),a.d(t,"AgGroupComponent",(function(){return n.AgGroupComponent})),a.d(t,"AgMenuItemRenderer",(function(){return n.AgMenuItemRenderer})),a.d(t,"AgMenuItemComponent",(function(){return n.AgMenuItemComponent})),a.d(t,"AgMenuList",(function(){return n.AgMenuList})),a.d(t,"AgMenuPanel",(function(){return n.AgMenuPanel})),a.d(t,"AgDialog",(function(){return n.AgDialog})),a.d(t,"AgPanel",(function(){return n.AgPanel})),a.d(t,"Component",(function(){return n.Component})),a.d(t,"ManagedFocusFeature",(function(){return n.ManagedFocusFeature})),a.d(t,"TabGuardComp",(function(){return n.TabGuardComp})),a.d(t,"TabGuardCtrl",(function(){return n.TabGuardCtrl})),a.d(t,"TabGuardClassNames",(function(){return n.TabGuardClassNames})),a.d(t,"PopupComponent",(function(){return n.PopupComponent})),a.d(t,"PopupService",(function(){return n.PopupService})),a.d(t,"TouchListener",(function(){return n.TouchListener})),a.d(t,"VirtualList",(function(){return n.VirtualList})),a.d(t,"AgAbstractLabel",(function(){return n.AgAbstractLabel})),a.d(t,"AgPickerField",(function(){return n.AgPickerField})),a.d(t,"AgAutocomplete",(function(){return n.AgAutocomplete})),a.d(t,"CellRangeType",(function(){return n.CellRangeType})),a.d(t,"SelectionHandleType",(function(){return n.SelectionHandleType})),a.d(t,"AutoScrollService",(function(){return n.AutoScrollService})),a.d(t,"VanillaFrameworkOverrides",(function(){return n.VanillaFrameworkOverrides})),a.d(t,"CellNavigationService",(function(){return n.CellNavigationService})),a.d(t,"AlignedGridsService",(function(){return n.AlignedGridsService})),a.d(t,"KeyCode",(function(){return n.KeyCode})),a.d(t,"VerticalDirection",(function(){return n.VerticalDirection})),a.d(t,"HorizontalDirection",(function(){return n.HorizontalDirection})),a.d(t,"Grid",(function(){return n.Grid})),a.d(t,"GridCoreCreator",(function(){return n.GridCoreCreator})),a.d(t,"createGrid",(function(){return n.createGrid})),a.d(t,"GridApi",(function(){return n.GridApi})),a.d(t,"Events",(function(){return n.Events})),a.d(t,"FocusService",(function(){return n.FocusService})),a.d(t,"GridOptionsService",(function(){return n.GridOptionsService})),a.d(t,"EventService",(function(){return n.EventService})),a.d(t,"SelectableService",(function(){return n.SelectableService})),a.d(t,"RowNodeSorter",(function(){return n.RowNodeSorter})),a.d(t,"CtrlsService",(function(){return n.CtrlsService})),a.d(t,"GridComp",(function(){return n.GridComp})),a.d(t,"GridCtrl",(function(){return n.GridCtrl})),a.d(t,"Logger",(function(){return n.Logger})),a.d(t,"LoggerFactory",(function(){return n.LoggerFactory})),a.d(t,"SortController",(function(){return n.SortController})),a.d(t,"TemplateService",(function(){return n.TemplateService})),a.d(t,"LocaleService",(function(){return n.LocaleService})),a.d(t,"_",(function(){return n._})),a.d(t,"NumberSequence",(function(){return n.NumberSequence})),a.d(t,"AgPromiseStatus",(function(){return n.AgPromiseStatus})),a.d(t,"AgPromise",(function(){return n.AgPromise})),a.d(t,"Timer",(function(){return n.Timer})),a.d(t,"ValueService",(function(){return n.ValueService})),a.d(t,"ValueCache",(function(){return n.ValueCache})),a.d(t,"ExpressionService",(function(){return n.ExpressionService})),a.d(t,"ValueParserService",(function(){return n.ValueParserService})),a.d(t,"CellPositionUtils",(function(){return n.CellPositionUtils})),a.d(t,"RowPositionUtils",(function(){return n.RowPositionUtils})),a.d(t,"HeaderPositionUtils",(function(){return n.HeaderPositionUtils})),a.d(t,"HeaderNavigationService",(function(){return n.HeaderNavigationService})),a.d(t,"HeaderNavigationDirection",(function(){return n.HeaderNavigationDirection})),a.d(t,"DataTypeService",(function(){return n.DataTypeService})),a.d(t,"PropertyKeys",(function(){return n.PropertyKeys})),a.d(t,"ColumnApi",(function(){return n.ColumnApi})),a.d(t,"BaseComponentWrapper",(function(){return n.BaseComponentWrapper})),a.d(t,"Environment",(function(){return n.Environment})),a.d(t,"TooltipFeature",(function(){return n.TooltipFeature})),a.d(t,"CustomTooltipFeature",(function(){return n.CustomTooltipFeature})),a.d(t,"DEFAULT_CHART_GROUPS",(function(){return n.DEFAULT_CHART_GROUPS})),a.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return n.CHART_TOOL_PANEL_ALLOW_LIST})),a.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return n.CHART_TOOLBAR_ALLOW_LIST})),a.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return n.CHART_TOOL_PANEL_MENU_OPTIONS})),a.d(t,"__FORCE_MODULE_DETECTION",(function(){return n.__FORCE_MODULE_DETECTION})),a.d(t,"BarColumnLabelPlacement",(function(){return n.BarColumnLabelPlacement})),a.d(t,"ModuleNames",(function(){return n.ModuleNames})),a.d(t,"ModuleRegistry",(function(){return n.ModuleRegistry}));const l=[r.ClientSideRowModelModule,o.InfiniteRowModelModule,i.CsvExportModule]},function(e,t,a){var r=a(9);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'.ag-icon{font-family:var(--ag-icon-font-family);font-weight:var(--ag-icon-font-weight);color:var(--ag-icon-font-color);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);position:relative}.ag-icon:before{content:""}.ag-icon:after{background:transparent var(--ag-icon-image,none) 50%/contain no-repeat;display:var(--ag-icon-image-display);opacity:var(--ag-icon-image-opacity,0.9);position:absolute;inset:0;content:""}.ag-icon-aggregation{font-family:var(--ag-icon-font-family-aggregation,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-aggregation,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-aggregation,var(--ag-icon-font-color))}.ag-icon-aggregation:before{content:var(--ag-icon-font-code-aggregation,"\\f101");display:var(--ag-icon-font-display-aggregation,var(--ag-icon-font-display))}.ag-icon-aggregation:after{background-image:var(--ag-icon-image-aggregation,var(--ag-icon-image));display:var(--ag-icon-image-display-aggregation,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-aggregation,var(--ag-icon-image-opacity,0.9))}.ag-icon-arrows{font-family:var(--ag-icon-font-family-arrows,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-arrows,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-arrows,var(--ag-icon-font-color))}.ag-icon-arrows:before{content:var(--ag-icon-font-code-arrows,"\\f102");display:var(--ag-icon-font-display-arrows,var(--ag-icon-font-display))}.ag-icon-arrows:after{background-image:var(--ag-icon-image-arrows,var(--ag-icon-image));display:var(--ag-icon-image-display-arrows,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-arrows,var(--ag-icon-image-opacity,0.9))}.ag-icon-asc{font-family:var(--ag-icon-font-family-asc,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-asc,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-asc,var(--ag-icon-font-color))}.ag-icon-asc:before{content:var(--ag-icon-font-code-asc,"\\f103");display:var(--ag-icon-font-display-asc,var(--ag-icon-font-display))}.ag-icon-asc:after{background-image:var(--ag-icon-image-asc,var(--ag-icon-image));display:var(--ag-icon-image-display-asc,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-asc,var(--ag-icon-image-opacity,0.9))}.ag-icon-cancel{font-family:var(--ag-icon-font-family-cancel,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cancel,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-cancel,var(--ag-icon-font-color))}.ag-icon-cancel:before{content:var(--ag-icon-font-code-cancel,"\\f104");display:var(--ag-icon-font-display-cancel,var(--ag-icon-font-display))}.ag-icon-cancel:after{background-image:var(--ag-icon-image-cancel,var(--ag-icon-image));display:var(--ag-icon-image-display-cancel,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cancel,var(--ag-icon-image-opacity,0.9))}.ag-icon-chart{font-family:var(--ag-icon-font-family-chart,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-chart,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-chart,var(--ag-icon-font-color))}.ag-icon-chart:before{content:var(--ag-icon-font-code-chart,"\\f105");display:var(--ag-icon-font-display-chart,var(--ag-icon-font-display))}.ag-icon-chart:after{background-image:var(--ag-icon-image-chart,var(--ag-icon-image));display:var(--ag-icon-image-display-chart,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-chart,var(--ag-icon-image-opacity,0.9))}.ag-icon-checkbox-checked{font-family:var(--ag-icon-font-family-checkbox-checked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-checked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-checkbox-checked,var(--ag-icon-font-color))}.ag-icon-checkbox-checked:before{content:var(--ag-icon-font-code-checkbox-checked,"\\f106");display:var(--ag-icon-font-display-checkbox-checked,var(--ag-icon-font-display))}.ag-icon-checkbox-checked:after{background-image:var(--ag-icon-image-checkbox-checked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-checked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-checked,var(--ag-icon-image-opacity,0.9))}.ag-icon-checkbox-indeterminate{font-family:var(--ag-icon-font-family-checkbox-indeterminate,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-indeterminate,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-checkbox-indeterminate,var(--ag-icon-font-color))}.ag-icon-checkbox-indeterminate:before{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107");display:var(--ag-icon-font-display-checkbox-indeterminate,var(--ag-icon-font-display))}.ag-icon-checkbox-indeterminate:after{background-image:var(--ag-icon-image-checkbox-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-indeterminate,var(--ag-icon-image-opacity,0.9))}.ag-icon-checkbox-unchecked{font-family:var(--ag-icon-font-family-checkbox-unchecked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-unchecked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-checkbox-unchecked,var(--ag-icon-font-color))}.ag-icon-checkbox-unchecked:before{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108");display:var(--ag-icon-font-display-checkbox-unchecked,var(--ag-icon-font-display))}.ag-icon-checkbox-unchecked:after{background-image:var(--ag-icon-image-checkbox-unchecked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-unchecked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-unchecked,var(--ag-icon-image-opacity,0.9))}.ag-icon-color-picker{font-family:var(--ag-icon-font-family-color-picker,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-color-picker,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-color-picker,var(--ag-icon-font-color))}.ag-icon-color-picker:before{content:var(--ag-icon-font-code-color-picker,"\\f109");display:var(--ag-icon-font-display-color-picker,var(--ag-icon-font-display))}.ag-icon-color-picker:after{background-image:var(--ag-icon-image-color-picker,var(--ag-icon-image));display:var(--ag-icon-image-display-color-picker,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-color-picker,var(--ag-icon-image-opacity,0.9))}.ag-icon-columns{font-family:var(--ag-icon-font-family-columns,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-columns,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-columns,var(--ag-icon-font-color))}.ag-icon-columns:before{content:var(--ag-icon-font-code-columns,"\\f10a");display:var(--ag-icon-font-display-columns,var(--ag-icon-font-display))}.ag-icon-columns:after{background-image:var(--ag-icon-image-columns,var(--ag-icon-image));display:var(--ag-icon-image-display-columns,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-columns,var(--ag-icon-image-opacity,0.9))}.ag-icon-contracted{font-family:var(--ag-icon-font-family-contracted,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-contracted,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-contracted,var(--ag-icon-font-color))}.ag-icon-contracted:before{content:var(--ag-icon-font-code-contracted,"\\f10b");display:var(--ag-icon-font-display-contracted,var(--ag-icon-font-display))}.ag-icon-contracted:after{background-image:var(--ag-icon-image-contracted,var(--ag-icon-image));display:var(--ag-icon-image-display-contracted,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-contracted,var(--ag-icon-image-opacity,0.9))}.ag-icon-copy{font-family:var(--ag-icon-font-family-copy,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-copy,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-copy,var(--ag-icon-font-color))}.ag-icon-copy:before{content:var(--ag-icon-font-code-copy,"\\f10c");display:var(--ag-icon-font-display-copy,var(--ag-icon-font-display))}.ag-icon-copy:after{background-image:var(--ag-icon-image-copy,var(--ag-icon-image));display:var(--ag-icon-image-display-copy,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-copy,var(--ag-icon-image-opacity,0.9))}.ag-icon-cross{font-family:var(--ag-icon-font-family-cross,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cross,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-cross,var(--ag-icon-font-color))}.ag-icon-cross:before{content:var(--ag-icon-font-code-cross,"\\f10d");display:var(--ag-icon-font-display-cross,var(--ag-icon-font-display))}.ag-icon-cross:after{background-image:var(--ag-icon-image-cross,var(--ag-icon-image));display:var(--ag-icon-image-display-cross,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cross,var(--ag-icon-image-opacity,0.9))}.ag-icon-csv{font-family:var(--ag-icon-font-family-csv,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-csv,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-csv,var(--ag-icon-font-color))}.ag-icon-csv:before{content:var(--ag-icon-font-code-csv,"\\f10e");display:var(--ag-icon-font-display-csv,var(--ag-icon-font-display))}.ag-icon-csv:after{background-image:var(--ag-icon-image-csv,var(--ag-icon-image));display:var(--ag-icon-image-display-csv,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-csv,var(--ag-icon-image-opacity,0.9))}.ag-icon-cut{font-family:var(--ag-icon-font-family-cut,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cut,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-cut,var(--ag-icon-font-color))}.ag-icon-cut:before{content:var(--ag-icon-font-code-cut,"\\f10f");display:var(--ag-icon-font-display-cut,var(--ag-icon-font-display))}.ag-icon-cut:after{background-image:var(--ag-icon-image-cut,var(--ag-icon-image));display:var(--ag-icon-image-display-cut,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cut,var(--ag-icon-image-opacity,0.9))}.ag-icon-desc{font-family:var(--ag-icon-font-family-desc,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-desc,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-desc,var(--ag-icon-font-color))}.ag-icon-desc:before{content:var(--ag-icon-font-code-desc,"\\f110");display:var(--ag-icon-font-display-desc,var(--ag-icon-font-display))}.ag-icon-desc:after{background-image:var(--ag-icon-image-desc,var(--ag-icon-image));display:var(--ag-icon-image-display-desc,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-desc,var(--ag-icon-image-opacity,0.9))}.ag-icon-excel{font-family:var(--ag-icon-font-family-excel,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-excel,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-excel,var(--ag-icon-font-color))}.ag-icon-excel:before{content:var(--ag-icon-font-code-excel,"\\f111");display:var(--ag-icon-font-display-excel,var(--ag-icon-font-display))}.ag-icon-excel:after{background-image:var(--ag-icon-image-excel,var(--ag-icon-image));display:var(--ag-icon-image-display-excel,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-excel,var(--ag-icon-image-opacity,0.9))}.ag-icon-expanded{font-family:var(--ag-icon-font-family-expanded,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-expanded,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-expanded,var(--ag-icon-font-color))}.ag-icon-expanded:before{content:var(--ag-icon-font-code-expanded,"\\f112");display:var(--ag-icon-font-display-expanded,var(--ag-icon-font-display))}.ag-icon-expanded:after{background-image:var(--ag-icon-image-expanded,var(--ag-icon-image));display:var(--ag-icon-image-display-expanded,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-expanded,var(--ag-icon-image-opacity,0.9))}.ag-icon-eye-slash{font-family:var(--ag-icon-font-family-eye-slash,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-eye-slash,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-eye-slash,var(--ag-icon-font-color))}.ag-icon-eye-slash:before{content:var(--ag-icon-font-code-eye-slash,"\\f113");display:var(--ag-icon-font-display-eye-slash,var(--ag-icon-font-display))}.ag-icon-eye-slash:after{background-image:var(--ag-icon-image-eye-slash,var(--ag-icon-image));display:var(--ag-icon-image-display-eye-slash,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-eye-slash,var(--ag-icon-image-opacity,0.9))}.ag-icon-eye{font-family:var(--ag-icon-font-family-eye,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-eye,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-eye,var(--ag-icon-font-color))}.ag-icon-eye:before{content:var(--ag-icon-font-code-eye,"\\f114");display:var(--ag-icon-font-display-eye,var(--ag-icon-font-display))}.ag-icon-eye:after{background-image:var(--ag-icon-image-eye,var(--ag-icon-image));display:var(--ag-icon-image-display-eye,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-eye,var(--ag-icon-image-opacity,0.9))}.ag-icon-filter{font-family:var(--ag-icon-font-family-filter,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-filter,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-filter,var(--ag-icon-font-color))}.ag-icon-filter:before{content:var(--ag-icon-font-code-filter,"\\f115");display:var(--ag-icon-font-display-filter,var(--ag-icon-font-display))}.ag-icon-filter:after{background-image:var(--ag-icon-image-filter,var(--ag-icon-image));display:var(--ag-icon-image-display-filter,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-filter,var(--ag-icon-image-opacity,0.9))}.ag-icon-first{font-family:var(--ag-icon-font-family-first,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-first,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-first,var(--ag-icon-font-color))}.ag-icon-first:before{content:var(--ag-icon-font-code-first,"\\f116");display:var(--ag-icon-font-display-first,var(--ag-icon-font-display))}.ag-icon-first:after{background-image:var(--ag-icon-image-first,var(--ag-icon-image));display:var(--ag-icon-image-display-first,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-first,var(--ag-icon-image-opacity,0.9))}.ag-icon-grip{font-family:var(--ag-icon-font-family-grip,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-grip,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-grip,var(--ag-icon-font-color))}.ag-icon-grip:before{content:var(--ag-icon-font-code-grip,"\\f117");display:var(--ag-icon-font-display-grip,var(--ag-icon-font-display))}.ag-icon-grip:after{background-image:var(--ag-icon-image-grip,var(--ag-icon-image));display:var(--ag-icon-image-display-grip,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-grip,var(--ag-icon-image-opacity,0.9))}.ag-icon-group{font-family:var(--ag-icon-font-family-group,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-group,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-group,var(--ag-icon-font-color))}.ag-icon-group:before{content:var(--ag-icon-font-code-group,"\\f118");display:var(--ag-icon-font-display-group,var(--ag-icon-font-display))}.ag-icon-group:after{background-image:var(--ag-icon-image-group,var(--ag-icon-image));display:var(--ag-icon-image-display-group,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-group,var(--ag-icon-image-opacity,0.9))}.ag-icon-last{font-family:var(--ag-icon-font-family-last,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-last,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-last,var(--ag-icon-font-color))}.ag-icon-last:before{content:var(--ag-icon-font-code-last,"\\f119");display:var(--ag-icon-font-display-last,var(--ag-icon-font-display))}.ag-icon-last:after{background-image:var(--ag-icon-image-last,var(--ag-icon-image));display:var(--ag-icon-image-display-last,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-last,var(--ag-icon-image-opacity,0.9))}.ag-icon-left{font-family:var(--ag-icon-font-family-left,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-left,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-left,var(--ag-icon-font-color))}.ag-icon-left:before{content:var(--ag-icon-font-code-left,"\\f11a");display:var(--ag-icon-font-display-left,var(--ag-icon-font-display))}.ag-icon-left:after{background-image:var(--ag-icon-image-left,var(--ag-icon-image));display:var(--ag-icon-image-display-left,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-left,var(--ag-icon-image-opacity,0.9))}.ag-icon-linked{font-family:var(--ag-icon-font-family-linked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-linked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-linked,var(--ag-icon-font-color))}.ag-icon-linked:before{content:var(--ag-icon-font-code-linked,"\\f11b");display:var(--ag-icon-font-display-linked,var(--ag-icon-font-display))}.ag-icon-linked:after{background-image:var(--ag-icon-image-linked,var(--ag-icon-image));display:var(--ag-icon-image-display-linked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-linked,var(--ag-icon-image-opacity,0.9))}.ag-icon-loading{font-family:var(--ag-icon-font-family-loading,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-loading,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-loading,var(--ag-icon-font-color))}.ag-icon-loading:before{content:var(--ag-icon-font-code-loading,"\\f11c");display:var(--ag-icon-font-display-loading,var(--ag-icon-font-display))}.ag-icon-loading:after{background-image:var(--ag-icon-image-loading,var(--ag-icon-image));display:var(--ag-icon-image-display-loading,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-loading,var(--ag-icon-image-opacity,0.9))}.ag-icon-maximize{font-family:var(--ag-icon-font-family-maximize,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-maximize,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-maximize,var(--ag-icon-font-color))}.ag-icon-maximize:before{content:var(--ag-icon-font-code-maximize,"\\f11d");display:var(--ag-icon-font-display-maximize,var(--ag-icon-font-display))}.ag-icon-maximize:after{background-image:var(--ag-icon-image-maximize,var(--ag-icon-image));display:var(--ag-icon-image-display-maximize,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-maximize,var(--ag-icon-image-opacity,0.9))}.ag-icon-menu{font-family:var(--ag-icon-font-family-menu,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-menu,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-menu,var(--ag-icon-font-color))}.ag-icon-menu:before{content:var(--ag-icon-font-code-menu,"\\f11e");display:var(--ag-icon-font-display-menu,var(--ag-icon-font-display))}.ag-icon-menu:after{background-image:var(--ag-icon-image-menu,var(--ag-icon-image));display:var(--ag-icon-image-display-menu,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-menu,var(--ag-icon-image-opacity,0.9))}.ag-icon-minimize{font-family:var(--ag-icon-font-family-minimize,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-minimize,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-minimize,var(--ag-icon-font-color))}.ag-icon-minimize:before{content:var(--ag-icon-font-code-minimize,"\\f11f");display:var(--ag-icon-font-display-minimize,var(--ag-icon-font-display))}.ag-icon-minimize:after{background-image:var(--ag-icon-image-minimize,var(--ag-icon-image));display:var(--ag-icon-image-display-minimize,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-minimize,var(--ag-icon-image-opacity,0.9))}.ag-icon-next{font-family:var(--ag-icon-font-family-next,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-next,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-next,var(--ag-icon-font-color))}.ag-icon-next:before{content:var(--ag-icon-font-code-next,"\\f120");display:var(--ag-icon-font-display-next,var(--ag-icon-font-display))}.ag-icon-next:after{background-image:var(--ag-icon-image-next,var(--ag-icon-image));display:var(--ag-icon-image-display-next,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-next,var(--ag-icon-image-opacity,0.9))}.ag-icon-none{font-family:var(--ag-icon-font-family-none,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-none,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-none,var(--ag-icon-font-color))}.ag-icon-none:before{content:var(--ag-icon-font-code-none,"\\f121");display:var(--ag-icon-font-display-none,var(--ag-icon-font-display))}.ag-icon-none:after{background-image:var(--ag-icon-image-none,var(--ag-icon-image));display:var(--ag-icon-image-display-none,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-none,var(--ag-icon-image-opacity,0.9))}.ag-icon-not-allowed{font-family:var(--ag-icon-font-family-not-allowed,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-not-allowed,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-not-allowed,var(--ag-icon-font-color))}.ag-icon-not-allowed:before{content:var(--ag-icon-font-code-not-allowed,"\\f122");display:var(--ag-icon-font-display-not-allowed,var(--ag-icon-font-display))}.ag-icon-not-allowed:after{background-image:var(--ag-icon-image-not-allowed,var(--ag-icon-image));display:var(--ag-icon-image-display-not-allowed,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-not-allowed,var(--ag-icon-image-opacity,0.9))}.ag-icon-paste{font-family:var(--ag-icon-font-family-paste,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-paste,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-paste,var(--ag-icon-font-color))}.ag-icon-paste:before{content:var(--ag-icon-font-code-paste,"\\f123");display:var(--ag-icon-font-display-paste,var(--ag-icon-font-display))}.ag-icon-paste:after{background-image:var(--ag-icon-image-paste,var(--ag-icon-image));display:var(--ag-icon-image-display-paste,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-paste,var(--ag-icon-image-opacity,0.9))}.ag-icon-pin{font-family:var(--ag-icon-font-family-pin,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-pin,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-pin,var(--ag-icon-font-color))}.ag-icon-pin:before{content:var(--ag-icon-font-code-pin,"\\f124");display:var(--ag-icon-font-display-pin,var(--ag-icon-font-display))}.ag-icon-pin:after{background-image:var(--ag-icon-image-pin,var(--ag-icon-image));display:var(--ag-icon-image-display-pin,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-pin,var(--ag-icon-image-opacity,0.9))}.ag-icon-pivot{font-family:var(--ag-icon-font-family-pivot,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-pivot,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-pivot,var(--ag-icon-font-color))}.ag-icon-pivot:before{content:var(--ag-icon-font-code-pivot,"\\f125");display:var(--ag-icon-font-display-pivot,var(--ag-icon-font-display))}.ag-icon-pivot:after{background-image:var(--ag-icon-image-pivot,var(--ag-icon-image));display:var(--ag-icon-image-display-pivot,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-pivot,var(--ag-icon-image-opacity,0.9))}.ag-icon-previous{font-family:var(--ag-icon-font-family-previous,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-previous,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-previous,var(--ag-icon-font-color))}.ag-icon-previous:before{content:var(--ag-icon-font-code-previous,"\\f126");display:var(--ag-icon-font-display-previous,var(--ag-icon-font-display))}.ag-icon-previous:after{background-image:var(--ag-icon-image-previous,var(--ag-icon-image));display:var(--ag-icon-image-display-previous,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-previous,var(--ag-icon-image-opacity,0.9))}.ag-icon-radio-button-off{font-family:var(--ag-icon-font-family-radio-button-off,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-radio-button-off,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-radio-button-off,var(--ag-icon-font-color))}.ag-icon-radio-button-off:before{content:var(--ag-icon-font-code-radio-button-off,"\\f127");display:var(--ag-icon-font-display-radio-button-off,var(--ag-icon-font-display))}.ag-icon-radio-button-off:after{background-image:var(--ag-icon-image-radio-button-off,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-off,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-off,var(--ag-icon-image-opacity,0.9))}.ag-icon-radio-button-on{font-family:var(--ag-icon-font-family-radio-button-on,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-radio-button-on,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-radio-button-on,var(--ag-icon-font-color))}.ag-icon-radio-button-on:before{content:var(--ag-icon-font-code-radio-button-on,"\\f128");display:var(--ag-icon-font-display-radio-button-on,var(--ag-icon-font-display))}.ag-icon-radio-button-on:after{background-image:var(--ag-icon-image-radio-button-on,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-on,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-on,var(--ag-icon-image-opacity,0.9))}.ag-icon-right{font-family:var(--ag-icon-font-family-right,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-right,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-right,var(--ag-icon-font-color))}.ag-icon-right:before{content:var(--ag-icon-font-code-right,"\\f129");display:var(--ag-icon-font-display-right,var(--ag-icon-font-display))}.ag-icon-right:after{background-image:var(--ag-icon-image-right,var(--ag-icon-image));display:var(--ag-icon-image-display-right,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-right,var(--ag-icon-image-opacity,0.9))}.ag-icon-save{font-family:var(--ag-icon-font-family-save,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-save,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-save,var(--ag-icon-font-color))}.ag-icon-save:before{content:var(--ag-icon-font-code-save,"\\f12a");display:var(--ag-icon-font-display-save,var(--ag-icon-font-display))}.ag-icon-save:after{background-image:var(--ag-icon-image-save,var(--ag-icon-image));display:var(--ag-icon-image-display-save,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-save,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-down{font-family:var(--ag-icon-font-family-small-down,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-down,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-down,var(--ag-icon-font-color))}.ag-icon-small-down:before{content:var(--ag-icon-font-code-small-down,"\\f12b");display:var(--ag-icon-font-display-small-down,var(--ag-icon-font-display))}.ag-icon-small-down:after{background-image:var(--ag-icon-image-small-down,var(--ag-icon-image));display:var(--ag-icon-image-display-small-down,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-down,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-left{font-family:var(--ag-icon-font-family-small-left,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-left,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-left,var(--ag-icon-font-color))}.ag-icon-small-left:before{content:var(--ag-icon-font-code-small-left,"\\f12c");display:var(--ag-icon-font-display-small-left,var(--ag-icon-font-display))}.ag-icon-small-left:after{background-image:var(--ag-icon-image-small-left,var(--ag-icon-image));display:var(--ag-icon-image-display-small-left,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-left,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-right{font-family:var(--ag-icon-font-family-small-right,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-right,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-right,var(--ag-icon-font-color))}.ag-icon-small-right:before{content:var(--ag-icon-font-code-small-right,"\\f12d");display:var(--ag-icon-font-display-small-right,var(--ag-icon-font-display))}.ag-icon-small-right:after{background-image:var(--ag-icon-image-small-right,var(--ag-icon-image));display:var(--ag-icon-image-display-small-right,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-right,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-up{font-family:var(--ag-icon-font-family-small-up,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-up,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-up,var(--ag-icon-font-color))}.ag-icon-small-up:before{content:var(--ag-icon-font-code-small-up,"\\f12e");display:var(--ag-icon-font-display-small-up,var(--ag-icon-font-display))}.ag-icon-small-up:after{background-image:var(--ag-icon-image-small-up,var(--ag-icon-image));display:var(--ag-icon-image-display-small-up,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-up,var(--ag-icon-image-opacity,0.9))}.ag-icon-tick{font-family:var(--ag-icon-font-family-tick,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tick,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tick,var(--ag-icon-font-color))}.ag-icon-tick:before{content:var(--ag-icon-font-code-tick,"\\f12f");display:var(--ag-icon-font-display-tick,var(--ag-icon-font-display))}.ag-icon-tick:after{background-image:var(--ag-icon-image-tick,var(--ag-icon-image));display:var(--ag-icon-image-display-tick,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tick,var(--ag-icon-image-opacity,0.9))}.ag-icon-tree-closed{font-family:var(--ag-icon-font-family-tree-closed,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-closed,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tree-closed,var(--ag-icon-font-color))}.ag-icon-tree-closed:before{content:var(--ag-icon-font-code-tree-closed,"\\f130");display:var(--ag-icon-font-display-tree-closed,var(--ag-icon-font-display))}.ag-icon-tree-closed:after{background-image:var(--ag-icon-image-tree-closed,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-closed,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-closed,var(--ag-icon-image-opacity,0.9))}.ag-icon-tree-indeterminate{font-family:var(--ag-icon-font-family-tree-indeterminate,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-indeterminate,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tree-indeterminate,var(--ag-icon-font-color))}.ag-icon-tree-indeterminate:before{content:var(--ag-icon-font-code-tree-indeterminate,"\\f131");display:var(--ag-icon-font-display-tree-indeterminate,var(--ag-icon-font-display))}.ag-icon-tree-indeterminate:after{background-image:var(--ag-icon-image-tree-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-indeterminate,var(--ag-icon-image-opacity,0.9))}.ag-icon-tree-open{font-family:var(--ag-icon-font-family-tree-open,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-open,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tree-open,var(--ag-icon-font-color))}.ag-icon-tree-open:before{content:var(--ag-icon-font-code-tree-open,"\\f132");display:var(--ag-icon-font-display-tree-open,var(--ag-icon-font-display))}.ag-icon-tree-open:after{background-image:var(--ag-icon-image-tree-open,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-open,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-open,var(--ag-icon-image-opacity,0.9))}.ag-icon-unlinked{font-family:var(--ag-icon-font-family-unlinked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-unlinked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-unlinked,var(--ag-icon-font-color))}.ag-icon-unlinked:before{content:var(--ag-icon-font-code-unlinked,"\\f133");display:var(--ag-icon-font-display-unlinked,var(--ag-icon-font-display))}.ag-icon-unlinked:after{background-image:var(--ag-icon-image-unlinked,var(--ag-icon-image));display:var(--ag-icon-image-display-unlinked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-unlinked,var(--ag-icon-image-opacity,0.9))}.ag-icon-up{font-family:var(--ag-icon-font-family-up,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-up,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-up,var(--ag-icon-font-color))}.ag-icon-up:before{content:var(--ag-icon-font-code-up,"\\f134");display:var(--ag-icon-font-display-up,var(--ag-icon-font-display))}.ag-icon-up:after{background-image:var(--ag-icon-image-up,var(--ag-icon-image));display:var(--ag-icon-image-display-up,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-up,var(--ag-icon-image-opacity,0.9))}.ag-icon-down{font-family:var(--ag-icon-font-family-down,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-down,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-down,var(--ag-icon-font-color))}.ag-icon-down:before{content:var(--ag-icon-font-code-down,"\\f135");display:var(--ag-icon-font-display-down,var(--ag-icon-font-display))}.ag-icon-down:after{background-image:var(--ag-icon-image-down,var(--ag-icon-image));display:var(--ag-icon-image-display-down,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-down,var(--ag-icon-image-opacity,0.9))}.ag-icon-plus{font-family:var(--ag-icon-font-family-plus,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-plus,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-plus,var(--ag-icon-font-color))}.ag-icon-plus:before{content:var(--ag-icon-font-code-plus,"\\f136");display:var(--ag-icon-font-display-plus,var(--ag-icon-font-display))}.ag-icon-plus:after{background-image:var(--ag-icon-image-plus,var(--ag-icon-image));display:var(--ag-icon-image-display-plus,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-plus,var(--ag-icon-image-opacity,0.9))}.ag-icon-minus{font-family:var(--ag-icon-font-family-minus,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-minus,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-minus,var(--ag-icon-font-color))}.ag-icon-minus:before{content:var(--ag-icon-font-code-minus,"\\f137");display:var(--ag-icon-font-display-minus,var(--ag-icon-font-display))}.ag-icon-minus:after{background-image:var(--ag-icon-image-minus,var(--ag-icon-image));display:var(--ag-icon-image-display-minus,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-minus,var(--ag-icon-image-opacity,0.9))}.ag-icon-menu-alt{font-family:var(--ag-icon-font-family-menu-alt,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-menu-alt,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-menu-alt,var(--ag-icon-font-color))}.ag-icon-menu-alt:before{content:var(--ag-icon-font-code-menu-alt,"\\f138");display:var(--ag-icon-font-display-menu-alt,var(--ag-icon-font-display))}.ag-icon-menu-alt:after{background-image:var(--ag-icon-image-menu-alt,var(--ag-icon-image));display:var(--ag-icon-image-display-menu-alt,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-menu-alt,var(--ag-icon-image-opacity,0.9))}.ag-icon-row-drag:before{content:var(--ag-icon-font-code-grip)}.ag-left-arrow:before{content:var(--ag-icon-font-code-left)}.ag-right-arrow:before{content:var(--ag-icon-font-code-right)}[class*=ag-theme-]{--ag-foreground-color:#000;--ag-data-color:var(--ag-foreground-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-header-foreground-color:var(--ag-secondary-foreground-color);--ag-disabled-foreground-color:rgba(0,0,0,0.5);--ag-background-color:#fff;--ag-header-background-color:transparent;--ag-tooltip-background-color:transparent;--ag-subheader-background-color:transparent;--ag-subheader-toolbar-background-color:transparent;--ag-control-panel-background-color:transparent;--ag-side-button-selected-background-color:var(--ag-control-panel-background-color);--ag-selected-row-background-color:#bbb;--ag-odd-row-background-color:var(--ag-background-color);--ag-modal-overlay-background-color:hsla(0,0%,100%,0.66);--ag-menu-background-color:var(--ag-background-color);--ag-menu-border-color:var(--ag-border-color);--ag-panel-background-color:var(--ag-background-color);--ag-panel-border-color:var(--ag-border-color);--ag-row-hover-color:transparent;--ag-column-hover-color:transparent;--ag-range-selection-border-color:var(--ag-foreground-color);--ag-range-selection-border-style:solid;--ag-range-selection-background-color:rgba(0,0,0,0.2);--ag-range-selection-background-color-2:var(--ag-range-selection-background-color);--ag-range-selection-background-color-3:var(--ag-range-selection-background-color);--ag-range-selection-background-color-4:var(--ag-range-selection-background-color);--ag-range-selection-highlight-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-width:0;--ag-selected-tab-underline-transition-speed:0s;--ag-range-selection-chart-category-background-color:rgba(0,255,132,0.1);--ag-range-selection-chart-background-color:rgba(0,88,255,0.1);--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:var(--ag-background-color);--ag-value-change-value-highlight-background-color:rgba(22,160,133,0.5);--ag-value-change-delta-up-color:#43a047;--ag-value-change-delta-down-color:#e53935;--ag-chip-background-color:transparent;--ag-chip-border-color:var(--ag-chip-background-color);--ag-borders:solid 1px;--ag-border-color:rgba(0,0,0,0.25);--ag-borders-critical:var(--ag-borders);--ag-borders-secondary:var(--ag-borders);--ag-secondary-border-color:var(--ag-border-color);--ag-row-border-style:solid;--ag-row-border-width:1px;--ag-cell-horizontal-border:solid transparent;--ag-borders-input:var(--ag-borders-secondary);--ag-input-border-color:var(--ag-secondary-border-color);--ag-borders-input-invalid:solid 2px;--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-borders-side-button:var(--ag-borders);--ag-border-radius:0px;--ag-wrapper-border-radius:var(--ag-border-radius);--ag-row-border-color:var(--ag-secondary-border-color);--ag-header-column-separator-display:none;--ag-header-column-separator-height:100%;--ag-header-column-separator-width:1px;--ag-header-column-separator-color:var(--ag-secondary-border-color);--ag-header-column-resize-handle-display:none;--ag-header-column-resize-handle-height:50%;--ag-header-column-resize-handle-width:1px;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-invalid-color:red;--ag-input-disabled-border-color:var(--ag-input-border-color);--ag-input-disabled-background-color:transparent;--ag-checkbox-background-color:transparent;--ag-checkbox-border-radius:var(--ag-border-radius);--ag-checkbox-checked-color:var(--ag-foreground-color);--ag-checkbox-unchecked-color:var(--ag-foreground-color);--ag-checkbox-indeterminate-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-border-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-background-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-on-border-color:var(--ag-checkbox-checked-color);--ag-toggle-button-on-background-color:var(--ag-checkbox-checked-color);--ag-toggle-button-switch-background-color:var(--ag-background-color);--ag-toggle-button-switch-border-color:var(--ag-toggle-button-off-border-color);--ag-toggle-button-border-width:1px;--ag-toggle-button-height:var(--ag-icon-size);--ag-toggle-button-width:calc(var(--ag-toggle-button-height)*2);--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:none;--ag-minichart-selected-chart-color:var(--ag-checkbox-checked-color);--ag-minichart-selected-page-color:var(--ag-checkbox-checked-color);--ag-grid-size:4px;--ag-icon-size:12px;--ag-icon-font-weight:normal;--ag-icon-font-color:var(--ag-foreground-color);--ag-icon-image-display:block;--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:var(--ag-grid-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:var(--ag-cell-horizontal-padding);--ag-row-height:calc(var(--ag-grid-size)*6 + 1px);--ag-header-height:var(--ag-row-height);--ag-list-item-height:calc(var(--ag-grid-size)*5);--ag-column-select-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-set-filter-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-advanced-filter-builder-indent-size:calc(var(--ag-grid-size)*2 + var(--ag-icon-size));--ag-row-group-indent-size:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));--ag-filter-tool-panel-group-indent:16px;--ag-tab-min-width:220px;--ag-menu-min-width:181px;--ag-side-bar-panel-width:200px;--ag-font-family:"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-card-radius:var(--ag-border-radius);--ag-card-shadow:none;--ag-popup-shadow:5px 5px 10px rgba(0,0,0,0.3);--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4}.ag-dnd-ghost,.ag-root-wrapper,.ag-sticky-top{background-color:var(--ag-background-color)}[class*=ag-theme-]{-webkit-font-smoothing:antialiased;font-family:var(--ag-font-family);font-size:var(--ag-font-size);line-height:normal;color:var(--ag-foreground-color)}ag-grid,ag-grid-angular,ag-grid-aurelia,ag-grid-ng2,ag-grid-polymer{display:block}.ag-aria-description-container{z-index:9999;border:0px;clip:rect(1px,1px,1px,1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0px;white-space:nowrap}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-no-transition{transition:none!important}.ag-drag-handle{cursor:grab}.ag-column-drop-wrapper{display:flex}.ag-column-drop-horizontal-half-width{display:inline-block;width:50%!important}.ag-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}.ag-tab{position:relative}.ag-tab-guard{width:0;height:0;display:block}.ag-select-agg-func-popup,.ag-tab-guard{position:absolute}.ag-input-wrapper,.ag-picker-field-wrapper{display:flex;flex:1 1 auto;align-items:center;line-height:normal;position:relative}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:0.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-root-wrapper{cursor:default;position:relative;display:flex;flex-direction:column;overflow:hidden;white-space:normal}.ag-root-wrapper.ag-layout-normal{height:100%}.ag-watermark{position:absolute;bottom:20px;right:25px;opacity:0.7;transition:opacity 1s ease-out 3s;color:#9b9b9b}.ag-watermark:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjA5IiBoZWlnaHQ9IjM2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xOTIuOTkzIDIzLjY1OHYtNy45NDZoLTEzLjU0MWwtNy45NDcgNy45NDZoMjEuNDg4ek0yMDguMjUgMy45NWgtMTYuOTc0bC04LjAxIDcuOTQ3aDI0Ljk4NFYzLjk1MXpNMTYzLjYyMiAzMS42MDVsNC4wNjktNC4wNjloMTMuNzMydjcuOTQ3aC0xNy44MDF2LTMuODc4eiIgZmlsbD0iIzlCOUI5QiIvPjxwYXRoIGQ9Ik0xNjYuNjEgMTkuNzhoOC43NzNsOC4wMS03Ljk0NkgxNjYuNjF2Ny45NDZ6TTE1Ny4wMTEgMzEuNjA1aDYuNjExbDcuODgzLTcuOTQ3aC0xNC40OTR2Ny45NDd6TTE5MS4yNzYgMy45NWwtNC4wNjggNC4wN0gxNjEuMjdWLjA3MmgzMC4wMDZWMy45NXpNMjAuODQgMzAuMjA2SDguMzc4bC0yLjE2MiA1LjM0SC43NUwxMi4yNTcgOC41OTJoNC43NjhMMjguNTMgMzUuNTQ2aC01LjUzbC0yLjE2Mi01LjM0em0tMS43MTctNC4yNkwxNC42MDkgMTQuOTVsLTQuNTE0IDEwLjk5OGg5LjAyOHpNMTA0LjQzNyAxOC41MDljMS41ODktMi4zNTIgNS41OTQtMi42MDcgNy4yNDctMi42MDd2NC41NzhjLTIuMDM0IDAtNC4wNjkuMDYzLTUuMjc3Ljk1My0xLjIwNy44OS0xLjg0MyAyLjA5OC0xLjg0MyAzLjU2djEwLjU1M2gtNC45NTlWMTUuOTAyaDQuNzY4bC4wNjQgMi42MDd6TTExOS4zNzYgMTUuOTAyaC00Ljk1OHYxOS42NDRoNC45NThWMTUuOTAyek0xMTkuMzc2IDcuMTNoLTQuOTU4djUuODQ4aDQuOTU4VjcuMTI5ek0xNDMuOTc5IDcuMTN2MjguNDE2aC00Ljc2OGwtLjEyNy0yLjk4OGE4LjMyNCA4LjMyNCAwIDAxLTIuNjcgMi40OGMtMS4wODEuNTcyLTIuNDE2Ljg5LTMuOTQyLjg5LTEuMzM1IDAtMi42MDYtLjI1NS0zLjY4Ny0uNy0xLjE0NC0uNTA4LTIuMTYyLTEuMTQ0LTIuOTg4LTIuMDM0YTkuNTggOS41OCAwIDAxLTEuOTcxLTMuMTc5Yy0uNTA4LTEuMjA3LS42OTktMi42MDYtLjY5OS00LjEzMiAwLTEuNTI1LjI1NC0yLjkyNC42OTktNC4xOTYuNTA5LTEuMjcxIDEuMTQ1LTIuMzUyIDEuOTcxLTMuMjQyLjgyNi0uODkgMS44NDQtMS41ODkgMi45ODgtMi4wOTggMS4xNDQtLjUwOCAyLjM1Mi0uNzYzIDMuNjg3LS43NjMgMS41MjYgMCAyLjc5Ny4yNTUgMy44NzguODI3czEuOTcxIDEuMzM1IDIuNjcgMi40MTZWNy4xOTNoNC45NTl2LS4wNjR6bS0xMC40MjYgMjQuNTM4YzEuNjUzIDAgMi45MjQtLjU3MiAzLjk0MS0xLjY1MyAxLjAxNy0xLjA4IDEuNTI2LTIuNTQzIDEuNTI2LTQuMzIzIDAtMS43OC0uNTA5LTMuMTc4LTEuNTI2LTQuMzIyLTEuMDE3LTEuMDgxLTIuMjg4LTEuNjUzLTMuOTQxLTEuNjUzLTEuNTkgMC0yLjkyNS41NzItMy44NzggMS42NTMtMS4wMTcgMS4wOC0xLjUyNiAyLjU0My0xLjUyNiA0LjMyMiAwIDEuNzguNTA5IDMuMTggMS41MjYgNC4yNiAxLjAxNyAxLjE0NCAyLjI4OCAxLjcxNiAzLjg3OCAxLjcxNnpNNTcuMjAyIDIwLjM1Mkg0NC45MzN2NC4yNmg2Ljk5M2MtLjE5IDIuMTYxLTEuMDE3IDMuODE0LTIuNDE2IDUuMTUtMS4zOTggMS4yNy0zLjE3OCAxLjkwNi01LjQ2NyAxLjkwNi0xLjI3MSAwLTIuNDgtLjI1NC0zLjQ5Ni0uNjk5YTcuMDI0IDcuMDI0IDAgMDEtMi43MzQtMS45N2MtLjc2My0uODI3LTEuMzM1LTEuODQ0LTEuNzgtMy4wNTItLjQ0NS0xLjIwOC0uNjM2LTIuNDgtLjYzNi0zLjk0MiAwLTEuNDYyLjE5LTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczMy0xLjk3YTkuMTE1IDkuMTE1IDAgMDEzLjU2LS43YzIuNjcgMCA0LjcwNS42MzYgNi4xMDMgMS45MDdsMy4zMDYtMy4zMDVjLTIuNDgtMS45MDctNS42NTgtMi45MjUtOS40MDktMi45MjUtMi4wOTcgMC00LjAwNS4zMTgtNS43MjEgMS4wMTgtMS43MTYuNjk5LTMuMTc5IDEuNTg5LTQuMzg2IDIuNzk3QTEyLjA3MyAxMi4wNzMgMCAwMDMxLjIgMTYuMjJjLS42MzUgMS43MTctLjk1MyAzLjYyNC0uOTUzIDUuNjU4IDAgMi4wMzUuMzE4IDMuOTQyIDEuMDE3IDUuNjU4LjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4wNzMgMTIuMDczIDAgMDA0LjM4NyAyLjc5N2MxLjcxNi43IDMuNjIzIDEuMDE3IDUuNjU3IDEuMDE3IDIuMDM1IDAgMy44NzgtLjMxOCA1LjUzMS0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3IDEuMTQ0LTEuMjA4IDIuMDM0LTIuNjcgMi42Ny00LjM4Ny42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43ek05NS45ODEgMjAuMzUySDgzLjcxMnY0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjQgNy4wMjQgMCAwMS0yLjczNC0xLjk3Yy0uNzYzLS44MjctMS4zMzUtMS44NDQtMS43OC0zLjA1Mi0uNDQ1LTEuMjA4LS42MzYtMi40OC0uNjM2LTMuOTQyIDAtMS40NjIuMTktMi43MzMuNjM2LTMuOTQxLjM4MS0xLjIwOCAxLjAxNy0yLjE2MiAxLjc4LTMuMDUyLjc2My0uODI2IDEuNjUzLTEuNDYyIDIuNzM0LTEuOTdhOS4xMTUgOS4xMTUgMCAwMTMuNTYtLjdjMi42NyAwIDQuNzA0LjYzNiA2LjEwMyAxLjkwN2wzLjMwNS0zLjMwNWMtMi40NzktMS45MDctNS42NTgtMi45MjUtOS40MDgtMi45MjUtMi4wOTggMC00LjAwNS4zMTgtNS43MjIgMS4wMTgtMS43MTYuNjk5LTMuMTc4IDEuNTg5LTQuMzg2IDIuNzk3YTEyLjA3NSAxMi4wNzUgMCAwMC0yLjc5NyA0LjM4NmMtLjYzNiAxLjcxNy0uOTU0IDMuNjI0LS45NTQgNS42NTggMCAyLjAzNS4zMTggMy45NDIgMS4wMTcgNS42NTguNyAxLjcxNyAxLjU5IDMuMTc5IDIuNzk3IDQuMzg3YTEyLjA3MyAxMi4wNzMgMCAwMDQuMzg3IDIuNzk3YzEuNzE2LjcgMy42MjMgMS4wMTcgNS42NTggMS4wMTcgMi4wMzQgMCAzLjg3OC0uMzE4IDUuNTMtMS4wMTcgMS42NTMtLjcgMy4wNTItMS41OSA0LjE5Ni0yLjc5NyAxLjE0NS0xLjIwOCAyLjAzNS0yLjY3IDIuNjctNC4zODcuNjM2LTEuNzE2Ljk1NC0zLjYyMy45NTQtNS42NTh2LS44MjZjLS4xOS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43eiIgZmlsbD0iIzlCOUI5QiIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:170px 40px;display:block;height:40px;width:170px}.ag-watermark-text{opacity:0.5;font-weight:700;font-family:Impact,sans-serif;font-size:19px;padding-left:0.7rem}.ag-root-wrapper-body{display:flex;flex-direction:row}.ag-root-wrapper-body.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}.ag-root{position:relative;display:flex;flex-direction:column}.ag-root.ag-layout-auto-height,.ag-root.ag-layout-normal{overflow:hidden;flex:1 1 auto;width:0}.ag-root.ag-layout-normal{height:100%}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{position:relative;height:100%;min-width:0px;overflow:hidden;flex:1 1 auto}.ag-body-viewport,.ag-center-cols-viewport{-ms-overflow-style:none!important;scrollbar-width:none!important}.ag-body-viewport::-webkit-scrollbar,.ag-center-cols-viewport::-webkit-scrollbar{display:none!important}.ag-body-viewport{display:flex}.ag-body-viewport.ag-layout-normal{overflow-y:auto;-webkit-overflow-scrolling:touch}.ag-center-cols-viewport{min-height:100%;width:100%;overflow-x:auto}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-body-vertical-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-body-vertical-scroll-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-top-full-width-container{position:absolute;top:0px;pointer-events:none}.ag-ltr .ag-floating-bottom-full-width-container,.ag-ltr .ag-floating-top-full-width-container,.ag-ltr .ag-full-width-container,.ag-ltr .ag-sticky-top-full-width-container{left:0}.ag-rtl .ag-floating-bottom-full-width-container,.ag-rtl .ag-floating-top-full-width-container,.ag-rtl .ag-full-width-container,.ag-rtl .ag-sticky-top-full-width-container{right:0}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;overflow:hidden;height:100%;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-body{position:relative;display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{min-height:0;min-width:0;display:flex;position:relative}.ag-body-horizontal-scroll.ag-scrollbar-invisible,.ag-body-vertical-scroll.ag-scrollbar-invisible{position:absolute;bottom:0}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar{opacity:0;transition:opacity 400ms;visibility:hidden}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling{visibility:visible;opacity:1}.ag-body-horizontal-scroll{width:100%}.ag-body-horizontal-scroll.ag-scrollbar-invisible{left:0;right:0}.ag-body-vertical-scroll{height:100%}.ag-body-vertical-scroll.ag-scrollbar-invisible{top:0;z-index:10}.ag-ltr .ag-body-vertical-scroll.ag-scrollbar-invisible{right:0}.ag-rtl .ag-body-vertical-scroll.ag-scrollbar-invisible{left:0}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll}.ag-horizontal-left-spacer.ag-scroller-corner,.ag-horizontal-right-spacer.ag-scroller-corner{overflow-x:hidden}.ag-header,.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;overflow:hidden;position:relative}.ag-header-cell-sortable .ag-header-cell-label{cursor:pointer}.ag-header{display:flex;width:100%;white-space:nowrap}.ag-pinned-left-header,.ag-pinned-right-header{height:100%}.ag-header-row{position:absolute}.ag-header-row:not(.ag-header-row-column-group){overflow:hidden}.ag-header.ag-header-allow-overflow .ag-header-row{overflow:visible}.ag-header-cell{display:inline-flex;align-items:center;position:absolute;height:100%}.ag-header-cell-filter-button,.ag-header-cell.ag-header-active .ag-header-cell-menu-button{opacity:1}.ag-header-cell-menu-button:not(.ag-header-menu-always-show){transition:opacity 0.2s;opacity:0}.ag-header-cell-label,.ag-header-group-cell-label{display:flex;flex:1 1 auto;align-self:stretch;align-items:center}.ag-header-cell-label{overflow:hidden;text-overflow:ellipsis}.ag-header-group-cell-label.ag-sticky-label{position:sticky;flex:none;max-width:100%}.ag-header-group-text{white-space:nowrap}.ag-header-cell-text,.ag-header-group-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper{height:100%;display:flex;align-items:center}.ag-header-cell-comp-wrapper{width:100%}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-right-aligned-header .ag-header-cell-label{flex-direction:row-reverse}.ag-header-cell-resize{position:absolute;z-index:2;height:100%;width:8px;top:0;cursor:ew-resize}.ag-ltr .ag-header-cell-resize{right:-4px}.ag-rtl .ag-header-cell-resize{left:-4px}.ag-pinned-left-header .ag-header-cell-resize{right:-4px}.ag-pinned-right-header .ag-header-cell-resize{left:-4px}.ag-header-select-all{display:flex}.ag-floating-filter-button-button,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-panel-title-bar-button,.ag-side-button-button{cursor:pointer}.ag-column-moving .ag-cell,.ag-column-moving .ag-header-cell{transition:left 0.2s}.ag-column-moving .ag-header-group-cell{transition:left 0.2s,width 0.2s}.ag-column-panel{display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto}.ag-column-select{position:relative;display:flex;flex-direction:column;overflow:hidden;flex:3 1 0px}.ag-column-select-header{position:relative;display:flex;flex:none}.ag-column-select-header-icon{position:relative}.ag-column-select-header-filter-wrapper{flex:1 1 auto}.ag-column-select-header-filter{width:100%}.ag-column-select-list{flex:1 1 0px;overflow:hidden}.ag-column-drop{position:relative;display:inline-flex;align-items:center;overflow:auto;width:100%}.ag-column-drop-cell,.ag-column-drop-list{display:flex;align-items:center}.ag-column-drop-cell{position:relative}.ag-column-drop-cell-text{overflow:hidden;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.ag-column-drop-vertical{display:flex;flex-direction:column;overflow:hidden;align-items:stretch;flex:1 1 0px}.ag-column-drop-vertical-title-bar{display:flex;align-items:center;flex:none}.ag-column-drop-vertical-list{position:relative;align-items:stretch;flex-grow:1;flex-direction:column;overflow-x:auto}.ag-column-drop-vertical-list>*{flex:none}.ag-column-drop-empty .ag-column-drop-vertical-list{overflow:hidden}.ag-column-drop-vertical-empty-message{display:block}.ag-column-drop.ag-column-drop-horizontal{white-space:nowrap;overflow:hidden}.ag-column-drop-cell-button{cursor:pointer}.ag-filter-toolpanel{flex:1 1 0px;min-width:0}.ag-filter-toolpanel-header{position:relative}.ag-filter-toolpanel-header,.ag-filter-toolpanel-header>*,.ag-filter-toolpanel-search,.ag-filter-toolpanel-search>*{display:flex;align-items:center}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden}.ag-row-animation .ag-row{transition:transform 0.4s,top 0.4s}.ag-row-animation .ag-row.ag-after-created{transition:transform 0.4s,top 0.4s,height 0.4s}.ag-row-no-animation .ag-row{transition:none}.ag-row{white-space:nowrap;width:100%}.ag-row-loading{display:flex;align-items:center}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{display:flex;align-items:center}.ag-cell{display:inline-block;position:absolute;white-space:nowrap;height:100%}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-all}.ag-cell-wrapper{display:flex;align-items:center}.ag-cell-wrapper.ag-row-group{align-items:flex-start}.ag-sparkline-wrapper{position:absolute;height:100%;width:100%;left:0;top:0}.ag-full-width-row .ag-cell-wrapper.ag-row-group{height:100%;align-items:center}.ag-cell-inline-editing{z-index:1}.ag-cell-inline-editing .ag-cell-edit-wrapper,.ag-cell-inline-editing .ag-cell-editor,.ag-cell-inline-editing .ag-cell-editor .ag-wrapper,.ag-cell-inline-editing .ag-cell-editor input,.ag-cell-inline-editing .ag-cell-wrapper{height:100%;width:100%;line-height:normal}.ag-cell .ag-icon{display:inline-block;vertical-align:middle}.ag-set-filter-item{display:flex;align-items:center;height:100%}.ag-set-filter-item-checkbox{display:flex;overflow:hidden;height:100%}.ag-set-filter-group-icons{display:block}.ag-set-filter-group-icons>*{cursor:pointer}.ag-filter-body-wrapper{display:flex;flex-direction:column}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{position:relative;display:flex;flex:1 1 auto;height:100%}.ag-floating-filter-full-body{display:flex;flex:1 1 auto;height:100%;width:100%;align-items:center;overflow:hidden}.ag-floating-filter-full-body>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%}.ag-floating-filter-input>*{flex:1 1 auto}.ag-floating-filter-button{display:flex;flex:none}.ag-set-floating-filter-input input[disabled]{pointer-events:none}.ag-dnd-ghost{position:absolute;display:inline-flex;align-items:center;cursor:move;white-space:nowrap;z-index:9999}.ag-overlay{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{flex:none;align-items:center;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-popup-child{z-index:5;top:0}.ag-popup-editor{position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-large-text-input{display:block}.ag-virtual-list-item{position:absolute;width:100%}.ag-floating-top{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-top,.ag-pinned-right-floating-top{display:inline-block;overflow:hidden;position:relative;min-width:0px}.ag-floating-bottom{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-bottom,.ag-pinned-right-floating-bottom{display:inline-block;overflow:hidden;position:relative;min-width:0px}.ag-sticky-top{position:absolute;display:flex;width:100%}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{position:relative;height:100%;overflow:hidden}.ag-sticky-top-full-width-container{overflow:hidden;width:100%;height:100%}.ag-dialog,.ag-panel{display:flex;flex-direction:column;position:relative;overflow:hidden}.ag-panel-title-bar{display:flex;flex:none;align-items:center;cursor:default}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-title-bar-button{cursor:pointer}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;position:relative;overflow:hidden}.ag-dialog,.ag-resizer{position:absolute}.ag-resizer{pointer-events:none;z-index:1;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-resizer.ag-resizer-topLeft{top:0;left:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-top{top:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-topRight{top:0;right:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-right{top:5px;right:0;bottom:5px;width:5px;cursor:ew-resize}.ag-resizer.ag-resizer-bottomRight{bottom:0;right:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-bottom{bottom:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-bottomLeft{bottom:0;left:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-left{left:0;top:5px;bottom:5px;width:5px;cursor:ew-resize}.ag-tooltip,.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:not(.ag-tooltip-interactive),.ag-tooltip:not(.ag-tooltip-interactive){pointer-events:none}.ag-value-slide-out{margin-right:5px;opacity:1;transition:opacity 3s,margin-right 3s;transition-timing-function:linear}.ag-value-slide-out-end{margin-right:10px;opacity:0}.ag-opacity-zero{opacity:0!important}.ag-menu{max-height:100%;overflow-y:auto;position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-menu-column-select-wrapper{height:265px;overflow:auto}.ag-menu-column-select-wrapper .ag-column-select{height:100%}.ag-dialog .ag-panel-content-wrapper .ag-column-select{user-select:none}.ag-menu-list{display:table;width:100%}.ag-menu-option,.ag-menu-separator{display:table-row}.ag-menu-option-part,.ag-menu-separator-part{display:table-cell;vertical-align:middle}.ag-menu-option-text{white-space:nowrap}.ag-menu-option-custom{display:contents}.ag-compact-menu-option{width:100%;display:flex;flex-wrap:nowrap}.ag-compact-menu-option-text{white-space:nowrap;flex:1 1 auto}.ag-rich-select{cursor:default;outline:none;height:100%}.ag-rich-select-value{display:flex;align-items:center;height:100%}.ag-rich-select-value .ag-picker-field-display{overflow:hidden;text-overflow:ellipsis}.ag-rich-select-value .ag-picker-field-display.ag-display-as-placeholder{opacity:0.5}.ag-rich-select-list{position:relative}.ag-rich-select-list .ag-loading-text{min-height:2rem}.ag-rich-select-row{display:flex;flex:1 1 auto;align-items:center;white-space:nowrap;overflow:hidden;height:100%}.ag-rich-select-field-input{flex:1 1 auto}.ag-rich-select-field-input .ag-input-field-input{padding:0!important;border:none!important;box-shadow:none!important;text-overflow:ellipsis}.ag-rich-select-field-input .ag-input-field-input::placeholder{opacity:0.8}.ag-autocomplete{align-items:center;display:flex}.ag-autocomplete>*{flex:1 1 auto}.ag-autocomplete-list-popup{position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-autocomplete-list{position:relative}.ag-autocomplete-virtual-list-item{display:flex}.ag-autocomplete-row{display:flex;flex:1 1 auto;align-items:center;overflow:hidden}.ag-autocomplete-row-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-paging-panel{justify-content:flex-end}.ag-paging-page-summary-panel,.ag-paging-panel{align-items:center;display:flex}.ag-paging-button{position:relative}.ag-disabled .ag-paging-page-summary-panel{pointer-events:none}.ag-tool-panel-wrapper{display:flex;overflow-y:auto;overflow-x:hidden;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-column-select-column,.ag-column-select-column-group,.ag-select-agg-func-item{position:relative;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;height:100%}.ag-column-select-column-group>*,.ag-column-select-column>*,.ag-select-agg-func-item>*{flex:none}.ag-column-select-column-label,.ag-select-agg-func-item{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-column-select-checkbox{display:flex}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-ltr .ag-side-bar-left .ag-tool-panel-horizontal-resize{right:-3px}.ag-ltr .ag-side-bar-right .ag-tool-panel-horizontal-resize,.ag-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize{left:-3px}.ag-rtl .ag-side-bar-right .ag-tool-panel-horizontal-resize{right:-3px}.ag-details-row{width:100%}.ag-details-row-fixed-height{height:100%}.ag-details-grid{width:100%}.ag-details-grid-fixed-height{height:100%}.ag-header-group-cell{display:flex;align-items:center;height:100%;position:absolute}.ag-header-group-cell-no-group.ag-header-span-height .ag-header-cell-resize{display:none}.ag-cell-label-container{display:flex;justify-content:space-between;flex-direction:row-reverse;align-items:center;height:100%;width:100%;padding:5px 0px}.ag-right-aligned-header .ag-cell-label-container{flex-direction:row}.ag-right-aligned-header .ag-header-cell-text{text-align:end}.ag-side-bar{display:flex;flex-direction:row-reverse}.ag-side-bar-left{order:-1;flex-direction:row}.ag-side-button-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;outline:none;cursor:pointer}.ag-side-button-label{writing-mode:vertical-lr}.ag-status-bar{display:flex;justify-content:space-between;overflow:hidden}.ag-status-panel{display:inline-flex}.ag-status-name-value{white-space:nowrap}.ag-status-bar-center,.ag-status-bar-left,.ag-status-bar-right{display:inline-flex}.ag-icon{display:block;speak:none}.ag-group{position:relative;width:100%}.ag-group-title-bar{display:flex;align-items:center}.ag-group-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ag-group-title-bar .ag-group-title{cursor:default}.ag-group-toolbar{display:flex;align-items:center}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-group-container-horizontal{flex-direction:row;flex-wrap:wrap}.ag-group-container-vertical{flex-direction:column}.ag-column-group-icons{display:block}.ag-column-group-icons>*{cursor:pointer}.ag-group-item-alignment-stretch .ag-group-item{align-items:stretch}.ag-group-item-alignment-start .ag-group-item{align-items:flex-start}.ag-group-item-alignment-end .ag-group-item{align-items:flex-end}.ag-toggle-button-icon{transition:right 0.3s;position:absolute;top:-1px}.ag-input-field,.ag-select{display:flex;flex-direction:row;align-items:center}.ag-input-field-input{flex:1 1 auto}.ag-floating-filter-input .ag-input-field-input[type=date]{width:1px}.ag-angle-select,.ag-range-field{display:flex;align-items:center}.ag-angle-select-wrapper{display:flex}.ag-angle-select-parent-circle{display:block;position:relative}.ag-angle-select-child-circle{position:absolute}.ag-slider-wrapper{display:flex}.ag-picker-field-display,.ag-slider-wrapper .ag-input-field{flex:1 1 auto}.ag-picker-field{display:flex;align-items:center}.ag-picker-field-icon{display:flex;border:0;padding:0;margin:0;cursor:pointer}.ag-picker-field-wrapper{overflow:hidden}.ag-label-align-right .ag-label{order:1}.ag-label-align-right>*{flex:none}.ag-label-align-top{flex-direction:column;align-items:flex-start}.ag-label-align-top>*{align-self:stretch}.ag-label-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ag-color-panel{width:100%;display:flex;flex-direction:column;text-align:center}.ag-spectrum-color{flex:1 1 auto;position:relative;overflow:hidden;cursor:default}.ag-spectrum-fill{position:absolute;top:0;left:0;right:0;bottom:0}.ag-spectrum-val{cursor:pointer}.ag-spectrum-dragger{position:absolute;pointer-events:none;cursor:pointer}.ag-spectrum-hue{cursor:default;background:linear-gradient(270deg,red 3%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.ag-spectrum-alpha{cursor:default}.ag-spectrum-hue-background{width:100%;height:100%}.ag-spectrum-alpha-background{background-image:linear-gradient(90deg,transparent,#000);width:100%;height:100%}.ag-spectrum-tool{cursor:pointer}.ag-spectrum-slider{position:absolute;pointer-events:none}.ag-recent-colors{display:flex}.ag-recent-color{cursor:pointer}.ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-ltr .ag-set-filter-indent-1{padding-left:20px}.ag-rtl .ag-set-filter-indent-1{padding-right:20px}.ag-ltr .ag-row-group-indent-1{padding-left:20px}.ag-rtl .ag-row-group-indent-1{padding-right:20px}.ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-ltr .ag-set-filter-indent-2{padding-left:40px}.ag-rtl .ag-set-filter-indent-2{padding-right:40px}.ag-ltr .ag-row-group-indent-2{padding-left:40px}.ag-rtl .ag-row-group-indent-2{padding-right:40px}.ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-ltr .ag-set-filter-indent-3{padding-left:60px}.ag-rtl .ag-set-filter-indent-3{padding-right:60px}.ag-ltr .ag-row-group-indent-3{padding-left:60px}.ag-rtl .ag-row-group-indent-3{padding-right:60px}.ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-ltr .ag-set-filter-indent-4{padding-left:80px}.ag-rtl .ag-set-filter-indent-4{padding-right:80px}.ag-ltr .ag-row-group-indent-4{padding-left:80px}.ag-rtl .ag-row-group-indent-4{padding-right:80px}.ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-ltr .ag-set-filter-indent-5{padding-left:100px}.ag-rtl .ag-set-filter-indent-5{padding-right:100px}.ag-ltr .ag-row-group-indent-5{padding-left:100px}.ag-rtl .ag-row-group-indent-5{padding-right:100px}.ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-ltr .ag-set-filter-indent-6{padding-left:120px}.ag-rtl .ag-set-filter-indent-6{padding-right:120px}.ag-ltr .ag-row-group-indent-6{padding-left:120px}.ag-rtl .ag-row-group-indent-6{padding-right:120px}.ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-ltr .ag-set-filter-indent-7{padding-left:140px}.ag-rtl .ag-set-filter-indent-7{padding-right:140px}.ag-ltr .ag-row-group-indent-7{padding-left:140px}.ag-rtl .ag-row-group-indent-7{padding-right:140px}.ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-ltr .ag-set-filter-indent-8{padding-left:160px}.ag-rtl .ag-set-filter-indent-8{padding-right:160px}.ag-ltr .ag-row-group-indent-8{padding-left:160px}.ag-rtl .ag-row-group-indent-8{padding-right:160px}.ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-ltr .ag-set-filter-indent-9{padding-left:180px}.ag-rtl .ag-set-filter-indent-9{padding-right:180px}.ag-ltr .ag-row-group-indent-9{padding-left:180px}.ag-rtl .ag-row-group-indent-9{padding-right:180px}.ag-ltr{direction:ltr}.ag-ltr .ag-body,.ag-ltr .ag-body-horizontal-scroll,.ag-ltr .ag-body-viewport,.ag-ltr .ag-floating-bottom,.ag-ltr .ag-floating-top,.ag-ltr .ag-header,.ag-ltr .ag-sticky-top{flex-direction:row}.ag-rtl{direction:rtl}.ag-rtl .ag-body,.ag-rtl .ag-body-horizontal-scroll,.ag-rtl .ag-body-viewport,.ag-rtl .ag-floating-bottom,.ag-rtl .ag-floating-top,.ag-rtl .ag-header,.ag-rtl .ag-sticky-top{flex-direction:row-reverse}.ag-rtl .ag-icon-contracted,.ag-rtl .ag-icon-expanded,.ag-rtl .ag-icon-tree-closed{display:block;transform:rotate(180deg)}.ag-body .ag-body-viewport{-webkit-overflow-scrolling:touch}.ag-layout-print.ag-body{display:block;height:unset}.ag-layout-print.ag-root-wrapper{display:inline-block}.ag-layout-print .ag-body-horizontal-scroll,.ag-layout-print .ag-body-vertical-scroll{display:none}.ag-layout-print.ag-force-vertical-scroll{overflow-y:visible!important}@media print{.ag-root-wrapper.ag-layout-print{display:table}.ag-root-wrapper.ag-layout-print .ag-body-horizontal-scroll-viewport,.ag-root-wrapper.ag-layout-print .ag-body-viewport,.ag-root-wrapper.ag-layout-print .ag-center-cols-container,.ag-root-wrapper.ag-layout-print .ag-center-cols-viewport,.ag-root-wrapper.ag-layout-print .ag-root,.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,.ag-root-wrapper.ag-layout-print .ag-virtual-list-viewport{height:auto!important;overflow:hidden!important;display:block!important}.ag-root-wrapper.ag-layout-print .ag-cell,.ag-root-wrapper.ag-layout-print .ag-row{break-inside:avoid}}[class^=ag-],[class^=ag-]:after,[class^=ag-]:before,[class^=ag-]:focus{box-sizing:border-box;outline:none}[class^=ag-]::-ms-clear{display:none}.ag-checkbox .ag-input-wrapper,.ag-radio-button .ag-input-wrapper{overflow:visible}.ag-range-field .ag-input-wrapper{height:100%}.ag-toggle-button{flex:none;width:unset;min-width:unset}.ag-button{border-radius:0px;color:var(--ag-foreground-color)}.ag-button:hover{background-color:transparent}.ag-ltr .ag-label-align-right .ag-label{margin-left:var(--ag-grid-size)}.ag-rtl .ag-label-align-right .ag-label{margin-right:var(--ag-grid-size)}input[class^=ag-]{margin:0}input[class^=ag-],select[class^=ag-],textarea[class^=ag-]{background-color:var(--ag-background-color)}input[class^=ag-]:not([type]),input[class^=ag-][type=date],input[class^=ag-][type=datetime-local],input[class^=ag-][type=number],input[class^=ag-][type=tel],input[class^=ag-][type=text],textarea[class^=ag-]{font-size:inherit;line-height:inherit;color:inherit;font-family:inherit;border:var(--ag-borders-input) var(--ag-input-border-color)}input[class^=ag-]:not([type]):disabled,input[class^=ag-][type=date]:disabled,input[class^=ag-][type=datetime-local]:disabled,input[class^=ag-][type=number]:disabled,input[class^=ag-][type=tel]:disabled,input[class^=ag-][type=text]:disabled,textarea[class^=ag-]:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}input[class^=ag-]:not([type]):focus,input[class^=ag-][type=date]:focus,input[class^=ag-][type=datetime-local]:focus,input[class^=ag-][type=number]:focus,input[class^=ag-][type=tel]:focus,input[class^=ag-][type=text]:focus,textarea[class^=ag-]:focus{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}input[class^=ag-]:not([type]):invalid,input[class^=ag-][type=date]:invalid,input[class^=ag-][type=datetime-local]:invalid,input[class^=ag-][type=number]:invalid,input[class^=ag-][type=tel]:invalid,input[class^=ag-][type=text]:invalid,textarea[class^=ag-]:invalid{border:var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid)}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper){-moz-appearance:textfield}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-inner-spin-button,input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[class^=ag-][type=range]{padding:0}button[class^=ag-]:focus,input[class^=ag-][type=button]:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-drag-handle{color:var(--ag-secondary-foreground-color)}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-virtual-list-item:focus-visible{outline:none}.ag-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-select-list{background-color:var(--ag-background-color);overflow-y:auto;overflow-x:hidden;border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-list-item{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-list-item.ag-active-item{background-color:var(--ag-row-hover-color)}.ag-select-list-item{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ag-ltr .ag-select-list-item{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-select-list-item{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-select-list-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-group-contracted,.ag-group-expanded,.ag-row-drag,.ag-selection-checkbox{color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-contracted,.ag-ltr .ag-group-expanded,.ag-ltr .ag-row-drag,.ag-ltr .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-group-contracted,.ag-rtl .ag-group-expanded,.ag-rtl .ag-row-drag,.ag-rtl .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));display:flex;align-items:center;flex:none}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-group-title-bar-icon{cursor:pointer;flex:none;color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-child-count{margin-left:2px}.ag-rtl .ag-group-child-count{margin-right:2px}.ag-group-title-bar{background-color:var(--ag-subheader-background-color);padding:var(--ag-grid-size)}.ag-group-toolbar{padding:var(--ag-grid-size);background-color:var(--ag-subheader-toolbar-background-color)}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:0.5}.group-item{margin:calc(var(--ag-grid-size)*0.5) 0}.ag-label{white-space:nowrap}.ag-ltr .ag-label{margin-right:var(--ag-grid-size)}.ag-rtl .ag-label{margin-left:var(--ag-grid-size)}.ag-label-align-top .ag-label{margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-angle-select[disabled]{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-angle-select[disabled] .ag-angle-select-field{opacity:0.4}.ag-ltr .ag-angle-select-field,.ag-ltr .ag-slider-field{margin-right:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-angle-select-field,.ag-rtl .ag-slider-field{margin-left:calc(var(--ag-grid-size)*2)}.ag-angle-select-parent-circle{width:24px;height:24px;border-radius:12px;border:1px solid;border-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-angle-select-child-circle{top:4px;left:12px;width:6px;height:6px;margin-left:-3px;margin-top:-4px;border-radius:3px;background-color:var(--ag-secondary-foreground-color)}.ag-picker-field-wrapper{border:var(--ag-borders);border-color:var(--ag-border-color);border-radius:5px;background-color:var(--ag-background-color)}.ag-picker-field-wrapper:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-picker-field-wrapper.ag-picker-has-focus,.ag-picker-field-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}.ag-picker-field-button{background-color:var(--ag-background-color);color:var(--ag-secondary-foreground-color)}.ag-dialog.ag-color-dialog{border-radius:5px}.ag-color-picker .ag-picker-field-display{height:var(--ag-icon-size)}.ag-color-picker .ag-picker-field-wrapper{max-width:45px;min-width:45px}.ag-color-panel{padding:var(--ag-grid-size)}.ag-spectrum-color{background-color:red;border-radius:2px}.ag-spectrum-tools{padding:10px}.ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,rgba(204,154,129,0))}.ag-spectrum-val{background-image:linear-gradient(0deg,#000,rgba(204,154,129,0))}.ag-spectrum-dragger{border-radius:12px;height:12px;width:12px;border:1px solid #fff;background:#000;box-shadow:0 0 2px 0px rgba(0,0,0,0.24)}.ag-spectrum-alpha-background,.ag-spectrum-hue-background{border-radius:2px}.ag-spectrum-tool{margin-bottom:10px;height:11px;border-radius:2px}.ag-spectrum-slider{margin-top:-12px;width:13px;height:13px;border-radius:13px;background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,0.37)}.ag-recent-color{margin:0 3px}.ag-recent-color:first-child{margin-left:0}.ag-recent-color:last-child{margin-right:0}.ag-recent-color:focus-visible:not(:disabled):not([readonly]),.ag-spectrum-color:focus-visible:not(:disabled):not([readonly]),.ag-spectrum-slider:focus-visible:not(:disabled):not([readonly]){box-shadow:var(--ag-input-focus-box-shadow)}.ag-dnd-ghost{background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);overflow:hidden;text-overflow:ellipsis;border:var(--ag-borders-secondary) var(--ag-secondary-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)!important;line-height:var(--ag-header-height);margin:0;padding:0 calc(var(--ag-grid-size)*2);transform:translateY(calc(var(--ag-grid-size)*2))}.ag-dnd-ghost-icon{margin-right:var(--ag-grid-size);color:var(--ag-foreground-color)}.ag-popup-child:not(.ag-tooltip-custom){box-shadow:var(--ag-popup-shadow)}.ag-select .ag-picker-field-wrapper{min-height:var(--ag-list-item-height);cursor:default}.ag-ltr .ag-select .ag-picker-field-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-select .ag-picker-field-wrapper{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-ltr .ag-select .ag-picker-field-wrapper{padding-right:var(--ag-grid-size)}.ag-rtl .ag-select .ag-picker-field-wrapper{padding-left:var(--ag-grid-size)}.ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-select:not(.ag-cell-editor,.ag-label-align-top){min-height:var(--ag-list-item-height)}.ag-select .ag-picker-field-display{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-select .ag-picker-field-icon{display:flex;align-items:center}.ag-select.ag-disabled{opacity:0.5}.ag-rich-select-list,.ag-rich-select-value{background-color:var(--ag-background-color)}.ag-rich-select-list{width:100%;height:auto;border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-rich-select-list .ag-loading-text{padding:var(--ag-widget-vertical-spacing) var(--ag-widget-horizontal-spacing)}.ag-rich-select-value{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color);padding-top:0;padding-bottom:0}.ag-ltr .ag-rich-select-value{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-rich-select-value{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-ltr .ag-rich-select-value{padding-right:var(--ag-grid-size)}.ag-rtl .ag-rich-select-value{padding-left:var(--ag-grid-size)}.ag-ltr .ag-rich-select-field-input{left:calc(var(--ag-cell-horizontal-padding))}.ag-rtl .ag-rich-select-field-input{right:calc(var(--ag-cell-horizontal-padding))}.ag-popup-editor .ag-rich-select-value{height:var(--ag-row-height);min-width:200px}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-rich-select-virtual-list-item:focus-visible:after{content:none}.ag-rich-select-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-ltr .ag-rich-select-row{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-rich-select-row{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-rich-select-row-text-highlight{font-weight:700}.ag-autocomplete{width:100%}.ag-autocomplete-list{width:100%;min-width:200px;height:calc(var(--ag-row-height)*6.5)}.ag-autocomplete-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-autocomplete-virtual-list-item:focus-visible:after{content:none}.ag-autocomplete-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-autocomplete-row-label{margin:0px var(--ag-widget-container-horizontal-padding)}.ag-autocomplete-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-dragging-fill-handle .ag-dialog,.ag-dragging-range-handle .ag-dialog{opacity:0.7;pointer-events:none}.ag-dialog{border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color);box-shadow:var(--ag-popup-shadow)}.ag-panel{background-color:var(--ag-panel-background-color);border-color:var(--ag-panel-border-color)}.ag-panel-title-bar{color:var(--ag-header-foreground-color);height:var(--ag-header-height);padding:var(--ag-grid-size) var(--ag-cell-horizontal-padding);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-panel-title-bar-button{margin-left:var(--ag-grid-size)}.ag-rtl .ag-panel-title-bar-button{margin-right:var(--ag-grid-size)}.ag-tooltip{background-color:var(--ag-tooltip-background-color);color:var(--ag-foreground-color);padding:var(--ag-grid-size);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);white-space:normal}.ag-tooltip-custom.ag-tooltip-animate,.ag-tooltip.ag-tooltip-animate{transition:opacity 1s}.ag-tooltip-custom.ag-tooltip-animate.ag-tooltip-hiding,.ag-tooltip.ag-tooltip-animate.ag-tooltip-hiding{opacity:0}.ag-ltr .ag-column-select-indent-1{padding-left:calc(var(--ag-column-select-indent-size)*1)}.ag-rtl .ag-column-select-indent-1{padding-right:calc(var(--ag-column-select-indent-size)*1)}.ag-ltr .ag-column-select-indent-2{padding-left:calc(var(--ag-column-select-indent-size)*2)}.ag-rtl .ag-column-select-indent-2{padding-right:calc(var(--ag-column-select-indent-size)*2)}.ag-ltr .ag-column-select-indent-3{padding-left:calc(var(--ag-column-select-indent-size)*3)}.ag-rtl .ag-column-select-indent-3{padding-right:calc(var(--ag-column-select-indent-size)*3)}.ag-ltr .ag-column-select-indent-4{padding-left:calc(var(--ag-column-select-indent-size)*4)}.ag-rtl .ag-column-select-indent-4{padding-right:calc(var(--ag-column-select-indent-size)*4)}.ag-ltr .ag-column-select-indent-5{padding-left:calc(var(--ag-column-select-indent-size)*5)}.ag-rtl .ag-column-select-indent-5{padding-right:calc(var(--ag-column-select-indent-size)*5)}.ag-ltr .ag-column-select-indent-6{padding-left:calc(var(--ag-column-select-indent-size)*6)}.ag-rtl .ag-column-select-indent-6{padding-right:calc(var(--ag-column-select-indent-size)*6)}.ag-ltr .ag-column-select-indent-7{padding-left:calc(var(--ag-column-select-indent-size)*7)}.ag-rtl .ag-column-select-indent-7{padding-right:calc(var(--ag-column-select-indent-size)*7)}.ag-ltr .ag-column-select-indent-8{padding-left:calc(var(--ag-column-select-indent-size)*8)}.ag-rtl .ag-column-select-indent-8{padding-right:calc(var(--ag-column-select-indent-size)*8)}.ag-ltr .ag-column-select-indent-9{padding-left:calc(var(--ag-column-select-indent-size)*9)}.ag-rtl .ag-column-select-indent-9{padding-right:calc(var(--ag-column-select-indent-size)*9)}.ag-column-select-header-icon{cursor:pointer}.ag-column-select-header-icon:focus-visible{outline:none}.ag-column-select-header-icon:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0px;left:0px;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-ltr .ag-column-group-icons:not(:last-child),.ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-label:not(:last-child),.ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:var(--ag-widget-horizontal-spacing)}.ag-rtl .ag-column-group-icons:not(:last-child),.ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-label:not(:last-child),.ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:var(--ag-widget-horizontal-spacing)}.ag-column-select-virtual-list-item:focus-visible{outline:none}.ag-column-select-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-column-group:not(:last-child),.ag-column-select-column:not(:last-child){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) 0px}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-rtl{text-align:right}.ag-root-wrapper{border-radius:var(--ag-wrapper-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-group-indent-1{padding-left:calc(var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row-group-indent-1{padding-right:calc(var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-level-1 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-1 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-group-indent-2{padding-left:calc(var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row-group-indent-2{padding-right:calc(var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-level-2 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-2 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-group-indent-3{padding-left:calc(var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row-group-indent-3{padding-right:calc(var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-level-3 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-3 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-group-indent-4{padding-left:calc(var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row-group-indent-4{padding-right:calc(var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-level-4 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-4 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-group-indent-5{padding-left:calc(var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row-group-indent-5{padding-right:calc(var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-level-5 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-5 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-group-indent-6{padding-left:calc(var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row-group-indent-6{padding-right:calc(var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-level-6 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-6 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-group-indent-7{padding-left:calc(var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row-group-indent-7{padding-right:calc(var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-level-7 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-7 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-group-indent-8{padding-left:calc(var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row-group-indent-8{padding-right:calc(var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-level-8 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-8 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-group-indent-9{padding-left:calc(var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row-group-indent-9{padding-right:calc(var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-level-9 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-9 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-group-indent-10{padding-left:calc(var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row-group-indent-10{padding-right:calc(var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-level-10 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-10 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-group-indent-11{padding-left:calc(var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row-group-indent-11{padding-right:calc(var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-level-11 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-11 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-group-indent-12{padding-left:calc(var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row-group-indent-12{padding-right:calc(var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-level-12 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-12 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-group-indent-13{padding-left:calc(var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row-group-indent-13{padding-right:calc(var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-level-13 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-13 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-group-indent-14{padding-left:calc(var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row-group-indent-14{padding-right:calc(var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-level-14 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-14 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-group-indent-15{padding-left:calc(var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row-group-indent-15{padding-right:calc(var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-level-15 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-15 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-group-indent-16{padding-left:calc(var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row-group-indent-16{padding-right:calc(var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-level-16 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-16 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-group-indent-17{padding-left:calc(var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row-group-indent-17{padding-right:calc(var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-level-17 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-17 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-group-indent-18{padding-left:calc(var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row-group-indent-18{padding-right:calc(var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-level-18 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-18 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-group-indent-19{padding-left:calc(var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row-group-indent-19{padding-right:calc(var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-level-19 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-19 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-group-indent-20{padding-left:calc(var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row-group-indent-20{padding-right:calc(var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-level-20 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-20 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-group-indent-21{padding-left:calc(var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row-group-indent-21{padding-right:calc(var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-level-21 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-21 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-group-indent-22{padding-left:calc(var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row-group-indent-22{padding-right:calc(var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-level-22 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-22 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-group-indent-23{padding-left:calc(var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row-group-indent-23{padding-right:calc(var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-level-23 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-23 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-group-indent-24{padding-left:calc(var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row-group-indent-24{padding-right:calc(var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-level-24 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-24 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-group-indent-25{padding-left:calc(var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row-group-indent-25{padding-right:calc(var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-level-25 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-25 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-group-indent-26{padding-left:calc(var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row-group-indent-26{padding-right:calc(var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-level-26 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-26 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-group-indent-27{padding-left:calc(var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row-group-indent-27{padding-right:calc(var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-level-27 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-27 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-group-indent-28{padding-left:calc(var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row-group-indent-28{padding-right:calc(var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-level-28 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-28 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-group-indent-29{padding-left:calc(var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row-group-indent-29{padding-right:calc(var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-level-29 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-29 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-group-indent-30{padding-left:calc(var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row-group-indent-30{padding-right:calc(var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-level-30 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-30 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-group-indent-31{padding-left:calc(var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row-group-indent-31{padding-right:calc(var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-level-31 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-31 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-group-indent-32{padding-left:calc(var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row-group-indent-32{padding-right:calc(var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-level-32 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-32 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-group-indent-33{padding-left:calc(var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row-group-indent-33{padding-right:calc(var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-level-33 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-33 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-group-indent-34{padding-left:calc(var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row-group-indent-34{padding-right:calc(var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-level-34 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-34 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-group-indent-35{padding-left:calc(var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row-group-indent-35{padding-right:calc(var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-level-35 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-35 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-group-indent-36{padding-left:calc(var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row-group-indent-36{padding-right:calc(var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-level-36 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-36 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-group-indent-37{padding-left:calc(var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row-group-indent-37{padding-right:calc(var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-level-37 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-37 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-group-indent-38{padding-left:calc(var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row-group-indent-38{padding-right:calc(var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-level-38 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-38 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-group-indent-39{padding-left:calc(var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row-group-indent-39{padding-right:calc(var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-level-39 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-39 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-group-indent-40{padding-left:calc(var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row-group-indent-40{padding-right:calc(var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-level-40 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-40 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-group-indent-41{padding-left:calc(var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row-group-indent-41{padding-right:calc(var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-level-41 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-41 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-group-indent-42{padding-left:calc(var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row-group-indent-42{padding-right:calc(var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-level-42 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-42 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-group-indent-43{padding-left:calc(var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row-group-indent-43{padding-right:calc(var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-level-43 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-43 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-group-indent-44{padding-left:calc(var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row-group-indent-44{padding-right:calc(var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-level-44 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-44 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-group-indent-45{padding-left:calc(var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row-group-indent-45{padding-right:calc(var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-level-45 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-45 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-group-indent-46{padding-left:calc(var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row-group-indent-46{padding-right:calc(var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-level-46 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-46 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-group-indent-47{padding-left:calc(var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row-group-indent-47{padding-right:calc(var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-level-47 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-47 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-group-indent-48{padding-left:calc(var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row-group-indent-48{padding-right:calc(var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-level-48 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-48 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-group-indent-49{padding-left:calc(var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row-group-indent-49{padding-right:calc(var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-level-49 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-49 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-group-indent-50{padding-left:calc(var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row-group-indent-50{padding-right:calc(var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-level-50 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-50 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-group-indent-51{padding-left:calc(var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row-group-indent-51{padding-right:calc(var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-level-51 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-51 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-group-indent-52{padding-left:calc(var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row-group-indent-52{padding-right:calc(var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-level-52 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-52 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-group-indent-53{padding-left:calc(var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row-group-indent-53{padding-right:calc(var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-level-53 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-53 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-group-indent-54{padding-left:calc(var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row-group-indent-54{padding-right:calc(var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-level-54 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-54 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-group-indent-55{padding-left:calc(var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row-group-indent-55{padding-right:calc(var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-level-55 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-55 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-group-indent-56{padding-left:calc(var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row-group-indent-56{padding-right:calc(var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-level-56 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-56 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-group-indent-57{padding-left:calc(var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row-group-indent-57{padding-right:calc(var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-level-57 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-57 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-group-indent-58{padding-left:calc(var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row-group-indent-58{padding-right:calc(var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-level-58 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-58 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-group-indent-59{padding-left:calc(var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row-group-indent-59{padding-right:calc(var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-level-59 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-59 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-group-indent-60{padding-left:calc(var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row-group-indent-60{padding-right:calc(var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-level-60 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-60 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-group-indent-61{padding-left:calc(var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row-group-indent-61{padding-right:calc(var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-level-61 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-61 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-group-indent-62{padding-left:calc(var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row-group-indent-62{padding-right:calc(var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-level-62 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-62 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-group-indent-63{padding-left:calc(var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row-group-indent-63{padding-right:calc(var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-level-63 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-63 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-group-indent-64{padding-left:calc(var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row-group-indent-64{padding-right:calc(var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-level-64 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-64 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-group-indent-65{padding-left:calc(var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row-group-indent-65{padding-right:calc(var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-level-65 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-65 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-group-indent-66{padding-left:calc(var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row-group-indent-66{padding-right:calc(var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-level-66 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-66 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-group-indent-67{padding-left:calc(var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row-group-indent-67{padding-right:calc(var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-level-67 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-67 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-group-indent-68{padding-left:calc(var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row-group-indent-68{padding-right:calc(var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-level-68 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-68 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-group-indent-69{padding-left:calc(var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row-group-indent-69{padding-right:calc(var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-level-69 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-69 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-group-indent-70{padding-left:calc(var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row-group-indent-70{padding-right:calc(var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-level-70 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-70 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-group-indent-71{padding-left:calc(var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row-group-indent-71{padding-right:calc(var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-level-71 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-71 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-group-indent-72{padding-left:calc(var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row-group-indent-72{padding-right:calc(var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-level-72 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-72 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-group-indent-73{padding-left:calc(var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row-group-indent-73{padding-right:calc(var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-level-73 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-73 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-group-indent-74{padding-left:calc(var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row-group-indent-74{padding-right:calc(var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-level-74 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-74 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-group-indent-75{padding-left:calc(var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row-group-indent-75{padding-right:calc(var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-level-75 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-75 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-group-indent-76{padding-left:calc(var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row-group-indent-76{padding-right:calc(var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-level-76 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-76 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-group-indent-77{padding-left:calc(var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row-group-indent-77{padding-right:calc(var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-level-77 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-77 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-group-indent-78{padding-left:calc(var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row-group-indent-78{padding-right:calc(var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-level-78 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-78 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-group-indent-79{padding-left:calc(var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row-group-indent-79{padding-right:calc(var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-level-79 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-79 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-group-indent-80{padding-left:calc(var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row-group-indent-80{padding-right:calc(var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-level-80 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-80 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-group-indent-81{padding-left:calc(var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row-group-indent-81{padding-right:calc(var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-level-81 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-81 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-group-indent-82{padding-left:calc(var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row-group-indent-82{padding-right:calc(var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-level-82 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-82 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-group-indent-83{padding-left:calc(var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row-group-indent-83{padding-right:calc(var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-level-83 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-83 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-group-indent-84{padding-left:calc(var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row-group-indent-84{padding-right:calc(var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-level-84 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-84 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-group-indent-85{padding-left:calc(var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row-group-indent-85{padding-right:calc(var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-level-85 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-85 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-group-indent-86{padding-left:calc(var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row-group-indent-86{padding-right:calc(var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-level-86 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-86 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-group-indent-87{padding-left:calc(var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row-group-indent-87{padding-right:calc(var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-level-87 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-87 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-group-indent-88{padding-left:calc(var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row-group-indent-88{padding-right:calc(var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-level-88 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-88 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-group-indent-89{padding-left:calc(var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row-group-indent-89{padding-right:calc(var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-level-89 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-89 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-group-indent-90{padding-left:calc(var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row-group-indent-90{padding-right:calc(var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-level-90 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-90 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-group-indent-91{padding-left:calc(var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row-group-indent-91{padding-right:calc(var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-level-91 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-91 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-group-indent-92{padding-left:calc(var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row-group-indent-92{padding-right:calc(var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-level-92 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-92 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-group-indent-93{padding-left:calc(var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row-group-indent-93{padding-right:calc(var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-level-93 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-93 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-group-indent-94{padding-left:calc(var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row-group-indent-94{padding-right:calc(var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-level-94 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-94 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-group-indent-95{padding-left:calc(var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row-group-indent-95{padding-right:calc(var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-level-95 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-95 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-group-indent-96{padding-left:calc(var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row-group-indent-96{padding-right:calc(var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-level-96 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-96 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-group-indent-97{padding-left:calc(var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row-group-indent-97{padding-right:calc(var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-level-97 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-97 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-group-indent-98{padding-left:calc(var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row-group-indent-98{padding-right:calc(var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-level-98 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-98 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-group-indent-99{padding-left:calc(var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row-group-indent-99{padding-right:calc(var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-level-99 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-99 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row-group-leaf-indent{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-group-leaf-indent{margin-right:var(--ag-row-group-indent-size)}.ag-value-change-delta{padding-right:2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color 0.1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row{height:var(--ag-row-height);background-color:var(--ag-background-color);color:var(--ag-data-color);border-bottom:var(--ag-row-border-style) var(--ag-row-border-color) var(--ag-row-border-width)}.ag-row-highlight-above:after,.ag-row-highlight-below:after{content:"";position:absolute;width:calc(100% - 1px);height:1px;background-color:var(--ag-range-selection-border-color);left:1px}.ag-row-highlight-above:after{top:-1px}.ag-row-highlight-above.ag-row-first:after{top:0}.ag-row-highlight-below:after{bottom:0px}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-row-selected:before{content:"";background-color:var(--ag-selected-row-background-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{content:"";background-color:var(--ag-row-hover-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ag-row-hover.ag-full-width-row.ag-row-group>*{position:relative}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-ltr .ag-right-aligned-cell{text-align:right}.ag-rtl .ag-right-aligned-cell{text-align:left}.ag-ltr .ag-right-aligned-cell .ag-cell-value,.ag-ltr .ag-right-aligned-cell .ag-group-value{margin-left:auto}.ag-rtl .ag-right-aligned-cell .ag-cell-value,.ag-rtl .ag-right-aligned-cell .ag-group-value{margin-right:auto}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));border:1px solid transparent;line-height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));-webkit-font-smoothing:subpixel-antialiased}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group,.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:0.5}.ag-cell-inline-editing{border:1px solid var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0;background-color:var(--ag-control-panel-background-color)}.ag-autocomplete-list-popup,.ag-popup-editor .ag-large-text{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background-color:var(--ag-control-panel-background-color);padding:0}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-large-text-input textarea{resize:none}.ag-details-row{padding:calc(var(--ag-grid-size)*5);background-color:var(--ag-background-color)}.ag-layout-auto-height .ag-center-cols-container,.ag-layout-auto-height .ag-center-cols-viewport,.ag-layout-print .ag-center-cols-container,.ag-layout-print .ag-center-cols-viewport{min-height:50px}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-overlay-loading-center{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:var(--ag-grid-size)}.ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-loading{display:flex;height:100%;align-items:center}.ag-ltr .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-name:spin;animation-duration:1000ms;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}.ag-floating-top{border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-floating-bottom{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-cell{border-right:var(--ag-cell-horizontal-border)}.ag-rtl .ag-cell{border-left:var(--ag-cell-horizontal-border)}.ag-ltr .ag-cell{border-right-width:1px}.ag-rtl .ag-cell{border-left-width:1px}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-cell-range-selected:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:var(--ag-range-selection-chart-background-color)!important}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:var(--ag-range-selection-chart-category-background-color)!important}.ag-cell-range-selected-1:not(.ag-cell-focus),.ag-root:not(.ag-context-menu-open) .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-cell-range-selected-2:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-2)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-cell-range-selected-3:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-3)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-cell-range-selected-4:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-4)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:var(--ag-range-selection-border-color);border-top-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:var(--ag-range-selection-border-color);border-right-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:var(--ag-range-selection-border-color);border-bottom-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:var(--ag-range-selection-border-color);border-left-style:var(--ag-range-selection-border-style)}.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-ltr .ag-cell-range-single-cell,.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-rtl .ag-cell-range-single-cell,.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border-color:currentcolor;border-style:solid;border:1px var(--ag-range-selection-border-style) var(--ag-range-selection-border-color);outline:initial}.ag-cell.ag-selection-fill-top,.ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-right,.ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-right,.ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-cell.ag-selection-fill-bottom,.ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-left,.ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-left,.ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-fill-handle,.ag-range-handle{position:absolute;width:6px;height:6px;bottom:-1px;background-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-fill-handle,.ag-ltr .ag-range-handle{right:-1px}.ag-rtl .ag-fill-handle,.ag-rtl .ag-range-handle{left:-1px}.ag-fill-handle{cursor:cell}.ag-range-handle{cursor:nwse-resize}.ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-menu{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background-color:var(--ag-menu-background-color);border-color:var(--ag-menu-border-color);padding:0}.ag-menu-list{cursor:default;padding:var(--ag-grid-size) 0}.ag-menu-separator{height:calc(var(--ag-grid-size)*2 + 1px)}.ag-menu-separator-part:after{content:"";display:block;border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-compact-menu-option-active,.ag-menu-option-active{background-color:var(--ag-row-hover-color)}.ag-compact-menu-option-part,.ag-menu-option-part{line-height:var(--ag-icon-size);padding:calc(var(--ag-grid-size) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{opacity:0.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}.ag-ltr .ag-compact-menu-option-icon,.ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-compact-menu-option-icon,.ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-grid-size)*2);padding-right:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-compact-menu-option-shortcut,.ag-ltr .ag-menu-option-shortcut{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-shortcut,.ag-rtl .ag-menu-option-shortcut{padding-left:var(--ag-grid-size)}.ag-ltr .ag-compact-menu-option-popup-pointer,.ag-ltr .ag-menu-option-popup-pointer{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-popup-pointer,.ag-rtl .ag-menu-option-popup-pointer{padding-left:var(--ag-grid-size)}.ag-tabs{min-width:var(--ag-tab-min-width)}.ag-tab,.ag-tabs-header{display:flex}.ag-tab{border-bottom:var(--ag-selected-tab-underline-width) solid transparent;transition:border-bottom var(--ag-selected-tab-underline-transition-speed);flex:none;align-items:center;justify-content:center;cursor:pointer}.ag-tab:focus-visible{outline:none}.ag-tab:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-tab-selected{border-bottom-color:var(--ag-selected-tab-underline-color)}.ag-menu-header{color:var(--ag-secondary-foreground-color)}.ag-filter-separator{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-filter-select .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}.ag-ltr .ag-filter-condition-operator-or{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-condition-operator-or{margin-right:calc(var(--ag-grid-size)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-top:var(--ag-widget-container-vertical-padding);margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-item{padding:0px var(--ag-widget-container-horizontal-padding)}.ag-ltr .ag-set-filter-indent-1{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*1)}.ag-rtl .ag-set-filter-indent-1{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*1)}.ag-ltr .ag-set-filter-indent-2{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*2)}.ag-rtl .ag-set-filter-indent-2{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*2)}.ag-ltr .ag-set-filter-indent-3{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*3)}.ag-rtl .ag-set-filter-indent-3{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*3)}.ag-ltr .ag-set-filter-indent-4{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*4)}.ag-rtl .ag-set-filter-indent-4{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*4)}.ag-ltr .ag-set-filter-indent-5{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*5)}.ag-rtl .ag-set-filter-indent-5{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*5)}.ag-ltr .ag-set-filter-indent-6{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*6)}.ag-rtl .ag-set-filter-indent-6{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*6)}.ag-ltr .ag-set-filter-indent-7{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*7)}.ag-rtl .ag-set-filter-indent-7{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*7)}.ag-ltr .ag-set-filter-indent-8{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*8)}.ag-rtl .ag-set-filter-indent-8{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*8)}.ag-ltr .ag-set-filter-indent-9{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*9)}.ag-rtl .ag-set-filter-indent-9{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*9)}.ag-ltr .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}.ag-rtl .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}.ag-ltr .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-menu .ag-set-filter-list{min-width:200px}.ag-filter-virtual-list-item:focus-visible{outline:none}.ag-filter-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-apply-panel{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-filter-apply-panel-button{line-height:1.5}.ag-ltr .ag-filter-apply-panel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-apply-panel-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-simple-filter-body-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));overflow-y:auto;min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing))}.ag-simple-filter-body-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-simple-filter-body-wrapper .ag-resizer-wrapper{margin:0}.ag-menu:not(.ag-tabs) .ag-filter .ag-simple-filter-body-wrapper,.ag-menu:not(.ag-tabs) .ag-filter>:not(.ag-filter-wrapper){min-width:calc(var(--ag-menu-min-width) - 2px)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-multi-filter-menu-item{margin:var(--ag-grid-size) 0}.ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*2) var(--ag-grid-size);background-color:transparent}.ag-group-filter-field-select-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-group-filter-field-select-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-multi-filter-group-title-bar:focus-visible{outline:none}.ag-multi-filter-group-title-bar:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-side-bar{position:relative}.ag-tool-panel-wrapper{width:var(--ag-side-bar-panel-width);background-color:var(--ag-control-panel-background-color)}.ag-side-buttons{padding-top:calc(var(--ag-grid-size)*4);width:calc(var(--ag-icon-size) + 4px);position:relative;overflow:hidden}button.ag-side-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:transparent;padding:calc(var(--ag-grid-size)*2) 0 calc(var(--ag-grid-size)*2) 0;width:100%;margin:0;min-height:calc(var(--ag-grid-size)*18);background-position-y:center;background-position-x:center;background-repeat:no-repeat;border:none;border-top:var(--ag-borders-side-button) var(--ag-border-color);border-bottom:var(--ag-borders-side-button) var(--ag-border-color)}button.ag-side-button-button:focus{box-shadow:none}.ag-side-button-button:focus-visible{outline:none}.ag-side-button-button:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-selected button.ag-side-button-button{background-color:var(--ag-side-button-selected-background-color)}.ag-side-button-icon-wrapper{margin-bottom:3px}.ag-ltr .ag-side-bar-left,.ag-rtl .ag-side-bar-right{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:var(--ag-selected-tab-underline-width) solid transparent;transition:border-right var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:var(--ag-selected-tab-underline-color)}.ag-ltr .ag-side-bar-right,.ag-rtl .ag-side-bar-left{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:var(--ag-selected-tab-underline-width) solid transparent;transition:border-left var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:var(--ag-selected-tab-underline-color)}.ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*6)}.ag-filter-toolpanel-header,.ag-filter-toolpanel-search{padding:0 var(--ag-grid-size)}.ag-filter-toolpanel-header:focus-visible{outline:none}.ag-filter-toolpanel-header:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-family:var(--ag-icon-font-family);font-weight:var(--ag-icon-font-weight);color:var(--ag-icon-font-color);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--ag-icon-font-code-filter,"\\f115");position:absolute}.ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*8)}.ag-filter-toolpanel-group-item{margin-top:calc(var(--ag-grid-size)*0.5);margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-filter-toolpanel-search{height:var(--ag-header-height)}.ag-filter-toolpanel-search-input{flex-grow:1;height:calc(var(--ag-grid-size)*4)}.ag-ltr .ag-filter-toolpanel-search-input{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-search-input{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-ltr .ag-filter-toolpanel-expand,.ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-expand,.ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:var(--ag-grid-size)}.ag-filter-toolpanel-instance-filter{border-bottom:var(--ag-borders) var(--ag-border-color);border-top:var(--ag-borders) var(--ag-border-color);margin-top:var(--ag-grid-size)}.ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:var(--ag-grid-size)}.ag-set-filter-group-icons{color:var(--ag-secondary-foreground-color)}.ag-pivot-mode-panel{min-height:var(--ag-header-height);height:var(--ag-header-height);display:flex}.ag-pivot-mode-select{display:flex;align-items:center}.ag-ltr .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-column-select-header:focus-visible{outline:none}.ag-column-select-header:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-header{height:var(--ag-header-height);align-items:center;padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select,.ag-column-select-header{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-panel-column-select{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-group-icons,.ag-column-select-header-icon{color:var(--ag-secondary-foreground-color)}.ag-column-select-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-column-select-list .ag-item-highlight-top:after{top:0}.ag-column-select-list .ag-item-highlight-bottom:after{bottom:0}.ag-advanced-filter-header,.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-row{color:var(--ag-header-foreground-color);height:var(--ag-header-height)}.ag-pinned-right-header{border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-pinned-left-header{border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon{margin-left:var(--ag-grid-size)}.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-menu-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-menu-icon{margin-left:var(--ag-grid-size)}.ag-header-cell,.ag-header-group-cell{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-header-cell.ag-header-cell-moving,.ag-header-group-cell.ag-header-cell-moving{background-color:var(--ag-header-cell-moving-background-color)}.ag-ltr .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-header-cell:focus-visible{outline:none}.ag-header-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-group-cell:focus-visible{outline:none}.ag-header-group-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-advanced-filter-header-cell:focus-visible{outline:none}.ag-advanced-filter-header-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-icon{color:var(--ag-secondary-foreground-color)}.ag-header-expand-icon{cursor:pointer}.ag-ltr .ag-header-expand-icon{margin-left:4px}.ag-rtl .ag-header-expand-icon{margin-right:4px}.ag-header-row:not(:first-child) .ag-header-cell:not(.ag-header-span-height.ag-header-span-total),.ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-cell:not(.ag-column-hover):first-of-type.ag-column-resizing,.ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving):hover,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover,.ag-header-group-cell:first-of-type.ag-column-resizing,.ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover{background-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:before,.ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{content:"";position:absolute;z-index:1;display:var(--ag-header-column-separator-display);width:var(--ag-header-column-separator-width);height:var(--ag-header-column-separator-height);top:calc(50% - var(--ag-header-column-separator-height)*0.5);background-color:var(--ag-header-column-separator-color)}.ag-ltr .ag-header-cell:before,.ag-ltr .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{right:0}.ag-rtl .ag-header-cell:before,.ag-rtl .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{left:0}.ag-header-cell-resize{display:flex;align-items:center}.ag-header-cell-resize:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-resize-handle-display);width:var(--ag-header-column-resize-handle-width);height:var(--ag-header-column-resize-handle-height);top:calc(50% - var(--ag-header-column-resize-handle-height)*0.5);background-color:var(--ag-header-column-resize-handle-color)}.ag-header-cell.ag-header-span-height .ag-header-cell-resize:after{height:calc(100% - var(--ag-grid-size)*4);top:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-header-viewport .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-rtl .ag-header-viewport .ag-header-cell-resize:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-left-header .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-ltr .ag-header-select-all{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-select-all{margin-left:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-floating-filter-button{margin-left:var(--ag-cell-widget-spacing)}.ag-rtl .ag-floating-filter-button{margin-right:var(--ag-cell-widget-spacing)}.ag-floating-filter-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;background:transparent;border:none;height:var(--ag-icon-size);padding:0;width:var(--ag-icon-size)}.ag-filter-loading{background-color:var(--ag-control-panel-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1}.ag-paging-panel{border-top:1px solid;border-top-color:var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-paging-panel>*{margin:0 var(--ag-cell-horizontal-padding)}.ag-paging-panel>.ag-paging-page-size .ag-wrapper{min-width:calc(var(--ag-grid-size)*10)}.ag-paging-button{cursor:pointer}.ag-paging-button.ag-disabled{cursor:default;color:var(--ag-disabled-foreground-color)}.ag-paging-button:focus-visible{outline:none}.ag-paging-button:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0px;left:0px;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-paging-button,.ag-paging-description{margin:0 var(--ag-grid-size)}.ag-status-bar{border-top:var(--ag-borders) var(--ag-border-color);color:var(--ag-disabled-foreground-color);padding-right:calc(var(--ag-grid-size)*4);padding-left:calc(var(--ag-grid-size)*4);line-height:1.5}.ag-status-name-value-value{color:var(--ag-foreground-color)}.ag-status-bar-center{text-align:center}.ag-status-name-value{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size);padding-top:calc(var(--ag-grid-size)*2);padding-bottom:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell{background:var(--ag-chip-background-color);border-radius:calc(var(--ag-grid-size)*4);height:calc(var(--ag-grid-size)*4);padding:0 calc(var(--ag-grid-size)*0.5);border:1px solid var(--ag-chip-border-color)}.ag-column-drop-cell:focus-visible{outline:none}.ag-column-drop-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:2px;left:2px;display:block;width:calc(100% - 4px);height:calc(100% - 4px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-drop-cell-text{margin:0 var(--ag-grid-size)}.ag-column-drop-cell-button{min-width:calc(var(--ag-grid-size)*4);margin:0 calc(var(--ag-grid-size)*0.5);color:var(--ag-secondary-foreground-color)}.ag-column-drop-cell-drag-handle{margin-left:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell-ghost{opacity:0.5}.ag-column-drop-horizontal{background-color:var(--ag-header-background-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-column-drop-horizontal{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:var(--ag-borders) var(--ag-border-color)}.ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:var(--ag-borders) var(--ag-border-color)}.ag-column-drop-horizontal-cell-separator{margin:0 var(--ag-grid-size);color:var(--ag-secondary-foreground-color)}.ag-column-drop-horizontal-empty-message{color:var(--ag-disabled-foreground-color)}.ag-ltr .ag-column-drop-horizontal-icon{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal-icon{margin-left:var(--ag-cell-horizontal-padding)}.ag-column-drop-vertical-list{padding-bottom:var(--ag-grid-size);padding-right:var(--ag-grid-size);padding-left:var(--ag-grid-size)}.ag-column-drop-vertical-cell{margin-top:var(--ag-grid-size)}.ag-column-drop-vertical{min-height:50px;border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-column-drop-vertical-icon{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size)}.ag-column-drop-vertical-empty-message{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;color:var(--ag-disabled-foreground-color);margin-top:var(--ag-grid-size)}.ag-select-agg-func-popup{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background:var(--ag-background-color);height:calc(var(--ag-grid-size)*5*3.5);padding:0}.ag-select-agg-func-virtual-list-item{cursor:default}.ag-ltr .ag-select-agg-func-virtual-list-item{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-select-agg-func-virtual-list-item{padding-right:calc(var(--ag-grid-size)*2)}.ag-select-agg-func-virtual-list-item:hover{background-color:var(--ag-selected-row-background-color)}.ag-select-agg-func-virtual-list-item:focus-visible{outline:none}.ag-select-agg-func-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-sort-indicator-container{display:flex}.ag-ltr .ag-sort-indicator-icon{padding-left:var(--ag-grid-size)}.ag-rtl .ag-sort-indicator-icon{padding-right:var(--ag-grid-size)}.ag-chart{width:100%;height:100%}.ag-chart,.ag-chart-components-wrapper{position:relative;display:flex;overflow:hidden}.ag-chart-components-wrapper{flex:1 1 auto}.ag-chart-title-edit{position:absolute;display:none;top:0;left:0;text-align:center}.ag-chart-title-edit.currently-editing{display:inline-block}.ag-chart-canvas-wrapper{position:relative;flex:1 1 auto;overflow:hidden}.ag-charts-canvas{display:block}.ag-chart-menu{position:absolute;top:16px;display:flex;flex-direction:column}.ag-ltr .ag-chart-menu{right:20px}.ag-rtl .ag-chart-menu{left:20px}.ag-chart-docked-container{position:relative;width:0;min-width:0;transition:min-width 0.4s}.ag-chart-menu-hidden~.ag-chart-docked-container{max-width:0;overflow:hidden}.ag-chart-tabbed-menu{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.ag-chart-tabbed-menu-header{flex:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ag-chart-tabbed-menu-body{display:flex;flex:1 1 auto;align-items:stretch;overflow:hidden}.ag-chart-tab{width:100%;overflow:hidden;overflow-y:auto}.ag-chart-settings{overflow-x:hidden}.ag-chart-settings-wrapper{position:relative;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.ag-chart-settings-nav-bar{display:flex;align-items:center;width:100%;height:30px;padding:0 10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-chart-settings-card-selector{display:flex;align-items:center;justify-content:space-around;flex:1 1 auto;height:100%;padding:0 10px}.ag-chart-settings-card-item{cursor:pointer;width:10px;height:10px;background-color:#000;position:relative}.ag-chart-settings-card-item.ag-not-selected{opacity:0.2}.ag-chart-settings-card-item:before{content:" ";display:block;position:absolute;background-color:transparent;left:50%;top:50%;margin-left:-10px;margin-top:-10px;width:20px;height:20px}.ag-chart-settings-next,.ag-chart-settings-prev{position:relative;flex:none}.ag-chart-settings-next-button,.ag-chart-settings-prev-button{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.ag-chart-settings-mini-charts-container{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto}.ag-chart-settings-mini-wrapper{position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100%;overflow:hidden}.ag-chart-settings-mini-wrapper.ag-animating{transition:left 0.3s;transition-timing-function:ease-in-out}.ag-chart-mini-thumbnail{cursor:pointer}.ag-chart-mini-thumbnail-canvas{display:block}.ag-chart-data-wrapper,.ag-chart-format-wrapper{display:flex;flex-direction:column;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding-bottom:16px}.ag-chart-data-wrapper{height:100%;overflow-y:auto}.ag-chart-empty-text{display:flex;top:0;width:100%;height:100%;align-items:center;justify-content:center;background-color:var(--ag-background-color)}.ag-chart .ag-chart-menu{display:none}.ag-chart-menu-hidden:hover .ag-chart-menu{display:block}.ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{display:flex;flex-direction:row;top:8px;gap:20px;width:auto}.ag-ltr .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{right:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:right}.ag-rtl .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{left:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:left}.ag-chart-menu-close{display:none}.ag-chart-tool-panel-button-enable .ag-chart-menu-close{position:absolute;top:50%;transition:transform 0.33s ease-in-out;padding:0;display:block;cursor:pointer;border:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{right:0px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{left:0px}.ag-chart-tool-panel-button-enable .ag-chart-menu-close .ag-icon{padding:14px 5px 14px 2px;width:auto;height:auto}.ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{content:"";position:absolute;top:-40px;bottom:-40px}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:0px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:0px}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:-10px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:-10px}.ag-chart-tool-panel-button-enable .ag-icon-menu{display:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(3px,-50%)}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-ltr .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(5px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(-3px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-rtl .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(-5px,-50%)}.ag-charts-font-size-color{display:flex;align-self:stretch;justify-content:space-between}.ag-charts-data-group-item{position:relative}.ag-chart-menu{background:var(--ag-background-color)}.ag-chart-menu,.ag-chart-menu-icon{border-radius:var(--ag-card-radius)}.ag-chart-menu-icon{opacity:0.5;margin:2px 0;cursor:pointer;color:var(--ag-secondary-foreground-color)}.ag-chart-menu-icon:hover{opacity:1}.ag-chart-mini-thumbnail{border:1px solid var(--ag-secondary-border-color);border-radius:5px}.ag-chart-mini-thumbnail.ag-selected{border-color:var(--ag-minichart-selected-chart-color)}.ag-chart-settings-card-item{background:var(--ag-foreground-color);width:8px;height:8px;border-radius:4px}.ag-chart-settings-card-item.ag-selected{background-color:var(--ag-minichart-selected-page-color)}.ag-chart-data-column-drag-handle{margin-left:var(--ag-grid-size)}.ag-charts-data-group-title-bar,.ag-charts-format-top-level-group-title-bar,.ag-charts-settings-group-title-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-charts-data-group-container{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) var(--ag-widget-container-horizontal-padding)}.ag-charts-data-group-container .ag-charts-data-group-item:not(.ag-charts-format-sub-level-group){height:var(--ag-list-item-height)}.ag-charts-data-group-container .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-charts-data-group-container .ag-item-highlight-top:after{top:0}.ag-charts-data-group-container .ag-item-highlight-bottom:after{bottom:0}.ag-charts-format-top-level-group-container{margin-left:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size)}.ag-charts-format-top-level-group-item{margin:var(--ag-grid-size) 0}.ag-charts-format-sub-level-group-container{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-charts-format-sub-level-group-container>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-charts-settings-group-container{padding:var(--ag-grid-size);row-gap:8px;display:grid;grid-template-columns:60px 1fr 60px 1fr 60px}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+1){grid-column:1}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+2){grid-column:3}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+3){grid-column:5}.ag-chart-data-section,.ag-chart-format-section{display:flex;margin:0}.ag-chart-menu-panel{background-color:var(--ag-control-panel-background-color)}.ag-ltr .ag-chart-menu-panel{border-left:1px solid var(--ag-border-color)}.ag-rtl .ag-chart-menu-panel{border-right:1px solid var(--ag-border-color)}.ag-date-time-list-page-title-bar{display:flex}.ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-date-time-list-page-column-labels-row,.ag-date-time-list-page-entries-row{display:flex}.ag-date-time-list-page-column-label,.ag-date-time-list-page-entry{flex-basis:0;flex-grow:1}.ag-date-time-list-page-entry{cursor:pointer;text-align:center}.ag-date-time-list-page-column-label{text-align:center}.ag-advanced-filter-header{position:relative;display:flex;align-items:center;padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-advanced-filter{display:flex;align-items:center;width:100%}.ag-advanced-filter-apply-button,.ag-advanced-filter-builder-button{line-height:normal;white-space:nowrap}.ag-ltr .ag-advanced-filter-apply-button,.ag-ltr .ag-advanced-filter-builder-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-advanced-filter-apply-button,.ag-rtl .ag-advanced-filter-builder-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-button{display:flex;align-items:center;border:0;background-color:unset;color:var(--ag-foreground-color);font-size:var(--ag-font-size);font-weight:600}.ag-advanced-filter-builder-button:hover:not(:disabled){background-color:var(--ag-row-hover-color)}.ag-advanced-filter-builder-button:not(:disabled){cursor:pointer}.ag-advanced-filter-builder-button-label{margin-left:var(--ag-grid-size)}.ag-advanced-filter-builder{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;background-color:var(--ag-control-panel-background-color);display:flex;flex-direction:column}.ag-advanced-filter-builder-list{flex:1;overflow:auto}.ag-advanced-filter-builder-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-advanced-filter-builder-list .ag-item-highlight-top:after{top:0}.ag-advanced-filter-builder-list .ag-item-highlight-bottom:after{bottom:0}.ag-advanced-filter-builder-button-panel{display:flex;justify-content:flex-end;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-apply-button,.ag-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-cancel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-item-wrapper{display:flex;flex:1 1 auto;align-items:center;justify-content:space-between;overflow:hidden;padding-left:calc(var(--ag-icon-size)/2);padding-right:var(--ag-icon-size)}.ag-advanced-filter-builder-item-tree-lines>*{width:var(--ag-advanced-filter-builder-indent-size)}.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root{width:var(--ag-icon-size)}.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root:before{top:50%;height:50%}.ag-advanced-filter-builder-item-tree-line-horizontal,.ag-advanced-filter-builder-item-tree-line-vertical,.ag-advanced-filter-builder-item-tree-line-vertical-bottom,.ag-advanced-filter-builder-item-tree-line-vertical-top{position:relative;height:100%;display:flex;align-items:center}.ag-advanced-filter-builder-item-tree-line-horizontal:after,.ag-advanced-filter-builder-item-tree-line-horizontal:before,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:after,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before,.ag-advanced-filter-builder-item-tree-line-vertical-top:after,.ag-advanced-filter-builder-item-tree-line-vertical-top:before,.ag-advanced-filter-builder-item-tree-line-vertical:after,.ag-advanced-filter-builder-item-tree-line-vertical:before{content:"";position:absolute;height:100%}.ag-advanced-filter-builder-item-tree-line-horizontal:after{height:50%;width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size));top:0;left:calc(var(--ag-icon-size)/2);border-left-color:var(--ag-border-color);border-bottom:1px solid;border-bottom-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color)}.ag-advanced-filter-builder-item-tree-line-vertical-top:before,.ag-advanced-filter-builder-item-tree-line-vertical:before{width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size)/2);top:0;left:calc(var(--ag-icon-size)/2);border-left:1px solid;border-left-color:var(--ag-border-color);border-bottom-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color)}.ag-advanced-filter-builder-item-tree-line-vertical-top:before{height:50%}.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before{height:calc(50% - var(--ag-icon-size)*1.5/2);width:calc(var(--ag-icon-size)/2);top:calc(50% + var(--ag-icon-size)*1.5/2);left:calc(var(--ag-icon-size)/2);border-left:1px solid;border-left-color:var(--ag-border-color);border-bottom-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color)}.ag-advanced-filter-builder-item-condition{padding-top:var(--ag-grid-size);padding-bottom:var(--ag-grid-size)}.ag-advanced-filter-builder-item,.ag-advanced-filter-builder-item-buttons,.ag-advanced-filter-builder-item-condition,.ag-advanced-filter-builder-item-tree-lines,.ag-advanced-filter-builder-pill,.ag-advanced-filter-builder-pill-wrapper{display:flex;align-items:center;height:100%}.ag-advanced-filter-builder-pill-wrapper{margin:0px var(--ag-grid-size)}.ag-advanced-filter-builder-pill{position:relative;border-radius:var(--ag-border-radius);padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);min-height:calc(100% - var(--ag-grid-size)*3);min-width:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-pill .ag-picker-field-display{margin-right:var(--ag-grid-size)}.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-number{font-family:monospace;font-weight:700}.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-empty{color:var(--ag-disabled-foreground-color)}.ag-advanced-filter-builder-pill:focus-visible{outline:none}.ag-advanced-filter-builder-pill:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:-4px;left:-4px;display:block;width:calc(100% + 8px);height:calc(100% + 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-advanced-filter-builder-item-button:focus-visible{outline:none}.ag-advanced-filter-builder-item-button:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:-4px;left:-4px;display:block;width:calc(100% + 8px);height:calc(100% + 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-advanced-filter-builder-pill-display{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ag-advanced-filter-builder-join-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-join-pill-color);cursor:pointer}.ag-advanced-filter-builder-column-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-column-pill-color);cursor:pointer}.ag-advanced-filter-builder-option-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-option-pill-color);cursor:pointer}.ag-advanced-filter-builder-value-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-value-pill-color);cursor:text;max-width:140px}.ag-advanced-filter-builder-value-pill .ag-advanced-filter-builder-pill-display{display:block}.ag-advanced-filter-builder-item-buttons>*{margin:0 calc(var(--ag-grid-size)*0.5)}.ag-advanced-filter-builder-item-button{position:relative;cursor:pointer;color:var(--ag-secondary-foreground-color);opacity:50%}.ag-advanced-filter-builder-item-button-disabled{color:var(--ag-disabled-foreground-color);cursor:default}.ag-advanced-filter-builder-virtual-list-container{top:var(--ag-grid-size)}.ag-advanced-filter-builder-virtual-list-item{display:flex;cursor:default;height:var(--ag-list-item-height)}.ag-advanced-filter-builder-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-advanced-filter-builder-validation .ag-advanced-filter-builder-invalid,.ag-advanced-filter-builder-virtual-list-item-highlight .ag-advanced-filter-builder-item-button:focus-visible,.ag-advanced-filter-builder-virtual-list-item:hover .ag-advanced-filter-builder-item-button{opacity:100%}.ag-advanced-filter-builder-invalid{margin:0 var(--ag-grid-size);color:var(--ag-invalid-color);cursor:default}',""])},function(e,t,a){var r=a(11);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'.ag-icon{font-family:var(--ag-icon-font-family);font-weight:var(--ag-icon-font-weight);color:var(--ag-icon-font-color);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);position:relative}.ag-icon:before{content:""}.ag-icon:after{background:transparent var(--ag-icon-image,none) 50%/contain no-repeat;display:var(--ag-icon-image-display);opacity:var(--ag-icon-image-opacity,0.9);position:absolute;inset:0;content:""}.ag-icon-aggregation{font-family:var(--ag-icon-font-family-aggregation,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-aggregation,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-aggregation,var(--ag-icon-font-color))}.ag-icon-aggregation:before{content:var(--ag-icon-font-code-aggregation,"\\f101");display:var(--ag-icon-font-display-aggregation,var(--ag-icon-font-display))}.ag-icon-aggregation:after{background-image:var(--ag-icon-image-aggregation,var(--ag-icon-image));display:var(--ag-icon-image-display-aggregation,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-aggregation,var(--ag-icon-image-opacity,0.9))}.ag-icon-arrows{font-family:var(--ag-icon-font-family-arrows,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-arrows,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-arrows,var(--ag-icon-font-color))}.ag-icon-arrows:before{content:var(--ag-icon-font-code-arrows,"\\f102");display:var(--ag-icon-font-display-arrows,var(--ag-icon-font-display))}.ag-icon-arrows:after{background-image:var(--ag-icon-image-arrows,var(--ag-icon-image));display:var(--ag-icon-image-display-arrows,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-arrows,var(--ag-icon-image-opacity,0.9))}.ag-icon-asc{font-family:var(--ag-icon-font-family-asc,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-asc,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-asc,var(--ag-icon-font-color))}.ag-icon-asc:before{content:var(--ag-icon-font-code-asc,"\\f103");display:var(--ag-icon-font-display-asc,var(--ag-icon-font-display))}.ag-icon-asc:after{background-image:var(--ag-icon-image-asc,var(--ag-icon-image));display:var(--ag-icon-image-display-asc,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-asc,var(--ag-icon-image-opacity,0.9))}.ag-icon-cancel{font-family:var(--ag-icon-font-family-cancel,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cancel,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-cancel,var(--ag-icon-font-color))}.ag-icon-cancel:before{content:var(--ag-icon-font-code-cancel,"\\f104");display:var(--ag-icon-font-display-cancel,var(--ag-icon-font-display))}.ag-icon-cancel:after{background-image:var(--ag-icon-image-cancel,var(--ag-icon-image));display:var(--ag-icon-image-display-cancel,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cancel,var(--ag-icon-image-opacity,0.9))}.ag-icon-chart{font-family:var(--ag-icon-font-family-chart,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-chart,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-chart,var(--ag-icon-font-color))}.ag-icon-chart:before{content:var(--ag-icon-font-code-chart,"\\f105");display:var(--ag-icon-font-display-chart,var(--ag-icon-font-display))}.ag-icon-chart:after{background-image:var(--ag-icon-image-chart,var(--ag-icon-image));display:var(--ag-icon-image-display-chart,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-chart,var(--ag-icon-image-opacity,0.9))}.ag-icon-checkbox-checked{font-family:var(--ag-icon-font-family-checkbox-checked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-checked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-checkbox-checked,var(--ag-icon-font-color))}.ag-icon-checkbox-checked:before{content:var(--ag-icon-font-code-checkbox-checked,"\\f106");display:var(--ag-icon-font-display-checkbox-checked,var(--ag-icon-font-display))}.ag-icon-checkbox-checked:after{background-image:var(--ag-icon-image-checkbox-checked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-checked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-checked,var(--ag-icon-image-opacity,0.9))}.ag-icon-checkbox-indeterminate{font-family:var(--ag-icon-font-family-checkbox-indeterminate,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-indeterminate,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-checkbox-indeterminate,var(--ag-icon-font-color))}.ag-icon-checkbox-indeterminate:before{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107");display:var(--ag-icon-font-display-checkbox-indeterminate,var(--ag-icon-font-display))}.ag-icon-checkbox-indeterminate:after{background-image:var(--ag-icon-image-checkbox-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-indeterminate,var(--ag-icon-image-opacity,0.9))}.ag-icon-checkbox-unchecked{font-family:var(--ag-icon-font-family-checkbox-unchecked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-unchecked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-checkbox-unchecked,var(--ag-icon-font-color))}.ag-icon-checkbox-unchecked:before{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108");display:var(--ag-icon-font-display-checkbox-unchecked,var(--ag-icon-font-display))}.ag-icon-checkbox-unchecked:after{background-image:var(--ag-icon-image-checkbox-unchecked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-unchecked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-unchecked,var(--ag-icon-image-opacity,0.9))}.ag-icon-color-picker{font-family:var(--ag-icon-font-family-color-picker,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-color-picker,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-color-picker,var(--ag-icon-font-color))}.ag-icon-color-picker:before{content:var(--ag-icon-font-code-color-picker,"\\f109");display:var(--ag-icon-font-display-color-picker,var(--ag-icon-font-display))}.ag-icon-color-picker:after{background-image:var(--ag-icon-image-color-picker,var(--ag-icon-image));display:var(--ag-icon-image-display-color-picker,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-color-picker,var(--ag-icon-image-opacity,0.9))}.ag-icon-columns{font-family:var(--ag-icon-font-family-columns,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-columns,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-columns,var(--ag-icon-font-color))}.ag-icon-columns:before{content:var(--ag-icon-font-code-columns,"\\f10a");display:var(--ag-icon-font-display-columns,var(--ag-icon-font-display))}.ag-icon-columns:after{background-image:var(--ag-icon-image-columns,var(--ag-icon-image));display:var(--ag-icon-image-display-columns,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-columns,var(--ag-icon-image-opacity,0.9))}.ag-icon-contracted{font-family:var(--ag-icon-font-family-contracted,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-contracted,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-contracted,var(--ag-icon-font-color))}.ag-icon-contracted:before{content:var(--ag-icon-font-code-contracted,"\\f10b");display:var(--ag-icon-font-display-contracted,var(--ag-icon-font-display))}.ag-icon-contracted:after{background-image:var(--ag-icon-image-contracted,var(--ag-icon-image));display:var(--ag-icon-image-display-contracted,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-contracted,var(--ag-icon-image-opacity,0.9))}.ag-icon-copy{font-family:var(--ag-icon-font-family-copy,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-copy,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-copy,var(--ag-icon-font-color))}.ag-icon-copy:before{content:var(--ag-icon-font-code-copy,"\\f10c");display:var(--ag-icon-font-display-copy,var(--ag-icon-font-display))}.ag-icon-copy:after{background-image:var(--ag-icon-image-copy,var(--ag-icon-image));display:var(--ag-icon-image-display-copy,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-copy,var(--ag-icon-image-opacity,0.9))}.ag-icon-cross{font-family:var(--ag-icon-font-family-cross,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cross,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-cross,var(--ag-icon-font-color))}.ag-icon-cross:before{content:var(--ag-icon-font-code-cross,"\\f10d");display:var(--ag-icon-font-display-cross,var(--ag-icon-font-display))}.ag-icon-cross:after{background-image:var(--ag-icon-image-cross,var(--ag-icon-image));display:var(--ag-icon-image-display-cross,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cross,var(--ag-icon-image-opacity,0.9))}.ag-icon-csv{font-family:var(--ag-icon-font-family-csv,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-csv,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-csv,var(--ag-icon-font-color))}.ag-icon-csv:before{content:var(--ag-icon-font-code-csv,"\\f10e");display:var(--ag-icon-font-display-csv,var(--ag-icon-font-display))}.ag-icon-csv:after{background-image:var(--ag-icon-image-csv,var(--ag-icon-image));display:var(--ag-icon-image-display-csv,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-csv,var(--ag-icon-image-opacity,0.9))}.ag-icon-cut{font-family:var(--ag-icon-font-family-cut,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cut,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-cut,var(--ag-icon-font-color))}.ag-icon-cut:before{content:var(--ag-icon-font-code-cut,"\\f10f");display:var(--ag-icon-font-display-cut,var(--ag-icon-font-display))}.ag-icon-cut:after{background-image:var(--ag-icon-image-cut,var(--ag-icon-image));display:var(--ag-icon-image-display-cut,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cut,var(--ag-icon-image-opacity,0.9))}.ag-icon-desc{font-family:var(--ag-icon-font-family-desc,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-desc,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-desc,var(--ag-icon-font-color))}.ag-icon-desc:before{content:var(--ag-icon-font-code-desc,"\\f110");display:var(--ag-icon-font-display-desc,var(--ag-icon-font-display))}.ag-icon-desc:after{background-image:var(--ag-icon-image-desc,var(--ag-icon-image));display:var(--ag-icon-image-display-desc,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-desc,var(--ag-icon-image-opacity,0.9))}.ag-icon-excel{font-family:var(--ag-icon-font-family-excel,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-excel,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-excel,var(--ag-icon-font-color))}.ag-icon-excel:before{content:var(--ag-icon-font-code-excel,"\\f111");display:var(--ag-icon-font-display-excel,var(--ag-icon-font-display))}.ag-icon-excel:after{background-image:var(--ag-icon-image-excel,var(--ag-icon-image));display:var(--ag-icon-image-display-excel,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-excel,var(--ag-icon-image-opacity,0.9))}.ag-icon-expanded{font-family:var(--ag-icon-font-family-expanded,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-expanded,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-expanded,var(--ag-icon-font-color))}.ag-icon-expanded:before{content:var(--ag-icon-font-code-expanded,"\\f112");display:var(--ag-icon-font-display-expanded,var(--ag-icon-font-display))}.ag-icon-expanded:after{background-image:var(--ag-icon-image-expanded,var(--ag-icon-image));display:var(--ag-icon-image-display-expanded,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-expanded,var(--ag-icon-image-opacity,0.9))}.ag-icon-eye-slash{font-family:var(--ag-icon-font-family-eye-slash,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-eye-slash,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-eye-slash,var(--ag-icon-font-color))}.ag-icon-eye-slash:before{content:var(--ag-icon-font-code-eye-slash,"\\f113");display:var(--ag-icon-font-display-eye-slash,var(--ag-icon-font-display))}.ag-icon-eye-slash:after{background-image:var(--ag-icon-image-eye-slash,var(--ag-icon-image));display:var(--ag-icon-image-display-eye-slash,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-eye-slash,var(--ag-icon-image-opacity,0.9))}.ag-icon-eye{font-family:var(--ag-icon-font-family-eye,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-eye,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-eye,var(--ag-icon-font-color))}.ag-icon-eye:before{content:var(--ag-icon-font-code-eye,"\\f114");display:var(--ag-icon-font-display-eye,var(--ag-icon-font-display))}.ag-icon-eye:after{background-image:var(--ag-icon-image-eye,var(--ag-icon-image));display:var(--ag-icon-image-display-eye,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-eye,var(--ag-icon-image-opacity,0.9))}.ag-icon-filter{font-family:var(--ag-icon-font-family-filter,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-filter,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-filter,var(--ag-icon-font-color))}.ag-icon-filter:before{content:var(--ag-icon-font-code-filter,"\\f115");display:var(--ag-icon-font-display-filter,var(--ag-icon-font-display))}.ag-icon-filter:after{background-image:var(--ag-icon-image-filter,var(--ag-icon-image));display:var(--ag-icon-image-display-filter,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-filter,var(--ag-icon-image-opacity,0.9))}.ag-icon-first{font-family:var(--ag-icon-font-family-first,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-first,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-first,var(--ag-icon-font-color))}.ag-icon-first:before{content:var(--ag-icon-font-code-first,"\\f116");display:var(--ag-icon-font-display-first,var(--ag-icon-font-display))}.ag-icon-first:after{background-image:var(--ag-icon-image-first,var(--ag-icon-image));display:var(--ag-icon-image-display-first,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-first,var(--ag-icon-image-opacity,0.9))}.ag-icon-grip{font-family:var(--ag-icon-font-family-grip,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-grip,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-grip,var(--ag-icon-font-color))}.ag-icon-grip:before{content:var(--ag-icon-font-code-grip,"\\f117");display:var(--ag-icon-font-display-grip,var(--ag-icon-font-display))}.ag-icon-grip:after{background-image:var(--ag-icon-image-grip,var(--ag-icon-image));display:var(--ag-icon-image-display-grip,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-grip,var(--ag-icon-image-opacity,0.9))}.ag-icon-group{font-family:var(--ag-icon-font-family-group,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-group,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-group,var(--ag-icon-font-color))}.ag-icon-group:before{content:var(--ag-icon-font-code-group,"\\f118");display:var(--ag-icon-font-display-group,var(--ag-icon-font-display))}.ag-icon-group:after{background-image:var(--ag-icon-image-group,var(--ag-icon-image));display:var(--ag-icon-image-display-group,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-group,var(--ag-icon-image-opacity,0.9))}.ag-icon-last{font-family:var(--ag-icon-font-family-last,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-last,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-last,var(--ag-icon-font-color))}.ag-icon-last:before{content:var(--ag-icon-font-code-last,"\\f119");display:var(--ag-icon-font-display-last,var(--ag-icon-font-display))}.ag-icon-last:after{background-image:var(--ag-icon-image-last,var(--ag-icon-image));display:var(--ag-icon-image-display-last,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-last,var(--ag-icon-image-opacity,0.9))}.ag-icon-left{font-family:var(--ag-icon-font-family-left,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-left,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-left,var(--ag-icon-font-color))}.ag-icon-left:before{content:var(--ag-icon-font-code-left,"\\f11a");display:var(--ag-icon-font-display-left,var(--ag-icon-font-display))}.ag-icon-left:after{background-image:var(--ag-icon-image-left,var(--ag-icon-image));display:var(--ag-icon-image-display-left,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-left,var(--ag-icon-image-opacity,0.9))}.ag-icon-linked{font-family:var(--ag-icon-font-family-linked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-linked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-linked,var(--ag-icon-font-color))}.ag-icon-linked:before{content:var(--ag-icon-font-code-linked,"\\f11b");display:var(--ag-icon-font-display-linked,var(--ag-icon-font-display))}.ag-icon-linked:after{background-image:var(--ag-icon-image-linked,var(--ag-icon-image));display:var(--ag-icon-image-display-linked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-linked,var(--ag-icon-image-opacity,0.9))}.ag-icon-loading{font-family:var(--ag-icon-font-family-loading,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-loading,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-loading,var(--ag-icon-font-color))}.ag-icon-loading:before{content:var(--ag-icon-font-code-loading,"\\f11c");display:var(--ag-icon-font-display-loading,var(--ag-icon-font-display))}.ag-icon-loading:after{background-image:var(--ag-icon-image-loading,var(--ag-icon-image));display:var(--ag-icon-image-display-loading,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-loading,var(--ag-icon-image-opacity,0.9))}.ag-icon-maximize{font-family:var(--ag-icon-font-family-maximize,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-maximize,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-maximize,var(--ag-icon-font-color))}.ag-icon-maximize:before{content:var(--ag-icon-font-code-maximize,"\\f11d");display:var(--ag-icon-font-display-maximize,var(--ag-icon-font-display))}.ag-icon-maximize:after{background-image:var(--ag-icon-image-maximize,var(--ag-icon-image));display:var(--ag-icon-image-display-maximize,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-maximize,var(--ag-icon-image-opacity,0.9))}.ag-icon-menu{font-family:var(--ag-icon-font-family-menu,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-menu,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-menu,var(--ag-icon-font-color))}.ag-icon-menu:before{content:var(--ag-icon-font-code-menu,"\\f11e");display:var(--ag-icon-font-display-menu,var(--ag-icon-font-display))}.ag-icon-menu:after{background-image:var(--ag-icon-image-menu,var(--ag-icon-image));display:var(--ag-icon-image-display-menu,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-menu,var(--ag-icon-image-opacity,0.9))}.ag-icon-minimize{font-family:var(--ag-icon-font-family-minimize,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-minimize,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-minimize,var(--ag-icon-font-color))}.ag-icon-minimize:before{content:var(--ag-icon-font-code-minimize,"\\f11f");display:var(--ag-icon-font-display-minimize,var(--ag-icon-font-display))}.ag-icon-minimize:after{background-image:var(--ag-icon-image-minimize,var(--ag-icon-image));display:var(--ag-icon-image-display-minimize,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-minimize,var(--ag-icon-image-opacity,0.9))}.ag-icon-next{font-family:var(--ag-icon-font-family-next,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-next,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-next,var(--ag-icon-font-color))}.ag-icon-next:before{content:var(--ag-icon-font-code-next,"\\f120");display:var(--ag-icon-font-display-next,var(--ag-icon-font-display))}.ag-icon-next:after{background-image:var(--ag-icon-image-next,var(--ag-icon-image));display:var(--ag-icon-image-display-next,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-next,var(--ag-icon-image-opacity,0.9))}.ag-icon-none{font-family:var(--ag-icon-font-family-none,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-none,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-none,var(--ag-icon-font-color))}.ag-icon-none:before{content:var(--ag-icon-font-code-none,"\\f121");display:var(--ag-icon-font-display-none,var(--ag-icon-font-display))}.ag-icon-none:after{background-image:var(--ag-icon-image-none,var(--ag-icon-image));display:var(--ag-icon-image-display-none,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-none,var(--ag-icon-image-opacity,0.9))}.ag-icon-not-allowed{font-family:var(--ag-icon-font-family-not-allowed,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-not-allowed,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-not-allowed,var(--ag-icon-font-color))}.ag-icon-not-allowed:before{content:var(--ag-icon-font-code-not-allowed,"\\f122");display:var(--ag-icon-font-display-not-allowed,var(--ag-icon-font-display))}.ag-icon-not-allowed:after{background-image:var(--ag-icon-image-not-allowed,var(--ag-icon-image));display:var(--ag-icon-image-display-not-allowed,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-not-allowed,var(--ag-icon-image-opacity,0.9))}.ag-icon-paste{font-family:var(--ag-icon-font-family-paste,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-paste,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-paste,var(--ag-icon-font-color))}.ag-icon-paste:before{content:var(--ag-icon-font-code-paste,"\\f123");display:var(--ag-icon-font-display-paste,var(--ag-icon-font-display))}.ag-icon-paste:after{background-image:var(--ag-icon-image-paste,var(--ag-icon-image));display:var(--ag-icon-image-display-paste,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-paste,var(--ag-icon-image-opacity,0.9))}.ag-icon-pin{font-family:var(--ag-icon-font-family-pin,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-pin,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-pin,var(--ag-icon-font-color))}.ag-icon-pin:before{content:var(--ag-icon-font-code-pin,"\\f124");display:var(--ag-icon-font-display-pin,var(--ag-icon-font-display))}.ag-icon-pin:after{background-image:var(--ag-icon-image-pin,var(--ag-icon-image));display:var(--ag-icon-image-display-pin,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-pin,var(--ag-icon-image-opacity,0.9))}.ag-icon-pivot{font-family:var(--ag-icon-font-family-pivot,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-pivot,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-pivot,var(--ag-icon-font-color))}.ag-icon-pivot:before{content:var(--ag-icon-font-code-pivot,"\\f125");display:var(--ag-icon-font-display-pivot,var(--ag-icon-font-display))}.ag-icon-pivot:after{background-image:var(--ag-icon-image-pivot,var(--ag-icon-image));display:var(--ag-icon-image-display-pivot,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-pivot,var(--ag-icon-image-opacity,0.9))}.ag-icon-previous{font-family:var(--ag-icon-font-family-previous,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-previous,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-previous,var(--ag-icon-font-color))}.ag-icon-previous:before{content:var(--ag-icon-font-code-previous,"\\f126");display:var(--ag-icon-font-display-previous,var(--ag-icon-font-display))}.ag-icon-previous:after{background-image:var(--ag-icon-image-previous,var(--ag-icon-image));display:var(--ag-icon-image-display-previous,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-previous,var(--ag-icon-image-opacity,0.9))}.ag-icon-radio-button-off{font-family:var(--ag-icon-font-family-radio-button-off,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-radio-button-off,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-radio-button-off,var(--ag-icon-font-color))}.ag-icon-radio-button-off:before{content:var(--ag-icon-font-code-radio-button-off,"\\f127");display:var(--ag-icon-font-display-radio-button-off,var(--ag-icon-font-display))}.ag-icon-radio-button-off:after{background-image:var(--ag-icon-image-radio-button-off,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-off,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-off,var(--ag-icon-image-opacity,0.9))}.ag-icon-radio-button-on{font-family:var(--ag-icon-font-family-radio-button-on,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-radio-button-on,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-radio-button-on,var(--ag-icon-font-color))}.ag-icon-radio-button-on:before{content:var(--ag-icon-font-code-radio-button-on,"\\f128");display:var(--ag-icon-font-display-radio-button-on,var(--ag-icon-font-display))}.ag-icon-radio-button-on:after{background-image:var(--ag-icon-image-radio-button-on,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-on,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-on,var(--ag-icon-image-opacity,0.9))}.ag-icon-right{font-family:var(--ag-icon-font-family-right,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-right,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-right,var(--ag-icon-font-color))}.ag-icon-right:before{content:var(--ag-icon-font-code-right,"\\f129");display:var(--ag-icon-font-display-right,var(--ag-icon-font-display))}.ag-icon-right:after{background-image:var(--ag-icon-image-right,var(--ag-icon-image));display:var(--ag-icon-image-display-right,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-right,var(--ag-icon-image-opacity,0.9))}.ag-icon-save{font-family:var(--ag-icon-font-family-save,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-save,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-save,var(--ag-icon-font-color))}.ag-icon-save:before{content:var(--ag-icon-font-code-save,"\\f12a");display:var(--ag-icon-font-display-save,var(--ag-icon-font-display))}.ag-icon-save:after{background-image:var(--ag-icon-image-save,var(--ag-icon-image));display:var(--ag-icon-image-display-save,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-save,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-down{font-family:var(--ag-icon-font-family-small-down,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-down,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-down,var(--ag-icon-font-color))}.ag-icon-small-down:before{content:var(--ag-icon-font-code-small-down,"\\f12b");display:var(--ag-icon-font-display-small-down,var(--ag-icon-font-display))}.ag-icon-small-down:after{background-image:var(--ag-icon-image-small-down,var(--ag-icon-image));display:var(--ag-icon-image-display-small-down,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-down,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-left{font-family:var(--ag-icon-font-family-small-left,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-left,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-left,var(--ag-icon-font-color))}.ag-icon-small-left:before{content:var(--ag-icon-font-code-small-left,"\\f12c");display:var(--ag-icon-font-display-small-left,var(--ag-icon-font-display))}.ag-icon-small-left:after{background-image:var(--ag-icon-image-small-left,var(--ag-icon-image));display:var(--ag-icon-image-display-small-left,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-left,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-right{font-family:var(--ag-icon-font-family-small-right,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-right,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-right,var(--ag-icon-font-color))}.ag-icon-small-right:before{content:var(--ag-icon-font-code-small-right,"\\f12d");display:var(--ag-icon-font-display-small-right,var(--ag-icon-font-display))}.ag-icon-small-right:after{background-image:var(--ag-icon-image-small-right,var(--ag-icon-image));display:var(--ag-icon-image-display-small-right,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-right,var(--ag-icon-image-opacity,0.9))}.ag-icon-small-up{font-family:var(--ag-icon-font-family-small-up,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-up,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-small-up,var(--ag-icon-font-color))}.ag-icon-small-up:before{content:var(--ag-icon-font-code-small-up,"\\f12e");display:var(--ag-icon-font-display-small-up,var(--ag-icon-font-display))}.ag-icon-small-up:after{background-image:var(--ag-icon-image-small-up,var(--ag-icon-image));display:var(--ag-icon-image-display-small-up,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-up,var(--ag-icon-image-opacity,0.9))}.ag-icon-tick{font-family:var(--ag-icon-font-family-tick,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tick,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tick,var(--ag-icon-font-color))}.ag-icon-tick:before{content:var(--ag-icon-font-code-tick,"\\f12f");display:var(--ag-icon-font-display-tick,var(--ag-icon-font-display))}.ag-icon-tick:after{background-image:var(--ag-icon-image-tick,var(--ag-icon-image));display:var(--ag-icon-image-display-tick,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tick,var(--ag-icon-image-opacity,0.9))}.ag-icon-tree-closed{font-family:var(--ag-icon-font-family-tree-closed,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-closed,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tree-closed,var(--ag-icon-font-color))}.ag-icon-tree-closed:before{content:var(--ag-icon-font-code-tree-closed,"\\f130");display:var(--ag-icon-font-display-tree-closed,var(--ag-icon-font-display))}.ag-icon-tree-closed:after{background-image:var(--ag-icon-image-tree-closed,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-closed,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-closed,var(--ag-icon-image-opacity,0.9))}.ag-icon-tree-indeterminate{font-family:var(--ag-icon-font-family-tree-indeterminate,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-indeterminate,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tree-indeterminate,var(--ag-icon-font-color))}.ag-icon-tree-indeterminate:before{content:var(--ag-icon-font-code-tree-indeterminate,"\\f131");display:var(--ag-icon-font-display-tree-indeterminate,var(--ag-icon-font-display))}.ag-icon-tree-indeterminate:after{background-image:var(--ag-icon-image-tree-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-indeterminate,var(--ag-icon-image-opacity,0.9))}.ag-icon-tree-open{font-family:var(--ag-icon-font-family-tree-open,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-open,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-tree-open,var(--ag-icon-font-color))}.ag-icon-tree-open:before{content:var(--ag-icon-font-code-tree-open,"\\f132");display:var(--ag-icon-font-display-tree-open,var(--ag-icon-font-display))}.ag-icon-tree-open:after{background-image:var(--ag-icon-image-tree-open,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-open,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-open,var(--ag-icon-image-opacity,0.9))}.ag-icon-unlinked{font-family:var(--ag-icon-font-family-unlinked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-unlinked,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-unlinked,var(--ag-icon-font-color))}.ag-icon-unlinked:before{content:var(--ag-icon-font-code-unlinked,"\\f133");display:var(--ag-icon-font-display-unlinked,var(--ag-icon-font-display))}.ag-icon-unlinked:after{background-image:var(--ag-icon-image-unlinked,var(--ag-icon-image));display:var(--ag-icon-image-display-unlinked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-unlinked,var(--ag-icon-image-opacity,0.9))}.ag-icon-up{font-family:var(--ag-icon-font-family-up,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-up,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-up,var(--ag-icon-font-color))}.ag-icon-up:before{content:var(--ag-icon-font-code-up,"\\f134");display:var(--ag-icon-font-display-up,var(--ag-icon-font-display))}.ag-icon-up:after{background-image:var(--ag-icon-image-up,var(--ag-icon-image));display:var(--ag-icon-image-display-up,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-up,var(--ag-icon-image-opacity,0.9))}.ag-icon-down{font-family:var(--ag-icon-font-family-down,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-down,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-down,var(--ag-icon-font-color))}.ag-icon-down:before{content:var(--ag-icon-font-code-down,"\\f135");display:var(--ag-icon-font-display-down,var(--ag-icon-font-display))}.ag-icon-down:after{background-image:var(--ag-icon-image-down,var(--ag-icon-image));display:var(--ag-icon-image-display-down,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-down,var(--ag-icon-image-opacity,0.9))}.ag-icon-plus{font-family:var(--ag-icon-font-family-plus,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-plus,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-plus,var(--ag-icon-font-color))}.ag-icon-plus:before{content:var(--ag-icon-font-code-plus,"\\f136");display:var(--ag-icon-font-display-plus,var(--ag-icon-font-display))}.ag-icon-plus:after{background-image:var(--ag-icon-image-plus,var(--ag-icon-image));display:var(--ag-icon-image-display-plus,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-plus,var(--ag-icon-image-opacity,0.9))}.ag-icon-minus{font-family:var(--ag-icon-font-family-minus,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-minus,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-minus,var(--ag-icon-font-color))}.ag-icon-minus:before{content:var(--ag-icon-font-code-minus,"\\f137");display:var(--ag-icon-font-display-minus,var(--ag-icon-font-display))}.ag-icon-minus:after{background-image:var(--ag-icon-image-minus,var(--ag-icon-image));display:var(--ag-icon-image-display-minus,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-minus,var(--ag-icon-image-opacity,0.9))}.ag-icon-menu-alt{font-family:var(--ag-icon-font-family-menu-alt,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-menu-alt,var(--ag-icon-font-weight));color:var(--ag-icon-font-color-menu-alt,var(--ag-icon-font-color))}.ag-icon-menu-alt:before{content:var(--ag-icon-font-code-menu-alt,"\\f138");display:var(--ag-icon-font-display-menu-alt,var(--ag-icon-font-display))}.ag-icon-menu-alt:after{background-image:var(--ag-icon-image-menu-alt,var(--ag-icon-image));display:var(--ag-icon-image-display-menu-alt,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-menu-alt,var(--ag-icon-image-opacity,0.9))}.ag-icon-row-drag:before{content:var(--ag-icon-font-code-grip)}.ag-left-arrow:before{content:var(--ag-icon-font-code-left)}.ag-right-arrow:before{content:var(--ag-icon-font-code-right)}[class*=ag-theme-]{--ag-foreground-color:#000;--ag-data-color:var(--ag-foreground-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-header-foreground-color:var(--ag-secondary-foreground-color);--ag-disabled-foreground-color:rgba(0,0,0,0.5);--ag-background-color:#fff;--ag-header-background-color:transparent;--ag-tooltip-background-color:transparent;--ag-subheader-background-color:transparent;--ag-subheader-toolbar-background-color:transparent;--ag-control-panel-background-color:transparent;--ag-side-button-selected-background-color:var(--ag-control-panel-background-color);--ag-selected-row-background-color:#bbb;--ag-odd-row-background-color:var(--ag-background-color);--ag-modal-overlay-background-color:hsla(0,0%,100%,0.66);--ag-menu-background-color:var(--ag-background-color);--ag-menu-border-color:var(--ag-border-color);--ag-panel-background-color:var(--ag-background-color);--ag-panel-border-color:var(--ag-border-color);--ag-row-hover-color:transparent;--ag-column-hover-color:transparent;--ag-range-selection-border-color:var(--ag-foreground-color);--ag-range-selection-border-style:solid;--ag-range-selection-background-color:rgba(0,0,0,0.2);--ag-range-selection-background-color-2:var(--ag-range-selection-background-color);--ag-range-selection-background-color-3:var(--ag-range-selection-background-color);--ag-range-selection-background-color-4:var(--ag-range-selection-background-color);--ag-range-selection-highlight-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-width:0;--ag-selected-tab-underline-transition-speed:0s;--ag-range-selection-chart-category-background-color:rgba(0,255,132,0.1);--ag-range-selection-chart-background-color:rgba(0,88,255,0.1);--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:var(--ag-background-color);--ag-value-change-value-highlight-background-color:rgba(22,160,133,0.5);--ag-value-change-delta-up-color:#43a047;--ag-value-change-delta-down-color:#e53935;--ag-chip-background-color:transparent;--ag-chip-border-color:var(--ag-chip-background-color);--ag-borders:solid 1px;--ag-border-color:rgba(0,0,0,0.25);--ag-borders-critical:var(--ag-borders);--ag-borders-secondary:var(--ag-borders);--ag-secondary-border-color:var(--ag-border-color);--ag-row-border-style:solid;--ag-row-border-width:1px;--ag-cell-horizontal-border:solid transparent;--ag-borders-input:var(--ag-borders-secondary);--ag-input-border-color:var(--ag-secondary-border-color);--ag-borders-input-invalid:solid 2px;--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-borders-side-button:var(--ag-borders);--ag-border-radius:0px;--ag-wrapper-border-radius:var(--ag-border-radius);--ag-row-border-color:var(--ag-secondary-border-color);--ag-header-column-separator-display:none;--ag-header-column-separator-height:100%;--ag-header-column-separator-width:1px;--ag-header-column-separator-color:var(--ag-secondary-border-color);--ag-header-column-resize-handle-display:none;--ag-header-column-resize-handle-height:50%;--ag-header-column-resize-handle-width:1px;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-invalid-color:red;--ag-input-disabled-border-color:var(--ag-input-border-color);--ag-input-disabled-background-color:transparent;--ag-checkbox-background-color:transparent;--ag-checkbox-border-radius:var(--ag-border-radius);--ag-checkbox-checked-color:var(--ag-foreground-color);--ag-checkbox-unchecked-color:var(--ag-foreground-color);--ag-checkbox-indeterminate-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-border-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-background-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-on-border-color:var(--ag-checkbox-checked-color);--ag-toggle-button-on-background-color:var(--ag-checkbox-checked-color);--ag-toggle-button-switch-background-color:var(--ag-background-color);--ag-toggle-button-switch-border-color:var(--ag-toggle-button-off-border-color);--ag-toggle-button-border-width:1px;--ag-toggle-button-height:var(--ag-icon-size);--ag-toggle-button-width:calc(var(--ag-toggle-button-height)*2);--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:none;--ag-minichart-selected-chart-color:var(--ag-checkbox-checked-color);--ag-minichart-selected-page-color:var(--ag-checkbox-checked-color);--ag-grid-size:4px;--ag-icon-size:12px;--ag-icon-font-weight:normal;--ag-icon-font-color:var(--ag-foreground-color);--ag-icon-image-display:block;--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:var(--ag-grid-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:var(--ag-cell-horizontal-padding);--ag-row-height:calc(var(--ag-grid-size)*6 + 1px);--ag-header-height:var(--ag-row-height);--ag-list-item-height:calc(var(--ag-grid-size)*5);--ag-column-select-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-set-filter-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-advanced-filter-builder-indent-size:calc(var(--ag-grid-size)*2 + var(--ag-icon-size));--ag-row-group-indent-size:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));--ag-filter-tool-panel-group-indent:16px;--ag-tab-min-width:220px;--ag-menu-min-width:181px;--ag-side-bar-panel-width:200px;--ag-font-family:"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-card-radius:var(--ag-border-radius);--ag-card-shadow:none;--ag-popup-shadow:5px 5px 10px rgba(0,0,0,0.3);--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4}.ag-dnd-ghost,.ag-root-wrapper,.ag-sticky-top{background-color:var(--ag-background-color)}[class*=ag-theme-]{-webkit-font-smoothing:antialiased;font-family:var(--ag-font-family);font-size:var(--ag-font-size);line-height:normal;color:var(--ag-foreground-color)}ag-grid,ag-grid-angular,ag-grid-aurelia,ag-grid-ng2,ag-grid-polymer{display:block}.ag-aria-description-container{z-index:9999;border:0px;clip:rect(1px,1px,1px,1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0px;white-space:nowrap}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-no-transition{transition:none!important}.ag-drag-handle{cursor:grab}.ag-column-drop-wrapper{display:flex}.ag-column-drop-horizontal-half-width{display:inline-block;width:50%!important}.ag-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}.ag-tab{position:relative}.ag-tab-guard{width:0;height:0;display:block}.ag-select-agg-func-popup,.ag-tab-guard{position:absolute}.ag-input-wrapper,.ag-picker-field-wrapper{display:flex;flex:1 1 auto;align-items:center;line-height:normal;position:relative}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:0.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-root-wrapper{cursor:default;position:relative;display:flex;flex-direction:column;overflow:hidden;white-space:normal}.ag-root-wrapper.ag-layout-normal{height:100%}.ag-watermark{position:absolute;bottom:20px;right:25px;opacity:0.7;transition:opacity 1s ease-out 3s;color:#9b9b9b}.ag-watermark:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjA5IiBoZWlnaHQ9IjM2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xOTIuOTkzIDIzLjY1OHYtNy45NDZoLTEzLjU0MWwtNy45NDcgNy45NDZoMjEuNDg4ek0yMDguMjUgMy45NWgtMTYuOTc0bC04LjAxIDcuOTQ3aDI0Ljk4NFYzLjk1MXpNMTYzLjYyMiAzMS42MDVsNC4wNjktNC4wNjloMTMuNzMydjcuOTQ3aC0xNy44MDF2LTMuODc4eiIgZmlsbD0iIzlCOUI5QiIvPjxwYXRoIGQ9Ik0xNjYuNjEgMTkuNzhoOC43NzNsOC4wMS03Ljk0NkgxNjYuNjF2Ny45NDZ6TTE1Ny4wMTEgMzEuNjA1aDYuNjExbDcuODgzLTcuOTQ3aC0xNC40OTR2Ny45NDd6TTE5MS4yNzYgMy45NWwtNC4wNjggNC4wN0gxNjEuMjdWLjA3MmgzMC4wMDZWMy45NXpNMjAuODQgMzAuMjA2SDguMzc4bC0yLjE2MiA1LjM0SC43NUwxMi4yNTcgOC41OTJoNC43NjhMMjguNTMgMzUuNTQ2aC01LjUzbC0yLjE2Mi01LjM0em0tMS43MTctNC4yNkwxNC42MDkgMTQuOTVsLTQuNTE0IDEwLjk5OGg5LjAyOHpNMTA0LjQzNyAxOC41MDljMS41ODktMi4zNTIgNS41OTQtMi42MDcgNy4yNDctMi42MDd2NC41NzhjLTIuMDM0IDAtNC4wNjkuMDYzLTUuMjc3Ljk1My0xLjIwNy44OS0xLjg0MyAyLjA5OC0xLjg0MyAzLjU2djEwLjU1M2gtNC45NTlWMTUuOTAyaDQuNzY4bC4wNjQgMi42MDd6TTExOS4zNzYgMTUuOTAyaC00Ljk1OHYxOS42NDRoNC45NThWMTUuOTAyek0xMTkuMzc2IDcuMTNoLTQuOTU4djUuODQ4aDQuOTU4VjcuMTI5ek0xNDMuOTc5IDcuMTN2MjguNDE2aC00Ljc2OGwtLjEyNy0yLjk4OGE4LjMyNCA4LjMyNCAwIDAxLTIuNjcgMi40OGMtMS4wODEuNTcyLTIuNDE2Ljg5LTMuOTQyLjg5LTEuMzM1IDAtMi42MDYtLjI1NS0zLjY4Ny0uNy0xLjE0NC0uNTA4LTIuMTYyLTEuMTQ0LTIuOTg4LTIuMDM0YTkuNTggOS41OCAwIDAxLTEuOTcxLTMuMTc5Yy0uNTA4LTEuMjA3LS42OTktMi42MDYtLjY5OS00LjEzMiAwLTEuNTI1LjI1NC0yLjkyNC42OTktNC4xOTYuNTA5LTEuMjcxIDEuMTQ1LTIuMzUyIDEuOTcxLTMuMjQyLjgyNi0uODkgMS44NDQtMS41ODkgMi45ODgtMi4wOTggMS4xNDQtLjUwOCAyLjM1Mi0uNzYzIDMuNjg3LS43NjMgMS41MjYgMCAyLjc5Ny4yNTUgMy44NzguODI3czEuOTcxIDEuMzM1IDIuNjcgMi40MTZWNy4xOTNoNC45NTl2LS4wNjR6bS0xMC40MjYgMjQuNTM4YzEuNjUzIDAgMi45MjQtLjU3MiAzLjk0MS0xLjY1MyAxLjAxNy0xLjA4IDEuNTI2LTIuNTQzIDEuNTI2LTQuMzIzIDAtMS43OC0uNTA5LTMuMTc4LTEuNTI2LTQuMzIyLTEuMDE3LTEuMDgxLTIuMjg4LTEuNjUzLTMuOTQxLTEuNjUzLTEuNTkgMC0yLjkyNS41NzItMy44NzggMS42NTMtMS4wMTcgMS4wOC0xLjUyNiAyLjU0My0xLjUyNiA0LjMyMiAwIDEuNzguNTA5IDMuMTggMS41MjYgNC4yNiAxLjAxNyAxLjE0NCAyLjI4OCAxLjcxNiAzLjg3OCAxLjcxNnpNNTcuMjAyIDIwLjM1Mkg0NC45MzN2NC4yNmg2Ljk5M2MtLjE5IDIuMTYxLTEuMDE3IDMuODE0LTIuNDE2IDUuMTUtMS4zOTggMS4yNy0zLjE3OCAxLjkwNi01LjQ2NyAxLjkwNi0xLjI3MSAwLTIuNDgtLjI1NC0zLjQ5Ni0uNjk5YTcuMDI0IDcuMDI0IDAgMDEtMi43MzQtMS45N2MtLjc2My0uODI3LTEuMzM1LTEuODQ0LTEuNzgtMy4wNTItLjQ0NS0xLjIwOC0uNjM2LTIuNDgtLjYzNi0zLjk0MiAwLTEuNDYyLjE5LTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczMy0xLjk3YTkuMTE1IDkuMTE1IDAgMDEzLjU2LS43YzIuNjcgMCA0LjcwNS42MzYgNi4xMDMgMS45MDdsMy4zMDYtMy4zMDVjLTIuNDgtMS45MDctNS42NTgtMi45MjUtOS40MDktMi45MjUtMi4wOTcgMC00LjAwNS4zMTgtNS43MjEgMS4wMTgtMS43MTYuNjk5LTMuMTc5IDEuNTg5LTQuMzg2IDIuNzk3QTEyLjA3MyAxMi4wNzMgMCAwMDMxLjIgMTYuMjJjLS42MzUgMS43MTctLjk1MyAzLjYyNC0uOTUzIDUuNjU4IDAgMi4wMzUuMzE4IDMuOTQyIDEuMDE3IDUuNjU4LjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4wNzMgMTIuMDczIDAgMDA0LjM4NyAyLjc5N2MxLjcxNi43IDMuNjIzIDEuMDE3IDUuNjU3IDEuMDE3IDIuMDM1IDAgMy44NzgtLjMxOCA1LjUzMS0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3IDEuMTQ0LTEuMjA4IDIuMDM0LTIuNjcgMi42Ny00LjM4Ny42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43ek05NS45ODEgMjAuMzUySDgzLjcxMnY0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjQgNy4wMjQgMCAwMS0yLjczNC0xLjk3Yy0uNzYzLS44MjctMS4zMzUtMS44NDQtMS43OC0zLjA1Mi0uNDQ1LTEuMjA4LS42MzYtMi40OC0uNjM2LTMuOTQyIDAtMS40NjIuMTktMi43MzMuNjM2LTMuOTQxLjM4MS0xLjIwOCAxLjAxNy0yLjE2MiAxLjc4LTMuMDUyLjc2My0uODI2IDEuNjUzLTEuNDYyIDIuNzM0LTEuOTdhOS4xMTUgOS4xMTUgMCAwMTMuNTYtLjdjMi42NyAwIDQuNzA0LjYzNiA2LjEwMyAxLjkwN2wzLjMwNS0zLjMwNWMtMi40NzktMS45MDctNS42NTgtMi45MjUtOS40MDgtMi45MjUtMi4wOTggMC00LjAwNS4zMTgtNS43MjIgMS4wMTgtMS43MTYuNjk5LTMuMTc4IDEuNTg5LTQuMzg2IDIuNzk3YTEyLjA3NSAxMi4wNzUgMCAwMC0yLjc5NyA0LjM4NmMtLjYzNiAxLjcxNy0uOTU0IDMuNjI0LS45NTQgNS42NTggMCAyLjAzNS4zMTggMy45NDIgMS4wMTcgNS42NTguNyAxLjcxNyAxLjU5IDMuMTc5IDIuNzk3IDQuMzg3YTEyLjA3MyAxMi4wNzMgMCAwMDQuMzg3IDIuNzk3YzEuNzE2LjcgMy42MjMgMS4wMTcgNS42NTggMS4wMTcgMi4wMzQgMCAzLjg3OC0uMzE4IDUuNTMtMS4wMTcgMS42NTMtLjcgMy4wNTItMS41OSA0LjE5Ni0yLjc5NyAxLjE0NS0xLjIwOCAyLjAzNS0yLjY3IDIuNjctNC4zODcuNjM2LTEuNzE2Ljk1NC0zLjYyMy45NTQtNS42NTh2LS44MjZjLS4xOS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43eiIgZmlsbD0iIzlCOUI5QiIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:170px 40px;display:block;height:40px;width:170px}.ag-watermark-text{opacity:0.5;font-weight:700;font-family:Impact,sans-serif;font-size:19px;padding-left:0.7rem}.ag-root-wrapper-body{display:flex;flex-direction:row}.ag-root-wrapper-body.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}.ag-root{position:relative;display:flex;flex-direction:column}.ag-root.ag-layout-auto-height,.ag-root.ag-layout-normal{overflow:hidden;flex:1 1 auto;width:0}.ag-root.ag-layout-normal{height:100%}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{position:relative;height:100%;min-width:0px;overflow:hidden;flex:1 1 auto}.ag-body-viewport,.ag-center-cols-viewport{-ms-overflow-style:none!important;scrollbar-width:none!important}.ag-body-viewport::-webkit-scrollbar,.ag-center-cols-viewport::-webkit-scrollbar{display:none!important}.ag-body-viewport{display:flex}.ag-body-viewport.ag-layout-normal{overflow-y:auto;-webkit-overflow-scrolling:touch}.ag-center-cols-viewport{min-height:100%;width:100%;overflow-x:auto}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-body-vertical-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-body-vertical-scroll-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-top-full-width-container{position:absolute;top:0px;pointer-events:none}.ag-ltr .ag-floating-bottom-full-width-container,.ag-ltr .ag-floating-top-full-width-container,.ag-ltr .ag-full-width-container,.ag-ltr .ag-sticky-top-full-width-container{left:0}.ag-rtl .ag-floating-bottom-full-width-container,.ag-rtl .ag-floating-top-full-width-container,.ag-rtl .ag-full-width-container,.ag-rtl .ag-sticky-top-full-width-container{right:0}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;overflow:hidden;height:100%;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-body{position:relative;display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{min-height:0;min-width:0;display:flex;position:relative}.ag-body-horizontal-scroll.ag-scrollbar-invisible,.ag-body-vertical-scroll.ag-scrollbar-invisible{position:absolute;bottom:0}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar{opacity:0;transition:opacity 400ms;visibility:hidden}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling{visibility:visible;opacity:1}.ag-body-horizontal-scroll{width:100%}.ag-body-horizontal-scroll.ag-scrollbar-invisible{left:0;right:0}.ag-body-vertical-scroll{height:100%}.ag-body-vertical-scroll.ag-scrollbar-invisible{top:0;z-index:10}.ag-ltr .ag-body-vertical-scroll.ag-scrollbar-invisible{right:0}.ag-rtl .ag-body-vertical-scroll.ag-scrollbar-invisible{left:0}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll}.ag-horizontal-left-spacer.ag-scroller-corner,.ag-horizontal-right-spacer.ag-scroller-corner{overflow-x:hidden}.ag-header,.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;overflow:hidden;position:relative}.ag-header-cell-sortable .ag-header-cell-label{cursor:pointer}.ag-header{display:flex;width:100%;white-space:nowrap}.ag-pinned-left-header,.ag-pinned-right-header{height:100%}.ag-header-row{position:absolute}.ag-header-row:not(.ag-header-row-column-group){overflow:hidden}.ag-header.ag-header-allow-overflow .ag-header-row{overflow:visible}.ag-header-cell{display:inline-flex;align-items:center;position:absolute;height:100%}.ag-header-cell-filter-button,.ag-header-cell.ag-header-active .ag-header-cell-menu-button{opacity:1}.ag-header-cell-menu-button:not(.ag-header-menu-always-show){transition:opacity 0.2s;opacity:0}.ag-header-cell-label,.ag-header-group-cell-label{display:flex;flex:1 1 auto;align-self:stretch;align-items:center}.ag-header-cell-label{overflow:hidden;text-overflow:ellipsis}.ag-header-group-cell-label.ag-sticky-label{position:sticky;flex:none;max-width:100%}.ag-header-group-text{white-space:nowrap}.ag-header-cell-text,.ag-header-group-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper{height:100%;display:flex;align-items:center}.ag-header-cell-comp-wrapper{width:100%}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-right-aligned-header .ag-header-cell-label{flex-direction:row-reverse}.ag-header-cell-resize{position:absolute;z-index:2;height:100%;width:8px;top:0;cursor:ew-resize}.ag-ltr .ag-header-cell-resize{right:-4px}.ag-rtl .ag-header-cell-resize{left:-4px}.ag-pinned-left-header .ag-header-cell-resize{right:-4px}.ag-pinned-right-header .ag-header-cell-resize{left:-4px}.ag-header-select-all{display:flex}.ag-floating-filter-button-button,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-panel-title-bar-button,.ag-side-button-button{cursor:pointer}.ag-column-moving .ag-cell,.ag-column-moving .ag-header-cell{transition:left 0.2s}.ag-column-moving .ag-header-group-cell{transition:left 0.2s,width 0.2s}.ag-column-panel{display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto}.ag-column-select{position:relative;display:flex;flex-direction:column;overflow:hidden;flex:3 1 0px}.ag-column-select-header{position:relative;display:flex;flex:none}.ag-column-select-header-icon{position:relative}.ag-column-select-header-filter-wrapper{flex:1 1 auto}.ag-column-select-header-filter{width:100%}.ag-column-select-list{flex:1 1 0px;overflow:hidden}.ag-column-drop{position:relative;display:inline-flex;align-items:center;overflow:auto;width:100%}.ag-column-drop-cell,.ag-column-drop-list{display:flex;align-items:center}.ag-column-drop-cell{position:relative}.ag-column-drop-cell-text{overflow:hidden;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.ag-column-drop-vertical{display:flex;flex-direction:column;overflow:hidden;align-items:stretch;flex:1 1 0px}.ag-column-drop-vertical-title-bar{display:flex;align-items:center;flex:none}.ag-column-drop-vertical-list{position:relative;align-items:stretch;flex-grow:1;flex-direction:column;overflow-x:auto}.ag-column-drop-vertical-list>*{flex:none}.ag-column-drop-empty .ag-column-drop-vertical-list{overflow:hidden}.ag-column-drop-vertical-empty-message{display:block}.ag-column-drop.ag-column-drop-horizontal{white-space:nowrap;overflow:hidden}.ag-column-drop-cell-button{cursor:pointer}.ag-filter-toolpanel{flex:1 1 0px;min-width:0}.ag-filter-toolpanel-header{position:relative}.ag-filter-toolpanel-header,.ag-filter-toolpanel-header>*,.ag-filter-toolpanel-search,.ag-filter-toolpanel-search>*{display:flex;align-items:center}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden}.ag-row-animation .ag-row{transition:transform 0.4s,top 0.4s}.ag-row-animation .ag-row.ag-after-created{transition:transform 0.4s,top 0.4s,height 0.4s}.ag-row-no-animation .ag-row{transition:none}.ag-row{white-space:nowrap;width:100%}.ag-row-loading{display:flex;align-items:center}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{display:flex;align-items:center}.ag-cell{display:inline-block;position:absolute;white-space:nowrap;height:100%}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-all}.ag-cell-wrapper{display:flex;align-items:center}.ag-cell-wrapper.ag-row-group{align-items:flex-start}.ag-sparkline-wrapper{position:absolute;height:100%;width:100%;left:0;top:0}.ag-full-width-row .ag-cell-wrapper.ag-row-group{height:100%;align-items:center}.ag-cell-inline-editing{z-index:1}.ag-cell-inline-editing .ag-cell-edit-wrapper,.ag-cell-inline-editing .ag-cell-editor,.ag-cell-inline-editing .ag-cell-editor .ag-wrapper,.ag-cell-inline-editing .ag-cell-editor input,.ag-cell-inline-editing .ag-cell-wrapper{height:100%;width:100%;line-height:normal}.ag-cell .ag-icon{display:inline-block;vertical-align:middle}.ag-set-filter-item{display:flex;align-items:center;height:100%}.ag-set-filter-item-checkbox{display:flex;overflow:hidden;height:100%}.ag-set-filter-group-icons{display:block}.ag-set-filter-group-icons>*{cursor:pointer}.ag-filter-body-wrapper{display:flex;flex-direction:column}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{position:relative;display:flex;flex:1 1 auto;height:100%}.ag-floating-filter-full-body{display:flex;flex:1 1 auto;height:100%;width:100%;align-items:center;overflow:hidden}.ag-floating-filter-full-body>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%}.ag-floating-filter-input>*{flex:1 1 auto}.ag-floating-filter-button{display:flex;flex:none}.ag-set-floating-filter-input input[disabled]{pointer-events:none}.ag-dnd-ghost{position:absolute;display:inline-flex;align-items:center;cursor:move;white-space:nowrap;z-index:9999}.ag-overlay{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{flex:none;align-items:center;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-popup-child{z-index:5;top:0}.ag-popup-editor{position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-large-text-input{display:block}.ag-virtual-list-item{position:absolute;width:100%}.ag-floating-top{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-top,.ag-pinned-right-floating-top{display:inline-block;overflow:hidden;position:relative;min-width:0px}.ag-floating-bottom{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-bottom,.ag-pinned-right-floating-bottom{display:inline-block;overflow:hidden;position:relative;min-width:0px}.ag-sticky-top{position:absolute;display:flex;width:100%}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{position:relative;height:100%;overflow:hidden}.ag-sticky-top-full-width-container{overflow:hidden;width:100%;height:100%}.ag-dialog,.ag-panel{display:flex;flex-direction:column;position:relative;overflow:hidden}.ag-panel-title-bar{display:flex;flex:none;align-items:center;cursor:default}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-title-bar-button{cursor:pointer}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;position:relative;overflow:hidden}.ag-dialog,.ag-resizer{position:absolute}.ag-resizer{pointer-events:none;z-index:1;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-resizer.ag-resizer-topLeft{top:0;left:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-top{top:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-topRight{top:0;right:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-right{top:5px;right:0;bottom:5px;width:5px;cursor:ew-resize}.ag-resizer.ag-resizer-bottomRight{bottom:0;right:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-bottom{bottom:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-bottomLeft{bottom:0;left:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-left{left:0;top:5px;bottom:5px;width:5px;cursor:ew-resize}.ag-tooltip,.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:not(.ag-tooltip-interactive),.ag-tooltip:not(.ag-tooltip-interactive){pointer-events:none}.ag-value-slide-out{margin-right:5px;opacity:1;transition:opacity 3s,margin-right 3s;transition-timing-function:linear}.ag-value-slide-out-end{margin-right:10px;opacity:0}.ag-opacity-zero{opacity:0!important}.ag-menu{max-height:100%;overflow-y:auto;position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-menu-column-select-wrapper{height:265px;overflow:auto}.ag-menu-column-select-wrapper .ag-column-select{height:100%}.ag-dialog .ag-panel-content-wrapper .ag-column-select{user-select:none}.ag-menu-list{display:table;width:100%}.ag-menu-option,.ag-menu-separator{display:table-row}.ag-menu-option-part,.ag-menu-separator-part{display:table-cell;vertical-align:middle}.ag-menu-option-text{white-space:nowrap}.ag-menu-option-custom{display:contents}.ag-compact-menu-option{width:100%;display:flex;flex-wrap:nowrap}.ag-compact-menu-option-text{white-space:nowrap;flex:1 1 auto}.ag-rich-select{cursor:default;outline:none;height:100%}.ag-rich-select-value{display:flex;align-items:center;height:100%}.ag-rich-select-value .ag-picker-field-display{overflow:hidden;text-overflow:ellipsis}.ag-rich-select-value .ag-picker-field-display.ag-display-as-placeholder{opacity:0.5}.ag-rich-select-list{position:relative}.ag-rich-select-list .ag-loading-text{min-height:2rem}.ag-rich-select-row{display:flex;flex:1 1 auto;align-items:center;white-space:nowrap;overflow:hidden;height:100%}.ag-rich-select-field-input{flex:1 1 auto}.ag-rich-select-field-input .ag-input-field-input{padding:0!important;border:none!important;box-shadow:none!important;text-overflow:ellipsis}.ag-rich-select-field-input .ag-input-field-input::placeholder{opacity:0.8}.ag-autocomplete{align-items:center;display:flex}.ag-autocomplete>*{flex:1 1 auto}.ag-autocomplete-list-popup{position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-autocomplete-list{position:relative}.ag-autocomplete-virtual-list-item{display:flex}.ag-autocomplete-row{display:flex;flex:1 1 auto;align-items:center;overflow:hidden}.ag-autocomplete-row-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-paging-panel{justify-content:flex-end}.ag-paging-page-summary-panel,.ag-paging-panel{align-items:center;display:flex}.ag-paging-button{position:relative}.ag-disabled .ag-paging-page-summary-panel{pointer-events:none}.ag-tool-panel-wrapper{display:flex;overflow-y:auto;overflow-x:hidden;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-column-select-column,.ag-column-select-column-group,.ag-select-agg-func-item{position:relative;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;height:100%}.ag-column-select-column-group>*,.ag-column-select-column>*,.ag-select-agg-func-item>*{flex:none}.ag-column-select-column-label,.ag-select-agg-func-item{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-column-select-checkbox{display:flex}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-ltr .ag-side-bar-left .ag-tool-panel-horizontal-resize{right:-3px}.ag-ltr .ag-side-bar-right .ag-tool-panel-horizontal-resize,.ag-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize{left:-3px}.ag-rtl .ag-side-bar-right .ag-tool-panel-horizontal-resize{right:-3px}.ag-details-row{width:100%}.ag-details-row-fixed-height{height:100%}.ag-details-grid{width:100%}.ag-details-grid-fixed-height{height:100%}.ag-header-group-cell{display:flex;align-items:center;height:100%;position:absolute}.ag-header-group-cell-no-group.ag-header-span-height .ag-header-cell-resize{display:none}.ag-cell-label-container{display:flex;justify-content:space-between;flex-direction:row-reverse;align-items:center;height:100%;width:100%;padding:5px 0px}.ag-right-aligned-header .ag-cell-label-container{flex-direction:row}.ag-right-aligned-header .ag-header-cell-text{text-align:end}.ag-side-bar{display:flex;flex-direction:row-reverse}.ag-side-bar-left{order:-1;flex-direction:row}.ag-side-button-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;outline:none;cursor:pointer}.ag-side-button-label{writing-mode:vertical-lr}.ag-status-bar{display:flex;justify-content:space-between;overflow:hidden}.ag-status-panel{display:inline-flex}.ag-status-name-value{white-space:nowrap}.ag-status-bar-center,.ag-status-bar-left,.ag-status-bar-right{display:inline-flex}.ag-icon{display:block;speak:none}.ag-group{position:relative;width:100%}.ag-group-title-bar{display:flex;align-items:center}.ag-group-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ag-group-title-bar .ag-group-title{cursor:default}.ag-group-toolbar{display:flex;align-items:center}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-group-container-horizontal{flex-direction:row;flex-wrap:wrap}.ag-group-container-vertical{flex-direction:column}.ag-column-group-icons{display:block}.ag-column-group-icons>*{cursor:pointer}.ag-group-item-alignment-stretch .ag-group-item{align-items:stretch}.ag-group-item-alignment-start .ag-group-item{align-items:flex-start}.ag-group-item-alignment-end .ag-group-item{align-items:flex-end}.ag-toggle-button-icon{transition:right 0.3s;position:absolute;top:-1px}.ag-input-field,.ag-select{display:flex;flex-direction:row;align-items:center}.ag-input-field-input{flex:1 1 auto}.ag-floating-filter-input .ag-input-field-input[type=date]{width:1px}.ag-angle-select,.ag-range-field{display:flex;align-items:center}.ag-angle-select-wrapper{display:flex}.ag-angle-select-parent-circle{display:block;position:relative}.ag-angle-select-child-circle{position:absolute}.ag-slider-wrapper{display:flex}.ag-picker-field-display,.ag-slider-wrapper .ag-input-field{flex:1 1 auto}.ag-picker-field{display:flex;align-items:center}.ag-picker-field-icon{display:flex;border:0;padding:0;margin:0;cursor:pointer}.ag-picker-field-wrapper{overflow:hidden}.ag-label-align-right .ag-label{order:1}.ag-label-align-right>*{flex:none}.ag-label-align-top{flex-direction:column;align-items:flex-start}.ag-label-align-top>*{align-self:stretch}.ag-label-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ag-color-panel{width:100%;display:flex;flex-direction:column;text-align:center}.ag-spectrum-color{flex:1 1 auto;position:relative;overflow:hidden;cursor:default}.ag-spectrum-fill{position:absolute;top:0;left:0;right:0;bottom:0}.ag-spectrum-val{cursor:pointer}.ag-spectrum-dragger{position:absolute;pointer-events:none;cursor:pointer}.ag-spectrum-hue{cursor:default;background:linear-gradient(270deg,red 3%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.ag-spectrum-alpha{cursor:default}.ag-spectrum-hue-background{width:100%;height:100%}.ag-spectrum-alpha-background{background-image:linear-gradient(90deg,transparent,#000);width:100%;height:100%}.ag-spectrum-tool{cursor:pointer}.ag-spectrum-slider{position:absolute;pointer-events:none}.ag-recent-colors{display:flex}.ag-recent-color{cursor:pointer}.ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-ltr .ag-set-filter-indent-1{padding-left:20px}.ag-rtl .ag-set-filter-indent-1{padding-right:20px}.ag-ltr .ag-row-group-indent-1{padding-left:20px}.ag-rtl .ag-row-group-indent-1{padding-right:20px}.ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-ltr .ag-set-filter-indent-2{padding-left:40px}.ag-rtl .ag-set-filter-indent-2{padding-right:40px}.ag-ltr .ag-row-group-indent-2{padding-left:40px}.ag-rtl .ag-row-group-indent-2{padding-right:40px}.ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-ltr .ag-set-filter-indent-3{padding-left:60px}.ag-rtl .ag-set-filter-indent-3{padding-right:60px}.ag-ltr .ag-row-group-indent-3{padding-left:60px}.ag-rtl .ag-row-group-indent-3{padding-right:60px}.ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-ltr .ag-set-filter-indent-4{padding-left:80px}.ag-rtl .ag-set-filter-indent-4{padding-right:80px}.ag-ltr .ag-row-group-indent-4{padding-left:80px}.ag-rtl .ag-row-group-indent-4{padding-right:80px}.ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-ltr .ag-set-filter-indent-5{padding-left:100px}.ag-rtl .ag-set-filter-indent-5{padding-right:100px}.ag-ltr .ag-row-group-indent-5{padding-left:100px}.ag-rtl .ag-row-group-indent-5{padding-right:100px}.ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-ltr .ag-set-filter-indent-6{padding-left:120px}.ag-rtl .ag-set-filter-indent-6{padding-right:120px}.ag-ltr .ag-row-group-indent-6{padding-left:120px}.ag-rtl .ag-row-group-indent-6{padding-right:120px}.ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-ltr .ag-set-filter-indent-7{padding-left:140px}.ag-rtl .ag-set-filter-indent-7{padding-right:140px}.ag-ltr .ag-row-group-indent-7{padding-left:140px}.ag-rtl .ag-row-group-indent-7{padding-right:140px}.ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-ltr .ag-set-filter-indent-8{padding-left:160px}.ag-rtl .ag-set-filter-indent-8{padding-right:160px}.ag-ltr .ag-row-group-indent-8{padding-left:160px}.ag-rtl .ag-row-group-indent-8{padding-right:160px}.ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-ltr .ag-set-filter-indent-9{padding-left:180px}.ag-rtl .ag-set-filter-indent-9{padding-right:180px}.ag-ltr .ag-row-group-indent-9{padding-left:180px}.ag-rtl .ag-row-group-indent-9{padding-right:180px}.ag-ltr{direction:ltr}.ag-ltr .ag-body,.ag-ltr .ag-body-horizontal-scroll,.ag-ltr .ag-body-viewport,.ag-ltr .ag-floating-bottom,.ag-ltr .ag-floating-top,.ag-ltr .ag-header,.ag-ltr .ag-sticky-top{flex-direction:row}.ag-rtl{direction:rtl}.ag-rtl .ag-body,.ag-rtl .ag-body-horizontal-scroll,.ag-rtl .ag-body-viewport,.ag-rtl .ag-floating-bottom,.ag-rtl .ag-floating-top,.ag-rtl .ag-header,.ag-rtl .ag-sticky-top{flex-direction:row-reverse}.ag-rtl .ag-icon-contracted,.ag-rtl .ag-icon-expanded,.ag-rtl .ag-icon-tree-closed{display:block;transform:rotate(180deg)}.ag-body .ag-body-viewport{-webkit-overflow-scrolling:touch}.ag-layout-print.ag-body{display:block;height:unset}.ag-layout-print.ag-root-wrapper{display:inline-block}.ag-layout-print .ag-body-horizontal-scroll,.ag-layout-print .ag-body-vertical-scroll{display:none}.ag-layout-print.ag-force-vertical-scroll{overflow-y:visible!important}@media print{.ag-root-wrapper.ag-layout-print{display:table}.ag-root-wrapper.ag-layout-print .ag-body-horizontal-scroll-viewport,.ag-root-wrapper.ag-layout-print .ag-body-viewport,.ag-root-wrapper.ag-layout-print .ag-center-cols-container,.ag-root-wrapper.ag-layout-print .ag-center-cols-viewport,.ag-root-wrapper.ag-layout-print .ag-root,.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,.ag-root-wrapper.ag-layout-print .ag-virtual-list-viewport{height:auto!important;overflow:hidden!important;display:block!important}.ag-root-wrapper.ag-layout-print .ag-cell,.ag-root-wrapper.ag-layout-print .ag-row{break-inside:avoid}}[class^=ag-],[class^=ag-]:after,[class^=ag-]:before,[class^=ag-]:focus{box-sizing:border-box;outline:none}[class^=ag-]::-ms-clear{display:none}.ag-checkbox .ag-input-wrapper,.ag-radio-button .ag-input-wrapper{overflow:visible}.ag-range-field .ag-input-wrapper{height:100%}.ag-toggle-button{flex:none;width:unset;min-width:unset}.ag-button{border-radius:0px;color:var(--ag-foreground-color)}.ag-button:hover{background-color:transparent}.ag-ltr .ag-label-align-right .ag-label{margin-left:var(--ag-grid-size)}.ag-rtl .ag-label-align-right .ag-label{margin-right:var(--ag-grid-size)}input[class^=ag-]{margin:0}input[class^=ag-],select[class^=ag-],textarea[class^=ag-]{background-color:var(--ag-background-color)}input[class^=ag-]:not([type]),input[class^=ag-][type=date],input[class^=ag-][type=datetime-local],input[class^=ag-][type=number],input[class^=ag-][type=tel],input[class^=ag-][type=text],textarea[class^=ag-]{font-size:inherit;line-height:inherit;color:inherit;font-family:inherit;border:var(--ag-borders-input) var(--ag-input-border-color)}input[class^=ag-]:not([type]):disabled,input[class^=ag-][type=date]:disabled,input[class^=ag-][type=datetime-local]:disabled,input[class^=ag-][type=number]:disabled,input[class^=ag-][type=tel]:disabled,input[class^=ag-][type=text]:disabled,textarea[class^=ag-]:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}input[class^=ag-]:not([type]):focus,input[class^=ag-][type=date]:focus,input[class^=ag-][type=datetime-local]:focus,input[class^=ag-][type=number]:focus,input[class^=ag-][type=tel]:focus,input[class^=ag-][type=text]:focus,textarea[class^=ag-]:focus{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}input[class^=ag-]:not([type]):invalid,input[class^=ag-][type=date]:invalid,input[class^=ag-][type=datetime-local]:invalid,input[class^=ag-][type=number]:invalid,input[class^=ag-][type=tel]:invalid,input[class^=ag-][type=text]:invalid,textarea[class^=ag-]:invalid{border:var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid)}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper){-moz-appearance:textfield}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-inner-spin-button,input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[class^=ag-][type=range]{padding:0}button[class^=ag-]:focus,input[class^=ag-][type=button]:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-drag-handle{color:var(--ag-secondary-foreground-color)}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-virtual-list-item:focus-visible{outline:none}.ag-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-select-list{background-color:var(--ag-background-color);overflow-y:auto;overflow-x:hidden;border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-list-item{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-list-item.ag-active-item{background-color:var(--ag-row-hover-color)}.ag-select-list-item{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ag-ltr .ag-select-list-item{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-select-list-item{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-select-list-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-group-contracted,.ag-group-expanded,.ag-row-drag,.ag-selection-checkbox{color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-contracted,.ag-ltr .ag-group-expanded,.ag-ltr .ag-row-drag,.ag-ltr .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-group-contracted,.ag-rtl .ag-group-expanded,.ag-rtl .ag-row-drag,.ag-rtl .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));display:flex;align-items:center;flex:none}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-group-title-bar-icon{cursor:pointer;flex:none;color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-child-count{margin-left:2px}.ag-rtl .ag-group-child-count{margin-right:2px}.ag-group-title-bar{background-color:var(--ag-subheader-background-color);padding:var(--ag-grid-size)}.ag-group-toolbar{padding:var(--ag-grid-size);background-color:var(--ag-subheader-toolbar-background-color)}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:0.5}.group-item{margin:calc(var(--ag-grid-size)*0.5) 0}.ag-label{white-space:nowrap}.ag-ltr .ag-label{margin-right:var(--ag-grid-size)}.ag-rtl .ag-label{margin-left:var(--ag-grid-size)}.ag-label-align-top .ag-label{margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-angle-select[disabled]{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-angle-select[disabled] .ag-angle-select-field{opacity:0.4}.ag-ltr .ag-angle-select-field,.ag-ltr .ag-slider-field{margin-right:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-angle-select-field,.ag-rtl .ag-slider-field{margin-left:calc(var(--ag-grid-size)*2)}.ag-angle-select-parent-circle{width:24px;height:24px;border-radius:12px;border:1px solid;border-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-angle-select-child-circle{top:4px;left:12px;width:6px;height:6px;margin-left:-3px;margin-top:-4px;border-radius:3px;background-color:var(--ag-secondary-foreground-color)}.ag-picker-field-wrapper{border:var(--ag-borders);border-color:var(--ag-border-color);border-radius:5px;background-color:var(--ag-background-color)}.ag-picker-field-wrapper:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-picker-field-wrapper.ag-picker-has-focus,.ag-picker-field-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}.ag-picker-field-button{background-color:var(--ag-background-color);color:var(--ag-secondary-foreground-color)}.ag-dialog.ag-color-dialog{border-radius:5px}.ag-color-picker .ag-picker-field-display{height:var(--ag-icon-size)}.ag-color-picker .ag-picker-field-wrapper{max-width:45px;min-width:45px}.ag-color-panel{padding:var(--ag-grid-size)}.ag-spectrum-color{background-color:red;border-radius:2px}.ag-spectrum-tools{padding:10px}.ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,rgba(204,154,129,0))}.ag-spectrum-val{background-image:linear-gradient(0deg,#000,rgba(204,154,129,0))}.ag-spectrum-dragger{border-radius:12px;height:12px;width:12px;border:1px solid #fff;background:#000;box-shadow:0 0 2px 0px rgba(0,0,0,0.24)}.ag-spectrum-alpha-background,.ag-spectrum-hue-background{border-radius:2px}.ag-spectrum-tool{margin-bottom:10px;height:11px;border-radius:2px}.ag-spectrum-slider{margin-top:-12px;width:13px;height:13px;border-radius:13px;background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,0.37)}.ag-recent-color{margin:0 3px}.ag-recent-color:first-child{margin-left:0}.ag-recent-color:last-child{margin-right:0}.ag-recent-color:focus-visible:not(:disabled):not([readonly]),.ag-spectrum-color:focus-visible:not(:disabled):not([readonly]),.ag-spectrum-slider:focus-visible:not(:disabled):not([readonly]){box-shadow:var(--ag-input-focus-box-shadow)}.ag-dnd-ghost{background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);overflow:hidden;text-overflow:ellipsis;border:var(--ag-borders-secondary) var(--ag-secondary-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)!important;line-height:var(--ag-header-height);margin:0;padding:0 calc(var(--ag-grid-size)*2);transform:translateY(calc(var(--ag-grid-size)*2))}.ag-dnd-ghost-icon{margin-right:var(--ag-grid-size);color:var(--ag-foreground-color)}.ag-popup-child:not(.ag-tooltip-custom){box-shadow:var(--ag-popup-shadow)}.ag-select .ag-picker-field-wrapper{min-height:var(--ag-list-item-height);cursor:default}.ag-ltr .ag-select .ag-picker-field-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-select .ag-picker-field-wrapper{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-ltr .ag-select .ag-picker-field-wrapper{padding-right:var(--ag-grid-size)}.ag-rtl .ag-select .ag-picker-field-wrapper{padding-left:var(--ag-grid-size)}.ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-select:not(.ag-cell-editor,.ag-label-align-top){min-height:var(--ag-list-item-height)}.ag-select .ag-picker-field-display{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-select .ag-picker-field-icon{display:flex;align-items:center}.ag-select.ag-disabled{opacity:0.5}.ag-rich-select-list,.ag-rich-select-value{background-color:var(--ag-background-color)}.ag-rich-select-list{width:100%;height:auto;border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-rich-select-list .ag-loading-text{padding:var(--ag-widget-vertical-spacing) var(--ag-widget-horizontal-spacing)}.ag-rich-select-value{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color);padding-top:0;padding-bottom:0}.ag-ltr .ag-rich-select-value{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-rich-select-value{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-ltr .ag-rich-select-value{padding-right:var(--ag-grid-size)}.ag-rtl .ag-rich-select-value{padding-left:var(--ag-grid-size)}.ag-ltr .ag-rich-select-field-input{left:calc(var(--ag-cell-horizontal-padding))}.ag-rtl .ag-rich-select-field-input{right:calc(var(--ag-cell-horizontal-padding))}.ag-popup-editor .ag-rich-select-value{height:var(--ag-row-height);min-width:200px}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-rich-select-virtual-list-item:focus-visible:after{content:none}.ag-rich-select-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-ltr .ag-rich-select-row{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-rich-select-row{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-rich-select-row-text-highlight{font-weight:700}.ag-autocomplete{width:100%}.ag-autocomplete-list{width:100%;min-width:200px;height:calc(var(--ag-row-height)*6.5)}.ag-autocomplete-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-autocomplete-virtual-list-item:focus-visible:after{content:none}.ag-autocomplete-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-autocomplete-row-label{margin:0px var(--ag-widget-container-horizontal-padding)}.ag-autocomplete-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-dragging-fill-handle .ag-dialog,.ag-dragging-range-handle .ag-dialog{opacity:0.7;pointer-events:none}.ag-dialog{border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color);box-shadow:var(--ag-popup-shadow)}.ag-panel{background-color:var(--ag-panel-background-color);border-color:var(--ag-panel-border-color)}.ag-panel-title-bar{color:var(--ag-header-foreground-color);height:var(--ag-header-height);padding:var(--ag-grid-size) var(--ag-cell-horizontal-padding);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-panel-title-bar-button{margin-left:var(--ag-grid-size)}.ag-rtl .ag-panel-title-bar-button{margin-right:var(--ag-grid-size)}.ag-tooltip{background-color:var(--ag-tooltip-background-color);color:var(--ag-foreground-color);padding:var(--ag-grid-size);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);white-space:normal}.ag-tooltip-custom.ag-tooltip-animate,.ag-tooltip.ag-tooltip-animate{transition:opacity 1s}.ag-tooltip-custom.ag-tooltip-animate.ag-tooltip-hiding,.ag-tooltip.ag-tooltip-animate.ag-tooltip-hiding{opacity:0}.ag-ltr .ag-column-select-indent-1{padding-left:calc(var(--ag-column-select-indent-size)*1)}.ag-rtl .ag-column-select-indent-1{padding-right:calc(var(--ag-column-select-indent-size)*1)}.ag-ltr .ag-column-select-indent-2{padding-left:calc(var(--ag-column-select-indent-size)*2)}.ag-rtl .ag-column-select-indent-2{padding-right:calc(var(--ag-column-select-indent-size)*2)}.ag-ltr .ag-column-select-indent-3{padding-left:calc(var(--ag-column-select-indent-size)*3)}.ag-rtl .ag-column-select-indent-3{padding-right:calc(var(--ag-column-select-indent-size)*3)}.ag-ltr .ag-column-select-indent-4{padding-left:calc(var(--ag-column-select-indent-size)*4)}.ag-rtl .ag-column-select-indent-4{padding-right:calc(var(--ag-column-select-indent-size)*4)}.ag-ltr .ag-column-select-indent-5{padding-left:calc(var(--ag-column-select-indent-size)*5)}.ag-rtl .ag-column-select-indent-5{padding-right:calc(var(--ag-column-select-indent-size)*5)}.ag-ltr .ag-column-select-indent-6{padding-left:calc(var(--ag-column-select-indent-size)*6)}.ag-rtl .ag-column-select-indent-6{padding-right:calc(var(--ag-column-select-indent-size)*6)}.ag-ltr .ag-column-select-indent-7{padding-left:calc(var(--ag-column-select-indent-size)*7)}.ag-rtl .ag-column-select-indent-7{padding-right:calc(var(--ag-column-select-indent-size)*7)}.ag-ltr .ag-column-select-indent-8{padding-left:calc(var(--ag-column-select-indent-size)*8)}.ag-rtl .ag-column-select-indent-8{padding-right:calc(var(--ag-column-select-indent-size)*8)}.ag-ltr .ag-column-select-indent-9{padding-left:calc(var(--ag-column-select-indent-size)*9)}.ag-rtl .ag-column-select-indent-9{padding-right:calc(var(--ag-column-select-indent-size)*9)}.ag-column-select-header-icon{cursor:pointer}.ag-column-select-header-icon:focus-visible{outline:none}.ag-column-select-header-icon:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0px;left:0px;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-ltr .ag-column-group-icons:not(:last-child),.ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-label:not(:last-child),.ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:var(--ag-widget-horizontal-spacing)}.ag-rtl .ag-column-group-icons:not(:last-child),.ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-label:not(:last-child),.ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:var(--ag-widget-horizontal-spacing)}.ag-column-select-virtual-list-item:focus-visible{outline:none}.ag-column-select-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-column-group:not(:last-child),.ag-column-select-column:not(:last-child){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) 0px}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-rtl{text-align:right}.ag-root-wrapper{border-radius:var(--ag-wrapper-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-group-indent-1{padding-left:calc(var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row-group-indent-1{padding-right:calc(var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-level-1 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-1 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-group-indent-2{padding-left:calc(var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row-group-indent-2{padding-right:calc(var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-level-2 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-2 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-group-indent-3{padding-left:calc(var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row-group-indent-3{padding-right:calc(var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-level-3 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-3 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-group-indent-4{padding-left:calc(var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row-group-indent-4{padding-right:calc(var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-level-4 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-4 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-group-indent-5{padding-left:calc(var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row-group-indent-5{padding-right:calc(var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-level-5 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-5 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-group-indent-6{padding-left:calc(var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row-group-indent-6{padding-right:calc(var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-level-6 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-6 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-group-indent-7{padding-left:calc(var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row-group-indent-7{padding-right:calc(var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-level-7 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-7 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-group-indent-8{padding-left:calc(var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row-group-indent-8{padding-right:calc(var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-level-8 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-8 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-group-indent-9{padding-left:calc(var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row-group-indent-9{padding-right:calc(var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-level-9 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-9 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-group-indent-10{padding-left:calc(var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row-group-indent-10{padding-right:calc(var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-level-10 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-10 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-group-indent-11{padding-left:calc(var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row-group-indent-11{padding-right:calc(var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-level-11 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-11 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-group-indent-12{padding-left:calc(var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row-group-indent-12{padding-right:calc(var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-level-12 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-12 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-group-indent-13{padding-left:calc(var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row-group-indent-13{padding-right:calc(var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-level-13 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-13 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-group-indent-14{padding-left:calc(var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row-group-indent-14{padding-right:calc(var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-level-14 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-14 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-group-indent-15{padding-left:calc(var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row-group-indent-15{padding-right:calc(var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-level-15 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-15 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-group-indent-16{padding-left:calc(var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row-group-indent-16{padding-right:calc(var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-level-16 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-16 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-group-indent-17{padding-left:calc(var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row-group-indent-17{padding-right:calc(var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-level-17 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-17 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-group-indent-18{padding-left:calc(var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row-group-indent-18{padding-right:calc(var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-level-18 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-18 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-group-indent-19{padding-left:calc(var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row-group-indent-19{padding-right:calc(var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-level-19 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-19 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-group-indent-20{padding-left:calc(var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row-group-indent-20{padding-right:calc(var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-level-20 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-20 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-group-indent-21{padding-left:calc(var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row-group-indent-21{padding-right:calc(var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-level-21 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-21 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-group-indent-22{padding-left:calc(var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row-group-indent-22{padding-right:calc(var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-level-22 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-22 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-group-indent-23{padding-left:calc(var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row-group-indent-23{padding-right:calc(var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-level-23 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-23 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-group-indent-24{padding-left:calc(var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row-group-indent-24{padding-right:calc(var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-level-24 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-24 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-group-indent-25{padding-left:calc(var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row-group-indent-25{padding-right:calc(var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-level-25 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-25 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-group-indent-26{padding-left:calc(var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row-group-indent-26{padding-right:calc(var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-level-26 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-26 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-group-indent-27{padding-left:calc(var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row-group-indent-27{padding-right:calc(var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-level-27 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-27 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-group-indent-28{padding-left:calc(var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row-group-indent-28{padding-right:calc(var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-level-28 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-28 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-group-indent-29{padding-left:calc(var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row-group-indent-29{padding-right:calc(var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-level-29 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-29 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-group-indent-30{padding-left:calc(var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row-group-indent-30{padding-right:calc(var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-level-30 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-30 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-group-indent-31{padding-left:calc(var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row-group-indent-31{padding-right:calc(var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-level-31 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-31 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-group-indent-32{padding-left:calc(var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row-group-indent-32{padding-right:calc(var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-level-32 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-32 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-group-indent-33{padding-left:calc(var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row-group-indent-33{padding-right:calc(var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-level-33 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-33 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-group-indent-34{padding-left:calc(var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row-group-indent-34{padding-right:calc(var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-level-34 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-34 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-group-indent-35{padding-left:calc(var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row-group-indent-35{padding-right:calc(var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-level-35 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-35 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-group-indent-36{padding-left:calc(var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row-group-indent-36{padding-right:calc(var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-level-36 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-36 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-group-indent-37{padding-left:calc(var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row-group-indent-37{padding-right:calc(var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-level-37 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-37 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-group-indent-38{padding-left:calc(var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row-group-indent-38{padding-right:calc(var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-level-38 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-38 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-group-indent-39{padding-left:calc(var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row-group-indent-39{padding-right:calc(var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-level-39 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-39 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-group-indent-40{padding-left:calc(var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row-group-indent-40{padding-right:calc(var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-level-40 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-40 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-group-indent-41{padding-left:calc(var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row-group-indent-41{padding-right:calc(var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-level-41 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-41 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-group-indent-42{padding-left:calc(var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row-group-indent-42{padding-right:calc(var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-level-42 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-42 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-group-indent-43{padding-left:calc(var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row-group-indent-43{padding-right:calc(var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-level-43 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-43 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-group-indent-44{padding-left:calc(var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row-group-indent-44{padding-right:calc(var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-level-44 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-44 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-group-indent-45{padding-left:calc(var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row-group-indent-45{padding-right:calc(var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-level-45 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-45 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-group-indent-46{padding-left:calc(var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row-group-indent-46{padding-right:calc(var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-level-46 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-46 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-group-indent-47{padding-left:calc(var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row-group-indent-47{padding-right:calc(var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-level-47 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-47 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-group-indent-48{padding-left:calc(var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row-group-indent-48{padding-right:calc(var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-level-48 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-48 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-group-indent-49{padding-left:calc(var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row-group-indent-49{padding-right:calc(var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-level-49 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-49 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-group-indent-50{padding-left:calc(var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row-group-indent-50{padding-right:calc(var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-level-50 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-50 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-group-indent-51{padding-left:calc(var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row-group-indent-51{padding-right:calc(var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-level-51 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-51 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-group-indent-52{padding-left:calc(var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row-group-indent-52{padding-right:calc(var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-level-52 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-52 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-group-indent-53{padding-left:calc(var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row-group-indent-53{padding-right:calc(var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-level-53 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-53 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-group-indent-54{padding-left:calc(var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row-group-indent-54{padding-right:calc(var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-level-54 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-54 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-group-indent-55{padding-left:calc(var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row-group-indent-55{padding-right:calc(var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-level-55 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-55 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-group-indent-56{padding-left:calc(var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row-group-indent-56{padding-right:calc(var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-level-56 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-56 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-group-indent-57{padding-left:calc(var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row-group-indent-57{padding-right:calc(var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-level-57 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-57 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-group-indent-58{padding-left:calc(var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row-group-indent-58{padding-right:calc(var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-level-58 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-58 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-group-indent-59{padding-left:calc(var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row-group-indent-59{padding-right:calc(var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-level-59 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-59 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-group-indent-60{padding-left:calc(var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row-group-indent-60{padding-right:calc(var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-level-60 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-60 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-group-indent-61{padding-left:calc(var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row-group-indent-61{padding-right:calc(var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-level-61 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-61 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-group-indent-62{padding-left:calc(var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row-group-indent-62{padding-right:calc(var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-level-62 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-62 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-group-indent-63{padding-left:calc(var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row-group-indent-63{padding-right:calc(var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-level-63 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-63 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-group-indent-64{padding-left:calc(var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row-group-indent-64{padding-right:calc(var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-level-64 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-64 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-group-indent-65{padding-left:calc(var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row-group-indent-65{padding-right:calc(var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-level-65 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-65 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-group-indent-66{padding-left:calc(var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row-group-indent-66{padding-right:calc(var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-level-66 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-66 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-group-indent-67{padding-left:calc(var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row-group-indent-67{padding-right:calc(var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-level-67 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-67 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-group-indent-68{padding-left:calc(var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row-group-indent-68{padding-right:calc(var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-level-68 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-68 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-group-indent-69{padding-left:calc(var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row-group-indent-69{padding-right:calc(var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-level-69 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-69 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-group-indent-70{padding-left:calc(var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row-group-indent-70{padding-right:calc(var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-level-70 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-70 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-group-indent-71{padding-left:calc(var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row-group-indent-71{padding-right:calc(var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-level-71 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-71 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-group-indent-72{padding-left:calc(var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row-group-indent-72{padding-right:calc(var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-level-72 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-72 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-group-indent-73{padding-left:calc(var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row-group-indent-73{padding-right:calc(var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-level-73 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-73 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-group-indent-74{padding-left:calc(var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row-group-indent-74{padding-right:calc(var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-level-74 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-74 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-group-indent-75{padding-left:calc(var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row-group-indent-75{padding-right:calc(var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-level-75 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-75 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-group-indent-76{padding-left:calc(var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row-group-indent-76{padding-right:calc(var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-level-76 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-76 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-group-indent-77{padding-left:calc(var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row-group-indent-77{padding-right:calc(var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-level-77 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-77 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-group-indent-78{padding-left:calc(var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row-group-indent-78{padding-right:calc(var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-level-78 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-78 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-group-indent-79{padding-left:calc(var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row-group-indent-79{padding-right:calc(var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-level-79 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-79 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-group-indent-80{padding-left:calc(var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row-group-indent-80{padding-right:calc(var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-level-80 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-80 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-group-indent-81{padding-left:calc(var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row-group-indent-81{padding-right:calc(var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-level-81 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-81 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-group-indent-82{padding-left:calc(var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row-group-indent-82{padding-right:calc(var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-level-82 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-82 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-group-indent-83{padding-left:calc(var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row-group-indent-83{padding-right:calc(var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-level-83 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-83 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-group-indent-84{padding-left:calc(var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row-group-indent-84{padding-right:calc(var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-level-84 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-84 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-group-indent-85{padding-left:calc(var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row-group-indent-85{padding-right:calc(var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-level-85 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-85 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-group-indent-86{padding-left:calc(var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row-group-indent-86{padding-right:calc(var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-level-86 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-86 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-group-indent-87{padding-left:calc(var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row-group-indent-87{padding-right:calc(var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-level-87 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-87 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-group-indent-88{padding-left:calc(var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row-group-indent-88{padding-right:calc(var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-level-88 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-88 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-group-indent-89{padding-left:calc(var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row-group-indent-89{padding-right:calc(var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-level-89 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-89 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-group-indent-90{padding-left:calc(var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row-group-indent-90{padding-right:calc(var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-level-90 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-90 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-group-indent-91{padding-left:calc(var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row-group-indent-91{padding-right:calc(var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-level-91 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-91 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-group-indent-92{padding-left:calc(var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row-group-indent-92{padding-right:calc(var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-level-92 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-92 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-group-indent-93{padding-left:calc(var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row-group-indent-93{padding-right:calc(var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-level-93 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-93 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-group-indent-94{padding-left:calc(var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row-group-indent-94{padding-right:calc(var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-level-94 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-94 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-group-indent-95{padding-left:calc(var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row-group-indent-95{padding-right:calc(var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-level-95 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-95 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-group-indent-96{padding-left:calc(var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row-group-indent-96{padding-right:calc(var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-level-96 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-96 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-group-indent-97{padding-left:calc(var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row-group-indent-97{padding-right:calc(var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-level-97 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-97 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-group-indent-98{padding-left:calc(var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row-group-indent-98{padding-right:calc(var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-level-98 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-98 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-group-indent-99{padding-left:calc(var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row-group-indent-99{padding-right:calc(var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-level-99 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-99 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row-group-leaf-indent{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-group-leaf-indent{margin-right:var(--ag-row-group-indent-size)}.ag-value-change-delta{padding-right:2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color 0.1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row{height:var(--ag-row-height);background-color:var(--ag-background-color);color:var(--ag-data-color);border-bottom:var(--ag-row-border-style) var(--ag-row-border-color) var(--ag-row-border-width)}.ag-row-highlight-above:after,.ag-row-highlight-below:after{content:"";position:absolute;width:calc(100% - 1px);height:1px;background-color:var(--ag-range-selection-border-color);left:1px}.ag-row-highlight-above:after{top:-1px}.ag-row-highlight-above.ag-row-first:after{top:0}.ag-row-highlight-below:after{bottom:0px}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-row-selected:before{content:"";background-color:var(--ag-selected-row-background-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{content:"";background-color:var(--ag-row-hover-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ag-row-hover.ag-full-width-row.ag-row-group>*{position:relative}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-ltr .ag-right-aligned-cell{text-align:right}.ag-rtl .ag-right-aligned-cell{text-align:left}.ag-ltr .ag-right-aligned-cell .ag-cell-value,.ag-ltr .ag-right-aligned-cell .ag-group-value{margin-left:auto}.ag-rtl .ag-right-aligned-cell .ag-cell-value,.ag-rtl .ag-right-aligned-cell .ag-group-value{margin-right:auto}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));border:1px solid transparent;line-height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));-webkit-font-smoothing:subpixel-antialiased}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group,.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:0.5}.ag-cell-inline-editing{border:1px solid var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0;background-color:var(--ag-control-panel-background-color)}.ag-autocomplete-list-popup,.ag-popup-editor .ag-large-text{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background-color:var(--ag-control-panel-background-color);padding:0}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-large-text-input textarea{resize:none}.ag-details-row{padding:calc(var(--ag-grid-size)*5);background-color:var(--ag-background-color)}.ag-layout-auto-height .ag-center-cols-container,.ag-layout-auto-height .ag-center-cols-viewport,.ag-layout-print .ag-center-cols-container,.ag-layout-print .ag-center-cols-viewport{min-height:50px}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-overlay-loading-center{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:var(--ag-grid-size)}.ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-loading{display:flex;height:100%;align-items:center}.ag-ltr .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-name:spin;animation-duration:1000ms;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}.ag-floating-top{border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-floating-bottom{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-cell{border-right:var(--ag-cell-horizontal-border)}.ag-rtl .ag-cell{border-left:var(--ag-cell-horizontal-border)}.ag-ltr .ag-cell{border-right-width:1px}.ag-rtl .ag-cell{border-left-width:1px}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-cell-range-selected:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:var(--ag-range-selection-chart-background-color)!important}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:var(--ag-range-selection-chart-category-background-color)!important}.ag-cell-range-selected-1:not(.ag-cell-focus),.ag-root:not(.ag-context-menu-open) .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-cell-range-selected-2:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-2)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-cell-range-selected-3:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-3)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-cell-range-selected-4:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-4)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:var(--ag-range-selection-border-color);border-top-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:var(--ag-range-selection-border-color);border-right-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:var(--ag-range-selection-border-color);border-bottom-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:var(--ag-range-selection-border-color);border-left-style:var(--ag-range-selection-border-style)}.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-ltr .ag-cell-range-single-cell,.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-rtl .ag-cell-range-single-cell,.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border-color:currentcolor;border-style:solid;border:1px var(--ag-range-selection-border-style) var(--ag-range-selection-border-color);outline:initial}.ag-cell.ag-selection-fill-top,.ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-right,.ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-right,.ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-cell.ag-selection-fill-bottom,.ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-left,.ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-left,.ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-fill-handle,.ag-range-handle{position:absolute;width:6px;height:6px;bottom:-1px;background-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-fill-handle,.ag-ltr .ag-range-handle{right:-1px}.ag-rtl .ag-fill-handle,.ag-rtl .ag-range-handle{left:-1px}.ag-fill-handle{cursor:cell}.ag-range-handle{cursor:nwse-resize}.ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-menu{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background-color:var(--ag-menu-background-color);border-color:var(--ag-menu-border-color);padding:0}.ag-menu-list{cursor:default;padding:var(--ag-grid-size) 0}.ag-menu-separator{height:calc(var(--ag-grid-size)*2 + 1px)}.ag-menu-separator-part:after{content:"";display:block;border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-compact-menu-option-active,.ag-menu-option-active{background-color:var(--ag-row-hover-color)}.ag-compact-menu-option-part,.ag-menu-option-part{line-height:var(--ag-icon-size);padding:calc(var(--ag-grid-size) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{opacity:0.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}.ag-ltr .ag-compact-menu-option-icon,.ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-compact-menu-option-icon,.ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-grid-size)*2);padding-right:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-compact-menu-option-shortcut,.ag-ltr .ag-menu-option-shortcut{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-shortcut,.ag-rtl .ag-menu-option-shortcut{padding-left:var(--ag-grid-size)}.ag-ltr .ag-compact-menu-option-popup-pointer,.ag-ltr .ag-menu-option-popup-pointer{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-popup-pointer,.ag-rtl .ag-menu-option-popup-pointer{padding-left:var(--ag-grid-size)}.ag-tabs{min-width:var(--ag-tab-min-width)}.ag-tab,.ag-tabs-header{display:flex}.ag-tab{border-bottom:var(--ag-selected-tab-underline-width) solid transparent;transition:border-bottom var(--ag-selected-tab-underline-transition-speed);flex:none;align-items:center;justify-content:center;cursor:pointer}.ag-tab:focus-visible{outline:none}.ag-tab:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-tab-selected{border-bottom-color:var(--ag-selected-tab-underline-color)}.ag-menu-header{color:var(--ag-secondary-foreground-color)}.ag-filter-separator{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-filter-select .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}.ag-ltr .ag-filter-condition-operator-or{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-condition-operator-or{margin-right:calc(var(--ag-grid-size)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-top:var(--ag-widget-container-vertical-padding);margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-item{padding:0px var(--ag-widget-container-horizontal-padding)}.ag-ltr .ag-set-filter-indent-1{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*1)}.ag-rtl .ag-set-filter-indent-1{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*1)}.ag-ltr .ag-set-filter-indent-2{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*2)}.ag-rtl .ag-set-filter-indent-2{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*2)}.ag-ltr .ag-set-filter-indent-3{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*3)}.ag-rtl .ag-set-filter-indent-3{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*3)}.ag-ltr .ag-set-filter-indent-4{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*4)}.ag-rtl .ag-set-filter-indent-4{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*4)}.ag-ltr .ag-set-filter-indent-5{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*5)}.ag-rtl .ag-set-filter-indent-5{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*5)}.ag-ltr .ag-set-filter-indent-6{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*6)}.ag-rtl .ag-set-filter-indent-6{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*6)}.ag-ltr .ag-set-filter-indent-7{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*7)}.ag-rtl .ag-set-filter-indent-7{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*7)}.ag-ltr .ag-set-filter-indent-8{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*8)}.ag-rtl .ag-set-filter-indent-8{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*8)}.ag-ltr .ag-set-filter-indent-9{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*9)}.ag-rtl .ag-set-filter-indent-9{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*9)}.ag-ltr .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}.ag-rtl .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}.ag-ltr .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-menu .ag-set-filter-list{min-width:200px}.ag-filter-virtual-list-item:focus-visible{outline:none}.ag-filter-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-apply-panel{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-filter-apply-panel-button{line-height:1.5}.ag-ltr .ag-filter-apply-panel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-apply-panel-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-simple-filter-body-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));overflow-y:auto;min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing))}.ag-simple-filter-body-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-simple-filter-body-wrapper .ag-resizer-wrapper{margin:0}.ag-menu:not(.ag-tabs) .ag-filter .ag-simple-filter-body-wrapper,.ag-menu:not(.ag-tabs) .ag-filter>:not(.ag-filter-wrapper){min-width:calc(var(--ag-menu-min-width) - 2px)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-multi-filter-menu-item{margin:var(--ag-grid-size) 0}.ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*2) var(--ag-grid-size);background-color:transparent}.ag-group-filter-field-select-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-group-filter-field-select-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-multi-filter-group-title-bar:focus-visible{outline:none}.ag-multi-filter-group-title-bar:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-side-bar{position:relative}.ag-tool-panel-wrapper{width:var(--ag-side-bar-panel-width);background-color:var(--ag-control-panel-background-color)}.ag-side-buttons{padding-top:calc(var(--ag-grid-size)*4);width:calc(var(--ag-icon-size) + 4px);position:relative;overflow:hidden}button.ag-side-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:transparent;padding:calc(var(--ag-grid-size)*2) 0 calc(var(--ag-grid-size)*2) 0;width:100%;margin:0;min-height:calc(var(--ag-grid-size)*18);background-position-y:center;background-position-x:center;background-repeat:no-repeat;border:none;border-top:var(--ag-borders-side-button) var(--ag-border-color);border-bottom:var(--ag-borders-side-button) var(--ag-border-color)}button.ag-side-button-button:focus{box-shadow:none}.ag-side-button-button:focus-visible{outline:none}.ag-side-button-button:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-selected button.ag-side-button-button{background-color:var(--ag-side-button-selected-background-color)}.ag-side-button-icon-wrapper{margin-bottom:3px}.ag-ltr .ag-side-bar-left,.ag-rtl .ag-side-bar-right{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:var(--ag-selected-tab-underline-width) solid transparent;transition:border-right var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:var(--ag-selected-tab-underline-color)}.ag-ltr .ag-side-bar-right,.ag-rtl .ag-side-bar-left{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:var(--ag-selected-tab-underline-width) solid transparent;transition:border-left var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:var(--ag-selected-tab-underline-color)}.ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*6)}.ag-filter-toolpanel-header,.ag-filter-toolpanel-search{padding:0 var(--ag-grid-size)}.ag-filter-toolpanel-header:focus-visible{outline:none}.ag-filter-toolpanel-header:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-family:var(--ag-icon-font-family);font-weight:var(--ag-icon-font-weight);color:var(--ag-icon-font-color);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--ag-icon-font-code-filter,"\\f115");position:absolute}.ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*8)}.ag-filter-toolpanel-group-item{margin-top:calc(var(--ag-grid-size)*0.5);margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-filter-toolpanel-search{height:var(--ag-header-height)}.ag-filter-toolpanel-search-input{flex-grow:1;height:calc(var(--ag-grid-size)*4)}.ag-ltr .ag-filter-toolpanel-search-input{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-search-input{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-ltr .ag-filter-toolpanel-expand,.ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-expand,.ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:var(--ag-grid-size)}.ag-filter-toolpanel-instance-filter{border-bottom:var(--ag-borders) var(--ag-border-color);border-top:var(--ag-borders) var(--ag-border-color);margin-top:var(--ag-grid-size)}.ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:var(--ag-grid-size)}.ag-set-filter-group-icons{color:var(--ag-secondary-foreground-color)}.ag-pivot-mode-panel{min-height:var(--ag-header-height);height:var(--ag-header-height);display:flex}.ag-pivot-mode-select{display:flex;align-items:center}.ag-ltr .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-column-select-header:focus-visible{outline:none}.ag-column-select-header:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-header{height:var(--ag-header-height);align-items:center;padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select,.ag-column-select-header{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-panel-column-select{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-group-icons,.ag-column-select-header-icon{color:var(--ag-secondary-foreground-color)}.ag-column-select-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-column-select-list .ag-item-highlight-top:after{top:0}.ag-column-select-list .ag-item-highlight-bottom:after{bottom:0}.ag-advanced-filter-header,.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-row{color:var(--ag-header-foreground-color);height:var(--ag-header-height)}.ag-pinned-right-header{border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-pinned-left-header{border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon{margin-left:var(--ag-grid-size)}.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-menu-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-menu-icon{margin-left:var(--ag-grid-size)}.ag-header-cell,.ag-header-group-cell{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-header-cell.ag-header-cell-moving,.ag-header-group-cell.ag-header-cell-moving{background-color:var(--ag-header-cell-moving-background-color)}.ag-ltr .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-header-cell:focus-visible{outline:none}.ag-header-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-group-cell:focus-visible{outline:none}.ag-header-group-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-advanced-filter-header-cell:focus-visible{outline:none}.ag-advanced-filter-header-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-icon{color:var(--ag-secondary-foreground-color)}.ag-header-expand-icon{cursor:pointer}.ag-ltr .ag-header-expand-icon{margin-left:4px}.ag-rtl .ag-header-expand-icon{margin-right:4px}.ag-header-row:not(:first-child) .ag-header-cell:not(.ag-header-span-height.ag-header-span-total),.ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-cell:not(.ag-column-hover):first-of-type.ag-column-resizing,.ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving):hover,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover,.ag-header-group-cell:first-of-type.ag-column-resizing,.ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover{background-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:before,.ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{content:"";position:absolute;z-index:1;display:var(--ag-header-column-separator-display);width:var(--ag-header-column-separator-width);height:var(--ag-header-column-separator-height);top:calc(50% - var(--ag-header-column-separator-height)*0.5);background-color:var(--ag-header-column-separator-color)}.ag-ltr .ag-header-cell:before,.ag-ltr .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{right:0}.ag-rtl .ag-header-cell:before,.ag-rtl .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{left:0}.ag-header-cell-resize{display:flex;align-items:center}.ag-header-cell-resize:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-resize-handle-display);width:var(--ag-header-column-resize-handle-width);height:var(--ag-header-column-resize-handle-height);top:calc(50% - var(--ag-header-column-resize-handle-height)*0.5);background-color:var(--ag-header-column-resize-handle-color)}.ag-header-cell.ag-header-span-height .ag-header-cell-resize:after{height:calc(100% - var(--ag-grid-size)*4);top:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-header-viewport .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-rtl .ag-header-viewport .ag-header-cell-resize:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-left-header .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-ltr .ag-header-select-all{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-select-all{margin-left:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-floating-filter-button{margin-left:var(--ag-cell-widget-spacing)}.ag-rtl .ag-floating-filter-button{margin-right:var(--ag-cell-widget-spacing)}.ag-floating-filter-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;background:transparent;border:none;height:var(--ag-icon-size);padding:0;width:var(--ag-icon-size)}.ag-filter-loading{background-color:var(--ag-control-panel-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1}.ag-paging-panel{border-top:1px solid;border-top-color:var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-paging-panel>*{margin:0 var(--ag-cell-horizontal-padding)}.ag-paging-panel>.ag-paging-page-size .ag-wrapper{min-width:calc(var(--ag-grid-size)*10)}.ag-paging-button{cursor:pointer}.ag-paging-button.ag-disabled{cursor:default;color:var(--ag-disabled-foreground-color)}.ag-paging-button:focus-visible{outline:none}.ag-paging-button:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0px;left:0px;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-paging-button,.ag-paging-description{margin:0 var(--ag-grid-size)}.ag-status-bar{border-top:var(--ag-borders) var(--ag-border-color);color:var(--ag-disabled-foreground-color);padding-right:calc(var(--ag-grid-size)*4);padding-left:calc(var(--ag-grid-size)*4);line-height:1.5}.ag-status-name-value-value{color:var(--ag-foreground-color)}.ag-status-bar-center{text-align:center}.ag-status-name-value{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size);padding-top:calc(var(--ag-grid-size)*2);padding-bottom:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell{background:var(--ag-chip-background-color);border-radius:calc(var(--ag-grid-size)*4);height:calc(var(--ag-grid-size)*4);padding:0 calc(var(--ag-grid-size)*0.5);border:1px solid var(--ag-chip-border-color)}.ag-column-drop-cell:focus-visible{outline:none}.ag-column-drop-cell:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:2px;left:2px;display:block;width:calc(100% - 4px);height:calc(100% - 4px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-drop-cell-text{margin:0 var(--ag-grid-size)}.ag-column-drop-cell-button{min-width:calc(var(--ag-grid-size)*4);margin:0 calc(var(--ag-grid-size)*0.5);color:var(--ag-secondary-foreground-color)}.ag-column-drop-cell-drag-handle{margin-left:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell-ghost{opacity:0.5}.ag-column-drop-horizontal{background-color:var(--ag-header-background-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-column-drop-horizontal{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:var(--ag-borders) var(--ag-border-color)}.ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:var(--ag-borders) var(--ag-border-color)}.ag-column-drop-horizontal-cell-separator{margin:0 var(--ag-grid-size);color:var(--ag-secondary-foreground-color)}.ag-column-drop-horizontal-empty-message{color:var(--ag-disabled-foreground-color)}.ag-ltr .ag-column-drop-horizontal-icon{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal-icon{margin-left:var(--ag-cell-horizontal-padding)}.ag-column-drop-vertical-list{padding-bottom:var(--ag-grid-size);padding-right:var(--ag-grid-size);padding-left:var(--ag-grid-size)}.ag-column-drop-vertical-cell{margin-top:var(--ag-grid-size)}.ag-column-drop-vertical{min-height:50px;border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-column-drop-vertical-icon{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size)}.ag-column-drop-vertical-empty-message{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;color:var(--ag-disabled-foreground-color);margin-top:var(--ag-grid-size)}.ag-select-agg-func-popup{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background:var(--ag-background-color);height:calc(var(--ag-grid-size)*5*3.5);padding:0}.ag-select-agg-func-virtual-list-item{cursor:default}.ag-ltr .ag-select-agg-func-virtual-list-item{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-select-agg-func-virtual-list-item{padding-right:calc(var(--ag-grid-size)*2)}.ag-select-agg-func-virtual-list-item:hover{background-color:var(--ag-selected-row-background-color)}.ag-select-agg-func-virtual-list-item:focus-visible{outline:none}.ag-select-agg-func-virtual-list-item:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-sort-indicator-container{display:flex}.ag-ltr .ag-sort-indicator-icon{padding-left:var(--ag-grid-size)}.ag-rtl .ag-sort-indicator-icon{padding-right:var(--ag-grid-size)}.ag-chart{width:100%;height:100%}.ag-chart,.ag-chart-components-wrapper{position:relative;display:flex;overflow:hidden}.ag-chart-components-wrapper{flex:1 1 auto}.ag-chart-title-edit{position:absolute;display:none;top:0;left:0;text-align:center}.ag-chart-title-edit.currently-editing{display:inline-block}.ag-chart-canvas-wrapper{position:relative;flex:1 1 auto;overflow:hidden}.ag-charts-canvas{display:block}.ag-chart-menu{position:absolute;top:16px;display:flex;flex-direction:column}.ag-ltr .ag-chart-menu{right:20px}.ag-rtl .ag-chart-menu{left:20px}.ag-chart-docked-container{position:relative;width:0;min-width:0;transition:min-width 0.4s}.ag-chart-menu-hidden~.ag-chart-docked-container{max-width:0;overflow:hidden}.ag-chart-tabbed-menu{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.ag-chart-tabbed-menu-header{flex:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ag-chart-tabbed-menu-body{display:flex;flex:1 1 auto;align-items:stretch;overflow:hidden}.ag-chart-tab{width:100%;overflow:hidden;overflow-y:auto}.ag-chart-settings{overflow-x:hidden}.ag-chart-settings-wrapper{position:relative;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.ag-chart-settings-nav-bar{display:flex;align-items:center;width:100%;height:30px;padding:0 10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-chart-settings-card-selector{display:flex;align-items:center;justify-content:space-around;flex:1 1 auto;height:100%;padding:0 10px}.ag-chart-settings-card-item{cursor:pointer;width:10px;height:10px;background-color:#000;position:relative}.ag-chart-settings-card-item.ag-not-selected{opacity:0.2}.ag-chart-settings-card-item:before{content:" ";display:block;position:absolute;background-color:transparent;left:50%;top:50%;margin-left:-10px;margin-top:-10px;width:20px;height:20px}.ag-chart-settings-next,.ag-chart-settings-prev{position:relative;flex:none}.ag-chart-settings-next-button,.ag-chart-settings-prev-button{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.ag-chart-settings-mini-charts-container{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto}.ag-chart-settings-mini-wrapper{position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100%;overflow:hidden}.ag-chart-settings-mini-wrapper.ag-animating{transition:left 0.3s;transition-timing-function:ease-in-out}.ag-chart-mini-thumbnail{cursor:pointer}.ag-chart-mini-thumbnail-canvas{display:block}.ag-chart-data-wrapper,.ag-chart-format-wrapper{display:flex;flex-direction:column;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;padding-bottom:16px}.ag-chart-data-wrapper{height:100%;overflow-y:auto}.ag-chart-empty-text{display:flex;top:0;width:100%;height:100%;align-items:center;justify-content:center;background-color:var(--ag-background-color)}.ag-chart .ag-chart-menu{display:none}.ag-chart-menu-hidden:hover .ag-chart-menu{display:block}.ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{display:flex;flex-direction:row;top:8px;gap:20px;width:auto}.ag-ltr .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{right:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:right}.ag-rtl .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{left:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:left}.ag-chart-menu-close{display:none}.ag-chart-tool-panel-button-enable .ag-chart-menu-close{position:absolute;top:50%;transition:transform 0.33s ease-in-out;padding:0;display:block;cursor:pointer;border:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{right:0px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{left:0px}.ag-chart-tool-panel-button-enable .ag-chart-menu-close .ag-icon{padding:14px 5px 14px 2px;width:auto;height:auto}.ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{content:"";position:absolute;top:-40px;bottom:-40px}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:0px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:0px}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:-10px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:-10px}.ag-chart-tool-panel-button-enable .ag-icon-menu{display:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(3px,-50%)}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-ltr .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(5px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(-3px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-rtl .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(-5px,-50%)}.ag-charts-font-size-color{display:flex;align-self:stretch;justify-content:space-between}.ag-charts-data-group-item{position:relative}.ag-chart-menu{background:var(--ag-background-color)}.ag-chart-menu,.ag-chart-menu-icon{border-radius:var(--ag-card-radius)}.ag-chart-menu-icon{opacity:0.5;margin:2px 0;cursor:pointer;color:var(--ag-secondary-foreground-color)}.ag-chart-menu-icon:hover{opacity:1}.ag-chart-mini-thumbnail{border:1px solid var(--ag-secondary-border-color);border-radius:5px}.ag-chart-mini-thumbnail.ag-selected{border-color:var(--ag-minichart-selected-chart-color)}.ag-chart-settings-card-item{background:var(--ag-foreground-color);width:8px;height:8px;border-radius:4px}.ag-chart-settings-card-item.ag-selected{background-color:var(--ag-minichart-selected-page-color)}.ag-chart-data-column-drag-handle{margin-left:var(--ag-grid-size)}.ag-charts-data-group-title-bar,.ag-charts-format-top-level-group-title-bar,.ag-charts-settings-group-title-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-charts-data-group-container{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) var(--ag-widget-container-horizontal-padding)}.ag-charts-data-group-container .ag-charts-data-group-item:not(.ag-charts-format-sub-level-group){height:var(--ag-list-item-height)}.ag-charts-data-group-container .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-charts-data-group-container .ag-item-highlight-top:after{top:0}.ag-charts-data-group-container .ag-item-highlight-bottom:after{bottom:0}.ag-charts-format-top-level-group-container{margin-left:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size)}.ag-charts-format-top-level-group-item{margin:var(--ag-grid-size) 0}.ag-charts-format-sub-level-group-container{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-charts-format-sub-level-group-container>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-charts-settings-group-container{padding:var(--ag-grid-size);row-gap:8px;display:grid;grid-template-columns:60px 1fr 60px 1fr 60px}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+1){grid-column:1}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+2){grid-column:3}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+3){grid-column:5}.ag-chart-data-section,.ag-chart-format-section{display:flex;margin:0}.ag-chart-menu-panel{background-color:var(--ag-control-panel-background-color)}.ag-ltr .ag-chart-menu-panel{border-left:1px solid var(--ag-border-color)}.ag-rtl .ag-chart-menu-panel{border-right:1px solid var(--ag-border-color)}.ag-date-time-list-page-title-bar{display:flex}.ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-date-time-list-page-column-labels-row,.ag-date-time-list-page-entries-row{display:flex}.ag-date-time-list-page-column-label,.ag-date-time-list-page-entry{flex-basis:0;flex-grow:1}.ag-date-time-list-page-entry{cursor:pointer;text-align:center}.ag-date-time-list-page-column-label{text-align:center}.ag-advanced-filter-header{position:relative;display:flex;align-items:center;padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-advanced-filter{display:flex;align-items:center;width:100%}.ag-advanced-filter-apply-button,.ag-advanced-filter-builder-button{line-height:normal;white-space:nowrap}.ag-ltr .ag-advanced-filter-apply-button,.ag-ltr .ag-advanced-filter-builder-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-advanced-filter-apply-button,.ag-rtl .ag-advanced-filter-builder-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-button{display:flex;align-items:center;border:0;background-color:unset;color:var(--ag-foreground-color);font-size:var(--ag-font-size);font-weight:600}.ag-advanced-filter-builder-button:hover:not(:disabled){background-color:var(--ag-row-hover-color)}.ag-advanced-filter-builder-button:not(:disabled){cursor:pointer}.ag-advanced-filter-builder-button-label{margin-left:var(--ag-grid-size)}.ag-advanced-filter-builder{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;background-color:var(--ag-control-panel-background-color);display:flex;flex-direction:column}.ag-advanced-filter-builder-list{flex:1;overflow:auto}.ag-advanced-filter-builder-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-advanced-filter-builder-list .ag-item-highlight-top:after{top:0}.ag-advanced-filter-builder-list .ag-item-highlight-bottom:after{bottom:0}.ag-advanced-filter-builder-button-panel{display:flex;justify-content:flex-end;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-apply-button,.ag-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-cancel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-item-wrapper{display:flex;flex:1 1 auto;align-items:center;justify-content:space-between;overflow:hidden;padding-left:calc(var(--ag-icon-size)/2);padding-right:var(--ag-icon-size)}.ag-advanced-filter-builder-item-tree-lines>*{width:var(--ag-advanced-filter-builder-indent-size)}.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root{width:var(--ag-icon-size)}.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root:before{top:50%;height:50%}.ag-advanced-filter-builder-item-tree-line-horizontal,.ag-advanced-filter-builder-item-tree-line-vertical,.ag-advanced-filter-builder-item-tree-line-vertical-bottom,.ag-advanced-filter-builder-item-tree-line-vertical-top{position:relative;height:100%;display:flex;align-items:center}.ag-advanced-filter-builder-item-tree-line-horizontal:after,.ag-advanced-filter-builder-item-tree-line-horizontal:before,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:after,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before,.ag-advanced-filter-builder-item-tree-line-vertical-top:after,.ag-advanced-filter-builder-item-tree-line-vertical-top:before,.ag-advanced-filter-builder-item-tree-line-vertical:after,.ag-advanced-filter-builder-item-tree-line-vertical:before{content:"";position:absolute;height:100%}.ag-advanced-filter-builder-item-tree-line-horizontal:after{height:50%;width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size));top:0;left:calc(var(--ag-icon-size)/2);border-left-color:var(--ag-border-color);border-bottom:1px solid;border-bottom-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color)}.ag-advanced-filter-builder-item-tree-line-vertical-top:before,.ag-advanced-filter-builder-item-tree-line-vertical:before{width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size)/2);top:0;left:calc(var(--ag-icon-size)/2);border-left:1px solid;border-left-color:var(--ag-border-color);border-bottom-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color)}.ag-advanced-filter-builder-item-tree-line-vertical-top:before{height:50%}.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before{height:calc(50% - var(--ag-icon-size)*1.5/2);width:calc(var(--ag-icon-size)/2);top:calc(50% + var(--ag-icon-size)*1.5/2);left:calc(var(--ag-icon-size)/2);border-left:1px solid;border-left-color:var(--ag-border-color);border-bottom-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color)}.ag-advanced-filter-builder-item-condition{padding-top:var(--ag-grid-size);padding-bottom:var(--ag-grid-size)}.ag-advanced-filter-builder-item,.ag-advanced-filter-builder-item-buttons,.ag-advanced-filter-builder-item-condition,.ag-advanced-filter-builder-item-tree-lines,.ag-advanced-filter-builder-pill,.ag-advanced-filter-builder-pill-wrapper{display:flex;align-items:center;height:100%}.ag-advanced-filter-builder-pill-wrapper{margin:0px var(--ag-grid-size)}.ag-advanced-filter-builder-pill{position:relative;border-radius:var(--ag-border-radius);padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);min-height:calc(100% - var(--ag-grid-size)*3);min-width:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-pill .ag-picker-field-display{margin-right:var(--ag-grid-size)}.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-number{font-family:monospace;font-weight:700}.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-empty{color:var(--ag-disabled-foreground-color)}.ag-advanced-filter-builder-pill:focus-visible{outline:none}.ag-advanced-filter-builder-pill:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:-4px;left:-4px;display:block;width:calc(100% + 8px);height:calc(100% + 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-advanced-filter-builder-item-button:focus-visible{outline:none}.ag-advanced-filter-builder-item-button:focus-visible:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:-4px;left:-4px;display:block;width:calc(100% + 8px);height:calc(100% + 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-advanced-filter-builder-pill-display{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ag-advanced-filter-builder-join-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-join-pill-color);cursor:pointer}.ag-advanced-filter-builder-column-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-column-pill-color);cursor:pointer}.ag-advanced-filter-builder-option-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-option-pill-color);cursor:pointer}.ag-advanced-filter-builder-value-pill{color:var(--ag-foreground-color);background-color:var(--ag-advanced-filter-value-pill-color);cursor:text;max-width:140px}.ag-advanced-filter-builder-value-pill .ag-advanced-filter-builder-pill-display{display:block}.ag-advanced-filter-builder-item-buttons>*{margin:0 calc(var(--ag-grid-size)*0.5)}.ag-advanced-filter-builder-item-button{position:relative;cursor:pointer;color:var(--ag-secondary-foreground-color);opacity:50%}.ag-advanced-filter-builder-item-button-disabled{color:var(--ag-disabled-foreground-color);cursor:default}.ag-advanced-filter-builder-virtual-list-container{top:var(--ag-grid-size)}.ag-advanced-filter-builder-virtual-list-item{display:flex;cursor:default;height:var(--ag-list-item-height)}.ag-advanced-filter-builder-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-advanced-filter-builder-validation .ag-advanced-filter-builder-invalid,.ag-advanced-filter-builder-virtual-list-item-highlight .ag-advanced-filter-builder-item-button:focus-visible,.ag-advanced-filter-builder-virtual-list-item:hover .ag-advanced-filter-builder-item-button{opacity:100%}.ag-advanced-filter-builder-invalid{margin:0 var(--ag-grid-size);color:var(--ag-invalid-color);cursor:default}.ag-input-field-input{width:100%;min-width:0}.ag-checkbox-input-wrapper{font-family:var(--ag-icon-font-family);font-weight:var(--ag-icon-font-weight);color:var(--ag-icon-font-color);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);display:inline-block;vertical-align:middle;flex:none}.ag-checkbox-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-checkbox-input-wrapper:active,.ag-checkbox-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-checkbox-input-wrapper.ag-disabled{opacity:0.5}.ag-checkbox-input-wrapper:after{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108");color:var(--ag-checkbox-unchecked-color);display:var(--ag-icon-font-display-checkbox-unchecked,var(--ag-icon-font-display));position:absolute;top:0;left:0;pointer-events:none}.ag-checkbox-input-wrapper.ag-checked:after{content:var(--ag-icon-font-code-checkbox-checked,"\\f106");color:var(--ag-checkbox-checked-color);display:var(--ag-icon-font-display-checkbox-checked,var(--ag-icon-font-display));position:absolute;top:0;left:0;pointer-events:none}.ag-checkbox-input-wrapper.ag-indeterminate:after{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107");color:var(--ag-checkbox-indeterminate-color);display:var(--ag-icon-font-display-checkbox-indeterminate,var(--ag-icon-font-display));position:absolute;top:0;left:0;pointer-events:none}.ag-checkbox-input-wrapper:before{content:"";background:transparent 50%/contain no-repeat;position:absolute;inset:0;background-image:var(--ag-icon-image-checkbox-unchecked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-unchecked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-unchecked,var(--ag-icon-image-opacity,0.9))}.ag-checkbox-input-wrapper.ag-checked:before{background-image:var(--ag-icon-image-checkbox-checked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-checked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-checked,var(--ag-icon-image-opacity,0.9))}.ag-checkbox-input-wrapper.ag-indeterminate:before{background-image:var(--ag-icon-image-checkbox-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-indeterminate,var(--ag-icon-image-opacity,0.9))}.ag-toggle-button-input-wrapper{box-sizing:border-box;width:var(--ag-toggle-button-width);min-width:var(--ag-toggle-button-width);max-width:var(--ag-toggle-button-width);height:var(--ag-toggle-button-height);background-color:var(--ag-toggle-button-off-background-color);border-radius:calc(var(--ag-toggle-button-height)*0.5);position:relative;flex:none;border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-off-border-color)}.ag-toggle-button-input-wrapper input{opacity:0;height:100%;width:100%}.ag-toggle-button-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-toggle-button-input-wrapper.ag-disabled{opacity:0.5}.ag-toggle-button-input-wrapper.ag-checked{background-color:var(--ag-toggle-button-on-background-color);border-color:var(--ag-toggle-button-on-border-color)}.ag-toggle-button-input-wrapper:before{content:" ";position:absolute;top:calc(0px - var(--ag-toggle-button-border-width));left:calc(0px - var(--ag-toggle-button-border-width));display:block;box-sizing:border-box;height:var(--ag-toggle-button-height);width:var(--ag-toggle-button-height);background-color:var(--ag-toggle-button-switch-background-color);border-radius:100%;transition:left 100ms;border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-switch-border-color)}.ag-toggle-button-input-wrapper.ag-checked:before{left:calc(100% - var(--ag-toggle-button-height) + var(--ag-toggle-button-border-width));border-color:var(--ag-toggle-button-on-border-color)}.ag-radio-button-input-wrapper{font-family:var(--ag-icon-font-family);font-weight:var(--ag-icon-font-weight);color:var(--ag-icon-font-color);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);display:inline-block;vertical-align:middle;flex:none;border-radius:var(--ag-icon-size)}.ag-radio-button-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-radio-button-input-wrapper:active,.ag-radio-button-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-radio-button-input-wrapper.ag-disabled{opacity:0.5}.ag-radio-button-input-wrapper:after{content:var(--ag-icon-font-code-radio-button-off,"\\f127");color:var(--ag-checkbox-unchecked-color);display:var(--ag-icon-font-display-radio-button-off,var(--ag-icon-font-display));position:absolute;top:0;left:0;pointer-events:none}.ag-radio-button-input-wrapper.ag-checked:after{content:var(--ag-icon-font-code-radio-button-on,"\\f128");color:var(--ag-checkbox-checked-color);display:var(--ag-icon-font-display-radio-button-on,var(--ag-icon-font-display));position:absolute;top:0;left:0;pointer-events:none}.ag-radio-button-input-wrapper:before{content:"";background:transparent 50%/contain no-repeat;position:absolute;inset:0;background-image:var(--ag-icon-image-radio-button-off,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-off,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-off,var(--ag-icon-image-opacity,0.9))}.ag-radio-button-input-wrapper.ag-checked:before{background-image:var(--ag-icon-image-radio-button-on,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-on,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-on,var(--ag-icon-image-opacity,0.9))}input[class^=ag-][type=range]{-webkit-appearance:none;width:100%;height:100%;background:none;overflow:visible}input[class^=ag-][type=range]::-webkit-slider-runnable-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius)}input[class^=ag-][type=range]::-moz-range-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius)}input[class^=ag-][type=range]::-ms-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius);color:transparent;width:calc(100% - 2px)}input[class^=ag-][type=range]::-webkit-slider-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size);transform:translateY(calc(var(--ag-icon-size)*-0.5 + 1.5px))}input[class^=ag-][type=range]::-ms-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size)}input[class^=ag-][type=range]::-moz-ag-range-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size)}input[class^=ag-][type=range]:focus{outline:none}input[class^=ag-][type=range]:focus::-webkit-slider-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:focus::-ms-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:focus::-moz-ag-range-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:active::-webkit-slider-runnable-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-moz-ag-range-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-ms-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:disabled{opacity:0.5}',""])},function(e,t,a){var r=a(13);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'.ag-theme-alpine,.ag-theme-alpine-auto-dark,.ag-theme-alpine-dark{--ag-alpine-active-color:#2196f3;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-row-hover-color:rgba(33,150,243,0.1);--ag-column-hover-color:rgba(33,150,243,0.1);--ag-input-focus-border-color:rgba(33,150,243,0.4);--ag-range-selection-background-color:rgba(33,150,243,0.2);--ag-range-selection-background-color-2:rgba(33,150,243,0.36);--ag-range-selection-background-color-3:rgba(33,150,243,0.49);--ag-range-selection-background-color-4:rgba(33,150,243,0.59);--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:#babfc7;--ag-secondary-border-color:#dde2eb;--ag-header-background-color:#f8f8f8;--ag-tooltip-background-color:#f8f8f8;--ag-odd-row-background-color:#fcfcfc;--ag-control-panel-background-color:#f8f8f8;--ag-subheader-background-color:#fff;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:#999;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-alpine-active-color);--ag-range-selection-border-color:var(--ag-alpine-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-input-focus-box-shadow:0 0 2px 0.1rem var(--ag-input-focus-border-color);--ag-panel-background-color:var(--ag-header-background-color);--ag-menu-background-color:var(--ag-header-background-color);--ag-disabled-foreground-color:rgba(24,29,31,0.5);--ag-chip-background-color:rgba(24,29,31,0.07);--ag-input-disabled-border-color:rgba(186,191,199,0.3);--ag-input-disabled-background-color:rgba(186,191,199,0.15);--ag-borders:solid 1px;--ag-border-radius:3px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:6px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-column-select-indent-size:var(--ag-icon-size);--ag-set-filter-indent-size:var(--ag-icon-size);--ag-advanced-filter-builder-indent-size:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*2);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.5);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridAlpine;--ag-selected-tab-underline-color:var(--ag-alpine-active-color);--ag-selected-tab-underline-width:2px;--ag-selected-tab-underline-transition-speed:0.3s;--ag-tab-min-width:240px;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:var(--ag-card-shadow);--ag-side-bar-panel-width:250px}.ag-theme-alpine-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;color-scheme:dark}@media (prefers-color-scheme:dark){.ag-theme-alpine-auto-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;color-scheme:dark}}.ag-theme-alpine-auto-dark .ag-filter-toolpanel-header,.ag-theme-alpine-auto-dark .ag-filter-toolpanel-search,.ag-theme-alpine-auto-dark .ag-header-row,.ag-theme-alpine-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-auto-dark .ag-panel-title-bar-title,.ag-theme-alpine-auto-dark .ag-status-bar,.ag-theme-alpine-dark .ag-filter-toolpanel-header,.ag-theme-alpine-dark .ag-filter-toolpanel-search,.ag-theme-alpine-dark .ag-header-row,.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-dark .ag-panel-title-bar-title,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-filter-toolpanel-header,.ag-theme-alpine .ag-filter-toolpanel-search,.ag-theme-alpine .ag-header-row,.ag-theme-alpine .ag-multi-filter-group-title-bar,.ag-theme-alpine .ag-panel-title-bar-title,.ag-theme-alpine .ag-status-bar{font-weight:700;color:var(--ag-header-foreground-color)}.ag-theme-alpine-auto-dark .ag-row,.ag-theme-alpine-dark .ag-row,.ag-theme-alpine .ag-row{font-size:calc(var(--ag-font-size) + 1px)}.ag-theme-alpine-auto-dark input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark input[class^=ag-][type=date],.ag-theme-alpine-auto-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark input[class^=ag-][type=number],.ag-theme-alpine-auto-dark input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark input[class^=ag-][type=text],.ag-theme-alpine-auto-dark textarea[class^=ag-],.ag-theme-alpine-dark input[class^=ag-]:not([type]),.ag-theme-alpine-dark input[class^=ag-][type=date],.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark input[class^=ag-][type=number],.ag-theme-alpine-dark input[class^=ag-][type=tel],.ag-theme-alpine-dark input[class^=ag-][type=text],.ag-theme-alpine-dark textarea[class^=ag-],.ag-theme-alpine input[class^=ag-]:not([type]),.ag-theme-alpine input[class^=ag-][type=date],.ag-theme-alpine input[class^=ag-][type=datetime-local],.ag-theme-alpine input[class^=ag-][type=number],.ag-theme-alpine input[class^=ag-][type=tel],.ag-theme-alpine input[class^=ag-][type=text],.ag-theme-alpine textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-auto-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-auto-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-tab,.ag-theme-alpine-dark .ag-tab,.ag-theme-alpine .ag-tab{padding:calc(var(--ag-grid-size)*1.5);transition:color 0.4s;flex:1 1 auto}.ag-theme-alpine-auto-dark .ag-tab-selected,.ag-theme-alpine-dark .ag-tab-selected,.ag-theme-alpine .ag-tab-selected{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-menu,.ag-theme-alpine-auto-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-alpine-dark .ag-menu,.ag-theme-alpine-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-alpine .ag-menu,.ag-theme-alpine .ag-panel-content-wrapper .ag-column-select{background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-auto-dark .ag-menu-header,.ag-theme-alpine-dark .ag-menu-header,.ag-theme-alpine .ag-menu-header{background-color:var(--ag-control-panel-background-color);padding-top:1px}.ag-theme-alpine-auto-dark .ag-tabs-header,.ag-theme-alpine-dark .ag-tabs-header,.ag-theme-alpine .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-theme-alpine-auto-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-auto-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine .ag-charts-data-group-title-bar,.ag-theme-alpine .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine .ag-charts-settings-group-title-bar{padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);line-height:calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px)}.ag-theme-alpine-auto-dark .ag-chart-mini-thumbnail,.ag-theme-alpine-dark .ag-chart-mini-thumbnail,.ag-theme-alpine .ag-chart-mini-thumbnail{background-color:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-chart-settings-nav-bar,.ag-theme-alpine-dark .ag-chart-settings-nav-bar,.ag-theme-alpine .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-alpine-auto-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group,.ag-theme-alpine-dark .ag-charts-format-sub-level-group,.ag-theme-alpine .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:700}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-alpine-auto-dark.ag-dnd-ghost,.ag-theme-alpine-dark.ag-dnd-ghost,.ag-theme-alpine.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:700}.ag-theme-alpine-auto-dark .ag-side-buttons,.ag-theme-alpine-dark .ag-side-buttons,.ag-theme-alpine .ag-side-buttons{width:calc(var(--ag-grid-size)*5)}.ag-theme-alpine-auto-dark .ag-standard-button,.ag-theme-alpine-dark .ag-standard-button,.ag-theme-alpine .ag-standard-button{font-family:inherit;appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid;border-color:var(--ag-alpine-active-color);color:var(--ag-alpine-active-color);background-color:var(--ag-background-color);font-weight:600;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-standard-button:hover,.ag-theme-alpine-dark .ag-standard-button:hover,.ag-theme-alpine .ag-standard-button:hover{border-color:var(--ag-alpine-active-color);background-color:var(--ag-row-hover-color)}.ag-theme-alpine-auto-dark .ag-standard-button:active,.ag-theme-alpine-dark .ag-standard-button:active,.ag-theme-alpine .ag-standard-button:active{border-color:var(--ag-alpine-active-color);background-color:var(--ag-alpine-active-color);color:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-standard-button:disabled,.ag-theme-alpine-dark .ag-standard-button:disabled,.ag-theme-alpine .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-alpine-auto-dark .ag-column-drop-vertical,.ag-theme-alpine-dark .ag-column-drop-vertical,.ag-theme-alpine .ag-column-drop-vertical{min-height:75px}.ag-theme-alpine-auto-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine .ag-column-drop-vertical-title-bar{padding:calc(var(--ag-grid-size)*2);padding-bottom:0px}.ag-theme-alpine-auto-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine .ag-column-drop-vertical-empty-message{display:flex;align-items:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-column-drop-empty-message,.ag-theme-alpine-dark .ag-column-drop-empty-message,.ag-theme-alpine .ag-column-drop-empty-message{color:var(--ag-foreground-color);opacity:0.75}.ag-theme-alpine-auto-dark .ag-status-bar,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-status-bar{font-weight:400}.ag-theme-alpine-auto-dark .ag-paging-number,.ag-theme-alpine-auto-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-auto-dark .ag-status-name-value-value,.ag-theme-alpine-dark .ag-paging-number,.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-dark .ag-status-name-value-value,.ag-theme-alpine .ag-paging-number,.ag-theme-alpine .ag-paging-row-summary-panel-number,.ag-theme-alpine .ag-status-name-value-value{font-weight:700}.ag-theme-alpine-auto-dark .ag-column-drop-cell-button,.ag-theme-alpine-dark .ag-column-drop-cell-button,.ag-theme-alpine .ag-column-drop-cell-button{opacity:0.5}.ag-theme-alpine-auto-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine .ag-column-drop-cell-button:hover{opacity:0.75}.ag-theme-alpine-auto-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine-auto-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-alpine-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-alpine .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine .ag-column-select-column-readonly .ag-icon-grip{opacity:0.35}.ag-theme-alpine-auto-dark .ag-chart-menu-close:hover,.ag-theme-alpine-auto-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-auto-dark .ag-chart-settings-next:hover,.ag-theme-alpine-auto-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-auto-dark .ag-column-group-icons:hover,.ag-theme-alpine-auto-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-auto-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-auto-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-auto-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-auto-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover,.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-auto-dark .ag-header-expand-icon:hover,.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-auto-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-auto-dark .ag-side-button-button:hover,.ag-theme-alpine-auto-dark .ag-tab:hover,.ag-theme-alpine-dark .ag-chart-menu-close:hover,.ag-theme-alpine-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-dark .ag-chart-settings-next:hover,.ag-theme-alpine-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-dark .ag-column-group-icons:hover,.ag-theme-alpine-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-dark .ag-header-cell-filter-button:hover,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-dark .ag-header-expand-icon:hover,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-dark .ag-side-button-button:hover,.ag-theme-alpine-dark .ag-tab:hover,.ag-theme-alpine .ag-chart-menu-close:hover,.ag-theme-alpine .ag-chart-menu-icon:hover,.ag-theme-alpine .ag-chart-settings-next:hover,.ag-theme-alpine .ag-chart-settings-prev:hover,.ag-theme-alpine .ag-column-group-icons:hover,.ag-theme-alpine .ag-column-select-header-icon:hover,.ag-theme-alpine .ag-filter-toolpanel-expand:hover,.ag-theme-alpine .ag-floating-filter-button-button:hover,.ag-theme-alpine .ag-group-contracted .ag-icon:hover,.ag-theme-alpine .ag-group-expanded .ag-icon:hover,.ag-theme-alpine .ag-group-title-bar-icon:hover,.ag-theme-alpine .ag-header-cell-filter-button:hover,.ag-theme-alpine .ag-header-cell-menu-button:hover,.ag-theme-alpine .ag-header-expand-icon:hover,.ag-theme-alpine .ag-panel-title-bar-button:hover,.ag-theme-alpine .ag-set-filter-group-icons:hover,.ag-theme-alpine .ag-side-button-button:hover,.ag-theme-alpine .ag-tab:hover{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-side-button-button:hover .ag-icon,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine-dark .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine-dark .ag-side-button-button:hover .ag-icon,.ag-theme-alpine .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine .ag-side-button-button:hover .ag-icon{color:inherit}.ag-theme-alpine-auto-dark .ag-filter-active .ag-icon-filter,.ag-theme-alpine-dark .ag-filter-active .ag-icon-filter,.ag-theme-alpine .ag-filter-active .ag-icon-filter{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close,.ag-theme-alpine-dark .ag-chart-menu-close,.ag-theme-alpine .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-border-color);border-right:none}.ag-theme-alpine-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover{opacity:0.35}.ag-theme-alpine-auto-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-group-container{padding-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-filter-toolpanel-instance-filter{border:none;background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-instance-filter{border-left:1px dashed;border-left-color:var(--ag-border-color);margin-left:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-instance-filter{border-right:1px dashed;border-right-color:var(--ag-border-color);margin-right:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-auto-dark .ag-set-filter-list,.ag-theme-alpine-dark .ag-set-filter-list,.ag-theme-alpine .ag-set-filter-list{padding-top:calc(var(--ag-grid-size)*0.5);padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine .ag-layout-print .ag-center-cols-container,.ag-theme-alpine .ag-layout-print .ag-center-cols-viewport{min-height:150px}.ag-theme-alpine-auto-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-alpine-auto-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine .ag-date-time-list-page-entry-is-current{background-color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-advanced-filter-builder-button,.ag-theme-alpine-dark .ag-advanced-filter-builder-button,.ag-theme-alpine .ag-advanced-filter-builder-button{padding:var(--ag-grid-size);font-weight:600}',""])},function(e,t,a){var r=a(15);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'@font-face{font-family:agGridAlpine;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABKwAAsAAAAAJ/QAABJeAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKqUyiKwE2AiQDgjwLgSAABCAFhEYHhTYb7iIzknRW3UVUT4rZ/yGByqEVyfAPCoGBVAeLaZy1NEUgHG5qbTJUKK65bieBiXNesm+H/kz+7nJIEpoE3+/3uufdH0AFMkIBQhFcAFDFl4Wp7lRoFLJTBairyjb/t/bs7+7IyjPxWfFndohimiiJSCNVMiXytQEpDCAvrmVSeEiuz2pkFBn71N4A+Wm1PT1ApaemJsEZHH5/+f6tHdlX0iFUPUx4GMD6rwoJUCiD0n6gbf7DMxAcRiRi0hbY+GfUHViJi8JIMPYbF2WBUbNyzToV4Wew7v2p+Q2nttnDYl+SMVtpv9Udg8AkSPCE8JUIINhyf8M0OkgJleAT1F9rn9lMECVwh0Do+Djd09O7O+/1mwWe9BJNJjTLkw0gWSBF/H9+qoBJ5ewpYHnuhCehSZhz9lwI2tDKfGldggS/ySJ7xa2c4LAIrw71XX9j8/dwVSZiNBZgxU9vjyOAYmM2fmTs/HXBtem9DVnY1aYBXmvH2vLiNPEwDZ7pGMQXnLspqOqmr35HOfc1nmWhOnqYTtK79FN1ACIqG+L4KNc3ptIoGJ3BZOFR6jSoyeZA2uEW/Kg0Uox9cJSCqQzHZrG6jlrCmF2LhltrBzr93NsyXa63ti00++IsHYRBsaTDZEVjphjJiWbL4WGcg0ePEm0cMZYdzU4EseHSeOJQtVjuje3dvVfRLidotoz6qjqNav9esYP8Ml9FVZfH5LTNn5BKVzYdaSwjmMG1CrNTV7WhSbfFeAub2LHLMM2GrgL3aGhX8qvT3fDYgM++Xm3jlN0bvZlKatdqU0v/7Kt6NBe6IXF61QdHXRhzpvHL2nvvu+feeOurH/5zuEIQJC1pHez9mmkTzOZF0UrjkOTu7rtmhwpXzGbWl/iZ0UxQbR0DrKpR+ciq6lSM+4P+jkyojXWwZ3FgdORyzEBMu8SodIFsDuRw+IF5oE+C+fXPQlDaYmGyrLapfFOZRs+iyBHP8i+qTHjaoa+FMmLF96bC77XDfZYj0YQ/q7GXrgpEzIYRnXelKdnYYH0yFobmHLKidfPkix3tKDYXr1+dR6VNiSzeH5uA8I4/qLpBQZOv0pzXLdEgt4b8ea1pNFbndOoZHKXvqEPtqvKouETvjjd2laxW6tIJnCC2pVD6AKq6PDv7nN3OBc5+xuWB7CR7gfuP33581xg8QIYkuLqjywujc36p/aWm/3E3N4Rs02aiq0Dh7AmoAXIgq5gvjnJAz34NRC69GuwPSol42MArH3371XF2hlqPvPH5V7yLv3KD/7pqXhMDo9Br7hqgLuvhQIYVj7LSJMOAgxuxbZxccXgIRtDpVkUSmY9fQFBIWERULNpgUkpaxp+OOXkFRSVlFVU1dQ1NLW0dXT19A0MjZWMTU0jYzNwCRD5cjeExobaRgfHOC+1DnRcOTvT2/Ov//379cL5v9NxFOzVLAemzCVeA2ls2BkyzNmCGjQCzbACYY+PAPOsEFtgFYJG1A0tsCFhm3cAqGwbW2CCwziaADdYLbLIeYItNATusA9hl/cAe6wL22SRwwM4Dh6wPOGKjwDE7B5z0uwh+ceiReAghCGEIEQhRCAkQEiEkQUiGkA9CfggFIBSEUAhCYQhFIBSFUAxCcQglIJSEUApCaQhlIJSFUA5CeQgVIFSEUAlCZQhVIFSFUA1CdQg1INSEUAtCbQh1INSFUA9CfQgNIDSE0AhCY9Zfpwn0maYQmkFobigJ/FpYYyMG1ZECIRVQjEtv+iWe4gl57ync886N+8wMZN1VvOwjGPddoCiRLhkjJQGOSC0zCeTItsw2iyxh/SLvgtJ8il0gJ/wYY+M0rrkojOGCVIpgfwTJPbXQCkiibIX7NB8LhaIBkX6OqBbFUhInXGmSpNmU9ROBQFIS67k0ImUIkQRKaCYRMMh5AJJM5oEYLkb8kaT3L1HTisBeByai2GnmmsjNFxz6MNQrKEIQLyDiGXfdKwg6T3aAKFjaBqf3MqpUx2ZspWOrQN2xha/6DcxNwTBIcAiRALxXKXIMtMiCWgXp5TnY6fw7sZhcW8Sl/cJHrZAggV7HmUPCfCtVSJ9eQIXQjyhbIghFzMaspsCd1mWc95N5N5B0fp4ET6nJLNttrVAhYtyrw21QJdpYs/D0DtHQRtF+iTATabO1Vkx0yCkWnNzH+CqLgjukEhj5Dz5LeJ429s68i8gziy+d5bIyjFRTqZzkh1ozVXK0AeyTY1bZhDLMAT2VcM3V0RGOouapsTJ4tF9M1/mTyagqmZS8rGgdmWi+tmqh91eSqSK3y+Qy0Ba1uO83b/tXIhiJW+IyB6MvILhvX7wXs/ItLPIIJ/eFsb7awLKW5WVXVq6UyqBSoY/iw8o8cN2kV6s5YRRKj9RfGpPwrPXanB5Ib7fMeVqWyrDleG+1b25Ig3OxLa7KREVTCBYs3FJSJeMOTGCrkclxAPBCsajQXl4uWvm8XTyvDBOS3ywUAYj2gz5Mzdd1W3OzOWVoWGiakvDx/+UsLBfV2BFlwEoVciJIaxMhchGXnzqrQoUPphaosiRUtKpNV6lsUiUvqinzUcpquc6iMFL5faOrX7eFgmZymN+2oBHxESZBiLhKUEzIVl2WXfeoLYhiCXIxYSA4gAM/NBEYXDhnYWAmiJEbPYrrlIWwZsqfu8UJJRcWKbx5Fu2UOdMSAd+7cebz9Z3A4nUc5UnyXAgf+nFoW41mW4XYhkM/bIRzuJJh+AVULSMILynK1qh3UE2aCkhIAlV+vn1xjaFHgCGIfZhgAqaWtFhmT5w5rOSkqlSq4pSdWIGrRNM0EF5uSq/bEaZB0/yNGSTjL2W5+lrbJWkGE7zmbB3yl2GWdzhGkPOfDBm1LPWa8jrCRM3brAd8pthufNS7ftis09wavUg/71VqOekod7ERmLcRry1HbfkNg5WVwR8zupXK4T+KDqlUQz9l96nVY38XktQnObzsqN7QbN5zh+GOW6ysJ2gxet1hQuV684o9ZhdYlyiTjpuanYnhPpyIEQfpnx1KRF4Crn5ZYhYNE4aBb70RgA/7Q9ReHuRBHsxDaq20Haw9traNVXla32uyb5afS2c2vKsGc0nj5/fwiQ5yq6xobiZdiLJtwZcFEwJdcLIemnrYnGJ0PSKmgGclPfWaGo9HbpLlQ/umhMHT2y/+emJwQylqXN3/8ScO4jDFV1CWAqHRybUkiBgbxdoEFxM9UWA2zwz4/X0nvi+4b99FnBecduy2w70lhbOV4mxaGMUIKdrbewWCDAFkcfUi2lPCosPIc5lG8x59/79mIgHOA45RbaICdh6Tmccu+Mt8d5/HLGD/5eMnu6ttn6ALEtvIfYBt8SoJVaJ4K3knqa6W1EiAtVdDcPBdcuj8JV8H+O44uxLMzRMTL13cvz8xKd7bRvHZ4hOeXEeoLQX0b46NDPfO9PfLioq0tMJCL+nBLl28NBs2NbX9HmbtAjHgYo3e3w7U2+9ENNFBsRipimqtUU0FWFb4sqsT69e3NwgU5OQLV3DhobwX4rRrLuDKcwEXXODCcwVFlF3jXYPnjIzMyMjMNA8mCJvDzsANAXPp/7LSqs0t0fM4zzLPQE+hJ1P9vMZ8t3jb9u/q2u9xSrxXuNFPuM39KoMd9ktmRmWB7/qizV3OVyGmliEeJvq9q+pCK2mGlotUp2OlTgKBdSOpZ45kbWVuYU+6+sKEuJ1Uv2bLfQNjvgmp3/IlcxD8zP6yMBFr15j3rVobnPSng8kq/ayxSAuL4Ysm3SHbvY+RFVbeYF5HrE4g6FjRl602dRgeybWi3vDDE/pMRDBtwGg8yVSn31yOCCfTsEAqJnRHjCo8dyBG44QX1uZWeGY70fy2EA+ABdI87Pvjba50M+RXGEfljO6jCM6zJrkmSQrolIWsfkcvbB+KTwLd+MUYmi8N8/6WLmXUrl63fcNqC66hscvrkExuZu8d9Dze0N/AOCFxQ3rtyX0m263MrBiCRn4d41sdvKGToQlsUbAqjf2o+744lkPXFTwe5pXPl0dV1Nslk72ZUTlnbyhKc6jr+SCPrqizTQ4Oik8sKcBfj0oLtA4vKGpmxqXGuY73MihxZHIshUHQy6+hpdtReSiNx0sMds2yCi+kqNgOiBVv+cNvebJ3uqSgyDo8+7TB/9gmV9TLo6ZZrkS2c1axTQ76Ru5dGDffJIy4wFzguaD7mCJjKrizqZyfqv7D7h9/glf0UyeFE7UJXH2OvkBhTk8v4SjEXAn3mJisicrxjybMLOE8Ig6bw1JwqVzxQQlXUoUcyVuxGZyp5rK54rdOOBiZD08WGGLNvjLdxOG9RjPeezDeleeFweeuNguuI8kjQfksVl65+UKQ62yuCzau4+QkNKl6/y4fYryTtMkXRQCbBHrCd+6vXgkTvbVRhJmh9AT6YnxqToU77R4zIoV2O9H54SCnpibjVxwuIgKH+1Vv2fTTNvOXaL8A9U6QiCOSiLjqzhwRcA5KGzPnVKkCYJnuO/HxPeg4mwX/2D9ppTifRfnami+r272e6M/2SaDEx1MSfLKDylwHlpZsXMsSTCEpKOpCEPjl+hnlx5SP52ddwEWuUhwOxBp/6/qtC3z69IdxclTSL0EhRbJ7N94mOKn1kkyzrqhg11gox+EHe/v4g3/FxpaV6GhbuQUnX1zX1vb334p/dvjvXJC8lMtzy00I1tZVxRZ6Fcb72ir2Ev9QWT5dXoZA0/Et0WRytB5iJ1uP/IUt5hIQ/wusex/EeqTzEO9MM8E/fH3d2NCE5vyk4SipU4Gi6ajiuy1e5NgYb1HldwrnC0IVXU/oFntW9Jn2sXrixvoT8IW2pInzhh5fpQ3367nc4w3ielzmi9trzQXtEjedFG/hNTbB9NOJFdUd//ixcSNrhDkeGe5SqXuGR851802WSu8t53hcD4msW/zVxhxmJp2eycz5KXnuPpOew/zJVx+eP4wuj4ws/46cSd+R/1zUWzbFjlER40tZ3ETIh380g+d8dhlz3Dn2Qw6VA//ISIkqBPIiYnQlwfmftL8TQm5urc3r15GRwUEODhERoIgQ5Yng6fS4TJGxWikXzp2bRDGIzGjZ9WBOYWjQnPk5Xvtz0tPxvPUtzR28NeFB0+0+nNWRzzHMES3Py42LGxmhHTkKBsu2Mm7niHtVVnZyR/jO4pqoYaLLy2ge6Rq8Q+F5m6cwSc7yeEuaP58exE2f//96H+A9mXiE+H7+Zkv5cCAAABlpYbsNcXGK5Na1SAnYvmmF0RzuKpuRU/YuNgD4/5GbkAdooz7k56JmgoQsTmuR8dhZD11ei0eOL8w2LEG0FK0Lkv8v7yIasCc0axb7NixwZrJu8i9iVKcMuUFkLUYawJ7RLLQJLHQCsh46I1pyPqsgCI4PK5X7EVPWThRyZlgtup5lHCoVaUjC57+7g74f7k3mG4a+xBMRDQBm6f99shlm7pfcDPDbJg7UlzQxs9tuj9t6EfHiKPG/APWvLytsPerdoLbaG0haCeCTQ24BLiKFFNJ2BQgnCSCJEwNDNSsxDT7osRT4gQGFOJFwZYYYbAQEOG194CANzTvGQxB+AHo0GwEMzU4yAklQAYVmD5gMveJQv5jKfNwO/8rB3sccCH6Dr1Gzdxb0df4Dl5Covemvg+7vFQhYC9h2WLZl8rcirnWcsH1JFHcUY2ozp3cw0o8i+W42c9ID9ybhmua9YoF1L8oCAn6D04GrIo0p5gq5/8ERCnzXEtK60bumNF4FFixAIGi1Bks9XEy8WyK7Tqt6LEGiXgoVlBBlSHeVw713wEi6N2bwsjszeXGOVvdMIXIeK6Nqju9LX4oNlKhQYwrTmMHsH0xzg8LafvhcFiLRWDyRTKUz2Vy+UCyVK9VavdFstTvdXn8wHI0n09l8wRRV0w3Tsh3XvQePnjx78erNJ5998dU33/3wc+1PH57BawmJtvRwmpdNvc2WCTIQG3NqlpOpCuZjSIvOzAd75blGIAsCjIG0wFlQRiWq8IHpmLjLwdGKt19gRSp7pklYGwGrTOdlYyaVsmn2tGleUTaLaeAr296ZlKwLj2p34YeuRF3GTVK45SqWGLFxxUWUn5CbLkw1q0hbEEwnW7GI8Y1ux9Y2kN/BWAQMK1CYVHcEla4bpVyIoibYp5ZOx5jmYJtcwA3CZi5qck1JdvLAFFItJ5zTN5O6oYok6pJzx54LUcPlR1ElJtgr92NCZ9OcLMET7YOVhHZupsAgDbObM2GAllS73uopA+3Upy4Bla9amig+uFMLk9+PI+uax4AIEjJXGNHow2ChewpV2dLEWa01AAA=);font-weight:400;font-style:normal}.ag-theme-alpine,.ag-theme-alpine-auto-dark,.ag-theme-alpine-dark{--ag-alpine-active-color:#2196f3;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-row-hover-color:rgba(33,150,243,0.1);--ag-column-hover-color:rgba(33,150,243,0.1);--ag-input-focus-border-color:rgba(33,150,243,0.4);--ag-range-selection-background-color:rgba(33,150,243,0.2);--ag-range-selection-background-color-2:rgba(33,150,243,0.36);--ag-range-selection-background-color-3:rgba(33,150,243,0.49);--ag-range-selection-background-color-4:rgba(33,150,243,0.59);--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:#babfc7;--ag-secondary-border-color:#dde2eb;--ag-header-background-color:#f8f8f8;--ag-tooltip-background-color:#f8f8f8;--ag-odd-row-background-color:#fcfcfc;--ag-control-panel-background-color:#f8f8f8;--ag-subheader-background-color:#fff;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:#999;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-alpine-active-color);--ag-range-selection-border-color:var(--ag-alpine-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-input-focus-box-shadow:0 0 2px 0.1rem var(--ag-input-focus-border-color);--ag-panel-background-color:var(--ag-header-background-color);--ag-menu-background-color:var(--ag-header-background-color);--ag-disabled-foreground-color:rgba(24,29,31,0.5);--ag-chip-background-color:rgba(24,29,31,0.07);--ag-input-disabled-border-color:rgba(186,191,199,0.3);--ag-input-disabled-background-color:rgba(186,191,199,0.15);--ag-borders:solid 1px;--ag-border-radius:3px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:6px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-column-select-indent-size:var(--ag-icon-size);--ag-set-filter-indent-size:var(--ag-icon-size);--ag-advanced-filter-builder-indent-size:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*2);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.5);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridAlpine;--ag-selected-tab-underline-color:var(--ag-alpine-active-color);--ag-selected-tab-underline-width:2px;--ag-selected-tab-underline-transition-speed:0.3s;--ag-tab-min-width:240px;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:var(--ag-card-shadow);--ag-side-bar-panel-width:250px}.ag-theme-alpine-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;color-scheme:dark}@media (prefers-color-scheme:dark){.ag-theme-alpine-auto-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;color-scheme:dark}}.ag-theme-alpine-auto-dark .ag-filter-toolpanel-header,.ag-theme-alpine-auto-dark .ag-filter-toolpanel-search,.ag-theme-alpine-auto-dark .ag-header-row,.ag-theme-alpine-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-auto-dark .ag-panel-title-bar-title,.ag-theme-alpine-auto-dark .ag-status-bar,.ag-theme-alpine-dark .ag-filter-toolpanel-header,.ag-theme-alpine-dark .ag-filter-toolpanel-search,.ag-theme-alpine-dark .ag-header-row,.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-dark .ag-panel-title-bar-title,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-filter-toolpanel-header,.ag-theme-alpine .ag-filter-toolpanel-search,.ag-theme-alpine .ag-header-row,.ag-theme-alpine .ag-multi-filter-group-title-bar,.ag-theme-alpine .ag-panel-title-bar-title,.ag-theme-alpine .ag-status-bar{font-weight:700;color:var(--ag-header-foreground-color)}.ag-theme-alpine-auto-dark .ag-row,.ag-theme-alpine-dark .ag-row,.ag-theme-alpine .ag-row{font-size:calc(var(--ag-font-size) + 1px)}.ag-theme-alpine-auto-dark input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark input[class^=ag-][type=date],.ag-theme-alpine-auto-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark input[class^=ag-][type=number],.ag-theme-alpine-auto-dark input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark input[class^=ag-][type=text],.ag-theme-alpine-auto-dark textarea[class^=ag-],.ag-theme-alpine-dark input[class^=ag-]:not([type]),.ag-theme-alpine-dark input[class^=ag-][type=date],.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark input[class^=ag-][type=number],.ag-theme-alpine-dark input[class^=ag-][type=tel],.ag-theme-alpine-dark input[class^=ag-][type=text],.ag-theme-alpine-dark textarea[class^=ag-],.ag-theme-alpine input[class^=ag-]:not([type]),.ag-theme-alpine input[class^=ag-][type=date],.ag-theme-alpine input[class^=ag-][type=datetime-local],.ag-theme-alpine input[class^=ag-][type=number],.ag-theme-alpine input[class^=ag-][type=tel],.ag-theme-alpine input[class^=ag-][type=text],.ag-theme-alpine textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-auto-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-auto-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-tab,.ag-theme-alpine-dark .ag-tab,.ag-theme-alpine .ag-tab{padding:calc(var(--ag-grid-size)*1.5);transition:color 0.4s;flex:1 1 auto}.ag-theme-alpine-auto-dark .ag-tab-selected,.ag-theme-alpine-dark .ag-tab-selected,.ag-theme-alpine .ag-tab-selected{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-menu,.ag-theme-alpine-auto-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-alpine-dark .ag-menu,.ag-theme-alpine-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-alpine .ag-menu,.ag-theme-alpine .ag-panel-content-wrapper .ag-column-select{background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-auto-dark .ag-menu-header,.ag-theme-alpine-dark .ag-menu-header,.ag-theme-alpine .ag-menu-header{background-color:var(--ag-control-panel-background-color);padding-top:1px}.ag-theme-alpine-auto-dark .ag-tabs-header,.ag-theme-alpine-dark .ag-tabs-header,.ag-theme-alpine .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-theme-alpine-auto-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-auto-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine .ag-charts-data-group-title-bar,.ag-theme-alpine .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine .ag-charts-settings-group-title-bar{padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);line-height:calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px)}.ag-theme-alpine-auto-dark .ag-chart-mini-thumbnail,.ag-theme-alpine-dark .ag-chart-mini-thumbnail,.ag-theme-alpine .ag-chart-mini-thumbnail{background-color:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-chart-settings-nav-bar,.ag-theme-alpine-dark .ag-chart-settings-nav-bar,.ag-theme-alpine .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-alpine-auto-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group,.ag-theme-alpine-dark .ag-charts-format-sub-level-group,.ag-theme-alpine .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:700}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-alpine-auto-dark.ag-dnd-ghost,.ag-theme-alpine-dark.ag-dnd-ghost,.ag-theme-alpine.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:700}.ag-theme-alpine-auto-dark .ag-side-buttons,.ag-theme-alpine-dark .ag-side-buttons,.ag-theme-alpine .ag-side-buttons{width:calc(var(--ag-grid-size)*5)}.ag-theme-alpine-auto-dark .ag-standard-button,.ag-theme-alpine-dark .ag-standard-button,.ag-theme-alpine .ag-standard-button{font-family:inherit;appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid;border-color:var(--ag-alpine-active-color);color:var(--ag-alpine-active-color);background-color:var(--ag-background-color);font-weight:600;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-standard-button:hover,.ag-theme-alpine-dark .ag-standard-button:hover,.ag-theme-alpine .ag-standard-button:hover{border-color:var(--ag-alpine-active-color);background-color:var(--ag-row-hover-color)}.ag-theme-alpine-auto-dark .ag-standard-button:active,.ag-theme-alpine-dark .ag-standard-button:active,.ag-theme-alpine .ag-standard-button:active{border-color:var(--ag-alpine-active-color);background-color:var(--ag-alpine-active-color);color:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-standard-button:disabled,.ag-theme-alpine-dark .ag-standard-button:disabled,.ag-theme-alpine .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-alpine-auto-dark .ag-column-drop-vertical,.ag-theme-alpine-dark .ag-column-drop-vertical,.ag-theme-alpine .ag-column-drop-vertical{min-height:75px}.ag-theme-alpine-auto-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine .ag-column-drop-vertical-title-bar{padding:calc(var(--ag-grid-size)*2);padding-bottom:0px}.ag-theme-alpine-auto-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine .ag-column-drop-vertical-empty-message{display:flex;align-items:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-column-drop-empty-message,.ag-theme-alpine-dark .ag-column-drop-empty-message,.ag-theme-alpine .ag-column-drop-empty-message{color:var(--ag-foreground-color);opacity:0.75}.ag-theme-alpine-auto-dark .ag-status-bar,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-status-bar{font-weight:400}.ag-theme-alpine-auto-dark .ag-paging-number,.ag-theme-alpine-auto-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-auto-dark .ag-status-name-value-value,.ag-theme-alpine-dark .ag-paging-number,.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-dark .ag-status-name-value-value,.ag-theme-alpine .ag-paging-number,.ag-theme-alpine .ag-paging-row-summary-panel-number,.ag-theme-alpine .ag-status-name-value-value{font-weight:700}.ag-theme-alpine-auto-dark .ag-column-drop-cell-button,.ag-theme-alpine-dark .ag-column-drop-cell-button,.ag-theme-alpine .ag-column-drop-cell-button{opacity:0.5}.ag-theme-alpine-auto-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine .ag-column-drop-cell-button:hover{opacity:0.75}.ag-theme-alpine-auto-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine-auto-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-alpine-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-alpine .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine .ag-column-select-column-readonly .ag-icon-grip{opacity:0.35}.ag-theme-alpine-auto-dark .ag-chart-menu-close:hover,.ag-theme-alpine-auto-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-auto-dark .ag-chart-settings-next:hover,.ag-theme-alpine-auto-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-auto-dark .ag-column-group-icons:hover,.ag-theme-alpine-auto-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-auto-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-auto-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-auto-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-auto-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover,.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-auto-dark .ag-header-expand-icon:hover,.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-auto-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-auto-dark .ag-side-button-button:hover,.ag-theme-alpine-auto-dark .ag-tab:hover,.ag-theme-alpine-dark .ag-chart-menu-close:hover,.ag-theme-alpine-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-dark .ag-chart-settings-next:hover,.ag-theme-alpine-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-dark .ag-column-group-icons:hover,.ag-theme-alpine-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-dark .ag-header-cell-filter-button:hover,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-dark .ag-header-expand-icon:hover,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-dark .ag-side-button-button:hover,.ag-theme-alpine-dark .ag-tab:hover,.ag-theme-alpine .ag-chart-menu-close:hover,.ag-theme-alpine .ag-chart-menu-icon:hover,.ag-theme-alpine .ag-chart-settings-next:hover,.ag-theme-alpine .ag-chart-settings-prev:hover,.ag-theme-alpine .ag-column-group-icons:hover,.ag-theme-alpine .ag-column-select-header-icon:hover,.ag-theme-alpine .ag-filter-toolpanel-expand:hover,.ag-theme-alpine .ag-floating-filter-button-button:hover,.ag-theme-alpine .ag-group-contracted .ag-icon:hover,.ag-theme-alpine .ag-group-expanded .ag-icon:hover,.ag-theme-alpine .ag-group-title-bar-icon:hover,.ag-theme-alpine .ag-header-cell-filter-button:hover,.ag-theme-alpine .ag-header-cell-menu-button:hover,.ag-theme-alpine .ag-header-expand-icon:hover,.ag-theme-alpine .ag-panel-title-bar-button:hover,.ag-theme-alpine .ag-set-filter-group-icons:hover,.ag-theme-alpine .ag-side-button-button:hover,.ag-theme-alpine .ag-tab:hover{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-side-button-button:hover .ag-icon,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine-dark .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine-dark .ag-side-button-button:hover .ag-icon,.ag-theme-alpine .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine .ag-side-button-button:hover .ag-icon{color:inherit}.ag-theme-alpine-auto-dark .ag-filter-active .ag-icon-filter,.ag-theme-alpine-dark .ag-filter-active .ag-icon-filter,.ag-theme-alpine .ag-filter-active .ag-icon-filter{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close,.ag-theme-alpine-dark .ag-chart-menu-close,.ag-theme-alpine .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-border-color);border-right:none}.ag-theme-alpine-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover{opacity:0.35}.ag-theme-alpine-auto-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-group-container{padding-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-filter-toolpanel-instance-filter{border:none;background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-instance-filter{border-left:1px dashed;border-left-color:var(--ag-border-color);margin-left:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-instance-filter{border-right:1px dashed;border-right-color:var(--ag-border-color);margin-right:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-auto-dark .ag-set-filter-list,.ag-theme-alpine-dark .ag-set-filter-list,.ag-theme-alpine .ag-set-filter-list{padding-top:calc(var(--ag-grid-size)*0.5);padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine .ag-layout-print .ag-center-cols-container,.ag-theme-alpine .ag-layout-print .ag-center-cols-viewport{min-height:150px}.ag-theme-alpine-auto-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-alpine-auto-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine .ag-date-time-list-page-entry-is-current{background-color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-advanced-filter-builder-button,.ag-theme-alpine-dark .ag-advanced-filter-builder-button,.ag-theme-alpine .ag-advanced-filter-builder-button{padding:var(--ag-grid-size);font-weight:600}',""])},function(e,t,a){var r=a(17);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'.ag-theme-balham,.ag-theme-balham-auto-dark,.ag-theme-balham-dark{--ag-balham-active-color:#0091ea;--ag-foreground-color:#000;--ag-background-color:#fff;--ag-header-background-color:#f5f7f7;--ag-tooltip-background-color:#cbd0d3;--ag-subheader-background-color:#e2e9eb;--ag-control-panel-background-color:#f5f7f7;--ag-border-color:#bdc3c7;--ag-odd-row-background-color:#fcfdfe;--ag-row-hover-color:#ecf0f1;--ag-column-hover-color:#ecf0f1;--ag-input-border-color:#95a5a6;--ag-invalid-color:#e02525;--ag-input-disabled-background-color:#ebebeb;--ag-checkbox-unchecked-color:#7f8c8d;--ag-input-focus-border-color:#719ece;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-input-focus-box-shadow:0 0 2px 1px var(--ag-input-focus-border-color);--ag-range-selection-border-color:var(--ag-balham-active-color);--ag-checkbox-checked-color:var(--ag-balham-active-color);--ag-checkbox-background-color:var(--ag-background-color);--ag-panel-background-color:var(--ag-header-background-color);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-subheader-toolbar-background-color:rgba(226,233,235,0.5);--ag-row-border-color:rgba(189,195,199,0.58);--ag-chip-background-color:rgba(0,0,0,0.1);--ag-range-selection-background-color:rgba(0,145,234,0.2);--ag-range-selection-background-color-2:rgba(0,145,234,0.36);--ag-range-selection-background-color-3:rgba(0,145,234,0.49);--ag-range-selection-background-color-4:rgba(0,145,234,0.59);--ag-selected-row-background-color:rgba(0,145,234,0.28);--ag-header-column-separator-color:rgba(189,195,199,0.5);--ag-input-disabled-border-color:rgba(149,165,166,0.3);--ag-header-column-separator-display:block;--ag-header-column-separator-height:50%;--ag-grid-size:4px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*6);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-input-height:calc(var(--ag-grid-size)*4);--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:12px;--ag-icon-font-family:agGridBalham;--ag-border-radius:2px;--ag-checkbox-border-radius:3px;--ag-card-shadow:none}.ag-theme-balham-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-tooltip-background-color:#1c1f20;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color);color-scheme:dark}@media (prefers-color-scheme:dark){.ag-theme-balham-auto-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-tooltip-background-color:#1c1f20;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color);color-scheme:dark}}.ag-theme-balham-auto-dark .ag-filter-toolpanel-header,.ag-theme-balham-auto-dark .ag-filter-toolpanel-search,.ag-theme-balham-auto-dark .ag-header-row,.ag-theme-balham-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-auto-dark .ag-status-bar,.ag-theme-balham-dark .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-filter-toolpanel-search,.ag-theme-balham-dark .ag-header-row,.ag-theme-balham-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-filter-toolpanel-header,.ag-theme-balham .ag-filter-toolpanel-search,.ag-theme-balham .ag-header-row,.ag-theme-balham .ag-multi-filter-group-title-bar,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-auto-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham .ag-ltr input[class^=ag-][type=date],.ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-ltr input[class^=ag-][type=number],.ag-theme-balham .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham .ag-ltr input[class^=ag-][type=text],.ag-theme-balham .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-auto-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham .ag-rtl input[class^=ag-][type=date],.ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-rtl input[class^=ag-][type=number],.ag-theme-balham .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham .ag-rtl input[class^=ag-][type=text],.ag-theme-balham .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-auto-dark .ag-status-bar,.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-balham-auto-dark.ag-dnd-ghost,.ag-theme-balham-dark.ag-dnd-ghost,.ag-theme-balham.ag-dnd-ghost{font-size:var(--ag-font-size);font-weight:600}.ag-theme-balham-auto-dark .ag-tab,.ag-theme-balham-dark .ag-tab,.ag-theme-balham .ag-tab{border:1px solid transparent;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);margin:var(--ag-grid-size);margin-bottom:-1px}.ag-theme-balham-auto-dark .ag-tab-selected,.ag-theme-balham-dark .ag-tab-selected,.ag-theme-balham .ag-tab-selected{background-color:var(--ag-background-color);border-color:var(--ag-border-color);border-bottom-color:transparent}.ag-theme-balham-auto-dark .ag-tabs-header,.ag-theme-balham-dark .ag-tabs-header,.ag-theme-balham .ag-tabs-header{border-bottom:1px solid var(--ag-border-color)}.ag-theme-balham-auto-dark .ag-column-drop-cell,.ag-theme-balham-dark .ag-column-drop-cell,.ag-theme-balham .ag-column-drop-cell{height:calc(var(--ag-grid-size)*6)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-title,.ag-theme-balham-dark .ag-column-drop-vertical-title,.ag-theme-balham .ag-column-drop-vertical-title{color:var(--ag-foreground-color)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell,.ag-theme-balham-dark .ag-column-drop-vertical-cell,.ag-theme-balham .ag-column-drop-vertical-cell{margin-left:calc(var(--ag-grid-size)*2);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham .ag-column-drop-vertical-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-icon,.ag-theme-balham-dark .ag-column-drop-vertical-icon,.ag-theme-balham .ag-column-drop-vertical-icon{color:var(--ag-secondary-foreground-color)}.ag-theme-balham-auto-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-column-drop-horizontal,.ag-theme-balham-dark .ag-column-drop-horizontal,.ag-theme-balham .ag-column-drop-horizontal{height:var(--ag-header-height)}.ag-theme-balham-auto-dark .ag-column-drop-empty,.ag-theme-balham-dark .ag-column-drop-empty,.ag-theme-balham .ag-column-drop-empty{color:var(--ag-disabled-foreground-color)}.ag-theme-balham-auto-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham .ag-column-drop-horizontal-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-drop-vertical,.ag-theme-balham-dark .ag-column-drop-vertical,.ag-theme-balham .ag-column-drop-vertical{padding-top:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-balham-auto-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-balham-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-balham-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-balham .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-balham .ag-column-select-column-readonly .ag-icon-grip{opacity:0.35}.ag-theme-balham-auto-dark .ag-menu-header,.ag-theme-balham-dark .ag-menu-header,.ag-theme-balham .ag-menu-header{background-color:var(--ag-header-background-color)}.ag-theme-balham-auto-dark .ag-overlay-loading-center,.ag-theme-balham-dark .ag-overlay-loading-center,.ag-theme-balham .ag-overlay-loading-center{background-color:var(--ag-background-color);border:1px solid var(--ag-border-color);color:var(--ag-foreground-color);padding:calc(var(--ag-grid-size)*4)}.ag-theme-balham-auto-dark .ag-tooltip,.ag-theme-balham-dark .ag-tooltip,.ag-theme-balham .ag-tooltip{border:none}.ag-theme-balham-auto-dark .ag-panel-title-bar-button-icon,.ag-theme-balham-dark .ag-panel-title-bar-button-icon,.ag-theme-balham .ag-panel-title-bar-button-icon{font-size:calc(var(--ag-icon-size) + var(--ag-grid-size))}.ag-theme-balham-auto-dark .ag-panel,.ag-theme-balham-dark .ag-panel,.ag-theme-balham .ag-panel{background-color:var(--ag-header-background-color)}.ag-theme-balham-auto-dark .ag-chart-data-section,.ag-theme-balham-auto-dark .ag-chart-format-section,.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section,.ag-theme-balham .ag-chart-data-section,.ag-theme-balham .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-auto-dark .ag-group-toolbar,.ag-theme-balham-dark .ag-group-toolbar,.ag-theme-balham .ag-group-toolbar{background-color:var(--ag-subheader-toolbar-background-color)}.ag-theme-balham-auto-dark .ag-chart-tab,.ag-theme-balham-dark .ag-chart-tab,.ag-theme-balham .ag-chart-tab{padding-top:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-auto-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham .ag-charts-format-sub-level-group-item{margin-bottom:calc(var(--ag-grid-size)*1.5)}.ag-theme-balham-auto-dark .ag-chart-menu-close,.ag-theme-balham-dark .ag-chart-menu-close,.ag-theme-balham .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-balham-auto-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-balham-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-balham .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-border-color)}.ag-theme-balham-auto-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-balham-auto-dark .ag-filter-active .ag-icon-filter,.ag-theme-balham-dark .ag-filter-active .ag-icon-filter,.ag-theme-balham .ag-filter-active .ag-icon-filter{color:var(--ag-balham-active-color)}',""])},function(e,t,a){var r=a(19);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'@font-face{font-family:agGridBalham;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABWQAAsAAAAALTQAABU/AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKtGCrbgE2AiQDgigLgRYABCAFhEYHhH0bZCczgzabtMpwFCVzUpT9HxI4OExuBRfCkhAFE0Xhoyq+pt0dOIqLsGDBbiaCazISTAbWPbruvda8/9b0ZpWhlATwa9/m7f5DRKLKuVgomJVCSZdJVLFM8+vXXvfoE/DjQ0pUZKcKWFhb1eFpm//gqIM+aMVAcAIWsQDh6IHRoCzKWGFhxaLZxqoK96NWrPpXqIty5fanPb9N7n1TYMJEpcWV1DaUWzYD1RmghqxKull16jKy5pw6n+SbfMFXrC1WcY9c5fPvT82/5vJbnT0sdn4yZmtl+23HIEoCEk8I310IttzfMI0O8gmV4BMUAf+3ltrDggvIEssKXc/OzMzNXfbfZJPbS2kzoUtK+zY0tyVCC6iAdnMB4PZeFajKVgE7sn0VskL3VVXaurrCP3C/V/SB/rj2yzH6vPMrR1FAAxx7FOhspIP/NceTthY+CJ4NwcPLnPnBccMB5XyIGkZjxLBTSJGOdd0RgH1eXHJxaXWzQ9MDy7POUXnHBnBaPExPjA3Ys0qhSmKCUpQT7Q7Z+GTZ+0APy2FPdELZKV/i1vhW/JLroChZeZBUYb9hBIUhDCfoZAVkNq5gMCncZGXoHSNaZuRYidNUBJdoi3Tx7pIWJNSxYiBPLAXbaIE0uX+ylzWl0dMdaTjMwagqFl5sXWWpZIFMNsRcdr2jxFfiHl0oWegojS8LZetRlEl+8SXX7SacoBs5dWNkKCISGVpC1fcpGLPYBFNv5jXlrJrTJJLprlScxTVm7MV6RYEJ3GPndBqR91NRvhQrahvtdMWaHdOHwRLlSJ0F5qStt5/XymKFuo7VddYvm43KpbgozR51sRJXqZBMspqJ3KwX3tnxwTc//QdIexQNOGgLLt4j+IY5fklH0V6cbLnXT4V2aSmsR6rvVSNMk0cESgxopIiqCkaGQKwS9dA+RdVIsSLpTKpCn9N+Bo1VHQjB1G1zLJOpBsSSlzpkv3rmMMXaIqkqJk6wmVZqjZoOm0IiWkd21njcxEYhNTGT28ZaIjdZEe0TrqnZauRQrYtKEF+q6bQ3yZYczekJ+8tO5dhWOPO0fOLwTAvt5ERKu/HIXYnOrlleTJaUqF9w/njQCSobW0QDbBxae07tNLPMOvmDako905aizygr6Om3Xbb7nQ2UGcmbJ2lAEwVjPWC02EJFdtacconoYXghCUSbUSeehG8+/HAvyCCixbwW1I+WDNtx65cO/UdnwjqNrUPzTgFJQAzcBBIgOiHPCYcokX6TopL1aFT/cECJTHX317zNX3p/P275asriL0nweWpQ840zBxz0BfdYI4Dl43AszmVj6dZEjQExDcngK1UhkClUmsKsqSVlFVU1dQ1NLW0dXdOKA0MjY346Ts3MLSxVraxtbO107B0cnZx1VF1cVd2c3SlaHp5eIOziTeQCFd3Ls0KaY4eDmx3potF//0wWZxl+WoFFDwDiL+Q14FYwkwIM5B4wmDxgKFnAcAoxkmRgNOUYy31gPDnARFKBqeQC08kGZlKE2aQDc0kD5lOCxTwAlpIJLCcFWEkxVlOGtWQA68nHRkqxWa/gFxBKABlADlAAlAAVQA3QALQAHUAPMACMABPADLAEWAGsAbYAtgF2AHYBNgB7APsABwCHAEcAxwAnAKc02A9+zZB0DnABcAlwBXDNoK1ugMwtwB3APcADwCMDHZ5osB/8OiOPF4BXBnJvIL93Bvp8AF0+aRCDX69Bv/kGZfgB+GWGW1Tu33mDt+z+yP5q3i5sh4NJv5Ten/b94fTbF68kyOui/nq2lpnFH74W9OmHpTUq17FE4hz6Y20v63U2ouQYmMul4k4cDiH7+zPExDmvEjhMGpUFkZVDxAk0Ggk+/ieRIOVzYTiSTWOJeAQcO4GIZwQcDCuTMrZE4r+fwzCfSyVR4RiYI40QwCQhHg8TCXghV71bnegwIa5xXIGoCt3s5f1DuO3k3bvih94Nd+5ofy85de9e1KMRm+/fH/zX2Pk3It13gOTZeHPgH6Wnb0c/1sCB+S+tBlK0cQQRCG7X7yddyeyoJgSEW84EwBADm1vOXRDDpiftiaeqHlSlCqB9kHYz3kPsVtLLjxWLnXnp2mZJ6bG3fr97Qn6FaCokqhcqNwuZGRuiikiZGGBiNfRfhy/H60LMO4otqDq6BnEM0BaHYhhwrWyaeJOq6wAnadp/DuXVpUi5/DqpvL0quUeuvCFT7DT1Keb3OeAm/24rdMWOflTr4e8zJ+jU9ACnNOBMZGWA9Fn9CuXaWNUkWouHA/sfwd+nKh78GWlyWP1Yux0bGkHKpwN8TsDXdP5lCpWk2oFtu7Wv1Zo/xAx3DymAcKF902MfQfCf9XYacUUxHp6QIokEUs6mYrF5KK9cvIvV2+eBFFBC7lgKKZeANJdU07nhsBqkUuYWUipCKlgoPxoNYjUN5dhZ99nUBfli2viZZPSqxoViSgJIwaCr/IwrmIxyysMemFsMSsBJAgG5FnIzt/sWRUS/nwnF02dc0+cahZekkSvJV0VGkpfBOWnRJ6nlRLmVkc7fVu9elC/csa9XHdg5GI6lVp2/D5JdwY1VOKsdyGVpyWzKPa3ClRaAJBAarLm2qpx1s+qJq0hJQfnvDiw84/ve5FiPEM3KCH5Y+8lupmn2pbFYbW4cq6fHT3npLa3eqdNZGD9XWfUObZeWTXH6rtnkMULXSE/afNraOE0TJjJA0nWsdnkvQtkwkNLuv/W+GrntAtPkxZrLBHxONCWTbsJm8dP82YqmgRsupZom9EeEhB5C9zshAADhZknInTplVD2AcNMPkit5Ut9+Px8ch3HRFkp7v4ph2MAbj1mQlSOIabArP4mb+X5gG74uPG6D9omQDvHn7VtkxX+fsAPbSTLj66OnmR3a+Km/A07XbT1vViAJrfXGl4J5UxThfAEU7mVltPylnvv64Zsif2g2XugcVDSB3NMazneIYY/7jlEXF3nabLmu50mXBME1lw/Fh7kXzYJlo/MG+rlcMjq08W7mnTzBDwFw4MckECoapJRxRiYZo4Ry/8iWYeCNex9N8tkcrjqdnkJ+neoPZEd6MvjFAIWfiij9VEISs5lhoNDLu4Yd0diLQ52+qeem92Hp1UamH+yYepIjSsc/8uJnR97VX2rgZ/1yTqwipQirWRGAlHePAFZ6/B7b1Y9PR36FTz4goialhJKS09/alAfxZR9iDOwQq/cv0u75mCfsW17cf3Mvn69Ld53zTA80q1utxBXMXqrOtJd1wvfo+1VnxJVNXjQ/E6Y96cJ4SQ53BXHQcy6XPcnauGONzvsWTKvC/ZxdDn3Oxvvdoza1Gbnu5o1xPm97KaYLf5KKMWRaEYZcsQwRQzwJcMGQKGpiFTUDzF8ggCd1uqALuljPwqE45M2ouL3p1wWPHPx3d2x5NZ/ihNqAnZzkzG9xWJFlygi3jvGThJ2+n4RNzXgp90+m4Lsi2l7qG90EHH7F2R2QXPo0Daoeb1h2GzMs1J/Q9Jrzum56T/eeuKd1nn2QY63q6V6fXYonek6n71belNGT0TRqrxhodEB4xzb9i+uZ/pWbFoQXnhQcS4H4m40AgtpcOXA1i/CpD5cfPLu3dJ8f7Iqr33zxfsO2ZK9ZY5fL7UQo0gWi3G6X17ADKFkPgUXWgAOD2M25s6FJiCZWTF5qrAbZg1h4zIXYSeY+bPCjydQHOWL3v737uGDrJ3hnw9P3I38Zz+wzmTqayCnaUttjc8pj6+i8x/+9YV/H2prAhTtOZ2iZd6khp5NGW4tAWz979pWbSFdOuRdREG3zjS9Su1Uqt7oonNevcrtVRepwwrTc6HEpHHK5Q+HaBxrBIXcp9oKDJ54O9soXhdzUHTvDO6v/jrA3qj/4OLFjbUe3s95V3/Wxoa8BaKepClJSClSD9rEFKSqhbOyb5ZniyG/Es8TfRIrd9/WAl1u3XrkSu2ZNVXXOO2m+aXAZgMbWddW0VNMd5qDn2y1b1pWUYLFGwwV1/MJPFw4bDxwI9niEEuAAEqH7SRCcfGRSm86pUDUaUrkOtQiWvmFsCv3ltSEEDrT3Kl0KhUupUcpdLkWiYFeIMtXneE+8IfCG39KnN2ZEKXe6FMqVprUyuwy8ie7MhrTe+m9CeUP1dPtRzIAJA1QDxg8Y5PxbHfOO34j4q7E5gLlDSjAzH2Gqt9yjLhLf4jAnqPo227mSHxogNj8tHoE30VoM9RoG/7g65lx5THGxcAp94xG6UMDliemXexFKkN46seYJlVWE0Lfw3w7aBpI5f/KQdlwTdzNtkj7njyiEBg/fY+XxdvyEbEgLKs7JQwIF4LZQGrPIeIH2tqBqNePMKIH6ajKJvBnxg8sMkr0lIXVGYPXr/rIqp1zu9GTIKfcMjcpUijWcsrbydo5DrEiR3KCJqIx7bkkQXdqg3XBJO1c3RJwl5ezAs1cPc/y/swMJqctaAJI5nDeLYZ7arQve5ozJwYoMnonBkrxPG2Yatumm+wcSI4XKysquKGz+agUSFHAEA4unFLUMnIsnMWIYCFh6v0+B4b3QoOTl6NSJWGQEdk/2tLlxxVcw4r3rX3rDIZcrQ7qXlccu5NhS83Spnr6kmbt3/N/b2dMZMq76kllchpF584w5hrHsMs4IsUcXWpduKNXrS9NkPEvmnOT+jL4yjNhZV7nCsAmbERt73MKTpZXpdaUGKdeaqXq4OkWhME1YyqTQqhRlh0mK71wQfTuuEjVmZFfETZJU0fx0rylXpyqqwKeg7q9LfRA9E7PQUOmLsv9dNDJPOK1eklPsUs4o/dghurH1GTNWVy8NuQj043dvYZ6i/m7n3grsKUpAfauLnAz3l9ysbmmm1oUWADfwC8kTmvMshuBiqcOvRlnNLYvPsHAxbsavbnLyx/7GG2NbmlngQ3e2YjO3F+0FPqIdaKjd1GE61x4dSI0mJ2D8c8BkXGoc6UA7Go06VNeIOo43S74xnkJPAcUYN/0FRntREL/4WaAzUEpA5klXVfgqpr39T/TP/cxhgMc+j1JGFuWvWdnpmxwuQNoNhvICriPAgo5JAcvWe4pe8tvLuH1tojmbXvgmX+XPuVy5qZSkyIoOT578nDfzXPXhX5rJZTmC0qxdLJ/vaquOQ4NyaOIyDQu7bVbfmFvH2SM3bLHm3BqjAMgotA+tjrpwIZT+b53xQgJVH9qnMgYzRokpo5SPKB/3XGQOnlzAPnyAdTj8/ry82ufyRsECqG8K/SZ/hx9lVZMfXHsF/f8Akug1S77CPlCLrcnLN9HlLpjx6FH4YfjRMZy3nFBZzotIUg//VxC9vXEkxqPJS63YBY+ilMmHy3KzBru0p6XFnJFcK3rBtBFTiCmSpkebK0vmDzSjuRin0iYfvpCUS3JLs2Q5+UnZik5cttydKPdIXEQ3Mc+72KFIT1x18TP+AN6R0/6tJS6doIXLW1qZE1N8olkr/4IVnVcsmGBDSwtKXso3C63eDfm44K0h/MxRoi9fukElW4wcvx/8o+iP4P3jSIdkukBySiKYLumNxI9M1tyYuZLAgjymV6QVnhJpRK/D0e9ARTbRKaEd5HUsXUoS6XMWXFjXNblk7JI9BjTqgVicefLPoUMnlOFxAqk+96fJK1daxw/T34tSFh/reLt+/ahahCwUNpTyiHWsFSvrllN+v8d/dfv2oF2m5ZNu8HP8M9JAFUjP3odZjFUDX7adpa8Jud2F7tC8mgT5UIfCXz8vdN4Bd2jtSy1v2V14kHgosX1K63mQjuuYin7QZg785UdaTabOtvZWzKpd2CO6Je1Tv2qvcU6ZCqJtXeNHxntl8+fLvPEjw4kGfRf2ykbGhzNMy41N5WklOl1JWvlzR76gRFeufw5J2PQu/R+YpvGkD5/0vB1J2vemZRUwmNUrkwUCz8+ZqYFxCVc9a9AwvVfqkhZKJUDiCkRpVoTPt+460rqzynI3SLWOZzCe6Xmg3jIjdL/CqdYrKyuPHu2cPcdiASFkjFQIyHU+LEvDwrPWrR88uLvrkKphEs4sBnV3sxhzf4nKx7SxfvnGccySKM0v4V8kEynrptJ8dZz0da+wJV2eHR3OMAPPZ/ztUUUQmd7nVq9fn0d78COKt5Toh4Cez06ncJxgtFCHFi8eJzxIAtDdQFKIqAvlc3J85OlNTZwjejaQzP84vQftefjlbm7OmI6gCHhzUmSDtKm1QCN8KLI3aIWg8EQSxVDIBqb2D9YvCbBD8oTSGgg59BPEESXf8jiSAKW/n8m6oG4EhnXJeDNURlwSRM+h5RBeTMzOG6CftAoA/9BP0FOdWwXKWCsrIU/6bkgfynE6nUnuvmOSsM/rnJAVXwtFyH6kBfLIpP/x5nFelyU6E/fVdQCbATXxCqgNuT30mcTn+ExxPDx2uSt/p9vJSa+EKkyyTbOjkKYs7/8gWvWrXvzdGIbhLQlDXQBgOPzXV9Mc3K1wwZ8C8N0t8dIBgJkTu4y/vv8Yer89JvINBKSXfGyU+xvg1/cZDJW46f9pHtOCdfcCxX9I0zP4yWFQoCeVwPoVBVgkb8PO3YWjBMBABJnlbgW7lK3U7MA2UAkgAHEwgCALTHNHWYADRMCKexeswf3VqLXADe7BOtxPRyHAMLgvhkHF9oXP4e44mEsVvUq/wdWoOL6O8yr/gUsgHE5r69PadwcIrATMMB+HsrgzETtYpjTcElqLYqQhMz2DlsmL5POTuhm3wZOmtFKcOywwLimR3yLU32ClVtHZOVbYKFf9D5ZQeNsIGpya/FK03zFUHlcRwKiz414tlo16RnzVGgKNkRSxW61EEaIPtGY5W3sGtMsnPoeWnTvxt2dV+URroWOWgVVt0Gvge9iAgUNAQkHDwMLhOx7Pd3f/ttzudHv9wXA0nkxn88Vytd5sd/vD8XS+XG/3x/OFMKGMC90wLdtxPd+FS1eu3bh1596DR0/rXWzH4JQEwlYN075s1dGtDtQQG30pls9tBP0y02E8ZIL5GasjoAEBTgGVwNe0GRWVln2vOxKPOZz15y6KNWF5qxuFlRYwO9352OihUrb6LFv9yc5k0Q38RUt9K1lpB/O+cxkYS1TFb6NQaysWKDWzNBfZuQm52SGqefeoJIhppY2FJTe0i61MQNenOIQUXmGXEmtfUyqUg43wDltGFSPtUZp8dQC2BLApbSH5zNe+HhrnKkI4krWfYhVhw+W87Eos8LY8GhYaDe2xP+LKgLT5PF+FATopra9v5YRdvmtpUlD7+2rhSjwZWSsOAyIgaK/QIu/F7GD8Iamyo4X1ulYA);font-weight:400;font-style:normal}.ag-theme-balham,.ag-theme-balham-auto-dark,.ag-theme-balham-dark{--ag-balham-active-color:#0091ea;--ag-foreground-color:#000;--ag-background-color:#fff;--ag-header-background-color:#f5f7f7;--ag-tooltip-background-color:#cbd0d3;--ag-subheader-background-color:#e2e9eb;--ag-control-panel-background-color:#f5f7f7;--ag-border-color:#bdc3c7;--ag-odd-row-background-color:#fcfdfe;--ag-row-hover-color:#ecf0f1;--ag-column-hover-color:#ecf0f1;--ag-input-border-color:#95a5a6;--ag-invalid-color:#e02525;--ag-input-disabled-background-color:#ebebeb;--ag-checkbox-unchecked-color:#7f8c8d;--ag-input-focus-border-color:#719ece;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-input-focus-box-shadow:0 0 2px 1px var(--ag-input-focus-border-color);--ag-range-selection-border-color:var(--ag-balham-active-color);--ag-checkbox-checked-color:var(--ag-balham-active-color);--ag-checkbox-background-color:var(--ag-background-color);--ag-panel-background-color:var(--ag-header-background-color);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-subheader-toolbar-background-color:rgba(226,233,235,0.5);--ag-row-border-color:rgba(189,195,199,0.58);--ag-chip-background-color:rgba(0,0,0,0.1);--ag-range-selection-background-color:rgba(0,145,234,0.2);--ag-range-selection-background-color-2:rgba(0,145,234,0.36);--ag-range-selection-background-color-3:rgba(0,145,234,0.49);--ag-range-selection-background-color-4:rgba(0,145,234,0.59);--ag-selected-row-background-color:rgba(0,145,234,0.28);--ag-header-column-separator-color:rgba(189,195,199,0.5);--ag-input-disabled-border-color:rgba(149,165,166,0.3);--ag-header-column-separator-display:block;--ag-header-column-separator-height:50%;--ag-grid-size:4px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*6);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-input-height:calc(var(--ag-grid-size)*4);--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:12px;--ag-icon-font-family:agGridBalham;--ag-border-radius:2px;--ag-checkbox-border-radius:3px;--ag-card-shadow:none}.ag-theme-balham-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-tooltip-background-color:#1c1f20;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color);color-scheme:dark}@media (prefers-color-scheme:dark){.ag-theme-balham-auto-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-tooltip-background-color:#1c1f20;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color);color-scheme:dark}}.ag-theme-balham-auto-dark .ag-filter-toolpanel-header,.ag-theme-balham-auto-dark .ag-filter-toolpanel-search,.ag-theme-balham-auto-dark .ag-header-row,.ag-theme-balham-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-auto-dark .ag-status-bar,.ag-theme-balham-dark .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-filter-toolpanel-search,.ag-theme-balham-dark .ag-header-row,.ag-theme-balham-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-filter-toolpanel-header,.ag-theme-balham .ag-filter-toolpanel-search,.ag-theme-balham .ag-header-row,.ag-theme-balham .ag-multi-filter-group-title-bar,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-auto-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham .ag-ltr input[class^=ag-][type=date],.ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-ltr input[class^=ag-][type=number],.ag-theme-balham .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham .ag-ltr input[class^=ag-][type=text],.ag-theme-balham .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-auto-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham .ag-rtl input[class^=ag-][type=date],.ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-rtl input[class^=ag-][type=number],.ag-theme-balham .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham .ag-rtl input[class^=ag-][type=text],.ag-theme-balham .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-auto-dark .ag-status-bar,.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-balham-auto-dark.ag-dnd-ghost,.ag-theme-balham-dark.ag-dnd-ghost,.ag-theme-balham.ag-dnd-ghost{font-size:var(--ag-font-size);font-weight:600}.ag-theme-balham-auto-dark .ag-tab,.ag-theme-balham-dark .ag-tab,.ag-theme-balham .ag-tab{border:1px solid transparent;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);margin:var(--ag-grid-size);margin-bottom:-1px}.ag-theme-balham-auto-dark .ag-tab-selected,.ag-theme-balham-dark .ag-tab-selected,.ag-theme-balham .ag-tab-selected{background-color:var(--ag-background-color);border-color:var(--ag-border-color);border-bottom-color:transparent}.ag-theme-balham-auto-dark .ag-tabs-header,.ag-theme-balham-dark .ag-tabs-header,.ag-theme-balham .ag-tabs-header{border-bottom:1px solid var(--ag-border-color)}.ag-theme-balham-auto-dark .ag-column-drop-cell,.ag-theme-balham-dark .ag-column-drop-cell,.ag-theme-balham .ag-column-drop-cell{height:calc(var(--ag-grid-size)*6)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-title,.ag-theme-balham-dark .ag-column-drop-vertical-title,.ag-theme-balham .ag-column-drop-vertical-title{color:var(--ag-foreground-color)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell,.ag-theme-balham-dark .ag-column-drop-vertical-cell,.ag-theme-balham .ag-column-drop-vertical-cell{margin-left:calc(var(--ag-grid-size)*2);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham .ag-column-drop-vertical-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-drop-vertical-icon,.ag-theme-balham-dark .ag-column-drop-vertical-icon,.ag-theme-balham .ag-column-drop-vertical-icon{color:var(--ag-secondary-foreground-color)}.ag-theme-balham-auto-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-balham-auto-dark .ag-column-drop-horizontal,.ag-theme-balham-dark .ag-column-drop-horizontal,.ag-theme-balham .ag-column-drop-horizontal{height:var(--ag-header-height)}.ag-theme-balham-auto-dark .ag-column-drop-empty,.ag-theme-balham-dark .ag-column-drop-empty,.ag-theme-balham .ag-column-drop-empty{color:var(--ag-disabled-foreground-color)}.ag-theme-balham-auto-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham .ag-column-drop-horizontal-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-drop-vertical,.ag-theme-balham-dark .ag-column-drop-vertical,.ag-theme-balham .ag-column-drop-vertical{padding-top:calc(var(--ag-grid-size)*2)}.ag-theme-balham-auto-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-balham-auto-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-balham-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-balham-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-balham .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-balham .ag-column-select-column-readonly .ag-icon-grip{opacity:0.35}.ag-theme-balham-auto-dark .ag-menu-header,.ag-theme-balham-dark .ag-menu-header,.ag-theme-balham .ag-menu-header{background-color:var(--ag-header-background-color)}.ag-theme-balham-auto-dark .ag-overlay-loading-center,.ag-theme-balham-dark .ag-overlay-loading-center,.ag-theme-balham .ag-overlay-loading-center{background-color:var(--ag-background-color);border:1px solid var(--ag-border-color);color:var(--ag-foreground-color);padding:calc(var(--ag-grid-size)*4)}.ag-theme-balham-auto-dark .ag-tooltip,.ag-theme-balham-dark .ag-tooltip,.ag-theme-balham .ag-tooltip{border:none}.ag-theme-balham-auto-dark .ag-panel-title-bar-button-icon,.ag-theme-balham-dark .ag-panel-title-bar-button-icon,.ag-theme-balham .ag-panel-title-bar-button-icon{font-size:calc(var(--ag-icon-size) + var(--ag-grid-size))}.ag-theme-balham-auto-dark .ag-panel,.ag-theme-balham-dark .ag-panel,.ag-theme-balham .ag-panel{background-color:var(--ag-header-background-color)}.ag-theme-balham-auto-dark .ag-chart-data-section,.ag-theme-balham-auto-dark .ag-chart-format-section,.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section,.ag-theme-balham .ag-chart-data-section,.ag-theme-balham .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-auto-dark .ag-group-toolbar,.ag-theme-balham-dark .ag-group-toolbar,.ag-theme-balham .ag-group-toolbar{background-color:var(--ag-subheader-toolbar-background-color)}.ag-theme-balham-auto-dark .ag-chart-tab,.ag-theme-balham-dark .ag-chart-tab,.ag-theme-balham .ag-chart-tab{padding-top:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-auto-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham .ag-charts-format-sub-level-group-item{margin-bottom:calc(var(--ag-grid-size)*1.5)}.ag-theme-balham-auto-dark .ag-chart-menu-close,.ag-theme-balham-dark .ag-chart-menu-close,.ag-theme-balham .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-balham-auto-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-balham-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-balham .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-border-color)}.ag-theme-balham-auto-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-balham-auto-dark .ag-filter-active .ag-icon-filter,.ag-theme-balham-dark .ag-filter-active .ag-icon-filter,.ag-theme-balham .ag-filter-active .ag-icon-filter{color:var(--ag-balham-active-color)}',""])},function(e,t,a){var r=a(21);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'.ag-theme-material{--ag-material-primary-color:#3f51b5;--ag-material-accent-color:#ff4081;--ag-foreground-color:rgba(0,0,0,0.87);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-background-color:#fff;--ag-header-background-color:#fff;--ag-tooltip-background-color:#fff;--ag-subheader-background-color:#eee;--ag-subheader-toolbar-background-color:hsla(0,0%,93.3%,0.5);--ag-header-cell-hover-background-color:#f2f2f2;--ag-chip-background-color:#e2e2e2;--ag-range-selection-background-color:rgba(122,134,203,0.1);--ag-range-selection-background-color-2:rgba(122,134,203,0.19);--ag-range-selection-background-color-3:rgba(122,134,203,0.27);--ag-range-selection-background-color-4:rgba(122,134,203,0.34);--ag-range-selection-highlight-color:#fce4ec;--ag-row-hover-color:#fafafa;--ag-column-hover-color:#fafafa;--ag-control-panel-background-color:#fafafa;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-checkbox-unchecked-color:#333;--ag-value-change-value-highlight-background-color:#00acc1;--ag-side-button-selected-background-color:transparent;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-range-selection-border-color:var(--ag-material-primary-color);--ag-checkbox-checked-color:var(--ag-material-accent-color);--ag-borders:none;--ag-borders-critical:solid 1px;--ag-border-color:#e2e2e2;--ag-grid-size:8px;--ag-icon-size:18px;--ag-header-height:calc(var(--ag-grid-size)*7);--ag-row-height:calc(var(--ag-grid-size)*6);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-filter-tool-panel-sub-level-row-height:calc(var(--ag-grid-size)*4);--ag-checkbox-border-radius:2px;--ag-toggle-button-switch-border-width:2px;--ag-toggle-button-height:var(--ag-icon-size);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.75);--ag-font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridMaterial;--ag-selected-tab-underline-color:var(--ag-material-primary-color);--ag-selected-tab-underline-width:2px;--ag-input-focus-border-color:var(--ag-material-primary-color);--ag-input-focus-box-shadow:0 0 0 5px rgba(32,33,36,0.122);--ag-card-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);--ag-card-radius:2px;--ag-invalid-color:#e02525}.ag-theme-material .ag-filter-toolpanel-header,.ag-theme-material .ag-filter-toolpanel-search,.ag-theme-material .ag-header-row,.ag-theme-material .ag-multi-filter-group-title-bar,.ag-theme-material .ag-panel-title-bar-title,.ag-theme-material .ag-status-bar{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-material .ag-tab{height:calc(var(--ag-grid-size)*4.5);flex:1 1 auto}.ag-theme-material .ag-column-drop-horizontal,.ag-theme-material .ag-tabs-header{background-color:var(--ag-subheader-background-color)}.ag-theme-material .ag-tabs-body{padding:calc(var(--ag-grid-size)*0.5) 0}.ag-theme-material .ag-tabs-body .ag-menu-list{padding-top:0;padding-bottom:0}.ag-theme-material .ag-header-cell,.ag-theme-material .ag-header-group-cell{transition:background-color 0.5s}.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing{bottom:0}.ag-theme-material .ag-cell-inline-editing{padding:var(--ag-grid-size);height:calc(var(--ag-row-height) + var(--ag-grid-size)*3);border-color:var(--ag-border-color)!important}.ag-theme-material .ag-has-focus .ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-theme-material .ag-column-drop-vertical{border-bottom:1px solid;border-bottom-color:var(--ag-border-color);padding-top:var(--ag-grid-size)}.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-theme-material .ag-column-drop-vertical-cell{margin-left:0}.ag-theme-material .ag-column-drop-vertical-empty-message{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-material .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-material .ag-status-bar{border:1px solid;border-color:var(--ag-border-color)}.ag-theme-material .ag-column-panel-column-select{border-top:1px solid;border-top-color:var(--ag-border-color)}.ag-theme-material .ag-column-select,.ag-theme-material .ag-column-select-header{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material .ag-column-select-header{height:var(--ag-header-height)}.ag-theme-material .ag-group-title-bar{padding:calc(var(--ag-grid-size)*0.75) var(--ag-grid-size)}.ag-theme-material .ag-charts-format-sub-level-group-title-bar{padding:calc(var(--ag-grid-size)*0.5) var(--ag-grid-size)}.ag-theme-material .ag-chart-data-section,.ag-theme-material .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-material .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-material .ag-chart-menu-close .ag-icon{background:var(--ag-subheader-background-color)}.ag-theme-material input[class^=ag-]:not([type]),.ag-theme-material input[class^=ag-][type=date],.ag-theme-material input[class^=ag-][type=datetime-local],.ag-theme-material input[class^=ag-][type=number],.ag-theme-material input[class^=ag-][type=tel],.ag-theme-material input[class^=ag-][type=text],.ag-theme-material textarea[class^=ag-]{background:transparent;color:var(--ag-foreground-color);font-family:inherit;font-size:inherit;height:calc(var(--ag-grid-size)*5);padding-bottom:var(--ag-grid-size);border-width:0;border-radius:0;border-bottom:2px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):focus,.ag-theme-material input[class^=ag-][type=date]:focus,.ag-theme-material input[class^=ag-][type=datetime-local]:focus,.ag-theme-material input[class^=ag-][type=number]:focus,.ag-theme-material input[class^=ag-][type=tel]:focus,.ag-theme-material input[class^=ag-][type=text]:focus,.ag-theme-material textarea[class^=ag-]:focus{border-bottom:2px solid;border-bottom-color:var(--ag-material-primary-color);outline:none;box-shadow:none}.ag-theme-material input[class^=ag-]:not([type])::placeholder,.ag-theme-material input[class^=ag-][type=date]::placeholder,.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,.ag-theme-material input[class^=ag-][type=number]::placeholder,.ag-theme-material input[class^=ag-][type=tel]::placeholder,.ag-theme-material input[class^=ag-][type=text]::placeholder,.ag-theme-material textarea[class^=ag-]::placeholder{color:var(--ag-disabled-foreground-color)}.ag-theme-material input[class^=ag-]:not([type]):disabled,.ag-theme-material input[class^=ag-][type=date]:disabled,.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,.ag-theme-material input[class^=ag-][type=number]:disabled,.ag-theme-material input[class^=ag-][type=tel]:disabled,.ag-theme-material input[class^=ag-][type=text]:disabled,.ag-theme-material textarea[class^=ag-]:disabled{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):invalid,.ag-theme-material input[class^=ag-][type=date]:invalid,.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,.ag-theme-material input[class^=ag-][type=number]:invalid,.ag-theme-material input[class^=ag-][type=tel]:invalid,.ag-theme-material input[class^=ag-][type=text]:invalid,.ag-theme-material textarea[class^=ag-]:invalid{border-width:0;border-bottom:1px solid;border-bottom-color:var(--ag-invalid-color);color:var(--ag-invalid-color)}.ag-theme-material .ag-standard-button{appearance:none;background-color:transparent;border:0;color:var(--ag-material-primary-color);font-family:inherit;font-size:inherit;margin:0;padding:0;text-transform:uppercase}.ag-theme-material .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-material.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:600}.ag-theme-material .ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*4)}.ag-theme-material .ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*7)}.ag-theme-material .ag-ltr .ag-advanced-filter-apply-button,.ag-theme-material .ag-ltr .ag-advanced-filter-builder-button,.ag-theme-material .ag-ltr .ag-filter-apply-panel-button{margin-left:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-advanced-filter-apply-button,.ag-theme-material .ag-rtl .ag-advanced-filter-builder-button,.ag-theme-material .ag-rtl .ag-filter-apply-panel-button{margin-right:var(--ag-grid-size)}.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,.ag-theme-material .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-material .ag-layout-print .ag-center-cols-container,.ag-theme-material .ag-layout-print .ag-center-cols-viewport{min-height:150px}.ag-theme-material .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-material .ag-picker-field-wrapper:focus-within{box-shadow:0 0 0 1px var(--ag-material-primary-color)}.ag-theme-material .ag-rich-select-list{box-shadow:0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)}.ag-theme-material .ag-advanced-filter-builder-button-label{text-transform:uppercase}.ag-theme-material .ag-filter-active .ag-icon-filter{color:var(--ag-material-accent-color)}',""])},function(e,t,a){var r=a(23);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'@font-face{font-family:agGridMaterial;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABEIAAsAAAAAJXAAABC1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKpFCeVQE2AiQDgjQLgRwABCAFhF4HhSQbFiEzkpPWxkdRriZLERWMvuy/TODkkmtBWWICEBGDQBg2GMCgjpPxctqNa3ZadxGGh+NzyiFJ0eQBf7/fue+LAYlRkrhXkqiEREiExAhZQ2RkzTQ/mouchQAeMOWyGz6iBwlYBgVGvKrT1TWyyvR/+G3+hWdSKkaDvmfDGrECrA2Th1nMBCMKV8mKhW8Vrf5a1WeFOwd+sDz07yvZ9czHcd2dUHS3RQUFC/o1SZu0C/lAPexP079M2vv/e/aw2Gk7dvv3uWMhMC1IPCGcpBFAsOX+hml0kBIqwSeoybVSp4CcovJ1OsnmIJsj2ssT5e5pn7eALKt+qogPSltANAbYdWorfIUmYepsHTUjitAwSDfVIscjVNyWjABls91MYabPvG+kIX1dZNOlBfY7YkW8eBCbyY0IQNZcCHefRDiYa5/UV0MRla0dwK5uWPtGWgByx49e6BTIdzn+AkxNL/zu38BAv6PrKE3cSD45Ic/kC+VAyOqmEM06Pzsbs2bhHC4PJrJro7p8ASICYUE8KU8oTH92kUPZHJdg6YZuOuIsxxDjH+yccXwkD1z3fEO7YhfvnqdH4Fjb4ChV1ZwvRXHFHAQilqB9/UmyvQuL54g5ShDshZhIGrmZPK6fu3hjStjYyOmMqnOM7XTIrTbTcusN1UMRVxA2e0YpOrnrgvFMUI7QNpqdhxrju7gDS/RgUz+9hmL2uDpaRsBOpmtzPfepEc3pdn6IJy09GExRxI+h1vYMhy8aYe64Mbl2v88u+ijLDaMruvjRRzcePXnz6R8BSoMka4OVYNN3XPvIrFuWvBGc3WFj85kjUfyGaVyMK3RubMpsB5cIVmdsGlV1zmYJ3zB+pJJuTXd24glQYpXTamaCiTcsNs5IzZECAR1z2+LKTN/4TQxJtnSUqqhvqRyUJqP0rJWQDf2IvBA9EeDfQhpjjsvG44ciEG5olQiBnqrpd56qkFn2nNjJB6ZmTYd3AlaAOc+pIrhl4pO6CFSDkx15s53nzck80QcrI7DLG2YO2d+HuI25fbdIgMwm4cMLph2Y35JTLNBYxgMtJFx1TJSWKbszqnaevZnbj5YhJuuXgvMKqB6KHJ3S7ELuaPR3+CgBohN8i8vV6w8fUBHIABEhBtlFjC9EFcM/Sr44ogYm452/Y1O5sCIgAcSAYiAOosLL+aEAyCZejFCL7g/1H/LIMGriGz/744v/+oUSn/jOr1/owJppgZ5XL+uyQVWInfAbwO/fw5EcWxHuJRONBjs7G9/e1QOCEZRArJ2vTKHS6AymmLiEpFRs9Vk5eQVfHUvKKqpqNHUNTS1tSR1dPX0DQyNjE5qpmTkibmFpBUISsrHczVDdGR7Zfb0peW7byXM/9e+/hZ9vwfurCOq18wCxF2UTQMkMdgPTsBqYgZ3ALGwF5mAPMA/rgAU4BCzCGmAJtgPLsAFYhR3AGmwD1mEvsAGbgE3YCGzBfmAH1gK7sAXYg/XAPuwDDuAgcAibgSPYBRzDAeBk2DD4QmlWsEAEKgiCKEiCLCiCKmiCLhiCKcSEuJAQkkJKSAsZISvkhLxQEIpCSSgLFaEq1IS6kQNfjZxqCi2hLXSErpdVTy7pCwNhKIyEsTARpsJMmBs58LXIbZbCSrCMGPhav9rY8jgmcO4x8jGyOM4VLkCiBSA1BVlmOIN1EP3d5ThnZMjRf0GmSLhADumIiQ3SoAtaRDpceYij+lQ5fWDVElnrvFQvJaMbRNOi1TwLiVOJRSVOaQlCGfGKYHq8LWVXZSwGpwz6GTxjUn4YKopUyVCrvHyPIWPQc4oJ1Z+lymdzaCFjOFdhKCRLIlIxSVkJ3YIGezJ/6j6ZAqlhGpIi3I4UBUMGlHGK3YIAQSKAAJdQXihjMJYXNzmGueqkuNfJyqCTFv5RKwsEK5KimMtCVo0xcL/YOJBIwDljvhyTBHXyFc/a7/dpoj79NtIkeTMv3MOKCI06CWcSO1fZ31TAGxrLJOfjF7bT9ol6aP9TfXf2ZjVSqKwDBijgUhKkNStWCsQct72As0LphMwfEofxYb7OVX8x/Hi6eP2vIhQfdoqYuMHIi4UzKfyUmjZIANGnXgV0JDHMpy/OIFbWqentbTCbu7Ozi1SvHT1H+/SAqBVmMmV2F8wxURt27F7m1JSd4Gr/CZirkyN8cPSZmQm0e1TPbqZs7h7qo70jNnZm7jq3yVmzTdTKiYtXNi5O7MxILqdS6cP6CUUusPHxy3IyRaSk5MrwzjgtzKMNZrK8w6pxZl7p1/alelFmX4ico/rdL/PjjXr7E+01zjbBk8T+fk91huRIO7pNYiFGFDR+eKVol1Fvod1J5zK1OxitjigvxifaLNfNZorAZVwHs0v1cBEbtXszvPjOB/PlugjQcs/jx26OeH0Jpq9nAx8H8ysDFt56LTJxwQjfF4Hk02mYPQraz/T2RZXhMk9AYL7kKTG5Wh0E1vOU65aZJ/vq4Kl9fqQPn9UjhSYSpT2rVusXsuaracIYcCIk2hGlkf6wOv4C0ExCVNqvJyavXBfjUhSg73/H6kn2iTB38pAsamgsFuFy/f43Jlczrqs8j2m/3vGKtXogyGJv1ZsfQM4tCLTvD0vOkABnggBlQpZqLjnFEpRUACNOlEQkBpVqdjI5MkxCiNJQLFocnv7h42vQzjHRevcaXvmNxs9ufukRlUlzYHEug1mwYptFrwpCdkdtm1291xqJRxKm2MyyZXnj9ZusEI+hUN50IubbaTbcWzU6BGwrDEbErJYCVCmNTC9MSg5OTQtpawqgFgWnJIWmSUodrIE03jYRpH3Wf/KLRV+zAqciqKPYldY5KkaMDsyiS82XtC1JQgM6nixtIzPWo6VrGpKfhj+xWIJQKyRpTbhEmpZqFHxwatKUvIFVmzZqIK1pWgzQPclLvv0HSdoZTpFQayU3JmH+dKSew/c9JSKTqHnixrYHKIlIxPF+V0yWAAUox43lUSHhldNIRYrxnonRh90PUu3K019H6MQMvUYS6zrcHtw3uIGqk5DJLsohmR+JyqJTDOwNEfzwFQGhVarV3/Bvf6t3iUTAFqysyffP5fNz/fNfGa0nl895v/pEiKxduUJsreZayW4T7s/vWNvxPqY+tl6tb/jaAH7L1RTWtHEWhTU+jbV7c1wxirV1fPz1a2Nj8QnpcgGHK+fGe1oovb6ZKllqYvhwUaVSFhaSySHB13XG169d3x+yZ8/CDxJ7FKIAtcc/LgRCSZRPv1YHYy7c9ur1wDcxsImpSCVY/ll59pzOXqnXEw5yTocBGoPH6NpTbqOAxaCAWmZoDAauytsxt2FW79Ndanlq/ayAP/63tKRB1iM8SPKUes7yLPXka//NqOHDDxxfNzaPkCZNvMLNH5Fkqt9pi5zHrcyls75uElqjVxoQS9sgD6bpRnpLcP0cM9vDs11Olbikpdl3MjYcYNjbWds4M27pmNSFjNb58o80i1QmQ2X7D38LTLd6ZcNsN2iy3kQvC0x4yWLSTTN3RNrYbLvGXB+00OeU92k7H7BuoTaKKIZ2vAm76tVmJ3LsZt+dbkLZxKwBrpZ++pTm0SO2v5fRWpoy9MJ7B+GckF0jM0+jnHB0tV8qWGoqMF2COijiZDHqgHo/SrDEHnU4ERf36FEuG3gWulU0S4biqY1fT2+eW76wcq5NmJkF+l9QRljGxof4FROzGTQLUXyluPncCuZCOys737TO1BbfIUMTMxczJiw8NE2o8YQ9R1huXvxEgHq67igRidJnS5NiWFGssirH6Eq8QB4vEvYKpKS1CQKh3NSV3ykouStEPd1+RkdF2sdygfLLcM9LCsvM6p3TP3Tby8V3IWjflYCEgr6MGJYq0N0p2qlB4gpuHIcTl2607nQ6PofscHM9b/1NnnFmoNITYgJTiTViOabDdfAv7/w5qbtQm3zT4joceMwapVi5ltDzIFpks7zH2W4dL7eRE09XeUwnq+bI5Jhc9rRalpINXw7ldwwLOtY3tXqniLKdI39U2KLFHA5hRCIRkOfnl1trtCzAlwY75LDTKAFPaBwTsn2ifTK0yatJCJyW4pKEhJLiJfIlg97WxSXTDpWV9GeHh6tJwHiiQiPWQLvekB0aXPOgjzrQ39eJdWFM2Ga/9zMWOUtOKJd7VpXFFXHmzeOIuFkBUmzz+LgDJhVZOu6AJDOY1Vex/8qPpB+T+1BA12nOWEvnZjGEDaFwNN7n2HV4h6oDh0xfhaLUV/TsOYfz9OlU82kJPjWFS043Tz0Fnrm/ks29xJ7sS1w2izCtiE6h7T8zcMZ5r2aqdJdaSvrtN2I78XF66a+pJeD9uCBdbz32jHj2dIzi7iVWl2Z7pLsrFO7pHtl3jNajUPzXn+1xJyaxUVF/VTY/g8fL4Gc/ImLjGbxs/qNQQ9B+FtZGRtYOFyr3MPvlBPpm8tmCiJ2bV1lLE8OsHp1brJvYbWD1biLHigrlfdmufGLLccCyXAFZl822o1hbbPSsqlL27Nn5t1qrnYH7zrF4LBxaeO7Y6t2plzPI5cvLLxXG5QuVdwJDC4IDpA8tGMsWi01iKnq6V8fMDw9YtFeCuf4RqZVI2Hhtbk5sLEHMOXESaBOOyrA1hAfV168JI5aqr/eVq/n4xATMJN94X3HQEigIleW46tmk8FfXr1/6X19AzsMaJBI85CAVyxnpt68sBex2UGCtZqQ4rS9eTNas0Y2c5xnj/+9INfLJPo1T8E4RZyuydgZZbTkqSBD/l9Y1klyzjlyEAlZsbclXHRTiIRWauoq1NPDQb+uLsxLr+sOR0D5bquiLr5JzHDlN2CxLXD4pQmgg7MgsyNSQFzcxd0VTFlqIY5HIN0WfBirTr/vmmQX/Y0JF1AAo0/T1uW7A49RUnSkD+Q47AASsxjSezFru0knKT4H27SscjZrYCKZUYgBQyRIAT6Uz43BtnDMRMLglAAZjH5UYYU5rALQ5BgWgwiwmxjUPhipwYO7JNbCEBkCAZGAKJHCCYYBkYMA2hkDzQ8wAmt+DhmADH+xGaE8CSIFUktPnRwWR3fBrhA8S3TerKNGm3xhash/T8L2K/yg1MvXX41Wk/ICE8vMwXT/t+rqEG1Xfe+Hcv2dSTIn7InyHoOOsWm7Xa/91FiNw3rOCD0TkfKNdFUor+U20oLENt4RrhuP5f8oqvOmM9K6NrrjBB05+Gqd3epOdoa8Wwc1PZ+X1nmCZ8fcVE06WFMY/vMTLOwioGM0FZHFrrczL84oRVEIP640AoJCPHx8OEEEUCUhEEpKRcjcldGQ8/v4J44lkKp3J5vKFYqlcqdbqjWar3en2+oPhaDyZzuaL5cpa24w7rucHYbTxymtvvPXOex989MlnX3z1zfd1Nn0EwWA1Mq3sCG/qod2wgiDAZOC0oo9THeF+4u1gZ6N7GThNJIeKkiNZxadRwUZcxnPoxDKU6GktR3exZaqn0KRiQdF10GVnYLjWQ9jLIbzauaxg8KvbfhxvsZUndSf441CTrfMhy135SjXazZpJ1S5MLCYMt9IlJtEupddVKmr4bI9SWxcpHOfYxhwfsMtJ7Rgp9R2FmvCMWgebEm/gNSW3Bw/hIXPlwvpY8r4aHqamyjSw948CZmSkwqxdjQVP611B2eB4Qw5pheMMlCyO42+MkelQNPJUBXHs+EmwJhek4/ag13XlatUkoajHuDHKZ6P7ViCQihjZqEAyuzfZGj6XNcXOwntYewAAAA==);font-weight:400;font-style:normal}.ag-theme-material{--ag-material-primary-color:#3f51b5;--ag-material-accent-color:#ff4081;--ag-foreground-color:rgba(0,0,0,0.87);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-background-color:#fff;--ag-header-background-color:#fff;--ag-tooltip-background-color:#fff;--ag-subheader-background-color:#eee;--ag-subheader-toolbar-background-color:hsla(0,0%,93.3%,0.5);--ag-header-cell-hover-background-color:#f2f2f2;--ag-chip-background-color:#e2e2e2;--ag-range-selection-background-color:rgba(122,134,203,0.1);--ag-range-selection-background-color-2:rgba(122,134,203,0.19);--ag-range-selection-background-color-3:rgba(122,134,203,0.27);--ag-range-selection-background-color-4:rgba(122,134,203,0.34);--ag-range-selection-highlight-color:#fce4ec;--ag-row-hover-color:#fafafa;--ag-column-hover-color:#fafafa;--ag-control-panel-background-color:#fafafa;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-checkbox-unchecked-color:#333;--ag-value-change-value-highlight-background-color:#00acc1;--ag-side-button-selected-background-color:transparent;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-range-selection-border-color:var(--ag-material-primary-color);--ag-checkbox-checked-color:var(--ag-material-accent-color);--ag-borders:none;--ag-borders-critical:solid 1px;--ag-border-color:#e2e2e2;--ag-grid-size:8px;--ag-icon-size:18px;--ag-header-height:calc(var(--ag-grid-size)*7);--ag-row-height:calc(var(--ag-grid-size)*6);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-filter-tool-panel-sub-level-row-height:calc(var(--ag-grid-size)*4);--ag-checkbox-border-radius:2px;--ag-toggle-button-switch-border-width:2px;--ag-toggle-button-height:var(--ag-icon-size);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.75);--ag-font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridMaterial;--ag-selected-tab-underline-color:var(--ag-material-primary-color);--ag-selected-tab-underline-width:2px;--ag-input-focus-border-color:var(--ag-material-primary-color);--ag-input-focus-box-shadow:0 0 0 5px rgba(32,33,36,0.122);--ag-card-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);--ag-card-radius:2px;--ag-invalid-color:#e02525}.ag-theme-material .ag-filter-toolpanel-header,.ag-theme-material .ag-filter-toolpanel-search,.ag-theme-material .ag-header-row,.ag-theme-material .ag-multi-filter-group-title-bar,.ag-theme-material .ag-panel-title-bar-title,.ag-theme-material .ag-status-bar{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-material .ag-tab{height:calc(var(--ag-grid-size)*4.5);flex:1 1 auto}.ag-theme-material .ag-column-drop-horizontal,.ag-theme-material .ag-tabs-header{background-color:var(--ag-subheader-background-color)}.ag-theme-material .ag-tabs-body{padding:calc(var(--ag-grid-size)*0.5) 0}.ag-theme-material .ag-tabs-body .ag-menu-list{padding-top:0;padding-bottom:0}.ag-theme-material .ag-header-cell,.ag-theme-material .ag-header-group-cell{transition:background-color 0.5s}.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing{bottom:0}.ag-theme-material .ag-cell-inline-editing{padding:var(--ag-grid-size);height:calc(var(--ag-row-height) + var(--ag-grid-size)*3);border-color:var(--ag-border-color)!important}.ag-theme-material .ag-has-focus .ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-theme-material .ag-column-drop-vertical{border-bottom:1px solid;border-bottom-color:var(--ag-border-color);padding-top:var(--ag-grid-size)}.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-theme-material .ag-column-drop-vertical-cell{margin-left:0}.ag-theme-material .ag-column-drop-vertical-empty-message{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-material .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-material .ag-status-bar{border:1px solid;border-color:var(--ag-border-color)}.ag-theme-material .ag-column-panel-column-select{border-top:1px solid;border-top-color:var(--ag-border-color)}.ag-theme-material .ag-column-select,.ag-theme-material .ag-column-select-header{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material .ag-column-select-header{height:var(--ag-header-height)}.ag-theme-material .ag-group-title-bar{padding:calc(var(--ag-grid-size)*0.75) var(--ag-grid-size)}.ag-theme-material .ag-charts-format-sub-level-group-title-bar{padding:calc(var(--ag-grid-size)*0.5) var(--ag-grid-size)}.ag-theme-material .ag-chart-data-section,.ag-theme-material .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-material .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-material .ag-chart-menu-close .ag-icon{background:var(--ag-subheader-background-color)}.ag-theme-material input[class^=ag-]:not([type]),.ag-theme-material input[class^=ag-][type=date],.ag-theme-material input[class^=ag-][type=datetime-local],.ag-theme-material input[class^=ag-][type=number],.ag-theme-material input[class^=ag-][type=tel],.ag-theme-material input[class^=ag-][type=text],.ag-theme-material textarea[class^=ag-]{background:transparent;color:var(--ag-foreground-color);font-family:inherit;font-size:inherit;height:calc(var(--ag-grid-size)*5);padding-bottom:var(--ag-grid-size);border-width:0;border-radius:0;border-bottom:2px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):focus,.ag-theme-material input[class^=ag-][type=date]:focus,.ag-theme-material input[class^=ag-][type=datetime-local]:focus,.ag-theme-material input[class^=ag-][type=number]:focus,.ag-theme-material input[class^=ag-][type=tel]:focus,.ag-theme-material input[class^=ag-][type=text]:focus,.ag-theme-material textarea[class^=ag-]:focus{border-bottom:2px solid;border-bottom-color:var(--ag-material-primary-color);outline:none;box-shadow:none}.ag-theme-material input[class^=ag-]:not([type])::placeholder,.ag-theme-material input[class^=ag-][type=date]::placeholder,.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,.ag-theme-material input[class^=ag-][type=number]::placeholder,.ag-theme-material input[class^=ag-][type=tel]::placeholder,.ag-theme-material input[class^=ag-][type=text]::placeholder,.ag-theme-material textarea[class^=ag-]::placeholder{color:var(--ag-disabled-foreground-color)}.ag-theme-material input[class^=ag-]:not([type]):disabled,.ag-theme-material input[class^=ag-][type=date]:disabled,.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,.ag-theme-material input[class^=ag-][type=number]:disabled,.ag-theme-material input[class^=ag-][type=tel]:disabled,.ag-theme-material input[class^=ag-][type=text]:disabled,.ag-theme-material textarea[class^=ag-]:disabled{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):invalid,.ag-theme-material input[class^=ag-][type=date]:invalid,.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,.ag-theme-material input[class^=ag-][type=number]:invalid,.ag-theme-material input[class^=ag-][type=tel]:invalid,.ag-theme-material input[class^=ag-][type=text]:invalid,.ag-theme-material textarea[class^=ag-]:invalid{border-width:0;border-bottom:1px solid;border-bottom-color:var(--ag-invalid-color);color:var(--ag-invalid-color)}.ag-theme-material .ag-standard-button{appearance:none;background-color:transparent;border:0;color:var(--ag-material-primary-color);font-family:inherit;font-size:inherit;margin:0;padding:0;text-transform:uppercase}.ag-theme-material .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-material.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:600}.ag-theme-material .ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*4)}.ag-theme-material .ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*7)}.ag-theme-material .ag-ltr .ag-advanced-filter-apply-button,.ag-theme-material .ag-ltr .ag-advanced-filter-builder-button,.ag-theme-material .ag-ltr .ag-filter-apply-panel-button{margin-left:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-advanced-filter-apply-button,.ag-theme-material .ag-rtl .ag-advanced-filter-builder-button,.ag-theme-material .ag-rtl .ag-filter-apply-panel-button{margin-right:var(--ag-grid-size)}.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,.ag-theme-material .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-material .ag-layout-print .ag-center-cols-container,.ag-theme-material .ag-layout-print .ag-center-cols-viewport{min-height:150px}.ag-theme-material .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-material .ag-picker-field-wrapper:focus-within{box-shadow:0 0 0 1px var(--ag-material-primary-color)}.ag-theme-material .ag-rich-select-list{box-shadow:0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12)}.ag-theme-material .ag-advanced-filter-builder-button-label{text-transform:uppercase}.ag-theme-material .ag-filter-active .ag-icon-filter{color:var(--ag-material-accent-color)}',""])},function(e,t,a){var r=a(25);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'.ag-theme-quartz,.ag-theme-quartz-auto-dark,.ag-theme-quartz-dark{--ag-active-color:#2196f3;--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 15%);--ag-secondary-border-color:var(--ag-border-color);--ag-header-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 2%);--ag-tooltip-background-color:var(--ag-header-background-color);--ag-control-panel-background-color:var(--ag-header-background-color);--ag-subheader-background-color:transparent;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 30%);--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-icon-font-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 90%);--ag-panel-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 3%);--ag-panel-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 20%);--ag-menu-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 3%);--ag-menu-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 20%);--ag-selected-row-background-color:color-mix(in srgb,transparent,var(--ag-active-color) 8%);--ag-row-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 12%);--ag-column-hover-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 5%);--ag-input-focus-border-color:var(--ag-active-color);--ag-input-focus-box-shadow:0 0 0 3px color-mix(in srgb,transparent,var(--ag-input-focus-border-color) 47%);--ag-range-selection-background-color:color-mix(in srgb,transparent,var(--ag-active-color) 20%);--ag-range-selection-background-color-2:color-mix(in srgb,transparent,var(--ag-active-color) 36%);--ag-range-selection-background-color-3:color-mix(in srgb,transparent,var(--ag-active-color) 49%);--ag-range-selection-background-color-4:color-mix(in srgb,transparent,var(--ag-active-color) 59%);--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-active-color);--ag-range-selection-border-color:var(--ag-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-disabled-foreground-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 50%);--ag-chip-background-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 7%);--ag-chip-border-color:color-mix(in srgb,var(--ag-header-background-color),var(--ag-foreground-color) 13%);--ag-input-disabled-border-color:var(--ag-border-color);--ag-input-disabled-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 6%);--ag-modal-overlay-background-color:color-mix(in srgb,transparent,var(--ag-background-color) 66%);--ag-borders:solid 1px;--ag-border-radius:4px;--ag-wrapper-border-radius:8px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:8px;--ag-icon-size:16px;--ag-header-height:calc(var(--ag-font-size) + var(--ag-grid-size)*4.25);--ag-row-height:calc(var(--ag-font-size) + var(--ag-grid-size)*3.5);--ag-list-item-height:calc(var(--ag-icon-size) + var(--ag-widget-vertical-spacing));--ag-column-select-indent-size:var(--ag-icon-size);--ag-set-filter-indent-size:var(--ag-icon-size);--ag-advanced-filter-builder-indent-size:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*1.5);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-toggle-button-border-width:2px;--ag-font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-icon-font-family:agGridQuartz;--ag-tab-min-width:0;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:0 0 16px 0 rgba(0,0,0,0.15);--ag-side-bar-panel-width:250px}.ag-theme-quartz-dark{--ag-background-color:color-mix(in srgb,#fff,#182230 97%);--ag-foreground-color:#fff;--ag-border-color:hsla(0,0%,100%,0.16);--ag-secondary-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-header-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-tooltip-background-color:color-mix(in srgb,#fff,#182230 96%);--ag-control-panel-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-input-disabled-background-color:rgba(104,104,110,0.07058823529411765);--ag-card-shadow:0 1px 20px 1px #000;--ag-input-border-color:var(--ag-border-color);--ag-input-disabled-border-color:hsla(0,0%,100%,0.07);--ag-checkbox-unchecked-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 40%);--ag-row-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 20%);--ag-selected-row-background-color:var(--ag-row-hover-color);--ag-panel-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-panel-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-menu-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-menu-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-popup-shadow:0 0px 20px rgba(0,0,0,0.3);color-scheme:dark}@media (prefers-color-scheme:dark){.ag-theme-quartz-auto-dark{--ag-background-color:color-mix(in srgb,#fff,#182230 97%);--ag-foreground-color:#fff;--ag-border-color:hsla(0,0%,100%,0.16);--ag-secondary-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-header-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-tooltip-background-color:color-mix(in srgb,#fff,#182230 96%);--ag-control-panel-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-input-disabled-background-color:rgba(104,104,110,0.07058823529411765);--ag-card-shadow:0 1px 20px 1px #000;--ag-input-border-color:var(--ag-border-color);--ag-input-disabled-border-color:hsla(0,0%,100%,0.07);--ag-checkbox-unchecked-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 40%);--ag-row-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 20%);--ag-selected-row-background-color:var(--ag-row-hover-color);--ag-panel-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-panel-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-menu-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-menu-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-popup-shadow:0 0px 20px rgba(0,0,0,0.3);color-scheme:dark}}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search,.ag-theme-quartz-auto-dark .ag-header-row,.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz-auto-dark .ag-panel-title-bar-title,.ag-theme-quartz-auto-dark .ag-status-bar,.ag-theme-quartz-dark .ag-filter-toolpanel-header,.ag-theme-quartz-dark .ag-filter-toolpanel-search,.ag-theme-quartz-dark .ag-header-row,.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz-dark .ag-panel-title-bar-title,.ag-theme-quartz-dark .ag-status-bar,.ag-theme-quartz .ag-filter-toolpanel-header,.ag-theme-quartz .ag-filter-toolpanel-search,.ag-theme-quartz .ag-header-row,.ag-theme-quartz .ag-multi-filter-group-title-bar,.ag-theme-quartz .ag-panel-title-bar-title,.ag-theme-quartz .ag-status-bar{font-weight:500;color:var(--ag-header-foreground-color)}.ag-theme-quartz-auto-dark input[class^=ag-]:not([type]),.ag-theme-quartz-auto-dark input[class^=ag-][type=date],.ag-theme-quartz-auto-dark input[class^=ag-][type=datetime-local],.ag-theme-quartz-auto-dark input[class^=ag-][type=number],.ag-theme-quartz-auto-dark input[class^=ag-][type=tel],.ag-theme-quartz-auto-dark input[class^=ag-][type=text],.ag-theme-quartz-auto-dark textarea[class^=ag-],.ag-theme-quartz-dark input[class^=ag-]:not([type]),.ag-theme-quartz-dark input[class^=ag-][type=date],.ag-theme-quartz-dark input[class^=ag-][type=datetime-local],.ag-theme-quartz-dark input[class^=ag-][type=number],.ag-theme-quartz-dark input[class^=ag-][type=tel],.ag-theme-quartz-dark input[class^=ag-][type=text],.ag-theme-quartz-dark textarea[class^=ag-],.ag-theme-quartz input[class^=ag-]:not([type]),.ag-theme-quartz input[class^=ag-][type=date],.ag-theme-quartz input[class^=ag-][type=datetime-local],.ag-theme-quartz input[class^=ag-][type=number],.ag-theme-quartz input[class^=ag-][type=tel],.ag-theme-quartz input[class^=ag-][type=text],.ag-theme-quartz textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-quartz-auto-dark .ag-ltr textarea[class^=ag-],.ag-theme-quartz-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-quartz-dark .ag-ltr textarea[class^=ag-],.ag-theme-quartz .ag-ltr input[class^=ag-]:not([type]),.ag-theme-quartz .ag-ltr input[class^=ag-][type=date],.ag-theme-quartz .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-quartz .ag-ltr input[class^=ag-][type=number],.ag-theme-quartz .ag-ltr input[class^=ag-][type=tel],.ag-theme-quartz .ag-ltr input[class^=ag-][type=text],.ag-theme-quartz .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-quartz-auto-dark .ag-rtl textarea[class^=ag-],.ag-theme-quartz-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-quartz-dark .ag-rtl textarea[class^=ag-],.ag-theme-quartz .ag-rtl input[class^=ag-]:not([type]),.ag-theme-quartz .ag-rtl input[class^=ag-][type=date],.ag-theme-quartz .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-quartz .ag-rtl input[class^=ag-][type=number],.ag-theme-quartz .ag-rtl input[class^=ag-][type=tel],.ag-theme-quartz .ag-rtl input[class^=ag-][type=text],.ag-theme-quartz .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-picker-field-wrapper,.ag-theme-quartz-dark .ag-picker-field-wrapper,.ag-theme-quartz .ag-picker-field-wrapper{min-height:calc(var(--ag-grid-size)*4)}.ag-theme-quartz-auto-dark .ag-tab,.ag-theme-quartz-dark .ag-tab,.ag-theme-quartz .ag-tab{padding:var(--ag-grid-size);border-left:var(--ag-borders) transparent;border-right:var(--ag-borders) transparent;flex:1 1 auto}.ag-theme-quartz-auto-dark .ag-tab-selected,.ag-theme-quartz-dark .ag-tab-selected,.ag-theme-quartz .ag-tab-selected{background-color:var(--ag-background-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:first-of-type),.ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:first-of-type),.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:first-of-type){border-left-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:last-of-type),.ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:first-of-type),.ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:last-of-type),.ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:first-of-type),.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:last-of-type),.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:first-of-type){border-right-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:last-of-type),.ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:last-of-type),.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:last-of-type){border-left-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected),.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected),.ag-theme-quartz .ag-tab:not(.ag-tab-selected){opacity:0.7}.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected):hover,.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected):hover,.ag-theme-quartz .ag-tab:not(.ag-tab-selected):hover{opacity:1}.ag-theme-quartz-auto-dark .ag-menu,.ag-theme-quartz-dark .ag-menu,.ag-theme-quartz .ag-menu{color:color-mix(in srgb,transparent,var(--ag-foreground-color) 95%)}.ag-theme-quartz-auto-dark .ag-menu.ag-tabs,.ag-theme-quartz-dark .ag-menu.ag-tabs,.ag-theme-quartz .ag-menu.ag-tabs{min-width:290px}.ag-theme-quartz-auto-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-quartz-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-quartz .ag-panel-content-wrapper .ag-column-select{background-color:var(--ag-control-panel-background-color);color:color-mix(in srgb,transparent,var(--ag-foreground-color) 95%)}.ag-theme-quartz-auto-dark .ag-menu-option .ag-icon,.ag-theme-quartz-dark .ag-menu-option .ag-icon,.ag-theme-quartz .ag-menu-option .ag-icon{opacity:65%}.ag-theme-quartz-auto-dark .ag-menu-header,.ag-theme-quartz-dark .ag-menu-header,.ag-theme-quartz .ag-menu-header{background-color:var(--ag-control-panel-background-color)}.ag-theme-quartz-auto-dark .ag-menu-option,.ag-theme-quartz-dark .ag-menu-option,.ag-theme-quartz .ag-menu-option{font-weight:500;cursor:pointer}.ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz .ag-ltr .ag-menu-option-popup-pointer .ag-icon{text-align:right}.ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz .ag-rtl .ag-menu-option-popup-pointer .ag-icon{text-align:left}.ag-theme-quartz-auto-dark .ag-tabs-header,.ag-theme-quartz-dark .ag-tabs-header,.ag-theme-quartz .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color);display:flex;background-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 5%)}.ag-theme-quartz-auto-dark .ag-side-bar,.ag-theme-quartz-dark .ag-side-bar,.ag-theme-quartz .ag-side-bar{background-color:var(--ag-control-panel-background-color);min-width:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-side-buttons,.ag-theme-quartz-dark .ag-side-buttons,.ag-theme-quartz .ag-side-buttons{padding:0;align-self:stretch;width:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);background:var(--ag-control-panel-background-color)}.ag-theme-quartz-auto-dark .ag-side-button,.ag-theme-quartz-dark .ag-side-button,.ag-theme-quartz .ag-side-button{border-top:var(--ag-borders) transparent;border-bottom:var(--ag-borders) transparent}@media (max-resolution:1.5x){.ag-theme-quartz-auto-dark .ag-side-button-label,.ag-theme-quartz-dark .ag-side-button-label,.ag-theme-quartz .ag-side-button-label{font-family:Segoe UI,var(--ag-font-family);transform:rotate(0.05deg)}}.ag-theme-quartz-auto-dark .ag-side-button.ag-selected,.ag-theme-quartz-dark .ag-side-button.ag-selected,.ag-theme-quartz .ag-side-button.ag-selected{border-bottom-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-theme-quartz-auto-dark .ag-side-button.ag-selected:not(:first-of-type),.ag-theme-quartz-dark .ag-side-button.ag-selected:not(:first-of-type),.ag-theme-quartz .ag-side-button.ag-selected:not(:first-of-type){border-top-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-column-panel-column-select,.ag-theme-quartz-dark .ag-column-panel-column-select,.ag-theme-quartz .ag-column-panel-column-select{border-top:none;border-bottom:1px solid var(--ag-secondary-border-color)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search,.ag-theme-quartz-dark .ag-filter-toolpanel-search,.ag-theme-quartz .ag-filter-toolpanel-search{height:auto;margin-top:var(--ag-widget-container-vertical-padding)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search-input,.ag-theme-quartz-dark .ag-filter-toolpanel-search-input,.ag-theme-quartz .ag-filter-toolpanel-search-input{margin:0}.ag-theme-quartz-auto-dark .ag-filter-apply-panel,.ag-theme-quartz-dark .ag-filter-apply-panel,.ag-theme-quartz .ag-filter-apply-panel{border:none;padding-top:var(--ag-widget-vertical-spacing)}.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body,.ag-theme-quartz-dark .ag-chart-tabbed-menu-body,.ag-theme-quartz .ag-chart-tabbed-menu-body{position:relative}.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body:after,.ag-theme-quartz-dark .ag-chart-tabbed-menu-body:after,.ag-theme-quartz .ag-chart-tabbed-menu-body:after{content:"";position:absolute;display:block;top:0;left:0;right:0;height:16px;background:linear-gradient(var(--ag-control-panel-background-color),transparent)}.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-settings-group-container,.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-dark .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz .ag-charts-data-group-title-bar,.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz .ag-charts-settings-group-container,.ag-theme-quartz .ag-charts-settings-group-title-bar{border-top:none;padding:0 calc(var(--ag-grid-size)*1.5);font-weight:500}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz .ag-charts-format-top-level-group-item{padding-bottom:12px}.ag-theme-quartz-auto-dark .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-charts-settings-group-container,.ag-theme-quartz .ag-charts-settings-group-container{margin-top:calc(var(--ag-grid-size))}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-ltr .ag-charts-settings-group-container,.ag-theme-quartz .ag-ltr .ag-charts-settings-group-container{padding-right:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-rtl .ag-charts-settings-group-container,.ag-theme-quartz .ag-rtl .ag-charts-settings-group-container{padding-left:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-format-sub-level-group-container,.ag-theme-quartz-dark .ag-ltr .ag-charts-format-sub-level-group-container,.ag-theme-quartz .ag-ltr .ag-charts-format-sub-level-group-container{padding-right:0}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-format-sub-level-group-container,.ag-theme-quartz-dark .ag-rtl .ag-charts-format-sub-level-group-container,.ag-theme-quartz .ag-rtl .ag-charts-format-sub-level-group-container{padding-left:0}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz .ag-charts-data-group-title-bar,.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz .ag-charts-settings-group-title-bar{margin-top:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-container,.ag-theme-quartz-dark .ag-charts-format-top-level-group-container,.ag-theme-quartz .ag-charts-format-top-level-group-container{padding:0}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-format-top-level-group-container,.ag-theme-quartz-dark .ag-ltr .ag-charts-format-top-level-group-container,.ag-theme-quartz .ag-ltr .ag-charts-format-top-level-group-container{padding-left:0;padding-right:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-format-top-level-group-container,.ag-theme-quartz-dark .ag-rtl .ag-charts-format-top-level-group-container,.ag-theme-quartz .ag-rtl .ag-charts-format-top-level-group-container{padding-right:0;padding-left:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz .ag-charts-format-top-level-group-item{margin-top:calc(var(--ag-grid-size)*2);margin-bottom:0}.ag-theme-quartz-auto-dark .ag-chart-mini-thumbnail,.ag-theme-quartz-dark .ag-chart-mini-thumbnail,.ag-theme-quartz .ag-chart-mini-thumbnail{background-color:var(--ag-background-color);margin-top:0;margin-bottom:0}.ag-theme-quartz-auto-dark .ag-chart-settings-nav-bar,.ag-theme-quartz-dark .ag-chart-settings-nav-bar,.ag-theme-quartz .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-quartz-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-quartz .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-quartz-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-quartz .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-color-picker .ag-picker-field-wrapper,.ag-theme-quartz-dark .ag-color-picker .ag-picker-field-wrapper,.ag-theme-quartz .ag-color-picker .ag-picker-field-wrapper{max-width:55px;min-width:55px}.ag-theme-quartz-auto-dark .ag-color-picker .ag-picker-field-display,.ag-theme-quartz-dark .ag-color-picker .ag-picker-field-display,.ag-theme-quartz .ag-color-picker .ag-picker-field-display{height:18px;width:18px;flex:auto 0 0;margin:6px;border-radius:2px;border:1px solid var(--ag-input-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz-dark .ag-ltr .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz .ag-ltr .ag-color-picker .ag-picker-field-icon{margin-right:4px}.ag-theme-quartz-auto-dark .ag-rtl .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz-dark .ag-rtl .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz .ag-rtl .ag-color-picker .ag-picker-field-icon{margin-left:4px}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group,.ag-theme-quartz-dark .ag-charts-format-sub-level-group,.ag-theme-quartz .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:500}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container,.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container,.ag-theme-quartz .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-quartz-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-quartz .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-quartz-auto-dark.ag-dnd-ghost,.ag-theme-quartz-dark.ag-dnd-ghost,.ag-theme-quartz.ag-dnd-ghost{font-weight:500}.ag-theme-quartz-auto-dark .ag-standard-button,.ag-theme-quartz-dark .ag-standard-button,.ag-theme-quartz .ag-standard-button{font-family:inherit;appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid var(--ag-input-border-color);background-color:var(--ag-background-color);padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);cursor:pointer}.ag-theme-quartz-auto-dark .ag-standard-button:hover,.ag-theme-quartz-dark .ag-standard-button:hover,.ag-theme-quartz .ag-standard-button:hover{background-color:var(--ag-row-hover-color)}.ag-theme-quartz-auto-dark .ag-standard-button:active,.ag-theme-quartz-dark .ag-standard-button:active,.ag-theme-quartz .ag-standard-button:active{border-color:var(--ag-active-color)}.ag-theme-quartz-auto-dark .ag-standard-button:disabled,.ag-theme-quartz-dark .ag-standard-button:disabled,.ag-theme-quartz .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-quartz-auto-dark .ag-column-drop-cell,.ag-theme-quartz-dark .ag-column-drop-cell,.ag-theme-quartz .ag-column-drop-cell{border-radius:calc(var(--ag-grid-size)*3);height:calc(var(--ag-grid-size)*3);padding:0 var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-column-drop-cell-button,.ag-theme-quartz-dark .ag-column-drop-cell-button,.ag-theme-quartz .ag-column-drop-cell-button{min-width:0;margin:0}.ag-theme-quartz-auto-dark .ag-column-drop-cell-drag-handle,.ag-theme-quartz-dark .ag-column-drop-cell-drag-handle,.ag-theme-quartz .ag-column-drop-cell-drag-handle{margin-left:0}.ag-theme-quartz-auto-dark .ag-column-drop-vertical,.ag-theme-quartz-dark .ag-column-drop-vertical,.ag-theme-quartz .ag-column-drop-vertical{min-height:75px}.ag-theme-quartz-auto-dark .ag-column-drop-vertical-title-bar,.ag-theme-quartz-dark .ag-column-drop-vertical-title-bar,.ag-theme-quartz .ag-column-drop-vertical-title-bar{padding:var(--ag-widget-container-vertical-padding) calc(var(--ag-grid-size)*2) 0}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-drop-vertical-icon,.ag-theme-quartz-dark .ag-ltr .ag-column-drop-vertical-icon,.ag-theme-quartz .ag-ltr .ag-column-drop-vertical-icon{margin-left:0;margin-right:var(--ag-widget-horizontal-spacing)}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-drop-vertical-icon,.ag-theme-quartz-dark .ag-rtl .ag-column-drop-vertical-icon,.ag-theme-quartz .ag-rtl .ag-column-drop-vertical-icon{margin-right:0;margin-left:var(--ag-widget-horizontal-spacing)}.ag-theme-quartz-auto-dark .ag-column-drop-vertical-empty-message,.ag-theme-quartz-dark .ag-column-drop-vertical-empty-message,.ag-theme-quartz .ag-column-drop-vertical-empty-message{display:flex;align-items:center;justify-content:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*1.5) calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-column-drop-empty-message,.ag-theme-quartz-dark .ag-column-drop-empty-message,.ag-theme-quartz .ag-column-drop-empty-message{color:var(--ag-foreground-color)}.ag-theme-quartz-auto-dark .ag-status-bar,.ag-theme-quartz-dark .ag-status-bar,.ag-theme-quartz .ag-status-bar{font-weight:400}.ag-theme-quartz-auto-dark .ag-status-name-value,.ag-theme-quartz-dark .ag-status-name-value,.ag-theme-quartz .ag-status-name-value{padding:var(--ag-widget-container-vertical-padding) 0}.ag-theme-quartz-auto-dark .ag-paging-number,.ag-theme-quartz-auto-dark .ag-paging-row-summary-panel-number,.ag-theme-quartz-auto-dark .ag-status-name-value-value,.ag-theme-quartz-dark .ag-paging-number,.ag-theme-quartz-dark .ag-paging-row-summary-panel-number,.ag-theme-quartz-dark .ag-status-name-value-value,.ag-theme-quartz .ag-paging-number,.ag-theme-quartz .ag-paging-row-summary-panel-number,.ag-theme-quartz .ag-status-name-value-value{font-weight:500}.ag-theme-quartz-auto-dark .ag-column-drop-cell-button,.ag-theme-quartz-dark .ag-column-drop-cell-button,.ag-theme-quartz .ag-column-drop-cell-button{opacity:0.75}.ag-theme-quartz-auto-dark .ag-column-drop-cell-button:hover,.ag-theme-quartz-dark .ag-column-drop-cell-button:hover,.ag-theme-quartz .ag-column-drop-cell-button:hover{opacity:1}.ag-theme-quartz-auto-dark .ag-chart-menu-close,.ag-theme-quartz-auto-dark .ag-chart-menu-icon,.ag-theme-quartz-auto-dark .ag-chart-settings-next,.ag-theme-quartz-auto-dark .ag-chart-settings-prev,.ag-theme-quartz-auto-dark .ag-column-group-icons,.ag-theme-quartz-auto-dark .ag-column-select-header-icon,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand,.ag-theme-quartz-auto-dark .ag-floating-filter-button-button,.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon,.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon,.ag-theme-quartz-auto-dark .ag-group-title-bar-icon,.ag-theme-quartz-auto-dark .ag-header-cell-filter-button,.ag-theme-quartz-auto-dark .ag-header-cell-menu-button,.ag-theme-quartz-auto-dark .ag-header-expand-icon,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon,.ag-theme-quartz-auto-dark .ag-set-filter-group-icons,.ag-theme-quartz-dark .ag-chart-menu-close,.ag-theme-quartz-dark .ag-chart-menu-icon,.ag-theme-quartz-dark .ag-chart-settings-next,.ag-theme-quartz-dark .ag-chart-settings-prev,.ag-theme-quartz-dark .ag-column-group-icons,.ag-theme-quartz-dark .ag-column-select-header-icon,.ag-theme-quartz-dark .ag-filter-toolpanel-expand,.ag-theme-quartz-dark .ag-floating-filter-button-button,.ag-theme-quartz-dark .ag-group-contracted .ag-icon,.ag-theme-quartz-dark .ag-group-expanded .ag-icon,.ag-theme-quartz-dark .ag-group-title-bar-icon,.ag-theme-quartz-dark .ag-header-cell-filter-button,.ag-theme-quartz-dark .ag-header-cell-menu-button,.ag-theme-quartz-dark .ag-header-expand-icon,.ag-theme-quartz-dark .ag-panel-title-bar-button,.ag-theme-quartz-dark .ag-panel-title-bar-button-icon,.ag-theme-quartz-dark .ag-set-filter-group-icons,.ag-theme-quartz .ag-chart-menu-close,.ag-theme-quartz .ag-chart-menu-icon,.ag-theme-quartz .ag-chart-settings-next,.ag-theme-quartz .ag-chart-settings-prev,.ag-theme-quartz .ag-column-group-icons,.ag-theme-quartz .ag-column-select-header-icon,.ag-theme-quartz .ag-filter-toolpanel-expand,.ag-theme-quartz .ag-floating-filter-button-button,.ag-theme-quartz .ag-group-contracted .ag-icon,.ag-theme-quartz .ag-group-expanded .ag-icon,.ag-theme-quartz .ag-group-title-bar-icon,.ag-theme-quartz .ag-header-cell-filter-button,.ag-theme-quartz .ag-header-cell-menu-button,.ag-theme-quartz .ag-header-expand-icon,.ag-theme-quartz .ag-panel-title-bar-button,.ag-theme-quartz .ag-panel-title-bar-button-icon,.ag-theme-quartz .ag-set-filter-group-icons{--ag-quartz-icon-hover-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%)}.ag-theme-quartz-auto-dark .ag-chart-menu-close:hover,.ag-theme-quartz-auto-dark .ag-chart-menu-icon:hover,.ag-theme-quartz-auto-dark .ag-chart-settings-next:hover,.ag-theme-quartz-auto-dark .ag-chart-settings-prev:hover,.ag-theme-quartz-auto-dark .ag-column-group-icons:hover,.ag-theme-quartz-auto-dark .ag-column-select-header-icon:hover,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand:hover,.ag-theme-quartz-auto-dark .ag-floating-filter-button-button:hover,.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon:hover,.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon:hover,.ag-theme-quartz-auto-dark .ag-group-title-bar-icon:hover,.ag-theme-quartz-auto-dark .ag-header-cell-filter-button:hover,.ag-theme-quartz-auto-dark .ag-header-cell-menu-button:hover,.ag-theme-quartz-auto-dark .ag-header-expand-icon:hover,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon:hover,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button:hover,.ag-theme-quartz-auto-dark .ag-set-filter-group-icons:hover,.ag-theme-quartz-dark .ag-chart-menu-close:hover,.ag-theme-quartz-dark .ag-chart-menu-icon:hover,.ag-theme-quartz-dark .ag-chart-settings-next:hover,.ag-theme-quartz-dark .ag-chart-settings-prev:hover,.ag-theme-quartz-dark .ag-column-group-icons:hover,.ag-theme-quartz-dark .ag-column-select-header-icon:hover,.ag-theme-quartz-dark .ag-filter-toolpanel-expand:hover,.ag-theme-quartz-dark .ag-floating-filter-button-button:hover,.ag-theme-quartz-dark .ag-group-contracted .ag-icon:hover,.ag-theme-quartz-dark .ag-group-expanded .ag-icon:hover,.ag-theme-quartz-dark .ag-group-title-bar-icon:hover,.ag-theme-quartz-dark .ag-header-cell-filter-button:hover,.ag-theme-quartz-dark .ag-header-cell-menu-button:hover,.ag-theme-quartz-dark .ag-header-expand-icon:hover,.ag-theme-quartz-dark .ag-panel-title-bar-button-icon:hover,.ag-theme-quartz-dark .ag-panel-title-bar-button:hover,.ag-theme-quartz-dark .ag-set-filter-group-icons:hover,.ag-theme-quartz .ag-chart-menu-close:hover,.ag-theme-quartz .ag-chart-menu-icon:hover,.ag-theme-quartz .ag-chart-settings-next:hover,.ag-theme-quartz .ag-chart-settings-prev:hover,.ag-theme-quartz .ag-column-group-icons:hover,.ag-theme-quartz .ag-column-select-header-icon:hover,.ag-theme-quartz .ag-filter-toolpanel-expand:hover,.ag-theme-quartz .ag-floating-filter-button-button:hover,.ag-theme-quartz .ag-group-contracted .ag-icon:hover,.ag-theme-quartz .ag-group-expanded .ag-icon:hover,.ag-theme-quartz .ag-group-title-bar-icon:hover,.ag-theme-quartz .ag-header-cell-filter-button:hover,.ag-theme-quartz .ag-header-cell-menu-button:hover,.ag-theme-quartz .ag-header-expand-icon:hover,.ag-theme-quartz .ag-panel-title-bar-button-icon:hover,.ag-theme-quartz .ag-panel-title-bar-button:hover,.ag-theme-quartz .ag-set-filter-group-icons:hover{border-radius:1px;background-color:var(--ag-quartz-icon-hover-color);box-shadow:0 0 0 4px var(--ag-quartz-icon-hover-color)}.ag-theme-quartz-auto-dark .ag-filter-active,.ag-theme-quartz-dark .ag-filter-active,.ag-theme-quartz .ag-filter-active{--ag-quartz-icon-active-color:color-mix(in srgb,transparent,var(--ag-active-color) 14%);--ag-quartz-icon-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 28%);position:relative;border-radius:1px;background-color:var(--ag-quartz-icon-active-color);box-shadow:0 0 0 4px var(--ag-quartz-icon-active-color)}.ag-theme-quartz-auto-dark .ag-filter-active:after,.ag-theme-quartz-dark .ag-filter-active:after,.ag-theme-quartz .ag-filter-active:after{content:"";position:absolute;width:6px;height:6px;top:-1px;right:-1px;border-radius:50%;background-color:var(--ag-active-color)}.ag-theme-quartz-auto-dark .ag-filter-active .ag-icon-filter,.ag-theme-quartz-dark .ag-filter-active .ag-icon-filter,.ag-theme-quartz .ag-filter-active .ag-icon-filter{clip-path:path("M8,0C8,4.415 11.585,8 16,8L16,16L0,16L0,0L8,0Z")}.ag-theme-quartz-auto-dark .ag-chart-menu-close,.ag-theme-quartz-dark .ag-chart-menu-close,.ag-theme-quartz .ag-chart-menu-close{--ag-quartz-icon-hover-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%)}.ag-theme-quartz-auto-dark .ag-chart-menu,.ag-theme-quartz-dark .ag-chart-menu,.ag-theme-quartz .ag-chart-menu{--ag-icon-size:20px;background-color:color-mix(in srgb,transparent,var(--ag-background-color) 30%);padding:4px 2px}.ag-theme-quartz-auto-dark .ag-chart-menu-icon,.ag-theme-quartz-dark .ag-chart-menu-icon,.ag-theme-quartz .ag-chart-menu-icon{opacity:0.8}.ag-theme-quartz-auto-dark .ag-drag-handle,.ag-theme-quartz-dark .ag-drag-handle,.ag-theme-quartz .ag-drag-handle{color:var(--ag-icon-font-color)}.ag-theme-quartz-auto-dark .ag-chart-menu-close,.ag-theme-quartz-dark .ag-chart-menu-close,.ag-theme-quartz .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-quartz-auto-dark .ag-chart-menu-close .ag-icon,.ag-theme-quartz-dark .ag-chart-menu-close .ag-icon,.ag-theme-quartz .ag-chart-menu-close .ag-icon{border:1px solid var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-chart-menu-close .ag-icon,.ag-theme-quartz-dark .ag-ltr .ag-chart-menu-close .ag-icon,.ag-theme-quartz .ag-ltr .ag-chart-menu-close .ag-icon{border-right:none}.ag-theme-quartz-auto-dark .ag-rtl .ag-chart-menu-close .ag-icon,.ag-theme-quartz-dark .ag-rtl .ag-chart-menu-close .ag-icon,.ag-theme-quartz .ag-rtl .ag-chart-menu-close .ag-icon{border-left:none}.ag-theme-quartz-auto-dark .ag-chart-docked-container,.ag-theme-quartz-dark .ag-chart-docked-container,.ag-theme-quartz .ag-chart-docked-container{min-width:260px}.ag-theme-quartz-auto-dark .ag-compact-menu-option-icon,.ag-theme-quartz-auto-dark .ag-menu-option-icon,.ag-theme-quartz-dark .ag-compact-menu-option-icon,.ag-theme-quartz-dark .ag-menu-option-icon,.ag-theme-quartz .ag-compact-menu-option-icon,.ag-theme-quartz .ag-menu-option-icon{width:var(--ag-icon-size);cursor:pointer}.ag-theme-quartz-auto-dark .ag-ltr .ag-compact-menu-option-icon,.ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-icon,.ag-theme-quartz-dark .ag-ltr .ag-compact-menu-option-icon,.ag-theme-quartz-dark .ag-ltr .ag-menu-option-icon,.ag-theme-quartz .ag-ltr .ag-compact-menu-option-icon,.ag-theme-quartz .ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-rtl .ag-compact-menu-option-icon,.ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-icon,.ag-theme-quartz-dark .ag-rtl .ag-compact-menu-option-icon,.ag-theme-quartz-dark .ag-rtl .ag-menu-option-icon,.ag-theme-quartz .ag-rtl .ag-compact-menu-option-icon,.ag-theme-quartz .ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-quartz-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-quartz .ag-chart-settings-card-item.ag-not-selected:hover{opacity:0.35}.ag-theme-quartz-auto-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-quartz-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-quartz .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-quartz-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-quartz .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz .ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*1.5) var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-group-container{padding-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-filter,.ag-theme-quartz-dark .ag-filter-toolpanel-instance-filter,.ag-theme-quartz .ag-filter-toolpanel-instance-filter{border:none;background-color:var(--ag-control-panel-background-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-instance-filter{margin-left:calc(var(--ag-icon-size)*0.5)}.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-instance-filter{margin-right:calc(var(--ag-icon-size)*0.5)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-level-0,.ag-theme-quartz-dark .ag-filter-toolpanel-group-level-0,.ag-theme-quartz .ag-filter-toolpanel-group-level-0{border-top:none}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header,.ag-theme-quartz-dark .ag-filter-toolpanel-header,.ag-theme-quartz .ag-filter-toolpanel-header{height:auto;padding-top:var(--ag-grid-size);padding-bottom:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-item,.ag-theme-quartz-dark .ag-filter-toolpanel-group-item,.ag-theme-quartz .ag-filter-toolpanel-group-item{margin:0}.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-container,.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-container,.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-container,.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-quartz .ag-layout-print .ag-center-cols-container,.ag-theme-quartz .ag-layout-print .ag-center-cols-viewport{min-height:150px}.ag-theme-quartz-auto-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-quartz-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-quartz .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-quartz-auto-dark .ag-date-time-list-page-entry-is-current,.ag-theme-quartz-dark .ag-date-time-list-page-entry-is-current,.ag-theme-quartz .ag-date-time-list-page-entry-is-current{background-color:var(--ag-active-color)}.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-button,.ag-theme-quartz-dark .ag-advanced-filter-builder-button,.ag-theme-quartz .ag-advanced-filter-builder-button{padding:var(--ag-grid-size);font-weight:600}.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,.ag-theme-quartz-auto-dark .ag-column-select-column-group-readonly .ag-icon,.ag-theme-quartz-auto-dark .ag-disabled .ag-icon,.ag-theme-quartz-auto-dark [disabled] .ag-icon,.ag-theme-quartz-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,.ag-theme-quartz-dark .ag-column-select-column-group-readonly .ag-icon,.ag-theme-quartz-dark .ag-disabled .ag-icon,.ag-theme-quartz-dark [disabled] .ag-icon,.ag-theme-quartz .ag-advanced-filter-builder-item-button-disabled .ag-icon,.ag-theme-quartz .ag-column-select-column-group-readonly .ag-icon,.ag-theme-quartz .ag-disabled .ag-icon,.ag-theme-quartz [disabled] .ag-icon{opacity:0.6}.ag-theme-quartz-auto-dark .ag-icon-grip,.ag-theme-quartz-dark .ag-icon-grip,.ag-theme-quartz .ag-icon-grip{opacity:0.7}.ag-theme-quartz-auto-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-quartz-auto-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-quartz-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-quartz-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-quartz .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-quartz .ag-column-select-column-readonly .ag-icon-grip{opacity:0.35}.ag-theme-quartz-auto-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz .ag-mini-filter .ag-input-wrapper:before{position:absolute;display:block;width:12px;height:12px;background-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");background-position:50% 50%;background-size:contain;opacity:40%;content:"";filter:var(--ag-icon-filter)}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-mini-filter .ag-input-wrapper:before{margin-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-mini-filter .ag-input-wrapper:before{margin-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-text-field-input{padding-left:26px}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-text-field-input{padding-right:26px}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-add-group-indent,.ag-theme-quartz-dark .ag-ltr .ag-column-select-add-group-indent,.ag-theme-quartz .ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-add-group-indent,.ag-theme-quartz-dark .ag-rtl .ag-column-select-add-group-indent,.ag-theme-quartz .ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-menu-option-disabled,.ag-theme-quartz-auto-dark .ag-text-field-input[disabled],.ag-theme-quartz-dark .ag-menu-option-disabled,.ag-theme-quartz-dark .ag-text-field-input[disabled],.ag-theme-quartz .ag-menu-option-disabled,.ag-theme-quartz .ag-text-field-input[disabled]{cursor:not-allowed}.ag-theme-quartz-auto-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled,.ag-theme-quartz-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled,.ag-theme-quartz .ag-checkbox-input-wrapper.ag-checked.ag-disabled{--ag-checkbox-checked-color:var(--ag-checkbox-unchecked-color)}.ag-theme-quartz-auto-dark .ag-checkbox-input,.ag-theme-quartz-auto-dark .ag-radio-button-input,.ag-theme-quartz-auto-dark .ag-toggle-button-input,.ag-theme-quartz-auto-dark input[class^=ag-][type=range],.ag-theme-quartz-dark .ag-checkbox-input,.ag-theme-quartz-dark .ag-radio-button-input,.ag-theme-quartz-dark .ag-toggle-button-input,.ag-theme-quartz-dark input[class^=ag-][type=range],.ag-theme-quartz .ag-checkbox-input,.ag-theme-quartz .ag-radio-button-input,.ag-theme-quartz .ag-toggle-button-input,.ag-theme-quartz input[class^=ag-][type=range]{cursor:pointer}.ag-theme-quartz-auto-dark .ag-details-row,.ag-theme-quartz-dark .ag-details-row,.ag-theme-quartz .ag-details-row{padding:calc(var(--ag-grid-size)*3.75)}.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper:before{opacity:66%;filter:invert(100%)}.ag-theme-quartz-dark .ag-chart-menu{background-color:color-mix(in srgb,rgba(24,39,50,0.3),var(--ag-background-color) 30%)}.ag-theme-quartz-dark .ag-text-field-input::placeholder{color:var(--ag-data-color);opacity:0.8}',""])},function(e,t,a){var r=a(27);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,'@font-face{font-family:agGridQuartz;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABkcAAsAAAAANMQAABjLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKwxy2HgE2AiQDgjwLgSAABCAFhEYHhTcb4ix1BGwcwOON5nMUJWsTiqjghGT//4cEeojURG1/kEjDhJmMILNiXXYFMRWHm25iSVMyh8ypixOcJyj76RdfldgRQ5stvO+qv+OK2/pJpPULmhyShCYP1H6/P7sX8cRQgpkkmoinB5mQmU6meYhM1/zT98pfc70v2Q0cES2Fj2gqCRyRqlFfuCpbXSOrGgDz/ZbJbKqwe4pETkWQM0u26vzMtD7T+gIL0ddbQSIirSeO/N/w/Db/D15t4ILnWrgAiato48ImxcKMReFCl8aiDHaZq3CtSwervKxa2HOp7+/eRcnWT/2hvwhkW7vxiOBXcjBUUzb491XbX6PWOcOSUEbezs3wy67YcgFH8pPllIuA/3NatuJi4u4cQqxadx0zDCzDB61G6AKa4621OKHwnlk2a1OuHGKuXMLiIC5zMVa+ykWZy1g0Llp3rlNdLf3T3zOUrmkoj/6ZJQ2CIBBsAvFEPAIcLns/s/bVyYcZIYTNIaeNusdnVHZRgon/7zd/6CLCKMBCvYSAbl/vvBMRgBxTNrm3PyMfhLfmF1SDPKx9dgCLzmFrXT8R6FcWfGBNoJ/ltMfC6h776W8okH4GOyZRE71OPkumk5+4ERBd1ZgkgHbpGI4iBIPJIlOx5pYmmwNxh7ujEpel7Iw/OcvAGMM5WlzfWUsUcYhRv7d1IogHb890615oW+Tg2bN0KAzUmoD5lU2ZEnwuuD2Hh3Aujz9Ot3NGWA64gxjFjovzJKFgfLp/6ui5Cc7wB9N4CAocc1wFctkyFggIujwmJ27LlG/Xrk1nnGUEM7g22VzbV6s3CXuEd+J8Oz4A43aEKpyiwHcV1CQ88tZAwDEc9vkkyQu9IbvgEOvZlv79d/VwN8KQ3pzvk7MujLjigvKOPnu4ffHqww//JVIWaNLWeAIffMu0y8xz6+KBwqnZPfvs3IEqGjDCwYpPkJmbGrN3zmCQYwL8ggJDuC9YOfDTQuNOjiwOTC05KTNV9F8jGCFUmzdzOIKoeckvwvVbuYpA1RaH+eV1zRWjkmr0LFQBnpG3CLnscYf4FJIcg5waRFe5w52RknBFsFbj1+5KdMSOkTvvjqt4psHaEFYCN0+1woVl5eMed5Sj4wV+sc/PmtFZvDdWm5OdXxD6maJxFYa7frZwBKdOefOca0aGa3XyBZzLiqMBxcMvwJNSqZte2SEdDOzUmiSMfFOAKEDQ5Tk41lnmttP4OzxIB/Ei9uJ68uOHL1VBBoiUBNqDmFzRTAF/lP1iyX/MpR37Hhvmi4uAdCABSr8HC7HwsBsKAM0qpRD/rvOD/UMenQwbeeerX7/Y97cyb3zw/Ze0orZ2EOyCRW0ElIJvuZ8AuH0Ob2bY8IBVTSQbC9fJJ7adizuJDMEUavOtzscvICgkLCIqJi6R2+e0jKycn2NBUUlZRUBVTV1DU1xLW0dXT9/A0MjYxNTMXNTC0gqEDGjv3O+tvtfVxtzoOvG/vyslwTwD6xCna+Lukgm85gGSN48poGywfmB+9cDCeoHFdQJLGwCW1wSsbAxYXQOwtm5gfS3A5nqArXUB2xsEdtYG7K4V2NswcLBG4HAdwNGageMNAScbBU7XDpytDzjfCHBxGwe/pEzIAhKwoAiqoAm64BP8QkAICiEhLESEqBAT4kJCSAopIS1khKyQE/JCQSgKJaEsVISqk7aabKoLDaEptIS2k6qOHNIVekJfGAhDYSSMhYkwFWbCXFgIS2HllA2RMFRgLhzvYmK0gxuu5NyTv6l1wp2p0omILCh4pSJR4f/E5H8xPoQ3QL4H/Zsa5BHp8AKkwQg9QLCJba8uns1XQ9HlWblQzhaCajGU1prEeCOaLMaQf+aUTT6hj8nb+O4WnmxmhqFAnxEuZ0Kfy8RBTwTMV2shJpPFZl2YfzZ0hvwKsZTild7gQq8d4iTH1Xo1VSoGEc84gvEQls3ni6lcyTREfuDMVo08kyAOBdrYBSB+U4PsjQRAXviY6DjOWeXC7Vu6peqYFVOVDhEOx+KHjSrXmwpykpbNe+UWfygRO6TnMnbaXHMiKIkRBwoSB1Jp08nmt1+KeFlvtSF3MF5wkAAXJzz5qjZBiaUd4oECKZbkXpJ1bK+yYg5qUkBWiUOlsVt6HnkPPcuimSno9QC52KbAvM4kUFv3/OMvSfmfB1wQSCvR1VGklDgVh6Gsh/Sz/SwFsin7gOhPsnc5Xl+nH+L7eZfXAUDeasbgtPzZHOT6HEGJDIMjmuPXHE7TYGol+RfwPa+7vFVieIJBmATRwW//GSzVvmRr/BOpH/m/wmX6V8LT6LTxk9ryKNsP1kpOF+lZnwRQL+NCA6qndXjV/LrDpQfYVCJKmH/bajMtLDm3hmW2Cjg0RiZG0CZrXVPqRFReInCmKeAUqtfDzCZjQxSGg6P0LDw+DN9RN0gpm8IAhkoA5NJSPJYgHnhQQMdSDqMaZEehqOPa3SpBkXWkIk9mZIATq4bHd8VbRwcXxCqHxhji0d6PXaAkQ1Qgnwvu49FBD0qlCaaQkLzhcVo1Vpx9UtZGu/RJKq+SkCzVyBP4MlWXQ/4BnqRUOMXqEcyAezT45MWElOZMhrn7CLIVKzKrcvXFVXFUTxt6GLJSKzKLYCrF67zlsjjDViyERabDSuoSwyCaBGvZzKrMOr1YB8jQNNPUom2ALFwk9Kh61CDkSZbTTAijpqfPonWbSomechGJjqlIiiEAw2AIp0EKBGnvPdZ1Xi72RgYxVdwL+8gA6hdRFAURukFKGm1OJfukLvDj4nA6jG4W7FXkzjB7E48+1gRaASkWIagSa8TegRr/MxGSRrnl5jKs2AWIEx6vozxXJ69IUkp8mPMbDpVaI0r17gVTGZzj18mMtqFTroBUDvaQNDNtZ3L8Ammkj6iASMGpJzd2v1noH0m18jddw+bhY9PnQhqvyLhV3uq8qFXYFX3U7vA6WsR6/SYkR4eNNtmodttZ3xfTRfv3lM6GjuYSZAAFSHQ5+qg7fRpgefza8LHolkG4TzVoY/4zHd2uPjxweUKJKm10cexg30Kzq6Oh+Pdrw3KYa7DoH82RySXpuraex2iA9MFe3K9g34dBQKIIgTfrxOGBxeU9bXWFNVcGMXVMczTHppdZDR1dRZUH+y6OSQFRovvIY2bnHWhLOHMlz/yEEK9gGzqMnG5bQb8OuyzHumKzprcbNf31qjELzdITCw4LcOYHoUWPMchtWIZ09dVJv2yVXsOlaa7b4Y06zEvY9BOrpgvJI6lLj/62TVTZM16TmKmiRcU9KNNOU8Ugual2eIiX80uIv0/+H2hBzf3dNI3dyVaGBHsJ9BV/zzLc2dsIm/q6YnFJjMZcpUhNVf9UqXaPjKtGdWrsA69ZhmKF3dok812JJrDBZyWSfB/hvt3hFv2GJZmHHYMkBxLSHEPN0tQ6xYrjrst+UKFSgEkLCnF58crplMBlNG+2Rc9S/Ka6mGCAQ6U/kU8y5W1eQY94aHSyJY1o6fQnA5zaQysHa8SPHiutDnvSVqJEqSOFzL+D3rJ26UGSHka0ASoeXUDbwgXY7RloAO1S7KT+PGR5c20b3fVeCTMOk/ro9Zzsba1zaZEGzA11rsl6tddhmu1Mzh2pC0rcwAsJXzA4uoOCdbXahsZymNVoNrK73p0AaB8Po36A82eDe5qvU9bfs3i5e3hteiBPufN9wJAnHFRruUsRk4iTz4lGJkYT/ePMCsxND0IMcbUzEk5mJfIw1e+WspiGRYEVymfJ0KjN2C5HxUBJou0d1yOQzEoqVehjlVrxrjDGs6pQdcn6Q+VXrzYCanpzeD0Is6aw0cfhNguVlDcIA6c7HnObJY32oTEVG15LiktCMSGq45arGMRRUqTWPaxyL5/lpAJWp74iU8790qRJxYZN3TaNliJ2UfF2sjQLPMmHVXtJNJluPdbXQ4Q3HRss/X4eHRUjn3XMNAMFpNZxPv0AQ4TS7yGkoMUOocE4OiFNCzTwb18TbHxLt/Ra45kNtOanhLv7m1GLqrvY/vkakyyTGZptg6JveNFsWlLURMSKvXkFQN79HtAMbbX1OiYFmA+QPAGhKTcMzleuiCfhFJlB03jy7iPPRY57y0JyyqpYA5DEVkKLxAJzp99mtoxsqTM3PReSEhJbgZFwgFV1wW/Rp7hP8Qt5QJB3gZbQS5bYnHZKKCsDjCpjspYsiUgwGgzcYn3rFQBeoqb5bRKRMuZXdAJgbS0q5jbXbm9BZR+V2K4YRrS3gD85jMZpX1+b01E59fDBTYTETdjNBxbmWiFAZN/Vqrp3d/f0vJKYJFcpdXe3VhZnG4ieI6s3FLGjSqKnGyxRzYEmbCdmwm+MNeiDtry0NtWdeg4tuBkOpTQaAqzNn7cqYzRlJA/kb3AID82onJ6BIlFI/X1Sr0czIqIiUN10fSa6shxc5gJftxN8xBUbs9dhbt2CRZr5W1dMahJQP2VWM2OsmMnwPpbNuKGY17kdCFVR3M07N7T2bmxznVvCn8qRlvncsdDPx1dctfL9hr4Nz1ZWNReFFNzJybrqlk9jiWJ1Tk5HuG94a14u+RR7SkJbfak7cnJWP/UHqPAChZtw65w5FEVwlBwFhJGMgegBxrSpNE5nZFy/XcnJTbQ12+RkpQvc3aO9x126dcs0zMRZyt8SsIU/bN10H5C+8bdGelZ7VqoBDWlcn+J1+e0eF9+37Hp/0QMtGKEBrqop3H6eVrQ/WBg3l+4XaYVnpCl5SVWit2q0fveecXu21aMFqGhwmzH3cbN+0fbd89j1gJuM0hJ6cBD5qOwdTraeo4+WALfbOA5tuzSCZtwCEen+iLaI/VKk7WUHRGJlJIz+xMGOWTL2RjdCwBFu8hNuFPI2Xpe289L57Q8Ao57+h8LNOO3t7eNtwy049biFN42TuA3NdFN0KjD6aa9+as3slerTDFyPR+LT8NGXOVJDnO3y/1Bbb2Q8dw2Uc/7GmN32Ek04v+/XV6/TlZslAWcN0NNn+L8PQkf3tTc02qAcfZd7wqy/fIeV5NWyudM1fsvYe06x/fwG4yJWyh/NW4557L2xRt3wjcktgKwzDefPeg3dR0Iwu59kcUsl4bWPFT06UPeec0PIcitT/fnB++A9zxOx66VkkMVXCnxWOXnovNydfKOf+czuYHfM9ol8IHN13+cpeUd3tkxgVdgUtILq1I1OKJ4i0vM0Oe4z9jY0BodQYj0a+vdvNSNPmKaMymFl+Vp8spg5Uco0YZ6DquG4PzVlIDM0JMt8QWBTWBWUgl5XR1Ds7qbv6cBSWSg04ST2/ukzaoJJYhMG0PiVEfpe+dbUGJ89Be5CPr1fXJ82Y01Vmk9WF5f41R5XklRy+5jqhWtXBJObkTkrv35XVQrc64q5JvtqphYuHNXx3K1LyfIEQUIlwYrRsVVfyTXUGiVmjqAlYKRKC+ZMjMoIlKvj5IGZ1fvb5zUMl99/nNed/PhTGas/9ZcusMRnXkBv8tKAp75/2pxfXeqgV7dcnXDZ2+ZQ4lfqrVR6l/qV8KkJDVFDU8cXDilDpy8KSG2Y195evfyctEuuzgicGDUnPByolounDNVkFQ1eLR0+CpTo8Lep/ay4ORuzgWiNFiqtOoYejSgczLQ3BqVP3Sb3VnuvsMRebpuaHtSoRIojFT3ud5UhqrB0v7xhbZIktTRj77r3KCKLkcThfFp+6qbrDM8MDc0cZ4nmca8n3SUvYAZlpb2A7r+QhD/5+lL+CcnDn2zkighz0XwBe9HDKGCOOAyKfphMGNC3/icGe3psTjuyKZBLxo8MArsfAIHr+bRCRjYP8l9LzdUC9Ty2JnN4VaUuCay7LaNwOmA8rz86ya+9iigzbEfz0fEBRGWRQO9G5OZRuC0vty4iF5olZigasAI5gQ4WOOItnZy510M89wH6Ecas7FYnqij5UQvyCKJORRqC5Sp/m+RoNhUc3JcqSO0DyfZ+i229diskcRJaQVTLc0xWxaiSB/xTTEv3lLBcYZJSkF/haqIiTxQWM+syX95AoSxGVjjAS4ErBEsJzRMlKgQF5RfKUhCGulwbW54VMguuZAKhsHkUgsO3pQPQgkfqG1rTa8PpmhqrkynbikvjkocWUGoE9BJu5QORc50hDbpteqCgw0Wy8Kut8tXUUBKT09214R8NI7DUbFV9qwN1BJAiJt46xr4+LW3t+4tgdbj9ECThEDJhaNThIIlxSsRffXQtYui+PlD1X2jhn5CYzAn2Gd5VjxN2Ab7wIQbEnd1N43RvL9FqkhPOs7/RbrfiEdz+CA+u/A6GVfV2u9Fv4Q8BQd4a9q0//ihTO7EjT1ISsxO9T2c0NHuqGYrEKcrvxN6fOAHQyaOAj69CETNWXlKRFaYLDdWFZZGWyOlC58zkKpRbVBc7NWbSpJipcT+XtKSWpgN+xAVbf4DS2FlC3NQ64I08DGDyeaIzwQNXffAZ0YBfvyqJp2APoWp0gHNntOEcXrimTvJVXFcQrkY/kJd0BvJ4Sep+P3VYASFy2fUq8dWp5xgJxYWFNkdTNnXoMIXTdWYJQy1XX0kUFoihBbBvN3r283Si01KGxn8Lf7tHW1OqGK0Wp2ImTAtJbHxz1WiauKnNY/vE7/5aNL3WH9WMUKNSaIH3xNUgTdTU7s77ynNv35IqAtXie9CMBXHUIzScNoQSumrk78JIwIQZAyTV9i1y8QrQByLR0OlqhWelDQThYB0UPMTMsLNT+Js6dz+gU3xW5z1Zy9/b45x1M/+eFZogGC7rneVyfZq8KH0SbBpTPAadNvFwdsKktCY4v3h+Gas1O0YeGN/gkRn9FwdsSpsUn31y6mRmf6SygLWlZJoRy6vSikOErJKK7ZumFXm2TmjN5hAl4xph1jJthnbZ8PlHjswfbohsXJHLqCTvGfct9PBRstygSZp6/65BRqVxcu0PYjUGzn5r1RcLalcRFgD9mrq9vVY+8tntYJHKBITdffSoRt0rsQ0OEWIdGiKUYk5tLfHTphuSMOA7OKEwBZK4BYKPO9m67AEC5zsSPOLDUaIdl0cMDhLXdwJv6Ej4s9wMHHzMIBowWobaJLZHDzVgiYTq19FB4zYg9Yx1w+wv2mIOWzClJ6LqHdCzMYtiLIbsHPR2RdNgs/4dVhf78JzZxtpmQXFla81fj53ICbbfRssIa4uRYgEHbT5HO1/G6XemD9k0LBMHkcIbKJKNlQGBMCB8i2BLOJP5C5+3OowZmlV2vaGGAUpAGL56Rml0kUxWFF36PLqMXJFsFp6XrTJl80olNdA1TxKXiAqbmwtFJeK7lpD6/UWF4pK7MexDqFisqmrTY1VXyyW6G6SvagYVyIwih1SiVpspW1j6opp1k7ZDd9b/zlWkxwBTx48BW/vxaZmnbORzUXcRLP//cRW3DEdmPbQ7S0YbIpCE+SwxFJmr2TU6UmnWmZCWy7INGS4+RExxM5EMAP6kGvk+Eecgt54Vg5THbcoDyHxQlEmxsG4nErop/0oThzu8EVsQpcl2RS0yU7Q4/Hr2M+S8YywqQvXfn/9AdrJM0kQD8shUIrPlcU878kWtwhzjrkMcdr0qNyJsR40rlLmsNUEiah1knO9wAJlXinLCES2aZn+wzEXKX7azfA/2HRyPxv/d1SP+E5S6fbi2wkUwzrc7A8T+KMtSYlJuI/zDQvmzDaf8r7j8808APH4MuLpeAiqm8wgq/mXiPOAe3A4Qx/YiErzoI3NaXuZ8JNSFi29ogAHrb+ggDnbdMMF6oNz1AvNBFUAAcHQDABSCFZMbYmAWSNOCuIWH6XNo4bUbngc8eElfQAu/30ADmeH4hzFgFaO0APxeov2qIHr4Rl8TSHCY833+o5TI1LyFRUQd2R4JBRRt0y9NGf27qmuc8NB8MsVBpcRNFv5Bo11QzR8v4dPclJ3hYQV+L9F+VXD8evjGHa8pNCaMMcXZ/3FOC/qpMTVv3SumsAfCviUoWrtfbnYZd/a7nmzXXOqFh+azUIxJk0t5Czne+0Hj8i5QePnj5TSTw+WdKYToMSjVqMe5P27CQVE13WbYTcvhdLk9sXgimUpnsrl8oVgqV6q1eqPZane6vf5gOBpPprP5YrkilHFhmJbtuAqlSq1J1qakpqVn6DKzsretcsF7QQ8amY5BhKeyhWKODZDBdGQC0m5PEM1vz3P7bEH7HNhDJIuKMkQCxfuoTZWwel4aTixtjp6lcnIW60Dl3DCpgFG0O8N5OTLCpWxNGbem6s5iMUc4l62dHpah8Eh7hgu2JUEJ21fp2MVUonZEkhTdeYn5yAvXvEvUtPzo9DhFqjjtSWKwkfzpAHMc4gF3A1I9ZZT4GhATXhBrCynxJHaUiXO4VY6Obm9kvRXSH4bbvqoytezcTSCJjiT6oLsCI56XoYBaa3miN66FcYHkLMbpBrFItStCLlQQW5O4CO7d4TDCWbA9Z6TTSi2hGyovp1qOUqWjnzYD1frCqAZ4AqmIkUlhJMGv3qy1BlW2GDmHAAA=);font-weight:400;font-style:normal}.ag-theme-quartz,.ag-theme-quartz-auto-dark,.ag-theme-quartz-dark{--ag-active-color:#2196f3;--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 15%);--ag-secondary-border-color:var(--ag-border-color);--ag-header-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 2%);--ag-tooltip-background-color:var(--ag-header-background-color);--ag-control-panel-background-color:var(--ag-header-background-color);--ag-subheader-background-color:transparent;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 30%);--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-icon-font-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 90%);--ag-panel-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 3%);--ag-panel-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 20%);--ag-menu-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 3%);--ag-menu-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 20%);--ag-selected-row-background-color:color-mix(in srgb,transparent,var(--ag-active-color) 8%);--ag-row-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 12%);--ag-column-hover-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 5%);--ag-input-focus-border-color:var(--ag-active-color);--ag-input-focus-box-shadow:0 0 0 3px color-mix(in srgb,transparent,var(--ag-input-focus-border-color) 47%);--ag-range-selection-background-color:color-mix(in srgb,transparent,var(--ag-active-color) 20%);--ag-range-selection-background-color-2:color-mix(in srgb,transparent,var(--ag-active-color) 36%);--ag-range-selection-background-color-3:color-mix(in srgb,transparent,var(--ag-active-color) 49%);--ag-range-selection-background-color-4:color-mix(in srgb,transparent,var(--ag-active-color) 59%);--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-active-color);--ag-range-selection-border-color:var(--ag-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-disabled-foreground-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 50%);--ag-chip-background-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 7%);--ag-chip-border-color:color-mix(in srgb,var(--ag-header-background-color),var(--ag-foreground-color) 13%);--ag-input-disabled-border-color:var(--ag-border-color);--ag-input-disabled-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 6%);--ag-modal-overlay-background-color:color-mix(in srgb,transparent,var(--ag-background-color) 66%);--ag-borders:solid 1px;--ag-border-radius:4px;--ag-wrapper-border-radius:8px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:8px;--ag-icon-size:16px;--ag-header-height:calc(var(--ag-font-size) + var(--ag-grid-size)*4.25);--ag-row-height:calc(var(--ag-font-size) + var(--ag-grid-size)*3.5);--ag-list-item-height:calc(var(--ag-icon-size) + var(--ag-widget-vertical-spacing));--ag-column-select-indent-size:var(--ag-icon-size);--ag-set-filter-indent-size:var(--ag-icon-size);--ag-advanced-filter-builder-indent-size:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*1.5);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-toggle-button-border-width:2px;--ag-font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-icon-font-family:agGridQuartz;--ag-tab-min-width:0;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:0 0 16px 0 rgba(0,0,0,0.15);--ag-side-bar-panel-width:250px}.ag-theme-quartz-dark{--ag-background-color:color-mix(in srgb,#fff,#182230 97%);--ag-foreground-color:#fff;--ag-border-color:hsla(0,0%,100%,0.16);--ag-secondary-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-header-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-tooltip-background-color:color-mix(in srgb,#fff,#182230 96%);--ag-control-panel-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-input-disabled-background-color:rgba(104,104,110,0.07058823529411765);--ag-card-shadow:0 1px 20px 1px #000;--ag-input-border-color:var(--ag-border-color);--ag-input-disabled-border-color:hsla(0,0%,100%,0.07);--ag-checkbox-unchecked-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 40%);--ag-row-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 20%);--ag-selected-row-background-color:var(--ag-row-hover-color);--ag-panel-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-panel-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-menu-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-menu-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-popup-shadow:0 0px 20px rgba(0,0,0,0.3);color-scheme:dark}@media (prefers-color-scheme:dark){.ag-theme-quartz-auto-dark{--ag-background-color:color-mix(in srgb,#fff,#182230 97%);--ag-foreground-color:#fff;--ag-border-color:hsla(0,0%,100%,0.16);--ag-secondary-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-header-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-tooltip-background-color:color-mix(in srgb,#fff,#182230 96%);--ag-control-panel-background-color:color-mix(in srgb,#fff,#182230 93%);--ag-input-disabled-background-color:rgba(104,104,110,0.07058823529411765);--ag-card-shadow:0 1px 20px 1px #000;--ag-input-border-color:var(--ag-border-color);--ag-input-disabled-border-color:hsla(0,0%,100%,0.07);--ag-checkbox-unchecked-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 40%);--ag-row-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 20%);--ag-selected-row-background-color:var(--ag-row-hover-color);--ag-panel-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-panel-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-menu-background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%);--ag-menu-border-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%);--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;--ag-popup-shadow:0 0px 20px rgba(0,0,0,0.3);color-scheme:dark}}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search,.ag-theme-quartz-auto-dark .ag-header-row,.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz-auto-dark .ag-panel-title-bar-title,.ag-theme-quartz-auto-dark .ag-status-bar,.ag-theme-quartz-dark .ag-filter-toolpanel-header,.ag-theme-quartz-dark .ag-filter-toolpanel-search,.ag-theme-quartz-dark .ag-header-row,.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz-dark .ag-panel-title-bar-title,.ag-theme-quartz-dark .ag-status-bar,.ag-theme-quartz .ag-filter-toolpanel-header,.ag-theme-quartz .ag-filter-toolpanel-search,.ag-theme-quartz .ag-header-row,.ag-theme-quartz .ag-multi-filter-group-title-bar,.ag-theme-quartz .ag-panel-title-bar-title,.ag-theme-quartz .ag-status-bar{font-weight:500;color:var(--ag-header-foreground-color)}.ag-theme-quartz-auto-dark input[class^=ag-]:not([type]),.ag-theme-quartz-auto-dark input[class^=ag-][type=date],.ag-theme-quartz-auto-dark input[class^=ag-][type=datetime-local],.ag-theme-quartz-auto-dark input[class^=ag-][type=number],.ag-theme-quartz-auto-dark input[class^=ag-][type=tel],.ag-theme-quartz-auto-dark input[class^=ag-][type=text],.ag-theme-quartz-auto-dark textarea[class^=ag-],.ag-theme-quartz-dark input[class^=ag-]:not([type]),.ag-theme-quartz-dark input[class^=ag-][type=date],.ag-theme-quartz-dark input[class^=ag-][type=datetime-local],.ag-theme-quartz-dark input[class^=ag-][type=number],.ag-theme-quartz-dark input[class^=ag-][type=tel],.ag-theme-quartz-dark input[class^=ag-][type=text],.ag-theme-quartz-dark textarea[class^=ag-],.ag-theme-quartz input[class^=ag-]:not([type]),.ag-theme-quartz input[class^=ag-][type=date],.ag-theme-quartz input[class^=ag-][type=datetime-local],.ag-theme-quartz input[class^=ag-][type=number],.ag-theme-quartz input[class^=ag-][type=tel],.ag-theme-quartz input[class^=ag-][type=text],.ag-theme-quartz textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-quartz-auto-dark .ag-ltr textarea[class^=ag-],.ag-theme-quartz-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-quartz-dark .ag-ltr textarea[class^=ag-],.ag-theme-quartz .ag-ltr input[class^=ag-]:not([type]),.ag-theme-quartz .ag-ltr input[class^=ag-][type=date],.ag-theme-quartz .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-quartz .ag-ltr input[class^=ag-][type=number],.ag-theme-quartz .ag-ltr input[class^=ag-][type=tel],.ag-theme-quartz .ag-ltr input[class^=ag-][type=text],.ag-theme-quartz .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-quartz-auto-dark .ag-rtl textarea[class^=ag-],.ag-theme-quartz-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-quartz-dark .ag-rtl textarea[class^=ag-],.ag-theme-quartz .ag-rtl input[class^=ag-]:not([type]),.ag-theme-quartz .ag-rtl input[class^=ag-][type=date],.ag-theme-quartz .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-quartz .ag-rtl input[class^=ag-][type=number],.ag-theme-quartz .ag-rtl input[class^=ag-][type=tel],.ag-theme-quartz .ag-rtl input[class^=ag-][type=text],.ag-theme-quartz .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-picker-field-wrapper,.ag-theme-quartz-dark .ag-picker-field-wrapper,.ag-theme-quartz .ag-picker-field-wrapper{min-height:calc(var(--ag-grid-size)*4)}.ag-theme-quartz-auto-dark .ag-tab,.ag-theme-quartz-dark .ag-tab,.ag-theme-quartz .ag-tab{padding:var(--ag-grid-size);border-left:var(--ag-borders) transparent;border-right:var(--ag-borders) transparent;flex:1 1 auto}.ag-theme-quartz-auto-dark .ag-tab-selected,.ag-theme-quartz-dark .ag-tab-selected,.ag-theme-quartz .ag-tab-selected{background-color:var(--ag-background-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:first-of-type),.ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:first-of-type),.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:first-of-type){border-left-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:last-of-type),.ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:first-of-type),.ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:last-of-type),.ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:first-of-type),.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:last-of-type),.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:first-of-type){border-right-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:last-of-type),.ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:last-of-type),.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:last-of-type){border-left-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected),.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected),.ag-theme-quartz .ag-tab:not(.ag-tab-selected){opacity:0.7}.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected):hover,.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected):hover,.ag-theme-quartz .ag-tab:not(.ag-tab-selected):hover{opacity:1}.ag-theme-quartz-auto-dark .ag-menu,.ag-theme-quartz-dark .ag-menu,.ag-theme-quartz .ag-menu{color:color-mix(in srgb,transparent,var(--ag-foreground-color) 95%)}.ag-theme-quartz-auto-dark .ag-menu.ag-tabs,.ag-theme-quartz-dark .ag-menu.ag-tabs,.ag-theme-quartz .ag-menu.ag-tabs{min-width:290px}.ag-theme-quartz-auto-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-quartz-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-quartz .ag-panel-content-wrapper .ag-column-select{background-color:var(--ag-control-panel-background-color);color:color-mix(in srgb,transparent,var(--ag-foreground-color) 95%)}.ag-theme-quartz-auto-dark .ag-menu-option .ag-icon,.ag-theme-quartz-dark .ag-menu-option .ag-icon,.ag-theme-quartz .ag-menu-option .ag-icon{opacity:65%}.ag-theme-quartz-auto-dark .ag-menu-header,.ag-theme-quartz-dark .ag-menu-header,.ag-theme-quartz .ag-menu-header{background-color:var(--ag-control-panel-background-color)}.ag-theme-quartz-auto-dark .ag-menu-option,.ag-theme-quartz-dark .ag-menu-option,.ag-theme-quartz .ag-menu-option{font-weight:500;cursor:pointer}.ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz .ag-ltr .ag-menu-option-popup-pointer .ag-icon{text-align:right}.ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon,.ag-theme-quartz .ag-rtl .ag-menu-option-popup-pointer .ag-icon{text-align:left}.ag-theme-quartz-auto-dark .ag-tabs-header,.ag-theme-quartz-dark .ag-tabs-header,.ag-theme-quartz .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color);display:flex;background-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 5%)}.ag-theme-quartz-auto-dark .ag-side-bar,.ag-theme-quartz-dark .ag-side-bar,.ag-theme-quartz .ag-side-bar{background-color:var(--ag-control-panel-background-color);min-width:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-side-buttons,.ag-theme-quartz-dark .ag-side-buttons,.ag-theme-quartz .ag-side-buttons{padding:0;align-self:stretch;width:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);background:var(--ag-control-panel-background-color)}.ag-theme-quartz-auto-dark .ag-side-button,.ag-theme-quartz-dark .ag-side-button,.ag-theme-quartz .ag-side-button{border-top:var(--ag-borders) transparent;border-bottom:var(--ag-borders) transparent}@media (max-resolution:1.5x){.ag-theme-quartz-auto-dark .ag-side-button-label,.ag-theme-quartz-dark .ag-side-button-label,.ag-theme-quartz .ag-side-button-label{font-family:Segoe UI,var(--ag-font-family);transform:rotate(0.05deg)}}.ag-theme-quartz-auto-dark .ag-side-button.ag-selected,.ag-theme-quartz-dark .ag-side-button.ag-selected,.ag-theme-quartz .ag-side-button.ag-selected{border-bottom-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-theme-quartz-auto-dark .ag-side-button.ag-selected:not(:first-of-type),.ag-theme-quartz-dark .ag-side-button.ag-selected:not(:first-of-type),.ag-theme-quartz .ag-side-button.ag-selected:not(:first-of-type){border-top-color:var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-column-panel-column-select,.ag-theme-quartz-dark .ag-column-panel-column-select,.ag-theme-quartz .ag-column-panel-column-select{border-top:none;border-bottom:1px solid var(--ag-secondary-border-color)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search,.ag-theme-quartz-dark .ag-filter-toolpanel-search,.ag-theme-quartz .ag-filter-toolpanel-search{height:auto;margin-top:var(--ag-widget-container-vertical-padding)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search-input,.ag-theme-quartz-dark .ag-filter-toolpanel-search-input,.ag-theme-quartz .ag-filter-toolpanel-search-input{margin:0}.ag-theme-quartz-auto-dark .ag-filter-apply-panel,.ag-theme-quartz-dark .ag-filter-apply-panel,.ag-theme-quartz .ag-filter-apply-panel{border:none;padding-top:var(--ag-widget-vertical-spacing)}.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body,.ag-theme-quartz-dark .ag-chart-tabbed-menu-body,.ag-theme-quartz .ag-chart-tabbed-menu-body{position:relative}.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body:after,.ag-theme-quartz-dark .ag-chart-tabbed-menu-body:after,.ag-theme-quartz .ag-chart-tabbed-menu-body:after{content:"";position:absolute;display:block;top:0;left:0;right:0;height:16px;background:linear-gradient(var(--ag-control-panel-background-color),transparent)}.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-settings-group-container,.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-dark .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz .ag-charts-data-group-title-bar,.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz .ag-charts-settings-group-container,.ag-theme-quartz .ag-charts-settings-group-title-bar{border-top:none;padding:0 calc(var(--ag-grid-size)*1.5);font-weight:500}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz .ag-charts-format-top-level-group-item{padding-bottom:12px}.ag-theme-quartz-auto-dark .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-charts-settings-group-container,.ag-theme-quartz .ag-charts-settings-group-container{margin-top:calc(var(--ag-grid-size))}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-ltr .ag-charts-settings-group-container,.ag-theme-quartz .ag-ltr .ag-charts-settings-group-container{padding-right:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-settings-group-container,.ag-theme-quartz-dark .ag-rtl .ag-charts-settings-group-container,.ag-theme-quartz .ag-rtl .ag-charts-settings-group-container{padding-left:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-format-sub-level-group-container,.ag-theme-quartz-dark .ag-ltr .ag-charts-format-sub-level-group-container,.ag-theme-quartz .ag-ltr .ag-charts-format-sub-level-group-container{padding-right:0}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-format-sub-level-group-container,.ag-theme-quartz-dark .ag-rtl .ag-charts-format-sub-level-group-container,.ag-theme-quartz .ag-rtl .ag-charts-format-sub-level-group-container{padding-left:0}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-quartz .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz-dark .ag-charts-data-group-title-bar,.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,.ag-theme-quartz .ag-charts-data-group-title-bar,.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,.ag-theme-quartz .ag-charts-settings-group-title-bar{margin-top:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-container,.ag-theme-quartz-dark .ag-charts-format-top-level-group-container,.ag-theme-quartz .ag-charts-format-top-level-group-container{padding:0}.ag-theme-quartz-auto-dark .ag-ltr .ag-charts-format-top-level-group-container,.ag-theme-quartz-dark .ag-ltr .ag-charts-format-top-level-group-container,.ag-theme-quartz .ag-ltr .ag-charts-format-top-level-group-container{padding-left:0;padding-right:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-rtl .ag-charts-format-top-level-group-container,.ag-theme-quartz-dark .ag-rtl .ag-charts-format-top-level-group-container,.ag-theme-quartz .ag-rtl .ag-charts-format-top-level-group-container{padding-right:0;padding-left:var(--ag-widget-container-horizontal-padding)}.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz-dark .ag-charts-format-top-level-group-item,.ag-theme-quartz .ag-charts-format-top-level-group-item{margin-top:calc(var(--ag-grid-size)*2);margin-bottom:0}.ag-theme-quartz-auto-dark .ag-chart-mini-thumbnail,.ag-theme-quartz-dark .ag-chart-mini-thumbnail,.ag-theme-quartz .ag-chart-mini-thumbnail{background-color:var(--ag-background-color);margin-top:0;margin-bottom:0}.ag-theme-quartz-auto-dark .ag-chart-settings-nav-bar,.ag-theme-quartz-dark .ag-chart-settings-nav-bar,.ag-theme-quartz .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-quartz-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-quartz .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-quartz-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-quartz .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-color-picker .ag-picker-field-wrapper,.ag-theme-quartz-dark .ag-color-picker .ag-picker-field-wrapper,.ag-theme-quartz .ag-color-picker .ag-picker-field-wrapper{max-width:55px;min-width:55px}.ag-theme-quartz-auto-dark .ag-color-picker .ag-picker-field-display,.ag-theme-quartz-dark .ag-color-picker .ag-picker-field-display,.ag-theme-quartz .ag-color-picker .ag-picker-field-display{height:18px;width:18px;flex:auto 0 0;margin:6px;border-radius:2px;border:1px solid var(--ag-input-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz-dark .ag-ltr .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz .ag-ltr .ag-color-picker .ag-picker-field-icon{margin-right:4px}.ag-theme-quartz-auto-dark .ag-rtl .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz-dark .ag-rtl .ag-color-picker .ag-picker-field-icon,.ag-theme-quartz .ag-rtl .ag-color-picker .ag-picker-field-icon{margin-left:4px}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group,.ag-theme-quartz-dark .ag-charts-format-sub-level-group,.ag-theme-quartz .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:500}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container,.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container,.ag-theme-quartz .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-quartz-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-quartz .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-quartz-auto-dark.ag-dnd-ghost,.ag-theme-quartz-dark.ag-dnd-ghost,.ag-theme-quartz.ag-dnd-ghost{font-weight:500}.ag-theme-quartz-auto-dark .ag-standard-button,.ag-theme-quartz-dark .ag-standard-button,.ag-theme-quartz .ag-standard-button{font-family:inherit;appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid var(--ag-input-border-color);background-color:var(--ag-background-color);padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);cursor:pointer}.ag-theme-quartz-auto-dark .ag-standard-button:hover,.ag-theme-quartz-dark .ag-standard-button:hover,.ag-theme-quartz .ag-standard-button:hover{background-color:var(--ag-row-hover-color)}.ag-theme-quartz-auto-dark .ag-standard-button:active,.ag-theme-quartz-dark .ag-standard-button:active,.ag-theme-quartz .ag-standard-button:active{border-color:var(--ag-active-color)}.ag-theme-quartz-auto-dark .ag-standard-button:disabled,.ag-theme-quartz-dark .ag-standard-button:disabled,.ag-theme-quartz .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-quartz-auto-dark .ag-column-drop-cell,.ag-theme-quartz-dark .ag-column-drop-cell,.ag-theme-quartz .ag-column-drop-cell{border-radius:calc(var(--ag-grid-size)*3);height:calc(var(--ag-grid-size)*3);padding:0 var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-column-drop-cell-button,.ag-theme-quartz-dark .ag-column-drop-cell-button,.ag-theme-quartz .ag-column-drop-cell-button{min-width:0;margin:0}.ag-theme-quartz-auto-dark .ag-column-drop-cell-drag-handle,.ag-theme-quartz-dark .ag-column-drop-cell-drag-handle,.ag-theme-quartz .ag-column-drop-cell-drag-handle{margin-left:0}.ag-theme-quartz-auto-dark .ag-column-drop-vertical,.ag-theme-quartz-dark .ag-column-drop-vertical,.ag-theme-quartz .ag-column-drop-vertical{min-height:75px}.ag-theme-quartz-auto-dark .ag-column-drop-vertical-title-bar,.ag-theme-quartz-dark .ag-column-drop-vertical-title-bar,.ag-theme-quartz .ag-column-drop-vertical-title-bar{padding:var(--ag-widget-container-vertical-padding) calc(var(--ag-grid-size)*2) 0}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-drop-vertical-icon,.ag-theme-quartz-dark .ag-ltr .ag-column-drop-vertical-icon,.ag-theme-quartz .ag-ltr .ag-column-drop-vertical-icon{margin-left:0;margin-right:var(--ag-widget-horizontal-spacing)}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-drop-vertical-icon,.ag-theme-quartz-dark .ag-rtl .ag-column-drop-vertical-icon,.ag-theme-quartz .ag-rtl .ag-column-drop-vertical-icon{margin-right:0;margin-left:var(--ag-widget-horizontal-spacing)}.ag-theme-quartz-auto-dark .ag-column-drop-vertical-empty-message,.ag-theme-quartz-dark .ag-column-drop-vertical-empty-message,.ag-theme-quartz .ag-column-drop-vertical-empty-message{display:flex;align-items:center;justify-content:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*1.5) calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-quartz-auto-dark .ag-column-drop-empty-message,.ag-theme-quartz-dark .ag-column-drop-empty-message,.ag-theme-quartz .ag-column-drop-empty-message{color:var(--ag-foreground-color)}.ag-theme-quartz-auto-dark .ag-status-bar,.ag-theme-quartz-dark .ag-status-bar,.ag-theme-quartz .ag-status-bar{font-weight:400}.ag-theme-quartz-auto-dark .ag-status-name-value,.ag-theme-quartz-dark .ag-status-name-value,.ag-theme-quartz .ag-status-name-value{padding:var(--ag-widget-container-vertical-padding) 0}.ag-theme-quartz-auto-dark .ag-paging-number,.ag-theme-quartz-auto-dark .ag-paging-row-summary-panel-number,.ag-theme-quartz-auto-dark .ag-status-name-value-value,.ag-theme-quartz-dark .ag-paging-number,.ag-theme-quartz-dark .ag-paging-row-summary-panel-number,.ag-theme-quartz-dark .ag-status-name-value-value,.ag-theme-quartz .ag-paging-number,.ag-theme-quartz .ag-paging-row-summary-panel-number,.ag-theme-quartz .ag-status-name-value-value{font-weight:500}.ag-theme-quartz-auto-dark .ag-column-drop-cell-button,.ag-theme-quartz-dark .ag-column-drop-cell-button,.ag-theme-quartz .ag-column-drop-cell-button{opacity:0.75}.ag-theme-quartz-auto-dark .ag-column-drop-cell-button:hover,.ag-theme-quartz-dark .ag-column-drop-cell-button:hover,.ag-theme-quartz .ag-column-drop-cell-button:hover{opacity:1}.ag-theme-quartz-auto-dark .ag-chart-menu-close,.ag-theme-quartz-auto-dark .ag-chart-menu-icon,.ag-theme-quartz-auto-dark .ag-chart-settings-next,.ag-theme-quartz-auto-dark .ag-chart-settings-prev,.ag-theme-quartz-auto-dark .ag-column-group-icons,.ag-theme-quartz-auto-dark .ag-column-select-header-icon,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand,.ag-theme-quartz-auto-dark .ag-floating-filter-button-button,.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon,.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon,.ag-theme-quartz-auto-dark .ag-group-title-bar-icon,.ag-theme-quartz-auto-dark .ag-header-cell-filter-button,.ag-theme-quartz-auto-dark .ag-header-cell-menu-button,.ag-theme-quartz-auto-dark .ag-header-expand-icon,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon,.ag-theme-quartz-auto-dark .ag-set-filter-group-icons,.ag-theme-quartz-dark .ag-chart-menu-close,.ag-theme-quartz-dark .ag-chart-menu-icon,.ag-theme-quartz-dark .ag-chart-settings-next,.ag-theme-quartz-dark .ag-chart-settings-prev,.ag-theme-quartz-dark .ag-column-group-icons,.ag-theme-quartz-dark .ag-column-select-header-icon,.ag-theme-quartz-dark .ag-filter-toolpanel-expand,.ag-theme-quartz-dark .ag-floating-filter-button-button,.ag-theme-quartz-dark .ag-group-contracted .ag-icon,.ag-theme-quartz-dark .ag-group-expanded .ag-icon,.ag-theme-quartz-dark .ag-group-title-bar-icon,.ag-theme-quartz-dark .ag-header-cell-filter-button,.ag-theme-quartz-dark .ag-header-cell-menu-button,.ag-theme-quartz-dark .ag-header-expand-icon,.ag-theme-quartz-dark .ag-panel-title-bar-button,.ag-theme-quartz-dark .ag-panel-title-bar-button-icon,.ag-theme-quartz-dark .ag-set-filter-group-icons,.ag-theme-quartz .ag-chart-menu-close,.ag-theme-quartz .ag-chart-menu-icon,.ag-theme-quartz .ag-chart-settings-next,.ag-theme-quartz .ag-chart-settings-prev,.ag-theme-quartz .ag-column-group-icons,.ag-theme-quartz .ag-column-select-header-icon,.ag-theme-quartz .ag-filter-toolpanel-expand,.ag-theme-quartz .ag-floating-filter-button-button,.ag-theme-quartz .ag-group-contracted .ag-icon,.ag-theme-quartz .ag-group-expanded .ag-icon,.ag-theme-quartz .ag-group-title-bar-icon,.ag-theme-quartz .ag-header-cell-filter-button,.ag-theme-quartz .ag-header-cell-menu-button,.ag-theme-quartz .ag-header-expand-icon,.ag-theme-quartz .ag-panel-title-bar-button,.ag-theme-quartz .ag-panel-title-bar-button-icon,.ag-theme-quartz .ag-set-filter-group-icons{--ag-quartz-icon-hover-color:color-mix(in srgb,transparent,var(--ag-foreground-color) 10%)}.ag-theme-quartz-auto-dark .ag-chart-menu-close:hover,.ag-theme-quartz-auto-dark .ag-chart-menu-icon:hover,.ag-theme-quartz-auto-dark .ag-chart-settings-next:hover,.ag-theme-quartz-auto-dark .ag-chart-settings-prev:hover,.ag-theme-quartz-auto-dark .ag-column-group-icons:hover,.ag-theme-quartz-auto-dark .ag-column-select-header-icon:hover,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand:hover,.ag-theme-quartz-auto-dark .ag-floating-filter-button-button:hover,.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon:hover,.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon:hover,.ag-theme-quartz-auto-dark .ag-group-title-bar-icon:hover,.ag-theme-quartz-auto-dark .ag-header-cell-filter-button:hover,.ag-theme-quartz-auto-dark .ag-header-cell-menu-button:hover,.ag-theme-quartz-auto-dark .ag-header-expand-icon:hover,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon:hover,.ag-theme-quartz-auto-dark .ag-panel-title-bar-button:hover,.ag-theme-quartz-auto-dark .ag-set-filter-group-icons:hover,.ag-theme-quartz-dark .ag-chart-menu-close:hover,.ag-theme-quartz-dark .ag-chart-menu-icon:hover,.ag-theme-quartz-dark .ag-chart-settings-next:hover,.ag-theme-quartz-dark .ag-chart-settings-prev:hover,.ag-theme-quartz-dark .ag-column-group-icons:hover,.ag-theme-quartz-dark .ag-column-select-header-icon:hover,.ag-theme-quartz-dark .ag-filter-toolpanel-expand:hover,.ag-theme-quartz-dark .ag-floating-filter-button-button:hover,.ag-theme-quartz-dark .ag-group-contracted .ag-icon:hover,.ag-theme-quartz-dark .ag-group-expanded .ag-icon:hover,.ag-theme-quartz-dark .ag-group-title-bar-icon:hover,.ag-theme-quartz-dark .ag-header-cell-filter-button:hover,.ag-theme-quartz-dark .ag-header-cell-menu-button:hover,.ag-theme-quartz-dark .ag-header-expand-icon:hover,.ag-theme-quartz-dark .ag-panel-title-bar-button-icon:hover,.ag-theme-quartz-dark .ag-panel-title-bar-button:hover,.ag-theme-quartz-dark .ag-set-filter-group-icons:hover,.ag-theme-quartz .ag-chart-menu-close:hover,.ag-theme-quartz .ag-chart-menu-icon:hover,.ag-theme-quartz .ag-chart-settings-next:hover,.ag-theme-quartz .ag-chart-settings-prev:hover,.ag-theme-quartz .ag-column-group-icons:hover,.ag-theme-quartz .ag-column-select-header-icon:hover,.ag-theme-quartz .ag-filter-toolpanel-expand:hover,.ag-theme-quartz .ag-floating-filter-button-button:hover,.ag-theme-quartz .ag-group-contracted .ag-icon:hover,.ag-theme-quartz .ag-group-expanded .ag-icon:hover,.ag-theme-quartz .ag-group-title-bar-icon:hover,.ag-theme-quartz .ag-header-cell-filter-button:hover,.ag-theme-quartz .ag-header-cell-menu-button:hover,.ag-theme-quartz .ag-header-expand-icon:hover,.ag-theme-quartz .ag-panel-title-bar-button-icon:hover,.ag-theme-quartz .ag-panel-title-bar-button:hover,.ag-theme-quartz .ag-set-filter-group-icons:hover{border-radius:1px;background-color:var(--ag-quartz-icon-hover-color);box-shadow:0 0 0 4px var(--ag-quartz-icon-hover-color)}.ag-theme-quartz-auto-dark .ag-filter-active,.ag-theme-quartz-dark .ag-filter-active,.ag-theme-quartz .ag-filter-active{--ag-quartz-icon-active-color:color-mix(in srgb,transparent,var(--ag-active-color) 14%);--ag-quartz-icon-hover-color:color-mix(in srgb,transparent,var(--ag-active-color) 28%);position:relative;border-radius:1px;background-color:var(--ag-quartz-icon-active-color);box-shadow:0 0 0 4px var(--ag-quartz-icon-active-color)}.ag-theme-quartz-auto-dark .ag-filter-active:after,.ag-theme-quartz-dark .ag-filter-active:after,.ag-theme-quartz .ag-filter-active:after{content:"";position:absolute;width:6px;height:6px;top:-1px;right:-1px;border-radius:50%;background-color:var(--ag-active-color)}.ag-theme-quartz-auto-dark .ag-filter-active .ag-icon-filter,.ag-theme-quartz-dark .ag-filter-active .ag-icon-filter,.ag-theme-quartz .ag-filter-active .ag-icon-filter{clip-path:path("M8,0C8,4.415 11.585,8 16,8L16,16L0,16L0,0L8,0Z")}.ag-theme-quartz-auto-dark .ag-chart-menu-close,.ag-theme-quartz-dark .ag-chart-menu-close,.ag-theme-quartz .ag-chart-menu-close{--ag-quartz-icon-hover-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 10%)}.ag-theme-quartz-auto-dark .ag-chart-menu,.ag-theme-quartz-dark .ag-chart-menu,.ag-theme-quartz .ag-chart-menu{--ag-icon-size:20px;background-color:color-mix(in srgb,transparent,var(--ag-background-color) 30%);padding:4px 2px}.ag-theme-quartz-auto-dark .ag-chart-menu-icon,.ag-theme-quartz-dark .ag-chart-menu-icon,.ag-theme-quartz .ag-chart-menu-icon{opacity:0.8}.ag-theme-quartz-auto-dark .ag-drag-handle,.ag-theme-quartz-dark .ag-drag-handle,.ag-theme-quartz .ag-drag-handle{color:var(--ag-icon-font-color)}.ag-theme-quartz-auto-dark .ag-chart-menu-close,.ag-theme-quartz-dark .ag-chart-menu-close,.ag-theme-quartz .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-quartz-auto-dark .ag-chart-menu-close .ag-icon,.ag-theme-quartz-dark .ag-chart-menu-close .ag-icon,.ag-theme-quartz .ag-chart-menu-close .ag-icon{border:1px solid var(--ag-border-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-chart-menu-close .ag-icon,.ag-theme-quartz-dark .ag-ltr .ag-chart-menu-close .ag-icon,.ag-theme-quartz .ag-ltr .ag-chart-menu-close .ag-icon{border-right:none}.ag-theme-quartz-auto-dark .ag-rtl .ag-chart-menu-close .ag-icon,.ag-theme-quartz-dark .ag-rtl .ag-chart-menu-close .ag-icon,.ag-theme-quartz .ag-rtl .ag-chart-menu-close .ag-icon{border-left:none}.ag-theme-quartz-auto-dark .ag-chart-docked-container,.ag-theme-quartz-dark .ag-chart-docked-container,.ag-theme-quartz .ag-chart-docked-container{min-width:260px}.ag-theme-quartz-auto-dark .ag-compact-menu-option-icon,.ag-theme-quartz-auto-dark .ag-menu-option-icon,.ag-theme-quartz-dark .ag-compact-menu-option-icon,.ag-theme-quartz-dark .ag-menu-option-icon,.ag-theme-quartz .ag-compact-menu-option-icon,.ag-theme-quartz .ag-menu-option-icon{width:var(--ag-icon-size);cursor:pointer}.ag-theme-quartz-auto-dark .ag-ltr .ag-compact-menu-option-icon,.ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-icon,.ag-theme-quartz-dark .ag-ltr .ag-compact-menu-option-icon,.ag-theme-quartz-dark .ag-ltr .ag-menu-option-icon,.ag-theme-quartz .ag-ltr .ag-compact-menu-option-icon,.ag-theme-quartz .ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-rtl .ag-compact-menu-option-icon,.ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-icon,.ag-theme-quartz-dark .ag-rtl .ag-compact-menu-option-icon,.ag-theme-quartz-dark .ag-rtl .ag-menu-option-icon,.ag-theme-quartz .ag-rtl .ag-compact-menu-option-icon,.ag-theme-quartz .ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-quartz-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-quartz .ag-chart-settings-card-item.ag-not-selected:hover{opacity:0.35}.ag-theme-quartz-auto-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-quartz-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-quartz .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-quartz-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-quartz .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,.ag-theme-quartz .ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*1.5) var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-group-container{padding-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-filter,.ag-theme-quartz-dark .ag-filter-toolpanel-instance-filter,.ag-theme-quartz .ag-filter-toolpanel-instance-filter{border:none;background-color:var(--ag-control-panel-background-color)}.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-instance-filter{margin-left:calc(var(--ag-icon-size)*0.5)}.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-instance-filter{margin-right:calc(var(--ag-icon-size)*0.5)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-level-0,.ag-theme-quartz-dark .ag-filter-toolpanel-group-level-0,.ag-theme-quartz .ag-filter-toolpanel-group-level-0{border-top:none}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header,.ag-theme-quartz-dark .ag-filter-toolpanel-header,.ag-theme-quartz .ag-filter-toolpanel-header{height:auto;padding-top:var(--ag-grid-size);padding-bottom:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-item,.ag-theme-quartz-dark .ag-filter-toolpanel-group-item,.ag-theme-quartz .ag-filter-toolpanel-group-item{margin:0}.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-container,.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-container,.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-container,.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-quartz .ag-layout-print .ag-center-cols-container,.ag-theme-quartz .ag-layout-print .ag-center-cols-viewport{min-height:150px}.ag-theme-quartz-auto-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-quartz-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-quartz .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-quartz-auto-dark .ag-date-time-list-page-entry-is-current,.ag-theme-quartz-dark .ag-date-time-list-page-entry-is-current,.ag-theme-quartz .ag-date-time-list-page-entry-is-current{background-color:var(--ag-active-color)}.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-button,.ag-theme-quartz-dark .ag-advanced-filter-builder-button,.ag-theme-quartz .ag-advanced-filter-builder-button{padding:var(--ag-grid-size);font-weight:600}.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,.ag-theme-quartz-auto-dark .ag-column-select-column-group-readonly .ag-icon,.ag-theme-quartz-auto-dark .ag-disabled .ag-icon,.ag-theme-quartz-auto-dark [disabled] .ag-icon,.ag-theme-quartz-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,.ag-theme-quartz-dark .ag-column-select-column-group-readonly .ag-icon,.ag-theme-quartz-dark .ag-disabled .ag-icon,.ag-theme-quartz-dark [disabled] .ag-icon,.ag-theme-quartz .ag-advanced-filter-builder-item-button-disabled .ag-icon,.ag-theme-quartz .ag-column-select-column-group-readonly .ag-icon,.ag-theme-quartz .ag-disabled .ag-icon,.ag-theme-quartz [disabled] .ag-icon{opacity:0.6}.ag-theme-quartz-auto-dark .ag-icon-grip,.ag-theme-quartz-dark .ag-icon-grip,.ag-theme-quartz .ag-icon-grip{opacity:0.7}.ag-theme-quartz-auto-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-quartz-auto-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-quartz-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-quartz-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-quartz .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-quartz .ag-column-select-column-readonly .ag-icon-grip{opacity:0.35}.ag-theme-quartz-auto-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz .ag-mini-filter .ag-input-wrapper:before{position:absolute;display:block;width:12px;height:12px;background-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");background-position:50% 50%;background-size:contain;opacity:40%;content:"";filter:var(--ag-icon-filter)}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-ltr .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz .ag-ltr .ag-mini-filter .ag-input-wrapper:before{margin-left:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-rtl .ag-mini-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz .ag-rtl .ag-mini-filter .ag-input-wrapper:before{margin-right:var(--ag-grid-size)}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-text-field-input{padding-left:26px}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input,.ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-number-field-input,.ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-text-field-input{padding-right:26px}.ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-add-group-indent,.ag-theme-quartz-dark .ag-ltr .ag-column-select-add-group-indent,.ag-theme-quartz .ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-add-group-indent,.ag-theme-quartz-dark .ag-rtl .ag-column-select-add-group-indent,.ag-theme-quartz .ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*1.5)}.ag-theme-quartz-auto-dark .ag-menu-option-disabled,.ag-theme-quartz-auto-dark .ag-text-field-input[disabled],.ag-theme-quartz-dark .ag-menu-option-disabled,.ag-theme-quartz-dark .ag-text-field-input[disabled],.ag-theme-quartz .ag-menu-option-disabled,.ag-theme-quartz .ag-text-field-input[disabled]{cursor:not-allowed}.ag-theme-quartz-auto-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled,.ag-theme-quartz-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled,.ag-theme-quartz .ag-checkbox-input-wrapper.ag-checked.ag-disabled{--ag-checkbox-checked-color:var(--ag-checkbox-unchecked-color)}.ag-theme-quartz-auto-dark .ag-checkbox-input,.ag-theme-quartz-auto-dark .ag-radio-button-input,.ag-theme-quartz-auto-dark .ag-toggle-button-input,.ag-theme-quartz-auto-dark input[class^=ag-][type=range],.ag-theme-quartz-dark .ag-checkbox-input,.ag-theme-quartz-dark .ag-radio-button-input,.ag-theme-quartz-dark .ag-toggle-button-input,.ag-theme-quartz-dark input[class^=ag-][type=range],.ag-theme-quartz .ag-checkbox-input,.ag-theme-quartz .ag-radio-button-input,.ag-theme-quartz .ag-toggle-button-input,.ag-theme-quartz input[class^=ag-][type=range]{cursor:pointer}.ag-theme-quartz-auto-dark .ag-details-row,.ag-theme-quartz-dark .ag-details-row,.ag-theme-quartz .ag-details-row{padding:calc(var(--ag-grid-size)*3.75)}.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper:before,.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper:before{opacity:66%;filter:invert(100%)}.ag-theme-quartz-dark .ag-chart-menu{background-color:color-mix(in srgb,rgba(24,39,50,0.3),var(--ag-background-color) 30%)}.ag-theme-quartz-dark .ag-text-field-input::placeholder{color:var(--ag-data-color);opacity:0.8}',""])},function(e,t,a){var r=a(29);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,"@font-face{font-family:agGridAlpine;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABKwAAsAAAAAJ/QAABJeAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKqUyiKwE2AiQDgjwLgSAABCAFhEYHhTYb7iIzknRW3UVUT4rZ/yGByqEVyfAPCoGBVAeLaZy1NEUgHG5qbTJUKK65bieBiXNesm+H/kz+7nJIEpoE3+/3uufdH0AFMkIBQhFcAFDFl4Wp7lRoFLJTBairyjb/t/bs7+7IyjPxWfFndohimiiJSCNVMiXytQEpDCAvrmVSeEiuz2pkFBn71N4A+Wm1PT1ApaemJsEZHH5/+f6tHdlX0iFUPUx4GMD6rwoJUCiD0n6gbf7DMxAcRiRi0hbY+GfUHViJi8JIMPYbF2WBUbNyzToV4Wew7v2p+Q2nttnDYl+SMVtpv9Udg8AkSPCE8JUIINhyf8M0OkgJleAT1F9rn9lMECVwh0Do+Djd09O7O+/1mwWe9BJNJjTLkw0gWSBF/H9+qoBJ5ewpYHnuhCehSZhz9lwI2tDKfGldggS/ySJ7xa2c4LAIrw71XX9j8/dwVSZiNBZgxU9vjyOAYmM2fmTs/HXBtem9DVnY1aYBXmvH2vLiNPEwDZ7pGMQXnLspqOqmr35HOfc1nmWhOnqYTtK79FN1ACIqG+L4KNc3ptIoGJ3BZOFR6jSoyeZA2uEW/Kg0Uox9cJSCqQzHZrG6jlrCmF2LhltrBzr93NsyXa63ti00++IsHYRBsaTDZEVjphjJiWbL4WGcg0ePEm0cMZYdzU4EseHSeOJQtVjuje3dvVfRLidotoz6qjqNav9esYP8Ml9FVZfH5LTNn5BKVzYdaSwjmMG1CrNTV7WhSbfFeAub2LHLMM2GrgL3aGhX8qvT3fDYgM++Xm3jlN0bvZlKatdqU0v/7Kt6NBe6IXF61QdHXRhzpvHL2nvvu+feeOurH/5zuEIQJC1pHez9mmkTzOZF0UrjkOTu7rtmhwpXzGbWl/iZ0UxQbR0DrKpR+ciq6lSM+4P+jkyojXWwZ3FgdORyzEBMu8SodIFsDuRw+IF5oE+C+fXPQlDaYmGyrLapfFOZRs+iyBHP8i+qTHjaoa+FMmLF96bC77XDfZYj0YQ/q7GXrgpEzIYRnXelKdnYYH0yFobmHLKidfPkix3tKDYXr1+dR6VNiSzeH5uA8I4/qLpBQZOv0pzXLdEgt4b8ea1pNFbndOoZHKXvqEPtqvKouETvjjd2laxW6tIJnCC2pVD6AKq6PDv7nN3OBc5+xuWB7CR7gfuP33581xg8QIYkuLqjywujc36p/aWm/3E3N4Rs02aiq0Dh7AmoAXIgq5gvjnJAz34NRC69GuwPSol42MArH3371XF2hlqPvPH5V7yLv3KD/7pqXhMDo9Br7hqgLuvhQIYVj7LSJMOAgxuxbZxccXgIRtDpVkUSmY9fQFBIWERULNpgUkpaxp+OOXkFRSVlFVU1dQ1NLW0dXT19A0MjZWMTU0jYzNwCRD5cjeExobaRgfHOC+1DnRcOTvT2/Ov//379cL5v9NxFOzVLAemzCVeA2ls2BkyzNmCGjQCzbACYY+PAPOsEFtgFYJG1A0tsCFhm3cAqGwbW2CCwziaADdYLbLIeYItNATusA9hl/cAe6wL22SRwwM4Dh6wPOGKjwDE7B5z0uwh+ceiReAghCGEIEQhRCAkQEiEkQUiGkA9CfggFIBSEUAhCYQhFIBSFUAxCcQglIJSEUApCaQhlIJSFUA5CeQgVIFSEUAlCZQhVIFSFUA1CdQg1INSEUAtCbQh1INSFUA9CfQgNIDSE0AhCY9Zfpwn0maYQmkFobigJ/FpYYyMG1ZECIRVQjEtv+iWe4gl57ync886N+8wMZN1VvOwjGPddoCiRLhkjJQGOSC0zCeTItsw2iyxh/SLvgtJ8il0gJ/wYY+M0rrkojOGCVIpgfwTJPbXQCkiibIX7NB8LhaIBkX6OqBbFUhInXGmSpNmU9ROBQFIS67k0ImUIkQRKaCYRMMh5AJJM5oEYLkb8kaT3L1HTisBeByai2GnmmsjNFxz6MNQrKEIQLyDiGXfdKwg6T3aAKFjaBqf3MqpUx2ZspWOrQN2xha/6DcxNwTBIcAiRALxXKXIMtMiCWgXp5TnY6fw7sZhcW8Sl/cJHrZAggV7HmUPCfCtVSJ9eQIXQjyhbIghFzMaspsCd1mWc95N5N5B0fp4ET6nJLNttrVAhYtyrw21QJdpYs/D0DtHQRtF+iTATabO1Vkx0yCkWnNzH+CqLgjukEhj5Dz5LeJ429s68i8gziy+d5bIyjFRTqZzkh1ozVXK0AeyTY1bZhDLMAT2VcM3V0RGOouapsTJ4tF9M1/mTyagqmZS8rGgdmWi+tmqh91eSqSK3y+Qy0Ba1uO83b/tXIhiJW+IyB6MvILhvX7wXs/ItLPIIJ/eFsb7awLKW5WVXVq6UyqBSoY/iw8o8cN2kV6s5YRRKj9RfGpPwrPXanB5Ib7fMeVqWyrDleG+1b25Ig3OxLa7KREVTCBYs3FJSJeMOTGCrkclxAPBCsajQXl4uWvm8XTyvDBOS3ywUAYj2gz5Mzdd1W3OzOWVoWGiakvDx/+UsLBfV2BFlwEoVciJIaxMhchGXnzqrQoUPphaosiRUtKpNV6lsUiUvqinzUcpquc6iMFL5faOrX7eFgmZymN+2oBHxESZBiLhKUEzIVl2WXfeoLYhiCXIxYSA4gAM/NBEYXDhnYWAmiJEbPYrrlIWwZsqfu8UJJRcWKbx5Fu2UOdMSAd+7cebz9Z3A4nUc5UnyXAgf+nFoW41mW4XYhkM/bIRzuJJh+AVULSMILynK1qh3UE2aCkhIAlV+vn1xjaFHgCGIfZhgAqaWtFhmT5w5rOSkqlSq4pSdWIGrRNM0EF5uSq/bEaZB0/yNGSTjL2W5+lrbJWkGE7zmbB3yl2GWdzhGkPOfDBm1LPWa8jrCRM3brAd8pthufNS7ftis09wavUg/71VqOekod7ERmLcRry1HbfkNg5WVwR8zupXK4T+KDqlUQz9l96nVY38XktQnObzsqN7QbN5zh+GOW6ysJ2gxet1hQuV684o9ZhdYlyiTjpuanYnhPpyIEQfpnx1KRF4Crn5ZYhYNE4aBb70RgA/7Q9ReHuRBHsxDaq20Haw9traNVXla32uyb5afS2c2vKsGc0nj5/fwiQ5yq6xobiZdiLJtwZcFEwJdcLIemnrYnGJ0PSKmgGclPfWaGo9HbpLlQ/umhMHT2y/+emJwQylqXN3/8ScO4jDFV1CWAqHRybUkiBgbxdoEFxM9UWA2zwz4/X0nvi+4b99FnBecduy2w70lhbOV4mxaGMUIKdrbewWCDAFkcfUi2lPCosPIc5lG8x59/79mIgHOA45RbaICdh6Tmccu+Mt8d5/HLGD/5eMnu6ttn6ALEtvIfYBt8SoJVaJ4K3knqa6W1EiAtVdDcPBdcuj8JV8H+O44uxLMzRMTL13cvz8xKd7bRvHZ4hOeXEeoLQX0b46NDPfO9PfLioq0tMJCL+nBLl28NBs2NbX9HmbtAjHgYo3e3w7U2+9ENNFBsRipimqtUU0FWFb4sqsT69e3NwgU5OQLV3DhobwX4rRrLuDKcwEXXODCcwVFlF3jXYPnjIzMyMjMNA8mCJvDzsANAXPp/7LSqs0t0fM4zzLPQE+hJ1P9vMZ8t3jb9u/q2u9xSrxXuNFPuM39KoMd9ktmRmWB7/qizV3OVyGmliEeJvq9q+pCK2mGlotUp2OlTgKBdSOpZ45kbWVuYU+6+sKEuJ1Uv2bLfQNjvgmp3/IlcxD8zP6yMBFr15j3rVobnPSng8kq/ayxSAuL4Ysm3SHbvY+RFVbeYF5HrE4g6FjRl602dRgeybWi3vDDE/pMRDBtwGg8yVSn31yOCCfTsEAqJnRHjCo8dyBG44QX1uZWeGY70fy2EA+ABdI87Pvjba50M+RXGEfljO6jCM6zJrkmSQrolIWsfkcvbB+KTwLd+MUYmi8N8/6WLmXUrl63fcNqC66hscvrkExuZu8d9Dze0N/AOCFxQ3rtyX0m263MrBiCRn4d41sdvKGToQlsUbAqjf2o+744lkPXFTwe5pXPl0dV1Nslk72ZUTlnbyhKc6jr+SCPrqizTQ4Oik8sKcBfj0oLtA4vKGpmxqXGuY73MihxZHIshUHQy6+hpdtReSiNx0sMds2yCi+kqNgOiBVv+cNvebJ3uqSgyDo8+7TB/9gmV9TLo6ZZrkS2c1axTQ76Ru5dGDffJIy4wFzguaD7mCJjKrizqZyfqv7D7h9/glf0UyeFE7UJXH2OvkBhTk8v4SjEXAn3mJisicrxjybMLOE8Ig6bw1JwqVzxQQlXUoUcyVuxGZyp5rK54rdOOBiZD08WGGLNvjLdxOG9RjPeezDeleeFweeuNguuI8kjQfksVl65+UKQ62yuCzau4+QkNKl6/y4fYryTtMkXRQCbBHrCd+6vXgkTvbVRhJmh9AT6YnxqToU77R4zIoV2O9H54SCnpibjVxwuIgKH+1Vv2fTTNvOXaL8A9U6QiCOSiLjqzhwRcA5KGzPnVKkCYJnuO/HxPeg4mwX/2D9ppTifRfnami+r272e6M/2SaDEx1MSfLKDylwHlpZsXMsSTCEpKOpCEPjl+hnlx5SP52ddwEWuUhwOxBp/6/qtC3z69IdxclTSL0EhRbJ7N94mOKn1kkyzrqhg11gox+EHe/v4g3/FxpaV6GhbuQUnX1zX1vb334p/dvjvXJC8lMtzy00I1tZVxRZ6Fcb72ir2Ev9QWT5dXoZA0/Et0WRytB5iJ1uP/IUt5hIQ/wusex/EeqTzEO9MM8E/fH3d2NCE5vyk4SipU4Gi6ajiuy1e5NgYb1HldwrnC0IVXU/oFntW9Jn2sXrixvoT8IW2pInzhh5fpQ3367nc4w3ielzmi9trzQXtEjedFG/hNTbB9NOJFdUd//ixcSNrhDkeGe5SqXuGR851802WSu8t53hcD4msW/zVxhxmJp2eycz5KXnuPpOew/zJVx+eP4wuj4ws/46cSd+R/1zUWzbFjlER40tZ3ETIh380g+d8dhlz3Dn2Qw6VA//ISIkqBPIiYnQlwfmftL8TQm5urc3r15GRwUEODhERoIgQ5Yng6fS4TJGxWikXzp2bRDGIzGjZ9WBOYWjQnPk5Xvtz0tPxvPUtzR28NeFB0+0+nNWRzzHMES3Py42LGxmhHTkKBsu2Mm7niHtVVnZyR/jO4pqoYaLLy2ge6Rq8Q+F5m6cwSc7yeEuaP58exE2f//96H+A9mXiE+H7+Zkv5cCAAABlpYbsNcXGK5Na1SAnYvmmF0RzuKpuRU/YuNgD4/5GbkAdooz7k56JmgoQsTmuR8dhZD11ei0eOL8w2LEG0FK0Lkv8v7yIasCc0axb7NixwZrJu8i9iVKcMuUFkLUYawJ7RLLQJLHQCsh46I1pyPqsgCI4PK5X7EVPWThRyZlgtup5lHCoVaUjC57+7g74f7k3mG4a+xBMRDQBm6f99shlm7pfcDPDbJg7UlzQxs9tuj9t6EfHiKPG/APWvLytsPerdoLbaG0haCeCTQ24BLiKFFNJ2BQgnCSCJEwNDNSsxDT7osRT4gQGFOJFwZYYYbAQEOG194CANzTvGQxB+AHo0GwEMzU4yAklQAYVmD5gMveJQv5jKfNwO/8rB3sccCH6Dr1Gzdxb0df4Dl5Covemvg+7vFQhYC9h2WLZl8rcirnWcsH1JFHcUY2ozp3cw0o8i+W42c9ID9ybhmua9YoF1L8oCAn6D04GrIo0p5gq5/8ERCnzXEtK60bumNF4FFixAIGi1Bks9XEy8WyK7Tqt6LEGiXgoVlBBlSHeVw713wEi6N2bwsjszeXGOVvdMIXIeK6Nqju9LX4oNlKhQYwrTmMHsH0xzg8LafvhcFiLRWDyRTKUz2Vy+UCyVK9VavdFstTvdXn8wHI0n09l8wRRV0w3Tsh3XvQePnjx78erNJ5998dU33/3wc+1PH57BawmJtvRwmpdNvc2WCTIQG3NqlpOpCuZjSIvOzAd75blGIAsCjIG0wFlQRiWq8IHpmLjLwdGKt19gRSp7pklYGwGrTOdlYyaVsmn2tGleUTaLaeAr296ZlKwLj2p34YeuRF3GTVK45SqWGLFxxUWUn5CbLkw1q0hbEEwnW7GI8Y1ux9Y2kN/BWAQMK1CYVHcEla4bpVyIoibYp5ZOx5jmYJtcwA3CZi5qck1JdvLAFFItJ5zTN5O6oYok6pJzx54LUcPlR1ElJtgr92NCZ9OcLMET7YOVhHZupsAgDbObM2GAllS73uopA+3Upy4Bla9amig+uFMLk9+PI+uax4AIEjJXGNHow2ChewpV2dLEWa01AAA=);font-weight:400;font-style:normal}",""])},function(e,t,a){var r=a(31);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,"@font-face{font-family:agGridBalham;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABWQAAsAAAAALTQAABU/AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKtGCrbgE2AiQDgigLgRYABCAFhEYHhH0bZCczgzabtMpwFCVzUpT9HxI4OExuBRfCkhAFE0Xhoyq+pt0dOIqLsGDBbiaCazISTAbWPbruvda8/9b0ZpWhlATwa9/m7f5DRKLKuVgomJVCSZdJVLFM8+vXXvfoE/DjQ0pUZKcKWFhb1eFpm//gqIM+aMVAcAIWsQDh6IHRoCzKWGFhxaLZxqoK96NWrPpXqIty5fanPb9N7n1TYMJEpcWV1DaUWzYD1RmghqxKull16jKy5pw6n+SbfMFXrC1WcY9c5fPvT82/5vJbnT0sdn4yZmtl+23HIEoCEk8I310IttzfMI0O8gmV4BMUAf+3ltrDggvIEssKXc/OzMzNXfbfZJPbS2kzoUtK+zY0tyVCC6iAdnMB4PZeFajKVgE7sn0VskL3VVXaurrCP3C/V/SB/rj2yzH6vPMrR1FAAxx7FOhspIP/NceTthY+CJ4NwcPLnPnBccMB5XyIGkZjxLBTSJGOdd0RgH1eXHJxaXWzQ9MDy7POUXnHBnBaPExPjA3Ys0qhSmKCUpQT7Q7Z+GTZ+0APy2FPdELZKV/i1vhW/JLroChZeZBUYb9hBIUhDCfoZAVkNq5gMCncZGXoHSNaZuRYidNUBJdoi3Tx7pIWJNSxYiBPLAXbaIE0uX+ylzWl0dMdaTjMwagqFl5sXWWpZIFMNsRcdr2jxFfiHl0oWegojS8LZetRlEl+8SXX7SacoBs5dWNkKCISGVpC1fcpGLPYBFNv5jXlrJrTJJLprlScxTVm7MV6RYEJ3GPndBqR91NRvhQrahvtdMWaHdOHwRLlSJ0F5qStt5/XymKFuo7VddYvm43KpbgozR51sRJXqZBMspqJ3KwX3tnxwTc//QdIexQNOGgLLt4j+IY5fklH0V6cbLnXT4V2aSmsR6rvVSNMk0cESgxopIiqCkaGQKwS9dA+RdVIsSLpTKpCn9N+Bo1VHQjB1G1zLJOpBsSSlzpkv3rmMMXaIqkqJk6wmVZqjZoOm0IiWkd21njcxEYhNTGT28ZaIjdZEe0TrqnZauRQrYtKEF+q6bQ3yZYczekJ+8tO5dhWOPO0fOLwTAvt5ERKu/HIXYnOrlleTJaUqF9w/njQCSobW0QDbBxae07tNLPMOvmDako905aizygr6Om3Xbb7nQ2UGcmbJ2lAEwVjPWC02EJFdtacconoYXghCUSbUSeehG8+/HAvyCCixbwW1I+WDNtx65cO/UdnwjqNrUPzTgFJQAzcBBIgOiHPCYcokX6TopL1aFT/cECJTHX317zNX3p/P275asriL0nweWpQ840zBxz0BfdYI4Dl43AszmVj6dZEjQExDcngK1UhkClUmsKsqSVlFVU1dQ1NLW0dXdOKA0MjY346Ts3MLSxVraxtbO107B0cnZx1VF1cVd2c3SlaHp5eIOziTeQCFd3Ls0KaY4eDmx3potF//0wWZxl+WoFFDwDiL+Q14FYwkwIM5B4wmDxgKFnAcAoxkmRgNOUYy31gPDnARFKBqeQC08kGZlKE2aQDc0kD5lOCxTwAlpIJLCcFWEkxVlOGtWQA68nHRkqxWa/gFxBKABlADlAAlAAVQA3QALQAHUAPMACMABPADLAEWAGsAbYAtgF2AHYBNgB7APsABwCHAEcAxwAnAKc02A9+zZB0DnABcAlwBXDNoK1ugMwtwB3APcADwCMDHZ5osB/8OiOPF4BXBnJvIL93Bvp8AF0+aRCDX69Bv/kGZfgB+GWGW1Tu33mDt+z+yP5q3i5sh4NJv5Ten/b94fTbF68kyOui/nq2lpnFH74W9OmHpTUq17FE4hz6Y20v63U2ouQYmMul4k4cDiH7+zPExDmvEjhMGpUFkZVDxAk0Ggk+/ieRIOVzYTiSTWOJeAQcO4GIZwQcDCuTMrZE4r+fwzCfSyVR4RiYI40QwCQhHg8TCXghV71bnegwIa5xXIGoCt3s5f1DuO3k3bvih94Nd+5ofy85de9e1KMRm+/fH/zX2Pk3It13gOTZeHPgH6Wnb0c/1sCB+S+tBlK0cQQRCG7X7yddyeyoJgSEW84EwBADm1vOXRDDpiftiaeqHlSlCqB9kHYz3kPsVtLLjxWLnXnp2mZJ6bG3fr97Qn6FaCokqhcqNwuZGRuiikiZGGBiNfRfhy/H60LMO4otqDq6BnEM0BaHYhhwrWyaeJOq6wAnadp/DuXVpUi5/DqpvL0quUeuvCFT7DT1Keb3OeAm/24rdMWOflTr4e8zJ+jU9ACnNOBMZGWA9Fn9CuXaWNUkWouHA/sfwd+nKh78GWlyWP1Yux0bGkHKpwN8TsDXdP5lCpWk2oFtu7Wv1Zo/xAx3DymAcKF902MfQfCf9XYacUUxHp6QIokEUs6mYrF5KK9cvIvV2+eBFFBC7lgKKZeANJdU07nhsBqkUuYWUipCKlgoPxoNYjUN5dhZ99nUBfli2viZZPSqxoViSgJIwaCr/IwrmIxyysMemFsMSsBJAgG5FnIzt/sWRUS/nwnF02dc0+cahZekkSvJV0VGkpfBOWnRJ6nlRLmVkc7fVu9elC/csa9XHdg5GI6lVp2/D5JdwY1VOKsdyGVpyWzKPa3ClRaAJBAarLm2qpx1s+qJq0hJQfnvDiw84/ve5FiPEM3KCH5Y+8lupmn2pbFYbW4cq6fHT3npLa3eqdNZGD9XWfUObZeWTXH6rtnkMULXSE/afNraOE0TJjJA0nWsdnkvQtkwkNLuv/W+GrntAtPkxZrLBHxONCWTbsJm8dP82YqmgRsupZom9EeEhB5C9zshAADhZknInTplVD2AcNMPkit5Ut9+Px8ch3HRFkp7v4ph2MAbj1mQlSOIabArP4mb+X5gG74uPG6D9omQDvHn7VtkxX+fsAPbSTLj66OnmR3a+Km/A07XbT1vViAJrfXGl4J5UxThfAEU7mVltPylnvv64Zsif2g2XugcVDSB3NMazneIYY/7jlEXF3nabLmu50mXBME1lw/Fh7kXzYJlo/MG+rlcMjq08W7mnTzBDwFw4MckECoapJRxRiYZo4Ry/8iWYeCNex9N8tkcrjqdnkJ+neoPZEd6MvjFAIWfiij9VEISs5lhoNDLu4Yd0diLQ52+qeem92Hp1UamH+yYepIjSsc/8uJnR97VX2rgZ/1yTqwipQirWRGAlHePAFZ6/B7b1Y9PR36FTz4goialhJKS09/alAfxZR9iDOwQq/cv0u75mCfsW17cf3Mvn69Ld53zTA80q1utxBXMXqrOtJd1wvfo+1VnxJVNXjQ/E6Y96cJ4SQ53BXHQcy6XPcnauGONzvsWTKvC/ZxdDn3Oxvvdoza1Gbnu5o1xPm97KaYLf5KKMWRaEYZcsQwRQzwJcMGQKGpiFTUDzF8ggCd1uqALuljPwqE45M2ouL3p1wWPHPx3d2x5NZ/ihNqAnZzkzG9xWJFlygi3jvGThJ2+n4RNzXgp90+m4Lsi2l7qG90EHH7F2R2QXPo0Daoeb1h2GzMs1J/Q9Jrzum56T/eeuKd1nn2QY63q6V6fXYonek6n71belNGT0TRqrxhodEB4xzb9i+uZ/pWbFoQXnhQcS4H4m40AgtpcOXA1i/CpD5cfPLu3dJ8f7Iqr33zxfsO2ZK9ZY5fL7UQo0gWi3G6X17ADKFkPgUXWgAOD2M25s6FJiCZWTF5qrAbZg1h4zIXYSeY+bPCjydQHOWL3v737uGDrJ3hnw9P3I38Zz+wzmTqayCnaUttjc8pj6+i8x/+9YV/H2prAhTtOZ2iZd6khp5NGW4tAWz979pWbSFdOuRdREG3zjS9Su1Uqt7oonNevcrtVRepwwrTc6HEpHHK5Q+HaBxrBIXcp9oKDJ54O9soXhdzUHTvDO6v/jrA3qj/4OLFjbUe3s95V3/Wxoa8BaKepClJSClSD9rEFKSqhbOyb5ZniyG/Es8TfRIrd9/WAl1u3XrkSu2ZNVXXOO2m+aXAZgMbWddW0VNMd5qDn2y1b1pWUYLFGwwV1/MJPFw4bDxwI9niEEuAAEqH7SRCcfGRSm86pUDUaUrkOtQiWvmFsCv3ltSEEDrT3Kl0KhUupUcpdLkWiYFeIMtXneE+8IfCG39KnN2ZEKXe6FMqVprUyuwy8ie7MhrTe+m9CeUP1dPtRzIAJA1QDxg8Y5PxbHfOO34j4q7E5gLlDSjAzH2Gqt9yjLhLf4jAnqPo227mSHxogNj8tHoE30VoM9RoG/7g65lx5THGxcAp94xG6UMDliemXexFKkN46seYJlVWE0Lfw3w7aBpI5f/KQdlwTdzNtkj7njyiEBg/fY+XxdvyEbEgLKs7JQwIF4LZQGrPIeIH2tqBqNePMKIH6ajKJvBnxg8sMkr0lIXVGYPXr/rIqp1zu9GTIKfcMjcpUijWcsrbydo5DrEiR3KCJqIx7bkkQXdqg3XBJO1c3RJwl5ezAs1cPc/y/swMJqctaAJI5nDeLYZ7arQve5ozJwYoMnonBkrxPG2Yatumm+wcSI4XKysquKGz+agUSFHAEA4unFLUMnIsnMWIYCFh6v0+B4b3QoOTl6NSJWGQEdk/2tLlxxVcw4r3rX3rDIZcrQ7qXlccu5NhS83Spnr6kmbt3/N/b2dMZMq76kllchpF584w5hrHsMs4IsUcXWpduKNXrS9NkPEvmnOT+jL4yjNhZV7nCsAmbERt73MKTpZXpdaUGKdeaqXq4OkWhME1YyqTQqhRlh0mK71wQfTuuEjVmZFfETZJU0fx0rylXpyqqwKeg7q9LfRA9E7PQUOmLsv9dNDJPOK1eklPsUs4o/dghurH1GTNWVy8NuQj043dvYZ6i/m7n3grsKUpAfauLnAz3l9ysbmmm1oUWADfwC8kTmvMshuBiqcOvRlnNLYvPsHAxbsavbnLyx/7GG2NbmlngQ3e2YjO3F+0FPqIdaKjd1GE61x4dSI0mJ2D8c8BkXGoc6UA7Go06VNeIOo43S74xnkJPAcUYN/0FRntREL/4WaAzUEpA5klXVfgqpr39T/TP/cxhgMc+j1JGFuWvWdnpmxwuQNoNhvICriPAgo5JAcvWe4pe8tvLuH1tojmbXvgmX+XPuVy5qZSkyIoOT578nDfzXPXhX5rJZTmC0qxdLJ/vaquOQ4NyaOIyDQu7bVbfmFvH2SM3bLHm3BqjAMgotA+tjrpwIZT+b53xQgJVH9qnMgYzRokpo5SPKB/3XGQOnlzAPnyAdTj8/ry82ufyRsECqG8K/SZ/hx9lVZMfXHsF/f8Akug1S77CPlCLrcnLN9HlLpjx6FH4YfjRMZy3nFBZzotIUg//VxC9vXEkxqPJS63YBY+ilMmHy3KzBru0p6XFnJFcK3rBtBFTiCmSpkebK0vmDzSjuRin0iYfvpCUS3JLs2Q5+UnZik5cttydKPdIXEQ3Mc+72KFIT1x18TP+AN6R0/6tJS6doIXLW1qZE1N8olkr/4IVnVcsmGBDSwtKXso3C63eDfm44K0h/MxRoi9fukElW4wcvx/8o+iP4P3jSIdkukBySiKYLumNxI9M1tyYuZLAgjymV6QVnhJpRK/D0e9ARTbRKaEd5HUsXUoS6XMWXFjXNblk7JI9BjTqgVicefLPoUMnlOFxAqk+96fJK1daxw/T34tSFh/reLt+/ahahCwUNpTyiHWsFSvrllN+v8d/dfv2oF2m5ZNu8HP8M9JAFUjP3odZjFUDX7adpa8Jud2F7tC8mgT5UIfCXz8vdN4Bd2jtSy1v2V14kHgosX1K63mQjuuYin7QZg785UdaTabOtvZWzKpd2CO6Je1Tv2qvcU6ZCqJtXeNHxntl8+fLvPEjw4kGfRf2ykbGhzNMy41N5WklOl1JWvlzR76gRFeufw5J2PQu/R+YpvGkD5/0vB1J2vemZRUwmNUrkwUCz8+ZqYFxCVc9a9AwvVfqkhZKJUDiCkRpVoTPt+460rqzynI3SLWOZzCe6Xmg3jIjdL/CqdYrKyuPHu2cPcdiASFkjFQIyHU+LEvDwrPWrR88uLvrkKphEs4sBnV3sxhzf4nKx7SxfvnGccySKM0v4V8kEynrptJ8dZz0da+wJV2eHR3OMAPPZ/ztUUUQmd7nVq9fn0d78COKt5Toh4Cez06ncJxgtFCHFi8eJzxIAtDdQFKIqAvlc3J85OlNTZwjejaQzP84vQftefjlbm7OmI6gCHhzUmSDtKm1QCN8KLI3aIWg8EQSxVDIBqb2D9YvCbBD8oTSGgg59BPEESXf8jiSAKW/n8m6oG4EhnXJeDNURlwSRM+h5RBeTMzOG6CftAoA/9BP0FOdWwXKWCsrIU/6bkgfynE6nUnuvmOSsM/rnJAVXwtFyH6kBfLIpP/x5nFelyU6E/fVdQCbATXxCqgNuT30mcTn+ExxPDx2uSt/p9vJSa+EKkyyTbOjkKYs7/8gWvWrXvzdGIbhLQlDXQBgOPzXV9Mc3K1wwZ8C8N0t8dIBgJkTu4y/vv8Yer89JvINBKSXfGyU+xvg1/cZDJW46f9pHtOCdfcCxX9I0zP4yWFQoCeVwPoVBVgkb8PO3YWjBMBABJnlbgW7lK3U7MA2UAkgAHEwgCALTHNHWYADRMCKexeswf3VqLXADe7BOtxPRyHAMLgvhkHF9oXP4e44mEsVvUq/wdWoOL6O8yr/gUsgHE5r69PadwcIrATMMB+HsrgzETtYpjTcElqLYqQhMz2DlsmL5POTuhm3wZOmtFKcOywwLimR3yLU32ClVtHZOVbYKFf9D5ZQeNsIGpya/FK03zFUHlcRwKiz414tlo16RnzVGgKNkRSxW61EEaIPtGY5W3sGtMsnPoeWnTvxt2dV+URroWOWgVVt0Gvge9iAgUNAQkHDwMLhOx7Pd3f/ttzudHv9wXA0nkxn88Vytd5sd/vD8XS+XG/3x/OFMKGMC90wLdtxPd+FS1eu3bh1596DR0/rXWzH4JQEwlYN075s1dGtDtQQG30pls9tBP0y02E8ZIL5GasjoAEBTgGVwNe0GRWVln2vOxKPOZz15y6KNWF5qxuFlRYwO9352OihUrb6LFv9yc5k0Q38RUt9K1lpB/O+cxkYS1TFb6NQaysWKDWzNBfZuQm52SGqefeoJIhppY2FJTe0i61MQNenOIQUXmGXEmtfUyqUg43wDltGFSPtUZp8dQC2BLApbSH5zNe+HhrnKkI4krWfYhVhw+W87Eos8LY8GhYaDe2xP+LKgLT5PF+FATopra9v5YRdvmtpUlD7+2rhSjwZWSsOAyIgaK/QIu/F7GD8Iamyo4X1ulYA);font-weight:400;font-style:normal}",""])},function(e,t,a){var r=a(33);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,"@font-face{font-family:agGridClassic;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABMQAAsAAAAAKZgAABLAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKrHSlKgE2AiQDgjgLgR4ABCAFhFIHhSobaSQzo/aatOox2f/lgNPhIBZU/0ES0ylMdmqaHFNzhWNP8U8777KPEvK0TVAGQFAMCEtuIrCiLGIo2kTeIMx1352Y/nHZWW+HUvLwsoa+f3dFNAqYXVMHwLqyFaoDkmLxKJep8V9z8b7NbsJHALlswkf5RKiA2o4vy19XVSFRAQrdqbBku6QzdQnf2f6CoTx1owlhIpJOJXCSIofXeC0iGIbIzRrYYKPVlIYF41WsBaWogGUL2sECto7RNGLughjvvtgOcpEUV0VTe+dSuNYAA77176fqu/dZwyI5yVh+KXVHcCASdMeDQ7ZjdvufnTA0OQ4lCFH5rAEEBv4RbLm/YRodpIRK8AkqAn6a+8z+FJCnBEJWmDo9M8n+5r15+QuYzVLKWU6J4AAx2X+0yzkgtueK6liZCt2z8lwhdc1j5k+3FYMiPDDm+l7ajYnrq1ee8Y2QlAhH44/5YQRQaMzBjPlf/7aCh5cYW1mEODXAevk4vGVES7jPRBp6BOEzzlYgqOqkp34JWlyikSSeT1rchi/0zilMUDaEyBZRNA21oNIZTBYGR1tMaLI5sONwJWVRaaw0+U67pBAawy5jybp2awlT+SbW3FrbSae/elumvdHZtoUaPztLB8uwsKQjJEVjlhjRbtSWw6Ny7maMEmzsor4xH+WLYG24KE8cVpb63thOZzMVdbKC2jLUl9RRmh1Vpd4VD8gKS7o8JsdscY8oa9y0C2UZIQyulTd7dlXXNOm2VJ5mazt5GUFt6CqIixpdU1FnOOhyh9YOdbX1p+G81ttIpnxTp1r6L+frofbSDQmLL3qnXboI1R6UImun+z50zRsfffHDfwQoHy9piTpw39dMG8+cXhBV1HamusEjp3ycsMJmGstECtM3FZqtXR5cktLIJJbUaVRuh2U+Ca+abKcdLA6CG3NjnIFl3SWVRheYm+M5HAow75zdgvO3bI8QPNuSEZKstqm8UWM2epaFHLI0bFQZ7zkO/SI0fKwY11S46jjc0hgTh6XM1eQr+xUIVBuG77x9qBInG6yaNteotXOuOLrZzJdLx1E0Lteys6dOmxBYPMsqMMauDifsWvA0yzTUnktLGiisYa13qIZhtWd2DpgiZKNTh83JDpy4hOuWN+4qqaw03QokSL1RKH0ElnR5fDvmWWxvg8lzfCgLkntmF/CYX/r4pjmIIMGmxFta2n6nWt+r/0WhZ1jNJCDd0jbizdUCOUAK1AEZSKqb50YpXJbVwSTZF0P8hWICBjFwy0PPftF/R71L7nj8C1Xiwg5KtGRe0wKMhbPmXgBq72U4nmHFo6zZZHgDdhLFtrHbPggDI1jc4o0KRBKZIiAoJCwiKuZbf1JKWoarjjl5BUUlZRVVNXUNTS1tHV09fQNDIwNjPRNY2NTMHEQuMYvH1dY+GicLV4YmRILV0If7qKP+/x/Qd6Y+S0r51mLZYkD6iYploD5h48AaawfW2SiwwQaBTTYBbLEuYJvNATusA9hlw8Ae6wEO2AhwyIaAIzYJHLM+4IT1AqdsGjhnncAFGwAuWTdwxaaAazYL3LB+4JaNAXdsBrgfMw9+IZQTA4IwCCIgiAVBHAjiQZAAgkQQJIEgGQQpICgAgoIgKASCwiAoAoKiICgGguIgKAGCkiAoBYLSICgDgrIgKAeC8iCoAIKKIKgEgsogqAKCqiCoBoLqIKgBgpogqAWC2iCoA4K6IKgHgvogaACChiBoBILG6M00AdVpim6OZqAmmjOZFPxSJ1MOfi2QDmkgiAKYi4WsnhfAA8h9AgXtRGF8UKREiv0ZFZhEcSWgvIxASEVKPYaCXSoBaa+lTPW0pBzad8bNW2Y7tyOry/YV48uKqNjhCbzBPeeZ4YYr+mOtFCGTM7pjaRCdKqKKheIHDG4eP5smx1M07uBcRqgBS1+uOFwTeJghvr1APmf1DtOFgmkH+V8e1zshjypaxbSYLp8ZWGdQSPENVY2FJhZnFnc9kZoJdWp86c2G9aZ074Hmnb5SQp2JHaiB6+K+Zfusf+YdgdQ++JtMD06/Bf5m3482YKSA0RcY2x7i2Eo2uUZhcjpPVHfYyWuv3VWrpmOJ2WNeQrvd7oUUmg/vcYd+LvmlxUx0gDMiGAc6H/wXpu+tAcVAQd2T3S3Ot7nF6j4ZE5ggxdRr7FFmCJk2yTBzsWhXiQ2VzqJg2deVMlcPYVdcreUc1DfnNb+Ni6JAcm9+0BHub2TystWtgStXpAW/duzYKWFaefu56tp+E9TTOeRaHdKyDvT7VcL79vcHB2nB+BNp8etTERX36NGDqh8BJuslF3fcat++jjN09ehe6X1WO+tU70HHd4jbO3qUUT7MJ2j7D7ZgYk9Ps3fIxXhuG6se3aA/NHj9oVPeZYOXowVhaIljgikRw6vrofI6TUlC7grRWbbdaN18Gjy/3b71bKPlnP/+fO1/FVpyeNm1B7aB1DJMvpvprHu2qumy6hrtjWq8IxL2+kD+CHqw196FziUXs+xxvyAtDmEafDlO1eaM/64uo3oPb0Il4VBPv1UTJqRO8KFhWPan+IrwEkYNwTwv1LH+Nf+dTriUq/e5FuCItF8a1b5XeojB7ACSipTkRryL9EBUYXEfgSDDpHAqPZdvlbd394lbEEb5lVOR3qZ5PhIrTJJ9ub6uNyCFqiqaMEMSJjAvE0beISsr1klMcaBdDnogi9rKegFhJaFMDV04/aUoTMc/lpvx+Dw5WcCHuy46y8W9A7b/yKXo/OWr32jGrsYBfQ5BOPVNXP+wMzTLcEHHqPGGQjSad9WX/NmwFzc2zcQjfM5zXFEVr+/zkr9/z4CzfmbvUOBpLnKi4z1MqDA5hhqk24SwXbxcwaItVUdsmXAdCNqJ8CyehxXGearkKoRFsu2aIRqcgJlcQZ7iaVU5DSk3JJWad3OoGqDjbLfw0mCqjj/sNl999a/a+ZMi1RXWmAgTtkGC/dKxtAx5XSD08uSqciurhCI5FHkpc0/5SaaWJz0GW+xXYYuIFZCHKX+f5f2LlmPP19BcF2TiIMbzbHXBwhJdefR5kVnt9Ei1eqcCVJsCDND+6qEecm3dUSjqsQj1FvSQK3XRJSou3saMmku+ZotOpp1Ig7yIF2A6pPW5OFm1QuRCeonBMKG9tCTXUNredMIukgEtpAOrtncBZxJlcNF6/EVU03N6J0LK1LCRngVN8Re6Mp1EvYbZcf0mXlufhRO9cVJvV/sVcilQBRrBcMsospyDinYTqgUVHSptOasRpcOLLreELQJTvGd4qtUy6VGxllSapoagtLRKR5nMJFaWVIarVhOJSgahUnUaEZxvGB8vKdYJ7trGxnjLwet4qWzjxg0bZbKU00G6ocMGaZSNINROfD3zvwLhe6HgvzNfC//rUdbq8V8iu+8do4X5lmlkvGMa8gC9Rgl7w8ohGNd6g4gdAaErn++4s3Dv3SH7/IWUbWf+8enjLH5k8f1lyaLwAbn3QY2rg2DwYr/dbi0qIhJjoo/qvRw9cnRtzPh49wt0ohBIQTgRedkN7F+H1cOSZIIhJa7GJdlDqpoNQjcewhYI37SshEev3hwsD3nHBF4nHNDnFfrg1GE84tMPrFbc6byU5M3/qiIPt8N9MWEX+FjOZDY3M5mrSCD0wlNDaXOtKWk9QWQQiUV6UWhwfZWaN56b/LCltZNwycM/nnGDUGu/Qvll6gUOwyB2DSZxhYeaITY/yo/luYw6O7opiM7fGDhjR+kMjWbiPNrv62gTBVzeVNoJJ4vcTWsrq3tJYWIsmp3/R+gK8D3nAY81Z4KRO0gtj1Tfn8aieuaMSHi8VUdYS6O6A3bM2ikIANzZ5BalF0kQfFFQ00/fli8IPP29h9cgqx6spoTM2xN6FT5zMSF+VhAqDkT12QMN1L+6GA2Kjde15jeKcmcE1U097wEVB/lNtadOOr40xHY8ZLstZOl2iCAyphnVgY9kiEpxBRt7jeI9YFUrzU4ZGysp0WnFvX38cnXkwtGs1pSK7qoUXhydKfwclR2Xvew8csiD/gOFqVRVwa17eljdAo4gRDMPmx2ymORBn0FnTaDfVLcSd+KAxaaFFd6X/Ay1ZdSlaBYuqTJcDk6MD/x8YzDvegpBC3vFrmo+PW/SYyGaGxal6UkUB8l/TOwqUnEz+ele0/MmZ3tqPdCgS933xcnZPzWlXtWn/SjNv8DD7niuiIR3gOkHuT8T2zLbfZ+mSCxDAicWzCz21pHKSflhl5fcF6dkdTSkLEBqRx9+TXGa/FBdmIFUSyoMRcXJxRd46F2PrdIcQ5CxLESW/1sykTIlwEsNNL5Xtk9KowZbD0hBlRKVcvkQ7gLIlwiIfe2EnfSdB/Yr3fhVDAD8LJ7zdSg9Dh8HN8EergomsStxWO1St5o/jKvKUljlUiF5nl2OeJXB1ziML8eRxIXxj5npw4A/vy5wwl37Sr8YGSkpGXBT5wijo5HDYO5LM1vFThENGDs6zIWfncpWsuvrU0jd+MpVZrl8YOJ0KofAF6OdDracqZAq2AqWY2HHDqacJXeY6xiAudhszOgtZLJYZo3F2eaODqNo4KNuM1NN6MswDhiZjGPgUqeDxcoLOxwKloItZRY/knaiYj6BQ50+cUAut0MevjqQfT0w0NwcZ3kNv1ZU9MstOl28fW6gLWLtvyOT3aZbbUab7dYc2d27MrD048MFEemuG1G14JkqXIIb1MH2MddzEel28L82m8FqC/qf7M4d2TvMljwJ5Ez8PsC6rqwc/ASH713aHl8TTE98oc8VZft2dvpmi/JOJV+rdlqyfXP9Tub5SWKWmF8rv1hnS/NEq50KRXY8L4Enr9eGF4SG5ofr6uXnGrW9CkVyPE/y3CM/NKwl2noFP4EX3wt8GgUum9XmgvHJK6YOdDrh9euC8HVlrsyvMl3PbQkvgJ1HO/S/b/H5IfPlw3AwgH35NKe9z1EnHXWi3LFz796d5Xnvqjorm4bL5jH1YInbwrWupXlxJwSxvLa5cYe1ziJRKeJSifZBuG7xl5/04HgWhekehGkD8mvb1WPZJcgpKQ/TPgjT6Sce+K7gQbi2i5XMg0mShgaJOflKNZeVYKHMMXrR9BgZCQsVm5w+Ch/YRwiEisTvo5xcWWk9K0zr04L/IwC3WpUqoPxbpbQCzsWEm8sGuDJ7LRWILDr//ffBwc1Ne/Zs23b9jgCXWXEryPhDz9Zj2BmYjmHbXZUS4/zGKy8eW4EqMnD8jOVySmeuTvkGh8Rmoax726HBdspSKQ1Z7BVn9mWpEzKzg7zztt/tkIcFGd+dRbeWB4ESv5J//on1zTW0JaD3o0ivjhLiot3VfFD4v+j2hbmFQpV5LwxakuabeA4B/E/PoOdMArVCJWYvOtZzmSkZOuZc1gDgv6qBXlE4CN3sYiczG5sqPAqF5RbfZKuqDP+yRcfaK5t57yI7hP37XzfpYx+CjYPNVbPt1vFPhi4C+F+Z9cL0TpW2b1Y1rrIxvQchLFGpk0m0QTbX43lcNj8ckld3Vdhq+sjIOxH95psJOf77+vYC4O3PWmXhMvqCnH4nVsWHExvrF+Zj/mqFoCIz0RD75v7bkfKXL9n8H0iEdde6yWtfqPAcvfvfgO5rKIwOAv/tKSz3w7IwBJQ9EnzFuIO0tOJoWduKk0P+v7kUkCtrq7NCPX7jRWIewVBWAMn6IGCMoHeAafsVENr+wFhJfwJH2/+Y5Hgw/n1ZczHjepgPwao3TsRo5W8wyYlQ33TjQv9DiJYwuy6ulj/FB0AIgkFl5SWLjblh1pkOVGfvCRmco8wHegDJRcXsb49HvYhUSKpbgvFBYClvuHeIUTJL+g0Yqb63QWUrpfZ/cCfXlytBmWuFK1Xtg0J1W+AlKOzSJbOj5tW+wZGtZYkXkLpU781KRXAR0Ivycu8BkIFTqDQ879Yx2p1WdQrSiHE5KzNsi6L+heggjAhiEYd4JCDxF2bxx00Tcb0MoXAkGosnkql0JpvLF4qlcqVaqzearXan2+sPhqPxZDqbqwuN6oZp2Y7reeW1N956570PPvrksy+++ua7H2sahwlgBFvCgZhAp9gVWw5koATXl6cIvPKSIB9LOudFMajDp2YsKmAItUXBsNmWnVBp1ZlsRyH3dqNjGH6GqcY4kY0chGRQPdn+0pdDMXblbrry5Z7KKPvwHdocOd0L46FqDD/k0YlYdUt3oMsdMLCvK0TumbG+3y4l3/uqyfhT88AVdhx16Fooi2ZUx9nW9gl6dWIaWWpUSjDPHAMaYRrGuXCOTqD63kA16PrCftXSEI/8QGMpxVVo6eJQXiZmwpy0Xn6qDfuhTMW9GA1M4v1akSs64YfsE03Rd6HRs7AY+MTcw4YDgCcLRulxwNfzV4r9Ldw4sl308vvhtmAEgFkEnUSSU3lUOsuvqiXeRUN7Wi0=);font-weight:400;font-style:normal}",""])},function(e,t,a){var r=a(35);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,"@font-face{font-family:agGridMaterial;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABEIAAsAAAAAJXAAABC1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKpFCeVQE2AiQDgjQLgRwABCAFhF4HhSQbFiEzkpPWxkdRriZLERWMvuy/TODkkmtBWWICEBGDQBg2GMCgjpPxctqNa3ZadxGGh+NzyiFJ0eQBf7/fue+LAYlRkrhXkqiEREiExAhZQ2RkzTQ/mouchQAeMOWyGz6iBwlYBgVGvKrT1TWyyvR/+G3+hWdSKkaDvmfDGrECrA2Th1nMBCMKV8mKhW8Vrf5a1WeFOwd+sDz07yvZ9czHcd2dUHS3RQUFC/o1SZu0C/lAPexP079M2vv/e/aw2Gk7dvv3uWMhMC1IPCGcpBFAsOX+hml0kBIqwSeoybVSp4CcovJ1OsnmIJsj2ssT5e5pn7eALKt+qogPSltANAbYdWorfIUmYepsHTUjitAwSDfVIscjVNyWjABls91MYabPvG+kIX1dZNOlBfY7YkW8eBCbyY0IQNZcCHefRDiYa5/UV0MRla0dwK5uWPtGWgByx49e6BTIdzn+AkxNL/zu38BAv6PrKE3cSD45Ic/kC+VAyOqmEM06Pzsbs2bhHC4PJrJro7p8ASICYUE8KU8oTH92kUPZHJdg6YZuOuIsxxDjH+yccXwkD1z3fEO7YhfvnqdH4Fjb4ChV1ZwvRXHFHAQilqB9/UmyvQuL54g5ShDshZhIGrmZPK6fu3hjStjYyOmMqnOM7XTIrTbTcusN1UMRVxA2e0YpOrnrgvFMUI7QNpqdhxrju7gDS/RgUz+9hmL2uDpaRsBOpmtzPfepEc3pdn6IJy09GExRxI+h1vYMhy8aYe64Mbl2v88u+ijLDaMruvjRRzcePXnz6R8BSoMka4OVYNN3XPvIrFuWvBGc3WFj85kjUfyGaVyMK3RubMpsB5cIVmdsGlV1zmYJ3zB+pJJuTXd24glQYpXTamaCiTcsNs5IzZECAR1z2+LKTN/4TQxJtnSUqqhvqRyUJqP0rJWQDf2IvBA9EeDfQhpjjsvG44ciEG5olQiBnqrpd56qkFn2nNjJB6ZmTYd3AlaAOc+pIrhl4pO6CFSDkx15s53nzck80QcrI7DLG2YO2d+HuI25fbdIgMwm4cMLph2Y35JTLNBYxgMtJFx1TJSWKbszqnaevZnbj5YhJuuXgvMKqB6KHJ3S7ELuaPR3+CgBohN8i8vV6w8fUBHIABEhBtlFjC9EFcM/Sr44ogYm452/Y1O5sCIgAcSAYiAOosLL+aEAyCZejFCL7g/1H/LIMGriGz/744v/+oUSn/jOr1/owJppgZ5XL+uyQVWInfAbwO/fw5EcWxHuJRONBjs7G9/e1QOCEZRArJ2vTKHS6AymmLiEpFRs9Vk5eQVfHUvKKqpqNHUNTS1tSR1dPX0DQyNjE5qpmTkibmFpBUISsrHczVDdGR7Zfb0peW7byXM/9e+/hZ9vwfurCOq18wCxF2UTQMkMdgPTsBqYgZ3ALGwF5mAPMA/rgAU4BCzCGmAJtgPLsAFYhR3AGmwD1mEvsAGbgE3YCGzBfmAH1gK7sAXYg/XAPuwDDuAgcAibgSPYBRzDAeBk2DD4QmlWsEAEKgiCKEiCLCiCKmiCLhiCKcSEuJAQkkJKSAsZISvkhLxQEIpCSSgLFaEq1IS6kQNfjZxqCi2hLXSErpdVTy7pCwNhKIyEsTARpsJMmBs58LXIbZbCSrCMGPhav9rY8jgmcO4x8jGyOM4VLkCiBSA1BVlmOIN1EP3d5ThnZMjRf0GmSLhADumIiQ3SoAtaRDpceYij+lQ5fWDVElnrvFQvJaMbRNOi1TwLiVOJRSVOaQlCGfGKYHq8LWVXZSwGpwz6GTxjUn4YKopUyVCrvHyPIWPQc4oJ1Z+lymdzaCFjOFdhKCRLIlIxSVkJ3YIGezJ/6j6ZAqlhGpIi3I4UBUMGlHGK3YIAQSKAAJdQXihjMJYXNzmGueqkuNfJyqCTFv5RKwsEK5KimMtCVo0xcL/YOJBIwDljvhyTBHXyFc/a7/dpoj79NtIkeTMv3MOKCI06CWcSO1fZ31TAGxrLJOfjF7bT9ol6aP9TfXf2ZjVSqKwDBijgUhKkNStWCsQct72As0LphMwfEofxYb7OVX8x/Hi6eP2vIhQfdoqYuMHIi4UzKfyUmjZIANGnXgV0JDHMpy/OIFbWqentbTCbu7Ozi1SvHT1H+/SAqBVmMmV2F8wxURt27F7m1JSd4Gr/CZirkyN8cPSZmQm0e1TPbqZs7h7qo70jNnZm7jq3yVmzTdTKiYtXNi5O7MxILqdS6cP6CUUusPHxy3IyRaSk5MrwzjgtzKMNZrK8w6pxZl7p1/alelFmX4ico/rdL/PjjXr7E+01zjbBk8T+fk91huRIO7pNYiFGFDR+eKVol1Fvod1J5zK1OxitjigvxifaLNfNZorAZVwHs0v1cBEbtXszvPjOB/PlugjQcs/jx26OeH0Jpq9nAx8H8ysDFt56LTJxwQjfF4Hk02mYPQraz/T2RZXhMk9AYL7kKTG5Wh0E1vOU65aZJ/vq4Kl9fqQPn9UjhSYSpT2rVusXsuaracIYcCIk2hGlkf6wOv4C0ExCVNqvJyavXBfjUhSg73/H6kn2iTB38pAsamgsFuFy/f43Jlczrqs8j2m/3vGKtXogyGJv1ZsfQM4tCLTvD0vOkABnggBlQpZqLjnFEpRUACNOlEQkBpVqdjI5MkxCiNJQLFocnv7h42vQzjHRevcaXvmNxs9ufukRlUlzYHEug1mwYptFrwpCdkdtm1291xqJRxKm2MyyZXnj9ZusEI+hUN50IubbaTbcWzU6BGwrDEbErJYCVCmNTC9MSg5OTQtpawqgFgWnJIWmSUodrIE03jYRpH3Wf/KLRV+zAqciqKPYldY5KkaMDsyiS82XtC1JQgM6nixtIzPWo6VrGpKfhj+xWIJQKyRpTbhEmpZqFHxwatKUvIFVmzZqIK1pWgzQPclLvv0HSdoZTpFQayU3JmH+dKSew/c9JSKTqHnixrYHKIlIxPF+V0yWAAUox43lUSHhldNIRYrxnonRh90PUu3K019H6MQMvUYS6zrcHtw3uIGqk5DJLsohmR+JyqJTDOwNEfzwFQGhVarV3/Bvf6t3iUTAFqysyffP5fNz/fNfGa0nl895v/pEiKxduUJsreZayW4T7s/vWNvxPqY+tl6tb/jaAH7L1RTWtHEWhTU+jbV7c1wxirV1fPz1a2Nj8QnpcgGHK+fGe1oovb6ZKllqYvhwUaVSFhaSySHB13XG169d3x+yZ8/CDxJ7FKIAtcc/LgRCSZRPv1YHYy7c9ur1wDcxsImpSCVY/ll59pzOXqnXEw5yTocBGoPH6NpTbqOAxaCAWmZoDAauytsxt2FW79Ndanlq/ayAP/63tKRB1iM8SPKUes7yLPXka//NqOHDDxxfNzaPkCZNvMLNH5Fkqt9pi5zHrcyls75uElqjVxoQS9sgD6bpRnpLcP0cM9vDs11Olbikpdl3MjYcYNjbWds4M27pmNSFjNb58o80i1QmQ2X7D38LTLd6ZcNsN2iy3kQvC0x4yWLSTTN3RNrYbLvGXB+00OeU92k7H7BuoTaKKIZ2vAm76tVmJ3LsZt+dbkLZxKwBrpZ++pTm0SO2v5fRWpoy9MJ7B+GckF0jM0+jnHB0tV8qWGoqMF2COijiZDHqgHo/SrDEHnU4ERf36FEuG3gWulU0S4biqY1fT2+eW76wcq5NmJkF+l9QRljGxof4FROzGTQLUXyluPncCuZCOys737TO1BbfIUMTMxczJiw8NE2o8YQ9R1huXvxEgHq67igRidJnS5NiWFGssirH6Eq8QB4vEvYKpKS1CQKh3NSV3ykouStEPd1+RkdF2sdygfLLcM9LCsvM6p3TP3Tby8V3IWjflYCEgr6MGJYq0N0p2qlB4gpuHIcTl2607nQ6PofscHM9b/1NnnFmoNITYgJTiTViOabDdfAv7/w5qbtQm3zT4joceMwapVi5ltDzIFpks7zH2W4dL7eRE09XeUwnq+bI5Jhc9rRalpINXw7ldwwLOtY3tXqniLKdI39U2KLFHA5hRCIRkOfnl1trtCzAlwY75LDTKAFPaBwTsn2ifTK0yatJCJyW4pKEhJLiJfIlg97WxSXTDpWV9GeHh6tJwHiiQiPWQLvekB0aXPOgjzrQ39eJdWFM2Ga/9zMWOUtOKJd7VpXFFXHmzeOIuFkBUmzz+LgDJhVZOu6AJDOY1Vex/8qPpB+T+1BA12nOWEvnZjGEDaFwNN7n2HV4h6oDh0xfhaLUV/TsOYfz9OlU82kJPjWFS043Tz0Fnrm/ks29xJ7sS1w2izCtiE6h7T8zcMZ5r2aqdJdaSvrtN2I78XF66a+pJeD9uCBdbz32jHj2dIzi7iVWl2Z7pLsrFO7pHtl3jNajUPzXn+1xJyaxUVF/VTY/g8fL4Gc/ImLjGbxs/qNQQ9B+FtZGRtYOFyr3MPvlBPpm8tmCiJ2bV1lLE8OsHp1brJvYbWD1biLHigrlfdmufGLLccCyXAFZl822o1hbbPSsqlL27Nn5t1qrnYH7zrF4LBxaeO7Y6t2plzPI5cvLLxXG5QuVdwJDC4IDpA8tGMsWi01iKnq6V8fMDw9YtFeCuf4RqZVI2Hhtbk5sLEHMOXESaBOOyrA1hAfV168JI5aqr/eVq/n4xATMJN94X3HQEigIleW46tmk8FfXr1/6X19AzsMaJBI85CAVyxnpt68sBex2UGCtZqQ4rS9eTNas0Y2c5xnj/+9INfLJPo1T8E4RZyuydgZZbTkqSBD/l9Y1klyzjlyEAlZsbclXHRTiIRWauoq1NPDQb+uLsxLr+sOR0D5bquiLr5JzHDlN2CxLXD4pQmgg7MgsyNSQFzcxd0VTFlqIY5HIN0WfBirTr/vmmQX/Y0JF1AAo0/T1uW7A49RUnSkD+Q47AASsxjSezFru0knKT4H27SscjZrYCKZUYgBQyRIAT6Uz43BtnDMRMLglAAZjH5UYYU5rALQ5BgWgwiwmxjUPhipwYO7JNbCEBkCAZGAKJHCCYYBkYMA2hkDzQ8wAmt+DhmADH+xGaE8CSIFUktPnRwWR3fBrhA8S3TerKNGm3xhash/T8L2K/yg1MvXX41Wk/ICE8vMwXT/t+rqEG1Xfe+Hcv2dSTIn7InyHoOOsWm7Xa/91FiNw3rOCD0TkfKNdFUor+U20oLENt4RrhuP5f8oqvOmM9K6NrrjBB05+Gqd3epOdoa8Wwc1PZ+X1nmCZ8fcVE06WFMY/vMTLOwioGM0FZHFrrczL84oRVEIP640AoJCPHx8OEEEUCUhEEpKRcjcldGQ8/v4J44lkKp3J5vKFYqlcqdbqjWar3en2+oPhaDyZzuaL5cpa24w7rucHYbTxymtvvPXOex989MlnX3z1zfd1Nn0EwWA1Mq3sCG/qod2wgiDAZOC0oo9THeF+4u1gZ6N7GThNJIeKkiNZxadRwUZcxnPoxDKU6GktR3exZaqn0KRiQdF10GVnYLjWQ9jLIbzauaxg8KvbfhxvsZUndSf441CTrfMhy135SjXazZpJ1S5MLCYMt9IlJtEupddVKmr4bI9SWxcpHOfYxhwfsMtJ7Rgp9R2FmvCMWgebEm/gNSW3Bw/hIXPlwvpY8r4aHqamyjSw948CZmSkwqxdjQVP611B2eB4Qw5pheMMlCyO42+MkelQNPJUBXHs+EmwJhek4/ag13XlatUkoajHuDHKZ6P7ViCQihjZqEAyuzfZGj6XNcXOwntYewAAAA==);font-weight:400;font-style:normal}",""])},function(e,t,a){var r=a(37);"string"==typeof r&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};a(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,a){(e.exports=a(1)(!1)).push([e.i,"@font-face{font-family:agGridQuartz;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABkcAAsAAAAANMQAABjLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKwxy2HgE2AiQDgjwLgSAABCAFhEYHhTcb4ix1BGwcwOON5nMUJWsTiqjghGT//4cEeojURG1/kEjDhJmMILNiXXYFMRWHm25iSVMyh8ypixOcJyj76RdfldgRQ5stvO+qv+OK2/pJpPULmhyShCYP1H6/P7sX8cRQgpkkmoinB5mQmU6meYhM1/zT98pfc70v2Q0cES2Fj2gqCRyRqlFfuCpbXSOrGgDz/ZbJbKqwe4pETkWQM0u26vzMtD7T+gIL0ddbQSIirSeO/N/w/Db/D15t4ILnWrgAiato48ImxcKMReFCl8aiDHaZq3CtSwervKxa2HOp7+/eRcnWT/2hvwhkW7vxiOBXcjBUUzb491XbX6PWOcOSUEbezs3wy67YcgFH8pPllIuA/3NatuJi4u4cQqxadx0zDCzDB61G6AKa4621OKHwnlk2a1OuHGKuXMLiIC5zMVa+ykWZy1g0Llp3rlNdLf3T3zOUrmkoj/6ZJQ2CIBBsAvFEPAIcLns/s/bVyYcZIYTNIaeNusdnVHZRgon/7zd/6CLCKMBCvYSAbl/vvBMRgBxTNrm3PyMfhLfmF1SDPKx9dgCLzmFrXT8R6FcWfGBNoJ/ltMfC6h776W8okH4GOyZRE71OPkumk5+4ERBd1ZgkgHbpGI4iBIPJIlOx5pYmmwNxh7ujEpel7Iw/OcvAGMM5WlzfWUsUcYhRv7d1IogHb890615oW+Tg2bN0KAzUmoD5lU2ZEnwuuD2Hh3Aujz9Ot3NGWA64gxjFjovzJKFgfLp/6ui5Cc7wB9N4CAocc1wFctkyFggIujwmJ27LlG/Xrk1nnGUEM7g22VzbV6s3CXuEd+J8Oz4A43aEKpyiwHcV1CQ88tZAwDEc9vkkyQu9IbvgEOvZlv79d/VwN8KQ3pzvk7MujLjigvKOPnu4ffHqww//JVIWaNLWeAIffMu0y8xz6+KBwqnZPfvs3IEqGjDCwYpPkJmbGrN3zmCQYwL8ggJDuC9YOfDTQuNOjiwOTC05KTNV9F8jGCFUmzdzOIKoeckvwvVbuYpA1RaH+eV1zRWjkmr0LFQBnpG3CLnscYf4FJIcg5waRFe5w52RknBFsFbj1+5KdMSOkTvvjqt4psHaEFYCN0+1woVl5eMed5Sj4wV+sc/PmtFZvDdWm5OdXxD6maJxFYa7frZwBKdOefOca0aGa3XyBZzLiqMBxcMvwJNSqZte2SEdDOzUmiSMfFOAKEDQ5Tk41lnmttP4OzxIB/Ei9uJ68uOHL1VBBoiUBNqDmFzRTAF/lP1iyX/MpR37Hhvmi4uAdCABSr8HC7HwsBsKAM0qpRD/rvOD/UMenQwbeeerX7/Y97cyb3zw/Ze0orZ2EOyCRW0ElIJvuZ8AuH0Ob2bY8IBVTSQbC9fJJ7adizuJDMEUavOtzscvICgkLCIqJi6R2+e0jKycn2NBUUlZRUBVTV1DU1xLW0dXT9/A0MjYxNTMXNTC0gqEDGjv3O+tvtfVxtzoOvG/vyslwTwD6xCna+Lukgm85gGSN48poGywfmB+9cDCeoHFdQJLGwCW1wSsbAxYXQOwtm5gfS3A5nqArXUB2xsEdtYG7K4V2NswcLBG4HAdwNGageMNAScbBU7XDpytDzjfCHBxGwe/pEzIAhKwoAiqoAm64BP8QkAICiEhLESEqBAT4kJCSAopIS1khKyQE/JCQSgKJaEsVISqk7aabKoLDaEptIS2k6qOHNIVekJfGAhDYSSMhYkwFWbCXFgIS2HllA2RMFRgLhzvYmK0gxuu5NyTv6l1wp2p0omILCh4pSJR4f/E5H8xPoQ3QL4H/Zsa5BHp8AKkwQg9QLCJba8uns1XQ9HlWblQzhaCajGU1prEeCOaLMaQf+aUTT6hj8nb+O4WnmxmhqFAnxEuZ0Kfy8RBTwTMV2shJpPFZl2YfzZ0hvwKsZTild7gQq8d4iTH1Xo1VSoGEc84gvEQls3ni6lcyTREfuDMVo08kyAOBdrYBSB+U4PsjQRAXviY6DjOWeXC7Vu6peqYFVOVDhEOx+KHjSrXmwpykpbNe+UWfygRO6TnMnbaXHMiKIkRBwoSB1Jp08nmt1+KeFlvtSF3MF5wkAAXJzz5qjZBiaUd4oECKZbkXpJ1bK+yYg5qUkBWiUOlsVt6HnkPPcuimSno9QC52KbAvM4kUFv3/OMvSfmfB1wQSCvR1VGklDgVh6Gsh/Sz/SwFsin7gOhPsnc5Xl+nH+L7eZfXAUDeasbgtPzZHOT6HEGJDIMjmuPXHE7TYGol+RfwPa+7vFVieIJBmATRwW//GSzVvmRr/BOpH/m/wmX6V8LT6LTxk9ryKNsP1kpOF+lZnwRQL+NCA6qndXjV/LrDpQfYVCJKmH/bajMtLDm3hmW2Cjg0RiZG0CZrXVPqRFReInCmKeAUqtfDzCZjQxSGg6P0LDw+DN9RN0gpm8IAhkoA5NJSPJYgHnhQQMdSDqMaZEehqOPa3SpBkXWkIk9mZIATq4bHd8VbRwcXxCqHxhji0d6PXaAkQ1Qgnwvu49FBD0qlCaaQkLzhcVo1Vpx9UtZGu/RJKq+SkCzVyBP4MlWXQ/4BnqRUOMXqEcyAezT45MWElOZMhrn7CLIVKzKrcvXFVXFUTxt6GLJSKzKLYCrF67zlsjjDViyERabDSuoSwyCaBGvZzKrMOr1YB8jQNNPUom2ALFwk9Kh61CDkSZbTTAijpqfPonWbSomechGJjqlIiiEAw2AIp0EKBGnvPdZ1Xi72RgYxVdwL+8gA6hdRFAURukFKGm1OJfukLvDj4nA6jG4W7FXkzjB7E48+1gRaASkWIagSa8TegRr/MxGSRrnl5jKs2AWIEx6vozxXJ69IUkp8mPMbDpVaI0r17gVTGZzj18mMtqFTroBUDvaQNDNtZ3L8Ammkj6iASMGpJzd2v1noH0m18jddw+bhY9PnQhqvyLhV3uq8qFXYFX3U7vA6WsR6/SYkR4eNNtmodttZ3xfTRfv3lM6GjuYSZAAFSHQ5+qg7fRpgefza8LHolkG4TzVoY/4zHd2uPjxweUKJKm10cexg30Kzq6Oh+Pdrw3KYa7DoH82RySXpuraex2iA9MFe3K9g34dBQKIIgTfrxOGBxeU9bXWFNVcGMXVMczTHppdZDR1dRZUH+y6OSQFRovvIY2bnHWhLOHMlz/yEEK9gGzqMnG5bQb8OuyzHumKzprcbNf31qjELzdITCw4LcOYHoUWPMchtWIZ09dVJv2yVXsOlaa7b4Y06zEvY9BOrpgvJI6lLj/62TVTZM16TmKmiRcU9KNNOU8Ugual2eIiX80uIv0/+H2hBzf3dNI3dyVaGBHsJ9BV/zzLc2dsIm/q6YnFJjMZcpUhNVf9UqXaPjKtGdWrsA69ZhmKF3dok812JJrDBZyWSfB/hvt3hFv2GJZmHHYMkBxLSHEPN0tQ6xYrjrst+UKFSgEkLCnF58crplMBlNG+2Rc9S/Ka6mGCAQ6U/kU8y5W1eQY94aHSyJY1o6fQnA5zaQysHa8SPHiutDnvSVqJEqSOFzL+D3rJ26UGSHka0ASoeXUDbwgXY7RloAO1S7KT+PGR5c20b3fVeCTMOk/ro9Zzsba1zaZEGzA11rsl6tddhmu1Mzh2pC0rcwAsJXzA4uoOCdbXahsZymNVoNrK73p0AaB8Po36A82eDe5qvU9bfs3i5e3hteiBPufN9wJAnHFRruUsRk4iTz4lGJkYT/ePMCsxND0IMcbUzEk5mJfIw1e+WspiGRYEVymfJ0KjN2C5HxUBJou0d1yOQzEoqVehjlVrxrjDGs6pQdcn6Q+VXrzYCanpzeD0Is6aw0cfhNguVlDcIA6c7HnObJY32oTEVG15LiktCMSGq45arGMRRUqTWPaxyL5/lpAJWp74iU8790qRJxYZN3TaNliJ2UfF2sjQLPMmHVXtJNJluPdbXQ4Q3HRss/X4eHRUjn3XMNAMFpNZxPv0AQ4TS7yGkoMUOocE4OiFNCzTwb18TbHxLt/Ra45kNtOanhLv7m1GLqrvY/vkakyyTGZptg6JveNFsWlLURMSKvXkFQN79HtAMbbX1OiYFmA+QPAGhKTcMzleuiCfhFJlB03jy7iPPRY57y0JyyqpYA5DEVkKLxAJzp99mtoxsqTM3PReSEhJbgZFwgFV1wW/Rp7hP8Qt5QJB3gZbQS5bYnHZKKCsDjCpjspYsiUgwGgzcYn3rFQBeoqb5bRKRMuZXdAJgbS0q5jbXbm9BZR+V2K4YRrS3gD85jMZpX1+b01E59fDBTYTETdjNBxbmWiFAZN/Vqrp3d/f0vJKYJFcpdXe3VhZnG4ieI6s3FLGjSqKnGyxRzYEmbCdmwm+MNeiDtry0NtWdeg4tuBkOpTQaAqzNn7cqYzRlJA/kb3AID82onJ6BIlFI/X1Sr0czIqIiUN10fSa6shxc5gJftxN8xBUbs9dhbt2CRZr5W1dMahJQP2VWM2OsmMnwPpbNuKGY17kdCFVR3M07N7T2bmxznVvCn8qRlvncsdDPx1dctfL9hr4Nz1ZWNReFFNzJybrqlk9jiWJ1Tk5HuG94a14u+RR7SkJbfak7cnJWP/UHqPAChZtw65w5FEVwlBwFhJGMgegBxrSpNE5nZFy/XcnJTbQ12+RkpQvc3aO9x126dcs0zMRZyt8SsIU/bN10H5C+8bdGelZ7VqoBDWlcn+J1+e0eF9+37Hp/0QMtGKEBrqop3H6eVrQ/WBg3l+4XaYVnpCl5SVWit2q0fveecXu21aMFqGhwmzH3cbN+0fbd89j1gJuM0hJ6cBD5qOwdTraeo4+WALfbOA5tuzSCZtwCEen+iLaI/VKk7WUHRGJlJIz+xMGOWTL2RjdCwBFu8hNuFPI2Xpe289L57Q8Ao57+h8LNOO3t7eNtwy049biFN42TuA3NdFN0KjD6aa9+as3slerTDFyPR+LT8NGXOVJDnO3y/1Bbb2Q8dw2Uc/7GmN32Ek04v+/XV6/TlZslAWcN0NNn+L8PQkf3tTc02qAcfZd7wqy/fIeV5NWyudM1fsvYe06x/fwG4yJWyh/NW4557L2xRt3wjcktgKwzDefPeg3dR0Iwu59kcUsl4bWPFT06UPeec0PIcitT/fnB++A9zxOx66VkkMVXCnxWOXnovNydfKOf+czuYHfM9ol8IHN13+cpeUd3tkxgVdgUtILq1I1OKJ4i0vM0Oe4z9jY0BodQYj0a+vdvNSNPmKaMymFl+Vp8spg5Uco0YZ6DquG4PzVlIDM0JMt8QWBTWBWUgl5XR1Ds7qbv6cBSWSg04ST2/ukzaoJJYhMG0PiVEfpe+dbUGJ89Be5CPr1fXJ82Y01Vmk9WF5f41R5XklRy+5jqhWtXBJObkTkrv35XVQrc64q5JvtqphYuHNXx3K1LyfIEQUIlwYrRsVVfyTXUGiVmjqAlYKRKC+ZMjMoIlKvj5IGZ1fvb5zUMl99/nNed/PhTGas/9ZcusMRnXkBv8tKAp75/2pxfXeqgV7dcnXDZ2+ZQ4lfqrVR6l/qV8KkJDVFDU8cXDilDpy8KSG2Y195evfyctEuuzgicGDUnPByolounDNVkFQ1eLR0+CpTo8Lep/ay4ORuzgWiNFiqtOoYejSgczLQ3BqVP3Sb3VnuvsMRebpuaHtSoRIojFT3ud5UhqrB0v7xhbZIktTRj77r3KCKLkcThfFp+6qbrDM8MDc0cZ4nmca8n3SUvYAZlpb2A7r+QhD/5+lL+CcnDn2zkighz0XwBe9HDKGCOOAyKfphMGNC3/icGe3psTjuyKZBLxo8MArsfAIHr+bRCRjYP8l9LzdUC9Ty2JnN4VaUuCay7LaNwOmA8rz86ya+9iigzbEfz0fEBRGWRQO9G5OZRuC0vty4iF5olZigasAI5gQ4WOOItnZy510M89wH6Ecas7FYnqij5UQvyCKJORRqC5Sp/m+RoNhUc3JcqSO0DyfZ+i229diskcRJaQVTLc0xWxaiSB/xTTEv3lLBcYZJSkF/haqIiTxQWM+syX95AoSxGVjjAS4ErBEsJzRMlKgQF5RfKUhCGulwbW54VMguuZAKhsHkUgsO3pQPQgkfqG1rTa8PpmhqrkynbikvjkocWUGoE9BJu5QORc50hDbpteqCgw0Wy8Kut8tXUUBKT09214R8NI7DUbFV9qwN1BJAiJt46xr4+LW3t+4tgdbj9ECThEDJhaNThIIlxSsRffXQtYui+PlD1X2jhn5CYzAn2Gd5VjxN2Ab7wIQbEnd1N43RvL9FqkhPOs7/RbrfiEdz+CA+u/A6GVfV2u9Fv4Q8BQd4a9q0//ihTO7EjT1ISsxO9T2c0NHuqGYrEKcrvxN6fOAHQyaOAj69CETNWXlKRFaYLDdWFZZGWyOlC58zkKpRbVBc7NWbSpJipcT+XtKSWpgN+xAVbf4DS2FlC3NQ64I08DGDyeaIzwQNXffAZ0YBfvyqJp2APoWp0gHNntOEcXrimTvJVXFcQrkY/kJd0BvJ4Sep+P3VYASFy2fUq8dWp5xgJxYWFNkdTNnXoMIXTdWYJQy1XX0kUFoihBbBvN3r283Si01KGxn8Lf7tHW1OqGK0Wp2ImTAtJbHxz1WiauKnNY/vE7/5aNL3WH9WMUKNSaIH3xNUgTdTU7s77ynNv35IqAtXie9CMBXHUIzScNoQSumrk78JIwIQZAyTV9i1y8QrQByLR0OlqhWelDQThYB0UPMTMsLNT+Js6dz+gU3xW5z1Zy9/b45x1M/+eFZogGC7rneVyfZq8KH0SbBpTPAadNvFwdsKktCY4v3h+Gas1O0YeGN/gkRn9FwdsSpsUn31y6mRmf6SygLWlZJoRy6vSikOErJKK7ZumFXm2TmjN5hAl4xph1jJthnbZ8PlHjswfbohsXJHLqCTvGfct9PBRstygSZp6/65BRqVxcu0PYjUGzn5r1RcLalcRFgD9mrq9vVY+8tntYJHKBITdffSoRt0rsQ0OEWIdGiKUYk5tLfHTphuSMOA7OKEwBZK4BYKPO9m67AEC5zsSPOLDUaIdl0cMDhLXdwJv6Ej4s9wMHHzMIBowWobaJLZHDzVgiYTq19FB4zYg9Yx1w+wv2mIOWzClJ6LqHdCzMYtiLIbsHPR2RdNgs/4dVhf78JzZxtpmQXFla81fj53ICbbfRssIa4uRYgEHbT5HO1/G6XemD9k0LBMHkcIbKJKNlQGBMCB8i2BLOJP5C5+3OowZmlV2vaGGAUpAGL56Rml0kUxWFF36PLqMXJFsFp6XrTJl80olNdA1TxKXiAqbmwtFJeK7lpD6/UWF4pK7MexDqFisqmrTY1VXyyW6G6SvagYVyIwih1SiVpspW1j6opp1k7ZDd9b/zlWkxwBTx48BW/vxaZmnbORzUXcRLP//cRW3DEdmPbQ7S0YbIpCE+SwxFJmr2TU6UmnWmZCWy7INGS4+RExxM5EMAP6kGvk+Eecgt54Vg5THbcoDyHxQlEmxsG4nErop/0oThzu8EVsQpcl2RS0yU7Q4/Hr2M+S8YywqQvXfn/9AdrJM0kQD8shUIrPlcU878kWtwhzjrkMcdr0qNyJsR40rlLmsNUEiah1knO9wAJlXinLCES2aZn+wzEXKX7azfA/2HRyPxv/d1SP+E5S6fbi2wkUwzrc7A8T+KMtSYlJuI/zDQvmzDaf8r7j8808APH4MuLpeAiqm8wgq/mXiPOAe3A4Qx/YiErzoI3NaXuZ8JNSFi29ogAHrb+ggDnbdMMF6oNz1AvNBFUAAcHQDABSCFZMbYmAWSNOCuIWH6XNo4bUbngc8eElfQAu/30ADmeH4hzFgFaO0APxeov2qIHr4Rl8TSHCY833+o5TI1LyFRUQd2R4JBRRt0y9NGf27qmuc8NB8MsVBpcRNFv5Bo11QzR8v4dPclJ3hYQV+L9F+VXD8evjGHa8pNCaMMcXZ/3FOC/qpMTVv3SumsAfCviUoWrtfbnYZd/a7nmzXXOqFh+azUIxJk0t5Czne+0Hj8i5QePnj5TSTw+WdKYToMSjVqMe5P27CQVE13WbYTcvhdLk9sXgimUpnsrl8oVgqV6q1eqPZane6vf5gOBpPprP5YrkilHFhmJbtuAqlSq1J1qakpqVn6DKzsretcsF7QQ8amY5BhKeyhWKODZDBdGQC0m5PEM1vz3P7bEH7HNhDJIuKMkQCxfuoTZWwel4aTixtjp6lcnIW60Dl3DCpgFG0O8N5OTLCpWxNGbem6s5iMUc4l62dHpah8Eh7hgu2JUEJ21fp2MVUonZEkhTdeYn5yAvXvEvUtPzo9DhFqjjtSWKwkfzpAHMc4gF3A1I9ZZT4GhATXhBrCynxJHaUiXO4VY6Obm9kvRXSH4bbvqoytezcTSCJjiT6oLsCI56XoYBaa3miN66FcYHkLMbpBrFItStCLlQQW5O4CO7d4TDCWbA9Z6TTSi2hGyovp1qOUqWjnzYD1frCqAZ4AqmIkUlhJMGv3qy1BlW2GDmHAAA=);font-weight:400;font-style:normal}",""])}])})); |