@schibsted/advertory 3.4.4 → 3.4.5

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 (333) hide show
  1. package/aftenposten/cjs/index.js +1 -1
  2. package/aftenposten/es/{_auto-entry_aftenposten-Bhf0yykF.js → _auto-entry_aftenposten-BBSeflAn.js} +1 -1
  3. package/aftenposten/es/{events-X-dYeO4s.js → events-CIKVfxXf.js} +1 -1
  4. package/aftenposten/es/{index-CcJ0g9uo.js → index-BtHoHY_T.js} +1 -1
  5. package/aftenposten/es/{index-DLQxzMX6.js → index-By6xWJMH.js} +1 -1
  6. package/aftenposten/es/{index-Dedh95YD.js → index-Bz5_jqOu.js} +1 -1
  7. package/aftenposten/es/{index-Df77cMV7.js → index-C3dN37Eg.js} +1 -1
  8. package/aftenposten/es/{index-BPvpr5v_.js → index-C5uwjucj.js} +1 -1
  9. package/aftenposten/es/{index-Brrd55Va.js → index-CCM9CxKe.js} +1 -1
  10. package/aftenposten/es/index-Cz_ZbI_Z.js +1 -0
  11. package/aftenposten/es/{index-D0v1GQVx.js → index-JsKlUAVh.js} +1 -1
  12. package/aftenposten/es/index.js +1 -1
  13. package/aftenposten/es/{styles-D9wpJp3b.js → styles-2m3vymnI.js} +1 -1
  14. package/aftenposten/es/{styles-CknRy_Qx.js → styles-C0KdwoVr.js} +1 -1
  15. package/aftenposten/es/{styles-DRELkr_H.js → styles-CpX5Za9j.js} +1 -1
  16. package/aftenposten/es/{styles-D6RymBPT.js → styles-D1oBmHC7.js} +1 -1
  17. package/aftenposten/es/{styles-V5LlDQpd.js → styles-DPZnAp3P.js} +1 -1
  18. package/aftenposten/es/{styles-DrCgleuK.js → styles-DXvE8C0L.js} +1 -1
  19. package/aftenposten/es/{styles-DEvWRRgu.js → styles-EeUBBhGi.js} +1 -1
  20. package/aftenposten/es/{styles-DKxxtORm.js → styles-UoN2ZG3a.js} +1 -1
  21. package/aftenposten/es/{styles-IgBG4ryC.js → styles-boIfsWQf.js} +1 -1
  22. package/aftenposten/es/{styles-BXqQupbI.js → styles-sQvg_jmA.js} +1 -1
  23. package/aftenpostenv2/es/{_auto-entry_aftenpostenv2-BDfo8K1D.js → _auto-entry_aftenpostenv2-DXR3AVbX.js} +1 -1
  24. package/aftenpostenv2/es/{events-otaRviLL.js → events-BgywybVq.js} +1 -1
  25. package/aftenpostenv2/es/{index-C-DVaVfL.js → index-8oXzDEUa.js} +1 -1
  26. package/aftenpostenv2/es/{index-CFvd4fNa.js → index-BhC4fZ7D.js} +1 -1
  27. package/aftenpostenv2/es/{index-B9G2G5Ln.js → index-C7J8ciI7.js} +1 -1
  28. package/aftenpostenv2/es/{index-D-wr1b38.js → index-Cey6N8b4.js} +1 -1
  29. package/aftenpostenv2/es/{index-Bj8e0ohd.js → index-CiYXGKaj.js} +1 -1
  30. package/aftenpostenv2/es/{index-CvrL5ggt.js → index-DDrxdI5p.js} +1 -1
  31. package/aftenpostenv2/es/{index-DYk7DSSt.js → index-DZu5ma_k.js} +1 -1
  32. package/aftenpostenv2/es/index-fJF5CAO8.js +1 -0
  33. package/aftenpostenv2/es/index.js +1 -1
  34. package/aftenpostenv2/es/{styles-7MB8eZNf.js → styles-1Gkvrl8w.js} +1 -1
  35. package/aftenpostenv2/es/{styles-COT3aknE.js → styles-B_Ob9-4S.js} +1 -1
  36. package/aftenpostenv2/es/{styles-DVVNN8UI.js → styles-C9sq16YF.js} +1 -1
  37. package/aftenpostenv2/es/{styles-Crf3CBko.js → styles-CACjSWFL.js} +1 -1
  38. package/aftenpostenv2/es/{styles-BbPbb9x5.js → styles-CPlEksZN.js} +1 -1
  39. package/aftenpostenv2/es/{styles-D1d5UAy_.js → styles-CY_5W-eC.js} +1 -1
  40. package/aftenpostenv2/es/{styles-Bf7Gl-A7.js → styles-CodHZR01.js} +1 -1
  41. package/aftenpostenv2/es/{styles-DUoEGCMj.js → styles-DETqgAu2.js} +1 -1
  42. package/aftenpostenv2/es/{styles-BRFIxZOd.js → styles-DdeI_ZYX.js} +1 -1
  43. package/aftenpostenv2/es/{styles-DFI0TxiT.js → styles-d87gyenF.js} +1 -1
  44. package/aftonbladet/cjs/index.js +1 -1
  45. package/aftonbladet/es/{_auto-entry_aftonbladet-bQhax--t.js → _auto-entry_aftonbladet-DIjJkmZc.js} +1 -1
  46. package/aftonbladet/es/{events-DPDf5jcW.js → events-CLLwYAtu.js} +1 -1
  47. package/aftonbladet/es/{index-DgUlnlwD.js → index-5QjPzrSq.js} +1 -1
  48. package/aftonbladet/es/{index-VUMQL8Z0.js → index-BgN_Fx4H.js} +1 -1
  49. package/aftonbladet/es/{index-TRFE2Xfn.js → index-C5-KK-pn.js} +1 -1
  50. package/aftonbladet/es/{index-CamqQOrz.js → index-CifiRCjv.js} +1 -1
  51. package/aftonbladet/es/{index-DGG1RtzD.js → index-D8GcOPH5.js} +1 -1
  52. package/aftonbladet/es/{index-DuHBkR0k.js → index-LhAaYIjm.js} +1 -1
  53. package/aftonbladet/es/{index-DuJN6N7Q.js → index-NaNJzFDX.js} +1 -1
  54. package/aftonbladet/es/index-vczaos3M.js +1 -0
  55. package/aftonbladet/es/index.js +1 -1
  56. package/aftonbladet/es/{styles-CqpGPj5k.js → styles-Bks9KC9T.js} +1 -1
  57. package/aftonbladet/es/{styles-B-jfqYpP.js → styles-CpGwdqHF.js} +1 -1
  58. package/aftonbladet/es/{styles-9OkbPFxr.js → styles-D4QPgdny.js} +1 -1
  59. package/aftonbladet/es/{styles-42ccInUr.js → styles-DK1dZ4XR.js} +1 -1
  60. package/aftonbladet/es/{styles-DUmh8CGB.js → styles-HX8oObfY.js} +1 -1
  61. package/aftonbladet/es/{styles-DCA0EqsJ.js → styles-aKqio0J3.js} +1 -1
  62. package/aftonbladetv2/es/{_auto-entry_aftonbladetv2-2vzHH5dY.js → _auto-entry_aftonbladetv2-t9cREqcj.js} +1 -1
  63. package/aftonbladetv2/es/{events-Gz_LB5GE.js → events-D0DKE7hm.js} +1 -1
  64. package/aftonbladetv2/es/{index-10ySr6zB.js → index-BEii9kXw.js} +1 -1
  65. package/aftonbladetv2/es/{index-YKvKZUjf.js → index-Bj1ijOKe.js} +1 -1
  66. package/aftonbladetv2/es/{index-Ck5tqhOJ.js → index-Bm3ZBfIj.js} +1 -1
  67. package/aftonbladetv2/es/index-CmOe-_8-.js +1 -0
  68. package/aftonbladetv2/es/{index-DHfz6V6b.js → index-CuZJ0mk0.js} +1 -1
  69. package/aftonbladetv2/es/{index-D8crw21t.js → index-D6pc9NXK.js} +1 -1
  70. package/aftonbladetv2/es/{index-6p7hrIlz.js → index-DCnA9EyQ.js} +1 -1
  71. package/aftonbladetv2/es/{index-Cy7osinK.js → index-oZmnYQxX.js} +1 -1
  72. package/aftonbladetv2/es/index.js +1 -1
  73. package/aftonbladetv2/es/{styles-COQNXwI5.js → styles-BPD6Opbw.js} +1 -1
  74. package/aftonbladetv2/es/{styles-B3vde6pE.js → styles-CVcjfzcr.js} +1 -1
  75. package/aftonbladetv2/es/{styles-BH7sQJJG.js → styles-ClIHQkH-.js} +1 -1
  76. package/aftonbladetv2/es/{styles-RMP-4RAU.js → styles-D1YVnH_e.js} +1 -1
  77. package/aftonbladetv2/es/{styles-CeEwmllW.js → styles-DIbKKlwV.js} +1 -1
  78. package/aftonbladetv2/es/{styles-Chi-PjLS.js → styles-PD43Voeq.js} +1 -1
  79. package/bt/cjs/index.js +1 -1
  80. package/bt/es/{_auto-entry_bt-BQP7GfEz.js → _auto-entry_bt-DYZKUYT6.js} +1 -1
  81. package/bt/es/{events-BWxrUFS8.js → events-C3joUj0E.js} +1 -1
  82. package/bt/es/{index-BNR6BtJp.js → index-BD6zFHBZ.js} +1 -1
  83. package/{sa/es/index-Dg_60TLd.js → bt/es/index-BhkJK3DA.js} +1 -1
  84. package/bt/es/{index-Lrh3Kbbw.js → index-C8soa08-.js} +1 -1
  85. package/bt/es/{index-DJOnP4Lo.js → index-D4u0NXo-.js} +1 -1
  86. package/bt/es/{index-DxSc2TRT.js → index-DBYC-24k.js} +1 -1
  87. package/bt/es/{index-DakBjK1q.js → index-DPzLztvj.js} +1 -1
  88. package/bt/es/{index-Cxd1srtv.js → index-DZFa7cL_.js} +1 -1
  89. package/bt/es/index-DZIs20tq.js +1 -0
  90. package/bt/es/index.js +1 -1
  91. package/bt/es/{styles-DyZuMNGn.js → styles-BK8EjpqJ.js} +1 -1
  92. package/bt/es/{styles-BViX_ai_.js → styles-C3wFKBPS.js} +1 -1
  93. package/bt/es/{styles-CDCnQw3l.js → styles-Cewq9xmz.js} +1 -1
  94. package/bt/es/{styles-DEBOUzUi.js → styles-D6mtZLGH.js} +1 -1
  95. package/bt/es/{styles-CItFSNiz.js → styles-DPjEw5TC.js} +1 -1
  96. package/{sa/es/styles-DUSWg3JA.js → bt/es/styles-DTmpGsFf.js} +1 -1
  97. package/bt/es/{styles-bQqZn_XE.js → styles-DwYpDat4.js} +1 -1
  98. package/{sa/es/styles-cboPgZpg.js → bt/es/styles-MPQdE51Q.js} +1 -1
  99. package/bt/es/{styles-D3mqFIe5.js → styles-NpdMFaMa.js} +1 -1
  100. package/btv2/es/{_auto-entry_btv2-BFERV4k3.js → _auto-entry_btv2-DUbYspvd.js} +1 -1
  101. package/btv2/es/{events-DbRwqeWY.js → events-DSa1dsgJ.js} +1 -1
  102. package/btv2/es/{index-D_oxqGL_.js → index-B328EtWv.js} +1 -1
  103. package/btv2/es/index-B4ygBxpe.js +1 -0
  104. package/btv2/es/{index-C2EVI2gn.js → index-BMVm27mS.js} +1 -1
  105. package/btv2/es/{index-BcukMuzG.js → index-COqF6-on.js} +1 -1
  106. package/btv2/es/{index-CrB2LU5e.js → index-D9A3SdFc.js} +1 -1
  107. package/btv2/es/{index-DGAyNkVL.js → index-DZ4dMrsx.js} +1 -1
  108. package/btv2/es/{index-6zLiGrPg.js → index-JKEXHWMY.js} +1 -1
  109. package/btv2/es/{index-BT7dgSQS.js → index-hKnxlu2K.js} +1 -1
  110. package/btv2/es/index.js +1 -1
  111. package/{sav2/es/styles-DHLrp8VL.js → btv2/es/styles--Tl9BpsP.js} +1 -1
  112. package/btv2/es/{styles-VMPL62vB.js → styles-C-17j7dt.js} +1 -1
  113. package/{vgv2/es/styles-DvRCmjdM.js → btv2/es/styles-Cye0MErz.js} +1 -1
  114. package/{sav2/es/styles-Dpq612kt.js → btv2/es/styles-DZSUjRB4.js} +1 -1
  115. package/{sav2/es/styles-Dv-eBXgZ.js → btv2/es/styles-J5rmBG6Q.js} +1 -1
  116. package/{vgv2/es/styles-Ci7iXNLj.js → btv2/es/styles-Rh5NqJhU.js} +1 -1
  117. package/{sav2/es/styles-BIUV-RNC.js → btv2/es/styles-h6fWk9MC.js} +1 -1
  118. package/{sav2/es/styles-DOBpUHnu.js → btv2/es/styles-tL8bLCfF.js} +1 -1
  119. package/e24/es/{_auto-entry_e24-BEKLtA7Y.js → _auto-entry_e24-BgKxn_Qz.js} +1 -1
  120. package/e24/es/{events-Yd36UysJ.js → events-Dkuoqglo.js} +1 -1
  121. package/e24/es/{index-DCD0FkMq.js → index-BqfmVe_r.js} +1 -1
  122. package/e24/es/{index-CoBmEzXT.js → index-BrW8zLXE.js} +1 -1
  123. package/{tv4/es/index-DA_qj0r7.js → e24/es/index-C3XqENwt.js} +1 -1
  124. package/e24/es/index-CP-KxAJi.js +1 -0
  125. package/e24/es/{index-BpmYLE2f.js → index-DnD4eHt8.js} +1 -1
  126. package/e24/es/{index-CRLFyN8P.js → index-Fa-ez5Cu.js} +1 -1
  127. package/e24/es/{index-COKHAJhe.js → index-FoJSNIWU.js} +1 -1
  128. package/e24/es/{index-EvP5fwqa.js → index-N7Czkef-.js} +1 -1
  129. package/e24/es/index.js +1 -1
  130. package/e24/es/{styles-DGv06M3G.js → styles-0m7nGLjo.js} +1 -1
  131. package/e24/es/{styles-HX_bpt29.js → styles-5aOw4_oJ.js} +1 -1
  132. package/e24/es/{styles-D1nI60Zv.js → styles-9-wvnyk1.js} +1 -1
  133. package/e24/es/{styles-CsMHQajS.js → styles-9JYhtEDI.js} +1 -1
  134. package/e24/es/{styles-CmbQcdvB.js → styles-9OH6mqy_.js} +1 -1
  135. package/e24/es/{styles-Dm7XvLbx.js → styles-Ba-tg0gT.js} +1 -1
  136. package/{tv4/es/styles-Bh4MC17S.js → e24/es/styles-Ct-5Dm5R.js} +1 -1
  137. package/e24/es/{styles-OsWwU4Rj.js → styles-D5wBfIqf.js} +1 -1
  138. package/e24/es/{styles-ziSdUigy.js → styles-DCY2X8vZ.js} +1 -1
  139. package/e24/es/{styles-C9XvVZBY.js → styles-DLXh0jsY.js} +1 -1
  140. package/e24/es/{styles-aeUKq6dx.js → styles-SLniwUdI.js} +1 -1
  141. package/fotbollskanalen/cjs/index.js +1 -1
  142. package/fotbollskanalen/es/{_auto-entry_fotbollskanalen-Baj19g0T.js → _auto-entry_fotbollskanalen-BNx4ILYh.js} +1 -1
  143. package/fotbollskanalen/es/{events-DjGycYd2.js → events-tJAUOCQs.js} +1 -1
  144. package/fotbollskanalen/es/{index-CksSFyzA.js → index--zLQcJo1.js} +1 -1
  145. package/fotbollskanalen/es/{index-Md5U1C6J.js → index-BIZ2SPG0.js} +1 -1
  146. package/fotbollskanalen/es/{index-j6fBf8VB.js → index-BxlR6_Rs.js} +1 -1
  147. package/fotbollskanalen/es/{index-Bmtv9--e.js → index-CFtetxYo.js} +1 -1
  148. package/fotbollskanalen/es/{index-BrUe1khl.js → index-DIJVvM2n.js} +1 -1
  149. package/fotbollskanalen/es/index-DNFUMRKw.js +1 -0
  150. package/fotbollskanalen/es/{index-BuOM47k5.js → index-Dn6Od-Hc.js} +1 -1
  151. package/fotbollskanalen/es/{index-92eOLgTV.js → index-vqG7FUzz.js} +1 -1
  152. package/fotbollskanalen/es/index.js +1 -1
  153. package/fotbollskanalen/es/{styles-BrbSyGNH.js → styles-DHkiAEi8.js} +1 -1
  154. package/godare/cjs/index.js +1 -1
  155. package/godt/cjs/index.js +1 -1
  156. package/kilkaya/cjs/index.js +1 -1
  157. package/kilkaya/es/index.js +1 -1
  158. package/klart/cjs/index.js +1 -1
  159. package/koket/cjs/index.js +1 -1
  160. package/koket/es/{_auto-entry_koket-DL9mfUrb.js → _auto-entry_koket-cJNuN1HP.js} +1 -1
  161. package/koket/es/{events-9Q6ytjT9.js → events-CVK2zyfC.js} +1 -1
  162. package/koket/es/{index-Tc503bXN.js → index-BvV4IBpe.js} +1 -1
  163. package/koket/es/{index-CQn23TuZ.js → index-CfXnqhsy.js} +1 -1
  164. package/koket/es/index-CkZ2qnF2.js +1 -0
  165. package/koket/es/{index-DYxv6SzB.js → index-Cr0lHDCI.js} +1 -1
  166. package/koket/es/{index-DfyfmbVt.js → index-CtHhOcte.js} +1 -1
  167. package/koket/es/{index-DO8jV11Q.js → index-ZLtL--0_.js} +1 -1
  168. package/koket/es/{index-YDhc36i5.js → index-dGbsj2Zx.js} +1 -1
  169. package/koket/es/{index-CciXtL8E.js → index-uBSa27IB.js} +1 -1
  170. package/koket/es/index.js +1 -1
  171. package/{svdv2/es/styles-D4fzUgLd.js → koket/es/styles-PH2sE2Sv.js} +1 -1
  172. package/minmote/cjs/index.js +1 -1
  173. package/package.json +1 -1
  174. package/pent/cjs/index.js +1 -1
  175. package/sa/cjs/index.js +1 -1
  176. package/sa/es/{_auto-entry_sa-wY_EUefU.js → _auto-entry_sa-D8tn-g6r.js} +1 -1
  177. package/sa/es/{events-CZJqcBzn.js → events-BeqSBbHk.js} +1 -1
  178. package/sa/es/index-83LPkza2.js +1 -0
  179. package/sa/es/{index-Cm982Cvh.js → index-BVkJKyuN.js} +1 -1
  180. package/{bt/es/index-DouAiNRC.js → sa/es/index-Bjp3LZhG.js} +1 -1
  181. package/sa/es/{index-BxxbObcn.js → index-CWnj9600.js} +1 -1
  182. package/sa/es/{index-Txagwucq.js → index-D28V3CEP.js} +1 -1
  183. package/sa/es/{index-DkfcDGKo.js → index-DQPWqAWj.js} +1 -1
  184. package/sa/es/{index-DWNojKUK.js → index-j53LA_uZ.js} +1 -1
  185. package/sa/es/{index-CKAFPlFc.js → index-jbyypkdn.js} +1 -1
  186. package/sa/es/index.js +1 -1
  187. package/{bt/es/styles-C_Qlt8u0.js → sa/es/styles-A3H_g72U.js} +1 -1
  188. package/{vg/es/styles-BcLLBwR8.js → sa/es/styles-BCGYinqV.js} +1 -1
  189. package/sa/es/{styles-CI40Pps1.js → styles-CFGzRbGb.js} +1 -1
  190. package/sa/es/{styles-KTlWlFs0.js → styles-Cn12RJQm.js} +1 -1
  191. package/sa/es/{styles-DLEYispL.js → styles-CnhTqFOx.js} +1 -1
  192. package/sa/es/{styles-DHqWx4kk.js → styles-CsPAEzD5.js} +1 -1
  193. package/sa/es/{styles-V8Ex-OKo.js → styles-Cu4WdoV8.js} +1 -1
  194. package/{vg/es/styles-gUWXxhs6.js → sa/es/styles-D5WNRKkY.js} +1 -1
  195. package/sa/es/{styles-Do0sOJVo.js → styles-lOrAPwP_.js} +1 -1
  196. package/sav2/es/{_auto-entry_sav2-CnCVAQdF.js → _auto-entry_sav2-DzX2GvyE.js} +1 -1
  197. package/sav2/es/{events-2jHZOPwR.js → events-BHKuYYxN.js} +1 -1
  198. package/sav2/es/{index-DxnDOPzx.js → index-Br8hPuTZ.js} +1 -1
  199. package/sav2/es/{index-KCTlR2wg.js → index-CvS7nSDC.js} +1 -1
  200. package/sav2/es/{index-Bt0pEy8l.js → index-D46UoAvZ.js} +1 -1
  201. package/sav2/es/index-DNIk4Qx6.js +1 -0
  202. package/sav2/es/{index-BWZoWfjV.js → index-DUijTwVR.js} +1 -1
  203. package/sav2/es/{index-Bb-YOHvE.js → index-Dme-dmgR.js} +1 -1
  204. package/sav2/es/{index-BiB2aOAL.js → index-HKp2c2s-.js} +1 -1
  205. package/sav2/es/{index-BpK1TtYH.js → index-b4ac42M3.js} +1 -1
  206. package/sav2/es/index.js +1 -1
  207. package/{btv2/es/styles-RG3eewEG.js → sav2/es/styles-8YLb7P9n.js} +1 -1
  208. package/sav2/es/{styles-Ul5sOoE8.js → styles-BhSwJE7K.js} +1 -1
  209. package/{btv2/es/styles-EunRAAOJ.js → sav2/es/styles-CKCLU2uO.js} +1 -1
  210. package/sav2/es/{styles-CJw_lkpK.js → styles-CKygoMdq.js} +1 -1
  211. package/{btv2/es/styles-CXNU4R3I.js → sav2/es/styles-CZlY-f2J.js} +1 -1
  212. package/sav2/es/{styles-CM-oSSUc.js → styles-D8N-rRYn.js} +1 -1
  213. package/{vgv2/es/styles-BctjGJwA.js → sav2/es/styles-JIN4Av81.js} +1 -1
  214. package/{btv2/es/styles-B6g4yNVo.js → sav2/es/styles-QZmWpaFU.js} +1 -1
  215. package/svd/cjs/index.js +1 -1
  216. package/svd/es/{_auto-entry_svd-gWaZONI8.js → _auto-entry_svd-DBvWCpDJ.js} +1 -1
  217. package/svd/es/{events-Bjd-4Rj5.js → events-DG1tENxq.js} +1 -1
  218. package/svd/es/{index-6EgbUtYp.js → index-3rtERb5S.js} +1 -1
  219. package/{e24/es/index-ByrAuocy.js → svd/es/index-B8rDQRdP.js} +1 -1
  220. package/svd/es/{index-B5-1tBxg.js → index-BT6gpbwI.js} +1 -1
  221. package/svd/es/{index-DJZyobVc.js → index-CGBiT7Al.js} +1 -1
  222. package/svd/es/{index-Dkflf4MB.js → index-DsmoL2Lq.js} +1 -1
  223. package/svd/es/{index-51zCHEiR.js → index-Q0i8CuqJ.js} +1 -1
  224. package/svd/es/{index-D_8M3fv2.js → index-hC9HAHKU.js} +1 -1
  225. package/svd/es/index-yLs7wYu9.js +1 -0
  226. package/svd/es/index.js +1 -1
  227. package/svd/es/{styles-DemChIJH.js → styles-B4SECvc2.js} +1 -1
  228. package/svd/es/{styles-2105q1_Q.js → styles-BCU7rfmw.js} +1 -1
  229. package/svd/es/{styles-DFqZc2GE.js → styles-ComGSOCV.js} +1 -1
  230. package/svd/es/{styles-D6JZVB8d.js → styles-DT1a-Faz.js} +1 -1
  231. package/svd/es/{styles-CFjNMv5T.js → styles-Dv7udCRs.js} +1 -1
  232. package/svd/es/{styles-nM1cAR1X.js → styles-rPGcAlSq.js} +1 -1
  233. package/svdv2/es/{_auto-entry_svdv2-CBT-yIIh.js → _auto-entry_svdv2-BiF0rTw8.js} +1 -1
  234. package/svdv2/es/{events-Cv0WDScT.js → events-CWbu7TQw.js} +1 -1
  235. package/svdv2/es/index-BURh9Nkf.js +1 -0
  236. package/svdv2/es/{index-BxC8o1uZ.js → index-ByCgCjdX.js} +1 -1
  237. package/svdv2/es/{index-B8batGia.js → index-CKhOHkI1.js} +1 -1
  238. package/svdv2/es/{index-BW3Rr9Nx.js → index-CQ9V6tZQ.js} +1 -1
  239. package/svdv2/es/{index-TJKz3Y9E.js → index-DNNQW4In.js} +1 -1
  240. package/svdv2/es/{index-C1R9Ki5K.js → index-DcJ1VkTq.js} +1 -1
  241. package/svdv2/es/{index-DNK3AfFB.js → index-DkuqaMJV.js} +1 -1
  242. package/svdv2/es/{index-BTR1-A5h.js → index-ehzk1aZk.js} +1 -1
  243. package/svdv2/es/index.js +1 -1
  244. package/svdv2/es/{styles-DOxiZsGC.js → styles-0o2NJS16.js} +1 -1
  245. package/svdv2/es/{styles-C7kJ3a5A.js → styles-6P0LRxVg.js} +1 -1
  246. package/{koket/es/styles-CElTjNBQ.js → svdv2/es/styles-BEQ2-xwh.js} +1 -1
  247. package/svdv2/es/{styles-e-LUgOYk.js → styles-BR414DzV.js} +1 -1
  248. package/svdv2/es/{styles-2ebgmgKC.js → styles-Bc66VjO-.js} +1 -1
  249. package/svdv2/es/{styles-BVKaXt1D.js → styles-Dgyyj7Le.js} +1 -1
  250. package/tek/cjs/index.js +1 -1
  251. package/tv4/cjs/index.js +1 -1
  252. package/tv4/es/{_auto-entry_tv4-CgjDpm2n.js → _auto-entry_tv4-CropCCnT.js} +1 -1
  253. package/tv4/es/{events-C_-_Xowx.js → events-DxXMRvOd.js} +1 -1
  254. package/tv4/es/index-BjhxhCJ1.js +1 -0
  255. package/tv4/es/{index-BWStV20R.js → index-Bw0ToOIr.js} +1 -1
  256. package/tv4/es/{index-Dy9jE6h-.js → index-CBAbbnT_.js} +1 -1
  257. package/tv4/es/{index-DroR5xBF.js → index-C_RO-ZOf.js} +1 -1
  258. package/tv4/es/{index-CkbH_SEP.js → index-DZXa3-VJ.js} +1 -1
  259. package/tv4/es/{index-ydad3sUV.js → index-blcv068B.js} +1 -1
  260. package/tv4/es/{index-P3D3vQx4.js → index-br_Ud0HH.js} +1 -1
  261. package/{svd/es/index-Dwb1fq0B.js → tv4/es/index-x5iDULbk.js} +1 -1
  262. package/tv4/es/index.js +1 -1
  263. package/{e24/es/styles-C8NvGvar.js → tv4/es/styles-CExWvWFv.js} +1 -1
  264. package/tvnu/cjs/index.js +1 -1
  265. package/vg/cjs/index.js +1 -1
  266. package/vg/es/{_auto-entry_vg-BVmx9OMx.js → _auto-entry_vg-CIBfHLMt.js} +1 -1
  267. package/vg/es/{events-Bmkna1Gc.js → events-C5F0PuBI.js} +1 -1
  268. package/vg/es/{index-Camom7m-.js → index-5yE4wJq1.js} +1 -1
  269. package/vg/es/{index-Dn7htXn0.js → index-C2x4Mkus.js} +1 -1
  270. package/vg/es/{index-DET4dXfU.js → index-CbQ2KuQt.js} +1 -1
  271. package/vg/es/{index-BrkCMRgV.js → index-Cr9xlqU9.js} +1 -1
  272. package/vg/es/{index-wYIgmMRk.js → index-D79bAzC2.js} +1 -1
  273. package/vg/es/{index-B_di9fdW.js → index-DW9VnWin.js} +1 -1
  274. package/vg/es/{index-Cyqw9XoG.js → index-GBzS9LYy.js} +1 -1
  275. package/vg/es/index-KZdTw3qZ.js +1 -0
  276. package/vg/es/index.js +1 -1
  277. package/vg/es/{styles-gbRx5TBW.js → styles-AlWEddgI.js} +1 -1
  278. package/vg/es/{styles-gPJ19t67.js → styles-BXPsYyy_.js} +1 -1
  279. package/vg/es/{styles-GAPVZ_FS.js → styles-BwK7MafB.js} +1 -1
  280. package/vg/es/{styles-BWOcFLKa.js → styles-Ca2jh4Hc.js} +1 -1
  281. package/vg/es/{styles-COsX5v1m.js → styles-CaV3U63h.js} +1 -1
  282. package/vg/es/{styles-DAOlUI8E.js → styles-Ckhkmka9.js} +1 -1
  283. package/vg/es/{styles-C_FwIyaP.js → styles-DB8x9G4a.js} +1 -1
  284. package/{bt/es/styles-Dh2uOIpi.js → vg/es/styles-DHfiUW0S.js} +1 -1
  285. package/vg/es/{styles-DrcSgO9F.js → styles-DZ-942Wi.js} +1 -1
  286. package/{sa/es/styles-DuOTXl8z.js → vg/es/styles-DdytjalC.js} +1 -1
  287. package/vg/es/{styles-DSm1LVi_.js → styles-DwFXYuKq.js} +1 -1
  288. package/vg/es/{styles-CkFvNN2A.js → styles-F6EdXxzC.js} +1 -1
  289. package/vg/es/{styles-DX6tqWSV.js → styles-XtlXtpLi.js} +1 -1
  290. package/vg/es/{styles-DQ_YpbXO.js → styles-Zaz_B2dz.js} +1 -1
  291. package/vg/es/{styles-Mm1WitR1.js → styles-_VouA2eN.js} +1 -1
  292. package/vgv2/es/{_auto-entry_vgv2-DcMSsK7I.js → _auto-entry_vgv2-BsnyENvg.js} +1 -1
  293. package/vgv2/es/{events-CbYlhHdS.js → events-D2xGH27N.js} +1 -1
  294. package/vgv2/es/{index-DyttIDdn.js → index-BUN-cI5r.js} +1 -1
  295. package/vgv2/es/{index-BkOJekt_.js → index-BgNoycLt.js} +1 -1
  296. package/vgv2/es/{index-cUI_MUN6.js → index-C4fgzc7N.js} +1 -1
  297. package/vgv2/es/{index-BlRGr3Dm.js → index-C5Sl6uxK.js} +1 -1
  298. package/vgv2/es/{index-BOuAoWaz.js → index-D6Pw-lcl.js} +1 -1
  299. package/vgv2/es/index-DBB3xmgK.js +1 -0
  300. package/vgv2/es/{index-klHcuLjs.js → index-DH3nMDX-.js} +1 -1
  301. package/vgv2/es/{index-D5fU51zY.js → index-DbV8iCf4.js} +1 -1
  302. package/vgv2/es/index.js +1 -1
  303. package/vgv2/es/{styles-CidTlAlB.js → styles-B4DRtFVV.js} +1 -1
  304. package/{btv2/es/styles-a4JOrBPo.js → vgv2/es/styles-BPfkBbkX.js} +1 -1
  305. package/vgv2/es/{styles-C9HM66T0.js → styles-BpXobaZJ.js} +1 -1
  306. package/vgv2/es/{styles-DZxPQN4T.js → styles-BpurVPp0.js} +1 -1
  307. package/{btv2/es/styles-Dzf3m6rk.js → vgv2/es/styles-C85yrn2i.js} +1 -1
  308. package/vgv2/es/{styles-D8XUKIYz.js → styles-CXS7gUvG.js} +1 -1
  309. package/vgv2/es/{styles-D2ZPwGu7.js → styles-Cca1C3xA.js} +1 -1
  310. package/vgv2/es/{styles-Vcv7SAHX.js → styles-CdQFHCMN.js} +1 -1
  311. package/vgv2/es/{styles-BT_VTSD-.js → styles-ChOfJksc.js} +1 -1
  312. package/{btv2/es/styles-CN3azPHF.js → vgv2/es/styles-CwWXZBG-.js} +1 -1
  313. package/vgv2/es/{styles-DvRMHT7W.js → styles-CwmsiSBL.js} +1 -1
  314. package/vgv2/es/{styles-D3xxSj65.js → styles-DPqzO0Vt.js} +1 -1
  315. package/vgv2/es/{styles-C0hhsVb0.js → styles-Dry1laTe.js} +1 -1
  316. package/vgv2/es/{styles-Bfu3dSV_.js → styles-DsfZWdaW.js} +1 -1
  317. package/vgv2/es/{styles-BLubo9Bp.js → styles-IpHn4rD-.js} +1 -1
  318. package/aftenposten/es/index-C_hXCdJd.js +0 -1
  319. package/aftenpostenv2/es/index-DqBPA2qv.js +0 -1
  320. package/aftonbladet/es/index-Yj9dRgd-.js +0 -1
  321. package/aftonbladetv2/es/index-tnqwhfdq.js +0 -1
  322. package/bt/es/index-D5o0TQOa.js +0 -1
  323. package/btv2/es/index-B0k7BoxE.js +0 -1
  324. package/e24/es/index-BGapFJQk.js +0 -1
  325. package/fotbollskanalen/es/index-BIBTI_Jh.js +0 -1
  326. package/koket/es/index-DxxEwxfr.js +0 -1
  327. package/sa/es/index-D-7QoEu7.js +0 -1
  328. package/sav2/es/index-qMRowoqW.js +0 -1
  329. package/svd/es/index-Baauiaf1.js +0 -1
  330. package/svdv2/es/index-B-BCWavy.js +0 -1
  331. package/tv4/es/index-CFuhcqwm.js +0 -1
  332. package/vg/es/index-BixkAKMD.js +0 -1
  333. package/vgv2/es/index-u92vc7dj.js +0 -1
