PageSourceSearch

https://www.buckmason.com/component---src-pages-pages-sitemap-jsx-a127bd21c17549d0897c.js

js buckmason.com collected 2026-10-02 07:46:44 UTC 5,672 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkbuck_mason=self.webpackChunkbuck_mason||[]).push([[817],{521:function(e,t,l){l.r(t),l.d(t,{Head:function(){return c}});var a=l(6540),n=l(6778),m=l(1459);t.default=e=>{var t;let{data:{blogs:l,allFeaturePost:n}}=e;const{0:c,1:r}=(0,a.useState)(null),{0:s,1:o}=(0,a.useState)(null),{0:i,1:p}=(0,a.useState)(null),{0:d,1:u}=(0,a.useState)(null),{0:E,1:h}=(0,a.useState)(null);let _=(null==l||null===(t=l.data)||void 0===t?void 0:t.posts)||[];_=_.sort((e,t)=>e.title.localeCompare(t.title));let v=(null==n?void 0:n.nodes)||[];v=v.sort((e,t)=>e.title.localeCompare(t.title));return(0,a.useEffect)(()=>{c||(fetch("https://cdn.buckmason.com/search/search-json.json").then(e=>e.json()).then(e=>{r(e)}),fetch("https://cdn.buckmason.com/search/search-cats.json").then(e=>e.json()).then(e=>{o(e)}))},[]),(0,a.useEffect)(()=>{c&&s&&(["m","w","u"].forEach(e=>{s[e].forEach(t=>{const l=c.products.filter(t=>t.gender===e);let a=t.pls.map(e=>{var t;let a=l.filter(t=>t.pl_id===e);return{pl_id:e,pl_name:null===(t=a[0])||void 0===t?void 0:t.pl_name,products:a.sort((e,t)=>{var l;return null===(l=e.title)||void 0===l?void 0:l.localeCompare(t.title)})}});a=a.sort((e,t)=>{var l;return null===(l=e.pl_name)||void 0===l?void 0:l.localeCompare(t.pl_name)}),t.product_lines=a})}),p(s.m),u(s.w),h(s.u))},[c,s]),a.createElement("div",{className:"page sitemap"},a.createElement("h1",{className:"p1"},"Site Map"),i&&i.length>0&&a.createElement(a.Fragment,null,a.createElement("h2",null,"Men's Products"),a.createElement("div",{className:"map_gend"},i.map(e=>a.createElement("div",{key:`m${e.title}${e.gender}`,className:"map_item"},a.createElement("h3",null,e.title),e.product_lines.map(e=>a.createElement("div",{key:e.pl_id,className:"map_pl"},a.createElement("div",{className:"map_pln"},e.pl_name),a.createElement("div",{className:"map_plcolors"},e.products.map(e=>a.createElement(m.A,{key:e.handle,href:`/products/${e.handle}`,className:"map_link map_prod"},(null==e?void 0:e.color)||e.title,a.createElement("span",null,e.title)))))))))),d&&d.length>0&&a.createElement(a.Fragment,null,a.createElement("h2",null,"Women's Products"),a.createElement("div",{className:"map_gend"},d.map(e=>a.createElement("div",{key:`${e.title}${e.gender}`,className:"map_item"},a.createElement("h3",null,e.title),e.product_lines.map(e=>a.createElement("div",{key:e.pl_id,className:"map_pl"},a.createElement("div",{className:"map_pln"},e.pl_name),a.createElement("div",{className:"map_plcolors"},e.products.map(e=>a.createElement(m.A,{key:e.handle,href:`/products/${e.handle}`,className:"map_link map_prod"},(null==e?void 0:e.color)||e.title,a.createElement("span",null,e.title)))))))))),E&&E.length>0&&a.createElement(a.Fragment,null,a.createElement("h2",null,"Unisex Products"),a.createElement("div",{className:"map_gend"},E.map(e=>a.createElement("div",{key:`${e.title}${e.gender}`,className:"map_item"},a.createElement("h3",null,e.title),e.product_lines.map(e=>a.createElement("div",{key:e.pl_id,className:"map_pl"},a.createElement("div",{className:"map_pln"},e.pl_name),a.createElement("div",{className:"map_plcolors"},e.products.map(e=>a.createElement(m.A,{key:e.handle,href:`/products/${e.handle}`,className:"map_link map_prod"},(null==e?void 0:e.color)||e.title,a.createElement("span",null,e.title)))))))))),a.createElement("h2",null,"Journal Posts"),a.createElement("div",{className:"map_cols"},_.map(e=>a.createElement("div",{key:e.handle,className:"map_pl"},a.createElement(m.A,{href:`/blogs/journal/${e.handle}`,className:"map_link"},e.title)))),a.createElement("h2",null,"Features"),a.createElement("div",{className:"map_cols"},v.map(e=>a.createElement("div",{key:e.handle,className:"map_pl"},a.createElement(m.A,{href:`/feature/${e.handle}`,className:"map_link"},e.title)))))};const c=()=>a.createElement(n.G,{title:"Sitemap",url:"/pages/sitemap"})},6778:function(e,t,l){l.d(t,{G:function(){return c}});var a=l(6540),n=l(6462),m=l(2711);const c=e=>{let{title:t,description:l,image:c,url:r=!1,children:s,hide:o=!1,markdown:i=!1,describedby:p=!1}=e;const d=(0,n.useLocation)();let u=`${t}${t.includes("Buck Mason")?"":" | Buck Mason"}`,E=c?(0,m.vt)(c,1024,!0):"https://cdn.shopify.com/s/files/1/0123/5065/2473/files/chicago_1_0d30a8f6-9b69-4702-9afe-2d58adbfcbf7.jpg?v=1696020535",h=l||"Inspired by laid back California ethos of easy living, quality, & simplicity, \n                      Buck Mason is a modern American brand that makes fashion less complicated.";const _=r?`https://www.buckmason.com${r.split("?")[0]}`:d.href.replace(/\/$/,"").split("?")[0];return a.createElement(a.Fragment,null,a.createElement("title",null,u),a.createElement("meta",{property:"og:url",content:_}),a.createElement("meta",{property:"og:title",content:(0,m.RC)(u)}),a.createElement("meta",{property:"og:image",content:E}),a.createElement("link",{rel:"image_src",href:E}),a.createElement("meta",{name:"twitter:image",content:E}),a.createElement("meta",{name:"twitter:title",content:(0,m.RC)(u)}),a.createElement("meta",{name:"twitter:url",content:_}),!o&&a.createElement("link",{rel:"canonical",href:_}),o&&a.createElement("meta",{name:"robots",content:"noindex"}),a.createElement("meta",{name:"description",content:(0,m.RC)(h)}),a.createElement("meta",{property:"og:description",content:(0,m.RC)(h)}),a.createElement("meta",{name:"twitter:description",content:(0,m.RC)(h)}),i&&a.createElement("link",{rel:"alternate",type:"text/markdown",href:`https://www.buckmason.com${i}`}),(i||p)&&a.createElement("link",{rel:"describedby",type:"text/markdown",href:"https://www.buckmason.com/llms.txt"}),s)}}}]);
2//# sourceMappingURL=component---src-pages-pages-sitemap-jsx-a127bd21c17549d0897c.js.map

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.