@schibsted/advertory 3.16.5 → 3.17.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.
Files changed (504) hide show
  1. package/ad-native/cjs/index.d.ts +14 -6
  2. package/ad-native/cjs/index.js +1 -1
  3. package/ad-native/es/index.d.ts +14 -6
  4. package/ad-native/es/index.js +1 -1
  5. package/aftenposten/cjs/index.d.ts +14 -6
  6. package/aftenposten/cjs/index.js +1 -1
  7. package/aftenposten/es/_auto-entry_aftenposten-DeEHeijF.js +1 -0
  8. package/aftenposten/es/events-Bxv2-lJi.js +1 -0
  9. package/aftenposten/es/{index-DQGbdXJH.js → index-ARShBeWt.js} +1 -1
  10. package/aftenposten/es/index-C0VUsW-8.js +1 -0
  11. package/aftenposten/es/{index-CS7Ab372.js → index-C1rTtlM8.js} +1 -1
  12. package/aftenposten/es/index-CUAvvws0.js +1 -0
  13. package/{aftonbladet/es/index-B-9GeVqx.js → aftenposten/es/index-D76l_EB9.js} +1 -1
  14. package/aftenposten/es/{index-DRw2tzN7.js → index-Dq_NBswZ.js} +1 -1
  15. package/aftenposten/es/{index-B8-3dAzZ.js → index-Ds1ErtTb.js} +1 -1
  16. package/aftenposten/es/{index-Db4A-lKt.js → index-Dsdyzi26.js} +1 -1
  17. package/aftenposten/es/index.d.ts +14 -6
  18. package/aftenposten/es/index.js +1 -1
  19. package/aftenposten/es/{styles-DbteVOM6.js → styles-B5ltPSCd.js} +1 -1
  20. package/aftenposten/es/{styles-x5cJhAzP.js → styles-BGQJjU9F.js} +1 -1
  21. package/aftenposten/es/{styles-Cmgz7g7s.js → styles-BRYU8SLU.js} +1 -1
  22. package/aftenposten/es/{styles-CshnwzG0.js → styles-DQI5_O21.js} +1 -1
  23. package/aftenposten/es/{styles-C3V8Btu3.js → styles-DxPblond.js} +1 -1
  24. package/aftenposten/es/{styles-CfAyG-Uc.js → styles-MoZa5WqG.js} +1 -1
  25. package/aftenposten/es/{styles-BVFhT7Fm.js → styles-Mw1wWiYF.js} +1 -1
  26. package/aftenposten/es/{styles-D4hQIIqP.js → styles-PFPNyVM6.js} +1 -1
  27. package/aftenposten/es/{styles-BxGxExCF.js → styles-ayVZc-Ln.js} +1 -1
  28. package/aftenposten/es/{styles-qYagS0GU.js → styles-iIXw22I9.js} +1 -1
  29. package/aftenposten/es/{styles-BqwkhLCB.js → styles-m2fX9LPC.js} +1 -1
  30. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BYwW77G6.js +1 -0
  31. package/aftenpostenv2/es/events-s0KndXbM.js +1 -0
  32. package/aftenpostenv2/es/index--O8yOGIu.js +1 -0
  33. package/aftenpostenv2/es/{index-lqm-o7Po.js → index-BFeK-LWW.js} +1 -1
  34. package/aftenpostenv2/es/{index-DoEPQvRY.js → index-C9CJOoSj.js} +1 -1
  35. package/aftenpostenv2/es/{index-CCgqrIq1.js → index-CEtZZCY9.js} +1 -1
  36. package/aftenpostenv2/es/index-DkpkomjT.js +1 -0
  37. package/aftenpostenv2/es/{index-BVUcPqHw.js → index-DxDq_Po1.js} +1 -1
  38. package/aftenpostenv2/es/{index-BZnCLvE4.js → index-fHDpymU-.js} +1 -1
  39. package/aftenpostenv2/es/{index-DiBksfGt.js → index-qp1DWE-W.js} +1 -1
  40. package/aftenpostenv2/es/index.d.ts +14 -6
  41. package/aftenpostenv2/es/index.js +1 -1
  42. package/aftenpostenv2/es/{styles-Dfd6TOhp.js → styles-BGPmyGPM.js} +1 -1
  43. package/aftenpostenv2/es/{styles-PnO4KF4Z.js → styles-BNyLMe8E.js} +1 -1
  44. package/aftenpostenv2/es/{styles-BeZfyt5D.js → styles-BV30yZL6.js} +1 -1
  45. package/aftenpostenv2/es/{styles-qz3icO2I.js → styles-BVctDUCm.js} +1 -1
  46. package/aftenpostenv2/es/{styles-C-SPFJ1u.js → styles-BWKsmmOH.js} +1 -1
  47. package/aftenpostenv2/es/{styles-BGkSuxfG.js → styles-BniIe7BL.js} +1 -1
  48. package/aftenpostenv2/es/{styles-CN1ZGodG.js → styles-CASQXqQF.js} +1 -1
  49. package/aftenpostenv2/es/{styles-DT0w-UuZ.js → styles-CiMnH_dj.js} +1 -1
  50. package/aftenpostenv2/es/{styles-Cz4wgX8T.js → styles-CmhIK7dX.js} +1 -1
  51. package/aftenpostenv2/es/{styles-xro3TPE2.js → styles-D_GncrAP.js} +1 -1
  52. package/aftenpostenv2/es/{styles-C23QTq8C.js → styles-vsx5sf3R.js} +1 -1
  53. package/aftonbladet/cjs/index.d.ts +14 -6
  54. package/aftonbladet/cjs/index.js +1 -1
  55. package/aftonbladet/es/_auto-entry_aftonbladet-DVgMcFE2.js +1 -0
  56. package/aftonbladet/es/events-CXtxgpgZ.js +1 -0
  57. package/aftonbladet/es/{index-BlZB6F-_.js → index-3VDyqZtr.js} +1 -1
  58. package/aftonbladet/es/{index-BxavM0ix.js → index-BKt6R8I5.js} +1 -1
  59. package/{aftenposten/es/index-BR5XIfB1.js → aftonbladet/es/index-BWenmT-y.js} +1 -1
  60. package/aftonbladet/es/{index-BiQjBDTx.js → index-Bk_fQFBZ.js} +1 -1
  61. package/aftonbladet/es/{index-CACHUzk8.js → index-Bs1pDCKo.js} +1 -1
  62. package/aftonbladet/es/index-CHCNCZ9K.js +1 -0
  63. package/aftonbladet/es/index-CZSLakFQ.js +1 -0
  64. package/aftonbladet/es/{index-DY3lTbNz.js → index-D5UwsDK_.js} +1 -1
  65. package/aftonbladet/es/index.d.ts +14 -6
  66. package/aftonbladet/es/index.js +1 -1
  67. package/aftonbladet/es/{styles-BwoNWGMU.js → styles-B-UFBebp.js} +1 -1
  68. package/aftonbladet/es/{styles-DdWa3WR4.js → styles-BXKXVqt9.js} +1 -1
  69. package/aftonbladet/es/{styles-WB5MQdr8.js → styles-BiUtMr4i.js} +1 -1
  70. package/aftonbladet/es/{styles-CSY6WCee.js → styles-BiY81X1b.js} +1 -1
  71. package/aftonbladet/es/{styles-DSk80Xw5.js → styles-BvjHoiBQ.js} +1 -1
  72. package/aftonbladet/es/{styles-DHhYeLQg.js → styles-DBjCHe1k.js} +1 -1
  73. package/aftonbladet/es/{styles-BUwUWMkk.js → styles-DQhBtndR.js} +1 -1
  74. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-BHW11wOD.js +1 -0
  75. package/aftonbladetv2/es/events-Cbt7fIRG.js +1 -0
  76. package/aftonbladetv2/es/{index-BS_cgiVx.js → index-BXtOYeYP.js} +1 -1
  77. package/aftonbladetv2/es/index-Bu4I_y4M.js +1 -0
  78. package/aftonbladetv2/es/{index-CJK6gbdV.js → index-CwLQoNTT.js} +1 -1
  79. package/aftonbladetv2/es/{index-BAszEASA.js → index-D3Ia-EZk.js} +1 -1
  80. package/aftonbladetv2/es/{index-CMsqVKG_.js → index-D3Z17gr_.js} +1 -1
  81. package/aftonbladetv2/es/{index-GptaM2G6.js → index-D9yXYYbn.js} +1 -1
  82. package/aftonbladetv2/es/{index-CmBDcRgQ.js → index-DAL6SHFK.js} +1 -1
  83. package/aftonbladetv2/es/index-DWfqDsJT.js +1 -0
  84. package/aftonbladetv2/es/index.d.ts +14 -6
  85. package/aftonbladetv2/es/index.js +1 -1
  86. package/aftonbladetv2/es/{styles-C9uP2Yjh.js → styles-Bs-Cq1AY.js} +1 -1
  87. package/aftonbladetv2/es/{styles-DtHKest_.js → styles-CAyL6mdq.js} +1 -1
  88. package/aftonbladetv2/es/{styles-BUZTzbbN.js → styles-CTPt9Lgs.js} +1 -1
  89. package/aftonbladetv2/es/{styles-DeL7yXUR.js → styles-DG43gS2D.js} +1 -1
  90. package/aftonbladetv2/es/{styles-HIZnvE3y.js → styles-DZWmX5Rm.js} +1 -1
  91. package/aftonbladetv2/es/{styles-DrxvzT3b.js → styles-LMk-cSXD.js} +1 -1
  92. package/aftonbladetv2/es/{styles-9SQCcTFw.js → styles-lyuZaRpv.js} +1 -1
  93. package/bt/cjs/index.d.ts +14 -6
  94. package/bt/cjs/index.js +1 -1
  95. package/bt/es/_auto-entry_bt-Cd6ZI3Y6.js +1 -0
  96. package/bt/es/events-BVx4-U4K.js +1 -0
  97. package/bt/es/{index-BKqjZpW8.js → index-8Q4fU44W.js} +1 -1
  98. package/bt/es/{index-Cd67JkoX.js → index-BB1Uiz1J.js} +1 -1
  99. package/bt/es/index-BCzNukhO.js +1 -0
  100. package/bt/es/{index-CYDruSxp.js → index-BKnUo_Ri.js} +1 -1
  101. package/bt/es/{index-D_rnTuTK.js → index-C8b5gUJK.js} +1 -1
  102. package/{sa/es/index-9_ir-rcM.js → bt/es/index-Cwye_iJR.js} +1 -1
  103. package/bt/es/index-TSx_71q5.js +1 -0
  104. package/bt/es/{index-vE82QAjA.js → index-Xvt21gk6.js} +1 -1
  105. package/bt/es/index.d.ts +14 -6
  106. package/bt/es/index.js +1 -1
  107. package/bt/es/{styles-BJwiaOeV.js → styles-5t3tPKaG.js} +1 -1
  108. package/bt/es/{styles-D5T2ZpmU.js → styles-B7WDt48u.js} +1 -1
  109. package/bt/es/{styles-C3WS_t8v.js → styles-B7bRH-o5.js} +1 -1
  110. package/bt/es/{styles-D5xd7Hvt.js → styles-BbsXjAr9.js} +1 -1
  111. package/bt/es/{styles-Dxi9bw8S.js → styles-C9yeEU4B.js} +1 -1
  112. package/bt/es/{styles-6EXR5zYV.js → styles-CrVD1qCz.js} +1 -1
  113. package/bt/es/{styles-W-qv8i7u.js → styles-DMYjKKm7.js} +1 -1
  114. package/bt/es/{styles-DI3iahFH.js → styles-DX-lqUeD.js} +1 -1
  115. package/{sa/es/styles-CvGSGzSO.js → bt/es/styles-DyRc3czz.js} +1 -1
  116. package/bt/es/{styles-D_uzW3WW.js → styles-W6gDPTHn.js} +1 -1
  117. package/btv2/es/_auto-entry_btv2-Dr8STkQH.js +1 -0
  118. package/btv2/es/events-DNGi246N.js +1 -0
  119. package/btv2/es/{index-CO-rmFyi.js → index-4w40g94z.js} +1 -1
  120. package/btv2/es/{index-eb9jjS0f.js → index-B3QHgFOn.js} +1 -1
  121. package/{sav2/es/index-D4kR1aOA.js → btv2/es/index-BNV3AQ1d.js} +1 -1
  122. package/btv2/es/{index-CI9qR038.js → index-C-949J-6.js} +1 -1
  123. package/btv2/es/{index-CwQrOubz.js → index-DX9lYOEU.js} +1 -1
  124. package/btv2/es/index-Dl2Nf50P.js +1 -0
  125. package/btv2/es/{index-tjtRkdna.js → index-TpkuLu67.js} +1 -1
  126. package/btv2/es/index-sP1GW5L_.js +1 -0
  127. package/btv2/es/index.d.ts +14 -6
  128. package/btv2/es/index.js +1 -1
  129. package/{sav2/es/styles-JzezxrZr.js → btv2/es/styles-BGMihtNt.js} +1 -1
  130. package/{sav2/es/styles-DVdw9LnQ.js → btv2/es/styles-CFzk1f5W.js} +1 -1
  131. package/btv2/es/{styles-DtOFNwbp.js → styles-CKniyrya.js} +1 -1
  132. package/btv2/es/{styles-DF73Rp9s.js → styles-CY1egQLD.js} +1 -1
  133. package/btv2/es/{styles-CjAmkfwB.js → styles-CiYsInQU.js} +1 -1
  134. package/{vgv2/es/styles-CVtSN6IJ.js → btv2/es/styles-DN5m4mgm.js} +1 -1
  135. package/btv2/es/{styles-Drq6h0oi.js → styles-DPf3Hj9N.js} +1 -1
  136. package/{sav2/es/styles-BxI8QNaZ.js → btv2/es/styles-GUQHV5pf.js} +1 -1
  137. package/btv2/es/{styles-CYv9ccwN.js → styles-vlKcL7Qc.js} +1 -1
  138. package/e24/es/_auto-entry_e24-CMuPQ38R.js +1 -0
  139. package/e24/es/events-jJcm18p4.js +1 -0
  140. package/e24/es/{index-DzcT99p3.js → index-AEQHRILF.js} +1 -1
  141. package/e24/es/{index-CBF-dEe0.js → index-BRNTHOOz.js} +1 -1
  142. package/e24/es/index-BfMok4R1.js +1 -0
  143. package/e24/es/{index-CclIZUlD.js → index-CMCTb_6z.js} +1 -1
  144. package/{svd/es/index-BjBgwVgk.js → e24/es/index-CviRGV6d.js} +1 -1
  145. package/e24/es/{index-CdLXLLrr.js → index-DFq55Kwd.js} +1 -1
  146. package/e24/es/{index-DZc8k80J.js → index-DXC-qyte.js} +1 -1
  147. package/e24/es/{index-1AQljQ04.js → index-DsDhFC37.js} +1 -1
  148. package/e24/es/index.d.ts +14 -6
  149. package/e24/es/index.js +1 -1
  150. package/e24/es/{styles-7mXTCMFW.js → styles-92DbtnTF.js} +1 -1
  151. package/e24/es/{styles-CcW-Lo_s.js → styles-BCiwdDb8.js} +1 -1
  152. package/e24/es/{styles-OfdgLarb.js → styles-BdYM4hiY.js} +1 -1
  153. package/e24/es/{styles-DaDDz2Ik.js → styles-CLKB0Gnh.js} +1 -1
  154. package/e24/es/{styles-mu020Pov.js → styles-CRZPpzOz.js} +1 -1
  155. package/e24/es/{styles-BJDXJ_zX.js → styles-CY5RZWFx.js} +1 -1
  156. package/{tv4/es/styles-CyRqFFvK.js → e24/es/styles-CaIeNjZd.js} +1 -1
  157. package/e24/es/{styles-CtBvPN4a.js → styles-CaVeDJSk.js} +1 -1
  158. package/e24/es/{styles-CP89sUxz.js → styles-CjIbXs6u.js} +1 -1
  159. package/e24/es/{styles-xcdIFrAQ.js → styles-DKqcP_WQ.js} +1 -1
  160. package/e24/es/{styles-BA1aQZwV.js → styles-F9IKnOTo.js} +1 -1
  161. package/e24/es/{styles-DAhegP-P.js → styles-ZwUMHNel.js} +1 -1
  162. package/editory/cjs/index.d.ts +14 -6
  163. package/editory/es/index.d.ts +14 -6
  164. package/fotbollskanalen/cjs/index.d.ts +14 -6
  165. package/fotbollskanalen/cjs/index.js +1 -1
  166. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DBQE9Sqq.js +1 -0
  167. package/fotbollskanalen/es/events-DFY5OXo8.js +1 -0
  168. package/fotbollskanalen/es/{index-Dz4VZObJ.js → index-B4WaoWH4.js} +1 -1
  169. package/fotbollskanalen/es/{index-ClH7lZYd.js → index-BNulCeAW.js} +1 -1
  170. package/fotbollskanalen/es/index-BgXwGgRF.js +1 -0
  171. package/fotbollskanalen/es/{index-BiQvWbga.js → index-Bspibtho.js} +1 -1
  172. package/fotbollskanalen/es/{index-CC5lc9r1.js → index-CUC_45dO.js} +1 -1
  173. package/fotbollskanalen/es/{index-B062g8iH.js → index-DSzMmVMi.js} +1 -1
  174. package/fotbollskanalen/es/{index-CVZdf_Rx.js → index-DqzGpDHE.js} +1 -1
  175. package/fotbollskanalen/es/index-_0sIAPUS.js +1 -0
  176. package/fotbollskanalen/es/index.d.ts +14 -6
  177. package/fotbollskanalen/es/index.js +1 -1
  178. package/fotbollskanalen/es/{styles-hbIy9al3.js → styles-BZqjq4mb.js} +1 -1
  179. package/fotbollskanalen/es/{styles-kIeF5Tee.js → styles-BmLteRhg.js} +1 -1
  180. package/fotbollskanalen/es/{styles-PUd99r1p.js → styles-CZpIXjyN.js} +1 -1
  181. package/fotbollskanalen/es/{styles-CYR96zEK.js → styles-Dysotb08.js} +1 -1
  182. package/fotbollskanalen/es/{styles-CqUKBxOa.js → styles-mFuiPoD5.js} +1 -1
  183. package/godt/cjs/index.d.ts +14 -6
  184. package/godt/cjs/index.js +1 -1
  185. package/kilkaya/cjs/index.d.ts +12 -6
  186. package/kilkaya/cjs/index.js +1 -1
  187. package/kilkaya/es/index.d.ts +12 -6
  188. package/kilkaya/es/index.js +1 -1
  189. package/klart/cjs/index.d.ts +14 -6
  190. package/klart/cjs/index.js +1 -1
  191. package/koket/cjs/index.d.ts +14 -6
  192. package/koket/cjs/index.js +1 -1
  193. package/koket/es/_auto-entry_koket-Dz-qx3Jv.js +1 -0
  194. package/koket/es/events-D8-Schg1.js +1 -0
  195. package/koket/es/{index-CiNrNpCh.js → index-B2ge48bj.js} +1 -1
  196. package/koket/es/index-BuYkggjm.js +1 -0
  197. package/koket/es/{index-BuYqePxS.js → index-CU8qqX2O.js} +1 -1
  198. package/koket/es/index-DDjwtmbb.js +1 -0
  199. package/koket/es/{index-CjQupFNS.js → index-DOCEkx14.js} +1 -1
  200. package/koket/es/{index-CJCSxpIT.js → index-DpR-4QVt.js} +1 -1
  201. package/koket/es/{index-yZxvx-bT.js → index-Z_VUjgP0.js} +1 -1
  202. package/koket/es/{index-CyHpFA0R.js → index-kM1fczgb.js} +1 -1
  203. package/koket/es/index.d.ts +14 -6
  204. package/koket/es/index.js +1 -1
  205. package/koket/es/{styles-MHpJAgKy.js → styles-BEhM1KWg.js} +1 -1
  206. package/koket/es/{styles-Bk2LqxJH.js → styles-CeL_HW5w.js} +1 -1
  207. package/{svdv2/es/styles-20l0ZXp-.js → koket/es/styles-Do1tuzki.js} +1 -1
  208. package/koket/es/{styles-D4lGHCAj.js → styles-LKdNCZIN.js} +1 -1
  209. package/{svdv2/es/styles-DGs-Apb5.js → koket/es/styles-ulsUkrWE.js} +1 -1
  210. package/minmote/cjs/index.d.ts +14 -6
  211. package/minmote/cjs/index.js +1 -1
  212. package/mtv/es/{_auto-entry_mtv-B3cjM82G.js → _auto-entry_mtv-B453H7Ed.js} +1 -1
  213. package/mtv/es/events-D1J-nlHl.js +1 -0
  214. package/{tv4/es/index-DY_KbzcE.js → mtv/es/index-B-Hc1BIw.js} +1 -1
  215. package/mtv/es/index-CFA1LPwY.js +1 -0
  216. package/mtv/es/index-Ck8M4dSC.js +1 -0
  217. package/mtv/es/{index-Dmzvy7Ik.js → index-DIr0kArr.js} +1 -1
  218. package/mtv/es/{index-DSI_fVUO.js → index-D_HMpAYl.js} +1 -1
  219. package/mtv/es/{index-CB2gEQ-J.js → index-DxDekWIX.js} +1 -1
  220. package/mtv/es/{index-KJr93ura.js → index-Ft7iLn6n.js} +1 -1
  221. package/mtv/es/{index-Dbca8Wdz.js → index-Y357TZLq.js} +1 -1
  222. package/mtv/es/index.d.ts +14 -6
  223. package/mtv/es/index.js +1 -1
  224. package/mtv/es/{styles-BmP7USe-.js → styles-Cs6qF9ko.js} +1 -1
  225. package/omni/es/_auto-entry_omni-DTqrIVcr.js +1 -0
  226. package/omni/es/events-DJsjeZi7.js +1 -0
  227. package/omni/es/{index-B5HK22Vl.js → index-BIchVbRg.js} +1 -1
  228. package/{tvnu/es/index-BYfYGSNg.js → omni/es/index-BIeMkeTF.js} +1 -1
  229. package/omni/es/{index-azZyW1ts.js → index-Bxp9oX7P.js} +1 -1
  230. package/omni/es/{index-DeIz92Od.js → index-CmhFrvl7.js} +1 -1
  231. package/{sav2/es/index-BBYMFdN4.js → omni/es/index-DTnfTq9B.js} +1 -1
  232. package/omni/es/index-Dwfmx6le.js +1 -0
  233. package/omni/es/{index-BYeRVmag.js → index-Is1qOfec.js} +1 -1
  234. package/omni/es/index-krqhkGbq.js +1 -0
  235. package/omni/es/index.d.ts +14 -6
  236. package/omni/es/index.js +1 -1
  237. package/omni/es/{styles-5P3kLgDF.js → styles-CEeens3C.js} +1 -1
  238. package/omni/es/{styles-OyV9dOII.js → styles-D6YRGiDZ.js} +1 -1
  239. package/omni/es/{styles-B2m8oYtD.js → styles-W7YgB3nI.js} +1 -1
  240. package/package.json +10 -10
  241. package/pent/cjs/index.d.ts +14 -6
  242. package/pent/cjs/index.js +1 -1
  243. package/{tracker → pulse}/cjs/index.d.ts +73 -67
  244. package/{tracker → pulse}/es/index.d.ts +73 -67
  245. package/sa/cjs/index.d.ts +14 -6
  246. package/sa/cjs/index.js +1 -1
  247. package/sa/es/_auto-entry_sa-xdSYfQW3.js +1 -0
  248. package/sa/es/events-Bh-uRJzK.js +1 -0
  249. package/sa/es/index-2luBqlxH.js +1 -0
  250. package/sa/es/{index-JYy4qQG6.js → index-BFsoLtKL.js} +1 -1
  251. package/sa/es/{index-DjrN0SZA.js → index-BH9i-LMX.js} +1 -1
  252. package/{bt/es/index-DKXXF8LP.js → sa/es/index-BOHQ5u1E.js} +1 -1
  253. package/sa/es/{index-YBmHpWiF.js → index-CbLFl7dG.js} +1 -1
  254. package/sa/es/{index-BwYbEx4x.js → index-CqZ_ASgU.js} +1 -1
  255. package/sa/es/index-DMiiKjDB.js +1 -0
  256. package/sa/es/{index-tU1ZiQ84.js → index-DVT2NnVF.js} +1 -1
  257. package/sa/es/index.d.ts +14 -6
  258. package/sa/es/index.js +1 -1
  259. package/sa/es/{styles-D-UU6pn-.js → styles-1N-EyzRS.js} +1 -1
  260. package/sa/es/{styles-h_zr_l4P.js → styles-5ijn5rkW.js} +1 -1
  261. package/sa/es/{styles-B_F8cP4o.js → styles-BHnvSwej.js} +1 -1
  262. package/sa/es/{styles-C89JtUkk.js → styles-BtHbk3d3.js} +1 -1
  263. package/sa/es/{styles-B-0aJxO5.js → styles-CudS_Jfu.js} +1 -1
  264. package/sa/es/{styles-BqdPsBYd.js → styles-D0XZJZ_u.js} +1 -1
  265. package/sa/es/{styles-DHMlzVqk.js → styles-DWR8dexV.js} +1 -1
  266. package/{vg/es/styles-BftlUeQl.js → sa/es/styles-Nf_wFxeb.js} +1 -1
  267. package/{vg/es/styles-oBIOt5yi.js → sa/es/styles-ZN8rvN9i.js} +1 -1
  268. package/sa/es/{styles-CDviFw25.js → styles-_XQZ6Tn3.js} +1 -1
  269. package/sav2/es/_auto-entry_sav2-BVr5g7DJ.js +1 -0
  270. package/sav2/es/events-DAJmyc4h.js +1 -0
  271. package/sav2/es/{index-ChVfVb8c.js → index-B2yiGjA8.js} +1 -1
  272. package/{tvnu/es/index-9zzx0gCz.js → sav2/es/index-B5VFiOMq.js} +1 -1
  273. package/sav2/es/{index-C23z_Fdq.js → index-C15vv8ea.js} +1 -1
  274. package/sav2/es/index-DSty9oAd.js +1 -0
  275. package/{omni/es/index-C6VmXAJr.js → sav2/es/index-FgKAoZ9H.js} +1 -1
  276. package/sav2/es/{index-DcwVCopY.js → index-ilVJq0DX.js} +1 -1
  277. package/{omni/es/index-CjsV26d4.js → sav2/es/index-nGVErSfz.js} +1 -1
  278. package/sav2/es/index-sQz-BGiD.js +1 -0
  279. package/sav2/es/index.d.ts +14 -6
  280. package/sav2/es/index.js +1 -1
  281. package/sav2/es/{styles-8a9zXaFT.js → styles-BPkm8e2X.js} +1 -1
  282. package/sav2/es/{styles-BDOtpcw6.js → styles-BrbD9PGj.js} +1 -1
  283. package/{vgv2/es/styles-BRaFX7WV.js → sav2/es/styles-BxsJsqSj.js} +1 -1
  284. package/{vgv2/es/styles-DdWYCYVG.js → sav2/es/styles-Cfx2vrpe.js} +1 -1
  285. package/{btv2/es/styles-oQ-oCuDf.js → sav2/es/styles-CtG2ZcEn.js} +1 -1
  286. package/sav2/es/{styles-ufHG0oA7.js → styles-CvKXPhnQ.js} +1 -1
  287. package/{btv2/es/styles-B_dmaxLE.js → sav2/es/styles-D4UiNBaQ.js} +1 -1
  288. package/sav2/es/{styles-TjcJMIfU.js → styles-DIa-JALL.js} +1 -1
  289. package/sav2/es/{styles-BdYV3edn.js → styles-Do-nYoLf.js} +1 -1
  290. package/svd/cjs/index.d.ts +14 -6
  291. package/svd/cjs/index.js +1 -1
  292. package/svd/es/_auto-entry_svd-BI_musJH.js +1 -0
  293. package/svd/es/events-AzZqXY1e.js +1 -0
  294. package/svd/es/index-3tXrBnvR.js +1 -0
  295. package/svd/es/{index-qRGuRdwE.js → index-B5qMTXMv.js} +1 -1
  296. package/{e24/es/index-C8tM3PuE.js → svd/es/index-C6AyRPjp.js} +1 -1
  297. package/svd/es/{index-AeCqP2yF.js → index-CiQQfKzW.js} +1 -1
  298. package/svd/es/index-D2pQJkg7.js +1 -0
  299. package/svd/es/{index-EeYKrIpw.js → index-D3Kb5QDm.js} +1 -1
  300. package/svd/es/{index-BH-0-UAm.js → index-DQB77O8y.js} +1 -1
  301. package/svd/es/{index-8Ph4DfEH.js → index-DqQq_CDi.js} +1 -1
  302. package/svd/es/index.d.ts +14 -6
  303. package/svd/es/index.js +1 -1
  304. package/svd/es/{styles-b5Mbel64.js → styles-AM0IHaSl.js} +1 -1
  305. package/svd/es/{styles-D3WtFJrl.js → styles-BHDwNZdf.js} +1 -1
  306. package/svd/es/{styles-BChXpFwa.js → styles-BpTekKgG.js} +1 -1
  307. package/svd/es/{styles-BOkVHh6p.js → styles-DDYRyrMQ.js} +1 -1
  308. package/svd/es/{styles-DnyHMYOV.js → styles-DRe5NfOe.js} +1 -1
  309. package/svd/es/{styles-B5eopUSV.js → styles-DtDS6S5M.js} +1 -1
  310. package/svd/es/{styles-D-LLlesE.js → styles-HgxHSPD5.js} +1 -1
  311. package/svdv2/es/_auto-entry_svdv2-DwTY7gwO.js +1 -0
  312. package/svdv2/es/events-EqTZTo4x.js +1 -0
  313. package/svdv2/es/{index-Dw7hXBBy.js → index-B-j8vFhK.js} +1 -1
  314. package/svdv2/es/{index-CmbZidp2.js → index-BDQkqw2L.js} +1 -1
  315. package/svdv2/es/{index-B-AiFnZ_.js → index-Cisx61f2.js} +1 -1
  316. package/svdv2/es/{index-BXDYT3_1.js → index-CzlQfFXE.js} +1 -1
  317. package/svdv2/es/index-EH8jUH-U.js +1 -0
  318. package/svdv2/es/{index-DLpvDR-I.js → index-G6M1R7mQ.js} +1 -1
  319. package/svdv2/es/{index-zYd4nbC3.js → index-MtFSLZJj.js} +1 -1
  320. package/svdv2/es/index-MvS7LwUU.js +1 -0
  321. package/svdv2/es/index.d.ts +14 -6
  322. package/svdv2/es/index.js +1 -1
  323. package/svdv2/es/{styles-CHpGV0wA.js → styles-B4A3kcMR.js} +1 -1
  324. package/{koket/es/styles-CJJn5fT9.js → svdv2/es/styles-B4mm7Oep.js} +1 -1
  325. package/svdv2/es/{styles-BH67mOg3.js → styles-BWvnhcRh.js} +1 -1
  326. package/svdv2/es/{styles-BJvoH6Jk.js → styles-D2vhLdOF.js} +1 -1
  327. package/{koket/es/styles-CaOTkmnD.js → svdv2/es/styles-D8X2M74O.js} +1 -1
  328. package/svdv2/es/{styles-C6NxggPn.js → styles-DEU4zSc4.js} +1 -1
  329. package/svdv2/es/{styles-Ci4Nbw0U.js → styles-Xi49B3Hp.js} +1 -1
  330. package/svdv2/es/{styles-DOO5Er36.js → styles-giyR-dVh.js} +1 -1
  331. package/tek/cjs/index.d.ts +14 -6
  332. package/tek/cjs/index.js +1 -1
  333. package/tv4/cjs/index.d.ts +14 -6
  334. package/tv4/cjs/index.js +1 -1
  335. package/tv4/es/_auto-entry_tv4-RFlZhi23.js +1 -0
  336. package/tv4/es/events-BvpAX5y8.js +1 -0
  337. package/tv4/es/{index-DwQGPNxM.js → index-B_gbOYij.js} +1 -1
  338. package/{mtv/es/index-3eJV2uf4.js → tv4/es/index-C-UPg3Sf.js} +1 -1
  339. package/tv4/es/index-CNz-Jeu8.js +1 -0
  340. package/tv4/es/{index-BMT26b41.js → index-CRSOPoHX.js} +1 -1
  341. package/tv4/es/{index-CvsR27tZ.js → index-D5SSA8ki.js} +1 -1
  342. package/tv4/es/{index-E2lf1BUb.js → index-DfcQFyBF.js} +1 -1
  343. package/tv4/es/index-j1rVQC5A.js +1 -0
  344. package/tv4/es/{index-Xw6gVmp3.js → index-lvr5lsa1.js} +1 -1
  345. package/tv4/es/index.d.ts +14 -6
  346. package/tv4/es/index.js +1 -1
  347. package/tv4/es/{styles-C04Zu8QC.js → styles-BAB9z9HL.js} +1 -1
  348. package/tv4/es/{styles-lCSubF4z.js → styles-BeHZulse.js} +1 -1
  349. package/tv4/es/{styles-Ctd-ZhYW.js → styles-D0YXoDqA.js} +1 -1
  350. package/{e24/es/styles-MloIpb_Z.js → tv4/es/styles-DrPo1mde.js} +1 -1
  351. package/tv4/es/{styles-dezj9l9t.js → styles-Vvkr2oP2.js} +1 -1
  352. package/tvnu/cjs/index.d.ts +14 -6
  353. package/tvnu/cjs/index.js +1 -1
  354. package/tvnu/es/_auto-entry_tvnu-DXVYaAzG.js +1 -0
  355. package/tvnu/es/events-oee8fOzn.js +1 -0
  356. package/tvnu/es/{index-DxcZwOdu.js → index-7qyef6kD.js} +1 -1
  357. package/tvnu/es/{index-C5hTShPW.js → index-B6N_5RMM.js} +1 -1
  358. package/{btv2/es/index-CAmnFTcf.js → tvnu/es/index-BPqod6Fg.js} +1 -1
  359. package/{sav2/es/index-BjACVq8t.js → tvnu/es/index-BlywnArN.js} +1 -1
  360. package/tvnu/es/{index-OazPvFTJ.js → index-D05ux0EY.js} +1 -1
  361. package/tvnu/es/{index-CFiCKgVo.js → index-DpT18tBb.js} +1 -1
  362. package/tvnu/es/index-qSk_hLIs.js +1 -0
  363. package/tvnu/es/index-xrdb1iaR.js +1 -0
  364. package/tvnu/es/index.d.ts +14 -6
  365. package/tvnu/es/index.js +1 -1
  366. package/tvnu/es/{styles-C8-5xecc.js → styles-BfU3CoTt.js} +1 -1
  367. package/{btv2/es/styles-wKCi4pBU.js → tvnu/es/styles-Bhct-6Vu.js} +1 -1
  368. package/tvnu/es/{styles-BDIRHptp.js → styles-C6nHIAXx.js} +1 -1
  369. package/tvnu/es/{styles-Cmst0_AX.js → styles-FoXQhZqd.js} +1 -1
  370. package/types/index.d.ts +14 -6
  371. package/vg/cjs/index.d.ts +14 -6
  372. package/vg/cjs/index.js +1 -1
  373. package/vg/es/_auto-entry_vg-DQLWY_R2.js +1 -0
  374. package/vg/es/events-B7q-NF9U.js +1 -0
  375. package/vg/es/{index-B1W-5bVk.js → index-BKtVhTvs.js} +1 -1
  376. package/vg/es/{index-C_4WJjcD.js → index-Bbk2lzFF.js} +1 -1
  377. package/vg/es/{index-BRtI2l1B.js → index-CyBOJwBu.js} +1 -1
  378. package/vg/es/{index-dtOp4Ft_.js → index-DAsq1Ptc.js} +1 -1
  379. package/vg/es/{index-DmMlC8yI.js → index-DHJNarUV.js} +1 -1
  380. package/vg/es/{index-BHzyngn6.js → index-DUIWPX_1.js} +1 -1
  381. package/vg/es/{index-Cq6BvtL_.js → index-ZZ4ShVz0.js} +1 -1
  382. package/vg/es/index-z2xfgR2S.js +1 -0
  383. package/vg/es/index.d.ts +14 -6
  384. package/vg/es/index.js +1 -1
  385. package/vg/es/{styles-C3VlGdBE.js → styles-B3WKPeMn.js} +1 -1
  386. package/vg/es/{styles-BRmjwW06.js → styles-B6g2m-ot.js} +1 -1
  387. package/vg/es/{styles-FCeEywSP.js → styles-BSkyRlcf.js} +1 -1
  388. package/vg/es/{styles-DtXm-Ref.js → styles-B_t2SZht.js} +1 -1
  389. package/vg/es/{styles-3vINy5hq.js → styles-B_xJTnKq.js} +1 -1
  390. package/vg/es/{styles-D5X2JwN6.js → styles-BhJlPd_Z.js} +1 -1
  391. package/{bt/es/styles-DATz2nfg.js → vg/es/styles-C3TeyIFu.js} +1 -1
  392. package/vg/es/{styles-B2_Ei2-8.js → styles-CE3Cldo6.js} +1 -1
  393. package/vg/es/{styles-C0TalB3F.js → styles-CMiS8G2G.js} +1 -1
  394. package/vg/es/{styles-BMzmUOJN.js → styles-CTsUdOeH.js} +1 -1
  395. package/vg/es/{styles-CuM4XL4r.js → styles-Dalw-rfT.js} +1 -1
  396. package/vg/es/{styles-BynvHO9c.js → styles-Ddwl9FKA.js} +1 -1
  397. package/vg/es/{styles-Ctk7QEVg.js → styles-JHiG-CVa.js} +1 -1
  398. package/vg/es/{styles-Ca-_g_6k.js → styles-efoK-usP.js} +1 -1
  399. package/{sa/es/styles-Dr725TOe.js → vg/es/styles-o63Bc_9O.js} +1 -1
  400. package/vg/es/{styles-D4eGgyZx.js → styles-qdbBzoLB.js} +1 -1
  401. package/vgv2/es/_auto-entry_vgv2-C7nbSyxw.js +1 -0
  402. package/vgv2/es/events-Dp1vC5Bd.js +1 -0
  403. package/vgv2/es/{index-CafbPF86.js → index-47v0nNpx.js} +1 -1
  404. package/vgv2/es/index-BFxrXWGC.js +1 -0
  405. package/vgv2/es/{index-xGSpaSdE.js → index-BlGWO9BO.js} +1 -1
  406. package/vgv2/es/{index-C-vtYSIl.js → index-CGqa79bg.js} +1 -1
  407. package/vgv2/es/{index-ApiYb4Jt.js → index-Cb0l1qxT.js} +1 -1
  408. package/vgv2/es/{index-ClLzNthF.js → index-CuJ--u5F.js} +1 -1
  409. package/vgv2/es/{index-CHpRUEKy.js → index-D-Qw-Ctt.js} +1 -1
  410. package/vgv2/es/index-DGAfzfRX.js +1 -0
  411. package/vgv2/es/index.d.ts +14 -6
  412. package/vgv2/es/index.js +1 -1
  413. package/vgv2/es/{styles-DH1S9E-P.js → styles-BBKEaIU9.js} +1 -1
  414. package/vgv2/es/{styles-jcmV6KpN.js → styles-BnIMZIgM.js} +1 -1
  415. package/vgv2/es/{styles-Xi9QM1Ib.js → styles-Brmtqrkz.js} +1 -1
  416. package/vgv2/es/{styles-sUixzFmN.js → styles-BwBie4YA.js} +1 -1
  417. package/vgv2/es/{styles-DORfMAqC.js → styles-C00b6ch1.js} +1 -1
  418. package/vgv2/es/{styles-DHYmekJh.js → styles-CNv9QjiT.js} +1 -1
  419. package/{btv2/es/styles-CJqhpmvB.js → vgv2/es/styles-CWknyZKE.js} +1 -1
  420. package/vgv2/es/{styles-XevVA7vP.js → styles-CeT_UM3Q.js} +1 -1
  421. package/vgv2/es/{styles-DRZLQWC9.js → styles-CeubT2mO.js} +1 -1
  422. package/{tvnu/es/styles-CdRqPKMc.js → vgv2/es/styles-Cwzu6dls.js} +1 -1
  423. package/{sav2/es/styles-DG_UYGmv.js → vgv2/es/styles-D5b2Ytdl.js} +1 -1
  424. package/vgv2/es/{styles-C-KCy1Kj.js → styles-DSR-holV.js} +1 -1
  425. package/vgv2/es/{styles-D0HFCOfi.js → styles-DXAwvzMq.js} +1 -1
  426. package/vgv2/es/{styles-BsM7FFsM.js → styles-Dm2TCMhS.js} +1 -1
  427. package/vgv2/es/styles-b420Zw-n.js +1 -0
  428. package/vgv2/es/{styles-B3tp8X5j.js → styles-cyu8frWQ.js} +1 -1
  429. package/aftenposten/es/_auto-entry_aftenposten-b0y6e9cl.js +0 -1
  430. package/aftenposten/es/events-DPNnYlfA.js +0 -1
  431. package/aftenposten/es/index-CN2oVSgJ.js +0 -1
  432. package/aftenposten/es/index-DHc_dP2Z.js +0 -1
  433. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BLiPUAZ4.js +0 -1
  434. package/aftenpostenv2/es/events-DvmFMPMT.js +0 -1
  435. package/aftenpostenv2/es/index-3Qxcwyk4.js +0 -1
  436. package/aftenpostenv2/es/index-CYSeTeEv.js +0 -1
  437. package/aftonbladet/es/_auto-entry_aftonbladet-Bjlb4roy.js +0 -1
  438. package/aftonbladet/es/events-BajOdJr2.js +0 -1
  439. package/aftonbladet/es/index-BrjN2etN.js +0 -1
  440. package/aftonbladet/es/index-Cmwj6Oyf.js +0 -1
  441. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-Bm4ucKUa.js +0 -1
  442. package/aftonbladetv2/es/events-BoHrcmNf.js +0 -1
  443. package/aftonbladetv2/es/index-D2cSv_ZE.js +0 -1
  444. package/aftonbladetv2/es/index-XIy7hYZP.js +0 -1
  445. package/bt/es/_auto-entry_bt-DZ1dqndN.js +0 -1
  446. package/bt/es/events-tSdmJX0c.js +0 -1
  447. package/bt/es/index-XfeF_trd.js +0 -1
  448. package/bt/es/index-lKXFyrjV.js +0 -1
  449. package/btv2/es/_auto-entry_btv2-DHXIwMdb.js +0 -1
  450. package/btv2/es/events-Dy3xkIfQ.js +0 -1
  451. package/btv2/es/index-D1XmRKBk.js +0 -1
  452. package/btv2/es/index-DiDbJpSB.js +0 -1
  453. package/e24/es/_auto-entry_e24-Ccim4RT9.js +0 -1
  454. package/e24/es/events-Dsfcuo7x.js +0 -1
  455. package/e24/es/index-DllTZl0h.js +0 -1
  456. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-Bmf_9elh.js +0 -1
  457. package/fotbollskanalen/es/events-Cpw3ehR3.js +0 -1
  458. package/fotbollskanalen/es/index-Bs07rQzu.js +0 -1
  459. package/fotbollskanalen/es/index-CtOzQCgD.js +0 -1
  460. package/koket/es/_auto-entry_koket-BX9WzHD2.js +0 -1
  461. package/koket/es/events-Dp2GC5Vw.js +0 -1
  462. package/koket/es/index-BcMo8ZRV.js +0 -1
  463. package/koket/es/index-DGiTI497.js +0 -1
  464. package/mtv/es/events-DKT9xuzN.js +0 -1
  465. package/mtv/es/index-DRw9YeDg.js +0 -1
  466. package/mtv/es/index-DvOGa6J_.js +0 -1
  467. package/omni/es/_auto-entry_omni-h74CS6jz.js +0 -1
  468. package/omni/es/events-DGa3i45v.js +0 -1
  469. package/omni/es/index-CiPdtUk_.js +0 -1
  470. package/omni/es/index-D-UZw0Ix.js +0 -1
  471. package/sa/es/_auto-entry_sa-DtF0Jp_m.js +0 -1
  472. package/sa/es/events-t6Dioh-2.js +0 -1
  473. package/sa/es/index-B2H4G3ec.js +0 -1
  474. package/sa/es/index-DGgiXu9v.js +0 -1
  475. package/sav2/es/_auto-entry_sav2-B988cMVA.js +0 -1
  476. package/sav2/es/events-BH3lVEmT.js +0 -1
  477. package/sav2/es/index-DG0pgqM3.js +0 -1
  478. package/sav2/es/index-oDkS5sGI.js +0 -1
  479. package/svd/es/_auto-entry_svd-B3OGyfzI.js +0 -1
  480. package/svd/es/events-DRX-i4s2.js +0 -1
  481. package/svd/es/index-DykSatgR.js +0 -1
  482. package/svd/es/index-wtkCMbUC.js +0 -1
  483. package/svdv2/es/_auto-entry_svdv2-f1IlGTNa.js +0 -1
  484. package/svdv2/es/events-CXtnujik.js +0 -1
  485. package/svdv2/es/index-DJM2OdYx.js +0 -1
  486. package/svdv2/es/index-a1M3M8Wp.js +0 -1
  487. package/tv4/es/_auto-entry_tv4-CQCQFWRY.js +0 -1
  488. package/tv4/es/events-CpiHfOZJ.js +0 -1
  489. package/tv4/es/index-DBPML9U9.js +0 -1
  490. package/tv4/es/index-KoUFIm4v.js +0 -1
  491. package/tvnu/es/_auto-entry_tvnu-Dlrnxn0a.js +0 -1
  492. package/tvnu/es/events-DTV23Jiy.js +0 -1
  493. package/tvnu/es/index-CkKHFPG2.js +0 -1
  494. package/tvnu/es/index-vqrL4y93.js +0 -1
  495. package/vg/es/_auto-entry_vg-DxRZkQt7.js +0 -1
  496. package/vg/es/events-BpqeJPlQ.js +0 -1
  497. package/vg/es/index-446mhKqk.js +0 -1
  498. package/vgv2/es/_auto-entry_vgv2-DXKn5yIm.js +0 -1
  499. package/vgv2/es/events-BFEoOcat.js +0 -1
  500. package/vgv2/es/index-9Lax4_hx.js +0 -1
  501. package/vgv2/es/index-BgS-z4vY.js +0 -1
  502. package/vgv2/es/styles-eIQqqEL1.js +0 -1
  503. /package/{tracker → pulse}/cjs/index.js +0 -0
  504. /package/{tracker → pulse}/es/index.js +0 -0
