powered-ad-config 0.1.83 → 0.1.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,18 +29,18 @@ var e = (e, t, n) => {
29
29
  return n?.tagName?.toLowerCase() === t.toLowerCase() ? n : null;
30
30
  }, c = (e, t) => {
31
31
  e && t && e.setAttribute("poweredAC", t);
32
- }, l = (l) => {
33
- let u = window.frameElement ? window.frameElement : null;
34
- if (!u) return () => {};
35
- let d = window.parent;
36
- if (!d || d === window) return () => {};
37
- let f = null;
32
+ }, l = "1300px", u = "#ffffff", d = (d) => {
33
+ let f = window.frameElement ? window.frameElement : null;
34
+ if (!f) return () => {};
35
+ let p = window.parent;
36
+ if (!p || p === window) return () => {};
37
+ let m = null;
38
38
  try {
39
- f = d.document, d.location.href;
39
+ m = p.document, p.location.href;
40
40
  } catch {
41
41
  return () => {};
42
42
  }
43
- let p = null, m = null, h = {
43
+ let h = null, g = null, _ = {
44
44
  siteBackgroundColor: "#ffffff",
45
45
  fireplaceLeftMargin: 0,
46
46
  adNodeMarginTop: -24,
@@ -56,7 +56,7 @@ var e = (e, t, n) => {
56
56
  let e = window.parent.document, t = (e, t) => e.forEach((e) => t.forEach(([t, n]) => e.style[t] = n));
57
57
  e.querySelector(".nk-demographics")?.setAttribute("style", "max-width:1190px;left:50%;transform:translate(-50%,0);"), e.querySelector(".nk-footer")?.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), e.querySelector("article")?.setAttribute("style", "position:relative"), e.querySelector("#article")?.setAttribute("style", "position:relative"), e.querySelector("#VideoIndex")?.setAttribute("style", "position:relative"), e.querySelector("#Index")?.setAttribute("style", "position:relative"), e.querySelector(".show")?.setAttribute("style", "position:relative"), e.querySelector("#adspot-desktop-banner-7-below")?.setAttribute("style", "position:relative"), t(e.querySelectorAll(".column"), [["position", "relative"]]), t(e.querySelectorAll(".advert"), [["position", "relative"]]), t(e.querySelectorAll("blockquote"), [["zIndex", "1"]]), e.querySelector("div[class*=\"article__MyContainer\"]")?.setAttribute("style", "max-width:1190px;margin-top:-24px"), e.querySelector("div[type=\"BANNER\"]")?.setAttribute("style", "display:none"), e.querySelector("div[type=\"MBANNER\"]")?.setAttribute("style", "display:none");
58
58
  }
59
- }, g = {
59
+ }, v = {
60
60
  siteBackgroundColor: "#ffffff",
61
61
  fireplaceLeftMargin: 0,
62
62
  adNodeMarginTop: -24,
@@ -72,10 +72,10 @@ var e = (e, t, n) => {
72
72
  let e = window.parent.document, t = (e, t) => e.forEach((e) => t.forEach(([t, n]) => e.style[t] = n));
73
73
  e.querySelector(".nk-demographics")?.setAttribute("style", "max-width:1190px;left:50%;transform:translate(-50%,0);"), e.querySelector(".nk-footer")?.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), e.querySelector("article")?.setAttribute("style", "position:relative"), e.querySelector("#article")?.setAttribute("style", "position:relative"), e.querySelector("#VideoIndex")?.setAttribute("style", "position:relative"), e.querySelector("#Index")?.setAttribute("style", "position:relative"), e.querySelector(".show")?.setAttribute("style", "position:relative"), t(e.querySelectorAll(".column"), [["position", "relative"]]), t(e.querySelectorAll(".advert"), [["position", "relative"]]), t(e.querySelectorAll("blockquote"), [["zIndex", "1"]]), e.querySelector("div[class^=\"component__StrapContainer\"]")?.setAttribute("style", "position:relative"), e.querySelector("div[class*=\"ArticleContainer\"]")?.setAttribute("style", "max-width:1190px;margin-top:24px"), e.querySelector("div[class*=\"MyContainer\"]")?.setAttribute("style", "max-width:1190px;margin-top:24px");
74
74
  }
75
- }, _ = (e, t = f) => r(t, e), v = (e, t = f) => i(t, e), y = () => _("app") || f.querySelector("#app.nine, #app"), b = () => {
76
- let e = y();
75
+ }, y = (e, t = m) => r(t, e), b = (e, t = m) => i(t, e), x = () => y("app") || m.querySelector("#app.nine, #app"), S = () => {
76
+ let e = x();
77
77
  if (!e) return null;
78
- let t = _("header-ad-desktop", e) || f.querySelector("#desktop-header-ads"), n = _("header", e) || _("tv-show-banner", e) || e.querySelector(":scope > .sc-llJctl") || e.querySelector(":scope > header"), r = o(e, t) || o(e, I()) || t;
78
+ let t = y("header-ad-desktop", e) || m.querySelector("#desktop-header-ads"), n = y("header", e) || y("tv-show-banner", e) || e.querySelector(":scope > .sc-llJctl") || e.querySelector(":scope > header"), r = o(e, t) || o(e, L()) || t;
79
79
  return t && r && n ? {
80
80
  appRoot: e,
81
81
  headerShell: n,
@@ -83,42 +83,42 @@ var e = (e, t, n) => {
83
83
  desktopHeaderAds: t,
84
84
  variant: "full"
85
85
  } : null;
86
- }, x = () => b()?.appRoot || null, S = () => !!x(), C = () => !!(f.querySelector("#app.wwos") && f.querySelector("#desktop-header-ads")), w = () => {
87
- if (S() || C()) return 0;
88
- let e = f.querySelector("nav");
86
+ }, C = () => S()?.appRoot || null, w = () => !!C(), T = () => !!(m.querySelector("#app.wwos") && m.querySelector("#desktop-header-ads")), E = () => {
87
+ if (w() || T()) return 0;
88
+ let e = m.querySelector("nav");
89
89
  if (!e) return 0;
90
- let t = d.getComputedStyle(e);
90
+ let t = p.getComputedStyle(e);
91
91
  if (t.position !== "fixed") return 0;
92
92
  let n = parseFloat(t.top || "0");
93
93
  return Number.isFinite(n) && Math.abs(n) > 1 ? 0 : Math.round(e.getBoundingClientRect().height) || 0;
94
- }, T = (e) => {
94
+ }, D = (e) => {
95
95
  if (!e.querySelector("div[id*=\"tablet\"][id*=\"takeover\"]")) return;
96
96
  let t = e.getElementById("powered-ac-tablet-takeover-static-fix");
97
97
  t || (t = e.createElement("style"), t.id = "powered-ac-tablet-takeover-static-fix", e.head.appendChild(t)), t.textContent = "\n div:has(#adspot-tablet-takeover-2-above) {\n position: static;\n }\n ";
98
- }, E = () => {
99
- let r = window.parent.document, i = e, o = t, s = (e) => e ? Array.from(e.querySelectorAll(":scope > main, :scope > aside, :scope > footer")) : [], c = (e) => a([_("page-container", e), _("container", e)]), l = (e) => a([
100
- ...v("main", e),
101
- ...v("sidebar", e),
102
- ...v("footer", e)
98
+ }, O = () => {
99
+ let r = window.parent.document, i = e, o = t, s = (e) => e ? Array.from(e.querySelectorAll(":scope > main, :scope > aside, :scope > footer")) : [], c = (e) => a([y("page-container", e), y("container", e)]), l = (e) => a([
100
+ ...b("main", e),
101
+ ...b("sidebar", e),
102
+ ...b("footer", e)
103
103
  ]), u = (e, t) => {
104
104
  n(r, e, t);
105
105
  }, d = (e) => {
106
106
  o(Array.from(e.querySelectorAll("*")).filter((e) => e.children.length > 0 ? !1 : e.textContent?.trim().toLowerCase() === "advertisement"), [["display", "none"]]);
107
107
  };
108
108
  i(r.querySelector("section[data-section=\"marketing-banner\"]"), "position", "relative"), i(r.querySelector("div[data-testid=\"live-tv\"]")?.parentNode, "position", "relative"), i(r.querySelector("div[data-contentunit-id=\"stan\"]")?.parentNode, "position", "relative"), i(r.querySelector("small"), "position", "inherit");
109
- let f = b(), p = f?.appRoot, m = f?.desktopHeaderAds, h = f?.billboardContainer;
109
+ let f = S(), p = f?.appRoot, m = f?.desktopHeaderAds, h = f?.billboardContainer;
110
110
  if (p) {
111
- let e = f.headerShell, t = _("header-nav", p), n = c(p), r = l(p), g = v("sidebar-sticky", p), y = Array.from(p.children).filter((e) => e.tagName !== "SCRIPT"), b = h ? y.indexOf(h) : -1, x = y.filter((e, t) => t < b), S = n.length > 0 ? n : b >= 0 ? y.filter((t, n) => n > b && t !== e) : y.filter((t) => t !== m && t !== e);
111
+ let e = f.headerShell, t = y("header-nav", p), n = c(p), r = l(p), g = b("sidebar-sticky", p), _ = Array.from(p.children).filter((e) => e.tagName !== "SCRIPT"), v = h ? _.indexOf(h) : -1, x = _.filter((e, t) => t < v), S = n.length > 0 ? n : v >= 0 ? _.filter((t, n) => n > v && t !== e) : _.filter((t) => t !== m && t !== e);
112
112
  i(m, "height", "250px"), i(m, "padding", "0px"), m && d(m), o(x, [["position", "relative"], ["zIndex", "1085"]]), i(e, "zIndex", "1085"), i(t, "position", "relative"), i(t, "zIndex", "1086"), u("powered-ac-nine-new-header-overrides", "\n #app > [data-ad-target=\"header\"],\n #app > .sc-llJctl {\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n left: 50% !important;\n right: auto !important;\n transform: translateX(-50%) !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n z-index: 1085;\n }\n\n #app > [data-ad-target=\"tv-show-banner\"],\n #app > header[data-tv-show] {\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n left: auto !important;\n right: auto !important;\n transform: none !important;\n margin-left: auto !important;\n margin-right: auto !important;\n z-index: 1085;\n }\n\n #app > .sc-llJctl > div:not(header),\n #app > header[data-tv-show] > div:not(header) {\n z-index: 1088 !important;\n position: relative !important;\n }\n\n #app [data-ad-target=\"header\"] header,\n #app [data-ad-target=\"header-nav\"],\n #app > .sc-llJctl header,\n #app > header[data-tv-show] .bVJveH,\n #app > header[data-tv-show] [class*=\"sc-eFWqGm\"] {\n position: relative;\n }\n\n #app > .sc-llJctl header .bVJveH,\n #app > .sc-llJctl header [class*=\"sc-eFWqGm\"],\n #app > header[data-tv-show] .bVJveH,\n #app > header[data-tv-show] [class*=\"sc-eFWqGm\"] {\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n left: 50% !important;\n right: auto !important;\n transform: translateX(-50%) !important;\n }\n\n #app > [data-ad-target=\"header\"].FwHsm,\n #app > [data-ad-target=\"tv-show-banner\"].FwHsm,\n #app > .sc-llJctl.FwHsm,\n #app > header[data-tv-show].FwHsm {\n z-index: 1086;\n }\n\n #app [data-ad-target=\"header-nav\"],\n #app .sc-gicCDH.bNInIa {\n width: 100%;\n max-width: 100%;\n margin-left: 0;\n margin-right: 0;\n left: auto !important;\n right: auto !important;\n transform: none !important;\n position: relative !important;\n overflow: visible !important;\n z-index: 1086 !important;\n }\n\n #app [data-ad-target=\"header-nav\"] nav {\n width: 100% !important;\n max-width: 100% !important;\n overflow: visible !important;\n }\n\n #app [data-ad-target=\"nav-dropdown\"] {\n position: absolute !important;\n top: 100% !important;\n left: 50% !important;\n right: auto !important;\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n transform: translateX(-50%) !important;\n z-index: 1088 !important;\n }\n\n #app > header[data-tv-show] {\n z-index: 1085;\n }\n "), o(S, [["position", "relative"], ["zIndex", "1071"]]), o(a([...r, ...S.flatMap((e) => s(e))]), [["position", "relative"], ["zIndex", "1072"]]), o(g, [["zIndex", "1072"]]);
113
113
  }
114
- T(r);
115
- }, D = {
114
+ D(r);
115
+ }, ee = {
116
116
  siteBackgroundColor: "#ffffff",
117
117
  fireplaceLeftMargin: 0,
118
118
  adNodeMarginTop: -24,
119
119
  adNodeMarginBottom: -55,
120
120
  iframeWidth: "100%",
121
- iframeHeight: "1000px",
121
+ iframeHeight: l,
122
122
  responsiveScroll: -120,
123
123
  xPosHalfpage: 722,
124
124
  yPosHalfpage: 32,
@@ -128,15 +128,15 @@ var e = (e, t, n) => {
128
128
  },
129
129
  zIndex: function() {
130
130
  let e = window.parent.document;
131
- e.querySelector("section[data-section=\"marketing-banner\"]")?.setAttribute("style", "position:relative"), e.querySelector("div[data-testid=\"live-tv\"]")?.parentNode?.setAttribute("style", "position:relative"), e.querySelector("div[data-contentunit-id=\"stan\"]")?.parentNode?.setAttribute("style", "position:relative"), e.querySelector("small")?.setAttribute("style", "position:inherit"), T(e);
131
+ e.querySelector("section[data-section=\"marketing-banner\"]")?.setAttribute("style", "position:relative"), e.querySelector("div[data-testid=\"live-tv\"]")?.parentNode?.setAttribute("style", "position:relative"), e.querySelector("div[data-contentunit-id=\"stan\"]")?.parentNode?.setAttribute("style", "position:relative"), e.querySelector("small")?.setAttribute("style", "position:inherit"), D(e);
132
132
  }
133
- }, O = {
133
+ }, k = {
134
134
  siteBackgroundColor: "#ffffff",
135
135
  fireplaceLeftMargin: 0,
136
136
  adNodeMarginTop: 0,
137
137
  adNodeMarginBottom: 0,
138
138
  iframeWidth: "100vw",
139
- iframeHeight: "1152px",
139
+ iframeHeight: l,
140
140
  iframeTop: "0",
141
141
  responsiveScroll: -120,
142
142
  xPosHalfpage: 722,
@@ -145,8 +145,8 @@ var e = (e, t, n) => {
145
145
  offset: 74,
146
146
  isSticky: !0
147
147
  },
148
- zIndex: E
149
- }, k = () => b()?.variant === "full" ? O : D, A = {
148
+ zIndex: O
149
+ }, A = () => S()?.variant === "full" ? k : ee, j = {
150
150
  siteBackgroundColor: "#ffffff",
151
151
  fireplaceLeftMargin: 0,
152
152
  adNodeMarginTop: -24,
@@ -160,15 +160,15 @@ var e = (e, t, n) => {
160
160
  },
161
161
  zIndex: function() {
162
162
  let e = window.parent.document, t = s(e.querySelector("footer"), "div");
163
- t && (t.style.position = "relative"), T(e);
163
+ t && (t.style.position = "relative"), D(e);
164
164
  }
165
- }, j = {
165
+ }, M = {
166
166
  siteBackgroundColor: "#ffffff",
167
167
  fireplaceLeftMargin: 0,
168
168
  adNodeMarginTop: 0,
169
169
  adNodeMarginBottom: 0,
170
170
  iframeWidth: "100vw",
171
- iframeHeight: "1152px",
171
+ iframeHeight: l,
172
172
  responsiveScroll: -124,
173
173
  xPosHalfpage: 720,
174
174
  yPosHalfpage: 32,
@@ -179,16 +179,16 @@ var e = (e, t, n) => {
179
179
  zIndex: function() {
180
180
  let r = window.parent.document, i = e, o = t, c = (e, t) => n(r, e, t), l = (e) => {
181
181
  o(Array.from(e.querySelectorAll("*")).filter((e) => e.children.length > 0 ? !1 : e.textContent?.trim().toLowerCase() === "advertisement"), [["display", "none"]]);
182
- }, u = _("app") || r.querySelector("#app.wwos"), d = _("header-ad-desktop", u || r) || r.querySelector("#desktop-header-ads"), f = u ? Array.from(u.children) : [], p = _("header", u || r) || _("tv-show-banner", u || r) || u?.querySelector(":scope > .sc-llJctl") || u?.querySelector(":scope > header"), m = _("header-nav", u || r), h = a([_("page-container", u || r), _("container", u || r)]), g = a([
183
- ...v("main", u || r),
184
- ...v("sidebar", u || r),
185
- ...v("footer", u || r)
186
- ]), y = v("sidebar-sticky", u || r);
187
- d && (i(d, "height", "250px"), i(d, "padding", "0px"), l(d)), i(p, "zIndex", "1085"), i(m, "position", "relative"), i(m, "zIndex", "1086"), c("powered-ac-wwos-new-header-overrides", "\n #app.wwos > [data-ad-target=\"header\"],\n #app.wwos > .sc-llJctl {\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n left: 50% !important;\n right: auto !important;\n transform: translateX(-50%) !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n z-index: 1085 !important;\n }\n\n #app.wwos > [data-ad-target=\"tv-show-banner\"],\n #app.wwos > header[data-tv-show] {\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n left: auto !important;\n right: auto !important;\n transform: none !important;\n margin-left: auto !important;\n margin-right: auto !important;\n z-index: 1085 !important;\n }\n\n #app.wwos > .sc-llJctl > div:not(header),\n #app.wwos > header[data-tv-show] > div:not(header) {\n z-index: 1088 !important;\n position: relative !important;\n }\n\n #app.wwos > [data-ad-target=\"header\"].FwHsm,\n #app.wwos > [data-ad-target=\"tv-show-banner\"].FwHsm,\n #app.wwos > .sc-llJctl.FwHsm {\n z-index: 1086;\n }\n\n #app.wwos [data-ad-target=\"header-nav\"] [role=\"menuitem\"][aria-haspopup=\"menu\"],\n #app.wwos > .sc-llJctl [role=\"menuitem\"][aria-haspopup=\"menu\"] {\n position: static;\n }\n\n #app.wwos [data-ad-target=\"nav-dropdown\"],\n #app.wwos > .sc-llJctl [role=\"menuitem\"][aria-haspopup=\"menu\"] > [class*=\"sc-eFWqGm\"],\n #app.wwos > .sc-llJctl [role=\"menuitem\"][aria-haspopup=\"menu\"] [class*=\"sc-eFWqGm\"] {\n position: absolute !important;\n top: 100% !important;\n left: 50% !important;\n right: auto !important;\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n transform: translateX(-50%) !important;\n z-index: 1088 !important;\n }\n\n #app.wwos [data-ad-target=\"header-nav\"],\n #app.wwos .sc-gicCDH.bNInIa {\n width: 100%;\n max-width: 100%;\n margin-left: 0;\n margin-right: 0;\n left: auto !important;\n right: auto !important;\n transform: none !important;\n position: relative !important;\n overflow: visible !important;\n z-index: 1086 !important;\n }\n\n #app.wwos [data-ad-target=\"header-nav\"] nav {\n width: 100% !important;\n max-width: 100% !important;\n overflow: visible !important;\n }\n "), o(h.length > 0 ? h : f.filter((e) => e !== d && e !== p), [["position", "relative"], ["zIndex", "1071"]]), o(a([...g, ...Array.from(r.querySelectorAll("main, aside, article, footer, .sc-kACOFj.bkaoXt, .sc-hpDagB.HUkOB, [id*=\"adspot-desktop-banner-\"]"))]), [["position", "relative"], ["zIndex", "1072"]]), o(y, [["zIndex", "1072"]]);
188
- let b = s(r.querySelector("footer"), "div");
189
- b && (b.style.position = "relative"), T(r);
182
+ }, u = y("app") || r.querySelector("#app.wwos"), d = y("header-ad-desktop", u || r) || r.querySelector("#desktop-header-ads"), f = u ? Array.from(u.children) : [], p = y("header", u || r) || y("tv-show-banner", u || r) || u?.querySelector(":scope > .sc-llJctl") || u?.querySelector(":scope > header"), m = y("header-nav", u || r), h = a([y("page-container", u || r), y("container", u || r)]), g = a([
183
+ ...b("main", u || r),
184
+ ...b("sidebar", u || r),
185
+ ...b("footer", u || r)
186
+ ]), _ = b("sidebar-sticky", u || r);
187
+ d && (i(d, "height", "250px"), i(d, "padding", "0px"), l(d)), i(p, "zIndex", "1085"), i(m, "position", "relative"), i(m, "zIndex", "1086"), c("powered-ac-wwos-new-header-overrides", "\n #app.wwos > [data-ad-target=\"header\"],\n #app.wwos > .sc-llJctl {\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n left: 50% !important;\n right: auto !important;\n transform: translateX(-50%) !important;\n margin-left: 0 !important;\n margin-right: 0 !important;\n z-index: 1085 !important;\n }\n\n #app.wwos > [data-ad-target=\"tv-show-banner\"],\n #app.wwos > header[data-tv-show] {\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n left: auto !important;\n right: auto !important;\n transform: none !important;\n margin-left: auto !important;\n margin-right: auto !important;\n z-index: 1085 !important;\n }\n\n #app.wwos > .sc-llJctl > div:not(header),\n #app.wwos > header[data-tv-show] > div:not(header) {\n z-index: 1088 !important;\n position: relative !important;\n }\n\n #app.wwos > [data-ad-target=\"header\"].FwHsm,\n #app.wwos > [data-ad-target=\"tv-show-banner\"].FwHsm,\n #app.wwos > .sc-llJctl.FwHsm {\n z-index: 1086;\n }\n\n #app.wwos [data-ad-target=\"header-nav\"] [role=\"menuitem\"][aria-haspopup=\"menu\"],\n #app.wwos > .sc-llJctl [role=\"menuitem\"][aria-haspopup=\"menu\"] {\n position: static;\n }\n\n #app.wwos [data-ad-target=\"nav-dropdown\"],\n #app.wwos > .sc-llJctl [role=\"menuitem\"][aria-haspopup=\"menu\"] > [class*=\"sc-eFWqGm\"],\n #app.wwos > .sc-llJctl [role=\"menuitem\"][aria-haspopup=\"menu\"] [class*=\"sc-eFWqGm\"] {\n position: absolute !important;\n top: 100% !important;\n left: 50% !important;\n right: auto !important;\n width: min(1190px, calc(100vw - 32px)) !important;\n max-width: min(1190px, calc(100vw - 32px)) !important;\n transform: translateX(-50%) !important;\n z-index: 1088 !important;\n }\n\n #app.wwos [data-ad-target=\"header-nav\"],\n #app.wwos .sc-gicCDH.bNInIa {\n width: 100%;\n max-width: 100%;\n margin-left: 0;\n margin-right: 0;\n left: auto !important;\n right: auto !important;\n transform: none !important;\n position: relative !important;\n overflow: visible !important;\n z-index: 1086 !important;\n }\n\n #app.wwos [data-ad-target=\"header-nav\"] nav {\n width: 100% !important;\n max-width: 100% !important;\n overflow: visible !important;\n }\n "), o(h.length > 0 ? h : f.filter((e) => e !== d && e !== p), [["position", "relative"], ["zIndex", "1071"]]), o(a([...g, ...Array.from(r.querySelectorAll("main, aside, article, footer, .sc-kACOFj.bkaoXt, .sc-hpDagB.HUkOB, [id*=\"adspot-desktop-banner-\"]"))]), [["position", "relative"], ["zIndex", "1072"]]), o(_, [["zIndex", "1072"]]);
188
+ let v = s(r.querySelector("footer"), "div");
189
+ v && (v.style.position = "relative"), D(r);
190
190
  }
191
- }, M = () => C() ? j : A, N = {
191
+ }, N = () => T() ? M : j, P = {
192
192
  siteBackgroundColor: "#ffffff",
193
193
  fireplaceLeftMargin: 0,
194
194
  adNodeMarginTop: -32,
@@ -204,152 +204,156 @@ var e = (e, t, n) => {
204
204
  let e = window.parent.document;
205
205
  e.querySelector(".header-wrapper")?.setAttribute("style", "height:124px"), e.querySelector(".weather-widget-wrapper")?.setAttribute("style", "bottom:0px"), e.querySelector(".content")?.setAttribute("style", "padding-top:32px"), e.querySelector(".layout")?.setAttribute("style", "position:relative;background-color:transparent;"), e.querySelector(".footer-ad")?.setAttribute("style", "position:relative"), e.querySelector(".footer-netkit")?.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);");
206
206
  }
207
- }, P = [
207
+ }, F = [
208
208
  {
209
209
  site: "https://www.nine.com.au/sport",
210
- config: M
210
+ config: N
211
211
  },
212
212
  {
213
213
  site: "https://www.nine.com.au/product-reviews",
214
- config: g
214
+ config: v
215
215
  },
216
216
  {
217
217
  site: "https://www.nine.com.au/property",
218
- config: g
218
+ config: v
219
219
  },
220
220
  {
221
221
  site: "https://www.nine.com.au/entertainment",
222
- config: k
222
+ config: A
223
223
  },
224
224
  {
225
225
  site: "https://staging.nine.com.au/sport",
226
- config: M
226
+ config: N
227
227
  },
228
228
  {
229
229
  site: "https://staging.nine.com.au/product-reviews",
230
- config: g
230
+ config: v
231
231
  },
232
232
  {
233
233
  site: "https://staging.nine.com.au/property",
234
- config: g
234
+ config: v
235
235
  },
236
236
  {
237
237
  site: "https://staging.nine.com.au/entertainment",
238
- config: k
238
+ config: A
239
239
  },
240
240
  {
241
241
  site: "https://render-web-nine-staging-v1.ffxblue.com.au",
242
- config: k
242
+ config: A
243
243
  },
244
244
  {
245
245
  site: "https://render-web-nine-production-v1.ffxblue.com.au",
246
- config: k
246
+ config: A
247
247
  },
248
248
  {
249
249
  site: "https://preview.nine.com.au/",
250
- config: k
250
+ config: A
251
+ },
252
+ {
253
+ site: "https://www.nine.com.au",
254
+ config: A
251
255
  },
252
256
  {
253
257
  site: "https://www.nine",
254
- config: k
258
+ config: A
255
259
  },
256
260
  {
257
261
  site: "https://staging.nine",
258
- config: k
262
+ config: A
259
263
  },
260
264
  {
261
265
  site: "https://entertainment",
262
- config: h
266
+ config: _
263
267
  },
264
268
  {
265
269
  site: "https://celebrity",
266
- config: h
270
+ config: _
267
271
  },
268
272
  {
269
273
  site: "https://homes",
270
- config: h
274
+ config: _
271
275
  },
272
276
  {
273
277
  site: "https://travel",
274
- config: h
278
+ config: _
275
279
  },
276
280
  {
277
281
  site: "https://honey",
278
- config: h
282
+ config: _
279
283
  },
280
284
  {
281
285
  site: "https://style",
282
- config: h
286
+ config: _
283
287
  },
284
288
  {
285
289
  site: "https://coach",
286
- config: h
290
+ config: _
287
291
  },
288
292
  {
289
293
  site: "https://kitchen",
290
- config: h
294
+ config: _
291
295
  },
292
296
  {
293
297
  site: "https://finance",
294
- config: h
298
+ config: _
295
299
  },
296
300
  {
297
301
  site: "https://staging.wwos",
298
- config: M
302
+ config: N
299
303
  },
300
304
  {
301
305
  site: "https://www.9news",
302
- config: N
306
+ config: P
303
307
  },
304
308
  {
305
309
  site: "https://staging.9news",
306
- config: N
310
+ config: P
307
311
  },
308
312
  {
309
313
  site: "https://www.yourtv",
310
- config: h
314
+ config: _
311
315
  },
312
316
  {
313
317
  site: "https://staging.yourtv",
314
- config: h
318
+ config: _
315
319
  },
316
320
  {
317
321
  site: "https://9now",
318
- config: g
322
+ config: v
319
323
  },
320
324
  {
321
325
  site: "https://creative-preview-an.com",
322
- config: h
326
+ config: _
323
327
  }
324
- ], F = () => {
328
+ ], I = () => {
325
329
  let e = window.document.getElementById("nineContent");
326
- if (e && (e.style.backgroundColor = W.siteBackgroundColor), B(), z(), R(), d.addEventListener("scroll", U), G = setTimeout(U, 50), W === O || W === j) {
327
- let e = W === O ? b() : null, t = e?.appRoot || x() || f.body, n = e?.desktopHeaderAds || f.querySelector("#desktop-header-ads");
328
- t && d.MutationObserver && (m = new d.MutationObserver(() => {
329
- H();
330
- }), m.observe(t, {
330
+ if (e && (e.style.backgroundColor = G.siteBackgroundColor), V(), B(), z(), p.addEventListener("scroll", W), K = setTimeout(W, 50), G === k || G === M) {
331
+ let e = G === k ? S() : null, t = e?.appRoot || C() || m.body, n = e?.desktopHeaderAds || m.querySelector("#desktop-header-ads");
332
+ t && p.MutationObserver && (g = new p.MutationObserver(() => {
333
+ U();
334
+ }), g.observe(t, {
331
335
  childList: !0,
332
336
  subtree: !0
333
- }), n && n !== t && m.observe(n, {
337
+ }), n && n !== t && g.observe(n, {
334
338
  childList: !0,
335
339
  subtree: !0,
336
340
  attributes: !0,
337
341
  attributeFilter: ["class"]
338
- })), d.addEventListener("resize", H), H();
342
+ })), p.addEventListener("resize", U), U();
339
343
  }
340
- }, I = () => {
341
- let e = null;
342
- return e = f.querySelector("div[id*=\"billboard\"][id*=\"above\"]"), e;
343
344
  }, L = () => {
344
- let e = d.location.href;
345
- for (let t = 0; t < P.length; t += 1) if (e.indexOf(P[t].site) >= 0) return typeof P[t].config == "function" ? P[t].config() : P[t].config;
345
+ let e = null;
346
+ return e = m.querySelector("div[id*=\"billboard\"][id*=\"above\"]"), e;
347
+ }, R = () => {
348
+ let e = p.location.href;
349
+ for (let t = 0; t < F.length; t += 1) if (e.indexOf(F[t].site) >= 0) return typeof F[t].config == "function" ? F[t].config() : F[t].config;
346
350
  try {
347
351
  let t = new URL(e), n = t.hostname.toLowerCase(), r = t.pathname.toLowerCase();
348
- if (n === "creative-preview-an.com") return h;
349
- if (n.includes("9news")) return N;
350
- if (n.includes("yourtv")) return h;
351
- if (n.includes("9now")) return g;
352
- if (n === "www.nine.com.au" || n === "staging.nine.com.au" || n === "preview.nine.com.au" || n === "render-web-nine-staging-v1.ffxblue.com.au" || n === "render-web-nine-production-v1.ffxblue.com.au") return r.startsWith("/sport") ? M() : r.startsWith("/product-reviews") || r.startsWith("/property") ? g : k();
352
+ if (n === "creative-preview-an.com") return _;
353
+ if (n.includes("9news")) return P;
354
+ if (n.includes("yourtv")) return _;
355
+ if (n.includes("9now")) return v;
356
+ if (n === "www.nine.com.au" || n === "staging.nine.com.au" || n === "preview.nine.com.au" || n === "render-web-nine-staging-v1.ffxblue.com.au" || n === "render-web-nine-production-v1.ffxblue.com.au") return r.startsWith("/sport") ? N() : r.startsWith("/product-reviews") || r.startsWith("/property") ? v : A();
353
357
  if ([
354
358
  "entertainment",
355
359
  "celebrity",
@@ -360,53 +364,53 @@ var e = (e, t, n) => {
360
364
  "coach",
361
365
  "kitchen",
362
366
  "finance"
363
- ].some((e) => n.includes(e))) return h;
367
+ ].some((e) => n.includes(e))) return _;
364
368
  } catch {
365
- return k();
369
+ return A();
366
370
  }
367
- return k();
368
- }, R = () => {
371
+ return A();
372
+ }, z = () => {
369
373
  if (!window.parent) return;
370
- let e = f.querySelector("div[id*=\"halfpage\"][id*=\"above\"]");
374
+ let e = m.querySelector("div[id*=\"halfpage\"][id*=\"above\"]");
371
375
  if (!e) return;
372
376
  let t = e;
373
- for (let e = 0; e < 6; e++) if (t = t.parentNode, t && d.getComputedStyle(t).position === "sticky") {
374
- t.style.top = `${W.stickyMargin.offset}px`;
377
+ for (let e = 0; e < 6; e++) if (t = t.parentNode, t && p.getComputedStyle(t).position === "sticky") {
378
+ t.style.top = `${G.stickyMargin.offset}px`;
375
379
  break;
376
380
  }
377
- }, z = () => {
378
- if (!u) return;
379
- let e = u.style;
380
- e.width = W.iframeWidth || "100%", e.height = W.iframeHeight || "1000px", e.position = "fixed", W.iframeTop == null ? e.removeProperty("top") : e.top = W.iframeTop, e.left = "50%", e.transform = "translate(-50%, 0)";
381
- let t = u.parentElement;
382
- for (; t && t !== f.body && t !== f.documentElement;) {
383
- let e = d.getComputedStyle(t);
381
+ }, B = () => {
382
+ if (!f) return;
383
+ let e = f.style;
384
+ e.width = G.iframeWidth || "100%", e.height = G.iframeHeight || l, e.backgroundColor = G.iframeBackgroundColor || u, e.position = "fixed", G.iframeTop == null ? e.removeProperty("top") : e.top = G.iframeTop, e.left = "50%", e.transform = "translate(-50%, 0)";
385
+ let t = f.parentElement;
386
+ for (; t && t !== m.body && t !== m.documentElement;) {
387
+ let e = p.getComputedStyle(t);
384
388
  e.transform && e.transform !== "none" && (t.style.transform = "none"), e.willChange && e.willChange !== "auto" && (t.style.willChange = "auto"), e.contain && e.contain !== "none" && (t.style.contain = "none"), e.filter && e.filter !== "none" && (t.style.filter = "none"), e.perspective && e.perspective !== "none" && (t.style.perspective = "none"), e.overflow !== "visible" && (t.style.overflow = "visible"), t = t.parentElement;
385
389
  }
386
- }, B = () => {
387
- let e = I();
390
+ }, V = () => {
391
+ let e = L();
388
392
  if (!e) return;
389
- c(e, "0.1.83");
393
+ c(e, "0.1.84");
390
394
  let t = e.style;
391
- e.className &&= "", t.minHeight = "250px", t.marginTop = W.adNodeMarginTop + "px", t.marginBottom = W.adNodeMarginBottom + "px", t.position = "static", t.display = "block", W.zIndex && W.zIndex();
392
- }, V = () => {
393
- let e = d.scrollY, t = u.style, n = document.getElementById("siteContent") ? document.getElementById("siteContent").style : {};
394
- e >= 0 && e <= q ? (t.transform = `translate(-50%, ${-e}px)`, n.transform = "translateY(0)") : e > q && e <= ee ? (t.transform = `translate(-50%, ${-q}px)`, n.transform = `translateY(${q - e}px)`) : e > ee && (t.transform = `translate(-50%, ${-q}px)`, n.transform = "translateY(-250px)");
395
+ e.className &&= "", t.minHeight = "250px", t.marginTop = G.adNodeMarginTop + "px", t.marginBottom = G.adNodeMarginBottom + "px", t.position = "static", t.display = "block", G.zIndex && G.zIndex();
395
396
  }, H = () => {
396
- W !== O && W !== j || p || (p = d.requestAnimationFrame(() => {
397
- p = null, z(), B(), R(), V();
398
- }));
397
+ let e = p.scrollY, t = f.style, n = document.getElementById("siteContent") ? document.getElementById("siteContent").style : {};
398
+ e >= 0 && e <= q ? (t.transform = `translate(-50%, ${-e}px)`, n.transform = "translateY(0)") : e > q && e <= J ? (t.transform = `translate(-50%, ${-q}px)`, n.transform = `translateY(${q - e}px)`) : e > J && (t.transform = `translate(-50%, ${-q}px)`, n.transform = "translateY(-250px)");
399
399
  }, U = () => {
400
- V();
400
+ G !== k && G !== M || h || (h = p.requestAnimationFrame(() => {
401
+ h = null, B(), V(), z(), H();
402
+ }));
403
+ }, W = () => {
404
+ H();
401
405
  };
402
- I();
403
- let W = L();
404
- if (!W) return () => {};
405
- let G = null, K = W === O || W === j ? W.responsiveScroll : 0, q = -W.responsiveScroll + l + K + w(), ee = q + 250;
406
- return F(), () => {
407
- d.removeEventListener("scroll", U), d.removeEventListener("resize", H), m &&= (m.disconnect(), null), p &&= (d.cancelAnimationFrame(p), null), G &&= (clearTimeout(G), null);
406
+ L();
407
+ let G = R();
408
+ if (!G) return () => {};
409
+ let K = null, te = G === k || G === M ? G.responsiveScroll : 0, q = -G.responsiveScroll + d + te + E(), J = q + 250;
410
+ return I(), () => {
411
+ p.removeEventListener("scroll", W), p.removeEventListener("resize", U), g &&= (g.disconnect(), null), h &&= (p.cancelAnimationFrame(h), null), K &&= (clearTimeout(K), null);
408
412
  };
409
- }, u = (o) => {
413
+ }, f = (o) => {
410
414
  let c = window.frameElement ? window.frameElement : null;
411
415
  if (!c) return () => {};
412
416
  let l = window.parent;
@@ -581,6 +585,10 @@ var e = (e, t, n) => {
581
585
  site: "https://preview.nine.com.au/",
582
586
  config: x
583
587
  },
588
+ {
589
+ site: "https://www.nine.com.au",
590
+ config: x
591
+ },
584
592
  {
585
593
  site: "https://www.nine",
586
594
  config: x
@@ -659,7 +667,7 @@ var e = (e, t, n) => {
659
667
  }
660
668
  ], E = () => {
661
669
  let e = window.document.getElementById("nineContent");
662
- e && (e.style.backgroundColor = R.siteBackgroundColor), d && (f.setProperty("--masthead-height", "250px"), f.height = "var(--masthead-height)"), M(), j(), k(), N(), l.addEventListener("scroll", I, { passive: !0 }), z = setTimeout(I, 50);
670
+ e && (e.style.backgroundColor = L.siteBackgroundColor), d && (f.setProperty("--masthead-height", "250px"), f.height = "var(--masthead-height)"), j(), A(), ee(), M(), l.addEventListener("scroll", F, { passive: !0 }), R = setTimeout(F, 50);
663
671
  }, D = () => {
664
672
  let e = null;
665
673
  return e = u.querySelector("div[id*=\"billboard\"][id*=\"above\"]"), e;
@@ -670,75 +678,75 @@ var e = (e, t, n) => {
670
678
  if (t.position !== "fixed") return 0;
671
679
  let n = parseFloat(t.top || "0");
672
680
  return Number.isFinite(n) && Math.abs(n) > 1 ? 0 : Math.round(e.getBoundingClientRect().height) || 0;
673
- }, k = () => {
681
+ }, ee = () => {
674
682
  let e = null;
675
683
  if (!window.parent) return e;
676
684
  if (e = u.querySelector("div[id*=\"halfpage\"][id*=\"above\"]"), !e) return;
677
685
  let t = e;
678
686
  for (let e = 0; e < 6; e++) if (t = t.parentNode, t && l.getComputedStyle(t).position === "sticky") {
679
- t.style.top = `${R.stickyMargin.offset}px`;
687
+ t.style.top = `${L.stickyMargin.offset}px`;
680
688
  break;
681
689
  }
682
- }, A = () => {
690
+ }, k = () => {
683
691
  let e = l.location.href;
684
692
  for (let t = 0; t < T.length; t += 1) if (e.indexOf(T[t].site) >= 0) return T[t].config;
685
- }, j = () => {
693
+ }, A = () => {
686
694
  if (!c) return;
687
695
  let e = c.style;
688
696
  e.width = "100%", e.height = "1000px", e.position = "fixed", e.left = "50%", e.setProperty("--transform-y", "0px"), e.transform = "translate3d(-50%, var(--transform-y), 0)";
697
+ }, j = () => {
698
+ if (!I) return;
699
+ let e = I.style;
700
+ I.className = "", e.minHeight = "250px", e.marginTop = L.adNodeMarginTop + "px", e.marginBottom = L.adNodeMarginBottom + "px", e.position = "static", e.display = "block", L.zIndex && L.zIndex();
689
701
  }, M = () => {
690
- if (!L) return;
691
- let e = L.style;
692
- L.className = "", e.minHeight = "250px", e.marginTop = R.adNodeMarginTop + "px", e.marginBottom = R.adNodeMarginBottom + "px", e.position = "static", e.display = "block", R.zIndex && R.zIndex();
693
- }, N = () => {
694
- p = u.querySelector("div[data-contentunit-id=\"stan\"]")?.parentNode || u.querySelector("div[data-ui-testid=\"header-score-strip\"]")?.parentNode || h("main") || h("container") || h("page-container") || u.querySelector("div[class*=\"__MyContainer\"]") || u.querySelector("div[class*=\"__ArticleContainer\"]") || u.querySelector("div[class*=\"__VideoIndexComponent\"]") || u.querySelector("div.container.layout") || u.querySelector("main.container.layout"), p && (p.style.willChange = "clip-path", p.style.transition = "none", p.style.webkitBackfaceVisibility = "hidden", p.style.backfaceVisibility = "hidden", p.style.transform = "translate3d(0,0,0)", p.style.backgroundColor = R.siteBackgroundColor, p.style.setProperty("--mask-inset", "0px"), p.style.clipPath = "inset(var(--mask-inset, 0px) 0 0 0)");
695
- }, P = 0, F = 0, I = () => {
696
- let e = l.scrollY, t = e > P, n = e > V ? e - R.maskOffset : 0, r = Math.abs(n - F);
697
- if (p) if (t && n > F) if (r > 100) {
702
+ p = u.querySelector("div[data-contentunit-id=\"stan\"]")?.parentNode || u.querySelector("div[data-ui-testid=\"header-score-strip\"]")?.parentNode || h("main") || h("container") || h("page-container") || u.querySelector("div[class*=\"__MyContainer\"]") || u.querySelector("div[class*=\"__ArticleContainer\"]") || u.querySelector("div[class*=\"__VideoIndexComponent\"]") || u.querySelector("div.container.layout") || u.querySelector("main.container.layout"), p && (p.style.willChange = "clip-path", p.style.transition = "none", p.style.webkitBackfaceVisibility = "hidden", p.style.backfaceVisibility = "hidden", p.style.transform = "translate3d(0,0,0)", p.style.backgroundColor = L.siteBackgroundColor, p.style.setProperty("--mask-inset", "0px"), p.style.clipPath = "inset(var(--mask-inset, 0px) 0 0 0)");
703
+ }, N = 0, P = 0, F = () => {
704
+ let e = l.scrollY, t = e > N, n = e > B ? e - L.maskOffset : 0, r = Math.abs(n - P);
705
+ if (p) if (t && n > P) if (r > 100) {
698
706
  let e = Math.max(0, n - 100);
699
707
  p.style.transition = "none", p.style.setProperty("--mask-inset", `${e}px`), p.offsetHeight, p.style.transition = "clip-path 0.3s ease-out", p.style.setProperty("--mask-inset", `${n}px`);
700
708
  } else p.style.transition = "clip-path 0.3s ease-out", p.style.setProperty("--mask-inset", `${n}px`);
701
709
  else p.style.transition = "none", p.style.setProperty("--mask-inset", `${n}px`);
702
- P = e, F = n, e > V ? (c.style.setProperty("--transform-y", `${-B}px`), f.setProperty("--masthead-height", "100px"), window.CollantOn || window.goCollant()) : e > B && e <= V ? (c.style.setProperty("--transform-y", `${-B}px`), f.setProperty("--masthead-height", `${250 + B - e}px`), window.CollantOn && window.goBillboard()) : e >= 0 && e <= B && (c.style.setProperty("--transform-y", `${-e}px`), f.setProperty("--masthead-height", "250px"), window.CollantOn && window.goBillboard());
703
- }, L = D(), R = A();
704
- if (!R) return () => {};
705
- let z = null, B = -R.responsiveScroll + o + O(), V = B + 150;
710
+ N = e, P = n, e > B ? (c.style.setProperty("--transform-y", `${-z}px`), f.setProperty("--masthead-height", "100px"), window.CollantOn || window.goCollant()) : e > z && e <= B ? (c.style.setProperty("--transform-y", `${-z}px`), f.setProperty("--masthead-height", `${250 + z - e}px`), window.CollantOn && window.goBillboard()) : e >= 0 && e <= z && (c.style.setProperty("--transform-y", `${-e}px`), f.setProperty("--masthead-height", "250px"), window.CollantOn && window.goBillboard());
711
+ }, I = D(), L = k();
712
+ if (!L) return () => {};
713
+ let R = null, z = -L.responsiveScroll + o + O(), B = z + 150;
706
714
  return E(), () => {
707
- l.removeEventListener("scroll", I), z &&= (clearTimeout(z), null);
715
+ l.removeEventListener("scroll", F), R &&= (clearTimeout(R), null);
708
716
  };
709
- }, d = 866, f = 68, p = 16, m = ":scope > header h1, :scope > header h2, :scope > header h3", h = "h1, h2, h3", g = "#app main header h1, #app main header h2, #app main header h3, #app h1, #app h2, #app h3", _ = "adspot-desktop-takeover-2-above", v = -24, y = -24, b = [
717
+ }, p = 866, m = 68, h = 16, g = ":scope > header h1, :scope > header h2, :scope > header h3", _ = "h1, h2, h3", v = "#app main header h1, #app main header h2, #app main header h3, #app h1, #app h2, #app h3", y = "adspot-desktop-takeover-2-above", b = -24, x = -24, S = [
710
718
  "www.nine.com.au",
711
719
  "staging.nine.com.au",
712
720
  "preview.nine.com.au",
713
721
  "render-web-nine-staging-v1.ffxblue.com.au",
714
722
  "render-web-nine-production-v1.ffxblue.com.au"
715
- ], x = [{
716
- hostnames: b,
723
+ ], C = [{
724
+ hostnames: S,
717
725
  path: "/sport",
718
726
  headingText: "Sport",
719
- slotId: _
720
- }], S = new Set(["localhost", "127.0.0.1"]), C = "__poweredAdConfigDynamicHeadingActive", w = "data-pac-dynamicheading-owner", T = "data-pac-reparented", E = (e, t) => {
727
+ slotId: y
728
+ }], w = new Set(["localhost", "127.0.0.1"]), T = "__poweredAdConfigDynamicHeadingActive", E = "data-pac-dynamicheading-owner", D = "data-pac-reparented", O = (e, t) => {
721
729
  if (typeof e == "number" && Number.isFinite(e)) return `${e}px`;
722
730
  if (typeof e == "string") {
723
731
  let n = e.trim();
724
732
  return n ? /^-?\d+(\.\d+)?$/.test(n) ? `${n}px` : n : `${t}px`;
725
733
  }
726
734
  return `${t}px`;
727
- }, D = (e) => {
735
+ }, ee = (e) => {
728
736
  if (!e || typeof e != "object") return null;
729
737
  let t = typeof e.headingText == "string" ? e.headingText.trim() : "", n = typeof e.path == "string" ? e.path.trim().toLowerCase() : "", r = typeof e.pathPrefix == "string" ? e.pathPrefix.trim().toLowerCase() : "", i = Array.isArray(e.hostnames) ? e.hostnames.map((e) => String(e).trim().toLowerCase()).filter(Boolean) : [];
730
738
  return !t || !n && !r ? null : {
731
739
  headingText: t,
732
740
  path: n || null,
733
741
  pathPrefix: r || null,
734
- slotId: typeof e.slotId == "string" && e.slotId.trim() ? e.slotId.trim() : _,
735
- hostnames: i.length ? i : b
742
+ slotId: typeof e.slotId == "string" && e.slotId.trim() ? e.slotId.trim() : y,
743
+ hostnames: i.length ? i : S
736
744
  };
737
- }, O = (e) => {
738
- if (!Array.isArray(e) || e.length === 0) return x;
739
- let t = e.map(D).filter(Boolean);
740
- return t.length ? t : x;
741
- }, k = ({ offsetTop: e = v, offsetLeft: t = y, width: n = d, height: i = f, pageTargets: a = x } = {}) => {
745
+ }, k = (e) => {
746
+ if (!Array.isArray(e) || e.length === 0) return C;
747
+ let t = e.map(ee).filter(Boolean);
748
+ return t.length ? t : C;
749
+ }, A = ({ offsetTop: e = b, offsetLeft: t = x, width: n = p, height: i = m, pageTargets: a = C } = {}) => {
742
750
  let o = window.frameElement || null;
743
751
  if (!o) return () => {};
744
752
  let s = window.parent;
@@ -749,20 +757,20 @@ var e = (e, t, n) => {
749
757
  } catch {
750
758
  return () => {};
751
759
  }
752
- let l = s[C];
760
+ let l = s[T];
753
761
  if (l?.iframe === o && typeof l.cleanup == "function") return l.cleanup;
754
762
  if (l?.iframe?.isConnected && typeof l?.cleanup == "function") return () => {};
755
763
  typeof l?.cleanup == "function" && l.cleanup();
756
- let u = `dynamicheading-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`, _ = (e, t, n) => {
764
+ let u = `dynamicheading-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`, d = (e, t, n) => {
757
765
  e && e.style[t] !== n && (e.style[t] = n);
758
- }, b = () => {
766
+ }, f = () => {
759
767
  try {
760
768
  let e = window.location.hostname.toLowerCase();
761
- return S.has(e) ? !0 : new URLSearchParams(window.location.search).get("keepDynamicHeadingVisible") === "1";
769
+ return w.has(e) ? !0 : new URLSearchParams(window.location.search).get("keepDynamicHeadingVisible") === "1";
762
770
  } catch {
763
771
  return !1;
764
772
  }
765
- }, D = (e = o.parentElement) => {
773
+ }, y = (e = o.parentElement) => {
766
774
  let t = e;
767
775
  for (; t && t !== c.body;) {
768
776
  let e = t.id || "", n = t.getAttribute?.("data-testid") || "", r = t.getAttribute?.("type") || "";
@@ -770,10 +778,10 @@ var e = (e, t, n) => {
770
778
  t = t.parentElement;
771
779
  }
772
780
  return o.parentElement;
773
- }, k = () => {
781
+ }, S = () => {
774
782
  try {
775
783
  let e = new URL(s.location.href), t = e.hostname.toLowerCase(), n = e.pathname.toLowerCase();
776
- return B.find((e) => {
784
+ return z.find((e) => {
777
785
  let r = e.hostnames.includes(t), i = e.path ? n === e.path : n.startsWith(e.pathPrefix);
778
786
  return r && i;
779
787
  }) || null;
@@ -781,20 +789,20 @@ var e = (e, t, n) => {
781
789
  return null;
782
790
  }
783
791
  return null;
784
- }, A = () => {
792
+ }, ee = () => {
785
793
  let e = r(c, "app") || c.getElementById("app") || c, t = r(e, "page-container") || e;
786
794
  return r(r(t, "container") || t, "main") || r(e, "main") || c.querySelector("#app main") || null;
787
- }, j = (e) => {
795
+ }, A = (e) => {
788
796
  if (!e || !e.isConnected) return !1;
789
797
  let t = e.getBoundingClientRect();
790
798
  if (t.width <= 0 || t.height <= 0) return !1;
791
799
  let n = s.getComputedStyle(e);
792
800
  return n.display !== "none" && n.visibility !== "hidden";
793
- }, M = () => {
794
- let e = A(), t = e ? [...e.querySelectorAll(m), ...e.querySelectorAll(h)] : [], n = t.length ? [] : Array.from(c.querySelectorAll(g));
795
- return Array.from(new Set([...t, ...n])).filter(j);
796
- }, N = (e) => {
797
- let t = M();
801
+ }, j = () => {
802
+ let e = ee(), t = e ? [...e.querySelectorAll(g), ...e.querySelectorAll(_)] : [], n = t.length ? [] : Array.from(c.querySelectorAll(v));
803
+ return Array.from(new Set([...t, ...n])).filter(A);
804
+ }, M = (e) => {
805
+ let t = j();
798
806
  if (!t.length) return null;
799
807
  let n = typeof e == "string" ? e.trim().toLowerCase() : "";
800
808
  if (n) {
@@ -802,56 +810,56 @@ var e = (e, t, n) => {
802
810
  if (e) return e;
803
811
  }
804
812
  return t.find((e) => e.tagName === "H1") || t[0] || null;
805
- }, P = null, F = null;
806
- b();
807
- let I = E(e, v), L = E(t, y), R = E(n, d), z = E(i, f), B = O(a), V = k();
813
+ }, N = null, P = null;
814
+ f();
815
+ let F = O(e, b), I = O(t, x), L = O(n, p), R = O(i, m), z = k(a), B = S();
816
+ if (!B) return () => {};
817
+ let V = y((B.slotId ? c.getElementById(B.slotId) : null) || o.parentElement);
808
818
  if (!V) return () => {};
809
- let H = D((V.slotId ? c.getElementById(V.slotId) : null) || o.parentElement);
810
- if (!H) return () => {};
811
- let U = H.getAttribute(w);
812
- if (U && U !== u) return () => {};
813
- let W = {
814
- width: H.style.width,
815
- maxWidth: H.style.maxWidth,
816
- minWidth: H.style.minWidth,
817
- height: H.style.height,
818
- minHeight: H.style.minHeight,
819
- marginTop: H.style.marginTop,
820
- marginBottom: H.style.marginBottom,
821
- marginLeft: H.style.marginLeft,
822
- marginRight: H.style.marginRight,
823
- position: H.style.position,
824
- top: H.style.top,
825
- left: H.style.left,
826
- right: H.style.right,
827
- transform: H.style.transform,
828
- display: H.style.display,
829
- opacity: H.style.opacity,
830
- transition: H.style.transition,
831
- pointerEvents: H.style.pointerEvents,
832
- zIndex: H.style.zIndex,
833
- overflow: H.style.overflow
834
- }, G = {
819
+ let H = V.getAttribute(E);
820
+ if (H && H !== u) return () => {};
821
+ let U = {
822
+ width: V.style.width,
823
+ maxWidth: V.style.maxWidth,
824
+ minWidth: V.style.minWidth,
825
+ height: V.style.height,
826
+ minHeight: V.style.minHeight,
827
+ marginTop: V.style.marginTop,
828
+ marginBottom: V.style.marginBottom,
829
+ marginLeft: V.style.marginLeft,
830
+ marginRight: V.style.marginRight,
831
+ position: V.style.position,
832
+ top: V.style.top,
833
+ left: V.style.left,
834
+ right: V.style.right,
835
+ transform: V.style.transform,
836
+ display: V.style.display,
837
+ opacity: V.style.opacity,
838
+ transition: V.style.transition,
839
+ pointerEvents: V.style.pointerEvents,
840
+ zIndex: V.style.zIndex,
841
+ overflow: V.style.overflow
842
+ }, W = {
835
843
  width: o.style.width,
836
844
  height: o.style.height,
837
845
  display: o.style.display,
838
846
  border: o.style.border,
839
847
  position: o.style.position,
840
848
  pointerEvents: o.style.pointerEvents
841
- }, K = [], q = parseFloat(z) || f, ee = parseFloat(I) || 0, te = parseFloat(L) || 0, J = () => {
842
- let e = H.parentElement;
843
- for (; e && e !== c.body;) K.push({
849
+ }, G = [], K = parseFloat(R) || m, te = parseFloat(F) || 0, q = parseFloat(I) || 0, J = () => {
850
+ let e = V.parentElement;
851
+ for (; e && e !== c.body;) G.push({
844
852
  element: e,
845
853
  overflow: e.style.overflow
846
- }), _(e, "overflow", "visible"), e = e.parentElement;
854
+ }), d(e, "overflow", "visible"), e = e.parentElement;
847
855
  }, ne = () => {
848
- _(H, "width", R), _(H, "maxWidth", R), _(H, "minWidth", R), _(H, "height", z), _(H, "minHeight", z), _(H, "display", "block"), _(H, "overflow", "hidden"), _(H, "pointerEvents", "none"), _(H, "zIndex", "1080"), H.setAttribute(w, u), _(o, "width", R), _(o, "height", z), _(o, "display", "block"), _(o, "border", "0"), _(o, "position", "relative"), _(o, "pointerEvents", "auto");
856
+ d(V, "width", L), d(V, "maxWidth", L), d(V, "minWidth", L), d(V, "height", R), d(V, "minHeight", R), d(V, "display", "block"), d(V, "overflow", "hidden"), d(V, "pointerEvents", "none"), d(V, "zIndex", "1080"), V.setAttribute(E, u), d(o, "width", L), d(o, "height", R), d(o, "display", "block"), d(o, "border", "0"), d(o, "position", "relative"), d(o, "pointerEvents", "auto");
849
857
  }, re = {
850
858
  element: null,
851
859
  position: ""
852
860
  }, ie = () => {
853
- let e = H.parentElement;
854
- e && s.getComputedStyle(e).position === "static" && (re.element = e, re.position = e.style.position, _(e, "position", "relative")), _(H, "position", "absolute"), _(H, "top", `${ee}px`), _(H, "left", `${te}px`), _(H, "right", "auto"), _(H, "marginTop", "0px"), _(H, "marginBottom", `${p}px`), _(H, "marginLeft", "0px"), _(H, "marginRight", "0px"), _(H, "transform", "");
861
+ let e = V.parentElement;
862
+ e && s.getComputedStyle(e).position === "static" && (re.element = e, re.position = e.style.position, d(e, "position", "relative")), d(V, "position", "absolute"), d(V, "top", `${te}px`), d(V, "left", `${q}px`), d(V, "right", "auto"), d(V, "marginTop", "0px"), d(V, "marginBottom", `${h}px`), d(V, "marginLeft", "0px"), d(V, "marginRight", "0px"), d(V, "transform", "");
855
863
  }, ae = (e) => {
856
864
  let t = null;
857
865
  try {
@@ -868,11 +876,11 @@ var e = (e, t, n) => {
868
876
  return !1;
869
877
  }
870
878
  if (!t) return !1;
871
- o.setAttribute(T, "1");
879
+ o.setAttribute(D, "1");
872
880
  try {
873
- e.parentNode?.insertBefore(H, e);
881
+ e.parentNode?.insertBefore(V, e);
874
882
  } catch {
875
- return o.removeAttribute(T), !1;
883
+ return o.removeAttribute(D), !1;
876
884
  }
877
885
  J(), ne(), ie();
878
886
  try {
@@ -882,40 +890,40 @@ var e = (e, t, n) => {
882
890
  }
883
891
  return !0;
884
892
  }, oe = () => {
885
- _(H, "position", "fixed"), _(H, "marginTop", "0px"), _(H, "marginBottom", "0px"), _(H, "marginLeft", "0px"), _(H, "marginRight", "0px"), _(H, "transform", "");
893
+ d(V, "position", "fixed"), d(V, "marginTop", "0px"), d(V, "marginBottom", "0px"), d(V, "marginLeft", "0px"), d(V, "marginRight", "0px"), d(V, "transform", "");
886
894
  }, se = () => {
887
- _(H, "display", "none");
895
+ d(V, "display", "none");
888
896
  }, ce = () => {
889
- _(H, "display", "block"), _(H, "overflow", "hidden");
897
+ d(V, "display", "block"), d(V, "overflow", "hidden");
890
898
  }, Y = null, X = () => {
891
- if ((!Y || !Y.isConnected) && (Y = N(V.headingText)), !Y) return;
892
- let e = Y.getBoundingClientRect(), t = e.top - q - p + ee, n = e.left + te;
893
- _(H, "top", `${t}px`), _(H, "left", `${n}px`), _(H, "right", "auto");
899
+ if ((!Y || !Y.isConnected) && (Y = M(B.headingText)), !Y) return;
900
+ let e = Y.getBoundingClientRect(), t = e.top - K - h + te, n = e.left + q;
901
+ d(V, "top", `${t}px`), d(V, "left", `${n}px`), d(V, "right", "auto");
894
902
  }, le = null, Z = null, Q = !1, $ = (e = 12) => {
895
- if (Y = N(V.headingText), !Y) {
896
- e > 1 && (F = s.setTimeout(() => $(e - 1), 250));
903
+ if (Y = M(B.headingText), !Y) {
904
+ e > 1 && (P = s.setTimeout(() => $(e - 1), 250));
897
905
  return;
898
906
  }
899
907
  ae(Y) || (Q = !0, J(), ne(), oe(), X(), le = () => X(), Z = () => X(), s.addEventListener("scroll", le, { passive: !0 }), s.addEventListener("resize", Z));
900
908
  };
901
909
  $();
902
910
  let ue = () => {
903
- F &&= (s.clearTimeout(F), null), P &&= (s.clearTimeout(P), null), le &&= (s.removeEventListener("scroll", le), null), Z &&= (s.removeEventListener("resize", Z), null), H.getAttribute(w) === u && H.removeAttribute(w), Q && (Object.entries(W).forEach(([e, t]) => {
904
- H.style[e] = t;
905
- }), Object.entries(G).forEach(([e, t]) => {
911
+ P &&= (s.clearTimeout(P), null), N &&= (s.clearTimeout(N), null), le &&= (s.removeEventListener("scroll", le), null), Z &&= (s.removeEventListener("resize", Z), null), V.getAttribute(E) === u && V.removeAttribute(E), Q && (Object.entries(U).forEach(([e, t]) => {
912
+ V.style[e] = t;
913
+ }), Object.entries(W).forEach(([e, t]) => {
906
914
  o.style[e] = t;
907
- }), K.forEach(({ element: e, overflow: t }) => {
915
+ }), G.forEach(({ element: e, overflow: t }) => {
908
916
  e.style.overflow = t;
909
- })), s[C]?.instanceId === u && delete s[C];
917
+ })), s[T]?.instanceId === u && delete s[T];
910
918
  };
911
- return s[C] = {
919
+ return s[T] = {
912
920
  instanceId: u,
913
921
  iframe: o,
914
922
  cleanup: ue,
915
923
  show: ce,
916
924
  hide: se
917
925
  }, ue;
918
- }, A = (e, t, n) => {
926
+ }, j = (e, t, n) => {
919
927
  let r = window.frameElement ? window.frameElement : null;
920
928
  if (!r) return () => {};
921
929
  let i = window.parent;
@@ -1043,6 +1051,10 @@ var e = (e, t, n) => {
1043
1051
  site: "https://preview.nine.com.au/",
1044
1052
  config: l
1045
1053
  },
1054
+ {
1055
+ site: "https://www.nine.com.au",
1056
+ config: l
1057
+ },
1046
1058
  {
1047
1059
  site: "https://www.nine",
1048
1060
  config: l
@@ -1156,11 +1168,11 @@ var e = (e, t, n) => {
1156
1168
  return p(), () => {
1157
1169
  i.removeEventListener("scroll", y), w &&= (clearTimeout(w), null);
1158
1170
  };
1159
- }, j = ((e, t = 50) => `linear(${Array.from({ length: t + 1 }, (n, r) => e(r / t)).map((e) => +e.toFixed(4)).join(", ")})`)((e) => {
1171
+ }, M = ((e, t = 50) => `linear(${Array.from({ length: t + 1 }, (n, r) => e(r / t)).map((e) => +e.toFixed(4)).join(", ")})`)((e) => {
1160
1172
  if (e === 0 || e === 1) return e;
1161
1173
  let t = 2 * Math.PI / 3;
1162
1174
  return 2 ** (-10 * e) * Math.sin((e * 10 - .75) * t) + 1;
1163
- }), M = (e = {}) => {
1175
+ }), N = (e = {}) => {
1164
1176
  let t = {
1165
1177
  adScrollHeight: "300vh",
1166
1178
  bandHeight: 24,
@@ -1183,7 +1195,7 @@ var e = (e, t, n) => {
1183
1195
  snapOverlap: 2,
1184
1196
  stretchOverlap: 20,
1185
1197
  snapDuration: .9,
1186
- snapEase: j,
1198
+ snapEase: M,
1187
1199
  onEnter: null,
1188
1200
  onExit: null,
1189
1201
  onProgress: null,
@@ -1227,7 +1239,7 @@ var e = (e, t, n) => {
1227
1239
  };
1228
1240
  (() => {
1229
1241
  let e = a.style;
1230
- e.height = t.adScrollHeight, e.maxHeight = t.adScrollHeight, e.position = "relative", a.setAttribute("poweredAC", "0.1.83"), e.clipPath = `inset(-${t.bandHeight - 1}px 0 0 0)`, e.overflow = "visible", e.width = "100vw", e.maxWidth = "100vw", e.marginLeft = "calc(50% - 50vw)", e.marginRight = "0", e.marginTop = "0", e.marginBottom = "0", e.padding = "0";
1242
+ e.height = t.adScrollHeight, e.maxHeight = t.adScrollHeight, e.position = "relative", a.setAttribute("poweredAC", "0.1.84"), e.clipPath = `inset(-${t.bandHeight - 1}px 0 0 0)`, e.overflow = "visible", e.width = "100vw", e.maxWidth = "100vw", e.marginLeft = "calc(50% - 50vw)", e.marginRight = "0", e.marginTop = "0", e.marginBottom = "0", e.padding = "0";
1231
1243
  let o = a.parentElement;
1232
1244
  for (let e = 0; e < 6 && o && o !== i.body; e++) {
1233
1245
  let t = r.getComputedStyle(o), n = !1;
@@ -1332,7 +1344,7 @@ var e = (e, t, n) => {
1332
1344
  e.style[t] = n || "";
1333
1345
  });
1334
1346
  };
1335
- }, N = (e = {}) => {
1347
+ }, P = (e = {}) => {
1336
1348
  let t = {
1337
1349
  adaptToWidth: "100%",
1338
1350
  maxWidth: "400px",
@@ -1365,7 +1377,7 @@ var e = (e, t, n) => {
1365
1377
  let o = a.getAttribute("style"), s = n.getAttribute("style"), c = n.parentElement === a ? null : n.parentElement, l = c ? c.getAttribute("style") : null, u = a.parentElement, d = u ? r.getComputedStyle(u).paddingTop : null, f = null, p = parseInt(n.getAttribute("width"), 10) || 320, m = parseInt(n.getAttribute("height"), 10) || 50;
1366
1378
  return (() => {
1367
1379
  let e = a.style;
1368
- if (e.position = "relative", e.overflow = "visible", e.boxSizing = "border-box", a.setAttribute("poweredAC", "0.1.83"), c) {
1380
+ if (e.position = "relative", e.overflow = "visible", e.boxSizing = "border-box", a.setAttribute("poweredAC", "0.1.84"), c) {
1369
1381
  let e = c.style;
1370
1382
  e.width = "100%", e.height = "100%", e.margin = "0", e.textAlign = "left";
1371
1383
  }
@@ -1380,7 +1392,7 @@ var e = (e, t, n) => {
1380
1392
  })(), () => {
1381
1393
  f &&= (f.disconnect(), null), o ? a.setAttribute("style", o) : a.removeAttribute("style"), s ? n.setAttribute("style", s) : n.removeAttribute("style"), c && (l ? c.setAttribute("style", l) : c.removeAttribute("style")), u && d && d !== "0px" && (u.style.paddingTop = d);
1382
1394
  };
1383
- }, P = (e = {}) => {
1395
+ }, F = (e = {}) => {
1384
1396
  let t = {
1385
1397
  billboardHeight: 150,
1386
1398
  sideStripWidth: 10,
@@ -1555,17 +1567,17 @@ var e = (e, t, n) => {
1555
1567
  let e = r.location.href;
1556
1568
  for (let t of d) if (e.indexOf(t.site) >= 0) return t.config;
1557
1569
  return u.nine;
1558
- })(), p = f === u.smh || f === u.theage, m = n.getAttribute("style"), h = n.hasAttribute("data-mf-wallpaper-iframe"), g = a.getAttribute("style"), _ = n.parentElement === a ? null : n.parentElement, v = _ ? _.getAttribute("style") : null, y = a.parentElement, b = y ? y.getAttribute("style") : null, x = s ? s.getAttribute("style") : null, S = o ? o.getAttribute("style") : null, C = o ? o.querySelector("header") : null, w = C ? C.getAttribute("style") : null, T = C ? C.querySelector(".sc-5cbbddda-1") : null, E = T ? T.getAttribute("style") : null, D = i.querySelector("footer"), O = D ? D.getAttribute("style") : null, k = o ? Array.from(o.children).map((e) => ({
1570
+ })(), p = f === u.smh || f === u.theage, m = n.getAttribute("style"), h = n.hasAttribute("data-mf-wallpaper-iframe"), g = a.getAttribute("style"), _ = n.parentElement === a ? null : n.parentElement, v = _ ? _.getAttribute("style") : null, y = a.parentElement, b = y ? y.getAttribute("style") : null, x = s ? s.getAttribute("style") : null, S = o ? o.getAttribute("style") : null, C = o ? o.querySelector("header") : null, w = C ? C.getAttribute("style") : null, T = C ? C.querySelector(".sc-5cbbddda-1") : null, E = T ? T.getAttribute("style") : null, D = i.querySelector("footer"), O = D ? D.getAttribute("style") : null, ee = o ? Array.from(o.children).map((e) => ({
1559
1571
  el: e,
1560
1572
  orig: e.getAttribute("style")
1561
- })) : [], A = null, j = null, M = null, N = null, P = null, F = null, I = null, L = null, R = [], z = null, B = null, V = null, H = null, U = null, W = null, G = null, K = [], q = Number.isFinite(t.stickyDurationMs) && t.stickyDurationMs > 0, ee = Number.isFinite(t.stickyScrollDistance) && t.stickyScrollDistance > 0, te = !!(t.sticky && (q || ee)), J = "pending", ne = 0, re = 0, ie = null, ae = null, oe = null, se = null, ce = null, Y = null, X = [], le = Number.isFinite(t.stickyHeaderFallbackHeight) ? Math.max(0, t.stickyHeaderFallbackHeight) : null, Z = f === u.afr, Q = null, $ = null, ue = (e) => {
1562
- if (!e || e === V || e === y || e === a) return !1;
1573
+ })) : [], k = null, A = null, j = null, M = null, N = null, P = null, F = null, I = null, L = [], R = null, z = null, B = null, V = null, H = null, U = null, W = null, G = [], K = Number.isFinite(t.stickyDurationMs) && t.stickyDurationMs > 0, te = Number.isFinite(t.stickyScrollDistance) && t.stickyScrollDistance > 0, q = !!(t.sticky && (K || te)), J = "pending", ne = 0, re = 0, ie = null, ae = null, oe = null, se = null, ce = null, Y = null, X = [], le = Number.isFinite(t.stickyHeaderFallbackHeight) ? Math.max(0, t.stickyHeaderFallbackHeight) : null, Z = f === u.afr, Q = null, $ = null, ue = (e) => {
1574
+ if (!e || e === B || e === y || e === a) return !1;
1563
1575
  let t = e.firstElementChild;
1564
1576
  if (!t || t !== e.lastElementChild || !t.classList.contains("container") || t.children.length > 0 || t.textContent && t.textContent.trim() || e.querySelector("#adspot-mobile-mbanner-2-above, iframe, [data-mf-slot], .adWrapper")) return !1;
1565
1577
  let n = r.getComputedStyle(e);
1566
1578
  return n.position === "fixed" || n.position === "sticky";
1567
1579
  }, de = (e) => {
1568
- !e?.parentElement || K.some((t) => t.shell === e) || (K.push({
1580
+ !e?.parentElement || G.some((t) => t.shell === e) || (G.push({
1569
1581
  shell: e,
1570
1582
  parent: e.parentElement,
1571
1583
  nextSibling: e.nextSibling
@@ -1579,7 +1591,7 @@ var e = (e, t, n) => {
1579
1591
  let t = e?.parentElement;
1580
1592
  for (; t && t !== i.body && t !== i.documentElement;) {
1581
1593
  let e = r.getComputedStyle(t);
1582
- (e.transform && e.transform !== "none" || e.willChange && e.willChange !== "auto" || e.contain && e.contain !== "none" || e.filter && e.filter !== "none" || e.perspective && e.perspective !== "none") && (R.find((e) => e.el === t) || R.push({
1594
+ (e.transform && e.transform !== "none" || e.willChange && e.willChange !== "auto" || e.contain && e.contain !== "none" || e.filter && e.filter !== "none" || e.perspective && e.perspective !== "none") && (L.find((e) => e.el === t) || L.push({
1583
1595
  el: t,
1584
1596
  orig: t.getAttribute("style")
1585
1597
  }), t.style.transform = "none", t.style.willChange = "auto", t.style.contain = "none", t.style.filter = "none", t.style.perspective = "none"), t = t.parentElement;
@@ -1600,7 +1612,7 @@ var e = (e, t, n) => {
1600
1612
  };
1601
1613
  }).filter(({ rect: t, styles: n, list: r, listStyles: i }) => !r || !i || t.top < e - 4 || t.top > e + 120 || n.overflow !== "hidden" || parseFloat(n.borderTopLeftRadius) < 4 ? !1 : i.overflow === "auto" || i.overflowX === "auto");
1602
1614
  return t.length ? (t.sort((t, n) => Math.abs(t.rect.top - e) - Math.abs(n.rect.top - e)), t[0]) : null;
1603
- }, ge = () => L || a, _e = () => !t.stickyRespectHeader || !t.stickyHeaderSelector ? [] : Array.from(i.querySelectorAll(t.stickyHeaderSelector)).map((e) => {
1615
+ }, ge = () => I || a, _e = () => !t.stickyRespectHeader || !t.stickyHeaderSelector ? [] : Array.from(i.querySelectorAll(t.stickyHeaderSelector)).map((e) => {
1604
1616
  let t = e.getBoundingClientRect(), n = r.getComputedStyle(e), i = Number.parseInt(n.zIndex, 10);
1605
1617
  return {
1606
1618
  el: e,
@@ -1618,7 +1630,7 @@ var e = (e, t, n) => {
1618
1630
  let e = ve();
1619
1631
  return e?.zIndex && e.zIndex > 2 ? Math.max(t.stickyZIndex, e.zIndex + 1) : t.stickyZIndex;
1620
1632
  }, xe = ({ active: e, progress: t = 0, remainingMs: n = 0 }) => {
1621
- F?.contentWindow && F.contentWindow.postMessage({
1633
+ P?.contentWindow && P.contentWindow.postMessage({
1622
1634
  type: "mobilefireplace:sticky",
1623
1635
  active: e,
1624
1636
  progress: Math.max(0, Math.min(1, t)),
@@ -1632,7 +1644,7 @@ var e = (e, t, n) => {
1632
1644
  });
1633
1645
  }, Ce = (e) => {
1634
1646
  let t = new Set([ge()].filter(Boolean));
1635
- if (f === u.afr || W || p) {
1647
+ if (f === u.afr || U || p) {
1636
1648
  [
1637
1649
  a,
1638
1650
  y,
@@ -1643,15 +1655,15 @@ var e = (e, t, n) => {
1643
1655
  }
1644
1656
  for (let n of t) Se(n), n.style.setProperty("z-index", String(e), "important");
1645
1657
  }, we = () => Z && (a.closest("#stickyLeaderboard") || i.querySelector("#stickyLeaderboard")) || ge(), Te = () => {
1646
- if (!Z || !F) return;
1647
- let e = F.style;
1658
+ if (!Z || !P) return;
1659
+ let e = P.style;
1648
1660
  e.left = "0px", e.width = "100vw";
1649
1661
  }, Ee = () => {
1650
- if (!Z || !F || J === "active") return;
1662
+ if (!Z || !P || J === "active") return;
1651
1663
  let e = we();
1652
1664
  if (!e) return;
1653
- let t = e.getBoundingClientRect(), n = F.style;
1654
- n.position = "absolute", n.top = `${Math.round(r.scrollY + t.top)}px`, Te(), n.setProperty("z-index", "6", "important"), F.removeAttribute("data-mf-sticky-active");
1665
+ let t = e.getBoundingClientRect(), n = P.style;
1666
+ n.position = "absolute", n.top = `${Math.round(r.scrollY + t.top)}px`, Te(), n.setProperty("z-index", "6", "important"), P.removeAttribute("data-mf-sticky-active");
1655
1667
  }, De = () => {
1656
1668
  Z && (Ee(), se && r.cancelAnimationFrame(se), se = r.requestAnimationFrame(() => {
1657
1669
  se = null, Ee();
@@ -1659,13 +1671,13 @@ var e = (e, t, n) => {
1659
1671
  ce = null, Ee();
1660
1672
  }, 350));
1661
1673
  }, Oe = () => {
1662
- !Z || !F || F.parentElement === i.body || (Q = F.parentElement, $ = F.nextSibling, i.body.appendChild(F));
1674
+ !Z || !P || P.parentElement === i.body || (Q = P.parentElement, $ = P.nextSibling, i.body.appendChild(P));
1663
1675
  }, ke = () => {
1664
- if (!Q || !F) {
1676
+ if (!Q || !P) {
1665
1677
  Q = null, $ = null;
1666
1678
  return;
1667
1679
  }
1668
- $ && $.parentNode === Q ? Q.insertBefore(F, $) : Q.appendChild(F), Q = null, $ = null;
1680
+ $ && $.parentNode === Q ? Q.insertBefore(P, $) : Q.appendChild(P), Q = null, $ = null;
1669
1681
  }, Ae = () => {
1670
1682
  for (let e = X.length - 1; e >= 0; --e) {
1671
1683
  let { el: t, value: n, priority: r } = X[e];
@@ -1673,20 +1685,20 @@ var e = (e, t, n) => {
1673
1685
  }
1674
1686
  X.length = 0;
1675
1687
  }, je = () => {
1676
- if (!F) return;
1688
+ if (!P) return;
1677
1689
  pe(ge());
1678
1690
  let e = ge().getBoundingClientRect(), t = be();
1679
1691
  Ce(t), Oe();
1680
- let n = F.style;
1681
- n.position = "fixed", n.top = `${ye()}px`, Z ? Te() : (n.left = `${Math.round(e.left)}px`, n.width = `${Math.round(e.width)}px`), n.setProperty("z-index", String(t), "important"), F.setAttribute("data-mf-sticky-active", "");
1692
+ let n = P.style;
1693
+ n.position = "fixed", n.top = `${ye()}px`, Z ? Te() : (n.left = `${Math.round(e.left)}px`, n.width = `${Math.round(e.width)}px`), n.setProperty("z-index", String(t), "important"), P.setAttribute("data-mf-sticky-active", "");
1682
1694
  }, Me = () => {
1683
- if (!F) return;
1695
+ if (!P) return;
1684
1696
  if (ke(), Z) {
1685
1697
  De(), Ae();
1686
1698
  return;
1687
1699
  }
1688
- let e = F.style;
1689
- e.position = "relative", e.top = "", e.left = "", e.width = "100%", e.setProperty("z-index", "1"), Ae(), F.removeAttribute("data-mf-sticky-active");
1700
+ let e = P.style;
1701
+ e.position = "relative", e.top = "", e.left = "", e.width = "100%", e.setProperty("z-index", "1"), Ae(), P.removeAttribute("data-mf-sticky-active");
1690
1702
  }, Ne = () => {
1691
1703
  ae &&= (r.cancelAnimationFrame(ae), null);
1692
1704
  }, Pe = () => {
@@ -1698,9 +1710,9 @@ var e = (e, t, n) => {
1698
1710
  }
1699
1711
  return ie;
1700
1712
  }, Ie = () => re + (J === "active" ? Math.max(0, r.performance.now() - ne) : 0), Le = () => Math.max(0, r.scrollY - Fe()), Re = () => {
1701
- let e = q ? Ie() / t.stickyDurationMs : 0, n = ee ? Le() / t.stickyScrollDistance : 0;
1713
+ let e = K ? Ie() / t.stickyDurationMs : 0, n = te ? Le() / t.stickyScrollDistance : 0;
1702
1714
  return Math.max(e, n);
1703
- }, ze = () => q ? t.stickyDurationMs - Ie() : 0, Be = () => r.scrollY < Fe() - 1, Ve = () => {
1715
+ }, ze = () => K ? t.stickyDurationMs - Ie() : 0, Be = () => r.scrollY < Fe() - 1, Ve = () => {
1704
1716
  J === "active" && (re = Ie(), J = "paused", Ne(), Me(), xe({
1705
1717
  active: !1,
1706
1718
  progress: Re(),
@@ -1720,7 +1732,7 @@ var e = (e, t, n) => {
1720
1732
  Ve();
1721
1733
  return;
1722
1734
  }
1723
- let e = Ie(), n = Le(), i = q ? e / t.stickyDurationMs : 0, a = ee ? n / t.stickyScrollDistance : 0, o = Math.max(i, a), s = q ? t.stickyDurationMs - e : 0;
1735
+ let e = Ie(), n = Le(), i = K ? e / t.stickyDurationMs : 0, a = te ? n / t.stickyScrollDistance : 0, o = Math.max(i, a), s = K ? t.stickyDurationMs - e : 0;
1724
1736
  if (je(), xe({
1725
1737
  active: !0,
1726
1738
  progress: o,
@@ -1731,16 +1743,16 @@ var e = (e, t, n) => {
1731
1743
  }
1732
1744
  ae = r.requestAnimationFrame(We);
1733
1745
  }, Ge = () => {
1734
- if (!te || J !== "pending" || !F) return;
1746
+ if (!q || J !== "pending" || !P) return;
1735
1747
  Pe();
1736
1748
  let e = ge().getBoundingClientRect();
1737
1749
  ie = Math.max(0, r.scrollY + e.top - t.stickyTop), re = 0, J = "active", ne = r.performance.now(), je(), We();
1738
1750
  }, Ke = () => {
1739
- !te || J !== "pending" || !F || ge().getBoundingClientRect().top <= t.stickyTop && Ge();
1751
+ !q || J !== "pending" || !P || ge().getBoundingClientRect().top <= t.stickyTop && Ge();
1740
1752
  }, qe = () => {
1741
1753
  J === "pending" ? Ke() : J === "active" && Be() ? Ve() : J === "paused" && He(), J !== "active" && De();
1742
1754
  }, Je = () => {
1743
- if (!te || J !== "pending" || !F) {
1755
+ if (!q || J !== "pending" || !P) {
1744
1756
  oe = null;
1745
1757
  return;
1746
1758
  }
@@ -1751,7 +1763,7 @@ var e = (e, t, n) => {
1751
1763
  for (; e && e !== i.body && e !== i.documentElement;) {
1752
1764
  let t = r.getComputedStyle(e);
1753
1765
  if (t.position === "fixed" || t.position === "sticky") {
1754
- W = e, G = e.getAttribute("style");
1766
+ U = e, W = e.getAttribute("style");
1755
1767
  break;
1756
1768
  }
1757
1769
  e = e.parentElement;
@@ -1759,10 +1771,10 @@ var e = (e, t, n) => {
1759
1771
  let d = n.parentElement;
1760
1772
  for (; d && d !== i.body && d !== i.documentElement;) {
1761
1773
  let e = r.getComputedStyle(d);
1762
- (e.transform && e.transform !== "none" || e.willChange && e.willChange !== "auto" || e.contain && e.contain !== "none" || e.filter && e.filter !== "none" || e.perspective && e.perspective !== "none") && (R.push({
1774
+ (e.transform && e.transform !== "none" || e.willChange && e.willChange !== "auto" || e.contain && e.contain !== "none" || e.filter && e.filter !== "none" || e.perspective && e.perspective !== "none") && (L.push({
1763
1775
  el: d,
1764
1776
  orig: d.getAttribute("style")
1765
- }), d.style.transform = "none", d.style.willChange = "auto", d.style.contain = "none", d.style.filter = "none", d.style.perspective = "none"), e.overflow !== "visible" && (R.find((e) => e.el === d) || R.push({
1777
+ }), d.style.transform = "none", d.style.willChange = "auto", d.style.contain = "none", d.style.filter = "none", d.style.perspective = "none"), e.overflow !== "visible" && (L.find((e) => e.el === d) || L.push({
1766
1778
  el: d,
1767
1779
  orig: d.getAttribute("style")
1768
1780
  }), d.style.overflow = "visible"), d = d.parentElement;
@@ -1770,20 +1782,20 @@ var e = (e, t, n) => {
1770
1782
  let m = n.style;
1771
1783
  if (m.setProperty("position", f === u.afr ? "absolute" : "fixed", f === u.afr ? "important" : ""), m.setProperty("top", "0", f === u.afr ? "important" : ""), m.setProperty("left", "0", f === u.afr ? "important" : ""), m.setProperty("width", f === u.afr ? "0" : "100vw", f === u.afr ? "important" : ""), m.setProperty("height", f === u.afr ? "0" : "100dvh", f === u.afr ? "important" : ""), m.setProperty("z-index", f === u.afr ? "0" : String(t.zIndex), f === u.afr ? "important" : ""), m.setProperty("border", "none", f === u.afr ? "important" : ""), m.setProperty("margin", "0", f === u.afr ? "important" : ""), m.setProperty("padding", "0", f === u.afr ? "important" : ""), m.setProperty("display", "block", f === u.afr ? "important" : ""), m.setProperty("opacity", f === u.afr ? "0" : "1", f === u.afr ? "important" : ""), m.setProperty("pointer-events", "none", f === u.afr ? "important" : ""), f === u.afr && l && l !== "about:blank") try {
1772
1784
  let e = new URL(l);
1773
- e.searchParams.set("mfRole", "wallpaper"), I = i.createElement("iframe"), I.src = e.href, I.setAttribute("data-mf-wallpaper-iframe", ""), I.setAttribute("scrolling", "no"), I.setAttribute("frameborder", "0");
1774
- let t = I.style;
1775
- t.setProperty("position", "fixed", "important"), t.setProperty("top", "0", "important"), t.setProperty("left", "0", "important"), t.setProperty("width", "100vw", "important"), t.setProperty("height", "100dvh", "important"), t.setProperty("border", "none", "important"), t.setProperty("margin", "0", "important"), t.setProperty("padding", "0", "important"), t.setProperty("display", "block", "important"), t.setProperty("background", "transparent", "important"), t.setProperty("z-index", "0", "important"), t.setProperty("pointer-events", "none", "important"), i.body.insertBefore(I, i.body.firstChild);
1785
+ e.searchParams.set("mfRole", "wallpaper"), F = i.createElement("iframe"), F.src = e.href, F.setAttribute("data-mf-wallpaper-iframe", ""), F.setAttribute("scrolling", "no"), F.setAttribute("frameborder", "0");
1786
+ let t = F.style;
1787
+ t.setProperty("position", "fixed", "important"), t.setProperty("top", "0", "important"), t.setProperty("left", "0", "important"), t.setProperty("width", "100vw", "important"), t.setProperty("height", "100dvh", "important"), t.setProperty("border", "none", "important"), t.setProperty("margin", "0", "important"), t.setProperty("padding", "0", "important"), t.setProperty("display", "block", "important"), t.setProperty("background", "transparent", "important"), t.setProperty("z-index", "0", "important"), t.setProperty("pointer-events", "none", "important"), i.body.insertBefore(F, i.body.firstChild);
1776
1788
  } catch (e) {
1777
1789
  console.warn("[mobilefireplace] Could not create AFR wallpaper iframe:", e);
1778
1790
  }
1779
- if (a.setAttribute("poweredAC", "0.1.83"), _) {
1791
+ if (a.setAttribute("poweredAC", "0.1.84"), _) {
1780
1792
  let e = _.style;
1781
1793
  e.width = "100%", e.height = "0", e.overflow = "visible", e.position = "static", e.margin = "0";
1782
1794
  }
1783
1795
  let h = a.style;
1784
1796
  h.height = t.billboardHeight + "px", h.minHeight = t.billboardHeight + "px", h.background = "transparent", h.overflow = "visible", h.position = "relative", h.width = "100%", h.padding = "0", h.margin = "0", y && (y.style.overflow = "visible", y.style.position = "relative", y.style.backgroundColor = "transparent", y.style.height = t.billboardHeight + "px", y.style.minHeight = t.billboardHeight + "px", y.style.maxHeight = t.billboardHeight + "px", y.style.padding = "0", y.style.margin = "0", y.setAttribute("data-mf-slot", ""));
1785
1797
  let g = `max(${t.sideStripWidth}px, env(safe-area-inset-left))`, v = `max(${t.sideStripWidth}px, env(safe-area-inset-right))`;
1786
- if (P = i.createElement("style"), P.id = "mobilefireplace-pac", P.textContent = `
1798
+ if (N = i.createElement("style"), N.id = "mobilefireplace-pac", N.textContent = `
1787
1799
  /* Mobile Fireplace — powered-ad-config */
1788
1800
  html, body {
1789
1801
  background-color: transparent !important;
@@ -1947,50 +1959,50 @@ var e = (e, t, n) => {
1947
1959
  margin: 0 !important;
1948
1960
  padding: 0 !important;
1949
1961
  }
1950
- `, i.head.appendChild(P), f.setup && f.setup(i, a), f === u.wwos) {
1962
+ `, i.head.appendChild(N), f.setup && f.setup(i, a), f === u.wwos) {
1951
1963
  let e = he();
1952
- e && (A = e.el, j = A.getAttribute("style"), M = e.list, N = M ? M.getAttribute("style") : null, A.style.marginLeft = "10px", A.style.marginRight = "10px", A.style.width = "calc(100% - 20px)", M && (M.style.width = "100%"));
1964
+ e && (k = e.el, A = k.getAttribute("style"), j = e.list, M = j ? j.getAttribute("style") : null, k.style.marginLeft = "10px", k.style.marginRight = "10px", k.style.width = "calc(100% - 20px)", j && (j.style.width = "100%"));
1953
1965
  }
1954
- if (o && f !== u.afr && (W || p)) {
1955
- if (W && (V = c || y), l && l !== "about:blank") {
1966
+ if (o && f !== u.afr && (U || p)) {
1967
+ if (U && (B = c || y), l && l !== "about:blank") {
1956
1968
  let e = new URL(l);
1957
- e.searchParams.set("mfRole", "wallpaper"), I = i.createElement("iframe"), I.src = e.href, I.setAttribute("data-mf-wallpaper-iframe", ""), I.setAttribute("scrolling", "no"), I.setAttribute("frameborder", "0");
1958
- let n = I.style;
1959
- n.position = "fixed", n.top = "0", n.left = "0", n.width = "100vw", n.height = "100dvh", n.border = "none", n.margin = "0", n.padding = "0", n.display = "block", n.background = "transparent", n.zIndex = String(t.zIndex), n.pointerEvents = "none", i.body.insertBefore(I, i.body.firstChild);
1969
+ e.searchParams.set("mfRole", "wallpaper"), F = i.createElement("iframe"), F.src = e.href, F.setAttribute("data-mf-wallpaper-iframe", ""), F.setAttribute("scrolling", "no"), F.setAttribute("frameborder", "0");
1970
+ let n = F.style;
1971
+ n.position = "fixed", n.top = "0", n.left = "0", n.width = "100vw", n.height = "100dvh", n.border = "none", n.margin = "0", n.padding = "0", n.display = "block", n.background = "transparent", n.zIndex = String(t.zIndex), n.pointerEvents = "none", i.body.insertBefore(F, i.body.firstChild);
1960
1972
  }
1961
- n.style.position = "absolute", n.style.top = "0", n.style.left = "0", n.style.width = "0", n.style.height = "0", n.style.opacity = "0", n.style.pointerEvents = "none", n.style.zIndex = "-1", L = me(), o.parentElement.insertBefore(L, o), W ? (W.style.position = "static", W.style.inset = "auto", W.style.height = "0", W.style.minHeight = "0", W.style.maxHeight = "0", W.style.overflow = "hidden", W.style.backgroundColor = "transparent", W.style.boxShadow = "none", W.style.border = "0", W.style.outline = "0", W.style.pointerEvents = "none") : y && (y.style.height = "0", y.style.minHeight = "0", y.style.maxHeight = "0", y.style.overflow = "hidden", y.style.backgroundColor = "transparent", y.style.border = "0", y.style.outline = "0"), h.height = "0", h.minHeight = "0", h.width = "0", h.overflow = "hidden", s && (s.style.backgroundColor = "transparent", s.style.backgroundImage = "none", s.style.position = "relative", s.style.zIndex = "1"), o.style.marginLeft = "14px", o.style.marginRight = "14px", o.style.backgroundColor = "#ffffff", o.style.position = "relative", o.style.zIndex = "2", o.style.overflowX = "clip", o.style.isolation = "isolate";
1962
- for (let { el: e } of k) e.style.backgroundColor = "transparent", e.style.boxShadow = "none", e.style.paddingLeft = "10px", e.style.paddingRight = "10px";
1973
+ n.style.position = "absolute", n.style.top = "0", n.style.left = "0", n.style.width = "0", n.style.height = "0", n.style.opacity = "0", n.style.pointerEvents = "none", n.style.zIndex = "-1", I = me(), o.parentElement.insertBefore(I, o), U ? (U.style.position = "static", U.style.inset = "auto", U.style.height = "0", U.style.minHeight = "0", U.style.maxHeight = "0", U.style.overflow = "hidden", U.style.backgroundColor = "transparent", U.style.boxShadow = "none", U.style.border = "0", U.style.outline = "0", U.style.pointerEvents = "none") : y && (y.style.height = "0", y.style.minHeight = "0", y.style.maxHeight = "0", y.style.overflow = "hidden", y.style.backgroundColor = "transparent", y.style.border = "0", y.style.outline = "0"), h.height = "0", h.minHeight = "0", h.width = "0", h.overflow = "hidden", s && (s.style.backgroundColor = "transparent", s.style.backgroundImage = "none", s.style.position = "relative", s.style.zIndex = "1"), o.style.marginLeft = "14px", o.style.marginRight = "14px", o.style.backgroundColor = "#ffffff", o.style.position = "relative", o.style.zIndex = "2", o.style.overflowX = "clip", o.style.isolation = "isolate";
1974
+ for (let { el: e } of ee) e.style.backgroundColor = "transparent", e.style.boxShadow = "none", e.style.paddingLeft = "10px", e.style.paddingRight = "10px";
1963
1975
  C && (C.style.borderTop = "0", C.style.outline = "0", C.style.boxShadow = "none"), T && (T.style.borderBottom = "0"), D && (D.style.marginLeft = "14px", D.style.marginRight = "14px", D.style.position = "relative", D.style.zIndex = "2"), fe();
1964
1976
  }
1965
- L || (L = me(), a.appendChild(L));
1977
+ I || (I = me(), a.appendChild(I));
1966
1978
  }, Xe = null, Ze = null, Qe = !1, $e = () => {
1967
1979
  let e = r.innerWidth, n = r.innerHeight;
1968
1980
  if (e > n) {
1969
1981
  let r = n / e, i = Math.round(t.billboardHeight * r);
1970
- a.style.height = i + "px", a.style.minHeight = i + "px", L && (L.style.height = i + "px", L.style.minHeight = i + "px", L.style.maxHeight = i + "px"), F && (F.style.height = i + "px");
1971
- } else a.style.height = t.billboardHeight + "px", a.style.minHeight = t.billboardHeight + "px", L && (L.style.height = t.billboardHeight + "px", L.style.minHeight = t.billboardHeight + "px", L.style.maxHeight = t.billboardHeight + "px"), F && (F.style.height = t.billboardHeight + "px");
1982
+ a.style.height = i + "px", a.style.minHeight = i + "px", I && (I.style.height = i + "px", I.style.minHeight = i + "px", I.style.maxHeight = i + "px"), P && (P.style.height = i + "px");
1983
+ } else a.style.height = t.billboardHeight + "px", a.style.minHeight = t.billboardHeight + "px", I && (I.style.height = t.billboardHeight + "px", I.style.minHeight = t.billboardHeight + "px", I.style.maxHeight = t.billboardHeight + "px"), P && (P.style.height = t.billboardHeight + "px");
1972
1984
  J === "active" ? je() : De();
1973
1985
  };
1974
1986
  if (Ye(), l && l !== "about:blank") try {
1975
1987
  let e = new URL(l);
1976
- e.searchParams.set("mfRole", "billboard"), F = i.createElement("iframe"), F.src = e.href, F.setAttribute("data-mf-billboard-iframe", ""), F.setAttribute("scrolling", "no"), F.setAttribute("frameborder", "0");
1977
- let n = F.style;
1978
- n.position = Z ? "absolute" : "relative", n.width = "100%", n.height = t.billboardHeight + "px", n.border = "none", n.margin = "0", n.padding = "0", n.display = "block", n.overflow = "hidden", n.background = "transparent", n.zIndex = Z ? "6" : "1", Z ? (F.setAttribute("data-mf-body-billboard", ""), i.body.appendChild(F), Ee()) : (L || a).appendChild(F), te && (Y = qe, r.addEventListener("scroll", Y, { passive: !0 }), oe = r.requestAnimationFrame(Je));
1988
+ e.searchParams.set("mfRole", "billboard"), P = i.createElement("iframe"), P.src = e.href, P.setAttribute("data-mf-billboard-iframe", ""), P.setAttribute("scrolling", "no"), P.setAttribute("frameborder", "0");
1989
+ let n = P.style;
1990
+ n.position = Z ? "absolute" : "relative", n.width = "100%", n.height = t.billboardHeight + "px", n.border = "none", n.margin = "0", n.padding = "0", n.display = "block", n.overflow = "hidden", n.background = "transparent", n.zIndex = Z ? "6" : "1", Z ? (P.setAttribute("data-mf-body-billboard", ""), i.body.appendChild(P), Ee()) : (I || a).appendChild(P), q && (Y = qe, r.addEventListener("scroll", Y, { passive: !0 }), oe = r.requestAnimationFrame(Je));
1979
1991
  } catch (e) {
1980
1992
  console.warn("[mobilefireplace] Could not create billboard iframe:", e);
1981
1993
  }
1982
1994
  r.__mfBridge = {
1983
1995
  adapted: !1,
1984
- wallpaperWindow: I?.contentWindow || n.contentWindow,
1985
- billboardIframe: F,
1996
+ wallpaperWindow: F?.contentWindow || n.contentWindow,
1997
+ billboardIframe: P,
1986
1998
  billboardWindow: null
1987
- }, I && I.addEventListener("load", () => {
1999
+ }, F && F.addEventListener("load", () => {
1988
2000
  try {
1989
- r.__mfBridge && (r.__mfBridge.wallpaperWindow = I.contentWindow);
2001
+ r.__mfBridge && (r.__mfBridge.wallpaperWindow = F.contentWindow);
1990
2002
  } catch {}
1991
- }), F && F.addEventListener("load", () => {
2003
+ }), P && P.addEventListener("load", () => {
1992
2004
  try {
1993
- r.__mfBridge.billboardWindow = F.contentWindow;
2005
+ r.__mfBridge.billboardWindow = P.contentWindow;
1994
2006
  } catch {}
1995
2007
  }), Xe = $e, r.addEventListener("resize", Xe), $e(), Ze = () => {
1996
2008
  et();
@@ -2003,28 +2015,28 @@ var e = (e, t, n) => {
2003
2015
  active: !1,
2004
2016
  progress: 1,
2005
2017
  remainingMs: 0
2006
- }), P && P.parentNode && (P.parentNode.removeChild(P), P = null), F && F.parentNode && (F.parentNode.removeChild(F), F = null), Q = null, $ = null, L && L.parentNode && (L.parentNode.removeChild(L), L = null), I && I.parentNode && (I.parentNode.removeChild(I), I = null);
2018
+ }), N && N.parentNode && (N.parentNode.removeChild(N), N = null), P && P.parentNode && (P.parentNode.removeChild(P), P = null), Q = null, $ = null, I && I.parentNode && (I.parentNode.removeChild(I), I = null), F && F.parentNode && (F.parentNode.removeChild(F), F = null);
2007
2019
  try {
2008
2020
  delete r.__mfBridge;
2009
2021
  } catch {}
2010
- for (let e = K.length - 1; e >= 0; --e) {
2011
- let { shell: t, parent: n, nextSibling: r } = K[e];
2022
+ for (let e = G.length - 1; e >= 0; --e) {
2023
+ let { shell: t, parent: n, nextSibling: r } = G[e];
2012
2024
  !t || !n || (r && r.parentNode === n ? n.insertBefore(t, r) : n.appendChild(t));
2013
2025
  }
2014
- K.length = 0, z && (B && B.parentNode === z ? z.insertBefore(n, B) : z.appendChild(n), z = null, B = null), m ? n.setAttribute("style", m) : n.removeAttribute("style"), h || n.removeAttribute("data-mf-wallpaper-iframe");
2015
- for (let { el: e, orig: t } of R) t ? e.setAttribute("style", t) : e.removeAttribute("style");
2016
- R.length = 0, g ? a.setAttribute("style", g) : a.removeAttribute("style"), _ && (v ? _.setAttribute("style", v) : _.removeAttribute("style")), V &&= (H && (U && U.parentNode === H ? H.insertBefore(V, U) : H.appendChild(V), H = null, U = null), null), y && (y.removeAttribute("data-mf-slot"), b ? y.setAttribute("style", b) : y.removeAttribute("style")), W && (G ? W.setAttribute("style", G) : W.removeAttribute("style"), W = null, G = null);
2017
- for (let { el: e, orig: t } of k) t ? e.setAttribute("style", t) : e.removeAttribute("style");
2018
- M && (N ? M.setAttribute("style", N) : M.removeAttribute("style"), M = null, N = null), A && (j ? A.setAttribute("style", j) : A.removeAttribute("style"), A = null, j = null), o && (S ? o.setAttribute("style", S) : o.removeAttribute("style")), C && (w ? C.setAttribute("style", w) : C.removeAttribute("style")), T && (E ? T.setAttribute("style", E) : T.removeAttribute("style")), D && (O ? D.setAttribute("style", O) : D.removeAttribute("style")), s && (x ? s.setAttribute("style", x) : s.removeAttribute("style"));
2026
+ G.length = 0, R && (z && z.parentNode === R ? R.insertBefore(n, z) : R.appendChild(n), R = null, z = null), m ? n.setAttribute("style", m) : n.removeAttribute("style"), h || n.removeAttribute("data-mf-wallpaper-iframe");
2027
+ for (let { el: e, orig: t } of L) t ? e.setAttribute("style", t) : e.removeAttribute("style");
2028
+ L.length = 0, g ? a.setAttribute("style", g) : a.removeAttribute("style"), _ && (v ? _.setAttribute("style", v) : _.removeAttribute("style")), B &&= (V && (H && H.parentNode === V ? V.insertBefore(B, H) : V.appendChild(B), V = null, H = null), null), y && (y.removeAttribute("data-mf-slot"), b ? y.setAttribute("style", b) : y.removeAttribute("style")), U && (W ? U.setAttribute("style", W) : U.removeAttribute("style"), U = null, W = null);
2029
+ for (let { el: e, orig: t } of ee) t ? e.setAttribute("style", t) : e.removeAttribute("style");
2030
+ j && (M ? j.setAttribute("style", M) : j.removeAttribute("style"), j = null, M = null), k && (A ? k.setAttribute("style", A) : k.removeAttribute("style"), k = null, A = null), o && (S ? o.setAttribute("style", S) : o.removeAttribute("style")), C && (w ? C.setAttribute("style", w) : C.removeAttribute("style")), T && (E ? T.setAttribute("style", E) : T.removeAttribute("style")), D && (O ? D.setAttribute("style", O) : D.removeAttribute("style")), s && (x ? s.setAttribute("style", x) : s.removeAttribute("style"));
2019
2031
  }
2020
2032
  };
2021
2033
  return et;
2022
- }, F = () => {};
2023
- function I({ adFormat: e = "", stickyOffset: t = 0, logoPosX: n = 0, logoHeight: r = 0, logoSmallHeight: i = 0, ...a } = {}) {
2024
- typeof F == "function" && F();
2034
+ }, I = () => {};
2035
+ function L({ adFormat: e = "", stickyOffset: t = 0, logoPosX: n = 0, logoHeight: r = 0, logoSmallHeight: i = 0, ...a } = {}) {
2036
+ typeof I == "function" && I();
2025
2037
  let o = () => {};
2026
- return e === "fireplace" ? o = l(t) : e === "fireplace-collant" ? o = u(t) : e === "logomorph" ? o = A(n, r, i) : e === "dynamicheading" ? o = k(a) : e === "interscroller" ? o = M(a) : e === "liquidframe" ? o = N(a) : e === "mobilefireplace" ? o = P(a) : console.warn("[powered-ad-config] Unknown ad format:", e), F = typeof o == "function" ? o : () => {}, F;
2038
+ return e === "fireplace" ? o = d(t) : e === "fireplace-collant" ? o = f(t) : e === "logomorph" ? o = j(n, r, i) : e === "dynamicheading" ? o = A(a) : e === "interscroller" ? o = N(a) : e === "liquidframe" ? o = P(a) : e === "mobilefireplace" ? o = F(a) : console.warn("[powered-ad-config] Unknown ad format:", e), I = typeof o == "function" ? o : () => {}, I;
2027
2039
  }
2028
- I.version = "0.1.83";
2040
+ L.version = "0.1.84";
2029
2041
  //#endregion
2030
- export { I as default };
2042
+ export { L as default };