@schibsted/advertory 3.15.0 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ad-native/cjs/index.js +1 -1
- package/ad-native/es/index.js +1 -1
- package/aftenposten/cjs/index.d.ts +1 -0
- package/aftenposten/cjs/index.js +1 -1
- package/aftenposten/es/_auto-entry_aftenposten-BNkq8etN.js +1 -0
- package/aftenposten/es/{events-D8pWSmsg.js → events-B5l6zCaC.js} +1 -1
- package/aftenposten/es/{index-ChMcrS9k.js → index-AzfgaHDJ.js} +1 -1
- package/aftenposten/es/{index-MwzGrVXl.js → index-B04FXR_c.js} +1 -1
- package/aftenposten/es/{index-CVNgEU97.js → index-B29m7RpK.js} +1 -1
- package/aftenposten/es/{index-D_ZfDX7n.js → index-B7FqNtLe.js} +1 -1
- package/aftenposten/es/{index-BpDhcw-E.js → index-BM_O0aeJ.js} +1 -1
- package/aftenposten/es/{index-D7IIvMmD.js → index-DBVpxUWh.js} +1 -1
- package/aftenposten/es/{index-CabG87Qj.js → index-DPcGuRg0.js} +1 -1
- package/aftenposten/es/index-fzJme0tf.js +1 -0
- package/aftenposten/es/index.d.ts +1 -0
- package/aftenposten/es/index.js +1 -1
- package/aftenposten/es/{styles-DLcI0XaA.js → styles-8qtGjLrJ.js} +1 -1
- package/aftenposten/es/{styles-BY1YXXd9.js → styles-BQ6x1VO5.js} +1 -1
- package/aftenposten/es/{styles-BSpQ9wrB.js → styles-BR4l4-31.js} +1 -1
- package/aftenposten/es/{styles-Bf3o4iGL.js → styles-BUCGbkXr.js} +1 -1
- package/aftenposten/es/{styles-BsjNe66H.js → styles-BkDzy7SX.js} +1 -1
- package/aftenposten/es/{styles---H38acf.js → styles-Cl64tHHL.js} +1 -1
- package/aftenposten/es/{styles-BLV3pNDc.js → styles-DHvDlmP9.js} +1 -1
- package/aftenposten/es/{styles-CmGvzh7N.js → styles-DcojDCHO.js} +1 -1
- package/aftenposten/es/{styles-D-GEnM2K.js → styles-Dp3M6PvL.js} +1 -1
- package/aftenposten/es/{styles-Ndioyk21.js → styles-S6FXJt5S.js} +1 -1
- package/aftenpostenv2/es/_auto-entry_aftenpostenv2-xOUdFrVN.js +1 -0
- package/aftenpostenv2/es/{events-D0AzPHgD.js → events-3y0L9fHq.js} +1 -1
- package/aftenpostenv2/es/{index-DRBmTJEh.js → index-BAcOT-4t.js} +1 -1
- package/aftenpostenv2/es/index-BcZY_TAd.js +1 -0
- package/aftenpostenv2/es/{index-CT3bnylL.js → index-Bh1cIcC-.js} +1 -1
- package/aftenpostenv2/es/{index-DHIaSS0w.js → index-Bhglorpl.js} +1 -1
- package/aftenpostenv2/es/{index-BzzsRi1p.js → index-BzbN1-cA.js} +1 -1
- package/aftenpostenv2/es/{index-C6ViniMz.js → index-C1nos8Oh.js} +1 -1
- package/aftenpostenv2/es/{index-DLg5TKvF.js → index-CqLAy9GV.js} +1 -1
- package/aftenpostenv2/es/{index-DccyhRzR.js → index-Cw1dVsl3.js} +1 -1
- package/aftenpostenv2/es/index.d.ts +1 -0
- package/aftenpostenv2/es/index.js +1 -1
- package/aftenpostenv2/es/{styles-Bt7FhUi7.js → styles-8x310O9g.js} +1 -1
- package/aftenpostenv2/es/{styles-Drs3vx54.js → styles-BO45Bfm8.js} +1 -1
- package/aftenpostenv2/es/{styles-zFiHo4Mv.js → styles-BV9hW1VT.js} +1 -1
- package/aftenpostenv2/es/{styles-Cjxj5X-y.js → styles-BYXACJXF.js} +1 -1
- package/aftenpostenv2/es/{styles-BnzCRfJC.js → styles-B_lZIgZk.js} +1 -1
- package/aftenpostenv2/es/{styles-BsZpcwGt.js → styles-C-ftEK6_.js} +1 -1
- package/aftenpostenv2/es/{styles-D7sCt52w.js → styles-CXs3LoeL.js} +1 -1
- package/aftenpostenv2/es/{styles-C2PryDI0.js → styles-CY75Ysrf.js} +1 -1
- package/aftenpostenv2/es/{styles-CFWM6WfN.js → styles-Dp110rkQ.js} +1 -1
- package/aftenpostenv2/es/{styles-DNU8Xu50.js → styles-gVNslNgB.js} +1 -1
- package/aftonbladet/cjs/index.d.ts +1 -0
- package/aftonbladet/cjs/index.js +1 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-C7dg3LvI.js +1 -0
- package/aftonbladet/es/{events-p54Iu8vF.js → events-C0TfuGMa.js} +1 -1
- package/aftonbladet/es/{index-D1w-ivv6.js → index-0G2OiuYp.js} +1 -1
- package/aftonbladet/es/{index-ci4R4rww.js → index-B27-k0Bv.js} +1 -1
- package/aftonbladet/es/{index-D4qCky3j.js → index-Cn6PghjB.js} +1 -1
- package/aftonbladet/es/{index-CfSNT4C2.js → index-CzoGG22Y.js} +1 -1
- package/aftonbladet/es/{index-B0seJE6d.js → index-Se9VW4lb.js} +1 -1
- package/aftonbladet/es/{index-CjAwtnM1.js → index-_VZ-L1q3.js} +1 -1
- package/aftonbladet/es/{index-Bsr4MaXs.js → index-kUX7govM.js} +1 -1
- package/aftonbladet/es/{index-DfE4pXnF.js → index-p6JGQOSw.js} +1 -1
- package/aftonbladet/es/index.d.ts +1 -0
- package/aftonbladet/es/index.js +1 -1
- package/aftonbladet/es/{styles-0NsCHKhy.js → styles-9v2tn6re.js} +1 -1
- package/aftonbladet/es/{styles-q3_G2IY5.js → styles-BoSSAgie.js} +1 -1
- package/aftonbladet/es/{styles-v8yXPogn.js → styles-D0C8lck6.js} +1 -1
- package/aftonbladet/es/{styles-CEvgmr2F.js → styles-DumjsW14.js} +1 -1
- package/aftonbladet/es/{styles-CFMH3DPn.js → styles-Dz08-G-B.js} +1 -1
- package/aftonbladet/es/{styles-Dn54iRJh.js → styles-wfGxHu2V.js} +1 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-d2Dlhipw.js +1 -0
- package/aftonbladetv2/es/{events-eXnWwS1R.js → events-t-Ti_Ek7.js} +1 -1
- package/aftonbladetv2/es/{index-CBUT5K4r.js → index-BmhvYKUy.js} +1 -1
- package/aftonbladetv2/es/{index-D1ULWRDx.js → index-BtGea1a1.js} +1 -1
- package/aftonbladetv2/es/{index-cv7jnXrH.js → index-CNO7G6j3.js} +1 -1
- package/aftonbladetv2/es/{index-Bs17skju.js → index-DyygAABw.js} +1 -1
- package/aftonbladetv2/es/{index-DIOnmfnX.js → index-X3p-Yyt8.js} +1 -1
- package/aftonbladetv2/es/{index-CadxQurG.js → index-aEhW5QsE.js} +1 -1
- package/aftonbladetv2/es/{index-Bch45NKd.js → index-bGc2JDMQ.js} +1 -1
- package/aftonbladetv2/es/{index-DMqn_IZm.js → index-bIrTjUZ4.js} +1 -1
- package/aftonbladetv2/es/index.d.ts +1 -0
- package/aftonbladetv2/es/index.js +1 -1
- package/aftonbladetv2/es/{styles-B5F5zUBs.js → styles-BHHYBCj3.js} +1 -1
- package/aftonbladetv2/es/{styles-zT8eWXsS.js → styles-BJflJdWJ.js} +1 -1
- package/aftonbladetv2/es/{styles-C7szoH8D.js → styles-Bn6CdgQS.js} +1 -1
- package/aftonbladetv2/es/{styles-DP7lB0tL.js → styles-Bsh6GbyT.js} +1 -1
- package/aftonbladetv2/es/{styles-CujdGQ5S.js → styles-DmtjL3Np.js} +1 -1
- package/aftonbladetv2/es/{styles-DULiC4js.js → styles-mvEHP7wd.js} +1 -1
- package/brandmetrics/cjs/index.js +1 -1
- package/brandmetrics/es/index.js +1 -1
- package/bt/cjs/index.d.ts +1 -0
- package/bt/cjs/index.js +1 -1
- package/bt/es/_auto-entry_bt-CQjAhlLt.js +1 -0
- package/bt/es/{events-rj14pRWj.js → events-BYNFuTDA.js} +1 -1
- package/bt/es/{index-hyiU7O-x.js → index-3De8sce6.js} +1 -1
- package/bt/es/{index-x77EPzPH.js → index-8f_QWruA.js} +1 -1
- package/bt/es/{index-BDz1HlN9.js → index-B27i8Cs6.js} +1 -1
- package/bt/es/{index-DwF6_7Fr.js → index-BmWGl3Tn.js} +1 -1
- package/bt/es/{index-BDRHm2Nu.js → index-BtG9Zkin.js} +1 -1
- package/bt/es/{index-CT1ewpbE.js → index-Bv5mSUy3.js} +1 -1
- package/{sa/es/index-B3ltZ2Im.js → bt/es/index-C9JhueRO.js} +1 -1
- package/bt/es/{index-D6W9gnkz.js → index-U7ovHZpK.js} +1 -1
- package/bt/es/index.d.ts +1 -0
- package/bt/es/index.js +1 -1
- package/bt/es/{styles-8VZJFOAE.js → styles-Bjps-lRi.js} +1 -1
- package/bt/es/{styles-B0MKj30a.js → styles-BkdUzUGT.js} +1 -1
- package/bt/es/{styles-DO5qqVdH.js → styles-C-IbRWzC.js} +1 -1
- package/bt/es/{styles-D3ESKF3v.js → styles-C8DYph2y.js} +1 -1
- package/{sa/es/styles-BbMqylP3.js → bt/es/styles-CBnKbpRV.js} +1 -1
- package/bt/es/{styles-Byoy8_H9.js → styles-CDMt2lG3.js} +1 -1
- package/bt/es/{styles--Rfzvghi.js → styles-ClSyNpQJ.js} +1 -1
- package/bt/es/{styles-CWMO-ZDL.js → styles-DTQkSe9T.js} +1 -1
- package/bt/es/{styles-BMzFrQLz.js → styles-Dlh91Srk.js} +1 -1
- package/btv2/es/_auto-entry_btv2-BTPxeX0a.js +1 -0
- package/{omni/es/events-DNR4Qw8_.js → btv2/es/events-DjzOFnHw.js} +1 -1
- package/btv2/es/{index-DRKjsTZi.js → index-BABADl9C.js} +1 -1
- package/btv2/es/{index-D49iNH3k.js → index-BnQqpak9.js} +1 -1
- package/{sav2/es/index-DX6MrZdd.js → btv2/es/index-C3OQ39Sa.js} +1 -1
- package/btv2/es/{index-B5XndCUs.js → index-D67n9KOt.js} +1 -1
- package/btv2/es/{index-DS_73ZWC.js → index-DQ-E6AYd.js} +1 -1
- package/btv2/es/{index-fGrh7N-w.js → index-Dfkm8Dgt.js} +1 -1
- package/btv2/es/{index-BIdcGwbC.js → index-QBrrkxHf.js} +1 -1
- package/{omni/es/index-BaBVL5Ud.js → btv2/es/index-a76sw4MW.js} +1 -1
- package/btv2/es/index.d.ts +1 -0
- package/btv2/es/index.js +1 -1
- package/{sav2/es/styles-CY3ZZwxO.js → btv2/es/styles-A1l-nZlU.js} +1 -1
- package/{sav2/es/styles-BLK_9Ant.js → btv2/es/styles-BC0RjsLq.js} +1 -1
- package/btv2/es/{styles-Cx_8Y6Cg.js → styles-BMSwqy5y.js} +1 -1
- package/btv2/es/{styles-BDmL6oOb.js → styles-B_70F_og.js} +1 -1
- package/btv2/es/{styles-DTN0yzBV.js → styles-Bs-9S8lp.js} +1 -1
- package/btv2/es/{styles-CGp-VlPi.js → styles-CaiZWQmt.js} +1 -1
- package/{sav2/es/styles-jzSfAnLz.js → btv2/es/styles-DBDwtkGz.js} +1 -1
- package/btv2/es/{styles-DyuMInjp.js → styles-a1TuClhx.js} +1 -1
- package/common/cjs/index.js +1 -1
- package/common/es/index.js +1 -1
- package/e24/es/_auto-entry_e24-CiWqBVTh.js +1 -0
- package/e24/es/{events-BrI0rzBQ.js → events-BJ1UtnWO.js} +1 -1
- package/e24/es/{index-jIqxCG8Y.js → index-3DSCHsjA.js} +1 -1
- package/e24/es/{index-DjweqiVg.js → index-BZdZcQTo.js} +1 -1
- package/e24/es/{index-NE0Lh0jl.js → index-BfUwF_x_.js} +1 -1
- package/e24/es/index-CNrfNED_.js +1 -0
- package/e24/es/{index-OnKBw5e5.js → index-D1ck2pi5.js} +1 -1
- package/e24/es/{index-Bn00DU_j.js → index-GrGRzCam.js} +1 -1
- package/e24/es/{index-CqQXC6mF.js → index-kRRG-R3t.js} +1 -1
- package/e24/es/{index-B1RWWDA4.js → index-kThhGd_q.js} +1 -1
- package/e24/es/index.d.ts +1 -0
- package/e24/es/index.js +1 -1
- package/e24/es/{styles-nrXb8MPO.js → styles-BMCsZxqV.js} +1 -1
- package/e24/es/{styles-lPDidEBC.js → styles-BaQlPwGg.js} +1 -1
- package/e24/es/{styles-DPOzTob1.js → styles-CZWt37qe.js} +1 -1
- package/e24/es/{styles-Q-b3Qw_Z.js → styles-CbWKxZm7.js} +1 -1
- package/e24/es/{styles-DOHgKGcp.js → styles-D2sgq8nC.js} +1 -1
- package/e24/es/{styles-R0mK5AJ4.js → styles-DAAdjOnO.js} +1 -1
- package/{tv4/es/styles-Crm3pezD.js → e24/es/styles-DDqsHVBo.js} +1 -1
- package/e24/es/{styles-As4sWC1w.js → styles-DZ_E-i0E.js} +1 -1
- package/e24/es/{styles--C4eEm_t.js → styles-Jgq2X5tq.js} +1 -1
- package/e24/es/{styles-HsQZ6qZs.js → styles-RqQ7ZJST.js} +1 -1
- package/e24/es/{styles-BejDP2r8.js → styles-fwzTEr9h.js} +1 -1
- package/editory/cjs/index.js +1 -1
- package/editory/es/index.js +1 -1
- package/fotbollskanalen/cjs/index.d.ts +1 -0
- package/fotbollskanalen/cjs/index.js +1 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-CNwpo0tx.js +1 -0
- package/fotbollskanalen/es/{events-DpB36fIX.js → events-BTP1mAoD.js} +1 -1
- package/fotbollskanalen/es/{index-BsObvNq4.js → index-BPTr0QNy.js} +1 -1
- package/fotbollskanalen/es/{index-DFOvO8Gk.js → index-BmNocafq.js} +1 -1
- package/fotbollskanalen/es/{index-CB2-7fAK.js → index-CGi4oznb.js} +1 -1
- package/fotbollskanalen/es/index-D2FWD2Ph.js +1 -0
- package/fotbollskanalen/es/{index-CUA2eNGE.js → index-D3ujBBCm.js} +1 -1
- package/fotbollskanalen/es/{index-kFg83CZS.js → index-DCw-V9AS.js} +1 -1
- package/fotbollskanalen/es/{index-OGQEy9H9.js → index-DDJSwAoG.js} +1 -1
- package/fotbollskanalen/es/{index-CtmIMfBu.js → index-xhrQPzZs.js} +1 -1
- package/fotbollskanalen/es/index.d.ts +1 -0
- package/fotbollskanalen/es/index.js +1 -1
- package/fotbollskanalen/es/{styles-J_UB-3gD.js → styles-DHJO0oaY.js} +1 -1
- package/fotbollskanalen/es/{styles-B19q7540.js → styles-DJTLr6bB.js} +1 -1
- package/fotbollskanalen/es/{styles-CvqKtsSK.js → styles-Dm5jGHCV.js} +1 -1
- package/fotbollskanalen/es/{styles-CjtCSs6I.js → styles-NARwlEN_.js} +1 -1
- package/glimr/cjs/index.js +1 -1
- package/glimr/es/index.js +1 -1
- package/godt/cjs/index.d.ts +1 -0
- package/godt/cjs/index.js +1 -1
- package/kilkaya/cjs/index.js +1 -1
- package/kilkaya/es/index.js +1 -1
- package/klart/cjs/index.d.ts +1 -0
- package/klart/cjs/index.js +1 -1
- package/koket/cjs/index.d.ts +1 -0
- package/koket/cjs/index.js +1 -1
- package/koket/es/_auto-entry_koket-DPuSUII1.js +1 -0
- package/koket/es/{events-DfRbJxyU.js → events-CJX4HVct.js} +1 -1
- package/koket/es/{index-Cqr-buJd.js → index-BGH405_L.js} +1 -1
- package/koket/es/{index-BnfNHEXx.js → index-BSav0n90.js} +1 -1
- package/koket/es/{index-D85uO69N.js → index-BsPLRCmr.js} +1 -1
- package/{svdv2/es/index-lp9D_VqW.js → koket/es/index-CWPATGpI.js} +1 -1
- package/koket/es/index-CcUU_LBL.js +1 -0
- package/koket/es/{index-CJ1W571o.js → index-DPZ6goU-.js} +1 -1
- package/{svdv2/es/index-ZE10OS6e.js → koket/es/index-GWFAx3Ny.js} +1 -1
- package/koket/es/{index-DDbpDX-g.js → index-VrYRDuZd.js} +1 -1
- package/koket/es/index.d.ts +1 -0
- package/koket/es/index.js +1 -1
- package/koket/es/{styles-BDu9ZZwO.js → styles-B_-eLBVz.js} +1 -1
- package/{svdv2/es/styles-CpD30RLC.js → koket/es/styles-CmA-zIbv.js} +1 -1
- package/koket/es/{styles-CqURRP3E.js → styles-DINl5Pkj.js} +1 -1
- package/{svdv2/es/styles-Cuxjxnz7.js → koket/es/styles-Dp-bdczj.js} +1 -1
- package/minmote/cjs/index.d.ts +1 -0
- package/minmote/cjs/index.js +1 -1
- package/mtv/es/_auto-entry_mtv-Byp3l5jJ.js +1 -0
- package/mtv/es/{events-BTYIrHRZ.js → events-VgOnbKKP.js} +1 -1
- package/mtv/es/{index-C1LxbEmw.js → index-Bg0gFN_1.js} +1 -1
- package/mtv/es/{index-DeKzJSAu.js → index-BnRVzwL4.js} +1 -1
- package/mtv/es/{index-DJlsLpQx.js → index-CQlAFZIi.js} +1 -1
- package/{svd/es/index-BYkihgZA.js → mtv/es/index-Cz7I-77M.js} +1 -1
- package/mtv/es/{index-DeSJppRQ.js → index-D258yDlF.js} +1 -1
- package/mtv/es/{index-BO-i3sCG.js → index-DulcB27S.js} +1 -1
- package/{tv4/es/index-DgOoHYbO.js → mtv/es/index-yx_SqlZJ.js} +1 -1
- package/mtv/es/{index-CLQvYoC-.js → index-zjDC-dSK.js} +1 -1
- package/mtv/es/index.d.ts +1 -0
- package/mtv/es/index.js +1 -1
- package/omni/es/_auto-entry_omni-BZYPtbSe.js +1 -0
- package/{tvnu/es/events-BEMqLH7z.js → omni/es/events-dFUoARbr.js} +1 -1
- package/omni/es/{index-D6MzZqfs.js → index-8ndL1OTL.js} +1 -1
- package/omni/es/{index-BWjQ3CYh.js → index-BLt0YX1Q.js} +1 -1
- package/omni/es/{index-CMF_JH0-.js → index-CIrBK2oM.js} +1 -1
- package/omni/es/index-CKHjFLuv.js +1 -0
- package/omni/es/{index-CTHSWhc8.js → index-DMUFkCRF.js} +1 -1
- package/{btv2/es/index-CMrcaT3O.js → omni/es/index-Dup65CXz.js} +1 -1
- package/{tvnu/es/index-TDZ9OAcd.js → omni/es/index-atlvIx9w.js} +1 -1
- package/omni/es/{index-B94lMokz.js → index-gr7yi249.js} +1 -1
- package/omni/es/index.d.ts +1 -0
- package/omni/es/index.js +1 -1
- package/omni/es/{styles-DPl5PPP2.js → styles-ACjvS7n-.js} +1 -1
- package/omni/es/{styles-cOSLf7Mq.js → styles-DQuYB_Ix.js} +1 -1
- package/package.json +1 -1
- package/pent/cjs/index.d.ts +1 -0
- package/pent/cjs/index.js +1 -1
- package/sa/cjs/index.d.ts +1 -0
- package/sa/cjs/index.js +1 -1
- package/sa/es/_auto-entry_sa-Bubpnlmq.js +1 -0
- package/sa/es/{events-DI3diJFL.js → events-BimBj_Fr.js} +1 -1
- package/sa/es/{index-_j0q3jV3.js → index-BFg1jCXk.js} +1 -1
- package/sa/es/{index-CIec2YTJ.js → index-Bs5Yjt7y.js} +1 -1
- package/sa/es/{index-DIE4Q0G2.js → index-D7MRpz6E.js} +1 -1
- package/{bt/es/index-DsnsTH-b.js → sa/es/index-Df2PvIll.js} +1 -1
- package/sa/es/{index-x0P5jn9g.js → index-DjFL6Jdg.js} +1 -1
- package/sa/es/{index-BDXsIVrg.js → index-Grka_gT3.js} +1 -1
- package/sa/es/{index-BqJ1WPAJ.js → index-W0z1PUtY.js} +1 -1
- package/sa/es/index-zXBlw8kE.js +1 -0
- package/sa/es/index.d.ts +1 -0
- package/sa/es/index.js +1 -1
- package/sa/es/{styles-KT6z0K0Z.js → styles-B1yYxVi7.js} +1 -1
- package/sa/es/{styles-C_xDTp9G.js → styles-B8rUG6of.js} +1 -1
- package/{vg/es/styles-CwuBd-eA.js → sa/es/styles-BIe7_WXC.js} +1 -1
- package/sa/es/{styles-xs6TvmhP.js → styles-CqdVBpVM.js} +1 -1
- package/sa/es/{styles-Bql3BSp8.js → styles-DFiDFaox.js} +1 -1
- package/{vg/es/styles-Cmp2KkM3.js → sa/es/styles-DnmQepxB.js} +1 -1
- package/sa/es/{styles-BKH-itvT.js → styles-DtlGGIgy.js} +1 -1
- package/sa/es/{styles-C7lwVpQD.js → styles-QfIad4NO.js} +1 -1
- package/sa/es/{styles-Dtb1biv9.js → styles-hoazBB3S.js} +1 -1
- package/sav2/es/_auto-entry_sav2-BtHWkK4d.js +1 -0
- package/sav2/es/{events-CthRG9py.js → events-Dl2j6RLM.js} +1 -1
- package/sav2/es/{index-CKJyI3N1.js → index-BsZMxqk4.js} +1 -1
- package/sav2/es/{index-Cna6rmoX.js → index-CLVRxcbe.js} +1 -1
- package/sav2/es/{index-B_Q5_GSE.js → index-CQyNQlon.js} +1 -1
- package/{vgv2/es/index-Hd2EKHnJ.js → sav2/es/index-CfC8Cjnp.js} +1 -1
- package/sav2/es/{index-DazqwtUU.js → index-DsCDoaZA.js} +1 -1
- package/sav2/es/index-_WYFiX6l.js +1 -0
- package/{omni/es/index-BOWJ6T50.js → sav2/es/index-gqG8HG_3.js} +1 -1
- package/sav2/es/{index-BmWOJlaN.js → index-xYflH3-C.js} +1 -1
- package/sav2/es/index.d.ts +1 -0
- package/sav2/es/index.js +1 -1
- package/{vgv2/es/styles-DybsoR0o.js → sav2/es/styles-4F6bRxdr.js} +1 -1
- package/{btv2/es/styles-CnimDhRk.js → sav2/es/styles-BJh98kSb.js} +1 -1
- package/sav2/es/{styles-Bofifucv.js → styles-C7AOW7v5.js} +1 -1
- package/{vgv2/es/styles-D-TJ0YZd.js → sav2/es/styles-C9zTcJrF.js} +1 -1
- package/{vgv2/es/styles-Bk79ACwC.js → sav2/es/styles-CI0-g-Sr.js} +1 -1
- package/sav2/es/{styles-k9X55Rnn.js → styles-Cdh41J2z.js} +1 -1
- package/sav2/es/{styles-BI4HpZVa.js → styles-D1v5XOce.js} +1 -1
- package/sav2/es/{styles-ClAYlm1m.js → styles-Dvn0b9Zy.js} +1 -1
- package/svd/cjs/index.d.ts +1 -0
- package/svd/cjs/index.js +1 -1
- package/svd/es/_auto-entry_svd-LVsRlowP.js +1 -0
- package/{tv4/es/events-4KySLBAR.js → svd/es/events-C-Yz2gOx.js} +1 -1
- package/svd/es/{index-Bs3plEt-.js → index-AL1G22Tm.js} +1 -1
- package/svd/es/{index-4W_iswyV.js → index-BqYtWXST.js} +1 -1
- package/svd/es/{index-Dnhi0clS.js → index-CXUP7LME.js} +1 -1
- package/svd/es/index-DVqL1Y7e.js +1 -0
- package/{mtv/es/index-bmZLGjIV.js → svd/es/index-F5tkrRsJ.js} +1 -1
- package/{mtv/es/index-CMcYIr5B.js → svd/es/index-FO0ob_nK.js} +1 -1
- package/svd/es/{index-Br0CeQZV.js → index-X-lHg9_k.js} +1 -1
- package/svd/es/{index-rgHeIyun.js → index-wwV0ywSi.js} +1 -1
- package/svd/es/index.d.ts +1 -0
- package/svd/es/index.js +1 -1
- package/svd/es/{styles-CN1yvQo7.js → styles-BB8HlJAo.js} +1 -1
- package/svd/es/{styles-W_yUrhBw.js → styles-Bm39xUfW.js} +1 -1
- package/svd/es/{styles-BIrjOvbj.js → styles-CTzkFU91.js} +1 -1
- package/svd/es/{styles-oIL8ePVu.js → styles-D-XgxDnA.js} +1 -1
- package/svd/es/{styles-DtE4dGMU.js → styles-DZjzuV9x.js} +1 -1
- package/svd/es/{styles-CBeC-1fu.js → styles-Df1wV-cL.js} +1 -1
- package/svdv2/es/_auto-entry_svdv2-C54SXr7t.js +1 -0
- package/svdv2/es/{events-By9jQ9Ir.js → events-RGSphjTX.js} +1 -1
- package/{koket/es/index-4zfKSkHr.js → svdv2/es/index-BE3OWjRk.js} +1 -1
- package/{koket/es/index-BlZzrwzV.js → svdv2/es/index-BIYxXi-S.js} +1 -1
- package/svdv2/es/{index-CYeHwSoY.js → index-BTEjV37p.js} +1 -1
- package/svdv2/es/{index-CXgz-X13.js → index-C548rGCj.js} +1 -1
- package/svdv2/es/index-CppcUK1D.js +1 -0
- package/svdv2/es/{index-BgpRT2YF.js → index-CsPz0aRs.js} +1 -1
- package/svdv2/es/{index-D5-Q3bOj.js → index-DaMOgGlv.js} +1 -1
- package/svdv2/es/{index-D7tbEeNI.js → index-kfpwHSuQ.js} +1 -1
- package/svdv2/es/index.d.ts +1 -0
- package/svdv2/es/index.js +1 -1
- package/svdv2/es/{styles-D8SLFgsU.js → styles-BnCqNsuR.js} +1 -1
- package/svdv2/es/{styles-BDbvDGco.js → styles-CaPcQyEN.js} +1 -1
- package/{koket/es/styles-CP3fGIq5.js → svdv2/es/styles-CjMLLiYX.js} +1 -1
- package/svdv2/es/{styles-CK3cpdWI.js → styles-DsUcjVNw.js} +1 -1
- package/{koket/es/styles-Bon_993j.js → svdv2/es/styles-UKpEQKp4.js} +1 -1
- package/svdv2/es/{styles-zHKSAqF4.js → styles-r3lCyu2s.js} +1 -1
- package/svdv2/es/{styles-4IN-ROzv.js → styles-vUVyBLYm.js} +1 -1
- package/tek/cjs/index.d.ts +1 -0
- package/tek/cjs/index.js +1 -1
- package/tv4/cjs/index.d.ts +1 -0
- package/tv4/cjs/index.js +1 -1
- package/tv4/es/_auto-entry_tv4-J0RJP60L.js +1 -0
- package/{svd/es/events-DCpY41Cg.js → tv4/es/events-BTxqmSwe.js} +1 -1
- package/tv4/es/{index-BUm2iJCL.js → index-BAcR92lY.js} +1 -1
- package/tv4/es/{index-xBKjwvS1.js → index-BOGf7li8.js} +1 -1
- package/{svd/es/index-CYJD814U.js → tv4/es/index-CHZXbEyP.js} +1 -1
- package/tv4/es/{index-wC373CoD.js → index-CJR86iBd.js} +1 -1
- package/tv4/es/{index-yMXj6DRW.js → index-Cn7h-8OW.js} +1 -1
- package/tv4/es/{index-CFbaMlxi.js → index-DhG8rssK.js} +1 -1
- package/tv4/es/{index-D4P-NvdT.js → index-M05QzrSM.js} +1 -1
- package/tv4/es/{index-BDOkY4IN.js → index-YONPxFyn.js} +1 -1
- package/tv4/es/index.d.ts +1 -0
- package/tv4/es/index.js +1 -1
- package/tv4/es/{styles-m2zKugmR.js → styles-BBSp9-kd.js} +1 -1
- package/tv4/es/{styles-Bmq51bK_.js → styles-C4Z98TUR.js} +1 -1
- package/tv4/es/{styles-gV6NqYu-.js → styles-GTw50UWu.js} +1 -1
- package/{e24/es/styles-CKcjc5a0.js → tv4/es/styles-W-jqTLxH.js} +1 -1
- package/tvnu/cjs/index.d.ts +1 -0
- package/tvnu/cjs/index.js +1 -1
- package/tvnu/es/_auto-entry_tvnu-nHhCtCdC.js +1 -0
- package/{btv2/es/events-BjiorpRK.js → tvnu/es/events-CmosRn92.js} +1 -1
- package/tvnu/es/{index-Bm-S3SYD.js → index-AWgBZm-j.js} +1 -1
- package/tvnu/es/{index-EsfYbPbT.js → index-BLOG3d2Z.js} +1 -1
- package/tvnu/es/{index-D1zU2Yxs.js → index-BXlI-yMl.js} +1 -1
- package/{sav2/es/index-CruDB6CF.js → tvnu/es/index-C1sdyno9.js} +1 -1
- package/tvnu/es/{index-BMReWNC9.js → index-C2endiiC.js} +1 -1
- package/tvnu/es/{index-DuNHAdA7.js → index-C339lMu_.js} +1 -1
- package/{vgv2/es/index-0bMMbnRN.js → tvnu/es/index-C_LtINuD.js} +1 -1
- package/{omni/es/index-DgqG_a5X.js → tvnu/es/index-rwdvqW1r.js} +1 -1
- package/tvnu/es/index.d.ts +1 -0
- package/tvnu/es/index.js +1 -1
- package/{btv2/es/styles-DEZqUzVC.js → tvnu/es/styles-CrsmdvvP.js} +1 -1
- package/tvnu/es/{styles-B5GgV2tN.js → styles-DW37EZd8.js} +1 -1
- package/tvnu/es/{styles-8eD0eK-_.js → styles-ch2UtLX8.js} +1 -1
- package/types/index.d.ts +1 -0
- package/vg/cjs/index.d.ts +1 -0
- package/vg/cjs/index.js +1 -1
- package/vg/es/_auto-entry_vg-DSmrQxQM.js +1 -0
- package/vg/es/{events-CRsvxUE3.js → events-RGG-7OCH.js} +1 -1
- package/vg/es/{index-DkIhalKX.js → index-4k-8s-wK.js} +1 -1
- package/vg/es/{index-CVP91nhn.js → index-BCy6svW1.js} +1 -1
- package/vg/es/{index-CAX8dYg4.js → index-BdhUwNvm.js} +1 -1
- package/vg/es/{index-ywUd_exl.js → index-BhiNHxk1.js} +1 -1
- package/vg/es/{index-BSsLrKNL.js → index-CamhTi4Z.js} +1 -1
- package/vg/es/{index-CGvHyIoW.js → index-RsclPV6J.js} +1 -1
- package/vg/es/{index-Dpp2Yjnl.js → index-jXtsMAqa.js} +1 -1
- package/vg/es/{index-Bq7MDB3X.js → index-vyWVAwoM.js} +1 -1
- package/vg/es/index.d.ts +1 -0
- package/vg/es/index.js +1 -1
- package/vg/es/{styles-BdsbGPQT.js → styles-BBo1Z5go.js} +1 -1
- package/vg/es/{styles-DTxKzHkJ.js → styles-BEWdh2yR.js} +1 -1
- package/{bt/es/styles-BMLCr-Gn.js → vg/es/styles-BeB7UibG.js} +1 -1
- package/vg/es/{styles-DKRPp5sN.js → styles-BffNrppL.js} +1 -1
- package/vg/es/{styles-CRDS-l-x.js → styles-Blq1intL.js} +1 -1
- package/vg/es/{styles-CbcwYAlK.js → styles-Bsm2y8y8.js} +1 -1
- package/vg/es/{styles-C8eMLGoZ.js → styles-CDXx_CtD.js} +1 -1
- package/vg/es/{styles-CxK9hwR7.js → styles-D4YwsErA.js} +1 -1
- package/vg/es/{styles-DEEmZAAU.js → styles-DRWZiXl_.js} +1 -1
- package/vg/es/{styles-hZZ-Ymzt.js → styles-Dllpvla9.js} +1 -1
- package/vg/es/{styles-CTTv6Ja7.js → styles-DmQNc9f3.js} +1 -1
- package/{sa/es/styles-ElFuh5MJ.js → vg/es/styles-DrrWDc6V.js} +1 -1
- package/vg/es/{styles-BXprVqIK.js → styles-QCFxGDwc.js} +1 -1
- package/vg/es/{styles-kYMBLoHJ.js → styles-i2IIvfyp.js} +1 -1
- package/vg/es/{styles-6GpAwbSQ.js → styles-mAwTANya.js} +1 -1
- package/vgv2/es/_auto-entry_vgv2-BS7IP5qT.js +1 -0
- package/vgv2/es/{events-C6zZZ0wR.js → events-BZ4TXbvg.js} +1 -1
- package/vgv2/es/{index-GgW8CmxR.js → index-B0l6QPoC.js} +1 -1
- package/vgv2/es/{index-8wTVjUza.js → index-BKdW1kkO.js} +1 -1
- package/vgv2/es/{index-Dw8awMET.js → index-BXXxAaoH.js} +1 -1
- package/vgv2/es/{index-DV4idJT3.js → index-C934Bmjm.js} +1 -1
- package/{tvnu/es/index-C9T8MdQO.js → vgv2/es/index-DBXwy3qd.js} +1 -1
- package/vgv2/es/{index-CZZXITop.js → index-DHG1NHwG.js} +1 -1
- package/vgv2/es/{index-CwSAcYYf.js → index-DuJwLEdE.js} +1 -1
- package/{sav2/es/index-6GP1iTRr.js → vgv2/es/index-yqZz43VB.js} +1 -1
- package/vgv2/es/index.d.ts +1 -0
- package/vgv2/es/index.js +1 -1
- package/vgv2/es/{styles-CLydlrr4.js → styles-B-Dll6bX.js} +1 -1
- package/vgv2/es/{styles-jsqPoIHl.js → styles-BkHvBgLM.js} +1 -1
- package/vgv2/es/{styles-VwuX1N09.js → styles-BvlgFK0_.js} +1 -1
- package/vgv2/es/{styles-B8F-fTVB.js → styles-Bw1y6UIj.js} +1 -1
- package/vgv2/es/{styles-BqMBA6sc.js → styles-BzD5P_5S.js} +1 -1
- package/vgv2/es/{styles-GFXYVwWk.js → styles-C2di7lAg.js} +1 -1
- package/vgv2/es/{styles-B-WZKfZF.js → styles-CC-u65CZ.js} +1 -1
- package/vgv2/es/{styles-DAHzAObz.js → styles-CxZHvETQ.js} +1 -1
- package/{btv2/es/styles-BcfarAWx.js → vgv2/es/styles-CzLgI9Qd.js} +1 -1
- package/{sav2/es/styles-DsIS4sUA.js → vgv2/es/styles-D8yaHW1R.js} +1 -1
- package/vgv2/es/{styles-CvQ29OHO.js → styles-DB50pp-A.js} +1 -1
- package/{tvnu/es/styles-BkBzkoE7.js → vgv2/es/styles-DxG_CrS5.js} +1 -1
- package/vgv2/es/{styles-BLNXZPYf.js → styles-HATiwWe4.js} +1 -1
- package/vgv2/es/{styles-DJalsPbI.js → styles-kYeqZDJm.js} +1 -1
- package/vgv2/es/{styles-BYxNSj9N.js → styles-kctLjttM.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/aftenpostenv2/es/_auto-entry_aftenpostenv2-BQuke4cU.js +0 -1
- package/aftenpostenv2/es/index-VxOMsbBZ.js +0 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-CAArVKie.js +0 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-Bhr4jHWC.js +0 -1
- package/bt/es/_auto-entry_bt-Dk176YDo.js +0 -1
- package/btv2/es/_auto-entry_btv2-C3BMfR9N.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-zNXfc029.js +0 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-C0bG9s2e.js +0 -1
- package/fotbollskanalen/es/index-Bip66ufO.js +0 -1
- package/koket/es/_auto-entry_koket-CfdwxTqe.js +0 -1
- package/koket/es/index-eql9xeF3.js +0 -1
- package/mtv/es/_auto-entry_mtv-BDbckjio.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/sav2/es/_auto-entry_sav2-D82eD4oc.js +0 -1
- package/svd/es/_auto-entry_svd-CoRlxzCg.js +0 -1
- package/svd/es/index-CBa5CgPk.js +0 -1
- package/svdv2/es/_auto-entry_svdv2-C6rMJno8.js +0 -1
- package/svdv2/es/index-BvcATPFW.js +0 -1
- package/tv4/es/_auto-entry_tv4-CunA1-4L.js +0 -1
- package/tvnu/es/_auto-entry_tvnu-DE4GbG57.js +0 -1
- package/tvnu/es/index-CauAadba.js +0 -1
- package/vg/es/_auto-entry_vg-DoO28oQo.js +0 -1
- package/vgv2/es/_auto-entry_vgv2-Cmle-i6b.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as n,_ as e,c as i,l as t,g as o,a as r,b as d,d as l,h as a,e as s,u as c,f as u,A as f,s as v}from"./_auto-entry_btv2-
|
|
1
|
+
import{i as n,_ as e,c as i,l as t,g as o,a as r,b as d,d as l,h as a,e as s,u as c,f as u,A as f,s as v}from"./_auto-entry_btv2-BTPxeX0a.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-DjzOFnHw.js";import"react/jsx-runtime";n('.advertory-finn-blink-wrapper{height:100%;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink-wrapper:not(.brandboard-container){width:100%;margin-inline:auto}.advertory-finn-blink{width:100%;height:500px;max-width:580px;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink::before{content:"" !important}.advertory-finn-blink iframe{max-width:100%}');const y={Blink:"Blink"},h=new Map,g=n=>{var e;if(!h.has(n)){const e=import(/* webpackIgnore: true */n).then(n=>(n=>{for(const[e,i]of Object.entries(y)){const t=n[e];null!=t&&(window[i]=t)}})(n)).catch(e=>{throw h.delete(n),e});h.set(n,e)}return null!==(e=h.get(n))&&void 0!==e?e:Promise.resolve()},b="https://assets.finn.no/pkg/distribution-fixed/v1/FINNExternalDistribution.modern.js",k=n=>{var e,i;const t=document.querySelector(`[id^="${n}"]`);return null!==(i=null===(e=null==t?void 0:t.dataset)||void 0===e?void 0:e.finnBlinkId)&&void 0!==i?i:n},$=(n,e)=>{const{finnBlink:{enabled:t}={}}=i.get(),o=(null==e?void 0:e.enabled)||(n=>{var e;const i=document.querySelector(`[id^="${n}"]`);return!!(null===(e=null==i?void 0:i.dataset)||void 0===e?void 0:e.noBidAd)})(n);if(!o||!t)return null;const{height:r,requireImage:d,position:l,offset:a}=(null==e?void 0:e.sdkPayload)||{};return{selector:`#${k(n)}`,enabled:o,position:null!=l?l:n,height:null!=r?r:100,offset:null!=a?a:200,requireImage:d,advertoryTheme:null==e?void 0:e.advertoryTheme}},w=(n,a,s)=>e(void 0,void 0,void 0,function*(){const{placements:c,pageContext:{deviceType:u},appearanceConfig:f}=i.get();t(`rendering finn blink ad for ${n}`);const v=o(n),h=c[u].find(n=>n.targetId===v),g=$(n,null==h?void 0:h.finnBlink);if(!(null==g?void 0:g.enabled))return t(`Finn blink is not enabled on placement: ${n}`),s&&s(n),void p(n);if((n=>{var e;const i=k(n),t=document.querySelector(`[id^="${i}"]`);return!!(null===(e=null==t?void 0:t.classList)||void 0===e?void 0:e.contains("finn"))})(n))return void t(`Finn blink already loaded ${n}`);const{publisher:b,countryCode:w,finnBlink:C}=a,{sdkPayload:{channel:x}={}}=null!=C?C:{},I=null!=x?x:`${b}.${w}`,j="dark"===(null==f?void 0:f.theme)?"dark":"light";try{const n=yield r();yield(B=Object.assign(Object.assign({},g),{channel:I,userId:n,theme:j}),e(void 0,void 0,void 0,function*(){const{userId:n,theme:e}=B,i=l(B,["userId","theme"]),t=window[y.Blink];if(!t)return;const o=new t({remote:"https://www.finn.no/distribution-front/external/carousel",userId:n,theme:e});yield o.inject(Object.assign({},i))})),m(g.selector.replace("#",""),g.advertoryTheme)}catch(e){t(`Finn blink error ${e}`),s&&s(n),!s&&d(n),p(n)}var B}),C=()=>e(void 0,void 0,void 0,function*(){const{tcf:n,pageContext:{isMobileApp:e,countryCode:o}}=i.get();return!!(yield a(n,e,o,"finn-blink"))||(t("Skip loading finn blink ad due to missing TCF consent."),!1)}),x=(n,o,r,l)=>e(void 0,void 0,void 0,function*(){const{pageContext:{isMobileApp:e}}=i.get();if(t(`loadFinnBlinkAd: loading finn blink ad for ${n}`),!(yield C())||e)return r&&r(n),p(n),void(!r&&d(n));try{yield g(b)}catch(n){console.error(n)}yield w(n,o,r),l&&l()}),I=(n,e)=>{var i;(t(`Appending ${e.id} after ${n.id}`),n.parentElement&&(i=n.parentElement,!Array.from(i.children).some(n=>n.classList.contains("advertory-finn-blink-wrapper"))))?(n.parentElement.style.display="none",n.parentElement.insertAdjacentElement("afterend",e)):t(`Cannot perform afterend on: ${n.id}`)},j=(n,o)=>e(void 0,void 0,void 0,function*(){var e,r;if(!o)return;const{replacementConfig:d}=o,l=null===(e=null==d?void 0:d.adsToReplace)||void 0===e?void 0:e[n],a=null===(r=null==d?void 0:d.sizes)||void 0===r?void 0:r[n];s()&&l&&a?(yield C())&&(yield g(b),l.forEach(([n,e])=>{const o=document.querySelector(`[id^="${n}"]`);if(!o)return;const r=(n=>{const{siteSpecificConfig:{publisherClassName:e}={}}=i.get(),o=document.createElement("div"),r=document.createElement("div");return r.id=n,o.appendChild(r),u(e,r,f.FINN_BLINK),t(`Creating blink container for: ${n}`),o})(e);(n=>{t(`Hiding old ad container: ${n.id}`),n.style.setProperty("display","none","important")})(o),I(o,r),o.dataset.finnBlinkId=e,c().withFullAdsChain(n)})):t(`Finn blink configuration is incorrect: ${JSON.stringify(d)}`)}),B=n=>document.querySelector(`#${n}`),A=n=>e(void 0,void 0,void 0,function*(){if(!n.length)return;const{appearanceConfig:e,pageContext:{deviceType:t}}=i.get(),o=null==e?void 0:e.defaultThreshold[t];for(const e of n){const{requestThreshold:n,targetId:i}=e,t=B(i);t&&(yield v(t,null!=n?n:o))}});export{A as handleFinnBlinkOnlyPlacements,x as loadFinnBlinkAd,j as replaceAdsWithFinnBlink};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,c as e,h as o,j as n,C as s}from"./_auto-entry_btv2-
|
|
1
|
+
import{_ as t,c as e,h as o,j as n,C as s}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";const i=t=>t===s.NO?"schibsted":"schibstedse",d=()=>t(void 0,void 0,void 0,function*(){const{norstat:{enabled:s}={},pageContext:{countryCode:d,isMobileApp:a},tcf:c}=e.get(),r=yield o(c,a,d,"norstat");if(!s||a||!r)return;const m=n(d);((e,o,...n)=>{t(void 0,[e,o,...n],void 0,function*(t,e,o=!0){if(document.getElementById(e))return;const n=document.createElement("img");n.src=t,n.id=null!=e?e:"",o&&(n.style.display="none"),document.body.appendChild(n)})})(`https://sch-map.norstatsurveys.com/api/nids/${i(d)}/map/${m}`,"norstat")});export{i as getCampaign,d as loadNorstat};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e,r as t,t as o}from"./_auto-entry_btv2-
|
|
1
|
+
import{c as e,r as t,t as o}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";const r=1e4,n=e=>e.some(e=>e.some(e=>!!e&&t(e,0)));let s;const i=()=>{const{widescreenSwitching:t}=e.get(),{enabled:i,options:{rotationInterval:a=r,widescreenIdPrefix:c}={}}=null!=t?t:{};if(!i)return;const l=((t="widescreen")=>{const{pageSectionsSelectors:{right:o}={}}=e.get();return o?Array.from(document.querySelectorAll(o)).map(e=>Array.from(e.querySelectorAll(`div[id^="${t}"]`))):[]})(c);let y=0,p=Date.now(),d=n(l);if(!l.length)return;s&&window.removeEventListener("scroll",s);const m=(e,t,o)=>{e.forEach(e=>{e&&e.style.setProperty(t,o)})},w=e=>1===e?0:1;(e=>{e.forEach(e=>{e[0]&&(e[0].style.display="block",e[0].style.opacity="1"),e[1]&&(e[1].style.display="none",e[1].style.opacity="")})})(l);const u=o(()=>{d||(d=n(l)||d,p=Date.now());Date.now()-p>=a&&((()=>{const e=w(y),t=l.map(e=>e[y]),o=l.map(t=>t[e]);m(t,"opacity","0"),setTimeout(()=>{m(t,"display","none"),m(o,"opacity","0"),m(o,"display","block"),setTimeout(()=>{m(o,"opacity","1")},450)},450)})(),y=w(y),p=Date.now())},1e3);s=u,window.addEventListener("scroll",u)};export{i as initWidescreenSwitching};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{T as e,v as o,D as t,c as r,w as l,_ as s,x as a,y as n,z as c,B as d,E as i}from"./_auto-entry_btv2-
|
|
1
|
+
import{T as e,v as o,D as t,c as r,w as l,_ as s,x as a,y as n,z as c,B as d,E as i}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";const u="#fff",y="#0098da",v=e=>"dark"===e,p=(t,r,l,s)=>{if(!l)return;const a={[e.WELCOME_PAGE]:()=>{const{buttonLabel:e}=o(l,r);["#advertory-welcome-page-scroll-label","#advertory-welcome-page-scroll-image"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(r.innerText=null!=e?e:"")})},[e.SPLASH]:()=>{const{themeColors:e,logotype:a,buttonLabel:n,showArrowIcon:c}=o(l,r),d=((e,o)=>{var t,r,l,s;if(!e)return;const a=v(o)?e.darkMode:void 0;return{backgroundColor:null!==(r=null!==(t=null==a?void 0:a.backgroundColor)&&void 0!==t?t:e.backgroundColor)&&void 0!==r?r:u,color:null!==(s=null!==(l=null==a?void 0:a.color)&&void 0!==l?l:e.color)&&void 0!==s?s:y}})(e,s),i=((e,o)=>{var t,r;if(!e)return;const l=v(o)?e.darkMode:void 0;return{url:null!==(t=null==l?void 0:l.url)&&void 0!==t?t:e.url,alt:null!==(r=null==l?void 0:l.alt)&&void 0!==r?r:e.alt}})(a,s);["#advertory-splash-close-label",".advertory-splash-close","#advertory-splash-logotype",".advertory-splash-navbar-wrapper"].forEach(e=>{const o=t.querySelector(`${e}`);if(o){if("#advertory-splash-close-label"===e&&(o.innerText=null!=n?n:""),".advertory-splash-close"===e&&!c){const e=o.querySelector("#advertory-splash-close-image");null==e||e.style.setProperty("display","none")}".advertory-splash-close"===e&&d&&(o.style.color=d.color),"#advertory-splash-logotype"===e&&i&&(o.setAttribute("src",i.url),o.setAttribute("alt",i.alt)),".advertory-splash-navbar-wrapper"===e&&d&&(o.style.setProperty("background-color",d.backgroundColor,"important"),o.style.color=d.color)}})},[e.TOPSCROLLER]:()=>{const{buttonLabel:e,showArrowIcon:s,showCloseButton:a=!0}=o(l,r);["#advertory-topscroller-scroll-label","#advertory-topscroller-scroll-image",".advertory-topscroller-close"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(".advertory-topscroller-close"!==o||a||(r.style.display="none"),"#advertory-topscroller-scroll-image"!==o||s||(r.style.display="none"),"#advertory-topscroller-scroll-label"===o&&(r.innerText=null!=e?e:""))})},[e.VELVET]:()=>{}};a[r]()},w=(o,t=!0)=>{(o===e.WELCOME_PAGE||o===e.TOPSCROLLER)&&(e=>{e?setTimeout(()=>window.scrollTo(0,0),100):window.scrollTo(0,10)})(t)},m=()=>{const e=parseInt(document.body.dataset.scrollY||"0",10);document.body.style.top="",window.scrollTo(0,e),document.body.classList.remove("page-locked")},b=new WeakMap,g=(e,o,t)=>{var r;window.addEventListener(o,t),b.set(e,[...null!==(r=b.get(e))&&void 0!==r?r:[],()=>window.removeEventListener(o,t)])},h=e=>{document.body.style.overflow=e?"initial":"hidden"},f=e=>{(e=>{var o;null===(o=b.get(e))||void 0===o||o.forEach(e=>e()),b.delete(e)})(e),m(),(e=>{e.classList.toggle("takeover-ad-hidden",!0)})(e),h(!0),e.style.display="none"},E=e=>{const o=()=>f(e);return g(e,"advertory:closeTakeover",o),m(),o},L=e=>{const o=e.querySelector(".advertory-splash-navbar-wrapper");o&&((e=>{const o=o=>{["Enter","Escape"].includes(o.key)&&f(e)};m(),g(e,"keydown",o)})(e),E(e),m(),o.addEventListener("click",()=>{f(e)}),h(!1))},S=e=>{(e=>{window.addEventListener("scroll",()=>{e.getBoundingClientRect().bottom,(e=>{const o=e.getBoundingClientRect().bottom;e.style.opacity=""+o/e.offsetHeight})(e)},{passive:!0})})(e),E(e);const o=document.querySelector("header");document.querySelectorAll(".smooth-close-takeover").forEach(e=>e.addEventListener("click",()=>null==o?void 0:o.scrollIntoView({behavior:"smooth"})))},k=e=>{(e=>{g(e,"advertory:closeTakeover",()=>f(e))})(e)},T=e=>{const{takeover:{splash:{showAnnonsLabel:o=!1}={}}={}}=r.get(),l=e.querySelectorAll(".advertory-splash-navbar-wrapper"),s=document.querySelector(".advertory-takeover-label");Array.from(l).forEach(e=>e.style.display="flex"),o&&s&&(s.style.display="flex",s.innerText=t.se.adText),e.classList.toggle("advertory-splash-wrapper",!0)},x=e=>{const o=document.querySelectorAll(".advertory-topscroller-elements");Array.from(o).forEach(e=>e.style.display="flex");const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=t.no.adText,r.classList.add("takeover-topscroller-label"),e.classList.toggle("topscroller-wrapper",!0))},A=e=>{const o=document.querySelectorAll(".advertory-welcome-page-elements");Array.from(o).forEach(e=>{e.style.display="flex",e.style.animation="elementsAnimation 1.5s ease-out forwards"});const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=t.se.adText,e.classList.toggle("welcome-page-wrapper",!0))},q=e=>{const o=document.querySelector(".advertory-takeover-label");o&&(o.style.display="flex",o.innerText=t.se.adText,e.classList.toggle("advertory-impact-wrapper",!0))},C=()=>{const e=document.querySelector(".welcome-page-wrapper, .topscroller-wrapper, .advertory-splash-wrapper");if(!e)return;let o=0;new IntersectionObserver(e=>{e.forEach(e=>{var t;if(e.isIntersecting){window.dispatchEvent(new CustomEvent("advertory:takeoverInView"));(null!==(t=Array.from(e.target.classList))&&void 0!==t?t:[]).includes("advertory-splash-wrapper")&&(()=>{const e=window.scrollY||0;document.body.dataset.scrollY=e.toString(),document.body.style.top="0",document.body.classList.add("page-locked"),document.documentElement.scrollTop=0})(),o++}else o>0&&window.dispatchEvent(new CustomEvent("advertory:takeoverNotInView"))})},{root:null,rootMargin:"0px",threshold:0}).observe(e)},O=(e,o)=>{let t=e;return e.includes("529299503")&&(t=(e=>{const o=document.createElement("script");return o.textContent=`(${l})()`,e+o.outerHTML})(e)),t=i(t),t},P=e=>{const o=(e=>{var o;const{requests:t}=window.apntag,r=d(e)?1:0;return null===(o=null==t?void 0:t.tags[e].adResponse.ads[r].rtb)||void 0===o?void 0:o.banner.content})(e);if(!o)return;((e,o)=>{const{requests:t}=window.apntag,r=d(e)?1:0,l=null==t?void 0:t.tags[e].adResponse.ads[r].rtb;l&&(l.banner.content=o)})(e,O(o))},R=(e,o)=>{var t;const r="100%",l="100%";e.resizeAd(o,[r,l]);const s=null===(t=document.querySelector(`#div_utif_${o}`))||void 0===t?void 0:t.querySelector("iframe");if(!s)return;new MutationObserver(e=>{for(const o of e)if("attributes"===o.type&&"style"===o.attributeName){const e=window.getComputedStyle(s),o=e.width,t=e.height;o===r&&t===l||(s.style.width=r,s.style.height=l)}}).observe(s,{attributes:!0,attributeFilter:["style"]})},M=o=>s(void 0,void 0,void 0,function*(){const{takeover:t,appearanceConfig:l}=r.get(),{targetId:s}=o,d=document.querySelector(`#${s}`),i=document.querySelector(".advertory-takeover-wrapper");if(!d||!i||!t)return;const u=a(o),y=i.offsetHeight,v=window.scrollY>y;i.style.display="block",!v&&w(u,!1),((o,t)=>{({[e.WELCOME_PAGE]:A,[e.SPLASH]:T,[e.TOPSCROLLER]:x,[e.VELVET]:q})[t](o)})(i,u),C(),((o,t)=>{({[e.WELCOME_PAGE]:S,[e.TOPSCROLLER]:S,[e.SPLASH]:L,[e.VELVET]:k})[t](o)})(i,u),p(i,u,t,null==l?void 0:l.theme),yield n(),!v&&w(u,!0),c(o,u)});export{M as createTakeoverAd,P as modifyTakeoverAdContent,R as modifyTakeoverIframe};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{L as e,M as t,O as n,c as r,Q as o,S as i,R as d}from"./_auto-
|
|
1
|
+
import{L as e,M as t,O as n,c as r,Q as o,S as i,R as d}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";const s=(e,t)=>{const n=e.width,r=(null!=t?t:window.screen.width)/n;return r<1?r:1},l=(e,t=window.screen.width,n,r)=>{const o=s(e,t);if(n&&n(e,o),r)return void r(e);const i=document.querySelector(`iframe[id^="utif_${e.targetId}"]`);i&&(i.style.transform=`scale(${o})`,i.style.transformOrigin="left top")},c=(e,t)=>{if(e&&t)return t/e},a=new Map;a.set("insider",{scale:.82,transformOrigin:"left center",cogwheelAdjust:!0}),a.set("panorama",{scale:.79,transformOrigin:"center center"}),a.set("outstream",{scale:.79,transformOrigin:"center center"}),a.set("integration",{scale:.79,transformOrigin:"center center"}),a.set("toppanorama",{scale:.8,transformOrigin:"left center"});const u=r=>{if(!((null===(o=null===document||void 0===document?void 0:document.body)||void 0===o?void 0:o.clientWidth)>e&&(null===(i=null===document||void 0===document?void 0:document.body)||void 0===i?void 0:i.clientWidth)<=t))return;var o,i;const d=n(r),s=a.get(d),l=document.querySelector(`#${r.targetId}`);if(!l||!s)return;if(l.style.transformOrigin=s.transformOrigin,l.style.transform=`scale(${s.scale})`,!(null==s?void 0:s.cogwheelAdjust))return;const c=document.querySelector(`div[class*="gdpr-cogwheel-button"][id$="${r.targetId}"]`),u=null==l?void 0:l.offsetWidth;c&&"number"==typeof u&&!isNaN(u)&&c.style.setProperty("right",String(-1*u*.2)+"px")},f=e=>{var t,n,s,c,a,u;const{adScaleConfig:f,pageContext:{deviceType:m}}=r.get();if(!(null==f?void 0:f.enabled))return;if(o(e,i.ANY_FULLSCREEN))return;const v=null!==(t=f.adsToBeScaled[m])&&void 0!==t?t:[],g=d(e.targetId.split("-")[0]);if(!v.includes(g))return;const w=null!==(s=null===(n=f.offset)||void 0===n?void 0:n[g])&&void 0!==s?s:0,p=document.getElementById(e.targetId),y=null!==(c=null==p?void 0:p.offsetWidth)&&void 0!==c?c:window.screen.width,h=null!==(u=null===(a=null==p?void 0:p.parentElement)||void 0===a?void 0:a.offsetWidth)&&void 0!==u?u:window.screen.width;l(e,(y<h?y:h)-w)};export{s as calculateScaleFactor,c as getAspectRatio,l as scaleAd,u as scaleAdIpadAirPortrait,f as scaleAds};
|
package/btv2/es/index.d.ts
CHANGED
|
@@ -809,6 +809,7 @@ interface UpdatableSiteConfig {
|
|
|
809
809
|
tcf?: SiteConfig['tcf'];
|
|
810
810
|
pageContext?: Partial<PageContext>;
|
|
811
811
|
pageOptions?: Partial<AstPageOptions>;
|
|
812
|
+
pageSectionsSelectors?: Partial<PageSectionsSelectors>;
|
|
812
813
|
appearanceConfig?: Partial<AppearanceConfig>;
|
|
813
814
|
}
|
|
814
815
|
|
package/btv2/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{V as Netboard,Z as Skyscraper,W as Sponsorstripe,X as Takeover,Y as Topboard,$ as Wallpaper,U as default}from"./_auto-entry_btv2-
|
|
1
|
+
export{V as Netboard,Z as Skyscraper,W as Sponsorstripe,X as Takeover,Y as Topboard,$ as Wallpaper,U as default}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as a}from"./_auto-
|
|
1
|
+
import{i as a}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";a('.advertory-no-ad-native-default{width:calc(100% - 32px);min-height:250px;margin:auto;color:#dfdfdf;font-family:"Inter",sans-serif;font-weight:600;text-align:left;position:relative;box-sizing:border-box;text-decoration:none;display:table;table-layout:fixed;font-size:14px}@media screen and (min-width: 768px){.advertory-no-ad-native-default{width:580px;height:400px}}.advertory-no-ad-native-default *{box-sizing:border-box;line-height:normal;text-transform:none}.advertory-no-ad-native-default .ad-info{position:absolute;top:0;left:0;height:26px;width:26px;z-index:1000;background-color:#dfdfdf;border-bottom-right-radius:13px;transform:none;transform-origin:center}.advertory-no-ad-native-default .ad-link{display:block;text-decoration:none;color:#000;background-color:rgba(0,0,0,0);border:1px solid #dfdfdf}.advertory-no-ad-native-default .ad-content{display:block}.advertory-no-ad-native-default .ad-image-container{background-color:#dfdfdf;display:flex;position:relative;line-height:0}.advertory-no-ad-native-default .ad-image-container .ad-image{position:static;width:100%;aspect-ratio:1.91;height:auto}.advertory-no-ad-native-default .ad-text-container{background:#f5faff;overflow:auto;padding:8px}@media screen and (min-width: 768px){.advertory-no-ad-native-default .ad-text-container{padding:12px 16px}}.advertory-no-ad-native-default .ad-text-container .ad-sponsor{font-size:12px;margin:0;text-transform:uppercase;display:block}@media screen and (min-width: 768px){.advertory-no-ad-native-default .ad-text-container .ad-sponsor{font-size:14px;margin-right:8px}}.advertory-no-ad-native-default .ad-text-container .ad-sponsor .ad-label{font-weight:600;color:#fff;background-color:#467aae;display:inline-block;padding:4px 6px;border-radius:4px;border:none;margin-right:4px}.advertory-no-ad-native-default .ad-text-container .ad-title{margin:4px 0 0 0;line-height:normal;color:#000;font-size:18px;display:flex;flex-direction:column;justify-content:center}@media screen and (min-width: 768px){.advertory-no-ad-native-default .ad-text-container .ad-title{margin:12px 0 0 0;font-size:28px}}.advertory-vg-native-ad__front .advertory-no-ad-native-default{width:100%;height:auto}.advertory-aftenposten-native-ad-wrapper__front{justify-content:center}.advertory-e24-native-ad-wrapper__article{margin-bottom:calc(-40px + 4rem)}@media screen and (min-width: 768px){.advertory-e24-native-ad-wrapper__article{margin-bottom:calc(12px + .75rem)}}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as t}from"./_auto-
|
|
1
|
+
import{i as t}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";const o=t("[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-slider-time,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-slider-time{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container{padding:0 6px;height:36px}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon{margin-right:3px;height:unset;width:unset;bottom:0}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback{display:flex}");export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as a}from"./_auto-entry_btv2-
|
|
1
|
+
import{i as a}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";a('.advertory-abo-ad-native-default{width:calc(100% - 32px);min-height:250px;margin:auto;color:#000;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-weight:600;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}.advertory-abo-ad-native-default *{box-sizing:border-box;line-height:normal;text-transform:none}@media screen and (min-width: 768px){.advertory-abo-ad-native-default{width:580px;height:400px}}.advertory-abo-ad-native-default .ad-info{position:absolute;top:20px;height:26px;width:26px;left:0;z-index:1000;background-color:hsla(0,0%,100%,.4509803922);border-bottom-right-radius:13px;transform:none;transform-origin:center}@media screen and (min-width: 768px){.advertory-abo-ad-native-default .ad-info{top:30px}}.advertory-abo-ad-native-default .ad-link{display:block;text-decoration:none;color:#000;background-color:rgba(0,0,0,0)}.advertory-abo-ad-native-default .ad-content{display:block}.advertory-abo-ad-native-default .ad-image-container{position:relative;line-height:0}.advertory-abo-ad-native-default .ad-image-container .ad-header{position:absolute;height:20px;width:100%;font-size:13px;line-height:20px;color:#4c3d00;background:rgba(255,205,0,.8)}@media screen and (min-width: 768px){.advertory-abo-ad-native-default .ad-image-container .ad-header{height:30px;line-height:30px;padding-left:16px}}.advertory-abo-ad-native-default .ad-image-container .ad-header span{margin-left:8px}@media screen and (min-width: 768px){.advertory-abo-ad-native-default .ad-image-container .ad-header span{margin:0}}.advertory-abo-ad-native-default .ad-image-container .ad-image{position:static;width:100%;height:52.3560209424vw}@media screen and (min-width: 768px){.advertory-abo-ad-native-default .ad-image-container .ad-image{height:301px}}.advertory-abo-ad-native-default .ad-image-container .ad-logo{position:absolute;height:30px;width:auto;top:auto;bottom:8px;left:8px;right:auto}@media screen and (min-width: 768px){.advertory-abo-ad-native-default .ad-image-container .ad-logo{left:16px;bottom:16px}}.advertory-abo-ad-native-default .ad-text-container{background:#fff6d1;overflow:auto}.advertory-abo-ad-native-default .ad-text-container .ad-sponsored-by{color:#64625a;font-size:10px;margin:8px 8px 3px 8px;text-transform:uppercase;display:block}@media screen and (min-width: 768px){.advertory-abo-ad-native-default .ad-text-container .ad-sponsored-by{font-size:13px;margin:8px 16px}}.advertory-abo-ad-native-default .ad-text-container .ad-title{margin:0 8px 7px 8px;min-height:52px;line-height:24px;color:#000;font-size:20px;font-weight:700;display:flex;flex-direction:column;justify-content:center}@media screen and (min-width: 768px){.advertory-abo-ad-native-default .ad-text-container .ad-title{font-size:24px;margin:0 16px 8px 16px;height:59px;min-height:auto;line-height:normal;overflow:hidden}}.advertory-abo-ad-native-default.bt .ad-text-container .ad-title{font-family:"TabacG2",serif;font-weight:500}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./_auto-entry_btv2-
|
|
1
|
+
import{i as e}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";e(".advertory-abo-ad-native-video{width:100%;min-height:250px;margin:auto;color:#000;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-weight:600;text-align:left;position:relative;box-sizing:border-box;text-decoration:none;display:table;table-layout:fixed}.advertory-abo-ad-native-video *{box-sizing:border-box;line-height:normal;text-transform:none}@media screen and (min-width: 768px){.advertory-abo-ad-native-video{width:580px;height:400px}}.advertory-abo-ad-native-video .ad-info{position:absolute;height:26px;width:26px;top:20px;left:0;z-index:1000;background-color:hsla(0,0%,100%,.4509803922);border-bottom-right-radius:13px;transform:none;transform-origin:center}@media screen and (min-width: 768px){.advertory-abo-ad-native-video .ad-info{top:30px}}.advertory-abo-ad-native-video .ad-info .gdprAdTransparencyCogWheelButton{background-color:rgba(0,0,0,0);border-bottom-right-radius:13px;z-index:10}.advertory-abo-ad-native-video .ad-content .ad-image-container{position:relative;line-height:0}.advertory-abo-ad-native-video .ad-content .ad-image-container .ad-header{position:absolute;height:20px;width:100%;font-size:13px;line-height:20px;color:#4c3d00;background:rgba(255,205,0,.8);z-index:100}.advertory-abo-ad-native-video .ad-content .ad-image-container .ad-header span{margin-left:8px}@media screen and (min-width: 768px){.advertory-abo-ad-native-video .ad-content .ad-image-container .ad-header{height:30px;line-height:30px;padding-left:16px}.advertory-abo-ad-native-video .ad-content .ad-image-container .ad-header span{margin:0}}.advertory-abo-ad-native-video .ad-content .ad-image-container .ad-player-wrapper{height:56.4971751412vw;width:100%}@media screen and (min-width: 768px){.advertory-abo-ad-native-video .ad-content .ad-image-container .ad-player-wrapper{height:326px}}.advertory-abo-ad-native-video .ad-content .ad-text-container{background:#fff6d1;overflow:auto}.advertory-abo-ad-native-video .ad-content .ad-text-container .sponsored-by{color:#64625a;font-size:10px;margin:8px 8px 3px 8px;text-transform:uppercase;display:block}@media screen and (min-width: 768px){.advertory-abo-ad-native-video .ad-content .ad-text-container .sponsored-by{font-size:13px;margin:8px 16px}}.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link{text-decoration:none;display:flex;flex-direction:column}.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link,.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link:focus,.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link:hover,.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link:visited{color:#000}.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link .ad-title{margin:0 8px 7px 8px;min-height:52px;line-height:24px;color:#000;font-size:20px;font-weight:700;display:flex;flex-direction:column}@media screen and (min-width: 768px){.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link .ad-title{font-size:22px;margin:0 16px 9px 16px;height:35px;min-height:auto;line-height:35px;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;display:block}}.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link .ad-description{display:none;border-top:1px solid rgba(128,128,128,.5019607843);margin:0 8px 12px 8px;padding-top:8px;color:#6a6a6a;font-style:normal;font-weight:normal;font-size:12px;line-height:14px}@media screen and (min-width: 768px){.advertory-abo-ad-native-video .ad-content .ad-text-container .ad-link .ad-description{font-size:13px;margin:8px 16px;line-height:16px}}");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./_auto-entry_btv2-
|
|
1
|
+
import{i as e}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";e('.advertory-no-ad-native-recirc{width:100%;min-height:250px;margin:0 auto;color:#000;text-align:left;position:relative;box-sizing:border-box;text-decoration:none;display:table;table-layout:fixed;background-color:#fff;font-family:"Inter",sans-serif;font-weight:600;text-align:left;font-size:14px;container-type:inline-size}.advertory-no-ad-native-recirc *{box-sizing:border-box;line-height:normal;text-transform:none}.advertory-no-ad-native-recirc .ad-info{position:absolute;top:0;left:0;height:26px;width:26px;z-index:1000;background-color:#dfdfdf;border-bottom-right-radius:13px;transform:none;transform-origin:center}.advertory-no-ad-native-recirc .ad-link{display:block;text-decoration:none;color:#000;background-color:rgba(0,0,0,0);border:1px solid #dfdfdf}.advertory-no-ad-native-recirc .ad-content{display:flex;flex-direction:column}.advertory-no-ad-native-recirc .ad-image-container{background-color:#dfdfdf;display:flex;position:relative;line-height:0}@container (min-width: dna.$md){.advertory-no-ad-native-recirc .ad-image-container{min-height:0}}.advertory-no-ad-native-recirc .ad-image-container .ad-image{position:static;width:100%;aspect-ratio:1.91;height:auto}.advertory-no-ad-native-recirc .ad-text-container{background:#f5faff;overflow:auto;padding:8px;container-type:inline-size}@container (min-width: dna.$md){.advertory-no-ad-native-recirc .ad-text-container{padding:12px 16px}}.advertory-no-ad-native-recirc .ad-text-container .ad-sponsor{font-size:12px;margin:0;text-transform:uppercase;display:block}@container (min-width: dna.$md){.advertory-no-ad-native-recirc .ad-text-container .ad-sponsor{font-size:14px;margin-right:8px}}.advertory-no-ad-native-recirc .ad-text-container .ad-sponsor .ad-label{font-weight:600;color:#fff;background-color:#467aae;display:inline-block;padding:4px 6px;border-radius:4px;border:none;margin-right:4px}.advertory-no-ad-native-recirc .ad-text-container .ad-title{margin:4px 0 0 0;line-height:normal;color:#000;font-size:18px;display:flex;flex-direction:column;justify-content:center}@container (min-width: 420px){.advertory-no-ad-native-recirc .ad-text-container .ad-title{margin:12px 0 0 0;font-size:28px}}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as a}from"./_auto-entry_btv2-
|
|
1
|
+
import{i as a}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";a(".advertory-abo-ad-native-recirc{width:100%;min-height:250px;margin:auto;color:#000;text-align:left;position:relative;box-sizing:border-box;text-decoration:none;display:table;table-layout:fixed}@media screen and (min-width: 768px){.advertory-abo-ad-native-recirc{max-width:283px;height:400px}}.advertory-abo-ad-native-recirc .ad-info{position:absolute;top:0;height:26px;width:26px;left:0;z-index:1000;background-color:hsla(0,0%,100%,.4509803922);border-bottom-right-radius:13px;transform:none;transform-origin:center}.advertory-abo-ad-native-recirc .ad-link{display:block;text-decoration:none;color:#000;background-color:rgba(0,0,0,0)}.advertory-abo-ad-native-recirc .ad-content{display:block}.advertory-abo-ad-native-recirc .ad-image-container{position:relative;line-height:0}.advertory-abo-ad-native-recirc .ad-image-container .ad-header{height:30px;font-size:13px;line-height:30px;font-weight:600;color:#4c3d00;background:rgba(255,205,0,.8);padding-left:32px;font-family:-apple-system,BlinkMacSystemFont,sans-serif;border-top-right-radius:10px;border-top-left-radius:10px}.advertory-abo-ad-native-recirc .ad-image-container .ad-image{width:100%}.advertory-abo-ad-native-recirc .ad-image-container .ad-logo{position:absolute;height:30px;width:auto;top:auto;bottom:8px;left:8px;right:auto}@media screen and (min-width: 768px){.advertory-abo-ad-native-recirc .ad-image-container .ad-logo{left:16px;bottom:16px}}.advertory-abo-ad-native-recirc .ad-text-container{background:#fff6d1;overflow:auto;border-bottom-right-radius:10px;border-bottom-left-radius:10px}.advertory-abo-ad-native-recirc .ad-text-container .ad-sponsored-by{display:block;color:#64625a;font-size:13px;padding:5px 8px;text-transform:uppercase;font-family:Roboto,sans-serif}.advertory-abo-ad-native-recirc .ad-text-container .ad-title{padding:6px 8px;margin-bottom:12px;color:#000;font-size:17px;font-weight:700;font-family:Arial,sans-serif}");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as t}from"./_auto-
|
|
1
|
+
import{i as t}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";t('.advertory-abo-ad-native-content-video{position:relative;display:table;table-layout:fixed;width:100%;margin:0 auto;background:#fff;font-family:"Inter",sans-serif;font-weight:700;text-align:left;color:#000}.advertory-abo-ad-native-content-video *{line-height:1}.advertory-abo-ad-native-content-video a.ad-link{display:block;text-decoration:none;color:inherit}.advertory-abo-ad-native-content-video a.ad-link:hover{text-decoration:none}.advertory-abo-ad-native-content-video .ad-info{z-index:10;top:44px}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-info{top:50px}}.advertory-abo-ad-native-content-video .ad-info div[role=button]{top:44px !important;border-bottom-right-radius:13px;background-color:hsla(0,0%,100%,.45);z-index:10}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-info div[role=button]{top:51px !important}}.advertory-abo-ad-native-content-video .ad-content{display:flex;flex-direction:column}.advertory-abo-ad-native-content-video .ad-content .ad-header{position:relative;height:44px;display:flex;align-items:center;text-transform:uppercase;padding:0 8px}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-header{height:51px;min-height:0}}.advertory-abo-ad-native-content-video .ad-content .ad-header span{font-weight:700;font-size:13px;position:absolute;top:50%;transform:translateY(-50%)}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-header span{font-size:20px;padding-left:12px}}.advertory-abo-ad-native-content-video .ad-content .ad-header .ad-logo{position:absolute;right:0;width:auto;height:40px;margin-right:8px}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-header .ad-logo{width:auto;height:35px}}.advertory-abo-ad-native-content-video .ad-content .ad-image-container{display:flex;position:relative}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-image-container{min-height:0}}.advertory-abo-ad-native-content-video .ad-content .ad-image-container .ad-image{width:100%;height:auto;object-fit:cover;object-position:center 0}.advertory-abo-ad-native-content-video .ad-content .ad-image-container .ad-player-wrapper{height:56.4971751412vw;width:100%}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-image-container .ad-player-wrapper{height:407px}}.advertory-abo-ad-native-content-video .ad-content .ad-text-container{display:flex;flex-direction:column;color:#2b2b2b;padding-bottom:10px}.advertory-abo-ad-native-content-video .ad-content .ad-text-container .sponsored-by{display:block;padding:8px;font-size:12px;font-weight:normal;text-transform:uppercase}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-text-container .sponsored-by{padding:8px 10px}}.advertory-abo-ad-native-content-video .ad-content .ad-text-container .ad-title{display:block;padding:0 8px;margin-left:0;margin-bottom:0;font-size:var(--mobileTitleSize);font-weight:bold;line-height:1}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-text-container .ad-title{padding:4px 12px 8px 12px;font-size:var(--desktopTitleSize)}}.advertory-abo-ad-native-content-video .ad-content .ad-text-container .ad-description{margin:4px 0;padding:0 8px;font-size:16px;line-height:calc(15px);color:#000}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video .ad-content .ad-text-container .ad-description{padding:0 12px}}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video.bt .ad-content .ad-image-container .ad-player-wrapper,.advertory-abo-ad-native-content-video.sa .ad-content .ad-image-container .ad-player-wrapper{height:302px}}@media screen and (min-width: 768px){.advertory-abo-ad-native-content-video.bt .ad-content .ad-text-container .ad-title,.advertory-abo-ad-native-content-video.sa .ad-content .ad-text-container .ad-title{font-size:23px}}');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./_auto-entry_btv2-
|
|
1
|
+
import{i as e}from"./_auto-entry_btv2-BTPxeX0a.js";import"react/jsx-runtime";e('.advertory-bt-ad-native-seamless{position:relative;overflow:hidden;border:1px solid var(--color-border-secondary, rgba(33, 130, 255, 0.3019607843));border-radius:var(--border-radius-s, 12px)}@media screen and (min-width: 580px){.advertory-bt-ad-native-seamless{border-radius:var(--border-radius-m, 16px)}}.advertory-bt-ad-native-seamless .ad-info{position:absolute;top:0;right:0;z-index:1}.advertory-bt-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-bt-ad-native-seamless .ad-link{text-decoration:none;color:inherit}.advertory-bt-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, rgb(26, 25, 24))}.advertory-bt-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-bt-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-bt-ad-native-seamless .ad-link .ad-content .ad-header .ad-annons{flex-shrink:0;margin-left:auto;margin-right:5px;white-space:nowrap;line-height:.9;color:#666;font-size:10px;font-family:"Inter";font-weight:normal;text-transform:uppercase;letter-spacing:1px}.advertory-bt-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-bt-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: 769px){.advertory-bt-ad-native-seamless .ad-link .ad-content .ad-image-container{aspect-ratio:1.91/1}}.advertory-bt-ad-native-seamless .ad-link .ad-content .ad-footer{display:flex;flex-direction:column;justify-content:center;padding:13px 10px}.advertory-bt-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row{display:flex;align-items:center;justify-content:space-between}.advertory-bt-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-bt-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, rgb(26, 25, 24))}@media screen and (min-width: 769px){.advertory-bt-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-description{font-size:18px}}.advertory-bt-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, rgb(118, 113, 110))}@media screen and (min-width: 769px){.advertory-bt-ad-native-seamless .ad-link .ad-content .ad-footer .ad-row .ad-text-wrapper .ad-headline{font-size:18px}}.advertory-bt-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, rgb(255, 255, 255));white-space:nowrap;background-color:var(--color-accent, #1c7eff);border-radius:99px;font-weight:500}');
|
package/common/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime");const r="disable-cogwheel";function t(e){if(!e||"undefined"==typeof window)return;const r=document.createElement("style");return r.setAttribute("type","text/css"),r.innerHTML=e,document.head.appendChild(r),e}t(".advertory-wrapper-common-wallpaper{display:none}");"function"==typeof SuppressedError&&SuppressedError;const o=(e,r)=>{console.warn("[Advertory WARN]: ",e)};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a,i;var s=n(function(){if(i)return a;i=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===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(e,r){return!1!==r.clone&&r.isMergeableObject(e)?c((t=e,Array.isArray(t)?[]:{}),e,r):e;var t}function o(e,r,o){return e.concat(r).map(function(e){return t(e,o)})}function n(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}(e))}function s(e,r){try{return r in e}catch(e){return!1}}function d(e,r,o){var a={};return o.isMergeableObject(e)&&n(e).forEach(function(r){a[r]=t(e[r],o)}),n(r).forEach(function(n){(function(e,r){return s(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))})(e,n)||(s(e,n)&&o.isMergeableObject(r[n])?a[n]=function(e,r){if(!r.customMerge)return c;var t=r.customMerge(e);return"function"==typeof t?t:c}(n,o)(e[n],r[n],o):a[n]=t(r[n],o))}),a}function c(r,n,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||e,a.cloneUnlessOtherwiseSpecified=t;var i=Array.isArray(n);return i===Array.isArray(r)?i?a.arrayMerge(r,n,a):d(r,n,a):t(n,a)}return c.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return c(e,t,r)},{})},a=c}());const d={arrayMerge:(e,r)=>r,isMergeableObject:e=>"object"==typeof e&&null!==e&&e.constructor===Object},c=(e,r)=>s(e,r,d),p=(e,r)=>Object.assign(Object.assign({},e),r),l=(e,r)=>{var t;return c(null!==(t=e)&&void 0!==t?t:{},r)},m={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,r)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},u=e=>{(e=>{const{pageContext:r,pageOptions:t,placements:n,appearanceConfig:a}=null!=e?e:{};(null==r?void 0:r.publisher)||o("pageContext.publisher is required."),(null==r?void 0:r.countryCode)||o("pageContext.countryCode is required."),(null==r?void 0:r.pageType)||o("pageContext.pageType is required."),(null==r?void 0:r.deviceType)||o("pageContext.deviceType is required."),t||o("pageOptions is required."),n||o("placements is required."),(null==a?void 0:a.defaultThreshold)||o("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var r,t,n,a;const i=e.pageSectionsSelectors,s=[{flag:!!(null===(r=e.takeover)||void 0===r?void 0:r.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(t=e.sponsorstripe)||void 0===t?void 0:t.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(n=e.widescreenSwitching)||void 0===n?void 0:n.enabled),property:"right",featureName:"widescreenSwitching"},{flag:!!(null===(a=e.wallpaper)||void 0===a?void 0:a.enabled),property:"header",featureName:"wallpaper"}];for(const{flag:e,property:r,featureName:t}of s)e&&!(null==i?void 0:i[r])&&o(`pageSectionsSelectors.${r} is required when ${t} is enabled.`)})(e)},f={placements:(e,r)=>r,takeover:l,refreshConfig:p,editory:l,appearanceConfig:l,pageContext:p,pageOptions:p,tcf:p};class y{set(e){u(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");((e,r)=>{const t=e;for(const e of Object.keys(f)){const o=r[e];void 0!==o&&(t[e]=f[e](t[e],o))}})(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=c(y.DEFAULT_SITE_HANDLERS,e)}}y.DEFAULT_SITE_HANDLERS={siteEvents:m,initNativeAd:()=>{}};const b=new y;b.modifyConfigProperties.bind(b);((e,r=(...e)=>{})=>{const t=r.toString();if(0===e.length)return t;const o=t.substring(0,t.indexOf("=>")).replace("(","").replace(")","").split(",").map(e=>e.trim()),n=t.substring(t.indexOf("{")+1,t.lastIndexOf("}")),a=o.map((r,t)=>`${r} = "${e[t]}"`);new Function(...a,n).toString()})([],()=>{new MutationObserver((e,r)=>{document.querySelector("iframe")&&((()=>{const e=document.querySelector("iframe");e&&(e.onload=()=>{if(!e.contentDocument)return;document.body.style.height="100%",document.documentElement.style.height="100%",e.height="100%",e.width="100%";const r=e.contentDocument.createElement("style");r.textContent="\n .adform-adbox {\n height: 100% !important;\n width: 100% !important;\n }\n img {\n height: 100% !important;\n width: 100% !important;\n object-fit: cover !important;\n object-position: top !important;\n }\n ",e.contentDocument.head.appendChild(r)})})(),r.disconnect())}).observe(document.body,{childList:!0,subtree:!0})});const h=e=>{const r={wrapper:"",container:"",theme:""};return e?(e.wrapper&&(r.wrapper=e.wrapper),e.container&&(r.container=e.container),e.theme&&(r.theme=e.theme),r):r};t('.advertory-common-skyscraperleft_1,.advertory-common-skyscraperright_1{position:relative;font-size:0}.advertory-common-skyscraperleft_1>div[role=button],.advertory-common-skyscraperright_1>div[role=button]{top:15px !important}.advertory-common-skyscraperleft_1>div[id*=utif],.advertory-common-skyscraperright_1>div[id*=utif]{position:relative;height:auto !important;width:auto !important}.advertory-common-skyscraperleft_1::before,.advertory-common-skyscraperright_1::before{display:block;content:"annonse";color:#6b6b6b;font-size:12px;text-transform:none;font-family:Inter,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;letter-spacing:1px;line-height:15px;visibility:visible}.advertory-wrapper-common-skyscraperright_1{background:none}.advertory-common-skyscraperright_1>div[id*=utif]{float:left}.advertory-wrapper-common-skyscraperleft_1{background:none}.advertory-common-skyscraperleft_1{float:right}.advertory-common-skyscraperleft_1>div[id*=utif]{float:right}');t('.advertory-common-netboard-wrapper{display:flex;justify-content:center;width:auto}@media screen and (min-width: 720px){.advertory-common-netboard-wrapper{max-width:none}}.advertory-common-netboard-wrapper.advertory-native-ad{background:none}.advertory-common-netboard-wrapper.advertory-native-ad .advertory-common-netboard::before{content:"" !important}.advertory-common-netboard-wrapper:nth-child(1){margin-bottom:0}.advertory-common-netboard{position:relative;display:table;text-align:center;font-size:0;clear:both;transform-origin:0 0}.advertory-common-netboard:not(.advertory-native-ad)::before{display:flex;content:"annonse";color:#6b6b6b;font-size:12px;text-transform:none;font-family:Inter,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;letter-spacing:1px;line-height:15px}.advertory-common-netboard>div[role=button]{position:absolute;top:15px !important;z-index:10;background-color:hsla(0,0%,100%,.45);border-bottom-right-radius:50%;height:26px !important;width:26px !important}.advertory-common-netboard>div[id*=utif]{position:relative;height:auto !important;width:auto !important;max-width:100%;margin:auto;display:block !important;overflow:hidden;z-index:0}@media screen and (min-width: 768px){.advertory-common-netboard{display:block;margin:0 auto}}');t(".advertory-common-sponsorstripe-wrapper{z-index:50;position:sticky;top:var(--fixed-header-height-mobile);height:auto;margin-bottom:0;clear:both;text-align:left;background-color:rgba(0,0,0,0)}.advertory-common-sponsorstripe{position:absolute;top:0;left:0;width:100%;margin:0;border:medium;padding:0;background-color:rgba(0,0,0,0);text-align:left}");exports.Netboard=({targetId:r,probableHeight:t,probableWidth:o,classNames:n})=>{const{wrapper:a,container:i,theme:s}=h(n);return e.jsx("div",{className:`advertory-common-netboard-wrapper ${a} ${s}`,children:e.jsx("div",{"data-probable-height":t,"data-probable-width":o,style:{minWidth:o,minHeight:t},id:r,className:`advertory-common-netboard ${i}`})})},exports.Skyscraper=({targetId:t,probableWidth:o,classNames:n})=>{const{wrapper:a,container:i,theme:s}=h(n),d=t.includes("skyscraperleft")?r:"";return e.jsx("div",{className:`advertory-wrapper-common-${t} ${a} ${s}`,children:e.jsx("div",{style:{minWidth:o},id:t,className:`advertory-common-${t} ${i} ${d}`})})},exports.Sponsorstripe=({targetId:r,classNames:t})=>{const{wrapper:o,container:n,theme:a}=h(t);return e.jsx("div",{className:`advertory-common-sponsorstripe-wrapper ${o} ${a}`,children:e.jsx("div",{id:r,className:`advertory-common-sponsorstripe ${n}`})})},exports.Wallpaper=({targetId:t})=>e.jsx("div",{className:"advertory-wrapper-common-wallpaper wallpaper",children:e.jsx("div",{id:t,className:`advertory-common-wallpaper ${r}`})});
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime");const r="disable-cogwheel";function t(e){if(!e||"undefined"==typeof window)return;const r=document.createElement("style");return r.setAttribute("type","text/css"),r.innerHTML=e,document.head.appendChild(r),e}t(".advertory-wrapper-common-wallpaper{display:none}");"function"==typeof SuppressedError&&SuppressedError;const o=(e,r)=>{console.warn("[Advertory WARN]: ",e)};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a,i;var s=n(function(){if(i)return a;i=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===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(e,r){return!1!==r.clone&&r.isMergeableObject(e)?c((t=e,Array.isArray(t)?[]:{}),e,r):e;var t}function o(e,r,o){return e.concat(r).map(function(e){return t(e,o)})}function n(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}(e))}function s(e,r){try{return r in e}catch(e){return!1}}function d(e,r,o){var a={};return o.isMergeableObject(e)&&n(e).forEach(function(r){a[r]=t(e[r],o)}),n(r).forEach(function(n){(function(e,r){return s(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))})(e,n)||(s(e,n)&&o.isMergeableObject(r[n])?a[n]=function(e,r){if(!r.customMerge)return c;var t=r.customMerge(e);return"function"==typeof t?t:c}(n,o)(e[n],r[n],o):a[n]=t(r[n],o))}),a}function c(r,n,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||e,a.cloneUnlessOtherwiseSpecified=t;var i=Array.isArray(n);return i===Array.isArray(r)?i?a.arrayMerge(r,n,a):d(r,n,a):t(n,a)}return c.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return c(e,t,r)},{})},a=c}());const d={arrayMerge:(e,r)=>r,isMergeableObject:e=>"object"==typeof e&&null!==e&&e.constructor===Object},c=(e,r)=>s(e,r,d),p=(e,r)=>Object.assign(Object.assign({},e),r),l=(e,r)=>{var t;return c(null!==(t=e)&&void 0!==t?t:{},r)},m={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,r)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},u=e=>{(e=>{const{pageContext:r,pageOptions:t,placements:n,appearanceConfig:a}=null!=e?e:{};(null==r?void 0:r.publisher)||o("pageContext.publisher is required."),(null==r?void 0:r.countryCode)||o("pageContext.countryCode is required."),(null==r?void 0:r.pageType)||o("pageContext.pageType is required."),(null==r?void 0:r.deviceType)||o("pageContext.deviceType is required."),t||o("pageOptions is required."),n||o("placements is required."),(null==a?void 0:a.defaultThreshold)||o("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var r,t,n,a;const i=e.pageSectionsSelectors,s=[{flag:!!(null===(r=e.takeover)||void 0===r?void 0:r.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(t=e.sponsorstripe)||void 0===t?void 0:t.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(n=e.widescreenSwitching)||void 0===n?void 0:n.enabled),property:"right",featureName:"widescreenSwitching"},{flag:!!(null===(a=e.wallpaper)||void 0===a?void 0:a.enabled),property:"header",featureName:"wallpaper"}];for(const{flag:e,property:r,featureName:t}of s)e&&!(null==i?void 0:i[r])&&o(`pageSectionsSelectors.${r} is required when ${t} is enabled.`)})(e)},f={placements:(e,r)=>r,takeover:l,refreshConfig:p,editory:l,appearanceConfig:l,pageContext:p,pageOptions:p,pageSectionsSelectors:p,tcf:p};class y{set(e){u(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");((e,r)=>{const t=e;for(const e of Object.keys(f)){const o=r[e];void 0!==o&&(t[e]=f[e](t[e],o))}})(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=c(y.DEFAULT_SITE_HANDLERS,e)}}y.DEFAULT_SITE_HANDLERS={siteEvents:m,initNativeAd:()=>{}};const b=new y;b.modifyConfigProperties.bind(b);((e,r=(...e)=>{})=>{const t=r.toString();if(0===e.length)return t;const o=t.substring(0,t.indexOf("=>")).replace("(","").replace(")","").split(",").map(e=>e.trim()),n=t.substring(t.indexOf("{")+1,t.lastIndexOf("}")),a=o.map((r,t)=>`${r} = "${e[t]}"`);new Function(...a,n).toString()})([],()=>{new MutationObserver((e,r)=>{document.querySelector("iframe")&&((()=>{const e=document.querySelector("iframe");e&&(e.onload=()=>{if(!e.contentDocument)return;document.body.style.height="100%",document.documentElement.style.height="100%",e.height="100%",e.width="100%";const r=e.contentDocument.createElement("style");r.textContent="\n .adform-adbox {\n height: 100% !important;\n width: 100% !important;\n }\n img {\n height: 100% !important;\n width: 100% !important;\n object-fit: cover !important;\n object-position: top !important;\n }\n ",e.contentDocument.head.appendChild(r)})})(),r.disconnect())}).observe(document.body,{childList:!0,subtree:!0})});const h=e=>{const r={wrapper:"",container:"",theme:""};return e?(e.wrapper&&(r.wrapper=e.wrapper),e.container&&(r.container=e.container),e.theme&&(r.theme=e.theme),r):r};t('.advertory-common-skyscraperleft_1,.advertory-common-skyscraperright_1{position:relative;font-size:0}.advertory-common-skyscraperleft_1>div[role=button],.advertory-common-skyscraperright_1>div[role=button]{top:15px !important}.advertory-common-skyscraperleft_1>div[id*=utif],.advertory-common-skyscraperright_1>div[id*=utif]{position:relative;height:auto !important;width:auto !important}.advertory-common-skyscraperleft_1::before,.advertory-common-skyscraperright_1::before{display:block;content:"annonse";color:#6b6b6b;font-size:12px;text-transform:none;font-family:Inter,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;letter-spacing:1px;line-height:15px;visibility:visible}.advertory-wrapper-common-skyscraperright_1{background:none}.advertory-common-skyscraperright_1>div[id*=utif]{float:left}.advertory-wrapper-common-skyscraperleft_1{background:none}.advertory-common-skyscraperleft_1{float:right}.advertory-common-skyscraperleft_1>div[id*=utif]{float:right}');t('.advertory-common-netboard-wrapper{display:flex;justify-content:center;width:auto}@media screen and (min-width: 720px){.advertory-common-netboard-wrapper{max-width:none}}.advertory-common-netboard-wrapper.advertory-native-ad{background:none}.advertory-common-netboard-wrapper.advertory-native-ad .advertory-common-netboard::before{content:"" !important}.advertory-common-netboard-wrapper:nth-child(1){margin-bottom:0}.advertory-common-netboard{position:relative;display:table;text-align:center;font-size:0;clear:both;transform-origin:0 0}.advertory-common-netboard:not(.advertory-native-ad)::before{display:flex;content:"annonse";color:#6b6b6b;font-size:12px;text-transform:none;font-family:Inter,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;letter-spacing:1px;line-height:15px}.advertory-common-netboard>div[role=button]{position:absolute;top:15px !important;z-index:10;background-color:hsla(0,0%,100%,.45);border-bottom-right-radius:50%;height:26px !important;width:26px !important}.advertory-common-netboard>div[id*=utif]{position:relative;height:auto !important;width:auto !important;max-width:100%;margin:auto;display:block !important;overflow:hidden;z-index:0}@media screen and (min-width: 768px){.advertory-common-netboard{display:block;margin:0 auto}}');t(".advertory-common-sponsorstripe-wrapper{z-index:50;position:sticky;top:var(--fixed-header-height-mobile);height:auto;margin-bottom:0;clear:both;text-align:left;background-color:rgba(0,0,0,0)}.advertory-common-sponsorstripe{position:absolute;top:0;left:0;width:100%;margin:0;border:medium;padding:0;background-color:rgba(0,0,0,0);text-align:left}");exports.Netboard=({targetId:r,probableHeight:t,probableWidth:o,classNames:n})=>{const{wrapper:a,container:i,theme:s}=h(n);return e.jsx("div",{className:`advertory-common-netboard-wrapper ${a} ${s}`,children:e.jsx("div",{"data-probable-height":t,"data-probable-width":o,style:{minWidth:o,minHeight:t},id:r,className:`advertory-common-netboard ${i}`})})},exports.Skyscraper=({targetId:t,probableWidth:o,classNames:n})=>{const{wrapper:a,container:i,theme:s}=h(n),d=t.includes("skyscraperleft")?r:"";return e.jsx("div",{className:`advertory-wrapper-common-${t} ${a} ${s}`,children:e.jsx("div",{style:{minWidth:o},id:t,className:`advertory-common-${t} ${i} ${d}`})})},exports.Sponsorstripe=({targetId:r,classNames:t})=>{const{wrapper:o,container:n,theme:a}=h(t);return e.jsx("div",{className:`advertory-common-sponsorstripe-wrapper ${o} ${a}`,children:e.jsx("div",{id:r,className:`advertory-common-sponsorstripe ${n}`})})},exports.Wallpaper=({targetId:t})=>e.jsx("div",{className:"advertory-wrapper-common-wallpaper wallpaper",children:e.jsx("div",{id:t,className:`advertory-common-wallpaper ${r}`})});
|
package/common/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";const t="disable-cogwheel";function r(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}r(".advertory-wrapper-common-wallpaper{display:none}");const o=({targetId:r})=>e("div",{className:"advertory-wrapper-common-wallpaper wallpaper",children:e("div",{id:r,className:`advertory-common-wallpaper ${t}`})});"function"==typeof SuppressedError&&SuppressedError;const n=(e,t)=>{console.warn("[Advertory WARN]: ",e)};function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i,c;var
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";const t="disable-cogwheel";function r(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}r(".advertory-wrapper-common-wallpaper{display:none}");const o=({targetId:r})=>e("div",{className:"advertory-wrapper-common-wallpaper wallpaper",children:e("div",{id:r,className:`advertory-common-wallpaper ${t}`})});"function"==typeof SuppressedError&&SuppressedError;const n=(e,t)=>{console.warn("[Advertory WARN]: ",e)};function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i,c;var s=a(function(){if(c)return i;c=1;var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var r=Object.prototype.toString.call(e);return"[object RegExp]"===r||"[object Date]"===r||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?d((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function o(e,t,o){return e.concat(t).map(function(e){return r(e,o)})}function n(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 a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,o){var i={};return o.isMergeableObject(e)&&n(e).forEach(function(t){i[t]=r(e[t],o)}),n(t).forEach(function(n){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(a(e,n)&&o.isMergeableObject(t[n])?i[n]=function(e,t){if(!t.customMerge)return d;var r=t.customMerge(e);return"function"==typeof r?r:d}(n,o)(e[n],t[n],o):i[n]=r(t[n],o))}),i}function d(t,n,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||e,a.cloneUnlessOtherwiseSpecified=r;var i=Array.isArray(n);return i===Array.isArray(t)?i?a.arrayMerge(t,n,a):s(t,n,a):r(n,a)}return d.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,r){return d(e,r,t)},{})},i=d}());const d={arrayMerge:(e,t)=>t,isMergeableObject:e=>"object"==typeof e&&null!==e&&e.constructor===Object},l=(e,t)=>s(e,t,d),p=(e,t)=>Object.assign(Object.assign({},e),t),m=(e,t)=>{var r;return l(null!==(r=e)&&void 0!==r?r:{},t)},u={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,t)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},f=e=>{(e=>{const{pageContext:t,pageOptions:r,placements:o,appearanceConfig:a}=null!=e?e:{};(null==t?void 0:t.publisher)||n("pageContext.publisher is required."),(null==t?void 0:t.countryCode)||n("pageContext.countryCode is required."),(null==t?void 0:t.pageType)||n("pageContext.pageType is required."),(null==t?void 0:t.deviceType)||n("pageContext.deviceType is required."),r||n("pageOptions is required."),o||n("placements is required."),(null==a?void 0:a.defaultThreshold)||n("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var t,r,o,a;const i=e.pageSectionsSelectors,c=[{flag:!!(null===(t=e.takeover)||void 0===t?void 0:t.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(r=e.sponsorstripe)||void 0===r?void 0:r.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(o=e.widescreenSwitching)||void 0===o?void 0:o.enabled),property:"right",featureName:"widescreenSwitching"},{flag:!!(null===(a=e.wallpaper)||void 0===a?void 0:a.enabled),property:"header",featureName:"wallpaper"}];for(const{flag:e,property:t,featureName:r}of c)e&&!(null==i?void 0:i[t])&&n(`pageSectionsSelectors.${t} is required when ${r} is enabled.`)})(e)},y={placements:(e,t)=>t,takeover:m,refreshConfig:p,editory:m,appearanceConfig:m,pageContext:p,pageOptions:p,pageSectionsSelectors:p,tcf:p};class b{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 r=e;for(const e of Object.keys(y)){const o=t[e];void 0!==o&&(r[e]=y[e](r[e],o))}})(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=l(b.DEFAULT_SITE_HANDLERS,e)}}b.DEFAULT_SITE_HANDLERS={siteEvents:u,initNativeAd:()=>{}};const h=new b;h.modifyConfigProperties.bind(h);((e,t=(...e)=>{})=>{const r=t.toString();if(0===e.length)return r;const o=r.substring(0,r.indexOf("=>")).replace("(","").replace(")","").split(",").map(e=>e.trim()),n=r.substring(r.indexOf("{")+1,r.lastIndexOf("}")),a=o.map((t,r)=>`${t} = "${e[r]}"`);new Function(...a,n).toString()})([],()=>{new MutationObserver((e,t)=>{document.querySelector("iframe")&&((()=>{const e=document.querySelector("iframe");e&&(e.onload=()=>{if(!e.contentDocument)return;document.body.style.height="100%",document.documentElement.style.height="100%",e.height="100%",e.width="100%";const t=e.contentDocument.createElement("style");t.textContent="\n .adform-adbox {\n height: 100% !important;\n width: 100% !important;\n }\n img {\n height: 100% !important;\n width: 100% !important;\n object-fit: cover !important;\n object-position: top !important;\n }\n ",e.contentDocument.head.appendChild(t)})})(),t.disconnect())}).observe(document.body,{childList:!0,subtree:!0})});const g=e=>{const t={wrapper:"",container:"",theme:""};return e?(e.wrapper&&(t.wrapper=e.wrapper),e.container&&(t.container=e.container),e.theme&&(t.theme=e.theme),t):t};r('.advertory-common-skyscraperleft_1,.advertory-common-skyscraperright_1{position:relative;font-size:0}.advertory-common-skyscraperleft_1>div[role=button],.advertory-common-skyscraperright_1>div[role=button]{top:15px !important}.advertory-common-skyscraperleft_1>div[id*=utif],.advertory-common-skyscraperright_1>div[id*=utif]{position:relative;height:auto !important;width:auto !important}.advertory-common-skyscraperleft_1::before,.advertory-common-skyscraperright_1::before{display:block;content:"annonse";color:#6b6b6b;font-size:12px;text-transform:none;font-family:Inter,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;letter-spacing:1px;line-height:15px;visibility:visible}.advertory-wrapper-common-skyscraperright_1{background:none}.advertory-common-skyscraperright_1>div[id*=utif]{float:left}.advertory-wrapper-common-skyscraperleft_1{background:none}.advertory-common-skyscraperleft_1{float:right}.advertory-common-skyscraperleft_1>div[id*=utif]{float:right}');const v=({targetId:r,probableWidth:o,classNames:n})=>{const{wrapper:a,container:i,theme:c}=g(n),s=r.includes("skyscraperleft")?t:"";return e("div",{className:`advertory-wrapper-common-${r} ${a} ${c}`,children:e("div",{style:{minWidth:o},id:r,className:`advertory-common-${r} ${i} ${s}`})})};r('.advertory-common-netboard-wrapper{display:flex;justify-content:center;width:auto}@media screen and (min-width: 720px){.advertory-common-netboard-wrapper{max-width:none}}.advertory-common-netboard-wrapper.advertory-native-ad{background:none}.advertory-common-netboard-wrapper.advertory-native-ad .advertory-common-netboard::before{content:"" !important}.advertory-common-netboard-wrapper:nth-child(1){margin-bottom:0}.advertory-common-netboard{position:relative;display:table;text-align:center;font-size:0;clear:both;transform-origin:0 0}.advertory-common-netboard:not(.advertory-native-ad)::before{display:flex;content:"annonse";color:#6b6b6b;font-size:12px;text-transform:none;font-family:Inter,"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;letter-spacing:1px;line-height:15px}.advertory-common-netboard>div[role=button]{position:absolute;top:15px !important;z-index:10;background-color:hsla(0,0%,100%,.45);border-bottom-right-radius:50%;height:26px !important;width:26px !important}.advertory-common-netboard>div[id*=utif]{position:relative;height:auto !important;width:auto !important;max-width:100%;margin:auto;display:block !important;overflow:hidden;z-index:0}@media screen and (min-width: 768px){.advertory-common-netboard{display:block;margin:0 auto}}');const w=({targetId:t,probableHeight:r,probableWidth:o,classNames:n})=>{const{wrapper:a,container:i,theme:c}=g(n);return e("div",{className:`advertory-common-netboard-wrapper ${a} ${c}`,children:e("div",{"data-probable-height":r,"data-probable-width":o,style:{minWidth:o,minHeight:r},id:t,className:`advertory-common-netboard ${i}`})})};r(".advertory-common-sponsorstripe-wrapper{z-index:50;position:sticky;top:var(--fixed-header-height-mobile);height:auto;margin-bottom:0;clear:both;text-align:left;background-color:rgba(0,0,0,0)}.advertory-common-sponsorstripe{position:absolute;top:0;left:0;width:100%;margin:0;border:medium;padding:0;background-color:rgba(0,0,0,0);text-align:left}");const x=({targetId:t,classNames:r})=>{const{wrapper:o,container:n,theme:a}=g(r);return e("div",{className:`advertory-common-sponsorstripe-wrapper ${o} ${a}`,children:e("div",{id:t,className:`advertory-common-sponsorstripe ${n}`})})};export{w as Netboard,v as Skyscraper,x as Sponsorstripe,o as Wallpaper};
|