Repository navigation
Expand file tree
/
Copy pathmain.js
More file actions
1 lines (1 loc) · 63.6 KB
/
Copy pathmain.js
File metadata and controls
1 lines (1 loc) · 63.6 KB
1
(()=>{var e={633:(e,t,n)=>{var a=n(738).default;function i(){"use strict";e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},o=Object.prototype,r=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",d=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,n){return e[t]=n}}function h(e,t,n,a){var i=t&&t.prototype instanceof b?t:b,o=Object.create(i.prototype),r=new P(a||[]);return s(o,"_invoke",{value:A(e,n,r)}),o}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var v="suspendedStart",f="suspendedYield",g="executing",y="completed",w={};function b(){}function k(){}function x(){}var C={};p(C,l,(function(){return this}));var E=Object.getPrototypeOf,L=E&&E(E(T([])));L&&L!==o&&r.call(L,l)&&(C=L);var M=x.prototype=b.prototype=Object.create(C);function S(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(i,o,s,c){var l=m(e[i],e,o);if("throw"!==l.type){var d=l.arg,u=d.value;return u&&"object"==a(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(u).then((function(e){d.value=e,s(d)}),(function(e){return n("throw",e,s,c)}))}c(l.arg)}var i;s(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,i){n(e,a,t,i)}))}return i=i?i.then(o,o):o()}})}function A(e,n,a){var i=v;return function(o,r){if(i===g)throw Error("Generator is already running");if(i===y){if("throw"===o)throw r;return{value:t,done:!0}}for(a.method=o,a.arg=r;;){var s=a.delegate;if(s){var c=z(s,a);if(c){if(c===w)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===v)throw i=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=g;var l=m(e,n,a);if("normal"===l.type){if(i=a.done?y:f,l.arg===w)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(i=y,a.method="throw",a.arg=l.arg)}}}function z(e,n){var a=n.method,i=e.iterator[a];if(i===t)return n.delegate=null,"throw"===a&&e.iterator.return&&(n.method="return",n.arg=t,z(e,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),w;var o=m(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,w;var r=o.arg;return r?r.done?(n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,w):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,w)}function H(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function q(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(H,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(a(e)+" is not iterable")}return k.prototype=x,s(M,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:k,configurable:!0}),k.displayName=p(x,u,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,p(e,u,"GeneratorFunction")),e.prototype=Object.create(M),e},n.awrap=function(e){return{__await:e}},S(j.prototype),p(j.prototype,d,(function(){return this})),n.AsyncIterator=j,n.async=function(e,t,a,i,o){void 0===o&&(o=Promise);var r=new j(h(e,t,a,i),o);return n.isGeneratorFunction(t)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},S(M),p(M,u,"Generator"),p(M,l,(function(){return this})),p(M,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},n.values=T,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(q),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function a(a,i){return s.type="throw",s.arg=e,n.next=a,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var c=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,w):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),w},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),q(n),w}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var i=a.arg;q(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,a){return this.delegate={iterator:T(e),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=t),w}},n}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},738:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},756:(e,t,n)=>{var a=n(633)();e.exports=a;try{regeneratorRuntime=a}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";function e(e,t,n,a,i,o,r){try{var s=e[o](r),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(a,i)}function t(t){return function(){var n=this,a=arguments;return new Promise((function(i,o){var r=t.apply(n,a);function s(t){e(r,i,o,s,c,"next",t)}function c(t){e(r,i,o,s,c,"throw",t)}s(void 0)}))}}var a=n(756),i=n.n(a);function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(o=function(){return!!e})()}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function s(e,t,n){if(o())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var i=new(e.bind.apply(e,a));return n&&r(i,n.prototype),i}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function u(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,"string");if("object"!=d(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}function p(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,u(a.key),a)}}function h(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var m=function(){return h((function e(t,n){l(this,e),this.url=t,this.selector=n}),[{key:"init",value:(e=t(i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(this.url);case 3:return t=e.sent,e.next=6,t.text();case 6:n=e.sent,document.querySelector(this.selector).innerHTML=n,e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("Failed to load component ".concat(this.selector,":"),e.t0);case 13:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(){return e.apply(this,arguments)})}]);var e}(),v=[{loadClass:m,args:["/src/components/header.html",".header"]},{loadClass:m,args:["/src/components/footer.html",".footer"]}],f=function(){var e=t(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=v.map((function(e){return s(e.loadClass,(t=e.args,function(e){if(Array.isArray(e))return c(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).init();var t})),e.next=3,Promise.all(t);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();const g=[{title:"Html 5",content:'\n <span class="skill-text-span paragraph">\n Em agosto de 2022, tive meu primeiro contato com a programação, começando a aprender HTML5. Essa experiência inicial me proporcionou uma base sólida para entender a estrutura e a funcionalidade das páginas web.\n </span>\n <span class="skill-text-span paragraph">\n Desde então, venho aprimorando minhas habilidades em HTML5, focando na criação de páginas e projetos que priorizam usabilidade e acessibilidade. Meu objetivo é garantir que todos possam acessar e utilizar as minhas criações de forma eficiente e intuitiva. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span>\n <span class="show-hide skill-text-span paragraph">\n A cada projeto, procuro melhorar a qualidade e a experiência do usuário. A satisfação de transformar ideias em realidades digitais me motiva a continuar desenvolvendo soluções práticas e acessíveis. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span>\n'},{title:"Css 3",content:'\n <span class="skill-text-span paragraph">\n Ainda em agosto de 2022, juntamente com minha introdução ao HTML5, comecei a explorar o poder do CSS3, tornando-o uma parte essencial do meu kit de ferramentas de desenvolvimento web.\n </span>\n <span class="skill-text-span paragraph">\n Durante esse período inicial de aprendizado, aprofundei-me na criação de estilos e layouts para websites e aplicativos, com um foco especial em Flexbox, Grid Layout e design responsivo. Esses conhecimentos me permitiram desenvolver interfaces visuais atraentes e funcionais. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span>\n <span class="show-hide skill-text-span paragraph">\n Cada projeto que desenvolvo é uma oportunidade de aplicar esses conhecimentos, garantindo que os sites atendam aos padrões modernos de design e proporcionem uma experiência de usuário excelente em qualquer dispositivo. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span> \n '},{title:"Git",content:'\n <span class="skill-text-span paragraph">\n A partir de setembro de 2022, comecei meus estudos sobre controle de versão utilizando Git, uma ferramenta essencial na minha jornada de aprendizado. O Git transformou a maneira como gerencio e controlo as diferentes versões dos meus projetos.\n </span> \n <span class="skill-text-span paragraph">\n Com o Git, aprendi a trabalhar de forma mais colaborativa e organizada em meus projetos. Ele me permite gerenciar o desenvolvimento de maneira estruturada, evitando perdas e mantendo sempre as versões anteriores dos meus códigos. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span>\n <span class="show-hide skill-text-span paragraph">\n O uso do Git não apenas melhora a qualidade do meu trabalho, mas também abre portas para novas oportunidades de crescimento e inovação no desenvolvimento de software. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span> \n '},{title:"GitHub",content:'\n <span class="skill-text-span paragraph">\n Juntamente com o Git, estudei e dei meus primeiros passos na plataforma GitHub como parte essencial dos meus estudos sobre hospedagem e controle de versão.\n </span>\n <span class="skill-text-span paragraph">\n Utilizando o GitHub, aprendi a gerenciar e compartilhar meus projetos de forma eficiente, garantindo uma colaboração mais fluida e um controle rigoroso das versões do código. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span>\n <span class="show-hide skill-text-span paragraph">\n O GitHub tem sido indispensável para minha jornada no mundo da programação, e estou sempre aprimorando minhas habilidades nesta plataforma fundamental para desenvolvedores. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span>\n '},{title:"Code",content:'\n <span class="skill-text-span paragraph">\n Olá, seja bem-vindo à página das minhas habilidades! Aqui está um resumo das minhas competências e experiências em tecnologias essenciais para criar interfaces de usuário.\n </span>\n <span class="skill-text-span paragraph">\n Explore à vontade e sinta-se à vontade para entrar em contato caso tenha alguma dúvida ou precise de mais informações. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span>\n <span class="show-hide skill-text-span paragraph">\n Estou aqui para compartilhar meu trabalho e colaborar em projetos futuros. Além disso, recomendo seguir a ordem deste menu para uma melhor experiência. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span> \n '},{title:"Figma",content:'\n <span class="skill-text-span paragraph">\n Já dando um salto da programação para o mundo do design, em novembro de 2022, iniciei meus estudos como designer de interface e experiência do usuário, utilizando o Figma como uma ferramenta essencial.\n </span>\n <span class="skill-text-span paragraph">\n Dessa forma, crio meus protótipos pessoais, explorando os fundamentos do design UI/UX, complementando assim minhas habilidades como programador. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span>\n <span class="show-hide skill-text-span paragraph">\n O Figma tem desempenhado um papel crucial ao visualizar e aprimorar minhas ideias, me auxiliando no desenvolvimento de designs funcionais e atraentes aos usuários. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span> \n '},{title:"JavaScript",content:'\n <span class="skill-text-span paragraph">\n Ao final de novembro de 2022, tive meu primeiro contato com a linguagem de programação JavaScript, iniciando uma emocionante jornada no mundo do desenvolvimento web.\n </span>\n <span class="skill-text-span paragraph">\n Em meus projetos, tenho utilizado JavaScript para implementar tópicos avançados como a History API, permitindo a manipulação do histórico de navegação do usuário e a criação de aplicações de página única (SPAs) mais fluidas e responsivas. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span>\n <span class="show-hide skill-text-span paragraph">\n Além disso, venho desenvolvendo páginas dinâmicas e incorporando atualizações em tempo real, proporcionando uma experiência de usuário mais rica e interativa. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span>\n\n '},{title:"Sass",content:'\n <span class="skill-text-span paragraph">\n Em agosto de 2023, tive meu primeiro contato com o pré-processador Sass. Utilizando-o, consegui organizar e otimizar meu código de maneira mais eficiente, tornando o processo de estilização mais ágil e produtivo.\n </span> \n <span class="skill-text-span paragraph">\n Com a utilização dos recursos como variáveis, mixins e funções, tenho conseguido criar estilos mais consistentes e reutilizáveis, reduzindo a repetição e facilitando a manutenção do código. <span class="btn-show" tabindex="0">... Ver mais</span>\n </span> \n <span class="show-hide skill-text-span paragraph">\n Cada nova aplicação de Sass em meus projetos me permite descobrir novas formas de aprimorar a eficiência e a qualidade do desenvolvimento front-end. <span class="btn-hide" tabindex="0">... Ver menos</span>\n </span> \n '},{title:"React",content:'\n <span class="skill-text-span paragraph">\n Em março de 2024, tive minha primeira experiência com React, um marco importante em minha jornada como desenvolvedor web front-end. Desde então, tenho me dedicado a explorar profundamente os conceitos e a arquitetura desse framework, utilizando-o para criar interfaces de usuário dinâmicas e responsivas.\n </span>\n '}];var y=function(){return h((function e(t,n){l(this,e),this.ulContent=document.querySelector(t),this.listSvg=document.querySelectorAll(n),this.activeClass="active",this.mobileBreakpoint=500,this.defaultContentIndex=4}),[{key:"updateContent",value:function(e){var t=g[e],n=t.title,a=t.content;this.ulContent.innerHTML=function(e,t){return' \n <li class="skill-text">\n <strong>'.concat(e,'</strong>\n <p class=" skill-text">').concat(t,"</p>\n </li>")}(n,a),this.updateActiveSvg(e)}},{key:"updateActiveSvg",value:function(e){var t=this;this.listSvg.forEach((function(n,a){n.classList.toggle(t.activeClass,a===e)})),this.ulContent.classList.remove("show-text")}},{key:"handleSvg",value:function(e,t){e.classList.contains(this.activeClass)||this.updateContent(t)}},{key:"checkEvent",value:function(){var e=this;this.listSvg.length&&this.ulContent&&(this.updateContent(this.defaultContentIndex),this.listSvg.forEach((function(t,n){t.addEventListener("click",(function(){return e.handleSvg(t,n)})),t.addEventListener("keyup",(function(a){return"Enter"===a.key?e.handleSvg(t,n):null}))})))}},{key:"init",value:function(){this.checkEvent()}}])}(),w=function(){return h((function e(t){l(this,e),this.hiddenElements=document.querySelectorAll(t)}),[{key:"observer",value:function(){var e=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&(e.target.classList.add("show"),e.target.classList.remove("hidden"))}))}));this.hiddenElements.forEach((function(t){e.observe(t)}))}},{key:"init",value:function(){this.observer()}}])}(),b=function(){return h((function e(t,n){l(this,e),this.modalElement=document.querySelector(t),this.btnModal=document.querySelector(n),this.addModalContent=this.addModalContent.bind(this),this.removeModalContent=this.removeModalContent.bind(this)}),[{key:"removeModalContent",value:function(){this.modalElement.lastElementChild.remove()}},{key:"addModalContent",value:function(){var e,t=this;this.modalElement.insertBefore(((e=document.createElement("div")).id="modal",e.innerHTML='\n <section id="modal-content">\n <header class="modal-content-header">\n <h2>Olá,</h2>\n\n <svg aria-label="Fechar modal" tabindex="0" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="var(--contrast)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x modal-close"><path class="modal-close" d="M18 6 6 18"/><path class="modal-close" d="m6 6 12 12"/></svg>\n </header>\n\n <div class="modal-content-info">\n <p>Seja bem-vindo ao meu portfólio. É uma satisfação tê-lo aqui e gostaria de compartilhar algumas informações relevantes sobre a estrutura e o desenvolvimento deste site.</p>\n\n <p>Este portfólio foi criado com foco na eficiência e na experiência do usuário, utilizando nativamente as tecnologias <span>HTML5</span>, <span>CSS3(Sass)</span> e <span>Javascript</span>.</p>\n\n <p><span>HTML5:</span> Utilizado para estruturar o conteúdo do site de forma semântica e acessível, garantindo uma base sólida para a construção deste portfólio.</p> \n\n <p><span>CSS3:</span> Essa linguagem é responsável pela estilização do site, permitindo uma apresentação visual elegante e adaptável a diferentes dispositivos e tamanhos de tela. </p>\n\n <p><span>Javascript:</span> Empregado para adicionar interatividade dinâmica ao site, proporcionando funcionalidades avançadas e uma experiência mais envolvente para o usuário. Todo o código Javascript foi otimizado para garantir a máxima eficiência e desempenho.</p>\n </div>\n </section>\n ',e),this.nextSibling);var n=this.modalElement.querySelector(".modal-close");n.addEventListener("click",this.removeModalContent),n.addEventListener("keyup",(function(e){return"Enter"===e.key&&t.removeModalContent()}))}},{key:"init",value:function(){var e=this;this.btnModal.addEventListener("click",this.addModalContent),this.btnModal.addEventListener("keyup",(function(t){"Enter"===t.key&&e.addModalContent()}))}}])}(),k=[{title:"Em desenvolvimento - Sorveteria ICCream",description:"O projeto ICCream é uma sorveteria inovadora em desenvolvimento, que visa proporcionar uma experiência única e personalizada aos seus clientes. Com foco na qualidade dos produtos, oferecendo uma ampla variedade de sabores artesanais, incluindo opções veganas e sem lactose, feitos com ingredientes frescos e naturais.",image:"./src/assets/images/project/ICCream.webp",dataAnime:"right",initialDate:"Julho de 2024 - Em desenvolvimento.",iconsSvg:{image:'\n <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><g fill="none"><g fill="currentColor" clip-path="url(#akarIconsReactFill0)"><path d="M24 11.689c0-1.59-1.991-3.097-5.044-4.031c.705-3.111.392-5.587-.988-6.38a2.145 2.145 0 0 0-1.096-.273v1.09c.225 0 .406.045.558.128c.665.382.954 1.834.729 3.703c-.054.46-.142.944-.25 1.438a23.706 23.706 0 0 0-3.106-.533a23.857 23.857 0 0 0-2.035-2.446c1.595-1.482 3.092-2.294 4.11-2.294V1c-1.346 0-3.107.959-4.888 2.622C10.21 1.97 8.448 1.02 7.103 1.02v1.09c1.013 0 2.515.808 4.11 2.28c-.685.72-1.37 1.536-2.021 2.441a22.844 22.844 0 0 0-3.111.538a14.683 14.683 0 0 1-.255-1.418c-.23-1.87.054-3.322.715-3.708c.146-.088.337-.128.562-.128v-1.09c-.41 0-.783.088-1.105.273c-1.375.793-1.683 3.263-.974 6.365C1.981 8.603 0 10.104 0 11.689c0 1.59 1.991 3.097 5.044 4.03c-.705 3.112-.392 5.588.988 6.38c.318.186.69.274 1.1.274c1.346 0 3.107-.959 4.888-2.622c1.78 1.653 3.541 2.602 4.887 2.602a2.18 2.18 0 0 0 1.105-.274c1.375-.792 1.683-3.262.974-6.364C22.019 14.781 24 13.274 24 11.689m-6.37-3.263a22.023 22.023 0 0 1-.66 1.932a26.444 26.444 0 0 0-1.345-2.319c.695.103 1.365.23 2.006.387m-2.24 5.21a25.94 25.94 0 0 1-1.179 1.869a25.453 25.453 0 0 1-4.412.005a25.457 25.457 0 0 1-2.201-3.806a26.064 26.064 0 0 1 2.192-3.82a25.455 25.455 0 0 1 4.411-.006c.406.582.803 1.204 1.184 1.86c.372.64.71 1.29 1.018 1.946a27.41 27.41 0 0 1-1.013 1.952M16.97 13c.264.656.49 1.311.675 1.947c-.64.157-1.316.289-2.015.391A27.044 27.044 0 0 0 16.97 13m-4.96 5.22c-.455-.47-.91-.993-1.36-1.566c.44.02.89.035 1.345.035c.46 0 .915-.01 1.36-.035c-.44.573-.895 1.096-1.345 1.566m-3.64-2.882a22.113 22.113 0 0 1-2.006-.386c.181-.631.406-1.282.66-1.932c.201.39.412.782.642 1.174c.23.391.464.773.704 1.144m3.615-10.18c.455.47.91.993 1.36 1.566c-.44-.02-.89-.035-1.345-.035c-.46 0-.915.01-1.36.035c.44-.573.895-1.096 1.345-1.566M8.365 8.04a27.02 27.02 0 0 0-1.34 2.333a20.96 20.96 0 0 1-.675-1.947c.64-.152 1.316-.284 2.015-.386m-4.427 6.124c-1.732-.738-2.852-1.707-2.852-2.475s1.12-1.742 2.852-2.475c.42-.181.88-.343 1.355-.494c.279.958.646 1.956 1.1 2.979a23.165 23.165 0 0 0-1.085 2.964a14.875 14.875 0 0 1-1.37-.499m2.632 6.99c-.665-.38-.954-1.834-.729-3.702c.054-.46.142-.945.25-1.439c.958.235 2.005.416 3.106.534a23.87 23.87 0 0 0 2.035 2.446c-1.595 1.482-3.092 2.294-4.11 2.294a1.167 1.167 0 0 1-.552-.132m11.604-3.727c.23 1.869-.054 3.322-.715 3.708c-.146.088-.337.127-.562.127c-1.013 0-2.515-.807-4.11-2.28a23.01 23.01 0 0 0 2.021-2.44a22.843 22.843 0 0 0 3.111-.538c.113.494.2.968.255 1.423m1.883-3.263c-.42.181-.88.343-1.355.494a23.482 23.482 0 0 0-1.1-2.979c.45-1.017.811-2.01 1.085-2.964a15.3 15.3 0 0 1 1.375.499c1.732.738 2.852 1.707 2.852 2.475c-.005.768-1.125 1.742-2.857 2.475"/><path d="M11.995 13.925a2.236 2.236 0 1 0 0-4.472a2.236 2.236 0 0 0 0 4.472"/></g><defs><clipPath id="akarIconsReactFill0"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath></defs></g></svg>\n\n <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 15 15"><path fill="none" stroke="currentColor" d="M12.5 8v-.167c0-.736-.597-1.333-1.333-1.333H10a1.5 1.5 0 1 0 0 3h1a1.5 1.5 0 0 1 0 3h-1A1.5 1.5 0 0 1 8.5 11M8 6.5H3m2.5 0V13M.5.5h14v14H.5z"/></svg>\n\n <svg xmlns="http://www.w3.org/2000/svg" width="37.5" height="30" viewBox="0 0 640 512"><path fill="currentColor" d="M301.84 378.92c-.3.6-.6 1.08 0 0m249.13-87a131.16 131.16 0 0 0-58 13.5c-5.9-11.9-12-22.3-13-30.1c-1.2-9.1-2.5-14.5-1.1-25.3s7.7-26.1 7.6-27.2s-1.4-6.6-14.3-6.7s-24 2.5-25.29 5.9a122.83 122.83 0 0 0-5.3 19.1c-2.3 11.7-25.79 53.5-39.09 75.3c-4.4-8.5-8.1-16-8.9-22c-1.2-9.1-2.5-14.5-1.1-25.3s7.7-26.1 7.6-27.2s-1.4-6.6-14.29-6.7s-24 2.5-25.3 5.9s-2.7 11.4-5.3 19.1s-33.89 77.3-42.08 95.4c-4.2 9.2-7.8 16.6-10.4 21.6c-.4.8-.7 1.3-.9 1.7c.3-.5.5-1 .5-.8c-2.2 4.3-3.5 6.7-3.5 6.7v.1c-1.7 3.2-3.6 6.1-4.5 6.1c-.6 0-1.9-8.4.3-19.9c4.7-24.2 15.8-61.8 15.7-63.1c-.1-.7 2.1-7.2-7.3-10.7c-9.1-3.3-12.4 2.2-13.2 2.2s-1.4 2-1.4 2s10.1-42.4-19.39-42.4c-18.4 0-44 20.2-56.58 38.5c-7.9 4.3-25 13.6-43 23.5c-6.9 3.8-14 7.7-20.7 11.4c-.5-.5-.9-1-1.4-1.5c-35.79-38.2-101.87-65.2-99.07-116.5c1-18.7 7.5-67.8 127.07-127.4c98-48.8 176.35-35.4 189.84-5.6c19.4 42.5-41.89 121.6-143.66 133c-38.79 4.3-59.18-10.7-64.28-16.3c-5.3-5.9-6.1-6.2-8.1-5.1c-3.3 1.8-1.2 7 0 10.1c3 7.9 15.5 21.9 36.79 28.9c18.7 6.1 64.18 9.5 119.17-11.8c61.78-23.8 109.87-90.1 95.77-145.6C386.52 18.32 293-.18 204.57 31.22c-52.69 18.7-109.67 48.1-150.66 86.4c-48.69 45.6-56.48 85.3-53.28 101.9c11.39 58.9 92.57 97.3 125.06 125.7c-1.6.9-3.1 1.7-4.5 2.5c-16.29 8.1-78.18 40.5-93.67 74.7c-17.5 38.8 2.9 66.6 16.29 70.4c41.79 11.6 84.58-9.3 107.57-43.6s20.2-79.1 9.6-99.5c-.1-.3-.3-.5-.4-.8c4.2-2.5 8.5-5 12.8-7.5c8.29-4.9 16.39-9.4 23.49-13.3c-4 10.8-6.9 23.8-8.4 42.6c-1.8 22 7.3 50.5 19.1 61.7c5.2 4.9 11.49 5 15.39 5c13.8 0 20-11.4 26.89-25c8.5-16.6 16-35.9 16-35.9s-9.4 52.2 16.3 52.2c9.39 0 18.79-12.1 23-18.3v.1s.2-.4.7-1.2c1-1.5 1.5-2.4 1.5-2.4v-.3c3.8-6.5 12.1-21.4 24.59-46c16.2-31.8 31.69-71.5 31.69-71.5a201.24 201.24 0 0 0 6.2 25.8c2.8 9.5 8.7 19.9 13.4 30c-3.8 5.2-6.1 8.2-6.1 8.2a.31.31 0 0 0 .1.2c-3 4-6.4 8.3-9.9 12.5c-12.79 15.2-28 32.6-30 37.6c-2.4 5.9-1.8 10.3 2.8 13.7c3.4 2.6 9.4 3 15.69 2.5c11.5-.8 19.6-3.6 23.5-5.4a82.2 82.2 0 0 0 20.19-10.6c12.5-9.2 20.1-22.4 19.4-39.8c-.4-9.6-3.5-19.2-7.3-28.2c1.1-1.6 2.3-3.3 3.4-5C434.8 301.72 450.1 270 450.1 270a201.24 201.24 0 0 0 6.2 25.8c2.4 8.1 7.09 17 11.39 25.7c-18.59 15.1-30.09 32.6-34.09 44.1c-7.4 21.3-1.6 30.9 9.3 33.1c4.9 1 11.9-1.3 17.1-3.5a79.46 79.46 0 0 0 21.59-11.1c12.5-9.2 24.59-22.1 23.79-39.6c-.3-7.9-2.5-15.8-5.4-23.4c15.7-6.6 36.09-10.2 62.09-7.2c55.68 6.5 66.58 41.3 64.48 55.8s-13.8 22.6-17.7 25s-5.1 3.3-4.8 5.1c.5 2.6 2.3 2.5 5.6 1.9c4.6-.8 29.19-11.8 30.29-38.7c1.6-34-31.09-71.4-89-71.1zm-429.18 144.7c-18.39 20.1-44.19 27.7-55.28 21.3C54.61 451 59.31 421.42 82 400c13.8-13 31.59-25 43.39-32.4c2.7-1.6 6.6-4 11.4-6.9c.8-.5 1.2-.7 1.2-.7c.9-.6 1.9-1.1 2.9-1.7c8.29 30.4.3 57.2-19.1 78.3zm134.36-91.4c-6.4 15.7-19.89 55.7-28.09 53.6c-7-1.8-11.3-32.3-1.4-62.3c5-15.1 15.6-33.1 21.9-40.1c10.09-11.3 21.19-14.9 23.79-10.4c3.5 5.9-12.2 49.4-16.2 59.2m111 53c-2.7 1.4-5.2 2.3-6.4 1.6c-.9-.5 1.1-2.4 1.1-2.4s13.9-14.9 19.4-21.7c3.2-4 6.9-8.7 10.89-13.9c0 .5.1 1 .1 1.6c-.13 17.9-17.32 30-25.12 34.8zm85.58-19.5c-2-1.4-1.7-6.1 5-20.7c2.6-5.7 8.59-15.3 19-24.5a36.18 36.18 0 0 1 1.9 10.8c-.1 22.5-16.2 30.9-25.89 34.4z"/></svg>\n\n <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><g fill="none"><g clip-path="url(#akarIconsFigmaFill0)"><path fill="currentColor" fill-rule="evenodd" d="M8.415 0C5.968 0 4 2.053 4 4.568c0 1.529.728 2.887 1.847 3.716A4.613 4.613 0 0 0 4 12c0 1.53.728 2.887 1.847 3.716A4.613 4.613 0 0 0 4 19.432C4 21.947 5.968 24 8.415 24c2.446 0 4.415-2.053 4.415-4.568V15.57a4.307 4.307 0 0 0 2.755.999C18.032 16.568 20 14.515 20 12a4.61 4.61 0 0 0-1.847-3.716A4.613 4.613 0 0 0 20 4.568C20 2.053 18.032 0 15.585 0zM5.659 4.568c0-1.591 1.242-2.865 2.756-2.865h2.755v5.73H8.415c-1.514 0-2.756-1.275-2.756-2.865m9.926 2.864H12.83v-5.73h2.755c1.515 0 2.756 1.275 2.756 2.866c0 1.59-1.241 2.864-2.756 2.864M5.66 12c0-1.59 1.242-2.865 2.756-2.865h2.755v5.73H8.415C6.9 14.865 5.659 13.59 5.659 12m7.17 0c0-1.59 1.242-2.865 2.756-2.865c1.515 0 2.756 1.274 2.756 2.865c0 1.59-1.241 2.865-2.756 2.865c-1.514 0-2.755-1.274-2.755-2.865m-7.17 7.432c0-1.59 1.242-2.864 2.756-2.864h2.755v2.864c0 1.591-1.24 2.865-2.755 2.865c-1.514 0-2.756-1.274-2.756-2.865" clip-rule="evenodd"/></g><defs><clipPath id="akarIconsFigmaFill0"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath></defs></g></svg>\n '}},{title:"Em breve - RIOT GAMES",description:"Estamos empolgados em anunciar o lançamento iminente do Riot Games Hub, uma plataforma dedicada aos fãs dos jogos da Riot Games, incluindo League of Legends, Valorant, Wild Rift e muitos outros. Este projeto tem como objetivo principal explorar e apresentar a história de alguns dos personagens mais icônicos desses jogos, proporcionando uma experiência rica e imersiva para os fãs.",image:"./src/assets/images/project/riot-games.webp",dataAnime:"right",initialDate:"Em breve.",iconsSvg:{image:'\n <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><g fill="none"><g fill="currentColor" clip-path="url(#akarIconsReactFill0)"><path d="M24 11.689c0-1.59-1.991-3.097-5.044-4.031c.705-3.111.392-5.587-.988-6.38a2.145 2.145 0 0 0-1.096-.273v1.09c.225 0 .406.045.558.128c.665.382.954 1.834.729 3.703c-.054.46-.142.944-.25 1.438a23.706 23.706 0 0 0-3.106-.533a23.857 23.857 0 0 0-2.035-2.446c1.595-1.482 3.092-2.294 4.11-2.294V1c-1.346 0-3.107.959-4.888 2.622C10.21 1.97 8.448 1.02 7.103 1.02v1.09c1.013 0 2.515.808 4.11 2.28c-.685.72-1.37 1.536-2.021 2.441a22.844 22.844 0 0 0-3.111.538a14.683 14.683 0 0 1-.255-1.418c-.23-1.87.054-3.322.715-3.708c.146-.088.337-.128.562-.128v-1.09c-.41 0-.783.088-1.105.273c-1.375.793-1.683 3.263-.974 6.365C1.981 8.603 0 10.104 0 11.689c0 1.59 1.991 3.097 5.044 4.03c-.705 3.112-.392 5.588.988 6.38c.318.186.69.274 1.1.274c1.346 0 3.107-.959 4.888-2.622c1.78 1.653 3.541 2.602 4.887 2.602a2.18 2.18 0 0 0 1.105-.274c1.375-.792 1.683-3.262.974-6.364C22.019 14.781 24 13.274 24 11.689m-6.37-3.263a22.023 22.023 0 0 1-.66 1.932a26.444 26.444 0 0 0-1.345-2.319c.695.103 1.365.23 2.006.387m-2.24 5.21a25.94 25.94 0 0 1-1.179 1.869a25.453 25.453 0 0 1-4.412.005a25.457 25.457 0 0 1-2.201-3.806a26.064 26.064 0 0 1 2.192-3.82a25.455 25.455 0 0 1 4.411-.006c.406.582.803 1.204 1.184 1.86c.372.64.71 1.29 1.018 1.946a27.41 27.41 0 0 1-1.013 1.952M16.97 13c.264.656.49 1.311.675 1.947c-.64.157-1.316.289-2.015.391A27.044 27.044 0 0 0 16.97 13m-4.96 5.22c-.455-.47-.91-.993-1.36-1.566c.44.02.89.035 1.345.035c.46 0 .915-.01 1.36-.035c-.44.573-.895 1.096-1.345 1.566m-3.64-2.882a22.113 22.113 0 0 1-2.006-.386c.181-.631.406-1.282.66-1.932c.201.39.412.782.642 1.174c.23.391.464.773.704 1.144m3.615-10.18c.455.47.91.993 1.36 1.566c-.44-.02-.89-.035-1.345-.035c-.46 0-.915.01-1.36.035c.44-.573.895-1.096 1.345-1.566M8.365 8.04a27.02 27.02 0 0 0-1.34 2.333a20.96 20.96 0 0 1-.675-1.947c.64-.152 1.316-.284 2.015-.386m-4.427 6.124c-1.732-.738-2.852-1.707-2.852-2.475s1.12-1.742 2.852-2.475c.42-.181.88-.343 1.355-.494c.279.958.646 1.956 1.1 2.979a23.165 23.165 0 0 0-1.085 2.964a14.875 14.875 0 0 1-1.37-.499m2.632 6.99c-.665-.38-.954-1.834-.729-3.702c.054-.46.142-.945.25-1.439c.958.235 2.005.416 3.106.534a23.87 23.87 0 0 0 2.035 2.446c-1.595 1.482-3.092 2.294-4.11 2.294a1.167 1.167 0 0 1-.552-.132m11.604-3.727c.23 1.869-.054 3.322-.715 3.708c-.146.088-.337.127-.562.127c-1.013 0-2.515-.807-4.11-2.28a23.01 23.01 0 0 0 2.021-2.44a22.843 22.843 0 0 0 3.111-.538c.113.494.2.968.255 1.423m1.883-3.263c-.42.181-.88.343-1.355.494a23.482 23.482 0 0 0-1.1-2.979c.45-1.017.811-2.01 1.085-2.964a15.3 15.3 0 0 1 1.375.499c1.732.738 2.852 1.707 2.852 2.475c-.005.768-1.125 1.742-2.857 2.475"/><path d="M11.995 13.925a2.236 2.236 0 1 0 0-4.472a2.236 2.236 0 0 0 0 4.472"/></g><defs><clipPath id="akarIconsReactFill0"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath></defs></g></svg>\n\n <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 15 15"><path fill="none" stroke="currentColor" d="M12.5 8v-.167c0-.736-.597-1.333-1.333-1.333H10a1.5 1.5 0 1 0 0 3h1a1.5 1.5 0 0 1 0 3h-1A1.5 1.5 0 0 1 8.5 11M8 6.5H3m2.5 0V13M.5.5h14v14H.5z"/></svg>\n\n <svg xmlns="http://www.w3.org/2000/svg" width="37.5" height="30" viewBox="0 0 640 512"><path fill="currentColor" d="M301.84 378.92c-.3.6-.6 1.08 0 0m249.13-87a131.16 131.16 0 0 0-58 13.5c-5.9-11.9-12-22.3-13-30.1c-1.2-9.1-2.5-14.5-1.1-25.3s7.7-26.1 7.6-27.2s-1.4-6.6-14.3-6.7s-24 2.5-25.29 5.9a122.83 122.83 0 0 0-5.3 19.1c-2.3 11.7-25.79 53.5-39.09 75.3c-4.4-8.5-8.1-16-8.9-22c-1.2-9.1-2.5-14.5-1.1-25.3s7.7-26.1 7.6-27.2s-1.4-6.6-14.29-6.7s-24 2.5-25.3 5.9s-2.7 11.4-5.3 19.1s-33.89 77.3-42.08 95.4c-4.2 9.2-7.8 16.6-10.4 21.6c-.4.8-.7 1.3-.9 1.7c.3-.5.5-1 .5-.8c-2.2 4.3-3.5 6.7-3.5 6.7v.1c-1.7 3.2-3.6 6.1-4.5 6.1c-.6 0-1.9-8.4.3-19.9c4.7-24.2 15.8-61.8 15.7-63.1c-.1-.7 2.1-7.2-7.3-10.7c-9.1-3.3-12.4 2.2-13.2 2.2s-1.4 2-1.4 2s10.1-42.4-19.39-42.4c-18.4 0-44 20.2-56.58 38.5c-7.9 4.3-25 13.6-43 23.5c-6.9 3.8-14 7.7-20.7 11.4c-.5-.5-.9-1-1.4-1.5c-35.79-38.2-101.87-65.2-99.07-116.5c1-18.7 7.5-67.8 127.07-127.4c98-48.8 176.35-35.4 189.84-5.6c19.4 42.5-41.89 121.6-143.66 133c-38.79 4.3-59.18-10.7-64.28-16.3c-5.3-5.9-6.1-6.2-8.1-5.1c-3.3 1.8-1.2 7 0 10.1c3 7.9 15.5 21.9 36.79 28.9c18.7 6.1 64.18 9.5 119.17-11.8c61.78-23.8 109.87-90.1 95.77-145.6C386.52 18.32 293-.18 204.57 31.22c-52.69 18.7-109.67 48.1-150.66 86.4c-48.69 45.6-56.48 85.3-53.28 101.9c11.39 58.9 92.57 97.3 125.06 125.7c-1.6.9-3.1 1.7-4.5 2.5c-16.29 8.1-78.18 40.5-93.67 74.7c-17.5 38.8 2.9 66.6 16.29 70.4c41.79 11.6 84.58-9.3 107.57-43.6s20.2-79.1 9.6-99.5c-.1-.3-.3-.5-.4-.8c4.2-2.5 8.5-5 12.8-7.5c8.29-4.9 16.39-9.4 23.49-13.3c-4 10.8-6.9 23.8-8.4 42.6c-1.8 22 7.3 50.5 19.1 61.7c5.2 4.9 11.49 5 15.39 5c13.8 0 20-11.4 26.89-25c8.5-16.6 16-35.9 16-35.9s-9.4 52.2 16.3 52.2c9.39 0 18.79-12.1 23-18.3v.1s.2-.4.7-1.2c1-1.5 1.5-2.4 1.5-2.4v-.3c3.8-6.5 12.1-21.4 24.59-46c16.2-31.8 31.69-71.5 31.69-71.5a201.24 201.24 0 0 0 6.2 25.8c2.8 9.5 8.7 19.9 13.4 30c-3.8 5.2-6.1 8.2-6.1 8.2a.31.31 0 0 0 .1.2c-3 4-6.4 8.3-9.9 12.5c-12.79 15.2-28 32.6-30 37.6c-2.4 5.9-1.8 10.3 2.8 13.7c3.4 2.6 9.4 3 15.69 2.5c11.5-.8 19.6-3.6 23.5-5.4a82.2 82.2 0 0 0 20.19-10.6c12.5-9.2 20.1-22.4 19.4-39.8c-.4-9.6-3.5-19.2-7.3-28.2c1.1-1.6 2.3-3.3 3.4-5C434.8 301.72 450.1 270 450.1 270a201.24 201.24 0 0 0 6.2 25.8c2.4 8.1 7.09 17 11.39 25.7c-18.59 15.1-30.09 32.6-34.09 44.1c-7.4 21.3-1.6 30.9 9.3 33.1c4.9 1 11.9-1.3 17.1-3.5a79.46 79.46 0 0 0 21.59-11.1c12.5-9.2 24.59-22.1 23.79-39.6c-.3-7.9-2.5-15.8-5.4-23.4c15.7-6.6 36.09-10.2 62.09-7.2c55.68 6.5 66.58 41.3 64.48 55.8s-13.8 22.6-17.7 25s-5.1 3.3-4.8 5.1c.5 2.6 2.3 2.5 5.6 1.9c4.6-.8 29.19-11.8 30.29-38.7c1.6-34-31.09-71.4-89-71.1zm-429.18 144.7c-18.39 20.1-44.19 27.7-55.28 21.3C54.61 451 59.31 421.42 82 400c13.8-13 31.59-25 43.39-32.4c2.7-1.6 6.6-4 11.4-6.9c.8-.5 1.2-.7 1.2-.7c.9-.6 1.9-1.1 2.9-1.7c8.29 30.4.3 57.2-19.1 78.3zm134.36-91.4c-6.4 15.7-19.89 55.7-28.09 53.6c-7-1.8-11.3-32.3-1.4-62.3c5-15.1 15.6-33.1 21.9-40.1c10.09-11.3 21.19-14.9 23.79-10.4c3.5 5.9-12.2 49.4-16.2 59.2m111 53c-2.7 1.4-5.2 2.3-6.4 1.6c-.9-.5 1.1-2.4 1.1-2.4s13.9-14.9 19.4-21.7c3.2-4 6.9-8.7 10.89-13.9c0 .5.1 1 .1 1.6c-.13 17.9-17.32 30-25.12 34.8zm85.58-19.5c-2-1.4-1.7-6.1 5-20.7c2.6-5.7 8.59-15.3 19-24.5a36.18 36.18 0 0 1 1.9 10.8c-.1 22.5-16.2 30.9-25.89 34.4z"/></svg>\n\n <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><g fill="none"><g clip-path="url(#akarIconsFigmaFill0)"><path fill="currentColor" fill-rule="evenodd" d="M8.415 0C5.968 0 4 2.053 4 4.568c0 1.529.728 2.887 1.847 3.716A4.613 4.613 0 0 0 4 12c0 1.53.728 2.887 1.847 3.716A4.613 4.613 0 0 0 4 19.432C4 21.947 5.968 24 8.415 24c2.446 0 4.415-2.053 4.415-4.568V15.57a4.307 4.307 0 0 0 2.755.999C18.032 16.568 20 14.515 20 12a4.61 4.61 0 0 0-1.847-3.716A4.613 4.613 0 0 0 20 4.568C20 2.053 18.032 0 15.585 0zM5.659 4.568c0-1.591 1.242-2.865 2.756-2.865h2.755v5.73H8.415c-1.514 0-2.756-1.275-2.756-2.865m9.926 2.864H12.83v-5.73h2.755c1.515 0 2.756 1.275 2.756 2.866c0 1.59-1.241 2.864-2.756 2.864M5.66 12c0-1.59 1.242-2.865 2.756-2.865h2.755v5.73H8.415C6.9 14.865 5.659 13.59 5.659 12m7.17 0c0-1.59 1.242-2.865 2.756-2.865c1.515 0 2.756 1.274 2.756 2.865c0 1.59-1.241 2.865-2.756 2.865c-1.514 0-2.755-1.274-2.755-2.865m-7.17 7.432c0-1.59 1.242-2.864 2.756-2.864h2.755v2.864c0 1.591-1.24 2.865-2.755 2.865c-1.514 0-2.756-1.274-2.756-2.865" clip-rule="evenodd"/></g><defs><clipPath id="akarIconsFigmaFill0"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath></defs></g></svg>\n '}}],x=function(){return h((function e(t){l(this,e),this.ulContent=document.querySelector(t)}),[{key:"updateContent",value:function(){var e=this;this.ulContent&&k.forEach((function(t){var n,a,i,o,r,s,c;e.ulContent.innerHTML+=(n=t.title,a=t.description,i=t.image,o=t.title,r=t.dataAnime,s=t.initialDate,c=t.iconsSvg.image,'\n <li class="project project-presentation hidden" data-anime="'.concat(r,'">\n <section class="project-main">\n <picture class="project-image">\n <img class="image-project" loading="lazy" width="570" height="300" src="').concat(i,'" alt="').concat(o,'">\n </picture>\n\n <aside class="project-aside">\n <header class="project-description">\n <h2>').concat(n,"</h2>\n <p>").concat(a,"</p>\n <p>").concat(s,'</p>\n </header>\n\n <picture class="project-svg">\n ').concat(c,"\n </picture>\n </aside>\n </section>\n </li>\n"))}))}},{key:"init",value:function(){this.updateContent()}}])}(),C=function(){return h((function e(t){l(this,e),this.yearElement=document.querySelector(t),this.currentDate=new Date,this.birthDate=new Date("Oct 09 1999 00:00:00 GMT-0300")}),[{key:"calculateAge",value:function(){var e=this.currentDate.getFullYear()-this.birthDate.getFullYear();return this.currentDate.getMonth()>=this.birthDate.getMonth()&&this.currentDate.getDate()>=this.birthDate.getDate()||e--,e}},{key:"updateYearElement",value:function(){"/about.html"===window.location.pathname&&this.yearElement&&(this.yearElement.innerText=this.calculateAge())}},{key:"init",value:function(){this.updateYearElement()}}])}(),E=function(){return h((function e(t,n){l(this,e),this.element=document.querySelector(t),this.text=document.querySelector(n),this.seconds=3}),[{key:"openNewWindow",value:function(){setTimeout((function(){window.open("https://mail.google.com/mail/u/0/?tab=rm&ogbl#inbox?compose=new"),"assinc-email"===document.body.lastElementChild.id&&document.body.lastElementChild.remove()}),3e3)}},{key:"copyText",value:(e=t(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,navigator.clipboard.writeText(this.text.innerText);case 2:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"copyEmail",value:function(e){e.preventDefault(),window.confirm("Você deseja ser redirecionado ao e-mail externo?")&&(document.body.insertAdjacentHTML("beforeend",'\n <div id="assinc-email">\n <span>Endereço de e-mail copiado.\n <svg width="30" height="30" viewBox="0 0 24 24">\n <path fill="#0d7000" d="M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z" />\n </svg>\n </span>\n <span>Você está sendo redirecionado ao e-mail.</span>\n </div>\n '),this.copyText(),this.openNewWindow())}},{key:"checkElement",value:function(){var e=this;this.element&&this.element.addEventListener("click",(function(t){e.copyEmail(t)}))}},{key:"init",value:function(){this.checkElement()}}]);var e}(),L=function(){return h((function e(t){l(this,e),this.ulContent=document.querySelector(t),this.mobileBreakpoint=500}),[{key:"toggleUlContent",value:function(e){var t=e.target;["btn-show","btn-hide"].some((function(e){return t.classList.contains(e)}))&&this.ulContent.classList.toggle("show-text")}},{key:"handleClick",value:function(){var e=this;window.addEventListener("click",(function(t){return e.toggleUlContent(t)})),window.addEventListener("keyup",(function(t){"Enter"===t.key&&e.toggleUlContent(t)}))}},{key:"init",value:function(){this.handleClick()}}])}(),M=function(){return h((function e(t,n){l(this,e),this.image=document.querySelectorAll(t),this.content=document.querySelector(n)}),[{key:"updateImage",value:function(e){var t,n;document.body.style.overflow="hidden",this.content.appendChild((t=e.src,(n=document.createElement("div")).id="fade-image-project",n.innerHTML='\n <div class="fade-image-content">\n <svg aria-label="Fechar modal" tabindex="0" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x modal-close"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/></svg>\n <img src="'.concat(t,'" alt="">\n </div>\n '),n)),this.removeImage()}},{key:"removeImage",value:function(){var e=this;document.querySelector(".modal-close").addEventListener("click",(function(){e.content.lastElementChild.remove(),document.body.style.overflow=""}))}},{key:"init",value:function(){var e=this;this.image.forEach((function(t){t.addEventListener("click",(function(){return e.updateImage(t)})),t.addEventListener("keyup",(function(n){return"Enter"===n.key&&e.updateImage(t)}))}))}}])}();var S=function(){return h((function e(t){l(this,e),this.content=document.querySelector(t)}),[{key:"updateSvg",value:function(){this.content.innerHTML='\n <li class="skill-svg hidden" title="Html 5" tabindex="0" data-anime="top-left" style="--delay: .2s">\n <svg class="svg-skill" viewBox="0 0 24 24">\n <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">\n <path d="m4 3l1.778 17.09L12 22l6.222-1.91L20 3z" />\n <path d="M17 7H7.5l.5 4.5h8l-.5 5.5l-3.5 1l-3.5-1l-.25-2.5" />\n </g>\n </svg>\n </li>\n <li class="skill-svg hidden" title="Css 3" tabindex="0" data-anime="top" style="--delay: .4s">\n <svg class="svg-skill" viewBox="0 0 24 24">\n <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">\n <path d="m4 3l1.778 17.09L12 22l6.222-1.91L20 3z" />\n <path d="M7 7h9.5l-1 10l-3.5 1l-3.5-1l-.25-2.5m7.75-3H7.5" />\n </g>\n </svg>\n </li>\n <li class="skill-svg hidden" title="Git" tabindex="0" data-anime="top-right" style="--delay: .6s">\n <svg class="svg-skill" viewBox="0 0 32 32">\n <path fill="currentColor" d="M16 2c-.504 0-.996.184-1.375.563l-2.813 2.843c-.152.082-.28.2-.374.344l-8.876 8.875a1.947 1.947 0 0 0 0 2.75l12.063 12.063a1.955 1.955 0 0 0 2.75 0l12.063-12.063a1.947 1.947 0 0 0 0-2.75L17.374 2.562A1.923 1.923 0 0 0 16 2m0 2.031L27.969 16L16 27.969L4.031 16l8.282-8.281l1.75 1.75A1.98 1.98 0 0 0 14 10c0 .738.402 1.371 1 1.719v8.562c-.598.348-1 .98-1 1.719a1.999 1.999 0 1 0 4 0c0-.738-.402-1.371-1-1.719v-7.843l3.063 3.062A1.999 1.999 0 0 0 22 18a2 2 0 0 0 1.999-2a1.999 1.999 0 0 0-2.5-1.938L17.937 10.5A1.999 1.999 0 0 0 16 8a1.98 1.98 0 0 0-.53.063l-1.75-1.75z" />\n </svg>\n\n </li>\n <li class="skill-svg hidden" title="GitHub" tabindex="0" data-anime="left" style="--delay: .8s">\n <svg class="svg-skill" viewBox="0 0 24 24">\n <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">\n <path d="M16 22.027v-2.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7a5.44 5.44 0 0 0-1.5-3.75a5.07 5.07 0 0 0-.09-3.77s-1.18-.35-3.91 1.48a13.38 13.38 0 0 0-7 0c-2.73-1.83-3.91-1.48-3.91-1.48A5.07 5.07 0 0 0 5 5.797a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7a3.37 3.37 0 0 0-.94 2.58v2.87" />\n <path d="M9 20.027c-3 .973-5.5 0-7-3" />\n </g>\n </svg>\n </li>\n <li class="skill-svg hidden" title="Code" tabindex="0" data-anime style="--delay: 1.1s">\n\n <svg class="svg-skill" viewBox="0 0 24 24"><g fill="none"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M14.486 3.143a1 1 0 0 1 .692 1.233l-4.43 15.788a1 1 0 0 1-1.926-.54l4.43-15.788a1 1 0 0 1 1.234-.693M7.207 7.05a1 1 0 0 1 0 1.414L3.672 12l3.535 3.535a1 1 0 1 1-1.414 1.415L1.55 12.707a1 1 0 0 1 0-1.414L5.793 7.05a1 1 0 0 1 1.414 0m9.586 1.414a1 1 0 1 1 1.414-1.414l4.243 4.243a1 1 0 0 1 0 1.414l-4.243 4.243a1 1 0 0 1-1.414-1.415L20.328 12z"/></g></svg>\n\n </li>\n <li class="skill-svg hidden" title="Figma" tabindex="0" data-anime="right" style="--delay: 1.2s">\n <svg class="svg-skill" viewBox="0 0 24 24">\n <g fill="none" stroke="currentColor" stroke-width="1.5">\n <path d="M12 2H8.667a3.333 3.333 0 1 0 0 6.667H12zm0 6.667H8.667a3.333 3.333 0 0 0 0 6.666H12z" />\n <path d="M18.667 12A3.333 3.333 0 1 1 12 12a3.333 3.333 0 0 1 6.667 0Zm-10 3.334H12v3.333a3.333 3.333 0 1 1-3.333-3.334Z" />\n <path d="M12 2h3.333a3.333 3.333 0 1 1 0 6.667H12z" />\n </g>\n </svg>\n </li>\n <li class="skill-svg hidden" title="JavaScript" tabindex="0" data-anime="bottom-left" style="--delay: 1.4s">\n <svg class="svg-skill" viewBox="0 0 15 15">\n <path fill="none" stroke="currentColor" d="M12.5 8v-.167c0-.736-.597-1.333-1.333-1.333H10a1.5 1.5 0 1 0 0 3h1a1.5 1.5 0 0 1 0 3h-1A1.5 1.5 0 0 1 8.5 11m-2-5v5a1.5 1.5 0 0 1-3 0M.5.5h14v14H.5z" />\n </svg>\n </li>\n <li class="skill-svg hidden" title="Sass" tabindex="0" data-anime="bottom" style="--delay: 1.6s">\n <svg class="svg-skill" viewBox="0 0 32 32">\n <path fill="currentColor" d="M15.092 22.146c-.015.03-.03.054 0 0m12.456-4.35c-1.006 0-1.998.23-2.9.675c-.295-.595-.6-1.115-.65-1.505c-.06-.455-.125-.725-.055-1.265s.385-1.305.38-1.36c-.005-.055-.07-.33-.715-.335s-1.2.125-1.265.295a6.09 6.09 0 0 0-.265.955c-.115.585-1.289 2.675-1.954 3.765c-.22-.425-.405-.8-.445-1.1c-.06-.455-.125-.725-.055-1.265s.385-1.305.38-1.36c-.005-.055-.07-.33-.714-.335s-1.2.125-1.265.295c-.065.17-.135.57-.265.955s-1.695 3.865-2.104 4.77c-.21.46-.39.83-.52 1.08c-.02.04-.035.065-.045.085c.015-.025.025-.05.025-.04c-.11.215-.175.335-.175.335v.005c-.085.16-.18.305-.225.305c-.03 0-.095-.42.015-.995c.235-1.21.79-3.09.785-3.155c-.005-.035.105-.36-.365-.535c-.455-.165-.62.11-.66.11s-.07.1-.07.1s.505-2.12-.97-2.12c-.92 0-2.2 1.01-2.829 1.925c-.395.215-1.25.68-2.15 1.175l-1.035.57c-.025-.025-.045-.05-.07-.075c-1.79-1.91-5.094-3.26-4.954-5.825c.05-.935.375-3.39 6.354-6.37c4.9-2.44 8.817-1.77 9.492-.28c.97 2.125-2.095 6.08-7.183 6.65c-1.94.215-2.959-.535-3.214-.815c-.265-.295-.305-.31-.405-.255c-.165.09-.06.35 0 .505c.15.395.775 1.095 1.84 1.445c.935.305 3.209.475 5.958-.59c3.089-1.19 5.494-4.505 4.788-7.28c-.718-2.82-5.394-3.745-9.815-2.175c-2.635.935-5.484 2.405-7.533 4.32C.26 11.361-.129 13.346.031 14.176c.57 2.945 4.629 4.865 6.253 6.285l-.225.125c-.815.405-3.909 2.025-4.684 3.735c-.875 1.94.145 3.33.814 3.52c2.09.58 4.229-.465 5.379-2.18s1.01-3.955.48-4.975c-.005-.015-.015-.025-.02-.04a72.558 72.558 0 0 1 1.815-1.04c-.2.54-.345 1.19-.42 2.13c-.09 1.1.365 2.525.955 3.085c.26.245.574.25.77.25c.69 0 1-.57 1.345-1.25c.425-.83.8-1.795.8-1.795s-.47 2.61.815 2.61c.47 0 .94-.605 1.15-.915v.005s.01-.02.035-.06c.05-.075.075-.12.075-.12v-.015c.19-.325.605-1.07 1.23-2.3c.81-1.59 1.584-3.575 1.584-3.575c.075.436.179.867.31 1.29c.14.475.435.995.67 1.5c-.19.26-.305.41-.305.41c0 .004.002.007.005.01c-.15.2-.32.415-.495.625c-.639.76-1.4 1.63-1.5 1.88c-.12.295-.09.515.14.685c.17.13.47.15.785.125c.575-.04.98-.18 1.175-.27a4.11 4.11 0 0 0 1.01-.53c.625-.46 1.005-1.12.97-1.99c-.02-.48-.175-.96-.365-1.41c.055-.08.115-.165.17-.25a26.716 26.716 0 0 0 1.755-3.031c.075.436.178.867.31 1.29c.12.405.355.85.57 1.285c-.93.755-1.505 1.63-1.704 2.205c-.37 1.065-.08 1.545.465 1.655c.245.05.595-.065.855-.175c.386-.129.75-.316 1.079-.555c.625-.46 1.23-1.105 1.189-1.98c-.015-.395-.125-.79-.27-1.17c.785-.33 1.805-.51 3.105-.36c2.784.325 3.329 2.065 3.224 2.79s-.69 1.13-.885 1.25c-.195.12-.255.165-.24.255c.025.13.115.125.28.095c.23-.04 1.46-.59 1.515-1.935c.08-1.7-1.555-3.57-4.45-3.555zM6.089 25.031c-.92 1.005-2.209 1.385-2.764 1.065c-.595-.346-.36-1.825.774-2.896c.69-.65 1.58-1.25 2.17-1.62c.135-.08.33-.2.57-.345a.828.828 0 0 1 .06-.035c.045-.03.095-.055.145-.085c.414 1.52.015 2.86-.955 3.915zm6.718-4.57c-.32.785-.994 2.785-1.405 2.68c-.35-.09-.565-1.615-.07-3.115c.25-.755.78-1.655 1.095-2.005c.505-.565 1.06-.745 1.19-.52c.175.295-.61 2.47-.81 2.96m5.55 2.65c-.135.07-.26.115-.32.08c-.045-.025.055-.12.055-.12s.695-.745.97-1.085c.16-.2.345-.435.545-.695c0 .025.005.05.005.08c-.006.895-.866 1.5-1.256 1.74zm4.28-.975c-.1-.07-.085-.305.25-1.035c.13-.285.43-.765.95-1.225c.059.174.091.356.095.54c-.005 1.125-.81 1.545-1.295 1.72" />\n </svg>\n </li>\n <li class="skill-svg hidden" title="React" tabindex="0" data-anime="bottom-right" style="--delay: 1.8s">\n <svg class="svg-skill" viewBox="0 0 24 24">\n <g fill="none">\n <g fill="currentColor" clip-path="url(#akarIconsReactFill0)">\n <path d="M24 11.689c0-1.59-1.991-3.097-5.044-4.031c.705-3.111.392-5.587-.988-6.38a2.145 2.145 0 0 0-1.096-.273v1.09c.225 0 .406.045.558.128c.665.382.954 1.834.729 3.703c-.054.46-.142.944-.25 1.438a23.706 23.706 0 0 0-3.106-.533a23.857 23.857 0 0 0-2.035-2.446c1.595-1.482 3.092-2.294 4.11-2.294V1c-1.346 0-3.107.959-4.888 2.622C10.21 1.97 8.448 1.02 7.103 1.02v1.09c1.013 0 2.515.808 4.11 2.28c-.685.72-1.37 1.536-2.021 2.441a22.844 22.844 0 0 0-3.111.538a14.683 14.683 0 0 1-.255-1.418c-.23-1.87.054-3.322.715-3.708c.146-.088.337-.128.562-.128v-1.09c-.41 0-.783.088-1.105.273c-1.375.793-1.683 3.263-.974 6.365C1.981 8.603 0 10.104 0 11.689c0 1.59 1.991 3.097 5.044 4.03c-.705 3.112-.392 5.588.988 6.38c.318.186.69.274 1.1.274c1.346 0 3.107-.959 4.888-2.622c1.78 1.653 3.541 2.602 4.887 2.602a2.18 2.18 0 0 0 1.105-.274c1.375-.792 1.683-3.262.974-6.364C22.019 14.781 24 13.274 24 11.689m-6.37-3.263a22.023 22.023 0 0 1-.66 1.932a26.444 26.444 0 0 0-1.345-2.319c.695.103 1.365.23 2.006.387m-2.24 5.21a25.94 25.94 0 0 1-1.179 1.869a25.453 25.453 0 0 1-4.412.005a25.457 25.457 0 0 1-2.201-3.806a26.064 26.064 0 0 1 2.192-3.82a25.455 25.455 0 0 1 4.411-.006c.406.582.803 1.204 1.184 1.86c.372.64.71 1.29 1.018 1.946a27.41 27.41 0 0 1-1.013 1.952M16.97 13c.264.656.49 1.311.675 1.947c-.64.157-1.316.289-2.015.391A27.044 27.044 0 0 0 16.97 13m-4.96 5.22c-.455-.47-.91-.993-1.36-1.566c.44.02.89.035 1.345.035c.46 0 .915-.01 1.36-.035c-.44.573-.895 1.096-1.345 1.566m-3.64-2.882a22.113 22.113 0 0 1-2.006-.386c.181-.631.406-1.282.66-1.932c.201.39.412.782.642 1.174c.23.391.464.773.704 1.144m3.615-10.18c.455.47.91.993 1.36 1.566c-.44-.02-.89-.035-1.345-.035c-.46 0-.915.01-1.36.035c.44-.573.895-1.096 1.345-1.566M8.365 8.04a27.02 27.02 0 0 0-1.34 2.333a20.96 20.96 0 0 1-.675-1.947c.64-.152 1.316-.284 2.015-.386m-4.427 6.124c-1.732-.738-2.852-1.707-2.852-2.475s1.12-1.742 2.852-2.475c.42-.181.88-.343 1.355-.494c.279.958.646 1.956 1.1 2.979a23.165 23.165 0 0 0-1.085 2.964a14.875 14.875 0 0 1-1.37-.499m2.632 6.99c-.665-.38-.954-1.834-.729-3.702c.054-.46.142-.945.25-1.439c.958.235 2.005.416 3.106.534a23.87 23.87 0 0 0 2.035 2.446c-1.595 1.482-3.092 2.294-4.11 2.294a1.167 1.167 0 0 1-.552-.132m11.604-3.727c.23 1.869-.054 3.322-.715 3.708c-.146.088-.337.127-.562.127c-1.013 0-2.515-.807-4.11-2.28a23.01 23.01 0 0 0 2.021-2.44a22.843 22.843 0 0 0 3.111-.538c.113.494.2.968.255 1.423m1.883-3.263c-.42.181-.88.343-1.355.494a23.482 23.482 0 0 0-1.1-2.979c.45-1.017.811-2.01 1.085-2.964a15.3 15.3 0 0 1 1.375.499c1.732.738 2.852 1.707 2.852 2.475c-.005.768-1.125 1.742-2.857 2.475" />\n <path d="M11.995 13.925a2.236 2.236 0 1 0 0-4.472a2.236 2.236 0 0 0 0 4.472" />\n </g>\n <defs>\n <clipPath id="akarIconsReactFill0">\n <path fill="#fff" d="M0 0h24v24H0z" />\n </clipPath>\n </defs>\n </g>\n </svg>\n </li>\n '}},{key:"init",value:function(){this.updateSvg()}}])}(),j={"/index.html":function(){new b(".main-content",".title-alert").init()},"/":function(){new b(".main-content",".title-alert").init()},"/about.html":function(){new C("#year").init(),new M(".img-aside","#about").init()},"/skill.html":function(){new S(".svg-list").init(),new L(".skill-list").init(),new y(".skill-list",".skill-svg").init()},"/project.html":function(){new x(".list-project").init(),new M(".image-project","#project").init()},"/contact.html":function(){new E(".contact-email",".email-text").init()}};const A=function(){var e=window.location.pathname,t=j[e];t&&t(),new w(".hidden").init()};var z=function(){return h((function e(){var t;l(this,e),this.handleNavigationClick=this.handleNavigationClick.bind(this),this.handlePopState=this.handlePopState.bind(this),this.applyEventListeners(),this.loadingContent=((t=document.createElement("div")).id="loading",t.innerHTML=' \n <svg width="80" height="80" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 1 1-6.219-8.56"/></svg>\n ',t)}),[{key:"showLoading",value:function(){document.body.appendChild(this.loadingContent),document.body.classList.add("loading")}},{key:"hideLoading",value:function(){document.body.classList.remove("loading"),document.body.removeChild(this.loadingContent)}},{key:"handleNavigationClick",value:(n=t(i().mark((function e(t){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),n=t.target.href,window.location.href===n){e.next=6;break}return window.history.pushState(null,null,n),e.next=6,this.loadPage(n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"loadPage",value:(e=t(i().mark((function e(t){var n,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.showLoading(),e.next=4,fetch(t);case 4:if((n=e.sent).ok){e.next=7;break}throw new Error("Problema na resposta da rede");case 7:return e.next=9,n.text();case 9:a=e.sent,this.updateContent(a),A(),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.error("Falha ao buscar a página:",e.t0);case 17:return e.prev=17,this.hideLoading(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[0,14,17,20]])}))),function(t){return e.apply(this,arguments)})},{key:"updateContent",value:function(e){var t=document.createElement("div");t.innerHTML=e;var n=t.querySelector(".content"),a=document.querySelector(".content"),i=t.querySelector("title");n&&a&&(a.innerHTML=n.innerHTML),i&&(document.title=i.innerText)}},{key:"handlePopState",value:function(){this.loadPage(window.location.href)}},{key:"applyEventListeners",value:function(){var e=this;window.addEventListener("popstate",this.handlePopState),document.querySelectorAll(".nav-link").forEach((function(t){t.addEventListener("click",e.handleNavigationClick)}))}},{key:"init",value:function(){this.applyEventListeners()}}]);var e,n}(),H=function(){return h((function e(){l(this,e)}),[{key:"elementFocus",value:function(e){var t=e.target;t&&(t.style.outline="2px solid var(--contrast)",t.style.transition=".2s all linear"),t.addEventListener("focusout",(function(e){e.target.style.outline="transparent",t.style.transition="initial"}))}},{key:"init",value:function(){var e=this;window.addEventListener("keyup",(function(t){"Tab"===t.key&&e.elementFocus(t)}))}}])}();function q(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(){return h((function e(t,n,a){var i=this;l(this,e),q(this,"handleButtonClick",(function(){i.hiddenShowMenu()})),q(this,"hiddenShowMenu",(function(){i.headerMenu.classList.toggle("active"),i.headerMenu.classList.contains("active")&&window.innerWidth<=750?document.body.style.overflow="hidden":document.body.style.overflow=""})),q(this,"handleButtonKeyPress",(function(e){"Enter"===e.key&&i.hiddenShowMenu()})),this.headerMenu=document.querySelector(t),this.btnMobile=document.querySelector(n),this.btnSocial=document.querySelector(a),this.navSocial=document.querySelectorAll(".social-link")}),[{key:"init",value:function(){var e=this;this.btnMobile&&(this.btnMobile.addEventListener("click",this.handleButtonClick),this.btnMobile.addEventListener("keyup",this.handleButtonKeyPress)),this.btnSocial&&(this.btnSocial.addEventListener("click",this.handleButtonClick),this.btnSocial.addEventListener("keyup",this.handleButtonKeyPress)),this.navSocial.length&&this.navSocial.forEach((function(t){t.addEventListener("click",e.handleButtonClick),t.addEventListener("keyup",e.handleButtonKeyPress)}))}}])}(),T=function(){return h((function e(t,n){var a=this;l(this,e),q(this,"activateLink",(function(e){a.linkNavigation.forEach((function(e){return e.classList.remove(a.classActive)})),e.classList.add(a.classActive),a.headerMenu.classList.remove(a.classActive),document.body.style.overflow=""})),this.headerMenu=document.querySelector(t),this.linkNavigation=document.querySelectorAll(n),this.classActive="active"}),[{key:"forEachLinks",value:function(){var e=this;this.linkNavigation.forEach((function(t){t.classList.remove(e.classActive),t.href===window.location.href&&t.classList.add(e.classActive),t.addEventListener("click",(function(t){t.preventDefault(),e.activateLink(t.target)}))})),"/"===window.location.pathname&&this.linkNavigation.length&&this.linkNavigation[0].classList.add(this.classActive)}},{key:"init",value:function(){this.forEachLinks()}}])}();var B=function(){(new H).init(),new T(".header",".nav-link").init(),new P(".header",".btn-mobile",".btn-social").init(),function(){var e,t=((e=document.createElement("section")).classList.add("social-content"),e.innerHTML='\n <a href="https://github.com/KelGs" class="social-link" target="_blank" rel="noopener noreferer">\n <svg \n width="30" \n height="30" \n viewBox="0 0 24 24" \n fill="none" \n stroke="currentColor" \n stroke-width=".5" \n aria-label="Icone do Github">\n >\n <path fill="currentColor" d="M9.653 20.865a.501.501 0 0 0-.59-.492c-1.59.295-3.608.299-4.194-1.347a5.622 5.622 0 0 0-1.679-2.249a1.46 1.46 0 0 1-.408-.31a.5.5 0 0 0-.491-.42h-.002a.5.5 0 0 0-.5.499c-.003.57.71.997.922 1.11c.53.475.947 1.064 1.222 1.721c.348.98 1.41 2.495 4.722 2.072c.003.365.008.553.012.697l.005.294a.5.5 0 0 0 1 0l-.005-.322a38.783 38.783 0 0 1-.014-1.253M20.921 5.224a7.357 7.357 0 0 0-.096-.119c.067-.21.12-.427.158-.645a6.033 6.033 0 0 0-.397-3.17a.5.5 0 0 0-.309-.29c-.141-.047-1.433-.395-4.13 1.382a13.973 13.973 0 0 0-6.884 0C6.567.626 5.283.955 5.14.997a.503.503 0 0 0-.316.292a6.038 6.038 0 0 0-.394 3.219c.038.2.087.397.145.592a3.584 3.584 0 0 0-.1.128A5.946 5.946 0 0 0 3.2 9.002c-.002.31.012.62.043.929c.34 4.664 3.349 5.962 5.947 6.405a3.807 3.807 0 0 0-.376.967a.5.5 0 0 0 .971.238c.093-.46.325-.88.665-1.202a.5.5 0 0 0-.272-.874C7.422 15.152 4.56 14.24 4.24 9.84a7.683 7.683 0 0 1-.039-.838a4.982 4.982 0 0 1 1.07-3.168c.076-.102.16-.194.243-.286a.501.501 0 0 0 .096-.516a4.05 4.05 0 0 1-.194-.695a4.955 4.955 0 0 1 .232-2.39a6.71 6.71 0 0 1 3.248 1.39a.497.497 0 0 0 .414.067a12.973 12.973 0 0 1 6.793 0a.5.5 0 0 0 .415-.067a6.555 6.555 0 0 1 3.242-1.398a4.94 4.94 0 0 1 .237 2.356a3.877 3.877 0 0 1-.206.737a.501.501 0 0 0 .097.516c.088.097.175.205.253.302a4.913 4.913 0 0 1 1.07 3.152c.002.286-.012.572-.042.856c-.317 4.381-3.19 5.292-5.957 5.607a.5.5 0 0 0-.273.874c.345.325.576.752.659 1.219c.085.329.125.668.118 1.008v2.46c-.01.675-.01 1.182-.01 1.414a.5.5 0 0 0 1 0c0-.23 0-.731.01-1.407v-2.467a4.633 4.633 0 0 0-.15-1.255a3.653 3.653 0 0 0-.367-.975c2.609-.442 5.63-1.74 5.966-6.385c.033-.315.049-.632.046-.949a5.892 5.892 0 0 0-1.29-3.778" />\n </svg>\n </a>\n \n <a \n href="https://www.linkedin.com/in/kelgs/" \n class="social-link" \n target="_blank" \n rel="noopener noreferer">\n <svg \n width="34" \n height="34"\n viewBox="0 0 256 256"\n >\n <path fill="currentColor" d="M216 24H40a16 16 0 0 0-16 16v176a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V40a16 16 0 0 0-16-16m0 192H40V40h176zM96 112v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0m88 28v36a8 8 0 0 1-16 0v-36a20 20 0 0 0-40 0v36a8 8 0 0 1-16 0v-64a8 8 0 0 1 15.79-1.78A36 36 0 0 1 184 140m-84-56a12 12 0 1 1-12-12a12 12 0 0 1 12 12" />\n </svg>\n </a>\n\n <a \n href="https://api.whatsapp.com/send?phone=5561991897102" \n class="social-link" \n target="_blank" \n rel="noopener noreferer"\n >\n <svg \n width="32" \n height="32" \n viewBox="0 0 24 24"\n aria-label="Icone do Whastapp"\n >\n <path fill="currentColor" d="M19.05 4.91A9.816 9.816 0 0 0 12.04 2c-5.46 0-9.91 4.45-9.91 9.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91c0-2.65-1.03-5.14-2.9-7.01m-7.01 15.24c-1.48 0-2.93-.4-4.2-1.15l-.3-.18l-3.12.82l.83-3.04l-.2-.31a8.264 8.264 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24c2.2 0 4.27.86 5.82 2.42a8.183 8.183 0 0 1 2.41 5.83c.02 4.54-3.68 8.23-8.22 8.23m4.52-6.16c-.25-.12-1.47-.72-1.69-.81c-.23-.08-.39-.12-.56.12c-.17.25-.64.81-.78.97c-.14.17-.29.19-.54.06c-.25-.12-1.05-.39-1.99-1.23c-.74-.66-1.23-1.47-1.38-1.72c-.14-.25-.02-.38.11-.51c.11-.11.25-.29.37-.43s.17-.25.25-.41c.08-.17.04-.31-.02-.43s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31c-.22.25-.86.85-.86 2.07c0 1.22.89 2.4 1.01 2.56c.12.17 1.75 2.67 4.23 3.74c.59.26 1.05.41 1.41.52c.59.19 1.13.16 1.56.1c.48-.07 1.47-.6 1.67-1.18c.21-.58.21-1.07.14-1.18s-.22-.16-.47-.28" />\n </svg>\n </a>\n ',e);document.querySelector(".header").appendChild(t)}()};function O(){return(O=t(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,window.addEventListener("load",(function e(){document.querySelector(".container").style.display="grid",document.querySelector("#pre-loader").remove(),window.removeEventListener("load",e)})),e.next=4,f();case 4:return(new z).init(),e.next=7,new Promise((function(e){return setTimeout(e,500)}));case 7:A(),B(),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.error("Erro durante a inicialização:",e.t0);case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}!function(){O.apply(this,arguments)}()})()})();