@eid-easy/eideasy-widget 2.89.0 → 2.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG-LATEST.md
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
# [2.89.0
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Features
|
|
5
|
-
|
|
6
|
-
* support safari 13 ([6da2b7d](https://github.com/eideasy/eideasy-widget/commit/6da2b7d1c86a1d048c5670a4cf647c60a25541d2))
|
|
1
|
+
# [2.89.0](https://github.com/eideasy/eideasy-widget/compare/v2.89.0-beta.1...v2.89.0) (2023-10-04)
|
|
7
2
|
|
|
8
3
|
|
|
9
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [2.91.0](https://github.com/eideasy/eideasy-widget/compare/v2.89.0...v2.91.0) (2023-10-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* start polling the smart-id complete endpoint without waiting for the end user's certificate confirmation ([#210](https://github.com/eideasy/eideasy-widget/issues/210)) ([6eaf20b](https://github.com/eideasy/eideasy-widget/commit/6eaf20b8f56eb8c33bc6e9c00db8fa5fd733a9e2))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# [2.90.0](https://github.com/eideasy/eideasy-widget/compare/v2.89.0...v2.90.0) (2023-10-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
# [2.89.0](https://github.com/eideasy/eideasy-widget/compare/v2.89.0-beta.1...v2.89.0) (2023-10-04)
|
|
2
15
|
|
|
3
16
|
|
|
@@ -17319,7 +17319,7 @@ module.exports = {
|
|
|
17319
17319
|
...rest
|
|
17320
17320
|
}, children.concat([_c('defs', [_c('linearGradient', {
|
|
17321
17321
|
attrs: {
|
|
17322
|
-
"id": "id-
|
|
17322
|
+
"id": "id-0a",
|
|
17323
17323
|
"x1": "124.883",
|
|
17324
17324
|
"y1": "17.983",
|
|
17325
17325
|
"x2": "117.483",
|
|
@@ -17348,7 +17348,7 @@ module.exports = {
|
|
|
17348
17348
|
}
|
|
17349
17349
|
})]), _c('linearGradient', {
|
|
17350
17350
|
attrs: {
|
|
17351
|
-
"id": "id-
|
|
17351
|
+
"id": "id-1b",
|
|
17352
17352
|
"x1": "116.71",
|
|
17353
17353
|
"y1": "31.343",
|
|
17354
17354
|
"x2": "102.594",
|
|
@@ -17377,7 +17377,7 @@ module.exports = {
|
|
|
17377
17377
|
}
|
|
17378
17378
|
})]), _c('linearGradient', {
|
|
17379
17379
|
attrs: {
|
|
17380
|
-
"id": "id-
|
|
17380
|
+
"id": "id-2c",
|
|
17381
17381
|
"x1": "106.335",
|
|
17382
17382
|
"y1": "23.516",
|
|
17383
17383
|
"x2": "140.192",
|
|
@@ -17401,18 +17401,18 @@ module.exports = {
|
|
|
17401
17401
|
}
|
|
17402
17402
|
}), _c('path', {
|
|
17403
17403
|
attrs: {
|
|
17404
|
-
"fill": "url(#id-
|
|
17404
|
+
"fill": "url(#id-0a)",
|
|
17405
17405
|
"d": "M126.585 16.359l-6.919 4.057V1.094l6.919 6.917v8.348z"
|
|
17406
17406
|
}
|
|
17407
17407
|
}), _c('path', {
|
|
17408
17408
|
attrs: {
|
|
17409
|
-
"fill": "url(#id-
|
|
17409
|
+
"fill": "url(#id-1b)",
|
|
17410
17410
|
"d": "M106.335 11.382h6.634v23.101h-6.634z"
|
|
17411
17411
|
}
|
|
17412
17412
|
}), _c('path', {
|
|
17413
17413
|
attrs: {
|
|
17414
17414
|
"d": "M140.191 13.257a.789.789 0 00-.2-.505.935.935 0 00-.82-.191 42.336 42.336 0 00-32.84 21.922h6.634c7.037-12.392 17.369-17.99 26.691-20.609.416-.138.544-.391.535-.617z",
|
|
17415
|
-
"fill": "url(#id-
|
|
17415
|
+
"fill": "url(#id-2c)"
|
|
17416
17416
|
}
|
|
17417
17417
|
}), _c('path', {
|
|
17418
17418
|
attrs: {
|
|
@@ -17910,7 +17910,7 @@ module.exports = {
|
|
|
17910
17910
|
...rest
|
|
17911
17911
|
}, children.concat([_c('defs', [_c('radialGradient', {
|
|
17912
17912
|
attrs: {
|
|
17913
|
-
"id": "id-
|
|
17913
|
+
"id": "id-11b",
|
|
17914
17914
|
"cx": "70.69",
|
|
17915
17915
|
"cy": "120.71",
|
|
17916
17916
|
"r": "20.17",
|
|
@@ -17930,7 +17930,7 @@ module.exports = {
|
|
|
17930
17930
|
}
|
|
17931
17931
|
})]), _c('radialGradient', {
|
|
17932
17932
|
attrs: {
|
|
17933
|
-
"id": "id-
|
|
17933
|
+
"id": "id-12c",
|
|
17934
17934
|
"cx": "84.22",
|
|
17935
17935
|
"cy": "123.44",
|
|
17936
17936
|
"r": "24.08",
|
|
@@ -17949,7 +17949,7 @@ module.exports = {
|
|
|
17949
17949
|
}
|
|
17950
17950
|
})]), _c('radialGradient', {
|
|
17951
17951
|
attrs: {
|
|
17952
|
-
"id": "id-
|
|
17952
|
+
"id": "id-13d",
|
|
17953
17953
|
"cx": "106.44",
|
|
17954
17954
|
"cy": "89.14",
|
|
17955
17955
|
"r": "41.36",
|
|
@@ -17969,7 +17969,7 @@ module.exports = {
|
|
|
17969
17969
|
}
|
|
17970
17970
|
})]), _c('radialGradient', {
|
|
17971
17971
|
attrs: {
|
|
17972
|
-
"id": "id-
|
|
17972
|
+
"id": "id-14e",
|
|
17973
17973
|
"cx": "53.82",
|
|
17974
17974
|
"cy": "72.57",
|
|
17975
17975
|
"r": "27.02",
|
|
@@ -17989,7 +17989,7 @@ module.exports = {
|
|
|
17989
17989
|
}
|
|
17990
17990
|
})]), _c('radialGradient', {
|
|
17991
17991
|
attrs: {
|
|
17992
|
-
"id": "id-
|
|
17992
|
+
"id": "id-15f",
|
|
17993
17993
|
"cx": "88.49",
|
|
17994
17994
|
"cy": "104.89",
|
|
17995
17995
|
"r": "47.74",
|
|
@@ -18009,7 +18009,7 @@ module.exports = {
|
|
|
18009
18009
|
}
|
|
18010
18010
|
})]), _c('radialGradient', {
|
|
18011
18011
|
attrs: {
|
|
18012
|
-
"id": "id-
|
|
18012
|
+
"id": "id-16g",
|
|
18013
18013
|
"cx": "47.21",
|
|
18014
18014
|
"cy": "114.1",
|
|
18015
18015
|
"r": "55.18",
|
|
@@ -18028,7 +18028,7 @@ module.exports = {
|
|
|
18028
18028
|
}
|
|
18029
18029
|
})]), _c('linearGradient', {
|
|
18030
18030
|
attrs: {
|
|
18031
|
-
"id": "id-
|
|
18031
|
+
"id": "id-10a",
|
|
18032
18032
|
"x1": "69.55",
|
|
18033
18033
|
"y1": "48.21",
|
|
18034
18034
|
"x2": "60.12",
|
|
@@ -18074,37 +18074,37 @@ module.exports = {
|
|
|
18074
18074
|
}), _c('path', {
|
|
18075
18075
|
attrs: {
|
|
18076
18076
|
"d": "M70.92 110.13l-.39-.08a7.12 7.12 0 01-2.07-.92c-4.14-2.79-3.07-9-5.25-12.94a11.37 11.37 0 00-3-3.28l-.11-.09c-.48.48-1.19 1.23-2.34 2.38a32 32 0 00-2.51 2.89 35.66 35.66 0 016.6 9.2c2 4.49 2.54 9.38 4.1 14a17.94 17.94 0 002.32 4.88 6.09 6.09 0 002.66 2.21v-18.3z",
|
|
18077
|
-
"fill": "url(#id-
|
|
18077
|
+
"fill": "url(#id-10a)"
|
|
18078
18078
|
}
|
|
18079
18079
|
}), _c('path', {
|
|
18080
18080
|
attrs: {
|
|
18081
18081
|
"d": "M66 53.19c.44.48 1 1.06 1.5 1.58s1.18 1.22 1.91 1.92c.45.43 1 1 1.47 1.4V36.94a5.66 5.66 0 00-1.49-.1 12.91 12.91 0 00-3.69.76 9.5 9.5 0 00-2.91 1.64 5.53 5.53 0 00-1.92 3.12 8 8 0 00.84 5 18.86 18.86 0 001.77 3s.5.61.78.92c.57.58 1.16 1.24 1.74 1.91z",
|
|
18082
|
-
"fill": "url(#id-
|
|
18082
|
+
"fill": "url(#id-11b)"
|
|
18083
18083
|
}
|
|
18084
18084
|
}), _c('path', {
|
|
18085
18085
|
attrs: {
|
|
18086
18086
|
"d": "M99.75 69.55a27.37 27.37 0 00-2.39-9.26 23.91 23.91 0 00-4.74-6.78c-.19-.19-.39-.39-.59-.57a25 25 0 00-3.56-2.77 25.86 25.86 0 00-3.93-2.07 23.36 23.36 0 00-7.07-1.75 12.66 12.66 0 00-6.56 1v10.7c1.2 1.1 2.64 2.42 3.37 3.07.51.45 1 .88 1.51 1.32l1.49 1.25L78.83 65c.64.54 2.94 2.4 3.21 2.63l.45.36 5.81 4.71.13.1c.78.63 4.79 3.86 6.76 5.55s3.45 3 3.59 3.15a48.15 48.15 0 00.87-5.32 37.1 37.1 0 00.1-6.63z",
|
|
18087
|
-
"fill": "url(#id-
|
|
18087
|
+
"fill": "url(#id-12c)"
|
|
18088
18088
|
}
|
|
18089
18089
|
}), _c('path', {
|
|
18090
18090
|
attrs: {
|
|
18091
18091
|
"d": "M112.35 100.58a26.08 26.08 0 00-3.28-7.42 50.76 50.76 0 00-7.27-8.8c-1-1-2-1.9-3-2.85-.1.45-.35 1.52-.85 3.15-.26.85-.73 2.25-.91 2.78-.27.77-.79 2.15-1.14 3-.48 1.25-1.24 3-1.92 4.46C93 97 92.45 98 91.36 100c-.49.89-.91 1.74-1.52 2.8-.21.36-.43.74-.69 1.16-.11.17-1.37 2.21-1.5 2.44-.25.39-.53.84-.7 1.09-1.51 2.31-1.64 2.42-1.88 2.76-.56.76.2-.28-.86 1.21L81.7 115c-.37.51-1.62 2.15-3 3.86s-2.8 3.58-3.43 4.33l-4.41 5.2v10.45c1.86-.15 3.8-.41 5.79-.77a66.86 66.86 0 007.54-1.87 62.31 62.31 0 006.38-2.38 54.74 54.74 0 005.46-2.76 44.25 44.25 0 006.42-4.51 32.83 32.83 0 005.91-6.52 26.15 26.15 0 003.78-8.35 25.76 25.76 0 00.76-5.21 20.55 20.55 0 00-.55-5.89z",
|
|
18092
|
-
"fill": "url(#id-
|
|
18092
|
+
"fill": "url(#id-13d)"
|
|
18093
18093
|
}
|
|
18094
18094
|
}), _c('path', {
|
|
18095
18095
|
attrs: {
|
|
18096
18096
|
"d": "M68.26 126.22a17.94 17.94 0 01-2.32-4.88c-1.56-4.66-2.06-9.55-4.1-14a35.73 35.73 0 00-6.59-9.2 27.3 27.3 0 00-1.93 2.86 16.66 16.66 0 00-1.32 2.85 14.29 14.29 0 00-.44 1.71 12 12 0 00-.2 1.8 12.3 12.3 0 00.14 2.33 14.14 14.14 0 00.64 2.5 17.21 17.21 0 001.42 3l.25.41a24.12 24.12 0 004.26 5.11 32.86 32.86 0 002.93 2.41c.69.49 1.39 1 2.11 1.41 1 .6 1.95 1.16 2.95 1.68 1.36.7 3.5 1.67 4.87 2.22a6.09 6.09 0 01-2.67-2.21z",
|
|
18097
|
-
"fill": "url(#id-
|
|
18097
|
+
"fill": "url(#id-14e)"
|
|
18098
18098
|
}
|
|
18099
18099
|
}), _c('path', {
|
|
18100
18100
|
attrs: {
|
|
18101
18101
|
"d": "M98.78 81.5c-.14-.13-1.75-1.58-3.59-3.15s-6-4.92-6.76-5.55l-.13-.1-5.81-4.7c-.22-.17-.37-.3-.45-.37-.27-.22-2.57-2.08-3.21-2.62l-1.55-1.3-1.48-1.23c-.54-.44-1-.87-1.52-1.33-.73-.64-2.17-2-3.37-3.06-.46-.43-1-1-1.46-1.39-.73-.7-1.29-1.26-1.91-1.92s-1.06-1.1-1.5-1.58c-.62-.67-1.21-1.33-1.74-1.95l-.6-.7c.35.57 1.08 1.62 1.45 2.14 1 1.48.81 1.17 1.81 2.67.68 1 1.83 2.86 2.46 3.92a4.1 4.1 0 01.22.41 16.8 16.8 0 011 2.25 4.12 4.12 0 01.25 1.1v65.38l4.41-5.2c.63-.75 2.07-2.58 3.43-4.33s2.58-3.35 3-3.86l2.51-3.58c1.06-1.49.3-.45.86-1.21.24-.34.37-.45 1.88-2.76l.7-1.09c.13-.23 1.39-2.27 1.5-2.45.26-.41.48-.79.69-1.15.61-1.06 1-1.91 1.52-2.8 1.09-2 1.62-3 2.6-5.08.68-1.48 1.44-3.22 1.92-4.46.35-.87.87-2.26 1.13-3 .19-.54.66-1.93.92-2.78.5-1.64.75-2.71.85-3.16z",
|
|
18102
|
-
"fill": "url(#id-
|
|
18102
|
+
"fill": "url(#id-15f)"
|
|
18103
18103
|
}
|
|
18104
18104
|
}), _c('path', {
|
|
18105
18105
|
attrs: {
|
|
18106
18106
|
"d": "M55.24 98.09a32 32 0 012.51-2.89c1.15-1.15 1.86-1.89 2.34-2.38-4-3.15-9.55-5.51-8.31-11.39 1.11-5.27 8.37-4.37 11.17-8.21 1.35-1.84 1.85-4.1 2.77-6.15a6.38 6.38 0 015.19-4 4.11 4.11 0 00-.25-1.11 16.13 16.13 0 00-1-2.24 3.36 3.36 0 00-.22-.42c-.63-1.05-1.78-2.89-2.46-3.92-1-1.5-.78-1.19-1.81-2.66-.37-.53-1.1-1.58-1.45-2.15a1.89 1.89 0 01-.18-.22 18.47 18.47 0 01-1.77-3l-.26-.63-3.24 2.4c-2.56 1.88-5.14 3.74-7.63 5.71-1.64 1.29-3.25 2.63-4.79 4a44.59 44.59 0 00-4.27 4.4c-2.47 3-4.42 6.36-4.7 10.2a13.06 13.06 0 000 1.88 13.62 13.62 0 00.26 2 15.73 15.73 0 002.94 6.4 36.68 36.68 0 005.5 5.65l1 .89c2.35 2 4.74 4 7 6.2.64.6 1.25 1.23 1.86 1.87l-.19-.21z",
|
|
18107
|
-
"fill": "url(#id-
|
|
18107
|
+
"fill": "url(#id-16g)"
|
|
18108
18108
|
}
|
|
18109
18109
|
})]));
|
|
18110
18110
|
}
|
|
@@ -18221,12 +18221,12 @@ module.exports = {
|
|
|
18221
18221
|
...rest
|
|
18222
18222
|
}, children.concat([_c('defs', [_c('path', {
|
|
18223
18223
|
attrs: {
|
|
18224
|
-
"id": "id-
|
|
18224
|
+
"id": "id-6a",
|
|
18225
18225
|
"d": "M.18.059h26.722v9.069H.18z"
|
|
18226
18226
|
}
|
|
18227
18227
|
}), _c('path', {
|
|
18228
18228
|
attrs: {
|
|
18229
|
-
"id": "id-
|
|
18229
|
+
"id": "id-8c",
|
|
18230
18230
|
"d": "M0 .04h44.355v37.372H0z"
|
|
18231
18231
|
}
|
|
18232
18232
|
})]), _c('g', {
|
|
@@ -18250,18 +18250,18 @@ module.exports = {
|
|
|
18250
18250
|
}
|
|
18251
18251
|
}, [_c('mask', {
|
|
18252
18252
|
attrs: {
|
|
18253
|
-
"id": "id-
|
|
18253
|
+
"id": "id-7b",
|
|
18254
18254
|
"fill": "#fff"
|
|
18255
18255
|
}
|
|
18256
18256
|
}, [_c('use', {
|
|
18257
18257
|
attrs: {
|
|
18258
|
-
"xlink:href": "#id-
|
|
18258
|
+
"xlink:href": "#id-6a"
|
|
18259
18259
|
}
|
|
18260
18260
|
})]), _c('path', {
|
|
18261
18261
|
attrs: {
|
|
18262
18262
|
"fill": "#D70F16",
|
|
18263
18263
|
"d": "M25.786.059c-3.251 2.918-7.541 4.72-12.262 4.72-4.7 0-8.99-1.782-12.222-4.7-1.724 1.723-1.43 4.622.666 5.876a22.548 22.548 0 0011.576 3.173c4.23 0 8.207-1.175 11.596-3.193 2.076-1.234 2.35-4.153.646-5.876",
|
|
18264
|
-
"mask": "url(#id-
|
|
18264
|
+
"mask": "url(#id-7b)"
|
|
18265
18265
|
}
|
|
18266
18266
|
})]), _c('g', {
|
|
18267
18267
|
attrs: {
|
|
@@ -18269,18 +18269,18 @@ module.exports = {
|
|
|
18269
18269
|
}
|
|
18270
18270
|
}, [_c('mask', {
|
|
18271
18271
|
attrs: {
|
|
18272
|
-
"id": "id-
|
|
18272
|
+
"id": "id-9d",
|
|
18273
18273
|
"fill": "#fff"
|
|
18274
18274
|
}
|
|
18275
18275
|
}, [_c('use', {
|
|
18276
18276
|
attrs: {
|
|
18277
|
-
"xlink:href": "#id-
|
|
18277
|
+
"xlink:href": "#id-8c"
|
|
18278
18278
|
}
|
|
18279
18279
|
})]), _c('path', {
|
|
18280
18280
|
attrs: {
|
|
18281
18281
|
"fill": "#58595B",
|
|
18282
18282
|
"d": "M38.93.705L38.342.04l-.627.627c-1.822 1.822-2.233 4.623-.999 6.954 1.508 2.86 2.116 6.091 1.783 9.343-.784 7.6-6.876 13.711-14.456 14.554a15.12 15.12 0 01-1.88.097c-9.05.02-16.415-7.345-16.415-16.394 0-2.645.647-5.27 1.861-7.58 1.214-2.332.823-5.133-.999-6.954L5.983.059l-.587.685A22.086 22.086 0 00.009 15.866c.313 11.42 9.5 20.88 20.9 21.507.43.02.842.04 1.273.04 12.223 0 22.173-9.951 22.173-22.193A22.22 22.22 0 0038.93.705",
|
|
18283
|
-
"mask": "url(#id-
|
|
18283
|
+
"mask": "url(#id-9d)"
|
|
18284
18284
|
}
|
|
18285
18285
|
})]), _c('path', {
|
|
18286
18286
|
attrs: {
|
|
@@ -18418,7 +18418,7 @@ module.exports = {
|
|
|
18418
18418
|
...rest
|
|
18419
18419
|
}, children.concat([_c('defs', [_c('linearGradient', {
|
|
18420
18420
|
attrs: {
|
|
18421
|
-
"id": "id-
|
|
18421
|
+
"id": "id-3a",
|
|
18422
18422
|
"x1": "45.313%",
|
|
18423
18423
|
"x2": "33.822%",
|
|
18424
18424
|
"y1": "69.296%",
|
|
@@ -18436,7 +18436,7 @@ module.exports = {
|
|
|
18436
18436
|
}
|
|
18437
18437
|
})]), _c('linearGradient', {
|
|
18438
18438
|
attrs: {
|
|
18439
|
-
"id": "id-
|
|
18439
|
+
"id": "id-5c",
|
|
18440
18440
|
"x1": "17.248%",
|
|
18441
18441
|
"x2": "58.688%",
|
|
18442
18442
|
"y1": "34.281%",
|
|
@@ -18454,7 +18454,7 @@ module.exports = {
|
|
|
18454
18454
|
}
|
|
18455
18455
|
})]), _c('path', {
|
|
18456
18456
|
attrs: {
|
|
18457
|
-
"id": "id-
|
|
18457
|
+
"id": "id-4b",
|
|
18458
18458
|
"d": "M75.617 68.105a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 2.602.373 1.911 1.185.796 1.933-8.547 5.606-15.608 3.737-24.527 0-8.92-3.738-12.264-.748-18.21 0-19.325 2.99-35.676 1.121-49.055-5.606a46.935 46.935 0 01-2.198-1.804c-3.08 3.497-5.197 5.593-6.35 6.289-1.857 1.12-8.546 4.11-17.094 4.11-5.698 0-10.53-.622-14.493-1.868-3.634-1.163-5.616-1.91-5.946-2.242-.744-.748-1.292-2.03 2.742-2.435 14.52-1.922 27.079-6.737 32.47-14.862-2.721-5.544-3.682-11.738-2.88-18.584C35.38 43.895 40.09 42 51.232 30.431c7.665-8.521 1.458-17.002-1.547-20.327a304.822 304.822 0 01-1.301-1.454c-1.174-1.359-1.17-1.35-2.76-.563a299.293 299.293 0 01-4.228 2.039c-.25.117-.938.46-.842.097.214-.822 6.12-3.842 6.014-4.07-.106-.23-7.504 1.596-7.67 1.608-.165.013-.315-.439-.108-.51.206-.076 2.191-.754 3.292-1.119 1.094-.362 3.5-1.141 3.283-1.262-.216-.124-8.341-.632-8.458-.64-.03-.002-.052-.028-.067-.066v-.297c.015-.038.039-.066.07-.073 1.92-.462 8.359-.207 8.507-.363.148-.157-.193-1.103-.231-1.657-.069-1.026.35-1.762 1.12-1.774h.04c.092.001.19.013.292.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852z"
|
|
18459
18459
|
}
|
|
18460
18460
|
})]), _c('g', {
|
|
@@ -18469,12 +18469,12 @@ module.exports = {
|
|
|
18469
18469
|
}
|
|
18470
18470
|
}), _c('use', {
|
|
18471
18471
|
attrs: {
|
|
18472
|
-
"fill": "url(#id-
|
|
18473
|
-
"xlink:href": "#id-
|
|
18472
|
+
"fill": "url(#id-3a)",
|
|
18473
|
+
"xlink:href": "#id-4b"
|
|
18474
18474
|
}
|
|
18475
18475
|
}), _c('path', {
|
|
18476
18476
|
attrs: {
|
|
18477
|
-
"fill": "url(#id-
|
|
18477
|
+
"fill": "url(#id-5c)",
|
|
18478
18478
|
"d": "M140.16 94.148c-9.194 1.408-11.705 1.1-14.296-.017-5.142-2.01-9.086-7.663-25.24-5.574-16.152 2.089-46.802-2.089-54.671-15.873-5.247-9.19-.586-18.872 13.981-29.046 5.452-3.472 9.006-9.315 10.663-17.53C72.25 17.904 64.062 9.215 46.03.039A1.13 1.13 0 0146.308 0h.038c.093.001.19.013.293.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 1.303.187 1.78.484 1.792.828z"
|
|
18479
18479
|
}
|
|
18480
18480
|
}), _c('g', {
|
|
@@ -51076,7 +51076,7 @@ const createStore = function createStore({
|
|
|
51076
51076
|
otpFlow: null,
|
|
51077
51077
|
fieldAutocomplete: false,
|
|
51078
51078
|
allowMethodChange: true,
|
|
51079
|
-
waitForChallengeCode:
|
|
51079
|
+
waitForChallengeCode: false
|
|
51080
51080
|
});
|
|
51081
51081
|
const filterMethodsByCountry = function filterMethodsByCountry(methods, country) {
|
|
51082
51082
|
return methods.filter(method => {
|
|
@@ -51086,7 +51086,7 @@ const createStore = function createStore({
|
|
|
51086
51086
|
otpFlow: null,
|
|
51087
51087
|
fieldAutocomplete: false,
|
|
51088
51088
|
allowMethodChange: true,
|
|
51089
|
-
waitForChallengeCode:
|
|
51089
|
+
waitForChallengeCode: false
|
|
51090
51090
|
});
|
|
51091
51091
|
const filterMethodsByCountry = function filterMethodsByCountry(methods, country) {
|
|
51092
51092
|
return methods.filter(method => {
|
|
@@ -11,4 +11,4 @@ class O_{constructor(t,e,n,a){if(isNaN(t)||isNaN(e))throw new Error(`Point is in
|
|
|
11
11
|
* (c) 2020 Karol Fabjańczuk
|
|
12
12
|
* @license MIT
|
|
13
13
|
*/
|
|
14
|
-
Object.setPrototypeOf=Object.setPrototypeOf||OC;OC.bind(Object);function NC(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var LC=NC(),jC=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();function PC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HC(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function VC(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function $C(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function GC(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(LC){var n=function(t){function n(t){var e;PC(this,n);var a=HC(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),i=t?HTMLElement.call(t):a;return r.call(i),e=i,HC(a,e)}return VC(n,t),jC(n,null,[{key:"observedAttributes",get:function(){return e.observedAttributes||[]}}]),n}($C);return n.prototype.connectedCallback=i,n.prototype.disconnectedCallback=s,n.prototype.attributeChangedCallback=o,l(t,n),n}var a=function(t){var e=t?HTMLElement.call(t):this;return r.call(e),e};return a.observedAttributes=e.observedAttributes||[],a.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:a}}),a.prototype.connectedCallback=i,a.prototype.disconnectedCallback=s,a.prototype.attributeChangedCallback=o,l(t,a),a}function r(){!0===e.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof e.constructorCallback&&e.constructorCallback.call(this)}function i(){"function"===typeof e.connectedCallback&&e.connectedCallback.call(this)}function s(){"function"===typeof e.disconnectedCallback&&e.disconnectedCallback.call(this)}function o(t,n,a){"function"===typeof e.attributeChangedCallback&&e.attributeChangedCallback.call(this,t,n,a)}function l(t,e){var n=customElements.get(t);return"undefined"!==typeof n?n:customElements.define(t,e)}}Object.setPrototypeOf($C.prototype,HTMLElement.prototype),Object.setPrototypeOf($C,HTMLElement);var RC=/-(\w)/g,UC=function(t){return t.replace(RC,(function(t,e){return e?e.toUpperCase():""}))},KC=/([^-])([A-Z])/g,YC=function(t){return t.replace(KC,"$1-$2").replace(KC,"$1-$2").toLowerCase()};function ZC(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.length-e,a=new Array(n);while(n--)a[n]=t[n+e];return a}var qC="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function WC(t,e){if(null===t||void 0===t)return e!==Boolean&&void 0;var n=t,a=["true","false"].indexOf(t)>-1,r=parseFloat(n,10),i=!isNaN(r)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return e&&e!==Boolean&&("undefined"===typeof n?"undefined":qC(n))!==e?n=e(t):a||e===Boolean?n=""===n||("true"===n||!0===n):i&&(n=r),n}function QC(t,e){if(t&&t.length)t.forEach((function(t){var n=UC(t);-1===e.camelCase.indexOf(n)&&e.camelCase.push(n)}));else if(t&&"object"===("undefined"===typeof t?"undefined":qC(t)))for(var n in t){var a=UC(n);-1===e.camelCase.indexOf(a)&&e.camelCase.push(a),t[a]&&t[a].type&&(e.types[n]=[].concat(t[a].type)[0])}}function JC(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={camelCase:[],hyphenate:[],types:{}};if(t.mixins&&t.mixins.forEach((function(t){QC(t.props,e)})),t.extends&&t.extends.props){var n=t.extends.props;QC(n,e)}return QC(t.props,e),e.camelCase.forEach((function(t){e.hyphenate.push(YC(t))})),e}function XC(t,e){e.camelCase.forEach((function(n,a){Object.defineProperty(t,n,{get:function(){return this.__vue_custom_element__[n]},set:function(t){if("object"!==("undefined"===typeof t?"undefined":qC(t))&&"function"!==typeof t||!this.__vue_custom_element__){var n=e.types[e.camelCase[a]];this.setAttribute(e.hyphenate[a],WC(t,n))}else{var r=e.camelCase[a];this.__vue_custom_element__[r]=t}}})}))}function tz(t,e,n){var a=e.propsData||{};return n.hyphenate.forEach((function(e,r){var i=n.camelCase[r],s=t.attributes[e]||t[i],o=null;n.types[i]&&(o=n.types[i]),s instanceof Attr?a[i]=WC(s.value,o):"undefined"!==typeof s&&(a[i]=s)})),a}function ez(t){var e={};return ZC(t.attributes).forEach((function(t){e["vue-slot"===t.nodeName?"slot":t.nodeName]=t.nodeValue})),e}function nz(t){if(t.childNodes.length)return t.childNodes;if(t.content&&t.content.childNodes&&t.content.childNodes.length)return t.content.childNodes;var e=document.createElement("div");return e.innerHTML=t.innerHTML,e.childNodes}function az(t,e,n){var a=nz(e),r=ZC(a).map((function(e){return"#text"===e.nodeName?e.nodeValue:t(e.tagName,{attrs:ez(e),domProps:{innerHTML:e.innerHTML}})}));return n.slot=e.id,t("template",n,r)}function rz(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1],n=[];return ZC(t).forEach((function(t){if("#text"===t.nodeName)t.nodeValue.trim()&&n.push(e("span",t.nodeValue));else if("#comment"!==t.nodeName){var a=ez(t),r={attrs:a,domProps:{innerHTML:""===t.innerHTML?t.innerText:t.innerHTML}};a.slot&&(r.slot=a.slot,a.slot=void 0);var i="TEMPLATE"===t.tagName?az(e,t,r):e(t.tagName,r);n.push(i)}})),n}function iz(t,e){var n={bubbles:!1,cancelable:!1,detail:e},a=void 0;return"function"===typeof window.CustomEvent?a=new CustomEvent(t,n):(a=document.createEvent("CustomEvent"),a.initCustomEvent(t,n.bubbles,n.cancelable,n.detail)),a}function sz(t,e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];var i=iz(e,[].concat(a));t.dispatchEvent(i)}function oz(t,e,n,a,r){if(!t.__vue_custom_element__){var i=function(){this.$emit=function(){for(var e,n=arguments.length,a=Array(n),r=0;r<n;r++)a[r]=arguments[r];sz.apply(void 0,[t].concat(a)),this.__proto__&&(e=this.__proto__.$emit).call.apply(e,[this].concat(a))}},s=e.util.extend({},n),o=tz(t,s,a),l=e.version&&parseInt(e.version.split(".")[0],10)||0;if(s.beforeCreate=[].concat(s.beforeCreate||[],i),s._compiled){var c={},u=s._Ctor;u&&(c=Object.keys(u).map((function(t){return u[t]}))[0].options),c.beforeCreate=s.beforeCreate}var d=void 0;if(l>=2){var p=t.cloneNode(!0).childNodes;d={propsData:o,props:a.camelCase,computed:{reactiveProps:function(){var t=this,e={};return a.camelCase.forEach((function(n){"undefined"!==typeof t[n]&&(e[n]=t[n])})),e}},render:function(t){var e={props:this.reactiveProps};return t(s,e,rz(p,t))}}}else if(1===l)d=s,d.propsData=o;else{d=s;var h={};Object.keys(o).forEach((function(t){h[t]={default:o[t]}})),d.props=h}var f=l>=2?"<div></div>":("<div>"+t.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(r.shadow&&t.shadowRoot?(t.shadowRoot.innerHTML=f,d.el=t.shadowRoot.children[0]):(t.innerHTML=f,d.el=t.children[0]),XC(t,a),"function"===typeof r.beforeCreateVueInstance&&(d=r.beforeCreateVueInstance(d)||d),t.__vue_custom_element__=new e(d),t.__vue_custom_element_props__=a,t.getVueInstance=function(){var e=t.__vue_custom_element__;return e.$children.length?e.$children[0]:e},r.shadow&&r.shadowCss&&t.shadowRoot){var g=document.createElement("style");g.type="text/css",g.appendChild(document.createTextNode(r.shadowCss)),t.shadowRoot.appendChild(g)}t.removeAttribute("vce-cloak"),t.setAttribute("vce-ready",""),sz(t,"vce-ready")}}function lz(t){t.customElement=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="function"===typeof n,i=r&&{props:a.props||[]},s=JC(r?i:n),o=GC(e,{constructorCallback:function(){"function"===typeof a.constructorCallback&&a.constructorCallback.call(this)},connectedCallback:function(){var i=this,o=r&&n(),l=o&&o.then&&"function"===typeof o.then;if("function"===typeof a.connectedCallback&&a.connectedCallback.call(this),r&&!l)throw new Error("Async component "+e+" do not returns Promise");this.__detached__||(l?o.then((function(e){var n=JC(e);oz(i,t,e,n,a),"function"===typeof a.vueInstanceCreatedCallback&&a.vueInstanceCreatedCallback.call(i)})):(oz(this,t,n,s,a),"function"===typeof a.vueInstanceCreatedCallback&&a.vueInstanceCreatedCallback.call(this))),this.__detached__=!1},disconnectedCallback:function(){var t=this;this.__detached__=!0,"function"===typeof a.disconnectedCallback&&a.disconnectedCallback.call(this),null!==a.destroyTimeout&&setTimeout((function(){t.__detached__&&t.__vue_custom_element__&&(t.__detached__=!1,t.__vue_custom_element__.$destroy(!0),delete t.__vue_custom_element__,delete t.__vue_custom_element_props__)}),a.destroyTimeout||3e3)},attributeChangedCallback:function(t,e,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var r=UC(t);"function"===typeof a.attributeChangedCallback&&a.attributeChangedCallback.call(this,t,e,n);var i=this.__vue_custom_element_props__.types[r];this.__vue_custom_element__[r]=WC(n,i)}},observedAttributes:s.hyphenate,shadow:!!a.shadow&&!!HTMLElement.prototype.attachShadow});return o}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(lz),lz.installed&&(lz.installed=!1));var cz=lz,uz=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function dz(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function pz(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var hz=Array.isArray;function fz(t){return null!==t&&"object"===typeof t}function gz(t){return"boolean"===typeof t}function vz(t){return"string"===typeof t}var mz=Object.prototype.toString,yz="[object Object]";function Mz(t){return mz.call(t)===yz}function Sz(t){return null===t||void 0===t}function _z(t){return"function"===typeof t}function bz(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,a=null;return 1===t.length?fz(t[0])||hz(t[0])?a=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(fz(t[1])||hz(t[1]))&&(a=t[1])),{locale:n,params:a}}function wz(t){return JSON.parse(JSON.stringify(t))}function Iz(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function Cz(t,e){return!!~t.indexOf(e)}var zz=Object.prototype.hasOwnProperty;function kz(t,e){return zz.call(t,e)}function xz(t){for(var e=arguments,n=Object(t),a=1;a<arguments.length;a++){var r=e[a];if(void 0!==r&&null!==r){var i=void 0;for(i in r)kz(r,i)&&(fz(r[i])?n[i]=xz(n[i],r[i]):n[i]=r[i])}}return n}function Az(t,e){if(t===e)return!0;var n=fz(t),a=fz(e);if(!n||!a)return!n&&!a&&String(t)===String(e);try{var r=hz(t),i=hz(e);if(r&&i)return t.length===e.length&&t.every((function(t,n){return Az(t,e[n])}));if(r||i)return!1;var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every((function(n){return Az(t[n],e[n])}))}catch(Wk){return!1}}function Ez(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Fz(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=Ez(t[e]))})),t}function Bz(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var a=this.$i18n;return a._t.apply(a,[t,a.locale,a._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],a=arguments.length-2;while(a-- >0)n[a]=arguments[a+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],a=arguments.length-1;while(a-- >0)n[a]=arguments[a+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],a=arguments.length-1;while(a-- >0)n[a]=arguments[a+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}var Tz={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Fk){if(t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){e=xz(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(Wk){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Mz(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Fk?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18n)try{var a=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){a=xz(a,JSON.parse(t))})),t.i18n.messages=a}catch(Wk){0}var r=t.i18n,i=r.sharedMessages;i&&Mz(i)&&(t.i18n.messages=xz(t.i18n.messages,i)),this._i18n=new Fk(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Fk?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Fk&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?(t.i18n instanceof Fk||Mz(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Fk||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Fk)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}},Dz={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,a=e.parent,r=e.props,i=e.slots,s=a.$i18n;if(s){var o=r.path,l=r.locale,c=r.places,u=i(),d=s.i(o,l,Oz(u)||c?Nz(u.default,c):u),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?t(p,n,d):d}}};function Oz(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function Nz(t,e){var n=e?Lz(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var a=t.every(Hz);return t.reduce(a?jz:Pz,n)}function Lz(t){return Array.isArray(t)?t.reduce(Pz,{}):Object.assign({},t)}function jz(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Pz(t,e,n){return t[n]=e,t}function Hz(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var Vz,$z={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,a=e.parent,r=e.data,i=a.$i18n;if(!i)return null;var s=null,o=null;vz(n.format)?s=n.format:fz(n.format)&&(n.format.key&&(s=n.format.key),o=Object.keys(n.format).reduce((function(t,e){var a;return Cz(uz,e)?Object.assign({},t,(a={},a[e]=n.format[e],a)):t}),null));var l=n.locale||i.locale,c=i._ntp(n.value,l,s,o),u=c.map((function(t,e){var n,a=r.scopedSlots&&r.scopedSlots[t.type];return a?a((n={},n[t.type]=t.value,n.index=e,n.parts=c,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:r.attrs,class:r["class"],staticClass:r.staticClass},u):u}};function Gz(t,e,n){Kz(t,n)&&Zz(t,e,n)}function Rz(t,e,n,a){if(Kz(t,n)){var r=n.context.$i18n;Yz(t,n)&&Az(e.value,e.oldValue)&&Az(t._localeMessage,r.getLocaleMessage(r.locale))||Zz(t,e,n)}}function Uz(t,e,n,a){var r=n.context;if(r){var i=n.context.$i18n||{};e.modifiers.preserve||i.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else dz("Vue instance does not exists in VNode context")}function Kz(t,e){var n=e.context;return n?!!n.$i18n||(dz("VueI18n instance does not exists in Vue instance"),!1):(dz("Vue instance does not exists in VNode context"),!1)}function Yz(t,e){var n=e.context;return t._locale===n.$i18n.locale}function Zz(t,e,n){var a,r,i=e.value,s=qz(i),o=s.path,l=s.locale,c=s.args,u=s.choice;if(o||l||c)if(o){var d=n.context;t._vt=t.textContent=null!=u?(a=d.$i18n).tc.apply(a,[o,u].concat(Wz(l,c))):(r=d.$i18n).t.apply(r,[o].concat(Wz(l,c))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else dz("`path` is required in v-t directive");else dz("value type not supported")}function qz(t){var e,n,a,r;return vz(t)?e=t:Mz(t)&&(e=t.path,n=t.locale,a=t.args,r=t.choice),{path:e,locale:n,args:a,choice:r}}function Wz(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||Mz(e))&&n.push(e),n}function Qz(t){Qz.installed=!0,Vz=t;Vz.version&&Number(Vz.version.split(".")[0]);Bz(Vz),Vz.mixin(Tz),Vz.directive("t",{bind:Gz,update:Rz,unbind:Uz}),Vz.component(Dz.name,Dz),Vz.component($z.name,$z);var e=Vz.config.optionMergeStrategies;e.i18n=function(t,e){return void 0===e?t:e}}var Jz=function(){this._caches=Object.create(null)};Jz.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=ek(t),this._caches[t]=n),nk(n,e)};var Xz=/^(?:\d)+/,tk=/^(?:\w)+/;function ek(t){var e=[],n=0,a="";while(n<t.length){var r=t[n++];if("{"===r){a&&e.push({type:"text",value:a}),a="";var i="";r=t[n++];while(void 0!==r&&"}"!==r)i+=r,r=t[n++];var s="}"===r,o=Xz.test(i)?"list":s&&tk.test(i)?"named":"unknown";e.push({value:i,type:o})}else"%"===r?"{"!==t[n]&&(a+=r):a+=r}return a&&e.push({type:"text",value:a}),e}function nk(t,e){var n=[],a=0,r=Array.isArray(e)?"list":fz(e)?"named":"unknown";if("unknown"===r)return n;while(a<t.length){var i=t[a];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(e[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(e[i.value]);break;case"unknown":0;break}a++}return n}var ak=0,rk=1,ik=2,sk=3,ok=0,lk=1,ck=2,uk=3,dk=4,pk=5,hk=6,fk=7,gk=8,vk=[];vk[ok]={ws:[ok],ident:[uk,ak],"[":[dk],eof:[fk]},vk[lk]={ws:[lk],".":[ck],"[":[dk],eof:[fk]},vk[ck]={ws:[ck],ident:[uk,ak],0:[uk,ak],number:[uk,ak]},vk[uk]={ident:[uk,ak],0:[uk,ak],number:[uk,ak],ws:[lk,rk],".":[ck,rk],"[":[dk,rk],eof:[fk,rk]},vk[dk]={"'":[pk,ak],'"':[hk,ak],"[":[dk,ik],"]":[lk,sk],eof:gk,else:[dk,ak]},vk[pk]={"'":[dk,ak],eof:gk,else:[pk,ak]},vk[hk]={'"':[dk,ak],eof:gk,else:[hk,ak]};var mk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yk(t){return mk.test(t)}function Mk(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function Sk(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function _k(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(yk(e)?Mk(e):"*"+e)}function bk(t){var e,n,a,r,i,s,o,l=[],c=-1,u=ok,d=0,p=[];function h(){var e=t[c+1];if(u===pk&&"'"===e||u===hk&&'"'===e)return c++,a="\\"+e,p[ak](),!0}p[rk]=function(){void 0!==n&&(l.push(n),n=void 0)},p[ak]=function(){void 0===n?n=a:n+=a},p[ik]=function(){p[ak](),d++},p[sk]=function(){if(d>0)d--,u=dk,p[ak]();else{if(d=0,void 0===n)return!1;if(n=_k(n),!1===n)return!1;p[rk]()}};while(null!==u)if(c++,e=t[c],"\\"!==e||!h()){if(r=Sk(e),o=vk[u],i=o[r]||o["else"]||gk,i===gk)return;if(u=i[0],s=p[i[1]],s&&(a=i[2],a=void 0===a?e:a,!1===s()))return;if(u===fk)return l}}var wk=function(){this._cache=Object.create(null)};wk.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=bk(t),e&&(this._cache[t]=e)),e||[]},wk.prototype.getPathValue=function(t,e){if(!fz(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var a=n.length,r=t,i=0;while(i<a){var s=r[n[i]];if(void 0===s)return null;r=s,i++}return r};var Ik,Ck=/<\/?[\w\s="/.':;#-\/]+>/,zk=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,kk=/^@(?:\.([a-z]+))?:/,xk=/[()]/g,Ak={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Ek=new Jz,Fk=function(t){var e=this;void 0===t&&(t={}),!Vz&&"undefined"!==typeof window&&window.Vue&&Qz(window.Vue);var n=t.locale||"en-US",a=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},i=t.dateTimeFormats||{},s=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Ek,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new wk,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,this.getChoiceIndex=function(t,n){var a=Object.getPrototypeOf(e);if(a&&a.getChoiceIndex){var r=a.getChoiceIndex;return r.call(e,t,n)}var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):i(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!Sz(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:a,messages:r,dateTimeFormats:i,numberFormats:s})},Bk={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Fk.prototype._checkLocaleMessage=function(t,e,n){var a=[],r=function(t,e,n,a){if(Mz(n))Object.keys(n).forEach((function(i){var s=n[i];Mz(s)?(a.push(i),a.push("."),r(t,e,s,a),a.pop(),a.pop()):(a.push(i),r(t,e,s,a),a.pop())}));else if(hz(n))n.forEach((function(n,i){Mz(n)?(a.push("["+i+"]"),a.push("."),r(t,e,n,a),a.pop(),a.pop()):(a.push("["+i+"]"),r(t,e,n,a),a.pop())}));else if(vz(n)){var i=Ck.test(n);if(i){var s="Detected HTML in message '"+n+"' of keypath '"+a.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?dz(s):"error"===t&&pz(s)}}};r(e,t,n,a)},Fk.prototype._initVM=function(t){var e=Vz.config.silent;Vz.config.silent=!0,this._vm=new Vz({data:t}),Vz.config.silent=e},Fk.prototype.destroyVM=function(){this._vm.$destroy()},Fk.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Fk.prototype.unsubscribeDataChanging=function(t){Iz(this._dataListeners,t)},Fk.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=t._dataListeners.length;while(e--)Vz.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Fk.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Fk.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Bk.vm.get=function(){return this._vm},Bk.messages.get=function(){return wz(this._getMessages())},Bk.dateTimeFormats.get=function(){return wz(this._getDateTimeFormats())},Bk.numberFormats.get=function(){return wz(this._getNumberFormats())},Bk.availableLocales.get=function(){return Object.keys(this.messages).sort()},Bk.locale.get=function(){return this._vm.locale},Bk.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Bk.fallbackLocale.get=function(){return this._vm.fallbackLocale},Bk.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Bk.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Bk.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Bk.missing.get=function(){return this._missing},Bk.missing.set=function(t){this._missing=t},Bk.formatter.get=function(){return this._formatter},Bk.formatter.set=function(t){this._formatter=t},Bk.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Bk.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Bk.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Bk.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Bk.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Bk.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Bk.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Bk.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var a=this._getMessages();Object.keys(a).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,a[t])}))}},Bk.postTranslation.get=function(){return this._postTranslation},Bk.postTranslation.set=function(t){this._postTranslation=t},Fk.prototype._getMessages=function(){return this._vm.messages},Fk.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Fk.prototype._getNumberFormats=function(){return this._vm.numberFormats},Fk.prototype._warnDefault=function(t,e,n,a,r,i){if(!Sz(n))return n;if(this._missing){var s=this._missing.apply(null,[t,e,a,r]);if(vz(s))return s}else 0;if(this._formatFallbackMessages){var o=bz.apply(void 0,r);return this._render(e,i,o.params,e)}return e},Fk.prototype._isFallbackRoot=function(t){return!t&&!Sz(this._root)&&this._fallbackRoot},Fk.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Fk.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Fk.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Fk.prototype._interpolate=function(t,e,n,a,r,i,s){if(!e)return null;var o,l=this._path.getPathValue(e,n);if(hz(l)||Mz(l))return l;if(Sz(l)){if(!Mz(e))return null;if(o=e[n],!vz(o)&&!_z(o))return null}else{if(!vz(l)&&!_z(l))return null;o=l}return vz(o)&&(o.indexOf("@:")>=0||o.indexOf("@.")>=0)&&(o=this._link(t,e,o,a,"raw",i,s)),this._render(o,r,i,n)},Fk.prototype._link=function(t,e,n,a,r,i,s){var o=n,l=o.match(zk);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(kk),p=d[0],h=d[1],f=u.replace(p,"").replace(xk,"");if(Cz(s,f))return o;s.push(f);var g=this._interpolate(t,e,f,a,"raw"===r?"string":r,"raw"===r?void 0:i,s);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;g=v._translate(v._getMessages(),v.locale,v.fallbackLocale,f,a,r,i)}g=this._warnDefault(t,f,g,a,hz(i)?i:[i],r),this._modifiers.hasOwnProperty(h)?g=this._modifiers[h](g):Ak.hasOwnProperty(h)&&(g=Ak[h](g)),s.pop(),o=g?o.replace(u,g):o}return o},Fk.prototype._createMessageContext=function(t){var e=hz(t)?t:[],n=fz(t)?t:{},a=function(t){return e[t]},r=function(t){return n[t]};return{list:a,named:r}},Fk.prototype._render=function(t,e,n,a){if(_z(t))return t(this._createMessageContext(n));var r=this._formatter.interpolate(t,n,a);return r||(r=Ek.interpolate(t,n,a)),"string"!==e||vz(r)?r:r.join("")},Fk.prototype._appendItemToChain=function(t,e,n){var a=!1;return Cz(t,e)||(a=!0,e&&(a="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(a=n[e]))),a},Fk.prototype._appendLocaleToChain=function(t,e,n){var a,r=e.split("-");do{var i=r.join("-");a=this._appendItemToChain(t,i,n),r.splice(-1,1)}while(r.length&&!0===a);return a},Fk.prototype._appendBlockToChain=function(t,e,n){for(var a=!0,r=0;r<e.length&&gz(a);r++){var i=e[r];vz(i)&&(a=this._appendLocaleToChain(t,i,n))}return a},Fk.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];var a,r=[t];while(hz(r))r=this._appendBlockToChain(n,r,e);a=hz(e)?e:fz(e)?e["default"]?e["default"]:null:e,r=vz(a)?[a]:a,r&&this._appendBlockToChain(n,r,null),this._localeChainCache[t]=n}return n},Fk.prototype._translate=function(t,e,n,a,r,i,s){for(var o,l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(o=this._interpolate(u,t[u],a,r,i,s,[a]),!Sz(o))return o}return null},Fk.prototype._t=function(t,e,n,a){var r,i=[],s=arguments.length-4;while(s-- >0)i[s]=arguments[s+4];if(!t)return"";var o=bz.apply(void 0,i);this._escapeParameterHtml&&(o.params=Fz(o.params));var l=o.locale||e,c=this._translate(n,l,this.fallbackLocale,t,a,"string",o.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(i))}return c=this._warnDefault(l,t,c,a,i,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,t)),c},Fk.prototype.t=function(t){var e,n=[],a=arguments.length-1;while(a-- >0)n[a]=arguments[a+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Fk.prototype._i=function(t,e,n,a,r){var i=this._translate(n,e,this.fallbackLocale,t,a,"raw",r);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,i,a,[r],"raw")},Fk.prototype.i=function(t,e,n){return t?(vz(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Fk.prototype._tc=function(t,e,n,a,r){var i,s=[],o=arguments.length-5;while(o-- >0)s[o]=arguments[o+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},c=bz.apply(void 0,s);return c.params=Object.assign(l,c.params),s=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,a].concat(s)),r)},Fk.prototype.fetchChoice=function(t,e){if(!t||!vz(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Fk.prototype.tc=function(t,e){var n,a=[],r=arguments.length-2;while(r-- >0)a[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(a))},Fk.prototype._te=function(t,e,n){var a=[],r=arguments.length-3;while(r-- >0)a[r]=arguments[r+3];var i=bz.apply(void 0,a).locale||e;return this._exist(n[i],t)},Fk.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Fk.prototype.getLocaleMessage=function(t){return wz(this._vm.messages[t]||{})},Fk.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Fk.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,xz("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?this._vm.messages[t]:{},e))},Fk.prototype.getDateTimeFormat=function(t){return wz(this._vm.dateTimeFormats[t]||{})},Fk.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Fk.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,xz(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Fk.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(a)&&delete this._dateTimeFormatters[a]}},Fk.prototype._localizeDateTime=function(t,e,n,a,r){for(var i=e,s=a[i],o=this._getLocaleChain(e,n),l=0;l<o.length;l++){var c=o[l];if(s=a[c],i=c,!Sz(s)&&!Sz(s[r]))break}if(Sz(s)||Sz(s[r]))return null;var u=s[r],d=i+"__"+r,p=this._dateTimeFormatters[d];return p||(p=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(i,u)),p.format(t)},Fk.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var a=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return a||""},Fk.prototype.d=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var a=this.locale,r=null;return 1===e.length?vz(e[0])?r=e[0]:fz(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(vz(e[0])&&(r=e[0]),vz(e[1])&&(a=e[1])),this._d(t,a,r)},Fk.prototype.getNumberFormat=function(t){return wz(this._vm.numberFormats[t]||{})},Fk.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Fk.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,xz(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Fk.prototype._clearNumberFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._numberFormatters.hasOwnProperty(a)&&delete this._numberFormatters[a]}},Fk.prototype._getNumberFormatter=function(t,e,n,a,r,i){for(var s=e,o=a[s],l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(o=a[u],s=u,!Sz(o)&&!Sz(o[r]))break}if(Sz(o)||Sz(o[r]))return null;var d,p=o[r];if(i)d=new Intl.NumberFormat(s,Object.assign({},p,i));else{var h=s+"__"+r;d=this._numberFormatters[h],d||(d=this._numberFormatters[h]=new Intl.NumberFormat(s,p))}return d},Fk.prototype._n=function(t,e,n,a){if(!Fk.availabilities.numberFormat)return"";if(!n){var r=a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e);return r.format(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),s=i&&i.format(t);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},a))}return s||""},Fk.prototype.n=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var a=this.locale,r=null,i=null;return 1===e.length?vz(e[0])?r=e[0]:fz(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(r=e[0].key),i=Object.keys(e[0]).reduce((function(t,n){var a;return Cz(uz,n)?Object.assign({},t,(a={},a[n]=e[0][n],a)):t}),null)):2===e.length&&(vz(e[0])&&(r=e[0]),vz(e[1])&&(a=e[1])),this._n(t,a,r,i)},Fk.prototype._ntp=function(t,e,n,a){if(!Fk.availabilities.numberFormat)return[];if(!n){var r=a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e);return r.formatToParts(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),s=i&&i.formatToParts(t);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,a)}return s||[]},Object.defineProperties(Fk.prototype,Bk),Object.defineProperty(Fk,"availabilities",{get:function(){if(!Ik){var t="undefined"!==typeof Intl;Ik={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return Ik}}),Fk.install=Qz,Fk.version="8.23.0";var Tk=Fk;function Dk(){const t=n(48011),e={};return t.keys().forEach((n=>{const a=n.match(/([A-Za-z0-9-_]+)\./i);if(a&&a.length>1){const r=a[1];e[r]=t(n)}})),e}Qa.use(Tk);var Ok=new Tk({locale:"en",fallbackLocale:"en",messages:Dk(),silentTranslationWarn:!0}),Nk=n(19938),Lk=n.n(Nk);const jk={EE:{no_implementation:"no-ee-id-card"},LV:{no_implementation:"no-lv-id-card"},LT:{no_implementation:"no-lt-id-card"},PT:{no_implementation:"no-pt-id-card"},RS:{no_implementation:"no-rs-id-card"},FI:{no_implementation:"no-fi-id-card"},BE:{no_implementation:"no-be-id-card",signature_cancel_and_help:"be-id-card-signature-cancel-and-help",signature_no_implementation:"be-id-signature-no-implementation"},RO:{no_implementation:"no-ro-usb-token",signature_cancel_and_help:"ro-usb-token-signature-cancel-and-help",signature_no_implementation:"no-ro-usb-token"},HR:{no_implementation:"no-id-card",signature_no_implementation:"no-id-card"},AX:{no_implementation:"no-id-card",signature_no_implementation:"no-id-card"},FR:{no_implementation:"no-fr-cert-europe-usb-token",signature_no_implementation:"no-fr-cert-europe-usb-token"}};var Pk=jk;const Hk=function({methodsConfig:t}){const{availableMethods:e,methodsByActionType:n}=t,a=Qa.observable({countryCode:"EE",currentView:Kl.MethodSelection,currentMethod:null,currentViewTitleTranslationKey:"",isLoading:!1,flashMessages:[],signingMethods:e[SC.methodTypes.SIGNATURE],identificationMethods:e[SC.methodTypes.IDENTIFICATION],enabledCountries:"all",inputValues:{},clientInfo:{},otpEmail:null,otpPhone:null,isOtpSent:!1,additionalMethodConfig:{},signatureIsProcessing:!1,showCountrySelect:!0,showBackButton:!0,mode:null,requireHandwrittenSignature:!1,otpFlow:null,fieldAutocomplete:!1,allowMethodChange:!0,waitForChallengeCode:!0}),r=function(t,e){return t.filter((t=>t.supportedCountries.includes(e)||t.supportedCountries.includes("WORLD")))},i={countryCode:()=>{const t=i.availableCountries();let e=a.countryCode;return t.includes(e)||(e=t[0]),e},currentView:()=>a.currentView,currentMethod:()=>a.currentMethod,currentViewTitleKey:()=>{const t=a.currentMethod&&a.currentMethod.actionType;return n[t].translationKeys&&n[t].translationKeys.title},isLoading:()=>a.isLoading,flashMessages:()=>a.flashMessages,identificationMethods:()=>a.identificationMethods,identificationMethodsInCurrentCountry:()=>r(a.identificationMethods,a.countryCode),signingMethods:()=>a.signingMethods,signingMethodsInCurrentCountry:()=>r(a.signingMethods,a.countryCode),availableCountries:()=>{const t=[...a.signingMethods,...a.identificationMethods];let{enabledCountries:e}=a,n=t.map((t=>t.supportedCountries)).flat();return"all"!==e&&Array.isArray(e)&&(e=e.map((t=>t.toUpperCase())),n=n.filter((t=>e.includes(t)))),[...new Set(n)].map((t=>t.toUpperCase()))},callingCode:()=>CC[a.countryCode],inputValues:()=>a.inputValues,clientInfo:()=>a.clientInfo,otpEmail:()=>a.otpEmail,otpPhone:()=>a.otpPhone,isOtpSent:()=>a.isOtpSent,emailToken:()=>a.emailToken,additionalMethodConfig:()=>a.additionalMethodConfig,signatureIsProcessing:()=>a.signatureIsProcessing,userActionsEnabled:()=>!a.signatureIsProcessing&&!a.isLoading,showCountrySelect:()=>a.showCountrySelect,showBackButton:()=>a.showBackButton,mode:()=>a.mode,requireHandwrittenSignature:()=>a.requireHandwrittenSignature,otpFlow:()=>a.otpFlow,fieldAutocomplete:()=>a.fieldAutocomplete,allowMethodChange:()=>a.allowMethodChange,waitForChallengeCode:()=>a.waitForChallengeCode},s={setCountryCode(t){a.countryCode=t},setCurrentView(t){a.currentView=t},setCurrentMethod(t){a.currentMethod=t},setIsLoading(t){a.isLoading=t},addFlashMessage(t){a.flashMessages.push(t)},clearFlashMessages(){a.flashMessages=[]},setIdentificationMethods(t){a.identificationMethods=t},setSigningMethods(t){a.signingMethods=t},setEnabledCountries(t){a.enabledCountries=t},setInputValues(t){a.inputValues=t},setClientInfo(t){a.clientInfo=t},setOtpEmail(t){a.otpEmail=t},setOtpPhone(t){a.otpPhone=t},setIsOtpSent(t){a.isOtpSent=t},setEmailToken(t){a.emailToken=t},setAdditionalMethodConfig(t){a.additionalMethodConfig=t},setSignatureIsProcessing(t){a.signatureIsProcessing=t},setShowBackButton(t){a.showBackButton=t},setShowCountrySelect(t){a.showCountrySelect=t},setMode(t){a.mode=t},setRequireHandwrittenSignature(t){a.requireHandwrittenSignature=t},setOtpFlow(t){a.otpFlow=t},setFieldAutocomplete(t){a.fieldAutocomplete=t},setAllowMethodChange(t){a.allowMethodChange=t},setWaitForChallengeCode(t){a.waitForChallengeCode=t}},o={loadingStart(){s.setIsLoading(!0)},loadingEnd(){s.setIsLoading(!1)},changeCountry(t){let e=t.toUpperCase();const n=i.availableCountries();-1!==n.indexOf(e)?s.setCountryCode(e):s.setCountryCode(n[0])},selectMethod(t){const e=Date.now(),{viewName:a}=n[t];s.clearFlashMessages(),s.setCurrentMethod({actionType:t,timestamp:e}),a&&o.changeView(a)},changeView(t){s.clearFlashMessages(),s.setCurrentView(t)},addFlashMessage(t){const e={text:"",scheme:"info"};if(t.details&&"no_implementation"===t.details.message){e.scheme="danger";const{no_implementation:n="no-required-software"}=Pk[a.countryCode]||{};t.methodType===SC.methodTypes.SIGNATURE&&(e.translationKey=Pk[a.countryCode].signature_no_implementation),e.translationKey=e.translationKey||n}else if((t.userMessage||t.message)&&(t instanceof Error||t.isAxiosError)){e.scheme="danger",e.text=t.userMessage||t.message;const{userDetails:n}=t;if(n)for(const t in n){const a=n[t];Array.isArray(a)?a.forEach((n=>{e.text+=` ${t}: ${n}`})):"string"===typeof a&&(e.text+=a)}}else t.details&&t.details.isCancel?(e.scheme="info",t.methodType===SC.methodTypes.SIGNATURE&&(e.translationKey=Pk[a.countryCode].signature_cancel_and_help),e.translationKey=e.translationKey||"USER_REFUSED"):(e.scheme=t.scheme||"danger",e.translationKey=t.translationKey||"no-response-error");t.response&&(e.response=t.response),s.addFlashMessage(e)},clearFlashMessages(){s.clearFlashMessages()},updateEnabledCountries(t){s.setEnabledCountries(t)},changeMethods(t){const n=function(t,e){let n=[];return e?("all"===e||!0===e?n=t:Array.isArray(e)&&e.forEach((e=>{const a=t.find((t=>t.actionType===e));a&&n.push(a)})),n):n};let a=n(e[SC.methodTypes.IDENTIFICATION],t[SC.methodTypes.IDENTIFICATION]),r=n(e[SC.methodTypes.SIGNATURE],t[SC.methodTypes.SIGNATURE]);a&&s.setIdentificationMethods(a),r&&s.setSigningMethods(r)},updateInputValues(t){const e=i.inputValues();s.setInputValues({...e,...t})},updateClientInfo(t){s.setClientInfo(t)},updateOtpEmail(t){s.setOtpEmail(t)},updateOtpPhone(t){s.setOtpPhone(t)},updateIsOtpSent(t){s.setIsOtpSent(t)},updateEmailToken(t){s.setEmailToken(t)},changeAdditionalMethodConfig(t){s.setAdditionalMethodConfig(t)},startSignatureProcessing(){s.setSignatureIsProcessing(!0)},endSignatureProcessing(){s.setSignatureIsProcessing(!1)},updateShowBackButton(t){s.setShowBackButton(t)},updateShowCountrySelect(t){s.setShowCountrySelect(t)},updateMode(t){s.setMode(t)},updateRequireHandwrittenSignature(t){s.setRequireHandwrittenSignature(t)},updateOtpFlow(t){s.setOtpFlow(t)},updateFieldAutocomplete(t){s.setFieldAutocomplete(t)},updateAllowMethodChange(t){s.setAllowMethodChange(t)},updateWaitForChallengeCode(t){s.setWaitForChallengeCode(t)}};return{store:a,actions:o,getters:i}};var Vk=Hk;const $k={IdCardButton:"IdCardButton",IdCardButtonEE:"IdCardButtonEE",IdCardButtonFi:"IdCardButtonFi",IdCardButtonBe:"IdCardButtonBe",SmartIdButton:"SmartIdButton",MobileIdButton:"MobileIdButton",MobileIdButtonEE:"MobileIdButtonEE",EparakstsMobileButton:"EparakstsMobileButton",EparakstsSmartCardButton:"EparakstsSmartCardButton",FrejaEidButton:"FrejaEidButton",ZealIdButton:"ZealIdButton",MojeIdButton:"MojeIdButton",FinnishTrustNetworkButton:"FinnishTrustNetworkButton",FinnishTrustNetworkAdvancedFullButton:"FinnishTrustNetworkAdvancedFullButton",AtHandyButton:"AtHandyButton",IdCardButtonLv:"IdCardButtonLv",IdCardButtonPt:"IdCardButtonPt",OtpButton:"OtpButton",GoogleButton:"GoogleButton",EvrotrustButton:"EvrotrustButton",BankIdButton:"BankIdButton",DTrustSignMeButton:"DTrustSignMeButton",MitIdButton:"MitIdButton",MitIdLoginButton:"MitIdLoginButton",MitIdSignButton:"MitIdSignButton",ChaveMovelButton:"ChaveMovelButton",NoBankIdButton:"NoBankIdButton",ItsmeButton:"ItsmeButton",CertEuropeUsbButton:"CertEuropeUsbButton",CertSignUsbButton:"CertSignUsbButton",CertSignWebApiButton:"CertSignWebApiButton",IdinButton:"IdinButton",VerifaiButton:"VerifaiButton",SpidButton:"SpidButton",AudkenniButton:"AudkenniButton",YesComButton:"YesComButton",EdoAppEidButton:"EdoAppEidButton",SimplySignButton:"SimplySignButton",UanatacaButton:"UanatacaButton",ScanDocumentButton:"ScanDocumentButton",PlMojeIdButton:"PlMojeIdButton",HalcomButton:"HalcomButton",SwissIdButton:"SwissIdButton",SwissComButton:"SwissComButton",FranceConnectButton:"FranceConnectButton"};var Gk=$k;const Rk=Object.freeze({[SC.methodTypes.IDENTIFICATION]:[{actionType:SC.methodActionTypes.BE_ID_LOGIN,buttonName:Gk.IdCardButtonBe,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.EE_ID_LOGIN,buttonName:Gk.IdCardButtonEE,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.FI_ID_LOGIN,buttonName:Gk.IdCardButtonFi,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LV_ID_LOGIN,buttonName:Gk.IdCardButtonLv,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LT_ID_LOGIN,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.PT_ID_LOGIN,buttonName:Gk.IdCardButtonPt,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.RS_ID_LOGIN,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.EE_MOBILE_ID,buttonName:Gk.MobileIdButtonEE,viewName:Kl.MobileIdAuth,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.LV_EPARAKSTS_MOBILE_LOGIN,buttonName:Gk.EparakstsMobileButton,translationKeys:{title:"eparaksts-mobile"}},{actionType:SC.methodActionTypes.LT_MOBILE_ID,buttonName:Gk.MobileIdButton,viewName:Kl.MobileIdAuth,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.SMART_ID,buttonName:Gk.SmartIdButton,viewName:Kl.SmartIdAuth,translationKeys:{title:"smart-id"}},{actionType:SC.methodActionTypes.FREJA_EID_LOGIN,buttonName:Gk.FrejaEidButton,viewName:Kl.IdentificationFrejaId,translationKeys:{title:"freja-eid"}},{actionType:SC.methodActionTypes.ZEALID_LOGIN,buttonName:Gk.ZealIdButton,viewName:Kl.IdentificationZealId,translationKeys:{title:"zeal-id"}},{actionType:SC.methodActionTypes.CZ_MOJEID,buttonName:Gk.MojeIdButton,translationKeys:{title:"moje-id"}},{actionType:SC.methodActionTypes.FI_FTN_LOGIN,buttonName:Gk.FinnishTrustNetworkButton,translationKeys:{title:"finnish-online-bank"}},{actionType:SC.methodActionTypes.AT_HANDY_SIGNATUR_LOGIN,buttonName:Gk.AtHandyButton,translationKeys:{title:"austrian-handy-signatur"}},{actionType:SC.methodActionTypes.ITSME_LOGIN,buttonName:Gk.ItsmeButton,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.ITSME_LOGIN_BASIC,buttonName:Gk.ItsmeButton,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.ITSME_LOGIN_STANDARD,buttonName:Gk.ItsmeButton,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.SE_BANKID_LOGIN,buttonName:Gk.BankIdButton,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.IDIN_LOGIN,buttonName:Gk.IdinButton,translationKeys:{title:"iDIN"}},{actionType:SC.methodActionTypes.IDIN_CUSTOMER_ID_LOGIN,buttonName:Gk.IdinButton,translationKeys:{title:"iDIN"}},{actionType:SC.methodActionTypes.LV_EPARAKSTS_ID_LOGIN,buttonName:Gk.EparakstsSmartCardButton,translationKeys:{title:"eparaksts-smart-card"}},{actionType:SC.methodActionTypes.EDOAPP_EID_LOGIN,buttonName:Gk.EdoAppEidButton,translationKeys:{title:"edoapp-eid"}},{actionType:SC.methodActionTypes.VERIFAI_LOGIN,buttonName:Gk.VerifaiButton,translationKeys:{title:"Verifai"}},{actionType:SC.methodActionTypes.YOONIK_LOGIN,buttonName:Gk.ScanDocumentButton,translationKeys:{title:"Yoonik"}},{actionType:SC.methodActionTypes.PL_MOJEID_LOGIN,buttonName:Gk.PlMojeIdButton,translationKeys:{title:"pl-mojeid"}},{actionType:SC.methodActionTypes.MIT_ID_LOGIN,buttonName:Gk.MitIdLoginButton,viewName:Kl.IdentificationMitId,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.NORWEGIAN_BANKID_LOGIN,buttonName:Gk.NoBankIdButton,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.FTN_LOGIN,buttonName:Gk.FinnishTrustNetworkButton,translationKeys:{title:"FTN"}}],[SC.methodTypes.SIGNATURE]:[{actionType:SC.methodActionTypes.BE_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonBe,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.EE_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonEE,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.FI_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonFi,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LV_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonLv,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LT_IDCARD_SIGNATURE,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.HR_IDCARD_SIGNATURE,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.PT_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonPt,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.SMARTID_SIGNATURE,buttonName:Gk.SmartIdButton,viewName:Kl.SignatureSmartId,translationKeys:{title:"smart-id"}},{actionType:SC.methodActionTypes.EE_MOBILEID_SIGNATURE,buttonName:Gk.MobileIdButtonEE,viewName:Kl.SignatureMobileId,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.LT_MOBILEID_SIGNATURE,buttonName:Gk.MobileIdButton,viewName:Kl.SignatureMobileId,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.LV_EPARAKSTS_MOBILE_SIGNATURE,buttonName:Gk.EparakstsMobileButton,translationKeys:{title:"eparaksts-mobile"}},{actionType:SC.methodActionTypes.FI_FTN_ADVANCED_SIGNATURE,buttonName:Gk.FinnishTrustNetworkButton,viewName:Kl.SignatureFtn,translationKeys:{title:"finnish-online-bank"}},{actionType:SC.methodActionTypes.FI_FTN_ADVANCED_FULL_SIGNATURE,buttonName:Gk.FinnishTrustNetworkAdvancedFullButton,viewName:Kl.SignatureFtnAdvancedFull,translationKeys:{title:"finnish-online-bank"}},{actionType:SC.methodActionTypes.OTP_EMAIL,buttonName:Gk.OtpButton,viewName:Kl.SignatureOtp,translationKeys:{title:"email-sms"}},{actionType:SC.methodActionTypes.AT_HANDY_SIGNATUR_SIGNATURE,buttonName:Gk.AtHandyButton,translationKeys:{title:"austrian-handy-signatur"}},{actionType:SC.methodActionTypes.ZEAL_ID_SIGNATURE,buttonName:Gk.ZealIdButton,translationKeys:{title:"zeal-id"}},{actionType:SC.methodActionTypes.CZ_MOJEID_ADVANCED_SIGNATURE,buttonName:Gk.MojeIdButton,translationKeys:{title:"moje-id"}},{actionType:SC.methodActionTypes.GOOGLE_SIGNATURE,buttonName:Gk.GoogleButton,translationKeys:{title:"google"}},{actionType:SC.methodActionTypes.EVROTRUST_SIGNATURE,buttonName:Gk.EvrotrustButton,viewName:Kl.SignatureEvrotrust,translationKeys:{title:"evrotrust"}},{actionType:SC.methodActionTypes.SE_BANKID_SIGNATURE,buttonName:Gk.BankIdButton,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,buttonName:Gk.DTrustSignMeButton,viewName:Kl.SignatureDTrustSignMe,translationKeys:{title:"D-Trust sign-me"}},{actionType:SC.methodActionTypes.MIT_ID_SIMPLE_SIGNATURE,buttonName:Gk.MitIdSignButton,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.CHAVE_MOVEL_QUALIFIED_SIGNATURE,buttonName:Gk.ChaveMovelButton,viewName:Kl.SignatureChaveMovel,translationKeys:{title:"Chave Movel"}},{actionType:SC.methodActionTypes.NORWEGIAN_BANKID_ADVANCED_SIGNATURE,buttonName:Gk.NoBankIdButton,viewName:Kl.SignatureNoBankId,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.CERTEUROPE_USB_TOKEN_SIGNATURE,buttonName:Gk.CertEuropeUsbButton,translationKeys:{title:"CertEurope USB"}},{actionType:SC.methodActionTypes.CERTSIGN_USB_TOKEN_SIGNATURE,buttonName:Gk.CertSignUsbButton,translationKeys:{title:"certSIGN USB"}},{actionType:SC.methodActionTypes.IDIN_SIMPLE_SIGNATURE,buttonName:Gk.IdinButton,translationKeys:{title:"iDIN"}},{actionType:SC.methodActionTypes.VERIFAI_SIMPLE_SIGNATURE,buttonName:Gk.VerifaiButton,translationKeys:{title:"Verifai"}},{actionType:SC.methodActionTypes.SPID_QUALIFIED_SIGNATURE,buttonName:Gk.SpidButton,viewName:Kl.SignatureSpidQes,translationKeys:{title:"SPID"}},{actionType:SC.methodActionTypes.FREJA_SIMPLE_SIGNATURE,buttonName:Gk.FrejaEidButton,viewName:Kl.SignatureFrejaId,translationKeys:{title:"freja-eid-signature"}},{actionType:SC.methodActionTypes.AUDKENNI_QUALIFIED_SIGNATURE,buttonName:Gk.AudkenniButton,viewName:Kl.SignatureAudkenni,translationKeys:{title:"audkenni"}},{actionType:SC.methodActionTypes.YES_COM_QUALIFIED_SIGNATURE,buttonName:Gk.YesComButton,translationKeys:{title:"yes-com"}},{actionType:SC.methodActionTypes.SIMPLY_SIGN_QES_SIGNATURE,buttonName:Gk.SimplySignButton,translationKeys:{title:"SimplySign"}},{actionType:SC.methodActionTypes.UANATACA_QUALIFIED_SIGNATURE,buttonName:Gk.UanatacaButton,viewName:Kl.SignatureUanatacaQes,translationKeys:{title:"Uanataca"}},{actionType:SC.methodActionTypes.HALCOM_QUALIFIED_SIGNATURE,buttonName:Gk.HalcomButton,viewName:Kl.SignatureHalcomQes,translationKeys:{title:"Halcom"}},{actionType:SC.methodActionTypes.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE,buttonName:Gk.CertSignWebApiButton,translationKeys:{title:"CertSign-Webapi"}},{actionType:SC.methodActionTypes.SWISS_ID_QUALIFIED_SIGNATURE,buttonName:Gk.SwissIdButton,viewName:Kl.SignatureSwissIdQes,translationKeys:{title:"SwissID"}},{actionType:SC.methodActionTypes.SWISS_COM_QUALIFIED_SIGNATURE,buttonName:Gk.SwissComButton,viewName:Kl.SignatureSwissComQes,translationKeys:{title:"Swisscom"}},{actionType:SC.methodActionTypes.DK_MITID_ADVANCED_SIGNATURE,buttonName:Gk.MitIdSignButton,viewName:Kl.SignatureMitIdAdvanced,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.DK_MITID_QES_SIGNATURE,buttonName:Gk.MitIdSignButton,viewName:Kl.SignatureMitIdQes,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.SE_BANK_ID_ADVANCED_SIGNATURE,buttonName:Gk.BankIdButton,viewName:Kl.SignatureSeBankIdAdvanced,translationKeys:{title:"BankID"}},{actionType:SC.methodActionTypes.SE_BANK_ID_QES_SIGNATURE,buttonName:Gk.BankIdButton,viewName:Kl.SignatureSeBankIdQes,translationKeys:{title:"BankID"}},{actionType:SC.methodActionTypes.SE_FREJA_EID_ADVANCED_SIGNATURE,buttonName:Gk.FrejaEidButton,viewName:Kl.SignatureFrejaIdAdvanced,translationKeys:{title:"freja-eid"}},{actionType:SC.methodActionTypes.SE_FREJA_EID_QES_SIGNATURE,buttonName:Gk.FrejaEidButton,viewName:Kl.SignatureFrejaIdQes,translationKeys:{title:"freja-eid"}},{actionType:SC.methodActionTypes.ITSME_QES_SIGNATURE,buttonName:Gk.ItsmeButton,viewName:Kl.SignatureItsmeQes,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.FR_IDENT_ADVANCED_SIGNATURE,buttonName:Gk.FranceConnectButton,translationKeys:{title:"FR Ident Signature"}}]}),Uk=function(t,e){const n=[];return e.forEach((e=>{const a=t.find((t=>t.actionType===e.actionType));a&&n.push({...a,...e})})),n},Kk=function(t){const e=t[SC.methodTypes.IDENTIFICATION].map((t=>(t.methodType=SC.methodTypes.IDENTIFICATION,t))),n=t[SC.methodTypes.SIGNATURE].map((t=>(t.methodType=SC.methodTypes.SIGNATURE,t))),a=[...e,...n],r={};return a.forEach((t=>r[t.actionType]=t)),r},Yk={[SC.methodTypes.IDENTIFICATION]:Uk(SC.allMethods[SC.methodTypes.IDENTIFICATION],Rk[SC.methodTypes.IDENTIFICATION]),[SC.methodTypes.SIGNATURE]:Uk(SC.allMethods[SC.methodTypes.SIGNATURE],Rk[SC.methodTypes.SIGNATURE])},Zk=function({methodsConfigFilter:t=null}){let e=Yk;t&&"function"===typeof t&&(e=t(Yk));const n=Kk(e);return Object.freeze({availableMethods:e,methodsByActionType:n,methodActionTypes:SC.methodActionTypes,methodTypes:SC.methodTypes,moduleNames:SC.moduleNames})};var qk=Zk;Qa.use(cz),Qa.config.productionTip=!1,Qa.customElement("eideasy-widget",DC,{beforeCreateVueInstance:t=>{const{propsData:e}=t;Qa.component("v-select",Lk()),t.i18n=Ok;const n=qk({methodsConfigFilter:e.methodsConfigFilter}),{store:a,actions:r,getters:i}=Vk({methodsConfig:n});t.store=a,t.storeActions=r,t.storeGetters=i;const s=_C()(e),o=t=>{if(e.onSuccess&&"function"===typeof e.onSuccess)return e.onSuccess(t)},l=t=>{if(e.onFail&&"function"===typeof e.onFail)return e.onFail(t)},c=t=>{if(e.beforeMethodSelection&&"function"===typeof e.beforeMethodSelection)return e.beforeMethodSelection(t)},u=t=>e.formatFlashMessage&&"function"===typeof e.formatFlashMessage?e.formatFlashMessage(t):t;return t.eidEasyClient=s,t.eidEasyOnSuccess=o,t.eidEasyOnFail=l,t.eidEasyBeforeMethodSelection=c,t.eidEasyFormatFlashMessage=u,t.eidEasyMethodsConfig=n,t},attributeChangedCallback(t,e,n){console.info("attributeChangedCallback",t,e,n)}})}(),a}()}));
|
|
14
|
+
Object.setPrototypeOf=Object.setPrototypeOf||OC;OC.bind(Object);function NC(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var LC=NC(),jC=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}();function PC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HC(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function VC(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function $C(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function GC(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(LC){var n=function(t){function n(t){var e;PC(this,n);var a=HC(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),i=t?HTMLElement.call(t):a;return r.call(i),e=i,HC(a,e)}return VC(n,t),jC(n,null,[{key:"observedAttributes",get:function(){return e.observedAttributes||[]}}]),n}($C);return n.prototype.connectedCallback=i,n.prototype.disconnectedCallback=s,n.prototype.attributeChangedCallback=o,l(t,n),n}var a=function(t){var e=t?HTMLElement.call(t):this;return r.call(e),e};return a.observedAttributes=e.observedAttributes||[],a.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:a}}),a.prototype.connectedCallback=i,a.prototype.disconnectedCallback=s,a.prototype.attributeChangedCallback=o,l(t,a),a}function r(){!0===e.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof e.constructorCallback&&e.constructorCallback.call(this)}function i(){"function"===typeof e.connectedCallback&&e.connectedCallback.call(this)}function s(){"function"===typeof e.disconnectedCallback&&e.disconnectedCallback.call(this)}function o(t,n,a){"function"===typeof e.attributeChangedCallback&&e.attributeChangedCallback.call(this,t,n,a)}function l(t,e){var n=customElements.get(t);return"undefined"!==typeof n?n:customElements.define(t,e)}}Object.setPrototypeOf($C.prototype,HTMLElement.prototype),Object.setPrototypeOf($C,HTMLElement);var RC=/-(\w)/g,UC=function(t){return t.replace(RC,(function(t,e){return e?e.toUpperCase():""}))},KC=/([^-])([A-Z])/g,YC=function(t){return t.replace(KC,"$1-$2").replace(KC,"$1-$2").toLowerCase()};function ZC(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.length-e,a=new Array(n);while(n--)a[n]=t[n+e];return a}var qC="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function WC(t,e){if(null===t||void 0===t)return e!==Boolean&&void 0;var n=t,a=["true","false"].indexOf(t)>-1,r=parseFloat(n,10),i=!isNaN(r)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return e&&e!==Boolean&&("undefined"===typeof n?"undefined":qC(n))!==e?n=e(t):a||e===Boolean?n=""===n||("true"===n||!0===n):i&&(n=r),n}function QC(t,e){if(t&&t.length)t.forEach((function(t){var n=UC(t);-1===e.camelCase.indexOf(n)&&e.camelCase.push(n)}));else if(t&&"object"===("undefined"===typeof t?"undefined":qC(t)))for(var n in t){var a=UC(n);-1===e.camelCase.indexOf(a)&&e.camelCase.push(a),t[a]&&t[a].type&&(e.types[n]=[].concat(t[a].type)[0])}}function JC(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={camelCase:[],hyphenate:[],types:{}};if(t.mixins&&t.mixins.forEach((function(t){QC(t.props,e)})),t.extends&&t.extends.props){var n=t.extends.props;QC(n,e)}return QC(t.props,e),e.camelCase.forEach((function(t){e.hyphenate.push(YC(t))})),e}function XC(t,e){e.camelCase.forEach((function(n,a){Object.defineProperty(t,n,{get:function(){return this.__vue_custom_element__[n]},set:function(t){if("object"!==("undefined"===typeof t?"undefined":qC(t))&&"function"!==typeof t||!this.__vue_custom_element__){var n=e.types[e.camelCase[a]];this.setAttribute(e.hyphenate[a],WC(t,n))}else{var r=e.camelCase[a];this.__vue_custom_element__[r]=t}}})}))}function tz(t,e,n){var a=e.propsData||{};return n.hyphenate.forEach((function(e,r){var i=n.camelCase[r],s=t.attributes[e]||t[i],o=null;n.types[i]&&(o=n.types[i]),s instanceof Attr?a[i]=WC(s.value,o):"undefined"!==typeof s&&(a[i]=s)})),a}function ez(t){var e={};return ZC(t.attributes).forEach((function(t){e["vue-slot"===t.nodeName?"slot":t.nodeName]=t.nodeValue})),e}function nz(t){if(t.childNodes.length)return t.childNodes;if(t.content&&t.content.childNodes&&t.content.childNodes.length)return t.content.childNodes;var e=document.createElement("div");return e.innerHTML=t.innerHTML,e.childNodes}function az(t,e,n){var a=nz(e),r=ZC(a).map((function(e){return"#text"===e.nodeName?e.nodeValue:t(e.tagName,{attrs:ez(e),domProps:{innerHTML:e.innerHTML}})}));return n.slot=e.id,t("template",n,r)}function rz(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1],n=[];return ZC(t).forEach((function(t){if("#text"===t.nodeName)t.nodeValue.trim()&&n.push(e("span",t.nodeValue));else if("#comment"!==t.nodeName){var a=ez(t),r={attrs:a,domProps:{innerHTML:""===t.innerHTML?t.innerText:t.innerHTML}};a.slot&&(r.slot=a.slot,a.slot=void 0);var i="TEMPLATE"===t.tagName?az(e,t,r):e(t.tagName,r);n.push(i)}})),n}function iz(t,e){var n={bubbles:!1,cancelable:!1,detail:e},a=void 0;return"function"===typeof window.CustomEvent?a=new CustomEvent(t,n):(a=document.createEvent("CustomEvent"),a.initCustomEvent(t,n.bubbles,n.cancelable,n.detail)),a}function sz(t,e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];var i=iz(e,[].concat(a));t.dispatchEvent(i)}function oz(t,e,n,a,r){if(!t.__vue_custom_element__){var i=function(){this.$emit=function(){for(var e,n=arguments.length,a=Array(n),r=0;r<n;r++)a[r]=arguments[r];sz.apply(void 0,[t].concat(a)),this.__proto__&&(e=this.__proto__.$emit).call.apply(e,[this].concat(a))}},s=e.util.extend({},n),o=tz(t,s,a),l=e.version&&parseInt(e.version.split(".")[0],10)||0;if(s.beforeCreate=[].concat(s.beforeCreate||[],i),s._compiled){var c={},u=s._Ctor;u&&(c=Object.keys(u).map((function(t){return u[t]}))[0].options),c.beforeCreate=s.beforeCreate}var d=void 0;if(l>=2){var p=t.cloneNode(!0).childNodes;d={propsData:o,props:a.camelCase,computed:{reactiveProps:function(){var t=this,e={};return a.camelCase.forEach((function(n){"undefined"!==typeof t[n]&&(e[n]=t[n])})),e}},render:function(t){var e={props:this.reactiveProps};return t(s,e,rz(p,t))}}}else if(1===l)d=s,d.propsData=o;else{d=s;var h={};Object.keys(o).forEach((function(t){h[t]={default:o[t]}})),d.props=h}var f=l>=2?"<div></div>":("<div>"+t.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(r.shadow&&t.shadowRoot?(t.shadowRoot.innerHTML=f,d.el=t.shadowRoot.children[0]):(t.innerHTML=f,d.el=t.children[0]),XC(t,a),"function"===typeof r.beforeCreateVueInstance&&(d=r.beforeCreateVueInstance(d)||d),t.__vue_custom_element__=new e(d),t.__vue_custom_element_props__=a,t.getVueInstance=function(){var e=t.__vue_custom_element__;return e.$children.length?e.$children[0]:e},r.shadow&&r.shadowCss&&t.shadowRoot){var g=document.createElement("style");g.type="text/css",g.appendChild(document.createTextNode(r.shadowCss)),t.shadowRoot.appendChild(g)}t.removeAttribute("vce-cloak"),t.setAttribute("vce-ready",""),sz(t,"vce-ready")}}function lz(t){t.customElement=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="function"===typeof n,i=r&&{props:a.props||[]},s=JC(r?i:n),o=GC(e,{constructorCallback:function(){"function"===typeof a.constructorCallback&&a.constructorCallback.call(this)},connectedCallback:function(){var i=this,o=r&&n(),l=o&&o.then&&"function"===typeof o.then;if("function"===typeof a.connectedCallback&&a.connectedCallback.call(this),r&&!l)throw new Error("Async component "+e+" do not returns Promise");this.__detached__||(l?o.then((function(e){var n=JC(e);oz(i,t,e,n,a),"function"===typeof a.vueInstanceCreatedCallback&&a.vueInstanceCreatedCallback.call(i)})):(oz(this,t,n,s,a),"function"===typeof a.vueInstanceCreatedCallback&&a.vueInstanceCreatedCallback.call(this))),this.__detached__=!1},disconnectedCallback:function(){var t=this;this.__detached__=!0,"function"===typeof a.disconnectedCallback&&a.disconnectedCallback.call(this),null!==a.destroyTimeout&&setTimeout((function(){t.__detached__&&t.__vue_custom_element__&&(t.__detached__=!1,t.__vue_custom_element__.$destroy(!0),delete t.__vue_custom_element__,delete t.__vue_custom_element_props__)}),a.destroyTimeout||3e3)},attributeChangedCallback:function(t,e,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var r=UC(t);"function"===typeof a.attributeChangedCallback&&a.attributeChangedCallback.call(this,t,e,n);var i=this.__vue_custom_element_props__.types[r];this.__vue_custom_element__[r]=WC(n,i)}},observedAttributes:s.hyphenate,shadow:!!a.shadow&&!!HTMLElement.prototype.attachShadow});return o}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(lz),lz.installed&&(lz.installed=!1));var cz=lz,uz=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function dz(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function pz(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var hz=Array.isArray;function fz(t){return null!==t&&"object"===typeof t}function gz(t){return"boolean"===typeof t}function vz(t){return"string"===typeof t}var mz=Object.prototype.toString,yz="[object Object]";function Mz(t){return mz.call(t)===yz}function Sz(t){return null===t||void 0===t}function _z(t){return"function"===typeof t}function bz(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,a=null;return 1===t.length?fz(t[0])||hz(t[0])?a=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(fz(t[1])||hz(t[1]))&&(a=t[1])),{locale:n,params:a}}function wz(t){return JSON.parse(JSON.stringify(t))}function Iz(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function Cz(t,e){return!!~t.indexOf(e)}var zz=Object.prototype.hasOwnProperty;function kz(t,e){return zz.call(t,e)}function xz(t){for(var e=arguments,n=Object(t),a=1;a<arguments.length;a++){var r=e[a];if(void 0!==r&&null!==r){var i=void 0;for(i in r)kz(r,i)&&(fz(r[i])?n[i]=xz(n[i],r[i]):n[i]=r[i])}}return n}function Az(t,e){if(t===e)return!0;var n=fz(t),a=fz(e);if(!n||!a)return!n&&!a&&String(t)===String(e);try{var r=hz(t),i=hz(e);if(r&&i)return t.length===e.length&&t.every((function(t,n){return Az(t,e[n])}));if(r||i)return!1;var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every((function(n){return Az(t[n],e[n])}))}catch(Wk){return!1}}function Ez(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Fz(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=Ez(t[e]))})),t}function Bz(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var a=this.$i18n;return a._t.apply(a,[t,a.locale,a._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],a=arguments.length-2;while(a-- >0)n[a]=arguments[a+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],a=arguments.length-1;while(a-- >0)n[a]=arguments[a+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],a=arguments.length-1;while(a-- >0)n[a]=arguments[a+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}var Tz={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Fk){if(t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){e=xz(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(Wk){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Mz(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Fk?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18n)try{var a=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){a=xz(a,JSON.parse(t))})),t.i18n.messages=a}catch(Wk){0}var r=t.i18n,i=r.sharedMessages;i&&Mz(i)&&(t.i18n.messages=xz(t.i18n.messages,i)),this._i18n=new Fk(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Fk?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Fk&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?(t.i18n instanceof Fk||Mz(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Fk||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Fk)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}},Dz={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,a=e.parent,r=e.props,i=e.slots,s=a.$i18n;if(s){var o=r.path,l=r.locale,c=r.places,u=i(),d=s.i(o,l,Oz(u)||c?Nz(u.default,c):u),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?t(p,n,d):d}}};function Oz(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function Nz(t,e){var n=e?Lz(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var a=t.every(Hz);return t.reduce(a?jz:Pz,n)}function Lz(t){return Array.isArray(t)?t.reduce(Pz,{}):Object.assign({},t)}function jz(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Pz(t,e,n){return t[n]=e,t}function Hz(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var Vz,$z={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,a=e.parent,r=e.data,i=a.$i18n;if(!i)return null;var s=null,o=null;vz(n.format)?s=n.format:fz(n.format)&&(n.format.key&&(s=n.format.key),o=Object.keys(n.format).reduce((function(t,e){var a;return Cz(uz,e)?Object.assign({},t,(a={},a[e]=n.format[e],a)):t}),null));var l=n.locale||i.locale,c=i._ntp(n.value,l,s,o),u=c.map((function(t,e){var n,a=r.scopedSlots&&r.scopedSlots[t.type];return a?a((n={},n[t.type]=t.value,n.index=e,n.parts=c,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:r.attrs,class:r["class"],staticClass:r.staticClass},u):u}};function Gz(t,e,n){Kz(t,n)&&Zz(t,e,n)}function Rz(t,e,n,a){if(Kz(t,n)){var r=n.context.$i18n;Yz(t,n)&&Az(e.value,e.oldValue)&&Az(t._localeMessage,r.getLocaleMessage(r.locale))||Zz(t,e,n)}}function Uz(t,e,n,a){var r=n.context;if(r){var i=n.context.$i18n||{};e.modifiers.preserve||i.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else dz("Vue instance does not exists in VNode context")}function Kz(t,e){var n=e.context;return n?!!n.$i18n||(dz("VueI18n instance does not exists in Vue instance"),!1):(dz("Vue instance does not exists in VNode context"),!1)}function Yz(t,e){var n=e.context;return t._locale===n.$i18n.locale}function Zz(t,e,n){var a,r,i=e.value,s=qz(i),o=s.path,l=s.locale,c=s.args,u=s.choice;if(o||l||c)if(o){var d=n.context;t._vt=t.textContent=null!=u?(a=d.$i18n).tc.apply(a,[o,u].concat(Wz(l,c))):(r=d.$i18n).t.apply(r,[o].concat(Wz(l,c))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else dz("`path` is required in v-t directive");else dz("value type not supported")}function qz(t){var e,n,a,r;return vz(t)?e=t:Mz(t)&&(e=t.path,n=t.locale,a=t.args,r=t.choice),{path:e,locale:n,args:a,choice:r}}function Wz(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||Mz(e))&&n.push(e),n}function Qz(t){Qz.installed=!0,Vz=t;Vz.version&&Number(Vz.version.split(".")[0]);Bz(Vz),Vz.mixin(Tz),Vz.directive("t",{bind:Gz,update:Rz,unbind:Uz}),Vz.component(Dz.name,Dz),Vz.component($z.name,$z);var e=Vz.config.optionMergeStrategies;e.i18n=function(t,e){return void 0===e?t:e}}var Jz=function(){this._caches=Object.create(null)};Jz.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=ek(t),this._caches[t]=n),nk(n,e)};var Xz=/^(?:\d)+/,tk=/^(?:\w)+/;function ek(t){var e=[],n=0,a="";while(n<t.length){var r=t[n++];if("{"===r){a&&e.push({type:"text",value:a}),a="";var i="";r=t[n++];while(void 0!==r&&"}"!==r)i+=r,r=t[n++];var s="}"===r,o=Xz.test(i)?"list":s&&tk.test(i)?"named":"unknown";e.push({value:i,type:o})}else"%"===r?"{"!==t[n]&&(a+=r):a+=r}return a&&e.push({type:"text",value:a}),e}function nk(t,e){var n=[],a=0,r=Array.isArray(e)?"list":fz(e)?"named":"unknown";if("unknown"===r)return n;while(a<t.length){var i=t[a];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(e[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(e[i.value]);break;case"unknown":0;break}a++}return n}var ak=0,rk=1,ik=2,sk=3,ok=0,lk=1,ck=2,uk=3,dk=4,pk=5,hk=6,fk=7,gk=8,vk=[];vk[ok]={ws:[ok],ident:[uk,ak],"[":[dk],eof:[fk]},vk[lk]={ws:[lk],".":[ck],"[":[dk],eof:[fk]},vk[ck]={ws:[ck],ident:[uk,ak],0:[uk,ak],number:[uk,ak]},vk[uk]={ident:[uk,ak],0:[uk,ak],number:[uk,ak],ws:[lk,rk],".":[ck,rk],"[":[dk,rk],eof:[fk,rk]},vk[dk]={"'":[pk,ak],'"':[hk,ak],"[":[dk,ik],"]":[lk,sk],eof:gk,else:[dk,ak]},vk[pk]={"'":[dk,ak],eof:gk,else:[pk,ak]},vk[hk]={'"':[dk,ak],eof:gk,else:[hk,ak]};var mk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yk(t){return mk.test(t)}function Mk(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function Sk(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function _k(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(yk(e)?Mk(e):"*"+e)}function bk(t){var e,n,a,r,i,s,o,l=[],c=-1,u=ok,d=0,p=[];function h(){var e=t[c+1];if(u===pk&&"'"===e||u===hk&&'"'===e)return c++,a="\\"+e,p[ak](),!0}p[rk]=function(){void 0!==n&&(l.push(n),n=void 0)},p[ak]=function(){void 0===n?n=a:n+=a},p[ik]=function(){p[ak](),d++},p[sk]=function(){if(d>0)d--,u=dk,p[ak]();else{if(d=0,void 0===n)return!1;if(n=_k(n),!1===n)return!1;p[rk]()}};while(null!==u)if(c++,e=t[c],"\\"!==e||!h()){if(r=Sk(e),o=vk[u],i=o[r]||o["else"]||gk,i===gk)return;if(u=i[0],s=p[i[1]],s&&(a=i[2],a=void 0===a?e:a,!1===s()))return;if(u===fk)return l}}var wk=function(){this._cache=Object.create(null)};wk.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=bk(t),e&&(this._cache[t]=e)),e||[]},wk.prototype.getPathValue=function(t,e){if(!fz(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var a=n.length,r=t,i=0;while(i<a){var s=r[n[i]];if(void 0===s)return null;r=s,i++}return r};var Ik,Ck=/<\/?[\w\s="/.':;#-\/]+>/,zk=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,kk=/^@(?:\.([a-z]+))?:/,xk=/[()]/g,Ak={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Ek=new Jz,Fk=function(t){var e=this;void 0===t&&(t={}),!Vz&&"undefined"!==typeof window&&window.Vue&&Qz(window.Vue);var n=t.locale||"en-US",a=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},i=t.dateTimeFormats||{},s=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Ek,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new wk,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,this.getChoiceIndex=function(t,n){var a=Object.getPrototypeOf(e);if(a&&a.getChoiceIndex){var r=a.getChoiceIndex;return r.call(e,t,n)}var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):i(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!Sz(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:a,messages:r,dateTimeFormats:i,numberFormats:s})},Bk={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Fk.prototype._checkLocaleMessage=function(t,e,n){var a=[],r=function(t,e,n,a){if(Mz(n))Object.keys(n).forEach((function(i){var s=n[i];Mz(s)?(a.push(i),a.push("."),r(t,e,s,a),a.pop(),a.pop()):(a.push(i),r(t,e,s,a),a.pop())}));else if(hz(n))n.forEach((function(n,i){Mz(n)?(a.push("["+i+"]"),a.push("."),r(t,e,n,a),a.pop(),a.pop()):(a.push("["+i+"]"),r(t,e,n,a),a.pop())}));else if(vz(n)){var i=Ck.test(n);if(i){var s="Detected HTML in message '"+n+"' of keypath '"+a.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?dz(s):"error"===t&&pz(s)}}};r(e,t,n,a)},Fk.prototype._initVM=function(t){var e=Vz.config.silent;Vz.config.silent=!0,this._vm=new Vz({data:t}),Vz.config.silent=e},Fk.prototype.destroyVM=function(){this._vm.$destroy()},Fk.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Fk.prototype.unsubscribeDataChanging=function(t){Iz(this._dataListeners,t)},Fk.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=t._dataListeners.length;while(e--)Vz.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Fk.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Fk.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Bk.vm.get=function(){return this._vm},Bk.messages.get=function(){return wz(this._getMessages())},Bk.dateTimeFormats.get=function(){return wz(this._getDateTimeFormats())},Bk.numberFormats.get=function(){return wz(this._getNumberFormats())},Bk.availableLocales.get=function(){return Object.keys(this.messages).sort()},Bk.locale.get=function(){return this._vm.locale},Bk.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Bk.fallbackLocale.get=function(){return this._vm.fallbackLocale},Bk.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Bk.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Bk.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Bk.missing.get=function(){return this._missing},Bk.missing.set=function(t){this._missing=t},Bk.formatter.get=function(){return this._formatter},Bk.formatter.set=function(t){this._formatter=t},Bk.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Bk.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Bk.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Bk.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Bk.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Bk.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Bk.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Bk.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var a=this._getMessages();Object.keys(a).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,a[t])}))}},Bk.postTranslation.get=function(){return this._postTranslation},Bk.postTranslation.set=function(t){this._postTranslation=t},Fk.prototype._getMessages=function(){return this._vm.messages},Fk.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Fk.prototype._getNumberFormats=function(){return this._vm.numberFormats},Fk.prototype._warnDefault=function(t,e,n,a,r,i){if(!Sz(n))return n;if(this._missing){var s=this._missing.apply(null,[t,e,a,r]);if(vz(s))return s}else 0;if(this._formatFallbackMessages){var o=bz.apply(void 0,r);return this._render(e,i,o.params,e)}return e},Fk.prototype._isFallbackRoot=function(t){return!t&&!Sz(this._root)&&this._fallbackRoot},Fk.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Fk.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Fk.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Fk.prototype._interpolate=function(t,e,n,a,r,i,s){if(!e)return null;var o,l=this._path.getPathValue(e,n);if(hz(l)||Mz(l))return l;if(Sz(l)){if(!Mz(e))return null;if(o=e[n],!vz(o)&&!_z(o))return null}else{if(!vz(l)&&!_z(l))return null;o=l}return vz(o)&&(o.indexOf("@:")>=0||o.indexOf("@.")>=0)&&(o=this._link(t,e,o,a,"raw",i,s)),this._render(o,r,i,n)},Fk.prototype._link=function(t,e,n,a,r,i,s){var o=n,l=o.match(zk);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(kk),p=d[0],h=d[1],f=u.replace(p,"").replace(xk,"");if(Cz(s,f))return o;s.push(f);var g=this._interpolate(t,e,f,a,"raw"===r?"string":r,"raw"===r?void 0:i,s);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;g=v._translate(v._getMessages(),v.locale,v.fallbackLocale,f,a,r,i)}g=this._warnDefault(t,f,g,a,hz(i)?i:[i],r),this._modifiers.hasOwnProperty(h)?g=this._modifiers[h](g):Ak.hasOwnProperty(h)&&(g=Ak[h](g)),s.pop(),o=g?o.replace(u,g):o}return o},Fk.prototype._createMessageContext=function(t){var e=hz(t)?t:[],n=fz(t)?t:{},a=function(t){return e[t]},r=function(t){return n[t]};return{list:a,named:r}},Fk.prototype._render=function(t,e,n,a){if(_z(t))return t(this._createMessageContext(n));var r=this._formatter.interpolate(t,n,a);return r||(r=Ek.interpolate(t,n,a)),"string"!==e||vz(r)?r:r.join("")},Fk.prototype._appendItemToChain=function(t,e,n){var a=!1;return Cz(t,e)||(a=!0,e&&(a="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(a=n[e]))),a},Fk.prototype._appendLocaleToChain=function(t,e,n){var a,r=e.split("-");do{var i=r.join("-");a=this._appendItemToChain(t,i,n),r.splice(-1,1)}while(r.length&&!0===a);return a},Fk.prototype._appendBlockToChain=function(t,e,n){for(var a=!0,r=0;r<e.length&&gz(a);r++){var i=e[r];vz(i)&&(a=this._appendLocaleToChain(t,i,n))}return a},Fk.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];var a,r=[t];while(hz(r))r=this._appendBlockToChain(n,r,e);a=hz(e)?e:fz(e)?e["default"]?e["default"]:null:e,r=vz(a)?[a]:a,r&&this._appendBlockToChain(n,r,null),this._localeChainCache[t]=n}return n},Fk.prototype._translate=function(t,e,n,a,r,i,s){for(var o,l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(o=this._interpolate(u,t[u],a,r,i,s,[a]),!Sz(o))return o}return null},Fk.prototype._t=function(t,e,n,a){var r,i=[],s=arguments.length-4;while(s-- >0)i[s]=arguments[s+4];if(!t)return"";var o=bz.apply(void 0,i);this._escapeParameterHtml&&(o.params=Fz(o.params));var l=o.locale||e,c=this._translate(n,l,this.fallbackLocale,t,a,"string",o.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(i))}return c=this._warnDefault(l,t,c,a,i,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,t)),c},Fk.prototype.t=function(t){var e,n=[],a=arguments.length-1;while(a-- >0)n[a]=arguments[a+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Fk.prototype._i=function(t,e,n,a,r){var i=this._translate(n,e,this.fallbackLocale,t,a,"raw",r);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,i,a,[r],"raw")},Fk.prototype.i=function(t,e,n){return t?(vz(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Fk.prototype._tc=function(t,e,n,a,r){var i,s=[],o=arguments.length-5;while(o-- >0)s[o]=arguments[o+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},c=bz.apply(void 0,s);return c.params=Object.assign(l,c.params),s=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,a].concat(s)),r)},Fk.prototype.fetchChoice=function(t,e){if(!t||!vz(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Fk.prototype.tc=function(t,e){var n,a=[],r=arguments.length-2;while(r-- >0)a[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(a))},Fk.prototype._te=function(t,e,n){var a=[],r=arguments.length-3;while(r-- >0)a[r]=arguments[r+3];var i=bz.apply(void 0,a).locale||e;return this._exist(n[i],t)},Fk.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Fk.prototype.getLocaleMessage=function(t){return wz(this._vm.messages[t]||{})},Fk.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Fk.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,xz("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?this._vm.messages[t]:{},e))},Fk.prototype.getDateTimeFormat=function(t){return wz(this._vm.dateTimeFormats[t]||{})},Fk.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Fk.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,xz(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Fk.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(a)&&delete this._dateTimeFormatters[a]}},Fk.prototype._localizeDateTime=function(t,e,n,a,r){for(var i=e,s=a[i],o=this._getLocaleChain(e,n),l=0;l<o.length;l++){var c=o[l];if(s=a[c],i=c,!Sz(s)&&!Sz(s[r]))break}if(Sz(s)||Sz(s[r]))return null;var u=s[r],d=i+"__"+r,p=this._dateTimeFormatters[d];return p||(p=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(i,u)),p.format(t)},Fk.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var a=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return a||""},Fk.prototype.d=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var a=this.locale,r=null;return 1===e.length?vz(e[0])?r=e[0]:fz(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(vz(e[0])&&(r=e[0]),vz(e[1])&&(a=e[1])),this._d(t,a,r)},Fk.prototype.getNumberFormat=function(t){return wz(this._vm.numberFormats[t]||{})},Fk.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Fk.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,xz(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Fk.prototype._clearNumberFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._numberFormatters.hasOwnProperty(a)&&delete this._numberFormatters[a]}},Fk.prototype._getNumberFormatter=function(t,e,n,a,r,i){for(var s=e,o=a[s],l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(o=a[u],s=u,!Sz(o)&&!Sz(o[r]))break}if(Sz(o)||Sz(o[r]))return null;var d,p=o[r];if(i)d=new Intl.NumberFormat(s,Object.assign({},p,i));else{var h=s+"__"+r;d=this._numberFormatters[h],d||(d=this._numberFormatters[h]=new Intl.NumberFormat(s,p))}return d},Fk.prototype._n=function(t,e,n,a){if(!Fk.availabilities.numberFormat)return"";if(!n){var r=a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e);return r.format(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),s=i&&i.format(t);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},a))}return s||""},Fk.prototype.n=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var a=this.locale,r=null,i=null;return 1===e.length?vz(e[0])?r=e[0]:fz(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(r=e[0].key),i=Object.keys(e[0]).reduce((function(t,n){var a;return Cz(uz,n)?Object.assign({},t,(a={},a[n]=e[0][n],a)):t}),null)):2===e.length&&(vz(e[0])&&(r=e[0]),vz(e[1])&&(a=e[1])),this._n(t,a,r,i)},Fk.prototype._ntp=function(t,e,n,a){if(!Fk.availabilities.numberFormat)return[];if(!n){var r=a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e);return r.formatToParts(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),s=i&&i.formatToParts(t);if(this._isFallbackRoot(s)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,a)}return s||[]},Object.defineProperties(Fk.prototype,Bk),Object.defineProperty(Fk,"availabilities",{get:function(){if(!Ik){var t="undefined"!==typeof Intl;Ik={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return Ik}}),Fk.install=Qz,Fk.version="8.23.0";var Tk=Fk;function Dk(){const t=n(48011),e={};return t.keys().forEach((n=>{const a=n.match(/([A-Za-z0-9-_]+)\./i);if(a&&a.length>1){const r=a[1];e[r]=t(n)}})),e}Qa.use(Tk);var Ok=new Tk({locale:"en",fallbackLocale:"en",messages:Dk(),silentTranslationWarn:!0}),Nk=n(19938),Lk=n.n(Nk);const jk={EE:{no_implementation:"no-ee-id-card"},LV:{no_implementation:"no-lv-id-card"},LT:{no_implementation:"no-lt-id-card"},PT:{no_implementation:"no-pt-id-card"},RS:{no_implementation:"no-rs-id-card"},FI:{no_implementation:"no-fi-id-card"},BE:{no_implementation:"no-be-id-card",signature_cancel_and_help:"be-id-card-signature-cancel-and-help",signature_no_implementation:"be-id-signature-no-implementation"},RO:{no_implementation:"no-ro-usb-token",signature_cancel_and_help:"ro-usb-token-signature-cancel-and-help",signature_no_implementation:"no-ro-usb-token"},HR:{no_implementation:"no-id-card",signature_no_implementation:"no-id-card"},AX:{no_implementation:"no-id-card",signature_no_implementation:"no-id-card"},FR:{no_implementation:"no-fr-cert-europe-usb-token",signature_no_implementation:"no-fr-cert-europe-usb-token"}};var Pk=jk;const Hk=function({methodsConfig:t}){const{availableMethods:e,methodsByActionType:n}=t,a=Qa.observable({countryCode:"EE",currentView:Kl.MethodSelection,currentMethod:null,currentViewTitleTranslationKey:"",isLoading:!1,flashMessages:[],signingMethods:e[SC.methodTypes.SIGNATURE],identificationMethods:e[SC.methodTypes.IDENTIFICATION],enabledCountries:"all",inputValues:{},clientInfo:{},otpEmail:null,otpPhone:null,isOtpSent:!1,additionalMethodConfig:{},signatureIsProcessing:!1,showCountrySelect:!0,showBackButton:!0,mode:null,requireHandwrittenSignature:!1,otpFlow:null,fieldAutocomplete:!1,allowMethodChange:!0,waitForChallengeCode:!1}),r=function(t,e){return t.filter((t=>t.supportedCountries.includes(e)||t.supportedCountries.includes("WORLD")))},i={countryCode:()=>{const t=i.availableCountries();let e=a.countryCode;return t.includes(e)||(e=t[0]),e},currentView:()=>a.currentView,currentMethod:()=>a.currentMethod,currentViewTitleKey:()=>{const t=a.currentMethod&&a.currentMethod.actionType;return n[t].translationKeys&&n[t].translationKeys.title},isLoading:()=>a.isLoading,flashMessages:()=>a.flashMessages,identificationMethods:()=>a.identificationMethods,identificationMethodsInCurrentCountry:()=>r(a.identificationMethods,a.countryCode),signingMethods:()=>a.signingMethods,signingMethodsInCurrentCountry:()=>r(a.signingMethods,a.countryCode),availableCountries:()=>{const t=[...a.signingMethods,...a.identificationMethods];let{enabledCountries:e}=a,n=t.map((t=>t.supportedCountries)).flat();return"all"!==e&&Array.isArray(e)&&(e=e.map((t=>t.toUpperCase())),n=n.filter((t=>e.includes(t)))),[...new Set(n)].map((t=>t.toUpperCase()))},callingCode:()=>CC[a.countryCode],inputValues:()=>a.inputValues,clientInfo:()=>a.clientInfo,otpEmail:()=>a.otpEmail,otpPhone:()=>a.otpPhone,isOtpSent:()=>a.isOtpSent,emailToken:()=>a.emailToken,additionalMethodConfig:()=>a.additionalMethodConfig,signatureIsProcessing:()=>a.signatureIsProcessing,userActionsEnabled:()=>!a.signatureIsProcessing&&!a.isLoading,showCountrySelect:()=>a.showCountrySelect,showBackButton:()=>a.showBackButton,mode:()=>a.mode,requireHandwrittenSignature:()=>a.requireHandwrittenSignature,otpFlow:()=>a.otpFlow,fieldAutocomplete:()=>a.fieldAutocomplete,allowMethodChange:()=>a.allowMethodChange,waitForChallengeCode:()=>a.waitForChallengeCode},s={setCountryCode(t){a.countryCode=t},setCurrentView(t){a.currentView=t},setCurrentMethod(t){a.currentMethod=t},setIsLoading(t){a.isLoading=t},addFlashMessage(t){a.flashMessages.push(t)},clearFlashMessages(){a.flashMessages=[]},setIdentificationMethods(t){a.identificationMethods=t},setSigningMethods(t){a.signingMethods=t},setEnabledCountries(t){a.enabledCountries=t},setInputValues(t){a.inputValues=t},setClientInfo(t){a.clientInfo=t},setOtpEmail(t){a.otpEmail=t},setOtpPhone(t){a.otpPhone=t},setIsOtpSent(t){a.isOtpSent=t},setEmailToken(t){a.emailToken=t},setAdditionalMethodConfig(t){a.additionalMethodConfig=t},setSignatureIsProcessing(t){a.signatureIsProcessing=t},setShowBackButton(t){a.showBackButton=t},setShowCountrySelect(t){a.showCountrySelect=t},setMode(t){a.mode=t},setRequireHandwrittenSignature(t){a.requireHandwrittenSignature=t},setOtpFlow(t){a.otpFlow=t},setFieldAutocomplete(t){a.fieldAutocomplete=t},setAllowMethodChange(t){a.allowMethodChange=t},setWaitForChallengeCode(t){a.waitForChallengeCode=t}},o={loadingStart(){s.setIsLoading(!0)},loadingEnd(){s.setIsLoading(!1)},changeCountry(t){let e=t.toUpperCase();const n=i.availableCountries();-1!==n.indexOf(e)?s.setCountryCode(e):s.setCountryCode(n[0])},selectMethod(t){const e=Date.now(),{viewName:a}=n[t];s.clearFlashMessages(),s.setCurrentMethod({actionType:t,timestamp:e}),a&&o.changeView(a)},changeView(t){s.clearFlashMessages(),s.setCurrentView(t)},addFlashMessage(t){const e={text:"",scheme:"info"};if(t.details&&"no_implementation"===t.details.message){e.scheme="danger";const{no_implementation:n="no-required-software"}=Pk[a.countryCode]||{};t.methodType===SC.methodTypes.SIGNATURE&&(e.translationKey=Pk[a.countryCode].signature_no_implementation),e.translationKey=e.translationKey||n}else if((t.userMessage||t.message)&&(t instanceof Error||t.isAxiosError)){e.scheme="danger",e.text=t.userMessage||t.message;const{userDetails:n}=t;if(n)for(const t in n){const a=n[t];Array.isArray(a)?a.forEach((n=>{e.text+=` ${t}: ${n}`})):"string"===typeof a&&(e.text+=a)}}else t.details&&t.details.isCancel?(e.scheme="info",t.methodType===SC.methodTypes.SIGNATURE&&(e.translationKey=Pk[a.countryCode].signature_cancel_and_help),e.translationKey=e.translationKey||"USER_REFUSED"):(e.scheme=t.scheme||"danger",e.translationKey=t.translationKey||"no-response-error");t.response&&(e.response=t.response),s.addFlashMessage(e)},clearFlashMessages(){s.clearFlashMessages()},updateEnabledCountries(t){s.setEnabledCountries(t)},changeMethods(t){const n=function(t,e){let n=[];return e?("all"===e||!0===e?n=t:Array.isArray(e)&&e.forEach((e=>{const a=t.find((t=>t.actionType===e));a&&n.push(a)})),n):n};let a=n(e[SC.methodTypes.IDENTIFICATION],t[SC.methodTypes.IDENTIFICATION]),r=n(e[SC.methodTypes.SIGNATURE],t[SC.methodTypes.SIGNATURE]);a&&s.setIdentificationMethods(a),r&&s.setSigningMethods(r)},updateInputValues(t){const e=i.inputValues();s.setInputValues({...e,...t})},updateClientInfo(t){s.setClientInfo(t)},updateOtpEmail(t){s.setOtpEmail(t)},updateOtpPhone(t){s.setOtpPhone(t)},updateIsOtpSent(t){s.setIsOtpSent(t)},updateEmailToken(t){s.setEmailToken(t)},changeAdditionalMethodConfig(t){s.setAdditionalMethodConfig(t)},startSignatureProcessing(){s.setSignatureIsProcessing(!0)},endSignatureProcessing(){s.setSignatureIsProcessing(!1)},updateShowBackButton(t){s.setShowBackButton(t)},updateShowCountrySelect(t){s.setShowCountrySelect(t)},updateMode(t){s.setMode(t)},updateRequireHandwrittenSignature(t){s.setRequireHandwrittenSignature(t)},updateOtpFlow(t){s.setOtpFlow(t)},updateFieldAutocomplete(t){s.setFieldAutocomplete(t)},updateAllowMethodChange(t){s.setAllowMethodChange(t)},updateWaitForChallengeCode(t){s.setWaitForChallengeCode(t)}};return{store:a,actions:o,getters:i}};var Vk=Hk;const $k={IdCardButton:"IdCardButton",IdCardButtonEE:"IdCardButtonEE",IdCardButtonFi:"IdCardButtonFi",IdCardButtonBe:"IdCardButtonBe",SmartIdButton:"SmartIdButton",MobileIdButton:"MobileIdButton",MobileIdButtonEE:"MobileIdButtonEE",EparakstsMobileButton:"EparakstsMobileButton",EparakstsSmartCardButton:"EparakstsSmartCardButton",FrejaEidButton:"FrejaEidButton",ZealIdButton:"ZealIdButton",MojeIdButton:"MojeIdButton",FinnishTrustNetworkButton:"FinnishTrustNetworkButton",FinnishTrustNetworkAdvancedFullButton:"FinnishTrustNetworkAdvancedFullButton",AtHandyButton:"AtHandyButton",IdCardButtonLv:"IdCardButtonLv",IdCardButtonPt:"IdCardButtonPt",OtpButton:"OtpButton",GoogleButton:"GoogleButton",EvrotrustButton:"EvrotrustButton",BankIdButton:"BankIdButton",DTrustSignMeButton:"DTrustSignMeButton",MitIdButton:"MitIdButton",MitIdLoginButton:"MitIdLoginButton",MitIdSignButton:"MitIdSignButton",ChaveMovelButton:"ChaveMovelButton",NoBankIdButton:"NoBankIdButton",ItsmeButton:"ItsmeButton",CertEuropeUsbButton:"CertEuropeUsbButton",CertSignUsbButton:"CertSignUsbButton",CertSignWebApiButton:"CertSignWebApiButton",IdinButton:"IdinButton",VerifaiButton:"VerifaiButton",SpidButton:"SpidButton",AudkenniButton:"AudkenniButton",YesComButton:"YesComButton",EdoAppEidButton:"EdoAppEidButton",SimplySignButton:"SimplySignButton",UanatacaButton:"UanatacaButton",ScanDocumentButton:"ScanDocumentButton",PlMojeIdButton:"PlMojeIdButton",HalcomButton:"HalcomButton",SwissIdButton:"SwissIdButton",SwissComButton:"SwissComButton",FranceConnectButton:"FranceConnectButton"};var Gk=$k;const Rk=Object.freeze({[SC.methodTypes.IDENTIFICATION]:[{actionType:SC.methodActionTypes.BE_ID_LOGIN,buttonName:Gk.IdCardButtonBe,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.EE_ID_LOGIN,buttonName:Gk.IdCardButtonEE,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.FI_ID_LOGIN,buttonName:Gk.IdCardButtonFi,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LV_ID_LOGIN,buttonName:Gk.IdCardButtonLv,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LT_ID_LOGIN,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.PT_ID_LOGIN,buttonName:Gk.IdCardButtonPt,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.RS_ID_LOGIN,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.EE_MOBILE_ID,buttonName:Gk.MobileIdButtonEE,viewName:Kl.MobileIdAuth,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.LV_EPARAKSTS_MOBILE_LOGIN,buttonName:Gk.EparakstsMobileButton,translationKeys:{title:"eparaksts-mobile"}},{actionType:SC.methodActionTypes.LT_MOBILE_ID,buttonName:Gk.MobileIdButton,viewName:Kl.MobileIdAuth,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.SMART_ID,buttonName:Gk.SmartIdButton,viewName:Kl.SmartIdAuth,translationKeys:{title:"smart-id"}},{actionType:SC.methodActionTypes.FREJA_EID_LOGIN,buttonName:Gk.FrejaEidButton,viewName:Kl.IdentificationFrejaId,translationKeys:{title:"freja-eid"}},{actionType:SC.methodActionTypes.ZEALID_LOGIN,buttonName:Gk.ZealIdButton,viewName:Kl.IdentificationZealId,translationKeys:{title:"zeal-id"}},{actionType:SC.methodActionTypes.CZ_MOJEID,buttonName:Gk.MojeIdButton,translationKeys:{title:"moje-id"}},{actionType:SC.methodActionTypes.FI_FTN_LOGIN,buttonName:Gk.FinnishTrustNetworkButton,translationKeys:{title:"finnish-online-bank"}},{actionType:SC.methodActionTypes.AT_HANDY_SIGNATUR_LOGIN,buttonName:Gk.AtHandyButton,translationKeys:{title:"austrian-handy-signatur"}},{actionType:SC.methodActionTypes.ITSME_LOGIN,buttonName:Gk.ItsmeButton,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.ITSME_LOGIN_BASIC,buttonName:Gk.ItsmeButton,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.ITSME_LOGIN_STANDARD,buttonName:Gk.ItsmeButton,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.SE_BANKID_LOGIN,buttonName:Gk.BankIdButton,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.IDIN_LOGIN,buttonName:Gk.IdinButton,translationKeys:{title:"iDIN"}},{actionType:SC.methodActionTypes.IDIN_CUSTOMER_ID_LOGIN,buttonName:Gk.IdinButton,translationKeys:{title:"iDIN"}},{actionType:SC.methodActionTypes.LV_EPARAKSTS_ID_LOGIN,buttonName:Gk.EparakstsSmartCardButton,translationKeys:{title:"eparaksts-smart-card"}},{actionType:SC.methodActionTypes.EDOAPP_EID_LOGIN,buttonName:Gk.EdoAppEidButton,translationKeys:{title:"edoapp-eid"}},{actionType:SC.methodActionTypes.VERIFAI_LOGIN,buttonName:Gk.VerifaiButton,translationKeys:{title:"Verifai"}},{actionType:SC.methodActionTypes.YOONIK_LOGIN,buttonName:Gk.ScanDocumentButton,translationKeys:{title:"Yoonik"}},{actionType:SC.methodActionTypes.PL_MOJEID_LOGIN,buttonName:Gk.PlMojeIdButton,translationKeys:{title:"pl-mojeid"}},{actionType:SC.methodActionTypes.MIT_ID_LOGIN,buttonName:Gk.MitIdLoginButton,viewName:Kl.IdentificationMitId,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.NORWEGIAN_BANKID_LOGIN,buttonName:Gk.NoBankIdButton,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.FTN_LOGIN,buttonName:Gk.FinnishTrustNetworkButton,translationKeys:{title:"FTN"}}],[SC.methodTypes.SIGNATURE]:[{actionType:SC.methodActionTypes.BE_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonBe,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.EE_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonEE,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.FI_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonFi,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LV_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonLv,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.LT_IDCARD_SIGNATURE,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.HR_IDCARD_SIGNATURE,buttonName:Gk.IdCardButton,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.PT_IDCARD_SIGNATURE,buttonName:Gk.IdCardButtonPt,translationKeys:{title:"id-card"}},{actionType:SC.methodActionTypes.SMARTID_SIGNATURE,buttonName:Gk.SmartIdButton,viewName:Kl.SignatureSmartId,translationKeys:{title:"smart-id"}},{actionType:SC.methodActionTypes.EE_MOBILEID_SIGNATURE,buttonName:Gk.MobileIdButtonEE,viewName:Kl.SignatureMobileId,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.LT_MOBILEID_SIGNATURE,buttonName:Gk.MobileIdButton,viewName:Kl.SignatureMobileId,translationKeys:{title:"mobile-id"}},{actionType:SC.methodActionTypes.LV_EPARAKSTS_MOBILE_SIGNATURE,buttonName:Gk.EparakstsMobileButton,translationKeys:{title:"eparaksts-mobile"}},{actionType:SC.methodActionTypes.FI_FTN_ADVANCED_SIGNATURE,buttonName:Gk.FinnishTrustNetworkButton,viewName:Kl.SignatureFtn,translationKeys:{title:"finnish-online-bank"}},{actionType:SC.methodActionTypes.FI_FTN_ADVANCED_FULL_SIGNATURE,buttonName:Gk.FinnishTrustNetworkAdvancedFullButton,viewName:Kl.SignatureFtnAdvancedFull,translationKeys:{title:"finnish-online-bank"}},{actionType:SC.methodActionTypes.OTP_EMAIL,buttonName:Gk.OtpButton,viewName:Kl.SignatureOtp,translationKeys:{title:"email-sms"}},{actionType:SC.methodActionTypes.AT_HANDY_SIGNATUR_SIGNATURE,buttonName:Gk.AtHandyButton,translationKeys:{title:"austrian-handy-signatur"}},{actionType:SC.methodActionTypes.ZEAL_ID_SIGNATURE,buttonName:Gk.ZealIdButton,translationKeys:{title:"zeal-id"}},{actionType:SC.methodActionTypes.CZ_MOJEID_ADVANCED_SIGNATURE,buttonName:Gk.MojeIdButton,translationKeys:{title:"moje-id"}},{actionType:SC.methodActionTypes.GOOGLE_SIGNATURE,buttonName:Gk.GoogleButton,translationKeys:{title:"google"}},{actionType:SC.methodActionTypes.EVROTRUST_SIGNATURE,buttonName:Gk.EvrotrustButton,viewName:Kl.SignatureEvrotrust,translationKeys:{title:"evrotrust"}},{actionType:SC.methodActionTypes.SE_BANKID_SIGNATURE,buttonName:Gk.BankIdButton,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,buttonName:Gk.DTrustSignMeButton,viewName:Kl.SignatureDTrustSignMe,translationKeys:{title:"D-Trust sign-me"}},{actionType:SC.methodActionTypes.MIT_ID_SIMPLE_SIGNATURE,buttonName:Gk.MitIdSignButton,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.CHAVE_MOVEL_QUALIFIED_SIGNATURE,buttonName:Gk.ChaveMovelButton,viewName:Kl.SignatureChaveMovel,translationKeys:{title:"Chave Movel"}},{actionType:SC.methodActionTypes.NORWEGIAN_BANKID_ADVANCED_SIGNATURE,buttonName:Gk.NoBankIdButton,viewName:Kl.SignatureNoBankId,translationKeys:{title:"bankid"}},{actionType:SC.methodActionTypes.CERTEUROPE_USB_TOKEN_SIGNATURE,buttonName:Gk.CertEuropeUsbButton,translationKeys:{title:"CertEurope USB"}},{actionType:SC.methodActionTypes.CERTSIGN_USB_TOKEN_SIGNATURE,buttonName:Gk.CertSignUsbButton,translationKeys:{title:"certSIGN USB"}},{actionType:SC.methodActionTypes.IDIN_SIMPLE_SIGNATURE,buttonName:Gk.IdinButton,translationKeys:{title:"iDIN"}},{actionType:SC.methodActionTypes.VERIFAI_SIMPLE_SIGNATURE,buttonName:Gk.VerifaiButton,translationKeys:{title:"Verifai"}},{actionType:SC.methodActionTypes.SPID_QUALIFIED_SIGNATURE,buttonName:Gk.SpidButton,viewName:Kl.SignatureSpidQes,translationKeys:{title:"SPID"}},{actionType:SC.methodActionTypes.FREJA_SIMPLE_SIGNATURE,buttonName:Gk.FrejaEidButton,viewName:Kl.SignatureFrejaId,translationKeys:{title:"freja-eid-signature"}},{actionType:SC.methodActionTypes.AUDKENNI_QUALIFIED_SIGNATURE,buttonName:Gk.AudkenniButton,viewName:Kl.SignatureAudkenni,translationKeys:{title:"audkenni"}},{actionType:SC.methodActionTypes.YES_COM_QUALIFIED_SIGNATURE,buttonName:Gk.YesComButton,translationKeys:{title:"yes-com"}},{actionType:SC.methodActionTypes.SIMPLY_SIGN_QES_SIGNATURE,buttonName:Gk.SimplySignButton,translationKeys:{title:"SimplySign"}},{actionType:SC.methodActionTypes.UANATACA_QUALIFIED_SIGNATURE,buttonName:Gk.UanatacaButton,viewName:Kl.SignatureUanatacaQes,translationKeys:{title:"Uanataca"}},{actionType:SC.methodActionTypes.HALCOM_QUALIFIED_SIGNATURE,buttonName:Gk.HalcomButton,viewName:Kl.SignatureHalcomQes,translationKeys:{title:"Halcom"}},{actionType:SC.methodActionTypes.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE,buttonName:Gk.CertSignWebApiButton,translationKeys:{title:"CertSign-Webapi"}},{actionType:SC.methodActionTypes.SWISS_ID_QUALIFIED_SIGNATURE,buttonName:Gk.SwissIdButton,viewName:Kl.SignatureSwissIdQes,translationKeys:{title:"SwissID"}},{actionType:SC.methodActionTypes.SWISS_COM_QUALIFIED_SIGNATURE,buttonName:Gk.SwissComButton,viewName:Kl.SignatureSwissComQes,translationKeys:{title:"Swisscom"}},{actionType:SC.methodActionTypes.DK_MITID_ADVANCED_SIGNATURE,buttonName:Gk.MitIdSignButton,viewName:Kl.SignatureMitIdAdvanced,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.DK_MITID_QES_SIGNATURE,buttonName:Gk.MitIdSignButton,viewName:Kl.SignatureMitIdQes,translationKeys:{title:"MitID"}},{actionType:SC.methodActionTypes.SE_BANK_ID_ADVANCED_SIGNATURE,buttonName:Gk.BankIdButton,viewName:Kl.SignatureSeBankIdAdvanced,translationKeys:{title:"BankID"}},{actionType:SC.methodActionTypes.SE_BANK_ID_QES_SIGNATURE,buttonName:Gk.BankIdButton,viewName:Kl.SignatureSeBankIdQes,translationKeys:{title:"BankID"}},{actionType:SC.methodActionTypes.SE_FREJA_EID_ADVANCED_SIGNATURE,buttonName:Gk.FrejaEidButton,viewName:Kl.SignatureFrejaIdAdvanced,translationKeys:{title:"freja-eid"}},{actionType:SC.methodActionTypes.SE_FREJA_EID_QES_SIGNATURE,buttonName:Gk.FrejaEidButton,viewName:Kl.SignatureFrejaIdQes,translationKeys:{title:"freja-eid"}},{actionType:SC.methodActionTypes.ITSME_QES_SIGNATURE,buttonName:Gk.ItsmeButton,viewName:Kl.SignatureItsmeQes,translationKeys:{title:"itsme"}},{actionType:SC.methodActionTypes.FR_IDENT_ADVANCED_SIGNATURE,buttonName:Gk.FranceConnectButton,translationKeys:{title:"FR Ident Signature"}}]}),Uk=function(t,e){const n=[];return e.forEach((e=>{const a=t.find((t=>t.actionType===e.actionType));a&&n.push({...a,...e})})),n},Kk=function(t){const e=t[SC.methodTypes.IDENTIFICATION].map((t=>(t.methodType=SC.methodTypes.IDENTIFICATION,t))),n=t[SC.methodTypes.SIGNATURE].map((t=>(t.methodType=SC.methodTypes.SIGNATURE,t))),a=[...e,...n],r={};return a.forEach((t=>r[t.actionType]=t)),r},Yk={[SC.methodTypes.IDENTIFICATION]:Uk(SC.allMethods[SC.methodTypes.IDENTIFICATION],Rk[SC.methodTypes.IDENTIFICATION]),[SC.methodTypes.SIGNATURE]:Uk(SC.allMethods[SC.methodTypes.SIGNATURE],Rk[SC.methodTypes.SIGNATURE])},Zk=function({methodsConfigFilter:t=null}){let e=Yk;t&&"function"===typeof t&&(e=t(Yk));const n=Kk(e);return Object.freeze({availableMethods:e,methodsByActionType:n,methodActionTypes:SC.methodActionTypes,methodTypes:SC.methodTypes,moduleNames:SC.moduleNames})};var qk=Zk;Qa.use(cz),Qa.config.productionTip=!1,Qa.customElement("eideasy-widget",DC,{beforeCreateVueInstance:t=>{const{propsData:e}=t;Qa.component("v-select",Lk()),t.i18n=Ok;const n=qk({methodsConfigFilter:e.methodsConfigFilter}),{store:a,actions:r,getters:i}=Vk({methodsConfig:n});t.store=a,t.storeActions=r,t.storeGetters=i;const s=_C()(e),o=t=>{if(e.onSuccess&&"function"===typeof e.onSuccess)return e.onSuccess(t)},l=t=>{if(e.onFail&&"function"===typeof e.onFail)return e.onFail(t)},c=t=>{if(e.beforeMethodSelection&&"function"===typeof e.beforeMethodSelection)return e.beforeMethodSelection(t)},u=t=>e.formatFlashMessage&&"function"===typeof e.formatFlashMessage?e.formatFlashMessage(t):t;return t.eidEasyClient=s,t.eidEasyOnSuccess=o,t.eidEasyOnFail=l,t.eidEasyBeforeMethodSelection=c,t.eidEasyFormatFlashMessage=u,t.eidEasyMethodsConfig=n,t},attributeChangedCallback(t,e,n){console.info("attributeChangedCallback",t,e,n)}})}(),a}()}));
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eid-easy/eideasy-widget",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.91.0",
|
|
4
4
|
"description": "eID Easy Widget is a client-side embeddable component for creating electronic signatures and identifying users through eID Easy API.",
|
|
5
5
|
"main": "dist/full/eideasy-widget.umd.min.js",
|
|
6
|
-
"sri": "sha256-
|
|
7
|
-
"productionReleaseVersion": "2.
|
|
8
|
-
"productionReleaseSri": "sha256-
|
|
6
|
+
"sri": "sha256-3to8bWl4oxxoYbFyIVbUughGhTFaUPUM8RKeG1dP8bM=",
|
|
7
|
+
"productionReleaseVersion": "2.91.0",
|
|
8
|
+
"productionReleaseSri": "sha256-3to8bWl4oxxoYbFyIVbUughGhTFaUPUM8RKeG1dP8bM=",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|