PageSourceSearch

https://www.bodylab.fi/theme/82dac88ef5ee9e3f82f66f9590a6cc00/js/wexo-voyado/review-rating.plugin.699bcb.js

js bodylab.fi collected 2026-10-06 14:00:01 UTC 905 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["review-rating.plugin"],{461:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});let i=window.PluginBaseClass;class r extends i{init(){this._stars=this.el.querySelectorAll(this.options.starSelector),this._registerEvents(),this._restoreSelected()}_registerEvents(){this._stars.forEach(t=>{t.addEventListener("click",e=>{let s=parseInt(t.getAttribute("data-review-form-point"),10);this._setRating(s)})})}_setRating(t){this._stars.forEach(e=>{parseInt(e.getAttribute("data-review-form-point"),10)<=t?e.classList.add(this.options.activeClass):e.classList.remove(this.options.activeClass)})}_restoreSelected(){let t=this.el.querySelector("".concat(this.options.radioSelector,":checked"));t&&this._setRating(parseInt(t.value,10))}}r.options={starSelector:"[data-review-form-point]",activeClass:"is-active",radioSelector:".product-detail-review-form-radio"}}}]);

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.