PageSourceSearch

https://community.greentechinsights.com/_next/static/chunks/pages/…/products/[categoryId]-3979110d3395e7b9.js

js greentechinsights.com collected 2026-09-26 02:29:37 UTC 6,490 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c30500b8-1f41-4f6a-b68c-2f6ef7f3352e",e._sentryDebugIdIdentifier="sentry-dbid-c30500b8-1f41-4f6a-b68c-2f6ef7f3352e")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4951],{64171:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[eventSlug]/exhibitor/[exhibitorId]/products/[categoryId]",function(){return n(22438)}])},92369:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var r=n(52322),i=n(55835),o=n(11817);function d(e){let{children:t,...n}=e,{event:d}=(0,i.v)();return(0,r.jsx)(o.Z,{...n,event:d,children:t})}function u(e,t){return(0,r.jsx)(d,{...t,children:e})}function c(e){function t(t){return(0,r.jsx)(e,{...t})}return t.getInitialProps=e.getInitialProps,t.getLayout=e.getLayout?(t,n)=>{var r;return null===(r=e.getLayout)||void 0===r?void 0:r.call(e,u(t,n),n)}:u,t}},22438:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return I}});var r=n(38869),i=n(92369),o=n(52322),d=n(39097),u=n.n(d),c=n(5632),s=n(99565),a=n(340),f=n(488),l=n(9682),h=n(41873),v=n(9916);function b(){let e=(0,c.useRouter)(),{background:t}=(0,h.ho)(),{eventSlug:n,exhibitorId:r}=(0,l.SU)(),i=(0,s.x)();return(0,o.jsx)(v.Z,{stickyOffset:i.contentOffset,mobileOffset:i.mobileOffsetTop,showActions:!0,mobileFiltersMode:"SWIPE_BOTTOM_MODAL",viewHasBackground:!!t,onBack:()=>e.push((0,f.wo)({eventSlug:n,exhibitorId:r})),renderProductCard:(e,t)=>(0,o.jsx)(u(),{href:(0,a.ob)({eventSlug:n,productId:t.id}),children:e})})}b.getInitialProps=async e=>(await (0,v.b)(e),{});var I=(0,i.N)((0,r.g)(b))},9682:function(e,t,n){"use strict";n.d(t,{IA:function(){return c},SU:function(){return d},a4:function(){return u}});var r=n(5632),i=n(92970),o=n(19855);function d(){var e;return{eventSlug:(e=(0,r.useRouter)().query).eventSlug,exhibitorId:e.exhibitorId,categoryId:e.categoryId,search:(0,i.O)(e.search),filters:e.filters}}function u(e){let{eventSlug:t,exhibitorId:n,categoryId:r}=e;return(0,o.n)("/event/[eventSlug]/exhibitor/[exhibitorId]/products/[categoryId]",{eventSlug:t,exhibitorId:n,categoryId:r})}function c(e){let{eventSlug:t,exhibitorId:n,categoryId:r}=e;return(0,o.n)("/widget/event/[eventSlug]/exhibitor/[exhibitorId]/products/[categoryId]",{eventSlug:t,exhibitorId:n,categoryId:r})}},9916:function(e,t,n){"use strict";n.d(t,{Z:function(){return w},b:function(){return E}});var r=n(52322),i=n(67862),o=n(2784),d=n(81548),u=n(10199),c=n(82778),s=n(14938),a=n(14134),f=n(72142);function l(){let e=(0,i._)(["\n  query EventExhibitorProductsListQuery(\n    $exhibitorId: ID!\n    $categoryId: ID!\n    $eventId: ID!\n  ) {\n    exhibitor: Core_exhibitor(_id: $exhibitorId, eventId: $eventId) {\n      id: _id\n      ...ExhibitorProductListFragment\n      withEvent(eventId: $eventId) {\n        products(categoryId: $categoryId) {\n          filters {\n            ...EventFilterFragment\n          }\n        }\n      }\n    }\n  }\n  ","\n  ","\n"]);return l=function(){return e},e}function h(){let e=(0,i._)(["\n  query EventExhibitorProductsListConnectionQuery(\n    $eventId: ID!\n    $withEvent: Boolean = true\n    $exhibitorId: ID!\n    $categoryId: ID!\n    $after: String\n    $search: String\n    $filters: Core_ExhibitorProductsFilterInput\n  ) {\n    exhibitor: Core_exhibitor(_id: $exhibitorId, eventId: $eventId) {\n      id: _id\n      withEvent(eventId: $eventId) {\n        products(search: $search, categoryId: $categoryId, filters: $filters) {\n          products(cursor: { first: 30, after: $after }) {\n            ...ProductListConnectionFragment\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return h=function(){return e},e}let v=(0,d.Ps)(l(),s.VR,s.tC),b=(0,d.Ps)(h(),s.hE);function I(e){var t,n,i,d,l;let{exhibitorId:h,selectedFilters:I=[],categoryId:g,search:p,stickyOffset:x,onFilter:y,onSearch:w=()=>{},onBack:E,mobileFiltersMode:_,leftPrependComponent:P,showActions:$,renderProductCard:k,mobileOffset:C,renderHead:O,isWidget:S,viewHasBackgroun
1d:m}=e,F=(0,a.zX)(),{data:L,loading:j,error:D}=(0,u.aM)(v,{variables:{eventId:F.id,categoryId:g,exhibitorId:h},fetchPolicy:"cache-and-network"}),M=(0,u.aM)(b,{variables:{eventId:F.id,categoryId:g,exhibitorId:h,search:p,filters:(0,s.cS)(I)},fetchPolicy:"cache-and-network"}),B=(0,o.useCallback)(async e=>{await M.fetchMore({variables:{after:e},updateQuery:(e,t)=>{let{fetchMoreResult:n}=t;if(!n)return e;let r=e.exhibitor,i=n.exhibitor;return r&&i&&r.withEvent&&i.withEvent?{...n,exhibitor:{...i,withEvent:{...i.withEvent,products:{...i.withEvent.products,products:{...i.withEvent.products.products,nodes:[...r.withEvent.products.products.nodes,...i.withEvent.products.products.nodes]}}}}}:e}})},[M.fetchMore]);if(j&&!L)return(0,r.jsx)(s._C,{stickyOffset:x,mobileOffset:C});if(D&&!L)return(0,r.jsx)(c.Z,{error:D});if(!L||!L.exhibitor)return null;let N=null===(i=M.data)||void 0===i?void 0:null===(n=i.exhibitor)||void 0===n?void 0:null===(t=n.withEvent)||void 0===t?void 0:t.products.products;return(0,r.jsx)(s.ZP,{exhibitor:L.exhibitor,productListConnection:N,productListConnectionLoading:M.loading,productListConnectionError:M.error,loadMore:B,search:p,filters:null===(l=L.exhibitor)||void 0===l?void 0:null===(d=l.withEvent)||void 0===d?void 0:d.products.filters,selectedFilters:I,stickyOffset:x,mobileFiltersMode:_,onSearch:w,onFilter:y,onBack:E,renderProductCard:k,mobileOffset:C,leftPrependComponent:P,renderHead:O,productCardProps:e=>({hoverEffect:!0,action:$&&(0,r.jsx)(f.tk,{product:e,fontSize:16})}),isWidget:S,viewHasBackground:!!m})}var g=n(39200);n(97723);var p=n(68390);n(61873);var x=n(9682),y=n(47718),w=function(e){let{onBack:t,stickyOffset:n,mobileOffset:i,showActions:o,renderProductCard:d,mobileFiltersMode:u,leftPrependComponent:c,viewHasBackground:s}=e,{exhibitorId:a,categoryId:f,search:l,filters:h}=(0,x.SU)(),v=(0,p.zv)();return(0,r.jsx)(I,{exhibitorId:a,categoryId:f,stickyOffset:n,mobileOffset:i,showActions:o,onBack:t,renderProductCard:d,search:l,mobileFiltersMode:u,selectedFilters:(0,g.id)(h),leftPrependComponent:c,renderHead:e=>(0,r.jsx)(y.Z,{title:e.name}),onSearch:e=>v({search:e}),onFilter:e=>v({filters:(0,g.IU)(e)}),viewHasBackground:!!s})};async function E(e){return{}}}},function(e){e.O(0,[6618,8892,9411,8869,6498,708,2055,2888,9774,179],function(){return e(e.s=64171)}),_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.