1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{4242:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var i=r(45794),s=r(27250),n=r(83093),a=r(59992),l=r(33522),o=r(21250),c=r(10028),d=r(8893),u=r(59869),m=r(41360),h=r(78790),p=r(96151),g=r(43948),y=r(93619),f=r(15848),x=r(37220),j=r(87156),v=r.n(j),w=r(48230),C=r.n(w),E=r(89099),b=r(8214),N=r(83120),S=r(14232),k=r(76342),A=r(89584),O=r(37876),P=function(e){var t,r=e.ecosystem,n=e.router,c=e.hostname,m=e.ecosystemInput,f=(0,S.useState)(!1),j=f[0],v=f[1],w=(0,S.useContext)(N.gJ).locale,E=(0,k.tz)(),A=E.formatMessage({id:"listing_naming.".concat(r.listingNaming,".one")});(0,S.useEffect)(function(){var e=n.query;(null==e?void 0:e.request)==="true"&&v(!0)},[n]);var P=(t=r.id,[(0,s.IT)(b.QK,{variables:{ecosystemId:t,limit:30}}),(0,s.IT)(b.bL,{variables:{ecosystemId:t,limit:500}})]),I=(0,i.A)(P,2),T=I[0],_=I[1];if(T.loading||_.loading||T.error||_.error)return!1;var D=T.data.collectionsPreview,F=_.data.categoriesPreview;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(p.Ay,{title:(0,x.HK)(r,"mastheadTitle",w),description:(0,x.HK)(r,"mastheadDescription",w),search:"FILTER"!==r.menuStyle,marketplace:r}),(0,O.jsx)(y.A,{title:E.formatMessage({id:"integration.request"},{listingNaming:A}),description:E.formatMessage({id:"integration.request.form.description"},{listingNaming:A}),ecosystem:r,isOpen:j}),(0,O.jsxs)(o.A,{menuPosition:r.menuPosition,renderSidebar:(0,O.jsx)(h.o,{marketplace:r,style:"pills"}),children:[(0,O.jsx)(l.A,{title:(0,x.HK)(r,"metaTagTitle",w),description:(0,x.HK)(r,"metaTagTitle",w),path:n.asPath,ecosystem:r,hostname:c,noIndex:null==m?void 0:m.isStaging}),r.detailPagesEnabled&&r.homePageCollectionCategoryCards?(0,O.jsxs)(a.A,{container:!0,spacing:5,children:[D.map(function(e,t){return(0,O.jsx)(d.CN,{lg:(0,d.Ey)(r.cardColumns),md:(0,d.Ey)(r.cardColumns),children:(0,O.jsx)(C(),{href:"/collection/".concat(e.slug),"data-testid":"collection-card",children:(0,O.jsx)(d.Ay,{id:e.id,title:(0,u.Fe)((0,x.HK)(e,"name",w),r,e),description:(0,u.Fe)((0,x.HK)(e,"description",w),r,e),avatars:(0,O.jsx)(d.LN,{listings:e.listings}),cardStyle:"STYLE9",listingNaming:r.listingNaming})},t)},e.id)}),F.map(function(e,t){return(0,O.jsx)(d.CN,{lg:(0,d.Ey)(r.cardColumns),md:(0,d.Ey)(r.cardColumns),children:(0,O.jsx)(C(),{href:"/category/".concat(e.slug),"data-testid":"category-card",children:(0,O.jsx)(d.Ay,{id:e.id,title:(0,u.Fe)((0,x.HK)(e,"name",w),r,e),description:(0,u.Fe)((0,x.HK)(e,"description",w),r,e),avatars:(0,O.jsx)(d.LN,{listings:e.listings}),cardStyle:"STYLE9",listingNaming:r.listingNaming})},t)},e.id)})]}):(0,O.jsxs)(S.Fragment,{children:[D.map(function(e){return e.visible&&!e.hiddenFromHomepage&&(0,O.jsx)(g.y,{title:(0,u.Fe)((0,x.HK)(e,"name",w),r),description:(0,u.Fe)((0,x.HK)(e,"description",w),r),href:"/collection/".concat(e.slug),columns:e.columns,cardColumns:e.cardColumns||r.cardColumns,cardStyle:e.cardStyle||r.cardStyle,listings:e.listings,marketplace:r,limit:e.showMaxItemsHomepage||2e3},e.id)}),!D.length>0&&(0,O.jsx)(M,{ecosystemInput:m,ecosystem:r,cardStyle:r.cardStyle}),r.homePageShowAllListings&&(0,O.jsxs)("div",{className:"listings",children:[(0,O.jsxs)("div",{className:"grid-section-header",children:[(0,O.jsx)("div",{className:"fr all-link",children:(0,O.jsxs)(C(),{href:"/all",onClick:function(e){return e.stopPropagation()},children:[(0,O.jsx)(k.sA,{id:"see_all"}),(0,O.jsx)("span",{className:"arrow",children:"â"})]})}),(0,O.jsx)("h4",{children:(0,O.jsx)(k.sA,{id:"all"})})]}),(0,O.jsx)(M,{ecosystemInput:m,ecosystem:r,cardStyle:r.cardStyle})]})]})]})]})},M=function(e){var t=e.ecosystem,r={ecosystemId:t.id},i=(0,s.IT)(b.YD,{variables:r}),n=i.loading,a=i.error,l=i.data,o=i.fetchMore;if(n)return(0,O.jsx)(f.A,{});if(a)return!1;var c=l.listingsPreview,d=c.data,u=c.hasMore;return(0,O.jsx)(g.a,{listings:d,hasMore:u,marketplace:t,cardStyle:t.cardStyle,loadMore:function(){return o({variables:{limit:7*t.cardColumns||21,offset:d.length}})},cardColumns:t.cardColumns,showCreate:!0})};let I=(0,A.Zz)(E.withRouter,(0,n.U)(b.pQ,{options:function(e){var t=e.ecosystemInput,r={};switch(t.type){case"slug":r.slug=t.value;break;case"customDomain":r.customDomain=t.value}return{variables:r}}}))(function(e){var t=e.data,r=e.ecosystemInput,i=e.router,s=e.messages,n=e.hostname,a=t.loading,l=t.error,o=t.ecosystem;return((0,S.useEffect)(function(){o&&(0,u.Dm)(window,o)},[o]),a)?(0,O.jsx)("div",{}):l?(console.error(JSON.stringify(l)),(0,O.jsx)(v(),{statusCode:404})):(0,O.jsx)(c.A,{className:"home-page",marketplace:o,messages:s,renderStickyBanner:function(){return(0,O.jsx)(m.A,{marketplace:o})},children:(0,O.jsx)(P,{ecosystem:o,router:i,hostname:n,ecosystemInput:r})})})},15848:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(67140),s=r(37876);let n=function(){return(0,s.jsxs)(i.Ay,{height:860,width:860,viewBox:"0 0 860 860",children:[(0,s.jsx)("rect",{x:"0",y:"0",rx:"8",ry:"8",width:"185",height:"185"}),(0,s.jsx)("rect",{x:"215",y:"0",rx:"8",ry:"8",width:"185",height:"185"}),(0,s.jsx)("rect",{x:"430",y:"0",rx:"8",ry:"8",width:"185",height:"185"}),(0,s.jsx)("rect",{x:"645",y:"0",rx:"8",ry:"8",width:"185",height:"185"}),(0,s.jsx)("rect",{x:"0",y:"215",rx:"8",ry:"8",width:"185",height:"185"}),(0,s.jsx)("rect",{x:"215",y:"215",rx:"8",ry:"8",width:"185",height:"185"}),(0,s.jsx)("rect",{x:"430",y:"215",rx:"8",ry:"8",width:"185",height:"185"}),(0,s.jsx)("rect",{x:"645",y:"215",rx:"8",ry:"8",width:"185",height:"185"})]})}},42936:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(4242)}])},43948:(e,t,r)=>{"use strict";r.d(t,{a:()=>S,y:()=>N});var i=r(42969),s=r(59860),n=r(14232),a=r(44264),l=r(59992),o=r(8893),c=r(74494),d=r(42908),u=r(48230),m=r.n(u),h=r(89099),p=r(9741),g=r(76342),y=r(99948),f=r(28378),x=r(37876),j=["title","description","href","isRequested","loadMore","cardColumns"];function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(r),!0).forEach(function(t){(0,i.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var C=new Set(["itemPosition","verticalMode","isRTL","sliderPosition","swipedSliderPosition","isSwiping","transitionMs","easing","tiltEasing","outerSpacing","size","active"]),E=function(e,t){return"string"!=typeof t||!C.has(e)},b=function(e){var t=e.listings,r=e.marketplace,i=e.cardStyle,s=e.cardColumns,c=e.loadMore,d=e.hasMore,u=e.showCreate,m=e.limit,g=void 0===m?2e3:m,y=(0,h.useRouter)().pathname,j=(0,n.useState)(!1),v=j[0],w=j[1];(0,n.useEffect)(function(){var e=window.matchMedia("(max-width: 699px)"),t=function(){return w(e.matches)};return t(),e.addEventListener("change",t),function(){return e.removeEventListener("change",t)}},[]);var C=null==t?void 0:t.slice(0,g);return"/"===y&&v?(0,x.jsx)("div",{children:(0,x.jsx)(a.ID,{shouldForwardProp:E,children:(0,x.jsx)(p.A,{itemsToShow:1,itemPadding:[15,10],children:null==C?void 0:C.slice(0,5).map(function(e){return(0,x.jsx)(o.l,{i:e,marketplace:r,cardStyle:i,cardColumns:s,href:e.detailPageDisabled&&e.links&&e.links.length>0&&e.links[0].url,productUrl:e.productUrl},e.id)})})})}):(0,x.jsxs)(l.A,{container:!0,spacing:2,children:[null==C?void 0:C.map(function(e){return(0,x.jsx)(o.l,{i:e,marketplace:r,cardStyle:i,cardColumns:s,href:e.detailPageDisabled&&e.links&&e.links.length>0&&e.links[0].url,productUrl:e.productUrl},e.id)}),void 0!==u&&u&&(null==t?void 0:t.length)<=g-1&&(0,x.jsx)(o.JJ,{link:r.createLink,showDescription:r.cardShowDescription,cardStyle:i,cardColumns:s,marketplace:r}),d&&c&&(0,x.jsx)(f.Y,{onEnter:c})]})},N=(0,d.A)(function(e){var t=e.title,r=e.description,i=e.href,n=e.isRequested,a=e.loadMore,l=e.cardColumns,o=(0,s.A)(e,j);return(0,x.jsxs)("div",{className:"listings",children:[t&&(0,x.jsxs)("div",{className:"grid-section-header",id:t,children:[(0,x.jsx)("div",{className:"fr all-link",children:i?(0,x.jsxs)(m(),{href:i,children:[(0,x.jsx)(g.sA,{id:"see_all"}),(0,x.jsx)("span",{className:"arrow",children:"â"})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(g.sA,{id:"see_all"}),(0,x.jsx)("span",{className:"arrow",children:"â"})]})}),(0,x.jsx)("h4",{children:t}),r&&(0,x.jsx)("h3",{children:(0,x.jsx)(y.$,{children:r})})]}),n?(0,x.jsx)(c.A,w({cardColumns:l},o)):(0,x.jsx)(b,w({cardColumns:l,loadMore:a},o))]})}),S=n.memo(b);S.displayName="ListingCards"},67140:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c});var i=r(14232),s=function(){return Math.random().toString(36).substring(2)},n=function(e){var t=e.uniquekey?e.uniquekey+"-idClip":s(),r=e.uniquekey?e.uniquekey+"-idGradient":s(),n=e.rtl?["1; -3","2; -2","3; -1"]:["-3; 1","-2; 2","-1; 3"];return(0,i.createElement)("svg",{viewBox:"0 0 "+e.width+" "+e.height,style:e.style,preserveAspectRatio:e.preserveAspectRatio,className:e.className},(0,i.createElement)("rect",{style:{fill:"url(#"+r+")"},clipPath:"url(#"+t+")",x:"0",y:"0",width:e.width,height:e.height}),(0,i.createElement)("defs",null,(0,i.createElement)("clipPath",{id:t},e.children),(0,i.createElement)("linearGradient",{id:r},(0,i.createElement)("stop",{offset:"0%",stopColor:e.primaryColor,stopOpacity:e.primaryOpacity},e.animate&&(0,i.createElement)("animate",{attributeName:"offset",values:n[0],dur:e.speed+"s",repeatCount:"indefinite"})),(0,i.createElement)("stop",{offset:"50%",stopColor:e.secondaryColor,stopOpacity:e.secondaryOpacity},e.animate&&(0,i.createElement)("animate",{attributeName:"offset",values:n[1],dur:e.speed+"s",repeatCount:"indefinite"})),(0,i.createElement)("stop",{offset:"100%",stopColor:e.primaryColor,stopOpacity:e.primaryOpacity},e.animate&&(0,i.createElement)("animate",{attributeName:"offset",values:n[2],dur:e.speed+"s",repeatCount:"indefinite"})))))},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},l={animate:!0,height:130,preserveAspectRatio:"xMidYMid meet",primaryColor:"#f0f0f0",primaryOpacity:1,rtl:!1,secondaryColor:"#e0e0e0",secondaryOpacity:1,speed:2,width:400},o=function(e){return(0,i.createElement)("rect",{x:"0",y:"0",rx:"5",ry:"5",width:e.width,height:e.height})};let c=function(e){var t=a({},l,e),r=e.children?e.children:(0,i.createElement)(o,t);return(0,i.createElement)(n,t,r)}},74494:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var i=r(27250),s=r(59992),n=r(8893),a=r(70681),l=r(8214),o=r(14232),c=r(37876);let d=function(e){var t=e.ecosystem,r=e.cardColumns,d=e.limit,u=(0,i.IT)(l.Qu,{variables:{ecosystemId:t.id}}),m=u.loading,h=u.error,p=u.refetch,g=u.data;if(m)return(0,c.jsx)(o.Fragment,{});if(h)return!1;var y=g.requestedListings;return(0,c.jsxs)(s.A,{container:!0,spacing:2,children:[(null==y?void 0:y.length)!==d&&(0,c.jsx)(n.CN,{lg:(0,n.Ey)(r||t.cardColumns),md:(0,n.Ey)(r||t.cardColumns),children:(0,c.jsx)(a.A,{ecosystem:t,isDefault:!0})}),null==y?void 0:y.map(function(e,i){return(0,c.jsx)(n.CN,{lg:(0,n.Ey)(r||t.cardColumns),md:(0,n.Ey)(r||t.cardColumns),children:(0,c.jsx)(a.A,{listing:e,ecosystem:t,refetch:function(){return p()},isFetching:m})},i)})]})}},78790:(e,t,r)=>{"use strict";r.d(t,{o:()=>i.o});var i=r(91575);r(92505)}},e=>{e.O(0,[1167,6324,3093,1623,9033,1914,7758,8378,524,8893,6657,636,6593,8792],()=>e(e.s=42936)),_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.