|
9203 | 9203 | 48474: (e, t, r) => {
|
9204 | 9204 | "use strict";
|
9205 | 9205 | r.d(t, {
|
9206 |
| - dR: () => B, |
9207 |
| - ZI: () => N, |
9208 |
| - Qs: () => C, |
9209 |
| - jy: () => S, |
9210 |
| - Ch: () => T, |
| 9206 | + dR: () => D, |
| 9207 | + ZI: () => b, |
| 9208 | + Qs: () => I, |
| 9209 | + jy: () => v, |
| 9210 | + Ch: () => P, |
9211 | 9211 | });
|
9212 | 9212 | var i = r(90626),
|
9213 | 9213 | n = r(75844),
|
|
9254 | 9254 | r.p +
|
9255 | 9255 | "images/applications/store/halloween_2020_pointspage_bg.png?v=valveisgoodatcaching";
|
9256 | 9256 | var w = r(30470),
|
9257 |
| - y = r(55263); |
9258 |
| - const C = ({ className: e, ...t }) => { |
| 9257 | + y = r(55263), |
| 9258 | + C = r(22580); |
| 9259 | + const I = ({ className: e, ...t }) => { |
9259 | 9260 | const r = i.useRef(void 0);
|
9260 | 9261 | return i.createElement(
|
9261 | 9262 | i.Fragment,
|
|
9268 | 9269 | i.createElement(m, { scrollElement: r.current }),
|
9269 | 9270 | );
|
9270 | 9271 | },
|
9271 |
| - I = ({ children: e }) => |
| 9272 | + M = ({ children: e }) => |
9272 | 9273 | i.createElement(
|
9273 |
| - C, |
| 9274 | + I, |
9274 | 9275 | { className: (0, d.A)(a.ParallaxRoot, s.ParallaxRoot) },
|
9275 | 9276 | e,
|
9276 | 9277 | ),
|
9277 |
| - M = ({ children: e, src: t, className: r }) => |
| 9278 | + E = ({ children: e, src: t, className: r }) => |
9278 | 9279 | i.createElement(
|
9279 | 9280 | i.Fragment,
|
9280 | 9281 | null,
|
|
9288 | 9289 | style: { backgroundImage: `url(${t})` },
|
9289 | 9290 | }),
|
9290 | 9291 | );
|
9291 |
| - function E(e) { |
| 9292 | + function S(e) { |
9292 | 9293 | const t = (0, o.tv)(["xxsmall", "small", "xxlarge"]),
|
9293 | 9294 | r = (0, _.h)("(max-width: 965px)") || w.TS.IN_GAMEPADUI,
|
9294 | 9295 | n = (0, o.WH)(t);
|
|
9312 | 9313 | ),
|
9313 | 9314 | );
|
9314 | 9315 | }
|
9315 |
| - const S = ({ background: e, children: t }) => { |
| 9316 | + const v = ({ background: e, children: t }) => { |
9316 | 9317 | let r = g;
|
9317 | 9318 | return (
|
9318 | 9319 | e && (r = e),
|
9319 | 9320 | i.createElement(
|
9320 |
| - I, |
| 9321 | + M, |
9321 | 9322 | null,
|
9322 |
| - i.createElement(M, { src: r }, i.createElement(E, null, t)), |
| 9323 | + i.createElement(E, { src: r }, i.createElement(S, null, t)), |
9323 | 9324 | )
|
9324 | 9325 | );
|
9325 | 9326 | },
|
9326 |
| - v = ({ children: e }) => |
9327 |
| - i.createElement(M, { src: h, className: a.HomeBackground }, e), |
9328 | 9327 | N = ({ children: e }) =>
|
| 9328 | + i.createElement(E, { src: h, className: a.HomeBackground }, e), |
| 9329 | + b = ({ children: e }) => |
9329 | 9330 | i.createElement(
|
9330 |
| - I, |
| 9331 | + M, |
9331 | 9332 | null,
|
9332 |
| - i.createElement(v, null, i.createElement(E, null, e)), |
| 9333 | + i.createElement(N, null, i.createElement(S, null, e)), |
9333 | 9334 | ),
|
9334 |
| - b = (0, n.PA)(({ children: e, appid: t }) => { |
| 9335 | + A = (0, n.PA)(({ children: e, appid: t }) => { |
9335 | 9336 | const [r] = (0, y.t7)(t, { include_assets: !0 });
|
9336 |
| - if (!r) return null; |
9337 |
| - const n = r.GetAssets().GetRawPageBackgroundURL() |
9338 |
| - ? r.GetAssets().GetRawPageBackgroundURL() |
9339 |
| - : r.GetAssets().GetPageBackgroundURL(); |
9340 |
| - return i.createElement( |
9341 |
| - M, |
9342 |
| - { src: n, className: a.ParallaxAppBackground }, |
9343 |
| - e, |
| 9337 | + let n = g; |
| 9338 | + const s = C.DZ.Get().GetAppHeroImage(t); |
| 9339 | + return ( |
| 9340 | + s.is_custom |
| 9341 | + ? (n = s.img_url) |
| 9342 | + : r && |
| 9343 | + (n = |
| 9344 | + r.GetAssets().GetRawPageBackgroundURL() ?? |
| 9345 | + r.GetAssets().GetPageBackgroundURL()), |
| 9346 | + i.createElement( |
| 9347 | + E, |
| 9348 | + { src: n, className: a.ParallaxAppBackground }, |
| 9349 | + e, |
| 9350 | + ) |
9344 | 9351 | );
|
9345 | 9352 | }),
|
9346 |
| - A = { 1461450: f }; |
9347 |
| - function B(e) { |
9348 |
| - return e.appid in A |
9349 |
| - ? i.createElement(D, { ...e }) |
9350 |
| - : i.createElement(R, { ...e }); |
9351 |
| - } |
| 9353 | + B = { 1461450: f }; |
9352 | 9354 | function D(e) {
|
| 9355 | + return e.appid in B |
| 9356 | + ? i.createElement(R, { ...e }) |
| 9357 | + : i.createElement(T, { ...e }); |
| 9358 | + } |
| 9359 | + function R(e) { |
9353 | 9360 | const { children: t, appid: r } = e,
|
9354 | 9361 | n = (function (e) {
|
9355 |
| - return A[e]; |
| 9362 | + return B[e]; |
9356 | 9363 | })(r);
|
9357 | 9364 | return i.createElement(
|
9358 |
| - C, |
| 9365 | + I, |
9359 | 9366 | null,
|
9360 | 9367 | i.createElement(
|
9361 | 9368 | "div",
|
9362 | 9369 | {
|
9363 | 9370 | style: { backgroundImage: `url("${n}")` },
|
9364 | 9371 | className: a.CustomAppBackground,
|
9365 | 9372 | },
|
9366 |
| - i.createElement(E, null, t), |
| 9373 | + i.createElement(S, null, t), |
9367 | 9374 | ),
|
9368 | 9375 | );
|
9369 | 9376 | }
|
9370 |
| - function R(e) { |
| 9377 | + function T(e) { |
9371 | 9378 | const { children: t, appid: r } = e;
|
9372 | 9379 | return i.createElement(
|
9373 |
| - I, |
| 9380 | + M, |
9374 | 9381 | null,
|
9375 |
| - i.createElement(b, { appid: r }, i.createElement(E, null, t)), |
| 9382 | + i.createElement(A, { appid: r }, i.createElement(S, null, t)), |
9376 | 9383 | );
|
9377 | 9384 | }
|
9378 |
| - const T = ({ title: e, subtitle: t, headerImage: r }) => |
| 9385 | + const P = ({ title: e, subtitle: t, headerImage: r }) => |
9379 | 9386 | i.createElement(
|
9380 | 9387 | i.Fragment,
|
9381 | 9388 | null,
|
|
0 commit comments