document.querySelector("#profile-img-file-input")&&document.querySelector("#profile-img-file-input").addEventListener("change",function(){var e=document.querySelector(".user-profile-image"),t=document.querySelector(".profile-img-file-input").files[0],i=new FileReader;i.addEventListener("load",function(){e.src=i.result},!1),t&&i.readAsDataURL(t)}),document.querySelector("#profile-img-file-input1")&&document.querySelector("#profile-img-file-input1").addEventListener("change",function(){var e=document.querySelector(".user-profile-image1"),t=document.querySelector(".profile-img-file-input1").files[0],i=new FileReader;i.addEventListener("load",function(){e.src=i.result},!1),t&&i.readAsDataURL(t)});class FlatpickrDemo{init(){document.getElementById("preloading-timepicker").flatpickr({enableTime:!0,noCalendar:!0,dateFormat:"H:i",defaultDate:"07:45"}),document.getElementById("preloading-timepicker2").flatpickr({enableTime:!0,noCalendar:!0,dateFormat:"H:i",defaultDate:"11:45"})}}document.addEventListener("DOMContentLoaded",function(e){(new FlatpickrDemo).init()});