|
|
|
|
!function (e, t) { "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).iframeResize = t() }(this, (function () { "use strict"; const e = "[iframe-resizer]"; const t = t => `${e}[${function (e) { return window.top === window.self ? `Parent page: ${e}` : window?.parentIFrame?.getId ? `${window.parentIFrame.getId()}: ${e}` : `Nested parent page: ${e}` }(t)}]`, i = (e, i, ...n) => window?.console[e](t(i), ...n), n = (e, ...t) => i("warn", e, ...t), o = (t, i) => console?.warn((e => t => window.chrome ? e(t.replaceAll("<br>", "\n").replaceAll("<rb>", "[31;1m").replaceAll("</>", "[m").replaceAll("<b>", "[1m").replaceAll("<i>", "[3m").replaceAll("<u>", "[4m")) : e(t.replaceAll("<br>", "\n").replaceAll(/<[/a-z]+>/gi, "")))((t => (...i) => [`${e}[${t}]`, ...i].join(" "))(t))(i)), r = "5.1.5", a = "[iFrameSizer]", s = a.length, l = Object.freeze({ max: 1, scroll: 1, bodyScroll: 1, documentElementScroll: 1 }), c = (e, t, i, n) => e.addEventListener(t, i, n || !1), d = (e, t, i) => e.removeEventListener(t, i, !1), u = e => { if (!e) return ""; let t = -559038744, i = 1103547984; for (let n, o = 0; o < e.length; o++)n = e.codePointAt(o), t = Math.imul(t ^ n, 2246822519), i = Math.imul(i ^ n, 3266489917); return t ^= Math.imul(t ^ i >>> 15, 1935289751), i ^= Math.imul(i ^ t >>> 15, 3405138345), t ^= i >>> 16, i ^= t >>> 16, (2097152 * (i >>> 0) + (t >>> 11)).toString(36) }, f = e => e.replaceAll(/[A-Za-z]/g, (e => String.fromCodePoint((e <= "Z" ? 90 : 122) >= (e = e.codePointAt(0) + 19) ? e : e - 26))), p = ["<iy><yi>Puchspk Spjluzl Rlf</><iy><iy>", "<iy><yi>Tpzzpun Spjluzl Rlf</><iy><iy>", "Aopz spiyhyf pz hchpshisl dpao ivao Jvttlyjphs huk Vwlu-Zvbyjl spjluzlz.<iy><iy><i>Jvttlyjphs Spjluzl</><iy>Mvy jvttlyjphs bzl, <p>pmyhtl-ylzpgly</> ylxbpylz h svd jvza vul aptl spjluzl mll. Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.<iy><iy><i>Vwlu Zvbyjl Spjluzl</><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-jvttlyjphs vwlu zvbyjl wyvqlja aolu fvb jhu bzl pa mvy myll bukly aol alytz vm aol NWS C3 Spjluzl. Av jvumpyt fvb hjjlwa aolzl alytz, wslhzl zla aol <i>spjluzl</> rlf pu <p>pmyhtl-ylzpgly</> vwapvuz av <i>NWSc3</>.<iy><iy>Mvy tvyl pumvythapvu wslhzl zll: <b>oaawz://pmyhtl-ylzpgly.jvt/nws</>", "<i>NWSc3 Spjluzl Clyzpvu</><iy><iy>Aopz clyzpvu vm <p>pmyhtl-ylzpgly</> pz ilpun bzlk bukly aol alytz vm aol <i>NWS C3</> spjluzl. Aopz spjluzl hssvdz fvb av bzl <p>pmyhtl-ylzpgly</> pu Vwlu Zvbyjl wyvqljaz, iba pa ylxbpylz fvby wyvqlja av il wbispj, wyvcpkl haaypibapvu huk il spjluzlk bukly clyzpvu 3 vy shaly vm aol NUB Nlulyhs Wbispj Spjluzl.<iy><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-vwlu zvbyjl wyvqlja vy dlizpal, fvb dpss ullk av wbyjohzl h svd jvza vul aptl jvttlyjphs spjluzl.<iy><iy>Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>."], m = ["NWSc3", "zvsv", "wyv", "ibzpulzz", "vlt"], h = Object.fromEntries(["2cgs7fdf4xb", "1c9ctcccr4z", "1q2pc4eebgb", "ueokt0969w", "w2zxchhgqz", "1umuxblj2e5"].map(((e, t) => [e, Math.max(0, t - 1)]))), y = e => f(p[e]), g = e => { const t = e[f("spjluzl")]; if (!t) return -1; const i = t.split("-"); let n = function (e = "") { let t = -2; const i = u(f(e)); return i in h && (t = h[i]), t }(i[0]); return 0 === n || (e => e[2] === u(e[0] + e[1]))(i) || (n = -2), n }, w = {}, b = Object.freeze({ autoResize: !0, bodyBackground: null, bodyMargin: null, bodyPadding: null, checkOrigin: !0, direction: "vertical", inPageLinks: !1, heightCalculationMethod: "auto", id: "iFrameResizer", log: !1, license: void 0, mouseEvents: !0, offsetHeight: null, offsetWidth: null, postMessageTarget: null, sameDomain: !1, scrolling: !1, sizeHeight: !0, sizeWidth: !1, warningTimeout: 5e3, tolerance: 0, waitForLoad: !1, widthCalculationMethod: "auto", onClose: () => !0, onClosed() { }, onInit: !1, onMessage: null, onMouseEnter() { }, onMouseLeave() { }, onReady: e => { "function" == typeof w[e.id].onInit && (o(e.id, "\n[31;1mDeprecated Optio
|