1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8176],{601623:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/creator-marketplace",function(){return r(620984)}])},839444:function(e,t){"use strict";var r,a;(a=r||(r={})).enAU="en-AU",a.deAT="de-AT",a.frBE="fr-BE",a.nlBE="nl-BE",a.deDE="de-DE",a.esES="es-ES",a.frFR="fr-FR",a.itIT="it-IT",a.frLU="fr-LU",a.nlNL="nl-NL",a.enCA="en-CA",a.frCA="fr-CA",a.enUS="en-US",a.deCH="de-CH",a.daDK="da-DK",a.enGB="en-GB",a.enIE="en-IE",a.jaJP="ja-JP",a.nbNO="nb-NO",a.enNZ="en-NZ",a.svSE="sv-SE",a.enSE="en-SE",a.enDK="en-DK",a.enBE="en-BE",a.enNL="en-NL",a.enDE="en-DE",t.Z=r},620984:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return em},default:function(){return eb}});var a=r(687800),n=r(827378),o=r(934301),i=r(31748),l=r(198557),c=r(950693),s=r(171389),u=r(768587),d=r(723740),p=r(988402),g="288px",f=[g,g,"400px"],h=r(581340),m=r(268481),b=r(888149),v=r(537850),y=r(85905),w=r(553446),x=r(187923),k=r(141323),C=r(887824),O=r(527157);function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a})}return e}function Z(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r.push.apply(r,a)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var P=function(){var e=(0,C.Z)().push,t=(0,O.Z)(),r=(0,k.j)({},{suspense:!1,useErrorBoundary:!1}).data,a=(null==r?void 0:r.id)?"".concat(r.id):"",o=(null==r?void 0:r.activeSubscriptionId)?"".concat(r.activeSubscriptionId):"",i=(0,n.useMemo)(function(){return{event:"gaEventTrigger",brand:t,tribe:"New Ventures",screen:"Homepage",customer_id:a,subscription_id:o,gaEventCategory:"creator-marketplace"}},[t,a,o]);return{trackPageView:(0,n.useCallback)(function(){e(Z(_({},i),{event_name:"CM_Home_PageView",gaEventAction:"pageView",gaEventLabel:"homepage",timestamp:Date.now()}))},[i,e]),trackHeroCarouselDisplay:(0,n.useCallback)(function(t){e(Z(_({},i),{event_name:"CM_Home_HeroCarouselDisplay",carousel_position:t.carouselPosition,gaEventAction:"heroCarouselDisplay",gaEventLabel:"".concat(t.carouselPosition),timestamp:Date.now()}))},[i,e]),trackCreatorCardDisplay:(0,n.useCallback)(function(t){e(Z(_({},i),{event_name:"CM_Home_CreatorCardDisplay",creator_id:t.creatorId,card_position:t.cardPosition,gaEventAction:"creatorCardDisplay",gaEventLabel:"".concat(t.creatorId,"|").concat(t.cardPosition),timestamp:Date.now()}))},[i,e]),trackCreatorCardClick:(0,n.useCallback)(function(t){e(Z(_({},i),{event_name:"CM_Home_CreatorCardClick",creator_id:t.creatorId,card_position:t.cardPosition,gaEventAction:"creatorCardClicked",gaEventLabel:"".concat(t.creatorId,"|").concat(t.cardPosition),timestamp:Date.now()}))},[i,e]),trackRecipeCardDisplay:(0,n.useCallback)(function(t){e(Z(_({},i),{event_name:"CM_Home_RecipeCardDisplay",recipe_id:t.recipeId,card_position:t.cardPosition,gaEventAction:"recipeCardDisplay",gaEventLabel:"".concat(t.recipeId,"|").concat(t.cardPosition),timestamp:Date.now()}))},[i,e]),trackRecipeCardClick:(0,n.useCallback)(function(t){e(Z(_({},i),{event_name:"CM_Home_RecipeCardClick",recipe_id:t.recipeId,card_position:t.cardPosition,gaEventAction:"recipeCardClicked",gaEventLabel:"".concat(t.recipeId,"|").concat(t.cardPosition),timestamp:Date.now()}))},[i,e])}},j=r(509037),D=r(411787),E=function(){var e=(0,j.n)(),t=(0,n.useMemo)(function(){return("success"===e.status?e.creators:[]).map(function(e){var t,r=(0,D.j)(e);return{id:r.id,slug:r.slug,name:r.name,profileImageUrl:null!==(t=r.avatarPath)&&void 0!==t?t:"",followerCount:r.followerCount,platform:r.platform,tags:r.tags}})},[e]);return{data:"loading"===e.status?void 0:t,isLoading:"loading"===e.status,isError:"error"===e.status,error:e.error,refetch:e.refetch}},I=function(e){return"".concat(e,"px")},S={mobile:{width:280,height:126,avatarOuter:102,avatarInner:94,overhang:56,marginY:-4},desktop:{width:320,height:168,avatarOuter:160,avatarInner:152,overhang:90,marginY:-24}},A=function(e){return e?S.mobile:S.desktop},R=function(e){var t=A(e);return t.width+t.overhang+24};function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}var B=function(){var e,t=(0,m.Sj)(),r=(0,n.useRef)(null),a=function(e){if(Array.isArray(e))return e}
1(e=(0,n.useState)(3))||function(e,t){var r,a,n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),2!==o.length);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return L(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return L(e,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=a[0],i=a[1],l="mobile"===t,c=(0,n.useCallback)(function(){r.current&&i(Math.max(1,r.current.offsetWidth/R(l)-.5))},[l]);(0,n.useEffect)(function(){c();var e,t=function(){clearTimeout(e),e=setTimeout(c,150)};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t),clearTimeout(e)}},[c]);var s="desktop"===t;return{containerRef:r,perPage:o,skeletonCount:s?Math.max(3,Math.ceil(o)):2,isDesktop:s}},H=r(708597);function X(e,t,r,a,n,o,i){try{var l=e[o](i),c=l.value}catch(e){r(e);return}l.done?t(c):Promise.resolve(c).then(a,n)}var U=(0,u.q)(u.xu),N=function(e){var t,r,n=e.width,o=e.height,i=e.borderRadius,l=(0,u.q_)({from:{opacity:.33},to:(t=function(e){return function(e,t){var r,a,n,o,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(r)throw TypeError("Generator is already executing.");for(;i;)try{if(r=1,a&&(n=2&o[0]?a.return:o[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;switch(a=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(n=(n=i.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(6===o[0]&&i.label<n[1]){i.label=n[1],n=o;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(o);break}n[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],a=0}finally{r=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}(this,function(t){switch(t.label){case 0:return[4,e({opacity:.8})];case 1:return t.sent(),[4,e({opacity:.33})];case 2:return t.sent(),[2]}})},r=function(){var e=this,r=arguments;return new Promise(function(a,n){var o=t.apply(e,r);function i(e){X(o,a,n,i,l,"next",e)}function l(e){X(o,a,n,i,l,"throw",e)}i(void 0)})},function(e){return r.apply(this,arguments)}),config:{duration:1e3,easing:u.Gk.linear},loop:!0});return(0,a.tZ)(U,{height:void 0===o?"20px":o,width:void 0===n?"100%":n,backgroundColor:"global.gray.300",borderRadius:void 0===i?"border-radius-sm":i,style:l})},T=r(318066),M=function(e){var t=e.src,r=e.name,n=e.slug,o=e.compact,i=A(void 0!==o&&o),l=i.avatarOuter,c=i.avatarInner,s=i.overhang,d=i.marginY,p=I(l),g=I(c);return(0,a.tZ)(u.xu,{borderRadius:"border-radius-pill",backgroundColor:"global.white",width:p,height:p,minWidth:p,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"relative",zIndex:1,marginLeft:I(-s),marginY:I(d),"data-test-id":"creator-photo-".concat(n),children:(0,a.tZ)(u.xu,{borderRadius:"border-radius-pill",overflow:"hidden",width:g,height:g,minWidth:g,position:"relative",children:t?(0,a.tZ)(T.ZP,{src:t,alt:r,fill:!0,sizes:g,style:{objectFit:"cover"}}):null})})},z=r(978199),W={compact:"40px",default:"64px"},Y=function(e){var t=e.tags,r=e.slug,n=e.compact,o=void 0!==n&&n,i=o?"xs":"sm",l=o?W.compact:W.default;return(0,a.tZ)(u.xu,{display:"flex",flexWrap:"wrap",alignContent:"flex-start",gap:"global.xs",height:l,minHeight:l,overflow:"hidden","data-test-id":"creator-tags-".concat(r),children:t.map(function(e){return(0,a.tZ)(u.uj,{size:i,fontWeight:"bold",backgroundColor:"alias.elevation.background.base.default",color:"shared-alias.neutral.foreground.default","data-test-id":"
1creator-tag-".concat(r,"-").concat(e),children:e},e)})})},F=function(e){var t=e.name,r=e.followerCount,n=e.platform,o=e.tags,i=e.slug,l=e.compact,c=void 0!==l&&l;return(0,a.BX)(u.xu,{display:"flex",flexDirection:"column",gap:"global.xxs",flex:"1",minWidth:0,justifyContent:c?"center":void 0,children:[(0,a.tZ)(u.xv,{type:c?"body-md-bold":"body-lg-bold",color:"shared-alias.neutral.foreground.default","data-test-id":"creator-name-".concat(i),overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:t}),(0,a.BX)(u.xv,{type:"body-xs-regular",color:"shared-alias.neutral.foreground.default","data-test-id":"creator-followers-".concat(i),marginBottom:c?"global.xs":"global.sm-1",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:[(0,z.k)(r)," followers on ",n]}),(0,a.tZ)(Y,{tags:o,slug:i,compact:c})]})},V=function(e){var t=e.creator,r=e.onClick,n=e.onCardDisplay,o=e.cardPosition,i="mobile"===(0,m.Sj)(),l=A(i),c=I(l.width),s=I(l.height),d=(0,H.G)(t.id,n,void 0!==o);return(0,a.BX)(u.xu,{ref:d,display:"flex",flexDirection:"row",alignItems:"center",gap:i?"global.xs":"global.sm-2",backgroundColor:"alias.elevation.level-1",borderRadius:"border-radius-md",paddingRight:"global.md-2",paddingY:i?"global.xs":"global.sm-2",cursor:"pointer",role:"button",tabIndex:0,onClick:r,onKeyDown:function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),r())},width:c,minWidth:c,height:s,overflow:"visible","data-test-id":"creator-card-".concat(t.slug),children:[(0,a.tZ)(M,{src:t.profileImageUrl,name:t.name,slug:t.slug,compact:i}),(0,a.tZ)(F,{name:t.name,followerCount:t.followerCount,platform:t.platform,tags:t.tags.slice(0,4),slug:t.slug,compact:i})]})};function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a})}return e}function K(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r.push.apply(r,a)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}V.Skeleton=function(){var e="mobile"===(0,m.Sj)(),t=A(e),r=I(t.width),n=I(t.height),o=I(t.avatarOuter);return(0,a.BX)(u.xu,{display:"flex",flexDirection:"row",alignItems:"center",gap:e?"global.xs":"global.sm-2",backgroundColor:"alias.elevation.level-1",borderRadius:"border-radius-md",paddingRight:"global.md-2",paddingY:e?"global.xs":"global.sm-2",width:r,minWidth:r,height:n,overflow:"visible","data-test-id":"creator-card-skeleton",children:[(0,a.tZ)(u.xu,{backgroundColor:"global.gray.300",width:o,height:o,minWidth:o,borderRadius:"border-radius-pill",flexShrink:0,marginLeft:I(-t.overhang),marginY:I(t.marginY)}),(0,a.BX)(u.xu,{display:"flex",flexDirection:"column",gap:"global.xs",flex:"1",children:[(0,a.tZ)(N,{width:"70%",height:"14px"}),(0,a.tZ)(N,{width:"60%",height:"12px"}),(0,a.BX)(u.xu,{display:"grid",gridTemplateColumns:"repeat(2, auto)",gap:"global.xs",justifyContent:"start",children:[(0,a.tZ)(N,{width:"72px",height:"20px",borderRadius:"border-radius-pill"}),(0,a.tZ)(N,{width:"64px",height:"20px",borderRadius:"border-radius-pill"}),!e&&(0,a.tZ)(N,{width:"80px",height:"20px",borderRadius:"border-radius-pill"})]})]})]})};var q=function(e){var t=e.navigate,r=e.carouselId,n=e.disabled,o=e.direction;return(0,a.tZ)(u.hU.Tertiary,{id:"arrow-".concat(o,"-").concat(r),size:"sm",shape:"square",icon:"left"===o?(0,a.tZ)(d.default,{}):(0,a.tZ)(p.default,{}),onClick:t,disabled:n,"aria-label":"left"===o?"Scroll creators left":"Scroll creators right"})},J=function(){var e=(0,h.t)(),t=(0,m.Sj)(),r=(0,v.H)().translateRaw,o=E(),i=o.data,l=o.isLoading,c=o.isError,s=o.error,d=B(),p=d.containerRef,g=d.perPage,f=d.skeletonCount,k=d.isDesktop,C=(0,n.useRef)(null),O=(0,n.useRef)(null),_="success";l?_="loading":c&&(_="error"),(0,y.x)({spanName:w.R.homepageCreatorsGet,outcome:_,error:s});var Z=P(),j=Z.trackCreatorCardDisplay,D=Z.trackCreatorCardClick,S=null!=i?i:[],R="mobile"===t,L=A(R).overhang,H=I(L),X=I(L+24),U=function(t,r,a){D({creatorId:t,cardPosition:a}),(0,x.Z)(e,(0,b.lp)(r,"home"))};if(!l&&0===S.length)return null;var N=function(e,t,r,n){return(0,a.tZ)(u.xu,{flexShrink:0,overflow:"visible",marginRight:t===r-1?void 0:X,paddingY:R?"global.xs":"global.md-1",children:n},e)};return(0,a.tZ)(u.xu,{as:"section",backgroundColor:"alias.page-background.default","data-test-id":"find-creators-section",children:(0,a.BX)(u.xu,{ref:p,maxWidth:"1200px",marginX:"auto",width:"100%",paddingX:["global.sm-2","global.md-1","global.lg-2"],paddingTop:["global.sm-1","global.sm-2","global.lg-3"],paddingBottom:["global.sm-1","global.sm-2","global.sm-2"],children:[(0,a.tZ)(u.xu,{marginBottom:["global.sm-2","global.sm-2","global.md-2"],children:(0,a.tZ)(u.xv,{as:"h2",color:"neutral.800",type:"body-md-bold",children:r("creator_marketplace.homepage.find_creators.title")})}),(0,a.BX)(u.xu,{display:"flex",flexDirection:"column",children:[(0,a.BX)(u.xu,{display:"flex",order:2,justifyContent:k?"flex-end":"center",alignItems:"center",gap:"global.sm-1",marginTop:R?"global.xs":"global.sm-2",position:"relative",style:{zIndex:1},children:[(0,a.tZ)(u.xu,{ref:C,display:"flex",alignItems:"center"}),(0,a.tZ)(u.xu,{ref:O,display:"flex",alignItems:"center"})]}),(0,a.tZ)(u.xu,{overflow:"visible",order:1,children:(0,a.tZ)(u.lr,{id:"find-creators-carousel",perPage:g,autoflex:!1,autosize:!1,paddingX:"global.none",paddingY:"global.none",sliderInitialPadding:H,snapAlign:"start",autosnap:!0,partialSlideView:g<3,showArrowNavigation:!0,hideNavigationWhenSinglePage:!1,arrowLeft:function(e){return(0,a.tZ)(q,K(G({},e),{direction:"left"}))},arrowRight:function(e){return(0,a.tZ)(q,K(G({},e),{direction:"right"}))},arrowLeftAriaLabel:"Scroll creators left",arrowRightAriaLabel:"Scroll creators right",arrowRefs:{LEFT:C,RIGHT:O},showBulletPagination:!1,children:l?Array.from({length:f},function(e,t){return N("skeleton-".concat(t),t,f,(0,a.tZ)(V.Skeleton,{}))}
1):S.map(function(e,t){return N(e.id,t,S.length,(0,a.tZ)(V,{creator:e,cardPosition:t,onCardDisplay:function(e){return j({creatorId:e,cardPosition:t})},onClick:function(){return U(e.id,e.slug,t)}}))})})})]})]})})},Q=r(99617),$=r(814818),ee=r(621277),et=r(113822),er=r(6673),ea=r(25351),en=r(617947),eo=r(958042),ei=r(200770),el=function(){var e,t=(0,$.t)(),r=t.courses,a=t.isLoading,o=t.isError,i=t.error,l=t.refetch,c=(0,ee.i)(),s=(0,et.Q)({enabled:r.length>0}).map,u=(0,n.useMemo)(function(){return(0,ea.q)(r,function(e){return e.isSoldOut}).slice(0,10)},[r]),d=(0,n.useMemo)(function(){return u.map(function(e){return e.recipe.id})},[u]),p=(0,ei.Z)().toLowerCase(),g=(0,eo.Z)(),f=(0,er.H)({product_id:d,week:(0,en.Z)(),country:p,locale:g},{enabled:d.length>0}),h="success"===f.status?f.prices:void 0,m=(0,n.useMemo)(function(){return u.length>0?c(u,void 0,h).map(function(e){var t,r,a=s.get(e.id);return a?(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(t){var a;a=r[t],t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a})}return e}({},e),r=r={creator:a},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r.push.apply(r,a)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t):e}):[]},[u,c,s,h]);return{data:a?void 0:m,isLoading:a,isError:o,error:(null!=(e=Error)&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](i):i instanceof e)?i:null,refetch:l}},ec=function(e){var t=e.showViewAll,r=(0,v.H)().translateRaw,n=el(),o=n.data,i=n.isLoading,l=n.isError,c=n.error,s=P(),d=s.trackRecipeCardDisplay,p=s.trackRecipeCardClick,g="success";if(i?g="loading":l&&(g="error"),(0,y.x)({spanName:w.R.homepageRecipesGet,outcome:g,error:c}),l||!i&&(!o||0===o.length))return null;var f=(null!=o?o:[]).slice(0,10);return(0,a.tZ)(u.xu,{backgroundColor:"alias.page-background.default",children:(0,a.tZ)(u.xu,{maxWidth:"1200px",marginX:"auto",width:"100%",paddingX:["global.sm-2","global.md-1","global.lg-2"],children:(0,a.tZ)(Q.j,{title:r("creator_marketplace.homepage.recipes.title"),recipes:f,isLoading:i,testId:"recipes-you-might-like-section",carouselId:"recipes-you-might-like-carousel",showViewAll:void 0!==t&&t,viewAllHref:(0,b.AM)(),viewAllText:r("creator_marketplace.homepage.recipes.view_all",{defaultValue:"View all"}),fromParam:"home",onCardDisplay:function(e,t){return d({recipeId:e,cardPosition:t})},onAnalyticsCardClick:function(e,t){return p({recipeId:e.id,cardPosition:t})}})})})},es=r(277425),eu=function(e){var t=e.desktop,r=e.mobile,n=e.alt,o=e.priority,i=e.loading,l=(0,m.Sj)(),c=(0,es.Z)("mobile"===l||"server"===l?r:t);return(0,a.tZ)(u.xu,{position:"absolute",top:0,left:0,width:"100%",height:"100%",children:(0,a.tZ)(T.ZP,{src:c,alt:void 0===n?"":n,fill:!0,style:{objectFit:"cover"},priority:void 0!==o&&o,loading:i})})},ed=function(){var e=(0,v.H)().translateRaw,t=e("creator_marketplace.homepage.bottom_cta.slide1.subtitle");return(0,a.BX)(u.xu,{as:"section",position:"relative",width:"100%",overflow:"hidden",aspectRatio:["375 / 415","1440 / 415"],"data-test-id":"bottom-hero-cta",children:[(0,a.tZ)(eu,{desktop:"https://hf-website-live.s3.eu-west-1.amazonaws.com/ca/creator-marketplace/home/bottom-banner/cm_bottom_banner_plain_2x_final.png",mobile:"https://hf-website-live.s3.eu-west-1.amazonaws.com/ca/creator-marketplace/home/bottom-banner/cm_bottom_banner_plain_small_final.png",loading:"lazy"}),(0,a.tZ)(u.xu,{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",paddingX:"global.md-1",paddingY:"global.lg-1",children:(0,a.BX)(u.xu,{textAlign:"center","data-test-id":"bottom-hero-cta-headline",marginBottom:["global.md-2","global.sm-2","global.md-1"],children:[(0,a.tZ)(u.xv,{as:"h2",color:"global.white",textAlign:"center",children:e("creator_marketplace.homepage.bottom_cta.slide1.headline")}),t&&(0,a.tZ)(u.xv,{as:"p",type:"body-lg-bold",color:"global.white",textAlign:"center",marginTop:["global.none","global.md-1"],"data-test-id":"bottom-hero-cta-subtitle",children:t})]})})]})},ep=function(e){var t,r=e.slide,n=e.height,o=e.isFirst,i=e.brandingOverlay,l=!!r.headline||!!(r.ctaHref&&r.ctaLabel);return(0,a.BX)(u.xu,{width:"100%",height:n,position:"relative",children:[(0,a.tZ)(eu,{desktop:r.imageUrl,mobile:null!==(t=r.mobileImageUrl)&&void 0!==t?t:r.imageUrl,priority:void 0!==o&&o}),!!i&&!l&&(0,a.tZ)(u.xu,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",children:i}),l&&(0,a.BX)(u.xu,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",style:{backgroundColor:"rgba(0, 0, 0, 0.3)"},padding:["global.md-1","global.md-1","global.lg-1"],children:[r.headline&&(0,a.tZ)(u.xu,{maxWidth:"48rem",marginX:"auto",mb:["global.sm-3","global.sm-3","global.md-1"],children:(0,a.tZ)(u.xv,{as:"h2",color:"global.white",textAlign:"center",children:r.headline})}),r.ctaHref&&r.ctaLabel&&(0,a.tZ)(u.xu,{display:"inline-flex",children:(0,a.tZ)(u.zx.Primary,{as:"a",href:r.ctaHref,appearance:"neutral",size:"lg",style:{textDecoration:"none"},children:r.ctaLabel})})]})]})},eg=function(){var e=(0,v.H)().translateRaw,t=e("creator_marketplace.header.logo.alt")||"HelloChef",r=e("creator_marketplace.homepage.hero_banner.powered_by_hellofresh")||"Powered by HelloFresh";return(0,a.BX)(u.xu,{"data-test-id":"homepage-hero-branding",role:"group","aria-label":"".concat(t,". ").concat(r),display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:["global.sm-2","global.sm-2","global.md-1"],children:[(0,a.tZ)(u.xu,{as:"img",src:"https://hf-website-live.s3.eu-west-1.amazonaws.com/ca/creator-marketplace/home/top-banner/hellochef-white-transparent.png",alt:"",display:"block",height:["115px","135px","170px"],width:"auto",maxWidth:"92%",marginBottom:"global.xs"}),(0,a.tZ)(u.xv,{as:"p",color:"global.white",textAlign:"center",type:"body-lg-regular","data-test-id":"homepage-hero-powered-by","aria-hidden":"true",children:r})]})};function ef(){var e=P(),t=e.trackPageView,r=e.trackHeroCarouselDisplay,o=(0,n.useRef)(!1);return(0,n.useEffect)(function(){o.current||(o.current=!0,t(),r({carouselPosition:0}))}
1,[t,r]),(0,a.BX)(u.xu,{"data-test-id":"creator-marketplace-homepage-content",display:"flex",flexDirection:"column",width:"100%",children:[(0,a.tZ)(ep,{slide:{id:"hero-slide-1",imageUrl:"https://hf-website-live.s3.eu-west-1.amazonaws.com/ca/creator-marketplace/home/top-banner/cm_top_banner_plain_2x_final.png",mobileImageUrl:"https://hf-website-live.s3.eu-west-1.amazonaws.com/ca/creator-marketplace/home/top-banner/cm_top_banner_plain_small_final.png",imageWidth:1440,imageHeight:400,headline:"",ctaLabel:"",ctaHref:""},height:f,isFirst:!0,brandingOverlay:(0,a.tZ)(eg,{})}),(0,a.tZ)(J,{}),(0,a.tZ)(ec,{}),(0,a.tZ)(ed,{})]})}var eh=function(){return(0,a.BX)(a.HY,{children:[(0,a.tZ)(i.Z,{}),(0,a.BX)(l.l,{children:[(0,a.tZ)(c.s,{}),(0,a.tZ)(ef,{}),(0,a.tZ)(s.t,{})]})]})};eh.customLayout=o.C;var em=!0,eb=eh},978199:function(e,t,r){"use strict";r.d(t,{k:function(){return a}});var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",r=e>=1e3?"+":"";return new Intl.NumberFormat(t,{notation:e>=1e3?"compact":"standard",compactDisplay:"short",minimumFractionDigits:0,maximumFractionDigits:1}).format(e)+r}},534243:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(914325),n=r(646052),o=function(e){if(!(0,n.Z)(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};function i(e,t){return e<<t|e>>>32-t}var l=function(e,t,r){function n(e,t,n,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof t&&(t=o(t)),16!==t.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var l=new Uint8Array(16+e.length);if(l.set(t),l.set(e,t.length),(l=r(l))[6]=15&l[6]|80,l[8]=63&l[8]|128,n){i=i||0;for(var c=0;c<16;++c)n[i+c]=l[c];return n}return(0,a.Z)(l)}try{n.name="v5"}catch(e){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}(0,0,function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var a=unescape(encodeURIComponent(e));e=[];for(var n=0;n<a.length;++n)e.push(a.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=Math.ceil((e.length/4+2)/16),l=Array(o),c=0;c<o;++c){for(var s=new Uint32Array(16),u=0;u<16;++u)s[u]=e[64*c+4*u]<<24|e[64*c+4*u+1]<<16|e[64*c+4*u+2]<<8|e[64*c+4*u+3];l[c]=s}l[o-1][14]=(e.length-1)*8/4294967296,l[o-1][14]=Math.floor(l[o-1][14]),l[o-1][15]=(e.length-1)*8&4294967295;for(var d=0;d<o;++d){for(var p=new Uint32Array(80),g=0;g<16;++g)p[g]=l[d][g];for(var f=16;f<80;++f)p[f]=i(p[f-3]^p[f-8]^p[f-14]^p[f-16],1);for(var h=r[0],m=r[1],b=r[2],v=r[3],y=r[4],w=0;w<80;++w){var x=Math.floor(w/20),k=i(h,5)+function(e,t,r,a){switch(e){case 0:return t&r^~t&a;case 1:case 3:return t^r^a;case 2:return t&r^t&a^r&a}}(x,m,b,v)+y+t[x]+p[w]>>>0;y=v,v=b,b=i(m,30)>>>0,m=h,h=k}r[0]=r[0]+h>>>0,r[1]=r[1]+m>>>0,r[2]=r[2]+b>>>0,r[3]=r[3]+v>>>0,r[4]=r[4]+y>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]})}},function(e){e.O(0,[38579,12737,8139,94924,74050,10198,17925,49461,78255,50693,92888,49774,40179],function(){return e(e.s=601623)}),_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.