Module 330976

528 characters · in 330757.ed737ade7cc45a1e.js
Dependencies
Required by (2)
Lazily required by (0)none
Requires (2)
Lazily requires (0)none
Source Raw
function(e,t,r){"use strict";r.d(t,{Ig:()=>a,vX:()=>o});var n=r(256062),i=r(143761);function o(e){var t,r,o;let s,l,u=(t=(0,i.TW)(e),s=(0,n.bq)(t),(l=s?.getAttribute("aria-activedescendant"))&&t.getElementById(l)||s);u!==e&&(u&&(r=u,o=e,r.dispatchEvent(new FocusEvent("blur",{relatedTarget:o})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:o}))),e&&a(e,u))}function a(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}}