@schibsted/advertory 3.17.3 → 3.18.0
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.
- package/ad-native/cjs/index.d.ts +6 -1
- package/ad-native/cjs/index.js +1 -1
- package/ad-native/es/index.d.ts +6 -1
- package/ad-native/es/index.js +1 -1
- package/aftenposten/cjs/index.d.ts +25 -4
- package/aftenposten/cjs/index.js +1 -1
- package/aftenposten/es/_auto-entry_aftenposten-DNQJWDRJ.js +1 -0
- package/aftenposten/es/{events-BakZyPiF.js → events-CrUg0OPQ.js} +1 -1
- package/aftenposten/es/{index-DP0BbbWJ.js → index-B88se93R.js} +1 -1
- package/aftenposten/es/{index-B0weyrUI.js → index-B8H4adn8.js} +1 -1
- package/aftenposten/es/{index-DmAryKai.js → index-Baw9qoIS.js} +1 -1
- package/aftenposten/es/{index-DE2eFbE4.js → index-CRmEgEA-.js} +1 -1
- package/aftenposten/es/{index-Y61-K0-j.js → index-CukHpBrP.js} +1 -1
- package/aftenposten/es/{index-Ci5Fq3pY.js → index-D32eGxZe.js} +1 -1
- package/aftenposten/es/{index-PdNwftJA.js → index-DkODCj7Y.js} +1 -1
- package/aftenposten/es/{index-BqtiIE9j.js → index-oxCgGc0x.js} +1 -1
- package/aftenposten/es/index.d.ts +25 -4
- package/aftenposten/es/index.js +1 -1
- package/aftenposten/es/{styles-DXaafc97.js → styles-B4tTww6V.js} +1 -1
- package/aftenposten/es/{styles-DbkR_81Z.js → styles-C2cUV2b9.js} +1 -1
- package/aftenposten/es/{styles-BP8RnxXT.js → styles-CnQw6LZA.js} +1 -1
- package/aftenposten/es/{styles-DCGX00AR.js → styles-D5ApGFNI.js} +1 -1
- package/aftenposten/es/{styles-BMgTMPVA.js → styles-DHu1uaqZ.js} +1 -1
- package/aftenposten/es/{styles-Dc-23vIm.js → styles-DOKeZ3h-.js} +1 -1
- package/aftenposten/es/{styles-fSCaFYq3.js → styles-DU53ed9M.js} +1 -1
- package/aftenposten/es/{styles-Cnb69FPt.js → styles-D_6_RmQo.js} +1 -1
- package/aftenposten/es/{styles-B3DQSVEX.js → styles-De8j1a-R.js} +1 -1
- package/aftenposten/es/{styles-w7N9sIkQ.js → styles-oO_QUZ2K.js} +1 -1
- package/aftenposten/es/{styles-pDM1TuiG.js → styles-te1Pc83x.js} +1 -1
- package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BtdjJBRi.js +1 -0
- package/aftenpostenv2/es/{events-vFxFcBFY.js → events-BrKUU6S-.js} +1 -1
- package/aftenpostenv2/es/{index-CE3zyO-s.js → index-B3eSx0AF.js} +1 -1
- package/aftenpostenv2/es/{index-BNsm3sza.js → index-Bva5GG_A.js} +1 -1
- package/aftenpostenv2/es/{index-bu82MskF.js → index-DLyPNdxl.js} +1 -1
- package/{aftonbladetv2/es/index-BVirA6E3.js → aftenpostenv2/es/index-DSAe15TH.js} +1 -1
- package/aftenpostenv2/es/{index-BzIPIQlR.js → index-DYl7sSG_.js} +1 -1
- package/aftenpostenv2/es/{index-C6o6H3rD.js → index-Do7nyVpB.js} +1 -1
- package/aftenpostenv2/es/{index-DPqkphHW.js → index-dOfoy9xz.js} +1 -1
- package/aftenpostenv2/es/{index-BORfNCfl.js → index-ynKvMWyD.js} +1 -1
- package/aftenpostenv2/es/index.d.ts +25 -4
- package/aftenpostenv2/es/index.js +1 -1
- package/aftenpostenv2/es/{styles-CrKxUXak.js → styles-44Ytvc9u.js} +1 -1
- package/aftenpostenv2/es/{styles-CfDUxRlT.js → styles-BJBUx_yM.js} +1 -1
- package/aftenpostenv2/es/{styles-D9mUlhzN.js → styles-Bdvoy-5V.js} +1 -1
- package/aftenpostenv2/es/{styles-DGYGS77o.js → styles-BukZbfMI.js} +1 -1
- package/aftenpostenv2/es/{styles-Dod5Pact.js → styles-CArxNqcE.js} +1 -1
- package/aftenpostenv2/es/{styles-CpTRDnEr.js → styles-CkIPdN9M.js} +1 -1
- package/aftenpostenv2/es/{styles-C3tA1qVG.js → styles-Cp2Dp8Rx.js} +1 -1
- package/aftenpostenv2/es/{styles-DSZABaqe.js → styles-DsNPVIp7.js} +1 -1
- package/aftenpostenv2/es/{styles-C9KcvIrm.js → styles-DyvLGuPw.js} +1 -1
- package/aftenpostenv2/es/{styles-Bo1Osfh2.js → styles-ZLshTJTG.js} +1 -1
- package/aftenpostenv2/es/{styles-Bv3fC79e.js → styles-jtekW9Qf.js} +1 -1
- package/aftonbladet/cjs/index.d.ts +25 -4
- package/aftonbladet/cjs/index.js +1 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-CznwHJ9L.js +1 -0
- package/aftonbladet/es/{events-CllJmzBm.js → events-DJJwehoG.js} +1 -1
- package/aftonbladet/es/{index-DxCSaps1.js → index-BMlpU8aw.js} +1 -1
- package/aftonbladet/es/{index-CQZ4fqal.js → index-BTr2EHBG.js} +1 -1
- package/aftonbladet/es/{index-CFu2vZ67.js → index-BfGlK5AK.js} +1 -1
- package/aftonbladet/es/{index-BMrgDbpw.js → index-C7WHdqMB.js} +1 -1
- package/aftonbladet/es/{index-CNg6LTKO.js → index-CcK3t2zJ.js} +1 -1
- package/aftonbladet/es/{index-BtWKibaA.js → index-DHQi_Gb5.js} +1 -1
- package/aftonbladet/es/{index-C1IqSowz.js → index-DX1V8TfP.js} +1 -1
- package/aftonbladet/es/{index-DSWRH1Jg.js → index-L7Igeo8s.js} +1 -1
- package/aftonbladet/es/index.d.ts +25 -4
- package/aftonbladet/es/index.js +1 -1
- package/aftonbladet/es/{styles-Ds_pdjCT.js → styles-B24gjaYN.js} +1 -1
- package/aftonbladet/es/{styles-DajJqIJ6.js → styles-B8-C3HbP.js} +1 -1
- package/aftonbladet/es/{styles-D9Tu4mQ5.js → styles-Bs-L9RIM.js} +1 -1
- package/aftonbladet/es/{styles-BaT7xTNZ.js → styles-BwQI8Har.js} +1 -1
- package/aftonbladet/es/{styles-CYGn0uwQ.js → styles-C2KNA6_Q.js} +1 -1
- package/aftonbladet/es/{styles-w-g-y6lI.js → styles-DpD1yUu5.js} +1 -1
- package/aftonbladet/es/{styles-DSuXLA-G.js → styles-Du4kYdG3.js} +1 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-Cuo_y3Oe.js +1 -0
- package/aftonbladetv2/es/{events-BTQYlE4z.js → events-pCNuOORU.js} +1 -1
- package/aftonbladetv2/es/{index-DB2zWF2S.js → index-BG9zfrXp.js} +1 -1
- package/{aftenpostenv2/es/index-6k3Y32Fw.js → aftonbladetv2/es/index-CG-_IAXO.js} +1 -1
- package/aftonbladetv2/es/{index-DLKbIJ-6.js → index-ChI1Xtav.js} +1 -1
- package/aftonbladetv2/es/{index-C5NPR1-m.js → index-DZF6xWvX.js} +1 -1
- package/aftonbladetv2/es/{index-BVz8_dGm.js → index-Df0qhN5Y.js} +1 -1
- package/aftonbladetv2/es/{index-CI4mHGgl.js → index-DmNGezFs.js} +1 -1
- package/aftonbladetv2/es/{index-DKIljxtC.js → index-FxbhCpIm.js} +1 -1
- package/aftonbladetv2/es/{index-DGryPq5p.js → index-nAn7C_ww.js} +1 -1
- package/aftonbladetv2/es/index.d.ts +25 -4
- package/aftonbladetv2/es/index.js +1 -1
- package/aftonbladetv2/es/{styles-BhGxCZKJ.js → styles-3aKR0OYZ.js} +1 -1
- package/aftonbladetv2/es/{styles-LIJqt1Fs.js → styles-BPm6_Tyf.js} +1 -1
- package/aftonbladetv2/es/{styles-DNvKyAG2.js → styles-Duqf6IZA.js} +1 -1
- package/aftonbladetv2/es/{styles-BHjBufYm.js → styles-DzMy_ylE.js} +1 -1
- package/aftonbladetv2/es/{styles-CtZYGlVa.js → styles-WUl2O9SJ.js} +1 -1
- package/aftonbladetv2/es/{styles-Dm48yxHj.js → styles-m7_3GfZS.js} +1 -1
- package/aftonbladetv2/es/{styles-BuDgf6Qh.js → styles-xrODYqc8.js} +1 -1
- package/brandmetrics/cjs/index.js +1 -1
- package/brandmetrics/es/index.js +1 -1
- package/bt/cjs/index.d.ts +25 -4
- package/bt/cjs/index.js +1 -1
- package/bt/es/_auto-entry_bt-CZB9FTXD.js +1 -0
- package/bt/es/{events-QdGrCsME.js → events-DE_uZlA1.js} +1 -1
- package/bt/es/{index-BNwzTf_4.js → index-B0a_Oa4i.js} +1 -1
- package/bt/es/{index-DE5oE3LU.js → index-CODK_zJ9.js} +1 -1
- package/bt/es/{index-CbsaLJJs.js → index-CSofW9eD.js} +1 -1
- package/bt/es/{index-CWyqinTF.js → index-Cd2KH2u-.js} +1 -1
- package/bt/es/{index-BPq3-G1u.js → index-Dr3GcIfK.js} +1 -1
- package/{sa/es/index-sAZnIVZD.js → bt/es/index-Du1q8PZU.js} +1 -1
- package/bt/es/{index-B4s9DYHb.js → index-PV9x_biL.js} +1 -1
- package/{sa/es/index-d0MDNCl0.js → bt/es/index-vemxQymc.js} +1 -1
- package/bt/es/index.d.ts +25 -4
- package/bt/es/index.js +1 -1
- package/bt/es/{styles-DUX9_U_G.js → styles-BM5_s_r7.js} +1 -1
- package/bt/es/{styles-C-HKDal6.js → styles-B_fc-kdO.js} +1 -1
- package/{vg/es/styles-DO48QaHN.js → bt/es/styles-BmrHJiYo.js} +1 -1
- package/bt/es/{styles-CGeziON4.js → styles-BscvjspQ.js} +1 -1
- package/bt/es/{styles-DpUy4TjI.js → styles-Bta58nId.js} +1 -1
- package/bt/es/{styles-K_Cy-GX8.js → styles-BvkvfBxv.js} +1 -1
- package/{sa/es/styles-BGNGJdjv.js → bt/es/styles-C9A3YE-k.js} +1 -1
- package/bt/es/{styles-Dz_mjOky.js → styles-CSxhZElM.js} +1 -1
- package/bt/es/{styles-B_CfTWpC.js → styles-D4NwmlBA.js} +1 -1
- package/bt/es/{styles-D0rpulrE.js → styles-imkAc2uq.js} +1 -1
- package/btv2/es/_auto-entry_btv2-jyP99ykN.js +1 -0
- package/{sav2/es/events--V9H3X-z.js → btv2/es/events-BqMvV7di.js} +1 -1
- package/btv2/es/{index-_1WEzNOh.js → index-B5UitQXo.js} +1 -1
- package/btv2/es/{index-DQCYe43A.js → index-C9BTFt3G.js} +1 -1
- package/btv2/es/{index-4ysd4A7K.js → index-CBJLiIfz.js} +1 -1
- package/btv2/es/{index-wU5-fkkY.js → index-CMZC7H8g.js} +1 -1
- package/{sav2/es/index-D4Hxkads.js → btv2/es/index-CNOhmWcU.js} +1 -1
- package/btv2/es/{index-p-Wu9qmN.js → index-DV0c6Xrq.js} +1 -1
- package/{omni/es/index-C3Q814r2.js → btv2/es/index-DpxleBMV.js} +1 -1
- package/btv2/es/{index-CYUq8h41.js → index-DxvAY5Lc.js} +1 -1
- package/btv2/es/index.d.ts +25 -4
- package/btv2/es/index.js +1 -1
- package/btv2/es/{styles-Bc9_7msJ.js → styles-B2feTcg_.js} +1 -1
- package/btv2/es/{styles-DAHadlhX.js → styles-BInms_h5.js} +1 -1
- package/btv2/es/{styles-B8bkA3_5.js → styles-BSPiAJfQ.js} +1 -1
- package/btv2/es/{styles-BwgZ6h4w.js → styles-CVY_OoAs.js} +1 -1
- package/{sav2/es/styles-WFP5Fozc.js → btv2/es/styles-CaJ8VnX_.js} +1 -1
- package/{sav2/es/styles-jXzGh7gC.js → btv2/es/styles-CkiWn-pK.js} +1 -1
- package/{sav2/es/styles-CpXnuTL4.js → btv2/es/styles-DTzc8iL0.js} +1 -1
- package/{vgv2/es/styles-DtKJ-J7F.js → btv2/es/styles-UQhKSng8.js} +1 -1
- package/btv2/es/{styles-DyFP9zsK.js → styles-x4cDdw2y.js} +1 -1
- package/common/cjs/index.js +1 -1
- package/common/es/index.js +1 -1
- package/e24/es/_auto-entry_e24-o2zJnnp7.js +1 -0
- package/e24/es/{events-CtniS6m3.js → events-DF8f8UTH.js} +1 -1
- package/e24/es/{index-CfS9YWLe.js → index-BQJbsM6e.js} +1 -1
- package/e24/es/{index-Ci-qNYB_.js → index-BeeAlBuD.js} +1 -1
- package/e24/es/{index-BM2r1wLq.js → index-BsmbZsXV.js} +1 -1
- package/e24/es/{index-DKfGdWTL.js → index-CP6Im7lE.js} +1 -1
- package/e24/es/{index-4Zm0Grmh.js → index-CYHnZe0J.js} +1 -1
- package/e24/es/{index-BHxQeiJc.js → index-Cmwd1gSI.js} +1 -1
- package/e24/es/{index-CIlYOp5N.js → index-Woi0QIyP.js} +1 -1
- package/e24/es/{index-C4omnW1M.js → index-v06i8ZMq.js} +1 -1
- package/e24/es/index.d.ts +25 -4
- package/e24/es/index.js +1 -1
- package/{tv4/es/styles-BAxYdJA1.js → e24/es/styles-BQnfcenF.js} +1 -1
- package/e24/es/{styles-DcGRyDQP.js → styles-Bfd45Pjf.js} +1 -1
- package/e24/es/{styles-DzEznh_S.js → styles-BhEr5ezW.js} +1 -1
- package/e24/es/{styles-DmMYkAFs.js → styles-Bz0tFWFB.js} +1 -1
- package/e24/es/{styles-D7w8P_5v.js → styles-C4GttOVW.js} +1 -1
- package/e24/es/{styles-CezDMrIZ.js → styles-CElrg8qK.js} +1 -1
- package/e24/es/{styles-BHKszP6X.js → styles-Cmrihndl.js} +1 -1
- package/e24/es/{styles-CzB5N6Nl.js → styles-D3LLw4RS.js} +1 -1
- package/e24/es/{styles-DnRAFVxv.js → styles-D3vWLz7X.js} +1 -1
- package/e24/es/{styles-SNZbYMgv.js → styles-DjdLwJ-N.js} +1 -1
- package/e24/es/{styles-C-oO0oDe.js → styles-SI2Tr_RP.js} +1 -1
- package/e24/es/{styles-CYk14rdS.js → styles-jZ8udc-A.js} +1 -1
- package/editory/cjs/index.d.ts +6 -1
- package/editory/es/index.d.ts +6 -1
- package/fotbollskanalen/cjs/index.d.ts +25 -4
- package/fotbollskanalen/cjs/index.js +1 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-BoGkrwkH.js +1 -0
- package/fotbollskanalen/es/{events-BJ6mPaCc.js → events-XgL2a9Ad.js} +1 -1
- package/fotbollskanalen/es/{index-Cg7_oqDR.js → index-B4s9_MRH.js} +1 -1
- package/fotbollskanalen/es/{index-YD7CRD4F.js → index-Bb-DsC59.js} +1 -1
- package/fotbollskanalen/es/{index-CcCWGFRI.js → index-CABM14sH.js} +1 -1
- package/fotbollskanalen/es/{index-BMDVF1u1.js → index-CxQRsQ7s.js} +1 -1
- package/fotbollskanalen/es/{index-K_6o99m1.js → index-D3_ErBOr.js} +1 -1
- package/fotbollskanalen/es/{index-hYl9FgdN.js → index-D3vJg6of.js} +1 -1
- package/fotbollskanalen/es/{index-DCPogE5b.js → index-D5gs6mRS.js} +1 -1
- package/fotbollskanalen/es/{index-8KLTEqRi.js → index-uHEsJIAw.js} +1 -1
- package/fotbollskanalen/es/index.d.ts +25 -4
- package/fotbollskanalen/es/index.js +1 -1
- package/fotbollskanalen/es/{styles-D3eqs7xM.js → styles-5gUPsWW9.js} +1 -1
- package/fotbollskanalen/es/{styles-Cze8UsvM.js → styles-Be0tghxV.js} +1 -1
- package/fotbollskanalen/es/{styles-BDfacPqd.js → styles-Bvv8u7Ja.js} +1 -1
- package/fotbollskanalen/es/{styles-BsW1z6U1.js → styles-CoTOpYRX.js} +1 -1
- package/fotbollskanalen/es/{styles-2f9vh7tO.js → styles-hLRHR3gJ.js} +1 -1
- package/glimr/cjs/index.js +1 -1
- package/glimr/es/index.js +1 -1
- package/godt/cjs/index.d.ts +25 -4
- package/godt/cjs/index.js +1 -1
- package/kilkaya/cjs/index.d.ts +6 -1
- package/kilkaya/cjs/index.js +1 -1
- package/kilkaya/es/index.d.ts +6 -1
- package/kilkaya/es/index.js +1 -1
- package/klart/cjs/index.d.ts +25 -4
- package/klart/cjs/index.js +1 -1
- package/koket/cjs/index.d.ts +25 -4
- package/koket/cjs/index.js +1 -1
- package/koket/es/_auto-entry_koket-BITL2_K1.js +1 -0
- package/koket/es/{events-CJgWZC6E.js → events-CJe7o002.js} +1 -1
- package/koket/es/{index-CZ7fRUR1.js → index-Bj4wpTgt.js} +1 -1
- package/koket/es/{index-FpW7qdqo.js → index-CSA4jvBm.js} +1 -1
- package/koket/es/{index-Bc3NO9Mw.js → index-D2ikK49F.js} +1 -1
- package/koket/es/{index-DOXR-6vM.js → index-D76GM_Dq.js} +1 -1
- package/koket/es/{index-C2olyB1x.js → index-DUMFbWv2.js} +1 -1
- package/koket/es/{index-I63ib7qd.js → index-D_t1L0Jw.js} +1 -1
- package/koket/es/{index-B4K9iUVT.js → index-DnTZqSNs.js} +1 -1
- package/koket/es/{index-BO7-UQcf.js → index-Dxz_IhQv.js} +1 -1
- package/koket/es/index.d.ts +25 -4
- package/koket/es/index.js +1 -1
- package/koket/es/{styles-BwESZmQi.js → styles-B5AKPQcZ.js} +1 -1
- package/{svdv2/es/styles-CzsWVNYE.js → koket/es/styles-CvVaiJbk.js} +1 -1
- package/koket/es/{styles-BBI31SR8.js → styles-D7VFY5X2.js} +1 -1
- package/{svdv2/es/styles-CGWD917e.js → koket/es/styles-If56BndQ.js} +1 -1
- package/koket/es/{styles-BRxC9raX.js → styles-_ywNTArC.js} +1 -1
- package/minmote/cjs/index.d.ts +25 -4
- package/minmote/cjs/index.js +1 -1
- package/mtv/es/_auto-entry_mtv-D53dvC1i.js +1 -0
- package/mtv/es/{index--OizxMLO.js → index-BZztN2dU.js} +1 -1
- package/mtv/es/index-DIuXGid2.js +1 -0
- package/mtv/es/index-DT8GWwa8.js +1 -0
- package/mtv/es/{index-B3fi7Kjz.js → index-TbvSGRB5.js} +1 -1
- package/mtv/es/index.d.ts +27 -6
- package/mtv/es/index.js +1 -1
- package/{svd/es/styles-Ili64SUo.js → mtv/es/styles-BpMDR0GA.js} +1 -1
- package/omni/es/_auto-entry_omni-BVChM78_.js +1 -0
- package/omni/es/{events-D8oXnK9A.js → events-Dcpm5emQ.js} +1 -1
- package/omni/es/{index-74zEx__y.js → index-B5L9LdZe.js} +1 -1
- package/omni/es/{index-oYzDmTix.js → index-ChmcSFS1.js} +1 -1
- package/omni/es/{index-wkJKThPL.js → index-D8Du6qKy.js} +1 -1
- package/omni/es/{index-CQHXVyOc.js → index-DEd1G3aM.js} +1 -1
- package/omni/es/{index-B1CsqT1v.js → index-DS_3fMAL.js} +1 -1
- package/omni/es/{index-Do_Anxwk.js → index-DUL7FQvO.js} +1 -1
- package/{btv2/es/index-BxQ9QWgL.js → omni/es/index-DoPgNVgH.js} +1 -1
- package/omni/es/{index-DoI3bFIC.js → index-fF0V2I_V.js} +1 -1
- package/omni/es/index.d.ts +25 -4
- package/omni/es/index.js +1 -1
- package/omni/es/{styles-Dh_pACB9.js → styles-BdEe5Ynl.js} +1 -1
- package/omni/es/{styles-DmYIWMWw.js → styles-CW92yIpD.js} +1 -1
- package/omni/es/{styles-QXlcLvKz.js → styles-kHuAMSyr.js} +1 -1
- package/package.json +1 -1
- package/pent/cjs/index.d.ts +25 -4
- package/pent/cjs/index.js +1 -1
- package/pulse/cjs/index.d.ts +8 -3
- package/pulse/cjs/index.js +1 -1
- package/pulse/es/index.d.ts +8 -3
- package/pulse/es/index.js +1 -1
- package/sa/cjs/index.d.ts +25 -4
- package/sa/cjs/index.js +1 -1
- package/sa/es/_auto-entry_sa-J8OfTxac.js +1 -0
- package/sa/es/{events-DJlxmoyQ.js → events-C3BMo9Uo.js} +1 -1
- package/sa/es/{index-BBpzoo6q.js → index-CawIeUqK.js} +1 -1
- package/sa/es/{index-BQQH0v-V.js → index-Cto0_xo8.js} +1 -1
- package/sa/es/{index-DdxQE4LO.js → index-CuD4xNFU.js} +1 -1
- package/sa/es/{index-D-jh7EcB.js → index-Cx1T5nb9.js} +1 -1
- package/{bt/es/index-BEn9Oc7O.js → sa/es/index-DFBOTrjK.js} +1 -1
- package/sa/es/{index-CrWFSHI0.js → index-Du-rhVYT.js} +1 -1
- package/{bt/es/index-5orz6iDE.js → sa/es/index-DxUp0ZXa.js} +1 -1
- package/sa/es/{index-CwXblevG.js → index-fKdGZ7GD.js} +1 -1
- package/sa/es/index.d.ts +25 -4
- package/sa/es/index.js +1 -1
- package/sa/es/{styles-BqoJN48z.js → styles-B3bE3oeO.js} +1 -1
- package/sa/es/{styles-COBYxap6.js → styles-BMtPMhSP.js} +1 -1
- package/sa/es/{styles-BbYBBoEu.js → styles-BvRBg64g.js} +1 -1
- package/sa/es/{styles-CsqrQMUa.js → styles-CL6zmM-h.js} +1 -1
- package/{vg/es/styles-CA2O0zNt.js → sa/es/styles-CcFDd5SA.js} +1 -1
- package/{vg/es/styles-BvJq1DbU.js → sa/es/styles-CiDiUkgA.js} +1 -1
- package/sa/es/{styles-dtFf-QzC.js → styles-DjWc-g-U.js} +1 -1
- package/sa/es/{styles-CxMgRiB0.js → styles-DnI_syRT.js} +1 -1
- package/sa/es/{styles-CZbGc4JN.js → styles-G5IDTsth.js} +1 -1
- package/sa/es/{styles-CR2l0VPi.js → styles-KY5KJOnA.js} +1 -1
- package/sav2/es/_auto-entry_sav2-nmDgZMyM.js +1 -0
- package/{tvnu/es/events-CYIyY_O8.js → sav2/es/events-BM5FbEtd.js} +1 -1
- package/sav2/es/{index-DS2guFzB.js → index-BMjVrYV7.js} +1 -1
- package/sav2/es/{index-DVdqEzgu.js → index-BgbkIwOq.js} +1 -1
- package/{tvnu/es/index-D53Lfqpz.js → sav2/es/index-C5WrRc-b.js} +1 -1
- package/sav2/es/{index-BBAAh5bR.js → index-CFCEtWva.js} +1 -1
- package/sav2/es/{index-DU69N01e.js → index-CXNd1xW1.js} +1 -1
- package/sav2/es/{index-BHVPw0uA.js → index-CqZ5h5be.js} +1 -1
- package/sav2/es/{index-Cfn4EpE3.js → index-CwfU7lhW.js} +1 -1
- package/{tvnu/es/index-n2OqZE3x.js → sav2/es/index-Heoe_AIr.js} +1 -1
- package/sav2/es/index.d.ts +25 -4
- package/sav2/es/index.js +1 -1
- package/{btv2/es/styles-DucQJHxT.js → sav2/es/styles-9CZX0c_O.js} +1 -1
- package/sav2/es/{styles-C4-rOm8X.js → styles-B4ork19U.js} +1 -1
- package/sav2/es/{styles-CEF-0mza.js → styles-BKirbOEP.js} +1 -1
- package/{vgv2/es/styles-BZNQ1vE8.js → sav2/es/styles-C30jV7ky.js} +1 -1
- package/{vgv2/es/styles-BZDzqgQY.js → sav2/es/styles-CK4Np9Dz.js} +1 -1
- package/sav2/es/{styles-F7jUJjJn.js → styles-CjU4l-SU.js} +1 -1
- package/sav2/es/{styles-CFf2Ku9c.js → styles-DmiRDUDx.js} +1 -1
- package/{btv2/es/styles-D8oEO915.js → sav2/es/styles-Jp_tDrzp.js} +1 -1
- package/sav2/es/{styles-ZhK4-day.js → styles-eYX3EHRu.js} +1 -1
- package/svd/cjs/index.d.ts +25 -4
- package/svd/cjs/index.js +1 -1
- package/svd/es/_auto-entry_svd-BOBXC1NB.js +1 -0
- package/svd/es/{events-CXoatmpv.js → events-C1VnSaGH.js} +1 -1
- package/svd/es/{index-BMn-d7Z_.js → index-B0d8xAfM.js} +1 -1
- package/svd/es/{index-BXR4R0DG.js → index-B3Ok5Zxi.js} +1 -1
- package/svd/es/{index-ntuGyR2_.js → index-C0zYrhS8.js} +1 -1
- package/{tv4/es/index-BONgzmFt.js → svd/es/index-CB5fxcjW.js} +1 -1
- package/svd/es/{index-EJwoMYuf.js → index-CPMzs4OC.js} +1 -1
- package/svd/es/{index-UhMbVarR.js → index-CbwiRx-g.js} +1 -1
- package/svd/es/{index-KSUkz5Ec.js → index-DkAKiA6e.js} +1 -1
- package/svd/es/{index-DonfcwIE.js → index-t-VmRR6x.js} +1 -1
- package/svd/es/index.d.ts +25 -4
- package/svd/es/index.js +1 -1
- package/svd/es/{styles-BsUvk2WV.js → styles-4soJ7u-x.js} +1 -1
- package/{mtv/es/styles-Cfow3icP.js → svd/es/styles-B62zkTco.js} +1 -1
- package/svd/es/{styles-2098DKtE.js → styles-B6yIVgo2.js} +1 -1
- package/svd/es/{styles-CzzKpKOY.js → styles-C3IWf8aj.js} +1 -1
- package/svd/es/{styles-xB_mBaye.js → styles-CYqkTmPz.js} +1 -1
- package/svd/es/{styles-B6N0NAK1.js → styles-CtcLRY0n.js} +1 -1
- package/svd/es/{styles-BHFhjoVx.js → styles-Dul2qFeg.js} +1 -1
- package/svdv2/es/_auto-entry_svdv2-C-1qQWmF.js +1 -0
- package/svdv2/es/{events-rieoT5HD.js → events-Dd2yn2PL.js} +1 -1
- package/svdv2/es/{index-BSzaY9HS.js → index-B1Msxa1O.js} +1 -1
- package/svdv2/es/{index-j0sWy6XQ.js → index-C_Hy2D6G.js} +1 -1
- package/svdv2/es/{index-B7VeIIa1.js → index-CgvIVueE.js} +1 -1
- package/svdv2/es/{index-DB2h1Swy.js → index-Cm2XNnkR.js} +1 -1
- package/svdv2/es/{index-B82Dt7Y9.js → index-D7ABApW9.js} +1 -1
- package/svdv2/es/{index-DU1mD5yI.js → index-DjDdQPHz.js} +1 -1
- package/svdv2/es/{index-C6jaff-U.js → index-ZVx6osQq.js} +1 -1
- package/svdv2/es/{index-SZHJspYo.js → index-vayJTGli.js} +1 -1
- package/svdv2/es/index.d.ts +25 -4
- package/svdv2/es/index.js +1 -1
- package/svdv2/es/{styles-BPhm6VCm.js → styles-B0JQvBQt.js} +1 -1
- package/svdv2/es/{styles-CaHsrPmd.js → styles-BGCZCbcv.js} +1 -1
- package/svdv2/es/{styles-c1jdK7Es.js → styles-Bz8f24X2.js} +1 -1
- package/svdv2/es/{styles-DR0vrRzH.js → styles-CEborJgX.js} +1 -1
- package/svdv2/es/{styles-BPY37MKL.js → styles-CqjB4SkE.js} +1 -1
- package/{koket/es/styles-CH1-lHKr.js → svdv2/es/styles-DQ_w0XU-.js} +1 -1
- package/{koket/es/styles-Dnaf1zGg.js → svdv2/es/styles-XF3Es5pU.js} +1 -1
- package/svdv2/es/{styles-CPISTY9o.js → styles-Xcws2oR2.js} +1 -1
- package/tek/cjs/index.d.ts +25 -4
- package/tek/cjs/index.js +1 -1
- package/tv4/cjs/index.d.ts +25 -4
- package/tv4/cjs/index.js +1 -1
- package/tv4/es/_auto-entry_tv4-DrT58fo2.js +1 -0
- package/{mtv/es/events-GqbgSzdx.js → tv4/es/events-CA_qpiiH.js} +1 -1
- package/tv4/es/{index-kMw82AyQ.js → index-1faQFOdm.js} +1 -1
- package/tv4/es/{index-BPFUDpOI.js → index-B4Kh7kpG.js} +1 -1
- package/{svd/es/index-BfA2xLfw.js → tv4/es/index-BM8z6Ixi.js} +1 -1
- package/tv4/es/{index-DsO94JLJ.js → index-BsfijWz0.js} +1 -1
- package/tv4/es/{index-DP-cpF3Z.js → index-CuR9OppE.js} +1 -1
- package/tv4/es/{index-But-X6-M.js → index-DGUaN9RI.js} +1 -1
- package/tv4/es/{index-Ba-gl0fE.js → index-DJfxqylY.js} +1 -1
- package/tv4/es/{index-CLlZ_nvb.js → index-iFXY2RDG.js} +1 -1
- package/tv4/es/index.d.ts +25 -4
- package/tv4/es/index.js +1 -1
- package/{e24/es/styles-U3ev4vZ7.js → tv4/es/styles-B-tvI5HI.js} +1 -1
- package/tv4/es/{styles-BOhTEsfH.js → styles-BjfL5pmp.js} +1 -1
- package/tv4/es/{styles-DyGJ5lUA.js → styles-CMOqiTdr.js} +1 -1
- package/tv4/es/{styles-CiQyajrm.js → styles-DYdmZGFU.js} +1 -1
- package/tv4/es/{styles-ClhVmvvn.js → styles-DwosxoLg.js} +1 -1
- package/tvnu/cjs/index.d.ts +25 -4
- package/tvnu/cjs/index.js +1 -1
- package/tvnu/es/_auto-entry_tvnu-BN6qNwOY.js +1 -0
- package/{btv2/es/events-D6P6hD23.js → tvnu/es/events-Dn2KJr0j.js} +1 -1
- package/tvnu/es/{index-CgR2vaLd.js → index-BTKg4emk.js} +1 -1
- package/tvnu/es/{index-DLpVVZf_.js → index-BjEOq_zN.js} +1 -1
- package/tvnu/es/{index-Ca_3Ni0n.js → index-C-17pOoR.js} +1 -1
- package/{btv2/es/index-bR4EjUyv.js → tvnu/es/index-C3LNZYqg.js} +1 -1
- package/tvnu/es/{index-DPea4ItP.js → index-CCfVOFWB.js} +1 -1
- package/tvnu/es/{index-pN42MHkO.js → index-CR8jWo2c.js} +1 -1
- package/{sav2/es/index-BgJctlWz.js → tvnu/es/index-DFmrpUUo.js} +1 -1
- package/tvnu/es/{index-DjWYwuQw.js → index-vd3IGMiX.js} +1 -1
- package/tvnu/es/index.d.ts +25 -4
- package/tvnu/es/index.js +1 -1
- package/{btv2/es/styles-CtL-yllF.js → tvnu/es/styles-D12Q2zLD.js} +1 -1
- package/tvnu/es/{styles-Blkyvqh4.js → styles-D3x4jf-j.js} +1 -1
- package/tvnu/es/{styles-BYv3c9cw.js → styles-DQHdlPhl.js} +1 -1
- package/tvnu/es/{styles-tV1z1GZ_.js → styles-DWXHDRlP.js} +1 -1
- package/types/index.d.ts +6 -1
- package/vg/cjs/index.d.ts +25 -4
- package/vg/cjs/index.js +1 -1
- package/vg/es/_auto-entry_vg-Trd8pvQs.js +1 -0
- package/vg/es/{events-BqQucSf6.js → events-BfqUtz1_.js} +1 -1
- package/vg/es/{index-DAAjvi1C.js → index-BJB7jY6x.js} +1 -1
- package/vg/es/{index-CsWAXOq-.js → index-CDqvLPgT.js} +1 -1
- package/vg/es/{index-bCzcmyfy.js → index-CTaICLSw.js} +1 -1
- package/vg/es/{index-C2UHtfj_.js → index-C_JV8JF_.js} +1 -1
- package/vg/es/{index-BcaL6jsh.js → index-CuWR3e5A.js} +1 -1
- package/vg/es/{index-DX5agaGX.js → index-DeQUkpYq.js} +1 -1
- package/vg/es/{index-DCWH5HnK.js → index-DkPggcF3.js} +1 -1
- package/vg/es/{index-BSPaei4i.js → index-x8PwNet6.js} +1 -1
- package/vg/es/index.d.ts +25 -4
- package/vg/es/index.js +1 -1
- package/vg/es/{styles-B0hflLDs.js → styles--yOXPdjG.js} +1 -1
- package/{bt/es/styles-Djjc7UzY.js → vg/es/styles-1n8j2EjV.js} +1 -1
- package/{sa/es/styles-CwbbNFdE.js → vg/es/styles-3vc-o84P.js} +1 -1
- package/vg/es/{styles-TZp4Js-a.js → styles-B-9EIsrQ.js} +1 -1
- package/vg/es/{styles-DFInM_03.js → styles-BmpqqoHg.js} +1 -1
- package/vg/es/{styles-CoLiVlSG.js → styles-BsguFks5.js} +1 -1
- package/vg/es/{styles-Ce4iBXFA.js → styles-CC05R_3-.js} +1 -1
- package/vg/es/{styles-Ddh-HkO8.js → styles-CNRmBQ4c.js} +1 -1
- package/vg/es/{styles-CIvA8Doz.js → styles-CVbJvaly.js} +1 -1
- package/vg/es/{styles-CdpkwzOZ.js → styles-CgOAOEfA.js} +1 -1
- package/{bt/es/styles-B188diER.js → vg/es/styles-CzX1ajop.js} +1 -1
- package/vg/es/{styles-CYzyLEV0.js → styles-DK6OtLji.js} +1 -1
- package/vg/es/{styles-CSIB_T1c.js → styles-Di-6gMqt.js} +1 -1
- package/vg/es/{styles-CciYrbs8.js → styles-L2IpsHbq.js} +1 -1
- package/vg/es/{styles-D9qbS1Gw.js → styles-Q9SKc1Hh.js} +1 -1
- package/vg/es/{styles-C51lw1yU.js → styles-pTQEVgFw.js} +1 -1
- package/vgv2/es/_auto-entry_vgv2-B3OjjjK2.js +1 -0
- package/vgv2/es/{events-BMoajPYv.js → events-Bq8LUFIZ.js} +1 -1
- package/vgv2/es/{index-Ck1oE8Pa.js → index-BWIZzC2g.js} +1 -1
- package/vgv2/es/{index-DQGn1tXh.js → index-BgPYv31C.js} +1 -1
- package/vgv2/es/{index-DxSr_M00.js → index-Cqg9XYLx.js} +1 -1
- package/vgv2/es/{index-I-HW65_x.js → index-D57YFxL2.js} +1 -1
- package/vgv2/es/{index-OzkyZrFL.js → index-DG8kZFha.js} +1 -1
- package/vgv2/es/{index-BMvVZ3PU.js → index-DVRyKCSg.js} +1 -1
- package/vgv2/es/{index-CVGQqZVE.js → index-DYYNBjmC.js} +1 -1
- package/vgv2/es/{index-BAnN0RdP.js → index-MIhy6YLN.js} +1 -1
- package/vgv2/es/index.d.ts +25 -4
- package/vgv2/es/index.js +1 -1
- package/vgv2/es/styles-8OZXx9WD.js +1 -0
- package/vgv2/es/{styles-YZ88G27K.js → styles-BdY5gfHd.js} +1 -1
- package/vgv2/es/{styles-Cualb3_D.js → styles-BdeVHtB7.js} +1 -1
- package/vgv2/es/{styles--uVNPccL.js → styles-Bhz17umu.js} +1 -1
- package/vgv2/es/{styles-CtTqdZis.js → styles-C1IfNQfL.js} +1 -1
- package/{tvnu/es/styles-DgLNK3GP.js → vgv2/es/styles-CFJwqIst.js} +1 -1
- package/vgv2/es/{styles-wF0dHoty.js → styles-CQVrfUUl.js} +1 -1
- package/vgv2/es/{styles-DhnA4Y2g.js → styles-CTcizZ-Q.js} +1 -1
- package/vgv2/es/{styles-dPSL7ERU.js → styles-D6H8kUXu.js} +1 -1
- package/vgv2/es/{styles-V8Y9NY4R.js → styles-DOULAbPJ.js} +1 -1
- package/vgv2/es/{styles-DOZIdQKO.js → styles-DPSrcrqr.js} +1 -1
- package/vgv2/es/{styles-F0n6XlmZ.js → styles-DikRMMY4.js} +1 -1
- package/vgv2/es/{styles-BgSFy8jC.js → styles-Dn0aUcYr.js} +1 -1
- package/{btv2/es/styles-BIEV_UDm.js → vgv2/es/styles-NmqmsWTa.js} +1 -1
- package/{sav2/es/styles-DMF9Z1dt.js → vgv2/es/styles-ctQS7q-2.js} +1 -1
- package/vgv2/es/{styles-CCY1tyd6.js → styles-ridlIX7w.js} +1 -1
- package/video/cjs/index.js +1 -1
- package/video/es/index.js +1 -1
- package/aftenposten/es/_auto-entry_aftenposten-VdgcR_BE.js +0 -1
- package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BIMCdj2e.js +0 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-D2fIitz4.js +0 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-3dTEWOlI.js +0 -1
- package/bt/es/_auto-entry_bt-CvnjeTKS.js +0 -1
- package/btv2/es/_auto-entry_btv2-Dvycsb0N.js +0 -1
- package/e24/es/_auto-entry_e24-EmoPFNdZ.js +0 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DntxanXt.js +0 -1
- package/koket/es/_auto-entry_koket-a4ea-7Qw.js +0 -1
- package/mtv/es/_auto-entry_mtv-DsuRsc1u.js +0 -1
- package/mtv/es/index-B83VUyBB.js +0 -1
- package/mtv/es/index-BnTnl5EG.js +0 -1
- package/mtv/es/index-D2XPbfTm.js +0 -1
- package/mtv/es/index-DN3cR0Fw.js +0 -1
- package/mtv/es/index-DTrcSpan.js +0 -1
- package/mtv/es/index-Dv15bwI7.js +0 -1
- package/omni/es/_auto-entry_omni-HSpRNCg1.js +0 -1
- package/sa/es/_auto-entry_sa-B3BT1vI-.js +0 -1
- package/sav2/es/_auto-entry_sav2-Ms7Jve07.js +0 -1
- package/svd/es/_auto-entry_svd-CuD9iF48.js +0 -1
- package/svdv2/es/_auto-entry_svdv2-1VQfx2m3.js +0 -1
- package/tv4/es/_auto-entry_tv4-CWqxLSel.js +0 -1
- package/tv4/es/events-D6xMM-17.js +0 -1
- package/tvnu/es/_auto-entry_tvnu-VQhBZ5ti.js +0 -1
- package/vg/es/_auto-entry_vg-DfuxvRye.js +0 -1
- package/vgv2/es/_auto-entry_vgv2-Bq8_SS3m.js +0 -1
- package/vgv2/es/styles-DDsDYtIG.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e,t,v as o}from"./_auto-entry_tvnu-
|
|
1
|
+
import{c as e,t,v as o}from"./_auto-entry_tvnu-BN6qNwOY.js";import"react/jsx-runtime";const n=1e4,r=(t="widescreen")=>{const{pageSectionsSelectors:{right:o}={}}=e.get();if(!o)return[];return Array.from(document.querySelectorAll(o)).map(e=>Array.from(e.querySelectorAll(`div[id^="${t}"]`)))},s=e=>e.some(e=>e.some(e=>!!e&&t(e,0)));let a;const i=()=>{const{widescreenSwitching:t}=e.get(),{enabled:i,options:{rotationInterval:l=n,widescreenIdPrefix:c}={}}=null!=t?t:{};if(!i)return;let y=r(c),p=0,d=Date.now(),m=s(y);if(!y.length)return;a&&window.removeEventListener("scroll",a);const u=(e,t,o)=>{e.forEach(e=>{e&&e.style.setProperty(t,o)})},w=e=>1===e?0:1,f=e=>{e.forEach(e=>{e[0]&&(e[0].style.display="block",e[0].style.opacity="1"),e[1]&&(e[1].style.display="none",e[1].style.opacity="")})};f(y);const g=o(()=>{const e=r(c);((e,t)=>{const o=e.flat(),n=t.flat();return o.length===n.length&&o.every((e,t)=>e===n[t])})(e,y)||(y=e,p=0,d=Date.now(),f(y)),m||(m=s(y)||m,d=Date.now());Date.now()-d>=l&&((()=>{const e=w(p),t=y.map(e=>e[p]),o=y.map(t=>t[e]);u(t,"opacity","0"),setTimeout(()=>{u(t,"display","none"),u(o,"opacity","0"),u(o,"display","block"),setTimeout(()=>{u(o,"opacity","1")},450)},450)})(),p=w(p),d=Date.now())},1e3);a=g,window.addEventListener("scroll",g)};export{i as initWidescreenSwitching};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{T as e,x as o,D as t,c as r,y as l,_ as s,z as a,B as n,E as c,F as d,G as i}from"./_auto-
|
|
1
|
+
import{T as e,x as o,D as t,c as r,y as l,_ as s,z as a,B as n,E as c,F as d,G as i}from"./_auto-entry_tvnu-BN6qNwOY.js";import"react/jsx-runtime";const u="#fff",y="#0098da",v=e=>"dark"===e,p=(t,r,l,s)=>{if(!l)return;const a={[e.WELCOME_PAGE]:()=>{const{buttonLabel:e}=o(l,r);["#advertory-welcome-page-scroll-label","#advertory-welcome-page-scroll-image"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(r.innerText=null!=e?e:"")})},[e.SPLASH]:()=>{const{themeColors:e,logotype:a,buttonLabel:n,showArrowIcon:c}=o(l,r),d=((e,o)=>{var t,r,l,s;if(!e)return;const a=v(o)?e.darkMode:void 0;return{backgroundColor:null!==(r=null!==(t=null==a?void 0:a.backgroundColor)&&void 0!==t?t:e.backgroundColor)&&void 0!==r?r:u,color:null!==(s=null!==(l=null==a?void 0:a.color)&&void 0!==l?l:e.color)&&void 0!==s?s:y}})(e,s),i=((e,o)=>{var t,r;if(!e)return;const l=v(o)?e.darkMode:void 0;return{url:null!==(t=null==l?void 0:l.url)&&void 0!==t?t:e.url,alt:null!==(r=null==l?void 0:l.alt)&&void 0!==r?r:e.alt}})(a,s);["#advertory-splash-close-label",".advertory-splash-close","#advertory-splash-logotype",".advertory-splash-navbar-wrapper"].forEach(e=>{const o=t.querySelector(`${e}`);if(o){if("#advertory-splash-close-label"===e&&(o.innerText=null!=n?n:""),".advertory-splash-close"===e&&!c){const e=o.querySelector("#advertory-splash-close-image");null==e||e.style.setProperty("display","none")}".advertory-splash-close"===e&&d&&(o.style.color=d.color),"#advertory-splash-logotype"===e&&i&&(o.setAttribute("src",i.url),o.setAttribute("alt",i.alt)),".advertory-splash-navbar-wrapper"===e&&d&&(o.style.setProperty("background-color",d.backgroundColor,"important"),o.style.color=d.color)}})},[e.TOPSCROLLER]:()=>{const{buttonLabel:e,showArrowIcon:s,showCloseButton:a=!0}=o(l,r);["#advertory-topscroller-scroll-label","#advertory-topscroller-scroll-image",".advertory-topscroller-close"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(".advertory-topscroller-close"!==o||a||(r.style.display="none"),"#advertory-topscroller-scroll-image"!==o||s||(r.style.display="none"),"#advertory-topscroller-scroll-label"===o&&(r.innerText=null!=e?e:""))})},[e.VELVET]:()=>{}};a[r]()},w=(o,t=!0)=>{(o===e.WELCOME_PAGE||o===e.TOPSCROLLER)&&(e=>{e?setTimeout(()=>window.scrollTo(0,0),100):window.scrollTo(0,10)})(t)},m=()=>{const e=parseInt(document.body.dataset.scrollY||"0",10);document.body.style.top="",window.scrollTo(0,e),document.body.classList.remove("page-locked")},g=new WeakMap,b=(e,o,t)=>{var r;window.addEventListener(o,t),g.set(e,[...null!==(r=g.get(e))&&void 0!==r?r:[],()=>window.removeEventListener(o,t)])},h=e=>{document.body.style.overflow=e?"initial":"hidden"},f=e=>{(e=>{var o;null===(o=g.get(e))||void 0===o||o.forEach(e=>e()),g.delete(e)})(e),m(),(e=>{e.classList.toggle("takeover-ad-hidden",!0)})(e),h(!0),e.style.display="none"},E=e=>{const o=()=>f(e);return b(e,"advertory:closeTakeover",o),m(),o},L=e=>{const o=e.querySelector(".advertory-splash-navbar-wrapper");o&&((e=>{const o=o=>{["Enter","Escape"].includes(o.key)&&f(e)};m(),b(e,"keydown",o)})(e),E(e),m(),o.addEventListener("click",()=>{f(e)}),h(!1))},S=e=>{(e=>{window.addEventListener("scroll",()=>{e.getBoundingClientRect().bottom,(e=>{const o=e.getBoundingClientRect().bottom;e.style.opacity=""+o/e.offsetHeight})(e)},{passive:!0})})(e),E(e);const o=document.querySelector("header");document.querySelectorAll(".smooth-close-takeover").forEach(e=>e.addEventListener("click",()=>null==o?void 0:o.scrollIntoView({behavior:"smooth"})))},k=e=>{(e=>{b(e,"advertory:closeTakeover",()=>f(e))})(e)},T=e=>{const{takeover:{splash:{showAnnonsLabel:o=!1}={}}={}}=r.get(),l=e.querySelectorAll(".advertory-splash-navbar-wrapper"),s=document.querySelector(".advertory-takeover-label");Array.from(l).forEach(e=>e.style.display="flex"),o&&s&&(s.style.display="flex",s.innerText=t.se.adText),e.classList.toggle("advertory-splash-wrapper",!0)},x=e=>{const o=document.querySelectorAll(".advertory-topscroller-elements");Array.from(o).forEach(e=>e.style.display="flex");const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=t.no.adText,r.classList.add("takeover-topscroller-label"),e.classList.toggle("topscroller-wrapper",!0))},A=e=>{const o=document.querySelectorAll(".advertory-welcome-page-elements");Array.from(o).forEach(e=>{e.style.display="flex",e.style.animation="elementsAnimation 1.5s ease-out forwards"});const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=t.se.adText,e.classList.toggle("welcome-page-wrapper",!0))},q=e=>{const o=document.querySelector(".advertory-takeover-label");o&&(o.style.display="flex",o.innerText=t.se.adText,e.classList.toggle("advertory-impact-wrapper",!0))},C=()=>{const e=document.querySelector(".welcome-page-wrapper, .topscroller-wrapper, .advertory-splash-wrapper");if(!e)return;let o=0;new IntersectionObserver(e=>{e.forEach(e=>{var t;if(e.isIntersecting){window.dispatchEvent(new CustomEvent("advertory:takeoverInView"));(null!==(t=Array.from(e.target.classList))&&void 0!==t?t:[]).includes("advertory-splash-wrapper")&&(()=>{const e=window.scrollY||0;document.body.dataset.scrollY=e.toString(),document.body.style.top="0",document.body.classList.add("page-locked"),document.documentElement.scrollTop=0})(),o++}else o>0&&window.dispatchEvent(new CustomEvent("advertory:takeoverNotInView"))})},{root:null,rootMargin:"0px",threshold:0}).observe(e)},O=(e,o)=>{let t=e;return e.includes("529299503")&&(t=(e=>{const o=document.createElement("script");return o.textContent=`(${l})()`,e+o.outerHTML})(e)),t=i(t),t},P=e=>{const o=(e=>{var o;const{requests:t}=window.apntag,r=d(e)?1:0;return null===(o=null==t?void 0:t.tags[e].adResponse.ads[r].rtb)||void 0===o?void 0:o.banner.content})(e);if(!o)return;((e,o)=>{const{requests:t}=window.apntag,r=d(e)?1:0,l=null==t?void 0:t.tags[e].adResponse.ads[r].rtb;l&&(l.banner.content=o)})(e,O(o))},R=(e,o)=>{var t;const r="100%",l="100%";e.resizeAd(o,[r,l]);const s=null===(t=document.querySelector(`#div_utif_${o}`))||void 0===t?void 0:t.querySelector("iframe");if(!s)return;new MutationObserver(e=>{for(const o of e)if("attributes"===o.type&&"style"===o.attributeName){const e=window.getComputedStyle(s),o=e.width,t=e.height;o===r&&t===l||(s.style.width=r,s.style.height=l)}}).observe(s,{attributes:!0,attributeFilter:["style"]})},M=o=>s(void 0,void 0,void 0,function*(){const{takeover:t,appearanceConfig:l}=r.get(),{targetId:s}=o,d=document.querySelector(`#${s}`),i=document.querySelector(".advertory-takeover-wrapper");if(!d||!i||!t)return;const u=a(o),y=i.offsetHeight,v=window.scrollY>y;i.style.display="block",!v&&w(u,!1),((o,t)=>{({[e.WELCOME_PAGE]:A,[e.SPLASH]:T,[e.TOPSCROLLER]:x,[e.VELVET]:q})[t](o)})(i,u),C(),((o,t)=>{({[e.WELCOME_PAGE]:S,[e.TOPSCROLLER]:S,[e.SPLASH]:L,[e.VELVET]:k})[t](o)})(i,u),p(i,u,t,null==l?void 0:l.theme),yield n(),!v&&w(u,!0),c(o,u)});export{M as createTakeoverAd,P as modifyTakeoverAdContent,R as modifyTakeoverIframe};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as n,_ as e,c as i,l as t,g as o,a as r,b as d,d as l,h as a,e as s,u as c,f as u,A as f,s as v}from"./_auto-entry_tvnu-
|
|
1
|
+
import{i as n,_ as e,c as i,l as t,g as o,a as r,b as d,d as l,h as a,e as s,u as c,f as u,A as f,s as v}from"./_auto-entry_tvnu-BN6qNwOY.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-Dn2KJr0j.js";import"react/jsx-runtime";n('.advertory-finn-blink-wrapper{height:100%;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink-wrapper:not(.brandboard-container){width:100%;margin-inline:auto}.advertory-finn-blink{width:100%;height:500px;max-width:580px;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink::before{content:"" !important}.advertory-finn-blink iframe{max-width:100%}');const y={Blink:"Blink"},h=new Map,g=n=>{var e;if(!h.has(n)){const e=import(/* webpackIgnore: true */n).then(n=>(n=>{for(const[e,i]of Object.entries(y)){const t=n[e];null!=t&&(window[i]=t)}})(n)).catch(e=>{throw h.delete(n),e});h.set(n,e)}return null!==(e=h.get(n))&&void 0!==e?e:Promise.resolve()},b="https://assets.finn.no/pkg/distribution-fixed/v1/FINNExternalDistribution.modern.js",k=n=>{var e,i;const t=document.querySelector(`[id^="${n}"]`);return null!==(i=null===(e=null==t?void 0:t.dataset)||void 0===e?void 0:e.finnBlinkId)&&void 0!==i?i:n},$=(n,e)=>{const{finnBlink:{enabled:t}={}}=i.get(),o=(null==e?void 0:e.enabled)||(n=>{var e;const i=document.querySelector(`[id^="${n}"]`);return!!(null===(e=null==i?void 0:i.dataset)||void 0===e?void 0:e.noBidAd)})(n);if(!o||!t)return null;const{height:r,requireImage:d,position:l,offset:a}=(null==e?void 0:e.sdkPayload)||{};return{selector:`#${k(n)}`,enabled:o,position:null!=l?l:n,height:null!=r?r:100,offset:null!=a?a:200,requireImage:d,advertoryTheme:null==e?void 0:e.advertoryTheme}},w=(n,a,s)=>e(void 0,void 0,void 0,function*(){const{placements:c,pageContext:{deviceType:u},appearanceConfig:f}=i.get();t(`rendering finn blink ad for ${n}`);const v=o(n),h=c[u].find(n=>n.targetId===v),g=$(n,null==h?void 0:h.finnBlink);if(!(null==g?void 0:g.enabled))return t(`Finn blink is not enabled on placement: ${n}`),s&&s(n),void p(n);if((n=>{var e;const i=k(n),t=document.querySelector(`[id^="${i}"]`);return!!(null===(e=null==t?void 0:t.classList)||void 0===e?void 0:e.contains("finn"))})(n))return void t(`Finn blink already loaded ${n}`);const{publisher:b,countryCode:w,finnBlink:C}=a,{sdkPayload:{channel:x}={}}=null!=C?C:{},I=null!=x?x:`${b}.${w}`,j="dark"===(null==f?void 0:f.theme)?"dark":"light";try{const n=yield r();yield(B=Object.assign(Object.assign({},g),{channel:I,userId:n,theme:j}),e(void 0,void 0,void 0,function*(){const{userId:n,theme:e}=B,i=l(B,["userId","theme"]),t=window[y.Blink];if(!t)return;const o=new t({remote:"https://www.finn.no/distribution-front/external/carousel",userId:n,theme:e});yield o.inject(Object.assign({},i))})),m(g.selector.replace("#",""),g.advertoryTheme)}catch(e){t(`Finn blink error ${e}`),s&&s(n),!s&&d(n),p(n)}var B}),C=()=>e(void 0,void 0,void 0,function*(){const{tcf:n,pageContext:{isMobileApp:e,countryCode:o}}=i.get();return!!(yield a(n,e,o,"finn-blink"))||(t("Skip loading finn blink ad due to missing TCF consent."),!1)}),x=(n,o,r,l)=>e(void 0,void 0,void 0,function*(){const{pageContext:{isMobileApp:e}}=i.get();if(t(`loadFinnBlinkAd: loading finn blink ad for ${n}`),!(yield C())||e)return r&&r(n),p(n),void(!r&&d(n));try{yield g(b)}catch(n){console.error(n)}yield w(n,o,r),l&&l()}),I=(n,e)=>{var i;(t(`Appending ${e.id} after ${n.id}`),n.parentElement&&(i=n.parentElement,!Array.from(i.children).some(n=>n.classList.contains("advertory-finn-blink-wrapper"))))?(n.parentElement.style.display="none",n.parentElement.insertAdjacentElement("afterend",e)):t(`Cannot perform afterend on: ${n.id}`)},j=(n,o)=>e(void 0,void 0,void 0,function*(){var e,r;if(!o)return;const{replacementConfig:d}=o,l=null===(e=null==d?void 0:d.adsToReplace)||void 0===e?void 0:e[n],a=null===(r=null==d?void 0:d.sizes)||void 0===r?void 0:r[n];s()&&l&&a?(yield C())&&(yield g(b),l.forEach(([n,e])=>{const o=document.querySelector(`[id^="${n}"]`);if(!o)return;const r=(n=>{const{siteSpecificConfig:{publisherClassName:e}={}}=i.get(),o=document.createElement("div"),r=document.createElement("div");return r.id=n,o.appendChild(r),u(e,r,f.FINN_BLINK),t(`Creating blink container for: ${n}`),o})(e);(n=>{t(`Hiding old ad container: ${n.id}`),n.style.setProperty("display","none","important")})(o),I(o,r),o.dataset.finnBlinkId=e,c().withFullAdsChain(n)})):t(`Finn blink configuration is incorrect: ${JSON.stringify(d)}`)}),B=n=>document.querySelector(`#${n}`),A=n=>e(void 0,void 0,void 0,function*(){if(!n.length)return;const{appearanceConfig:e,pageContext:{deviceType:t}}=i.get(),o=null==e?void 0:e.defaultThreshold[t];for(const e of n){const{requestThreshold:n,targetId:i}=e,t=B(i);t&&(yield v(t,null!=n?n:o))}});export{A as handleFinnBlinkOnlyPlacements,x as loadFinnBlinkAd,j as replaceAdsWithFinnBlink};
|
package/tvnu/es/index.d.ts
CHANGED
|
@@ -520,7 +520,6 @@ interface PlacementRefreshConfig {
|
|
|
520
520
|
}
|
|
521
521
|
interface Placement {
|
|
522
522
|
targetId: string;
|
|
523
|
-
adUnitId?: string;
|
|
524
523
|
sizes: Array<Array<number>>;
|
|
525
524
|
allowedFormats: Array<AstAdType>;
|
|
526
525
|
invCode: string;
|
|
@@ -607,6 +606,11 @@ interface TCFConfig {
|
|
|
607
606
|
timeout?: number;
|
|
608
607
|
nonRtb?: NonRTBConfig;
|
|
609
608
|
}
|
|
609
|
+
interface ManagedThirdPartyConfig {
|
|
610
|
+
readpeakUrl?: string;
|
|
611
|
+
adnamiUrl?: string;
|
|
612
|
+
adformDmpUrl?: string;
|
|
613
|
+
}
|
|
610
614
|
interface PrebidConfig {
|
|
611
615
|
enabled: boolean;
|
|
612
616
|
prebidUrl: string;
|
|
@@ -617,6 +621,7 @@ interface PrebidConfig {
|
|
|
617
621
|
forwardGlimrTags?: boolean;
|
|
618
622
|
manageAdserver?: boolean;
|
|
619
623
|
adServerUrl?: string;
|
|
624
|
+
thirdParty?: ManagedThirdPartyConfig;
|
|
620
625
|
}
|
|
621
626
|
interface NonRTBConfig {
|
|
622
627
|
invCodeSuffix?: string;
|
|
@@ -891,8 +896,13 @@ interface Advertory {
|
|
|
891
896
|
getVideoAdsConfig: (params: VideoAdsConfigParams) => (stream: VideoStream) => Promise<Record<string, unknown>>;
|
|
892
897
|
}
|
|
893
898
|
|
|
899
|
+
declare const TagDefinitions: {
|
|
900
|
+
readonly EXPLICIT: "explicit";
|
|
901
|
+
readonly DOM_DISCOVERED: "dom-discovered";
|
|
902
|
+
};
|
|
903
|
+
type TagDefinition = (typeof TagDefinitions)[keyof typeof TagDefinitions];
|
|
894
904
|
interface AdServerCapabilities {
|
|
895
|
-
tagDefinition:
|
|
905
|
+
tagDefinition: TagDefinition;
|
|
896
906
|
deferredRequest: boolean;
|
|
897
907
|
deferredRender: boolean;
|
|
898
908
|
refresh: boolean;
|
|
@@ -910,18 +920,29 @@ interface AdEventBus {
|
|
|
910
920
|
on: (event: AdEventName, handler: AdEventHandler) => void;
|
|
911
921
|
}
|
|
912
922
|
|
|
923
|
+
interface RefreshOptions {
|
|
924
|
+
keepPreviousSizes?: Array<Placement>;
|
|
925
|
+
applyReloadKeyword?: boolean;
|
|
926
|
+
}
|
|
913
927
|
interface AdServerDriver {
|
|
914
928
|
readonly name: string;
|
|
915
929
|
readonly capabilities: AdServerCapabilities;
|
|
930
|
+
readonly messageOrigins?: ReadonlyArray<string>;
|
|
916
931
|
setup(): Promise<void>;
|
|
917
932
|
setTargeting(): Promise<void>;
|
|
933
|
+
enrichPlacementsAfterDiscovery?(placements: Array<Placement>): Array<Placement>;
|
|
934
|
+
adjustPlacementsBeforeRequest?(placements: Array<Placement>): Promise<Array<Placement>>;
|
|
918
935
|
definePlacements?(placements: Array<Placement>): void;
|
|
919
936
|
requestPlacements?(placements: Array<Placement>): Promise<void>;
|
|
920
937
|
requestPage?(): Promise<void>;
|
|
921
938
|
bindEvents(bus: AdEventBus): Promise<void>;
|
|
939
|
+
clear?(targetIds: Array<string>): void;
|
|
940
|
+
resizeCreative?(targetId: string, size: Array<number>, isMediation?: boolean): void;
|
|
941
|
+
render?(targetId: string): void;
|
|
942
|
+
refresh?(targetIds: Array<string>, options?: RefreshOptions): void;
|
|
922
943
|
}
|
|
923
944
|
|
|
924
|
-
declare const createAdvertory: (handlers: SiteHandlers,
|
|
945
|
+
declare const createAdvertory: (handlers: SiteHandlers, driver: AdServerDriver, siteSpecificConfig?: SiteSpecificConfig) => Advertory;
|
|
925
946
|
|
|
926
947
|
declare const prepareTag: (tag: AstDefineTagParams) => AstDefineTagParams;
|
|
927
948
|
|
|
@@ -964,6 +985,6 @@ const HANDLERS = {
|
|
|
964
985
|
initNativeAd: initAdsOnTVNU,
|
|
965
986
|
};
|
|
966
987
|
|
|
967
|
-
const advertory = createAdvertory(HANDLERS,
|
|
988
|
+
const advertory = createAdvertory(HANDLERS, xandrDriver, siteSpecificConfig);
|
|
968
989
|
|
|
969
990
|
export { Panorama, Sponsorstripe, Takeover, Toppanorama, Widescreen, advertory as default };
|
package/tvnu/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Y as Panorama,a1 as Sponsorstripe,a0 as Takeover,Z as Toppanorama,$ as Widescreen,X as default}from"./_auto-entry_tvnu-
|
|
1
|
+
export{Y as Panorama,a1 as Sponsorstripe,a0 as Takeover,Z as Toppanorama,$ as Widescreen,X as default}from"./_auto-entry_tvnu-BN6qNwOY.js";import"react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as t}from"./_auto-
|
|
1
|
+
import{i as t}from"./_auto-entry_tvnu-BN6qNwOY.js";import"react/jsx-runtime";const o=t("[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-slider-time,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-slider-time{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container{padding:0 6px;height:36px}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon{margin-right:3px;height:unset;width:unset;bottom:0}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback{display:flex}");export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as a}from"./_auto-entry_tvnu-
|
|
1
|
+
import{i as a}from"./_auto-entry_tvnu-BN6qNwOY.js";import"react/jsx-runtime";a('.advertory-tvnu-ad-native-classic{position:relative;font-style:normal;background-color:#fff;color:#000;width:100%}.advertory-tvnu-ad-native-classic .ad-info{top:2px;left:17px;position:absolute;height:14px;width:14px;z-index:1000;border-bottom-left-radius:13px;border-top-right-radius:13px}.advertory-tvnu-ad-native-classic .gdpr-cogwheel-button__icon{width:14px;height:14px;top:5px;left:3px}.advertory-tvnu-ad-native-classic .ad-wrapper-content-container{display:flex;flex-direction:row;border-radius:6px;border:1px solid #c1c6d2;border-top:4px solid #537ecc}@media screen and (max-width: 768px){.advertory-tvnu-ad-native-classic .ad-wrapper-content-container{flex-direction:column}}.advertory-tvnu-ad-native-classic .ad-link{color:inherit;text-decoration:none;display:block}.advertory-tvnu-ad-native-classic .ad-link .ad-content{padding-left:15px;padding-right:15px;padding-bottom:8px;border-left:1px solid rgba(34,34,34,.1);border-right:1px solid rgba(34,34,34,.1);border-bottom:1px solid rgba(34,34,34,.1);display:flex;flex-direction:column}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-header{display:flex;padding:8px 16px;margin-left:8px}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-header .ad-annonse{font-size:11px;content:"ANNONS";display:inline-block;text-align:left;vertical-align:middle}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-data-content{padding:8px 16px}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-data-content .ad-subtitle{font-size:15px}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-data-content .ad-subtitle .ad-sponsored{text-transform:uppercase;color:#537ecc;font-weight:500}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-data-content .ad-cta{color:#537ecc;font-weight:500;margin-top:16px;float:right}@media screen and (max-width: 768px){.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-data-content .ad-cta{margin-top:4px}}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-data-content .ad-title{font-weight:bold;font-size:24px;letter-spacing:-1px;line-height:1.08;margin:0 0 4px;margin-bottom:8px;margin-top:16px}@media screen and (max-width: 768px){.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-data-content .ad-title{margin-top:8px;font-size:20px}}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-image-container{position:relative}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-image-container .ad-gambling{position:absolute;display:flex;flex-direction:row;bottom:0;left:0;padding:4px 8px;background-color:rgba(0,0,0,.5)}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-image-container .ad-gambling .ad-gambling-text{color:#fff;font-size:12px}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-image-container .ad-image{position:relative;width:100%;height:100%;aspect-ratio:16/9;max-height:264px;border-bottom-left-radius:6px}@media screen and (max-width: 768px){.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-image-container .ad-image{aspect-ratio:5/3}}.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-image-container .ad-image{object-fit:cover;object-position:center}@media screen and (max-width: 768px){.advertory-tvnu-ad-native-classic .ad-link .ad-content .ad-image-container .ad-image{border-bottom-left-radius:0px}}.advertory-tvnu-ad-native-classic .ad-link .alcohol-warning{font-size:24px;font-weight:700;border:5px solid #000;padding:10px 0;text-align:center;justify-content:center;background:#fff;color:#000;display:flex;flex-direction:column;box-sizing:border-box}@media screen and (min-width: 440px){.advertory-tvnu-ad-native-classic .ad-link .alcohol-warning{font-size:32px}}@media screen and (min-width: 768px){.advertory-tvnu-ad-native-classic .ad-link .alcohol-warning{font-size:48px}}.theme--dark .advertory-tvnu-ad-native-classic{background-color:#1c1d22;color:#fff}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as a}from"./_auto-entry_tvnu-
|
|
1
|
+
import{i as a}from"./_auto-entry_tvnu-BN6qNwOY.js";import"react/jsx-runtime";const e=a("[data-carousel-viewport]{position:relative;overflow:hidden;padding-bottom:4px;touch-action:pan-y;user-select:none}[data-carousel-track]{display:flex;gap:10px;will-change:transform}[data-carousel-track] [data-carousel-slide]:not(.is-active){opacity:.9;filter:saturate(0.72)}[data-carousel-track] .carousel-slide{flex:0 0 82%;margin:0;overflow:hidden;border:1px solid hsla(0,0%,100%,.68);border-radius:12px;box-shadow:#adadad 1px 1px 1px}[data-carousel-track] .carousel-slide .slide-image{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;pointer-events:none}");export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./_auto-entry_tvnu-
|
|
1
|
+
import{i as e}from"./_auto-entry_tvnu-BN6qNwOY.js";import"react/jsx-runtime";e('.advertory-shared-ad-native-seamless{position:relative;overflow:hidden;border-radius:10px}.advertory-shared-ad-native-seamless .ad-info{position:absolute;top:0;right:0;z-index:1}.advertory-shared-ad-native-seamless .ad-info div[role=button]{top:0;right:0;left:auto;transform:none;background-color:hsla(0,0%,100%,.45);border-bottom-left-radius:13px}.advertory-shared-ad-native-seamless .ad-link{text-decoration:none;color:inherit}.advertory-shared-ad-native-seamless .ad-link .ad-content{position:relative;min-width:320px;height:100%;margin:0 auto;padding:8px 8px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;background-color:var(--color-background-secondary, #ffffff);color:var(--color-text-primary, #333)}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header{padding:0 0 8px 10px;margin-right:18px;display:flex;justify-content:space-between;gap:50px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header .ad-logo{max-width:100%;max-height:40px;min-width:0;object-fit:contain;object-position:left center}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header .ad-annons{flex-shrink:0;margin-left:auto;margin-right:5px;font-size:10px;font-weight:400;color:var(--color-text-primary, #333);white-space:nowrap;line-height:.7;text-transform:lowercase}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container{width:100%;aspect-ratio:1/1;overflow:hidden;display:flex;justify-content:center;align-items:center}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container .ad-image{height:100%;width:auto;max-width:100%;object-fit:cover}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container{aspect-ratio:1.91/1}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-carousel{display:flex;justify-content:center;align-items:center;width:100%}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-carousel .carousel-window{width:calc(100% + 16px);min-width:calc(100% + 16px);mask-image:linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);-webkit-mask-image:linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, #000 5%, #000 95%, rgba(0, 0, 0, 0.5) 100%)}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer{display:flex;flex-direction:column;justify-content:center;padding:13px 10px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row{display:flex;align-items:center;justify-content:space-between}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper{display:flex;flex-direction:column;gap:5px;flex-grow:1;min-width:0;padding-right:8px;align-items:start}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;overflow:hidden;min-width:0;font-size:15.5px;font-weight:500;text-align:left;word-spacing:-1px;color:var(--color-text-primary, #111111)}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{font-size:18px}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-headline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-width:0;margin:0;font-size:16px;font-weight:400;line-height:1.2;word-spacing:-1px;text-align:left;color:var(--color-text-secondary, #111111)}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-headline{font-size:18px}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase{display:flex;flex-direction:column;flex-shrink:0;align-items:center;gap:6px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase .ad-price{font-size:13px;font-weight:500;white-space:nowrap}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase .ad-price:empty{display:none}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-action{flex-shrink:0;padding:10px 14px;font-size:14px;line-height:1;color:var(--color-text-on-accent, #111111);white-space:nowrap;background-color:var(--color-accent, #d9d9d9);border-radius:99px;font-weight:500}');
|
package/types/index.d.ts
CHANGED
|
@@ -510,7 +510,6 @@ interface PlacementRefreshConfig {
|
|
|
510
510
|
}
|
|
511
511
|
interface Placement {
|
|
512
512
|
targetId: string;
|
|
513
|
-
adUnitId?: string;
|
|
514
513
|
sizes: Array<Array<number>>;
|
|
515
514
|
allowedFormats: Array<AstAdType>;
|
|
516
515
|
invCode: string;
|
|
@@ -597,6 +596,11 @@ interface TCFConfig {
|
|
|
597
596
|
timeout?: number;
|
|
598
597
|
nonRtb?: NonRTBConfig;
|
|
599
598
|
}
|
|
599
|
+
interface ManagedThirdPartyConfig {
|
|
600
|
+
readpeakUrl?: string;
|
|
601
|
+
adnamiUrl?: string;
|
|
602
|
+
adformDmpUrl?: string;
|
|
603
|
+
}
|
|
600
604
|
interface PrebidConfig {
|
|
601
605
|
enabled: boolean;
|
|
602
606
|
prebidUrl: string;
|
|
@@ -607,6 +611,7 @@ interface PrebidConfig {
|
|
|
607
611
|
forwardGlimrTags?: boolean;
|
|
608
612
|
manageAdserver?: boolean;
|
|
609
613
|
adServerUrl?: string;
|
|
614
|
+
thirdParty?: ManagedThirdPartyConfig;
|
|
610
615
|
}
|
|
611
616
|
interface NonRTBConfig {
|
|
612
617
|
invCodeSuffix?: string;
|
package/vg/cjs/index.d.ts
CHANGED
|
@@ -520,7 +520,6 @@ interface PlacementRefreshConfig {
|
|
|
520
520
|
}
|
|
521
521
|
interface Placement {
|
|
522
522
|
targetId: string;
|
|
523
|
-
adUnitId?: string;
|
|
524
523
|
sizes: Array<Array<number>>;
|
|
525
524
|
allowedFormats: Array<AstAdType>;
|
|
526
525
|
invCode: string;
|
|
@@ -607,6 +606,11 @@ interface TCFConfig {
|
|
|
607
606
|
timeout?: number;
|
|
608
607
|
nonRtb?: NonRTBConfig;
|
|
609
608
|
}
|
|
609
|
+
interface ManagedThirdPartyConfig {
|
|
610
|
+
readpeakUrl?: string;
|
|
611
|
+
adnamiUrl?: string;
|
|
612
|
+
adformDmpUrl?: string;
|
|
613
|
+
}
|
|
610
614
|
interface PrebidConfig {
|
|
611
615
|
enabled: boolean;
|
|
612
616
|
prebidUrl: string;
|
|
@@ -617,6 +621,7 @@ interface PrebidConfig {
|
|
|
617
621
|
forwardGlimrTags?: boolean;
|
|
618
622
|
manageAdserver?: boolean;
|
|
619
623
|
adServerUrl?: string;
|
|
624
|
+
thirdParty?: ManagedThirdPartyConfig;
|
|
620
625
|
}
|
|
621
626
|
interface NonRTBConfig {
|
|
622
627
|
invCodeSuffix?: string;
|
|
@@ -891,8 +896,13 @@ interface Advertory {
|
|
|
891
896
|
getVideoAdsConfig: (params: VideoAdsConfigParams) => (stream: VideoStream) => Promise<Record<string, unknown>>;
|
|
892
897
|
}
|
|
893
898
|
|
|
899
|
+
declare const TagDefinitions: {
|
|
900
|
+
readonly EXPLICIT: "explicit";
|
|
901
|
+
readonly DOM_DISCOVERED: "dom-discovered";
|
|
902
|
+
};
|
|
903
|
+
type TagDefinition = (typeof TagDefinitions)[keyof typeof TagDefinitions];
|
|
894
904
|
interface AdServerCapabilities {
|
|
895
|
-
tagDefinition:
|
|
905
|
+
tagDefinition: TagDefinition;
|
|
896
906
|
deferredRequest: boolean;
|
|
897
907
|
deferredRender: boolean;
|
|
898
908
|
refresh: boolean;
|
|
@@ -910,18 +920,29 @@ interface AdEventBus {
|
|
|
910
920
|
on: (event: AdEventName, handler: AdEventHandler) => void;
|
|
911
921
|
}
|
|
912
922
|
|
|
923
|
+
interface RefreshOptions {
|
|
924
|
+
keepPreviousSizes?: Array<Placement>;
|
|
925
|
+
applyReloadKeyword?: boolean;
|
|
926
|
+
}
|
|
913
927
|
interface AdServerDriver {
|
|
914
928
|
readonly name: string;
|
|
915
929
|
readonly capabilities: AdServerCapabilities;
|
|
930
|
+
readonly messageOrigins?: ReadonlyArray<string>;
|
|
916
931
|
setup(): Promise<void>;
|
|
917
932
|
setTargeting(): Promise<void>;
|
|
933
|
+
enrichPlacementsAfterDiscovery?(placements: Array<Placement>): Array<Placement>;
|
|
934
|
+
adjustPlacementsBeforeRequest?(placements: Array<Placement>): Promise<Array<Placement>>;
|
|
918
935
|
definePlacements?(placements: Array<Placement>): void;
|
|
919
936
|
requestPlacements?(placements: Array<Placement>): Promise<void>;
|
|
920
937
|
requestPage?(): Promise<void>;
|
|
921
938
|
bindEvents(bus: AdEventBus): Promise<void>;
|
|
939
|
+
clear?(targetIds: Array<string>): void;
|
|
940
|
+
resizeCreative?(targetId: string, size: Array<number>, isMediation?: boolean): void;
|
|
941
|
+
render?(targetId: string): void;
|
|
942
|
+
refresh?(targetIds: Array<string>, options?: RefreshOptions): void;
|
|
922
943
|
}
|
|
923
944
|
|
|
924
|
-
declare const createAdvertory: (handlers: SiteHandlers,
|
|
945
|
+
declare const createAdvertory: (handlers: SiteHandlers, driver: AdServerDriver, siteSpecificConfig?: SiteSpecificConfig) => Advertory;
|
|
925
946
|
|
|
926
947
|
declare const prepareTag: (tag: AstDefineTagParams) => AstDefineTagParams;
|
|
927
948
|
|
|
@@ -964,6 +985,6 @@ const HANDLERS = {
|
|
|
964
985
|
initNativeAd: initAdsOnVg,
|
|
965
986
|
};
|
|
966
987
|
|
|
967
|
-
const advertory = createAdvertory(HANDLERS,
|
|
988
|
+
const advertory = createAdvertory(HANDLERS, xandrDriver, siteSpecificConfig);
|
|
968
989
|
|
|
969
990
|
export { Netboard, Skyscraper, Sponsorstripe, Topboard, Wallpaper, advertory as default };
|