{"version":3,"file":"gerador-curriculo.min.js","mappings":"ymBAEO,SAA2BA,EAAcC,EAAe,EAAGC,EAAa,MCDpEC,UAAUC,cAAcC,QDK/BC,SAASC,iBAAiB,aAAcC,IAEpCF,SAASG,iBAAiBT,GAAcU,SAAQC,IAC5C,MAAMC,EAAsB,MAAdV,EAAqBA,EAAaS,EAAME,aAAa,cAE7DC,GAAKC,OAAOC,WAAaR,EAAES,MAAQL,GAAS,IAC5CM,GAAKH,OAAOI,YAAcX,EAAEY,MAAQR,GAAS,IACnDD,EAAMU,MAAMC,UAAY,cAAcR,mBAAmBI,cAAcjB,IAAe,GACxF,GAGV,CEfAsB,CAAkB,iBAAkB,G","sources":["webpack://configuracao/./js/utilidades/elementoFlutuante.js","webpack://configuracao/./js/utilidades/dispositivoMobile.js","webpack://configuracao/./js/gerador-curriculo.js"],"sourcesContent":["import { dispositivoMobile } from \"./dispositivoMobile\";\r\n\r\nexport function elementoFlutuante(classeObjeto, escalaObjeto = 1, velocidade = null) {\r\n    if (dispositivoMobile()) {\r\n        return;\r\n    }\r\n    document.addEventListener(\"mousemove\", (e) => {\r\n\r\n        document.querySelectorAll(classeObjeto).forEach(layer => {\r\n            const speed = velocidade != null ? velocidade : layer.getAttribute('data-speed');\r\n\r\n            const x = (window.innerWidth - e.pageX * speed) / 100;\r\n            const y = (window.innerHeight - e.pageY * speed) / 100;\r\n            layer.style.transform = `translateX(${x}px) translateY(${y}px) scale(${escalaObjeto})`;\r\n        });\r\n\r\n    });\r\n}\r\n","export function dispositivoMobile() {\r\n    return navigator.userAgentData.mobile;\r\n}\r\n","import { elementoFlutuante } from '../js/utilidades/elementoFlutuante';\r\n\r\nelementoFlutuante('.card-parallax', 0.8);"],"names":["classeObjeto","escalaObjeto","velocidade","navigator","userAgentData","mobile","document","addEventListener","e","querySelectorAll","forEach","layer","speed","getAttribute","x","window","innerWidth","pageX","y","innerHeight","pageY","style","transform","elementoFlutuante"],"sourceRoot":""}