@@ -1 +0,0 @@
1
- import{_ as t,l as e,N as a,O as n,h as i,P as l}from"./_auto-entry_sa-wY_EUefU.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ['agegroup', 'gender', 'geography'] };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
@@ -1 +0,0 @@
1
- import{_ as t,l as e,N as a,O as n,h as i,P as l}from"./_auto-entry_sav2-CnCVAQdF.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ['agegroup', 'gender', 'geography'] };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
@@ -1 +0,0 @@
1
- import{_ as t,l as e,O as a,P as n,h as i,Q as l}from"./_auto-entry_svd-gWaZONI8.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ['agegroup', 'gender', 'geography'] };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
@@ -1 +0,0 @@
1
- import{_ as t,l as e,N as a,O as n,h as i,P as l}from"./_auto-entry_svdv2-CBT-yIIh.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ['agegroup', 'gender', 'geography'] };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
@@ -1 +0,0 @@
1
- import{_ as t,l as e,N as a,O as n,h as i,P as l}from"./_auto-entry_tv4-CgjDpm2n.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ['agegroup', 'gender', 'geography'] };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
@@ -1 +0,0 @@
1
- import{_ as t,l as e,R as a,U as n,O as i,V as l}from"./_auto-entry_vg-BVmx9OMx.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ['agegroup', 'gender', 'geography'] };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
@@ -1 +0,0 @@
1
- import{_ as t,l as e,R as a,U as n,O as i,V as l}from"./_auto-entry_vgv2-DcMSsK7I.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ['agegroup', 'gender', 'geography'] };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};