// Module ID: 1026 // Function ID: 1027 // Name: mergeOptions // Dependencies: [32, 5, 817] // Exports: buildFeedbackIntegration, feedbackModalIntegration, feedbackScreenshotIntegration, getFeedback // Module 1026 (mergeOptions) import _slicedToArray from "_slicedToArray"; import asyncGeneratorStep from "asyncGeneratorStep"; let closure_50; let closure_51; let closure_52; let closure_53; let closure_54; let closure_55; function mergeOptions(tags, tags2) { let closure_0 = tags; let closure_1 = tags2; let obj = {}; const merged = Object.assign(tags); const merged1 = Object.assign(tags2); obj = {}; const merged2 = Object.assign(tags.tags); const merged3 = Object.assign(tags2.tags); obj.tags = obj; obj.onFormOpen = function onFormOpen() { const onFormOpen = obj.onFormOpen; if (onFormOpen != null) { onFormOpen(); } const onFormOpen2 = closure_0.onFormOpen; if (onFormOpen2 != null) { onFormOpen2(); } }; obj.onFormClose = function onFormClose() { const onFormClose = obj.onFormClose; if (onFormClose != null) { onFormClose(); } const onFormClose2 = closure_0.onFormClose; if (onFormClose2 != null) { onFormClose2(); } }; obj.onSubmitSuccess = function onSubmitSuccess(arg0, arg1) { const onSubmitSuccess = obj.onSubmitSuccess; if (onSubmitSuccess != null) { onSubmitSuccess(arg0, arg1); } const onSubmitSuccess2 = closure_0.onSubmitSuccess; if (onSubmitSuccess2 != null) { onSubmitSuccess2(arg0, arg1); } }; obj.onSubmitError = function onSubmitError(arg0) { const onSubmitError = obj.onSubmitError; if (onSubmitError != null) { onSubmitError(arg0); } const onSubmitError2 = closure_0.onSubmitError; if (onSubmitError2 != null) { onSubmitError2(arg0); } }; obj.onFormSubmitted = function onFormSubmitted() { const onFormSubmitted = obj.onFormSubmitted; if (onFormSubmitted != null) { onFormSubmitted(); } const onFormSubmitted2 = closure_0.onFormSubmitted; if (onFormSubmitted2 != null) { onFormSubmitted2(); } }; obj = {}; const merged4 = Object.assign(tags.themeDark); const merged5 = Object.assign(tags2.themeDark); obj.themeDark = obj; const merged6 = Object.assign(tags.themeLight); const merged7 = Object.assign(tags2.themeLight); obj.themeLight = {}; return obj; } function v$1(__s, __s2) { for (const key10004 in arg1) { let tmp = key10004; arg0[key10004] = arg1[key10004]; continue; } return __s; } function p$1(__e) { const parentNode = __e.parentNode; if (parentNode) { parentNode.removeChild(__e); } } function y$1(span, arg1, formTitle) { let tmp2; let tmp3; let obj = {}; let tmp4; let tmp5; const keys = Object.keys(); if (keys !== undefined) { tmp4 = tmp2; tmp5 = tmp3; while (keys[tmp] !== undefined) { let tmp19 = tmp9; if ("key" == tmp9) { tmp3 = arg1[tmp9]; continue; } else { if ("ref" == tmp9) { tmp2 = arg1[tmp9]; continue; } else { obj[tmp9] = arg1[tmp9]; continue; } continue; } continue; } } if (arguments.length > 2) { if (arguments.length <= 3) { obj.children = formTitle; } else { const call = slice.call; if (typeof call === "unknown") { let callResult = tmp11(2); } else { callResult = call(arguments, 2); } tmp11 = slice; } } if (typeof span === "function") { if (null != span.defaultProps) { const keys1 = Object.keys(); if (keys1 !== undefined) { while (keys1[3] !== undefined) { let tmp23 = tmp16; if (undefined !== obj[tmp16]) { continue; } else { obj[tmp16] = span.defaultProps[tmp16]; continue; } continue; } } } } obj = { type: span, props: obj, key: tmp5, ref: tmp4, __k: null, __: null, __b: 0, __e: null, __d: "Array", __c: "Array", constructor: -1, __v: 0, __i: "5.9.4", __u: 24 }; const sum = c14 + 1; c14 = sum; obj[11] = sum; if (null != obj.vnode) { obj.vnode(obj); } return obj; } function g$1(children) { return children.children; } class b$1 { constructor(arg0, arg1) { return; } setState(arg0, arg1) { self = this; if (null != this.__s) { if (self.__s !== self.state) { __s = self.__s; } tmp = global; tmp2 = global; if (typeof global === "function") { obj = {}; tmp16 = __s; for (const key10012 in __s) { tmp17 = key10012; obj[key10012] = __s[key10012]; continue; } tmp2 = global(obj, self.props); } if (tmp2) { tmp3 = tmp2; for (const key10017 in tmp2) { tmp18 = key10017; __s[key10017] = tmp2[key10017]; continue; } } tmp4 = null != tmp2 && self.__v; if (tmp4) { tmp5 = require; if (require) { _sb = self._sb; arr = _sb.push(require); } ___d = self.__d; flag = !___d; if (!___d) { flag2 = true; self.__d = true; flag = true; } if (flag) { tmp7 = b$1; flag = b$1.push(self); } if (flag) { tmp8 = C$1; tmp9 = +C$1.__r; C$1.__r = tmp9 + 1; flag = !tmp9; } if (!flag) { tmp10 = debounceRendering; tmp11 = slice; flag = debounceRendering !== slice.debounceRendering; } if (flag) { tmp12 = slice; debounceRendering = slice.debounceRendering; if (!debounceRendering) { debounceRendering = setTimeout; } tmp13 = C$1; debounceRenderingResult = debounceRendering(C$1); } } return; } __s = {}; state = self.state; for (const key10009 in state) { tmp15 = key10009; __s[key10009] = state[key10009]; continue; } self.__s = __s; return; } forceUpdate(arg0) { self = this; if (this.__v) { tmp = global; flag = true; self.__e = true; if (global) { __h = self.__h; arr = __h.push(global); } ___d = self.__d; flag2 = !___d; if (!___d) { self.__d = true; flag2 = true; } if (flag2) { tmp3 = b$1; flag2 = b$1.push(self); } if (flag2) { tmp4 = C$1; tmp5 = +C$1.__r; C$1.__r = tmp5 + 1; flag2 = !tmp5; } if (!flag2) { tmp6 = debounceRendering; tmp7 = slice; flag2 = debounceRendering !== slice.debounceRendering; } if (flag2) { tmp8 = slice; debounceRendering = slice.debounceRendering; if (!debounceRendering) { debounceRendering = setTimeout; } tmp9 = C$1; debounceRenderingResult = debounceRendering(C$1); } } return; } } function m$1(__2, arg1) { let tmp2; let sum = arg1; if (null == arg1) { let tmp5 = null; if (__2.__) { tmp5 = m$1(__2.__, __2.__i + 1); } return tmp5; } else { if (sum < __2.__k.length) { while (true) { tmp2 = __2.__k[sum]; let tmp3 = sum; if (null != tmp2) { if (null != tmp2.__e) { break; } } sum = sum + 1; } return tmp2.__e; } let tmp4 = null; if (typeof __2.type === "function") { tmp4 = m$1(__2); } return tmp4; } } function k$1(__2) { let tmp; const __ = __2.__; if (null != __) { if (null != __.__c) { __.__c.base = null; __.__e = null; let num = 0; if (0 < __.__k.length) { while (true) { tmp = __.__k[num]; let tmp2 = num; if (null != tmp) { if (null != tmp.__e) { break; } } num = num + 1; } const __e = tmp.__e; __.__c.base = __e; __.__e = __e; } return k$1(__); } } } class C$1 { constructor() { items = []; items1 = []; sorted = b$1.sort(H); arr = b$1.shift(); tmp4 = undefined; if (arr) { tmp5 = tmp3; tmp6 = arr; tmp7 = tmp3; while (!arr.__d) { tmp49 = b$1; arr = b$1.shift(); tmp3 = tmp5; tmp4 = tmp5; } arr3 = b$1; length = b$1.length; __v = arr.__v; __e = __v.__e; __P = arr.__P; tmp8 = undefined; if (__P) { obj = {}; tmp9 = __v; for (const key10028 in __v) { tmp58 = key10028; obj[key10028] = __v[key10028]; continue; } obj.__v = __v.__v + 1; obj2 = slice; if (slice.vnode) { vnodeResult = obj2.vnode(obj); } __n = arr.__n; tmp12 = null; tmp11 = M; if (32 & __v.__u) { items2 = []; items2[0] = __e; tmp12 = items2; } tmp13 = __e; if (null == __e) { tmp59 = null; if (!__v.__) { tmp13 = null; } else { __ = __v.__; sum = __v.__i + 1; if (sum < __.__k.length) { while (true) { tmp15 = __.__k[sum]; tmp16 = sum; if (null == tmp15) { sum = sum + 1; __e2 = tmp15.__e; break; } else if (null != tmp15.__e) { break; } } } tmp17 = null; if (typeof __.type === "function") { tmp60 = m$1; tmp17 = m$1(__); } } } tmp18 = __P; tmp19 = obj; tmp20 = __v; tmp21 = __n; tmp22 = tmp12; tmp23 = items; tmp24 = tmp13; tmp25 = items1; tmp11Result = tmp11(__P, obj, __v, __n, undefined !== __P.ownerSVGElement, tmp12, items, tmp13, 32 & __v.__u, items1); obj.__.__k[obj.__i] = obj; obj.__d = undefined; tmp8 = obj; if (obj.__e != __e) { __3 = obj.__; tmp8 = obj; if (null != __3) { tmp8 = obj; if (null != __3.__c) { __3.__c.base = null; __3.__e = null; num = 0; if (0 < __3.__k.length) { while (true) { tmp27 = __3.__k[num]; tmp28 = num; if (null != tmp27) { if (null != tmp27.__e) { break; } } num = num + 1; } __e3 = tmp27.__e; __3.__c.base = __e3; __3.__e = __e3; } __2 = __3.__; tmp8 = obj; if (null != __2) { tmp8 = obj; if (null != __2.__c) { __2.__c.base = null; __2.__e = null; num2 = 0; if (0 >= __2.__k.length) { tmp29 = k$1; tmp31 = k$1(__2); tmp32 = obj; } else { while (true) { tmp29 = __2.__k[num2]; tmp30 = num2; if (null == tmp29) { num2 = num2 + 1; } else if (null != tmp29.__e) { break; } break; } } __e4 = tmp29.__e; __2.__c.base = __e4; __2.__e = __e4; } } } } } } if (!tmp8) { tmp8 = tmp3; } if (0 !== length) { if (arr3.length <= length) { __c = tmp8; if (tmp8) { tmp33 = slice; __c = slice.__c; } tmp34 = tmp8; if (__c) { tmp35 = slice; tmp36 = __SENTRY_DEBUG__; __cResult = slice.__c(tmp8, __SENTRY_DEBUG__); tmp34 = tmp8; } } tmp48 = tmp34; } closure_0 = items; num3 = 0; if (0 < items1.length) { do { tmp38 = N; sum1 = num3 + 1; sum2 = sum1 + 1; tmp41 = N(items1[num3], items1[sum1], items1[sum2]); num3 = sum2 + 1; length2 = items1.length; } while (num3 < length2); } obj3 = slice; if (slice.__c) { tmp42 = closure_0; __cResult1 = obj3.__c(tmp8, closure_0); } tmp44 = closure_0; someResult = closure_0.some((__h) => { try { __h = __h.__h; __h.__h = []; __h.some((call) => { call = call.call; if (typeof call === "unknown") { call(); } else { call(__h); } }); } catch (tmp4) { outer1_13.__e(tmp4, tmp.__v); } }); items.length = 0; items1.length = 0; tmp46 = H; sorted1 = arr3.sort(H); } if (tmp4) { closure_0 = items; num4 = 0; if (0 < items1.length) { do { tmp50 = N; sum3 = num4 + 1; sum4 = sum3 + 1; tmp53 = N(items1[num4], items1[sum3], items1[sum4]); num4 = sum4 + 1; length3 = items1.length; } while (num4 < length3); } obj4 = slice; if (slice.__c) { tmp54 = closure_0; __cResult2 = obj4.__c(tmp4, closure_0); } tmp56 = closure_0; someResult1 = closure_0.some((__h) => { try { __h = __h.__h; __h.__h = []; __h.some((call) => { call = call.call; if (typeof call === "unknown") { call(); } else { call(__h); } }); } catch (tmp4) { outer1_13.__e(tmp4, tmp.__v); } }); } C$1.__r = 0; return; } } function P$1(insertBefore, arg1, __k, __k2, arg4, arg5, arg6, arg7, __d, arg9, arr) { let key; let key2; let props; let tmp63; let type; let type2; __k = __k2; if (__k2) { __k = __k2.__k; } if (!__k) { __k = items; } __k.__d = __d; let length2 = arg1.length; __k.__k = []; let num = 0; let tmp = length3; let num2 = 0; let tmp2 = length3; if (0 < length2) { do { let vnodeResult2 = arg1[num2]; let tmp4 = num; let tmp5 = tmp; let tmp6 = num2; let tmp7 = null; if (null != vnodeResult2) { tmp7 = null; if (typeof vnodeResult2 !== "boolean") { tmp7 = null; if (typeof vnodeResult2 !== "function") { if (typeof vnodeResult2 !== "string") { if (typeof vnodeResult2 !== "number") { if (typeof vnodeResult2 !== "bigint") { let _String = String; if (vnodeResult2.constructor != String) { tmp = isArray; if (isArray(vnodeResult2)) { let tmp17 = g$1; let obj = { children: null }; obj[0] = vnodeResult2; obj = { type: null, props: null, key: null, ref: null, __k: null, __: null, __b: 0, __e: null, __d: "Array", __c: "Array", constructor: -1, __v: 0, __i: "5.9.4", __u: 24 }; obj[0] = g$1; obj[1] = obj; let tmp18 = c14; let sum = c14 + 1; c14 = sum; obj[11] = sum; let obj4 = obj; let tmp8 = obj; if (null != obj.vnode) { let vnodeResult = obj4.vnode(obj); tmp8 = obj; } } else { tmp8 = vnodeResult2; if (undefined === vnodeResult2.constructor) { tmp8 = vnodeResult2; if (vnodeResult2.__b > 0) { let ref = null; ({ type: type2, props, key: key2 } = vnodeResult2); if (vnodeResult2.ref) { ref = vnodeResult2.ref; } let __v = vnodeResult2.__v; obj = { type: null, props: null, key: null, ref: null, __k: null, __: null, __b: 0, __e: null, __d: "Array", __c: "Array", constructor: -1, __v: 0, __i: "5.9.4", __u: 24 }; obj[0] = type2; obj[1] = props; obj[2] = key2; obj[3] = ref; let tmp10 = __v; if (null == __v) { let tmp11 = c14; let sum1 = c14 + 1; c14 = sum1; tmp10 = sum1; } obj[11] = tmp10; let tmp13 = null == __v; if (tmp13) { let tmp14 = obj; tmp13 = null != obj.vnode; } tmp8 = obj; if (tmp13) { let tmp15 = obj; let vnodeResult1 = obj.vnode(obj); tmp8 = obj; } } } } } let tmp27 = tmp8; } } } let obj1 = { type: null, props: null, key: null, ref: null, __k: null, __: null, __b: 0, __e: null, __d: "Array", __c: "Array", constructor: -1, __v: 0, __i: "5.9.4", __u: 24 }; obj1[1] = vnodeResult2; let tmp21 = vnodeResult2; if (null == vnodeResult2) { let tmp22 = c14; let sum2 = c14 + 1; c14 = sum2; tmp21 = sum2; } obj1[11] = tmp21; let tmp24 = null == vnodeResult2; if (tmp24) { let tmp25 = obj; tmp24 = null != obj.vnode; } tmp8 = obj1; if (tmp24) { let tmp26 = obj; vnodeResult2 = obj.vnode(obj1); tmp8 = obj1; } } } } __k.__k[num2] = tmp7; if (null != tmp7) { tmp7.__ = __k; tmp7.__b = __k.__b + 1; let sum3 = num2 + num; ({ key, type } = tmp7); let diff = sum3 - 1; let sum4 = sum3 + 1; let tmp38 = __k[sum3]; let num3 = sum3; if (null !== tmp38) { if (tmp38) { let __u = tmp38.key; if (key == __u) { num3 = sum3; } } if (null == tmp38) { let num4 = 0; } else { num4 = 1; } num3 = -1; if (tmp > num4) { let tmp39 = sum4; let tmp40 = diff; if (0 <= diff) { while (true) { let tmp41 = tmp39; let tmp42 = tmp40; let diff1 = tmp40; if (0 <= tmp40) { let tmp44 = __k[tmp40]; if (tmp44) { __u = tmp44.__u; if (!(131072 & __u)) { if (key == tmp44.key) { num3 = tmp40; if (type === tmp44.type) { break; } } break; } } diff1 = tmp40 - 1; } let sum5 = tmp39; if (tmp39 < __k.length) { let tmp46 = __k[tmp39]; if (tmp46) { __u = tmp46.__u; if (!(131072 & __u)) { if (key == tmp46.key) { num3 = tmp39; if (type === tmp46.type) { break; } } break; } } sum5 = tmp39 + 1; } tmp39 = sum5; tmp40 = diff1; if (0 <= diff1) { continue; } else { tmp39 = sum5; tmp40 = diff1; num3 = -1; if (sum5 >= __k.length) { break; } } continue; } } else { tmp39 = sum4; tmp40 = diff; num3 = -1; } } } tmp7.__i = num3; let tmp47 = tmp; let tmp48 = null; if (-1 !== num3) { let diff2 = tmp - 1; let tmp50 = __k[num3]; tmp47 = diff2; tmp48 = tmp50; if (tmp50) { tmp50.__u = tmp50.__u | 131072; tmp47 = diff2; tmp48 = tmp50; } } if (null != tmp48) { if (null !== tmp48.__v) { let tmp28 = num; let diff4 = tmp47; if (num3 !== sum3) { if (num3 === sum4) { let num5 = num + 1; } else if (sum3 < num3) { if (tmp47 > length2 - sum3) { num5 = num + (num3 - sum3); } else { num5 = num - 1; } } else { num5 = 0; if (num3 < sum3) { num5 = 0; if (num3 === diff) { num5 = num3 - sum3; } } } tmp28 = num5; diff4 = tmp47; if (num3 !== num2 + num5) { tmp7.__u = tmp7.__u | 65536; tmp28 = num5; diff4 = tmp47; } } } } let diff3 = num; if (-1 === num3) { diff3 = num - 1; } tmp28 = diff3; diff4 = tmp47; if (typeof tmp7.type !== "function") { tmp7.__u = tmp7.__u | 65536; tmp28 = diff3; diff4 = tmp47; } } else { tmp = __k[num2]; let __e = tmp; if (tmp) { __e = null == tmp.key; } if (__e) { __e = tmp.__e; } tmp28 = num; diff4 = tmp; if (__e) { if (tmp.__e == __k.__d) { tmp = null; if (!tmp.__) { __k.__d = null; } else { let __ = tmp.__; let sum6 = tmp.__i + 1; if (sum6 < __.__k.length) { while (true) { __u = __.__k[sum6]; let tmp31 = sum6; if (null == __u) { sum6 = sum6 + 1; let __e2 = __u.__e; break; } else if (null != __u.__e) { break; } } } let tmp32 = null; if (typeof __.type === "function") { tmp = m$1; tmp32 = m$1(__); } } } let tmp33 = O; let tmp34 = O(tmp, tmp, false); __k[num2] = null; diff4 = tmp - 1; tmp28 = num; } } num2 = num2 + 1; num = tmp28; tmp = diff4; tmp2 = diff4; } while (num2 < length2); } if (tmp2) { for (let num6 = 0; num6 < length3; num6 = num6 + 1) { let tmp52 = __k[num6]; let tmp53 = null != tmp52; let tmp54 = num6; if (tmp53) { tmp53 = !(131072 & tmp52.__u); } if (tmp53) { if (tmp52.__e == __k.__d) { tmp = null; if (!tmp52.__) { __k.__d = null; } else { let __2 = tmp52.__; let sum7 = tmp52.__i + 1; if (sum7 < __2.__k.length) { while (true) { length2 = __2.__k[sum7]; let tmp56 = sum7; if (null == length2) { sum7 = sum7 + 1; let __e3 = length2.__e; break; } else if (null != length2.__e) { break; } } } let tmp57 = null; if (typeof __2.type === "function") { tmp = m$1; tmp57 = m$1(__2); } } } let tmp58 = O; let tmp59 = O(tmp52, tmp52); } } } let ___d = __k.__d; let num7 = 0; let tmp61; let tmp62 = ___d; if (0 < arg1.length) { while (true) { tmp63 = __k.__k[num7]; let tmp64 = null != tmp63; let tmp65 = tmp60; let tmp66 = num7; let tmp67 = ___d; if (tmp64) { tmp64 = typeof tmp63 !== "boolean"; } if (tmp64) { tmp64 = typeof tmp63 !== "function"; } let tmp68 = tmp65; let tmp69 = tmp67; if (tmp64) { break; } else { num7 = num7 + 1; tmp60 = tmp65; ___d = tmp67; tmp61 = tmp65; tmp62 = tmp67; } } if (-1 === tmp63.__i) { let tmp70 = closure_19; } else { tmp70 = __k[tmp63.__i] || closure_19; } tmp63.__i = num7; M(insertBefore, tmp63, tmp70, arg4, arg5, arg6, arg7, tmp67, arg9, arr); const __e4 = tmp63.__e; if (tmp83) { if (tmp70.ref) { N(tmp70.ref, null, tmp63); } let __c = tmp63.__c; if (!__c) { __c = __e4; } arr.push(tmp63.ref, __c, tmp63); } if (tmp87) { tmp65 = __e4; } if (!(65536 & tmp63.__u)) { if (tmp70.__k !== tmp63.__k) { if (typeof tmp63.type !== "function") { let ___d2 = tmp67; if (__e4) { ___d2 = __e4.nextSibling; } tmp63.__d = undefined; tmp63.__u = tmp63.__u & -196609; tmp = ___d2; tmp = tmp65; } ___d2 = tmp63.__d; } } if (typeof tmp63.type === "function") { const __k1 = tmp63.__k; let tmp92 = tmp67; if (__k1) { let num8 = 0; let tmp93 = tmp67; tmp92 = tmp67; if (0 < __k1.length) { tmp67 = __k1[num8]; let tmp95 = tmp93; while (!tmp67) { tmp92 = tmp95; if (__k1) { num8 = num8 + 1; tmp93 = tmp95; tmp92 = tmp95; } continue; } __k1[num8].__ = tmp63; if (typeof __k1[num8].type === "function") { __k2 = tmp97.__k; tmp = tmp95; if (__k2) { let num9 = 0; tmp = tmp95; tmp = tmp95; if (0 < __k2.length) { while (true) { tmp95 = __k2[num9]; tmp = num9; if (tmp95) { __k2[num9].__ = tmp97; tmp = $; tmp = $(__k2[num9], tmp, insertBefore); } if (!__k2) { break; } else { num9 = num9 + 1; if (num9 >= __k2.length) { break; } } } } } } else { let __e6 = tmp95; if (tmp97.__e != tmp95) { let tmp98 = tmp95; if (!tmp95) { tmp98 = null; } insertBefore.insertBefore(tmp97.__e, tmp98); __e6 = tmp97.__e; } while (true) { tmp = __e6; let nextSibling2 = __e6; if (__e6) { nextSibling2 = __e6.nextSibling; } tmp = nextSibling2; if (null == nextSibling2) { break; } else { __e6 = nextSibling2; tmp = nextSibling2; if (8 === nextSibling2.nodeType) { continue; } else { break; } break; } } } } } let tmp91 = tmp92; } else { let __e5 = tmp67; if (tmp63.__e != tmp67) { let tmp88 = tmp67; if (!tmp67) { tmp88 = null; } insertBefore.insertBefore(tmp63.__e, tmp88); __e5 = tmp63.__e; } while (true) { let tmp90 = __e5; let nextSibling = __e5; if (__e5) { nextSibling = __e5.nextSibling; } tmp91 = nextSibling; if (null == nextSibling) { break; } else { __e5 = nextSibling; tmp91 = nextSibling; if (8 === nextSibling.nodeType) { continue; } else { break; } break; } } } tmp = tmp91; tmp83 = tmp63.ref && tmp70.ref != tmp63.ref; tmp87 = null == tmp65 && null != __e4; } __k.__d = tmp62; __k.__e = tmp61; } function $(type, arg1, insertBefore) { let nextSibling; if (typeof type.type === "function") { const __k = type.__k; let tmp4 = arg1; if (__k) { let num = 0; let tmp5 = arg1; tmp4 = arg1; if (0 < __k.length) { while (true) { let tmp6 = num; let tmp7 = tmp5; let tmp8 = tmp5; if (__k[num]) { __k[num].__ = type; let tmp9 = $; tmp8 = $(__k[num], tmp5, insertBefore); } tmp4 = tmp8; if (!__k) { break; } else { num = num + 1; tmp5 = tmp8; tmp4 = tmp8; if (num >= __k.length) { break; } } } } } return tmp4; } else { let __e = arg1; if (type.__e != arg1) { let tmp = arg1; if (!arg1) { tmp = null; } insertBefore.insertBefore(type.__e, tmp); __e = type.__e; } while (true) { let tmp3 = __e; nextSibling = __e; if (__e) { nextSibling = __e.nextSibling; } if (null == nextSibling) { break; } else { __e = nextSibling; if (8 !== nextSibling.nodeType) { break; } } } return nextSibling; } } function T$1(style, key10064, num) { if ("-" === key10064[0]) { let str3 = ""; if (null != num) { str3 = num; } style.setProperty(key10064, str3); } else { let str = ""; if (null != num) { let text = num; if (typeof num === "number") { text = num; if (!regex.test(key10064)) { text = `${num}px`; } } str = text; } style[key10064] = str; } } function A$1(iter, checked, str, checked2, flag) { str = checked2; if ("style" === checked) { if (typeof str === "string") { iter.style.cssText = str; } else { if (typeof str === "string") { iter.style.cssText = ""; str = ""; } if (str) { for (const key10064 in str) { let tmp21 = key10064; let tmp13 = arg2; if (arg2) { tmp13 = key10064 in arg2; } if (tmp13) { continue; } else { let tmp14 = T$1; let tmp15 = T$1(arg0.style, key10064, ""); continue; } continue; } } if (str) { for (const key10072 in arg2) { let tmp22 = key10072; let tmp17 = str; if (str) { tmp17 = arg2[key10072] === str[key10072]; } if (tmp17) { continue; } else { let tmp18 = T$1; let tmp19 = T$1(arg0.style, key10072, arg2[key10072]); continue; } continue; } } } } else { if ("o" === checked[0]) { if ("n" === checked[1]) { const str11 = checked.replace(/(PointerCapture)$|Capture$/i, "$1"); if (str11.toLowerCase() in iter) { const formatted = str11.toLowerCase(); let substr = formatted.slice(2); } else { substr = str11.slice(2); } if (!iter.l) { iter.l = {}; } iter.l[substr + (checked !== str11)] = str; if (str) { if (str) { str.u = str.u; } else { const _Date = Date; str.u = Date.now(); const listener = iter.addEventListener(substr, tmp8 ? L : D$1, tmp8); } } else { const removed = iter.removeEventListener(substr, tmp8 ? L : D$1, tmp8); } } } if (flag) { let replaced = checked.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s"); const str7 = checked.replace(/xlink(H|:h)/, "h"); } else { replaced = checked; if ("width" !== checked) { replaced = checked; if ("height" !== checked) { replaced = checked; if ("href" !== checked) { replaced = checked; if ("list" !== checked) { replaced = checked; if ("form" !== checked) { replaced = checked; if ("tabIndex" !== checked) { replaced = checked; if ("download" !== checked) { replaced = checked; if ("rowSpan" !== checked) { replaced = checked; if ("colSpan" !== checked) { replaced = checked; if ("role" !== checked) { replaced = checked; if (checked in iter) { try { let str5 = ""; if (null != str) { str5 = str; } iter[checked] = str5; } catch (err) { replaced = tmp; } } } } } } } } } } } } } if (typeof str !== "function") { if (null == str) { iter.removeAttribute(replaced); } else { const attr = iter.setAttribute(replaced, str); } } } } function D$1(items) { if (this.l) { if (!items.t) { const _Date = Date; items.t = Date.now(); } let eventResult = items; if (obj.event) { eventResult = obj.event(items); } return tmp.l[items.type + false](eventResult); } } function L(items) { if (this.l) { const l = tmp.l; let eventResult = items; if (obj.event) { eventResult = obj.event(items); } return l[items.type + true](eventResult); } } function M(__P, type, __u, __s2, flag, arg5, arr) { let length; let length2; let sum; let closure_0 = type; let tmp5 = __s2; type = type.type; if (undefined !== type.constructor) { let componentWillMountResult = null; return null; } else { componentWillMountResult = __u; let tmp9 = arg5; let tmp8 = arg7; let tmp7 = arg8; if (128 & __u.__u) { tmp7 = 32 & __u.__u; const __e = __u.__e; type.__e = __e; const items = [__e]; tmp8 = __e; tmp9 = items; } const __b = obj.__b; if (__b) { tmp11(type); } if (typeof type === "function") { try { const props = type.props; const contextType = type.contextType; obj = contextType; if (contextType) { if (obj) { let __ = obj.props.value; } else { __ = tmp26.__; } } else { if (__u.__c) { const __c = __u.__c; type.__c = __c; let obj1 = __c; obj = __c; const __E = __c.__E; __c.__ = __E; const tmp6 = __E; } else { if ("prototype" in type) { if (type.prototype.render) { type = new type(props, tmp35); obj1 = type; obj = type; type.__c = type; } if (obj) { obj.sub(obj1); } obj1.props = props; if (!obj1.state) { obj1.state = {}; } obj1.context = tmp35; obj1.__n = tmp5; obj1.__d = true; flag = true; obj1.__h = []; obj1._sb = []; } obj = Object.create(b$1.prototype); new b$1(props, tmp35); obj1 = obj; type.__c = obj; obj.constructor = type; obj.render = q$1; } if (null == obj1.__s) { obj1.__s = obj1.state; } if (null != type.getDerivedStateFromProps) { if (obj1.__s == obj1.state) { obj = {}; v$1(obj, obj1.__s); obj1.__s = obj; } v$1(obj1.__s, type.getDerivedStateFromProps(props, obj1.__s)); } const props2 = obj1.props; const state = obj1.state; obj1.__v = type; let tmp74 = null == type.getDerivedStateFromProps; if (flag) { if (tmp74) { componentWillMountResult = obj1; tmp74 = null != obj1.componentWillMount; } if (tmp74) { componentWillMountResult = obj1; componentWillMountResult = obj1.componentWillMount(); } componentWillMountResult = obj1; if (null != obj1.componentDidMount) { componentWillMountResult = obj1; const __h = obj1.__h; componentWillMountResult = __h.push(obj1.componentDidMount); } } else { let tmp75 = tmp74; if (tmp74) { tmp75 = props !== tmp71; } if (tmp75) { tmp75 = null != obj1.componentWillReceiveProps; } if (tmp75) { const result = obj1.componentWillReceiveProps(props, tmp35); } if (!obj1.__e) { if (type.__v !== __u.__v) { obj1.props = props; obj1.state = obj1.__s; obj1.__d = false; } ({ __e: type.__e, __k: type.__k } = __u); const __k = type.__k; const item = __k.forEach((arg0) => { if (arg0) { arg0.__ = closure_0; } }); let num3 = 0; if (0 < obj1._sb.length) { do { let tmp92 = obj1; let __h1 = obj1.__h; let tmp93 = num3; arr = __h1.push(obj1._sb[num3]); sum = num3 + 1; num3 = sum; length = obj1._sb.length; } while (sum < length); } obj1._sb = []; if (obj1.__h.length) { arr = arr.push(obj1); } } if (null != obj1.componentWillUpdate) { componentWillMountResult = obj1; componentWillMountResult = props; componentWillMountResult = tmp30; componentWillMountResult = obj1.componentWillUpdate(props, obj1.__s, tmp35); } componentWillMountResult = obj1; if (null != obj1.componentDidUpdate) { componentWillMountResult = obj1; const __h2 = obj1.__h; componentWillMountResult = __h2.push(() => { obj.componentDidUpdate(props2, state, closure_4); }); } } componentWillMountResult = __P; componentWillMountResult = obj1; obj1.context = tmp5; obj1.props = props; obj1.__P = __P; obj1.__e = false; const ___r = obj.__r; let num5 = 0; if ("prototype" in type) { if (type.prototype.render) { componentWillMountResult = obj1; obj1.state = obj1.__s; obj1.__d = false; componentWillMountResult = ___r; if (___r) { componentWillMountResult = ___r(type); } componentWillMountResult = obj1; let element = obj1.render(obj1.props, obj1.state, obj1.context); let num7 = 0; if (0 < obj1._sb.length) { do { componentWillMountResult = obj1; let __h3 = obj1.__h; componentWillMountResult = num7; componentWillMountResult = __h3.push(obj1._sb[num7]); componentWillMountResult = num7 + 1; num7 = componentWillMountResult; length2 = obj1._sb.length; } while (componentWillMountResult < length2); } componentWillMountResult = obj1; obj1._sb = []; } componentWillMountResult = obj1; obj1.state = obj1.__s; if (null != obj1.getChildContext) { componentWillMountResult = v$1; obj1 = {}; componentWillMountResult = tmp5; componentWillMountResult = v$1(obj1, tmp5); componentWillMountResult = obj1; componentWillMountResult = v$1(obj1, obj1.getChildContext()); tmp5 = obj1; } if (!flag) { componentWillMountResult = obj1; flag = null == obj1.getSnapshotBeforeUpdate; } if (!flag) { componentWillMountResult = obj1; const snapshotBeforeUpdate = obj1.getSnapshotBeforeUpdate(props2, state); } componentWillMountResult = element; if (null != element) { componentWillMountResult = element; componentWillMountResult = g$1; if (element.type === g$1) { componentWillMountResult = element; if (null == element.key) { componentWillMountResult = element; let children = element.props.children; } componentWillMountResult = children; if (componentWillMountResult(children)) { let items1 = children; } else { items1 = [children]; } componentWillMountResult = tmp5; componentWillMountResult = __P; componentWillMountResult = items1; componentWillMountResult = type; componentWillMountResult = __u; componentWillMountResult = flag; componentWillMountResult = tmp9; componentWillMountResult = arr; componentWillMountResult = tmp8; componentWillMountResult = tmp7; componentWillMountResult = arg9; componentWillMountResult = componentWillMountResult(__P, items1, type, __u, tmp5, flag, tmp9, arr, tmp8, tmp7, arg9); componentWillMountResult = obj1; obj1.base = type.__e; type.__u = type.__u & -161; if (obj1.__h.length) { componentWillMountResult = obj1; componentWillMountResult = arr.push(obj1); } if (tmp6) { obj1.__ = null; obj1.__E = null; } } } children = element; } while (true) { componentWillMountResult = obj1; obj1.__d = false; componentWillMountResult = ___r; if (___r) { componentWillMountResult = ___r; componentWillMountResult = ___r(type); } componentWillMountResult = obj1; element = obj1.render(obj1.props, obj1.state, obj1.context); obj1.state = obj1.__s; if (!obj1.__d) { break; } else { componentWillMountResult = num5; componentWillMountResult = num5 + 1; num5 = componentWillMountResult; if (componentWillMountResult < 25) { continue; } else { break; } break; } } } } catch (componentWillMountResult) { componentWillMountResult = null; componentWillMountResult.__v = null; if (!tmp4) { if (componentWillMountResult == arr) { ({ __e: tmp.__e, __k: tmp.__k } = tmp2); } componentWillMountResult = obj; componentWillMountResult = obj.__e(componentWillMountResult, componentWillMountResult, tmp2); } componentWillMountResult.__e = tmp3; let num9 = 32; if (tmp4) { num9 = 160; } componentWillMountResult.__u = componentWillMountResult.__u | num9; arr[arr.indexOf(tmp3)] = componentWillMountResult; } } else { componentWillMountResult = null; if (null == tmp9) { if (type.__v === __u.__v) { ({ __k: type.__k, __e: type.__e } = __u); } } type.__e = z$1(__u.__e, type, __u, tmp5, flag, tmp9, arr, tmp7, arg9); } componentWillMountResult = obj; const diffed = obj.diffed; componentWillMountResult = diffed; if (diffed) { componentWillMountResult = diffed(type); } } } function z$1(__e, type, props, __s2, flag, arg5, arr, arg7, arg8) { let length; let tmp; let tmp30; let tmp73; ({ props, type } = type); if ("svg" === type) { flag = true; } let iter = __e; if (null != arg5) { let num = 0; let num3 = 3; iter = __e; if (0 < arg5.length) { while (true) { tmp = arg5[num]; let tmp2 = num; if (tmp) { if ("setAttribute" in tmp === type) { if (type) { let tmp3 = tmp.localName === type; } else { tmp3 = num3 === tmp.nodeType; } if (tmp3) { break; } } } num = num + 1; iter = __e; } arg5[num] = null; iter = tmp; } } let tmp4 = arg7; if (null != iter) { if (null === type) { let tmp91 = props.props === props; if (!tmp91) { if (tmp4) { tmp4 = iter.data === props; } tmp91 = tmp4; } if (!tmp91) { iter.data = props; } } else if (!arg5) { let iter2 = tmp10; if (!tmp4) { iter2 = tmp10; if (null != arg5) { const obj = {}; num3 = 0; iter2 = obj; if (0 < iter.attributes.length) { do { let iter3 = iter.attributes[num3]; obj[iter3.name] = iter3.value; num3 = num3 + 1; iter2 = obj; length = iter.attributes.length; } while (num3 < length); } } } const keys = Object.keys(); if (keys !== undefined) { while (keys[num3] !== undefined) { let tmp95 = iter2[tmp16]; if ("children" == tmp16) { continue; } else { let tmp17 = tmp95; if ("dangerouslySetInnerHTML" != tmp16) { let tmp18 = "key" === tmp16 || tmp16 in props; tmp17 = tmp15; if (!tmp18) { let tmp19 = A$1; let tmp20 = iter; let tmp21 = tmp16; let tmp22 = null; let tmp23 = tmp95; let tmp24 = flag; let tmp25 = A$1(iter, tmp94, null, tmp95, flag); tmp17 = tmp15; } } let tmp12 = tmp17; continue; } continue; } } let tmp34; const keys1 = Object.keys(); if (keys1 !== undefined) { tmp34 = tmp30; while (keys1[num3] !== undefined) { let tmp97 = props[tmp40]; let tmp29 = tmp97; if ("children" == tmp40) { continue; } else { let tmp27 = tmp36; let tmp28 = tmp37; tmp29 = tmp38; tmp30 = tmp97; if ("dangerouslySetInnerHTML" == tmp40) { continue; } else { tmp27 = tmp36; tmp28 = tmp97; tmp29 = tmp38; tmp30 = tmp39; if ("value" == tmp40) { continue; } else { tmp27 = tmp97; tmp28 = tmp37; tmp29 = tmp38; tmp30 = tmp39; if ("checked" == tmp40) { continue; } else { let tmp41 = "key" === tmp40; if (!tmp41) { let tmp42 = tmp4; if (tmp4) { tmp42 = typeof tmp97 !== "function"; } tmp41 = tmp42; } if (!tmp41) { tmp41 = iter2[tmp40] === tmp97; } tmp27 = tmp36; tmp28 = tmp37; tmp29 = tmp38; tmp30 = tmp39; if (tmp41) { continue; } else { let tmp43 = A$1; let tmp44 = iter; let tmp45 = tmp40; let tmp46 = tmp97; let tmp47 = flag; let tmp48 = A$1(iter, tmp96, tmp97, iter2[tmp40], flag); tmp27 = tmp36; tmp28 = tmp37; tmp29 = tmp38; tmp30 = tmp39; continue; } continue; } continue; } continue; } continue; } continue; } } if (tmp34) { let tmp75 = tmp4; if (!tmp4) { let tmp76 = tmp13; if (tmp13) { tmp76 = tmp34.__html === tmp13.__html || tmp34.__html === iter.innerHTML; const tmp77 = tmp34.__html === tmp13.__html || tmp34.__html === iter.innerHTML; } tmp75 = tmp76; } if (!tmp75) { iter.innerHTML = tmp34.__html; } type.__k = []; } else { if (tmp13) { iter.innerHTML = ""; } let items = isArray(tmp33); let tmp51 = tmp33; if (!items) { items = [tmp33]; tmp51 = items; } let tmp52 = flag; if (flag) { tmp52 = "foreignObject" !== type; } if (arg5) { const first = 32; } else if (props.__k) { let num5 = 0; if (0 < props.__k.length) { while (true) { items = props.__k[num5]; let tmp54 = num5; if (null == items) { num5 = num5 + 1; __e = items.__e; break; } else if (null != items.__e) { break; } } } if (typeof props.type === "function") { let tmp57 = null; if (props.__) { tmp57 = m$1(props.__, props.__i + 1); } } } P$1(iter, tmp51, type, props, __s2, tmp52, arg5, arr, first, tmp4, arg8); if (null != arg5) { let diff = tmp98 - 1; if (+arg5.length) { do { let tmp70 = diff; if (null != arg5[diff]) { let tmp71 = arg5[diff]; let parentNode = tmp71.parentNode; if (parentNode) { let removeChildResult = parentNode.removeChild(tmp71); } } tmp73 = +diff; diff = tmp73 - 1; } while (tmp73); } } const tmp49 = P$1; } if (!tmp4) { let tmp78 = undefined !== tmp32; if (tmp78) { let tmp79 = tmp32 !== iter.value; if (!tmp79) { tmp79 = "progress" === type && !tmp32; const tmp80 = "progress" === type && !tmp32; } if (!tmp79) { tmp79 = "option" === type && tmp32 !== iter2.value; const tmp81 = "option" === type && tmp32 !== iter2.value; } tmp78 = tmp79; } if (tmp78) { A$1(iter, "value", tmp32, iter2.value, false); } if (tmp86) { A$1(iter, "checked", tmp31, iter2.checked, false); } tmp86 = undefined !== tmp31 && tmp31 !== iter.checked; } } else { const call = slice.call; const childNodes = iter.childNodes; typeof call === "unknown" ? slice() : call(childNodes); const tmp8 = slice; } return iter; } else if (null === type) { const _document = document; return document.createTextNode(props); } else { const _document2 = document; if (flag) { let elementNS = _document2.createElementNS("http://www.w3.org/2000/svg", type); } else { let is = props.is; if (is) { is = props; } elementNS = ; } } } function N(fn, current, __v) { try { if (typeof fn === "function") { fn(current); } else { fn.current = current; } } catch (tmp4) { obj.__e(tmp4, __v); } } function O(ref, __v) { if (obj.unmount) { obj.unmount(ref); } if (ref.ref) { if (!tmp2) { N(ref, null, __v); } tmp2 = ref.current && ref.current !== ref.__e; } const __c = ref.__c; if (null == __c) { let tmp9 = arg2; const __k = ref.__k; if (__k) { for (let num = 0; num < __k.length; num = num + 1) { let tmp10 = num; if (__k[num]) { let tmp12 = tmp9; let tmp11 = O; if (!tmp9) { tmp12 = typeof ref.type !== "function"; } let tmp11Result = tmp11(__k[num], __v, tmp12); } } } if (!tmp9) { tmp9 = null == ref.__e; } if (!tmp9) { p$1(ref.__e); } ref.__d = undefined; ref.__e = undefined; ref.__ = undefined; } else { if (__c.componentWillUnmount) { try { __c.componentWillUnmount(); } catch (tmp7) { obj.__e(tmp7, __v); } } __c.__P = null; __c.base = null; ref.__c = undefined; } } function q$1(arg0, arg1, arg2) { return this.constructor(arg0, arg2); } let fn = function y(arg0, fn) { let closure_42 = tmp + 1; if (obj.__h) { let num = c46; if (!c46) { num = 2; } obj.__h(closure_43, tmp, num); const tmp2 = closure_43; } c46 = 0; let __H = closure_43.__H; if (!__H) { obj = { __: null, __h: null }; obj[0] = []; obj[1] = []; closure_43.__H = obj; __H = obj; } if (+closure_42 >= __H.__.length) { let __ = __H.__; obj = { __V: null }; obj[0] = closure_48; __.push(obj); } const require = tmp7; __H.__[+closure_42].t = arg0; if (!__H.__[+closure_42].__c) { if (arg2) { let tmp10 = arg2(fn); } else { tmp10 = fn; if (typeof fn === "function") { tmp10 = fn(undefined); } } let items = [ tmp10, (arg0) => { if (tmp7.__N) { let first = obj.__N[0]; } else { first = obj.__[0]; } const tResult = tmp7.t(first, arg0); if (first !== tResult) { const items = [tResult, obj.__[1]]; obj.__N = items; const __c = obj.__c; __c.setState({}); } } ]; tmp7.__ = items; tmp7.__c = closure_43; if (!closure_43.u) { fn = function f(arg0, arg1, arg2) { if (tmp7.__c.__H) { const self = this; const __ = tmp.__c.__H.__; const found = __.filter((__c) => __c.__c); if (found.every((__N) => !__N.__N)) { if (!shouldComponentUpdate) { return !shouldComponentUpdate; } else { const call2 = shouldComponentUpdate.call; if (typeof call2 === "unknown") { let call2Result = tmp14(arg0, arg1, arg2); } else { call2Result = call2(self, arg0, arg1, arg2); } } } else { tmp7 = false; const item = found.forEach((__N) => { if (__N.__N) { __N.__ = __N.__N; __N.__N = undefined; if (__N.__[0] !== __N.__[0]) { let c0 = true; } } }); tmp7 = !tmp7; if (!tmp7) { tmp7 = tmp.__c.props === arg0; } let tmp8 = !tmp7; if (!tmp7) { if (!shouldComponentUpdate) { tmp8 = !shouldComponentUpdate; } else { const call = shouldComponentUpdate.call; if (typeof call === "unknown") { let callResult = tmp10(arg0, arg1, arg2); } else { callResult = call(self, arg0, arg1, arg2); } } } return tmp8; } } else { return true; } }; closure_43.u = true; const shouldComponentUpdate = closure_43.shouldComponentUpdate; const componentWillUpdate = closure_43.componentWillUpdate; closure_43.componentWillUpdate = function(D, __getInternalProperties) { const self = this; if (this.__e) { let closure_2; fn(D, __getInternalProperties, arg2); } if (componentWillUpdate) { const call = tmp4.call; if (typeof call === "unknown") { tmp4(D, __getInternalProperties, arg2); } else { call(self, D, __getInternalProperties, arg2); } } }; closure_43.shouldComponentUpdate = fn; } } return __H.__[+closure_42].__N || __H.__[+closure_42].__; }; class A { constructor(arg0, arg1) { tmp = +closure_42; closure_42 = tmp + 1; obj = slice; if (slice.__h) { num = c46; tmp2 = closure_43; if (!c46) { num = 4; } __hResult = obj.__h(tmp2, tmp, num); } c46 = 0; __H = closure_43.__H; if (!__H) { tmp4 = closure_43; obj = { __: null, __h: null }; obj[0] = []; obj[1] = []; closure_43.__H = obj; __H = obj; } if (tmp >= __H.__.length) { __ = __H.__; obj1 = { __V: null }; tmp5 = C$1; obj1[0] = C$1; arr = __.push(obj1); } tmp7 = __H.__[tmp]; __s = obj.__s; tmp8 = !__s; if (!__s) { __H = tmp7.__H; someResult = !__H; if (__H) { someResult = __H.length !== require.length; } if (!someResult) { someResult = require.some((arg0, arg1) => arg0 !== __H[arg1]); } tmp8 = someResult; } if (tmp8) { tmp10 = global; tmp7.__ = global; tmp7.i = require; tmp11 = closure_43; __h = closure_43.__h; arr1 = __h.push(tmp7); } return; } } let closure_57 = A; const fn2 = function q(__h, arr) { let closure_42 = tmp + 1; if (obj.__h) { let num = c46; if (!c46) { num = 7; } obj.__h(closure_43, tmp, num); const tmp2 = closure_43; } c46 = 0; let __H = closure_43.__H; if (!__H) { obj = { __: null, __h: null }; obj[0] = []; obj[1] = []; closure_43.__H = obj; __H = obj; } if (+closure_42 >= __H.__.length) { let __ = __H.__; obj = { __V: null }; obj[0] = closure_48; __.push(obj); } __H = tmp7.__H; let someResult = !__H; if (__H) { someResult = __H.length !== arr.length; } if (!someResult) { someResult = arr.some((arg0, arg1) => arg0 !== __H[arg1]); } if (someResult) { tmp7.__V = __h(); tmp7.i = arr; tmp7.__h = __h; __ = tmp7.__V; } else { __ = tmp7.__; } return __; }; function j() { let arr = arr2.shift(); if (arr) { if (arr.__P) { if (arr.__H) { try { const __h = arr.__H.__h; const item = __h.forEach(z); const __h1 = arr.__H.__h; const item1 = __h1.forEach(B); arr.__H.__h = []; } catch (tmp8) { tmp.__H.__h = []; obj.__e(tmp8, tmp.__v); } } } arr = arr2.shift(); } } function w(arg0) { let closure_0 = arg0; const fn = function r() { clearTimeout(closure_2); if (outer1_60) { const _cancelAnimationFrame = cancelAnimationFrame; cancelAnimationFrame(closure_1); } const timerId = setTimeout(closure_0); }; const timeout = setTimeout(fn, 100); if (closure_60) { const _requestAnimationFrame = requestAnimationFrame; let closure_1 = requestAnimationFrame(fn); } } function z(__c) { __c = __c.__c; if (typeof __c === "function") { __c.__c = undefined; __c(); } } function B(arg0) { arg0.__c = arg0.__(); } function D(arg0, fn) { let tmp = fn; if (typeof fn === "function") { tmp = fn(arg0); } return tmp; } function DialogHeader(options) { options = options.options; const tmp = fn2(() => { const obj = { __html: null }; const elementNS = closure_4.createElementNS("http://www.w3.org/2000/svg", "svg"); let elementNS1 = elementNS; const entries = Object.entries({ width: "32", height: "30", viewBox: "0 0 72 66", fill: "inherit" }); const item = entries.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); elementNS1 = closure_4.createElementNS("http://www.w3.org/2000/svg", "path"); const entries1 = Object.entries({ transform: "translate(11, 11)", d: "M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z" }); const item1 = entries1.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); elementNS.appendChild(elementNS1); obj[0] = elementNS.outerHTML; return obj; }, []); let tmp2Result = null; if (options.showBranding) { let obj = { class: "brand-link", target: "_blank", href: "https://sentry.io/welcome/", title: "Powered by Sentry", rel: "noopener noreferrer", dangerouslySetInnerHTML: null }; obj[5] = tmp; tmp2Result = tmp2("a", obj); } return y$1("h2", { class: "dialog__header" }, y$1("span", { class: "dialog__title" }, options.formTitle), tmp2Result); } function retrieveStringValue(get) { const str = get.get(arg1); let str2 = ""; if (typeof str === "string") { str2 = str.trim(); } return str2; } function Form(onSubmitError) { let addScreenshotButtonLabel; let c10; let c11; let c14; let c4; let cancelButtonLabel; let defaultEmail; let defaultName; let emailLabel; let emailPlaceholder; let f102031; let messagePlaceholder; let namePlaceholder; let onFormClose; let onSubmitSuccess; let options; let removeScreenshotButtonLabel; let showEmail; let showName; let submitButtonLabel; let tmp12; let tmp5; let tmp7; ({ options, defaultEmail, defaultName, onSubmit: f102031, onSubmitSuccess } = onSubmitError); onSubmitError = onSubmitError.onSubmitError; let screenshotInput = onSubmitError.screenshotInput; c4 = undefined; emailLabel = undefined; let isEmailRequired; let isNameRequired; let messageLabel; let nameLabel; c10 = undefined; c11 = undefined; let first; let closure_13; c14 = undefined; let closure_15; ({ tags: c4, addScreenshotButtonLabel, emailLabel } = options); isEmailRequired = options.isEmailRequired; isNameRequired = options.isNameRequired; messageLabel = options.messageLabel; nameLabel = options.nameLabel; const isRequiredLabel = options.isRequiredLabel; let c46 = 1; ({ onFormClose, showEmail, showName } = onSubmitError); ({ removeScreenshotButtonLabel, cancelButtonLabel, emailPlaceholder, messagePlaceholder, namePlaceholder, submitButtonLabel } = options); [tmp5, c10] = onSubmitError(fn(D, false), 2); c46 = 1; const tmp = fn; let tmp2 = D; let tmp3 = onSubmitError; const tmp4 = onSubmitError(fn(D, false), 2); [tmp7, c11] = onSubmitError(fn(D, null), 2); c46 = 1; const tmp8 = onSubmitError(fn(D, false), 2); first = tmp8[0]; closure_13 = tmp8[1]; let input; if (screenshotInput != null) { input = screenshotInput.input; } c46 = 1; const tmp6 = onSubmitError(fn(D, null), 2); [tmp12, c14] = tmp3(tmp(tmp2, null), 2); f102031 = (arg0) => { _undefined2(arg0); callback(false); }; c46 = 8; let items = [emailLabel, isEmailRequired, isNameRequired, messageLabel, nameLabel]; f102031 = (name) => { let tmp2 = isEmailRequired; let tmp3 = isNameRequired; if (isNameRequired) { tmp3 = !name.name; } const items = []; if (tmp3) { items.push(nameLabel); } if (tmp2) { tmp2 = !name.email; } if (tmp2) { items.push(emailLabel); } if (!name.message) { items.push(messageLabel); } if (items.length > 0) { const _HermesInternal = HermesInternal; _undefined("Please enter in the following required fields: " + items.join(", ")); } else { _undefined(null); } return 0 === items.length; }; c46 = 8; const tmp13 = fn2; const tmp3Result = tmp3(tmp(tmp2, null), 2); closure_15 = fn2(() => f67831, items); f102031 = undefined; f102031 = screenshotInput((arg0) => { let closure_0 = arg0; let c5 = 0; let c6 = 0; let c4 = 0; return (function*(arg0) { if (c6 === 2) { c6 = 3; HermesBuiltin.throwTypeError(); } else if (tmp7 === 3) { if (arg0 === 1) { throw arg1; } else if (arg0 === 2) { let obj = { value: null, done: true }; obj[0] = arg1; return obj; } else { return { value: "T", done: null }; } } else { try { c6 = 2; if (0 === c5) { if (arg0 === 1) { c6 = 3; throw arg1; } else if (arg0 === 2) { c6 = 3; obj = { value: null, done: true }; obj[0] = arg1; return obj; } else { let c2 = tmp3; let c1 = tmp5; let formData; c1 = undefined; c2 = undefined; let closure_3; outer1_10(true); let c4 = 1; formData.preventDefault(); if (formData.target instanceof globalThis.HTMLFormElement) { const _FormData = FormData; formData = new FormData(tmp88.target); let valueResult; if (outer1_3) { if (outer1_12) { valueResult = outer1_3.value(); } } c5 = 2; c6 = 1; const obj1 = { value: null, done: false }; obj1[0] = valueResult; return obj1; } else { c4 = 0; outer1_10(false); c6 = 3; return { value: "T", done: null }; } tmp88 = formData; } } else if (1 === tmp8) { c4 = 0; outer1_10(false); throw closure_3; } else if (2 === tmp8) { if (arg0 === 1) { c6 = 3; throw arg1; } else if (arg0 === 2) { c4 = 0; outer1_10(false); c6 = 3; const obj2 = { value: null, done: true }; obj2[0] = arg1; return obj2; } else { const outer1_1 = arg1; const obj3 = { name: null, email: null, message: null, attachments: null }; obj3[0] = outer2_67(callback, "name"); obj3[1] = outer2_67(callback, "email"); obj3[2] = outer2_67(callback, "message"); let tmp40; if (outer1_1) { const items = [outer1_1]; tmp40 = items; } obj3[3] = tmp40; const outer1_2 = obj3; if (outer1_15(outer1_2)) { c4 = 2; const obj4 = { name: null, email: null, message: null, source: "widget", tags: null }; obj4[0] = outer1_2.name; obj4[1] = outer1_2.email; obj4[2] = outer1_2.message; obj4[4] = c4; const obj5 = { attachments: null }; obj5[0] = outer1_2.attachments; c5 = 4; c6 = 1; const obj6 = { value: null, done: false }; obj6[0] = callback(obj4, obj5); return obj6; } else { c4 = 0; outer1_10(false); c6 = 3; return { value: "T", done: null }; } } } else { if (3 === tmp8) { c4 = 1; c4 = closure_3; if (messageLabel) { const debug = f102031(onSubmitSuccess[2]).debug; debug.error(c4); } outer1_11(c4); outer1_2(c4); c4 = 0; outer1_10(false); c6 = 3; } else if (arg0 === 1) { c6 = 3; throw arg1; } else if (arg0 !== 2) { closure_3 = arg1; outer1_1(c2, closure_3); c4 = 1; } c4 = 0; outer1_10(false); c6 = 3; obj = { value: null, done: true }; obj[0] = arg1; return obj; } } catch (tmp72) { closure_3 = tmp72; if (tmp4 === c4) { c6 = tmp2; throw tmp72; } else if (tmp === tmp74) { c5 = tmp; } else { c5 = tmp2; } } } })(); }); if (screenshotInput) { screenshotInput = first; } const items1 = [screenshotInput, onSubmitSuccess, onSubmitError]; f102031 = function(arg0) { const self = this; const apply = f102031.apply; if (typeof apply === "unknown") { let applyArgumentsResult = HermesBuiltin.applyArguments(self); } else { applyArgumentsResult = apply(self, arguments); } return applyArgumentsResult; }; c46 = 8; let obj = { class: "form", onSubmit: tmp13(() => f67831, items1) }; let tmp15Result = null; if (input) { tmp15Result = null; if (first) { obj = { onError: null }; obj[0] = tmp14; tmp15Result = tmp15(input, obj); } } obj = { class: "form__right", "data-sentry-feedback": true, disabled }; tmp15Result = null; if (tmp7) { tmp15Result = tmp15("div", { class: "form__error-container" }, tmp7); } if (showName) { let obj1 = { label: null, isRequiredLabel: null, isRequired: null }; obj1[0] = nameLabel; obj1[1] = isRequiredLabel; obj1[2] = isNameRequired; let obj2 = { class: "form__input", defaultValue: null, id: "name", name: "name", placeholder: null, required: null, type: "text" }; obj2[1] = defaultName; obj2[4] = namePlaceholder; obj2[5] = isNameRequired; let tmp15Result2 = tmp15("label", { for: "name", class: "form__label" }, tmp15(LabelText, obj1), tmp15("input", obj2)); const tmp15Result1 = tmp15(LabelText, obj1); } else { let obj3 = { "aria-hidden": true, value: null, name: "name", type: "hidden" }; obj3[1] = defaultName; tmp15Result2 = tmp15("input", obj3); } if (showEmail) { let obj4 = { label: null, isRequiredLabel: null, isRequired: null }; obj4[0] = emailLabel; obj4[1] = isRequiredLabel; obj4[2] = isEmailRequired; let obj5 = { class: "form__input", defaultValue: null, id: "email", name: "email", placeholder: null, required: null, type: "email" }; obj5[1] = defaultEmail; obj5[4] = emailPlaceholder; obj5[5] = isEmailRequired; let tmp15Result4 = tmp15("label", { for: "email", class: "form__label" }, tmp15(LabelText, obj4), tmp15("input", obj5)); const tmp15Result3 = tmp15(LabelText, obj4); } else { let obj6 = { "aria-hidden": true, value: null, name: "email", type: "hidden" }; obj6[1] = defaultEmail; tmp15Result4 = tmp15("input", obj6); } tmp14 = fn2(() => f67831, []); const tmp15Result5 = y$1(LabelText, { label: messageLabel, isRequiredLabel, isRequired: true }); let tmp15Result9 = null; if (input) { const obj7 = { class: "btn btn--default", disabled: null, type: "button", onClick: null }; obj7[1] = disabled; obj7[3] = function onClick() { _undefined2(null); callback((arg0) => !arg0); }; if (first) { addScreenshotButtonLabel = removeScreenshotButtonLabel; } const tmp15Result7 = tmp15("button", obj7, addScreenshotButtonLabel); let tmp15Result8 = null; if (tmp12) { tmp15Result8 = tmp15("div", { class: "form__error-container" }, tmp12.message); } tmp15Result9 = tmp15("label", { for: "screenshot", class: "form__label" }, tmp15Result7, tmp15Result8); } const tmp15Result6 = y$1("label", { for: "message", class: "form__label" }, y$1(LabelText, { label: messageLabel, isRequiredLabel, isRequired: true }), y$1("textarea", { autoFocus: true, class: "form__input form__input--textarea", id: "message", name: "message", placeholder: messagePlaceholder, required: true, rows: 5 })); const tmp15Result10 = y$1("div", { class: "form__top" }, tmp15Result, tmp15Result2, tmp15Result4, y$1("label", { for: "message", class: "form__label" }, y$1(LabelText, { label: messageLabel, isRequiredLabel, isRequired: true }), y$1("textarea", { autoFocus: true, class: "form__input form__input--textarea", id: "message", name: "message", placeholder: messagePlaceholder, required: true, rows: 5 })), tmp15Result9); return y$1("form", obj, tmp15Result, y$1("fieldset", obj, tmp15Result10, y$1("div", { class: "btn-group" }, y$1("button", { class: "btn btn--primary", disabled, type: "submit" }, submitButtonLabel), y$1("button", { class: "btn btn--default", disabled, type: "button", onClick }, cancelButtonLabel)))); } function LabelText(arg0) { let isRequired; let label; ({ label, isRequired } = arg0); if (isRequired) { isRequired = tmp2("span", { class: "form__label__text--required" }, tmp); } return y$1("span", { class: "form__label__text" }, label, isRequired); } function Dialog(onFormSubmitted) { onFormSubmitted = onFormSubmitted.onFormSubmitted; let f67831 = onFormSubmitted; const merged = Object.assign(onFormSubmitted, Object.create(null)); let first; let closure_3; const options = merged.options; let c46 = 1; const tmp3 = first(fn(D, null), 2); first = tmp3[0]; closure_3 = tmp3[1]; const items = [first]; f67831 = () => { if (first) { const _clearTimeout = clearTimeout; clearTimeout(tmp); callback(null); } f67831(); }; c46 = 8; [][0] = onFormSubmitted; f67831 = (arg0, arg1) => { merged.onSubmitSuccess(arg0, arg1); callback(setTimeout(() => { callback(); callback2(null); }, 5000)); }; c46 = 8; const tmp2 = fn2(() => { const obj = { __html: null }; const _document = elementNS6(merged[2]).GLOBAL_OBJ.document; const elementNS = _document.createElementNS("http://www.w3.org/2000/svg", "svg"); elementNS6 = elementNS; const entries = Object.entries({ width: "16", height: "17", viewBox: "0 0 16 17", fill: "inherit" }); const item = entries.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); const _document2 = elementNS6(merged[2]).GLOBAL_OBJ.document; const elementNS1 = _document2.createElementNS("http://www.w3.org/2000/svg", "g"); elementNS6 = elementNS1; const entries1 = Object.entries({ clipPath: "url(#clip0_57_156)" }); const item1 = entries1.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); const _document3 = elementNS6(merged[2]).GLOBAL_OBJ.document; const elementNS2 = _document3.createElementNS("http://www.w3.org/2000/svg", "path"); elementNS6 = elementNS2; const entries2 = Object.entries({ "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z" }); const item2 = entries2.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); const _document4 = elementNS6(merged[2]).GLOBAL_OBJ.document; const elementNS3 = _document4.createElementNS("http://www.w3.org/2000/svg", "path"); elementNS6 = elementNS3; const entries3 = Object.entries({ d: "M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z" }); const item3 = entries3.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); elementNS.appendChild(elementNS1).append(elementNS3, elementNS2); const _document5 = elementNS6(merged[2]).GLOBAL_OBJ.document; const elementNS4 = _document5.createElementNS("http://www.w3.org/2000/svg", "defs"); const _document6 = elementNS6(merged[2]).GLOBAL_OBJ.document; const elementNS5 = _document6.createElementNS("http://www.w3.org/2000/svg", "clipPath"); elementNS6 = elementNS5; const entries4 = Object.entries({ id: "clip0_57_156" }); const item4 = entries4.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); const _document7 = elementNS6(merged[2]).GLOBAL_OBJ.document; elementNS6 = _document7.createElementNS("http://www.w3.org/2000/svg", "rect"); const entries5 = Object.entries({ width: "16", height: "16", fill: "white", transform: "translate(0 0.5)" }); const item5 = entries5.forEach((arg0) => { let tmp; let tmp2; [tmp, tmp2] = arg0; obj3.setAttributeNS(null, tmp, tmp2); }); elementNS5.appendChild(elementNS6); elementNS4.appendChild(elementNS5); const appendChildResult = elementNS.appendChild(elementNS1); const appendChildResult3 = elementNS.appendChild(elementNS4); elementNS.appendChild(elementNS4).appendChild(elementNS5).appendChild(elementNS6); obj[0] = elementNS.outerHTML; return obj; }, []); if (first) { let obj = { class: "success__position", onClick: null }; obj[1] = tmp5; obj = { class: "success__icon", dangerouslySetInnerHTML: null }; obj[1] = tmp2; let tmp7Result = tmp7("div", obj, tmp7("div", { class: "success__content" }, options.successMessageText, tmp7("span", obj))); } else { obj = { class: "dialog", onClick: null, open: null }; obj[1] = options.onFormClose; obj[2] = onFormSubmitted.open; const obj1 = { class: "dialog__content", onClick: null }; obj1[1] = function onClick(stopPropagation) { stopPropagation.stopPropagation(); }; const obj2 = { options: null }; obj2[0] = options; const obj3 = {}; tmp7Result = tmp7(DialogHeader, obj2); const merged1 = Object.assign(merged); obj3.onSubmitSuccess = tmp6; tmp7Result = tmp7("dialog", obj, tmp7("div", { class: "dialog__position" }, tmp7("div", obj1, tmp7Result, tmp7(Form, obj3)))); } return y$1(g$1, null, tmp7Result); } Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const document = require("registerSpanErrorInstrumentation").GLOBAL_OBJ.document; const navigator = require("registerSpanErrorInstrumentation").GLOBAL_OBJ.navigator; let c6 = "Report a Bug"; function sendFeedback(message) { let obj = arg1; if (arg1 === undefined) { obj = { includeReplay: true }; } let client; let dependencyMap; if (message.message) { client = client(817).getClient(); if (client) { let length = message.tags; if (length) { const _Object = Object; length = Object.keys(message.tags).length; } if (length) { let tmp6Result = tmp6(817); const currentScope = tmp6Result.getCurrentScope(); currentScope.setTags(message.tags); } tmp6Result = tmp6(817); obj = { source: "api", url: null }; obj[1] = tmp6(817).getLocationHref(); const merged = Object.assign(message); dependencyMap = tmp6Result.captureFeedback(obj, obj); const promise = new Promise((arg0, arg1) => { const client = arg0; let closure_1 = arg1; const timeout = setTimeout(() => callback2("Unable to determine if Feedback was correctly sent."), 30000); let closure_3 = client.on("afterSendEvent", (event_id, statusCode) => { if (event_id.event_id === closure_1) { const _clearTimeout = clearTimeout; clearTimeout(closure_2); callback3(); statusCode = undefined; if (statusCode != null) { statusCode = statusCode.statusCode; } if (statusCode) { if (statusCode.statusCode >= 200) { if (statusCode.statusCode < 300) { let tmp10Result = callback(tmp); } return tmp10Result; } } let statusCode1; if (statusCode != null) { statusCode1 = statusCode.statusCode; } let str = "Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker."; if (403 === statusCode1) { str = "Unable to send feedback. This could be because this domain is not in your list of allowed domains."; } tmp10Result = closure_1(str); const tmp10 = closure_1; } }); }); return promise; } else { const _Error2 = Error; const error = new Error("No client setup, cannot send feedback."); throw error; } const obj2 = client(817); } else { const _Error = Error; const error1 = new Error("Unable to submit feedback with empty message"); throw error1; } } let __SENTRY_DEBUG__ = typeof globalThis.__SENTRY_DEBUG__ === "undefined"; if (typeof globalThis.__SENTRY_DEBUG__ !== "undefined") { __SENTRY_DEBUG__ = globalThis.__SENTRY_DEBUG__; } let closure_10 = { foreground: "#2b2233", background: "#ffffff", accentForeground: "white", accentBackground: "rgba(88, 74, 192, 1)", successColor: "#268d75", errorColor: "#df3338", border: "1.5px solid rgba(41, 35, 47, 0.13)", boxShadow: "0px 4px 24px 0px rgba(43, 34, 51, 0.12)", outline: "1px auto var(--accent-background)", interactiveFilter: "brightness(95%)" }; let closure_11 = { foreground: "#ebe6ef", background: "#29232f", accentForeground: "white", accentBackground: "rgba(88, 74, 192, 1)", successColor: "#2da98c", errorColor: "#f55459", border: "1.5px solid rgba(235, 230, 239, 0.15)", boxShadow: "0px 4px 24px 0px rgba(43, 34, 51, 0.12)", outline: "1px auto var(--accent-background)", interactiveFilter: "brightness(150%)" }; let closure_19 = {}; let items = []; const re21 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i; const slice = items.slice; let obj = { __e(componentWillMountResult, __v, arg2) { let __ = __v.__; let tmp = componentWillMountResult; let tmp2 = componentWillMountResult; if (__) { const __c = __.__c; let tmp5 = tmp; if (__c) { tmp5 = tmp; if (!__c.__) { try { let constructor = __c.constructor; let obj = constructor; if (constructor) { constructor = null != obj.getDerivedStateFromError; } if (constructor) { __c.setState(obj.getDerivedStateFromError(tmp)); let ___d = __c.__d; } if (null != __c.componentDidCatch) { obj = arg3; if (!arg3) { obj = {}; } __c.componentDidCatch(tmp, obj); ___d = __c.__d; } if (___d) { __c.__E = __c; return __c; } else { tmp5 = tmp; } } catch (tmp5) { } } } __ = __.__; tmp = tmp5; tmp2 = tmp5; } throw tmp2; } }; let c14 = 0; b$1.prototype.render = g$1; let closure_15 = []; if (typeof Promise === "function") { let _setTimeout = then.bind(Promise.resolve()); } else { _setTimeout = setTimeout; } function H(__v, __v2) { return __v.__v.__b - __v2.__v.__b; } C$1.__r = 0; let c46 = 0; let closure_47 = []; let closure_48 = []; ({ __b: closure_50, __r: closure_51, diffed: closure_52, __c: closure_53, unmount: closure_54, __: closure_55 } = obj); obj.__b = (arg0) => { let c43 = null; if (closure_50) { tmp(arg0); } }; obj.__ = (arg0, __k) => { if (tmp) { arg0.__m = __k.__k.__m; } if (closure_55) { tmp2(arg0, __k); } }; obj.__r = (__c) => { if (closure_51) { tmp(__c); } let c42 = 0; __c = __c.__c; const __H = __c.__H; if (__H) { if (closure_44 === __c) { __H.__h = []; __c.__h = []; const __ = __H.__; const item = __.forEach((__N) => { if (__N.__N) { __N.__ = __N.__N; } __N.__V = closure_48; __N.i = undefined; __N.__N = undefined; }); } else { const __h = __H.__h; const item1 = __h.forEach(z); const __h1 = __H.__h; const item2 = __h1.forEach(B); __H.__h = []; c42 = 0; } } closure_44 = __c; }; obj.diffed = (__c) => { if (closure_52) { tmp(__c); } __c = __c.__c; let __H = __c; if (__c) { __H = __c.__H; } if (__H) { if (__c.__H.__h.length) { let tmp4 = 1 !== arr2.push(__c); if (tmp4) { tmp4 = _requestAnimationFrame === obj.requestAnimationFrame; } if (!tmp4) { _requestAnimationFrame = obj.requestAnimationFrame; if (!_requestAnimationFrame) { _requestAnimationFrame = w; } const result = _requestAnimationFrame(j); } } const __ = __c.__H.__; const item = __.forEach((arg0) => { if (arg0.i) { arg0.__H = arg0.i; } if (arg0.__V !== closure_48) { arg0.__ = arg0.__V; } arg0.i = undefined; arg0.__V = closure_48; }); } let c43 = null; let c44 = null; }; obj.__c = (arg0, arr) => { let closure_0 = arr; arr.some((__h) => { try { __h = __h.__h; const item = __h.forEach(outer1_62); const __h1 = __h.__h; __h.__h = __h1.filter((arg0) => { const __ = arg0.__; if (__) { arg0.__c = arg0.__(); } return !__; }); } catch (tmp4) { arr.some((__h) => { if (__h.__h) { __h.__h = []; } }); arr = []; outer1_49.__e(tmp4, tmp.__v); } }); if (closure_53) { tmp2(arg0, closure_0); } }; obj.unmount = (__c) => { if (closure_54) { tmp(__c); } __c = __c.__c; let __H = __c; if (__c) { __H = __c.__H; } if (__H) { const __ = __c.__H.__; const item = __.forEach((arg0) => { try { outer1_62(arg0); } catch (tmp4) { let closure_0 = tmp4; } }); __c.__H = undefined; if (require) { obj.__e(require, __c.__v); } } }; let closure_60 = typeof requestAnimationFrame === "function"; const fn3 = function p(__getInternalProperties) { let c46 = 1; return fn(D, __getInternalProperties); }; const fn4 = function x(arg0, arg1) { let closure_0 = arg0; let c46 = 8; return fn2(() => f67831, arg1); }; obj = Object.create(null); obj[0] = fn4; obj[1] = function P(arg0) { let obj = closure_43.context[arg0.__c]; let closure_42 = tmp + 1; if (obj.__h) { let num = c46; if (!c46) { num = 9; } obj.__h(closure_43, tmp, num); const tmp2 = closure_43; } c46 = 0; let __H = closure_43.__H; if (!__H) { obj = { __: null, __h: null }; obj[0] = []; obj[1] = []; closure_43.__H = obj; __H = obj; } if (+closure_42 >= __H.__.length) { let __ = __H.__; obj = { __V: null }; obj[0] = closure_48; __.push(obj); } __H.__[+closure_42].c = arg0; if (obj) { if (null == tmp7.__) { tmp7.__ = true; obj.sub(closure_43); } __ = obj.props.value; } else { __ = arg0.__; } return __; }; obj[2] = function V(arg0, arg1) { if (obj.useDebugValue) { let tmp3 = arg0; if (arg1) { tmp3 = arg1(arg0); } const debugValue = obj.useDebugValue(tmp3); } }; obj[3] = function _(arg0, arr) { let closure_42 = tmp + 1; if (obj.__h) { let num = c46; if (!c46) { num = 3; } obj.__h(closure_43, tmp, num); const tmp2 = closure_43; } c46 = 0; let __H = closure_43.__H; if (!__H) { obj = { __: null, __h: null }; obj[0] = []; obj[1] = []; closure_43.__H = obj; __H = obj; } if (+closure_42 >= __H.__.length) { const __ = __H.__; obj = { __V: null }; obj[0] = closure_48; __.push(obj); } const __s = obj.__s; let tmp8 = !__s; if (!__s) { __H = tmp7.__H; let someResult = !__H; if (__H) { someResult = __H.length !== arr.length; } if (!someResult) { someResult = arr.some((arg0, arg1) => arg0 !== __H[arg1]); } tmp8 = someResult; } if (tmp8) { tmp7.__ = arg0; tmp7.i = arr; const __h = closure_43.__H.__h; __h.push(tmp7); } }; obj[4] = function b(arg0) { let closure_42 = tmp + 1; if (obj.__h) { let num = c46; if (!c46) { num = 10; } obj.__h(closure_43, tmp, num); const tmp2 = closure_43; } c46 = 0; let __H = closure_43.__H; if (!__H) { obj = { __: null, __h: null }; obj[0] = []; obj[1] = []; closure_43.__H = obj; __H = obj; } if (+closure_42 >= __H.__.length) { const __ = __H.__; obj = { __V: null }; obj[0] = closure_48; __.push(obj); } const require = tmp7; c46 = 1; const tmp8 = fn(D, undefined); const dependencyMap = tmp8; __H.__[+closure_42].__ = arg0; if (!closure_43.componentDidCatch) { closure_43.componentDidCatch = (tmpResult) => { if (tmp7.__) { tmp7.__(tmpResult, arg1); } tmp8[1](tmpResult); }; } const items = [ tmp8[0], () => { tmp8[1](undefined); } ]; return items; }; obj[5] = function g() { let closure_42 = tmp + 1; if (obj.__h) { let num = c46; if (!c46) { num = 11; } obj.__h(closure_43, tmp, num); const tmp2 = closure_43; } c46 = 0; let __H = closure_43.__H; if (!__H) { obj = { __: null, __h: null }; obj[0] = []; obj[1] = []; closure_43.__H = obj; __H = obj; } if (+closure_42 >= __H.__.length) { let __ = __H.__; obj = { __V: null }; obj[0] = closure_48; __.push(obj); } if (!__H.__[+closure_42].__) { const __v = closure_43.__v; let tmp10 = __v; if (null !== __v) { tmp10 = __v; if (!__v.__m) { let tmp11 = __v; tmp10 = __v; if (null !== __v.__) { __ = tmp11.__; tmp10 = __; while (null !== __) { tmp10 = __; if (__.__m) { break; } else { tmp11 = __; tmp10 = __; if (null === __.__) { break; } } } } } } let __m = tmp10.__m; if (!__m) { const items = [0, 0]; tmp10.__m = items; __m = items; } __m[1] = +__m[1] + 1; tmp7.__ = `P${__m[0]}-${+__m[1]}`; } return __H.__[+closure_42].__; }; obj[6] = function T(arg0, arg1, arr) { let closure_0 = arg0; let closure_1 = arg1; let c46 = 6; let combined = arr; if (null != arr) { combined = arr.concat(arg0); } closure_57(() => { if (typeof closure_0 === "function") { tmp(callback()); let fn = () => callback(null); } else if (tmp) { tmp.current = callback(); fn = () => { closure_0.current = null; return null; }; } return fn; }, combined); }; obj[7] = A; obj[8] = fn2; obj[9] = fn; obj[10] = function F(arg0) { let closure_0 = arg0; let c46 = 5; return fn2(() => ({ current: closure_0 }), []); }; obj[11] = fn3; let closure_65 = Object.defineProperty(obj, Symbol.toStringTag, { value: "Module" }); export const buildFeedbackIntegration = (arg0) => { let _slicedToArray; let dependencyMap; let require; ({ lazyLoadIntegration: require, getModalIntegration: dependencyMap, getScreenshotIntegration: _slicedToArray } = arg0); return () => { let colorScheme; let tags; let obj = arg0; if (arg0 === undefined) { obj = {}; } let str = obj.id; if (str === undefined) { str = "sentry-feedback"; } let flag = obj.autoInject; if (flag === undefined) { flag = true; } let flag2 = obj.showBranding; if (flag2 === undefined) { flag2 = true; } let flag3 = obj.isEmailRequired; if (flag3 === undefined) { flag3 = false; } let flag4 = obj.isNameRequired; if (flag4 === undefined) { flag4 = false; } let flag5 = obj.showEmail; if (flag5 === undefined) { flag5 = true; } let flag6 = obj.showName; if (flag6 === undefined) { flag6 = true; } let flag7 = obj.enableScreenshot; if (flag7 === undefined) { flag7 = true; } let useSentryUser = obj.useSentryUser; if (useSentryUser === undefined) { useSentryUser = { email: "email", name: "username" }; } const styleNonce = obj.styleNonce; let closure_0 = styleNonce; const scriptNonce = obj.scriptNonce; ({ colorScheme, tags } = obj); if (colorScheme === undefined) { colorScheme = "system"; } let themeLight = obj.themeLight; if (themeLight === undefined) { themeLight = {}; } let themeDark = obj.themeDark; if (themeDark === undefined) { themeDark = {}; } let str2 = obj.addScreenshotButtonLabel; if (str2 === undefined) { str2 = "Add a screenshot"; } let str3 = obj.cancelButtonLabel; if (str3 === undefined) { str3 = "Cancel"; } let str4 = obj.confirmButtonLabel; if (str4 === undefined) { str4 = "Confirm"; } let str5 = obj.emailLabel; if (str5 === undefined) { str5 = "Email"; } let str6 = obj.emailPlaceholder; if (str6 === undefined) { str6 = "your.email@example.org"; } let str7 = obj.formTitle; if (str7 === undefined) { str7 = "Report a Bug"; } let str8 = obj.isRequiredLabel; if (str8 === undefined) { str8 = "(required)"; } let str9 = obj.messageLabel; if (str9 === undefined) { str9 = "Description"; } let str10 = obj.messagePlaceholder; if (str10 === undefined) { str10 = "What's the bug? What did you expect?"; } let str11 = obj.nameLabel; if (str11 === undefined) { str11 = "Name"; } let str12 = obj.namePlaceholder; if (str12 === undefined) { str12 = "Your Name"; } let str13 = obj.removeScreenshotButtonLabel; if (str13 === undefined) { str13 = "Remove screenshot"; } let str14 = obj.submitButtonLabel; if (str14 === undefined) { str14 = "Send Bug Report"; } let str15 = obj.successMessageText; if (str15 === undefined) { str15 = "Thank you for your report!"; } let triggerLabel = obj.triggerLabel; if (triggerLabel === undefined) { triggerLabel = outer1_6; } let str16 = obj.triggerAriaLabel; if (str16 === undefined) { str16 = ""; } let str17 = obj.highlightToolText; if (str17 === undefined) { str17 = "Highlight"; } let str18 = obj.hideToolText; if (str18 === undefined) { str18 = "Hide"; } let str19 = obj.removeHighlightText; if (str19 === undefined) { str19 = "Remove"; } let _loadAndRenderDialog; let _attachTo; let _createActor; let closure_2 = { id: str, autoInject: flag, showBranding: flag2, isEmailRequired: flag3, isNameRequired: flag4, showEmail: flag5, showName: flag6, enableScreenshot: flag7, useSentryUser, tags, styleNonce, scriptNonce, colorScheme, themeDark, themeLight, triggerLabel, triggerAriaLabel: str16, cancelButtonLabel: str3, submitButtonLabel: str14, confirmButtonLabel: str4, formTitle: str7, emailLabel: str5, emailPlaceholder: str6, messageLabel: str9, messagePlaceholder: str10, nameLabel: str11, namePlaceholder: str12, successMessageText: str15, isRequiredLabel: str8, addScreenshotButtonLabel: str2, removeScreenshotButtonLabel: str13, highlightToolText: str17, hideToolText: str18, removeHighlightText: str19, onFormClose: obj.onFormClose, onFormOpen: obj.onFormOpen, onSubmitError: obj.onSubmitError, onSubmitSuccess: obj.onSubmitSuccess, onFormSubmitted: obj.onFormSubmitted }; let c3 = null; let closure_4 = []; function _createShadow(id) { let colorScheme; let styleNonce; let themeDark; let themeLight; if (!c3) { const element =
; const _String = String; element.id = String(id.id); const body = outer2_4.body; body.appendChild(element); const attachShadowResult = element.attachShadow({ mode: "open" }); c3 = attachShadowResult; ({ colorScheme, themeDark, themeLight, styleNonce } = id); const element1 =