1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[36],{3588:(e,t,r)=>{r.r(t),r.d(t,{QuickProjectModal:()=>g});var a=r(54568),s=r(7620),n=r(69957),l=r(14949),d=r(38208),i=r(32536),c=r(62171),o=r(27541),x=r(57305),m=r(11553),h=r(61563);function g(e){let{isOpen:t,onClose:r,brand:g,userType:u}=e,b=(0,o.useRouter)(),p=(0,n.useTranslations)("quickProjectModal"),{sectorLabel:f}=(0,h.D)(),[k,y]=(0,s.useState)(null),[j,v]=(0,s.useState)(null),[N,w]=(0,s.useState)(null),[C,M]=(0,s.useState)(null),[P,_]=(0,s.useState)(null),[L,S]=(0,s.useState)(null);return((0,s.useEffect)(()=>{t&&(y(null),v(null),w(null),M(null),_(null),S(null))},[t]),g)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(d.aF,{isOpen:t,onClose:r,className:"max-w-lg mx-4",children:(0,a.jsxs)("div",{className:"flex flex-col max-h-[85vh]",children:[(0,a.jsxs)("div",{className:"p-6 pb-0",children:[(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:p("title")}),(0,a.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400 mt-1",children:p("description")})]}),(0,a.jsx)("div",{className:"mb-4 p-3 rounded-xl bg-gray-50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700",children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-xl bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 flex items-center justify-center overflow-hidden flex-shrink-0",children:(0,a.jsx)(i.default,{src:g.logo,alt:g.name,width:40,height:40,className:"object-cover w-full h-full"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-medium text-gray-800 dark:text-white text-sm",children:g.name}),g.industry&&(0,a.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:f(g.industry)})]})]})})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto px-6",children:[(0,a.jsx)(m.k7,{selectedModel:k,onSelectModel:y,showAffiliate:!0,showInfoBox:!1,size:"sm",layout:"vertical"}),"influencer_marketing"===k&&(0,a.jsx)(x.c5,{contentSource:N,productionType:C,onContentSourceChange:w,onProductionTypeChange:M}),"ugc"===k&&(0,a.jsx)("div",{className:"mb-4",children:(0,a.jsx)(l.G,{value:j,onSelect:v})}),"ugc"===k&&null!=j&&(0,a.jsx)(x.DV,{videoFormat:P,minVideoDuration:L,onVideoFormatChange:_,onMinVideoDurationChange:S})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-3 p-6 pt-4 border-t border-gray-200 dark:border-gray-700",children:[(0,a.jsx)(c.A,{variant:"outline",onClick:r,children:p("cancel")}),(0,a.jsx)(c.A,{variant:"primary",onClick:()=>{if(!k||!g)return;let e=new URLSearchParams;e.set("brandId",g.id.toString()),e.set("workModel",k),"affiliate"===k?e.set("step","1"):"influencer_marketing"===k?"ready_content"===N?(e.set("step","1"),e.set("contentSource",N)):(e.set("step","2"),N&&e.set("contentSource",N),C&&e.set("productionType",C)):"ugc"===k&&(e.set("step","3"),null!=j&&e.set("ugcDeadlineDays",String(j)),P&&e.set("videoFormat",P),L&&e.set("minVideoDuration",L.toString())),b.push("".concat("/projects/new","?").concat(e.toString())),r()},disabled:!(k&&g&&("influencer_marketing"===k?!!N&&("influencer_creates"!==N||!!C):("ugc"!==k||null!=j&&!!P&&!!L)&&!0)),children:p("proceed")})]})]})})}):null}},12598:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(92068).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},20553:(e,t,r)=>{r.d(t,{q:()=>d});var a=r(69549),s=r(92993),n=class extends a.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:r}=e,a=super.createResult(e,t),{isFetching:n,isRefetching:l,isError:d,isRefetchError:i}
1=a,c=r.fetchMeta?.fetchMore?.direction,o=d&&"forward"===c,x=n&&"forward"===c,m=d&&"backward"===c,h=n&&"backward"===c;return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,s.rB)(t,r.data),hasPreviousPage:(0,s.RQ)(t,r.data),isFetchNextPageError:o,isFetchingNextPage:x,isFetchPreviousPageError:m,isFetchingPreviousPage:h,isRefetchError:i&&!o&&!m,isRefetching:l&&!x&&!h}}},l=r(12715);function d(e,t){return(0,l.t)(e,n,t)}},22339:(e,t,r)=>{r.d(t,{P:()=>a.XD,Y:()=>s});var a=r(25703);let s={nano:{label:"Nano",color:"text-blue-600 dark:text-blue-400",bgColor:"bg-blue-50 dark:bg-blue-500/10",badgeClasses:"bg-blue-50 text-blue-600 dark:bg-blue-500/10 dark:text-blue-400",range:"1K - 10K"},micro:{label:"Micro",color:"text-green-600 dark:text-green-400",bgColor:"bg-green-50 dark:bg-green-500/10",badgeClasses:"bg-green-50 text-green-600 dark:bg-green-500/10 dark:text-green-400",range:"10K - 100K"},macro:{label:"Macro",color:"text-purple-600 dark:text-purple-400",bgColor:"bg-purple-50 dark:bg-purple-500/10",badgeClasses:"bg-purple-50 text-purple-600 dark:bg-purple-500/10 dark:text-purple-400",range:"100K - 1M"},mega:{label:"Mega",color:"text-orange-600 dark:text-orange-400",bgColor:"bg-orange-50 dark:bg-orange-500/10",badgeClasses:"bg-orange-50 text-orange-600 dark:bg-orange-500/10 dark:text-orange-400",range:"1M+"}}},57305:(e,t,r)=>{r.d(t,{T8:()=>o,c5:()=>x,iq:()=>i,DV:()=>m});var a=r(54568),s=r(7620),n=r(2203),l=r(69957),d=r(32536);let i=(0,s.memo)(function(e){let{influencers:t,workModel:r,onRemove:s,plusBlockedIds:i}=e,c=(0,l.useTranslations)("collaborate.selectedList");return(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-gray-700 dark:text-gray-300",children:"ugc"===r?1===t.length?c("selectedContentCreator"):c("selectedContentCreators"):1===t.length?c("selectedInfluencer"):c("selectedInfluencers")}),t.length>1&&(0,a.jsx)("span",{className:"text-xs px-2 py-1 rounded-full bg-brand-100 dark:bg-gray-700 text-brand-600 dark:text-gray-300",children:c("peopleCount",{count:t.length})})]}),(0,a.jsx)("div",{className:"max-h-40 overflow-y-auto rounded-xl border border-gray-200 dark:border-gray-700",children:t.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3 p-3 border-b border-gray-100 dark:border-gray-700 last:border-b-0",children:[(0,a.jsx)(d.default,{width:36,height:36,src:e.avatar,alt:e.name,className:"w-9 h-9 rounded-full object-cover"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-white truncate",children:e.name}),(null==i?void 0:i.has(e.id))&&(0,a.jsxs)("span",{title:c("plusRequiredHint"),className:"flex-shrink-0 inline-flex items-center gap-1 rounded-full bg-amber-100 px-2 py-0.5 text-[11px] font-medium text-amber-700 dark:bg-amber-500/15 dark:text-amber-400",children:[(0,a.jsx)("svg",{className:"w-3 h-3",fill:"currentColor",viewBox:"0 0 20 20","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 1110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})}),c("plusRequired")]})]}),(0,a.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:e.city})]}),"influencer_marketing"===r&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[e.instagramUsername&&(0,a.jsx)("div",{className:"w-5 h-5 rounded ".concat(n.Lh.instagram.color," flex items-center justify-center text-white"),children:(0,a.jsx)("span",{className:"scale-[0.6]",children:n.Lh.instagram.icon})}),e.tiktokUsername&&(0,a.jsx)("div",{className:"w-5 h-5 rounded ".concat(n.Lh.tiktok.color," flex items-center justify-center text-white"),children:(0,a.jsx)("span",{className:"scale-[0.6]",children:n.Lh.tiktok.icon})}),e.youtubeUsername&&(0,a.jsx)("div",{className:"w-5 h-5 rounded ".concat(n.Lh.youtube.color," flex items-center justify-center text-white"),children:(0,a.jsx)("span",{className:"scale-[0.6]",children:n.Lh.youtube.icon})})]}),s&&t.length>1&&(0,a.jsx)("button",{type:"button",onClick:()=>s(e.id),className:"p-1.5 text-gray-400 hover:text-red-500 hover:bg-red-50 dark:hover:bg-red-500/10 rounded-lg transition-colors flex-shrink-0",children:(0,a.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})})})]},e.id))})]})});var c=r(14949);
1let o=(0,s.memo)(function(e){let{isIndividualAdvertiser:t,selectedBrand:r,ugcDeadlineDays:s,workModel:n,onOpenBrandModal:i,onSelectDeliveryWindow:o}=e,x=(0,l.useTranslations)("brandDateSelector");return(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("div",{className:"grid gap-3 grid-cols-1",children:t?(0,a.jsx)("div",{className:"p-4 rounded-xl border-2 border-brand-500 bg-brand-50 dark:bg-brand-500/10",children:(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:x("advertiser")}),r&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-lg bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 overflow-hidden flex-shrink-0",children:(0,a.jsx)(d.default,{src:r.logo,alt:r.label,width:32,height:32,className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none"}})}),(0,a.jsx)("span",{className:"text-sm font-semibold text-gray-800 dark:text-white truncate",children:r.label})]})]})})}):(0,a.jsx)("button",{type:"button",onClick:i,className:"p-4 rounded-xl border-2 text-left transition-all hover:border-brand-300 ".concat(r?"border-brand-500 bg-brand-50 dark:bg-brand-500/10":"border-gray-200 dark:border-gray-700 border-dashed"),children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1",children:x("brand")}),r?(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-lg bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 overflow-hidden flex-shrink-0",children:(0,a.jsx)(d.default,{src:r.logo,alt:r.label,width:32,height:32,className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none"}})}),(0,a.jsx)("span",{className:"text-sm font-semibold text-gray-800 dark:text-white truncate",children:r.label})]}):(0,a.jsx)("span",{className:"text-sm text-gray-400",children:x("selectBrand")})]}),(0,a.jsx)("svg",{className:"w-5 h-5 text-gray-400 flex-shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})})}),"ugc"===n&&(0,a.jsx)("div",{className:"mt-3",children:(0,a.jsx)(c.G,{value:s,onSelect:o})})]})}),x=(0,s.memo)(function(e){let{contentSource:t,productionType:r,onContentSourceChange:s,onProductionTypeChange:n}=e,d=(0,l.useTranslations)("collaborate.contentSource");return(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-3",children:d("modelSelection")}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,a.jsx)("button",{type:"button",onClick:()=>s("influencer_creates"),className:"p-4 rounded-xl border-2 text-left transition-all ".concat("influencer_creates"===t?"border-brand-500 bg-brand-50 dark:bg-brand-500/10":"border-gray-200 dark:border-gray-700 hover:border-brand-300"),children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-xl flex items-center justify-center ".concat("influencer_creates"===t?"bg-brand-100 dark:bg-brand-500/20 text-brand-500":"bg-gray-100 dark:bg-gray-700 text-gray-500"),children:(0,a.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"1.5",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"})})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-sm ".concat("influencer_creates"===t?"text-brand-600 dark:text-brand-400":"text-gray-800 dark:text-white"),children:d("contentProduction")}),(0,a.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-0.5",children:d("contentProductionDesc")})]})]})}),(0,a.jsx)("button",{type:"button",onClick:()=>{s("ready_content"),n(null)},className:"p-4 rounded-xl border-2 text-left transition-all ".concat("ready_content"===t?"border-brand-500 bg-brand-50 dark:bg-brand-500/10":"border-gray-200 dark:border-gray-700 hover:border-brand-300"),children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-xl flex items-center justify-center ".concat("ready_content"===t?"bg-brand-100 dark:bg-brand-500/20 text-brand-500":"bg-gray-100 dark:bg-gray-700 text-gray-500"),children:(0,a.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"1.5",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5"})})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold text-sm ".concat("ready_content"===t?"text-brand-600 dark:text-brand-400":"text-gray-800 dark:text-white"),children:d("readyContent")}),(0,a.jsx)("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-0.5",children:d("readyContentDesc")})]})]})})]}),"influencer_creates"===t&&(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("h4",{className:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-3",children:d("shootingOptions")}),(0,a.jsx)("div",{className:"grid grid-cols-3 gap-2",children:[{id:"infumar_videographer",label:d("professionalTeam"),desc:d("professionalTeamDesc")},{id:"advertiser_production",label:d("inHouse"),desc:d("inHouseDesc")},{id:"influencer_self",label:d("influencer"),desc:d("influencerDe
1sc")}].map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>n(e.id),className:"p-3 rounded-xl border-2 text-center transition-all ".concat(r===e.id?"border-brand-500 bg-brand-50 dark:bg-brand-500/10":"border-gray-200 dark:border-gray-700 hover:border-brand-300"),children:[(0,a.jsx)("h5",{className:"font-semibold text-xs ".concat(r===e.id?"text-brand-600 dark:text-brand-400":"text-gray-800 dark:text-white"),children:e.label}),(0,a.jsx)("p",{className:"text-[10px] text-gray-500 dark:text-gray-400 mt-0.5",children:e.desc})]},e.id))})]})]})}),m=(0,s.memo)(function(e){let{videoFormat:t,minVideoDuration:r,onVideoFormatChange:s,onMinVideoDurationChange:n}=e,d=(0,l.useTranslations)("ugcVideoRequirements");return(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-3",children:d("title")}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("h4",{className:"text-xs font-medium text-gray-600 dark:text-gray-400 mb-2",children:d("format.title")}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-3",children:[{value:"horizontal",label:d("format.horizontal"),ratio:"16:9"},{value:"vertical",label:d("format.vertical"),ratio:"9:16"}].map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>s(e.value),className:"p-3 rounded-xl border-2 text-center transition-all ".concat(t===e.value?"border-brand-500 bg-brand-50 dark:bg-brand-500/10":"border-gray-200 dark:border-gray-700 hover:border-brand-300"),children:[(0,a.jsx)("span",{className:"font-semibold text-sm ".concat(t===e.value?"text-brand-600 dark:text-brand-400":"text-gray-800 dark:text-white"),children:e.label}),(0,a.jsxs)("span",{className:"text-xs ml-1 ".concat(t===e.value?"text-brand-500":"text-gray-500"),children:["(",e.ratio,")"]})]},e.value))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-xs font-medium text-gray-600 dark:text-gray-400 mb-2",children:d("duration.title")}),(0,a.jsx)("div",{className:"grid grid-cols-6 gap-2",children:[15,30,45,60,90,120].map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>n(e),className:"p-2 rounded-lg border-2 text-center transition-all ".concat(r===e?"border-brand-500 bg-brand-50 dark:bg-brand-500/10":"border-gray-200 dark:border-gray-700 hover:border-brand-300"),children:[(0,a.jsx)("span",{className:"font-semibold text-sm ".concat(r===e?"text-brand-600 dark:text-brand-400":"text-gray-800 dark:text-white"),children:e}),(0,a.jsx)("span",{className:"text-[10px] block ".concat(r===e?"text-brand-500":"text-gray-500"),children:d("duration.seconds")})]},e))})]})]})})},57652:(e,t,r)=>{r.d(t,{Cb:()=>h,RU:()=>g,T2:()=>u,ez:()=>x,sT:()=>m});var a=r(54568),s=r(7620),n=r(32536),l=r(36881),d=r(69957),i=r(25703),c=r(22339),o=r(83964);let x=(0,s.memo)(function(e){let{rating:t,totalRatings:r=0,size:s="sm",showCount:n=!1,hideIfNoRatings:l=!1}=e;if(l&&0===r)return null;let d=(0,i.t0)(t),c=t.toFixed(1);return(0,a.jsxs)("span",{className:"inline-flex items-center gap-0.5 align-middle whitespace-nowrap ".concat(d),children:[(0,a.jsx)("svg",{className:{xs:"w-3 h-3",sm:"w-3.5 h-3.5",md:"w-4 h-4"}[s],fill:"currentColor",viewBox:"0 0 20 20",children:(0,a.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),(0,a.jsx)("span",{className:"font-medium ".concat({xs:"text-xs",sm:"text-xs",md:"text-sm"}[s]),children:c}),n&&r>0&&(0,a.jsxs)("span",{className:"text-gray-400",children:["(",r,")"]})]})}),m=(0,s.memo)(function(e){let{level:t,size:r="xs",showRange:s=!1}=e,n=c.Y[t];return(0,a.jsxs)("span",{className:"".concat("xs"===r?"px-1.5 py-0.5 text-[10px]":"px-2 py-1 text-xs"," rounded font-medium ").concat(n.badgeClasses),children:[n.label,s&&(0,a.jsxs)("span",{className:"ml-1 opacity-70",children:["(",n.range,")"]})]})}),h=(0,s.memo)(function(e){var t;let{influencerId:r,avatar:s,name:d,city:i,rating:c=0,totalRatings:o=0,linkPrefix:m="/influencers"}=e,h=d.trim().split(/\s+/),g=null!=(t=h[h.length-1])?t:d,u=h.slice(0,-1).join(" ");return(0,a.jsxs)(l.N_,{href:"".concat(m,"/").concat(r),className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[(0,a.jsx)("div",{className:"relative w-10 h-10 rounded-full overflow-hidden flex-shrink-0",children:(0,a.jsx)(n.default,{src:s||"/images/user/default-avatar.svg",alt:
1d,fill:!0,sizes:"40px",className:"object-cover"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("span",{className:"font-medium text-gray-800 dark:text-white",children:[u&&"".concat(u," "),(0,a.jsxs)("span",{className:"whitespace-nowrap",children:[g," ",(0,a.jsx)(x,{rating:c,totalRatings:o,hideIfNoRatings:!0})]})]}),i&&(0,a.jsx)("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:i})]})]})}),g=(0,s.memo)(function(e){let{categories:t,maxShow:r=2}=e,s=(0,o.c)();return t&&0!==t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center gap-1",children:[t.slice(0,r).map((e,t)=>(0,a.jsx)("span",{className:"px-2 py-0.5 rounded text-xs bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300",children:s(e)},t)),t.length>r&&(0,a.jsxs)("span",{className:"px-2 py-0.5 rounded text-xs bg-gray-100 dark:bg-gray-700 text-gray-500",children:["+",t.length-r]})]}):(0,a.jsx)("span",{className:"text-xs text-gray-400",children:"-"})}),u=(0,s.memo)(function(e){let{gender:t}=e,r=(0,d.useTranslations)("project.influencerRow");if(!t)return(0,a.jsx)("span",{className:"text-xs text-gray-400",children:"-"});let s="female"===t;return(0,a.jsx)("span",{className:"px-2 py-1 rounded text-xs font-medium ".concat(s?"bg-pink-100 dark:bg-pink-500/20 text-pink-600 dark:text-pink-400":"bg-blue-100 dark:bg-blue-500/20 text-blue-600 dark:text-blue-400"),children:r(s?"female":"male")})})},83964:(e,t,r)=>{r.d(t,{c:()=>l});var a=r(69957),s=r(17720),n=r(61563);function l(){let{categoryLabel:e}=(0,n.D)(),t=(0,a.useTranslations)("categoryTaxonomy");return r=>{let a=e(r);return a&&a!==r?a:(0,s.F$)(r,t)}}},92068:(e,t,r)=>{r.d(t,{A:()=>d});var a=r(7620);let s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:l=24,strokeWidth:d=2,absoluteStrokeWidth:i,className:c="",children:o,iconNode:x,...m}=e;return(0,a.createElement)("svg",{ref:t,...n,width:l,height:l,stroke:r,strokeWidth:i?24*Number(d)/Number(l):d,className:s("lucide",c),...m},[...x.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(o)?o:[o]])}),d=(e,t)=>{let r=(0,a.forwardRef)((r,n)=>{let{className:d,...i}=r;return(0,a.createElement)(l,{ref:n,iconNode:t,className:s("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),d),...i})});return r.displayName="".concat(e),r}},95355:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(92068).A)("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]])}}]);
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.