/*
International Telephone Input v1.1.8
https://github.com/Bluefieldscom/intl-tel-input.git
*/
!function (a) {
    "function" == typeof define && define.amd ? define(["jquery"], function (b) {
        a(b, window, document)
    }) : a(jQuery, window, document)
}(function (a, b, c, d) {
    "use strict";

    function e(b, c) {
        this.element = b, this.options = a.extend({}, h, c), this._defaults = h, this.ns = "." + f + g++, this._name = f, this.init()
    }

    var f = "intlTelInput", g = 1, h = {
        nationalMode: !1,
        autoHideDialCode: !0,
        defaultCountry: "",
        dialCodeDelimiter: " ",
        defaultStyling: "inside",
        onlyCountries: [],
        preferredCountries: ["us", "gb"],
        validationScript: ""
    }, i = {UP: 38, DOWN: 40, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90};
    e.prototype = {
        init: function () {
            this._processCountryData(), this._generateMarkup(), this._setInitialState(), this._initListeners()
        }, _processCountryData: function () {
            this._setInstanceCountryData(), this._setPreferredCountries()
        }, _setInstanceCountryData: function () {
            var b = this;
            if (this.options.onlyCountries.length) {
                var c = [], d = {};
                a.each(this.options.onlyCountries, function (a, e) {
                    var f = b._getCountryData(e, !0);
                    if (f) {
                        c.push(f);
                        var g = f.dialCode;
                        d[g] ? d[g].push(e) : d[g] = [e]
                    }
                });
                for (var e in d) if (d[e].length > 1) {
                    for (var f = [], g = 0; g < k[e].length; g++) {
                        var h = k[e][g];
                        a.inArray(d[e], h) && f.push(h)
                    }
                    d[e] = f
                }
                this.countries = c, this.countryCodes = d
            } else this.countries = j, this.countryCodes = k
        }, _setPreferredCountries: function () {
            var b = this;
            this.preferredCountries = [], a.each(this.options.preferredCountries, function (a, c) {
                var d = b._getCountryData(c, !1);
                d && b.preferredCountries.push(d)
            })
        }, _generateMarkup: function () {
            this.telInput = a(this.element);
            var b = "intl-tel-input";
            "none" != this.options.defaultStyling && (b += " pretty " + this.options.defaultStyling), this.telInput.wrap(a("<div>", {"class": b}));
            var c = a("<div>", {"class": "flag-dropdown"}).insertAfter(this.telInput),
                d = a("<div>", {"class": "selected-flag"}).appendTo(c);
            this.selectedFlagInner = a("<div>", {"class": "flag"}).appendTo(d), a("<div>", {"class": "arrow"}).appendTo(this.selectedFlagInner), this.countryList = a("<ul>", {"class": "country-list v-hide"}).appendTo(c), this.preferredCountries.length && (this._appendListItems(this.preferredCountries, "preferred"), a("<li>", {"class": "divider"}).appendTo(this.countryList)), this._appendListItems(this.countries, ""), this.dropdownHeight = this.countryList.outerHeight(), this.countryList.removeClass("v-hide").addClass("hide"), this.countryListItems = this.countryList.children(".country")
        }, _appendListItems: function (b, c) {
            var d = "";
            a.each(b, function (a, b) {
                d += "<li class='country " + c + "' data-dial-code='" + b.dialCode + "' data-country-code='" + b.iso2 + "'>", d += "<div class='flag " + b.iso2 + "'></div>", d += "<span class='country-name'>" + b.name + "</span>", d += "<span class='dial-code'>+" + b.dialCode + "</span>", d += "</li>"
            }), this.countryList.append(d)
        }, _setInitialState: function () {
            var a = !1;
            if (this.telInput.val() && (a = this._updateFlagFromInputVal()), !a) {
                var b;
                b = this.options.defaultCountry ? this._getCountryData(this.options.defaultCountry, !1) : this.preferredCountries.length ? this.preferredCountries[0] : this.countries[0], this._selectFlag(b.iso2), this.options.autoHideDialCode || this._resetToDialCode(b.dialCode)
            }
        }, _initListeners: function () {
            var d = this;
            this.options.autoHideDialCode && !this.options.nationalMode && this._initAutoHideDialCode(), this.telInput.on("keyup" + this.ns, function () {
                d._updateFlagFromInputVal()
            });
            var e = this.selectedFlagInner.parent();
            e.on("click" + this.ns, function () {
                d.countryList.hasClass("hide") && !d.telInput.prop("disabled") && d._showDropdown()
            }), this.options.validationScript && a(b).load(function () {
                var a = c.createElement("script");
                a.type = "text/javascript", a.src = d.options.validationScript, c.body.appendChild(a)
            })
        }, _initAutoHideDialCode: function () {
            var b = this;
            this.telInput.on("mousedown" + this.ns, function (a) {
                b.telInput.is(":focus") || b.telInput.val() || (a.preventDefault(), b._focus())
            }), this.telInput.on("focus" + this.ns, function () {
                if (!a.trim(b.telInput.val())) {
                    var c = b.getSelectedCountryData();
                    b._resetToDialCode(c.dialCode), b.telInput.one("keypress" + b.ns, function (a) {
                        a.which == i.PLUS && b.telInput.val("")
                    })
                }
            }), this.telInput.on("blur" + this.ns, function () {
                var c = a.trim(b.telInput.val());
                c && a.trim(b._getDialCode(c) + b.options.dialCodeDelimiter) == c && b.telInput.val(""), b.telInput.off("keypress" + b.ns)
            })
        }, _focus: function () {
            this.telInput.focus();
            var a = this.telInput[0];
            if (a.setSelectionRange) {
                var b = this.telInput.val().length;
                a.setSelectionRange(b, b)
            }
        }, _showDropdown: function () {
            this._setDropdownPosition();
            var a = this.countryList.children(".active");
            this._highlightListItem(a), this.countryList.removeClass("hide"), this._scrollTo(a), this._bindDropdownListeners(), this.selectedFlagInner.children(".arrow").addClass("up")
        }, _setDropdownPosition: function () {
            var c = this.telInput.offset().top, d = a(b).scrollTop(),
                e = c + this.telInput.outerHeight() + this.dropdownHeight < d + a(b).height(),
                f = c - this.dropdownHeight > d, g = !e && f ? "-" + (this.dropdownHeight - 1) + "px" : "";
            this.countryList.css("top", g)
        }, _bindDropdownListeners: function () {
            var b = this;
            this.countryList.on("mouseover" + this.ns, ".country", function () {
                b._highlightListItem(a(this))
            }), this.countryList.on("click" + this.ns, ".country", function () {
                b._selectListItem(a(this))
            });
            var d = !0;
            a("html").on("click" + this.ns, function () {
                d || b._closeDropdown(), d = !1
            }), a(c).on("keydown" + this.ns, function (a) {
                a.preventDefault(), a.which == i.UP || a.which == i.DOWN ? b._handleUpDownKey(a.which) : a.which == i.ENTER ? b._handleEnterKey() : a.which == i.ESC ? b._closeDropdown() : a.which >= i.A && a.which <= i.Z && b._handleLetterKey(a.which)
            })
        }, _handleUpDownKey: function (a) {
            var b = this.countryList.children(".highlight").first(), c = a == i.UP ? b.prev() : b.next();
            c.length && (c.hasClass("divider") && (c = a == i.UP ? c.prev() : c.next()), this._highlightListItem(c), this._scrollTo(c))
        }, _handleEnterKey: function () {
            var a = this.countryList.children(".highlight").first();
            a.length && this._selectListItem(a)
        }, _handleLetterKey: function (b) {
            var c = String.fromCharCode(b), d = this.countryListItems.filter(function () {
                return a(this).text().charAt(0) == c && !a(this).hasClass("preferred")
            });
            if (d.length) {
                var e, f = d.filter(".highlight").first();
                e = f && f.next() && f.next().text().charAt(0) == c ? f.next() : d.first(), this._highlightListItem(e), this._scrollTo(e)
            }
        }, _updateFlagFromInputVal: function () {
            var b = this, c = this._getDialCode(this.telInput.val());
            if (c) {
                var d = this.countryCodes[c.replace(/\D/g, "")], e = !1;
                return a.each(d, function (a, c) {
                    b.selectedFlagInner.hasClass(c) && (e = !0)
                }), e || this._selectFlag(d[0]), !0
            }
            return !1
        }, _resetToDialCode: function (a) {
            var b = this.options.nationalMode ? "" : "+" + a + this.options.dialCodeDelimiter;
            this.telInput.val(b)
        }, _highlightListItem: function (a) {
            this.countryListItems.removeClass("highlight"), a.addClass("highlight")
        }, _getCountryData: function (a, b) {
            for (var c = b ? j : this.countries, d = 0; d < c.length; d++) if (c[d].iso2 == a) return c[d];
            return null
        }, _selectFlag: function (a) {
            this.selectedFlagInner.attr("class", "flag " + a);
            var b = this._getCountryData(a);
            this.selectedFlagInner.parent().attr("title", b.name + ": +" + b.dialCode);
            var c = this.countryListItems.children(".flag." + a).first().parent();
            this.countryListItems.removeClass("active"), c.addClass("active")
        }, _selectListItem: function (a) {
            var b = a.attr("data-country-code");
            this._selectFlag(b), this._closeDropdown(), this.options.nationalMode || (this._updateNumber("+" + a.attr("data-dial-code")), this.telInput.trigger("change")), this._focus()
        }, _closeDropdown: function () {
            this.countryList.addClass("hide"), this.selectedFlagInner.children(".arrow").removeClass("up"), a(c).off("keydown" + this.ns), a("html").off("click" + this.ns), this.countryList.off(this.ns)
        }, _scrollTo: function (a) {
            var b = this.countryList, c = b.height(), d = b.offset().top, e = d + c, f = a.outerHeight(),
                g = a.offset().top, h = g + f, i = g - d + b.scrollTop();
            if (d > g) b.scrollTop(i); else if (h > e) {
                var j = c - f;
                b.scrollTop(i - j)
            }
        }, _updateNumber: function (b) {
            var c, d = this.telInput.val(), e = this._getDialCode(d);
            if (e.length > 1) c = d.replace(e, b), d == e && (c += this.options.dialCodeDelimiter); else {
                var f = d && "+" != d.substr(0, 1) ? a.trim(d) : "";
                c = b + this.options.dialCodeDelimiter + f
            }
            this.telInput.val(c)
        }, _getDialCode: function (b) {
            var c = "";
            if (b = a.trim(b), "+" == b.charAt(0)) for (var d = "", e = 0; e < b.length; e++) {
                var f = b.charAt(e);
                if (a.isNumeric(f) && (d += f, this.countryCodes[d] && (c = b.substring(0, e + 1)), 4 == d.length)) break
            }
            return c
        }, getSelectedCountryData: function () {
            var a = this.selectedFlagInner.attr("class").split(" ")[1];
            return this._getCountryData(a)
        }, isValidNumber: function (c) {
            var d = a.trim(this.telInput.val()), e = this.getSelectedCountryData(), f = c ? e.iso2 : "";
            return b.isValidNumber(d, f)
        }, selectCountry: function (a) {
            if (!this.selectedFlagInner.hasClass(a) && (this._selectFlag(a), !this.options.autoHideDialCode)) {
                var b = this._getCountryData(a, !1);
                this._resetToDialCode(b.dialCode)
            }
        }, setNumber: function (a) {
            this.telInput.val(a), this._updateFlagFromInputVal()
        }, destroy: function () {
            this.telInput.off(this.ns), this.selectedFlagInner.parent().off(this.ns);
            var a = this.telInput.parent();
            a.before(this.telInput).remove()
        }
    }, a.fn[f] = function (b) {
        var c = arguments;
        if (b === d || "object" == typeof b) return this.each(function () {
            a.data(this, "plugin_" + f) || a.data(this, "plugin_" + f, new e(this, b))
        });
        if ("string" == typeof b && "_" !== b[0] && "init" !== b) {
            var g;
            return this.each(function () {
                var d = a.data(this, "plugin_" + f);
                d instanceof e && "function" == typeof d[b] && (g = d[b].apply(d, Array.prototype.slice.call(c, 1))), "destroy" === b && a.data(this, "plugin_" + f, null)
            }), g !== d ? g : this
        }
    }, a.fn[f].getCountryData = function () {
        return j
    }, a.fn[f].setCountryData = function (a) {
        j = a
    };
    var j = a.each([{n: "Afghanistan (‫افغانستان‬‎)", i: "af", d: "93"}, {
        n: "Åland Islands (Åland)",
        i: "ax",
        d: "358"
    }, {n: "Albania (Shqipëri)", i: "al", d: "355"}, {
        n: "Algeria (‫الجزائر‬‎)",
        i: "dz",
        d: "213"
    }, {n: "American Samoa", i: "as", d: "1684"}, {n: "Andorra", i: "ad", d: "376"}, {
        n: "Angola",
        i: "ao",
        d: "244"
    }, {n: "Anguilla", i: "ai", d: "1264"}, {n: "Antigua and Barbuda", i: "ag", d: "1268"}, {
        n: "Argentina",
        i: "ar",
        d: "54"
    }, {n: "Armenia (Հայաստան)", i: "am", d: "374"}, {n: "Aruba", i: "aw", d: "297"}, {
        n: "Australia",
        i: "au",
        d: "61"
    }, {n: "Austria (Österreich)", i: "at", d: "43"}, {n: "Azerbaijan (Azərbaycan)", i: "az", d: "994"}, {
        n: "Bahamas",
        i: "bs",
        d: "1242"
    }, {n: "Bahrain (‫البحرين‬‎)", i: "bh", d: "973"}, {n: "Bangladesh (বাংলাদেশ)", i: "bd", d: "880"}, {
        n: "Barbados",
        i: "bb",
        d: "1246"
    }, {n: "Belarus (Беларусь)", i: "by", d: "375"}, {n: "Belgium (België)", i: "be", d: "32"}, {
        n: "Belize",
        i: "bz",
        d: "501"
    }, {n: "Benin (Bénin)", i: "bj", d: "229"}, {n: "Bermuda", i: "bm", d: "1441"}, {
        n: "Bhutan (འབྲུག)",
        i: "bt",
        d: "975"
    }, {n: "Bolivia", i: "bo", d: "591"}, {
        n: "Bosnia and Herzegovina (Босна и Херцеговина)",
        i: "ba",
        d: "387"
    }, {n: "Botswana", i: "bw", d: "267"}, {
        n: "Brazil (Brasil)",
        i: "br",
        d: "55"
    }, {n: "British Indian Ocean Territory", i: "io", d: "246"}, {
        n: "British Virgin Islands",
        i: "vg",
        d: "1284"
    }, {n: "Brunei", i: "bn", d: "673"}, {n: "Bulgaria (България)", i: "bg", d: "359"}, {
        n: "Burkina Faso",
        i: "bf",
        d: "226"
    }, {n: "Burundi (Uburundi)", i: "bi", d: "257"}, {
        n: "Cambodia (កម្ពុជា)",
        i: "kh",
        d: "855"
    }, {n: "Cameroon (Cameroun)", i: "cm", d: "237"}, {n: "Canada", i: "ca", d: "1"}, {
        n: "Cape Verde (Kabu Verdi)",
        i: "cv",
        d: "238"
    }, {n: "Caribbean Netherlands", i: "bq", d: "5997"}, {
        n: "Cayman Islands",
        i: "ky",
        d: "1345"
    }, {n: "Central African Republic (République centrafricaine)", i: "cf", d: "236"}, {
        n: "Chad (Tchad)",
        i: "td",
        d: "235"
    }, {n: "Chile", i: "cl", d: "56"}, {n: "China (中国)", i: "cn", d: "86"}, {
        n: "Christmas Island",
        i: "cx",
        d: "61"
    }, {n: "Cocos (Keeling) Islands (Kepulauan Cocos (Keeling))", i: "cc", d: "61"}, {
        n: "Colombia",
        i: "co",
        d: "57"
    }, {n: "Comoros (‫جزر القمر‬‎)", i: "km", d: "269"}, {
        n: "Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)",
        i: "cd",
        d: "243"
    }, {n: "Congo (Republic) (Congo-Brazzaville)", i: "cg", d: "242"}, {
        n: "Cook Islands",
        i: "ck",
        d: "682"
    }, {n: "Costa Rica", i: "cr", d: "506"}, {n: "Côte d’Ivoire", i: "ci", d: "225"}, {
        n: "Croatia (Hrvatska)",
        i: "hr",
        d: "385"
    }, {n: "Cuba", i: "cu", d: "53"}, {n: "Curaçao", i: "cw", d: "5999"}, {
        n: "Cyprus (Κύπρος)",
        i: "cy",
        d: "357"
    }, {n: "Czech Republic (Česká republika)", i: "cz", d: "420"}, {
        n: "Denmark (Danmark)",
        i: "dk",
        d: "45"
    }, {n: "Djibouti", i: "dj", d: "253"}, {
        n: "Dominica",
        i: "dm",
        d: "1767"
    }, {n: "Dominican Republic (República Dominicana)", i: "do", d: "1809"}, {
        n: "Ecuador",
        i: "ec",
        d: "593"
    }, {n: "Egypt (‫مصر‬‎)", i: "eg", d: "20"}, {
        n: "El Salvador",
        i: "sv",
        d: "503"
    }, {n: "Equatorial Guinea (Guinea Ecuatorial)", i: "gq", d: "240"}, {
        n: "Eritrea",
        i: "er",
        d: "291"
    }, {n: "Estonia (Eesti)", i: "ee", d: "372"}, {
        n: "Ethiopia",
        i: "et",
        d: "251"
    }, {n: "Falkland Islands (Islas Malvinas)", i: "fk", d: "500"}, {
        n: "Faroe Islands (Føroyar)",
        i: "fo",
        d: "298"
    }, {n: "Fiji", i: "fj", d: "679"}, {n: "Finland (Suomi)", i: "fi", d: "358"}, {
        n: "France",
        i: "fr",
        d: "33"
    }, {n: "French Guiana (Guyane française)", i: "gf", d: "594"}, {
        n: "French Polynesia (Polynésie française)",
        i: "pf",
        d: "689"
    }, {n: "Gabon", i: "ga", d: "241"}, {n: "Gambia", i: "gm", d: "220"}, {
        n: "Georgia (საქართველო)",
        i: "ge",
        d: "995"
    }, {n: "Germany (Deutschland)", i: "de", d: "49"}, {n: "Ghana (Gaana)", i: "gh", d: "233"}, {
        n: "Gibraltar",
        i: "gi",
        d: "350"
    }, {n: "Greece (Ελλάδα)", i: "gr", d: "30"}, {n: "Greenland (Kalaallit Nunaat)", i: "gl", d: "299"}, {
        n: "Grenada",
        i: "gd",
        d: "1473"
    }, {n: "Guadeloupe", i: "gp", d: "590"}, {n: "Guam", i: "gu", d: "1671"}, {
        n: "Guatemala",
        i: "gt",
        d: "502"
    }, {n: "Guernsey", i: "gg", d: "44"}, {n: "Guinea (Guinée)", i: "gn", d: "224"}, {
        n: "Guinea-Bissau (Guiné Bissau)",
        i: "gw",
        d: "245"
    }, {n: "Guyana", i: "gy", d: "592"}, {n: "Haiti", i: "ht", d: "509"}, {
        n: "Honduras",
        i: "hn",
        d: "504"
    }, {n: "Hong Kong (香港)", i: "hk", d: "852"}, {
        n: "Hungary (Magyarország)",
        i: "hu",
        d: "36"
    }, {n: "Iceland (Ísland)", i: "is", d: "354"}, {n: "India (भारत)", i: "in", d: "91"}, {
        n: "Indonesia",
        i: "id",
        d: "62"
    }, {n: "Iran (‫ایران‬‎)", i: "ir", d: "98"}, {n: "Iraq (‫العراق‬‎)", i: "iq", d: "964"}, {
        n: "Ireland",
        i: "ie",
        d: "353"
    }, {n: "Isle of Man", i: "im", d: "44"}, {n: "Israel (‫ישראל‬‎)", i: "il", d: "972"}, {
        n: "Italy (Italia)",
        i: "it",
        d: "39"
    }, {n: "Jamaica", i: "jm", d: "1876"}, {n: "Japan (日本)", i: "jp", d: "81"}, {
        n: "Jersey",
        i: "je",
        d: "44"
    }, {n: "Jordan (‫الأردن‬‎)", i: "jo", d: "962"}, {n: "Kazakhstan (Казахстан)", i: "kz", d: "7"}, {
        n: "Kenya",
        i: "ke",
        d: "254"
    }, {n: "Kiribati", i: "ki", d: "686"}, {n: "Kosovo (Kosovë)", i: "xk", d: "377"}, {
        n: "Kuwait (‫الكويت‬‎)",
        i: "kw",
        d: "965"
    }, {n: "Kyrgyzstan (Кыргызстан)", i: "kg", d: "996"}, {n: "Laos (ລາວ)", i: "la", d: "856"}, {
        n: "Latvia (Latvija)",
        i: "lv",
        d: "371"
    }, {n: "Lebanon (‫لبنان‬‎)", i: "lb", d: "961"}, {n: "Lesotho", i: "ls", d: "266"}, {
        n: "Liberia",
        i: "lr",
        d: "231"
    }, {n: "Libya (‫ليبيا‬‎)", i: "ly", d: "218"}, {n: "Liechtenstein", i: "li", d: "423"}, {
        n: "Lithuania (Lietuva)",
        i: "lt",
        d: "370"
    }, {n: "Luxembourg", i: "lu", d: "352"}, {n: "Macau (澳門)", i: "mo", d: "853"}, {
        n: "Macedonia (FYROM) (Македонија)",
        i: "mk",
        d: "389"
    }, {n: "Madagascar (Madagasikara)", i: "mg", d: "261"}, {n: "Malawi", i: "mw", d: "265"}, {
        n: "Malaysia",
        i: "my",
        d: "60"
    }, {n: "Maldives", i: "mv", d: "960"}, {n: "Mali", i: "ml", d: "223"}, {
        n: "Malta",
        i: "mt",
        d: "356"
    }, {n: "Marshall Islands", i: "mh", d: "692"}, {
        n: "Martinique",
        i: "mq",
        d: "596"
    }, {n: "Mauritania (‫موريتانيا‬‎)", i: "mr", d: "222"}, {n: "Mauritius (Moris)", i: "mu", d: "230"}, {
        n: "Mayotte",
        i: "yt",
        d: "262"
    }, {n: "Mexico (México)", i: "mx", d: "52"}, {
        n: "Micronesia",
        i: "fm",
        d: "691"
    }, {n: "Moldova (Republica Moldova)", i: "md", d: "373"}, {n: "Monaco", i: "mc", d: "377"}, {
        n: "Mongolia (Монгол)",
        i: "mn",
        d: "976"
    }, {n: "Montenegro (Crna Gora)", i: "me", d: "382"}, {
        n: "Montserrat",
        i: "ms",
        d: "1664"
    }, {n: "Morocco (‫المغرب‬‎)", i: "ma", d: "212"}, {
        n: "Mozambique (Moçambique)",
        i: "mz",
        d: "258"
    }, {n: "Myanmar (Burma) (မြန်မာ)", i: "mm", d: "95"}, {n: "Namibia (Namibië)", i: "na", d: "264"}, {
        n: "Nauru",
        i: "nr",
        d: "674"
    }, {n: "Nepal (नेपाल)", i: "np", d: "977"}, {
        n: "Netherlands (Nederland)",
        i: "nl",
        d: "31"
    }, {n: "New Caledonia (Nouvelle-Calédonie)", i: "nc", d: "687"}, {
        n: "New Zealand",
        i: "nz",
        d: "64"
    }, {n: "Nicaragua", i: "ni", d: "505"}, {n: "Niger (Nijar)", i: "ne", d: "227"}, {
        n: "Nigeria",
        i: "ng",
        d: "234"
    }, {n: "Niue", i: "nu", d: "683"}, {n: "Norfolk Island", i: "nf", d: "672"}, {
        n: "North Korea (조선 민주주의 인민 공화국)",
        i: "kp",
        d: "850"
    }, {n: "Northern Mariana Islands", i: "mp", d: "1670"}, {
        n: "Norway (Norge)",
        i: "no",
        d: "47"
    }, {n: "Oman (‫عُمان‬‎)", i: "om", d: "968"}, {n: "Pakistan (‫پاکستان‬‎)", i: "pk", d: "92"}, {
        n: "Palau",
        i: "pw",
        d: "680"
    }, {n: "Palestine (‫فلسطين‬‎)", i: "ps", d: "970"}, {
        n: "Panama (Panamá)",
        i: "pa",
        d: "507"
    }, {n: "Papua New Guinea", i: "pg", d: "675"}, {n: "Paraguay", i: "py", d: "595"}, {
        n: "Peru (Perú)",
        i: "pe",
        d: "51"
    }, {n: "Philippines", i: "ph", d: "63"}, {n: "Pitcairn Islands", i: "pn", d: "64"}, {
        n: "Poland (Polska)",
        i: "pl",
        d: "48"
    }, {n: "Portugal", i: "pt", d: "351"}, {n: "Puerto Rico", i: "pr", d: "1787"}, {
        n: "Qatar (‫قطر‬‎)",
        i: "qa",
        d: "974"
    }, {n: "Réunion (La Réunion)", i: "re", d: "262"}, {
        n: "Romania (România)",
        i: "ro",
        d: "40"
    }, {n: "Russia (Россия)", i: "ru", d: "7"}, {
        n: "Rwanda",
        i: "rw",
        d: "250"
    }, {n: "Saint Barthélemy (Saint-Barthélemy)", i: "bl", d: "590"}, {
        n: "Saint Helena",
        i: "sh",
        d: "290"
    }, {n: "Saint Kitts and Nevis", i: "kn", d: "1869"}, {
        n: "Saint Lucia",
        i: "lc",
        d: "1758"
    }, {
        n: "Saint Martin (Saint-Martin (partie française))",
        i: "mf",
        d: "590"
    }, {
        n: "Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)",
        i: "pm",
        d: "508"
    }, {n: "Saint Vincent and the Grenadines", i: "vc", d: "1784"}, {n: "Samoa", i: "ws", d: "685"}, {
        n: "San Marino",
        i: "sm",
        d: "378"
    }, {
        n: "São Tomé and Príncipe (São Tomé e Príncipe)",
        i: "st",
        d: "239"
    }, {n: "Saudi Arabia (‫المملكة العربية السعودية‬‎)", i: "sa", d: "966"}, {
        n: "Senegal (Sénégal)",
        i: "sn",
        d: "221"
    }, {n: "Serbia (Србија)", i: "rs", d: "381"}, {n: "Seychelles", i: "sc", d: "248"}, {
        n: "Sierra Leone",
        i: "sl",
        d: "232"
    }, {n: "Singapore", i: "sg", d: "65"}, {n: "Sint Maarten", i: "sx", d: "1721"}, {
        n: "Slovakia (Slovensko)",
        i: "sk",
        d: "421"
    }, {n: "Slovenia (Slovenija)", i: "si", d: "386"}, {
        n: "Solomon Islands",
        i: "sb",
        d: "677"
    }, {n: "Somalia (Soomaaliya)", i: "so", d: "252"}, {
        n: "South Africa",
        i: "za",
        d: "27"
    }, {n: "South Georgia & South Sandwich Islands", i: "gs", d: "500"}, {
        n: "South Korea (대한민국)",
        i: "kr",
        d: "82"
    }, {n: "South Sudan (‫جنوب السودان‬‎)", i: "ss", d: "211"}, {
        n: "Spain (España)",
        i: "es",
        d: "34"
    }, {n: "Sri Lanka (ශ්‍රී ලංකාව)", i: "lk", d: "94"}, {n: "Sudan (‫السودان‬‎)", i: "sd", d: "249"}, {
        n: "Suriname",
        i: "sr",
        d: "597"
    }, {n: "Svalbard and Jan Mayen (Svalbard og Jan Mayen)", i: "sj", d: "4779"}, {
        n: "Swaziland",
        i: "sz",
        d: "268"
    }, {n: "Sweden (Sverige)", i: "se", d: "46"}, {
        n: "Switzerland (Schweiz)",
        i: "ch",
        d: "41"
    }, {n: "Syria (‫سوريا‬‎)", i: "sy", d: "963"}, {n: "Taiwan (台灣)", i: "tw", d: "886"}, {
        n: "Tajikistan",
        i: "tj",
        d: "992"
    }, {n: "Tanzania", i: "tz", d: "255"}, {n: "Thailand (ไทย)", i: "th", d: "66"}, {
        n: "Timor-Leste",
        i: "tl",
        d: "670"
    }, {n: "Togo", i: "tg", d: "228"}, {n: "Tokelau", i: "tk", d: "690"}, {
        n: "Tonga",
        i: "to",
        d: "676"
    }, {n: "Trinidad and Tobago", i: "tt", d: "1868"}, {
        n: "Tunisia (‫تونس‬‎)",
        i: "tn",
        d: "216"
    }, {n: "Turkey (Türkiye)", i: "tr", d: "90"}, {
        n: "Turkmenistan",
        i: "tm",
        d: "993"
    }, {n: "Turks and Caicos Islands", i: "tc", d: "1649"}, {n: "Tuvalu", i: "tv", d: "688"}, {
        n: "Uganda",
        i: "ug",
        d: "256"
    }, {n: "Ukraine (Україна)", i: "ua", d: "380"}, {
        n: "United Arab Emirates (‫الإمارات العربية المتحدة‬‎)",
        i: "ae",
        d: "971"
    }, {n: "United Kingdom", i: "gb", d: "44"}, {n: "United States", i: "us", d: "1"}, {
        n: "U.S. Virgin Islands",
        i: "vi",
        d: "1340"
    }, {n: "Uruguay", i: "uy", d: "598"}, {n: "Uzbekistan (Oʻzbekiston)", i: "uz", d: "998"}, {
        n: "Vanuatu",
        i: "vu",
        d: "678"
    }, {n: "Vatican City (Città del Vaticano)", i: "va", d: "379"}, {
        n: "Venezuela",
        i: "ve",
        d: "58"
    }, {n: "Vietnam (Việt Nam)", i: "vn", d: "84"}, {
        n: "Wallis and Futuna",
        i: "wf",
        d: "681"
    }, {n: "Western Sahara (‫الصحراء الغربية‬‎)", i: "eh", d: "212"}, {
        n: "Yemen (‫اليمن‬‎)",
        i: "ye",
        d: "967"
    }, {n: "Zambia", i: "zm", d: "260"}, {n: "Zimbabwe", i: "zw", d: "263"}], function (a, b) {
        b.name = b.n, b.iso2 = b.i, b.dialCode = b.d, delete b.n, delete b.i, delete b.d
    }), k = {
        1: ["us", "ca"],
        7: ["ru", "kz"],
        20: ["eg"],
        27: ["za"],
        30: ["gr"],
        31: ["nl"],
        32: ["be"],
        33: ["fr"],
        34: ["es"],
        36: ["hu"],
        39: ["it"],
        40: ["ro"],
        41: ["ch"],
        43: ["at"],
        44: ["gb", "gg", "im", "je"],
        45: ["dk"],
        46: ["se"],
        47: ["no"],
        48: ["pl"],
        49: ["de"],
        51: ["pe"],
        52: ["mx"],
        53: ["cu"],
        54: ["ar"],
        55: ["br"],
        56: ["cl"],
        57: ["co"],
        58: ["ve"],
        60: ["my"],
        61: ["au", "cc", "cx"],
        62: ["id"],
        63: ["ph"],
        64: ["nz", "pn"],
        65: ["sg"],
        66: ["th"],
        81: ["jp"],
        82: ["kr"],
        84: ["vn"],
        86: ["cn"],
        90: ["tr"],
        91: ["in"],
        92: ["pk"],
        93: ["af"],
        94: ["lk"],
        95: ["mm"],
        98: ["ir"],
        211: ["ss"],
        212: ["ma", "eh"],
        213: ["dz"],
        216: ["tn"],
        218: ["ly"],
        220: ["gm"],
        221: ["sn"],
        222: ["mr"],
        223: ["ml"],
        224: ["gn"],
        225: ["ci"],
        226: ["bf"],
        227: ["ne"],
        228: ["tg"],
        229: ["bj"],
        230: ["mu"],
        231: ["lr"],
        232: ["sl"],
        233: ["gh"],
        234: ["ng"],
        235: ["td"],
        236: ["cf"],
        237: ["cm"],
        238: ["cv"],
        239: ["st"],
        240: ["gq"],
        241: ["ga"],
        242: ["cg"],
        243: ["cd"],
        244: ["ao"],
        245: ["gw"],
        246: ["io"],
        248: ["sc"],
        249: ["sd"],
        250: ["rw"],
        251: ["et"],
        252: ["so"],
        253: ["dj"],
        254: ["ke"],
        255: ["tz"],
        256: ["ug"],
        257: ["bi"],
        258: ["mz"],
        260: ["zm"],
        261: ["mg"],
        262: ["re", "yt"],
        263: ["zw"],
        264: ["na"],
        265: ["mw"],
        266: ["ls"],
        267: ["bw"],
        268: ["sz"],
        269: ["km"],
        290: ["sh"],
        291: ["er"],
        297: ["aw"],
        298: ["fo"],
        299: ["gl"],
        350: ["gi"],
        351: ["pt"],
        352: ["lu"],
        353: ["ie"],
        354: ["is"],
        355: ["al"],
        356: ["mt"],
        357: ["cy"],
        358: ["fi", "ax"],
        359: ["bg"],
        370: ["lt"],
        371: ["lv"],
        372: ["ee"],
        373: ["md"],
        374: ["am"],
        375: ["by"],
        376: ["ad"],
        377: ["mc", "xk"],
        378: ["sm"],
        379: ["va"],
        380: ["ua"],
        381: ["rs"],
        382: ["me"],
        385: ["hr"],
        386: ["si"],
        387: ["ba"],
        389: ["mk"],
        420: ["cz"],
        421: ["sk"],
        423: ["li"],
        500: ["fk", "gs"],
        501: ["bz"],
        502: ["gt"],
        503: ["sv"],
        504: ["hn"],
        505: ["ni"],
        506: ["cr"],
        507: ["pa"],
        508: ["pm"],
        509: ["ht"],
        590: ["gp", "bl", "mf"],
        591: ["bo"],
        592: ["gy"],
        593: ["ec"],
        594: ["gf"],
        595: ["py"],
        596: ["mq"],
        597: ["sr"],
        598: ["uy"],
        670: ["tl"],
        672: ["nf"],
        673: ["bn"],
        674: ["nr"],
        675: ["pg"],
        676: ["to"],
        677: ["sb"],
        678: ["vu"],
        679: ["fj"],
        680: ["pw"],
        681: ["wf"],
        682: ["ck"],
        683: ["nu"],
        685: ["ws"],
        686: ["ki"],
        687: ["nc"],
        688: ["tv"],
        689: ["pf"],
        690: ["tk"],
        691: ["fm"],
        692: ["mh"],
        850: ["kp"],
        852: ["hk"],
        853: ["mo"],
        855: ["kh"],
        856: ["la"],
        880: ["bd"],
        886: ["tw"],
        960: ["mv"],
        961: ["lb"],
        962: ["jo"],
        963: ["sy"],
        964: ["iq"],
        965: ["kw"],
        966: ["sa"],
        967: ["ye"],
        968: ["om"],
        970: ["ps"],
        971: ["ae"],
        972: ["il"],
        973: ["bh"],
        974: ["qa"],
        975: ["bt"],
        976: ["mn"],
        977: ["np"],
        992: ["tj"],
        993: ["tm"],
        994: ["az"],
        995: ["ge"],
        996: ["kg"],
        998: ["uz"],
        1204: ["ca"],
        1236: ["ca"],
        1242: ["bs"],
        1246: ["bb"],
        1249: ["ca"],
        1250: ["ca"],
        1264: ["ai"],
        1268: ["ag"],
        1284: ["vg"],
        1289: ["ca"],
        1306: ["ca"],
        1340: ["vi"],
        1343: ["ca"],
        1345: ["ky"],
        1365: ["ca"],
        1387: ["ca"],
        1403: ["ca"],
        1416: ["ca"],
        1418: ["ca"],
        1431: ["ca"],
        1437: ["ca"],
        1438: ["ca"],
        1441: ["bm"],
        1450: ["ca"],
        1473: ["gd"],
        1506: ["ca"],
        1514: ["ca"],
        1519: ["ca"],
        1548: ["ca"],
        1579: ["ca"],
        1581: ["ca"],
        1587: ["ca"],
        1604: ["ca"],
        1613: ["ca"],
        1639: ["ca"],
        1647: ["ca"],
        1649: ["tc"],
        1664: ["ms"],
        1670: ["mp"],
        1671: ["gu"],
        1672: ["ca"],
        1684: ["as"],
        1705: ["ca"],
        1709: ["ca"],
        1721: ["sx"],
        1742: ["ca"],
        1758: ["lc"],
        1767: ["dm"],
        1778: ["ca"],
        1780: ["ca"],
        1782: ["ca"],
        1784: ["vc"],
        1787: ["pr"],
        1807: ["ca"],
        1809: ["do"],
        1819: ["ca"],
        1825: ["ca"],
        1867: ["ca"],
        1868: ["tt"],
        1869: ["kn"],
        1873: ["ca"],
        1876: ["jm"],
        1902: ["ca"],
        1905: ["ca"],
        4779: ["sj"],
        5997: ["bq"],
        5999: ["cw"]
    }
});
