PageSourceSearch

https://eloko.netlify.app/assets/js/intlTelInput.min.js

js eloko.netlify.app collected 2026-10-03 10:41:35 UTC 42,829 bytes, 972 lines download raw bytes

1/*
2 * International Telephone Input v17.0.0
3 * https://github.com/jackocnr/intl-tel-input.git
4 * Licensed under the MIT license
5 */
6
7! function (a) {
8  "object" == typeof module && module.exports ? module.exports = a() : window.intlTelInput = a()
9}(function (a) {
10  "use strict";
11  return function () {
12    function b(a, b) {
13      if (!(a instanceof b)) throw new TypeError("Cannot call a class as a function")
14    }
15
16    function c(a, b) {
17      for (var c = 0; c < b.length; c++) {
18        var d = b[c];
19        d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(a, d.key, d)
20      }
21    }
22
23    function d(a, b, d) {
24      return b && c(a.prototype, b), d && c(a, d), a
25    }
26    for (var e = [
27        ["Afghanistan (‫افغانستان‬‎)", "af", "93"],
28        ["Albania (Shqipëri)", "al", "355"],
29        ["Algeria (‫الجزائر‬‎)", "dz", "213"],
30        ["American Samoa", "as", "1", 5, ["684"]],
31        ["Andorra", "ad", "376"],
32        ["Angola", "ao", "244"],
33        ["Anguilla", "ai", "1", 6, ["264"]],
34        ["Antigua and Barbuda", "ag", "1", 7, ["268"]],
35        ["Argentina", "ar", "54"],
36        ["Armenia (Հայաստան)", "am", "374"],
37        ["Aruba", "aw", "297"],
38        ["Australia", "au", "61", 0],
39        ["Austria (Österreich)", "at", "43"],
40        ["Azerbaijan (Azərbaycan)", "az", "994"],
41        ["Bahamas", "bs", "1", 8, ["242"]],
42        ["Bahrain (‫البحرين‬‎)", "bh", "973"],
43        ["Bangladesh (বাংলাদেশ)", "bd", "880"],
44        ["Barbados", "bb", "1", 9, ["246"]],
45        ["Belarus (Беларусь)", "by", "375"],
46        ["Belgium (België)", "be", "32"],
47        ["Belize", "bz", "501"],
48        ["Benin (Bénin)", "bj", "229"],
49        ["Bermuda", "bm", "1", 10, ["441"]],
50        ["Bhutan (འབྲུག)", "bt", "975"],
51        ["Bolivia", "bo", "591"],
52        ["Bosnia and Herzegovina (Босна и Херцеговина)", "ba", "387"],
53        ["Botswana", "bw", "267"],
54        ["Brazil (Brasil)", "br", "55"],
55        ["British Indian Ocean Territory", "io", "246"],
56        ["British Virgin Islands", "vg", "1", 11, ["284"]],
57        ["Brunei", "bn", "673"],
58        ["Bulgaria (България)", "bg", "359"],
59        ["Burkina Faso", "bf", "226"],
60        ["Burundi (Uburundi)", "bi", "257"],
61        ["Cambodia (កម្ពុជា)", "kh", "855"],
62        ["Cameroon (Cameroun)", "cm", "237"],
63        ["Canada", "ca", "1", 1, ["204", "226", "236", "249", "250", "289", "306", "343", "365", "387", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "548", "579", "581", "587", "604", "613", "639", "647", "672", "705", "709", "742", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]],
64        ["Cape Verde (Kabu Verdi)", "cv", "238"],
65        ["Caribbean Netherlands", "bq", "599", 1, ["3", "4", "7"]],
66        ["Cayman Islands", "ky", "1", 12, ["345"]],
67        ["Central African Republic (République centrafricaine)", "cf", "236"],
68        ["Chad (Tchad)", "td", "235"],
69        ["Chile", "cl", "56"],
70        ["China (中国)", "cn", "86"],
71        ["Christmas Island", "cx", "61", 2],
72        ["Cocos (Keeling) Islands", "cc", "61", 1],
73        ["Colombia", "co", "57"],
74        ["Comoros (‫جزر القمر‬‎)", "km", "269"],
75        ["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)", "cd", "243"],
76        ["Congo (Republic) (Congo-Brazzaville)", "cg", "242"],
77        ["Cook Islands", "ck", "682"],
78        ["Costa Rica", "cr", "506"],
79        ["Côte d’Ivoire", "ci", "225"],
80        ["Croatia (Hrvatska)", "hr", "385"],
81        ["Cuba", "cu", "53"],
82        ["Curaçao", "cw", "599", 0],
83        ["Cyprus (Κύπρος)", "cy", "357"],
84        ["Czech Republic (Česká republika)", "cz", "420"],
85        ["Denmark (Danmark)", "dk", "45"],
86        ["Djibouti", "dj", "253"],
87        ["Dominica", "dm", "1", 13, ["767"]],
88        ["Dominican Republic (República Dominicana)", "do", "1", 2, ["809", "829", "849"]],
89        ["Ecuador", "ec", "593"],
90        ["Egypt (‫مصر‬‎)", "eg", "20"],
91        ["El Salvador", "sv", "503"],
92        ["Equatorial Guinea (Guinea Ecuatorial)", "gq", "240"],
93        ["Eritrea", "er", "291"],
94        ["Estonia (Eesti)", "ee", "372"],
95        ["Ethiopia", "et", "251"],
96        ["Falkland Islands (Islas Malvinas)", "fk", "500"],
97        ["Faroe Islands (Føroyar)", "fo", "298"],
98        ["Fiji", "fj", "679"],
99        ["Finland (Suomi)", "fi", "358", 0],
100        ["France", "fr", "33"],
101        ["French Guiana (Guyane française)", "gf", "594"],
102        ["French Polynesia (Polynésie française)", "pf", "689"],
103        ["Gabon", "ga", "241"],
104        ["Gambia", "gm", "220"],
105        ["Georgia (საქართველო)", "ge", "995"],
106        ["Germany (Deutschland)", "de", "49"],
107        ["Ghana (Gaana)", "gh", "233"],
108        ["Gibraltar", "gi", "350"],
109        ["Greece (Ελλάδα)", "gr", "30"],
110        ["Greenland (Kalaallit Nunaat)", "gl", "299"],
111        ["Grenada", "gd", "1", 14, ["473"]],
112        ["Guadeloupe", "gp", "590", 0],
113        ["Guam", "gu", "1", 15, ["671"]],
114        ["Guatemala", "gt", "502"],
115        ["Guernsey", "gg", "44", 1, ["1481", "7781", "7839", "7911"]],
116        ["Guinea (Guinée)", "gn", "224"],
117        ["Guinea-Bissau (Guiné Bissau)", "gw", "245"],
118        ["Guyana", "gy", "592"],
119        ["Haiti", "ht", "509"],
120        ["Honduras", "hn", "504"],
121        ["Hong Kong (香港)", "hk", "852"],
122        ["Hungary (Magyarország)", "hu", "36"],
123        ["Iceland (Ísland)", "is", "354"],
124        ["India (भारत)", "in", "91"],
125        ["Indonesia", "id", "62"],
126        ["Iran (‫ایران‬‎)", "ir", "98"],
127        ["Iraq (‫العراق‬‎)", "iq", "964"],
128        ["Ireland", "ie", "353"],
129        ["Isle of Man", "im", "44", 2, ["1624", "74576", "7524", "7924", "7624"]],
130        ["Israel (‫ישראל‬‎)", "il", "972"],
131        ["Italy (Italia)", "it", "39", 0],
132        ["Jamaica", "jm", "1", 4, ["876", "658"]],
133        ["Japan (日本)", "jp", "81"],
134        ["Jersey", "je", "44", 3, ["1534", "7509", "7700", "7797", "7829", "7937"]],
135        ["Jordan (‫الأردن‬‎)", "jo", "962"],
136        ["Kazakhstan (Казахстан)", "kz", "7", 1, ["33", "7"]],
137        ["Kenya", "ke", "254"],
138        ["Kiribati", "ki", "686"],
139        ["Kosovo", "xk", "383"],
140        ["Kuwait (‫الكويت‬‎)", "kw", "965"],
141        ["Kyrgyzstan (Кыргызстан)", "kg", "996"],
142        ["Laos (ລາວ)", "la", "856"],
143        ["Latvia (Latvija)", "lv", "371"],
144        ["Lebanon (‫لبنان‬‎)", "lb", "961"],
145        ["Lesotho", "ls", "266"],
146        ["Liberia", "lr", "231"],
147        ["Libya (‫ليبيا‬‎)", "ly", "218"],
148        ["Liechtenstein", "li", "423"],
149        ["Lithuania (Lietuva)", "lt", "370"],
150        ["Luxembourg", "lu", "352"],
151        ["Macau (澳門)", "mo", "853"],
152        ["Macedonia (FYROM) (Македонија)", "mk", "389"],
153        ["Madagascar (Madagasikara)", "mg", "261"],
154        ["Malawi", "mw", "265"],
155        ["Malaysia", "my", "60"],
156        ["Maldives", "mv", "960"],
157        ["Mali", "ml", "223"],
158        ["Malta", "mt", "356"],
159        ["Marshall Islands", "mh", "692"],
160        ["Martinique", "mq", "596"],
161        ["Mauritania (‫موريتانيا‬‎)", "mr", "222"],
162        ["Mauritius (Moris)", "mu", "230"],
163        ["Mayotte", "yt", "262", 1, ["269", "639"]],
164        ["Mexico (México)", "mx", "52"],
165        ["Micronesia", "fm", "691"],
166        ["Moldova (Republica Moldova)", "md", "373"],
167        ["Monaco", "mc", "377"],
168        ["Mongolia (Монгол)", "mn", "976"],
169        ["Montenegro (Crna Gora)", "me", "382"],
170        ["Montserrat", "ms", "1", 16, ["664"]],
171        ["Morocco (‫المغرب‬‎)", "ma", "212", 0],
172        ["Mozambique (Moçambique)", "mz", "258"],
173        ["Myanmar (Burma) (မြန်မာ)", "mm", "95"],
174        ["Namibia (Namibië)", "na", "264"],
175        ["Nauru", "nr", "674"],
176        ["Nepal (नेपाल)", "np", "977"],
177        ["Netherlands (Nederland)", "nl", "31"],
178        ["New Caledonia (Nouvelle-Calédonie)", "nc", "687"],
179        ["New Zealand", "nz", "64"],
180        ["Nicaragua", "ni", "505"],
181        ["Niger (Nijar)", "ne", "227"],
182        ["Nigeria", "ng", "234"],
183        ["Niue", "nu", "683"],
184        ["Norfolk Island", "nf", "672"],
185        ["North Korea (조선 민주주의 인민 공화국)", "kp", "850"],
186        ["Northern Mariana Islands", "mp", "1", 17, ["670"]],
187        ["Norway (Norge)", "no", "47", 0],
188        ["Oman (‫عُمان‬‎)", "om", "968"],
189        ["Pakistan (‫پاکستان‬‎)", "pk", "92"],
190        ["Palau", "pw", "680"],
191        ["Palestine (‫فلسطين‬‎)", "ps", "970"],
192        ["Panama (Panamá)", "pa", "507"],
193        ["Papua New Guinea", "pg", "675"],
194        ["Paraguay", "py", "595"],
195        ["Peru (Perú)", "pe", "51"],
196        ["Philippines", "ph", "63"],
197        ["Poland (Polska)", "pl", "48"],
198        ["Portugal", "pt", "351"],
199        ["Puerto Rico", "pr", "1", 3, ["787", "939"]],
200        ["Qatar (‫قطر‬‎)", "qa", "974"],
201        ["Réunion (La Réunion)", "re", "262", 0],
202        ["Romania (România)", "ro", "40"],
203        ["Russia (Россия)", "ru", "7", 0],
204        ["Rwanda", "rw", "250"],
205        ["Saint Barthélemy", "bl", "590", 1],
206        ["Saint Helena", "sh", "290"],
207        ["Saint Kitts and Nevis", "kn", "1", 18, ["869"]],
208        ["Saint Lucia", "lc", "1", 19, ["758"]],
209        ["Saint Martin (Saint-Martin (partie française))", "mf", "590", 2],
210        ["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)", "pm", "508"],
211        ["Saint Vincent and the Grenadines", "vc", "1", 20, ["784"]],
212        ["Samoa", "ws", "685"],
213        ["San Marino", "sm", "378"],
214        ["São Tomé and Príncipe (São Tomé e Príncipe)", "st", "239"],
215        ["Saudi Arabia (‫المملكة العربية السعودية‬‎)", "sa", "966"],
216        ["Senegal (Sénégal)", "sn", "221"],
217        ["Serbia (Србија)", "rs", "381"],
218        ["Seychelles", "sc", "248"],
219        ["Sierra Leone", "sl", "232"],
220        ["Singapore", "sg", "65"],
221        ["Sint Maarten", "sx", "1", 21, ["721"]],
222        ["Slovakia (Slovensko)", "sk", "421"],
223        ["Slovenia (Slovenija)", "si", "386"],
224        ["Solomon Islands", "sb", "677"],
225        ["Somalia (Soomaaliya)", "so", "252"],
226        ["South Africa", "za", "27"],
227        ["South Korea (대한민국)", "kr", "82"],
228        ["South Sudan (‫جنوب السودان‬‎)", "ss", "211"],
229        ["Spain (España)", "es", "34"],
230        ["Sri Lanka (ශ්‍රී ලංකාව)", "lk", "94"],
231        ["Sudan (‫السودان‬‎)", "sd", "249"],
232        ["Suriname", "sr", "597"],
233        ["Svalbard and Jan Mayen", "sj", "47", 1, ["79"]],
234        ["Swaziland", "sz", "268"],
235        ["Sweden (Sverige)", "se", "46"],
236        ["Switzerland (Schweiz)", "ch", "41"],
237        ["Syria (‫سوريا‬‎)", "sy", "963"],
238        ["Taiwan (台灣)", "tw", "886"],
239        ["Tajikistan", "tj", "992"],
240        ["Tanzania", "tz", "255"],
241        ["Thailand (ไทย)", "th", "66"],
242        ["Timor-Leste", "tl", "670"],
243        ["Togo", "tg", "228"],
244        ["Tokelau", "tk", "690"],
245        ["Tonga", "to", "676"],
246        ["Trinidad and Tobago", "tt", "1", 22, ["868"]],
247        ["Tunisia (‫تونس‬‎)", "tn", "216"],
248        ["Turkey (Türkiye)", "tr", "90"],
249        ["Turkmenistan", "tm", "993"],
250        ["Turks and Caicos Islands", "tc", "1", 23, ["649"]],
251        ["Tuvalu", "tv", "688"],
252        ["U.S. Virgin Islands", "vi", "1", 24, ["340"]],
253        ["Uganda", "ug", "256"],
254        ["Ukraine (Україна)", "ua", "380"],
255        ["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)", "ae", "971"],
256        ["United Kingdom", "gb", "44", 0],
257        ["United States", "us", "1", 0],
258        ["Uruguay", "uy", "598"],
259        ["Uzbekistan (Oʻzbekiston)", "uz", "998"],
260        ["Vanuatu", "vu", "678"],
261        ["Vatican City (Città del Vaticano)", "va", "39", 1, ["06698"]],
262        ["Venezuela", "ve", "58"],
263        ["Vietnam (Việt Nam)", "vn", "84"],
264        ["Wallis and Futuna (Wallis-et-Futuna)", "wf", "681"],
265        ["Western Sahara (‫الصحراء الغربية‬‎)", "eh", "212", 1, ["5288", "5289"]],
266        ["Yemen (‫اليمن‬‎)", "ye", "967"],
267        ["Zambia", "zm", "260"],
268        ["Zimbabwe", "zw", "263"],
269        ["Åland Islands", "ax", "358", 1, ["18"]]
270      ], f = 0; f < e.length; f++) {
271      var g = e[f];
272      e[f] = {
273        name: g[0],
274        iso2: g[1],
275        dialCode: g[2],
276        priority: g[3] || 0,
277        areaCodes: g[4] || null
278      }
279    }
280    var h = {
281      getInstance: function (a) {
282        var b = a.getAttribute("data-intl-tel-input-id");
283        return window.intlTelInputGlobals.instances[b]
284      },
285      instances: {}
286    };
287    "object" == typeof window && (window.intlTelInputGlobals = h);
288    var i = 0,
289      j = {
290        allowDropdown: !0,
291        autoHideDialCode: !0,
292        autoPlaceholder: "polite",
293        customContainer: "",
294        customPlaceholder: null,
295        dropdownContainer: null,
296        excludeCountries: [],
297        formatOnDisplay: !0,
298        geoIpLookup: null,
299        hiddenInput: "",
300        initialCountry: "",
301        localizedCountries: null,
302        nationalMode: !0,
303        onlyCountries: [],
304        placeholderNumberType: "MOBILE",
305        preferredCountries: ["us", "gb"],
306        separateDialCode: !1,
307        utilsScript: ""
308      },
309      k = ["800", "822", "833", "844", "855", "866", "877", "880", "881", "882", "883", "884", "885", "886", "887", "888", "889"];
310    "object" == typeof window && window.addEventListener("load", function () {
311      window.intlTelInputGlobals.windowLoaded = !0
312    });
313    var l = function (a, b) {
314        for (var c = Object.keys(a), d = 0; d < c.length; d++) b(c[d], a[c[d]])
315      },
316      m = function (a) {
317        l(window.intlTelInputGlobals.instances, function (b) {
318          window.intlTelInputGlobals.instances[b][a]()
319        })
320      },
321      n = function () {
322        function c(a, d) {
323          var e = this;
324          b(this, c), this.id = i++, this.a = a, this.b = null, this.c = null;
325          var f = d || {};
326          this.d = {}, l(j, function (a, b) {
327            e.d[a] = f.hasOwnProperty(a) ? f[a] : b
328          }), this.e = Boolean(a.getAttribute("placeholder"))
329        }
330        return d(c, [{
331          key: "_init",
332          value: function () {
333            var a = this;
334            if (this.d.nationalMode && (this.d.autoHideDialCode = !1), this.d.separateDialCode && (this.d.autoHideDialCode = this.d.nationalMode = !1), this.g = /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), this.g && (document.body.classList.add("iti-mobile"), this.d.dropdownContainer || (this.d.dropdownContainer = document.body)), "undefined" != typeof Promise) {
335              var b = new Promise(function (b, c) {
336                  a.h = b, a.i = c
337                }),
338                c = new Promise(function (b, c) {
339                  a.i0 = b, a.i1 = c
340                });
341              this.promise = Promise.all([b, c])
342            } else this.h = this.i = function () {}, this.i0 = this.i1 = function () {};
343            this.s = {}, this._b(), this._f(), this._h(), this._i(), this._i3()
344          }
345        }, {
346          key: "_b",
347          value: function () {
348            this._d(), this._d2(), this._e(), this.d.localizedCountries && this._d0(), (this.d.onlyCountries.length || this.d.localizedCountries) && this.p.sort(this._d1)
349          }
350        }, {
351          key: "_c",
352          value: function (b, c, d) {
353            c.length > this.dialCodeMaxLen && (this.dialCodeMaxLen = c.length), this.q.hasOwnProperty(c) || (this.q[c] = []);
354            for (var e = 0; e < this.q[c].length; e++)
355              if (this.q[c][e] === b) return;
356            var f = d !== a ? d : this.q[c].length;
357            this.q[c][f] = b
358          }
359        }, {
360          key: "_d",
361          value: function () {
362            if (this.d.onlyCountries.length) {
363              var a = this.d.onlyCountries.map(function (a) {
364                return a.toLowerCase()
365              });
366              this.p = e.filter(function (b) {
367                return a.indexOf(b.iso2) > -1
368              })
369            } else if (this.d.excludeCountries.length) {
370              var b = this.d.excludeCountries.map(function (a) {
371                return a.toLowerCase()
372              });
373              this.p = e.filter(function (a) {
374                return -1 === b.indexOf(a.iso2)
375              })
376            } else this.p = e
377          }
378        }, {
379          key: "_d0",
380          value: function () {
381            for (var a = 0; a < this.p.length; a++) {
382              var b = this.p[a].iso2.toLowerCase();
383              this.d.localizedCountries.hasOwnProperty(b) && (this.p[a].name = this.d.localizedCountries[b])
384            }
385          }
386        }, {
387          key: "_d1",
388          value: function (a, b) {
389            return a.name.localeCompare(b.name)
390          }
391        }, {
392          key: "_d2",
393          value: function () {
394            this.dialCodeMaxLen = 0, this.q = {};
395            for (var a = 0; a < this.p.length; a++) {
396              var b = this.p[a];
397              this._c(b.iso2, b.dialCode, b.priority)
398            }
399            for (var c = 0; c < this.p.length; c++) {
400              var d = this.p[c];
401              if (d.areaCodes)
402                for (var e = this.q[d.dialCode][0], f = 0; f < d.areaCodes.length; f++) {
403                  for (var g = d.areaCodes[f], h = 1; h < g.length; h++) {
404                    var i = d.dialCode + g.substr(0, h);
405                    this._c(e, i), this._c(d.iso2, i)
406                  }
407                  this._c(d.iso2, d.dialCode + g)
408                }
409            }
410          }
411        }, {
412          key: "_e",
413          value: function () {
414            this.preferredCountries = [];
415            for (var a = 0; a < this.d.preferredCountries.length; a++) {
416              var b = this.d.preferredCountries[a].toLowerCase(),
417                c = this._y(b, !1, !0);
418              c && this.preferredCountries.push(c)
419            }
420          }
421        }, {
422          key: "_e2",
423          value: function (a, b, c) {
424            var d = document.createElement(a);
425            return b && l(b, function (a, b) {
426              return d.setAttribute(a, b)
427            }), c && c.appendChild(d), d
428          }
429        }, {
430          key: "_f",
431          value: function () {
432            this.a.hasAttribute("autocomplete") || this.a.form && this.a.form.hasAttribute("autocomplete") || this.a.setAttribute("autocomplete", "off");
433            var a = "iti";
434            this.d.allowDropdown && (a += " iti--allow-dropdown"), this.d.separateDialCode && (a += " iti--separate-dial-code"), this.d.customContainer && (a += " ", a += this.d.customContainer);
435            var b = this._e2("div", {
436              "class": a
437            });
438            if (this.a.parentNode.insertBefore(b, this.a), this.k = this._e2("div", {
439                "class": "iti__flag-container"
440              }, b), b.appendChild(this.a), this.selectedFlag = this._e2("div", {
441                "class": "iti__selected-flag",
442                role: "combobox",
443                "aria-owns": "iti-".concat(this.id, "__country-listbox"),
444                "aria-expanded": "false"
445              }, this.k), this.l = this._e2("div", {
446                "class": "iti__flag"
447              }, this.selectedFlag), this.d.separateDialCode && (this.t = this._e2("div", {
448                "class": "iti__selected-dial-code"
449              }, this.selectedFlag)), this.d.allowDropdown && (this.selectedFlag.setAttribute("tabindex", "0"), this.u = this._e2("div", {
450                "class": "iti__arrow"
451              }, this.selectedFlag), this.m = this._e2("ul", {
452                "class": "iti__country-list iti__hide",
453                id: "iti-".concat(this.id, "__country-listbox"),
454                role: "listbox"
455              }), this.preferredCountries.length && (this._g(this.preferredCountries, "iti__preferred", !0), this._e2("li", {
456                "class": "iti__divider",
457                role: "separator",
458                "aria-disabled": "true"
459              }, this.m)), this._g(this.p, "iti__standard"), this.d.dropdownContainer ? (this.dropdown = this._e2("div", {
460                "class": "iti iti--container"
461              }), this.dropdown.appendChild(this.m)) : this.k.appendChild(this.m)), this.d.hiddenInput) {
462              var c = this.d.hiddenInput,
463                d = this.a.getAttribute("name");
464              if (d) {
465                var e = d.lastIndexOf("["); - 1 !== e && (c = "".concat(d.substr(0, e), "[").concat(c, "]"))
466              }
467              this.hiddenInput = this._e2("input", {
468                type: "hidden",
469                name: c
470              }), b.appendChild(this.hiddenInput)
471            }
472          }
473        }, {
474          key: "_g",
475          value: function (a, b, c) {
476            for (var d = "", e = 0; e < a.length; e++) {
477              var f = a[e],
478                g = c ? "-preferred" : "";
479              d += "<li class='iti__country ".concat(b, "' tabIndex='-1' id='iti-").concat(this.id, "__item-").concat(f.iso2).concat(g, "' role='option' data-dial-code='").concat(f.dialCode, "' data-country-code='").concat(f.iso2, "'>"), d += "<div class='iti__flag-box'><div class='iti__flag iti__".concat(f.iso2, "'></div></div>"), d += "<span class='iti__country-name'>".concat(f.name, "</span>"), d += "<span class='iti__dial-code'>+".concat(f.dialCode, "</span>"), d += "</li>"
480            }
481            this.m.insertAdjacentHTML("beforeend", d)
482          }
483        }, {
484          key: "_h",
485          value: function () {
486            var a = this.a.value,
487              b = this._5(a),
488              c = this._w(a),
489              d = this.d,
490              e = d.initialCountry,
491              f = d.nationalMode,
492              g = d.autoHideDialCode,
493              h = d.separateDialCode;
494            b && !c ? this._v(a) : "auto" !== e && (e ? this._z(e.toLowerCase()) : b && c ? this._z("us") : (this.j = this.preferredCountries.length ? this.preferredCountries[0].iso2 : this.p[0].iso2, a || this._z(this.j)), a || f || g || h || (this.a.value = "+".concat(this.s.dialCode))), a && this._u(a)
495          }
496        }, {
497          key: "_i",
498          value: function () {
499            this._j(), this.d.autoHideDialCode && this._l(), this.d.allowDropdown && this._i2(), this.hiddenInput && this._i0()
500          }
501        }, {
502          key: "_i0",
503          value: function () {
504            var a = this;
505            this._a14 = function () {
506              a.hiddenInput.value = a.getNumber()
507            }, this.a.form && this.a.form.addEventListener("submit", this._a14)
508          }
509        }, {
510          key: "_i1",
511          value: function () {
512            for (var a = this.a; a && "LABEL" !== a.tagName;) a = a.parentNode;
513            return a
514          }
515        }, {
516          key: "_i2",
517          value: function () {
518            var a = this;
519            this._a9 = function (b) {
520              a.m.classList.contains("iti__hide") ? a.a.focus() : b.preventDefault()
521            };
522            var b = this._i1();
523            b && b.addEventListener("click", this._a9), this._a10 = function () {
524              !a.m.classList.contains("iti__hide") || a.a.disabled || a.a.readOnly || a._n()
525            }, this.selectedFlag.addEventListener("click", this._a10), this._a11 = function (b) {
526              a.m.classList.contains("iti__hide") && -1 !== ["ArrowUp", "Up", "ArrowDown", "Down", " ", "Enter"].indexOf(b.key) && (b.preventDefault(), b.stopPropagation(), a._n()), "Tab" === b.ke
526y && a._2()
527            }, this.k.addEventListener("keydown", this._a11)
528          }
529        }, {
530          key: "_i3",
531          value: function () {
532            var a = this;
533            this.d.utilsScript && !window.intlTelInputUtils ? window.intlTelInputGlobals.windowLoaded ? window.intlTelInputGlobals.loadUtils(this.d.utilsScript) : window.addEventListener("load", function () {
534              window.intlTelInputGlobals.loadUtils(a.d.utilsScript)
535            }) : this.i0(), "auto" === this.d.initialCountry ? this._i4() : this.h()
536          }
537        }, {
538          key: "_i4",
539          value: function () {
540            window.intlTelInputGlobals.autoCountry ? this.handleAutoCountry() : window.intlTelInputGlobals.startedLoadingAutoCountry || (window.intlTelInputGlobals.startedLoadingAutoCountry = !0, "function" == typeof this.d.geoIpLookup && this.d.geoIpLookup(function (a) {
541              window.intlTelInputGlobals.autoCountry = a.toLowerCase(), setTimeout(function () {
542                return m("handleAutoCountry")
543              })
544            }, function () {
545              return m("rejectAutoCountryPromise")
546            }))
547          }
548        }, {
549          key: "_j",
550          value: function () {
551            var a = this;
552            this._a12 = function () {
553              a._v(a.a.value) && a._8()
554            }, this.a.addEventListener("keyup", this._a12), this._a13 = function () {
555              setTimeout(a._a12)
556            }, this.a.addEventListener("cut", this._a13), this.a.addEventListener("paste", this._a13)
557          }
558        }, {
559          key: "_j2",
560          value: function (a) {
561            var b = this.a.getAttribute("maxlength");
562            return b && a.length > b ? a.substr(0, b) : a
563          }
564        }, {
565          key: "_l",
566          value: function () {
567            var a = this;
568            this._a8 = function () {
569              a._l2()
570            }, this.a.form && this.a.form.addEventListener("submit", this._a8), this.a.addEventListener("blur", this._a8)
571          }
572        }, {
573          key: "_l2",
574          value: function () {
575            if ("+" === this.a.value.charAt(0)) {
576              var a = this._m(this.a.value);
577              a && this.s.dialCode !== a || (this.a.value = "")
578            }
579          }
580        }, {
581          key: "_m",
582          value: function (a) {
583            return a.replace(/\D/g, "")
584          }
585        }, {
586          key: "_m2",
587          value: function (a) {
588            var b = document.createEvent("Event");
589            b.initEvent(a, !0, !0), this.a.dispatchEvent(b)
590          }
591        }, {
592          key: "_n",
593          value: function () {
594            this.m.classList.remove("iti__hide"), this.selectedFlag.setAttribute("aria-expanded", "true"), this._o(), this.b && (this._x(this.b, !1), this._3(this.b, !0)), this._p(), this.u.classList.add("iti__arrow--up"), this._m2("open:countrydropdown")
595          }
596        }, {
597          key: "_n2",
598          value: function (a, b, c) {
599            c && !a.classList.contains(b) ? a.classList.add(b) : !c && a.classList.contains(b) && a.classList.remove(b)
600          }
601        }, {
602          key: "_o",
603          value: function () {
604            var a = this;
605            if (this.d.dropdownContainer && this.d.dropdownContainer.appendChild(this.dropdown), !this.g) {
606              var b = this.a.getBoundingClientRect(),
607                c = window.pageYOffset || document.documentElement.scrollTop,
608                d = b.top + c,
609                e = this.m.offsetHeight,
610                f = d + this.a.offsetHeight + e < c + window.innerHeight,
611                g = d - e > c;
612              if (this._n2(this.m, "iti__country-list--dropup", !f && g), this.d.dropdownContainer) {
613                var h = !f && g ? 0 : this.a.offsetHeight;
614                this.dropdown.style.top = "".concat(d + h, "px"), this.dropdown.style.left = "".concat(b.left + document.body.scrollLeft, "px"), this._a4 = function () {
615                  return a._2()
616                }, window.addEventListener("scroll", this._a4)
617              }
618            }
619          }
620        }, {
621          key: "_o2",
622          value: function (a) {
623            for (var b = a; b && b !== this.m && !b.classList.contains("iti__country");) b = b.parentNode;
624            return b === this.m ? null : b
625          }
626        }, {
627          key: "_p",
628          value: function () {
629            var a = this;
630            this._a0 = function (b) {
631              var c = a._o2(b.target);
632              c && a._x(c, !1)
633            }, this.m.addEventListener("mouseover", this._a0), this._a1 = function (b) {
634              var c = a._o2(b.target);
635              c && a._1(c)
636            }, this.m.addEventListener("click", this._a1);
637            var b = !0;
638            this._a2 = function () {
639              b || a._2(), b = !1
640            }, document.documentElement.addEventListener("click", this._a2);
641            var c = "",
642              d = null;
643            this._a3 = function (b) {
644              b.preventDefault(), "ArrowUp" === b.key || "Up" === b.key || "ArrowDown" === b.key || "Down" === b.key ? a._q(b.key) : "Enter" === b.key ? a._r() : "Escape" === b.key ? a._2() : /^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(b.key) && (d && clearTimeout(d), c += b.key.toLowerCase(), a._s(c), d = setTimeout(function () {
645                c = ""
646              }, 1e3))
647            }, document.addEventListener("keydown", this._a3)
648          }
649        }, {
650          key: "_q",
651          value: function (a) {
652            var b = "ArrowUp" === a || "Up" === a ? this.c.previousElementSibling : this.c.nextElementSibling;
653            b && (b.classList.contains("iti__divider") && (b = "ArrowUp" === a || "Up" === a ? b.previousElementSibling : b.nextElementSibling), this._x(b, !0))
654          }
655        }, {
656          key: "_r",
657          value: function () {
658            this.c && this._1(this.c)
659          }
660        }, {
661          key: "_s",
662          value: function (a) {
663            for (var b = 0; b < this.p.length; b++)
664              if (this._t(this.p[b].name, a)) {
665                var c = this.m.querySelector("#iti-".concat(this.id, "__item-").concat(this.p[b].iso2));
666                this._x(c, !1), this._3(c, !0);
667                break
668              }
669          }
670        }, {
671          key: "_t",
672          value: function (a, b) {
673            return a.substr(0, b.length).toLowerCase() === b
674          }
675        }, {
676          key: "_u",
677          value: function (a) {
678            var b = a;
679            if (this.d.formatOnDisplay && window.intlTelInputUtils && this.s) {
680              var c = !this.d.separateDialCode && (this.d.nationalMode || "+" !== b.charAt(0)),
681                d = intlTelInputUtils.numberFormat,
682                e = d.NATIONAL,
683                f = d.INTERNATIONAL,
684                g = c ? e : f;
685              b = intlTelInputUtils.formatNumber(b, this.s.iso2, g)
686            }
687            b = this._7(b), this.a.value = b
688          }
689        }, {
690          key: "_v",
691          value: function (a) {
692            var b = a,
693              c = this.s.dialCode,
694              d = "1" === c;
695            b && this.d.nationalMode && d && "+" !== b.charAt(0) && ("1" !== b.charAt(0) && (b = "1".concat(b)), b = "+".concat(b)), this.d.separateDialCode && c && "+" !== b.charAt(0) && (b = "+".concat(c).concat(b));
696            var e = this._5(b),
697              f = this._m(b),
698              g = null;
699            if (e) {
700              var h = this.q[this._m(e)],
701                i = -1 !== h.indexOf(this.s.iso2) && f.length <= e.length - 1;
702              if (!("1" === c && this._w(f)) && !i)
703                for (var j = 0; j < h.length; j++)
704                  if (h[j]) {
705                    g = h[j];
706                    break
707                  }
708            } else "+" === b.charAt(0) && f.length ? g = "" : b && "+" !== b || (g = this.j);
709            return null !== g && this._z(g)
710          }
711        }, {
712          key: "_w",
713          value: function (a) {
714            var b = this._m(a);
715            if ("1" === b.charAt(0)) {
716              var c = b.substr(1, 3);
717              return -1 !== k.indexOf(c)
718            }
719            return !1
720          }
721        }, {
722          key: "_x",
723          value: function (a, b) {
724            var c = this.c;
725            c && c.classList.remove("iti__highlight"), this.c = a, this.c.classList.add("iti__highlight"), b && this.c.focus()
726          }
727        }, {
728          key: "_y",
729          value: function (a, b, c) {
730            for (var d = b ? e : this.p, f = 0; f < d.length; f++)
731              if (d[f].iso2 === a) return d[f];
732            if (c) return null;
733            throw new Error("No country data for '".concat(a, "'"))
734          }
735        }, {
736          key: "_z",
737          value: function (a) {
738            var b = this.s.iso2 ? this.s : {};
739            this.s = a ? this._y(a, !1, !1) : {}, this.s.iso2 && (this.j = this.s.iso2), this.l.setAttribute("class", "iti__flag iti__".concat(a));
740            var c = a ? "".concat(this.s.name, ": +").concat(this.s.dialCode) : "Unknown";
741            if (this.selectedFlag.setAttribute("title", c), this.d.separateDialCode) {
742              var d = this.s.dialCode ? "+".concat(this.s.dialCode) : "";
743              this.t.innerHTML = d;
744              var e = this.selectedFlag.offsetWidth || this._getHiddenSelectedFlagWidth();
745              this.a.style.paddingLeft = "".concat(e + 6, "px")
746            }
747            if (this._0(), this.d.allowDropdown) {
748              var f = this.b;
749              if (f && (f.classList.remove("iti__active"), f.setAttribute("aria-selected", "false")), a) {
750                var g = this.m.querySelector("#iti-".concat(this.id, "__item-").concat(a, "-preferred")) || this.m.querySelector("#iti-".concat(this.id, "__item-").concat(a));
751                g.setAttribute("aria-selected", "true"), g.classList.add("iti__active"), this.b = g, this.selectedFlag.setAttribute("aria-activedescendant", g.getAttribute("id"))
752              }
753            }
754            return b.iso2 !== a
755          }
756        }, {
757          key: "_getHiddenSelectedFlagWidth",
758          value: function () {
759            var a = this.a.parentNode.cloneNode();
760            a.style.visibility = "hidden", document.body.appendChild(a);
761            var b = this.selectedFlag.cloneNode(!0);
762            a.appendChild(b);
763            var c = b.offsetWidth;
764            return a.parentNode.removeChild(a), c
765          }
766        }, {
767          key: "_0",
768          value: function () {
769            var a = "aggressive" === this.d.autoPlaceholder || !this.e && "polite" === this.d.autoPlaceholder;
770            if (window.intlTelInputUtils && a) {
771              var b = intlTelInputUtils.numberType[this.d.placeholderNumberType],
772                c = this.s.iso2 ? intlTelInputUtils.getExampleNumber(this.s.iso2, this.d.nationalMode, b) : "";
773              c = this._7(c), "function" == typeof this.d.customPlaceholder && (c = this.d.customPlaceholder(c, this.s)), this.a.setAttribute("placeholder", c)
774            }
775          }
776        }, {
777          key: "_1",
778          value: function (a) {
779            var b = this._z(a.getAttribute("data-country-code"));
780            this._2(), this._4(a.getAttribute("data-dial-code"), !0), this.a.focus();
781            var c = this.a.value.length;
782            this.a.setSelectionRange(c, c), b && this._8()
783          }
784        }, {
785          key: "_2",
786          value: function () {
787            this.m.classList.add("iti__hide"), this.selectedFlag.setAttribute("aria-expanded", "false"), this.u.classList.remove("iti__arrow--up"), document.removeEventListener("keydown", this._a3), document.documentElement.removeEventListener("click", this._a2), this.m.removeEventListener("mouseover", this._a0), this.m.removeEventListener("click", this._a1), this.d.dropdownContainer && (this.g || window.removeEventListener("scroll", this._a4), this.dropdown.parentNode && this.dropdown.parentNode.removeChild(this.dropdown)), this._m2("close:countrydropdown")
788          }
789        }, {
790          key: "_3",
791          value: function (a, b) {
792            var c = this.m,
793              d = window.pageYOffset || document.documentElement.scrollTop,
794              e = c.offsetHeight,
795              f = c.getBoundingClientRect().top + d,
796              g = f + e,
797              h = a.offsetHeight,
798              i = a.getBoundingClientRect().top + d,
799              j = i + h,
800              k = i - f + c.scrollTop,
801              l = e / 2 - h / 2;
802            if (i < f) b && (k -= l), c.scrollTop = k;
803            else if (j > g) {
804              b && (k += l);
805              var m = e - h;
806              c.scrollTop = k - m
807            }
808          }
809        }, {
810          key: "_4",
811          value: function (a, b) {
812            var c, d = this.a.value,
813              e = "+".concat(a);
814            if ("+" === d.charAt(0)) {
815              var f = this._5(d);
816              c = f ? d.replace(f, e) : e
817            } else {
818              if (this.d.nationalMode || this.d.separateDialCode) return;
819              if (d) c = e + d;
820              else {
821                if (!b && this.d.autoHideDialCode) return;
822                c = e
823              }
824            }
825            this.a.value = c
826          }
827        }, {
828          key: "_5",
829          value: function (a) {
830            var b = "";
831            if ("+" === a.charAt(0))
832              for (var c = "", d = 0; d < a.length; d++) {
833                var e = a.charAt(d);
834                if (!isNaN(parseInt(e, 10)) && (c += e, this.q[c] && (b = a.substr(0, d + 1)), c.length === this.dialCodeMaxLen)) break
835              }
836            return b
837          }
838        }, {
839          key: "_6",
840          value: function () {
841            var a = this.a.value.trim(),
842              b = this.s.dialCode,
843              c = this._m(a);
844            return (this.d.separateDialCode && "+" !== a.charAt(0) && b && c ? "+".concat(b) : "") + a
845          }
846        }, {
847          key: "_7",
848          value: function (a) {
849            var b = a;
850            if (this.d.separateDialCode) {
851              var c = this._5(b);
852              if (c) {
853                c = "+".concat(this.s.dialCode);
854                var d = " " === b[c.length] || "-" === b[c.length] ? c.length + 1 : c.length;
855                b = b.substr(d)
856              }
857            }
858            return this._j2(b)
859          }
860        }, {
861          key: "_8",
862          value: function () {
863            this._m2("countrychange")
864          }
865        }, {
866          key: "handleAutoCountry",
867          value: function () {
868            "auto" === this.d.initialCountry && (this.j = window.intlTelInputGlobals.autoCountry, this.a.value || this.setCountry(this.j), this.h())
869          }
870        }, {
871          key: "handleUtils",
872          value: function () {
873            window.intlTelInputUtils && (this.a.value && this._u(this.a.value), this._0()), this.i0()
874          }
875        }, {
876          key: "destroy",
877          value: function () {
878            var a = this.a.form;
879            if (this.d.allowDropdown) {
880              this._2(), this.selectedFlag.removeEventListener("click", this._a10), this.k.removeEventListener("keydown", this._a11);
881              var b = this._i1();
882              b && b.removeEventListener("click", this._a9)
883            }
884            this.hiddenInput && a && a.removeEventListener("submit", this._a14), this.d.autoHideDialCode && (a && a.removeEventListener("submit", this._a8), this.a.removeEventListener("blur", this._a8)), this.a.removeEventListener("keyup", this._a12), this.a.removeEventListener("cut", this._a13), this.a.removeEventListener("paste", this._a13), this.a.removeAttribute("data-intl-tel-input-id");
885            var c = this.a.parentNode;
886            c.parentNode.insertBefore(this.a, c), c.parentNode.removeChild(c), delete window.intlTelInputGlobals.instances[this.id]
887          }
888        }, {
889          key: "getExtension",
890          value: function () {
891            return window.intlTelInputUtils ? intlTelInputUtils.getExtension(this._6(), this.s.iso2) : ""
892          }
893        }, {
894          key: "getNumber",
895          value: function (a) {
896            if (window.intlTelInputUtils) {
897              var b = this.s.iso2;
898              return intlTelInputUtils.formatNumber(this._6(), b, a)
899            }
900            return ""
901          }
902        }, {
903          key: "getNumberType",
904          value: function () {
905            return window.intlTelInputUtils ? intlTelInputUtils.getNumberType(this._6(), this.s.iso2) : -99
906          }
907        }, {
908          key: "getSelectedCountryData",
909          value: function () {
910            return this.s
911          }
912        }, {
913          key: "getValidationError",
914          value: function () {
915            if (window.intlTelInputUtils) {
916              var a = this.s.iso2;
917              return intlTelInputUtils.getValidationError(this._6(), a)
918            }
919            return -99
920          }
921        }, {
922          key: "isValidNumber",
923          value: function () {
924            var a = this._6().trim(),
925              b = this.d.nationalMode ? this.s.iso2 : "";
926            return window.intlTelInputUtils ? intlTelInputUtils.isValidNumber(a, b) : null
927          }
928        }, {
929          key: "setCountry",
930          value: function (a) {
931            var b = a.toLowerCase();
932            this.l.classList.contains("iti__".concat(b)) || (this._z(b), this._4(this.s.dialCode, !1), this._8())
933          }
934        }, {
935          key: "setNumber",
936          value: function (a) {
937            var b = this._v(a);
938            this._u(a), b && this._8()
939          }
940        }, {
941          key: "setPlaceholderNumberType",
942          value: function (a) {
943            this.d.placeholderNumberType = a, this._0()
944          }
945        }]), c
946      }();
947    h.getCountryData = function () {
948      return e
949    };
950    var o = function (a, b, c) {
951      var d = document.createElement("script");
952      d.onload = function () {
953        m("handleUtils"), b && b()
954      }, d.onerror = function () {
955        m("rejectUtilsScriptPromise"), c && c()
956      }, d.className = "iti-load-utils", d.async = !0, d.src = a, document.body.appendChild(d)
957    };
958    return h.loadUtils = function (a) {
959        if (!window.intlTelInputUtils && !window.intlTelInputGlobals.startedLoadingUtilsScript) {
960          if (window.intlTelInputGlobals.startedLoadingUtilsScript = !0, "undefined" != typeof Promise) return new Promise(function (b, c) {
961            return o(a, b, c)
962          });
963          o(a)
964        }
965        return null
966      }, h.defaults = j, h.version = "17.0.0",
967      function (a, b) {
968        var c = new n(a, b);
969        return c._init(), a.setAttribute("data-intl-tel-input-id", c.id), window.intlTelInputGlobals.instances[c.id] = c, c
970      }
971  }()
972});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.