PageSourceSearch

https://myglobalflowers.es/build/assets/rating-editor-BnSyZTbO.js

js myglobalflowers.es collected 2026-09-29 16:59:00 UTC 1,196 bytes, 2 lines download raw bytes

1document.querySelectorAll(".js_product-card__manual-rating-editor").forEach(n=>{n.addEventListener("click",()=>{const e=n.dataset.product,c=n.dataset.city,d=n.dataset.domain,s={input:"number",inputValue:n.dataset.value||0,title:"Поменять мануальный скор",confirmButtonText:"Задать",showCancelButton:!0,cancelButtonText:"Отменить",inputAttributes:{step:"0.000001"},inputValidator:t=>{if(t===""||t===null||t===void 0)return"Введите значение";if(!/^-?\d+([.,]\d{1,6})?$/.test(String(t)))return"Допустимо не более 6 знаков после запятой"}};swal.fire(s).then(t=>{if(!t.isConfirmed)return;swal.blockUI();const l=String(t.value).replace(",",".");return axios.post("/api/products/manual-rating",{product_id:e,domain_id:d,city_id:c,manual_rating:l}).then(()=>location.reload()).catch(a=>{var o,r;const i=(r=(o=a==null?void 0:a.response)==null?void 0:o.data)==null?void 0:r.errors,u=Array.isArray(i)&&i.length>0?i.map(p=>p.title).filter(Boolean).join(`
2`):"Не удалось обновить мануальный скор";return swal.fire({icon:"error",title:"Ошибка",text:u})}).finally(()=>swal.close())})})});

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.