1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[2977],{70909:(e,t,r)=>{r.r(t),r.d(t,{default:()=>a});const i='[data-module="PrintName"]';class a{static setup(e=i){Array.from(document.querySelectorAll(e)).filter(e=>!e.dataset.moduleInitialized).forEach(e=>{new a(e),e.dataset.moduleInitialized="true"})}constructor(e){this.element=e,this.printName=this.element.querySelector(".valid-name"),this.jarPreviewText=this.element.querySelector(".nx-preview-text__jar"),this.printName&&this.PrintNameToJar()}PrintNameToJar(){this.printName.addEventListener("keyup",e=>this.printNameHandler(e,10))}printNameHandler(e,t){let r=e.currentTarget.value;if(!r.length)return void(this.jarPreviewText.innerHTML="");if(r.length>t)return void console.warn("String empty or string has more than: ",t);r=r.replace(/\s+/g,"");const i=r.slice(-1);this.jarPreviewText.innerHTML="s"===i||"Ã"===i?r.concat("'"):r.concat("'s")}}a.setup(i)}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/PrintName.e1a08d0f.js.e3164892.map
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.