\n"):e,setAttributes(e,t){for(var n in t)e.setAttribute(n,t[n])},inputToggle(e){if(e.target.classList.contains("input-toggle")){let t=e.target.parentElement.lastElementChild;!0===e.target.checked?(t.style.height=t.scrollHeight+"px",t.classList.remove("hidden")):(t.firstChild.value="",t.style.height=null,t.classList.add("hidden"))}},addInput({parent:e,elm:t,placeholder:n,type:l,name:i,max:a}){a=a||6;let o=document.createElement("div");o.setAttribute("class","new-input");let r=document.createElement("input");r.setAttribute("type",l),r.setAttribute("placeholder",n),r.setAttribute("name",i);let c=document.createElement("button");c.setAttribute("class","remove"),c.setAttribute("type","button"),o.appendChild(r),o.appendChild(c),t.appendChild(o),t.childNodes.length>=a&&(t.nextElementSibling.disabled=!0,t.nextElementSibling.style.cssText="opacity:.3;cursor:not-allowed"),e.style.height=e.scrollHeight+"px"},removeInput({elm:e,target:t,max:n}){if(n=n||6,"remove"===t.className){--n;let i=t.parentElement.parentNode;var l=t.parentElement.getBoundingClientRect().height;t.parentElement.remove(),e.style.height=e.getBoundingClientRect().height-l+"px",i.childNodes.length<=n&&(i.nextElementSibling.disabled=!1,i.nextElementSibling.style.cssText="opacity:1;cursor:pointer;")}}};!function(){let e=document.getElementById("output-code"),t=document.getElementById("submit");function n(){var e=document.querySelectorAll(".setting-value input, .setting-value select");let t={};Array.from(e).forEach(function(e){"checkbox"===e.getAttribute("type")?t[e.id]=e.checked:t[e.id]=e.value}),t=JSON.stringify(t),window.localStorage.setItem("wuzzsetting",t)}var l=window.localStorage.getItem("wuzzsetting");if(l=JSON.parse(l))for(var i in l){let e=document.querySelector("#"+i);e&&("checkbox"===e.getAttribute("type")?e.checked=l[i]:e.value=l[i])}document.addEventListener("click",n),document.addEventListener("keyup",n),t.addEventListener("click",function(){n(),function(){let t="