sass-template-common 0.1.39 → 0.1.41
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/dist/sass-template-common.css +1 -0
- package/dist/sass-template-common.d.ts +4 -1
- package/dist/sass-template-common.js +12027 -2707
- package/dist/sass-template-common.umd.cjs +111 -3
- package/package.json +12 -335
- package/dist/AutorComponent.d.ts +0 -240
- package/dist/AutorComponent.js +0 -4
- package/dist/AutorComponent.umd.cjs +0 -1
- package/dist/AutorHeader1.d.ts +0 -64
- package/dist/AutorHeader1.js +0 -4
- package/dist/AutorHeader1.umd.cjs +0 -1
- package/dist/AutorHeader2.d.ts +0 -63
- package/dist/AutorHeader2.js +0 -4
- package/dist/AutorHeader2.umd.cjs +0 -1
- package/dist/BannerAdvertising.d.ts +0 -22
- package/dist/BannerAdvertising.js +0 -4
- package/dist/BannerAdvertising.umd.cjs +0 -1
- package/dist/BannerAdvertisingMiddle.d.ts +0 -22
- package/dist/BannerAdvertisingMiddle.js +0 -4
- package/dist/BannerAdvertisingMiddle.umd.cjs +0 -1
- package/dist/CarrouselCSR-CJYbRwia.js +0 -303
- package/dist/CarrouselCSR-DYd0tK22.cjs +0 -1
- package/dist/CarrouselCSR.d.ts +0 -17
- package/dist/CarrouselCSR.js +0 -5
- package/dist/CarrouselCSR.umd.cjs +0 -1
- package/dist/CarrouselIRS.d.ts +0 -17
- package/dist/CarrouselIRS.js +0 -5
- package/dist/CarrouselIRS.umd.cjs +0 -1
- package/dist/CarruselCard.d.ts +0 -177
- package/dist/CarruselCard.js +0 -4
- package/dist/CarruselCard.umd.cjs +0 -1
- package/dist/CarruselOpinion.d.ts +0 -172
- package/dist/CarruselOpinion.js +0 -4
- package/dist/CarruselOpinion.umd.cjs +0 -1
- package/dist/Clipboard-DjMsnSX4.js +0 -68
- package/dist/Clipboard-u_S1RBEo.cjs +0 -1
- package/dist/Close-C-8qzSDP.cjs +0 -1
- package/dist/Close-IzObL1Y8.js +0 -8
- package/dist/Comscore-Bq6K5xi3.js +0 -17
- package/dist/Comscore-DMCbZ32O.cjs +0 -1
- package/dist/Comscore.d.ts +0 -5
- package/dist/Comscore.js +0 -4
- package/dist/Comscore.umd.cjs +0 -1
- package/dist/ContactInfoServer.d.ts +0 -21
- package/dist/ContactInfoServer.js +0 -4
- package/dist/ContactInfoServer.umd.cjs +0 -1
- package/dist/ContactInput.d.ts +0 -10
- package/dist/ContactInput.js +0 -4
- package/dist/ContactInput.umd.cjs +0 -1
- package/dist/ContactSelect.d.ts +0 -16
- package/dist/ContactSelect.js +0 -4
- package/dist/ContactSelect.umd.cjs +0 -1
- package/dist/ContactTextarea.d.ts +0 -11
- package/dist/ContactTextarea.js +0 -4
- package/dist/ContactTextarea.umd.cjs +0 -1
- package/dist/ContentLayout1.d.ts +0 -12
- package/dist/ContentLayout1.js +0 -4
- package/dist/ContentLayout1.umd.cjs +0 -1
- package/dist/ContentLayoutTema.d.ts +0 -11
- package/dist/ContentLayoutTema.js +0 -4
- package/dist/ContentLayoutTema.umd.cjs +0 -1
- package/dist/DestacadoNoticias.d.ts +0 -187
- package/dist/DestacadoNoticias.js +0 -4
- package/dist/DestacadoNoticias.umd.cjs +0 -1
- package/dist/DestacadoVideos.d.ts +0 -117
- package/dist/DestacadoVideos.js +0 -4
- package/dist/DestacadoVideos.umd.cjs +0 -1
- package/dist/DynamicComponents-CAua5xWx.cjs +0 -1
- package/dist/DynamicComponents-g01hPNe8.js +0 -58
- package/dist/DynamicComponents.d.ts +0 -232
- package/dist/DynamicComponents.js +0 -4
- package/dist/DynamicComponents.umd.cjs +0 -1
- package/dist/DynamicMainSlot.d.ts +0 -24
- package/dist/DynamicMainSlot.js +0 -4
- package/dist/DynamicMainSlot.umd.cjs +0 -1
- package/dist/DynamicSlot.d.ts +0 -24
- package/dist/DynamicSlot.js +0 -4
- package/dist/DynamicSlot.umd.cjs +0 -1
- package/dist/EditorialBlock.d.ts +0 -180
- package/dist/EditorialBlock.js +0 -4
- package/dist/EditorialBlock.umd.cjs +0 -1
- package/dist/ErrorComponent.d.ts +0 -13
- package/dist/ErrorComponent.js +0 -4
- package/dist/ErrorComponent.umd.cjs +0 -1
- package/dist/Footer.d.ts +0 -27
- package/dist/Footer.js +0 -4
- package/dist/Footer.umd.cjs +0 -1
- package/dist/GA4-2trwkmRz.js +0 -45
- package/dist/GA4-BHcMQc6X.cjs +0 -7
- package/dist/GA4.d.ts +0 -12
- package/dist/GA4.js +0 -4
- package/dist/GA4.umd.cjs +0 -1
- package/dist/GTM-BYKEijOo.js +0 -34
- package/dist/GTM-DUpgJ4I-.cjs +0 -7
- package/dist/GTM.d.ts +0 -5
- package/dist/GTM.js +0 -4
- package/dist/GTM.umd.cjs +0 -1
- package/dist/Header.d.ts +0 -217
- package/dist/Header.js +0 -4
- package/dist/Header.umd.cjs +0 -1
- package/dist/ImageOffline.d.ts +0 -31
- package/dist/ImageOffline.js +0 -4
- package/dist/ImageOffline.umd.cjs +0 -1
- package/dist/Instagram-C7jTvuG0.cjs +0 -1
- package/dist/Instagram-m7-mm3Ce.js +0 -60
- package/dist/JournalistArticule2.d.ts +0 -77
- package/dist/JournalistArticule2.js +0 -4
- package/dist/JournalistArticule2.umd.cjs +0 -1
- package/dist/JournalistGroup.d.ts +0 -182
- package/dist/JournalistGroup.js +0 -4
- package/dist/JournalistGroup.umd.cjs +0 -1
- package/dist/LayoutNewsComponent.d.ts +0 -165
- package/dist/LayoutNewsComponent.js +0 -4
- package/dist/LayoutNewsComponent.umd.cjs +0 -1
- package/dist/Link-BZyN_6rI.js +0 -20
- package/dist/Link-CHPphz3c.cjs +0 -1
- package/dist/LinkedIn-BIuKknxr.cjs +0 -3
- package/dist/LinkedIn-CCndDbG_.js +0 -33
- package/dist/LiveBlogHeader.d.ts +0 -150
- package/dist/LiveBlogHeader.js +0 -4
- package/dist/LiveBlogHeader.umd.cjs +0 -1
- package/dist/Location.d.ts +0 -10
- package/dist/Location.js +0 -4
- package/dist/Location.umd.cjs +0 -1
- package/dist/Marfeel-B7k-2klo.js +0 -17
- package/dist/Marfeel-C-_4NuGW.cjs +0 -1
- package/dist/Marfeel.d.ts +0 -5
- package/dist/Marfeel.js +0 -4
- package/dist/Marfeel.umd.cjs +0 -1
- package/dist/MiddleSection.d.ts +0 -10
- package/dist/MiddleSection.js +0 -4
- package/dist/MiddleSection.umd.cjs +0 -1
- package/dist/Modulo1x3.d.ts +0 -247
- package/dist/Modulo1x3.js +0 -4
- package/dist/Modulo1x3.umd.cjs +0 -1
- package/dist/Modulo1x3Card.d.ts +0 -153
- package/dist/Modulo1x3Card.js +0 -4
- package/dist/Modulo1x3Card.umd.cjs +0 -1
- package/dist/Modulo1x4.d.ts +0 -189
- package/dist/Modulo1x4.js +0 -4
- package/dist/Modulo1x4.umd.cjs +0 -1
- package/dist/Modulo1x5.d.ts +0 -189
- package/dist/Modulo1x5.js +0 -4
- package/dist/Modulo1x5.umd.cjs +0 -1
- package/dist/Modulo2Columnas.d.ts +0 -175
- package/dist/Modulo2Columnas.js +0 -4
- package/dist/Modulo2Columnas.umd.cjs +0 -1
- package/dist/Modulo3Columnas.d.ts +0 -234
- package/dist/Modulo3Columnas.js +0 -4
- package/dist/Modulo3Columnas.umd.cjs +0 -1
- package/dist/ModuloNewsletter.d.ts +0 -32
- package/dist/ModuloNewsletter.js +0 -4
- package/dist/ModuloNewsletter.umd.cjs +0 -1
- package/dist/ModuloOpinion.d.ts +0 -170
- package/dist/ModuloOpinion.js +0 -4
- package/dist/ModuloOpinion.umd.cjs +0 -1
- package/dist/NewsComponent.d.ts +0 -294
- package/dist/NewsComponent.js +0 -4
- package/dist/NewsComponent.umd.cjs +0 -1
- package/dist/NewsContent.d.ts +0 -13
- package/dist/NewsContent.js +0 -4
- package/dist/NewsContent.umd.cjs +0 -1
- package/dist/NextPrev.d.ts +0 -16
- package/dist/NextPrev.js +0 -4
- package/dist/NextPrev.umd.cjs +0 -1
- package/dist/Play-DtFrAVg_.cjs +0 -1
- package/dist/Play-mVECew4T.js +0 -25
- package/dist/Readest.d.ts +0 -163
- package/dist/Readest.js +0 -4
- package/dist/Readest.umd.cjs +0 -1
- package/dist/SearchSection.d.ts +0 -30
- package/dist/SearchSection.js +0 -4
- package/dist/SearchSection.umd.cjs +0 -1
- package/dist/Section.d.ts +0 -16
- package/dist/Section.js +0 -4
- package/dist/Section.umd.cjs +0 -1
- package/dist/SectionCard.d.ts +0 -191
- package/dist/SectionCard.js +0 -4
- package/dist/SectionCard.umd.cjs +0 -1
- package/dist/SectionCard2.d.ts +0 -189
- package/dist/SectionCard2.js +0 -4
- package/dist/SectionCard2.umd.cjs +0 -1
- package/dist/SectionServerComponent.d.ts +0 -185
- package/dist/SectionServerComponent.js +0 -4
- package/dist/SectionServerComponent.umd.cjs +0 -1
- package/dist/ShowSection.d.ts +0 -12
- package/dist/ShowSection.js +0 -4
- package/dist/ShowSection.umd.cjs +0 -1
- package/dist/SocialIcons-Df5cb5eG.js +0 -148
- package/dist/SocialIcons-T8ywDEIw.cjs +0 -22
- package/dist/StaticSlotWrapper.d.ts +0 -13
- package/dist/StaticSlotWrapper.js +0 -4
- package/dist/StaticSlotWrapper.umd.cjs +0 -1
- package/dist/SubscribeColumn.d.ts +0 -33
- package/dist/SubscribeColumn.js +0 -4
- package/dist/SubscribeColumn.umd.cjs +0 -1
- package/dist/SubscribeRow.d.ts +0 -32
- package/dist/SubscribeRow.js +0 -4
- package/dist/SubscribeRow.umd.cjs +0 -1
- package/dist/SubscribeWhatsAppColumn.d.ts +0 -10
- package/dist/SubscribeWhatsAppColumn.js +0 -4
- package/dist/SubscribeWhatsAppColumn.umd.cjs +0 -1
- package/dist/TagComponent.d.ts +0 -33
- package/dist/TagComponent.js +0 -4
- package/dist/TagComponent.umd.cjs +0 -1
- package/dist/TagSection.d.ts +0 -28
- package/dist/TagSection.js +0 -4
- package/dist/TagSection.umd.cjs +0 -1
- package/dist/TimeLine.d.ts +0 -45
- package/dist/TimeLine.js +0 -4
- package/dist/TimeLine.umd.cjs +0 -1
- package/dist/VideoBlock3.d.ts +0 -65
- package/dist/VideoBlock3.js +0 -4
- package/dist/VideoBlock3.umd.cjs +0 -1
- package/dist/VideoBlock4.d.ts +0 -97
- package/dist/VideoBlock4.js +0 -4
- package/dist/VideoBlock4.umd.cjs +0 -1
- package/dist/VideoSection.d.ts +0 -65
- package/dist/VideoSection.js +0 -4
- package/dist/VideoSection.umd.cjs +0 -1
- package/dist/X-BZxGttQP.js +0 -5
- package/dist/X-D2YkFTMd.cjs +0 -1
- package/dist/assets/carrousel.css +0 -1
- package/dist/assets/comments.css +0 -1
- package/dist/assets/dynamicMainSlot.css +0 -1
- package/dist/assets/dynamicSlot.css +0 -1
- package/dist/assets/image-offline.css +0 -1
- package/dist/assets/index.css +0 -1
- package/dist/assets/index10.css +0 -1
- package/dist/assets/index11.css +0 -1
- package/dist/assets/index12.css +0 -1
- package/dist/assets/index13.css +0 -1
- package/dist/assets/index14.css +0 -1
- package/dist/assets/index15.css +0 -1
- package/dist/assets/index16.css +0 -1
- package/dist/assets/index17.css +0 -1
- package/dist/assets/index18.css +0 -1
- package/dist/assets/index19.css +0 -1
- package/dist/assets/index2.css +0 -1
- package/dist/assets/index20.css +0 -1
- package/dist/assets/index21.css +0 -1
- package/dist/assets/index22.css +0 -1
- package/dist/assets/index23.css +0 -1
- package/dist/assets/index24.css +0 -1
- package/dist/assets/index25.css +0 -1
- package/dist/assets/index26.css +0 -1
- package/dist/assets/index27.css +0 -1
- package/dist/assets/index28.css +0 -1
- package/dist/assets/index29.css +0 -1
- package/dist/assets/index3.css +0 -1
- package/dist/assets/index30.css +0 -1
- package/dist/assets/index31.css +0 -1
- package/dist/assets/index32.css +0 -1
- package/dist/assets/index33.css +0 -1
- package/dist/assets/index34.css +0 -1
- package/dist/assets/index35.css +0 -1
- package/dist/assets/index36.css +0 -1
- package/dist/assets/index37.css +0 -1
- package/dist/assets/index38.css +0 -1
- package/dist/assets/index39.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/assets/index40.css +0 -1
- package/dist/assets/index41.css +0 -1
- package/dist/assets/index42.css +0 -1
- package/dist/assets/index43.css +0 -1
- package/dist/assets/index44.css +0 -1
- package/dist/assets/index45.css +0 -1
- package/dist/assets/index46.css +0 -1
- package/dist/assets/index47.css +0 -1
- package/dist/assets/index48.css +0 -1
- package/dist/assets/index49.css +0 -1
- package/dist/assets/index5.css +0 -1
- package/dist/assets/index50.css +0 -1
- package/dist/assets/index6.css +0 -1
- package/dist/assets/index7.css +0 -1
- package/dist/assets/index8.css +0 -1
- package/dist/assets/index9.css +0 -1
- package/dist/assets/sass-template-common.css +0 -1
- package/dist/assets/section.card.css +0 -1
- package/dist/become-video-object-CgIYzHRq.js +0 -36
- package/dist/become-video-object-WRT2JnXP.cjs +0 -1
- package/dist/build-tag-url-BMptN9hq.cjs +0 -1
- package/dist/build-tag-url-BggBzzek.js +0 -7
- package/dist/comments-CnOBAekK.js +0 -2801
- package/dist/comments-vw6ZqDan.cjs +0 -74
- package/dist/compileStyleProps-5AwxR1Kg.cjs +0 -1
- package/dist/compileStyleProps-C3Ic-G8F.js +0 -9
- package/dist/config-BzB6kHCH.cjs +0 -1
- package/dist/config-aAufvvYO.js +0 -59
- package/dist/cut-string-B_KYH_LD.cjs +0 -1
- package/dist/cut-string-Bmt-tKWG.js +0 -4
- package/dist/date-format-CZUf6krO.js +0 -515
- package/dist/date-format-JqOZCdHW.cjs +0 -1
- package/dist/dynamicMainSlot-CWY6CjB7.js +0 -319
- package/dist/dynamicMainSlot-fqHTjgoU.cjs +0 -1
- package/dist/dynamicSlot-DL19jW8L.js +0 -169
- package/dist/dynamicSlot-Dj0VsU9z.cjs +0 -1
- package/dist/image-environtment-DvN02hR9.js +0 -13
- package/dist/image-environtment-n-o8Wvct.cjs +0 -1
- package/dist/image-offline.client-094B6Vbc.cjs +0 -1
- package/dist/image-offline.client-D_VOV4DF.js +0 -80
- package/dist/index-01sxU_nQ.cjs +0 -1
- package/dist/index-1nRlmYma.js +0 -175
- package/dist/index-206HWYfY.js +0 -106
- package/dist/index-2xLsJpig.js +0 -98
- package/dist/index-6nGoIas0.cjs +0 -1
- package/dist/index-6xbgjlTE.js +0 -208
- package/dist/index-79scsK_s.cjs +0 -1
- package/dist/index-8AIZcUFg.cjs +0 -1
- package/dist/index-B11FU2xn.cjs +0 -1
- package/dist/index-B3_gGLoj.cjs +0 -1
- package/dist/index-B8BHCE2p.js +0 -161
- package/dist/index-B8izkNKr.cjs +0 -1
- package/dist/index-B9BK2M6P.cjs +0 -1
- package/dist/index-B9jhBtiE.js +0 -109
- package/dist/index-BASp9Rw7.js +0 -39
- package/dist/index-BBaoMr4J.js +0 -9
- package/dist/index-BC_qZuA8.cjs +0 -1
- package/dist/index-BF1Iiz49.js +0 -80
- package/dist/index-BJWUECgU.js +0 -24
- package/dist/index-BM4EmmWC.cjs +0 -1
- package/dist/index-BMIGe0k3.js +0 -20
- package/dist/index-BT2xJxik.cjs +0 -1
- package/dist/index-BT8DDIgu.cjs +0 -1
- package/dist/index-BURxnRp9.js +0 -38
- package/dist/index-BVDmj2-u.cjs +0 -1
- package/dist/index-BVzh76v-.cjs +0 -1
- package/dist/index-BWvzK8By.js +0 -220
- package/dist/index-BeX3dr5Y.cjs +0 -1
- package/dist/index-BfMDHQVZ.cjs +0 -1
- package/dist/index-Bj5wiOtg.js +0 -83
- package/dist/index-BjQxKMZV.cjs +0 -1
- package/dist/index-BnCIkyjy.js +0 -9
- package/dist/index-BrzzDteW.cjs +0 -1
- package/dist/index-BuFCv_ZK.js +0 -970
- package/dist/index-Bvv8KLeV.cjs +0 -1
- package/dist/index-BymofdAP.js +0 -72
- package/dist/index-BziV6H04.js +0 -44
- package/dist/index-C09PzuZV.cjs +0 -1
- package/dist/index-C0T6q1l6.js +0 -25
- package/dist/index-C1eIq6sq.cjs +0 -1
- package/dist/index-C3a-esGw.js +0 -17
- package/dist/index-C4wV7YpT.js +0 -27
- package/dist/index-C5ddOOVA.cjs +0 -1
- package/dist/index-C8jv6y2S.js +0 -55
- package/dist/index-C9RSUrx6.cjs +0 -1
- package/dist/index-CC0Up8mz.js +0 -35
- package/dist/index-CF0dbpBz.js +0 -53
- package/dist/index-CFtQUkHA.cjs +0 -1
- package/dist/index-CGvv6Mz4.cjs +0 -1
- package/dist/index-CMvT-wav.js +0 -82
- package/dist/index-CQK9ULhe.js +0 -69
- package/dist/index-CRCuuj2w.cjs +0 -1
- package/dist/index-CWaNsBNE.cjs +0 -1
- package/dist/index-CXLoOs8-.js +0 -66
- package/dist/index-Cha1B0OE.cjs +0 -1
- package/dist/index-ClXVoyxi.cjs +0 -1
- package/dist/index-CuGk1qLi.cjs +0 -1
- package/dist/index-CuXn2KNK.js +0 -20
- package/dist/index-CvIjAQpP.cjs +0 -1
- package/dist/index-CwhtEO0_.js +0 -57
- package/dist/index-CzwqIqRa.js +0 -18
- package/dist/index-D0ijvW_Z.js +0 -136
- package/dist/index-D13w3ohD.cjs +0 -1
- package/dist/index-D2rzdhRp.cjs +0 -1
- package/dist/index-D4G63Cmc.js +0 -16
- package/dist/index-D50ReVGb.js +0 -74
- package/dist/index-D5SEzUHu.js +0 -32
- package/dist/index-D5sbe8cc.cjs +0 -1
- package/dist/index-DEDd6D4W.js +0 -8
- package/dist/index-DG5AJVRO.cjs +0 -1
- package/dist/index-DIbgvdRF.cjs +0 -1
- package/dist/index-DJDV_9DI.js +0 -98
- package/dist/index-DOKkCePN.cjs +0 -1
- package/dist/index-DOUgegj3.cjs +0 -1
- package/dist/index-DcEW6J_8.js +0 -64
- package/dist/index-DdqfhkBq.js +0 -143
- package/dist/index-DfxT97ME.js +0 -64
- package/dist/index-DiG2MZu5.js +0 -33
- package/dist/index-DmgMBpJx.js +0 -609
- package/dist/index-DnIMib6U.cjs +0 -1
- package/dist/index-Do1AIOsH.js +0 -7
- package/dist/index-DoyvTwqo.js +0 -12
- package/dist/index-Dp5yTP4L.cjs +0 -1
- package/dist/index-DpNeJc2k.cjs +0 -1
- package/dist/index-DqtiXHWZ.js +0 -50
- package/dist/index-Dt1KF0y9.cjs +0 -1
- package/dist/index-Dw11uZRk.cjs +0 -1
- package/dist/index-DwDCC2st.js +0 -41
- package/dist/index-DyCbgkPT.js +0 -50
- package/dist/index-DzxCd_Lw.cjs +0 -1
- package/dist/index-E-bijVAm.cjs +0 -1
- package/dist/index-EgaojWqy.js +0 -22
- package/dist/index-FHGXNMMw.cjs +0 -1
- package/dist/index-HmI2Ty6Z.js +0 -28
- package/dist/index-IuGcJ86k.cjs +0 -1
- package/dist/index-Kkux9VTu.cjs +0 -1
- package/dist/index-KmESlap_.js +0 -15
- package/dist/index-MFdRBVph.cjs +0 -1
- package/dist/index-XVuBbMF3.cjs +0 -1
- package/dist/index-XWcvMYgt.cjs +0 -1
- package/dist/index-ZvFtGSr-.js +0 -20
- package/dist/index-hUYWRY65.cjs +0 -1
- package/dist/index-jbOOF6ba.js +0 -29
- package/dist/index-k-7uO50f.cjs +0 -1
- package/dist/index-mYUGtZGn.js +0 -10
- package/dist/index-n7tqaTGB.cjs +0 -1
- package/dist/index-nWQFVTYn.js +0 -47
- package/dist/index-nmL6Djl5.js +0 -47
- package/dist/index-t891F8AX.js +0 -40
- package/dist/index-tqTHg0yi.js +0 -44
- package/dist/index-v7G2hPSn.js +0 -123
- package/dist/index-vaHN-n9C.cjs +0 -1
- package/dist/index-vp0fZr_A.cjs +0 -1
- package/dist/index-xDIiU7BB.js +0 -218
- package/dist/index-xLfu4_aj.cjs +0 -1
- package/dist/index-xynEpeyX.cjs +0 -1
- package/dist/index-yDSNW_-4.js +0 -53
- package/dist/index-zO225IHl.cjs +0 -1
- package/dist/section.card.server-BUfTTZSi.js +0 -54
- package/dist/section.card.server-UGrsIo_p.cjs +0 -1
- package/dist/shareButtons.d.ts +0 -19
- package/dist/shareButtons.js +0 -4
- package/dist/shareButtons.umd.cjs +0 -1
- package/dist/staticSlotWrapper-CmDA3CVW.cjs +0 -1
- package/dist/staticSlotWrapper-VRNBG2M8.js +0 -11
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
import { jsxs as h, jsx as t, Fragment as N } from "react/jsx-runtime";
|
|
2
|
-
import { createElement as _ } from "react";
|
|
3
|
-
import { I as x } from "./index-v7G2hPSn.js";
|
|
4
|
-
import { L as m } from "./Link-BZyN_6rI.js";
|
|
5
|
-
import { f as u } from "./date-format-CZUf6krO.js";
|
|
6
|
-
import { S as b } from "./index-BymofdAP.js";
|
|
7
|
-
import { N as k } from "./index-DqtiXHWZ.js";
|
|
8
|
-
import { B as O } from "./index-C0T6q1l6.js";
|
|
9
|
-
import { c as j } from "./compileStyleProps-C3Ic-G8F.js";
|
|
10
|
-
import './assets/dynamicMainSlot.css';const I = "_content_1tvgz_1", D = {
|
|
11
|
-
content: I
|
|
12
|
-
}, L = "_content_1j0pj_1", M = "_contentNews_1j0pj_10", $ = "_linkTitle_1j0pj_27", B = "_tag_1j0pj_35", C = "_tagmx_1j0pj_55", P = "_titular_1j0pj_70", T = "_correspondent_1j0pj_85", A = "_correspondentLink_1j0pj_96", H = "_description_1j0pj_107", r = {
|
|
13
|
-
content: L,
|
|
14
|
-
contentNews: M,
|
|
15
|
-
linkTitle: $,
|
|
16
|
-
tag: B,
|
|
17
|
-
tagmx: C,
|
|
18
|
-
titular: P,
|
|
19
|
-
correspondent: T,
|
|
20
|
-
correspondentLink: A,
|
|
21
|
-
description: H
|
|
22
|
-
}, a = (e) => {
|
|
23
|
-
const i = () => {
|
|
24
|
-
if (e?.config?.showtime && e.config?.showauthor)
|
|
25
|
-
return `${e?.authors[0]?.fullname} - ${u(
|
|
26
|
-
e.info?.date?.modified
|
|
27
|
-
)}`;
|
|
28
|
-
if (e.config?.showauthor)
|
|
29
|
-
return e?.authors[0]?.fullname;
|
|
30
|
-
if (e?.config?.showtime)
|
|
31
|
-
return u(e.info?.date?.modified);
|
|
32
|
-
};
|
|
33
|
-
return /* @__PURE__ */ h("section", { className: `${r.content} destacado-super-content`, children: [
|
|
34
|
-
/* @__PURE__ */ t(
|
|
35
|
-
m,
|
|
36
|
-
{
|
|
37
|
-
href: e?.info?.link?.url,
|
|
38
|
-
target: e?.info?.link?.target,
|
|
39
|
-
style: {
|
|
40
|
-
"--heightImageOverwrite": e.heightImageOverwrite ? e.heightImageOverwrite : "51.8%",
|
|
41
|
-
"--heightImageOverwriteMobile": e.heightImageOverwriteMobile ? e.heightImageOverwriteMobile : "491px",
|
|
42
|
-
"--fontSizeImageNewsTitleMobile": e.isVertical ? "20px" : "1.75rem",
|
|
43
|
-
"--lineHeightImageNewsTitleMobile": e.isVertical ? "26px" : "36px"
|
|
44
|
-
},
|
|
45
|
-
children: /* @__PURE__ */ t(
|
|
46
|
-
x,
|
|
47
|
-
{
|
|
48
|
-
preview: e.preview,
|
|
49
|
-
isLarge: !0,
|
|
50
|
-
BackDropAuxHeigthMobile: "513px",
|
|
51
|
-
priorityHigh: !0
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
}
|
|
55
|
-
),
|
|
56
|
-
/* @__PURE__ */ h(
|
|
57
|
-
"div",
|
|
58
|
-
{
|
|
59
|
-
className: r.contentNews,
|
|
60
|
-
style: {
|
|
61
|
-
"--widthTextContent": e.textPosition === "start" ? "100%" : "80%"
|
|
62
|
-
},
|
|
63
|
-
children: [
|
|
64
|
-
/* @__PURE__ */ t(m, { className: r.tagmx, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
65
|
-
/* @__PURE__ */ h(
|
|
66
|
-
"div",
|
|
67
|
-
{
|
|
68
|
-
style: {
|
|
69
|
-
position: "relative"
|
|
70
|
-
},
|
|
71
|
-
children: [
|
|
72
|
-
/* @__PURE__ */ t(m, { className: r.tag, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
73
|
-
/* @__PURE__ */ t(
|
|
74
|
-
m,
|
|
75
|
-
{
|
|
76
|
-
className: r.linkTitle,
|
|
77
|
-
href: e?.info?.link?.url,
|
|
78
|
-
target: e?.info?.link?.target,
|
|
79
|
-
children: /* @__PURE__ */ t(
|
|
80
|
-
"h1",
|
|
81
|
-
{
|
|
82
|
-
className: r.titular,
|
|
83
|
-
style: {
|
|
84
|
-
"--titlePosition": e.textPosition === "start" ? "initial" : "center"
|
|
85
|
-
},
|
|
86
|
-
children: e?.main?.title?.home
|
|
87
|
-
}
|
|
88
|
-
)
|
|
89
|
-
}
|
|
90
|
-
)
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
),
|
|
94
|
-
e.config?.showsubtitle && /* @__PURE__ */ t(
|
|
95
|
-
"div",
|
|
96
|
-
{
|
|
97
|
-
className: r.description,
|
|
98
|
-
dangerouslySetInnerHTML: {
|
|
99
|
-
__html: e.main.subtitle.striped
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
),
|
|
103
|
-
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ t(N, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ t(
|
|
104
|
-
m,
|
|
105
|
-
{
|
|
106
|
-
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
107
|
-
className: r.correspondent,
|
|
108
|
-
children: i()
|
|
109
|
-
}
|
|
110
|
-
) : /* @__PURE__ */ t("p", { className: r.correspondentLink, children: i() }) })
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
)
|
|
114
|
-
] });
|
|
115
|
-
}, f = (e) => {
|
|
116
|
-
const {
|
|
117
|
-
main: i,
|
|
118
|
-
authors: o,
|
|
119
|
-
info: n,
|
|
120
|
-
preview: c,
|
|
121
|
-
isVideo: s,
|
|
122
|
-
config: l,
|
|
123
|
-
itemReverseOrder: w,
|
|
124
|
-
imageSize: y,
|
|
125
|
-
showSuper: v
|
|
126
|
-
} = e;
|
|
127
|
-
return /* @__PURE__ */ h("section", { className: D.content, children: [
|
|
128
|
-
v ? /* @__PURE__ */ t(
|
|
129
|
-
"section",
|
|
130
|
-
{
|
|
131
|
-
style: {
|
|
132
|
-
...e.customSectionCardStyles
|
|
133
|
-
},
|
|
134
|
-
children: /* @__PURE__ */ t(
|
|
135
|
-
a,
|
|
136
|
-
{
|
|
137
|
-
main: i,
|
|
138
|
-
authors: o,
|
|
139
|
-
info: n,
|
|
140
|
-
preview: c,
|
|
141
|
-
isVideo: s,
|
|
142
|
-
config: l,
|
|
143
|
-
paths: e.paths
|
|
144
|
-
}
|
|
145
|
-
)
|
|
146
|
-
}
|
|
147
|
-
) : /* @__PURE__ */ t(
|
|
148
|
-
b,
|
|
149
|
-
{
|
|
150
|
-
...e,
|
|
151
|
-
main: i,
|
|
152
|
-
authors: o,
|
|
153
|
-
info: n,
|
|
154
|
-
preview: c,
|
|
155
|
-
isVideo: s,
|
|
156
|
-
config: l,
|
|
157
|
-
priorityHigh: !0
|
|
158
|
-
}
|
|
159
|
-
),
|
|
160
|
-
e.banners && /* @__PURE__ */ t(
|
|
161
|
-
O,
|
|
162
|
-
{
|
|
163
|
-
banners: e.banners,
|
|
164
|
-
name: "main_block_" + (e.rightOnlyBanner ? 1 : 2)
|
|
165
|
-
}
|
|
166
|
-
),
|
|
167
|
-
!e.rightOnlyBanner && /* @__PURE__ */ t(
|
|
168
|
-
k,
|
|
169
|
-
{
|
|
170
|
-
block: e.block,
|
|
171
|
-
itemReverseOrder: w,
|
|
172
|
-
priorityHigh: !0,
|
|
173
|
-
imageSize: y,
|
|
174
|
-
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
175
|
-
paths: e.paths
|
|
176
|
-
}
|
|
177
|
-
)
|
|
178
|
-
] });
|
|
179
|
-
}, V = "_content_1dcf7_1", z = "_firstSection_1dcf7_10", p = "_secondSection_1dcf7_16", g = {
|
|
180
|
-
content: V,
|
|
181
|
-
firstSection: z,
|
|
182
|
-
secondSection: p
|
|
183
|
-
}, R = ({
|
|
184
|
-
content: e,
|
|
185
|
-
customLargeSection: i,
|
|
186
|
-
customSmallSection: o,
|
|
187
|
-
paths: n
|
|
188
|
-
}) => {
|
|
189
|
-
const c = e[0];
|
|
190
|
-
return Array.isArray(e) && e.length > 0 && c && /* @__PURE__ */ h("section", { className: g.content, children: [
|
|
191
|
-
/* @__PURE__ */ t("div", { style: i, className: g.firstSection, children: /* @__PURE__ */ t(
|
|
192
|
-
a,
|
|
193
|
-
{
|
|
194
|
-
...c,
|
|
195
|
-
textPosition: "start",
|
|
196
|
-
heightImageOverwrite: "512px",
|
|
197
|
-
heightImageOverwriteMobile: "270px",
|
|
198
|
-
paths: n
|
|
199
|
-
}
|
|
200
|
-
) }),
|
|
201
|
-
/* @__PURE__ */ t("div", { style: o, className: g.secondSection, children: e.map((s, l) => l > 0 && /* @__PURE__ */ _(
|
|
202
|
-
a,
|
|
203
|
-
{
|
|
204
|
-
...s,
|
|
205
|
-
key: l,
|
|
206
|
-
textPosition: "start",
|
|
207
|
-
heightImageOverwrite: "256px",
|
|
208
|
-
heightImageOverwriteMobile: "270px",
|
|
209
|
-
paths: n
|
|
210
|
-
}
|
|
211
|
-
)) })
|
|
212
|
-
] });
|
|
213
|
-
}, E = "_content_wsx1m_1", F = "_firstSection_wsx1m_8", d = {
|
|
214
|
-
content: E,
|
|
215
|
-
firstSection: F
|
|
216
|
-
}, q = ({
|
|
217
|
-
content: e,
|
|
218
|
-
customLargeSection: i,
|
|
219
|
-
customSlimSection: o,
|
|
220
|
-
paths: n
|
|
221
|
-
}) => Array.isArray(e) && e.length > 0 && /* @__PURE__ */ t("section", { className: d.content, children: e.map((c, s) => s === 0 ? /* @__PURE__ */ t(
|
|
222
|
-
"div",
|
|
223
|
-
{
|
|
224
|
-
style: i,
|
|
225
|
-
className: d.firstSection,
|
|
226
|
-
children: /* @__PURE__ */ t(
|
|
227
|
-
a,
|
|
228
|
-
{
|
|
229
|
-
...c,
|
|
230
|
-
isVertical: !0,
|
|
231
|
-
textPosition: "start",
|
|
232
|
-
heightImageOverwrite: "512px",
|
|
233
|
-
heightImageOverwriteMobile: "270px",
|
|
234
|
-
paths: n
|
|
235
|
-
}
|
|
236
|
-
)
|
|
237
|
-
},
|
|
238
|
-
s
|
|
239
|
-
) : /* @__PURE__ */ t("section", { style: o, children: /* @__PURE__ */ _(
|
|
240
|
-
a,
|
|
241
|
-
{
|
|
242
|
-
...c,
|
|
243
|
-
key: s,
|
|
244
|
-
isVertical: !0,
|
|
245
|
-
textPosition: "start",
|
|
246
|
-
heightImageOverwrite: "512px",
|
|
247
|
-
heightImageOverwriteMobile: "270px",
|
|
248
|
-
paths: n
|
|
249
|
-
}
|
|
250
|
-
) }, s)) }), S = {
|
|
251
|
-
Diario: (e) => {
|
|
252
|
-
if (!e?.data || e.data.length === 0) return;
|
|
253
|
-
const i = e.data.slice(1);
|
|
254
|
-
return /* @__PURE__ */ t(
|
|
255
|
-
f,
|
|
256
|
-
{
|
|
257
|
-
...e.data[0],
|
|
258
|
-
itemReverseOrder: !0,
|
|
259
|
-
isLarge: !0,
|
|
260
|
-
block: i,
|
|
261
|
-
banners: e.banners,
|
|
262
|
-
showSuper: e.showSuper,
|
|
263
|
-
rightOnlyBanner: e.rightOnlyBanner,
|
|
264
|
-
customSectionCardStyles: e.customSectionCardStyles,
|
|
265
|
-
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
266
|
-
paths: e.paths
|
|
267
|
-
}
|
|
268
|
-
);
|
|
269
|
-
},
|
|
270
|
-
"Diario con imagen": (e) => {
|
|
271
|
-
if (!e?.data || e.data.length === 0) return;
|
|
272
|
-
const i = e.data.slice(1);
|
|
273
|
-
return /* @__PURE__ */ t(
|
|
274
|
-
f,
|
|
275
|
-
{
|
|
276
|
-
...e.data[0],
|
|
277
|
-
itemReverseOrder: !0,
|
|
278
|
-
isLarge: !0,
|
|
279
|
-
showSuper: e.showSuper,
|
|
280
|
-
block: i,
|
|
281
|
-
banners: e.banners,
|
|
282
|
-
customSectionCardStyles: e.customSectionCardStyles,
|
|
283
|
-
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
284
|
-
paths: e.paths
|
|
285
|
-
}
|
|
286
|
-
);
|
|
287
|
-
},
|
|
288
|
-
Super: (e) => /* @__PURE__ */ t(a, { ...e.data[0], paths: e.paths }),
|
|
289
|
-
"3 notas verticales": (e) => /* @__PURE__ */ t(
|
|
290
|
-
q,
|
|
291
|
-
{
|
|
292
|
-
content: e.data,
|
|
293
|
-
customLargeSection: e.customLargeSection,
|
|
294
|
-
customSlimSection: e.customSlimSection,
|
|
295
|
-
paths: e.paths
|
|
296
|
-
}
|
|
297
|
-
),
|
|
298
|
-
"3 notas horizontales": (e) => /* @__PURE__ */ t(
|
|
299
|
-
R,
|
|
300
|
-
{
|
|
301
|
-
content: e.data,
|
|
302
|
-
customLargeSection: e.customLargeSection,
|
|
303
|
-
customSmallSection: e.customSmallSection,
|
|
304
|
-
paths: e.paths
|
|
305
|
-
}
|
|
306
|
-
)
|
|
307
|
-
}, ee = ({
|
|
308
|
-
component: e,
|
|
309
|
-
data: i,
|
|
310
|
-
banners: o,
|
|
311
|
-
rightOnlyBanner: n
|
|
312
|
-
}) => /* @__PURE__ */ t("div", { style: j(i), children: S[e] && S[e]({
|
|
313
|
-
...i,
|
|
314
|
-
rightOnlyBanner: n,
|
|
315
|
-
banners: o
|
|
316
|
-
}) });
|
|
317
|
-
export {
|
|
318
|
-
ee as D
|
|
319
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/dynamicMainSlot.css');const t=require("react/jsx-runtime"),S=require("react"),w=require("./index-IuGcJ86k.cjs"),h=require("./Link-CHPphz3c.cjs"),u=require("./date-format-JqOZCdHW.cjs"),y=require("./index-BeX3dr5Y.cjs"),v=require("./index-MFdRBVph.cjs"),N=require("./index-D13w3ohD.cjs"),k=require("./compileStyleProps-5AwxR1Kg.cjs"),b="_content_1tvgz_1",O={content:b},D="_content_1j0pj_1",I="_contentNews_1j0pj_10",L="_linkTitle_1j0pj_27",$="_tag_1j0pj_35",M="_tagmx_1j0pj_55",q="_titular_1j0pj_70",B="_correspondent_1j0pj_85",P="_correspondentLink_1j0pj_96",C="_description_1j0pj_107",r={content:D,contentNews:I,linkTitle:L,tag:$,tagmx:M,titular:q,correspondent:B,correspondentLink:P,description:C},a=e=>{const i=()=>{if(e?.config?.showtime&&e.config?.showauthor)return`${e?.authors[0]?.fullname} - ${u.formatDate(e.info?.date?.modified)}`;if(e.config?.showauthor)return e?.authors[0]?.fullname;if(e?.config?.showtime)return u.formatDate(e.info?.date?.modified)};return t.jsxs("section",{className:`${r.content} destacado-super-content`,children:[t.jsx(h.Link,{href:e?.info?.link?.url,target:e?.info?.link?.target,style:{"--heightImageOverwrite":e.heightImageOverwrite?e.heightImageOverwrite:"51.8%","--heightImageOverwriteMobile":e.heightImageOverwriteMobile?e.heightImageOverwriteMobile:"491px","--fontSizeImageNewsTitleMobile":e.isVertical?"20px":"1.75rem","--lineHeightImageNewsTitleMobile":e.isVertical?"26px":"36px"},children:t.jsx(w.Image,{preview:e.preview,isLarge:!0,BackDropAuxHeigthMobile:"513px",priorityHigh:!0})}),t.jsxs("div",{className:r.contentNews,style:{"--widthTextContent":e.textPosition==="start"?"100%":"80%"},children:[t.jsx(h.Link,{className:r.tagmx,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsxs("div",{style:{position:"relative"},children:[t.jsx(h.Link,{className:r.tag,href:e?.info?.section?.url,children:e?.info?.section?.name}),t.jsx(h.Link,{className:r.linkTitle,href:e?.info?.link?.url,target:e?.info?.link?.target,children:t.jsx("h1",{className:r.titular,style:{"--titlePosition":e.textPosition==="start"?"initial":"center"},children:e?.main?.title?.home})})]}),e.config?.showsubtitle&&t.jsx("div",{className:r.description,dangerouslySetInnerHTML:{__html:e.main.subtitle.striped}}),e?.config?.showtime&&e.config?.showauthor&&t.jsx(t.Fragment,{children:e.authors[0]?.internaluser?t.jsx(h.Link,{href:`/${e.paths?.autor??"autor"}/${e?.authors[0]?.name}`,className:r.correspondent,children:i()}):t.jsx("p",{className:r.correspondentLink,children:i()})})]})]})},g=e=>{const{main:i,authors:o,info:n,preview:c,isVideo:s,config:l,itemReverseOrder:j,imageSize:_,showSuper:f}=e;return t.jsxs("section",{className:O.content,children:[f?t.jsx("section",{style:{...e.customSectionCardStyles},children:t.jsx(a,{main:i,authors:o,info:n,preview:c,isVideo:s,config:l,paths:e.paths})}):t.jsx(y.SectionCard,{...e,main:i,authors:o,info:n,preview:c,isVideo:s,config:l,priorityHigh:!0}),e.banners&&t.jsx(N.BannerAdvertising,{banners:e.banners,name:"main_block_"+(e.rightOnlyBanner?1:2)}),!e.rightOnlyBanner&&t.jsx(v.NewDescriptionBlock,{block:e.block,itemReverseOrder:j,priorityHigh:!0,imageSize:_,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})]})},T="_content_1dcf7_1",A="_firstSection_1dcf7_10",H="_secondSection_1dcf7_16",m={content:T,firstSection:A,secondSection:H},V=({content:e,customLargeSection:i,customSmallSection:o,paths:n})=>{const c=e[0];return Array.isArray(e)&&e.length>0&&c&&t.jsxs("section",{className:m.content,children:[t.jsx("div",{style:i,className:m.firstSection,children:t.jsx(a,{...c,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n})}),t.jsx("div",{style:o,className:m.secondSection,children:e.map((s,l)=>l>0&&S.createElement(a,{...s,key:l,textPosition:"start",heightImageOverwrite:"256px",heightImageOverwriteMobile:"270px",paths:n}))})]})},z="_content_wsx1m_1",R="_firstSection_wsx1m_8",x={content:z,firstSection:R},E=({content:e,customLargeSection:i,customSlimSection:o,paths:n})=>Array.isArray(e)&&e.length>0&&t.jsx("section",{className:x.content,children:e.map((c,s)=>s===0?t.jsx("div",{style:i,className:x.firstSection,children:t.jsx(a,{...c,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n})},s):t.jsx("section",{style:o,children:S.createElement(a,{...c,key:s,isVertical:!0,textPosition:"start",heightImageOverwrite:"512px",heightImageOverwriteMobile:"270px",paths:n})},s))}),d={Diario:e=>{if(!e?.data||e.data.length===0)return;const i=e.data.slice(1);return t.jsx(g,{...e.data[0],itemReverseOrder:!0,isLarge:!0,block:i,banners:e.banners,showSuper:e.showSuper,rightOnlyBanner:e.rightOnlyBanner,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},"Diario con imagen":e=>{if(!e?.data||e.data.length===0)return;const i=e.data.slice(1);return t.jsx(g,{...e.data[0],itemReverseOrder:!0,isLarge:!0,showSuper:e.showSuper,block:i,banners:e.banners,customSectionCardStyles:e.customSectionCardStyles,customNewsDescriptionStyles:e.customNewsDescriptionStyles,paths:e.paths})},Super:e=>t.jsx(a,{...e.data[0],paths:e.paths}),"3 notas verticales":e=>t.jsx(E,{content:e.data,customLargeSection:e.customLargeSection,customSlimSection:e.customSlimSection,paths:e.paths}),"3 notas horizontales":e=>t.jsx(V,{content:e.data,customLargeSection:e.customLargeSection,customSmallSection:e.customSmallSection,paths:e.paths})},F=({component:e,data:i,banners:o,rightOnlyBanner:n})=>t.jsx("div",{style:k.compileStyleProps(i),children:d[e]&&d[e]({...i,rightOnlyBanner:n,banners:o})});exports.DynamicMainSlot=F;
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
|
-
import { S as m } from "./index-DwDCC2st.js";
|
|
3
|
-
import { S as u } from "./index-CXLoOs8-.js";
|
|
4
|
-
import { C as h } from "./index-nmL6Djl5.js";
|
|
5
|
-
import { createElement as w } from "react";
|
|
6
|
-
import { c as g } from "./compileStyleProps-C3Ic-G8F.js";
|
|
7
|
-
import { I as N } from "./index-v7G2hPSn.js";
|
|
8
|
-
import { S as b } from "./index-BymofdAP.js";
|
|
9
|
-
import { M } from "./index-DJDV_9DI.js";
|
|
10
|
-
import { C as S } from "./index-Bj5wiOtg.js";
|
|
11
|
-
import { C as v } from "./index-BziV6H04.js";
|
|
12
|
-
import { D as y } from "./index-CQK9ULhe.js";
|
|
13
|
-
import { D as x } from "./index-DfxT97ME.js";
|
|
14
|
-
import { M as p } from "./index-t891F8AX.js";
|
|
15
|
-
import { M as D } from "./index-BASp9Rw7.js";
|
|
16
|
-
import { M as I } from "./index-CuXn2KNK.js";
|
|
17
|
-
import { R as H } from "./index-BuFCv_ZK.js";
|
|
18
|
-
import { B as k } from "./index-C0T6q1l6.js";
|
|
19
|
-
import './assets/dynamicSlot.css';const U = (t) => {
|
|
20
|
-
const { content: o, title: r, slot_id: l } = t, a = t.slot_id && t.slot_id !== "Nota_1";
|
|
21
|
-
return o && o.length !== 0 && /* @__PURE__ */ e(m, { title: r, titleUrl: t.titleUrl, children: /* @__PURE__ */ e(h, { slot_id: l, cardWidth: 200, children: o.map((i, s) => {
|
|
22
|
-
const n = { ...i, main: {
|
|
23
|
-
...i.main,
|
|
24
|
-
title: { ...i.main.title, section: a ? i.main.title.home : i.main.title.section }
|
|
25
|
-
} };
|
|
26
|
-
return /* @__PURE__ */ e(
|
|
27
|
-
u,
|
|
28
|
-
{
|
|
29
|
-
...n,
|
|
30
|
-
titleGradient: !0,
|
|
31
|
-
paths: t.paths
|
|
32
|
-
},
|
|
33
|
-
s
|
|
34
|
-
);
|
|
35
|
-
}) }) });
|
|
36
|
-
}, G = (t) => {
|
|
37
|
-
const { content: o, title: r, slot_id: l } = t, a = t.slot_id && t.slot_id !== "Nota_1";
|
|
38
|
-
return o && o.length !== 0 && /* @__PURE__ */ e(m, { title: r, titleUrl: t.titleUrl, children: /* @__PURE__ */ e(
|
|
39
|
-
h,
|
|
40
|
-
{
|
|
41
|
-
slot_id: l,
|
|
42
|
-
cardWidth: 343,
|
|
43
|
-
cardGap: 32,
|
|
44
|
-
visibleItems: 3,
|
|
45
|
-
children: o.map((i, s) => {
|
|
46
|
-
const n = { ...i, main: {
|
|
47
|
-
...i.main,
|
|
48
|
-
title: { ...i.main.title, section: a ? i.main.title.home : i.main.title.section }
|
|
49
|
-
} };
|
|
50
|
-
return /* @__PURE__ */ e(
|
|
51
|
-
u,
|
|
52
|
-
{
|
|
53
|
-
...n,
|
|
54
|
-
titleGradient: !0,
|
|
55
|
-
paths: t.paths
|
|
56
|
-
},
|
|
57
|
-
s
|
|
58
|
-
);
|
|
59
|
-
})
|
|
60
|
-
}
|
|
61
|
-
) });
|
|
62
|
-
}, T = (t) => {
|
|
63
|
-
const { content: o, title: r, slot_id: l } = t, a = t.slot_id && t.slot_id !== "Nota_1";
|
|
64
|
-
return o && o.length !== 0 && /* @__PURE__ */ e(m, { title: r, titleUrl: t.titleUrl, children: /* @__PURE__ */ e(
|
|
65
|
-
h,
|
|
66
|
-
{
|
|
67
|
-
slot_id: l,
|
|
68
|
-
fullPageWidth: !0,
|
|
69
|
-
visibleItems: 1,
|
|
70
|
-
pagination: !0,
|
|
71
|
-
cardGap: 0,
|
|
72
|
-
children: o.map((i, s) => {
|
|
73
|
-
const n = { ...i, main: {
|
|
74
|
-
...i.main,
|
|
75
|
-
title: { ...i.main.title, section: a ? i.main.title.home : i.main.title.section }
|
|
76
|
-
} };
|
|
77
|
-
return /* @__PURE__ */ w(
|
|
78
|
-
u,
|
|
79
|
-
{
|
|
80
|
-
...n,
|
|
81
|
-
key: s,
|
|
82
|
-
titleGradient: !0,
|
|
83
|
-
paths: t.paths
|
|
84
|
-
}
|
|
85
|
-
);
|
|
86
|
-
})
|
|
87
|
-
}
|
|
88
|
-
) });
|
|
89
|
-
}, W = "_headerSection_1c69w_1", A = "_title_1c69w_11", O = "_subtitle_1c69w_23", R = "_newsContent_1c69w_36", j = "_containerCards_1c69w_44", B = "_image_1c69w_50", F = "_blockHeadContainer_1c69w_56", c = {
|
|
90
|
-
headerSection: W,
|
|
91
|
-
title: A,
|
|
92
|
-
subtitle: O,
|
|
93
|
-
newsContent: R,
|
|
94
|
-
containerCards: j,
|
|
95
|
-
image: B,
|
|
96
|
-
blockHeadContainer: F
|
|
97
|
-
}, P = (t) => {
|
|
98
|
-
const { content: o, title: r, isVideo: l } = t;
|
|
99
|
-
if (!o || o.length === 0) return;
|
|
100
|
-
const a = o[0], i = o.slice(1), s = t.slot_id && t.slot_id !== "Nota_1";
|
|
101
|
-
return a && i && /* @__PURE__ */ d(m, { title: r, titleUrl: t.titleUrl, children: [
|
|
102
|
-
/* @__PURE__ */ e("div", { className: c.headerSection, children: /* @__PURE__ */ d(
|
|
103
|
-
"a",
|
|
104
|
-
{
|
|
105
|
-
style: { "--heightImageOverwriteMobile": "200%" },
|
|
106
|
-
className: c.image,
|
|
107
|
-
href: a?.info?.link?.url,
|
|
108
|
-
target: a?.info?.link?.target,
|
|
109
|
-
children: [
|
|
110
|
-
/* @__PURE__ */ d("div", { className: c.blockHeadContainer, children: [
|
|
111
|
-
/* @__PURE__ */ e("p", { className: c.title, children: a?.main?.title.home }),
|
|
112
|
-
a?.main?.subtitle?.rendered && /* @__PURE__ */ e("p", { className: c.subtitle, children: a?.main?.subtitle?.striped })
|
|
113
|
-
] }),
|
|
114
|
-
/* @__PURE__ */ e(N, { preview: a.preview })
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
) }),
|
|
118
|
-
/* @__PURE__ */ d("div", { className: c.containerCards, children: [
|
|
119
|
-
/* @__PURE__ */ e("div", { className: "banner-context", style: { order: 1 }, children: t.banner }),
|
|
120
|
-
/* @__PURE__ */ e("div", { className: c.newsContent, children: Array.isArray(i) && i.map((n, _) => {
|
|
121
|
-
const C = {
|
|
122
|
-
...n,
|
|
123
|
-
main: {
|
|
124
|
-
...n.main,
|
|
125
|
-
title: {
|
|
126
|
-
...n.main.title,
|
|
127
|
-
section: s ? n.main.title.home : n.main.title.section
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
return /* @__PURE__ */ e("div", { style: { order: _ }, children: /* @__PURE__ */ e(
|
|
132
|
-
b,
|
|
133
|
-
{
|
|
134
|
-
...C,
|
|
135
|
-
isVideo: l,
|
|
136
|
-
paths: t.paths
|
|
137
|
-
}
|
|
138
|
-
) }, _);
|
|
139
|
-
}) })
|
|
140
|
-
] })
|
|
141
|
-
] });
|
|
142
|
-
}, f = {
|
|
143
|
-
banner: (t) => /* @__PURE__ */ e(k, { ...t, name: t.slot_id.replace("Home", "block") }),
|
|
144
|
-
readest: (t) => /* @__PURE__ */ e(H, { ...t }),
|
|
145
|
-
"Modulo 1x3": (t) => /* @__PURE__ */ e(I, { ...t }),
|
|
146
|
-
"Modulo 1x4": (t) => /* @__PURE__ */ e(D, { ...t }),
|
|
147
|
-
"Modulo 1x5": (t) => /* @__PURE__ */ e(p, { ...t }),
|
|
148
|
-
"Destacado noticias": (t) => /* @__PURE__ */ e(x, { ...t }),
|
|
149
|
-
"Destacado full width": (t) => /* @__PURE__ */ e(P, { ...t }),
|
|
150
|
-
"Destacado videos": (t) => /* @__PURE__ */ e(y, { ...t }),
|
|
151
|
-
"Carrusel card": (t) => /* @__PURE__ */ e(v, { ...t }),
|
|
152
|
-
"Carrusel story": (t) => /* @__PURE__ */ e(U, { ...t }),
|
|
153
|
-
"Carrusel owl": (t) => /* @__PURE__ */ e(G, { ...t }),
|
|
154
|
-
"Modulo fotogaleria": (t) => /* @__PURE__ */ e(T, { ...t }),
|
|
155
|
-
"Carrusel opinion": (t) => /* @__PURE__ */ e(S, { ...t }),
|
|
156
|
-
"Modulo 1x3 card": (t) => /* @__PURE__ */ e(M, { ...t })
|
|
157
|
-
};
|
|
158
|
-
function rt({
|
|
159
|
-
component: t,
|
|
160
|
-
slot_id: o,
|
|
161
|
-
data: r,
|
|
162
|
-
banners: l
|
|
163
|
-
}) {
|
|
164
|
-
if (l)
|
|
165
|
-
return f[t] && /* @__PURE__ */ e("div", { className: "home-slot", style: g(r), children: f[t]({ ...r, banners: l, slot_id: o }) });
|
|
166
|
-
}
|
|
167
|
-
export {
|
|
168
|
-
rt as D
|
|
169
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/dynamicSlot.css');const t=require("react/jsx-runtime"),d=require("./index-vaHN-n9C.cjs"),u=require("./index-BrzzDteW.cjs"),x=require("./index-CWaNsBNE.cjs"),j=require("react"),C=require("./compileStyleProps-5AwxR1Kg.cjs"),S=require("./index-IuGcJ86k.cjs"),w=require("./index-BeX3dr5Y.cjs"),g=require("./index-Dw11uZRk.cjs"),q=require("./index-BfMDHQVZ.cjs"),b=require("./index-XVuBbMF3.cjs"),N=require("./index-FHGXNMMw.cjs"),v=require("./index-CuGk1qLi.cjs"),y=require("./index-8AIZcUFg.cjs"),$=require("./index-D5sbe8cc.cjs"),f=require("./index-DIbgvdRF.cjs"),I=require("./index-C09PzuZV.cjs"),M=require("./index-D13w3ohD.cjs"),H=e=>{const{content:n,title:r,slot_id:l}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(d.Section,{title:r,titleUrl:e.titleUrl,children:t.jsx(x.CarrouselIRS,{slot_id:l,cardWidth:200,children:n.map((i,a)=>{const o={...i,main:{...i.main,title:{...i.main.title,section:s?i.main.title.home:i.main.title.section}}};return t.jsx(u.SectionCard2,{...o,titleGradient:!0,paths:e.paths},a)})})})},k=e=>{const{content:n,title:r,slot_id:l}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(d.Section,{title:r,titleUrl:e.titleUrl,children:t.jsx(x.CarrouselIRS,{slot_id:l,cardWidth:343,cardGap:32,visibleItems:3,children:n.map((i,a)=>{const o={...i,main:{...i.main,title:{...i.main.title,section:s?i.main.title.home:i.main.title.section}}};return t.jsx(u.SectionCard2,{...o,titleGradient:!0,paths:e.paths},a)})})})},D=e=>{const{content:n,title:r,slot_id:l}=e,s=e.slot_id&&e.slot_id!=="Nota_1";return n&&n.length!==0&&t.jsx(d.Section,{title:r,titleUrl:e.titleUrl,children:t.jsx(x.CarrouselIRS,{slot_id:l,fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:n.map((i,a)=>{const o={...i,main:{...i.main,title:{...i.main.title,section:s?i.main.title.home:i.main.title.section}}};return j.createElement(u.SectionCard2,{...o,key:a,titleGradient:!0,paths:e.paths})})})})},U="_headerSection_1c69w_1",R="_title_1c69w_11",G="_subtitle_1c69w_23",T="_newsContent_1c69w_36",W="_containerCards_1c69w_44",A="_image_1c69w_50",O="_blockHeadContainer_1c69w_56",c={headerSection:U,title:R,subtitle:G,newsContent:T,containerCards:W,image:A,blockHeadContainer:O},P=e=>{const{content:n,title:r,isVideo:l}=e;if(!n||n.length===0)return;const s=n[0],i=n.slice(1),a=e.slot_id&&e.slot_id!=="Nota_1";return s&&i&&t.jsxs(d.Section,{title:r,titleUrl:e.titleUrl,children:[t.jsx("div",{className:c.headerSection,children:t.jsxs("a",{style:{"--heightImageOverwriteMobile":"200%"},className:c.image,href:s?.info?.link?.url,target:s?.info?.link?.target,children:[t.jsxs("div",{className:c.blockHeadContainer,children:[t.jsx("p",{className:c.title,children:s?.main?.title.home}),s?.main?.subtitle?.rendered&&t.jsx("p",{className:c.subtitle,children:s?.main?.subtitle?.striped})]}),t.jsx(S.Image,{preview:s.preview})]})}),t.jsxs("div",{className:c.containerCards,children:[t.jsx("div",{className:"banner-context",style:{order:1},children:e.banner}),t.jsx("div",{className:c.newsContent,children:Array.isArray(i)&&i.map((o,m)=>{const _={...o,main:{...o.main,title:{...o.main.title,section:a?o.main.title.home:o.main.title.section}}};return t.jsx("div",{style:{order:m},children:t.jsx(w.SectionCard,{..._,isVideo:l,paths:e.paths})},m)})})]})]})},h={banner:e=>t.jsx(M.BannerAdvertising,{...e,name:e.slot_id.replace("Home","block")}),readest:e=>t.jsx(I.Readest,{...e}),"Modulo 1x3":e=>t.jsx(f.Modulo1x3,{...e}),"Modulo 1x4":e=>t.jsx($.Modulo1x4,{...e}),"Modulo 1x5":e=>t.jsx(y.Modulo1x5,{...e}),"Destacado noticias":e=>t.jsx(v.DestacadoNoticias,{...e}),"Destacado full width":e=>t.jsx(P,{...e}),"Destacado videos":e=>t.jsx(N.DestacadoVideos,{...e}),"Carrusel card":e=>t.jsx(b.CarruselCard,{...e}),"Carrusel story":e=>t.jsx(H,{...e}),"Carrusel owl":e=>t.jsx(k,{...e}),"Modulo fotogaleria":e=>t.jsx(D,{...e}),"Carrusel opinion":e=>t.jsx(q.CarruselOpinion,{...e}),"Modulo 1x3 card":e=>t.jsx(g.Modulo1x3Card,{...e})};function F({component:e,slot_id:n,data:r,banners:l}){if(l)return h[e]&&t.jsx("div",{className:"home-slot",style:C.compileStyleProps(r),children:h[e]({...r,banners:l,slot_id:n})})}exports.DynamicSlot=F;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { g as e } from "./config-aAufvvYO.js";
|
|
2
|
-
const o = () => {
|
|
3
|
-
const { PUBLIC_ENV: n, PUBLIC_API_HOST: r, PUBLIC_ASSETS_URL: t } = e();
|
|
4
|
-
return n == "local" ? r : t !== "false" && t !== "false" ? t : "";
|
|
5
|
-
}, a = () => {
|
|
6
|
-
const { PUBLIC_ENV: n, PUBLIC_API_FRONT: r } = e();
|
|
7
|
-
return n === "local" ? r : "";
|
|
8
|
-
}, l = async (n) => `${o()}${n}`;
|
|
9
|
-
export {
|
|
10
|
-
o as a,
|
|
11
|
-
a as b,
|
|
12
|
-
l as g
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./config-BzB6kHCH.cjs"),o=()=>{const{PUBLIC_ENV:n,PUBLIC_API_HOST:t,PUBLIC_ASSETS_URL:r}=e.getConfig();return n=="local"?t:r!=="false"&&r!=="false"?r:""},l=()=>{const{PUBLIC_ENV:n,PUBLIC_API_FRONT:t}=e.getConfig();return n==="local"?t:""},U=async n=>`${o()}${n}`;exports.getEnvironmentUrl=o;exports.getEnvironmentUrlFront=l;exports.getImageUrl=U;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/image-offline.css');const e=require("react/jsx-runtime"),f=require("react"),m=require("./Play-DtFrAVg_.cjs"),_=require("./Close-C-8qzSDP.cjs"),u=require("./config-BzB6kHCH.cjs"),b="_figure_ooa5j_1",h="_backdrop_ooa5j_6",p="_backdropAux_ooa5j_16",x="_imageStyled_ooa5j_37",I="_boxPlayIcon_ooa5j_51",j="_playStyled_ooa5j_60",P="_imageLogoPlaceholder_ooa5j_77",S="_imagePlaceholder_ooa5j_98",s={figure:b,backdrop:h,backdropAux:p,imageStyled:x,boxPlayIcon:I,playStyled:j,imageLogoPlaceholder:P,imagePlaceholder:S},L=async a=>Buffer.from(await a.arrayBuffer()).toString("base64"),U=async(a,r)=>{try{const{PUBLIC_API_HOST:c,PUBLIC_OFFLINE_SITE:n}=u.getConfig(),i=r?.site??"",t=decodeURIComponent(i??""),l=r?.browser??"",o=await fetch(`${c}${a}`,{headers:{PROJECT:"Offline",SITE:"/sites/"+n,USER_TOKEN:t,BROWSER_ID:l||""}});if(!o.ok)return"invalidURL";const d=await o.blob();return`data:image/png;base64,${await L(d)}`}catch{return"invalidURL"}},k=a=>{const{preview:r,isVideo:c=!1,hasShadow:n=!1,priorityHigh:i=!1}=a,[t,l]=f.useState(void 0),o=r?.sizes;return f.useEffect(()=>{(async()=>{const{PUBLIC_IS_OFFLINE:g}=u.getConfig();if(g==="true"&&o?.[0]?.url){const y=await U(o[0].url,a.cookies);l(y)}else l(o?.[0]?.url)})()},[o,r,a.cookies]),o&&t&&t!=="invalidURL"?e.jsx("figure",{className:s.figure,children:e.jsxs("span",{className:s.backdrop,children:[e.jsx("span",{className:s.backdropAux}),e.jsxs("picture",{children:[e.jsx("img",{fetchPriority:i?"high":"low",loading:i?"eager":"lazy",className:s.imageStyled,style:{boxShadow:n?"0px 4px 8px 0px #00000033":"0px"},alt:r?.description||"",src:t}),c&&e.jsx("div",{className:s.playWrapper,children:e.jsx(m.Play,{})})]})]})}):t==="invalidURL"?e.jsx("div",{className:s.imageLogoPlaceholder,children:e.jsx(_.Close,{style:{color:"var(--grey-100)"}})}):e.jsx("div",{style:{display:"flex"},"data-hydrate":"ImageOffline","data-props":encodeURIComponent(JSON.stringify({...a,children:void 0})),children:e.jsx("div",{className:s.imagePlaceholder})})};exports.ImageOffline=k;exports.styles2=s;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as f } from "react/jsx-runtime";
|
|
2
|
-
import { useState as _, useEffect as y } from "react";
|
|
3
|
-
import { P as b } from "./Play-mVECew4T.js";
|
|
4
|
-
import { C as h } from "./Close-IzObL1Y8.js";
|
|
5
|
-
import { g as m } from "./config-aAufvvYO.js";
|
|
6
|
-
import './assets/image-offline.css';const u = "_figure_ooa5j_1", I = "_backdrop_ooa5j_6", P = "_backdropAux_ooa5j_16", S = "_imageStyled_ooa5j_37", x = "_boxPlayIcon_ooa5j_51", L = "_playStyled_ooa5j_60", U = "_imageLogoPlaceholder_ooa5j_77", k = "_imagePlaceholder_ooa5j_98", r = {
|
|
7
|
-
figure: u,
|
|
8
|
-
backdrop: I,
|
|
9
|
-
backdropAux: P,
|
|
10
|
-
imageStyled: S,
|
|
11
|
-
boxPlayIcon: x,
|
|
12
|
-
playStyled: L,
|
|
13
|
-
imageLogoPlaceholder: U,
|
|
14
|
-
imagePlaceholder: k
|
|
15
|
-
}, v = async (a) => Buffer.from(await a.arrayBuffer()).toString("base64"), w = async (a, s) => {
|
|
16
|
-
try {
|
|
17
|
-
const { PUBLIC_API_HOST: i, PUBLIC_OFFLINE_SITE: n } = m(), l = s?.site ?? "", t = decodeURIComponent(l ?? ""), c = s?.browser ?? "", o = await fetch(`${i}${a}`, {
|
|
18
|
-
headers: {
|
|
19
|
-
PROJECT: "Offline",
|
|
20
|
-
SITE: "/sites/" + n,
|
|
21
|
-
USER_TOKEN: t,
|
|
22
|
-
BROWSER_ID: c || ""
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
if (!o.ok) return "invalidURL";
|
|
26
|
-
const d = await o.blob();
|
|
27
|
-
return `data:image/png;base64,${await v(d)}`;
|
|
28
|
-
} catch {
|
|
29
|
-
return "invalidURL";
|
|
30
|
-
}
|
|
31
|
-
}, E = (a) => {
|
|
32
|
-
const {
|
|
33
|
-
preview: s,
|
|
34
|
-
isVideo: i = !1,
|
|
35
|
-
hasShadow: n = !1,
|
|
36
|
-
priorityHigh: l = !1
|
|
37
|
-
} = a, [t, c] = _(void 0), o = s?.sizes;
|
|
38
|
-
return y(() => {
|
|
39
|
-
(async () => {
|
|
40
|
-
const { PUBLIC_IS_OFFLINE: g } = m();
|
|
41
|
-
if (g === "true" && o?.[0]?.url) {
|
|
42
|
-
const p = await w(o[0].url, a.cookies);
|
|
43
|
-
c(p);
|
|
44
|
-
} else
|
|
45
|
-
c(o?.[0]?.url);
|
|
46
|
-
})();
|
|
47
|
-
}, [o, s, a.cookies]), o && t && t !== "invalidURL" ? /* @__PURE__ */ e("figure", { className: r.figure, children: /* @__PURE__ */ f("span", { className: r.backdrop, children: [
|
|
48
|
-
/* @__PURE__ */ e("span", { className: r.backdropAux }),
|
|
49
|
-
/* @__PURE__ */ f("picture", { children: [
|
|
50
|
-
/* @__PURE__ */ e(
|
|
51
|
-
"img",
|
|
52
|
-
{
|
|
53
|
-
fetchPriority: l ? "high" : "low",
|
|
54
|
-
loading: l ? "eager" : "lazy",
|
|
55
|
-
className: r.imageStyled,
|
|
56
|
-
style: {
|
|
57
|
-
boxShadow: n ? "0px 4px 8px 0px #00000033" : "0px"
|
|
58
|
-
},
|
|
59
|
-
alt: s?.description || "",
|
|
60
|
-
src: t
|
|
61
|
-
}
|
|
62
|
-
),
|
|
63
|
-
i && /* @__PURE__ */ e("div", { className: r.playWrapper, children: /* @__PURE__ */ e(b, {}) })
|
|
64
|
-
] })
|
|
65
|
-
] }) }) : t === "invalidURL" ? /* @__PURE__ */ e("div", { className: r.imageLogoPlaceholder, children: /* @__PURE__ */ e(h, { style: { color: "var(--grey-100)" } }) }) : /* @__PURE__ */ e(
|
|
66
|
-
"div",
|
|
67
|
-
{
|
|
68
|
-
style: { display: "flex" },
|
|
69
|
-
"data-hydrate": "ImageOffline",
|
|
70
|
-
"data-props": encodeURIComponent(
|
|
71
|
-
JSON.stringify({ ...a, children: void 0 })
|
|
72
|
-
),
|
|
73
|
-
children: /* @__PURE__ */ e("div", { className: r.imagePlaceholder })
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
E as I,
|
|
79
|
-
r as s
|
|
80
|
-
};
|
package/dist/index-01sxU_nQ.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),m=require("react"),r=require("./section.card.server-UGrsIo_p.cjs"),y=require("./index-DnIMib6U.cjs"),u=require("./index-79scsK_s.cjs"),j=require("./index-BVzh76v-.cjs"),o=require("./index-D13w3ohD.cjs"),A=n=>{const{data:s,currentPage:l,banners:a,slug:x,ranking:N,pathname:d,texts:i={}}=n,h=[3,8,13],g={3:1,8:2,13:3};switch(n.option){case"op1":return e.jsx(y.LayoutNewsComponent,{ranking:N,readestTitle:i.readestTitle??"",paths:n.paths,bannerTop:e.jsx(o.BannerAdvertising,{banners:a??[],name:"right_1"}),banner:e.jsx(o.BannerAdvertising,{banners:a??[],name:"right_2"}),children:e.jsx("section",{className:r.styles.content,children:s.length>0?e.jsx(u.NewsContent,{className:[r.styles.newsContentSection,"padding-0"].join(" "),paginatorComponent:e.jsx(j.NextPrev,{texts:i,pathname:d,query:"",currentPage:l,maxPages:n.PAGINATION_MAX_PAGES,showNext:!(s.length<n.NEWS_PER_SECTION)}),children:Array.isArray(s)&&s?.map((c,t)=>e.jsxs(m.Fragment,{children:[h.includes(t+1)&&e.jsx("div",{className:r.styles.itemContent+" banner-context",children:e.jsx(o.BannerAdvertising,{banners:a??[],name:`block_2_${g[t+1]}`})}),e.jsx(r.SectionCardServerComponent,{autorIcon:n.autorIcon,item:c,option:x,paths:n.paths},t)]},t))}):e.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:e.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:i.sectionNotResultMessage})})})});case"op2":return e.jsx(e.Fragment,{children:s.length>0?e.jsx(u.NewsContent,{className:"padding-0",paginatorComponent:e.jsx(j.NextPrev,{texts:i,pathname:d,query:"",currentPage:l,maxPages:n.PAGINATION_MAX_PAGES,showNext:!(s.length<n.NEWS_PER_SECTION)}),children:Array.isArray(s)&&s?.map((c,t)=>e.jsxs(m.Fragment,{children:[h.includes(t+1)&&e.jsx("div",{className:r.styles.itemContent,children:e.jsx(o.BannerAdvertising,{banners:a??[],name:`block_2_${g[t+1]}`})}),e.jsx(r.SectionCardServerComponent,{autorIcon:n.autorIcon,item:c,option:x,paths:n.paths},t)]},t))}):e.jsx("div",{style:{width:"100%",display:"flex",flexDirection:"column",justifyContent:"center",gap:"2rem"},children:e.jsx("p",{style:{fontWeight:"var(--fw)",width:"100%",fontSize:"18px",lineHeight:"26px",textAlign:"center"},children:i.sectionNotResultMessage})})});default:return e.jsx(e.Fragment,{})}};exports.SectionServerComponent=A;
|