@schibsted/advertory 3.17.3 → 3.19.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 (514) hide show
  1. package/ad-native/cjs/index.d.ts +6 -1
  2. package/ad-native/cjs/index.js +1 -1
  3. package/ad-native/es/index.d.ts +6 -1
  4. package/ad-native/es/index.js +1 -1
  5. package/aftenposten/cjs/index.d.ts +25 -4
  6. package/aftenposten/cjs/index.js +1 -1
  7. package/aftenposten/es/_auto-entry_aftenposten-Tve0PdPg.js +1 -0
  8. package/aftenposten/es/{events-BakZyPiF.js → events-xQDHepfd.js} +1 -1
  9. package/aftenposten/es/identity-facade-B1A7Z8yI.js +1 -0
  10. package/aftenposten/es/{index-DE2eFbE4.js → index-BFDpivf7.js} +1 -1
  11. package/aftenposten/es/{index-B0weyrUI.js → index-BR2fDQ3t.js} +1 -1
  12. package/aftenposten/es/{index-DmAryKai.js → index-C8BGU0H-.js} +1 -1
  13. package/aftenposten/es/index-CEc919BP.js +1 -0
  14. package/aftenposten/es/{index-BqtiIE9j.js → index-DLSHhMHq.js} +1 -1
  15. package/aftenposten/es/{index-Ci5Fq3pY.js → index-DbMF7ZzI.js} +1 -1
  16. package/aftenposten/es/index-DdQ7ku5W.js +1 -0
  17. package/aftenposten/es/{index-Y61-K0-j.js → index-DoNUR1U3.js} +1 -1
  18. package/aftenposten/es/index.d.ts +25 -4
  19. package/aftenposten/es/index.js +1 -1
  20. package/aftenposten/es/{styles-B3DQSVEX.js → styles-BNvjI7Zm.js} +1 -1
  21. package/aftenposten/es/{styles-BP8RnxXT.js → styles-BfymPmLm.js} +1 -1
  22. package/aftenposten/es/{styles-pDM1TuiG.js → styles-C-DhtppN.js} +1 -1
  23. package/aftenposten/es/{styles-Cnb69FPt.js → styles-CCqSli4X.js} +1 -1
  24. package/aftenposten/es/{styles-DbkR_81Z.js → styles-CJ54OWq6.js} +1 -1
  25. package/aftenposten/es/{styles-fSCaFYq3.js → styles-Cmayky32.js} +1 -1
  26. package/aftenposten/es/{styles-DCGX00AR.js → styles-Cu6_bWyx.js} +1 -1
  27. package/aftenposten/es/{styles-Dc-23vIm.js → styles-DWHjxzlg.js} +1 -1
  28. package/aftenposten/es/{styles-DXaafc97.js → styles-D_weffQF.js} +1 -1
  29. package/aftenposten/es/{styles-BMgTMPVA.js → styles-DuXHeE-l.js} +1 -1
  30. package/aftenposten/es/{styles-w7N9sIkQ.js → styles-K7tpE8_Y.js} +1 -1
  31. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-DWtGX9qk.js +1 -0
  32. package/aftenpostenv2/es/{events-vFxFcBFY.js → events-DtEgEZu5.js} +1 -1
  33. package/aftenpostenv2/es/identity-facade-Cqco51UF.js +1 -0
  34. package/aftenpostenv2/es/{index-BNsm3sza.js → index-1bMBECFZ.js} +1 -1
  35. package/aftenpostenv2/es/{index-BORfNCfl.js → index-Bm7xOUah.js} +1 -1
  36. package/aftenpostenv2/es/{index-C6o6H3rD.js → index-CeVnQlsp.js} +1 -1
  37. package/aftenpostenv2/es/index-DSjPd2s4.js +1 -0
  38. package/aftenpostenv2/es/index-DnJSE16l.js +1 -0
  39. package/aftenpostenv2/es/{index-bu82MskF.js → index-FNm09Hu5.js} +1 -1
  40. package/aftenpostenv2/es/{index-BzIPIQlR.js → index-gy-9pNJD.js} +1 -1
  41. package/aftenpostenv2/es/{index-CE3zyO-s.js → index-rvkEfm4F.js} +1 -1
  42. package/aftenpostenv2/es/index.d.ts +25 -4
  43. package/aftenpostenv2/es/index.js +1 -1
  44. package/aftenpostenv2/es/{styles-C9KcvIrm.js → styles--ODSHkGx.js} +1 -1
  45. package/aftenpostenv2/es/{styles-CfDUxRlT.js → styles-3ZwXsuxG.js} +1 -1
  46. package/aftenpostenv2/es/{styles-Bo1Osfh2.js → styles-BQirFtLP.js} +1 -1
  47. package/aftenpostenv2/es/{styles-D9mUlhzN.js → styles-BZw7HTv7.js} +1 -1
  48. package/aftenpostenv2/es/{styles-C3tA1qVG.js → styles-CYRnGCOf.js} +1 -1
  49. package/aftenpostenv2/es/{styles-Dod5Pact.js → styles-CoE8ldJR.js} +1 -1
  50. package/aftenpostenv2/es/{styles-DSZABaqe.js → styles-Cx18n8ID.js} +1 -1
  51. package/aftenpostenv2/es/{styles-CpTRDnEr.js → styles-DJAn92kg.js} +1 -1
  52. package/aftenpostenv2/es/{styles-Bv3fC79e.js → styles-DrPAORY8.js} +1 -1
  53. package/aftenpostenv2/es/{styles-DGYGS77o.js → styles-fzCBUGam.js} +1 -1
  54. package/aftenpostenv2/es/{styles-CrKxUXak.js → styles-v_gZvJl3.js} +1 -1
  55. package/aftonbladet/cjs/index.d.ts +25 -4
  56. package/aftonbladet/cjs/index.js +1 -1
  57. package/aftonbladet/es/_auto-entry_aftonbladet-gwuJYn5k.js +1 -0
  58. package/aftonbladet/es/{events-CllJmzBm.js → events-Dn4HgHY0.js} +1 -1
  59. package/aftonbladet/es/identity-facade-YCmvHQL4.js +1 -0
  60. package/aftonbladet/es/{index-CQZ4fqal.js → index-9s1OEytQ.js} +1 -1
  61. package/aftonbladet/es/{index-BtWKibaA.js → index-C8L28Sbb.js} +1 -1
  62. package/aftonbladet/es/{index-CNg6LTKO.js → index-CNoND9KG.js} +1 -1
  63. package/aftonbladet/es/{index-DSWRH1Jg.js → index-D-l1zaRE.js} +1 -1
  64. package/aftonbladet/es/index-D7tEeN2y.js +1 -0
  65. package/aftonbladet/es/{index-BMrgDbpw.js → index-DxIRmf9j.js} +1 -1
  66. package/aftonbladet/es/index-Hmt-WETp.js +1 -0
  67. package/aftonbladet/es/{index-DxCSaps1.js → index-lHJ8rPdO.js} +1 -1
  68. package/aftonbladet/es/index.d.ts +25 -4
  69. package/aftonbladet/es/index.js +1 -1
  70. package/aftonbladet/es/{styles-BaT7xTNZ.js → styles-4zXciFo4.js} +1 -1
  71. package/aftonbladet/es/{styles-Ds_pdjCT.js → styles-BLS5TzS8.js} +1 -1
  72. package/aftonbladet/es/{styles-DSuXLA-G.js → styles-C_NEx-3s.js} +1 -1
  73. package/aftonbladet/es/{styles-w-g-y6lI.js → styles-D4M4fmOm.js} +1 -1
  74. package/aftonbladet/es/{styles-DajJqIJ6.js → styles-DkBKPNDs.js} +1 -1
  75. package/aftonbladet/es/{styles-D9Tu4mQ5.js → styles-Dkb_Bh3e.js} +1 -1
  76. package/aftonbladet/es/{styles-CYGn0uwQ.js → styles-DuNRDVxB.js} +1 -1
  77. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-DaiGRw9V.js +1 -0
  78. package/aftonbladetv2/es/{events-BTQYlE4z.js → events-BcI_eHc7.js} +1 -1
  79. package/aftonbladetv2/es/identity-facade-C2_1gsAa.js +1 -0
  80. package/aftonbladetv2/es/{index-C5NPR1-m.js → index-7IyWH9Pi.js} +1 -1
  81. package/aftonbladetv2/es/{index-CI4mHGgl.js → index-BPVgqjSK.js} +1 -1
  82. package/aftonbladetv2/es/index-BrbM5bYX.js +1 -0
  83. package/aftonbladetv2/es/{index-DKIljxtC.js → index-C87hTI7W.js} +1 -1
  84. package/aftonbladetv2/es/{index-BVz8_dGm.js → index-D1j_NWjg.js} +1 -1
  85. package/aftonbladetv2/es/index-D6cUOv7e.js +1 -0
  86. package/aftonbladetv2/es/{index-DGryPq5p.js → index-Deh_hDuT.js} +1 -1
  87. package/aftonbladetv2/es/{index-DLKbIJ-6.js → index-DfiXnG3N.js} +1 -1
  88. package/aftonbladetv2/es/index.d.ts +25 -4
  89. package/aftonbladetv2/es/index.js +1 -1
  90. package/aftonbladetv2/es/{styles-BHjBufYm.js → styles-B17PRnLw.js} +1 -1
  91. package/aftonbladetv2/es/{styles-BhGxCZKJ.js → styles-BK5VBwQb.js} +1 -1
  92. package/aftonbladetv2/es/{styles-DNvKyAG2.js → styles-BVD-shyq.js} +1 -1
  93. package/aftonbladetv2/es/{styles-Dm48yxHj.js → styles-CIwSexMs.js} +1 -1
  94. package/aftonbladetv2/es/{styles-CtZYGlVa.js → styles-ClbFUK7m.js} +1 -1
  95. package/aftonbladetv2/es/{styles-BuDgf6Qh.js → styles-D5Hbe4BD.js} +1 -1
  96. package/aftonbladetv2/es/{styles-LIJqt1Fs.js → styles-DoMnjSM2.js} +1 -1
  97. package/brandmetrics/cjs/index.js +1 -1
  98. package/brandmetrics/es/index.js +1 -1
  99. package/bt/cjs/index.d.ts +25 -4
  100. package/bt/cjs/index.js +1 -1
  101. package/bt/es/_auto-entry_bt-D1MD_xdz.js +1 -0
  102. package/bt/es/{events-QdGrCsME.js → events-YRqEmDeJ.js} +1 -1
  103. package/bt/es/identity-facade-BjI4-cFT.js +1 -0
  104. package/bt/es/{index-DE5oE3LU.js → index-78QagF5C.js} +1 -1
  105. package/bt/es/{index-BNwzTf_4.js → index-B3i9CLRJ.js} +1 -1
  106. package/bt/es/{index-CbsaLJJs.js → index-BMuNECOp.js} +1 -1
  107. package/bt/es/index-BOCFWXjz.js +1 -0
  108. package/bt/es/{index-BPq3-G1u.js → index-CJms3bV6.js} +1 -1
  109. package/bt/es/{index-BEn9Oc7O.js → index-D31HelSe.js} +1 -1
  110. package/bt/es/{index-CWyqinTF.js → index-DPURtZv7.js} +1 -1
  111. package/bt/es/index-vl1Q4LBE.js +1 -0
  112. package/bt/es/index.d.ts +25 -4
  113. package/bt/es/index.js +1 -1
  114. package/bt/es/{styles-D0rpulrE.js → styles-BByyc3sq.js} +1 -1
  115. package/bt/es/{styles-DpUy4TjI.js → styles-BVlkZfXV.js} +1 -1
  116. package/{sa/es/styles-BGNGJdjv.js → bt/es/styles-C1RQLfGY.js} +1 -1
  117. package/bt/es/{styles-C-HKDal6.js → styles-CkzFP96P.js} +1 -1
  118. package/{vg/es/styles-DO48QaHN.js → bt/es/styles-Cxm0surD.js} +1 -1
  119. package/bt/es/{styles-B_CfTWpC.js → styles-D8GThw3e.js} +1 -1
  120. package/bt/es/{styles-Dz_mjOky.js → styles-D8ovgsaK.js} +1 -1
  121. package/bt/es/{styles-CGeziON4.js → styles-DQtRkDqG.js} +1 -1
  122. package/bt/es/{styles-DUX9_U_G.js → styles-Dsk0btPX.js} +1 -1
  123. package/bt/es/{styles-K_Cy-GX8.js → styles-Qg4AW4zT.js} +1 -1
  124. package/btv2/es/_auto-entry_btv2-4dXVMldo.js +1 -0
  125. package/{sav2/es/events--V9H3X-z.js → btv2/es/events-DMH43tLi.js} +1 -1
  126. package/btv2/es/identity-facade-BhICwE-t.js +1 -0
  127. package/btv2/es/{index-p-Wu9qmN.js → index-C4AnfrKp.js} +1 -1
  128. package/btv2/es/index-CWZH5cCc.js +1 -0
  129. package/{omni/es/index-C3Q814r2.js → btv2/es/index-C_4mn5_g.js} +1 -1
  130. package/btv2/es/{index-_1WEzNOh.js → index-DAFsfJ9t.js} +1 -1
  131. package/{sav2/es/index-D4Hxkads.js → btv2/es/index-DAOWTrWO.js} +1 -1
  132. package/btv2/es/{index-4ysd4A7K.js → index-DFGzN5x9.js} +1 -1
  133. package/btv2/es/{index-DQCYe43A.js → index-hRBAHHA1.js} +1 -1
  134. package/btv2/es/index-l1O-tlpN.js +1 -0
  135. package/btv2/es/index.d.ts +25 -4
  136. package/btv2/es/index.js +1 -1
  137. package/btv2/es/{styles-BwgZ6h4w.js → styles-BVRqiO2h.js} +1 -1
  138. package/{sav2/es/styles-CpXnuTL4.js → btv2/es/styles-BkMkQCbs.js} +1 -1
  139. package/btv2/es/{styles-B8bkA3_5.js → styles-CMKS_Jvj.js} +1 -1
  140. package/{sav2/es/styles-jXzGh7gC.js → btv2/es/styles-CVrRZHar.js} +1 -1
  141. package/btv2/es/{styles-DAHadlhX.js → styles-Dg9ALvok.js} +1 -1
  142. package/btv2/es/{styles-Bc9_7msJ.js → styles-Ds8u5Def.js} +1 -1
  143. package/{sav2/es/styles-WFP5Fozc.js → btv2/es/styles-UOd4vRaH.js} +1 -1
  144. package/{vgv2/es/styles-DtKJ-J7F.js → btv2/es/styles-a3-2JcCe.js} +1 -1
  145. package/btv2/es/{styles-DyFP9zsK.js → styles-uRz4QDyG.js} +1 -1
  146. package/common/cjs/index.js +1 -1
  147. package/common/es/index.js +1 -1
  148. package/e24/es/_auto-entry_e24-BlFIZILi.js +1 -0
  149. package/e24/es/{events-CtniS6m3.js → events-CwvQGu-m.js} +1 -1
  150. package/e24/es/{index-CIlYOp5N.js → index-BbGstTBs.js} +1 -1
  151. package/e24/es/{index-DKfGdWTL.js → index-BmM9Q_Fm.js} +1 -1
  152. package/e24/es/{index-CfS9YWLe.js → index-Cmi93XZ-.js} +1 -1
  153. package/e24/es/{index-BM2r1wLq.js → index-Cy5SA-Ed.js} +1 -1
  154. package/e24/es/index-D-uX9uoo.js +1 -0
  155. package/e24/es/index-DDX95Sij.js +1 -0
  156. package/e24/es/{index-4Zm0Grmh.js → index-DG9t2woh.js} +1 -1
  157. package/e24/es/{index-Ci-qNYB_.js → index-DS6u_jwd.js} +1 -1
  158. package/e24/es/index.d.ts +25 -4
  159. package/e24/es/index.js +1 -1
  160. package/e24/es/{styles-CYk14rdS.js → styles-B6xU6J45.js} +1 -1
  161. package/e24/es/{styles-DmMYkAFs.js → styles-BxvgdFG4.js} +1 -1
  162. package/e24/es/{styles-DcGRyDQP.js → styles-CJzB5pSG.js} +1 -1
  163. package/e24/es/{styles-DzEznh_S.js → styles-ChBYY8bm.js} +1 -1
  164. package/e24/es/{styles-D7w8P_5v.js → styles-Cl1I905Q.js} +1 -1
  165. package/e24/es/{styles-BHKszP6X.js → styles-DEJwGPrm.js} +1 -1
  166. package/{tv4/es/styles-BAxYdJA1.js → e24/es/styles-DF27RJ5O.js} +1 -1
  167. package/e24/es/{styles-SNZbYMgv.js → styles-Dflg9p-h.js} +1 -1
  168. package/e24/es/{styles-C-oO0oDe.js → styles-Do2kU3xu.js} +1 -1
  169. package/e24/es/{styles-CezDMrIZ.js → styles-Dwf1vw4U.js} +1 -1
  170. package/e24/es/{styles-CzB5N6Nl.js → styles-aNb4-iQ2.js} +1 -1
  171. package/e24/es/{styles-DnRAFVxv.js → styles-qPuQBHOZ.js} +1 -1
  172. package/editory/cjs/index.d.ts +6 -1
  173. package/editory/es/index.d.ts +6 -1
  174. package/fotbollskanalen/cjs/index.d.ts +25 -4
  175. package/fotbollskanalen/cjs/index.js +1 -1
  176. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DRg32rfb.js +1 -0
  177. package/fotbollskanalen/es/{events-BJ6mPaCc.js → events-CWXuTPQI.js} +1 -1
  178. package/fotbollskanalen/es/identity-facade-DjclF_1k.js +1 -0
  179. package/fotbollskanalen/es/{index-DCPogE5b.js → index-B502oNgV.js} +1 -1
  180. package/fotbollskanalen/es/index-B5X2tzCJ.js +1 -0
  181. package/fotbollskanalen/es/{index-Cg7_oqDR.js → index-DPO2qCL6.js} +1 -1
  182. package/fotbollskanalen/es/{index-YD7CRD4F.js → index-DrVft5FF.js} +1 -1
  183. package/fotbollskanalen/es/{index-hYl9FgdN.js → index-KuC48Gth.js} +1 -1
  184. package/fotbollskanalen/es/{index-K_6o99m1.js → index-UzsfNA_u.js} +1 -1
  185. package/fotbollskanalen/es/{index-CcCWGFRI.js → index-_1063RUZ.js} +1 -1
  186. package/fotbollskanalen/es/index-tOea9GR8.js +1 -0
  187. package/fotbollskanalen/es/index.d.ts +25 -4
  188. package/fotbollskanalen/es/index.js +1 -1
  189. package/fotbollskanalen/es/{styles-Cze8UsvM.js → styles-B_dFAksr.js} +1 -1
  190. package/fotbollskanalen/es/{styles-2f9vh7tO.js → styles-BijNP6ET.js} +1 -1
  191. package/fotbollskanalen/es/{styles-BDfacPqd.js → styles-CVCPktwj.js} +1 -1
  192. package/fotbollskanalen/es/{styles-D3eqs7xM.js → styles-DGEkhUjm.js} +1 -1
  193. package/fotbollskanalen/es/{styles-BsW1z6U1.js → styles-S1QWzSdb.js} +1 -1
  194. package/glimr/cjs/index.js +1 -1
  195. package/glimr/es/index.js +1 -1
  196. package/godt/cjs/index.d.ts +25 -4
  197. package/godt/cjs/index.js +1 -1
  198. package/kilkaya/cjs/index.d.ts +6 -1
  199. package/kilkaya/cjs/index.js +1 -1
  200. package/kilkaya/es/index.d.ts +6 -1
  201. package/kilkaya/es/index.js +1 -1
  202. package/klart/cjs/index.d.ts +25 -4
  203. package/klart/cjs/index.js +1 -1
  204. package/koket/cjs/index.d.ts +25 -4
  205. package/koket/cjs/index.js +1 -1
  206. package/koket/es/_auto-entry_koket-BHg0RvvL.js +1 -0
  207. package/koket/es/{events-CJgWZC6E.js → events-mbYajTsn.js} +1 -1
  208. package/koket/es/identity-facade-BDC_83uu.js +1 -0
  209. package/koket/es/index-BAq2NOWx.js +1 -0
  210. package/koket/es/index-BFYKJukh.js +1 -0
  211. package/koket/es/{index-DOXR-6vM.js → index-Bxy5DWVd.js} +1 -1
  212. package/koket/es/{index-BO7-UQcf.js → index-CXmUpEcC.js} +1 -1
  213. package/koket/es/{index-Bc3NO9Mw.js → index-CcgdzAMk.js} +1 -1
  214. package/koket/es/{index-B4K9iUVT.js → index-CmPLF2Z6.js} +1 -1
  215. package/koket/es/{index-FpW7qdqo.js → index-Di7VhOpX.js} +1 -1
  216. package/koket/es/{index-C2olyB1x.js → index-PevTPzLn.js} +1 -1
  217. package/koket/es/index.d.ts +25 -4
  218. package/koket/es/index.js +1 -1
  219. package/{svdv2/es/styles-CzsWVNYE.js → koket/es/styles-BbTxS441.js} +1 -1
  220. package/koket/es/{styles-BBI31SR8.js → styles-CSh9_vAt.js} +1 -1
  221. package/{svdv2/es/styles-CGWD917e.js → koket/es/styles-Co5ZqMbg.js} +1 -1
  222. package/koket/es/{styles-BRxC9raX.js → styles-DFdUAMLD.js} +1 -1
  223. package/koket/es/{styles-BwESZmQi.js → styles-DsywZyMH.js} +1 -1
  224. package/minmote/cjs/index.d.ts +25 -4
  225. package/minmote/cjs/index.js +1 -1
  226. package/mtv/es/_auto-entry_mtv-DfNaThKA.js +1 -0
  227. package/mtv/es/identity-facade-D_-1QlSb.js +1 -0
  228. package/mtv/es/index-D7_oA5KZ.js +1 -0
  229. package/mtv/es/{index-B3fi7Kjz.js → index-DV7Ugpbb.js} +1 -1
  230. package/mtv/es/index-Dw0iebnS.js +1 -0
  231. package/mtv/es/index-p610-MLD.js +1 -0
  232. package/mtv/es/index.d.ts +27 -6
  233. package/mtv/es/index.js +1 -1
  234. package/{svd/es/styles-Ili64SUo.js → mtv/es/styles-BMAOyNUZ.js} +1 -1
  235. package/omni/es/_auto-entry_omni-Dqd2l-yE.js +1 -0
  236. package/omni/es/{events-D8oXnK9A.js → events-K68kj4rV.js} +1 -1
  237. package/omni/es/identity-facade-Duta4qyh.js +1 -0
  238. package/omni/es/{index-B1CsqT1v.js → index-2sqkxCUP.js} +1 -1
  239. package/omni/es/{index-Do_Anxwk.js → index-6RrI5Xc8.js} +1 -1
  240. package/omni/es/{index-CQHXVyOc.js → index-C0tOd4WT.js} +1 -1
  241. package/omni/es/{index-oYzDmTix.js → index-Chrat1gK.js} +1 -1
  242. package/omni/es/{index-DoI3bFIC.js → index-DOsDI_Kk.js} +1 -1
  243. package/{btv2/es/index-BxQ9QWgL.js → omni/es/index-DzypmlB0.js} +1 -1
  244. package/omni/es/index-IIqMYioz.js +1 -0
  245. package/omni/es/index-amUvs-_W.js +1 -0
  246. package/omni/es/index.d.ts +25 -4
  247. package/omni/es/index.js +1 -1
  248. package/omni/es/{styles-QXlcLvKz.js → styles-BYS1P-tF.js} +1 -1
  249. package/omni/es/{styles-DmYIWMWw.js → styles-Bow7auoh.js} +1 -1
  250. package/omni/es/{styles-Dh_pACB9.js → styles-CV0NQhKX.js} +1 -1
  251. package/package.json +1 -1
  252. package/pent/cjs/index.d.ts +25 -4
  253. package/pent/cjs/index.js +1 -1
  254. package/pulse/cjs/index.d.ts +8 -3
  255. package/pulse/cjs/index.js +1 -1
  256. package/pulse/es/index.d.ts +8 -3
  257. package/pulse/es/index.js +1 -1
  258. package/sa/cjs/index.d.ts +25 -4
  259. package/sa/cjs/index.js +1 -1
  260. package/sa/es/_auto-entry_sa-DyqGrGx4.js +1 -0
  261. package/sa/es/{events-DJlxmoyQ.js → events-CgW4jEAG.js} +1 -1
  262. package/sa/es/identity-facade-Daj6yMGJ.js +1 -0
  263. package/sa/es/{index-D-jh7EcB.js → index-B-VUvpKF.js} +1 -1
  264. package/sa/es/index-BQTjJitn.js +1 -0
  265. package/sa/es/{index-sAZnIVZD.js → index-Bn65l6Sc.js} +1 -1
  266. package/sa/es/{index-CwXblevG.js → index-C6w0pjh-.js} +1 -1
  267. package/sa/es/{index-BBpzoo6q.js → index-CW8otao7.js} +1 -1
  268. package/sa/es/{index-DdxQE4LO.js → index-CuH6WR7s.js} +1 -1
  269. package/sa/es/{index-BQQH0v-V.js → index-D61ZK7Cb.js} +1 -1
  270. package/sa/es/index-tbR32a6N.js +1 -0
  271. package/sa/es/index.d.ts +25 -4
  272. package/sa/es/index.js +1 -1
  273. package/sa/es/{styles-COBYxap6.js → styles-B09eEPL5.js} +1 -1
  274. package/sa/es/{styles-BqoJN48z.js → styles-B0IbKP96.js} +1 -1
  275. package/sa/es/{styles-CZbGc4JN.js → styles-CJQupH56.js} +1 -1
  276. package/sa/es/{styles-CsqrQMUa.js → styles-CK_iyyOw.js} +1 -1
  277. package/sa/es/{styles-dtFf-QzC.js → styles-Ca3-DJZq.js} +1 -1
  278. package/{vg/es/styles-CA2O0zNt.js → sa/es/styles-CzG_TYUC.js} +1 -1
  279. package/{vg/es/styles-BvJq1DbU.js → sa/es/styles-D5V5ppDj.js} +1 -1
  280. package/sa/es/{styles-BbYBBoEu.js → styles-DHZkBRdL.js} +1 -1
  281. package/sa/es/{styles-CxMgRiB0.js → styles-DcQMUe8C.js} +1 -1
  282. package/sa/es/{styles-CR2l0VPi.js → styles-Y4cCQABF.js} +1 -1
  283. package/sav2/es/_auto-entry_sav2-oUKXN5Cv.js +1 -0
  284. package/{tvnu/es/events-CYIyY_O8.js → sav2/es/events-5-DW8DNa.js} +1 -1
  285. package/sav2/es/identity-facade-BROor3DB.js +1 -0
  286. package/sav2/es/{index-DU69N01e.js → index-BV_Oux9-.js} +1 -1
  287. package/{tvnu/es/index-D53Lfqpz.js → sav2/es/index-Coz-p9iZ.js} +1 -1
  288. package/sav2/es/index-DBju8vD1.js +1 -0
  289. package/sav2/es/{index-DVdqEzgu.js → index-DSPOhBze.js} +1 -1
  290. package/{tvnu/es/index-n2OqZE3x.js → sav2/es/index-MPeNVDBL.js} +1 -1
  291. package/sav2/es/index-R5XLuH8n.js +1 -0
  292. package/sav2/es/{index-BHVPw0uA.js → index-UGWFEB3j.js} +1 -1
  293. package/sav2/es/{index-Cfn4EpE3.js → index-ehh4zyl6.js} +1 -1
  294. package/sav2/es/index.d.ts +25 -4
  295. package/sav2/es/index.js +1 -1
  296. package/sav2/es/{styles-ZhK4-day.js → styles-B8y3G3FO.js} +1 -1
  297. package/{btv2/es/styles-DucQJHxT.js → sav2/es/styles-CfBbNztv.js} +1 -1
  298. package/sav2/es/{styles-CFf2Ku9c.js → styles-Cfjk3GeF.js} +1 -1
  299. package/sav2/es/{styles-F7jUJjJn.js → styles-CqS3_D5H.js} +1 -1
  300. package/sav2/es/{styles-CEF-0mza.js → styles-D-aY7Kms.js} +1 -1
  301. package/{vgv2/es/styles-BZDzqgQY.js → sav2/es/styles-D3AEgmZ7.js} +1 -1
  302. package/{btv2/es/styles-D8oEO915.js → sav2/es/styles-DKWFSmJx.js} +1 -1
  303. package/{vgv2/es/styles-BZNQ1vE8.js → sav2/es/styles-DLd-glgd.js} +1 -1
  304. package/sav2/es/{styles-C4-rOm8X.js → styles-DkEzbye-.js} +1 -1
  305. package/svd/cjs/index.d.ts +25 -4
  306. package/svd/cjs/index.js +1 -1
  307. package/svd/es/_auto-entry_svd-BJDmLwK4.js +1 -0
  308. package/svd/es/{events-CXoatmpv.js → events-CJEzzOkM.js} +1 -1
  309. package/svd/es/identity-facade-G8xOuiES.js +1 -0
  310. package/svd/es/index-7pMjf183.js +1 -0
  311. package/svd/es/{index-ntuGyR2_.js → index-BGuy7q75.js} +1 -1
  312. package/svd/es/{index-DonfcwIE.js → index-ByFum0Ht.js} +1 -1
  313. package/svd/es/{index-KSUkz5Ec.js → index-CdeqDRiL.js} +1 -1
  314. package/svd/es/{index-BMn-d7Z_.js → index-D8-w2Zrr.js} +1 -1
  315. package/svd/es/{index-UhMbVarR.js → index-DaCqWD2C.js} +1 -1
  316. package/svd/es/index-De8cMolp.js +1 -0
  317. package/svd/es/{index-BXR4R0DG.js → index-KJC6As1v.js} +1 -1
  318. package/svd/es/index.d.ts +25 -4
  319. package/svd/es/index.js +1 -1
  320. package/svd/es/{styles-xB_mBaye.js → styles-BOupZnrK.js} +1 -1
  321. package/svd/es/{styles-BsUvk2WV.js → styles-C27QJnxq.js} +1 -1
  322. package/svd/es/{styles-B6N0NAK1.js → styles-Czwz7iv9.js} +1 -1
  323. package/svd/es/{styles-BHFhjoVx.js → styles-D0qm6kVv.js} +1 -1
  324. package/svd/es/{styles-CzzKpKOY.js → styles-D6FUS2Lx.js} +1 -1
  325. package/{mtv/es/styles-Cfow3icP.js → svd/es/styles-D9r9OnLQ.js} +1 -1
  326. package/svd/es/{styles-2098DKtE.js → styles-aqr9svHM.js} +1 -1
  327. package/svdv2/es/_auto-entry_svdv2-CLreTPmH.js +1 -0
  328. package/svdv2/es/{events-rieoT5HD.js → events-KCadTxl3.js} +1 -1
  329. package/svdv2/es/identity-facade-6XLh3tPd.js +1 -0
  330. package/svdv2/es/{index-C6jaff-U.js → index-B8RbMmJ8.js} +1 -1
  331. package/svdv2/es/index-BBT24FDS.js +1 -0
  332. package/svdv2/es/{index-BSzaY9HS.js → index-CCn-OmI-.js} +1 -1
  333. package/svdv2/es/index-CQXOnY9t.js +1 -0
  334. package/svdv2/es/{index-j0sWy6XQ.js → index-DWku1ORo.js} +1 -1
  335. package/svdv2/es/{index-B82Dt7Y9.js → index-Dg6mY90s.js} +1 -1
  336. package/svdv2/es/{index-B7VeIIa1.js → index-DuGmh88D.js} +1 -1
  337. package/svdv2/es/{index-SZHJspYo.js → index-wb3kiAkb.js} +1 -1
  338. package/svdv2/es/index.d.ts +25 -4
  339. package/svdv2/es/index.js +1 -1
  340. package/svdv2/es/{styles-DR0vrRzH.js → styles-BtVQF7bs.js} +1 -1
  341. package/svdv2/es/{styles-c1jdK7Es.js → styles-BuvxUEbh.js} +1 -1
  342. package/svdv2/es/{styles-CPISTY9o.js → styles-CEKLrR1u.js} +1 -1
  343. package/svdv2/es/{styles-BPhm6VCm.js → styles-CzH_1sLm.js} +1 -1
  344. package/svdv2/es/{styles-CaHsrPmd.js → styles-DNEg4Iyo.js} +1 -1
  345. package/{koket/es/styles-CH1-lHKr.js → svdv2/es/styles-DeJhuM1w.js} +1 -1
  346. package/svdv2/es/{styles-BPY37MKL.js → styles-PQSqNTuq.js} +1 -1
  347. package/{koket/es/styles-Dnaf1zGg.js → svdv2/es/styles-bdRhUD4i.js} +1 -1
  348. package/tek/cjs/index.d.ts +25 -4
  349. package/tek/cjs/index.js +1 -1
  350. package/tv4/cjs/index.d.ts +25 -4
  351. package/tv4/cjs/index.js +1 -1
  352. package/tv4/es/_auto-entry_tv4-CBLGjHou.js +1 -0
  353. package/{mtv/es/events-GqbgSzdx.js → tv4/es/events-C66ndP0f.js} +1 -1
  354. package/tv4/es/identity-facade-Byb8x97X.js +1 -0
  355. package/tv4/es/index-C06nqWj8.js +1 -0
  356. package/tv4/es/{index-BPFUDpOI.js → index-CmryMy4l.js} +1 -1
  357. package/tv4/es/{index-CLlZ_nvb.js → index-CnO0y594.js} +1 -1
  358. package/tv4/es/index-D4MnNwZH.js +1 -0
  359. package/tv4/es/{index-kMw82AyQ.js → index-DYGzrH19.js} +1 -1
  360. package/tv4/es/{index-DsO94JLJ.js → index-DePsb88V.js} +1 -1
  361. package/tv4/es/{index-Ba-gl0fE.js → index-IHhoDSFm.js} +1 -1
  362. package/tv4/es/{index-But-X6-M.js → index-VnOUEyPC.js} +1 -1
  363. package/tv4/es/index.d.ts +25 -4
  364. package/tv4/es/index.js +1 -1
  365. package/{e24/es/styles-U3ev4vZ7.js → tv4/es/styles-BDKGAK5o.js} +1 -1
  366. package/tv4/es/{styles-BOhTEsfH.js → styles-BHRB_mp-.js} +1 -1
  367. package/tv4/es/{styles-CiQyajrm.js → styles-Bpwmf5SO.js} +1 -1
  368. package/tv4/es/{styles-DyGJ5lUA.js → styles-BqOiKQK-.js} +1 -1
  369. package/tv4/es/{styles-ClhVmvvn.js → styles-CNdrS2sT.js} +1 -1
  370. package/tvnu/cjs/index.d.ts +25 -4
  371. package/tvnu/cjs/index.js +1 -1
  372. package/tvnu/es/_auto-entry_tvnu-BwxgbyD2.js +1 -0
  373. package/{btv2/es/events-D6P6hD23.js → tvnu/es/events-DAuZVg9R.js} +1 -1
  374. package/tvnu/es/identity-facade-NomeYive.js +1 -0
  375. package/tvnu/es/{index-CgR2vaLd.js → index-BfjWCLvz.js} +1 -1
  376. package/tvnu/es/index-BxKvAcWF.js +1 -0
  377. package/{btv2/es/index-bR4EjUyv.js → tvnu/es/index-ByPGwuny.js} +1 -1
  378. package/tvnu/es/{index-DLpVVZf_.js → index-D1CmJu8a.js} +1 -1
  379. package/{sav2/es/index-BgJctlWz.js → tvnu/es/index-DtReuiTF.js} +1 -1
  380. package/tvnu/es/{index-pN42MHkO.js → index-DvJP2BFc.js} +1 -1
  381. package/tvnu/es/index-XMGOKdOu.js +1 -0
  382. package/tvnu/es/{index-DPea4ItP.js → index-dpIRNaul.js} +1 -1
  383. package/tvnu/es/index.d.ts +25 -4
  384. package/tvnu/es/index.js +1 -1
  385. package/{btv2/es/styles-CtL-yllF.js → tvnu/es/styles-C3UIWT_6.js} +1 -1
  386. package/tvnu/es/{styles-tV1z1GZ_.js → styles-CJ-D06Ze.js} +1 -1
  387. package/tvnu/es/{styles-BYv3c9cw.js → styles-CkBdQxSE.js} +1 -1
  388. package/tvnu/es/{styles-Blkyvqh4.js → styles-ieCYZ2BR.js} +1 -1
  389. package/types/index.d.ts +6 -1
  390. package/vg/cjs/index.d.ts +25 -4
  391. package/vg/cjs/index.js +1 -1
  392. package/vg/es/_auto-entry_vg-CZCnWz9h.js +1 -0
  393. package/vg/es/{events-BqQucSf6.js → events-azOYx0q1.js} +1 -1
  394. package/vg/es/index-B5wDCTqX.js +1 -0
  395. package/vg/es/{index-bCzcmyfy.js → index-BEOyX2Wr.js} +1 -1
  396. package/vg/es/{index-C2UHtfj_.js → index-C-p2n13h.js} +1 -1
  397. package/vg/es/{index-DAAjvi1C.js → index-CDwF0YQd.js} +1 -1
  398. package/vg/es/{index-CsWAXOq-.js → index-CGf-bWSP.js} +1 -1
  399. package/vg/es/{index-BSPaei4i.js → index-CKhvsgVy.js} +1 -1
  400. package/vg/es/{index-BcaL6jsh.js → index-CwCLyscs.js} +1 -1
  401. package/vg/es/index-GXg9GWOy.js +1 -0
  402. package/vg/es/index.d.ts +25 -4
  403. package/vg/es/index.js +1 -1
  404. package/vg/es/{styles-Ce4iBXFA.js → styles-BRFXPOOo.js} +1 -1
  405. package/{sa/es/styles-CwbbNFdE.js → vg/es/styles-BX8TjOhH.js} +1 -1
  406. package/vg/es/{styles-C51lw1yU.js → styles-BXTr-tOf.js} +1 -1
  407. package/vg/es/{styles-CoLiVlSG.js → styles-BbqBATF4.js} +1 -1
  408. package/vg/es/{styles-Ddh-HkO8.js → styles-BzpRtGlm.js} +1 -1
  409. package/vg/es/{styles-D9qbS1Gw.js → styles-CGPMvWKF.js} +1 -1
  410. package/vg/es/{styles-B0hflLDs.js → styles-CluX5NBm.js} +1 -1
  411. package/{bt/es/styles-Djjc7UzY.js → vg/es/styles-ConMXAAa.js} +1 -1
  412. package/vg/es/{styles-CdpkwzOZ.js → styles-CrdVtM5r.js} +1 -1
  413. package/vg/es/{styles-CYzyLEV0.js → styles-D8pQb7vJ.js} +1 -1
  414. package/vg/es/{styles-CciYrbs8.js → styles-btaPzyxf.js} +1 -1
  415. package/vg/es/{styles-CSIB_T1c.js → styles-qoJJL703.js} +1 -1
  416. package/{bt/es/styles-B188diER.js → vg/es/styles-r7kx75rx.js} +1 -1
  417. package/vg/es/{styles-CIvA8Doz.js → styles-saWjZ7Vw.js} +1 -1
  418. package/vg/es/{styles-TZp4Js-a.js → styles-v287uw0Q.js} +1 -1
  419. package/vg/es/{styles-DFInM_03.js → styles-vLVEdNtd.js} +1 -1
  420. package/vgv2/es/_auto-entry_vgv2-Jn4NMMCE.js +1 -0
  421. package/vgv2/es/events-DllI3OCE.js +1 -0
  422. package/vgv2/es/{index-OzkyZrFL.js → index-1W9g-nvN.js} +1 -1
  423. package/vgv2/es/{index-CVGQqZVE.js → index-2cJe-Eef.js} +1 -1
  424. package/vgv2/es/{index-I-HW65_x.js → index-BT-sPtHS.js} +1 -1
  425. package/vgv2/es/{index-BAnN0RdP.js → index-B_ydkmG-.js} +1 -1
  426. package/vgv2/es/{index-BMvVZ3PU.js → index-CU7M1MUX.js} +1 -1
  427. package/vgv2/es/{index-DQGn1tXh.js → index-D00u_Vrz.js} +1 -1
  428. package/vgv2/es/index-D7a67PWC.js +1 -0
  429. package/vgv2/es/index-DcUpfciw.js +1 -0
  430. package/vgv2/es/index.d.ts +25 -4
  431. package/vgv2/es/index.js +1 -1
  432. package/{sav2/es/styles-DMF9Z1dt.js → vgv2/es/styles-B8Xt4Rvd.js} +1 -1
  433. package/{tvnu/es/styles-DgLNK3GP.js → vgv2/es/styles-BDDajuUD.js} +1 -1
  434. package/vgv2/es/{styles-V8Y9NY4R.js → styles-BNc9ub3p.js} +1 -1
  435. package/vgv2/es/{styles-F0n6XlmZ.js → styles-BqNKW7Qs.js} +1 -1
  436. package/vgv2/es/{styles-BgSFy8jC.js → styles-BsxHydq2.js} +1 -1
  437. package/{btv2/es/styles-BIEV_UDm.js → vgv2/es/styles-Bvy3Pr5x.js} +1 -1
  438. package/vgv2/es/{styles-CtTqdZis.js → styles-CHiCEnI8.js} +1 -1
  439. package/vgv2/es/{styles-DOZIdQKO.js → styles-D0rdjk3q.js} +1 -1
  440. package/vgv2/es/{styles-dPSL7ERU.js → styles-D3PM0A4u.js} +1 -1
  441. package/vgv2/es/{styles-CCY1tyd6.js → styles-DDwrDy_L.js} +1 -1
  442. package/vgv2/es/{styles-Cualb3_D.js → styles-DcLW6Ufi.js} +1 -1
  443. package/vgv2/es/styles-DeXRJf7-.js +1 -0
  444. package/vgv2/es/{styles--uVNPccL.js → styles-DiGH9BWs.js} +1 -1
  445. package/vgv2/es/{styles-YZ88G27K.js → styles-Doih5h9g.js} +1 -1
  446. package/vgv2/es/{styles-wF0dHoty.js → styles-i7ormIJY.js} +1 -1
  447. package/vgv2/es/{styles-DhnA4Y2g.js → styles-yWE21nMi.js} +1 -1
  448. package/video/cjs/index.js +1 -1
  449. package/video/es/index.js +1 -1
  450. package/aftenposten/es/_auto-entry_aftenposten-VdgcR_BE.js +0 -1
  451. package/aftenposten/es/index-DP0BbbWJ.js +0 -1
  452. package/aftenposten/es/index-PdNwftJA.js +0 -1
  453. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BIMCdj2e.js +0 -1
  454. package/aftenpostenv2/es/index-6k3Y32Fw.js +0 -1
  455. package/aftenpostenv2/es/index-DPqkphHW.js +0 -1
  456. package/aftonbladet/es/_auto-entry_aftonbladet-D2fIitz4.js +0 -1
  457. package/aftonbladet/es/index-C1IqSowz.js +0 -1
  458. package/aftonbladet/es/index-CFu2vZ67.js +0 -1
  459. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-3dTEWOlI.js +0 -1
  460. package/aftonbladetv2/es/index-BVirA6E3.js +0 -1
  461. package/aftonbladetv2/es/index-DB2zWF2S.js +0 -1
  462. package/bt/es/_auto-entry_bt-CvnjeTKS.js +0 -1
  463. package/bt/es/index-5orz6iDE.js +0 -1
  464. package/bt/es/index-B4s9DYHb.js +0 -1
  465. package/btv2/es/_auto-entry_btv2-Dvycsb0N.js +0 -1
  466. package/btv2/es/index-CYUq8h41.js +0 -1
  467. package/btv2/es/index-wU5-fkkY.js +0 -1
  468. package/e24/es/_auto-entry_e24-EmoPFNdZ.js +0 -1
  469. package/e24/es/index-BHxQeiJc.js +0 -1
  470. package/e24/es/index-C4omnW1M.js +0 -1
  471. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DntxanXt.js +0 -1
  472. package/fotbollskanalen/es/index-8KLTEqRi.js +0 -1
  473. package/fotbollskanalen/es/index-BMDVF1u1.js +0 -1
  474. package/koket/es/_auto-entry_koket-a4ea-7Qw.js +0 -1
  475. package/koket/es/index-CZ7fRUR1.js +0 -1
  476. package/koket/es/index-I63ib7qd.js +0 -1
  477. package/mtv/es/_auto-entry_mtv-DsuRsc1u.js +0 -1
  478. package/mtv/es/index--OizxMLO.js +0 -1
  479. package/mtv/es/index-B83VUyBB.js +0 -1
  480. package/mtv/es/index-BnTnl5EG.js +0 -1
  481. package/mtv/es/index-D2XPbfTm.js +0 -1
  482. package/mtv/es/index-DN3cR0Fw.js +0 -1
  483. package/mtv/es/index-DTrcSpan.js +0 -1
  484. package/mtv/es/index-Dv15bwI7.js +0 -1
  485. package/omni/es/_auto-entry_omni-HSpRNCg1.js +0 -1
  486. package/omni/es/index-74zEx__y.js +0 -1
  487. package/omni/es/index-wkJKThPL.js +0 -1
  488. package/sa/es/_auto-entry_sa-B3BT1vI-.js +0 -1
  489. package/sa/es/index-CrWFSHI0.js +0 -1
  490. package/sa/es/index-d0MDNCl0.js +0 -1
  491. package/sav2/es/_auto-entry_sav2-Ms7Jve07.js +0 -1
  492. package/sav2/es/index-BBAAh5bR.js +0 -1
  493. package/sav2/es/index-DS2guFzB.js +0 -1
  494. package/svd/es/_auto-entry_svd-CuD9iF48.js +0 -1
  495. package/svd/es/index-BfA2xLfw.js +0 -1
  496. package/svd/es/index-EJwoMYuf.js +0 -1
  497. package/svdv2/es/_auto-entry_svdv2-1VQfx2m3.js +0 -1
  498. package/svdv2/es/index-DB2h1Swy.js +0 -1
  499. package/svdv2/es/index-DU1mD5yI.js +0 -1
  500. package/tv4/es/_auto-entry_tv4-CWqxLSel.js +0 -1
  501. package/tv4/es/events-D6xMM-17.js +0 -1
  502. package/tv4/es/index-BONgzmFt.js +0 -1
  503. package/tv4/es/index-DP-cpF3Z.js +0 -1
  504. package/tvnu/es/_auto-entry_tvnu-VQhBZ5ti.js +0 -1
  505. package/tvnu/es/index-Ca_3Ni0n.js +0 -1
  506. package/tvnu/es/index-DjWYwuQw.js +0 -1
  507. package/vg/es/_auto-entry_vg-DfuxvRye.js +0 -1
  508. package/vg/es/index-DCWH5HnK.js +0 -1
  509. package/vg/es/index-DX5agaGX.js +0 -1
  510. package/vgv2/es/_auto-entry_vgv2-Bq8_SS3m.js +0 -1
  511. package/vgv2/es/events-BMoajPYv.js +0 -1
  512. package/vgv2/es/index-Ck1oE8Pa.js +0 -1
  513. package/vgv2/es/index-DxSr_M00.js +0 -1
  514. package/vgv2/es/styles-DDsDYtIG.js +0 -1