@@ -0,0 +1 @@
1
+ import{o as t,H as e,c as s,I as r,f as a,A as n,J as i,K as o,L as c,M as l}from"./_auto-entry_mtv-B453H7Ed.js";import"react/jsx-runtime";class d extends t{constructor(t,e){var s;super(t.pulse.instance,null!==(s=t.pageContext.publisher)&&void 0!==s?s:""),this.blinkParams=t,this.targetId=e}getTargetId(){return this.targetId}computeInvCode(){const{pageContext:{deviceType:t},placements:s}=this.blinkParams;if(t)return e(t,this.targetId,s)}buildAdObject(){const t=d.extractAdFormat(this.targetId);return{objectId:this.targetId,objectSdrn:`sdrn:${this.publisher}:ad-slot:${t}`,platform:"blink",adFormat:t}}}const u=(t,e)=>{const{siteSpecificConfig:{publisherClassName:o}={},pageContext:{pageType:c},pulse:l}=s.get(),u=document.querySelector(`#${t}`);if(!u)return;if(u.classList.add(r),(null==l?void 0:l.instance)&&l.adTrackingEnabled){const e=new d(s.get(),t);e.trackLoad(),e.trackImpression(),u.addEventListener("click",()=>e.trackEngagement())}a(o,u,n.FINN_BLINK,null!=e?e:c);i({preferredTestIdData:{targetId:t,testId:"finn"}})},p=t=>{const{fullscreenScroll:e}=s.get(),{initNativeAd:r}=s.getHandlers();o(t)&&c(t,e),l(t)&&(null==r||r(t,s.get()))},g=t=>{const{pageContext:{publisher:e=""}}=s.get(),r=document.querySelector(`#${t}`);if(!r)return;const a=`-${e}`;r.classList.remove(`advertory${a}-finn-blink`),r.classList.remove(`advertory${a}-finn-blink-wrapper`)};export{p as displaySpecialFormatsForFinnFallback,u as finnBlinkLoaded,g as xandrAdLoaded};
@@ -1 +1 @@
1
- import{T as e,v as o,D as t,c as r,w as l,_ as s,x as a,y as n,z as c,B as d,E as i}from"./_auto-entry_tv4-CQCQFWRY.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
+ 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_mtv-B453H7Ed.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]()},m=(o,t=!0)=>{(o===e.WELCOME_PAGE||o===e.TOPSCROLLER)&&(e=>{e?setTimeout(()=>window.scrollTo(0,0),100):window.scrollTo(0,10)})(t)},w=()=>{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),w(),(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),w(),o},L=e=>{const o=e.querySelector(".advertory-splash-navbar-wrapper");o&&((e=>{const o=o=>{["Enter","Escape"].includes(o.key)&&f(e)};w(),b(e,"keydown",o)})(e),E(e),w(),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&&m(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&&m(u,!0),c(o,u)});export{M as createTakeoverAd,P as modifyTakeoverAdContent,R as modifyTakeoverIframe};
@@ -0,0 +1 @@
1
+ import{c as e,t,v as o}from"./_auto-entry_mtv-B453H7Ed.js";import"react/jsx-runtime";const r=1e4,n=e=>e.some(e=>e.some(e=>!!e&&t(e,0)));let s;const i=()=>{const{widescreenSwitching:t}=e.get(),{enabled:i,options:{rotationInterval:a=r,widescreenIdPrefix:c}={}}=null!=t?t:{};if(!i)return;const l=((t="widescreen")=>{const{pageSectionsSelectors:{right:o}={}}=e.get();return o?Array.from(document.querySelectorAll(o)).map(e=>Array.from(e.querySelectorAll(`div[id^="${t}"]`))):[]})(c);let y=0,p=Date.now(),d=n(l);if(!l.length)return;s&&window.removeEventListener("scroll",s);const m=(e,t,o)=>{e.forEach(e=>{e&&e.style.setProperty(t,o)})},w=e=>1===e?0:1;(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="")})})(l);const u=o(()=>{d||(d=n(l)||d,p=Date.now());Date.now()-p>=a&&((()=>{const e=w(y),t=l.map(e=>e[y]),o=l.map(t=>t[e]);m(t,"opacity","0"),setTimeout(()=>{m(t,"display","none"),m(o,"opacity","0"),m(o,"display","block"),setTimeout(()=>{m(o,"opacity","1")},450)},450)})(),y=w(y),p=Date.now())},1e3);s=u,window.addEventListener("scroll",u)};export{i as initWidescreenSwitching};
@@ -0,0 +1 @@
1
+ import{o as t,w as e,C as n,_ as a,l as r,p as i,q as s,r as o,h as l,N as d}from"./_auto-entry_mtv-B453H7Ed.js";import{jsxs as c,jsx as u}from"react/jsx-runtime";class g{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let n;if(n=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!n)return[];const{host:a,pathname:r}=new URL(n);if(!a.includes("www.vg.no")&&!r.includes("annonsorinnhold"))return[n];const i=r.split("/");return i.length?[...i.filter(Boolean).slice(1).map(t=>t),n]:[n]}}class p{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}const v="[data-k5a-teaser-analytics]";class m extends t{constructor(t,e,n,a){super(t,""),this.root=e,this.newsroomStrategy=n,this.pageType=a}getTargetId(){return this.root.id}buildAdObject(){return this.getEventInput("view")}parseKilkayaData(){const t=this.root.querySelector("article");if(!t)return{};const e=t.dataset.k5aTeaserAnalytics;try{return e?JSON.parse(e):{}}catch(t){return{}}}mapPageType(t){var e;return null!==(e={front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[null!=t?t:"front"])&&void 0!==e?e:"Frontpage"}getArticleId(){var t;return null!==(t=location.pathname.split("/").slice(-2,-1).pop())&&void 0!==t?t:""}getPlacementData(){var t,e;const n=this.root.closest(".kilkaya-wrapper");return{columnName:null!==(t=null==n?void 0:n.dataset.pulseColumnname)&&void 0!==t?t:"",primaryPosition:Number(null==n?void 0:n.dataset.pulsePrimaryposition)||0,secondaryPosition:Number(null==n?void 0:n.dataset.pulseSecondaryposition)||0,slot:null!==(e=null==n?void 0:n.dataset.slotTag)&&void 0!==e?e:""}}getEventTarget(){const{link:t,itemId:e,title:n}=this.parseKilkayaData();return{id:e,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:t}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}waitForAnalyticsData(t){const e=this.root.querySelector(v);if(Boolean(null==e?void 0:e.dataset.k5aTeaserAnalytics))return void t();const n=new MutationObserver(()=>{const e=this.root.querySelector(v);Boolean(null==e?void 0:e.dataset.k5aTeaserAnalytics)&&(n.disconnect(),t())});n.observe(this.root,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]})}trackLoad(){}trackImpression(){e(this.root,()=>this.waitForAnalyticsData(()=>{var t,e;const n=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:this.parseKilkayaData().placement}});window.dispatchEvent(n);const a=this.getEventInput("view");this.pulse.trackLegacyViewUIElement?this.pulse.trackLegacyViewUIElement(a):this.pulse.trackViewUIElement?this.pulse.trackViewUIElement(a):null===(e=(t=this.pulse).trackElementView)||void 0===e||e.call(t,a)}))}trackEngagement(t){var e,n;const a=this.getEventInput("click");this.pulse.trackLegacyClickUIElement?this.pulse.trackLegacyClickUIElement(a):this.pulse.trackClickUIElement?this.pulse.trackClickUIElement(a):null===(n=(e=this.pulse).trackElementClick)||void 0===n||n.call(e,a)}}class h extends m{getEventBaseData(){var t,e,n,a;const{clientName:r,creativeId:i,itemId:s,placement:o}=this.parseKilkayaData(),{primaryPosition:l,secondaryPosition:d,slot:c}=this.getPlacementData(),u=this.mapPageType(this.pageType),g=null===(t=this.newsroomStrategy)||void 0===t?void 0:t.getPulsePageId(null!==(e=this.pageType)&&void 0!==e?e:"front",this.getArticleId());return Object.assign(Object.assign({},s&&{"@id":`sdrn:kilkaya:teaser:${s}`}),{"@type":"UIElement",position:o,elementType:"Article",custom:{customer:r,creativeId:null!=i?i:s},page:{"@id":null!=g?g:o,"@type":u,url:location.origin},placement:{primaryPosition:l,secondaryPosition:d,source:c},tags:null===(a=null===(n=this.newsroomStrategy)||void 0===n?void 0:n.getTags)||void 0===a?void 0:a.call(n,this.root)})}getEventInput(t){return{object:this.getEventBaseData(),partnerstudio:this.getEventPartnerstudioData(t),target:this.getEventTarget(),provider:this.getProviderData()}}getEventPartnerstudioData(t){return Object.assign(Object.assign({},this.parseKilkayaData()),{type:t,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}class y extends m{getEventBaseData(){var t,e;const{title:n="",clientName:a="",creativeId:r="",link:i="",itemId:s=""}=this.parseKilkayaData(),{columnName:o,primaryPosition:l,secondaryPosition:d,slot:c}=this.getPlacementData(),u={publicUrl:i,urlPath:i?new URL(i).pathname:""},{publicUrl:g,urlPath:p}=i&&(null===(e=null===(t=this.newsroomStrategy)||void 0===t?void 0:t.transformUrl)||void 0===e?void 0:e.call(t,i))||u;return Object.assign(Object.assign({},s&&{"@id":`sdrn:kilkaya:teaser:${s}`}),{"@type":"UIElement",elementType:"Teaser",layout:{elementSize:"large",imageUrl:"",name:"large"},name:n,placement:{columnName:o,primaryPosition:l,secondaryPosition:d,source:c},tags:[a,n,g,p].filter(Boolean),"spt:custom":{is_sponsored:!0,sponsor:a,"spt:creativeId":r,pageTitle:n,publicUrl:g,urlPath:p},url:location.origin})}getEventInput(t){return{object:this.getEventBaseData(),target:this.getEventTarget()}}}class k{constructor(t){this.identity=t,this.getIdentityUser=this.getIdentityUser.bind(this),this.isUserLoggedIn=this.isUserLoggedIn.bind(this),this.onIdentityLogout=this.onIdentityLogout.bind(this)}getIdentityUser(){return a(this,void 0,void 0,function*(){var t;try{const e=yield null===(t=this.identity)||void 0===t?void 0:t.getUser();return null!=e?e:null}catch(t){return r("[Privacy Broker] User is not logged in."),null}})}isUserLoggedIn(){return a(this,void 0,void 0,function*(){var t,e;return null!==(e=yield null===(t=this.identity)||void 0===t?void 0:t.isLoggedIn())&&void 0!==e&&e})}onIdentityLogout(t){var e;null===(e=this.identity)||void 0===e||e.on("logout",t)}}const f=/^glci_/,b="gender_",I="geo_",w="male",P="female",E=()=>a(void 0,void 0,void 0,function*(){try{const e=yield(t=500,a(void 0,void 0,void 0,function*(){return Promise.race([a(void 0,void 0,void 0,function*(){return yield new Promise(t=>{if("undefined"!=typeof window)if(window.Identity)t(window.Identity);else{const e=()=>{t(window.Identity)};window.addEventListener("identity-initialized",e,{once:!0})}else t(void 0)})}),new Promise(e=>setTimeout(()=>e(void 0),t))])})),n=new k(e),r=yield n.getIdentityUser(),{gender:i}=null!=r?r:{};return i===w||i===P?`${b}${i}`:void 0}catch(t){return}var t}),T=()=>a(void 0,void 0,void 0,function*(){const t=[],e=yield E(),n=(()=>{const t=i().map(t=>`${I}${t.replace(f,"")}`);return Array.from(new Set(t))})();return e&&t.push(e),n&&t.push(...n),t}),U="front";class S{getPulseObjectId(){return"sdrn:e24:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===U?"sdrn:e24:frontpage:front":`sdrn:e24:article:${e}`}getTags(t){var e;let n;if(n=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!n)return[];if(!n.includes("https://e24.no/annonsorinnhold/"))return[n];const{pathname:a}=new URL(n),r=a.split("/").filter(Boolean);return r.length?[...r.slice(1),n]:[n]}}class A{getPulseObjectId(){return"sdrn:aftenposten:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:aftenposten:frontpage:Frontpage"}}class L{getPulseObjectId(){return"sdrn:bt:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:bt:frontpage:Frontpage"}}class j{getPulseObjectId(){return"sdrn:stavangeraftenblad:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:stavangeraftenblad:frontpage:Frontpage"}}class D{transformUrl(t){const{hostname:e,pathname:n}=new URL(t);return"brand-studio.svd.se"===e?{publicUrl:`https://svd.se/brand-studio${n}`,urlPath:`/brand-studio${n}`}:{publicUrl:t,urlPath:n}}getPulseObjectId(){return"sdrn:svdse:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===U?"sdrn:svdse:frontpage:front":`sdrn:svdse:article:${e}`}}class O{transformUrl(t){const{hostname:e,pathname:n}=new URL(t);return"brand-studio.aftonbladet.se"===e?{publicUrl:`https://aftonbladet.se/brand-studio${n}`,urlPath:`/brand-studio${n}`}:{publicUrl:t,urlPath:n}}getPulseObjectId(){return""}getPulsePageId(){return""}}class K{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a,countryCode:r}}){if(!(null==t?void 0:t.instance))return;const i={[d.VG]:new g,[d.E24]:new S,"no-aftenposten":new A,[d.BT]:new L,"no-bergenstidende":new L,[d.SA]:new j,"no-stavangeraftenblad":new j,[d.SVD]:new D,[d.AFTONBLADET]:new O}[a]||new p;((t,e,a,r)=>{const i=document.querySelectorAll("k5a-stream");i.length&&i.forEach(i=>{const s=r===n.SE?new y(t,i,e):new h(t,i,e,a);s.trackImpression(),i.addEventListener("click",()=>s.trackEngagement())})})(t.instance,i,e,r)}injectKilkayaMeta(t){return a(this,void 0,void 0,function*(){const e=document.createElement("script"),n=yield T();e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ${JSON.stringify(n)} };`,document.head.appendChild(e)})}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var e;const n=null===(e=null==t?void 0:t.detail)||void 0===e?void 0:e.streamSlot;if(r(`Kilkaya event for slot: ${n}`),!n)return void r("Kilkaya slot empty, Xandr backfill won't be loaded");const a=n.parentElement;a?(r(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(a)):r("Kilkaya parent slot empty, Xandr backfill won't be loaded")})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="flex";const a=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";s(a)}loadKilkayaScript(t){return a(this,void 0,void 0,function*(){yield o(t)})}run(t){return a(this,void 0,void 0,function*(){var e,n;const{tcf:a,pageContext:{isMobileApp:r,countryCode:i},kilkaya:s}=t;if(!(null==s?void 0:s.enabled))return;const o=yield l(a,r,i,"kilkaya");this.observeForKilkayaBackfills(),yield this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(n=null===(e=s.options)||void 0===e?void 0:e.kilkayaUrl)&&void 0!==n?n:""),this.handleKilkayaStreamTracking(t)})}}const $=({placementName:t,slotTag:e,fallbackTargetId:n,children:a,pulseData:r,htmlAttributes:i})=>{const s=(t,e)=>{const n={};if(!t)return n;for(const[a,r]of Object.entries(t)){n[e?`${e}-${a}`:a]=String(r)}return n},o=s(r,"data-pulse"),l=s(i,"data");return c("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"},"data-slot-tag":e},o,l,{children:[u("div",{className:"inscreen-target"}),u("k5a-stream",{name:t,"slot-tag":e}),u("div",{className:"container"}),u("div",{className:"fallback","data-fallback-target-id":n,style:{display:"none"},children:a})]}))},B=t=>a(void 0,void 0,void 0,function*(){const e=new K;yield e.run(t)});export{$ as Kilkaya,B as runKilkaya};
@@ -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_mtv-B3cjM82G.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-DKT9xuzN.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};
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_mtv-B453H7Ed.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-D1J-nlHl.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};
@@ -1 +1 @@
1
- import{c as t,K as e,l as n}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const i=(t,e)=>{e.left&&(t.style.left=e.left),e.marginLeft&&(t.style.marginLeft=e.marginLeft)},l=(n,l,r)=>{var o,a;const d=document.querySelector(`#${n.targetId}`),{siteSpecificConfig:{publisherClassName:s,fullWidthFormatClassName:u}={},fullWidth:c,pageContext:{deviceType:f}}=t.get();if(!d)return null;const p=d.parentElement,m=e(f)||r;if(d.style.width=m?"100vw":"100%",d.style.position="relative",p&&(p.style.width=m?"100vw":"100%",p.style.position="relative"),s&&u){const t=`advertory-${s}-${u}`;d.classList.add(`${t}__${l}`),null==p||p.classList.add(`${t}-wrapper__${l}`)}const v=null===(a=null===(o=null==c?void 0:c.options)||void 0===o?void 0:o.styles)||void 0===a?void 0:a[f],y=(null==c?void 0:c.enabled)&&v;return!y&&p&&m&&(p.style.left="50%",p.style.marginLeft="-50vw"),y&&v.adContainer&&i(d,v.adContainer),y&&v.adContainerWrapper&&p&&i(p,v.adContainerWrapper),d},r=(t,e,i,r,o)=>{var a;const d=l(t,r,o);if(!d)return void n("[Ad full width] adContainer not found");const s=d.querySelector("iframe"),u=null==s?void 0:s.parentElement;if(!s||!u)return void n("[Ad full width] iframe or iframeWrapper not found");const c=parseFloat(window.getComputedStyle(d,"::before").height)||0,f="undefined"!=typeof CSS&&CSS.supports("transform","scale(calc(100vw / 1080px))")?`calc(100vw / ${e}px)`:String((null===(a=null===document||void 0===document?void 0:document.documentElement)||void 0===a?void 0:a.clientWidth)/e);n(`[Ad full width] ratioWidth ${e}, ratioHeight ${i}, adObjWidth: ${t.width}, scaleFactor ${f}`),u.style.transform=`scale(${f})`,u.style.transformOrigin="left top",d.style.height=`calc(100vw / ${e} * ${i} + ${c}px)`},o=n=>{const i=l(n,"fullwidth-ad",!1);if(!i)return;const r=i.querySelector("iframe");if(!r)return;const{deviceType:o}=t.get().pageContext;r.style.width=e(o)?"100vw":"100%",(null==r?void 0:r.parentElement)&&(r.parentElement.style.width=e(o)?"100vw":"100%")},a=t=>{r(t,1080,1920,"ninesixteen-ad",!0)},d=t=>{r(t,1080,1080,"fullsquare-ad",!0)};export{d as applyFullsquareFormat,o as applyFullwidthFormat,a as applyNinesixteenFormat};
1
+ import{c as t,O as e,l as n}from"./_auto-entry_mtv-B453H7Ed.js";import"react/jsx-runtime";const i=(t,e)=>{e.left&&(t.style.left=e.left),e.marginLeft&&(t.style.marginLeft=e.marginLeft)},l=(n,l,r)=>{var o,a;const d=document.querySelector(`#${n.targetId}`),{siteSpecificConfig:{publisherClassName:s,fullWidthFormatClassName:u}={},fullWidth:c,pageContext:{deviceType:f}}=t.get();if(!d)return null;const p=d.parentElement,m=e(f)||r;if(d.style.width=m?"100vw":"100%",d.style.position="relative",p&&(p.style.width=m?"100vw":"100%",p.style.position="relative"),s&&u){const t=`advertory-${s}-${u}`;d.classList.add(`${t}__${l}`),null==p||p.classList.add(`${t}-wrapper__${l}`)}const v=null===(a=null===(o=null==c?void 0:c.options)||void 0===o?void 0:o.styles)||void 0===a?void 0:a[f],y=(null==c?void 0:c.enabled)&&v;return!y&&p&&m&&(p.style.left="50%",p.style.marginLeft="-50vw"),y&&v.adContainer&&i(d,v.adContainer),y&&v.adContainerWrapper&&p&&i(p,v.adContainerWrapper),d},r=(t,e,i,r,o)=>{var a;const d=l(t,r,o);if(!d)return void n("[Ad full width] adContainer not found");const s=d.querySelector("iframe"),u=null==s?void 0:s.parentElement;if(!s||!u)return void n("[Ad full width] iframe or iframeWrapper not found");const c=parseFloat(window.getComputedStyle(d,"::before").height)||0,f="undefined"!=typeof CSS&&CSS.supports("transform","scale(calc(100vw / 1080px))")?`calc(100vw / ${e}px)`:String((null===(a=null===document||void 0===document?void 0:document.documentElement)||void 0===a?void 0:a.clientWidth)/e);n(`[Ad full width] ratioWidth ${e}, ratioHeight ${i}, adObjWidth: ${t.width}, scaleFactor ${f}`),u.style.transform=`scale(${f})`,u.style.transformOrigin="left top",d.style.height=`calc(100vw / ${e} * ${i} + ${c}px)`},o=n=>{const i=l(n,"fullwidth-ad",!1);if(!i)return;const r=i.querySelector("iframe");if(!r)return;const{deviceType:o}=t.get().pageContext;r.style.width=e(o)?"100vw":"100%",(null==r?void 0:r.parentElement)&&(r.parentElement.style.width=e(o)?"100vw":"100%")},a=t=>{r(t,1080,1920,"ninesixteen-ad",!0)},d=t=>{r(t,1080,1080,"fullsquare-ad",!0)};export{d as applyFullsquareFormat,o as applyFullwidthFormat,a as applyNinesixteenFormat};
@@ -1 +1 @@
1
- import{L as e,M as t,O as n,c as r,P as o,S as i,Q as d}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const s=(e,t)=>{const n=e.width,r=(null!=t?t:window.screen.width)/n;return r<1?r:1},l=(e,t=window.screen.width,n,r)=>{const o=s(e,t);if(n&&n(e,o),r)return void r(e);const i=document.querySelector(`iframe[id^="utif_${e.targetId}"]`);i&&(i.style.transform=`scale(${o})`,i.style.transformOrigin="left top")},c=(e,t)=>{if(e&&t)return t/e},a=new Map;a.set("insider",{scale:.82,transformOrigin:"left center",cogwheelAdjust:!0}),a.set("panorama",{scale:.79,transformOrigin:"center center"}),a.set("outstream",{scale:.79,transformOrigin:"center center"}),a.set("integration",{scale:.79,transformOrigin:"center center"}),a.set("toppanorama",{scale:.8,transformOrigin:"left center"});const u=r=>{if(!((null===(o=null===document||void 0===document?void 0:document.body)||void 0===o?void 0:o.clientWidth)>e&&(null===(i=null===document||void 0===document?void 0:document.body)||void 0===i?void 0:i.clientWidth)<=t))return;var o,i;const d=n(r),s=a.get(d),l=document.querySelector(`#${r.targetId}`);if(!l||!s)return;if(l.style.transformOrigin=s.transformOrigin,l.style.transform=`scale(${s.scale})`,!(null==s?void 0:s.cogwheelAdjust))return;const c=document.querySelector(`div[class*="gdpr-cogwheel-button"][id$="${r.targetId}"]`),u=null==l?void 0:l.offsetWidth;c&&"number"==typeof u&&!isNaN(u)&&c.style.setProperty("right",String(-1*u*.2)+"px")},f=e=>{var t,n,s,c,a,u;const{adScaleConfig:f,pageContext:{deviceType:m}}=r.get();if(!(null==f?void 0:f.enabled))return;if(o(e,i.ANY_FULLSCREEN))return;const v=null!==(t=f.adsToBeScaled[m])&&void 0!==t?t:[],g=d(e.targetId.split("-")[0]);if(!v.includes(g))return;const w=null!==(s=null===(n=f.offset)||void 0===n?void 0:n[g])&&void 0!==s?s:0,p=document.getElementById(e.targetId),y=null!==(c=null==p?void 0:p.offsetWidth)&&void 0!==c?c:window.screen.width,h=null!==(u=null===(a=null==p?void 0:p.parentElement)||void 0===a?void 0:a.offsetWidth)&&void 0!==u?u:window.screen.width;l(e,(y<h?y:h)-w)};export{s as calculateScaleFactor,c as getAspectRatio,l as scaleAd,u as scaleAdIpadAirPortrait,f as scaleAds};
1
+ import{P as e,Q as t,R as n,c as r,S as o,U as i,V as d}from"./_auto-entry_mtv-B453H7Ed.js";import"react/jsx-runtime";const s=(e,t)=>{const n=e.width,r=(null!=t?t:window.screen.width)/n;return r<1?r:1},l=(e,t=window.screen.width,n,r)=>{const o=s(e,t);if(n&&n(e,o),r)return void r(e);const i=document.querySelector(`iframe[id^="utif_${e.targetId}"]`);i&&(i.style.transform=`scale(${o})`,i.style.transformOrigin="left top")},c=(e,t)=>{if(e&&t)return t/e},a=new Map;a.set("insider",{scale:.82,transformOrigin:"left center",cogwheelAdjust:!0}),a.set("panorama",{scale:.79,transformOrigin:"center center"}),a.set("outstream",{scale:.79,transformOrigin:"center center"}),a.set("integration",{scale:.79,transformOrigin:"center center"}),a.set("toppanorama",{scale:.8,transformOrigin:"left center"});const u=r=>{if(!((null===(o=null===document||void 0===document?void 0:document.body)||void 0===o?void 0:o.clientWidth)>e&&(null===(i=null===document||void 0===document?void 0:document.body)||void 0===i?void 0:i.clientWidth)<=t))return;var o,i;const d=n(r),s=a.get(d),l=document.querySelector(`#${r.targetId}`);if(!l||!s)return;if(l.style.transformOrigin=s.transformOrigin,l.style.transform=`scale(${s.scale})`,!(null==s?void 0:s.cogwheelAdjust))return;const c=document.querySelector(`div[class*="gdpr-cogwheel-button"][id$="${r.targetId}"]`),u=null==l?void 0:l.offsetWidth;c&&"number"==typeof u&&!isNaN(u)&&c.style.setProperty("right",String(-1*u*.2)+"px")},f=e=>{var t,n,s,c,a,u;const{adScaleConfig:f,pageContext:{deviceType:m}}=r.get();if(!(null==f?void 0:f.enabled))return;if(o(e,i.ANY_FULLSCREEN))return;const v=null!==(t=f.adsToBeScaled[m])&&void 0!==t?t:[],g=d(e.targetId.split("-")[0]);if(!v.includes(g))return;const w=null!==(s=null===(n=f.offset)||void 0===n?void 0:n[g])&&void 0!==s?s:0,p=document.getElementById(e.targetId),y=null!==(c=null==p?void 0:p.offsetWidth)&&void 0!==c?c:window.screen.width,h=null!==(u=null===(a=null==p?void 0:p.parentElement)||void 0===a?void 0:a.offsetWidth)&&void 0!==u?u:window.screen.width;l(e,(y<h?y:h)-w)};export{s as calculateScaleFactor,c as getAspectRatio,l as scaleAd,u as scaleAdIpadAirPortrait,f as scaleAds};
@@ -1 +1 @@
1
- import{_ as t,c as e,h as o,j as n,C as s}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const i=t=>t===s.NO?"schibsted":"schibstedse",d=()=>t(void 0,void 0,void 0,function*(){const{norstat:{enabled:s}={},pageContext:{countryCode:d,isMobileApp:a},tcf:c}=e.get(),r=yield o(c,a,d,"norstat");if(!s||a||!r)return;const m=n(d);((e,o,...n)=>{t(void 0,[e,o,...n],void 0,function*(t,e,o=!0){if(document.getElementById(e))return;const n=document.createElement("img");n.src=t,n.id=null!=e?e:"",o&&(n.style.display="none"),document.body.appendChild(n)})})(`https://sch-map.norstatsurveys.com/api/nids/${i(d)}/map/${m}`,"norstat")});export{i as getCampaign,d as loadNorstat};
1
+ import{_ as t,c as e,h as o,j as n,C as s}from"./_auto-entry_mtv-B453H7Ed.js";import"react/jsx-runtime";const i=t=>t===s.NO?"schibsted":"schibstedse",d=()=>t(void 0,void 0,void 0,function*(){const{norstat:{enabled:s}={},pageContext:{countryCode:d,isMobileApp:a},tcf:c}=e.get(),r=yield o(c,a,d,"norstat");if(!s||a||!r)return;const m=n(d);((e,o,...n)=>{t(void 0,[e,o,...n],void 0,function*(t,e,o=!0){if(document.getElementById(e))return;const n=document.createElement("img");n.src=t,n.id=null!=e?e:"",o&&(n.style.display="none"),document.body.appendChild(n)})})(`https://sch-map.norstatsurveys.com/api/nids/${i(d)}/map/${m}`,"norstat")});export{i as getCampaign,d as loadNorstat};
@@ -1 +1 @@
1
- import{k as t,m as e,n}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const r=".advertory-right-column-track",o="--advertory-right-column-track-height",i=t=>t.getBoundingClientRect().top+window.scrollY,a=(t,e)=>`${t}-${e}`,d=(r,d,l)=>{var c;const s=Array.from(null!==(c=r.querySelectorAll(d))&&void 0!==c?c:[]),u=(t=>t.map(t=>{var e;return null===(e=document.querySelector(`[id^="${t}"]`))||void 0===e?void 0:e.parentElement}).map((t,e)=>({point:t,originalIndex:e})).filter(t=>Boolean(t.point)))(l);if(0===u.length)return;const m=i(r);u.forEach(({point:r,originalIndex:d})=>{((r,d,l)=>{const c=i(r),s=a(o,d),u=c-l,m=a("--advertory-right-column-split-point-height",d),v=t(r);e({[s]:n(u),[m]:n(v)})})(r,d+1,m),(r=>{const o=null==r?void 0:r.id;if(!o)return;const i=a("--advertory-right-column-ad-height",o),d=t(r);e({[i]:n(d)})})(s[d])});((t,r)=>{const a=i(t)-r;e({[o]:n(a)})})(u[Math.min(s.length,u.length-1)].point,m)};let l=!1;const c=t=>{if(!(null==t?void 0:t.enabled)||l)return;const{splitPointIDs:e,adSelector:n,trackSelector:o=r}=t,i=document.querySelector(o);if(!i)return;l=!0;const a=()=>{d(i,n,e)};a(),window.addEventListener("resize",a),window.addEventListener("orientationchange",a),window.addEventListener("load",a),window.addEventListener("advertory:adLoaded",()=>{requestAnimationFrame(a)});new ResizeObserver(a).observe(i)};export{c as initRightColumnSplit};
1
+ import{k as t,m as e,n}from"./_auto-entry_mtv-B453H7Ed.js";import"react/jsx-runtime";const r=".advertory-right-column-track",o="--advertory-right-column-track-height",i=t=>t.getBoundingClientRect().top+window.scrollY,a=(t,e)=>`${t}-${e}`,d=(r,d,l)=>{var c;const s=Array.from(null!==(c=r.querySelectorAll(d))&&void 0!==c?c:[]),u=(t=>t.map(t=>{var e;return null===(e=document.querySelector(`[id^="${t}"]`))||void 0===e?void 0:e.parentElement}).map((t,e)=>({point:t,originalIndex:e})).filter(t=>Boolean(t.point)))(l);if(0===u.length)return;const m=i(r);u.forEach(({point:r,originalIndex:d})=>{((r,d,l)=>{const c=i(r),s=a(o,d),u=c-l,m=a("--advertory-right-column-split-point-height",d),v=t(r);e({[s]:n(u),[m]:n(v)})})(r,d+1,m),(r=>{const o=null==r?void 0:r.id;if(!o)return;const i=a("--advertory-right-column-ad-height",o),d=t(r);e({[i]:n(d)})})(s[d])});((t,r)=>{const a=i(t)-r;e({[o]:n(a)})})(u[Math.min(s.length,u.length-1)].point,m)};let l=!1;const c=t=>{if(!(null==t?void 0:t.enabled)||l)return;const{splitPointIDs:e,adSelector:n,trackSelector:o=r}=t,i=document.querySelector(o);if(!i)return;l=!0;const a=()=>{d(i,n,e)};a(),window.addEventListener("resize",a),window.addEventListener("orientationchange",a),window.addEventListener("load",a),window.addEventListener("advertory:adLoaded",()=>{requestAnimationFrame(a)});new ResizeObserver(a).observe(i)};export{c as initRightColumnSplit};
package/mtv/es/index.d.ts CHANGED
@@ -96,6 +96,7 @@ interface AstAdObj {
96
96
  subtype?: string;
97
97
  renderer_url?: string;
98
98
  bidderId?: number | undefined;
99
+ uuid: string;
99
100
  }
100
101
  interface AstAdError {
101
102
  code: number;
@@ -287,6 +288,13 @@ declare const DeviceTypes: {
287
288
  };
288
289
  type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
289
290
 
291
+ interface AdvertisingIdentifiers {
292
+ xandr?: {
293
+ ppId1?: string;
294
+ ppId2?: string;
295
+ };
296
+ }
297
+
290
298
  /**
291
299
  * SDK-agnostic shape of the pulse tracker instance advertory actually calls.
292
300
  * getActor is typed Promise<unknown> — nothing in this codebase reads its
@@ -302,12 +310,6 @@ interface PulseInstance {
302
310
  };
303
311
  }
304
312
 
305
- interface AdvertisingIdentifiers {
306
- xandr?: {
307
- ppId1?: string;
308
- ppId2?: string;
309
- };
310
- }
311
313
  interface PulseLegacyExtras {
312
314
  trackElementView?: (eventInput: unknown) => Promise<void>;
313
315
  trackElementClick?: (eventInput: unknown) => Promise<void>;
@@ -315,11 +317,15 @@ interface PulseLegacyExtras {
315
317
  trackViewUIElement?: (eventInput: unknown) => Promise<void>;
316
318
  trackLegacyViewUIElement?: (eventInput: unknown, trackOptions?: unknown) => Promise<unknown>;
317
319
  trackLegacyClickUIElement?: (eventInput: unknown, trackOptions?: unknown) => Promise<unknown>;
320
+ trackImpressionAd?: (eventInput: unknown) => Promise<unknown>;
321
+ trackEngagementAd?: (eventInput: unknown) => Promise<unknown>;
322
+ trackLoadAd?: (eventInput: unknown) => Promise<unknown>;
318
323
  }
319
324
  interface PulseConfig {
320
325
  clientId: string;
321
326
  instance: PulseInstance & PulseLegacyExtras;
322
327
  hasherUrl?: string;
328
+ adTrackingEnabled?: boolean;
323
329
  }
324
330
 
325
331
  declare const Newsrooms: {
@@ -384,6 +390,7 @@ interface Options {
384
390
  language?: Country;
385
391
  pageType?: PageType;
386
392
  deviceType?: DeviceType;
393
+ placements?: Placements;
387
394
  appearanceConfig?: AppearanceConfig;
388
395
  nativeTrackingConfig?: NativeTrackingConfig;
389
396
  adPlacementFormat?: string;
@@ -392,6 +399,7 @@ interface Options {
392
399
  clickLinkSelector?: string;
393
400
  containerId?: string;
394
401
  sponsorstripeConfig?: SponsorstripeConfig;
402
+ pulse?: PulseConfig;
395
403
  }
396
404
  interface AdNativeTemplates {
397
405
  [templatesName: string]: (nativeData: AdNativeData, options: Options) => string | null;
package/mtv/es/index.js CHANGED
@@ -1 +1 @@
1
- export{R as default}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";
1
+ export{W as default}from"./_auto-entry_mtv-B453H7Ed.js";import"react/jsx-runtime";
@@ -1 +1 @@
1
- import{i as a}from"./_auto-entry_mtv-B3cjM82G.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
+ import{i as a}from"./_auto-entry_mtv-B453H7Ed.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};