e.style.display = "none" })) } function s(e) { var t = e.cloneNode(); while (e.firstChild) t.appendChild(e.firstChild); return e.parentNode.replaceChild(t, e), t } var e = navigator.userAgent.toLowerCase(), t = e.indexOf("micromessenger") > -1 ? !0 : !1, n = /(iPhone|ipod|ipad|ios)/i.test(e); if (!t) return; Array.prototype.forEach.call(document.querySelectorAll(".wx-down"), function (e) { e = s(e), e.addEventListener("click", function (e) { e.stopPropagation(); if (n) { e.preventDefault(), r(), log('wechat_pop_show'); return } if (t) { e.preventDefault(), i(), log('wechat_pop_show'); return } }, !1) }) })();