PageSourceSearch

https://online.sival-angers.com/_next/static/chunks/pages/c/[commu…/exhibitors-78e4f951d0702b31.js

js sival-angers.com collected 2026-09-24 18:13:52 UTC 4,845 bytes, 1 lines download raw bytes

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]="b5311336-b954-4b26-a6fd-6f5951470d07",n._sentryDebugIdIdentifier="sentry-dbid-b5311336-b954-4b26-a6fd-6f5951470d07")}catch(n){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6323],{40444:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/c/[communitySlug]/my-bookmarks/exhibitors",function(){return t(94937)}])},94937:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return w}});var i=t(38869),r=t(52322),o=t(39097),s=t.n(o),u=t(68654),l=t(31220),a=t(55071),d=t(26964),c=t(93709),m=t(24733);t(79582);var h=t(82778),x=t(81047),f=t(13233),b=t(67862),g=t(2784),y=t(81548),v=t(10199),_=t(70115);function j(){let n=(0,b._)(['\n  query CommunityBookmarkedExhibitorsQuery(\n    $communitySlug: String!\n    $endCursor: String = ""\n    $withEvent: Boolean = false\n    $eventId: ID = ""\n  ) {\n    community: Core_community(slug: $communitySlug) {\n      id\n      slug\n      exhibitors(\n        cursor: { first: 30, after: $endCursor }\n        filter: { isBookmarked: true }\n        sort: { field: NAME, order: ASC }\n      ) {\n        nodes {\n          ...MyVisitExhibitorFragment\n        }\n        pageInfo {\n          hasNextPage\n          endCursor\n        }\n      }\n    }\n  }\n  ',"\n"]);return j=function(){return n},n}let E=(0,y.Ps)(j(),_.B),p=n=>{var e,t;let{communitySlug:i}=n,{data:r,loading:o,error:s,fetchMore:u}=(0,v.aM)(E,{fetchPolicy:"cache-and-network",variables:{communitySlug:i}}),l=null==r?void 0:r.community,a=null==l?void 0:null===(e=l.exhibitors)||void 0===e?void 0:e.pageInfo,d=!!(null==a?void 0:a.hasNextPage),c=null==a?void 0:a.endCursor,m=(0,g.useCallback)(async()=>{d&&await u({variables:{endCursor:c},updateQuery:(n,e)=>{var t;let{fetchMoreResult:i}=e;if(!i)return n;let r=null==i?void 0:i.community,o=null==r?void 0:r.exhibitors,s=null===(t=n.community)||void 0===t?void 0:t.exhibitors;return r&&o?s?{community:{...r,exhibitors:{...o,nodes:[...s.nodes,...o.nodes]}}}:i:n}})},[u,d,c]);return{exhibitors:null==l?void 0:null===(t=l.exhibitors)||void 0===t?void 0:t.nodes,loading:o,error:s,hasNextPage:d,loadMore:m}};var k=function(n){let{communitySlug:e,renderExhibitorCard:t=n=>n}=n,{exhibitors:i,loading:o,error:s,loadMore:u,hasNextPage:l}=p({communitySlug:e});return s?(0,r.jsx)(h.Z,{error:s}):o&&!i?(0,r.jsx)(f.M,{}):i?(0,r.jsx)(f.Z,{exhibitors:i,loading:o,renderExhibitorCard:t,loadMore:u,hasNextPage:l,exhibitorCardProps:n=>({action:(0,r.jsx)(x.E1,{exhibitor:n})})}):null};function I(){let{communitySlug:n}=(0,l.n)(),e=(e,t)=>n?(0,r.jsx)(s(),{href:(0,a.PW)({communitySlug:n,exhibitorId:t.id}),children:e}):e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Z,{communitySlug:n,activeView:"BOOKMARKS"}),(0,r.jsx)(u.Z,{asideLeft:()=>(0,r.jsx)(c.G7,{communitySlug:n,selectedMenuItem:"EXHIBITORS"}),main:()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.D,{}),(0,r.jsx)(c.nn,{communitySlug:n,selectedMenuItem:"EXHIBITORS"}),(0,r.jsx)(k,{communitySlug:n,renderExhibitorCard:e})]})})]})}I.getInitialProps=async n=>({hideBurgerMenu:!0});var w=(0,t(3827).O)((0,i.g)(I))},70115:function(n,e,t){"use strict";t.d(e,{B:function(){return l}});var i=t(67862),r=t(81548),o=t(63196),s=t(81047);function u(){let n=(0,i._)(["\n  fragment MyVisitExhibitorFragment on Core_Exhibitor {\n    ...ExhibitorCardFragment\n    ...ExhibitorBookmarkFragment\n    ...CommunityExhibitorBookmarkFragment\n  }\n  ","\n  ","\n  ","\n"]);return u=function(){return n},n}let l=(0,r.Ps)(u(),o.Qq,s.$,s.jg)},13233:function(n,e,t){"use strict";t.d(e,{M:function(){return c},Z:function(){return m}});var i=t(52322),r=t(2784),o=t(96623),s=t(31146),u=t(63196),l=t(90134),a=t(91210),d=function(){let{t:n}=(0,a.$G)();return(0,i.jsxs)(l.ZP,{children:[(0,i.jsx)(l.aT,{alt:"",src:"https://static.swapcard.com/public/images/de2a9e6705ec4f41a6dca76406e46437.svg"}),(0,i.jsx)(l.rh,{children:n("my_visit_exhibitors_empty_title")}
1),(0,i.jsx)(l.mv,{children:n("my_visit_exhibitors_empty_subtitle")})]})};function c(){return(0,i.jsx)(s.Z,{children:Array(10).fill(null).map((n,e)=>(0,i.jsx)(u._9,{},e))})}var m=function(n){let{exhibitors:e,loading:t,renderExhibitorCard:l=n=>n,loadMore:a,hasNextPage:c,exhibitorCardProps:m=()=>({})}=n;return e.length?(0,i.jsx)(s.Z,{loading:t,children:(0,i.jsx)(o.Z,{loadMore:a,dataLength:e.length,hasNextPage:c,loader:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u._9,{}),(0,i.jsx)(u._9,{}),(0,i.jsx)(u._9,{})]}),children:e.map(n=>(0,i.jsx)(r.Fragment,{children:l((0,i.jsx)(u.ZP,{hoverEffect:!0,exhibitor:n,...m(n)}),n)},n.id))})}):(0,i.jsx)(d,{})}}},function(n){n.O(0,[6618,8892,8869,6318,2888,9774,179],function(){return n(n.s=40444)}),_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.