PageSourceSearch

https://abue-ammar.github.io/_next/static/chunks/853-3385b2fade9a46c4.js

js abue-ammar.github.io collected 2026-10-03 08:32:33 UTC 7,608 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[853],{63:(e,t,n)=>{var r=n(4879);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},1866:(e,t,n)=>{n.d(t,{d:()=>l});var r=n(2115),o=n(8577),i=n(4634),s=n(43);function l(e){let t=(0,s.M)(()=>(0,o.OQ)(e)),{isStatic:n}=(0,r.useContext)(i.Q);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}},4804:(e,t,n)=>{n.d(t,{z:()=>c});var r=n(2115),o=n(4128),i=n(1866),s=n(4634),l=n(5124),u=n(4882),f=n(6384);function a(e){return"number"==typeof e?e:parseFloat(e)}function c(e,t={}){let{isStatic:n}=(0,r.useContext)(s.Q),d=(0,r.useRef)(null),g=(0,i.d)((0,o.S)(e)?a(e.get()):e),h=(0,r.useRef)(g.get()),p=(0,r.useRef)(()=>{}),m=()=>{let e=d.current;e&&0===e.time&&e.sample(f.uv.delta),v(),d.current=(0,u.L)({keyframes:[g.get(),h.current],velocity:g.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:p.current})},v=()=>{d.current&&d.current.stop()};return(0,r.useInsertionEffect)(()=>g.attach((e,t)=>n?t(e):(h.current=e,p.current=t,f.Gt.update(m),g.get()),v),[JSON.stringify(t)]),(0,l.E)(()=>{if((0,o.S)(e))return e.on("change",e=>g.set(a(e)))},[g]),g}},9583:(e,t,n)=>{let r,o;n.d(t,{L:()=>X});var i=n(8577),s=n(43),l=n(2115),u=n(972),f=n(6704);let a=new WeakMap;function c({target:e,contentRect:t,borderBoxSize:n}){var r;null==(r=a.get(e))||r.forEach(r=>{r({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})})}function d(e){e.forEach(c)}let g=new Set;var h=n(2840),p=n(9485);let m=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),v={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y(e,t,n,r){let o=n[t],{length:i,position:s}=v[t],l=o.current,u=n.time;o.current=e[`scroll${s}`],o.scrollLength=e[`scroll${i}`]-e[`client${i}`],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=(0,h.q)(0,o.scrollLength,o.current);let f=r-u;o.velocity=f>50?0:(0,p.f)(o.current-l,f)}let w=[[0,0],[1,1]],E={start:0,center:.5,end:1};function x(e,t,n=0){let r=0;if(e in E&&(e=E[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}let L=[0,0];var W=n(8780),S=n(754);let O={x:0,y:0};var b=n(6384);let z=new WeakMap,B=new WeakMap,G=new WeakMap,P=e=>e===document.documentElement?window:e;function H(e,{container:t=document.documentElement,...n}={}){let i=G.get(t);i||(i=new Set,G.set(t,i));let s=function(e,t,n,r={}){return{measure:()=>(function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight})(e,r.target,n),update:t=>{y(e,"x",n,t),y(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=w}=n,{target:o=e,axis:i="y"}=n,s="y"===i?"height":"width",l=o!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let o=null,i=r.parentNode;for(;!o;)"svg"===i.tagName&&(o=i),i=r.parentNode;r=o}else break;return n}(o,e):O,u=o===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in o&&"svg"!==o.tagName?o.getBBox():{width:o.clientWidth,height:o.clientHeight},f={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let a=!t[i].interpolate,c=r.length;for(let e=0;e<c;e++){let n=function(e,t,n,r){let o=Array.isArray(e)?e:L,i=0;
1return"number"==typeof e?o=[e,e]:"string"==typeof e&&(o=(e=e.trim()).includes(" ")?e.split(" "):[e,E[e]?e:"0"]),(i=x(o[0],n,r))-x(o[1],t)}(r[e],f[s],u[s],l[i]);a||n===t[i].interpolatorOffsets[e]||(a=!0),t[i].offset[e]=n}a&&(t[i].interpolate=(0,W.G)(t[i].offset,(0,S.Z)(r)),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=t[i].interpolate(t[i].current)}(e,n,r)},notify:()=>t(n)}}(t,e,{time:0,x:m(),y:m()},n);if(i.add(s),!z.has(t)){let e,n=()=>{for(let e of i)e.measure()},s=()=>{for(let e of i)e.update(b.uv.timestamp)},l=()=>{for(let e of i)e.notify()},u=()=>{b.Gt.read(n,!1,!0),b.Gt.read(s,!1,!0),b.Gt.update(l,!1,!0)};z.set(t,u);let c=P(t);window.addEventListener("resize",u,{passive:!0}),t!==document.documentElement&&B.set(t,"function"==typeof t?(g.add(t),o||(o=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};g.forEach(e=>e(t))},window.addEventListener("resize",o)),()=>{g.delete(t),!g.size&&o&&(o=void 0)}):(r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(d)),(e=(0,f.K)(t)).forEach(e=>{let t=a.get(e);t||(t=new Set,a.set(e,t)),t.add(u),null==r||r.observe(e)}),()=>{e.forEach(e=>{let t=a.get(e);null==t||t.delete(u),(null==t?void 0:t.size)||null==r||r.unobserve(e)})})),c.addEventListener("scroll",u,{passive:!0})}let l=z.get(t);return b.Gt.read(l,!1,!0),()=>{var e;(0,b.WG)(l);let n=G.get(t);if(!n||(n.delete(s),n.size))return;let r=z.get(t);z.delete(t),r&&(P(t).removeEventListener("scroll",r),null==(e=B.get(t))||e(),window.removeEventListener("resize",r))}}function k(e,t){let n,r=()=>{let{currentTime:r}=t,o=(null===r?0:r.value)/100;n!==o&&e(o),n=o};return b.Gt.update(r,!0),()=>(0,b.WG)(r)}var R=n(9805),N=n(8817);let M=new Map;function T({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),M.has(t)||M.set(t,{});let r=M.get(t);return r[n]||(r[n]=(0,R.J)()?new ScrollTimeline({source:t,axis:n}):function({source:e,container:t,axis:n="y"}){e&&(t=e);let r={value:0},o=H(e=>{r.value=100*e[n].progress},{container:t,axis:n});return{currentTime:r,cancel:o}}({source:t,axis:n})),r[n]}function Q(e){return e&&(e.target||e.offset)}var C=n(5124);function Y(e,t){(0,u.$)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let $=()=>({scrollX:(0,i.OQ)(0),scrollY:(0,i.OQ)(0),scrollXProgress:(0,i.OQ)(0),scrollYProgress:(0,i.OQ)(0)});function X({container:e,target:t,layoutEffect:n=!0,...r}={}){let o=(0,s.M)($);return(n?C.E:l.useEffect)(()=>(Y("target",t),Y("container",e),function(e,{axis:t="y",...n}={}){var r,o;let i={axis:t,...n};return"function"==typeof e?(r=e,o=i,2===r.length||Q(o)?H(e=>{r(e[o.axis].progress,e)},o):k(r,T(o))):function(e,t){if(e.flatten(),Q(t))return e.pause(),H(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=T(t);return e.attachTimeline?e.attachTimeline(n,e=>(e.pause(),k(t=>{e.time=e.duration*t},n))):N.l}}(e,i)}((e,{x:t,y:n})=>{o.scrollX.set(t.current),o.scrollXProgress.set(t.progress),o.scrollY.set(n.current),o.scrollYProgress.set(n.progress)},{...r,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),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.