'use strict';function e(n){return typeof window!="object"||!window||typeof document=="undefined"||typeof HTMLElement=="undefined"?false:n===document?true:"HTMLElement"in window?!!n&&n instanceof HTMLElement:!!n&&typeof n=="object"&&n.nodeType===1&&!!n.nodeName}exports.isDOMElement=e;