1if (!drupalSettings.dlv_piano.pianoAid) { 2 console.warn('Piano AID is not set. Please check your configuration.'); 3} else { 4 let pianoUrl; 5 if (drupalSettings.dlv_piano.pianoEnvironment === 'production') { 6 pianoUrl = "//experience-eu.piano.io//xbuilder/experience/load?aid=" + drupalSettings.dlv_piano.pianoAid; // needs to be updated to production URL 7 } else { 8 pianoUrl = "//sandbox.piano.io/xbuilder/experience/load?aid=" + drupalSettings.dlv_piano.pianoAid; 9 } 10 11 (function (src) { 12 var a = document.createElement("script"); 13 a.type = "text/javascript"; 14 a.async = true; 15 a.src = src; 16 var b = document.getElementsByTagName("script")[0]; 17 b.parentNode.insertBefore(a, b) 18 })(pianoUrl); 19 20 const piano_tags = drupalSettings.dlv_piano.pianoTags || []; 21 if (piano_tags.length > 0) { 22 tp = window["tp"] || []; 23 tp.push(["setTags", piano_tags]); 24 } 25}
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.