@@ -0,0 +1 @@
1
+ import{o as t,w as e,C as a,_ as n,p as r,P as s,l as i,q as l,r as o,h as c,N as d}from"./_auto-entry_fotbollskanalen-DRg32rfb.js";import{g as u,I as p}from"./identity-facade-DjclF_1k.js";import{jsxs as g,jsx as m}from"react/jsx-runtime";class v{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:r}=new URL(a);if(!n.includes("www.vg.no")&&!r.includes("annonsorinnhold"))return[a];const s=r.split("/");return s.length?[...s.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class h{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}const y="[data-k5a-teaser-analytics]";class k extends t{constructor(t,e,a,n){super(t,""),this.root=e,this.newsroomStrategy=a,this.pageType=n}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 a=this.root.closest(".kilkaya-wrapper");return{columnName:null!==(t=null==a?void 0:a.dataset.pulseColumnname)&&void 0!==t?t:"",primaryPosition:Number(null==a?void 0:a.dataset.pulsePrimaryposition)||0,secondaryPosition:Number(null==a?void 0:a.dataset.pulseSecondaryposition)||0,slot:null!==(e=null==a?void 0:a.dataset.slotTag)&&void 0!==e?e:""}}getEventTarget(){const{link:t,itemId:e,title:a}=this.parseKilkayaData();return{id:e,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:t}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}waitForAnalyticsData(t){const e=this.root.querySelector(y);if(Boolean(null==e?void 0:e.dataset.k5aTeaserAnalytics))return void t();const a=new MutationObserver(()=>{const e=this.root.querySelector(y);Boolean(null==e?void 0:e.dataset.k5aTeaserAnalytics)&&(a.disconnect(),t())});a.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 a=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:this.parseKilkayaData().placement}});window.dispatchEvent(a);const n=this.getEventInput("view");this.pulse.trackLegacyViewUIElement?this.pulse.trackLegacyViewUIElement(n):this.pulse.trackViewUIElement?this.pulse.trackViewUIElement(n):null===(e=(t=this.pulse).trackElementView)||void 0===e||e.call(t,n)}))}trackEngagement(t){var e,a;const n=this.getEventInput("click");this.pulse.trackLegacyClickUIElement?this.pulse.trackLegacyClickUIElement(n):this.pulse.trackClickUIElement?this.pulse.trackClickUIElement(n):null===(a=(e=this.pulse).trackElementClick)||void 0===a||a.call(e,n)}}class f extends k{getEventBaseData(){var t,e,a,n;const{clientName:r,creativeId:s,itemId:i,placement:l}=this.parseKilkayaData(),{primaryPosition:o,secondaryPosition:c,slot:d}=this.getPlacementData(),u=this.mapPageType(this.pageType),p=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({},i&&{"@id":`sdrn:kilkaya:teaser:${i}`}),{"@type":"UIElement",position:l,elementType:"Article",custom:{customer:r,creativeId:null!=s?s:i},page:{"@id":null!=p?p:l,"@type":u,url:location.origin},placement:{primaryPosition:o,secondaryPosition:c,source:d},tags:null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getTags)||void 0===n?void 0:n.call(a,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 b extends k{getEventBaseData(){var t,e;const{title:a="",clientName:n="",creativeId:r="",link:s="",itemId:i=""}=this.parseKilkayaData(),{columnName:l,primaryPosition:o,secondaryPosition:c,slot:d}=this.getPlacementData(),u={publicUrl:s,urlPath:s?new URL(s).pathname:""},{publicUrl:p,urlPath:g}=s&&(null===(e=null===(t=this.newsroomStrategy)||void 0===t?void 0:t.transformUrl)||void 0===e?void 0:e.call(t,s))||u;return Object.assign(Object.assign({},i&&{"@id":`sdrn:kilkaya:teaser:${i}`}),{"@type":"UIElement",elementType:"Teaser",layout:{elementSize:"large",imageUrl:"",name:"large"},name:a,placement:{columnName:l,primaryPosition:o,secondaryPosition:c,source:d},tags:[n,a,p,g].filter(Boolean),"spt:custom":{is_sponsored:!0,sponsor:n,"spt:creativeId":r,pageTitle:a,publicUrl:p,urlPath:g},url:location.origin})}getEventInput(t){return{object:this.getEventBaseData(),target:this.getEventTarget()}}}const P=/^glci_/,I="gender_",w="geo_",E="male",T="female",U=()=>n(void 0,void 0,void 0,function*(){const t=[],e=yield n(void 0,void 0,void 0,function*(){try{const t=yield u(),e=new p(t),a=yield e.getIdentityUser(),{gender:n}=null!=a?a:{};return n===E||n===T?`${I}${n}`:void 0}catch(t){return}}),a=(()=>{const t=r().map(t=>`${w}${t.replace(P,"")}`);return Array.from(new Set(t))})();return e&&t.push(e),a&&t.push(...a),t});class S{getPulseObjectId(){return"sdrn:e24:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===s.FRONT?"sdrn:e24:frontpage:front":`sdrn:e24:article:${e}`}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[];if(!a.includes("https://e24.no/annonsorinnhold/"))return[a];const{pathname:n}=new URL(a),r=n.split("/").filter(Boolean);return r.length?[...r.slice(1),a]:[a]}}class A{getPulseObjectId(){return"sdrn:aftenposten:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:aftenposten:frontpage:Frontpage"}}class j{getPulseObjectId(){return"sdrn:bt:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:bt:frontpage:Frontpage"}}class O{getPulseObjectId(){return"sdrn:stavangeraftenblad:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:stavangeraftenblad:frontpage:Frontpage"}}class D{transformUrl(t){const{hostname:e,pathname:a}=new URL(t);return"brand-studio.svd.se"===e?{publicUrl:`https://svd.se/brand-studio${a}`,urlPath:`/brand-studio${a}`}:{publicUrl:t,urlPath:a}}getPulseObjectId(){return"sdrn:svdse:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===s.FRONT?"sdrn:svdse:frontpage:front":`sdrn:svdse:article:${e}`}}class K{transformUrl(t){const{hostname:e,pathname:a}=new URL(t);return"brand-studio.aftonbladet.se"===e?{publicUrl:`https://aftonbladet.se/brand-studio${a}`,urlPath:`/brand-studio${a}`}:{publicUrl:t,urlPath:a}}getPulseObjectId(){return""}getPulsePageId(){return""}}class N{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:n,countryCode:r}}){if(!(null==t?void 0:t.instance))return;const s={[d.VG]:new v,[d.E24]:new S,"no-aftenposten":new A,[d.BT]:new j,"no-bergenstidende":new j,[d.SA]:new O,"no-stavangeraftenblad":new O,[d.SVD]:new D,[d.AFTONBLADET]:new K}[n]||new h;((t,e,n,r)=>{const s=document.querySelectorAll("k5a-stream");s.length&&s.forEach(s=>{const i=r===a.SE?new b(t,s,e):new f(t,s,e,n);i.trackImpression(),s.addEventListener("click",()=>i.trackEngagement())})})(t.instance,s,e,r)}injectKilkayaMeta(t){return n(this,void 0,void 0,function*(){const e=document.createElement("script"),a=yield U();e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ${JSON.stringify(a)} };`,document.head.appendChild(e)})}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var e;const a=null===(e=null==t?void 0:t.detail)||void 0===e?void 0:e.streamSlot;if(i(`Kilkaya event for slot: ${a}`),!a)return void i("Kilkaya slot empty, Xandr backfill won't be loaded");const n=a.parentElement;n?(i(`Kilkaya placement ${a.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(n)):i("Kilkaya parent slot empty, Xandr backfill won't be loaded")})}showBackfill(t){var e;const a=t.querySelector(".fallback");if(!a)return;a.style.display="flex";const n=null!==(e=a.dataset.fallbackTargetId)&&void 0!==e?e:"";l(n)}loadKilkayaScript(t){return n(this,void 0,void 0,function*(){yield o(t)})}run(t){return n(this,void 0,void 0,function*(){var e,a;const{tcf:n,pageContext:{isMobileApp:r,countryCode:s},kilkaya:i}=t;if(!(null==i?void 0:i.enabled))return;const l=yield c(n,r,s,"kilkaya");this.observeForKilkayaBackfills(),yield this.injectKilkayaMeta(l),yield this.loadKilkayaScript(null!==(a=null===(e=i.options)||void 0===e?void 0:e.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(t)})}}const $=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:r,htmlAttributes:s})=>{const i=(t,e)=>{const a={};if(!t)return a;for(const[n,r]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(r)}return a},l=i(r,"data-pulse"),o=i(s,"data");return g("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"},"data-slot-tag":e},l,o,{children:[m("div",{className:"inscreen-target"}),m("k5a-stream",{name:t,"slot-tag":e}),m("div",{className:"container"}),m("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},L=t=>n(void 0,void 0,void 0,function*(){const e=new N;yield e.run(t)});export{$ as Kilkaya,L as runKilkaya};
@@ -520,7 +520,6 @@ interface PlacementRefreshConfig {
520
520
  }
521
521
  interface Placement {
522
522
  targetId: string;
523
- adUnitId?: string;
524
523
  sizes: Array<Array<number>>;
525
524
  allowedFormats: Array<AstAdType>;
526
525
  invCode: string;
@@ -607,6 +606,11 @@ interface TCFConfig {
607
606
  timeout?: number;
608
607
  nonRtb?: NonRTBConfig;
609
608
  }
609
+ interface ManagedThirdPartyConfig {
610
+ readpeakUrl?: string;
611
+ adnamiUrl?: string;
612
+ adformDmpUrl?: string;
613
+ }
610
614
  interface PrebidConfig {
611
615
  enabled: boolean;
612
616
  prebidUrl: string;
@@ -617,6 +621,7 @@ interface PrebidConfig {
617
621
  forwardGlimrTags?: boolean;
618
622
  manageAdserver?: boolean;
619
623
  adServerUrl?: string;
624
+ thirdParty?: ManagedThirdPartyConfig;
620
625
  }
621
626
  interface NonRTBConfig {
622
627
  invCodeSuffix?: string;
@@ -891,8 +896,13 @@ interface Advertory {
891
896
  getVideoAdsConfig: (params: VideoAdsConfigParams) => (stream: VideoStream) => Promise<Record<string, unknown>>;
892
897
  }
893
898
 
899
+ declare const TagDefinitions: {
900
+ readonly EXPLICIT: "explicit";
901
+ readonly DOM_DISCOVERED: "dom-discovered";
902
+ };
903
+ type TagDefinition = (typeof TagDefinitions)[keyof typeof TagDefinitions];
894
904
  interface AdServerCapabilities {
895
- tagDefinition: 'explicit' | 'dom-discovered';
905
+ tagDefinition: TagDefinition;
896
906
  deferredRequest: boolean;
897
907
  deferredRender: boolean;
898
908
  refresh: boolean;
@@ -910,18 +920,29 @@ interface AdEventBus {
910
920
  on: (event: AdEventName, handler: AdEventHandler) => void;
911
921
  }
912
922
 
923
+ interface RefreshOptions {
924
+ keepPreviousSizes?: Array<Placement>;
925
+ applyReloadKeyword?: boolean;
926
+ }
913
927
  interface AdServerDriver {
914
928
  readonly name: string;
915
929
  readonly capabilities: AdServerCapabilities;
930
+ readonly messageOrigins?: ReadonlyArray<string>;
916
931
  setup(): Promise<void>;
917
932
  setTargeting(): Promise<void>;
933
+ enrichPlacementsAfterDiscovery?(placements: Array<Placement>): Array<Placement>;
934
+ adjustPlacementsBeforeRequest?(placements: Array<Placement>): Promise<Array<Placement>>;
918
935
  definePlacements?(placements: Array<Placement>): void;
919
936
  requestPlacements?(placements: Array<Placement>): Promise<void>;
920
937
  requestPage?(): Promise<void>;
921
938
  bindEvents(bus: AdEventBus): Promise<void>;
939
+ clear?(targetIds: Array<string>): void;
940
+ resizeCreative?(targetId: string, size: Array<number>, isMediation?: boolean): void;
941
+ render?(targetId: string): void;
942
+ refresh?(targetIds: Array<string>, options?: RefreshOptions): void;
922
943
  }
923
944
 
924
- declare const createAdvertory: (handlers: SiteHandlers, siteSpecificConfig?: SiteSpecificConfig, driver?: AdServerDriver) => Advertory;
945
+ declare const createAdvertory: (handlers: SiteHandlers, driver: AdServerDriver, siteSpecificConfig?: SiteSpecificConfig) => Advertory;
925
946
 
926
947
  declare const prepareTag: (tag: AstDefineTagParams) => AstDefineTagParams;
927
948
 
@@ -956,6 +977,6 @@ const HANDLERS = {
956
977
  initNativeAd: initAdsOnFotbollskanalen,
957
978
  };
958
979
 
959
- const advertory = createAdvertory(HANDLERS, siteSpecificConfig, xandrDriver);
980
+ const advertory = createAdvertory(HANDLERS, xandrDriver, siteSpecificConfig);
960
981
 
961
982
  export { Takeover, advertory as default };
@@ -1 +1 @@
1
- export{Y as Takeover,X as default}from"./_auto-entry_fotbollskanalen-DntxanXt.js";import"react/jsx-runtime";
1
+ export{Y as Takeover,X as default}from"./_auto-entry_fotbollskanalen-DRg32rfb.js";import"react/jsx-runtime";
@@ -1 +1 @@
1
- import{i as a}from"./_auto-entry_fotbollskanalen-DntxanXt.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_fotbollskanalen-DRg32rfb.js";import"react/jsx-runtime";const e=a("[data-carousel-viewport]{position:relative;overflow:hidden;padding-bottom:4px;touch-action:pan-y;user-select:none}[data-carousel-track]{display:flex;gap:10px;will-change:transform}[data-carousel-track] [data-carousel-slide]:not(.is-active){opacity:.9;filter:saturate(0.72)}[data-carousel-track] .carousel-slide{flex:0 0 82%;margin:0;overflow:hidden;border:1px solid hsla(0,0%,100%,.68);border-radius:12px;box-shadow:#adadad 1px 1px 1px}[data-carousel-track] .carousel-slide .slide-image{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;pointer-events:none}");export{e as default};
@@ -1 +1 @@
1
- import{i as e}from"./_auto-entry_fotbollskanalen-DntxanXt.js";import"react/jsx-runtime";e(".advertory-shared-ad-native-video{width:100%;min-height:250px;height:auto;margin:auto;text-align:left;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;display:table;table-layout:fixed}@media screen and (min-width: 768px){.advertory-shared-ad-native-video{width:580px}}.advertory-shared-ad-native-video .ad-info{position:absolute;top:2px;right:24px}.advertory-shared-ad-native-video .ad-info .gdprAdTransparencyCogWheelButton{background-color:rgba(0,0,0,0);border-bottom-right-radius:13px;z-index:10}.advertory-shared-ad-native-video a.ad-link{display:block;text-decoration:none;color:#2b2b2b}.advertory-shared-ad-native-video a.ad-link:hover{text-decoration:none}.advertory-shared-ad-native-video .ad-content .ad-header{font-size:12px;padding:5px 8px;color:#4c3d00;background:rgba(255,205,0,.8);font-weight:bold}.advertory-shared-ad-native-video .ad-content .ad-image-container{position:relative;line-height:0}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-image-container{min-height:300px}}.advertory-shared-ad-native-video .ad-content .ad-image-container .ad-player-wrapper{height:56.4971751412vw;width:100%}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-image-container .ad-player-wrapper{height:326px}}.advertory-shared-ad-native-video .ad-content .ad-text-container{background:#fff6d1;overflow:auto;padding-bottom:15px;padding-left:8px}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-text-container{background:#fff6d1;padding-left:16px;overflow:auto}}.advertory-shared-ad-native-video .ad-content .ad-text-container .sponsored-by{margin:8px 16px 8px 0;color:#64625a;font-size:10px;text-transform:uppercase;display:block;font-weight:600}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-text-container .sponsored-by{font-size:12px}}.advertory-shared-ad-native-video .ad-content .ad-text-container .title{line-height:1;margin:8px 0;font-weight:bold;font-size:20px;font-family:Arial,sans-serif}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-text-container .title{font-size:22px}}");
1
+ import{i as e}from"./_auto-entry_fotbollskanalen-DRg32rfb.js";import"react/jsx-runtime";e(".advertory-shared-ad-native-video{width:100%;min-height:250px;height:auto;margin:auto;text-align:left;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;display:table;table-layout:fixed}@media screen and (min-width: 768px){.advertory-shared-ad-native-video{width:580px}}.advertory-shared-ad-native-video .ad-info{position:absolute;top:2px;right:24px}.advertory-shared-ad-native-video .ad-info .gdprAdTransparencyCogWheelButton{background-color:rgba(0,0,0,0);border-bottom-right-radius:13px;z-index:10}.advertory-shared-ad-native-video a.ad-link{display:block;text-decoration:none;color:#2b2b2b}.advertory-shared-ad-native-video a.ad-link:hover{text-decoration:none}.advertory-shared-ad-native-video .ad-content .ad-header{font-size:12px;padding:5px 8px;color:#4c3d00;background:rgba(255,205,0,.8);font-weight:bold}.advertory-shared-ad-native-video .ad-content .ad-image-container{position:relative;line-height:0}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-image-container{min-height:300px}}.advertory-shared-ad-native-video .ad-content .ad-image-container .ad-player-wrapper{height:56.4971751412vw;width:100%}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-image-container .ad-player-wrapper{height:326px}}.advertory-shared-ad-native-video .ad-content .ad-text-container{background:#fff6d1;overflow:auto;padding-bottom:15px;padding-left:8px}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-text-container{background:#fff6d1;padding-left:16px;overflow:auto}}.advertory-shared-ad-native-video .ad-content .ad-text-container .sponsored-by{margin:8px 16px 8px 0;color:#64625a;font-size:10px;text-transform:uppercase;display:block;font-weight:600}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-text-container .sponsored-by{font-size:12px}}.advertory-shared-ad-native-video .ad-content .ad-text-container .title{line-height:1;margin:8px 0;font-weight:bold;font-size:20px;font-family:Arial,sans-serif}@media screen and (min-width: 768px){.advertory-shared-ad-native-video .ad-content .ad-text-container .title{font-size:22px}}");
@@ -1 +1 @@
1
- import{i as a}from"./_auto-entry_fotbollskanalen-DntxanXt.js";import"react/jsx-runtime";a('.advertory-fotbollskanalen-ad-native-default{border-top:4px solid #2a72dd;position:relative;font-family:var(--font-quattro-new, Roboto, Arial, sans-serif);font-weight:750;font-style:normal;background-color:var(--color-default-box, #ffffff);color:var(--text-color, #000000);width:100%}.advertory-fotbollskanalen-ad-native-default .ad-info{top:2px;right:0;position:absolute;height:26px;width:26px;z-index:1000;border-bottom-left-radius:13px;border-top-right-radius:13px}.advertory-fotbollskanalen-ad-native-default .ad-link{color:inherit;text-decoration:none;display:block}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content{border-left:1px solid rgba(34,34,34,.1);border-right:1px solid rgba(34,34,34,.1);border-bottom:1px solid rgba(34,34,34,.1);display:flex;flex-direction:column}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-header{display:flex;padding:8px 16px}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-header .ad-annonse{font-size:14px;font-weight:bold;color:var(--color-primary-link, #2a72dd);content:"ANNONS";display:inline-block;text-align:left;vertical-align:middle}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content{padding:8px 16px}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-subtitle{font-family:var(--font-quattro-new, Roboto, Arial, sans-serif);font-weight:normal;font-size:15px}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-subtitle .ad-sponsored{color:var(--color-primary-link, #2a72dd);font-weight:bold;text-transform:uppercase}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-title{font-weight:750;font-size:30px;letter-spacing:-1px;line-height:1.08;margin:0 0 4px}@media screen and (min-width: 768px){.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-title{font-size:54px;letter-spacing:-1.8px}}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-image-container .ad-image{position:relative;width:100%;height:100%;aspect-ratio:2.8;object-fit:cover;object-position:center}@media(prefers-color-scheme: dark){.advertory-fotbollskanalen-ad-native-default{background-color:var(--color-default-box, #222222);color:var(--text-color, #ffffff)}}');
1
+ import{i as a}from"./_auto-entry_fotbollskanalen-DRg32rfb.js";import"react/jsx-runtime";a('.advertory-fotbollskanalen-ad-native-default{border-top:4px solid #2a72dd;position:relative;font-family:var(--font-quattro-new, Roboto, Arial, sans-serif);font-weight:750;font-style:normal;background-color:var(--color-default-box, #ffffff);color:var(--text-color, #000000);width:100%}.advertory-fotbollskanalen-ad-native-default .ad-info{top:2px;right:0;position:absolute;height:26px;width:26px;z-index:1000;border-bottom-left-radius:13px;border-top-right-radius:13px}.advertory-fotbollskanalen-ad-native-default .ad-link{color:inherit;text-decoration:none;display:block}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content{border-left:1px solid rgba(34,34,34,.1);border-right:1px solid rgba(34,34,34,.1);border-bottom:1px solid rgba(34,34,34,.1);display:flex;flex-direction:column}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-header{display:flex;padding:8px 16px}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-header .ad-annonse{font-size:14px;font-weight:bold;color:var(--color-primary-link, #2a72dd);content:"ANNONS";display:inline-block;text-align:left;vertical-align:middle}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content{padding:8px 16px}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-subtitle{font-family:var(--font-quattro-new, Roboto, Arial, sans-serif);font-weight:normal;font-size:15px}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-subtitle .ad-sponsored{color:var(--color-primary-link, #2a72dd);font-weight:bold;text-transform:uppercase}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-title{font-weight:750;font-size:30px;letter-spacing:-1px;line-height:1.08;margin:0 0 4px}@media screen and (min-width: 768px){.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-data-content .ad-title{font-size:54px;letter-spacing:-1.8px}}.advertory-fotbollskanalen-ad-native-default .ad-link .ad-content .ad-image-container .ad-image{position:relative;width:100%;height:100%;aspect-ratio:2.8;object-fit:cover;object-position:center}@media(prefers-color-scheme: dark){.advertory-fotbollskanalen-ad-native-default{background-color:var(--color-default-box, #222222);color:var(--text-color, #ffffff)}}');
@@ -1 +1 @@
1
- import{i as o}from"./_auto-entry_fotbollskanalen-DntxanXt.js";import"react/jsx-runtime";const t=o("[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-slider-time,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-slider-time{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container{padding:0 6px;height:36px}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon{margin-right:3px;height:unset;width:unset;bottom:0}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback{display:flex}");export{t as default};
1
+ import{i as o}from"./_auto-entry_fotbollskanalen-DRg32rfb.js";import"react/jsx-runtime";const t=o("[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-slider-time,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-slider-time{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container{padding:0 6px;height:36px}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon{margin-right:3px;height:unset;width:unset;bottom:0}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback{display:flex}");export{t as default};
@@ -1 +1 @@
1
- import{i as e}from"./_auto-entry_fotbollskanalen-DntxanXt.js";import"react/jsx-runtime";e('.advertory-shared-ad-native-seamless{position:relative;overflow:hidden;border-radius:10px}.advertory-shared-ad-native-seamless .ad-info{position:absolute;top:0;right:0;z-index:1}.advertory-shared-ad-native-seamless .ad-info div[role=button]{top:0;right:0;left:auto;transform:none;background-color:hsla(0,0%,100%,.45);border-bottom-left-radius:13px}.advertory-shared-ad-native-seamless .ad-link{text-decoration:none;color:inherit}.advertory-shared-ad-native-seamless .ad-link .ad-content{position:relative;min-width:320px;height:100%;margin:0 auto;padding:8px 8px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;background-color:var(--color-background-secondary, #ffffff);color:var(--color-text-primary, #333)}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header{padding:0 0 8px 10px;margin-right:18px;display:flex;justify-content:space-between;gap:50px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header .ad-logo{max-width:100%;max-height:40px;min-width:0;object-fit:contain;object-position:left center}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header .ad-annons{flex-shrink:0;margin-left:auto;margin-right:5px;font-size:10px;font-weight:400;color:var(--color-text-primary, #333);white-space:nowrap;line-height:.7;text-transform:lowercase}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container{width:100%;aspect-ratio:1/1;overflow:hidden;display:flex;justify-content:center;align-items:center}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container .ad-image{height:100%;width:auto;max-width:100%;object-fit:cover}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container{aspect-ratio:1.91/1}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-carousel{display:flex;justify-content:center;align-items:center;width:100%}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-carousel .carousel-window{width:calc(100% + 16px);min-width:calc(100% + 16px);mask-image:linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);-webkit-mask-image:linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, #000 5%, #000 95%, rgba(0, 0, 0, 0.5) 100%)}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer{display:flex;flex-direction:column;justify-content:center;padding:13px 10px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row{display:flex;align-items:center;justify-content:space-between}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper{display:flex;flex-direction:column;gap:5px;flex-grow:1;min-width:0;padding-right:8px;align-items:start}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;overflow:hidden;min-width:0;font-size:15.5px;font-weight:500;text-align:left;word-spacing:-1px;color:var(--color-text-primary, #111111)}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{font-size:18px}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-headline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-width:0;margin:0;font-size:16px;font-weight:400;line-height:1.2;word-spacing:-1px;text-align:left;color:var(--color-text-secondary, #111111)}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-headline{font-size:18px}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase{display:flex;flex-direction:column;flex-shrink:0;align-items:center;gap:6px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase .ad-price{font-size:13px;font-weight:500;white-space:nowrap}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase .ad-price:empty{display:none}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-action{flex-shrink:0;padding:10px 14px;font-size:14px;line-height:1;color:var(--color-text-on-accent, #111111);white-space:nowrap;background-color:var(--color-accent, #d9d9d9);border-radius:99px;font-weight:500}');
1
+ import{i as e}from"./_auto-entry_fotbollskanalen-DRg32rfb.js";import"react/jsx-runtime";e('.advertory-shared-ad-native-seamless{position:relative;overflow:hidden;border-radius:10px}.advertory-shared-ad-native-seamless .ad-info{position:absolute;top:0;right:0;z-index:1}.advertory-shared-ad-native-seamless .ad-info div[role=button]{top:0;right:0;left:auto;transform:none;background-color:hsla(0,0%,100%,.45);border-bottom-left-radius:13px}.advertory-shared-ad-native-seamless .ad-link{text-decoration:none;color:inherit}.advertory-shared-ad-native-seamless .ad-link .ad-content{position:relative;min-width:320px;height:100%;margin:0 auto;padding:8px 8px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;background-color:var(--color-background-secondary, #ffffff);color:var(--color-text-primary, #333)}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header{padding:0 0 8px 10px;margin-right:18px;display:flex;justify-content:space-between;gap:50px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header .ad-logo{max-width:100%;max-height:40px;min-width:0;object-fit:contain;object-position:left center}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-header .ad-annons{flex-shrink:0;margin-left:auto;margin-right:5px;font-size:10px;font-weight:400;color:var(--color-text-primary, #333);white-space:nowrap;line-height:.7;text-transform:lowercase}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container{width:100%;aspect-ratio:1/1;overflow:hidden;display:flex;justify-content:center;align-items:center}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container .ad-image{height:100%;width:auto;max-width:100%;object-fit:cover}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-image-container{aspect-ratio:1.91/1}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-carousel{display:flex;justify-content:center;align-items:center;width:100%}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-carousel .carousel-window{width:calc(100% + 16px);min-width:calc(100% + 16px);mask-image:linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);-webkit-mask-image:linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, #000 5%, #000 95%, rgba(0, 0, 0, 0.5) 100%)}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer{display:flex;flex-direction:column;justify-content:center;padding:13px 10px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row{display:flex;align-items:center;justify-content:space-between}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper{display:flex;flex-direction:column;gap:5px;flex-grow:1;min-width:0;padding-right:8px;align-items:start}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;overflow:hidden;min-width:0;font-size:15.5px;font-weight:500;text-align:left;word-spacing:-1px;color:var(--color-text-primary, #111111)}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{font-size:18px}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-headline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-width:0;margin:0;font-size:16px;font-weight:400;line-height:1.2;word-spacing:-1px;text-align:left;color:var(--color-text-secondary, #111111)}@media screen and (min-width: 768px){.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-headline{font-size:18px}}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase{display:flex;flex-direction:column;flex-shrink:0;align-items:center;gap:6px}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase .ad-price{font-size:13px;font-weight:500;white-space:nowrap}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-purchase .ad-price:empty{display:none}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-action{flex-shrink:0;padding:10px 14px;font-size:14px;line-height:1;color:var(--color-text-on-accent, #111111);white-space:nowrap;background-color:var(--color-accent, #d9d9d9);border-radius:99px;font-weight:500}');
@@ -1 +1 @@
1
- "use strict";var e,t,n=require("./glimr-sdk-mS8sOhxy.js");function r(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;var o=function(){if(t)return e;t=1;var n=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?d((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map(function(e){return o(e,n)})}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function l(e,t,n){var r={};return n.isMergeableObject(e)&&a(e).forEach(function(t){r[t]=o(e[t],n)}),a(t).forEach(function(i){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(s(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return d;var n=t.customMerge(e);return"function"==typeof n?n:d}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))}),r}function d(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=o;var a=Array.isArray(t);return a===Array.isArray(e)?a?r.arrayMerge(e,t,r):l(e,t,r):o(t,r)}return d.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return d(e,n,t)},{})},e=d}(),i=n.getDefaultExportFromCjs(o);const a={arrayMerge:(e,t)=>t,isMergeableObject:e=>"object"==typeof e&&null!==e&&e.constructor===Object},s=(e,t)=>i(e,t,a),l=(e,t)=>Object.assign(Object.assign({},e),t),d=(e,t)=>{var n;return s(null!==(n=e)&&void 0!==n?n:{},t)},c={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,t)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},u=(e,t)=>{const n="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(t?console.log(n,e,t):console.log(n,e))},g=(e,t)=>{console.warn("[Advertory WARN]: ",e)},f=e=>{(e=>{const{pageContext:t,pageOptions:n,placements:r,appearanceConfig:o}=null!=e?e:{};(null==t?void 0:t.publisher)||g("pageContext.publisher is required."),(null==t?void 0:t.countryCode)||g("pageContext.countryCode is required."),(null==t?void 0:t.pageType)||g("pageContext.pageType is required."),(null==t?void 0:t.deviceType)||g("pageContext.deviceType is required."),n||g("pageOptions is required."),r||g("placements is required."),(null==o?void 0:o.defaultThreshold)||g("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var t,n,r,o;const i=e.pageSectionsSelectors,a=[{flag:!!(null===(t=e.takeover)||void 0===t?void 0:t.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(n=e.sponsorstripe)||void 0===n?void 0:n.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(r=e.widescreenSwitching)||void 0===r?void 0:r.enabled),property:"right",featureName:"widescreenSwitching"},{flag:!!(null===(o=e.wallpaper)||void 0===o?void 0:o.enabled),property:"header",featureName:"wallpaper"}];for(const{flag:e,property:t,featureName:n}of a)e&&!(null==i?void 0:i[t])&&g(`pageSectionsSelectors.${t} is required when ${n} is enabled.`)})(e)},v={placements:(e,t)=>t,takeover:d,refreshConfig:l,editory:d,appearanceConfig:d,pageContext:l,pageOptions:l,pageSectionsSelectors:l,tcf:l};class p{set(e){f(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");((e,t)=>{const n=e;for(const e of Object.keys(v)){const r=t[e];void 0!==r&&(n[e]=v[e](n[e],r))}})(this.config,e)}get(){if(!this.config)throw new Error("Config was accessed before it had been initialized.");return this.config}getHandlers(){if(!this.siteHandlers)throw new Error("Handlers were accessed before it had been initialized.");return this.siteHandlers}setHandlers(e){this.siteHandlers=s(p.DEFAULT_SITE_HANDLERS,e)}}p.DEFAULT_SITE_HANDLERS={siteEvents:c,initNativeAd:()=>{}};const m=new p;m.modifyConfigProperties.bind(m);const b=864e5,y=(()=>{const e=e=>{const t=window.localStorage.getItem(e);if(!t)return null;try{return JSON.parse(t)}catch(e){return u("Error with parsing localStorage data"),null}},t=(e,t)=>{window.localStorage.setItem(e,JSON.stringify(t))};return{get:e,set:t,setWithTimestamp:(e,n,r=b)=>{const o={data:n,expirationTime:(new Date).getTime()+r};t(e,JSON.stringify(o))},getByTimestamp:(t,n=b)=>{const r=e(t);if(!r)return null;if(!n)return r;try{const{expirationTime:e,data:t}=JSON.parse(r);return(new Date).getTime()<=e?t:null}catch(e){return u("Error with parsing localStorage data"),null}}}})(),h="glimrTags",w=["glwe_","glwet_"],C={geofenceTags:[],geoTags:[],weatherTags:[]},T=e=>new Promise(t=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void t(!1);const n=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const t=Number(e);return u("Advertising permission value obtained synchronously: ",e),Boolean(t)})();if(null!==n)return void t(n);let r=!1;const o=e=>{r||(u("Resolving advertising permission value obtained"),r=!0,t(e))},i=setTimeout(()=>{u("Advertising permission timed out, resolving with false"),o(!1)},3e3);window._tcf_.onTcfReady(()=>{u("On Tcf Ready called, waiting for permission"),clearTimeout(i)}),window._tcf_.getPermission("CMP:advertising",e=>{clearTimeout(i);const t=Number(e);u("Advertising permission value obtained asynchronously: ",e),o(Boolean(t))})}),S="no",A="se",O="cmp:loaded";let E="undefined"!=typeof window?window._tcf_:void 0,_=!1;const P=(e,t,n)=>{const o=!!(null==e?void 0:e.enabled),i=(null==e?void 0:e.timeout)||3e3,a=(s="bypass_tcf",new URLSearchParams(window.location.search).get(s));var s;const l=()=>{if(!(null==e?void 0:e.enabled))return!0;if(((e,t)=>e?!!t&&(u("TCF bypass param detected, returning consent: true"),!0):(u("TCF is not enabled, returning consent: true"),!0))(o,a))return!0;if(_)return null;if(!E)throw new Error("[Advertory]: getConsentSync method was called before the tcfManager was available.");const t=E.getConsentedToAllSync();return u(`TCF consented to all is: ${t}`),E.getConsentedToAllSync()};return{initConsentManager:()=>(null==e?void 0:e.enabled)?new Promise((e,t)=>{if(u("Getting TCF consent manager..."),window._tcf_)return u("TCF consent manager is already available"),E=window._tcf_,void e(E);u("TCF consent manager is not available");const n=()=>{u("CMP loaded, resolving consent manager..."),r&&clearTimeout(r),window._tcf_?(E=window._tcf_,e(E)):t(new Error("CMP loaded but window._tcf_ is not defined"))},r=setTimeout(()=>{document.removeEventListener(O,n),_=!0,t(new Error("Timeout waiting for CMP to load"))},i);u("Listening for CMP loaded event..."),document.addEventListener(O,n,{once:!0})}):Promise.resolve(null),getConsentSync:l,getConsentAsync:()=>r(void 0,void 0,void 0,function*(){if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return u(`Schibsted Ad Choices override value is set, returning override value: ${e.schibstedAdChoicesOverrideValue}`),Boolean(Number(e.schibstedAdChoicesOverrideValue));const t=(null==e?void 0:e.advertisingCMPSignalEnabled)&&n===A,r=(null==e?void 0:e.advertisingCMPSignalEnabled)&&n===S;if(t||r)return u("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield T(e);if(!(null==e?void 0:e.enabled))return!0;const o=l();return null!==o?o:yield new Promise((e,t)=>{try{if(!E)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let t=!1;const n=n=>{t||(t=!0,e(n))},r=setTimeout(()=>{u("TCF isConsentedToAll timed out, resolving with false"),n(!1)},i);E.onTcfReady(()=>{u("On Tcf Ready called, waiting for consent"),clearTimeout(r)}),E.isConsentedToAll(t=>{clearTimeout(r),e(t)})}catch(e){t(e)}})})}},M=(...e)=>r(void 0,[...e],void 0,function*(e=m.get()){const{tcf:t,pageContext:{isMobileApp:n,countryCode:o}={}}=e;if(null==t?void 0:t.schibstedConsentToPayEnabled){const e=yield((e,t,n,...o)=>r(void 0,[e,t,n,...o],void 0,function*(e,t,n,r="NOT SPECIFIED FEATURE"){if(!(null==e?void 0:e.schibstedConsentToPayEnabled))return u(`Schibsted Consent to Pay is not enabled, returning true for ${r}`),!0;if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return u(`Schibsted Ad Choices override value is set, returning override value: ${null==e?void 0:e.schibstedAdChoicesOverrideValue} for ${r}`),Boolean(Number(null==e?void 0:e.schibstedAdChoicesOverrideValue));const{getConsentAsync:o}=P(e,0,n);return(yield o())?(u(`Schibsted Ad Choices consent given according to TCF consent manager for ${r}`),!0):(u(`Schibsted Ad Choices consent not given according to TCF consent manager for ${r}`),!1)}))(t,n,o,"glimr");return e}const{getConsentAsync:i}=P(t,0,o);return yield i()}),j={svd:"svd",vg:"vg",aftenposten:"no-aftenposten",sa:"no-stavangeraftenblad",bt:"no-bergenstidende",aftonbladet:"aftonbladet",e24:"e24",minmote:"minmote",pent:"pent",godt:"godt",tek:"no-tek"},N=e=>w.some(t=>e.startsWith(t)),x=e=>e.startsWith("glgc_"),F=e=>e.startsWith("glci_"),$=e=>!N(e)&&!x(e),R=(e,t)=>{const n=q();if(!n)return C;const r=((e=[])=>e.filter(N))(n),o=((e=[])=>e.filter(x))(n),i=((e=[],t,n)=>{var r;const o=e.filter($);if(n&&t){const{publisher:e}=null!==(r=t.pageContext)&&void 0!==r?r:{},n=j[e]||e;o.push(n)}return o})(n,e,t);return{geoTags:i,geofenceTags:o,weatherTags:r}},q=()=>{const e=y.getByTimestamp(h);return e&&"string"!=typeof e?null==e?void 0:e.tags:null};exports.getCityTags=()=>{var e;return((e=[])=>e.filter(F))(null!==(e=q())&&void 0!==e?e:[])},exports.getGlimrKeywords=(e,t)=>r(void 0,void 0,void 0,function*(){const{addPublisherToGeo:n}=t||{},{glimr:r,pageContext:{countryCode:o}={}}=e,i=yield M(e);if(!(null==r?void 0:r.enabled)||!i)return u("No consent for getting glimr tags."),{};const a=(e=>e===S?"no-sno":"se-generic")(o),s=R(e,Boolean(n));return{[`${a}-geo`]:s.geoTags,[`${a}-weather`]:s.weatherTags,[`${a}-geofence`]:s.geofenceTags}}),exports.updateGlimr=()=>r(void 0,void 0,void 0,function*(){const{glimr:e}=m.get();if(!(yield M())||!(null==e?void 0:e.enabled))return void u("No consent for glimr data fetching.");const t=yield(n=500,r(void 0,void 0,void 0,function*(){return yield Promise.race([r(void 0,void 0,void 0,function*(){const e=yield Promise.resolve().then(function(){return require("./glimr-BIcFSFRk.js")}).then(function(e){return e.glimr});return e.default||e}),new Promise(e=>setTimeout(()=>e(!1),n))])}));var n;if(t)try{t.setTagCacheTimeInSeconds(300),yield new Promise(n=>{t.getTags(e.clientId,(e,t)=>{y.setWithTimestamp(h,{tags:e,tagMappings:t}),n(!0)})})}catch(e){u(`Error during getting glimr data: ${e}`)}else u("Timeout (500ms) while loading glimr package. Skipping glimr data fetching.",{glimr:t})});
1
+ "use strict";var e,n,t=require("./glimr-sdk-mS8sOhxy.js");function r(e,n,t,r){return new(t||(t=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(s,a)}l((r=r.apply(e,n||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;var o=function(){if(n)return e;n=1;var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,n){return!1!==n.clone&&n.isMergeableObject(e)?c((t=e,Array.isArray(t)?[]:{}),e,n):e;var t}function i(e,n,t){return e.concat(n).map(function(e){return o(e,t)})}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(n){return Object.propertyIsEnumerable.call(e,n)}):[]}(e))}function a(e,n){try{return n in e}catch(e){return!1}}function l(e,n,t){var r={};return t.isMergeableObject(e)&&s(e).forEach(function(n){r[n]=o(e[n],t)}),s(n).forEach(function(i){(function(e,n){return a(e,n)&&!(Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))})(e,i)||(a(e,i)&&t.isMergeableObject(n[i])?r[i]=function(e,n){if(!n.customMerge)return c;var t=n.customMerge(e);return"function"==typeof t?t:c}(i,t)(e[i],n[i],t):r[i]=o(n[i],t))}),r}function c(e,n,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||t,r.cloneUnlessOtherwiseSpecified=o;var s=Array.isArray(n);return s===Array.isArray(e)?s?r.arrayMerge(e,n,r):l(e,n,r):o(n,r)}return c.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return c(e,t,n)},{})},e=c}(),i=t.getDefaultExportFromCjs(o);const s={arrayMerge:(e,n)=>n,isMergeableObject:e=>"object"==typeof e&&null!==e&&e.constructor===Object},a=(e,n)=>i(e,n,s),l=(e,n)=>Object.assign(Object.assign({},e),n),c=(e,n)=>{var t;return a(null!==(t=e)&&void 0!==t?t:{},n)},d=(e,n)=>{const t="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(n?console.log(t,e,n):console.log(t,e))},u=(e,n)=>{console.warn("[Advertory WARN]: ",e)},g=e=>{(e=>{const{pageContext:n,pageOptions:t,placements:r,appearanceConfig:o}=null!=e?e:{};(null==n?void 0:n.publisher)||u("pageContext.publisher is required."),(null==n?void 0:n.countryCode)||u("pageContext.countryCode is required."),(null==n?void 0:n.pageType)||u("pageContext.pageType is required."),(null==n?void 0:n.deviceType)||u("pageContext.deviceType is required."),t||u("pageOptions is required."),r||u("placements is required."),(null==o?void 0:o.defaultThreshold)||u("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var n,t,r,o;const i=e.pageSectionsSelectors,s=[{flag:!!(null===(n=e.takeover)||void 0===n?void 0:n.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(t=e.sponsorstripe)||void 0===t?void 0:t.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(r=e.widescreenSwitching)||void 0===r?void 0:r.enabled),property:"right",featureName:"widescreenSwitching"},{flag:!!(null===(o=e.wallpaper)||void 0===o?void 0:o.enabled),property:"header",featureName:"wallpaper"}];for(const{flag:e,property:n,featureName:t}of s)e&&!(null==i?void 0:i[n])&&u(`pageSectionsSelectors.${n} is required when ${t} is enabled.`)})(e)},f={placements:(e,n)=>n,takeover:c,refreshConfig:l,editory:c,appearanceConfig:c,pageContext:l,pageOptions:l,pageSectionsSelectors:l,tcf:l};class v{set(e){g(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");((e,n)=>{const t=e;for(const e of Object.keys(f)){const r=n[e];void 0!==r&&(t[e]=f[e](t[e],r))}})(this.config,e)}get(){if(!this.config)throw new Error("Config was accessed before it had been initialized.");return this.config}getHandlers(){if(!this.siteHandlers)throw new Error("Handlers were accessed before it had been initialized.");return this.siteHandlers}setHandlers(e){this.siteHandlers=a(v.DEFAULT_SITE_HANDLERS,e)}}v.DEFAULT_SITE_HANDLERS={initNativeAd:()=>{}};const p=new v;p.modifyConfigProperties.bind(p);const m=864e5,b=(()=>{const e=e=>{const n=window.localStorage.getItem(e);if(!n)return null;try{return JSON.parse(n)}catch(e){return d("Error with parsing localStorage data"),null}},n=(e,n)=>{window.localStorage.setItem(e,JSON.stringify(n))};return{get:e,set:n,setWithTimestamp:(e,t,r=m)=>{const o={data:t,expirationTime:(new Date).getTime()+r};n(e,JSON.stringify(o))},getByTimestamp:(n,t=m)=>{const r=e(n);if(!r)return null;if(!t)return r;try{const{expirationTime:e,data:n}=JSON.parse(r);return(new Date).getTime()<=e?n:null}catch(e){return d("Error with parsing localStorage data"),null}}}})(),y="glimrTags",h=["glwe_","glwet_"],w={geofenceTags:[],geoTags:[],weatherTags:[]},C=()=>{return e="bypass_tcf",new URLSearchParams(window.location.search).get(e);var e},T=e=>new Promise(n=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void n(!1);const t=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const n=Number(e);return d("Advertising permission value obtained synchronously: ",e),Boolean(n)})();if(null!==t)return void n(t);let r=!1;const o=e=>{r||(d("Resolving advertising permission value obtained"),r=!0,n(e))},i=setTimeout(()=>{d("Advertising permission timed out, resolving with false"),o(!1)},3e3);window._tcf_.onTcfReady(()=>{d("On Tcf Ready called, waiting for permission"),clearTimeout(i)}),window._tcf_.getPermission("CMP:advertising",e=>{clearTimeout(i);const n=Number(e);d("Advertising permission value obtained asynchronously: ",e),o(Boolean(n))})}),S="no",A="se",O="cmp:loaded";let E="undefined"!=typeof window?window._tcf_:void 0,_=!1;const P=(e,n,t)=>{const o=!!(null==e?void 0:e.enabled),i=(null==e?void 0:e.timeout)||3e3,s=C(),a=()=>{if(!(null==e?void 0:e.enabled))return!0;if(((e,n)=>e?!!n&&(d("TCF bypass param detected, returning consent: true"),!0):(d("TCF is not enabled, returning consent: true"),!0))(o,s))return!0;if(_)return null;if(!E)throw new Error("[Advertory]: getConsentSync method was called before the tcfManager was available.");const n=E.getConsentedToAllSync();return d(`TCF consented to all is: ${n}`),E.getConsentedToAllSync()};return{initConsentManager:()=>(null==e?void 0:e.enabled)?new Promise((e,n)=>{if(d("Getting TCF consent manager..."),window._tcf_)return d("TCF consent manager is already available"),E=window._tcf_,void e(E);d("TCF consent manager is not available");const t=()=>{d("CMP loaded, resolving consent manager..."),r&&clearTimeout(r),window._tcf_?(E=window._tcf_,e(E)):n(new Error("CMP loaded but window._tcf_ is not defined"))},r=setTimeout(()=>{document.removeEventListener(O,t),_=!0,n(new Error("Timeout waiting for CMP to load"))},i);d("Listening for CMP loaded event..."),document.addEventListener(O,t,{once:!0})}):Promise.resolve(null),getConsentSync:a,getConsentAsync:()=>r(void 0,void 0,void 0,function*(){if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return d(`Schibsted Ad Choices override value is set, returning override value: ${e.schibstedAdChoicesOverrideValue}`),Boolean(Number(e.schibstedAdChoicesOverrideValue));const n=(null==e?void 0:e.advertisingCMPSignalEnabled)&&t===A,r=(null==e?void 0:e.advertisingCMPSignalEnabled)&&t===S;if(n||r)return d("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield T(e);if(!(null==e?void 0:e.enabled))return!0;const o=a();return null!==o?o:yield new Promise((e,n)=>{try{if(!E)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let n=!1;const t=t=>{n||(n=!0,e(t))},r=setTimeout(()=>{d("TCF isConsentedToAll timed out, resolving with false"),t(!1)},i);E.onTcfReady(()=>{d("On Tcf Ready called, waiting for consent"),clearTimeout(r)}),E.isConsentedToAll(n=>{clearTimeout(r),e(n)})}catch(e){n(e)}})})}},M=(...e)=>r(void 0,[...e],void 0,function*(e=p.get()){const{tcf:n,pageContext:{isMobileApp:t,countryCode:o}={}}=e;if(null==n?void 0:n.schibstedConsentToPayEnabled){const e=yield((e,n,t,...o)=>r(void 0,[e,n,t,...o],void 0,function*(e,n,t,r="NOT SPECIFIED FEATURE"){if(!(null==e?void 0:e.schibstedConsentToPayEnabled))return d(`Schibsted Consent to Pay is not enabled, returning true for ${r}`),!0;if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return d(`Schibsted Ad Choices override value is set, returning override value: ${null==e?void 0:e.schibstedAdChoicesOverrideValue} for ${r}`),Boolean(Number(null==e?void 0:e.schibstedAdChoicesOverrideValue));const{getConsentAsync:o}=P(e,0,t);return(yield o())?(d(`Schibsted Ad Choices consent given according to TCF consent manager for ${r}`),!0):(d(`Schibsted Ad Choices consent not given according to TCF consent manager for ${r}`),!1)}))(n,t,o,"glimr");return e}const{getConsentAsync:i}=P(n,0,o);return yield i()}),j={svd:"svd",vg:"vg",aftenposten:"no-aftenposten",sa:"no-stavangeraftenblad",bt:"no-bergenstidende",aftonbladet:"aftonbladet",e24:"e24",minmote:"minmote",pent:"pent",godt:"godt",tek:"no-tek"},N=e=>h.some(n=>e.startsWith(n)),x=e=>e.startsWith("glgc_"),$=e=>e.startsWith("glci_"),F=e=>!N(e)&&!x(e),R=(e,n)=>{const t=k();if(!t)return w;const r=((e=[])=>e.filter(N))(t),o=((e=[])=>e.filter(x))(t),i=((e=[],n,t)=>{var r;const o=e.filter(F);if(t&&n){const{publisher:e}=null!==(r=n.pageContext)&&void 0!==r?r:{},t=j[e]||e;o.push(t)}return o})(t,e,n);return{geoTags:i,geofenceTags:o,weatherTags:r}},k=()=>{const e=b.getByTimestamp(y);return e&&"string"!=typeof e?null==e?void 0:e.tags:null};exports.getCityTags=()=>{var e;return((e=[])=>e.filter($))(null!==(e=k())&&void 0!==e?e:[])},exports.getGlimrKeywords=(e,n)=>r(void 0,void 0,void 0,function*(){const{addPublisherToGeo:t}=n||{},{glimr:r,pageContext:{countryCode:o}={}}=e,i=yield M(e);if(!(null==r?void 0:r.enabled)||!i)return d("No consent for getting glimr tags."),{};const s=(e=>e===S?"no-sno":"se-generic")(o),a=R(e,Boolean(t));return{[`${s}-geo`]:a.geoTags,[`${s}-weather`]:a.weatherTags,[`${s}-geofence`]:a.geofenceTags}}),exports.updateGlimr=()=>r(void 0,void 0,void 0,function*(){const{glimr:e}=p.get();if(!(yield M())||!(null==e?void 0:e.enabled))return void d("No consent for glimr data fetching.");const n=yield(t=500,r(void 0,void 0,void 0,function*(){return yield Promise.race([r(void 0,void 0,void 0,function*(){const e=yield Promise.resolve().then(function(){return require("./glimr-BIcFSFRk.js")}).then(function(e){return e.glimr});return e.default||e}),new Promise(e=>setTimeout(()=>e(!1),t))])}));var t;if(n)try{n.setTagCacheTimeInSeconds(300),yield new Promise(t=>{n.getTags(e.clientId,(e,n)=>{b.setWithTimestamp(y,{tags:e,tagMappings:n}),t(!0)})})}catch(e){d(`Error during getting glimr data: ${e}`)}else d("Timeout (500ms) while loading glimr package. Skipping glimr data fetching.",{glimr:n})});
package/glimr/es/index.js CHANGED
@@ -1 +1 @@
1
- import{g as e}from"./glimr-sdk-B7FY2YN8.js";function n(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}l((r=r.apply(e,n||[])).next())})}var t,r;"function"==typeof SuppressedError&&SuppressedError;var o=e(function(){if(r)return t;r=1;var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,n){return!1!==n.clone&&n.isMergeableObject(e)?d((t=e,Array.isArray(t)?[]:{}),e,n):e;var t}function i(e,n,t){return e.concat(n).map(function(e){return o(e,t)})}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(n){return Object.propertyIsEnumerable.call(e,n)}):[]}(e))}function s(e,n){try{return n in e}catch(e){return!1}}function l(e,n,t){var r={};return t.isMergeableObject(e)&&a(e).forEach(function(n){r[n]=o(e[n],t)}),a(n).forEach(function(i){(function(e,n){return s(e,n)&&!(Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))})(e,i)||(s(e,i)&&t.isMergeableObject(n[i])?r[i]=function(e,n){if(!n.customMerge)return d;var t=n.customMerge(e);return"function"==typeof t?t:d}(i,t)(e[i],n[i],t):r[i]=o(n[i],t))}),r}function d(n,t,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||e,r.cloneUnlessOtherwiseSpecified=o;var a=Array.isArray(t);return a===Array.isArray(n)?a?r.arrayMerge(n,t,r):l(n,t,r):o(t,r)}return d.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return d(e,t,n)},{})},t=d}());const i={arrayMerge:(e,n)=>n,isMergeableObject:e=>"object"==typeof e&&null!==e&&e.constructor===Object},a=(e,n)=>o(e,n,i),s=(e,n)=>Object.assign(Object.assign({},e),n),l=(e,n)=>{var t;return a(null!==(t=e)&&void 0!==t?t:{},n)},d={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,n)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},c=(e,n)=>{const t="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(n?console.log(t,e,n):console.log(t,e))},u=(e,n)=>{console.warn("[Advertory WARN]: ",e)},g=e=>{(e=>{const{pageContext:n,pageOptions:t,placements:r,appearanceConfig:o}=null!=e?e:{};(null==n?void 0:n.publisher)||u("pageContext.publisher is required."),(null==n?void 0:n.countryCode)||u("pageContext.countryCode is required."),(null==n?void 0:n.pageType)||u("pageContext.pageType is required."),(null==n?void 0:n.deviceType)||u("pageContext.deviceType is required."),t||u("pageOptions is required."),r||u("placements is required."),(null==o?void 0:o.defaultThreshold)||u("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var n,t,r,o;const i=e.pageSectionsSelectors,a=[{flag:!!(null===(n=e.takeover)||void 0===n?void 0:n.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(t=e.sponsorstripe)||void 0===t?void 0:t.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(r=e.widescreenSwitching)||void 0===r?void 0:r.enabled),property:"right",featureName:"widescreenSwitching"},{flag:!!(null===(o=e.wallpaper)||void 0===o?void 0:o.enabled),property:"header",featureName:"wallpaper"}];for(const{flag:e,property:n,featureName:t}of a)e&&!(null==i?void 0:i[n])&&u(`pageSectionsSelectors.${n} is required when ${t} is enabled.`)})(e)},f={placements:(e,n)=>n,takeover:l,refreshConfig:s,editory:l,appearanceConfig:l,pageContext:s,pageOptions:s,pageSectionsSelectors:s,tcf:s};class v{set(e){g(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");((e,n)=>{const t=e;for(const e of Object.keys(f)){const r=n[e];void 0!==r&&(t[e]=f[e](t[e],r))}})(this.config,e)}get(){if(!this.config)throw new Error("Config was accessed before it had been initialized.");return this.config}getHandlers(){if(!this.siteHandlers)throw new Error("Handlers were accessed before it had been initialized.");return this.siteHandlers}setHandlers(e){this.siteHandlers=a(v.DEFAULT_SITE_HANDLERS,e)}}v.DEFAULT_SITE_HANDLERS={siteEvents:d,initNativeAd:()=>{}};const p=new v;p.modifyConfigProperties.bind(p);const m=864e5,b=(()=>{const e=e=>{const n=window.localStorage.getItem(e);if(!n)return null;try{return JSON.parse(n)}catch(e){return c("Error with parsing localStorage data"),null}},n=(e,n)=>{window.localStorage.setItem(e,JSON.stringify(n))};return{get:e,set:n,setWithTimestamp:(e,t,r=m)=>{const o={data:t,expirationTime:(new Date).getTime()+r};n(e,JSON.stringify(o))},getByTimestamp:(n,t=m)=>{const r=e(n);if(!r)return null;if(!t)return r;try{const{expirationTime:e,data:n}=JSON.parse(r);return(new Date).getTime()<=e?n:null}catch(e){return c("Error with parsing localStorage data"),null}}}})(),h="glimrTags",y=["glwe_","glwet_"],w={geofenceTags:[],geoTags:[],weatherTags:[]},C=e=>new Promise(n=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void n(!1);const t=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const n=Number(e);return c("Advertising permission value obtained synchronously: ",e),Boolean(n)})();if(null!==t)return void n(t);let r=!1;const o=e=>{r||(c("Resolving advertising permission value obtained"),r=!0,n(e))},i=setTimeout(()=>{c("Advertising permission timed out, resolving with false"),o(!1)},3e3);window._tcf_.onTcfReady(()=>{c("On Tcf Ready called, waiting for permission"),clearTimeout(i)}),window._tcf_.getPermission("CMP:advertising",e=>{clearTimeout(i);const n=Number(e);c("Advertising permission value obtained asynchronously: ",e),o(Boolean(n))})}),T="no",S="se",A="cmp:loaded";let O="undefined"!=typeof window?window._tcf_:void 0,E=!1;const _=(e,t,r)=>{const o=!!(null==e?void 0:e.enabled),i=(null==e?void 0:e.timeout)||3e3,a=(s="bypass_tcf",new URLSearchParams(window.location.search).get(s));var s;const l=()=>{if(!(null==e?void 0:e.enabled))return!0;if(((e,n)=>e?!!n&&(c("TCF bypass param detected, returning consent: true"),!0):(c("TCF is not enabled, returning consent: true"),!0))(o,a))return!0;if(E)return null;if(!O)throw new Error("[Advertory]: getConsentSync method was called before the tcfManager was available.");const n=O.getConsentedToAllSync();return c(`TCF consented to all is: ${n}`),O.getConsentedToAllSync()};return{initConsentManager:()=>(null==e?void 0:e.enabled)?new Promise((e,n)=>{if(c("Getting TCF consent manager..."),window._tcf_)return c("TCF consent manager is already available"),O=window._tcf_,void e(O);c("TCF consent manager is not available");const t=()=>{c("CMP loaded, resolving consent manager..."),r&&clearTimeout(r),window._tcf_?(O=window._tcf_,e(O)):n(new Error("CMP loaded but window._tcf_ is not defined"))},r=setTimeout(()=>{document.removeEventListener(A,t),E=!0,n(new Error("Timeout waiting for CMP to load"))},i);c("Listening for CMP loaded event..."),document.addEventListener(A,t,{once:!0})}):Promise.resolve(null),getConsentSync:l,getConsentAsync:()=>n(void 0,void 0,void 0,function*(){if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return c(`Schibsted Ad Choices override value is set, returning override value: ${e.schibstedAdChoicesOverrideValue}`),Boolean(Number(e.schibstedAdChoicesOverrideValue));const n=(null==e?void 0:e.advertisingCMPSignalEnabled)&&r===S,t=(null==e?void 0:e.advertisingCMPSignalEnabled)&&r===T;if(n||t)return c("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield C(e);if(!(null==e?void 0:e.enabled))return!0;const o=l();return null!==o?o:yield new Promise((e,n)=>{try{if(!O)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let n=!1;const t=t=>{n||(n=!0,e(t))},r=setTimeout(()=>{c("TCF isConsentedToAll timed out, resolving with false"),t(!1)},i);O.onTcfReady(()=>{c("On Tcf Ready called, waiting for consent"),clearTimeout(r)}),O.isConsentedToAll(n=>{clearTimeout(r),e(n)})}catch(e){n(e)}})})}},P=(...e)=>n(void 0,[...e],void 0,function*(e=p.get()){const{tcf:t,pageContext:{isMobileApp:r,countryCode:o}={}}=e;if(null==t?void 0:t.schibstedConsentToPayEnabled){const e=yield((e,t,r,...o)=>n(void 0,[e,t,r,...o],void 0,function*(e,n,t,r="NOT SPECIFIED FEATURE"){if(!(null==e?void 0:e.schibstedConsentToPayEnabled))return c(`Schibsted Consent to Pay is not enabled, returning true for ${r}`),!0;if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return c(`Schibsted Ad Choices override value is set, returning override value: ${null==e?void 0:e.schibstedAdChoicesOverrideValue} for ${r}`),Boolean(Number(null==e?void 0:e.schibstedAdChoicesOverrideValue));const{getConsentAsync:o}=_(e,0,t);return(yield o())?(c(`Schibsted Ad Choices consent given according to TCF consent manager for ${r}`),!0):(c(`Schibsted Ad Choices consent not given according to TCF consent manager for ${r}`),!1)}))(t,r,o,"glimr");return e}const{getConsentAsync:i}=_(t,0,o);return yield i()}),M=()=>n(void 0,void 0,void 0,function*(){const{glimr:e}=p.get();if(!(yield P())||!(null==e?void 0:e.enabled))return void c("No consent for glimr data fetching.");const t=yield(r=500,n(void 0,void 0,void 0,function*(){return yield Promise.race([n(void 0,void 0,void 0,function*(){const e=yield import("./glimr-Crymyq4O.js").then(function(e){return e.g});return e.default||e}),new Promise(e=>setTimeout(()=>e(!1),r))])}));var r;if(t)try{t.setTagCacheTimeInSeconds(300),yield new Promise(n=>{t.getTags(e.clientId,(e,t)=>{b.setWithTimestamp(h,{tags:e,tagMappings:t}),n(!0)})})}catch(e){c(`Error during getting glimr data: ${e}`)}else c("Timeout (500ms) while loading glimr package. Skipping glimr data fetching.",{glimr:t})}),j={svd:"svd",vg:"vg",aftenposten:"no-aftenposten",sa:"no-stavangeraftenblad",bt:"no-bergenstidende",aftonbladet:"aftonbladet",e24:"e24",minmote:"minmote",pent:"pent",godt:"godt",tek:"no-tek"},N=e=>y.some(n=>e.startsWith(n)),x=e=>e.startsWith("glgc_"),$=e=>e.startsWith("glci_"),F=e=>!N(e)&&!x(e),R=(e,t)=>n(void 0,void 0,void 0,function*(){const{addPublisherToGeo:n}=t||{},{glimr:r,pageContext:{countryCode:o}={}}=e,i=yield P(e);if(!(null==r?void 0:r.enabled)||!i)return c("No consent for getting glimr tags."),{};const a=(e=>e===T?"no-sno":"se-generic")(o),s=q(e,Boolean(n));return{[`${a}-geo`]:s.geoTags,[`${a}-weather`]:s.weatherTags,[`${a}-geofence`]:s.geofenceTags}}),q=(e,n)=>{const t=L();if(!t)return w;const r=((e=[])=>e.filter(N))(t),o=((e=[])=>e.filter(x))(t),i=((e=[],n,t)=>{var r;const o=e.filter(F);if(t&&n){const{publisher:e}=null!==(r=n.pageContext)&&void 0!==r?r:{},t=j[e]||e;o.push(t)}return o})(t,e,n);return{geoTags:i,geofenceTags:o,weatherTags:r}},L=()=>{const e=b.getByTimestamp(h);return e&&"string"!=typeof e?null==e?void 0:e.tags:null},k=()=>{var e;return((e=[])=>e.filter($))(null!==(e=L())&&void 0!==e?e:[])};export{k as getCityTags,R as getGlimrKeywords,M as updateGlimr};
1
+ import{g as e}from"./glimr-sdk-B7FY2YN8.js";function n(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(a,s)}l((r=r.apply(e,n||[])).next())})}var t,r;"function"==typeof SuppressedError&&SuppressedError;var o=e(function(){if(r)return t;r=1;var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,n){return!1!==n.clone&&n.isMergeableObject(e)?c((t=e,Array.isArray(t)?[]:{}),e,n):e;var t}function i(e,n,t){return e.concat(n).map(function(e){return o(e,t)})}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(n){return Object.propertyIsEnumerable.call(e,n)}):[]}(e))}function s(e,n){try{return n in e}catch(e){return!1}}function l(e,n,t){var r={};return t.isMergeableObject(e)&&a(e).forEach(function(n){r[n]=o(e[n],t)}),a(n).forEach(function(i){(function(e,n){return s(e,n)&&!(Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))})(e,i)||(s(e,i)&&t.isMergeableObject(n[i])?r[i]=function(e,n){if(!n.customMerge)return c;var t=n.customMerge(e);return"function"==typeof t?t:c}(i,t)(e[i],n[i],t):r[i]=o(n[i],t))}),r}function c(n,t,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||e,r.cloneUnlessOtherwiseSpecified=o;var a=Array.isArray(t);return a===Array.isArray(n)?a?r.arrayMerge(n,t,r):l(n,t,r):o(t,r)}return c.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return c(e,t,n)},{})},t=c}());const i={arrayMerge:(e,n)=>n,isMergeableObject:e=>"object"==typeof e&&null!==e&&e.constructor===Object},a=(e,n)=>o(e,n,i),s=(e,n)=>Object.assign(Object.assign({},e),n),l=(e,n)=>{var t;return a(null!==(t=e)&&void 0!==t?t:{},n)},c=(e,n)=>{const t="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(n?console.log(t,e,n):console.log(t,e))},d=(e,n)=>{console.warn("[Advertory WARN]: ",e)},u=e=>{(e=>{const{pageContext:n,pageOptions:t,placements:r,appearanceConfig:o}=null!=e?e:{};(null==n?void 0:n.publisher)||d("pageContext.publisher is required."),(null==n?void 0:n.countryCode)||d("pageContext.countryCode is required."),(null==n?void 0:n.pageType)||d("pageContext.pageType is required."),(null==n?void 0:n.deviceType)||d("pageContext.deviceType is required."),t||d("pageOptions is required."),r||d("placements is required."),(null==o?void 0:o.defaultThreshold)||d("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var n,t,r,o;const i=e.pageSectionsSelectors,a=[{flag:!!(null===(n=e.takeover)||void 0===n?void 0:n.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(t=e.sponsorstripe)||void 0===t?void 0:t.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(r=e.widescreenSwitching)||void 0===r?void 0:r.enabled),property:"right",featureName:"widescreenSwitching"},{flag:!!(null===(o=e.wallpaper)||void 0===o?void 0:o.enabled),property:"header",featureName:"wallpaper"}];for(const{flag:e,property:n,featureName:t}of a)e&&!(null==i?void 0:i[n])&&d(`pageSectionsSelectors.${n} is required when ${t} is enabled.`)})(e)},g={placements:(e,n)=>n,takeover:l,refreshConfig:s,editory:l,appearanceConfig:l,pageContext:s,pageOptions:s,pageSectionsSelectors:s,tcf:s};class f{set(e){u(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");((e,n)=>{const t=e;for(const e of Object.keys(g)){const r=n[e];void 0!==r&&(t[e]=g[e](t[e],r))}})(this.config,e)}get(){if(!this.config)throw new Error("Config was accessed before it had been initialized.");return this.config}getHandlers(){if(!this.siteHandlers)throw new Error("Handlers were accessed before it had been initialized.");return this.siteHandlers}setHandlers(e){this.siteHandlers=a(f.DEFAULT_SITE_HANDLERS,e)}}f.DEFAULT_SITE_HANDLERS={initNativeAd:()=>{}};const v=new f;v.modifyConfigProperties.bind(v);const p=864e5,m=(()=>{const e=e=>{const n=window.localStorage.getItem(e);if(!n)return null;try{return JSON.parse(n)}catch(e){return c("Error with parsing localStorage data"),null}},n=(e,n)=>{window.localStorage.setItem(e,JSON.stringify(n))};return{get:e,set:n,setWithTimestamp:(e,t,r=p)=>{const o={data:t,expirationTime:(new Date).getTime()+r};n(e,JSON.stringify(o))},getByTimestamp:(n,t=p)=>{const r=e(n);if(!r)return null;if(!t)return r;try{const{expirationTime:e,data:n}=JSON.parse(r);return(new Date).getTime()<=e?n:null}catch(e){return c("Error with parsing localStorage data"),null}}}})(),b="glimrTags",h=["glwe_","glwet_"],y={geofenceTags:[],geoTags:[],weatherTags:[]},w=()=>{return e="bypass_tcf",new URLSearchParams(window.location.search).get(e);var e},C=e=>new Promise(n=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void n(!1);const t=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const n=Number(e);return c("Advertising permission value obtained synchronously: ",e),Boolean(n)})();if(null!==t)return void n(t);let r=!1;const o=e=>{r||(c("Resolving advertising permission value obtained"),r=!0,n(e))},i=setTimeout(()=>{c("Advertising permission timed out, resolving with false"),o(!1)},3e3);window._tcf_.onTcfReady(()=>{c("On Tcf Ready called, waiting for permission"),clearTimeout(i)}),window._tcf_.getPermission("CMP:advertising",e=>{clearTimeout(i);const n=Number(e);c("Advertising permission value obtained asynchronously: ",e),o(Boolean(n))})}),T="no",S="se",A="cmp:loaded";let O="undefined"!=typeof window?window._tcf_:void 0,E=!1;const _=(e,t,r)=>{const o=!!(null==e?void 0:e.enabled),i=(null==e?void 0:e.timeout)||3e3,a=w(),s=()=>{if(!(null==e?void 0:e.enabled))return!0;if(((e,n)=>e?!!n&&(c("TCF bypass param detected, returning consent: true"),!0):(c("TCF is not enabled, returning consent: true"),!0))(o,a))return!0;if(E)return null;if(!O)throw new Error("[Advertory]: getConsentSync method was called before the tcfManager was available.");const n=O.getConsentedToAllSync();return c(`TCF consented to all is: ${n}`),O.getConsentedToAllSync()};return{initConsentManager:()=>(null==e?void 0:e.enabled)?new Promise((e,n)=>{if(c("Getting TCF consent manager..."),window._tcf_)return c("TCF consent manager is already available"),O=window._tcf_,void e(O);c("TCF consent manager is not available");const t=()=>{c("CMP loaded, resolving consent manager..."),r&&clearTimeout(r),window._tcf_?(O=window._tcf_,e(O)):n(new Error("CMP loaded but window._tcf_ is not defined"))},r=setTimeout(()=>{document.removeEventListener(A,t),E=!0,n(new Error("Timeout waiting for CMP to load"))},i);c("Listening for CMP loaded event..."),document.addEventListener(A,t,{once:!0})}):Promise.resolve(null),getConsentSync:s,getConsentAsync:()=>n(void 0,void 0,void 0,function*(){if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return c(`Schibsted Ad Choices override value is set, returning override value: ${e.schibstedAdChoicesOverrideValue}`),Boolean(Number(e.schibstedAdChoicesOverrideValue));const n=(null==e?void 0:e.advertisingCMPSignalEnabled)&&r===S,t=(null==e?void 0:e.advertisingCMPSignalEnabled)&&r===T;if(n||t)return c("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield C(e);if(!(null==e?void 0:e.enabled))return!0;const o=s();return null!==o?o:yield new Promise((e,n)=>{try{if(!O)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let n=!1;const t=t=>{n||(n=!0,e(t))},r=setTimeout(()=>{c("TCF isConsentedToAll timed out, resolving with false"),t(!1)},i);O.onTcfReady(()=>{c("On Tcf Ready called, waiting for consent"),clearTimeout(r)}),O.isConsentedToAll(n=>{clearTimeout(r),e(n)})}catch(e){n(e)}})})}},P=(...e)=>n(void 0,[...e],void 0,function*(e=v.get()){const{tcf:t,pageContext:{isMobileApp:r,countryCode:o}={}}=e;if(null==t?void 0:t.schibstedConsentToPayEnabled){const e=yield((e,t,r,...o)=>n(void 0,[e,t,r,...o],void 0,function*(e,n,t,r="NOT SPECIFIED FEATURE"){if(!(null==e?void 0:e.schibstedConsentToPayEnabled))return c(`Schibsted Consent to Pay is not enabled, returning true for ${r}`),!0;if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return c(`Schibsted Ad Choices override value is set, returning override value: ${null==e?void 0:e.schibstedAdChoicesOverrideValue} for ${r}`),Boolean(Number(null==e?void 0:e.schibstedAdChoicesOverrideValue));const{getConsentAsync:o}=_(e,0,t);return(yield o())?(c(`Schibsted Ad Choices consent given according to TCF consent manager for ${r}`),!0):(c(`Schibsted Ad Choices consent not given according to TCF consent manager for ${r}`),!1)}))(t,r,o,"glimr");return e}const{getConsentAsync:i}=_(t,0,o);return yield i()}),M=()=>n(void 0,void 0,void 0,function*(){const{glimr:e}=v.get();if(!(yield P())||!(null==e?void 0:e.enabled))return void c("No consent for glimr data fetching.");const t=yield(r=500,n(void 0,void 0,void 0,function*(){return yield Promise.race([n(void 0,void 0,void 0,function*(){const e=yield import("./glimr-Crymyq4O.js").then(function(e){return e.g});return e.default||e}),new Promise(e=>setTimeout(()=>e(!1),r))])}));var r;if(t)try{t.setTagCacheTimeInSeconds(300),yield new Promise(n=>{t.getTags(e.clientId,(e,t)=>{m.setWithTimestamp(b,{tags:e,tagMappings:t}),n(!0)})})}catch(e){c(`Error during getting glimr data: ${e}`)}else c("Timeout (500ms) while loading glimr package. Skipping glimr data fetching.",{glimr:t})}),j={svd:"svd",vg:"vg",aftenposten:"no-aftenposten",sa:"no-stavangeraftenblad",bt:"no-bergenstidende",aftonbladet:"aftonbladet",e24:"e24",minmote:"minmote",pent:"pent",godt:"godt",tek:"no-tek"},N=e=>h.some(n=>e.startsWith(n)),x=e=>e.startsWith("glgc_"),$=e=>e.startsWith("glci_"),F=e=>!N(e)&&!x(e),R=(e,t)=>n(void 0,void 0,void 0,function*(){const{addPublisherToGeo:n}=t||{},{glimr:r,pageContext:{countryCode:o}={}}=e,i=yield P(e);if(!(null==r?void 0:r.enabled)||!i)return c("No consent for getting glimr tags."),{};const a=(e=>e===T?"no-sno":"se-generic")(o),s=k(e,Boolean(n));return{[`${a}-geo`]:s.geoTags,[`${a}-weather`]:s.weatherTags,[`${a}-geofence`]:s.geofenceTags}}),k=(e,n)=>{const t=I();if(!t)return y;const r=((e=[])=>e.filter(N))(t),o=((e=[])=>e.filter(x))(t),i=((e=[],n,t)=>{var r;const o=e.filter(F);if(t&&n){const{publisher:e}=null!==(r=n.pageContext)&&void 0!==r?r:{},t=j[e]||e;o.push(t)}return o})(t,e,n);return{geoTags:i,geofenceTags:o,weatherTags:r}},I=()=>{const e=m.getByTimestamp(b);return e&&"string"!=typeof e?null==e?void 0:e.tags:null},L=()=>{var e;return((e=[])=>e.filter($))(null!==(e=I())&&void 0!==e?e:[])};export{L as getCityTags,R as getGlimrKeywords,M as updateGlimr};
@@ -520,7 +520,6 @@ interface PlacementRefreshConfig {
520
520
  }
521
521
  interface Placement {
522
522
  targetId: string;
523
- adUnitId?: string;
524
523
  sizes: Array<Array<number>>;
525
524
  allowedFormats: Array<AstAdType>;
526
525
  invCode: string;
@@ -607,6 +606,11 @@ interface TCFConfig {
607
606
  timeout?: number;
608
607
  nonRtb?: NonRTBConfig;
609
608
  }
609
+ interface ManagedThirdPartyConfig {
610
+ readpeakUrl?: string;
611
+ adnamiUrl?: string;
612
+ adformDmpUrl?: string;
613
+ }
610
614
  interface PrebidConfig {
611
615
  enabled: boolean;
612
616
  prebidUrl: string;
@@ -617,6 +621,7 @@ interface PrebidConfig {
617
621
  forwardGlimrTags?: boolean;
618
622
  manageAdserver?: boolean;
619
623
  adServerUrl?: string;
624
+ thirdParty?: ManagedThirdPartyConfig;
620
625
  }
621
626
  interface NonRTBConfig {
622
627
  invCodeSuffix?: string;
@@ -891,8 +896,13 @@ interface Advertory {
891
896
  getVideoAdsConfig: (params: VideoAdsConfigParams) => (stream: VideoStream) => Promise<Record<string, unknown>>;
892
897
  }
893
898
 
899
+ declare const TagDefinitions: {
900
+ readonly EXPLICIT: "explicit";
901
+ readonly DOM_DISCOVERED: "dom-discovered";
902
+ };
903
+ type TagDefinition = (typeof TagDefinitions)[keyof typeof TagDefinitions];
894
904
  interface AdServerCapabilities {
895
- tagDefinition: 'explicit' | 'dom-discovered';
905
+ tagDefinition: TagDefinition;
896
906
  deferredRequest: boolean;
897
907
  deferredRender: boolean;
898
908
  refresh: boolean;
@@ -910,18 +920,29 @@ interface AdEventBus {
910
920
  on: (event: AdEventName, handler: AdEventHandler) => void;
911
921
  }
912
922
 
923
+ interface RefreshOptions {
924
+ keepPreviousSizes?: Array<Placement>;
925
+ applyReloadKeyword?: boolean;
926
+ }
913
927
  interface AdServerDriver {
914
928
  readonly name: string;
915
929
  readonly capabilities: AdServerCapabilities;
930
+ readonly messageOrigins?: ReadonlyArray<string>;
916
931
  setup(): Promise<void>;
917
932
  setTargeting(): Promise<void>;
933
+ enrichPlacementsAfterDiscovery?(placements: Array<Placement>): Array<Placement>;
934
+ adjustPlacementsBeforeRequest?(placements: Array<Placement>): Promise<Array<Placement>>;
918
935
  definePlacements?(placements: Array<Placement>): void;
919
936
  requestPlacements?(placements: Array<Placement>): Promise<void>;
920
937
  requestPage?(): Promise<void>;
921
938
  bindEvents(bus: AdEventBus): Promise<void>;
939
+ clear?(targetIds: Array<string>): void;
940
+ resizeCreative?(targetId: string, size: Array<number>, isMediation?: boolean): void;
941
+ render?(targetId: string): void;
942
+ refresh?(targetIds: Array<string>, options?: RefreshOptions): void;
922
943
  }
923
944
 
924
- declare const createAdvertory: (handlers: SiteHandlers, siteSpecificConfig?: SiteSpecificConfig, driver?: AdServerDriver) => Advertory;
945
+ declare const createAdvertory: (handlers: SiteHandlers, driver: AdServerDriver, siteSpecificConfig?: SiteSpecificConfig) => Advertory;
925
946
 
926
947
  declare const prepareTag: (tag: AstDefineTagParams) => AstDefineTagParams;
927
948
 
@@ -938,6 +959,6 @@ const HANDLERS = {
938
959
  initNativeAd: initAdsOnGodt,
939
960
  };
940
961
 
941
- const advertory = createAdvertory(HANDLERS, siteSpecificConfig, xandrDriver);
962
+ const advertory = createAdvertory(HANDLERS, xandrDriver, siteSpecificConfig);
942
963
 
943
964
  export { advertory as default };