⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
hospital.dev-unit.com
/
resources
/
js
/
View File Name :
app.js
import './bootstrap'; import flatpickr from "flatpickr"; // import moment from 'moment'; import "flatpickr/dist/flatpickr.css"; import toastr from 'toastr'; import intlTelInput from "intl-tel-input"; // import "intl-tel-input/build/css/intlTelInput.css"; // const phoneInput = document.querySelector("#phoneNumber"); // const prefixCodeInput = document.querySelector("#prefix_code"); // if (phoneInput) { // const iti = intlTelInput(phoneInput, { // initialCountry: "auto", // geoIpLookup: function (callback) { // fetch('https://ipinfo.io/json?token=<YOUR_TOKEN>') // .then((resp) => resp.json()) // .then((data) => callback(data.country)) // .catch(() => callback("US")); // }, // separateDialCode: true, // utilsScript: "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/utils.js", // }); // phoneInput.addEventListener("countrychange", () => { // const dialCode = iti.getSelectedCountryData().dialCode; // if (prefixCodeInput) { // prefixCodeInput.value = dialCode; // } // }); // phoneInput.addEventListener("load", () => { // const initialDialCode = iti.getSelectedCountryData().dialCode; // if (prefixCodeInput) { // prefixCodeInput.value = initialDialCode; // } // }); // } window.flatpickr = flatpickr; window.toastr = toastr; window.moment = moment;