PageSourceSearch

https://www.zerounoweb.it/wp-content/themes/WPTheme-AgendaDigitale/assets/build/871.7daf3.js

js zerounoweb.it collected 2026-10-02 05:00:46 UTC 1,748 bytes, 1 lines download raw bytes

1(globalThis.webpackChunkassets=globalThis.webpackChunkassets||[]).push([[871],{871(){!function(e,n,t){let a,o,s,r,i={};function l(){const e=this.value.split("::");i={name:e[0],term_id:e[1]},s.value=e[0]}function d(){return""!==s.value&&(n.querySelectorAll('input[name="sponsor_term_id[]"]').length>=2?(s.value="",void alert("Sono ammessi solo un massimo di 2 brand!")):void(void 0!==i.term_id&&""!==i.term_id?c():(s.value,t.post(e.ajaxurl+"?action=add_sponsor_brand_ajax",{brand_name:n.querySelector(".sponsor_input").value})).then(function(e){i={name:e.brand_name,term_id:e.term_id},c()})))}function c(){const e=n.createElement("li"),t=n.createElement("button");t.className="ntdelbutton remove-sponsor",t.type="button";const a=n.createElement("span");a.className="remove-tag-icon";const r=n.createElement("input");r.type="hidden",r.name="sponsor_term_id[]",r.value=i.term_id;const l=n.createElement("span");l.innerHTML=i.name,e.dataset.sponsor=i.name,t.appendChild(a),e.appendChild(r),e.appendChild(t),e.appendChild(l),o.appendChild(e),i={},s.value=""}function u(e){if(e.target.classList.contains("remove-tag-icon")){const n=e.target.parentElement.parentElement;!function(e){const n=r.value.split(", "),t=n.indexOf(e);-1!==t&&(n.splice(t,1),r.value=n.join(", "))}(n.dataset.sponsor),n.remove()}}n.addEventListener("DOMContentLoaded",function(){if(a=n.querySelector("#sponsor-box"),!a)return;o=n.querySelector("#sponsor-chip-container"),s=n.querySelector(".sponsor_input"),r=n.querySelector("#tagsdiv-brand textarea[name^=tax_input]");const i=n.querySelector(".brandAdd");i&&i.addEventListener("click",d),a.addEventListener("click",u),t(s).suggest(e.ajaxurl+"?action=sponsor_autosuggestion",{multiple:!1,onSelect:l})})}(window,document,jQuery)}}]);

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.