powered-ad-config 0.1.85 → 0.1.87

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.
@@ -56,26 +56,10 @@ 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
- }, v = {
60
- siteBackgroundColor: "#ffffff",
61
- fireplaceLeftMargin: 0,
62
- adNodeMarginTop: -24,
63
- adNodeMarginBottom: 24,
64
- responsiveScroll: -124,
65
- xPosHalfpage: 695,
66
- yPosHalfpage: 32,
67
- stickyMargin: {
68
- offset: 74,
69
- isSticky: !0
70
- },
71
- zIndex: function() {
72
- let e = window.parent.document, t = (e, t) => e.forEach((e) => t.forEach(([t, n]) => e.style[t] = n));
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
- }
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();
59
+ }, v = (e, t = m) => r(t, e), y = (e, t = m) => i(t, e), b = () => v("app") || m.querySelector("#app.nine, #app"), x = () => {
60
+ let e = b();
77
61
  if (!e) return null;
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;
62
+ let t = v("header-ad-desktop", e) || m.querySelector("#desktop-header-ads"), n = v("header", e) || v("tv-show-banner", e) || e.querySelector(":scope > header"), r = o(e, t) || o(e, O()) || t;
79
63
  return t && r && n ? {
80
64
  appRoot: e,
81
65
  headerShell: n,
@@ -83,54 +67,11 @@ var e = (e, t, n) => {
83
67
  desktopHeaderAds: t,
84
68
  variant: "full"
85
69
  } : null;
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
- if (!e) return 0;
90
- let t = p.getComputedStyle(e);
91
- if (t.position !== "fixed") return 0;
92
- let n = parseFloat(t.top || "0");
93
- return Number.isFinite(n) && Math.abs(n) > 1 ? 0 : Math.round(e.getBoundingClientRect().height) || 0;
94
- }, D = (e) => {
70
+ }, S = () => x()?.appRoot || null, C = (e) => {
95
71
  if (!e.querySelector("div[id*=\"tablet\"][id*=\"takeover\"]")) return;
96
72
  let t = e.getElementById("powered-ac-tablet-takeover-static-fix");
97
73
  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
- }, 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
- ]), u = (e, t) => {
104
- n(r, e, t);
105
- }, d = (e) => {
106
- o(Array.from(e.querySelectorAll("*")).filter((e) => e.children.length > 0 ? !1 : e.textContent?.trim().toLowerCase() === "advertisement"), [["display", "none"]]);
107
- };
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 = S(), p = f?.appRoot, m = f?.desktopHeaderAds, h = f?.billboardContainer;
110
- if (p) {
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
- 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: 1089 !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
- }
114
- D(r);
115
- }, ee = {
116
- siteBackgroundColor: "#ffffff",
117
- fireplaceLeftMargin: 0,
118
- adNodeMarginTop: -24,
119
- adNodeMarginBottom: -55,
120
- iframeWidth: "100%",
121
- iframeHeight: l,
122
- responsiveScroll: -120,
123
- xPosHalfpage: 722,
124
- yPosHalfpage: 32,
125
- stickyMargin: {
126
- offset: 74,
127
- isSticky: !0
128
- },
129
- zIndex: function() {
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"), D(e);
132
- }
133
- }, k = {
74
+ }, w = {
134
75
  siteBackgroundColor: "#ffffff",
135
76
  fireplaceLeftMargin: 0,
136
77
  adNodeMarginTop: 0,
@@ -145,24 +86,25 @@ var e = (e, t, n) => {
145
86
  offset: 74,
146
87
  isSticky: !0
147
88
  },
148
- zIndex: O
149
- }, A = () => S()?.variant === "full" ? k : ee, j = {
150
- siteBackgroundColor: "#ffffff",
151
- fireplaceLeftMargin: 0,
152
- adNodeMarginTop: -24,
153
- adNodeMarginBottom: 0,
154
- responsiveScroll: -124,
155
- xPosHalfpage: 720,
156
- yPosHalfpage: 32,
157
- stickyMargin: {
158
- offset: 94,
159
- isSticky: !0
160
- },
161
- zIndex: function() {
162
- let e = window.parent.document, t = s(e.querySelector("footer"), "div");
163
- t && (t.style.position = "relative"), D(e);
89
+ zIndex: () => {
90
+ 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([v("page-container", e), v("container", e)]), l = (e) => a([
91
+ ...y("main", e),
92
+ ...y("sidebar", e),
93
+ ...y("footer", e)
94
+ ]), u = (e, t) => {
95
+ n(r, e, t);
96
+ }, d = (e) => {
97
+ o(Array.from(e.querySelectorAll("*")).filter((e) => e.children.length > 0 ? !1 : e.textContent?.trim().toLowerCase() === "advertisement"), [["display", "none"]]);
98
+ };
99
+ 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");
100
+ let f = x(), p = f?.appRoot, m = f?.desktopHeaderAds, h = f?.billboardContainer;
101
+ if (p) {
102
+ let e = f.headerShell, t = v("header-nav", p), n = c(p), r = l(p), g = y("sidebar-sticky", p), _ = Array.from(p.children).filter((e) => e.tagName !== "SCRIPT"), b = h ? _.indexOf(h) : -1, x = _.filter((e, t) => t < b), S = n.length > 0 ? n : b >= 0 ? _.filter((t, n) => n > b && t !== e) : _.filter((t) => t !== m && t !== e);
103
+ 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 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: 1090 !important;\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 !important;\n }\n\n #app > [data-ad-target=\"header\"] > 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 position: relative;\n }\n\n #app [data-ad-target=\"header-nav\"] {\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: 1089 !important;\n }\n "), o(S, [["position", "relative"], ["zIndex", "1071"]]), o(a([...r, ...S.flatMap((e) => s(e))]), [["position", "relative"], ["zIndex", "1072"]]), o(g, [["zIndex", "1072"]]);
104
+ }
105
+ C(r);
164
106
  }
165
- }, M = {
107
+ }, T = {
166
108
  siteBackgroundColor: "#ffffff",
167
109
  fireplaceLeftMargin: 0,
168
110
  adNodeMarginTop: 0,
@@ -179,135 +121,43 @@ var e = (e, t, n) => {
179
121
  zIndex: function() {
180
122
  let r = window.parent.document, i = e, o = t, c = (e, t) => n(r, e, t), l = (e) => {
181
123
  o(Array.from(e.querySelectorAll("*")).filter((e) => e.children.length > 0 ? !1 : e.textContent?.trim().toLowerCase() === "advertisement"), [["display", "none"]]);
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
- }
191
- }, N = () => T() ? M : j, P = {
192
- siteBackgroundColor: "#ffffff",
193
- fireplaceLeftMargin: 0,
194
- adNodeMarginTop: -32,
195
- adNodeMarginBottom: 18,
196
- responsiveScroll: -124,
197
- xPosHalfpage: 720,
198
- yPosHalfpage: 16,
199
- stickyMargin: {
200
- offset: 74,
201
- isSticky: !0
202
- },
203
- zIndex: function() {
204
- let e = window.parent.document;
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);");
124
+ }, u = v("app") || r.querySelector("#app.wwos"), d = v("header-ad-desktop", u || r) || r.querySelector("#desktop-header-ads"), f = u ? Array.from(u.children) : [], p = v("header", u || r) || v("tv-show-banner", u || r) || u?.querySelector(":scope > header"), m = v("header-nav", u || r), h = a([v("page-container", u || r), v("container", u || r)]), g = a([
125
+ ...y("main", u || r),
126
+ ...y("sidebar", u || r),
127
+ ...y("footer", u || r)
128
+ ]), _ = y("sidebar-sticky", u || r);
129
+ 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-nine-sport-header-overrides", "\n #app.wwos > [data-ad-target=\"header\"] {\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: 1090 !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 > [data-ad-target=\"header\"] > 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-nav\"] [role=\"menuitem\"][aria-haspopup=\"menu\"] {\n position: static;\n }\n\n #app.wwos [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.wwos [data-ad-target=\"header-nav\"] {\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, [id*=\"adspot-desktop-banner-\"]"))]), [["position", "relative"], ["zIndex", "1072"]]), o(_, [["zIndex", "1072"]]);
130
+ let b = s(r.querySelector("footer"), "div");
131
+ b && (b.style.position = "relative"), C(r);
206
132
  }
207
- }, F = [
133
+ }, E = [
208
134
  {
209
135
  site: "https://www.nine.com.au/sport",
210
- config: N
211
- },
212
- {
213
- site: "https://www.nine.com.au/product-reviews",
214
- config: v
215
- },
216
- {
217
- site: "https://www.nine.com.au/property",
218
- config: v
136
+ config: T
219
137
  },
220
138
  {
221
139
  site: "https://www.nine.com.au/entertainment",
222
- config: A
140
+ config: w
223
141
  },
224
142
  {
225
143
  site: "https://staging.nine.com.au/sport",
226
- config: N
227
- },
228
- {
229
- site: "https://staging.nine.com.au/product-reviews",
230
- config: v
231
- },
232
- {
233
- site: "https://staging.nine.com.au/property",
234
- config: v
144
+ config: T
235
145
  },
236
146
  {
237
147
  site: "https://staging.nine.com.au/entertainment",
238
- config: A
239
- },
240
- {
241
- site: "https://render-web-nine-staging-v1.ffxblue.com.au",
242
- config: A
243
- },
244
- {
245
- site: "https://render-web-nine-production-v1.ffxblue.com.au",
246
- config: A
247
- },
248
- {
249
- site: "https://preview.nine.com.au/",
250
- config: A
148
+ config: w
251
149
  },
252
150
  {
253
151
  site: "https://www.nine.com.au",
254
- config: A
152
+ config: w
255
153
  },
256
154
  {
257
155
  site: "https://www.nine",
258
- config: A
156
+ config: w
259
157
  },
260
158
  {
261
159
  site: "https://staging.nine",
262
- config: A
263
- },
264
- {
265
- site: "https://entertainment",
266
- config: _
267
- },
268
- {
269
- site: "https://celebrity",
270
- config: _
271
- },
272
- {
273
- site: "https://homes",
274
- config: _
275
- },
276
- {
277
- site: "https://travel",
278
- config: _
279
- },
280
- {
281
- site: "https://honey",
282
- config: _
283
- },
284
- {
285
- site: "https://style",
286
- config: _
287
- },
288
- {
289
- site: "https://coach",
290
- config: _
291
- },
292
- {
293
- site: "https://kitchen",
294
- config: _
295
- },
296
- {
297
- site: "https://finance",
298
- config: _
299
- },
300
- {
301
- site: "https://staging.wwos",
302
- config: N
303
- },
304
- {
305
- site: "https://www.9news",
306
- config: P
307
- },
308
- {
309
- site: "https://staging.9news",
310
- config: P
160
+ config: w
311
161
  },
312
162
  {
313
163
  site: "https://www.yourtv",
@@ -316,21 +166,13 @@ var e = (e, t, n) => {
316
166
  {
317
167
  site: "https://staging.yourtv",
318
168
  config: _
319
- },
320
- {
321
- site: "https://9now",
322
- config: v
323
- },
324
- {
325
- site: "https://creative-preview-an.com",
326
- config: _
327
169
  }
328
- ], I = () => {
170
+ ], D = () => {
329
171
  let e = window.document.getElementById("nineContent");
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");
172
+ if (e && (e.style.backgroundColor = F.siteBackgroundColor), j(), A(), k(), p.addEventListener("scroll", P), I = setTimeout(P, 50), F === w || F === T) {
173
+ let e = F === w ? x() : null, t = e?.appRoot || S() || m.body, n = e?.desktopHeaderAds || m.querySelector("#desktop-header-ads");
332
174
  t && p.MutationObserver && (g = new p.MutationObserver(() => {
333
- U();
175
+ N();
334
176
  }), g.observe(t, {
335
177
  childList: !0,
336
178
  subtree: !0
@@ -339,76 +181,62 @@ var e = (e, t, n) => {
339
181
  subtree: !0,
340
182
  attributes: !0,
341
183
  attributeFilter: ["class"]
342
- })), p.addEventListener("resize", U), U();
184
+ })), p.addEventListener("resize", N), N();
343
185
  }
344
- }, L = () => {
186
+ }, O = () => {
345
187
  let e = null;
346
188
  return e = m.querySelector("div[id*=\"billboard\"][id*=\"above\"]"), e;
347
- }, R = () => {
189
+ }, ee = () => {
348
190
  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;
191
+ for (let t = 0; t < E.length; t += 1) if (e.indexOf(E[t].site) >= 0) return E[t].config;
350
192
  try {
351
193
  let t = new URL(e), n = t.hostname.toLowerCase(), r = t.pathname.toLowerCase();
352
- if (n === "creative-preview-an.com") return _;
353
- if (n.includes("9news")) return P;
354
194
  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();
357
- if ([
358
- "entertainment",
359
- "celebrity",
360
- "homes",
361
- "travel",
362
- "honey",
363
- "style",
364
- "coach",
365
- "kitchen",
366
- "finance"
367
- ].some((e) => n.includes(e))) return _;
195
+ if (r.startsWith("/sport")) return T;
368
196
  } catch {
369
- return A();
197
+ return w;
370
198
  }
371
- return A();
372
- }, z = () => {
199
+ return w;
200
+ }, k = () => {
373
201
  if (!window.parent) return;
374
202
  let e = m.querySelector("div[id*=\"halfpage\"][id*=\"above\"]");
375
203
  if (!e) return;
376
204
  let t = e;
377
205
  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`;
206
+ t.style.top = `${F.stickyMargin.offset}px`;
379
207
  break;
380
208
  }
381
- }, B = () => {
209
+ }, A = () => {
382
210
  if (!f) return;
383
211
  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)";
212
+ e.width = F.iframeWidth || "100%", e.height = F.iframeHeight || l, e.backgroundColor = F.iframeBackgroundColor || u, e.position = "fixed", F.iframeTop == null ? e.removeProperty("top") : e.top = F.iframeTop, e.left = "50%", e.transform = "translate(-50%, 0)";
385
213
  let t = f.parentElement;
386
214
  for (; t && t !== m.body && t !== m.documentElement;) {
387
215
  let e = p.getComputedStyle(t);
388
216
  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;
389
217
  }
390
- }, V = () => {
391
- let e = L();
218
+ }, j = () => {
219
+ let e = O();
392
220
  if (!e) return;
393
- c(e, "0.1.85");
221
+ c(e, "0.1.87");
394
222
  let t = e.style;
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();
396
- }, H = () => {
223
+ e.className &&= "", t.minHeight = "250px", t.marginTop = F.adNodeMarginTop + "px", t.marginBottom = F.adNodeMarginBottom + "px", t.position = "static", t.display = "block", F.zIndex && F.zIndex();
224
+ }, M = () => {
397
225
  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
- }, U = () => {
400
- G !== k && G !== M || h || (h = p.requestAnimationFrame(() => {
401
- h = null, B(), V(), z(), H();
226
+ e >= 0 && e <= L ? (t.transform = `translate(-50%, ${-e}px)`, n.transform = "translateY(0)") : e > L && e <= R ? (t.transform = `translate(-50%, ${-L}px)`, n.transform = `translateY(${L - e}px)`) : e > R && (t.transform = `translate(-50%, ${-L}px)`, n.transform = "translateY(-250px)");
227
+ }, N = () => {
228
+ F !== w && F !== T || h || (h = p.requestAnimationFrame(() => {
229
+ h = null, A(), j(), k(), M();
402
230
  }));
403
- }, W = () => {
404
- H();
231
+ }, P = () => {
232
+ M();
405
233
  };
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);
234
+ O();
235
+ let F = ee();
236
+ if (!F) return () => {};
237
+ let I = null, L = d, R = L + 250;
238
+ return D(), () => {
239
+ p.removeEventListener("scroll", P), p.removeEventListener("resize", N), g &&= (g.disconnect(), null), h &&= (p.cancelAnimationFrame(h), null), I &&= (clearTimeout(I), null);
412
240
  };
413
241
  }, f = (o) => {
414
242
  let c = window.frameElement ? window.frameElement : null;
@@ -430,12 +258,12 @@ var e = (e, t, n) => {
430
258
  if (!r) return;
431
259
  let i = h("header-ad-desktop", r) || u.querySelector("#desktop-header-ads");
432
260
  if (!i) return;
433
- let o = h("header", r) || h("tv-show-banner", r) || r.querySelector(":scope > .sc-llJctl") || r.querySelector(":scope > header"), s = h("header-nav", r), c = a([h("page-container", r), h("container", r)]), l = a([
261
+ let o = h("header", r) || h("tv-show-banner", r) || r.querySelector(":scope > header"), s = h("header-nav", r), c = a([h("page-container", r), h("container", r)]), l = a([
434
262
  ...g("main", r),
435
263
  ...g("sidebar", r),
436
264
  ...g("footer", r)
437
265
  ]), d = g("sidebar-sticky", r);
438
- e(i, "height", "250px"), e(i, "padding", "0px"), e(o, "zIndex", "1085"), e(s, "position", "relative"), e(s, "zIndex", "1086"), t(c, [["position", "relative"], ["zIndex", "1071"]]), t(l, [["position", "relative"], ["zIndex", "1072"]]), t(d, [["zIndex", "1072"]]), n(u, "powered-ac-collant-nine-new-overrides", "\n #app > [data-ad-target=\"header\"],\n #app.wwos > [data-ad-target=\"header\"],\n #app > .sc-llJctl,\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 > [data-ad-target=\"tv-show-banner\"],\n #app.wwos > [data-ad-target=\"tv-show-banner\"],\n #app > header[data-tv-show],\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 [data-ad-target=\"header-nav\"],\n #app.wwos [data-ad-target=\"header-nav\"],\n #app .sc-gicCDH.bNInIa,\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 [data-ad-target=\"header-nav\"] nav,\n #app.wwos [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 #app.wwos [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: 1089 !important;\n }\n ");
266
+ e(i, "height", "250px"), e(i, "padding", "0px"), e(o, "zIndex", "1085"), e(s, "position", "relative"), e(s, "zIndex", "1086"), t(c, [["position", "relative"], ["zIndex", "1071"]]), t(l, [["position", "relative"], ["zIndex", "1072"]]), t(d, [["zIndex", "1072"]]), n(u, "powered-ac-collant-nine-new-overrides", "\n #app > [data-ad-target=\"header\"],\n #app.wwos > [data-ad-target=\"header\"] {\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: 1090 !important;\n }\n\n #app > [data-ad-target=\"tv-show-banner\"],\n #app.wwos > [data-ad-target=\"tv-show-banner\"],\n #app > header[data-tv-show],\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 [data-ad-target=\"header-nav\"],\n #app.wwos [data-ad-target=\"header-nav\"] {\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 #app.wwos [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 #app.wwos [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: 1089 !important;\n }\n ");
439
267
  }, y = {
440
268
  siteBackgroundColor: "#ffffff",
441
269
  fireplaceLeftMargin: 0,
@@ -454,23 +282,6 @@ var e = (e, t, n) => {
454
282
  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[type=\"BANNER\"]")?.setAttribute("style", "display:none"), e.querySelector("div[type=\"MBANNER\"]")?.setAttribute("style", "display:none");
455
283
  }
456
284
  }, b = {
457
- siteBackgroundColor: "#ffffff",
458
- fireplaceLeftMargin: 0,
459
- adNodeMarginTop: -24,
460
- adNodeMarginBottom: 0,
461
- responsiveScroll: -124,
462
- xPosHalfpage: 695,
463
- yPosHalfpage: 32,
464
- stickyMargin: {
465
- offset: 160,
466
- isSticky: !0
467
- },
468
- maskOffset: window.parent.document.querySelector("div[class*=\"video-index__MyContainer\"]") ? 248 : 298,
469
- zIndex: function() {
470
- let e = window.parent.document, t = (e, t) => e.forEach((e) => t.forEach(([t, n]) => e.style[t] = n));
471
- 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"), v();
472
- }
473
- }, x = {
474
285
  siteBackgroundColor: "#ffffff",
475
286
  fireplaceLeftMargin: 0,
476
287
  adNodeMarginTop: -24,
@@ -487,7 +298,7 @@ var e = (e, t, n) => {
487
298
  let e = window.parent.document;
488
299
  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"), m(e), v();
489
300
  }
490
- }, S = {
301
+ }, x = {
491
302
  siteBackgroundColor: "#ffffff",
492
303
  fireplaceLeftMargin: 0,
493
304
  adNodeMarginTop: -24,
@@ -504,54 +315,10 @@ var e = (e, t, n) => {
504
315
  let e = window.parent.document, t = s(e.querySelector("footer"), "div");
505
316
  t && (t.style.position = "relative"), m(e), v();
506
317
  }
507
- }, C = {
508
- siteBackgroundColor: "#ffffff",
509
- fireplaceLeftMargin: 0,
510
- adNodeMarginTop: -25,
511
- adNodeMarginBottom: 0,
512
- responsiveScroll: -124,
513
- xPosHalfpage: 720,
514
- yPosHalfpage: 32,
515
- stickyMargin: {
516
- offset: 175,
517
- isSticky: !0
518
- },
519
- maskOffset: 274,
520
- zIndex: function() {
521
- let e = window.parent.document;
522
- e.querySelector(".container--padded")?.setAttribute("style", "position:relative"), ((e, t) => e.forEach((e) => t.forEach(([t, n]) => e.style[t] = n)))(e.querySelectorAll(".advert"), [["position", "relative"]]), e.querySelector(".footer-netkit")?.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), e.querySelector("div[type=\"BANNER\"]")?.setAttribute("style", "display:none"), e.querySelector("div[type=\"MBANNER\"]")?.setAttribute("style", "display:none"), e.querySelector("div[id*=\"sidepanel\"][id*=\"above\"]")?.setAttribute("style", "display:none"), e.querySelector(".score-strip")?.setAttribute("style", "display:none"), e.querySelector(".feed-header__breadcrumbs")?.setAttribute("style", "display:none"), e.querySelector(".layout.container")?.setAttribute("style", "padding:0"), e.querySelector(".empty-div")?.setAttribute("style", "display:none"), m(e);
523
- }
524
- }, w = {
525
- siteBackgroundColor: "#ffffff",
526
- fireplaceLeftMargin: 0,
527
- adNodeMarginTop: -32,
528
- adNodeMarginBottom: 8,
529
- responsiveScroll: -124,
530
- xPosHalfpage: 720,
531
- yPosHalfpage: 16,
532
- stickyMargin: {
533
- offset: 160,
534
- isSticky: !0
535
- },
536
- maskOffset: window.parent.document.querySelector("div[class*=\"VideoIndexComponent\"]") ? 324 : 292,
537
- zIndex: function() {
538
- let e = window.parent.document;
539
- 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);");
540
- let t = e.querySelector("[class*=\"VideoIndexComponent\"]");
541
- t && (e.querySelector(".breadcrumbs")?.setAttribute("style", "display:none"), t.style.maxWidth = "1190px", t.style.margin = "auto", t.style.position = "relative");
542
- }
543
- }, T = [
318
+ }, S = [
544
319
  {
545
320
  site: "https://www.nine.com.au/sport",
546
- config: S
547
- },
548
- {
549
- site: "https://www.nine.com.au/product-reviews",
550
- config: b
551
- },
552
- {
553
- site: "https://www.nine.com.au/property",
554
- config: b
321
+ config: x
555
322
  },
556
323
  {
557
324
  site: "https://www.nine.com.au/entertainment",
@@ -559,95 +326,23 @@ var e = (e, t, n) => {
559
326
  },
560
327
  {
561
328
  site: "https://staging.nine.com.au/sport",
562
- config: S
563
- },
564
- {
565
- site: "https://staging.nine.com.au/product-reviews",
566
- config: b
567
- },
568
- {
569
- site: "https://staging.nine.com.au/property",
570
- config: b
329
+ config: x
571
330
  },
572
331
  {
573
332
  site: "https://staging.nine.com.au/entertainment",
574
333
  config: b
575
334
  },
576
- {
577
- site: "https://render-web-nine-staging-v1.ffxblue.com.au",
578
- config: x
579
- },
580
- {
581
- site: "https://render-web-nine-production-v1.ffxblue.com.au",
582
- config: x
583
- },
584
- {
585
- site: "https://preview.nine.com.au/",
586
- config: x
587
- },
588
335
  {
589
336
  site: "https://www.nine.com.au",
590
- config: x
337
+ config: b
591
338
  },
592
339
  {
593
340
  site: "https://www.nine",
594
- config: x
341
+ config: b
595
342
  },
596
343
  {
597
344
  site: "https://staging.nine",
598
- config: x
599
- },
600
- {
601
- site: "https://entertainment",
602
- config: y
603
- },
604
- {
605
- site: "https://celebrity",
606
- config: y
607
- },
608
- {
609
- site: "https://homes",
610
- config: y
611
- },
612
- {
613
- site: "https://travel",
614
- config: y
615
- },
616
- {
617
- site: "https://honey",
618
- config: y
619
- },
620
- {
621
- site: "https://style",
622
- config: y
623
- },
624
- {
625
- site: "https://coach",
626
- config: y
627
- },
628
- {
629
- site: "https://kitchen",
630
- config: y
631
- },
632
- {
633
- site: "https://finance",
634
- config: y
635
- },
636
- {
637
- site: "https://wwos",
638
- config: C
639
- },
640
- {
641
- site: "https://staging.wwos",
642
- config: S
643
- },
644
- {
645
- site: "https://www.9news",
646
- config: w
647
- },
648
- {
649
- site: "https://staging.9news",
650
- config: w
345
+ config: b
651
346
  },
652
347
  {
653
348
  site: "https://www.yourtv",
@@ -656,63 +351,55 @@ var e = (e, t, n) => {
656
351
  {
657
352
  site: "https://staging.yourtv",
658
353
  config: y
659
- },
660
- {
661
- site: "https://9now",
662
- config: b
663
- },
664
- {
665
- site: "https://creative-preview-an.com",
666
- config: y
667
354
  }
668
- ], E = () => {
355
+ ], C = () => {
669
356
  let e = window.document.getElementById("nineContent");
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);
671
- }, D = () => {
357
+ e && (e.style.backgroundColor = P.siteBackgroundColor), d && (f.setProperty("--masthead-height", "250px"), f.height = "var(--masthead-height)"), ee(), O(), E(), k(), l.addEventListener("scroll", M, { passive: !0 }), F = setTimeout(M, 50);
358
+ }, w = () => {
672
359
  let e = null;
673
360
  return e = u.querySelector("div[id*=\"billboard\"][id*=\"above\"]"), e;
674
- }, O = () => {
361
+ }, T = () => {
675
362
  let e = u.querySelector("nav");
676
363
  if (h("header-ad-desktop") || !e) return 0;
677
364
  let t = l.getComputedStyle(e);
678
365
  if (t.position !== "fixed") return 0;
679
366
  let n = parseFloat(t.top || "0");
680
367
  return Number.isFinite(n) && Math.abs(n) > 1 ? 0 : Math.round(e.getBoundingClientRect().height) || 0;
681
- }, ee = () => {
368
+ }, E = () => {
682
369
  let e = null;
683
370
  if (!window.parent) return e;
684
371
  if (e = u.querySelector("div[id*=\"halfpage\"][id*=\"above\"]"), !e) return;
685
372
  let t = e;
686
373
  for (let e = 0; e < 6; e++) if (t = t.parentNode, t && l.getComputedStyle(t).position === "sticky") {
687
- t.style.top = `${L.stickyMargin.offset}px`;
374
+ t.style.top = `${P.stickyMargin.offset}px`;
688
375
  break;
689
376
  }
690
- }, k = () => {
377
+ }, D = () => {
691
378
  let e = l.location.href;
692
- for (let t = 0; t < T.length; t += 1) if (e.indexOf(T[t].site) >= 0) return T[t].config;
693
- }, A = () => {
379
+ for (let t = 0; t < S.length; t += 1) if (e.indexOf(S[t].site) >= 0) return S[t].config;
380
+ }, O = () => {
694
381
  if (!c) return;
695
382
  let e = c.style;
696
383
  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();
701
- }, M = () => {
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) {
384
+ }, ee = () => {
385
+ if (!N) return;
386
+ let e = N.style;
387
+ N.className = "", e.minHeight = "250px", e.marginTop = P.adNodeMarginTop + "px", e.marginBottom = P.adNodeMarginBottom + "px", e.position = "static", e.display = "block", P.zIndex && P.zIndex();
388
+ }, k = () => {
389
+ 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 = P.siteBackgroundColor, p.style.setProperty("--mask-inset", "0px"), p.style.clipPath = "inset(var(--mask-inset, 0px) 0 0 0)");
390
+ }, A = 0, j = 0, M = () => {
391
+ let e = l.scrollY, t = e > A, n = e > L ? e - P.maskOffset : 0, r = Math.abs(n - j);
392
+ if (p) if (t && n > j) if (r > 100) {
706
393
  let e = Math.max(0, n - 100);
707
394
  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`);
