1try{let n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="84399253-214a-4344-95fe-e0f3607cc150",n._sentryDebugIdIdentifier="sentry-dbid-84399253-214a-4344-95fe-e0f3607cc150")}catch(n){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5272],{58489:function(n,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[eventSlug]/my-bookmarks/videos",function(){return i(47224)}])},47224:function(n,e,i){"use strict";i.r(e),i.d(e,{default:function(){return N}});var t=i(38869),r=i(92369),o=i(52322),l=i(39097),s=i.n(l),a=i(68654),d=i(69639),u=i(25201),c=i(76617),f=i(77287),g=i(79640),v=i(67206);i(6092);var p=i(82778),y=i(57541),_=i(97059),h=i(67862),x=i(81548),m=i(37884),j=i(60417),I=i.n(j),b=i(14134),P=i(24754),M=i(80513);function D(){let n=(0,h._)(["\n query MyVisitVideosQuery(\n $eventId: ID!\n $withEvent: Boolean = true\n $endCursor: String\n ) {\n plannings: Core_plannings(\n _eventId: $eventId\n first: 30\n after: $endCursor\n filterList: [\n { shouldSelfAttendeeStatusIn: [ATTENDING], formats: [ON_DEMAND] }\n ]\n sort: [{ field: BOOKMARKED_SINCE, order: DESC }]\n ) {\n nodes {\n ...MyBookmarksPlanningFragment\n }\n pageInfo {\n hasNextPage\n nextCursor\n totalEdges\n }\n }\n }\n ","\n"]);return D=function(){return n},n}let w=(0,x.Ps)(D(),M.N);var k=function(n){let{renderPlanningCard:e,renderMyScheduleRedirection:i}=n,{error:t,loading:r,loadMore:l,plannings:s,hasNextPage:a}=function(){var n,e,i,t,r;let o=(0,b.zX)(),{data:l,loading:s,error:a,fetchMore:d,refetch:u}=(0,m.aM)(w,{fetchPolicy:"cache-and-network",variables:{eventId:o.id}});(0,P.WO)(n=>{"planning_bookmark_new"===n.type&&u()});let c=!!(null==l?void 0:null===(e=l.plannings)||void 0===e?void 0:null===(n=e.pageInfo)||void 0===n?void 0:n.hasNextPage),f=null==l?void 0:null===(t=l.plannings)||void 0===t?void 0:null===(i=t.pageInfo)||void 0===i?void 0:i.nextCursor;return{error:a,loading:s,loadMore:async()=>{c&&await d({variables:{endCursor:f},updateQuery:(n,e)=>{var i,t;let{fetchMoreResult:r}=e;return(null==r?void 0:r.plannings)?{...r,plannings:{...r.plannings,nodes:[...(null===(i=n.plannings)||void 0===i?void 0:i.nodes)||[],...(null===(t=r.plannings)||void 0===t?void 0:t.nodes)||[]]}}:n}})},hasNextPage:c,plannings:I()(null==l?void 0:null===(r=l.plannings)||void 0===r?void 0:r.nodes)}}();return t?(0,o.jsx)(p.Z,{error:t}):r&&!s.length?(0,o.jsx)(_.a,{}):s?(0,o.jsx)(_.Z,{loadMore:l,plannings:s,hasNextPage:a,renderPlanningCard:e,planningCardProps:n=>({action:(0,o.jsx)(y.e_,{planning:n,renderMyScheduleRedirection:i})})}):null};function C(){let{eventSlug:n}=(0,d.A)(),e=(e,i)=>(0,o.jsx)(s(),{href:(0,u.Lm)({eventSlug:n,planningId:i.id}),children:e},i.id),i=e=>(0,o.jsx)(s(),{href:(0,c.W)({eventSlug:n}),children:e});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(f.Z,{eventSlug:n,activeView:"BOOKMARKS"}),(0,o.jsx)(a.Z,{asideLeft:()=>(0,o.jsx)(g.G7,{eventSlug:n,selectedMenuItem:"VIDEOS"}),main:()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v.D,{}),(0,o.jsx)(g.nn,{eventSlug:n,selectedMenuItem:"VIDEOS"}),(0,o.jsx)(k,{renderPlanningCard:e,renderMyScheduleRedirection:i})]})})]})}C.getInitialProps=async n=>({hideBurgerMenu:!0});var E=i(52372),N=(0,r.N)((0,t.g)((0,E.X)(C)))},80513:function(n,e,i){"use strict";i.d(e,{N:function(){return a}});var t=i(67862),r=i(81548),o=i(57541),l=i(86742);function s(){let n=(0,t._)(["\n fragment MyBookmarksPlanningFragment on Core_Planning {\n ...PlanningCardFragment\n ...PlanningBookmarkFragment\n }\n ","\n ","\n"]);return s=function(){return n},n}let a=(0,r.Ps)(s(),l.xZ,o.Cs)},97059:function(n,e,i){"use strict";i.d(e,{a:function(){return f},Z:function(){return g}});var t=i(52322),r=i(2784),o=i(86742),l=i(80526),s=i(2158),a=i(91210),d=i(90134),u=i(90345),c=function(){let{t:n}=(0,a.$G)();return(0,t.jsxs)(d.ZP,{children:[(0,t.jsx)(d.aT,{alt:"",src:"https://static.swapcard.com/public/images/20d8704131674cc19e1da59e1e4e24c0.svg"}),(0,t.jsx)(d.rh,{...(0,u.o)("empty-video-saved-list"),children:n("my_visit_my_videos_empty_view_title")}),(0,t.jsx)(d.mv,{children:n("my_visit_my_videos_empty_view_description")})]})};function f(n){let{isMobile:e=!1}=n;return(0,t.jsxs)(o._B,{layout:"GRID","aria-label":"Loading my bookmarked videos",children:[(0,t.jsx)(o.fP,{layout:"GRID",isMobile:e}),(0,t.jsx)(o.fP,{layout:"GRID",isMobile:e}),(0,t.jsx)(o.fP,{layout:"GRID",isMobile:e})]})}var g=function(n){let{isMobile:e,loadMore:i,plannings:d,hasNextPage:u,planningCardProps:f=()=>({}),renderPlanningCard:g=n=>n}=n,{t:v}=(0,a.$G)();return d.length?(0,t.jsx)(o._B,{layout:"GRID",children:(0,t.jsx)(l.Z,{hasMore:u,loadMore:i,renderLoader:(n,i)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.fP,{ref:n,layout:"GRID",isMobile:e}),(0,t.jsx)(o.fP,{layout:"GRID",isMobile:e}),(0,t.jsx)(o.fP,{layout:"GRID",isMobile:e}),i&&(0,t.jsx)(s.Z,{"aria-live":"polite",children:v("loading")})]}),children:d.map(n=>(0,t.jsx)(r.Fragment,{children:g((0,t.jsx)(o.ZP,{planning:n,layout:"GRID",hoverEffect:!0,isMobile:e,...f(n)}),n)},n.id))})}):(0,t.jsx)(c,{})}},90345:function(n,e,i){"use strict";i.d(e,{o:function(){return r}});var t=i(44309);function r(n,e){return(0,t.o)(n,e)}}},function(n){n.O(0,[6618,8892,8869,8533,2888,9774,179],function(){return n(n.s=58489)}),_N_E=n.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.