@avakhula/ui 0.1.22 → 0.1.24
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.
- package/dist/App.js +23 -0
- package/dist/EventEmmiter.js +33 -0
- package/dist/chunks/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/chunks/floating-ui.dom-D8OVFdyL.js +861 -0
- package/dist/chunks/vue-quill.esm-bundler-FvTqp_xR.js +9070 -0
- package/dist/components/Accordion/Accordion.js +81 -0
- package/dist/components/Alert/Alert.js +121 -0
- package/dist/components/Alert/constants.js +10 -0
- package/dist/components/Avatar/Avatar.js +75 -0
- package/dist/components/Avatar/constants.js +12 -0
- package/dist/components/Badge/Badge.js +29 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.js +117 -0
- package/dist/components/Button/Button.js +140 -0
- package/dist/components/Button/constants.js +11 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +14 -0
- package/dist/components/Chips/Chips.js +65 -0
- package/dist/components/Dropdown/Dropdown.js +228 -0
- package/dist/components/Dropdown/DropdownDivider.js +10 -0
- package/dist/components/Dropdown/DropdownItem.js +50 -0
- package/dist/components/Dropdown/DropdownList.js +104 -0
- package/dist/components/Dropdown/constants.js +12 -0
- package/dist/components/Form/CharactersCount.js +33 -0
- package/dist/components/Form/Checkbox/Checkbox.js +171 -0
- package/dist/components/Form/CheckboxGroup/CheckboxGroup.js +81 -0
- package/dist/components/Form/DatePicker/DatePicker.js +1782 -0
- package/dist/components/Form/DatePicker/Icons/chevron-back.js +8 -0
- package/dist/components/Form/DatePicker/Icons/chevron-forward.js +8 -0
- package/dist/components/Form/FormGroup/FormGroup.js +30 -0
- package/dist/components/Form/FormGroup/FormGroupSet.js +44 -0
- package/dist/components/Form/Input/Input.js +375 -0
- package/dist/components/Form/Input/constants.js +9 -0
- package/dist/components/Form/Label/Label.js +87 -0
- package/dist/components/Form/PhoneInput/PhoneInput.js +3811 -0
- package/dist/components/Form/Radio/Radio.js +91 -0
- package/dist/components/Form/TextEditor/TextEditor.js +422 -0
- package/dist/components/Form/TextEditor/Toolbar.js +291 -0
- package/dist/components/Form/TextEditor/icons/toolbarIcons.js +109 -0
- package/dist/components/Form/TextEditor/plugins/alphabetList.js +31 -0
- package/dist/components/Form/TextEditor/plugins/imageBlot.js +16 -0
- package/dist/components/Form/TextEditor/setupTextEditor.js +27 -0
- package/dist/components/Form/Textarea/Textarea.js +121 -0
- package/dist/components/Form/Toggle/Toggle.js +134 -0
- package/dist/components/Icon.js +37 -0
- package/dist/components/IconButton/IconButton.js +93 -0
- package/dist/components/IconButton/constants.js +15 -0
- package/dist/components/List.js +66 -0
- package/dist/components/Modal/Modal.js +198 -0
- package/dist/components/Modal/constants.js +9 -0
- package/dist/components/Pagination/LimitSelector.js +73 -0
- package/dist/components/Pagination/Pagination.js +226 -0
- package/dist/components/Panel/Panel.js +107 -0
- package/dist/components/Popover/Popover.js +105 -0
- package/dist/components/Popover/constants.js +17 -0
- package/dist/components/ProgressBar/ProgressBar.js +63 -0
- package/dist/components/ProgressBar/constants.js +10 -0
- package/dist/components/Sorting/Sorting.js +182 -0
- package/dist/components/Sorting/constants.js +12 -0
- package/dist/components/SplitButton/SplitButton.js +145 -0
- package/dist/components/SplitButton/SplitButtonItem.js +34 -0
- package/dist/components/SplitButton/constants.js +7 -0
- package/dist/components/StatusIndicator/StatusIndicator.js +29 -0
- package/dist/components/StatusIndicator/constants.js +13 -0
- package/dist/components/StatusIndicator/icons.js +44 -0
- package/dist/components/Table/Cells/Cell.js +39 -0
- package/dist/components/Table/Cells/CheckboxCell.js +37 -0
- package/dist/components/Table/Row.js +14 -0
- package/dist/components/Table/Table.js +24 -0
- package/dist/components/Tabs/Tab.js +47 -0
- package/dist/components/Tabs/TabDropdown.js +94 -0
- package/dist/components/Tabs/Tabs.js +128 -0
- package/dist/components/TagPill/TagPill.js +61 -0
- package/dist/components/TagPill/constants.js +12 -0
- package/dist/components/ToggleTip/ToggleTip.js +91 -0
- package/dist/components/ToggleTip/constants.js +17 -0
- package/dist/components/Tooltip/Tooltip.js +46 -0
- package/dist/components/TreeSelect/Option.js +302 -0
- package/dist/components/TreeSelect/Select.js +1867 -0
- package/dist/components/TreeSelect/mixins/InfinityLoaderMixin.js +32 -0
- package/dist/constants/events.js +5 -0
- package/dist/constants/keyCodes.js +12 -0
- package/dist/directives/outside/outside.js +37 -0
- package/dist/directives/tooltip/TooltipController.js +116 -0
- package/dist/directives/tooltip/textOverflowTooltip.js +23 -0
- package/dist/directives/tooltip/tooltip.js +48 -0
- package/dist/helpers/debounce.js +14 -0
- package/dist/helpers/generateUID.js +6 -0
- package/dist/helpers/getHrefFromID.js +6 -0
- package/dist/helpers/multiLineOverflows.js +6 -0
- package/dist/helpers/removeEvents.js +8 -0
- package/dist/helpers/stripHtml.js +6 -0
- package/dist/index.css +1 -1
- package/dist/index.js +103 -22665
- package/dist/main.js +10 -0
- package/dist/mixins/expandAnimation.js +24 -0
- package/package.json +7 -4
- package/src/components/Form/Textarea/Textarea.vue +8 -4
- package/src/components/TreeSelect/Select.vue +11 -11
- package/.babelrc.json +0 -14
- package/.eslintrc.cjs +0 -22
- package/.nvmrc +0 -1
- package/.prettierrc.json +0 -1
- package/.storybook/intelliboardTheme.js +0 -10
- package/.storybook/main.js +0 -25
- package/.storybook/manager.js +0 -7
- package/.storybook/preview-head.html +0 -12
- package/.storybook/preview.js +0 -25
- package/.storybook/scss-loader.scss +0 -6
- package/.storybook/withSource.js +0 -97
- package/dist/index.umd.cjs +0 -238
- package/index.html +0 -21
- package/static/Logo.svg +0 -25
- package/static/docks/button.pdf +0 -147566
- package/static/favicon.ico +0 -0
- package/vite.config.js +0 -47
|
@@ -0,0 +1,3811 @@
|
|
|
1
|
+
import me from "../../Icon.js";
|
|
2
|
+
import ge from "../../IconButton/IconButton.js";
|
|
3
|
+
import ve from "../../Alert/Alert.js";
|
|
4
|
+
import { OutsideDirective as be } from "../../../directives/outside/outside.js";
|
|
5
|
+
import { defineComponent as Ce, mergeModels as Cd, shallowRef as ed, useModel as Oe, watch as T, reactive as we, nextTick as Od, computed as A, onMounted as Pe, resolveDirective as Yd, createElementBlock as w, openBlock as C, normalizeClass as I, withDirectives as F, renderSlot as td, withKeys as R, createElementVNode as D, createCommentVNode as x, unref as wd, toDisplayString as j, withModifiers as Se, vModelText as Ne, Fragment as qd, renderList as Ie, vModelDynamic as xe, resolveComponent as U, createBlock as nd, withCtx as K, createTextVNode as Me, mergeProps as Te, createVNode as Pd, vShow as Ee } from "vue";
|
|
6
|
+
import { _ as ke } from "../../../chunks/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
const De = [
|
|
8
|
+
[
|
|
9
|
+
"Afghanistan (افغانستان)",
|
|
10
|
+
"af",
|
|
11
|
+
"93"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"Albania (Shqipëri)",
|
|
15
|
+
"al",
|
|
16
|
+
"355"
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"Algeria (الجزائر)",
|
|
20
|
+
"dz",
|
|
21
|
+
"213"
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
"American Samoa",
|
|
25
|
+
"as",
|
|
26
|
+
"1",
|
|
27
|
+
5,
|
|
28
|
+
["684"]
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"Andorra",
|
|
32
|
+
"ad",
|
|
33
|
+
"376"
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
"Angola",
|
|
37
|
+
"ao",
|
|
38
|
+
"244"
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
"Anguilla",
|
|
42
|
+
"ai",
|
|
43
|
+
"1",
|
|
44
|
+
6,
|
|
45
|
+
["264"]
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
"Antigua and Barbuda",
|
|
49
|
+
"ag",
|
|
50
|
+
"1",
|
|
51
|
+
7,
|
|
52
|
+
["268"]
|
|
53
|
+
],
|
|
54
|
+
[
|
|
55
|
+
"Argentina",
|
|
56
|
+
"ar",
|
|
57
|
+
"54"
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
"Armenia (Հայաստան)",
|
|
61
|
+
"am",
|
|
62
|
+
"374"
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
"Aruba",
|
|
66
|
+
"aw",
|
|
67
|
+
"297"
|
|
68
|
+
],
|
|
69
|
+
[
|
|
70
|
+
"Ascension Island",
|
|
71
|
+
"ac",
|
|
72
|
+
"247"
|
|
73
|
+
],
|
|
74
|
+
[
|
|
75
|
+
"Australia",
|
|
76
|
+
"au",
|
|
77
|
+
"61",
|
|
78
|
+
0
|
|
79
|
+
],
|
|
80
|
+
[
|
|
81
|
+
"Austria (Österreich)",
|
|
82
|
+
"at",
|
|
83
|
+
"43"
|
|
84
|
+
],
|
|
85
|
+
[
|
|
86
|
+
"Azerbaijan (Azərbaycan)",
|
|
87
|
+
"az",
|
|
88
|
+
"994"
|
|
89
|
+
],
|
|
90
|
+
[
|
|
91
|
+
"Bahamas",
|
|
92
|
+
"bs",
|
|
93
|
+
"1",
|
|
94
|
+
8,
|
|
95
|
+
["242"]
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
"Bahrain (البحرين)",
|
|
99
|
+
"bh",
|
|
100
|
+
"973"
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
"Bangladesh (বাংলাদেশ)",
|
|
104
|
+
"bd",
|
|
105
|
+
"880"
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
"Barbados",
|
|
109
|
+
"bb",
|
|
110
|
+
"1",
|
|
111
|
+
9,
|
|
112
|
+
["246"]
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
"Belarus (Беларусь)",
|
|
116
|
+
"by",
|
|
117
|
+
"375"
|
|
118
|
+
],
|
|
119
|
+
[
|
|
120
|
+
"Belgium (België)",
|
|
121
|
+
"be",
|
|
122
|
+
"32"
|
|
123
|
+
],
|
|
124
|
+
[
|
|
125
|
+
"Belize",
|
|
126
|
+
"bz",
|
|
127
|
+
"501"
|
|
128
|
+
],
|
|
129
|
+
[
|
|
130
|
+
"Benin (Bénin)",
|
|
131
|
+
"bj",
|
|
132
|
+
"229"
|
|
133
|
+
],
|
|
134
|
+
[
|
|
135
|
+
"Bermuda",
|
|
136
|
+
"bm",
|
|
137
|
+
"1",
|
|
138
|
+
10,
|
|
139
|
+
["441"]
|
|
140
|
+
],
|
|
141
|
+
[
|
|
142
|
+
"Bhutan (འབྲུག)",
|
|
143
|
+
"bt",
|
|
144
|
+
"975"
|
|
145
|
+
],
|
|
146
|
+
[
|
|
147
|
+
"Bolivia",
|
|
148
|
+
"bo",
|
|
149
|
+
"591"
|
|
150
|
+
],
|
|
151
|
+
[
|
|
152
|
+
"Bosnia and Herzegovina (Босна и Херцеговина)",
|
|
153
|
+
"ba",
|
|
154
|
+
"387"
|
|
155
|
+
],
|
|
156
|
+
[
|
|
157
|
+
"Botswana",
|
|
158
|
+
"bw",
|
|
159
|
+
"267"
|
|
160
|
+
],
|
|
161
|
+
[
|
|
162
|
+
"Brazil (Brasil)",
|
|
163
|
+
"br",
|
|
164
|
+
"55"
|
|
165
|
+
],
|
|
166
|
+
[
|
|
167
|
+
"British Indian Ocean Territory",
|
|
168
|
+
"io",
|
|
169
|
+
"246"
|
|
170
|
+
],
|
|
171
|
+
[
|
|
172
|
+
"British Virgin Islands",
|
|
173
|
+
"vg",
|
|
174
|
+
"1",
|
|
175
|
+
11,
|
|
176
|
+
["284"]
|
|
177
|
+
],
|
|
178
|
+
[
|
|
179
|
+
"Brunei",
|
|
180
|
+
"bn",
|
|
181
|
+
"673"
|
|
182
|
+
],
|
|
183
|
+
[
|
|
184
|
+
"Bulgaria (България)",
|
|
185
|
+
"bg",
|
|
186
|
+
"359"
|
|
187
|
+
],
|
|
188
|
+
[
|
|
189
|
+
"Burkina Faso",
|
|
190
|
+
"bf",
|
|
191
|
+
"226"
|
|
192
|
+
],
|
|
193
|
+
[
|
|
194
|
+
"Burundi (Uburundi)",
|
|
195
|
+
"bi",
|
|
196
|
+
"257"
|
|
197
|
+
],
|
|
198
|
+
[
|
|
199
|
+
"Cambodia (កម្ពុជា)",
|
|
200
|
+
"kh",
|
|
201
|
+
"855"
|
|
202
|
+
],
|
|
203
|
+
[
|
|
204
|
+
"Cameroon (Cameroun)",
|
|
205
|
+
"cm",
|
|
206
|
+
"237"
|
|
207
|
+
],
|
|
208
|
+
[
|
|
209
|
+
"Canada",
|
|
210
|
+
"ca",
|
|
211
|
+
"1",
|
|
212
|
+
1,
|
|
213
|
+
["204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]
|
|
214
|
+
],
|
|
215
|
+
[
|
|
216
|
+
"Cape Verde (Kabu Verdi)",
|
|
217
|
+
"cv",
|
|
218
|
+
"238"
|
|
219
|
+
],
|
|
220
|
+
[
|
|
221
|
+
"Caribbean Netherlands",
|
|
222
|
+
"bq",
|
|
223
|
+
"599",
|
|
224
|
+
1,
|
|
225
|
+
["3", "4", "7"]
|
|
226
|
+
],
|
|
227
|
+
[
|
|
228
|
+
"Cayman Islands",
|
|
229
|
+
"ky",
|
|
230
|
+
"1",
|
|
231
|
+
12,
|
|
232
|
+
["345"]
|
|
233
|
+
],
|
|
234
|
+
[
|
|
235
|
+
"Central African Republic (République centrafricaine)",
|
|
236
|
+
"cf",
|
|
237
|
+
"236"
|
|
238
|
+
],
|
|
239
|
+
[
|
|
240
|
+
"Chad (Tchad)",
|
|
241
|
+
"td",
|
|
242
|
+
"235"
|
|
243
|
+
],
|
|
244
|
+
[
|
|
245
|
+
"Chile",
|
|
246
|
+
"cl",
|
|
247
|
+
"56"
|
|
248
|
+
],
|
|
249
|
+
[
|
|
250
|
+
"China (中国)",
|
|
251
|
+
"cn",
|
|
252
|
+
"86"
|
|
253
|
+
],
|
|
254
|
+
[
|
|
255
|
+
"Christmas Island",
|
|
256
|
+
"cx",
|
|
257
|
+
"61",
|
|
258
|
+
2,
|
|
259
|
+
["89164"]
|
|
260
|
+
],
|
|
261
|
+
[
|
|
262
|
+
"Cocos (Keeling) Islands",
|
|
263
|
+
"cc",
|
|
264
|
+
"61",
|
|
265
|
+
1,
|
|
266
|
+
["89162"]
|
|
267
|
+
],
|
|
268
|
+
[
|
|
269
|
+
"Colombia",
|
|
270
|
+
"co",
|
|
271
|
+
"57"
|
|
272
|
+
],
|
|
273
|
+
[
|
|
274
|
+
"Comoros (جزر القمر)",
|
|
275
|
+
"km",
|
|
276
|
+
"269"
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
"Congo (DRC) (République démocratique du Congo)",
|
|
280
|
+
"cd",
|
|
281
|
+
"243"
|
|
282
|
+
],
|
|
283
|
+
[
|
|
284
|
+
"Congo (Republic) (Congo-Brazzaville)",
|
|
285
|
+
"cg",
|
|
286
|
+
"242"
|
|
287
|
+
],
|
|
288
|
+
[
|
|
289
|
+
"Cook Islands",
|
|
290
|
+
"ck",
|
|
291
|
+
"682"
|
|
292
|
+
],
|
|
293
|
+
[
|
|
294
|
+
"Costa Rica",
|
|
295
|
+
"cr",
|
|
296
|
+
"506"
|
|
297
|
+
],
|
|
298
|
+
[
|
|
299
|
+
"Côte d’Ivoire",
|
|
300
|
+
"ci",
|
|
301
|
+
"225"
|
|
302
|
+
],
|
|
303
|
+
[
|
|
304
|
+
"Croatia (Hrvatska)",
|
|
305
|
+
"hr",
|
|
306
|
+
"385"
|
|
307
|
+
],
|
|
308
|
+
[
|
|
309
|
+
"Cuba",
|
|
310
|
+
"cu",
|
|
311
|
+
"53"
|
|
312
|
+
],
|
|
313
|
+
[
|
|
314
|
+
"Curaçao",
|
|
315
|
+
"cw",
|
|
316
|
+
"599",
|
|
317
|
+
0
|
|
318
|
+
],
|
|
319
|
+
[
|
|
320
|
+
"Cyprus (Κύπρος)",
|
|
321
|
+
"cy",
|
|
322
|
+
"357"
|
|
323
|
+
],
|
|
324
|
+
[
|
|
325
|
+
"Czech Republic (Česká republika)",
|
|
326
|
+
"cz",
|
|
327
|
+
"420"
|
|
328
|
+
],
|
|
329
|
+
[
|
|
330
|
+
"Denmark (Danmark)",
|
|
331
|
+
"dk",
|
|
332
|
+
"45"
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
"Djibouti",
|
|
336
|
+
"dj",
|
|
337
|
+
"253"
|
|
338
|
+
],
|
|
339
|
+
[
|
|
340
|
+
"Dominica",
|
|
341
|
+
"dm",
|
|
342
|
+
"1",
|
|
343
|
+
13,
|
|
344
|
+
["767"]
|
|
345
|
+
],
|
|
346
|
+
[
|
|
347
|
+
"Dominican Republic (República Dominicana)",
|
|
348
|
+
"do",
|
|
349
|
+
"1",
|
|
350
|
+
2,
|
|
351
|
+
["809", "829", "849"]
|
|
352
|
+
],
|
|
353
|
+
[
|
|
354
|
+
"Ecuador",
|
|
355
|
+
"ec",
|
|
356
|
+
"593"
|
|
357
|
+
],
|
|
358
|
+
[
|
|
359
|
+
"Egypt (مصر)",
|
|
360
|
+
"eg",
|
|
361
|
+
"20"
|
|
362
|
+
],
|
|
363
|
+
[
|
|
364
|
+
"El Salvador",
|
|
365
|
+
"sv",
|
|
366
|
+
"503"
|
|
367
|
+
],
|
|
368
|
+
[
|
|
369
|
+
"Equatorial Guinea (Guinea Ecuatorial)",
|
|
370
|
+
"gq",
|
|
371
|
+
"240"
|
|
372
|
+
],
|
|
373
|
+
[
|
|
374
|
+
"Eritrea",
|
|
375
|
+
"er",
|
|
376
|
+
"291"
|
|
377
|
+
],
|
|
378
|
+
[
|
|
379
|
+
"Estonia (Eesti)",
|
|
380
|
+
"ee",
|
|
381
|
+
"372"
|
|
382
|
+
],
|
|
383
|
+
[
|
|
384
|
+
"Eswatini",
|
|
385
|
+
"sz",
|
|
386
|
+
"268"
|
|
387
|
+
],
|
|
388
|
+
[
|
|
389
|
+
"Ethiopia",
|
|
390
|
+
"et",
|
|
391
|
+
"251"
|
|
392
|
+
],
|
|
393
|
+
[
|
|
394
|
+
"Falkland Islands (Islas Malvinas)",
|
|
395
|
+
"fk",
|
|
396
|
+
"500"
|
|
397
|
+
],
|
|
398
|
+
[
|
|
399
|
+
"Faroe Islands (Føroyar)",
|
|
400
|
+
"fo",
|
|
401
|
+
"298"
|
|
402
|
+
],
|
|
403
|
+
[
|
|
404
|
+
"Fiji",
|
|
405
|
+
"fj",
|
|
406
|
+
"679"
|
|
407
|
+
],
|
|
408
|
+
[
|
|
409
|
+
"Finland (Suomi)",
|
|
410
|
+
"fi",
|
|
411
|
+
"358",
|
|
412
|
+
0
|
|
413
|
+
],
|
|
414
|
+
[
|
|
415
|
+
"France",
|
|
416
|
+
"fr",
|
|
417
|
+
"33"
|
|
418
|
+
],
|
|
419
|
+
[
|
|
420
|
+
"French Guiana (Guyane française)",
|
|
421
|
+
"gf",
|
|
422
|
+
"594"
|
|
423
|
+
],
|
|
424
|
+
[
|
|
425
|
+
"French Polynesia (Polynésie française)",
|
|
426
|
+
"pf",
|
|
427
|
+
"689"
|
|
428
|
+
],
|
|
429
|
+
[
|
|
430
|
+
"Gabon",
|
|
431
|
+
"ga",
|
|
432
|
+
"241"
|
|
433
|
+
],
|
|
434
|
+
[
|
|
435
|
+
"Gambia",
|
|
436
|
+
"gm",
|
|
437
|
+
"220"
|
|
438
|
+
],
|
|
439
|
+
[
|
|
440
|
+
"Georgia (საქართველო)",
|
|
441
|
+
"ge",
|
|
442
|
+
"995"
|
|
443
|
+
],
|
|
444
|
+
[
|
|
445
|
+
"Germany (Deutschland)",
|
|
446
|
+
"de",
|
|
447
|
+
"49"
|
|
448
|
+
],
|
|
449
|
+
[
|
|
450
|
+
"Ghana (Gaana)",
|
|
451
|
+
"gh",
|
|
452
|
+
"233"
|
|
453
|
+
],
|
|
454
|
+
[
|
|
455
|
+
"Gibraltar",
|
|
456
|
+
"gi",
|
|
457
|
+
"350"
|
|
458
|
+
],
|
|
459
|
+
[
|
|
460
|
+
"Greece (Ελλάδα)",
|
|
461
|
+
"gr",
|
|
462
|
+
"30"
|
|
463
|
+
],
|
|
464
|
+
[
|
|
465
|
+
"Greenland (Kalaallit Nunaat)",
|
|
466
|
+
"gl",
|
|
467
|
+
"299"
|
|
468
|
+
],
|
|
469
|
+
[
|
|
470
|
+
"Grenada",
|
|
471
|
+
"gd",
|
|
472
|
+
"1",
|
|
473
|
+
14,
|
|
474
|
+
["473"]
|
|
475
|
+
],
|
|
476
|
+
[
|
|
477
|
+
"Guadeloupe",
|
|
478
|
+
"gp",
|
|
479
|
+
"590",
|
|
480
|
+
0
|
|
481
|
+
],
|
|
482
|
+
[
|
|
483
|
+
"Guam",
|
|
484
|
+
"gu",
|
|
485
|
+
"1",
|
|
486
|
+
15,
|
|
487
|
+
["671"]
|
|
488
|
+
],
|
|
489
|
+
[
|
|
490
|
+
"Guatemala",
|
|
491
|
+
"gt",
|
|
492
|
+
"502"
|
|
493
|
+
],
|
|
494
|
+
[
|
|
495
|
+
"Guernsey",
|
|
496
|
+
"gg",
|
|
497
|
+
"44",
|
|
498
|
+
1,
|
|
499
|
+
["1481", "7781", "7839", "7911"]
|
|
500
|
+
],
|
|
501
|
+
[
|
|
502
|
+
"Guinea (Guinée)",
|
|
503
|
+
"gn",
|
|
504
|
+
"224"
|
|
505
|
+
],
|
|
506
|
+
[
|
|
507
|
+
"Guinea-Bissau (Guiné Bissau)",
|
|
508
|
+
"gw",
|
|
509
|
+
"245"
|
|
510
|
+
],
|
|
511
|
+
[
|
|
512
|
+
"Guyana",
|
|
513
|
+
"gy",
|
|
514
|
+
"592"
|
|
515
|
+
],
|
|
516
|
+
[
|
|
517
|
+
"Haiti",
|
|
518
|
+
"ht",
|
|
519
|
+
"509"
|
|
520
|
+
],
|
|
521
|
+
[
|
|
522
|
+
"Honduras",
|
|
523
|
+
"hn",
|
|
524
|
+
"504"
|
|
525
|
+
],
|
|
526
|
+
[
|
|
527
|
+
"Hong Kong (香港)",
|
|
528
|
+
"hk",
|
|
529
|
+
"852"
|
|
530
|
+
],
|
|
531
|
+
[
|
|
532
|
+
"Hungary (Magyarország)",
|
|
533
|
+
"hu",
|
|
534
|
+
"36"
|
|
535
|
+
],
|
|
536
|
+
[
|
|
537
|
+
"Iceland (Ísland)",
|
|
538
|
+
"is",
|
|
539
|
+
"354"
|
|
540
|
+
],
|
|
541
|
+
[
|
|
542
|
+
"India (भारत)",
|
|
543
|
+
"in",
|
|
544
|
+
"91"
|
|
545
|
+
],
|
|
546
|
+
[
|
|
547
|
+
"Indonesia",
|
|
548
|
+
"id",
|
|
549
|
+
"62"
|
|
550
|
+
],
|
|
551
|
+
[
|
|
552
|
+
"Iran (ایران)",
|
|
553
|
+
"ir",
|
|
554
|
+
"98"
|
|
555
|
+
],
|
|
556
|
+
[
|
|
557
|
+
"Iraq (العراق)",
|
|
558
|
+
"iq",
|
|
559
|
+
"964"
|
|
560
|
+
],
|
|
561
|
+
[
|
|
562
|
+
"Ireland",
|
|
563
|
+
"ie",
|
|
564
|
+
"353"
|
|
565
|
+
],
|
|
566
|
+
[
|
|
567
|
+
"Isle of Man",
|
|
568
|
+
"im",
|
|
569
|
+
"44",
|
|
570
|
+
2,
|
|
571
|
+
["1624", "74576", "7524", "7924", "7624"]
|
|
572
|
+
],
|
|
573
|
+
[
|
|
574
|
+
"Israel (ישראל)",
|
|
575
|
+
"il",
|
|
576
|
+
"972"
|
|
577
|
+
],
|
|
578
|
+
[
|
|
579
|
+
"Italy (Italia)",
|
|
580
|
+
"it",
|
|
581
|
+
"39",
|
|
582
|
+
0
|
|
583
|
+
],
|
|
584
|
+
[
|
|
585
|
+
"Jamaica",
|
|
586
|
+
"jm",
|
|
587
|
+
"1",
|
|
588
|
+
4,
|
|
589
|
+
["876", "658"]
|
|
590
|
+
],
|
|
591
|
+
[
|
|
592
|
+
"Japan (日本)",
|
|
593
|
+
"jp",
|
|
594
|
+
"81"
|
|
595
|
+
],
|
|
596
|
+
[
|
|
597
|
+
"Jersey",
|
|
598
|
+
"je",
|
|
599
|
+
"44",
|
|
600
|
+
3,
|
|
601
|
+
["1534", "7509", "7700", "7797", "7829", "7937"]
|
|
602
|
+
],
|
|
603
|
+
[
|
|
604
|
+
"Jordan (الأردن)",
|
|
605
|
+
"jo",
|
|
606
|
+
"962"
|
|
607
|
+
],
|
|
608
|
+
[
|
|
609
|
+
"Kazakhstan (Казахстан)",
|
|
610
|
+
"kz",
|
|
611
|
+
"7",
|
|
612
|
+
1,
|
|
613
|
+
["33", "7"]
|
|
614
|
+
],
|
|
615
|
+
[
|
|
616
|
+
"Kenya",
|
|
617
|
+
"ke",
|
|
618
|
+
"254"
|
|
619
|
+
],
|
|
620
|
+
[
|
|
621
|
+
"Kiribati",
|
|
622
|
+
"ki",
|
|
623
|
+
"686"
|
|
624
|
+
],
|
|
625
|
+
[
|
|
626
|
+
"Kosovo",
|
|
627
|
+
"xk",
|
|
628
|
+
"383"
|
|
629
|
+
],
|
|
630
|
+
[
|
|
631
|
+
"Kuwait (الكويت)",
|
|
632
|
+
"kw",
|
|
633
|
+
"965"
|
|
634
|
+
],
|
|
635
|
+
[
|
|
636
|
+
"Kyrgyzstan (Кыргызстан)",
|
|
637
|
+
"kg",
|
|
638
|
+
"996"
|
|
639
|
+
],
|
|
640
|
+
[
|
|
641
|
+
"Laos (ລາວ)",
|
|
642
|
+
"la",
|
|
643
|
+
"856"
|
|
644
|
+
],
|
|
645
|
+
[
|
|
646
|
+
"Latvia (Latvija)",
|
|
647
|
+
"lv",
|
|
648
|
+
"371"
|
|
649
|
+
],
|
|
650
|
+
[
|
|
651
|
+
"Lebanon (لبنان)",
|
|
652
|
+
"lb",
|
|
653
|
+
"961"
|
|
654
|
+
],
|
|
655
|
+
[
|
|
656
|
+
"Lesotho",
|
|
657
|
+
"ls",
|
|
658
|
+
"266"
|
|
659
|
+
],
|
|
660
|
+
[
|
|
661
|
+
"Liberia",
|
|
662
|
+
"lr",
|
|
663
|
+
"231"
|
|
664
|
+
],
|
|
665
|
+
[
|
|
666
|
+
"Libya (ليبيا)",
|
|
667
|
+
"ly",
|
|
668
|
+
"218"
|
|
669
|
+
],
|
|
670
|
+
[
|
|
671
|
+
"Liechtenstein",
|
|
672
|
+
"li",
|
|
673
|
+
"423"
|
|
674
|
+
],
|
|
675
|
+
[
|
|
676
|
+
"Lithuania (Lietuva)",
|
|
677
|
+
"lt",
|
|
678
|
+
"370"
|
|
679
|
+
],
|
|
680
|
+
[
|
|
681
|
+
"Luxembourg",
|
|
682
|
+
"lu",
|
|
683
|
+
"352"
|
|
684
|
+
],
|
|
685
|
+
[
|
|
686
|
+
"Macau (澳門)",
|
|
687
|
+
"mo",
|
|
688
|
+
"853"
|
|
689
|
+
],
|
|
690
|
+
[
|
|
691
|
+
"Madagascar (Madagasikara)",
|
|
692
|
+
"mg",
|
|
693
|
+
"261"
|
|
694
|
+
],
|
|
695
|
+
[
|
|
696
|
+
"Malawi",
|
|
697
|
+
"mw",
|
|
698
|
+
"265"
|
|
699
|
+
],
|
|
700
|
+
[
|
|
701
|
+
"Malaysia",
|
|
702
|
+
"my",
|
|
703
|
+
"60"
|
|
704
|
+
],
|
|
705
|
+
[
|
|
706
|
+
"Maldives",
|
|
707
|
+
"mv",
|
|
708
|
+
"960"
|
|
709
|
+
],
|
|
710
|
+
[
|
|
711
|
+
"Mali",
|
|
712
|
+
"ml",
|
|
713
|
+
"223"
|
|
714
|
+
],
|
|
715
|
+
[
|
|
716
|
+
"Malta",
|
|
717
|
+
"mt",
|
|
718
|
+
"356"
|
|
719
|
+
],
|
|
720
|
+
[
|
|
721
|
+
"Marshall Islands",
|
|
722
|
+
"mh",
|
|
723
|
+
"692"
|
|
724
|
+
],
|
|
725
|
+
[
|
|
726
|
+
"Martinique",
|
|
727
|
+
"mq",
|
|
728
|
+
"596"
|
|
729
|
+
],
|
|
730
|
+
[
|
|
731
|
+
"Mauritania (موريتانيا)",
|
|
732
|
+
"mr",
|
|
733
|
+
"222"
|
|
734
|
+
],
|
|
735
|
+
[
|
|
736
|
+
"Mauritius (Moris)",
|
|
737
|
+
"mu",
|
|
738
|
+
"230"
|
|
739
|
+
],
|
|
740
|
+
[
|
|
741
|
+
"Mayotte",
|
|
742
|
+
"yt",
|
|
743
|
+
"262",
|
|
744
|
+
1,
|
|
745
|
+
["269", "639"]
|
|
746
|
+
],
|
|
747
|
+
[
|
|
748
|
+
"Mexico (México)",
|
|
749
|
+
"mx",
|
|
750
|
+
"52"
|
|
751
|
+
],
|
|
752
|
+
[
|
|
753
|
+
"Micronesia",
|
|
754
|
+
"fm",
|
|
755
|
+
"691"
|
|
756
|
+
],
|
|
757
|
+
[
|
|
758
|
+
"Moldova (Republica Moldova)",
|
|
759
|
+
"md",
|
|
760
|
+
"373"
|
|
761
|
+
],
|
|
762
|
+
[
|
|
763
|
+
"Monaco",
|
|
764
|
+
"mc",
|
|
765
|
+
"377"
|
|
766
|
+
],
|
|
767
|
+
[
|
|
768
|
+
"Mongolia (Монгол)",
|
|
769
|
+
"mn",
|
|
770
|
+
"976"
|
|
771
|
+
],
|
|
772
|
+
[
|
|
773
|
+
"Montenegro (Crna Gora)",
|
|
774
|
+
"me",
|
|
775
|
+
"382"
|
|
776
|
+
],
|
|
777
|
+
[
|
|
778
|
+
"Montserrat",
|
|
779
|
+
"ms",
|
|
780
|
+
"1",
|
|
781
|
+
16,
|
|
782
|
+
["664"]
|
|
783
|
+
],
|
|
784
|
+
[
|
|
785
|
+
"Morocco (المغرب)",
|
|
786
|
+
"ma",
|
|
787
|
+
"212",
|
|
788
|
+
0
|
|
789
|
+
],
|
|
790
|
+
[
|
|
791
|
+
"Mozambique (Moçambique)",
|
|
792
|
+
"mz",
|
|
793
|
+
"258"
|
|
794
|
+
],
|
|
795
|
+
[
|
|
796
|
+
"Myanmar (Burma) (မြန်မာ)",
|
|
797
|
+
"mm",
|
|
798
|
+
"95"
|
|
799
|
+
],
|
|
800
|
+
[
|
|
801
|
+
"Namibia (Namibië)",
|
|
802
|
+
"na",
|
|
803
|
+
"264"
|
|
804
|
+
],
|
|
805
|
+
[
|
|
806
|
+
"Nauru",
|
|
807
|
+
"nr",
|
|
808
|
+
"674"
|
|
809
|
+
],
|
|
810
|
+
[
|
|
811
|
+
"Nepal (नेपाल)",
|
|
812
|
+
"np",
|
|
813
|
+
"977"
|
|
814
|
+
],
|
|
815
|
+
[
|
|
816
|
+
"Netherlands (Nederland)",
|
|
817
|
+
"nl",
|
|
818
|
+
"31"
|
|
819
|
+
],
|
|
820
|
+
[
|
|
821
|
+
"New Caledonia (Nouvelle-Calédonie)",
|
|
822
|
+
"nc",
|
|
823
|
+
"687"
|
|
824
|
+
],
|
|
825
|
+
[
|
|
826
|
+
"New Zealand",
|
|
827
|
+
"nz",
|
|
828
|
+
"64"
|
|
829
|
+
],
|
|
830
|
+
[
|
|
831
|
+
"Nicaragua",
|
|
832
|
+
"ni",
|
|
833
|
+
"505"
|
|
834
|
+
],
|
|
835
|
+
[
|
|
836
|
+
"Niger (Nijar)",
|
|
837
|
+
"ne",
|
|
838
|
+
"227"
|
|
839
|
+
],
|
|
840
|
+
[
|
|
841
|
+
"Nigeria",
|
|
842
|
+
"ng",
|
|
843
|
+
"234"
|
|
844
|
+
],
|
|
845
|
+
[
|
|
846
|
+
"Niue",
|
|
847
|
+
"nu",
|
|
848
|
+
"683"
|
|
849
|
+
],
|
|
850
|
+
[
|
|
851
|
+
"Norfolk Island",
|
|
852
|
+
"nf",
|
|
853
|
+
"672"
|
|
854
|
+
],
|
|
855
|
+
[
|
|
856
|
+
"North Korea (조선 민주주의 인민 공화국)",
|
|
857
|
+
"kp",
|
|
858
|
+
"850"
|
|
859
|
+
],
|
|
860
|
+
[
|
|
861
|
+
"North Macedonia (Северна Македонија)",
|
|
862
|
+
"mk",
|
|
863
|
+
"389"
|
|
864
|
+
],
|
|
865
|
+
[
|
|
866
|
+
"Northern Mariana Islands",
|
|
867
|
+
"mp",
|
|
868
|
+
"1",
|
|
869
|
+
17,
|
|
870
|
+
["670"]
|
|
871
|
+
],
|
|
872
|
+
[
|
|
873
|
+
"Norway (Norge)",
|
|
874
|
+
"no",
|
|
875
|
+
"47",
|
|
876
|
+
0
|
|
877
|
+
],
|
|
878
|
+
[
|
|
879
|
+
"Oman (عُمان)",
|
|
880
|
+
"om",
|
|
881
|
+
"968"
|
|
882
|
+
],
|
|
883
|
+
[
|
|
884
|
+
"Pakistan (پاکستان)",
|
|
885
|
+
"pk",
|
|
886
|
+
"92"
|
|
887
|
+
],
|
|
888
|
+
[
|
|
889
|
+
"Palau",
|
|
890
|
+
"pw",
|
|
891
|
+
"680"
|
|
892
|
+
],
|
|
893
|
+
[
|
|
894
|
+
"Palestine (فلسطين)",
|
|
895
|
+
"ps",
|
|
896
|
+
"970"
|
|
897
|
+
],
|
|
898
|
+
[
|
|
899
|
+
"Panama (Panamá)",
|
|
900
|
+
"pa",
|
|
901
|
+
"507"
|
|
902
|
+
],
|
|
903
|
+
[
|
|
904
|
+
"Papua New Guinea",
|
|
905
|
+
"pg",
|
|
906
|
+
"675"
|
|
907
|
+
],
|
|
908
|
+
[
|
|
909
|
+
"Paraguay",
|
|
910
|
+
"py",
|
|
911
|
+
"595"
|
|
912
|
+
],
|
|
913
|
+
[
|
|
914
|
+
"Peru (Perú)",
|
|
915
|
+
"pe",
|
|
916
|
+
"51"
|
|
917
|
+
],
|
|
918
|
+
[
|
|
919
|
+
"Philippines",
|
|
920
|
+
"ph",
|
|
921
|
+
"63"
|
|
922
|
+
],
|
|
923
|
+
[
|
|
924
|
+
"Poland (Polska)",
|
|
925
|
+
"pl",
|
|
926
|
+
"48"
|
|
927
|
+
],
|
|
928
|
+
[
|
|
929
|
+
"Portugal",
|
|
930
|
+
"pt",
|
|
931
|
+
"351"
|
|
932
|
+
],
|
|
933
|
+
[
|
|
934
|
+
"Puerto Rico",
|
|
935
|
+
"pr",
|
|
936
|
+
"1",
|
|
937
|
+
3,
|
|
938
|
+
["787", "939"]
|
|
939
|
+
],
|
|
940
|
+
[
|
|
941
|
+
"Qatar (قطر)",
|
|
942
|
+
"qa",
|
|
943
|
+
"974"
|
|
944
|
+
],
|
|
945
|
+
[
|
|
946
|
+
"Réunion (La Réunion)",
|
|
947
|
+
"re",
|
|
948
|
+
"262",
|
|
949
|
+
0
|
|
950
|
+
],
|
|
951
|
+
[
|
|
952
|
+
"Romania (România)",
|
|
953
|
+
"ro",
|
|
954
|
+
"40"
|
|
955
|
+
],
|
|
956
|
+
[
|
|
957
|
+
"Russia (Россия)",
|
|
958
|
+
"ru",
|
|
959
|
+
"7",
|
|
960
|
+
0
|
|
961
|
+
],
|
|
962
|
+
[
|
|
963
|
+
"Rwanda",
|
|
964
|
+
"rw",
|
|
965
|
+
"250"
|
|
966
|
+
],
|
|
967
|
+
[
|
|
968
|
+
"Saint Barthélemy",
|
|
969
|
+
"bl",
|
|
970
|
+
"590",
|
|
971
|
+
1
|
|
972
|
+
],
|
|
973
|
+
[
|
|
974
|
+
"Saint Helena",
|
|
975
|
+
"sh",
|
|
976
|
+
"290"
|
|
977
|
+
],
|
|
978
|
+
[
|
|
979
|
+
"Saint Kitts and Nevis",
|
|
980
|
+
"kn",
|
|
981
|
+
"1",
|
|
982
|
+
18,
|
|
983
|
+
["869"]
|
|
984
|
+
],
|
|
985
|
+
[
|
|
986
|
+
"Saint Lucia",
|
|
987
|
+
"lc",
|
|
988
|
+
"1",
|
|
989
|
+
19,
|
|
990
|
+
["758"]
|
|
991
|
+
],
|
|
992
|
+
[
|
|
993
|
+
"Saint Martin (Saint-Martin (partie française))",
|
|
994
|
+
"mf",
|
|
995
|
+
"590",
|
|
996
|
+
2
|
|
997
|
+
],
|
|
998
|
+
[
|
|
999
|
+
"Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)",
|
|
1000
|
+
"pm",
|
|
1001
|
+
"508"
|
|
1002
|
+
],
|
|
1003
|
+
[
|
|
1004
|
+
"Saint Vincent and the Grenadines",
|
|
1005
|
+
"vc",
|
|
1006
|
+
"1",
|
|
1007
|
+
20,
|
|
1008
|
+
["784"]
|
|
1009
|
+
],
|
|
1010
|
+
[
|
|
1011
|
+
"Samoa",
|
|
1012
|
+
"ws",
|
|
1013
|
+
"685"
|
|
1014
|
+
],
|
|
1015
|
+
[
|
|
1016
|
+
"San Marino",
|
|
1017
|
+
"sm",
|
|
1018
|
+
"378"
|
|
1019
|
+
],
|
|
1020
|
+
[
|
|
1021
|
+
"São Tomé and Príncipe (São Tomé e Príncipe)",
|
|
1022
|
+
"st",
|
|
1023
|
+
"239"
|
|
1024
|
+
],
|
|
1025
|
+
[
|
|
1026
|
+
"Saudi Arabia (المملكة العربية السعودية)",
|
|
1027
|
+
"sa",
|
|
1028
|
+
"966"
|
|
1029
|
+
],
|
|
1030
|
+
[
|
|
1031
|
+
"Senegal (Sénégal)",
|
|
1032
|
+
"sn",
|
|
1033
|
+
"221"
|
|
1034
|
+
],
|
|
1035
|
+
[
|
|
1036
|
+
"Serbia (Србија)",
|
|
1037
|
+
"rs",
|
|
1038
|
+
"381"
|
|
1039
|
+
],
|
|
1040
|
+
[
|
|
1041
|
+
"Seychelles",
|
|
1042
|
+
"sc",
|
|
1043
|
+
"248"
|
|
1044
|
+
],
|
|
1045
|
+
[
|
|
1046
|
+
"Sierra Leone",
|
|
1047
|
+
"sl",
|
|
1048
|
+
"232"
|
|
1049
|
+
],
|
|
1050
|
+
[
|
|
1051
|
+
"Singapore",
|
|
1052
|
+
"sg",
|
|
1053
|
+
"65"
|
|
1054
|
+
],
|
|
1055
|
+
[
|
|
1056
|
+
"Sint Maarten",
|
|
1057
|
+
"sx",
|
|
1058
|
+
"1",
|
|
1059
|
+
21,
|
|
1060
|
+
["721"]
|
|
1061
|
+
],
|
|
1062
|
+
[
|
|
1063
|
+
"Slovakia (Slovensko)",
|
|
1064
|
+
"sk",
|
|
1065
|
+
"421"
|
|
1066
|
+
],
|
|
1067
|
+
[
|
|
1068
|
+
"Slovenia (Slovenija)",
|
|
1069
|
+
"si",
|
|
1070
|
+
"386"
|
|
1071
|
+
],
|
|
1072
|
+
[
|
|
1073
|
+
"Solomon Islands",
|
|
1074
|
+
"sb",
|
|
1075
|
+
"677"
|
|
1076
|
+
],
|
|
1077
|
+
[
|
|
1078
|
+
"Somalia (Soomaaliya)",
|
|
1079
|
+
"so",
|
|
1080
|
+
"252"
|
|
1081
|
+
],
|
|
1082
|
+
[
|
|
1083
|
+
"South Africa",
|
|
1084
|
+
"za",
|
|
1085
|
+
"27"
|
|
1086
|
+
],
|
|
1087
|
+
[
|
|
1088
|
+
"South Korea (대한민국)",
|
|
1089
|
+
"kr",
|
|
1090
|
+
"82"
|
|
1091
|
+
],
|
|
1092
|
+
[
|
|
1093
|
+
"South Sudan (جنوب السودان)",
|
|
1094
|
+
"ss",
|
|
1095
|
+
"211"
|
|
1096
|
+
],
|
|
1097
|
+
[
|
|
1098
|
+
"Spain (España)",
|
|
1099
|
+
"es",
|
|
1100
|
+
"34"
|
|
1101
|
+
],
|
|
1102
|
+
[
|
|
1103
|
+
"Sri Lanka (ශ්රී ලංකාව)",
|
|
1104
|
+
"lk",
|
|
1105
|
+
"94"
|
|
1106
|
+
],
|
|
1107
|
+
[
|
|
1108
|
+
"Sudan (السودان)",
|
|
1109
|
+
"sd",
|
|
1110
|
+
"249"
|
|
1111
|
+
],
|
|
1112
|
+
[
|
|
1113
|
+
"Suriname",
|
|
1114
|
+
"sr",
|
|
1115
|
+
"597"
|
|
1116
|
+
],
|
|
1117
|
+
[
|
|
1118
|
+
"Svalbard and Jan Mayen",
|
|
1119
|
+
"sj",
|
|
1120
|
+
"47",
|
|
1121
|
+
1,
|
|
1122
|
+
["79"]
|
|
1123
|
+
],
|
|
1124
|
+
[
|
|
1125
|
+
"Sweden (Sverige)",
|
|
1126
|
+
"se",
|
|
1127
|
+
"46"
|
|
1128
|
+
],
|
|
1129
|
+
[
|
|
1130
|
+
"Switzerland (Schweiz)",
|
|
1131
|
+
"ch",
|
|
1132
|
+
"41"
|
|
1133
|
+
],
|
|
1134
|
+
[
|
|
1135
|
+
"Syria (سوريا)",
|
|
1136
|
+
"sy",
|
|
1137
|
+
"963"
|
|
1138
|
+
],
|
|
1139
|
+
[
|
|
1140
|
+
"Taiwan (台灣)",
|
|
1141
|
+
"tw",
|
|
1142
|
+
"886"
|
|
1143
|
+
],
|
|
1144
|
+
[
|
|
1145
|
+
"Tajikistan",
|
|
1146
|
+
"tj",
|
|
1147
|
+
"992"
|
|
1148
|
+
],
|
|
1149
|
+
[
|
|
1150
|
+
"Tanzania",
|
|
1151
|
+
"tz",
|
|
1152
|
+
"255"
|
|
1153
|
+
],
|
|
1154
|
+
[
|
|
1155
|
+
"Thailand (ไทย)",
|
|
1156
|
+
"th",
|
|
1157
|
+
"66"
|
|
1158
|
+
],
|
|
1159
|
+
[
|
|
1160
|
+
"Timor-Leste",
|
|
1161
|
+
"tl",
|
|
1162
|
+
"670"
|
|
1163
|
+
],
|
|
1164
|
+
[
|
|
1165
|
+
"Togo",
|
|
1166
|
+
"tg",
|
|
1167
|
+
"228"
|
|
1168
|
+
],
|
|
1169
|
+
[
|
|
1170
|
+
"Tokelau",
|
|
1171
|
+
"tk",
|
|
1172
|
+
"690"
|
|
1173
|
+
],
|
|
1174
|
+
[
|
|
1175
|
+
"Tonga",
|
|
1176
|
+
"to",
|
|
1177
|
+
"676"
|
|
1178
|
+
],
|
|
1179
|
+
[
|
|
1180
|
+
"Trinidad and Tobago",
|
|
1181
|
+
"tt",
|
|
1182
|
+
"1",
|
|
1183
|
+
22,
|
|
1184
|
+
["868"]
|
|
1185
|
+
],
|
|
1186
|
+
[
|
|
1187
|
+
"Tunisia (تونس)",
|
|
1188
|
+
"tn",
|
|
1189
|
+
"216"
|
|
1190
|
+
],
|
|
1191
|
+
[
|
|
1192
|
+
"Turkey (Türkiye)",
|
|
1193
|
+
"tr",
|
|
1194
|
+
"90"
|
|
1195
|
+
],
|
|
1196
|
+
[
|
|
1197
|
+
"Turkmenistan",
|
|
1198
|
+
"tm",
|
|
1199
|
+
"993"
|
|
1200
|
+
],
|
|
1201
|
+
[
|
|
1202
|
+
"Turks and Caicos Islands",
|
|
1203
|
+
"tc",
|
|
1204
|
+
"1",
|
|
1205
|
+
23,
|
|
1206
|
+
["649"]
|
|
1207
|
+
],
|
|
1208
|
+
[
|
|
1209
|
+
"Tuvalu",
|
|
1210
|
+
"tv",
|
|
1211
|
+
"688"
|
|
1212
|
+
],
|
|
1213
|
+
[
|
|
1214
|
+
"U.S. Virgin Islands",
|
|
1215
|
+
"vi",
|
|
1216
|
+
"1",
|
|
1217
|
+
24,
|
|
1218
|
+
["340"]
|
|
1219
|
+
],
|
|
1220
|
+
[
|
|
1221
|
+
"Uganda",
|
|
1222
|
+
"ug",
|
|
1223
|
+
"256"
|
|
1224
|
+
],
|
|
1225
|
+
[
|
|
1226
|
+
"Ukraine (Україна)",
|
|
1227
|
+
"ua",
|
|
1228
|
+
"380"
|
|
1229
|
+
],
|
|
1230
|
+
[
|
|
1231
|
+
"United Arab Emirates (الإمارات العربية المتحدة)",
|
|
1232
|
+
"ae",
|
|
1233
|
+
"971"
|
|
1234
|
+
],
|
|
1235
|
+
[
|
|
1236
|
+
"United Kingdom",
|
|
1237
|
+
"gb",
|
|
1238
|
+
"44",
|
|
1239
|
+
0
|
|
1240
|
+
],
|
|
1241
|
+
[
|
|
1242
|
+
"United States",
|
|
1243
|
+
"us",
|
|
1244
|
+
"1",
|
|
1245
|
+
0
|
|
1246
|
+
],
|
|
1247
|
+
[
|
|
1248
|
+
"Uruguay",
|
|
1249
|
+
"uy",
|
|
1250
|
+
"598"
|
|
1251
|
+
],
|
|
1252
|
+
[
|
|
1253
|
+
"Uzbekistan (Oʻzbekiston)",
|
|
1254
|
+
"uz",
|
|
1255
|
+
"998"
|
|
1256
|
+
],
|
|
1257
|
+
[
|
|
1258
|
+
"Vanuatu",
|
|
1259
|
+
"vu",
|
|
1260
|
+
"678"
|
|
1261
|
+
],
|
|
1262
|
+
[
|
|
1263
|
+
"Vatican City (Città del Vaticano)",
|
|
1264
|
+
"va",
|
|
1265
|
+
"39",
|
|
1266
|
+
1,
|
|
1267
|
+
["06698"]
|
|
1268
|
+
],
|
|
1269
|
+
[
|
|
1270
|
+
"Venezuela",
|
|
1271
|
+
"ve",
|
|
1272
|
+
"58"
|
|
1273
|
+
],
|
|
1274
|
+
[
|
|
1275
|
+
"Vietnam (Việt Nam)",
|
|
1276
|
+
"vn",
|
|
1277
|
+
"84"
|
|
1278
|
+
],
|
|
1279
|
+
[
|
|
1280
|
+
"Wallis and Futuna (Wallis-et-Futuna)",
|
|
1281
|
+
"wf",
|
|
1282
|
+
"681"
|
|
1283
|
+
],
|
|
1284
|
+
[
|
|
1285
|
+
"Western Sahara (الصحراء الغربية)",
|
|
1286
|
+
"eh",
|
|
1287
|
+
"212",
|
|
1288
|
+
1,
|
|
1289
|
+
["5288", "5289"]
|
|
1290
|
+
],
|
|
1291
|
+
[
|
|
1292
|
+
"Yemen (اليمن)",
|
|
1293
|
+
"ye",
|
|
1294
|
+
"967"
|
|
1295
|
+
],
|
|
1296
|
+
[
|
|
1297
|
+
"Zambia",
|
|
1298
|
+
"zm",
|
|
1299
|
+
"260"
|
|
1300
|
+
],
|
|
1301
|
+
[
|
|
1302
|
+
"Zimbabwe",
|
|
1303
|
+
"zw",
|
|
1304
|
+
"263"
|
|
1305
|
+
],
|
|
1306
|
+
[
|
|
1307
|
+
"Åland Islands",
|
|
1308
|
+
"ax",
|
|
1309
|
+
"358",
|
|
1310
|
+
1,
|
|
1311
|
+
["18"]
|
|
1312
|
+
]
|
|
1313
|
+
], Ae = De.map(([d, e, t, n = 0, r = null]) => ({
|
|
1314
|
+
name: d,
|
|
1315
|
+
iso2: e.toUpperCase(),
|
|
1316
|
+
dialCode: t,
|
|
1317
|
+
priority: n,
|
|
1318
|
+
areaCodes: r
|
|
1319
|
+
}));
|
|
1320
|
+
function Re() {
|
|
1321
|
+
return fetch("https://ip2c.org/s").then((d) => d.text()).then((d) => {
|
|
1322
|
+
const e = (d || "").toString();
|
|
1323
|
+
if (!e || e[0] !== "1")
|
|
1324
|
+
throw new Error("unable to fetch the country");
|
|
1325
|
+
return e.substr(2, 2);
|
|
1326
|
+
});
|
|
1327
|
+
}
|
|
1328
|
+
function _e(d, e) {
|
|
1329
|
+
if (d.setSelectionRange)
|
|
1330
|
+
d.focus(), d.setSelectionRange(e, e);
|
|
1331
|
+
else if ("createTextRange" in d && typeof d.createTextRange == "function") {
|
|
1332
|
+
const t = d.createTextRange();
|
|
1333
|
+
t.collapse(!0), t.moveEnd("character", e), t.moveStart("character", e), t.select();
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
const Be = [
|
|
1337
|
+
{
|
|
1338
|
+
name: "allCountries",
|
|
1339
|
+
type: Array,
|
|
1340
|
+
default: Ae,
|
|
1341
|
+
description: "All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",
|
|
1342
|
+
inDemo: !1
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
name: "autoFormat",
|
|
1346
|
+
type: Boolean,
|
|
1347
|
+
default: !0,
|
|
1348
|
+
description: "Auto update the input to the formatted phone number when it's valid",
|
|
1349
|
+
inDemo: !0
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
name: "customValidate",
|
|
1353
|
+
type: [Boolean, RegExp],
|
|
1354
|
+
default: !1,
|
|
1355
|
+
description: "Custom validation RegExp for input",
|
|
1356
|
+
inDemo: !1
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
name: "defaultCountry",
|
|
1360
|
+
default: "",
|
|
1361
|
+
type: [String, Number],
|
|
1362
|
+
description: "Default country (by iso2 or dialCode), will override the country fetched from IP address of user",
|
|
1363
|
+
inDemo: !1
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
name: "disabled",
|
|
1367
|
+
default: !1,
|
|
1368
|
+
type: Boolean,
|
|
1369
|
+
description: "Disable <code>vue-tel-input</code>, including the input & flag dropdown",
|
|
1370
|
+
inDemo: !1
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
name: "autoDefaultCountry",
|
|
1374
|
+
default: !0,
|
|
1375
|
+
type: Boolean,
|
|
1376
|
+
description: "To fetch default country based on IP address of user",
|
|
1377
|
+
inDemo: !1
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
name: "dropdownOptions",
|
|
1381
|
+
type: Object,
|
|
1382
|
+
description: "Options for dropdown, see below",
|
|
1383
|
+
inDemo: !1
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
name: "dropdownOptions.disabled",
|
|
1387
|
+
default: !1,
|
|
1388
|
+
type: Boolean,
|
|
1389
|
+
description: "Disable dropdown",
|
|
1390
|
+
inDemo: !1
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
name: "dropdownOptions.showDialCodeInList",
|
|
1394
|
+
default: !0,
|
|
1395
|
+
type: Boolean,
|
|
1396
|
+
description: "Show dial code in the dropdown list",
|
|
1397
|
+
inDemo: !0
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
name: "dropdownOptions.showDialCodeInSelection",
|
|
1401
|
+
default: !1,
|
|
1402
|
+
type: Boolean,
|
|
1403
|
+
description: "Show dial code in the dropdown selection",
|
|
1404
|
+
inDemo: !0
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
name: "dropdownOptions.showFlags",
|
|
1408
|
+
default: !0,
|
|
1409
|
+
type: Boolean,
|
|
1410
|
+
description: "Show flags in the dropdown selection and list",
|
|
1411
|
+
inDemo: !0
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
name: "dropdownOptions.showSearchBox",
|
|
1415
|
+
default: !1,
|
|
1416
|
+
type: Boolean,
|
|
1417
|
+
description: "Show country search box",
|
|
1418
|
+
inDemo: !0
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
name: "dropdownOptions.searchBoxPlaceholder",
|
|
1422
|
+
default: "",
|
|
1423
|
+
type: String,
|
|
1424
|
+
description: "Placeholder for the search box",
|
|
1425
|
+
inDemo: !1
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
name: "dropdownOptions.tabindex",
|
|
1429
|
+
default: 0,
|
|
1430
|
+
type: Number,
|
|
1431
|
+
description: "Native dropdown <code>tabindex</code> attribute",
|
|
1432
|
+
inDemo: !1
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
name: "ignoredCountries",
|
|
1436
|
+
default: [],
|
|
1437
|
+
type: Array,
|
|
1438
|
+
description: "List of countries will NOT be shown on the dropdown",
|
|
1439
|
+
inDemo: !1
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
name: "inputOptions",
|
|
1443
|
+
type: Object,
|
|
1444
|
+
description: "Options for input, see below",
|
|
1445
|
+
inDemo: !1
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
name: "inputOptions.autocomplete",
|
|
1449
|
+
type: String,
|
|
1450
|
+
default: "on",
|
|
1451
|
+
description: "Native input <code>autocomplete</code> attribute",
|
|
1452
|
+
inDemo: !1
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
name: "inputOptions.autofocus",
|
|
1456
|
+
type: Boolean,
|
|
1457
|
+
default: !1,
|
|
1458
|
+
description: "Native input <code>autofocus</code> attribute",
|
|
1459
|
+
inDemo: !1
|
|
1460
|
+
},
|
|
1461
|
+
// {
|
|
1462
|
+
// name: 'inputOptions.dynamicPlaceholder',
|
|
1463
|
+
// default: false,
|
|
1464
|
+
// type: Boolean,
|
|
1465
|
+
// description: 'Placeholder as a sample phone number in the current country',
|
|
1466
|
+
// inDemo: false,
|
|
1467
|
+
// },
|
|
1468
|
+
{
|
|
1469
|
+
name: "inputOptions.aria-describedby",
|
|
1470
|
+
default: "",
|
|
1471
|
+
type: String,
|
|
1472
|
+
description: "Native input <code>aria-describedby</code> attribute",
|
|
1473
|
+
inDemo: !1
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
name: "inputOptions.id",
|
|
1477
|
+
default: "",
|
|
1478
|
+
type: String,
|
|
1479
|
+
description: "Native input <code>id</code> attribute",
|
|
1480
|
+
inDemo: !1
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
name: "inputOptions.maxlength",
|
|
1484
|
+
default: 25,
|
|
1485
|
+
type: Number,
|
|
1486
|
+
description: "Native input <code>maxlength</code> attribute",
|
|
1487
|
+
inDemo: !1
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
name: "inputOptions.name",
|
|
1491
|
+
default: "telephone",
|
|
1492
|
+
type: String,
|
|
1493
|
+
description: "Native input <code>name</code> attribute",
|
|
1494
|
+
inDemo: !1
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
name: "inputOptions.showDialCode",
|
|
1498
|
+
default: !1,
|
|
1499
|
+
type: Boolean,
|
|
1500
|
+
description: "Show dial code in input",
|
|
1501
|
+
inDemo: !1
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
name: "inputOptions.placeholder",
|
|
1505
|
+
default: "Enter a phone number",
|
|
1506
|
+
type: String,
|
|
1507
|
+
description: "Placeholder for the input",
|
|
1508
|
+
inDemo: !1
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
name: "inputOptions.readonly",
|
|
1512
|
+
default: !1,
|
|
1513
|
+
type: Boolean,
|
|
1514
|
+
description: "Native input <code>readonly</code> attribute",
|
|
1515
|
+
inDemo: !1
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
name: "inputOptions.required",
|
|
1519
|
+
default: !1,
|
|
1520
|
+
type: Boolean,
|
|
1521
|
+
description: "Native input <code>required</code> attribute",
|
|
1522
|
+
inDemo: !1
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
name: "inputOptions.tabindex",
|
|
1526
|
+
default: 0,
|
|
1527
|
+
type: Number,
|
|
1528
|
+
description: "Native input <code>tabindex</code> attribute",
|
|
1529
|
+
inDemo: !1
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
name: "inputOptions.type",
|
|
1533
|
+
default: "tel",
|
|
1534
|
+
type: String,
|
|
1535
|
+
description: "Native input <code>type</code> attribute",
|
|
1536
|
+
inDemo: !1
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
name: "inputOptions.styleClasses",
|
|
1540
|
+
default: "",
|
|
1541
|
+
type: [String, Array, Object],
|
|
1542
|
+
description: "Custom classes for the <code>input</code>",
|
|
1543
|
+
inDemo: !1
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
name: "invalidMsg",
|
|
1547
|
+
default: "",
|
|
1548
|
+
type: String,
|
|
1549
|
+
description: "",
|
|
1550
|
+
inDemo: !1
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
name: "mode",
|
|
1554
|
+
default: "auto",
|
|
1555
|
+
type: String,
|
|
1556
|
+
description: "Allowed values: <code>'auto'</code> (Default set by phone), <code>'international'</code> (Format number with the dial code i.e. + 61), <code>'national'</code> (Format number without dial code i.e. 0321232)",
|
|
1557
|
+
inDemo: !0,
|
|
1558
|
+
options: ["auto", "national", "international"]
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
name: "onlyCountries",
|
|
1562
|
+
default: [],
|
|
1563
|
+
type: Array,
|
|
1564
|
+
description: "List of countries will be shown on the dropdown",
|
|
1565
|
+
inDemo: !1
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
name: "preferredCountries",
|
|
1569
|
+
default: [],
|
|
1570
|
+
type: Array,
|
|
1571
|
+
description: "Preferred countries list, will be on top of the dropdown",
|
|
1572
|
+
inDemo: !1
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
name: "styleClasses",
|
|
1576
|
+
default: "",
|
|
1577
|
+
type: [String, Array, Object],
|
|
1578
|
+
description: "Custom classes for the wrapper",
|
|
1579
|
+
inDemo: !1
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
name: "validCharactersOnly",
|
|
1583
|
+
default: !1,
|
|
1584
|
+
type: Boolean,
|
|
1585
|
+
description: "Only allow valid characters in a phone number (will also verify in <code>mounted</code>, so phone number with invalid characters will be shown as an empty string)",
|
|
1586
|
+
inDemo: !1
|
|
1587
|
+
}
|
|
1588
|
+
], je = [...Be].reduce((d, e) => {
|
|
1589
|
+
if (e.name.includes(".")) {
|
|
1590
|
+
const [t, n] = e.name.split(".");
|
|
1591
|
+
d[t] ? Object.assign(d[t], { [n]: e.default }) : Object.assign(d, { [t]: { [n]: e.default } });
|
|
1592
|
+
} else
|
|
1593
|
+
Object.assign(d, { [e.name]: e.default });
|
|
1594
|
+
return d;
|
|
1595
|
+
}, {}), Sd = {
|
|
1596
|
+
options: { ...je }
|
|
1597
|
+
};
|
|
1598
|
+
function g(d) {
|
|
1599
|
+
const e = Sd.options[d];
|
|
1600
|
+
return typeof e > "u" ? Sd.options[d] : e;
|
|
1601
|
+
}
|
|
1602
|
+
function _(d) {
|
|
1603
|
+
return d == null ? void 0 : d.toLowerCase();
|
|
1604
|
+
}
|
|
1605
|
+
function B(d) {
|
|
1606
|
+
return d == null ? void 0 : d.toUpperCase();
|
|
1607
|
+
}
|
|
1608
|
+
const Fe = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|22"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "[24-689]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "(?:[2-467]\\d\\d|8001)\\d{5}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[23]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "(?:[2-8]\\d|90)\\d{8}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "[189]\\d{8}|[1-68]\\d{6}", [7, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]", "(?:10|2[0-57-9])(?:10|9[56])", "10(?:10|9[56])|2[0-57-9](?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}", [10, 11], [["(\\d{3})(\\d{7})", "$1 $2", ["6"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[0568]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d)(\\d{4,9})", "$1 $2", ["[2568][1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[12]00|[368]|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[1245]|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "[56]94\\d{6}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[56]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-5]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[1-9]\\d{8}|3[2-9]\\d{7}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], 0, 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[013-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[4-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(8-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "8 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(8-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(8-$1)", 1]], "8", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-489]|3[5-9]|9)|8(?:0[89]|92)", "5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-2]|5[01]|8[0-3]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "596\\d{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}", [10, 11], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"], 0, 1], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 $3 $4", ["1(?:33|5[56]|81)"], 0, 1], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 $3 $4", ["1"], 0, 1]], "01", 0, "0(?:[12]|4[45])|1", 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[047]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}", [7, 8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["78"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|9(?:0[3-9]|[1-9])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[3-7]|8[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|80\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-6])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[2378]\\d|62|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "(?:[1-6]|[7-9]\\d\\d)\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "800\\d{4}|(?:[249]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-8]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|77|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[69]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2679]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3[1-5]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "[1-6]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["6"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:5056(?:[0-35-9]\\d|4[468])|73020\\d)\\d{4}|(?:4722|505[2-57-9]|983[289])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[0149]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "810", "(?:20|33|[5-79]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[478]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[23]"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}"], ["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[35-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[35-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, 0, 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
1609
|
+
function Le(d, e) {
|
|
1610
|
+
var t = Array.prototype.slice.call(e);
|
|
1611
|
+
return t.push(Fe), d.apply(this, t);
|
|
1612
|
+
}
|
|
1613
|
+
function $d(d) {
|
|
1614
|
+
"@babel/helpers - typeof";
|
|
1615
|
+
return $d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1616
|
+
return typeof e;
|
|
1617
|
+
} : function(e) {
|
|
1618
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1619
|
+
}, $d(d);
|
|
1620
|
+
}
|
|
1621
|
+
function Ge(d, e, t) {
|
|
1622
|
+
return Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
|
1623
|
+
}
|
|
1624
|
+
function Ve(d, e) {
|
|
1625
|
+
if (!(d instanceof e))
|
|
1626
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1627
|
+
}
|
|
1628
|
+
function Ue(d, e) {
|
|
1629
|
+
if (typeof e != "function" && e !== null)
|
|
1630
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1631
|
+
d.prototype = Object.create(e && e.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), e && L(d, e);
|
|
1632
|
+
}
|
|
1633
|
+
function Ke(d) {
|
|
1634
|
+
var e = Qd();
|
|
1635
|
+
return function() {
|
|
1636
|
+
var t = G(d), n;
|
|
1637
|
+
if (e) {
|
|
1638
|
+
var r = G(this).constructor;
|
|
1639
|
+
n = Reflect.construct(t, arguments, r);
|
|
1640
|
+
} else
|
|
1641
|
+
n = t.apply(this, arguments);
|
|
1642
|
+
return He(this, n);
|
|
1643
|
+
};
|
|
1644
|
+
}
|
|
1645
|
+
function He(d, e) {
|
|
1646
|
+
if (e && ($d(e) === "object" || typeof e == "function"))
|
|
1647
|
+
return e;
|
|
1648
|
+
if (e !== void 0)
|
|
1649
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1650
|
+
return Jd(d);
|
|
1651
|
+
}
|
|
1652
|
+
function Jd(d) {
|
|
1653
|
+
if (d === void 0)
|
|
1654
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1655
|
+
return d;
|
|
1656
|
+
}
|
|
1657
|
+
function id(d) {
|
|
1658
|
+
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
1659
|
+
return id = function(t) {
|
|
1660
|
+
if (t === null || !We(t))
|
|
1661
|
+
return t;
|
|
1662
|
+
if (typeof t != "function")
|
|
1663
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1664
|
+
if (typeof e < "u") {
|
|
1665
|
+
if (e.has(t))
|
|
1666
|
+
return e.get(t);
|
|
1667
|
+
e.set(t, n);
|
|
1668
|
+
}
|
|
1669
|
+
function n() {
|
|
1670
|
+
return H(t, arguments, G(this).constructor);
|
|
1671
|
+
}
|
|
1672
|
+
return n.prototype = Object.create(t.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), L(n, t);
|
|
1673
|
+
}, id(d);
|
|
1674
|
+
}
|
|
1675
|
+
function H(d, e, t) {
|
|
1676
|
+
return Qd() ? H = Reflect.construct : H = function(n, r, a) {
|
|
1677
|
+
var u = [null];
|
|
1678
|
+
u.push.apply(u, r);
|
|
1679
|
+
var $ = Function.bind.apply(n, u), s = new $();
|
|
1680
|
+
return a && L(s, a.prototype), s;
|
|
1681
|
+
}, H.apply(null, arguments);
|
|
1682
|
+
}
|
|
1683
|
+
function Qd() {
|
|
1684
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
1685
|
+
return !1;
|
|
1686
|
+
if (typeof Proxy == "function")
|
|
1687
|
+
return !0;
|
|
1688
|
+
try {
|
|
1689
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1690
|
+
})), !0;
|
|
1691
|
+
} catch {
|
|
1692
|
+
return !1;
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
function We(d) {
|
|
1696
|
+
return Function.toString.call(d).indexOf("[native code]") !== -1;
|
|
1697
|
+
}
|
|
1698
|
+
function L(d, e) {
|
|
1699
|
+
return L = Object.setPrototypeOf || function(t, n) {
|
|
1700
|
+
return t.__proto__ = n, t;
|
|
1701
|
+
}, L(d, e);
|
|
1702
|
+
}
|
|
1703
|
+
function G(d) {
|
|
1704
|
+
return G = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
|
|
1705
|
+
return e.__proto__ || Object.getPrototypeOf(e);
|
|
1706
|
+
}, G(d);
|
|
1707
|
+
}
|
|
1708
|
+
var S = /* @__PURE__ */ (function(d) {
|
|
1709
|
+
Ue(t, d);
|
|
1710
|
+
var e = Ke(t);
|
|
1711
|
+
function t(n) {
|
|
1712
|
+
var r;
|
|
1713
|
+
return Ve(this, t), r = e.call(this, n), Object.setPrototypeOf(Jd(r), t.prototype), r.name = r.constructor.name, r;
|
|
1714
|
+
}
|
|
1715
|
+
return Ge(t);
|
|
1716
|
+
})(/* @__PURE__ */ id(Error)), fd = 2, ze = 17, Ze = 3, P = "0-90-9٠-٩۰-۹", Ye = "-‐-―−ー-", qe = "//", Je = "..", Qe = " ", Xe = "()()[]\\[\\]", d0 = "~⁓∼~", z = "".concat(Ye).concat(qe).concat(Je).concat(Qe).concat(Xe).concat(d0), pd = "++";
|
|
1717
|
+
function Nd(d, e) {
|
|
1718
|
+
d = d.split("-"), e = e.split("-");
|
|
1719
|
+
for (var t = d[0].split("."), n = e[0].split("."), r = 0; r < 3; r++) {
|
|
1720
|
+
var a = Number(t[r]), u = Number(n[r]);
|
|
1721
|
+
if (a > u)
|
|
1722
|
+
return 1;
|
|
1723
|
+
if (u > a)
|
|
1724
|
+
return -1;
|
|
1725
|
+
if (!isNaN(a) && isNaN(u))
|
|
1726
|
+
return 1;
|
|
1727
|
+
if (isNaN(a) && !isNaN(u))
|
|
1728
|
+
return -1;
|
|
1729
|
+
}
|
|
1730
|
+
return d[1] && e[1] ? d[1] > e[1] ? 1 : d[1] < e[1] ? -1 : 0 : !d[1] && e[1] ? 1 : d[1] && !e[1] ? -1 : 0;
|
|
1731
|
+
}
|
|
1732
|
+
var e0 = {}.constructor;
|
|
1733
|
+
function W(d) {
|
|
1734
|
+
return d != null && d.constructor === e0;
|
|
1735
|
+
}
|
|
1736
|
+
function ud(d) {
|
|
1737
|
+
"@babel/helpers - typeof";
|
|
1738
|
+
return ud = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
1739
|
+
return typeof e;
|
|
1740
|
+
} : function(e) {
|
|
1741
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
1742
|
+
}, ud(d);
|
|
1743
|
+
}
|
|
1744
|
+
function Y(d, e) {
|
|
1745
|
+
if (!(d instanceof e))
|
|
1746
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1747
|
+
}
|
|
1748
|
+
function t0(d, e) {
|
|
1749
|
+
for (var t = 0; t < e.length; t++) {
|
|
1750
|
+
var n = e[t];
|
|
1751
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
function q(d, e, t) {
|
|
1755
|
+
return e && t0(d.prototype, e), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
|
1756
|
+
}
|
|
1757
|
+
var n0 = "1.2.0", r0 = "1.7.35", Id = " ext. ", o0 = /^\d+$/, v = /* @__PURE__ */ (function() {
|
|
1758
|
+
function d(e) {
|
|
1759
|
+
Y(this, d), u0(e), this.metadata = e, Xd.call(this, e);
|
|
1760
|
+
}
|
|
1761
|
+
return q(d, [{
|
|
1762
|
+
key: "getCountries",
|
|
1763
|
+
value: function() {
|
|
1764
|
+
return Object.keys(this.metadata.countries).filter(function(e) {
|
|
1765
|
+
return e !== "001";
|
|
1766
|
+
});
|
|
1767
|
+
}
|
|
1768
|
+
}, {
|
|
1769
|
+
key: "getCountryMetadata",
|
|
1770
|
+
value: function(e) {
|
|
1771
|
+
return this.metadata.countries[e];
|
|
1772
|
+
}
|
|
1773
|
+
}, {
|
|
1774
|
+
key: "nonGeographic",
|
|
1775
|
+
value: function() {
|
|
1776
|
+
if (!(this.v1 || this.v2 || this.v3))
|
|
1777
|
+
return this.metadata.nonGeographic || this.metadata.nonGeographical;
|
|
1778
|
+
}
|
|
1779
|
+
}, {
|
|
1780
|
+
key: "hasCountry",
|
|
1781
|
+
value: function(e) {
|
|
1782
|
+
return this.getCountryMetadata(e) !== void 0;
|
|
1783
|
+
}
|
|
1784
|
+
}, {
|
|
1785
|
+
key: "hasCallingCode",
|
|
1786
|
+
value: function(e) {
|
|
1787
|
+
if (this.getCountryCodesForCallingCode(e))
|
|
1788
|
+
return !0;
|
|
1789
|
+
if (this.nonGeographic()) {
|
|
1790
|
+
if (this.nonGeographic()[e])
|
|
1791
|
+
return !0;
|
|
1792
|
+
} else {
|
|
1793
|
+
var t = this.countryCallingCodes()[e];
|
|
1794
|
+
if (t && t.length === 1 && t[0] === "001")
|
|
1795
|
+
return !0;
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
}, {
|
|
1799
|
+
key: "isNonGeographicCallingCode",
|
|
1800
|
+
value: function(e) {
|
|
1801
|
+
return this.nonGeographic() ? !!this.nonGeographic()[e] : !this.getCountryCodesForCallingCode(e);
|
|
1802
|
+
}
|
|
1803
|
+
// Deprecated.
|
|
1804
|
+
}, {
|
|
1805
|
+
key: "country",
|
|
1806
|
+
value: function(e) {
|
|
1807
|
+
return this.selectNumberingPlan(e);
|
|
1808
|
+
}
|
|
1809
|
+
}, {
|
|
1810
|
+
key: "selectNumberingPlan",
|
|
1811
|
+
value: function(e, t) {
|
|
1812
|
+
if (e && o0.test(e) && (t = e, e = null), e && e !== "001") {
|
|
1813
|
+
if (!this.hasCountry(e))
|
|
1814
|
+
throw new Error("Unknown country: ".concat(e));
|
|
1815
|
+
this.numberingPlan = new xd(this.getCountryMetadata(e), this);
|
|
1816
|
+
} else if (t) {
|
|
1817
|
+
if (!this.hasCallingCode(t))
|
|
1818
|
+
throw new Error("Unknown calling code: ".concat(t));
|
|
1819
|
+
this.numberingPlan = new xd(this.getNumberingPlanMetadata(t), this);
|
|
1820
|
+
} else
|
|
1821
|
+
this.numberingPlan = void 0;
|
|
1822
|
+
return this;
|
|
1823
|
+
}
|
|
1824
|
+
}, {
|
|
1825
|
+
key: "getCountryCodesForCallingCode",
|
|
1826
|
+
value: function(e) {
|
|
1827
|
+
var t = this.countryCallingCodes()[e];
|
|
1828
|
+
if (t)
|
|
1829
|
+
return t.length === 1 && t[0].length === 3 ? void 0 : t;
|
|
1830
|
+
}
|
|
1831
|
+
}, {
|
|
1832
|
+
key: "getCountryCodeForCallingCode",
|
|
1833
|
+
value: function(e) {
|
|
1834
|
+
var t = this.getCountryCodesForCallingCode(e);
|
|
1835
|
+
if (t)
|
|
1836
|
+
return t[0];
|
|
1837
|
+
}
|
|
1838
|
+
}, {
|
|
1839
|
+
key: "getNumberingPlanMetadata",
|
|
1840
|
+
value: function(e) {
|
|
1841
|
+
var t = this.getCountryCodeForCallingCode(e);
|
|
1842
|
+
if (t)
|
|
1843
|
+
return this.getCountryMetadata(t);
|
|
1844
|
+
if (this.nonGeographic()) {
|
|
1845
|
+
var n = this.nonGeographic()[e];
|
|
1846
|
+
if (n)
|
|
1847
|
+
return n;
|
|
1848
|
+
} else {
|
|
1849
|
+
var r = this.countryCallingCodes()[e];
|
|
1850
|
+
if (r && r.length === 1 && r[0] === "001")
|
|
1851
|
+
return this.metadata.countries["001"];
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
// Deprecated.
|
|
1855
|
+
}, {
|
|
1856
|
+
key: "countryCallingCode",
|
|
1857
|
+
value: function() {
|
|
1858
|
+
return this.numberingPlan.callingCode();
|
|
1859
|
+
}
|
|
1860
|
+
// Deprecated.
|
|
1861
|
+
}, {
|
|
1862
|
+
key: "IDDPrefix",
|
|
1863
|
+
value: function() {
|
|
1864
|
+
return this.numberingPlan.IDDPrefix();
|
|
1865
|
+
}
|
|
1866
|
+
// Deprecated.
|
|
1867
|
+
}, {
|
|
1868
|
+
key: "defaultIDDPrefix",
|
|
1869
|
+
value: function() {
|
|
1870
|
+
return this.numberingPlan.defaultIDDPrefix();
|
|
1871
|
+
}
|
|
1872
|
+
// Deprecated.
|
|
1873
|
+
}, {
|
|
1874
|
+
key: "nationalNumberPattern",
|
|
1875
|
+
value: function() {
|
|
1876
|
+
return this.numberingPlan.nationalNumberPattern();
|
|
1877
|
+
}
|
|
1878
|
+
// Deprecated.
|
|
1879
|
+
}, {
|
|
1880
|
+
key: "possibleLengths",
|
|
1881
|
+
value: function() {
|
|
1882
|
+
return this.numberingPlan.possibleLengths();
|
|
1883
|
+
}
|
|
1884
|
+
// Deprecated.
|
|
1885
|
+
}, {
|
|
1886
|
+
key: "formats",
|
|
1887
|
+
value: function() {
|
|
1888
|
+
return this.numberingPlan.formats();
|
|
1889
|
+
}
|
|
1890
|
+
// Deprecated.
|
|
1891
|
+
}, {
|
|
1892
|
+
key: "nationalPrefixForParsing",
|
|
1893
|
+
value: function() {
|
|
1894
|
+
return this.numberingPlan.nationalPrefixForParsing();
|
|
1895
|
+
}
|
|
1896
|
+
// Deprecated.
|
|
1897
|
+
}, {
|
|
1898
|
+
key: "nationalPrefixTransformRule",
|
|
1899
|
+
value: function() {
|
|
1900
|
+
return this.numberingPlan.nationalPrefixTransformRule();
|
|
1901
|
+
}
|
|
1902
|
+
// Deprecated.
|
|
1903
|
+
}, {
|
|
1904
|
+
key: "leadingDigits",
|
|
1905
|
+
value: function() {
|
|
1906
|
+
return this.numberingPlan.leadingDigits();
|
|
1907
|
+
}
|
|
1908
|
+
// Deprecated.
|
|
1909
|
+
}, {
|
|
1910
|
+
key: "hasTypes",
|
|
1911
|
+
value: function() {
|
|
1912
|
+
return this.numberingPlan.hasTypes();
|
|
1913
|
+
}
|
|
1914
|
+
// Deprecated.
|
|
1915
|
+
}, {
|
|
1916
|
+
key: "type",
|
|
1917
|
+
value: function(e) {
|
|
1918
|
+
return this.numberingPlan.type(e);
|
|
1919
|
+
}
|
|
1920
|
+
// Deprecated.
|
|
1921
|
+
}, {
|
|
1922
|
+
key: "ext",
|
|
1923
|
+
value: function() {
|
|
1924
|
+
return this.numberingPlan.ext();
|
|
1925
|
+
}
|
|
1926
|
+
}, {
|
|
1927
|
+
key: "countryCallingCodes",
|
|
1928
|
+
value: function() {
|
|
1929
|
+
return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
|
|
1930
|
+
}
|
|
1931
|
+
// Deprecated.
|
|
1932
|
+
}, {
|
|
1933
|
+
key: "chooseCountryByCountryCallingCode",
|
|
1934
|
+
value: function(e) {
|
|
1935
|
+
return this.selectNumberingPlan(e);
|
|
1936
|
+
}
|
|
1937
|
+
}, {
|
|
1938
|
+
key: "hasSelectedNumberingPlan",
|
|
1939
|
+
value: function() {
|
|
1940
|
+
return this.numberingPlan !== void 0;
|
|
1941
|
+
}
|
|
1942
|
+
}]), d;
|
|
1943
|
+
})(), xd = /* @__PURE__ */ (function() {
|
|
1944
|
+
function d(e, t) {
|
|
1945
|
+
Y(this, d), this.globalMetadataObject = t, this.metadata = e, Xd.call(this, t.metadata);
|
|
1946
|
+
}
|
|
1947
|
+
return q(d, [{
|
|
1948
|
+
key: "callingCode",
|
|
1949
|
+
value: function() {
|
|
1950
|
+
return this.metadata[0];
|
|
1951
|
+
}
|
|
1952
|
+
// Formatting information for regions which share
|
|
1953
|
+
// a country calling code is contained by only one region
|
|
1954
|
+
// for performance reasons. For example, for NANPA region
|
|
1955
|
+
// ("North American Numbering Plan Administration",
|
|
1956
|
+
// which includes USA, Canada, Cayman Islands, Bahamas, etc)
|
|
1957
|
+
// it will be contained in the metadata for `US`.
|
|
1958
|
+
}, {
|
|
1959
|
+
key: "getDefaultCountryMetadataForRegion",
|
|
1960
|
+
value: function() {
|
|
1961
|
+
return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
|
|
1962
|
+
}
|
|
1963
|
+
// Is always present.
|
|
1964
|
+
}, {
|
|
1965
|
+
key: "IDDPrefix",
|
|
1966
|
+
value: function() {
|
|
1967
|
+
if (!(this.v1 || this.v2))
|
|
1968
|
+
return this.metadata[1];
|
|
1969
|
+
}
|
|
1970
|
+
// Is only present when a country supports multiple IDD prefixes.
|
|
1971
|
+
}, {
|
|
1972
|
+
key: "defaultIDDPrefix",
|
|
1973
|
+
value: function() {
|
|
1974
|
+
if (!(this.v1 || this.v2))
|
|
1975
|
+
return this.metadata[12];
|
|
1976
|
+
}
|
|
1977
|
+
}, {
|
|
1978
|
+
key: "nationalNumberPattern",
|
|
1979
|
+
value: function() {
|
|
1980
|
+
return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
|
|
1981
|
+
}
|
|
1982
|
+
// "possible length" data is always present in Google's metadata.
|
|
1983
|
+
}, {
|
|
1984
|
+
key: "possibleLengths",
|
|
1985
|
+
value: function() {
|
|
1986
|
+
if (!this.v1)
|
|
1987
|
+
return this.metadata[this.v2 ? 2 : 3];
|
|
1988
|
+
}
|
|
1989
|
+
}, {
|
|
1990
|
+
key: "_getFormats",
|
|
1991
|
+
value: function(e) {
|
|
1992
|
+
return e[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
1993
|
+
}
|
|
1994
|
+
// For countries of the same region (e.g. NANPA)
|
|
1995
|
+
// formats are all stored in the "main" country for that region.
|
|
1996
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
1997
|
+
}, {
|
|
1998
|
+
key: "formats",
|
|
1999
|
+
value: function() {
|
|
2000
|
+
var e = this, t = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
2001
|
+
return t.map(function(n) {
|
|
2002
|
+
return new a0(n, e);
|
|
2003
|
+
});
|
|
2004
|
+
}
|
|
2005
|
+
}, {
|
|
2006
|
+
key: "nationalPrefix",
|
|
2007
|
+
value: function() {
|
|
2008
|
+
return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
|
|
2009
|
+
}
|
|
2010
|
+
}, {
|
|
2011
|
+
key: "_getNationalPrefixFormattingRule",
|
|
2012
|
+
value: function(e) {
|
|
2013
|
+
return e[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
2014
|
+
}
|
|
2015
|
+
// For countries of the same region (e.g. NANPA)
|
|
2016
|
+
// national prefix formatting rule is stored in the "main" country for that region.
|
|
2017
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
2018
|
+
}, {
|
|
2019
|
+
key: "nationalPrefixFormattingRule",
|
|
2020
|
+
value: function() {
|
|
2021
|
+
return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
|
|
2022
|
+
}
|
|
2023
|
+
}, {
|
|
2024
|
+
key: "_nationalPrefixForParsing",
|
|
2025
|
+
value: function() {
|
|
2026
|
+
return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
|
|
2027
|
+
}
|
|
2028
|
+
}, {
|
|
2029
|
+
key: "nationalPrefixForParsing",
|
|
2030
|
+
value: function() {
|
|
2031
|
+
return this._nationalPrefixForParsing() || this.nationalPrefix();
|
|
2032
|
+
}
|
|
2033
|
+
}, {
|
|
2034
|
+
key: "nationalPrefixTransformRule",
|
|
2035
|
+
value: function() {
|
|
2036
|
+
return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
|
|
2037
|
+
}
|
|
2038
|
+
}, {
|
|
2039
|
+
key: "_getNationalPrefixIsOptionalWhenFormatting",
|
|
2040
|
+
value: function() {
|
|
2041
|
+
return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
|
|
2042
|
+
}
|
|
2043
|
+
// For countries of the same region (e.g. NANPA)
|
|
2044
|
+
// "national prefix is optional when formatting" flag is
|
|
2045
|
+
// stored in the "main" country for that region.
|
|
2046
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
2047
|
+
}, {
|
|
2048
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
2049
|
+
value: function() {
|
|
2050
|
+
return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
|
|
2051
|
+
}
|
|
2052
|
+
}, {
|
|
2053
|
+
key: "leadingDigits",
|
|
2054
|
+
value: function() {
|
|
2055
|
+
return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
|
|
2056
|
+
}
|
|
2057
|
+
}, {
|
|
2058
|
+
key: "types",
|
|
2059
|
+
value: function() {
|
|
2060
|
+
return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
|
|
2061
|
+
}
|
|
2062
|
+
}, {
|
|
2063
|
+
key: "hasTypes",
|
|
2064
|
+
value: function() {
|
|
2065
|
+
return this.types() && this.types().length === 0 ? !1 : !!this.types();
|
|
2066
|
+
}
|
|
2067
|
+
}, {
|
|
2068
|
+
key: "type",
|
|
2069
|
+
value: function(e) {
|
|
2070
|
+
if (this.hasTypes() && Md(this.types(), e))
|
|
2071
|
+
return new i0(Md(this.types(), e), this);
|
|
2072
|
+
}
|
|
2073
|
+
}, {
|
|
2074
|
+
key: "ext",
|
|
2075
|
+
value: function() {
|
|
2076
|
+
return this.v1 || this.v2 ? Id : this.metadata[13] || Id;
|
|
2077
|
+
}
|
|
2078
|
+
}]), d;
|
|
2079
|
+
})(), a0 = /* @__PURE__ */ (function() {
|
|
2080
|
+
function d(e, t) {
|
|
2081
|
+
Y(this, d), this._format = e, this.metadata = t;
|
|
2082
|
+
}
|
|
2083
|
+
return q(d, [{
|
|
2084
|
+
key: "pattern",
|
|
2085
|
+
value: function() {
|
|
2086
|
+
return this._format[0];
|
|
2087
|
+
}
|
|
2088
|
+
}, {
|
|
2089
|
+
key: "format",
|
|
2090
|
+
value: function() {
|
|
2091
|
+
return this._format[1];
|
|
2092
|
+
}
|
|
2093
|
+
}, {
|
|
2094
|
+
key: "leadingDigitsPatterns",
|
|
2095
|
+
value: function() {
|
|
2096
|
+
return this._format[2] || [];
|
|
2097
|
+
}
|
|
2098
|
+
}, {
|
|
2099
|
+
key: "nationalPrefixFormattingRule",
|
|
2100
|
+
value: function() {
|
|
2101
|
+
return this._format[3] || this.metadata.nationalPrefixFormattingRule();
|
|
2102
|
+
}
|
|
2103
|
+
}, {
|
|
2104
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
2105
|
+
value: function() {
|
|
2106
|
+
return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
2107
|
+
}
|
|
2108
|
+
}, {
|
|
2109
|
+
key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
|
|
2110
|
+
value: function() {
|
|
2111
|
+
return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
2112
|
+
}
|
|
2113
|
+
// Checks whether national prefix formatting rule contains national prefix.
|
|
2114
|
+
}, {
|
|
2115
|
+
key: "usesNationalPrefix",
|
|
2116
|
+
value: function() {
|
|
2117
|
+
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
2118
|
+
!$0.test(this.nationalPrefixFormattingRule()));
|
|
2119
|
+
}
|
|
2120
|
+
}, {
|
|
2121
|
+
key: "internationalFormat",
|
|
2122
|
+
value: function() {
|
|
2123
|
+
return this._format[5] || this.format();
|
|
2124
|
+
}
|
|
2125
|
+
}]), d;
|
|
2126
|
+
})(), $0 = /^\(?\$1\)?$/, i0 = /* @__PURE__ */ (function() {
|
|
2127
|
+
function d(e, t) {
|
|
2128
|
+
Y(this, d), this.type = e, this.metadata = t;
|
|
2129
|
+
}
|
|
2130
|
+
return q(d, [{
|
|
2131
|
+
key: "pattern",
|
|
2132
|
+
value: function() {
|
|
2133
|
+
return this.metadata.v1 ? this.type : this.type[0];
|
|
2134
|
+
}
|
|
2135
|
+
}, {
|
|
2136
|
+
key: "possibleLengths",
|
|
2137
|
+
value: function() {
|
|
2138
|
+
if (!this.metadata.v1)
|
|
2139
|
+
return this.type[1] || this.metadata.possibleLengths();
|
|
2140
|
+
}
|
|
2141
|
+
}]), d;
|
|
2142
|
+
})();
|
|
2143
|
+
function Md(d, e) {
|
|
2144
|
+
switch (e) {
|
|
2145
|
+
case "FIXED_LINE":
|
|
2146
|
+
return d[0];
|
|
2147
|
+
case "MOBILE":
|
|
2148
|
+
return d[1];
|
|
2149
|
+
case "TOLL_FREE":
|
|
2150
|
+
return d[2];
|
|
2151
|
+
case "PREMIUM_RATE":
|
|
2152
|
+
return d[3];
|
|
2153
|
+
case "PERSONAL_NUMBER":
|
|
2154
|
+
return d[4];
|
|
2155
|
+
case "VOICEMAIL":
|
|
2156
|
+
return d[5];
|
|
2157
|
+
case "UAN":
|
|
2158
|
+
return d[6];
|
|
2159
|
+
case "PAGER":
|
|
2160
|
+
return d[7];
|
|
2161
|
+
case "VOIP":
|
|
2162
|
+
return d[8];
|
|
2163
|
+
case "SHARED_COST":
|
|
2164
|
+
return d[9];
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
function u0(d) {
|
|
2168
|
+
if (!d)
|
|
2169
|
+
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
2170
|
+
if (!W(d) || !W(d.countries))
|
|
2171
|
+
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(W(d) ? "an object of shape: { " + Object.keys(d).join(", ") + " }" : "a " + l0(d) + ": " + d, "."));
|
|
2172
|
+
}
|
|
2173
|
+
var l0 = function(d) {
|
|
2174
|
+
return ud(d);
|
|
2175
|
+
};
|
|
2176
|
+
function hd(d, e) {
|
|
2177
|
+
if (e = new v(e), e.hasCountry(d))
|
|
2178
|
+
return e.country(d).countryCallingCode();
|
|
2179
|
+
throw new Error("Unknown country: ".concat(d));
|
|
2180
|
+
}
|
|
2181
|
+
function s0(d, e) {
|
|
2182
|
+
return e.countries.hasOwnProperty(d);
|
|
2183
|
+
}
|
|
2184
|
+
function Xd(d) {
|
|
2185
|
+
var e = d.version;
|
|
2186
|
+
typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? Nd(e, n0) === -1 ? this.v2 = !0 : Nd(e, r0) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
2187
|
+
}
|
|
2188
|
+
var c0 = ";ext=", k = function(d) {
|
|
2189
|
+
return "([".concat(P, "]{1,").concat(d, "})");
|
|
2190
|
+
};
|
|
2191
|
+
function de(d) {
|
|
2192
|
+
var e = "20", t = "15", n = "9", r = "6", a = "[ \\t,]*", u = "[:\\..]?[ \\t,-]*", $ = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", o = "(?:[xx##~~]|int|int)", p = "[- ]+", b = "[ \\t]*", O = "(?:,{2}|;)", y = c0 + k(e), m = a + s + u + k(e) + $, J = a + o + u + k(n) + $, Q = p + k(r) + "#", X = b + O + u + k(t) + $, E = b + "(?:,)+" + u + k(n) + $;
|
|
2193
|
+
return y + "|" + m + "|" + J + "|" + Q + "|" + X + "|" + E;
|
|
2194
|
+
}
|
|
2195
|
+
var f0 = "[" + P + "]{" + fd + "}", p0 = "[" + pd + "]{0,1}(?:[" + z + "]*[" + P + "]){3,}[" + z + P + "]*", h0 = new RegExp("^[" + pd + "]{0,1}(?:[" + z + "]*[" + P + "]){1,2}$", "i"), y0 = p0 + // Phone number extensions
|
|
2196
|
+
"(?:" + de() + ")?", m0 = new RegExp(
|
|
2197
|
+
// Either a short two-digit-only phone number
|
|
2198
|
+
"^" + f0 + "$|^" + y0 + "$",
|
|
2199
|
+
"i"
|
|
2200
|
+
);
|
|
2201
|
+
function g0(d) {
|
|
2202
|
+
return d.length >= fd && m0.test(d);
|
|
2203
|
+
}
|
|
2204
|
+
function v0(d) {
|
|
2205
|
+
return h0.test(d);
|
|
2206
|
+
}
|
|
2207
|
+
var Td = new RegExp("(?:" + de() + ")$", "i");
|
|
2208
|
+
function b0(d) {
|
|
2209
|
+
var e = d.search(Td);
|
|
2210
|
+
if (e < 0)
|
|
2211
|
+
return {};
|
|
2212
|
+
for (var t = d.slice(0, e), n = d.match(Td), r = 1; r < n.length; ) {
|
|
2213
|
+
if (n[r])
|
|
2214
|
+
return {
|
|
2215
|
+
number: t,
|
|
2216
|
+
ext: n[r]
|
|
2217
|
+
};
|
|
2218
|
+
r++;
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
var C0 = {
|
|
2222
|
+
0: "0",
|
|
2223
|
+
1: "1",
|
|
2224
|
+
2: "2",
|
|
2225
|
+
3: "3",
|
|
2226
|
+
4: "4",
|
|
2227
|
+
5: "5",
|
|
2228
|
+
6: "6",
|
|
2229
|
+
7: "7",
|
|
2230
|
+
8: "8",
|
|
2231
|
+
9: "9",
|
|
2232
|
+
"0": "0",
|
|
2233
|
+
// Fullwidth digit 0
|
|
2234
|
+
"1": "1",
|
|
2235
|
+
// Fullwidth digit 1
|
|
2236
|
+
"2": "2",
|
|
2237
|
+
// Fullwidth digit 2
|
|
2238
|
+
"3": "3",
|
|
2239
|
+
// Fullwidth digit 3
|
|
2240
|
+
"4": "4",
|
|
2241
|
+
// Fullwidth digit 4
|
|
2242
|
+
"5": "5",
|
|
2243
|
+
// Fullwidth digit 5
|
|
2244
|
+
"6": "6",
|
|
2245
|
+
// Fullwidth digit 6
|
|
2246
|
+
"7": "7",
|
|
2247
|
+
// Fullwidth digit 7
|
|
2248
|
+
"8": "8",
|
|
2249
|
+
// Fullwidth digit 8
|
|
2250
|
+
"9": "9",
|
|
2251
|
+
// Fullwidth digit 9
|
|
2252
|
+
"٠": "0",
|
|
2253
|
+
// Arabic-indic digit 0
|
|
2254
|
+
"١": "1",
|
|
2255
|
+
// Arabic-indic digit 1
|
|
2256
|
+
"٢": "2",
|
|
2257
|
+
// Arabic-indic digit 2
|
|
2258
|
+
"٣": "3",
|
|
2259
|
+
// Arabic-indic digit 3
|
|
2260
|
+
"٤": "4",
|
|
2261
|
+
// Arabic-indic digit 4
|
|
2262
|
+
"٥": "5",
|
|
2263
|
+
// Arabic-indic digit 5
|
|
2264
|
+
"٦": "6",
|
|
2265
|
+
// Arabic-indic digit 6
|
|
2266
|
+
"٧": "7",
|
|
2267
|
+
// Arabic-indic digit 7
|
|
2268
|
+
"٨": "8",
|
|
2269
|
+
// Arabic-indic digit 8
|
|
2270
|
+
"٩": "9",
|
|
2271
|
+
// Arabic-indic digit 9
|
|
2272
|
+
"۰": "0",
|
|
2273
|
+
// Eastern-Arabic digit 0
|
|
2274
|
+
"۱": "1",
|
|
2275
|
+
// Eastern-Arabic digit 1
|
|
2276
|
+
"۲": "2",
|
|
2277
|
+
// Eastern-Arabic digit 2
|
|
2278
|
+
"۳": "3",
|
|
2279
|
+
// Eastern-Arabic digit 3
|
|
2280
|
+
"۴": "4",
|
|
2281
|
+
// Eastern-Arabic digit 4
|
|
2282
|
+
"۵": "5",
|
|
2283
|
+
// Eastern-Arabic digit 5
|
|
2284
|
+
"۶": "6",
|
|
2285
|
+
// Eastern-Arabic digit 6
|
|
2286
|
+
"۷": "7",
|
|
2287
|
+
// Eastern-Arabic digit 7
|
|
2288
|
+
"۸": "8",
|
|
2289
|
+
// Eastern-Arabic digit 8
|
|
2290
|
+
"۹": "9"
|
|
2291
|
+
// Eastern-Arabic digit 9
|
|
2292
|
+
};
|
|
2293
|
+
function O0(d) {
|
|
2294
|
+
return C0[d];
|
|
2295
|
+
}
|
|
2296
|
+
function w0(d, e) {
|
|
2297
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
2298
|
+
if (t)
|
|
2299
|
+
return (t = t.call(d)).next.bind(t);
|
|
2300
|
+
if (Array.isArray(d) || (t = P0(d)) || e) {
|
|
2301
|
+
t && (d = t);
|
|
2302
|
+
var n = 0;
|
|
2303
|
+
return function() {
|
|
2304
|
+
return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
|
|
2305
|
+
};
|
|
2306
|
+
}
|
|
2307
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2308
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2309
|
+
}
|
|
2310
|
+
function P0(d, e) {
|
|
2311
|
+
if (d) {
|
|
2312
|
+
if (typeof d == "string")
|
|
2313
|
+
return Ed(d, e);
|
|
2314
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
|
2315
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
|
2316
|
+
return Array.from(d);
|
|
2317
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
2318
|
+
return Ed(d, e);
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
function Ed(d, e) {
|
|
2322
|
+
(e == null || e > d.length) && (e = d.length);
|
|
2323
|
+
for (var t = 0, n = new Array(e); t < e; t++)
|
|
2324
|
+
n[t] = d[t];
|
|
2325
|
+
return n;
|
|
2326
|
+
}
|
|
2327
|
+
function kd(d) {
|
|
2328
|
+
for (var e = "", t = w0(d.split("")), n; !(n = t()).done; ) {
|
|
2329
|
+
var r = n.value;
|
|
2330
|
+
e += S0(r, e) || "";
|
|
2331
|
+
}
|
|
2332
|
+
return e;
|
|
2333
|
+
}
|
|
2334
|
+
function S0(d, e) {
|
|
2335
|
+
return d === "+" ? e ? void 0 : "+" : O0(d);
|
|
2336
|
+
}
|
|
2337
|
+
function yd(d, e) {
|
|
2338
|
+
return N0(d, void 0, e);
|
|
2339
|
+
}
|
|
2340
|
+
function N0(d, e, t) {
|
|
2341
|
+
var n = t.type(e), r = n && n.possibleLengths() || t.possibleLengths();
|
|
2342
|
+
if (!r)
|
|
2343
|
+
return "IS_POSSIBLE";
|
|
2344
|
+
var a = d.length, u = r[0];
|
|
2345
|
+
return u === a ? "IS_POSSIBLE" : u > a ? "TOO_SHORT" : r[r.length - 1] < a ? "TOO_LONG" : r.indexOf(a, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
2346
|
+
}
|
|
2347
|
+
function I0(d, e, t) {
|
|
2348
|
+
if (e === void 0 && (e = {}), t = new v(t), e.v2) {
|
|
2349
|
+
if (!d.countryCallingCode)
|
|
2350
|
+
throw new Error("Invalid phone number object passed");
|
|
2351
|
+
t.selectNumberingPlan(d.countryCallingCode);
|
|
2352
|
+
} else {
|
|
2353
|
+
if (!d.phone)
|
|
2354
|
+
return !1;
|
|
2355
|
+
if (d.country) {
|
|
2356
|
+
if (!t.hasCountry(d.country))
|
|
2357
|
+
throw new Error("Unknown country: ".concat(d.country));
|
|
2358
|
+
t.country(d.country);
|
|
2359
|
+
} else {
|
|
2360
|
+
if (!d.countryCallingCode)
|
|
2361
|
+
throw new Error("Invalid phone number object passed");
|
|
2362
|
+
t.selectNumberingPlan(d.countryCallingCode);
|
|
2363
|
+
}
|
|
2364
|
+
}
|
|
2365
|
+
if (t.possibleLengths())
|
|
2366
|
+
return ee(d.phone || d.nationalNumber, t);
|
|
2367
|
+
if (d.countryCallingCode && t.isNonGeographicCallingCode(d.countryCallingCode))
|
|
2368
|
+
return !0;
|
|
2369
|
+
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
2370
|
+
}
|
|
2371
|
+
function ee(d, e) {
|
|
2372
|
+
switch (yd(d, e)) {
|
|
2373
|
+
case "IS_POSSIBLE":
|
|
2374
|
+
return !0;
|
|
2375
|
+
default:
|
|
2376
|
+
return !1;
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
function N(d, e) {
|
|
2380
|
+
return d = d || "", new RegExp("^(?:" + e + ")$").test(d);
|
|
2381
|
+
}
|
|
2382
|
+
function x0(d, e) {
|
|
2383
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
2384
|
+
if (t)
|
|
2385
|
+
return (t = t.call(d)).next.bind(t);
|
|
2386
|
+
if (Array.isArray(d) || (t = M0(d)) || e) {
|
|
2387
|
+
t && (d = t);
|
|
2388
|
+
var n = 0;
|
|
2389
|
+
return function() {
|
|
2390
|
+
return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
|
|
2391
|
+
};
|
|
2392
|
+
}
|
|
2393
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2394
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2395
|
+
}
|
|
2396
|
+
function M0(d, e) {
|
|
2397
|
+
if (d) {
|
|
2398
|
+
if (typeof d == "string")
|
|
2399
|
+
return Dd(d, e);
|
|
2400
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
|
2401
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
|
2402
|
+
return Array.from(d);
|
|
2403
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
2404
|
+
return Dd(d, e);
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
function Dd(d, e) {
|
|
2408
|
+
(e == null || e > d.length) && (e = d.length);
|
|
2409
|
+
for (var t = 0, n = new Array(e); t < e; t++)
|
|
2410
|
+
n[t] = d[t];
|
|
2411
|
+
return n;
|
|
2412
|
+
}
|
|
2413
|
+
var T0 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
2414
|
+
function md(d, e, t) {
|
|
2415
|
+
if (e = e || {}, !(!d.country && !d.countryCallingCode)) {
|
|
2416
|
+
t = new v(t), t.selectNumberingPlan(d.country, d.countryCallingCode);
|
|
2417
|
+
var n = e.v2 ? d.nationalNumber : d.phone;
|
|
2418
|
+
if (N(n, t.nationalNumberPattern())) {
|
|
2419
|
+
if (rd(n, "FIXED_LINE", t))
|
|
2420
|
+
return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || rd(n, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
2421
|
+
for (var r = x0(T0), a; !(a = r()).done; ) {
|
|
2422
|
+
var u = a.value;
|
|
2423
|
+
if (rd(n, u, t))
|
|
2424
|
+
return u;
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
function rd(d, e, t) {
|
|
2430
|
+
return e = t.type(e), !e || !e.pattern() || e.possibleLengths() && e.possibleLengths().indexOf(d.length) < 0 ? !1 : N(d, e.pattern());
|
|
2431
|
+
}
|
|
2432
|
+
function E0(d, e, t) {
|
|
2433
|
+
if (e = e || {}, t = new v(t), t.selectNumberingPlan(d.country, d.countryCallingCode), t.hasTypes())
|
|
2434
|
+
return md(d, e, t.metadata) !== void 0;
|
|
2435
|
+
var n = e.v2 ? d.nationalNumber : d.phone;
|
|
2436
|
+
return N(n, t.nationalNumberPattern());
|
|
2437
|
+
}
|
|
2438
|
+
function k0(d, e, t) {
|
|
2439
|
+
var n = new v(t), r = n.getCountryCodesForCallingCode(d);
|
|
2440
|
+
return r ? r.filter(function(a) {
|
|
2441
|
+
return D0(e, a, t);
|
|
2442
|
+
}) : [];
|
|
2443
|
+
}
|
|
2444
|
+
function D0(d, e, t) {
|
|
2445
|
+
var n = new v(t);
|
|
2446
|
+
return n.selectNumberingPlan(e), n.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
|
|
2447
|
+
}
|
|
2448
|
+
function A0(d) {
|
|
2449
|
+
return d.replace(new RegExp("[".concat(z, "]+"), "g"), " ").trim();
|
|
2450
|
+
}
|
|
2451
|
+
var R0 = /(\$\d)/;
|
|
2452
|
+
function _0(d, e, t) {
|
|
2453
|
+
var n = t.useInternationalFormat, r = t.withNationalPrefix, a = d.replace(new RegExp(e.pattern()), n ? e.internationalFormat() : (
|
|
2454
|
+
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
2455
|
+
// because that one is only used when formatting phone numbers
|
|
2456
|
+
// for dialing from a mobile phone, and this is not a dialing library.
|
|
2457
|
+
// carrierCode && format.domesticCarrierCodeFormattingRule()
|
|
2458
|
+
// // First, replace the $CC in the formatting rule with the desired carrier code.
|
|
2459
|
+
// // Then, replace the $FG in the formatting rule with the first group
|
|
2460
|
+
// // and the carrier code combined in the appropriate way.
|
|
2461
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
|
|
2462
|
+
// : (
|
|
2463
|
+
// withNationalPrefix && format.nationalPrefixFormattingRule()
|
|
2464
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
|
2465
|
+
// : format.format()
|
|
2466
|
+
// )
|
|
2467
|
+
r && e.nationalPrefixFormattingRule() ? e.format().replace(R0, e.nationalPrefixFormattingRule()) : e.format()
|
|
2468
|
+
));
|
|
2469
|
+
return n ? A0(a) : a;
|
|
2470
|
+
}
|
|
2471
|
+
var B0 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
2472
|
+
function j0(d, e, t) {
|
|
2473
|
+
var n = new v(t);
|
|
2474
|
+
if (n.selectNumberingPlan(d, e), n.defaultIDDPrefix())
|
|
2475
|
+
return n.defaultIDDPrefix();
|
|
2476
|
+
if (B0.test(n.IDDPrefix()))
|
|
2477
|
+
return n.IDDPrefix();
|
|
2478
|
+
}
|
|
2479
|
+
function F0(d) {
|
|
2480
|
+
var e = d.number, t = d.ext;
|
|
2481
|
+
if (!e)
|
|
2482
|
+
return "";
|
|
2483
|
+
if (e[0] !== "+")
|
|
2484
|
+
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
2485
|
+
return "tel:".concat(e).concat(t ? ";ext=" + t : "");
|
|
2486
|
+
}
|
|
2487
|
+
function L0(d, e) {
|
|
2488
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
2489
|
+
if (t)
|
|
2490
|
+
return (t = t.call(d)).next.bind(t);
|
|
2491
|
+
if (Array.isArray(d) || (t = G0(d)) || e) {
|
|
2492
|
+
t && (d = t);
|
|
2493
|
+
var n = 0;
|
|
2494
|
+
return function() {
|
|
2495
|
+
return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
|
|
2496
|
+
};
|
|
2497
|
+
}
|
|
2498
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2499
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2500
|
+
}
|
|
2501
|
+
function G0(d, e) {
|
|
2502
|
+
if (d) {
|
|
2503
|
+
if (typeof d == "string")
|
|
2504
|
+
return Ad(d, e);
|
|
2505
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
|
2506
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
|
2507
|
+
return Array.from(d);
|
|
2508
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
2509
|
+
return Ad(d, e);
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
function Ad(d, e) {
|
|
2513
|
+
(e == null || e > d.length) && (e = d.length);
|
|
2514
|
+
for (var t = 0, n = new Array(e); t < e; t++)
|
|
2515
|
+
n[t] = d[t];
|
|
2516
|
+
return n;
|
|
2517
|
+
}
|
|
2518
|
+
function Rd(d, e) {
|
|
2519
|
+
var t = Object.keys(d);
|
|
2520
|
+
if (Object.getOwnPropertySymbols) {
|
|
2521
|
+
var n = Object.getOwnPropertySymbols(d);
|
|
2522
|
+
e && (n = n.filter(function(r) {
|
|
2523
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
|
2524
|
+
})), t.push.apply(t, n);
|
|
2525
|
+
}
|
|
2526
|
+
return t;
|
|
2527
|
+
}
|
|
2528
|
+
function _d(d) {
|
|
2529
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
2530
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
2531
|
+
e % 2 ? Rd(Object(t), !0).forEach(function(n) {
|
|
2532
|
+
V0(d, n, t[n]);
|
|
2533
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Rd(Object(t)).forEach(function(n) {
|
|
2534
|
+
Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(t, n));
|
|
2535
|
+
});
|
|
2536
|
+
}
|
|
2537
|
+
return d;
|
|
2538
|
+
}
|
|
2539
|
+
function V0(d, e, t) {
|
|
2540
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
|
2541
|
+
}
|
|
2542
|
+
var Bd = {
|
|
2543
|
+
formatExtension: function(d, e, t) {
|
|
2544
|
+
return "".concat(d).concat(t.ext()).concat(e);
|
|
2545
|
+
}
|
|
2546
|
+
};
|
|
2547
|
+
function U0(d, e, t, n) {
|
|
2548
|
+
if (t ? t = _d(_d({}, Bd), t) : t = Bd, n = new v(n), d.country && d.country !== "001") {
|
|
2549
|
+
if (!n.hasCountry(d.country))
|
|
2550
|
+
throw new Error("Unknown country: ".concat(d.country));
|
|
2551
|
+
n.country(d.country);
|
|
2552
|
+
} else if (d.countryCallingCode)
|
|
2553
|
+
n.selectNumberingPlan(d.countryCallingCode);
|
|
2554
|
+
else
|
|
2555
|
+
return d.phone || "";
|
|
2556
|
+
var r = n.countryCallingCode(), a = t.v2 ? d.nationalNumber : d.phone, u;
|
|
2557
|
+
switch (e) {
|
|
2558
|
+
case "NATIONAL":
|
|
2559
|
+
return a ? (u = Z(a, d.carrierCode, "NATIONAL", n, t), od(u, d.ext, n, t.formatExtension)) : "";
|
|
2560
|
+
case "INTERNATIONAL":
|
|
2561
|
+
return a ? (u = Z(a, null, "INTERNATIONAL", n, t), u = "+".concat(r, " ").concat(u), od(u, d.ext, n, t.formatExtension)) : "+".concat(r);
|
|
2562
|
+
case "E.164":
|
|
2563
|
+
return "+".concat(r).concat(a);
|
|
2564
|
+
case "RFC3966":
|
|
2565
|
+
return F0({
|
|
2566
|
+
number: "+".concat(r).concat(a),
|
|
2567
|
+
ext: d.ext
|
|
2568
|
+
});
|
|
2569
|
+
case "IDD":
|
|
2570
|
+
if (!t.fromCountry)
|
|
2571
|
+
return;
|
|
2572
|
+
var $ = H0(a, d.carrierCode, r, t.fromCountry, n);
|
|
2573
|
+
return od($, d.ext, n, t.formatExtension);
|
|
2574
|
+
default:
|
|
2575
|
+
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e, '"'));
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
function Z(d, e, t, n, r) {
|
|
2579
|
+
var a = K0(n.formats(), d);
|
|
2580
|
+
return a ? _0(d, a, {
|
|
2581
|
+
useInternationalFormat: t === "INTERNATIONAL",
|
|
2582
|
+
withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && r && r.nationalPrefix === !1)
|
|
2583
|
+
}) : d;
|
|
2584
|
+
}
|
|
2585
|
+
function K0(d, e) {
|
|
2586
|
+
for (var t = L0(d), n; !(n = t()).done; ) {
|
|
2587
|
+
var r = n.value;
|
|
2588
|
+
if (r.leadingDigitsPatterns().length > 0) {
|
|
2589
|
+
var a = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
|
|
2590
|
+
if (e.search(a) !== 0)
|
|
2591
|
+
continue;
|
|
2592
|
+
}
|
|
2593
|
+
if (N(e, r.pattern()))
|
|
2594
|
+
return r;
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
function od(d, e, t, n) {
|
|
2598
|
+
return e ? n(d, e, t) : d;
|
|
2599
|
+
}
|
|
2600
|
+
function H0(d, e, t, n, r) {
|
|
2601
|
+
var a = hd(n, r.metadata);
|
|
2602
|
+
if (a === t) {
|
|
2603
|
+
var u = Z(d, e, "NATIONAL", r);
|
|
2604
|
+
return t === "1" ? t + " " + u : u;
|
|
2605
|
+
}
|
|
2606
|
+
var $ = j0(n, void 0, r.metadata);
|
|
2607
|
+
if ($)
|
|
2608
|
+
return "".concat($, " ").concat(t, " ").concat(Z(d, null, "INTERNATIONAL", r));
|
|
2609
|
+
}
|
|
2610
|
+
function jd(d, e) {
|
|
2611
|
+
var t = Object.keys(d);
|
|
2612
|
+
if (Object.getOwnPropertySymbols) {
|
|
2613
|
+
var n = Object.getOwnPropertySymbols(d);
|
|
2614
|
+
e && (n = n.filter(function(r) {
|
|
2615
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
|
2616
|
+
})), t.push.apply(t, n);
|
|
2617
|
+
}
|
|
2618
|
+
return t;
|
|
2619
|
+
}
|
|
2620
|
+
function Fd(d) {
|
|
2621
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
2622
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
2623
|
+
e % 2 ? jd(Object(t), !0).forEach(function(n) {
|
|
2624
|
+
W0(d, n, t[n]);
|
|
2625
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : jd(Object(t)).forEach(function(n) {
|
|
2626
|
+
Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(t, n));
|
|
2627
|
+
});
|
|
2628
|
+
}
|
|
2629
|
+
return d;
|
|
2630
|
+
}
|
|
2631
|
+
function W0(d, e, t) {
|
|
2632
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
|
2633
|
+
}
|
|
2634
|
+
function z0(d, e) {
|
|
2635
|
+
if (!(d instanceof e))
|
|
2636
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2637
|
+
}
|
|
2638
|
+
function Z0(d, e) {
|
|
2639
|
+
for (var t = 0; t < e.length; t++) {
|
|
2640
|
+
var n = e[t];
|
|
2641
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
function Y0(d, e, t) {
|
|
2645
|
+
return e && Z0(d.prototype, e), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
|
2646
|
+
}
|
|
2647
|
+
var q0 = /* @__PURE__ */ (function() {
|
|
2648
|
+
function d(e, t, n) {
|
|
2649
|
+
if (z0(this, d), !e)
|
|
2650
|
+
throw new TypeError("`country` or `countryCallingCode` not passed");
|
|
2651
|
+
if (!t)
|
|
2652
|
+
throw new TypeError("`nationalNumber` not passed");
|
|
2653
|
+
if (!n)
|
|
2654
|
+
throw new TypeError("`metadata` not passed");
|
|
2655
|
+
var r = Q0(e, n), a = r.country, u = r.countryCallingCode;
|
|
2656
|
+
this.country = a, this.countryCallingCode = u, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
2657
|
+
return n;
|
|
2658
|
+
};
|
|
2659
|
+
}
|
|
2660
|
+
return Y0(d, [{
|
|
2661
|
+
key: "setExt",
|
|
2662
|
+
value: function(e) {
|
|
2663
|
+
this.ext = e;
|
|
2664
|
+
}
|
|
2665
|
+
}, {
|
|
2666
|
+
key: "getPossibleCountries",
|
|
2667
|
+
value: function() {
|
|
2668
|
+
return this.country ? [this.country] : k0(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
2669
|
+
}
|
|
2670
|
+
}, {
|
|
2671
|
+
key: "isPossible",
|
|
2672
|
+
value: function() {
|
|
2673
|
+
return I0(this, {
|
|
2674
|
+
v2: !0
|
|
2675
|
+
}, this.getMetadata());
|
|
2676
|
+
}
|
|
2677
|
+
}, {
|
|
2678
|
+
key: "isValid",
|
|
2679
|
+
value: function() {
|
|
2680
|
+
return E0(this, {
|
|
2681
|
+
v2: !0
|
|
2682
|
+
}, this.getMetadata());
|
|
2683
|
+
}
|
|
2684
|
+
}, {
|
|
2685
|
+
key: "isNonGeographic",
|
|
2686
|
+
value: function() {
|
|
2687
|
+
var e = new v(this.getMetadata());
|
|
2688
|
+
return e.isNonGeographicCallingCode(this.countryCallingCode);
|
|
2689
|
+
}
|
|
2690
|
+
}, {
|
|
2691
|
+
key: "isEqual",
|
|
2692
|
+
value: function(e) {
|
|
2693
|
+
return this.number === e.number && this.ext === e.ext;
|
|
2694
|
+
}
|
|
2695
|
+
// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
|
|
2696
|
+
// but later it was found out that it doesn't include the possible `TOO_SHORT` result
|
|
2697
|
+
// returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
|
|
2698
|
+
// so eventually I simply commented out this method from the `PhoneNumber` class
|
|
2699
|
+
// and just left the `validatePhoneNumberLength()` function, even though that one would require
|
|
2700
|
+
// and additional step to also validate the actual country / calling code of the phone number.
|
|
2701
|
+
// validateLength() {
|
|
2702
|
+
// const metadata = new Metadata(this.getMetadata())
|
|
2703
|
+
// metadata.selectNumberingPlan(this.countryCallingCode)
|
|
2704
|
+
// const result = checkNumberLength(this.nationalNumber, metadata)
|
|
2705
|
+
// if (result !== 'IS_POSSIBLE') {
|
|
2706
|
+
// return result
|
|
2707
|
+
// }
|
|
2708
|
+
// }
|
|
2709
|
+
}, {
|
|
2710
|
+
key: "getType",
|
|
2711
|
+
value: function() {
|
|
2712
|
+
return md(this, {
|
|
2713
|
+
v2: !0
|
|
2714
|
+
}, this.getMetadata());
|
|
2715
|
+
}
|
|
2716
|
+
}, {
|
|
2717
|
+
key: "format",
|
|
2718
|
+
value: function(e, t) {
|
|
2719
|
+
return U0(this, e, t ? Fd(Fd({}, t), {}, {
|
|
2720
|
+
v2: !0
|
|
2721
|
+
}) : {
|
|
2722
|
+
v2: !0
|
|
2723
|
+
}, this.getMetadata());
|
|
2724
|
+
}
|
|
2725
|
+
}, {
|
|
2726
|
+
key: "formatNational",
|
|
2727
|
+
value: function(e) {
|
|
2728
|
+
return this.format("NATIONAL", e);
|
|
2729
|
+
}
|
|
2730
|
+
}, {
|
|
2731
|
+
key: "formatInternational",
|
|
2732
|
+
value: function(e) {
|
|
2733
|
+
return this.format("INTERNATIONAL", e);
|
|
2734
|
+
}
|
|
2735
|
+
}, {
|
|
2736
|
+
key: "getURI",
|
|
2737
|
+
value: function(e) {
|
|
2738
|
+
return this.format("RFC3966", e);
|
|
2739
|
+
}
|
|
2740
|
+
}]), d;
|
|
2741
|
+
})(), J0 = function(d) {
|
|
2742
|
+
return /^[A-Z]{2}$/.test(d);
|
|
2743
|
+
};
|
|
2744
|
+
function Q0(d, e) {
|
|
2745
|
+
var t, n, r = new v(e);
|
|
2746
|
+
return J0(d) ? (t = d, r.selectNumberingPlan(t), n = r.countryCallingCode()) : n = d, {
|
|
2747
|
+
country: t,
|
|
2748
|
+
countryCallingCode: n
|
|
2749
|
+
};
|
|
2750
|
+
}
|
|
2751
|
+
var X0 = new RegExp("([" + P + "])");
|
|
2752
|
+
function d1(d, e, t, n) {
|
|
2753
|
+
if (e) {
|
|
2754
|
+
var r = new v(n);
|
|
2755
|
+
r.selectNumberingPlan(e, t);
|
|
2756
|
+
var a = new RegExp(r.IDDPrefix());
|
|
2757
|
+
if (d.search(a) === 0) {
|
|
2758
|
+
d = d.slice(d.match(a)[0].length);
|
|
2759
|
+
var u = d.match(X0);
|
|
2760
|
+
if (!(u && u[1] != null && u[1].length > 0 && u[1] === "0"))
|
|
2761
|
+
return d;
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
function e1(d, e) {
|
|
2766
|
+
if (d && e.numberingPlan.nationalPrefixForParsing()) {
|
|
2767
|
+
var t = new RegExp("^(?:" + e.numberingPlan.nationalPrefixForParsing() + ")"), n = t.exec(d);
|
|
2768
|
+
if (n) {
|
|
2769
|
+
var r, a, u = n.length - 1, $ = u > 0 && n[u];
|
|
2770
|
+
if (e.nationalPrefixTransformRule() && $)
|
|
2771
|
+
r = d.replace(t, e.nationalPrefixTransformRule()), u > 1 && (a = n[1]);
|
|
2772
|
+
else {
|
|
2773
|
+
var s = n[0];
|
|
2774
|
+
r = d.slice(s.length), $ && (a = n[1]);
|
|
2775
|
+
}
|
|
2776
|
+
var o;
|
|
2777
|
+
if ($) {
|
|
2778
|
+
var p = d.indexOf(n[1]), b = d.slice(0, p);
|
|
2779
|
+
b === e.numberingPlan.nationalPrefix() && (o = e.numberingPlan.nationalPrefix());
|
|
2780
|
+
} else
|
|
2781
|
+
o = n[0];
|
|
2782
|
+
return {
|
|
2783
|
+
nationalNumber: r,
|
|
2784
|
+
nationalPrefix: o,
|
|
2785
|
+
carrierCode: a
|
|
2786
|
+
};
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
return {
|
|
2790
|
+
nationalNumber: d
|
|
2791
|
+
};
|
|
2792
|
+
}
|
|
2793
|
+
function ld(d, e) {
|
|
2794
|
+
var t = e1(d, e), n = t.carrierCode, r = t.nationalNumber;
|
|
2795
|
+
if (r !== d) {
|
|
2796
|
+
if (!t1(d, r, e))
|
|
2797
|
+
return {
|
|
2798
|
+
nationalNumber: d
|
|
2799
|
+
};
|
|
2800
|
+
if (e.possibleLengths() && !n1(r, e))
|
|
2801
|
+
return {
|
|
2802
|
+
nationalNumber: d
|
|
2803
|
+
};
|
|
2804
|
+
}
|
|
2805
|
+
return {
|
|
2806
|
+
nationalNumber: r,
|
|
2807
|
+
carrierCode: n
|
|
2808
|
+
};
|
|
2809
|
+
}
|
|
2810
|
+
function t1(d, e, t) {
|
|
2811
|
+
return !(N(d, t.nationalNumberPattern()) && !N(e, t.nationalNumberPattern()));
|
|
2812
|
+
}
|
|
2813
|
+
function n1(d, e) {
|
|
2814
|
+
switch (yd(d, e)) {
|
|
2815
|
+
case "TOO_SHORT":
|
|
2816
|
+
case "INVALID_LENGTH":
|
|
2817
|
+
return !1;
|
|
2818
|
+
default:
|
|
2819
|
+
return !0;
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
function r1(d, e, t, n) {
|
|
2823
|
+
var r = e ? hd(e, n) : t;
|
|
2824
|
+
if (d.indexOf(r) === 0) {
|
|
2825
|
+
n = new v(n), n.selectNumberingPlan(e, t);
|
|
2826
|
+
var a = d.slice(r.length), u = ld(a, n), $ = u.nationalNumber, s = ld(d, n), o = s.nationalNumber;
|
|
2827
|
+
if (!N(o, n.nationalNumberPattern()) && N($, n.nationalNumberPattern()) || yd(o, n) === "TOO_LONG")
|
|
2828
|
+
return {
|
|
2829
|
+
countryCallingCode: r,
|
|
2830
|
+
number: a
|
|
2831
|
+
};
|
|
2832
|
+
}
|
|
2833
|
+
return {
|
|
2834
|
+
number: d
|
|
2835
|
+
};
|
|
2836
|
+
}
|
|
2837
|
+
function o1(d, e, t, n) {
|
|
2838
|
+
if (!d)
|
|
2839
|
+
return {};
|
|
2840
|
+
var r;
|
|
2841
|
+
if (d[0] !== "+") {
|
|
2842
|
+
var a = d1(d, e, t, n);
|
|
2843
|
+
if (a && a !== d)
|
|
2844
|
+
r = !0, d = "+" + a;
|
|
2845
|
+
else {
|
|
2846
|
+
if (e || t) {
|
|
2847
|
+
var u = r1(d, e, t, n), $ = u.countryCallingCode, s = u.number;
|
|
2848
|
+
if ($)
|
|
2849
|
+
return {
|
|
2850
|
+
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
2851
|
+
countryCallingCode: $,
|
|
2852
|
+
number: s
|
|
2853
|
+
};
|
|
2854
|
+
}
|
|
2855
|
+
return {
|
|
2856
|
+
// No need to set it to `UNSPECIFIED`. It can be just `undefined`.
|
|
2857
|
+
// countryCallingCodeSource: 'UNSPECIFIED',
|
|
2858
|
+
number: d
|
|
2859
|
+
};
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
if (d[1] === "0")
|
|
2863
|
+
return {};
|
|
2864
|
+
n = new v(n);
|
|
2865
|
+
for (var o = 2; o - 1 <= Ze && o <= d.length; ) {
|
|
2866
|
+
var p = d.slice(1, o);
|
|
2867
|
+
if (n.hasCallingCode(p))
|
|
2868
|
+
return n.selectNumberingPlan(p), {
|
|
2869
|
+
countryCallingCodeSource: r ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
|
2870
|
+
countryCallingCode: p,
|
|
2871
|
+
number: d.slice(o)
|
|
2872
|
+
};
|
|
2873
|
+
o++;
|
|
2874
|
+
}
|
|
2875
|
+
return {};
|
|
2876
|
+
}
|
|
2877
|
+
function a1(d, e) {
|
|
2878
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
2879
|
+
if (t)
|
|
2880
|
+
return (t = t.call(d)).next.bind(t);
|
|
2881
|
+
if (Array.isArray(d) || (t = $1(d)) || e) {
|
|
2882
|
+
t && (d = t);
|
|
2883
|
+
var n = 0;
|
|
2884
|
+
return function() {
|
|
2885
|
+
return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
|
|
2886
|
+
};
|
|
2887
|
+
}
|
|
2888
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2889
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2890
|
+
}
|
|
2891
|
+
function $1(d, e) {
|
|
2892
|
+
if (d) {
|
|
2893
|
+
if (typeof d == "string")
|
|
2894
|
+
return Ld(d, e);
|
|
2895
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
|
2896
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
|
2897
|
+
return Array.from(d);
|
|
2898
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
2899
|
+
return Ld(d, e);
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
function Ld(d, e) {
|
|
2903
|
+
(e == null || e > d.length) && (e = d.length);
|
|
2904
|
+
for (var t = 0, n = new Array(e); t < e; t++)
|
|
2905
|
+
n[t] = d[t];
|
|
2906
|
+
return n;
|
|
2907
|
+
}
|
|
2908
|
+
function i1(d, e) {
|
|
2909
|
+
var t = e.countries, n = e.defaultCountry, r = e.metadata;
|
|
2910
|
+
r = new v(r);
|
|
2911
|
+
for (var a = [], u = a1(t), $; !($ = u()).done; ) {
|
|
2912
|
+
var s = $.value;
|
|
2913
|
+
if (r.country(s), r.leadingDigits()) {
|
|
2914
|
+
if (d && d.search(r.leadingDigits()) === 0)
|
|
2915
|
+
return s;
|
|
2916
|
+
} else if (md({
|
|
2917
|
+
phone: d,
|
|
2918
|
+
country: s
|
|
2919
|
+
}, void 0, r.metadata))
|
|
2920
|
+
if (n) {
|
|
2921
|
+
if (s === n)
|
|
2922
|
+
return s;
|
|
2923
|
+
a.push(s);
|
|
2924
|
+
} else
|
|
2925
|
+
return s;
|
|
2926
|
+
}
|
|
2927
|
+
if (a.length > 0)
|
|
2928
|
+
return a[0];
|
|
2929
|
+
}
|
|
2930
|
+
function u1(d, e) {
|
|
2931
|
+
var t = e.nationalNumber, n = e.defaultCountry, r = e.metadata, a = r.getCountryCodesForCallingCode(d);
|
|
2932
|
+
if (a)
|
|
2933
|
+
return a.length === 1 ? a[0] : i1(t, {
|
|
2934
|
+
countries: a,
|
|
2935
|
+
defaultCountry: n,
|
|
2936
|
+
metadata: r.metadata
|
|
2937
|
+
});
|
|
2938
|
+
}
|
|
2939
|
+
var te = "+", l1 = "[\\-\\.\\(\\)]?", Gd = "([" + P + "]|" + l1 + ")", s1 = "^\\" + te + Gd + "*[" + P + "]" + Gd + "*$", c1 = new RegExp(s1, "g"), sd = P, f1 = "[" + sd + "]+((\\-)*[" + sd + "])*", p1 = "a-zA-Z", h1 = "[" + p1 + "]+((\\-)*[" + sd + "])*", y1 = "^(" + f1 + "\\.)*" + h1 + "\\.?$", m1 = new RegExp(y1, "g"), Vd = "tel:", cd = ";phone-context=", g1 = ";isub=";
|
|
2940
|
+
function v1(d) {
|
|
2941
|
+
var e = d.indexOf(cd);
|
|
2942
|
+
if (e < 0)
|
|
2943
|
+
return null;
|
|
2944
|
+
var t = e + cd.length;
|
|
2945
|
+
if (t >= d.length)
|
|
2946
|
+
return "";
|
|
2947
|
+
var n = d.indexOf(";", t);
|
|
2948
|
+
return n >= 0 ? d.substring(t, n) : d.substring(t);
|
|
2949
|
+
}
|
|
2950
|
+
function b1(d) {
|
|
2951
|
+
return d === null ? !0 : d.length === 0 ? !1 : c1.test(d) || m1.test(d);
|
|
2952
|
+
}
|
|
2953
|
+
function C1(d, e) {
|
|
2954
|
+
var t = e.extractFormattedPhoneNumber, n = v1(d);
|
|
2955
|
+
if (!b1(n))
|
|
2956
|
+
throw new S("NOT_A_NUMBER");
|
|
2957
|
+
var r;
|
|
2958
|
+
if (n === null)
|
|
2959
|
+
r = t(d) || "";
|
|
2960
|
+
else {
|
|
2961
|
+
r = "", n.charAt(0) === te && (r += n);
|
|
2962
|
+
var a = d.indexOf(Vd), u;
|
|
2963
|
+
a >= 0 ? u = a + Vd.length : u = 0;
|
|
2964
|
+
var $ = d.indexOf(cd);
|
|
2965
|
+
r += d.substring(u, $);
|
|
2966
|
+
}
|
|
2967
|
+
var s = r.indexOf(g1);
|
|
2968
|
+
if (s > 0 && (r = r.substring(0, s)), r !== "")
|
|
2969
|
+
return r;
|
|
2970
|
+
}
|
|
2971
|
+
var O1 = 250, w1 = new RegExp("[" + pd + P + "]"), P1 = new RegExp("[^" + P + "#]+$");
|
|
2972
|
+
function S1(d, e, t) {
|
|
2973
|
+
if (e = e || {}, t = new v(t), e.defaultCountry && !t.hasCountry(e.defaultCountry))
|
|
2974
|
+
throw e.v2 ? new S("INVALID_COUNTRY") : new Error("Unknown country: ".concat(e.defaultCountry));
|
|
2975
|
+
var n = I1(d, e.v2, e.extract), r = n.number, a = n.ext, u = n.error;
|
|
2976
|
+
if (!r) {
|
|
2977
|
+
if (e.v2)
|
|
2978
|
+
throw u === "TOO_SHORT" ? new S("TOO_SHORT") : new S("NOT_A_NUMBER");
|
|
2979
|
+
return {};
|
|
2980
|
+
}
|
|
2981
|
+
var $ = M1(r, e.defaultCountry, e.defaultCallingCode, t), s = $.country, o = $.nationalNumber, p = $.countryCallingCode, b = $.countryCallingCodeSource, O = $.carrierCode;
|
|
2982
|
+
if (!t.hasSelectedNumberingPlan()) {
|
|
2983
|
+
if (e.v2)
|
|
2984
|
+
throw new S("INVALID_COUNTRY");
|
|
2985
|
+
return {};
|
|
2986
|
+
}
|
|
2987
|
+
if (!o || o.length < fd) {
|
|
2988
|
+
if (e.v2)
|
|
2989
|
+
throw new S("TOO_SHORT");
|
|
2990
|
+
return {};
|
|
2991
|
+
}
|
|
2992
|
+
if (o.length > ze) {
|
|
2993
|
+
if (e.v2)
|
|
2994
|
+
throw new S("TOO_LONG");
|
|
2995
|
+
return {};
|
|
2996
|
+
}
|
|
2997
|
+
if (e.v2) {
|
|
2998
|
+
var y = new q0(p, o, t.metadata);
|
|
2999
|
+
return s && (y.country = s), O && (y.carrierCode = O), a && (y.ext = a), y.__countryCallingCodeSource = b, y;
|
|
3000
|
+
}
|
|
3001
|
+
var m = (e.extended ? t.hasSelectedNumberingPlan() : s) ? N(o, t.nationalNumberPattern()) : !1;
|
|
3002
|
+
return e.extended ? {
|
|
3003
|
+
country: s,
|
|
3004
|
+
countryCallingCode: p,
|
|
3005
|
+
carrierCode: O,
|
|
3006
|
+
valid: m,
|
|
3007
|
+
possible: m ? !0 : !!(e.extended === !0 && t.possibleLengths() && ee(o, t)),
|
|
3008
|
+
phone: o,
|
|
3009
|
+
ext: a
|
|
3010
|
+
} : m ? x1(s, o, a) : {};
|
|
3011
|
+
}
|
|
3012
|
+
function N1(d, e, t) {
|
|
3013
|
+
if (d) {
|
|
3014
|
+
if (d.length > O1) {
|
|
3015
|
+
if (t)
|
|
3016
|
+
throw new S("TOO_LONG");
|
|
3017
|
+
return;
|
|
3018
|
+
}
|
|
3019
|
+
if (e === !1)
|
|
3020
|
+
return d;
|
|
3021
|
+
var n = d.search(w1);
|
|
3022
|
+
if (!(n < 0))
|
|
3023
|
+
return d.slice(n).replace(P1, "");
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
function I1(d, e, t) {
|
|
3027
|
+
var n = C1(d, {
|
|
3028
|
+
extractFormattedPhoneNumber: function(a) {
|
|
3029
|
+
return N1(a, t, e);
|
|
3030
|
+
}
|
|
3031
|
+
});
|
|
3032
|
+
if (!n)
|
|
3033
|
+
return {};
|
|
3034
|
+
if (!g0(n))
|
|
3035
|
+
return v0(n) ? {
|
|
3036
|
+
error: "TOO_SHORT"
|
|
3037
|
+
} : {};
|
|
3038
|
+
var r = b0(n);
|
|
3039
|
+
return r.ext ? r : {
|
|
3040
|
+
number: n
|
|
3041
|
+
};
|
|
3042
|
+
}
|
|
3043
|
+
function x1(d, e, t) {
|
|
3044
|
+
var n = {
|
|
3045
|
+
country: d,
|
|
3046
|
+
phone: e
|
|
3047
|
+
};
|
|
3048
|
+
return t && (n.ext = t), n;
|
|
3049
|
+
}
|
|
3050
|
+
function M1(d, e, t, n) {
|
|
3051
|
+
var r = o1(kd(d), e, t, n.metadata), a = r.countryCallingCodeSource, u = r.countryCallingCode, $ = r.number, s;
|
|
3052
|
+
if (u)
|
|
3053
|
+
n.selectNumberingPlan(u);
|
|
3054
|
+
else if ($ && (e || t))
|
|
3055
|
+
n.selectNumberingPlan(e, t), e && (s = e), u = t || hd(e, n.metadata);
|
|
3056
|
+
else
|
|
3057
|
+
return {};
|
|
3058
|
+
if (!$)
|
|
3059
|
+
return {
|
|
3060
|
+
countryCallingCodeSource: a,
|
|
3061
|
+
countryCallingCode: u
|
|
3062
|
+
};
|
|
3063
|
+
var o = ld(kd($), n), p = o.nationalNumber, b = o.carrierCode, O = u1(u, {
|
|
3064
|
+
nationalNumber: p,
|
|
3065
|
+
defaultCountry: e,
|
|
3066
|
+
metadata: n
|
|
3067
|
+
});
|
|
3068
|
+
return O && (s = O, O === "001" || n.country(s)), {
|
|
3069
|
+
country: s,
|
|
3070
|
+
countryCallingCode: u,
|
|
3071
|
+
countryCallingCodeSource: a,
|
|
3072
|
+
nationalNumber: p,
|
|
3073
|
+
carrierCode: b
|
|
3074
|
+
};
|
|
3075
|
+
}
|
|
3076
|
+
function Ud(d, e) {
|
|
3077
|
+
var t = Object.keys(d);
|
|
3078
|
+
if (Object.getOwnPropertySymbols) {
|
|
3079
|
+
var n = Object.getOwnPropertySymbols(d);
|
|
3080
|
+
e && (n = n.filter(function(r) {
|
|
3081
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
|
3082
|
+
})), t.push.apply(t, n);
|
|
3083
|
+
}
|
|
3084
|
+
return t;
|
|
3085
|
+
}
|
|
3086
|
+
function Kd(d) {
|
|
3087
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
3088
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
3089
|
+
e % 2 ? Ud(Object(t), !0).forEach(function(n) {
|
|
3090
|
+
T1(d, n, t[n]);
|
|
3091
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Ud(Object(t)).forEach(function(n) {
|
|
3092
|
+
Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(t, n));
|
|
3093
|
+
});
|
|
3094
|
+
}
|
|
3095
|
+
return d;
|
|
3096
|
+
}
|
|
3097
|
+
function T1(d, e, t) {
|
|
3098
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
|
3099
|
+
}
|
|
3100
|
+
function E1(d, e, t) {
|
|
3101
|
+
return S1(d, Kd(Kd({}, e), {}, {
|
|
3102
|
+
v2: !0
|
|
3103
|
+
}), t);
|
|
3104
|
+
}
|
|
3105
|
+
function Hd(d, e) {
|
|
3106
|
+
var t = Object.keys(d);
|
|
3107
|
+
if (Object.getOwnPropertySymbols) {
|
|
3108
|
+
var n = Object.getOwnPropertySymbols(d);
|
|
3109
|
+
e && (n = n.filter(function(r) {
|
|
3110
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
|
3111
|
+
})), t.push.apply(t, n);
|
|
3112
|
+
}
|
|
3113
|
+
return t;
|
|
3114
|
+
}
|
|
3115
|
+
function k1(d) {
|
|
3116
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
3117
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
3118
|
+
e % 2 ? Hd(Object(t), !0).forEach(function(n) {
|
|
3119
|
+
D1(d, n, t[n]);
|
|
3120
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Hd(Object(t)).forEach(function(n) {
|
|
3121
|
+
Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(t, n));
|
|
3122
|
+
});
|
|
3123
|
+
}
|
|
3124
|
+
return d;
|
|
3125
|
+
}
|
|
3126
|
+
function D1(d, e, t) {
|
|
3127
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
|
3128
|
+
}
|
|
3129
|
+
function A1(d, e) {
|
|
3130
|
+
return j1(d) || B1(d, e) || _1(d, e) || R1();
|
|
3131
|
+
}
|
|
3132
|
+
function R1() {
|
|
3133
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3134
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3135
|
+
}
|
|
3136
|
+
function _1(d, e) {
|
|
3137
|
+
if (d) {
|
|
3138
|
+
if (typeof d == "string")
|
|
3139
|
+
return Wd(d, e);
|
|
3140
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
|
3141
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
|
3142
|
+
return Array.from(d);
|
|
3143
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
|
3144
|
+
return Wd(d, e);
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
function Wd(d, e) {
|
|
3148
|
+
(e == null || e > d.length) && (e = d.length);
|
|
3149
|
+
for (var t = 0, n = new Array(e); t < e; t++)
|
|
3150
|
+
n[t] = d[t];
|
|
3151
|
+
return n;
|
|
3152
|
+
}
|
|
3153
|
+
function B1(d, e) {
|
|
3154
|
+
var t = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
3155
|
+
if (t != null) {
|
|
3156
|
+
var n = [], r = !0, a = !1, u, $;
|
|
3157
|
+
try {
|
|
3158
|
+
for (t = t.call(d); !(r = (u = t.next()).done) && (n.push(u.value), !(e && n.length === e)); r = !0)
|
|
3159
|
+
;
|
|
3160
|
+
} catch (s) {
|
|
3161
|
+
a = !0, $ = s;
|
|
3162
|
+
} finally {
|
|
3163
|
+
try {
|
|
3164
|
+
!r && t.return != null && t.return();
|
|
3165
|
+
} finally {
|
|
3166
|
+
if (a)
|
|
3167
|
+
throw $;
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3170
|
+
return n;
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
function j1(d) {
|
|
3174
|
+
if (Array.isArray(d))
|
|
3175
|
+
return d;
|
|
3176
|
+
}
|
|
3177
|
+
function F1(d) {
|
|
3178
|
+
var e = Array.prototype.slice.call(d), t = A1(e, 4), n = t[0], r = t[1], a = t[2], u = t[3], $, s, o;
|
|
3179
|
+
if (typeof n == "string")
|
|
3180
|
+
$ = n;
|
|
3181
|
+
else
|
|
3182
|
+
throw new TypeError("A text for parsing must be a string.");
|
|
3183
|
+
if (!r || typeof r == "string")
|
|
3184
|
+
u ? (s = a, o = u) : (s = void 0, o = a), r && (s = k1({
|
|
3185
|
+
defaultCountry: r
|
|
3186
|
+
}, s));
|
|
3187
|
+
else if (W(r))
|
|
3188
|
+
a ? (s = r, o = a) : o = r;
|
|
3189
|
+
else
|
|
3190
|
+
throw new Error("Invalid second argument: ".concat(r));
|
|
3191
|
+
return {
|
|
3192
|
+
text: $,
|
|
3193
|
+
options: s,
|
|
3194
|
+
metadata: o
|
|
3195
|
+
};
|
|
3196
|
+
}
|
|
3197
|
+
function zd(d, e) {
|
|
3198
|
+
var t = Object.keys(d);
|
|
3199
|
+
if (Object.getOwnPropertySymbols) {
|
|
3200
|
+
var n = Object.getOwnPropertySymbols(d);
|
|
3201
|
+
e && (n = n.filter(function(r) {
|
|
3202
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
|
3203
|
+
})), t.push.apply(t, n);
|
|
3204
|
+
}
|
|
3205
|
+
return t;
|
|
3206
|
+
}
|
|
3207
|
+
function Zd(d) {
|
|
3208
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
3209
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
3210
|
+
e % 2 ? zd(Object(t), !0).forEach(function(n) {
|
|
3211
|
+
L1(d, n, t[n]);
|
|
3212
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : zd(Object(t)).forEach(function(n) {
|
|
3213
|
+
Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(t, n));
|
|
3214
|
+
});
|
|
3215
|
+
}
|
|
3216
|
+
return d;
|
|
3217
|
+
}
|
|
3218
|
+
function L1(d, e, t) {
|
|
3219
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
|
3220
|
+
}
|
|
3221
|
+
function G1(d, e, t) {
|
|
3222
|
+
e && e.defaultCountry && !s0(e.defaultCountry, t) && (e = Zd(Zd({}, e), {}, {
|
|
3223
|
+
defaultCountry: void 0
|
|
3224
|
+
}));
|
|
3225
|
+
try {
|
|
3226
|
+
return E1(d, e, t);
|
|
3227
|
+
} catch (n) {
|
|
3228
|
+
if (!(n instanceof S))
|
|
3229
|
+
throw n;
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3232
|
+
function V1() {
|
|
3233
|
+
var d = F1(arguments), e = d.text, t = d.options, n = d.metadata;
|
|
3234
|
+
return G1(e, t, n);
|
|
3235
|
+
}
|
|
3236
|
+
function ad() {
|
|
3237
|
+
return Le(V1, arguments);
|
|
3238
|
+
}
|
|
3239
|
+
const U1 = {
|
|
3240
|
+
beforeMount(d, e, t) {
|
|
3241
|
+
if (typeof e.value != "function") {
|
|
3242
|
+
const n = t.context.name;
|
|
3243
|
+
let r = `[Vue-click-outside:] provided expression ${e.expression} is not a function, but has to be`;
|
|
3244
|
+
n && (r += `Found in component ${n}`), console.warn(r);
|
|
3245
|
+
}
|
|
3246
|
+
d.clickOutsideEvent = function(n) {
|
|
3247
|
+
const r = n.composedPath ? n.composedPath() : n.path;
|
|
3248
|
+
d === n.target || d.contains(n.target) || r.includes(d) || e.value(n, d);
|
|
3249
|
+
}, document.body.addEventListener("click", d.clickOutsideEvent);
|
|
3250
|
+
},
|
|
3251
|
+
unmounted(d) {
|
|
3252
|
+
document.body.removeEventListener("click", d.clickOutsideEvent);
|
|
3253
|
+
}
|
|
3254
|
+
}, K1 = ["aria-expanded", "tabindex"], H1 = { class: "vti__selection" }, W1 = {
|
|
3255
|
+
key: 1,
|
|
3256
|
+
class: "vti__country-code"
|
|
3257
|
+
}, z1 = { class: "vti__dropdown-arrow" }, Z1 = {
|
|
3258
|
+
key: 0,
|
|
3259
|
+
class: "vti__search_box_container"
|
|
3260
|
+
}, Y1 = ["placeholder"], q1 = ["onClick", "onMousemove", "aria-selected"], J1 = { key: 1 }, Q1 = ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex", "value", "aria-describedby"], X1 = /* @__PURE__ */ Ce({
|
|
3261
|
+
name: "VueTelInput",
|
|
3262
|
+
directives: {
|
|
3263
|
+
clickOutside: U1
|
|
3264
|
+
},
|
|
3265
|
+
__name: "vue-tel-input",
|
|
3266
|
+
props: /* @__PURE__ */ Cd({
|
|
3267
|
+
allCountries: {
|
|
3268
|
+
type: Array,
|
|
3269
|
+
default: () => g("allCountries")
|
|
3270
|
+
},
|
|
3271
|
+
autoFormat: {
|
|
3272
|
+
type: Boolean,
|
|
3273
|
+
default: () => g("autoFormat")
|
|
3274
|
+
},
|
|
3275
|
+
customValidate: {
|
|
3276
|
+
type: [Boolean, RegExp],
|
|
3277
|
+
default: () => g("customValidate")
|
|
3278
|
+
},
|
|
3279
|
+
defaultCountry: {
|
|
3280
|
+
// Default country code, ie: 'AU'
|
|
3281
|
+
// Will override the current country of user
|
|
3282
|
+
type: [String, Number],
|
|
3283
|
+
default: () => g("defaultCountry")
|
|
3284
|
+
},
|
|
3285
|
+
disabled: {
|
|
3286
|
+
type: Boolean,
|
|
3287
|
+
default: () => g("disabled")
|
|
3288
|
+
},
|
|
3289
|
+
autoDefaultCountry: {
|
|
3290
|
+
type: Boolean,
|
|
3291
|
+
default: () => g("autoDefaultCountry")
|
|
3292
|
+
},
|
|
3293
|
+
dropdownOptions: {
|
|
3294
|
+
type: Object,
|
|
3295
|
+
default: () => g("dropdownOptions")
|
|
3296
|
+
},
|
|
3297
|
+
ignoredCountries: {
|
|
3298
|
+
type: Array,
|
|
3299
|
+
default: () => g("ignoredCountries")
|
|
3300
|
+
},
|
|
3301
|
+
inputOptions: {
|
|
3302
|
+
type: Object,
|
|
3303
|
+
default: () => g("inputOptions")
|
|
3304
|
+
},
|
|
3305
|
+
invalidMsg: {
|
|
3306
|
+
type: String,
|
|
3307
|
+
default: () => g("invalidMsg")
|
|
3308
|
+
},
|
|
3309
|
+
mode: {
|
|
3310
|
+
type: String,
|
|
3311
|
+
default: () => g("mode")
|
|
3312
|
+
},
|
|
3313
|
+
onlyCountries: {
|
|
3314
|
+
type: Array,
|
|
3315
|
+
default: () => g("onlyCountries")
|
|
3316
|
+
},
|
|
3317
|
+
preferredCountries: {
|
|
3318
|
+
type: Array,
|
|
3319
|
+
default: () => g("preferredCountries")
|
|
3320
|
+
},
|
|
3321
|
+
validCharactersOnly: {
|
|
3322
|
+
type: Boolean,
|
|
3323
|
+
default: () => g("validCharactersOnly")
|
|
3324
|
+
},
|
|
3325
|
+
styleClasses: {
|
|
3326
|
+
type: [String, Array, Object],
|
|
3327
|
+
default: () => g("styleClasses")
|
|
3328
|
+
}
|
|
3329
|
+
}, {
|
|
3330
|
+
modelValue: { type: String },
|
|
3331
|
+
modelModifiers: {}
|
|
3332
|
+
}),
|
|
3333
|
+
emits: /* @__PURE__ */ Cd([
|
|
3334
|
+
"blur",
|
|
3335
|
+
"close",
|
|
3336
|
+
"country-changed",
|
|
3337
|
+
"enter",
|
|
3338
|
+
"focus",
|
|
3339
|
+
"on-input",
|
|
3340
|
+
"open",
|
|
3341
|
+
"space",
|
|
3342
|
+
"validate"
|
|
3343
|
+
], ["update:modelValue"]),
|
|
3344
|
+
setup(d, { expose: e, emit: t }) {
|
|
3345
|
+
const n = ed(), r = ed(), a = ed(), u = t, $ = d, s = Oe(d, "modelValue");
|
|
3346
|
+
T(s, (i, l) => {
|
|
3347
|
+
ae() ? o.phone = i ?? "" : Od(() => {
|
|
3348
|
+
o.phone = l ?? "", gd();
|
|
3349
|
+
});
|
|
3350
|
+
});
|
|
3351
|
+
const o = we({
|
|
3352
|
+
phone: "",
|
|
3353
|
+
activeCountryCode: void 0,
|
|
3354
|
+
open: !1,
|
|
3355
|
+
finishMounted: !1,
|
|
3356
|
+
selectedIndex: null,
|
|
3357
|
+
typeToFindInput: "",
|
|
3358
|
+
typeToFindTimer: void 0,
|
|
3359
|
+
dropdownOpenDirection: "below",
|
|
3360
|
+
parsedPlaceholder: $.inputOptions.placeholder,
|
|
3361
|
+
searchQuery: ""
|
|
3362
|
+
});
|
|
3363
|
+
T(() => o.open, (i) => {
|
|
3364
|
+
i ? (ye(), u("open")) : u("close");
|
|
3365
|
+
});
|
|
3366
|
+
const p = A(() => $.onlyCountries.length ? $.allCountries.filter(({ iso2: i }) => $.onlyCountries.some((l) => B(l) === i)) : $.ignoredCountries.length ? $.allCountries.filter(
|
|
3367
|
+
({ iso2: i }) => !$.ignoredCountries.includes(B(i)) && !$.ignoredCountries.includes(_(i))
|
|
3368
|
+
) : $.allCountries), b = A(() => E(o.activeCountryCode));
|
|
3369
|
+
T(b, (i, l) => {
|
|
3370
|
+
if (!i && l != null && l.iso2) {
|
|
3371
|
+
o.activeCountryCode = l.iso2;
|
|
3372
|
+
return;
|
|
3373
|
+
}
|
|
3374
|
+
i != null && i.iso2 && u("country-changed", i);
|
|
3375
|
+
});
|
|
3376
|
+
const O = A(() => {
|
|
3377
|
+
var i;
|
|
3378
|
+
const l = _($.mode);
|
|
3379
|
+
return l === "auto" ? (i = o.phone) != null && i.startsWith("+") ? "international" : "national" : ["national", "international", "e.164", "rfc3966", "idd"].includes(l) ? l : (console.error('Invalid value of prop "mode"'), "international");
|
|
3380
|
+
}), y = A(() => {
|
|
3381
|
+
const i = [...X($.preferredCountries).map((c) => ({ ...c, preferred: !0 })), ...p.value];
|
|
3382
|
+
if (!$.dropdownOptions.showSearchBox)
|
|
3383
|
+
return i;
|
|
3384
|
+
const l = o.searchQuery.toLowerCase().replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]/g, "");
|
|
3385
|
+
return i.filter(
|
|
3386
|
+
(c) => new RegExp(l, "i").test(c.name) || new RegExp(l, "i").test(c.iso2) || new RegExp(l, "i").test(c.dialCode)
|
|
3387
|
+
);
|
|
3388
|
+
}), m = A(() => {
|
|
3389
|
+
var i;
|
|
3390
|
+
const l = o.phone.startsWith("+") ? ad(o.phone) : ad(o.phone, o.activeCountryCode), c = {
|
|
3391
|
+
country: l == null ? void 0 : l.country,
|
|
3392
|
+
countryCode: l == null ? void 0 : l.country,
|
|
3393
|
+
formatted: o.phone,
|
|
3394
|
+
valid: l == null ? void 0 : l.isValid(),
|
|
3395
|
+
possible: (i = l == null ? void 0 : l.isPossible) == null ? void 0 : i.call(l),
|
|
3396
|
+
nationalNumber: l == null ? void 0 : l.nationalNumber
|
|
3397
|
+
};
|
|
3398
|
+
return c.valid && (c.formatted = l == null ? void 0 : l.format(B(O.value))), l != null && l.country && ($.ignoredCountries.length || $.onlyCountries.length) && !E(l.country) && (c.valid = !1, c.possible = !1, l.country = null), l ? {
|
|
3399
|
+
...c,
|
|
3400
|
+
...l
|
|
3401
|
+
} : c;
|
|
3402
|
+
});
|
|
3403
|
+
T(() => m.value.countryCode, (i) => {
|
|
3404
|
+
i && (o.activeCountryCode = i);
|
|
3405
|
+
}), T(() => m.value.valid, () => {
|
|
3406
|
+
u("validate", m.value);
|
|
3407
|
+
}), T(() => m.value.formatted, (i) => {
|
|
3408
|
+
!$.autoFormat || $.customValidate || (V(i), Od(() => {
|
|
3409
|
+
i && !s.value && (o.phone = i);
|
|
3410
|
+
}));
|
|
3411
|
+
}), T(() => $.inputOptions.placeholder, J), Pe(() => {
|
|
3412
|
+
s.value && (o.phone = s.value.trim()), oe(), Q().then(() => {
|
|
3413
|
+
var i;
|
|
3414
|
+
!o.phone && (i = $.inputOptions) != null && i.showDialCode && o.activeCountryCode && (o.phone = `+${o.activeCountryCode}`), u("validate", m.value);
|
|
3415
|
+
}).catch(console.error).then(() => {
|
|
3416
|
+
o.finishMounted = !0;
|
|
3417
|
+
});
|
|
3418
|
+
});
|
|
3419
|
+
function J() {
|
|
3420
|
+
o.parsedPlaceholder = $.inputOptions.placeholder;
|
|
3421
|
+
}
|
|
3422
|
+
function Q() {
|
|
3423
|
+
return new Promise((i) => {
|
|
3424
|
+
var l;
|
|
3425
|
+
if (((l = o.phone) == null ? void 0 : l[0]) === "+") {
|
|
3426
|
+
i();
|
|
3427
|
+
return;
|
|
3428
|
+
}
|
|
3429
|
+
if ($.defaultCountry) {
|
|
3430
|
+
if (typeof $.defaultCountry == "string") {
|
|
3431
|
+
M($.defaultCountry), i();
|
|
3432
|
+
return;
|
|
3433
|
+
}
|
|
3434
|
+
if (typeof $.defaultCountry == "number") {
|
|
3435
|
+
const f = ne($.defaultCountry);
|
|
3436
|
+
if (f) {
|
|
3437
|
+
M(f.iso2), i();
|
|
3438
|
+
return;
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
}
|
|
3442
|
+
const c = $.preferredCountries[0] || p.value[0];
|
|
3443
|
+
$.autoDefaultCountry ? Re().then((f) => {
|
|
3444
|
+
M(f || o.activeCountryCode);
|
|
3445
|
+
}).catch((f) => {
|
|
3446
|
+
console.warn(f), M(c);
|
|
3447
|
+
}).then(() => {
|
|
3448
|
+
i();
|
|
3449
|
+
}) : (M(c), i());
|
|
3450
|
+
});
|
|
3451
|
+
}
|
|
3452
|
+
function X(i = []) {
|
|
3453
|
+
return i.map(E).filter(Boolean);
|
|
3454
|
+
}
|
|
3455
|
+
function E(i = "") {
|
|
3456
|
+
return p.value.find((l) => l.iso2 === B(i));
|
|
3457
|
+
}
|
|
3458
|
+
function ne(i) {
|
|
3459
|
+
return p.value.find((l) => Number(l.dialCode) === i);
|
|
3460
|
+
}
|
|
3461
|
+
function re(i, l) {
|
|
3462
|
+
const c = o.selectedIndex === i, f = i === $.preferredCountries.length - 1, h = $.preferredCountries.some((dd) => B(dd) === l);
|
|
3463
|
+
return {
|
|
3464
|
+
highlighted: c,
|
|
3465
|
+
"last-preferred": f,
|
|
3466
|
+
preferred: h
|
|
3467
|
+
};
|
|
3468
|
+
}
|
|
3469
|
+
function M(i) {
|
|
3470
|
+
var l, c, f;
|
|
3471
|
+
let h = i;
|
|
3472
|
+
if (typeof h == "string" && (h = E(h)), !!h) {
|
|
3473
|
+
if (((l = o.phone) == null ? void 0 : l[0]) === "+" && h.iso2 && m.value.nationalNumber) {
|
|
3474
|
+
o.activeCountryCode = h.iso2, o.phone = ((c = ad(
|
|
3475
|
+
m.value.nationalNumber,
|
|
3476
|
+
h.iso2
|
|
3477
|
+
)) == null ? void 0 : c.formatInternational()) ?? "";
|
|
3478
|
+
return;
|
|
3479
|
+
}
|
|
3480
|
+
if ((f = $.inputOptions) != null && f.showDialCode && h) {
|
|
3481
|
+
o.phone = `+${h.dialCode}`, o.activeCountryCode = h.iso2;
|
|
3482
|
+
return;
|
|
3483
|
+
}
|
|
3484
|
+
o.activeCountryCode = h.iso2, V(o.phone);
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
function oe() {
|
|
3488
|
+
const i = o.phone;
|
|
3489
|
+
if ($.validCharactersOnly) {
|
|
3490
|
+
const l = o.phone.match(/[()\-+0-9\s]*/g);
|
|
3491
|
+
o.phone = l.join("");
|
|
3492
|
+
}
|
|
3493
|
+
if ($.customValidate && $.customValidate instanceof RegExp) {
|
|
3494
|
+
const l = o.phone.match($.customValidate);
|
|
3495
|
+
o.phone = l.join("");
|
|
3496
|
+
}
|
|
3497
|
+
i !== o.phone && V(o.phone);
|
|
3498
|
+
}
|
|
3499
|
+
function ae() {
|
|
3500
|
+
return $.validCharactersOnly && !/^[()\-+0-9\s]*$/.test(o.phone) ? !1 : $.customValidate ? $e() : !0;
|
|
3501
|
+
}
|
|
3502
|
+
function $e() {
|
|
3503
|
+
return $.customValidate instanceof RegExp ? $.customValidate.test(o.phone) : !1;
|
|
3504
|
+
}
|
|
3505
|
+
function gd() {
|
|
3506
|
+
var i;
|
|
3507
|
+
(i = a.value) == null || i.setCustomValidity(m.value.valid ? "" : $.invalidMsg), V(o.phone);
|
|
3508
|
+
}
|
|
3509
|
+
function V(i) {
|
|
3510
|
+
s.value = i, u("on-input", i, m.value, a.value);
|
|
3511
|
+
}
|
|
3512
|
+
function ie(i) {
|
|
3513
|
+
u("blur", i);
|
|
3514
|
+
}
|
|
3515
|
+
function ue(i) {
|
|
3516
|
+
_e(a.value, o.phone.length), u("focus", i);
|
|
3517
|
+
}
|
|
3518
|
+
function le(i) {
|
|
3519
|
+
u("enter", i);
|
|
3520
|
+
}
|
|
3521
|
+
function se(i) {
|
|
3522
|
+
u("space", i);
|
|
3523
|
+
}
|
|
3524
|
+
function ce() {
|
|
3525
|
+
var i;
|
|
3526
|
+
(i = a.value) == null || i.focus();
|
|
3527
|
+
}
|
|
3528
|
+
function fe() {
|
|
3529
|
+
var i;
|
|
3530
|
+
(i = a.value) == null || i.blur();
|
|
3531
|
+
}
|
|
3532
|
+
function vd() {
|
|
3533
|
+
$.disabled || $.dropdownOptions.disabled || (o.searchQuery = "", o.open = !o.open);
|
|
3534
|
+
}
|
|
3535
|
+
function pe() {
|
|
3536
|
+
o.open = !1;
|
|
3537
|
+
}
|
|
3538
|
+
function he(i) {
|
|
3539
|
+
if (i.keyCode === 40) {
|
|
3540
|
+
i.preventDefault(), o.open = !0, o.selectedIndex === null ? o.selectedIndex = 0 : o.selectedIndex = Math.min(y.value.length - 1, o.selectedIndex + 1);
|
|
3541
|
+
const l = r.value.children[o.selectedIndex];
|
|
3542
|
+
l.focus(), l.offsetTop + l.clientHeight > r.value.scrollTop + r.value.clientHeight && (r.value.scrollTop = l.offsetTop - r.value.clientHeight + l.clientHeight);
|
|
3543
|
+
} else if (i.keyCode === 38) {
|
|
3544
|
+
i.preventDefault(), o.open = !0, o.selectedIndex === null ? o.selectedIndex = y.value.length - 1 : o.selectedIndex = Math.max(0, o.selectedIndex - 1);
|
|
3545
|
+
const l = r.value.children[o.selectedIndex];
|
|
3546
|
+
l.focus(), l.offsetTop < r.value.scrollTop && (r.value.scrollTop = l.offsetTop);
|
|
3547
|
+
} else if (i.keyCode === 13)
|
|
3548
|
+
o.selectedIndex !== null && M(y.value[o.selectedIndex]), o.open = !o.open;
|
|
3549
|
+
else if (o.open) {
|
|
3550
|
+
o.typeToFindInput += i.key, clearTimeout(o.typeToFindTimer), o.typeToFindTimer = setTimeout(() => {
|
|
3551
|
+
o.typeToFindInput = "";
|
|
3552
|
+
}, 700);
|
|
3553
|
+
const l = y.value.slice($.preferredCountries.length).findIndex((c) => _(c.name).startsWith(o.typeToFindInput));
|
|
3554
|
+
if (l >= 0) {
|
|
3555
|
+
o.selectedIndex = $.preferredCountries.length + l;
|
|
3556
|
+
const c = r.value.children[o.selectedIndex], f = c.offsetTop < r.value.scrollTop, h = c.offsetTop + c.clientHeight > r.value.scrollTop + r.value.clientHeight;
|
|
3557
|
+
(f || h) && (r.value.scrollTop = c.offsetTop - r.value.clientHeight / 2);
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
function bd() {
|
|
3562
|
+
o.selectedIndex = y.value.map((i) => i.iso2).indexOf(o.activeCountryCode), o.open = !1;
|
|
3563
|
+
}
|
|
3564
|
+
function ye() {
|
|
3565
|
+
window.innerHeight - n.value.getBoundingClientRect().bottom > 200 ? o.dropdownOpenDirection = "below" : o.dropdownOpenDirection = "above";
|
|
3566
|
+
}
|
|
3567
|
+
return e({
|
|
3568
|
+
focus: ce,
|
|
3569
|
+
blur: fe
|
|
3570
|
+
}), (i, l) => {
|
|
3571
|
+
const c = Yd("click-outside");
|
|
3572
|
+
return C(), w("div", {
|
|
3573
|
+
ref_key: "refRoot",
|
|
3574
|
+
ref: n,
|
|
3575
|
+
class: I(["vue-tel-input", d.styleClasses, { disabled: d.disabled }])
|
|
3576
|
+
}, [
|
|
3577
|
+
F((C(), w("div", {
|
|
3578
|
+
"aria-label": "Country Code Selector",
|
|
3579
|
+
"aria-haspopup": "listbox",
|
|
3580
|
+
"aria-expanded": o.open,
|
|
3581
|
+
role: "button",
|
|
3582
|
+
class: I(["vti__dropdown", { open: o.open, disabled: d.dropdownOptions.disabled }]),
|
|
3583
|
+
tabindex: d.dropdownOptions.tabindex,
|
|
3584
|
+
onKeydown: [
|
|
3585
|
+
he,
|
|
3586
|
+
R(vd, ["space"]),
|
|
3587
|
+
R(bd, ["esc"]),
|
|
3588
|
+
R(bd, ["tab"])
|
|
3589
|
+
],
|
|
3590
|
+
onClick: vd
|
|
3591
|
+
}, [
|
|
3592
|
+
D("span", H1, [
|
|
3593
|
+
d.dropdownOptions.showFlags ? (C(), w("span", {
|
|
3594
|
+
key: 0,
|
|
3595
|
+
class: I(["vti__flag", wd(_)(o.activeCountryCode)])
|
|
3596
|
+
}, null, 2)) : x("", !0),
|
|
3597
|
+
d.dropdownOptions.showDialCodeInSelection ? (C(), w("span", W1, " +" + j(b.value && b.value.dialCode), 1)) : x("", !0),
|
|
3598
|
+
td(i.$slots, "arrow-icon", {
|
|
3599
|
+
open: o.open
|
|
3600
|
+
}, () => [
|
|
3601
|
+
D("span", z1, j(o.open ? "▲" : "▼"), 1)
|
|
3602
|
+
])
|
|
3603
|
+
]),
|
|
3604
|
+
o.open ? (C(), w("ul", {
|
|
3605
|
+
key: 0,
|
|
3606
|
+
ref_key: "refList",
|
|
3607
|
+
ref: r,
|
|
3608
|
+
class: I(["vti__dropdown-list", o.dropdownOpenDirection]),
|
|
3609
|
+
role: "listbox"
|
|
3610
|
+
}, [
|
|
3611
|
+
d.dropdownOptions.showSearchBox ? (C(), w("div", Z1, [
|
|
3612
|
+
td(i.$slots, "search-icon"),
|
|
3613
|
+
F(D("input", {
|
|
3614
|
+
class: I(["vti__input", "vti__search_box"]),
|
|
3615
|
+
"aria-label": "Search by country name or country code",
|
|
3616
|
+
placeholder: d.dropdownOptions.searchBoxPlaceholder || (y.value.length ? y.value[0].name : ""),
|
|
3617
|
+
type: "text",
|
|
3618
|
+
"onUpdate:modelValue": l[0] || (l[0] = (f) => o.searchQuery = f),
|
|
3619
|
+
onClick: l[1] || (l[1] = Se(() => {
|
|
3620
|
+
}, ["stop"]))
|
|
3621
|
+
}, null, 8, Y1), [
|
|
3622
|
+
[Ne, o.searchQuery]
|
|
3623
|
+
])
|
|
3624
|
+
])) : x("", !0),
|
|
3625
|
+
(C(!0), w(qd, null, Ie(y.value, (f, h) => (C(), w("li", {
|
|
3626
|
+
role: "option",
|
|
3627
|
+
class: I(["vti__dropdown-item", re(h, f.iso2)]),
|
|
3628
|
+
key: f.iso2 + (f.preferred ? "-preferred" : ""),
|
|
3629
|
+
tabindex: "-1",
|
|
3630
|
+
onClick: (dd) => M(f),
|
|
3631
|
+
onMousemove: (dd) => o.selectedIndex = h,
|
|
3632
|
+
"aria-selected": o.activeCountryCode === f.iso2 && !f.preferred
|
|
3633
|
+
}, [
|
|
3634
|
+
d.dropdownOptions.showFlags ? (C(), w("span", {
|
|
3635
|
+
key: 0,
|
|
3636
|
+
class: I(["vti__flag", wd(_)(f.iso2)])
|
|
3637
|
+
}, null, 2)) : x("", !0),
|
|
3638
|
+
D("strong", null, j(f.name), 1),
|
|
3639
|
+
d.dropdownOptions.showDialCodeInList ? (C(), w("span", J1, " +" + j(f.dialCode), 1)) : x("", !0)
|
|
3640
|
+
], 42, q1))), 128))
|
|
3641
|
+
], 2)) : x("", !0)
|
|
3642
|
+
], 42, K1)), [
|
|
3643
|
+
[c, pe]
|
|
3644
|
+
]),
|
|
3645
|
+
F(D("input", {
|
|
3646
|
+
"onUpdate:modelValue": l[2] || (l[2] = (f) => o.phone = f),
|
|
3647
|
+
ref_key: "refInput",
|
|
3648
|
+
ref: a,
|
|
3649
|
+
type: d.inputOptions.type,
|
|
3650
|
+
autocomplete: d.inputOptions.autocomplete,
|
|
3651
|
+
autofocus: d.inputOptions.autofocus,
|
|
3652
|
+
class: I(["vti__input", "vti__phone", d.inputOptions.styleClasses]),
|
|
3653
|
+
disabled: d.disabled,
|
|
3654
|
+
id: d.inputOptions.id,
|
|
3655
|
+
maxlength: d.inputOptions.maxlength,
|
|
3656
|
+
name: d.inputOptions.name,
|
|
3657
|
+
placeholder: o.parsedPlaceholder,
|
|
3658
|
+
readonly: d.inputOptions.readonly,
|
|
3659
|
+
required: d.inputOptions.required,
|
|
3660
|
+
tabindex: d.inputOptions.tabindex,
|
|
3661
|
+
value: s.value,
|
|
3662
|
+
"aria-describedby": d.inputOptions["aria-describedby"],
|
|
3663
|
+
onBlur: ie,
|
|
3664
|
+
onFocus: ue,
|
|
3665
|
+
onInput: gd,
|
|
3666
|
+
onKeyup: [
|
|
3667
|
+
R(le, ["enter"]),
|
|
3668
|
+
R(se, ["space"])
|
|
3669
|
+
]
|
|
3670
|
+
}, null, 42, Q1), [
|
|
3671
|
+
[xe, o.phone]
|
|
3672
|
+
]),
|
|
3673
|
+
td(i.$slots, "icon-right")
|
|
3674
|
+
], 2);
|
|
3675
|
+
};
|
|
3676
|
+
}
|
|
3677
|
+
}), d2 = {
|
|
3678
|
+
directives: { Outside: be },
|
|
3679
|
+
props: {
|
|
3680
|
+
modelValue: {
|
|
3681
|
+
type: String
|
|
3682
|
+
},
|
|
3683
|
+
value: String,
|
|
3684
|
+
inputName: {
|
|
3685
|
+
type: String,
|
|
3686
|
+
default: "phone"
|
|
3687
|
+
},
|
|
3688
|
+
autoDefaultCountry: {
|
|
3689
|
+
type: Boolean,
|
|
3690
|
+
default: !0
|
|
3691
|
+
},
|
|
3692
|
+
ignoredCountries: {
|
|
3693
|
+
type: Array,
|
|
3694
|
+
default: () => []
|
|
3695
|
+
},
|
|
3696
|
+
error: {
|
|
3697
|
+
type: Boolean,
|
|
3698
|
+
default: !1
|
|
3699
|
+
},
|
|
3700
|
+
errorMessage: {
|
|
3701
|
+
type: String,
|
|
3702
|
+
default: ""
|
|
3703
|
+
},
|
|
3704
|
+
disabled: {
|
|
3705
|
+
type: Boolean,
|
|
3706
|
+
default: !1
|
|
3707
|
+
},
|
|
3708
|
+
showClearButton: {
|
|
3709
|
+
type: Boolean,
|
|
3710
|
+
default: !0
|
|
3711
|
+
}
|
|
3712
|
+
},
|
|
3713
|
+
emits: ["update:modelValue", "onReady"],
|
|
3714
|
+
components: {
|
|
3715
|
+
VueTelInput: X1,
|
|
3716
|
+
IbIconButton: ge,
|
|
3717
|
+
IbAlert: ve,
|
|
3718
|
+
IbIcon: me
|
|
3719
|
+
},
|
|
3720
|
+
data() {
|
|
3721
|
+
return {
|
|
3722
|
+
vueTel: null,
|
|
3723
|
+
dialCode: "",
|
|
3724
|
+
defaultCountry: "US",
|
|
3725
|
+
allowChange: !1
|
|
3726
|
+
};
|
|
3727
|
+
},
|
|
3728
|
+
mounted() {
|
|
3729
|
+
this.vueTel = this.$refs.vueTel, this.$emit("onReady");
|
|
3730
|
+
},
|
|
3731
|
+
computed: {
|
|
3732
|
+
phone: {
|
|
3733
|
+
get() {
|
|
3734
|
+
return this.modelValue;
|
|
3735
|
+
},
|
|
3736
|
+
set(d) {
|
|
3737
|
+
this.$emit("update:modelValue", d);
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
},
|
|
3741
|
+
methods: {
|
|
3742
|
+
countryChanged(d) {
|
|
3743
|
+
this.$globalEvents.$on("countrySelectValue", (e) => {
|
|
3744
|
+
this.vueTel.choose(e);
|
|
3745
|
+
}), !this.phone || this.phone.length - 1 < this.dialCode.length ? this.phone = "+" + d.dialCode : this.dialCode && (this.phone = this.phone.replace(this.dialCode, d.dialCode)), this.dialCode = d.dialCode;
|
|
3746
|
+
},
|
|
3747
|
+
clickOutside() {
|
|
3748
|
+
this.vueTel.open && this.vueTel.clickedOutside();
|
|
3749
|
+
},
|
|
3750
|
+
clearPhone() {
|
|
3751
|
+
this.phone = "";
|
|
3752
|
+
}
|
|
3753
|
+
}
|
|
3754
|
+
}, e2 = { class: "ib-phone-wrapper" };
|
|
3755
|
+
function t2(d, e, t, n, r, a) {
|
|
3756
|
+
const u = U("ib-alert"), $ = U("ib-icon"), s = U("ib-icon-button"), o = U("vue-tel-input"), p = Yd("outside");
|
|
3757
|
+
return C(), w(qd, null, [
|
|
3758
|
+
t.errorMessage.length ? (C(), nd(u, {
|
|
3759
|
+
key: 0,
|
|
3760
|
+
class: "ib-phone-error-message"
|
|
3761
|
+
}, {
|
|
3762
|
+
default: K(() => [
|
|
3763
|
+
Me(j(t.errorMessage), 1)
|
|
3764
|
+
]),
|
|
3765
|
+
_: 1
|
|
3766
|
+
})) : x("", !0),
|
|
3767
|
+
D("div", e2, [
|
|
3768
|
+
F((C(), nd(o, Te({
|
|
3769
|
+
modelValue: a.phone,
|
|
3770
|
+
"onUpdate:modelValue": e[0] || (e[0] = (b) => a.phone = b)
|
|
3771
|
+
}, d.$attrs, {
|
|
3772
|
+
onCountryChanged: a.countryChanged,
|
|
3773
|
+
"input-options": { name: t.inputName, id: t.inputName, autocomplete: "tel" },
|
|
3774
|
+
"auto-default-country": t.autoDefaultCountry,
|
|
3775
|
+
"dropdown-options": { showSearchBox: !0, showFlags: !0, tabindex: 0 },
|
|
3776
|
+
defaultCountry: r.defaultCountry,
|
|
3777
|
+
ignoredCountries: t.ignoredCountries,
|
|
3778
|
+
class: { error: t.error || t.errorMessage.length, disabled: t.disabled },
|
|
3779
|
+
disabled: t.disabled,
|
|
3780
|
+
"style-classes": "ib-phone-input",
|
|
3781
|
+
ref: "vueTel"
|
|
3782
|
+
}), {
|
|
3783
|
+
"arrow-icon": K(() => [
|
|
3784
|
+
Pd($, { name: "chevron-down-outline" })
|
|
3785
|
+
]),
|
|
3786
|
+
"icon-right": K(() => [
|
|
3787
|
+
t.showClearButton ? F((C(), nd(s, {
|
|
3788
|
+
key: 0,
|
|
3789
|
+
kind: "ghost",
|
|
3790
|
+
class: "ib-phone-clear-button",
|
|
3791
|
+
onClick: a.clearPhone
|
|
3792
|
+
}, {
|
|
3793
|
+
default: K(() => [
|
|
3794
|
+
Pd($, { name: "close-outline" })
|
|
3795
|
+
]),
|
|
3796
|
+
_: 1
|
|
3797
|
+
}, 8, ["onClick"])), [
|
|
3798
|
+
[Ee, a.phone.length]
|
|
3799
|
+
]) : x("", !0)
|
|
3800
|
+
]),
|
|
3801
|
+
_: 1
|
|
3802
|
+
}, 16, ["modelValue", "onCountryChanged", "input-options", "auto-default-country", "defaultCountry", "ignoredCountries", "class", "disabled"])), [
|
|
3803
|
+
[p, a.clickOutside]
|
|
3804
|
+
])
|
|
3805
|
+
])
|
|
3806
|
+
], 64);
|
|
3807
|
+
}
|
|
3808
|
+
const u2 = /* @__PURE__ */ ke(d2, [["render", t2]]);
|
|
3809
|
+
export {
|
|
3810
|
+
u2 as default
|
|
3811
|
+
};
|