PageSourceSearch

https://newspicks.com/_next/static/chunks/pages/collection-3e3d19d041505114.js

js newspicks.com collected 2026-10-01 08:40:58 UTC 33,772 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5186],{81045:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/collection",function(){return t(78411)}])},78411:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return an}});var i=t(47568),r=t(97582),o=t(35944),a=t(67294),l=t(7297),c=t(68806),d=t(6897),s=t(14797),u=t(22008),f=t(31698);function h(){var e=(0,l.Z)(["\n  fragment CollectionTopPage on CollectionSection {\n    id\n    identifier\n    type\n    title\n    description\n    organizationId\n    nextCursor\n    collections {\n      ...CollectionCard\n      ...CarouselCollectionCard\n    }\n    collectionsForCarouselContent {\n      ...FeaturedCollectionCarouselSection\n    }\n  }\n  ","\n  ","\n  ","\n"]);return h=function(){return e},e}var v=(0,c.Ps)(h(),s.M,u.p,f.H);function Z(){var e=(0,l.Z)(["\n  query CollectionTopPage {\n    ...BaseQuery\n    topCollections {\n      items {\n        ...CollectionTopPage\n      }\n    }\n  }\n  ","\n  ","\n"]);return Z=function(){return e},e}var g=(0,c.Ps)(Z(),d.j,v);var I=t(40191),E=t(31099),m=t(26042),p=t(70917),C=t(70468),S=t(98835),y=t(45357),x=t(20006),b=t(67265),L=t(59832),M=t(99276),R=t(7662),_=t(49984),O=t(87345),$=t(62193),w=t(69396),N=t(87063),T=t(23261),k=t(92618),P=t(94798),A=t(25853),B=(0,p.iv)("padding:0 ",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){padding:0;}"),D=(0,p.iv)("padding:",y.$u.SIZE8," 0;"),U=function(e){var n=e.fragments,t=e.sectionTitle,i=e.id,r=e.referrerQueryParams,l=e.onIntersection,c=(0,a.useRef)(null),d=(0,N.s)(c,{once:!0});return(0,a.useEffect)((function(){d&&l()}),[d,l]),(0,o.BX)("section",{ref:c,css:B,children:[(0,o.tZ)("div",{css:D,children:(0,o.tZ)(A.o,{id:i,title:t,noSidePadding:!0})}),(0,o.tZ)(k.r,{base:{align:"stretch",spacing:{x:y.$u.SIZE16,y:y.$u.SIZE24},column:{fitting:"auto-fill",minWidth:136}},sizes:{medium:{align:"stretch",spacing:{x:y.$u.SIZE32,y:y.$u.SIZE32},column:{fitting:"auto-fill",minWidth:152}}},children:n.map((function(e,n){return(0,o.tZ)(P.P,{base:{x:1},children:(0,o.tZ)(T.z,{fragment:e,flexible:!0,logParams:{sectionId:i,index:n},referrerQueryParams:r},n)},e.id)}))})]})},X=function(e){var n=e.id,t=e.logParams,i=(0,E.Vp)().sendEventLog,r=(0,a.useCallback)((function(){i({eventType:"INVIEW_COLLECTION_SECTION_ITEM",sectionId:n,index:t.index})}),[i,n,t.index]);return(0,o.tZ)(U,(0,w.Z)((0,m.Z)({},e),{onIntersection:r}))},z=t(44311),H=t(14893),V=t(13621),F=t(88796),W=t(77462),Y=t(91057),Q=function(e){return(0,p.iv)("padding:0 0 ",e?y.$u.SIZE0:y.$u.SIZE16,";")},G=(0,p.iv)("padding:",y.$u.SIZE8," 0;padding-left:",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){padding-left:",y.$u.SIZE0,";}"),j=(0,p.iv)("display:block;padding:0 ",y.$u.SIZE16," ",y.$u.SIZE0,";@media (min-width:",y.RR.MEDIUM,"){padding-left:",y.$u.SIZE0,";}"),q=(0,p.iv)("margin-right:-",y.$u.SIZE16,";margin-left:-",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){margin:0;}"),K=(0,p.iv)("padding-right:",y.$u.SIZE16,";padding-left:",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){padding-right:0;padding-left:0;}"),J=function(e){var n=e.fragments,t=e.sectionTitle,i=e.id,r=e.referrerQueryParams,l=e.minimum,c=e.onIntersection,d=(0,a.useRef)(null),s=(0,N.s)(d,{once:!0});(0,a.useEffect)((function(){s&&c()}),[s,c]);var u=(0,z.T)(n),f=u.scrollRef,h=u.handleScroll,v=u.handleMove,Z=u.isLeftEnd,g=u.isRightEnd,I=(0,a.useMemo)((function(){return(0,o.BX)(o.HY,{children:[(0,o.tZ)(W.L,{base:{x:y.$u.SIZE8}}),(0,o.tZ)(H.x,{onClick:v,isLeftEnd:Z,isRightEnd:g})]})}),[v,Z,g]);return(0,o.BX)("section",{ref:d,css:Q(l),children:[(0,o.tZ)("div",{css:G,children:(0,o.tZ)(A.o,{id:i,title:t,scrollButtons:I,noSidePadding:!0})}),(0,o.tZ)("div",{css:j,children:(0,o.tZ)("div",{css:q,children:(0,o.tZ)(F.Ms,{ref:f,onScroll:h,children:(0,o.tZ)("div",{css:K,children:(0,o.tZ)(V.k,{base:{align:"stretch",spacing:{x:y.$u.SIZE16}},sizes:{medium:{align:"stretch",spacing:{x:y.$u.SIZE24}}},children:function(e){return e.type===$._9.Carousel}(e)?e.fragments.map((function(e,n){return(0,o.tZ)(T.z,{fragment:e,logParams:{sectionId:i,index:n},referrerQueryParams:r},n)})):e.fragments.map((function(e,n){return(0,o.tZ)(Y.G,{fragment:e,logParams:{sectionId:i,index:n},referrerQueryParams:r,purpose:"viewedCollection"},n)}))})})})})})]})},ee=function(e){var n=e.id,t=e.logParams,i=(0,E.Vp)().sendEventLog,r=(0,a.useCallback)((function(){i({eventType:"INVIEW_COLLECTION_SECTION_ITEM",sectionId:n,index:t.index})}),[i,n,t.index]);return(0,o.tZ)(J,(0,w.Z)((0,m.Z)({},e),{onIntersection:r}))},ne=t(55467),te=(0,p.iv)("padding:0 0 ",y.$u.SIZE16," 0;
1"),ie=(0,p.iv)("padding:",y.$u.SIZE8," 0 ",y.$u.SIZE8," ",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){padding-left:0;}"),re=function(e){var n=e.fragments,t=e.id,i=e.sectionTitle,r=e.referrerQueryParams,l=e.onIntersection,c=(0,b.bU)().t,d=(0,a.useRef)(null),s=(0,N.s)(d,{once:!0});return(0,a.useEffect)((function(){s&&l()}),[s,l]),(0,o.BX)("section",{ref:d,css:te,children:[(0,o.tZ)("div",{css:ie,children:(0,o.tZ)(A.o,{id:t,title:i,noSidePadding:!0})}),n.map((function(e,n){return(0,o.tZ)(ne.b,{fragment:e,description:c["collection.featured.title"],titleFontSize:"X_LARGE",sectionId:t,referrerQueryParams:r,index:n,place:"COLLECTION_TOP_VIEW"},e.id)}))]})},oe=function(e){var n=e.id,t=e.logParams,i=(0,E.Vp)().sendEventLog,r=(0,a.useCallback)((function(){i({eventType:"INVIEW_COLLECTION_SECTION_ITEM",sectionId:n,index:t.index})}),[i,n,t.index]);return(0,o.tZ)(re,(0,w.Z)((0,m.Z)({},e),{onIntersection:r}))},ae=(0,p.iv)("padding:0 0 ",y.$u.SIZE16," 0;"),le=(0,p.iv)("height:0;visibility:hidden;"),ce=function(e){var n=e.fragment,t=e.id,i=e.referrerQueryParams,r=e.onIntersection,l=(0,b.bU)().t,c=(0,a.useRef)(null),d=(0,N.s)(c,{once:!0});return(0,a.useEffect)((function(){d&&r()}),[d,r]),(0,o.BX)("section",{ref:c,css:ae,children:[(0,o.tZ)(W.L,{base:{y:y.$u.SIZE24}}),(0,o.tZ)("h2",{id:t,css:le,children:n.title}),(0,o.tZ)(ne.b,{fragment:n,description:l["collection.company.description"],titleFontSize:"XX_LARGE",sectionId:t,referrerQueryParams:i,index:0,place:"COLLECTION_TOP_VIEW",showIcon:!1,spaceHeight:y.$u.SIZE16,showContentCounts:!1},n.id)]})},de=function(e){var n=e.id,t=e.logParams,i=(0,E.Vp)().sendEventLog,r=(0,a.useCallback)((function(){i({eventType:"INVIEW_COLLECTION_SECTION_ITEM",sectionId:n,index:t.index})}),[i,n,t.index]);return(0,o.tZ)(ce,(0,w.Z)((0,m.Z)({},e),{onIntersection:r}))},se=t(828),ue=t(29815),fe=t(52046),he=t(60813),ve=t(46455),Ze=t(39423),ge=(0,p.iv)("padding:0 0 ",y.$u.SIZE16," 0;@media (min-width:",y.RR.MEDIUM,"){padding-left:0;}"),Ie=(0,p.iv)("display:flex;align-items:center;height:",y.$u.SIZE36,";padding-left:",y.$u.SIZE16,";line-height:",y.$u.SIZE36,";vertical-align:middle;@media (min-width:",y.RR.MEDIUM,"){padding-left:0;}"),Ee=(0,p.iv)("display:flex;align-items:center;justify-content:center;height:100%;"),me=(0,p.iv)("display:flex;justify-content:center;width:100%;"),pe=(0,p.iv)("width:560px;padding-left:",y.$u.SIZE16,";margin-right:",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){width:640px;max-width:initial;padding-left:0;}"),Ce=function(e){var n=e.id,t=e.sectionTitle,i=e.referrerQueryParams,r=e.fragments,l=e.loading,c=e.hasLoadMore,d=e.onClickLoadMore,s=e.onIntersection,u=(0,a.useRef)(null),f=(0,N.s)(u,{once:!0});return(0,a.useEffect)((function(){f&&s()}),[f,s]),l||0!==r.length?(0,o.BX)("section",{ref:u,css:ge,children:[(0,o.tZ)(W.L,{base:{y:y.$u.SIZE20}}),(0,o.tZ)("div",{css:Ie,children:(0,o.tZ)(Ze.Z,{id:n,el:"h2",base:{textStyle:"BOLD.XX_LARGE.NONE"},color:y.d9.BASE_PRIMARY,children:(0,o.tZ)(fe.V,{label:t})})}),(0,o.tZ)(W.L,{base:{y:y.$u.SIZE16}}),(0,o.tZ)(V.k,{base:{direction:"column",spacing:{y:y.$u.SIZE32}},children:r.map((function(e,t){return(0,o.tZ)(ne.b,{fragment:e,titleFontSize:"X_LARGE",sectionId:n,referrerQueryParams:i,index:t,place:"COLLECTION_TOP_VIEW",spaceHeight:y.$u.SIZE16},e.id)}))}),l&&(0,o.BX)(o.HY,{children:[(0,o.tZ)(W.L,{base:{y:y.$u.SIZE24}}),(0,o.tZ)("div",{css:Ee,children:(0,o.tZ)(ve.TK,{size:ve.FJ.L})})]}),!l&&c&&(0,o.BX)(o.HY,{children:[(0,o.tZ)(W.L,{base:{y:y.$u.SIZE24}}),(0,o.tZ)("div",{css:me,children:(0,o.tZ)("div",{css:pe,children:(0,o.tZ)(he.n,{onClick:d})})}),(0,o.tZ)(W.L,{base:{y:y.$u.SIZE20}})]})]}):(0,o.tZ)(o.HY,{})},Se=t(73359);function ye(){var e=(0,l.Z)(["\n  fragment OrganizationCollectionSection on CollectionConnection {\n    items {\n      ...FeaturedCollectionCarouselSection\n    }\n    nextCursor\n  }\n  ","\n"]);return ye=function(){return e},e}function xe(){var e=(0,l.Z)(["\n  query OrganizationCollectionConnection(\n    $organizationId: Int!\n    $cursor: String\n  ) {\n    organizationCollections(organizationId: $organizationId, cursor: $cursor) {\n      ...OrganizationCollectionSection\n    }\n  }\n  ","\n"]);return xe=function(){return e},e}var be={},Le=(0,c.Ps)(ye(),f.H),Me=(0,c.Ps)(xe(),Le);var Re=function(e){var n=e.organizationId,t=e.id,l=e.sectionTitle,c=e.logParams,d=e.initialFragments,s=e.initialNextCursor,u=e.referrerQueryParams,f=(0,E.Vp)().sendEventLog,h=(0,a.useState)(d),v=h[0],Z=h[1],g=(0,a.useState)(null!==s&&void 0!==s?s:null),I=g[0],p=g[1],C=(0,se.Z)(function(e){var n=(0,m.Z)({},be,e);return Se.t(Me,n)}({notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-first"}),2),S=C[0],y=C[1].loading,x=(0,a.useCallback)((0,i.Z)((function(){var e,t,i,o,a,l;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return y||!I?[3,2]:[4,S({variables:{organizationId:n,cursor:I}})];case 1:i=r.sent(),a=null!==(o=null===(e=i.data)||void 0===e?void 0:e.organizationCollections.items)&&void 0!==o?o:[],Z((function(e){return(0,ue.Z)(e).concat((0,ue.Z)(a))})),p(null!==(l=null===(t=i.data)||void 0===t?void 0:t.organizationCollections.nextCursor)&&void 0!==l?l:null),r.label=2;case 2:return[2]}}
1))})),[I,y,S,n]),b=(0,a.useCallback)((function(){f({eventType:"INVIEW_COLLECTION_SECTION_ITEM",sectionId:t,index:c.index})}),[f,t,c.index]);return(0,o.tZ)(Ce,{id:t,sectionTitle:l,referrerQueryParams:u,fragments:v,loading:y,hasLoadMore:!!I,onClickLoadMore:x,onIntersection:b})},_e=(0,p.iv)("padding:0 0 ",y.$u.SIZE16," 0;@media (min-width:",y.RR.MEDIUM,"){padding-left:0;}"),Oe=(0,p.iv)("display:flex;flex-direction:column;"),$e=(0,p.iv)("display:flex;align-items:center;height:",y.$u.SIZE36,";padding-left:",y.$u.SIZE16,";line-height:",y.$u.SIZE36,";vertical-align:middle;@media (min-width:",y.RR.MEDIUM,"){padding-left:0;}"),we=(0,p.iv)("padding-bottom:",y.$u.SIZE16,";margin:",y.$u.SIZE4," ",y.$u.SIZE16," 0 ",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){margin-left:0;}"),Ne=(0,p.iv)("display:flex;align-items:center;justify-content:center;height:100%;"),Te=(0,p.iv)("display:flex;justify-content:center;width:100%;"),ke=(0,p.iv)("width:560px;padding-left:",y.$u.SIZE16,";margin-right:",y.$u.SIZE16,";@media (min-width:",y.RR.MEDIUM,"){width:640px;max-width:initial;padding-left:0;}"),Pe=function(e){var n=e.id,t=e.sectionTitle,i=e.description,r=e.referrerQueryParams,l=e.fragments,c=e.loading,d=e.hasLoadMore,s=e.onClickLoadMore,u=e.onIntersection,f=(0,a.useRef)(null),h=(0,N.s)(f,{once:!0});return(0,a.useEffect)((function(){h&&u()}),[h,u]),(0,o.BX)("section",{ref:f,css:_e,children:[(0,o.BX)("div",{css:Oe,children:[(0,o.tZ)(W.L,{base:{y:y.$u.SIZE20}}),(0,o.tZ)("div",{css:$e,children:(0,o.tZ)(Ze.Z,{id:n,el:"h2",base:{textStyle:"BOLD.XX_LARGE.NONE"},color:y.d9.BASE_PRIMARY,children:(0,o.tZ)(fe.V,{label:t})})}),(0,o.tZ)(W.L,{base:{y:y.$u.SIZE4}}),(0,o.tZ)("div",{css:we,children:(0,o.tZ)(Ze.Z,{base:{textStyle:"NORMAL.SMALL.NORMAL"},color:y.d9.BASE_SECONDARY,children:i})})]}),(0,o.tZ)(V.k,{base:{direction:"column",spacing:{y:y.$u.SIZE32}},children:l.map((function(e,t){return(0,o.tZ)(ne.b,{fragment:e,titleFontSize:"X_LARGE",sectionId:n,referrerQueryParams:r,index:t,place:"COLLECTION_TOP_VIEW",spaceHeight:y.$u.SIZE16},e.id)}))}),c&&(0,o.BX)(o.HY,{children:[(0,o.tZ)(W.L,{base:{y:y.$u.SIZE24}}),(0,o.tZ)("div",{css:Ne,children:(0,o.tZ)(ve.TK,{size:ve.FJ.L})})]}),!c&&d&&(0,o.BX)(o.HY,{children:[(0,o.tZ)(W.L,{base:{y:y.$u.SIZE24}}),(0,o.tZ)("div",{css:Te,children:(0,o.tZ)("div",{css:ke,children:(0,o.tZ)(he.n,{onClick:s})})}),(0,o.tZ)(W.L,{base:{y:y.$u.SIZE20}})]})]})},Ae=t(6812);function Be(){var e=(0,l.Z)(["\n  fragment PaginatedCollectionSection on CollectionConnection {\n    items {\n      ...FeaturedCollectionCarouselSection\n    }\n    nextCursor\n  }\n  ","\n"]);return Be=function(){return e},e}function De(){var e=(0,l.Z)(["\n  query CollectionConnection($sectionId: Int!, $cursor: String) {\n    sectionCollections(sectionId: $sectionId, cursor: $cursor) {\n      ...PaginatedCollectionSection\n    }\n  }\n  ","\n"]);return De=function(){return e},e}var Ue={},Xe=(0,c.Ps)(Be(),f.H),ze=(0,c.Ps)(De(),Xe);var He=function(e){var n,t=e.sectionId,l=e.id,c=e.logParams,d=(0,E.Vp)().sendEventLog,s=function(e){var n=(0,m.Z)({},Ue,e);return Ae.a(ze,n)}({notifyOnNetworkStatusChange:!0,fetchPolicy:"cache-first",variables:{sectionId:t}}),u=s.data,f=s.loading,h=s.fetchMore,v=null===u||void 0===u?void 0:u.sectionCollections.nextCursor,Z=(0,a.useCallback)((0,i.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return f||!v?[3,2]:[4,h({variables:{cursor:v}})];case 1:e.sent(),e.label=2;case 2:return[2]}}
1))})),[v,f,h]),g=(0,a.useCallback)((function(){d({eventType:"INVIEW_COLLECTION_SECTION_ITEM",sectionId:l,index:c.index})}),[d,l,c.index]);return(0,o.tZ)(Pe,(0,w.Z)((0,m.Z)({},e),{fragments:null!==(n=null===u||void 0===u?void 0:u.sectionCollections.items)&&void 0!==n?n:[],loading:f,hasLoadMore:!!v,onClickLoadMore:Z,onIntersection:g}))},Ve=t(48107),Fe=t(31951),We=function(e){var n=(0,b.bU)().t,t=(0,x.Sd)(n);return(0,o.tZ)(_.ZA,{htmlMeta:t,children:(0,o.tZ)(O.v,{navWidth:Ye,firstView:void 0,nav:(0,o.tZ)(Ge,(0,m.Z)({},e)),h1:(0,o.tZ)(qe,{}),main:(0,o.tZ)(Je,(0,m.Z)({},e))})})},Ye=y.$u.SIZE240,Qe=function(e){return(0,p.iv)("position:sticky;top:",e,"px;min-width:",Ye,";padding:",y.$u.SIZE32," ",y.$u.SIZE16," ",y.$u.SIZE32," ",y.$u.SIZE24,";")},Ge=function(e){var n=e.fragments,t=L.Mz,l=(0,C.h)({rootMargin:"-".concat(t,"px 0px -75% 0px"),threshold:0}),c=l.currentId,d=l.setCurrentId,s=function(e){return(0,a.useMemo)((function(){return e.map((function(e){return{id:e.identifier,title:e.title}}))}),[e])}(n);(0,S.s)((function(){s.length>0&&d(s[0].id)}));var u=(0,a.useCallback)(function(){var e=(0,i.Z)((function(e){var n,t,i;return(0,r.__generator)(this,(function(r){return(n=document.getElementById(e))?(t=n.getBoundingClientRect().top+window.scrollY,i=t-L.Mz-20,window.scrollTo({top:i,behavior:"auto"}),[2]):[2]}))}));return function(n){return e.apply(this,arguments)}}(),[]);return(0,o.tZ)("div",{css:Qe(t),children:(0,o.tZ)(M.h,{currentId:c,onClick:function(e){return u(e.id)},items:s})})};var je=(0,p.iv)("padding:0 16px;margin-top:32px;@media (min-width:",y.RR.MEDIUM,"){padding:0 24px;}"),qe=function(){var e=(0,b.bU)().t,n=(0,Fe.Vl)().generateUrl;return(0,o.tZ)("div",{css:je,children:(0,o.tZ)(R.V,{title:e["collection.page.top.title"],variant:"small",link:(0,o.tZ)(Ve.h,{base:{},label:e["collection.page.top.title.link"],href:n("collection.list",{},{query:{ref:"collection"}}),underlineWhenHovered:!0,color:y.d9.ACCENT})})})},Ke=(0,p.iv)("display:flex;flex-direction:column;padding:0;& > div:not(:last-child){margin-bottom:40px;}@media (min-width:",y.RR.MEDIUM,"){padding:0 ",y.$u.SIZE24,";}"),Je=function(e){var n=e.fragments,t=(0,a.useMemo)((function(){return{ref:"collection"}}),[]);return(0,o.tZ)("div",{css:Ke,children:n.map((function(e,n){switch(e.type){case $._9.Wrap:return(0,o.tZ)(X,{sectionTitle:e.title,fragments:e.collections,id:e.identifier,logParams:{index:n},referrerQueryParams:t},e.identifier);case $._9.Carousel:case $._9.CarouselMini:return(0,o.tZ)(ee,{sectionTitle:e.title,fragments:e.collections,type:e.type,id:e.identifier,logParams:{index:n},referrerQueryParams:t},e.identifier);case $._9.CarouselContent:return(0,o.tZ)(oe,{fragments:e.collectionsForCarouselContent,id:e.identifier,logParams:{index:n},sectionTitle:e.title,referrerQueryParams:t},e.identifier);case $._9.CarouselContentForOrganization:return null!=e.organizationId?(0,o.tZ)(Re,{organizationId:e.organizationId,id:e.identifier,sectionTitle:e.title,initialFragments:e.collectionsForCarouselContent,initialNextCursor:e.nextCursor,logParams:{index:n},referrerQueryParams:t},e.identifier):(0,o.tZ)(de,{fragment:e.collectionsForCarouselContent[0],id:e.identifier,logParams:{index:n},referrerQueryParams:t},e.identifier);case $._9.PaginatedCollection:return(0,o.tZ)(He,{sectionId:e.id,id:e.identifier,logParams:{index:n},sectionTitle:e.title,description:e.description,referrerQueryParams:t},e.identifier);default:return null}}))})},en=function(e){return(0,o.tZ)(We,(0,m.Z)({},e))},nn=t(70821),tn=t(19861),rn=t(82227),on=function(e){var n=e.page,t=e.allocationResults,i=(0,E.Vp)().sendEventLog;return(0,a.useEffect)((function(){i({eventType:"OPEN_PAGE"})}),[i]),(0,o.tZ)(en,{fragments:n.topCollections.items,allocationResults:t})};on.getInitialProps=function(){var e=(0,i.Z)((function(e){var n,t,i,o,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:return n=(0,b.Ty)(e.locale).t,[4,(t=(0,I.in)(null,e)).query({query:g})];case 1:if(i=r.sent().data,!(0,rn.c)(null===i||void 0===i?void 0:i.sessionUser))throw new nn.XF({code:tn.t.NOT_FOUND,title:n["error.page.not_found.title"],message:n["error.page.not_found.message"]});return[2,{page:i,sessionUser:null!==(o=null===i||void 0===i?void 0:i.sessionUser)&&void 0!==o?o:null,allocationResults:null!==(a=null===i||void 0===i?void 0:i.allocationResults)&&void 0!==a?a:null,initialApolloState:t.cache.extract(!0)}]}}))}));return function(n){return e.apply(this,arguments)}}();var an=on},89809:function(e,n,t){"use strict";t.d(n,{v:function(){return s}});var i=t(47568),r=t(99534),o=t(97582),a=t(67294),l=t(31951),c=t(89435),d=t(35366);function s(){var e=(0,a.useCallback)(function(){var e=(0,i.Z)((function(e){var n,t,i,a;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(!e.log)return[2];n=e.eventType,t=(0,r.Z)(e,["eventType"]),i=(0,d.vQ)(d.RY.XSRF_TOKEN),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,fetch((0,l.xl)("logs.adv",{type:n}),{method:"POST",headers:i?{"Content-Type":"application/json; charset=UTF-8","x-xsrf-token":i}:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(t),credentials:"include"}).then((function(e){return e.text()}))];case 2:return o.sent(),[3,4];case 3:return a=o.sent(),(0,c.vU)(a),[3,4];case 4:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[]);return{sendAdLog:e}}},25319:function(e,n,t){"use strict";t.d(n,{D:function(){return I}});var i=t(26042),r=t(69396),o=t(99534),a=t(35944),l=t(70917),c=t(67294),d=t(45357),s=t(49536),u=(0,c.createContext)(null),f=(0,l.iv)("position:relative;isolation:isolate;"),h=(0,l.iv)("position:absolute;inset:0;z-index:",d.kg.CARD_OUTER_LINK,";display:block;cursor:pointer;"),v=(0,c.forwardRef)((function(e,n){var t=e.children,i=e.cssStyle,r=e.href,o=e.ariaLabel,l=e.onClick,d=e.target,v=e.className,Z=e.linkRef,g=(0,c.useState)(!1),I=g[0],E=g[1],m=(0,c.useState)(!1),p=m[0],C=m[1],S=(0,c.useCallback)((function(){return E(!0)}),[]),y=(0,c.useCallback)((function(){return E(!1)}),[]),x=(0,c.useMemo)((function(){return{isHover:I&&!p,isOuterHover:I,isInnerHover:p}}),[I,p]),b=(0,c.useMemo)((function(){return"function"===typeof i?i(x):i}),[i,x]);return(0,a.BX)("div",{ref:n,className:v,css:[f,b],onMouseEnter:S,onMouseLeave:y,children:[(0,a.tZ)(s.f,{href:r,onClick:l,target:d,"aria-label":o,cssStyle:h,refObject:Z}),(0,a.tZ)(u.Provider,{value:{setIsInnerHover:C},children:t})]})}));v.displayName="BaseOuterLink";var Z=(0,l.iv)("position:relative;z-index:",d.kg.CARD_INNER_LINK,";"),g=(0,c.forwardRef)((function(e,n){var t=e.children,l=e.cssStyle,d=e.as,s=void 0===d?"div":d,f=(0,o.Z)(e,["children","cssStyle","as"]),h=(0,c.useContext)(u),v=(0,c.useCallback)((function(){null===h||void 0===h||h.setIsInnerHover(!0)}),[h]),g=(0,c.useCallback)((function(){null===h||void 0===h||h.setIsInnerHover(!1)}),[h]);return(0,a.tZ)(s,(0,r.Z)((0,i.Z)({ref:n,css:[Z,l],onMouseEnter:v,onMouseLeave:g},f),{children:t}))}));g.displayName="BaseOuterLink.Interactive";var I=v;I.Interactive=g},23261:function(e,n,t){"use strict";t.d(n,{z:function(){return N}});var i=t(26042),r=t(69396),o=t(35944),a=t(67294),l=t(70917),c=t(45357),d=t(39423),s=t(49536),u=t(47414),f=t(5562),h=t(70157),v=t(17104),Z=t(77462),g=t(62193),I=t(66217),E=t(31951),m=t(31099),p="collection-card__thumbnail",C="collection-card__title",S=function(e){return(0,l.iv)("position:relative;",e?"height: 100%;":"\n    width: 152px;\n\n    @media (min-width: ".concat(c.RR.MEDIUM,") {\n      min-width: 176px;\n    }\n  "))},y=(0,l.iv)("display:flex;flex-direction:column;gap:16px;height:100%;"),x=(0,l.iv)("flex-shrink:0;overflow:hidden;border-radius:",c.wU.MEDIUM,";"),b=(0,l.iv)("display:flex;flex:1;flex-direction:column;gap:8px;height:100%;"),L=(0,l.iv)("flex:1;"),M=(0,l.iv)("flex-shrink:0;"),R=(0,l.iv)("display:flex;flex-shrink:0;align-items:center;height:22px;"),_=(0,l.iv)("position:absolute;inset:0;z-index:",c.kg.CARD_OUTER_LINK,";display:block;cursor:pointer;"),O=(0,l.iv)("@media (hover:hover){&:hover{.",p,"{opacity:",c.Dd.IMAGE_OPACITY_HOVERED,";transition:opacity 0.1s linear;}.",C,"{",c.eC,"}}}"),$=function(e){var n=e.fragment,t=e.flexible,i=void 0!==t&&t,r=e.referrerQueryParams,a=e.onIntersection,l=e.onClick,h=(0,m.Rc)(a),v=(0,E.Vl)().generateUrl;return(0,o.BX)("div",{ref:h,css:[S(i),O],children:[(0,o.tZ)(s.f,{href:v("collection.detail",{slug:n.slug},{query:r}),cssStyle:_,title:n.title,onClick:l}),(0,o.BX)("div",{css:y,children:[(0,o.tZ)("div",{css:x,className:p,children:(0,o.tZ)(I.p,{src:(0,u.GF)(n.thumbnailUrl,{width:300,height:415}),alt:n.title,ratio:"60 / 83"})}),(0,o.BX)("div",{css:b,children:[(0,o.tZ)("div",{className:C,css:L,children:(0,o.tZ)(d.Z,{wordBreak:"break-all",base:{textStyle:"BOLD.LARGE.NORMAL"},children:n.title})}),(0,o.tZ)("div",{css:M,children:(0,o.tZ)(f.U,{wordBreak:"break-all",base:{textStyle:"NORMAL.XX_SMALL.NORMAL",color:c.d9.BASE_SECONDARY},rows:3,fixedHeight:!0,children:n.shortDescription})}),(0,o.tZ)("div",{css:R,children:(0,o.tZ)(w,{fragment:n})})]})]})]})},w=function(e){switch(e.fragment.label){case g.ND.New:return(0,o.tZ)(h.e,{});case g.ND.Update:return(0,o.tZ)(v.d,{label:"Update"});default:return(0,o.tZ)(Z.L,{base:{y:c.$u.SIZE20}})}},N=function(e){var n=e.fragment,t=e.logParams,l=(0,m.Vp)().sendEventLog,c=(0,a.useCallback)((function(){l({eventType:"INVIEW_COLLECTION_ITEM",collectionId:n.id,sectionId:t.sectionId,index:t.index})}),[l,t.sectionId,t.index,n.id]),d=(0,a.useCallback)((function(){l({eventType:"TAP_COLLECTION_ITEM",collectionId:n.id,sectionId:t.sectionId,index:t.index})}),[l,t.sectionId,t.index,n.id]);return(0,o.tZ)($,(0,r.Z)((0,i.Z)({},e),{onIntersection:c,onClick:d}))}},31698:function(e,n,t){"use strict";t.d(n,{H:function(){return c}});var i=t(7297),r=t(68806),o=t(87939),a=t(32098);function l(){var e=(0,i.Z)(["\n  fragment FeaturedCollectionCarouselSection on CollectionForCarouselContent {\n    id\n    slug\n    title\n    thumbnailUrl\n    relatedTrendTitle\n    contentCounts {\
1n      ...NumberOfContent\n    }\n    children {\n      ...NewsContentCard\n    }\n  }\n  ","\n  ","\n"]);return l=function(){return e},e}var c=(0,r.Ps)(l(),o.t,a.r)},94166:function(e,n,t){"use strict";t.d(n,{hk:function(){return p},sk:function(){return I},D4:function(){return m}});var i,r,o=t(26042),a=t(35944),l=t(70917),c=t(67294),d=t(45357),s=t(33143),u=t(8353),f=t(66217),h=t(47414),v={wrapper:"news-thumbnail"},Z=function(e,n){return(0,l.iv)("position:relative;box-sizing:content-box;display:",e===I.RESPONSIVE?"block":"inline-block",";width:","fixed"==e.layout?"".concat(e.width,"px"):void 0,";min-width:","fixed"==e.layout?"".concat(e.width,"px"):d.$u.SIZE80,";height:","fixed"==e.layout?"".concat(e.height,"px"):"100%",";overflow:hidden;vertical-align:middle;background-color:",d.G.Transparent,";border:",!e.card&&"1px solid ".concat(d.kf.BASE_SECONDARY),";border-radius:",(null===n||void 0===n?void 0:n.base)?null===n||void 0===n?void 0:n.base:!e.card&&(null!==(i=null===n||void 0===n?void 0:n.base)&&void 0!==i?i:d.wU.MEDIUM),";@media (min-width:",d.RR.MEDIUM,"){border-radius:",!e.card&&(null!==(r=null===n||void 0===n?void 0:n.small)&&void 0!==r?r:d.wU.MEDIUM),";}")},g=(0,l.iv)("position:absolute;top:50%;left:50%;width:18%;aspect-ratio:1 / 1;transform:translate(-50%,-50%);/* inline svg \u306e\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\u4e0b\u306e\u4f59\u767d\u3067 wrapper \u304c\u7e26\u9577\u306b\u306a\u308a\u518d\u751f\u30a2\u30a4\u30b3\u30f3\u304c\u4e0a\u5bc4\u308a\u306b\u306a\u308b\u306e\u3092\u9632\u3050 */\n  svg{display:block;}"),I={LIST_ITEM:{width:110,height:57.75,layout:"fixed",card:!1},CAROUSEL_X_SMALL:{width:94,height:49.35,layout:"fixed",card:!1},CAROUSEL_SMALL:{width:222,height:116.8421053,layout:"fixed",card:!1},CAROUSEL:{width:260,height:136.8421053,layout:"fixed",card:!0},ITEM:{width:"100%",height:"100%",layout:"intrinsic",card:!1},RESPONSIVE:{width:1.91,height:1,layout:"responsive",card:!1}},E=function(e){var n=e.fragment,t=e.size,i=e.borderRadius,r=e.priority,o=void 0!==r&&r,l=e.alt,d=e.ratio,E=void 0===d?"1.91 / 1":d,m=e.withBlur,p=void 0!==m&&m,C=(0,c.useMemo)((function(){return(0,h.Se)(n.image,E)}),[n.image,E]),S=(0,c.useMemo)((function(){return!!n.videoId}),[n]);return(0,a.BX)("div",{css:Z(t,i),className:v.wrapper,children:[t===I.RESPONSIVE?(0,a.tZ)(f.p,{src:C,alt:l||"",ratio:"1.91 / 1",priority:o,withBlur:p,objectFit:"contain"}):(0,a.tZ)(s.Z,{src:C,alt:l,fitType:"contain",height:t.height,width:t.width,priority:o}),S&&(0,a.tZ)("div",{css:g,children:(0,a.tZ)(u.o,{width:"100%",height:"100%"})})]})},m=v,p=function(e){return(0,a.tZ)(E,(0,o.Z)({},e))}},8353:function(e,n,t){"use strict";t.d(n,{o:function(){return a}});var i=t(26042),r=t(69396),o=t(35944),a=function(e){return(0,o.BX)("svg",(0,r.Z)((0,i.Z)({width:56,height:56,viewBox:"0 0 56 56",fill:"none"},e),{children:[(0,o.tZ)("path",{d:"M27.9996 50.3999C40.3708 50.3999 50.3996 40.371 50.3996 27.9999C50.3996 15.6287 40.3708 5.59985 27.9996 5.59985C15.6284 5.59985 5.59961 15.6287 5.59961 27.9999C5.59961 40.371 15.6284 50.3999 27.9996 50.3999Z",fill:"#111",fillOpacity:"0.7"}),(0,o.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19922 28C4.19922 32.7071 5.59506 37.3086 8.21024 41.2225C10.8254 45.1364 14.5425 48.1869 18.8914 49.9883C23.2402 51.7896 28.0256 52.261 32.6424 51.3426C37.2591 50.4243 41.4999 48.1576 44.8284 44.8291C48.1569 41.5006 50.4236 37.2598 51.3419 32.6431C52.2602 28.0264 51.7889 23.241 49.9875 18.8921C48.1862 14.5432 45.1357 10.8262 41.2218 8.21097C37.3079 5.5958 32.7064 4.19995 27.9992 4.19995C21.6871 4.19995 15.6334 6.70744 11.1701 11.1708C6.70671 15.6342 4.19922 21.6878 4.19922 28ZM50.3992 28C50.3992 32.4303 49.0855 36.7611 46.6241 40.4447C44.1628 44.1284 40.6644 46.9995 36.5713 48.6949C32.4783 50.3903 27.9744 50.8339 23.6292 49.9695C19.284 49.1052 15.2927 46.9718 12.16 43.8391C9.02733 40.7064 6.89394 36.7151 6.02963 32.37C5.16532 28.0248 5.60891 23.5209 7.30432 19.4278C8.99972 15.3348 11.8708 11.8364 15.5544 9.37503C19.2381 6.91369 23.5689 5.59995 27.9992 5.59995C33.9401 5.59995 39.6376 7.95994 43.8384 12.1608C48.0392 16.3616 50.3992 22.0591 50.3992 28Z",fill:"#fff"}),(0,o.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.5464 28.9661L24.0784 36.8201C23.9085 36.9182 23.7157 36.97 23.5194 36.9701C23.3232 36.9703 23.1303 36.9189 22.9601 36.8211C22.79 36.7232 22.6485 36.5824 22.55 36.4127C22.4514 36.243 22.3991 36.0504 22.3984 35.8541V20.1461C22.3991 19.9498 22.4514 19.7572 22.55 19.5875C22.6485 19.4178 22.79 19.2769 22.9601 19.1791C23.1303 19.0813 23.3232 19.0299 23.5194 19.03C23.7157 19.0302 23.9085 19.082 24.0784 19.1801L37.5464 27.0341C37.7115 27.1356 37.8478 27.2776 37.9423 27.4467C38.0368 27.6158 38.0865 27.8063 38.0865 28.0001C38.0865 28.1938 38.0368 28.3843 37.9423 28.5534C37.8478 28.7225 37.7115 28.8646 37.5464 28.9661Z",fill:"#fff"})]}))}},48107:function(e,n,t){"use strict";t.d(n,{h:function(){return Z},_:function(){return v}});var i=t(26042),r=t(69396),o=t(99534),a=t(7297),l=t(35944),c=t(70917),d=t(67294),s=t(49536),u=t(39423),f=t(45357);function h(){var e=(0,a.Z)(["\n      display: ",";\n      ","\n\n      @media(hover:hover) {\n        &:hover {\n          ","\n          opacity: ",";\n        }\n      }\n    "]);return h=function(){return e},e}var v={block:"text-link"},Z=function(e){var n=e.href,t=e.label,a=e.onClick,Z=e.opacityWhenHovered,g=e.target,I=e.rel,E=e.underline,m=e.underlineWhenHovered,p=e.block,C=(0,o.Z)(e,["href","label","onClick","opacityWhenHovered","target","rel","underline","underlineWhenHovered","block"]),S=(0,d.useMemo)((function(){return(0,c.iv)(h(),p?"block":"inl
1ine-block",E&&f.eC,(E||m)&&f.eC,Z||"1")}),[p,E,m,Z]),y=null!==I&&void 0!==I?I:"_blank"===g?"noopener noreferrer":void 0;return(0,l.tZ)(s.f,{href:n,onClick:a,cssStyle:S,target:g,rel:y,className:v.block,children:(0,l.tZ)(u.Z,(0,r.Z)((0,i.Z)({},C),{children:t}))})}},60813:function(e,n,t){"use strict";t.d(n,{n:function(){return a}});var i=t(26042),r=t(35944),o=t(20671),a=function(e){return(0,r.tZ)(o.w,(0,i.Z)({},e))}},20671:function(e,n,t){"use strict";t.d(n,{w:function(){return g},r:function(){return Z}});var i=t(35944),r=t(70917),o=t(45357),a=t(67265),l=t(13808),c=t(26042),d=t(69396),s=t(99534),u=function(e){var n=e.iconDirection,t=void 0===n?"DOWN":n,r=e.style,a=(0,s.Z)(e,["iconDirection","style"]),l="DOWN"===t?0:180;return(0,i.tZ)("svg",(0,d.Z)((0,c.Z)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:o.lV.BASE_PRIMARY,style:(0,d.Z)((0,c.Z)({},r),{transform:"rotate(".concat(l,"deg)"),WebkitTransform:"rotate(".concat(l,"deg)")})},a),{children:(0,i.tZ)("path",{d:"M8.08999 11.3801C7.89114 11.3799 7.70051 11.3008 7.55999 11.1601L2.21999 5.91008C2.12335 5.85297 2.04076 5.77489 1.97831 5.6816C1.91586 5.58832 1.87516 5.4822 1.85919 5.37109C1.84322 5.25997 1.8524 5.14669 1.88605 5.03959C1.9197 4.93249 1.97696 4.83432 2.05361 4.7523C2.13026 4.67028 2.22435 4.60652 2.32892 4.56571C2.4335 4.52491 2.54591 4.50809 2.65785 4.51652C2.76979 4.52494 2.87841 4.55839 2.97571 4.61439C3.073 4.67039 3.15648 4.74752 3.21999 4.84008L8.07999 9.57008L12.72 4.85008C12.788 4.7759 12.8702 4.71616 12.9618 4.67442C13.0534 4.63269 13.1524 4.60981 13.253 4.60715C13.3536 4.60449 13.4537 4.6221 13.5474 4.65894C13.641 4.69578 13.7263 4.75109 13.7981 4.82158C13.87 4.89206 13.9269 4.97629 13.9655 5.06923C14.0041 5.16217 14.0236 5.26193 14.0228 5.36256C14.0221 5.4632 14.0011 5.56265 13.9611 5.65499C13.9211 5.74734 13.8629 5.83069 13.79 5.90008L8.61999 11.1501C8.48356 11.292 8.29679 11.3746 8.09999 11.3801H8.08999Z",fill:"currentColor"})}))},f=t(77462),h=t(39423),v=function(e){return(0,r.iv)("height:",e.height,";padding:0 ",o.$u.SIZE16,";font-size:",o.Bf.BASE,";color:",o.d9.BASE_PRIMARY,";background-color:",o.G.BASE_PRIMARY,";border:1px solid ",o.kf.BASE_PRIMARY,";border-radius:",o.wU.MEDIUM,";transition:background-color 0.1s linear;&:disabled{cursor:initial;opacity:",o.Dd.TOGGLE_BUTTON_LOADING,";}@media (hover:hover){&:hover{background-color:",o.G.BASE_PRIMARY_HOVER,";}}&:disabled:hover{background-color:",o.G.BASE_PRIMARY,";}")},Z={LARGE:{height:o.$u.SIZE48,textStyle:"BOLD.BASE.NORMAL",iconHight:o.$u.SIZE16,iconWidth:o.$u.SIZE16},MEDIUM:{height:o.$u.SIZE40,textStyle:"BOLD.SMALL.NORMAL",iconHight:o.$u.SIZE16,iconWidth:o.$u.SIZE16},SMALL:{height:o.$u.SIZE32,textStyle:"BOLD.XX_SMALL.NORMAL",iconHight:o.$u.SIZE12,iconWidth:o.$u.SIZE12}},g=function(e){var n=e.disabled,t=void 0!==n&&n,r=e.text,c=e.id,d=e.onClick,s=e.size,g=void 0===s?Z.LARGE:s,I=e.iconDirection,E=void 0===I?"DOWN":I,m=(0,a.bU)().t;return(0,i.BX)(l.Y,{type:"button",cssStyle:v(g),disabled:t,onClick:d,id:c,children:[(0,i.tZ)(h.Z,{base:{textStyle:g.textStyle},children:null!==r&&void 0!==r?r:m["common.load_more"]}),(0,i.tZ)(f.L,{base:{x:o.$u.SIZE8}}),(0,i.tZ)(u,{width:g.iconWidth,height:g.iconHight,iconDirection:E})]})}},25853:function(e,n,t){"use strict";t.d(n,{o:function(){return Z}});var i=t(26042),r=t(35944),o=t(70917),a=t(45357),l=t(67265),c=t(52046),d=t(98158),s=t(39423),u=function(e,n,t,i){return(0,o.iv)("display:flex;align-items:",i?"flex-end":"center",";height:",n?"auto":a.$u.SIZE56,";padding:",t?a.$u.SIZE0:n?a.$u.SIZE8:a.$u.SIZE24," ",t||e?a.$u.SIZE0:a.$u.SIZE16," ",t?a.$u.SIZE0:a.$u.SIZE8,";@media (min-width:",a.RR.MEDIUM,"){height:",n?"auto":a.$u.SIZE64,";padding:",t?a.$u.SIZE0:n?a.$u.SIZE8:a.$u.SIZE16," ",t||e?a.$u.SIZE0:a.$u.SIZE24," ",t?a.$u.SIZE0:a.$u.SIZE8,";}")},f=(0,o.iv)("display:none;flex:1;@media (min-width:",a.RR.MEDIUM,"){display:block;}"),h=(0,o.iv)("flex:1;margin-left:",a.$u.SIZE8,";text-align:right;"),v=function(e){var n=e.id,t=e.asideSection,i=e.minimam,o=e.scrollButtons,v=e.updatedAt,Z=e.noSidePadding,g=void 0!==Z&&Z,I=e.alignCenter,E=void 0!==I&&I,m=(0,l.bU)().t;return(0,r.BX)("div",{css:u(g,i,E,!!o),children:["titleElement"in e?e.titleElement:(0,r.tZ)(s.Z,{id:t?void 0:n,el:"h2",base:{textStyle:i?"BOLD.SMALL.TIGHT":"BOLD.XX_
1LARGE.NONE"},color:i?a.d9.BASE_SECONDARY:a.d9.BASE_PRIMARY,children:(0,r.tZ)(c.V,{label:e.title})}),o&&(0,r.tZ)("div",{css:f,children:o}),v&&(0,r.tZ)("div",{css:h,children:(0,r.BX)(s.Z,{base:{textStyle:"NORMAL.XX_SMALL.NONE"},sizes:{medium:{textStyle:"NORMAL.SMALL.NONE"}},color:a.d9.BASE_SECONDARY,children:[(0,r.tZ)(d.r,{base:{textStyle:"NORMAL.XX_SMALL.NONE"},sizes:{medium:{textStyle:"NORMAL.SMALL.NONE"}},color:a.d9.BASE_SECONDARY,date:v,fallbackFormat:m["date.format.year_month_day_hour_minutes"],fallbackFormatForSameDay:m["date.format.hour_minutes"]}),m["common.updated"]]})})]})},Z=function(e){return(0,r.tZ)(v,(0,i.Z)({},e))}}},function(e){e.O(0,[5277,6058,1881,3238,6,1561,349,9727,4604,9984,4293,8746,9315,8493,5694,9469,9774,3463,2888,179],(function(){return n=81045,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.