1async function e(e,t=null){e.classList.remove(`hidden`),await n(`enter`,e,t)}async function t(e,t=null){await n(`leave`,e,t),e.classList.add(`hidden`)}async function n(e,t,n){let s=t.dataset,c=n?`${n}-${e}`:e,l=`transition${e.charAt(0).toUpperCase()+e.slice(1)}`,u=s[l]?s[l].split(` `):[c],d=s[`${l}Start`]?s[`${l}Start`].split(` `):[`${c}-start`],f=s[`${l}End`]?s[`${l}End`].split(` `):[`${c}-end`];r(t,u),r(t,d),await a(),i(t,d),r(t,f),await o(t),i(t,f),i(t,u)}function r(e,t){e.classList.add(...t)}function i(e,t){e.classList.remove(...t)}function a(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})})}function o(e){return new Promise(t=>{let n=getComputedStyle(e).transitionDuration.split(`,`)[0],r=Number(n.replace(`s`,``))*1e3;setTimeout(()=>{t()},r)})}export{t as n,e as t}; 2//# sourceMappingURL=el-transition-BA9kbVlR.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.