PageSourceSearch

https://us.pferd.com/assets/61809bf09a7ff2a073cf011c4945cc89d2ed0e08/default/js/pferd.toggle-select-form.js

js pferd.com collected 2026-09-24 22:32:21 UTC 852 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackJsonp_pferd=globalThis.webpackJsonp_pferd||[]).push([[7591],{73767:(t,e,s)=>{s.r(e),s.d(e,{default:()=>g});var r=s(57142);class g extends r.A{constructor(){super(...arguments),this.trigger=void 0,this.targets=void 0}readyCallback(){}init(){this.trigger=this.querySelector("[data-select-trigger]"),this.targets=Array.from(document.getElementsByClassName(this.target)),this.toggle(),this.mapEvents()}mapEvents(){this.trigger.addEventListener("change",(t=>this.onTriggerClick(t)))}onTriggerClick(t){t.preventDefault(),this.toggle()}toggle(t){void 0===t&&(t=this.isSelected),this.targets.forEach((e=>e.classList.toggle(this.classToToggle,t)))}get isSelected(){return""!==this.trigger.value}get target(){return this.trigger.getAttribute("target")}get classToToggle(){return this.trigger.getAttribute("class-to-toggle")}}}}]);

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.