Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 44x 44x 44x 44x 44x 44x 44x 44x 44x 44x 44x 44x 44x | import { ObjectLookupOwnGetter } from '@locker/near-membrane-shared';
const {
prototype: DocumentProto
} = Document;
const {
close: DocumentProtoClose,
createElement: DocumentProtoCreateElement,
open: DocumentProtoOpen
} = DocumentProto;
const DocumentProtoBodyGetter = ObjectLookupOwnGetter(DocumentProto, 'body');
// The DOMException constructor was exposed in Edge 12 but wasn't invocable
// until Edge 79. As long as this is used for instanceof checks it should be fine.
// https://developer.mozilla.org/en-US/docs/Web/API/DOMException#browser_compatibility
const DOMExceptionCtor = DOMException;
const {
DATA_CLONE_ERR: DATA_CLONE_ERROR_CODE
} = DOMExceptionCtor;
const DOMExceptionProtoCodeGetter = ObjectLookupOwnGetter(DOMExceptionCtor.prototype, 'code');
const {
attachShadow: ElementProtoAttachShadow,
remove: ElementProtoRemove,
setAttribute: ElementProtoSetAttribute
} = Element.prototype;
const HTMLElementProtoStyleGetter = ObjectLookupOwnGetter(HTMLElement.prototype, 'style');
const HTMLIFrameElementProtoContentWindowGetter = ObjectLookupOwnGetter(HTMLIFrameElement.prototype, 'contentWindow');
const {
prototype: NodeProto
} = Node;
const {
appendChild: NodeProtoAppendChild
} = NodeProto;
const NodeProtoLastChildGetter = ObjectLookupOwnGetter(NodeProto, 'lastChild');
const rootWindow = window;
export { DATA_CLONE_ERROR_CODE, DOMExceptionCtor, DOMExceptionProtoCodeGetter, DocumentProtoBodyGetter, DocumentProtoClose, DocumentProtoCreateElement, DocumentProtoOpen, ElementProtoAttachShadow, ElementProtoRemove, ElementProtoSetAttribute, HTMLElementProtoStyleGetter, HTMLIFrameElementProtoContentWindowGetter, NodeProtoAppendChild, NodeProtoLastChildGetter, rootWindow };
|