@riverty/web-components 5.4.0 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/custom-elements.json +8 -0
  3. package/dist/cjs/{index-BnETQtSf.js → index-DJ4H_bFj.js} +382 -5
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/r-accordion-item.cjs.entry.js +1 -1
  6. package/dist/cjs/r-accordion-panel.cjs.entry.js +1 -1
  7. package/dist/cjs/r-accordion-section.cjs.entry.js +1 -1
  8. package/dist/cjs/r-accordion-trigger.cjs.entry.js +1 -1
  9. package/dist/cjs/r-accordion.cjs.entry.js +1 -1
  10. package/dist/cjs/r-alert.cjs.entry.js +1 -1
  11. package/dist/cjs/r-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/r-button.cjs.entry.js +1 -1
  13. package/dist/cjs/r-checkbox-group.cjs.entry.js +1 -1
  14. package/dist/cjs/r-checkbox.cjs.entry.js +1 -1
  15. package/dist/cjs/r-design-system-devtools.cjs.entry.js +1 -1
  16. package/dist/cjs/r-dialog.cjs.entry.js +8 -10
  17. package/dist/cjs/r-hint_3.cjs.entry.js +1 -1
  18. package/dist/cjs/r-icon-button.cjs.entry.js +1 -1
  19. package/dist/cjs/r-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/r-input-code.cjs.entry.js +1 -1
  21. package/dist/cjs/r-input-date.cjs.entry.js +1 -1
  22. package/dist/cjs/r-input-password.cjs.entry.js +1 -1
  23. package/dist/cjs/r-input-phone-number.cjs.entry.js +1 -1
  24. package/dist/cjs/r-input.cjs.entry.js +16 -5
  25. package/dist/cjs/r-list-item.cjs.entry.js +5 -6
  26. package/dist/cjs/r-pagination.cjs.entry.js +1 -1
  27. package/dist/cjs/r-panel.cjs.entry.js +1 -1
  28. package/dist/cjs/r-popover-action.cjs.entry.js +1 -1
  29. package/dist/cjs/r-popover-content.cjs.entry.js +1 -1
  30. package/dist/cjs/r-popover-headline.cjs.entry.js +1 -1
  31. package/dist/cjs/r-popover-trigger.cjs.entry.js +1 -1
  32. package/dist/cjs/r-popover.cjs.entry.js +1 -1
  33. package/dist/cjs/r-progress-bar.cjs.entry.js +1 -1
  34. package/dist/cjs/r-radio-button-description.cjs.entry.js +1 -1
  35. package/dist/cjs/r-radio-button-leading.cjs.entry.js +1 -1
  36. package/dist/cjs/r-radio-button-title.cjs.entry.js +1 -1
  37. package/dist/cjs/r-radio-button-trailing.cjs.entry.js +1 -1
  38. package/dist/cjs/r-radio-button.cjs.entry.js +1 -1
  39. package/dist/cjs/r-radio-group.cjs.entry.js +1 -1
  40. package/dist/cjs/r-select-option.cjs.entry.js +1 -1
  41. package/dist/cjs/r-select.cjs.entry.js +1 -1
  42. package/dist/cjs/r-skip-link.cjs.entry.js +1 -1
  43. package/dist/cjs/r-stepper-item.cjs.entry.js +1 -1
  44. package/dist/cjs/r-stepper.cjs.entry.js +1 -1
  45. package/dist/cjs/r-tab-panel.cjs.entry.js +1 -1
  46. package/dist/cjs/r-tab.cjs.entry.js +1 -1
  47. package/dist/cjs/r-tabs-list.cjs.entry.js +1 -1
  48. package/dist/cjs/r-tabs.cjs.entry.js +1 -1
  49. package/dist/cjs/r-textarea.cjs.entry.js +1 -1
  50. package/dist/cjs/r-toast-group.cjs.entry.js +15 -5
  51. package/dist/cjs/r-toast.cjs.entry.js +10 -10
  52. package/dist/cjs/web-components.cjs.js +2 -2
  53. package/dist/collection/components/dialog/dialog.css +1 -1
  54. package/dist/collection/components/dialog/dialog.js +23 -8
  55. package/dist/collection/components/input/input.js +15 -4
  56. package/dist/collection/components/list-item/list-item/list-item.css +19 -11
  57. package/dist/collection/components/list-item/list-item/list-item.js +41 -4
  58. package/dist/collection/components/toast/toast.css +8 -2
  59. package/dist/collection/components/toast/toast.js +8 -8
  60. package/dist/collection/components/toast-group/toast-group.css +14 -13
  61. package/dist/collection/components/toast-group/toast-group.js +14 -4
  62. package/dist/esm/{index-CTxpqopm.js → index-Da7qOBFr.js} +382 -5
  63. package/dist/esm/loader.js +3 -3
  64. package/dist/esm/r-accordion-item.entry.js +1 -1
  65. package/dist/esm/r-accordion-panel.entry.js +1 -1
  66. package/dist/esm/r-accordion-section.entry.js +1 -1
  67. package/dist/esm/r-accordion-trigger.entry.js +1 -1
  68. package/dist/esm/r-accordion.entry.js +1 -1
  69. package/dist/esm/r-alert.entry.js +1 -1
  70. package/dist/esm/r-badge.entry.js +1 -1
  71. package/dist/esm/r-button.entry.js +1 -1
  72. package/dist/esm/r-checkbox-group.entry.js +1 -1
  73. package/dist/esm/r-checkbox.entry.js +1 -1
  74. package/dist/esm/r-design-system-devtools.entry.js +1 -1
  75. package/dist/esm/r-dialog.entry.js +8 -10
  76. package/dist/esm/r-hint_3.entry.js +1 -1
  77. package/dist/esm/r-icon-button.entry.js +1 -1
  78. package/dist/esm/r-icon.entry.js +1 -1
  79. package/dist/esm/r-input-code.entry.js +1 -1
  80. package/dist/esm/r-input-date.entry.js +1 -1
  81. package/dist/esm/r-input-password.entry.js +1 -1
  82. package/dist/esm/r-input-phone-number.entry.js +1 -1
  83. package/dist/esm/r-input.entry.js +16 -5
  84. package/dist/esm/r-list-item.entry.js +5 -6
  85. package/dist/esm/r-pagination.entry.js +1 -1
  86. package/dist/esm/r-panel.entry.js +1 -1
  87. package/dist/esm/r-popover-action.entry.js +1 -1
  88. package/dist/esm/r-popover-content.entry.js +1 -1
  89. package/dist/esm/r-popover-headline.entry.js +1 -1
  90. package/dist/esm/r-popover-trigger.entry.js +1 -1
  91. package/dist/esm/r-popover.entry.js +1 -1
  92. package/dist/esm/r-progress-bar.entry.js +1 -1
  93. package/dist/esm/r-radio-button-description.entry.js +1 -1
  94. package/dist/esm/r-radio-button-leading.entry.js +1 -1
  95. package/dist/esm/r-radio-button-title.entry.js +1 -1
  96. package/dist/esm/r-radio-button-trailing.entry.js +1 -1
  97. package/dist/esm/r-radio-button.entry.js +1 -1
  98. package/dist/esm/r-radio-group.entry.js +1 -1
  99. package/dist/esm/r-select-option.entry.js +1 -1
  100. package/dist/esm/r-select.entry.js +1 -1
  101. package/dist/esm/r-skip-link.entry.js +1 -1
  102. package/dist/esm/r-stepper-item.entry.js +1 -1
  103. package/dist/esm/r-stepper.entry.js +1 -1
  104. package/dist/esm/r-tab-panel.entry.js +1 -1
  105. package/dist/esm/r-tab.entry.js +1 -1
  106. package/dist/esm/r-tabs-list.entry.js +1 -1
  107. package/dist/esm/r-tabs.entry.js +1 -1
  108. package/dist/esm/r-textarea.entry.js +1 -1
  109. package/dist/esm/r-toast-group.entry.js +15 -5
  110. package/dist/esm/r-toast.entry.js +10 -10
  111. package/dist/esm/web-components.js +3 -3
  112. package/dist/types/components/dialog/dialog.d.ts +6 -1
  113. package/dist/types/components/input/input.d.ts +1 -0
  114. package/dist/types/components/list-item/list-item/list-item.d.ts +6 -1
  115. package/dist/types/components/toast-group/toast-group.d.ts +2 -0
  116. package/dist/types/components.d.ts +35 -0
  117. package/dist/web-components/{p-aecd025b.entry.js → p-00ca474f.entry.js} +1 -1
  118. package/dist/web-components/{p-3fc2b23b.entry.js → p-00eb6986.entry.js} +1 -1
  119. package/dist/web-components/{p-2d85c0f3.entry.js → p-0735fd75.entry.js} +1 -1
  120. package/dist/web-components/{p-9c40f9cd.entry.js → p-0bb04d79.entry.js} +1 -1
  121. package/dist/web-components/{p-ef0f43e0.entry.js → p-0f4eea22.entry.js} +1 -1
  122. package/dist/web-components/{p-4cf01f30.entry.js → p-1c2497de.entry.js} +1 -1
  123. package/dist/web-components/p-2265dae1.entry.js +1 -0
  124. package/dist/web-components/{p-03ff9abf.entry.js → p-230e44ae.entry.js} +1 -1
  125. package/dist/web-components/{p-735da2bb.entry.js → p-24bbf3b6.entry.js} +1 -1
  126. package/dist/web-components/{p-3ea6a1be.entry.js → p-28718c50.entry.js} +1 -1
  127. package/dist/web-components/{p-1157b7f4.entry.js → p-2b2f581a.entry.js} +1 -1
  128. package/dist/web-components/{p-0a424361.entry.js → p-3b4e3faf.entry.js} +1 -1
  129. package/dist/web-components/p-3bc93d65.entry.js +1 -0
  130. package/dist/web-components/{p-dc93ed55.entry.js → p-429213ea.entry.js} +1 -1
  131. package/dist/web-components/{p-c60294d4.entry.js → p-43eff76a.entry.js} +1 -1
  132. package/dist/web-components/{p-c7a9da98.entry.js → p-44ae9f33.entry.js} +1 -1
  133. package/dist/web-components/{p-66c454ce.entry.js → p-4652635a.entry.js} +1 -1
  134. package/dist/web-components/{p-e50503d0.entry.js → p-4bd3e077.entry.js} +1 -1
  135. package/dist/web-components/{p-89ff32dc.entry.js → p-4e3df002.entry.js} +1 -1
  136. package/dist/web-components/p-51a5804b.entry.js +1 -0
  137. package/dist/web-components/{p-e273950c.entry.js → p-72fa1fd1.entry.js} +1 -1
  138. package/dist/web-components/{p-135be1d5.entry.js → p-755cc697.entry.js} +1 -1
  139. package/dist/web-components/{p-e74c363a.entry.js → p-77155630.entry.js} +1 -1
  140. package/dist/web-components/{p-48dfb286.entry.js → p-7fccc301.entry.js} +1 -1
  141. package/dist/web-components/{p-988a7731.entry.js → p-85a9af42.entry.js} +1 -1
  142. package/dist/web-components/{p-24130cdb.entry.js → p-87f39749.entry.js} +1 -1
  143. package/dist/web-components/{p-c9b2389b.entry.js → p-89136369.entry.js} +1 -1
  144. package/dist/web-components/{p-77dc268e.entry.js → p-8c577cda.entry.js} +1 -1
  145. package/dist/web-components/{p-6b7d5236.entry.js → p-99ba15d9.entry.js} +1 -1
  146. package/dist/web-components/{p-900923ab.entry.js → p-9eb1f262.entry.js} +1 -1
  147. package/dist/web-components/p-Da7qOBFr.js +2 -0
  148. package/dist/web-components/{p-2394508f.entry.js → p-a022f356.entry.js} +1 -1
  149. package/dist/web-components/{p-df81177e.entry.js → p-a58124c4.entry.js} +1 -1
  150. package/dist/web-components/{p-8d2f4097.entry.js → p-a683612d.entry.js} +1 -1
  151. package/dist/web-components/{p-9891afb8.entry.js → p-a7e7f8fa.entry.js} +1 -1
  152. package/dist/web-components/{p-fdf70aed.entry.js → p-ad4292d8.entry.js} +1 -1
  153. package/dist/web-components/p-c09a863b.entry.js +1 -0
  154. package/dist/web-components/{p-71d6c4d7.entry.js → p-c7f8e59b.entry.js} +1 -1
  155. package/dist/web-components/{p-f625b739.entry.js → p-c937bd92.entry.js} +1 -1
  156. package/dist/web-components/p-cbcd7699.entry.js +1 -0
  157. package/dist/web-components/p-e0e2f2b2.entry.js +1 -0
  158. package/dist/web-components/{p-8d6a35e3.entry.js → p-e49b1ec3.entry.js} +1 -1
  159. package/dist/web-components/p-e4b66277.entry.js +1 -0
  160. package/dist/web-components/p-e6a31881.entry.js +1 -0
  161. package/dist/web-components/{p-05ba30ba.entry.js → p-f1e22caa.entry.js} +1 -1
  162. package/dist/web-components/{p-10724c18.entry.js → p-f22696e0.entry.js} +1 -1
  163. package/dist/web-components/p-f6a92287.entry.js +1 -0
  164. package/dist/web-components/p-f7adb875.entry.js +1 -0
  165. package/dist/web-components/web-components.esm.js +1 -1
  166. package/package.json +1 -1
  167. package/dist/web-components/p-0ac858b8.entry.js +0 -1
  168. package/dist/web-components/p-0bb0de18.entry.js +0 -1
  169. package/dist/web-components/p-1ed3efd7.entry.js +0 -1
  170. package/dist/web-components/p-20f979ff.entry.js +0 -1
  171. package/dist/web-components/p-31c8388d.entry.js +0 -1
  172. package/dist/web-components/p-333707b2.entry.js +0 -1
  173. package/dist/web-components/p-61f78bf6.entry.js +0 -1
  174. package/dist/web-components/p-8f719321.entry.js +0 -1
  175. package/dist/web-components/p-9f583ed1.entry.js +0 -1
  176. package/dist/web-components/p-CTxpqopm.js +0 -2
  177. package/dist/web-components/p-caca2855.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,c as n,h as a,H as o,g as t}from"./p-CTxpqopm.js";import{a as h}from"./p-DvLT8-y3.js";var i,_={},l={};function r(){return i||(i=1,Object.defineProperty(l,"__esModule",{value:!0}),l.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","329","330","331","332","334","336","337","339","341","346","347","351","352","353","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","472","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","645","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","728","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","930","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279","340","983","448","943","363","326","839","826","948","924"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["56","59","64","73","74","99"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2642","2644","2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"Åland Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"BQ",alpha3:"BES",country_code:"599",country_name:"Caribbean Netherlands",mobile_begin_with:["3","416","700","701","795"],phone_number_lengths:[7]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["10","50","51","55","60","70","77","99"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["71","72","75","76","77","79","29","61","68","69"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76","77","78","79"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","263","289","306","343","354","365","367","368","403","416","418","431","437","438","450","468","474","506","514","519","548","579","581","584","587","600","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905","428","382","942"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"Côte D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"599",country_name:"Curaçao",mobile_begin_with:["95","96"],phone_number_lengths:[8]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93","342","344","345","346","347","348","349","356","357","359","362","365","366","389","398","431","441","462","466","468","472","474","476","478","485","486","488","489","493","494","495","496","498","499","542","543","545","551","552","556","571","572","573","574","577","579","584","586","587","589","597","598","627","629","641","649","658","662","663","664","665","667","692","693","694","697","771","772","782","783","785","786","788","789","826","827","829"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["7","9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[6,7,9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690","691"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["20","22","31258","312973","5","600","7","88","912","99"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"XK",alpha3:"XKX",country_code:"383",country_name:"Kosovo, Republic of",mobile_begin_with:["43","44","45","46","47","48","49"],phone_number_lengths:[8]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696","697"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["5","7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["7","8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6","97"],phone_number_lengths:[9,11]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"Réunion",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499","835"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SZ",alpha3:"SWZ",country_code:"268",country_name:"Swaziland",mobile_begin_with:["76","77","78","79"],phone_number_lengths:[8]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","75","77","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77","78"],phone_number_lengths:[9]}]),l}var u,c,p={},b=function(){if(c)return _;c=1;var e=_&&_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_,"__esModule",{value:!0}),_.countryPhoneData=void 0,_.default=o,_.phone=o;const n=e(r());_.countryPhoneData=n.default;const a=function(){if(u)return p;u=1;var e=p&&p.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(p,"__esModule",{value:!0}),p.findCountryPhoneDataByCountry=function(e){return e?2===e.length?n.default.find((n=>e.toUpperCase()===n.alpha2))||null:3===e.length?n.default.find((n=>e.toUpperCase()===n.alpha3))||null:n.default.find((n=>e.toUpperCase()===n.country_name.toUpperCase()))||null:n.default.find((e=>"USA"===e.alpha3))||null},p.findExactCountryPhoneData=a,p.findPossibleCountryPhoneData=o,p.findCountryPhoneDataByPhoneNumber=function(e,t){let h,i;for(const _ of n.default)e.match(new RegExp("^"+_.country_code))&&(h||(h=a(e,t,_)),i||(i=o(e,t,_)));return{exactCountryPhoneData:h,possibleCountryPhoneData:i}},p.validatePhoneISO3166=function(e,n,a,o){if(!n.phone_number_lengths)return!1;const t=e.replace(new RegExp("^"+n.country_code),"");if(o&&n&&t.length===e.length)return!1;const h=n.mobile_begin_with,i=n.phone_number_lengths.some((e=>t.length===e)),_=!h.length||h.some((e=>t.match(new RegExp("^"+e))));return i&&(!a||_)};const n=e(r());function a(e,n,a){return a.phone_number_lengths.some((n=>a.country_code.length+n===e.length))?a.mobile_begin_with.length&&n?a.mobile_begin_with.some((n=>e.match(new RegExp("^"+a.country_code+n))))?a:null:a:null}function o(e,n,a){return a.phone_number_lengths.some((n=>a.country_code.length+n+1===e.length))?a.mobile_begin_with.length&&n?a.mobile_begin_with.some((n=>e.match(new RegExp("^"+a.country_code+"\\d?"+n))))?a:void 0:a:null}return p}();function o(e,{country:n="",validateMobilePrefix:o=!0,strictDetection:t=!1}={}){const h={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null};let i="string"!=typeof e?"":e.trim();const _="string"!=typeof n?"":n.trim(),l=Boolean(i.match(/^\+/));i=i.replace(/\D/g,"");let r=(0,a.findCountryPhoneDataByCountry)(_);if(!r)return h;let u=!1;if(_)["CIV","COG"].includes(r.alpha3)||(i=i.replace(/^0+/,"")),"RUS"===r.alpha3&&11===i.length&&null!==i.match(/^89/)&&(i=i.replace(/^8+/,"")),!l&&r.phone_number_lengths.includes(i.length)&&(i=`${r.country_code}${i}`);else if(l){const{exactCountryPhoneData:e,possibleCountryPhoneData:n}=(0,a.findCountryPhoneDataByPhoneNumber)(i,o);e?r=e:n&&!t?(r=n,i=r.country_code+i.replace(new RegExp(`^${r.country_code}\\d`),"")):r=null}else-1!==r.phone_number_lengths.indexOf(i.length)&&(i=`1${i}`,u=!0);if(!r)return h;let c=(0,a.validatePhoneISO3166)(i,r,o,l);return c||u&&(r=(0,a.findCountryPhoneDataByCountry)("CAN"),c=(0,a.validatePhoneISO3166)(i,r,o,l),c)?{isValid:!0,phoneNumber:`+${i}`,countryIso2:r.alpha2,countryIso3:r.alpha3,countryCode:`+${r.country_code}`}:h}return _}();const m=class{constructor(a){e(this,a),this.rInput=n(this,"rInput"),this.rChange=n(this,"rChange"),this.rValidate=n(this,"rValidate"),this.rReset=n(this,"rReset"),this.name="phone-number",this.inputLabel="Phone number without country code",this.countryCodeLabel="Country code",this.fullPhoneNumber="",this.phoneNumber="",this.validityState="",this.validityMessage="",this.uniqueId=`r-input-phone-number-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.initial={},this.handleOnInput=e=>{if(this.readonly)return;this.phoneNumber=e.target.value,this.fullPhoneNumber=this.phoneNumber?this.countryCode+this.phoneNumber:"";const{host:n,phoneNumber:a,countryCode:o,value:t}=this;this.rInput.emit({element:n,value:t,countryCode:o,phoneNumber:a}),this.validateFormElement(this.nativeElement)},this.handleInputOnChange=e=>{this.readonly||(this.phoneNumber=e.target.value,this.handleValueChange())},this.handleValueChange=()=>{if(this.readonly)return;this.fullPhoneNumber=this.phoneNumber?this.countryCode+this.phoneNumber:"";const{host:e,phoneNumber:n,countryCode:a,value:o}=this;this.rChange.emit({element:e,value:o,countryCode:a,phoneNumber:n}),this.validateFormElement(this.nativeElement)},this.validateFormElement=e=>{if(this.readonly)return;if(null===e)return;if(this.isNoValidate)return;if(this.error)return;this.getValidityStateData();const n="valid"===this.validityState;this.valid=n,this.invalid=!n,this.rValidate.emit({state:this.validityState,message:this.validityMessage})},this.getValidityStateData=()=>{var e,n;if(this.required||(null===(e=this.phoneNumber)||void 0===e?void 0:e.length))return(null===(n=this.phoneNumber)||void 0===n?void 0:n.length)?this.countryCode&&this.getPhoneValidationResult(this.phoneNumber,this.countryCode).isValid?void(this.validityState="valid"):(this.validityState="invalid",void(this.validityMessage=this.customErrorMessage)):(this.validityState="valueMissing",void(this.validityMessage=this.valueMissingMessage));this.validityState="valid"},this.onSubmitForm=e=>{this.isNoValidate||(this.validateFormElement(this.nativeElement),this.invalid&&(e.preventDefault(),e.stopPropagation()))},this.contributeToFormData=e=>{h(this.nativeElement||this.host,e.formData)},this.onResetForm=()=>{var e;if(this.readonly)return;this.validityState=null,this.validityMessage=null,this.phoneNumber="",this.invalid=this.initial.invalid,this.valid=!this.invalid,null===(e=this.countryCodeElement)||void 0===e||e.reset(),this.updateValues(this.initial.value);const{host:n,value:a}=this;this.rReset.emit({element:n,value:a})}}async getValue(){return this.fullPhoneNumber}async setValue(e){this.updateValues(e)}async setCustomValidity(e){this.customErrorMessage=e,this.validateFormElement(this.nativeElement)}async reportValidity(){return this.validateFormElement(this.nativeElement),"valid"===this.validityState}async reset(){this.onResetForm()}watchValueChange(e){this.updateValues(e),this.validateFormElement(this.nativeElement)}handleDisabledChange(){this.setCountryCodeElementAttributes({disabled:`${!!this.disabled}`})}handleRequiredChange(){this.setCountryCodeElementAttributes({required:`${!!this.required}`})}handleReadonlyChange(){this.setCountryCodeElementAttributes({readonly:`${!!this.readonly}`})}handleLabelChange(){this.setCountryCodeElementAttributes({label:this.countryCodeLabel})}get parentFormEl(){return this.host.closest("form")||document.querySelector(`#${this.form}`)||null}get countryCodeElement(){return this.host.querySelector("r-select")}get countryCode(){return this.host.querySelector("r-select").value||""}get ariaDescribedBy(){const e=`${this.uniqueId}-message`;return this.hint?`${this.uniqueId}-hint ${e}`:e}get hasError(){var e;return this.invalid&&!!(null===(e=this.error)||void 0===e?void 0:e.length)}get hasValidationError(){var e;return"valid"!==this.validityState&&!!(null===(e=this.validityMessage)||void 0===e?void 0:e.length)}get hasMessage(){return this.hasError||this.hasValidationError}get errorMessage(){return this.hasError&&this.error||this.hasValidationError&&this.validityMessage}get isNoValidate(){var e;return(null===(e=this.parentFormEl)||void 0===e?void 0:e.hasAttribute("novalidate"))||this.novalidate||!1}updateValues(e){var n,a;if(this.fullPhoneNumber=e||"",!e)return null===(n=this.countryCodeElement)||void 0===n||n.reset(),void(this.phoneNumber="");if(!this.getPhoneValidationResult(e).isValid)return void console.error("Provided phone number is not valid");const o=this.getPhoneValidationResult(e).countryCode;this.phoneNumber=e.replace(o,""),null===(a=this.countryCodeElement)||void 0===a||a.setValue(o)}setCountryCodeElementAttributes(e){Object.entries(e||{}).forEach((([e,n])=>{var a,o;!1===n||null==n?null===(a=this.countryCodeElement)||void 0===a||a.removeAttribute(e):null===(o=this.countryCodeElement)||void 0===o||o.setAttribute(e,String(n))}))}getPhoneValidationResult(e,n=""){return b.phone(n+e,{validateMobilePrefix:!1})}connectEventListeners(){var e,n,a,o;null===(e=this.countryCodeElement)||void 0===e||e.addEventListener("rChange",this.handleValueChange),null===(n=this.parentFormEl)||void 0===n||n.addEventListener("formdata",this.contributeToFormData),null===(a=this.parentFormEl)||void 0===a||a.addEventListener("submit",this.onSubmitForm,{capture:!0}),null===(o=this.parentFormEl)||void 0===o||o.addEventListener("reset",this.onResetForm)}disconnectEventListeners(){var e,n,a,o;null===(e=this.countryCodeElement)||void 0===e||e.removeEventListener("rChange",this.handleValueChange),null===(n=this.parentFormEl)||void 0===n||n.removeEventListener("formdata",this.contributeToFormData),null===(a=this.parentFormEl)||void 0===a||a.removeEventListener("submit",this.onSubmitForm),null===(o=this.parentFormEl)||void 0===o||o.removeEventListener("reset",this.onResetForm)}componentWillLoad(){this.initial.value=this.value,this.initial.invalid=this.invalid,this.updateValues(this.value);const e={disabled:`${!!this.disabled}`,required:`${!!this.required}`,readonly:`${!!this.readonly}`,label:this.countryCodeLabel};this.setCountryCodeElementAttributes(Object.assign(Object.assign({},{"show-leading-icon":"true","leading-icon":"globe",placeholder:"+00",internal:"true"}),e))}componentDidLoad(){this.connectEventListeners()}disconnectedCallback(){this.disconnectEventListeners()}render(){const{label:e,fieldIndicator:n,hint:t,name:h,form:i,inputLabel:_,tooltip:l,tooltipIcon:r,tooltipIconColor:u,disabled:c,uniqueId:p,required:b,valid:m,invalid:s,novalidate:g,phoneNumber:y,fullPhoneNumber:d,fullWidth:w}=this,v=Object.assign({fieldIndicator:n},l?{tooltip:l,"tooltip-icon":r,"tooltip-icon-color":u}:{}),M={id:p,form:i,name:h,novalidate:g,required:b,disabled:c,"aria-describedby":this.ariaDescribedBy};return a(o,{key:"93e31af4d248db4fe90a84b897d96207dbf9b6e9"},a("div",{key:"fc909eb39efe18413838c9f051d7ad7d5aa461b3",class:"r-input-phone-number--label-container"},a("label",{key:"b849fc5188a03e52151006fd48338fe0a07dfd83",id:`${p}-label`},e&&a("r-label",Object.assign({key:"6bab502ebce17055ef3e2862f9063bfd2d0d1291"},v),e)),a("slot",{key:"014cbcd421f75299935cf430a8777ded1880134c",name:"popover"})),t&&a("r-hint",{key:"4f8e473e4c70ac62618f6d651dca1880aa755c3e",id:`${p}-hint`,role:"note"},t),a("div",{key:"7fa42ec6de7083cc8703f5bcbbfaabe283462d45",class:"r-input-phone-number",role:"group","aria-labelledby":`${p}-label`,"aria-describedby":this.ariaDescribedBy},a("slot",{key:"64b8a315acb0057e82d1c77dd3b35bc141378cc0"}),a("r-input",{key:"5fdaa9c0c5bb4913637b895f0979f377bac876bc",label:_,value:y,internal:!0,valid:m,invalid:s,required:b,readonly:this.readonly,novalidate:!0,fullWidth:w,type:"tel",error:this.errorMessage||"",onRInput:this.handleOnInput,onRChange:this.handleInputOnChange,disabled:c},m&&y&&a("r-icon",{key:"6c25f0a2e473315279679c3e607691f8a3eca396",slot:"trailing",name:"circled-check",size:"s",color:"var(--r-status-success-regular)"}))),a("input",Object.assign({key:"39cca18332d8e6473bef33db6e395a8aac36a954",type:"hidden"},M,{readonly:this.readonly,value:d,ref:e=>this.nativeElement=e})),a("r-hint",{key:"8feb70b56f27287b06a3ba894a554d736d9e9b4b","aria-live":"polite","aria-atomic":"true",id:`${p}-message`,class:!this.hasMessage&&"visually-hidden",variant:"error"},this.hasMessage?this.hasError?this.error:this.validityMessage:""))}get host(){return t(this)}static get watchers(){return{value:["watchValueChange"],disabled:["handleDisabledChange"],required:["handleRequiredChange"],readonly:["handleReadonlyChange"],label:["handleLabelChange"]}}};m.style=":host{display:inline-flex;flex-direction:column;vertical-align:top;--r-input--container--margin-top:0;--r-input--container--margin-bottom:0}:host slot{display:contents}:host ::slotted(r-select){min-width:var(--r-input-phone-number--select--min-width, 7rem);width:var(--r-input-phone-number--select--width, fit-content)}:host r-input.focused{--r-input--container--border-style:solid}:host([full-width]:not([full-width=false])){width:100%}.r-input-phone-number{margin-top:var(--r-input-phone-number--margin-top, var(--r-spacing-025, 0.25rem));margin-bottom:var(--r-input-phone-number--margin-bottom, var(--r-spacing-025, 0.25rem));width:var(--r-input-phone-number--width, 100%);display:var(--r-input-phone-number--display, inline-flex);justify-content:var(--r-input-phone-number--justify-content, center);align-items:var(--r-input-phone-number--align-items, center);gap:var(--r-input-phone-number--gap, 0)}.r-input-phone-number--label-container{display:var(--r-input-phone-number--label-container--display, flex);gap:var(--r-input-phone-number--label-container--gap, var(--r-spacing-100, 1rem));align-items:var(--r-input-phone-number--label-container--align-items, center);justify-content:var(--r-input-phone-number--label-container--align-items, space-between)}.r-input-phone-number--label-container ::slotted([slot=popover]){display:var(--r-input-phone-number--popover--display, inline-flex);height:var(--r-input-phone-number--popover--height, var(--r-spacing-150, 1.5));align-items:var(--r-input-phone-number--popover--align-items, center);justify-content:var(--r-input-phone-number--popover--justify-content, center);margin-right:var(--r-input-phone-number--popover--margin-right, -0.25rem);--r-popover--trigger--min-width:var(--r-input-phone-number--popover-trigger--min-width, var(--r-spacing-150, 1.5));--r-popover--trigger--min-height:var(--r-input-phone-number--popover--trigger--min-height, var(--r-spacing-150, 1.5))}.r-input-phone-number r-input{margin-left:-1px;flex:1}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";export{m as r_input_phone_number}
1
+ import{r as e,c as n,h as a,H as o,g as t}from"./p-Da7qOBFr.js";import{a as h}from"./p-DvLT8-y3.js";var i,_={},l={};function r(){return i||(i=1,Object.defineProperty(l,"__esModule",{value:!0}),l.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","329","330","331","332","334","336","337","339","341","346","347","351","352","353","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","472","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","645","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","728","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","930","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279","340","983","448","943","363","326","839","826","948","924"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["56","59","64","73","74","99"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2642","2644","2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"Åland Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"BQ",alpha3:"BES",country_code:"599",country_name:"Caribbean Netherlands",mobile_begin_with:["3","416","700","701","795"],phone_number_lengths:[7]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["10","50","51","55","60","70","77","99"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["71","72","75","76","77","79","29","61","68","69"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76","77","78","79"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","263","289","306","343","354","365","367","368","403","416","418","431","437","438","450","468","474","506","514","519","548","579","581","584","587","600","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905","428","382","942"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"Côte D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"599",country_name:"Curaçao",mobile_begin_with:["95","96"],phone_number_lengths:[8]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93","342","344","345","346","347","348","349","356","357","359","362","365","366","389","398","431","441","462","466","468","472","474","476","478","485","486","488","489","493","494","495","496","498","499","542","543","545","551","552","556","571","572","573","574","577","579","584","586","587","589","597","598","627","629","641","649","658","662","663","664","665","667","692","693","694","697","771","772","782","783","785","786","788","789","826","827","829"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["7","9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[6,7,9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690","691"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["20","22","31258","312973","5","600","7","88","912","99"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"XK",alpha3:"XKX",country_code:"383",country_name:"Kosovo, Republic of",mobile_begin_with:["43","44","45","46","47","48","49"],phone_number_lengths:[8]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696","697"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["5","7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["7","8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6","97"],phone_number_lengths:[9,11]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"Réunion",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499","835"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SZ",alpha3:"SWZ",country_code:"268",country_name:"Swaziland",mobile_begin_with:["76","77","78","79"],phone_number_lengths:[8]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","75","77","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77","78"],phone_number_lengths:[9]}]),l}var u,c,p={},b=function(){if(c)return _;c=1;var e=_&&_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_,"__esModule",{value:!0}),_.countryPhoneData=void 0,_.default=o,_.phone=o;const n=e(r());_.countryPhoneData=n.default;const a=function(){if(u)return p;u=1;var e=p&&p.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(p,"__esModule",{value:!0}),p.findCountryPhoneDataByCountry=function(e){return e?2===e.length?n.default.find((n=>e.toUpperCase()===n.alpha2))||null:3===e.length?n.default.find((n=>e.toUpperCase()===n.alpha3))||null:n.default.find((n=>e.toUpperCase()===n.country_name.toUpperCase()))||null:n.default.find((e=>"USA"===e.alpha3))||null},p.findExactCountryPhoneData=a,p.findPossibleCountryPhoneData=o,p.findCountryPhoneDataByPhoneNumber=function(e,t){let h,i;for(const _ of n.default)e.match(new RegExp("^"+_.country_code))&&(h||(h=a(e,t,_)),i||(i=o(e,t,_)));return{exactCountryPhoneData:h,possibleCountryPhoneData:i}},p.validatePhoneISO3166=function(e,n,a,o){if(!n.phone_number_lengths)return!1;const t=e.replace(new RegExp("^"+n.country_code),"");if(o&&n&&t.length===e.length)return!1;const h=n.mobile_begin_with,i=n.phone_number_lengths.some((e=>t.length===e)),_=!h.length||h.some((e=>t.match(new RegExp("^"+e))));return i&&(!a||_)};const n=e(r());function a(e,n,a){return a.phone_number_lengths.some((n=>a.country_code.length+n===e.length))?a.mobile_begin_with.length&&n?a.mobile_begin_with.some((n=>e.match(new RegExp("^"+a.country_code+n))))?a:null:a:null}function o(e,n,a){return a.phone_number_lengths.some((n=>a.country_code.length+n+1===e.length))?a.mobile_begin_with.length&&n?a.mobile_begin_with.some((n=>e.match(new RegExp("^"+a.country_code+"\\d?"+n))))?a:void 0:a:null}return p}();function o(e,{country:n="",validateMobilePrefix:o=!0,strictDetection:t=!1}={}){const h={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null};let i="string"!=typeof e?"":e.trim();const _="string"!=typeof n?"":n.trim(),l=Boolean(i.match(/^\+/));i=i.replace(/\D/g,"");let r=(0,a.findCountryPhoneDataByCountry)(_);if(!r)return h;let u=!1;if(_)["CIV","COG"].includes(r.alpha3)||(i=i.replace(/^0+/,"")),"RUS"===r.alpha3&&11===i.length&&null!==i.match(/^89/)&&(i=i.replace(/^8+/,"")),!l&&r.phone_number_lengths.includes(i.length)&&(i=`${r.country_code}${i}`);else if(l){const{exactCountryPhoneData:e,possibleCountryPhoneData:n}=(0,a.findCountryPhoneDataByPhoneNumber)(i,o);e?r=e:n&&!t?(r=n,i=r.country_code+i.replace(new RegExp(`^${r.country_code}\\d`),"")):r=null}else-1!==r.phone_number_lengths.indexOf(i.length)&&(i=`1${i}`,u=!0);if(!r)return h;let c=(0,a.validatePhoneISO3166)(i,r,o,l);return c||u&&(r=(0,a.findCountryPhoneDataByCountry)("CAN"),c=(0,a.validatePhoneISO3166)(i,r,o,l),c)?{isValid:!0,phoneNumber:`+${i}`,countryIso2:r.alpha2,countryIso3:r.alpha3,countryCode:`+${r.country_code}`}:h}return _}();const m=class{constructor(a){e(this,a),this.rInput=n(this,"rInput"),this.rChange=n(this,"rChange"),this.rValidate=n(this,"rValidate"),this.rReset=n(this,"rReset"),this.name="phone-number",this.inputLabel="Phone number without country code",this.countryCodeLabel="Country code",this.fullPhoneNumber="",this.phoneNumber="",this.validityState="",this.validityMessage="",this.uniqueId=`r-input-phone-number-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g,""),this.initial={},this.handleOnInput=e=>{if(this.readonly)return;this.phoneNumber=e.target.value,this.fullPhoneNumber=this.phoneNumber?this.countryCode+this.phoneNumber:"";const{host:n,phoneNumber:a,countryCode:o,value:t}=this;this.rInput.emit({element:n,value:t,countryCode:o,phoneNumber:a}),this.validateFormElement(this.nativeElement)},this.handleInputOnChange=e=>{this.readonly||(this.phoneNumber=e.target.value,this.handleValueChange())},this.handleValueChange=()=>{if(this.readonly)return;this.fullPhoneNumber=this.phoneNumber?this.countryCode+this.phoneNumber:"";const{host:e,phoneNumber:n,countryCode:a,value:o}=this;this.rChange.emit({element:e,value:o,countryCode:a,phoneNumber:n}),this.validateFormElement(this.nativeElement)},this.validateFormElement=e=>{if(this.readonly)return;if(null===e)return;if(this.isNoValidate)return;if(this.error)return;this.getValidityStateData();const n="valid"===this.validityState;this.valid=n,this.invalid=!n,this.rValidate.emit({state:this.validityState,message:this.validityMessage})},this.getValidityStateData=()=>{var e,n;if(this.required||(null===(e=this.phoneNumber)||void 0===e?void 0:e.length))return(null===(n=this.phoneNumber)||void 0===n?void 0:n.length)?this.countryCode&&this.getPhoneValidationResult(this.phoneNumber,this.countryCode).isValid?void(this.validityState="valid"):(this.validityState="invalid",void(this.validityMessage=this.customErrorMessage)):(this.validityState="valueMissing",void(this.validityMessage=this.valueMissingMessage));this.validityState="valid"},this.onSubmitForm=e=>{this.isNoValidate||(this.validateFormElement(this.nativeElement),this.invalid&&(e.preventDefault(),e.stopPropagation()))},this.contributeToFormData=e=>{h(this.nativeElement||this.host,e.formData)},this.onResetForm=()=>{var e;if(this.readonly)return;this.validityState=null,this.validityMessage=null,this.phoneNumber="",this.invalid=this.initial.invalid,this.valid=!this.invalid,null===(e=this.countryCodeElement)||void 0===e||e.reset(),this.updateValues(this.initial.value);const{host:n,value:a}=this;this.rReset.emit({element:n,value:a})}}async getValue(){return this.fullPhoneNumber}async setValue(e){this.updateValues(e)}async setCustomValidity(e){this.customErrorMessage=e,this.validateFormElement(this.nativeElement)}async reportValidity(){return this.validateFormElement(this.nativeElement),"valid"===this.validityState}async reset(){this.onResetForm()}watchValueChange(e){this.updateValues(e),this.validateFormElement(this.nativeElement)}handleDisabledChange(){this.setCountryCodeElementAttributes({disabled:`${!!this.disabled}`})}handleRequiredChange(){this.setCountryCodeElementAttributes({required:`${!!this.required}`})}handleReadonlyChange(){this.setCountryCodeElementAttributes({readonly:`${!!this.readonly}`})}handleLabelChange(){this.setCountryCodeElementAttributes({label:this.countryCodeLabel})}get parentFormEl(){return this.host.closest("form")||document.querySelector(`#${this.form}`)||null}get countryCodeElement(){return this.host.querySelector("r-select")}get countryCode(){return this.host.querySelector("r-select").value||""}get ariaDescribedBy(){const e=`${this.uniqueId}-message`;return this.hint?`${this.uniqueId}-hint ${e}`:e}get hasError(){var e;return this.invalid&&!!(null===(e=this.error)||void 0===e?void 0:e.length)}get hasValidationError(){var e;return"valid"!==this.validityState&&!!(null===(e=this.validityMessage)||void 0===e?void 0:e.length)}get hasMessage(){return this.hasError||this.hasValidationError}get errorMessage(){return this.hasError&&this.error||this.hasValidationError&&this.validityMessage}get isNoValidate(){var e;return(null===(e=this.parentFormEl)||void 0===e?void 0:e.hasAttribute("novalidate"))||this.novalidate||!1}updateValues(e){var n,a;if(this.fullPhoneNumber=e||"",!e)return null===(n=this.countryCodeElement)||void 0===n||n.reset(),void(this.phoneNumber="");if(!this.getPhoneValidationResult(e).isValid)return void console.error("Provided phone number is not valid");const o=this.getPhoneValidationResult(e).countryCode;this.phoneNumber=e.replace(o,""),null===(a=this.countryCodeElement)||void 0===a||a.setValue(o)}setCountryCodeElementAttributes(e){Object.entries(e||{}).forEach((([e,n])=>{var a,o;!1===n||null==n?null===(a=this.countryCodeElement)||void 0===a||a.removeAttribute(e):null===(o=this.countryCodeElement)||void 0===o||o.setAttribute(e,String(n))}))}getPhoneValidationResult(e,n=""){return b.phone(n+e,{validateMobilePrefix:!1})}connectEventListeners(){var e,n,a,o;null===(e=this.countryCodeElement)||void 0===e||e.addEventListener("rChange",this.handleValueChange),null===(n=this.parentFormEl)||void 0===n||n.addEventListener("formdata",this.contributeToFormData),null===(a=this.parentFormEl)||void 0===a||a.addEventListener("submit",this.onSubmitForm,{capture:!0}),null===(o=this.parentFormEl)||void 0===o||o.addEventListener("reset",this.onResetForm)}disconnectEventListeners(){var e,n,a,o;null===(e=this.countryCodeElement)||void 0===e||e.removeEventListener("rChange",this.handleValueChange),null===(n=this.parentFormEl)||void 0===n||n.removeEventListener("formdata",this.contributeToFormData),null===(a=this.parentFormEl)||void 0===a||a.removeEventListener("submit",this.onSubmitForm),null===(o=this.parentFormEl)||void 0===o||o.removeEventListener("reset",this.onResetForm)}componentWillLoad(){this.initial.value=this.value,this.initial.invalid=this.invalid,this.updateValues(this.value);const e={disabled:`${!!this.disabled}`,required:`${!!this.required}`,readonly:`${!!this.readonly}`,label:this.countryCodeLabel};this.setCountryCodeElementAttributes(Object.assign(Object.assign({},{"show-leading-icon":"true","leading-icon":"globe",placeholder:"+00",internal:"true"}),e))}componentDidLoad(){this.connectEventListeners()}disconnectedCallback(){this.disconnectEventListeners()}render(){const{label:e,fieldIndicator:n,hint:t,name:h,form:i,inputLabel:_,tooltip:l,tooltipIcon:r,tooltipIconColor:u,disabled:c,uniqueId:p,required:b,valid:m,invalid:s,novalidate:g,phoneNumber:y,fullPhoneNumber:d,fullWidth:w}=this,v=Object.assign({fieldIndicator:n},l?{tooltip:l,"tooltip-icon":r,"tooltip-icon-color":u}:{}),M={id:p,form:i,name:h,novalidate:g,required:b,disabled:c,"aria-describedby":this.ariaDescribedBy};return a(o,{key:"93e31af4d248db4fe90a84b897d96207dbf9b6e9"},a("div",{key:"fc909eb39efe18413838c9f051d7ad7d5aa461b3",class:"r-input-phone-number--label-container"},a("label",{key:"b849fc5188a03e52151006fd48338fe0a07dfd83",id:`${p}-label`},e&&a("r-label",Object.assign({key:"6bab502ebce17055ef3e2862f9063bfd2d0d1291"},v),e)),a("slot",{key:"014cbcd421f75299935cf430a8777ded1880134c",name:"popover"})),t&&a("r-hint",{key:"4f8e473e4c70ac62618f6d651dca1880aa755c3e",id:`${p}-hint`,role:"note"},t),a("div",{key:"7fa42ec6de7083cc8703f5bcbbfaabe283462d45",class:"r-input-phone-number",role:"group","aria-labelledby":`${p}-label`,"aria-describedby":this.ariaDescribedBy},a("slot",{key:"64b8a315acb0057e82d1c77dd3b35bc141378cc0"}),a("r-input",{key:"5fdaa9c0c5bb4913637b895f0979f377bac876bc",label:_,value:y,internal:!0,valid:m,invalid:s,required:b,readonly:this.readonly,novalidate:!0,fullWidth:w,type:"tel",error:this.errorMessage||"",onRInput:this.handleOnInput,onRChange:this.handleInputOnChange,disabled:c},m&&y&&a("r-icon",{key:"6c25f0a2e473315279679c3e607691f8a3eca396",slot:"trailing",name:"circled-check",size:"s",color:"var(--r-status-success-regular)"}))),a("input",Object.assign({key:"39cca18332d8e6473bef33db6e395a8aac36a954",type:"hidden"},M,{readonly:this.readonly,value:d,ref:e=>this.nativeElement=e})),a("r-hint",{key:"8feb70b56f27287b06a3ba894a554d736d9e9b4b","aria-live":"polite","aria-atomic":"true",id:`${p}-message`,class:!this.hasMessage&&"visually-hidden",variant:"error"},this.hasMessage?this.hasError?this.error:this.validityMessage:""))}get host(){return t(this)}static get watchers(){return{value:["watchValueChange"],disabled:["handleDisabledChange"],required:["handleRequiredChange"],readonly:["handleReadonlyChange"],label:["handleLabelChange"]}}};m.style=":host{display:inline-flex;flex-direction:column;vertical-align:top;--r-input--container--margin-top:0;--r-input--container--margin-bottom:0}:host slot{display:contents}:host ::slotted(r-select){min-width:var(--r-input-phone-number--select--min-width, 7rem);width:var(--r-input-phone-number--select--width, fit-content)}:host r-input.focused{--r-input--container--border-style:solid}:host([full-width]:not([full-width=false])){width:100%}.r-input-phone-number{margin-top:var(--r-input-phone-number--margin-top, var(--r-spacing-025, 0.25rem));margin-bottom:var(--r-input-phone-number--margin-bottom, var(--r-spacing-025, 0.25rem));width:var(--r-input-phone-number--width, 100%);display:var(--r-input-phone-number--display, inline-flex);justify-content:var(--r-input-phone-number--justify-content, center);align-items:var(--r-input-phone-number--align-items, center);gap:var(--r-input-phone-number--gap, 0)}.r-input-phone-number--label-container{display:var(--r-input-phone-number--label-container--display, flex);gap:var(--r-input-phone-number--label-container--gap, var(--r-spacing-100, 1rem));align-items:var(--r-input-phone-number--label-container--align-items, center);justify-content:var(--r-input-phone-number--label-container--align-items, space-between)}.r-input-phone-number--label-container ::slotted([slot=popover]){display:var(--r-input-phone-number--popover--display, inline-flex);height:var(--r-input-phone-number--popover--height, var(--r-spacing-150, 1.5));align-items:var(--r-input-phone-number--popover--align-items, center);justify-content:var(--r-input-phone-number--popover--justify-content, center);margin-right:var(--r-input-phone-number--popover--margin-right, -0.25rem);--r-popover--trigger--min-width:var(--r-input-phone-number--popover-trigger--min-width, var(--r-spacing-150, 1.5));--r-popover--trigger--min-height:var(--r-input-phone-number--popover--trigger--min-height, var(--r-spacing-150, 1.5))}.r-input-phone-number r-input{margin-left:-1px;flex:1}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";export{m as r_input_phone_number}
@@ -1 +1 @@
1
- import{r as a,c as e,h as r,H as t,g as n}from"./p-CTxpqopm.js";const l=class{constructor(r){a(this,r),this.panelStateChanged=e(this,"panelStateChanged"),this.hasHeader=!1,this.active=!1,this.hasFooter=!1,this.variant="visible",this.collapsed=!1,this.labelCollapse="collapse-panel",this.labelExpand="expand-panel",this.isCollapsed=this.collapsed,this.updateCurrentLocationBound=this.updateCurrentLocation.bind(this),this.handleSemiCollapsedButtonClick=()=>{this.togglePanel();document.querySelectorAll("r-list-item[expanded]").forEach(this.isCollapsed?a=>{a.removeAttribute("expanded")}:a=>{a.setAttribute("expanded","")})},this.handleFullyCollapsedButtonClick=()=>{this.collapsePanel()}}toggleSubItems(a){const e=a.target;"R-LIST-ITEM"===e.tagName&&this.isCollapsed&&this.variant&&e.hasAttribute("has-sub-items")&&this.expandPanel()}async togglePanel(){this.isCollapsed=!this.isCollapsed}async expandPanel(){this.isCollapsed=!1}async collapsePanel(){this.isCollapsed=!0}handleCollapseChange(a){this.isCollapsed=a,"drawer"!==this.variant&&"modal"!==this.variant||(localStorage.setItem("panelState",JSON.stringify(a)),this.panelStateChanged.emit({collapsed:a}))}watchVariant(a){this.isCollapsed="modal"===a}handleDocumentClick(a){this.handleClickOutside(a)}getNavLinks(){return document.querySelectorAll("r-list-item[href]")}get isVariantCollapsible(){return"modal"===this.variant}handleClickOutside(a){"R-BUTTON"===a.target.tagName||this.host.contains(a.target)||!this.isVariantCollapsible||this.isCollapsed||this.collapsePanel()}componentWillLoad(){if(this.isCollapsed=this.isVariantCollapsible,"drawer"===this.variant){const a=localStorage.getItem("panelState");this.isCollapsed=a?JSON.parse(a):this.isCollapsed}}componentWillRender(){window.addEventListener("popstate",this.updateCurrentLocationBound),window.addEventListener("hashchange",this.updateCurrentLocationBound),this.highlightCurrentLink()}componentDidRender(){this.highlightCurrentLink()}disconnectedCallback(){window.removeEventListener("popstate",this.updateCurrentLocationBound),window.removeEventListener("hashchange",this.updateCurrentLocationBound)}updateCurrentLocation(){this.currentLocation=window.location.hash?window.location.hash.slice(1):window.location.href,this.highlightCurrentLink()}highlightCurrentLink(){this.getNavLinks().forEach((a=>{if(a instanceof HTMLElement){const e=a.getAttribute("href"),r=e===this.currentLocation||e===window.location.pathname+window.location.hash;this.updateLinkState(a,r)}}));const a=document.querySelector(".active");a&&a.scrollIntoView({behavior:"smooth",block:"end"})}updateLinkState(a,e){e?(a.setAttribute("active",""),a.classList.add("active"),this.expandParentMenus(a),this.highlightParent(a)):(a.removeAttribute("active"),a.classList.remove("active"))}highlightParent(a){const e=a.parentElement;e&&"R-LIST-ITEM"===e.tagName&&e.setAttribute("active-parent","")}expandParentMenus(a){var e;let r=a.closest("r-list-item[has-sub-items]");for(;r&&!this.isCollapsed;)r.setAttribute("expanded",""),r=null===(e=r.parentElement)||void 0===e?void 0:e.closest("r-panel")}render(){return r(t,{key:"f57ca21d8a782d736984c091af8ad7bede50f81b",collapsed:this.isCollapsed},r("div",{key:"138a6e18232630123667ad328c393c93e4908cf6",class:"r-panel"},r("div",{key:"377662f16e8fca37a557adaf4fd8329e47828303",class:"r-panel--header"},this.hasHeader&&r("a",{key:"f183b59e3dff6ca76905b2b52902d2e6ec6f2709",class:"logo-wrapper",href:this.logoLink},r("slot",this.isCollapsed?{name:"logo-collapsed"}:{name:"logo-expanded"})),"modal"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:`${this.labelCollapse}`,icon:"cross","r-aria-label":`${this.labelCollapse}`,onClick:this.handleFullyCollapsedButtonClick}):"drawer"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,icon:"angle-left","r-aria-label":this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,onClick:this.handleSemiCollapsedButtonClick}):null),r("div",{key:"0f239dc288b9c73f348341e99a06cce9e4499a0e",class:"r-panel--body"},r("slot",{key:"6fd883065b4db924b1c245e7ea5bcf71229f0840"})),this.hasFooter&&!this.isCollapsed&&r("div",{key:"ce6a1f84358a505940d3ef04c5c218caa972b090",class:"r-panel--footer"},r("slot",{key:"e4422d8955e7e64babab3b3f04cfa06f32dad74a",name:"footer"}))))}get host(){return n(this)}static get watchers(){return{isCollapsed:["handleCollapseChange"],variant:["watchVariant"]}}};l.style=":host{--r-panel--min-width:300px;--r-panel--background-color:var(--r-background-soft, #F3F1F0);--r-panel--display:flex;--r-panel--flex-direction:column;--r-panel--position:fixed;--r-panel--align-items:flex-start;--r-panel--top:0;--r-panel--padding:var(--spacing-050, 8px) 0;--r-panel--width:300px;--r-panel--height:100%;--r-panel--color:var(--r-text-regular, #282828);--r-panel--transition:all 250ms ease-in-out;--r-panel--transform:none;--r-panel--font-family:var(--r-font-family-text);--r-panel--left:0;--r-panel--header--display:flex;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-100, 16px) var(--spacing-075, 12px) var(--spacing-100, 16px);--r-panel--header--justify-content:space-between;--r-panel--header--align-items:center;--r-panel--header--align-self:stretch;--r-panel--header--icon-rotate:none;--r-panel--header--flex-direction:row;--r-panel--header--gap:50px;--r-panel--header--logo--img--width:100%;--r-panel--header--logo--img--height:auto;--r-panel--header--logo--img--expanded--width:192px;--r-panel--header--logo--img--collapsed--width:30px;--r-panel--header--height:unset;--r-panel--body--display:block;--r-panel--body--flex-grow:1;--r-panel--body--align-self:stretch;--r-panel--body--overflow:auto;--r-panel--body--padding:var(--r-spacing-025, 4px) var(--spacing-050, 8px) 0;--r-panel--body-header--color:var(--r-text-soft, #686868);--r-panel--body-header--padding:var(--spacing-100, 16px) 0 var(--spacing-100, 16px);--r-panel--body-header--width:268px;--r-panel--footer--dispay:flex;--r-panel--footer--padding:var(--spacing-100, 16px) var(--spacing-100, 16px) var(--spacing-150, 24px) var(--spacing-100, 16px);--r-panel--footer--flex-direction:column;--r-panel--footer--justify-content:center;--r-panel--footer-gap:var(--spacing-100, 16px);--r-panel--footer--align-self:stretch;--r-panel--footer--text-align:center}:host([variant=drawer]) r-button{--r-button--padding:10px;--r-button--background:var(--r-background-interactive-softer, #E7E4E2);--r-button--border-radius:10%;--r-button--slot--position:relative;--r-button--left:5%}:host([variant=drawer][collapsed]){--r-panel--width:72px;--r-panel--header--display:none;--r-panel--header--icon-rotate:rotate(180deg);--r-panel--header--logo--expaned--display:none;--r-panel--header--logo--collapsed--display:block;--r-panel--header--flex-direction:column;--r-panel--header--gap:12px;--r-list-item--epxanded--background-color:rgba(40, 40, 40, 0.08)}:host([variant=drawer][collapsed]) r-button{--r-button--slot--position:inherit;transition:transform 250ms ease-in-out}:host([variant=modal][collapsed]){--r-panel--transform:translate(-100%)}:host([collapsed]:not([variant=modal])){--r-panel--min-width:0;--r-list-item--text--display:none;--r-list-item--trailing--display:none}:host([variant=drawer]:not([has-header]):not([collapsed])),:host([variant=drawer][has-header=false]:not([collapsed])){--r-panel--header--height:24px;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-050, 8px) 0 var(--spacing-100, 16px)}:host([variant=drawer]:not([has-header]):not([collapsed])) r-button,:host([variant=drawer][has-header=false]:not([collapsed])) r-button{--r-button--top:20%;--r-button--left:97%}:host([collapsed]){--r-list-item--active-parent--background-color:rgba(40, 40, 40, 0.08)}.r-panel{z-index:2;min-width:var(--r-panel--min-width);background-color:var(--r-panel--background-color);display:var(--r-panel--display);flex-direction:var(--r-panel--flex-direction);align-items:var(--r-panel--align-items);width:var(--r-panel--width);height:var(--r-panel--height);position:var(--r-panel--position);top:var(--r-panel--top);padding:var(--r-panel--padding);color:var(--r-panel--color);transition:var(--r-panel--transition);transform:var(--r-panel--transform);left:var(--r-panel--left);font-family:var(--r-panel--font-family);box-sizing:border-box}.r-panel .logo-wrapper .logo-expanded{width:var(--r-panel--header--logo--img--expanded--width)}.r-panel .logo-wrapper .logo-collapsed{width:var(--r-panel--header--logo--img--collapsed--width)}.r-panel .logo-wrapper img{width:var(--r-panel--header--logo--img--width);height:var(--r-panel--header--logo--img--height)}.r-panel .logo-wrapper:focus,.r-panel .logo-wrapper:focus-visible{box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);outline:2px solid var(--r-border-focused, #0071e3);outline-offset:2px}.r-panel--header{display:flex;padding:var(--r-panel--header--padding);justify-content:var(--r-panel--header--justify-content);align-items:var(--r-panel--header--align-items);align-self:var(--r-panel--header--align-self);flex-direction:var(--r-panel--header--flex-direction);gap:var(--r-panel--header--gap);height:var(--r-panel--header--height)}.r-panel--header r-button{--r-button--padding:0;transform:var(--r-panel--header--icon-rotate);background:var(--r-button--background);position:var(--r-button--slot--position);left:var(--r-button--left);top:var(--r-button--top);border-radius:var(--r-button--border-radius)}.r-panel--body{flex-grow:var(--r-panel--body--flex-grow);align-self:var(--r-panel--body--align-self);display:var(--r-panel--body--display);overflow:var(--r-panel--body--overflow);padding:var(--r-panel--body--padding)}.r-panel--body ::slotted(.header){color:var(--r-panel--body-header--color);padding:var(--r-panel--body-header--padding);display:var(--r-panel--header--display);width:var(--r-panel--body-header--width)}.r-panel ::slotted([slot=footer]){display:var(--r-panel--footer--dispay);padding:var(--r-panel--footer--padding);flex-direction:var(--r-panel--footer--flex-direction);justify-content:var(--r-panel--footer--justify-content);gap:var(--r-panel--footer-gap);align-self:var(--r-panel--footer--align-self);text-align:var(--r-panel--footer--text-align)}";export{l as r_panel}
1
+ import{r as a,c as e,h as r,H as t,g as n}from"./p-Da7qOBFr.js";const l=class{constructor(r){a(this,r),this.panelStateChanged=e(this,"panelStateChanged"),this.hasHeader=!1,this.active=!1,this.hasFooter=!1,this.variant="visible",this.collapsed=!1,this.labelCollapse="collapse-panel",this.labelExpand="expand-panel",this.isCollapsed=this.collapsed,this.updateCurrentLocationBound=this.updateCurrentLocation.bind(this),this.handleSemiCollapsedButtonClick=()=>{this.togglePanel();document.querySelectorAll("r-list-item[expanded]").forEach(this.isCollapsed?a=>{a.removeAttribute("expanded")}:a=>{a.setAttribute("expanded","")})},this.handleFullyCollapsedButtonClick=()=>{this.collapsePanel()}}toggleSubItems(a){const e=a.target;"R-LIST-ITEM"===e.tagName&&this.isCollapsed&&this.variant&&e.hasAttribute("has-sub-items")&&this.expandPanel()}async togglePanel(){this.isCollapsed=!this.isCollapsed}async expandPanel(){this.isCollapsed=!1}async collapsePanel(){this.isCollapsed=!0}handleCollapseChange(a){this.isCollapsed=a,"drawer"!==this.variant&&"modal"!==this.variant||(localStorage.setItem("panelState",JSON.stringify(a)),this.panelStateChanged.emit({collapsed:a}))}watchVariant(a){this.isCollapsed="modal"===a}handleDocumentClick(a){this.handleClickOutside(a)}getNavLinks(){return document.querySelectorAll("r-list-item[href]")}get isVariantCollapsible(){return"modal"===this.variant}handleClickOutside(a){"R-BUTTON"===a.target.tagName||this.host.contains(a.target)||!this.isVariantCollapsible||this.isCollapsed||this.collapsePanel()}componentWillLoad(){if(this.isCollapsed=this.isVariantCollapsible,"drawer"===this.variant){const a=localStorage.getItem("panelState");this.isCollapsed=a?JSON.parse(a):this.isCollapsed}}componentWillRender(){window.addEventListener("popstate",this.updateCurrentLocationBound),window.addEventListener("hashchange",this.updateCurrentLocationBound),this.highlightCurrentLink()}componentDidRender(){this.highlightCurrentLink()}disconnectedCallback(){window.removeEventListener("popstate",this.updateCurrentLocationBound),window.removeEventListener("hashchange",this.updateCurrentLocationBound)}updateCurrentLocation(){this.currentLocation=window.location.hash?window.location.hash.slice(1):window.location.href,this.highlightCurrentLink()}highlightCurrentLink(){this.getNavLinks().forEach((a=>{if(a instanceof HTMLElement){const e=a.getAttribute("href"),r=e===this.currentLocation||e===window.location.pathname+window.location.hash;this.updateLinkState(a,r)}}));const a=document.querySelector(".active");a&&a.scrollIntoView({behavior:"smooth",block:"end"})}updateLinkState(a,e){e?(a.setAttribute("active",""),a.classList.add("active"),this.expandParentMenus(a),this.highlightParent(a)):(a.removeAttribute("active"),a.classList.remove("active"))}highlightParent(a){const e=a.parentElement;e&&"R-LIST-ITEM"===e.tagName&&e.setAttribute("active-parent","")}expandParentMenus(a){var e;let r=a.closest("r-list-item[has-sub-items]");for(;r&&!this.isCollapsed;)r.setAttribute("expanded",""),r=null===(e=r.parentElement)||void 0===e?void 0:e.closest("r-panel")}render(){return r(t,{key:"f57ca21d8a782d736984c091af8ad7bede50f81b",collapsed:this.isCollapsed},r("div",{key:"138a6e18232630123667ad328c393c93e4908cf6",class:"r-panel"},r("div",{key:"377662f16e8fca37a557adaf4fd8329e47828303",class:"r-panel--header"},this.hasHeader&&r("a",{key:"f183b59e3dff6ca76905b2b52902d2e6ec6f2709",class:"logo-wrapper",href:this.logoLink},r("slot",this.isCollapsed?{name:"logo-collapsed"}:{name:"logo-expanded"})),"modal"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:`${this.labelCollapse}`,icon:"cross","r-aria-label":`${this.labelCollapse}`,onClick:this.handleFullyCollapsedButtonClick}):"drawer"===this.variant?r("r-button",{class:"r-panel--trigger",variant:"blank",title:this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,icon:"angle-left","r-aria-label":this.isCollapsed?`${this.labelExpand}`:`${this.labelCollapse}`,onClick:this.handleSemiCollapsedButtonClick}):null),r("div",{key:"0f239dc288b9c73f348341e99a06cce9e4499a0e",class:"r-panel--body"},r("slot",{key:"6fd883065b4db924b1c245e7ea5bcf71229f0840"})),this.hasFooter&&!this.isCollapsed&&r("div",{key:"ce6a1f84358a505940d3ef04c5c218caa972b090",class:"r-panel--footer"},r("slot",{key:"e4422d8955e7e64babab3b3f04cfa06f32dad74a",name:"footer"}))))}get host(){return n(this)}static get watchers(){return{isCollapsed:["handleCollapseChange"],variant:["watchVariant"]}}};l.style=":host{--r-panel--min-width:300px;--r-panel--background-color:var(--r-background-soft, #F3F1F0);--r-panel--display:flex;--r-panel--flex-direction:column;--r-panel--position:fixed;--r-panel--align-items:flex-start;--r-panel--top:0;--r-panel--padding:var(--spacing-050, 8px) 0;--r-panel--width:300px;--r-panel--height:100%;--r-panel--color:var(--r-text-regular, #282828);--r-panel--transition:all 250ms ease-in-out;--r-panel--transform:none;--r-panel--font-family:var(--r-font-family-text);--r-panel--left:0;--r-panel--header--display:flex;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-100, 16px) var(--spacing-075, 12px) var(--spacing-100, 16px);--r-panel--header--justify-content:space-between;--r-panel--header--align-items:center;--r-panel--header--align-self:stretch;--r-panel--header--icon-rotate:none;--r-panel--header--flex-direction:row;--r-panel--header--gap:50px;--r-panel--header--logo--img--width:100%;--r-panel--header--logo--img--height:auto;--r-panel--header--logo--img--expanded--width:192px;--r-panel--header--logo--img--collapsed--width:30px;--r-panel--header--height:unset;--r-panel--body--display:block;--r-panel--body--flex-grow:1;--r-panel--body--align-self:stretch;--r-panel--body--overflow:auto;--r-panel--body--padding:var(--r-spacing-025, 4px) var(--spacing-050, 8px) 0;--r-panel--body-header--color:var(--r-text-soft, #686868);--r-panel--body-header--padding:var(--spacing-100, 16px) 0 var(--spacing-100, 16px);--r-panel--body-header--width:268px;--r-panel--footer--dispay:flex;--r-panel--footer--padding:var(--spacing-100, 16px) var(--spacing-100, 16px) var(--spacing-150, 24px) var(--spacing-100, 16px);--r-panel--footer--flex-direction:column;--r-panel--footer--justify-content:center;--r-panel--footer-gap:var(--spacing-100, 16px);--r-panel--footer--align-self:stretch;--r-panel--footer--text-align:center}:host([variant=drawer]) r-button{--r-button--padding:10px;--r-button--background:var(--r-background-interactive-softer, #E7E4E2);--r-button--border-radius:10%;--r-button--slot--position:relative;--r-button--left:5%}:host([variant=drawer][collapsed]){--r-panel--width:72px;--r-panel--header--display:none;--r-panel--header--icon-rotate:rotate(180deg);--r-panel--header--logo--expaned--display:none;--r-panel--header--logo--collapsed--display:block;--r-panel--header--flex-direction:column;--r-panel--header--gap:12px;--r-list-item--epxanded--background-color:rgba(40, 40, 40, 0.08)}:host([variant=drawer][collapsed]) r-button{--r-button--slot--position:inherit;transition:transform 250ms ease-in-out}:host([variant=modal][collapsed]){--r-panel--transform:translate(-100%)}:host([collapsed]:not([variant=modal])){--r-panel--min-width:0;--r-list-item--text--display:none;--r-list-item--trailing--display:none}:host([variant=drawer]:not([has-header]):not([collapsed])),:host([variant=drawer][has-header=false]:not([collapsed])){--r-panel--header--height:24px;--r-panel--header--padding:var(--spacing-075, 12px) var(--spacing-050, 8px) 0 var(--spacing-100, 16px)}:host([variant=drawer]:not([has-header]):not([collapsed])) r-button,:host([variant=drawer][has-header=false]:not([collapsed])) r-button{--r-button--top:20%;--r-button--left:97%}:host([collapsed]){--r-list-item--active-parent--background-color:rgba(40, 40, 40, 0.08)}.r-panel{z-index:2;min-width:var(--r-panel--min-width);background-color:var(--r-panel--background-color);display:var(--r-panel--display);flex-direction:var(--r-panel--flex-direction);align-items:var(--r-panel--align-items);width:var(--r-panel--width);height:var(--r-panel--height);position:var(--r-panel--position);top:var(--r-panel--top);padding:var(--r-panel--padding);color:var(--r-panel--color);transition:var(--r-panel--transition);transform:var(--r-panel--transform);left:var(--r-panel--left);font-family:var(--r-panel--font-family);box-sizing:border-box}.r-panel .logo-wrapper .logo-expanded{width:var(--r-panel--header--logo--img--expanded--width)}.r-panel .logo-wrapper .logo-collapsed{width:var(--r-panel--header--logo--img--collapsed--width)}.r-panel .logo-wrapper img{width:var(--r-panel--header--logo--img--width);height:var(--r-panel--header--logo--img--height)}.r-panel .logo-wrapper:focus,.r-panel .logo-wrapper:focus-visible{box-shadow:0 0 0 6px var(--r-border-focused-outlined, #fff);outline:2px solid var(--r-border-focused, #0071e3);outline-offset:2px}.r-panel--header{display:flex;padding:var(--r-panel--header--padding);justify-content:var(--r-panel--header--justify-content);align-items:var(--r-panel--header--align-items);align-self:var(--r-panel--header--align-self);flex-direction:var(--r-panel--header--flex-direction);gap:var(--r-panel--header--gap);height:var(--r-panel--header--height)}.r-panel--header r-button{--r-button--padding:0;transform:var(--r-panel--header--icon-rotate);background:var(--r-button--background);position:var(--r-button--slot--position);left:var(--r-button--left);top:var(--r-button--top);border-radius:var(--r-button--border-radius)}.r-panel--body{flex-grow:var(--r-panel--body--flex-grow);align-self:var(--r-panel--body--align-self);display:var(--r-panel--body--display);overflow:var(--r-panel--body--overflow);padding:var(--r-panel--body--padding)}.r-panel--body ::slotted(.header){color:var(--r-panel--body-header--color);padding:var(--r-panel--body-header--padding);display:var(--r-panel--header--display);width:var(--r-panel--body-header--width)}.r-panel ::slotted([slot=footer]){display:var(--r-panel--footer--dispay);padding:var(--r-panel--footer--padding);flex-direction:var(--r-panel--footer--flex-direction);justify-content:var(--r-panel--footer--justify-content);gap:var(--r-panel--footer-gap);align-self:var(--r-panel--footer--align-self);text-align:var(--r-panel--footer--text-align)}";export{l as r_panel}