PageSourceSearch

https://www.domusacademy.com/wp-content/themes/domusacademy/dist/5340.c2e56bb.js?v=1790756330511

js domusacademy.com collected 2026-10-02 04:38:54 UTC 7,073 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwip_frontend_framework=self.webpackChunkwip_frontend_framework||[]).push([[5340],{1133:(e,t,i)=>{i.r(t),i.d(t,{default:()=>g});var n=i(81),o=i(7846),r=i(2273);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function s(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){var n,o,r;n=e,o=t,r=i[t],(o=u(o))in n?Object.defineProperty(n,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[o]=r})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function c(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:String(t)}function d(e,t,i){return t=y(t),function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,p()?Reflect.construct(t,i||[],y(e).constructor):t.apply(e,i))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function f(){return f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,i){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=y(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:i):o.value}},f.apply(this,arguments)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var g=function(e){function t(e){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=d(this,t,[e])).dataset=i.$component.dataset,i.accMql=window.matchMedia("(max-width:920px)"),i.gallery=i.$component.querySelector(i.SELECTORS.gallery),i.slides=i.$component.querySelectorAll(i.SELECTORS.slide),i.controls=i.$component.querySelector(i.SELECTORS.controls),i.pagination=i.$component.querySelector(i.SELECTORS.pagination),i.audioTogglers=i.$component.querySelectorAll(i.SELECTORS.toggleAudio),i.splide=null,i.activeSlide=null,i.iframes=null,i.playerVisible=null,i.audioMuted=!0,i}var i,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(t,e),i=t,(n=[{key:"SELECTORS",get:function(){return{gallery:"[data-gallery]",slide:".splide__slide",pagination:".splide__pagination",controls:".splide__arrows",active:".active",button:"[data-cta-container] a",activeSlide:".splide__slide.is-active",toggleAudio:".toggle_audio"}}},{key:"CLASSES",get:function(){return{bullet:"splide__pagination__bullet",active:"active",linked:"linked"}}},{key:"SPLIDE_OPTS",get:function(){return{type:"loop",perPage:1,perMove:1,pagination:!0}}},{key:"init",value:function(){f(y(t.prototype),"init",this).call(this),this.initSplide(),this.checkLinkSlide(),this.handleSlideAudioTogglers()}},{key:"handleSlideAudioTogglers",value:function(){var e=this;
1this.audioTogglers.length<1||this.audioTogglers.forEach((function(t){t.addEventListener("click",(function(){return e.handleVideoAudio(t)}))}))}},{key:"initSplide",value:function(){var e=this,t=s(s({},this.SPLIDE_OPTS),{},{drag:this.slides.length>1});if(this.splide=new o.Ay(this.gallery,t),this.slides.length>1){var i=function(){window.dispatchEvent(new Event("scroll")),window.dispatchEvent(new Event("resize"))};this.splide.on("mounted",(function(){e.handleVideo(),i()})),this.splide.on("active",i),this.splide.on("visible",i),this.splide.on("moved",(function(){setTimeout((function(){e.handleVideo(),i()}),550)})),this.collectDataSrcs=this.$component.querySelectorAll("[data-src]")}else this.gallery.classList.add("single-slide"),this.handleVideo();this.splide.mount()}},{key:"handleVideo",value:function(){var e=this;this.gallery.classList.contains("single-slide")?(this.activeSlide=this.gallery.querySelector(this.SELECTORS.slide),this.iframes=this.activeSlide.querySelectorAll("iframe")):(this.activeSlide=this.gallery.querySelector(this.SELECTORS.activeSlide),this.iframes=this.activeSlide?this.activeSlide.querySelectorAll("iframe"):[],this.iframes.length>0?(this.splide.options={drag:!1},this.pagination.style.opacity="0",this.pagination.style.pointerEvents="none",this.controls.style.opacity="0",this.controls.style.pointerEvents="none"):(this.splide.options={drag:!0},this.pagination.style.opacity="1",this.pagination.style.pointerEvents="all",this.controls.style.opacity="1",this.controls.style.pointerEvents="all")),this.iframes.forEach((function(t){var i=new r.A(t);i.setVolume(0),e.audioMuted=!0,i.on("ended",(function(){e.splide.go(">")})),e.handleVideoPlay(t,i),e.accMql.addEventListener("change",(function(n){e.handleVideoPlay(t,i)}))}))}},{key:"handleVideoPlay",value:function(e,t){"block"===window.getComputedStyle(e).display&&(this.audioMuted?t.setVolume(0):t.setVolume(1),t.play(),this.playerVisible=t)}},{key:"handleVideoAudio",value:function(e){this.audioMuted?(this.playerVisible.setVolume(1),this.audioMuted=!1):(this.playerVisible.setVolume(0),this.audioMuted=!0),e.classList.toggle("audio",!this.audioMuted)}},{key:"checkLinkSlide",value:function(){var e=this;this.slides.forEach((function(t,i){var n=t.querySelector(e.SELECTORS.toggleAudio),o=t.querySelectorAll(e.SELECTORS.button);o.length&&t.classList.add(e.CLASSES.linked),o.forEach((function(i,o){if(0===o){var r=i.href,l=i.target;t.addEventListener("click",(function(t){if(!(t.target instanceof HTMLAnchorElement)&&t.target!==n&&null===t.target.closest(e.SELECTORS.toggleAudio)
1)if(t.preventDefault(),l){var i=document.createElement("a");i.href=r,i.target="_blank",i.click()}else window.location=r}))}}))}))}}])&&c(i.prototype,n),Object.defineProperty(i,"prototype",{writable:!1}),t}(n.A)}}]);

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.