@ozdao/prometheus-framework 0.1.26 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Chips-493042f7.js +1 -0
- package/dist/Chips-9cf6c0da.mjs +286 -0
- package/dist/Feed-27f62b1c.mjs +368 -0
- package/dist/Feed-7c8c901a.mjs +380 -0
- package/dist/Feed-aee74095.js +1 -0
- package/dist/Feed-bfd7d1d9.js +1 -0
- package/dist/Image-1f7252c0.mjs +477 -0
- package/dist/Image-448f9228.js +9 -0
- package/dist/Product-3c9c8197.js +7 -0
- package/dist/Product-748ec8b7.mjs +842 -0
- package/dist/Product-852f952c.js +7 -0
- package/dist/Product-bbdc8460.mjs +841 -0
- package/dist/ProductEdit-17f4e395.mjs +304 -0
- package/dist/ProductEdit-4af06681.js +1 -0
- package/dist/ProductEdit-4f9b6d56.js +1 -0
- package/dist/ProductEdit-a1050ab6.mjs +303 -0
- package/dist/ProfileBlogposts-03d04b92.mjs +66 -0
- package/dist/ProfileBlogposts-f9312adf.js +1 -0
- package/dist/ProfileComments-6d863cd3.mjs +45 -0
- package/dist/ProfileComments-e6970923.js +1 -0
- package/dist/ProfileEvents-917169c6.mjs +58 -0
- package/dist/ProfileEvents-996bce18.js +1 -0
- package/dist/ProfileLikes-0402d1fb.js +1 -0
- package/dist/ProfileLikes-92196922.mjs +45 -0
- package/dist/auth.client.cjs +8 -8
- package/dist/auth.client.js +581 -602
- package/dist/auth.validation-2cdd2231.mjs +17 -0
- package/dist/auth.validation-30bb0efd.js +1 -0
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +65 -65
- package/dist/components/CardFooter/CardFooter.vue.d.ts +1 -1
- package/dist/components/CardHeader/CardHeader.vue.d.ts +1 -1
- package/dist/events.client.cjs +2 -2
- package/dist/events.client.js +6 -6
- package/dist/legal.client.cjs +1 -1
- package/dist/legal.client.js +2668 -2605
- package/dist/modules/community/components/blocks/FooterBlogpost.vue.d.ts +1 -1
- package/dist/modules/community/components/sections/Feed.vue.d.ts +1 -1
- package/dist/modules/events/components/blocks/CardEvent.vue.d.ts +3 -3
- package/dist/modules/events/components/sections/Feed.vue.d.ts +1 -1
- package/dist/modules/events/components/sections/List.vue.d.ts +1 -1
- package/dist/modules/organizations/components/sections/Feed.vue.d.ts +1 -1
- package/dist/modules/organizations/components/sections/Organizations.vue.d.ts +1 -1
- package/dist/organizations.client-13fc2cbe.js +3 -0
- package/dist/organizations.client-39196bef.mjs +3041 -0
- package/dist/organizations.client-85a2ae66.js +3 -0
- package/dist/organizations.client-91e84d4f.mjs +3022 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +43 -42
- package/dist/states.validation-766a62a6.mjs +13 -0
- package/dist/states.validation-92231934.js +1 -0
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +199 -194
- package/package.json +1 -1
- package/src/components/CardFooter/CardFooter.vue +27 -30
- package/src/components/CardHeader/CardHeader.vue +56 -3
- package/src/modules/auth/components/pages/SignIn.vue +2 -2
- package/src/modules/community/components/layouts/Community.vue +5 -5
- package/src/modules/events/components/blocks/CardEvent.vue +3 -2
- package/src/modules/events/components/pages/EditEvent.vue +1 -1
- package/src/modules/events/router/events.js +1 -0
- package/src/modules/legal/components/pages/Legal.vue +33 -17
- package/src/modules/legal/legal.client.js +2 -0
- package/src/modules/legal/router/legal.js +51 -21
- package/src/modules/organizations/router/organizations.js +19 -0
- package/src/modules/users/router/users.js +36 -31
package/dist/auth.client.js
CHANGED
@@ -1,20 +1,21 @@
|
|
1
|
-
import { ref as
|
2
|
-
import { v as
|
1
|
+
import { ref as _, onMounted as $t, openBlock as v, createBlock as ue, unref as f, withCtx as C, createElementBlock as b, Fragment as ce, renderList as ut, createElementVNode as p, normalizeStyle as V, toDisplayString as y, resolveComponent as ve, createVNode as g, Transition as A, resolveDynamicComponent as Ft, reactive as ct, watch as ft, withDirectives as S, vModelText as Y, withAsyncContext as Dt, defineComponent as Rt, resolveDirective as Mt, normalizeClass as U, withKeys as re, createCommentVNode as R, vShow as H, vModelDynamic as zt, renderSlot as Lt, createTextVNode as z, inject as Ee } from "vue";
|
2
|
+
import { v as F, b as pt, c as be, d as _e } from "./inputs.validation-14e8e01f.mjs";
|
3
3
|
import { a as xt } from "./index-0ab9d59c.mjs";
|
4
4
|
import { C as kt, S as jt } from "./carousel.es-44c501bc.mjs";
|
5
|
-
import { useI18n as
|
6
|
-
import { useRoute as
|
7
|
-
import { b as
|
8
|
-
import { d as
|
9
|
-
import { s as
|
10
|
-
import { F as
|
11
|
-
import { _ as
|
5
|
+
import { useI18n as B } from "vue-i18n";
|
6
|
+
import { useRoute as L, useRouter as x } from "vue-router";
|
7
|
+
import { b as ie, c as mt, s as m, a as K } from "./auth-b047fdc0.mjs";
|
8
|
+
import { d as M1, t as z1 } from "./auth-b047fdc0.mjs";
|
9
|
+
import { s as M } from "./globals-96ba60e4.mjs";
|
10
|
+
import { F as D, _ as X } from "./Button-d8e72ac0.mjs";
|
11
|
+
import { _ as Ce } from "./Tab-a243605d.mjs";
|
12
12
|
import { _ as Bt } from "./_plugin-vue_export-helper-dad06003.mjs";
|
13
|
-
import { r as
|
14
|
-
|
13
|
+
import { r as oe, c as Te } from "./states.validation-766a62a6.mjs";
|
14
|
+
import { a as G } from "./auth.validation-2cdd2231.mjs";
|
15
|
+
const Ut = { class: "parent-div" }, Gt = { class: "mn-small" }, Vt = { class: "mn-big mn-r-small mn-l-small" }, T1 = {
|
15
16
|
__name: "SliderFeatures",
|
16
17
|
setup(e) {
|
17
|
-
const n =
|
18
|
+
const n = _(null), t = {
|
18
19
|
messages: {
|
19
20
|
en: {
|
20
21
|
features: [
|
@@ -57,12 +58,12 @@ const Ut = { class: "parent-div" }, Gt = { class: "mn-small" }, Vt = { class: "m
|
|
57
58
|
]
|
58
59
|
}
|
59
60
|
}
|
60
|
-
}, { tm: d, rt: r } =
|
61
|
-
return
|
61
|
+
}, { tm: d, rt: r } = B(t), i = _(!1);
|
62
|
+
return $t(() => {
|
62
63
|
setTimeout(() => {
|
63
64
|
n.value.restartCarousel(), i.value = !0;
|
64
65
|
}, "500");
|
65
|
-
}), (o, a) => (
|
66
|
+
}), (o, a) => (v(), ue(f(kt), {
|
66
67
|
ref_key: "ImagesSlider",
|
67
68
|
ref: n,
|
68
69
|
"items-to-show": 1,
|
@@ -72,19 +73,19 @@ const Ut = { class: "parent-div" }, Gt = { class: "mn-small" }, Vt = { class: "m
|
|
72
73
|
pauseAutoplayOnHover: !0,
|
73
74
|
class: "bg-grey w-100"
|
74
75
|
}, {
|
75
|
-
default:
|
76
|
-
(
|
76
|
+
default: C(() => [
|
77
|
+
(v(!0), b(ce, null, ut(f(d)("features"), ($, s) => (v(), ue(f(jt), {
|
77
78
|
key: s,
|
78
79
|
class: "w-100 flex-v-center flex"
|
79
80
|
}, {
|
80
|
-
default:
|
81
|
+
default: C(() => [
|
81
82
|
p("div", Ut, [
|
82
83
|
p("div", {
|
83
84
|
class: "background-div",
|
84
|
-
style:
|
85
|
+
style: V(`background-image: url(/assets/images/features/${s}.png); background-size: auto 100%; background-repeat: no-repeat; background-position: center center;`)
|
85
86
|
}, null, 4),
|
86
|
-
p("h4", Gt,
|
87
|
-
p("p", Vt,
|
87
|
+
p("h4", Gt, y($.title), 1),
|
88
|
+
p("p", Vt, y($.description), 1)
|
88
89
|
])
|
89
90
|
]),
|
90
91
|
_: 2
|
@@ -98,22 +99,22 @@ function Kt(e, n) {
|
|
98
99
|
var t = Array.prototype.slice.call(n);
|
99
100
|
return t.push(Ht), e.apply(this, t);
|
100
101
|
}
|
101
|
-
function
|
102
|
+
function fe(e) {
|
102
103
|
"@babel/helpers - typeof";
|
103
|
-
return
|
104
|
+
return fe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
104
105
|
return typeof n;
|
105
106
|
} : function(n) {
|
106
107
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
107
|
-
},
|
108
|
+
}, fe(e);
|
108
109
|
}
|
109
|
-
function
|
110
|
+
function Ae(e, n) {
|
110
111
|
for (var t = 0; t < n.length; t++) {
|
111
112
|
var d = n[t];
|
112
113
|
d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(e, d.key, d);
|
113
114
|
}
|
114
115
|
}
|
115
116
|
function Wt(e, n, t) {
|
116
|
-
return n &&
|
117
|
+
return n && Ae(e.prototype, n), t && Ae(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
117
118
|
}
|
118
119
|
function qt(e, n) {
|
119
120
|
if (!(e instanceof n))
|
@@ -122,14 +123,14 @@ function qt(e, n) {
|
|
122
123
|
function Xt(e, n) {
|
123
124
|
if (typeof n != "function" && n !== null)
|
124
125
|
throw new TypeError("Super expression must either be null or a function");
|
125
|
-
e.prototype = Object.create(n && n.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), n &&
|
126
|
+
e.prototype = Object.create(n && n.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), n && W(e, n);
|
126
127
|
}
|
127
128
|
function Yt(e) {
|
128
|
-
var n =
|
129
|
+
var n = yt();
|
129
130
|
return function() {
|
130
|
-
var d =
|
131
|
+
var d = q(e), r;
|
131
132
|
if (n) {
|
132
|
-
var i =
|
133
|
+
var i = q(this).constructor;
|
133
134
|
r = Reflect.construct(d, arguments, i);
|
134
135
|
} else
|
135
136
|
r = d.apply(this, arguments);
|
@@ -137,20 +138,20 @@ function Yt(e) {
|
|
137
138
|
};
|
138
139
|
}
|
139
140
|
function Zt(e, n) {
|
140
|
-
if (n && (
|
141
|
+
if (n && (fe(n) === "object" || typeof n == "function"))
|
141
142
|
return n;
|
142
143
|
if (n !== void 0)
|
143
144
|
throw new TypeError("Derived constructors may only return object or undefined");
|
144
|
-
return
|
145
|
+
return ht(e);
|
145
146
|
}
|
146
|
-
function
|
147
|
+
function ht(e) {
|
147
148
|
if (e === void 0)
|
148
149
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
149
150
|
return e;
|
150
151
|
}
|
151
|
-
function
|
152
|
+
function pe(e) {
|
152
153
|
var n = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
153
|
-
return
|
154
|
+
return pe = function(d) {
|
154
155
|
if (d === null || !Jt(d))
|
155
156
|
return d;
|
156
157
|
if (typeof d != "function")
|
@@ -161,20 +162,20 @@ function me(e) {
|
|
161
162
|
n.set(d, r);
|
162
163
|
}
|
163
164
|
function r() {
|
164
|
-
return
|
165
|
+
return Z(d, arguments, q(this).constructor);
|
165
166
|
}
|
166
|
-
return r.prototype = Object.create(d.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }),
|
167
|
-
},
|
167
|
+
return r.prototype = Object.create(d.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), W(r, d);
|
168
|
+
}, pe(e);
|
168
169
|
}
|
169
|
-
function
|
170
|
-
return
|
170
|
+
function Z(e, n, t) {
|
171
|
+
return yt() ? Z = Reflect.construct : Z = function(r, i, o) {
|
171
172
|
var a = [null];
|
172
173
|
a.push.apply(a, i);
|
173
|
-
var
|
174
|
-
return o &&
|
175
|
-
},
|
174
|
+
var $ = Function.bind.apply(r, a), s = new $();
|
175
|
+
return o && W(s, o.prototype), s;
|
176
|
+
}, Z.apply(null, arguments);
|
176
177
|
}
|
177
|
-
function
|
178
|
+
function yt() {
|
178
179
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
179
180
|
return !1;
|
180
181
|
if (typeof Proxy == "function")
|
@@ -189,26 +190,26 @@ function gt() {
|
|
189
190
|
function Jt(e) {
|
190
191
|
return Function.toString.call(e).indexOf("[native code]") !== -1;
|
191
192
|
}
|
192
|
-
function
|
193
|
-
return
|
193
|
+
function W(e, n) {
|
194
|
+
return W = Object.setPrototypeOf || function(d, r) {
|
194
195
|
return d.__proto__ = r, d;
|
195
|
-
},
|
196
|
+
}, W(e, n);
|
196
197
|
}
|
197
|
-
function
|
198
|
-
return
|
198
|
+
function q(e) {
|
199
|
+
return q = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
|
199
200
|
return t.__proto__ || Object.getPrototypeOf(t);
|
200
|
-
},
|
201
|
+
}, q(e);
|
201
202
|
}
|
202
|
-
var
|
203
|
+
var N = /* @__PURE__ */ function(e) {
|
203
204
|
Xt(t, e);
|
204
205
|
var n = Yt(t);
|
205
206
|
function t(d) {
|
206
207
|
var r;
|
207
|
-
return qt(this, t), r = n.call(this, d), Object.setPrototypeOf(
|
208
|
+
return qt(this, t), r = n.call(this, d), Object.setPrototypeOf(ht(r), t.prototype), r.name = r.constructor.name, r;
|
208
209
|
}
|
209
210
|
return Wt(t);
|
210
|
-
}(/* @__PURE__ */
|
211
|
-
function
|
211
|
+
}(/* @__PURE__ */ pe(Error)), Pe = 2, Qt = 17, en = 3, I = "0-90-9٠-٩۰-۹", tn = "-‐-―−ー-", nn = "//", dn = "..", rn = " ", on = "()()[]\\[\\]", an = "~⁓∼~", J = "".concat(tn).concat(nn).concat(dn).concat(rn).concat(on).concat(an), we = "++";
|
212
|
+
function Fe(e, n) {
|
212
213
|
e = e.split("-"), n = n.split("-");
|
213
214
|
for (var t = e[0].split("."), d = n[0].split("."), r = 0; r < 3; r++) {
|
214
215
|
var i = Number(t[r]), o = Number(d[r]);
|
@@ -223,32 +224,32 @@ function De(e, n) {
|
|
223
224
|
}
|
224
225
|
return e[1] && n[1] ? e[1] > n[1] ? 1 : e[1] < n[1] ? -1 : 0 : !e[1] && n[1] ? 1 : e[1] && !n[1] ? -1 : 0;
|
225
226
|
}
|
226
|
-
function
|
227
|
+
function Q(e) {
|
227
228
|
"@babel/helpers - typeof";
|
228
|
-
return
|
229
|
+
return Q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
229
230
|
return typeof n;
|
230
231
|
} : function(n) {
|
231
232
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
232
|
-
},
|
233
|
+
}, Q(e);
|
233
234
|
}
|
234
|
-
function
|
235
|
+
function te(e, n) {
|
235
236
|
if (!(e instanceof n))
|
236
237
|
throw new TypeError("Cannot call a class as a function");
|
237
238
|
}
|
238
|
-
function
|
239
|
+
function De(e, n) {
|
239
240
|
for (var t = 0; t < n.length; t++) {
|
240
241
|
var d = n[t];
|
241
242
|
d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(e, d.key, d);
|
242
243
|
}
|
243
244
|
}
|
244
|
-
function
|
245
|
-
return n &&
|
245
|
+
function ne(e, n, t) {
|
246
|
+
return n && De(e.prototype, n), t && De(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
246
247
|
}
|
247
|
-
var sn = "1.2.0", ln = "1.7.35",
|
248
|
+
var sn = "1.2.0", ln = "1.7.35", Re = " ext. ", $n = /^\d+$/, w = /* @__PURE__ */ function() {
|
248
249
|
function e(n) {
|
249
|
-
|
250
|
+
te(this, e), pn(n), this.metadata = n, gt.call(this, n);
|
250
251
|
}
|
251
|
-
return
|
252
|
+
return ne(e, [{
|
252
253
|
key: "getCountries",
|
253
254
|
value: function() {
|
254
255
|
return Object.keys(this.metadata.countries).filter(function(t) {
|
@@ -302,11 +303,11 @@ var sn = "1.2.0", ln = "1.7.35", Me = " ext. ", $n = /^\d+$/, S = /* @__PURE__ *
|
|
302
303
|
if (t && $n.test(t) && (d = t, t = null), t && t !== "001") {
|
303
304
|
if (!this.hasCountry(t))
|
304
305
|
throw new Error("Unknown country: ".concat(t));
|
305
|
-
this.numberingPlan = new
|
306
|
+
this.numberingPlan = new Me(this.getCountryMetadata(t), this);
|
306
307
|
} else if (d) {
|
307
308
|
if (!this.hasCallingCode(d))
|
308
309
|
throw new Error("Unknown calling code: ".concat(d));
|
309
|
-
this.numberingPlan = new
|
310
|
+
this.numberingPlan = new Me(this.getNumberingPlanMetadata(d), this);
|
310
311
|
} else
|
311
312
|
this.numberingPlan = void 0;
|
312
313
|
return this;
|
@@ -430,11 +431,11 @@ var sn = "1.2.0", ln = "1.7.35", Me = " ext. ", $n = /^\d+$/, S = /* @__PURE__ *
|
|
430
431
|
return this.numberingPlan !== void 0;
|
431
432
|
}
|
432
433
|
}]), e;
|
433
|
-
}(),
|
434
|
+
}(), Me = /* @__PURE__ */ function() {
|
434
435
|
function e(n, t) {
|
435
|
-
|
436
|
+
te(this, e), this.globalMetadataObject = t, this.metadata = n, gt.call(this, t.metadata);
|
436
437
|
}
|
437
|
-
return
|
438
|
+
return ne(e, [{
|
438
439
|
key: "callingCode",
|
439
440
|
value: function() {
|
440
441
|
return this.metadata[0];
|
@@ -557,20 +558,20 @@ var sn = "1.2.0", ln = "1.7.35", Me = " ext. ", $n = /^\d+$/, S = /* @__PURE__ *
|
|
557
558
|
}, {
|
558
559
|
key: "type",
|
559
560
|
value: function(t) {
|
560
|
-
if (this.hasTypes() &&
|
561
|
-
return new fn(
|
561
|
+
if (this.hasTypes() && ze(this.types(), t))
|
562
|
+
return new fn(ze(this.types(), t), this);
|
562
563
|
}
|
563
564
|
}, {
|
564
565
|
key: "ext",
|
565
566
|
value: function() {
|
566
|
-
return this.v1 || this.v2 ?
|
567
|
+
return this.v1 || this.v2 ? Re : this.metadata[13] || Re;
|
567
568
|
}
|
568
569
|
}]), e;
|
569
570
|
}(), un = /* @__PURE__ */ function() {
|
570
571
|
function e(n, t) {
|
571
|
-
|
572
|
+
te(this, e), this._format = n, this.metadata = t;
|
572
573
|
}
|
573
|
-
return
|
574
|
+
return ne(e, [{
|
574
575
|
key: "pattern",
|
575
576
|
value: function() {
|
576
577
|
return this._format[0];
|
@@ -615,9 +616,9 @@ var sn = "1.2.0", ln = "1.7.35", Me = " ext. ", $n = /^\d+$/, S = /* @__PURE__ *
|
|
615
616
|
}]), e;
|
616
617
|
}(), cn = /^\(?\$1\)?$/, fn = /* @__PURE__ */ function() {
|
617
618
|
function e(n, t) {
|
618
|
-
|
619
|
+
te(this, e), this.type = n, this.metadata = t;
|
619
620
|
}
|
620
|
-
return
|
621
|
+
return ne(e, [{
|
621
622
|
key: "pattern",
|
622
623
|
value: function() {
|
623
624
|
return this.metadata.v1 ? this.type : this.type[0];
|
@@ -630,7 +631,7 @@ var sn = "1.2.0", ln = "1.7.35", Me = " ext. ", $n = /^\d+$/, S = /* @__PURE__ *
|
|
630
631
|
}
|
631
632
|
}]), e;
|
632
633
|
}();
|
633
|
-
function
|
634
|
+
function ze(e, n) {
|
634
635
|
switch (n) {
|
635
636
|
case "FIXED_LINE":
|
636
637
|
return e[0];
|
@@ -657,51 +658,51 @@ function Le(e, n) {
|
|
657
658
|
function pn(e) {
|
658
659
|
if (!e)
|
659
660
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
660
|
-
if (!
|
661
|
-
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(
|
661
|
+
if (!ae(e) || !ae(e.countries))
|
662
|
+
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(ae(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + mn(e) + ": " + e, "."));
|
662
663
|
}
|
663
|
-
var
|
664
|
-
return
|
664
|
+
var ae = function(n) {
|
665
|
+
return Q(n) === "object";
|
665
666
|
}, mn = function(n) {
|
666
|
-
return
|
667
|
+
return Q(n);
|
667
668
|
};
|
668
|
-
function
|
669
|
-
if (n = new
|
669
|
+
function Oe(e, n) {
|
670
|
+
if (n = new w(n), n.hasCountry(e))
|
670
671
|
return n.country(e).countryCallingCode();
|
671
672
|
throw new Error("Unknown country: ".concat(e));
|
672
673
|
}
|
673
674
|
function hn(e, n) {
|
674
675
|
return n.countries.hasOwnProperty(e);
|
675
676
|
}
|
676
|
-
function
|
677
|
+
function gt(e) {
|
677
678
|
var n = e.version;
|
678
|
-
typeof n == "number" ? (this.v1 = n === 1, this.v2 = n === 2, this.v3 = n === 3, this.v4 = n === 4) : n ?
|
679
|
+
typeof n == "number" ? (this.v1 = n === 1, this.v2 = n === 2, this.v3 = n === 3, this.v4 = n === 4) : n ? Fe(n, sn) === -1 ? this.v2 = !0 : Fe(n, ln) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
679
680
|
}
|
680
|
-
var yn = ";ext=",
|
681
|
-
return "([".concat(
|
681
|
+
var yn = ";ext=", k = function(n) {
|
682
|
+
return "([".concat(I, "]{1,").concat(n, "})");
|
682
683
|
};
|
683
|
-
function
|
684
|
-
var n = "20", t = "15", d = "9", r = "6", i = "[ \\t,]*", o = "[:\\..]?[ \\t,-]*", a = "#?",
|
685
|
-
return
|
684
|
+
function vt(e) {
|
685
|
+
var n = "20", t = "15", d = "9", r = "6", i = "[ \\t,]*", o = "[:\\..]?[ \\t,-]*", a = "#?", $ = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", s = "(?:[xx##~~]|int|int)", u = "[- ]+", l = "[ \\t]*", c = "(?:,{2}|;)", h = yn + k(n), O = i + $ + o + k(n) + a, de = i + s + o + k(d) + a, Et = u + k(r) + "#", Tt = l + c + o + k(t) + a, At = l + "(?:,)+" + o + k(d) + a;
|
686
|
+
return h + "|" + O + "|" + de + "|" + Et + "|" + Tt + "|" + At;
|
686
687
|
}
|
687
|
-
var gn = "[" +
|
688
|
-
"(?:" +
|
688
|
+
var gn = "[" + I + "]{" + Pe + "}", vn = "[" + we + "]{0,1}(?:[" + J + "]*[" + I + "]){3,}[" + J + I + "]*", bn = new RegExp("^[" + we + "]{0,1}(?:[" + J + "]*[" + I + "]){1,2}$", "i"), _n = vn + // Phone number extensions
|
689
|
+
"(?:" + vt() + ")?", Cn = new RegExp(
|
689
690
|
// Either a short two-digit-only phone number
|
690
691
|
"^" + gn + "$|^" + _n + "$",
|
691
692
|
"i"
|
692
693
|
);
|
693
|
-
function
|
694
|
+
function Pn(e) {
|
694
695
|
return e.length >= Pe && Cn.test(e);
|
695
696
|
}
|
696
|
-
function
|
697
|
+
function wn(e) {
|
697
698
|
return bn.test(e);
|
698
699
|
}
|
699
|
-
var
|
700
|
+
var Le = new RegExp("(?:" + vt() + ")$", "i");
|
700
701
|
function On(e) {
|
701
|
-
var n = e.search(
|
702
|
+
var n = e.search(Le);
|
702
703
|
if (n < 0)
|
703
704
|
return {};
|
704
|
-
for (var t = e.slice(0, n), d = e.match(
|
705
|
+
for (var t = e.slice(0, n), d = e.match(Le), r = 1; r < d.length; ) {
|
705
706
|
if (d[r])
|
706
707
|
return {
|
707
708
|
number: t,
|
@@ -802,21 +803,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
802
803
|
function En(e, n) {
|
803
804
|
if (e) {
|
804
805
|
if (typeof e == "string")
|
805
|
-
return
|
806
|
+
return xe(e, n);
|
806
807
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
807
808
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
|
808
809
|
return Array.from(e);
|
809
810
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
810
|
-
return
|
811
|
+
return xe(e, n);
|
811
812
|
}
|
812
813
|
}
|
813
|
-
function
|
814
|
+
function xe(e, n) {
|
814
815
|
(n == null || n > e.length) && (n = e.length);
|
815
816
|
for (var t = 0, d = new Array(n); t < n; t++)
|
816
817
|
d[t] = e[t];
|
817
818
|
return d;
|
818
819
|
}
|
819
|
-
function
|
820
|
+
function ke(e) {
|
820
821
|
for (var n = "", t = Nn(e.split("")), d; !(d = t()).done; ) {
|
821
822
|
var r = d.value;
|
822
823
|
n += Tn(r, n) || "";
|
@@ -843,15 +844,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
843
844
|
function Fn(e, n) {
|
844
845
|
if (e) {
|
845
846
|
if (typeof e == "string")
|
846
|
-
return
|
847
|
+
return je(e, n);
|
847
848
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
848
849
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
|
849
850
|
return Array.from(e);
|
850
851
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
851
|
-
return
|
852
|
+
return je(e, n);
|
852
853
|
}
|
853
854
|
}
|
854
|
-
function
|
855
|
+
function je(e, n) {
|
855
856
|
(n == null || n > e.length) && (n = e.length);
|
856
857
|
for (var t = 0, d = new Array(n); t < n; t++)
|
857
858
|
d[t] = e[t];
|
@@ -866,16 +867,16 @@ function Dn(e, n) {
|
|
866
867
|
return o - a;
|
867
868
|
});
|
868
869
|
}
|
869
|
-
function
|
870
|
-
return
|
870
|
+
function Se(e, n) {
|
871
|
+
return bt(e, void 0, n);
|
871
872
|
}
|
872
|
-
function
|
873
|
+
function bt(e, n, t) {
|
873
874
|
var d = t.type(n), r = d && d.possibleLengths() || t.possibleLengths();
|
874
875
|
if (!r)
|
875
876
|
return "IS_POSSIBLE";
|
876
877
|
if (n === "FIXED_LINE_OR_MOBILE") {
|
877
878
|
if (!t.type("FIXED_LINE"))
|
878
|
-
return
|
879
|
+
return bt(e, "MOBILE", t);
|
879
880
|
var i = t.type("MOBILE");
|
880
881
|
i && (r = Dn(r, i.possibleLengths()));
|
881
882
|
} else if (n && !d)
|
@@ -884,7 +885,7 @@ function _t(e, n, t) {
|
|
884
885
|
return a === o ? "IS_POSSIBLE" : a > o ? "TOO_SHORT" : r[r.length - 1] < o ? "TOO_LONG" : r.indexOf(o, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
885
886
|
}
|
886
887
|
function Rn(e, n, t) {
|
887
|
-
if (n === void 0 && (n = {}), t = new
|
888
|
+
if (n === void 0 && (n = {}), t = new w(t), n.v2) {
|
888
889
|
if (!e.countryCallingCode)
|
889
890
|
throw new Error("Invalid phone number object passed");
|
890
891
|
t.selectNumberingPlan(e.countryCallingCode);
|
@@ -902,20 +903,20 @@ function Rn(e, n, t) {
|
|
902
903
|
}
|
903
904
|
}
|
904
905
|
if (t.possibleLengths())
|
905
|
-
return
|
906
|
+
return _t(e.phone || e.nationalNumber, t);
|
906
907
|
if (e.countryCallingCode && t.isNonGeographicCallingCode(e.countryCallingCode))
|
907
908
|
return !0;
|
908
909
|
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
909
910
|
}
|
910
|
-
function
|
911
|
-
switch (
|
911
|
+
function _t(e, n) {
|
912
|
+
switch (Se(e, n)) {
|
912
913
|
case "IS_POSSIBLE":
|
913
914
|
return !0;
|
914
915
|
default:
|
915
916
|
return !1;
|
916
917
|
}
|
917
918
|
}
|
918
|
-
function
|
919
|
+
function T(e, n) {
|
919
920
|
return e = e || "", new RegExp("^(?:" + n + ")$").test(e);
|
920
921
|
}
|
921
922
|
function Mn(e, n) {
|
@@ -935,57 +936,57 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
935
936
|
function zn(e, n) {
|
936
937
|
if (e) {
|
937
938
|
if (typeof e == "string")
|
938
|
-
return
|
939
|
+
return Be(e, n);
|
939
940
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
940
941
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
|
941
942
|
return Array.from(e);
|
942
943
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
943
|
-
return
|
944
|
+
return Be(e, n);
|
944
945
|
}
|
945
946
|
}
|
946
|
-
function
|
947
|
+
function Be(e, n) {
|
947
948
|
(n == null || n > e.length) && (n = e.length);
|
948
949
|
for (var t = 0, d = new Array(n); t < n; t++)
|
949
950
|
d[t] = e[t];
|
950
951
|
return d;
|
951
952
|
}
|
952
953
|
var Ln = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
953
|
-
function
|
954
|
+
function Ie(e, n, t) {
|
954
955
|
if (n = n || {}, !!e.country) {
|
955
|
-
t = new
|
956
|
+
t = new w(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
|
956
957
|
var d = n.v2 ? e.nationalNumber : e.phone;
|
957
|
-
if (
|
958
|
-
if (
|
959
|
-
return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") ||
|
958
|
+
if (T(d, t.nationalNumberPattern())) {
|
959
|
+
if (se(d, "FIXED_LINE", t))
|
960
|
+
return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || se(d, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
960
961
|
for (var r = Mn(Ln), i; !(i = r()).done; ) {
|
961
962
|
var o = i.value;
|
962
|
-
if (
|
963
|
+
if (se(d, o, t))
|
963
964
|
return o;
|
964
965
|
}
|
965
966
|
}
|
966
967
|
}
|
967
968
|
}
|
968
|
-
function
|
969
|
-
return n = t.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(e.length) < 0 ? !1 :
|
969
|
+
function se(e, n, t) {
|
970
|
+
return n = t.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(e.length) < 0 ? !1 : T(e, n.pattern());
|
970
971
|
}
|
971
972
|
function xn(e, n, t) {
|
972
|
-
if (n = n || {}, t = new
|
973
|
-
return
|
973
|
+
if (n = n || {}, t = new w(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
|
974
|
+
return Ie(e, n, t.metadata) !== void 0;
|
974
975
|
var d = n.v2 ? e.nationalNumber : e.phone;
|
975
|
-
return
|
976
|
+
return T(d, t.nationalNumberPattern());
|
976
977
|
}
|
977
978
|
function kn(e, n, t) {
|
978
|
-
var d = new
|
979
|
+
var d = new w(t), r = d.getCountryCodesForCallingCode(e);
|
979
980
|
return r ? r.filter(function(i) {
|
980
981
|
return jn(n, i, t);
|
981
982
|
}) : [];
|
982
983
|
}
|
983
984
|
function jn(e, n, t) {
|
984
|
-
var d = new
|
985
|
+
var d = new w(t);
|
985
986
|
return d.selectNumberingPlan(n), d.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
|
986
987
|
}
|
987
988
|
function Bn(e) {
|
988
|
-
return e.replace(new RegExp("[".concat(
|
989
|
+
return e.replace(new RegExp("[".concat(J, "]+"), "g"), " ").trim();
|
989
990
|
}
|
990
991
|
var Un = /(\$\d)/;
|
991
992
|
function Gn(e, n, t) {
|
@@ -1011,7 +1012,7 @@ function Gn(e, n, t) {
|
|
1011
1012
|
}
|
1012
1013
|
var Vn = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
1013
1014
|
function Hn(e, n, t) {
|
1014
|
-
var d = new
|
1015
|
+
var d = new w(t);
|
1015
1016
|
if (d.selectNumberingPlan(e, n), d.defaultIDDPrefix())
|
1016
1017
|
return d.defaultIDDPrefix();
|
1017
1018
|
if (Vn.test(d.IDDPrefix()))
|
@@ -1042,21 +1043,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
1042
1043
|
function qn(e, n) {
|
1043
1044
|
if (e) {
|
1044
1045
|
if (typeof e == "string")
|
1045
|
-
return
|
1046
|
+
return Ue(e, n);
|
1046
1047
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
1047
1048
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
|
1048
1049
|
return Array.from(e);
|
1049
1050
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1050
|
-
return
|
1051
|
+
return Ue(e, n);
|
1051
1052
|
}
|
1052
1053
|
}
|
1053
|
-
function
|
1054
|
+
function Ue(e, n) {
|
1054
1055
|
(n == null || n > e.length) && (n = e.length);
|
1055
1056
|
for (var t = 0, d = new Array(n); t < n; t++)
|
1056
1057
|
d[t] = e[t];
|
1057
1058
|
return d;
|
1058
1059
|
}
|
1059
|
-
function
|
1060
|
+
function Ge(e, n) {
|
1060
1061
|
var t = Object.keys(e);
|
1061
1062
|
if (Object.getOwnPropertySymbols) {
|
1062
1063
|
var d = Object.getOwnPropertySymbols(e);
|
@@ -1066,12 +1067,12 @@ function Ve(e, n) {
|
|
1066
1067
|
}
|
1067
1068
|
return t;
|
1068
1069
|
}
|
1069
|
-
function
|
1070
|
+
function Ve(e) {
|
1070
1071
|
for (var n = 1; n < arguments.length; n++) {
|
1071
1072
|
var t = arguments[n] != null ? arguments[n] : {};
|
1072
|
-
n % 2 ?
|
1073
|
+
n % 2 ? Ge(Object(t), !0).forEach(function(d) {
|
1073
1074
|
Xn(e, d, t[d]);
|
1074
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
1075
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Ge(Object(t)).forEach(function(d) {
|
1075
1076
|
Object.defineProperty(e, d, Object.getOwnPropertyDescriptor(t, d));
|
1076
1077
|
});
|
1077
1078
|
}
|
@@ -1080,13 +1081,13 @@ function He(e) {
|
|
1080
1081
|
function Xn(e, n, t) {
|
1081
1082
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
1082
1083
|
}
|
1083
|
-
var
|
1084
|
+
var He = {
|
1084
1085
|
formatExtension: function(n, t, d) {
|
1085
1086
|
return "".concat(n).concat(d.ext()).concat(t);
|
1086
1087
|
}
|
1087
1088
|
};
|
1088
1089
|
function Yn(e, n, t, d) {
|
1089
|
-
if (t ? t =
|
1090
|
+
if (t ? t = Ve(Ve({}, He), t) : t = He, d = new w(d), e.country && e.country !== "001") {
|
1090
1091
|
if (!d.hasCountry(e.country))
|
1091
1092
|
throw new Error("Unknown country: ".concat(e.country));
|
1092
1093
|
d.country(e.country);
|
@@ -1097,9 +1098,9 @@ function Yn(e, n, t, d) {
|
|
1097
1098
|
var r = d.countryCallingCode(), i = t.v2 ? e.nationalNumber : e.phone, o;
|
1098
1099
|
switch (n) {
|
1099
1100
|
case "NATIONAL":
|
1100
|
-
return i ? (o =
|
1101
|
+
return i ? (o = ee(i, e.carrierCode, "NATIONAL", d, t), le(o, e.ext, d, t.formatExtension)) : "";
|
1101
1102
|
case "INTERNATIONAL":
|
1102
|
-
return i ? (o =
|
1103
|
+
return i ? (o = ee(i, null, "INTERNATIONAL", d, t), o = "+".concat(r, " ").concat(o), le(o, e.ext, d, t.formatExtension)) : "+".concat(r);
|
1103
1104
|
case "E.164":
|
1104
1105
|
return "+".concat(r).concat(i);
|
1105
1106
|
case "RFC3966":
|
@@ -1111,12 +1112,12 @@ function Yn(e, n, t, d) {
|
|
1111
1112
|
if (!t.fromCountry)
|
1112
1113
|
return;
|
1113
1114
|
var a = Jn(i, e.carrierCode, r, t.fromCountry, d);
|
1114
|
-
return
|
1115
|
+
return le(a, e.ext, d, t.formatExtension);
|
1115
1116
|
default:
|
1116
1117
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n, '"'));
|
1117
1118
|
}
|
1118
1119
|
}
|
1119
|
-
function
|
1120
|
+
function ee(e, n, t, d, r) {
|
1120
1121
|
var i = Zn(d.formats(), e);
|
1121
1122
|
return i ? Gn(e, i, {
|
1122
1123
|
useInternationalFormat: t === "INTERNATIONAL",
|
@@ -1133,24 +1134,24 @@ function Zn(e, n) {
|
|
1133
1134
|
if (n.search(i) !== 0)
|
1134
1135
|
continue;
|
1135
1136
|
}
|
1136
|
-
if (
|
1137
|
+
if (T(n, r.pattern()))
|
1137
1138
|
return r;
|
1138
1139
|
}
|
1139
1140
|
}
|
1140
|
-
function
|
1141
|
+
function le(e, n, t, d) {
|
1141
1142
|
return n ? d(e, n, t) : e;
|
1142
1143
|
}
|
1143
1144
|
function Jn(e, n, t, d, r) {
|
1144
|
-
var i =
|
1145
|
+
var i = Oe(d, r.metadata);
|
1145
1146
|
if (i === t) {
|
1146
|
-
var o =
|
1147
|
+
var o = ee(e, n, "NATIONAL", r);
|
1147
1148
|
return t === "1" ? t + " " + o : o;
|
1148
1149
|
}
|
1149
1150
|
var a = Hn(d, void 0, r.metadata);
|
1150
1151
|
if (a)
|
1151
|
-
return "".concat(a, " ").concat(t, " ").concat(
|
1152
|
+
return "".concat(a, " ").concat(t, " ").concat(ee(e, null, "INTERNATIONAL", r));
|
1152
1153
|
}
|
1153
|
-
function
|
1154
|
+
function Ke(e, n) {
|
1154
1155
|
var t = Object.keys(e);
|
1155
1156
|
if (Object.getOwnPropertySymbols) {
|
1156
1157
|
var d = Object.getOwnPropertySymbols(e);
|
@@ -1160,12 +1161,12 @@ function We(e, n) {
|
|
1160
1161
|
}
|
1161
1162
|
return t;
|
1162
1163
|
}
|
1163
|
-
function
|
1164
|
+
function We(e) {
|
1164
1165
|
for (var n = 1; n < arguments.length; n++) {
|
1165
1166
|
var t = arguments[n] != null ? arguments[n] : {};
|
1166
|
-
n % 2 ?
|
1167
|
+
n % 2 ? Ke(Object(t), !0).forEach(function(d) {
|
1167
1168
|
Qn(e, d, t[d]);
|
1168
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
1169
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Ke(Object(t)).forEach(function(d) {
|
1169
1170
|
Object.defineProperty(e, d, Object.getOwnPropertyDescriptor(t, d));
|
1170
1171
|
});
|
1171
1172
|
}
|
@@ -1178,14 +1179,14 @@ function ed(e, n) {
|
|
1178
1179
|
if (!(e instanceof n))
|
1179
1180
|
throw new TypeError("Cannot call a class as a function");
|
1180
1181
|
}
|
1181
|
-
function
|
1182
|
+
function qe(e, n) {
|
1182
1183
|
for (var t = 0; t < n.length; t++) {
|
1183
1184
|
var d = n[t];
|
1184
1185
|
d.enumerable = d.enumerable || !1, d.configurable = !0, "value" in d && (d.writable = !0), Object.defineProperty(e, d.key, d);
|
1185
1186
|
}
|
1186
1187
|
}
|
1187
1188
|
function td(e, n, t) {
|
1188
|
-
return n &&
|
1189
|
+
return n && qe(e.prototype, n), t && qe(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
1189
1190
|
}
|
1190
1191
|
var nd = /* @__PURE__ */ function() {
|
1191
1192
|
function e(n, t, d) {
|
@@ -1227,7 +1228,7 @@ var nd = /* @__PURE__ */ function() {
|
|
1227
1228
|
}, {
|
1228
1229
|
key: "isNonGeographic",
|
1229
1230
|
value: function() {
|
1230
|
-
var t = new
|
1231
|
+
var t = new w(this.getMetadata());
|
1231
1232
|
return t.isNonGeographicCallingCode(this.countryCallingCode);
|
1232
1233
|
}
|
1233
1234
|
}, {
|
@@ -1252,14 +1253,14 @@ var nd = /* @__PURE__ */ function() {
|
|
1252
1253
|
}, {
|
1253
1254
|
key: "getType",
|
1254
1255
|
value: function() {
|
1255
|
-
return
|
1256
|
+
return Ie(this, {
|
1256
1257
|
v2: !0
|
1257
1258
|
}, this.getMetadata());
|
1258
1259
|
}
|
1259
1260
|
}, {
|
1260
1261
|
key: "format",
|
1261
1262
|
value: function(t, d) {
|
1262
|
-
return Yn(this, t, d ?
|
1263
|
+
return Yn(this, t, d ? We(We({}, d), {}, {
|
1263
1264
|
v2: !0
|
1264
1265
|
}) : {
|
1265
1266
|
v2: !0
|
@@ -1285,16 +1286,16 @@ var nd = /* @__PURE__ */ function() {
|
|
1285
1286
|
return /^[A-Z]{2}$/.test(n);
|
1286
1287
|
};
|
1287
1288
|
function rd(e, n) {
|
1288
|
-
var t, d, r = new
|
1289
|
+
var t, d, r = new w(n);
|
1289
1290
|
return dd(e) ? (t = e, r.selectNumberingPlan(t), d = r.countryCallingCode()) : d = e, {
|
1290
1291
|
country: t,
|
1291
1292
|
countryCallingCode: d
|
1292
1293
|
};
|
1293
1294
|
}
|
1294
|
-
var id = new RegExp("([" +
|
1295
|
+
var id = new RegExp("([" + I + "])");
|
1295
1296
|
function od(e, n, t, d) {
|
1296
1297
|
if (n) {
|
1297
|
-
var r = new
|
1298
|
+
var r = new w(d);
|
1298
1299
|
r.selectNumberingPlan(n, t);
|
1299
1300
|
var i = new RegExp(r.IDDPrefix());
|
1300
1301
|
if (e.search(i) === 0) {
|
@@ -1313,13 +1314,13 @@ function ad(e, n) {
|
|
1313
1314
|
if (n.nationalPrefixTransformRule() && a)
|
1314
1315
|
r = e.replace(t, n.nationalPrefixTransformRule()), o > 1 && (i = d[1]);
|
1315
1316
|
else {
|
1316
|
-
var
|
1317
|
-
r = e.slice(
|
1317
|
+
var $ = d[0];
|
1318
|
+
r = e.slice($.length), a && (i = d[1]);
|
1318
1319
|
}
|
1319
1320
|
var s;
|
1320
1321
|
if (a) {
|
1321
|
-
var u = e.indexOf(d[1]),
|
1322
|
-
|
1322
|
+
var u = e.indexOf(d[1]), l = e.slice(0, u);
|
1323
|
+
l === n.numberingPlan.nationalPrefix() && (s = n.numberingPlan.nationalPrefix());
|
1323
1324
|
} else
|
1324
1325
|
s = d[0];
|
1325
1326
|
return {
|
@@ -1333,7 +1334,7 @@ function ad(e, n) {
|
|
1333
1334
|
nationalNumber: e
|
1334
1335
|
};
|
1335
1336
|
}
|
1336
|
-
function
|
1337
|
+
function me(e, n) {
|
1337
1338
|
var t = ad(e, n), d = t.carrierCode, r = t.nationalNumber;
|
1338
1339
|
if (r !== e) {
|
1339
1340
|
if (!sd(e, r, n))
|
@@ -1351,10 +1352,10 @@ function he(e, n) {
|
|
1351
1352
|
};
|
1352
1353
|
}
|
1353
1354
|
function sd(e, n, t) {
|
1354
|
-
return !(
|
1355
|
+
return !(T(e, t.nationalNumberPattern()) && !T(n, t.nationalNumberPattern()));
|
1355
1356
|
}
|
1356
1357
|
function ld(e, n) {
|
1357
|
-
switch (
|
1358
|
+
switch (Se(e, n)) {
|
1358
1359
|
case "TOO_SHORT":
|
1359
1360
|
case "INVALID_LENGTH":
|
1360
1361
|
return !1;
|
@@ -1363,11 +1364,11 @@ function ld(e, n) {
|
|
1363
1364
|
}
|
1364
1365
|
}
|
1365
1366
|
function $d(e, n, t, d) {
|
1366
|
-
var r = n ?
|
1367
|
+
var r = n ? Oe(n, d) : t;
|
1367
1368
|
if (e.indexOf(r) === 0) {
|
1368
|
-
d = new
|
1369
|
-
var i = e.slice(r.length), o =
|
1370
|
-
if (!
|
1369
|
+
d = new w(d), d.selectNumberingPlan(n, t);
|
1370
|
+
var i = e.slice(r.length), o = me(i, d), a = o.nationalNumber, $ = me(e, d), s = $.nationalNumber;
|
1371
|
+
if (!T(s, d.nationalNumberPattern()) && T(a, d.nationalNumberPattern()) || Se(s, d) === "TOO_LONG")
|
1371
1372
|
return {
|
1372
1373
|
countryCallingCode: r,
|
1373
1374
|
number: i
|
@@ -1387,12 +1388,12 @@ function ud(e, n, t, d) {
|
|
1387
1388
|
r = !0, e = "+" + i;
|
1388
1389
|
else {
|
1389
1390
|
if (n || t) {
|
1390
|
-
var o = $d(e, n, t, d), a = o.countryCallingCode,
|
1391
|
+
var o = $d(e, n, t, d), a = o.countryCallingCode, $ = o.number;
|
1391
1392
|
if (a)
|
1392
1393
|
return {
|
1393
1394
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
1394
1395
|
countryCallingCode: a,
|
1395
|
-
number:
|
1396
|
+
number: $
|
1396
1397
|
};
|
1397
1398
|
}
|
1398
1399
|
return {
|
@@ -1404,7 +1405,7 @@ function ud(e, n, t, d) {
|
|
1404
1405
|
}
|
1405
1406
|
if (e[1] === "0")
|
1406
1407
|
return {};
|
1407
|
-
d = new
|
1408
|
+
d = new w(d);
|
1408
1409
|
for (var s = 2; s - 1 <= en && s <= e.length; ) {
|
1409
1410
|
var u = e.slice(1, s);
|
1410
1411
|
if (d.hasCallingCode(u))
|
@@ -1434,15 +1435,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
1434
1435
|
function fd(e, n) {
|
1435
1436
|
if (e) {
|
1436
1437
|
if (typeof e == "string")
|
1437
|
-
return
|
1438
|
+
return Xe(e, n);
|
1438
1439
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
1439
1440
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
|
1440
1441
|
return Array.from(e);
|
1441
1442
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1442
|
-
return
|
1443
|
+
return Xe(e, n);
|
1443
1444
|
}
|
1444
1445
|
}
|
1445
|
-
function
|
1446
|
+
function Xe(e, n) {
|
1446
1447
|
(n == null || n > e.length) && (n = e.length);
|
1447
1448
|
for (var t = 0, d = new Array(n); t < n; t++)
|
1448
1449
|
d[t] = e[t];
|
@@ -1450,22 +1451,22 @@ function Ye(e, n) {
|
|
1450
1451
|
}
|
1451
1452
|
function pd(e, n) {
|
1452
1453
|
var t = n.countries, d = n.defaultCountry, r = n.metadata;
|
1453
|
-
r = new
|
1454
|
+
r = new w(r);
|
1454
1455
|
for (var i = [], o = cd(t), a; !(a = o()).done; ) {
|
1455
|
-
var
|
1456
|
-
if (r.country(
|
1456
|
+
var $ = a.value;
|
1457
|
+
if (r.country($), r.leadingDigits()) {
|
1457
1458
|
if (e && e.search(r.leadingDigits()) === 0)
|
1458
|
-
return
|
1459
|
-
} else if (
|
1459
|
+
return $;
|
1460
|
+
} else if (Ie({
|
1460
1461
|
phone: e,
|
1461
|
-
country:
|
1462
|
+
country: $
|
1462
1463
|
}, void 0, r.metadata))
|
1463
1464
|
if (d) {
|
1464
|
-
if (
|
1465
|
-
return
|
1466
|
-
i.push(
|
1465
|
+
if ($ === d)
|
1466
|
+
return $;
|
1467
|
+
i.push($);
|
1467
1468
|
} else
|
1468
|
-
return
|
1469
|
+
return $;
|
1469
1470
|
}
|
1470
1471
|
if (i.length > 0)
|
1471
1472
|
return i[0];
|
@@ -1483,84 +1484,84 @@ function hd(e, n) {
|
|
1483
1484
|
metadata: r.metadata
|
1484
1485
|
});
|
1485
1486
|
}
|
1486
|
-
var
|
1487
|
+
var Ct = "+", yd = "[\\-\\.\\(\\)]?", Ye = "([" + I + "]|" + yd + ")", gd = "^\\" + Ct + Ye + "*[" + I + "]" + Ye + "*$", vd = new RegExp(gd, "g"), he = I, bd = "[" + he + "]+((\\-)*[" + he + "])*", _d = "a-zA-Z", Cd = "[" + _d + "]+((\\-)*[" + he + "])*", Pd = "^(" + bd + "\\.)*" + Cd + "\\.?$", wd = new RegExp(Pd, "g"), Ze = "tel:", ye = ";phone-context=", Od = ";isub=";
|
1487
1488
|
function Sd(e) {
|
1488
|
-
var n = e.indexOf(
|
1489
|
+
var n = e.indexOf(ye);
|
1489
1490
|
if (n < 0)
|
1490
1491
|
return null;
|
1491
|
-
var t = n +
|
1492
|
+
var t = n + ye.length;
|
1492
1493
|
if (t >= e.length)
|
1493
1494
|
return "";
|
1494
1495
|
var d = e.indexOf(";", t);
|
1495
1496
|
return d >= 0 ? e.substring(t, d) : e.substring(t);
|
1496
1497
|
}
|
1497
1498
|
function Id(e) {
|
1498
|
-
return e === null ? !0 : e.length === 0 ? !1 : vd.test(e) ||
|
1499
|
+
return e === null ? !0 : e.length === 0 ? !1 : vd.test(e) || wd.test(e);
|
1499
1500
|
}
|
1500
1501
|
function Nd(e, n) {
|
1501
1502
|
var t = n.extractFormattedPhoneNumber, d = Sd(e);
|
1502
1503
|
if (!Id(d))
|
1503
|
-
throw new
|
1504
|
+
throw new N("NOT_A_NUMBER");
|
1504
1505
|
var r;
|
1505
1506
|
if (d === null)
|
1506
1507
|
r = t(e) || "";
|
1507
1508
|
else {
|
1508
|
-
r = "", d.charAt(0) ===
|
1509
|
-
var i = e.indexOf(
|
1510
|
-
i >= 0 ? o = i +
|
1511
|
-
var a = e.indexOf(
|
1509
|
+
r = "", d.charAt(0) === Ct && (r += d);
|
1510
|
+
var i = e.indexOf(Ze), o;
|
1511
|
+
i >= 0 ? o = i + Ze.length : o = 0;
|
1512
|
+
var a = e.indexOf(ye);
|
1512
1513
|
r += e.substring(o, a);
|
1513
1514
|
}
|
1514
|
-
var
|
1515
|
-
if (
|
1515
|
+
var $ = r.indexOf(Od);
|
1516
|
+
if ($ > 0 && (r = r.substring(0, $)), r !== "")
|
1516
1517
|
return r;
|
1517
1518
|
}
|
1518
|
-
var Ed = 250, Td = new RegExp("[" +
|
1519
|
+
var Ed = 250, Td = new RegExp("[" + we + I + "]"), Ad = new RegExp("[^" + I + "#]+$");
|
1519
1520
|
function Fd(e, n, t) {
|
1520
|
-
if (n = n || {}, t = new
|
1521
|
-
throw n.v2 ? new
|
1521
|
+
if (n = n || {}, t = new w(t), n.defaultCountry && !t.hasCountry(n.defaultCountry))
|
1522
|
+
throw n.v2 ? new N("INVALID_COUNTRY") : new Error("Unknown country: ".concat(n.defaultCountry));
|
1522
1523
|
var d = Rd(e, n.v2, n.extract), r = d.number, i = d.ext, o = d.error;
|
1523
1524
|
if (!r) {
|
1524
1525
|
if (n.v2)
|
1525
|
-
throw o === "TOO_SHORT" ? new
|
1526
|
+
throw o === "TOO_SHORT" ? new N("TOO_SHORT") : new N("NOT_A_NUMBER");
|
1526
1527
|
return {};
|
1527
1528
|
}
|
1528
|
-
var a = zd(r, n.defaultCountry, n.defaultCallingCode, t),
|
1529
|
+
var a = zd(r, n.defaultCountry, n.defaultCallingCode, t), $ = a.country, s = a.nationalNumber, u = a.countryCallingCode, l = a.countryCallingCodeSource, c = a.carrierCode;
|
1529
1530
|
if (!t.hasSelectedNumberingPlan()) {
|
1530
1531
|
if (n.v2)
|
1531
|
-
throw new
|
1532
|
+
throw new N("INVALID_COUNTRY");
|
1532
1533
|
return {};
|
1533
1534
|
}
|
1534
1535
|
if (!s || s.length < Pe) {
|
1535
1536
|
if (n.v2)
|
1536
|
-
throw new
|
1537
|
+
throw new N("TOO_SHORT");
|
1537
1538
|
return {};
|
1538
1539
|
}
|
1539
1540
|
if (s.length > Qt) {
|
1540
1541
|
if (n.v2)
|
1541
|
-
throw new
|
1542
|
+
throw new N("TOO_LONG");
|
1542
1543
|
return {};
|
1543
1544
|
}
|
1544
1545
|
if (n.v2) {
|
1545
|
-
var
|
1546
|
-
return
|
1546
|
+
var h = new nd(u, s, t.metadata);
|
1547
|
+
return $ && (h.country = $), c && (h.carrierCode = c), i && (h.ext = i), h.__countryCallingCodeSource = l, h;
|
1547
1548
|
}
|
1548
|
-
var
|
1549
|
+
var O = (n.extended ? t.hasSelectedNumberingPlan() : $) ? T(s, t.nationalNumberPattern()) : !1;
|
1549
1550
|
return n.extended ? {
|
1550
|
-
country:
|
1551
|
+
country: $,
|
1551
1552
|
countryCallingCode: u,
|
1552
1553
|
carrierCode: c,
|
1553
|
-
valid:
|
1554
|
-
possible:
|
1554
|
+
valid: O,
|
1555
|
+
possible: O ? !0 : !!(n.extended === !0 && t.possibleLengths() && _t(s, t)),
|
1555
1556
|
phone: s,
|
1556
1557
|
ext: i
|
1557
|
-
} :
|
1558
|
+
} : O ? Md($, s, i) : {};
|
1558
1559
|
}
|
1559
1560
|
function Dd(e, n, t) {
|
1560
1561
|
if (e) {
|
1561
1562
|
if (e.length > Ed) {
|
1562
1563
|
if (t)
|
1563
|
-
throw new
|
1564
|
+
throw new N("TOO_LONG");
|
1564
1565
|
return;
|
1565
1566
|
}
|
1566
1567
|
if (n === !1)
|
@@ -1578,8 +1579,8 @@ function Rd(e, n, t) {
|
|
1578
1579
|
});
|
1579
1580
|
if (!d)
|
1580
1581
|
return {};
|
1581
|
-
if (!
|
1582
|
-
return
|
1582
|
+
if (!Pn(d))
|
1583
|
+
return wn(d) ? {
|
1583
1584
|
error: "TOO_SHORT"
|
1584
1585
|
} : {};
|
1585
1586
|
var r = On(d);
|
@@ -1595,11 +1596,11 @@ function Md(e, n, t) {
|
|
1595
1596
|
return t && (d.ext = t), d;
|
1596
1597
|
}
|
1597
1598
|
function zd(e, n, t, d) {
|
1598
|
-
var r = ud(
|
1599
|
+
var r = ud(ke(e), n, t, d.metadata), i = r.countryCallingCodeSource, o = r.countryCallingCode, a = r.number, $;
|
1599
1600
|
if (o)
|
1600
1601
|
d.selectNumberingPlan(o);
|
1601
1602
|
else if (a && (n || t))
|
1602
|
-
d.selectNumberingPlan(n, t), n && (
|
1603
|
+
d.selectNumberingPlan(n, t), n && ($ = n), o = t || Oe(n, d.metadata);
|
1603
1604
|
else
|
1604
1605
|
return {};
|
1605
1606
|
if (!a)
|
@@ -1607,20 +1608,20 @@ function zd(e, n, t, d) {
|
|
1607
1608
|
countryCallingCodeSource: i,
|
1608
1609
|
countryCallingCode: o
|
1609
1610
|
};
|
1610
|
-
var s =
|
1611
|
+
var s = me(ke(a), d), u = s.nationalNumber, l = s.carrierCode, c = hd(o, {
|
1611
1612
|
nationalNumber: u,
|
1612
1613
|
defaultCountry: n,
|
1613
1614
|
metadata: d
|
1614
1615
|
});
|
1615
|
-
return c && (
|
1616
|
-
country:
|
1616
|
+
return c && ($ = c, c === "001" || d.country($)), {
|
1617
|
+
country: $,
|
1617
1618
|
countryCallingCode: o,
|
1618
1619
|
countryCallingCodeSource: i,
|
1619
1620
|
nationalNumber: u,
|
1620
|
-
carrierCode:
|
1621
|
+
carrierCode: l
|
1621
1622
|
};
|
1622
1623
|
}
|
1623
|
-
function
|
1624
|
+
function Je(e, n) {
|
1624
1625
|
var t = Object.keys(e);
|
1625
1626
|
if (Object.getOwnPropertySymbols) {
|
1626
1627
|
var d = Object.getOwnPropertySymbols(e);
|
@@ -1630,12 +1631,12 @@ function Qe(e, n) {
|
|
1630
1631
|
}
|
1631
1632
|
return t;
|
1632
1633
|
}
|
1633
|
-
function
|
1634
|
+
function Qe(e) {
|
1634
1635
|
for (var n = 1; n < arguments.length; n++) {
|
1635
1636
|
var t = arguments[n] != null ? arguments[n] : {};
|
1636
|
-
n % 2 ?
|
1637
|
+
n % 2 ? Je(Object(t), !0).forEach(function(d) {
|
1637
1638
|
Ld(e, d, t[d]);
|
1638
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
1639
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Je(Object(t)).forEach(function(d) {
|
1639
1640
|
Object.defineProperty(e, d, Object.getOwnPropertyDescriptor(t, d));
|
1640
1641
|
});
|
1641
1642
|
}
|
@@ -1645,19 +1646,19 @@ function Ld(e, n, t) {
|
|
1645
1646
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
1646
1647
|
}
|
1647
1648
|
function xd(e, n, t) {
|
1648
|
-
return Fd(e,
|
1649
|
+
return Fd(e, Qe(Qe({}, n), {}, {
|
1649
1650
|
v2: !0
|
1650
1651
|
}), t);
|
1651
1652
|
}
|
1652
|
-
function
|
1653
|
+
function ge(e) {
|
1653
1654
|
"@babel/helpers - typeof";
|
1654
|
-
return
|
1655
|
+
return ge = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
1655
1656
|
return typeof n;
|
1656
1657
|
} : function(n) {
|
1657
1658
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
1658
|
-
},
|
1659
|
+
}, ge(e);
|
1659
1660
|
}
|
1660
|
-
function
|
1661
|
+
function et(e, n) {
|
1661
1662
|
var t = Object.keys(e);
|
1662
1663
|
if (Object.getOwnPropertySymbols) {
|
1663
1664
|
var d = Object.getOwnPropertySymbols(e);
|
@@ -1670,9 +1671,9 @@ function tt(e, n) {
|
|
1670
1671
|
function kd(e) {
|
1671
1672
|
for (var n = 1; n < arguments.length; n++) {
|
1672
1673
|
var t = arguments[n] != null ? arguments[n] : {};
|
1673
|
-
n % 2 ?
|
1674
|
+
n % 2 ? et(Object(t), !0).forEach(function(d) {
|
1674
1675
|
jd(e, d, t[d]);
|
1675
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
1676
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : et(Object(t)).forEach(function(d) {
|
1676
1677
|
Object.defineProperty(e, d, Object.getOwnPropertyDescriptor(t, d));
|
1677
1678
|
});
|
1678
1679
|
}
|
@@ -1691,15 +1692,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
1691
1692
|
function Gd(e, n) {
|
1692
1693
|
if (e) {
|
1693
1694
|
if (typeof e == "string")
|
1694
|
-
return
|
1695
|
+
return tt(e, n);
|
1695
1696
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
1696
1697
|
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
|
1697
1698
|
return Array.from(e);
|
1698
1699
|
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1699
|
-
return
|
1700
|
+
return tt(e, n);
|
1700
1701
|
}
|
1701
1702
|
}
|
1702
|
-
function
|
1703
|
+
function tt(e, n) {
|
1703
1704
|
(n == null || n > e.length) && (n = e.length);
|
1704
1705
|
for (var t = 0, d = new Array(n); t < n; t++)
|
1705
1706
|
d[t] = e[t];
|
@@ -1712,8 +1713,8 @@ function Vd(e, n) {
|
|
1712
1713
|
try {
|
1713
1714
|
for (t = t.call(e); !(r = (o = t.next()).done) && (d.push(o.value), !(n && d.length === n)); r = !0)
|
1714
1715
|
;
|
1715
|
-
} catch (
|
1716
|
-
i = !0, a =
|
1716
|
+
} catch ($) {
|
1717
|
+
i = !0, a = $;
|
1717
1718
|
} finally {
|
1718
1719
|
try {
|
1719
1720
|
!r && t.return != null && t.return();
|
@@ -1730,29 +1731,29 @@ function Hd(e) {
|
|
1730
1731
|
return e;
|
1731
1732
|
}
|
1732
1733
|
function Kd(e) {
|
1733
|
-
var n = Array.prototype.slice.call(e), t = Bd(n, 4), d = t[0], r = t[1], i = t[2], o = t[3], a,
|
1734
|
+
var n = Array.prototype.slice.call(e), t = Bd(n, 4), d = t[0], r = t[1], i = t[2], o = t[3], a, $, s;
|
1734
1735
|
if (typeof d == "string")
|
1735
1736
|
a = d;
|
1736
1737
|
else
|
1737
1738
|
throw new TypeError("A text for parsing must be a string.");
|
1738
1739
|
if (!r || typeof r == "string")
|
1739
|
-
o ? (
|
1740
|
+
o ? ($ = i, s = o) : ($ = void 0, s = i), r && ($ = kd({
|
1740
1741
|
defaultCountry: r
|
1741
|
-
},
|
1742
|
+
}, $));
|
1742
1743
|
else if (Wd(r))
|
1743
|
-
i ? (
|
1744
|
+
i ? ($ = r, s = i) : s = r;
|
1744
1745
|
else
|
1745
1746
|
throw new Error("Invalid second argument: ".concat(r));
|
1746
1747
|
return {
|
1747
1748
|
text: a,
|
1748
|
-
options:
|
1749
|
+
options: $,
|
1749
1750
|
metadata: s
|
1750
1751
|
};
|
1751
1752
|
}
|
1752
1753
|
var Wd = function(n) {
|
1753
|
-
return
|
1754
|
+
return ge(n) === "object";
|
1754
1755
|
};
|
1755
|
-
function
|
1756
|
+
function nt(e, n) {
|
1756
1757
|
var t = Object.keys(e);
|
1757
1758
|
if (Object.getOwnPropertySymbols) {
|
1758
1759
|
var d = Object.getOwnPropertySymbols(e);
|
@@ -1762,12 +1763,12 @@ function dt(e, n) {
|
|
1762
1763
|
}
|
1763
1764
|
return t;
|
1764
1765
|
}
|
1765
|
-
function
|
1766
|
+
function dt(e) {
|
1766
1767
|
for (var n = 1; n < arguments.length; n++) {
|
1767
1768
|
var t = arguments[n] != null ? arguments[n] : {};
|
1768
|
-
n % 2 ?
|
1769
|
+
n % 2 ? nt(Object(t), !0).forEach(function(d) {
|
1769
1770
|
qd(e, d, t[d]);
|
1770
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
1771
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : nt(Object(t)).forEach(function(d) {
|
1771
1772
|
Object.defineProperty(e, d, Object.getOwnPropertyDescriptor(t, d));
|
1772
1773
|
});
|
1773
1774
|
}
|
@@ -1777,13 +1778,13 @@ function qd(e, n, t) {
|
|
1777
1778
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
1778
1779
|
}
|
1779
1780
|
function Xd(e, n, t) {
|
1780
|
-
n && n.defaultCountry && !hn(n.defaultCountry, t) && (n =
|
1781
|
+
n && n.defaultCountry && !hn(n.defaultCountry, t) && (n = dt(dt({}, n), {}, {
|
1781
1782
|
defaultCountry: void 0
|
1782
1783
|
}));
|
1783
1784
|
try {
|
1784
1785
|
return xd(e, n, t);
|
1785
1786
|
} catch (d) {
|
1786
|
-
if (!(d instanceof
|
1787
|
+
if (!(d instanceof N))
|
1787
1788
|
throw d;
|
1788
1789
|
}
|
1789
1790
|
}
|
@@ -1791,23 +1792,23 @@ function Yd() {
|
|
1791
1792
|
var e = Kd(arguments), n = e.text, t = e.options, d = e.metadata;
|
1792
1793
|
return Xd(n, t, d);
|
1793
1794
|
}
|
1794
|
-
function
|
1795
|
+
function $e() {
|
1795
1796
|
return Kt(Yd, arguments);
|
1796
1797
|
}
|
1797
1798
|
const Zd = { class: "cols-2-1_2 gap-small pd-small bg-white" }, Jd = /* @__PURE__ */ p("section", { class: "w-100 desktop-only o-hidden radius-big bg-grad-main" }, null, -1), Qd = {
|
1798
1799
|
__name: "Auth",
|
1799
1800
|
setup(e) {
|
1800
|
-
return
|
1801
|
-
const d =
|
1802
|
-
return
|
1803
|
-
|
1804
|
-
default:
|
1805
|
-
|
1801
|
+
return _(null), _(null), _(null), L(), x(), _("email"), (n, t) => {
|
1802
|
+
const d = ve("router-view");
|
1803
|
+
return v(), b("div", Zd, [
|
1804
|
+
g(d, { class: "pd-medium br-solid br-1px br-grey radius-big w-m-66r t-center" }, {
|
1805
|
+
default: C(({ Component: r, route: i }) => [
|
1806
|
+
g(A, {
|
1806
1807
|
name: "scaleIn",
|
1807
1808
|
mode: "out-in"
|
1808
1809
|
}, {
|
1809
|
-
default:
|
1810
|
-
(
|
1810
|
+
default: C(() => [
|
1811
|
+
(v(), ue(Ft(r), {
|
1811
1812
|
ref: "page",
|
1812
1813
|
key: i.path,
|
1813
1814
|
localPosition: n.localPosition
|
@@ -1823,7 +1824,7 @@ const Zd = { class: "cols-2-1_2 gap-small pd-small bg-white" }, Jd = /* @__PURE_
|
|
1823
1824
|
};
|
1824
1825
|
}
|
1825
1826
|
};
|
1826
|
-
function
|
1827
|
+
function rt(e) {
|
1827
1828
|
const n = e;
|
1828
1829
|
n.__i18n = n.__i18n || [], n.__i18n.push({
|
1829
1830
|
locale: "",
|
@@ -1870,193 +1871,193 @@ function it(e) {
|
|
1870
1871
|
const er = { class: "t-center pd-medium" }, tr = { class: "mn-medium" }, nr = { class: "mn-big t-transp" }, dr = { class: "w-100 mn-big flex-nowrap flex" }, rr = { key: 1 }, Pt = {
|
1871
1872
|
__name: "EnterCode",
|
1872
1873
|
setup(e) {
|
1873
|
-
const n =
|
1874
|
+
const n = L(), t = x(), { t: d } = B({
|
1874
1875
|
inheritLocale: !0,
|
1875
1876
|
useScope: "local"
|
1876
|
-
}), r =
|
1877
|
+
}), r = ct({
|
1877
1878
|
digits: ["", "", "", ""],
|
1878
1879
|
error: null
|
1879
1880
|
});
|
1880
|
-
|
1881
|
+
ft(
|
1881
1882
|
() => r.digits[0],
|
1882
1883
|
(u) => {
|
1883
1884
|
if (console.log(String(u)), console.log(String(u).length), u && String(u).length > 1) {
|
1884
|
-
let
|
1885
|
-
console.log(
|
1885
|
+
let l = String(u).split("");
|
1886
|
+
console.log(l);
|
1886
1887
|
let c = [...r.digits];
|
1887
|
-
|
1888
|
-
console.log(
|
1888
|
+
l.forEach((h, O) => {
|
1889
|
+
console.log(O), console.log(c[O]), console.log(h), c[O] = h;
|
1889
1890
|
}), r.digits = c, s(3);
|
1890
1891
|
}
|
1891
1892
|
}
|
1892
1893
|
);
|
1893
|
-
const i =
|
1894
|
+
const i = _(null), o = _(0);
|
1894
1895
|
async function a() {
|
1895
1896
|
try {
|
1896
|
-
await
|
1897
|
+
await mt(m.user, n.query.type, m.user.phone ? "phone" : "email"), o.value = 30;
|
1897
1898
|
const u = setInterval(() => {
|
1898
1899
|
o.value > 0 ? o.value -= 1 : clearInterval(u);
|
1899
1900
|
}, 1e3);
|
1900
1901
|
} catch {
|
1901
|
-
|
1902
|
+
M({ response: { data: { errorCode: "CODE_NOT_SENT" } } });
|
1902
1903
|
}
|
1903
1904
|
}
|
1904
|
-
const
|
1905
|
-
if (u.key === "Backspace" && (r.digits[
|
1905
|
+
const $ = (u, l) => {
|
1906
|
+
if (u.key === "Backspace" && (r.digits[l] === null || r.digits[l] === void 0 || r.digits[l] === "")) {
|
1906
1907
|
u.preventDefault();
|
1907
|
-
const c = document.querySelectorAll("input"),
|
1908
|
-
|
1908
|
+
const c = document.querySelectorAll("input"), h = l > 0 ? c[l - 1] : null;
|
1909
|
+
h && (h.focus(), h.setSelectionRange(h.value.length, h.value.length));
|
1909
1910
|
}
|
1910
1911
|
}, s = (u) => {
|
1911
|
-
const
|
1912
|
-
if (r.digits[u] !== "" && r.digits[u] !== null && r.digits[u] !== void 0 && u < 4 && (u < 3 ? c.focus() : i.value.focus()), (r.digits[u] === null || r.digits[u] === void 0 || r.digits[u] === "") && u > 0 &&
|
1913
|
-
const
|
1914
|
-
|
1912
|
+
const l = document.querySelectorAll("input"), c = l[u + 1], h = u > 0 ? l[u - 1] : null;
|
1913
|
+
if (r.digits[u] !== "" && r.digits[u] !== null && r.digits[u] !== void 0 && u < 4 && (u < 3 ? c.focus() : i.value.focus()), (r.digits[u] === null || r.digits[u] === void 0 || r.digits[u] === "") && u > 0 && h.focus(), r.digits.every((O) => O !== "")) {
|
1914
|
+
const O = r.digits.join(""), de = ie.code.code.toString();
|
1915
|
+
O === de ? (ie.code.isValid = !0, t.push({
|
1915
1916
|
path: "/auth/enter-password",
|
1916
|
-
query: { type:
|
1917
|
-
})) : (
|
1917
|
+
query: { type: ie.code.type, method: n.query.method }
|
1918
|
+
})) : (M({ response: { data: { errorCode: "WRONG_CODE" } } }), i.value.focus(), r.digits = ["", "", "", ""]);
|
1918
1919
|
}
|
1919
1920
|
};
|
1920
|
-
return (u,
|
1921
|
-
p("h3", tr,
|
1922
|
-
p("p", nr,
|
1921
|
+
return (u, l) => (v(), b("section", er, [
|
1922
|
+
p("h3", tr, y(f(d)("verifyNumberTitle")), 1),
|
1923
|
+
p("p", nr, y(f(d)("instructions")), 1),
|
1923
1924
|
p("div", dr, [
|
1924
|
-
|
1925
|
+
S(p("input", {
|
1925
1926
|
type: "number",
|
1926
|
-
"onUpdate:modelValue":
|
1927
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => r.digits[0] = c),
|
1927
1928
|
ref_key: "firstInput",
|
1928
1929
|
ref: i,
|
1929
1930
|
maxlength: "1",
|
1930
|
-
onInput:
|
1931
|
-
onPaste:
|
1932
|
-
onKeydown:
|
1931
|
+
onInput: l[1] || (l[1] = (c) => s(0)),
|
1932
|
+
onPaste: l[2] || (l[2] = (c) => u.onPaste(c, 0)),
|
1933
|
+
onKeydown: l[3] || (l[3] = (c) => $(c, 0)),
|
1933
1934
|
class: "w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"
|
1934
1935
|
}, null, 544), [
|
1935
|
-
[
|
1936
|
+
[Y, r.digits[0]]
|
1936
1937
|
]),
|
1937
|
-
|
1938
|
+
S(p("input", {
|
1938
1939
|
type: "number",
|
1939
|
-
"onUpdate:modelValue":
|
1940
|
+
"onUpdate:modelValue": l[4] || (l[4] = (c) => r.digits[1] = c),
|
1940
1941
|
maxlength: "1",
|
1941
|
-
onInput:
|
1942
|
-
onPaste:
|
1943
|
-
onKeydown:
|
1942
|
+
onInput: l[5] || (l[5] = (c) => s(1)),
|
1943
|
+
onPaste: l[6] || (l[6] = (c) => u.onPaste(c, 1)),
|
1944
|
+
onKeydown: l[7] || (l[7] = (c) => $(c, 1)),
|
1944
1945
|
class: "w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"
|
1945
1946
|
}, null, 544), [
|
1946
|
-
[
|
1947
|
+
[Y, r.digits[1]]
|
1947
1948
|
]),
|
1948
|
-
|
1949
|
+
S(p("input", {
|
1949
1950
|
type: "number",
|
1950
|
-
"onUpdate:modelValue":
|
1951
|
+
"onUpdate:modelValue": l[8] || (l[8] = (c) => r.digits[2] = c),
|
1951
1952
|
maxlength: "1",
|
1952
|
-
onInput:
|
1953
|
-
onPaste:
|
1954
|
-
onKeydown:
|
1953
|
+
onInput: l[9] || (l[9] = (c) => s(2)),
|
1954
|
+
onPaste: l[10] || (l[10] = (c) => u.onPaste(c, 2)),
|
1955
|
+
onKeydown: l[11] || (l[11] = (c) => $(c, 2)),
|
1955
1956
|
class: "w-100 h1 pd-small t-center bg-grey radius-small mn-r-small"
|
1956
1957
|
}, null, 544), [
|
1957
|
-
[
|
1958
|
+
[Y, r.digits[2]]
|
1958
1959
|
]),
|
1959
|
-
|
1960
|
+
S(p("input", {
|
1960
1961
|
type: "number",
|
1961
|
-
"onUpdate:modelValue":
|
1962
|
+
"onUpdate:modelValue": l[12] || (l[12] = (c) => r.digits[3] = c),
|
1962
1963
|
maxlength: "1",
|
1963
|
-
onInput:
|
1964
|
-
onPaste:
|
1965
|
-
onKeydown:
|
1964
|
+
onInput: l[13] || (l[13] = (c) => s(3)),
|
1965
|
+
onPaste: l[14] || (l[14] = (c) => u.onPaste(c, 3)),
|
1966
|
+
onKeydown: l[15] || (l[15] = (c) => $(c, 3)),
|
1966
1967
|
class: "w-100 h1 pd-small t-center bg-grey radius-small"
|
1967
1968
|
}, null, 544), [
|
1968
|
-
[
|
1969
|
+
[Y, r.digits[3]]
|
1969
1970
|
])
|
1970
1971
|
]),
|
1971
|
-
o.value < 1 ? (
|
1972
|
+
o.value < 1 ? (v(), b("a", {
|
1972
1973
|
key: 0,
|
1973
1974
|
onClick: a,
|
1974
1975
|
class: "t-blue"
|
1975
|
-
},
|
1976
|
+
}, y(f(d)("resendCode")), 1)) : (v(), b("span", rr, y(o.value) + " " + y(f(d)("secondsResend")), 1))
|
1976
1977
|
]));
|
1977
1978
|
}
|
1978
1979
|
};
|
1979
|
-
typeof
|
1980
|
+
typeof rt == "function" && rt(Pt);
|
1980
1981
|
const ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1981
1982
|
__proto__: null,
|
1982
1983
|
default: Pt
|
1983
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
1984
|
-
|
1985
|
-
const
|
1984
|
+
}, Symbol.toStringTag, { value: "Module" })), j = xt.create({ baseURL: process.env.API_URL, withCredentials: !0 });
|
1985
|
+
j.defaults.withCredentials = !0;
|
1986
|
+
const E = ct({
|
1986
1987
|
invites: [],
|
1987
1988
|
invite: null,
|
1988
1989
|
error: null
|
1989
|
-
}),
|
1990
|
+
}), wt = {
|
1990
1991
|
async read(e) {
|
1991
|
-
await
|
1992
|
-
|
1992
|
+
await j.get(`/api/invites/${e}`).then((n) => {
|
1993
|
+
E.invites = n.data, E.error = null;
|
1993
1994
|
}).catch((n) => {
|
1994
|
-
|
1995
|
+
M(n);
|
1995
1996
|
});
|
1996
1997
|
},
|
1997
1998
|
async readOne(e) {
|
1998
|
-
await
|
1999
|
-
|
1999
|
+
await j.get(`/api/invites/get/${e}`).then((n) => {
|
2000
|
+
E.invite = n.data, m.user.phone = n.data.invitedPhone, m.user.email = n.data.invitedEmail;
|
2000
2001
|
}).catch((n) => {
|
2001
|
-
|
2002
|
+
M(n);
|
2002
2003
|
});
|
2003
2004
|
},
|
2004
2005
|
async create(e, n) {
|
2005
|
-
await
|
2006
|
-
|
2006
|
+
await j.post(`/api/invites/${e}/create`, n).then(() => {
|
2007
|
+
E.error = null;
|
2007
2008
|
}).catch((t) => {
|
2008
|
-
|
2009
|
+
M(t);
|
2009
2010
|
});
|
2010
2011
|
},
|
2011
2012
|
async update(e, n) {
|
2012
|
-
await
|
2013
|
-
|
2013
|
+
await j.put(`/api/invites/${e}/update`, n).then(() => {
|
2014
|
+
E.error = null;
|
2014
2015
|
}).catch((t) => {
|
2015
|
-
|
2016
|
+
M(t);
|
2016
2017
|
});
|
2017
2018
|
},
|
2018
2019
|
async delete(e) {
|
2019
|
-
await
|
2020
|
-
|
2020
|
+
await j.delete(`/api/invites/${e}/delete`).then(() => {
|
2021
|
+
E.error = null;
|
2021
2022
|
}).catch((n) => {
|
2022
|
-
|
2023
|
+
M(n);
|
2023
2024
|
});
|
2024
2025
|
}
|
2025
2026
|
};
|
2026
|
-
|
2027
|
+
ft(E, (e, n) => {
|
2027
2028
|
});
|
2028
|
-
const
|
2029
|
+
const A1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
2029
2030
|
__proto__: null,
|
2030
|
-
actions:
|
2031
|
-
state:
|
2031
|
+
actions: wt,
|
2032
|
+
state: E
|
2032
2033
|
}, Symbol.toStringTag, { value: "Module" }));
|
2033
2034
|
const or = { class: "t-left pd-medium" }, ar = /* @__PURE__ */ p("h3", { class: "mn-small" }, "Вы были пригилашены в организацию", -1), sr = /* @__PURE__ */ p("p", { class: "mn-semi t-transp" }, "Пожалуйста, укажите пароль, на этом регистрация будет закочена.", -1), lr = { class: "mn-semi radius-small o-hidden" }, $r = { key: 0 }, ur = { key: 1 }, cr = {
|
2034
2035
|
__name: "Invite",
|
2035
2036
|
async setup(e) {
|
2036
2037
|
let n, t;
|
2037
|
-
const d =
|
2038
|
-
[n, t] = Dt(() =>
|
2038
|
+
const d = _(null), r = L(), i = x();
|
2039
|
+
[n, t] = Dt(() => wt.readOne(r.query.inviteCode)), await n, t();
|
2039
2040
|
async function o() {
|
2040
2041
|
try {
|
2041
|
-
await
|
2042
|
+
await F(
|
2042
2043
|
d,
|
2043
|
-
|
2044
|
+
pt,
|
2044
2045
|
m.user.password,
|
2045
2046
|
"Некорректный пароль"
|
2046
2047
|
);
|
2047
2048
|
} catch {
|
2048
2049
|
throw new Error();
|
2049
2050
|
}
|
2050
|
-
await
|
2051
|
+
await K.signup(m.user, r.query.type, r.query.inviteCode);
|
2051
2052
|
}
|
2052
2053
|
function a() {
|
2053
2054
|
i.push({ name: "Dashboard" });
|
2054
2055
|
}
|
2055
|
-
return (
|
2056
|
+
return ($, s) => (v(), b("section", or, [
|
2056
2057
|
ar,
|
2057
2058
|
sr,
|
2058
2059
|
p("div", lr, [
|
2059
|
-
|
2060
|
+
g(D, {
|
2060
2061
|
field: m.user.password,
|
2061
2062
|
"onUpdate:field": s[0] || (s[0] = (u) => m.user.password = u),
|
2062
2063
|
type: "password",
|
@@ -2065,7 +2066,7 @@ const or = { class: "t-left pd-medium" }, ar = /* @__PURE__ */ p("h3", { class:
|
|
2065
2066
|
placeholder: "******",
|
2066
2067
|
class: "bg-white radius-small mn-small"
|
2067
2068
|
}, null, 8, ["field", "validation"]),
|
2068
|
-
|
2069
|
+
g(D, {
|
2069
2070
|
field: m.user.passwordRepeat,
|
2070
2071
|
"onUpdate:field": s[1] || (s[1] = (u) => m.user.passwordRepeat = u),
|
2071
2072
|
type: "password",
|
@@ -2074,14 +2075,14 @@ const or = { class: "t-left pd-medium" }, ar = /* @__PURE__ */ p("h3", { class:
|
|
2074
2075
|
class: "bg-white radius-small mn-semi"
|
2075
2076
|
}, null, 8, ["field"])
|
2076
2077
|
]),
|
2077
|
-
|
2078
|
-
disabled:
|
2078
|
+
g(X, {
|
2079
|
+
disabled: E.invite === null,
|
2079
2080
|
submit: o,
|
2080
2081
|
callback: a,
|
2081
2082
|
class: "mn-big"
|
2082
2083
|
}, {
|
2083
|
-
default:
|
2084
|
-
f(r).query.method === "reset-password" ? (
|
2084
|
+
default: C(() => [
|
2085
|
+
f(r).query.method === "reset-password" ? (v(), b("span", $r, "Поменять пароль")) : (v(), b("span", ur, "Зарегистрироваться"))
|
2085
2086
|
]),
|
2086
2087
|
_: 1
|
2087
2088
|
}, 8, ["disabled"])
|
@@ -2091,7 +2092,7 @@ const or = { class: "t-left pd-medium" }, ar = /* @__PURE__ */ p("h3", { class:
|
|
2091
2092
|
__proto__: null,
|
2092
2093
|
default: cr
|
2093
2094
|
}, Symbol.toStringTag, { value: "Module" }));
|
2094
|
-
function
|
2095
|
+
function it(e) {
|
2095
2096
|
const n = e;
|
2096
2097
|
n.__i18n = n.__i18n || [], n.__i18n.push({
|
2097
2098
|
locale: "",
|
@@ -2165,68 +2166,68 @@ const pr = { class: "t-left pd-medium" }, mr = { class: "mn-small" }, hr = {
|
|
2165
2166
|
}, yr = {
|
2166
2167
|
key: 1,
|
2167
2168
|
class: "mn-semi t-transp"
|
2168
|
-
}, gr = { class: "mn-semi radius-small o-hidden" }, vr = { key: 0 }, br = { key: 1 },
|
2169
|
+
}, gr = { class: "mn-semi radius-small o-hidden" }, vr = { key: 0 }, br = { key: 1 }, Ot = {
|
2169
2170
|
__name: "EnterPassword",
|
2170
2171
|
setup(e) {
|
2171
|
-
const n =
|
2172
|
+
const n = _(null), { t } = B({
|
2172
2173
|
inheritLocale: !0,
|
2173
2174
|
useScope: "local"
|
2174
|
-
}), d =
|
2175
|
-
|
2175
|
+
}), d = L(), r = x();
|
2176
|
+
_("phone");
|
2176
2177
|
async function i() {
|
2177
2178
|
try {
|
2178
|
-
await
|
2179
|
+
await F(
|
2179
2180
|
n,
|
2180
|
-
|
2181
|
+
pt,
|
2181
2182
|
m.user.password,
|
2182
2183
|
"Некорректный пароль"
|
2183
2184
|
);
|
2184
2185
|
} catch {
|
2185
2186
|
throw new Error();
|
2186
2187
|
}
|
2187
|
-
d.query.method === "reset-password" && await
|
2188
|
+
d.query.method === "reset-password" && await K.updatePassword(m.user, d.query.type), d.query.method !== "reset-password" && await K.signup(m.user, d.query.type);
|
2188
2189
|
}
|
2189
2190
|
function o() {
|
2190
2191
|
r.push({ name: "User Profile", params: { _id: m.user._id } });
|
2191
2192
|
}
|
2192
|
-
return (a,
|
2193
|
-
p("h3", mr,
|
2194
|
-
f(d).query.method === "reset-password" ? (
|
2193
|
+
return (a, $) => (v(), b("section", pr, [
|
2194
|
+
p("h3", mr, y(f(t)("almostDone")), 1),
|
2195
|
+
f(d).query.method === "reset-password" ? (v(), b("p", hr, y(f(t)("newPasswordPrompt")), 1)) : (v(), b("p", yr, y(f(t)("registrationPasswordPrompt")), 1)),
|
2195
2196
|
p("div", gr, [
|
2196
|
-
|
2197
|
+
g(D, {
|
2197
2198
|
field: m.user.password,
|
2198
|
-
"onUpdate:field":
|
2199
|
+
"onUpdate:field": $[0] || ($[0] = (s) => m.user.password = s),
|
2199
2200
|
type: "password",
|
2200
2201
|
validation: n.value,
|
2201
2202
|
placeholder: f(t)("passwordPlaceholder"),
|
2202
2203
|
class: "bg-grey pd-small radius-small mn-thin"
|
2203
2204
|
}, null, 8, ["field", "validation", "placeholder"]),
|
2204
|
-
|
2205
|
+
g(D, {
|
2205
2206
|
field: m.user.passwordRepeat,
|
2206
|
-
"onUpdate:field":
|
2207
|
+
"onUpdate:field": $[1] || ($[1] = (s) => m.user.passwordRepeat = s),
|
2207
2208
|
type: "password",
|
2208
2209
|
placeholder: f(t)("repeatPasswordPlaceholder"),
|
2209
2210
|
class: "bg-grey pd-small radius-small mn-thin"
|
2210
2211
|
}, null, 8, ["field", "placeholder"])
|
2211
2212
|
]),
|
2212
|
-
|
2213
|
+
g(X, {
|
2213
2214
|
submit: i,
|
2214
2215
|
callback: o,
|
2215
2216
|
class: "mn-big"
|
2216
2217
|
}, {
|
2217
|
-
default:
|
2218
|
-
f(d).query.method === "reset-password" ? (
|
2218
|
+
default: C(() => [
|
2219
|
+
f(d).query.method === "reset-password" ? (v(), b("span", vr, y(f(t)("changePasswordBtn")), 1)) : (v(), b("span", br, y(f(t)("registerBtn")), 1))
|
2219
2220
|
]),
|
2220
2221
|
_: 1
|
2221
2222
|
})
|
2222
2223
|
]));
|
2223
2224
|
}
|
2224
2225
|
};
|
2225
|
-
typeof
|
2226
|
+
typeof it == "function" && it(Ot);
|
2226
2227
|
const _r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
2227
2228
|
__proto__: null,
|
2228
|
-
default:
|
2229
|
-
}, Symbol.toStringTag, { value: "Module" })), Cr = [["افغانستان", "af", "93", , "🇦🇫"], ["Shqipëri", "al", "355", , "🇦🇱"], ["الجزائر", "dz", "213", , "🇩🇿"], ["American Samoa", "as", "1684", , "🇦🇸"], ["Andorra", "ad", "376", , "🇦🇩"], ["Angola", "ao", "244", , "🇦🇴"], ["Anguilla", "ai", "1264", , "🇦🇮"], ["Antigua and Barbuda", "ag", "1268", , "🇦🇬"], ["Argentina", "ar", "54", , "🇦🇷"], ["Հայաստան", "am", "374", , "🇦🇲"], ["Aruba", "aw", "297", , "🇦🇼"], ["Australia", "au", "61", 0, , "🇦🇺"], ["Österreich", "at", "43", , "🇦🇹"], ["Azərbaycan", "az", "994", , "🇦🇿"], ["Bahamas", "bs", "1242", , "🇧🇸"], ["البحرين", "bh", "973", , "🇧🇭"], ["বাংলাদেশ", "bd", "880", , "🇧🇩"], ["Barbados", "bb", "1246", , "🇧🇧"], ["Беларусь", "by", "375", , "🇧🇾"], ["België", "be", "32", , "🇧🇪"], ["Belize", "bz", "501", , "🇧🇿"], ["Bénin", "bj", "229", , "🇧🇯"], ["Bermuda", "bm", "1441", , "🇧🇲"], ["འབྲུག", "bt", "975", , "🇧🇹"], ["Bolivia", "bo", "591", , "🇧🇴"], ["Босна и Херцеговина", "ba", "387", , "🇧🇦"], ["Botswana", "bw", "267", , "🇧🇼"], ["Brasil", "br", "55", , "🇧🇷"], ["British Indian Ocean Territory", "io", "246", , "🇮🇴"], ["British Virgin Islands", "vg", "1284", , "🇻🇬"], ["Brunei", "bn", "673", , "🇧🇳"], ["България", "bg", "359", , "🇧🇬"], ["Burkina Faso", "bf", "226", , "🇧🇫"], ["Uburundi", "bi", "257", , "🇧🇮"], ["កម្ពុជា", "kh", "855", , "🇰🇭"], ["Cameroun", "cm", "237", , "🇨🇲"], ["Canada", "ca", "1", 1, "🇨🇦"], ["Kabu Verdi", "cv", "238", , "🇨🇻"], ["Caribbean Netherlands", "bq", "599", 1, , "🇧🇶"], ["Cayman Islands", "ky", "1345", , "🇰🇾"], ["République centrafricaine", "cf", "236", , "🇨🇫"], ["Tchad", "td", "235", , "🇹🇩"], ["Chile", "cl", "56", , "🇨🇱"], ["中国", "cn", "86", , "🇨🇳"], ["Christmas Island", "cx", "61", 2, , "🇨🇽"], ["Keeling", "cc", "61", 1, , "🇨🇨"], ["Colombia", "co", "57", , "🇨🇴"], ["جزر القمر", "km", "269", , "🇰🇲"], ["DRC", "cd", "243", , "🇨🇩"], ["Republic", "cg", "242", , "🇨🇬"], ["Cook Islands", "ck", "682", , "🇨🇰"], ["Costa Rica", "cr", "506", , "🇨🇷"], ["Côte d’Ivoire", "ci", "225", , "🇨🇮"], ["Hrvatska", "hr", "385", , "🇭🇷"], ["Cuba", "cu", "53", , "🇨🇺"], ["Curaçao", "cw", "599", 0, , "🇨🇼"], ["Κύπρος", "cy", "357", , "🇨🇾"], ["Česká republika", "cz", "420", , "🇨🇿"], ["Danmark", "dk", "45", , "🇩🇰"], ["Djibouti", "dj", "253", , "🇩🇯"], ["Dominica", "dm", "1767", , "🇩🇲"], ["República Dominicana", "do", "1", 2, ["809", "829", "849", "🇩🇴"]], ["Ecuador", "ec", "593", , "🇪🇨"], ["مصر", "eg", "20", , "🇪🇬"], ["El Salvador", "sv", "503", , "🇸🇻"], ["Guinea Ecuatorial", "gq", "240", , "🇬🇶"], ["Eritrea", "er", "291", , "🇪🇷"], ["Eesti", "ee", "372", , "🇪🇪"], ["Ethiopia", "et", "251", , "🇪🇹"], ["Islas Malvinas", "fk", "500", , "🇫🇰"], ["Føroyar", "fo", "298", , "🇫🇴"], ["Fiji", "fj", "679", , "🇫🇯"], ["Suomi", "fi", "358", 0, , "🇫🇮"], ["France", "fr", "33", , "🇫🇷"], ["Guyane française", "gf", "594", , "🇬🇫"], ["Polynésie française", "pf", "689", , "🇵🇫"], ["Gabon", "ga", "241", , "🇬🇦"], ["Gambia", "gm", "220", , "🇬🇲"], ["საქართველო", "ge", "995", , "🇬🇪"], ["Deutschland", "de", "49", , "🇩🇪"], ["Gaana", "gh", "233", , "🇬🇭"], ["Gibraltar", "gi", "350", , "🇬🇮"], ["Ελλάδα", "gr", "30", , "🇬🇷"], ["Kalaallit Nunaat", "gl", "299", , "🇬🇱"], ["Grenada", "gd", "1473", , "🇬🇩"], ["Guadeloupe", "gp", "590", 0, , "🇬🇵"], ["Guam", "gu", "1671", , "🇬🇺"], ["Guatemala", "gt", "502", , "🇬🇹"], ["Guernsey", "gg", "44", 1, , "🇬🇬"], ["Guinée", "gn", "224", , "🇬🇳"], ["Guiné Bissau", "gw", "245", , "🇬🇼"], ["Guyana", "gy", "592", , "🇬🇾"], ["Haiti", "ht", "509", , "🇭🇹"], ["Honduras", "hn", "504", , "🇭🇳"], ["香港", "hk", "852", , "🇭🇰"], ["Magyarország", "hu", "36", , "🇭🇺"], ["Ísland", "is", "354", , "🇮🇸"], ["भारत", "in", "91", , "🇮🇳"], ["Indonesia", "id", "62", , "🇮🇩"], ["ایران", "ir", "98", , "🇮🇷"], ["العراق", "iq", "964", , "🇮🇶"], ["Ireland", "ie", "353", , "🇮🇪"], ["Isle of Man", "im", "44", 2, , "🇮🇲"], ["ישראל", "il", "972", , "🇮🇱"], ["Italia", "it", "39", 0, , "🇮🇹"], ["Jamaica", "jm", "1876", , "🇯🇲"], ["日本", "jp", "81", , "🇯🇵"], ["Jersey", "je", "44", 3, , "🇯🇪"], ["الأردن", "jo", "962", , "🇯🇴"], ["Казахстан", "kz", "7", 1, , "🇰🇿"], ["Kenya", "ke", "254", , "🇰🇪"], ["Kiribati", "ki", "686", , "🇰🇮"], ["Kosovo", "xk", "383", , "🇽🇰"], ["الكويت", "kw", "965", , "🇰🇼"], ["Кыргызстан", "kg", "996", , "🇰🇬"], ["ລາວ", "la", "856", , "🇱🇦"], ["Latvija", "lv", "371", , "🇱🇻"], ["لبنان", "lb", "961", , "🇱🇧"], ["Lesotho", "ls", "266", , "🇱🇸"], ["Liberia", "lr", "231", , "🇱🇷"], ["ليبيا", "ly", "218", , "🇱🇾"], ["Liechtenstein", "li", "423", , "🇱🇮"], ["Lietuva", "lt", "370", , "🇱🇹"], ["Luxembourg", "lu", "352", , "🇱🇺"], ["澳門", "mo", "853", , "🇲🇴"], ["FYROM", "mk", "389", , "🇲🇰"], ["Madagasikara", "mg", "261", , "🇲🇬"], ["Malawi", "mw", "265", , "🇲🇼"], ["Malaysia", "my", "60", , "🇲🇾"], ["Maldives", "mv", "960", , "🇲🇻"], ["Mali", "ml", "223", , "🇲🇱"], ["Malta", "mt", "356", , "🇲🇹"], ["Marshall Islands", "mh", "692", , "🇲🇭"], ["Martinique", "mq", "596", , "🇲🇶"], ["موريتانيا", "mr", "222", , "🇲🇷"], ["Moris", "mu", "230", , "🇲🇺"], ["Mayotte", "yt", "262", 1, , "🇾🇹"], ["México", "mx", "52", , "🇲🇽"], ["Micronesia", "fm", "691", , "🇫🇲"], ["Republica Moldova", "md", "373", , "🇲🇩"], ["Monaco", "mc", "377", , "🇲🇨"], ["Монгол", "mn", "976", , "🇲🇳"], ["Crna Gora", "me", "382", , "🇲🇪"], ["Montserrat", "ms", "1664", , "🇲🇸"], ["المغرب", "ma", "212", 0, , "🇲🇦"], ["Moçambique", "mz", "258", , "🇲🇿"], ["Burma", "mm", "95", , "🇲🇲"], ["Namibië", "na", "264", , "🇳🇦"], ["Nauru", "nr", "674", , "🇳🇷"], ["नेपाल", "np", "977", , "🇳🇵"], ["Nederland", "nl", "31", , "🇳🇱"], ["Nouvelle-Calédonie", "nc", "687", , "🇳🇨"], ["New Zealand", "nz", "64", , "🇳🇿"], ["Nicaragua", "ni", "505", , "🇳🇮"], ["Nijar", "ne", "227", , "🇳🇪"], ["Nigeria", "ng", "234", , "🇳🇬"], ["Niue", "nu", "683", , "🇳🇺"], ["Norfolk Island", "nf", "672", , "🇳🇫"], ["조선 민주주의 인민 공화국", "kp", "850", , "🇰🇵"], ["Northern Mariana Islands", "mp", "1670", , "🇲🇵"], ["Norge", "no", "47", 0, , "🇳🇴"], ["عُمان", "om", "968", , "🇴🇲"], ["پاکستان", "pk", "92", , "🇵🇰"], ["Palau", "pw", "680", , "🇵🇼"], ["فلسطين", "ps", "970", , "🇵🇸"], ["Panamá", "pa", "507", , "🇵🇦"], ["Papua New Guinea", "pg", "675", , "🇵🇬"], ["Paraguay", "py", "595", , "🇵🇾"], ["Perú", "pe", "51", , "🇵🇪"], ["Philippines", "ph", "63", , "🇵🇭"], ["Polska", "pl", "48", , "🇵🇱"], ["Portugal", "pt", "351", , "🇵🇹"], ["Puerto Rico", "pr", "1", 3, ["787", "939", "🇵🇷"]], ["قطر", "qa", "974", , "🇶🇦"], ["La Réunion", "re", "262", 0, , "🇷🇪"], ["România", "ro", "40", , "🇷🇴"], ["Россия", "ru", "7", 0, , "🇷🇺"], ["Rwanda", "rw", "250", , "🇷🇼"], ["Saint Barthélemy", "bl", "590", 1, , "🇧🇱"], ["Saint Helena", "sh", "290", , "🇸🇭"], ["Saint Kitts and Nevis", "kn", "1869", , "🇰🇳"], ["Saint Lucia", "lc", "1758", , "🇱🇨"], ["Saint-Martin (partie française", "mf", "590", 2, , "🇲🇫"], ["Saint-Pierre-et-Miquelon", "pm", "508", , "🇵🇲"], ["Saint Vincent and the Grenadines", "vc", "1784", , "🇻🇨"], ["Samoa", "ws", "685", , "🇼🇸"], ["San Marino", "sm", "378", , "🇸🇲"], ["São Tomé e Príncipe", "st", "239", , "🇸🇹"], ["المملكة العربية السعودية", "sa", "966", , "🇸🇦"], ["Sénégal", "sn", "221", , "🇸🇳"], ["Србија", "rs", "381", , "🇷🇸"], ["Seychelles", "sc", "248", , "🇸🇨"], ["Sierra Leone", "sl", "232", , "🇸🇱"], ["Singapore", "sg", "65", , "🇸🇬"], ["Sint Maarten", "sx", "1721", , "🇸🇽"], ["Slovensko", "sk", "421", , "🇸🇰"], ["Slovenija", "si", "386", , "🇸🇮"], ["Solomon Islands", "sb", "677", , "🇸🇧"], ["Soomaaliya", "so", "252", , "🇸🇴"], ["South Africa", "za", "27", , "🇿🇦"], ["대한민국", "kr", "82", , "🇰🇷"], ["جنوب السودان", "ss", "211", , "🇸🇸"], ["España", "es", "34", , "🇪🇸"], ["ශ්රී ලංකාව", "lk", "94", , "🇱🇰"], ["السودان", "sd", "249", , "🇸🇩"], ["Suriname", "sr", "597", , "🇸🇷"], ["Svalbard and Jan Mayen", "sj", "47", 1, , "🇸🇯"], ["Swaziland", "sz", "268", , "🇸🇿"], ["Sverige", "se", "46", , "🇸🇪"], ["Schweiz", "ch", "41", , "🇨🇭"], ["سوريا", "sy", "963", , "🇸🇾"], ["台灣", "tw", "886", , "🇹🇼"], ["Tajikistan", "tj", "992", , "🇹🇯"], ["Tanzania", "tz", "255", , "🇹🇿"], ["ไทย", "th", "66", , "🇹🇭"], ["Timor-Leste", "tl", "670", , "🇹🇱"], ["Togo", "tg", "228", , "🇹🇬"], ["Tokelau", "tk", "690", , "🇹🇰"], ["Tonga", "to", "676", , "🇹🇴"], ["Trinidad and Tobago", "tt", "1868", , "🇹🇹"], ["تونس", "tn", "216", , "🇹🇳"], ["Türkiye", "tr", "90", , "🇹🇷"], ["Turkmenistan", "tm", "993", , "🇹🇲"], ["Turks and Caicos Islands", "tc", "1649", , "🇹🇨"], ["Tuvalu", "tv", "688", , "🇹🇻"], ["U.S. Virgin Islands", "vi", "1340", , "🇻🇮"], ["Uganda", "ug", "256", , "🇺🇬"], ["Україна", "ua", "380", , "🇺🇦"], ["الإمارات العربية المتحدة", "ae", "971", , "🇦🇪"], ["United Kingdom", "gb", "44", 0, , "🇬🇧"], ["United States", "us", "1", 0, , "🇺🇸"], ["Uruguay", "uy", "598", , "🇺🇾"], ["Oʻzbekiston", "uz", "998", , "🇺🇿"], ["Vanuatu", "vu", "678", , "🇻🇺"], ["Città del Vaticano", "va", "39", 1, , "🇻🇦"], ["Venezuela", "ve", "58", , "🇻🇪"], ["Việt Nam", "vn", "84", , "🇻🇳"], ["Wallis-et-Futuna", "wf", "681", , "🇼🇫"], ["الصحراء الغربية", "eh", "212", 1, , "🇪🇭"], ["اليمن", "ye", "967", , "🇾🇪"], ["Zambia", "zm", "260", , "🇿🇲"], ["Zimbabwe", "zw", "263", , "🇿🇼"], ["Åland Islands", "ax", "358", 1, , "🇦🇽"]],
|
2229
|
+
default: Ot
|
2230
|
+
}, Symbol.toStringTag, { value: "Module" })), Cr = [["افغانستان", "af", "93", , "🇦🇫"], ["Shqipëri", "al", "355", , "🇦🇱"], ["الجزائر", "dz", "213", , "🇩🇿"], ["American Samoa", "as", "1684", , "🇦🇸"], ["Andorra", "ad", "376", , "🇦🇩"], ["Angola", "ao", "244", , "🇦🇴"], ["Anguilla", "ai", "1264", , "🇦🇮"], ["Antigua and Barbuda", "ag", "1268", , "🇦🇬"], ["Argentina", "ar", "54", , "🇦🇷"], ["Հայաստան", "am", "374", , "🇦🇲"], ["Aruba", "aw", "297", , "🇦🇼"], ["Australia", "au", "61", 0, , "🇦🇺"], ["Österreich", "at", "43", , "🇦🇹"], ["Azərbaycan", "az", "994", , "🇦🇿"], ["Bahamas", "bs", "1242", , "🇧🇸"], ["البحرين", "bh", "973", , "🇧🇭"], ["বাংলাদেশ", "bd", "880", , "🇧🇩"], ["Barbados", "bb", "1246", , "🇧🇧"], ["Беларусь", "by", "375", , "🇧🇾"], ["België", "be", "32", , "🇧🇪"], ["Belize", "bz", "501", , "🇧🇿"], ["Bénin", "bj", "229", , "🇧🇯"], ["Bermuda", "bm", "1441", , "🇧🇲"], ["འབྲུག", "bt", "975", , "🇧🇹"], ["Bolivia", "bo", "591", , "🇧🇴"], ["Босна и Херцеговина", "ba", "387", , "🇧🇦"], ["Botswana", "bw", "267", , "🇧🇼"], ["Brasil", "br", "55", , "🇧🇷"], ["British Indian Ocean Territory", "io", "246", , "🇮🇴"], ["British Virgin Islands", "vg", "1284", , "🇻🇬"], ["Brunei", "bn", "673", , "🇧🇳"], ["България", "bg", "359", , "🇧🇬"], ["Burkina Faso", "bf", "226", , "🇧🇫"], ["Uburundi", "bi", "257", , "🇧🇮"], ["កម្ពុជា", "kh", "855", , "🇰🇭"], ["Cameroun", "cm", "237", , "🇨🇲"], ["Canada", "ca", "1", 1, "🇨🇦"], ["Kabu Verdi", "cv", "238", , "🇨🇻"], ["Caribbean Netherlands", "bq", "599", 1, , "🇧🇶"], ["Cayman Islands", "ky", "1345", , "🇰🇾"], ["République centrafricaine", "cf", "236", , "🇨🇫"], ["Tchad", "td", "235", , "🇹🇩"], ["Chile", "cl", "56", , "🇨🇱"], ["中国", "cn", "86", , "🇨🇳"], ["Christmas Island", "cx", "61", 2, , "🇨🇽"], ["Keeling", "cc", "61", 1, , "🇨🇨"], ["Colombia", "co", "57", , "🇨🇴"], ["جزر القمر", "km", "269", , "🇰🇲"], ["DRC", "cd", "243", , "🇨🇩"], ["Republic", "cg", "242", , "🇨🇬"], ["Cook Islands", "ck", "682", , "🇨🇰"], ["Costa Rica", "cr", "506", , "🇨🇷"], ["Côte d’Ivoire", "ci", "225", , "🇨🇮"], ["Hrvatska", "hr", "385", , "🇭🇷"], ["Cuba", "cu", "53", , "🇨🇺"], ["Curaçao", "cw", "599", 0, , "🇨🇼"], ["Κύπρος", "cy", "357", , "🇨🇾"], ["Česká republika", "cz", "420", , "🇨🇿"], ["Danmark", "dk", "45", , "🇩🇰"], ["Djibouti", "dj", "253", , "🇩🇯"], ["Dominica", "dm", "1767", , "🇩🇲"], ["República Dominicana", "do", "1", 2, ["809", "829", "849", "🇩🇴"]], ["Ecuador", "ec", "593", , "🇪🇨"], ["مصر", "eg", "20", , "🇪🇬"], ["El Salvador", "sv", "503", , "🇸🇻"], ["Guinea Ecuatorial", "gq", "240", , "🇬🇶"], ["Eritrea", "er", "291", , "🇪🇷"], ["Eesti", "ee", "372", , "🇪🇪"], ["Ethiopia", "et", "251", , "🇪🇹"], ["Islas Malvinas", "fk", "500", , "🇫🇰"], ["Føroyar", "fo", "298", , "🇫🇴"], ["Fiji", "fj", "679", , "🇫🇯"], ["Suomi", "fi", "358", 0, , "🇫🇮"], ["France", "fr", "33", , "🇫🇷"], ["Guyane française", "gf", "594", , "🇬🇫"], ["Polynésie française", "pf", "689", , "🇵🇫"], ["Gabon", "ga", "241", , "🇬🇦"], ["Gambia", "gm", "220", , "🇬🇲"], ["საქართველო", "ge", "995", , "🇬🇪"], ["Deutschland", "de", "49", , "🇩🇪"], ["Gaana", "gh", "233", , "🇬🇭"], ["Gibraltar", "gi", "350", , "🇬🇮"], ["Ελλάδα", "gr", "30", , "🇬🇷"], ["Kalaallit Nunaat", "gl", "299", , "🇬🇱"], ["Grenada", "gd", "1473", , "🇬🇩"], ["Guadeloupe", "gp", "590", 0, , "🇬🇵"], ["Guam", "gu", "1671", , "🇬🇺"], ["Guatemala", "gt", "502", , "🇬🇹"], ["Guernsey", "gg", "44", 1, , "🇬🇬"], ["Guinée", "gn", "224", , "🇬🇳"], ["Guiné Bissau", "gw", "245", , "🇬🇼"], ["Guyana", "gy", "592", , "🇬🇾"], ["Haiti", "ht", "509", , "🇭🇹"], ["Honduras", "hn", "504", , "🇭🇳"], ["香港", "hk", "852", , "🇭🇰"], ["Magyarország", "hu", "36", , "🇭🇺"], ["Ísland", "is", "354", , "🇮🇸"], ["भारत", "in", "91", , "🇮🇳"], ["Indonesia", "id", "62", , "🇮🇩"], ["ایران", "ir", "98", , "🇮🇷"], ["العراق", "iq", "964", , "🇮🇶"], ["Ireland", "ie", "353", , "🇮🇪"], ["Isle of Man", "im", "44", 2, , "🇮🇲"], ["ישראל", "il", "972", , "🇮🇱"], ["Italia", "it", "39", 0, , "🇮🇹"], ["Jamaica", "jm", "1876", , "🇯🇲"], ["日本", "jp", "81", , "🇯🇵"], ["Jersey", "je", "44", 3, , "🇯🇪"], ["الأردن", "jo", "962", , "🇯🇴"], ["Казахстан", "kz", "7", 1, , "🇰🇿"], ["Kenya", "ke", "254", , "🇰🇪"], ["Kiribati", "ki", "686", , "🇰🇮"], ["Kosovo", "xk", "383", , "🇽🇰"], ["الكويت", "kw", "965", , "🇰🇼"], ["Кыргызстан", "kg", "996", , "🇰🇬"], ["ລາວ", "la", "856", , "🇱🇦"], ["Latvija", "lv", "371", , "🇱🇻"], ["لبنان", "lb", "961", , "🇱🇧"], ["Lesotho", "ls", "266", , "🇱🇸"], ["Liberia", "lr", "231", , "🇱🇷"], ["ليبيا", "ly", "218", , "🇱🇾"], ["Liechtenstein", "li", "423", , "🇱🇮"], ["Lietuva", "lt", "370", , "🇱🇹"], ["Luxembourg", "lu", "352", , "🇱🇺"], ["澳門", "mo", "853", , "🇲🇴"], ["FYROM", "mk", "389", , "🇲🇰"], ["Madagasikara", "mg", "261", , "🇲🇬"], ["Malawi", "mw", "265", , "🇲🇼"], ["Malaysia", "my", "60", , "🇲🇾"], ["Maldives", "mv", "960", , "🇲🇻"], ["Mali", "ml", "223", , "🇲🇱"], ["Malta", "mt", "356", , "🇲🇹"], ["Marshall Islands", "mh", "692", , "🇲🇭"], ["Martinique", "mq", "596", , "🇲🇶"], ["موريتانيا", "mr", "222", , "🇲🇷"], ["Moris", "mu", "230", , "🇲🇺"], ["Mayotte", "yt", "262", 1, , "🇾🇹"], ["México", "mx", "52", , "🇲🇽"], ["Micronesia", "fm", "691", , "🇫🇲"], ["Republica Moldova", "md", "373", , "🇲🇩"], ["Monaco", "mc", "377", , "🇲🇨"], ["Монгол", "mn", "976", , "🇲🇳"], ["Crna Gora", "me", "382", , "🇲🇪"], ["Montserrat", "ms", "1664", , "🇲🇸"], ["المغرب", "ma", "212", 0, , "🇲🇦"], ["Moçambique", "mz", "258", , "🇲🇿"], ["Burma", "mm", "95", , "🇲🇲"], ["Namibië", "na", "264", , "🇳🇦"], ["Nauru", "nr", "674", , "🇳🇷"], ["नेपाल", "np", "977", , "🇳🇵"], ["Nederland", "nl", "31", , "🇳🇱"], ["Nouvelle-Calédonie", "nc", "687", , "🇳🇨"], ["New Zealand", "nz", "64", , "🇳🇿"], ["Nicaragua", "ni", "505", , "🇳🇮"], ["Nijar", "ne", "227", , "🇳🇪"], ["Nigeria", "ng", "234", , "🇳🇬"], ["Niue", "nu", "683", , "🇳🇺"], ["Norfolk Island", "nf", "672", , "🇳🇫"], ["조선 민주주의 인민 공화국", "kp", "850", , "🇰🇵"], ["Northern Mariana Islands", "mp", "1670", , "🇲🇵"], ["Norge", "no", "47", 0, , "🇳🇴"], ["عُمان", "om", "968", , "🇴🇲"], ["پاکستان", "pk", "92", , "🇵🇰"], ["Palau", "pw", "680", , "🇵🇼"], ["فلسطين", "ps", "970", , "🇵🇸"], ["Panamá", "pa", "507", , "🇵🇦"], ["Papua New Guinea", "pg", "675", , "🇵🇬"], ["Paraguay", "py", "595", , "🇵🇾"], ["Perú", "pe", "51", , "🇵🇪"], ["Philippines", "ph", "63", , "🇵🇭"], ["Polska", "pl", "48", , "🇵🇱"], ["Portugal", "pt", "351", , "🇵🇹"], ["Puerto Rico", "pr", "1", 3, ["787", "939", "🇵🇷"]], ["قطر", "qa", "974", , "🇶🇦"], ["La Réunion", "re", "262", 0, , "🇷🇪"], ["România", "ro", "40", , "🇷🇴"], ["Россия", "ru", "7", 0, , "🇷🇺"], ["Rwanda", "rw", "250", , "🇷🇼"], ["Saint Barthélemy", "bl", "590", 1, , "🇧🇱"], ["Saint Helena", "sh", "290", , "🇸🇭"], ["Saint Kitts and Nevis", "kn", "1869", , "🇰🇳"], ["Saint Lucia", "lc", "1758", , "🇱🇨"], ["Saint-Martin (partie française", "mf", "590", 2, , "🇲🇫"], ["Saint-Pierre-et-Miquelon", "pm", "508", , "🇵🇲"], ["Saint Vincent and the Grenadines", "vc", "1784", , "🇻🇨"], ["Samoa", "ws", "685", , "🇼🇸"], ["San Marino", "sm", "378", , "🇸🇲"], ["São Tomé e Príncipe", "st", "239", , "🇸🇹"], ["المملكة العربية السعودية", "sa", "966", , "🇸🇦"], ["Sénégal", "sn", "221", , "🇸🇳"], ["Србија", "rs", "381", , "🇷🇸"], ["Seychelles", "sc", "248", , "🇸🇨"], ["Sierra Leone", "sl", "232", , "🇸🇱"], ["Singapore", "sg", "65", , "🇸🇬"], ["Sint Maarten", "sx", "1721", , "🇸🇽"], ["Slovensko", "sk", "421", , "🇸🇰"], ["Slovenija", "si", "386", , "🇸🇮"], ["Solomon Islands", "sb", "677", , "🇸🇧"], ["Soomaaliya", "so", "252", , "🇸🇴"], ["South Africa", "za", "27", , "🇿🇦"], ["대한민국", "kr", "82", , "🇰🇷"], ["جنوب السودان", "ss", "211", , "🇸🇸"], ["España", "es", "34", , "🇪🇸"], ["ශ්රී ලංකාව", "lk", "94", , "🇱🇰"], ["السودان", "sd", "249", , "🇸🇩"], ["Suriname", "sr", "597", , "🇸🇷"], ["Svalbard and Jan Mayen", "sj", "47", 1, , "🇸🇯"], ["Swaziland", "sz", "268", , "🇸🇿"], ["Sverige", "se", "46", , "🇸🇪"], ["Schweiz", "ch", "41", , "🇨🇭"], ["سوريا", "sy", "963", , "🇸🇾"], ["台灣", "tw", "886", , "🇹🇼"], ["Tajikistan", "tj", "992", , "🇹🇯"], ["Tanzania", "tz", "255", , "🇹🇿"], ["ไทย", "th", "66", , "🇹🇭"], ["Timor-Leste", "tl", "670", , "🇹🇱"], ["Togo", "tg", "228", , "🇹🇬"], ["Tokelau", "tk", "690", , "🇹🇰"], ["Tonga", "to", "676", , "🇹🇴"], ["Trinidad and Tobago", "tt", "1868", , "🇹🇹"], ["تونس", "tn", "216", , "🇹🇳"], ["Türkiye", "tr", "90", , "🇹🇷"], ["Turkmenistan", "tm", "993", , "🇹🇲"], ["Turks and Caicos Islands", "tc", "1649", , "🇹🇨"], ["Tuvalu", "tv", "688", , "🇹🇻"], ["U.S. Virgin Islands", "vi", "1340", , "🇻🇮"], ["Uganda", "ug", "256", , "🇺🇬"], ["Україна", "ua", "380", , "🇺🇦"], ["الإمارات العربية المتحدة", "ae", "971", , "🇦🇪"], ["United Kingdom", "gb", "44", 0, , "🇬🇧"], ["United States", "us", "1", 0, , "🇺🇸"], ["Uruguay", "uy", "598", , "🇺🇾"], ["Oʻzbekiston", "uz", "998", , "🇺🇿"], ["Vanuatu", "vu", "678", , "🇻🇺"], ["Città del Vaticano", "va", "39", 1, , "🇻🇦"], ["Venezuela", "ve", "58", , "🇻🇪"], ["Việt Nam", "vn", "84", , "🇻🇳"], ["Wallis-et-Futuna", "wf", "681", , "🇼🇫"], ["الصحراء الغربية", "eh", "212", 1, , "🇪🇭"], ["اليمن", "ye", "967", , "🇾🇪"], ["Zambia", "zm", "260", , "🇿🇲"], ["Zimbabwe", "zw", "263", , "🇿🇼"], ["Åland Islands", "ax", "358", 1, , "🇦🇽"]], Pr = Cr.map((e) => ({
|
2230
2231
|
name: e[0],
|
2231
2232
|
iso2: e[1].toUpperCase(),
|
2232
2233
|
dialCode: e[2],
|
@@ -2234,7 +2235,7 @@ const _r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2234
2235
|
areaCodes: e[4] || null,
|
2235
2236
|
flag: e[e.length - 1] || null
|
2236
2237
|
}));
|
2237
|
-
function
|
2238
|
+
function wr() {
|
2238
2239
|
return fetch("https://ip2c.org/s").then((e) => e.text()).then((e) => {
|
2239
2240
|
const n = (e || "").toString();
|
2240
2241
|
if (!n || n[0] !== "1")
|
@@ -2254,7 +2255,7 @@ const Sr = [
|
|
2254
2255
|
{
|
2255
2256
|
name: "allCountries",
|
2256
2257
|
type: Array,
|
2257
|
-
default:
|
2258
|
+
default: Pr,
|
2258
2259
|
description: "All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",
|
2259
2260
|
inDemo: !1
|
2260
2261
|
},
|
@@ -2482,7 +2483,7 @@ const Sr = [
|
|
2482
2483
|
[n.name]: n.default
|
2483
2484
|
});
|
2484
2485
|
return e;
|
2485
|
-
}, {}),
|
2486
|
+
}, {}), ot = {
|
2486
2487
|
options: { ...Ir }
|
2487
2488
|
}, Nr = {
|
2488
2489
|
beforeMount(e, n, t) {
|
@@ -2500,9 +2501,9 @@ const Sr = [
|
|
2500
2501
|
document.body.removeEventListener("click", e.clickOutsideEvent);
|
2501
2502
|
}
|
2502
2503
|
};
|
2503
|
-
function
|
2504
|
-
const n =
|
2505
|
-
return typeof n > "u" ?
|
2504
|
+
function P(e) {
|
2505
|
+
const n = ot.options[e];
|
2506
|
+
return typeof n > "u" ? ot.options[e] : n;
|
2506
2507
|
}
|
2507
2508
|
const Er = /* @__PURE__ */ Rt({
|
2508
2509
|
name: "Vue3ReactiveTelInput",
|
@@ -2579,14 +2580,14 @@ const Er = /* @__PURE__ */ Rt({
|
|
2579
2580
|
*/
|
2580
2581
|
allCountries: {
|
2581
2582
|
type: Array,
|
2582
|
-
default: () =>
|
2583
|
+
default: () => P("allCountries")
|
2583
2584
|
},
|
2584
2585
|
/**
|
2585
2586
|
* flag to know if the value will be automatically formatted
|
2586
2587
|
*/
|
2587
2588
|
autoFormat: {
|
2588
2589
|
type: Boolean,
|
2589
|
-
default: () =>
|
2590
|
+
default: () => P("autoFormat")
|
2590
2591
|
},
|
2591
2592
|
validation: {
|
2592
2593
|
type: [Boolean, Object],
|
@@ -2597,7 +2598,7 @@ const Er = /* @__PURE__ */ Rt({
|
|
2597
2598
|
*/
|
2598
2599
|
customValidate: {
|
2599
2600
|
type: [Boolean, RegExp],
|
2600
|
-
default: () =>
|
2601
|
+
default: () => P("customValidate")
|
2601
2602
|
},
|
2602
2603
|
/**
|
2603
2604
|
* a default country
|
@@ -2606,84 +2607,84 @@ const Er = /* @__PURE__ */ Rt({
|
|
2606
2607
|
// Default country code, ie: 'AU'
|
2607
2608
|
// Will override the current country of user
|
2608
2609
|
type: String,
|
2609
|
-
default: () =>
|
2610
|
+
default: () => P("defaultCountry")
|
2610
2611
|
},
|
2611
2612
|
/**
|
2612
2613
|
* flag defining whether the input must be disabled
|
2613
2614
|
*/
|
2614
2615
|
disabled: {
|
2615
2616
|
type: Boolean,
|
2616
|
-
default: () =>
|
2617
|
+
default: () => P("disabled")
|
2617
2618
|
},
|
2618
2619
|
/**
|
2619
2620
|
* flag definir if we'll automatically choose a default country
|
2620
2621
|
*/
|
2621
2622
|
autoDefaultCountry: {
|
2622
2623
|
type: Boolean,
|
2623
|
-
default: () =>
|
2624
|
+
default: () => P("autoDefaultCountry")
|
2624
2625
|
},
|
2625
2626
|
/**
|
2626
2627
|
* object of dropdown options
|
2627
2628
|
*/
|
2628
2629
|
dropdownOptions: {
|
2629
2630
|
type: Object,
|
2630
|
-
default: () =>
|
2631
|
+
default: () => P("dropdownOptions")
|
2631
2632
|
},
|
2632
2633
|
/**
|
2633
2634
|
* list of countries to ignore
|
2634
2635
|
*/
|
2635
2636
|
ignoredCountries: {
|
2636
2637
|
type: Array,
|
2637
|
-
default: () =>
|
2638
|
+
default: () => P("ignoredCountries")
|
2638
2639
|
},
|
2639
2640
|
/**
|
2640
2641
|
* object of input options
|
2641
2642
|
*/
|
2642
2643
|
inputOptions: {
|
2643
2644
|
type: Object,
|
2644
|
-
default: () =>
|
2645
|
+
default: () => P("inputOptions")
|
2645
2646
|
},
|
2646
2647
|
/**
|
2647
2648
|
* valid message to display
|
2648
2649
|
*/
|
2649
2650
|
invalidMsg: {
|
2650
2651
|
type: String,
|
2651
|
-
default: () =>
|
2652
|
+
default: () => P("invalidMsg")
|
2652
2653
|
},
|
2653
2654
|
/**
|
2654
2655
|
* the mode of the input
|
2655
2656
|
*/
|
2656
2657
|
mode: {
|
2657
2658
|
type: String,
|
2658
|
-
default: () =>
|
2659
|
+
default: () => P("mode")
|
2659
2660
|
},
|
2660
2661
|
/**
|
2661
2662
|
* limit the giving input to only manage your list of contry
|
2662
2663
|
*/
|
2663
2664
|
onlyCountries: {
|
2664
2665
|
type: Array,
|
2665
|
-
default: () =>
|
2666
|
+
default: () => P("onlyCountries")
|
2666
2667
|
},
|
2667
2668
|
/**
|
2668
2669
|
* the list of preferred countries
|
2669
2670
|
*/
|
2670
2671
|
preferredCountries: {
|
2671
2672
|
type: Array,
|
2672
|
-
default: () =>
|
2673
|
+
default: () => P("preferredCountries")
|
2673
2674
|
},
|
2674
2675
|
/**
|
2675
2676
|
* the flag defining if the input must only content valid characters
|
2676
2677
|
*/
|
2677
2678
|
validCharactersOnly: {
|
2678
2679
|
type: Boolean,
|
2679
|
-
default: () =>
|
2680
|
+
default: () => P("validCharactersOnly")
|
2680
2681
|
},
|
2681
2682
|
/**
|
2682
2683
|
* the root default class
|
2683
2684
|
*/
|
2684
2685
|
rootClass: {
|
2685
2686
|
type: [String, Array, Object],
|
2686
|
-
default: () =>
|
2687
|
+
default: () => P("styleClasses")
|
2687
2688
|
},
|
2688
2689
|
/**
|
2689
2690
|
* the input default class
|
@@ -2825,7 +2826,7 @@ const Er = /* @__PURE__ */ Rt({
|
|
2825
2826
|
phoneObject() {
|
2826
2827
|
var i, o, a;
|
2827
2828
|
let e;
|
2828
|
-
((i = this.phone) == null ? void 0 : i[0]) === "+" ? e =
|
2829
|
+
((i = this.phone) == null ? void 0 : i[0]) === "+" ? e = $e(this.phone) || {} : e = $e(this.phone, this.activeCountryCode) || {};
|
2829
2830
|
const {
|
2830
2831
|
metadata: n,
|
2831
2832
|
...t
|
@@ -2868,7 +2869,7 @@ const Er = /* @__PURE__ */ Rt({
|
|
2868
2869
|
return;
|
2869
2870
|
}
|
2870
2871
|
const n = this.preferredCountries[0] || this.filteredCountries[0];
|
2871
|
-
this.autoDefaultCountry ?
|
2872
|
+
this.autoDefaultCountry ? wr().then((d) => {
|
2872
2873
|
this.choose(d || this.activeCountryCode);
|
2873
2874
|
}).catch((d) => {
|
2874
2875
|
console.warn(d), this.choose(n);
|
@@ -2899,7 +2900,7 @@ const Er = /* @__PURE__ */ Rt({
|
|
2899
2900
|
let n = e;
|
2900
2901
|
if (typeof n == "string" && (n = this.findCountry(n)), !!n) {
|
2901
2902
|
if (((t = this.phone) == null ? void 0 : t[0]) === "+" && n.iso2 && this.phoneObject.nationalNumber) {
|
2902
|
-
this.activeCountryCode = n.iso2, this.phone =
|
2903
|
+
this.activeCountryCode = n.iso2, this.phone = $e(
|
2903
2904
|
this.phoneObject.nationalNumber,
|
2904
2905
|
n.iso2
|
2905
2906
|
).formatInternational();
|
@@ -2996,64 +2997,64 @@ const Er = /* @__PURE__ */ Rt({
|
|
2996
2997
|
};
|
2997
2998
|
function kr(e, n, t, d, r, i) {
|
2998
2999
|
const o = Mt("click-outside");
|
2999
|
-
return
|
3000
|
+
return v(), b(ce, null, [
|
3000
3001
|
p("div", {
|
3001
|
-
class:
|
3002
|
-
style:
|
3002
|
+
class: U(["vue3-reactive-tel-input", { "bg-fourth-nano": e.validation }, e.$attrs.class, e.rootClass, { disabled: e.disabled }, e.classes]),
|
3003
|
+
style: V([e.rootStyle, e.styles]),
|
3003
3004
|
ref: "rootElement"
|
3004
3005
|
}, [
|
3005
|
-
|
3006
|
-
class:
|
3006
|
+
S((v(), b("div", {
|
3007
|
+
class: U([["vti__dropdown", { open: e.open }], "br-solid br-black-transp br-1px radius-medium"]),
|
3007
3008
|
tabindex: e.dropdownOptions.tabindex,
|
3008
3009
|
onKeydown: [
|
3009
3010
|
n[0] || (n[0] = (...a) => e.keyboardNav && e.keyboardNav(...a)),
|
3010
|
-
n[2] || (n[2] =
|
3011
|
+
n[2] || (n[2] = re((...a) => e.reset && e.reset(...a), ["esc"]))
|
3011
3012
|
],
|
3012
3013
|
onClick: n[1] || (n[1] = (...a) => e.toggleDropdown && e.toggleDropdown(...a)),
|
3013
|
-
style:
|
3014
|
+
style: V([e.dropdownStyle])
|
3014
3015
|
}, [
|
3015
3016
|
p("span", Ar, [
|
3016
|
-
e.dropdownOptions.showFlags ? (
|
3017
|
+
e.dropdownOptions.showFlags ? (v(), b("span", {
|
3017
3018
|
key: 0,
|
3018
3019
|
innerHTML: e.activeCountryFlag,
|
3019
3020
|
class: "mn-r-thin"
|
3020
|
-
}, null, 8, Fr)) :
|
3021
|
-
e.dropdownOptions.showDialCodeInSelection ? (
|
3021
|
+
}, null, 8, Fr)) : R("", !0),
|
3022
|
+
e.dropdownOptions.showDialCodeInSelection ? (v(), b("span", Dr, " +" + y(e.activeCountry && e.activeCountry.dialCode), 1)) : R("", !0)
|
3022
3023
|
]),
|
3023
|
-
|
3024
|
+
S(p("ul", {
|
3024
3025
|
ref: "list",
|
3025
|
-
class:
|
3026
|
-
style:
|
3026
|
+
class: U(["bs-black radius-small vti__dropdown-list", e.dropdownOpenDirection]),
|
3027
|
+
style: V([e.listStyle])
|
3027
3028
|
}, [
|
3028
|
-
(
|
3029
|
-
class:
|
3029
|
+
(v(!0), b(ce, null, ut(e.sortedCountries, (a, $) => (v(), b("li", {
|
3030
|
+
class: U(["flex-nowrap flex w-max", ["vti__dropdown-item", e.getItemClass($, a.iso2)]]),
|
3030
3031
|
key: a.iso2 + (a.preferred ? "-preferred" : ""),
|
3031
3032
|
onClick: (s) => e.choose(a),
|
3032
|
-
onMousemove: (s) => e.selectedIndex =
|
3033
|
+
onMousemove: (s) => e.selectedIndex = $
|
3033
3034
|
}, [
|
3034
|
-
e.dropdownOptions.showFlags ? (
|
3035
|
+
e.dropdownOptions.showFlags ? (v(), b("span", {
|
3035
3036
|
key: 0,
|
3036
3037
|
innerHTML: a.flag,
|
3037
3038
|
class: "mn-r-thin"
|
3038
|
-
}, null, 8, Mr)) :
|
3039
|
-
p("strong", null,
|
3040
|
-
e.dropdownOptions.showDialCodeInList ? (
|
3039
|
+
}, null, 8, Mr)) : R("", !0),
|
3040
|
+
p("strong", null, y(a.name), 1),
|
3041
|
+
e.dropdownOptions.showDialCodeInList ? (v(), b("span", zr, " +" + y(a.dialCode), 1)) : R("", !0)
|
3041
3042
|
], 42, Rr))), 128))
|
3042
3043
|
], 6), [
|
3043
|
-
[
|
3044
|
+
[H, e.open]
|
3044
3045
|
])
|
3045
3046
|
], 46, Tr)), [
|
3046
3047
|
[o, e.clickedOutside]
|
3047
3048
|
]),
|
3048
|
-
|
3049
|
+
S(p("input", {
|
3049
3050
|
"onUpdate:modelValue": n[3] || (n[3] = (a) => e.phone = a),
|
3050
3051
|
pattern: "[0-9]*",
|
3051
3052
|
ref: "input",
|
3052
3053
|
type: e.inputOptions.type,
|
3053
3054
|
autocomplete: e.inputOptions.autocomplete,
|
3054
3055
|
autofocus: e.inputOptions.autofocus,
|
3055
|
-
class:
|
3056
|
-
style:
|
3056
|
+
class: U(["vti__input", e.inputOptions.styleClasses, e.inputClass, e.Iclasses]),
|
3057
|
+
style: V([e.inputStyle, e.Istyles]),
|
3057
3058
|
disabled: e.disabled,
|
3058
3059
|
id: e.inputId !== "" ? e.inputId : e.inputOptions.id,
|
3059
3060
|
maxlength: e.inputOptions.maxlength,
|
@@ -3066,24 +3067,24 @@ function kr(e, n, t, d, r, i) {
|
|
3066
3067
|
onFocus: n[5] || (n[5] = (...a) => e.onFocus && e.onFocus(...a)),
|
3067
3068
|
onInput: n[6] || (n[6] = (...a) => e.onInput && e.onInput(...a)),
|
3068
3069
|
onKeyup: [
|
3069
|
-
n[7] || (n[7] =
|
3070
|
-
n[8] || (n[8] =
|
3070
|
+
n[7] || (n[7] = re((...a) => e.onEnter && e.onEnter(...a), ["enter"])),
|
3071
|
+
n[8] || (n[8] = re((...a) => e.onSpace && e.onSpace(...a), ["space"]))
|
3071
3072
|
]
|
3072
3073
|
}, null, 46, Lr), [
|
3073
3074
|
[zt, e.phone]
|
3074
3075
|
]),
|
3075
3076
|
Lt(e.$slots, "default", {}, void 0, !0)
|
3076
3077
|
], 6),
|
3077
|
-
|
3078
|
-
default:
|
3079
|
-
e.validation ? (
|
3078
|
+
g(A, { name: "fade" }, {
|
3079
|
+
default: C(() => [
|
3080
|
+
e.validation ? (v(), b("div", xr, " * " + y(e.validation.message), 1)) : R("", !0)
|
3080
3081
|
]),
|
3081
3082
|
_: 1
|
3082
3083
|
})
|
3083
3084
|
], 64);
|
3084
3085
|
}
|
3085
|
-
const
|
3086
|
-
function
|
3086
|
+
const Ne = /* @__PURE__ */ Bt(Er, [["render", kr], ["__scopeId", "data-v-50353ca7"]]);
|
3087
|
+
function at(e) {
|
3087
3088
|
const n = e;
|
3088
3089
|
n.__i18n = n.__i18n || [], n.__i18n.push({
|
3089
3090
|
locale: "",
|
@@ -3173,25 +3174,25 @@ const jr = { class: "t-left pd-medium" }, Br = { class: "mn-small" }, Ur = { cla
|
|
3173
3174
|
}, Hr = { class: "mn-small t-transp" }, Kr = {
|
3174
3175
|
key: 0,
|
3175
3176
|
class: "mn-semi radius-small o-hidden"
|
3176
|
-
}, Wr = { class: "mn-small t-transp" },
|
3177
|
+
}, Wr = { class: "mn-small t-transp" }, St = {
|
3177
3178
|
__name: "ResetPassword",
|
3178
3179
|
setup(e) {
|
3179
|
-
const { t: n } =
|
3180
|
+
const { t: n } = B({
|
3180
3181
|
inheritLocale: !0,
|
3181
3182
|
useScope: "local"
|
3182
|
-
}), t =
|
3183
|
-
|
3184
|
-
const r =
|
3183
|
+
}), t = _(null), d = _(null);
|
3184
|
+
L();
|
3185
|
+
const r = x(), i = _("phone");
|
3185
3186
|
async function o() {
|
3186
3187
|
try {
|
3187
|
-
i.value === "phone" && await
|
3188
|
+
i.value === "phone" && await F(
|
3188
3189
|
t,
|
3189
|
-
|
3190
|
+
be,
|
3190
3191
|
m.user.phone,
|
3191
3192
|
"Некорректный телефон"
|
3192
|
-
), i.value === "email" && await
|
3193
|
+
), i.value === "email" && await F(
|
3193
3194
|
d,
|
3194
|
-
|
3195
|
+
_e,
|
3195
3196
|
m.user.email,
|
3196
3197
|
"Некорректный email"
|
3197
3198
|
);
|
@@ -3199,19 +3200,19 @@ const jr = { class: "t-left pd-medium" }, Br = { class: "mn-small" }, Ur = { cla
|
|
3199
3200
|
throw new Error();
|
3200
3201
|
}
|
3201
3202
|
try {
|
3202
|
-
await
|
3203
|
-
} catch (
|
3204
|
-
throw console.log(
|
3203
|
+
await K.resetPassword(m.user, i.value, "reset-password");
|
3204
|
+
} catch ($) {
|
3205
|
+
throw console.log($), new Error();
|
3205
3206
|
}
|
3206
3207
|
}
|
3207
3208
|
function a() {
|
3208
3209
|
r.push({ name: "Enter Code", query: { type: i.value, method: "reset-password" } });
|
3209
3210
|
}
|
3210
|
-
return (
|
3211
|
-
p("h3", Br,
|
3212
|
-
p("p", Ur,
|
3211
|
+
return ($, s) => (v(), b("section", jr, [
|
3212
|
+
p("h3", Br, y(f(n)("forgotPasswordTitle")), 1),
|
3213
|
+
p("p", Ur, y(f(n)("instructions")), 1),
|
3213
3214
|
p("div", Gr, [
|
3214
|
-
|
3215
|
+
g(Ce, {
|
3215
3216
|
selected: i.value,
|
3216
3217
|
"onUpdate:selected": s[0] || (s[0] = (u) => i.value = u),
|
3217
3218
|
tabs: [
|
@@ -3221,11 +3222,11 @@ const jr = { class: "t-left pd-medium" }, Br = { class: "mn-small" }, Ur = { cla
|
|
3221
3222
|
}, null, 8, ["selected", "tabs"])
|
3222
3223
|
]),
|
3223
3224
|
p("div", null, [
|
3224
|
-
|
3225
|
-
default:
|
3226
|
-
i.value === "phone" ? (
|
3227
|
-
p("p", Hr,
|
3228
|
-
|
3225
|
+
g(A, { name: "slide-fade" }, {
|
3226
|
+
default: C(() => [
|
3227
|
+
i.value === "phone" ? (v(), b("div", Vr, [
|
3228
|
+
p("p", Hr, y(f(n)("smsInfo")), 1),
|
3229
|
+
g(Ne, {
|
3229
3230
|
modelValue: m.user.phone,
|
3230
3231
|
"onUpdate:modelValue": s[1] || (s[1] = (u) => m.user.phone = u),
|
3231
3232
|
dropdownOptions: {
|
@@ -3238,45 +3239,45 @@ const jr = { class: "t-left pd-medium" }, Br = { class: "mn-small" }, Ur = { cla
|
|
3238
3239
|
inputOptions: { placeholder: f(n)("phonePlaceholder") },
|
3239
3240
|
class: "bg-grey pd-small radius-small mn-thin"
|
3240
3241
|
}, null, 8, ["modelValue", "validation", "inputOptions"])
|
3241
|
-
])) :
|
3242
|
+
])) : R("", !0)
|
3242
3243
|
]),
|
3243
3244
|
_: 1
|
3244
3245
|
}),
|
3245
|
-
|
3246
|
-
default:
|
3247
|
-
i.value === "email" ? (
|
3248
|
-
p("p", Wr,
|
3249
|
-
|
3246
|
+
g(A, { name: "slide-fade" }, {
|
3247
|
+
default: C(() => [
|
3248
|
+
i.value === "email" ? (v(), b("div", Kr, [
|
3249
|
+
p("p", Wr, y(f(n)("emailInfo")), 1),
|
3250
|
+
g(D, {
|
3250
3251
|
field: m.user.email,
|
3251
3252
|
"onUpdate:field": s[2] || (s[2] = (u) => m.user.email = u),
|
3252
3253
|
placeholder: f(n)("emailPlaceholder"),
|
3253
3254
|
validation: d.value,
|
3254
3255
|
class: "bg-grey pd-medium radius-small"
|
3255
3256
|
}, null, 8, ["field", "placeholder", "validation"])
|
3256
|
-
])) :
|
3257
|
+
])) : R("", !0)
|
3257
3258
|
]),
|
3258
3259
|
_: 1
|
3259
3260
|
})
|
3260
3261
|
]),
|
3261
|
-
|
3262
|
+
g(X, {
|
3262
3263
|
submit: o,
|
3263
3264
|
callback: a,
|
3264
3265
|
class: "mn-big"
|
3265
3266
|
}, {
|
3266
|
-
default:
|
3267
|
-
|
3267
|
+
default: C(() => [
|
3268
|
+
z(y(f(n)("sendCode")), 1)
|
3268
3269
|
]),
|
3269
3270
|
_: 1
|
3270
3271
|
})
|
3271
3272
|
]));
|
3272
3273
|
}
|
3273
3274
|
};
|
3274
|
-
typeof
|
3275
|
+
typeof at == "function" && at(St);
|
3275
3276
|
const qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3276
3277
|
__proto__: null,
|
3277
|
-
default:
|
3278
|
+
default: St
|
3278
3279
|
}, Symbol.toStringTag, { value: "Module" }));
|
3279
|
-
function
|
3280
|
+
function st(e) {
|
3280
3281
|
const n = e;
|
3281
3282
|
n.__i18n = n.__i18n || [], n.__i18n.push({
|
3282
3283
|
locale: "",
|
@@ -3368,25 +3369,25 @@ function lt(e) {
|
|
3368
3369
|
}
|
3369
3370
|
});
|
3370
3371
|
}
|
3371
|
-
const Xr = { class: "t-left pd-medium" }, Yr = { class: "mn-small" }, Zr = { class: "mn-small t-transp" }, Jr = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, Qr = { class: "" },
|
3372
|
+
const Xr = { class: "t-left pd-medium" }, Yr = { class: "mn-small" }, Zr = { class: "mn-small t-transp" }, Jr = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, Qr = { class: "" }, e1 = { class: "mn-semi radius-small" }, t1 = { class: "mn-small t-transp" }, n1 = { class: "mn-semi radius-small o-hidden" }, d1 = { class: "mn-small t-transp" }, r1 = { class: "w-100" }, It = {
|
3372
3373
|
__name: "SignUp",
|
3373
3374
|
setup(e) {
|
3374
|
-
const { t: n } =
|
3375
|
+
const { t: n } = B({
|
3375
3376
|
inheritLocale: !0,
|
3376
3377
|
useScope: "local"
|
3377
|
-
}), t =
|
3378
|
-
|
3379
|
-
const r =
|
3378
|
+
}), t = _(null), d = _(null);
|
3379
|
+
L();
|
3380
|
+
const r = x(), i = _("phone");
|
3380
3381
|
async function o() {
|
3381
3382
|
try {
|
3382
|
-
i.value === "phone" && await
|
3383
|
+
i.value === "phone" && await F(
|
3383
3384
|
t,
|
3384
|
-
|
3385
|
+
be,
|
3385
3386
|
m.user.phone,
|
3386
3387
|
"Некорректный телефон"
|
3387
|
-
), i.value === "email" && await
|
3388
|
+
), i.value === "email" && await F(
|
3388
3389
|
d,
|
3389
|
-
|
3390
|
+
_e,
|
3390
3391
|
m.user.email,
|
3391
3392
|
"Некорректный email"
|
3392
3393
|
);
|
@@ -3394,7 +3395,7 @@ const Xr = { class: "t-left pd-medium" }, Yr = { class: "mn-small" }, Zr = { cla
|
|
3394
3395
|
throw new Error();
|
3395
3396
|
}
|
3396
3397
|
try {
|
3397
|
-
await
|
3398
|
+
await mt(m.user, "signup", i.value);
|
3398
3399
|
} catch {
|
3399
3400
|
throw new Error();
|
3400
3401
|
}
|
@@ -3402,15 +3403,15 @@ const Xr = { class: "t-left pd-medium" }, Yr = { class: "mn-small" }, Zr = { cla
|
|
3402
3403
|
function a() {
|
3403
3404
|
r.push({ name: "Enter Code" });
|
3404
3405
|
}
|
3405
|
-
return (
|
3406
|
-
const u =
|
3407
|
-
return
|
3408
|
-
p("h3", Yr,
|
3409
|
-
p("p", Zr,
|
3406
|
+
return ($, s) => {
|
3407
|
+
const u = ve("router-link");
|
3408
|
+
return v(), b("section", Xr, [
|
3409
|
+
p("h3", Yr, y(f(n)("title")), 1),
|
3410
|
+
p("p", Zr, y(f(n)("description")), 1),
|
3410
3411
|
p("div", Jr, [
|
3411
|
-
|
3412
|
+
g(Ce, {
|
3412
3413
|
selected: i.value,
|
3413
|
-
"onUpdate:selected": s[0] || (s[0] = (
|
3414
|
+
"onUpdate:selected": s[0] || (s[0] = (l) => i.value = l),
|
3414
3415
|
tabs: [
|
3415
3416
|
{ name: f(n)("phone"), value: "phone" },
|
3416
3417
|
{ name: f(n)("email"), value: "email" }
|
@@ -3418,13 +3419,13 @@ const Xr = { class: "t-left pd-medium" }, Yr = { class: "mn-small" }, Zr = { cla
|
|
3418
3419
|
}, null, 8, ["selected", "tabs"])
|
3419
3420
|
]),
|
3420
3421
|
p("div", Qr, [
|
3421
|
-
|
3422
|
-
default:
|
3423
|
-
|
3424
|
-
p("p",
|
3425
|
-
|
3422
|
+
g(A, { name: "slide-fade" }, {
|
3423
|
+
default: C(() => [
|
3424
|
+
S(p("div", e1, [
|
3425
|
+
p("p", t1, y(f(n)("smsNotice")), 1),
|
3426
|
+
g(Ne, {
|
3426
3427
|
modelValue: m.user.phone,
|
3427
|
-
"onUpdate:modelValue": s[1] || (s[1] = (
|
3428
|
+
"onUpdate:modelValue": s[1] || (s[1] = (l) => m.user.phone = l),
|
3428
3429
|
dropdownOptions: {
|
3429
3430
|
showDialCodeInSelection: !0,
|
3430
3431
|
showFlags: !0,
|
@@ -3436,46 +3437,46 @@ const Xr = { class: "t-left pd-medium" }, Yr = { class: "mn-small" }, Zr = { cla
|
|
3436
3437
|
class: "bg-grey pd-small radius-small mn-thin"
|
3437
3438
|
}, null, 8, ["modelValue", "validation", "inputOptions"])
|
3438
3439
|
], 512), [
|
3439
|
-
[
|
3440
|
+
[H, i.value === "phone"]
|
3440
3441
|
])
|
3441
3442
|
]),
|
3442
3443
|
_: 1
|
3443
3444
|
}),
|
3444
|
-
|
3445
|
-
default:
|
3446
|
-
|
3447
|
-
p("p",
|
3448
|
-
|
3445
|
+
g(A, { name: "slide-fade" }, {
|
3446
|
+
default: C(() => [
|
3447
|
+
S(p("div", n1, [
|
3448
|
+
p("p", d1, y(f(n)("emailNotice")), 1),
|
3449
|
+
g(D, {
|
3449
3450
|
field: m.user.email,
|
3450
|
-
"onUpdate:field": s[2] || (s[2] = (
|
3451
|
+
"onUpdate:field": s[2] || (s[2] = (l) => m.user.email = l),
|
3451
3452
|
placeholder: f(n)("emailPlaceholder"),
|
3452
3453
|
validation: d.value,
|
3453
3454
|
class: "bg-grey pd-medium radius-small"
|
3454
3455
|
}, null, 8, ["field", "placeholder", "validation"])
|
3455
3456
|
], 512), [
|
3456
|
-
[
|
3457
|
+
[H, i.value === "email"]
|
3457
3458
|
])
|
3458
3459
|
]),
|
3459
3460
|
_: 1
|
3460
3461
|
})
|
3461
3462
|
]),
|
3462
|
-
|
3463
|
+
g(X, {
|
3463
3464
|
submit: o,
|
3464
3465
|
callback: a,
|
3465
3466
|
class: "mn-big"
|
3466
3467
|
}, {
|
3467
|
-
default:
|
3468
|
-
|
3468
|
+
default: C(() => [
|
3469
|
+
z(y(f(n)("sendCode")), 1)
|
3469
3470
|
]),
|
3470
3471
|
_: 1
|
3471
3472
|
}),
|
3472
|
-
p("div",
|
3473
|
-
|
3473
|
+
p("div", r1, [
|
3474
|
+
g(u, {
|
3474
3475
|
to: "/auth/signin",
|
3475
3476
|
class: "underline mn-medium d-block t-blue"
|
3476
3477
|
}, {
|
3477
|
-
default:
|
3478
|
-
|
3478
|
+
default: C(() => [
|
3479
|
+
z(y(f(n)("haveAccount")), 1)
|
3479
3480
|
]),
|
3480
3481
|
_: 1
|
3481
3482
|
})
|
@@ -3484,12 +3485,12 @@ const Xr = { class: "t-left pd-medium" }, Yr = { class: "mn-small" }, Zr = { cla
|
|
3484
3485
|
};
|
3485
3486
|
}
|
3486
3487
|
};
|
3487
|
-
typeof
|
3488
|
-
const
|
3488
|
+
typeof st == "function" && st(It);
|
3489
|
+
const i1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3489
3490
|
__proto__: null,
|
3490
|
-
default:
|
3491
|
+
default: It
|
3491
3492
|
}, Symbol.toStringTag, { value: "Module" }));
|
3492
|
-
function
|
3493
|
+
function lt(e) {
|
3493
3494
|
const n = e;
|
3494
3495
|
n.__i18n = n.__i18n || [], n.__i18n.push({
|
3495
3496
|
locale: "",
|
@@ -3605,92 +3606,80 @@ function $t(e) {
|
|
3605
3606
|
}
|
3606
3607
|
});
|
3607
3608
|
}
|
3608
|
-
const
|
3609
|
+
const o1 = { class: "" }, a1 = { class: "mn-medium" }, s1 = /* @__PURE__ */ p("br", null, null, -1), l1 = { class: "t-semi" }, $1 = { class: "mn-big" }, u1 = { class: "mn-small p-small uppercase t-semi bg-grey radius-big o-hidden" }, c1 = { class: "" }, f1 = { class: "mn-thin radius-small" }, p1 = { class: "mn-thin radius-small o-hidden" }, m1 = { class: "w-100 mn-big" }, Nt = {
|
3609
3610
|
__name: "SignIn",
|
3610
3611
|
setup(e) {
|
3611
|
-
const { t: n } =
|
3612
|
+
const { t: n } = B({
|
3612
3613
|
inheritLocale: !0,
|
3613
3614
|
useScope: "local"
|
3614
|
-
}), t =
|
3615
|
-
|
3616
|
-
const i =
|
3617
|
-
|
3618
|
-
|
3615
|
+
}), t = _(null), d = _(null), r = _(null);
|
3616
|
+
L();
|
3617
|
+
const i = x(), o = _("phone");
|
3618
|
+
Ee("APPLE_CLIENTID"), Ee("APPLE_REDIRECT_URL");
|
3619
|
+
const a = (u) => new Promise((l, c) => {
|
3620
|
+
const h = document.createElement("script");
|
3621
|
+
h.type = "text/javascript", h.src = u, h.onload = l, h.onerror = c, document.head.appendChild(h);
|
3619
3622
|
});
|
3620
|
-
|
3621
|
-
await
|
3623
|
+
$t(async () => {
|
3624
|
+
await a("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js");
|
3622
3625
|
});
|
3623
|
-
async function
|
3626
|
+
async function $() {
|
3624
3627
|
try {
|
3625
|
-
o.value === "phone" && await
|
3628
|
+
o.value === "phone" && await F(
|
3626
3629
|
t,
|
3627
|
-
|
3630
|
+
be,
|
3628
3631
|
m.user.phone,
|
3629
3632
|
"Некорректный телефон"
|
3630
|
-
), o.value === "email" && await
|
3633
|
+
), o.value === "email" && await F(
|
3631
3634
|
r,
|
3632
|
-
|
3635
|
+
_e,
|
3633
3636
|
m.user.email,
|
3634
3637
|
"Некорректный email"
|
3635
3638
|
);
|
3636
3639
|
} catch {
|
3637
3640
|
throw new Error();
|
3638
3641
|
}
|
3639
|
-
m.user.phone = m.user.phone.number, await
|
3640
|
-
}
|
3641
|
-
async function $() {
|
3642
|
-
try {
|
3643
|
-
window.AppleID.auth.init({
|
3644
|
-
clientId: a,
|
3645
|
-
scope: "email name",
|
3646
|
-
redirectURI: l,
|
3647
|
-
usePopup: !0
|
3648
|
-
});
|
3649
|
-
let v = await window.AppleID.auth.signIn();
|
3650
|
-
v && (console.log(v), await G.login(v, "apple"));
|
3651
|
-
} catch (v) {
|
3652
|
-
throw console.error(v), new Error("Error during Apple authentication");
|
3653
|
-
}
|
3642
|
+
m.user.phone = m.user.phone.number, await K.login(m.user, o.value);
|
3654
3643
|
}
|
3655
|
-
function
|
3644
|
+
function s() {
|
3656
3645
|
i.push({ name: "User Profile", params: { _id: m.user._id } });
|
3657
3646
|
}
|
3658
|
-
return (
|
3659
|
-
const
|
3660
|
-
return
|
3661
|
-
p("h3",
|
3662
|
-
|
3663
|
-
|
3664
|
-
p("span",
|
3647
|
+
return (u, l) => {
|
3648
|
+
const c = ve("router-link");
|
3649
|
+
return v(), b("section", o1, [
|
3650
|
+
p("h3", a1, [
|
3651
|
+
z(y(f(n)("title")) + " ", 1),
|
3652
|
+
s1,
|
3653
|
+
p("span", l1, y(f(n)("subtitle")), 1)
|
3665
3654
|
]),
|
3666
|
-
p("p", $
|
3667
|
-
|
3655
|
+
p("p", $1, [
|
3656
|
+
g(c, {
|
3668
3657
|
to: { name: "Sign Up" },
|
3669
3658
|
class: "underline t-second"
|
3670
3659
|
}, {
|
3671
|
-
default:
|
3672
|
-
|
3660
|
+
default: C(() => [
|
3661
|
+
z(y(f(n)("signup")), 1)
|
3673
3662
|
]),
|
3674
3663
|
_: 1
|
3675
3664
|
})
|
3676
3665
|
]),
|
3677
|
-
p("div",
|
3678
|
-
|
3666
|
+
p("div", u1, [
|
3667
|
+
g(Ce, {
|
3679
3668
|
selected: o.value,
|
3680
|
-
"onUpdate:selected":
|
3669
|
+
"onUpdate:selected": l[0] || (l[0] = (h) => o.value = h),
|
3681
3670
|
tabs: [
|
3682
3671
|
{ name: f(n)("phone"), value: "phone" },
|
3683
3672
|
{ name: f(n)("email"), value: "email" }
|
3684
3673
|
]
|
3685
3674
|
}, null, 8, ["selected", "tabs"])
|
3686
3675
|
]),
|
3687
|
-
p("div",
|
3688
|
-
|
3689
|
-
default:
|
3690
|
-
|
3691
|
-
|
3676
|
+
p("div", c1, [
|
3677
|
+
g(A, { name: "slide-fade" }, {
|
3678
|
+
default: C(() => [
|
3679
|
+
S(p("div", f1, [
|
3680
|
+
g(Ne, {
|
3692
3681
|
modelValue: m.user.phone,
|
3693
|
-
"onUpdate:modelValue":
|
3682
|
+
"onUpdate:modelValue": l[1] || (l[1] = (h) => m.user.phone = h),
|
3694
3683
|
dropdownOptions: {
|
3695
3684
|
showDialCodeInSelection: !0,
|
3696
3685
|
showFlags: !0,
|
@@ -3702,64 +3691,54 @@ const oi = { class: "" }, ai = { class: "mn-medium" }, si = /* @__PURE__ */ p("b
|
|
3702
3691
|
class: "bg-grey pd-small radius-small mn-thin"
|
3703
3692
|
}, null, 8, ["modelValue", "validation", "inputOptions"])
|
3704
3693
|
], 512), [
|
3705
|
-
[
|
3694
|
+
[H, o.value === "phone"]
|
3706
3695
|
])
|
3707
3696
|
]),
|
3708
3697
|
_: 1
|
3709
3698
|
}),
|
3710
|
-
|
3711
|
-
default:
|
3712
|
-
|
3713
|
-
|
3699
|
+
g(A, { name: "slide-fade" }, {
|
3700
|
+
default: C(() => [
|
3701
|
+
S(p("div", p1, [
|
3702
|
+
g(D, {
|
3714
3703
|
field: m.user.email,
|
3715
|
-
"onUpdate:field":
|
3704
|
+
"onUpdate:field": l[2] || (l[2] = (h) => m.user.email = h),
|
3716
3705
|
placeholder: f(n)("emailPlaceholder"),
|
3717
3706
|
validation: r.value,
|
3718
3707
|
class: "bg-grey pd-medium radius-small"
|
3719
3708
|
}, null, 8, ["field", "placeholder", "validation"])
|
3720
3709
|
], 512), [
|
3721
|
-
[
|
3710
|
+
[H, o.value === "email"]
|
3722
3711
|
])
|
3723
3712
|
]),
|
3724
3713
|
_: 1
|
3725
3714
|
})
|
3726
3715
|
]),
|
3727
|
-
|
3716
|
+
g(D, {
|
3728
3717
|
field: m.user.password,
|
3729
|
-
"onUpdate:field":
|
3718
|
+
"onUpdate:field": l[3] || (l[3] = (h) => m.user.password = h),
|
3730
3719
|
type: "password",
|
3731
3720
|
validation: d.value,
|
3732
3721
|
placeholder: f(n)("passwordPlaceholder"),
|
3733
3722
|
class: "bg-grey pd-medium radius-small mn-semi"
|
3734
3723
|
}, null, 8, ["field", "validation", "placeholder"]),
|
3735
|
-
p("div",
|
3736
|
-
|
3724
|
+
p("div", m1, [
|
3725
|
+
g(c, {
|
3737
3726
|
to: "/auth/reset-password",
|
3738
3727
|
class: "underline d-block t-blue"
|
3739
3728
|
}, {
|
3740
|
-
default:
|
3741
|
-
|
3729
|
+
default: C(() => [
|
3730
|
+
z(y(f(n)("forgotPassword")), 1)
|
3742
3731
|
]),
|
3743
3732
|
_: 1
|
3744
3733
|
})
|
3745
3734
|
]),
|
3746
|
-
|
3747
|
-
submit: u,
|
3748
|
-
callback: c,
|
3749
|
-
class: "mn-thin"
|
3750
|
-
}, {
|
3751
|
-
default: w(() => [
|
3752
|
-
D(h(f(n)("signin")), 1)
|
3753
|
-
]),
|
3754
|
-
_: 1
|
3755
|
-
}),
|
3756
|
-
y(V, {
|
3735
|
+
g(X, {
|
3757
3736
|
submit: $,
|
3758
|
-
callback:
|
3759
|
-
class: "mn-thin
|
3737
|
+
callback: s,
|
3738
|
+
class: "mn-thin"
|
3760
3739
|
}, {
|
3761
|
-
default:
|
3762
|
-
|
3740
|
+
default: C(() => [
|
3741
|
+
z(y(f(n)("signin")), 1)
|
3763
3742
|
]),
|
3764
3743
|
_: 1
|
3765
3744
|
})
|
@@ -3767,11 +3746,11 @@ const oi = { class: "" }, ai = { class: "mn-medium" }, si = /* @__PURE__ */ p("b
|
|
3767
3746
|
};
|
3768
3747
|
}
|
3769
3748
|
};
|
3770
|
-
typeof
|
3771
|
-
const
|
3749
|
+
typeof lt == "function" && lt(Nt);
|
3750
|
+
const h1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3772
3751
|
__proto__: null,
|
3773
|
-
default:
|
3774
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
3752
|
+
default: Nt
|
3753
|
+
}, Symbol.toStringTag, { value: "Module" })), F1 = [
|
3775
3754
|
{
|
3776
3755
|
path: "auth",
|
3777
3756
|
name: "Authentication",
|
@@ -3786,8 +3765,8 @@ const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3786
3765
|
path: "signin",
|
3787
3766
|
name: "Sign In",
|
3788
3767
|
beforeEnter: [
|
3789
|
-
|
3790
|
-
|
3768
|
+
G,
|
3769
|
+
oe
|
3791
3770
|
],
|
3792
3771
|
meta: {
|
3793
3772
|
title: {
|
@@ -3795,13 +3774,13 @@ const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3795
3774
|
ru: "Вход"
|
3796
3775
|
}
|
3797
3776
|
},
|
3798
|
-
component: () => Promise.resolve().then(() =>
|
3777
|
+
component: () => Promise.resolve().then(() => h1)
|
3799
3778
|
}, {
|
3800
3779
|
path: "reset-password",
|
3801
3780
|
name: "Reset Password",
|
3802
3781
|
beforeEnter: [
|
3803
|
-
|
3804
|
-
|
3782
|
+
G,
|
3783
|
+
oe
|
3805
3784
|
],
|
3806
3785
|
meta: {
|
3807
3786
|
title: {
|
@@ -3814,8 +3793,8 @@ const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3814
3793
|
path: "signup",
|
3815
3794
|
name: "Sign Up",
|
3816
3795
|
beforeEnter: [
|
3817
|
-
|
3818
|
-
|
3796
|
+
G,
|
3797
|
+
oe
|
3819
3798
|
],
|
3820
3799
|
meta: {
|
3821
3800
|
title: {
|
@@ -3823,13 +3802,13 @@ const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3823
3802
|
ru: "Регистрация"
|
3824
3803
|
}
|
3825
3804
|
},
|
3826
|
-
component: () => Promise.resolve().then(() =>
|
3805
|
+
component: () => Promise.resolve().then(() => i1)
|
3827
3806
|
}, {
|
3828
3807
|
path: "enter-code",
|
3829
3808
|
name: "Enter Code",
|
3830
3809
|
beforeEnter: [
|
3831
|
-
|
3832
|
-
|
3810
|
+
G,
|
3811
|
+
Te
|
3833
3812
|
],
|
3834
3813
|
meta: {
|
3835
3814
|
title: {
|
@@ -3842,8 +3821,8 @@ const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3842
3821
|
path: "enter-password",
|
3843
3822
|
name: "Enter Password",
|
3844
3823
|
beforeEnter: [
|
3845
|
-
|
3846
|
-
|
3824
|
+
G,
|
3825
|
+
Te
|
3847
3826
|
],
|
3848
3827
|
meta: {
|
3849
3828
|
title: {
|
@@ -3868,14 +3847,14 @@ const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3868
3847
|
export {
|
3869
3848
|
Qd as Auth,
|
3870
3849
|
Pt as EnterCode,
|
3871
|
-
|
3850
|
+
Ot as EnterPassword,
|
3872
3851
|
cr as Invite,
|
3873
|
-
|
3874
|
-
|
3875
|
-
|
3876
|
-
|
3877
|
-
|
3878
|
-
|
3879
|
-
|
3880
|
-
|
3852
|
+
St as ResetPassword,
|
3853
|
+
Nt as SignIn,
|
3854
|
+
It as SignUp,
|
3855
|
+
T1 as SliderFeatures,
|
3856
|
+
F1 as authRoutes,
|
3857
|
+
M1 as authStore,
|
3858
|
+
A1 as invitesStore,
|
3859
|
+
z1 as twofaStore
|
3881
3860
|
};
|