PageSourceSearch

https://www.sol.com/dist/js/components-tiles-slider-block.js?h=02aee4fa8d6d08db6879

js sol.com collected 2026-10-02 12:08:51 UTC 5,778 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbabel_seed_project=self.webpackChunkbabel_seed_project||[]).push([[9797,2745],{6562:function(e,t,a){a.r(t),a.d(t,{default:function(){return n}});var o=a(8595),i=a(4092);class n{constructor(e){this.options={component:'[data-component="TilesSliderBlock"]',slidePerView:"[data-slide-per-view]",zoomImage:"[data-zoom-image]",...e},this.$component=document.querySelectorAll(this.options.component)}init(){this.$component.forEach((e=>{const t="true"===e.dataset.zoomImage,a="true"===e.dataset.autoplay,n="true"===e.dataset.hasNavigation,r="true"===e.dataset.hasPagination,s="true"===e.dataset.loop,l=Number(e.dataset.interval)||3e3,c=Number(e.dataset.speed)||1500,d=Number(e.dataset.slidePerView),u=e.querySelectorAll(".slide-item"),p="true"===e.dataset.enableTracking;t&&e.addClass("has-zoom"),new o.ZP(e,{perPage:d||1,rewind:!0,speed:c,arrows:n,pagination:r,autoplay:a,...s&&{type:"loop"},...a&&{interval:l},gap:20,breakpoints:{767:{perPage:1}}}).mount(),p&&u.forEach((e=>{e.addEventListener("click",(t=>{const a={event:"select_item",item_name:e.dataset.trackingItemName||""};i.default.pushToDataLayer(a)}))}))}))}}},4092:function(e,t,a){a.r(t),a.d(t,{default:function(){return o},fbTrack:function(){return n},getMessage:function(){return i}});class o{static isMobile(){return navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i)}static isLeapYear(e){return 29===new Date(e,1,29).getDate()}static debounce(e,t){let a;return(...o)=>{clearTimeout(a),a=setTimeout((()=>{e.apply(this,o)}),t)}}static isValidInputNumber(e){const t=window.event?e.keyCode:e.which;return 8==t||9==t||46==t||37==t||39==t||!(t<48||t>57&&t<96||t>105)}static pauseInvisibleVideos(e){e.querySelectorAll("video").forEach((e=>{o.elementIsVisibleInViewport(e,!0)||e.paused||e.pause()}))}static pauseVideos(e){e.querySelectorAll("video").forEach((e=>{e.paused||e.pause()}))}static pauseInvisibleYouTubeIframes(e){e.querySelectorAll("iframe").forEach((e=>{e.src.includes("youtube.com/embed")&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}static elementIsVisibleInViewport=(e,t=!1)=>{const{top:a,left:o,bottom:i,right:n}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:s}=window;return t?(a>0&&a<r||i>0&&i<r)&&(o>0&&o<s||n>0&&n<s):a>=0&&o>=0&&i<=r&&n<=s};static checkMedia=e=>!!e.matches;static isFixedPosition=e=>{for(;e&&"body"!==e.nodeName.toLowerCase();){if(window.getComputedStyle(e).getPropertyValue("position").match(/fixed|sticky/i))return!0;e=e.parentNode}return!1};static isNotHidden=e=>{for(;e&&"body"!==e.nodeName.toLowerCase();){if("none"!==window.getComputedStyle(e).getPropertyValue("display")&&"0"!==window.getComputedStyle(e).getPropertyValue("opacity"))return!0;e=e.parentNode}return!1};static throttle=(e,t)=>{let a=null;return(...o)=>{null===a?(e(...o),a=setTimeout((()=>{a=null}),t)):o[0].preventDefault()}};static scrollToBlock=(e,t=null)=>{e&&(Number.isInteger(t)&&(e.style.scrollMargin=`${t}px`),e.scrollIntoView({block:"start",behavior:"smooth"}))};static cloneAndAppendElement=(e,t,a={})=>{const{deepClone:o=!0,modifyClone:i=null,modifyTarget:n=null,newId:r=null,addClassesToClone:s=[],addClassesToTarget:l=[],addClassesToSource:c=[]}=a;if(!e)return;const d=e.cloneNode(o);return r&&(d.id=r),Array.isArray(s)&&s.length>0&&d.classList.add(...s),"function"==typeof i&&i(d),t?(Array.isArray(l)&&l.length>0&&t.classList.add(...l),Array.isArray(c)&&c.length>0&&e.classList.add(...c),"function"==typeof n&&n(t),t.appendChild(d),d):void 0};static handleClickOutside=(e,t,a)=>{if(!e)return;const o=new Set(t.filter(Boolean));document.addEventListener("click",(t=>{if(!e.contains(t.target)){for(const e of o)if(e.contains(t.target))return;a()}}))};static isExternalURL=e=>{if(!e)return;const t=e=>e.replace("http://","").replace("https://","").split("/")[0];return t(location.href)!==t(e)};static isValidUrl=e=>{try{const t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}};static pushToDataLayer=e=>{"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))};static setCookie=(e,t,a)=>{const o=new Date;o.setTime(o.getTime()+24*a*60*60*1e3);const i=`expires=${o.toUTCString()}`;document.cookie=`${e}=${t}; ${i}; path=/`};static getCookie=e=>{const t=`${e}=`,a=document.cookie.split(";");for(let e=0;e<a.length;e++){let o=a[e].trim();if(0===o.indexOf(t))return o.substring(t.length)}return null};static setSessionStorage=(e,t)=>
1{sessionStorage.setItem(e,t)};static getSessionStorage=e=>sessionStorage.getItem(e);static setLocalStorage=(e,t)=>{localStorage.setItem(e,t)};static getLocalStorage=e=>localStorage.getItem(e);static contains=(e,t)=>e===t||t.contains(e);static getMikmakProductNameOrVariant=(e=!0)=>{const t=document.getElementById("mikmak_embed__header-text-above-product"),a=t?t.textContent:"";if(!a)return"";const o=a.split(",");return e?o[0]:o.slice(1).join(",").trim()};static share=async e=>{const t="string"==typeof e?{url:e}:{...e};t.files&&(t.files=t.files.filter((e=>null!=e)));try{await navigator.share(t)}catch(e){console.error("Error sharing content:",e)}};static canShare(e){const t="string"==typeof e?{url:e}:{...e};return t.files&&(t.files=t.files.filter((e=>null!=e))),navigator.canShare(t)}static createBlobFromBase64(e,t="image/png"){const a=e.replace(/^data:image\/[a-z]+;base64,/,""),o=atob(a),i=new Uint8Array(o.length);for(let e=0;e<o.length;e++)i[e]=o.charCodeAt(e);return new Blob([i],{type:t})}static createFileFromBlob(e,t="shared-image.png"){return new File([e],t,{type:e.type,lastModified:Date.now()})}}const i=(e,t)=>window.customMessageValidate&&window.customMessageValidate[e]?window.customMessageValidate[e]:t,n=(e="track",t="SubmitReceiptNow")=>{window.fbq&&window.fbq(e,t)}}}]);

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.