UNPKG

@qgame/adapter

Version:

My webpack project

924 lines (923 loc) 234 kB
! function (e) { var t = {}; function n(o) { if (t[o]) return t[o].exports; var r = t[o] = { i: o, l: !1, exports: {} }; return e[o].call(r.exports, r, r.exports, n), r.l = !0, r.exports } n.m = e, n.c = t, n.d = function (e, t, o) { n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: o }) }, n.r = function (e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, n.t = function (e, t) { if (1 & t && (e = n(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var o = Object.create(null); if (n.r(o), Object.defineProperty(o, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var r in e) n.d(o, r, function (t) { return e[t] }.bind(null, r)); return o }, n.n = function (e) { var t = e && e.__esModule ? function () { return e.default } : function () { return e }; return n.d(t, "a", t), t }, n.o = function (e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, n.p = "", n(n.s = 15) }([function (e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.SYMBOL_NODE = Symbol("Node"), t.SYMBOL_FONTFACESET = Symbol("FontFaceSet"), t.SYMBOL_CHARACTER_DATA = Symbol("CharacterData"), t.SYMBOL_TEXT = Symbol("Text"), t.SYMBOL_DOCUMENT = Symbol("Document"), t.SYMBOL_HTMLDOCUMENT = Symbol("HTMLDocument"), t.SYMBOL_LOCATION = Symbol("location"), t.SYMBOL_LOCALSTORAGE = Symbol("localstorage"), t.SYMBOL_HASINSTANCE = Symbol("hasInstance"), t.SYMBOL_DEVICE_MOTION = Symbol("deviceMotion") }, function (e, t, n) { "use strict"; var o = this && this.__decorate || function (e, t, n, o) { var r, i = arguments.length, a = i < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, o); else for (var c = e.length - 1; c >= 0; c--)(r = e[c]) && (a = (i < 3 ? r(a) : i > 3 ? r(t, n, a) : r(t, n)) || a); return i > 3 && a && Object.defineProperty(t, n, a), a }; Object.defineProperty(t, "__esModule", { value: !0 }); var r = new WeakMap, i = function (e) { return function (t, n) { t[n] = e } }, a = function () { function e(e, t) { if (void 0 === t && (t = { bubbles: !1, cancelable: !1, composed: !1 }), this.$type = "", this.$bubbles = !1, this.$cancelBubble = !1, this.$composed = !1, this.$stopped = !1, this.$currentTarget = null, this.$defaultPrevented = !1, this.$eventPhase = 2, this.$isTrusted = !1, this.$returnValue = !0, this.$target = null, this.$timeStamp = Date.now(), !e) throw new TypeError("Failed to construct 'Event': 1 argument required, but only 0 present."); this.$type = e, this.$bubbles = !!t.bubbles, this.$cancelable = !!t.cancelable, this.$composed = !!t.composed, this.srcElement = null, this.path = [], r.set(this, Object.create(null)), this.$passiveListener = null } return Object.defineProperty(e.prototype, "cancelBubble", { get: function () { return this.$cancelBubble }, set: function (e) { this.$cancelBubble = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "returnValue", { get: function () { return this.$returnValue }, set: function (e) { this.$returnValue = e }, enumerable: !0, configurable: !0 }), e.prototype.composedPath = function () { return null === this.$currentTarget ? [] : [this.$currentTarget] }, e.prototype.initEvent = function (e, t, n) { void 0 === t && (t = !1), void 0 === n && (n = !1), this.$type = e, this.$bubbles = t, this.$cancelable = n }, e.prototype.preventDefault = function () { null === this.$passiveListener ? this.cancelable && (this.$defaultPrevented = !0) : console.warn("Event#preventDefault() was called from a passive listener:", this.$passiveListener) }, e.prototype.stopImmediatePropagation = function () { this.$stopped = !0 }, e.prototype.stopPropagation = function () {}, Object.defineProperty(e.prototype, "type", { get: function () { return this.$type }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "target", { get: function () { return this.$target }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "currentTarget", { get: function () { return this.$currentTarget }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "timeStamp", { get: function () { return this.$timeStamp }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "defaultPrevented", { get: function () { return this.$defaultPrevented }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "bubbles", { get: function () { return this.$bubbles }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "cancelable", { get: function () { return this.$cancelable }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "eventPhase", { get: function () { return this.$eventPhase }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "composed", { get: function () { return this.$composed }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isTrusted", { get: function () { return this.$isTrusted }, enumerable: !0, configurable: !0 }), e.ALT_MASK = 1, e.AT_TARGET = 2, e.BUBBLING_PHASE = 3, e.CAPTURING_PHASE = 1, e.CONTROL_MASK = 2, e.META_MASK = 8, e.NONE = 0, e.SHIFT_MASK = 4, o([i(1)], e.prototype, "ALT_MASK", void 0), o([i(2)], e.prototype, "AT_TARGET", void 0), o([i(3)], e.prototype, "BUBBLING_PHASE", void 0), o([i(1)], e.prototype, "CAPTURING_PHASE", void 0), o([i(2)], e.prototype, "CONTROL_MASK", void 0), o([i(8)], e.prototype, "META_MASK", void 0), o([i(0)], e.prototype, "NONE", void 0), o([i(4)], e.prototype, "SHIFT_MASK", void 0), e }(); t.default = a }, function (e, t, n) { "use strict"; var o, r = this && this.__extends || (o = function (e, t) { return (o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (e, t) { e.__proto__ = t } || function (e, t) { for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]) })(e, t) }, function (e, t) { function n() { this.constructor = e } o(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }), i = this && this.__decorate || function (e, t, n, o) { var r, i = arguments.length, a = i < 3 ? t : null === o ? o = Object.getOwnPropertyDescriptor(t, n) : o; if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, o); else for (var c = e.length - 1; c >= 0; c--)(r = e[c]) && (a = (i < 3 ? r(a) : i > 3 ? r(t, n, a) : r(t, n)) || a); return i > 3 && a && Object.defineProperty(t, n, a), a }, a = this && this.__importDefault || function (e) { return e && e.__esModule ? e : { default: e } }; Object.defineProperty(t, "__esModule", { value: !0 }); var c = a(n(3)), l = function (e) { return function (t, n) { t[n] = e } }, p = function (e) { function t() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; var o = e.call(this) || this; return o.$nodeType = 1, o.$nodeValue = "", o.$nodeName = "", o.$parentNode = null, o } return r(t, e), Object.defineProperty(t.prototype, "baseURI", { get: function () { if (!(this instanceof t)) throw new TypeError("'get baseURI' called on an object that does not implement interface Node."); return "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "childNodes", { get: function () { if (!(this instanceof t)) throw new TypeError("'get childNodes' called on an object that does not implement interface Node."); return [] }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "firstChild", { get: function () { if (!(this instanceof t)) throw new TypeError("'get firstChild' called on an object that does not implement interface Node."); return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isConnected", { get: function () { if (!(this instanceof t)) throw new TypeError("'get isConnected' called on an object that does not implement interface Node.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "lastChild", { get: function () { if (!(this instanceof t)) throw new TypeError("'get lastChild' called on an object that does not implement interface Node."); return null }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "nextSibling", { get: function () { if (!(this instanceof t)) throw new TypeError("'get nextSibling' called on an object that does not implement interface Node."); if (!this.parentNode) return null; for (var e = this.parentNode.children.length, n = !1, o = this.parentNode.children, r = 0; r < e; r++) { var i = o[r]; if (n) return i; i === this && (n = !0) } }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "nodeName", { get: function () { if (!(this instanceof t)) throw new TypeError("'get nodeName' called on an object that does not implement interface Node."); return this.$nodeName }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "nodeType", { get: function () { if (!(this instanceof t)) throw new TypeError("'get nodeType' called on an object that does not implement interface Node."); return this.$nodeType }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "nodeValue", { get: function () { if (!(this instanceof t)) throw new TypeError("'get nodeValue' called on an object that does not implement interface Node."); return this.$nodeValue }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ownerDocument", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ownerDocument' called on an object that does not implement interface Node.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "parentElement", { get: function () { if (!(this instanceof t)) throw new TypeError("'get parentElement' called on an object that does not implement interface Node."); return null === this.parentNode ? null : 1 === this.parentNode.nodeType ? this.parentNode : void 0 }, set: function (e) { this.$parentNode = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "parentNode", { get: function () { if (!(this instanceof t)) throw new TypeError("'get parentNode' called on an object that does not implement interface Node."); return this.$parentNode }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "previousSibling", { get: function () { if (!(this instanceof t)) throw new TypeError("'get previousSibling' called on an object that does not implement interface Node.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "textContent", { get: function () { if (!(this instanceof t)) throw new TypeError("'get textContent' called on an object that does not implement interface Node.") }, enumerable: !0, configurable: !0 }), t.prototype.appendChild = function () { if (!(this instanceof t)) throw new TypeError("'appendChild' called on an object that does not implement interface Node.") }, t.prototype.cloneNode = function (e) { if (!(this instanceof t)) throw new TypeError("'cloneNode' called on an object that does not implement interface Node.") }, t.prototype.compareDocumentPosition = function (e) { if (!(this instanceof t)) throw new TypeError("'compareDocumentPosition' called on an object that does not implement interface Node.") }, t.prototype.contains = function (e) { if (!(this instanceof t)) throw new TypeError("'contains' called on an object that does not implement interface Node.") }, t.prototype.getRootNode = function (e) { if (!(this instanceof t)) throw new TypeError("'getRootNode' called on an object that does not implement interface Node.") }, t.prototype.hasChildNodes = function () { if (!(this instanceof t)) throw new TypeError("'hasChildNodes' called on an object that does not implement interface Node.") }, t.prototype.insertBefore = function () { if (!(this instanceof t)) throw new TypeError("'insertBefore' called on an object that does not implement interface Node.") }, t.prototype.isDefaultNamespace = function (e) { if (!(this instanceof t)) throw new TypeError("'isDefaultNamespace' called on an object that does not implement interface Node.") }, t.prototype.isEqualNode = function (e) { if (!(this instanceof t)) throw new TypeError("'isEqualNode' called on an object that does not implement interface Node.") }, t.prototype.isSameNode = function (e) { if (!(this instanceof t)) throw new TypeError("'isSameNode' called on an object that does not implement interface Node.") }, t.prototype.lookupNamespaceURI = function (e) { if (!(this instanceof t)) throw new TypeError("'lookupNamespaceURI' called on an object that does not implement interface Node.") }, t.prototype.lookupPrefix = function (e) { if (!(this instanceof t)) throw new TypeError("'lookupPrefix' called on an object that does not implement interface Node.") }, t.prototype.normalize = function () { if (!(this instanceof t)) throw new TypeError("'normalize' called on an object that does not implement interface Node.") }, t.prototype.removeChild = function () { if (!(this instanceof t)) throw new TypeError("'removeChild' called on an object that does not implement interface Node.") }, t.prototype.replaceChild = function () { if (!(this instanceof t)) throw new TypeError("'replaceChild' called on an object that does not implement interface Node.") }, t.prototype.setAttribute = function (e, t) { this[e] = t }, t.prototype.getAttribute = function (e) { return this[e] }, t.ATTRIBUTE_NODE = 2, t.CDATA_SECTION_NODE = 4, t.COMMENT_NODE = 8, t.DOCUMENT_FRAGMENT_NODE = 11, t.DOCUMENT_NODE = 9, t.DOCUMENT_POSITION_CONTAINED_BY = 16, t.DOCUMENT_POSITION_CONTAINS = 8, t.DOCUMENT_POSITION_DISCONNECTED = 1, t.DOCUMENT_POSITION_FOLLOWING = 4, t.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32, t.DOCUMENT_POSITION_PRECEDING = 2, t.DOCUMENT_TYPE_NODE = 10, t.ELEMENT_NODE = 1, t.ENTITY_NODE = 6, t.ENTITY_REFERENCE_NODE = 5, t.NOTATION_NODE = 12, t.PROCESSING_INSTRUCTION_NODE = 7, t.TEXT_NODE = 3, i([l(2)], t.prototype, "ATTRIBUTE_NODE", void 0), i([l(4)], t.prototype, "CDATA_SECTION_NODE", void 0), i([l(8)], t.prototype, "COMMENT_NODE", void 0), i([l(11)], t.prototype, "DOCUMENT_FRAGMENT_NODE", void 0), i([l(9)], t.prototype, "DOCUMENT_NODE", void 0), i([l(16)], t.prototype, "DOCUMENT_POSITION_CONTAINED_BY", void 0), i([l(8)], t.prototype, "DOCUMENT_POSITION_CONTAINS", void 0), i([l(1)], t.prototype, "DOCUMENT_POSITION_DISCONNECTED", void 0), i([l(4)], t.prototype, "DOCUMENT_POSITION_FOLLOWING", void 0), i([l(32)], t.prototype, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", void 0), i([l(2)], t.prototype, "DOCUMENT_POSITION_PRECEDING", void 0), i([l(10)], t.prototype, "DOCUMENT_TYPE_NODE", void 0), i([l(1)], t.prototype, "ELEMENT_NODE", void 0), i([l(6)], t.prototype, "ENTITY_NODE", void 0), i([l(5)], t.prototype, "ENTITY_REFERENCE_NODE", void 0), i([l(12)], t.prototype, "NOTATION_NODE", void 0), i([l(7)], t.prototype, "PROCESSING_INSTRUCTION_NODE", void 0), i([l(3)], t.prototype, "TEXT_NODE", void 0), t }(c.default); t.default = p }, function (e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var o = new WeakMap, r = function () { function e() { o.set(this, Object.create(null)) } return e.prototype.addEventListener = function (e, t, n) { if (!e) throw new TypeError("Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only 0 present."); if (!t) throw new TypeError("Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only 1 present."); if (!(t instanceof Object)) throw new TypeError("Failed to execute 'addEventListener' on 'EventTarget': The callback provided as parameter 2 is not an object."); var r = o.get(this); r[e] || (r[e] = []); for (var i = r[e], a = 0, c = i; a < c.length; a++) { if (c[a] === t) return } i.push({ target: this, listener: t, options: n }), n && (n.capture && console.warn("EventTarget.addEventListener: options.capture is not implemented."), n.passive && console.warn("EventTarget.addEventListener: options.passive is not implemented.")) }, e.prototype.removeEventListener = function (e, t, n) { if (!e) throw new TypeError("Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 0 present."); if (!t) throw new TypeError("Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only 1 present."); if (!(t instanceof Object)) throw new TypeError("Failed to execute 'removeEventListener' on 'EventTarget': The callback provided as parameter 2 is not an object."); var r = o.get(this); r[e] || (r[e] = []); var i = r[e]; n && console.warn("EventTarget.removeEventListener: options.capture or useCapture is not implemented."); for (var a = 0, c = i.length; a < c; a++) if (t === i[a]) return void i.splice(a, 1) }, e.prototype.dispatchEvent = function (e) { if (!e) throw new TypeError("Failed to execute 'dispatchEvent' on 'EventTarget': 1 argument required, but only 0 present."); if (!(e instanceof Event)) throw new TypeError("Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'."); var t = o.get(this)[e.type]; if (t) { Object.defineProperty(e, "target", { configurable: !0, writable: !0, value: this }), Object.defineProperty(e, "currentTarget", { configurable: !0, writable: !0, value: this }); for (var n = 0, r = t.length; n < r; n++) { var i = t[n], a = i.options; a && a.once && i.target.removeEventListener(e.type, i.listener), "function" == typeof i.listener ? i.listener.call(i.target, e) : i.listener.handleEvent(e) } e.$currentTarget = null, e.$target = null } return !0 }, e }(); t.default = r }, function (e, t, n) { "use strict"; var o, r = this && this.__extends || (o = function (e, t) { return (o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (e, t) { e.__proto__ = t } || function (e, t) { for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]) })(e, t) }, function (e, t) { function n() { this.constructor = e } o(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }), i = this && this.__importDefault || function (e) { return e && e.__esModule ? e : { default: e } }; Object.defineProperty(t, "__esModule", { value: !0 }); var a = function (e) { function t() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; var o = e.apply(this, t) || this; return o.$accessKey = "", o.$accessKeyLabel = "", o.$dataset = {}, o.$dir = "", o.$draggable = !1, o.$hidden = !1, o.$innerText = "", o.$lang = "", o.$offsetHeight = 0, o.$offsetLeft = 0, o.$offsetTop = 0, o.$offsetWidth = 0, o.$style = {}, o.$tabIndex = 0, o.$title = "", t.length && "string" == typeof t[0] && (o.$tagName = t[0]), o } return r(t, e), t.prototype.blur = function () { if (!(this instanceof t)) throw new TypeError("'blur' called on an object that does not implement interface HTMLElement.") }, t.prototype.click = function () { if (!(this instanceof t)) throw new TypeError("'click' called on an object that does not implement interface HTMLElement.") }, t.prototype.focus = function () { if (!(this instanceof t)) throw new TypeError("'focus' called on an object that does not implement interface HTMLElement.") }, Object.defineProperty(t.prototype, "accessKey", { get: function () { if (!(this instanceof t)) throw new TypeError("'get accessKey' called on an object that does not implement interface HTMLElement."); return this.$accessKey }, set: function (e) { this.$accessKey = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "accessKeyLabel", { get: function () { if (!(this instanceof t)) throw new TypeError("'get accessKeyLabel' called on an object that does not implement interface HTMLElement."); return this.$accessKeyLabel }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "dataset", { get: function () { if (!(this instanceof t)) throw new TypeError("'get dataset' called on an object that does not implement interface HTMLElement."); return this.$dataset }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "dir", { get: function () { if (!(this instanceof t)) throw new TypeError("'get dir' called on an object that does not implement interface HTMLElement."); return this.$dir }, set: function (e) { this.$dir = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "draggable", { get: function () { if (!(this instanceof t)) throw new TypeError("'get draggable' called on an object that does not implement interface HTMLElement."); return this.$draggable }, set: function (e) { this.$draggable = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "hidden", { get: function () { if (!(this instanceof t)) throw new TypeError("'get hidden' called on an object that does not implement interface HTMLElement."); return this.$hidden }, set: function (e) { this.$hidden = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "innerText", { get: function () { if (!(this instanceof t)) throw new TypeError("'get innerText' called on an object that does not implement interface HTMLElement."); return this.$innerText }, set: function (e) { this.$innerText = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "lang", { get: function () { if (!(this instanceof t)) throw new TypeError("'get lang' called on an object that does not implement interface HTMLElement."); return this.$lang }, set: function (e) { this.$lang = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "offsetHeight", { get: function () { if (!(this instanceof t)) throw new TypeError("'get offsetHeight' called on an object that does not implement interface HTMLElement."); return this.$offsetHeight }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "offsetLeft", { get: function () { if (!(this instanceof t)) throw new TypeError("'get offsetLeft' called on an object that does not implement interface HTMLElement."); return this.$offsetLeft }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "offsetTop", { get: function () { if (!(this instanceof t)) throw new TypeError("'get offsetTop' called on an object that does not implement interface HTMLElement."); return this.$offsetTop }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "offsetWidth", { get: function () { if (!(this instanceof t)) throw new TypeError("'get offsetWidth' called on an object that does not implement interface HTMLElement."); return this.$offsetWidth }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onabort", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onabort' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onanimationcancel", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onanimationcancel' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onanimationend", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onanimationend' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onanimationiteration", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onanimationiteration' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onanimationstart", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onanimationstart' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onauxclick", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onauxclick' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onblur", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onblur' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oncanplay", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oncanplay' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oncanplaythrough", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oncanplaythrough' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onchange", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onchange' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onclick", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onclick' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onclose", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onclose' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oncontextmenu", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oncontextmenu' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oncopy", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oncopy' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oncuechange", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oncuechange' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oncut", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oncut' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondblclick", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondblclick' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondrag", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondrag' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondragend", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondragend' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondragenter", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondragenter' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondragexit", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondragexit' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondragleave", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondragleave' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondragover", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondragover' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondragstart", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondragstart' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondrop", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondrop' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ondurationchange", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ondurationchange' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onemptied", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onemptied' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onended", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onended' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onerror", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onerror' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onfocus", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onfocus' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ongotpointercapture", { get: function () { if (!(this instanceof t)) throw new TypeError("'get ongotpointercapture' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oninput", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oninput' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "oninvalid", { get: function () { if (!(this instanceof t)) throw new TypeError("'get oninvalid' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onkeydown", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onkeydown' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onkeypress", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onkeypress' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onkeyup", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onkeyup' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onload", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onload' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onloadeddata", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onloadeddata' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onloadedmetadata", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onloadedmetadata' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onloadend", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onloadend' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onloadstart", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onloadstart' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onlostpointercapture", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onlostpointercapture' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmousedown", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmousedown' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmouseenter", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmouseenter' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmouseleave", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmouseleave' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmousemove", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmousemove' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmouseout", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmouseout' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmouseover", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmouseover' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmouseup", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmouseup' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmozfullscreenchange", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmozfullscreenchange' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onmozfullscreenerror", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onmozfullscreenerror' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpaste", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpaste' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpause", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpause' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onplay", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onplay' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onplaying", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onplaying' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointercancel", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpointercancel' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointerdown", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpointerdown' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointerenter", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpointerenter' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointerleave", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpointerleave' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointermove", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpointermove' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointerout", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpointerout' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointerover", { get: function () { if (!(this instanceof t)) throw new TypeError("'get onpointerover' called on an object that does not implement interface HTMLElement.") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "onpointerup", { get: function () { if (!(this instanceof t)) t