How to use desc method in fast-check-monorepo

Best JavaScript code snippet using fast-check-monorepo

phone.js

Source:phone.js Github

copy

Full Screen

1/*!2* phone-codes/phone.js3* https://github.com/RobinHerbots/Inputmask4* Copyright (c) 2010 - 2017 Robin Herbots5* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)6* Version: 3.3.117*/8!function(factory) {9 "function" == typeof define && define.amd ? define([ "../inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("../inputmask")) : factory(window.Inputmask);10}(function(Inputmask) {11 return Inputmask.extendAliases({12 phone: {13 alias: "abstractphone",14 phoneCodes: [ {15 mask: "+247-####",16 cc: "AC",17 cd: "Ascension",18 desc_en: "",19 name_ru: "Остров Вознесения",20 desc_ru: ""21 }, {22 mask: "+376-###-###",23 cc: "AD",24 cd: "Andorra",25 desc_en: "",26 name_ru: "Андорра",27 desc_ru: ""28 }, {29 mask: "+971-5#-###-####",30 cc: "AE",31 cd: "United Arab Emirates",32 desc_en: "mobile",33 name_ru: "Объединенные Арабские Эмираты",34 desc_ru: "мобильные"35 }, {36 mask: "+971-#-###-####",37 cc: "AE",38 cd: "United Arab Emirates",39 desc_en: "",40 name_ru: "Объединенные Арабские Эмираты",41 desc_ru: ""42 }, {43 mask: "+93-##-###-####",44 cc: "AF",45 cd: "Afghanistan",46 desc_en: "",47 name_ru: "Афганистан",48 desc_ru: ""49 }, {50 mask: "+1(268)###-####",51 cc: "AG",52 cd: "Antigua & Barbuda",53 desc_en: "",54 name_ru: "Антигуа и Барбуда",55 desc_ru: ""56 }, {57 mask: "+1(264)###-####",58 cc: "AI",59 cd: "Anguilla",60 desc_en: "",61 name_ru: "Ангилья",62 desc_ru: ""63 }, {64 mask: "+355(###)###-###",65 cc: "AL",66 cd: "Albania",67 desc_en: "",68 name_ru: "Албания",69 desc_ru: ""70 }, {71 mask: "+374-##-###-###",72 cc: "AM",73 cd: "Armenia",74 desc_en: "",75 name_ru: "Армения",76 desc_ru: ""77 }, {78 mask: "+599-###-####",79 cc: "AN",80 cd: "Caribbean Netherlands",81 desc_en: "",82 name_ru: "Карибские Нидерланды",83 desc_ru: ""84 }, {85 mask: "+599-###-####",86 cc: "AN",87 cd: "Netherlands Antilles",88 desc_en: "",89 name_ru: "Нидерландские Антильские острова",90 desc_ru: ""91 }, {92 mask: "+599-9###-####",93 cc: "AN",94 cd: "Netherlands Antilles",95 desc_en: "Curacao",96 name_ru: "Нидерландские Антильские острова",97 desc_ru: "Кюрасао"98 }, {99 mask: "+244(###)###-###",100 cc: "AO",101 cd: "Angola",102 desc_en: "",103 name_ru: "Ангола",104 desc_ru: ""105 }, {106 mask: "+672-1##-###",107 cc: "AQ",108 cd: "Australian bases in Antarctica",109 desc_en: "",110 name_ru: "Австралийская антарктическая база",111 desc_ru: ""112 }, {113 mask: "+54(###)###-####",114 cc: "AR",115 cd: "Argentina",116 desc_en: "",117 name_ru: "Аргентина",118 desc_ru: ""119 }, {120 mask: "+1(684)###-####",121 cc: "AS",122 cd: "American Samoa",123 desc_en: "",124 name_ru: "Американское Самоа",125 desc_ru: ""126 }, {127 mask: "+43(###)###-####",128 cc: "AT",129 cd: "Austria",130 desc_en: "",131 name_ru: "Австрия",132 desc_ru: ""133 }, {134 mask: "+61-#-####-####",135 cc: "AU",136 cd: "Australia",137 desc_en: "",138 name_ru: "Австралия",139 desc_ru: ""140 }, {141 mask: "+297-###-####",142 cc: "AW",143 cd: "Aruba",144 desc_en: "",145 name_ru: "Аруба",146 desc_ru: ""147 }, {148 mask: "+994-##-###-##-##",149 cc: "AZ",150 cd: "Azerbaijan",151 desc_en: "",152 name_ru: "Азербайджан",153 desc_ru: ""154 }, {155 mask: "+387-##-#####",156 cc: "BA",157 cd: "Bosnia and Herzegovina",158 desc_en: "",159 name_ru: "Босния и Герцеговина",160 desc_ru: ""161 }, {162 mask: "+387-##-####",163 cc: "BA",164 cd: "Bosnia and Herzegovina",165 desc_en: "",166 name_ru: "Босния и Герцеговина",167 desc_ru: ""168 }, {169 mask: "+1(246)###-####",170 cc: "BB",171 cd: "Barbados",172 desc_en: "",173 name_ru: "Барбадос",174 desc_ru: ""175 }, {176 mask: "+880-##-###-###",177 cc: "BD",178 cd: "Bangladesh",179 desc_en: "",180 name_ru: "Бангладеш",181 desc_ru: ""182 }, {183 mask: "+32(###)###-###",184 cc: "BE",185 cd: "Belgium",186 desc_en: "",187 name_ru: "Бельгия",188 desc_ru: ""189 }, {190 mask: "+226-##-##-####",191 cc: "BF",192 cd: "Burkina Faso",193 desc_en: "",194 name_ru: "Буркина Фасо",195 desc_ru: ""196 }, {197 mask: "+359(###)###-###",198 cc: "BG",199 cd: "Bulgaria",200 desc_en: "",201 name_ru: "Болгария",202 desc_ru: ""203 }, {204 mask: "+973-####-####",205 cc: "BH",206 cd: "Bahrain",207 desc_en: "",208 name_ru: "Бахрейн",209 desc_ru: ""210 }, {211 mask: "+257-##-##-####",212 cc: "BI",213 cd: "Burundi",214 desc_en: "",215 name_ru: "Бурунди",216 desc_ru: ""217 }, {218 mask: "+229-##-##-####",219 cc: "BJ",220 cd: "Benin",221 desc_en: "",222 name_ru: "Бенин",223 desc_ru: ""224 }, {225 mask: "+1(441)###-####",226 cc: "BM",227 cd: "Bermuda",228 desc_en: "",229 name_ru: "Бермудские острова",230 desc_ru: ""231 }, {232 mask: "+673-###-####",233 cc: "BN",234 cd: "Brunei Darussalam",235 desc_en: "",236 name_ru: "Бруней-Даруссалам",237 desc_ru: ""238 }, {239 mask: "+591-#-###-####",240 cc: "BO",241 cd: "Bolivia",242 desc_en: "",243 name_ru: "Боливия",244 desc_ru: ""245 }, {246 mask: "+55-##-####-####",247 cc: "BR",248 cd: "Brazil",249 desc_en: "",250 name_ru: "Бразилия",251 desc_ru: ""252 }, {253 mask: "+55-##-#####-####",254 cc: "BR",255 cd: "Brazil",256 desc_en: "",257 name_ru: "Бразилия",258 desc_ru: ""259 }, {260 mask: "+1(242)###-####",261 cc: "BS",262 cd: "Bahamas",263 desc_en: "",264 name_ru: "Багамские Острова",265 desc_ru: ""266 }, {267 mask: "+975-17-###-###",268 cc: "BT",269 cd: "Bhutan",270 desc_en: "",271 name_ru: "Бутан",272 desc_ru: ""273 }, {274 mask: "+975-#-###-###",275 cc: "BT",276 cd: "Bhutan",277 desc_en: "",278 name_ru: "Бутан",279 desc_ru: ""280 }, {281 mask: "+267-##-###-###",282 cc: "BW",283 cd: "Botswana",284 desc_en: "",285 name_ru: "Ботсвана",286 desc_ru: ""287 }, {288 mask: "+375(##)###-##-##",289 cc: "BY",290 cd: "Belarus",291 desc_en: "",292 name_ru: "Беларусь (Белоруссия)",293 desc_ru: ""294 }, {295 mask: "+501-###-####",296 cc: "BZ",297 cd: "Belize",298 desc_en: "",299 name_ru: "Белиз",300 desc_ru: ""301 }, {302 mask: "+243(###)###-###",303 cc: "CD",304 cd: "Dem. Rep. Congo",305 desc_en: "",306 name_ru: "Дем. Респ. Конго (Киншаса)",307 desc_ru: ""308 }, {309 mask: "+236-##-##-####",310 cc: "CF",311 cd: "Central African Republic",312 desc_en: "",313 name_ru: "Центральноафриканская Республика",314 desc_ru: ""315 }, {316 mask: "+242-##-###-####",317 cc: "CG",318 cd: "Congo (Brazzaville)",319 desc_en: "",320 name_ru: "Конго (Браззавиль)",321 desc_ru: ""322 }, {323 mask: "+41-##-###-####",324 cc: "CH",325 cd: "Switzerland",326 desc_en: "",327 name_ru: "Швейцария",328 desc_ru: ""329 }, {330 mask: "+225-##-###-###",331 cc: "CI",332 cd: "Cote d’Ivoire (Ivory Coast)",333 desc_en: "",334 name_ru: "Кот-д’Ивуар",335 desc_ru: ""336 }, {337 mask: "+682-##-###",338 cc: "CK",339 cd: "Cook Islands",340 desc_en: "",341 name_ru: "Острова Кука",342 desc_ru: ""343 }, {344 mask: "+56-#-####-####",345 cc: "CL",346 cd: "Chile",347 desc_en: "",348 name_ru: "Чили",349 desc_ru: ""350 }, {351 mask: "+237-####-####",352 cc: "CM",353 cd: "Cameroon",354 desc_en: "",355 name_ru: "Камерун",356 desc_ru: ""357 }, {358 mask: "+86(###)####-####",359 cc: "CN",360 cd: "China (PRC)",361 desc_en: "",362 name_ru: "Китайская Н.Р.",363 desc_ru: ""364 }, {365 mask: "+86(###)####-###",366 cc: "CN",367 cd: "China (PRC)",368 desc_en: "",369 name_ru: "Китайская Н.Р.",370 desc_ru: ""371 }, {372 mask: "+86-##-#####-#####",373 cc: "CN",374 cd: "China (PRC)",375 desc_en: "",376 name_ru: "Китайская Н.Р.",377 desc_ru: ""378 }, {379 mask: "+57(###)###-####",380 cc: "CO",381 cd: "Colombia",382 desc_en: "",383 name_ru: "Колумбия",384 desc_ru: ""385 }, {386 mask: "+506-####-####",387 cc: "CR",388 cd: "Costa Rica",389 desc_en: "",390 name_ru: "Коста-Рика",391 desc_ru: ""392 }, {393 mask: "+53-#-###-####",394 cc: "CU",395 cd: "Cuba",396 desc_en: "",397 name_ru: "Куба",398 desc_ru: ""399 }, {400 mask: "+238(###)##-##",401 cc: "CV",402 cd: "Cape Verde",403 desc_en: "",404 name_ru: "Кабо-Верде",405 desc_ru: ""406 }, {407 mask: "+599-###-####",408 cc: "CW",409 cd: "Curacao",410 desc_en: "",411 name_ru: "Кюрасао",412 desc_ru: ""413 }, {414 mask: "+357-##-###-###",415 cc: "CY",416 cd: "Cyprus",417 desc_en: "",418 name_ru: "Кипр",419 desc_ru: ""420 }, {421 mask: "+420(###)###-###",422 cc: "CZ",423 cd: "Czech Republic",424 desc_en: "",425 name_ru: "Чехия",426 desc_ru: ""427 }, {428 mask: "+49(####)###-####",429 cc: "DE",430 cd: "Germany",431 desc_en: "",432 name_ru: "Германия",433 desc_ru: ""434 }, {435 mask: "+49(###)###-####",436 cc: "DE",437 cd: "Germany",438 desc_en: "",439 name_ru: "Германия",440 desc_ru: ""441 }, {442 mask: "+49(###)##-####",443 cc: "DE",444 cd: "Germany",445 desc_en: "",446 name_ru: "Германия",447 desc_ru: ""448 }, {449 mask: "+49(###)##-###",450 cc: "DE",451 cd: "Germany",452 desc_en: "",453 name_ru: "Германия",454 desc_ru: ""455 }, {456 mask: "+49(###)##-##",457 cc: "DE",458 cd: "Germany",459 desc_en: "",460 name_ru: "Германия",461 desc_ru: ""462 }, {463 mask: "+49-###-###",464 cc: "DE",465 cd: "Germany",466 desc_en: "",467 name_ru: "Германия",468 desc_ru: ""469 }, {470 mask: "+253-##-##-##-##",471 cc: "DJ",472 cd: "Djibouti",473 desc_en: "",474 name_ru: "Джибути",475 desc_ru: ""476 }, {477 mask: "+45-##-##-##-##",478 cc: "DK",479 cd: "Denmark",480 desc_en: "",481 name_ru: "Дания",482 desc_ru: ""483 }, {484 mask: "+1(767)###-####",485 cc: "DM",486 cd: "Dominica",487 desc_en: "",488 name_ru: "Доминика",489 desc_ru: ""490 }, {491 mask: "+1(809)###-####",492 cc: "DO",493 cd: "Dominican Republic",494 desc_en: "",495 name_ru: "Доминиканская Республика",496 desc_ru: ""497 }, {498 mask: "+1(829)###-####",499 cc: "DO",500 cd: "Dominican Republic",501 desc_en: "",502 name_ru: "Доминиканская Республика",503 desc_ru: ""504 }, {505 mask: "+1(849)###-####",506 cc: "DO",507 cd: "Dominican Republic",508 desc_en: "",509 name_ru: "Доминиканская Республика",510 desc_ru: ""511 }, {512 mask: "+213-##-###-####",513 cc: "DZ",514 cd: "Algeria",515 desc_en: "",516 name_ru: "Алжир",517 desc_ru: ""518 }, {519 mask: "+593-##-###-####",520 cc: "EC",521 cd: "Ecuador ",522 desc_en: "mobile",523 name_ru: "Эквадор ",524 desc_ru: "мобильные"525 }, {526 mask: "+593-#-###-####",527 cc: "EC",528 cd: "Ecuador",529 desc_en: "",530 name_ru: "Эквадор",531 desc_ru: ""532 }, {533 mask: "+372-####-####",534 cc: "EE",535 cd: "Estonia ",536 desc_en: "mobile",537 name_ru: "Эстония ",538 desc_ru: "мобильные"539 }, {540 mask: "+372-###-####",541 cc: "EE",542 cd: "Estonia",543 desc_en: "",544 name_ru: "Эстония",545 desc_ru: ""546 }, {547 mask: "+20(###)###-####",548 cc: "EG",549 cd: "Egypt",550 desc_en: "",551 name_ru: "Египет",552 desc_ru: ""553 }, {554 mask: "+291-#-###-###",555 cc: "ER",556 cd: "Eritrea",557 desc_en: "",558 name_ru: "Эритрея",559 desc_ru: ""560 }, {561 mask: "+34(###)###-###",562 cc: "ES",563 cd: "Spain",564 desc_en: "",565 name_ru: "Испания",566 desc_ru: ""567 }, {568 mask: "+251-##-###-####",569 cc: "ET",570 cd: "Ethiopia",571 desc_en: "",572 name_ru: "Эфиопия",573 desc_ru: ""574 }, {575 mask: "+358(###)###-##-##",576 cc: "FI",577 cd: "Finland",578 desc_en: "",579 name_ru: "Финляндия",580 desc_ru: ""581 }, {582 mask: "+679-##-#####",583 cc: "FJ",584 cd: "Fiji",585 desc_en: "",586 name_ru: "Фиджи",587 desc_ru: ""588 }, {589 mask: "+500-#####",590 cc: "FK",591 cd: "Falkland Islands",592 desc_en: "",593 name_ru: "Фолклендские острова",594 desc_ru: ""595 }, {596 mask: "+691-###-####",597 cc: "FM",598 cd: "F.S. Micronesia",599 desc_en: "",600 name_ru: "Ф.Ш. Микронезии",601 desc_ru: ""602 }, {603 mask: "+298-###-###",604 cc: "FO",605 cd: "Faroe Islands",606 desc_en: "",607 name_ru: "Фарерские острова",608 desc_ru: ""609 }, {610 mask: "+262-#####-####",611 cc: "FR",612 cd: "Mayotte",613 desc_en: "",614 name_ru: "Майотта",615 desc_ru: ""616 }, {617 mask: "+33(###)###-###",618 cc: "FR",619 cd: "France",620 desc_en: "",621 name_ru: "Франция",622 desc_ru: ""623 }, {624 mask: "+508-##-####",625 cc: "FR",626 cd: "St Pierre & Miquelon",627 desc_en: "",628 name_ru: "Сен-Пьер и Микелон",629 desc_ru: ""630 }, {631 mask: "+590(###)###-###",632 cc: "FR",633 cd: "Guadeloupe",634 desc_en: "",635 name_ru: "Гваделупа",636 desc_ru: ""637 }, {638 mask: "+241-#-##-##-##",639 cc: "GA",640 cd: "Gabon",641 desc_en: "",642 name_ru: "Габон",643 desc_ru: ""644 }, {645 mask: "+1(473)###-####",646 cc: "GD",647 cd: "Grenada",648 desc_en: "",649 name_ru: "Гренада",650 desc_ru: ""651 }, {652 mask: "+995(###)###-###",653 cc: "GE",654 cd: "Rep. of Georgia",655 desc_en: "",656 name_ru: "Грузия",657 desc_ru: ""658 }, {659 mask: "+594-#####-####",660 cc: "GF",661 cd: "Guiana (French)",662 desc_en: "",663 name_ru: "Фр. Гвиана",664 desc_ru: ""665 }, {666 mask: "+233(###)###-###",667 cc: "GH",668 cd: "Ghana",669 desc_en: "",670 name_ru: "Гана",671 desc_ru: ""672 }, {673 mask: "+350-###-#####",674 cc: "GI",675 cd: "Gibraltar",676 desc_en: "",677 name_ru: "Гибралтар",678 desc_ru: ""679 }, {680 mask: "+299-##-##-##",681 cc: "GL",682 cd: "Greenland",683 desc_en: "",684 name_ru: "Гренландия",685 desc_ru: ""686 }, {687 mask: "+220(###)##-##",688 cc: "GM",689 cd: "Gambia",690 desc_en: "",691 name_ru: "Гамбия",692 desc_ru: ""693 }, {694 mask: "+224-##-###-###",695 cc: "GN",696 cd: "Guinea",697 desc_en: "",698 name_ru: "Гвинея",699 desc_ru: ""700 }, {701 mask: "+240-##-###-####",702 cc: "GQ",703 cd: "Equatorial Guinea",704 desc_en: "",705 name_ru: "Экваториальная Гвинея",706 desc_ru: ""707 }, {708 mask: "+30(###)###-####",709 cc: "GR",710 cd: "Greece",711 desc_en: "",712 name_ru: "Греция",713 desc_ru: ""714 }, {715 mask: "+502-#-###-####",716 cc: "GT",717 cd: "Guatemala",718 desc_en: "",719 name_ru: "Гватемала",720 desc_ru: ""721 }, {722 mask: "+1(671)###-####",723 cc: "GU",724 cd: "Guam",725 desc_en: "",726 name_ru: "Гуам",727 desc_ru: ""728 }, {729 mask: "+245-#-######",730 cc: "GW",731 cd: "Guinea-Bissau",732 desc_en: "",733 name_ru: "Гвинея-Бисау",734 desc_ru: ""735 }, {736 mask: "+592-###-####",737 cc: "GY",738 cd: "Guyana",739 desc_en: "",740 name_ru: "Гайана",741 desc_ru: ""742 }, {743 mask: "+852-####-####",744 cc: "HK",745 cd: "Hong Kong",746 desc_en: "",747 name_ru: "Гонконг",748 desc_ru: ""749 }, {750 mask: "+504-####-####",751 cc: "HN",752 cd: "Honduras",753 desc_en: "",754 name_ru: "Гондурас",755 desc_ru: ""756 }, {757 mask: "+385-(##)-###-###",758 cc: "HR",759 cd: "Croatia",760 desc_en: "",761 name_ru: "Хорватия",762 desc_ru: ""763 }, {764 mask: "+385-(##)-###-####",765 cc: "HR",766 cd: "Croatia",767 desc_en: "",768 name_ru: "Хорватия",769 desc_ru: ""770 }, {771 mask: "+385-1-####-###",772 cc: "HR",773 cd: "Croatia",774 desc_en: "",775 name_ru: "Хорватия",776 desc_ru: ""777 }, {778 mask: "+509-##-##-####",779 cc: "HT",780 cd: "Haiti",781 desc_en: "",782 name_ru: "Гаити",783 desc_ru: ""784 }, {785 mask: "+36(###)###-###",786 cc: "HU",787 cd: "Hungary",788 desc_en: "",789 name_ru: "Венгрия",790 desc_ru: ""791 }, {792 mask: "+62(8##)###-####",793 cc: "ID",794 cd: "Indonesia ",795 desc_en: "mobile",796 name_ru: "Индонезия ",797 desc_ru: "мобильные"798 }, {799 mask: "+62-##-###-##",800 cc: "ID",801 cd: "Indonesia",802 desc_en: "",803 name_ru: "Индонезия",804 desc_ru: ""805 }, {806 mask: "+62-##-###-###",807 cc: "ID",808 cd: "Indonesia",809 desc_en: "",810 name_ru: "Индонезия",811 desc_ru: ""812 }, {813 mask: "+62-##-###-####",814 cc: "ID",815 cd: "Indonesia",816 desc_en: "",817 name_ru: "Индонезия",818 desc_ru: ""819 }, {820 mask: "+62(8##)###-###",821 cc: "ID",822 cd: "Indonesia ",823 desc_en: "mobile",824 name_ru: "Индонезия ",825 desc_ru: "мобильные"826 }, {827 mask: "+62(8##)###-##-###",828 cc: "ID",829 cd: "Indonesia ",830 desc_en: "mobile",831 name_ru: "Индонезия ",832 desc_ru: "мобильные"833 }, {834 mask: "+353(###)###-###",835 cc: "IE",836 cd: "Ireland",837 desc_en: "",838 name_ru: "Ирландия",839 desc_ru: ""840 }, {841 mask: "+972-5#-###-####",842 cc: "IL",843 cd: "Israel ",844 desc_en: "mobile",845 name_ru: "Израиль ",846 desc_ru: "мобильные"847 }, {848 mask: "+972-#-###-####",849 cc: "IL",850 cd: "Israel",851 desc_en: "",852 name_ru: "Израиль",853 desc_ru: ""854 }, {855 mask: "+91(####)###-###",856 cc: "IN",857 cd: "India",858 desc_en: "",859 name_ru: "Индия",860 desc_ru: ""861 }, {862 mask: "+246-###-####",863 cc: "IO",864 cd: "Diego Garcia",865 desc_en: "",866 name_ru: "Диего-Гарсия",867 desc_ru: ""868 }, {869 mask: "+964(###)###-####",870 cc: "IQ",871 cd: "Iraq",872 desc_en: "",873 name_ru: "Ирак",874 desc_ru: ""875 }, {876 mask: "+98(###)###-####",877 cc: "IR",878 cd: "Iran",879 desc_en: "",880 name_ru: "Иран",881 desc_ru: ""882 }, {883 mask: "+354-###-####",884 cc: "IS",885 cd: "Iceland",886 desc_en: "",887 name_ru: "Исландия",888 desc_ru: ""889 }, {890 mask: "+39(###)####-###",891 cc: "IT",892 cd: "Italy",893 desc_en: "",894 name_ru: "Италия",895 desc_ru: ""896 }, {897 mask: "+1(876)###-####",898 cc: "JM",899 cd: "Jamaica",900 desc_en: "",901 name_ru: "Ямайка",902 desc_ru: ""903 }, {904 mask: "+962-#-####-####",905 cc: "JO",906 cd: "Jordan",907 desc_en: "",908 name_ru: "Иордания",909 desc_ru: ""910 }, {911 mask: "+81-##-####-####",912 cc: "JP",913 cd: "Japan ",914 desc_en: "mobile",915 name_ru: "Япония ",916 desc_ru: "мобильные"917 }, {918 mask: "+81(###)###-###",919 cc: "JP",920 cd: "Japan",921 desc_en: "",922 name_ru: "Япония",923 desc_ru: ""924 }, {925 mask: "+254-###-######",926 cc: "KE",927 cd: "Kenya",928 desc_en: "",929 name_ru: "Кения",930 desc_ru: ""931 }, {932 mask: "+996(###)###-###",933 cc: "KG",934 cd: "Kyrgyzstan",935 desc_en: "",936 name_ru: "Киргизия",937 desc_ru: ""938 }, {939 mask: "+855-##-###-###",940 cc: "KH",941 cd: "Cambodia",942 desc_en: "",943 name_ru: "Камбоджа",944 desc_ru: ""945 }, {946 mask: "+686-##-###",947 cc: "KI",948 cd: "Kiribati",949 desc_en: "",950 name_ru: "Кирибати",951 desc_ru: ""952 }, {953 mask: "+269-##-#####",954 cc: "KM",955 cd: "Comoros",956 desc_en: "",957 name_ru: "Коморы",958 desc_ru: ""959 }, {960 mask: "+1(869)###-####",961 cc: "KN",962 cd: "Saint Kitts & Nevis",963 desc_en: "",964 name_ru: "Сент-Китс и Невис",965 desc_ru: ""966 }, {967 mask: "+850-191-###-####",968 cc: "KP",969 cd: "DPR Korea (North) ",970 desc_en: "mobile",971 name_ru: "Корейская НДР ",972 desc_ru: "мобильные"973 }, {974 mask: "+850-##-###-###",975 cc: "KP",976 cd: "DPR Korea (North)",977 desc_en: "",978 name_ru: "Корейская НДР",979 desc_ru: ""980 }, {981 mask: "+850-###-####-###",982 cc: "KP",983 cd: "DPR Korea (North)",984 desc_en: "",985 name_ru: "Корейская НДР",986 desc_ru: ""987 }, {988 mask: "+850-###-###",989 cc: "KP",990 cd: "DPR Korea (North)",991 desc_en: "",992 name_ru: "Корейская НДР",993 desc_ru: ""994 }, {995 mask: "+850-####-####",996 cc: "KP",997 cd: "DPR Korea (North)",998 desc_en: "",999 name_ru: "Корейская НДР",1000 desc_ru: ""1001 }, {1002 mask: "+850-####-#############",1003 cc: "KP",1004 cd: "DPR Korea (North)",1005 desc_en: "",1006 name_ru: "Корейская НДР",1007 desc_ru: ""1008 }, {1009 mask: "+82-##-###-####",1010 cc: "KR",1011 cd: "Korea (South)",1012 desc_en: "",1013 name_ru: "Респ. Корея",1014 desc_ru: ""1015 }, {1016 mask: "+965-####-####",1017 cc: "KW",1018 cd: "Kuwait",1019 desc_en: "",1020 name_ru: "Кувейт",1021 desc_ru: ""1022 }, {1023 mask: "+1(345)###-####",1024 cc: "KY",1025 cd: "Cayman Islands",1026 desc_en: "",1027 name_ru: "Каймановы острова",1028 desc_ru: ""1029 }, {1030 mask: "+7(6##)###-##-##",1031 cc: "KZ",1032 cd: "Kazakhstan",1033 desc_en: "",1034 name_ru: "Казахстан",1035 desc_ru: ""1036 }, {1037 mask: "+7(7##)###-##-##",1038 cc: "KZ",1039 cd: "Kazakhstan",1040 desc_en: "",1041 name_ru: "Казахстан",1042 desc_ru: ""1043 }, {1044 mask: "+856(20##)###-###",1045 cc: "LA",1046 cd: "Laos ",1047 desc_en: "mobile",1048 name_ru: "Лаос ",1049 desc_ru: "мобильные"1050 }, {1051 mask: "+856-##-###-###",1052 cc: "LA",1053 cd: "Laos",1054 desc_en: "",1055 name_ru: "Лаос",1056 desc_ru: ""1057 }, {1058 mask: "+961-##-###-###",1059 cc: "LB",1060 cd: "Lebanon ",1061 desc_en: "mobile",1062 name_ru: "Ливан ",1063 desc_ru: "мобильные"1064 }, {1065 mask: "+961-#-###-###",1066 cc: "LB",1067 cd: "Lebanon",1068 desc_en: "",1069 name_ru: "Ливан",1070 desc_ru: ""1071 }, {1072 mask: "+1(758)###-####",1073 cc: "LC",1074 cd: "Saint Lucia",1075 desc_en: "",1076 name_ru: "Сент-Люсия",1077 desc_ru: ""1078 }, {1079 mask: "+423(###)###-####",1080 cc: "LI",1081 cd: "Liechtenstein",1082 desc_en: "",1083 name_ru: "Лихтенштейн",1084 desc_ru: ""1085 }, {1086 mask: "+94-##-###-####",1087 cc: "LK",1088 cd: "Sri Lanka",1089 desc_en: "",1090 name_ru: "Шри-Ланка",1091 desc_ru: ""1092 }, {1093 mask: "+231-##-###-###",1094 cc: "LR",1095 cd: "Liberia",1096 desc_en: "",1097 name_ru: "Либерия",1098 desc_ru: ""1099 }, {1100 mask: "+266-#-###-####",1101 cc: "LS",1102 cd: "Lesotho",1103 desc_en: "",1104 name_ru: "Лесото",1105 desc_ru: ""1106 }, {1107 mask: "+370(###)##-###",1108 cc: "LT",1109 cd: "Lithuania",1110 desc_en: "",1111 name_ru: "Литва",1112 desc_ru: ""1113 }, {1114 mask: "+352-###-###",1115 cc: "LU",1116 cd: "Luxembourg",1117 desc_en: "",1118 name_ru: "Люксембург",1119 desc_ru: ""1120 }, {1121 mask: "+352-####-###",1122 cc: "LU",1123 cd: "Luxembourg",1124 desc_en: "",1125 name_ru: "Люксембург",1126 desc_ru: ""1127 }, {1128 mask: "+352-#####-###",1129 cc: "LU",1130 cd: "Luxembourg",1131 desc_en: "",1132 name_ru: "Люксембург",1133 desc_ru: ""1134 }, {1135 mask: "+352-######-###",1136 cc: "LU",1137 cd: "Luxembourg",1138 desc_en: "",1139 name_ru: "Люксембург",1140 desc_ru: ""1141 }, {1142 mask: "+371-##-###-###",1143 cc: "LV",1144 cd: "Latvia",1145 desc_en: "",1146 name_ru: "Латвия",1147 desc_ru: ""1148 }, {1149 mask: "+218-##-###-###",1150 cc: "LY",1151 cd: "Libya",1152 desc_en: "",1153 name_ru: "Ливия",1154 desc_ru: ""1155 }, {1156 mask: "+218-21-###-####",1157 cc: "LY",1158 cd: "Libya",1159 desc_en: "Tripoli",1160 name_ru: "Ливия",1161 desc_ru: "Триполи"1162 }, {1163 mask: "+212-##-####-###",1164 cc: "MA",1165 cd: "Morocco",1166 desc_en: "",1167 name_ru: "Марокко",1168 desc_ru: ""1169 }, {1170 mask: "+377(###)###-###",1171 cc: "MC",1172 cd: "Monaco",1173 desc_en: "",1174 name_ru: "Монако",1175 desc_ru: ""1176 }, {1177 mask: "+377-##-###-###",1178 cc: "MC",1179 cd: "Monaco",1180 desc_en: "",1181 name_ru: "Монако",1182 desc_ru: ""1183 }, {1184 mask: "+373-####-####",1185 cc: "MD",1186 cd: "Moldova",1187 desc_en: "",1188 name_ru: "Молдова",1189 desc_ru: ""1190 }, {1191 mask: "+382-##-###-###",1192 cc: "ME",1193 cd: "Montenegro",1194 desc_en: "",1195 name_ru: "Черногория",1196 desc_ru: ""1197 }, {1198 mask: "+261-##-##-#####",1199 cc: "MG",1200 cd: "Madagascar",1201 desc_en: "",1202 name_ru: "Мадагаскар",1203 desc_ru: ""1204 }, {1205 mask: "+692-###-####",1206 cc: "MH",1207 cd: "Marshall Islands",1208 desc_en: "",1209 name_ru: "Маршалловы Острова",1210 desc_ru: ""1211 }, {1212 mask: "+389-##-###-###",1213 cc: "MK",1214 cd: "Republic of Macedonia",1215 desc_en: "",1216 name_ru: "Респ. Македония",1217 desc_ru: ""1218 }, {1219 mask: "+223-##-##-####",1220 cc: "ML",1221 cd: "Mali",1222 desc_en: "",1223 name_ru: "Мали",1224 desc_ru: ""1225 }, {1226 mask: "+95-##-###-###",1227 cc: "MM",1228 cd: "Burma (Myanmar)",1229 desc_en: "",1230 name_ru: "Бирма (Мьянма)",1231 desc_ru: ""1232 }, {1233 mask: "+95-#-###-###",1234 cc: "MM",1235 cd: "Burma (Myanmar)",1236 desc_en: "",1237 name_ru: "Бирма (Мьянма)",1238 desc_ru: ""1239 }, {1240 mask: "+95-###-###",1241 cc: "MM",1242 cd: "Burma (Myanmar)",1243 desc_en: "",1244 name_ru: "Бирма (Мьянма)",1245 desc_ru: ""1246 }, {1247 mask: "+976-##-##-####",1248 cc: "MN",1249 cd: "Mongolia",1250 desc_en: "",1251 name_ru: "Монголия",1252 desc_ru: ""1253 }, {1254 mask: "+853-####-####",1255 cc: "MO",1256 cd: "Macau",1257 desc_en: "",1258 name_ru: "Макао",1259 desc_ru: ""1260 }, {1261 mask: "+1(670)###-####",1262 cc: "MP",1263 cd: "Northern Mariana Islands",1264 desc_en: "",1265 name_ru: "Северные Марианские острова Сайпан",1266 desc_ru: ""1267 }, {1268 mask: "+596(###)##-##-##",1269 cc: "MQ",1270 cd: "Martinique",1271 desc_en: "",1272 name_ru: "Мартиника",1273 desc_ru: ""1274 }, {1275 mask: "+222-##-##-####",1276 cc: "MR",1277 cd: "Mauritania",1278 desc_en: "",1279 name_ru: "Мавритания",1280 desc_ru: ""1281 }, {1282 mask: "+1(664)###-####",1283 cc: "MS",1284 cd: "Montserrat",1285 desc_en: "",1286 name_ru: "Монтсеррат",1287 desc_ru: ""1288 }, {1289 mask: "+356-####-####",1290 cc: "MT",1291 cd: "Malta",1292 desc_en: "",1293 name_ru: "Мальта",1294 desc_ru: ""1295 }, {1296 mask: "+230-###-####",1297 cc: "MU",1298 cd: "Mauritius",1299 desc_en: "",1300 name_ru: "Маврикий",1301 desc_ru: ""1302 }, {1303 mask: "+960-###-####",1304 cc: "MV",1305 cd: "Maldives",1306 desc_en: "",1307 name_ru: "Мальдивские острова",1308 desc_ru: ""1309 }, {1310 mask: "+265-1-###-###",1311 cc: "MW",1312 cd: "Malawi",1313 desc_en: "Telecom Ltd",1314 name_ru: "Малави",1315 desc_ru: "Telecom Ltd"1316 }, {1317 mask: "+265-#-####-####",1318 cc: "MW",1319 cd: "Malawi",1320 desc_en: "",1321 name_ru: "Малави",1322 desc_ru: ""1323 }, {1324 mask: "+52(###)###-####",1325 cc: "MX",1326 cd: "Mexico",1327 desc_en: "",1328 name_ru: "Мексика",1329 desc_ru: ""1330 }, {1331 mask: "+52-##-##-####",1332 cc: "MX",1333 cd: "Mexico",1334 desc_en: "",1335 name_ru: "Мексика",1336 desc_ru: ""1337 }, {1338 mask: "+60-##-###-####",1339 cc: "MY",1340 cd: "Malaysia ",1341 desc_en: "mobile",1342 name_ru: "Малайзия ",1343 desc_ru: "мобильные"1344 }, {1345 mask: "+60-11-####-####",1346 cc: "MY",1347 cd: "Malaysia ",1348 desc_en: "mobile",1349 name_ru: "Малайзия ",1350 desc_ru: "мобильные"1351 }, {1352 mask: "+60(###)###-###",1353 cc: "MY",1354 cd: "Malaysia",1355 desc_en: "",1356 name_ru: "Малайзия",1357 desc_ru: ""1358 }, {1359 mask: "+60-##-###-###",1360 cc: "MY",1361 cd: "Malaysia",1362 desc_en: "",1363 name_ru: "Малайзия",1364 desc_ru: ""1365 }, {1366 mask: "+60-#-###-###",1367 cc: "MY",1368 cd: "Malaysia",1369 desc_en: "",1370 name_ru: "Малайзия",1371 desc_ru: ""1372 }, {1373 mask: "+258-##-###-###",1374 cc: "MZ",1375 cd: "Mozambique",1376 desc_en: "",1377 name_ru: "Мозамбик",1378 desc_ru: ""1379 }, {1380 mask: "+264-##-###-####",1381 cc: "NA",1382 cd: "Namibia",1383 desc_en: "",1384 name_ru: "Намибия",1385 desc_ru: ""1386 }, {1387 mask: "+687-##-####",1388 cc: "NC",1389 cd: "New Caledonia",1390 desc_en: "",1391 name_ru: "Новая Каледония",1392 desc_ru: ""1393 }, {1394 mask: "+227-##-##-####",1395 cc: "NE",1396 cd: "Niger",1397 desc_en: "",1398 name_ru: "Нигер",1399 desc_ru: ""1400 }, {1401 mask: "+672-3##-###",1402 cc: "NF",1403 cd: "Norfolk Island",1404 desc_en: "",1405 name_ru: "Норфолк (остров)",1406 desc_ru: ""1407 }, {1408 mask: "+234(###)###-####",1409 cc: "NG",1410 cd: "Nigeria",1411 desc_en: "",1412 name_ru: "Нигерия",1413 desc_ru: ""1414 }, {1415 mask: "+234-##-###-###",1416 cc: "NG",1417 cd: "Nigeria",1418 desc_en: "",1419 name_ru: "Нигерия",1420 desc_ru: ""1421 }, {1422 mask: "+234-##-###-##",1423 cc: "NG",1424 cd: "Nigeria",1425 desc_en: "",1426 name_ru: "Нигерия",1427 desc_ru: ""1428 }, {1429 mask: "+234(###)###-####",1430 cc: "NG",1431 cd: "Nigeria ",1432 desc_en: "mobile",1433 name_ru: "Нигерия ",1434 desc_ru: "мобильные"1435 }, {1436 mask: "+505-####-####",1437 cc: "NI",1438 cd: "Nicaragua",1439 desc_en: "",1440 name_ru: "Никарагуа",1441 desc_ru: ""1442 }, {1443 mask: "+31-##-###-####",1444 cc: "NL",1445 cd: "Netherlands",1446 desc_en: "",1447 name_ru: "Нидерланды",1448 desc_ru: ""1449 }, {1450 mask: "+47(###)##-###",1451 cc: "NO",1452 cd: "Norway",1453 desc_en: "",1454 name_ru: "Норвегия",1455 desc_ru: ""1456 }, {1457 mask: "+977-##-###-###",1458 cc: "NP",1459 cd: "Nepal",1460 desc_en: "",1461 name_ru: "Непал",1462 desc_ru: ""1463 }, {1464 mask: "+674-###-####",1465 cc: "NR",1466 cd: "Nauru",1467 desc_en: "",1468 name_ru: "Науру",1469 desc_ru: ""1470 }, {1471 mask: "+683-####",1472 cc: "NU",1473 cd: "Niue",1474 desc_en: "",1475 name_ru: "Ниуэ",1476 desc_ru: ""1477 }, {1478 mask: "+64(###)###-###",1479 cc: "NZ",1480 cd: "New Zealand",1481 desc_en: "",1482 name_ru: "Новая Зеландия",1483 desc_ru: ""1484 }, {1485 mask: "+64-##-###-###",1486 cc: "NZ",1487 cd: "New Zealand",1488 desc_en: "",1489 name_ru: "Новая Зеландия",1490 desc_ru: ""1491 }, {1492 mask: "+64(###)###-####",1493 cc: "NZ",1494 cd: "New Zealand",1495 desc_en: "",1496 name_ru: "Новая Зеландия",1497 desc_ru: ""1498 }, {1499 mask: "+968-##-###-###",1500 cc: "OM",1501 cd: "Oman",1502 desc_en: "",1503 name_ru: "Оман",1504 desc_ru: ""1505 }, {1506 mask: "+507-###-####",1507 cc: "PA",1508 cd: "Panama",1509 desc_en: "",1510 name_ru: "Панама",1511 desc_ru: ""1512 }, {1513 mask: "+51(###)###-###",1514 cc: "PE",1515 cd: "Peru",1516 desc_en: "",1517 name_ru: "Перу",1518 desc_ru: ""1519 }, {1520 mask: "+689-##-##-##",1521 cc: "PF",1522 cd: "French Polynesia",1523 desc_en: "",1524 name_ru: "Французская Полинезия (Таити)",1525 desc_ru: ""1526 }, {1527 mask: "+675(###)##-###",1528 cc: "PG",1529 cd: "Papua New Guinea",1530 desc_en: "",1531 name_ru: "Папуа-Новая Гвинея",1532 desc_ru: ""1533 }, {1534 mask: "+63(###)###-####",1535 cc: "PH",1536 cd: "Philippines",1537 desc_en: "",1538 name_ru: "Филиппины",1539 desc_ru: ""1540 }, {1541 mask: "+92(###)###-####",1542 cc: "PK",1543 cd: "Pakistan",1544 desc_en: "",1545 name_ru: "Пакистан",1546 desc_ru: ""1547 }, {1548 mask: "+48(###)###-###",1549 cc: "PL",1550 cd: "Poland",1551 desc_en: "",1552 name_ru: "Польша",1553 desc_ru: ""1554 }, {1555 mask: "+970-##-###-####",1556 cc: "PS",1557 cd: "Palestine",1558 desc_en: "",1559 name_ru: "Палестина",1560 desc_ru: ""1561 }, {1562 mask: "+351-##-###-####",1563 cc: "PT",1564 cd: "Portugal",1565 desc_en: "",1566 name_ru: "Португалия",1567 desc_ru: ""1568 }, {1569 mask: "+680-###-####",1570 cc: "PW",1571 cd: "Palau",1572 desc_en: "",1573 name_ru: "Палау",1574 desc_ru: ""1575 }, {1576 mask: "+595(###)###-###",1577 cc: "PY",1578 cd: "Paraguay",1579 desc_en: "",1580 name_ru: "Парагвай",1581 desc_ru: ""1582 }, {1583 mask: "+974-####-####",1584 cc: "QA",1585 cd: "Qatar",1586 desc_en: "",1587 name_ru: "Катар",1588 desc_ru: ""1589 }, {1590 mask: "+262-#####-####",1591 cc: "RE",1592 cd: "Reunion",1593 desc_en: "",1594 name_ru: "Реюньон",1595 desc_ru: ""1596 }, {1597 mask: "+40-##-###-####",1598 cc: "RO",1599 cd: "Romania",1600 desc_en: "",1601 name_ru: "Румыния",1602 desc_ru: ""1603 }, {1604 mask: "+381-##-###-####",1605 cc: "RS",1606 cd: "Serbia",1607 desc_en: "",1608 name_ru: "Сербия",1609 desc_ru: ""1610 }, {1611 mask: "+7(###)###-##-##",1612 cc: "RU",1613 cd: "Russia",1614 desc_en: "",1615 name_ru: "Россия",1616 desc_ru: ""1617 }, {1618 mask: "+250(###)###-###",1619 cc: "RW",1620 cd: "Rwanda",1621 desc_en: "",1622 name_ru: "Руанда",1623 desc_ru: ""1624 }, {1625 mask: "+966-5-####-####",1626 cc: "SA",1627 cd: "Saudi Arabia ",1628 desc_en: "mobile",1629 name_ru: "Саудовская Аравия ",1630 desc_ru: "мобильные"1631 }, {1632 mask: "+966-#-###-####",1633 cc: "SA",1634 cd: "Saudi Arabia",1635 desc_en: "",1636 name_ru: "Саудовская Аравия",1637 desc_ru: ""1638 }, {1639 mask: "+677-###-####",1640 cc: "SB",1641 cd: "Solomon Islands ",1642 desc_en: "mobile",1643 name_ru: "Соломоновы Острова ",1644 desc_ru: "мобильные"1645 }, {1646 mask: "+677-#####",1647 cc: "SB",1648 cd: "Solomon Islands",1649 desc_en: "",1650 name_ru: "Соломоновы Острова",1651 desc_ru: ""1652 }, {1653 mask: "+248-#-###-###",1654 cc: "SC",1655 cd: "Seychelles",1656 desc_en: "",1657 name_ru: "Сейшелы",1658 desc_ru: ""1659 }, {1660 mask: "+249-##-###-####",1661 cc: "SD",1662 cd: "Sudan",1663 desc_en: "",1664 name_ru: "Судан",1665 desc_ru: ""1666 }, {1667 mask: "+46-##-###-####",1668 cc: "SE",1669 cd: "Sweden",1670 desc_en: "",1671 name_ru: "Швеция",1672 desc_ru: ""1673 }, {1674 mask: "+65-####-####",1675 cc: "SG",1676 cd: "Singapore",1677 desc_en: "",1678 name_ru: "Сингапур",1679 desc_ru: ""1680 }, {1681 mask: "+290-####",1682 cc: "SH",1683 cd: "Saint Helena",1684 desc_en: "",1685 name_ru: "Остров Святой Елены",1686 desc_ru: ""1687 }, {1688 mask: "+290-####",1689 cc: "SH",1690 cd: "Tristan da Cunha",1691 desc_en: "",1692 name_ru: "Тристан-да-Кунья",1693 desc_ru: ""1694 }, {1695 mask: "+386-##-###-###",1696 cc: "SI",1697 cd: "Slovenia",1698 desc_en: "",1699 name_ru: "Словения",1700 desc_ru: ""1701 }, {1702 mask: "+421(###)###-###",1703 cc: "SK",1704 cd: "Slovakia",1705 desc_en: "",1706 name_ru: "Словакия",1707 desc_ru: ""1708 }, {1709 mask: "+232-##-######",1710 cc: "SL",1711 cd: "Sierra Leone",1712 desc_en: "",1713 name_ru: "Сьерра-Леоне",1714 desc_ru: ""1715 }, {1716 mask: "+378-####-######",1717 cc: "SM",1718 cd: "San Marino",1719 desc_en: "",1720 name_ru: "Сан-Марино",1721 desc_ru: ""1722 }, {1723 mask: "+221-##-###-####",1724 cc: "SN",1725 cd: "Senegal",1726 desc_en: "",1727 name_ru: "Сенегал",1728 desc_ru: ""1729 }, {1730 mask: "+252-##-###-###",1731 cc: "SO",1732 cd: "Somalia",1733 desc_en: "",1734 name_ru: "Сомали",1735 desc_ru: ""1736 }, {1737 mask: "+252-#-###-###",1738 cc: "SO",1739 cd: "Somalia",1740 desc_en: "",1741 name_ru: "Сомали",1742 desc_ru: ""1743 }, {1744 mask: "+252-#-###-###",1745 cc: "SO",1746 cd: "Somalia ",1747 desc_en: "mobile",1748 name_ru: "Сомали ",1749 desc_ru: "мобильные"1750 }, {1751 mask: "+597-###-####",1752 cc: "SR",1753 cd: "Suriname ",1754 desc_en: "mobile",1755 name_ru: "Суринам ",1756 desc_ru: "мобильные"1757 }, {1758 mask: "+597-###-###",1759 cc: "SR",1760 cd: "Suriname",1761 desc_en: "",1762 name_ru: "Суринам",1763 desc_ru: ""1764 }, {1765 mask: "+211-##-###-####",1766 cc: "SS",1767 cd: "South Sudan",1768 desc_en: "",1769 name_ru: "Южный Судан",1770 desc_ru: ""1771 }, {1772 mask: "+239-##-#####",1773 cc: "ST",1774 cd: "Sao Tome and Principe",1775 desc_en: "",1776 name_ru: "Сан-Томе и Принсипи",1777 desc_ru: ""1778 }, {1779 mask: "+503-##-##-####",1780 cc: "SV",1781 cd: "El Salvador",1782 desc_en: "",1783 name_ru: "Сальвадор",1784 desc_ru: ""1785 }, {1786 mask: "+1(721)###-####",1787 cc: "SX",1788 cd: "Sint Maarten",1789 desc_en: "",1790 name_ru: "Синт-Маартен",1791 desc_ru: ""1792 }, {1793 mask: "+963-##-####-###",1794 cc: "SY",1795 cd: "Syrian Arab Republic",1796 desc_en: "",1797 name_ru: "Сирийская арабская республика",1798 desc_ru: ""1799 }, {1800 mask: "+268-##-##-####",1801 cc: "SZ",1802 cd: "Swaziland",1803 desc_en: "",1804 name_ru: "Свазиленд",1805 desc_ru: ""1806 }, {1807 mask: "+1(649)###-####",1808 cc: "TC",1809 cd: "Turks & Caicos",1810 desc_en: "",1811 name_ru: "Тёркс и Кайкос",1812 desc_ru: ""1813 }, {1814 mask: "+235-##-##-##-##",1815 cc: "TD",1816 cd: "Chad",1817 desc_en: "",1818 name_ru: "Чад",1819 desc_ru: ""1820 }, {1821 mask: "+228-##-###-###",1822 cc: "TG",1823 cd: "Togo",1824 desc_en: "",1825 name_ru: "Того",1826 desc_ru: ""1827 }, {1828 mask: "+66-##-###-####",1829 cc: "TH",1830 cd: "Thailand ",1831 desc_en: "mobile",1832 name_ru: "Таиланд ",1833 desc_ru: "мобильные"1834 }, {1835 mask: "+66-##-###-###",1836 cc: "TH",1837 cd: "Thailand",1838 desc_en: "",1839 name_ru: "Таиланд",1840 desc_ru: ""1841 }, {1842 mask: "+992-##-###-####",1843 cc: "TJ",1844 cd: "Tajikistan",1845 desc_en: "",1846 name_ru: "Таджикистан",1847 desc_ru: ""1848 }, {1849 mask: "+690-####",1850 cc: "TK",1851 cd: "Tokelau",1852 desc_en: "",1853 name_ru: "Токелау",1854 desc_ru: ""1855 }, {1856 mask: "+670-###-####",1857 cc: "TL",1858 cd: "East Timor",1859 desc_en: "",1860 name_ru: "Восточный Тимор",1861 desc_ru: ""1862 }, {1863 mask: "+670-77#-#####",1864 cc: "TL",1865 cd: "East Timor",1866 desc_en: "Timor Telecom",1867 name_ru: "Восточный Тимор",1868 desc_ru: "Timor Telecom"1869 }, {1870 mask: "+670-78#-#####",1871 cc: "TL",1872 cd: "East Timor",1873 desc_en: "Timor Telecom",1874 name_ru: "Восточный Тимор",1875 desc_ru: "Timor Telecom"1876 }, {1877 mask: "+993-#-###-####",1878 cc: "TM",1879 cd: "Turkmenistan",1880 desc_en: "",1881 name_ru: "Туркменистан",1882 desc_ru: ""1883 }, {1884 mask: "+216-##-###-###",1885 cc: "TN",1886 cd: "Tunisia",1887 desc_en: "",1888 name_ru: "Тунис",1889 desc_ru: ""1890 }, {1891 mask: "+676-#####",1892 cc: "TO",1893 cd: "Tonga",1894 desc_en: "",1895 name_ru: "Тонга",1896 desc_ru: ""1897 }, {1898 mask: "+90(###)###-####",1899 cc: "TR",1900 cd: "Turkey",1901 desc_en: "",1902 name_ru: "Турция",1903 desc_ru: ""1904 }, {1905 mask: "+1(868)###-####",1906 cc: "TT",1907 cd: "Trinidad & Tobago",1908 desc_en: "",1909 name_ru: "Тринидад и Тобаго",1910 desc_ru: ""1911 }, {1912 mask: "+688-90####",1913 cc: "TV",1914 cd: "Tuvalu ",1915 desc_en: "mobile",1916 name_ru: "Тувалу ",1917 desc_ru: "мобильные"1918 }, {1919 mask: "+688-2####",1920 cc: "TV",1921 cd: "Tuvalu",1922 desc_en: "",1923 name_ru: "Тувалу",1924 desc_ru: ""1925 }, {1926 mask: "+886-#-####-####",1927 cc: "TW",1928 cd: "Taiwan",1929 desc_en: "",1930 name_ru: "Тайвань",1931 desc_ru: ""1932 }, {1933 mask: "+886-####-####",1934 cc: "TW",1935 cd: "Taiwan",1936 desc_en: "",1937 name_ru: "Тайвань",1938 desc_ru: ""1939 }, {1940 mask: "+255-##-###-####",1941 cc: "TZ",1942 cd: "Tanzania",1943 desc_en: "",1944 name_ru: "Танзания",1945 desc_ru: ""1946 }, {1947 mask: "+380(##)###-##-##",1948 cc: "UA",1949 cd: "Ukraine",1950 desc_en: "",1951 name_ru: "Украина",1952 desc_ru: ""1953 }, {1954 mask: "+256(###)###-###",1955 cc: "UG",1956 cd: "Uganda",1957 desc_en: "",1958 name_ru: "Уганда",1959 desc_ru: ""1960 }, {1961 mask: "+44-##-####-####",1962 cc: "UK",1963 cd: "United Kingdom",1964 desc_en: "",1965 name_ru: "Великобритания",1966 desc_ru: ""1967 }, {1968 mask: "+598-#-###-##-##",1969 cc: "UY",1970 cd: "Uruguay",1971 desc_en: "",1972 name_ru: "Уругвай",1973 desc_ru: ""1974 }, {1975 mask: "+998-##-###-####",1976 cc: "UZ",1977 cd: "Uzbekistan",1978 desc_en: "",1979 name_ru: "Узбекистан",1980 desc_ru: ""1981 }, {1982 mask: "+39-6-698-#####",1983 cc: "VA",1984 cd: "Vatican City",1985 desc_en: "",1986 name_ru: "Ватикан",1987 desc_ru: ""1988 }, {1989 mask: "+1(784)###-####",1990 cc: "VC",1991 cd: "Saint Vincent & the Grenadines",1992 desc_en: "",1993 name_ru: "Сент-Винсент и Гренадины",1994 desc_ru: ""1995 }, {1996 mask: "+58(###)###-####",1997 cc: "VE",1998 cd: "Venezuela",1999 desc_en: "",2000 name_ru: "Венесуэла",2001 desc_ru: ""2002 }, {2003 mask: "+1(284)###-####",2004 cc: "VG",2005 cd: "British Virgin Islands",2006 desc_en: "",2007 name_ru: "Британские Виргинские острова",2008 desc_ru: ""2009 }, {2010 mask: "+1(340)###-####",2011 cc: "VI",2012 cd: "US Virgin Islands",2013 desc_en: "",2014 name_ru: "Американские Виргинские острова",2015 desc_ru: ""2016 }, {2017 mask: "+84-##-####-###",2018 cc: "VN",2019 cd: "Vietnam",2020 desc_en: "",2021 name_ru: "Вьетнам",2022 desc_ru: ""2023 }, {2024 mask: "+84(###)####-###",2025 cc: "VN",2026 cd: "Vietnam",2027 desc_en: "",2028 name_ru: "Вьетнам",2029 desc_ru: ""2030 }, {2031 mask: "+678-##-#####",2032 cc: "VU",2033 cd: "Vanuatu ",2034 desc_en: "mobile",2035 name_ru: "Вануату ",2036 desc_ru: "мобильные"2037 }, {2038 mask: "+678-#####",2039 cc: "VU",2040 cd: "Vanuatu",2041 desc_en: "",2042 name_ru: "Вануату",2043 desc_ru: ""2044 }, {2045 mask: "+681-##-####",2046 cc: "WF",2047 cd: "Wallis and Futuna",2048 desc_en: "",2049 name_ru: "Уоллис и Футуна",2050 desc_ru: ""2051 }, {2052 mask: "+685-##-####",2053 cc: "WS",2054 cd: "Samoa",2055 desc_en: "",2056 name_ru: "Самоа",2057 desc_ru: ""2058 }, {2059 mask: "+967-###-###-###",2060 cc: "YE",2061 cd: "Yemen ",2062 desc_en: "mobile",2063 name_ru: "Йемен ",2064 desc_ru: "мобильные"2065 }, {2066 mask: "+967-#-###-###",2067 cc: "YE",2068 cd: "Yemen",2069 desc_en: "",2070 name_ru: "Йемен",2071 desc_ru: ""2072 }, {2073 mask: "+967-##-###-###",2074 cc: "YE",2075 cd: "Yemen",2076 desc_en: "",2077 name_ru: "Йемен",2078 desc_ru: ""2079 }, {2080 mask: "+27-##-###-####",2081 cc: "ZA",2082 cd: "South Africa",2083 desc_en: "",2084 name_ru: "Южно-Африканская Респ.",2085 desc_ru: ""2086 }, {2087 mask: "+260-##-###-####",2088 cc: "ZM",2089 cd: "Zambia",2090 desc_en: "",2091 name_ru: "Замбия",2092 desc_ru: ""2093 }, {2094 mask: "+263-#-######",2095 cc: "ZW",2096 cd: "Zimbabwe",2097 desc_en: "",2098 name_ru: "Зимбабве",2099 desc_ru: ""2100 }, {2101 mask: "+1(###)###-####",2102 cc: [ "US", "CA" ],2103 cd: "USA and Canada",2104 desc_en: "",2105 name_ru: "США и Канада",2106 desc_ru: ""2107 } ]2108 }2109 }), Inputmask;...

Full Screen

Full Screen

X86ACPISysDescTable_vector.py

Source:X86ACPISysDescTable_vector.py Github

copy

Full Screen

1# This file was automatically generated by SWIG (http://www.swig.org).2# Version 3.0.123#4# Do not make changes to this file unless you know what you are doing--modify5# the SWIG interface file instead.6from sys import version_info as _swig_python_version_info7if _swig_python_version_info >= (2, 7, 0):8 def swig_import_helper():9 import importlib10 pkg = __name__.rpartition('.')[0]11 mname = '.'.join((pkg, '_X86ACPISysDescTable_vector')).lstrip('.')12 try:13 return importlib.import_module(mname)14 except ImportError:15 return importlib.import_module('_X86ACPISysDescTable_vector')16 _X86ACPISysDescTable_vector = swig_import_helper()17 del swig_import_helper18elif _swig_python_version_info >= (2, 6, 0):19 def swig_import_helper():20 from os.path import dirname21 import imp22 fp = None23 try:24 fp, pathname, description = imp.find_module('_X86ACPISysDescTable_vector', [dirname(__file__)])25 except ImportError:26 import _X86ACPISysDescTable_vector27 return _X86ACPISysDescTable_vector28 try:29 _mod = imp.load_module('_X86ACPISysDescTable_vector', fp, pathname, description)30 finally:31 if fp is not None:32 fp.close()33 return _mod34 _X86ACPISysDescTable_vector = swig_import_helper()35 del swig_import_helper36else:37 import _X86ACPISysDescTable_vector38del _swig_python_version_info39try:40 _swig_property = property41except NameError:42 pass # Python < 2.2 doesn't have 'property'.43try:44 import builtins as __builtin__45except ImportError:46 import __builtin__47def _swig_setattr_nondynamic(self, class_type, name, value, static=1):48 if (name == "thisown"):49 return self.this.own(value)50 if (name == "this"):51 if type(value).__name__ == 'SwigPyObject':52 self.__dict__[name] = value53 return54 method = class_type.__swig_setmethods__.get(name, None)55 if method:56 return method(self, value)57 if (not static):58 object.__setattr__(self, name, value)59 else:60 raise AttributeError("You cannot add attributes to %s" % self)61def _swig_setattr(self, class_type, name, value):62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)63def _swig_getattr(self, class_type, name):64 if (name == "thisown"):65 return self.this.own()66 method = class_type.__swig_getmethods__.get(name, None)67 if method:68 return method(self)69 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))70def _swig_repr(self):71 try:72 strthis = "proxy of " + self.this.__repr__()73 except __builtin__.Exception:74 strthis = ""75 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)76def _swig_setattr_nondynamic_method(set):77 def set_attr(self, name, value):78 if (name == "thisown"):79 return self.this.own(value)80 if hasattr(self, name) or (name == "this"):81 set(self, name, value)82 else:83 raise AttributeError("You cannot add attributes to %s" % self)84 return set_attr85class SwigPyIterator(object):86 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')87 def __init__(self, *args, **kwargs):88 raise AttributeError("No constructor defined - class is abstract")89 __repr__ = _swig_repr90 __swig_destroy__ = _X86ACPISysDescTable_vector.delete_SwigPyIterator91 __del__ = lambda self: None92 def value(self):93 return _X86ACPISysDescTable_vector.SwigPyIterator_value(self)94 def incr(self, n=1):95 return _X86ACPISysDescTable_vector.SwigPyIterator_incr(self, n)96 def decr(self, n=1):97 return _X86ACPISysDescTable_vector.SwigPyIterator_decr(self, n)98 def distance(self, x):99 return _X86ACPISysDescTable_vector.SwigPyIterator_distance(self, x)100 def equal(self, x):101 return _X86ACPISysDescTable_vector.SwigPyIterator_equal(self, x)102 def copy(self):103 return _X86ACPISysDescTable_vector.SwigPyIterator_copy(self)104 def next(self):105 return _X86ACPISysDescTable_vector.SwigPyIterator_next(self)106 def __next__(self):107 return _X86ACPISysDescTable_vector.SwigPyIterator___next__(self)108 def previous(self):109 return _X86ACPISysDescTable_vector.SwigPyIterator_previous(self)110 def advance(self, n):111 return _X86ACPISysDescTable_vector.SwigPyIterator_advance(self, n)112 def __eq__(self, x):113 return _X86ACPISysDescTable_vector.SwigPyIterator___eq__(self, x)114 def __ne__(self, x):115 return _X86ACPISysDescTable_vector.SwigPyIterator___ne__(self, x)116 def __iadd__(self, n):117 return _X86ACPISysDescTable_vector.SwigPyIterator___iadd__(self, n)118 def __isub__(self, n):119 return _X86ACPISysDescTable_vector.SwigPyIterator___isub__(self, n)120 def __add__(self, n):121 return _X86ACPISysDescTable_vector.SwigPyIterator___add__(self, n)122 def __sub__(self, *args):123 return _X86ACPISysDescTable_vector.SwigPyIterator___sub__(self, *args)124 def __iter__(self):125 return self126SwigPyIterator_swigregister = _X86ACPISysDescTable_vector.SwigPyIterator_swigregister127SwigPyIterator_swigregister(SwigPyIterator)128import m5.internal.param_X86ACPISysDescTable129import m5.internal.param_SimObject130import m5.internal.drain131import m5.internal.serialize132class vector_X86ACPISysDescTable(object):133 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')134 __repr__ = _swig_repr135 def iterator(self):136 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_iterator(self)137 def __iter__(self):138 return self.iterator()139 def __nonzero__(self):140 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___nonzero__(self)141 def __bool__(self):142 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___bool__(self)143 def __len__(self):144 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___len__(self)145 def __getslice__(self, i, j):146 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___getslice__(self, i, j)147 def __setslice__(self, *args):148 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___setslice__(self, *args)149 def __delslice__(self, i, j):150 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___delslice__(self, i, j)151 def __delitem__(self, *args):152 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___delitem__(self, *args)153 def __getitem__(self, *args):154 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___getitem__(self, *args)155 def __setitem__(self, *args):156 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable___setitem__(self, *args)157 def pop(self):158 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_pop(self)159 def append(self, x):160 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_append(self, x)161 def empty(self):162 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_empty(self)163 def size(self):164 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_size(self)165 def swap(self, v):166 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_swap(self, v)167 def begin(self):168 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_begin(self)169 def end(self):170 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_end(self)171 def rbegin(self):172 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_rbegin(self)173 def rend(self):174 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_rend(self)175 def clear(self):176 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_clear(self)177 def get_allocator(self):178 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_get_allocator(self)179 def pop_back(self):180 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_pop_back(self)181 def erase(self, *args):182 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_erase(self, *args)183 def __init__(self, *args):184 this = _X86ACPISysDescTable_vector.new_vector_X86ACPISysDescTable(*args)185 try:186 self.this.append(this)187 except __builtin__.Exception:188 self.this = this189 def push_back(self, x):190 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_push_back(self, x)191 def front(self):192 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_front(self)193 def back(self):194 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_back(self)195 def assign(self, n, x):196 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_assign(self, n, x)197 def resize(self, *args):198 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_resize(self, *args)199 def insert(self, *args):200 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_insert(self, *args)201 def reserve(self, n):202 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_reserve(self, n)203 def capacity(self):204 return _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_capacity(self)205 __swig_destroy__ = _X86ACPISysDescTable_vector.delete_vector_X86ACPISysDescTable206 __del__ = lambda self: None207vector_X86ACPISysDescTable_swigregister = _X86ACPISysDescTable_vector.vector_X86ACPISysDescTable_swigregister...

Full Screen

Full Screen

OpDesc_vector.py

Source:OpDesc_vector.py Github

copy

Full Screen

1# This file was automatically generated by SWIG (http://www.swig.org).2# Version 3.0.123#4# Do not make changes to this file unless you know what you are doing--modify5# the SWIG interface file instead.6from sys import version_info as _swig_python_version_info7if _swig_python_version_info >= (2, 7, 0):8 def swig_import_helper():9 import importlib10 pkg = __name__.rpartition('.')[0]11 mname = '.'.join((pkg, '_OpDesc_vector')).lstrip('.')12 try:13 return importlib.import_module(mname)14 except ImportError:15 return importlib.import_module('_OpDesc_vector')16 _OpDesc_vector = swig_import_helper()17 del swig_import_helper18elif _swig_python_version_info >= (2, 6, 0):19 def swig_import_helper():20 from os.path import dirname21 import imp22 fp = None23 try:24 fp, pathname, description = imp.find_module('_OpDesc_vector', [dirname(__file__)])25 except ImportError:26 import _OpDesc_vector27 return _OpDesc_vector28 try:29 _mod = imp.load_module('_OpDesc_vector', fp, pathname, description)30 finally:31 if fp is not None:32 fp.close()33 return _mod34 _OpDesc_vector = swig_import_helper()35 del swig_import_helper36else:37 import _OpDesc_vector38del _swig_python_version_info39try:40 _swig_property = property41except NameError:42 pass # Python < 2.2 doesn't have 'property'.43try:44 import builtins as __builtin__45except ImportError:46 import __builtin__47def _swig_setattr_nondynamic(self, class_type, name, value, static=1):48 if (name == "thisown"):49 return self.this.own(value)50 if (name == "this"):51 if type(value).__name__ == 'SwigPyObject':52 self.__dict__[name] = value53 return54 method = class_type.__swig_setmethods__.get(name, None)55 if method:56 return method(self, value)57 if (not static):58 object.__setattr__(self, name, value)59 else:60 raise AttributeError("You cannot add attributes to %s" % self)61def _swig_setattr(self, class_type, name, value):62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)63def _swig_getattr(self, class_type, name):64 if (name == "thisown"):65 return self.this.own()66 method = class_type.__swig_getmethods__.get(name, None)67 if method:68 return method(self)69 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))70def _swig_repr(self):71 try:72 strthis = "proxy of " + self.this.__repr__()73 except __builtin__.Exception:74 strthis = ""75 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)76def _swig_setattr_nondynamic_method(set):77 def set_attr(self, name, value):78 if (name == "thisown"):79 return self.this.own(value)80 if hasattr(self, name) or (name == "this"):81 set(self, name, value)82 else:83 raise AttributeError("You cannot add attributes to %s" % self)84 return set_attr85class SwigPyIterator(object):86 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')87 def __init__(self, *args, **kwargs):88 raise AttributeError("No constructor defined - class is abstract")89 __repr__ = _swig_repr90 __swig_destroy__ = _OpDesc_vector.delete_SwigPyIterator91 __del__ = lambda self: None92 def value(self):93 return _OpDesc_vector.SwigPyIterator_value(self)94 def incr(self, n=1):95 return _OpDesc_vector.SwigPyIterator_incr(self, n)96 def decr(self, n=1):97 return _OpDesc_vector.SwigPyIterator_decr(self, n)98 def distance(self, x):99 return _OpDesc_vector.SwigPyIterator_distance(self, x)100 def equal(self, x):101 return _OpDesc_vector.SwigPyIterator_equal(self, x)102 def copy(self):103 return _OpDesc_vector.SwigPyIterator_copy(self)104 def next(self):105 return _OpDesc_vector.SwigPyIterator_next(self)106 def __next__(self):107 return _OpDesc_vector.SwigPyIterator___next__(self)108 def previous(self):109 return _OpDesc_vector.SwigPyIterator_previous(self)110 def advance(self, n):111 return _OpDesc_vector.SwigPyIterator_advance(self, n)112 def __eq__(self, x):113 return _OpDesc_vector.SwigPyIterator___eq__(self, x)114 def __ne__(self, x):115 return _OpDesc_vector.SwigPyIterator___ne__(self, x)116 def __iadd__(self, n):117 return _OpDesc_vector.SwigPyIterator___iadd__(self, n)118 def __isub__(self, n):119 return _OpDesc_vector.SwigPyIterator___isub__(self, n)120 def __add__(self, n):121 return _OpDesc_vector.SwigPyIterator___add__(self, n)122 def __sub__(self, *args):123 return _OpDesc_vector.SwigPyIterator___sub__(self, *args)124 def __iter__(self):125 return self126SwigPyIterator_swigregister = _OpDesc_vector.SwigPyIterator_swigregister127SwigPyIterator_swigregister(SwigPyIterator)128import m5.internal.param_OpDesc129import m5.internal.enum_OpClass130import m5.internal.param_SimObject131import m5.internal.drain132import m5.internal.serialize133class vector_OpDesc(object):134 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')135 __repr__ = _swig_repr136 def iterator(self):137 return _OpDesc_vector.vector_OpDesc_iterator(self)138 def __iter__(self):139 return self.iterator()140 def __nonzero__(self):141 return _OpDesc_vector.vector_OpDesc___nonzero__(self)142 def __bool__(self):143 return _OpDesc_vector.vector_OpDesc___bool__(self)144 def __len__(self):145 return _OpDesc_vector.vector_OpDesc___len__(self)146 def __getslice__(self, i, j):147 return _OpDesc_vector.vector_OpDesc___getslice__(self, i, j)148 def __setslice__(self, *args):149 return _OpDesc_vector.vector_OpDesc___setslice__(self, *args)150 def __delslice__(self, i, j):151 return _OpDesc_vector.vector_OpDesc___delslice__(self, i, j)152 def __delitem__(self, *args):153 return _OpDesc_vector.vector_OpDesc___delitem__(self, *args)154 def __getitem__(self, *args):155 return _OpDesc_vector.vector_OpDesc___getitem__(self, *args)156 def __setitem__(self, *args):157 return _OpDesc_vector.vector_OpDesc___setitem__(self, *args)158 def pop(self):159 return _OpDesc_vector.vector_OpDesc_pop(self)160 def append(self, x):161 return _OpDesc_vector.vector_OpDesc_append(self, x)162 def empty(self):163 return _OpDesc_vector.vector_OpDesc_empty(self)164 def size(self):165 return _OpDesc_vector.vector_OpDesc_size(self)166 def swap(self, v):167 return _OpDesc_vector.vector_OpDesc_swap(self, v)168 def begin(self):169 return _OpDesc_vector.vector_OpDesc_begin(self)170 def end(self):171 return _OpDesc_vector.vector_OpDesc_end(self)172 def rbegin(self):173 return _OpDesc_vector.vector_OpDesc_rbegin(self)174 def rend(self):175 return _OpDesc_vector.vector_OpDesc_rend(self)176 def clear(self):177 return _OpDesc_vector.vector_OpDesc_clear(self)178 def get_allocator(self):179 return _OpDesc_vector.vector_OpDesc_get_allocator(self)180 def pop_back(self):181 return _OpDesc_vector.vector_OpDesc_pop_back(self)182 def erase(self, *args):183 return _OpDesc_vector.vector_OpDesc_erase(self, *args)184 def __init__(self, *args):185 this = _OpDesc_vector.new_vector_OpDesc(*args)186 try:187 self.this.append(this)188 except __builtin__.Exception:189 self.this = this190 def push_back(self, x):191 return _OpDesc_vector.vector_OpDesc_push_back(self, x)192 def front(self):193 return _OpDesc_vector.vector_OpDesc_front(self)194 def back(self):195 return _OpDesc_vector.vector_OpDesc_back(self)196 def assign(self, n, x):197 return _OpDesc_vector.vector_OpDesc_assign(self, n, x)198 def resize(self, *args):199 return _OpDesc_vector.vector_OpDesc_resize(self, *args)200 def insert(self, *args):201 return _OpDesc_vector.vector_OpDesc_insert(self, *args)202 def reserve(self, n):203 return _OpDesc_vector.vector_OpDesc_reserve(self, n)204 def capacity(self):205 return _OpDesc_vector.vector_OpDesc_capacity(self)206 __swig_destroy__ = _OpDesc_vector.delete_vector_OpDesc207 __del__ = lambda self: None208vector_OpDesc_swigregister = _OpDesc_vector.vector_OpDesc_swigregister...

Full Screen

Full Screen

answer_search.py

Source:answer_search.py Github

copy

Full Screen

1# coding: utf-82from py2neo import Graph3global debug_mode4debug_mode = 05class AnswerSearcher:6 def __init__(self):7 self.g = Graph(8 host="127.0.0.1",9 http_port=7474,10 user="neo4j",11 password="123456")12 self.num_limit = 2013 '''执行cypher查询,并返回相应结果'''14 def search_main(self, sqls):15 final_answers = []16 for sql_ in sqls:17 question_type = sql_['question_type']18 queries = sql_['sql']19 answers = []20 for query in queries:21 ress = self.g.run(query).data()22 answers += ress23 final_answer = self.answer_prettify(question_type, answers)24 if final_answer:25 final_answers.append(final_answer)26 return final_answers27 '''根据对应的qustion_type,调用相应的回复模板'''28 def answer_prettify(self, question_type, answers):29 final_answer = []30 if not answers:31 return ''32 for i in answers:33 for k in list(i.keys()):34 if not i[k]:35 i[k]=''36 if debug_mode==1:37 print(answers)38 if question_type == 'disease_symptom':39 desc = [i['n.name'] for i in answers]40 subject = answers[0]['m.name']41 final_answer = '{0}的症状包括:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))42 elif question_type == 'symptom_disease':43 desc = [i['m.name'] for i in answers]44 subject = answers[0]['n.name']45 final_answer = '症状{0}可能染上的疾病有:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))46 elif question_type == 'disease_cause':47 desc = [i['m.cause'] for i in answers]48 subject = answers[0]['m.name']49 final_answer = '{0}可能的成因有:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))50 elif question_type == 'disease_prevent':51 desc = [i['m.prevent'] for i in answers]52 subject = answers[0]['m.name']53 final_answer = '{0}的预防措施包括:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))54 elif question_type == 'disease_lasttime':55 desc = [i['m.cure_lasttime'] for i in answers ]56 subject = answers[0]['m.name']57 final_answer = '{0}治疗可能持续的周期为:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))58 elif question_type == 'disease_cureway':59 desc = [';'.join(i['m.cure_way']) for i in answers ]60 #desc = [i['m.cure_way'] for i in answers]61 subject = answers[0]['m.name']62 final_answer = '{0}可以尝试如下治疗:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))63 elif question_type == 'disease_cureprob':64 desc = [i['m.cured_prob'] for i in answers]65 subject = answers[0]['m.name']66 final_answer = '{0}治愈的概率为(仅供参考):{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))67 elif question_type == 'disease_easyget':68 desc = [i['m.easy_get'] for i in answers]69 subject = answers[0]['m.name']70 final_answer = '{0}的易感人群包括:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))71 elif question_type == 'disease_desc':72 desc = [i['m.desc'] for i in answers]73 subject = answers[0]['m.name']74 final_answer = '{0},熟悉一下:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))75 elif question_type == 'disease_acompany':76 desc1 = [i['n.name'] for i in answers]77 desc2 = [i['m.name'] for i in answers]78 subject = answers[0]['m.name']79 desc = [i for i in desc1 + desc2 if i != subject]80 final_answer = '{0}的症状包括:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))81 elif question_type == 'disease_not_food':82 desc = [i['n.name'] for i in answers]83 subject = answers[0]['m.name']84 final_answer = '{0}忌食的食物包括有:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))85 elif question_type == 'disease_do_food':86 do_desc = [i['n.name'] for i in answers if i['r.name'] == '宜吃']87 recommand_desc = [i['n.name'] for i in answers if i['r.name'] == '推荐食谱']88 subject = answers[0]['m.name']89 final_answer = '{0}宜食的食物包括有:{1}\n推荐食谱包括有:{2}'.format(subject, ';'.join(list(set(do_desc))[:self.num_limit]), ';'.join(list(set(recommand_desc))[:self.num_limit]))90 elif question_type == 'food_not_disease':91 desc = [i['m.name'] for i in answers]92 subject = answers[0]['n.name']93 final_answer = '患有{0}的人最好不要吃{1}'.format(';'.join(list(set(desc))[:self.num_limit]), subject)94 elif question_type == 'food_do_disease':95 desc = [i['m.name'] for i in answers]96 subject = answers[0]['n.name']97 final_answer = '患有{0}的人建议多试试{1}'.format(';'.join(list(set(desc))[:self.num_limit]), subject)98 elif question_type == 'disease_drug':99 desc = [i['n.name'] for i in answers]100 subject = answers[0]['m.name']101 final_answer = '{0}通常的使用的药品包括:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))102 elif question_type == 'drug_disease':103 desc = [i['m.name'] for i in answers]104 subject = answers[0]['n.name']105 final_answer = '{0}主治的疾病有{1},可以试试'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))106 elif question_type == 'disease_check':107 desc = [i['n.name'] for i in answers]108 subject = answers[0]['m.name']109 final_answer = '{0}通常可以通过以下方式检查出来:{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))110 elif question_type == 'check_disease':111 desc = [i['m.name'] for i in answers]112 subject = answers[0]['n.name']113 final_answer = '通常可以通过{0}检查出来的疾病有{1}'.format(subject, ';'.join(list(set(desc))[:self.num_limit]))114 return final_answer115if __name__ == '__main__':...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1describe('test3', () => {2 it('should pass', () => {3 expect(true).toBe(true);4 });5});6describe('test4', () => {7 it('should pass', () => {8 expect(true).toBe(true);9 });10});11describe('test5', () => {12 it('should pass', () => {13 expect(true).toBe(true);14 });15});16describe('test6', () => {17 it('should pass', () => {18 expect(true).toBe(true);19 });20});21describe('test7', () => {22 it('should pass', () => {23 expect(true).toBe(true);24 });25});26describe('test8', () => {27 it('should pass', () => {28 expect(true).toBe(true);29 });30});31describe('test9', () => {32 it('should pass', () => {33 expect(true).toBe(true);34 });35});36describe('test10', () => {37 it('should pass', () => {38 expect(true).toBe(true);39 });40});41describe('test11', () => {42 it('should pass', () => {43 expect(true).toBe(true);44 });45});46describe('test12', () => {47 it('should pass', () => {48 expect(true).toBe(true);49 });50});51describe('test13', () => {52 it('should pass', () => {53 expect(true).toBe(true);54 });55});

Full Screen

Using AI Code Generation

copy

Full Screen

1const { suite, test } = require('mocha');2const { assert } = require('chai');3const { property, fc } = require('fast-check');4const { describe } = require('mocha');5const { desc } = require('fast-check-monorepo');6describe('testing desc method', function () {7 it('should return the description of the test', function () {8 const result = desc('test', () => {});9 assert.equal(result, 'test');10 });11});12const { suite, test } = require('mocha');13const { assert } = require('chai');14const { property, fc } = require('fast-check');15const { describe } = require('mocha');16const { desc } = require('fast-check');17describe('testing desc method', function () {18 it('should return the description of the test', function () {19 const result = desc('test', () => {});20 assert.equal(result, 'test');21 });22});23const { suite, test } = require('mocha');24const { assert } = require('chai');25const { property, fc } = require('fast-check');26const { describe } = require('mocha');27const { desc } = require('fast-check');28describe('testing desc method', function () {29 it('should return the description of the test', function () {30 const result = desc('test', () => {});31 assert.equal(result, 'test');32 });33});34const { suite, test } = require('mocha');35const { assert } = require('chai');36const { property, fc } = require('fast-check');37const { describe } = require('mocha');38const { desc } = require('fast-check-monorepo');39describe('testing desc method', function () {40 it('should return the description of the test', function () {41 const result = desc('test', () => {});42 assert.equal(result, 'test');43 });44});45const { suite, test } = require('mocha');46const { assert } = require('chai');47const { property, fc } = require

Full Screen

Using AI Code Generation

copy

Full Screen

1import { desc } from 'fast-check';2const d = desc('test');3console.log(d);4import { desc } from 'fast-check';5const d = desc('test');6console.log(d);

Full Screen

Using AI Code Generation

copy

Full Screen

1import {describe, it} from 'fast-check-monorepo';2describe('test3', function() {3 it('test3', function() {4 console.log('test3');5 });6});7import {describe, it} from 'fast-check-monorepo';8describe('test4', function() {9 it('test4', function() {10 console.log('test4');11 });12});13import {describe, it} from 'fast-check-monorepo';14describe('test5', function() {15 it('test5', function() {16 console.log('test5');17 });18});19import {describe, it} from 'fast-check-monorepo';20describe('test6', function() {21 it('test6', function() {22 console.log('test6');23 });24});25import {describe, it} from 'fast-check-monorepo';26describe('test7', function() {27 it('test7', function() {28 console.log('test7');29 });30});31import {describe, it} from 'fast-check-monorepo';32describe('test8', function() {33 it('test8', function() {34 console.log('test8');35 });36});37import {describe, it} from 'fast-check-monorepo';38describe('test9', function() {39 it('test9', function() {40 console.log('test9');41 });42});

Full Screen

Using AI Code Generation

copy

Full Screen

1const {suite} = require('fast-check');2suite()3 .describe('test3')4 .it('should pass', () => {5 expect(true).toBe(true);6 });

Full Screen

Using AI Code Generation

copy

Full Screen

1const fc = require('fast-check');2const {desc} = require('fast-check-monorepo');3const {string} = fc;4const {string: string2} = require('fast-check-monorepo');5const myArb = string();6const myArb2 = string2();7console.log(desc(myArb));8console.log(desc(myArb2));9const fc = require('fast-check');10const {desc} = require('fast-check');11const {string} = fc;12const {string: string2} = require('fast-check');13const myArb = string();14const myArb2 = string2();15console.log(desc(myArb));16console.log(desc(myArb2));17const fc = require('fast-check');18const {desc} = require('fast-check-monorepo');19const {string} = fc;20const {string: string2} = require('fast-check-monorepo');21const myArb = string();22const myArb2 = string2();23console.log(desc(myArb));24console.log(desc(myArb2));25const fc = require('fast-check');26const {desc} = require('fast-check');27const {string} = fc;28const {string: string2} = require('fast-check');29const myArb = string();30const myArb2 = string2();31console.log(desc(myArb));32console.log(desc(myArb2));33const fc = require('fast-check');34const {desc} = require('fast-check-monorepo');35const {string} = fc;36const {string: string2} = require('fast-check-monorepo');37const myArb = string();38const myArb2 = string2();39console.log(desc(myArb));40console.log(desc(myArb2));41const fc = require('fast-check');42const {desc} = require('fast-check');43const {string} = fc;44const {string: string2} = require('fast-check');

Full Screen

Using AI Code Generation

copy

Full Screen

1const fc = require("fast-check")2const {desc} = require("fast-check-monorepo")3fc.assert(4 fc.property(fc.integer(), (n) => {5 return desc(n, "n is an integer") && n >= 06 })7const fc = require("fast-check")8const {desc} = require("fast-check-monorepo")9fc.assert(10 fc.property(fc.integer(), (n) => {11 return desc(n, "n is an integer") && n >= 012 })13const fc = require("fast-check")14const {desc} = require("fast-check-monorepo")15fc.assert(16 fc.property(fc.integer(), (n) => {17 return desc(n, "n is an integer") && n >= 018 })19const fc = require("fast-check")20const {desc} = require("fast-check-monorepo")21fc.assert(22 fc.property(fc.integer(), (n) => {23 return desc(n, "n is an integer") && n >= 024 })25const fc = require("fast-check")26const {desc} = require("fast-check-monorepo")27fc.assert(28 fc.property(fc.integer(), (n) => {29 return desc(n, "n is an integer") && n >= 030 })31const fc = require("fast-check")32const {desc} = require("fast-check-monorepo")33fc.assert(34 fc.property(fc.integer(), (n) => {35 return desc(n, "n is an integer") && n >= 036 })37const fc = require("fast-check")38const {desc} = require("fast-check-monorepo")39fc.assert(40 fc.property(fc.integer(), (n) => {41 return desc(n, "n is an integer") && n

Full Screen

Using AI Code Generation

copy

Full Screen

1const fc = require('fast-check');2const { desc } = require('fast-check');3const { assert } = require('chai');4const gen = fc.integer({min: 1, max: 100});5const test = desc(gen, 'test3', (value) => {6 assert.isAtLeast(value, 1);7 assert.isAtMost(value, 100);8});9test.run();10const fc = require('fast-check');11const { describe } = require('fast-check');12const { assert } = require('chai');13const gen = fc.integer({min: 1, max: 100});14const test = describe(gen, 'test4', (value) => {15 assert.isAtLeast(value, 1);16 assert.isAtMost(value, 100);17});18test.run();

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run fast-check-monorepo automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful