PageSourceSearch

https://www.neighborlybrands.com/brand/_assets/js/o2/opus2.process-component-loader.c2bda6d6cf252c8c2d6e.js

js neighborlybrands.com collected 2026-10-02 11:55:09 UTC 1,994 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkcrownpeak_opus2=self.webpackChunkcrownpeak_opus2||[]).push([["process-component-loader"],{"./src/js/opus2/components/processComponent.ts"(e,s,t){t.r(s),t.d(s,{ProcessComponent:()=>o});var i=t(/*! tiny-slider */"./node_modules/tiny-slider/dist/tiny-slider.js");const n="/brand/_assets/images/icons/hero-icon-sprite.svg",r=".process-steps";class o{constructor(){this.sliders=new Map,this.handleResize=()=>{clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>this.syncSliders(),250)},this.initialize()}static getInstance(){var e;return null!==(e=o.instance)&&void 0!==e||(o.instance=new o),o.instance}initialize(){const e=document.querySelectorAll(r);0!==e.length&&(this.hideDecorativeIcons(e),this.syncSliders(),window.addEventListener("resize",this.handleResize))}hideDecorativeIcons(e){e.forEach(e=>{e.querySelectorAll(".step-icon svg").forEach(e=>{e.setAttribute("aria-hidden","true")})})}syncSliders(){const e=window.innerWidth<1024;document.querySelectorAll(r).forEach(s=>{try{const t=this.sliders.get(s);if(e&&!t)return void this.sliders.set(s,this.createSlider(s));!e&&t&&(t.destroy(),this.sliders.delete(s))}catch(e){console.warn("Error initialising Process Component slider:",e)}})}createSlider(e){return(0,i.tns)({container:e,items:1,slideBy:"page",loop:!1,gutter:20,navPosition:"bottom",freezable:!1,controlsText:[`<svg aria-hidden="true" class="slider-control"><use xlink:href="${n}#chevron-left-white"></use></svg>`,`<svg aria-hidden="true" class="slider-control"><use xlink:href="${n}#chevron-right-white"></use></svg>`],responsive:{640:{items:2},768:{items:3}}})}}o.instance=null,globalThis.__ProcessComponentListenerAdded||(globalThis.__ProcessComponentListenerAdded=!0,document.addEventListener("DOMContentLoaded",()=>{globalThis.__ProcessComponentInitialized||document.querySelector(r)&&(globalThis.__ProcessComponentInitialized=!0,o.getInstance())}))}}]);
2//# sourceMappingURL=opus2.process-component-loader.c2bda6d6cf252c8c2d6e.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.