auth0-lock 12.2.0 → 12.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/.github/dependabot.yml +12 -0
  2. package/.github/workflows/publish.yml +89 -42
  3. package/.github/workflows/snyk.yml +1 -1
  4. package/.github/workflows/test.yml +9 -17
  5. package/.shiprc +1 -1
  6. package/CHANGELOG.md +12 -0
  7. package/DEVELOPMENT.md +8 -8
  8. package/Makefile +22 -0
  9. package/README.md +1 -1
  10. package/lib/__tests__/connection/database/actions.js +3 -3
  11. package/lib/__tests__/connection/database/index.js +3 -3
  12. package/lib/__tests__/connection/database/login_pane.js +2 -2
  13. package/lib/__tests__/connection/database/password_reset_confirmation.js +2 -2
  14. package/lib/__tests__/connection/database/signed_up_confirmation.js +2 -2
  15. package/lib/__tests__/connection/enterprise/actions.js +3 -3
  16. package/lib/__tests__/connection/enterprise/hrd_pane.js +3 -3
  17. package/lib/__tests__/connection/enterprise/hrd_screen.js +3 -3
  18. package/lib/__tests__/connection/enterprise/quick_auth_screen.js +2 -2
  19. package/lib/__tests__/connection/passwordless/ask_vcode.js +3 -3
  20. package/lib/__tests__/connection/passwordless/email_sent_confirmation.js +2 -2
  21. package/lib/__tests__/core/actions.js +3 -3
  22. package/lib/__tests__/core/remote_data.js +4 -4
  23. package/lib/__tests__/core/signed_in_confirmation.js +2 -2
  24. package/lib/__tests__/core/sso/last_login_screen.js +1 -1
  25. package/lib/__tests__/core/tenant.js +1 -1
  26. package/lib/__tests__/core/web_api.js +3 -3
  27. package/lib/__tests__/engine/classic.js +3 -3
  28. package/lib/__tests__/field/captcha/arkose.js +29 -0
  29. package/lib/__tests__/field/captcha/friendlyCaptcha.js +17 -47
  30. package/lib/__tests__/field/captcha/hcaptcha.js +17 -47
  31. package/lib/__tests__/field/captcha/recaptcha_enterprise.js +17 -47
  32. package/lib/__tests__/field/captcha/recaptchav2.js +17 -47
  33. package/lib/__tests__/field/captcha.js +30 -1
  34. package/lib/__tests__/field/field.js +1 -1
  35. package/lib/__tests__/i18n.js +3 -3
  36. package/lib/__tests__/testUtils.js +10 -17
  37. package/lib/__tests__/ui/box/chrome.js +3 -3
  38. package/lib/__tests__/ui/box/confirmation_pane.js +2 -2
  39. package/lib/avatar.js +4 -5
  40. package/lib/connection/captcha.js +3 -3
  41. package/lib/connection/database/actions.js +3 -3
  42. package/lib/connection/database/index.js +3 -3
  43. package/lib/connection/database/login_pane.js +4 -5
  44. package/lib/connection/database/login_sign_up_tabs.js +4 -5
  45. package/lib/connection/database/mfa_pane.js +2 -3
  46. package/lib/connection/database/password_reset_confirmation.js +4 -5
  47. package/lib/connection/database/reset_password.js +4 -5
  48. package/lib/connection/database/reset_password_pane.js +4 -5
  49. package/lib/connection/database/sign_up_terms.js +1 -2
  50. package/lib/connection/database/signed_up_confirmation.js +4 -5
  51. package/lib/connection/enterprise/actions.js +5 -5
  52. package/lib/connection/enterprise/hrd_pane.js +4 -5
  53. package/lib/connection/enterprise/hrd_screen.js +4 -5
  54. package/lib/connection/enterprise/kerberos_screen.js +4 -5
  55. package/lib/connection/enterprise/quick_auth_screen.js +4 -5
  56. package/lib/connection/enterprise/single_sign_on_notice.js +1 -2
  57. package/lib/connection/enterprise.js +6 -6
  58. package/lib/connection/passwordless/actions.js +5 -5
  59. package/lib/connection/passwordless/ask_vcode.js +2 -3
  60. package/lib/connection/passwordless/email_sent_confirmation.js +4 -5
  61. package/lib/connection/passwordless/index.js +3 -3
  62. package/lib/connection/social/index.js +4 -5
  63. package/lib/core/actions.js +5 -5
  64. package/lib/core/client/index.js +5 -5
  65. package/lib/core/client/settings.js +3 -3
  66. package/lib/core/error_screen.js +4 -5
  67. package/lib/core/index.js +7 -11
  68. package/lib/core/loading_screen.js +4 -5
  69. package/lib/core/pane_separator.js +1 -2
  70. package/lib/core/remote_data.js +3 -3
  71. package/lib/core/screen.js +4 -5
  72. package/lib/core/signed_in_confirmation.js +4 -5
  73. package/lib/core/sso/last_login_screen.js +4 -5
  74. package/lib/core/tenant/index.js +5 -5
  75. package/lib/core/tenant/settings.js +3 -3
  76. package/lib/core/web_api/helper.js +4 -5
  77. package/lib/core/web_api/p2_api.js +6 -9
  78. package/lib/core/web_api.js +2 -3
  79. package/lib/core.js +5 -6
  80. package/lib/engine/classic/login.js +4 -5
  81. package/lib/engine/classic/mfa_login_screen.js +4 -5
  82. package/lib/engine/classic/sign_up_pane.js +4 -5
  83. package/lib/engine/classic/sign_up_screen.js +4 -5
  84. package/lib/engine/classic.js +6 -6
  85. package/lib/engine/passwordless/social_or_email_login_screen.js +4 -5
  86. package/lib/engine/passwordless/social_or_phone_number_login_screen.js +4 -5
  87. package/lib/engine/passwordless.js +4 -5
  88. package/lib/field/captcha/captcha_pane.js +5 -5
  89. package/lib/field/captcha/third_party_captcha.js +129 -47
  90. package/lib/field/custom_input.js +4 -5
  91. package/lib/field/email/email_pane.js +4 -5
  92. package/lib/field/email.js +3 -3
  93. package/lib/field/index.js +3 -3
  94. package/lib/field/mfa-code/mfa_code_pane.js +4 -5
  95. package/lib/field/option_selection_pane.js +1 -2
  96. package/lib/field/password/password_pane.js +4 -5
  97. package/lib/field/phone-number/locations.js +1 -2
  98. package/lib/field/phone-number/phone_number_pane.js +5 -7
  99. package/lib/field/social/event.js +3 -3
  100. package/lib/field/social/social_buttons_pane.js +4 -5
  101. package/lib/field/username/username_pane.js +4 -5
  102. package/lib/field/vcode/vcode_pane.js +4 -5
  103. package/lib/i18n/af.js +1 -2
  104. package/lib/i18n/ar.js +1 -2
  105. package/lib/i18n/az.js +1 -2
  106. package/lib/i18n/bg.js +1 -2
  107. package/lib/i18n/ca.js +1 -2
  108. package/lib/i18n/cs.js +1 -2
  109. package/lib/i18n/da.js +1 -2
  110. package/lib/i18n/de.js +1 -2
  111. package/lib/i18n/el.js +1 -2
  112. package/lib/i18n/en.js +1 -2
  113. package/lib/i18n/es.js +1 -2
  114. package/lib/i18n/et.js +1 -2
  115. package/lib/i18n/fa.js +1 -2
  116. package/lib/i18n/fi.js +1 -2
  117. package/lib/i18n/fr.js +1 -2
  118. package/lib/i18n/he.js +1 -2
  119. package/lib/i18n/hr.js +1 -2
  120. package/lib/i18n/hu.js +1 -2
  121. package/lib/i18n/id.js +1 -2
  122. package/lib/i18n/it.js +1 -2
  123. package/lib/i18n/ja.js +1 -2
  124. package/lib/i18n/ko.js +1 -2
  125. package/lib/i18n/lt.js +1 -2
  126. package/lib/i18n/lv.js +1 -2
  127. package/lib/i18n/ms.js +1 -2
  128. package/lib/i18n/nb.js +1 -2
  129. package/lib/i18n/nl.js +1 -2
  130. package/lib/i18n/nn.js +1 -2
  131. package/lib/i18n/no.js +1 -2
  132. package/lib/i18n/pl.js +1 -2
  133. package/lib/i18n/pt-br.js +1 -2
  134. package/lib/i18n/pt.js +1 -2
  135. package/lib/i18n/ro.js +1 -2
  136. package/lib/i18n/ru.js +1 -2
  137. package/lib/i18n/sk.js +1 -2
  138. package/lib/i18n/sl.js +1 -2
  139. package/lib/i18n/sr.js +1 -2
  140. package/lib/i18n/sv.js +1 -2
  141. package/lib/i18n/tr.js +1 -2
  142. package/lib/i18n/ua.js +1 -2
  143. package/lib/i18n/uk.js +1 -2
  144. package/lib/i18n/vi.js +1 -2
  145. package/lib/i18n/zh-tw.js +1 -2
  146. package/lib/i18n/zh.js +1 -2
  147. package/lib/i18n.js +4 -4
  148. package/lib/index.js +3 -6
  149. package/lib/lock.js +5 -6
  150. package/lib/passwordless.js +5 -6
  151. package/lib/quick-auth/actions.js +5 -5
  152. package/lib/sync.js +5 -7
  153. package/lib/ui/box/button.js +2 -4
  154. package/lib/ui/box/chrome.js +4 -5
  155. package/lib/ui/box/confirmation_pane.js +4 -5
  156. package/lib/ui/box/container.js +5 -7
  157. package/lib/ui/box/global_message.js +2 -3
  158. package/lib/ui/box/header.js +2 -3
  159. package/lib/ui/box/multisize_slide.js +2 -3
  160. package/lib/ui/box/success_pane.js +1 -2
  161. package/lib/ui/box.js +3 -5
  162. package/lib/ui/button/auth_button.js +1 -2
  163. package/lib/ui/input/captcha_input.js +2 -3
  164. package/lib/ui/input/checkbox_input.js +2 -3
  165. package/lib/ui/input/email_input.js +2 -3
  166. package/lib/ui/input/input_wrap.js +2 -3
  167. package/lib/ui/input/location_input.js +3 -5
  168. package/lib/ui/input/mfa_code_input.js +2 -3
  169. package/lib/ui/input/password/password_strength.js +2 -3
  170. package/lib/ui/input/password_input.js +5 -7
  171. package/lib/ui/input/phone_number_input.js +2 -3
  172. package/lib/ui/input/select_input.js +2 -3
  173. package/lib/ui/input/text_input.js +2 -3
  174. package/lib/ui/input/username_input.js +2 -3
  175. package/lib/ui/input/vcode_input.js +2 -3
  176. package/lib/ui/list.js +4 -5
  177. package/lib/ui/pane/quick_auth_pane.js +1 -2
  178. package/lib/utils/atom.js +1 -1
  179. package/lib/utils/cache.js +2 -3
  180. package/lib/utils/data_utils.js +1 -1
  181. package/lib/utils/format.js +1 -1
  182. package/lib/utils/jsonp_utils.js +2 -3
  183. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -26,10 +26,12 @@ var RECAPTCHA_V2_PROVIDER = 'recaptcha_v2';
