var We=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setFrameworkOverrides(e){this.frameworkOverrides=e}getListeners(e,t,s){const i=t?this.allAsyncListeners:this.allSyncListeners;let o=i.get(e);return!o&&s&&(o=new Set,i.set(e,o)),o}noRegisteredListenersExist(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0}addEventListener(e,t,s=!1){this.getListeners(e,s,!0).add(t)}removeEventListener(e,t,s=!1){const i=this.getListeners(e,s,!1);i&&(i.delete(t),i.size===0&&(s?this.allAsyncListeners:this.allSyncListeners).delete(e))}addGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).add(e)}removeGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).delete(e)}dispatchEvent(e){const t=e;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){const s=e.type;if(t&&"event"in e){const a=e.event;a instanceof Event&&(e.eventPath=a.composedPath())}const i=(a,l)=>a.forEach(d=>{if(!l.has(d))return;const c=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>d(e)):()=>d(e);t?this.dispatchAsync(c):c()}),o=this.getListeners(s,t,!1)??new Set,n=new Set(o);n.size>0&&i(n,o),new Set(t?this.globalAsyncListeners:this.globalSyncListeners).forEach(a=>{const l=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>a(s,e)):()=>a(s,e);t?this.dispatchAsync(l):l()})}dispatchAsync(e){if(this.asyncFunctionsQueue.push(e),!this.scheduled){const t=()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)};this.frameworkOverrides?this.frameworkOverrides.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],e.forEach(t=>t())}};function vu(e,t){return t}function Wi(e){return e?.getLocaleTextFunc()??vu}function de(e,t,s){s==null||typeof s=="string"&&s==""?_i(e,t):ce(e,t,s)}function ce(e,t,s){e.setAttribute($n(t),s.toString())}function _i(e,t){e.removeAttribute($n(t))}function $n(e){return`aria-${e}`}function X(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function wu(e){let t;return e==="asc"?t="ascending":e==="desc"?t="descending":e==="mixed"?t="other":t="none",t}function bu(e){return parseInt(e.getAttribute("aria-posinset"),10)}function Su(e){return e.getAttribute("aria-label")}function Kt(e,t){de(e,"label",t)}function Os(e,t){de(e,"labelledby",t)}function yu(e,t){de(e,"describedby",t)}function Kn(e,t){de(e,"live",t)}function Ru(e,t){de(e,"atomic",t)}function xu(e,t){de(e,"relevant",t)}function Fu(e,t){de(e,"level",t)}function jn(e,t){de(e,"disabled",t)}function Ui(e,t){de(e,"hidden",t)}function Eu(e,t){de(e,"activedescendant",t)}function Gs(e,t){ce(e,"expanded",t)}function Du(e){_i(e,"expanded")}function qn(e,t){ce(e,"setsize",t)}function Yn(e,t){ce(e,"posinset",t)}function Pu(e,t){ce(e,"multiselectable",t)}function Qn(e,t){ce(e,"rowcount",t)}function Hs(e,t){ce(e,"rowindex",t)}function Mu(e,t){ce(e,"rowspan",t)}function Zn(e,t){ce(e,"colcount",t)}function $i(e,t){ce(e,"colindex",t)}function Xn(e,t){ce(e,"colspan",t)}function Jn(e,t){ce(e,"sort",t)}function er(e){_i(e,"sort")}function Bs(e,t){de(e,"selected",t)}function Au(e,t){ce(e,"checked",t===void 0?"mixed":t)}function tr(e,t){de(e,"controls",t.id),Os(t,e.id)}function Tu(e,t){de(e,"haspopup",t===!1?null:t)}function Ki(e,t){return t===void 0?e("ariaIndeterminate","indeterminate"):t===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}var ji,qi,Yi,Qi,Zi,Xi,Ji,eo;function Ie(){return ji===void 0&&(ji=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),ji}function sr(){if(qi===void 0){const e=window;qi=!!e.chrome&&(!!e.chrome.webstore||!!e.chrome.runtime)||/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}return qi}function to(){return Yi===void 0&&(Yi=/(firefox)/i.test(navigator.userAgent)),Yi}function ir(){return Qi===void 0&&(Qi=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),Qi}function _e(){return Zi===void 0&&(Zi=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1),Zi}function so(e){if(!e)return null;const t=e.tabIndex,s=e.getAttribute("tabIndex");return t===-1&&(s===null||s===""&&!to())?null:t.toString()}function ku(){if(eo!==void 0)return eo;if(!document.body)return-1;let e=1e6;const t=to()?6e6:1e9,s=document.createElement("div");for(document.body.appendChild(s);;){const i=e*2;if(s.style.height=i+"px",i>t||s.clientHeight!==i)break;e=i}return document.body.removeChild(s),eo=e,e}function Iu(){return Ji==null&&or(),Ji}function or(){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 s=t.offsetWidth-t.clientWidth;s===0&&t.clientWidth===0&&(s=null),t.parentNode&&t.parentNode.removeChild(t),s!=null&&(Ji=s,Xi=s===0)}function nr(){return Xi==null&&or(),Xi}var Vs;function Lu(e,t,s){const i=e.parentElement;let o=i&&i.firstChild;for(;o;)t&&o.classList.toggle(t,o===e),s&&o.classList.toggle(s,o!==e),o=o.nextSibling}var Ou="[tabindex], input, select, button, textarea, [href]",rr="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function io(e){const t=Element.prototype.matches||Element.prototype.msMatchesSelector,i=t.call(e,"input, select, button, textarea"),o=t.call(e,rr),n=me(e);return i&&!o&&n}function N(e,t,s={}){const{skipAriaHidden:i}=s;e.classList.toggle("ag-hidden",!t),i||Ui(e,!t)}function ar(e,t,s={}){const{skipAriaHidden:i}=s;e.classList.toggle("ag-invisible",!t),i||Ui(e,!t)}function Pt(e,t){const s="disabled",i=t?o=>o.setAttribute(s,""):o=>o.removeAttribute(s);i(e),hr(e.querySelectorAll("input"),o=>i(o))}function st(e,t,s){let i=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof s=="number"){if(++i>s)break}else if(e===s)break}return!1}function it(e){const{height:t,width:s,borderTopWidth:i,borderRightWidth:o,borderBottomWidth:n,borderLeftWidth:r,paddingTop:a,paddingRight:l,paddingBottom:d,paddingLeft:c,marginTop:u,marginRight:h,marginBottom:g,marginLeft:p,boxSizing:f}=window.getComputedStyle(e);return{height:parseFloat(t||"0"),width:parseFloat(s||"0"),borderTopWidth:parseFloat(i||"0"),borderRightWidth:parseFloat(o||"0"),borderBottomWidth:parseFloat(n||"0"),borderLeftWidth:parseFloat(r||"0"),paddingTop:parseFloat(a||"0"),paddingRight:parseFloat(l||"0"),paddingBottom:parseFloat(d||"0"),paddingLeft:parseFloat(c||"0"),marginTop:parseFloat(u||"0"),marginRight:parseFloat(h||"0"),marginBottom:parseFloat(g||"0"),marginLeft:parseFloat(p||"0"),boxSizing:f}}function Ns(e){const t=it(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom:t.height}function Mt(e){const t=it(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight:t.width}function oo(e){const{height:t,marginBottom:s,marginTop:i}=it(e);return Math.floor(t+s+i)}function jt(e){const{width:t,marginLeft:s,marginRight:i}=it(e);return Math.floor(t+s+i)}function lr(e){const t=e.getBoundingClientRect(),{borderTopWidth:s,borderLeftWidth:i,borderRightWidth:o,borderBottomWidth:n}=it(e);return{top:t.top+(s||0),left:t.left+(i||0),right:t.right+(o||0),bottom:t.bottom+(n||0)}}function zs(){if(typeof Vs=="boolean")return Vs;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=`