// Metro module 470 (f471). import _classCallCheck from "./_classCallCheck"; import _createClass from "./_createClass"; import _possibleConstructorReturn from "./_possibleConstructorReturn"; import _getPrototypeOf from "./_getPrototypeOf"; import _inherits from "./_inherits"; import nullthrows from "./nullthrows"; import Module471 from "./Module471"; import Module38 from "./Module38"; import NativeEventEmitter from "./NativeEventEmitter"; let LinkingImpl; let env468 = {}; env468[5] = function _isNativeReflectConstruct() { let c12339_0; try { c12339_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); } catch ($e) {} const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() { return !!c12339_0; }; env468[5] = _isNativeReflectConstruct2; return _isNativeReflectConstruct2(); }; LinkingImpl = function LinkingImpl() { _classCallCheck(this, LinkingImpl); const r8 = [void 0]; const r7 = _getPrototypeOf(LinkingImpl); return _possibleConstructorReturn(this, (0, env468[5])() ? Reflect.construct(r7, r8, _getPrototypeOf(this).constructor) : r7.apply(this, r8)); }; _inherits(LinkingImpl, NativeEventEmitter); export default new (_createClass(LinkingImpl, [{ key: "addEventListener", value: function(a0, a1) { return this.addListener(a0, a1); } }, { key: "openURL", value: function openURL(a0) { this._validateURL(a0); return nullthrows(Module471).openURL(a0); } }, { key: "canOpenURL", value: function canOpenURL(a0) { this._validateURL(a0); return nullthrows(Module471).canOpenURL(a0); } }, { key: "openSettings", value: function openSettings() { return nullthrows(Module471).openSettings(); } }, { key: "getInitialURL", value: function getInitialURL() { return nullthrows(Module471).getInitialURL(); } }, { key: "sendIntent", value: function sendIntent(a0, a1) { return nullthrows(Module471).sendIntent(a0, a1); } }, { key: "_validateURL", value: function _validateURL(a0) { Module38(typeof a0 === "string", "Invalid URL: should be a string. Was: " + a0); Module38(a0, "Invalid URL: cannot be empty"); } }]))();