PageSourceSearch

https://www.quiksilver.com/cdn/shop/t/311/assets/section.product-recommendations-BDIq0rtk.js

js quiksilver.com collected 2026-09-24 17:42:05 UTC 2,989 bytes, 1 lines download raw bytes

1import{S as p}from"./swiper-core-Cq-2V4lr.js";import{K as b}from"./keyboard-ZFGVRdNw.js";import{A as g,N as v}from"./a11y-De5jpMJI.js";import{P as y}from"./pagination-qbZqoWOz.js";import{t as A}from"./index.es-COF6Qmgv.js";import{E as m}from"./events-BYM6wtXb.js";let i=null,l=null;function S(e,{politeness:t="polite",clearAfterMs:r=1e3}={}){i||(i=document.createElement("div"),i.className="visually-hidden",i.setAttribute("role","status"),i.setAttribute("aria-atomic","true"),document.body.appendChild(i)),i.setAttribute("aria-live",t),l&&window.clearTimeout(l),i.textContent="",requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.textContent=e,l=window.setTimeout(()=>{i.textContent="",l=null},r)})})}const L=5e3,w=3;function h(e){let t=!1,r=null,s=0,d=0,a=!1;function c(n){n.preventDefault(),n.stopPropagation()}function u(){t&&(t=!1,e.removeAttribute("data-dragging"),a&&e.addEventListener("click",c,{capture:!0,once:!0}))}e.addEventListener("pointerdown",n=>{n.pointerType==="mouse"&&(t=!0,a=!1,r=n.pointerId,s=n.clientX,d=e.scrollLeft)}),e.addEventListener("pointermove",n=>{if(!t)return;const o=n.clientX-s;if(!a&&Math.abs(o)>w){a=!0;try{e.setPointerCapture(r)}catch{}e.setAttribute("data-dragging","")}a&&(e.scrollLeft=d-o)}),e.addEventListener("pointerup",u),e.addEventListener("pointercancel",u),e.addEventListener("pointerleave",u)}function f(e){const t=e.querySelector(".nosto_element"),r=e.querySelector(".swiper");if(!t||!r)return;let s=!1;const d=setTimeout(()=>{s||(e.removeAttribute("aria-busy"),e.setAttribute("data-nosto-timeout","true"))},L),a=new MutationObserver(c);function c(){if(s||t.children.length===0)return;s=!0,clearTimeout(d),a.disconnect(),e.removeAttribute("aria-busy"),S(e.dataset.nostoLoadedMessage||"Recommended products loaded.");const u=e.querySelector(".swiper-button-next"),n=e.querySelector(".swiper-button-prev");new p(r,{modules:[g,b,v,y],keyboard:{enabled:!0,onlyInViewport:!0},a11y:{wrapperLiveRegion:!1},watchSlidesProgress:!0,roundLengths:!0,cssMode:!0,slidesPerView:1.5,spaceBetween:16,navigation:{nextEl:u,prevEl:n},pagination:{el:e.querySelector(".swiper-pagination"),clickable:!0},breakpoints:{1025:{slidesPerView:4.5,spaceBetween:16}}}),[n,u].filter(Boolean).forEach(o=>{o.disabled=!1,o.removeAttribute("tabindex"),Object.defineProperty(o,"disabled",{get:()=>!1,set(){},configurable:!0}),new MutationObserver(()=>{o.getAttribute("tabindex")==="-1"&&o.removeAttribute("tabindex")}).observe(o,{attributes:!0,attributeFilter:["tabindex"]})}),h(t)}a.observe(t,{childList:!0}),c()}document.querySelectorAll("[data-nosto-recommendations]").forEach(f);document.addEventListener(m.SHOPIFY_SECTION_LOAD,e=>{const t=e.target.querySelectorAll("[data-nosto-recommendations]");t.length&&(t.forEach(f),A(r=>r.loadRecommendations()))});document.addEventListener(m.SHOPIFY_SECTION_UNLOAD,e=>{var t,r;e.target.querySelector("[data-nosto-recommendations]")&&((r=(t=e.target.querySelector(".swiper"))==null?void 0:t.swiper)==null||r.destroy(!0,!0))});

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.