1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[349],{67851:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/videos/playlists",function(){return i(86269)}])},86269:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return L},default:function(){return playlists}});var n=i(85893),s=i(6723),l=i(88685),a=i(5379),d=i.n(a),o=i(67294),r=i(67055),c=i(93514),x=i(93967),m=i.n(x),p=i(41664),C=i.n(p),S=i(6870),u=i(47174),f=i(36298),y=i(7484),O=i(9647),h=i(10601),_=i(83487),g=i(96632);function PlaylistCard(e){var t,i;let{content:s}=e,{link:l,title:a,thumbnail:d,playlistCount:o,timestamp:r}={link:"/playlist/".concat(null==s?void 0:s.id,"/").concat(null==s?void 0:s.slug),playlistCount:null==s?void 0:null===(t=s.story_count)||void 0===t?void 0:t.toString(),title:null==s?void 0:s.title,thumbnail:null==s?void 0:null===(i=s.thumbnail)||void 0===i?void 0:i.desktop,timestamp:null==s?void 0:s.updated_at},x=(0,c.tq)();function handleClick(){var e;s&&((0,y.qP)("Content Card","Click",{label:"playlist",value:null==s?void 0:s.id}),(0,O.j)("ContentClicked",{content:{type:"Playlist",barstoolBrandID:(null==s?void 0:s.brand_id)?String(null==s?void 0:s.brand_id):void 0,barstoolPostID:String(null==s?void 0:s.id),imageSrc:null==s?void 0:null===(e=s.thumbnail)||void 0===e?void 0:e.desktop,componentName:"StoryCard"}}),(0,_.dG)("ContentClicked",{componentType:"Playlist Card",componentPlacement:"Content List",brandId:(0,g.wY)(s),contentId:null==s?void 0:s.id}))}return(0,n.jsx)("article",{children:(0,n.jsxs)(f.C,{className:"p-[10px] gap-x-[14px] lg:py-4 lg:px-5 lg:gap-x-6",children:[(0,n.jsxs)(C(),{onClick:handleClick,href:l,prefetch:!1,className:m()("storyCard__image relative w-[142px] border border-solid border-[#EEEEEE] md:w-[162px] lg:w-[282px]",{"!min-h-0":!0}),children:[(0,n.jsx)(f.C.Thumbnail,{src:d,alt:a,overwriteCrop:!0,aspectRatio:"16:9,smart",className:"w-[142px] border border-solid border-[#EEEEEE] md:w-[162px] lg:w-[282px]",sizes:"(max-width: 768px) 140px, (max-width: 1024px) 160px, 280px"}),(0,n.jsx)(h.Z,{title:o,playlist:!0})]}),(0,n.jsxs)("div",{className:"flex-grow self-stretch flex flex-col overflow-hidden",onClick:handleClick,children:[(0,n.jsx)(C(),{className:"text-sm font-bold leading-tight mb-2 text-[#222222] tracking-[-0.1px] md:text-base lg:text-2xl lg:leading-[28px]",href:l,children:(0,n.jsx)(S.Z,{className:"m-0 p-0 w-full text-left",text:a,maxLine:x?3:6,ellipsis:"...",trimRight:!0,basedOn:"letters"})}),(0,n.jsxs)(u.x,{as:"span",color:"gray",size:"xs",className:"italic",children:["Updated ",(0,c.wN)(r)]})]})]})})}var E=i(5432),N=i(58322),A=i(48224),v=i(96026),j=i.n(v),w=i(26621),B=i(6923);function Loader(){return j()(10).map(e=>(0,n.jsx)(B.ax,{},e))}function PlaylistList(e){let{items:t=[],next:i=()=>{},hasMore:s=!1,homepage:l=!1,isLoading:a=!1,disableNativeAds:d=!1,adSettings:r}=e,[c,x]=(0,o.useState)(!0),p=(0,A.X)();return(0,n.jsx)(E.Z,{next:i,hasMore:s,isLoading:a,loader:Loader,children:t.map((e,t)=>(0,n.jsxs)(o.Fragment,{children:[function(e){switch(e+(l?2:1)){case 3:return!d&&(0,n.jsx)("div",{id:"nativeAd-placeholder"});case 5:return!p&&(0,n.jsx)("div",{className:m()("feedAd__slot text-center overflow-x-hidden",{"py-[18px] px-0 h-auto border-b-2 border-solid border-[#f1f1f1]":c,"p-0 h-0 border-none":!c}),children:(0,n.jsx)(N.Z,{id:w.qk["leaderboard-in-feed"],adSettings:r,setAdRendered:x})});case 11:return(0,n.jsx)("div",{className:"bc-golf-segment-1"});case 21:return(0,n.jsx)("div",{className:"bc-golf-segment-2"});case 31:return(0,n.jsx)("div",{className:"bc-golf-segment-3"});default:return null}}(t),(0,n.jsx)(PlaylistCard,{content:e})]},e.id))})}var components_PlaylistsIndex=function(e){let{items:t,next:i,hasMore:s,title:l,isLoading:a,adSettings:o}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:d().dynamic([["232808ff2ac107ec",[c.C6.BREAKPOINTS.SM-1,c.C6.BOX_SHADOW.DEFAULT,c.C6.FONTS.BEBAS,c.C6.COLORS.SECONDARY]]])+" container",children:(0,n.jsxs)("div",{className:d().dynamic([["232808ff2ac107ec",[c.C6.BREAKPOINTS.SM-1,c.C6.BOX_SHADOW.DEFAULT,c.C6.FONTS.BEBAS,c.C6.COLORS.SECONDARY]]])+" row row--main",children:[(0,n.jsx)("div",{className:d().dynamic([["232808ff2ac107ec",[c.C6.BREAKPOINTS.SM-1,c.C6.BOX_SHADOW.DEFAULT,c.C6.FONTS.BEBAS,c.C6.COLORS.SECONDARY]]])+" col col--main",children:(0,n.jsxs)("div",{className:d().dynamic([["232808ff2ac107ec",[c.C6.BREAKPOINTS.SM-1,c.C6.BOX_SHADOW.DEFAULT,c.C6.FONTS.BEBAS,c.C6.COLORS.SECONDARY]]])+" stories-container",children:[l&&(0,n.jsx)("h1",{className:d().dynamic([["232808ff2ac107ec",[c.C6.BREAKPOINTS.SM-1,c.C6.BOX_SHADOW.DEFAULT,c.C6.FONTS.BEBAS,c.C6.COLORS.SECONDARY]]])+" stories__title",children:l}),(0,n.jsx)(PlaylistList,{items:t,isLoading:a,next:i,hasMore:s,adSettings:o,feedType:"playlist"})]})}),(0,n.jsx)("div",{className:d().dynamic([["232808ff2ac107ec",[c.C6.BREAKPOINTS.SM-1,c.C6.BOX_SHADOW.DEFAULT,c.C6.FONTS.BEBAS,c.C6.COLORS.SECONDARY]]])+" col col--sidebar",children:(0,n.jsx)(r.Y,{adSett
1ings:o})})]})}),(0,n.jsx)(d(),{id:"232808ff2ac107ec",dynamic:[c.C6.BREAKPOINTS.SM-1,c.C6.BOX_SHADOW.DEFAULT,c.C6.FONTS.BEBAS,c.C6.COLORS.SECONDARY],children:".container.__jsx-style-dynamic-selector>.row.__jsx-style-dynamic-selector{display:grid;grid-template-columns:1fr 300px;grid-column-gap:30px;margin-left:0;margin-right:0}.container.__jsx-style-dynamic-selector>.row.__jsx-style-dynamic-selector>.col.__jsx-style-dynamic-selector{padding:0}@media(max-width:".concat(c.C6.BREAKPOINTS.SM-1,"px){.container.__jsx-style-dynamic-selector>.row.__jsx-style-dynamic-selector{grid-template-columns:1fr}}.container.__jsx-style-dynamic-selector{padding-left:0;padding-right:0}@media(min-width:480px){.container.__jsx-style-dynamic-selector{padding-left:15px;padding-right:15px}}.stories-container.__jsx-style-dynamic-selector{background-color:white;padding:0;-webkit-box-shadow:").concat(c.C6.BOX_SHADOW.DEFAULT,";-moz-box-shadow:").concat(c.C6.BOX_SHADOW.DEFAULT,";box-shadow:").concat(c.C6.BOX_SHADOW.DEFAULT,"}.stories__title.__jsx-style-dynamic-selector{font-family:").concat(c.C6.FONTS.BEBAS,";font-size:1.875rem;font-weight:600;text-transform:uppercase;color:").concat(c.C6.COLORS.SECONDARY,";line-height:1.2;padding:.75rem 1.125rem;margin:0}")})]})},b=i(49192),T=i(60471),D=i(90769),R=i(20984),L=!0,playlists=function(e){let{items:t}=e,i=(0,D.J)({cacheKey:"playlist-index-items",limit:25,initialItems:t,handler:e=>R.Uw.find(e)});(0,b.y4)(i);let a={slot:T.AdSlotTypes.section,keyValues:{}};return(0,n.jsxs)(l.Z,{feedNavOptions:(0,c.Cf)("/videos/playlists"),adSettings:a,children:[(0,n.jsx)(s.Z,{title:"Video Playlists | Barstool Sports",description:"Use Barstool Sports original video playlists to catch up on The Rundown, One Bite Pizza Reviews and your favorite shows."}),(0,n.jsx)(components_PlaylistsIndex,{...i,adSettings:a})]})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=67851)}),_N_E=e.O()}]);
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.