PageSourceSearch

https://alwaleedphilanthropies.org/_next/static/chunks/2.d7299677d975e108.js

js alwaleedphilanthropies.org collected 2026-10-02 10:02:58 UTC 6,351 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2],{3002:function(e,t,n){var o,a,r;window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t,n=(this.document||this.ownerDocument).querySelectorAll(e),o=this;do for(t=n.length;0<=--t&&n.item(t)!==o;);while(t<0&&(o=o.parentElement));return o}),function(){"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e);function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}(),function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var o=(new Date).getTime(),a=Math.max(0,16-(o-e)),r=window.setTimeout(function(){t(o+a)},a);return e=o+a,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),a=void 0!==n.g?n.g:"undefined"!=typeof window?window:this,r=function(e){"use strict";var t={ignore:"[data-scroll-ignore]",header:null,topOnEmptyHash:!0,speed:500,speedAsDuration:!1,durationMax:null,durationMin:null,clip:!0,offset:0,easing:"easeInOutCubic",customEasing:null,updateURL:!0,popstate:!0,emitEvents:!0},n=function(){var e={};return Array.prototype.forEach.call(arguments,function(t){for(var n in t){if(!t.hasOwnProperty(n))return;e[n]=t[n]}}),e},o=function(e){"#"===e.charAt(0)&&(e=e.substr(1));for(var t,n=String(e),o=n.length,a=-1,r="",i=n.charCodeAt(0);++a<o;){if(0===(t=n.charCodeAt(a)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");1<=t&&t<=31||127==t||0===a&&48<=t&&t<=57||1===a&&48<=t&&t<=57&&45===i?r+="\\"+t.toString(16)+" ":r+=128<=t||45===t||95===t||48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122?n.charAt(a):"\\"+n.charAt(a)}return"#"+r},a=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},r=function(t,n,o){0===t&&document.body.focus(),o||(t.focus(),document.activeElement!==t&&(t.setAttribute("tabindex","-1"),t.focus(),t.style.outline="none"),e.scrollTo(0,n))},i=function(t,n,o,a){if(n.emitEvents&&"function"==typeof e.CustomEvent){var r=new CustomEvent(t,{bubbles:!0,detail:{anchor:o,toggle:a}});document.dispatchEvent(r)}};return function(c,s){var u,l,m,d,f={};f.cancelScroll=function(e){cancelAnimationFrame(d),d=null,e||i("scrollCancel",u)},f.animateScroll=function(o,c,s){f.cancelScroll();var l=n(u||t,s||{}),h="[object Number]"===Object.prototype.toString.call(o),p=h||!o.tagName?null:o;if(h||p){var g=e.pageYOffset;l.header&&!m&&(m=document.querySelector(l.header));var v,w,y,E,S,b=(v=m)?parseInt(e.getComputedStyle(v).height,10)+v.offsetTop:0,A=h?o:function(t,n,o,r){var i=0;if(t.offsetParent)for(;i+=t.offsetTop,t=t.offsetParent;);return i=Math.max(i-n-o,0),r&&(i=Math.min(i,a()-e.innerHeight)),i}(p,b,parseInt("function"==typeof l.offset?l.offset(o,c):l.offset,10),l.clip),C=A-g,O=a(),M=0,q=(w=l.speedAsDuration?l.speed:Math.abs(C/1e3*l.speed),l.durationMax&&w>l.durationMax?l.durationMax:l.durationMin&&w<l.durationMin?l.durationMin:parseInt(w,10)),I=function(t){var n,a;y||(y=t),M+=t-y,S=g+C*(n=E=1<(E=0===q?0:M/q)?1:E,"easeInQuad"===l.easing&&(a=n*n),"easeOutQuad"===l.easing&&(a=n*(2-n)),"easeInOutQuad"===l.easing&&(a=n<.5?2*n*n:(4-2*n)*n-1),"easeInCubic"===l.easing&&(a=n*n*n),"easeOutCubic"===l.easing&&(a=--n*n*n+1),"easeInOutCubic"===l.easing&&(a=n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1),"easeInQuart"===l.easing&&(a=n*n*n*n),"easeOutQuart"===l.easing&&(a=1- --n*n*n*n),"easeInOutQuart"===l.easing&&(a=n<.5?8*n*n*n*n:1-8*--n*n*n*n),"easeInQuint"===l.easing&&(a=n*n*n*n*n),"easeOutQuint"===l.easing&&(a=1+--n*n*n*n*n),"easeInOutQuint"===l.easing&&(a=n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n),l.customEasing&&(a=l.customEasing(n)),a||n),e.scrollTo(0,Math.floor(S)),function(t,n){var a=e.pageYOffset;
1if(t==n||a==n||(g<n&&e.innerHeight+a)>=O)return f.cancelScroll(!0),r(o,n,h),i("scrollStop",l,o,c),d=y=null,!0}(S,A)||(d=e.requestAnimationFrame(I),y=t)};0===e.pageYOffset&&e.scrollTo(0,0),h||history.pushState&&l.updateURL&&history.pushState({smoothScroll:JSON.stringify(l),anchor:o.id},document.title,o===document.documentElement?"#top":"#"+o.id),"matchMedia"in e&&e.matchMedia("(prefers-reduced-motion)").matches?r(o,Math.floor(A),!1):(i("scrollStart",l,o,c),f.cancelScroll(!0),e.requestAnimationFrame(I))}};var h=function(t){if(!t.defaultPrevented&&!(0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey)&&"closest"in t.target&&(l=t.target.closest(c))&&"a"===l.tagName.toLowerCase()&&!t.target.closest(u.ignore)&&l.hostname===e.location.hostname&&l.pathname===e.location.pathname&&/#/.test(l.href)){var n,a;try{n=o(decodeURIComponent(l.hash))}catch(e){n=o(l.hash)}if("#"===n){if(!u.topOnEmptyHash)return;a=document.documentElement}else a=document.querySelector(n);(a=a||"#top"!==n?a:document.documentElement)&&(t.preventDefault(),function(t){if(history.replaceState&&t.updateURL&&!history.state){var n=e.location.hash;n=n||"",history.replaceState({smoothScroll:JSON.stringify(t),anchor:n||e.pageYOffset},document.title,n||e.location.href)}}(u),f.animateScroll(a,l))}},p=function(e){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(u)){var t=history.state.anchor;("string"!=typeof t||!t||(t=document.querySelector(o(history.state.anchor))))&&f.animateScroll(t,null,{updateURL:!1})}};return f.destroy=function(){u&&(document.removeEventListener("click",h,!1),e.removeEventListener("popstate",p,!1),f.cancelScroll(),d=m=l=u=null)},function(){if(!("querySelector"in document&&"addEventListener"in e&&"requestAnimationFrame"in e&&"closest"in e.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";f.destroy(),m=(u=n(t,s||{})).header?document.querySelector(u.header):null,document.addEventListener("click",h,!1),u.updateURL&&u.popstate&&e.addEventListener("popstate",p,!1)}(),f}},void 0!==(o=(function(){return r(a)}).apply(t,[]))&&(e.exports=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.