708
395
  } else p.style.transition = "clip-path 0.3s ease-out", p.style.setProperty("--mask-inset", `${n}px`);
709
396
  else p.style.transition = "none", p.style.setProperty("--mask-inset", `${n}px`);
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;
714
- return E(), () => {
715
- l.removeEventListener("scroll", F), R &&= (clearTimeout(R), null);
397
+ A = e, j = n, e > L ? (c.style.setProperty("--transform-y", `${-I}px`), f.setProperty("--masthead-height", "100px"), window.CollantOn || window.goCollant()) : e > I && e <= L ? (c.style.setProperty("--transform-y", `${-I}px`), f.setProperty("--masthead-height", `${250 + I - e}px`), window.CollantOn && window.goBillboard()) : e >= 0 && e <= I && (c.style.setProperty("--transform-y", `${-e}px`), f.setProperty("--masthead-height", "250px"), window.CollantOn && window.goBillboard());
398
+ }, N = w(), P = D();
399
+ if (!P) return () => {};
400
+ let F = null, I = -P.responsiveScroll + o + T(), L = I + 150;
401
+ return C(), () => {
402
+ l.removeEventListener("scroll", M), F &&= (clearTimeout(F), null);
716
403
  };
717
404
  }, 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 = [
718
405
  "www.nine.com.au",
@@ -781,7 +468,7 @@ var e = (e, t, n) => {
781
468
  }, S = () => {
782
469
  try {
783
470
  let e = new URL(s.location.href), t = e.hostname.toLowerCase(), n = e.pathname.toLowerCase();
784
- return z.find((e) => {
471
+ return te.find((e) => {
785
472
  let r = e.hostnames.includes(t), i = e.path ? n === e.path : n.startsWith(e.pathPrefix);
786
473
  return r && i;
787
474
  }) || null;
@@ -812,55 +499,55 @@ var e = (e, t, n) => {
812
499
  return t.find((e) => e.tagName === "H1") || t[0] || null;
813
500
  }, N = null, P = null;
814
501
  f();
815
- let F = O(e, b), I = O(t, x), L = O(n, p), R = O(i, m), z = k(a), B = S();
502
+ let F = O(e, b), I = O(t, x), L = O(n, p), R = O(i, m), te = k(a), z = S();
503
+ if (!z) return () => {};
504
+ let B = y((z.slotId ? c.getElementById(z.slotId) : null) || o.parentElement);
816
505
  if (!B) return () => {};
817
- let V = y((B.slotId ? c.getElementById(B.slotId) : null) || o.parentElement);
818
- if (!V) return () => {};
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 = {
506
+ let ne = B.getAttribute(E);
507
+ if (ne && ne !== u) return () => {};
508
+ let V = {
509
+ width: B.style.width,
510
+ maxWidth: B.style.maxWidth,
511
+ minWidth: B.style.minWidth,
512
+ height: B.style.height,
513
+ minHeight: B.style.minHeight,
514
+ marginTop: B.style.marginTop,
515
+ marginBottom: B.style.marginBottom,
516
+ marginLeft: B.style.marginLeft,
517
+ marginRight: B.style.marginRight,
518
+ position: B.style.position,
519
+ top: B.style.top,
520
+ left: B.style.left,
521
+ right: B.style.right,
522
+ transform: B.style.transform,
523
+ display: B.style.display,
524
+ opacity: B.style.opacity,
525
+ transition: B.style.transition,
526
+ pointerEvents: B.style.pointerEvents,
527
+ zIndex: B.style.zIndex,
528
+ overflow: B.style.overflow
529
+ }, re = {
843
530
  width: o.style.width,
844
531
  height: o.style.height,
845
532
  display: o.style.display,
846
533
  border: o.style.border,
847
534
  position: o.style.position,
848
535
  pointerEvents: o.style.pointerEvents
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({
536
+ }, H = [], ie = parseFloat(R) || m, ae = parseFloat(F) || 0, oe = parseFloat(I) || 0, U = () => {
537
+ let e = B.parentElement;
538
+ for (; e && e !== c.body;) H.push({
852
539
  element: e,
853
540
  overflow: e.style.overflow
854
541
  }), d(e, "overflow", "visible"), e = e.parentElement;
855
- }, ne = () => {
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");
857
- }, re = {
542
+ }, se = () => {
543
+ d(B, "width", L), d(B, "maxWidth", L), d(B, "minWidth", L), d(B, "height", R), d(B, "minHeight", R), d(B, "display", "block"), d(B, "overflow", "hidden"), d(B, "pointerEvents", "none"), d(B, "zIndex", "1080"), B.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");
544
+ }, W = {
858
545
  element: null,
859
546
  position: ""
860
- }, ie = () => {
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", "");
863
- }, ae = (e) => {
547
+ }, ce = () => {
548
+ let e = B.parentElement;
549
+ e && s.getComputedStyle(e).position === "static" && (W.element = e, W.position = e.style.position, d(e, "position", "relative")), d(B, "position", "absolute"), d(B, "top", `${ae}px`), d(B, "left", `${oe}px`), d(B, "right", "auto"), d(B, "marginTop", "0px"), d(B, "marginBottom", `${h}px`), d(B, "marginLeft", "0px"), d(B, "marginRight", "0px"), d(B, "transform", "");
550
+ }, le = (e) => {
864
551
  let t = null;
865
552
  try {
866
553
  let e = o.contentDocument;
@@ -878,51 +565,51 @@ var e = (e, t, n) => {
878
565
  if (!t) return !1;
879
566
  o.setAttribute(D, "1");
880
567
  try {
881
- e.parentNode?.insertBefore(V, e);
568
+ e.parentNode?.insertBefore(B, e);
882
569
  } catch {
883
570
  return o.removeAttribute(D), !1;
884
571
  }
885
- J(), ne(), ie();
572
+ U(), se(), ce();
886
573
  try {
887
574
  o.srcdoc = t;
888
575
  } catch {
889
576
  return !1;
890
577
  }
891
578
  return !0;
892
- }, oe = () => {
893
- d(V, "position", "fixed"), d(V, "marginTop", "0px"), d(V, "marginBottom", "0px"), d(V, "marginLeft", "0px"), d(V, "marginRight", "0px"), d(V, "transform", "");
894
- }, se = () => {
895
- d(V, "display", "none");
896
- }, ce = () => {
897
- d(V, "display", "block"), d(V, "overflow", "hidden");
898
- }, Y = null, X = () => {
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");
902
- }, le = null, Z = null, Q = !1, $ = (e = 12) => {
903
- if (Y = M(B.headingText), !Y) {
904
- e > 1 && (P = s.setTimeout(() => $(e - 1), 250));
579
+ }, G = () => {
580
+ d(B, "position", "fixed"), d(B, "marginTop", "0px"), d(B, "marginBottom", "0px"), d(B, "marginLeft", "0px"), d(B, "marginRight", "0px"), d(B, "transform", "");
581
+ }, K = () => {
582
+ d(B, "display", "none");
583
+ }, q = () => {
584
+ d(B, "display", "block"), d(B, "overflow", "hidden");
585
+ }, J = null, Y = () => {
586
+ if ((!J || !J.isConnected) && (J = M(z.headingText)), !J) return;
587
+ let e = J.getBoundingClientRect(), t = e.top - ie - h + ae, n = e.left + oe;
588
+ d(B, "top", `${t}px`), d(B, "left", `${n}px`), d(B, "right", "auto");
589
+ }, ue = null, X = null, Z = !1, Q = (e = 12) => {
590
+ if (J = M(z.headingText), !J) {
591
+ e > 1 && (P = s.setTimeout(() => Q(e - 1), 250));
905
592
  return;
906
593
  }
907
- ae(Y) || (Q = !0, J(), ne(), oe(), X(), le = () => X(), Z = () => X(), s.addEventListener("scroll", le, { passive: !0 }), s.addEventListener("resize", Z));
594
+ le(J) || (Z = !0, U(), se(), G(), Y(), ue = () => Y(), X = () => Y(), s.addEventListener("scroll", ue, { passive: !0 }), s.addEventListener("resize", X));
908
595
  };
909
- $();
910
- let ue = () => {
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]) => {
596
+ Q();
597
+ let de = () => {
598
+ P &&= (s.clearTimeout(P), null), N &&= (s.clearTimeout(N), null), ue &&= (s.removeEventListener("scroll", ue), null), X &&= (s.removeEventListener("resize", X), null), B.getAttribute(E) === u && B.removeAttribute(E), Z && (Object.entries(V).forEach(([e, t]) => {
599
+ B.style[e] = t;
600
+ }), Object.entries(re).forEach(([e, t]) => {
914
601
  o.style[e] = t;
915
- }), G.forEach(({ element: e, overflow: t }) => {
602
+ }), H.forEach(({ element: e, overflow: t }) => {
916
603
  e.style.overflow = t;
917
604
  })), s[T]?.instanceId === u && delete s[T];
918
605
  };
919
606
  return s[T] = {
920
607
  instanceId: u,
921
608
  iframe: o,
922
- cleanup: ue,
923
- show: ce,
924
- hide: se
925
- }, ue;
609
+ cleanup: de,
610
+ show: q,
611
+ hide: K
612
+ }, de;
926
613
  }, j = (e, t, n) => {
927
614
  let r = window.frameElement ? window.frameElement : null;
928
615
  if (!r) return () => {};
@@ -1239,7 +926,7 @@ var e = (e, t, n) => {
1239
926
  };
1240
927
  (() => {
1241
928
  let e = a.style;
1242
- e.height = t.adScrollHeight, e.maxHeight = t.adScrollHeight, e.position = "relative", a.setAttribute("poweredAC", "0.1.85"), 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";
929
+ e.height = t.adScrollHeight, e.maxHeight = t.adScrollHeight, e.position = "relative", a.setAttribute("poweredAC", "0.1.87"), 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";
1243
930
  let o = a.parentElement;
1244
931
  for (let e = 0; e < 6 && o && o !== i.body; e++) {
1245
932
  let t = r.getComputedStyle(o), n = !1;
@@ -1377,7 +1064,7 @@ var e = (e, t, n) => {
1377
1064
  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;
1378
1065
  return (() => {
1379
1066
  let e = a.style;
1380
- if (e.position = "relative", e.overflow = "visible", e.boxSizing = "border-box", a.setAttribute("poweredAC", "0.1.85"), c) {
1067
+ if (e.position = "relative", e.overflow = "visible", e.boxSizing = "border-box", a.setAttribute("poweredAC", "0.1.87"), c) {
1381
1068
  let e = c.style;
1382
1069
  e.width = "100%", e.height = "100%", e.margin = "0", e.textAlign = "left";
1383
1070
  }
@@ -1570,24 +1257,24 @@ var e = (e, t, n) => {
1570
1257
  })(), 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) => ({
1571
1258
  el: e,
1572
1259
  orig: e.getAttribute("style")
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;
1260
+ })) : [], k = null, A = null, j = null, M = null, N = null, P = null, F = null, I = null, L = [], R = null, te = null, z = null, B = null, ne = null, V = null, re = null, H = [], ie = Number.isFinite(t.stickyDurationMs) && t.stickyDurationMs > 0, ae = Number.isFinite(t.stickyScrollDistance) && t.stickyScrollDistance > 0, oe = !!(t.sticky && (ie || ae)), U = "pending", se = 0, W = 0, ce = null, le = null, G = null, K = null, q = null, J = null, Y = [], ue = Number.isFinite(t.stickyHeaderFallbackHeight) ? Math.max(0, t.stickyHeaderFallbackHeight) : null, X = f === u.afr, Z = null, Q = null, de = (e) => {
1261
+ if (!e || e === z || e === y || e === a) return !1;
1575
1262
  let t = e.firstElementChild;
1576
1263
  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;
1577
1264
  let n = r.getComputedStyle(e);
1578
1265
  return n.position === "fixed" || n.position === "sticky";
1579
- }, de = (e) => {
1580
- !e?.parentElement || G.some((t) => t.shell === e) || (G.push({
1266
+ }, fe = (e) => {
1267
+ !e?.parentElement || H.some((t) => t.shell === e) || (H.push({
1581
1268
  shell: e,
1582
1269
  parent: e.parentElement,
1583
1270
  nextSibling: e.nextSibling
1584
1271
  }), e.remove());
1585
- }, fe = () => {
1272
+ }, pe = () => {
1586
1273
  for (let e of i.querySelectorAll(".container")) {
1587
1274
  let t = e.parentElement;
1588
- ue(t) && de(t);
1275
+ de(t) && fe(t);
1589
1276
  }
1590
- }, pe = (e) => {
1277
+ }, me = (e) => {
1591
1278
  let t = e?.parentElement;
1592
1279
  for (; t && t !== i.body && t !== i.documentElement;) {
1593
1280
  let e = r.getComputedStyle(t);
@@ -1596,10 +1283,10 @@ var e = (e, t, n) => {
1596
1283
  orig: t.getAttribute("style")
1597
1284
  }), t.style.transform = "none", t.style.willChange = "auto", t.style.contain = "none", t.style.filter = "none", t.style.perspective = "none"), t = t.parentElement;
1598
1285
  }
1599
- }, me = () => {
1286
+ }, he = () => {
1600
1287
  let e = i.createElement("div");
1601
1288
  return e.setAttribute("data-mf-billboard-mount", ""), e.style.height = `${t.billboardHeight}px`, e.style.minHeight = `${t.billboardHeight}px`, e.style.maxHeight = `${t.billboardHeight}px`, e.style.background = "transparent", e.style.overflow = "visible", e.style.position = "relative", e.style.width = "100%", e.style.padding = "0", e.style.margin = "0", e;
1602
- }, he = () => {
1289
+ }, ge = () => {
1603
1290
  if (!s || f !== u.wwos) return null;
1604
1291
  let e = a.getBoundingClientRect().bottom, t = Array.from(s.querySelectorAll("div")).map((e) => {
1605
1292
  let t = e.getBoundingClientRect(), n = r.getComputedStyle(e), i = e.querySelector("ul");
@@ -1612,7 +1299,7 @@ var e = (e, t, n) => {
1612
1299
  };
1613
1300
  }).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");
1614
1301
  return t.length ? (t.sort((t, n) => Math.abs(t.rect.top - e) - Math.abs(n.rect.top - e)), t[0]) : null;
1615
- }, ge = () => I || a, _e = () => !t.stickyRespectHeader || !t.stickyHeaderSelector ? [] : Array.from(i.querySelectorAll(t.stickyHeaderSelector)).map((e) => {
1302
+ }, $ = () => I || a, _e = () => !t.stickyRespectHeader || !t.stickyHeaderSelector ? [] : Array.from(i.querySelectorAll(t.stickyHeaderSelector)).map((e) => {
1616
1303
  let t = e.getBoundingClientRect(), n = r.getComputedStyle(e), i = Number.parseInt(n.zIndex, 10);
1617
1304
  return {
1618
1305
  el: e,
@@ -1625,7 +1312,7 @@ var e = (e, t, n) => {
1625
1312
  return e.length ? (e.sort((e, t) => t.rect.bottom - e.rect.bottom), e[0]) : null;
1626
1313
  }, ye = () => {
1627
1314
  let e = ve();
1628
- return e ? Math.max(t.stickyTop, Math.round(e.rect.bottom)) : Math.max(t.stickyTop, le || t.stickyTop);
1315
+ return e ? Math.max(t.stickyTop, Math.round(e.rect.bottom)) : Math.max(t.stickyTop, ue || t.stickyTop);
1629
1316
  }, be = () => {
1630
1317
  let e = ve();
1631
1318
  return e?.zIndex && e.zIndex > 2 ? Math.max(t.stickyZIndex, e.zIndex + 1) : t.stickyZIndex;
@@ -1637,102 +1324,102 @@ var e = (e, t, n) => {
1637
1324
  remainingMs: Math.max(0, Math.round(n))
1638
1325
  }, "*");
1639
1326
  }, Se = (e) => {
1640
- !e || X.some((t) => t.el === e) || X.push({
1327
+ !e || Y.some((t) => t.el === e) || Y.push({
1641
1328
  el: e,
1642
1329
  value: e.style.getPropertyValue("z-index"),
1643
1330
  priority: e.style.getPropertyPriority("z-index")
1644
1331
  });
1645
1332
  }, Ce = (e) => {
1646
- let t = new Set([ge()].filter(Boolean));
1647
- if (f === u.afr || U || p) {
1333
+ let t = new Set([$()].filter(Boolean));
1334
+ if (f === u.afr || V || p) {
1648
1335
  [
1649
1336
  a,
1650
1337
  y,
1651
1338
  c
1652
1339
  ].filter(Boolean).forEach((e) => t.add(e));
1653
- let e = ge()?.parentElement;
1340
+ let e = $()?.parentElement;
1654
1341
  for (; e && e !== i.body && e !== i.documentElement && (t.add(e), e.id !== "stickyLeaderboard");) e = e.parentElement;
1655
1342
  }
1656
1343
  for (let n of t) Se(n), n.style.setProperty("z-index", String(e), "important");
1657
- }, we = () => Z && (a.closest("#stickyLeaderboard") || i.querySelector("#stickyLeaderboard")) || ge(), Te = () => {
1658
- if (!Z || !P) return;
1344
+ }, we = () => X && (a.closest("#stickyLeaderboard") || i.querySelector("#stickyLeaderboard")) || $(), Te = () => {
1345
+ if (!X || !P) return;
1659
1346
  let e = P.style;
1660
1347
  e.left = "0px", e.width = "100vw";
1661
1348
  }, Ee = () => {
1662
- if (!Z || !P || J === "active") return;
1349
+ if (!X || !P || U === "active") return;
1663
1350
  let e = we();
1664
1351
  if (!e) return;
1665
1352
  let t = e.getBoundingClientRect(), n = P.style;
1666
1353
  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");
1667
1354
  }, De = () => {
1668
- Z && (Ee(), se && r.cancelAnimationFrame(se), se = r.requestAnimationFrame(() => {
1669
- se = null, Ee();
1670
- }), ce && r.clearTimeout(ce), ce = r.setTimeout(() => {
1671
- ce = null, Ee();
1355
+ X && (Ee(), K && r.cancelAnimationFrame(K), K = r.requestAnimationFrame(() => {
1356
+ K = null, Ee();
1357
+ }), q && r.clearTimeout(q), q = r.setTimeout(() => {
1358
+ q = null, Ee();
1672
1359
  }, 350));
1673
1360
  }, Oe = () => {
1674
- !Z || !P || P.parentElement === i.body || (Q = P.parentElement, $ = P.nextSibling, i.body.appendChild(P));
1361
+ !X || !P || P.parentElement === i.body || (Z = P.parentElement, Q = P.nextSibling, i.body.appendChild(P));
1675
1362
  }, ke = () => {
1676
- if (!Q || !P) {
1677
- Q = null, $ = null;
1363
+ if (!Z || !P) {
1364
+ Z = null, Q = null;
1678
1365
  return;
1679
1366
  }
1680
- $ && $.parentNode === Q ? Q.insertBefore(P, $) : Q.appendChild(P), Q = null, $ = null;
1367
+ Q && Q.parentNode === Z ? Z.insertBefore(P, Q) : Z.appendChild(P), Z = null, Q = null;
1681
1368
  }, Ae = () => {
1682
- for (let e = X.length - 1; e >= 0; --e) {
1683
- let { el: t, value: n, priority: r } = X[e];
1369
+ for (let e = Y.length - 1; e >= 0; --e) {
1370
+ let { el: t, value: n, priority: r } = Y[e];
1684
1371
  n ? t.style.setProperty("z-index", n, r) : t.style.removeProperty("z-index");
1685
1372
  }
1686
- X.length = 0;
1373
+ Y.length = 0;
1687
1374
  }, je = () => {
1688
1375
  if (!P) return;
1689
- pe(ge());
1690
- let e = ge().getBoundingClientRect(), t = be();
1376
+ me($());
1377
+ let e = $().getBoundingClientRect(), t = be();
1691
1378
  Ce(t), Oe();
1692
1379
  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", "");
1380
+ n.position = "fixed", n.top = `${ye()}px`, X ? 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", "");
1694
1381
  }, Me = () => {
1695
1382
  if (!P) return;
1696
- if (ke(), Z) {
1383
+ if (ke(), X) {
1697
1384
  De(), Ae();
1698
1385
  return;
1699
1386
  }
1700
1387
  let e = P.style;
1701
1388
  e.position = "relative", e.top = "", e.left = "", e.width = "100%", e.setProperty("z-index", "1"), Ae(), P.removeAttribute("data-mf-sticky-active");
1702
1389
  }, Ne = () => {
1703
- ae &&= (r.cancelAnimationFrame(ae), null);
1390
+ le &&= (r.cancelAnimationFrame(le), null);
1704
1391
  }, Pe = () => {
1705
- oe &&= (r.cancelAnimationFrame(oe), null);
1392
+ G &&= (r.cancelAnimationFrame(G), null);
1706
1393
  }, Fe = () => {
1707
- if (ie === null) {
1708
- let e = ge().getBoundingClientRect();
1709
- ie = Math.max(0, r.scrollY + e.top - t.stickyTop);
1394
+ if (ce === null) {
1395
+ let e = $().getBoundingClientRect();
1396
+ ce = Math.max(0, r.scrollY + e.top - t.stickyTop);
1710
1397
  }
1711
- return ie;
1712
- }, Ie = () => re + (J === "active" ? Math.max(0, r.performance.now() - ne) : 0), Le = () => Math.max(0, r.scrollY - Fe()), Re = () => {
1713
- let e = K ? Ie() / t.stickyDurationMs : 0, n = te ? Le() / t.stickyScrollDistance : 0;
1398
+ return ce;
1399
+ }, Ie = () => W + (U === "active" ? Math.max(0, r.performance.now() - se) : 0), Le = () => Math.max(0, r.scrollY - Fe()), Re = () => {
1400
+ let e = ie ? Ie() / t.stickyDurationMs : 0, n = ae ? Le() / t.stickyScrollDistance : 0;
1714
1401
  return Math.max(e, n);
1715
- }, ze = () => K ? t.stickyDurationMs - Ie() : 0, Be = () => r.scrollY < Fe() - 1, Ve = () => {
1716
- J === "active" && (re = Ie(), J = "paused", Ne(), Me(), xe({
1402
+ }, ze = () => ie ? t.stickyDurationMs - Ie() : 0, Be = () => r.scrollY < Fe() - 1, Ve = () => {
1403
+ U === "active" && (W = Ie(), U = "paused", Ne(), Me(), xe({
1717
1404
  active: !1,
1718
1405
  progress: Re(),
1719
1406
  remainingMs: ze()
1720
1407
  }));
1721
1408
  }, He = () => {
1722
- J !== "paused" || Be() || (J = "active", ne = r.performance.now(), je(), We());
1409
+ U !== "paused" || Be() || (U = "active", se = r.performance.now(), je(), We());
1723
1410
  }, Ue = () => {
1724
- J !== "active" && J !== "paused" || (J === "active" && (re = Ie()), J = "released", Ne(), Me(), xe({
1411
+ U !== "active" && U !== "paused" || (U === "active" && (W = Ie()), U = "released", Ne(), Me(), xe({
1725
1412
  active: !1,
1726
1413
  progress: 1,
1727
1414
  remainingMs: 0
1728
1415
  }));
1729
1416
  }, We = () => {
1730
- if (J !== "active") return;
1417
+ if (U !== "active") return;
1731
1418
  if (Be()) {
1732
1419
  Ve();
1733
1420
  return;
1734
1421
  }
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;
1422
+ let e = Ie(), n = Le(), i = ie ? e / t.stickyDurationMs : 0, a = ae ? n / t.stickyScrollDistance : 0, o = Math.max(i, a), s = ie ? t.stickyDurationMs - e : 0;
1736
1423
  if (je(), xe({
1737
1424
  active: !0,
1738
1425
  progress: o,
@@ -1741,29 +1428,29 @@ var e = (e, t, n) => {
1741
1428
  Ue();
1742
1429
  return;
1743
1430
  }
1744
- ae = r.requestAnimationFrame(We);
1431
+ le = r.requestAnimationFrame(We);
1745
1432
  }, Ge = () => {
1746
- if (!q || J !== "pending" || !P) return;
1433
+ if (!oe || U !== "pending" || !P) return;
1747
1434
  Pe();
1748
- let e = ge().getBoundingClientRect();
1749
- ie = Math.max(0, r.scrollY + e.top - t.stickyTop), re = 0, J = "active", ne = r.performance.now(), je(), We();
1435
+ let e = $().getBoundingClientRect();
1436
+ ce = Math.max(0, r.scrollY + e.top - t.stickyTop), W = 0, U = "active", se = r.performance.now(), je(), We();
1750
1437
  }, Ke = () => {
1751
- !q || J !== "pending" || !P || ge().getBoundingClientRect().top <= t.stickyTop && Ge();
1438
+ !oe || U !== "pending" || !P || $().getBoundingClientRect().top <= t.stickyTop && Ge();
1752
1439
  }, qe = () => {
1753
- J === "pending" ? Ke() : J === "active" && Be() ? Ve() : J === "paused" && He(), J !== "active" && De();
1440
+ U === "pending" ? Ke() : U === "active" && Be() ? Ve() : U === "paused" && He(), U !== "active" && De();
1754
1441
  }, Je = () => {
1755
- if (!q || J !== "pending" || !P) {
1756
- oe = null;
1442
+ if (!oe || U !== "pending" || !P) {
1443
+ G = null;
1757
1444
  return;
1758
1445
  }
1759
- Ke(), oe = J === "pending" ? r.requestAnimationFrame(Je) : null;
1446
+ Ke(), G = U === "pending" ? r.requestAnimationFrame(Je) : null;
1760
1447
  }, Ye = () => {
1761
- fe();
1448
+ pe();
1762
1449
  let e = n.parentElement;
1763
1450
  for (; e && e !== i.body && e !== i.documentElement;) {
1764
1451
  let t = r.getComputedStyle(e);
1765
1452
  if (t.position === "fixed" || t.position === "sticky") {
1766
- U = e, W = e.getAttribute("style");
1453
+ V = e, re = e.getAttribute("style");
1767
1454
  break;
1768
1455
  }
1769
1456
  e = e.parentElement;
@@ -1788,7 +1475,7 @@ var e = (e, t, n) => {
1788
1475
  } catch (e) {
1789
1476
  console.warn("[mobilefireplace] Could not create AFR wallpaper iframe:", e);
1790
1477
  }
1791
- if (a.setAttribute("poweredAC", "0.1.85"), _) {
1478
+ if (a.setAttribute("poweredAC", "0.1.87"), _) {
1792
1479
  let e = _.style;
1793
1480
  e.width = "100%", e.height = "0", e.overflow = "visible", e.position = "static", e.margin = "0";
1794
1481
  }
@@ -1960,34 +1647,34 @@ var e = (e, t, n) => {
1960
1647
  padding: 0 !important;
1961
1648
  }
1962
1649
  `, i.head.appendChild(N), f.setup && f.setup(i, a), f === u.wwos) {
1963
- let e = he();
1650
+ let e = ge();
1964
1651
  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%"));
1965
1652
  }
1966
- if (o && f !== u.afr && (U || p)) {
1967
- if (U && (B = c || y), l && l !== "about:blank") {
1653
+ if (o && f !== u.afr && (V || p)) {
1654
+ if (V && (z = c || y), l && l !== "about:blank") {
1968
1655
  let e = new URL(l);
1969
1656
  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
1657
  let n = F.style;
1971
1658
  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);
1972
1659
  }
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";
1660
+ 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 = he(), o.parentElement.insertBefore(I, o), V ? (V.style.position = "static", V.style.inset = "auto", V.style.height = "0", V.style.minHeight = "0", V.style.maxHeight = "0", V.style.overflow = "hidden", V.style.backgroundColor = "transparent", V.style.boxShadow = "none", V.style.border = "0", V.style.outline = "0", V.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
1661
  for (let { el: e } of ee) e.style.backgroundColor = "transparent", e.style.boxShadow = "none", e.style.paddingLeft = "10px", e.style.paddingRight = "10px";
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();
1662
+ 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"), pe();
1976
1663
  }
1977
- I || (I = me(), a.appendChild(I));
1664
+ I || (I = he(), a.appendChild(I));
1978
1665
  }, Xe = null, Ze = null, Qe = !1, $e = () => {
1979
1666
  let e = r.innerWidth, n = r.innerHeight;
1980
1667
  if (e > n) {
1981
1668
  let r = n / e, i = Math.round(t.billboardHeight * r);
1982
1669
  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
1670
  } 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");
1984
- J === "active" ? je() : De();
1671
+ U === "active" ? je() : De();
1985
1672
  };
1986
1673
  if (Ye(), l && l !== "about:blank") try {
1987
1674
  let e = new URL(l);
1988
1675
  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
1676
  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));
1677
+ n.position = X ? "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 = X ? "6" : "1", X ? (P.setAttribute("data-mf-body-billboard", ""), i.body.appendChild(P), Ee()) : (I || a).appendChild(P), oe && (J = qe, r.addEventListener("scroll", J, { passive: !0 }), G = r.requestAnimationFrame(Je));
1991
1678
  } catch (e) {
1992
1679
  console.warn("[mobilefireplace] Could not create billboard iframe:", e);
1993
1680
  }
@@ -2011,21 +1698,21 @@ var e = (e, t, n) => {
2011
1698
  });
2012
1699
  let et = () => {
2013
1700
  if (!Qe) {
2014
- Qe = !0, Ze &&= (window.removeEventListener("pagehide", Ze), window.removeEventListener("beforeunload", Ze), null), Xe &&= (r.removeEventListener("resize", Xe), null), Y &&= (r.removeEventListener("scroll", Y), null), Ne(), Pe(), se &&= (r.cancelAnimationFrame(se), null), ce &&= (r.clearTimeout(ce), null), xe({
1701
+ Qe = !0, Ze &&= (window.removeEventListener("pagehide", Ze), window.removeEventListener("beforeunload", Ze), null), Xe &&= (r.removeEventListener("resize", Xe), null), J &&= (r.removeEventListener("scroll", J), null), Ne(), Pe(), K &&= (r.cancelAnimationFrame(K), null), q &&= (r.clearTimeout(q), null), xe({
2015
1702
  active: !1,
2016
1703
  progress: 1,
2017
1704
  remainingMs: 0
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);
1705
+ }), N && N.parentNode && (N.parentNode.removeChild(N), N = null), P && P.parentNode && (P.parentNode.removeChild(P), P = null), Z = null, Q = null, I && I.parentNode && (I.parentNode.removeChild(I), I = null), F && F.parentNode && (F.parentNode.removeChild(F), F = null);
2019
1706
  try {
2020
1707
  delete r.__mfBridge;
2021
1708
  } catch {}
2022
- for (let e = G.length - 1; e >= 0; --e) {
2023
- let { shell: t, parent: n, nextSibling: r } = G[e];
1709
+ for (let e = H.length - 1; e >= 0; --e) {
1710
+ let { shell: t, parent: n, nextSibling: r } = H[e];
2024
1711
  !t || !n || (r && r.parentNode === n ? n.insertBefore(t, r) : n.appendChild(t));
2025
1712
  }
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");
1713
+ H.length = 0, R && (te && te.parentNode === R ? R.insertBefore(n, te) : R.appendChild(n), R = null, te = null), m ? n.setAttribute("style", m) : n.removeAttribute("style"), h || n.removeAttribute("data-mf-wallpaper-iframe");
2027
1714
  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);
1715
+ L.length = 0, g ? a.setAttribute("style", g) : a.removeAttribute("style"), _ && (v ? _.setAttribute("style", v) : _.removeAttribute("style")), z &&= (B && (ne && ne.parentNode === B ? B.insertBefore(z, ne) : B.appendChild(z), B = null, ne = null), null), y && (y.removeAttribute("data-mf-slot"), b ? y.setAttribute("style", b) : y.removeAttribute("style")), V && (re ? V.setAttribute("style", re) : V.removeAttribute("style"), V = null, re = null);
2029
1716
  for (let { el: e, orig: t } of ee) t ? e.setAttribute("style", t) : e.removeAttribute("style");
2030
1717
  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"));
2031
1718
  }
@@ -2037,6 +1724,6 @@ function L({ adFormat: e = "", stickyOffset: t = 0, logoPosX: n = 0, logoHeight:
2037
1724
  let o = () => {};
2038
1725
  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;
2039
1726
  }
2040
- L.version = "0.1.85";
1727
+ L.version = "0.1.87";
2041
1728
  //#endregion
2042
1729
  export { L as default };