PageSourceSearch

https://www.rashediqbal.me/551-c2bcad4e876c1bbc17e8.js

js rashediqbal.me collected 2026-09-26 04:58:12 UTC 2,896 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkportfolio=self.webpackChunkportfolio||[]).push([[551],{551:function(e,t,n){n.r(t),n.d(t,{renderImageToString:function(){return b},swapPlaceholderImage:function(){return g}});var o=n(5588),r=n(6540),i=n(5848);n(5147);let a;const c=new WeakMap,l=navigator.connection||navigator.mozConnection||navigator.webkitConnection,s=["image","loading","isLoading","isLoaded","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"];function d(e,t){e.style.opacity="1",t&&(t.style.opacity="0")}function u(e,t,n,o,r,i){const a=e.querySelector("[data-main-image]"),c=e.querySelector("[data-placeholder-image]"),l=n.has(t);function s(e){this.removeEventListener("load",s);const t=e.currentTarget,n=new Image;n.src=t.currentSrc,n.decode?n.decode().then(()=>{d(this,c),null==r||r({wasCached:l})}).catch(e=>{d(this,c),null==i||i(e)}):(d(this,c),null==r||r({wasCached:l}))}return a.addEventListener("load",s),null==o||o({wasCached:l}),Array.from(a.parentElement.children).forEach(e=>{const t=e.getAttribute("data-src"),n=e.getAttribute("data-srcset");t&&(e.removeAttribute("data-src"),e.setAttribute("src",t)),n&&(e.removeAttribute("data-srcset"),e.setAttribute("srcset",n))}),n.add(t),a.complete&&s.call(a,{currentTarget:a}),()=>{a&&a.removeEventListener("load",s)}}function g(e,t,r,i,s,d,g){if(!(0,o.h)()){let o;const v=(h=()=>{o=u(e,t,r,s,d,g)},"IntersectionObserver"in window?(a||(a=new IntersectionObserver(e=>{e.forEach(e=>{var t;e.isIntersecting&&(null==(t=c.get(e.target))||t(),c.delete(e.target))})},{rootMargin:"4g"!==(null==l?void 0:l.effectiveType)||null!=l&&l.saveData?"2500px":"1250px"})),function(e){return c.set(e,h),a.observe(e),function(){a&&e&&(c.delete(e),a.unobserve(e))}}):function(){return h(),function(){}}),f=v(e);var b,m;return"objectFit"in document.documentElement.style||(e.dataset.objectFit=null!=(b=i.objectFit)?b:"cover",e.dataset.objectPosition=""+(null!=(m=i.objectPosition)?m:"50% 50%"),async function(e){"objectFitPolyfill"in window||await n.e(452).then(n.t.bind(n,1452,23)),window.objectFitPolyfill(e)}(e)),()=>{o&&o(),f()}}var h;return u(e,t,r,s,d,g)}function b(e){let t=e.image,n=e.loading,a=void 0===n?"lazy":n,c=e.isLoading,l=e.isLoaded,d=e.imgClassName,u=e.imgStyle,g=void 0===u?{}:u,b=e.objectPosition,m=e.backgroundColor,h=e.objectFit,v=void 0===h?"cover":h,f=(0,o._)(e,s);const w=t.width,p=t.height,y=t.layout,j=t.images,C=t.placeholder,k=t.backgroundColor;return g=(0,o.a)({objectFit:v,objectPosition:b,backgroundColor:m},g),(0,i.qV)(r.createElement(o.L,{layout:y,width:w,height:p},r.createElement(o.P,(0,o.a)({},(0,o.g)(C,l,y,w,p,k,v,b))),r.createElement(o.M,(0,o.a)({},f,{width:w,height:p,className:d},(0,o.b)(c,l,j,a,g)))))}},5848:function(e,t,n){var o,r;o=n(6047),r=n(7909),o.version,o.renderToString,t.qV=o.renderToStaticMarkup,r.renderToReadableStream,r.resume}}]);
2//# sourceMappingURL=551-c2bcad4e876c1bbc17e8.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.