PageSourceSearch

https://www.opalcollection.com/app/themes/azds-default/__html/dist/js/blocks/optional/hero.js?ver=1791489831

js opalcollection.com collected 2026-10-09 21:27:33 UTC 3,069 bytes, 2 lines download raw bytes

1!function(){"use strict";var e,n={4102:function(e,n,t){var r=jQuery,i=t.n(r),o=t(7043);function a({swiper:e,extendParams:n,on:t}){function r(e,n){e.toggleAttribute("inert",n),n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}n({watchSlidesProgress:!0}),t("init progress",function(){e.size&&e.slides.forEach(n=>{r(n,!n.classList.contains(e.params.slideVisibleClass))})}),t("destroy",()=>e.slides.forEach(e=>r(e,!1)))}const s=".hero__container",u="c-slide-preloader",d=[];function c(e){i()(e.el).find(i()("a")).prop("tabindex",-1),i()(e.el).find(i()(".swiper-slide-active")).find(i()("a")).prop("tabindex",0)}i()(window).on("load resize",function(){i()(".hero").each(function(e,n){!function(e){if(!i()(e).find(s)[0])return!1;if(i()(e).find(i()(".hero__slide")).length<=1)return i()("."+u).remove(),!1;let n=new o.default(i()(e).find(i()(s))[0],{loop:!1,init:!1,spaceBetween:0,slidesPerView:1,speed:300,modules:[o.Lazy,a],lazy:{loadPrevNext:!0,preloaderClass:u,preloadImages:!1},navigation:{nextEl:".hero__nav--next",prevEl:".hero__nav--prev"},on:{init:function(){c(n)},slideChangeTransitionEnd:function(){c(n)}}});n.init(),d.push(n)}(n)})}),function(){if(!/iPhone/.test(navigator.userAgent))return;const e=()=>{const e=window.matchMedia("(orientation: portrait)").matches,n=document.documentElement;e?(n.style.setProperty("--ios-hero-height",`${window.screen.height}px`),n.classList.add("is-iphone-portrait")):(n.classList.remove("is-iphone-portrait"),n.style.removeProperty("--ios-hero-height"))};window.addEventListener("resize",e),window.addEventListener("orientationchange",e)}()}},t={};function r(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return n[e](o,o.exports,r),o.exports}r.m=n,e=[],r.O=function(n,t,i,o){if(!t){var a=1/0;for(c=0;c<e.length;c++){t=e[c][0],i=e[c][1],o=e[c][2];for(var s=!0,u=0;u<t.length;u++)(!1&o||a>=o)&&Object.keys(r.O).every(function(e){return r.O[e](t[u])})?t.splice(u--,1):(s=!1,o<a&&(a=o));if(s){e.splice(c--,1);var d=i();void 0!==d&&(n=d)}}return n}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[t,i,o]},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,{a:n}),n},r.d=function(e,n){for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.j=4491,function(){var e={4491:0};r.O.j=function(n){return 0===e[n]};var n=function(n,t){var i,o,a=t[0],s=t[1],u=t[2],d=0;if(a.some(function(n){return 0!==e[n]})){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(u)var c=u(r)}for(n&&n(t);d<a.length;d++)o=a[d],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(c)},t=self.webpackChunkapp=self.webpackChunkapp||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var i=r.O(void 0,[1003],function(){return r(4102)});i=r.O(i)}();
2//# sourceMappingURL=hero.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.