@schibsted/advertory 3.15.0 → 3.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ad-native/cjs/index.d.ts +18 -17
- package/ad-native/cjs/index.js +1 -1
- package/ad-native/es/index.d.ts +18 -17
- package/ad-native/es/index.js +1 -1
- package/aftenposten/cjs/index.d.ts +19 -17
- package/aftenposten/cjs/index.js +1 -1
- package/aftenposten/es/_auto-entry_aftenposten-GZ1sIv1t.js +1 -0
- package/aftenposten/es/{events-D8pWSmsg.js → events-9aIAp3gb.js} +1 -1
- package/aftenposten/es/{index-BpDhcw-E.js → index--NjIeMtq.js} +1 -1
- package/aftenposten/es/index-30zysrFs.js +1 -0
- package/aftenposten/es/{index-D_ZfDX7n.js → index-BA-uAuq5.js} +1 -1
- package/aftenposten/es/{index-CabG87Qj.js → index-BVGbDJhd.js} +1 -1
- package/aftenposten/es/index-CsMbuvbk.js +1 -0
- package/aftenposten/es/{index-CVNgEU97.js → index-EH44nci2.js} +1 -1
- package/aftenposten/es/{index-MwzGrVXl.js → index-FoC85Ozh.js} +1 -1
- package/aftenposten/es/{index-D7IIvMmD.js → index-MgWt_TgD.js} +1 -1
- package/aftenposten/es/index.d.ts +19 -17
- package/aftenposten/es/index.js +1 -1
- package/aftenposten/es/{styles-DLcI0XaA.js → styles-B6gcjTFZ.js} +1 -1
- package/aftenposten/es/{styles-Ndioyk21.js → styles-BOatZiuY.js} +1 -1
- package/aftenposten/es/{styles-BY1YXXd9.js → styles-BgLgXAac.js} +1 -1
- package/aftenposten/es/{styles-BLV3pNDc.js → styles-CkvreCPA.js} +1 -1
- package/aftenposten/es/{styles---H38acf.js → styles-DbROuDap.js} +1 -1
- package/aftenposten/es/{styles-BSpQ9wrB.js → styles-DnzkzFYy.js} +1 -1
- package/aftenposten/es/{styles-CmGvzh7N.js → styles-DzeNAXt8.js} +1 -1
- package/aftenposten/es/{styles-BsjNe66H.js → styles-U6Y_NE5t.js} +1 -1
- package/aftenposten/es/{styles-Bf3o4iGL.js → styles-kKKme7zm.js} +1 -1
- package/aftenposten/es/{styles-D-GEnM2K.js → styles-vnHs6WQc.js} +1 -1
- package/aftenpostenv2/es/_auto-entry_aftenpostenv2-CaNJKb4R.js +1 -0
- package/aftenpostenv2/es/{events-D0AzPHgD.js → events-BvPoR-c6.js} +1 -1
- package/aftenpostenv2/es/{index-DRBmTJEh.js → index-BD7C7fw5.js} +1 -1
- package/aftenpostenv2/es/{index-BzzsRi1p.js → index-BniSDWQY.js} +1 -1
- package/aftenpostenv2/es/{index-DLg5TKvF.js → index-ByqTDqyE.js} +1 -1
- package/aftenpostenv2/es/{index-DccyhRzR.js → index-DB2YNAa3.js} +1 -1
- package/aftenpostenv2/es/{index-DHIaSS0w.js → index-DZ-pmGqE.js} +1 -1
- package/aftenpostenv2/es/{index-CT3bnylL.js → index-DriKC_vw.js} +1 -1
- package/aftenpostenv2/es/index-Dx8UGDg7.js +1 -0
- package/aftenpostenv2/es/index-HPe6c_F5.js +1 -0
- package/aftenpostenv2/es/index.d.ts +19 -17
- package/aftenpostenv2/es/index.js +1 -1
- package/aftenpostenv2/es/{styles-Bt7FhUi7.js → styles-BUE7bmeP.js} +1 -1
- package/aftenpostenv2/es/{styles-BnzCRfJC.js → styles-CJpZfRlb.js} +1 -1
- package/aftenpostenv2/es/{styles-CFWM6WfN.js → styles-CNqqdiG4.js} +1 -1
- package/aftenpostenv2/es/{styles-Drs3vx54.js → styles-DDeBWoDk.js} +1 -1
- package/aftenpostenv2/es/{styles-zFiHo4Mv.js → styles-DjKWfNks.js} +1 -1
- package/aftenpostenv2/es/{styles-Cjxj5X-y.js → styles-DunKuWvX.js} +1 -1
- package/aftenpostenv2/es/{styles-BsZpcwGt.js → styles-Rtn-DTwE.js} +1 -1
- package/aftenpostenv2/es/{styles-D7sCt52w.js → styles-W5GbsZdD.js} +1 -1
- package/aftenpostenv2/es/{styles-DNU8Xu50.js → styles-hV6a0b1r.js} +1 -1
- package/aftenpostenv2/es/{styles-C2PryDI0.js → styles-iyzS4Ma0.js} +1 -1
- package/aftonbladet/cjs/index.d.ts +19 -17
- package/aftonbladet/cjs/index.js +1 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-Bfy9UWBs.js +1 -0
- package/aftonbladet/es/{events-p54Iu8vF.js → events-B2qPC0JI.js} +1 -1
- package/aftonbladet/es/{index-CjAwtnM1.js → index-BWw2Jrn7.js} +1 -1
- package/aftonbladet/es/{index-D4qCky3j.js → index-Bugwgjoa.js} +1 -1
- package/aftonbladet/es/{index-DfE4pXnF.js → index-CJwtf88D.js} +1 -1
- package/aftonbladet/es/{index-ci4R4rww.js → index-Dt0MASUp.js} +1 -1
- package/aftonbladet/es/{index-D1w-ivv6.js → index-OJZczvhD.js} +1 -1
- package/aftonbladet/es/index-jAChk_u0.js +1 -0
- package/aftonbladet/es/{index-CfSNT4C2.js → index-qxHVT5-m.js} +1 -1
- package/aftonbladet/es/{index-Bsr4MaXs.js → index-utB-ictd.js} +1 -1
- package/aftonbladet/es/index.d.ts +19 -17
- package/aftonbladet/es/index.js +1 -1
- package/aftonbladet/es/{styles-Dn54iRJh.js → styles-BfU0oD0-.js} +1 -1
- package/aftonbladet/es/{styles-CFMH3DPn.js → styles-BtWT613k.js} +1 -1
- package/aftonbladet/es/{styles-q3_G2IY5.js → styles-BvHu62wy.js} +1 -1
- package/aftonbladet/es/{styles-CEvgmr2F.js → styles-ByZpua9r.js} +1 -1
- package/aftonbladet/es/{styles-v8yXPogn.js → styles-Dsz5cfi3.js} +1 -1
- package/aftonbladet/es/{styles-0NsCHKhy.js → styles-gDX0ygo6.js} +1 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-IvxL0Pnz.js +1 -0
- package/aftonbladetv2/es/{events-eXnWwS1R.js → events-69bfW6xs.js} +1 -1
- package/aftonbladetv2/es/{index-Bch45NKd.js → index-3Eg4bvN_.js} +1 -1
- package/aftonbladetv2/es/{index-cv7jnXrH.js → index-B1cui3dt.js} +1 -1
- package/aftonbladetv2/es/index-BO-lR9nN.js +1 -0
- package/aftonbladetv2/es/{index-CadxQurG.js → index-CCktfCvC.js} +1 -1
- package/aftonbladetv2/es/{index-DIOnmfnX.js → index-DM-UfNNR.js} +1 -1
- package/aftonbladetv2/es/{index-CBUT5K4r.js → index-DSHSFVOb.js} +1 -1
- package/aftonbladetv2/es/{index-D1ULWRDx.js → index-DxWp479k.js} +1 -1
- package/aftonbladetv2/es/{index-DMqn_IZm.js → index-XSC5wNbQ.js} +1 -1
- package/aftonbladetv2/es/index.d.ts +19 -17
- package/aftonbladetv2/es/index.js +1 -1
- package/aftonbladetv2/es/{styles-C7szoH8D.js → styles-BFd21r21.js} +1 -1
- package/aftonbladetv2/es/{styles-zT8eWXsS.js → styles-BOaYZk7z.js} +1 -1
- package/aftonbladetv2/es/{styles-DULiC4js.js → styles-C-DpQ4RN.js} +1 -1
- package/aftonbladetv2/es/{styles-CujdGQ5S.js → styles-C7hRmfCU.js} +1 -1
- package/aftonbladetv2/es/{styles-DP7lB0tL.js → styles-CFZMoqbF.js} +1 -1
- package/aftonbladetv2/es/{styles-B5F5zUBs.js → styles-wCf8sRxI.js} +1 -1
- package/brandmetrics/cjs/index.js +1 -1
- package/brandmetrics/es/index.js +1 -1
- package/bt/cjs/index.d.ts +19 -17
- package/bt/cjs/index.js +1 -1
- package/bt/es/_auto-entry_bt-tWNc5glw.js +1 -0
- package/bt/es/{events-rj14pRWj.js → events-DTmcdrxG.js} +1 -1
- package/{sa/es/index-B3ltZ2Im.js → bt/es/index-81Oz-qGy.js} +1 -1
- package/bt/es/{index-DwF6_7Fr.js → index-Bg3TR55E.js} +1 -1
- package/bt/es/index-C02orzbP.js +1 -0
- package/bt/es/{index-BDRHm2Nu.js → index-C3TLCBe7.js} +1 -1
- package/bt/es/{index-D6W9gnkz.js → index-CInJ1xs9.js} +1 -1
- package/{sa/es/index-BqJ1WPAJ.js → bt/es/index-CTbYJElV.js} +1 -1
- package/bt/es/{index-BDz1HlN9.js → index-DBw0XYaH.js} +1 -1
- package/bt/es/{index-x77EPzPH.js → index-JHvfgnk5.js} +1 -1
- package/bt/es/index.d.ts +19 -17
- package/bt/es/index.js +1 -1
- package/{sa/es/styles-BbMqylP3.js → bt/es/styles--PbZr0ha.js} +1 -1
- package/bt/es/{styles-B0MKj30a.js → styles-Bl-Xa0ds.js} +1 -1
- package/bt/es/{styles-CWMO-ZDL.js → styles-BtKlcdvg.js} +1 -1
- package/bt/es/{styles--Rfzvghi.js → styles-BxDsJfWn.js} +1 -1
- package/bt/es/{styles-D3ESKF3v.js → styles-C99hwDpY.js} +1 -1
- package/bt/es/{styles-8VZJFOAE.js → styles-CM32ZnCk.js} +1 -1
- package/bt/es/{styles-Byoy8_H9.js → styles-D4kL714Y.js} +1 -1
- package/bt/es/{styles-BMzFrQLz.js → styles-DXyo7Fs5.js} +1 -1
- package/{sa/es/styles-C7lwVpQD.js → bt/es/styles-DeBo1zSc.js} +1 -1
- package/btv2/es/_auto-entry_btv2-nAWn20u1.js +1 -0
- package/{omni/es/events-DNR4Qw8_.js → btv2/es/events-BnQ0qhIr.js} +1 -1
- package/{omni/es/index-BaBVL5Ud.js → btv2/es/index-BAuez-R4.js} +1 -1
- package/btv2/es/{index-fGrh7N-w.js → index-BleJMqM8.js} +1 -1
- package/btv2/es/{index-D49iNH3k.js → index-D90U_1Qo.js} +1 -1
- package/btv2/es/index-DE84wIEB.js +1 -0
- package/btv2/es/{index-BIdcGwbC.js → index-DR8jG0pq.js} +1 -1
- package/btv2/es/{index-DS_73ZWC.js → index-DcuLYQyJ.js} +1 -1
- package/btv2/es/{index-B5XndCUs.js → index-ESsS5hjq.js} +1 -1
- package/{sav2/es/index-DX6MrZdd.js → btv2/es/index-mey4R2Qb.js} +1 -1
- package/btv2/es/index.d.ts +19 -17
- package/btv2/es/index.js +1 -1
- package/btv2/es/{styles-CGp-VlPi.js → styles-BRhHEVrd.js} +1 -1
- package/btv2/es/{styles-Cx_8Y6Cg.js → styles-CBjR7FnE.js} +1 -1
- package/{sav2/es/styles-CY3ZZwxO.js → btv2/es/styles-CbJDTmCV.js} +1 -1
- package/btv2/es/{styles-BDmL6oOb.js → styles-D-pB6fGr.js} +1 -1
- package/btv2/es/{styles-DTN0yzBV.js → styles-D8De12bq.js} +1 -1
- package/{sav2/es/styles-jzSfAnLz.js → btv2/es/styles-DRddXCLA.js} +1 -1
- package/{sav2/es/styles-BLK_9Ant.js → btv2/es/styles-DeMpu9UC.js} +1 -1
- package/btv2/es/{styles-DyuMInjp.js → styles-ud_EY6B3.js} +1 -1
- package/common/cjs/index.js +1 -1
- package/common/es/index.js +1 -1
- package/e24/es/_auto-entry_e24-DvdknnzM.js +1 -0
- package/e24/es/{events-BrI0rzBQ.js → events-Rm1n0noG.js} +1 -1
- package/e24/es/{index-CqQXC6mF.js → index-BNA5NZfB.js} +1 -1
- package/e24/es/index-Bi6PDC4c.js +1 -0
- package/e24/es/index-CGLozHmr.js +1 -0
- package/e24/es/{index-DjweqiVg.js → index-CWIhbVPw.js} +1 -1
- package/e24/es/{index-OnKBw5e5.js → index-CXlRMveE.js} +1 -1
- package/e24/es/{index-B1RWWDA4.js → index-CevbMYIC.js} +1 -1
- package/e24/es/{index-NE0Lh0jl.js → index-DEI-wJhu.js} +1 -1
- package/e24/es/{index-Bn00DU_j.js → index-DnMmQpmq.js} +1 -1
- package/e24/es/index.d.ts +19 -17
- package/e24/es/index.js +1 -1
- package/e24/es/{styles-DOHgKGcp.js → styles-BL3psmJI.js} +1 -1
- package/e24/es/{styles-lPDidEBC.js → styles-BO7pwS_U.js} +1 -1
- package/e24/es/{styles-As4sWC1w.js → styles-BPI4B5gA.js} +1 -1
- package/e24/es/{styles-R0mK5AJ4.js → styles-C9DgPMO0.js} +1 -1
- package/e24/es/{styles-BejDP2r8.js → styles-CD9vs2Ja.js} +1 -1
- package/e24/es/{styles--C4eEm_t.js → styles-CHfJkS4o.js} +1 -1
- package/e24/es/{styles-Q-b3Qw_Z.js → styles-CIpLr1xP.js} +1 -1
- package/e24/es/{styles-nrXb8MPO.js → styles-Cl9qoAPs.js} +1 -1
- package/e24/es/{styles-DPOzTob1.js → styles-DJAMs49M.js} +1 -1
- package/{tv4/es/styles-Crm3pezD.js → e24/es/styles-JdFLdy5Z.js} +1 -1
- package/e24/es/{styles-HsQZ6qZs.js → styles-rncULcNW.js} +1 -1
- package/editory/cjs/index.d.ts +18 -17
- package/editory/cjs/index.js +1 -1
- package/editory/es/index.d.ts +18 -17
- package/editory/es/index.js +1 -1
- package/fotbollskanalen/cjs/index.d.ts +19 -17
- package/fotbollskanalen/cjs/index.js +1 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DPyblSMF.js +1 -0
- package/fotbollskanalen/es/{events-DpB36fIX.js → events-D6ksBWHo.js} +1 -1
- package/fotbollskanalen/es/{index-CB2-7fAK.js → index-BRVt_-Mn.js} +1 -1
- package/fotbollskanalen/es/{index-CUA2eNGE.js → index-Cr8Mal6K.js} +1 -1
- package/fotbollskanalen/es/{index-kFg83CZS.js → index-DOn9ov7p.js} +1 -1
- package/fotbollskanalen/es/{index-BsObvNq4.js → index-DVeOnxq3.js} +1 -1
- package/fotbollskanalen/es/index-DwPddK-e.js +1 -0
- package/fotbollskanalen/es/index-LYi5uIYu.js +1 -0
- package/fotbollskanalen/es/{index-CtmIMfBu.js → index-My4323ov.js} +1 -1
- package/fotbollskanalen/es/{index-OGQEy9H9.js → index-lcwcTlOs.js} +1 -1
- package/fotbollskanalen/es/index.d.ts +19 -17
- package/fotbollskanalen/es/index.js +1 -1
- package/fotbollskanalen/es/{styles-CvqKtsSK.js → styles-B8RWIS0n.js} +1 -1
- package/fotbollskanalen/es/{styles-B19q7540.js → styles-CQtxVBX-.js} +1 -1
- package/fotbollskanalen/es/{styles-CjtCSs6I.js → styles-D457Igc-.js} +1 -1
- package/fotbollskanalen/es/{styles-J_UB-3gD.js → styles-DZEYG8hY.js} +1 -1
- package/glimr/cjs/index.js +1 -1
- package/glimr/es/index.js +1 -1
- package/godt/cjs/index.d.ts +19 -17
- package/godt/cjs/index.js +1 -1
- package/kilkaya/cjs/index.d.ts +18 -17
- package/kilkaya/cjs/index.js +1 -1
- package/kilkaya/es/index.d.ts +18 -17
- package/kilkaya/es/index.js +1 -1
- package/klart/cjs/index.d.ts +19 -17
- package/klart/cjs/index.js +1 -1
- package/koket/cjs/index.d.ts +19 -17
- package/koket/cjs/index.js +1 -1
- package/koket/es/_auto-entry_koket-DUVKlIP1.js +1 -0
- package/koket/es/{events-DfRbJxyU.js → events-Cz_3ieSv.js} +1 -1
- package/koket/es/{index-BnfNHEXx.js → index-B8eeceuk.js} +1 -1
- package/koket/es/index-BoYKeek-.js +1 -0
- package/koket/es/{index-DDbpDX-g.js → index-CQG7p8FU.js} +1 -1
- package/koket/es/{index-CJ1W571o.js → index-CbF7vThc.js} +1 -1
- package/{svdv2/es/index-lp9D_VqW.js → koket/es/index-DRjNvGuy.js} +1 -1
- package/koket/es/{index-D85uO69N.js → index-DUcH6MTv.js} +1 -1
- package/koket/es/index-DiS6pnqp.js +1 -0
- package/koket/es/{index-Cqr-buJd.js → index-DyKqdWUd.js} +1 -1
- package/koket/es/index.d.ts +19 -17
- package/koket/es/index.js +1 -1
- package/{svdv2/es/styles-Cuxjxnz7.js → koket/es/styles-87UmJ0fd.js} +1 -1
- package/koket/es/{styles-CqURRP3E.js → styles-CH964apH.js} +1 -1
- package/koket/es/{styles-BDu9ZZwO.js → styles-CYIKwjx2.js} +1 -1
- package/{svdv2/es/styles-CpD30RLC.js → koket/es/styles-DPzIWi6-.js} +1 -1
- package/minmote/cjs/index.d.ts +19 -17
- package/minmote/cjs/index.js +1 -1
- package/mtv/es/_auto-entry_mtv-SFi7HmQz.js +1 -0
- package/mtv/es/{events-BTYIrHRZ.js → events-Efp-IsoA.js} +1 -1
- package/mtv/es/{index-C1LxbEmw.js → index-62ZhEiLS.js} +1 -1
- package/mtv/es/{index-DeSJppRQ.js → index-B5JHZdJ_.js} +1 -1
- package/mtv/es/{index-DJlsLpQx.js → index-CCxLaTeK.js} +1 -1
- package/mtv/es/{index-BO-i3sCG.js → index-CHACHVva.js} +1 -1
- package/{svd/es/index-BYkihgZA.js → mtv/es/index-CtlqPalQ.js} +1 -1
- package/mtv/es/{index-CLQvYoC-.js → index-DRSCuKvn.js} +1 -1
- package/mtv/es/index-DU7dK1tv.js +1 -0
- package/mtv/es/{index-DeKzJSAu.js → index-FOfQp-cn.js} +1 -1
- package/mtv/es/index.d.ts +19 -17
- package/mtv/es/index.js +1 -1
- package/omni/es/_auto-entry_omni-DViPCAlv.js +1 -0
- package/{tvnu/es/events-BEMqLH7z.js → omni/es/events-LRAT_Bvo.js} +1 -1
- package/{tvnu/es/index-TDZ9OAcd.js → omni/es/index-9bwaIdG0.js} +1 -1
- package/omni/es/{index-D6MzZqfs.js → index-B9uQXXEv.js} +1 -1
- package/omni/es/{index-CMF_JH0-.js → index-BTgrUU-i.js} +1 -1
- package/{btv2/es/index-CMrcaT3O.js → omni/es/index-BW4d0akI.js} +1 -1
- package/omni/es/{index-CTHSWhc8.js → index-BXtYpATo.js} +1 -1
- package/omni/es/index-BhFw5lTE.js +1 -0
- package/omni/es/{index-B94lMokz.js → index-D69As6fp.js} +1 -1
- package/omni/es/{index-BWjQ3CYh.js → index-DDjGpUEr.js} +1 -1
- package/omni/es/index.d.ts +19 -17
- package/omni/es/index.js +1 -1
- package/omni/es/{styles-cOSLf7Mq.js → styles-BA5p-L5N.js} +1 -1
- package/omni/es/{styles-DPl5PPP2.js → styles-DOcAV6ju.js} +1 -1
- package/package.json +1 -1
- package/pent/cjs/index.d.ts +19 -17
- package/pent/cjs/index.js +1 -1
- package/sa/cjs/index.d.ts +19 -17
- package/sa/cjs/index.js +1 -1
- package/sa/es/_auto-entry_sa-DeD3MVP7.js +1 -0
- package/sa/es/{events-DI3diJFL.js → events-BecgCWsy.js} +1 -1
- package/sa/es/{index-BDXsIVrg.js → index-BX40s81H.js} +1 -1
- package/sa/es/index-BwMYBcbq.js +1 -0
- package/{bt/es/index-DsnsTH-b.js → sa/es/index-C24tchc6.js} +1 -1
- package/sa/es/index-CUpj-JB4.js +1 -0
- package/sa/es/{index-CIec2YTJ.js → index-Cr-FUyBl.js} +1 -1
- package/{bt/es/index-hyiU7O-x.js → sa/es/index-CyyVcWqy.js} +1 -1
- package/sa/es/{index-DIE4Q0G2.js → index-D4L1qme2.js} +1 -1
- package/sa/es/{index-x0P5jn9g.js → index-o90qAp4u.js} +1 -1
- package/sa/es/index.d.ts +19 -17
- package/sa/es/index.js +1 -1
- package/sa/es/{styles-C_xDTp9G.js → styles-B2HTeuqJ.js} +1 -1
- package/sa/es/{styles-Bql3BSp8.js → styles-B2vQP2K8.js} +1 -1
- package/{vg/es/styles-CwuBd-eA.js → sa/es/styles-CHsNl2Mc.js} +1 -1
- package/{bt/es/styles-DO5qqVdH.js → sa/es/styles-CfUywXvc.js} +1 -1
- package/sa/es/{styles-xs6TvmhP.js → styles-Cqr_RRge.js} +1 -1
- package/sa/es/{styles-KT6z0K0Z.js → styles-CxPsuwAd.js} +1 -1
- package/{vg/es/styles-Cmp2KkM3.js → sa/es/styles-CzYN_LTX.js} +1 -1
- package/sa/es/{styles-BKH-itvT.js → styles-D2LetjR-.js} +1 -1
- package/sa/es/{styles-Dtb1biv9.js → styles-s8Z00lKl.js} +1 -1
- package/sav2/es/_auto-entry_sav2-Db0fRSt6.js +1 -0
- package/sav2/es/{events-CthRG9py.js → events-DNGKF8ss.js} +1 -1
- package/sav2/es/{index-Cna6rmoX.js → index-BC5EQ5Ki.js} +1 -1
- package/sav2/es/{index-BmWOJlaN.js → index-ByTXDT_0.js} +1 -1
- package/sav2/es/index-C64lmG2i.js +1 -0
- package/sav2/es/index-CPDnPdKS.js +1 -0
- package/sav2/es/{index-CKJyI3N1.js → index-DNZIrN_q.js} +1 -1
- package/sav2/es/{index-DazqwtUU.js → index-WaOZoUNd.js} +1 -1
- package/sav2/es/{index-B_Q5_GSE.js → index-mPgiXuj_.js} +1 -1
- package/{omni/es/index-BOWJ6T50.js → sav2/es/index-yMvxNIY0.js} +1 -1
- package/sav2/es/index.d.ts +19 -17
- package/sav2/es/index.js +1 -1
- package/sav2/es/{styles-ClAYlm1m.js → styles-B1UQfDYG.js} +1 -1
- package/{vgv2/es/styles-D-TJ0YZd.js → sav2/es/styles-B4aRq6IG.js} +1 -1
- package/sav2/es/{styles-BI4HpZVa.js → styles-BgGC9MUo.js} +1 -1
- package/{vgv2/es/styles-Bk79ACwC.js → sav2/es/styles-C4fHpc7i.js} +1 -1
- package/sav2/es/{styles-Bofifucv.js → styles-Ch2FCI84.js} +1 -1
- package/{vgv2/es/styles-DybsoR0o.js → sav2/es/styles-CnzK_mxw.js} +1 -1
- package/{btv2/es/styles-CnimDhRk.js → sav2/es/styles-DOEtsbP-.js} +1 -1
- package/sav2/es/{styles-k9X55Rnn.js → styles-DdbJdwhY.js} +1 -1
- package/svd/cjs/index.d.ts +19 -17
- package/svd/cjs/index.js +1 -1
- package/svd/es/_auto-entry_svd-WUu3yvXG.js +1 -0
- package/{tv4/es/events-4KySLBAR.js → svd/es/events-DwWjYZVp.js} +1 -1
- package/svd/es/{index-Bs3plEt-.js → index-B0Iu8vXY.js} +1 -1
- package/svd/es/{index-rgHeIyun.js → index-B1METJ1o.js} +1 -1
- package/svd/es/index-B4iY0GvE.js +1 -0
- package/{mtv/es/index-bmZLGjIV.js → svd/es/index-BLUgliOO.js} +1 -1
- package/svd/es/{index-4W_iswyV.js → index-B_0eYGGR.js} +1 -1
- package/svd/es/index-CkyGbTvE.js +1 -0
- package/svd/es/{index-Dnhi0clS.js → index-DMzJ_nHd.js} +1 -1
- package/svd/es/{index-Br0CeQZV.js → index-DrXg3pVq.js} +1 -1
- package/svd/es/index.d.ts +19 -17
- package/svd/es/index.js +1 -1
- package/svd/es/{styles-W_yUrhBw.js → styles-Bw2I5Pno.js} +1 -1
- package/svd/es/{styles-BIrjOvbj.js → styles-C7zlSwvb.js} +1 -1
- package/svd/es/{styles-CN1yvQo7.js → styles-CMm02bEb.js} +1 -1
- package/svd/es/{styles-DtE4dGMU.js → styles-Cztov_Wv.js} +1 -1
- package/svd/es/{styles-CBeC-1fu.js → styles-D_77In5Q.js} +1 -1
- package/svd/es/{styles-oIL8ePVu.js → styles-S2TTOwZN.js} +1 -1
- package/svdv2/es/_auto-entry_svdv2-DR7G4Tmi.js +1 -0
- package/svdv2/es/{events-By9jQ9Ir.js → events-CnhlqoBJ.js} +1 -1
- package/svdv2/es/{index-D5-Q3bOj.js → index--fJ82juM.js} +1 -1
- package/svdv2/es/{index-D7tbEeNI.js → index-B6wuVCpl.js} +1 -1
- package/svdv2/es/index-BPZlMFDy.js +1 -0
- package/svdv2/es/{index-CYeHwSoY.js → index-BRFrDRYx.js} +1 -1
- package/svdv2/es/{index-BgpRT2YF.js → index-Biygcry-.js} +1 -1
- package/svdv2/es/{index-CXgz-X13.js → index-BjBJaPcv.js} +1 -1
- package/svdv2/es/index-CAsNKuIv.js +1 -0
- package/{koket/es/index-BlZzrwzV.js → svdv2/es/index-CDAstSaK.js} +1 -1
- package/svdv2/es/index.d.ts +19 -17
- package/svdv2/es/index.js +1 -1
- package/{koket/es/styles-CP3fGIq5.js → svdv2/es/styles-BUKp899c.js} +1 -1
- package/svdv2/es/{styles-4IN-ROzv.js → styles-CjYRO2UV.js} +1 -1
- package/svdv2/es/{styles-zHKSAqF4.js → styles-DFmU-6t8.js} +1 -1
- package/svdv2/es/{styles-D8SLFgsU.js → styles-DPA1dHCJ.js} +1 -1
- package/svdv2/es/{styles-BDbvDGco.js → styles-Dc1aKfSv.js} +1 -1
- package/svdv2/es/{styles-CK3cpdWI.js → styles-DcRNPjTa.js} +1 -1
- package/{koket/es/styles-Bon_993j.js → svdv2/es/styles-H5EW2MNs.js} +1 -1
- package/tek/cjs/index.d.ts +19 -17
- package/tek/cjs/index.js +1 -1
- package/tracker/cjs/index.d.ts +18 -17
- package/tracker/es/index.d.ts +18 -17
- package/tv4/cjs/index.d.ts +19 -17
- package/tv4/cjs/index.js +1 -1
- package/tv4/es/_auto-entry_tv4-FaljvrBE.js +1 -0
- package/{svd/es/events-DCpY41Cg.js → tv4/es/events-DefiGdDS.js} +1 -1
- package/tv4/es/{index-D4P-NvdT.js → index-B2vpMEPe.js} +1 -1
- package/tv4/es/index-BxNrZ8Yf.js +1 -0
- package/tv4/es/{index-BUm2iJCL.js → index-Db5YHoZP.js} +1 -1
- package/tv4/es/{index-wC373CoD.js → index-DvOZYkPa.js} +1 -1
- package/tv4/es/{index-xBKjwvS1.js → index-HYqE7h04.js} +1 -1
- package/tv4/es/{index-BDOkY4IN.js → index-KFLtqJjc.js} +1 -1
- package/tv4/es/{index-yMXj6DRW.js → index-KvBxcsvd.js} +1 -1
- package/tv4/es/{index-CFbaMlxi.js → index-ghGeOxNq.js} +1 -1
- package/tv4/es/index.d.ts +19 -17
- package/tv4/es/index.js +1 -1
- package/tv4/es/{styles-m2zKugmR.js → styles-B-DC8wXs.js} +1 -1
- package/tv4/es/{styles-gV6NqYu-.js → styles-BUyPd9Y0.js} +1 -1
- package/tv4/es/{styles-Bmq51bK_.js → styles-DCjlr5xQ.js} +1 -1
- package/{e24/es/styles-CKcjc5a0.js → tv4/es/styles-N6wd6A_B.js} +1 -1
- package/tvnu/cjs/index.d.ts +19 -17
- package/tvnu/cjs/index.js +1 -1
- package/tvnu/es/_auto-entry_tvnu-DMZPquXT.js +1 -0
- package/{btv2/es/events-BjiorpRK.js → tvnu/es/events-Dqb-GF2f.js} +1 -1
- package/{omni/es/index-DgqG_a5X.js → tvnu/es/index-B6cU8hsW.js} +1 -1
- package/{vgv2/es/index-0bMMbnRN.js → tvnu/es/index-C2YotjJU.js} +1 -1
- package/{sav2/es/index-CruDB6CF.js → tvnu/es/index-C3xnIzU_.js} +1 -1
- package/tvnu/es/{index-BMReWNC9.js → index-C4WAB55h.js} +1 -1
- package/tvnu/es/{index-Bm-S3SYD.js → index-CSHenyQ5.js} +1 -1
- package/tvnu/es/index-D10N_Zgv.js +1 -0
- package/tvnu/es/{index-D1zU2Yxs.js → index-DmOrGvYz.js} +1 -1
- package/tvnu/es/{index-EsfYbPbT.js → index-DyTc9ILh.js} +1 -1
- package/tvnu/es/index.d.ts +19 -17
- package/tvnu/es/index.js +1 -1
- package/tvnu/es/{styles-8eD0eK-_.js → styles--UYsw4aM.js} +1 -1
- package/tvnu/es/{styles-B5GgV2tN.js → styles-C3fwDL-v.js} +1 -1
- package/{btv2/es/styles-DEZqUzVC.js → tvnu/es/styles-CK4taMCz.js} +1 -1
- package/types/index.d.ts +20 -18
- package/vg/cjs/index.d.ts +19 -17
- package/vg/cjs/index.js +1 -1
- package/vg/es/_auto-entry_vg-1XkGX2QP.js +1 -0
- package/vg/es/{events-CRsvxUE3.js → events-Dh51wHYO.js} +1 -1
- package/vg/es/{index-BSsLrKNL.js → index--wXT3-oU.js} +1 -1
- package/vg/es/index-0fVLBcRa.js +1 -0
- package/vg/es/{index-CGvHyIoW.js → index-4grZKfL5.js} +1 -1
- package/vg/es/{index-ywUd_exl.js → index-7QAcfKPx.js} +1 -1
- package/vg/es/{index-DkIhalKX.js → index-C6lcq7AL.js} +1 -1
- package/vg/es/{index-Bq7MDB3X.js → index-DntkqQFS.js} +1 -1
- package/vg/es/{index-CAX8dYg4.js → index-jA-C4Ij5.js} +1 -1
- package/vg/es/{index-Dpp2Yjnl.js → index-yUtgdiUg.js} +1 -1
- package/vg/es/index.d.ts +19 -17
- package/vg/es/index.js +1 -1
- package/vg/es/{styles-CbcwYAlK.js → styles-5MAzs4Zu.js} +1 -1
- package/vg/es/{styles-kYMBLoHJ.js → styles-86UDRaJW.js} +1 -1
- package/vg/es/{styles-hZZ-Ymzt.js → styles-8GyQTQgv.js} +1 -1
- package/vg/es/{styles-BXprVqIK.js → styles-B0UF7LfE.js} +1 -1
- package/{sa/es/styles-ElFuh5MJ.js → vg/es/styles-B5V4FI_M.js} +1 -1
- package/{bt/es/styles-BMLCr-Gn.js → vg/es/styles-BGZm-9jT.js} +1 -1
- package/vg/es/{styles-CxK9hwR7.js → styles-BJMVnrSG.js} +1 -1
- package/vg/es/{styles-BdsbGPQT.js → styles-BN1Q3jGC.js} +1 -1
- package/vg/es/{styles-DTxKzHkJ.js → styles-BRu4TSPJ.js} +1 -1
- package/vg/es/{styles-DKRPp5sN.js → styles-C1WJ3vz7.js} +1 -1
- package/vg/es/{styles-6GpAwbSQ.js → styles-C6Is07pg.js} +1 -1
- package/vg/es/{styles-CTTv6Ja7.js → styles-CJthc8yt.js} +1 -1
- package/vg/es/{styles-DEEmZAAU.js → styles-DBnEP0fU.js} +1 -1
- package/vg/es/{styles-C8eMLGoZ.js → styles-DNhpQVYO.js} +1 -1
- package/vg/es/{styles-CRDS-l-x.js → styles-vl99wLbR.js} +1 -1
- package/vgv2/es/_auto-entry_vgv2-DvxBVvmD.js +1 -0
- package/vgv2/es/{events-C6zZZ0wR.js → events-C2yf-22F.js} +1 -1
- package/vgv2/es/{index-CZZXITop.js → index-BBWjZxsJ.js} +1 -1
- package/vgv2/es/{index-DV4idJT3.js → index-Bu60pgL9.js} +1 -1
- package/vgv2/es/{index-CwSAcYYf.js → index-DEn2V_8g.js} +1 -1
- package/vgv2/es/index-DWFmomps.js +1 -0
- package/{tvnu/es/index-C9T8MdQO.js → vgv2/es/index-DdgcFF8X.js} +1 -1
- package/vgv2/es/{index-Dw8awMET.js → index-Ddv1JfSR.js} +1 -1
- package/vgv2/es/{index-8wTVjUza.js → index-Dl_xMnPv.js} +1 -1
- package/vgv2/es/{index-GgW8CmxR.js → index-sQtq8Z9r.js} +1 -1
- package/vgv2/es/index.d.ts +19 -17
- package/vgv2/es/index.js +1 -1
- package/vgv2/es/{styles-CvQ29OHO.js → styles-0x-jssVm.js} +1 -1
- package/vgv2/es/{styles-BLNXZPYf.js → styles-B2AEj_Tc.js} +1 -1
- package/vgv2/es/{styles-VwuX1N09.js → styles-BFeY1omF.js} +1 -1
- package/vgv2/es/{styles-DAHzAObz.js → styles-Bl_9N8LI.js} +1 -1
- package/vgv2/es/{styles-jsqPoIHl.js → styles-BpuYPyfl.js} +1 -1
- package/vgv2/es/{styles-B-WZKfZF.js → styles-By6TnGB5.js} +1 -1
- package/vgv2/es/{styles-CLydlrr4.js → styles-COz3RfmR.js} +1 -1
- package/vgv2/es/{styles-GFXYVwWk.js → styles-C_XPLUFA.js} +1 -1
- package/vgv2/es/{styles-DJalsPbI.js → styles-Cmc8MKa3.js} +1 -1
- package/{tvnu/es/styles-BkBzkoE7.js → vgv2/es/styles-DELeZqx6.js} +1 -1
- package/vgv2/es/{styles-BYxNSj9N.js → styles-DT7y8IAa.js} +1 -1
- package/vgv2/es/{styles-BqMBA6sc.js → styles-HDvKLHsD.js} +1 -1
- package/{sav2/es/styles-DsIS4sUA.js → vgv2/es/styles-MXrAxOVD.js} +1 -1
- package/{btv2/es/styles-BcfarAWx.js → vgv2/es/styles-mGmN7rNj.js} +1 -1
- package/vgv2/es/{styles-B8F-fTVB.js → styles-xB4_HpKs.js} +1 -1
- package/video/cjs/index.js +1 -1
- package/video/es/index.js +1 -1
- package/aftenposten/es/_auto-entry_aftenposten-RBEMGbJM.js +0 -1
- package/aftenposten/es/index-C8KzO_Bo.js +0 -1
- package/aftenposten/es/index-ChMcrS9k.js +0 -1
- package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BQuke4cU.js +0 -1
- package/aftenpostenv2/es/index-C6ViniMz.js +0 -1
- package/aftenpostenv2/es/index-VxOMsbBZ.js +0 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-CAArVKie.js +0 -1
- package/aftonbladet/es/index-B0seJE6d.js +0 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-Bhr4jHWC.js +0 -1
- package/aftonbladetv2/es/index-Bs17skju.js +0 -1
- package/bt/es/_auto-entry_bt-Dk176YDo.js +0 -1
- package/bt/es/index-CT1ewpbE.js +0 -1
- package/btv2/es/_auto-entry_btv2-C3BMfR9N.js +0 -1
- package/btv2/es/index-DRKjsTZi.js +0 -1
- package/btv2/es/index-Dq_ikWoX.js +0 -1
- package/e24/es/_auto-entry_e24-BIxvA8qH.js +0 -1
- package/e24/es/index-jIqxCG8Y.js +0 -1
- package/e24/es/index-zNXfc029.js +0 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-C0bG9s2e.js +0 -1
- package/fotbollskanalen/es/index-Bip66ufO.js +0 -1
- package/fotbollskanalen/es/index-DFOvO8Gk.js +0 -1
- package/koket/es/_auto-entry_koket-CfdwxTqe.js +0 -1
- package/koket/es/index-4zfKSkHr.js +0 -1
- package/koket/es/index-eql9xeF3.js +0 -1
- package/mtv/es/_auto-entry_mtv-BDbckjio.js +0 -1
- package/mtv/es/index-CMcYIr5B.js +0 -1
- package/omni/es/_auto-entry_omni-kPi2t184.js +0 -1
- package/sa/es/_auto-entry_sa-BVVMzNzi.js +0 -1
- package/sa/es/index-CTtjQOs5.js +0 -1
- package/sa/es/index-_j0q3jV3.js +0 -1
- package/sav2/es/_auto-entry_sav2-D82eD4oc.js +0 -1
- package/sav2/es/index-6GP1iTRr.js +0 -1
- package/svd/es/_auto-entry_svd-CoRlxzCg.js +0 -1
- package/svd/es/index-CBa5CgPk.js +0 -1
- package/svd/es/index-CYJD814U.js +0 -1
- package/svdv2/es/_auto-entry_svdv2-C6rMJno8.js +0 -1
- package/svdv2/es/index-BvcATPFW.js +0 -1
- package/svdv2/es/index-ZE10OS6e.js +0 -1
- package/tv4/es/_auto-entry_tv4-CunA1-4L.js +0 -1
- package/tv4/es/index-DgOoHYbO.js +0 -1
- package/tvnu/es/_auto-entry_tvnu-DE4GbG57.js +0 -1
- package/tvnu/es/index-CauAadba.js +0 -1
- package/tvnu/es/index-DuNHAdA7.js +0 -1
- package/vg/es/_auto-entry_vg-DoO28oQo.js +0 -1
- package/vg/es/index-CVP91nhn.js +0 -1
- package/vgv2/es/_auto-entry_vgv2-Cmle-i6b.js +0 -1
- package/vgv2/es/index-Hd2EKHnJ.js +0 -1
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
declare const PageTypes: {
|
|
2
|
+
readonly FRONT: "front";
|
|
3
|
+
readonly ARTICLE: "article";
|
|
4
|
+
readonly SECTION: "section";
|
|
5
|
+
readonly COLLECTION: "collection";
|
|
6
|
+
readonly OTHER: "other";
|
|
7
|
+
};
|
|
8
|
+
type PageType = (typeof PageTypes)[keyof typeof PageTypes];
|
|
9
|
+
|
|
10
|
+
declare const Countries: {
|
|
11
|
+
readonly NO: "no";
|
|
12
|
+
readonly SE: "se";
|
|
13
|
+
};
|
|
14
|
+
type Country = (typeof Countries)[keyof typeof Countries];
|
|
15
|
+
|
|
16
|
+
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
17
|
+
type Keywords = Record<string, AstKeywordValue>;
|
|
18
|
+
|
|
1
19
|
type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
|
|
2
20
|
interface AstBanner {
|
|
3
21
|
content: string;
|
|
@@ -99,8 +117,6 @@ interface Events {
|
|
|
99
117
|
interface AstNativeItem {
|
|
100
118
|
required: boolean;
|
|
101
119
|
}
|
|
102
|
-
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
103
|
-
type Keywords = Record<string, AstKeywordValue>;
|
|
104
120
|
type AstKeywords = Record<string, AstKeywordValue> & {
|
|
105
121
|
'se-generic-adformat'?: Array<string>;
|
|
106
122
|
'se-generic-targetid'?: Array<string>;
|
|
@@ -281,21 +297,6 @@ declare const DeviceTypes: {
|
|
|
281
297
|
};
|
|
282
298
|
type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
|
|
283
299
|
|
|
284
|
-
declare const Countries: {
|
|
285
|
-
readonly NO: "no";
|
|
286
|
-
readonly SE: "se";
|
|
287
|
-
};
|
|
288
|
-
type Country = (typeof Countries)[keyof typeof Countries];
|
|
289
|
-
|
|
290
|
-
declare const PageTypes: {
|
|
291
|
-
readonly FRONT: "front";
|
|
292
|
-
readonly ARTICLE: "article";
|
|
293
|
-
readonly SECTION: "section";
|
|
294
|
-
readonly COLLECTION: "collection";
|
|
295
|
-
readonly OTHER: "other";
|
|
296
|
-
};
|
|
297
|
-
type PageType = (typeof PageTypes)[keyof typeof PageTypes];
|
|
298
|
-
|
|
299
300
|
/**
|
|
300
301
|
* SDK-agnostic shape of the pulse tracker instance advertory actually calls.
|
|
301
302
|
* getActor is typed Promise<unknown> — nothing in this codebase reads its
|
|
@@ -809,6 +810,7 @@ interface UpdatableSiteConfig {
|
|
|
809
810
|
tcf?: SiteConfig['tcf'];
|
|
810
811
|
pageContext?: Partial<PageContext>;
|
|
811
812
|
pageOptions?: Partial<AstPageOptions>;
|
|
813
|
+
pageSectionsSelectors?: Partial<PageSectionsSelectors>;
|
|
812
814
|
appearanceConfig?: Partial<AppearanceConfig>;
|
|
813
815
|
}
|
|
814
816
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{V as Takeover,U as default}from"./_auto-entry_fotbollskanalen-
|
|
1
|
+
export{V as Takeover,U as default}from"./_auto-entry_fotbollskanalen-DPyblSMF.js";import"react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./_auto-entry_fotbollskanalen-
|
|
1
|
+
import{i as e}from"./_auto-entry_fotbollskanalen-DPyblSMF.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-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;padding-right:8px;align-items:start}.advertory-shared-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{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{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-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
|
-
import{i as o}from"./_auto-entry_fotbollskanalen-
|
|
1
|
+
import{i as o}from"./_auto-entry_fotbollskanalen-DPyblSMF.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 a}from"./_auto-entry_fotbollskanalen-
|
|
1
|
+
import{i as a}from"./_auto-entry_fotbollskanalen-DPyblSMF.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 e}from"./_auto-entry_fotbollskanalen-
|
|
1
|
+
import{i as e}from"./_auto-entry_fotbollskanalen-DPyblSMF.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}}");
|
package/glimr/cjs/index.js
CHANGED
|
@@ -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,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,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})});
|
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,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)?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};
|
package/godt/cjs/index.d.ts
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
declare const PageTypes: {
|
|
2
|
+
readonly FRONT: "front";
|
|
3
|
+
readonly ARTICLE: "article";
|
|
4
|
+
readonly SECTION: "section";
|
|
5
|
+
readonly COLLECTION: "collection";
|
|
6
|
+
readonly OTHER: "other";
|
|
7
|
+
};
|
|
8
|
+
type PageType = (typeof PageTypes)[keyof typeof PageTypes];
|
|
9
|
+
|
|
10
|
+
declare const Countries: {
|
|
11
|
+
readonly NO: "no";
|
|
12
|
+
readonly SE: "se";
|
|
13
|
+
};
|
|
14
|
+
type Country = (typeof Countries)[keyof typeof Countries];
|
|
15
|
+
|
|
16
|
+
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
17
|
+
type Keywords = Record<string, AstKeywordValue>;
|
|
18
|
+
|
|
1
19
|
type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
|
|
2
20
|
interface AstBanner {
|
|
3
21
|
content: string;
|
|
@@ -99,8 +117,6 @@ interface Events {
|
|
|
99
117
|
interface AstNativeItem {
|
|
100
118
|
required: boolean;
|
|
101
119
|
}
|
|
102
|
-
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
103
|
-
type Keywords = Record<string, AstKeywordValue>;
|
|
104
120
|
type AstKeywords = Record<string, AstKeywordValue> & {
|
|
105
121
|
'se-generic-adformat'?: Array<string>;
|
|
106
122
|
'se-generic-targetid'?: Array<string>;
|
|
@@ -281,21 +297,6 @@ declare const DeviceTypes: {
|
|
|
281
297
|
};
|
|
282
298
|
type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
|
|
283
299
|
|
|
284
|
-
declare const Countries: {
|
|
285
|
-
readonly NO: "no";
|
|
286
|
-
readonly SE: "se";
|
|
287
|
-
};
|
|
288
|
-
type Country = (typeof Countries)[keyof typeof Countries];
|
|
289
|
-
|
|
290
|
-
declare const PageTypes: {
|
|
291
|
-
readonly FRONT: "front";
|
|
292
|
-
readonly ARTICLE: "article";
|
|
293
|
-
readonly SECTION: "section";
|
|
294
|
-
readonly COLLECTION: "collection";
|
|
295
|
-
readonly OTHER: "other";
|
|
296
|
-
};
|
|
297
|
-
type PageType = (typeof PageTypes)[keyof typeof PageTypes];
|
|
298
|
-
|
|
299
300
|
/**
|
|
300
301
|
* SDK-agnostic shape of the pulse tracker instance advertory actually calls.
|
|
301
302
|
* getActor is typed Promise<unknown> — nothing in this codebase reads its
|
|
@@ -809,6 +810,7 @@ interface UpdatableSiteConfig {
|
|
|
809
810
|
tcf?: SiteConfig['tcf'];
|
|
810
811
|
pageContext?: Partial<PageContext>;
|
|
811
812
|
pageOptions?: Partial<AstPageOptions>;
|
|
813
|
+
pageSectionsSelectors?: Partial<PageSectionsSelectors>;
|
|
812
814
|
appearanceConfig?: Partial<AppearanceConfig>;
|
|
813
815
|
}
|
|
814
816
|
|