PageSourceSearch

https://bradleybarroso.dev/_next/static/immutable/chunks/35lmqrx0dn3io.js

js bradleybarroso.dev collected 2026-10-07 18:54:59 UTC 9,276 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,59095,e=>{"use strict";var t=e.i(43476),i=e.i(932),n=e.i(71645),r=e.i(65747),l=e.i(75324),s=e.i(65506),o=e.i(89970),a=e.i(83495);o.gsap.registerPlugin(l.SplitText),e.s(["Reveal",0,function(e){let h,d,p,c,u,g=(0,i.c)(23),{children:f,as:m,className:y,y:v,duration:x,stagger:b,start:w,onMount:S,delay:E,style:C,id:T}=e,A=void 0===v?48:v,N=void 0===w?"top 88%":w,R=void 0!==S&&S,_=void 0===E?0:E,k=(0,n.useRef)(null);g[0]===Symbol.for("react.memo_cache_sentinel")?(h=e=>{k.current=e},g[0]=h):h=g[0];let B=h;g[1]!==y||g[2]!==_||g[3]!==x||g[4]!==R||g[5]!==b||g[6]!==N||g[7]!==A?(d=()=>{let e,t=k.current;if(!t||window.matchMedia("(prefers-reduced-motion: reduce)").matches||null==b&&(y??"").includes("kicker"))return;let i=null;if(null!=b){let i=Array.from(t.children);o.gsap.set(i,{autoAlpha:0,y:A}),e=o.gsap.to(i,{autoAlpha:1,y:0,duration:x??.9,delay:R?_:0,ease:"expo.out",stagger:b,paused:!0})}else i=new l.SplitText(t,{type:"lines",mask:"lines",linesClass:"reveal-line"}),o.gsap.set(i.lines,{yPercent:110}),e=o.gsap.to(i.lines,{yPercent:0,duration:x??.9,delay:R?_:0,ease:R?"expo.out":s.EASE_OSMO,stagger:.06,paused:!0});if(R)return e.play(),()=>i?.revert();let n=a.ScrollTrigger.create({trigger:t,start:N,once:!0,onEnter:()=>e.play()});return(document.fonts?.ready??Promise.resolve()).then(()=>{a.ScrollTrigger.refresh(),!k.current||k.current.getBoundingClientRect().top<.95*window.innerHeight&&e.play()}),()=>{n.kill(),i?.revert()}},g[1]=y,g[2]=_,g[3]=x,g[4]=R,g[5]=b,g[6]=N,g[7]=A,g[8]=d):d=g[8],g[9]===Symbol.for("react.memo_cache_sentinel")?(p={scope:k,dependencies:[]},g[9]=p):p=g[9],(0,r.useGSAP)(d,p),g[10]!==f||g[11]!==y||g[12]!==T||g[13]!==C?(c={ref:B,className:y,style:C,id:T,children:f},g[10]=f,g[11]=y,g[12]=T,g[13]=C,g[14]=c):c=g[14];let O=c;if("h1"===m){let e;return g[15]!==O?(e=(0,t.jsx)("h1",{...O}),g[15]=O,g[16]=e):e=g[16],e}if("h2"===m){let e;return g[17]!==O?(e=(0,t.jsx)("h2",{...O}),g[17]=O,g[18]=e):e=g[18],e}if("p"===m){let e;return g[19]!==O?(e=(0,t.jsx)("p",{...O}),g[19]=O,g[20]=e):e=g[20],e}return g[21]!==O?(u=(0,t.jsx)("div",{...O}),g[21]=O,g[22]=u):u=g[22],u}])},75324,e=>{"use strict";let t,i,n="function"==typeof Symbol?Symbol():"_split",r,l="u">typeof Intl&&"Segmenter"in Intl?new Intl.Segmenter:0,s=e=>e?"string"==typeof e?s(document.querySelectorAll(e)):"length"in e?Array.from(e).reduce((e,t)=>("string"==typeof t?e.push(...s(t)):e.push(t),e),[]):[e]:[],o=e=>s(e).filter(e=>e&&1===e.nodeType),a=[],h=function(){},d={add:e=>e()},p=/\s+/g,c=RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),u={left:0,top:0,width:0,height:0},g=(e,t)=>{for(;++t<e.length&&e[t]===u;);return e[t]||u},f=({element:e,html:t,ariaL:i,ariaH:n})=>{e.innerHTML=t,i?e.setAttribute("aria-label",i):e.removeAttribute("aria-label"),n?e.setAttribute("aria-hidden",n):e.removeAttribute("aria-hidden")},m=(e,t)=>{if(t){let i=new Set(e.join("").match(t)||a),n=e.length,r,l,s,o;if(i.size){for(;--n>-1;)for(s of(l=e[n],i))if(s.startsWith(l)&&s.length>l.length){for(r=0,o=l;s.startsWith(o+=e[n+ ++r])&&o.length<s.length;);if(r&&o.length===s.length){e[n]=s,e.splice(n+1,r);break}}}}return e},y=e=>"inline"===window.getComputedStyle(e).display&&(e.style.display="inline-block"),v=(e,t,i)=>t.insertBefore("string"==typeof e?document.createTextNode(e):e,i),x=(e,t,i)=>{let n=t[e+"sClass"]||"",{tag:r="div",aria:l="auto",propIndex:s=!1}=t,o="line"===e?"block":"inline-block",a=n.indexOf("++")>-1,h=t=>{let h=document.createElement(r),d=i.length+1;return n&&(h.className=n+(a?" "+n+d:"")),s&&h.style.setProperty("--"+e,d+""),"none"!==l&&h.setAttribute("aria-hidden","true"),"span"!==r&&(h.style.position="relative",h.style.display=o),h.textContent=t,i.push(h),h};return a&&(n=n.replace("++","")),h.collection=i,h},b=(e,t,i,n,r,s,o,h,d,c)=>{var u;let g=Array.from(e.childNodes),f=0,{wordDelimiter:x,reduceWhiteSpace:w=!0,prepareText:S}=t,E=e.getBoundingClientRect(),C=E,T=!w&&"pre"===window.getComputedStyle(e).whiteSpace.substring(0,3),A=0,N=i.
1collection,R,_,k,B,O,j,W,P,M,F,z,I,L,H,K,U,q,D;for("object"==typeof x?(k=x.delimiter||x,_=x.replaceWith||""):_=""===x?"":x||" ",R=" "!==_;f<g.length;f++)if(3===(B=g[f]).nodeType){for(K=B.textContent||"",w?K=K.replace(p," "):T&&(K=K.replace(/\n/g,_+"\n")),S&&(K=S(K,e)),B.textContent=K,q=(O=_||k?K.split(k||_):K.match(h)||a)[O.length-1],P=R?" "===q.slice(-1):!q,q||O.pop(),C=E,(W=R?" "===O[0].charAt(0):!O[0])&&v(" ",e,B),O[0]||O.shift(),m(O,d),s&&c||(B.textContent=""),M=1;M<=O.length;M++)if(U=O[M-1],!w&&T&&"\n"===U.charAt(0)&&(null==(u=B.previousSibling)||u.remove(),v(document.createElement("br"),e,B),U=U.slice(1)),w||""!==U)if(" "===U)e.insertBefore(document.createTextNode(" "),B);else{if(R&&" "===U.charAt(0)&&v(" ",e,B),A&&1===M&&!W&&N.indexOf(A.parentNode)>-1?(j=N[N.length-1]).appendChild(document.createTextNode(n?"":U)):(v(j=i(n?"":U),e,B),A&&1===M&&!W&&j.insertBefore(A,j.firstChild)),n)for(z=l?m([...l.segment(U)].map(e=>e.segment),d):U.match(h)||a,D=0;D<z.length;D++)j.appendChild(" "===z[D]?document.createTextNode(" "):n(z[D]));if(s&&c){if(K=B.textContent=K.substring(U.length+1,K.length),(F=j.getBoundingClientRect()).top>C.top&&F.left<=C.left){for(I=e.cloneNode(),L=e.childNodes[0];L&&L!==j;)H=L,L=L.nextSibling,I.appendChild(H);e.parentNode.insertBefore(I,e),r&&y(I)}C=F}(M<O.length||P)&&v(M>=O.length?" ":R&&" "===U.slice(-1)?" "+_:_,e,B)}else v(_,e,B);e.removeChild(B),A=0}else 1===B.nodeType&&(o&&o.indexOf(B)>-1?(N.indexOf(B.previousSibling)>-1&&N[N.length-1].appendChild(B),A=B):(b(B,t,i,n,r,s,o,h,d,!0),A=0),r&&y(B))},w=class e{constructor(e,t){this.isSplit=!1,r||S.register(window.gsap),this.elements=o(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this.elements.forEach(e=>{var i;!1!==t.overwrite&&(null==(i=e[n])||i._data.orig.filter(({element:t})=>t===e).forEach(f)),e[n]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let i=[],l,s=()=>{let e=i.length,t;for(;e--;){let n=(t=i[e]).element.offsetWidth;if(n!==t.width){t.width=n,this._split();return}}};this._data={orig:i,obs:"u">typeof ResizeObserver&&new ResizeObserver(()=>{clearTimeout(l),l=setTimeout(s,200)})},h(this),this.split(t)}split(e){return(this._ctx||d).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:n="auto",deepSlice:r=!0,smartWrap:l,onSplit:a,autoSplit:h=!1,specialChars:d,mask:p}=this.vars,f=t.indexOf("lines")>-1,m=t.indexOf("chars")>-1,y=t.indexOf("words")>-1,v=m&&!y&&!f,w=d&&("push"in d?RegExp("(?:"+d.join("|")+")","gu"):d),S=w?RegExp(w.source+"|"+c.source,"gu"):c,E=!!e.ignore&&o(e.ignore),{orig:C,animTime:T,obs:A}=this._data,N;(m||y||f)&&(this.elements.forEach((t,i)=>{C[i]={element:t,html:t.innerHTML,ariaL:t.getAttribute("aria-label"),ariaH:t.getAttribute("aria-hidden")},"auto"===n?t.setAttribute("aria-label",(t.textContent||"").trim()):"hidden"===n&&t.setAttribute("aria-hidden","true");let o=[],a=[],h=[],d=m?x("char",e,o):null,p=x("word",e,a),c,T,A,N;if(b(t,e,p,d,v,r&&(f||v),E,S,w,!1),f){let i,n,r=s(t.childNodes),l=(i=x("line",e,h),n=window.getComputedStyle(t).textAlign||"left",(e,l)=>{let s=i("");for(s.style.textAlign=n,t.insertBefore(s,r[e]);e<l;e++)s.appendChild(r[e]);s.normalize()}),o,a=[],d=0,p=r.map(e=>1===e.nodeType?e.getBoundingClientRect():u),f=u,m;for(c=0;c<r.length;c++)1===(o=r[c]).nodeType&&("BR"===o.nodeName?(c&&"BR"===r[c-1].nodeName||(a.push(o),l(d,c+1)),d=c+1,f=g(p,c)):(m=p[c],c&&m.top>f.top&&m.left<f.left+f.width-1&&(l(d,c),d=c),f=m));d<c&&l(d,c),a.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})}if(!y){for(c=0;c<a.length;c++)if(T=a[c],m||!T.nextSibling||3!==T.nextSibling.nodeType)if(l&&!f){for((A=document.createElement("span")).style.whiteSpace="nowrap";T.firstChild;)A.appendChild(T.firstChild);T.replaceWith(A)}else T.replaceWith(...T.childNodes);else(N=T.nextSibling)&&3===N.nodeType&&(N.textContent=(T.textContent||"")+(N.textContent||""),T.remove());a.length=0,t.normalize()}this.lines.push(...h),this.words.push(...a),this.chars.push(...o)}),p&&this[p]&&this.masks.push(...this[p].map(e=>{let t=e.cloneNode();return e.replaceWith(t),t.appendChild(e),e.className&&(t.className=e.className.trim().split(" ").map(e=>e+"-mask").join(" ")),t.style.overflow="clip",t}))),this.isSplit=!0,i&&f&&h&&i.addEventListener("loadingdone",this._split),(N=a&&a(this))&&N.totalTime&&(this._data.anim=T?N.totalTime(T):N),f&&h&&this.elements.forEac
1h((e,t)=>{C[t].width=e.offsetWidth,A&&A.observe(e)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),null==i||i.removeEventListener("loadingdone",this._split)}revert(){var e,t;if(this.isSplit){let{orig:i,anim:n}=this._data;this.kill(),i.forEach(f),this.chars.length=this.words.length=this.lines.length=i.length=this.masks.length=0,this.isSplit=!1,n&&(this._data.animTime=n.totalTime(),n.revert()),null==(t=(e=this.vars).onRevert)||t.call(e,this)}return this}static create(t,i){return new e(t,i)}static register(e){(t=t||e||window.gsap)&&(s=t.utils.toArray,h=t.core.context||h),!r&&window.innerWidth>0&&(i=document.fonts,r=!0)}};w.version="3.15.0";let S=w;e.s(["SplitText",0,S])}]);

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.