PageSourceSearch

https://www.exposurely.com/_next/static/chunks/pages/[subdomain]/robots.txt-afdf604ea378b108.js

js exposurely.com collected 2026-10-06 20:44:11 UTC 4,773 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4101],{33215:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[subdomain]/robots.txt",function(){return a(9250)}])},9250:function(e,t,a){"use strict";a.r(t);var i=a(67294),n=a(14439),s=a(42698),o=a(54300);let r=["Disallow: /_next/","Disallow: /__NEXT_DATA__","Disallow: /api/","Allow: /_next/static/media/","Allow: /_next/static/css/","Allow: /_next/static/chunks/"],l=(e,t,a,i)=>{let n=(0,s.fK)(t&&a||"",e),l=i.filter(e=>!o.defaultShootTypesAllowed.includes(e.shootTypeName)&&!!e.albumAlias);return n.endsWith("/")&&(n=n.slice(0,-1)),["User-agent: *",...r,...l.map(e=>{let{albumAlias:t}=e;return`Disallow: /zg/${t}`}),`Sitemap: ${n}/sitemap.xml`].join("\n")};class u extends i.Component{static async getInitialProps(e){let t;let a=e.query.subdomain,{data:i}=await n.Z.siteViewer.getSite(a),s=await n.Z.siteViewer.getRobotsFileContent(i.photographerId);if(t=s?.data)t=t.replace("User-agent: *",["User-agent: *",...r].join("\n"));else{let{data:e}=await n.Z.account.getBusinessInfoByPhotographerId(i.photographerId),{useCustomDomain:s,customDomain:o}=e,{data:r}=await n.Z.galleries.getGalleriesInfo(a);t=l(a,s,o,r)}e.res.setHeader("Content-Type","text/plain;charset=UTF-8"),e.res.write(t),e.res.end()}}t.default=u},54300:function(e,t,a){"use strict";a.r(t),a.d(t,{defaultShootTypesAllowed:function(){return f}});var i=a(67294),n=a(14439),s=a(42698),o=a(96486),r=a.n(o),l=a(20146),u=a(42043),c=a(24948),g=a(50158),p=a(52042);let f=["Nature & Wildlife","Travel","Landscape"];async function d(e){let{data:t}=await n.Z.siteViewer.getSite(e),{data:a}=await n.Z.account.getBusinessInfoByPhotographerId(t.photographerId);return{siteData:t,siteSettings:a}}async function h(e){let{data:t}=await n.Z.galleries.getGalleriesInfo(e);return t}async function w(e){let t,a=0,i=[];for(;;){let{data:s}=await n.Z.blogApi.getBlogPosts(e,{skip:a,take:100,enableFeaturedBlogPost:!1,allBlogPostsIncludeFeatured:!0,enableBlogPostCategories:(0,g.mx)()&&0==a});if(t||(t=s.showCategories&&s.allCategories||[]),r().isEmpty(s.blogPosts)||(i.push(...s.blogPosts),(a+=s.blogPosts.length)>=s.count))break}return{blogPosts:r().uniqBy(i,e=>e.alias),categories:t}}class b extends i.Component{static async getInitialProps(e){let t;let a=e.query.subdomain,{data:i}=await n.Z.siteViewer.getSite(a),o=await n.Z.siteViewer.getSitemapFileContent(i.photographerId);if(!(t=o?.data)){var g;let e=await Promise.all([d(a),h(a),w(a)]),i=function(e,t){let{useCustomDomain:a,customDomain:i}=e,n=(0,s.fK)(a&&i||"",t);return n.endsWith("/")&&(n=n.slice(0,-1)),n}(e[0].siteSettings,a),n=[...function(e){let t=[];return r().each(e.pages,e=>{!e.isSubmenuPage&&e.seoConfiguration?.indexing&&(!(0,p.Q)()||e.status===l.ti.Public)&&t.push(`/${e.alias}`),r().each(e.pages,a=>{a.seoConfiguration?.indexing&&(!(0,p.Q)()||e.status===l.ti.Public)&&t.push(`/${e.alias}/${a.alias}`)})}),t}(e[0].siteData),...(g=e[1],r().chain(g).filter(e=>!!e.albumAlias&&r().includes(f,e.shootTypeName)).map(e=>`/zg/${e.albumAlias}`).value()),...function(e,t,a){let i=[],n=(0,u.Ru)(e.pages);if(n?.page.seoConfiguration?.indexing&&(!(0,p.Q)()||n?.page.status===l.ti.Public)&&(!n.parent||n.parent.seoConfiguration?.indexing)){let e=(0,u.Rn)(n);r().each(a,t=>{i.push((0,c.WG)(e,t.name))}),r().each(t,t=>{t.isIndexable&&i.push((0,c.kw)(e,t.alias))})}return i}(e[0].siteData,e[2].blogPosts,e[2].categories)];t=`<?xml version="1.0" encoding="UTF-8"?>
2    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3      ${r().chain(n).map(e=>`<url><loc>${i}${e}</loc></url>`).join("").value()}
4    </urlset>
5    `}e.res.setHeader("Content-Type","text/xml"),e.res.write(t),e.res.end()}}t.default=b},24948:function(e,t,a){"use strict";function i(e,t){return`${e}/bc/${encodeURIComponent(t.replace(/ /g,"_"))}`}function n(e,t){return`${e}/bp/${t}`}a.d(t,{WG:function(){return i},kw:function(){return n}}),a(77584),a(8419),a(50158),a(68190)},20146:function(e,t,a){"use strict";var i,n,s,o,r,l,u,c;a.d(t,{NM:function(){return n},ti:function(){return i}}),(r=i||(i={}))[r.Public=0]="Public",r[r.Hidden=1]="Hidden",r[r.Draft=2]="Draft",(l=n||(n={}))[l.Website=0]="Website",l[l.BioLink=1]="BioLink",(u=s||(s={}))[u.Static=1]="Static",u[u.Carousel=2]="Carousel",(c=o||(o={}))[c.SLOW=3]="SLOW",c[c.MEDIUM=2]="MEDIUM",c[c.FAST=1]="FAST"},42043:function(e,t,a){"use strict";a.d(t,{Rn:function(){return n},Ru:function(){return i}}),a(24948),a(42698);let i=e=>{if(e)for(let t of e){if(t.isBlog)return{page:t};if(t.pages){for(let e of t.pages)if(e.isBlog)return{page:e,parent:t}}}},n=e=>`${e.parent?`/${e.parent.alias}`:""}/${e.page.alias}
5`},52042:function(e,t,a){"use strict";a.d(t,{Q:function(){return i}});let i=()=>!0}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=33215)}),_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.