\n',t+='
\n',t+='
\n',t+='
'+e.statsnum1+"
\n",t+='
'+e.statsdesc1+"
",t+="\n
",""!==e.statsnum2&&(t+='
\n',t+='
'+e.statsnum2+"
\n",t+='
'+e.statsdesc2+"
",t+="\n
"),""!==e.statsnum3&&(t+='
\n',t+='
'+e.statsnum3+"
\n",t+='
'+e.statsdesc3+"
",t+="\n
"),t+="\n
",t+="\n
\n",t+="\x3c!-- ## BAGIAN STATISTIK AKHIR ## --\x3e\n\n\n"}(d)),1==n.checked&&(u+=function(e){let t="";t+="\x3c!-- ## BAGIAN VALUE PROPOSITION AWAL ## --\x3e\n",t+='\n',t+='
\n',t+='
'+e.featuressectiontitle+"
\n",t+='
\n';for(let r=0;r
\n',""!==(n=e["featuresvgicon"+n])?(t+='\n',t+=n,t+="\n
"):""!==l&&(t+='\n',t+='
',t+="\n
"),t+='\n',t+='
'+i+"
",t+='
'+a+"
",t+="\n
",t+="\n"}return t+="\n
",""!==e.featuresfooternote&&(t+='\n
'+e.featuresfooternote+"
"),t+="\n
",t+="\n\n",t+="\x3c!-- ## BAGIAN FEATURES AKHIR ## --\x3e\n\n\n"}(d)),1==a.checked&&(u+=function(e){let t="";t+="\x3c!-- ## BAGIAN SOCIAL-PROOF AWAL ## --\x3e\n",t+='\n',t+='
\n',t+='
'+e.spsectiontitle+"
\n",t+='
\n',t+='
\n',t+='
\n';for(let l=0;l
\n',t+=''+n+"
\n",""!==i&&(t+='\n'),t+=''+a+"
\n",t+=""}return t+="\n
",t+="\n
",""!==e.spfooternote&&(t+='\n
'+e.spfooternote+"
"),t+="\n
",t+="\n\n",t+="\x3c!-- ## BAGIAN SOCIAL-PROOF AKHIR ## --\x3e\n\n\n"}(d)),1==l.checked&&(u+=function(e){let t="";t+="\x3c!-- ## BAGIAN PRICING AWAL ## --\x3e\n",t+='\n',t+='
\n',t+='
'+e.pricingsectiontitle+"
\n",t+='
\n';for(let r=0;r
'+e.replace(/--/g,"")+"\n":d+=' '+e+"\n"}),""!==i&&(t+='\n',""!==n&&(t+='
'+n+"
\n"),t+='
'+i+"
\n",t+='
'+a+"
\n",t+='
'+l+"
\n",t+='
\n",t+="
")}return t+="\n",""!==e.pricingfooternote&&(t+='\n
'+e.pricingfooternote+"
"),t+="\n
",t+="\n
\n",t+="\x3c!-- ## BAGIAN PRICING AKHIR ## --\x3e\n\n\n"}(d)),1==r.checked&&(u+=function(e){let t="";return t+="\x3c!-- ## BAGIAN CALL-TO-ACTION AWAL ## --\x3e\n",t+='\n',t+='
\n',t+='
'+e.ctasectiontitle+"
\n",t+='
",""!==e.ctafooternote&&(t+='\n
'+e.ctafooternote+"
"),t+="\n
",t+="\n
\n",t+="\x3c!-- ## BAGIAN CALL-TO-ACTION AKHIR ## --\x3e\n\n\n"}(d)),1==c.checked&&(u+=function(e){let t="";t+="\x3c!-- ## BAGIAN FAQ AWAL ## --\x3e\n",t+='\n',t+='
\n',t+='
'+e.faqsectiontitle+"
\n",t+='
'+e.faqsectiondesc+"
",t+='
\n';for(let i=0;i'+e["question"+(n=i+1)]+"
\n",t+='
"}return t+="\n
",t+="\n
",t+="\n\n",t+="\x3c!-- ## BAGIAN FAQ AKHIR ## --\x3e\n\n\n"}(d)),u+="\n",e.value=u}()});const f=document.querySelector("button#export"),y=document.getElementById("selectJSONFile");f.addEventListener("click",function(){h();var e=window.localStorage.getItem("myObject"),t=document.createElement("a");e=new Blob([e],{type:"application/json"});t.setAttribute("href",URL.createObjectURL(e)),t.setAttribute("download","kode-landing-page.json"),t.click(),URL.revokeObjectURL(t.href)}),y.addEventListener("change",function(){let e=document.querySelector(".error-message"),t=this.files;if(t.length<=0)return!1;let n=new FileReader;n.readAsText(t.item(0)),n.onload=function(t){try{JSON.parse(t.target.result),window.localStorage.setItem("myObject",t.target.result),location.reload()}catch(t){e.innerText="File bukan JSON"}}})}(),function(){let e=document.querySelector("#pre-reset"),t=document.querySelector("#reset"),n=document.querySelector("#reset-confirm-box"),i=document.querySelector("#cancel");e.addEventListener("click",function(){n.classList.toggle("show")}),i.addEventListener("click",function(){n.classList.toggle("show")}),t.addEventListener("click",function(e){e.stopPropagation(),window.localStorage.removeItem("myObject"),location.reload()})}(),document.getElementById("secondaryheadline").addEventListener("keyup",function(){charcountupdate("secondaryheadline",160)}),document.addEventListener("DOMContentLoaded",function(){charcountupdate("secondaryheadline",160)});