{"mappings":"AAAA,MAAMA,WAAaC,SAASC,cAAc,gBACpCC,SAAWF,SAASC,cAAc,aAClCE,SAAWH,SAASC,cAAc,cAExC,SAASG,UACP,MAAMC,EAAM,IAAIC,KAEVC,EAAUF,EAAIG,aACdC,EAAiBF,EAAW,GAAM,IAAM,GAC9CR,WAAWW,MAAMC,UAAY,UAAUF,QAEvC,MAAMG,EAAOP,EAAIQ,aACXC,EAAcF,EAAQ,GAAM,IAAML,EAAW,GAAM,EAAI,GAC7DL,SAASQ,MAAMC,UAAY,UAAUG,QAErC,MACMC,EADOV,EAAIW,WACW,GAAM,IAAMJ,EAAQ,GAAM,GAAK,GAC3DT,SAASO,MAAMC,UAAY,UAAUI,QAGvCE,YAAYb,QAAS,KAErBA","sources":["script.js"],"sourcesContent":["const secondHand = document.querySelector(\".second-hand\");\nconst minsHand = document.querySelector(\".min-hand\");\nconst hourHand = document.querySelector(\".hour-hand\");\n\nfunction setDate() {\n const now = new Date();\n\n const seconds = now.getSeconds();\n const secondsDegrees = (seconds / 60) * 360 + 90;\n secondHand.style.transform = `rotate(${secondsDegrees}deg)`;\n\n const mins = now.getMinutes();\n const minsDegrees = (mins / 60) * 360 + (seconds / 60) * 6 + 90;\n minsHand.style.transform = `rotate(${minsDegrees}deg)`;\n\n const hour = now.getHours();\n const hourDegrees = (hour / 12) * 360 + (mins / 60) * 30 + 90;\n hourHand.style.transform = `rotate(${hourDegrees}deg)`;\n}\n\nsetInterval(setDate, 1000);\n\nsetDate();\n"],"names":["secondHand","document","querySelector","minsHand","hourHand","setDate","now","Date","seconds","getSeconds","secondsDegrees","style","transform","mins","getMinutes","minsDegrees","hourDegrees","getHours","setInterval"],"version":3,"file":"index.d53569e7.js.map"}