1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f02389f0-ae6f-4b20-8135-545e67b54bdc",t._sentryDebugIdIdentifier="sentry-dbid-f02389f0-ae6f-4b20-8135-545e67b54bdc")}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1639],{19565:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/c/[communitySlug]/exhibitor/[exhibitorId]/products/[categoryId]",function(){return r(46671)}])},3827:function(t,e,r){"use strict";r.d(e,{O:function(){return s}});var n=r(52322),o=r(94229),i=r(29406);function u(t){let{children:e}=t,{community:r}=(0,i.Zk)();return(0,n.jsx)(o.g,{community:r,children:e})}function c(t){return(0,n.jsx)(u,{children:t})}function s(t){function e(e){return(0,n.jsx)(t,{...e})}return e.getInitialProps=t.getInitialProps,e.getLayout=t.getLayout?(e,r)=>{var n;return null===(n=t.getLayout)||void 0===n?void 0:n.call(t,c(e),r)}:c,e}},46671:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return p}});var n=r(38869),o=r(52322),i=r(15014),u=r(39097),c=r.n(u),s=r(5632),d=r(99565),a=r(53454),f=r(55071),l=r(29406),h=r(25794),b=r(41873),y=r(42894);function g(){let t=(0,s.useRouter)(),{background:e}=(0,b.ho)(),r=(0,d.x)(),{isLoggedIn:n}=(0,i.aC)(),{community:u}=(0,l.Zk)(),{communitySlug:g,exhibitorId:p}=(0,h.Wc)();return(0,o.jsx)(y.Z,{stickyOffset:r.contentOffset,mobileOffset:r.mobileOffsetTop,showAction:n&&!!(null==u?void 0:u.profile),mobileFiltersMode:"SWIPE_BOTTOM_MODAL",onBack:()=>t.push((0,f.PW)({communitySlug:g,exhibitorId:p})),renderProductCard:(t,e)=>(0,o.jsx)(c(),{href:(0,a.iR)({communitySlug:g,productId:e.id}),children:t}),viewHasBackground:!!e})}g.getInitialProps=async t=>{let{hideBurgerMenu:e}=await (0,y.D)(t);return{hideBurgerMenu:e}};var p=(0,r(3827).O)((0,n.g)(g))},42894:function(t,e,r){"use strict";r.d(e,{Z:function(){return _},D:function(){return C}});var n=r(52322),o=r(67862),i=r(2784),u=r(81548),c=r(37884),s=r(82778),d=r(5833),a=r(14938),f=r(72142),l=r(53663);function h(){let t=(0,o._)(["\n query CommunityExhibitorProductsListQuery(\n $categoryId: ID!\n $exhibitorId: ID!\n ) {\n exhibitor: Core_exhibitor(_id: $exhibitorId) {\n id: _id\n ...ExhibitorProductListFragment\n products(categoryId: $categoryId) {\n filters {\n ...EventFilterFragment\n }\n }\n }\n }\n ","\n ","\n"]);return h=function(){return t},t}function b(){let t=(0,o._)(['\n query CommunityExhibitorProductsListConnectionQuery(\n $exhibitorId: ID!\n $categoryId: ID!\n $after: String\n $search: String\n $eventId: ID = ""\n $withEvent: Boolean = false\n $filters: Core_ExhibitorProductsFilterInput\n ) {\n exhibitor: Core_exhibitor(_id: $exhibitorId) {\n id: _id\n products(search: $search, categoryId: $categoryId, filters: $filters) {\n products(cursor: { first: 30, after: $after }) {\n ...ProductListConnectionFragment\n }\n }\n }\n }\n ',"\n"]);return b=function(){return t},t}let y=(0,u.Ps)(h(),a.VR,a.tC),g=(0,u.Ps)(b(),a.hE);function p(t){var e,r;let{exhibitorId:o,categoryId:u,selectedFilters:h=[],search:b,stickyOffset:p,onFilter:x,onSearch:m=()=>{},renderProductCard:v,mobileOffset:I,mobileFiltersMode:_,showAction:C,renderHead:P,onBack:w,viewHasBackground:k}=t,{data:E,loading:O,error:$}=(0,c.aM)(y,{variables:{exhibitorId:o,categoryId:u},fetchPolicy:"cache-and-network"}),j=(0,l.T_)(),F=(0,c.aM)(g,{variables:{exhibitorId:o,categoryId:u,search:b,filters:(0,a.cS)(h)},fetchPolicy:"cache-and-network"}),D=(0,i.useCallback)(async t=>{await F.fetchMore({variables:{after:t},updateQuery:(t,e)=>{let{fetchMoreResult:r}=e;if(!r)return t;let n=r.exhibitor,o=t.exhibitor;return o&&n?{...r,exhibitor:{...n,products:{...n.products,products:{...n.products.products,nodes:[...o.products.products.nodes,...n.products.products.nodes]}}}}:t}})},[F.fetchMore]);if(O&&!E)return(0,n.jsx)(a._C,{stickyOffset:p,mobileOffset:I});if($&&!E)return(0,n.jsx)(s.Z,{error:$});if(!E||!E.exhibitor)return(0,n.jsx)(d.Z,{imageNode:!0,title:j.noCommunityAccess});let L=null===(r=F.data)||void 0===r?void 0:null===(e=r.exhibitor)||void 0===e?void 0:e.products.products;return(0,n.jsx)(a.ZP,{exhibitor:E.exhibitor,productListConnection:L,productListConnectionLoading:F.loading,productListConnectionError:F.error,loadMore:D,search:b,filters:E.exhibitor.products.filters,selectedFilters:h,stickyOffset:p,mobileFiltersMode:_,onSearch:m,onFilter:x,renderProductCard:v,mobileOffset:I,onBack:w,renderHead:P,productCardProps:t=>({hoverEffect:!0,action:C&&(0,n.jsx)(f.fT,{product:t,fontSize:16})}
1),viewHasBackground:!!k})}var x=r(39200);r(97723);var m=r(68390);r(61873);var v=r(25794),I=r(47718),_=function(t){let{onBack:e,showAction:r,stickyOffset:o,mobileFiltersMode:i,renderProductCard:u,mobileOffset:c,viewHasBackground:s}=t,d=(0,m.zv)(),{exhibitorId:a,categoryId:f,search:l,filters:h}=(0,v.Wc)();return(0,n.jsx)(p,{exhibitorId:a,categoryId:f,stickyOffset:o,mobileOffset:c,showAction:r,onBack:e,renderProductCard:u,search:l,mobileFiltersMode:i,selectedFilters:(0,x.id)(h),renderHead:t=>(0,n.jsx)(I.Z,{title:t.name}),onSearch:t=>d({search:t}),onFilter:t=>d({filters:(0,x.IU)(t)}),viewHasBackground:s})};async function C(t){return{hideBurgerMenu:!0}}},94229:function(t,e,r){"use strict";r.d(e,{J:function(){return d},g:function(){return a}});var n=r(67862),o=r(52322),i=r(2784),u=r(81548);function c(){let t=(0,n._)(["\n fragment CommunityProviderFragment on Core_Community {\n id\n slug\n name\n }\n"]);return c=function(){return t},t}let s=(0,i.createContext)(null);function d(){let t=(0,i.useContext)(s);if(!t)throw Error("You must add the CommunityProvider above this component if you want to access the community object here");return t}function a(t){let{community:e,children:r}=t;return e?(0,o.jsx)(s.Provider,{value:e,children:r}):null}(0,u.Ps)(c())}},function(t){t.O(0,[6618,8892,9411,8869,6498,708,2055,2888,9774,179],function(){return t(t.s=19565)}),_N_E=t.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.