// Module ID: 1088 // Function ID: 1089 // Name: _isNativeReflectConstruct // Dependencies: [5, 93, 95, 98, 158, 32, 41, 42, 817, 1033] // Module 1088 (_isNativeReflectConstruct) import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation" /* 817 */; import addClsInstrumentationHandler from "addClsInstrumentationHandler" /* 1033 */; import closure_2 from "asyncGeneratorStep" /* 5 */; import closure_3 from "_possibleConstructorReturn" /* 93 */; import closure_4 from "_getPrototypeOf" /* 95 */; import closure_5 from "_inherits" /* 98 */; import _wrapNativeSuper from "_wrapNativeSuper" /* 158 */; import closure_6 from "_slicedToArray" /* 32 */; import closure_7 from "_classCallCheck" /* 41 */; import closure_8 from "_createClass" /* 42 */; function _isNativeReflectConstruct() { try { const _Boolean = Boolean; const call = valueOf.call; const _Reflect = Reflect; const _Boolean2 = Boolean; if (typeof call === "unknown") { let callResult = valueOf(); } else { callResult = call(constructResult); } closure_0 = !callResult; _isNativeReflectConstruct = function _isNativeReflectConstruct() { return closure_0; }; return _isNativeReflectConstruct(); } catch (err) { } } function isShadowRoot(host) { host = undefined; if (host != null) { host = host.host; } let shadowRoot; if (host != null) { shadowRoot = host.shadowRoot; } return Boolean(shadowRoot === host); } function isNativeShadowDom(arg0) { const call = toString.call; return "[object ShadowRoot]" === (typeof call === "unknown" ? toString() : call(arg0)); } function stringifyStylesheet(styleSheet) { try { let cssRules = styleSheet.rules; if (!cssRules) { cssRules = styleSheet.cssRules; } let tmp3 = null; if (cssRules) { const _Array = Array; tmp3 = (function fixBrowserCompatibilityIssuesInCSS(arr) { let hasItem = arr.includes(" background-clip: text;"); if (hasItem) { hasItem = !arr.includes(" -webkit-background-clip: text;"); } let replaced = arr; if (hasItem) { replaced = arr.replace(/\sbackground-clip:\s*text;/g, " -webkit-background-clip: text; background-clip: text;"); } return replaced; })(Array.from(cssRules, stringifyRule).join("")); const arr = Array.from(cssRules, stringifyRule); } return tmp3; } catch (err) { return null; } } function stringifyRule(styleSheet) { cssText = undefined; if ((function isCSSImportRule(styleSheet) { return "styleSheet" in styleSheet; })(styleSheet)) { try { let tmp5 = stringifyStylesheet(styleSheet.styleSheet); if (!tmp5) { tmp5 = (function escapeImportStatement(cssText) { if (cssText.cssText.split("\"").length < 3) { return str; } else { const _JSON = JSON; const _HermesInternal3 = HermesInternal; const items = ["@import", "url(" + JSON.stringify(cssText.href) + ")"]; if ("" === cssText.layerName) { items.push("layer"); } else if (cssText.layerName) { const _HermesInternal = HermesInternal; items.push("layer(" + cssText.layerName + ")"); } if (cssText.supportsText) { const _HermesInternal2 = HermesInternal; items.push("supports(" + cssText.supportsText + ")"); } if (cssText.media.length) { items.push(cssText.media.mediaText); } return items.join(" ") + ";"; } })(styleSheet); } cssText = tmp5; } catch (err) { } } else if ((function isCSSStyleRule(styleSheet) { return "selectorText" in styleSheet; })(styleSheet)) { ({ cssText, selectorText } = styleSheet); const hasItem = selectorText.includes(":"); const all = styleSheet.style.all; let all2 = typeof all === "string"; if (typeof all === "string") { all2 = styleSheet.style.all; } if (all2) { cssText = (function fixAllCssProperty(style) { let num = 0; let str = ""; let str2 = ""; if (0 < style.style.length) { do { style = style.style; let tmp = style[num]; let propertyPriority = style.getPropertyPriority(tmp); let propertyValue = style.getPropertyValue(tmp); let tmp4 = num; let tmp5 = str; let str3 = ""; if (propertyPriority) { str3 = " !important"; } let _HermesInternal = HermesInternal; let str4 = ""; let tmp6 = tmp; let str5 = ":"; let tmp7 = propertyValue; let tmp8 = str3; let str6 = ";"; str = str + "" + tmp + ":" + propertyValue + str3 + ";"; num = num + 1; str2 = str; } while (num < style.style.length); } return "" + style.selectorText + " { " + str2 + " }"; })(styleSheet); } let tmp3 = cssText; if (hasItem) { tmp3 = (function fixSafariColons(cssText) { return cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm, "$1\\$2"); })(cssText); } return tmp3; } if (!cssText) { cssText = styleSheet.cssText; } return cssText; } function shouldMaskInput(arg0) { ({ maskInputOptions, tagName, type } = arg0); if ("OPTION" === tagName) { tagName = "SELECT"; } let tmp = maskInputOptions[tagName.toLowerCase(tagName)]; if (!tmp) { let tmp2 = type; if (type) { tmp2 = maskInputOptions[type]; } tmp = tmp2; } if (!tmp) { tmp = "password" === type; } if (!tmp) { tmp = "INPUT" === tagName && !type && maskInputOptions.text; const tmp3 = "INPUT" === tagName && !type && maskInputOptions.text; } return Boolean(tmp); } function maskInputValue(arg0) { ({ value, maskInputFn, isMasked, element } = arg0); if (!value) { value = ""; } let repeatResult = value; if (isMasked) { let maskInputFnResult = value; if (maskInputFn) { maskInputFnResult = maskInputFn(value, element); } const repeat = "*".repeat; repeatResult = "*".repeat(maskInputFnResult.length); } return repeatResult; } function toLowerCase(str) { return str.toLowerCase(); } function toUpperCase(str) { return str.toUpperCase(); } function getInputType(type) { let str2 = "password"; if (!type.hasAttribute("data-rr-is-password")) { let formatted = null; if (str) { formatted = str.toLowerCase(); } str2 = formatted; } return str2; } function getInputValue(getAttribute) { if ("INPUT" === arg1) { if ("radio" !== arg2) { return value; } value = getAttribute.getAttribute("value") || ""; } value = getAttribute.value; } function extractFileExtension(arg0, arg1) { try { let href = arg1; if (arg1 == null) { const _window = window; href = window.location.href; } const uRL = new URL(arg0, href); const match = uRL.pathname.match(/\.([0-9a-z]+)(?:$)/i); let tmp10; if (match != null) { tmp10 = match[1]; } if (tmp10 == null) { tmp10 = null; } return tmp10; } catch (err) { return null; } } function getImplementation$1(clearTimeout) { if (table[clearTimeout]) { return tmp2; } else { const _window = window; const _document = window.document; const _window2 = window; obj = window[clearTimeout]; if (_document) { if (typeof _document.createElement === "function") { try { const element =