"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([["7815"],{29391:function(e,s,t){t.r(s),t.d(s,{default:()=>ed});var n={};t.r(n),t.d(n,{headTagsDescription:()=>K,headTagsTitle:()=>Z});var l=t(77527),r=t(39087),a=t(74360),i=t(72312),d=t(12243),c=t(48466),o=t(60175),x=t(20130),u=t(92548),h=t(13468),j=t(24356),m=t(57497),f=t(19902),p=t(64033),k=t(53569),A=t(69027),U=t(4857),b=t(98801),F=t(5732),S=t(49744),g=t(93940),y=t(87040),z=t(79965),v=t(74873),T=t(11382),_=t(4897),B=t(6546),P=t(32765),w=t(46084),C=t(77610),D=t(61128),I=t(77883),L=t(50420),q=t(90),E=t(38638),N=t(10542),O=t(76703),R=t(85512),W=t(95363),Y=t(33973),$=t(63408);let K=()=>"Beautiful, free images and photos that you can download and use for any project. Better than any royalty free or stock photos.",Z=()=>"Beautiful Free Images & Pictures",G=e=>n,H=(0,d.L3)(G,e=>`${e.headTagsTitle()} | Unsplash`),J=(0,d.L3)(G,e=>e.headTagsDescription()),M=(0,d.Fs)(R.B_.Union.mk.FeaturedPhotosFeed({previewDate:W.none}),O.Rj);var Q=t(98174);let V=e=>{let s,t,n,l=(0,r.c)(9),{children:d}=e,{queryUnsplash:c}=(0,h.UB)();l[0]!==c?(s=c("get","/me",{}),l[0]=c,l[1]=s):s=l[1];let{data:o}=(0,a.U)(s);l[2]!==o.username||l[3]!==c?(t=(0,E.xP)(c,o.username),l[2]=o.username,l[3]=c,l[4]=t):t=l[4];let x=(0,i.I)(t);return l[5]!==o.username||l[6]!==d||l[7]!==x?(n=d(o.username,(0,u.ov)(x)),l[5]=o.username,l[6]=d,l[7]=x,l[8]=n):n=l[8],n},X=e=>{let s,t,n=(0,r.c)(5),{children:l}=e,{unauthenticatedQueryUnsplash:i}=(0,h.UB)();n[0]!==i?(s=(0,Q.fj)(i),n[0]=i,n[1]=s):s=n[1];let{data:d}=(0,a.U)(s);return n[2]!==l||n[3]!==d?(t=l(d),n[2]=l,n[3]=d,n[4]=t):t=n[4],t},ee=e=>{let s,t,n=(0,r.c)(5),{children:l}=e,{unauthenticatedQueryUnsplash:i}=(0,h.UB)();n[0]!==i?(s=(0,Q.tn)(i),n[0]=i,n[1]=s):s=n[1];let{data:d}=(0,a.U)(s);return n[2]!==l||n[3]!==d?(t=l(d),n[2]=l,n[3]=d,n[4]=t):t=n[4],t},es=e=>{let s,t,n=(0,r.c)(5),{children:l}=e,{unauthenticatedQueryUnsplash:i}=(0,h.UB)();n[0]!==i?(s=(0,z.U)(i,"photo"),n[0]=i,n[1]=s):s=n[1];let{data:d}=(0,a.U)(s);return n[2]!==l||n[3]!==d?(t=l(d),n[2]=l,n[3]=d,n[4]=t):t=n[4],t},et=e=>{let s,t,n,l=(0,r.c)(7),{children:i}=e,{unauthenticatedQueryUnsplash:d}=(0,h.UB)();l[0]!==d?(s=(0,E.lN)(d),l[0]=d,l[1]=s):s=l[1],l[2]!==s?(t={...s,select:ec},l[2]=s,l[3]=t):t=l[3];let{data:c}=(0,a.U)(t);return l[4]!==i||l[5]!==c?(n=i(c),l[4]=i,l[5]=c,l[6]=n):n=l[6],n},en=e=>{let s,t,n=(0,r.c)(5),{children:l}=e,{unauthenticatedQueryUnsplash:i}=(0,h.UB)();n[0]!==i?(s=p.gY(i,"photos"),n[0]=i,n[1]=s):s=n[1];let{data:d}=(0,a.U)(s);return n[2]!==l||n[3]!==d?(t=l(d),n[2]=l,n[3]=d,n[4]=t):t=n[4],t},el=e=>{let s,t=(0,r.c)(3),{children:n}=e,l=(0,P.Pt)();return t[0]!==n||t[1]!==l?(s=n(l),t[0]=n,t[1]=l,t[2]=s):s=t[2],s},er=({module:e,index:s,showAd:t})=>(0,d.Fs)(c.Uq(e),c.z7("Search",()=>(0,l.jsx)(el,{children:e=>(0,l.jsx)(g.v,{showAd:t,searchFormSuggestions:e})})),c.z7("License",()=>(0,l.jsx)(F.A,{index:s})),c.z7("TrendingCollections",()=>{let e=(0,l.jsx)(y.A,{index:s,collections:void 0});return(0,l.jsx)(m.A,{fallback:()=>e,children:(0,l.jsx)(o.Suspense,{fallback:e,children:(0,l.jsx)(ee,{children:e=>(0,l.jsx)(y.A,{index:s,collections:e})})})})}),c.z7("TrendingImages",()=>{let e=(0,l.jsx)(z.y,{index:s,assets:void 0});return(0,l.jsx)(m.A,{fallback:()=>e,children:(0,l.jsx)(o.Suspense,{fallback:e,children:(0,l.jsx)(es,{children:e=>(0,l.jsx)(z.y,{index:s,assets:e})})})})}),c.z7("Trends",()=>{let e=(0,l.jsx)(v.A,{index:s,trends:void 0});return(0,l.jsx)(m.A,{fallback:()=>e,children:(0,l.jsx)(o.Suspense,{fallback:e,children:(0,l.jsx)(et,{children:e=>(0,l.jsx)(v.A,{index:s,trends:e??void 0})})})})}),c.z7("Plus1",()=>(0,l.jsx)(S.A,{index:s})),c.z7("Plus2",()=>(0,l.jsx)(S.A,{index:s})),c.z7("Awards",()=>(0,l.jsx)(k.A,{mode:A.K.mk.Ending,index:s})),c.z7("UserStats",()=>(0,l.jsx)(V,{children:(e,t)=>(0,l.jsx)(B.p,{username:e,index:s,req:t})})),c.z7("UserNoFreeSubmissions",()=>(0,l.jsx)(_.y,{index:s})),c.z7("FeaturedCollection",()=>{let e=(0,l.jsx)(b.A,{index:s,collection:void 0});return(0,l.jsx)(m.A,{fallback:()=>e,children:(0,l.jsx)(o.Suspense,{fallback:e,children:(0,l.jsx)(X,{children:e=>(0,l.jsx)(b.A,{index:s,collection:e??void 0})})})})}),c.z7("EditAsset",()=>(0,l.jsx)(U.Z,{index:s})),c.z7("AssetSeries",()=>{let e=(0,l.jsx)(p.sU,{index:s,assetSeries:null});return(0,l.jsx)(m.A,{fallback:()=>e,children:(0,l.jsx)(o.Suspense,{fallback:e,children:(0,l.jsx)(en,{children:e=>(0,l.jsx)(p.sU,{index:s,assetSeries:e})})})})}),c.z7("UploadAsset",()=>(0,l.jsx)(T.q,{index:s,assetType:"photo"})),c.T1),ea=e=>{let s,t,n=(0,r.c)(5),{asset:a}=e,i=(0,I.r)();if(n[0]!==i||n[1]!==a)s=(0,d.Fs)(Y.CO(M,(0,d.Fs)(H,Y.sr(e=>e.locale)),(0,d.Fs)(J,Y.sr(e=>e.locale))),Y.Tj(([e,s,t])=>(0,$.$)({assetOption:a,title:s,description:t,canonicalUrl:e})))(i),n[0]=i,n[1]=a,n[2]=s;else s=n[2];let c=s;return n[3]!==c?(t=(0,l.jsx)(f.P,{metadata:c}),n[3]=c,n[4]=t):t=n[4],t},ei=([e,s])=>q.W.Feed.mk.FeaturedPhotosFeed({ad:!!s.sponsorship}),ed=e=>{let s,t,n,a,i,d,c,o,u,h=(0,r.c)(15),{routeData:j}=e;h[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,L.TN)(),h[0]=s):s=h[0];let m=s;h[1]===Symbol.for("react.memo_cache_sentinel")?(t=e=>m(e,N.i),h[1]=t):t=h[1];let f=(0,D.d)(t);h[2]!==j?(n=N.W(j),h[2]=j,h[3]=n):n=h[3];let p=n;h[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,L.CE)(),h[4]=a):a=h[4];let k=a;h[5]===Symbol.for("react.memo_cache_sentinel")?(i=e=>k(e,N.i),h[5]=i):i=h[5];let A=(0,D.d)(i);return h[6]!==A?(d=(0,l.jsx)(ea,{asset:A}),h[6]=A,h[7]=d):d=h[7],h[8]===Symbol.for("react.memo_cache_sentinel")?(c=(0,l.jsx)(C.Y,{children:eo}),h[8]=c):c=h[8],h[9]!==p||h[10]!==f?(o=(0,l.jsx)(w.m,{photos:f,feedId:N.i,feedDataFetcher:p,children:ex}),h[9]=p,h[10]=f,h[11]=o):o=h[11],h[12]!==d||h[13]!==o?(u=(0,l.jsxs)("div",{"data-testid":x.photosFeedRoute,children:[d,c,o]}),h[12]=d,h[13]=o,h[14]=u):u=h[14],u};function ec(e){return e[0]??null}function eo(e,s,t){return(0,l.jsx)(er,{module:s,index:e,showAd:t})}function ex(e){let{items:s}=e;return(0,l.jsx)(j.bk,{assets:s,mkFeedPlacement:ei,userLinkPlacement:"featured-photos-feed"})}}}]);