From efe2251a237b51d6bc250585473bd800348a44b4 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Wed, 12 Oct 2022 11:07:56 +0000 Subject: [PATCH] chore: Build release --- LICENCE.md | 0 .../dist/storefront/js/sptec-lazyload.js | 2 +- src/Resources/app/storefront/package-lock.json | 17 +---------------- src/SptecLazyload.php | 0 4 files changed, 2 insertions(+), 17 deletions(-) mode change 100755 => 100644 LICENCE.md mode change 100755 => 100644 src/SptecLazyload.php diff --git a/LICENCE.md b/LICENCE.md old mode 100755 new mode 100644 diff --git a/src/Resources/app/storefront/dist/storefront/js/sptec-lazyload.js b/src/Resources/app/storefront/dist/storefront/js/sptec-lazyload.js index 43d10f0..74fb98c 100644 --- a/src/Resources/app/storefront/dist/storefront/js/sptec-lazyload.js +++ b/src/Resources/app/storefront/dist/storefront/js/sptec-lazyload.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["sptec-lazyload"],{"2iwk":function(t,e,i){var n,a,r;!function(o,s){if(o){s=s.bind(null,o,o.document),t.exports?s(i("ueX5")):(a=[i("ueX5")],void 0===(r="function"==typeof(n=s)?n.apply(e,a):n)||(t.exports=r))}}("undefined"!=typeof window?window:0,(function(t,e,i){"use strict";var n=function(){var a,r,o,s,l,d,c,u=i.cfg,f={"data-bgset":1,"data-include":1,"data-poster":1,"data-bg":1,"data-script":1},v="(\\s|^)("+u.loadedClass,p=e.documentElement,g=function(t){i.rAF((function(){i.rC(t,u.loadedClass),u.unloadedClass&&i.rC(t,u.unloadedClass),i.aC(t,u.lazyClass),("none"==t.style.display||t.parentNode&&"none"==t.parentNode.style.display)&&setTimeout((function(){i.loader.unveil(t)}),0)}))},y=function(t){var e,i,n,a;for(e=0,i=t.length;en)&&(a=e*(n/i)),a):e}};i.parentFit=d,e.addEventListener("lazybeforesizes",(function(t){if(!t.defaultPrevented&&t.detail.instance==i){var e=t.target;t.detail.width=d.calculateSize(e,t.detail.width)}}))}}))}).call(this,i("UoTJ"))},MnMk:function(t,e,i){var n,a,r;!function(o,s){if(o){s=s.bind(null,o,o.document),t.exports?s(i("ueX5")):(a=[i("ueX5")],void 0===(r="function"==typeof(n=s)?n.apply(e,a):n)||(t.exports=r))}}("undefined"!=typeof window?window:0,(function(t,e,i,n){"use strict";var a,r=e.createElement("a").style,o="objectFit"in r,s=/object-fit["']*\s*:\s*["']*(contain|cover)/,l=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,d="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",c=/\(|\)|'/,u={center:"center","50% 50%":"center"};function f(t,n){var r,o,s,l,u=i.cfg,f=function(){var e=t.currentSrc||t.src;e&&o!==e&&(o=e,l.backgroundImage="url("+(c.test(e)?JSON.stringify(e):e)+")",r||(r=!0,i.rC(s,u.loadingClass),i.aC(s,u.loadedClass)))},v=function(){i.rAF(f)};t._lazysizesParentFit=n.fit,t.addEventListener("lazyloaded",v,!0),t.addEventListener("load",v,!0),i.rAF((function(){var r=t,o=t.parentNode;"PICTURE"==o.nodeName.toUpperCase()&&(r=o,o=o.parentNode),function(t){var e=t.previousElementSibling;e&&i.hC(e,a)&&(e.parentNode.removeChild(e),t.style.position=e.getAttribute("data-position")||"",t.style.visibility=e.getAttribute("data-visibility")||"")}(r),a||function(){if(!a){var t=e.createElement("style");a=i.cfg.objectFitClass||"lazysizes-display-clone",e.querySelector("head").appendChild(t)}}(),s=t.cloneNode(!1),l=s.style,s.addEventListener("load",(function(){var t=s.currentSrc||s.src;t&&t!=d&&(s.src=d,s.srcset="")})),i.rC(s,u.loadedClass),i.rC(s,u.lazyClass),i.rC(s,u.autosizesClass),i.aC(s,u.loadingClass),i.aC(s,a),["data-parent-fit","data-parent-container","data-object-fit-polyfilled",u.srcsetAttr,u.srcAttr].forEach((function(t){s.removeAttribute(t)})),s.src=d,s.srcset="",l.backgroundRepeat="no-repeat",l.backgroundPosition=n.position,l.backgroundSize=n.fit,s.setAttribute("data-position",r.style.position),s.setAttribute("data-visibility",r.style.visibility),r.style.visibility="hidden",r.style.position="absolute",t.setAttribute("data-parent-fit",n.fit),t.setAttribute("data-parent-container","prev"),t.setAttribute("data-object-fit-polyfilled",""),t._objectFitPolyfilledDisplay=s,o.insertBefore(s,r),t._lazysizesParentFit&&delete t._lazysizesParentFit,t.complete&&f()}))}if(!o||!(o&&"objectPosition"in r)){var v=function(t){if(t.detail.instance==i){var e=t.target,n=function(t){var e=(getComputedStyle(t,null)||{}).fontFamily||"",i=e.match(s)||"",n=i&&e.match(l)||"";return n&&(n=n[1]),{fit:i&&i[1]||"",position:u[n]||n||"center"}}(e);return!(!n.fit||o&&"center"==n.position)&&(f(e,n),!0)}};t.addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==i){var e=t.target;null==e.getAttribute("data-object-fit-polyfilled")||e._objectFitPolyfilledDisplay||v(t)||i.rAF((function(){e.removeAttribute("data-object-fit-polyfilled")}))}})),t.addEventListener("lazyunveilread",v,!0),n&&n.detail&&v(n)}}))},Tmxz:function(t,e,i){"use strict";i.r(e);i("nhVY"),i("ueX5"),i("gpow"),i("2iwk"),i("4c2s"),i("MnMk");document.addEventListener("lazybeforesizes",(function(t){var e=t.target.getAttribute("data-aspectratio");e&&(t.detail.width===parseFloat(e)&&(t.detail.width=t.detail.instance.parentFit.getFit(t.target).parent.clientWidth),t.detail.width=Math.round(t.detail.width))}))},gpow:function(t,e,i){var n,a,r;!function(o,s){s=s.bind(null,o,o.document),t.exports?s(i("ueX5")):(a=[i("ueX5")],void 0===(r="function"==typeof(n=s)?n.apply(e,a):n)||(t.exports=r))}(window,(function(t,e,i){"use strict";var n="loading"in HTMLImageElement.prototype,a="loading"in HTMLIFrameElement.prototype,r=!1,o=i.prematureUnveil,s=i.cfg,l={focus:1,mouseover:1,click:1,load:1,transitionend:1,animationend:1,scroll:1,resize:1};function d(){var o,d,c,u;r||(r=!0,n&&a&&s.nativeLoading.disableListeners&&(!0===s.nativeLoading.disableListeners&&(s.nativeLoading.setLoadingAttribute=!0),o=i.loader,d=o.checkElems,c=function(){setTimeout((function(){t.removeEventListener("scroll",o._aLSL,!0)}),1e3)},(u="object"==typeof s.nativeLoading.disableListeners?s.nativeLoading.disableListeners:l).scroll&&(t.addEventListener("load",c),c(),t.removeEventListener("scroll",d,!0)),u.resize&&t.removeEventListener("resize",d,!0),Object.keys(u).forEach((function(t){u[t]&&e.removeEventListener(t,d,!0)}))),s.nativeLoading.setLoadingAttribute&&t.addEventListener("lazybeforeunveil",(function(t){var e=t.target;"loading"in e&&!e.getAttribute("loading")&&e.setAttribute("loading","lazy")}),!0))}s.nativeLoading||(s.nativeLoading={}),t.addEventListener&&t.MutationObserver&&(n||a)&&(i.prematureUnveil=function(t){return r||d(),!(!("loading"in t)||!s.nativeLoading.setLoadingAttribute&&!t.getAttribute("loading")||"auto"==t.getAttribute("data-sizes")&&!t.offsetWidth)||(o?o(t):void 0)})}))},ueX5:function(t,e,i){!function(e,i){var n=function(t,e,i){"use strict";var n,a;if(function(){var e,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in a=t.lazySizesConfig||t.lazysizesConfig||{},i)e in a||(a[e]=i[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:a,noSupport:!0};var r=e.documentElement,o=t.HTMLPictureElement,s="addEventListener",l="getAttribute",d=t[s].bind(t),c=t.setTimeout,u=t.requestAnimationFrame||c,f=t.requestIdleCallback,v=/^picture$/i,p=["load","error","lazyincluded","_lazyloaded"],g={},y=Array.prototype.forEach,m=function(t,e){return g[e]||(g[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),g[e].test(t[l]("class")||"")&&g[e]},b=function(t,e){m(t,e)||t.setAttribute("class",(t[l]("class")||"").trim()+" "+e)},h=function(t,e){var i;(i=m(t,e))&&t.setAttribute("class",(t[l]("class")||"").replace(i," "))},z=function(t,e,i){var n=i?s:"removeEventListener";i&&z(t,e),p.forEach((function(i){t[n](i,e)}))},A=function(t,i,a,r,o){var s=e.createEvent("Event");return a||(a={}),a.instance=n,s.initEvent(i,!r,!o),s.detail=a,t.dispatchEvent(s),s},C=function(e,i){var n;!o&&(n=t.picturefill||a.pf)?(i&&i.src&&!e[l]("srcset")&&e.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},E=function(t,e){return(getComputedStyle(t,null)||{})[e]},w=function(t,e,i){for(i=i||t.offsetWidth;i49?function(){f(s,{timeout:o}),o!==a.ricTimeout&&(o=a.ricTimeout)}:N((function(){c(s)}),!0);return function(t){var a;(t=!0===t)&&(o=33),e||(e=!0,(a=r-(i.now()-n))<0&&(a=0),t||a<9?l():c(l,a))}},F=function(t){var e,n,a=99,r=function(){e=null,t()},o=function(){var t=i.now()-n;t0)&&"visible"!=E(a,"overflow")&&(n=a.getBoundingClientRect(),o=U>n.left&&$n.top-1&&H500&&r.clientWidth>500?500:370:a.expand,n._defEx=p,g=p*a.expFactor,y=a.hFac,J=null,Y2&&B>2&&!e.hidden?(Y=g,tt=0):Y=B>1&&tt>1&&Z<6?p:K),v!==c&&(I=innerWidth+c*y,X=innerHeight+c,u=-1*c,v=c),o=m[i].getBoundingClientRect(),(q=o.bottom)>=u&&(H=o.top)<=X&&(U=o.right)>=u*y&&($=o.left)<=I&&(q||U||$||H)&&(a.loadHidden||it(m[i]))&&(R&&Z<3&&!f&&(B<3||tt<4)||nt(m[i],c))){if(ft(m[i]),d=!0,Z>9)break}else!d&&R&&!s&&Z<4&&tt<4&&B>2&&(O[0]||a.preloadAfterLoad)&&(O[0]||!f&&(q||U||$||H||"auto"!=m[i][l](a.sizesAttr)))&&(s=O[0]||m[i]);s&&!d&&ft(s)}},rt=M(at),ot=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(et(t),b(e,a.loadedClass),h(e,a.loadingClass),z(e,lt),A(e,"lazyloaded"))},st=N(ot),lt=function(t){st({target:t.target})},dt=function(t,e){var i=t.getAttribute("data-load-mode")||a.iframeLoadMode;0==i?t.contentWindow.location.replace(e):1==i&&(t.src=e)},ct=function(t){var e,i=t[l](a.srcsetAttr);(e=a.customMedia[t[l]("data-media")||t[l]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},ut=N((function(t,e,i,n,r){var o,s,d,u,f,p;(f=A(t,"lazybeforeunveil",e)).defaultPrevented||(n&&(i?b(t,a.autosizesClass):t.setAttribute("sizes",n)),s=t[l](a.srcsetAttr),o=t[l](a.srcAttr),r&&(u=(d=t.parentNode)&&v.test(d.nodeName||"")),p=e.firesLoad||"src"in t&&(s||o||u),f={target:t},b(t,a.loadingClass),p&&(clearTimeout(W),W=c(et,2500),z(t,lt,!0)),u&&y.call(d.getElementsByTagName("source"),ct),s?t.setAttribute("srcset",s):o&&!u&&(V.test(t.nodeName)?dt(t,o):t.src=o),r&&(s||u)&&C(t,{src:o})),t._lazyRace&&delete t._lazyRace,h(t,a.lazyClass),L((function(){var e=t.complete&&t.naturalWidth>1;p&&!e||(e&&b(t,a.fastLoadedClass),ot(f),t._lazyCache=!0,c((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&Z--}),!0)})),ft=function(t){if(!t._lazyRace){var e,i=Q.test(t.nodeName),n=i&&(t[l](a.sizesAttr)||t[l]("sizes")),r="auto"==n;(!r&&R||!i||!t[l]("src")&&!t.srcset||t.complete||m(t,a.errorClass)||!m(t,a.lazyClass))&&(e=A(t,"lazyunveilread").detail,r&&S.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,Z++,ut(t,e,r,n,i))}},vt=F((function(){a.loadMode=3,rt()})),pt=function(){3==a.loadMode&&(a.loadMode=2),vt()},gt=function(){R||(i.now()-D<999?c(gt,999):(R=!0,a.loadMode=3,rt(),d("scroll",pt,!0)))},{_:function(){D=i.now(),n.elements=e.getElementsByClassName(a.lazyClass),O=e.getElementsByClassName(a.lazyClass+" "+a.preloadClass),d("scroll",rt,!0),d("resize",rt,!0),d("pageshow",(function(t){if(t.persisted){var i=e.querySelectorAll("."+a.loadingClass);i.length&&i.forEach&&u((function(){i.forEach((function(t){t.complete&&ft(t)}))}))}})),t.MutationObserver?new MutationObserver(rt).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[s]("DOMNodeInserted",rt,!0),r[s]("DOMAttrModified",rt,!0),setInterval(rt,999)),d("hashchange",rt,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){e[s](t,rt,!0)})),/d$|^c/.test(e.readyState)?gt():(d("load",gt),e[s]("DOMContentLoaded",rt),c(gt,2e4)),n.elements.length?(at(),L._lsFlush()):rt()},checkElems:rt,unveil:ft,_aLSL:pt}),S=(T=N((function(t,e,i,n){var a,r,o;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),v.test(e.nodeName||""))for(r=0,o=(a=e.getElementsByTagName("source")).length;r49?function(){f(s,{timeout:o}),o!==a.ricTimeout&&(o=a.ricTimeout)}:N((function(){c(s)}),!0);return function(t){var a;(t=!0===t)&&(o=33),e||(e=!0,(a=r-(i.now()-n))<0&&(a=0),t||a<9?l():c(l,a))}},_=function(t){var e,n,a=99,r=function(){e=null,t()},o=function(){var t=i.now()-n;t0)&&"visible"!=E(a,"overflow")&&(n=a.getBoundingClientRect(),o=q>n.left&&Un.top-1&&$500&&r.clientWidth>500?500:370:a.expand,n._defEx=p,g=p*a.expFactor,y=a.hFac,Q=null,K2&&W>2&&!e.hidden?(K=g,tt=0):K=W>1&&tt>1&&Y<6?p:G),v!==c&&(D=innerWidth+c*y,H=innerHeight+c,u=-1*c,v=c),o=m[i].getBoundingClientRect(),(J=o.bottom)>=u&&($=o.top)<=H&&(q=o.right)>=u*y&&(U=o.left)<=D&&(J||q||U||$)&&(a.loadHidden||it(m[i]))&&(I&&Y<3&&!f&&(W<3||tt<4)||nt(m[i],c))){if(ft(m[i]),d=!0,Y>9)break}else!d&&I&&!s&&Y<4&&tt<4&&W>2&&(j[0]||a.preloadAfterLoad)&&(j[0]||!f&&(J||q||U||$||"auto"!=m[i][l](a.sizesAttr)))&&(s=j[0]||m[i]);s&&!d&&ft(s)}},rt=F(at),ot=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(et(t),b(e,a.loadedClass),h(e,a.loadingClass),z(e,lt),A(e,"lazyloaded"))},st=N(ot),lt=function(t){st({target:t.target})},dt=function(t,e){var i=t.getAttribute("data-load-mode")||a.iframeLoadMode;0==i?t.contentWindow.location.replace(e):1==i&&(t.src=e)},ct=function(t){var e,i=t[l](a.srcsetAttr);(e=a.customMedia[t[l]("data-media")||t[l]("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},ut=N((function(t,e,i,n,r){var o,s,d,u,f,p;(f=A(t,"lazybeforeunveil",e)).defaultPrevented||(n&&(i?b(t,a.autosizesClass):t.setAttribute("sizes",n)),s=t[l](a.srcsetAttr),o=t[l](a.srcAttr),r&&(u=(d=t.parentNode)&&v.test(d.nodeName||"")),p=e.firesLoad||"src"in t&&(s||o||u),f={target:t},b(t,a.loadingClass),p&&(clearTimeout(O),O=c(et,2500),z(t,lt,!0)),u&&y.call(d.getElementsByTagName("source"),ct),s?t.setAttribute("srcset",s):o&&!u&&(X.test(t.nodeName)?dt(t,o):t.src=o),r&&(s||u)&&C(t,{src:o})),t._lazyRace&&delete t._lazyRace,h(t,a.lazyClass),w((function(){var e=t.complete&&t.naturalWidth>1;p&&!e||(e&&b(t,a.fastLoadedClass),ot(f),t._lazyCache=!0,c((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&Y--}),!0)})),ft=function(t){if(!t._lazyRace){var e,i=V.test(t.nodeName),n=i&&(t[l](a.sizesAttr)||t[l]("sizes")),r="auto"==n;(!r&&I||!i||!t[l]("src")&&!t.srcset||t.complete||m(t,a.errorClass)||!m(t,a.lazyClass))&&(e=A(t,"lazyunveilread").detail,r&&R.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,Y++,ut(t,e,r,n,i))}},vt=_((function(){a.loadMode=3,rt()})),pt=function(){3==a.loadMode&&(a.loadMode=2),vt()},gt=function(){I||(i.now()-B<999?c(gt,999):(I=!0,a.loadMode=3,rt(),d("scroll",pt,!0)))},{_:function(){B=i.now(),n.elements=e.getElementsByClassName(a.lazyClass),j=e.getElementsByClassName(a.lazyClass+" "+a.preloadClass),d("scroll",rt,!0),d("resize",rt,!0),d("pageshow",(function(t){if(t.persisted){var i=e.querySelectorAll("."+a.loadingClass);i.length&&i.forEach&&u((function(){i.forEach((function(t){t.complete&&ft(t)}))}))}})),t.MutationObserver?new MutationObserver(rt).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[s]("DOMNodeInserted",rt,!0),r[s]("DOMAttrModified",rt,!0),setInterval(rt,999)),d("hashchange",rt,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){e[s](t,rt,!0)})),/d$|^c/.test(e.readyState)?gt():(d("load",gt),e[s]("DOMContentLoaded",rt),c(gt,2e4)),n.elements.length?(at(),w._lsFlush()):rt()},checkElems:rt,unveil:ft,_aLSL:pt}),R=(k=N((function(t,e,i,n){var a,r,o;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),v.test(e.nodeName||""))for(r=0,o=(a=e.getElementsByTagName("source")).length;rn)&&(a=e*(n/i)),a):e}};i.parentFit=d,e.addEventListener("lazybeforesizes",(function(t){if(!t.defaultPrevented&&t.detail.instance==i){var e=t.target;t.detail.width=d.calculateSize(e,t.detail.width)}}))}}))}).call(this,i("UoTJ"))},aIN6:function(t,e,i){var n,a,r;!function(o,s){if(o){s=s.bind(null,o,o.document),t.exports?s(i("R87+")):(a=[i("R87+")],void 0===(r="function"==typeof(n=s)?n.apply(e,a):n)||(t.exports=r))}}("undefined"!=typeof window?window:0,(function(t,e,i,n){"use strict";var a,r=e.createElement("a").style,o="objectFit"in r,s=/object-fit["']*\s*:\s*["']*(contain|cover)/,l=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,d="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",c=/\(|\)|'/,u={center:"center","50% 50%":"center"};function f(t,n){var r,o,s,l,u=i.cfg,f=function(){var e=t.currentSrc||t.src;e&&o!==e&&(o=e,l.backgroundImage="url("+(c.test(e)?JSON.stringify(e):e)+")",r||(r=!0,i.rC(s,u.loadingClass),i.aC(s,u.loadedClass)))},v=function(){i.rAF(f)};t._lazysizesParentFit=n.fit,t.addEventListener("lazyloaded",v,!0),t.addEventListener("load",v,!0),i.rAF((function(){var r=t,o=t.parentNode;"PICTURE"==o.nodeName.toUpperCase()&&(r=o,o=o.parentNode),function(t){var e=t.previousElementSibling;e&&i.hC(e,a)&&(e.parentNode.removeChild(e),t.style.position=e.getAttribute("data-position")||"",t.style.visibility=e.getAttribute("data-visibility")||"")}(r),a||function(){if(!a){var t=e.createElement("style");a=i.cfg.objectFitClass||"lazysizes-display-clone",e.querySelector("head").appendChild(t)}}(),s=t.cloneNode(!1),l=s.style,s.addEventListener("load",(function(){var t=s.currentSrc||s.src;t&&t!=d&&(s.src=d,s.srcset="")})),i.rC(s,u.loadedClass),i.rC(s,u.lazyClass),i.rC(s,u.autosizesClass),i.aC(s,u.loadingClass),i.aC(s,a),["data-parent-fit","data-parent-container","data-object-fit-polyfilled",u.srcsetAttr,u.srcAttr].forEach((function(t){s.removeAttribute(t)})),s.src=d,s.srcset="",l.backgroundRepeat="no-repeat",l.backgroundPosition=n.position,l.backgroundSize=n.fit,s.setAttribute("data-position",r.style.position),s.setAttribute("data-visibility",r.style.visibility),r.style.visibility="hidden",r.style.position="absolute",t.setAttribute("data-parent-fit",n.fit),t.setAttribute("data-parent-container","prev"),t.setAttribute("data-object-fit-polyfilled",""),t._objectFitPolyfilledDisplay=s,o.insertBefore(s,r),t._lazysizesParentFit&&delete t._lazysizesParentFit,t.complete&&f()}))}if(!o||!(o&&"objectPosition"in r)){var v=function(t){if(t.detail.instance==i){var e=t.target,n=function(t){var e=(getComputedStyle(t,null)||{}).fontFamily||"",i=e.match(s)||"",n=i&&e.match(l)||"";return n&&(n=n[1]),{fit:i&&i[1]||"",position:u[n]||n||"center"}}(e);return!(!n.fit||o&&"center"==n.position)&&(f(e,n),!0)}};t.addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==i){var e=t.target;null==e.getAttribute("data-object-fit-polyfilled")||e._objectFitPolyfilledDisplay||v(t)||i.rAF((function(){e.removeAttribute("data-object-fit-polyfilled")}))}})),t.addEventListener("lazyunveilread",v,!0),n&&n.detail&&v(n)}}))},ret6:function(t,e,i){"use strict";i.r(e);i("nhVY"),i("R87+"),i("4tQI"),i("sZn0"),i("Xbkz"),i("aIN6");document.addEventListener("lazybeforesizes",(function(t){var e=t.target.getAttribute("data-aspectratio");e&&(t.detail.width===parseFloat(e)&&(t.detail.width=t.detail.instance.parentFit.getFit(t.target).parent.clientWidth),t.detail.width=Math.round(t.detail.width))}))},sZn0:function(t,e,i){var n,a,r;!function(o,s){if(o){s=s.bind(null,o,o.document),t.exports?s(i("R87+")):(a=[i("R87+")],void 0===(r="function"==typeof(n=s)?n.apply(e,a):n)||(t.exports=r))}}("undefined"!=typeof window?window:0,(function(t,e,i){"use strict";var n=function(){var a,r,o,s,l,d,c,u=i.cfg,f={"data-bgset":1,"data-include":1,"data-poster":1,"data-bg":1,"data-script":1},v="(\\s|^)("+u.loadedClass,p=e.documentElement,g=function(t){i.rAF((function(){i.rC(t,u.loadedClass),u.unloadedClass&&i.rC(t,u.unloadedClass),i.aC(t,u.lazyClass),("none"==t.style.display||t.parentNode&&"none"==t.parentNode.style.display)&&setTimeout((function(){i.loader.unveil(t)}),0)}))},y=function(t){var e,i,n,a;for(e=0,i=t.length;e