26
26
  var RECAPTCHA_ENTERPRISE_PROVIDER = 'recaptcha_enterprise';
27
27
  var HCAPTCHA_PROVIDER = 'hcaptcha';
28
28
  var FRIENDLY_CAPTCHA_PROVIDER = 'friendly_captcha';
29
- var isThirdPartyCaptcha = function isThirdPartyCaptcha(provider) {
30
- return provider === RECAPTCHA_ENTERPRISE_PROVIDER || provider === RECAPTCHA_V2_PROVIDER || provider === HCAPTCHA_PROVIDER || provider === FRIENDLY_CAPTCHA_PROVIDER;
29
+ var ARKOSE_PROVIDER = 'arkose';
30
+ var TIMEOUT_MS = 500;
31
+ var MAX_RETRY = 3;
32
+ var isThirdPartyCaptcha = exports.isThirdPartyCaptcha = function isThirdPartyCaptcha(provider) {
33
+ return provider === RECAPTCHA_ENTERPRISE_PROVIDER || provider === RECAPTCHA_V2_PROVIDER || provider === HCAPTCHA_PROVIDER || provider === FRIENDLY_CAPTCHA_PROVIDER || provider === ARKOSE_PROVIDER;
31
34
  };
32
- exports.isThirdPartyCaptcha = isThirdPartyCaptcha;
33
35
  var getCaptchaProvider = function getCaptchaProvider(provider) {
34
36
  switch (provider) {
35
37
  case RECAPTCHA_V2_PROVIDER:
@@ -40,9 +42,11 @@ var getCaptchaProvider = function getCaptchaProvider(provider) {
40
42
  return window.hcaptcha;
41
43
  case FRIENDLY_CAPTCHA_PROVIDER:
42
44
  return window.friendlyChallenge;
45
+ case ARKOSE_PROVIDER:
46
+ return window.arkose;
43
47
  }
44
48
  };
45
- var scriptForProvider = function scriptForProvider(provider, lang, callback) {
49
+ var scriptForProvider = function scriptForProvider(provider, lang, callback, clientSubdomain, siteKey) {
46
50
  switch (provider) {
47
51
  case RECAPTCHA_V2_PROVIDER:
48
52
  return "https://www.recaptcha.net/recaptcha/api.js?hl=".concat(lang, "&onload=").concat(callback);
@@ -52,6 +56,8 @@ var scriptForProvider = function scriptForProvider(provider, lang, callback) {
52
56
  return "https://js.hcaptcha.com/1/api.js?hl=".concat(lang, "&onload=").concat(callback);
53
57
  case FRIENDLY_CAPTCHA_PROVIDER:
54
58
  return 'https://cdn.jsdelivr.net/npm/friendly-challenge@0.9.12/widget.min.js';
59
+ case ARKOSE_PROVIDER:
60
+ return 'https://' + clientSubdomain + '.arkoselabs.com/v2/' + siteKey + '/api.js';
55
61
  }
56
62
  };
57
63
  var providerDomPrefix = function providerDomPrefix(provider) {
@@ -64,16 +70,39 @@ var providerDomPrefix = function providerDomPrefix(provider) {
64
70
  return 'hcaptcha';
65
71
  case FRIENDLY_CAPTCHA_PROVIDER:
66
72
  return 'friendly-captcha';
73
+ case ARKOSE_PROVIDER:
74
+ return 'arkose';
67
75
  }
68
76
  };
69
- var ThirdPartyCaptcha = /*#__PURE__*/function (_React$Component) {
77
+ var loadScript = function loadScript(url, attributes) {
78
+ var script = document.createElement('script');
79
+ for (var attr in attributes) {
80
+ if (attr.startsWith('data-')) {
81
+ script.dataset[attr.replace('data-', '')] = attributes[attr];
82
+ } else {
83
+ script[attr] = attributes[attr];
84
+ }
85
+ }
86
+ script.src = url;
87
+ document.body.appendChild(script);
88
+ };
89
+ var removeScript = function removeScript(url) {
90
+ var scripts = document.body.querySelectorAll('script[src="' + url + '"]');
91
+ scripts.forEach(function (script) {
92
+ script.remove();
93
+ });
94
+ };
95
+ var ThirdPartyCaptcha = exports.ThirdPartyCaptcha = /*#__PURE__*/function (_React$Component) {
70
96
  _inherits(ThirdPartyCaptcha, _React$Component);
71
97
  var _super = _createSuper(ThirdPartyCaptcha);
72
98
  function ThirdPartyCaptcha(props) {
73
99
  var _this;
74
100
  _classCallCheck(this, ThirdPartyCaptcha);
75
101
  _this = _super.call(this, props);
76
- _this.state = {};
102
+ _this.state = {
103
+ retryCount: 0,
104
+ scriptUrl: ''
105
+ };
77
106
  //this version of react doesn't have React.createRef
78
107
  _this.ref = (0, _createRef.createRef)();
79
108
  _this.changeHandler = function (value) {
@@ -104,34 +133,107 @@ var ThirdPartyCaptcha = /*#__PURE__*/function (_React$Component) {
104
133
  return _this;
105
134
  }
106
135
  _createClass(ThirdPartyCaptcha, [{
136
+ key: "injectCaptchaScript",
137
+ value: function injectCaptchaScript() {
138
+ var _this2 = this;
139
+ var callback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : noop;
140
+ var _this$props = this.props,
141
+ provider = _this$props.provider,
142
+ hl = _this$props.hl,
143
+ clientSubdomain = _this$props.clientSubdomain,
144
+ sitekey = _this$props.sitekey;
145
+ var callbackName = "".concat(providerDomPrefix(provider), "Callback_").concat(Math.floor(Math.random() * 1000001));
146
+ var scriptUrl = scriptForProvider(provider, hl, callbackName, clientSubdomain, sitekey);
147
+ this.setState({
148
+ scriptUrl: scriptUrl
149
+ });
150
+ var attributes = {
151
+ async: true,
152
+ defer: true
153
+ };
154
+ if (provider === ARKOSE_PROVIDER) {
155
+ attributes['data-callback'] = callbackName;
156
+ attributes['onerror'] = function () {
157
+ if (_this2.state.retryCount < MAX_RETRY) {
158
+ removeScript(scriptUrl);
159
+ loadScript(scriptUrl, attributes);
160
+ _this2.setState(function (prevState) {
161
+ return {
162
+ retryCount: prevState.retryCount + 1
163
+ };
164
+ });
165
+ return;
166
+ }
167
+ removeScript(scriptUrl);
168
+ _this2.changeHandler('BYPASS_CAPTCHA');
169
+ };
170
+ window[callbackName] = function (arkose) {
171
+ callback(arkose);
172
+ };
173
+ } else {
174
+ window[callbackName] = function () {
175
+ delete window[callbackName];
176
+ callback();
177
+ };
178
+ if (provider === FRIENDLY_CAPTCHA_PROVIDER) {
179
+ attributes['onload'] = window[callbackName];
180
+ }
181
+ }
182
+ loadScript(scriptUrl, attributes);
183
+ }
184
+ }, {
107
185
  key: "componentWillUnmount",
108
186
  value: function componentWillUnmount() {
109
- if (!this.scriptNode) {
187
+ if (!this.state.scriptUrl) {
110
188
  return;
111
189
  }
112
- document.body.removeChild(this.scriptNode);
190
+ removeScript(this.state.scriptUrl);
113
191
  }
114
192
  }, {
115
193
  key: "componentDidMount",
116
194
  value: function componentDidMount() {
117
- var _this2 = this;
118
- ThirdPartyCaptcha.loadScript(this.props, document.body, function (err, scriptNode) {
119
- _this2.scriptNode = scriptNode;
120
- var provider = getCaptchaProvider(_this2.props.provider);
121
- if (_this2.props.provider === FRIENDLY_CAPTCHA_PROVIDER) {
122
- _this2.widgetInstance = new provider.WidgetInstance(_this2.ref.current, {
123
- sitekey: _this2.props.sitekey,
124
- language: _this2.props.hl,
125
- doneCallback: _this2.changeHandler,
126
- errorCallback: _this2.erroredHandler
195
+ var _this3 = this;
196
+ this.injectCaptchaScript(function (arkose) {
197
+ var provider = getCaptchaProvider(_this3.props.provider);
198
+ if (_this3.props.provider === ARKOSE_PROVIDER) {
199
+ arkose.setConfig({
200
+ onReady: function onReady() {
201
+ arkose.run();
202
+ },
203
+ onCompleted: function onCompleted(response) {
204
+ _this3.changeHandler(response.token);
205
+ },
206
+ onError: function onError() {
207
+ if (_this3.state.retryCount < MAX_RETRY) {
208
+ arkose.reset();
209
+ // To ensure reset is successful, we need to set a timeout here
210
+ setTimeout(function () {
211
+ arkose.run();
212
+ }, TIMEOUT_MS);
213
+ _this3.setState(function (prevState) {
214
+ return {
215
+ retryCount: prevState.retryCount + 1
216
+ };
217
+ });
218
+ } else {
219
+ _this3.changeHandler('BYPASS_CAPTCHA');
220
+ }
221
+ }
222
+ });
223
+ } else if (_this3.props.provider === FRIENDLY_CAPTCHA_PROVIDER) {
224
+ _this3.widgetInstance = new provider.WidgetInstance(_this3.ref.current, {
225
+ sitekey: _this3.props.sitekey,
226
+ language: _this3.props.hl,
227
+ doneCallback: _this3.changeHandler,
228
+ errorCallback: _this3.erroredHandler
127
229
  });
128
230
  } else {
129
231
  // if this is enterprise then we change this to window.grecaptcha.enterprise.render
130
- _this2.widgetId = provider.render(_this2.ref.current, {
131
- callback: _this2.changeHandler,
132
- 'expired-callback': _this2.expiredHandler,
133
- 'error-callback': _this2.erroredHandler,
134
- sitekey: _this2.props.sitekey
232
+ _this3.widgetId = provider.render(_this3.ref.current, {
233
+ callback: _this3.changeHandler,
234
+ 'expired-callback': _this3.expiredHandler,
235
+ 'error-callback': _this3.erroredHandler,
236
+ sitekey: _this3.props.sitekey
135
237
  });
136
238
  }
137
239
  });
@@ -151,7 +253,7 @@ var ThirdPartyCaptcha = /*#__PURE__*/function (_React$Component) {
151
253
  }, {
152
254
  key: "render",
153
255
  value: function render() {
154
- var _this3 = this;
256
+ var _this4 = this;
155
257
  /*
156
258
  This is an override for the following conflicting css-rule:
157
259
  @media screen and (max-width: 480px)
@@ -160,7 +262,7 @@ var ThirdPartyCaptcha = /*#__PURE__*/function (_React$Component) {
160
262
  }
161
263
  */
162
264
  var fixInterval = setInterval(function () {
163
- var iframes = Array.from(document.querySelectorAll("iframe[src*=\"".concat(providerDomPrefix(_this3.props.provider), "\"]")));
265
+ var iframes = Array.from(document.querySelectorAll("iframe[src*=\"".concat(providerDomPrefix(_this4.props.provider), "\"]")));
164
266
  var containers = iframes.map(function (iframe) {
165
267
  return iframe.parentNode.parentNode;
166
268
  }).filter(function (container) {
@@ -189,26 +291,6 @@ var ThirdPartyCaptcha = /*#__PURE__*/function (_React$Component) {
189
291
  }
190
292
  }
191
293
  }], [{
192
- key: "loadScript",
193
- value: function loadScript(props) {
194
- var element = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document.body;
195
- var callback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : noop;
196
- var callbackName = "".concat(providerDomPrefix(props.provider), "Callback_").concat(Math.floor(Math.random() * 1000001));
197
- var scriptUrl = scriptForProvider(props.provider, props.hl, callbackName);
198
- var script = document.createElement('script');
199
- window[callbackName] = function () {
200
- delete window[callbackName];
201
- callback(null, script);
202
- };
203
- script.src = scriptUrl;
204
- script.async = true;
205
- script.defer = true;
206
- if (props.provider === FRIENDLY_CAPTCHA_PROVIDER) {
207
- script.onload = window[callbackName];
208
- }
209
- element.appendChild(script);
210
- }
211
- }, {
212
294
  key: "getDerivedStateFromProps",
213
295
  value: function getDerivedStateFromProps(nextProps, prevState) {
214
296
  if (nextProps.value !== prevState.value) {
@@ -222,11 +304,11 @@ var ThirdPartyCaptcha = /*#__PURE__*/function (_React$Component) {
222
304
  }]);
223
305
  return ThirdPartyCaptcha;
224
306
  }(_react.default.Component); // TO DO: Confirm this change will not introduce unintended behavior for customers
225
- exports.ThirdPartyCaptcha = ThirdPartyCaptcha;
226
307
  ThirdPartyCaptcha.displayName = 'ThirdPartyCaptcha';
227
308
  ThirdPartyCaptcha.propTypes = {
228
309
  provider: _propTypes.default.string.isRequired,
229
310
  sitekey: _propTypes.default.string.isRequired,
311
+ clientSubdomain: _propTypes.default.string,
230
312
  onChange: _propTypes.default.func,
231
313
  onExpired: _propTypes.default.func,
232
314
  onErrored: _propTypes.default.func,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -12,8 +12,8 @@ var _text_input = _interopRequireDefault(require("../ui/input/text_input"));
12
12
  var _select_input = _interopRequireDefault(require("../ui/input/select_input"));
13
13
  var _checkbox_input = _interopRequireDefault(require("../ui/input/checkbox_input"));
14
14
  var l = _interopRequireWildcard(require("../core/index"));
15
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
18
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
19
19
  var CustomInput = function CustomInput(_ref) {
@@ -70,5 +70,4 @@ var CustomInput = function CustomInput(_ref) {
70
70
  }, props));
71
71
  }
72
72
  };
73
- var _default = CustomInput;
74
- exports.default = _default;
73
+ var _default = exports.default = CustomInput;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,8 +13,8 @@ var _index2 = require("../../store/index");
13
13
  var l = _interopRequireWildcard(require("../../core/index"));
14
14
  var _email = require("../email");
15
15
  var _avatar = require("../../avatar");
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
17
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
20
20
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
@@ -28,7 +28,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
28
28
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
29
29
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
30
30
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
31
- var EmailPane = /*#__PURE__*/function (_React$Component) {
31
+ var EmailPane = exports.default = /*#__PURE__*/function (_React$Component) {
32
32
  _inherits(EmailPane, _React$Component);
33
33
  var _super = _createSuper(EmailPane);
34
34
  function EmailPane() {
@@ -93,7 +93,6 @@ var EmailPane = /*#__PURE__*/function (_React$Component) {
93
93
  }]);
94
94
  return EmailPane;
95
95
  }(_react.default.Component);
96
- exports.default = EmailPane;
97
96
  EmailPane.propTypes = {
98
97
  i18n: _propTypes.default.object.isRequired,
99
98
  lock: _propTypes.default.object.isRequired,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -14,8 +14,8 @@ var _isEmail2 = _interopRequireDefault(require("validator/lib/isEmail"));
14
14
  var _index = require("./index");
15
15
  var _enterprise = require("../connection/enterprise");
16
16
  var i18n = _interopRequireWildcard(require("../i18n"));
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
20
  function validateEmail(str) {
21
21
  var strictValidation = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@@ -29,10 +29,10 @@ var _immutable = require("immutable");
29
29
  var _trim = _interopRequireDefault(require("trim"));
30
30
  var _option_selection_pane = _interopRequireDefault(require("./option_selection_pane"));
31
31
  var l = _interopRequireWildcard(require("../core/index"));
32
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
33
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
32
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
33
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
34
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
35
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
35
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
36
36
  var minMax = function minMax(value, min, max) {
37
37
  return value.length >= min && value.length <= max;
38
38
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -12,8 +12,8 @@ var c = _interopRequireWildcard(require("../index"));
12
12
  var _index2 = require("../../store/index");
13
13
  var l = _interopRequireWildcard(require("../../core/index"));
14
14
  var _mfa_code = require("../mfa_code");
15
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
18
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
19
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
@@ -27,7 +27,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
27
27
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
28
28
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
29
29
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
30
- var MFACodePane = /*#__PURE__*/function (_React$Component) {
30
+ var MFACodePane = exports.default = /*#__PURE__*/function (_React$Component) {
31
31
  _inherits(MFACodePane, _React$Component);
32
32
  var _super = _createSuper(MFACodePane);
33
33
  function MFACodePane() {
@@ -59,7 +59,6 @@ var MFACodePane = /*#__PURE__*/function (_React$Component) {
59
59
  }]);
60
60
  return MFACodePane;
61
61
  }(_react.default.Component);
62
- exports.default = MFACodePane;
63
62
  MFACodePane.propTypes = {
64
63
  i18n: _propTypes.default.object.isRequired,
65
64
  lock: _propTypes.default.object.isRequired,
@@ -9,7 +9,7 @@ var _list = _interopRequireDefault(require("../ui/list"));
9
9
  var _actions = require("./actions");
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
  // TODO: these actions should be passed as props
12
- var _default = function _default(_ref) {
12
+ var _default = exports.default = function _default(_ref) {
13
13
  var icon = _ref.icon,
14
14
  iconUrl = _ref.iconUrl,
15
15
  model = _ref.model,
@@ -28,4 +28,3 @@ var _default = function _default(_ref) {
28
28
  }
29
29
  });
30
30
  };
31
- exports.default = _default;
@@ -11,10 +11,10 @@ var c = _interopRequireWildcard(require("../index"));
11
11
  var _index2 = require("../../store/index");
12
12
  var l = _interopRequireWildcard(require("../../core/index"));
13
13
  var _password = require("../password");
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
17
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
18
18
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
19
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
20
20
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -28,7 +28,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
28
28
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29
29
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
30
30
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
31
- var PasswordPane = /*#__PURE__*/function (_React$Component) {
31
+ var PasswordPane = exports.default = /*#__PURE__*/function (_React$Component) {
32
32
  _inherits(PasswordPane, _React$Component);
33
33
  var _super = _createSuper(PasswordPane);
34
34
  function PasswordPane() {
@@ -94,7 +94,6 @@ var PasswordPane = /*#__PURE__*/function (_React$Component) {
94
94
  }]);
95
95
  return PasswordPane;
96
96
  }(_react.default.Component);
97
- exports.default = PasswordPane;
98
97
  PasswordPane.propTypes = {
99
98
  i18n: _propTypes.default.object.isRequired,
100
99
  lock: _propTypes.default.object.isRequired,
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = [['Afghanistan', 'AF', '+93'], ['Albania', 'AL', '+355'], ['Algeria', 'DZ', '+213'], ['American Samoa', 'AS', '+1684'], ['Andorra', 'AD', '+376'], ['Angola', 'AO', '+244'], ['Anguilla', 'AI', '+1264'], ['Antarctica', 'AQ', '+672'], ['Antigua and Barbuda', 'AG', '+1268'], ['Argentina', 'AR', '+54 9'], ['Armenia', 'AM', '+374'], ['Aruba', 'AW', '+297'], ['Australia', 'AU', '+61'], ['Austria', 'AT', '+43'], ['Azerbaijan', 'AZ', '+994'], ['Bahamas', 'BS', '+1242'], ['Bahrain', 'BH', '+973'], ['Bangladesh', 'BD', '+880'], ['Barbados', 'BB', '+1246'], ['Belarus', 'BY', '+375'], ['Belgium', 'BE', '+32'], ['Belize', 'BZ', '+501'], ['Benin', 'BJ', '+229'], ['Bermuda', 'BM', '+1441'], ['Bhutan', 'BT', '+975'], ['Bolivia, Plurinational State of', 'BO', '+591'], ['Bonaire, Sint Eustatius and Saba', 'BQ', '+599'], ['Bosnia and Herzegovina', 'BA', '+387'], ['Botswana', 'BW', '+267'], ['Bouvet Island', 'BV', '+47'], ['Brazil', 'BR', '+55'], ['British Indian Ocean Territory', 'IO', '+246'], ['Brunei Darussalam', 'BN', '+673'], ['Bulgaria', 'BG', '+359'], ['Burkina Faso', 'BF', '+226'], ['Burundi', 'BI', '+257'], ['Cambodia', 'KH', '+855'], ['Cameroon', 'CM', '+237'], ['Canada', 'CA', '+1'], ['Cape Verde', 'CV', '+238'], ['Cayman Islands', 'KY', '+1345'], ['Central African Republic', 'CF', '+236'], ['Chad', 'TD', '+235'], ['Chile', 'CL', '+56'], ['China', 'CN', '+86'], ['Christmas Island', 'CX', '+61'], ['Cocos (Keeling) Islands', 'CC', '+61'], ['Colombia', 'CO', '+57'], ['Comoros', 'KM', '+269'], ['Congo', 'CG', '+242'], ['Congo, the Democratic Republic of the', 'CD', '+243'], ['Cook Islands', 'CK', '+682'], ['Costa Rica', 'CR', '+506'], ['Croatia', 'HR', '+385'], ['Cuba', 'CU', '+53'], ['Curaçao', 'CW', '+599'], ['Cyprus', 'CY', '+357'], ['Czech Republic', 'CZ', '+420'], ["Côte d'Ivoire", 'CI', '+225'], ['Denmark', 'DK', '+45'], ['Djibouti', 'DJ', '+253'], ['Dominica', 'DM', '+1767'], ['Dominican Republic', 'DO', '+1809'], ['Dominican Republic', 'DO', '+1829'], ['Dominican Republic', 'DO', '+1849'], ['Ecuador', 'EC', '+593'], ['Egypt', 'EG', '+20'], ['El Salvador', 'SV', '+503'], ['Equatorial Guinea', 'GQ', '+240'], ['Eritrea', 'ER', '+291'], ['Estonia', 'EE', '+372'], ['Ethiopia', 'ET', '+251'], ['Falkland Islands (Malvinas)', 'FK', '+500'], ['Faroe Islands', 'FO', '+298'], ['Fiji', 'FJ', '+679'], ['Finland', 'FI', '+358'], ['France', 'FR', '+33'], ['French Guiana', 'GF', '+594'], ['French Polynesia', 'PF', '+689'], ['French Southern Territories', 'TF', '+262'], ['Gabon', 'GA', '+241'], ['Gambia', 'GM', '+220'], ['Georgia', 'GE', '+995'], ['Germany', 'DE', '+49'], ['Ghana', 'GH', '+233'], ['Gibraltar', 'GI', '+350'], ['Greece', 'GR', '+30'], ['Greenland', 'GL', '+299'], ['Grenada', 'GD', '+1473'], ['Guadeloupe', 'GP', '+590'], ['Guam', 'GU', '+1671'], ['Guatemala', 'GT', '+502'], ['Guernsey', 'GG', '+44'], ['Guinea', 'GN', '+224'], ['Guinea-Bissau', 'GW', '+245'], ['Guyana', 'GY', '+592'], ['Haiti', 'HT', '+509'], ['Heard Island and McDonald Mcdonald Islands', 'HM', '+672'], ['Holy See (Vatican City State)', 'VA', '+3906'], ['Honduras', 'HN', '+504'], ['Hong Kong', 'HK', '+852'], ['Hungary', 'HU', '+36'], ['Iceland', 'IS', '+354'], ['India', 'IN', '+91'], ['Indonesia', 'ID', '+62'], ['Iran, Islamic Republic of', 'IR', '+98'], ['Iraq', 'IQ', '+964'], ['Ireland', 'IE', '+353'], ['Isle of Man', 'IM', '+44'], ['Israel', 'IL', '+972'], ['Italy', 'IT', '+39'], ['Jamaica', 'JM', '+1876'], ['Japan', 'JP', '+81'], ['Jersey', 'JE', '+44'], ['Jordan', 'JO', '+962'], ['Kazakhstan', 'KZ', '+7'], ['Kenya', 'KE', '+254'], ['Kiribati', 'KI', '+686'], ["Korea, Democratic People's Republic of", 'KP', '+850'], ['Korea, Republic of', 'KR', '+82'], ['Kuwait', 'KW', '+965'], ['Kyrgyzstan', 'KG', '+996'], ["Lao People's Democratic Republic", 'LA', '+856'], ['Latvia', 'LV', '+371'], ['Lebanon', 'LB', '+961'], ['Lesotho', 'LS', '+266'], ['Liberia', 'LR', '+231'], ['Libya', 'LY', '+218'], ['Liechtenstein', 'LI', '+423'], ['Lithuania', 'LT', '+370'], ['Luxembourg', 'LU', '+352'], ['Macao', 'MO', '+853'], ['Macedonia, the Former Yugoslav Republic of', 'MK', '+389'], ['Madagascar', 'MG', '+261'], ['Malawi', 'MW', '+265'], ['Malaysia', 'MY', '+60'], ['Maldives', 'MV', '+960'], ['Mali', 'ML', '+223'], ['Malta', 'MT', '+356'], ['Marshall Islands', 'MH', '+692'], ['Martinique', 'MQ', '+596'], ['Mauritania', 'MR', '+222'], ['Mauritius', 'MU', '+230'], ['Mayotte', 'YT', '+262'], ['Mexico', 'MX', '+52'], ['Micronesia, Federated States of', 'FM', '+691'], ['Moldova, Republic of', 'MD', '+373'], ['Monaco', 'MC', '+377'], ['Mongolia', 'MN', '+976'], ['Montenegro', 'ME', '+382'], ['Montserrat', 'MS', '+1664'], ['Morocco', 'MA', '+212'], ['Mozambique', 'MZ', '+258'], ['Myanmar', 'MM', '+95'], ['Namibia', 'NA', '+264'], ['Nauru', 'NR', '+674'], ['Nepal', 'NP', '+977'], ['Netherlands', 'NL', '+31'], ['New Caledonia', 'NC', '+687'], ['New Zealand', 'NZ', '+64'], ['Nicaragua', 'NI', '+505'], ['Niger', 'NE', '+227'], ['Nigeria', 'NG', '+234'], ['Niue', 'NU', '+683'], ['Norfolk Island', 'NF', '+672'], ['Northern Mariana Islands', 'MP', '+1670'], ['Norway', 'NO', '+47'], ['Oman', 'OM', '+968'], ['Pakistan', 'PK', '+92'], ['Palau', 'PW', '+680'], ['Palestine, State of', 'PS', '+970'], ['Panama', 'PA', '+507'], ['Papua New Guinea', 'PG', '+675'], ['Paraguay', 'PY', '+595'], ['Peru', 'PE', '+51'], ['Philippines', 'PH', '+63'], ['Pitcairn', 'PN', '+870'], ['Poland', 'PL', '+48'], ['Portugal', 'PT', '+351'], ['Puerto Rico', 'PR', '+1'], ['Qatar', 'QA', '+974'], ['Romania', 'RO', '+40'], ['Russian Federation', 'RU', '+7'], ['Rwanda', 'RW', '+250'], ['Réunion', 'RE', '+262'], ['Saint Barthélemy', 'BL', '+590'], ['Saint Helena, Ascension and Tristan da Cunha', 'SH', '+290'], ['Saint Kitts and Nevis', 'KN', '+1869'], ['Saint Lucia', 'LC', '+1758'], ['Saint Martin (French part)', 'MF', '+590'], ['Saint Pierre and Miquelon', 'PM', '+508'], ['Saint Vincent and the Grenadines', 'VC', '+1784'], ['Samoa', 'WS', '+685'], ['San Marino', 'SM', '+378'], ['Sao Tome and Principe', 'ST', '+239'], ['Saudi Arabia', 'SA', '+966'], ['Senegal', 'SN', '+221'], ['Serbia', 'RS', '+381'], ['Seychelles', 'SC', '+248'], ['Sierra Leone', 'SL', '+232'], ['Singapore', 'SG', '+65'], ['Sint Maarten (Dutch part)', 'SX', '+1721'], ['Slovakia', 'SK', '+421'], ['Slovenia', 'SI', '+386'], ['Solomon Islands', 'SB', '+677'], ['Somalia', 'SO', '+252'], ['South Africa', 'ZA', '+27'], ['South Georgia and the South Sandwich Islands', 'GS', '+500'], ['South Sudan', 'SS', '+211'], ['Spain', 'ES', '+34'], ['Sri Lanka', 'LK', '+94'], ['Sudan', 'SD', '+249'], ['Suriname', 'SR', '+597'], ['Svalbard and Jan Mayen', 'SJ', '+47'], ['Swaziland', 'SZ', '+268'], ['Sweden', 'SE', '+46'], ['Switzerland', 'CH', '+41'], ['Syrian Arab Republic', 'SY', '+963'], ['Taiwan, Province of China', 'TW', '+886'], ['Tajikistan', 'TJ', '+992'], ['Tanzania, United Republic of', 'TZ', '+255'], ['Thailand', 'TH', '+66'], ['Timor-Leste', 'TL', '+670'], ['Togo', 'TG', '+228'], ['Tokelau', 'TK', '+690'], ['Tonga', 'TO', '+676'], ['Trinidad and Tobago', 'TT', '+1868'], ['Tunisia', 'TN', '+216'], ['Turkey', 'TR', '+90'], ['Turkmenistan', 'TM', '+993'], ['Turks and Caicos Islands', 'TC', '+1649'], ['Tuvalu', 'TV', '+688'], ['Uganda', 'UG', '+256'], ['Ukraine', 'UA', '+380'], ['United Arab Emirates', 'AE', '+971'], ['United Kingdom', 'GB', '+44'], ['United States', 'US', '+1'], ['Uruguay', 'UY', '+598'], ['Uzbekistan', 'UZ', '+998'], ['Vanuatu', 'VU', '+678'], ['Venezuela, Bolivarian Republic of', 'VE', '+58'], ['Viet Nam', 'VN', '+84'], ['Virgin Islands, British', 'VG', '+1284'], ['Virgin Islands, U.S.', 'VI', '+1340'], ['Wallis and Futuna', 'WF', '+681'], ['Western Sahara', 'EH', '+212'], ['Yemen', 'YE', '+967'], ['Zambia', 'ZM', '+260'], ['Zimbabwe', 'ZW', '+263'], ['Åland Islands', 'AX', '+358']];
8
- exports.default = _default;
7
+ var _default = exports.default = [['Afghanistan', 'AF', '+93'], ['Albania', 'AL', '+355'], ['Algeria', 'DZ', '+213'], ['American Samoa', 'AS', '+1684'], ['Andorra', 'AD', '+376'], ['Angola', 'AO', '+244'], ['Anguilla', 'AI', '+1264'], ['Antarctica', 'AQ', '+672'], ['Antigua and Barbuda', 'AG', '+1268'], ['Argentina', 'AR', '+54 9'], ['Armenia', 'AM', '+374'], ['Aruba', 'AW', '+297'], ['Australia', 'AU', '+61'], ['Austria', 'AT', '+43'], ['Azerbaijan', 'AZ', '+994'], ['Bahamas', 'BS', '+1242'], ['Bahrain', 'BH', '+973'], ['Bangladesh', 'BD', '+880'], ['Barbados', 'BB', '+1246'], ['Belarus', 'BY', '+375'], ['Belgium', 'BE', '+32'], ['Belize', 'BZ', '+501'], ['Benin', 'BJ', '+229'], ['Bermuda', 'BM', '+1441'], ['Bhutan', 'BT', '+975'], ['Bolivia, Plurinational State of', 'BO', '+591'], ['Bonaire, Sint Eustatius and Saba', 'BQ', '+599'], ['Bosnia and Herzegovina', 'BA', '+387'], ['Botswana', 'BW', '+267'], ['Bouvet Island', 'BV', '+47'], ['Brazil', 'BR', '+55'], ['British Indian Ocean Territory', 'IO', '+246'], ['Brunei Darussalam', 'BN', '+673'], ['Bulgaria', 'BG', '+359'], ['Burkina Faso', 'BF', '+226'], ['Burundi', 'BI', '+257'], ['Cambodia', 'KH', '+855'], ['Cameroon', 'CM', '+237'], ['Canada', 'CA', '+1'], ['Cape Verde', 'CV', '+238'], ['Cayman Islands', 'KY', '+1345'], ['Central African Republic', 'CF', '+236'], ['Chad', 'TD', '+235'], ['Chile', 'CL', '+56'], ['China', 'CN', '+86'], ['Christmas Island', 'CX', '+61'], ['Cocos (Keeling) Islands', 'CC', '+61'], ['Colombia', 'CO', '+57'], ['Comoros', 'KM', '+269'], ['Congo', 'CG', '+242'], ['Congo, the Democratic Republic of the', 'CD', '+243'], ['Cook Islands', 'CK', '+682'], ['Costa Rica', 'CR', '+506'], ['Croatia', 'HR', '+385'], ['Cuba', 'CU', '+53'], ['Curaçao', 'CW', '+599'], ['Cyprus', 'CY', '+357'], ['Czech Republic', 'CZ', '+420'], ["Côte d'Ivoire", 'CI', '+225'], ['Denmark', 'DK', '+45'], ['Djibouti', 'DJ', '+253'], ['Dominica', 'DM', '+1767'], ['Dominican Republic', 'DO', '+1809'], ['Dominican Republic', 'DO', '+1829'], ['Dominican Republic', 'DO', '+1849'], ['Ecuador', 'EC', '+593'], ['Egypt', 'EG', '+20'], ['El Salvador', 'SV', '+503'], ['Equatorial Guinea', 'GQ', '+240'], ['Eritrea', 'ER', '+291'], ['Estonia', 'EE', '+372'], ['Ethiopia', 'ET', '+251'], ['Falkland Islands (Malvinas)', 'FK', '+500'], ['Faroe Islands', 'FO', '+298'], ['Fiji', 'FJ', '+679'], ['Finland', 'FI', '+358'], ['France', 'FR', '+33'], ['French Guiana', 'GF', '+594'], ['French Polynesia', 'PF', '+689'], ['French Southern Territories', 'TF', '+262'], ['Gabon', 'GA', '+241'], ['Gambia', 'GM', '+220'], ['Georgia', 'GE', '+995'], ['Germany', 'DE', '+49'], ['Ghana', 'GH', '+233'], ['Gibraltar', 'GI', '+350'], ['Greece', 'GR', '+30'], ['Greenland', 'GL', '+299'], ['Grenada', 'GD', '+1473'], ['Guadeloupe', 'GP', '+590'], ['Guam', 'GU', '+1671'], ['Guatemala', 'GT', '+502'], ['Guernsey', 'GG', '+44'], ['Guinea', 'GN', '+224'], ['Guinea-Bissau', 'GW', '+245'], ['Guyana', 'GY', '+592'], ['Haiti', 'HT', '+509'], ['Heard Island and McDonald Mcdonald Islands', 'HM', '+672'], ['Holy See (Vatican City State)', 'VA', '+3906'], ['Honduras', 'HN', '+504'], ['Hong Kong', 'HK', '+852'], ['Hungary', 'HU', '+36'], ['Iceland', 'IS', '+354'], ['India', 'IN', '+91'], ['Indonesia', 'ID', '+62'], ['Iran, Islamic Republic of', 'IR', '+98'], ['Iraq', 'IQ', '+964'], ['Ireland', 'IE', '+353'], ['Isle of Man', 'IM', '+44'], ['Israel', 'IL', '+972'], ['Italy', 'IT', '+39'], ['Jamaica', 'JM', '+1876'], ['Japan', 'JP', '+81'], ['Jersey', 'JE', '+44'], ['Jordan', 'JO', '+962'], ['Kazakhstan', 'KZ', '+7'], ['Kenya', 'KE', '+254'], ['Kiribati', 'KI', '+686'], ["Korea, Democratic People's Republic of", 'KP', '+850'], ['Korea, Republic of', 'KR', '+82'], ['Kuwait', 'KW', '+965'], ['Kyrgyzstan', 'KG', '+996'], ["Lao People's Democratic Republic", 'LA', '+856'], ['Latvia', 'LV', '+371'], ['Lebanon', 'LB', '+961'], ['Lesotho', 'LS', '+266'], ['Liberia', 'LR', '+231'], ['Libya', 'LY', '+218'], ['Liechtenstein', 'LI', '+423'], ['Lithuania', 'LT', '+370'], ['Luxembourg', 'LU', '+352'], ['Macao', 'MO', '+853'], ['Macedonia, the Former Yugoslav Republic of', 'MK', '+389'], ['Madagascar', 'MG', '+261'], ['Malawi', 'MW', '+265'], ['Malaysia', 'MY', '+60'], ['Maldives', 'MV', '+960'], ['Mali', 'ML', '+223'], ['Malta', 'MT', '+356'], ['Marshall Islands', 'MH', '+692'], ['Martinique', 'MQ', '+596'], ['Mauritania', 'MR', '+222'], ['Mauritius', 'MU', '+230'], ['Mayotte', 'YT', '+262'], ['Mexico', 'MX', '+52'], ['Micronesia, Federated States of', 'FM', '+691'], ['Moldova, Republic of', 'MD', '+373'], ['Monaco', 'MC', '+377'], ['Mongolia', 'MN', '+976'], ['Montenegro', 'ME', '+382'], ['Montserrat', 'MS', '+1664'], ['Morocco', 'MA', '+212'], ['Mozambique', 'MZ', '+258'], ['Myanmar', 'MM', '+95'], ['Namibia', 'NA', '+264'], ['Nauru', 'NR', '+674'], ['Nepal', 'NP', '+977'], ['Netherlands', 'NL', '+31'], ['New Caledonia', 'NC', '+687'], ['New Zealand', 'NZ', '+64'], ['Nicaragua', 'NI', '+505'], ['Niger', 'NE', '+227'], ['Nigeria', 'NG', '+234'], ['Niue', 'NU', '+683'], ['Norfolk Island', 'NF', '+672'], ['Northern Mariana Islands', 'MP', '+1670'], ['Norway', 'NO', '+47'], ['Oman', 'OM', '+968'], ['Pakistan', 'PK', '+92'], ['Palau', 'PW', '+680'], ['Palestine, State of', 'PS', '+970'], ['Panama', 'PA', '+507'], ['Papua New Guinea', 'PG', '+675'], ['Paraguay', 'PY', '+595'], ['Peru', 'PE', '+51'], ['Philippines', 'PH', '+63'], ['Pitcairn', 'PN', '+870'], ['Poland', 'PL', '+48'], ['Portugal', 'PT', '+351'], ['Puerto Rico', 'PR', '+1'], ['Qatar', 'QA', '+974'], ['Romania', 'RO', '+40'], ['Russian Federation', 'RU', '+7'], ['Rwanda', 'RW', '+250'], ['Réunion', 'RE', '+262'], ['Saint Barthélemy', 'BL', '+590'], ['Saint Helena, Ascension and Tristan da Cunha', 'SH', '+290'], ['Saint Kitts and Nevis', 'KN', '+1869'], ['Saint Lucia', 'LC', '+1758'], ['Saint Martin (French part)', 'MF', '+590'], ['Saint Pierre and Miquelon', 'PM', '+508'], ['Saint Vincent and the Grenadines', 'VC', '+1784'], ['Samoa', 'WS', '+685'], ['San Marino', 'SM', '+378'], ['Sao Tome and Principe', 'ST', '+239'], ['Saudi Arabia', 'SA', '+966'], ['Senegal', 'SN', '+221'], ['Serbia', 'RS', '+381'], ['Seychelles', 'SC', '+248'], ['Sierra Leone', 'SL', '+232'], ['Singapore', 'SG', '+65'], ['Sint Maarten (Dutch part)', 'SX', '+1721'], ['Slovakia', 'SK', '+421'], ['Slovenia', 'SI', '+386'], ['Solomon Islands', 'SB', '+677'], ['Somalia', 'SO', '+252'], ['South Africa', 'ZA', '+27'], ['South Georgia and the South Sandwich Islands', 'GS', '+500'], ['South Sudan', 'SS', '+211'], ['Spain', 'ES', '+34'], ['Sri Lanka', 'LK', '+94'], ['Sudan', 'SD', '+249'], ['Suriname', 'SR', '+597'], ['Svalbard and Jan Mayen', 'SJ', '+47'], ['Swaziland', 'SZ', '+268'], ['Sweden', 'SE', '+46'], ['Switzerland', 'CH', '+41'], ['Syrian Arab Republic', 'SY', '+963'], ['Taiwan, Province of China', 'TW', '+886'], ['Tajikistan', 'TJ', '+992'], ['Tanzania, United Republic of', 'TZ', '+255'], ['Thailand', 'TH', '+66'], ['Timor-Leste', 'TL', '+670'], ['Togo', 'TG', '+228'], ['Tokelau', 'TK', '+690'], ['Tonga', 'TO', '+676'], ['Trinidad and Tobago', 'TT', '+1868'], ['Tunisia', 'TN', '+216'], ['Turkey', 'TR', '+90'], ['Turkmenistan', 'TM', '+993'], ['Turks and Caicos Islands', 'TC', '+1649'], ['Tuvalu', 'TV', '+688'], ['Uganda', 'UG', '+256'], ['Ukraine', 'UA', '+380'], ['United Arab Emirates', 'AE', '+971'], ['United Kingdom', 'GB', '+44'], ['United States', 'US', '+1'], ['Uruguay', 'UY', '+598'], ['Uzbekistan', 'UZ', '+998'], ['Vanuatu', 'VU', '+678'], ['Venezuela, Bolivarian Republic of', 'VE', '+58'], ['Viet Nam', 'VN', '+84'], ['Virgin Islands, British', 'VG', '+1284'], ['Virgin Islands, U.S.', 'VI', '+1340'], ['Wallis and Futuna', 'WF', '+681'], ['Western Sahara', 'EH', '+212'], ['Yemen', 'YE', '+967'], ['Zambia', 'ZM', '+260'], ['Zimbabwe', 'ZW', '+263'], ['Åland Islands', 'AX', '+358']];