1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[1542,7522],{1542:function(t,e,i){i.r(e);var o=i(9571),n=function(){function t(t){this.element=t,this.allImages=this.element.querySelectorAll("img"),this.customHeight={desktop:t.dataset.heightMd,tablet:t.dataset.heightSm,mobile:t.dataset.heightXs},this.customPositionX={desktop:t.dataset.positionXMd,tablet:t.dataset.positionXSm,mobile:t.dataset.positionXXs},this.customPositionY={desktop:t.dataset.positionYMd,tablet:t.dataset.positionYSm,mobile:t.dataset.positionYXs}}return t.prototype.setImgHeightAndPosition=function(){var t,e,i,n,s,l,a=null,h=null,u=null;window.matchMedia("(min-width: ".concat(o.DESKTOP_BREAKPOINT,"px)")).matches?(a=null!==(t=this.customHeight.desktop)&&void 0!==t?t:null,h=null!==(e=this.customPositionX.desktop)&&void 0!==e?e:null,u=null!==(i=this.customPositionY.desktop)&&void 0!==i?i:null):(a=null!==(n=this.customHeight.mobile)&&void 0!==n?n:null,h=null!==(s=this.customPositionX.mobile)&&void 0!==s?s:null,u=null!==(l=this.customPositionY.mobile)&&void 0!==l?l:null),this.allImages.forEach(function(t){h||u?(t.style.objectPosition="".concat(null!=h?h:"50%"," ").concat(null!=u?u:"50%"),t.style.objectFit="cover"):t.style.removeProperty("objectPosition"),a?t.style.height=null!=a?a:"100%":t.style.removeProperty("height")})},t}();e.default=n},7522:function(t,e,i){i.r(e);var o=i(9571),n=i(1542),s=function(){function t(t){this.element=t,this.handleScreenChange()}return t.prototype.handleScreenChange=function(){var t=new n.default(this.element);t.setImgHeightAndPosition(),window.matchMedia("(min-width: ".concat(o.DESKTOP_BREAKPOINT,"px)")).addEventListener("change",function(){return t.setImgHeightAndPosition()})},t}();e.default=s}}]);
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.