@designcrowd/library.brand-page 5.15.14-gettyfinal-1 → 5.15.14-gettyfinal-3

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.
Files changed (22) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-BuGOj71G.js → CreatedOnBrandCrowd-de-de-fRjHDupM.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-CVSkaMxC.js → CreatedOnBrandCrowd-en-us-Yjrim3zZ.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-DlfbNBWw.js → CreatedOnBrandCrowd-es-es-DKI2MQff.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-BuI6e7ik.js → CreatedOnBrandCrowd-fr-ca-Dowqy5jC.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-BuI6e7ik.js → CreatedOnBrandCrowd-fr-fr-Dowqy5jC.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-BPvxprsf.js → CreatedOnBrandCrowd-pt-br-Dz1N_nEi.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-BPvxprsf.js → CreatedOnBrandCrowd-pt-pt-Dz1N_nEi.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-B9Tsy7Dx.js → CreatedOnDcom-de-de-BbvPcH4u.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us-BMgsU2pF.js → CreatedOnDcom-en-us-DiuM3BXy.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-BRZYjwIk.js → CreatedOnDcom-es-es-CTM2fDaL.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-C39EI5YO.js → CreatedOnDcom-fr-ca-DP1uJ7fe.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CdNrVQxX.js → CreatedOnDcom-fr-fr-BggYBUVQ.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-DRqiwPaw.js → CreatedOnDcom-pt-br-DkEeGeDF.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-xShtuI73.js → CreatedOnDcom-pt-pt-DK1ssNLK.js} +1 -1
  15. package/lib/src/brand-page/utils/view-model.util.d.ts +4 -0
  16. package/lib/src/brand-page/utils/view-model.util.js +2 -1
  17. package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +3 -0
  18. package/lib/src/index.mjs +1 -1
  19. package/lib/src/{lib-PKvFyEuH.js → lib-TeVw0Nkm.js} +11 -8
  20. package/package.json +1 -1
  21. package/src/brand-page/utils/view-model.util.ts +9 -4
  22. package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +3 -0
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-PKvFyEuH.js";
2
+ import { _ as t } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, h = {
4
4
  width: "275",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-PKvFyEuH.js";
2
+ import { _ as t } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, h = {
4
4
  width: "251",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-PKvFyEuH.js";
2
+ import { _ as t } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, h = {
4
4
  width: "250",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-PKvFyEuH.js";
2
+ import { _ as t } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-PKvFyEuH.js";
2
+ import { _ as t } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, h = {
4
4
  width: "237",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-PKvFyEuH.js";
2
+ import { _ as t } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as l, createStaticVNode as a } from "vue";
2
- import { _ as t } from "./lib-PKvFyEuH.js";
2
+ import { _ as t } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, h = {
4
4
  width: "263",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-PKvFyEuH.js";
2
+ import { _ as e } from "./lib-TeVw0Nkm.js";
3
3
  const M = {}, Z = {
4
4
  width: "242",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-PKvFyEuH.js";
2
+ import { _ as e } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, M = {
4
4
  width: "231",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-PKvFyEuH.js";
2
+ import { _ as e } from "./lib-TeVw0Nkm.js";
3
3
  const M = {}, Z = {
4
4
  width: "230",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-PKvFyEuH.js";
2
+ import { _ as e } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as e } from "./lib-PKvFyEuH.js";
2
+ import { _ as e } from "./lib-TeVw0Nkm.js";
3
3
  const i = {}, l = {
4
4
  width: "216",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-PKvFyEuH.js";
2
+ import { _ as M } from "./lib-TeVw0Nkm.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as H, openBlock as V, createStaticVNode as t } from "vue";
2
- import { _ as M } from "./lib-PKvFyEuH.js";
2
+ import { _ as M } from "./lib-TeVw0Nkm.js";
3
3
  const Z = {}, e = {
4
4
  width: "232",
5
5
  height: "36",
@@ -17,6 +17,10 @@ interface ViewModelMappingOptions {
17
17
  videoUrl: string;
18
18
  previewImageUrl: string;
19
19
  };
20
+ getS3VideoUrls?: (token: string) => {
21
+ videoUrl: string;
22
+ previewImageUrl: string;
23
+ };
20
24
  }
21
25
  export declare const getBrandPageViewModelFromBrandPageModel: (model: BrandPageModel, brandPageToken: string | undefined, showBrandCrowdLogo: boolean | undefined, options: ViewModelMappingOptions) => BrandPageViewModel;
22
26
  export declare const isLogoViewModel: (viewModel: ContentViewModel) => viewModel is LogoViewModel;
@@ -392,7 +392,8 @@ const mapToContactFormViewModel = (content, styles, brandPageType) => {
392
392
  }, styles);
393
393
  };
394
394
  const mapGettyVideoToGettyVideoViewModel = (media, options) => {
395
- const videoUrls = options.getVideoUrls?.(media.gettyToken) || {
395
+ const videoUrls = options.getVideoUrls?.(media.gettyToken) ||
396
+ options.getS3VideoUrls?.(media.gettyToken) || {
396
397
  videoUrl: undefined,
397
398
  previewImageUrl: undefined,
398
399
  };
@@ -886,6 +886,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
886
886
  return getBrandPageViewModelFromBrandPageModel(themedBrandPage, this.brandPageToken, undefined, {
887
887
  useOldLogoRenderSize: false,
888
888
  getVideoUrls: videoStore.getVideoUrlsForToken,
889
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
889
890
  });
890
891
  }
891
892
  const showBrandCrowdLogo = userStore.features.showBrandCrowdLogo;
@@ -897,11 +898,13 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
897
898
  return getBrandPageViewModelFromBrandPageModel(model, this.brandPageToken, showBrandCrowdLogo, {
898
899
  useOldLogoRenderSize: false,
899
900
  getVideoUrls: videoStore.getVideoUrlsForToken,
901
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
900
902
  });
901
903
  }
902
904
  return getBrandPageViewModelFromBrandPageModel(this.brandPageData, this.brandPageToken, showBrandCrowdLogo, {
903
905
  useOldLogoRenderSize: false,
904
906
  getVideoUrls: videoStore.getVideoUrlsForToken,
907
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
905
908
  });
906
909
  },
907
910
  isInteractivePreviewEnabled() {
package/lib/src/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-PKvFyEuH.js";
1
+ import { bD as E, ar as T, aU as I, a5 as s, aj as N, ai as S, af as A, bt as e, bK as O, cb as G, ca as C, c9 as D, c3 as P, b2 as t, b1 as R, bP as L, bQ as M, bX as o, bM as b, bO as r, bN as F, bR as n, bS as B, c2 as i, c0 as l, aq as g, c1 as Y, a8 as U, aZ as c, a$ as d, a_ as u, e as H, f as y, B as p, $ as K, d as V, a0 as k, j as X, an as m, Z as v, bs as h, bL as W, ay as x, aW as f, aS as z, b_ as Z, bZ as w, C as Q, b5 as j, D as q, b as J, a as $, bV as aa, b4 as _a, aX as Ea, aT as Ta, c7 as Ia, c8 as sa, bY as Na, bH as Sa, ad as Aa, b$ as ea, c4 as Oa, ba as Ga, aK as Ca, bg as Da, F as Pa, a7 as ta, a6 as Ra, h as La, a1 as Ma, b7 as oa, aV as ba, aR as ra, a3 as Fa, ak as na, l as Ba, K as ia, H as la, a9 as ga, bE as Ya, bb as Ua, bc as ca, bC as da, bi as ua, bk as Ha, b6 as ya, L as pa, aJ as Ka, bp as Va, aP as ka, bo as Xa, as as ma, ab as va, bW as ha, c5 as Wa, c6 as xa, aY as fa, N as za, aB as Za, aA as wa, aC as Qa, aw as ja, ax as qa, az as Ja, be as $a, bl as a_, b8 as __, o as E_, al as T_, am as I_, ag as s_, ah as N_, ae as S_, a4 as A_, m as e_, bq as O_, ap as G_, bI as C_, bJ as D_, bU as P_, ac as t_, bG as R_, br as L_, n as M_, S as o_, P as b_, aI as r_, bF as F_, bf as n_, bx as B_, bw as i_, bz as l_, bu as g_, bA as Y_, bB as U_, bv as c_, by as d_, aD as u_, aE as H_, bn as y_, bm as p_, aG as K_, aH as V_, aM as k_, b0 as X_, aL as m_, aN as v_, U as h_, aa as W_, aQ as x_, k as f_, bd as z_, ao as Z_, b9 as w_, bh as Q_, bj as j_, b3 as q_, Q as J_, a2 as $_, g as aE, bT as _E, r as EE, u as TE, M as IE, Y as sE, aF as NE, aO as SE, au as AE, p as eE, W as OE, t as GE, w as CE, at as DE, i as PE, av as tE, c as RE, q as LE, v as ME, V as oE, O as bE, s as rE, X as FE, A as nE, x as BE, y as iE, T as lE, E as gE, R as YE, G as UE, J as cE, z as dE, I as uE } from "./lib-TeVw0Nkm.js";
2
2
  import { createPinia as yE, setActivePinia as pE } from "pinia";
3
3
  export {
4
4
  E as ABOUT_SECTION_SETTINGS_CONFIG,
@@ -29979,8 +29979,8 @@ const bu = /* @__PURE__ */ W6(yp1), WV = (e) => {
29979
29979
  t
29980
29980
  );
29981
29981
  }, Ap1 = (e, t) => {
29982
- var i, s;
29983
- const n = ((i = t.getVideoUrls) == null ? void 0 : i.call(t, e.gettyToken)) || {
29982
+ var i, s, o;
29983
+ const n = ((i = t.getVideoUrls) == null ? void 0 : i.call(t, e.gettyToken)) || ((s = t.getS3VideoUrls) == null ? void 0 : s.call(t, e.gettyToken)) || {
29984
29984
  videoUrl: void 0,
29985
29985
  previewImageUrl: void 0
29986
29986
  };
@@ -29992,7 +29992,7 @@ const bu = /* @__PURE__ */ W6(yp1), WV = (e) => {
29992
29992
  videoUrl: n.videoUrl,
29993
29993
  previewImageUrl: n.previewImageUrl,
29994
29994
  settings: {
29995
- autoPlay: ((s = e.settings) == null ? void 0 : s.autoPlay) || !1
29995
+ autoPlay: ((o = e.settings) == null ? void 0 : o.autoPlay) || !1
29996
29996
  }
29997
29997
  };
29998
29998
  }, Pp1 = ({
@@ -57716,10 +57716,10 @@ const en = /* @__PURE__ */ W6(Vk1), Lk1 = (e, t, n) => {
57716
57716
  Lt(() => n.context.isDesignCom, async () => {
57717
57717
  const S = L8().toLowerCase(), k = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
57718
57718
  try {
57719
- const { default: _ } = await B_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-BuGOj71G.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CVSkaMxC.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-DlfbNBWw.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-BuI6e7ik.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-BuI6e7ik.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-BPvxprsf.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-BPvxprsf.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-B9Tsy7Dx.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BMgsU2pF.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-BRZYjwIk.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-C39EI5YO.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CdNrVQxX.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DRqiwPaw.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-xShtuI73.js") }), `./watermark/CreatedOn${k}-${S}.vue`, 3);
57719
+ const { default: _ } = await B_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-fRjHDupM.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-Yjrim3zZ.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-DKI2MQff.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Dowqy5jC.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Dowqy5jC.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-Dz1N_nEi.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-Dz1N_nEi.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BbvPcH4u.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DiuM3BXy.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-CTM2fDaL.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-DP1uJ7fe.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-BggYBUVQ.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DkEeGeDF.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-DK1ssNLK.js") }), `./watermark/CreatedOn${k}-${S}.vue`, 3);
57720
57720
  i.value = _;
57721
57721
  } catch {
57722
- const { default: L } = await B_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-CVSkaMxC.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BMgsU2pF.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
57722
+ const { default: L } = await B_(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-Yjrim3zZ.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DiuM3BXy.js") }), `./watermark/CreatedOn${k}-en-us.vue`, 3);
57723
57723
  i.value = L;
57724
57724
  }
57725
57725
  }, {
@@ -71079,7 +71079,8 @@ const iM = /* @__PURE__ */ W6(TN1), sM = Object.freeze({
71079
71079
  void 0,
71080
71080
  {
71081
71081
  useOldLogoRenderSize: !1,
71082
- getVideoUrls: n.getVideoUrlsForToken
71082
+ getVideoUrls: n.getVideoUrlsForToken,
71083
+ getS3VideoUrls: n.getS3VideoUrlsForToken
71083
71084
  }
71084
71085
  );
71085
71086
  }
@@ -71097,7 +71098,8 @@ const iM = /* @__PURE__ */ W6(TN1), sM = Object.freeze({
71097
71098
  i,
71098
71099
  {
71099
71100
  useOldLogoRenderSize: !1,
71100
- getVideoUrls: n.getVideoUrlsForToken
71101
+ getVideoUrls: n.getVideoUrlsForToken,
71102
+ getS3VideoUrls: n.getS3VideoUrlsForToken
71101
71103
  }
71102
71104
  );
71103
71105
  }
@@ -71107,7 +71109,8 @@ const iM = /* @__PURE__ */ W6(TN1), sM = Object.freeze({
71107
71109
  i,
71108
71110
  {
71109
71111
  useOldLogoRenderSize: !1,
71110
- getVideoUrls: n.getVideoUrlsForToken
71112
+ getVideoUrls: n.getVideoUrlsForToken,
71113
+ getS3VideoUrls: n.getS3VideoUrlsForToken
71111
71114
  }
71112
71115
  );
71113
71116
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.15.14-gettyfinal-1",
4
+ "version": "5.15.14-gettyfinal-3",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -668,10 +668,11 @@ const mapGettyVideoToGettyVideoViewModel = (
668
668
  media: GettyVideoMedia,
669
669
  options: ViewModelMappingOptions,
670
670
  ): GettyVideoViewModel => {
671
- const videoUrls = options.getVideoUrls?.(media.gettyToken) || {
672
- videoUrl: undefined,
673
- previewImageUrl: undefined,
674
- };
671
+ const videoUrls = options.getVideoUrls?.(media.gettyToken) ||
672
+ options.getS3VideoUrls?.(media.gettyToken) || {
673
+ videoUrl: undefined,
674
+ previewImageUrl: undefined,
675
+ };
675
676
 
676
677
  return {
677
678
  type: 'getty-video',
@@ -1259,6 +1260,10 @@ interface ViewModelMappingOptions {
1259
1260
  videoUrl: string;
1260
1261
  previewImageUrl: string;
1261
1262
  };
1263
+ getS3VideoUrls?: (token: string) => {
1264
+ videoUrl: string;
1265
+ previewImageUrl: string;
1266
+ };
1262
1267
  }
1263
1268
 
1264
1269
  export const getBrandPageViewModelFromBrandPageModel = (
@@ -1371,6 +1371,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
1371
1371
  {
1372
1372
  useOldLogoRenderSize: false,
1373
1373
  getVideoUrls: videoStore.getVideoUrlsForToken,
1374
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
1374
1375
  },
1375
1376
  );
1376
1377
  }
@@ -1396,6 +1397,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
1396
1397
  {
1397
1398
  useOldLogoRenderSize: false,
1398
1399
  getVideoUrls: videoStore.getVideoUrlsForToken,
1400
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
1399
1401
  },
1400
1402
  );
1401
1403
  }
@@ -1407,6 +1409,7 @@ export const useBrandPageMakerStore = defineStore('brandPageMaker', {
1407
1409
  {
1408
1410
  useOldLogoRenderSize: false,
1409
1411
  getVideoUrls: videoStore.getVideoUrlsForToken,
1412
+ getS3VideoUrls: videoStore.getS3VideoUrlsForToken,
1410
1413
  },
1411
1414
  );
1412
1415
  },