PageSourceSearch

https://www.kylesauer.com/_next/static/chunks/pages/search-aef919b322aa56f6.js

js kylesauer.com collected 2026-10-09 00:19:21 UTC 5,129 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[612],{688:(n,e,t)=>{"use strict";t.d(e,{T:()=>r});let r=(n,e)=>{let t=n.current.offsetHeight,r=window.innerHeight-(t+n.current.getBoundingClientRect().top+window.scrollY),o=-r<Math.floor(2/3*t),i=r<0&&o?-r:0;e({marginBottom:"".concat(i,"px"),...0===i?{borderBottom:"4px solid black"}:{borderBottom:"none"}})}},1852:(n,e,t)=>{"use strict";t.d(e,{A:()=>c});var r=t(8888),o=t(8153),i=t(8993),l=t(8303);function a(){let n=(0,r._)(["\n  display:block;\n  position: absolute;\n  border-top: 4px solid black;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  z-index: 9;      \n  background-color: olive;\n  p,h3 {\n      width: 100%;\n      font-size: 200%;\n      margin:0;\n      font-family: Newsflash;\n      font-weight: normal;\n    }\n    p {\n      padding-left: 1rem;\n      padding-top: 0.5rem;\n    }\n    h3 {\n      padding-left: 1rem;\n      padding-bottom: 0.5rem;\n    }\n  "," {\n    display: none;\n  }\n  "," {\n    display: none;\n  }\n\n"]);return a=function(){return n},n}let s=(0,i.AH)(a(),l.o4,l.eJ),c=n=>{let{bg:e,float:t,label:r,title:i,type:l}=n;return(0,o.FD)("div",{css:s,style:{backgroundColor:e,..."image"===l?{borderRight:"4px solid black",borderBottom:"4px solid black"}:{borderBottom:"4px solid black",bottom:"-4px"},...t},children:[(0,o.FD)("p",{children:[r,":"]}),(0,o.Y)("h3",{children:i})]})}},3672:(n,e,t)=>{"use strict";t.d(e,{A:()=>c});var r=t(8888),o=t(8153),i=t(8993),l=t(8303);function a(){let n=(0,r._)(["\n  overflow-x: hidden;\n  width: 100%;\n  max-width: 100vw;\n  position: sticky;\n  letter-spacing: 4px;\n  top: 0;\n  z-index: 2;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  height: 4rem;\n  border-bottom: 4px solid black;\n  h2 {\n    white-space: nowrap;\n    line-height: 0;\n    text-align: center;\n    text-transform: uppercase;\n    font-family: Newsflash;\n    font-weight: normal;\n    -webkit-text-stroke: 2.5px black;\n    margin: 0;\n    padding: 0;\n    font-size: 3.3rem;\n  }\n  .portrait {\n    display: none;\n    "," {\n      display: inline;\n    }\n  }\n  .nonPortrait {\n    "," {\n      display: none;\n    }\n  }\n"]);return a=function(){return n},n}let s=(0,i.AH)(a(),l.o4,l.o4),c=n=>{let{tag:e,colors:t}=n;return(0,o.FD)("header",{css:s,style:t,children:[(0,o.Y)("h2",{className:"nonPortrait",children:("".concat(e," \xb7")+" ").repeat(27)}),(0,o.Y)("h2",{className:"portrait",children:e})]})}},5207:(n,e,t)=>{"use strict";t.r(e),t.d(e,{__N_SSG:()=>b,default:()=>g});var r=t(8888),o=t(8153),i=t(8993),l=t(8303),a=t(5887),s=t(4232),c=t(9099),d=t(6106),h=t(3672),u=t(7324),p=t(6930);function f(){let n=(0,r._)(["\n  grid-column: 2 / 3;\n  grid-row: 2 / 4;\n  width: 100%;\n  overflow-x: hidden;\n\n  section {\n    overflow-y: scroll;\n    width: 100%;\n    display: flex;\n    flex-wrap: wrap;\n    align-items: flex-start;\n  }\n  "," {\n    grid-column: 1 / 3;\n    grid-row: 3 / 5;\n    border-left: none;\n  }\n  "," {\n    grid-column: 2 / 3;\n    grid-row: 1 / 3;\n  }\n"]);return f=function(){return n},n}let m=(0,i.AH)(f(),l.so,l.eJ);var b=!0;let g=n=>{let{siteSettings:e}=n,{headerColors:t,setHeaderColors:r,setSmallHeader:i}=(0,s.useContext)(d.A),{setProjectTags:l}=(0,s.useContext)(p.A),f=(0,c.useRouter)(),[b,g]=(0,s.useState)([]);(0,s.useEffect)(()=>{r(e.defaultColors),i(!0),l([])},[]);let w={backgroundColor:t.primary.hex,color:t.secondary.hex};return(0,s.useEffect)(()=>{let n=async()=>{let n=f.query.search.replace(" ","-");g(await a.A.fetch('\n      *[_type in ["gallery-project", "single-image"] \n        && (basicInfo.info[].children[].text match $search\n        || basicInfo.title match $search\n        || basicInfo.type match $search\n        || primary[$search]\n        || $search in secondary)] \n      ',{search:"".concat(n)}))};f.query.search&&n()},[f]),(0,o.FD)("main",{css:m,children:[(0,o.Y)(h.A,{tag:f.query.search||"",colors:w}),(0,o.Y)("section",{children:b.map(n=>(0,o.Y)(u.A,{project:n},n._id))})]})}},7324:(n,e,t)=>{"use strict";t.d(e,{A:()=>m});var r=t(8888),o=t(8153),i=t(8993),l=t(1178),a=t(8230),s=t.n(a),c=t(3576),d=t(4232),h=t(1852),u=t(688);function p(){let n=(0,r._)(["\n  cursor: pointer;\n  flex-basis: 50%;\n  height: min-content;\n  border-right: 4px solid black;\n  border-bottom: 4px solid black;\n  position: relative;\n  h2 {\n    margin: 0;\n    padding: 0.5rem;
1\n    border-top: 4px solid black;\n  }\n  img {\n    width: 100%;\n    display: block;\n  }\n"]);return p=function(){return n},n}let f=(0,i.AH)(p()),m=n=>{let{project:e}=n,t=(0,d.useRef)(null),r=(0,c.A)(t),[i,a]=(0,d.useState)({});return(0,o.Y)(s(),{href:"/work/".concat(e.basicInfo.slug.current),children:(0,o.FD)("div",{css:f,ref:t,onMouseMove:()=>(0,u.T)(t,a),children:[(0,o.Y)("img",{src:(0,l.A)(e.basicInfo.featuredImage).auto("format").url(),alt:e.title}),r&&(0,o.Y)(h.A,{bg:e.basicInfo.heroColors.primary.hex,float:i,label:e.basicInfo.type,title:e.basicInfo.title,type:"thumb"})]})})}},8732:(n,e,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return t(5207)}])}},n=>{var e=e=>n(n.s=e);n.O(0,[636,593,792],()=>e(8732)),_N_E=n.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.