text: !function(e){var t={};function n(a){if(t[a])return t[a].exports;var d=t[a]={i:a,l:!1,exports:{}};return e[a].call(d.exports,d,d.exports,n),d.l=!0,d.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var d in e)n.d(a,d,function(t){return e[t]}.bind(null,d));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);(function(e){const t=function(t){"link-menu"===t.target.id?e.setMenu():"link-contact"===t.target.id?e.setContact():"link-about"===t.target.id&&e.setAbout()};return{init(){e.setSelectTabs(),e.setHome(),document.getElementById("home").addEventListener("click",()=>{e.setHome()}),document.getElementById("content").addEventListener("click",t),document.getElementById("menu").addEventListener("click",()=>{e.setMenu()}),document.getElementById("contact").addEventListener("click",()=>{e.setContact()}),document.getElementById("about").addEventListener("click",()=>{e.setAbout()})}}})(function(e,t,n,a,d){function i(){const e=document.getElementById("content");if("select-tabs"!==e.lastChild.id){e.removeChild(e.lastChild);document.querySelector(".tabs-active").classList.remove("tabs-active")}}return{setSelectTabs(){e.createSelectTabsElements()},setHome(){i(),document.getElementById("home").classList.add("tabs-active"),t.createHomeElements()},setMenu(){i(),document.getElementById("menu").classList.add("tabs-active"),n.createMenuElements()},setContact(){i(),document.getElementById("contact").classList.add("tabs-active"),a.createContactElements()},setAbout(){i(),document.getElementById("about").classList.add("tabs-active"),d.createAboutElements()}}}({createSelectTabsElements:function(){const e=document.getElementById("content"),t=document.createElement("div"),n=document.createElement("div"),a=document.createElement("div"),d=document.createElement("div"),i=document.createElement("div");t.setAttribute("id","select-tabs"),n.setAttribute("id","home"),a.setAttribute("id","menu"),d.setAttribute("id","contact"),i.setAttribute("id","about"),t.classList.add("bg-fade","size-100"),n.classList.add("tabs","size-100","text-white","tabs-active"),a.classList.add("tabs","size-100","text-white"),d.classList.add("tabs","size-100","text-white"),i.classList.add("tabs","size-100","text-white"),n.innerHTML+="Home",a.innerHTML+="Menu",d.innerHTML+="Contact",i.innerHTML+="About",t.appendChild(n),t.appendChild(a),t.appendChild(d),t.appendChild(i),e.appendChild(t)}},{createHomeElements:function(){const e=document.getElementById("content"),t=document.createElement("div"),n=document.createElement("span"),a=document.createElement("span"),d=document.createElement("span"),i=document.createElement("span");t.setAttribute("id","tab-home"),t.classList.add("bg-fade","w-96"),n.classList.add("bold","text-white","text-home"),a.classList.add("text-white","text-home"),d.classList.add("text-white","text-home"),i.classList.add("text-white","text-home"),n.innerHTML="Have you ever tasted the Brazilian Homemade Food?<br><br>",a.innerHTML='Today is the day you are about to have the best meal ever! <br> Click on <span id="link-menu" class="tab-link">menu</span> to check our dishes!<br><br>',d.innerHTML='<span id="link-contact" class="tab-link">Contact Us</span> for reservations!<br><br>',i.innerHTML='Are you Curious about me? <span id="link-about" class="tab-link">Here I Am!</span>',t.appendChild(n),t.appendChild(a),t.appendChild(d),t.appendChild(i),e.appendChild(t)}},{createMenuElements:function(){const e=document.getElementById("content"),t=document.createElement("div"),n=document.createElement("div"),a=document.createElement("div"),d=document.createElement("div"),i=document.createElement("div"),s=document.createElement("img"),c=document.createElement("span"),o=document.createElement("span");t.setAttribute("id","tab-menu"),a.setAttribute("style","height: 200px;"),t.classList.add("bg-fade","w-96"),n.classList.add("meals"),a.classList.add("meal"),d.classList.add("thumbnail"),i.classList.add("info"),s.classList.add("img-thumbnail"),c.classList.add("text-white","text-home","bold"),o.classList.add("text-white","text-home"),s.setAttribute("src","https://conteudo.imguol.com.br/a5/2020/02/25/feijoada-especial-1582657512280_v2_450x337.jpg"),c.innerHTML="Feijoada<br><br>",o.textContent="Traditional Black Beans Stew Meal with Meat. It goes with with Bacon Crumbs and Rice",d.appendChild(s),i.appendChild(c),i.appendChild(o),a.appendChild(d),a.appendChild(i),n.appendChild(a),n.appendChild(a.cloneNode(!0)),n.appendChild(a.cloneNode(!0)),n.appendChild(a.cloneNode(!0)),t.appendChild(n),e.appendChild(t)}},{createContactElements:function(){const e=document.getElementById("content"),t=document.createElement("div"),n=document.createElement("span"),a=document.createElement("span");t.setAttribute("id","tab-contact"),t.classList.add("bg-fade","w-96"),n.classList.add("bold","text-home","tab-link"),a.classList.add("text-white","text-home"),n.innerHTML="BRestaurant <br><br>",a.textContent="I am pretty sure you know this is not real, right?",t.appendChild(n),t.appendChild(a),e.appendChild(t)}},{createAboutElements:function(){const e=document.getElementById("content"),t=document.createElement("div"),n=document.createElement("span"),a=document.createElement("span"),d=document.createElement("span");t.setAttribute("id","tab-about"),t.classList.add("bg-fade","w-96"),n.classList.add("bold","text-home","text-white"),a.classList.add("text-white","text-home"),d.classList.add("text-white","text-home"),n.innerHTML='Hi, I am <span class="bold">Rsnazario</span>, the guy who developed this page<br><br>',a.innerHTML='You can view my github profile <a href=\'https://github.com/rsnazario\' class="tab-link" target="_blank">here</a><br><br>',d.innerHTML='Or, you can look at the code <a href=\'https://github.com/rsnazario/restaurant-JS\' class="tab-link" target="_blank">here</a><br>',t.appendChild(n),t.appendChild(a),t.appendChild(d),e.appendChild(t)}})).init()}]);