function i(n){return Array.isArray(n)?n:[n]}const e={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"};Object.keys(e).filter(n=>{if(typeof document>"u")return!1;const t=document.getElementsByTagName("html")[0];return n in(t?t.style:{})})[0];const o=!(typeof window<"u"&&window.document&&window.document.createElement);export{i as dataToArray,o as windowIsUndefined};
