PageSourceSearch

https://www.mensxp.com/build/digitalcoverslist-mobile.8cf22783.js

js mensxp.com collected 2026-10-02 02:35:55 UTC 3,946 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2092],{7009(e,r,t){t.r(r);var i=t(3718),s=t(3600),a=t(3926),c=t(7435),o=t(2198),l=t.n(o),n=t(9471),d=t(493),v=t(757),u=t(3948),m=t(1800),h=t(7671);function g(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?g(Object(t),!0).forEach(function(r){(0,i.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var j=function(e){var r=e.digitalCover,t=e.micrositeData,i=e.loopVideo;return(0,h.jsxs)("div",{className:"cover-big-card",children:[(0,h.jsxs)("div",{className:"cover-big-caption",children:[(0,h.jsxs)("span",{className:"cover-big-date",children:[l()(r.created_at).format("MMM")," ",l()(r.created_at).format("YYYY")," COVER"]}),(0,h.jsx)("span",{className:"cover-big-title text-center",children:t.card_title}),(0,h.jsx)(a.A,{to:r.slug,className:"cover-big-button",children:"VIEW"})]}),(0,h.jsx)("video",{src:i,playsInline:!0,muted:!0,autoPlay:!0,loop:!0,children:(0,h.jsx)("source",{src:i,type:"video/mp4"})}),(0,h.jsx)("span",{className:"fade-bg"})]})},f=function(e){var r=e.digitalCover,t=e.micrositeData;return t?(0,h.jsxs)("div",{className:"cover-card",children:[(0,h.jsx)(m.A,{className:"content",width:177,height:241,alt:t&&t.title?t.main_headlin:"",image_url:t?t.thumbnail_new_id:"",title:t&&t.title?t.main_headlin:""}),(0,h.jsxs)("div",{className:"cover-card-content",children:[(0,h.jsxs)("span",{className:"cover-card-date",children:[l()(r.created_at).format("MMM")," ",l()(r.created_at).format("YYYY"),"’ Cover"]}),(0,h.jsx)(a.A,{className:"cover-row-heading medium",to:r.slug,children:t.title}),(0,h.jsx)("div",{className:"cover-row-desc gap",dangerouslySetInnerHTML:{__html:(0,u.Kq)(r.description,100)}})]})]}):null};const _=function(e){var r=(0,c.A)().tt,t=e.fetchDigitalCoversList,i=v.OU.useLazyFetchDigitalCoversListQuery(),a=(0,s.A)(i,2),o=a[0],l=a[1],m=(0,n.useState)(!1),g=(0,s.A)(m,2),_=g[0],b=g[1],x=(0,n.useState)(!1),O=(0,s.A)(x,2),N=O[0],y=O[1],w=(0,n.useState)(2),A=(0,s.A)(w,2),D=A[0],C=A[1],L=(0,n.useState)(t),E=(0,s.A)(L,2),S=E[0],P=E[1];(0,n.useEffect)(function(){if(l.isSuccess){var e=(0,u.bQ)(l);if(e.records&&e.records.length>0){for(var r={},t=Object.keys(S),i=0;i<t.length;i++){var s=t[i];Array.isArray(e[s])?r[s]=S[s].concat(e[s]):r[s]=p(p({},e[s]),S[s])}C(D+1),P(r),y(!1)}}},[l]);if((0,n.useEffect)(function(){_&&!N&&(y(!0),o({limit:13,page:D}))},[_]),!(S.records&&S.records.length>0))return null;var M,Y=S.records,U=S.microsite_data,V=S.media,B=Y[0],H=U[B.id],I=null==H?void 0:H.loop_video_new;return I?M=(0,u.cO)((0,u.Bd)(I,V).media_path,"videoUrl"):(M=null==H?void 0:H.loop_video,H.loop_video_mobile&&(M=U.loop_video_mobile)),(0,h.jsxs)("div",{className:"cover-listing",children:[(0,h.jsxs)("div",{className:"cover-row",children:[(0,h.jsx)("h1",{className:"cover-row-heading big nogap",children:r("home.exclusive")}),(0,h.jsx)("p",{className:"cover-row-desc",children:r("digital.summery")})]}),(0,h.jsx)("div",{className:"cover-big",children:H&&M&&(0,h.jsx)(j,{digitalCover:B,micrositeData:H,loopVideo:M})}),(0,h.jsx)("div",{className:"cover-row",children:(0,h.jsx)("h2",{className:"cover-row-heading big",children:r("digital.celebrities")})}),(0,h.jsx)("div",{className:"cover-row d-flex",children:Y.length>1&&Y.map(function(e,r){return r>0?(0,h.jsx)(f,{digitalCover:e,micrositeData:U[e.id]},(0,u.M4)()):null})}),!N&&(0,h.jsx)(d.pL,{as:"div",onChange:function(e,r){return b(e)},children:(0,h.jsx)("div",{className:"",style:{height:40,width:100},children:" "})})]})};t.d(r,["default",0,_])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.